@dubai-design-system/components-js 3.12.10 → 3.12.12
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 +29 -0
- 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 -180
- 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 +9 -114
- 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 -226
- 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 +42 -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 -0
- 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 -243
- 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 -187
- 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 -179
- 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 +10 -113
- 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 -5
- package/readme.md +78 -260
- 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 -1007
- 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-0ebdb27f.entry.js +0 -2
- package/dist/dda/p-0ebdb27f.entry.js.map +0 -1
- package/dist/dda/p-0fa24558.entry.js +0 -2
- package/dist/dda/p-0fa24558.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-24da4601.entry.js +0 -2
- package/dist/dda/p-24da4601.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-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-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-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-0ebdb27f.entry.js +0 -2
- package/www/build/p-0ebdb27f.entry.js.map +0 -1
- package/www/build/p-0fa24558.entry.js +0 -2
- package/www/build/p-0fa24558.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-24da4601.entry.js +0 -2
- package/www/build/p-24da4601.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-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-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-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
|
@@ -2,107 +2,31 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
export class DdaSearchInput {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.placeholder = 'Search';
|
|
5
|
-
this.size = 'sm';
|
|
6
|
-
this.show_button = false;
|
|
7
|
-
this.has_error = false;
|
|
5
|
+
this.size = 'sm'; // default to small size
|
|
6
|
+
this.show_button = false; // control to show/hide search button
|
|
7
|
+
this.has_error = false; // control error state
|
|
8
8
|
this.custom_class = '';
|
|
9
|
-
this.hasInputValue = false;
|
|
10
|
-
this.internalValue = '';
|
|
11
|
-
this.handleInput = (event) => {
|
|
12
|
-
const target = event.target;
|
|
13
|
-
this.hasInputValue = target.value.length > 0;
|
|
14
|
-
};
|
|
15
|
-
this.handleKeyDown = (event) => {
|
|
16
|
-
if (event.key === 'Enter') {
|
|
17
|
-
const target = event.target;
|
|
18
|
-
console.log('Search input value (Enter):', target.value);
|
|
19
|
-
}
|
|
20
|
-
this.el.dispatchEvent(new KeyboardEvent('keydown', {
|
|
21
|
-
bubbles: true,
|
|
22
|
-
composed: true,
|
|
23
|
-
key: event.key,
|
|
24
|
-
code: event.code,
|
|
25
|
-
ctrlKey: event.ctrlKey,
|
|
26
|
-
shiftKey: event.shiftKey,
|
|
27
|
-
altKey: event.altKey,
|
|
28
|
-
metaKey: event.metaKey,
|
|
29
|
-
repeat: event.repeat,
|
|
30
|
-
}));
|
|
31
|
-
};
|
|
32
|
-
this.handleSearchClick = () => {
|
|
33
|
-
const input = this.el.querySelector(`#${this.input_id}`);
|
|
34
|
-
if (input) {
|
|
35
|
-
// console.log('Search input value (Button):', input.value);
|
|
36
|
-
this.buttonClicked.emit(this.internalValue || this.value);
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
watchValue(newValue) {
|
|
41
|
-
this.internalValue = newValue || '';
|
|
42
|
-
this.hasInputValue = !!this.internalValue;
|
|
43
|
-
}
|
|
44
|
-
componentWillLoad() {
|
|
45
|
-
this.internalValue = this.value || '';
|
|
46
|
-
this.hasInputValue = !!this.internalValue;
|
|
47
9
|
}
|
|
48
10
|
clearInput() {
|
|
49
|
-
|
|
50
|
-
return;
|
|
51
|
-
const input = this.el.querySelector(`#${this.input_id}`);
|
|
11
|
+
const input = this.el.querySelector('#search');
|
|
52
12
|
if (input) {
|
|
53
13
|
input.value = '';
|
|
54
|
-
this.internalValue = '';
|
|
55
|
-
this.hasInputValue = false;
|
|
56
|
-
// this.inputChanged.emit('');
|
|
57
|
-
this.onChanged.emit('');
|
|
58
|
-
input.focus();
|
|
59
14
|
}
|
|
60
15
|
}
|
|
61
|
-
async reset() {
|
|
62
|
-
this.internalValue = '';
|
|
63
|
-
this.hasInputValue = false;
|
|
64
|
-
// this.inputChanged.emit('');
|
|
65
|
-
this.onChanged.emit('');
|
|
66
|
-
}
|
|
67
|
-
async setValue(val) {
|
|
68
|
-
this.internalValue = val;
|
|
69
|
-
this.hasInputValue = !!val;
|
|
70
|
-
// this.inputChanged.emit(val);
|
|
71
|
-
this.onChanged.emit(val);
|
|
72
|
-
}
|
|
73
16
|
render() {
|
|
74
|
-
return (h(Host, { key: '
|
|
75
|
-
// onInput={this.handleInput}
|
|
76
|
-
onKeyDown: this.handleKeyDown, onInput: event => {
|
|
77
|
-
this.internalValue = event.target.value;
|
|
78
|
-
this.hasInputValue = !!this.internalValue;
|
|
79
|
-
this.inputChanged.emit(event);
|
|
80
|
-
this.onChanged.emit(event);
|
|
81
|
-
this.el.dispatchEvent(new InputEvent('input', {
|
|
82
|
-
bubbles: true,
|
|
83
|
-
composed: true,
|
|
84
|
-
data: event.data,
|
|
85
|
-
inputType: event.inputType,
|
|
86
|
-
isComposing: event.isComposing,
|
|
87
|
-
}));
|
|
88
|
-
}, onBlur: event => {
|
|
89
|
-
const value = event.target.value.trim();
|
|
90
|
-
this.inputBlurred.emit({ name: this.search_input_name, value });
|
|
91
|
-
this.onBlurred.emit(value);
|
|
92
|
-
this.el.dispatchEvent(new FocusEvent('blur', {
|
|
93
|
-
bubbles: true,
|
|
94
|
-
composed: true,
|
|
95
|
-
relatedTarget: event.relatedTarget,
|
|
96
|
-
}));
|
|
97
|
-
}, onFocus: (event) => {
|
|
98
|
-
this.el.dispatchEvent(new FocusEvent('focus', {
|
|
99
|
-
bubbles: true,
|
|
100
|
-
composed: true,
|
|
101
|
-
relatedTarget: event.relatedTarget,
|
|
102
|
-
}));
|
|
103
|
-
} }), h("div", { key: '8ffaa5e058389cf65ad70ab29676748d667a8a68', class: "dda-search-btngroup" }, this.hasInputValue && (h("button", { key: 'c2190c168ad754cb93b60da8d568bb62a89e29de', name: this.close_button_name, "aria-label": this.button_aria_label, id: this.button_id, type: "button", class: "dda-search-close-icon", onClick: () => this.clearInput() }, h("i", { key: '94b4644da93e67679ee2586853977bd7d14f5045', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close"))), this.show_button && (h("button", { key: '5dce491dfeecc09dd4d79bce8dc637c163986749', name: this.search_button_name, type: "button", class: "dda-btn btn-color-default-primary dda-btn-sm", onClick: this.handleSearchClick }, this.button_text)))), this.helper_text && (h("span", { key: 'e0f361ea19e1b30c903b1dfc21d9ae4bd84e7907', class: "dda-helper-text", id: this.validation_id }, this.helper_text)), this.error_message && (h("span", { key: 'ae3eaeb103f2923041b589c9cd3ea67a97752f5b', class: "dda-error-message", id: this.validation_id }, this.error_message)))));
|
|
17
|
+
return (h(Host, { key: 'd819b5cad21471fa5c0a5c4085ce472af98e270f' }, h("div", { key: 'c181b8b9cc53d609beede37c8d6f3cb32947b18f', class: `dda-input-container dda-input-size-${this.size} ${this.component_mode} ${this.custom_class} ${this.input_status ? `dda-input-${this.input_status}` : ''} ${this.has_error ? 'dda-validation-error' : ''}` }, this.label && h("label", { key: '8bb82ef67ae6900c1836a4ca98413f318da0a325', htmlFor: this.button_id, class: "dda-input-label" }, this.label), h("div", { key: '7e3b5763937d5cba119531f7aba41f66abaff40d', class: "dda-search-area dda-search-action" }, h("i", { key: '0d24a6ceb56fca500c5fc0cf15eb5575b53f76ab', class: "material-icons icon-left" }, "search"), h("input", { key: '835b3ab4f73ba3b07ef9240608559469af77cacd', name: this.search_input_name, "aria-label": this.aria_label, id: 'search', type: "text", class: "dda-input-field dda-search-field", placeholder: this.placeholder }), h("div", { key: '74c9306fb4a3ae14670f89813665c5b4a5f18f19', class: "dda-search-btngroup" }, h("button", { key: '82c1638597f0dce0a1d19a6db7896ae4482a740e', name: this.close_button_name, "aria-label": this.button_aria_label, id: this.button_id, type: "button", class: "icon-close", onClick: () => this.clearInput() }, h("i", { key: '43fad8a06e9976fa49dbe98c055c6d80044eb87a', class: "material-icons material-symbols-outlined" }, "close")), this.show_button && (h("button", { key: 'ccc677526923d8e25fafefe1ca4cb01698c728d2', name: this.search_button_name, type: "button", class: "dda-btn btn-color-default-primary dda-btn-sm" }, "Search")))), this.helper_text && h("span", { key: 'f362c2e27910c046ba30defc97fdee1a62d536e6', class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: '0457586d16926f680433410e97a61a558eb7379c', class: "dda-error-message" }, this.error_message))));
|
|
104
18
|
}
|
|
105
19
|
static get is() { return "dda-search-input"; }
|
|
20
|
+
static get originalStyleUrls() {
|
|
21
|
+
return {
|
|
22
|
+
"$": ["../../global/input.css", "../../global/global.css", "../../global/dda-button.css"]
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
static get styleUrls() {
|
|
26
|
+
return {
|
|
27
|
+
"$": ["../../global/input.css", "../../global/global.css", "../../global/dda-button.css"]
|
|
28
|
+
};
|
|
29
|
+
}
|
|
106
30
|
static get properties() {
|
|
107
31
|
return {
|
|
108
32
|
"placeholder": {
|
|
@@ -121,8 +45,8 @@ export class DdaSearchInput {
|
|
|
121
45
|
},
|
|
122
46
|
"getter": false,
|
|
123
47
|
"setter": false,
|
|
124
|
-
"attribute": "placeholder",
|
|
125
48
|
"reflect": false,
|
|
49
|
+
"attribute": "placeholder",
|
|
126
50
|
"defaultValue": "'Search'"
|
|
127
51
|
},
|
|
128
52
|
"label": {
|
|
@@ -141,8 +65,8 @@ export class DdaSearchInput {
|
|
|
141
65
|
},
|
|
142
66
|
"getter": false,
|
|
143
67
|
"setter": false,
|
|
144
|
-
"
|
|
145
|
-
"
|
|
68
|
+
"reflect": false,
|
|
69
|
+
"attribute": "label"
|
|
146
70
|
},
|
|
147
71
|
"size": {
|
|
148
72
|
"type": "string",
|
|
@@ -160,8 +84,8 @@ export class DdaSearchInput {
|
|
|
160
84
|
},
|
|
161
85
|
"getter": false,
|
|
162
86
|
"setter": false,
|
|
163
|
-
"attribute": "size",
|
|
164
87
|
"reflect": false,
|
|
88
|
+
"attribute": "size",
|
|
165
89
|
"defaultValue": "'sm'"
|
|
166
90
|
},
|
|
167
91
|
"error_message": {
|
|
@@ -180,8 +104,8 @@ export class DdaSearchInput {
|
|
|
180
104
|
},
|
|
181
105
|
"getter": false,
|
|
182
106
|
"setter": false,
|
|
183
|
-
"
|
|
184
|
-
"
|
|
107
|
+
"reflect": false,
|
|
108
|
+
"attribute": "error_message"
|
|
185
109
|
},
|
|
186
110
|
"show_button": {
|
|
187
111
|
"type": "boolean",
|
|
@@ -199,8 +123,8 @@ export class DdaSearchInput {
|
|
|
199
123
|
},
|
|
200
124
|
"getter": false,
|
|
201
125
|
"setter": false,
|
|
202
|
-
"attribute": "show_button",
|
|
203
126
|
"reflect": false,
|
|
127
|
+
"attribute": "show_button",
|
|
204
128
|
"defaultValue": "false"
|
|
205
129
|
},
|
|
206
130
|
"helper_text": {
|
|
@@ -219,27 +143,8 @@ export class DdaSearchInput {
|
|
|
219
143
|
},
|
|
220
144
|
"getter": false,
|
|
221
145
|
"setter": false,
|
|
222
|
-
"
|
|
223
|
-
"
|
|
224
|
-
},
|
|
225
|
-
"validation_id": {
|
|
226
|
-
"type": "string",
|
|
227
|
-
"mutable": false,
|
|
228
|
-
"complexType": {
|
|
229
|
-
"original": "string",
|
|
230
|
-
"resolved": "string",
|
|
231
|
-
"references": {}
|
|
232
|
-
},
|
|
233
|
-
"required": false,
|
|
234
|
-
"optional": false,
|
|
235
|
-
"docs": {
|
|
236
|
-
"tags": [],
|
|
237
|
-
"text": ""
|
|
238
|
-
},
|
|
239
|
-
"getter": false,
|
|
240
|
-
"setter": false,
|
|
241
|
-
"attribute": "validation_id",
|
|
242
|
-
"reflect": false
|
|
146
|
+
"reflect": false,
|
|
147
|
+
"attribute": "helper_text"
|
|
243
148
|
},
|
|
244
149
|
"input_status": {
|
|
245
150
|
"type": "string",
|
|
@@ -257,8 +162,8 @@ export class DdaSearchInput {
|
|
|
257
162
|
},
|
|
258
163
|
"getter": false,
|
|
259
164
|
"setter": false,
|
|
260
|
-
"
|
|
261
|
-
"
|
|
165
|
+
"reflect": false,
|
|
166
|
+
"attribute": "input_status"
|
|
262
167
|
},
|
|
263
168
|
"has_error": {
|
|
264
169
|
"type": "boolean",
|
|
@@ -276,8 +181,8 @@ export class DdaSearchInput {
|
|
|
276
181
|
},
|
|
277
182
|
"getter": false,
|
|
278
183
|
"setter": false,
|
|
279
|
-
"attribute": "has_error",
|
|
280
184
|
"reflect": false,
|
|
185
|
+
"attribute": "has_error",
|
|
281
186
|
"defaultValue": "false"
|
|
282
187
|
},
|
|
283
188
|
"custom_class": {
|
|
@@ -296,8 +201,8 @@ export class DdaSearchInput {
|
|
|
296
201
|
},
|
|
297
202
|
"getter": false,
|
|
298
203
|
"setter": false,
|
|
299
|
-
"attribute": "custom_class",
|
|
300
204
|
"reflect": false,
|
|
205
|
+
"attribute": "custom_class",
|
|
301
206
|
"defaultValue": "''"
|
|
302
207
|
},
|
|
303
208
|
"component_mode": {
|
|
@@ -316,8 +221,8 @@ export class DdaSearchInput {
|
|
|
316
221
|
},
|
|
317
222
|
"getter": false,
|
|
318
223
|
"setter": false,
|
|
319
|
-
"
|
|
320
|
-
"
|
|
224
|
+
"reflect": false,
|
|
225
|
+
"attribute": "component_mode"
|
|
321
226
|
},
|
|
322
227
|
"button_id": {
|
|
323
228
|
"type": "string",
|
|
@@ -335,27 +240,8 @@ export class DdaSearchInput {
|
|
|
335
240
|
},
|
|
336
241
|
"getter": false,
|
|
337
242
|
"setter": false,
|
|
338
|
-
"
|
|
339
|
-
"
|
|
340
|
-
},
|
|
341
|
-
"input_id": {
|
|
342
|
-
"type": "string",
|
|
343
|
-
"mutable": false,
|
|
344
|
-
"complexType": {
|
|
345
|
-
"original": "string",
|
|
346
|
-
"resolved": "string",
|
|
347
|
-
"references": {}
|
|
348
|
-
},
|
|
349
|
-
"required": false,
|
|
350
|
-
"optional": true,
|
|
351
|
-
"docs": {
|
|
352
|
-
"tags": [],
|
|
353
|
-
"text": ""
|
|
354
|
-
},
|
|
355
|
-
"getter": false,
|
|
356
|
-
"setter": false,
|
|
357
|
-
"attribute": "input_id",
|
|
358
|
-
"reflect": false
|
|
243
|
+
"reflect": false,
|
|
244
|
+
"attribute": "button_id"
|
|
359
245
|
},
|
|
360
246
|
"aria_label": {
|
|
361
247
|
"type": "string",
|
|
@@ -373,8 +259,8 @@ export class DdaSearchInput {
|
|
|
373
259
|
},
|
|
374
260
|
"getter": false,
|
|
375
261
|
"setter": false,
|
|
376
|
-
"
|
|
377
|
-
"
|
|
262
|
+
"reflect": false,
|
|
263
|
+
"attribute": "aria_label"
|
|
378
264
|
},
|
|
379
265
|
"button_aria_label": {
|
|
380
266
|
"type": "string",
|
|
@@ -392,8 +278,8 @@ export class DdaSearchInput {
|
|
|
392
278
|
},
|
|
393
279
|
"getter": false,
|
|
394
280
|
"setter": false,
|
|
395
|
-
"
|
|
396
|
-
"
|
|
281
|
+
"reflect": false,
|
|
282
|
+
"attribute": "button_aria_label"
|
|
397
283
|
},
|
|
398
284
|
"search_input_name": {
|
|
399
285
|
"type": "string",
|
|
@@ -411,8 +297,8 @@ export class DdaSearchInput {
|
|
|
411
297
|
},
|
|
412
298
|
"getter": false,
|
|
413
299
|
"setter": false,
|
|
414
|
-
"
|
|
415
|
-
"
|
|
300
|
+
"reflect": false,
|
|
301
|
+
"attribute": "search_input_name"
|
|
416
302
|
},
|
|
417
303
|
"close_button_name": {
|
|
418
304
|
"type": "string",
|
|
@@ -430,8 +316,8 @@ export class DdaSearchInput {
|
|
|
430
316
|
},
|
|
431
317
|
"getter": false,
|
|
432
318
|
"setter": false,
|
|
433
|
-
"
|
|
434
|
-
"
|
|
319
|
+
"reflect": false,
|
|
320
|
+
"attribute": "close_button_name"
|
|
435
321
|
},
|
|
436
322
|
"search_button_name": {
|
|
437
323
|
"type": "string",
|
|
@@ -449,181 +335,10 @@ export class DdaSearchInput {
|
|
|
449
335
|
},
|
|
450
336
|
"getter": false,
|
|
451
337
|
"setter": false,
|
|
452
|
-
"
|
|
453
|
-
"
|
|
454
|
-
},
|
|
455
|
-
"button_text": {
|
|
456
|
-
"type": "string",
|
|
457
|
-
"mutable": false,
|
|
458
|
-
"complexType": {
|
|
459
|
-
"original": "string",
|
|
460
|
-
"resolved": "string",
|
|
461
|
-
"references": {}
|
|
462
|
-
},
|
|
463
|
-
"required": false,
|
|
464
|
-
"optional": false,
|
|
465
|
-
"docs": {
|
|
466
|
-
"tags": [],
|
|
467
|
-
"text": ""
|
|
468
|
-
},
|
|
469
|
-
"getter": false,
|
|
470
|
-
"setter": false,
|
|
471
|
-
"attribute": "button_text",
|
|
472
|
-
"reflect": false
|
|
473
|
-
},
|
|
474
|
-
"value": {
|
|
475
|
-
"type": "string",
|
|
476
|
-
"mutable": false,
|
|
477
|
-
"complexType": {
|
|
478
|
-
"original": "string",
|
|
479
|
-
"resolved": "string",
|
|
480
|
-
"references": {}
|
|
481
|
-
},
|
|
482
|
-
"required": false,
|
|
483
|
-
"optional": false,
|
|
484
|
-
"docs": {
|
|
485
|
-
"tags": [],
|
|
486
|
-
"text": ""
|
|
487
|
-
},
|
|
488
|
-
"getter": false,
|
|
489
|
-
"setter": false,
|
|
490
|
-
"attribute": "value",
|
|
491
|
-
"reflect": false
|
|
492
|
-
}
|
|
493
|
-
};
|
|
494
|
-
}
|
|
495
|
-
static get states() {
|
|
496
|
-
return {
|
|
497
|
-
"hasInputValue": {},
|
|
498
|
-
"internalValue": {}
|
|
499
|
-
};
|
|
500
|
-
}
|
|
501
|
-
static get events() {
|
|
502
|
-
return [{
|
|
503
|
-
"method": "inputChanged",
|
|
504
|
-
"name": "inputChanged",
|
|
505
|
-
"bubbles": true,
|
|
506
|
-
"cancelable": true,
|
|
507
|
-
"composed": true,
|
|
508
|
-
"docs": {
|
|
509
|
-
"tags": [],
|
|
510
|
-
"text": ""
|
|
511
|
-
},
|
|
512
|
-
"complexType": {
|
|
513
|
-
"original": "any",
|
|
514
|
-
"resolved": "any",
|
|
515
|
-
"references": {}
|
|
516
|
-
}
|
|
517
|
-
}, {
|
|
518
|
-
"method": "onChanged",
|
|
519
|
-
"name": "onChanged",
|
|
520
|
-
"bubbles": true,
|
|
521
|
-
"cancelable": true,
|
|
522
|
-
"composed": true,
|
|
523
|
-
"docs": {
|
|
524
|
-
"tags": [],
|
|
525
|
-
"text": ""
|
|
526
|
-
},
|
|
527
|
-
"complexType": {
|
|
528
|
-
"original": "any",
|
|
529
|
-
"resolved": "any",
|
|
530
|
-
"references": {}
|
|
531
|
-
}
|
|
532
|
-
}, {
|
|
533
|
-
"method": "buttonClicked",
|
|
534
|
-
"name": "buttonClicked",
|
|
535
|
-
"bubbles": true,
|
|
536
|
-
"cancelable": true,
|
|
537
|
-
"composed": true,
|
|
538
|
-
"docs": {
|
|
539
|
-
"tags": [],
|
|
540
|
-
"text": ""
|
|
541
|
-
},
|
|
542
|
-
"complexType": {
|
|
543
|
-
"original": "any",
|
|
544
|
-
"resolved": "any",
|
|
545
|
-
"references": {}
|
|
546
|
-
}
|
|
547
|
-
}, {
|
|
548
|
-
"method": "inputBlurred",
|
|
549
|
-
"name": "inputBlurred",
|
|
550
|
-
"bubbles": true,
|
|
551
|
-
"cancelable": true,
|
|
552
|
-
"composed": true,
|
|
553
|
-
"docs": {
|
|
554
|
-
"tags": [],
|
|
555
|
-
"text": ""
|
|
556
|
-
},
|
|
557
|
-
"complexType": {
|
|
558
|
-
"original": "{ name: string; value: string }",
|
|
559
|
-
"resolved": "{ name: string; value: string; }",
|
|
560
|
-
"references": {}
|
|
561
|
-
}
|
|
562
|
-
}, {
|
|
563
|
-
"method": "onBlurred",
|
|
564
|
-
"name": "onBlurred",
|
|
565
|
-
"bubbles": true,
|
|
566
|
-
"cancelable": true,
|
|
567
|
-
"composed": true,
|
|
568
|
-
"docs": {
|
|
569
|
-
"tags": [],
|
|
570
|
-
"text": ""
|
|
571
|
-
},
|
|
572
|
-
"complexType": {
|
|
573
|
-
"original": "any",
|
|
574
|
-
"resolved": "any",
|
|
575
|
-
"references": {}
|
|
576
|
-
}
|
|
577
|
-
}];
|
|
578
|
-
}
|
|
579
|
-
static get methods() {
|
|
580
|
-
return {
|
|
581
|
-
"reset": {
|
|
582
|
-
"complexType": {
|
|
583
|
-
"signature": "() => Promise<void>",
|
|
584
|
-
"parameters": [],
|
|
585
|
-
"references": {
|
|
586
|
-
"Promise": {
|
|
587
|
-
"location": "global",
|
|
588
|
-
"id": "global::Promise"
|
|
589
|
-
}
|
|
590
|
-
},
|
|
591
|
-
"return": "Promise<void>"
|
|
592
|
-
},
|
|
593
|
-
"docs": {
|
|
594
|
-
"text": "",
|
|
595
|
-
"tags": []
|
|
596
|
-
}
|
|
597
|
-
},
|
|
598
|
-
"setValue": {
|
|
599
|
-
"complexType": {
|
|
600
|
-
"signature": "(val: string) => Promise<void>",
|
|
601
|
-
"parameters": [{
|
|
602
|
-
"name": "val",
|
|
603
|
-
"type": "string",
|
|
604
|
-
"docs": ""
|
|
605
|
-
}],
|
|
606
|
-
"references": {
|
|
607
|
-
"Promise": {
|
|
608
|
-
"location": "global",
|
|
609
|
-
"id": "global::Promise"
|
|
610
|
-
}
|
|
611
|
-
},
|
|
612
|
-
"return": "Promise<void>"
|
|
613
|
-
},
|
|
614
|
-
"docs": {
|
|
615
|
-
"text": "",
|
|
616
|
-
"tags": []
|
|
617
|
-
}
|
|
338
|
+
"reflect": false,
|
|
339
|
+
"attribute": "search_button_name"
|
|
618
340
|
}
|
|
619
341
|
};
|
|
620
342
|
}
|
|
621
343
|
static get elementRef() { return "el"; }
|
|
622
|
-
static get watchers() {
|
|
623
|
-
return [{
|
|
624
|
-
"propName": "value",
|
|
625
|
-
"methodName": "watchValue"
|
|
626
|
-
}];
|
|
627
|
-
}
|
|
628
344
|
}
|
|
629
|
-
//# sourceMappingURL=dda-search-input.js.map
|
|
@@ -23,10 +23,6 @@ export default {
|
|
|
23
23
|
control: 'text',
|
|
24
24
|
description: 'Error message displayed below the search field',
|
|
25
25
|
},
|
|
26
|
-
validation_id: {
|
|
27
|
-
control: 'text',
|
|
28
|
-
description: 'Error message field ID',
|
|
29
|
-
},
|
|
30
26
|
show_button: {
|
|
31
27
|
control: 'boolean',
|
|
32
28
|
description: 'Show or hide the search button',
|
|
@@ -53,10 +49,6 @@ export default {
|
|
|
53
49
|
control: { type: 'text' },
|
|
54
50
|
description: 'default',
|
|
55
51
|
},
|
|
56
|
-
input_id: {
|
|
57
|
-
control: { type: 'text' },
|
|
58
|
-
description: 'default',
|
|
59
|
-
},
|
|
60
52
|
aria_label: {
|
|
61
53
|
control: { type: 'text' },
|
|
62
54
|
description: 'Aria label for the search input',
|
|
@@ -81,39 +73,33 @@ export default {
|
|
|
81
73
|
control: { type: 'text' },
|
|
82
74
|
description: 'Name for the search button',
|
|
83
75
|
},
|
|
84
|
-
button_text: {
|
|
85
|
-
control: { type: 'text' },
|
|
86
|
-
description: 'Name for the search button',
|
|
87
|
-
},
|
|
88
76
|
},
|
|
89
77
|
parameters: {
|
|
90
78
|
docs: {
|
|
91
79
|
description: {
|
|
92
|
-
component: `
|
|
93
|
-
To use the \`dda-search-input\` component, pass the following props:
|
|
94
|
-
|
|
95
|
-
\`\`\`html
|
|
96
|
-
<dda-search-input
|
|
97
|
-
placeholder="Search"
|
|
98
|
-
label="Search"
|
|
99
|
-
size="default"
|
|
100
|
-
helper_text="Helper or footer text"
|
|
101
|
-
error_message=""
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
></dda-search-input>
|
|
116
|
-
\`\`\`
|
|
80
|
+
component: `
|
|
81
|
+
To use the \`dda-search-input\` component, pass the following props:
|
|
82
|
+
|
|
83
|
+
\`\`\`html
|
|
84
|
+
<dda-search-input
|
|
85
|
+
placeholder="Search"
|
|
86
|
+
label="Search"
|
|
87
|
+
size="default"
|
|
88
|
+
helper_text="Helper or footer text"
|
|
89
|
+
error_message=""
|
|
90
|
+
show_button="false"
|
|
91
|
+
has_error="false"
|
|
92
|
+
custom_class=""
|
|
93
|
+
component_mode=""
|
|
94
|
+
button_id="button"
|
|
95
|
+
aria_label="search-input"
|
|
96
|
+
button_aria_label="clear-search"
|
|
97
|
+
onchange="console.log('changed')"
|
|
98
|
+
search_input_name="search-input"
|
|
99
|
+
close_button_name="close-button"
|
|
100
|
+
search_button_name="search-button"
|
|
101
|
+
></dda-search-input>
|
|
102
|
+
\`\`\`
|
|
117
103
|
`,
|
|
118
104
|
},
|
|
119
105
|
},
|
|
@@ -133,20 +119,17 @@ Default.args = {
|
|
|
133
119
|
size: 'default',
|
|
134
120
|
helper_text: 'Helper or footer text',
|
|
135
121
|
error_message: '',
|
|
136
|
-
validation_id: '',
|
|
137
122
|
show_button: false,
|
|
138
123
|
has_error: false,
|
|
139
124
|
custom_class: '',
|
|
140
125
|
component_mode: '',
|
|
141
126
|
button_id: 'button',
|
|
142
|
-
input_id: 'Search',
|
|
143
127
|
aria_label: 'search-input',
|
|
144
128
|
button_aria_label: 'clear-search',
|
|
145
129
|
onchange: '',
|
|
146
130
|
search_input_name: "search-input",
|
|
147
131
|
close_button_name: "close-button",
|
|
148
132
|
search_button_name: "search-button",
|
|
149
|
-
button_text: "Search",
|
|
150
133
|
};
|
|
151
134
|
export const WithButton = Template.bind({});
|
|
152
135
|
WithButton.args = {
|
|
@@ -155,42 +138,35 @@ WithButton.args = {
|
|
|
155
138
|
size: 'default',
|
|
156
139
|
helper_text: 'Helper or footer text',
|
|
157
140
|
error_message: '',
|
|
158
|
-
validation_id: '',
|
|
159
141
|
show_button: true,
|
|
160
142
|
has_error: false,
|
|
161
143
|
custom_class: '',
|
|
162
144
|
component_mode: '',
|
|
163
145
|
button_id: 'button',
|
|
164
|
-
input_id: 'Search',
|
|
165
146
|
aria_label: 'search-input',
|
|
166
147
|
button_aria_label: 'clear-search',
|
|
167
148
|
onchange: '',
|
|
168
149
|
search_input_name: "search-input",
|
|
169
150
|
close_button_name: "close-button",
|
|
170
151
|
search_button_name: "search-button",
|
|
171
|
-
button_text: "Search",
|
|
172
152
|
};
|
|
173
153
|
export const WithError = Template.bind({});
|
|
174
154
|
WithError.args = {
|
|
175
155
|
placeholder: 'Search',
|
|
176
156
|
label: 'Search',
|
|
177
157
|
size: 'default',
|
|
178
|
-
input_status: 'normal',
|
|
179
158
|
error_message: 'Helper or footer text',
|
|
180
|
-
validation_id: '',
|
|
181
159
|
show_button: false,
|
|
182
160
|
has_error: true,
|
|
183
161
|
custom_class: '',
|
|
184
162
|
component_mode: '',
|
|
185
163
|
button_id: 'button',
|
|
186
|
-
input_id: 'Search',
|
|
187
164
|
aria_label: 'search-input',
|
|
188
165
|
button_aria_label: 'clear-search',
|
|
189
166
|
onchange: '',
|
|
190
167
|
search_input_name: "search-input",
|
|
191
168
|
close_button_name: "close-button",
|
|
192
169
|
search_button_name: "search-button",
|
|
193
|
-
button_text: "Search",
|
|
194
170
|
};
|
|
195
171
|
export const Disabled = Template.bind({});
|
|
196
172
|
Disabled.args = {
|
|
@@ -199,19 +175,15 @@ Disabled.args = {
|
|
|
199
175
|
size: 'default',
|
|
200
176
|
input_status: 'disabled',
|
|
201
177
|
helper_text: 'Helper or footer text',
|
|
202
|
-
validation_id: '',
|
|
203
178
|
show_button: false,
|
|
204
179
|
has_error: false,
|
|
205
180
|
custom_class: '',
|
|
206
181
|
component_mode: '',
|
|
207
182
|
button_id: 'button',
|
|
208
|
-
input_id: 'Search',
|
|
209
183
|
aria_label: 'search-input',
|
|
210
184
|
button_aria_label: 'clear-search',
|
|
211
185
|
onchange: '',
|
|
212
186
|
search_input_name: "search-input",
|
|
213
187
|
close_button_name: "close-button",
|
|
214
188
|
search_button_name: "search-button",
|
|
215
|
-
button_text: "Search",
|
|
216
189
|
};
|
|
217
|
-
//# sourceMappingURL=dda-search-input.stories.js.map
|