@quartzds/core 1.0.0-beta.13 → 1.0.0-beta.130
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 +2145 -0
- package/README.md +23 -23
- package/components/index.d.ts +52 -0
- package/components/index.js +63 -28
- package/components/index.js.map +1 -1
- package/components/p-B9xuNEzc.js +438 -0
- package/components/p-B9xuNEzc.js.map +1 -0
- package/components/p-BHBodFuD.js +200 -0
- package/components/p-BHBodFuD.js.map +1 -0
- package/components/p-BLA62eFO.js +513 -0
- package/components/p-BLA62eFO.js.map +1 -0
- package/components/p-Bn9o5Um2.js +91 -0
- package/components/p-Bn9o5Um2.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-C-pZcrGt.js +357 -0
- package/components/p-C-pZcrGt.js.map +1 -0
- package/components/p-CZRW1LV_.js +28 -0
- package/components/p-CZRW1LV_.js.map +1 -0
- package/components/p-Cb4tcewD.js +281 -0
- package/components/p-Cb4tcewD.js.map +1 -0
- package/components/p-Cb5Tgh-o.js +102 -0
- package/components/p-Cb5Tgh-o.js.map +1 -0
- package/components/p-D2489VzR.js +2133 -0
- package/components/p-D2489VzR.js.map +1 -0
- package/components/p-D2BuSQre.js +160 -0
- package/components/p-D2BuSQre.js.map +1 -0
- package/components/p-DL21f4D7.js +149 -0
- package/components/p-DL21f4D7.js.map +1 -0
- package/components/p-DOqfdgQA.js +124 -0
- package/components/p-DOqfdgQA.js.map +1 -0
- package/components/p-Do46q_Gd.js +135 -0
- package/components/p-Do46q_Gd.js.map +1 -0
- package/components/p-XP2CY_fo.js +105 -0
- package/components/p-XP2CY_fo.js.map +1 -0
- package/components/p-eUDNu0SE.js +3561 -0
- package/components/p-eUDNu0SE.js.map +1 -0
- package/components/p-fKK7EmM2.js +256 -0
- package/components/p-fKK7EmM2.js.map +1 -0
- package/components/qds-action-item.d.ts +11 -0
- package/components/qds-action-item.js +204 -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-avatar.d.ts +11 -0
- package/components/qds-avatar.js +120 -0
- package/components/qds-avatar.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 +174 -0
- package/components/qds-breadcrumb-item.js.map +1 -0
- package/components/qds-button.d.ts +2 -2
- package/components/qds-button.js +475 -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 +337 -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 +106 -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 +312 -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 +173 -74
- package/components/qds-inline-link.js.map +1 -1
- package/components/qds-input.d.ts +2 -2
- package/components/qds-input.js +579 -230
- package/components/qds-input.js.map +1 -1
- package/components/qds-label.d.ts +2 -2
- package/components/qds-label.js +156 -3
- package/components/qds-label.js.map +1 -1
- package/components/qds-list-item.d.ts +11 -0
- package/components/qds-list-item.js +430 -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 +263 -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 +377 -0
- package/components/qds-select.js.map +1 -0
- package/components/qds-standalone-link.d.ts +11 -0
- package/components/qds-standalone-link.js +210 -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 +354 -0
- package/components/qds-tab.js.map +1 -0
- package/components/qds-tabbar.d.ts +11 -0
- package/components/qds-tabbar.js +599 -0
- package/components/qds-tabbar.js.map +1 -0
- package/components/qds-table-cell.d.ts +11 -0
- package/components/qds-table-cell.js +109 -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 +115 -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-D6srVOLt.js +3584 -0
- package/dist/cjs/helpers-D6srVOLt.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 +165 -0
- package/dist/cjs/qds-action-item.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-avatar-media.cjs.entry.js +105 -0
- package/dist/cjs/qds-avatar-media.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-avatar.cjs.entry.js +70 -0
- package/dist/cjs/qds-avatar.entry.cjs.js.map +1 -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 +168 -0
- package/dist/cjs/qds-breadcrumb-item.cjs.entry.js +134 -0
- package/dist/cjs/qds-breadcrumb-item.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-button.cjs.entry.js +402 -93
- package/dist/cjs/qds-button.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-checkbox.qds-radio.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-checkbox_2.cjs.entry.js +456 -0
- package/dist/cjs/qds-chip.cjs.entry.js +285 -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 +291 -0
- package/dist/cjs/qds-dropdown.cjs.entry.js +461 -213
- package/dist/cjs/qds-dropdown.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-form-message.cjs.entry.js +80 -27
- package/dist/cjs/qds-form-message.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-icon-tab.cjs.entry.js +244 -0
- package/dist/cjs/qds-icon-tab.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-icon.cjs.entry.js +92 -93
- package/dist/cjs/qds-icon.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-inline-link.cjs.entry.js +139 -49
- package/dist/cjs/qds-inline-link.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-input.cjs.entry.js +503 -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 +328 -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 +214 -0
- package/dist/cjs/qds-menu-item.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-mini-button.cjs.entry.js +130 -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 +331 -0
- package/dist/cjs/qds-select.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-standalone-link.cjs.entry.js +171 -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 +280 -0
- package/dist/cjs/qds-tab.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-tabbar.cjs.entry.js +528 -0
- package/dist/cjs/qds-tabbar.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-table-cell.cjs.entry.js +88 -0
- package/dist/cjs/qds-table-cell.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-table-head-cell.cjs.entry.js +92 -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 +380 -264
- 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 +13254 -2143
- package/dist/docs.d.ts +344 -240
- package/dist/docs.json +13958 -3308
- 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-BIo9VDPx.js +3561 -0
- package/dist/esm/helpers-BIo9VDPx.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 +163 -0
- package/dist/esm/qds-action-item.entry.js.map +1 -0
- package/dist/esm/qds-avatar-media.entry.js +103 -0
- package/dist/esm/qds-avatar-media.entry.js.map +1 -0
- package/dist/esm/qds-avatar.entry.js +68 -0
- package/dist/esm/qds-avatar.entry.js.map +1 -0
- package/dist/esm/qds-badge-counter.qds-badge-indicator.entry.js.map +1 -0
- package/dist/esm/qds-badge-counter_2.entry.js +165 -0
- package/dist/esm/qds-breadcrumb-item.entry.js +132 -0
- package/dist/esm/qds-breadcrumb-item.entry.js.map +1 -0
- package/dist/esm/qds-button.entry.js +402 -91
- package/dist/esm/qds-button.entry.js.map +1 -1
- package/dist/esm/qds-checkbox.qds-radio.entry.js.map +1 -0
- package/dist/esm/qds-checkbox_2.entry.js +453 -0
- package/dist/esm/qds-chip.entry.js +283 -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 +288 -0
- package/dist/esm/qds-dropdown.entry.js +461 -211
- package/dist/esm/qds-dropdown.entry.js.map +1 -1
- package/dist/esm/qds-form-message.entry.js +80 -25
- package/dist/esm/qds-form-message.entry.js.map +1 -1
- package/dist/esm/qds-icon-tab.entry.js +242 -0
- package/dist/esm/qds-icon-tab.entry.js.map +1 -0
- package/dist/esm/qds-icon.entry.js +92 -91
- package/dist/esm/qds-icon.entry.js.map +1 -1
- package/dist/esm/qds-inline-link.entry.js +139 -47
- package/dist/esm/qds-inline-link.entry.js.map +1 -1
- package/dist/esm/qds-input.entry.js +503 -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 +326 -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 +212 -0
- package/dist/esm/qds-menu-item.entry.js.map +1 -0
- package/dist/esm/qds-mini-button.entry.js +128 -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 +329 -0
- package/dist/esm/qds-select.entry.js.map +1 -0
- package/dist/esm/qds-standalone-link.entry.js +169 -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 +278 -0
- package/dist/esm/qds-tab.entry.js.map +1 -0
- package/dist/esm/qds-tabbar.entry.js +526 -0
- package/dist/esm/qds-tabbar.entry.js.map +1 -0
- package/dist/esm/qds-table-cell.entry.js +86 -0
- package/dist/esm/qds-table-cell.entry.js.map +1 -0
- package/dist/esm/qds-table-head-cell.entry.js +90 -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 +380 -262
- 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 +70 -0
- package/dist/types/components/avatar/avatar.d.ts +61 -0
- package/dist/types/components/avatar-media/avatar-media.d.ts +47 -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 +283 -198
- package/dist/types/components/checkbox/checkbox.d.ts +142 -124
- package/dist/types/components/chip/chip.d.ts +111 -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 +117 -125
- package/dist/types/components/form-message/form-message.d.ts +35 -25
- package/dist/types/components/icon/icon.d.ts +23 -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 +122 -0
- package/dist/types/components/icon-tab/icon-tab.d.ts +112 -0
- package/dist/types/components/inline-link/inline-link.d.ts +209 -191
- package/dist/types/components/input/input.d.ts +441 -368
- package/dist/types/components/label/label.d.ts +37 -24
- package/dist/types/components/list-item/list-item.d.ts +122 -0
- package/dist/types/components/loader/loader.d.ts +32 -0
- package/dist/types/components/menu-item/menu-item.d.ts +75 -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 +94 -95
- package/dist/types/components/select/select.d.ts +209 -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 +157 -0
- package/dist/types/components/tabbar/tabbar.d.ts +91 -0
- package/dist/types/components/table/table.d.ts +14 -0
- package/dist/types/components/table-cell/table-cell.d.ts +39 -0
- package/dist/types/components/table-head-cell/table-head-cell.d.ts +56 -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 +4590 -929
- package/dist/types/helpers.d.ts +46 -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 +2543 -426
- package/hydrate/index.d.ts +73 -18
- package/hydrate/index.js +32000 -9062
- package/hydrate/index.mjs +33081 -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 +156 -38
- 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
package/dist/types/helpers.d.ts
CHANGED
|
@@ -1,20 +1,8 @@
|
|
|
1
|
-
import type { MiddlewareState, OffsetOptions as LibraryOffsetOptions } from '@floating-ui/dom';
|
|
1
|
+
import type { MiddlewareState, OffsetOptions as LibraryOffsetOptions, ReferenceElement } from '@floating-ui/dom';
|
|
2
2
|
import type { Except } from 'type-fest';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* set on the host. For example, the inner input in `qds-input` should inherit
|
|
7
|
-
* the `tabindex` attribute that developers set directly on `qds-input`. This
|
|
8
|
-
* helper function should be called in componentWillLoad and assigned to a variable
|
|
9
|
-
* that is later used in the render function.
|
|
10
|
-
*
|
|
11
|
-
* This does not need to be reactive as changing attributes on the host element
|
|
12
|
-
* does not trigger a re-render.
|
|
13
|
-
*
|
|
14
|
-
* @param element Element to inherit attributes from.
|
|
15
|
-
* @param attributes Which attributes to inherit.
|
|
16
|
-
*/
|
|
17
|
-
export declare const inheritAttributes: (element: Element, attributes?: string[]) => Attributes;
|
|
3
|
+
import type { LinkIcon } from './components/shared';
|
|
4
|
+
export type Attributes = Record<string, string | undefined>;
|
|
5
|
+
declare const inheritAttributes: (element: Element, attributes?: string[]) => Attributes;
|
|
18
6
|
/**
|
|
19
7
|
* Returns an array of aria attributes that should be copied from
|
|
20
8
|
* the shadow host element to a target within the light DOM.
|
|
@@ -44,8 +32,47 @@ export declare const pickInputEventAttributes: (event: InputEvent) => QdsInputEv
|
|
|
44
32
|
export declare const propertyToPx: (element: Element, property: string) => number | undefined;
|
|
45
33
|
export declare const ignorePromise: <T>(promise: Promise<T>) => void;
|
|
46
34
|
export declare const isTouchDevice: () => boolean;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Checks if an element's ellipsis is active.
|
|
37
|
+
*
|
|
38
|
+
* @param element The element to check.
|
|
39
|
+
* @returns `true` if ellipsis is active, `false` otherwise.
|
|
40
|
+
*/
|
|
41
|
+
export declare const isEllipsisActive: (element: Element) => boolean;
|
|
42
|
+
export declare const determineLinkIcon: (target?: string, rel?: string) => LinkIcon | undefined;
|
|
43
|
+
export declare const resolveTarget: (target?: ReferenceElement | string | (() => ReferenceElement | string), caller?: string) => ReferenceElement | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Waits for a component to be ready for
|
|
46
|
+
* both custom element and non-custom element builds.
|
|
47
|
+
* If non-custom element build, el.componentOnReady
|
|
48
|
+
* will be used.
|
|
49
|
+
* For custom element builds, we wait a frame
|
|
50
|
+
* so that the inner contents of the component
|
|
51
|
+
* have a chance to render.
|
|
52
|
+
*
|
|
53
|
+
* Use this utility rather than calling
|
|
54
|
+
* el.componentOnReady yourself.
|
|
55
|
+
*
|
|
56
|
+
* Reference: https://stenciljs.com/docs/api#componentonready
|
|
57
|
+
*/
|
|
58
|
+
export declare const componentOnReady: <T extends {
|
|
59
|
+
componentOnReady?: () => Promise<T>;
|
|
60
|
+
}>(element: T, callback: (element_: T) => void) => void;
|
|
61
|
+
export declare const resolvePanelElement: (tab: {
|
|
62
|
+
panel: Element | string | (() => Element | string);
|
|
63
|
+
}) => HTMLElement | undefined;
|
|
64
|
+
type OffsetValue = Except<Exclude<LibraryOffsetOptions, Function | number>, 'mainAxis'>;
|
|
65
|
+
type OffsetFunction = (state: MiddlewareState) => OffsetValue;
|
|
50
66
|
export type OffsetOptions = OffsetFunction | OffsetValue;
|
|
67
|
+
export declare const HORIZONTAL_MOVE_KEYS: ReadonlySet<string>;
|
|
68
|
+
export declare const VERTICAL_MOVE_KEYS: ReadonlySet<string>;
|
|
69
|
+
export declare const closestElement: (selector: string, base: Element) => Element | undefined;
|
|
70
|
+
export declare const isRTL: (element: Element) => boolean;
|
|
71
|
+
export declare const getSubmenuOpenKey: (element: Element) => string;
|
|
72
|
+
export declare const getSubmenuCloseKey: (element: Element) => string;
|
|
73
|
+
export declare const isCurrentPage: (url: string) => boolean;
|
|
74
|
+
export declare const isCounter: (value: unknown) => value is number;
|
|
75
|
+
export declare const isIndicator: (value: unknown) => value is "" | true;
|
|
76
|
+
export declare const computeBadgeValue: (text: string | undefined, badge: number | string | true | undefined, description?: string) => string | null;
|
|
77
|
+
export {};
|
|
51
78
|
//# sourceMappingURL=helpers.d.ts.map
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './components';
|
|
2
2
|
export { type IconLibrary, type IconLibraryResolver, registerIconLibrary, unregisterIconLibrary, } from './components/icon/library';
|
|
3
|
-
export
|
|
3
|
+
export * from './interface-overrides';
|
|
4
|
+
export { defineCustomElements, getPlatform, getTheme, setPlatform, setTheme, } from './utils';
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLInputElement {
|
|
4
|
+
onsearch?: (this: HTMLInputElement, event: Event) => unknown;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
interface ValidationMethods {
|
|
8
|
+
/**
|
|
9
|
+
* Returns true if element has no validity problems; false otherwise.
|
|
10
|
+
* Fires an invalid event at the element in the latter case.
|
|
11
|
+
*
|
|
12
|
+
* @webnative
|
|
13
|
+
*/
|
|
14
|
+
readonly checkValidity: ElementInternals['checkValidity'];
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the element has no validity problems; otherwise, returns
|
|
17
|
+
* false, fires an invalid event at the element, and (if the event isn't
|
|
18
|
+
* canceled) reports the problem to the user.
|
|
19
|
+
*
|
|
20
|
+
* @webnative
|
|
21
|
+
*/
|
|
22
|
+
readonly reportValidity: ElementInternals['reportValidity'];
|
|
23
|
+
/**
|
|
24
|
+
* Sets a custom error message that is displayed when a form is submitted.
|
|
25
|
+
*
|
|
26
|
+
* @param error The custom error message to set.
|
|
27
|
+
*
|
|
28
|
+
* @webnative
|
|
29
|
+
*/
|
|
30
|
+
readonly setCustomValidity: HTMLInputElement['setCustomValidity'];
|
|
31
|
+
}
|
|
32
|
+
declare module './components' {
|
|
33
|
+
namespace Components {
|
|
34
|
+
interface QdsCheckbox extends ValidationMethods {
|
|
35
|
+
}
|
|
36
|
+
interface QdsDialog {
|
|
37
|
+
/**
|
|
38
|
+
* Displays the dialog over the top of any other dialogs that might be
|
|
39
|
+
* present. Everything outside of the dialog is [inert][] with interactions
|
|
40
|
+
* outside of the dialog being blocked.
|
|
41
|
+
*
|
|
42
|
+
* [inert]: https://developer.mozilla.org/docs/Web/API/HTMLElement/inert
|
|
43
|
+
*/
|
|
44
|
+
show: () => void;
|
|
45
|
+
/**
|
|
46
|
+
* Closes the dialog.
|
|
47
|
+
*/
|
|
48
|
+
close: () => void;
|
|
49
|
+
}
|
|
50
|
+
interface QdsInput extends ValidationMethods {
|
|
51
|
+
/**
|
|
52
|
+
* Selects the entire content of the `<qds-input>` element if the
|
|
53
|
+
* element's content is selectable.
|
|
54
|
+
*/
|
|
55
|
+
readonly select: HTMLInputElement['select'];
|
|
56
|
+
/**
|
|
57
|
+
* Sets the contents of the specified range of characters in the input element to a given string.
|
|
58
|
+
*
|
|
59
|
+
* @param replacement The string to insert.
|
|
60
|
+
* @param start The 0-based index of the first character to replace. Defaults to the current `selectionStart` value (the start of the user's current selection).
|
|
61
|
+
* @param end The 0-based index of the character _after_ the last character to replace. Defaults to the current `selectionEnd` value (the end of the user's current selection).
|
|
62
|
+
* @param selectionMode A string defining how the selection should be set
|
|
63
|
+
* after the text has been replaced. Possible values:
|
|
64
|
+
* - `"select"` selects the newly inserted text.
|
|
65
|
+
* - `"start"` moves the selection to just before the inserted text.
|
|
66
|
+
* - `"end"` moves the selection to just after the inserted text.
|
|
67
|
+
* - `"preserve"` attempts to preserve the selection.
|
|
68
|
+
*
|
|
69
|
+
* @webnative
|
|
70
|
+
*/
|
|
71
|
+
readonly setRangeText: HTMLInputElement['setRangeText'];
|
|
72
|
+
/**
|
|
73
|
+
* Selects the specified range of characters within the input.
|
|
74
|
+
*
|
|
75
|
+
* @param start The offset into the input for the start of the selection.
|
|
76
|
+
* @param end The offset into the input for the end of the selection.
|
|
77
|
+
* @param direction The direction in which the selection is performed.
|
|
78
|
+
*
|
|
79
|
+
* @webnative
|
|
80
|
+
*/
|
|
81
|
+
readonly setSelectionRange: HTMLInputElement['setSelectionRange'];
|
|
82
|
+
/**
|
|
83
|
+
* Decrements the `value` by (`step` * n), where n defaults to 1 if not
|
|
84
|
+
* specified.
|
|
85
|
+
*
|
|
86
|
+
* @param n Amount to decrement the value by.
|
|
87
|
+
*
|
|
88
|
+
* @webnative
|
|
89
|
+
*/
|
|
90
|
+
readonly stepDown: HTMLInputElement['stepDown'];
|
|
91
|
+
/**
|
|
92
|
+
* Increments the `value` by (`step` * n), where n defaults to 1 if not
|
|
93
|
+
* specified.
|
|
94
|
+
*
|
|
95
|
+
* @param n Amount to increment the value by.
|
|
96
|
+
*
|
|
97
|
+
* @webnative
|
|
98
|
+
*/
|
|
99
|
+
readonly stepUp: HTMLInputElement['stepUp'];
|
|
100
|
+
/**
|
|
101
|
+
* Displays the browser picker for a `<qds-input>` element.
|
|
102
|
+
*
|
|
103
|
+
* This is the same picker that would normally be displayed when the
|
|
104
|
+
* element is selected, but can be triggered from a button press or other
|
|
105
|
+
* user interaction.
|
|
106
|
+
*
|
|
107
|
+
* Commonly browsers implement it for inputs of these types: `"date"`,
|
|
108
|
+
* `"month"`, `"week"`, `"time"`, `"datetime-local"`, or `"color"`. It
|
|
109
|
+
* can also be pre-populated with items from a [`<datalist>`][] element
|
|
110
|
+
* or [`autocomplete`][] attribute.
|
|
111
|
+
*
|
|
112
|
+
* More generally, this method should display the picker for any
|
|
113
|
+
* `<qds-input>` element on the platform that has a picker.
|
|
114
|
+
*
|
|
115
|
+
* [`<datalist>`]: https://developer.mozilla.org/docs/Web/HTML/Element/datalist
|
|
116
|
+
* [`autocomplete`]: https://developer.mozilla.org/docs/Web/HTML/Attributes/autocomplete
|
|
117
|
+
*
|
|
118
|
+
* @webnative
|
|
119
|
+
*/
|
|
120
|
+
readonly showPicker: HTMLInputElement['showPicker'];
|
|
121
|
+
}
|
|
122
|
+
interface QdsSelect extends ValidationMethods {
|
|
123
|
+
/**
|
|
124
|
+
* Adds an element to the options collection.
|
|
125
|
+
*
|
|
126
|
+
* @param element The element to add.
|
|
127
|
+
* @param before An element of the options collection or a zero-based
|
|
128
|
+
* index representing the item the element should be added before. If
|
|
129
|
+
* this parameter is not specified or the index does not exist, the new
|
|
130
|
+
* element is appended to the end of the collection.
|
|
131
|
+
*/
|
|
132
|
+
readonly addItem: HTMLSelectElement['add'];
|
|
133
|
+
/**
|
|
134
|
+
* Removes an element from the options collection.
|
|
135
|
+
*
|
|
136
|
+
* @param index Zero-based index of the [`HTMLOptionElement`][] to remove
|
|
137
|
+
* from the collection. If the index is not found the method has no
|
|
138
|
+
* effect.
|
|
139
|
+
*
|
|
140
|
+
* [`HTMLOptionElement`]: https://developer.mozilla.org/docs/Web/API/HTMLOptionElement
|
|
141
|
+
*/
|
|
142
|
+
readonly removeItem: HTMLSelectElement['remove'];
|
|
143
|
+
/**
|
|
144
|
+
* Retrieves an element from the options collection by its index.
|
|
145
|
+
*
|
|
146
|
+
* @param index Zero-based index of the [`HTMLOptionElement`][] to
|
|
147
|
+
* retrieve.
|
|
148
|
+
*
|
|
149
|
+
* [`HTMLOptionElement`]: https://developer.mozilla.org/docs/Web/API/HTMLOptionElement
|
|
150
|
+
*
|
|
151
|
+
* @webnative
|
|
152
|
+
*/
|
|
153
|
+
readonly item: HTMLSelectElement['item'];
|
|
154
|
+
/**
|
|
155
|
+
* Retrieves an element from the options collection by its name.
|
|
156
|
+
*
|
|
157
|
+
* @param name The `name` or `id` property of the [`HTMLOptionElement`][] to
|
|
158
|
+
* retrieve.
|
|
159
|
+
*
|
|
160
|
+
* [`HTMLOptionElement`]: https://developer.mozilla.org/docs/Web/API/HTMLOptionElement
|
|
161
|
+
*
|
|
162
|
+
* @webnative
|
|
163
|
+
*/
|
|
164
|
+
readonly namedItem: HTMLSelectElement['namedItem'];
|
|
165
|
+
}
|
|
166
|
+
interface QdsSwitch extends ValidationMethods {
|
|
167
|
+
}
|
|
168
|
+
interface QdsTextarea extends ValidationMethods {
|
|
169
|
+
/**
|
|
170
|
+
* Selects the entire content of the `<qds-textarea>` element if the
|
|
171
|
+
* element's content is selectable.
|
|
172
|
+
*
|
|
173
|
+
* @webnative
|
|
174
|
+
*/
|
|
175
|
+
readonly select: HTMLTextAreaElement['select'];
|
|
176
|
+
/**
|
|
177
|
+
* Sets the contents of the specified range of characters in the textarea
|
|
178
|
+
* element to a given string.
|
|
179
|
+
*
|
|
180
|
+
* @param replacement The string to insert.
|
|
181
|
+
* @param start The 0-based index of the first character to replace. Defaults to the current `selectionStart` value (the start of the user's current selection).
|
|
182
|
+
* @param end The 0-based index of the character _after_ the last character to replace. Defaults to the current `selectionEnd` value (the end of the user's current selection).
|
|
183
|
+
* @param selectionMode A string defining how the selection should be set
|
|
184
|
+
* after the text has been replaced. Possible values:
|
|
185
|
+
* - `"select"` selects the newly inserted text.
|
|
186
|
+
* - `"start"` moves the selection to just before the inserted text.
|
|
187
|
+
* - `"end"` moves the selection to just after the inserted text.
|
|
188
|
+
* - `"preserve"` attempts to preserve the selection.
|
|
189
|
+
*
|
|
190
|
+
* @webnative
|
|
191
|
+
*/
|
|
192
|
+
readonly setRangeText: HTMLTextAreaElement['setRangeText'];
|
|
193
|
+
/**
|
|
194
|
+
* Selects the specified range of characters within the textarea.
|
|
195
|
+
*
|
|
196
|
+
* @param start The offset into the textarea for the start of the selection.
|
|
197
|
+
* @param end The offset into the textarea for the end of the selection.
|
|
198
|
+
* @param direction The direction in which the selection is performed.
|
|
199
|
+
*
|
|
200
|
+
* @webnative
|
|
201
|
+
*/
|
|
202
|
+
readonly setSelectionRange: HTMLTextAreaElement['setSelectionRange'];
|
|
203
|
+
}
|
|
204
|
+
interface QdsTab {
|
|
205
|
+
/**
|
|
206
|
+
* Exposes the tab `HTMLElement` that is rendered inside the component.
|
|
207
|
+
* This can be useful to manage focus.
|
|
208
|
+
*
|
|
209
|
+
* @readonly
|
|
210
|
+
*/
|
|
211
|
+
readonly tab: HTMLElement;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
//# sourceMappingURL=interface-overrides.d.ts.map
|
package/dist/types/qds-test.d.ts
CHANGED
|
@@ -1,18 +1,29 @@
|
|
|
1
|
-
import type { Page } from '@playwright/test';
|
|
2
|
-
import type { EventSpy } from 'stencil
|
|
1
|
+
import type { Locator, Page } from '@playwright/test';
|
|
2
|
+
import type { EventSpy } from '@stencil/playwright/dist/page/event-spy';
|
|
3
3
|
declare module '@playwright/test' {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
interface Locator {
|
|
5
|
+
/**
|
|
6
|
+
* Creates a new EventSpy and listens on the window for an event.
|
|
7
|
+
* The test will timeout if the event never fires.
|
|
8
|
+
*
|
|
9
|
+
* Usage:
|
|
10
|
+
* ```ts
|
|
11
|
+
* const ionChange = await page.spyOnEvent('ionChange');
|
|
12
|
+
* ...
|
|
13
|
+
* await ionChange.next();
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
spyOnEvent: (eventName: string) => Promise<EventSpy>;
|
|
17
|
+
}
|
|
7
18
|
}
|
|
8
19
|
interface QuartzPageOptions {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
20
|
+
addBrandFont?: boolean;
|
|
21
|
+
content?: string;
|
|
22
|
+
platform?: 'desktop' | 'mobile';
|
|
23
|
+
theme?: 'dark' | 'light';
|
|
13
24
|
}
|
|
14
25
|
export declare const setupQuartzPage: (page: Page, options?: QuartzPageOptions) => Promise<void>;
|
|
15
|
-
export declare const press: (
|
|
26
|
+
export declare const press: (locator: Locator) => Promise<void>;
|
|
16
27
|
export { expect } from '@playwright/test';
|
|
17
|
-
export { test } from 'stencil
|
|
28
|
+
export { test } from '@stencil/playwright';
|
|
18
29
|
//# sourceMappingURL=qds-test.d.ts.map
|