@quartzds/core 1.0.0-beta.9 → 1.0.0-beta.91
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/README.md +5 -5
- package/components/index.d.ts +48 -0
- package/components/index.js +60 -28
- package/components/index.js.map +1 -1
- package/components/p-2806fee1.js +1887 -0
- package/components/p-2806fee1.js.map +1 -0
- package/components/p-2bf0797c.js +272 -0
- package/components/p-2bf0797c.js.map +1 -0
- package/components/p-3baf75f4.js +111 -0
- package/components/p-3baf75f4.js.map +1 -0
- package/components/p-3c48ff53.js +103 -0
- package/components/p-3c48ff53.js.map +1 -0
- package/components/p-8abba29b.js +204 -0
- package/components/p-8abba29b.js.map +1 -0
- package/components/p-a020ece3.js +142 -0
- package/components/p-a020ece3.js.map +1 -0
- package/components/p-a6310886.js +144 -0
- package/components/p-a6310886.js.map +1 -0
- package/components/p-b4c302d4.js +91 -0
- package/components/p-b4c302d4.js.map +1 -0
- package/components/p-ba880369.js +256 -0
- package/components/p-ba880369.js.map +1 -0
- package/components/p-c80f112a.js +408 -0
- package/components/p-c80f112a.js.map +1 -0
- package/components/p-d107c90c.js +27 -0
- package/components/p-d107c90c.js.map +1 -0
- package/components/p-d6e52d0b.js +404 -0
- package/components/p-d6e52d0b.js.map +1 -0
- package/components/{floating-ui.dom.esm.js → p-fdd0abae.js} +468 -416
- package/components/p-fdd0abae.js.map +1 -0
- package/components/p-fed0d11f.js +94 -0
- package/components/p-fed0d11f.js.map +1 -0
- package/components/qds-badge-counter.d.ts +11 -0
- package/components/qds-badge-counter.js +13 -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 +13 -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 +126 -0
- package/components/qds-breadcrumb-item.js.map +1 -0
- package/components/qds-button.d.ts +2 -2
- package/components/qds-button.js +3 -138
- package/components/qds-button.js.map +1 -1
- package/components/qds-checkbox.d.ts +2 -2
- package/components/qds-checkbox.js +3 -146
- package/components/qds-checkbox.js.map +1 -1
- package/components/qds-chip.d.ts +11 -0
- package/components/qds-chip.js +296 -0
- package/components/qds-chip.js.map +1 -0
- package/components/qds-dialog.d.ts +11 -0
- package/components/qds-dialog.js +126 -0
- package/components/qds-dialog.js.map +1 -0
- package/components/qds-divider.d.ts +2 -2
- package/components/qds-divider.js +3 -39
- package/components/qds-divider.js.map +1 -1
- package/components/qds-dropdown.d.ts +2 -2
- package/components/qds-dropdown.js +273 -239
- package/components/qds-dropdown.js.map +1 -1
- package/components/qds-form-message.d.ts +11 -0
- package/components/qds-form-message.js +112 -0
- package/components/qds-form-message.js.map +1 -0
- package/components/qds-icon.d.ts +2 -2
- package/components/qds-icon.js +3 -3
- package/components/qds-inline-link.d.ts +2 -2
- package/components/qds-inline-link.js +136 -73
- package/components/qds-inline-link.js.map +1 -1
- package/components/qds-input.d.ts +2 -2
- package/components/qds-input.js +489 -230
- package/components/qds-input.js.map +1 -1
- package/components/qds-label.d.ts +2 -2
- package/components/qds-label.js +3 -3
- package/components/qds-list-item.d.ts +11 -0
- package/components/qds-list-item.js +212 -0
- package/components/qds-list-item.js.map +1 -0
- package/components/qds-loader.d.ts +11 -0
- package/components/qds-loader.js +113 -0
- package/components/qds-loader.js.map +1 -0
- package/components/qds-nav-list-item.d.ts +11 -0
- package/components/qds-nav-list-item.js +162 -0
- package/components/qds-nav-list-item.js.map +1 -0
- package/components/qds-progress-bar.d.ts +11 -0
- package/components/qds-progress-bar.js +153 -0
- package/components/qds-progress-bar.js.map +1 -0
- package/components/qds-radio.d.ts +2 -2
- package/components/qds-radio.js +147 -93
- package/components/qds-radio.js.map +1 -1
- package/components/qds-select.d.ts +11 -0
- package/components/qds-select.js +361 -0
- package/components/qds-select.js.map +1 -0
- package/components/qds-standalone-link.d.ts +11 -0
- package/components/qds-standalone-link.js +174 -0
- package/components/qds-standalone-link.js.map +1 -0
- package/components/qds-switch.d.ts +2 -2
- package/components/qds-switch.js +221 -105
- package/components/qds-switch.js.map +1 -1
- package/components/qds-tab.d.ts +11 -0
- package/components/qds-tab.js +379 -0
- package/components/qds-tab.js.map +1 -0
- package/components/qds-tabbar.d.ts +11 -0
- package/components/qds-tabbar.js +407 -0
- package/components/qds-tabbar.js.map +1 -0
- package/components/qds-table-body.d.ts +11 -0
- package/components/qds-table-body.js +68 -0
- package/components/qds-table-body.js.map +1 -0
- package/components/qds-table-cell.d.ts +11 -0
- package/components/qds-table-cell.js +71 -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 +73 -0
- package/components/qds-table-head-cell.js.map +1 -0
- package/components/qds-table-head.d.ts +11 -0
- package/components/qds-table-head.js +68 -0
- package/components/qds-table-head.js.map +1 -0
- package/components/qds-table-row.d.ts +11 -0
- package/components/qds-table-row.js +68 -0
- package/components/qds-table-row.js.map +1 -0
- package/components/qds-table.d.ts +11 -0
- package/components/qds-table.js +68 -0
- package/components/qds-table.js.map +1 -0
- package/components/qds-tag.d.ts +11 -0
- package/components/qds-tag.js +13 -0
- package/components/qds-tag.js.map +1 -0
- package/components/qds-textarea.d.ts +2 -2
- package/components/qds-textarea.js +331 -193
- package/components/qds-textarea.js.map +1 -1
- package/components/qds-title.d.ts +2 -2
- package/components/qds-title.js +3 -84
- package/components/qds-title.js.map +1 -1
- package/components/qds-tooltip.d.ts +2 -2
- package/components/qds-tooltip.js +3 -315
- package/components/qds-tooltip.js.map +1 -1
- package/dist/cjs/app-globals-c4cf08df.js +12 -0
- package/dist/cjs/app-globals-c4cf08df.js.map +1 -0
- package/dist/cjs/controls-ee3d2ec8.js +31 -0
- package/dist/cjs/controls-ee3d2ec8.js.map +1 -0
- package/dist/cjs/{floating-ui.dom.esm-71fa96af.js → floating-ui.dom.esm-19b2b933.js} +468 -416
- package/dist/cjs/floating-ui.dom.esm-19b2b933.js.map +1 -0
- package/dist/cjs/helpers-10154521.js +217 -0
- package/dist/cjs/helpers-10154521.js.map +1 -0
- package/dist/cjs/index-523dd2e0.js +2149 -0
- package/dist/cjs/index-523dd2e0.js.map +1 -0
- package/dist/cjs/index.cjs.js +39 -27
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/library-41b19b9e.js +117 -0
- package/dist/cjs/library-41b19b9e.js.map +1 -0
- package/dist/cjs/loader.cjs.js +8 -6
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/qds-badge-counter_2.cjs.entry.js +151 -0
- package/dist/cjs/qds-badge-counter_2.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-breadcrumb-item.cjs.entry.js +96 -0
- package/dist/cjs/qds-breadcrumb-item.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-button.cjs.entry.js +321 -90
- package/dist/cjs/qds-button.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-checkbox.cjs.entry.js +212 -100
- package/dist/cjs/qds-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-chip.cjs.entry.js +256 -0
- package/dist/cjs/qds-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-dialog.cjs.entry.js +108 -0
- package/dist/cjs/qds-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-divider.cjs.entry.js +60 -18
- package/dist/cjs/qds-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-dropdown.cjs.entry.js +232 -206
- package/dist/cjs/qds-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-form-message.cjs.entry.js +86 -0
- package/dist/cjs/qds-form-message.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-icon.cjs.entry.js +113 -90
- package/dist/cjs/qds-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-inline-link.cjs.entry.js +99 -46
- package/dist/cjs/qds-inline-link.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-input.cjs.entry.js +404 -185
- package/dist/cjs/qds-input.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-label.cjs.entry.js +102 -24
- package/dist/cjs/qds-label.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-list-item.cjs.entry.js +157 -0
- package/dist/cjs/qds-list-item.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-loader.cjs.entry.js +94 -0
- package/dist/cjs/qds-loader.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-nav-list-item.cjs.entry.js +124 -0
- package/dist/cjs/qds-nav-list-item.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-progress-bar.cjs.entry.js +135 -0
- package/dist/cjs/qds-progress-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-radio.cjs.entry.js +102 -57
- package/dist/cjs/qds-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-select.cjs.entry.js +323 -0
- package/dist/cjs/qds-select.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-standalone-link.cjs.entry.js +134 -0
- package/dist/cjs/qds-standalone-link.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-switch.cjs.entry.js +193 -64
- package/dist/cjs/qds-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-tab.cjs.entry.js +299 -0
- package/dist/cjs/qds-tab.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-tabbar.cjs.entry.js +349 -0
- package/dist/cjs/qds-tabbar.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-table-body.cjs.entry.js +54 -0
- package/dist/cjs/qds-table-body.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-table-cell.cjs.entry.js +54 -0
- package/dist/cjs/qds-table-cell.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-table-head-cell.cjs.entry.js +54 -0
- package/dist/cjs/qds-table-head-cell.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-table-head.cjs.entry.js +54 -0
- package/dist/cjs/qds-table-head.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-table-row.cjs.entry.js +54 -0
- package/dist/cjs/qds-table-row.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-table.cjs.entry.js +54 -0
- package/dist/cjs/qds-table.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-tag_2.cjs.entry.js +181 -0
- package/dist/cjs/qds-tag_2.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-textarea.cjs.entry.js +288 -153
- package/dist/cjs/qds-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-tooltip.cjs.entry.js +332 -260
- package/dist/cjs/qds-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/qds.cjs.js +15 -13
- package/dist/cjs/qds.cjs.js.map +1 -1
- package/dist/custom-elements.json +8727 -2151
- package/dist/docs.d.ts +344 -240
- package/dist/docs.json +9364 -2903
- package/dist/esm/app-globals-8ced3a41.js +10 -0
- package/dist/esm/app-globals-8ced3a41.js.map +1 -0
- package/dist/esm/controls-a4768aaf.js +27 -0
- package/dist/esm/controls-a4768aaf.js.map +1 -0
- package/dist/esm/{floating-ui.dom.esm-f96ac766.js → floating-ui.dom.esm-61986f35.js} +468 -416
- package/dist/esm/floating-ui.dom.esm-61986f35.js.map +1 -0
- package/dist/esm/helpers-2e4ca34d.js +204 -0
- package/dist/esm/helpers-2e4ca34d.js.map +1 -0
- package/dist/esm/index-b1d6acd2.js +2118 -0
- package/dist/esm/index-b1d6acd2.js.map +1 -0
- package/dist/esm/index.js +39 -28
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/library-2e5458af.js +113 -0
- package/dist/esm/library-2e5458af.js.map +1 -0
- package/dist/esm/loader.js +9 -7
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/qds-badge-counter_2.entry.js +146 -0
- package/dist/esm/qds-badge-counter_2.entry.js.map +1 -0
- package/dist/esm/qds-breadcrumb-item.entry.js +92 -0
- package/dist/esm/qds-breadcrumb-item.entry.js.map +1 -0
- package/dist/esm/qds-button.entry.js +321 -90
- package/dist/esm/qds-button.entry.js.map +1 -1
- package/dist/esm/qds-checkbox.entry.js +212 -100
- package/dist/esm/qds-checkbox.entry.js.map +1 -1
- package/dist/esm/qds-chip.entry.js +252 -0
- package/dist/esm/qds-chip.entry.js.map +1 -0
- package/dist/esm/qds-dialog.entry.js +104 -0
- package/dist/esm/qds-dialog.entry.js.map +1 -0
- package/dist/esm/qds-divider.entry.js +60 -18
- package/dist/esm/qds-divider.entry.js.map +1 -1
- package/dist/esm/qds-dropdown.entry.js +232 -206
- package/dist/esm/qds-dropdown.entry.js.map +1 -1
- package/dist/esm/qds-form-message.entry.js +82 -0
- package/dist/esm/qds-form-message.entry.js.map +1 -0
- package/dist/esm/qds-icon.entry.js +113 -90
- package/dist/esm/qds-icon.entry.js.map +1 -1
- package/dist/esm/qds-inline-link.entry.js +99 -46
- package/dist/esm/qds-inline-link.entry.js.map +1 -1
- package/dist/esm/qds-input.entry.js +404 -185
- package/dist/esm/qds-input.entry.js.map +1 -1
- package/dist/esm/qds-label.entry.js +102 -24
- package/dist/esm/qds-label.entry.js.map +1 -1
- package/dist/esm/qds-list-item.entry.js +153 -0
- package/dist/esm/qds-list-item.entry.js.map +1 -0
- package/dist/esm/qds-loader.entry.js +90 -0
- package/dist/esm/qds-loader.entry.js.map +1 -0
- package/dist/esm/qds-nav-list-item.entry.js +120 -0
- package/dist/esm/qds-nav-list-item.entry.js.map +1 -0
- package/dist/esm/qds-progress-bar.entry.js +131 -0
- package/dist/esm/qds-progress-bar.entry.js.map +1 -0
- package/dist/esm/qds-radio.entry.js +102 -57
- package/dist/esm/qds-radio.entry.js.map +1 -1
- package/dist/esm/qds-select.entry.js +319 -0
- package/dist/esm/qds-select.entry.js.map +1 -0
- package/dist/esm/qds-standalone-link.entry.js +130 -0
- package/dist/esm/qds-standalone-link.entry.js.map +1 -0
- package/dist/esm/qds-switch.entry.js +193 -64
- package/dist/esm/qds-switch.entry.js.map +1 -1
- package/dist/esm/qds-tab.entry.js +295 -0
- package/dist/esm/qds-tab.entry.js.map +1 -0
- package/dist/esm/qds-tabbar.entry.js +345 -0
- package/dist/esm/qds-tabbar.entry.js.map +1 -0
- package/dist/esm/qds-table-body.entry.js +50 -0
- package/dist/esm/qds-table-body.entry.js.map +1 -0
- package/dist/esm/qds-table-cell.entry.js +50 -0
- package/dist/esm/qds-table-cell.entry.js.map +1 -0
- package/dist/esm/qds-table-head-cell.entry.js +50 -0
- package/dist/esm/qds-table-head-cell.entry.js.map +1 -0
- package/dist/esm/qds-table-head.entry.js +50 -0
- package/dist/esm/qds-table-head.entry.js.map +1 -0
- package/dist/esm/qds-table-row.entry.js +50 -0
- package/dist/esm/qds-table-row.entry.js.map +1 -0
- package/dist/esm/qds-table.entry.js +50 -0
- package/dist/esm/qds-table.entry.js.map +1 -0
- package/dist/esm/qds-tag_2.entry.js +176 -0
- package/dist/esm/qds-tag_2.entry.js.map +1 -0
- package/dist/esm/qds-textarea.entry.js +288 -153
- package/dist/esm/qds-textarea.entry.js.map +1 -1
- package/dist/esm/qds-tooltip.entry.js +332 -260
- package/dist/esm/qds-tooltip.entry.js.map +1 -1
- package/dist/esm/qds.js +16 -14
- package/dist/esm/qds.js.map +1 -1
- 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 +160 -0
- package/dist/types/components/button/button.d.ts +272 -194
- 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 +35 -0
- package/dist/types/components/divider/divider.d.ts +13 -9
- package/dist/types/components/dropdown/dropdown.d.ts +107 -125
- package/dist/types/components/form-message/form-message.d.ts +42 -0
- 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/inline-link/inline-link.d.ts +208 -191
- package/dist/types/components/input/input.d.ts +415 -368
- package/dist/types/components/label/label.d.ts +26 -24
- package/dist/types/components/list-item/list-item.d.ts +100 -0
- package/dist/types/components/loader/loader.d.ts +27 -0
- package/dist/types/components/nav-list-item/nav-list-item.d.ts +67 -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 +233 -0
- package/dist/types/components/switch/switch.d.ts +114 -107
- package/dist/types/components/tab/tab.d.ts +160 -0
- package/dist/types/components/tabbar/tabbar.d.ts +47 -0
- package/dist/types/components/table/table.d.ts +15 -0
- package/dist/types/components/table-body/table-body.d.ts +15 -0
- package/dist/types/components/table-cell/table-cell.d.ts +32 -0
- package/dist/types/components/table-head/table-head.d.ts +15 -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 +15 -0
- package/dist/types/components/tag/tag.d.ts +55 -0
- package/dist/types/components/textarea/textarea.d.ts +285 -300
- package/dist/types/components/title/title.d.ts +39 -32
- package/dist/types/components/tooltip/tooltip.d.ts +123 -137
- package/dist/types/components.d.ts +3957 -833
- package/dist/types/helpers.d.ts +15 -16
- package/dist/types/index.d.ts +2 -1
- package/dist/types/interface-overrides.d.ts +211 -0
- package/dist/types/qds-test.d.ts +22 -11
- package/dist/types/stencil-public-runtime.d.ts +55 -15
- package/dist/types/utils.d.ts +11 -4
- package/dist/vscode.html-custom-data.json +1528 -210
- package/hydrate/index.d.ts +59 -18
- package/hydrate/index.js +25724 -9014
- package/hydrate/index.mjs +26627 -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 +53 -89
- package/styles/core.css +137 -14
- 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 -175
- 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-71fa96af.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-0a619eeb.js +0 -62
- package/dist/cjs/library-0a619eeb.js.map +0 -1
- package/dist/cjs/qds-title.cjs.entry.js +0 -66
- package/dist/cjs/qds-title.cjs.entry.js.map +0 -1
- package/dist/esm/floating-ui.dom.esm-f96ac766.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-021aca11.js +0 -58
- package/dist/esm/library-021aca11.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-title.entry.js +0 -62
- package/dist/esm/qds-title.entry.js.map +0 -1
- package/dist/types/components/create-story.d.ts +0 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
|
+
import type { Size } from '../shared';
|
|
2
3
|
export type CheckboxValue = number | string | null;
|
|
3
|
-
export type CheckboxSize = 'large' | 'small' | 'standard';
|
|
4
4
|
/**
|
|
5
5
|
* `<qds-checkbox>` elements are rendered as boxes that are checked (ticked)
|
|
6
6
|
* when activated, like you might see in an official government paper form. A
|
|
@@ -9,128 +9,141 @@ export type CheckboxSize = 'large' | 'small' | 'standard';
|
|
|
9
9
|
* @see https://quartz.se.com/build/components/checkbox
|
|
10
10
|
*/
|
|
11
11
|
export declare class Checkbox implements ComponentInterface {
|
|
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
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
12
|
+
#private;
|
|
13
|
+
/**
|
|
14
|
+
* Adds vertical margin to the checkbox for alignment.
|
|
15
|
+
*
|
|
16
|
+
* This is useful when creating inline layouts so that the first lines have
|
|
17
|
+
* the correct vertical centering.
|
|
18
|
+
*/
|
|
19
|
+
readonly inline: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* The checkbox's size.
|
|
22
|
+
*/
|
|
23
|
+
readonly size?: Size;
|
|
24
|
+
/**
|
|
25
|
+
* The checkbox's text.
|
|
26
|
+
*
|
|
27
|
+
* Its value will also be used as the `aria-label` value when the
|
|
28
|
+
* `checkbox-only` attribute is specified.
|
|
29
|
+
*/
|
|
30
|
+
readonly text: string;
|
|
31
|
+
/**
|
|
32
|
+
* Sets the checkbox's state.
|
|
33
|
+
*
|
|
34
|
+
* @webnative
|
|
35
|
+
*/
|
|
36
|
+
checked?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Prevents the checkbox from being interacted with: it cannot be pressed or
|
|
39
|
+
* focused.
|
|
40
|
+
*
|
|
41
|
+
* @webnative
|
|
42
|
+
*/
|
|
43
|
+
readonly disabled?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* The [`<form>`][] element to associate the checkbox with (its form owner).
|
|
46
|
+
*
|
|
47
|
+
* The value of this attribute must be the id of a `<form>` in the same
|
|
48
|
+
* document. If this attribute is not set, the `<qds-checkbox>` is associated
|
|
49
|
+
* with its ancestor `<form>` element, if any.
|
|
50
|
+
*
|
|
51
|
+
* This attribute lets you associate `<qds-checkbox>` elements to `<form>`s
|
|
52
|
+
* anywhere in the document, not just inside a `<form>`. It can also override
|
|
53
|
+
* an ancestor `<form>` element.
|
|
54
|
+
*
|
|
55
|
+
* [`<form>`]: https://developer.mozilla.org/docs/Web/HTML/Element/form
|
|
56
|
+
*
|
|
57
|
+
* @readonly
|
|
58
|
+
* @webnative
|
|
59
|
+
*/
|
|
60
|
+
readonly form: ElementInternals['form'] | string;
|
|
61
|
+
/**
|
|
62
|
+
* Sets the checkbox to an indeterminate state. This is usually applied to
|
|
63
|
+
* checkboxes that represent a "select all/none" behavior when associated
|
|
64
|
+
* checkboxes have a mix of checked and unchecked states.
|
|
65
|
+
*
|
|
66
|
+
* @webnative
|
|
67
|
+
*/
|
|
68
|
+
indeterminate?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* The name of the checkbox, which is submitted with the form data.
|
|
71
|
+
*
|
|
72
|
+
* @webnative
|
|
73
|
+
*/
|
|
74
|
+
readonly name?: string;
|
|
75
|
+
/**
|
|
76
|
+
* A value must be specified for the checkbox before the owning form can be
|
|
77
|
+
* submitted.
|
|
78
|
+
*
|
|
79
|
+
* See
|
|
80
|
+
* [Client-side validation](https://developer.mozilla.org/docs/Web/HTML/Element/input#client-side_validation)
|
|
81
|
+
* and the
|
|
82
|
+
* [HTML attribute: `required`](https://developer.mozilla.org/docs/Web/HTML/Attributes/required)
|
|
83
|
+
* for more information.
|
|
84
|
+
*
|
|
85
|
+
* @webnative
|
|
86
|
+
*/
|
|
87
|
+
readonly required?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* The error message that would be shown to the user if the `<qds-checkbox>`
|
|
90
|
+
* was to be checked for validity.
|
|
91
|
+
*
|
|
92
|
+
* @readonly
|
|
93
|
+
* @webnative
|
|
94
|
+
*/
|
|
95
|
+
readonly validationMessage: ElementInternals['validationMessage'];
|
|
96
|
+
/**
|
|
97
|
+
* The [`ValidityState`][] object for this `<qds-checkbox>`.
|
|
98
|
+
*
|
|
99
|
+
* [`ValidityState`]: https://developer.mozilla.org/docs/Web/API/ValidityState
|
|
100
|
+
*
|
|
101
|
+
* @readonly
|
|
102
|
+
* @webnative
|
|
103
|
+
*/
|
|
104
|
+
readonly validity: ElementInternals['validity'];
|
|
105
|
+
/**
|
|
106
|
+
* The value of the checkbox, submitted as a name/value pair with form data.
|
|
107
|
+
*
|
|
108
|
+
* @webnative
|
|
109
|
+
*/
|
|
110
|
+
readonly value?: CheckboxValue;
|
|
111
|
+
/**
|
|
112
|
+
* True if `<qds-checkbox>` will be validated when the form is submitted;
|
|
113
|
+
* false otherwise.
|
|
114
|
+
*
|
|
115
|
+
* @readonly
|
|
116
|
+
* @webnative
|
|
117
|
+
*/
|
|
118
|
+
readonly willValidate: ElementInternals['willValidate'];
|
|
119
|
+
/**
|
|
120
|
+
* Whether or not the text is displayed.
|
|
121
|
+
*/
|
|
122
|
+
readonly checkboxOnly: boolean;
|
|
123
|
+
private readonly internals;
|
|
124
|
+
/**
|
|
125
|
+
* Emitted when the checkbox loses focus.
|
|
126
|
+
*/
|
|
127
|
+
private readonly blurEmitter;
|
|
128
|
+
/**
|
|
129
|
+
* Emitted when a change to the checkbox's state is committed by the user.
|
|
130
|
+
*/
|
|
131
|
+
private readonly changeEmitter;
|
|
132
|
+
/**
|
|
133
|
+
* Emitted when the checkbox gains focus.
|
|
134
|
+
*/
|
|
135
|
+
private readonly focusEmitter;
|
|
136
|
+
private readonly host;
|
|
137
|
+
private tabIndex?;
|
|
138
|
+
protected onClick(event: MouseEvent): void;
|
|
139
|
+
protected checkedChanged(): void;
|
|
140
|
+
protected disabledChanged(): void;
|
|
141
|
+
protected tabindexChanged(newValue: string): void;
|
|
142
|
+
protected valueChanged(): void;
|
|
143
|
+
componentWillLoad(): void;
|
|
144
|
+
render(): any;
|
|
145
|
+
checkValidity: ElementInternals['checkValidity'];
|
|
146
|
+
reportValidity: ElementInternals['reportValidity'];
|
|
147
|
+
setCustomValidity: HTMLInputElement['setCustomValidity'];
|
|
135
148
|
}
|
|
136
149
|
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import type { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
|
+
import type { Value } from '../controls';
|
|
3
|
+
import type { Size } from '../shared';
|
|
4
|
+
export type ChipType = 'closable' | 'selectable';
|
|
5
|
+
/**
|
|
6
|
+
* `<qds-chip>` elements are interactive elements that represent selections.
|
|
7
|
+
* Chips allow users to make a selection from a list of options or display
|
|
8
|
+
* items like filters or tags.
|
|
9
|
+
*
|
|
10
|
+
* @see https://quartz.se.com/build/components/chip
|
|
11
|
+
*/
|
|
12
|
+
export declare class Chip implements ComponentInterface {
|
|
13
|
+
#private;
|
|
14
|
+
/**
|
|
15
|
+
* The name of the icon to render.
|
|
16
|
+
*
|
|
17
|
+
* Available names depend on the icon library being used.
|
|
18
|
+
*/
|
|
19
|
+
readonly iconName?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The name of a registered icon library.
|
|
22
|
+
*/
|
|
23
|
+
readonly iconLibrary: string;
|
|
24
|
+
/**
|
|
25
|
+
* The chip's size.
|
|
26
|
+
*/
|
|
27
|
+
readonly size?: Size;
|
|
28
|
+
/**
|
|
29
|
+
* The chip's type.
|
|
30
|
+
*/
|
|
31
|
+
readonly type?: ChipType;
|
|
32
|
+
/**
|
|
33
|
+
* The chip's text.
|
|
34
|
+
*/
|
|
35
|
+
readonly text?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Sets the selectable chip's state.
|
|
38
|
+
*
|
|
39
|
+
* @webnative
|
|
40
|
+
*/
|
|
41
|
+
checked?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* The [`<form>`](https://developer.mozilla.org/docs/Web/HTML/Element/form)
|
|
44
|
+
* element to associate the chip with (its form owner).
|
|
45
|
+
*
|
|
46
|
+
* The value of this property must be the id of a `<form>` in the same
|
|
47
|
+
* document. If this property is not set, the `<qds-chip>` is associated
|
|
48
|
+
* with its ancestor `<form>` element, if any.
|
|
49
|
+
*
|
|
50
|
+
* This property lets you associate `<qds-chip>` elements to `<form>`s
|
|
51
|
+
* anywhere in the document, not just inside a `<form>`. It can also override
|
|
52
|
+
*an ancestor `<form>` element.
|
|
53
|
+
*
|
|
54
|
+
* @webnative
|
|
55
|
+
*/
|
|
56
|
+
readonly form: ElementInternals['form'] | string;
|
|
57
|
+
/**
|
|
58
|
+
* Prevents the chip from being interacted with: it cannot be pressed or
|
|
59
|
+
* focused.
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
readonly disabled?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* The name of the chip, which is submitted with the form data.
|
|
65
|
+
*
|
|
66
|
+
* @webnative
|
|
67
|
+
*/
|
|
68
|
+
readonly name?: string;
|
|
69
|
+
/**
|
|
70
|
+
* The value of the chip, submitted as a name/value pair with form data.
|
|
71
|
+
*
|
|
72
|
+
* @webnative
|
|
73
|
+
*/
|
|
74
|
+
readonly value?: Value;
|
|
75
|
+
/**
|
|
76
|
+
* Emitted when the chip loses focus.
|
|
77
|
+
*/
|
|
78
|
+
private readonly blurEmitter;
|
|
79
|
+
/**
|
|
80
|
+
* Emitted when the chip gains focus.
|
|
81
|
+
*/
|
|
82
|
+
private readonly focusEmitter;
|
|
83
|
+
/**
|
|
84
|
+
* Emitted when the chip is closed.
|
|
85
|
+
*/
|
|
86
|
+
private readonly closeEmitter;
|
|
87
|
+
/**
|
|
88
|
+
* Emitted when a change to the selectable chip's state is committed by the user.
|
|
89
|
+
*/
|
|
90
|
+
private readonly changeEmitter;
|
|
91
|
+
private readonly host;
|
|
92
|
+
private readonly internals;
|
|
93
|
+
private isPressed;
|
|
94
|
+
private isSelected;
|
|
95
|
+
private tabIndex?;
|
|
96
|
+
private tooltip;
|
|
97
|
+
protected onClick(event: MouseEvent): void;
|
|
98
|
+
protected handleKeyDown(event: KeyboardEvent): void;
|
|
99
|
+
protected handleKeyUp(event: KeyboardEvent): void;
|
|
100
|
+
protected checkedChanged(): void;
|
|
101
|
+
protected disabledChanged(): void;
|
|
102
|
+
protected tabindexChanged(newValue: string): void;
|
|
103
|
+
protected valueChanged(): void;
|
|
104
|
+
componentWillLoad(): void;
|
|
105
|
+
componentDidLoad(): void;
|
|
106
|
+
disconnectedCallback(): void;
|
|
107
|
+
render(): any;
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=chip.d.ts.map
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
export type AutoComplete = 'additional-name' | 'address-level1' | 'address-level2' | 'address-level3' | 'address-level4' | 'address-line1' | 'address-line2' | 'address-line3' | 'bday-day' | 'bday-month' | 'bday-year' | 'bday' | 'cc-additional-name' | 'cc-csc' | 'cc-exp-month' | 'cc-exp-year' | 'cc-exp' | 'cc-family-name' | 'cc-given-name' | 'cc-name' | 'cc-number' | 'cc-type' | 'country-name' | 'country' | 'current-password' | 'email' | 'family-name' | 'given-name' | 'honorific-prefix' | 'honorific-suffix' | 'impp' | 'language' | 'name' | 'new-password' | 'nickname' | 'off' | 'on' | 'one-time-code' | 'organization-title' | 'organization' | 'photo' | 'postal-code' | 'sex' | 'street-address' | 'tel-area-code' | 'tel-country-code' | 'tel-extension' | 'tel-local' | 'tel-national' | 'tel' | 'transaction-amount' | 'transaction-currency' | 'url' | 'username';
|
|
1
2
|
export type AutoCapitalize = 'characters' | 'none' | 'off' | 'on' | 'sentences' | 'words';
|
|
2
3
|
export type EnterKeyHint = 'done' | 'enter' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
3
4
|
export type InputMode = 'decimal' | 'email' | 'none' | 'numeric' | 'search' | 'tel' | 'text' | 'url';
|
|
4
|
-
export type SelectDirection = 'backward' | 'forward' | 'none';
|
|
5
5
|
export type Value = number | string | null;
|
|
6
|
+
export declare const CUSTOM_ERROR_FLAGS: ValidityStateFlags;
|
|
7
|
+
export declare const NO_ERROR_FLAGS: ValidityStateFlags;
|
|
8
|
+
export declare const VALID_STATE: ValidityState;
|
|
6
9
|
//# sourceMappingURL=controls.d.ts.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* The `<qds-dialog>` element represent a dialog box or other interactive
|
|
4
|
+
* component, such as a dismissible alert, inspector, or subwindow.
|
|
5
|
+
*
|
|
6
|
+
* @see https://quartz.se.com/build/components/dialog
|
|
7
|
+
*/
|
|
8
|
+
export declare class Dialog implements ComponentInterface {
|
|
9
|
+
#private;
|
|
10
|
+
/**
|
|
11
|
+
* Indicates whether or not the dialog is open. You can toggle this attribute
|
|
12
|
+
* to show and hide the dialog, or you can use the `show()` and `close()`
|
|
13
|
+
* methods and this attribute will reflect the dialog’s open state.
|
|
14
|
+
*/
|
|
15
|
+
open: boolean;
|
|
16
|
+
private readonly host;
|
|
17
|
+
/**
|
|
18
|
+
* Emitted when the user instructs the browser that they wish to dismiss the
|
|
19
|
+
* currently open dialog. The browser fires this event when the user presses
|
|
20
|
+
* the `Esc` key.
|
|
21
|
+
*
|
|
22
|
+
* When a dialog is dismissed with the `Esc` key, both the `qdsCancel` and
|
|
23
|
+
* `qdsClose` events are fired.
|
|
24
|
+
*/
|
|
25
|
+
private readonly cancelEmitter;
|
|
26
|
+
/** Emitted when the dialog has been closed. */
|
|
27
|
+
private readonly closeEmitter;
|
|
28
|
+
protected openChanged(): void;
|
|
29
|
+
componentWillLoad(): void;
|
|
30
|
+
componentDidLoad(): void;
|
|
31
|
+
render(): any;
|
|
32
|
+
show(): void;
|
|
33
|
+
close(): void;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=dialog.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
|
-
|
|
2
|
+
import type { Importance } from '../shared';
|
|
3
3
|
/**
|
|
4
4
|
* The `<qds-divider>` element a thematic break between paragraph-level
|
|
5
5
|
* elements: for example, a change of scene in a story, or a shift of topic
|
|
@@ -10,13 +10,17 @@ export type DividerImportance = 'emphasized' | 'standard';
|
|
|
10
10
|
* @see https://quartz.se.com/build/components/divider
|
|
11
11
|
*/
|
|
12
12
|
export declare class Divider implements ComponentInterface {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
#private;
|
|
14
|
+
/**
|
|
15
|
+
* The divider's importance.
|
|
16
|
+
*/
|
|
17
|
+
readonly importance?: Importance;
|
|
18
|
+
/**
|
|
19
|
+
* Display the divider in vertical orientation.
|
|
20
|
+
*/
|
|
21
|
+
readonly vertical: boolean;
|
|
22
|
+
protected verticalChanged(): void;
|
|
23
|
+
componentWillLoad(): void;
|
|
24
|
+
render(): any;
|
|
21
25
|
}
|
|
22
26
|
//# sourceMappingURL=divider.d.ts.map
|