@dubai-design-system/components-js 3.12.10 → 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 -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 -6
- 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
|
@@ -4,118 +4,66 @@ import "quill/dist/quill.snow.css";
|
|
|
4
4
|
export class DdaTextarea {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.value = '';
|
|
7
|
-
this.
|
|
8
|
-
this.characterCount = 0;
|
|
9
|
-
this.internalValue = '';
|
|
10
|
-
}
|
|
11
|
-
// ✅ NEW: External value getter
|
|
12
|
-
async getValue() {
|
|
13
|
-
return this.internalValue || this.value || '';
|
|
14
|
-
}
|
|
15
|
-
async setValue(val) {
|
|
16
|
-
this.internalValue = val;
|
|
17
|
-
this.onChanged.emit(val);
|
|
18
|
-
}
|
|
19
|
-
async reset() {
|
|
20
|
-
this.internalValue = '';
|
|
21
|
-
// this.inputChanged.emit('');
|
|
22
|
-
this.onChanged.emit('');
|
|
7
|
+
this.characterCount = 0; // State to track the character count
|
|
23
8
|
}
|
|
24
9
|
componentDidLoad() {
|
|
25
|
-
var _a;
|
|
26
10
|
if (this.enable_rich_editor) {
|
|
27
11
|
const editor = this.el.querySelector('#editor');
|
|
28
12
|
this.quill = new Quill(editor, {
|
|
29
13
|
modules: {
|
|
30
14
|
toolbar: [
|
|
31
|
-
['bold', 'italic', 'underline', 'strike'],
|
|
15
|
+
['bold', 'italic', 'underline', 'strike'], // toggled buttons
|
|
32
16
|
['blockquote', 'code-block'],
|
|
33
|
-
[{ list: 'ordered' }, { list: 'bullet' }],
|
|
34
|
-
[{ script: 'sub' }, { script: 'super' }],
|
|
35
|
-
[{ indent: '-1' }, { indent: '+1' }],
|
|
36
|
-
[{ direction: 'rtl' }],
|
|
37
|
-
[{ header: [1, 2, 3, 4, 5, 6, false] }],
|
|
38
|
-
[{ color: [] }, { background: [] }],
|
|
39
|
-
[{ font: [] }],
|
|
40
|
-
[{ align: [] }],
|
|
41
|
-
['clean'],
|
|
42
|
-
['link', 'image', 'video'],
|
|
17
|
+
[{ 'list': 'ordered' }, { 'list': 'bullet' }],
|
|
18
|
+
[{ 'script': 'sub' }, { 'script': 'super' }], // superscript/subscript
|
|
19
|
+
[{ 'indent': '-1' }, { 'indent': '+1' }], // outdent/indent
|
|
20
|
+
[{ 'direction': 'rtl' }], // text direction
|
|
21
|
+
[{ 'header': [1, 2, 3, 4, 5, 6, false] }],
|
|
22
|
+
[{ 'color': [] }, { 'background': [] }], // dropdown with defaults from theme
|
|
23
|
+
[{ 'font': [] }],
|
|
24
|
+
[{ 'align': [] }],
|
|
25
|
+
['clean'], // remove formatting button
|
|
26
|
+
['link', 'image', 'video'] // link and image, video
|
|
43
27
|
],
|
|
44
28
|
},
|
|
45
29
|
theme: 'snow',
|
|
46
30
|
placeholder: this.placeholder,
|
|
47
31
|
});
|
|
48
32
|
this.quill.on('text-change', () => {
|
|
49
|
-
|
|
50
|
-
this.
|
|
51
|
-
this.characterCount = this.quill.getText().trim().length;
|
|
52
|
-
this.textareaChanged.emit(); // optional
|
|
53
|
-
this.onChanged.emit();
|
|
33
|
+
this.value = this.quill.root.innerHTML;
|
|
34
|
+
this.characterCount = this.quill.getText().length - 1; // Update character count
|
|
54
35
|
});
|
|
55
|
-
if (this.value) {
|
|
56
|
-
this.quill.root.innerHTML = this.value;
|
|
57
|
-
this.internalValue = this.value;
|
|
58
|
-
this.characterCount = this.quill.getText().trim().length;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
else {
|
|
62
|
-
this.internalValue = this.value;
|
|
63
|
-
this.characterCount = ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0;
|
|
64
36
|
}
|
|
65
37
|
}
|
|
66
38
|
handleInput(event) {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
this.onChanged.emit(val);
|
|
72
|
-
this.el.dispatchEvent(new InputEvent('input', event));
|
|
73
|
-
}
|
|
74
|
-
handleBlur(event) {
|
|
75
|
-
const val = event.target.value.trim();
|
|
76
|
-
this.textareaBlurred.emit({ name: this.textarea_name, value: val });
|
|
77
|
-
this.onBlurred.emit(val);
|
|
78
|
-
this.el.dispatchEvent(new FocusEvent('blur', {
|
|
79
|
-
bubbles: true,
|
|
80
|
-
composed: true,
|
|
81
|
-
relatedTarget: event.target,
|
|
82
|
-
}));
|
|
39
|
+
if (!this.enable_rich_editor) {
|
|
40
|
+
this.value = event.target.value;
|
|
41
|
+
this.characterCount = event.target.value.length; // Update character count
|
|
42
|
+
}
|
|
83
43
|
}
|
|
84
44
|
render() {
|
|
85
45
|
const textareaClass = [
|
|
86
46
|
'dda-input-container dda-richtext-editor',
|
|
87
47
|
this.validation_type ? `dda-validation-${this.validation_type}` : '',
|
|
88
48
|
this.input_status ? `dda-input-${this.input_status}` : '',
|
|
89
|
-
this.custom_class,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
]
|
|
93
|
-
.filter(Boolean)
|
|
94
|
-
.join(' ');
|
|
95
|
-
return (h(Host, { key: '0e08517cea3fe0f247facf0ec1bfde73f20d9234' }, h("div", { key: 'e5354b352ab7c3bad0a9a06f7f4315c8b8debb0d', class: textareaClass }, this.label && (h("label", { key: '418a4633ca45ae6d476ffefae2ba1d447bdd06d5', htmlFor: this.input_id, class: "dda-input-label" }, this.label)), this.enable_rich_editor ? (h("div", { id: "editor", class: "dda-richeditor-field" })) : (h("textarea", { id: this.input_id, name: this.textarea_name, "aria-label": this.aria_label, placeholder: this.placeholder, value: this.internalValue || this.value, "aria-invalid": this.validation_type === 'error' ? 'true' : 'false', class: "dda-input-field dda-input-textarea", maxLength: this.max_characters, onInput: event => this.handleInput(event), onBlur: event => this.handleBlur(event), onFocus: (event) => {
|
|
96
|
-
this.el.dispatchEvent(new FocusEvent('focus', {
|
|
97
|
-
bubbles: true,
|
|
98
|
-
composed: true,
|
|
99
|
-
relatedTarget: event.relatedTarget,
|
|
100
|
-
}));
|
|
101
|
-
}, onKeyDown: (event) => {
|
|
102
|
-
this.el.dispatchEvent(new KeyboardEvent('keydown', {
|
|
103
|
-
bubbles: true,
|
|
104
|
-
composed: true,
|
|
105
|
-
key: event.key,
|
|
106
|
-
code: event.code,
|
|
107
|
-
ctrlKey: event.ctrlKey,
|
|
108
|
-
shiftKey: event.shiftKey,
|
|
109
|
-
altKey: event.altKey,
|
|
110
|
-
metaKey: event.metaKey,
|
|
111
|
-
repeat: event.repeat,
|
|
112
|
-
}));
|
|
113
|
-
} })), this.validation_type === 'error' && this.error_message ? (h("div", { class: "dda-error-message", id: this.validation_id }, h("span", { class: "dda-d-flex dda-items-center dda-gap-2" }, this.show_info_icon && (h("i", { class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "info")), this.error_message), h("span", { class: "dda-letter-count" }, this.characterCount, " / ", this.max_characters))) : (h("div", { class: "dda-helper-text", id: this.validation_id }, h("span", { class: "dda-d-flex dda-items-center dda-gap-2" }, this.show_info_icon && (h("i", { class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "info")), this.helper_text), h("span", { class: "dda-letter-count" }, this.characterCount, " / ", this.max_characters))))));
|
|
49
|
+
this.custom_class, this.component_mode, this.textarea_name,
|
|
50
|
+
].filter(Boolean).join(' ');
|
|
51
|
+
return (h(Host, { key: '526ef730ca35987cbe8b0d0ddee68a7a44b9c011' }, h("div", { key: '28a02038494692efdac97bcd74c2b9a4a2cfc354', class: textareaClass }, this.label && h("label", { key: 'ede2d805ac6adc01b32b0ccfb9d20196953089f3', htmlFor: this.input_id, class: "dda-input-label" }, this.label), this.enable_rich_editor ? (h("div", { id: "editor", class: "dda-richeditor-field" })) : (h("textarea", { id: this.input_id, name: this.textarea_name, "aria-label": this.aria_label, placeholder: this.placeholder, value: this.value, onInput: (event) => this.handleInput(event), class: "dda-input-field dda-input-textarea", maxLength: this.max_characters })), this.helper_text && (h("div", { key: '2c82052df04e4e01f06af9eaa788da28e5c66df0', class: "dda-helper-text" }, h("span", { key: 'de738b9edf2cfdfb8d933e0e55db45af3418297e', class: "dda-flex dda-align-center dda-gap-2" }, h("i", { key: '9dd57848081c3b120d7e8154c899e8eb4a07fe39', class: "material-icons material-symbols-outlined" }, "info"), " ", this.helper_text), h("span", { key: '880a886279652df965424aedd3891e17f2a0172b', class: "dda-letter-count" }, this.characterCount, " / ", this.max_characters))), this.error_message && (h("div", { key: '83e0061cc4575c340d3505694317f9954244f944', class: "dda-error-message" }, h("span", { key: '5c33386da5261f3a4b52b675a966a576988a0498', class: "dda-flex dda-align-center dda-gap-2" }, h("i", { key: '660f6cac35a3d3ee8b6b4abf73d75b151d2ed1bb', class: "material-icons material-symbols-outlined" }, "info"), " ", this.error_message), h("span", { key: 'c94ee50aa22ddac0be150a72f3f743edeff26c51', class: "dda-letter-count" }, this.characterCount, " / ", this.max_characters))))));
|
|
114
52
|
}
|
|
115
53
|
static get is() { return "dda-textarea"; }
|
|
54
|
+
static get originalStyleUrls() {
|
|
55
|
+
return {
|
|
56
|
+
"$": ["../../global/global.css", "../../global/input.css"]
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
static get styleUrls() {
|
|
60
|
+
return {
|
|
61
|
+
"$": ["../../global/global.css", "../../global/input.css"]
|
|
62
|
+
};
|
|
63
|
+
}
|
|
116
64
|
static get properties() {
|
|
117
65
|
return {
|
|
118
|
-
"
|
|
66
|
+
"placeholder": {
|
|
119
67
|
"type": "string",
|
|
120
68
|
"mutable": false,
|
|
121
69
|
"complexType": {
|
|
@@ -131,10 +79,10 @@ export class DdaTextarea {
|
|
|
131
79
|
},
|
|
132
80
|
"getter": false,
|
|
133
81
|
"setter": false,
|
|
134
|
-
"
|
|
135
|
-
"
|
|
82
|
+
"reflect": false,
|
|
83
|
+
"attribute": "placeholder"
|
|
136
84
|
},
|
|
137
|
-
"
|
|
85
|
+
"label": {
|
|
138
86
|
"type": "string",
|
|
139
87
|
"mutable": false,
|
|
140
88
|
"complexType": {
|
|
@@ -150,27 +98,8 @@ export class DdaTextarea {
|
|
|
150
98
|
},
|
|
151
99
|
"getter": false,
|
|
152
100
|
"setter": false,
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
},
|
|
156
|
-
"max_characters": {
|
|
157
|
-
"type": "number",
|
|
158
|
-
"mutable": false,
|
|
159
|
-
"complexType": {
|
|
160
|
-
"original": "number",
|
|
161
|
-
"resolved": "number",
|
|
162
|
-
"references": {}
|
|
163
|
-
},
|
|
164
|
-
"required": false,
|
|
165
|
-
"optional": false,
|
|
166
|
-
"docs": {
|
|
167
|
-
"tags": [],
|
|
168
|
-
"text": ""
|
|
169
|
-
},
|
|
170
|
-
"getter": false,
|
|
171
|
-
"setter": false,
|
|
172
|
-
"attribute": "max_characters",
|
|
173
|
-
"reflect": false
|
|
101
|
+
"reflect": false,
|
|
102
|
+
"attribute": "label"
|
|
174
103
|
},
|
|
175
104
|
"value": {
|
|
176
105
|
"type": "string",
|
|
@@ -188,11 +117,11 @@ export class DdaTextarea {
|
|
|
188
117
|
},
|
|
189
118
|
"getter": false,
|
|
190
119
|
"setter": false,
|
|
191
|
-
"attribute": "value",
|
|
192
120
|
"reflect": false,
|
|
121
|
+
"attribute": "value",
|
|
193
122
|
"defaultValue": "''"
|
|
194
123
|
},
|
|
195
|
-
"
|
|
124
|
+
"error_message": {
|
|
196
125
|
"type": "string",
|
|
197
126
|
"mutable": false,
|
|
198
127
|
"complexType": {
|
|
@@ -208,10 +137,10 @@ export class DdaTextarea {
|
|
|
208
137
|
},
|
|
209
138
|
"getter": false,
|
|
210
139
|
"setter": false,
|
|
211
|
-
"
|
|
212
|
-
"
|
|
140
|
+
"reflect": false,
|
|
141
|
+
"attribute": "error_message"
|
|
213
142
|
},
|
|
214
|
-
"
|
|
143
|
+
"validation_type": {
|
|
215
144
|
"type": "string",
|
|
216
145
|
"mutable": false,
|
|
217
146
|
"complexType": {
|
|
@@ -220,17 +149,17 @@ export class DdaTextarea {
|
|
|
220
149
|
"references": {}
|
|
221
150
|
},
|
|
222
151
|
"required": false,
|
|
223
|
-
"optional":
|
|
152
|
+
"optional": true,
|
|
224
153
|
"docs": {
|
|
225
154
|
"tags": [],
|
|
226
155
|
"text": ""
|
|
227
156
|
},
|
|
228
157
|
"getter": false,
|
|
229
158
|
"setter": false,
|
|
230
|
-
"
|
|
231
|
-
"
|
|
159
|
+
"reflect": false,
|
|
160
|
+
"attribute": "validation_type"
|
|
232
161
|
},
|
|
233
|
-
"
|
|
162
|
+
"input_status": {
|
|
234
163
|
"type": "string",
|
|
235
164
|
"mutable": false,
|
|
236
165
|
"complexType": {
|
|
@@ -246,28 +175,8 @@ export class DdaTextarea {
|
|
|
246
175
|
},
|
|
247
176
|
"getter": false,
|
|
248
177
|
"setter": false,
|
|
249
|
-
"attribute": "aria_label",
|
|
250
|
-
"reflect": false
|
|
251
|
-
},
|
|
252
|
-
"show_info_icon": {
|
|
253
|
-
"type": "boolean",
|
|
254
|
-
"mutable": false,
|
|
255
|
-
"complexType": {
|
|
256
|
-
"original": "boolean",
|
|
257
|
-
"resolved": "boolean",
|
|
258
|
-
"references": {}
|
|
259
|
-
},
|
|
260
|
-
"required": false,
|
|
261
|
-
"optional": false,
|
|
262
|
-
"docs": {
|
|
263
|
-
"tags": [],
|
|
264
|
-
"text": ""
|
|
265
|
-
},
|
|
266
|
-
"getter": false,
|
|
267
|
-
"setter": false,
|
|
268
|
-
"attribute": "show_info_icon",
|
|
269
178
|
"reflect": false,
|
|
270
|
-
"
|
|
179
|
+
"attribute": "input_status"
|
|
271
180
|
},
|
|
272
181
|
"helper_text": {
|
|
273
182
|
"type": "string",
|
|
@@ -285,10 +194,10 @@ export class DdaTextarea {
|
|
|
285
194
|
},
|
|
286
195
|
"getter": false,
|
|
287
196
|
"setter": false,
|
|
288
|
-
"
|
|
289
|
-
"
|
|
197
|
+
"reflect": false,
|
|
198
|
+
"attribute": "helper_text"
|
|
290
199
|
},
|
|
291
|
-
"
|
|
200
|
+
"custom_class": {
|
|
292
201
|
"type": "string",
|
|
293
202
|
"mutable": false,
|
|
294
203
|
"complexType": {
|
|
@@ -297,22 +206,22 @@ export class DdaTextarea {
|
|
|
297
206
|
"references": {}
|
|
298
207
|
},
|
|
299
208
|
"required": false,
|
|
300
|
-
"optional":
|
|
209
|
+
"optional": true,
|
|
301
210
|
"docs": {
|
|
302
211
|
"tags": [],
|
|
303
212
|
"text": ""
|
|
304
213
|
},
|
|
305
214
|
"getter": false,
|
|
306
215
|
"setter": false,
|
|
307
|
-
"
|
|
308
|
-
"
|
|
216
|
+
"reflect": false,
|
|
217
|
+
"attribute": "custom_class"
|
|
309
218
|
},
|
|
310
|
-
"
|
|
311
|
-
"type": "
|
|
219
|
+
"enable_rich_editor": {
|
|
220
|
+
"type": "boolean",
|
|
312
221
|
"mutable": false,
|
|
313
222
|
"complexType": {
|
|
314
|
-
"original": "
|
|
315
|
-
"resolved": "
|
|
223
|
+
"original": "boolean",
|
|
224
|
+
"resolved": "boolean",
|
|
316
225
|
"references": {}
|
|
317
226
|
},
|
|
318
227
|
"required": false,
|
|
@@ -323,15 +232,15 @@ export class DdaTextarea {
|
|
|
323
232
|
},
|
|
324
233
|
"getter": false,
|
|
325
234
|
"setter": false,
|
|
326
|
-
"
|
|
327
|
-
"
|
|
235
|
+
"reflect": false,
|
|
236
|
+
"attribute": "enable_rich_editor"
|
|
328
237
|
},
|
|
329
|
-
"
|
|
330
|
-
"type": "
|
|
238
|
+
"max_characters": {
|
|
239
|
+
"type": "number",
|
|
331
240
|
"mutable": false,
|
|
332
241
|
"complexType": {
|
|
333
|
-
"original": "
|
|
334
|
-
"resolved": "
|
|
242
|
+
"original": "number",
|
|
243
|
+
"resolved": "number",
|
|
335
244
|
"references": {}
|
|
336
245
|
},
|
|
337
246
|
"required": false,
|
|
@@ -342,10 +251,10 @@ export class DdaTextarea {
|
|
|
342
251
|
},
|
|
343
252
|
"getter": false,
|
|
344
253
|
"setter": false,
|
|
345
|
-
"
|
|
346
|
-
"
|
|
254
|
+
"reflect": false,
|
|
255
|
+
"attribute": "max_characters"
|
|
347
256
|
},
|
|
348
|
-
"
|
|
257
|
+
"component_mode": {
|
|
349
258
|
"type": "string",
|
|
350
259
|
"mutable": false,
|
|
351
260
|
"complexType": {
|
|
@@ -361,10 +270,10 @@ export class DdaTextarea {
|
|
|
361
270
|
},
|
|
362
271
|
"getter": false,
|
|
363
272
|
"setter": false,
|
|
364
|
-
"
|
|
365
|
-
"
|
|
273
|
+
"reflect": false,
|
|
274
|
+
"attribute": "component_mode"
|
|
366
275
|
},
|
|
367
|
-
"
|
|
276
|
+
"input_id": {
|
|
368
277
|
"type": "string",
|
|
369
278
|
"mutable": false,
|
|
370
279
|
"complexType": {
|
|
@@ -373,17 +282,17 @@ export class DdaTextarea {
|
|
|
373
282
|
"references": {}
|
|
374
283
|
},
|
|
375
284
|
"required": false,
|
|
376
|
-
"optional":
|
|
285
|
+
"optional": false,
|
|
377
286
|
"docs": {
|
|
378
287
|
"tags": [],
|
|
379
288
|
"text": ""
|
|
380
289
|
},
|
|
381
290
|
"getter": false,
|
|
382
291
|
"setter": false,
|
|
383
|
-
"
|
|
384
|
-
"
|
|
292
|
+
"reflect": false,
|
|
293
|
+
"attribute": "input_id"
|
|
385
294
|
},
|
|
386
|
-
"
|
|
295
|
+
"aria_label": {
|
|
387
296
|
"type": "string",
|
|
388
297
|
"mutable": false,
|
|
389
298
|
"complexType": {
|
|
@@ -399,120 +308,34 @@ export class DdaTextarea {
|
|
|
399
308
|
},
|
|
400
309
|
"getter": false,
|
|
401
310
|
"setter": false,
|
|
402
|
-
"
|
|
403
|
-
"
|
|
311
|
+
"reflect": false,
|
|
312
|
+
"attribute": "aria_label"
|
|
404
313
|
},
|
|
405
|
-
"
|
|
406
|
-
"type": "
|
|
314
|
+
"textarea_name": {
|
|
315
|
+
"type": "string",
|
|
407
316
|
"mutable": false,
|
|
408
317
|
"complexType": {
|
|
409
|
-
"original": "
|
|
410
|
-
"resolved": "
|
|
318
|
+
"original": "string",
|
|
319
|
+
"resolved": "string",
|
|
411
320
|
"references": {}
|
|
412
321
|
},
|
|
413
322
|
"required": false,
|
|
414
|
-
"optional":
|
|
323
|
+
"optional": false,
|
|
415
324
|
"docs": {
|
|
416
325
|
"tags": [],
|
|
417
326
|
"text": ""
|
|
418
327
|
},
|
|
419
328
|
"getter": false,
|
|
420
329
|
"setter": false,
|
|
421
|
-
"
|
|
422
|
-
"
|
|
330
|
+
"reflect": false,
|
|
331
|
+
"attribute": "textarea_name"
|
|
423
332
|
}
|
|
424
333
|
};
|
|
425
334
|
}
|
|
426
335
|
static get states() {
|
|
427
336
|
return {
|
|
428
|
-
"characterCount": {}
|
|
429
|
-
"internalValue": {}
|
|
430
|
-
};
|
|
431
|
-
}
|
|
432
|
-
static get events() {
|
|
433
|
-
return [{
|
|
434
|
-
"method": "textareaChanged",
|
|
435
|
-
"name": "textareaChanged",
|
|
436
|
-
"bubbles": true,
|
|
437
|
-
"cancelable": true,
|
|
438
|
-
"composed": true,
|
|
439
|
-
"docs": {
|
|
440
|
-
"tags": [],
|
|
441
|
-
"text": ""
|
|
442
|
-
},
|
|
443
|
-
"complexType": {
|
|
444
|
-
"original": "any",
|
|
445
|
-
"resolved": "any",
|
|
446
|
-
"references": {}
|
|
447
|
-
}
|
|
448
|
-
}, {
|
|
449
|
-
"method": "onChanged",
|
|
450
|
-
"name": "onChanged",
|
|
451
|
-
"bubbles": true,
|
|
452
|
-
"cancelable": true,
|
|
453
|
-
"composed": true,
|
|
454
|
-
"docs": {
|
|
455
|
-
"tags": [],
|
|
456
|
-
"text": ""
|
|
457
|
-
},
|
|
458
|
-
"complexType": {
|
|
459
|
-
"original": "any",
|
|
460
|
-
"resolved": "any",
|
|
461
|
-
"references": {}
|
|
462
|
-
}
|
|
463
|
-
}, {
|
|
464
|
-
"method": "textareaBlurred",
|
|
465
|
-
"name": "textareaBlurred",
|
|
466
|
-
"bubbles": true,
|
|
467
|
-
"cancelable": true,
|
|
468
|
-
"composed": true,
|
|
469
|
-
"docs": {
|
|
470
|
-
"tags": [],
|
|
471
|
-
"text": ""
|
|
472
|
-
},
|
|
473
|
-
"complexType": {
|
|
474
|
-
"original": "{ name: string; value: string }",
|
|
475
|
-
"resolved": "{ name: string; value: string; }",
|
|
476
|
-
"references": {}
|
|
477
|
-
}
|
|
478
|
-
}, {
|
|
479
|
-
"method": "onBlurred",
|
|
480
|
-
"name": "onBlurred",
|
|
481
|
-
"bubbles": true,
|
|
482
|
-
"cancelable": true,
|
|
483
|
-
"composed": true,
|
|
484
|
-
"docs": {
|
|
485
|
-
"tags": [],
|
|
486
|
-
"text": ""
|
|
487
|
-
},
|
|
488
|
-
"complexType": {
|
|
489
|
-
"original": "any",
|
|
490
|
-
"resolved": "any",
|
|
491
|
-
"references": {}
|
|
492
|
-
}
|
|
493
|
-
}];
|
|
494
|
-
}
|
|
495
|
-
static get methods() {
|
|
496
|
-
return {
|
|
497
|
-
"getValue": {
|
|
498
|
-
"complexType": {
|
|
499
|
-
"signature": "() => Promise<string>",
|
|
500
|
-
"parameters": [],
|
|
501
|
-
"references": {
|
|
502
|
-
"Promise": {
|
|
503
|
-
"location": "global",
|
|
504
|
-
"id": "global::Promise"
|
|
505
|
-
}
|
|
506
|
-
},
|
|
507
|
-
"return": "Promise<string>"
|
|
508
|
-
},
|
|
509
|
-
"docs": {
|
|
510
|
-
"text": "",
|
|
511
|
-
"tags": []
|
|
512
|
-
}
|
|
513
|
-
}
|
|
337
|
+
"characterCount": {}
|
|
514
338
|
};
|
|
515
339
|
}
|
|
516
340
|
static get elementRef() { return "el"; }
|
|
517
341
|
}
|
|
518
|
-
//# sourceMappingURL=dda-textarea.js.map
|