@bethinkpl/design-system 26.6.0 → 26.7.1
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/README.md +5 -0
- package/dist/design-system.umd.cjs +18 -18
- package/dist/design-system.umd.cjs.map +1 -1
- package/dist/lib/js/components/Avatar/Avatar.consts.d.ts +9 -0
- package/dist/lib/js/components/Avatar/Avatar.vue.d.ts +38 -0
- package/dist/lib/js/components/Avatar/index.d.ts +4 -0
- package/dist/lib/js/components/BadgeScore/BadgeScore.vue.d.ts +63 -5
- package/dist/lib/js/components/Banner/Banner.vue.d.ts +371 -34
- package/dist/lib/js/components/Buttons/Button/Button.vue.d.ts +96 -8
- package/dist/lib/js/components/Buttons/IconButton/IconButton.vue.d.ts +197 -17
- package/dist/lib/js/components/Cards/Card/Card.consts.d.ts +3 -3
- package/dist/lib/js/components/Cards/Card/Card.vue.d.ts +14 -12
- package/dist/lib/js/components/Cards/CardExpandable/CardExpandable.vue.d.ts +20 -18
- package/dist/lib/js/components/Chip/Chip.vue.d.ts +293 -26
- package/dist/lib/js/components/DatePickers/DatePicker/DatePicker.consts.d.ts +4 -4
- package/dist/lib/js/components/DatePickers/DatePicker/DatePicker.vue.d.ts +128 -30
- package/dist/lib/js/components/DatePickers/DatePickerBox/DatePickerBox.vue.d.ts +115 -8
- package/dist/lib/js/components/DatePickers/DateRangePicker/DateRangePicker.vue.d.ts +118 -14
- package/dist/lib/js/components/Drawer/Drawer.consts.d.ts +1 -1
- package/dist/lib/js/components/Drawer/DrawerHeader/DrawerHeader.consts.d.ts +1 -1
- package/dist/lib/js/components/Drawer/DrawerHeader/DrawerHeader.vue.d.ts +582 -57
- package/dist/lib/js/components/Drawer/DrawerListItem/DrawerListItem.consts.d.ts +1 -1
- package/dist/lib/js/components/Drawer/DrawerListItem/DrawerListItem.vue.d.ts +39 -8
- package/dist/lib/js/components/Drawer/DrawerSection/DrawerSection.vue.d.ts +468 -34
- package/dist/lib/js/components/Drawer/DrawerTile/DrawerTile.vue.d.ts +12 -26
- package/dist/lib/js/components/Dropdown/Dropdown.vue.d.ts +68 -4
- package/dist/lib/js/components/Form/Checkbox/Checkbox.consts.d.ts +2 -2
- package/dist/lib/js/components/Form/Checkbox/Checkbox.vue.d.ts +119 -10
- package/dist/lib/js/components/Form/RadioButton/RadioButton.consts.d.ts +2 -2
- package/dist/lib/js/components/Form/RadioButton/RadioButton.vue.d.ts +119 -10
- package/dist/lib/js/components/Form/SelectionControl/SelectionControl.consts.d.ts +3 -3
- package/dist/lib/js/components/Form/SelectionControl/SelectionControl.sb.shared.d.ts +1 -1
- package/dist/lib/js/components/Form/SelectionControl/SelectionControl.vue.d.ts +74 -5
- package/dist/lib/js/components/Headers/OverlayHeader/OverlayHeader.vue.d.ts +340 -30
- package/dist/lib/js/components/Headers/PageHeader/PageHeader.vue.d.ts +38 -2
- package/dist/lib/js/components/Headers/SectionHeader/SectionHeader.consts.d.ts +1 -1
- package/dist/lib/js/components/Headers/SectionHeader/SectionHeader.vue.d.ts +342 -26
- package/dist/lib/js/components/IconText/IconText.vue.d.ts +73 -4
- package/dist/lib/js/components/Icons/FeatureIcon/FeatureIcon.vue.d.ts +45 -5
- package/dist/lib/js/components/Icons/Icon/Icon.consts.d.ts +10 -8
- package/dist/lib/js/components/Icons/Icon/Icon.vue.d.ts +2 -2
- package/dist/lib/js/components/Image/Image.consts.d.ts +1 -1
- package/dist/lib/js/components/Image/Image.vue.d.ts +6 -5
- package/dist/lib/js/components/Layouts/ThreeColumnLayout/ThreeColumnLayout.consts.d.ts +1 -1
- package/dist/lib/js/components/Layouts/ThreeColumnLayout/ThreeColumnLayout.vue.d.ts +55 -2
- package/dist/lib/js/components/LoadingBar/LoadingBar.consts.d.ts +2 -2
- package/dist/lib/js/components/LoadingBar/LoadingBar.vue.d.ts +5 -4
- package/dist/lib/js/components/Modal/Modal.vue.d.ts +8 -6
- package/dist/lib/js/components/Modals/Modal/Modal.vue.d.ts +517 -37
- package/dist/lib/js/components/Modals/ModalDialog/ModalDialog.vue.d.ts +628 -39
- package/dist/lib/js/components/Outline/OutlineItem/OutlineItem.vue.d.ts +137 -9
- package/dist/lib/js/components/Pagination/Pagination.vue.d.ts +402 -36
- package/dist/lib/js/components/ProgressBar/ProgressBar.vue.d.ts +125 -8
- package/dist/lib/js/components/ProgressDonutChart/ProgressDonutChart.consts.d.ts +1 -1
- package/dist/lib/js/components/ProgressDonutChart/ProgressDonutChart.vue.d.ts +43 -8
- package/dist/lib/js/components/RichList/BasicRichListItem/BasicRichListItem.vue.d.ts +545 -34
- package/dist/lib/js/components/RichList/GroupRichListItem/GroupRichListItem.consts.d.ts +2 -2
- package/dist/lib/js/components/RichList/GroupRichListItem/GroupRichListItem.vue.d.ts +6 -5
- package/dist/lib/js/components/RichList/RichListItem/RichListItem.consts.d.ts +7 -7
- package/dist/lib/js/components/RichList/RichListItem/RichListItem.vue.d.ts +305 -21
- package/dist/lib/js/components/SectionTitle/SectionTitle.consts.d.ts +1 -1
- package/dist/lib/js/components/SelectList/SelectListItem/SelectListItem.vue.d.ts +84 -8
- package/dist/lib/js/components/SelectList/SelectListItemTile/SelectListItemTile.vue.d.ts +12 -26
- package/dist/lib/js/components/SelectList/SelectListItemToggle/SelectListItemToggle.vue.d.ts +152 -10
- package/dist/lib/js/components/SelectionTile/SelectionTile.consts.d.ts +2 -2
- package/dist/lib/js/components/SelectionTile/SelectionTile.vue.d.ts +377 -33
- package/dist/lib/js/components/Skeleton/Skeleton.consts.d.ts +1 -1
- package/dist/lib/js/components/Skeleton/Skeleton.vue.d.ts +4 -3
- package/dist/lib/js/components/Statuses/AccessStatus/AccessStatus.vue.d.ts +8 -6
- package/dist/lib/js/components/Statuses/BlockadeStatus/BlockadeStatus.vue.d.ts +8 -6
- package/dist/lib/js/components/SurveyQuestions/SurveyQuestionOpenEnded/SurveyQuestionOpenEnded.vue.d.ts +352 -49
- package/dist/lib/js/components/SurveyQuestions/SurveyQuestionScale/SurveyQuestionScale.vue.d.ts +451 -53
- package/dist/lib/js/components/SurveyToggle/SurveyToggle.vue.d.ts +62 -4
- package/dist/lib/js/components/Switch/Switch.consts.d.ts +4 -4
- package/dist/lib/js/components/Switch/Switch.vue.d.ts +91 -9
- package/dist/lib/js/components/TabItem/TabItem.vue.d.ts +49 -5
- package/dist/lib/js/components/TextGroup/TextGroup.consts.d.ts +4 -4
- package/dist/lib/js/components/TextGroup/TextGroup.vue.d.ts +10 -10
- package/dist/lib/js/components/Tile/Tile.consts.d.ts +4 -4
- package/dist/lib/js/components/Tile/Tile.sb.shared.d.ts +375 -39
- package/dist/lib/js/components/Tile/Tile.vue.d.ts +12 -16
- package/dist/lib/js/components/Toast/Toast.consts.d.ts +3 -3
- package/dist/lib/js/components/Toast/Toast.vue.d.ts +202 -23
- package/dist/lib/js/components/Toggles/CounterToggle/CounterToggle.vue.d.ts +50 -4
- package/dist/lib/js/components/Toggles/ToggleButton/ToggleButton.consts.d.ts +5 -5
- package/dist/lib/js/components/Toggles/ToggleButton/ToggleButton.vue.d.ts +124 -10
- package/dist/lib/js/components/Tooltip/Tooltip.consts.d.ts +1 -1
- package/dist/lib/js/icons/fontawesome.d.ts +1 -0
- package/dist/lib/js/index.d.ts +2 -0
- package/dist/lib/js/utils/type.utils.d.ts +1 -1
- package/docs/assets/{AccessStatus-Dz1vfbnh.js → AccessStatus-lY4oqKbY.js} +1 -1
- package/docs/assets/{AccessStatus.stories-BC2FqmS7.js → AccessStatus.stories-B-o8Wzbn.js} +1 -1
- package/docs/assets/Avatar-BALJe_Kd.js +1 -0
- package/docs/assets/Avatar.stories-BBWquxG4.js +35 -0
- package/docs/assets/{BadgeScore-C0Ghj-5s.js → BadgeScore-BllxpS5b.js} +1 -1
- package/docs/assets/{BadgeScore.stories-DQOL_ZiP.js → BadgeScore.stories-CZkwHDBn.js} +1 -1
- package/docs/assets/{Banner-BmKYBJ1B.js → Banner-B_WbNF52.js} +1 -1
- package/docs/assets/{Banner.stories-BPHdgNAZ.js → Banner.stories-BnbHDoMg.js} +1 -1
- package/docs/assets/{BasicRichListItem-Ctm7LWMn.js → BasicRichListItem-xKSFXEOx.js} +1 -1
- package/docs/assets/{BasicRichListItem.stories-CW9os382.js → BasicRichListItem.stories-D5cFXBnH.js} +2 -2
- package/docs/assets/{BlockadeStatus-4Zx578QV.js → BlockadeStatus-P8nBhdtz.js} +1 -1
- package/docs/assets/{BlockedeStatus.stories-CeCB1B6k.js → BlockedeStatus.stories-D2lBK6X4.js} +1 -1
- package/docs/assets/{Button-DVtHJ-a3.js → Button-BnWnuQz_.js} +1 -1
- package/docs/assets/{Button.stories-D7PDCOOm.js → Button.stories-BUAtvyqT.js} +1 -1
- package/docs/assets/{Card-CbIL2Iiq.js → Card-BzXb8FVb.js} +1 -1
- package/docs/assets/{Card.stories-sWfj8JIt.js → Card.stories-DR5-T-9k.js} +1 -1
- package/docs/assets/{CardExpandable-DvrXNsTR.js → CardExpandable-UGGPT1DB.js} +1 -1
- package/docs/assets/{CardExpandable.stories-CeNHupz8.js → CardExpandable.stories-CgBLkNle.js} +1 -1
- package/docs/assets/{Checkbox-Bk9Hyj7u.js → Checkbox-CJfLFnEo.js} +1 -1
- package/docs/assets/{Checkbox.stories-C9VNatGb.js → Checkbox.stories-Cuk7m0lR.js} +1 -1
- package/docs/assets/{Chip-D-3z8YPj.js → Chip-DHtEAdjh.js} +1 -1
- package/docs/assets/{Chip.stories-CjFXBnam.js → Chip.stories-DQ1Us1CB.js} +1 -1
- package/docs/assets/{Color-ERTF36HU-CqJ5SSs8.js → Color-ERTF36HU-Bdv_bt15.js} +1 -1
- package/docs/assets/{Colors.stories-CrtG5S4A.js → Colors.stories-BWgavcUS.js} +1 -1
- package/docs/assets/{ColorsThemes.stories-B_DRVheO.js → ColorsThemes.stories-0-sPp0ge.js} +1 -1
- package/docs/assets/{ColorsTokensLms.stories-DNXNDpp5.js → ColorsTokensLms.stories-BykJy-2-.js} +1 -1
- package/docs/assets/{ColorsTokensPrimaryBodywork.stories-MZpI5IXh.js → ColorsTokensPrimaryBodywork.stories-DbuoY06v.js} +1 -1
- package/docs/assets/{ColorsTokensPrimaryWnl.stories-D8POK0cA.js → ColorsTokensPrimaryWnl.stories-BGrxCgKb.js} +1 -1
- package/docs/assets/{CounterToggle-FQNWJcH5.js → CounterToggle-B1fmCAW0.js} +1 -1
- package/docs/assets/{CounterToggle.stories-B63J-wko.js → CounterToggle.stories-B0h9L-mI.js} +1 -1
- package/docs/assets/{DatePicker-Br-Dxnyn.js → DatePicker-DIJ8aqM6.js} +1 -1
- package/docs/assets/{DatePicker.stories-C4sN46Ws.js → DatePicker.stories-D4LubdID.js} +1 -1
- package/docs/assets/{DateRangePicker-B2xmoGPO.js → DateRangePicker-1oxiA7Lf.js} +1 -1
- package/docs/assets/{DateRangePicker.stories-DGh5m4TF.js → DateRangePicker.stories-CmHayQUD.js} +1 -1
- package/docs/assets/{Divider-4HN2u4Et.js → Divider-CeZli6az.js} +1 -1
- package/docs/assets/{Divider.stories-BCrs-P64.js → Divider.stories-BGrVq6Gh.js} +1 -1
- package/docs/assets/{DocsRenderer-CFRXHY34-CemqquOQ.js → DocsRenderer-CFRXHY34-7YPgF_58.js} +5 -5
- package/docs/assets/{Drawer-DRYKGdtt.js → Drawer-BAhS1Aex.js} +1 -1
- package/docs/assets/{Drawer.stories-DNAfMM9D.js → Drawer.stories-Bgvx4k59.js} +1 -1
- package/docs/assets/{DrawerContent-CY64oeID.js → DrawerContent-BC_l9IKr.js} +1 -1
- package/docs/assets/{DrawerContent.stories-CJRbiAKZ.js → DrawerContent.stories-bd7mDbJc.js} +1 -1
- package/docs/assets/{DrawerDivider-B6matEEg.js → DrawerDivider-DuTuIbLz.js} +1 -1
- package/docs/assets/{DrawerDivider.stories-DkEGw1YV.js → DrawerDivider.stories-C6fwM_Vr.js} +1 -1
- package/docs/assets/{DrawerHeader-kxEGS3hp.js → DrawerHeader-DAlTWdTV.js} +1 -1
- package/docs/assets/{DrawerHeader.stories-C696CXDI.js → DrawerHeader.stories-DPx9vaHi.js} +1 -1
- package/docs/assets/{DrawerListItem-k3WHGFah.js → DrawerListItem-BQwvRia4.js} +1 -1
- package/docs/assets/{DrawerListItem.stories-DUxJpobr.js → DrawerListItem.stories-CHf7nV4C.js} +1 -1
- package/docs/assets/{DrawerListItemGroup-B40g16RV.js → DrawerListItemGroup-BTfrsZ_p.js} +1 -1
- package/docs/assets/{DrawerListItemGroup.stories-Crms7R86.js → DrawerListItemGroup.stories-Ch1z9OG4.js} +1 -1
- package/docs/assets/{DrawerSection-DIeDQFNf.js → DrawerSection-xoALUrNo.js} +1 -1
- package/docs/assets/{DrawerSection.stories-DgdmLwYu.js → DrawerSection.stories-B_netySu.js} +1 -1
- package/docs/assets/{DrawerTile-OeT5gefI.js → DrawerTile-C64fS4dq.js} +1 -1
- package/docs/assets/{DrawerTile.stories-nBKWobdB.js → DrawerTile.stories-CRTdtfFG.js} +1 -1
- package/docs/assets/{Dropdown-CR-eIdCF.js → Dropdown-B75bqkCY.js} +1 -1
- package/docs/assets/{Dropdown.stories-Caf2EapU.js → Dropdown.stories-CFcPipvl.js} +1 -1
- package/docs/assets/{FeatureIcon-B09zj5Bd.js → FeatureIcon-DuHLb2s9.js} +1 -1
- package/docs/assets/{FeatureIcon.stories-CGmHfPT3.js → FeatureIcon.stories-D2wXVZJD.js} +1 -1
- package/docs/assets/{GroupRichListItem-DEqhXKuF.js → GroupRichListItem-C2S_DIM-.js} +1 -1
- package/docs/assets/{GroupRichListItem.stories-y32zxNgh.js → GroupRichListItem.stories-DkFM_Fbq.js} +1 -1
- package/docs/assets/Icon-KlrZhBvI.js +761 -0
- package/docs/assets/{Icon.stories-CY_HHNiQ.js → Icon.stories-DQC9sgOw.js} +1 -1
- package/docs/assets/{IconButton-rhUVXzuc.js → IconButton-BcjUxjB4.js} +1 -1
- package/docs/assets/{IconButton.stories-DFB0l3TX.js → IconButton.stories-BHiXRfSV.js} +1 -1
- package/docs/assets/{IconText-CKA7x6Oe.js → IconText-CcdweKoG.js} +1 -1
- package/docs/assets/{IconText.stories-DI_tSPTu.js → IconText.stories-CAwMj5EE.js} +1 -1
- package/docs/assets/{Image-BF_Kx0up.js → Image-B9jnhF_n.js} +1 -1
- package/docs/assets/{Image.stories-BXYD86R1.js → Image.stories-DzKTJQnd.js} +1 -1
- package/docs/assets/{ItemsList-DxGr2MB5.js → ItemsList-D_riVFX-.js} +1 -1
- package/docs/assets/{LoadingBar-BeOPZFzu.js → LoadingBar-C1yAImWt.js} +1 -1
- package/docs/assets/{LoadingBar.stories-BJeb9oll.js → LoadingBar.stories-NffcMV2n.js} +1 -1
- package/docs/assets/Modal-CgNyRPs8.js +1 -0
- package/docs/assets/{Modal.stories-DL5mJmSa.js → Modal.stories-xhgpgD4o.js} +1 -1
- package/docs/assets/{ModalDialog-C79kCvIP.js → ModalDialog-B2ORB9vQ.js} +1 -1
- package/docs/assets/{ModalDialog.stories-DevcfCkg.js → ModalDialog.stories-DnpSmybQ.js} +1 -1
- package/docs/assets/{NumberInCircle-Cqbd2PUf.js → NumberInCircle-CYZFaZ00.js} +1 -1
- package/docs/assets/{NumberInCircle.stories--_6-RNlU.js → NumberInCircle.stories-DzdSX4we.js} +1 -1
- package/docs/assets/{OutlineDivider-9phD7EaD.js → OutlineDivider-DItdz99b.js} +1 -1
- package/docs/assets/{OutlineDivider.stories-LsrVcpfQ.js → OutlineDivider.stories-Cdmgts0G.js} +1 -1
- package/docs/assets/{OutlineItem-B0GAacWf.js → OutlineItem-dhEw8EC1.js} +1 -1
- package/docs/assets/{OutlineItem.stories-RvYTOp9N.js → OutlineItem.stories-BvYje0yq.js} +1 -1
- package/docs/assets/{OutlineSectionHeader-BDh6TrVb.js → OutlineSectionHeader-CtypBCqR.js} +1 -1
- package/docs/assets/{OutlineSectionHeader.stories-CPuYAPXa.js → OutlineSectionHeader.stories-CpZUQfTd.js} +1 -1
- package/docs/assets/{OverlayHeader--26-GHPy.js → OverlayHeader-51ih8x0c.js} +1 -1
- package/docs/assets/{OverlayHeader.stories-BVxhjyuC.js → OverlayHeader.stories-BclXAtEh.js} +1 -1
- package/docs/assets/{PageHeader-CwyCLKPQ.js → PageHeader-C5oCP3S2.js} +1 -1
- package/docs/assets/{PageHeader.stories-BaavDroe.js → PageHeader.stories-hH9p_VSN.js} +1 -1
- package/docs/assets/{Pagination-XlcLXTgM.js → Pagination-B2HzTrD0.js} +1 -1
- package/docs/assets/{Pagination.stories-CGBJ2Sad.js → Pagination.stories-DwS53dgq.js} +1 -1
- package/docs/assets/{PopOver-CQVq9c4Z.js → PopOver-xznuUBtF.js} +1 -1
- package/docs/assets/{PopOver.stories-g1F8AUJI.js → PopOver.stories-DC1Fdmyd.js} +1 -1
- package/docs/assets/{ProgressBar-3iykKXJT.js → ProgressBar-Dw-iWAra.js} +1 -1
- package/docs/assets/{ProgressBar.stories-BV7Hhjoe.js → ProgressBar.stories-BBkwbwJC.js} +1 -1
- package/docs/assets/{ProgressDonutChart-6EInE7M5.js → ProgressDonutChart-BzpDf_D1.js} +1 -1
- package/docs/assets/{ProgressDonutChart.stories-C_u9MjFX.js → ProgressDonutChart.stories-g0thnFjo.js} +1 -1
- package/docs/assets/{RadioButton-zouOWpRs.js → RadioButton-D-73BAcy.js} +1 -1
- package/docs/assets/{RadioButton.stories-pnmyqoJH.js → RadioButton.stories-DJssblKO.js} +1 -1
- package/docs/assets/{RichListItem.stories-B_DlwcQo.js → RichListItem.stories-Dh3jAgkT.js} +2 -2
- package/docs/assets/{SectionHeader-C2Y0CGjY.js → SectionHeader-C9tfdV94.js} +1 -1
- package/docs/assets/{SectionHeader.stories-B0gOYosA.js → SectionHeader.stories-CkVrEY1u.js} +1 -1
- package/docs/assets/{SectionTitle-B1v2FcuB.js → SectionTitle-BQZh7aFs.js} +1 -1
- package/docs/assets/{SectionTitle.stories-BogJgzAG.js → SectionTitle.stories-BLNC5wZK.js} +1 -1
- package/docs/assets/{SelectList-CiuxFUk4.js → SelectList-T6eJOYPv.js} +1 -1
- package/docs/assets/{SelectList.stories-DX-fFMoD.js → SelectList.stories-C-8KXQaF.js} +1 -1
- package/docs/assets/{SelectListItem-BU_U7IZs.js → SelectListItem-KRL8q6Iz.js} +1 -1
- package/docs/assets/{SelectListItem.stories-Dy3EXPN_.js → SelectListItem.stories-Bp_rq-Eh.js} +1 -1
- package/docs/assets/{SelectListItemDivider-CIueguWt.js → SelectListItemDivider-CTuILyj9.js} +1 -1
- package/docs/assets/{SelectListItemDivider.stories-CYkoQqyL.js → SelectListItemDivider.stories-CyW1-Pe_.js} +1 -1
- package/docs/assets/{SelectListItemTile-ohFw-wM4.js → SelectListItemTile-I9x6zsKM.js} +1 -1
- package/docs/assets/{SelectListItemTile.stories-BRCqpIYj.js → SelectListItemTile.stories-B8bcoXQ8.js} +1 -1
- package/docs/assets/{SelectListItemToggle-C1VDDxAm.js → SelectListItemToggle-BKr25N9H.js} +1 -1
- package/docs/assets/{SelectListItemToggle.stories-d_Sto0ry.js → SelectListItemToggle.stories-BxE4M_-B.js} +1 -1
- package/docs/assets/{SelectListSectionTitle-DBd3RwED.js → SelectListSectionTitle-BOCjrVHo.js} +1 -1
- package/docs/assets/{SelectListSectionTitle.stories-BrIWdRit.js → SelectListSectionTitle.stories-8h3E7qrw.js} +1 -1
- package/docs/assets/{SelectionControl-DEv8iTfR.js → SelectionControl-CxsRDZ81.js} +1 -1
- package/docs/assets/{SelectionTile-CjfV3f7H.js → SelectionTile-A8HfI_-S.js} +2 -2
- package/docs/assets/{SelectionTile.stories-PT6dhdE2.js → SelectionTile.stories-CG4N75Mo.js} +1 -1
- package/docs/assets/{Skeleton-Budxm1Jq.js → Skeleton-DMxKKJ0Z.js} +1 -1
- package/docs/assets/{Skeleton.stories-C5oyivEw.js → Skeleton.stories-BHWr0cDF.js} +1 -1
- package/docs/assets/{SurveyQuestionOpenEnded-7vjfdqDE.js → SurveyQuestionOpenEnded-BqVHeqqP.js} +1 -1
- package/docs/assets/{SurveyQuestionOpenEnded.stories-DOs_GSRG.js → SurveyQuestionOpenEnded.stories-ahMVN6RR.js} +1 -1
- package/docs/assets/{SurveyQuestionScale-OhARHAbk.js → SurveyQuestionScale--V40kshK.js} +1 -1
- package/docs/assets/{SurveyQuestionScale.stories-Bi7NxxtA.js → SurveyQuestionScale.stories-OzvwLBWr.js} +1 -1
- package/docs/assets/{SurveyToggle-CyohUVKo.js → SurveyToggle-CPoPpkRt.js} +1 -1
- package/docs/assets/{SurveyToggle.stories-ghYQJDpX.js → SurveyToggle.stories-63IVdw_s.js} +1 -1
- package/docs/assets/{Switch-BtYFtHgw.js → Switch-8KDmrBx0.js} +1 -1
- package/docs/assets/{Switch.stories-DmNV0lil.js → Switch.stories-CLRVfXje.js} +1 -1
- package/docs/assets/{TabItem-GC7LQNvp.js → TabItem-DMeZl877.js} +1 -1
- package/docs/assets/{TabItem.stories-DbiRd9vV.js → TabItem.stories-bpoM2LnI.js} +1 -1
- package/docs/assets/{TextGroup-lwPvABi6.js → TextGroup-D5le3QVY.js} +1 -1
- package/docs/assets/{TextGroup.stories-CnojKPTw.js → TextGroup.stories-soggouxN.js} +1 -1
- package/docs/assets/{ThreeColumnLayout-BR3bkVIs.js → ThreeColumnLayout-CFf8NRwP.js} +1 -1
- package/docs/assets/{ThreeColumnLayout.stories-V4L7zdf_.js → ThreeColumnLayout.stories-tcn5IlfD.js} +1 -1
- package/docs/assets/{Tile-DjRk5xHI.js → Tile-DXlbtMBZ.js} +1 -1
- package/docs/assets/{Tile.sb.shared-Dt0Nhl_4.js → Tile.sb.shared-BRv2J5BO.js} +1 -1
- package/docs/assets/{Tile.stories-lM4we8lW.js → Tile.stories-C2CVBJs4.js} +1 -1
- package/docs/assets/{Toast-Dgoj-mgi.js → Toast-DyyWQQxM.js} +1 -1
- package/docs/assets/{Toast.stories-BxXNn_Nb.js → Toast.stories-Bv9gyrsa.js} +1 -1
- package/docs/assets/{ToggleButton-APZXu2t7.js → ToggleButton-C_ZU_6g5.js} +1 -1
- package/docs/assets/{ToggleButton.stories-DO-p6P3s.js → ToggleButton.stories-DLfjOSpj.js} +1 -1
- package/docs/assets/{Tooltip-Cni6OHo9.js → Tooltip-DB8acOEc.js} +1 -1
- package/docs/assets/{Tooltip.stories-C3h4ABpf.js → Tooltip.stories-DTDTTjA0.js} +1 -1
- package/docs/assets/{TypographyTokensLms.stories-PrEmdBHF.js → TypographyTokensLms.stories-DW3gBdun.js} +1 -1
- package/docs/assets/{TypographyVariables.stories-CP8aNZmQ.js → TypographyVariables.stories-FmiXmx2m.js} +1 -1
- package/docs/assets/{Well-DSgC9yDa.js → Well-Chn1RK_x.js} +1 -1
- package/docs/assets/{Well.stories-02Hpe7cX.js → Well.stories-D3_25hWV.js} +1 -1
- package/docs/assets/entry-preview-C1JfRNcy.js +1 -0
- package/docs/assets/{entry-preview-docs-b1BM2N0G.js → entry-preview-docs-CLZ3bGGX.js} +1 -1
- package/docs/assets/{iframe-OBly2w25.js → iframe-PlXRfjR9.js} +4 -3
- package/docs/assets/{index-DRNPKjaN.js → index-DGocbclh.js} +1 -1
- package/docs/assets/{index-BX4u4pqi.js → index-Dwdn4P5V.js} +1 -1
- package/docs/assets/preview-19u1OjCM.js +64 -0
- package/docs/assets/{preview-BA4xsxRI.js → preview-BqTxE9pa.js} +2 -2
- package/docs/assets/string-CXbuceC1.js +1 -0
- package/docs/assets/{vue-popper-CpfGMX4Q.js → vue-popper-DQfdblyw.js} +1 -1
- package/docs/assets/{vue.esm-bundler-CWlcb7ht.js → vue.esm-bundler-DmkhfO_9.js} +1 -1
- package/docs/iframe.html +1 -1
- package/docs/index.json +1 -1
- package/docs/project.json +1 -1
- package/lib/images/icons/change.svg +1 -0
- package/lib/js/components/Avatar/Avatar.consts.ts +10 -0
- package/lib/js/components/Avatar/Avatar.spec.ts +133 -0
- package/lib/js/components/Avatar/Avatar.stories.ts +91 -0
- package/lib/js/components/Avatar/Avatar.vue +178 -0
- package/lib/js/components/Avatar/index.ts +4 -0
- package/lib/js/components/Icons/Icon/Icon.consts.ts +6 -4
- package/lib/js/components/Modals/Modal/Modal.vue +2 -2
- package/lib/js/icons/fontawesome.ts +2 -0
- package/lib/js/index.ts +2 -0
- package/package.json +4 -3
- package/docs/assets/Icon-ChGia3n4.js +0 -761
- package/docs/assets/Modal-xys3UXAy.js +0 -1
- package/docs/assets/entry-preview-Dzwhc6UB.js +0 -1
- package/docs/assets/preview-ByrBU2E6.js +0 -64
- package/docs/assets/string-BIzBNuWk.js +0 -1
|
@@ -4,7 +4,7 @@ export declare const TOAST_SIZES: {
|
|
|
4
4
|
readonly SMALL: "small";
|
|
5
5
|
readonly MEDIUM: "medium";
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type ToastSizes = Value<typeof TOAST_SIZES>;
|
|
8
8
|
export declare const TOAST_COLORS: {
|
|
9
9
|
NEUTRAL_HEAVY: string;
|
|
10
10
|
NEUTRAL_STRONG: string;
|
|
@@ -13,10 +13,10 @@ export declare const TOAST_COLORS: {
|
|
|
13
13
|
DANGER: string;
|
|
14
14
|
INFO: string;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type ToastColors = Value<typeof TOAST_COLORS>;
|
|
17
17
|
export declare const TOAST_POSITIONS: {
|
|
18
18
|
LEFT: string;
|
|
19
19
|
CENTER: string;
|
|
20
20
|
RIGHT: string;
|
|
21
21
|
};
|
|
22
|
-
export
|
|
22
|
+
export type ToastPositions = Value<typeof TOAST_POSITIONS>;
|
|
@@ -1,7 +1,55 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BUTTON_RADIUSES, BUTTON_TYPES } from '../Buttons/Button';
|
|
2
|
+
import { ToastColors, ToastPositions, ToastSizes } from './Toast.consts';
|
|
2
3
|
import { PropType } from 'vue';
|
|
3
4
|
|
|
4
|
-
declare const _default: import('vue').DefineComponent<{
|
|
5
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
size: {
|
|
7
|
+
type: PropType<ToastSizes>;
|
|
8
|
+
default: "medium";
|
|
9
|
+
};
|
|
10
|
+
position: {
|
|
11
|
+
type: PropType<ToastPositions>;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
boundariesSelector: {
|
|
15
|
+
type: (StringConstructor | {
|
|
16
|
+
new (): HTMLElement;
|
|
17
|
+
prototype: HTMLElement;
|
|
18
|
+
})[];
|
|
19
|
+
default: null;
|
|
20
|
+
};
|
|
21
|
+
color: {
|
|
22
|
+
type: PropType<ToastColors>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
footerPrimaryButtonText: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
footerPrimaryButtonIcon: {
|
|
30
|
+
type: ObjectConstructor;
|
|
31
|
+
default: null;
|
|
32
|
+
validator(footerPrimaryButtonIcon: any): boolean;
|
|
33
|
+
};
|
|
34
|
+
footerSecondaryButtonText: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
footerSecondaryButtonIcon: {
|
|
39
|
+
type: ObjectConstructor;
|
|
40
|
+
default: null;
|
|
41
|
+
validator(footerSecondaryButtonIcon: any): boolean;
|
|
42
|
+
};
|
|
43
|
+
isDisappearing: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
disappearingTimeout: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
validator(disappearingTimeout: string): boolean;
|
|
51
|
+
};
|
|
52
|
+
}>, {}, {
|
|
5
53
|
boundariesSelectorElement: null;
|
|
6
54
|
boundariesSelectorElementResizeObserver: null;
|
|
7
55
|
styles: {};
|
|
@@ -42,7 +90,54 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
42
90
|
close: () => true;
|
|
43
91
|
'primary-button-click': () => true;
|
|
44
92
|
'secondary-button-click': () => true;
|
|
45
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
93
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
94
|
+
size: {
|
|
95
|
+
type: PropType<ToastSizes>;
|
|
96
|
+
default: "medium";
|
|
97
|
+
};
|
|
98
|
+
position: {
|
|
99
|
+
type: PropType<ToastPositions>;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
boundariesSelector: {
|
|
103
|
+
type: (StringConstructor | {
|
|
104
|
+
new (): HTMLElement;
|
|
105
|
+
prototype: HTMLElement;
|
|
106
|
+
})[];
|
|
107
|
+
default: null;
|
|
108
|
+
};
|
|
109
|
+
color: {
|
|
110
|
+
type: PropType<ToastColors>;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
footerPrimaryButtonText: {
|
|
114
|
+
type: StringConstructor;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
footerPrimaryButtonIcon: {
|
|
118
|
+
type: ObjectConstructor;
|
|
119
|
+
default: null;
|
|
120
|
+
validator(footerPrimaryButtonIcon: any): boolean;
|
|
121
|
+
};
|
|
122
|
+
footerSecondaryButtonText: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
footerSecondaryButtonIcon: {
|
|
127
|
+
type: ObjectConstructor;
|
|
128
|
+
default: null;
|
|
129
|
+
validator(footerSecondaryButtonIcon: any): boolean;
|
|
130
|
+
};
|
|
131
|
+
isDisappearing: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
disappearingTimeout: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
default: string;
|
|
138
|
+
validator(disappearingTimeout: string): boolean;
|
|
139
|
+
};
|
|
140
|
+
}>> & Readonly<{
|
|
46
141
|
onClose?: (() => any) | undefined;
|
|
47
142
|
"onSecondary-button-click"?: (() => any) | undefined;
|
|
48
143
|
"onPrimary-button-click"?: (() => any) | undefined;
|
|
@@ -58,15 +153,57 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
58
153
|
isDisappearing: boolean;
|
|
59
154
|
disappearingTimeout: string;
|
|
60
155
|
}, {}, {
|
|
61
|
-
DsButton: import('vue').DefineComponent<{
|
|
156
|
+
DsButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
157
|
+
size: {
|
|
158
|
+
type: StringConstructor;
|
|
159
|
+
default: "medium";
|
|
160
|
+
validator(value: import('../../utils/type.utils').Value<typeof import('../Buttons/Button').BUTTON_SIZES>): boolean;
|
|
161
|
+
};
|
|
162
|
+
type: {
|
|
163
|
+
type: StringConstructor;
|
|
164
|
+
default: "filled";
|
|
165
|
+
validator(value: import('../../utils/type.utils').Value<typeof BUTTON_TYPES>): boolean;
|
|
166
|
+
};
|
|
167
|
+
color: {
|
|
168
|
+
type: StringConstructor;
|
|
169
|
+
default: "primary";
|
|
170
|
+
validator(value: import('../../utils/type.utils').Value<typeof import('../..').ICON_BUTTON_COLORS>): boolean;
|
|
171
|
+
};
|
|
172
|
+
radius: {
|
|
173
|
+
type: StringConstructor;
|
|
174
|
+
default: "capsule";
|
|
175
|
+
validator(value: import('../../utils/type.utils').Value<typeof BUTTON_RADIUSES>): boolean;
|
|
176
|
+
};
|
|
177
|
+
state: {
|
|
178
|
+
type: StringConstructor;
|
|
179
|
+
default: "default";
|
|
180
|
+
validator(value: import('../../utils/type.utils').Value<typeof import('../Buttons/Button').BUTTON_STATES>): boolean;
|
|
181
|
+
};
|
|
182
|
+
iconLeft: {
|
|
183
|
+
type: ObjectConstructor;
|
|
184
|
+
default: null;
|
|
185
|
+
validator(icon: unknown): boolean;
|
|
186
|
+
};
|
|
187
|
+
iconRight: {
|
|
188
|
+
type: ObjectConstructor;
|
|
189
|
+
default: null;
|
|
190
|
+
validator(icon: unknown): boolean;
|
|
191
|
+
};
|
|
192
|
+
elevation: {
|
|
193
|
+
type: StringConstructor;
|
|
194
|
+
default: "none";
|
|
195
|
+
validator(value: import('../../utils/type.utils').Value<typeof import('../Buttons/Button').BUTTON_ELEVATIONS>): boolean;
|
|
196
|
+
};
|
|
197
|
+
}>, {}, {
|
|
62
198
|
ICONS: Readonly<{
|
|
63
|
-
readonly HEAD_WITH_QUESTION_MARK: VueConstructor<Vue>;
|
|
64
|
-
readonly RIBBON: VueConstructor<Vue>;
|
|
65
|
-
readonly SLIDERS_SEARCH: VueConstructor<Vue>;
|
|
66
|
-
readonly COMMENTS_CHECK: VueConstructor<Vue>;
|
|
67
199
|
readonly ANSWERS: VueConstructor<Vue>;
|
|
200
|
+
readonly CHANGE: VueConstructor<Vue>;
|
|
201
|
+
readonly COMMENTS_CHECK: VueConstructor<Vue>;
|
|
202
|
+
readonly HEAD_WITH_QUESTION_MARK: VueConstructor<Vue>;
|
|
68
203
|
readonly HIDE_ANSWERS: VueConstructor<Vue>;
|
|
204
|
+
readonly RIBBON: VueConstructor<Vue>;
|
|
69
205
|
readonly SIDEBAR_FLIP_SOLID: VueConstructor<Vue>;
|
|
206
|
+
readonly SLIDERS_SEARCH: VueConstructor<Vue>;
|
|
70
207
|
readonly FA_ADDRESS_CARD: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
71
208
|
readonly FA_ANGLE_DOWN: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
72
209
|
readonly FA_ANGLE_LEFT: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -258,6 +395,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
258
395
|
readonly FA_UNLOCK_KEYHOLE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
259
396
|
readonly FA_UPLOAD: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
260
397
|
readonly FA_USER: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
398
|
+
readonly FA_USER_GEAR: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
261
399
|
readonly FA_USER_DOCTOR_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
262
400
|
readonly FA_VIDEO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
263
401
|
readonly FA_VOLUME_HIGH_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -313,7 +451,48 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
313
451
|
iconSize(): string;
|
|
314
452
|
colorClassName(): string;
|
|
315
453
|
loadingIconSize(): string;
|
|
316
|
-
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<
|
|
454
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
455
|
+
size: {
|
|
456
|
+
type: StringConstructor;
|
|
457
|
+
default: "medium";
|
|
458
|
+
validator(value: import('../../utils/type.utils').Value<typeof import('../Buttons/Button').BUTTON_SIZES>): boolean;
|
|
459
|
+
};
|
|
460
|
+
type: {
|
|
461
|
+
type: StringConstructor;
|
|
462
|
+
default: "filled";
|
|
463
|
+
validator(value: import('../../utils/type.utils').Value<typeof BUTTON_TYPES>): boolean;
|
|
464
|
+
};
|
|
465
|
+
color: {
|
|
466
|
+
type: StringConstructor;
|
|
467
|
+
default: "primary";
|
|
468
|
+
validator(value: import('../../utils/type.utils').Value<typeof import('../..').ICON_BUTTON_COLORS>): boolean;
|
|
469
|
+
};
|
|
470
|
+
radius: {
|
|
471
|
+
type: StringConstructor;
|
|
472
|
+
default: "capsule";
|
|
473
|
+
validator(value: import('../../utils/type.utils').Value<typeof BUTTON_RADIUSES>): boolean;
|
|
474
|
+
};
|
|
475
|
+
state: {
|
|
476
|
+
type: StringConstructor;
|
|
477
|
+
default: "default";
|
|
478
|
+
validator(value: import('../../utils/type.utils').Value<typeof import('../Buttons/Button').BUTTON_STATES>): boolean;
|
|
479
|
+
};
|
|
480
|
+
iconLeft: {
|
|
481
|
+
type: ObjectConstructor;
|
|
482
|
+
default: null;
|
|
483
|
+
validator(icon: unknown): boolean;
|
|
484
|
+
};
|
|
485
|
+
iconRight: {
|
|
486
|
+
type: ObjectConstructor;
|
|
487
|
+
default: null;
|
|
488
|
+
validator(icon: unknown): boolean;
|
|
489
|
+
};
|
|
490
|
+
elevation: {
|
|
491
|
+
type: StringConstructor;
|
|
492
|
+
default: "none";
|
|
493
|
+
validator(value: import('../../utils/type.utils').Value<typeof import('../Buttons/Button').BUTTON_ELEVATIONS>): boolean;
|
|
494
|
+
};
|
|
495
|
+
}>> & Readonly<{}>, {
|
|
317
496
|
size: string;
|
|
318
497
|
type: string;
|
|
319
498
|
color: string;
|
|
@@ -392,14 +571,14 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
392
571
|
default: boolean;
|
|
393
572
|
};
|
|
394
573
|
}>> & Readonly<{}>, {
|
|
395
|
-
rotation: number;
|
|
396
574
|
size: string;
|
|
575
|
+
rotation: number;
|
|
397
576
|
flippedVertical: boolean;
|
|
398
577
|
flippedHorizontal: boolean;
|
|
399
578
|
touchable: boolean;
|
|
400
579
|
spinning: boolean;
|
|
401
580
|
}, {}, {
|
|
402
|
-
FontAwesomeIcon: import('vue').DefineComponent<import('@fortawesome/vue-fontawesome').FontAwesomeIconProps
|
|
581
|
+
FontAwesomeIcon: import('vue').DefineComponent<import('@fortawesome/vue-fontawesome').FontAwesomeIconProps>;
|
|
403
582
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
404
583
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
405
584
|
DsCard: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -416,15 +595,15 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
416
595
|
default: boolean;
|
|
417
596
|
};
|
|
418
597
|
borderPosition: {
|
|
419
|
-
type: PropType<
|
|
598
|
+
type: PropType<import('../Cards/Card/Card.consts').CardBorderPositions>;
|
|
420
599
|
default: string;
|
|
421
600
|
};
|
|
422
601
|
borderSize: {
|
|
423
|
-
type: PropType<
|
|
602
|
+
type: PropType<import('../Cards/Card/Card.consts').CardBorderSizes>;
|
|
424
603
|
default: string;
|
|
425
604
|
};
|
|
426
605
|
borderColor: {
|
|
427
|
-
type: PropType<
|
|
606
|
+
type: PropType<import('../Cards/Card/Card.consts').CardBorderColors>;
|
|
428
607
|
default: string;
|
|
429
608
|
};
|
|
430
609
|
hasLoadingBar: {
|
|
@@ -432,7 +611,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
432
611
|
default: boolean;
|
|
433
612
|
};
|
|
434
613
|
loadingBarColor: {
|
|
435
|
-
type: PropType<
|
|
614
|
+
type: PropType<import('../LoadingBar').LoadingBarColors>;
|
|
436
615
|
default: string;
|
|
437
616
|
};
|
|
438
617
|
loadingBarTime: {
|
|
@@ -458,15 +637,15 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
458
637
|
default: boolean;
|
|
459
638
|
};
|
|
460
639
|
borderPosition: {
|
|
461
|
-
type: PropType<
|
|
640
|
+
type: PropType<import('../Cards/Card/Card.consts').CardBorderPositions>;
|
|
462
641
|
default: string;
|
|
463
642
|
};
|
|
464
643
|
borderSize: {
|
|
465
|
-
type: PropType<
|
|
644
|
+
type: PropType<import('../Cards/Card/Card.consts').CardBorderSizes>;
|
|
466
645
|
default: string;
|
|
467
646
|
};
|
|
468
647
|
borderColor: {
|
|
469
|
-
type: PropType<
|
|
648
|
+
type: PropType<import('../Cards/Card/Card.consts').CardBorderColors>;
|
|
470
649
|
default: string;
|
|
471
650
|
};
|
|
472
651
|
hasLoadingBar: {
|
|
@@ -474,7 +653,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
474
653
|
default: boolean;
|
|
475
654
|
};
|
|
476
655
|
loadingBarColor: {
|
|
477
|
-
type: PropType<
|
|
656
|
+
type: PropType<import('../LoadingBar').LoadingBarColors>;
|
|
478
657
|
default: string;
|
|
479
658
|
};
|
|
480
659
|
loadingBarTime: {
|
|
@@ -537,11 +716,11 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
537
716
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
538
717
|
DsLoadingBar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
539
718
|
color: {
|
|
540
|
-
type: PropType<
|
|
719
|
+
type: PropType<import('../LoadingBar').LoadingBarColors>;
|
|
541
720
|
default: string;
|
|
542
721
|
};
|
|
543
722
|
size: {
|
|
544
|
-
type: PropType<
|
|
723
|
+
type: PropType<import('../LoadingBar').LoadingBarSizes>;
|
|
545
724
|
default: string;
|
|
546
725
|
};
|
|
547
726
|
time: {
|
|
@@ -559,11 +738,11 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
559
738
|
};
|
|
560
739
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
561
740
|
color: {
|
|
562
|
-
type: PropType<
|
|
741
|
+
type: PropType<import('../LoadingBar').LoadingBarColors>;
|
|
563
742
|
default: string;
|
|
564
743
|
};
|
|
565
744
|
size: {
|
|
566
|
-
type: PropType<
|
|
745
|
+
type: PropType<import('../LoadingBar').LoadingBarSizes>;
|
|
567
746
|
default: string;
|
|
568
747
|
};
|
|
569
748
|
time: {
|
|
@@ -1,4 +1,27 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
counter: {
|
|
3
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
4
|
+
default: null;
|
|
5
|
+
};
|
|
6
|
+
color: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
validator(color: unknown): boolean;
|
|
10
|
+
};
|
|
11
|
+
icon: {
|
|
12
|
+
type: ObjectConstructor;
|
|
13
|
+
required: true;
|
|
14
|
+
validator(icon: unknown): boolean;
|
|
15
|
+
};
|
|
16
|
+
isSelected: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
isDisabled: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
}>, {}, {
|
|
2
25
|
ICON_SIZES: Readonly<{
|
|
3
26
|
XXX_SMALL: string;
|
|
4
27
|
XX_SMALL: string;
|
|
@@ -12,7 +35,30 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
12
35
|
}, {
|
|
13
36
|
colorClass(): string;
|
|
14
37
|
hasCounter(): boolean;
|
|
15
|
-
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<
|
|
38
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
39
|
+
counter: {
|
|
40
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
41
|
+
default: null;
|
|
42
|
+
};
|
|
43
|
+
color: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
validator(color: unknown): boolean;
|
|
47
|
+
};
|
|
48
|
+
icon: {
|
|
49
|
+
type: ObjectConstructor;
|
|
50
|
+
required: true;
|
|
51
|
+
validator(icon: unknown): boolean;
|
|
52
|
+
};
|
|
53
|
+
isSelected: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
isDisabled: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
}>> & Readonly<{}>, {
|
|
16
62
|
color: string;
|
|
17
63
|
isSelected: boolean;
|
|
18
64
|
isDisabled: boolean;
|
|
@@ -87,14 +133,14 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
87
133
|
default: boolean;
|
|
88
134
|
};
|
|
89
135
|
}>> & Readonly<{}>, {
|
|
90
|
-
rotation: number;
|
|
91
136
|
size: string;
|
|
137
|
+
rotation: number;
|
|
92
138
|
flippedVertical: boolean;
|
|
93
139
|
flippedHorizontal: boolean;
|
|
94
140
|
touchable: boolean;
|
|
95
141
|
spinning: boolean;
|
|
96
142
|
}, {}, {
|
|
97
|
-
FontAwesomeIcon: import('vue').DefineComponent<import('@fortawesome/vue-fontawesome').FontAwesomeIconProps
|
|
143
|
+
FontAwesomeIcon: import('vue').DefineComponent<import('@fortawesome/vue-fontawesome').FontAwesomeIconProps>;
|
|
98
144
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
99
145
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
100
146
|
export default _default;
|
|
@@ -5,27 +5,27 @@ export declare const TOGGLE_BUTTON_SIZES: {
|
|
|
5
5
|
readonly MEDIUM: "medium";
|
|
6
6
|
readonly LARGE: "large";
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type ToggleButtonSize = Value<typeof TOGGLE_BUTTON_SIZES>;
|
|
9
9
|
export declare const TOGGLE_BUTTON_COLORS: {
|
|
10
10
|
readonly NEUTRAL: "neutral";
|
|
11
11
|
readonly NEUTRAL_STRONG: "neutralStrong";
|
|
12
12
|
readonly NEUTRAL_HEAVY: "neutralHeavy";
|
|
13
13
|
readonly PRIMARY: "primary";
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type ToggleButtonColor = Value<typeof TOGGLE_BUTTON_COLORS>;
|
|
16
16
|
export declare const TOGGLE_BUTTON_RADIUSES: {
|
|
17
17
|
readonly CAPSULE: "capsule";
|
|
18
18
|
readonly ROUNDED: "rounded";
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type ToggleButtonRadius = Value<typeof TOGGLE_BUTTON_RADIUSES>;
|
|
21
21
|
export declare const TOGGLE_BUTTON_LABEL_SIZES: {
|
|
22
22
|
readonly SMALL: "small";
|
|
23
23
|
readonly MEDIUM: "medium";
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type ToggleButtonLabelSize = Value<typeof TOGGLE_BUTTON_LABEL_SIZES>;
|
|
26
26
|
export declare const TOGGLE_BUTTON_STATES: {
|
|
27
27
|
readonly DEFAULT: "default";
|
|
28
28
|
readonly DISABLED: "disabled";
|
|
29
29
|
readonly LOADING: "loading";
|
|
30
30
|
};
|
|
31
|
-
export
|
|
31
|
+
export type ToggleButtonState = Value<typeof TOGGLE_BUTTON_STATES>;
|
|
@@ -1,15 +1,73 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Value } from '../../../utils/type.utils';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { TOGGLE_BUTTON_COLORS, TOGGLE_BUTTON_RADIUSES, TOGGLE_BUTTON_SIZES, TOGGLE_BUTTON_STATES, ToggleButtonColor, ToggleButtonLabelSize, ToggleButtonRadius, ToggleButtonSize, ToggleButtonState } from './ToggleButton.consts';
|
|
4
|
+
import { IconItem, IconSize } from '../../Icons/Icon';
|
|
3
5
|
|
|
4
|
-
declare const _default: import('vue').DefineComponent<{
|
|
6
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
|
+
color: {
|
|
8
|
+
type: PropType<ToggleButtonColor>;
|
|
9
|
+
default: "neutral";
|
|
10
|
+
validator(value: Value<typeof TOGGLE_BUTTON_COLORS>): boolean;
|
|
11
|
+
};
|
|
12
|
+
hasSmallHorizontalPadding: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
iconLeft: {
|
|
17
|
+
type: PropType<IconItem>;
|
|
18
|
+
default: null;
|
|
19
|
+
validator(icon: unknown): boolean;
|
|
20
|
+
};
|
|
21
|
+
iconRight: {
|
|
22
|
+
type: PropType<IconItem>;
|
|
23
|
+
default: null;
|
|
24
|
+
validator(icon: unknown): boolean;
|
|
25
|
+
};
|
|
26
|
+
isInteractive: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
isLabelUppercase: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
isSelected: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
label: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
labelSize: {
|
|
43
|
+
type: PropType<ToggleButtonLabelSize>;
|
|
44
|
+
default: "medium";
|
|
45
|
+
};
|
|
46
|
+
radius: {
|
|
47
|
+
type: PropType<ToggleButtonRadius>;
|
|
48
|
+
default: "capsule";
|
|
49
|
+
validator(value: Value<typeof TOGGLE_BUTTON_RADIUSES>): boolean;
|
|
50
|
+
};
|
|
51
|
+
size: {
|
|
52
|
+
type: PropType<ToggleButtonSize>;
|
|
53
|
+
default: "medium";
|
|
54
|
+
validator(value: Value<typeof TOGGLE_BUTTON_SIZES>): boolean;
|
|
55
|
+
};
|
|
56
|
+
state: {
|
|
57
|
+
type: PropType<ToggleButtonState>;
|
|
58
|
+
default: "default";
|
|
59
|
+
validator(value: Value<typeof TOGGLE_BUTTON_STATES>): boolean;
|
|
60
|
+
};
|
|
61
|
+
}>, {}, {
|
|
5
62
|
ICONS: Readonly<{
|
|
6
|
-
readonly HEAD_WITH_QUESTION_MARK: VueConstructor<Vue>;
|
|
7
|
-
readonly RIBBON: VueConstructor<Vue>;
|
|
8
|
-
readonly SLIDERS_SEARCH: VueConstructor<Vue>;
|
|
9
|
-
readonly COMMENTS_CHECK: VueConstructor<Vue>;
|
|
10
63
|
readonly ANSWERS: VueConstructor<Vue>;
|
|
64
|
+
readonly CHANGE: VueConstructor<Vue>;
|
|
65
|
+
readonly COMMENTS_CHECK: VueConstructor<Vue>;
|
|
66
|
+
readonly HEAD_WITH_QUESTION_MARK: VueConstructor<Vue>;
|
|
11
67
|
readonly HIDE_ANSWERS: VueConstructor<Vue>;
|
|
68
|
+
readonly RIBBON: VueConstructor<Vue>;
|
|
12
69
|
readonly SIDEBAR_FLIP_SOLID: VueConstructor<Vue>;
|
|
70
|
+
readonly SLIDERS_SEARCH: VueConstructor<Vue>;
|
|
13
71
|
readonly FA_ADDRESS_CARD: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
14
72
|
readonly FA_ANGLE_DOWN: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
15
73
|
readonly FA_ANGLE_LEFT: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -201,6 +259,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
201
259
|
readonly FA_UNLOCK_KEYHOLE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
202
260
|
readonly FA_UPLOAD: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
203
261
|
readonly FA_USER: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
262
|
+
readonly FA_USER_GEAR: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
204
263
|
readonly FA_USER_DOCTOR_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
205
264
|
readonly FA_VIDEO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
206
265
|
readonly FA_VOLUME_HIGH_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
@@ -237,7 +296,62 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
237
296
|
colorClassName(): string;
|
|
238
297
|
iconSize(): IconSize;
|
|
239
298
|
isInteractiveComputed(): boolean;
|
|
240
|
-
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<
|
|
299
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
300
|
+
color: {
|
|
301
|
+
type: PropType<ToggleButtonColor>;
|
|
302
|
+
default: "neutral";
|
|
303
|
+
validator(value: Value<typeof TOGGLE_BUTTON_COLORS>): boolean;
|
|
304
|
+
};
|
|
305
|
+
hasSmallHorizontalPadding: {
|
|
306
|
+
type: BooleanConstructor;
|
|
307
|
+
default: boolean;
|
|
308
|
+
};
|
|
309
|
+
iconLeft: {
|
|
310
|
+
type: PropType<IconItem>;
|
|
311
|
+
default: null;
|
|
312
|
+
validator(icon: unknown): boolean;
|
|
313
|
+
};
|
|
314
|
+
iconRight: {
|
|
315
|
+
type: PropType<IconItem>;
|
|
316
|
+
default: null;
|
|
317
|
+
validator(icon: unknown): boolean;
|
|
318
|
+
};
|
|
319
|
+
isInteractive: {
|
|
320
|
+
type: BooleanConstructor;
|
|
321
|
+
default: boolean;
|
|
322
|
+
};
|
|
323
|
+
isLabelUppercase: {
|
|
324
|
+
type: BooleanConstructor;
|
|
325
|
+
default: boolean;
|
|
326
|
+
};
|
|
327
|
+
isSelected: {
|
|
328
|
+
type: BooleanConstructor;
|
|
329
|
+
default: boolean;
|
|
330
|
+
};
|
|
331
|
+
label: {
|
|
332
|
+
type: StringConstructor;
|
|
333
|
+
default: string;
|
|
334
|
+
};
|
|
335
|
+
labelSize: {
|
|
336
|
+
type: PropType<ToggleButtonLabelSize>;
|
|
337
|
+
default: "medium";
|
|
338
|
+
};
|
|
339
|
+
radius: {
|
|
340
|
+
type: PropType<ToggleButtonRadius>;
|
|
341
|
+
default: "capsule";
|
|
342
|
+
validator(value: Value<typeof TOGGLE_BUTTON_RADIUSES>): boolean;
|
|
343
|
+
};
|
|
344
|
+
size: {
|
|
345
|
+
type: PropType<ToggleButtonSize>;
|
|
346
|
+
default: "medium";
|
|
347
|
+
validator(value: Value<typeof TOGGLE_BUTTON_SIZES>): boolean;
|
|
348
|
+
};
|
|
349
|
+
state: {
|
|
350
|
+
type: PropType<ToggleButtonState>;
|
|
351
|
+
default: "default";
|
|
352
|
+
validator(value: Value<typeof TOGGLE_BUTTON_STATES>): boolean;
|
|
353
|
+
};
|
|
354
|
+
}>> & Readonly<{
|
|
241
355
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
242
356
|
}>, {
|
|
243
357
|
size: ToggleButtonSize;
|
|
@@ -322,14 +436,14 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
322
436
|
default: boolean;
|
|
323
437
|
};
|
|
324
438
|
}>> & Readonly<{}>, {
|
|
325
|
-
rotation: number;
|
|
326
439
|
size: string;
|
|
440
|
+
rotation: number;
|
|
327
441
|
flippedVertical: boolean;
|
|
328
442
|
flippedHorizontal: boolean;
|
|
329
443
|
touchable: boolean;
|
|
330
444
|
spinning: boolean;
|
|
331
445
|
}, {}, {
|
|
332
|
-
FontAwesomeIcon: import('vue').DefineComponent<import('@fortawesome/vue-fontawesome').FontAwesomeIconProps
|
|
446
|
+
FontAwesomeIcon: import('vue').DefineComponent<import('@fortawesome/vue-fontawesome').FontAwesomeIconProps>;
|
|
333
447
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
334
448
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
335
449
|
export default _default;
|
|
@@ -4,4 +4,4 @@ export declare const TOOLTIP_PLACEMENTS: {
|
|
|
4
4
|
readonly LEFT: "left";
|
|
5
5
|
readonly RIGHT: "right";
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type TooltipPlacement = typeof TOOLTIP_PLACEMENTS[keyof typeof TOOLTIP_PLACEMENTS];
|
|
@@ -190,6 +190,7 @@ export declare const FONTAWESOME_ICONS: {
|
|
|
190
190
|
readonly FA_UNLOCK_KEYHOLE: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
191
191
|
readonly FA_UPLOAD: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
192
192
|
readonly FA_USER: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
193
|
+
readonly FA_USER_GEAR: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
193
194
|
readonly FA_USER_DOCTOR_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
194
195
|
readonly FA_VIDEO_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
|
195
196
|
readonly FA_VOLUME_HIGH_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
|
package/dist/lib/js/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { default as Avatar } from './components/Avatar';
|
|
2
|
+
export * from './components/Avatar/Avatar.consts';
|
|
1
3
|
export { default as BadgeScore } from './components/BadgeScore';
|
|
2
4
|
export { default as DsBadgeScore } from './components/BadgeScore';
|
|
3
5
|
export * from './components/BadgeScore/BadgeScore.consts';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Value<T extends {}> = T[keyof T];
|
|
@@ -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-
|
|
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-KlrZhBvI.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};
|