@dubai-design-system/components-js 4.1.0 → 5.0.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/CHANGELOG.md +216 -0
- package/dist/assets/fonts/dubai/DubaiBold.ttf +0 -0
- package/dist/assets/fonts/dubai/DubaiBold.woff +0 -0
- package/dist/assets/fonts/dubai/DubaiBold.woff2 +0 -0
- package/dist/assets/fonts/dubai/DubaiLight.ttf +0 -0
- package/dist/assets/fonts/dubai/DubaiLight.woff +0 -0
- package/dist/assets/fonts/dubai/DubaiLight.woff2 +0 -0
- package/dist/assets/fonts/dubai/DubaiMedium.ttf +0 -0
- package/dist/assets/fonts/dubai/DubaiMedium.woff +0 -0
- package/dist/assets/fonts/dubai/DubaiMedium.woff2 +0 -0
- package/dist/assets/fonts/dubai/DubaiRegular.ttf +0 -0
- package/dist/assets/fonts/dubai/DubaiRegular.woff +0 -0
- package/dist/assets/fonts/dubai/DubaiRegular.woff2 +0 -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-Ca7K0Ebk.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 +3811 -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 +3687 -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-BbQk3lNN.js +1 -0
- package/dist/components/p-BqPGP84L.js +1 -0
- package/dist/components/p-C90V7afZ.js +1 -0
- package/dist/components/p-Ceq73F9H.js +1 -0
- package/dist/components/p-CfeBxzCg.js +1 -0
- package/dist/dda/dda.css +56 -0
- package/dist/dda/dda.esm.js +1 -2
- package/dist/dda/index.esm.js +1 -2
- package/dist/dda/p-01766265.entry.js +1 -0
- package/dist/dda/p-0a3ea903.entry.js +1 -0
- package/dist/dda/p-120f0401.entry.js +1 -0
- package/dist/dda/p-1620415e.entry.js +1 -0
- package/dist/dda/p-18708284.entry.js +1 -0
- package/dist/dda/p-1d6d33cd.entry.js +1 -0
- package/dist/dda/p-350a04cf.entry.js +1 -0
- package/dist/dda/p-3f06f0e2.entry.js +1 -0
- package/dist/dda/p-4918df54.entry.js +1 -0
- package/dist/dda/p-4a4d087e.entry.js +1 -0
- package/dist/dda/p-4ac55d0c.entry.js +1 -0
- package/dist/dda/p-4b33da48.entry.js +1 -0
- package/dist/dda/p-4d2e2594.entry.js +1 -0
- package/dist/dda/p-5473440a.entry.js +1 -0
- package/dist/dda/p-554c72d7.entry.js +1 -0
- package/dist/dda/p-565c8d35.entry.js +1 -0
- package/dist/dda/p-56dc112a.entry.js +1 -0
- package/dist/dda/p-64d2b705.entry.js +1 -0
- package/dist/dda/p-64e59960.entry.js +1 -0
- package/dist/dda/p-6e926e1f.entry.js +1 -0
- package/dist/dda/p-73501746.entry.js +1 -0
- package/dist/dda/p-82af7b9c.entry.js +1 -0
- package/dist/dda/p-865ad76f.entry.js +1 -0
- package/dist/dda/p-89799487.entry.js +1 -0
- package/dist/dda/p-8e923011.entry.js +1 -0
- package/dist/dda/p-9292f9d9.entry.js +1 -0
- package/dist/dda/p-Dx9UtVJC.js +2 -0
- package/dist/dda/p-a543b2cf.entry.js +1 -0
- package/dist/dda/p-c5471384.entry.js +1 -0
- package/dist/dda/p-ca3c6a47.entry.js +1 -0
- package/dist/dda/p-d2556e9d.entry.js +1 -0
- package/dist/dda/p-eca22ee5.entry.js +1 -0
- package/dist/dda/p-ee977745.entry.js +1 -0
- package/dist/dda/p-f1cdcaa2.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-Dx9UtVJC.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 +34 -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
|
@@ -28,15 +28,22 @@ export class DdaAvatar {
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
|
|
31
|
+
const hasOptions = this.parsedOptions.length > 0;
|
|
32
|
+
const avatarContent = [
|
|
33
|
+
this.type === 'photo' && h("img", { key: '5455ae34642a1a696172dcb9b6985f9b7fc88df2', src: this.src, alt: "Avatar" }),
|
|
34
|
+
this.type === 'icon' && h("i", { key: 'ada1e07644b9a96e36335a7490db0451099b6bd0', class: `${this.icon} dda-smile` }, "sentiment_satisfied"),
|
|
35
|
+
this.type === 'text' && h("span", { key: 'd7cb60a8861f09c69dbcdbca401331f57b0b8805', class: 'avatar-main-text' }, this.text),
|
|
36
|
+
];
|
|
37
|
+
return (h("div", { key: 'aad1a0787cae3bd4eb0db425f16e0c3403f306af', class: {
|
|
32
38
|
'dda-avatar': true,
|
|
33
39
|
[`avatar-type-${this.type}`]: true,
|
|
34
40
|
[`avatar-size-${this.size}`]: true,
|
|
35
41
|
[`avatar-design-${this.design}`]: true,
|
|
36
42
|
[`avatar-shape-${this.rounded}`]: true,
|
|
37
43
|
[`${this.custom_class}`]: true,
|
|
38
|
-
[`${this.component_mode}`]: true
|
|
39
|
-
|
|
44
|
+
[`${this.component_mode}`]: true,
|
|
45
|
+
[`${this.button_name}`]: true,
|
|
46
|
+
} }, hasOptions ? (h("button", { type: "button", class: "avatar-trigger", onClick: () => this.toggleDropdown(), "aria-expanded": this.isOpen ? 'true' : 'false', "aria-label": this.aria_label || 'Avatar options' }, avatarContent)) : (h("div", { class: "avatar-trigger" }, avatarContent)), hasOptions && this.isOpen && (h("div", { key: 'aad8ebd1a5df312d76d4051a92a3d2a3aa9e84e6', class: "dda-input-dropdown-list" }, this.parsedOptions.map(option => (h("button", { id: this.button_id, name: this.button_name, "aria-label": this.aria_label, type: "button", class: `dda-input-dropdown-item ${this.selected === option ? 'selected' : ''}`, onClick: () => { this.selectOption(option); } }, option))))), this.design === 'status' && h("div", { key: '65373d337dd0c2265c8f787619ab14fdd8be2f53', class: "status-circle" }), this.design === 'verified' && h("div", { key: 'ee627f6d549434ec4faf03affbc14f2a8d1c4ab9', class: "verified-icon" }, h("span", { key: '43dc04d4dbe9ae6889a0a8552a04278ed078bcf2', class: "material-icons material-symbols-outlined" }, "verified")), this.design === 'notification' && h("div", { key: '35970e35388fbbd3ea4fe5887d7e84bdc2193209', class: "notification-circle" }, this.notification_number)));
|
|
40
47
|
}
|
|
41
48
|
static get is() { return "dda-avatar"; }
|
|
42
49
|
static get originalStyleUrls() {
|
|
@@ -67,8 +74,8 @@ export class DdaAvatar {
|
|
|
67
74
|
},
|
|
68
75
|
"getter": false,
|
|
69
76
|
"setter": false,
|
|
70
|
-
"attribute": "type",
|
|
71
77
|
"reflect": false,
|
|
78
|
+
"attribute": "type",
|
|
72
79
|
"defaultValue": "'photo'"
|
|
73
80
|
},
|
|
74
81
|
"size": {
|
|
@@ -87,8 +94,8 @@ export class DdaAvatar {
|
|
|
87
94
|
},
|
|
88
95
|
"getter": false,
|
|
89
96
|
"setter": false,
|
|
90
|
-
"attribute": "size",
|
|
91
97
|
"reflect": false,
|
|
98
|
+
"attribute": "size",
|
|
92
99
|
"defaultValue": "'md'"
|
|
93
100
|
},
|
|
94
101
|
"design": {
|
|
@@ -107,8 +114,8 @@ export class DdaAvatar {
|
|
|
107
114
|
},
|
|
108
115
|
"getter": false,
|
|
109
116
|
"setter": false,
|
|
110
|
-
"attribute": "design",
|
|
111
117
|
"reflect": false,
|
|
118
|
+
"attribute": "design",
|
|
112
119
|
"defaultValue": "'default'"
|
|
113
120
|
},
|
|
114
121
|
"rounded": {
|
|
@@ -127,8 +134,8 @@ export class DdaAvatar {
|
|
|
127
134
|
},
|
|
128
135
|
"getter": false,
|
|
129
136
|
"setter": false,
|
|
130
|
-
"attribute": "rounded",
|
|
131
137
|
"reflect": false,
|
|
138
|
+
"attribute": "rounded",
|
|
132
139
|
"defaultValue": "'circle'"
|
|
133
140
|
},
|
|
134
141
|
"src": {
|
|
@@ -147,8 +154,8 @@ export class DdaAvatar {
|
|
|
147
154
|
},
|
|
148
155
|
"getter": false,
|
|
149
156
|
"setter": false,
|
|
150
|
-
"attribute": "src",
|
|
151
157
|
"reflect": false,
|
|
158
|
+
"attribute": "src",
|
|
152
159
|
"defaultValue": "''"
|
|
153
160
|
},
|
|
154
161
|
"icon": {
|
|
@@ -167,8 +174,8 @@ export class DdaAvatar {
|
|
|
167
174
|
},
|
|
168
175
|
"getter": false,
|
|
169
176
|
"setter": false,
|
|
170
|
-
"attribute": "icon",
|
|
171
177
|
"reflect": false,
|
|
178
|
+
"attribute": "icon",
|
|
172
179
|
"defaultValue": "'material-icons'"
|
|
173
180
|
},
|
|
174
181
|
"text": {
|
|
@@ -187,8 +194,8 @@ export class DdaAvatar {
|
|
|
187
194
|
},
|
|
188
195
|
"getter": false,
|
|
189
196
|
"setter": false,
|
|
190
|
-
"attribute": "text",
|
|
191
197
|
"reflect": false,
|
|
198
|
+
"attribute": "text",
|
|
192
199
|
"defaultValue": "'AB'"
|
|
193
200
|
},
|
|
194
201
|
"notification_number": {
|
|
@@ -207,8 +214,8 @@ export class DdaAvatar {
|
|
|
207
214
|
},
|
|
208
215
|
"getter": false,
|
|
209
216
|
"setter": false,
|
|
210
|
-
"attribute": "notification_number",
|
|
211
217
|
"reflect": false,
|
|
218
|
+
"attribute": "notification_number",
|
|
212
219
|
"defaultValue": "0"
|
|
213
220
|
},
|
|
214
221
|
"custom_class": {
|
|
@@ -227,8 +234,8 @@ export class DdaAvatar {
|
|
|
227
234
|
},
|
|
228
235
|
"getter": false,
|
|
229
236
|
"setter": false,
|
|
230
|
-
"attribute": "custom_class",
|
|
231
237
|
"reflect": false,
|
|
238
|
+
"attribute": "custom_class",
|
|
232
239
|
"defaultValue": "''"
|
|
233
240
|
},
|
|
234
241
|
"selected": {
|
|
@@ -247,8 +254,8 @@ export class DdaAvatar {
|
|
|
247
254
|
},
|
|
248
255
|
"getter": false,
|
|
249
256
|
"setter": false,
|
|
250
|
-
"
|
|
251
|
-
"
|
|
257
|
+
"reflect": false,
|
|
258
|
+
"attribute": "selected"
|
|
252
259
|
},
|
|
253
260
|
"options": {
|
|
254
261
|
"type": "string",
|
|
@@ -266,8 +273,8 @@ export class DdaAvatar {
|
|
|
266
273
|
},
|
|
267
274
|
"getter": false,
|
|
268
275
|
"setter": false,
|
|
269
|
-
"
|
|
270
|
-
"
|
|
276
|
+
"reflect": false,
|
|
277
|
+
"attribute": "options"
|
|
271
278
|
},
|
|
272
279
|
"component_mode": {
|
|
273
280
|
"type": "string",
|
|
@@ -285,8 +292,8 @@ export class DdaAvatar {
|
|
|
285
292
|
},
|
|
286
293
|
"getter": false,
|
|
287
294
|
"setter": false,
|
|
288
|
-
"
|
|
289
|
-
"
|
|
295
|
+
"reflect": false,
|
|
296
|
+
"attribute": "component_mode"
|
|
290
297
|
},
|
|
291
298
|
"aria_label": {
|
|
292
299
|
"type": "string",
|
|
@@ -304,8 +311,8 @@ export class DdaAvatar {
|
|
|
304
311
|
},
|
|
305
312
|
"getter": false,
|
|
306
313
|
"setter": false,
|
|
307
|
-
"
|
|
308
|
-
"
|
|
314
|
+
"reflect": false,
|
|
315
|
+
"attribute": "aria_label"
|
|
309
316
|
},
|
|
310
317
|
"button_id": {
|
|
311
318
|
"type": "string",
|
|
@@ -323,8 +330,27 @@ export class DdaAvatar {
|
|
|
323
330
|
},
|
|
324
331
|
"getter": false,
|
|
325
332
|
"setter": false,
|
|
326
|
-
"
|
|
327
|
-
"
|
|
333
|
+
"reflect": false,
|
|
334
|
+
"attribute": "button_id"
|
|
335
|
+
},
|
|
336
|
+
"button_name": {
|
|
337
|
+
"type": "string",
|
|
338
|
+
"mutable": false,
|
|
339
|
+
"complexType": {
|
|
340
|
+
"original": "string",
|
|
341
|
+
"resolved": "string",
|
|
342
|
+
"references": {}
|
|
343
|
+
},
|
|
344
|
+
"required": false,
|
|
345
|
+
"optional": true,
|
|
346
|
+
"docs": {
|
|
347
|
+
"tags": [],
|
|
348
|
+
"text": ""
|
|
349
|
+
},
|
|
350
|
+
"getter": false,
|
|
351
|
+
"setter": false,
|
|
352
|
+
"reflect": false,
|
|
353
|
+
"attribute": "button_name"
|
|
328
354
|
}
|
|
329
355
|
};
|
|
330
356
|
}
|
|
@@ -334,4 +360,3 @@ export class DdaAvatar {
|
|
|
334
360
|
};
|
|
335
361
|
}
|
|
336
362
|
}
|
|
337
|
-
//# sourceMappingURL=dda-avatar.js.map
|
|
@@ -47,54 +47,60 @@ export default {
|
|
|
47
47
|
aria_label: {
|
|
48
48
|
control: { type: 'text' },
|
|
49
49
|
description: 'Aria label for the avatar component',
|
|
50
|
-
}
|
|
50
|
+
},
|
|
51
|
+
button_name: {
|
|
52
|
+
control: { type: 'text' },
|
|
53
|
+
description: 'Button name',
|
|
54
|
+
},
|
|
51
55
|
},
|
|
52
56
|
parameters: {
|
|
53
57
|
docs: {
|
|
54
58
|
description: {
|
|
55
|
-
component: `
|
|
56
|
-
To use the \`dda-avatar\` component, pass the following props:
|
|
57
|
-
|
|
58
|
-
\`\`\`html
|
|
59
|
-
<dda-avatar
|
|
60
|
-
type="photo"
|
|
61
|
-
size="md"
|
|
62
|
-
design="default"
|
|
63
|
-
rounded="circle"
|
|
64
|
-
src="https://img.freepik.com/premium-vector/traditional-arabic-man-head-icon-vector-avatar_55610-6301.jpg"
|
|
65
|
-
icon="sentiment_satisfied"
|
|
66
|
-
text="AB"
|
|
67
|
-
options='["Option 1","Option 2","Option 3"]'
|
|
68
|
-
notification-number="20"
|
|
69
|
-
custom_class=""
|
|
70
|
-
component_mode=""
|
|
71
|
-
aria_label="avatar"
|
|
72
|
-
button_id="button"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
59
|
+
component: `
|
|
60
|
+
To use the \`dda-avatar\` component, pass the following props:
|
|
61
|
+
|
|
62
|
+
\`\`\`html
|
|
63
|
+
<dda-avatar
|
|
64
|
+
type="photo"
|
|
65
|
+
size="md"
|
|
66
|
+
design="default"
|
|
67
|
+
rounded="circle"
|
|
68
|
+
src="https://img.freepik.com/premium-vector/traditional-arabic-man-head-icon-vector-avatar_55610-6301.jpg"
|
|
69
|
+
icon="sentiment_satisfied"
|
|
70
|
+
text="AB"
|
|
71
|
+
options='["Option 1","Option 2","Option 3"]'
|
|
72
|
+
notification-number="20"
|
|
73
|
+
custom_class=""
|
|
74
|
+
component_mode=""
|
|
75
|
+
aria_label="avatar"
|
|
76
|
+
button_id="button"
|
|
77
|
+
button_name=""
|
|
78
|
+
>
|
|
79
|
+
</dda-avatar>
|
|
80
|
+
\`\`\`
|
|
76
81
|
`,
|
|
77
82
|
},
|
|
78
83
|
},
|
|
79
84
|
},
|
|
80
85
|
};
|
|
81
|
-
const Template = ({ type, size, design, rounded, src, icon, text, notification_number, custom_class, options, component_mode, button_id, aria_label }) => html `
|
|
82
|
-
<dda-avatar
|
|
83
|
-
type=${type}
|
|
84
|
-
size=${size}
|
|
85
|
-
design=${design}
|
|
86
|
-
rounded=${rounded}
|
|
87
|
-
src=${src}
|
|
88
|
-
icon=${icon}
|
|
89
|
-
text=${text}
|
|
90
|
-
options=${JSON.stringify(options)}
|
|
91
|
-
notification_number=${notification_number}
|
|
92
|
-
custom_class=${custom_class}
|
|
93
|
-
component_mode=${component_mode}
|
|
94
|
-
aria_label=${aria_label}
|
|
95
|
-
button_id=${button_id}
|
|
96
|
-
|
|
97
|
-
|
|
86
|
+
const Template = ({ type, size, design, rounded, src, icon, text, notification_number, custom_class, options, component_mode, button_id, aria_label, button_name }) => html `
|
|
87
|
+
<dda-avatar
|
|
88
|
+
type=${type}
|
|
89
|
+
size=${size}
|
|
90
|
+
design=${design}
|
|
91
|
+
rounded=${rounded}
|
|
92
|
+
src=${src}
|
|
93
|
+
icon=${icon}
|
|
94
|
+
text=${text}
|
|
95
|
+
options=${JSON.stringify(options)}
|
|
96
|
+
notification_number=${notification_number}
|
|
97
|
+
custom_class=${custom_class}
|
|
98
|
+
component_mode=${component_mode}
|
|
99
|
+
aria_label=${aria_label}
|
|
100
|
+
button_id=${button_id}
|
|
101
|
+
button_name=${button_name}
|
|
102
|
+
>
|
|
103
|
+
</dda-avatar>
|
|
98
104
|
`;
|
|
99
105
|
export const StatusPhoto = Template.bind({});
|
|
100
106
|
StatusPhoto.args = {
|
|
@@ -110,7 +116,8 @@ StatusPhoto.args = {
|
|
|
110
116
|
custom_class: '',
|
|
111
117
|
component_mode: '',
|
|
112
118
|
button_id: 'button',
|
|
113
|
-
aria_label: "avatar"
|
|
119
|
+
aria_label: "avatar",
|
|
120
|
+
button_name: "button"
|
|
114
121
|
};
|
|
115
122
|
export const StatusIcon = Template.bind({});
|
|
116
123
|
StatusIcon.args = {
|
|
@@ -126,7 +133,8 @@ StatusIcon.args = {
|
|
|
126
133
|
custom_class: '',
|
|
127
134
|
component_mode: '',
|
|
128
135
|
button_id: 'button',
|
|
129
|
-
aria_label: "avatar"
|
|
136
|
+
aria_label: "avatar",
|
|
137
|
+
button_name: "button"
|
|
130
138
|
};
|
|
131
139
|
export const StatusText = Template.bind({});
|
|
132
140
|
StatusText.args = {
|
|
@@ -142,6 +150,6 @@ StatusText.args = {
|
|
|
142
150
|
custom_class: '',
|
|
143
151
|
component_mode: '',
|
|
144
152
|
button_id: 'button',
|
|
145
|
-
aria_label: "avatar"
|
|
153
|
+
aria_label: "avatar",
|
|
154
|
+
button_name: "button"
|
|
146
155
|
};
|
|
147
|
-
//# sourceMappingURL=dda-avatar.stories.js.map
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
export class DdaBanner {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.parsedSlides = [];
|
|
5
|
+
}
|
|
6
|
+
componentWillLoad() {
|
|
7
|
+
this.parsedSlides = JSON.parse(this.slides);
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, { key: '2cee5be83d942c4478169615a7dd7ab9c02fdc1a' }, h("div", { key: '5e49ec5b1d4aa90d56dff504f271ab52cc61fa72', class: 'dda-banner-slider' }, this.parsedSlides.map((slide) => (h("div", { class: 'dda-banner-slide' }, h("img", { src: slide.image, alt: slide.title, style: { width: this.slider_width, height: this.slider_height } })))))));
|
|
11
|
+
}
|
|
12
|
+
static get is() { return "dda-banner"; }
|
|
13
|
+
static get encapsulation() { return "shadow"; }
|
|
14
|
+
static get originalStyleUrls() {
|
|
15
|
+
return {
|
|
16
|
+
"$": ["dda-banner.css", "../../global/global.css"]
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
static get styleUrls() {
|
|
20
|
+
return {
|
|
21
|
+
"$": ["dda-banner.css", "../../global/global.css"]
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
static get properties() {
|
|
25
|
+
return {
|
|
26
|
+
"slides": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"mutable": false,
|
|
29
|
+
"complexType": {
|
|
30
|
+
"original": "string",
|
|
31
|
+
"resolved": "string",
|
|
32
|
+
"references": {}
|
|
33
|
+
},
|
|
34
|
+
"required": false,
|
|
35
|
+
"optional": false,
|
|
36
|
+
"docs": {
|
|
37
|
+
"tags": [],
|
|
38
|
+
"text": ""
|
|
39
|
+
},
|
|
40
|
+
"getter": false,
|
|
41
|
+
"setter": false,
|
|
42
|
+
"reflect": false,
|
|
43
|
+
"attribute": "slides"
|
|
44
|
+
},
|
|
45
|
+
"slider_width": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"mutable": false,
|
|
48
|
+
"complexType": {
|
|
49
|
+
"original": "string",
|
|
50
|
+
"resolved": "string",
|
|
51
|
+
"references": {}
|
|
52
|
+
},
|
|
53
|
+
"required": false,
|
|
54
|
+
"optional": false,
|
|
55
|
+
"docs": {
|
|
56
|
+
"tags": [],
|
|
57
|
+
"text": ""
|
|
58
|
+
},
|
|
59
|
+
"getter": false,
|
|
60
|
+
"setter": false,
|
|
61
|
+
"reflect": false,
|
|
62
|
+
"attribute": "slider_width"
|
|
63
|
+
},
|
|
64
|
+
"slider_height": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"mutable": false,
|
|
67
|
+
"complexType": {
|
|
68
|
+
"original": "string",
|
|
69
|
+
"resolved": "string",
|
|
70
|
+
"references": {}
|
|
71
|
+
},
|
|
72
|
+
"required": false,
|
|
73
|
+
"optional": false,
|
|
74
|
+
"docs": {
|
|
75
|
+
"tags": [],
|
|
76
|
+
"text": ""
|
|
77
|
+
},
|
|
78
|
+
"getter": false,
|
|
79
|
+
"setter": false,
|
|
80
|
+
"reflect": false,
|
|
81
|
+
"attribute": "slider_height"
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
static get states() {
|
|
86
|
+
return {
|
|
87
|
+
"parsedSlides": {}
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
.dda-breadcrumb {
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
list-style: none;
|
|
5
|
-
padding: 0;
|
|
6
|
-
margin: 0;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.breadcrumb-item {
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.dda-breadcrumb,
|
|
15
|
-
.breadcrumb-item{
|
|
16
|
-
gap: 10px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.breadcrumb-item a {
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
text-decoration: none;
|
|
24
|
-
font-size: var(--dda-fs-body-lg);
|
|
25
|
-
gap: 4px;
|
|
26
|
-
}
|
|
27
|
-
.breadcrumb-item a span{
|
|
28
|
-
color: var(--dda-on-surface-0);
|
|
29
|
-
font-weight: var(--dda-fw-500);
|
|
30
|
-
}
|
|
31
|
-
.light-mode .breadcrumb-item a span{
|
|
32
|
-
color: var(--dda-neutral-0);
|
|
33
|
-
}
|
|
34
|
-
/**/
|
|
35
|
-
.breadcrumb-item i,
|
|
36
|
-
.breadcrumb-item svg {
|
|
37
|
-
color: var(--dda-on-surface-variant-30);
|
|
38
|
-
}
|
|
39
|
-
.light-mode .breadcrumb-item i,
|
|
40
|
-
.light-mode .breadcrumb-item svg {
|
|
41
|
-
color: var(--dda-neutral-variant-30);
|
|
42
|
-
}
|
|
43
|
-
/**/
|
|
44
|
-
.breadcrumb-item .separator {
|
|
45
|
-
margin: 0 8px;
|
|
46
|
-
color: var(--dda-on-surface-variant-30);
|
|
47
|
-
}
|
|
48
|
-
.light-mode .breadcrumb-item .separator {
|
|
49
|
-
color: var(--dda-neutral-variant-30);
|
|
50
|
-
}
|
|
51
|
-
/**/
|
|
52
|
-
.breadcrumb-item.active a span{
|
|
53
|
-
color: var(--dda-on-surface-variant-30);
|
|
54
|
-
font-weight: var(--dda-fw-400);
|
|
55
|
-
}
|
|
56
|
-
.light-mode .breadcrumb-item.active a span{
|
|
57
|
-
color: var(--dda-neutral-variant-30);
|
|
58
|
-
}
|
|
1
|
+
.dda-breadcrumb {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
list-style: none;
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.dda-breadcrumb-item {
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.dda-breadcrumb,
|
|
15
|
+
.dda-breadcrumb-item{
|
|
16
|
+
gap: 10px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.dda-breadcrumb-item a {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
text-decoration: none;
|
|
24
|
+
font-size: var(--dda-fs-body-lg);
|
|
25
|
+
gap: 4px;
|
|
26
|
+
}
|
|
27
|
+
.dda-breadcrumb-item a span{
|
|
28
|
+
color: var(--dda-on-surface-0);
|
|
29
|
+
font-weight: var(--dda-fw-500);
|
|
30
|
+
}
|
|
31
|
+
.light-mode .dda-breadcrumb-item a span{
|
|
32
|
+
color: var(--dda-neutral-0);
|
|
33
|
+
}
|
|
34
|
+
/**/
|
|
35
|
+
.dda-breadcrumb-item i,
|
|
36
|
+
.dda-breadcrumb-item svg {
|
|
37
|
+
color: var(--dda-on-surface-variant-30);
|
|
38
|
+
}
|
|
39
|
+
.light-mode .dda-breadcrumb-item i,
|
|
40
|
+
.light-mode .dda-breadcrumb-item svg {
|
|
41
|
+
color: var(--dda-neutral-variant-30);
|
|
42
|
+
}
|
|
43
|
+
/**/
|
|
44
|
+
.dda-breadcrumb-item .separator {
|
|
45
|
+
margin: 0 8px;
|
|
46
|
+
color: var(--dda-on-surface-variant-30);
|
|
47
|
+
}
|
|
48
|
+
.light-mode .dda-breadcrumb-item .separator {
|
|
49
|
+
color: var(--dda-neutral-variant-30);
|
|
50
|
+
}
|
|
51
|
+
/**/
|
|
52
|
+
.dda-breadcrumb-item.active a span{
|
|
53
|
+
color: var(--dda-on-surface-variant-30);
|
|
54
|
+
font-weight: var(--dda-fw-400);
|
|
55
|
+
}
|
|
56
|
+
.light-mode .dda-breadcrumb-item.active a span{
|
|
57
|
+
color: var(--dda-neutral-variant-30);
|
|
58
|
+
}
|
|
@@ -13,7 +13,7 @@ export class DdaBreadcrumb {
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '3b2fb277fddd52159d3df33176c255cc93827b89' }, h("div", { key: '4b8d65186e70be644326d300ad581e20b7c2f9e5', class: this.component_mode }, h("nav", { key: '57730ad06b7854a068b8cb7b626678d4e4dee341', "aria-label": "breadcrumb", class: `${this.custom_class}` }, h("ol", { key: '1b286c52f35bcd99c1d65f56eac8a19b0486ef33', class: "dda-breadcrumb" }, this.breadcrumbs && this.breadcrumbs.map((crumb, index) => (h("li", { class: `dda-breadcrumb-item ${index === this.breadcrumbs.length - 1 ? 'active' : ''}` }, h("a", { href: crumb.url }, this.design !== 'text' && h("i", { class: `material-icons` }, crumb.icon), this.design !== 'icon' && h("span", null, crumb.text)), index < this.breadcrumbs.length - 1 && (h("i", { class: `material-icons material-symbols-outlined` }, this.separator))))))))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "dda-breadcrumb"; }
|
|
19
19
|
static get originalStyleUrls() {
|
|
@@ -44,8 +44,8 @@ export class DdaBreadcrumb {
|
|
|
44
44
|
},
|
|
45
45
|
"getter": false,
|
|
46
46
|
"setter": false,
|
|
47
|
-
"attribute": "design",
|
|
48
47
|
"reflect": false,
|
|
48
|
+
"attribute": "design",
|
|
49
49
|
"defaultValue": "'text'"
|
|
50
50
|
},
|
|
51
51
|
"separator": {
|
|
@@ -64,8 +64,8 @@ export class DdaBreadcrumb {
|
|
|
64
64
|
},
|
|
65
65
|
"getter": false,
|
|
66
66
|
"setter": false,
|
|
67
|
-
"attribute": "separator",
|
|
68
67
|
"reflect": false,
|
|
68
|
+
"attribute": "separator",
|
|
69
69
|
"defaultValue": "'chevron_right'"
|
|
70
70
|
},
|
|
71
71
|
"custom_class": {
|
|
@@ -84,8 +84,8 @@ export class DdaBreadcrumb {
|
|
|
84
84
|
},
|
|
85
85
|
"getter": false,
|
|
86
86
|
"setter": false,
|
|
87
|
-
"attribute": "custom_class",
|
|
88
87
|
"reflect": false,
|
|
88
|
+
"attribute": "custom_class",
|
|
89
89
|
"defaultValue": "''"
|
|
90
90
|
},
|
|
91
91
|
"component_mode": {
|
|
@@ -104,11 +104,10 @@ export class DdaBreadcrumb {
|
|
|
104
104
|
},
|
|
105
105
|
"getter": false,
|
|
106
106
|
"setter": false,
|
|
107
|
-
"
|
|
108
|
-
"
|
|
107
|
+
"reflect": false,
|
|
108
|
+
"attribute": "component_mode"
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
112
|
static get elementRef() { return "el"; }
|
|
113
113
|
}
|
|
114
|
-
//# sourceMappingURL=dda-breadcrumb.js.map
|
|
@@ -36,20 +36,20 @@ export default {
|
|
|
36
36
|
parameters: {
|
|
37
37
|
docs: {
|
|
38
38
|
description: {
|
|
39
|
-
component: `
|
|
40
|
-
To use the \`dda-breadcrumb\` component, pass the following props:
|
|
41
|
-
|
|
42
|
-
\`\`\`html
|
|
43
|
-
<dda-breadcrumb
|
|
44
|
-
design="text"
|
|
45
|
-
separator="chevron_right"
|
|
46
|
-
custom_class=""
|
|
47
|
-
component_mode=""
|
|
48
|
-
data-breadcrumbs='[{"text":"Home","icon":"home","url":"/"},
|
|
49
|
-
{"text":"Library","icon":"menu_book","url":"/library"},
|
|
50
|
-
{"text":"Data","icon":"storage"}]'
|
|
51
|
-
></dda-breadcrumb>
|
|
52
|
-
\`\`\`
|
|
39
|
+
component: `
|
|
40
|
+
To use the \`dda-breadcrumb\` component, pass the following props:
|
|
41
|
+
|
|
42
|
+
\`\`\`html
|
|
43
|
+
<dda-breadcrumb
|
|
44
|
+
design="text"
|
|
45
|
+
separator="chevron_right"
|
|
46
|
+
custom_class=""
|
|
47
|
+
component_mode=""
|
|
48
|
+
data-breadcrumbs='[{"text":"Home","icon":"home","url":"/"},
|
|
49
|
+
{"text":"Library","icon":"menu_book","url":"/library"},
|
|
50
|
+
{"text":"Data","icon":"storage"}]'
|
|
51
|
+
></dda-breadcrumb>
|
|
52
|
+
\`\`\`
|
|
53
53
|
`,
|
|
54
54
|
},
|
|
55
55
|
},
|
|
@@ -71,7 +71,7 @@ TextOnly.args = {
|
|
|
71
71
|
breadcrumbs: [
|
|
72
72
|
{ text: 'Home', icon: 'home', url: '/' },
|
|
73
73
|
{ text: 'Library', icon: 'menu_book', url: '/library' },
|
|
74
|
-
{ text: '
|
|
74
|
+
{ text: 'Datas', icon: 'storage' },
|
|
75
75
|
],
|
|
76
76
|
custom_class: '',
|
|
77
77
|
component_mode: '',
|
|
@@ -83,7 +83,7 @@ IconText.args = {
|
|
|
83
83
|
breadcrumbs: [
|
|
84
84
|
{ text: 'Home', icon: 'home', url: '/' },
|
|
85
85
|
{ text: 'Library', icon: 'menu_book', url: '/library' },
|
|
86
|
-
{ text: '
|
|
86
|
+
{ text: 'Datas', icon: 'storage' },
|
|
87
87
|
],
|
|
88
88
|
custom_class: '',
|
|
89
89
|
component_mode: '',
|
|
@@ -100,4 +100,3 @@ IconOnly.args = {
|
|
|
100
100
|
custom_class: '',
|
|
101
101
|
component_mode: '',
|
|
102
102
|
};
|
|
103
|
-
//# sourceMappingURL=dda-breadcrumb.stories.js.map
|