@dubai-design-system/components-js 4.1.0 → 5.0.0
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/CHANGELOG.md +151 -0
- package/dist/cjs/dda-accordion.cjs.entry.js +7 -12
- package/dist/cjs/dda-alert.cjs.entry.js +21 -13
- package/dist/cjs/dda-attach-file.cjs.entry.js +27 -18
- package/dist/cjs/dda-avatar.cjs.entry.js +15 -15
- package/dist/cjs/dda-banner.cjs.entry.js +23 -0
- package/dist/cjs/dda-breadcrumb.cjs.entry.js +5 -11
- package/dist/cjs/dda-button.cjs.entry.js +6 -11
- package/dist/cjs/dda-checkbox.cjs.entry.js +5 -11
- package/dist/cjs/dda-chip.cjs.entry.js +5 -11
- package/dist/cjs/dda-credit-card.cjs.entry.js +5 -11
- package/dist/cjs/dda-creditcard-field.cjs.entry.js +23 -11
- package/dist/cjs/dda-dropdown.cjs.entry.js +5 -11
- package/dist/cjs/dda-footer.cjs.entry.js +5 -8
- package/dist/cjs/dda-header.cjs.entry.js +123 -25
- package/dist/cjs/dda-home-banner.cjs.entry.js +204 -0
- package/dist/cjs/dda-horizontal-stepper.cjs.entry.js +5 -11
- package/dist/cjs/dda-input.cjs.entry.js +23 -11
- package/dist/cjs/dda-link-button_2.cjs.entry.js +19 -22
- package/dist/cjs/dda-number-field.cjs.entry.js +20 -11
- package/dist/cjs/dda-pagination.cjs.entry.js +17 -19
- package/dist/cjs/dda-phonefield.cjs.entry.js +201 -189
- package/dist/cjs/dda-progressbar.cjs.entry.js +6 -11
- package/dist/cjs/dda-range-slider.cjs.entry.js +5 -10
- package/dist/cjs/dda-search-input.cjs.entry.js +24 -14
- package/dist/cjs/dda-segmented-tabs.cjs.entry.js +32 -13
- package/dist/cjs/dda-select.cjs.entry.js +115 -12
- package/dist/cjs/dda-sticky-footer.cjs.entry.js +21 -8
- package/dist/cjs/dda-tabs.cjs.entry.js +36 -19
- package/dist/cjs/dda-textarea.cjs.entry.js +6131 -6168
- package/dist/cjs/dda-toggle.cjs.entry.js +5 -11
- package/dist/cjs/dda-tooltip.cjs.entry.js +46 -0
- package/dist/cjs/dda-ui-card.cjs.entry.js +26 -0
- package/dist/cjs/dda-vertical-stepper.cjs.entry.js +4 -9
- package/dist/cjs/dda.cjs.js +7 -10
- package/dist/cjs/index-DGHrEPBX.js +1986 -0
- package/dist/cjs/index.cjs.js +12 -16
- package/dist/cjs/loader.cjs.js +3 -8
- package/dist/collection/assets/countries.js +179 -179
- package/dist/collection/assets/digital-logo.svg +82 -82
- package/dist/collection/assets/fonts/dubai/DubaiBold.svg +5922 -5922
- package/dist/collection/assets/fonts/dubai/DubaiLight.svg +5935 -5935
- package/dist/collection/assets/fonts/dubai/DubaiMedium.svg +5926 -5926
- package/dist/collection/assets/fonts/dubai/DubaiRegular.svg +5925 -5925
- package/dist/collection/assets/img/dda-icon-logo.svg +4 -4
- package/dist/collection/assets/img/digital-logo-white.svg +82 -82
- package/dist/collection/assets/img/digital-logo.svg +82 -82
- package/dist/collection/assets/img/icn/DubaiAI.svg +267 -267
- package/dist/collection/assets/img/icn/icn-Excel.svg +9 -9
- package/dist/collection/assets/img/icn/icn-Image.svg +6 -6
- package/dist/collection/assets/img/icn/icn-OneNote.svg +6 -6
- package/dist/collection/assets/img/icn/icn-PDF.svg +7 -7
- package/dist/collection/assets/img/icn/icn-PowerPoint.svg +10 -10
- package/dist/collection/assets/img/icn/icn-Video.svg +5 -5
- package/dist/collection/assets/img/icn/icn-Word.svg +10 -10
- package/dist/collection/assets/img/icn/icn-accessibility-dark.svg +3 -3
- package/dist/collection/assets/img/icn/icn-apple-dark.svg +3 -3
- package/dist/collection/assets/img/icn/icn-apple.svg +3 -3
- package/dist/collection/assets/img/icn/icn-chat_bubble_outline.svg +3 -3
- package/dist/collection/assets/img/icn/icn-complaints.svg +28 -28
- package/dist/collection/assets/img/icn/icn-facebook-dark.svg +4 -4
- package/dist/collection/assets/img/icn/icn-facebook.svg +11 -11
- package/dist/collection/assets/img/icn/icn-google-dark.svg +13 -13
- package/dist/collection/assets/img/icn/icn-google.svg +13 -13
- package/dist/collection/assets/img/icn/icn-grid-view.svg +3 -3
- package/dist/collection/assets/img/icn/icn-happy.svg +3 -3
- package/dist/collection/assets/img/icn/icn-instagram-dark.svg +12 -12
- package/dist/collection/assets/img/icn/icn-instagram.svg +30 -30
- package/dist/collection/assets/img/icn/icn-search-dark.svg +3 -3
- package/dist/collection/assets/img/icn/icn-user-dark.svg +3 -3
- package/dist/collection/collection-manifest.json +6 -2
- package/dist/collection/components/dda-accordion/dda-accordion.css +82 -72
- package/dist/collection/components/dda-accordion/dda-accordion.js +30 -10
- package/dist/collection/components/dda-accordion/dda-accordion.stories.js +19 -13
- package/dist/collection/components/dda-alert/dda-alert.css +148 -148
- package/dist/collection/components/dda-alert/dda-alert.js +118 -16
- package/dist/collection/components/dda-alert/dda-alert.stories.js +39 -33
- package/dist/collection/components/dda-attach-file/dda-attach-file.js +75 -23
- package/dist/collection/components/dda-attach-file/dda-attach-file.stories.js +38 -21
- package/dist/collection/components/dda-avatar/dda-avatar.css +306 -280
- package/dist/collection/components/dda-avatar/dda-avatar.js +48 -23
- package/dist/collection/components/dda-avatar/dda-avatar.stories.js +51 -43
- package/dist/collection/components/dda-banner/dda-banner.css +3 -0
- package/dist/collection/components/dda-banner/dda-banner.js +90 -0
- package/dist/collection/components/dda-breadcrumb/dda-breadcrumb.css +58 -58
- package/dist/collection/components/dda-breadcrumb/dda-breadcrumb.js +6 -7
- package/dist/collection/components/dda-breadcrumb/dda-breadcrumb.stories.js +16 -17
- package/dist/collection/components/dda-button/dda-button.js +39 -19
- package/dist/collection/components/dda-button/dda-button.stories.js +26 -17
- package/dist/collection/components/dda-checkbox/dda-checkbox.css +119 -119
- package/dist/collection/components/dda-checkbox/dda-checkbox.js +22 -23
- package/dist/collection/components/dda-checkbox/dda-checkbox.stories.js +18 -19
- package/dist/collection/components/dda-chip/dda-chip.css +113 -100
- package/dist/collection/components/dda-chip/dda-chip.js +12 -13
- package/dist/collection/components/dda-chip/dda-chip.stories.js +17 -18
- package/dist/collection/components/dda-credit-card/dda-credit-card.css +109 -103
- package/dist/collection/components/dda-credit-card/dda-credit-card.js +14 -15
- package/dist/collection/components/dda-credit-card/dda-credit-card.stories.js +14 -15
- package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.js +84 -28
- package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.stories.js +39 -22
- package/dist/collection/components/dda-dropdown/dda-dropdown.js +60 -23
- package/dist/collection/components/dda-dropdown/dda-dropdown.stories.js +38 -21
- package/dist/collection/components/dda-footer/dda-footer.js +21 -23
- package/dist/collection/components/dda-footer/dda-footer.stories.js +29 -30
- package/dist/collection/components/dda-header/dda-header.css +36 -0
- package/dist/collection/components/dda-header/dda-header.js +418 -26
- package/dist/collection/components/dda-header/dda-header.stories.js +151 -60
- package/dist/collection/components/dda-home-banner/dda-home-banner.js +397 -0
- package/dist/collection/components/dda-home-banner/dda-home-banner.stories.js +94 -0
- package/dist/collection/components/dda-home-banner/home-banner.css +195 -0
- package/dist/collection/components/dda-input/dda-input.js +63 -27
- package/dist/collection/components/dda-input/dda-input.stories.js +33 -21
- package/dist/collection/components/dda-link-button/dda-link-button.js +20 -21
- package/dist/collection/components/dda-link-button/dda-link-button.stories.js +16 -17
- package/dist/collection/components/dda-number-field/dda-number-field.js +99 -28
- package/dist/collection/components/dda-number-field/dda-number-field.stories.js +47 -24
- package/dist/collection/components/dda-pagination/dda-pagination.css +175 -167
- package/dist/collection/components/dda-pagination/dda-pagination.js +241 -14
- package/dist/collection/components/dda-pagination/dda-pagination.stories.js +156 -13
- package/dist/collection/components/dda-phonefield/dda-phonefield.js +120 -26
- package/dist/collection/components/dda-phonefield/dda-phonefield.stories.js +60 -20
- package/dist/collection/components/dda-progressbar/dda-progressbar.css +98 -94
- package/dist/collection/components/dda-progressbar/dda-progressbar.js +30 -10
- package/dist/collection/components/dda-progressbar/dda-progressbar.stories.js +19 -14
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.css +3858 -3470
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.js +22 -23
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.stories.js +18 -19
- package/dist/collection/components/dda-range-slider/dda-range-slider.css +152 -136
- package/dist/collection/components/dda-range-slider/dda-range-slider.js +60 -23
- package/dist/collection/components/dda-range-slider/dda-range-slider.stories.js +34 -19
- package/dist/collection/components/dda-search-input/dda-search-input.js +116 -24
- package/dist/collection/components/dda-search-input/dda-search-input.stories.js +57 -22
- package/dist/collection/components/dda-select/dda-select.js +173 -25
- package/dist/collection/components/dda-select/dda-select.stories.js +36 -19
- package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.js +161 -83
- package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.stories.js +68 -56
- package/dist/collection/components/dda-tabs/dda-tabs.css +119 -119
- package/dist/collection/components/dda-tabs/dda-tabs.js +119 -21
- package/dist/collection/components/dda-tabs/dda-tabs.stories.js +42 -16
- package/dist/collection/components/dda-textarea/dda-textarea.js +116 -29
- package/dist/collection/components/dda-textarea/dda-textarea.stories.js +27 -19
- package/dist/collection/components/dda-toggle/dda-toggle.css +119 -119
- package/dist/collection/components/dda-toggle/dda-toggle.js +14 -15
- package/dist/collection/components/dda-toggle/dda-toggle.stories.js +17 -18
- package/dist/collection/components/dda-tooltip/dda-tooltip.css +146 -130
- package/dist/collection/components/dda-tooltip/dda-tooltip.js +39 -10
- package/dist/collection/components/dda-tooltip/dda-tooltip.stories.js +16 -17
- package/dist/collection/components/dda-ui-card/dda-ui-card.css +3 -0
- package/dist/collection/components/dda-ui-card/dda-ui-card.js +209 -0
- package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.css +51 -51
- package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.js +116 -12
- package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.stories.js +39 -13
- package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.css +120 -108
- package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.js +8 -9
- package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.stories.js +19 -20
- package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.css +112 -112
- package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.js +7 -8
- package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.stories.js +19 -20
- package/dist/collection/global/dda-button.css +611 -580
- package/dist/collection/global/global.css +3734 -3346
- package/dist/collection/global/input.css +676 -615
- package/dist/collection/index.js +0 -1
- package/dist/collection/utils/applyTheme.js +12 -12
- package/dist/collection/utils/contrast.js +38 -0
- package/dist/collection/utils/utils.js +0 -1
- package/dist/components/dda-accordion.js +1 -54
- package/dist/components/dda-alert.js +1 -60
- package/dist/components/dda-attach-file.js +1 -107
- package/dist/components/dda-avatar.js +1 -91
- package/dist/components/dda-banner.d.ts +11 -0
- package/dist/components/dda-banner.js +1 -0
- package/dist/components/dda-breadcrumb.js +1 -55
- package/dist/components/dda-button.js +1 -8
- package/dist/components/dda-checkbox.js +1 -60
- package/dist/components/dda-chip.js +1 -51
- package/dist/components/dda-credit-card.js +1 -54
- package/dist/components/dda-creditcard-field.js +1 -97
- package/dist/components/dda-dropdown.js +1 -86
- package/dist/components/dda-footer.js +1 -64
- package/dist/components/dda-header.js +1 -155
- package/dist/components/dda-home-banner.d.ts +11 -0
- package/dist/components/dda-home-banner.js +1 -0
- package/dist/components/dda-horizontal-stepper.js +1 -50
- package/dist/components/dda-input.js +1 -67
- package/dist/components/dda-link-button.js +1 -8
- package/dist/components/dda-number-field.js +1 -98
- package/dist/components/dda-pagination.js +1 -103
- package/dist/components/dda-phonefield.js +1 -277
- package/dist/components/dda-progressbar.js +1 -53
- package/dist/components/dda-radiobutton.js +1 -8
- package/dist/components/dda-range-slider.js +1 -80
- package/dist/components/dda-search-input.js +1 -68
- package/dist/components/dda-segmented-tabs.js +1 -50
- package/dist/components/dda-select.js +1 -76
- package/dist/components/dda-sticky-footer.js +1 -89
- package/dist/components/dda-tabs.js +1 -61
- package/dist/components/dda-textarea.js +1 -16461
- package/dist/components/dda-toggle.js +1 -54
- package/dist/components/dda-tooltip.js +1 -8
- package/dist/components/dda-ui-card.d.ts +11 -0
- package/dist/components/dda-ui-card.js +1 -0
- package/dist/components/dda-vertical-stepper.js +1 -48
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -23
- package/dist/components/p-BaW1ewxd.js +1 -0
- package/dist/components/p-C2ufT7tL.js +1 -0
- package/dist/components/p-CbUih1OY.js +1 -0
- package/dist/components/p-Cgvws3Uk.js +1 -0
- package/dist/components/p-HakkUtRK.js +1 -0
- package/dist/dda/dda.css +20 -0
- package/dist/dda/dda.esm.js +1 -2
- package/dist/dda/index.esm.js +1 -2
- package/dist/dda/p-0b56fbcb.entry.js +1 -0
- package/dist/dda/p-1df4494d.entry.js +1 -0
- package/dist/dda/p-207c4034.entry.js +1 -0
- package/dist/dda/p-23c6a709.entry.js +1 -0
- package/dist/dda/p-2c0f4e9e.entry.js +1 -0
- package/dist/dda/p-2e4e47ec.entry.js +1 -0
- package/dist/dda/p-3b9a784a.entry.js +1 -0
- package/dist/dda/p-4400194a.entry.js +1 -0
- package/dist/dda/p-48f14688.entry.js +1 -0
- package/dist/dda/p-4aef15b0.entry.js +1 -0
- package/dist/dda/p-5d0b1fea.entry.js +1 -0
- package/dist/dda/p-6150d6ca.entry.js +1 -0
- package/dist/dda/p-6def14a1.entry.js +1 -0
- package/dist/dda/p-7c8b1191.entry.js +1 -0
- package/dist/dda/p-7eb8942f.entry.js +1 -0
- package/dist/dda/p-82dc3344.entry.js +1 -0
- package/dist/dda/p-88c5aa03.entry.js +1 -0
- package/dist/dda/p-8bbd3b3b.entry.js +1 -0
- package/dist/dda/p-96aaf2c6.entry.js +1 -0
- package/dist/dda/p-99e59635.entry.js +1 -0
- package/dist/dda/p-CfK_KUZU.js +2 -0
- package/dist/dda/p-b6096645.entry.js +1 -0
- package/dist/dda/p-b68b2d3a.entry.js +1 -0
- package/dist/dda/p-c39fc443.entry.js +1 -0
- package/dist/dda/p-cf6c7bc5.entry.js +1 -0
- package/dist/dda/p-d096ea61.entry.js +1 -0
- package/dist/dda/p-d5274874.entry.js +1 -0
- package/dist/dda/p-d606adfc.entry.js +1 -0
- package/dist/dda/p-da82dc4c.entry.js +1 -0
- package/dist/dda/p-dc72bfd8.entry.js +1 -0
- package/dist/dda/p-dec1b61c.entry.js +1 -0
- package/dist/dda/p-eb2d0c46.entry.js +1 -0
- package/dist/dda/p-f9c681e4.entry.js +1 -0
- package/dist/dda/p-fd637136.entry.js +1 -0
- package/dist/esm/dda-accordion.entry.js +7 -10
- package/dist/esm/dda-alert.entry.js +21 -11
- package/dist/esm/dda-attach-file.entry.js +27 -16
- package/dist/esm/dda-avatar.entry.js +15 -13
- package/dist/esm/dda-banner.entry.js +21 -0
- package/dist/esm/dda-breadcrumb.entry.js +5 -9
- package/dist/esm/dda-button.entry.js +6 -9
- package/dist/esm/dda-checkbox.entry.js +5 -9
- package/dist/esm/dda-chip.entry.js +5 -9
- package/dist/esm/dda-credit-card.entry.js +5 -9
- package/dist/esm/dda-creditcard-field.entry.js +23 -9
- package/dist/esm/dda-dropdown.entry.js +5 -9
- package/dist/esm/dda-footer.entry.js +6 -7
- package/dist/esm/dda-header.entry.js +123 -23
- package/dist/esm/dda-home-banner.entry.js +202 -0
- package/dist/esm/dda-horizontal-stepper.entry.js +5 -9
- package/dist/esm/dda-input.entry.js +23 -9
- package/dist/esm/dda-link-button_2.entry.js +19 -20
- package/dist/esm/dda-number-field.entry.js +20 -9
- package/dist/esm/dda-pagination.entry.js +17 -17
- package/dist/esm/dda-phonefield.entry.js +201 -187
- package/dist/esm/dda-progressbar.entry.js +6 -9
- package/dist/esm/dda-range-slider.entry.js +5 -8
- package/dist/esm/dda-search-input.entry.js +24 -12
- package/dist/esm/dda-segmented-tabs.entry.js +32 -11
- package/dist/esm/dda-select.entry.js +115 -10
- package/dist/esm/dda-sticky-footer.entry.js +22 -7
- package/dist/esm/dda-tabs.entry.js +36 -17
- package/dist/esm/dda-textarea.entry.js +6131 -6166
- package/dist/esm/dda-toggle.entry.js +5 -9
- package/dist/esm/dda-tooltip.entry.js +44 -0
- package/dist/esm/dda-ui-card.entry.js +24 -0
- package/dist/esm/dda-vertical-stepper.entry.js +4 -7
- package/dist/esm/dda.js +5 -7
- package/dist/esm/index-CfK_KUZU.js +1976 -0
- package/dist/esm/index.js +12 -14
- package/dist/esm/loader.js +3 -6
- package/dist/types/components/dda-accordion/dda-accordion.d.ts +1 -0
- package/dist/types/components/dda-accordion/dda-accordion.stories.d.ts +4 -0
- package/dist/types/components/dda-alert/dda-alert.d.ts +9 -0
- package/dist/types/components/dda-alert/dda-alert.stories.d.ts +4 -0
- package/dist/types/components/dda-attach-file/dda-attach-file.d.ts +5 -0
- package/dist/types/components/dda-attach-file/dda-attach-file.stories.d.ts +8 -0
- package/dist/types/components/dda-avatar/dda-avatar.d.ts +1 -0
- package/dist/types/components/dda-avatar/dda-avatar.stories.d.ts +6 -0
- package/dist/types/components/dda-banner/dda-banner.d.ts +13 -0
- package/dist/types/components/dda-button/dda-button.d.ts +1 -0
- package/dist/types/components/dda-button/dda-button.stories.d.ts +6 -0
- package/dist/types/components/dda-creditcard-field/dda-creditcard-field.d.ts +5 -0
- package/dist/types/components/dda-creditcard-field/dda-creditcard-field.stories.d.ts +12 -0
- package/dist/types/components/dda-dropdown/dda-dropdown.d.ts +2 -0
- package/dist/types/components/dda-dropdown/dda-dropdown.stories.d.ts +12 -0
- package/dist/types/components/dda-header/dda-header.d.ts +25 -1
- package/dist/types/components/dda-header/dda-header.stories.d.ts +62 -0
- package/dist/types/components/dda-home-banner/dda-home-banner.d.ts +56 -0
- package/dist/types/components/dda-home-banner/dda-home-banner.stories.d.ts +51 -0
- package/dist/types/components/dda-input/dda-input.d.ts +4 -0
- package/dist/types/components/dda-input/dda-input.stories.d.ts +6 -0
- package/dist/types/components/dda-number-field/dda-number-field.d.ts +6 -0
- package/dist/types/components/dda-number-field/dda-number-field.stories.d.ts +18 -0
- package/dist/types/components/dda-pagination/dda-pagination.d.ts +12 -0
- package/dist/types/components/dda-pagination/dda-pagination.stories.d.ts +72 -0
- package/dist/types/components/dda-phonefield/dda-phonefield.d.ts +7 -0
- package/dist/types/components/dda-phonefield/dda-phonefield.stories.d.ts +24 -0
- package/dist/types/components/dda-progressbar/dda-progressbar.d.ts +1 -0
- package/dist/types/components/dda-progressbar/dda-progressbar.stories.d.ts +7 -0
- package/dist/types/components/dda-range-slider/dda-range-slider.d.ts +2 -0
- package/dist/types/components/dda-range-slider/dda-range-slider.stories.d.ts +12 -0
- package/dist/types/components/dda-search-input/dda-search-input.d.ts +7 -0
- package/dist/types/components/dda-search-input/dda-search-input.stories.d.ts +24 -0
- package/dist/types/components/dda-select/dda-select.d.ts +15 -0
- package/dist/types/components/dda-select/dda-select.stories.d.ts +12 -0
- package/dist/types/components/dda-sticky-footer/dda-sticky-footer.d.ts +9 -0
- package/dist/types/components/dda-sticky-footer/dda-sticky-footer.stories.d.ts +8 -0
- package/dist/types/components/dda-tabs/dda-tabs.d.ts +8 -4
- package/dist/types/components/dda-tabs/dda-tabs.stories.d.ts +16 -0
- package/dist/types/components/dda-textarea/dda-textarea.d.ts +7 -0
- package/dist/types/components/dda-textarea/dda-textarea.stories.d.ts +6 -0
- package/dist/types/components/dda-tooltip/dda-tooltip.d.ts +6 -0
- package/dist/types/components/dda-ui-card/dda-ui-card.d.ts +13 -0
- package/dist/types/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.d.ts +13 -0
- package/dist/types/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.stories.d.ts +18 -0
- package/dist/types/components.d.ts +1559 -70
- package/dist/types/stencil-public-runtime.d.ts +193 -12
- package/dist/types/utils/contrast.d.ts +19 -0
- package/package.json +29 -10
- package/readme.md +80 -78
- package/LICENSE +0 -21
- package/dist/cjs/app-globals-3a1e7e63.js +0 -7
- package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
- package/dist/cjs/dda-accordion.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-attach-file.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-avatar.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-breadcrumb.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-button.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-checkbox.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-chip.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-credit-card.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-creditcard-field.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-dropdown.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-footer.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-header.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-horizontal-stepper.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-input.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-link-button_2.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-number-field.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-pagination.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-phonefield.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-progressbar.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-radiobutton.cjs.entry.js +0 -31
- package/dist/cjs/dda-radiobutton.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-range-slider.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-search-input.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-segmented-tabs.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-select.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-sticky-footer.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-tabs.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-textarea.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-toggle.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-vertical-stepper.cjs.entry.js.map +0 -1
- package/dist/cjs/dda.cjs.js.map +0 -1
- package/dist/cjs/index-a2fa4928.js +0 -1619
- package/dist/cjs/index-a2fa4928.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/collection/components/dda-accordion/dda-accordion.js.map +0 -1
- package/dist/collection/components/dda-accordion/dda-accordion.stories.js.map +0 -1
- package/dist/collection/components/dda-alert/dda-alert.js.map +0 -1
- package/dist/collection/components/dda-alert/dda-alert.stories.js.map +0 -1
- package/dist/collection/components/dda-attach-file/dda-attach-file.js.map +0 -1
- package/dist/collection/components/dda-attach-file/dda-attach-file.stories.js.map +0 -1
- package/dist/collection/components/dda-avatar/dda-avatar.js.map +0 -1
- package/dist/collection/components/dda-avatar/dda-avatar.stories.js.map +0 -1
- package/dist/collection/components/dda-breadcrumb/dda-breadcrumb.js.map +0 -1
- package/dist/collection/components/dda-breadcrumb/dda-breadcrumb.stories.js.map +0 -1
- package/dist/collection/components/dda-button/dda-button.js.map +0 -1
- package/dist/collection/components/dda-button/dda-button.stories.js.map +0 -1
- package/dist/collection/components/dda-checkbox/dda-checkbox.js.map +0 -1
- package/dist/collection/components/dda-checkbox/dda-checkbox.stories.js.map +0 -1
- package/dist/collection/components/dda-chip/dda-chip.js.map +0 -1
- package/dist/collection/components/dda-chip/dda-chip.stories.js.map +0 -1
- package/dist/collection/components/dda-credit-card/dda-credit-card.js.map +0 -1
- package/dist/collection/components/dda-credit-card/dda-credit-card.stories.js.map +0 -1
- package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.js.map +0 -1
- package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.stories.js.map +0 -1
- package/dist/collection/components/dda-dropdown/dda-dropdown.js.map +0 -1
- package/dist/collection/components/dda-dropdown/dda-dropdown.stories.js.map +0 -1
- package/dist/collection/components/dda-footer/dda-footer.js.map +0 -1
- package/dist/collection/components/dda-footer/dda-footer.stories.js.map +0 -1
- package/dist/collection/components/dda-header/dda-header.js.map +0 -1
- package/dist/collection/components/dda-header/dda-header.stories.js.map +0 -1
- package/dist/collection/components/dda-input/dda-input.js.map +0 -1
- package/dist/collection/components/dda-input/dda-input.stories.js.map +0 -1
- package/dist/collection/components/dda-link-button/dda-link-button.js.map +0 -1
- package/dist/collection/components/dda-link-button/dda-link-button.stories.js.map +0 -1
- package/dist/collection/components/dda-number-field/dda-number-field.js.map +0 -1
- package/dist/collection/components/dda-number-field/dda-number-field.stories.js.map +0 -1
- package/dist/collection/components/dda-pagination/dda-pagination.js.map +0 -1
- package/dist/collection/components/dda-pagination/dda-pagination.stories.js.map +0 -1
- package/dist/collection/components/dda-phonefield/dda-phonefield.js.map +0 -1
- package/dist/collection/components/dda-phonefield/dda-phonefield.stories.js.map +0 -1
- package/dist/collection/components/dda-progressbar/dda-progressbar.js.map +0 -1
- package/dist/collection/components/dda-progressbar/dda-progressbar.stories.js.map +0 -1
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.js.map +0 -1
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.stories.js.map +0 -1
- package/dist/collection/components/dda-range-slider/dda-range-slider.js.map +0 -1
- package/dist/collection/components/dda-range-slider/dda-range-slider.stories.js.map +0 -1
- package/dist/collection/components/dda-search-input/dda-search-input.js.map +0 -1
- package/dist/collection/components/dda-search-input/dda-search-input.stories.js.map +0 -1
- package/dist/collection/components/dda-select/dda-select.js.map +0 -1
- package/dist/collection/components/dda-select/dda-select.stories.js.map +0 -1
- package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.js.map +0 -1
- package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.stories.js.map +0 -1
- package/dist/collection/components/dda-tabs/dda-tabs.js.map +0 -1
- package/dist/collection/components/dda-tabs/dda-tabs.stories.js.map +0 -1
- package/dist/collection/components/dda-textarea/dda-textarea.js.map +0 -1
- package/dist/collection/components/dda-textarea/dda-textarea.stories.js.map +0 -1
- package/dist/collection/components/dda-toggle/dda-toggle.js.map +0 -1
- package/dist/collection/components/dda-toggle/dda-toggle.stories.js.map +0 -1
- package/dist/collection/components/dda-tooltip/dda-tooltip.js.map +0 -1
- package/dist/collection/components/dda-tooltip/dda-tooltip.stories.js.map +0 -1
- package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.js.map +0 -1
- package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.stories.js.map +0 -1
- package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.js.map +0 -1
- package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.stories.js.map +0 -1
- package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.js.map +0 -1
- package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.stories.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/utils/utils.js.map +0 -1
- package/dist/components/dda-accordion.js.map +0 -1
- package/dist/components/dda-alert.js.map +0 -1
- package/dist/components/dda-attach-file.js.map +0 -1
- package/dist/components/dda-avatar.js.map +0 -1
- package/dist/components/dda-breadcrumb.js.map +0 -1
- package/dist/components/dda-button.js.map +0 -1
- package/dist/components/dda-checkbox.js.map +0 -1
- package/dist/components/dda-chip.js.map +0 -1
- package/dist/components/dda-credit-card.js.map +0 -1
- package/dist/components/dda-creditcard-field.js.map +0 -1
- package/dist/components/dda-dropdown.js.map +0 -1
- package/dist/components/dda-footer.js.map +0 -1
- package/dist/components/dda-header.js.map +0 -1
- package/dist/components/dda-horizontal-stepper.js.map +0 -1
- package/dist/components/dda-input.js.map +0 -1
- package/dist/components/dda-link-button.js.map +0 -1
- package/dist/components/dda-number-field.js.map +0 -1
- package/dist/components/dda-pagination.js.map +0 -1
- package/dist/components/dda-phonefield.js.map +0 -1
- package/dist/components/dda-progressbar.js.map +0 -1
- package/dist/components/dda-radiobutton.js.map +0 -1
- package/dist/components/dda-range-slider.js.map +0 -1
- package/dist/components/dda-search-input.js.map +0 -1
- package/dist/components/dda-segmented-tabs.js.map +0 -1
- package/dist/components/dda-select.js.map +0 -1
- package/dist/components/dda-sticky-footer.js.map +0 -1
- package/dist/components/dda-tabs.js.map +0 -1
- package/dist/components/dda-textarea.js.map +0 -1
- package/dist/components/dda-toggle.js.map +0 -1
- package/dist/components/dda-tooltip.js.map +0 -1
- package/dist/components/dda-vertical-stepper.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/p-562afefe.js +0 -73
- package/dist/components/p-562afefe.js.map +0 -1
- package/dist/components/p-6f74eccd.js +0 -1422
- package/dist/components/p-6f74eccd.js.map +0 -1
- package/dist/components/p-96fcc6bd.js +0 -54
- package/dist/components/p-96fcc6bd.js.map +0 -1
- package/dist/components/p-ad0417cc.js +0 -44
- package/dist/components/p-ad0417cc.js.map +0 -1
- package/dist/components/p-f15e5894.js +0 -76
- package/dist/components/p-f15e5894.js.map +0 -1
- package/dist/dda/dda.esm.js.map +0 -1
- package/dist/dda/index.esm.js.map +0 -1
- package/dist/dda/p-01b4ec07.entry.js +0 -2
- package/dist/dda/p-01b4ec07.entry.js.map +0 -1
- package/dist/dda/p-231440d1.entry.js +0 -2
- package/dist/dda/p-231440d1.entry.js.map +0 -1
- package/dist/dda/p-2e604126.entry.js +0 -2
- package/dist/dda/p-2e604126.entry.js.map +0 -1
- package/dist/dda/p-31699358.entry.js +0 -2
- package/dist/dda/p-31699358.entry.js.map +0 -1
- package/dist/dda/p-33561c6d.entry.js +0 -2
- package/dist/dda/p-33561c6d.entry.js.map +0 -1
- package/dist/dda/p-36561409.entry.js +0 -2
- package/dist/dda/p-36561409.entry.js.map +0 -1
- package/dist/dda/p-3c099577.entry.js +0 -2
- package/dist/dda/p-3c099577.entry.js.map +0 -1
- package/dist/dda/p-3cdb54c4.entry.js +0 -2
- package/dist/dda/p-3cdb54c4.entry.js.map +0 -1
- package/dist/dda/p-3d5608f7.entry.js +0 -2
- package/dist/dda/p-3d5608f7.entry.js.map +0 -1
- package/dist/dda/p-3fffdb8b.entry.js +0 -2
- package/dist/dda/p-3fffdb8b.entry.js.map +0 -1
- package/dist/dda/p-466f931b.entry.js +0 -2
- package/dist/dda/p-466f931b.entry.js.map +0 -1
- package/dist/dda/p-4d0d3545.entry.js +0 -2
- package/dist/dda/p-4d0d3545.entry.js.map +0 -1
- package/dist/dda/p-511fae4e.entry.js +0 -2
- package/dist/dda/p-511fae4e.entry.js.map +0 -1
- package/dist/dda/p-540284f3.entry.js +0 -2
- package/dist/dda/p-540284f3.entry.js.map +0 -1
- package/dist/dda/p-578b6d01.entry.js +0 -2
- package/dist/dda/p-578b6d01.entry.js.map +0 -1
- package/dist/dda/p-6b401fde.js +0 -3
- package/dist/dda/p-6b401fde.js.map +0 -1
- package/dist/dda/p-8c970299.entry.js +0 -2
- package/dist/dda/p-8c970299.entry.js.map +0 -1
- package/dist/dda/p-8ffca988.entry.js +0 -2
- package/dist/dda/p-8ffca988.entry.js.map +0 -1
- package/dist/dda/p-9c619a7a.entry.js +0 -2
- package/dist/dda/p-9c619a7a.entry.js.map +0 -1
- package/dist/dda/p-9c693b51.entry.js +0 -2
- package/dist/dda/p-9c693b51.entry.js.map +0 -1
- package/dist/dda/p-a5b7698d.entry.js +0 -2
- package/dist/dda/p-a5b7698d.entry.js.map +0 -1
- package/dist/dda/p-a83fa6d1.entry.js +0 -2
- package/dist/dda/p-a83fa6d1.entry.js.map +0 -1
- package/dist/dda/p-ade2b279.entry.js +0 -2
- package/dist/dda/p-ade2b279.entry.js.map +0 -1
- package/dist/dda/p-aec2f087.entry.js +0 -2
- package/dist/dda/p-aec2f087.entry.js.map +0 -1
- package/dist/dda/p-bf69dfab.entry.js +0 -2
- package/dist/dda/p-bf69dfab.entry.js.map +0 -1
- package/dist/dda/p-ccf23fd7.entry.js +0 -2
- package/dist/dda/p-ccf23fd7.entry.js.map +0 -1
- package/dist/dda/p-d6a16216.entry.js +0 -2
- package/dist/dda/p-d6a16216.entry.js.map +0 -1
- package/dist/dda/p-dbba8d56.entry.js +0 -2
- package/dist/dda/p-dbba8d56.entry.js.map +0 -1
- package/dist/dda/p-e1255160.js +0 -2
- package/dist/dda/p-e1255160.js.map +0 -1
- package/dist/dda/p-e4d6f6cb.entry.js +0 -2
- package/dist/dda/p-e4d6f6cb.entry.js.map +0 -1
- package/dist/dda/p-e550c988.entry.js +0 -2
- package/dist/dda/p-e550c988.entry.js.map +0 -1
- package/dist/dda/p-ed0795e7.entry.js +0 -2
- package/dist/dda/p-ed0795e7.entry.js.map +0 -1
- package/dist/esm/app-globals-0f993ce5.js +0 -5
- package/dist/esm/app-globals-0f993ce5.js.map +0 -1
- package/dist/esm/dda-accordion.entry.js.map +0 -1
- package/dist/esm/dda-alert.entry.js.map +0 -1
- package/dist/esm/dda-attach-file.entry.js.map +0 -1
- package/dist/esm/dda-avatar.entry.js.map +0 -1
- package/dist/esm/dda-breadcrumb.entry.js.map +0 -1
- package/dist/esm/dda-button.entry.js.map +0 -1
- package/dist/esm/dda-checkbox.entry.js.map +0 -1
- package/dist/esm/dda-chip.entry.js.map +0 -1
- package/dist/esm/dda-credit-card.entry.js.map +0 -1
- package/dist/esm/dda-creditcard-field.entry.js.map +0 -1
- package/dist/esm/dda-dropdown.entry.js.map +0 -1
- package/dist/esm/dda-footer.entry.js.map +0 -1
- package/dist/esm/dda-header.entry.js.map +0 -1
- package/dist/esm/dda-horizontal-stepper.entry.js.map +0 -1
- package/dist/esm/dda-input.entry.js.map +0 -1
- package/dist/esm/dda-link-button_2.entry.js.map +0 -1
- package/dist/esm/dda-number-field.entry.js.map +0 -1
- package/dist/esm/dda-pagination.entry.js.map +0 -1
- package/dist/esm/dda-phonefield.entry.js.map +0 -1
- package/dist/esm/dda-progressbar.entry.js.map +0 -1
- package/dist/esm/dda-radiobutton.entry.js +0 -27
- package/dist/esm/dda-radiobutton.entry.js.map +0 -1
- package/dist/esm/dda-range-slider.entry.js.map +0 -1
- package/dist/esm/dda-search-input.entry.js.map +0 -1
- package/dist/esm/dda-segmented-tabs.entry.js.map +0 -1
- package/dist/esm/dda-select.entry.js.map +0 -1
- package/dist/esm/dda-sticky-footer.entry.js.map +0 -1
- package/dist/esm/dda-tabs.entry.js.map +0 -1
- package/dist/esm/dda-textarea.entry.js.map +0 -1
- package/dist/esm/dda-toggle.entry.js.map +0 -1
- package/dist/esm/dda-vertical-stepper.entry.js.map +0 -1
- package/dist/esm/dda.js.map +0 -1
- package/dist/esm/index-be8c716a.js +0 -1590
- package/dist/esm/index-be8c716a.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/loader/package.json +0 -11
|
@@ -13,6 +13,7 @@ export class DdaButton {
|
|
|
13
13
|
this.button_shape = '';
|
|
14
14
|
this.icon_button_shape = '';
|
|
15
15
|
this.custom_class = ''; // Custom class prop
|
|
16
|
+
this.button_name = '';
|
|
16
17
|
}
|
|
17
18
|
render() {
|
|
18
19
|
const buttonClass = [
|
|
@@ -25,7 +26,7 @@ export class DdaButton {
|
|
|
25
26
|
this.custom_class, // Include custom class
|
|
26
27
|
this.component_mode,
|
|
27
28
|
].filter(Boolean).join(' ');
|
|
28
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: '7ca601d66dd70e18be4348ed1c6fefe1d564ddc3' }, h("button", { key: '76f6ffc16cdbc36d375b232247e1fe568695e81f', id: this.button_id, type: this.type, class: buttonClass, disabled: this.disabled, "aria-label": this.aria_label, onClick: this.clickHandler, name: this.button_name }, this.start_icon && h("i", { key: 'd0d51f02bb5bca06a17bca151c356d3ffd6aa8ea', class: "material-icons material-symbols-outlined" }, this.start_icon), h("slot", { key: 'f9f5b57e2063cb1b6faae31cb39705d451dc14aa' }), this.end_icon && h("i", { key: '133fa4595380dfca13e29628fcbfe7b59501ab8f', class: "material-icons material-symbols-outlined" }, this.end_icon))));
|
|
29
30
|
}
|
|
30
31
|
static get is() { return "dda-button"; }
|
|
31
32
|
static get originalStyleUrls() {
|
|
@@ -56,8 +57,8 @@ export class DdaButton {
|
|
|
56
57
|
},
|
|
57
58
|
"getter": false,
|
|
58
59
|
"setter": false,
|
|
59
|
-
"attribute": "type",
|
|
60
60
|
"reflect": false,
|
|
61
|
+
"attribute": "type",
|
|
61
62
|
"defaultValue": "'button'"
|
|
62
63
|
},
|
|
63
64
|
"disabled": {
|
|
@@ -76,8 +77,8 @@ export class DdaButton {
|
|
|
76
77
|
},
|
|
77
78
|
"getter": false,
|
|
78
79
|
"setter": false,
|
|
79
|
-
"attribute": "disabled",
|
|
80
80
|
"reflect": false,
|
|
81
|
+
"attribute": "disabled",
|
|
81
82
|
"defaultValue": "false"
|
|
82
83
|
},
|
|
83
84
|
"start_icon": {
|
|
@@ -96,8 +97,8 @@ export class DdaButton {
|
|
|
96
97
|
},
|
|
97
98
|
"getter": false,
|
|
98
99
|
"setter": false,
|
|
99
|
-
"attribute": "start_icon",
|
|
100
100
|
"reflect": false,
|
|
101
|
+
"attribute": "start_icon",
|
|
101
102
|
"defaultValue": "''"
|
|
102
103
|
},
|
|
103
104
|
"end_icon": {
|
|
@@ -116,8 +117,8 @@ export class DdaButton {
|
|
|
116
117
|
},
|
|
117
118
|
"getter": false,
|
|
118
119
|
"setter": false,
|
|
119
|
-
"attribute": "end_icon",
|
|
120
120
|
"reflect": false,
|
|
121
|
+
"attribute": "end_icon",
|
|
121
122
|
"defaultValue": "''"
|
|
122
123
|
},
|
|
123
124
|
"aria_label": {
|
|
@@ -136,8 +137,8 @@ export class DdaButton {
|
|
|
136
137
|
},
|
|
137
138
|
"getter": false,
|
|
138
139
|
"setter": false,
|
|
139
|
-
"attribute": "aria_label",
|
|
140
140
|
"reflect": false,
|
|
141
|
+
"attribute": "aria_label",
|
|
141
142
|
"defaultValue": "''"
|
|
142
143
|
},
|
|
143
144
|
"button_color": {
|
|
@@ -156,8 +157,8 @@ export class DdaButton {
|
|
|
156
157
|
},
|
|
157
158
|
"getter": false,
|
|
158
159
|
"setter": false,
|
|
159
|
-
"attribute": "button_color",
|
|
160
160
|
"reflect": false,
|
|
161
|
+
"attribute": "button_color",
|
|
161
162
|
"defaultValue": "'primary'"
|
|
162
163
|
},
|
|
163
164
|
"size": {
|
|
@@ -176,8 +177,8 @@ export class DdaButton {
|
|
|
176
177
|
},
|
|
177
178
|
"getter": false,
|
|
178
179
|
"setter": false,
|
|
179
|
-
"
|
|
180
|
-
"
|
|
180
|
+
"reflect": false,
|
|
181
|
+
"attribute": "size"
|
|
181
182
|
},
|
|
182
183
|
"button_shape": {
|
|
183
184
|
"type": "string",
|
|
@@ -195,8 +196,8 @@ export class DdaButton {
|
|
|
195
196
|
},
|
|
196
197
|
"getter": false,
|
|
197
198
|
"setter": false,
|
|
198
|
-
"attribute": "button_shape",
|
|
199
199
|
"reflect": false,
|
|
200
|
+
"attribute": "button_shape",
|
|
200
201
|
"defaultValue": "''"
|
|
201
202
|
},
|
|
202
203
|
"icon_button_shape": {
|
|
@@ -215,8 +216,8 @@ export class DdaButton {
|
|
|
215
216
|
},
|
|
216
217
|
"getter": false,
|
|
217
218
|
"setter": false,
|
|
218
|
-
"attribute": "icon_button_shape",
|
|
219
219
|
"reflect": false,
|
|
220
|
+
"attribute": "icon_button_shape",
|
|
220
221
|
"defaultValue": "''"
|
|
221
222
|
},
|
|
222
223
|
"gap": {
|
|
@@ -235,8 +236,8 @@ export class DdaButton {
|
|
|
235
236
|
},
|
|
236
237
|
"getter": false,
|
|
237
238
|
"setter": false,
|
|
238
|
-
"
|
|
239
|
-
"
|
|
239
|
+
"reflect": false,
|
|
240
|
+
"attribute": "gap"
|
|
240
241
|
},
|
|
241
242
|
"custom_class": {
|
|
242
243
|
"type": "string",
|
|
@@ -254,8 +255,8 @@ export class DdaButton {
|
|
|
254
255
|
},
|
|
255
256
|
"getter": false,
|
|
256
257
|
"setter": false,
|
|
257
|
-
"attribute": "custom_class",
|
|
258
258
|
"reflect": false,
|
|
259
|
+
"attribute": "custom_class",
|
|
259
260
|
"defaultValue": "''"
|
|
260
261
|
},
|
|
261
262
|
"component_mode": {
|
|
@@ -274,8 +275,8 @@ export class DdaButton {
|
|
|
274
275
|
},
|
|
275
276
|
"getter": false,
|
|
276
277
|
"setter": false,
|
|
277
|
-
"
|
|
278
|
-
"
|
|
278
|
+
"reflect": false,
|
|
279
|
+
"attribute": "component_mode"
|
|
279
280
|
},
|
|
280
281
|
"button_id": {
|
|
281
282
|
"type": "string",
|
|
@@ -293,8 +294,28 @@ export class DdaButton {
|
|
|
293
294
|
},
|
|
294
295
|
"getter": false,
|
|
295
296
|
"setter": false,
|
|
296
|
-
"
|
|
297
|
-
"
|
|
297
|
+
"reflect": false,
|
|
298
|
+
"attribute": "button_id"
|
|
299
|
+
},
|
|
300
|
+
"button_name": {
|
|
301
|
+
"type": "string",
|
|
302
|
+
"mutable": false,
|
|
303
|
+
"complexType": {
|
|
304
|
+
"original": "string",
|
|
305
|
+
"resolved": "string",
|
|
306
|
+
"references": {}
|
|
307
|
+
},
|
|
308
|
+
"required": false,
|
|
309
|
+
"optional": true,
|
|
310
|
+
"docs": {
|
|
311
|
+
"tags": [],
|
|
312
|
+
"text": ""
|
|
313
|
+
},
|
|
314
|
+
"getter": false,
|
|
315
|
+
"setter": false,
|
|
316
|
+
"reflect": false,
|
|
317
|
+
"attribute": "button_name",
|
|
318
|
+
"defaultValue": "''"
|
|
298
319
|
},
|
|
299
320
|
"clickHandler": {
|
|
300
321
|
"type": "unknown",
|
|
@@ -321,4 +342,3 @@ export class DdaButton {
|
|
|
321
342
|
};
|
|
322
343
|
}
|
|
323
344
|
}
|
|
324
|
-
//# sourceMappingURL=dda-button.js.map
|
|
@@ -4,22 +4,23 @@ export default {
|
|
|
4
4
|
parameters: {
|
|
5
5
|
docs: {
|
|
6
6
|
description: {
|
|
7
|
-
component: `
|
|
8
|
-
To use the \`dda-button\` component, pass the following props:
|
|
9
|
-
|
|
10
|
-
\`\`\`html
|
|
11
|
-
<dda-button
|
|
12
|
-
button_color="default-primary"
|
|
13
|
-
start_icon="sentiment_satisfied"
|
|
14
|
-
end_icon="arrow_forward"
|
|
15
|
-
custom_class=""
|
|
16
|
-
component_mode=""
|
|
17
|
-
button_id="button"
|
|
18
|
-
aria_label="button"
|
|
19
|
-
onclick="console.log('clicked')"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
7
|
+
component: `
|
|
8
|
+
To use the \`dda-button\` component, pass the following props:
|
|
9
|
+
|
|
10
|
+
\`\`\`html
|
|
11
|
+
<dda-button
|
|
12
|
+
button_color="default-primary"
|
|
13
|
+
start_icon="sentiment_satisfied"
|
|
14
|
+
end_icon="arrow_forward"
|
|
15
|
+
custom_class=""
|
|
16
|
+
component_mode=""
|
|
17
|
+
button_id="button"
|
|
18
|
+
aria_label="button"
|
|
19
|
+
onclick="console.log('clicked')"
|
|
20
|
+
button_name="button"
|
|
21
|
+
>Button
|
|
22
|
+
</dda-button>
|
|
23
|
+
\`\`\`
|
|
23
24
|
`,
|
|
24
25
|
},
|
|
25
26
|
},
|
|
@@ -69,6 +70,10 @@ To use the \`dda-button\` component, pass the following props:
|
|
|
69
70
|
onclick: {
|
|
70
71
|
control: { type: 'text' },
|
|
71
72
|
description: 'event handler for button',
|
|
73
|
+
},
|
|
74
|
+
button_name: {
|
|
75
|
+
control: { type: 'text' },
|
|
76
|
+
description: 'Name of the button',
|
|
72
77
|
}
|
|
73
78
|
},
|
|
74
79
|
};
|
|
@@ -90,6 +95,7 @@ DefaultPrimary.args = {
|
|
|
90
95
|
button_id: 'button',
|
|
91
96
|
aria_label: 'button',
|
|
92
97
|
onclick: "console.log('clicked')",
|
|
98
|
+
button_name: 'button',
|
|
93
99
|
};
|
|
94
100
|
export const ErrorPrimary = Template.bind({});
|
|
95
101
|
ErrorPrimary.args = {
|
|
@@ -102,6 +108,7 @@ ErrorPrimary.args = {
|
|
|
102
108
|
button_id: 'button',
|
|
103
109
|
aria_label: 'button',
|
|
104
110
|
onclick: "alert('Hello! I am an alert box!!')",
|
|
111
|
+
button_name: 'button',
|
|
105
112
|
};
|
|
106
113
|
export const SurfacePrimary = Template.bind({});
|
|
107
114
|
SurfacePrimary.args = {
|
|
@@ -114,6 +121,7 @@ SurfacePrimary.args = {
|
|
|
114
121
|
button_id: 'button',
|
|
115
122
|
aria_label: 'button',
|
|
116
123
|
onclick: "console.log('clicked')",
|
|
124
|
+
button_name: 'button',
|
|
117
125
|
};
|
|
118
126
|
export const Disabled = Template.bind({});
|
|
119
127
|
Disabled.args = {
|
|
@@ -126,6 +134,7 @@ Disabled.args = {
|
|
|
126
134
|
button_id: 'button',
|
|
127
135
|
aria_label: 'button',
|
|
128
136
|
onclick: "console.log('clicked')",
|
|
137
|
+
button_name: 'button',
|
|
129
138
|
};
|
|
130
139
|
export const IconButton = Template.bind({});
|
|
131
140
|
IconButton.args = {
|
|
@@ -138,5 +147,5 @@ IconButton.args = {
|
|
|
138
147
|
button_id: 'button',
|
|
139
148
|
aria_label: 'button',
|
|
140
149
|
onclick: "console.log('clicked')",
|
|
150
|
+
button_name: 'button',
|
|
141
151
|
};
|
|
142
|
-
//# sourceMappingURL=dda-button.stories.js.map
|
|
@@ -1,120 +1,120 @@
|
|
|
1
|
-
.dda-checkbox-container {
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.dda-checkbox-container input[type="checkbox"] {
|
|
7
|
-
width: 0;
|
|
8
|
-
height: 0;
|
|
9
|
-
position: absolute;
|
|
10
|
-
opacity: 0;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.dda-checkbox-container label {
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
display: inline-flex;
|
|
16
|
-
align-items: flex-start;
|
|
17
|
-
gap: 10px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.dda-checkbox-container i,
|
|
21
|
-
.dda-checkbox-container svg {
|
|
22
|
-
display: flex;
|
|
23
|
-
color: var(--dda-color-primary-40);
|
|
24
|
-
border: solid 2px var(--dda-color-primary-40);
|
|
25
|
-
justify-content: center;
|
|
26
|
-
align-items: center;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.light-mode.dda-checkbox-container i,
|
|
30
|
-
.light-mode.dda-checkbox-container svg{
|
|
31
|
-
color: var(--dda-primary-40);
|
|
32
|
-
border: solid 2px var(--dda-primary-40);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.dda-checkbox-square i,
|
|
36
|
-
.dda-checkbox-square svg {
|
|
37
|
-
border-radius: 6px;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.dda-checkbox-rounded i,
|
|
41
|
-
.dda-checkbox-rounded svg {
|
|
42
|
-
border-radius: 22px;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
.dda-checkbox-sm label i,
|
|
47
|
-
.dda-checkbox-sm label svg {
|
|
48
|
-
width: 16px;
|
|
49
|
-
height: 16px;
|
|
50
|
-
font-size: 12px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.dda-checkbox-md label i,
|
|
54
|
-
.dda-checkbox-md label svg {
|
|
55
|
-
width: 20px;
|
|
56
|
-
height: 20px;
|
|
57
|
-
font-size: 16px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.dda-checkbox-lg label i,
|
|
61
|
-
.dda-checkbox-lg label svg {
|
|
62
|
-
width: 22px;
|
|
63
|
-
height: 22px;
|
|
64
|
-
font-size: 19px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.dda-checkbox-container input[type="checkbox"]:checked~label i,
|
|
68
|
-
.dda-checkbox-container input[type="checkbox"]:checked~label svg {
|
|
69
|
-
background: var(--dda-color-primary-40);
|
|
70
|
-
color: var(--dda-neutral-100);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.dda-checkbox-container input[type="checkbox"]:checked:focus-within~label i,
|
|
74
|
-
.dda-checkbox-container input[type="checkbox"]:checked:focus-within~label svg {
|
|
75
|
-
-webkit-box-shadow: 0px 0px 0px 3px var(--dda-color-primary-95);
|
|
76
|
-
-moz-box-shadow: 0px 0px 0px 3px var(--dda-color-primary-95);
|
|
77
|
-
box-shadow: 0px 0px 0px 3px var(--dda-color-primary-95);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.dda-checkbox-container label p {
|
|
81
|
-
margin: 0px;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.dda-checkbox-title {
|
|
85
|
-
font-size: var(--dda-fs-body-lg);
|
|
86
|
-
color: var(--dda-on-surface-0);
|
|
87
|
-
font-weight: var(--dda-fw-500);
|
|
88
|
-
display: block;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.light-mode .dda-checkbox-title{
|
|
92
|
-
color: var(--dda-neutral-0);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.dda-checkbox-lg label .dda-checkbox-title {
|
|
96
|
-
font-size: var(--dda-fs-title-sm);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.dda-checkbox-supporting {
|
|
100
|
-
display: block;
|
|
101
|
-
font-size: var(--dda-fs-label-lg);
|
|
102
|
-
color: var(--dda-on-surface-variant-30);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.light-mode .dda-checkbox-supporting {
|
|
106
|
-
color: var(--dda-neutral-variant-30);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.dda-checkbox-lg label .dda-checkbox-supporting {
|
|
110
|
-
font-size: var(--dda-fs-body-lg);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.dda-checkbox-disabled i,
|
|
114
|
-
.dda-checkbox-disabled svg{
|
|
115
|
-
color: var(--dda-neutral-70);
|
|
116
|
-
border: solid 2px var(--dda-surface-90);
|
|
117
|
-
}
|
|
118
|
-
.dda-checkbox-container.dda-checkbox-disabled{
|
|
119
|
-
pointer-events: none;
|
|
1
|
+
.dda-checkbox-container {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.dda-checkbox-container input[type="checkbox"] {
|
|
7
|
+
width: 0;
|
|
8
|
+
height: 0;
|
|
9
|
+
position: absolute;
|
|
10
|
+
opacity: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.dda-checkbox-container label {
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
display: inline-flex;
|
|
16
|
+
align-items: flex-start;
|
|
17
|
+
gap: 10px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.dda-checkbox-container i,
|
|
21
|
+
.dda-checkbox-container svg {
|
|
22
|
+
display: flex;
|
|
23
|
+
color: var(--dda-color-primary-40);
|
|
24
|
+
border: solid 2px var(--dda-color-primary-40);
|
|
25
|
+
justify-content: center;
|
|
26
|
+
align-items: center;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.light-mode.dda-checkbox-container i,
|
|
30
|
+
.light-mode.dda-checkbox-container svg{
|
|
31
|
+
color: var(--dda-primary-40);
|
|
32
|
+
border: solid 2px var(--dda-primary-40);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.dda-checkbox-square i,
|
|
36
|
+
.dda-checkbox-square svg {
|
|
37
|
+
border-radius: 6px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.dda-checkbox-rounded i,
|
|
41
|
+
.dda-checkbox-rounded svg {
|
|
42
|
+
border-radius: 22px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
.dda-checkbox-sm label i,
|
|
47
|
+
.dda-checkbox-sm label svg {
|
|
48
|
+
width: 16px;
|
|
49
|
+
height: 16px;
|
|
50
|
+
font-size: 12px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.dda-checkbox-md label i,
|
|
54
|
+
.dda-checkbox-md label svg {
|
|
55
|
+
width: 20px;
|
|
56
|
+
height: 20px;
|
|
57
|
+
font-size: 16px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.dda-checkbox-lg label i,
|
|
61
|
+
.dda-checkbox-lg label svg {
|
|
62
|
+
width: 22px;
|
|
63
|
+
height: 22px;
|
|
64
|
+
font-size: 19px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.dda-checkbox-container input[type="checkbox"]:checked~label i,
|
|
68
|
+
.dda-checkbox-container input[type="checkbox"]:checked~label svg {
|
|
69
|
+
background: var(--dda-color-primary-40);
|
|
70
|
+
color: var(--dda-neutral-100);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.dda-checkbox-container input[type="checkbox"]:checked:focus-within~label i,
|
|
74
|
+
.dda-checkbox-container input[type="checkbox"]:checked:focus-within~label svg {
|
|
75
|
+
-webkit-box-shadow: 0px 0px 0px 3px var(--dda-color-primary-95);
|
|
76
|
+
-moz-box-shadow: 0px 0px 0px 3px var(--dda-color-primary-95);
|
|
77
|
+
box-shadow: 0px 0px 0px 3px var(--dda-color-primary-95);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.dda-checkbox-container label p {
|
|
81
|
+
margin: 0px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.dda-checkbox-title {
|
|
85
|
+
font-size: var(--dda-fs-body-lg);
|
|
86
|
+
color: var(--dda-on-surface-0);
|
|
87
|
+
font-weight: var(--dda-fw-500);
|
|
88
|
+
display: block;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.light-mode .dda-checkbox-title{
|
|
92
|
+
color: var(--dda-neutral-0);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.dda-checkbox-lg label .dda-checkbox-title {
|
|
96
|
+
font-size: var(--dda-fs-title-sm);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.dda-checkbox-supporting {
|
|
100
|
+
display: block;
|
|
101
|
+
font-size: var(--dda-fs-label-lg);
|
|
102
|
+
color: var(--dda-on-surface-variant-30);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.light-mode .dda-checkbox-supporting {
|
|
106
|
+
color: var(--dda-neutral-variant-30);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.dda-checkbox-lg label .dda-checkbox-supporting {
|
|
110
|
+
font-size: var(--dda-fs-body-lg);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.dda-checkbox-disabled i,
|
|
114
|
+
.dda-checkbox-disabled svg{
|
|
115
|
+
color: var(--dda-neutral-70);
|
|
116
|
+
border: solid 2px var(--dda-surface-90);
|
|
117
|
+
}
|
|
118
|
+
.dda-checkbox-container.dda-checkbox-disabled{
|
|
119
|
+
pointer-events: none;
|
|
120
120
|
}
|
|
@@ -12,7 +12,7 @@ export class DdaCheckbox {
|
|
|
12
12
|
this.checkbox_status ? `dda-checkbox-${this.checkbox_status}` : '',
|
|
13
13
|
this.component_mode,
|
|
14
14
|
].filter(Boolean).join(' ');
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '4b8e8376bf784fd0ed1e918f0b5fdc4ebe7fd7ed' }, h("div", { key: 'f66aca291d7c0098979177e971aa758b82a5ffc9', class: checkboxClass }, h("input", { key: 'f243f679de75b492775c6e3a0b1ca1f0f3bfe423', "aria-label": this.aria_label, type: "checkbox", id: this.input_id, name: this.group_name, checked: this.checked }), h("label", { key: 'f0c6cc39d19009132332d9c01a901b23c8f0a18c', htmlFor: this.input_id }, h("i", { key: 'b378cfa8cc108dcd6394472563afef4c3c87de13', class: "material-icons material-symbols-outlined" }, "check"), h("p", { key: '416beeef5a24297c00221c6bfebef2778f0f26ac' }, h("span", { key: 'c62bf2fb6a703cace37b092d5f493ee1944f3e73', class: "dda-checkbox-title" }, this.title_text), this.supporting && h("span", { key: '846a087c01f8277af1f512c1de76e11a2fb95748', class: "dda-checkbox-supporting" }, this.supporting))))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "dda-checkbox"; }
|
|
18
18
|
static get originalStyleUrls() {
|
|
@@ -43,8 +43,8 @@ export class DdaCheckbox {
|
|
|
43
43
|
},
|
|
44
44
|
"getter": false,
|
|
45
45
|
"setter": false,
|
|
46
|
-
"
|
|
47
|
-
"
|
|
46
|
+
"reflect": false,
|
|
47
|
+
"attribute": "title_text"
|
|
48
48
|
},
|
|
49
49
|
"supporting": {
|
|
50
50
|
"type": "string",
|
|
@@ -62,8 +62,8 @@ export class DdaCheckbox {
|
|
|
62
62
|
},
|
|
63
63
|
"getter": false,
|
|
64
64
|
"setter": false,
|
|
65
|
-
"
|
|
66
|
-
"
|
|
65
|
+
"reflect": false,
|
|
66
|
+
"attribute": "supporting"
|
|
67
67
|
},
|
|
68
68
|
"group_name": {
|
|
69
69
|
"type": "string",
|
|
@@ -81,8 +81,8 @@ export class DdaCheckbox {
|
|
|
81
81
|
},
|
|
82
82
|
"getter": false,
|
|
83
83
|
"setter": false,
|
|
84
|
-
"
|
|
85
|
-
"
|
|
84
|
+
"reflect": false,
|
|
85
|
+
"attribute": "group_name"
|
|
86
86
|
},
|
|
87
87
|
"input_id": {
|
|
88
88
|
"type": "string",
|
|
@@ -100,8 +100,8 @@ export class DdaCheckbox {
|
|
|
100
100
|
},
|
|
101
101
|
"getter": false,
|
|
102
102
|
"setter": false,
|
|
103
|
-
"
|
|
104
|
-
"
|
|
103
|
+
"reflect": false,
|
|
104
|
+
"attribute": "input_id"
|
|
105
105
|
},
|
|
106
106
|
"checked": {
|
|
107
107
|
"type": "boolean",
|
|
@@ -119,8 +119,8 @@ export class DdaCheckbox {
|
|
|
119
119
|
},
|
|
120
120
|
"getter": false,
|
|
121
121
|
"setter": false,
|
|
122
|
-
"
|
|
123
|
-
"
|
|
122
|
+
"reflect": false,
|
|
123
|
+
"attribute": "checked"
|
|
124
124
|
},
|
|
125
125
|
"checkbox_status": {
|
|
126
126
|
"type": "string",
|
|
@@ -138,8 +138,8 @@ export class DdaCheckbox {
|
|
|
138
138
|
},
|
|
139
139
|
"getter": false,
|
|
140
140
|
"setter": false,
|
|
141
|
-
"
|
|
142
|
-
"
|
|
141
|
+
"reflect": false,
|
|
142
|
+
"attribute": "checkbox_status"
|
|
143
143
|
},
|
|
144
144
|
"size": {
|
|
145
145
|
"type": "string",
|
|
@@ -157,8 +157,8 @@ export class DdaCheckbox {
|
|
|
157
157
|
},
|
|
158
158
|
"getter": false,
|
|
159
159
|
"setter": false,
|
|
160
|
-
"
|
|
161
|
-
"
|
|
160
|
+
"reflect": false,
|
|
161
|
+
"attribute": "size"
|
|
162
162
|
},
|
|
163
163
|
"style_type": {
|
|
164
164
|
"type": "string",
|
|
@@ -176,8 +176,8 @@ export class DdaCheckbox {
|
|
|
176
176
|
},
|
|
177
177
|
"getter": false,
|
|
178
178
|
"setter": false,
|
|
179
|
-
"
|
|
180
|
-
"
|
|
179
|
+
"reflect": false,
|
|
180
|
+
"attribute": "style_type"
|
|
181
181
|
},
|
|
182
182
|
"custom_class": {
|
|
183
183
|
"type": "string",
|
|
@@ -195,8 +195,8 @@ export class DdaCheckbox {
|
|
|
195
195
|
},
|
|
196
196
|
"getter": false,
|
|
197
197
|
"setter": false,
|
|
198
|
-
"attribute": "custom_class",
|
|
199
198
|
"reflect": false,
|
|
199
|
+
"attribute": "custom_class",
|
|
200
200
|
"defaultValue": "''"
|
|
201
201
|
},
|
|
202
202
|
"component_mode": {
|
|
@@ -215,8 +215,8 @@ export class DdaCheckbox {
|
|
|
215
215
|
},
|
|
216
216
|
"getter": false,
|
|
217
217
|
"setter": false,
|
|
218
|
-
"
|
|
219
|
-
"
|
|
218
|
+
"reflect": false,
|
|
219
|
+
"attribute": "component_mode"
|
|
220
220
|
},
|
|
221
221
|
"aria_label": {
|
|
222
222
|
"type": "string",
|
|
@@ -234,10 +234,9 @@ export class DdaCheckbox {
|
|
|
234
234
|
},
|
|
235
235
|
"getter": false,
|
|
236
236
|
"setter": false,
|
|
237
|
-
"
|
|
238
|
-
"
|
|
237
|
+
"reflect": false,
|
|
238
|
+
"attribute": "aria_label"
|
|
239
239
|
}
|
|
240
240
|
};
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
//# sourceMappingURL=dda-checkbox.js.map
|
|
@@ -58,24 +58,24 @@ export default {
|
|
|
58
58
|
parameters: {
|
|
59
59
|
docs: {
|
|
60
60
|
description: {
|
|
61
|
-
component: `
|
|
62
|
-
To use the \`dda-checkbox\` component, pass the following props:
|
|
63
|
-
|
|
64
|
-
\`\`\`html
|
|
65
|
-
<dda-checkbox
|
|
66
|
-
title_text="Checkbox Title"
|
|
67
|
-
checked="false"
|
|
68
|
-
size="md"
|
|
69
|
-
style_type="square"
|
|
70
|
-
supporting="Supporting Text"
|
|
71
|
-
group_name="checkboxgroup"
|
|
72
|
-
input_id="testId"
|
|
73
|
-
custom_class=""
|
|
74
|
-
component_mode=""
|
|
75
|
-
aria_label="checkbox"
|
|
76
|
-
onclick="console.log('Checkbox clicked')"
|
|
77
|
-
></dda-checkbox>
|
|
78
|
-
\`\`\`
|
|
61
|
+
component: `
|
|
62
|
+
To use the \`dda-checkbox\` component, pass the following props:
|
|
63
|
+
|
|
64
|
+
\`\`\`html
|
|
65
|
+
<dda-checkbox
|
|
66
|
+
title_text="Checkbox Title"
|
|
67
|
+
checked="false"
|
|
68
|
+
size="md"
|
|
69
|
+
style_type="square"
|
|
70
|
+
supporting="Supporting Text"
|
|
71
|
+
group_name="checkboxgroup"
|
|
72
|
+
input_id="testId"
|
|
73
|
+
custom_class=""
|
|
74
|
+
component_mode=""
|
|
75
|
+
aria_label="checkbox"
|
|
76
|
+
onclick="console.log('Checkbox clicked')"
|
|
77
|
+
></dda-checkbox>
|
|
78
|
+
\`\`\`
|
|
79
79
|
`,
|
|
80
80
|
},
|
|
81
81
|
},
|
|
@@ -115,4 +115,3 @@ checkboxRounded.args = {
|
|
|
115
115
|
aria_label: 'checkbox',
|
|
116
116
|
onclick: "",
|
|
117
117
|
};
|
|
118
|
-
//# sourceMappingURL=dda-checkbox.stories.js.map
|