Skip to content

Commit 0308d70

Browse files
committed
chore: update vue output target
1 parent 86c3aff commit 0308d70

File tree

6 files changed

+791
-23
lines changed

6 files changed

+791
-23
lines changed

libraries/ui-library-vue/package.json

+11
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,17 @@
33
"version": "4.3.1",
44
"description": "Vue wrapper components for @six-group/ui-library",
55
"main": "dist/index.js",
6+
"module": "dist/index.js",
67
"types": "dist/index.d.ts",
78
"files": [
89
"dist"
910
],
11+
"exports": {
12+
".": {
13+
"types": "./dist/index.d.ts",
14+
"import": "./dist/index.js"
15+
}
16+
},
1017
"scripts": {
1118
"test": "echo \"Error: run tests from root\" && exit 1",
1219
"build": "npm run tsc",
@@ -15,6 +22,10 @@
1522
"publishConfig": {
1623
"access": "public"
1724
},
25+
"dependencies": {
26+
"@stencil/vue-output-target": "0.9.5",
27+
"@six-group/ui-library": "*"
28+
},
1829
"peerDependencies": {
1930
"@six-group/ui-library": "*"
2031
},

libraries/ui-library-vue/src/lib/stencil-generated/components.ts

+118-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable */
22
/* tslint:disable */
33
/* auto-generated vue proxies */
4-
import { defineContainer } from './vue-component-lib/utils';
4+
import { defineContainer } from '@stencil/vue-output-target/runtime';
55

66
import type { JSX } from '@six-group/ui-library';
77

@@ -17,6 +17,11 @@ export const SixAlert = /*@__PURE__*/ defineContainer<JSX.SixAlert>('six-alert',
1717
'six-alert-after-show',
1818
'six-alert-hide',
1919
'six-alert-after-hide'
20+
], [
21+
'six-alert-show',
22+
'six-alert-after-show',
23+
'six-alert-hide',
24+
'six-alert-after-hide'
2025
]);
2126

2227

@@ -52,6 +57,9 @@ export const SixButton = /*@__PURE__*/ defineContainer<JSX.SixButton>('six-butto
5257
'download',
5358
'six-button-blur',
5459
'six-button-focus'
60+
], [
61+
'six-button-blur',
62+
'six-button-focus'
5563
]);
5664

5765

@@ -72,6 +80,10 @@ export const SixCheckbox = /*@__PURE__*/ defineContainer<JSX.SixCheckbox, JSX.Si
7280
'six-checkbox-blur',
7381
'six-checkbox-change',
7482
'six-checkbox-focus'
83+
], [
84+
'six-checkbox-blur',
85+
'six-checkbox-change',
86+
'six-checkbox-focus'
7587
],
7688
'checked', 'change');
7789

@@ -107,6 +119,10 @@ export const SixDatepicker = /*@__PURE__*/ defineContainer<JSX.SixDatepicker, JS
107119
'six-datepicker-select',
108120
'six-datepicker-clear',
109121
'six-datepicker-blur'
122+
], [
123+
'six-datepicker-select',
124+
'six-datepicker-clear',
125+
'six-datepicker-blur'
110126
],
111127
'value', 'change');
112128

@@ -124,6 +140,11 @@ export const SixDetails = /*@__PURE__*/ defineContainer<JSX.SixDetails>('six-det
124140
'six-details-after-show',
125141
'six-details-hide',
126142
'six-details-after-hide'
143+
], [
144+
'six-details-show',
145+
'six-details-after-show',
146+
'six-details-hide',
147+
'six-details-after-hide'
127148
]);
128149

129150

@@ -137,6 +158,13 @@ export const SixDialog = /*@__PURE__*/ defineContainer<JSX.SixDialog>('six-dialo
137158
'six-dialog-after-hide',
138159
'six-dialog-initial-focus',
139160
'six-dialog-overlay-dismiss'
161+
], [
162+
'six-dialog-show',
163+
'six-dialog-after-show',
164+
'six-dialog-hide',
165+
'six-dialog-after-hide',
166+
'six-dialog-initial-focus',
167+
'six-dialog-overlay-dismiss'
140168
]);
141169

142170

@@ -152,6 +180,13 @@ export const SixDrawer = /*@__PURE__*/ defineContainer<JSX.SixDrawer>('six-drawe
152180
'six-drawer-after-hide',
153181
'six-drawer-initial-focus',
154182
'six-drawer-overlay-dismiss'
183+
], [
184+
'six-drawer-show',
185+
'six-drawer-after-show',
186+
'six-drawer-hide',
187+
'six-drawer-after-hide',
188+
'six-drawer-initial-focus',
189+
'six-drawer-overlay-dismiss'
155190
]);
156191

157192

