@dpa-id-components/dpa-shared-components 22.0.0-next.1 → 22.0.0-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/icons/lock-filled.vue.d.ts +3 -0
- package/dist/assets/icons/play-filled.vue.d.ts +3 -0
- package/dist/components/UiIcon/icons.d.ts +2 -0
- package/dist/components/UiToggleButton/UiToggleButton.vue.d.ts +1 -1
- package/dist/dpa-shared-components.js +104 -111
- package/dist/lock-filled-Bi_mH2A-.js +18 -0
- package/dist/play-X3Ob-qza.js +18 -0
- package/dist/play-filled-DYyCOR9Y.js +18 -0
- package/dist/src/assets/icons/lock-filled.vue +13 -0
- package/dist/src/assets/icons/play-filled.vue +13 -0
- package/dist/src/assets/icons/play.vue +1 -1
- package/dist/src/components/UiButtonGroup/UiButtonGroup.stories.ts +9 -8
- package/dist/src/components/UiCheckbox/UiCheckbox.stories.ts +14 -5
- package/dist/src/components/UiIcon/UiIcon.stories.ts +8 -4
- package/dist/src/components/UiIcon/icons.ts +2 -0
- package/dist/src/components/UiInput/UiInput.stories.ts +15 -6
- package/dist/src/components/UiMediaTypeIcon/UiMediaTypeIcon.stories.ts +8 -4
- package/dist/src/components/UiRadioButton/UiRadioButton.stories.ts +14 -5
- package/dist/src/components/UiRadioButton/UiRadioButton.vue +1 -1
- package/dist/src/components/UiSelect/UiSelect.stories.ts +12 -5
- package/dist/src/components/UiToggleButton/UiToggleButton.vue +19 -31
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/assets/icons/lock-filled.vue +13 -0
- package/src/assets/icons/play-filled.vue +13 -0
- package/src/assets/icons/play.vue +1 -1
- package/src/components/UiIcon/icons.ts +2 -0
- package/src/components/UiRadioButton/UiRadioButton.vue +1 -1
- package/src/components/UiToggleButton/UiToggleButton.vue +19 -31
- package/dist/play-CArB2O7k.js +0 -18
- /package/dist/{alert-CdAp0ksh.js → alert-CFNc2ENq.js} +0 -0
- /package/dist/{audio-Cgg6MUeM.js → audio-BHaZEzct.js} +0 -0
- /package/dist/{gallery-DPl8qZQu.js → gallery-DwPWc5L2.js} +0 -0
- /package/dist/{graphic-BbhCuiiE.js → graphic-DMZdoJT7.js} +0 -0
- /package/dist/{lock-C5vUwbkA.js → lock-Dv7XHTQp.js} +0 -0
- /package/dist/{mail-CtA-d2d0.js → mail-BBU73oBg.js} +0 -0
- /package/dist/{map-FF2zfEGP.js → map-ChyXZkb4.js} +0 -0
- /package/dist/{map-filled-Y8JaYK4Y.js → map-filled-DG4BwVQo.js} +0 -0
- /package/dist/{menu-DFzmvE6J.js → menu-Dx9cgqxe.js} +0 -0
- /package/dist/{minus-COmVHb9S.js → minus-DkCYxSkQ.js} +0 -0
- /package/dist/{more-horizontal-DzHbd3yn.js → more-horizontal-c6TlnC21.js} +0 -0
- /package/dist/{more-vertical-CiJm6ZaV.js → more-vertical-BUz_UWPT.js} +0 -0
- /package/dist/{move-CUyDTrlz.js → move-C3IOZIl7.js} +0 -0
- /package/dist/{move-up-down-3AiMDXGu.js → move-up-down-DMvukk4h.js} +0 -0
- /package/dist/{navigation-BryXzz7G.js → navigation-BiEFOSmS.js} +0 -0
- /package/dist/{note-CXIfkCb0.js → note-SrqI5m8n.js} +0 -0
- /package/dist/{offline-BlqqTvjx.js → offline-UyYgVOeH.js} +0 -0
- /package/dist/{package-pKbuF39E.js → package-CT6Qsufx.js} +0 -0
- /package/dist/{package-BEkSqrZt.js → package-DlxyzZ6H.js} +0 -0
- /package/dist/{paper-plane-CwVjTgAB.js → paper-plane-rpVAty7i.js} +0 -0
- /package/dist/{pause-D-nbILiS.js → pause-C6E6QfcV.js} +0 -0
- /package/dist/{pdf-C7o5LP5D.js → pdf-B4gHF03O.js} +0 -0
- /package/dist/{pen-check-GQoVyZ_V.js → pen-check-CNrvx2ns.js} +0 -0
- /package/dist/{pen-5O6IZM5k.js → pen-im8XsK0s.js} +0 -0
- /package/dist/{people-CFA1u84D.js → people-DzOP6pil.js} +0 -0
- /package/dist/{phone-BmL2p-7F.js → phone-B0pmRKLI.js} +0 -0
- /package/dist/{picture-jf1PkZfY.js → picture-1NpQXh5F.js} +0 -0
- /package/dist/{picture-BBiWVmta.js → picture-CKfJP6Jt.js} +0 -0
- /package/dist/{pin-CTaBntUQ.js → pin-BOW6sde5.js} +0 -0
- /package/dist/{planning-s3sRV6ix.js → planning-DdILTFP4.js} +0 -0
- /package/dist/{plus-Dm-ZxxHJ.js → plus-Bh6PRV0l.js} +0 -0
- /package/dist/{print-B5fjHJZL.js → print-BLPvvCA8.js} +0 -0
- /package/dist/{refresh-gU5ZZuG6.js → refresh-CU1dwwoY.js} +0 -0
- /package/dist/{reset-CwU1iGF5.js → reset-Dgbd_O_e.js} +0 -0
- /package/dist/{responsive-BHNmDmM6.js → responsive-BQ5xjhN4.js} +0 -0
- /package/dist/{rubix-thema-BZvVEFud.js → rubix-thema-OSZXu-Md.js} +0 -0
- /package/dist/{save-mTHDeUnL.js → save-CIg7q65b.js} +0 -0
- /package/dist/{saved-search-DJO4_yPH.js → saved-search-CeLi3iw6.js} +0 -0
- /package/dist/{saved-search-filled-CNz5iwu_.js → saved-search-filled-BTrN8F4r.js} +0 -0
- /package/dist/{search-B5yHBLf_.js → search-CQIKBYqi.js} +0 -0
- /package/dist/{settings-Hb_Y7Y53.js → settings-BMFNH3LB.js} +0 -0
- /package/dist/{share-OpdW8ZmZ.js → share-DMoEV0Gq.js} +0 -0
- /package/dist/{share-alternative-C3pSVTYb.js → share-alternative-P6c3Vi7L.js} +0 -0
- /package/dist/{sidebar-DtAUGBof.js → sidebar-D2uDpQM0.js} +0 -0
- /package/dist/{sidebar-filled-BnnqCUYl.js → sidebar-filled-LiiR992T.js} +0 -0
- /package/dist/{slack-mCoCq7b9.js → slack-CP6YIaQf.js} +0 -0
- /package/dist/{slider-config-yjKG-9r9.js → slider-config-B_eNooTe.js} +0 -0
- /package/dist/{spellcheck-bP4DPCKJ.js → spellcheck-B0Il_eZe.js} +0 -0
- /package/dist/{spinner-CrCQ6H6L.js → spinner-CRHdpyRR.js} +0 -0
- /package/dist/{standard-view-CN0ixRE4.js → standard-view-CmlAxXrM.js} +0 -0
- /package/dist/{star-filled-CdXMXBn7.js → star-filled-V0iRfD5M.js} +0 -0
- /package/dist/{star-BKWqck4u.js → star-x38wQI5a.js} +0 -0
- /package/dist/{stop-B8l9lmwT.js → stop-BKrExcb1.js} +0 -0
- /package/dist/{story-DOxZDwJp.js → story-6skLDsue.js} +0 -0
- /package/dist/{story-Cxy8EkgB.js → story-B2rvDIJr.js} +0 -0
- /package/dist/{sync-BW_fAqt6.js → sync-DXiTJomf.js} +0 -0
- /package/dist/{tasks-DLNuebMi.js → tasks-bFDeHCo2.js} +0 -0
- /package/dist/{text-Bsl2QZz3.js → text-ClHl0Uhs.js} +0 -0
- /package/dist/{text-CPSps-qh.js → text-bDVoEwpJ.js} +0 -0
- /package/dist/{thumbs-down-pSf_ND98.js → thumbs-down-BAjh-Ctz.js} +0 -0
- /package/dist/{thumbs-up-Braz70N6.js → thumbs-up-DCwzHniR.js} +0 -0
- /package/dist/{thumbs-up-double-C6foUkOq.js → thumbs-up-double-CIPSNbd7.js} +0 -0
- /package/dist/{topic-BamlhBNV.js → topic-Cv-whi27.js} +0 -0
- /package/dist/{union-CYw04THu.js → union-BYS3V2vp.js} +0 -0
- /package/dist/{upload-BL_iLqTa.js → upload-Dvuj2qmk.js} +0 -0
- /package/dist/{user-need-divert-me-2RaqdMMH.js → user-need-divert-me-D33Y5bma.js} +0 -0
- /package/dist/{user-need-educate-me-CRi42bIc.js → user-need-educate-me-BC53AIXw.js} +0 -0
- /package/dist/{user-need-give-me-perspective-BIF7v9vF.js → user-need-give-me-perspective-D17ApF3n.js} +0 -0
- /package/dist/{user-need-help-me-O0XSLzP-.js → user-need-help-me-BWdR9Tv7.js} +0 -0
- /package/dist/{user-need-touch-me-BueJ3SSh.js → user-need-touch-me-q1HCbpQ7.js} +0 -0
- /package/dist/{user-need-update-me-DP574fsn.js → user-need-update-me-BItjScS5.js} +0 -0
- /package/dist/{video-CWHoNlON.js → video-BFPO-328.js} +0 -0
- /package/dist/{video-DhS7zpNF.js → video-BRSUY0SQ.js} +0 -0
- /package/dist/{video-overlay-D6e61Eo7.js → video-overlay-DnN10S5T.js} +0 -0
- /package/dist/{view-Bc5W8beK.js → view-C4Sx7i27.js} +0 -0
- /package/dist/{view-off-DquC2i3E.js → view-off-BtkqBEfJ.js} +0 -0
- /package/dist/{volume-up-DEzoW7Bq.js → volume-up-_3rO2YWj.js} +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -98,6 +98,7 @@ export declare const icons: {
|
|
|
98
98
|
readonly list: () => Promise<typeof import("../../assets/icons/list.vue")>;
|
|
99
99
|
readonly "list-search": () => Promise<typeof import("../../assets/icons/list-search.vue")>;
|
|
100
100
|
readonly lock: () => Promise<typeof import("../../assets/icons/lock.vue")>;
|
|
101
|
+
readonly "lock-filled": () => Promise<typeof import("../../assets/icons/lock-filled.vue")>;
|
|
101
102
|
readonly mail: () => Promise<typeof import("../../assets/icons/mail.vue")>;
|
|
102
103
|
readonly map: () => Promise<typeof import("../../assets/icons/map.vue")>;
|
|
103
104
|
readonly "map-filled": () => Promise<typeof import("../../assets/icons/map-filled.vue")>;
|
|
@@ -122,6 +123,7 @@ export declare const icons: {
|
|
|
122
123
|
readonly pin: () => Promise<typeof import("../../assets/icons/pin.vue")>;
|
|
123
124
|
readonly planning: () => Promise<typeof import("../../assets/icons/planning.vue")>;
|
|
124
125
|
readonly play: () => Promise<typeof import("../../assets/icons/play.vue")>;
|
|
126
|
+
readonly "play-filled": () => Promise<typeof import("../../assets/icons/play-filled.vue")>;
|
|
125
127
|
readonly plus: () => Promise<typeof import("../../assets/icons/plus.vue")>;
|
|
126
128
|
readonly print: () => Promise<typeof import("../../assets/icons/print.vue")>;
|
|
127
129
|
readonly refresh: () => Promise<typeof import("../../assets/icons/refresh.vue")>;
|
|
@@ -114,75 +114,77 @@ var pe = Object.defineProperty, me = Object.getOwnPropertyDescriptor, he = Objec
|
|
|
114
114
|
lightbulb: () => import("./lightbulb-DKJrsADi.js"),
|
|
115
115
|
list: () => import("./list-BviTrZEl.js"),
|
|
116
116
|
"list-search": () => import("./list-search-Ck6anukf.js"),
|
|
117
|
-
lock: () => import("./lock-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
"more-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
"
|
|
150
|
-
|
|
151
|
-
search: () => import("./search-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
"
|
|
157
|
-
|
|
158
|
-
"
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
"
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
"thumbs-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
"user-need-
|
|
178
|
-
"user-need-
|
|
179
|
-
"user-need-
|
|
180
|
-
"user-need-
|
|
181
|
-
|
|
182
|
-
"
|
|
183
|
-
|
|
184
|
-
"
|
|
185
|
-
|
|
117
|
+
lock: () => import("./lock-Dv7XHTQp.js"),
|
|
118
|
+
"lock-filled": () => import("./lock-filled-Bi_mH2A-.js"),
|
|
119
|
+
mail: () => import("./mail-BBU73oBg.js"),
|
|
120
|
+
map: () => import("./map-ChyXZkb4.js"),
|
|
121
|
+
"map-filled": () => import("./map-filled-DG4BwVQo.js"),
|
|
122
|
+
menu: () => import("./menu-Dx9cgqxe.js"),
|
|
123
|
+
minus: () => import("./minus-DkCYxSkQ.js"),
|
|
124
|
+
"more-horizontal": () => import("./more-horizontal-c6TlnC21.js"),
|
|
125
|
+
"more-vertical": () => import("./more-vertical-BUz_UWPT.js"),
|
|
126
|
+
move: () => import("./move-C3IOZIl7.js"),
|
|
127
|
+
"move-up-down": () => import("./move-up-down-DMvukk4h.js"),
|
|
128
|
+
navigation: () => import("./navigation-BiEFOSmS.js"),
|
|
129
|
+
note: () => import("./note-SrqI5m8n.js"),
|
|
130
|
+
offline: () => import("./offline-UyYgVOeH.js"),
|
|
131
|
+
package: () => import("./package-DlxyzZ6H.js"),
|
|
132
|
+
"paper-plane": () => import("./paper-plane-rpVAty7i.js"),
|
|
133
|
+
pause: () => import("./pause-C6E6QfcV.js"),
|
|
134
|
+
pdf: () => import("./pdf-B4gHF03O.js"),
|
|
135
|
+
pen: () => import("./pen-im8XsK0s.js"),
|
|
136
|
+
"pen-check": () => import("./pen-check-CNrvx2ns.js"),
|
|
137
|
+
people: () => import("./people-DzOP6pil.js"),
|
|
138
|
+
phone: () => import("./phone-B0pmRKLI.js"),
|
|
139
|
+
picture: () => import("./picture-1NpQXh5F.js"),
|
|
140
|
+
pin: () => import("./pin-BOW6sde5.js"),
|
|
141
|
+
planning: () => import("./planning-DdILTFP4.js"),
|
|
142
|
+
play: () => import("./play-X3Ob-qza.js"),
|
|
143
|
+
"play-filled": () => import("./play-filled-DYyCOR9Y.js"),
|
|
144
|
+
plus: () => import("./plus-Bh6PRV0l.js"),
|
|
145
|
+
print: () => import("./print-BLPvvCA8.js"),
|
|
146
|
+
refresh: () => import("./refresh-CU1dwwoY.js"),
|
|
147
|
+
reset: () => import("./reset-Dgbd_O_e.js"),
|
|
148
|
+
responsive: () => import("./responsive-BQ5xjhN4.js"),
|
|
149
|
+
"rubix-thema": () => import("./rubix-thema-OSZXu-Md.js"),
|
|
150
|
+
save: () => import("./save-CIg7q65b.js"),
|
|
151
|
+
"saved-search": () => import("./saved-search-CeLi3iw6.js"),
|
|
152
|
+
"saved-search-filled": () => import("./saved-search-filled-BTrN8F4r.js"),
|
|
153
|
+
search: () => import("./search-CQIKBYqi.js"),
|
|
154
|
+
settings: () => import("./settings-BMFNH3LB.js"),
|
|
155
|
+
share: () => import("./share-DMoEV0Gq.js"),
|
|
156
|
+
"share-alternative": () => import("./share-alternative-P6c3Vi7L.js"),
|
|
157
|
+
sidebar: () => import("./sidebar-D2uDpQM0.js"),
|
|
158
|
+
"sidebar-filled": () => import("./sidebar-filled-LiiR992T.js"),
|
|
159
|
+
slack: () => import("./slack-CP6YIaQf.js"),
|
|
160
|
+
"slider-config": () => import("./slider-config-B_eNooTe.js"),
|
|
161
|
+
spellcheck: () => import("./spellcheck-B0Il_eZe.js"),
|
|
162
|
+
spinner: () => import("./spinner-CRHdpyRR.js"),
|
|
163
|
+
"standard-view": () => import("./standard-view-CmlAxXrM.js"),
|
|
164
|
+
star: () => import("./star-x38wQI5a.js"),
|
|
165
|
+
"star-filled": () => import("./star-filled-V0iRfD5M.js"),
|
|
166
|
+
stop: () => import("./stop-BKrExcb1.js"),
|
|
167
|
+
story: () => import("./story-B2rvDIJr.js"),
|
|
168
|
+
sync: () => import("./sync-DXiTJomf.js"),
|
|
169
|
+
tasks: () => import("./tasks-bFDeHCo2.js"),
|
|
170
|
+
text: () => import("./text-bDVoEwpJ.js"),
|
|
171
|
+
"thumbs-down": () => import("./thumbs-down-BAjh-Ctz.js"),
|
|
172
|
+
"thumbs-up": () => import("./thumbs-up-DCwzHniR.js"),
|
|
173
|
+
"thumbs-up-double": () => import("./thumbs-up-double-CIPSNbd7.js"),
|
|
174
|
+
topic: () => import("./topic-Cv-whi27.js"),
|
|
175
|
+
union: () => import("./union-BYS3V2vp.js"),
|
|
176
|
+
upload: () => import("./upload-Dvuj2qmk.js"),
|
|
177
|
+
"user-need-divert-me": () => import("./user-need-divert-me-D33Y5bma.js"),
|
|
178
|
+
"user-need-educate-me": () => import("./user-need-educate-me-BC53AIXw.js"),
|
|
179
|
+
"user-need-give-me-perspective": () => import("./user-need-give-me-perspective-D17ApF3n.js"),
|
|
180
|
+
"user-need-help-me": () => import("./user-need-help-me-BWdR9Tv7.js"),
|
|
181
|
+
"user-need-touch-me": () => import("./user-need-touch-me-q1HCbpQ7.js"),
|
|
182
|
+
"user-need-update-me": () => import("./user-need-update-me-BItjScS5.js"),
|
|
183
|
+
video: () => import("./video-BFPO-328.js"),
|
|
184
|
+
"video-overlay": () => import("./video-overlay-DnN10S5T.js"),
|
|
185
|
+
view: () => import("./view-C4Sx7i27.js"),
|
|
186
|
+
"view-off": () => import("./view-off-BtkqBEfJ.js"),
|
|
187
|
+
"volume-up": () => import("./volume-up-_3rO2YWj.js")
|
|
186
188
|
}, xe = {};
|
|
187
189
|
function Se(e, t) {
|
|
188
190
|
return j(), l("div");
|
|
@@ -14428,15 +14430,15 @@ var zl = {
|
|
|
14428
14430
|
], 2));
|
|
14429
14431
|
}
|
|
14430
14432
|
}), jf = {
|
|
14431
|
-
alert: () => import("./alert-
|
|
14432
|
-
audio: () => import("./audio-
|
|
14433
|
-
gallery: () => import("./gallery-
|
|
14434
|
-
graphic: () => import("./graphic-
|
|
14435
|
-
package: () => import("./package-
|
|
14436
|
-
picture: () => import("./picture-
|
|
14437
|
-
story: () => import("./story-
|
|
14438
|
-
text: () => import("./text-
|
|
14439
|
-
video: () => import("./video-
|
|
14433
|
+
alert: () => import("./alert-CFNc2ENq.js"),
|
|
14434
|
+
audio: () => import("./audio-BHaZEzct.js"),
|
|
14435
|
+
gallery: () => import("./gallery-DwPWc5L2.js"),
|
|
14436
|
+
graphic: () => import("./graphic-DMZdoJT7.js"),
|
|
14437
|
+
package: () => import("./package-CT6Qsufx.js"),
|
|
14438
|
+
picture: () => import("./picture-CKfJP6Jt.js"),
|
|
14439
|
+
story: () => import("./story-6skLDsue.js"),
|
|
14440
|
+
text: () => import("./text-ClHl0Uhs.js"),
|
|
14441
|
+
video: () => import("./video-BRSUY0SQ.js")
|
|
14440
14442
|
}, Mf = {};
|
|
14441
14443
|
function Nf(e, t) {
|
|
14442
14444
|
return j(), l("div");
|
|
@@ -14860,7 +14862,7 @@ var Pf = /* @__PURE__ */ e(Mf, [["render", Nf]]), Ff = /* @__PURE__ */ h({
|
|
|
14860
14862
|
default: q(() => [ue(u("input", w({
|
|
14861
14863
|
id: r.value,
|
|
14862
14864
|
"onUpdate:modelValue": i[0] ||= (e) => t.value = e,
|
|
14863
|
-
class: ["inline-flex aspect-square appearance-none items-center justify-center rounded-full border-2 bg-neutral align-middle transition-colors after:size-2 after:rounded-full checked:after:content-['']
|
|
14865
|
+
class: ["inline-flex aspect-square appearance-none items-center justify-center rounded-full border-2 bg-neutral align-middle transition-colors after:size-2 after:rounded-full checked:after:content-[''] enabled:cursor-pointer disabled:border-neutral-muted disabled:text-neutral-soft disabled:checked:after:bg-neutral-muted", {
|
|
14864
14866
|
"size-4": e.size === "sm",
|
|
14865
14867
|
"size-5": e.size === "md",
|
|
14866
14868
|
"border-primary checked:after:bg-primary enabled:hover:border-primary-hover": e.appearance === "primary",
|
|
@@ -15396,7 +15398,7 @@ var Pf = /* @__PURE__ */ e(Mf, [["render", Nf]]), Ff = /* @__PURE__ */ h({
|
|
|
15396
15398
|
"target"
|
|
15397
15399
|
]));
|
|
15398
15400
|
}
|
|
15399
|
-
}), Ep =
|
|
15401
|
+
}), Ep = ["id"], Dp = /* @__PURE__ */ h({
|
|
15400
15402
|
inheritAttrs: !1,
|
|
15401
15403
|
__name: "UiToggleButton",
|
|
15402
15404
|
props: /* @__PURE__ */ C({
|
|
@@ -15419,37 +15421,28 @@ var Pf = /* @__PURE__ */ e(Mf, [["render", Nf]]), Ff = /* @__PURE__ */ h({
|
|
|
15419
15421
|
}, {
|
|
15420
15422
|
default: q(() => [
|
|
15421
15423
|
e.labelPosition === "left" ? L(n.$slots, "default", { key: 0 }) : c("", !0),
|
|
15422
|
-
u("
|
|
15423
|
-
|
|
15424
|
-
|
|
15425
|
-
|
|
15426
|
-
|
|
15427
|
-
"
|
|
15428
|
-
|
|
15429
|
-
|
|
15430
|
-
},
|
|
15431
|
-
|
|
15432
|
-
|
|
15433
|
-
|
|
15434
|
-
|
|
15435
|
-
|
|
15436
|
-
|
|
15437
|
-
|
|
15438
|
-
"h-4 w-10": e.size === "lg"
|
|
15439
|
-
}]) }, null, 2),
|
|
15440
|
-
u("div", { class: E([{
|
|
15441
|
-
"translate-x-full bg-secondary": t.value,
|
|
15442
|
-
"bg-neutral-muted": !t.value,
|
|
15443
|
-
"-top-0.5 size-4": e.size === "sm",
|
|
15444
|
-
"-top-1 size-6": e.size === "lg"
|
|
15445
|
-
}, "dot absolute -left-1 rounded-full shadow-sm transition-transform duration-200 ease-in-out"]) }, null, 2)
|
|
15446
|
-
]),
|
|
15424
|
+
ue(u("input", w({
|
|
15425
|
+
id: r.value,
|
|
15426
|
+
"onUpdate:modelValue": i[0] ||= (e) => t.value = e,
|
|
15427
|
+
class: ["relative appearance-none rounded-full shadow-inner transition-opacity duration-200 ease-in-out after:absolute after:-left-1 after:block after:rounded-full after:shadow-sm after:transition-transform after:duration-200 after:ease-in-out after:content-[''] enabled:cursor-pointer", {
|
|
15428
|
+
"bg-secondary-emphasis after:translate-x-full after:bg-secondary": t.value,
|
|
15429
|
+
"bg-neutral-faint after:bg-neutral-muted": !t.value,
|
|
15430
|
+
"h-3 w-6 after:-top-0.5 after:size-4": e.size === "sm",
|
|
15431
|
+
"h-4 w-10 after:-top-1 after:size-6": e.size === "lg"
|
|
15432
|
+
}],
|
|
15433
|
+
type: "checkbox",
|
|
15434
|
+
role: "switch",
|
|
15435
|
+
"data-testid": "toggleButton"
|
|
15436
|
+
}, {
|
|
15437
|
+
...n.$attrs,
|
|
15438
|
+
class: null
|
|
15439
|
+
}), null, 16, Ep), [[re, t.value]]),
|
|
15447
15440
|
e.labelPosition === "right" ? L(n.$slots, "default", { key: 1 }) : c("", !0)
|
|
15448
15441
|
]),
|
|
15449
15442
|
_: 3
|
|
15450
15443
|
}, 8, ["for", "class"]));
|
|
15451
15444
|
}
|
|
15452
|
-
}),
|
|
15445
|
+
}), Op = ["data-placement"], kp = /* @__PURE__ */ h({
|
|
15453
15446
|
inheritAttrs: !1,
|
|
15454
15447
|
__name: "UiTooltip",
|
|
15455
15448
|
props: {
|
|
@@ -15523,17 +15516,17 @@ var Pf = /* @__PURE__ */ e(Mf, [["render", Nf]]), Ff = /* @__PURE__ */ h({
|
|
|
15523
15516
|
"leave-active-class",
|
|
15524
15517
|
"leave-to-class",
|
|
15525
15518
|
"enter-from-class"
|
|
15526
|
-
])], 12,
|
|
15519
|
+
])], 12, Op)], 8, ["disabled"]))], 2));
|
|
15527
15520
|
}
|
|
15528
|
-
}),
|
|
15521
|
+
}), Ap = {
|
|
15529
15522
|
sm: "40rem",
|
|
15530
15523
|
md: "48rem",
|
|
15531
15524
|
lg: "64rem",
|
|
15532
15525
|
xl: "80rem",
|
|
15533
15526
|
"2xl": "96rem"
|
|
15534
15527
|
};
|
|
15535
|
-
function
|
|
15536
|
-
let e = Vr(
|
|
15528
|
+
function jp() {
|
|
15529
|
+
let e = Vr(Ap).current();
|
|
15537
15530
|
return {
|
|
15538
15531
|
currentBreakpoint: e,
|
|
15539
15532
|
sm: o(() => e.value.includes("sm")),
|
|
@@ -15544,4 +15537,4 @@ function Mp() {
|
|
|
15544
15537
|
};
|
|
15545
15538
|
}
|
|
15546
15539
|
//#endregion
|
|
15547
|
-
export { Ie as DpaMediaItem, Le as UiBadge, fn as UiButton, gn as UiButtonGroup, bn as UiCard, Mn as UiCheckBoxGroup, wn as UiCheckbox, Nn as UiChip, In as UiCollapseNavigation, gr as UiColorPicker, uf as UiDatePicker, hf as UiDialog, _f as UiFilterBadge, bf as UiFilterButton, Te as UiIcon, Sf as UiIconButton, Ef as UiInfoContent, Af as UiInput, xn as UiLabel, On as UiList, jn as UiListItem, Ff as UiMediaTypeIcon, qf as UiMenu, Jf as UiMenuItem, Yf as UiMenuList, Zf as UiOverlay, ep as UiOverlayMenu, zf as UiPopover, rp as UiRadioButton, ip as UiRadioInputGroup, up as UiSearchBar, mp as UiSearchInput, hp as UiSection, gp as UiSectionDivider, yp as UiSelect, bp as UiSkeletonBox, Sp as UiSnackbar, wp as UiSpinner, Tp as UiTextButton,
|
|
15540
|
+
export { Ie as DpaMediaItem, Le as UiBadge, fn as UiButton, gn as UiButtonGroup, bn as UiCard, Mn as UiCheckBoxGroup, wn as UiCheckbox, Nn as UiChip, In as UiCollapseNavigation, gr as UiColorPicker, uf as UiDatePicker, hf as UiDialog, _f as UiFilterBadge, bf as UiFilterButton, Te as UiIcon, Sf as UiIconButton, Ef as UiInfoContent, Af as UiInput, xn as UiLabel, On as UiList, jn as UiListItem, Ff as UiMediaTypeIcon, qf as UiMenu, Jf as UiMenuItem, Yf as UiMenuList, Zf as UiOverlay, ep as UiOverlayMenu, zf as UiPopover, rp as UiRadioButton, ip as UiRadioInputGroup, up as UiSearchBar, mp as UiSearchInput, hp as UiSection, gp as UiSectionDivider, yp as UiSelect, bp as UiSkeletonBox, Sp as UiSnackbar, wp as UiSpinner, Tp as UiTextButton, Dp as UiToggleButton, kp as UiTooltip, un as cn, jp as useBreakpoints, Lf as vClickAway };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-BTgDAbhb.js";
|
|
2
|
+
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
|
+
//#region src/assets/icons/lock-filled.vue
|
|
4
|
+
var i = {}, a = {
|
|
5
|
+
width: "24",
|
|
6
|
+
height: "24",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
+
};
|
|
10
|
+
function o(e, i) {
|
|
11
|
+
return r(), t("svg", a, [...i[0] ||= [n("path", {
|
|
12
|
+
d: "M12 2.11C13.0609 2.11 14.078 2.53173 14.8281 3.28188C15.5783 4.03202 16 5.04913 16 6.11V9.99965H17C17.7956 9.99965 18.5585 10.3161 19.1211 10.8786C19.6836 11.4411 19.9999 12.2041 20 12.9996V18.9996C20 19.7953 19.6837 20.5591 19.1211 21.1217C18.5585 21.6841 17.7955 21.9996 17 21.9996H7C6.2045 21.9996 5.44149 21.6841 4.87891 21.1217C4.3163 20.5591 4 19.7953 4 18.9996V12.9996C4.00009 12.2041 4.31638 11.4411 4.87891 10.8786C5.4415 10.3161 6.20443 9.99965 7 9.99965H8V6.11C8 5.04913 8.42173 4.03202 9.17188 3.28188C9.92202 2.53173 10.9391 2.11 12 2.11ZM12 13.7496C11.4478 13.7496 11.0002 14.1975 11 14.7496V16.7496C11 17.3019 11.4477 17.7496 12 17.7496C12.5523 17.7496 13 17.3019 13 16.7496V14.7496C12.9998 14.1975 12.5522 13.7496 12 13.7496ZM12 3.99965C11.4554 4.01535 10.9393 4.24678 10.5645 4.64223C10.1896 5.03767 9.98655 5.56531 10 6.11V9.99965H14V6.11C14.0135 5.56531 13.8104 5.03767 13.4355 4.64223C13.0607 4.24678 12.5446 4.01535 12 3.99965Z",
|
|
13
|
+
fill: "currentColor"
|
|
14
|
+
}, null, -1)]]);
|
|
15
|
+
}
|
|
16
|
+
var s = /* @__PURE__ */ e(i, [["render", o]]);
|
|
17
|
+
//#endregion
|
|
18
|
+
export { s as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-BTgDAbhb.js";
|
|
2
|
+
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
|
+
//#region src/assets/icons/play.vue
|
|
4
|
+
var i = {}, a = {
|
|
5
|
+
width: "24",
|
|
6
|
+
height: "24",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
+
};
|
|
10
|
+
function o(e, i) {
|
|
11
|
+
return r(), t("svg", a, [...i[0] ||= [n("path", {
|
|
12
|
+
d: "M8 5.83723V18.1L17.197 11.7828L8 5.83723ZM6 4.91861C6 3.73014 7.31627 3.0137 8.31435 3.65892L18.9129 10.5105C19.8119 11.0917 19.8302 12.4005 18.9478 13.0066L8.34926 20.2864C7.35396 20.9701 6 20.2575 6 19.05V4.91861Z",
|
|
13
|
+
fill: "currentColor"
|
|
14
|
+
}, null, -1)]]);
|
|
15
|
+
}
|
|
16
|
+
var s = /* @__PURE__ */ e(i, [["render", o]]);
|
|
17
|
+
//#endregion
|
|
18
|
+
export { s as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-BTgDAbhb.js";
|
|
2
|
+
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
|
+
//#region src/assets/icons/play-filled.vue
|
|
4
|
+
var i = {}, a = {
|
|
5
|
+
width: "24",
|
|
6
|
+
height: "24",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
+
};
|
|
10
|
+
function o(e, i) {
|
|
11
|
+
return r(), t("svg", a, [...i[0] ||= [n("path", {
|
|
12
|
+
d: "M6 4.91861C6 3.73014 7.31627 3.0137 8.31435 3.65892L18.9129 10.5105C19.8119 11.0917 19.8302 12.4005 18.9478 13.0066L8.34926 20.2864C7.35396 20.9701 6 20.2575 6 19.05V4.91861Z",
|
|
13
|
+
fill: "currentColor"
|
|
14
|
+
}, null, -1)]]);
|
|
15
|
+
}
|
|
16
|
+
var s = /* @__PURE__ */ e(i, [["render", o]]);
|
|
17
|
+
//#endregion
|
|
18
|
+
export { s as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
width="24"
|
|
4
|
+
height="24"
|
|
5
|
+
viewBox="0 0 24 24"
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
>
|
|
8
|
+
<path
|
|
9
|
+
d="M12 2.11C13.0609 2.11 14.078 2.53173 14.8281 3.28188C15.5783 4.03202 16 5.04913 16 6.11V9.99965H17C17.7956 9.99965 18.5585 10.3161 19.1211 10.8786C19.6836 11.4411 19.9999 12.2041 20 12.9996V18.9996C20 19.7953 19.6837 20.5591 19.1211 21.1217C18.5585 21.6841 17.7955 21.9996 17 21.9996H7C6.2045 21.9996 5.44149 21.6841 4.87891 21.1217C4.3163 20.5591 4 19.7953 4 18.9996V12.9996C4.00009 12.2041 4.31638 11.4411 4.87891 10.8786C5.4415 10.3161 6.20443 9.99965 7 9.99965H8V6.11C8 5.04913 8.42173 4.03202 9.17188 3.28188C9.92202 2.53173 10.9391 2.11 12 2.11ZM12 13.7496C11.4478 13.7496 11.0002 14.1975 11 14.7496V16.7496C11 17.3019 11.4477 17.7496 12 17.7496C12.5523 17.7496 13 17.3019 13 16.7496V14.7496C12.9998 14.1975 12.5522 13.7496 12 13.7496ZM12 3.99965C11.4554 4.01535 10.9393 4.24678 10.5645 4.64223C10.1896 5.03767 9.98655 5.56531 10 6.11V9.99965H14V6.11C14.0135 5.56531 13.8104 5.03767 13.4355 4.64223C13.0607 4.24678 12.5446 4.01535 12 3.99965Z"
|
|
10
|
+
fill="currentColor"
|
|
11
|
+
/>
|
|
12
|
+
</svg>
|
|
13
|
+
</template>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
width="24"
|
|
4
|
+
height="24"
|
|
5
|
+
viewBox="0 0 24 24"
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
>
|
|
8
|
+
<path
|
|
9
|
+
d="M6 4.91861C6 3.73014 7.31627 3.0137 8.31435 3.65892L18.9129 10.5105C19.8119 11.0917 19.8302 12.4005 18.9478 13.0066L8.34926 20.2864C7.35396 20.9701 6 20.2575 6 19.05V4.91861Z"
|
|
10
|
+
fill="currentColor"
|
|
11
|
+
/>
|
|
12
|
+
</svg>
|
|
13
|
+
</template>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
xmlns="http://www.w3.org/2000/svg"
|
|
7
7
|
>
|
|
8
8
|
<path
|
|
9
|
-
d="
|
|
9
|
+
d="M8 5.83723V18.1L17.197 11.7828L8 5.83723ZM6 4.91861C6 3.73014 7.31627 3.0137 8.31435 3.65892L18.9129 10.5105C19.8119 11.0917 19.8302 12.4005 18.9478 13.0066L8.34926 20.2864C7.35396 20.9701 6 20.2575 6 19.05V4.91861Z"
|
|
10
10
|
fill="currentColor"
|
|
11
11
|
/>
|
|
12
12
|
</svg>
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type {
|
|
2
|
+
ComponentPropsAndSlots,
|
|
3
|
+
Meta,
|
|
4
|
+
StoryObj,
|
|
5
|
+
} from "@storybook/vue3-vite";
|
|
2
6
|
import { ref } from "vue";
|
|
3
7
|
|
|
4
8
|
import UiButton from "../UiButton/UiButton.vue";
|
|
5
9
|
|
|
6
10
|
import UiButtonGroup from "./UiButtonGroup.vue";
|
|
7
11
|
|
|
8
|
-
type
|
|
12
|
+
type PropsAndCustomArgs = ComponentPropsAndSlots<typeof UiButtonGroup> & {
|
|
9
13
|
activeButton: number;
|
|
10
14
|
};
|
|
11
15
|
|
|
@@ -15,14 +19,14 @@ const meta = {
|
|
|
15
19
|
activeButton: { control: "number" },
|
|
16
20
|
},
|
|
17
21
|
args: {
|
|
18
|
-
activeButton:
|
|
22
|
+
activeButton: 1,
|
|
19
23
|
},
|
|
20
24
|
title: "Ui/UiButtonGroup",
|
|
21
25
|
component: UiButtonGroup,
|
|
22
|
-
} satisfies Meta<
|
|
26
|
+
} satisfies Meta<PropsAndCustomArgs>;
|
|
23
27
|
|
|
24
28
|
export default meta;
|
|
25
|
-
type Story = StoryObj<
|
|
29
|
+
type Story = StoryObj<PropsAndCustomArgs>;
|
|
26
30
|
|
|
27
31
|
export const Default: Story = {
|
|
28
32
|
render: (args) => ({
|
|
@@ -46,7 +50,4 @@ export const Default: Story = {
|
|
|
46
50
|
</UiButtonGroup>
|
|
47
51
|
`,
|
|
48
52
|
}),
|
|
49
|
-
args: {
|
|
50
|
-
activeButton: 1,
|
|
51
|
-
},
|
|
52
53
|
};
|
|
@@ -1,19 +1,28 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type {
|
|
2
|
+
ComponentPropsAndSlots,
|
|
3
|
+
Meta,
|
|
4
|
+
StoryObj,
|
|
5
|
+
} from "@storybook/vue3-vite";
|
|
2
6
|
import { ref } from "vue";
|
|
3
7
|
|
|
4
8
|
import UiCheckbox from "./UiCheckbox.vue";
|
|
5
9
|
|
|
10
|
+
type PropsAndCustomArgs = ComponentPropsAndSlots<typeof UiCheckbox> & {
|
|
11
|
+
name?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
};
|
|
14
|
+
|
|
6
15
|
const meta = {
|
|
7
16
|
title: "forms/UiCheckbox",
|
|
8
17
|
component: UiCheckbox,
|
|
9
18
|
argTypes: {
|
|
10
19
|
// Attributes
|
|
11
|
-
|
|
20
|
+
name: { control: "text" },
|
|
12
21
|
disabled: { control: "boolean" },
|
|
13
22
|
},
|
|
14
23
|
args: {
|
|
15
24
|
// Attributes
|
|
16
|
-
|
|
25
|
+
name: "name",
|
|
17
26
|
disabled: false,
|
|
18
27
|
|
|
19
28
|
// Props
|
|
@@ -24,10 +33,10 @@ const meta = {
|
|
|
24
33
|
default: "Checkbox",
|
|
25
34
|
errors: "",
|
|
26
35
|
},
|
|
27
|
-
} satisfies Meta<
|
|
36
|
+
} satisfies Meta<PropsAndCustomArgs>;
|
|
28
37
|
|
|
29
38
|
export default meta;
|
|
30
|
-
type Story = StoryObj<
|
|
39
|
+
type Story = StoryObj<PropsAndCustomArgs>;
|
|
31
40
|
|
|
32
41
|
export const Default: Story = {
|
|
33
42
|
render: (args) => ({
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type {
|
|
2
|
+
ComponentPropsAndSlots,
|
|
3
|
+
Meta,
|
|
4
|
+
StoryObj,
|
|
5
|
+
} from "@storybook/vue3-vite";
|
|
2
6
|
|
|
3
7
|
import { icons } from "./icons.ts";
|
|
4
8
|
import UiIcon from "./UiIcon.vue";
|
|
5
9
|
|
|
6
|
-
type
|
|
10
|
+
type PropsAndCustomArgs = ComponentPropsAndSlots<typeof UiIcon> & {
|
|
7
11
|
outline: boolean;
|
|
8
12
|
};
|
|
9
13
|
|
|
@@ -18,10 +22,10 @@ const meta = {
|
|
|
18
22
|
argTypes: {
|
|
19
23
|
outline: { control: "boolean" },
|
|
20
24
|
},
|
|
21
|
-
} satisfies Meta<
|
|
25
|
+
} satisfies Meta<PropsAndCustomArgs>;
|
|
22
26
|
|
|
23
27
|
export default meta;
|
|
24
|
-
type Story = StoryObj<
|
|
28
|
+
type Story = StoryObj<PropsAndCustomArgs>;
|
|
25
29
|
|
|
26
30
|
export const Default: Story = {
|
|
27
31
|
render: (args) => ({
|
|
@@ -100,6 +100,7 @@ export const icons = {
|
|
|
100
100
|
"list": () => import("../../assets/icons/list.vue"),
|
|
101
101
|
"list-search": () => import("../../assets/icons/list-search.vue"),
|
|
102
102
|
"lock": () => import("../../assets/icons/lock.vue"),
|
|
103
|
+
"lock-filled": () => import("../../assets/icons/lock-filled.vue"),
|
|
103
104
|
"mail": () => import("../../assets/icons/mail.vue"),
|
|
104
105
|
"map": () => import("../../assets/icons/map.vue"),
|
|
105
106
|
"map-filled": () => import("../../assets/icons/map-filled.vue"),
|
|
@@ -124,6 +125,7 @@ export const icons = {
|
|
|
124
125
|
"pin": () => import("../../assets/icons/pin.vue"),
|
|
125
126
|
"planning": () => import("../../assets/icons/planning.vue"),
|
|
126
127
|
"play": () => import("../../assets/icons/play.vue"),
|
|
128
|
+
"play-filled": () => import("../../assets/icons/play-filled.vue"),
|
|
127
129
|
"plus": () => import("../../assets/icons/plus.vue"),
|
|
128
130
|
"print": () => import("../../assets/icons/print.vue"),
|
|
129
131
|
"refresh": () => import("../../assets/icons/refresh.vue"),
|
|
@@ -1,14 +1,24 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type {
|
|
2
|
+
ComponentPropsAndSlots,
|
|
3
|
+
Meta,
|
|
4
|
+
StoryObj,
|
|
5
|
+
} from "@storybook/vue3-vite";
|
|
2
6
|
import { action } from "storybook/actions";
|
|
3
7
|
|
|
4
8
|
import UiInput from "./UiInput.vue";
|
|
5
9
|
|
|
10
|
+
type PropsAndCustomArgs = ComponentPropsAndSlots<typeof UiInput> & {
|
|
11
|
+
name?: string;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
readonly?: boolean;
|
|
15
|
+
};
|
|
16
|
+
|
|
6
17
|
const meta = {
|
|
7
18
|
title: "forms/UiInput",
|
|
8
19
|
component: UiInput,
|
|
9
20
|
args: {
|
|
10
21
|
// Attributes
|
|
11
|
-
// @ts-ignore Storybook doesn't know that **any** component can receive arbitrary attributes and enforces this on the type level.
|
|
12
22
|
name: "name",
|
|
13
23
|
disabled: false,
|
|
14
24
|
readonly: false,
|
|
@@ -24,8 +34,8 @@ const meta = {
|
|
|
24
34
|
},
|
|
25
35
|
argTypes: {
|
|
26
36
|
// Attributes
|
|
27
|
-
// @ts-ignore Storybook doesn't know that **any** component can receive arbitrary attributes and enforces this on the type level.
|
|
28
37
|
name: { control: "text" },
|
|
38
|
+
placeholder: { control: "text" },
|
|
29
39
|
disabled: { control: "boolean" },
|
|
30
40
|
readonly: { control: "boolean" },
|
|
31
41
|
},
|
|
@@ -53,17 +63,16 @@ const meta = {
|
|
|
53
63
|
update: action("update:modelValue"),
|
|
54
64
|
},
|
|
55
65
|
}),
|
|
56
|
-
} satisfies Meta<
|
|
66
|
+
} satisfies Meta<PropsAndCustomArgs>;
|
|
57
67
|
|
|
58
68
|
export default meta;
|
|
59
|
-
type Story = StoryObj<
|
|
69
|
+
type Story = StoryObj<PropsAndCustomArgs>;
|
|
60
70
|
|
|
61
71
|
export const Default: Story = {};
|
|
62
72
|
|
|
63
73
|
export const Placeholder: Story = {
|
|
64
74
|
args: {
|
|
65
75
|
// Attributes
|
|
66
|
-
// @ts-ignore
|
|
67
76
|
placeholder: "Some placeholder text",
|
|
68
77
|
|
|
69
78
|
// Slots
|