@dubai-design-system/components-js 3.12.9 → 3.12.11
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/LICENSE +21 -21
- package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -2
- package/dist/cjs/dda-accordion.cjs.entry.js +10 -36
- package/dist/cjs/dda-alert.cjs.entry.js +9 -14
- package/dist/cjs/dda-attach-file.cjs.entry.js +18 -62
- package/dist/cjs/dda-avatar.cjs.entry.js +9 -18
- package/dist/cjs/dda-banner.cjs.entry.js +23 -0
- package/dist/cjs/dda-breadcrumb.cjs.entry.js +5 -16
- package/dist/cjs/dda-button.cjs.entry.js +15 -33
- package/dist/cjs/dda-checkbox.cjs.entry.js +6 -14
- package/dist/cjs/dda-chip.cjs.entry.js +5 -9
- package/dist/cjs/dda-credit-card.cjs.entry.js +6 -5
- package/dist/cjs/dda-creditcard-field.cjs.entry.js +7 -46
- package/dist/cjs/dda-dropdown.cjs.entry.js +20 -41
- package/dist/cjs/dda-footer.cjs.entry.js +4 -5
- package/dist/cjs/dda-header.cjs.entry.js +44 -255
- package/dist/cjs/dda-home-banner.cjs.entry.js +10 -151
- package/dist/cjs/dda-horizontal-stepper.cjs.entry.js +5 -8
- package/dist/cjs/dda-input.cjs.entry.js +34 -0
- package/dist/cjs/dda-link-button_2.cjs.entry.js +66 -0
- package/dist/cjs/dda-number-field.cjs.entry.js +7 -33
- package/dist/cjs/dda-pagination.cjs.entry.js +17 -19
- package/dist/cjs/dda-phonefield.cjs.entry.js +197 -240
- package/dist/cjs/dda-progressbar.cjs.entry.js +5 -8
- package/dist/cjs/dda-range-slider.cjs.entry.js +5 -10
- package/dist/cjs/dda-search-input.cjs.entry.js +12 -103
- package/dist/cjs/dda-segmented-tabs.cjs.entry.js +6 -9
- package/dist/cjs/dda-select.cjs.entry.js +8 -120
- package/dist/cjs/dda-sticky-footer.cjs.entry.js +4 -66
- package/dist/cjs/dda-tabs.cjs.entry.js +16 -43
- package/dist/cjs/dda-textarea.cjs.entry.js +6087 -6252
- package/dist/cjs/dda-toggle.cjs.entry.js +11 -16
- package/dist/cjs/dda-tooltip.cjs.entry.js +5 -8
- 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 -9
- package/dist/cjs/{index-39924b9e.js → index-B79qki6G.js} +790 -578
- package/dist/cjs/index.cjs.js +12 -16
- package/dist/cjs/loader.cjs.js +3 -7
- 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 +5 -16
- package/dist/collection/components/dda-accordion/dda-accordion.css +72 -91
- package/dist/collection/components/dda-accordion/dda-accordion.js +16 -215
- package/dist/collection/components/dda-accordion/dda-accordion.stories.js +18 -58
- package/dist/collection/components/dda-alert/dda-alert.css +148 -133
- package/dist/collection/components/dda-alert/dda-alert.js +50 -47
- package/dist/collection/components/dda-alert/dda-alert.stories.js +58 -66
- package/dist/collection/components/dda-attach-file/dda-attach-file.js +41 -306
- package/dist/collection/components/dda-attach-file/dda-attach-file.stories.js +128 -84
- package/dist/collection/components/dda-avatar/dda-avatar.css +282 -282
- package/dist/collection/components/dda-avatar/dda-avatar.js +24 -73
- package/dist/collection/components/dda-avatar/dda-avatar.stories.js +76 -48
- 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 -61
- package/dist/collection/components/dda-breadcrumb/dda-breadcrumb.js +7 -93
- package/dist/collection/components/dda-breadcrumb/dda-breadcrumb.stories.js +14 -22
- package/dist/collection/components/dda-button/dda-button.js +54 -143
- package/dist/collection/components/dda-button/dda-button.stories.js +105 -118
- package/dist/collection/components/dda-checkbox/dda-checkbox.css +119 -126
- package/dist/collection/components/dda-checkbox/dda-checkbox.js +42 -46
- package/dist/collection/components/dda-checkbox/dda-checkbox.stories.js +56 -55
- package/dist/collection/components/dda-chip/dda-chip.css +100 -109
- package/dist/collection/components/dda-chip/dda-chip.js +15 -150
- package/dist/collection/components/dda-chip/dda-chip.stories.js +34 -60
- package/dist/collection/components/dda-credit-card/dda-credit-card.css +104 -0
- package/dist/collection/components/dda-credit-card/dda-credit-card.js +24 -15
- package/dist/collection/components/dda-credit-card/dda-credit-card.stories.js +17 -19
- package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.js +39 -126
- package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.stories.js +30 -40
- package/dist/collection/components/dda-dropdown/dda-dropdown.js +63 -134
- package/dist/collection/components/dda-dropdown/dda-dropdown.stories.js +141 -85
- package/dist/collection/components/dda-footer/dda-footer.css +0 -0
- package/dist/collection/components/dda-footer/dda-footer.js +30 -20
- package/dist/collection/components/dda-footer/dda-footer.stories.js +29 -30
- package/dist/collection/components/dda-header/dda-header.css +0 -0
- package/dist/collection/components/dda-header/dda-header.js +179 -1169
- package/dist/collection/components/dda-header/dda-header.stories.js +118 -358
- package/dist/collection/components/dda-home-banner/dda-home-banner.js +9 -197
- package/dist/collection/components/dda-home-banner/dda-home-banner.stories.js +44 -37
- package/dist/collection/components/dda-home-banner/home-banner.css +153 -269
- package/dist/collection/components/dda-input/dda-input.js +41 -310
- package/dist/collection/components/dda-input/dda-input.stories.js +89 -127
- package/dist/collection/components/dda-link-button/dda-link-button.js +50 -192
- package/dist/collection/components/dda-link-button/dda-link-button.stories.js +40 -131
- package/dist/collection/components/dda-number-field/dda-number-field.js +44 -87
- package/dist/collection/components/dda-number-field/dda-number-field.stories.js +26 -27
- package/dist/collection/components/dda-pagination/dda-pagination.css +167 -167
- package/dist/collection/components/dda-pagination/dda-pagination.js +40 -80
- package/dist/collection/components/dda-pagination/dda-pagination.stories.js +24 -25
- package/dist/collection/components/dda-phonefield/dda-phonefield.js +54 -220
- package/dist/collection/components/dda-phonefield/dda-phonefield.stories.js +59 -74
- package/dist/collection/components/dda-progressbar/dda-progressbar.css +94 -94
- package/dist/collection/components/dda-progressbar/dda-progressbar.js +11 -12
- package/dist/collection/components/dda-progressbar/dda-progressbar.stories.js +13 -14
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.css +3830 -125
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.js +24 -146
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.stories.js +58 -64
- package/dist/collection/components/dda-range-slider/dda-range-slider.css +136 -143
- package/dist/collection/components/dda-range-slider/dda-range-slider.js +26 -27
- package/dist/collection/components/dda-range-slider/dda-range-slider.stories.js +20 -21
- package/dist/collection/components/dda-search-input/dda-search-input.js +42 -327
- package/dist/collection/components/dda-search-input/dda-search-input.stories.js +23 -51
- package/dist/collection/components/dda-select/dda-select.js +32 -325
- package/dist/collection/components/dda-select/dda-select.stories.js +113 -80
- package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.css +0 -225
- package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.js +133 -230
- package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.stories.js +84 -100
- package/dist/collection/components/dda-tabs/dda-tabs.css +119 -164
- package/dist/collection/components/dda-tabs/dda-tabs.js +30 -96
- package/dist/collection/components/dda-tabs/dda-tabs.stories.js +34 -41
- package/dist/collection/components/dda-textarea/dda-textarea.js +83 -260
- package/dist/collection/components/dda-textarea/dda-textarea.stories.js +37 -63
- package/dist/collection/components/dda-toggle/dda-toggle.css +119 -129
- package/dist/collection/components/dda-toggle/dda-toggle.js +22 -56
- package/dist/collection/components/dda-toggle/dda-toggle.stories.js +17 -18
- package/dist/collection/components/dda-tooltip/dda-tooltip.css +130 -138
- package/dist/collection/components/dda-tooltip/dda-tooltip.js +11 -12
- 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-cards/dda-banner-card/dda-banner-card.js → dda-ui-card/dda-ui-card.js} +68 -95
- 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 +14 -15
- package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.stories.js +12 -13
- package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.css +108 -114
- package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.js +10 -11
- 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 +580 -0
- package/dist/collection/global/global.css +3706 -3007
- package/dist/collection/global/input.css +615 -688
- package/dist/collection/index.js +0 -1
- package/dist/collection/utils/applyTheme.js +12 -12
- package/dist/collection/utils/utils.js +0 -1
- package/dist/components/dda-accordion.js +1 -91
- package/dist/components/dda-alert.js +1 -74
- package/dist/components/dda-attach-file.js +1 -159
- package/dist/components/dda-avatar.js +1 -8
- package/dist/components/{dda-slider.d.ts → dda-banner.d.ts} +4 -4
- package/dist/components/dda-banner.js +1 -0
- package/dist/components/dda-breadcrumb.js +1 -63
- package/dist/components/dda-button.js +1 -8
- package/dist/components/dda-checkbox.js +1 -61
- package/dist/components/dda-chip.js +1 -8
- package/dist/components/dda-credit-card.js +1 -47
- package/dist/components/dda-creditcard-field.js +1 -132
- package/dist/components/dda-dropdown.js +1 -107
- package/dist/components/dda-footer.js +1 -59
- package/dist/components/dda-header.js +1 -534
- package/dist/components/dda-home-banner.js +1 -214
- package/dist/components/dda-horizontal-stepper.js +1 -47
- package/dist/components/dda-input.js +1 -8
- package/dist/components/dda-link-button.js +1 -8
- package/dist/components/dda-number-field.js +1 -122
- package/dist/components/dda-pagination.js +1 -116
- package/dist/components/dda-phonefield.js +1 -325
- package/dist/components/dda-progressbar.js +1 -50
- package/dist/components/dda-radiobutton.js +1 -8
- package/dist/components/dda-range-slider.js +1 -82
- package/dist/components/dda-search-input.js +1 -165
- package/dist/components/dda-segmented-tabs.js +1 -48
- package/dist/components/dda-select.js +1 -194
- package/dist/components/dda-sticky-footer.js +1 -161
- package/dist/components/dda-tabs.js +1 -110
- package/dist/components/dda-textarea.js +1 -16525
- package/dist/components/dda-toggle.js +1 -53
- package/dist/components/dda-tooltip.js +1 -8
- package/dist/components/{dda-image-card.d.ts → dda-ui-card.d.ts} +4 -4
- 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-BKiP6sny.js +1 -0
- package/dist/components/p-Bm-EYFLN.js +1 -0
- package/dist/components/p-BvP8lGT3.js +1 -0
- package/dist/components/p-DRFUUPG3.js +1 -0
- package/dist/components/p-LJ4a_ueE.js +1 -0
- package/dist/dda/dda.esm.js +1 -2
- package/dist/dda/index.esm.js +1 -2
- package/dist/dda/p-040099d5.entry.js +1 -0
- package/dist/dda/p-0c6f89c6.entry.js +1 -0
- package/dist/dda/p-0db613dc.entry.js +1 -0
- package/dist/dda/p-11ce4cfd.entry.js +1 -0
- package/dist/dda/p-16ce89d0.entry.js +1 -0
- package/dist/dda/p-203ee4e1.entry.js +1 -0
- package/dist/dda/p-2a027297.entry.js +1 -0
- package/dist/dda/p-2e1d59b9.entry.js +1 -0
- package/dist/dda/p-3512c8ef.entry.js +1 -0
- package/dist/dda/p-35cdd0cf.entry.js +1 -0
- package/dist/dda/p-3a6f952a.entry.js +1 -0
- package/dist/dda/p-3af92bf3.entry.js +1 -0
- package/dist/dda/p-4805baa9.entry.js +1 -0
- package/dist/dda/p-4a846bcd.entry.js +1 -0
- package/dist/dda/p-5b978b8f.entry.js +1 -0
- package/dist/dda/p-5e0f4eaf.entry.js +1 -0
- package/dist/dda/p-6331f69d.entry.js +1 -0
- package/dist/dda/p-67284de0.entry.js +1 -0
- package/dist/dda/p-687993df.entry.js +1 -0
- package/dist/dda/p-716421b3.entry.js +1 -0
- package/dist/dda/p-975905db.entry.js +1 -0
- package/dist/dda/p-9f0045c4.entry.js +1 -0
- package/dist/dda/p-9f82d233.entry.js +1 -0
- package/dist/dda/p-CnOk80gh.js +2 -0
- package/dist/dda/p-DQuL1Twl.js +1 -0
- package/dist/dda/p-b06d31ec.entry.js +1 -0
- package/dist/dda/p-bbafe3f1.entry.js +1 -0
- package/dist/dda/p-d0afe841.entry.js +1 -0
- package/dist/dda/p-d1a52040.entry.js +1 -0
- package/dist/dda/p-dd16275a.entry.js +1 -0
- package/dist/dda/p-e4f05069.entry.js +1 -0
- package/dist/dda/p-ea3d4df8.entry.js +1 -0
- package/dist/dda/p-ebaf8588.entry.js +1 -0
- package/dist/dda/p-f135fada.entry.js +1 -0
- package/dist/dda/p-f8eeccb8.entry.js +1 -0
- package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -2
- package/dist/esm/dda-accordion.entry.js +11 -35
- package/dist/esm/dda-alert.entry.js +10 -13
- package/dist/esm/dda-attach-file.entry.js +18 -60
- package/dist/esm/dda-avatar.entry.js +10 -17
- package/dist/esm/dda-banner.entry.js +21 -0
- package/dist/esm/dda-breadcrumb.entry.js +6 -15
- package/dist/esm/dda-button.entry.js +16 -32
- package/dist/esm/dda-checkbox.entry.js +7 -13
- package/dist/esm/dda-chip.entry.js +6 -8
- package/dist/esm/dda-credit-card.entry.js +7 -4
- package/dist/esm/dda-creditcard-field.entry.js +8 -45
- package/dist/esm/dda-dropdown.entry.js +21 -40
- package/dist/esm/dda-footer.entry.js +5 -4
- package/dist/esm/dda-header.entry.js +44 -253
- package/dist/esm/dda-home-banner.entry.js +11 -150
- package/dist/esm/dda-horizontal-stepper.entry.js +6 -7
- package/dist/esm/dda-input.entry.js +32 -0
- package/dist/esm/dda-link-button_2.entry.js +63 -0
- package/dist/esm/dda-number-field.entry.js +8 -32
- package/dist/esm/dda-pagination.entry.js +18 -18
- package/dist/esm/dda-phonefield.entry.js +197 -238
- package/dist/esm/dda-progressbar.entry.js +6 -7
- package/dist/esm/dda-range-slider.entry.js +5 -8
- package/dist/esm/dda-search-input.entry.js +13 -102
- package/dist/esm/dda-segmented-tabs.entry.js +7 -8
- package/dist/esm/dda-select.entry.js +8 -118
- package/dist/esm/dda-sticky-footer.entry.js +4 -64
- package/dist/esm/dda-tabs.entry.js +17 -42
- package/dist/esm/dda-textarea.entry.js +6087 -6250
- package/dist/esm/dda-toggle.entry.js +12 -15
- package/dist/esm/dda-tooltip.entry.js +6 -7
- 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 +6 -7
- package/dist/esm/{index-52b38a93.js → index-CnOk80gh.js} +789 -557
- package/dist/esm/index.js +12 -14
- package/dist/esm/loader.js +4 -6
- package/dist/types/components/dda-accordion/dda-accordion.d.ts +1 -12
- package/dist/types/components/dda-accordion/dda-accordion.stories.d.ts +2 -32
- package/dist/types/components/dda-alert/dda-alert.d.ts +7 -8
- package/dist/types/components/dda-alert/dda-alert.stories.d.ts +9 -13
- package/dist/types/components/dda-attach-file/dda-attach-file.d.ts +3 -18
- package/dist/types/components/dda-attach-file/dda-attach-file.stories.d.ts +6 -32
- package/dist/types/components/dda-avatar/dda-avatar.d.ts +0 -2
- package/dist/types/components/dda-avatar/dda-avatar.stories.d.ts +0 -4
- package/dist/types/components/dda-banner/dda-banner.d.ts +13 -0
- package/dist/types/components/dda-breadcrumb/dda-breadcrumb.d.ts +0 -5
- package/dist/types/components/dda-breadcrumb/dda-breadcrumb.stories.d.ts +0 -5
- package/dist/types/components/dda-button/dda-button.d.ts +6 -13
- package/dist/types/components/dda-button/dda-button.stories.d.ts +27 -23
- package/dist/types/components/dda-checkbox/dda-checkbox.d.ts +1 -5
- package/dist/types/components/dda-checkbox/dda-checkbox.stories.d.ts +18 -4
- package/dist/types/components/dda-chip/dda-chip.d.ts +1 -8
- package/dist/types/components/dda-chip/dda-chip.stories.d.ts +5 -18
- package/dist/types/components/dda-creditcard-field/dda-creditcard-field.d.ts +0 -11
- package/dist/types/components/dda-creditcard-field/dda-creditcard-field.stories.d.ts +0 -4
- package/dist/types/components/dda-dropdown/dda-dropdown.d.ts +9 -27
- package/dist/types/components/dda-dropdown/dda-dropdown.stories.d.ts +36 -28
- package/dist/types/components/dda-header/dda-header.d.ts +9 -74
- package/dist/types/components/dda-header/dda-header.stories.d.ts +3 -108
- package/dist/types/components/dda-home-banner/dda-home-banner.d.ts +1 -18
- package/dist/types/components/dda-home-banner/dda-home-banner.stories.d.ts +3 -4
- package/dist/types/components/dda-input/dda-input.d.ts +1 -19
- package/dist/types/components/dda-input/dda-input.stories.d.ts +0 -12
- package/dist/types/components/dda-link-button/dda-link-button.d.ts +4 -9
- package/dist/types/components/dda-link-button/dda-link-button.stories.d.ts +0 -37
- package/dist/types/components/dda-number-field/dda-number-field.d.ts +0 -7
- package/dist/types/components/dda-pagination/dda-pagination.d.ts +0 -3
- package/dist/types/components/dda-phonefield/dda-phonefield.d.ts +9 -26
- package/dist/types/components/dda-phonefield/dda-phonefield.stories.d.ts +6 -8
- package/dist/types/components/dda-radiobutton/dda-radiobutton.d.ts +0 -14
- package/dist/types/components/dda-radiobutton/dda-radiobutton.stories.d.ts +18 -19
- package/dist/types/components/dda-search-input/dda-search-input.d.ts +0 -22
- package/dist/types/components/dda-search-input/dda-search-input.stories.d.ts +0 -16
- package/dist/types/components/dda-select/dda-select.d.ts +3 -35
- package/dist/types/components/dda-select/dda-select.stories.d.ts +18 -21
- package/dist/types/components/dda-sticky-footer/dda-sticky-footer.d.ts +25 -35
- package/dist/types/components/dda-sticky-footer/dda-sticky-footer.stories.d.ts +0 -6
- package/dist/types/components/dda-tabs/dda-tabs.d.ts +4 -7
- package/dist/types/components/dda-tabs/dda-tabs.stories.d.ts +2 -8
- package/dist/types/components/dda-textarea/dda-textarea.d.ts +8 -23
- package/dist/types/components/dda-textarea/dda-textarea.stories.d.ts +0 -4
- package/dist/types/components/dda-toggle/dda-toggle.d.ts +0 -3
- package/dist/types/components/dda-ui-card/dda-ui-card.d.ts +13 -0
- package/dist/types/components.d.ts +1365 -1285
- package/dist/types/stencil-public-runtime.d.ts +193 -12
- package/package.json +6 -6
- package/readme.md +78 -256
- 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-banner-card.cjs.entry.js +0 -28
- package/dist/cjs/dda-banner-card.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-centered-image-card.cjs.entry.js +0 -40
- package/dist/cjs/dda-centered-image-card.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-custom-card.cjs.entry.js +0 -37
- package/dist/cjs/dda-custom-card.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-dropdown.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-event-card.cjs.entry.js +0 -53
- package/dist/cjs/dda-event-card.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-footer.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-header-menu_3.cjs.entry.js +0 -271
- package/dist/cjs/dda-header-menu_3.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-header.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-home-banner.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-home-carousel.cjs.entry.js +0 -110
- package/dist/cjs/dda-home-carousel.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-horizontal-stepper.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-image-card.cjs.entry.js +0 -34
- package/dist/cjs/dda-image-card.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-information-card.cjs.entry.js +0 -32
- package/dist/cjs/dda-information-card.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-link-button.cjs.entry.js +0 -71
- package/dist/cjs/dda-link-button.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-pricing-card.cjs.entry.js +0 -38
- package/dist/cjs/dda-pricing-card.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-progressbar.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-range-slider.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-scroll-icon.cjs.entry.js +0 -32
- package/dist/cjs/dda-scroll-icon.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-slider.cjs.entry.js +0 -256
- package/dist/cjs/dda-slider.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-split-button.cjs.entry.js +0 -104
- package/dist/cjs/dda-split-button.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-team-member-card.cjs.entry.js +0 -29
- package/dist/cjs/dda-team-member-card.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-teamsection-card.cjs.entry.js +0 -90
- package/dist/cjs/dda-teamsection-card.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-tooltip.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-39924b9e.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/assets/img/Team-Section-Card-1.svg +0 -9
- package/dist/collection/assets/img/icn/file_icons/icn-Excel.svg +0 -9
- package/dist/collection/assets/img/icn/file_icons/icn-Image.svg +0 -6
- package/dist/collection/assets/img/icn/file_icons/icn-OneNote.svg +0 -6
- package/dist/collection/assets/img/icn/file_icons/icn-PDF.svg +0 -7
- package/dist/collection/assets/img/icn/file_icons/icn-PowerPoint.svg +0 -10
- package/dist/collection/assets/img/icn/file_icons/icn-Video.svg +0 -5
- package/dist/collection/assets/img/icn/file_icons/icn-Word.svg +0 -10
- package/dist/collection/assets/img/icn/file_icons/icn-default.svg +0 -1
- package/dist/collection/assets/img/icn/icn-Config.svg +0 -9
- package/dist/collection/assets/img/icn/icn-card-facebook.svg +0 -11
- package/dist/collection/assets/img/icn/icn-card-linkdin.svg +0 -4
- package/dist/collection/assets/img/icn/icn-card-telegram.svg +0 -11
- package/dist/collection/assets/img/icn/icn-card-twitter-x.svg +0 -10
- package/dist/collection/assets/img/icn/icn-master-card.svg +0 -1
- package/dist/collection/components/cards/dda-centered-image-card/dda-centered-image-card.js +0 -268
- package/dist/collection/components/cards/dda-centered-image-card/dda-centered-image-card.js.map +0 -1
- package/dist/collection/components/cards/dda-centered-image-card/dda-centered-image-card.stories.js +0 -103
- package/dist/collection/components/cards/dda-centered-image-card/dda-centered-image-card.stories.js.map +0 -1
- package/dist/collection/components/cards/dda-image-card/dda-image-card.js +0 -589
- package/dist/collection/components/cards/dda-image-card/dda-image-card.js.map +0 -1
- package/dist/collection/components/cards/dda-image-card/dda-image-card.stories.js +0 -185
- package/dist/collection/components/cards/dda-image-card/dda-image-card.stories.js.map +0 -1
- package/dist/collection/components/cards/dda-information-card/dda-information-card.js +0 -509
- package/dist/collection/components/cards/dda-information-card/dda-information-card.js.map +0 -1
- package/dist/collection/components/cards/dda-information-card/dda-information-card.stories.js +0 -155
- package/dist/collection/components/cards/dda-information-card/dda-information-card.stories.js.map +0 -1
- package/dist/collection/components/cards/dda-team-member-card/dda-team-member-card.css +0 -47
- package/dist/collection/components/cards/dda-team-member-card/dda-team-member-card.js +0 -165
- package/dist/collection/components/cards/dda-team-member-card/dda-team-member-card.js.map +0 -1
- package/dist/collection/components/cards/dda-team-member-card/dda-team-member-card.stories.js +0 -85
- package/dist/collection/components/cards/dda-team-member-card/dda-team-member-card.stories.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-cards/dda-banner-card/dda-banner-card.js.map +0 -1
- package/dist/collection/components/dda-cards/dda-banner-card/dda-banner-card.stories.js +0 -123
- package/dist/collection/components/dda-cards/dda-banner-card/dda-banner-card.stories.js.map +0 -1
- package/dist/collection/components/dda-cards/dda-custom-card/dda-custom-card.css +0 -8
- package/dist/collection/components/dda-cards/dda-custom-card/dda-custom-card.js +0 -157
- package/dist/collection/components/dda-cards/dda-custom-card/dda-custom-card.js.map +0 -1
- package/dist/collection/components/dda-cards/dda-custom-card/dda-custom-card.stories.js +0 -53
- package/dist/collection/components/dda-cards/dda-custom-card/dda-custom-card.stories.js.map +0 -1
- package/dist/collection/components/dda-cards/dda-image-cards/dda-event-card/dda-event-card.js +0 -298
- package/dist/collection/components/dda-cards/dda-image-cards/dda-event-card/dda-event-card.js.map +0 -1
- package/dist/collection/components/dda-cards/dda-image-cards/dda-event-card/dda-event-card.stories.js +0 -87
- package/dist/collection/components/dda-cards/dda-image-cards/dda-event-card/dda-event-card.stories.js.map +0 -1
- package/dist/collection/components/dda-cards/dda-image-cards/dda-pricing-card/dda-pricing-card.js +0 -341
- package/dist/collection/components/dda-cards/dda-image-cards/dda-pricing-card/dda-pricing-card.js.map +0 -1
- package/dist/collection/components/dda-cards/dda-image-cards/dda-pricing-card/dda-pricing-card.stories.js +0 -80
- package/dist/collection/components/dda-cards/dda-image-cards/dda-pricing-card/dda-pricing-card.stories.js.map +0 -1
- package/dist/collection/components/dda-cards/dda-team-section-cards/dda-teamsection-card-variant-one/dda-teamsection-card-variant-one.js +0 -324
- package/dist/collection/components/dda-cards/dda-team-section-cards/dda-teamsection-card-variant-one/dda-teamsection-card-variant-one.js.map +0 -1
- package/dist/collection/components/dda-cards/dda-team-section-cards/dda-teamsection-card-variant-one/dda-teamsection-card-variant-one.stories.js +0 -232
- package/dist/collection/components/dda-cards/dda-team-section-cards/dda-teamsection-card-variant-one/dda-teamsection-card-variant-one.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-main.css +0 -1006
- 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-header-menu/dda-header-menu.css +0 -295
- package/dist/collection/components/dda-header-menu/dda-header-menu.js +0 -222
- package/dist/collection/components/dda-header-menu/dda-header-menu.js.map +0 -1
- package/dist/collection/components/dda-header-menu/dda-header-menu.stories.js +0 -125
- package/dist/collection/components/dda-header-menu/dda-header-menu.stories.js.map +0 -1
- package/dist/collection/components/dda-home-banner/dda-home-banner.js.map +0 -1
- package/dist/collection/components/dda-home-banner/dda-home-banner.stories.js.map +0 -1
- package/dist/collection/components/dda-home-carousel/dda-home-carousel.css +0 -126
- package/dist/collection/components/dda-home-carousel/dda-home-carousel.js +0 -194
- package/dist/collection/components/dda-home-carousel/dda-home-carousel.js.map +0 -1
- package/dist/collection/components/dda-home-carousel/dda-home-carousel.stories.js +0 -138
- package/dist/collection/components/dda-home-carousel/dda-home-carousel.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-scroll-icon/dda-scroll-icon.css +0 -83
- package/dist/collection/components/dda-scroll-icon/dda-scroll-icon.js +0 -115
- package/dist/collection/components/dda-scroll-icon/dda-scroll-icon.js.map +0 -1
- package/dist/collection/components/dda-scroll-icon/dda-scroll-icon.stories.js +0 -59
- package/dist/collection/components/dda-scroll-icon/dda-scroll-icon.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-slider/dda-slider.css +0 -156
- package/dist/collection/components/dda-slider/dda-slider.js +0 -332
- package/dist/collection/components/dda-slider/dda-slider.js.map +0 -1
- package/dist/collection/components/dda-slider/dda-slider.stories.js +0 -126
- package/dist/collection/components/dda-slider/dda-slider.stories.js.map +0 -1
- package/dist/collection/components/dda-split-button/dda-split-button.js +0 -442
- package/dist/collection/components/dda-split-button/dda-split-button.js.map +0 -1
- package/dist/collection/components/dda-split-button/dda-split-button.stories.js +0 -144
- package/dist/collection/components/dda-split-button/dda-split-button.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-banner-card.d.ts +0 -11
- package/dist/components/dda-banner-card.js +0 -8
- package/dist/components/dda-banner-card.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-centered-image-card.d.ts +0 -11
- package/dist/components/dda-centered-image-card.js +0 -73
- package/dist/components/dda-centered-image-card.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-custom-card.d.ts +0 -11
- package/dist/components/dda-custom-card.js +0 -64
- package/dist/components/dda-custom-card.js.map +0 -1
- package/dist/components/dda-dropdown.js.map +0 -1
- package/dist/components/dda-event-card.d.ts +0 -11
- package/dist/components/dda-event-card.js +0 -99
- package/dist/components/dda-event-card.js.map +0 -1
- package/dist/components/dda-footer.js.map +0 -1
- package/dist/components/dda-header-menu.d.ts +0 -11
- package/dist/components/dda-header-menu.js +0 -8
- package/dist/components/dda-header-menu.js.map +0 -1
- package/dist/components/dda-header.js.map +0 -1
- package/dist/components/dda-home-banner.js.map +0 -1
- package/dist/components/dda-home-carousel.d.ts +0 -11
- package/dist/components/dda-home-carousel.js +0 -137
- package/dist/components/dda-home-carousel.js.map +0 -1
- package/dist/components/dda-horizontal-stepper.js.map +0 -1
- package/dist/components/dda-image-card.js +0 -83
- package/dist/components/dda-image-card.js.map +0 -1
- package/dist/components/dda-information-card.d.ts +0 -11
- package/dist/components/dda-information-card.js +0 -77
- package/dist/components/dda-information-card.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-pricing-card.d.ts +0 -11
- package/dist/components/dda-pricing-card.js +0 -81
- package/dist/components/dda-pricing-card.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-scroll-icon.d.ts +0 -11
- package/dist/components/dda-scroll-icon.js +0 -8
- package/dist/components/dda-scroll-icon.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-slider.js +0 -279
- package/dist/components/dda-slider.js.map +0 -1
- package/dist/components/dda-split-button.d.ts +0 -11
- package/dist/components/dda-split-button.js +0 -136
- package/dist/components/dda-split-button.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-team-member-card.d.ts +0 -11
- package/dist/components/dda-team-member-card.js +0 -51
- package/dist/components/dda-team-member-card.js.map +0 -1
- package/dist/components/dda-teamsection-card.d.ts +0 -11
- package/dist/components/dda-teamsection-card.js +0 -119
- package/dist/components/dda-teamsection-card.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-0bbf1225.js +0 -155
- package/dist/components/p-0bbf1225.js.map +0 -1
- package/dist/components/p-42b74b87.js +0 -102
- package/dist/components/p-42b74b87.js.map +0 -1
- package/dist/components/p-5e2018f2.js +0 -94
- package/dist/components/p-5e2018f2.js.map +0 -1
- package/dist/components/p-72204b95.js +0 -53
- package/dist/components/p-72204b95.js.map +0 -1
- package/dist/components/p-857c1ac9.js +0 -141
- package/dist/components/p-857c1ac9.js.map +0 -1
- package/dist/components/p-a29298cf.js +0 -51
- package/dist/components/p-a29298cf.js.map +0 -1
- package/dist/components/p-a7f02338.js +0 -90
- package/dist/components/p-a7f02338.js.map +0 -1
- package/dist/components/p-b7f0ebbb.js +0 -49
- package/dist/components/p-b7f0ebbb.js.map +0 -1
- package/dist/components/p-ba13ee0a.js +0 -41
- package/dist/components/p-ba13ee0a.js.map +0 -1
- package/dist/components/p-c30d0ada.js +0 -70
- package/dist/components/p-c30d0ada.js.map +0 -1
- package/dist/components/p-f6588843.js +0 -1535
- package/dist/components/p-f6588843.js.map +0 -1
- package/dist/dda/dda.css +0 -4
- package/dist/dda/dda.esm.js.map +0 -1
- package/dist/dda/index.esm.js.map +0 -1
- package/dist/dda/p-0905eb60.entry.js +0 -2
- package/dist/dda/p-0905eb60.entry.js.map +0 -1
- package/dist/dda/p-0bd5576f.entry.js +0 -2
- package/dist/dda/p-0bd5576f.entry.js.map +0 -1
- package/dist/dda/p-14d622c2.entry.js +0 -2
- package/dist/dda/p-14d622c2.entry.js.map +0 -1
- package/dist/dda/p-1b339a0a.js +0 -3
- package/dist/dda/p-1b339a0a.js.map +0 -1
- package/dist/dda/p-1fa27da3.entry.js +0 -2
- package/dist/dda/p-1fa27da3.entry.js.map +0 -1
- package/dist/dda/p-207203ae.entry.js +0 -2
- package/dist/dda/p-207203ae.entry.js.map +0 -1
- package/dist/dda/p-24489bc6.entry.js +0 -2
- package/dist/dda/p-24489bc6.entry.js.map +0 -1
- package/dist/dda/p-26bb8828.entry.js +0 -2
- package/dist/dda/p-26bb8828.entry.js.map +0 -1
- package/dist/dda/p-2821386c.entry.js +0 -2
- package/dist/dda/p-2821386c.entry.js.map +0 -1
- package/dist/dda/p-2d505693.entry.js +0 -2
- package/dist/dda/p-2d505693.entry.js.map +0 -1
- package/dist/dda/p-37dbab49.entry.js +0 -2
- package/dist/dda/p-37dbab49.entry.js.map +0 -1
- package/dist/dda/p-3fef96a8.entry.js +0 -2
- package/dist/dda/p-3fef96a8.entry.js.map +0 -1
- package/dist/dda/p-42c30672.entry.js +0 -2
- package/dist/dda/p-42c30672.entry.js.map +0 -1
- package/dist/dda/p-462f0128.entry.js +0 -2
- package/dist/dda/p-462f0128.entry.js.map +0 -1
- package/dist/dda/p-54c8ab80.entry.js +0 -2
- package/dist/dda/p-54c8ab80.entry.js.map +0 -1
- package/dist/dda/p-5695b505.entry.js +0 -2
- package/dist/dda/p-5695b505.entry.js.map +0 -1
- package/dist/dda/p-5bf0d4fe.entry.js +0 -2
- package/dist/dda/p-5bf0d4fe.entry.js.map +0 -1
- package/dist/dda/p-5d47716e.entry.js +0 -2
- package/dist/dda/p-5d47716e.entry.js.map +0 -1
- package/dist/dda/p-5f80ef51.entry.js +0 -2
- package/dist/dda/p-5f80ef51.entry.js.map +0 -1
- package/dist/dda/p-60d855a6.entry.js +0 -2
- package/dist/dda/p-60d855a6.entry.js.map +0 -1
- package/dist/dda/p-6151a1f2.entry.js +0 -2
- package/dist/dda/p-6151a1f2.entry.js.map +0 -1
- package/dist/dda/p-6842a5e5.entry.js +0 -2
- package/dist/dda/p-6842a5e5.entry.js.map +0 -1
- package/dist/dda/p-68c80bba.entry.js +0 -2
- package/dist/dda/p-68c80bba.entry.js.map +0 -1
- package/dist/dda/p-6aa213c1.entry.js +0 -2
- package/dist/dda/p-6aa213c1.entry.js.map +0 -1
- package/dist/dda/p-6d955874.entry.js +0 -2
- package/dist/dda/p-6d955874.entry.js.map +0 -1
- package/dist/dda/p-6fd79768.entry.js +0 -2
- package/dist/dda/p-6fd79768.entry.js.map +0 -1
- package/dist/dda/p-764d2be3.entry.js +0 -2
- package/dist/dda/p-764d2be3.entry.js.map +0 -1
- package/dist/dda/p-7caaf11f.entry.js +0 -2
- package/dist/dda/p-7caaf11f.entry.js.map +0 -1
- package/dist/dda/p-8a9c5267.entry.js +0 -2
- package/dist/dda/p-8a9c5267.entry.js.map +0 -1
- package/dist/dda/p-8c7d0c73.entry.js +0 -2
- package/dist/dda/p-8c7d0c73.entry.js.map +0 -1
- package/dist/dda/p-9636f669.entry.js +0 -2
- package/dist/dda/p-9636f669.entry.js.map +0 -1
- package/dist/dda/p-98021655.entry.js +0 -2
- package/dist/dda/p-98021655.entry.js.map +0 -1
- package/dist/dda/p-a11bf02a.entry.js +0 -2
- package/dist/dda/p-a11bf02a.entry.js.map +0 -1
- package/dist/dda/p-a3f284bc.entry.js +0 -2
- package/dist/dda/p-a3f284bc.entry.js.map +0 -1
- package/dist/dda/p-aefe49c4.entry.js +0 -2
- package/dist/dda/p-aefe49c4.entry.js.map +0 -1
- package/dist/dda/p-b48e061c.entry.js +0 -2
- package/dist/dda/p-b48e061c.entry.js.map +0 -1
- package/dist/dda/p-ba90f4be.entry.js +0 -2
- package/dist/dda/p-ba90f4be.entry.js.map +0 -1
- package/dist/dda/p-bd0d09ff.entry.js +0 -2
- package/dist/dda/p-bd0d09ff.entry.js.map +0 -1
- package/dist/dda/p-c766ae47.entry.js +0 -2
- package/dist/dda/p-c766ae47.entry.js.map +0 -1
- package/dist/dda/p-d7434fd9.entry.js +0 -2
- package/dist/dda/p-d7434fd9.entry.js.map +0 -1
- package/dist/dda/p-d93f2102.entry.js +0 -2
- package/dist/dda/p-d93f2102.entry.js.map +0 -1
- package/dist/dda/p-dc443758.entry.js +0 -2
- package/dist/dda/p-dc443758.entry.js.map +0 -1
- package/dist/dda/p-dca57f55.entry.js +0 -2
- package/dist/dda/p-dca57f55.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-e808d48a.entry.js +0 -2
- package/dist/dda/p-e808d48a.entry.js.map +0 -1
- package/dist/dda/p-eb472057.entry.js +0 -2
- package/dist/dda/p-eb472057.entry.js.map +0 -1
- 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-banner-card.entry.js +0 -24
- package/dist/esm/dda-banner-card.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-centered-image-card.entry.js +0 -36
- package/dist/esm/dda-centered-image-card.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-custom-card.entry.js +0 -33
- package/dist/esm/dda-custom-card.entry.js.map +0 -1
- package/dist/esm/dda-dropdown.entry.js.map +0 -1
- package/dist/esm/dda-event-card.entry.js +0 -49
- package/dist/esm/dda-event-card.entry.js.map +0 -1
- package/dist/esm/dda-footer.entry.js.map +0 -1
- package/dist/esm/dda-header-menu_3.entry.js +0 -265
- package/dist/esm/dda-header-menu_3.entry.js.map +0 -1
- package/dist/esm/dda-header.entry.js.map +0 -1
- package/dist/esm/dda-home-banner.entry.js.map +0 -1
- package/dist/esm/dda-home-carousel.entry.js +0 -106
- package/dist/esm/dda-home-carousel.entry.js.map +0 -1
- package/dist/esm/dda-horizontal-stepper.entry.js.map +0 -1
- package/dist/esm/dda-image-card.entry.js +0 -30
- package/dist/esm/dda-image-card.entry.js.map +0 -1
- package/dist/esm/dda-information-card.entry.js +0 -28
- package/dist/esm/dda-information-card.entry.js.map +0 -1
- package/dist/esm/dda-link-button.entry.js +0 -67
- package/dist/esm/dda-link-button.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-pricing-card.entry.js +0 -34
- package/dist/esm/dda-pricing-card.entry.js.map +0 -1
- package/dist/esm/dda-progressbar.entry.js.map +0 -1
- package/dist/esm/dda-range-slider.entry.js.map +0 -1
- package/dist/esm/dda-scroll-icon.entry.js +0 -28
- package/dist/esm/dda-scroll-icon.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-slider.entry.js +0 -252
- package/dist/esm/dda-slider.entry.js.map +0 -1
- package/dist/esm/dda-split-button.entry.js +0 -100
- package/dist/esm/dda-split-button.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-team-member-card.entry.js +0 -25
- package/dist/esm/dda-team-member-card.entry.js.map +0 -1
- package/dist/esm/dda-teamsection-card.entry.js +0 -86
- package/dist/esm/dda-teamsection-card.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-tooltip.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-52b38a93.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/types/components/cards/dda-centered-image-card/dda-centered-image-card.d.ts +0 -22
- package/dist/types/components/cards/dda-centered-image-card/dda-centered-image-card.stories.d.ts +0 -63
- package/dist/types/components/cards/dda-image-card/dda-image-card.d.ts +0 -33
- package/dist/types/components/cards/dda-image-card/dda-image-card.stories.d.ts +0 -132
- package/dist/types/components/cards/dda-information-card/dda-information-card.d.ts +0 -29
- package/dist/types/components/cards/dda-information-card/dda-information-card.stories.d.ts +0 -107
- package/dist/types/components/cards/dda-team-member-card/dda-team-member-card.d.ts +0 -10
- package/dist/types/components/cards/dda-team-member-card/dda-team-member-card.stories.d.ts +0 -51
- package/dist/types/components/dda-cards/dda-banner-card/dda-banner-card.d.ts +0 -14
- package/dist/types/components/dda-cards/dda-banner-card/dda-banner-card.stories.d.ts +0 -63
- package/dist/types/components/dda-cards/dda-custom-card/dda-custom-card.d.ts +0 -16
- package/dist/types/components/dda-cards/dda-custom-card/dda-custom-card.stories.d.ts +0 -37
- package/dist/types/components/dda-cards/dda-image-cards/dda-event-card/dda-event-card.d.ts +0 -25
- package/dist/types/components/dda-cards/dda-image-cards/dda-event-card/dda-event-card.stories.d.ts +0 -54
- package/dist/types/components/dda-cards/dda-image-cards/dda-pricing-card/dda-pricing-card.d.ts +0 -22
- package/dist/types/components/dda-cards/dda-image-cards/dda-pricing-card/dda-pricing-card.stories.d.ts +0 -63
- package/dist/types/components/dda-cards/dda-team-section-cards/dda-teamsection-card-variant-one/dda-teamsection-card-variant-one.d.ts +0 -26
- package/dist/types/components/dda-cards/dda-team-section-cards/dda-teamsection-card-variant-one/dda-teamsection-card-variant-one.stories.d.ts +0 -64
- package/dist/types/components/dda-header-menu/dda-header-menu.d.ts +0 -27
- package/dist/types/components/dda-header-menu/dda-header-menu.stories.d.ts +0 -19
- package/dist/types/components/dda-home-carousel/dda-home-carousel.d.ts +0 -17
- package/dist/types/components/dda-home-carousel/dda-home-carousel.stories.d.ts +0 -35
- package/dist/types/components/dda-scroll-icon/dda-scroll-icon.d.ts +0 -7
- package/dist/types/components/dda-scroll-icon/dda-scroll-icon.stories.d.ts +0 -39
- package/dist/types/components/dda-slider/dda-slider.d.ts +0 -30
- package/dist/types/components/dda-slider/dda-slider.stories.d.ts +0 -30
- package/dist/types/components/dda-split-button/dda-split-button.d.ts +0 -36
- package/dist/types/components/dda-split-button/dda-split-button.stories.d.ts +0 -79
- package/loader/package.json +0 -11
- package/www/build/dda.css +0 -4
- package/www/build/dda.esm.js +0 -2
- package/www/build/dda.esm.js.map +0 -1
- package/www/build/dda.js +0 -33
- package/www/build/index.esm.js +0 -2
- package/www/build/index.esm.js.map +0 -1
- package/www/build/p-0905eb60.entry.js +0 -2
- package/www/build/p-0905eb60.entry.js.map +0 -1
- package/www/build/p-0bd5576f.entry.js +0 -2
- package/www/build/p-0bd5576f.entry.js.map +0 -1
- package/www/build/p-14d622c2.entry.js +0 -2
- package/www/build/p-14d622c2.entry.js.map +0 -1
- package/www/build/p-1b339a0a.js +0 -3
- package/www/build/p-1b339a0a.js.map +0 -1
- package/www/build/p-1fa27da3.entry.js +0 -2
- package/www/build/p-1fa27da3.entry.js.map +0 -1
- package/www/build/p-207203ae.entry.js +0 -2
- package/www/build/p-207203ae.entry.js.map +0 -1
- package/www/build/p-24489bc6.entry.js +0 -2
- package/www/build/p-24489bc6.entry.js.map +0 -1
- package/www/build/p-26bb8828.entry.js +0 -2
- package/www/build/p-26bb8828.entry.js.map +0 -1
- package/www/build/p-2821386c.entry.js +0 -2
- package/www/build/p-2821386c.entry.js.map +0 -1
- package/www/build/p-2d505693.entry.js +0 -2
- package/www/build/p-2d505693.entry.js.map +0 -1
- package/www/build/p-37dbab49.entry.js +0 -2
- package/www/build/p-37dbab49.entry.js.map +0 -1
- package/www/build/p-3fef96a8.entry.js +0 -2
- package/www/build/p-3fef96a8.entry.js.map +0 -1
- package/www/build/p-42c30672.entry.js +0 -2
- package/www/build/p-42c30672.entry.js.map +0 -1
- package/www/build/p-462f0128.entry.js +0 -2
- package/www/build/p-462f0128.entry.js.map +0 -1
- package/www/build/p-54c8ab80.entry.js +0 -2
- package/www/build/p-54c8ab80.entry.js.map +0 -1
- package/www/build/p-5695b505.entry.js +0 -2
- package/www/build/p-5695b505.entry.js.map +0 -1
- package/www/build/p-5bf0d4fe.entry.js +0 -2
- package/www/build/p-5bf0d4fe.entry.js.map +0 -1
- package/www/build/p-5d47716e.entry.js +0 -2
- package/www/build/p-5d47716e.entry.js.map +0 -1
- package/www/build/p-5f80ef51.entry.js +0 -2
- package/www/build/p-5f80ef51.entry.js.map +0 -1
- package/www/build/p-60d855a6.entry.js +0 -2
- package/www/build/p-60d855a6.entry.js.map +0 -1
- package/www/build/p-6151a1f2.entry.js +0 -2
- package/www/build/p-6151a1f2.entry.js.map +0 -1
- package/www/build/p-6842a5e5.entry.js +0 -2
- package/www/build/p-6842a5e5.entry.js.map +0 -1
- package/www/build/p-68c80bba.entry.js +0 -2
- package/www/build/p-68c80bba.entry.js.map +0 -1
- package/www/build/p-6aa213c1.entry.js +0 -2
- package/www/build/p-6aa213c1.entry.js.map +0 -1
- package/www/build/p-6d955874.entry.js +0 -2
- package/www/build/p-6d955874.entry.js.map +0 -1
- package/www/build/p-6fd79768.entry.js +0 -2
- package/www/build/p-6fd79768.entry.js.map +0 -1
- package/www/build/p-764d2be3.entry.js +0 -2
- package/www/build/p-764d2be3.entry.js.map +0 -1
- package/www/build/p-7caaf11f.entry.js +0 -2
- package/www/build/p-7caaf11f.entry.js.map +0 -1
- package/www/build/p-898ec4a2.css +0 -4
- package/www/build/p-8a9c5267.entry.js +0 -2
- package/www/build/p-8a9c5267.entry.js.map +0 -1
- package/www/build/p-8c7d0c73.entry.js +0 -2
- package/www/build/p-8c7d0c73.entry.js.map +0 -1
- package/www/build/p-9636f669.entry.js +0 -2
- package/www/build/p-9636f669.entry.js.map +0 -1
- package/www/build/p-98021655.entry.js +0 -2
- package/www/build/p-98021655.entry.js.map +0 -1
- package/www/build/p-a11bf02a.entry.js +0 -2
- package/www/build/p-a11bf02a.entry.js.map +0 -1
- package/www/build/p-a3f284bc.entry.js +0 -2
- package/www/build/p-a3f284bc.entry.js.map +0 -1
- package/www/build/p-aefe49c4.entry.js +0 -2
- package/www/build/p-aefe49c4.entry.js.map +0 -1
- package/www/build/p-b48e061c.entry.js +0 -2
- package/www/build/p-b48e061c.entry.js.map +0 -1
- package/www/build/p-ba90f4be.entry.js +0 -2
- package/www/build/p-ba90f4be.entry.js.map +0 -1
- package/www/build/p-bd0d09ff.entry.js +0 -2
- package/www/build/p-bd0d09ff.entry.js.map +0 -1
- package/www/build/p-c766ae47.entry.js +0 -2
- package/www/build/p-c766ae47.entry.js.map +0 -1
- package/www/build/p-d7434fd9.entry.js +0 -2
- package/www/build/p-d7434fd9.entry.js.map +0 -1
- package/www/build/p-d93f2102.entry.js +0 -2
- package/www/build/p-d93f2102.entry.js.map +0 -1
- package/www/build/p-dc443758.entry.js +0 -2
- package/www/build/p-dc443758.entry.js.map +0 -1
- package/www/build/p-dca57f55.entry.js +0 -2
- package/www/build/p-dca57f55.entry.js.map +0 -1
- package/www/build/p-e1255160.js +0 -2
- package/www/build/p-e1255160.js.map +0 -1
- package/www/build/p-e808d48a.entry.js +0 -2
- package/www/build/p-e808d48a.entry.js.map +0 -1
- package/www/build/p-eb472057.entry.js +0 -2
- package/www/build/p-eb472057.entry.js.map +0 -1
|
@@ -5,29 +5,11 @@ export class DdaNumberField {
|
|
|
5
5
|
this.is_focused = false;
|
|
6
6
|
this.custom_class = '';
|
|
7
7
|
this.isCurrencyDropdownOpen = false;
|
|
8
|
-
this.handleOutsideClick = (event) => {
|
|
9
|
-
if (!this.hostElement.contains(event.target)) {
|
|
10
|
-
this.isCurrencyDropdownOpen = false;
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
connectedCallback() {
|
|
15
|
-
document.addEventListener('click', this.handleOutsideClick);
|
|
16
|
-
}
|
|
17
|
-
disconnectedCallback() {
|
|
18
|
-
document.removeEventListener('click', this.handleOutsideClick);
|
|
19
8
|
}
|
|
20
9
|
handleInput(event) {
|
|
21
10
|
const inputElement = event.target;
|
|
22
11
|
const inputValue = inputElement.value.replace(/[^0-9.]/g, '');
|
|
23
12
|
inputElement.value = inputValue;
|
|
24
|
-
this.el.dispatchEvent(new InputEvent('input', {
|
|
25
|
-
bubbles: true,
|
|
26
|
-
composed: true,
|
|
27
|
-
data: event.data,
|
|
28
|
-
inputType: event.inputType,
|
|
29
|
-
isComposing: event.isComposing,
|
|
30
|
-
}));
|
|
31
13
|
}
|
|
32
14
|
handleFocus() {
|
|
33
15
|
this.is_focused = true;
|
|
@@ -52,12 +34,6 @@ export class DdaNumberField {
|
|
|
52
34
|
return [];
|
|
53
35
|
}
|
|
54
36
|
}
|
|
55
|
-
async setValue(val) {
|
|
56
|
-
this.value = val;
|
|
57
|
-
}
|
|
58
|
-
async getValue() {
|
|
59
|
-
return this.value || '';
|
|
60
|
-
}
|
|
61
37
|
render() {
|
|
62
38
|
const containerClass = [
|
|
63
39
|
'dda-input-container',
|
|
@@ -68,12 +44,20 @@ export class DdaNumberField {
|
|
|
68
44
|
this.error_message ? 'dda-error-message' : '',
|
|
69
45
|
this.custom_class ? `${this.custom_class}` : '',
|
|
70
46
|
this.component_mode,
|
|
71
|
-
]
|
|
72
|
-
|
|
73
|
-
.join(' ');
|
|
74
|
-
return (h(Host, { key: '91def39d4869053ffb52d63279a504c0fd7e03e1', ref: el => (this.hostElement = el) }, h("div", { key: 'bf83501237b86db00c05fb71d18f2a3d9cd13e11', class: containerClass }, this.label && (h("label", { key: 'b6ca1e8a6bc9ad27292f7fb8f94d86fddc6d29d6', htmlFor: this.input_id, class: "dda-input-label" }, this.label)), h("div", { key: 'f6b5193b6bf159272e7d20d375820698ea3f5a60', class: "dda-input-field-group dda-number-field" }, h("input", { key: 'd9369bd8021d0bf6af8870530d47718211e8360f', id: this.input_id, name: this.input_name, "aria-label": this.aria_label, type: "number", placeholder: this.placeholder, value: this.value, pattern: '[0-9]*', onInput: event => this.handleInput(event), onFocus: this.handleFocus.bind(this), onBlur: this.handleBlur.bind(this), class: "dda-field-group-input" }), h("div", { key: '4dc2a7224754217edf78619ac40399c21634556d', class: "dda-input-dropdown-btn" }, h("button", { key: '76047ef680f600fb74803e815669eba9a6dbb21e', name: this.toggle_button_name, type: "button", class: "dda-dropdown-select", onClick: () => this.toggleCurrencyDropdown() }, this.selected_currency, ' ', h("i", { key: '87017c99cb3515c7122148ede366f083599abbc3', class: `material-icons`, "aria-hidden": "true" }, this.isCurrencyDropdownOpen ? 'keyboard_arrow_up' : 'keyboard_arrow_down')), this.isCurrencyDropdownOpen && (h("div", { key: '0847ebded3099fcf48ac0e0a337480446f6cd255', class: "dda-input-dropdown-list" }, this.parsedCurrencies.length > 0 ? (this.parsedCurrencies.map(option => (h("button", { name: this.currency_button_name, type: "button", class: `dda-input-dropdown-item ${this.selected_currency === option ? 'selected' : ''}`, onClick: () => this.selectCurrency(option) }, option)))) : (h("div", { class: "dda-input-dropdown-item" }, "No options available")))))), this.helper_text && h("span", { key: 'c77a72d290e9b157bebf52e4ea0293f723c2ff3d', class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: '52a3c41a8907b557bb26b207ee57822e56559d99', class: "dda-error-message" }, this.error_message))));
|
|
47
|
+
].filter(Boolean).join(' ');
|
|
48
|
+
return (h(Host, { key: 'ae450483f9cc0b6ac2eaefcace9274bfb5da20f9' }, h("div", { key: 'ab0b9539dea8e287d8986defdf9d18525d067b60', class: containerClass }, this.label && h("label", { key: '80362825c56ad807a12b31c9a75f424b76d4d97c', htmlFor: this.input_id, class: "dda-input-label" }, this.label), h("div", { key: '00384dc7f258667a7fa11eded180bdc1aa54b679', class: "dda-input-field-group dda-number-field" }, h("input", { key: '5d62066d29d6a96535b84ebacd610a3c52f70324', id: this.input_id, name: this.input_name, "aria-label": this.aria_label, type: "text", placeholder: this.placeholder, value: this.value, pattern: "[0-9]*", onInput: event => this.handleInput(event), onFocus: this.handleFocus.bind(this), onBlur: this.handleBlur.bind(this), class: "dda-field-group-input" }), h("div", { key: '9add17f647588c6094834ac60597a1c1e5ca5d8c', class: "dda-input-dropdown-btn" }, h("button", { key: '7e25c49ce1e2553c3b9f58569f60cde0f1c19c63', name: this.toggle_button_name, type: "button", class: "dda-dropdown-select", onClick: () => this.toggleCurrencyDropdown() }, this.selected_currency, " ", h("i", { key: 'f844dad82c5626b893caf9079933a7d59a8126d6', class: `material-icons` }, this.isCurrencyDropdownOpen ? 'keyboard_arrow_up' : 'keyboard_arrow_down')), this.isCurrencyDropdownOpen && (h("div", { key: '04becf4d6491a0b64cb2d17c1840370ad99b6a4c', class: "dda-input-dropdown-list" }, this.parsedCurrencies.length > 0 ? (this.parsedCurrencies.map(option => (h("button", { name: this.currency_button_name, type: "button", class: `dda-input-dropdown-item ${this.selected_currency === option ? 'selected' : ''}`, onClick: () => this.selectCurrency(option) }, option)))) : (h("div", { class: "dda-input-dropdown-item" }, "No options available")))))), this.helper_text && h("span", { key: 'fbd6f5dd617e4d7e6f79a6fdc9824373223757b1', class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: '22a6f9205239ca193904344ba8239b8a023a8e47', class: "dda-error-message" }, this.error_message))));
|
|
75
49
|
}
|
|
76
50
|
static get is() { return "dda-number-field"; }
|
|
51
|
+
static get originalStyleUrls() {
|
|
52
|
+
return {
|
|
53
|
+
"$": ["../../global/input.css", "../../global/global.css"]
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
static get styleUrls() {
|
|
57
|
+
return {
|
|
58
|
+
"$": ["../../global/input.css", "../../global/global.css"]
|
|
59
|
+
};
|
|
60
|
+
}
|
|
77
61
|
static get properties() {
|
|
78
62
|
return {
|
|
79
63
|
"placeholder": {
|
|
@@ -92,8 +76,8 @@ export class DdaNumberField {
|
|
|
92
76
|
},
|
|
93
77
|
"getter": false,
|
|
94
78
|
"setter": false,
|
|
95
|
-
"
|
|
96
|
-
"
|
|
79
|
+
"reflect": false,
|
|
80
|
+
"attribute": "placeholder"
|
|
97
81
|
},
|
|
98
82
|
"label": {
|
|
99
83
|
"type": "string",
|
|
@@ -111,8 +95,8 @@ export class DdaNumberField {
|
|
|
111
95
|
},
|
|
112
96
|
"getter": false,
|
|
113
97
|
"setter": false,
|
|
114
|
-
"
|
|
115
|
-
"
|
|
98
|
+
"reflect": false,
|
|
99
|
+
"attribute": "label"
|
|
116
100
|
},
|
|
117
101
|
"value": {
|
|
118
102
|
"type": "string",
|
|
@@ -130,8 +114,8 @@ export class DdaNumberField {
|
|
|
130
114
|
},
|
|
131
115
|
"getter": false,
|
|
132
116
|
"setter": false,
|
|
133
|
-
"
|
|
134
|
-
"
|
|
117
|
+
"reflect": false,
|
|
118
|
+
"attribute": "value"
|
|
135
119
|
},
|
|
136
120
|
"helper_text": {
|
|
137
121
|
"type": "string",
|
|
@@ -149,8 +133,8 @@ export class DdaNumberField {
|
|
|
149
133
|
},
|
|
150
134
|
"getter": false,
|
|
151
135
|
"setter": false,
|
|
152
|
-
"
|
|
153
|
-
"
|
|
136
|
+
"reflect": false,
|
|
137
|
+
"attribute": "helper_text"
|
|
154
138
|
},
|
|
155
139
|
"error_message": {
|
|
156
140
|
"type": "string",
|
|
@@ -168,8 +152,8 @@ export class DdaNumberField {
|
|
|
168
152
|
},
|
|
169
153
|
"getter": false,
|
|
170
154
|
"setter": false,
|
|
171
|
-
"
|
|
172
|
-
"
|
|
155
|
+
"reflect": false,
|
|
156
|
+
"attribute": "error_message"
|
|
173
157
|
},
|
|
174
158
|
"validation_type": {
|
|
175
159
|
"type": "string",
|
|
@@ -187,8 +171,8 @@ export class DdaNumberField {
|
|
|
187
171
|
},
|
|
188
172
|
"getter": false,
|
|
189
173
|
"setter": false,
|
|
190
|
-
"
|
|
191
|
-
"
|
|
174
|
+
"reflect": false,
|
|
175
|
+
"attribute": "validation_type"
|
|
192
176
|
},
|
|
193
177
|
"size": {
|
|
194
178
|
"type": "string",
|
|
@@ -206,8 +190,8 @@ export class DdaNumberField {
|
|
|
206
190
|
},
|
|
207
191
|
"getter": false,
|
|
208
192
|
"setter": false,
|
|
209
|
-
"
|
|
210
|
-
"
|
|
193
|
+
"reflect": false,
|
|
194
|
+
"attribute": "size"
|
|
211
195
|
},
|
|
212
196
|
"input_status": {
|
|
213
197
|
"type": "string",
|
|
@@ -225,8 +209,8 @@ export class DdaNumberField {
|
|
|
225
209
|
},
|
|
226
210
|
"getter": false,
|
|
227
211
|
"setter": false,
|
|
228
|
-
"
|
|
229
|
-
"
|
|
212
|
+
"reflect": false,
|
|
213
|
+
"attribute": "input_status"
|
|
230
214
|
},
|
|
231
215
|
"currencies": {
|
|
232
216
|
"type": "string",
|
|
@@ -244,8 +228,8 @@ export class DdaNumberField {
|
|
|
244
228
|
},
|
|
245
229
|
"getter": false,
|
|
246
230
|
"setter": false,
|
|
247
|
-
"
|
|
248
|
-
"
|
|
231
|
+
"reflect": false,
|
|
232
|
+
"attribute": "currencies"
|
|
249
233
|
},
|
|
250
234
|
"selected_currency": {
|
|
251
235
|
"type": "string",
|
|
@@ -263,8 +247,8 @@ export class DdaNumberField {
|
|
|
263
247
|
},
|
|
264
248
|
"getter": false,
|
|
265
249
|
"setter": false,
|
|
266
|
-
"attribute": "selected_currency",
|
|
267
250
|
"reflect": false,
|
|
251
|
+
"attribute": "selected_currency",
|
|
268
252
|
"defaultValue": "'USD'"
|
|
269
253
|
},
|
|
270
254
|
"custom_class": {
|
|
@@ -283,8 +267,8 @@ export class DdaNumberField {
|
|
|
283
267
|
},
|
|
284
268
|
"getter": false,
|
|
285
269
|
"setter": false,
|
|
286
|
-
"attribute": "custom_class",
|
|
287
270
|
"reflect": false,
|
|
271
|
+
"attribute": "custom_class",
|
|
288
272
|
"defaultValue": "''"
|
|
289
273
|
},
|
|
290
274
|
"component_mode": {
|
|
@@ -303,8 +287,8 @@ export class DdaNumberField {
|
|
|
303
287
|
},
|
|
304
288
|
"getter": false,
|
|
305
289
|
"setter": false,
|
|
306
|
-
"
|
|
307
|
-
"
|
|
290
|
+
"reflect": false,
|
|
291
|
+
"attribute": "component_mode"
|
|
308
292
|
},
|
|
309
293
|
"input_id": {
|
|
310
294
|
"type": "string",
|
|
@@ -322,8 +306,8 @@ export class DdaNumberField {
|
|
|
322
306
|
},
|
|
323
307
|
"getter": false,
|
|
324
308
|
"setter": false,
|
|
325
|
-
"
|
|
326
|
-
"
|
|
309
|
+
"reflect": false,
|
|
310
|
+
"attribute": "input_id"
|
|
327
311
|
},
|
|
328
312
|
"aria_label": {
|
|
329
313
|
"type": "string",
|
|
@@ -341,8 +325,8 @@ export class DdaNumberField {
|
|
|
341
325
|
},
|
|
342
326
|
"getter": false,
|
|
343
327
|
"setter": false,
|
|
344
|
-
"
|
|
345
|
-
"
|
|
328
|
+
"reflect": false,
|
|
329
|
+
"attribute": "aria_label"
|
|
346
330
|
},
|
|
347
331
|
"input_name": {
|
|
348
332
|
"type": "string",
|
|
@@ -360,8 +344,8 @@ export class DdaNumberField {
|
|
|
360
344
|
},
|
|
361
345
|
"getter": false,
|
|
362
346
|
"setter": false,
|
|
363
|
-
"
|
|
364
|
-
"
|
|
347
|
+
"reflect": false,
|
|
348
|
+
"attribute": "input_name"
|
|
365
349
|
},
|
|
366
350
|
"toggle_button_name": {
|
|
367
351
|
"type": "string",
|
|
@@ -379,8 +363,8 @@ export class DdaNumberField {
|
|
|
379
363
|
},
|
|
380
364
|
"getter": false,
|
|
381
365
|
"setter": false,
|
|
382
|
-
"
|
|
383
|
-
"
|
|
366
|
+
"reflect": false,
|
|
367
|
+
"attribute": "toggle_button_name"
|
|
384
368
|
},
|
|
385
369
|
"currency_button_name": {
|
|
386
370
|
"type": "string",
|
|
@@ -398,8 +382,8 @@ export class DdaNumberField {
|
|
|
398
382
|
},
|
|
399
383
|
"getter": false,
|
|
400
384
|
"setter": false,
|
|
401
|
-
"
|
|
402
|
-
"
|
|
385
|
+
"reflect": false,
|
|
386
|
+
"attribute": "currency_button_name"
|
|
403
387
|
}
|
|
404
388
|
};
|
|
405
389
|
}
|
|
@@ -409,31 +393,4 @@ export class DdaNumberField {
|
|
|
409
393
|
"isCurrencyDropdownOpen": {}
|
|
410
394
|
};
|
|
411
395
|
}
|
|
412
|
-
static get methods() {
|
|
413
|
-
return {
|
|
414
|
-
"setValue": {
|
|
415
|
-
"complexType": {
|
|
416
|
-
"signature": "(val: string) => Promise<void>",
|
|
417
|
-
"parameters": [{
|
|
418
|
-
"name": "val",
|
|
419
|
-
"type": "string",
|
|
420
|
-
"docs": ""
|
|
421
|
-
}],
|
|
422
|
-
"references": {
|
|
423
|
-
"Promise": {
|
|
424
|
-
"location": "global",
|
|
425
|
-
"id": "global::Promise"
|
|
426
|
-
}
|
|
427
|
-
},
|
|
428
|
-
"return": "Promise<void>"
|
|
429
|
-
},
|
|
430
|
-
"docs": {
|
|
431
|
-
"text": "",
|
|
432
|
-
"tags": []
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
};
|
|
436
|
-
}
|
|
437
|
-
static get elementRef() { return "el"; }
|
|
438
396
|
}
|
|
439
|
-
//# sourceMappingURL=dda-number-field.js.map
|
|
@@ -82,28 +82,28 @@ export default {
|
|
|
82
82
|
parameters: {
|
|
83
83
|
docs: {
|
|
84
84
|
description: {
|
|
85
|
-
component: `
|
|
86
|
-
To use the \`dda-number-field\` component, pass the following props:
|
|
87
|
-
|
|
88
|
-
\`\`\`html
|
|
89
|
-
<dda-number-field
|
|
90
|
-
label="Amount"
|
|
91
|
-
value=""
|
|
92
|
-
placeholder="Enter amount"
|
|
93
|
-
helper_text="Helper or footer text"
|
|
94
|
-
error_message=""
|
|
95
|
-
validation_type="normal"
|
|
96
|
-
size="medium"
|
|
97
|
-
input_status="normal"
|
|
98
|
-
selected_currency="USD"
|
|
99
|
-
custom_class=""
|
|
100
|
-
component_mode=""
|
|
101
|
-
input_id="input"
|
|
102
|
-
aria_label="input"
|
|
103
|
-
currencies='["USD","EUR","GBP","AED","PKR"]'
|
|
104
|
-
onchange="console.log('changed')"
|
|
105
|
-
></dda-number-field>
|
|
106
|
-
\`\`\`
|
|
85
|
+
component: `
|
|
86
|
+
To use the \`dda-number-field\` component, pass the following props:
|
|
87
|
+
|
|
88
|
+
\`\`\`html
|
|
89
|
+
<dda-number-field
|
|
90
|
+
label="Amount"
|
|
91
|
+
value=""
|
|
92
|
+
placeholder="Enter amount"
|
|
93
|
+
helper_text="Helper or footer text"
|
|
94
|
+
error_message=""
|
|
95
|
+
validation_type="normal"
|
|
96
|
+
size="medium"
|
|
97
|
+
input_status="normal"
|
|
98
|
+
selected_currency="USD"
|
|
99
|
+
custom_class=""
|
|
100
|
+
component_mode=""
|
|
101
|
+
input_id="input"
|
|
102
|
+
aria_label="input"
|
|
103
|
+
currencies='["USD","EUR","GBP","AED","PKR"]'
|
|
104
|
+
onchange="console.log('changed')"
|
|
105
|
+
></dda-number-field>
|
|
106
|
+
\`\`\`
|
|
107
107
|
`,
|
|
108
108
|
},
|
|
109
109
|
},
|
|
@@ -127,7 +127,7 @@ Default.args = {
|
|
|
127
127
|
validation_type: 'normal',
|
|
128
128
|
size: 'medium',
|
|
129
129
|
input_status: 'normal',
|
|
130
|
-
currencies: ['USD', 'EUR', 'GBP', 'AED', '
|
|
130
|
+
currencies: ['USD', 'EUR', 'GBP', 'AED', 'PKR'],
|
|
131
131
|
selected_currency: 'USD',
|
|
132
132
|
custom_class: '',
|
|
133
133
|
component_mode: '',
|
|
@@ -148,7 +148,7 @@ Small.args = {
|
|
|
148
148
|
validation_type: 'normal',
|
|
149
149
|
size: 'small',
|
|
150
150
|
input_status: 'normal',
|
|
151
|
-
currencies: ['USD', 'EUR', 'GBP', 'AED', '
|
|
151
|
+
currencies: ['USD', 'EUR', 'GBP', 'AED', 'PKR'],
|
|
152
152
|
selected_currency: 'USD',
|
|
153
153
|
custom_class: '',
|
|
154
154
|
component_mode: '',
|
|
@@ -168,7 +168,7 @@ Error.args = {
|
|
|
168
168
|
validation_type: 'error',
|
|
169
169
|
size: 'medium',
|
|
170
170
|
input_status: 'normal',
|
|
171
|
-
currencies: ['USD', 'EUR', 'GBP', 'AED', '
|
|
171
|
+
currencies: ['USD', 'EUR', 'GBP', 'AED', 'PKR'],
|
|
172
172
|
selected_currency: 'USD',
|
|
173
173
|
custom_class: '',
|
|
174
174
|
component_mode: '',
|
|
@@ -189,7 +189,7 @@ Disabled.args = {
|
|
|
189
189
|
validation_type: 'normal',
|
|
190
190
|
size: 'medium',
|
|
191
191
|
input_status: 'disabled',
|
|
192
|
-
currencies: ['USD', 'EUR', 'GBP', 'AED', '
|
|
192
|
+
currencies: ['USD', 'EUR', 'GBP', 'AED', 'PKR'],
|
|
193
193
|
selected_currency: 'USD',
|
|
194
194
|
custom_class: '',
|
|
195
195
|
component_mode: '',
|
|
@@ -200,4 +200,3 @@ Disabled.args = {
|
|
|
200
200
|
toggle_button_name: 'toggle-button',
|
|
201
201
|
currency_button_name: 'currency-button',
|
|
202
202
|
};
|
|
203
|
-
//# sourceMappingURL=dda-number-field.stories.js.map
|