@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,8 +1,8 @@
|
|
|
1
1
|
import type { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
|
-
import type {
|
|
2
|
+
import type { EnterKeyHint, InputMode, Value } from '../controls';
|
|
3
|
+
import type { Size } from '../shared';
|
|
3
4
|
export type TextAreaAutoComplete = 'off' | 'on';
|
|
4
|
-
export type
|
|
5
|
-
export type Wrap = 'hard' | 'off' | 'soft';
|
|
5
|
+
export type Wrap = 'off' | 'soft';
|
|
6
6
|
/**
|
|
7
7
|
* The `<qds-textarea>` element represents a multi-line plain-text editing
|
|
8
8
|
* control, useful when you want to allow users to enter a sizeable amount of
|
|
@@ -11,302 +11,287 @@ export type Wrap = 'hard' | 'off' | 'soft';
|
|
|
11
11
|
* @see https://quartz.se.com/build/components/textarea
|
|
12
12
|
*/
|
|
13
13
|
export declare class TextArea implements ComponentInterface {
|
|
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
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
* @param end The offset into the input for the end of the selection.
|
|
297
|
-
* @param direction The direction in which the selection is performed.
|
|
298
|
-
*/
|
|
299
|
-
setSelectionRange(start: number | null, end: number | null, direction?: SelectDirection): Promise<void>;
|
|
300
|
-
protected disabledChanged(): void;
|
|
301
|
-
protected valueChanged(): void;
|
|
302
|
-
componentWillLoad(): void;
|
|
303
|
-
render(): any;
|
|
304
|
-
private readonly ref;
|
|
305
|
-
private readonly onBlur;
|
|
306
|
-
private readonly onChange;
|
|
307
|
-
private readonly onClick;
|
|
308
|
-
private readonly onFocus;
|
|
309
|
-
private readonly onInput;
|
|
310
|
-
private readonly onInvalid;
|
|
14
|
+
#private;
|
|
15
|
+
/**
|
|
16
|
+
* The textarea's size.
|
|
17
|
+
*
|
|
18
|
+
* > **_NOTE:_** The native [`size` HTML attribute][] is not supported. CSS
|
|
19
|
+
* `width` should be used instead if this functionality is needed.
|
|
20
|
+
*
|
|
21
|
+
* [`size` HTML attribute]: https://developer.mozilla.org/docs/Web/HTML/Attributes/size
|
|
22
|
+
*/
|
|
23
|
+
readonly size?: Size;
|
|
24
|
+
/**
|
|
25
|
+
* Indicates whether the value of the textarea can be automatically completed
|
|
26
|
+
* by the browser. Possible values:
|
|
27
|
+
*
|
|
28
|
+
* `off`: The user must explicitly enter a value into this field for every
|
|
29
|
+
* use, or the document provides its own auto-completion method; the browser
|
|
30
|
+
* does not automatically complete the entry.
|
|
31
|
+
* `on`: The browser can automatically complete the value based on values
|
|
32
|
+
* that the user has entered during previous uses.
|
|
33
|
+
*
|
|
34
|
+
* If the `autocomplete` attribute is not specified on a `<qds-textarea>`
|
|
35
|
+
* element, then the browser uses the `autocomplete` attribute value of the
|
|
36
|
+
* `<qds-textarea>` element's form owner. The form owner is either the
|
|
37
|
+
* [`<form>`][] element that this `<qds-textarea>` element is a descendant of
|
|
38
|
+
* or the form element whose `id` is specified by the `form` attribute of the
|
|
39
|
+
* `qds-textarea` element. For more information, see the [`autocomplete`]
|
|
40
|
+
* attribute in [`<form>`][].
|
|
41
|
+
*
|
|
42
|
+
* [`<form>`]: https://developer.mozilla.org/docs/Web/HTML/Element/form
|
|
43
|
+
* [`autocomplete`]: https://developer.mozilla.org/docs/Web/HTML/Element/form#autocomplete
|
|
44
|
+
*
|
|
45
|
+
* @webnative
|
|
46
|
+
*/
|
|
47
|
+
readonly autoComplete?: TextAreaAutoComplete;
|
|
48
|
+
/**
|
|
49
|
+
* The visible width of the text control, in average character widths. If it
|
|
50
|
+
* is specified, it must be a positive integer. If it is not specified, the
|
|
51
|
+
* default value is `20`.
|
|
52
|
+
*
|
|
53
|
+
* @webnative
|
|
54
|
+
*/
|
|
55
|
+
readonly cols?: number;
|
|
56
|
+
/**
|
|
57
|
+
* Prevents the textarea from being interacted with: it cannot be pressed or
|
|
58
|
+
* focused.
|
|
59
|
+
*
|
|
60
|
+
* @webnative
|
|
61
|
+
*/
|
|
62
|
+
disabled?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* What action label (or icon) to present for the enter key on virtual
|
|
65
|
+
* keyboards. Possible values:
|
|
66
|
+
*
|
|
67
|
+
* - `"done"`: Typically meaning there is nothing more to input and the input
|
|
68
|
+
* method editor (IME) will be closed.
|
|
69
|
+
* - `"enter"`: Typically inserting a new line.
|
|
70
|
+
* - `"go"`: Typically meaning to take the user to the target of the text
|
|
71
|
+
* they typed.
|
|
72
|
+
* - `"next"`: Typically taking the user to the next field that will accept
|
|
73
|
+
* text.
|
|
74
|
+
* - `"previous"`: Typically taking the user to the previous field that will
|
|
75
|
+
* accept text.
|
|
76
|
+
* - `"search"`: Typically taking the user to the results of searching for
|
|
77
|
+
* the text they have typed.
|
|
78
|
+
* - `"send"`: Typically delivering the text to its target.
|
|
79
|
+
*
|
|
80
|
+
* @webnative
|
|
81
|
+
*/
|
|
82
|
+
readonly enterkeyhint?: EnterKeyHint;
|
|
83
|
+
/**
|
|
84
|
+
* The [`<form>`][] element to associate the input with (its form owner).
|
|
85
|
+
*
|
|
86
|
+
* The value of this attribute must be the id of a `<form>` in the same
|
|
87
|
+
* document. If this attribute is not set, the `<qds-textarea>` is associated
|
|
88
|
+
* with its ancestor `<form>` element, if any.
|
|
89
|
+
*
|
|
90
|
+
* This attribute lets you associate `<qds-textarea>` elements to `<form>`s
|
|
91
|
+
* anywhere in the document, not just inside a `<form>`. It can also override
|
|
92
|
+
* an ancestor `<form>` element.
|
|
93
|
+
*
|
|
94
|
+
* [`<form>`]: https://developer.mozilla.org/docs/Web/HTML/Element/form
|
|
95
|
+
*
|
|
96
|
+
* @readonly
|
|
97
|
+
* @webnative
|
|
98
|
+
*/
|
|
99
|
+
readonly form: ElementInternals['form'] | string;
|
|
100
|
+
/**
|
|
101
|
+
* Provide a hint to browsers as to the type of virtual keyboard
|
|
102
|
+
* configuration to use when editing this element or its contents.
|
|
103
|
+
*
|
|
104
|
+
* @webnative
|
|
105
|
+
*/
|
|
106
|
+
readonly inputmode?: InputMode;
|
|
107
|
+
/**
|
|
108
|
+
* Returns a list of the [`<label>`][] elements associated with the
|
|
109
|
+
* `qds-textarea` element.
|
|
110
|
+
*
|
|
111
|
+
* [`<label>`]: https://developer.mozilla.org/docs/Web/HTML/Element/label
|
|
112
|
+
*
|
|
113
|
+
* @readonly
|
|
114
|
+
* @webnative
|
|
115
|
+
*/
|
|
116
|
+
readonly labels: ElementInternals['labels'];
|
|
117
|
+
/**
|
|
118
|
+
* The maximum number of characters (as UTF-16 code units) the user can enter
|
|
119
|
+
* into the textarea. This must be an non-negative integer value. If no
|
|
120
|
+
* `maxlength` is specified, or an invalid value is specified, the textarea
|
|
121
|
+
* has no maximum length.
|
|
122
|
+
*
|
|
123
|
+
* The textarea will fail [constraint validation][] if the length of the text
|
|
124
|
+
* entered into the field is greater than `maxlength` UTF-16 code units long.
|
|
125
|
+
* By default, browsers prevent users from entering more characters than
|
|
126
|
+
* allowed by the `maxlength` attribute. See [Client-side validation][] for
|
|
127
|
+
* more information.
|
|
128
|
+
*
|
|
129
|
+
* [constraint validation]: https://developer.mozilla.org/docs/Web/Guide/HTML/Constraint_validation
|
|
130
|
+
* [Client-side validation]: https://developer.mozilla.org/docs/Web/HTML/Element/input#client-side_validation
|
|
131
|
+
*
|
|
132
|
+
* @webnative
|
|
133
|
+
*/
|
|
134
|
+
readonly maxLength?: number;
|
|
135
|
+
/**
|
|
136
|
+
* The minimum number of characters (as UTF-16 code units) the user can enter
|
|
137
|
+
* into the textarea. This must be an non-negative integer value smaller than
|
|
138
|
+
* or equal to the value specified by `maxlength`. If no `minlength` is
|
|
139
|
+
* specified, or an invalid value is specified, the textarea has no minimum
|
|
140
|
+
* length.
|
|
141
|
+
*
|
|
142
|
+
* The textarea will fail [constraint validation][] if the length of the text
|
|
143
|
+
* entered into the field is fewer than `minlength` UTF-16 code units long,
|
|
144
|
+
* preventing form submission. See [Client-side validation][] for more
|
|
145
|
+
* information.
|
|
146
|
+
*
|
|
147
|
+
* [constraint validation]: https://developer.mozilla.org/docs/Web/Guide/HTML/Constraint_validation
|
|
148
|
+
* [Client-side validation]: https://developer.mozilla.org/docs/Web/HTML/Element/input#client-side_validation
|
|
149
|
+
*
|
|
150
|
+
* @webnative
|
|
151
|
+
*/
|
|
152
|
+
readonly minLength?: number;
|
|
153
|
+
/**
|
|
154
|
+
* The name of the textarea, which is submitted with the form data.
|
|
155
|
+
*
|
|
156
|
+
* @webnative
|
|
157
|
+
*/
|
|
158
|
+
readonly name?: string;
|
|
159
|
+
/**
|
|
160
|
+
* Text that appears in the textarea when it has no value set.
|
|
161
|
+
*
|
|
162
|
+
* @webnative
|
|
163
|
+
*/
|
|
164
|
+
readonly placeholder?: string;
|
|
165
|
+
/**
|
|
166
|
+
* A value must be specified for the textarea before the owning form can be
|
|
167
|
+
* submitted.
|
|
168
|
+
*
|
|
169
|
+
* See [Client-side validation][] and the [HTML attribute: `required`][] for
|
|
170
|
+
* more information.
|
|
171
|
+
*
|
|
172
|
+
* [Client-side validation]: https://developer.mozilla.org/docs/Web/HTML/Element/input#client-side_validation
|
|
173
|
+
* [HTML attribute: `required`]: https://developer.mozilla.org/docs/Web/HTML/Attributes/required
|
|
174
|
+
*
|
|
175
|
+
* @webnative
|
|
176
|
+
*/
|
|
177
|
+
readonly required?: boolean;
|
|
178
|
+
/**
|
|
179
|
+
* The number of visible text lines for the control. If it is specified, it
|
|
180
|
+
* must be a positive integer. If it is not specified, the default value is
|
|
181
|
+
* `2`.
|
|
182
|
+
*
|
|
183
|
+
* @webnative
|
|
184
|
+
*/
|
|
185
|
+
readonly rows?: number;
|
|
186
|
+
/**
|
|
187
|
+
* Get or set the selection direction of a text selection.
|
|
188
|
+
*
|
|
189
|
+
* > **_NOTE:_** This property has no effect when used as an attribute.
|
|
190
|
+
*
|
|
191
|
+
* @webnative
|
|
192
|
+
*/
|
|
193
|
+
selectionDirection: HTMLInputElement['selectionDirection'];
|
|
194
|
+
/**
|
|
195
|
+
* Get or set the ending position or offset of a text selection.
|
|
196
|
+
*
|
|
197
|
+
* > **_NOTE:_** This property has no effect when used as an attribute.
|
|
198
|
+
*
|
|
199
|
+
* @webnative
|
|
200
|
+
*/
|
|
201
|
+
selectionEnd: HTMLInputElement['selectionEnd'];
|
|
202
|
+
/**
|
|
203
|
+
* Get or set the starting position or offset of a text selection.
|
|
204
|
+
*
|
|
205
|
+
* > **_NOTE:_** This property has no effect when used as an attribute.
|
|
206
|
+
*
|
|
207
|
+
* @webnative
|
|
208
|
+
*/
|
|
209
|
+
selectionStart: HTMLInputElement['selectionStart'];
|
|
210
|
+
/**
|
|
211
|
+
* The error message that would be shown to the user if the `<qds-select>`
|
|
212
|
+
* was to be checked for validity.
|
|
213
|
+
*
|
|
214
|
+
* @readonly
|
|
215
|
+
* @webnative
|
|
216
|
+
*/
|
|
217
|
+
readonly validationMessage: ElementInternals['validationMessage'];
|
|
218
|
+
/**
|
|
219
|
+
* The [`ValidityState`][] object for this `<qds-select>`.
|
|
220
|
+
*
|
|
221
|
+
* [`ValidityState`]: https://developer.mozilla.org/docs/Web/API/ValidityState
|
|
222
|
+
*
|
|
223
|
+
* @readonly
|
|
224
|
+
* @webnative
|
|
225
|
+
*/
|
|
226
|
+
readonly validity: ElementInternals['validity'];
|
|
227
|
+
/**
|
|
228
|
+
* The value of the textarea.
|
|
229
|
+
*
|
|
230
|
+
* @webnative
|
|
231
|
+
*/
|
|
232
|
+
value?: Value;
|
|
233
|
+
/**
|
|
234
|
+
* True if `<qds-textarea>` will be validated when the form is submitted;
|
|
235
|
+
* false otherwise.
|
|
236
|
+
*
|
|
237
|
+
* @readonly
|
|
238
|
+
* @webnative
|
|
239
|
+
*/
|
|
240
|
+
readonly willValidate: ElementInternals['willValidate'];
|
|
241
|
+
/**
|
|
242
|
+
* Indicates how the control should wrap the value for form submission.
|
|
243
|
+
* Possible values are:
|
|
244
|
+
*
|
|
245
|
+
* - `hard`: The browser automatically inserts line breaks (`CR+LF`) so that
|
|
246
|
+
* each line is no longer than the width of the control; the `cols` attribute
|
|
247
|
+
* must be specified for this to take effect
|
|
248
|
+
* - `soft`: The browser ensures that all line breaks in the entered value
|
|
249
|
+
* are a `CR+LF` pair, but no additional line breaks are added to the value.
|
|
250
|
+
* - `off`: Like `soft` but changes appearance to `white-space: pre` so line
|
|
251
|
+
* segments exceeding `cols` are not wrapped and the `<qds-textarea>` becomes
|
|
252
|
+
* horizontally scrollable.
|
|
253
|
+
*
|
|
254
|
+
* If this attribute is not specified, `soft` is its default value.
|
|
255
|
+
*
|
|
256
|
+
* @webnative
|
|
257
|
+
*/
|
|
258
|
+
readonly wrap?: Wrap;
|
|
259
|
+
private readonly internals;
|
|
260
|
+
/**
|
|
261
|
+
* Emitted when the textarea loses focus.
|
|
262
|
+
*/
|
|
263
|
+
private readonly blurEmitter;
|
|
264
|
+
/**
|
|
265
|
+
* Emitted when an alteration to the textarea's value is committed by the
|
|
266
|
+
* user.
|
|
267
|
+
*/
|
|
268
|
+
private readonly changeEmitter;
|
|
269
|
+
/**
|
|
270
|
+
* Emitted when the textarea gains focus.
|
|
271
|
+
*/
|
|
272
|
+
private readonly focusEmitter;
|
|
273
|
+
/**
|
|
274
|
+
* Emitted when the textarea's value changes.
|
|
275
|
+
*/
|
|
276
|
+
private readonly inputEmitter;
|
|
277
|
+
private readonly host;
|
|
278
|
+
private tabIndex?;
|
|
279
|
+
protected onClick(event: MouseEvent): void;
|
|
280
|
+
protected disabledChanged(): void;
|
|
281
|
+
protected selectionDirectionChanged(): void;
|
|
282
|
+
protected selectionEndChanged(): void;
|
|
283
|
+
protected selectionStartChanged(): void;
|
|
284
|
+
protected tabindexChanged(newValue: string): void;
|
|
285
|
+
protected validationChanged(): void;
|
|
286
|
+
protected valueChanged(): void;
|
|
287
|
+
componentWillLoad(): void;
|
|
288
|
+
componentDidLoad(): void;
|
|
289
|
+
render(): any;
|
|
290
|
+
checkValidity: ElementInternals['checkValidity'];
|
|
291
|
+
reportValidity: ElementInternals['reportValidity'];
|
|
292
|
+
setCustomValidity: HTMLTextAreaElement['setCustomValidity'];
|
|
293
|
+
select: HTMLTextAreaElement['select'];
|
|
294
|
+
setRangeText: (replacement: string, start: number, end: number, selectionMode?: SelectionMode) => void;
|
|
295
|
+
setSelectionRange: HTMLTextAreaElement['setSelectionRange'];
|
|
311
296
|
}
|
|
312
297
|
//# sourceMappingURL=textarea.d.ts.map
|