@bethinkpl/design-system 26.10.1 → 26.10.2
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/design-system.umd.cjs +17 -17
- package/dist/design-system.umd.cjs.map +1 -1
- package/dist/lib/js/components/Banner/Banner.vue.d.ts +4 -0
- package/dist/lib/js/components/Buttons/Button/Button.vue.d.ts +1 -0
- package/dist/lib/js/components/Buttons/IconButton/IconButton.vue.d.ts +2 -0
- package/dist/lib/js/components/Cards/CardExpandable/CardExpandable.vue.d.ts +1 -0
- package/dist/lib/js/components/Chip/Chip.vue.d.ts +3 -0
- package/dist/lib/js/components/DatePickers/DateBox/DateBox.vue.d.ts +1 -0
- package/dist/lib/js/components/DatePickers/DatePicker/DatePicker.vue.d.ts +2 -0
- package/dist/lib/js/components/DatePickers/DateRangePicker/DateRangePicker.vue.d.ts +1 -0
- package/dist/lib/js/components/Drawer/DrawerHeader/DrawerHeader.vue.d.ts +7 -0
- package/dist/lib/js/components/Drawer/DrawerListItem/DrawerListItem.vue.d.ts +1 -0
- package/dist/lib/js/components/Drawer/DrawerSection/DrawerSection.vue.d.ts +4 -0
- package/dist/lib/js/components/Drawer/DrawerTile/DrawerTile.vue.d.ts +1 -0
- package/dist/lib/js/components/Form/Checkbox/Checkbox.vue.d.ts +1 -0
- package/dist/lib/js/components/Form/RadioButton/RadioButton.vue.d.ts +1 -0
- package/dist/lib/js/components/Headers/OverlayHeader/OverlayHeader.vue.d.ts +3 -0
- package/dist/lib/js/components/Headers/SectionHeader/SectionHeader.vue.d.ts +3 -0
- package/dist/lib/js/components/Icons/Icon/Icon.consts.d.ts +1 -0
- package/dist/lib/js/components/Modal/Modal.vue.d.ts +1 -0
- package/dist/lib/js/components/Modals/Modal/Modal.vue.d.ts +4 -0
- package/dist/lib/js/components/Modals/ModalDialog/ModalDialog.vue.d.ts +4 -0
- package/dist/lib/js/components/Outline/OutlineItem/OutlineItem.vue.d.ts +1 -0
- package/dist/lib/js/components/Pagination/Pagination.vue.d.ts +4 -0
- package/dist/lib/js/components/ProgressBar/ProgressBar.vue.d.ts +1 -0
- package/dist/lib/js/components/ProgressDonutChart/ProgressDonutChart.vue.d.ts +1 -0
- package/dist/lib/js/components/RichList/BasicRichListItem/BasicRichListItem.vue.d.ts +2 -0
- package/dist/lib/js/components/RichList/RichListItem/RichListItem.vue.d.ts +2 -0
- package/dist/lib/js/components/SelectList/SelectListItem/SelectListItem.vue.d.ts +1 -0
- package/dist/lib/js/components/SelectList/SelectListItemTile/SelectListItemTile.vue.d.ts +1 -0
- package/dist/lib/js/components/SelectList/SelectListItemToggle/SelectListItemToggle.vue.d.ts +1 -0
- package/dist/lib/js/components/SelectionTile/SelectionTile.vue.d.ts +3 -0
- package/dist/lib/js/components/Statuses/AccessStatus/AccessStatus.vue.d.ts +1 -0
- package/dist/lib/js/components/Statuses/BlockadeStatus/BlockadeStatus.vue.d.ts +1 -0
- package/dist/lib/js/components/SurveyQuestions/SurveyQuestionOpenEnded/SurveyQuestionOpenEnded.vue.d.ts +5 -0
- package/dist/lib/js/components/SurveyQuestions/SurveyQuestionScale/SurveyQuestionScale.vue.d.ts +5 -0
- package/dist/lib/js/components/Switch/Switch.vue.d.ts +1 -0
- package/dist/lib/js/components/Tile/Tile.sb.shared.d.ts +5 -0
- package/dist/lib/js/components/Tile/Tile.vue.d.ts +1 -0
- package/dist/lib/js/components/Toast/Toast.vue.d.ts +1 -0
- package/dist/lib/js/components/Toggles/ToggleButton/ToggleButton.vue.d.ts +1 -0
- package/dist/lib/js/icons/fontawesome.d.ts +1 -0
- package/docs/assets/{AccessStatus-eOOeqKMq.js → AccessStatus-Bb89L0n4.js} +1 -1
- package/docs/assets/{AccessStatus.stories-Cj85qL9V.js → AccessStatus.stories-B3_KTVWu.js} +1 -1
- package/docs/assets/{BadgeScore-BL8hbYk0.js → BadgeScore-VoyhoyPu.js} +1 -1
- package/docs/assets/{BadgeScore.stories-DdjqFD5U.js → BadgeScore.stories-CNY-1Nuu.js} +1 -1
- package/docs/assets/{Banner-CYq3U3dp.js → Banner-DaqGIRps.js} +1 -1
- package/docs/assets/{Banner.stories-C5AklXaE.js → Banner.stories-BP7LrBw0.js} +1 -1
- package/docs/assets/{BasicRichListItem-WZ8mj4WH.js → BasicRichListItem-C2lY5QHc.js} +1 -1
- package/docs/assets/{BasicRichListItem.stories-CnXil0XY.js → BasicRichListItem.stories-CJLLsCH2.js} +1 -1
- package/docs/assets/{BlockadeStatus-0IfPTjpE.js → BlockadeStatus-BovI8qdo.js} +1 -1
- package/docs/assets/{BlockedeStatus.stories-ds5jeZmH.js → BlockedeStatus.stories-CZqKhsVe.js} +1 -1
- package/docs/assets/{Button-C9fw-hoQ.js → Button-TCMWFFTV.js} +1 -1
- package/docs/assets/{Button.stories-Bc7hSqem.js → Button.stories-BP78ebL5.js} +1 -1
- package/docs/assets/{CardExpandable-BzuBEb3B.js → CardExpandable-U3c3_RFR.js} +1 -1
- package/docs/assets/{CardExpandable.stories-Dw5ytiF1.js → CardExpandable.stories-CJJrRvWG.js} +1 -1
- package/docs/assets/{Checkbox-B9iZ2V6w.js → Checkbox-Bsa7X8oN.js} +1 -1
- package/docs/assets/{Checkbox.stories-XetNYP18.js → Checkbox.stories-D_FmTwaw.js} +1 -1
- package/docs/assets/{Chip-BioAps-y.js → Chip-CTSLlUHr.js} +1 -1
- package/docs/assets/{Chip.stories-gIHj4f0o.js → Chip.stories-BlDSOmpM.js} +1 -1
- package/docs/assets/{Color-ERTF36HU-OGMsUYvZ.js → Color-ERTF36HU-06Iq2w_Z.js} +1 -1
- package/docs/assets/{CounterToggle-25cwaguS.js → CounterToggle-BVPp4FeG.js} +1 -1
- package/docs/assets/{CounterToggle.stories-CiNXxRaH.js → CounterToggle.stories-Bj6qyGpF.js} +1 -1
- package/docs/assets/{DateBox.stories-BkICbFGG.js → DateBox.stories-DL_j7ydW.js} +1 -1
- package/docs/assets/{DatePicker-AYpn3Wnq.js → DatePicker-CcKDLhxp.js} +1 -1
- package/docs/assets/{DatePicker.stories-B0s5x-tP.js → DatePicker.stories-CK6I-6c-.js} +1 -1
- package/docs/assets/{DateRangePicker-SPwTzS7T.js → DateRangePicker-laHPjs-v.js} +1 -1
- package/docs/assets/{DateRangePicker.stories-BXBaAO1N.js → DateRangePicker.stories-BtP6-oba.js} +1 -1
- package/docs/assets/{DocsRenderer-CFRXHY34-v9z3YwJj.js → DocsRenderer-CFRXHY34-D86268a8.js} +5 -5
- package/docs/assets/{DrawerHeader-CrvJW8a0.js → DrawerHeader-BUFtT2yY.js} +1 -1
- package/docs/assets/{DrawerHeader.stories-BXRweA8a.js → DrawerHeader.stories-C2E1814K.js} +1 -1
- package/docs/assets/{DrawerListItem-83NDSyje.js → DrawerListItem-BruVct4m.js} +1 -1
- package/docs/assets/{DrawerListItem.stories-Ctz2uc7L.js → DrawerListItem.stories-D5YRBGHl.js} +1 -1
- package/docs/assets/{DrawerListItemGroup.stories-C1MInA92.js → DrawerListItemGroup.stories-Bn3gvIvs.js} +1 -1
- package/docs/assets/{DrawerSection-JWZp34mG.js → DrawerSection-CGE0Z89z.js} +1 -1
- package/docs/assets/{DrawerSection.stories-C-0HGWbX.js → DrawerSection.stories-DanW010v.js} +1 -1
- package/docs/assets/{DrawerTile-CVzahKPW.js → DrawerTile-C4SUdovI.js} +1 -1
- package/docs/assets/{DrawerTile.stories-Cuv_lxak.js → DrawerTile.stories-DfNjL51X.js} +1 -1
- package/docs/assets/{Dropdown.stories-BO5wXz__.js → Dropdown.stories-ARX2jFhf.js} +1 -1
- package/docs/assets/{FeatureIcon-Bt2WOK2R.js → FeatureIcon-DEdW5Abw.js} +1 -1
- package/docs/assets/{FeatureIcon.stories-CQT4Ax6v.js → FeatureIcon.stories-BvrIv3nz.js} +1 -1
- package/docs/assets/{GroupRichListItem-DYIyXLew.js → GroupRichListItem-BvMN1U8t.js} +1 -1
- package/docs/assets/{GroupRichListItem.stories-CcpusO91.js → GroupRichListItem.stories-BBLgdtH3.js} +1 -1
- package/docs/assets/{Icon-Mp5xMpaO.js → Icon-BCID_1bx.js} +6 -6
- package/docs/assets/{Icon.stories-vgEeaZJT.js → Icon.stories-DGcaJLbW.js} +1 -1
- package/docs/assets/{IconButton-DIcq1fJw.js → IconButton-BAw3zjHF.js} +1 -1
- package/docs/assets/{IconButton.stories-BjASqqcL.js → IconButton.stories-qS45zAsa.js} +1 -1
- package/docs/assets/{IconText-DH8YnoAg.js → IconText-832pwWI9.js} +1 -1
- package/docs/assets/{IconText.stories-LbqRHqJE.js → IconText.stories-I2fBQvxS.js} +1 -1
- package/docs/assets/{Modal-C6oHTd9H.js → Modal-Dup6Muk_.js} +1 -1
- package/docs/assets/{Modal.stories-92Xf33XH.js → Modal.stories-BaoTM0GW.js} +1 -1
- package/docs/assets/{ModalDialog-dOgZn33y.js → ModalDialog-DOx_9BEj.js} +1 -1
- package/docs/assets/{ModalDialog.stories-Uc2W8IuG.js → ModalDialog.stories-D8jVrVFf.js} +1 -1
- package/docs/assets/{OutlineItem-DhfqJ-7-.js → OutlineItem-BsB-mMO_.js} +1 -1
- package/docs/assets/{OutlineItem.stories-cw0kKzcp.js → OutlineItem.stories-BWjCGXmh.js} +1 -1
- package/docs/assets/{OverlayHeader-CPMEh6FP.js → OverlayHeader-IVWPOkcc.js} +1 -1
- package/docs/assets/{OverlayHeader.stories-B9z4bc2U.js → OverlayHeader.stories-Bfs3IIBX.js} +1 -1
- package/docs/assets/{Pagination-BozsH7nA.js → Pagination-bDyh9QNI.js} +1 -1
- package/docs/assets/{Pagination.stories-CJ3Ji36t.js → Pagination.stories-UEaZytU1.js} +1 -1
- package/docs/assets/{PopOver-CtUX5GOv.js → PopOver-D3l-RPQg.js} +1 -1
- package/docs/assets/{PopOver.stories-BEx11Hdn.js → PopOver.stories-3vKhXSoG.js} +1 -1
- package/docs/assets/{ProgressBar--hC6PavB.js → ProgressBar-CS0FvbKL.js} +1 -1
- package/docs/assets/{ProgressBar.stories-RHlmumHR.js → ProgressBar.stories-D3hrlw5G.js} +1 -1
- package/docs/assets/{ProgressDonutChart-DeGyrmq6.js → ProgressDonutChart-Ds7o43EP.js} +1 -1
- package/docs/assets/{ProgressDonutChart.stories-rd58SqrJ.js → ProgressDonutChart.stories-D6gMV_Gy.js} +1 -1
- package/docs/assets/{RadioButton-Xhsqu9LZ.js → RadioButton-CPXnEX35.js} +1 -1
- package/docs/assets/{RadioButton.stories-fYfSB3kz.js → RadioButton.stories-BcRXcnlp.js} +1 -1
- package/docs/assets/{RichListItem.stories-V5ssb1ab.js → RichListItem.stories-xEDsV2D_.js} +1 -1
- package/docs/assets/{SectionHeader-Cb_LRj0A.js → SectionHeader-uor_aNAH.js} +1 -1
- package/docs/assets/{SectionHeader.stories-Rr9liyKE.js → SectionHeader.stories-CPacayR1.js} +1 -1
- package/docs/assets/{SelectList.stories-xa5pMHWZ.js → SelectList.stories-B-sk3_IU.js} +1 -1
- package/docs/assets/{SelectListItem-CMEWk56_.js → SelectListItem-CwQPayet.js} +1 -1
- package/docs/assets/{SelectListItem.stories-CZQnbd9E.js → SelectListItem.stories-Czz_7goW.js} +1 -1
- package/docs/assets/{SelectListItemTile-BY_kD2tX.js → SelectListItemTile-BS64oXam.js} +1 -1
- package/docs/assets/{SelectListItemTile.stories-BNpIs1tL.js → SelectListItemTile.stories-B0tSdA5I.js} +1 -1
- package/docs/assets/{SelectListItemToggle-81A27VmN.js → SelectListItemToggle-6Qc40Pdh.js} +1 -1
- package/docs/assets/{SelectListItemToggle.stories-DHeAyW6U.js → SelectListItemToggle.stories-Du5NmLzv.js} +1 -1
- package/docs/assets/{SelectionControl-DBJI2z3t.js → SelectionControl-KJWkMhCz.js} +1 -1
- package/docs/assets/{SelectionTile-M5QhEL1-.js → SelectionTile-DSpUGzPs.js} +2 -2
- package/docs/assets/{SelectionTile.stories-D2AW9_Oc.js → SelectionTile.stories-WMHY5FHJ.js} +1 -1
- package/docs/assets/{SurveyQuestionOpenEnded-uAQcVFpH.js → SurveyQuestionOpenEnded-DP0hAB06.js} +1 -1
- package/docs/assets/{SurveyQuestionOpenEnded.stories-BeVoOnrr.js → SurveyQuestionOpenEnded.stories-Dz2pNxN6.js} +1 -1
- package/docs/assets/{SurveyQuestionScale-DIyyaIsW.js → SurveyQuestionScale-C0UAJdFd.js} +1 -1
- package/docs/assets/{SurveyQuestionScale.stories-CDVs61Et.js → SurveyQuestionScale.stories-BFpl63w3.js} +1 -1
- package/docs/assets/{SurveyToggle-BtVXTA2f.js → SurveyToggle-CUgbE0SL.js} +1 -1
- package/docs/assets/{SurveyToggle.stories-CGl5Hi4F.js → SurveyToggle.stories-DtsK6lka.js} +1 -1
- package/docs/assets/{Switch--1UZ60fL.js → Switch-Dba5kcqg.js} +1 -1
- package/docs/assets/{Switch.stories-B4EBe8Or.js → Switch.stories-DfL5rrfA.js} +1 -1
- package/docs/assets/{TabItem-B12iJLKS.js → TabItem-CapV8hZ1.js} +1 -1
- package/docs/assets/{TabItem.stories-DOya9_i9.js → TabItem.stories-DYTyMD_u.js} +1 -1
- package/docs/assets/{Tile-DysbzGgY.js → Tile-cjoefzuT.js} +1 -1
- package/docs/assets/{Tile.sb.shared-DecgtIfz.js → Tile.sb.shared-Cgo0fG1v.js} +1 -1
- package/docs/assets/{Tile.stories-Tgb-XmMQ.js → Tile.stories-B2oKdkzl.js} +1 -1
- package/docs/assets/{Toast-D729ZPpL.js → Toast-tGyu8Qsr.js} +1 -1
- package/docs/assets/{Toast.stories-BoBNQP7_.js → Toast.stories-BUAwdQVH.js} +1 -1
- package/docs/assets/{ToggleButton-O5xcFrKP.js → ToggleButton-BsVq0wUU.js} +1 -1
- package/docs/assets/{ToggleButton.stories-BChqfrqP.js → ToggleButton.stories-C88JvePy.js} +1 -1
- package/docs/assets/{Tooltip.stories-DgKbnjOD.js → Tooltip.stories-DTS2hkAV.js} +1 -1
- package/docs/assets/{iframe-CJMgMOL3.js → iframe-DJBrrd4-.js} +2 -2
- package/docs/assets/{index-C0CdTAAo.js → index-C_7Ic1-A.js} +1 -1
- package/docs/assets/{index-DIkIRRN2.js → index-nq_4YiNl.js} +1 -1
- package/docs/assets/{preview-Cpupz0H9.js → preview-TdvdvCat.js} +2 -2
- package/docs/assets/{preview-C0zUF_bi.js → preview-hR283N6x.js} +1 -1
- package/docs/assets/{string-It9PaX9k.js → string-CxurpGTK.js} +1 -1
- package/docs/iframe.html +1 -1
- package/docs/project.json +1 -1
- package/lib/js/icons/fontawesome.ts +2 -0
- package/package.json +1 -1
|
@@ -174,6 +174,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
174
174
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
175
175
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
176
176
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
177
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
177
178
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
178
179
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
179
180
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -518,6 +519,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
518
519
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
519
520
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
520
521
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
522
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
521
523
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
522
524
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
523
525
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -1134,6 +1136,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1134
1136
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1135
1137
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1136
1138
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1139
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1137
1140
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1138
1141
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1139
1142
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -1580,6 +1583,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1580
1583
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1581
1584
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1582
1585
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1586
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1583
1587
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1584
1588
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1585
1589
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -1982,6 +1986,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1982
1986
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1983
1987
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1984
1988
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1989
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1985
1990
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1986
1991
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1987
1992
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
package/dist/lib/js/components/SurveyQuestions/SurveyQuestionScale/SurveyQuestionScale.vue.d.ts
CHANGED
|
@@ -193,6 +193,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
193
193
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
194
194
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
195
195
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
196
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
196
197
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
197
198
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
198
199
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -763,6 +764,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
763
764
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
764
765
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
765
766
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
767
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
766
768
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
767
769
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
768
770
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -1209,6 +1211,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1209
1211
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1210
1212
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1211
1213
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1214
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1212
1215
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1213
1216
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1214
1217
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -1787,6 +1790,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1787
1790
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1788
1791
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1789
1792
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1793
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1790
1794
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1791
1795
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1792
1796
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -2147,6 +2151,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2147
2151
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
2148
2152
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
2149
2153
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
2154
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
2150
2155
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
2151
2156
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
2152
2157
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -194,6 +194,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
194
194
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
195
195
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
196
196
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
197
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
197
198
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
198
199
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
199
200
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -154,6 +154,7 @@ export declare const data: () => {
|
|
|
154
154
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
155
155
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
156
156
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
157
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
157
158
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
158
159
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
159
160
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -471,6 +472,7 @@ export declare const components: {
|
|
|
471
472
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
472
473
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
473
474
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
475
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
474
476
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
475
477
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
476
478
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -781,6 +783,7 @@ export declare const components: {
|
|
|
781
783
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
782
784
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
783
785
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
786
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
784
787
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
785
788
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
786
789
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -1267,6 +1270,7 @@ export declare const components: {
|
|
|
1267
1270
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1268
1271
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1269
1272
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1273
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1270
1274
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1271
1275
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1272
1276
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -1713,6 +1717,7 @@ export declare const components: {
|
|
|
1713
1717
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1714
1718
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1715
1719
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1720
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1716
1721
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1717
1722
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
1718
1723
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -215,6 +215,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
215
215
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
216
216
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
217
217
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
218
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
218
219
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
219
220
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
220
221
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -347,6 +347,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
347
347
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
348
348
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
349
349
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
350
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
350
351
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
351
352
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
352
353
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -211,6 +211,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
211
211
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
212
212
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
213
213
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
214
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
214
215
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
215
216
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
216
217
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -142,6 +142,7 @@ export declare const FONTAWESOME_ICONS: {
|
|
|
142
142
|
readonly FA_MEMO_CIRCLE_INFO: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
143
143
|
readonly FA_MEMO_CIRCLE_INFO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
144
144
|
readonly FA_MESSAGE_QUESTION_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
145
|
+
readonly FA_MESSAGE_QUESTION: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
145
146
|
readonly FA_MESSAGE_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
146
147
|
readonly FA_MESSAGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
147
148
|
readonly FA_MINUS: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as r,c as o,k as c,a as i,j as u,n as S,r as p,o as _}from"./vue.esm-bundler-DmkhfO_9.js";import{a as d,I as e,b as m}from"./Icon-
|
|
1
|
+
import{d as r,c as o,k as c,a as i,j as u,n as S,r as p,o as _}from"./vue.esm-bundler-DmkhfO_9.js";import{a as d,I as e,b as m}from"./Icon-BCID_1bx.js";import{C as s}from"./user-_JB5aHqq.js";import{_ as A}from"./_plugin-vue_export-helper-DlAUqK2U.js";const a=r({name:"AccessStatus",components:{Icon:d},props:{status:{type:String,required:!0}},data(){return{ICONS:Object.freeze(e),ICON_SIZES:Object.freeze(m)}},computed:{icon(){return this.status===s.ACTIVE?e.FA_UNLOCK_KEYHOLE:this.status===s.AWAITING?e.FA_HOURGLASS_START:e.FA_LOCK_KEYHOLE},statusClass(){return this.status===s.ACTIVE?"-ds-active":this.status===s.SUSPENDED?"-ds-suspended":""},text(){return this.status===s.ACTIVE?"Aktywny":this.status===s.AWAITING?"Oczekujący":this.status===s.SUSPENDED?"Zawieszony":this.status===s.DEACTIVATED?"Dezaktywowany":"Zakończony"}}}),f={class:"ds-accessStatus__text"};function C(t,I,E,l,N,O){const n=p("icon");return _(),o("div",{class:S(["ds-accessStatus",t.statusClass])},[c(n,{size:t.ICON_SIZES.X_SMALL,icon:t.icon,class:"ds-accessStatus__icon"},null,8,["size","icon"]),i("span",f,u(t.text),1)],2)}const k=A(a,[["render",C],["__scopeId","data-v-e1478a91"]]);a.__docgenInfo={displayName:"AccessStatus",exportName:"default",description:"",tags:{},props:[{name:"status",type:{name:"string"},required:!0}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Statuses/AccessStatus/AccessStatus.vue"]};export{k as A};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{A as r}from"./AccessStatus-
|
|
1
|
+
import{A as r}from"./AccessStatus-Bb89L0n4.js";import{C as o}from"./user-_JB5aHqq.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./Icon-BCID_1bx.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const l={title:"Components/Statuses/AccessStatus",component:r},c=n=>({components:{AccessStatus:r},setup(){return n},template:'<access-status :status="status" />'}),t=c.bind({}),p={status:o.ACTIVE},m={status:{control:"select",options:Object.values(o)}};t.argTypes=m;t.args=p;t.parameters={design:{type:"figma",url:"https://www.figma.com/file/izQdYyiBR1GQgFkaOIfIJI/LMS---DS---Components?node-id=3040%3A70712"}};var s,e,a;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:`args => ({
|
|
2
2
|
components: {
|
|
3
3
|
AccessStatus
|
|
4
4
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as u,I as d,b as s}from"./Icon-
|
|
1
|
+
import{a as u,I as d,b as s}from"./Icon-BCID_1bx.js";import{d as S,t as c,c as f,b as E,g as m,a as n,j as r,n as O,r as p,o}from"./vue.esm-bundler-DmkhfO_9.js";import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";const l={SUCCESS:"success",WARNING:"warning",FAIL:"fail",INVERTED:"inverted",NEUTRAL:"neutral",NEUTRAL_WEAK:"neutral-weak"},a={MEDIUM:"medium",SMALL:"small",XSMALL:"extra small"},t=S({name:"BadgeScore",components:{WnlIcon:u},props:{text:{type:String,required:!0},suffix:{type:String,required:!1,default:null},color:{type:String,required:!0,validator(e){return Object.values(l).includes(e)}},icon:{type:Object,default:null,validator(e){return Object.values(d).includes(c(e))}},size:{type:String,default:a.MEDIUM,validator(e){return Object.values(a).includes(e)}},fullWidth:{type:Boolean,default:!1}},data(){return{ICON_SIZES:Object.freeze(s),BADGE_SCORE_COLORS:Object.freeze(l),BADGE_SCORE_SIZES:Object.freeze(a)}},computed:{iconSize(){return this.size===a.SMALL?s.X_SMALL:this.size===a.XSMALL?s.XXX_SMALL:s.SMALL}}}),A={class:"ds-badgeScore__text"},C={class:"ds-badgeScore__suffix"};function L(e,R,g,B,I,D){const i=p("wnl-icon");return o(),f("div",{class:O(["ds-badgeScore",{"-ds-success":e.color===e.BADGE_SCORE_COLORS.SUCCESS,"-ds-warning":e.color===e.BADGE_SCORE_COLORS.WARNING,"-ds-fail":e.color===e.BADGE_SCORE_COLORS.FAIL,"-ds-inverted":e.color===e.BADGE_SCORE_COLORS.INVERTED,"-ds-neutralWeak":e.color===e.BADGE_SCORE_COLORS.NEUTRAL_WEAK,"-ds-neutral":e.color===e.BADGE_SCORE_COLORS.NEUTRAL,"-ds-small":e.size===e.BADGE_SCORE_SIZES.SMALL,"-ds-xsmall":e.size===e.BADGE_SCORE_SIZES.XSMALL,"-ds-fullWidth":e.fullWidth}])},[e.icon?(o(),E(i,{key:0,class:"ds-badgeScore__icon",icon:e.icon,size:e.iconSize},null,8,["icon","size"])):m("",!0),n("div",A,r(e.text),1),n("span",C,r(e.suffix),1)],2)}const N=_(t,[["render",L],["__scopeId","data-v-90b52384"]]);t.__docgenInfo={displayName:"BadgeScore",exportName:"default",description:"",tags:{},props:[{name:"text",type:{name:"string"},required:!0},{name:"suffix",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"null"}},{name:"color",type:{name:"string"},required:!0},{name:"icon",type:{name:"object"},defaultValue:{func:!1,value:"null"}},{name:"size",type:{name:"string"},defaultValue:{func:!1,value:"BADGE_SCORE_SIZES.MEDIUM"}},{name:"fullWidth",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/BadgeScore/BadgeScore.vue"]};export{N as B,l as a,a as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{B as s,a,b as S}from"./BadgeScore-
|
|
1
|
+
import{B as s,a,b as S}from"./BadgeScore-VoyhoyPu.js";import{I as m}from"./Icon-BCID_1bx.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const B={title:"Components/Badges/BadgeScore",component:s},C=o=>({components:{BadgeScore:s},setup(){return o},template:'<badge-score :color="color" :suffix="suffix" :text="text" :size="size" :icon="ICONS[icon]" :fullWidth="fullWidth" />',data(){return{ICONS:Object.freeze(m)}}}),e=C.bind({});e.args={text:"42",suffix:"%",fullWidth:!1,color:a.SUCCESS,icon:"FA_LIGHTBULB",size:S.MEDIUM};e.argTypes={text:{control:"text"},suffix:{control:"text"},color:{control:"select",options:Object.values(a)},icon:{control:"select",options:[null,...Object.keys(m)]},size:{control:"select",options:Object.values(S)}};e.parameters={design:{type:"figma",url:"https://www.figma.com/file/izQdYyiBR1GQgFkaOIfIJI/LMS---DS---Components?node-id=4348%3A77330"}};const g=o=>({components:{BadgeScore:s},setup(){return o},template:'<badge-score :color="BADGE_SCORE_COLORS.WARNING" suffix="%" text="1" :full-width="fullWidth" />',data(){return{BADGE_SCORE_COLORS:Object.freeze(a)}}}),t=g.bind({});t.args={fullWidth:!1};const r=g.bind({});r.args={fullWidth:!0};var c,i,l;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:`args => ({
|
|
2
2
|
components: {
|
|
3
3
|
BadgeScore
|
|
4
4
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as m,b as E,c as b,B as C,a as v,i as B,I as R}from"./Button-
|
|
1
|
+
import{D as m,b as E,c as b,B as C,a as v,i as B,I as R}from"./Button-TCMWFFTV.js";import{D as U,a as A}from"./Divider-CeZli6az.js";import{a as L,I as p}from"./Icon-BCID_1bx.js";import{I as h}from"./IconButton-BAw3zjHF.js";import{d as y,t as g,c as s,a,n as r,k as l,g as o,j as O,f as u,e as D,r as i,o as t,l as k}from"./vue.esm-bundler-DmkhfO_9.js";import{_ as V}from"./_plugin-vue_export-helper-DlAUqK2U.js";const n={DEFAULT:"default",NEUTRAL:"neutral",INFO:"info",SUCCESS:"success",WARNING:"warning",FAIL:"fail",DANGER:"danger"},c={HORIZONTAL:"horizontal",VERTICAL:"vertical"},T=y({name:"Banner",components:{DsButton:m,DsDivider:U,DsIconButton:h,DsIcon:L},props:{icon:{type:Object,default:null,validator:e=>Object.values(p).includes(g(e))},buttonText:{type:String,default:null},closable:{type:Boolean,default:!1},color:{type:String,default:n.DEFAULT,validator:e=>Object.values(n).includes(e)},title:{type:String,required:!0},layout:{type:String,default:c.HORIZONTAL,validator:e=>Object.values(c).includes(e)},isExpanded:{type:Boolean,default:!1},isIconHiddenOnMobile:{type:Boolean,default:!1}},emits:["button-clicked","close","update:isExpanded"],data(){return{isExpandedInternal:!1,BUTTON_COLORS:Object.freeze(E),BUTTON_RADIUSES:Object.freeze(b),BUTTON_SIZES:Object.freeze(C),BUTTON_TYPES:Object.freeze(v),DIVIDER_PROMINENCES:Object.freeze(A),ICON_BUTTON_COLORS:Object.freeze(B),ICON_BUTTON_SIZES:Object.freeze(R),ICONS:Object.freeze(p)}},computed:{colorClass(){return{[n.NEUTRAL]:"-ds-neutral",[n.DEFAULT]:"-ds-default",[n.FAIL]:"-ds-fail",[n.INFO]:"-ds-info",[n.SUCCESS]:"-ds-success",[n.WARNING]:"-ds-warning",[n.DANGER]:"-ds-danger"}[this.color]},layoutClass(){return this.layout===c.VERTICAL?"-ds-vertical":"-ds-horizontal"}},watch:{isExpanded:{handler(e){e!==this.isExpandedInternal&&(this.isExpandedInternal=e)},immediate:!0}},methods:{toggleExpandedText(){this.isExpandedInternal=!this.isExpandedInternal,this.$emit("update:isExpanded",this.isExpandedInternal)}}}),z={class:"ds-banner"},$={class:"ds-banner__content"},j={class:"ds-banner__header"},x={class:"ds-banner__textWrapper"},F={class:"ds-banner__titleWrapper"},M=["textContent"],Z={key:0,class:"ds-banner__defaultText"},P={class:"ds-banner__rightWrapper"},H={key:0,class:"ds-banner__buttonWrapper"},W={key:1,class:"ds-banner__rightSlot"},w={key:0,class:"ds-banner__expander"},G={key:1,class:"ds-banner__close"},Y={key:0,class:"ds-banner__expandedContainer"},q={class:"ds-banner__expandedText"};function K(e,d,X,J,Q,ee){const N=i("ds-icon"),f=i("ds-button"),_=i("ds-icon-button"),S=i("ds-divider");return t(),s("div",z,[a("div",{class:r(["ds-banner__inner",[e.colorClass,e.layoutClass]])},[a("div",$,[a("div",j,[e.icon?(t(),s("div",{key:0,class:r(["ds-banner__iconContainer",{"-ds-hideOnMobile":e.isIconHiddenOnMobile}])},[l(N,{class:r(["ds-banner__icon",[e.colorClass]]),icon:e.icon},null,8,["class","icon"])],2)):o("",!0),a("div",x,[a("div",F,[a("div",{class:"ds-banner__title",textContent:O(e.title)},null,8,M),e.$slots.defaultText?(t(),s("div",Z,[u(e.$slots,"defaultText",{},void 0,!0)])):o("",!0)]),a("div",P,[e.buttonText?(t(),s("div",H,[l(f,{class:"ds-banner__ctaButton",color:e.BUTTON_COLORS.NEUTRAL,type:e.BUTTON_TYPES.OUTLINED,size:e.BUTTON_SIZES.SMALL,onClick:d[0]||(d[0]=I=>e.$emit("button-clicked"))},{default:D(()=>[k(O(e.buttonText),1)]),_:1},8,["color","type","size"])])):o("",!0),e.$slots.rightSlot?(t(),s("div",W,[u(e.$slots,"rightSlot",{},void 0,!0)])):o("",!0)])])]),e.$slots.expandedText?(t(),s("div",w,[l(_,{size:e.ICON_BUTTON_SIZES.SMALL,icon:e.isExpandedInternal?e.ICONS.FA_CHEVRON_UP:e.ICONS.FA_CHEVRON_DOWN,color:e.ICON_BUTTON_COLORS.NEUTRAL,radius:e.BUTTON_RADIUSES.CAPSULE,touchable:!1,onClick:e.toggleExpandedText},null,8,["size","icon","color","radius","onClick"])])):o("",!0),!e.$slots.expandedText&&e.closable?(t(),s("div",G,[l(_,{size:e.ICON_BUTTON_SIZES.SMALL,icon:e.ICONS.FA_XMARK,color:e.ICON_BUTTON_COLORS.NEUTRAL,radius:e.BUTTON_RADIUSES.CAPSULE,touchable:!1,onClick:d[1]||(d[1]=I=>e.$emit("close"))},null,8,["size","icon","color","radius"])])):o("",!0)]),e.$slots.expandedText&&e.isExpandedInternal?(t(),s("div",Y,[l(S,{prominence:e.DIVIDER_PROMINENCES.STRONG},null,8,["prominence"]),a("div",q,[u(e.$slots,"expandedText",{},void 0,!0)])])):o("",!0)],2)])}const de=V(T,[["render",K],["__scopeId","data-v-bc9b0b1a"]]);T.__docgenInfo={displayName:"Banner",exportName:"default",description:"",tags:{},props:[{name:"icon",type:{name:"object"},defaultValue:{func:!1,value:"null"}},{name:"buttonText",type:{name:"string"},defaultValue:{func:!1,value:"null"}},{name:"closable",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"color",type:{name:"string"},defaultValue:{func:!1,value:"BANNER_COLORS.DEFAULT"}},{name:"title",type:{name:"string"},required:!0},{name:"layout",type:{name:"string"},defaultValue:{func:!1,value:"BANNER_LAYOUTS.HORIZONTAL"}},{name:"isExpanded",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"isIconHiddenOnMobile",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"button-clicked"},{name:"close"},{name:"update:isExpanded",type:{names:["undefined"]}}],slots:[{name:"defaultText"},{name:"rightSlot"},{name:"expandedText"}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Banner/Banner.vue"]};export{de as B,n as a,c as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{B as a,a as l,b as s}from"./Banner-
|
|
1
|
+
import{B as a,a as l,b as s}from"./Banner-DaqGIRps.js";import{I as d}from"./Icon-BCID_1bx.js";import"./Button-TCMWFFTV.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Divider-CeZli6az.js";import"./IconButton-BAw3zjHF.js";import"./device-9fgosCm4.js";const{useArgs:c}=__STORYBOOK_MODULE_PREVIEW_API__,E={title:"Components/Banner",component:a},m=r=>{const[b,i]=c();return{components:{Banner:a},setup(){return r},data(){return{ICONS:Object.freeze(d)}},methods:{onIsExpandedUpdated(p){i({isExpanded:p})}},template:`
|
|
2
2
|
<banner
|
|
3
3
|
:closable="closable"
|
|
4
4
|
:icon="ICONS[icon]"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as y,R as r,c as l,b as u,a as t,d as v,e as d,f as b}from"./GroupRichListItem-
|
|
1
|
+
import{i as y,R as r,c as l,b as u,a as t,d as v,e as d,f as b}from"./GroupRichListItem-BvMN1U8t.js";import{D as T,T as p,c as n}from"./TextGroup-D5le3QVY.js";import{d as S,t as g,b as E,h as L,e as s,n as R,r as f,o as C,f as i,a as h,k as O}from"./vue.esm-bundler-DmkhfO_9.js";import{I as _,c as D}from"./Icon-BCID_1bx.js";import{_ as M}from"./_plugin-vue_export-helper-DlAUqK2U.js";const m=S({name:"BasicRichListItem",components:{DsTextGroup:T,RichListItem:y},props:{type:{type:String,default:r.DEFAULT,validator(e){return Object.values(r).includes(e)}},state:{type:String,default:l.DEFAULT,validator(e){return Object.values(l).includes(e)}},layout:{type:String,default:u.HORIZONTAL,validator(e){return Object.values(u).includes(e)}},size:{type:String,default:t.MEDIUM,validator(e){return Object.values(t).includes(e)}},isInteractive:{type:Boolean,default:!0},isDimmed:{type:Boolean,default:!1},isDraggable:{type:Boolean,default:!0},icon:{type:Object,default:null,validator(e){return Object.values(_).includes(g(e))}},iconColor:{type:String,default:null,validator(e){return Object.values(D).includes(e)}},iconColorHex:{type:String,default:null},borderColor:{type:String,default:null,validator(e){return Object.values(v).includes(e)}},borderColorHex:{type:String,default:null},text:{type:String,required:!0},textEllipsis:{type:Boolean,default:!1},eyebrow:{type:String,default:null},eyebrowEllipsis:{type:Boolean,default:!1},isEyebrowUppercase:{type:Boolean,default:!1},supportingText:{type:String,default:null},supportingTextEllipsis:{type:Boolean,default:!1},isSupportingTextTooltipEnabled:{type:Boolean,default:!1},backgroundColor:{type:String,default:d.NEUTRAL,validator(e){return Object.values(d).includes(e)}},elevation:{type:String,default:null,validator(e){return Object.values(b).includes(e)}},hasDraggableHandler:{type:Boolean,default:!0},hasActionsSlotDivider:{type:Boolean,default:!0},isSelectable:{type:Boolean,default:!0},isSelected:{type:Boolean,default:!1}},emits:{"update:is-selected":e=>!0},data(){return{hovered:!1,RICH_LIST_ITEM_SIZE:Object.freeze(t),RICH_LIST_ITEM_STATE:Object.freeze(l)}},computed:{textGroupSize(){return{[t.SMALL]:p.SMALL,[t.MEDIUM]:p.MEDIUM}[this.size]},textGroupState(){return this.state===l.LOADING?n.LOADING:this.hovered&&this.isInteractive?n.HOVERED:n.DEFAULT}}}),V={class:"ds-basicRichListItem__content"};function A(e,a,H,B,U,w){const c=f("ds-text-group"),I=f("rich-list-item");return C(),E(I,{size:e.size,type:e.type,layout:e.layout,"is-interactive":e.isInteractive,"is-draggable":e.isDraggable,icon:e.icon,"icon-color":e.iconColor,"icon-color-hex":e.iconColorHex,"is-dimmed":e.isDimmed,"border-color":e.borderColor,"border-color-hex":e.borderColorHex,state:e.state,"background-color":e.backgroundColor,elevation:e.elevation,"has-draggable-handler":e.hasDraggableHandler,"has-actions-slot-divider":e.hasActionsSlotDivider,"is-selectable":e.isSelectable,"is-selected":e.isSelected,class:R(["ds-basicRichListItem",{"-ds-loading":e.state===e.RICH_LIST_ITEM_STATE.LOADING,"-ds-small":e.size===e.RICH_LIST_ITEM_SIZE.SMALL}]),onMouseover:a[0]||(a[0]=o=>e.hovered=!0),onMouseleave:a[1]||(a[1]=o=>e.hovered=!1),"onUpdate:isSelected":a[2]||(a[2]=o=>e.$emit("update:is-selected",o))},L({content:s(()=>[h("div",V,[O(c,{"eyebrow-text":e.eyebrow,"eyebrow-text-ellipsis":e.eyebrowEllipsis,"is-eyebrow-text-uppercase":e.isEyebrowUppercase,"is-selected":e.isSelected,"is-interactive":!1,"main-text":e.text,"main-text-ellipsis":e.textEllipsis,"supporting-text":e.supportingText,"supporting-text-ellipsis":e.supportingTextEllipsis,size:e.textGroupSize,state:e.textGroupState,"is-supporting-text-tooltip-enabled":e.isSupportingTextTooltipEnabled},null,8,["eyebrow-text","eyebrow-text-ellipsis","is-eyebrow-text-uppercase","is-selected","main-text","main-text-ellipsis","supporting-text","supporting-text-ellipsis","size","state","is-supporting-text-tooltip-enabled"])])]),_:2},[e.$slots.media?{name:"media",fn:s(()=>[i(e.$slots,"media",{},void 0,!0)]),key:"0"}:void 0,e.$slots.metadata?{name:"metadata",fn:s(()=>[i(e.$slots,"metadata",{},void 0,!0)]),key:"1"}:void 0,e.$slots.actions?{name:"actions",fn:s(()=>[i(e.$slots,"actions",{},void 0,!0)]),key:"2"}:void 0]),1032,["size","type","layout","is-interactive","is-draggable","icon","icon-color","icon-color-hex","is-dimmed","border-color","border-color-hex","state","background-color","elevation","has-draggable-handler","has-actions-slot-divider","is-selectable","is-selected","class"])}const G=M(m,[["render",A],["__scopeId","data-v-d64ae189"]]);m.__docgenInfo={displayName:"BasicRichListItem",exportName:"default",description:"",tags:{},props:[{name:"type",type:{name:"RichListItemType"},defaultValue:{func:!1,value:"RICH_LIST_ITEM_TYPE.DEFAULT"}},{name:"state",type:{name:"RichListItemState"},defaultValue:{func:!1,value:"RICH_LIST_ITEM_STATE.DEFAULT"}},{name:"layout",type:{name:"RichListItemLayout"},defaultValue:{func:!1,value:"RICH_LIST_ITEM_LAYOUT.HORIZONTAL"}},{name:"size",type:{name:"RichListItemSize"},defaultValue:{func:!1,value:"RICH_LIST_ITEM_SIZE.MEDIUM"}},{name:"isInteractive",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}},{name:"isDimmed",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"isDraggable",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}},{name:"icon",type:{name:"IconItem"},defaultValue:{func:!1,value:"null"}},{name:"iconColor",type:{name:"IconColor"},defaultValue:{func:!1,value:"null"}},{name:"iconColorHex",type:{name:"string"},defaultValue:{func:!1,value:"null"}},{name:"borderColor",type:{name:"RichListItemBorderColor"},defaultValue:{func:!1,value:"null"}},{name:"borderColorHex",type:{name:"string"},defaultValue:{func:!1,value:"null"}},{name:"text",type:{name:"string"},required:!0},{name:"textEllipsis",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"eyebrow",type:{name:"string"},defaultValue:{func:!1,value:"null"}},{name:"eyebrowEllipsis",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"isEyebrowUppercase",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"supportingText",type:{name:"string"},defaultValue:{func:!1,value:"null"}},{name:"supportingTextEllipsis",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"isSupportingTextTooltipEnabled",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"backgroundColor",type:{name:"RichListItemBackgroundColor"},defaultValue:{func:!1,value:"RICH_LIST_ITEM_BACKGROUND_COLOR.NEUTRAL"}},{name:"elevation",type:{name:"RichListItemElevation"},defaultValue:{func:!1,value:"null"}},{name:"hasDraggableHandler",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}},{name:"hasActionsSlotDivider",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}},{name:"isSelectable",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}},{name:"isSelected",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"update:is-selected"}],slots:[{name:"media"},{name:"metadata"},{name:"actions"}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/RichList/BasicRichListItem/BasicRichListItem.vue"]};export{G as B};
|
package/docs/assets/{BasicRichListItem.stories-CnXil0XY.js → BasicRichListItem.stories-CJLLsCH2.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{B as l}from"./BasicRichListItem-
|
|
1
|
+
import{B as l}from"./BasicRichListItem-C2lY5QHc.js";import{R as p,a as n,b as c,c as m,d as h,e as d,f as C}from"./GroupRichListItem-BvMN1U8t.js";import{c as T,I as a}from"./Icon-BCID_1bx.js";import"./Avatar-OqeGv3bT.js";import"./BadgeScore-VoyhoyPu.js";import"./Banner-DaqGIRps.js";import"./Button-TCMWFFTV.js";import"./ToggleButton-BsVq0wUU.js";import"./Card-BzXb8FVb.js";import"./CardExpandable-U3c3_RFR.js";import"./DatePicker-CcKDLhxp.js";import"./DateRangePicker-laHPjs-v.js";import"./Divider-CeZli6az.js";import"./FeatureIcon-DEdW5Abw.js";import"./IconButton-BAw3zjHF.js";import"./string-CxurpGTK.js";import"./Modal-Dup6Muk_.js";import"./ModalDialog-DOx_9BEj.js";import"./NumberInCircle-CYZFaZ00.js";import"./TabItem-CapV8hZ1.js";import"./Tile-cjoefzuT.js";import"./Toast-tGyu8Qsr.js";import"./AccessStatus-Bb89L0n4.js";import"./BlockadeStatus-BovI8qdo.js";import"./SurveyToggle-CUgbE0SL.js";import"./SurveyQuestionScale-C0UAJdFd.js";import"./SurveyQuestionOpenEnded-DP0hAB06.js";import"./SectionHeader-uor_aNAH.js";import"./PageHeader-C5oCP3S2.js";import"./SectionTitle-BQZh7aFs.js";import"./Drawer-BAhS1Aex.js";import"./DrawerContent-BC_l9IKr.js";import"./DrawerDivider-DuTuIbLz.js";import"./DrawerHeader-BUFtT2yY.js";import"./DrawerListItem-BruVct4m.js";import"./DrawerListItemGroup-BTfrsZ_p.js";import"./DrawerTile-C4SUdovI.js";import"./DrawerSection-CGE0Z89z.js";import"./OutlineItem-BsB-mMO_.js";import"./OutlineDivider-DItdz99b.js";import"./OutlineSectionHeader-CtypBCqR.js";import"./Chip-CTSLlUHr.js";import"./CounterToggle-BVPp4FeG.js";import"./SelectList-T6eJOYPv.js";import"./SelectListItem-CwQPayet.js";import"./SelectListItemDivider-CTuILyj9.js";import"./SelectListItemToggle-6Qc40Pdh.js";import"./SelectListItemTile-BS64oXam.js";import"./SelectListSectionTitle-BOCjrVHo.js";import"./SelectionTile-DSpUGzPs.js";import"./LoadingBar-C1yAImWt.js";import"./PopOver-D3l-RPQg.js";import"./Dropdown-B75bqkCY.js";import"./ProgressBar-CS0FvbKL.js";import"./ProgressDonutChart-Ds7o43EP.js";import"./IconText-832pwWI9.js";import"./Pagination-bDyh9QNI.js";import"./OverlayHeader-IVWPOkcc.js";import"./Well-Chn1RK_x.js";import"./ThreeColumnLayout-CFf8NRwP.js";import"./Switch-Dba5kcqg.js";import"./TextGroup-D5le3QVY.js";import"./Tooltip-DB8acOEc.js";import{I as E}from"./Image-B9jnhF_n.js";import"./Skeleton-DMxKKJ0Z.js";import{w as O}from"./decorator-CSnIf-k5.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Checkbox-Bsa7X8oN.js";import"./SelectionControl-KJWkMhCz.js";import"./iframe-DJBrrd4-.js";import"../sb-preview/runtime.js";import"./device-9fgosCm4.js";import"./user-_JB5aHqq.js";import"./vue-popper-DQfdblyw.js";import"./_commonjsHelpers-Chg3vePA.js";import"./v4-BZawosSj.js";const{useArgs:y}=__STORYBOOK_MODULE_PREVIEW_API__,Je={title:"Components/RichList/BasicRichListItem",component:l,decorators:[e=>({components:{story:e},template:"<div style='display: flex;padding: 16px;'><story /></div>"}),O]},v=(e,i={})=>(e.argTypes={type:{options:Object.values(p),control:"select"},size:{options:Object.values(n),control:"select"},layout:{options:Object.values(c),control:{type:"select"}},state:{options:Object.values(m),control:"select"},iconColor:{options:[null,...Object.values(T)],control:"select"},borderColor:{options:[null,...Object.values(h)],control:"select"},icon:{options:[null,...Object.keys(a)],control:"select"},iconColorHex:{control:"text"},borderColorHex:{control:"text"},eyebrow:{control:"text"},eyebrowEllipsis:{control:"boolean"},isEyebrowUppercase:{control:"boolean"},text:{control:"text"},textEllipsis:{control:"boolean"},supportingText:{control:"text"},supportingTextEllipsis:{control:"boolean"},isSupportingTextTooltipEnabled:{control:"boolean"},metadata:{control:"text"},actions:{control:"text"},draggableIconClassName:{control:"text"},backgroundColor:{options:[null,...Object.values(d)],control:"select"},elevation:{options:[null,...Object.values(C)],control:"select"}},e.args={size:n.MEDIUM,type:p.DEFAULT,layout:c.HORIZONTAL,backgroundColor:d.NEUTRAL,elevation:null,isDimmed:!1,isDraggable:!0,hasDraggableHandler:!0,icon:null,iconColor:null,iconColorHex:"",hasActionsSlotDivider:!0,isSelectable:!0,isSelected:!0,borderColor:null,borderColorHex:"",state:m.DEFAULT,isInteractive:!0,draggableIconClassName:"draggableIconClassName-1",eyebrow:"Eyebrow Uppercase",eyebrowEllipsis:!1,isEyebrowUppercase:!1,text:"Długa nazwa gdy się nie mieści Praesentium dicta sit. Molestiae unde voluptatem eaque labore.",textEllipsis:!1,supportingText:"null",supportingTextEllipsis:!1,isSupportingTextTooltipEnabled:!1,metadata:"Metadata Slot",actions:"ACS",...i},e.parameters={actions:{handles:["icon-click","click","update:is-selected"]},layout:"fullscreen",design:{type:"figma",url:"https://www.figma.com/file/izQdYyiBR1GQgFkaOIfIJI/LMS---DS-Components?type=design&node-id=8673-2345&mode=design&t=QeEz8TmzxDbrGYK3-4"}},e),w=e=>{const[i,r]=y();return{components:{BasicRichListItem:l},setup(){return e},data(){return{ICONS:Object.freeze(a)}},methods:{updateIsSelected(s){r({isSelected:s})}},template:`
|
|
2
2
|
<basic-rich-list-item
|
|
3
3
|
:size="size"
|
|
4
4
|
:type="type"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as n,c as r,k as c,a as i,j as u,n as d,r as p,o as l}from"./vue.esm-bundler-DmkhfO_9.js";import{a as _,I as t,b as m}from"./Icon-
|
|
1
|
+
import{d as n,c as r,k as c,a as i,j as u,n as d,r as p,o as l}from"./vue.esm-bundler-DmkhfO_9.js";import{a as _,I as t,b as m}from"./Icon-BCID_1bx.js";import{a as e}from"./user-_JB5aHqq.js";import{_ as S}from"./_plugin-vue_export-helper-DlAUqK2U.js";const a=n({name:"BlockadeStatus",components:{Icon:_},props:{status:{type:String,required:!0}},data(){return{ICONS:Object.freeze(t),ICON_SIZES:Object.freeze(m)}},computed:{icon(){return this.status===e.ACTIVE?t.FA_LOCK_KEYHOLE:t.FA_UNLOCK_KEYHOLE},statusClass(){return this.status===e.ACTIVE?"-ds-active":""},text(){return this.status===e.ACTIVE?"Blokada dostępu":"Blokada zakończona"}}}),C={class:"ds-blockadeStatus__text"};function f(s,k,I,E,O,B){const o=p("icon");return l(),r("div",{class:d(["ds-blockadeStatus",s.statusClass])},[c(o,{size:s.ICON_SIZES.X_SMALL,icon:s.icon,class:"ds-blockadeStatus__icon"},null,8,["size","icon"]),i("span",C,u(s.text),1)],2)}const z=S(a,[["render",f],["__scopeId","data-v-a48935bf"]]);a.__docgenInfo={displayName:"BlockadeStatus",exportName:"default",description:"",tags:{},props:[{name:"status",type:{name:"string"},required:!0}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Statuses/BlockadeStatus/BlockadeStatus.vue"]};export{z as B};
|
package/docs/assets/{BlockedeStatus.stories-ds5jeZmH.js → BlockedeStatus.stories-CZqKhsVe.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{B as o}from"./BlockadeStatus-
|
|
1
|
+
import{B as o}from"./BlockadeStatus-BovI8qdo.js";import{a as r}from"./user-_JB5aHqq.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./Icon-BCID_1bx.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const g={title:"Components/Statuses/BlockadeStatus",component:o},c=n=>({components:{BlockadeStatus:o},setup(){return n},template:'<blockade-status :status="status" />'}),t=c.bind({}),p={status:r.ACTIVE},m={status:{control:"select",options:Object.values(r)}};t.argTypes=m;t.args=p;t.parameters={design:{type:"figma",url:"https://www.figma.com/file/izQdYyiBR1GQgFkaOIfIJI/LMS---DS---Components?node-id=3040%3A70712"}};var s,e,a;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:`args => ({
|
|
2
2
|
components: {
|
|
3
3
|
BlockadeStatus
|
|
4
4
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as L,I as o,b as a}from"./Icon-
|
|
1
|
+
import{a as L,I as o,b as a}from"./Icon-BCID_1bx.js";import{d as c,t as E,c as N,a as I,b as i,g as r,f,n as A,r as m,o as t}from"./vue.esm-bundler-DmkhfO_9.js";import{_ as U}from"./_plugin-vue_export-helper-DlAUqK2U.js";const s={SMALL:"small",MEDIUM:"medium",LARGE:"large"},n={FILLED:"filled",OUTLINED:"outlined",TEXT:"text"},T={PRIMARY:"primary",NEUTRAL:"neutral",DANGER:"danger",SUCCESS:"success",INVERTED:"inverted"},u={CAPSULE:"capsule",ROUNDED:"rounded"},S={DEFAULT:"default",HOVERED:"hovered",FOCUSED:"focused",DISABLED:"disabled",LOADING:"loading"},d={NONE:"none",X_SMALL:"x-small",SMALL:"small"},z={XX_SMALL:"xx-small",X_SMALL:"x-small",SMALL:"small",MEDIUM:"medium",LARGE:"large"},j={ICON_ONLY:"icon-only",OUTLINED:n.OUTLINED,FILLED:n.FILLED},V={ALL_IN_COLOR:"all-in-color",NEUTRAL_LABEL:"neutral-label"},D={PRIMARY:"primary",NEUTRAL:"neutral",NEUTRAL_WEAK:"neutral-weak",FAIL:"fail",DANGER:"danger",SUCCESS:"success",INVERTED:"inverted",WARNING:"warning",INFO:"info"},h={DEFAULT:"default",HOVERED:"hovered",FOCUSED:"focused",DISABLED:"disabled",LOADING:"loading"},O=c({name:"Button",components:{WnlIcon:L},props:{size:{type:String,default:s.MEDIUM,validator(e){return Object.values(s).includes(e)}},type:{type:String,default:n.FILLED,validator(e){return Object.values(n).includes(e)}},color:{type:String,default:T.PRIMARY,validator(e){return Object.values(D).includes(e)}},radius:{type:String,default:u.CAPSULE,validator(e){return Object.values(u).includes(e)}},state:{type:String,default:S.DEFAULT,validator(e){return Object.values(S).includes(e)}},iconLeft:{type:Object,default:null,validator(e){return Object.values(o).includes(E(e))}},iconRight:{type:Object,default:null,validator(e){return Object.values(o).includes(E(e))}},elevation:{type:String,default:d.NONE,validator(e){return Object.values(d).includes(e)}}},data(){return{ICONS:Object.freeze(o),ICON_SIZES:Object.freeze(a),BUTTON_TYPES:Object.freeze(n),COLORS:Object.freeze(T),RADIUSES:Object.freeze(u),SIZES:Object.freeze(s),STATES:Object.freeze(S),ELEVATIONS:Object.freeze(d)}},computed:{iconSize(){return this.size===this.SIZES.SMALL||this.size===this.SIZES.MEDIUM?a.XX_SMALL:a.X_SMALL},colorClassName(){return`-ds-color-${this.color}`},loadingIconSize(){return this.size===s.LARGE?a.MEDIUM:this.size===s.SMALL?a.X_SMALL:a.SMALL}}}),p={class:"ds-button__content"};function R(e,v,B,g,C,b){const l=m("wnl-icon");return t(),N("span",{class:A(["ds-button",{"-ds-outlined":e.type===e.BUTTON_TYPES.OUTLINED,"-ds-text":e.type===e.BUTTON_TYPES.TEXT,"-ds-small":e.size===e.SIZES.SMALL,"-ds-large":e.size===e.SIZES.LARGE,"-ds-rounded":e.type!==e.BUTTON_TYPES.TEXT&&e.radius===e.RADIUSES.ROUNDED,"-ds-hovered":e.state===e.STATES.HOVERED,"-ds-focused":e.state===e.STATES.FOCUSED,"-ds-loading":e.state===e.STATES.LOADING,"-ds-disabled":e.state===e.STATES.DISABLED,[e.colorClassName]:!0,"-ds-elevation-x-small":e.elevation===e.ELEVATIONS.X_SMALL,"-ds-elevation-small":e.elevation===e.ELEVATIONS.SMALL}])},[I("span",p,[e.iconLeft?(t(),i(l,{key:0,class:"ds-button__icon -ds-left",icon:e.iconLeft,size:e.iconSize},null,8,["icon","size"])):r("",!0),f(e.$slots,"default"),e.iconRight?(t(),i(l,{key:1,class:"ds-button__icon -ds-right",icon:e.iconRight,size:e.iconSize},null,8,["icon","size"])):r("",!0)]),e.state===e.STATES.LOADING?(t(),i(l,{key:0,class:"ds-button__loadingIcon",icon:e.ICONS.FAD_SPINNER_THIRD,size:e.loadingIconSize},null,8,["icon","size"])):r("",!0)],2)}const F=U(O,[["render",R]]);O.__docgenInfo={displayName:"Button",exportName:"default",description:"",tags:{},props:[{name:"size",type:{name:"string"},defaultValue:{func:!1,value:"BUTTON_SIZES.MEDIUM"}},{name:"type",type:{name:"string"},defaultValue:{func:!1,value:"BUTTON_TYPES.FILLED"}},{name:"color",type:{name:"string"},defaultValue:{func:!1,value:"BUTTON_COLORS.PRIMARY"}},{name:"radius",type:{name:"string"},defaultValue:{func:!1,value:"BUTTON_RADIUSES.CAPSULE"}},{name:"state",type:{name:"string"},defaultValue:{func:!1,value:"BUTTON_STATES.DEFAULT"}},{name:"iconLeft",type:{name:"object"},defaultValue:{func:!1,value:"null"}},{name:"iconRight",type:{name:"object"},defaultValue:{func:!1,value:"null"}},{name:"elevation",type:{name:"string"},defaultValue:{func:!1,value:"BUTTON_ELEVATIONS.NONE"}}],slots:[{name:"default"}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Buttons/Button/Button.vue"]};export{s as B,F as D,z as I,n as a,T as b,u as c,S as d,d as e,j as f,V as g,h,D as i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{D as r,B as i,a as c,b as a,c as l,d as p,e as u}from"./Button-
|
|
1
|
+
import{D as r,B as i,a as c,b as a,c as l,d as p,e as u}from"./Button-TCMWFFTV.js";import{I as e}from"./Icon-BCID_1bx.js";import{w as O}from"./decorator-CSnIf-k5.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./v4-BZawosSj.js";const E={title:"Components/Buttons/Button",component:r,decorators:[O]},m=d=>({components:{Button:r},setup(){return d},template:`
|
|
2
2
|
<div :class="{ contrastBackground: isInverted }">
|
|
3
3
|
<Button
|
|
4
4
|
:size="size"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as u,b as c,h as f,e as a,r as s,o as t,a as r,j as m,k as x,f as n,c as E,g as C}from"./vue.esm-bundler-DmkhfO_9.js";import{C as h}from"./Card-BzXb8FVb.js";import{a as b,I,b as v}from"./Icon-
|
|
1
|
+
import{d as u,b as c,h as f,e as a,r as s,o as t,a as r,j as m,k as x,f as n,c as E,g as C}from"./vue.esm-bundler-DmkhfO_9.js";import{C as h}from"./Card-BzXb8FVb.js";import{a as b,I,b as v}from"./Icon-BCID_1bx.js";import{_ as y}from"./_plugin-vue_export-helper-DlAUqK2U.js";const o=u({name:"CardExpandable",components:{DsCard:h,DsIcon:b},props:{isExpanded:{type:Boolean,default:!1},isExpanderVisible:{type:Boolean,default:!0},expanderTextCollapsed:{type:String,default:"Rozwiń"},expanderTextExpanded:{type:String,default:"Zwiń"},headerHasPadding:{type:Boolean,default:!1},dividerUnderHeader:{type:Boolean,default:!1}},emits:{"update:isExpanded":e=>!0},data(){return{isExpandedInternal:!1,ICONS:Object.freeze(I),ICON_SIZES:Object.freeze(v)}},computed:{chevronRotation(){return this.isExpandedInternal?180:null}},watch:{isExpanded:{handler(e){e!==this.isExpandedInternal&&(this.isExpandedInternal=e)},immediate:!0}},methods:{onExpanderClick(){this.isExpandedInternal=!this.isExpandedInternal,this.$emit("update:isExpanded",this.isExpandedInternal)}}}),_={key:0,class:"ds-cardExpandable__expandedContent"},g={class:"ds-cardExpandable__expanderLabel"};function S(e,d,N,V,k,O){const i=s("ds-icon"),l=s("ds-card");return t(),c(l,{class:"ds-cardExpandable","header-has-padding":e.headerHasPadding,"divider-under-header":e.dividerUnderHeader},f({header:a(()=>[n(e.$slots,"header",{},void 0,!0)]),content:a(()=>[n(e.$slots,"content",{isExpanded:e.isExpandedInternal},void 0,!0),e.isExpandedInternal?(t(),E("div",_,[n(e.$slots,"expandedContent",{},void 0,!0)])):C("",!0)]),_:2},[e.isExpanderVisible?{name:"footer",fn:a(()=>[r("div",{class:"ds-cardExpandable__expander",onClick:d[0]||(d[0]=(...p)=>e.onExpanderClick&&e.onExpanderClick(...p))},[r("span",g,m(e.isExpandedInternal?e.expanderTextExpanded:e.expanderTextCollapsed),1),x(i,{class:"ds-cardExpandable__expanderIcon",icon:e.ICONS.FA_CHEVRON_DOWN,rotation:e.chevronRotation,size:e.ICON_SIZES.X_SMALL},null,8,["icon","rotation","size"])])]),key:"0"}:void 0]),1032,["header-has-padding","divider-under-header"])}const z=y(o,[["render",S],["__scopeId","data-v-762d08c5"]]);o.__docgenInfo={displayName:"CardExpandable",exportName:"default",description:"",tags:{},props:[{name:"isExpanded",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"isExpanderVisible",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}},{name:"expanderTextCollapsed",type:{name:"string"},defaultValue:{func:!1,value:"'Rozwiń'"}},{name:"expanderTextExpanded",type:{name:"string"},defaultValue:{func:!1,value:"'Zwiń'"}},{name:"headerHasPadding",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"dividerUnderHeader",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"update:isExpanded",type:{names:["undefined"]}}],slots:[{name:"header"},{name:"content",scoped:!0,bindings:[{name:"is-expanded",title:"binding"}]},{name:"expandedContent"}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Cards/CardExpandable/CardExpandable.vue"]};export{z as C};
|
package/docs/assets/{CardExpandable.stories-Dw5ytiF1.js → CardExpandable.stories-CJJrRvWG.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{C as t}from"./CardExpandable-
|
|
1
|
+
import{C as t}from"./CardExpandable-U3c3_RFR.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./Card-BzXb8FVb.js";import"./Divider-CeZli6az.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./LoadingBar-C1yAImWt.js";import"./Icon-BCID_1bx.js";const E={title:"Components/Cards/CardExpandable",component:t},p=r=>({components:{CardExpandable:t},setup(){return r},template:`
|
|
2
2
|
<card-expandable :is-expander-visible="isExpanderVisible" :expander-text-collapsed="expanderTextCollapsed"
|
|
3
3
|
:expander-text-expanded="expanderTextExpanded" :is-expanded="isExpanded"
|
|
4
4
|
:header-has-padding="headerHasPadding" :divider-under-header="dividerUnderHeader">
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as u,b as i,r,o as c}from"./vue.esm-bundler-DmkhfO_9.js";import{S as p,a as d,b as f,c as C}from"./SelectionControl-
|
|
1
|
+
import{d as u,b as i,r,o as c}from"./vue.esm-bundler-DmkhfO_9.js";import{S as p,a as d,b as f,c as C}from"./SelectionControl-KJWkMhCz.js";import{I as m}from"./Icon-BCID_1bx.js";import{_ as S}from"./_plugin-vue_export-helper-DlAUqK2U.js";const s={...p},o={...d},a=u({name:"Checkbox",components:{SelectionControl:f},props:{size:{type:String,default:s.SMALL,validator(e){return Object.values(s).includes(e)}},label:{type:String,default:null},isSelected:{type:Boolean,default:!1},state:{type:String,default:o.DEFAULT,validator(e){return Object.values(o).includes(e)}}},emits:["update:is-selected","input:focus","input:blur"],data(){return{SELECTION_CONTROL_TYPE:Object.freeze(C),ICONS:Object.freeze(m)}}});function O(e,t,E,T,_,I){const l=r("selection-control");return c(),i(l,{size:e.size,label:e.label,"is-selected":e.isSelected,"selected-icon":e.ICONS.FA_SQUARE_CHECK_SOLID,"not-selected-icon":e.ICONS.FA_SQUARE,state:e.state,type:e.SELECTION_CONTROL_TYPE.CHECKBOX,"onUpdate:isSelected":t[0]||(t[0]=n=>e.$emit("update:is-selected",n)),"onInput:focus":t[1]||(t[1]=n=>e.$emit("input:focus")),"onInput:blur":t[2]||(t[2]=n=>e.$emit("input:blur"))},null,8,["size","label","is-selected","selected-icon","not-selected-icon","state","type"])}const b=S(a,[["render",O]]);a.__docgenInfo={displayName:"Checkbox",exportName:"default",description:"",tags:{},props:[{name:"size",type:{name:"CheckboxSize"},defaultValue:{func:!1,value:"CHECKBOX_SIZE.SMALL"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"null"}},{name:"isSelected",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"state",type:{name:"CheckboxState"},defaultValue:{func:!1,value:"CHECKBOX_STATE.DEFAULT"}}],events:[{name:"update:is-selected"},{name:"input:focus"},{name:"input:blur"}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Form/Checkbox/Checkbox.vue"]};const k=Object.freeze(Object.defineProperty({__proto__:null,default:b},Symbol.toStringTag,{value:"Module"}));export{o as C,b as D,s as a,k as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{D as r,C as n,a}from"./Checkbox-
|
|
1
|
+
import{D as r,C as n,a}from"./Checkbox-Bsa7X8oN.js";import{a as i,b as d,t as g}from"./SelectionControl.sb.shared-BWifjoMU.js";import{w as l}from"./decorator-CSnIf-k5.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./SelectionControl-KJWkMhCz.js";import"./Icon-BCID_1bx.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./v4-BZawosSj.js";const{useArgs:u}=__STORYBOOK_MODULE_PREVIEW_API__,E={title:"Components/Form/Checkbox",component:r,decorators:[l]},_=p=>{const[h,c]=u();return{components:{Checkbox:r},setup(){return{args:p}},methods:{onIsSelectedUpdated(m){c({isSelected:m})}},template:g("checkbox")}},e=_.bind({});e.argTypes=i(a,n);e.args=d(a,n);e.parameters={actions:{handles:["click","toggle"]},design:{type:"figma",url:"https://www.figma.com/file/izQdYyiBR1GQgFkaOIfIJI/LMS---DS-Components?type=design&node-id=1552-34962&t=Ui6dF84wekRpqsXb-0"}};var t,s,o;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`args => {
|
|
2
2
|
const [_, updateArgs] = useArgs();
|
|
3
3
|
return {
|
|
4
4
|
components: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{I as p}from"./IconButton-
|
|
1
|
+
import{I as p}from"./IconButton-BAw3zjHF.js";import{i as a,e as m,h as A,I as C}from"./Button-TCMWFFTV.js";import{a as E,I as i,b as N}from"./Icon-BCID_1bx.js";import{d as O,t as T,c as u,f as L,g as S,a as _,j as R,b,n as U,s as v,r as c,o,k as y}from"./vue.esm-bundler-DmkhfO_9.js";import{_ as P}from"./_plugin-vue_export-helper-DlAUqK2U.js";const t={X_SMALL:"x-small",SMALL:"small"},s={PRIMARY:"primary",PRIMARY_STRONG:"primaryStrong",NEUTRAL:"neutral",FAIL:"fail",DANGER:"danger",SUCCESS:"success",INVERTED:"inverted",WARNING:"warning",INFO:"info"},l={DEFAULT:"default",DISABLED:"disabled"},n={CAPSULE:"capsule",ROUNDED:"rounded"},D={[s.INVERTED]:a.PRIMARY,[s.NEUTRAL]:a.NEUTRAL,[s.PRIMARY]:a.PRIMARY,[s.PRIMARY_STRONG]:a.PRIMARY,[s.FAIL]:a.FAIL,[s.DANGER]:a.DANGER,[s.WARNING]:a.WARNING,[s.SUCCESS]:a.SUCCESS,[s.INFO]:a.INFO},I=O({name:"Chip",components:{Icon:E,IconButton:p},props:{label:{type:String,required:!0},isLabelUppercase:{type:Boolean,default:!1},leftIcon:{type:Object,default:null,validator(e){return Object.values(i).includes(T(e))}},radius:{type:String,default:n.CAPSULE,validator(e){return Object.values(n).includes(e)}},size:{type:String,default:t.SMALL,validator(e){return Object.values(t).includes(e)}},color:{type:String,default:s.NEUTRAL,validator(e){return Object.values(s).includes(e)}},colorHex:{type:String,default:null},state:{type:String,default:l.DEFAULT,validator(e){return Object.values(l).includes(e)}},isRemovable:{type:Boolean,default:!1}},emits:["remove"],data(){return{ICONS:Object.freeze(i),BUTTON_ELEVATIONS:Object.freeze(m),ICON_BUTTON_STATES:Object.freeze(A),ICON_BUTTON_SIZES:Object.freeze(C),ICON_SIZES:Object.freeze(N),CHIP_SIZES:Object.freeze(t),CHIP_STATES:Object.freeze(l),CHIP_RADIUSES:Object.freeze(n)}},computed:{colorClassName(){return this.colorHex?"-ds-color-invertedHex":`-ds-color-${this.color}`},customStyle(){const e={};return this.colorHex&&(e.backgroundColor=this.colorHex),e},iconButtonColor(){return this.colorHex?a.NEUTRAL:D[this.color]||a.PRIMARY}}}),H=["title"],B={key:0,class:"ds-chip__leftIcon"},g={class:"ds-chip__label"};function M(e,r,h,z,j,V){const d=c("icon"),f=c("icon-button");return o(),u("div",{class:U(["ds-chip",{"-ds-x-small":e.size===e.CHIP_SIZES.X_SMALL,[e.colorClassName]:!0,"-ds-disabled":e.state===e.CHIP_STATES.DISABLED,"-ds-uppercase":e.isLabelUppercase,"-ds-rounded":e.radius===e.CHIP_RADIUSES.ROUNDED}]),title:e.label,style:v({backgroundColor:e.colorHex})},[e.$slots.accessory||e.leftIcon?(o(),u("span",B,[L(e.$slots,"accessory",{},()=>[y(d,{icon:e.leftIcon,size:e.size===e.CHIP_SIZES.X_SMALL?e.ICON_SIZES.XXX_SMALL:e.ICON_SIZES.XX_SMALL},null,8,["icon","size"])],!0)])):S("",!0),_("span",g,R(e.label),1),e.size!==e.CHIP_SIZES.X_SMALL&&e.isRemovable?(o(),b(f,{key:1,class:"ds-chip__remove",touchable:!1,state:e.state===e.CHIP_STATES.DISABLED?e.ICON_BUTTON_STATES.DISABLED:e.ICON_BUTTON_STATES.DEFAULT,color:e.iconButtonColor,size:e.ICON_BUTTON_SIZES.XX_SMALL,icon:e.ICONS.FA_XMARK,elevation:e.BUTTON_ELEVATIONS.X_SMALL,onClick:r[0]||(r[0]=X=>e.$emit("remove"))},null,8,["state","color","size","icon","elevation"])):S("",!0)],14,H)}const Y=P(I,[["render",M],["__scopeId","data-v-02de62e8"]]);I.__docgenInfo={displayName:"Chip",exportName:"default",description:"",tags:{},props:[{name:"label",type:{name:"string"},required:!0},{name:"isLabelUppercase",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"leftIcon",type:{name:"object"},defaultValue:{func:!1,value:"null"}},{name:"radius",type:{name:"string"},defaultValue:{func:!1,value:"CHIP_RADIUSES.CAPSULE"}},{name:"size",type:{name:"string"},defaultValue:{func:!1,value:"CHIP_SIZES.SMALL"}},{name:"color",type:{name:"string"},defaultValue:{func:!1,value:"CHIP_COLORS.NEUTRAL"}},{name:"colorHex",type:{name:"string"},defaultValue:{func:!1,value:"null"}},{name:"state",type:{name:"string"},defaultValue:{func:!1,value:"CHIP_STATES.DEFAULT"}},{name:"isRemovable",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"remove"}],slots:[{name:"accessory"}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Chip/Chip.vue"]};export{Y as C,n as a,t as b,s as c,l as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{C as o,a as b,b as a,c as g,d as h}from"./Chip-
|
|
1
|
+
import{C as o,a as b,b as a,c as g,d as h}from"./Chip-CTSLlUHr.js";import{I as r}from"./Icon-BCID_1bx.js";import{o as C,c as v,a as c}from"./vue.esm-bundler-DmkhfO_9.js";import"./IconButton-BAw3zjHF.js";import"./Button-TCMWFFTV.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./device-9fgosCm4.js";const O={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 23 23"};function x(s,l){return C(),v("svg",O,l[0]||(l[0]=[c("path",{"fill-rule":"evenodd",d:"M13.47 3.952 3.951 13.47a3.702 3.702 0 0 0 5.235 5.234l9.517-9.517a3.701 3.701 0 1 0-5.235-5.235zM2.207 20.449a6.17 6.17 0 0 0 8.724 0l9.518-9.518a6.17 6.17 0 1 0-8.724-8.724l-9.518 9.518a6.17 6.17 0 0 0 0 8.724","clip-rule":"evenodd"},null,-1),c("path",{d:"M2.207 20.45a6.17 6.17 0 0 0 8.724 0l5.405-5.406L7.612 6.32l-5.405 5.405a6.17 6.17 0 0 0 0 8.724z"},null,-1)]))}const I={render:x},j={title:"Components/Chip",component:o},y=s=>({components:{Chip:o,LogoBadge:I},setup(){return s},template:'<chip :label="label" :is-label-uppercase="isLabelUppercase" :left-icon="ICONS[leftIcon]" :is-removable="isRemovable" :size="size" :color="color" :color-hex="colorHex" :state="state" :radius="radius" />',data(){return{ICONS:Object.freeze(r)}}}),z=s=>({components:{Chip:o,LogoBadge:I},setup(){return s},template:'<chip :label="label" :is-label-uppercase="isLabelUppercase" :left-icon="ICONS[leftIcon]" :is-removable="isRemovable" :size="size" :color="color" :color-hex="colorHex" :state="state" :radius="radius"><template #accessory><logo-badge :style="svgStyle" /></template></chip>',data(){return{ICONS:Object.freeze(r)}},computed:{svgStyle(){return this.size===a.SMALL?{width:"12px",height:"12px"}:{width:"8px",height:"8px"}}}}),e=y.bind({}),t=z.bind({}),S={label:"Chip z labelem",isLabelUppercase:!1,leftIcon:null,radius:b.CAPSULE,size:a.SMALL,color:g.NEUTRAL,colorHex:"",isRemovable:!1,state:h.DEFAULT},f={leftIcon:{control:"select",options:[null,...Object.keys(r)]},size:{control:"select",options:Object.values(a)},color:{control:"select",options:Object.values(g)},state:{control:"select",options:Object.values(h)},radius:{control:"select",options:Object.values(b)}};e.argTypes=f;e.args=S;e.parameters={design:{type:"figma",url:"https://www.figma.com/file/izQdYyiBR1GQgFkaOIfIJI/LMS---DS---Components?node-id=3690%3A69072"}};t.argTypes=f;t.args=S;t.parameters={design:{type:"figma",url:"https://www.figma.com/file/izQdYyiBR1GQgFkaOIfIJI/LMS---DS---Components?node-id=3690%3A69072"}};var i,p,n;e.parameters={...e.parameters,docs:{...(i=e.parameters)==null?void 0:i.docs,source:{originalSource:`args => ({
|
|
2
2
|
components: {
|
|
3
3
|
Chip,
|
|
4
4
|
LogoBadge
|