@@ -179,6 +214,14 @@ export const SixDropdown = /*@__PURE__*/ defineContainer<JSX.SixDropdown>('six-d
179214
'six-dropdown-auto-filter-fired',
180215
'six-async-filter-fired',
181216
'six-dropdown-scroll'
217+
], [
218+
'six-dropdown-show',
219+
'six-dropdown-after-show',
220+
'six-dropdown-hide',
221+
'six-dropdown-after-hide',
222+
'six-dropdown-auto-filter-fired',
223+
'six-async-filter-fired',
224+
'six-dropdown-scroll'
182225
]);
183226

184227

@@ -206,6 +249,9 @@ export const SixFileListItem = /*@__PURE__*/ defineContainer<JSX.SixFileListItem
206249
'nodelete',
207250
'six-file-list-item-download',
208251
'six-file-list-item-remove'
252+
], [
253+
'six-file-list-item-download',
254+
'six-file-list-item-remove'
209255
]);
210256

211257

@@ -221,6 +267,9 @@ export const SixFileUpload = /*@__PURE__*/ defineContainer<JSX.SixFileUpload>('s
221267
'invalid',
222268
'six-file-upload-success',
223269
'six-file-upload-failure'
270+
], [
271+
'six-file-upload-success',
272+
'six-file-upload-failure'
224273
]);
225274

226275

@@ -250,6 +299,13 @@ export const SixHeader = /*@__PURE__*/ defineContainer<JSX.SixHeader>('six-heade
250299
'six-header-hamburger-menu-clicked',
251300
'six-header-logo-clicked',
252301
'six-header-search-field-toggle'
302+
], [
303+
'six-header-app-name-clicked',
304+
'six-header-app-switcher-select',
305+
'six-header-profile-select',
306+
'six-header-hamburger-menu-clicked',
307+
'six-header-logo-clicked',
308+
'six-header-search-field-toggle'
253309
]);
254310

255311

@@ -320,6 +376,12 @@ export const SixInput = /*@__PURE__*/ defineContainer<JSX.SixInput, JSX.SixInput
320376
'six-input-input',
321377
'six-input-focus',
322378
'six-input-blur'
379+
], [
380+
'six-input-change',
381+
'six-input-clear',
382+
'six-input-input',
383+
'six-input-focus',
384+
'six-input-blur'
323385
],
324386
'value', 'input');
325387

@@ -341,13 +403,18 @@ export const SixItemPicker = /*@__PURE__*/ defineContainer<JSX.SixItemPicker>('s
341403
'debounce',
342404
'six-item-picker-change',
343405
'six-item-picker-change-debounced'
406+
], [
407+
'six-item-picker-change',
408+
'six-item-picker-change-debounced'
344409
]);
345410

346411

347412
export const SixLanguageSwitcher = /*@__PURE__*/ defineContainer<JSX.SixLanguageSwitcher>('six-language-switcher', undefined, [
348413
'selected',
349414
'languages',
350415
'six-language-switcher-change'
416+
], [
417+
'six-language-switcher-change'
351418
]);
352419

353420

@@ -375,6 +442,8 @@ export const SixMenu = /*@__PURE__*/ defineContainer<JSX.SixMenu>('six-menu', un
375442
'scrollingDebounce',
376443
'disableKeyboardHandling',
377444
'six-menu-item-selected'
445+
], [
446+
'six-menu-item-selected'
378447
]);
379448

380449

@@ -419,6 +488,10 @@ export const SixRadio = /*@__PURE__*/ defineContainer<JSX.SixRadio>('six-radio',
419488
'six-radio-blur',
420489
'six-radio-change',
421490
'six-radio-focus'
491+
], [
492+
'six-radio-blur',
493+
'six-radio-change',
494+
'six-radio-focus'
422495
]);
423496

424497

@@ -440,6 +513,10 @@ export const SixRange = /*@__PURE__*/ defineContainer<JSX.SixRange, JSX.SixRange
440513
'six-range-change',
441514
'six-range-blur',
442515
'six-range-focus'
516+
], [
517+
'six-range-change',
518+
'six-range-blur',
519+
'six-range-focus'
443520
],
444521
'value', 'input');
445522

@@ -458,6 +535,8 @@ export const SixSearchField = /*@__PURE__*/ defineContainer<JSX.SixSearchField>(
458535
'value',
459536
'clearable',
460537
'six-search-field-change'
538+
], [
539+
'six-search-field-change'
461540
]);
462541

463542

@@ -492,6 +571,10 @@ export const SixSelect = /*@__PURE__*/ defineContainer<JSX.SixSelect, JSX.SixSel
492571
'six-select-change',
493572
'six-select-focus',
494573
'six-select-blur'
574+
], [
575+
'six-select-change',
576+
'six-select-focus',
577+
'six-select-blur'
495578
],
496579
'value', 'change');
497580

