@quartzds/core 1.0.0-beta.12 → 1.0.0-beta.120
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 +1895 -0
- package/README.md +23 -23
- package/components/index.d.ts +50 -0
- package/components/index.js +62 -28
- package/components/index.js.map +1 -1
- package/components/p-5RFBIepu.js +112 -0
- package/components/p-5RFBIepu.js.map +1 -0
- package/components/p-B03FWheS.js +393 -0
- package/components/p-B03FWheS.js.map +1 -0
- package/components/p-BkBJDD6Y.js +274 -0
- package/components/p-BkBJDD6Y.js.map +1 -0
- package/components/p-BkgfW_tl.js +282 -0
- package/components/p-BkgfW_tl.js.map +1 -0
- package/components/p-Bnc7Puxx.js +164 -0
- package/components/p-Bnc7Puxx.js.map +1 -0
- package/components/{floating-ui.dom.esm.js → p-Bv2vPjgL.js} +557 -345
- package/components/p-Bv2vPjgL.js.map +1 -0
- package/components/p-CDRwHAIT.js +105 -0
- package/components/p-CDRwHAIT.js.map +1 -0
- package/components/p-CFVg7I9T.js +269 -0
- package/components/p-CFVg7I9T.js.map +1 -0
- package/components/p-CRVPDKfO.js +163 -0
- package/components/p-CRVPDKfO.js.map +1 -0
- package/components/p-CXP6q9Mr.js +286 -0
- package/components/p-CXP6q9Mr.js.map +1 -0
- package/components/p-CZRW1LV_.js +28 -0
- package/components/p-CZRW1LV_.js.map +1 -0
- package/components/p-D2489VzR.js +2133 -0
- package/components/p-D2489VzR.js.map +1 -0
- package/components/p-DeRqCYmp.js +102 -0
- package/components/p-DeRqCYmp.js.map +1 -0
- package/components/p-DnZdwX0l.js +149 -0
- package/components/p-DnZdwX0l.js.map +1 -0
- package/components/p-Dsc0-aXK.js +162 -0
- package/components/p-Dsc0-aXK.js.map +1 -0
- package/components/p-DwxIJEUj.js +91 -0
- package/components/p-DwxIJEUj.js.map +1 -0
- package/components/p-U2Q0vF-d.js +96 -0
- package/components/p-U2Q0vF-d.js.map +1 -0
- package/components/p-eFhV8w2l.js +428 -0
- package/components/p-eFhV8w2l.js.map +1 -0
- package/components/qds-action-item.d.ts +11 -0
- package/components/qds-action-item.js +183 -0
- package/components/qds-action-item.js.map +1 -0
- package/components/qds-avatar-media.d.ts +11 -0
- package/components/qds-avatar-media.js +14 -0
- package/components/qds-avatar-media.js.map +1 -0
- package/components/qds-badge-counter.d.ts +11 -0
- package/components/qds-badge-counter.js +14 -0
- package/components/qds-badge-counter.js.map +1 -0
- package/components/qds-badge-indicator.d.ts +11 -0
- package/components/qds-badge-indicator.js +14 -0
- package/components/qds-badge-indicator.js.map +1 -0
- package/components/qds-breadcrumb-item.d.ts +11 -0
- package/components/qds-breadcrumb-item.js +169 -0
- package/components/qds-breadcrumb-item.js.map +1 -0
- package/components/qds-button.d.ts +2 -2
- package/components/qds-button.js +457 -129
- package/components/qds-button.js.map +1 -1
- package/components/qds-checkbox.d.ts +2 -2
- package/components/qds-checkbox.js +4 -146
- package/components/qds-checkbox.js.map +1 -1
- package/components/qds-chip.d.ts +11 -0
- package/components/qds-chip.js +304 -0
- package/components/qds-chip.js.map +1 -0
- package/components/qds-dialog.d.ts +2 -2
- package/components/qds-dialog.js +179 -93
- package/components/qds-dialog.js.map +1 -1
- package/components/qds-divider.d.ts +2 -2
- package/components/qds-divider.js +4 -39
- package/components/qds-divider.js.map +1 -1
- package/components/qds-dropdown.d.ts +2 -2
- package/components/qds-dropdown.js +4 -249
- package/components/qds-dropdown.js.map +1 -1
- package/components/qds-form-message.d.ts +2 -2
- package/components/qds-form-message.js +100 -50
- package/components/qds-form-message.js.map +1 -1
- package/components/qds-icon-button.d.ts +11 -0
- package/components/qds-icon-button.js +14 -0
- package/components/qds-icon-button.js.map +1 -0
- package/components/qds-icon-tab.d.ts +11 -0
- package/components/qds-icon-tab.js +278 -0
- package/components/qds-icon-tab.js.map +1 -0
- package/components/qds-icon.d.ts +2 -2
- package/components/qds-icon.js +4 -3
- package/components/qds-inline-link.d.ts +2 -2
- package/components/qds-inline-link.js +171 -74
- package/components/qds-inline-link.js.map +1 -1
- package/components/qds-input.d.ts +2 -2
- package/components/qds-input.js +548 -230
- package/components/qds-input.js.map +1 -1
- package/components/qds-label.d.ts +2 -2
- package/components/qds-label.js +4 -3
- package/components/qds-list-item.d.ts +11 -0
- package/components/qds-list-item.js +395 -0
- package/components/qds-list-item.js.map +1 -0
- package/components/qds-loader.d.ts +11 -0
- package/components/qds-loader.js +152 -0
- package/components/qds-loader.js.map +1 -0
- package/components/qds-menu-item.d.ts +11 -0
- package/components/qds-menu-item.js +204 -0
- package/components/qds-menu-item.js.map +1 -0
- package/components/qds-mini-button.d.ts +11 -0
- package/components/qds-mini-button.js +14 -0
- package/components/qds-mini-button.js.map +1 -0
- package/components/qds-progress-bar.d.ts +11 -0
- package/components/qds-progress-bar.js +155 -0
- package/components/qds-progress-bar.js.map +1 -0
- package/components/qds-radio.d.ts +2 -2
- package/components/qds-radio.js +4 -99
- package/components/qds-radio.js.map +1 -1
- package/components/qds-select.d.ts +11 -0
- package/components/qds-select.js +363 -0
- package/components/qds-select.js.map +1 -0
- package/components/qds-standalone-link.d.ts +11 -0
- package/components/qds-standalone-link.js +208 -0
- package/components/qds-standalone-link.js.map +1 -0
- package/components/qds-switch.d.ts +2 -2
- package/components/qds-switch.js +257 -105
- package/components/qds-switch.js.map +1 -1
- package/components/qds-tab.d.ts +11 -0
- package/components/qds-tab.js +339 -0
- package/components/qds-tab.js.map +1 -0
- package/components/qds-tabbar.d.ts +11 -0
- package/components/qds-tabbar.js +410 -0
- package/components/qds-tabbar.js.map +1 -0
- package/components/qds-table-cell.d.ts +11 -0
- package/components/qds-table-cell.js +81 -0
- package/components/qds-table-cell.js.map +1 -0
- package/components/qds-table-head-cell.d.ts +11 -0
- package/components/qds-table-head-cell.js +87 -0
- package/components/qds-table-head-cell.js.map +1 -0
- package/components/qds-table-row.d.ts +11 -0
- package/components/qds-table-row.js +48 -0
- package/components/qds-table-row.js.map +1 -0
- package/components/qds-table.d.ts +11 -0
- package/components/qds-table.js +48 -0
- package/components/qds-table.js.map +1 -0
- package/components/qds-tag.d.ts +11 -0
- package/components/qds-tag.js +14 -0
- package/components/qds-tag.js.map +1 -0
- package/components/qds-textarea.d.ts +2 -2
- package/components/qds-textarea.js +352 -193
- package/components/qds-textarea.js.map +1 -1
- package/components/qds-title.d.ts +2 -2
- package/components/qds-title.js +4 -84
- package/components/qds-title.js.map +1 -1
- package/components/qds-tooltip.d.ts +2 -2
- package/components/qds-tooltip.js +4 -315
- package/components/qds-tooltip.js.map +1 -1
- package/dist/cjs/app-globals-CLoao1by.js +13 -0
- package/dist/cjs/app-globals-CLoao1by.js.map +1 -0
- package/dist/cjs/controls-DKGeNyr5.js +32 -0
- package/dist/cjs/controls-DKGeNyr5.js.map +1 -0
- package/dist/cjs/{floating-ui.dom.esm-7f1cac3e.js → floating-ui.dom-Bvzubd50.js} +557 -345
- package/dist/cjs/floating-ui.dom-Bvzubd50.js.map +1 -0
- package/dist/cjs/helpers-BIL8yXqA.js +303 -0
- package/dist/cjs/helpers-BIL8yXqA.js.map +1 -0
- package/dist/cjs/index-DIY7gpXM.js +2376 -0
- package/dist/cjs/index-DIY7gpXM.js.map +1 -0
- package/dist/cjs/index.cjs.js +40 -31
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/library-CeKRI2f2.js +142 -0
- package/dist/cjs/library-CeKRI2f2.js.map +1 -0
- package/dist/cjs/loader.cjs.js +9 -10
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/qds-action-item.cjs.entry.js +145 -0
- package/dist/cjs/qds-action-item.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-avatar-media.qds-checkbox.qds-radio.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-avatar-media_3.cjs.entry.js +399 -0
- package/dist/cjs/qds-badge-counter.qds-badge-indicator.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-badge-counter_2.cjs.entry.js +146 -0
- package/dist/cjs/qds-breadcrumb-item.cjs.entry.js +129 -0
- package/dist/cjs/qds-breadcrumb-item.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-button.cjs.entry.js +385 -93
- package/dist/cjs/qds-button.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-chip.cjs.entry.js +252 -0
- package/dist/cjs/qds-chip.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-dialog.cjs.entry.js +124 -77
- package/dist/cjs/qds-dialog.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-divider.qds-icon-button.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-divider_2.cjs.entry.js +280 -0
- package/dist/cjs/qds-dropdown.cjs.entry.js +373 -209
- package/dist/cjs/qds-dropdown.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-form-message.cjs.entry.js +70 -27
- package/dist/cjs/qds-form-message.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-icon-tab.cjs.entry.js +214 -0
- package/dist/cjs/qds-icon-tab.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-icon.cjs.entry.js +112 -93
- package/dist/cjs/qds-icon.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-inline-link.cjs.entry.js +137 -49
- package/dist/cjs/qds-inline-link.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-input.cjs.entry.js +473 -188
- package/dist/cjs/qds-input.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-label.cjs.entry.js +118 -27
- package/dist/cjs/qds-label.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-list-item.cjs.entry.js +290 -0
- package/dist/cjs/qds-list-item.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-loader.cjs.entry.js +126 -0
- package/dist/cjs/qds-loader.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-menu-item.cjs.entry.js +158 -0
- package/dist/cjs/qds-menu-item.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-mini-button.cjs.entry.js +132 -0
- package/dist/cjs/qds-mini-button.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-progress-bar.cjs.entry.js +131 -0
- package/dist/cjs/qds-progress-bar.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-select.cjs.entry.js +319 -0
- package/dist/cjs/qds-select.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-standalone-link.cjs.entry.js +169 -0
- package/dist/cjs/qds-standalone-link.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-switch.cjs.entry.js +221 -67
- package/dist/cjs/qds-switch.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-tab.cjs.entry.js +265 -0
- package/dist/cjs/qds-tab.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-tabbar.cjs.entry.js +344 -0
- package/dist/cjs/qds-tabbar.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-table-cell.cjs.entry.js +61 -0
- package/dist/cjs/qds-table-cell.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-table-head-cell.cjs.entry.js +65 -0
- package/dist/cjs/qds-table-head-cell.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-table-row.cjs.entry.js +34 -0
- package/dist/cjs/qds-table-row.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-table.cjs.entry.js +34 -0
- package/dist/cjs/qds-table.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-tag.cjs.entry.js +110 -0
- package/dist/cjs/qds-tag.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-textarea.cjs.entry.js +303 -156
- package/dist/cjs/qds-textarea.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-title.cjs.entry.js +61 -52
- package/dist/cjs/qds-title.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-tooltip.cjs.entry.js +334 -263
- package/dist/cjs/qds-tooltip.entry.cjs.js.map +1 -0
- package/dist/cjs/qds.cjs.js +18 -17
- package/dist/cjs/qds.cjs.js.map +1 -1
- package/dist/custom-elements.json +12056 -2304
- package/dist/docs.d.ts +344 -240
- package/dist/docs.json +13125 -3360
- package/dist/esm/app-globals-WylVyaRG.js +11 -0
- package/dist/esm/app-globals-WylVyaRG.js.map +1 -0
- package/dist/esm/controls-CZRW1LV_.js +28 -0
- package/dist/esm/controls-CZRW1LV_.js.map +1 -0
- package/dist/esm/{floating-ui.dom.esm-c2f3e549.js → floating-ui.dom-Bv2vPjgL.js} +557 -345
- package/dist/esm/floating-ui.dom-Bv2vPjgL.js.map +1 -0
- package/dist/esm/helpers-BgaJNF9u.js +286 -0
- package/dist/esm/helpers-BgaJNF9u.js.map +1 -0
- package/dist/esm/index-Hg1Liloy.js +2364 -0
- package/dist/esm/index-Hg1Liloy.js.map +1 -0
- package/dist/esm/index.js +40 -30
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/library-CBfntPWH.js +138 -0
- package/dist/esm/library-CBfntPWH.js.map +1 -0
- package/dist/esm/loader.js +10 -9
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/qds-action-item.entry.js +143 -0
- package/dist/esm/qds-action-item.entry.js.map +1 -0
- package/dist/esm/qds-avatar-media.qds-checkbox.qds-radio.entry.js.map +1 -0
- package/dist/esm/qds-avatar-media_3.entry.js +395 -0
- package/dist/esm/qds-badge-counter.qds-badge-indicator.entry.js.map +1 -0
- package/dist/esm/qds-badge-counter_2.entry.js +143 -0
- package/dist/esm/qds-breadcrumb-item.entry.js +127 -0
- package/dist/esm/qds-breadcrumb-item.entry.js.map +1 -0
- package/dist/esm/qds-button.entry.js +385 -91
- package/dist/esm/qds-button.entry.js.map +1 -1
- package/dist/esm/qds-chip.entry.js +250 -0
- package/dist/esm/qds-chip.entry.js.map +1 -0
- package/dist/esm/qds-dialog.entry.js +124 -75
- package/dist/esm/qds-dialog.entry.js.map +1 -1
- package/dist/esm/qds-divider.qds-icon-button.entry.js.map +1 -0
- package/dist/esm/qds-divider_2.entry.js +277 -0
- package/dist/esm/qds-dropdown.entry.js +373 -207
- package/dist/esm/qds-dropdown.entry.js.map +1 -1
- package/dist/esm/qds-form-message.entry.js +70 -25
- package/dist/esm/qds-form-message.entry.js.map +1 -1
- package/dist/esm/qds-icon-tab.entry.js +212 -0
- package/dist/esm/qds-icon-tab.entry.js.map +1 -0
- package/dist/esm/qds-icon.entry.js +112 -91
- package/dist/esm/qds-icon.entry.js.map +1 -1
- package/dist/esm/qds-inline-link.entry.js +137 -47
- package/dist/esm/qds-inline-link.entry.js.map +1 -1
- package/dist/esm/qds-input.entry.js +473 -186
- package/dist/esm/qds-input.entry.js.map +1 -1
- package/dist/esm/qds-label.entry.js +118 -25
- package/dist/esm/qds-label.entry.js.map +1 -1
- package/dist/esm/qds-list-item.entry.js +288 -0
- package/dist/esm/qds-list-item.entry.js.map +1 -0
- package/dist/esm/qds-loader.entry.js +124 -0
- package/dist/esm/qds-loader.entry.js.map +1 -0
- package/dist/esm/qds-menu-item.entry.js +156 -0
- package/dist/esm/qds-menu-item.entry.js.map +1 -0
- package/dist/esm/qds-mini-button.entry.js +130 -0
- package/dist/esm/qds-mini-button.entry.js.map +1 -0
- package/dist/esm/qds-progress-bar.entry.js +129 -0
- package/dist/esm/qds-progress-bar.entry.js.map +1 -0
- package/dist/esm/qds-select.entry.js +317 -0
- package/dist/esm/qds-select.entry.js.map +1 -0
- package/dist/esm/qds-standalone-link.entry.js +167 -0
- package/dist/esm/qds-standalone-link.entry.js.map +1 -0
- package/dist/esm/qds-switch.entry.js +221 -65
- package/dist/esm/qds-switch.entry.js.map +1 -1
- package/dist/esm/qds-tab.entry.js +263 -0
- package/dist/esm/qds-tab.entry.js.map +1 -0
- package/dist/esm/qds-tabbar.entry.js +342 -0
- package/dist/esm/qds-tabbar.entry.js.map +1 -0
- package/dist/esm/qds-table-cell.entry.js +59 -0
- package/dist/esm/qds-table-cell.entry.js.map +1 -0
- package/dist/esm/qds-table-head-cell.entry.js +63 -0
- package/dist/esm/qds-table-head-cell.entry.js.map +1 -0
- package/dist/esm/qds-table-row.entry.js +32 -0
- package/dist/esm/qds-table-row.entry.js.map +1 -0
- package/dist/esm/qds-table.entry.js +32 -0
- package/dist/esm/qds-table.entry.js.map +1 -0
- package/dist/esm/qds-tag.entry.js +108 -0
- package/dist/esm/qds-tag.entry.js.map +1 -0
- package/dist/esm/qds-textarea.entry.js +303 -154
- package/dist/esm/qds-textarea.entry.js.map +1 -1
- package/dist/esm/qds-title.entry.js +61 -50
- package/dist/esm/qds-title.entry.js.map +1 -1
- package/dist/esm/qds-tooltip.entry.js +334 -261
- package/dist/esm/qds-tooltip.entry.js.map +1 -1
- package/dist/esm/qds.js +18 -16
- package/dist/esm/qds.js.map +1 -1
- package/dist/types/components/action-item/action-item.d.ts +67 -0
- package/dist/types/components/avatar-media/avatar-media.d.ts +39 -0
- package/dist/types/components/badge-counter/badge-counter.d.ts +40 -0
- package/dist/types/components/badge-indicator/badge-indicator.d.ts +36 -0
- package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +178 -0
- package/dist/types/components/button/button.d.ts +282 -198
- package/dist/types/components/checkbox/checkbox.d.ts +137 -124
- package/dist/types/components/chip/chip.d.ts +109 -0
- package/dist/types/components/controls.d.ts +4 -1
- package/dist/types/components/dialog/dialog.d.ts +32 -41
- package/dist/types/components/divider/divider.d.ts +14 -9
- package/dist/types/components/dropdown/dropdown.d.ts +116 -125
- package/dist/types/components/form-message/form-message.d.ts +33 -25
- package/dist/types/components/icon/icon.d.ts +24 -24
- package/dist/types/components/icon/library.d.ts +3 -3
- package/dist/types/components/icon/request.d.ts +5 -9
- package/dist/types/components/icon-button/icon-button.d.ts +121 -0
- package/dist/types/components/icon-tab/icon-tab.d.ts +110 -0
- package/dist/types/components/inline-link/inline-link.d.ts +209 -191
- package/dist/types/components/input/input.d.ts +431 -368
- package/dist/types/components/label/label.d.ts +37 -24
- package/dist/types/components/list-item/list-item.d.ts +121 -0
- package/dist/types/components/loader/loader.d.ts +32 -0
- package/dist/types/components/menu-item/menu-item.d.ts +71 -0
- package/dist/types/components/mini-button/mini-button.d.ts +82 -0
- package/dist/types/components/progress-bar/progress-bar.d.ts +60 -0
- package/dist/types/components/radio/radio.d.ts +90 -95
- package/dist/types/components/select/select.d.ts +203 -0
- package/dist/types/components/shared.d.ts +6 -0
- package/dist/types/components/standalone-link/standalone-link.d.ts +234 -0
- package/dist/types/components/switch/switch.d.ts +122 -107
- package/dist/types/components/tab/tab.d.ts +155 -0
- package/dist/types/components/tabbar/tabbar.d.ts +56 -0
- package/dist/types/components/table/table.d.ts +14 -0
- package/dist/types/components/table-cell/table-cell.d.ts +33 -0
- package/dist/types/components/table-head-cell/table-head-cell.d.ts +50 -0
- package/dist/types/components/table-row/table-row.d.ts +14 -0
- package/dist/types/components/tag/tag.d.ts +55 -0
- package/dist/types/components/textarea/textarea.d.ts +295 -300
- package/dist/types/components/title/title.d.ts +39 -32
- package/dist/types/components/tooltip/tooltip.d.ts +111 -136
- package/dist/types/components.d.ts +4403 -959
- package/dist/types/helpers.d.ts +38 -19
- package/dist/types/index.d.ts +2 -1
- package/dist/types/interface-overrides.d.ts +215 -0
- package/dist/types/qds-test.d.ts +22 -11
- package/dist/types/stencil-public-runtime.d.ts +109 -17
- package/dist/types/utils.d.ts +11 -4
- package/dist/vscode.html-custom-data.json +2365 -445
- package/hydrate/index.d.ts +73 -18
- package/hydrate/index.js +28020 -9256
- package/hydrate/index.mjs +28907 -0
- package/hydrate/package.json +7 -1
- package/loader/cdn.js +3 -4
- package/loader/index.cjs.js +3 -4
- package/loader/index.d.ts +4 -1
- package/loader/index.es2017.js +3 -4
- package/loader/index.js +3 -4
- package/package.json +23 -180
- package/styles/core.css +147 -19
- package/components/floating-ui.dom.esm.js.map +0 -1
- package/components/helpers.js +0 -175
- package/components/helpers.js.map +0 -1
- package/components/icon.js +0 -185
- package/components/icon.js.map +0 -1
- package/components/label.js +0 -55
- package/components/label.js.map +0 -1
- package/dist/cjs/floating-ui.dom.esm-7f1cac3e.js.map +0 -1
- package/dist/cjs/helpers-452256e8.js +0 -185
- package/dist/cjs/helpers-452256e8.js.map +0 -1
- package/dist/cjs/index-d181f952.js +0 -2039
- package/dist/cjs/index-d181f952.js.map +0 -1
- package/dist/cjs/library-ad8d9466.js +0 -72
- package/dist/cjs/library-ad8d9466.js.map +0 -1
- package/dist/cjs/qds-button.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-checkbox.cjs.entry.js +0 -116
- package/dist/cjs/qds-checkbox.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-dialog.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-divider.cjs.entry.js +0 -33
- package/dist/cjs/qds-divider.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-dropdown.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-form-message.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-inline-link.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-input.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-label.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-radio.cjs.entry.js +0 -74
- package/dist/cjs/qds-radio.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-switch.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-textarea.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-title.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-tooltip.cjs.entry.js.map +0 -1
- package/dist/esm/floating-ui.dom.esm-c2f3e549.js.map +0 -1
- package/dist/esm/helpers-76b84f45.js +0 -175
- package/dist/esm/helpers-76b84f45.js.map +0 -1
- package/dist/esm/index-d7183092.js +0 -2009
- package/dist/esm/index-d7183092.js.map +0 -1
- package/dist/esm/library-f36d7d09.js +0 -68
- package/dist/esm/library-f36d7d09.js.map +0 -1
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/qds-checkbox.entry.js +0 -112
- package/dist/esm/qds-checkbox.entry.js.map +0 -1
- package/dist/esm/qds-divider.entry.js +0 -29
- package/dist/esm/qds-divider.entry.js.map +0 -1
- package/dist/esm/qds-radio.entry.js +0 -70
- package/dist/esm/qds-radio.entry.js.map +0 -1
- package/dist/types/components/create-story.d.ts +0 -5
- package/loader/package.json +0 -11
|
@@ -2,134 +2,125 @@ import type { AutoUpdateOptions, DetectOverflowOptions, FlipOptions, Placement,
|
|
|
2
2
|
import type { ComponentInterface } from '../../stencil-public-runtime';
|
|
3
3
|
import type { OffsetOptions } from '../../helpers';
|
|
4
4
|
/**
|
|
5
|
-
* @experimental
|
|
6
5
|
* @slot Content to display in the dropdown.
|
|
7
6
|
* @see https://quartz.se.com/build/components/dropdown
|
|
8
7
|
*/
|
|
9
8
|
export declare class Dropdown implements ComponentInterface {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
render(): any;
|
|
127
|
-
private handleFocusOut;
|
|
128
|
-
private readonly boundFocusout;
|
|
129
|
-
private handleEscape;
|
|
130
|
-
private readonly boundEscape;
|
|
131
|
-
private handleReferenceClick;
|
|
132
|
-
private readonly boundReferenceClick;
|
|
133
|
-
private disconnectReferenceElement;
|
|
9
|
+
#private;
|
|
10
|
+
/**
|
|
11
|
+
* Options to pass to Floating UI's
|
|
12
|
+
* [`autoUpdate()` function](https://floating-ui.com/docs/autoUpdate).
|
|
13
|
+
*
|
|
14
|
+
* @see https://floating-ui.com/docs/autoupdate#options
|
|
15
|
+
*/
|
|
16
|
+
readonly autoUpdateOptions?: AutoUpdateOptions;
|
|
17
|
+
/**
|
|
18
|
+
* Prevents the dropdown from being shown by user interaction. The dropdown
|
|
19
|
+
* can still be displayed by calling the `show()` method.
|
|
20
|
+
*/
|
|
21
|
+
readonly disabled: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Options to pass to Floating UI's
|
|
24
|
+
* [`flip` middleware](https://floating-ui.com/docs/flip).
|
|
25
|
+
*
|
|
26
|
+
* The [`crossAxis` option](https://floating-ui.com/docs/flip#crossaxis) is
|
|
27
|
+
* set to the value of the `noShift` property by default for interoperability
|
|
28
|
+
* with the [`shift` middleware](https://floating-ui.com/docs/shift).
|
|
29
|
+
*
|
|
30
|
+
* @see https://floating-ui.com/docs/flip#options
|
|
31
|
+
*/
|
|
32
|
+
readonly flipOptions?: Partial<DetectOverflowOptions & FlipOptions>;
|
|
33
|
+
/**
|
|
34
|
+
* Disable Floating UI's
|
|
35
|
+
* [`flip` middleware](https://floating-ui.com/docs/flip).
|
|
36
|
+
*/
|
|
37
|
+
readonly noFlip: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Disable Floating UI's
|
|
40
|
+
* [`shift` middleware](https://floating-ui.com/docs/shift).
|
|
41
|
+
*/
|
|
42
|
+
readonly noShift: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Options to pass to Floating UI's
|
|
45
|
+
* [`offset` middleware](https://floating-ui.com/docs/offset).
|
|
46
|
+
*
|
|
47
|
+
* The [`mainAxis` option](https://floating-ui.com/docs/offset#mainaxis) is
|
|
48
|
+
* not supported.
|
|
49
|
+
*
|
|
50
|
+
* @see https://floating-ui.com/docs/offset#options
|
|
51
|
+
*/
|
|
52
|
+
readonly offsetOptions?: OffsetOptions;
|
|
53
|
+
/**
|
|
54
|
+
* Where to place the dropdown relative to the `target`.
|
|
55
|
+
*
|
|
56
|
+
* @see https://floating-ui.com/docs/tutorial#placements
|
|
57
|
+
*/
|
|
58
|
+
readonly placement: Placement;
|
|
59
|
+
/**
|
|
60
|
+
* Options to pass to Floating UI's
|
|
61
|
+
* [`shift` middleware](https://floating-ui.com/docs/shift).
|
|
62
|
+
*
|
|
63
|
+
* @see https://floating-ui.com/docs/shift#options
|
|
64
|
+
*/
|
|
65
|
+
readonly shiftOptions?: Partial<DetectOverflowOptions & ShiftOptions>;
|
|
66
|
+
/**
|
|
67
|
+
* The CSS position strategy to use.
|
|
68
|
+
*
|
|
69
|
+
* @see https://floating-ui.com/docs/computeposition#strategy
|
|
70
|
+
*/
|
|
71
|
+
readonly strategy?: Strategy;
|
|
72
|
+
/**
|
|
73
|
+
* The trigger element that will trigger the dropdown. The target specified
|
|
74
|
+
* can be any of the following:
|
|
75
|
+
*
|
|
76
|
+
* - A CSS selector string
|
|
77
|
+
* - A reference to an [`Element`][] or [Virtual Element][]
|
|
78
|
+
* - A function returning a reference to an [`Element`][],
|
|
79
|
+
* [Virtual Element][], or a CSS selector string
|
|
80
|
+
*
|
|
81
|
+
* [`Element`]: https://developer.mozilla.org/docs/Web/API/Element
|
|
82
|
+
* [Virtual Element]: https://floating-ui.com/docs/virtual-elements
|
|
83
|
+
*/
|
|
84
|
+
readonly target: ReferenceElement | string | (() => ReferenceElement | string);
|
|
85
|
+
/**
|
|
86
|
+
* By default, the dropdown is closed when an item is selected. This attribute will keep it open instead. Useful for
|
|
87
|
+
* dropdowns that allow for multiple interactions.
|
|
88
|
+
*/
|
|
89
|
+
readonly keepOpenOnSelect: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Emitted when the user instructs the browser that they wish to dismiss the
|
|
92
|
+
* current open dropdown by pressing the `Esc` key.
|
|
93
|
+
*
|
|
94
|
+
* When a dropdown is dismissed with the `Esc` key, both the `qdsCancel` and
|
|
95
|
+
* `qdsClose` events are emitted.
|
|
96
|
+
*/
|
|
97
|
+
private readonly cancelEmitter;
|
|
98
|
+
/**
|
|
99
|
+
* Emitted when the dropdown is closed.
|
|
100
|
+
*/
|
|
101
|
+
private readonly closeEmitter;
|
|
102
|
+
private readonly host;
|
|
103
|
+
private readonly internals;
|
|
104
|
+
/**
|
|
105
|
+
* Updates the gap between the dropdown and its target element.
|
|
106
|
+
*/
|
|
107
|
+
updateGap(): Promise<void>;
|
|
108
|
+
/**
|
|
109
|
+
* Shows the dropdown.
|
|
110
|
+
*/
|
|
111
|
+
show(): Promise<void>;
|
|
112
|
+
/**
|
|
113
|
+
* Closes the dropdown.
|
|
114
|
+
*/
|
|
115
|
+
close(): Promise<void>;
|
|
116
|
+
protected handleMouseDown(event: MouseEvent): Promise<void>;
|
|
117
|
+
protected onItemClick(event: MouseEvent): Promise<void>;
|
|
118
|
+
private updateReferenceElement;
|
|
119
|
+
private updateMiddleware;
|
|
120
|
+
private updatePosition;
|
|
121
|
+
private startAutoUpdate;
|
|
122
|
+
componentWillLoad(): Promise<void>;
|
|
123
|
+
disconnectedCallback(): void;
|
|
124
|
+
render(): any;
|
|
134
125
|
}
|
|
135
126
|
//# sourceMappingURL=dropdown.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
|
-
|
|
3
|
-
export type
|
|
2
|
+
import type { Size, Status } from '../shared';
|
|
3
|
+
export type FormMessageStatus = Status | 'neutral';
|
|
4
4
|
/**
|
|
5
5
|
* `<qds-form-message>` elements represent messages for a form field in a user
|
|
6
6
|
* interface.
|
|
@@ -8,28 +8,36 @@ export type Status = 'error' | 'info' | 'success' | 'warning';
|
|
|
8
8
|
* @see https://quartz.se.com/build/components/form-message
|
|
9
9
|
*/
|
|
10
10
|
export declare class FormMessage implements ComponentInterface {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
11
|
+
#private;
|
|
12
|
+
/**
|
|
13
|
+
* Adds vertical margin to the form message for alignment.
|
|
14
|
+
*
|
|
15
|
+
* This is useful when creating inline layouts so that the first lines have
|
|
16
|
+
* the correct vertical centering.
|
|
17
|
+
*/
|
|
18
|
+
readonly inline: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* The form message's size.
|
|
21
|
+
*/
|
|
22
|
+
readonly size?: Size;
|
|
23
|
+
/**
|
|
24
|
+
* The form message's status.
|
|
25
|
+
*/
|
|
26
|
+
readonly status?: FormMessageStatus;
|
|
27
|
+
/**
|
|
28
|
+
* Adds accessible text to the icon's form message that will be used by screen readers.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* <qds-form-message status-description="Error" text="Password is required."></qds-form-message>
|
|
32
|
+
* // This form message will be read by screen readers as "Error Password is required."
|
|
33
|
+
*/
|
|
34
|
+
readonly statusDescription?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The form message's text.
|
|
37
|
+
*/
|
|
38
|
+
readonly text?: string;
|
|
39
|
+
private readonly host;
|
|
40
|
+
componentWillLoad(): void;
|
|
41
|
+
render(): any;
|
|
34
42
|
}
|
|
35
43
|
//# sourceMappingURL=form-message.d.ts.map
|
|
@@ -3,29 +3,29 @@ import type { ComponentInterface } from '../../stencil-public-runtime';
|
|
|
3
3
|
* @experimental
|
|
4
4
|
*/
|
|
5
5
|
export declare class Icon implements ComponentInterface {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
6
|
+
#private;
|
|
7
|
+
/**
|
|
8
|
+
* The name of the icon to render.
|
|
9
|
+
*
|
|
10
|
+
* Available names depend on the icon library being used.
|
|
11
|
+
*/
|
|
12
|
+
readonly name: string;
|
|
13
|
+
/**
|
|
14
|
+
* The name of a registered icon library.
|
|
15
|
+
*/
|
|
16
|
+
readonly library: string;
|
|
17
|
+
/**
|
|
18
|
+
* Emitted when the icon has loaded.
|
|
19
|
+
*/
|
|
20
|
+
private readonly loadEmitter;
|
|
21
|
+
/**
|
|
22
|
+
* Emitted when the icon fails to load due to an error.
|
|
23
|
+
*/
|
|
24
|
+
private readonly errorEmitter;
|
|
25
|
+
private readonly host;
|
|
26
|
+
private svg;
|
|
27
|
+
private setIcon;
|
|
28
|
+
componentWillLoad(): Promise<void>;
|
|
29
|
+
render(): any;
|
|
30
30
|
}
|
|
31
31
|
//# sourceMappingURL=icon.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Except } from 'type-fest';
|
|
2
2
|
export type IconLibraryResolver = (name: string) => string;
|
|
3
3
|
export interface IconLibrary {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
name: string;
|
|
5
|
+
resolver: IconLibraryResolver;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Returns a library from the registry.
|
|
@@ -15,5 +15,5 @@ export declare const unregisterIconLibrary: (name: string) => void;
|
|
|
15
15
|
/**
|
|
16
16
|
* Adds an icon library to the registry or overrides an existing one.
|
|
17
17
|
*/
|
|
18
|
-
export declare const registerIconLibrary: (name: string, options: Except<IconLibrary,
|
|
18
|
+
export declare const registerIconLibrary: (name: string, options: Except<IconLibrary, "name">) => void;
|
|
19
19
|
//# sourceMappingURL=library.d.ts.map
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
interface
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
interface IconResponse {
|
|
2
|
+
ok: boolean;
|
|
3
|
+
status: number;
|
|
4
|
+
data: string;
|
|
4
5
|
}
|
|
5
|
-
|
|
6
|
-
ok: false;
|
|
7
|
-
data: undefined;
|
|
8
|
-
}
|
|
9
|
-
type IconRequest = IconRequestError | IconRequestOk;
|
|
10
|
-
declare const requestIcon: (url: string) => Promise<IconRequest>;
|
|
6
|
+
declare const requestIcon: (url: string) => Promise<IconResponse>;
|
|
11
7
|
export default requestIcon;
|
|
12
8
|
//# sourceMappingURL=request.d.ts.map
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import type { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
|
+
import type { LiteralUnion } from 'type-fest';
|
|
3
|
+
import type { Importance, Size, Target } from '../shared';
|
|
4
|
+
export type IconButtonSize = Size | 'hero';
|
|
5
|
+
export type IconButtonImportance = Importance | 'destructive' | 'subdued-destructive';
|
|
6
|
+
/**
|
|
7
|
+
* The `<qds-icon-button>` is an interactive element activated by a user
|
|
8
|
+
* with a mouse, keyboard, finger, voice command, or other assistive technology.
|
|
9
|
+
* Once activated, it performs a programmable action, such as submitting a
|
|
10
|
+
* [form](https://developer.mozilla.org/docs/Learn/Forms)
|
|
11
|
+
* or opening a dialog.
|
|
12
|
+
*
|
|
13
|
+
* @see https://quartz.se.com/build/components/icon-button
|
|
14
|
+
*/
|
|
15
|
+
export declare class IconButton implements ComponentInterface {
|
|
16
|
+
#private;
|
|
17
|
+
/**
|
|
18
|
+
* Prevents the icon button from being interacted with: it cannot be pressed or
|
|
19
|
+
* focused.
|
|
20
|
+
*
|
|
21
|
+
* @webnative
|
|
22
|
+
*/
|
|
23
|
+
readonly disabled: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The name of the icon to render.
|
|
26
|
+
*
|
|
27
|
+
* Available names depend on the icon library being used.
|
|
28
|
+
*/
|
|
29
|
+
readonly iconName: string;
|
|
30
|
+
/**
|
|
31
|
+
* The name of a registered icon library.
|
|
32
|
+
*/
|
|
33
|
+
readonly iconLibrary: string;
|
|
34
|
+
/**
|
|
35
|
+
* The icon button's size.
|
|
36
|
+
*/
|
|
37
|
+
readonly size?: Size | 'hero';
|
|
38
|
+
/**
|
|
39
|
+
* The icon button's importance.
|
|
40
|
+
*/
|
|
41
|
+
readonly importance?: IconButtonImportance;
|
|
42
|
+
/**
|
|
43
|
+
* Displays an indicator if `true` or the empty string. Otherwise, displays a
|
|
44
|
+
* counter badge if a number or string representing a number is used.
|
|
45
|
+
*
|
|
46
|
+
* @webnative
|
|
47
|
+
*/
|
|
48
|
+
readonly badge?: number | string | true;
|
|
49
|
+
/**
|
|
50
|
+
* The indicator or counter badge's accessible text that will be used by
|
|
51
|
+
* screen readers.
|
|
52
|
+
*/
|
|
53
|
+
readonly badgeDescription?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The indicator's status.
|
|
56
|
+
*/
|
|
57
|
+
readonly badgeIndicatorStatus?: HTMLQdsBadgeIndicatorElement['status'];
|
|
58
|
+
/**
|
|
59
|
+
* Where to display the linked URL, as the name for a browsing context (a
|
|
60
|
+
* tab, window, or
|
|
61
|
+
* [`<iframe>`](https://developer.mozilla.org/docs/Web/HTML/Element/iframe).
|
|
62
|
+
* The following keywords have special meanings for where to load the URL:
|
|
63
|
+
*
|
|
64
|
+
* - `_blank`: usually a new tab, but users can configure browsers to open a new
|
|
65
|
+
* window instead.
|
|
66
|
+
* - `_parent`: the parent browsing context of the current one. If no parent,
|
|
67
|
+
* behaves as `_self`.
|
|
68
|
+
* - `_self`: the current browsing context.
|
|
69
|
+
* - `_top`: the topmost browsing context (the "highest" context that's an
|
|
70
|
+
* ancestor of the current one). If no ancestors, behaves as `_self`.
|
|
71
|
+
*
|
|
72
|
+
* @webnative
|
|
73
|
+
*/
|
|
74
|
+
readonly target?: LiteralUnion<Target, string>;
|
|
75
|
+
/**
|
|
76
|
+
* When set, the underlying button will be rendered as an `<a>` with this
|
|
77
|
+
* `href` instead of a `<button>`.
|
|
78
|
+
*
|
|
79
|
+
* @webnative
|
|
80
|
+
*/
|
|
81
|
+
readonly href?: string;
|
|
82
|
+
/**
|
|
83
|
+
* When href is define and the button act as a link (`<a>`), the `rel` will be added to the element.
|
|
84
|
+
*
|
|
85
|
+
* @webnative
|
|
86
|
+
*/
|
|
87
|
+
readonly rel?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Tells the browser to download the linked file as this filename. Only used
|
|
90
|
+
* when `href` is set.
|
|
91
|
+
*
|
|
92
|
+
* @webnative
|
|
93
|
+
*/
|
|
94
|
+
readonly download?: string;
|
|
95
|
+
/**
|
|
96
|
+
* The icon button's accessible name.
|
|
97
|
+
*/
|
|
98
|
+
readonly text?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Emitted when the icon button loses focus.
|
|
101
|
+
*/
|
|
102
|
+
private readonly blurEmitter;
|
|
103
|
+
/**
|
|
104
|
+
* Emitted when the icon button gains focus.
|
|
105
|
+
*/
|
|
106
|
+
private readonly focusEmitter;
|
|
107
|
+
private readonly host;
|
|
108
|
+
private readonly internals;
|
|
109
|
+
protected disabledChanged(): void;
|
|
110
|
+
protected hrefChanged(): void;
|
|
111
|
+
protected tabindexChanged(newValue: string | null): void;
|
|
112
|
+
protected textChanged(): void;
|
|
113
|
+
protected onClick(event: MouseEvent): void;
|
|
114
|
+
protected onBlur(event: FocusEvent): Promise<void>;
|
|
115
|
+
protected onFocus(event: FocusEvent): Promise<void>;
|
|
116
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
117
|
+
protected onKeyup(event: KeyboardEvent): void;
|
|
118
|
+
componentWillLoad(): void;
|
|
119
|
+
render(): any;
|
|
120
|
+
}
|
|
121
|
+
//# sourceMappingURL=icon-button.d.ts.map
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import type { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
|
+
import type { Importance, Size } from '../shared';
|
|
3
|
+
export type Placement = 'bottom' | 'left' | 'right' | 'top';
|
|
4
|
+
export type IndicatorPosition = 'block-end' | 'block-start' | 'inline-end' | 'inline-start';
|
|
5
|
+
export type IconTabImportance = Exclude<Importance, 'emphasized'>;
|
|
6
|
+
/**
|
|
7
|
+
* <qds-icon-tab> is a navigational element that is used in different horizontal or vertical navigation bars
|
|
8
|
+
* (Main Navigation, secondary navigation, Tab bar, etc.)
|
|
9
|
+
* as trigger points for opening a menu list or switching content in Tab bar.
|
|
10
|
+
*
|
|
11
|
+
* @see https://quartz.se.com/build/components/icon-tab
|
|
12
|
+
*/
|
|
13
|
+
export declare class IconTab implements ComponentInterface {
|
|
14
|
+
#private;
|
|
15
|
+
/**
|
|
16
|
+
* Displays an indicator if `true` or the empty string. Otherwise, displays a
|
|
17
|
+
* counter badge if a number or string representing a number is used.
|
|
18
|
+
*/
|
|
19
|
+
readonly badge?: number | string | true;
|
|
20
|
+
/**
|
|
21
|
+
* The tab's counter importance.
|
|
22
|
+
*/
|
|
23
|
+
readonly badgeCounterImportance?: HTMLQdsBadgeCounterElement['importance'];
|
|
24
|
+
/**
|
|
25
|
+
* The indicator or counter badge's accessible text that will be used by
|
|
26
|
+
* screen readers.
|
|
27
|
+
*/
|
|
28
|
+
readonly badgeDescription?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The indicator's status.
|
|
31
|
+
*/
|
|
32
|
+
readonly badgeIndicatorStatus?: HTMLQdsBadgeIndicatorElement['status'];
|
|
33
|
+
/**
|
|
34
|
+
* Prevents the tab from being interacted with: it cannot be
|
|
35
|
+
* selected or focused.
|
|
36
|
+
*/
|
|
37
|
+
readonly disabled?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* The name of a registered icon library.
|
|
40
|
+
*/
|
|
41
|
+
readonly iconLibrary: string;
|
|
42
|
+
/**
|
|
43
|
+
* The name of the icon to render.
|
|
44
|
+
*
|
|
45
|
+
* Available names depend on the icon library being used.
|
|
46
|
+
*/
|
|
47
|
+
readonly iconName: string;
|
|
48
|
+
/**
|
|
49
|
+
* The tab's importance.
|
|
50
|
+
*/
|
|
51
|
+
readonly importance?: IconTabImportance;
|
|
52
|
+
/**
|
|
53
|
+
* The tab's indicator position.
|
|
54
|
+
*/
|
|
55
|
+
readonly indicatorPosition?: IndicatorPosition;
|
|
56
|
+
/**
|
|
57
|
+
* The tab panel element associated with this tab. The `panel` specified
|
|
58
|
+
* can be any of the following:
|
|
59
|
+
*
|
|
60
|
+
* - A CSS selector string
|
|
61
|
+
* - A reference to an [`Element`][]
|
|
62
|
+
* - A function returning a reference to an [`Element`][] or a CSS selector
|
|
63
|
+
* string
|
|
64
|
+
*
|
|
65
|
+
* [`Element`]: https://developer.mozilla.org/docs/Web/API/Element
|
|
66
|
+
*/
|
|
67
|
+
readonly panel: Element | string | (() => Element | string);
|
|
68
|
+
/**
|
|
69
|
+
* Whether or not the tab is selected.
|
|
70
|
+
*/
|
|
71
|
+
selected: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* The tab's size.
|
|
74
|
+
*/
|
|
75
|
+
readonly size?: Size;
|
|
76
|
+
/**
|
|
77
|
+
* Icon tab's accessible name.
|
|
78
|
+
*/
|
|
79
|
+
readonly text?: string;
|
|
80
|
+
/**
|
|
81
|
+
* When set, the underlying tab will be rendered as an `<a>` with this
|
|
82
|
+
* `href` instead of a `<button>`.
|
|
83
|
+
*
|
|
84
|
+
* This property has no effect if the tab has an `action`.
|
|
85
|
+
*
|
|
86
|
+
* @webnative
|
|
87
|
+
*/
|
|
88
|
+
readonly href?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Emitted when the tab loses focus.
|
|
91
|
+
*/
|
|
92
|
+
private readonly blurEmitter;
|
|
93
|
+
/**
|
|
94
|
+
* Emitted when the tab gains focus.
|
|
95
|
+
*/
|
|
96
|
+
private readonly focusEmitter;
|
|
97
|
+
private readonly host;
|
|
98
|
+
private tabIndex?;
|
|
99
|
+
private isIndicatorOnTop;
|
|
100
|
+
private readonly internals;
|
|
101
|
+
protected panelChanged(): void;
|
|
102
|
+
protected onClick(event: MouseEvent): void;
|
|
103
|
+
protected tabindexChanged(newValue: string): void;
|
|
104
|
+
componentWillLoad(): void;
|
|
105
|
+
componentWillRender(): void;
|
|
106
|
+
componentDidLoad(): void;
|
|
107
|
+
disconnectedCallback(): void;
|
|
108
|
+
render(): any;
|
|
109
|
+
}
|
|
110
|
+
//# sourceMappingURL=icon-tab.d.ts.map
|