@@ -506,6 +589,12 @@ export const SixSidebar = /*@__PURE__*/ defineContainer<JSX.SixSidebar>('six-sid
506589
'six-sidebar-hide',
507590
'six-sidebar-after-hide',
508591
'six-sidebar-initial-focus'
592+
], [
593+
'six-sidebar-show',
594+
'six-sidebar-after-show',
595+
'six-sidebar-hide',
596+
'six-sidebar-after-hide',
597+
'six-sidebar-initial-focus'
509598
]);
510599

511600

@@ -551,6 +640,10 @@ export const SixSwitch = /*@__PURE__*/ defineContainer<JSX.SixSwitch, JSX.SixSwi
551640
'six-switch-blur',
552641
'six-switch-change',
553642
'six-switch-focus'
643+
], [
644+
'six-switch-blur',
645+
'six-switch-change',
646+
'six-switch-focus'
554647
],
555648
'checked', 'change');
556649

@@ -561,6 +654,8 @@ export const SixTab = /*@__PURE__*/ defineContainer<JSX.SixTab>('six-tab', undef
561654
'closable',
562655
'disabled',
563656
'six-tab-close'
657+
], [
658+
'six-tab-close'
564659
]);
565660

566661

@@ -569,6 +664,9 @@ export const SixTabGroup = /*@__PURE__*/ defineContainer<JSX.SixTabGroup>('six-t
569664
'noScrollControls',
570665
'six-tab-show',
571666
'six-tab-hide'
667+
], [
668+
'six-tab-show',
669+
'six-tab-hide'
572670
]);
573671

574672

@@ -584,6 +682,8 @@ export const SixTag = /*@__PURE__*/ defineContainer<JSX.SixTag>('six-tag', undef
584682
'pill',
585683
'clearable',
586684
'six-tag-clear'
685+
], [
686+
'six-tag-clear'
587687
]);
588688

589689

@@ -614,6 +714,11 @@ export const SixTextarea = /*@__PURE__*/ defineContainer<JSX.SixTextarea, JSX.Si
614714
'six-textarea-input',
615715
'six-textarea-focus',
616716
'six-textarea-blur'
717+
], [
718+
'six-textarea-change',
719+
'six-textarea-input',
720+
'six-textarea-focus',
721+
'six-textarea-blur'
617722
],
618723
'value', 'input');
619724

@@ -628,6 +733,9 @@ export const SixTile = /*@__PURE__*/ defineContainer<JSX.SixTile>('six-tile', un
628733
'size',
629734
'six-tile-closed',
630735
'six-tile-selected'
736+
], [
737+
'six-tile-closed',
738+
'six-tile-selected'
631739
]);
632740

633741

@@ -658,6 +766,10 @@ export const SixTimepicker = /*@__PURE__*/ defineContainer<JSX.SixTimepicker>('s
658766
'six-timepicker-change',
659767
'six-timepicker-change-debounced',
660768
'six-timepicker-clear'
769+
], [
770+
'six-timepicker-change',
771+
'six-timepicker-change-debounced',
772+
'six-timepicker-clear'
661773
]);
662774

663775

@@ -673,5 +785,10 @@ export const SixTooltip = /*@__PURE__*/ defineContainer<JSX.SixTooltip>('six-too
673785
'six-tooltip-after-show',
674786
'six-tooltip-hide',
675787
'six-tooltip-after-hide'
788+
], [
789+
'six-tooltip-show',
790+
'six-tooltip-after-show',
791+
'six-tooltip-hide',
792+
'six-tooltip-after-hide'
676793
]);
677794

libraries/ui-library-vue/tsconfig.json

+16-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
{
22
"compilerOptions": {
3-
"outDir": "./dist",
4-
"lib": ["dom", "es2020"],
5-
"module": "es2015",
6-
"moduleResolution": "node",
7-
"target": "es2017",
8-
"skipLibCheck": true,
3+
"allowUnreachableCode": false,
4+
"allowSyntheticDefaultImports": true,
95
"declaration": true,
10-
"noImplicitAny": false,
11-
"removeComments": true,
12-
"noLib": false,
136
"emitDecoratorMetadata": true,
147
"experimentalDecorators": true,
15-
"sourceMap": true
8+
"esModuleInterop": true,
9+
"lib": ["dom", "esnext"],
10+
"module": "NodeNext",
11+
"moduleResolution": "Node16",
12+
"noImplicitAny": true,
13+
"noImplicitReturns": true,
14+
"noUnusedLocals": true,
15+
"noUnusedParameters": true,
16+
"outDir": "dist",
17+
"removeComments": false,
18+
"sourceMap": true,
19+
"jsx": "react",
20+
"target": "esnext",
21+
"skipLibCheck": true
1622
},
1723
"include": ["src"],
1824
"exclude": ["node_modules"]

0 commit comments

Comments
 (0)