@quartzds/core 1.0.0-beta.8 → 1.0.0-beta.81
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 +50 -0
- package/components/index.js +49 -27
- package/components/index.js.map +1 -1
- package/components/p-028b9d2e.js +96 -0
- package/components/p-028b9d2e.js.map +1 -0
- package/components/p-355efdb1.js +83 -0
- package/components/p-355efdb1.js.map +1 -0
- package/components/p-4141d6ed.js +204 -0
- package/components/p-4141d6ed.js.map +1 -0
- package/components/p-698edde1.js +321 -0
- package/components/p-698edde1.js.map +1 -0
- package/components/p-7b04d43e.js +1556 -0
- package/components/p-7b04d43e.js.map +1 -0
- package/components/p-7f6e797a.js +108 -0
- package/components/p-7f6e797a.js.map +1 -0
- package/components/p-82461767.js +328 -0
- package/components/p-82461767.js.map +1 -0
- package/components/p-9df62f97.js +89 -0
- package/components/p-9df62f97.js.map +1 -0
- package/components/p-b82bac0a.js +121 -0
- package/components/p-b82bac0a.js.map +1 -0
- package/components/p-d107c90c.js +27 -0
- package/components/p-d107c90c.js.map +1 -0
- package/components/p-d279ae53.js +86 -0
- package/components/p-d279ae53.js.map +1 -0
- package/components/p-f5ba28ff.js +372 -0
- package/components/p-f5ba28ff.js.map +1 -0
- package/components/p-f85b490c.js +217 -0
- package/components/p-f85b490c.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/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 +76 -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 +271 -0
- package/components/qds-chip.js.map +1 -0
- package/components/qds-dialog.d.ts +11 -0
- package/components/qds-dialog.js +121 -0
- package/components/qds-dialog.js.map +1 -0
- package/components/qds-divider.d.ts +11 -0
- package/components/qds-divider.js +13 -0
- package/components/qds-divider.js.map +1 -0
- package/components/qds-dropdown.d.ts +2 -2
- package/components/qds-dropdown.js +266 -239
- package/components/qds-dropdown.js.map +1 -1
- package/components/qds-form-message.d.ts +11 -0
- package/components/qds-form-message.js +102 -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 +135 -73
- package/components/qds-inline-link.js.map +1 -1
- package/components/qds-input.d.ts +2 -2
- package/components/qds-input.js +426 -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 +207 -0
- package/components/qds-list-item.js.map +1 -0
- package/components/qds-loader.d.ts +11 -0
- package/components/qds-loader.js +111 -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 +146 -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 +135 -0
- package/components/qds-progress-bar.js.map +1 -0
- package/components/qds-radio.d.ts +2 -2
- package/components/qds-radio.js +140 -93
- package/components/qds-radio.js.map +1 -1
- package/components/qds-select.d.ts +11 -0
- package/components/qds-select.js +273 -0
- package/components/qds-select.js.map +1 -0
- package/components/qds-standalone-link.d.ts +11 -0
- package/components/qds-standalone-link.js +167 -0
- package/components/qds-standalone-link.js.map +1 -0
- package/components/qds-switch.d.ts +2 -2
- package/components/qds-switch.js +172 -105
- package/components/qds-switch.js.map +1 -1
- package/components/qds-tab.d.ts +11 -0
- package/components/qds-tab.js +339 -0
- package/components/qds-tab.js.map +1 -0
- package/components/qds-tabbar.d.ts +11 -0
- package/components/qds-tabbar.js +384 -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 +73 -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 +77 -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 +276 -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-cdd65bd0.js +217 -0
- package/dist/cjs/helpers-cdd65bd0.js.map +1 -0
- package/dist/cjs/index-a9985af0.js +1699 -0
- package/dist/cjs/index-a9985af0.js.map +1 -0
- package/dist/cjs/index.cjs.js +27 -27
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/library-57845012.js +117 -0
- package/dist/cjs/library-57845012.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_3.cjs.entry.js +445 -0
- package/dist/cjs/qds-badge-counter_3.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-breadcrumb-item.cjs.entry.js +55 -0
- package/dist/cjs/qds-breadcrumb-item.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-button.cjs.entry.js +234 -87
- package/dist/cjs/qds-button.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-checkbox.cjs.entry.js +162 -99
- package/dist/cjs/qds-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-chip.cjs.entry.js +231 -0
- package/dist/cjs/qds-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-dialog.cjs.entry.js +103 -0
- package/dist/cjs/qds-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-divider.cjs.entry.js +69 -0
- package/dist/cjs/qds-divider.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-dropdown.cjs.entry.js +225 -206
- package/dist/cjs/qds-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-form-message.cjs.entry.js +76 -0
- package/dist/cjs/qds-form-message.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-icon.cjs.entry.js +111 -90
- package/dist/cjs/qds-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-inline-link.cjs.entry.js +98 -46
- package/dist/cjs/qds-inline-link.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-input.cjs.entry.js +337 -185
- package/dist/cjs/qds-input.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-label.cjs.entry.js +58 -24
- package/dist/cjs/qds-label.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-list-item.cjs.entry.js +158 -0
- package/dist/cjs/qds-list-item.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-loader.cjs.entry.js +92 -0
- package/dist/cjs/qds-loader.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-nav-list-item.cjs.entry.js +108 -0
- package/dist/cjs/qds-nav-list-item.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-progress-bar.cjs.entry.js +117 -0
- package/dist/cjs/qds-progress-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-radio.cjs.entry.js +101 -57
- package/dist/cjs/qds-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-select.cjs.entry.js +233 -0
- package/dist/cjs/qds-select.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-standalone-link.cjs.entry.js +127 -0
- package/dist/cjs/qds-standalone-link.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-switch.cjs.entry.js +143 -64
- package/dist/cjs/qds-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/qds-tab.cjs.entry.js +260 -0
- package/dist/cjs/qds-tab.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-tabbar.cjs.entry.js +326 -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 +56 -0
- package/dist/cjs/qds-table-cell.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-table-head-cell.cjs.entry.js +58 -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 +163 -0
- package/dist/cjs/qds-tag_2.cjs.entry.js.map +1 -0
- package/dist/cjs/qds-textarea.cjs.entry.js +229 -153
- package/dist/cjs/qds-textarea.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 +8403 -1931
- package/dist/docs.d.ts +336 -240
- package/dist/docs.json +8819 -2762
- 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-4eb4fa44.js +204 -0
- package/dist/esm/helpers-4eb4fa44.js.map +1 -0
- package/dist/esm/index-5291e8ff.js +1668 -0
- package/dist/esm/index-5291e8ff.js.map +1 -0
- package/dist/esm/index.js +27 -27
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/library-9edbe354.js +113 -0
- package/dist/esm/library-9edbe354.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_3.entry.js +439 -0
- package/dist/esm/qds-badge-counter_3.entry.js.map +1 -0
- package/dist/esm/qds-breadcrumb-item.entry.js +51 -0
- package/dist/esm/qds-breadcrumb-item.entry.js.map +1 -0
- package/dist/esm/qds-button.entry.js +234 -87
- package/dist/esm/qds-button.entry.js.map +1 -1
- package/dist/esm/qds-checkbox.entry.js +162 -99
- package/dist/esm/qds-checkbox.entry.js.map +1 -1
- package/dist/esm/qds-chip.entry.js +227 -0
- package/dist/esm/qds-chip.entry.js.map +1 -0
- package/dist/esm/qds-dialog.entry.js +99 -0
- package/dist/esm/qds-dialog.entry.js.map +1 -0
- package/dist/esm/qds-divider.entry.js +65 -0
- package/dist/esm/qds-divider.entry.js.map +1 -0
- package/dist/esm/qds-dropdown.entry.js +225 -206
- package/dist/esm/qds-dropdown.entry.js.map +1 -1
- package/dist/esm/qds-form-message.entry.js +72 -0
- package/dist/esm/qds-form-message.entry.js.map +1 -0
- package/dist/esm/qds-icon.entry.js +111 -90
- package/dist/esm/qds-icon.entry.js.map +1 -1
- package/dist/esm/qds-inline-link.entry.js +98 -46
- package/dist/esm/qds-inline-link.entry.js.map +1 -1
- package/dist/esm/qds-input.entry.js +337 -185
- package/dist/esm/qds-input.entry.js.map +1 -1
- package/dist/esm/qds-label.entry.js +58 -24
- package/dist/esm/qds-label.entry.js.map +1 -1
- package/dist/esm/qds-list-item.entry.js +154 -0
- package/dist/esm/qds-list-item.entry.js.map +1 -0
- package/dist/esm/qds-loader.entry.js +88 -0
- package/dist/esm/qds-loader.entry.js.map +1 -0
- package/dist/esm/qds-nav-list-item.entry.js +104 -0
- package/dist/esm/qds-nav-list-item.entry.js.map +1 -0
- package/dist/esm/qds-progress-bar.entry.js +113 -0
- package/dist/esm/qds-progress-bar.entry.js.map +1 -0
- package/dist/esm/qds-radio.entry.js +101 -57
- package/dist/esm/qds-radio.entry.js.map +1 -1
- package/dist/esm/qds-select.entry.js +229 -0
- package/dist/esm/qds-select.entry.js.map +1 -0
- package/dist/esm/qds-standalone-link.entry.js +123 -0
- package/dist/esm/qds-standalone-link.entry.js.map +1 -0
- package/dist/esm/qds-switch.entry.js +143 -64
- package/dist/esm/qds-switch.entry.js.map +1 -1
- package/dist/esm/qds-tab.entry.js +256 -0
- package/dist/esm/qds-tab.entry.js.map +1 -0
- package/dist/esm/qds-tabbar.entry.js +322 -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 +52 -0
- package/dist/esm/qds-table-cell.entry.js.map +1 -0
- package/dist/esm/qds-table-head-cell.entry.js +54 -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 +158 -0
- package/dist/esm/qds-tag_2.entry.js.map +1 -0
- package/dist/esm/qds-textarea.entry.js +229 -153
- package/dist/esm/qds-textarea.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 +156 -0
- package/dist/types/components/button/button.d.ts +232 -194
- package/dist/types/components/checkbox/checkbox.d.ts +136 -124
- package/dist/types/components/chip/chip.d.ts +114 -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 +26 -0
- 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 +444 -368
- package/dist/types/components/label/label.d.ts +24 -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 +210 -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 +120 -107
- package/dist/types/components/tab/tab.d.ts +158 -0
- package/dist/types/components/tabbar/tabbar.d.ts +46 -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 +46 -0
- package/dist/types/components/textarea/textarea.d.ts +313 -300
- package/dist/types/components/title/title.d.ts +39 -32
- package/dist/types/components/tooltip/tooltip.d.ts +121 -137
- package/dist/types/components.d.ts +3320 -783
- package/dist/types/helpers.d.ts +15 -16
- package/dist/types/index.d.ts +1 -0
- 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 +49 -15
- package/dist/types/utils.d.ts +4 -4
- package/dist/vscode.html-custom-data.json +1580 -167
- package/hydrate/index.d.ts +36 -18
- package/hydrate/index.js +24050 -9160
- package/hydrate/index.mjs +24769 -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/cjs/qds-tooltip.cjs.entry.js +0 -284
- package/dist/cjs/qds-tooltip.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/esm/qds-tooltip.entry.js +0 -280
- package/dist/esm/qds-tooltip.entry.js.map +0 -1
- package/dist/types/components/create-story.d.ts +0 -5
package/dist/docs.d.ts
CHANGED
|
@@ -3,7 +3,67 @@
|
|
|
3
3
|
* This is an autogenerated file created by the Stencil compiler.
|
|
4
4
|
* DO NOT MODIFY IT MANUALLY
|
|
5
5
|
*/
|
|
6
|
-
|
|
6
|
+
interface ComponentCompilerPropertyComplexType {
|
|
7
|
+
/**
|
|
8
|
+
* The string of the original type annotation in the Stencil source code
|
|
9
|
+
*/
|
|
10
|
+
original: string;
|
|
11
|
+
/**
|
|
12
|
+
* A 'resolved' type, where e.g. imported types have been resolved and inlined
|
|
13
|
+
*
|
|
14
|
+
* For instance, an annotation like `(foo: Foo) => string;` will be
|
|
15
|
+
* converted to `(foo: { foo: string }) => string;`.
|
|
16
|
+
*/
|
|
17
|
+
resolved: string;
|
|
18
|
+
/**
|
|
19
|
+
* A record of the types which were referenced in the assorted type
|
|
20
|
+
* annotation in the original source file.
|
|
21
|
+
*/
|
|
22
|
+
references: ComponentCompilerTypeReferences;
|
|
23
|
+
}
|
|
24
|
+
type ComponentCompilerTypeReferences = Record<string, ComponentCompilerTypeReference>;
|
|
25
|
+
interface ComponentCompilerTypeReference {
|
|
26
|
+
/**
|
|
27
|
+
* A type may be defined:
|
|
28
|
+
* - locally (in the same file as the component that uses it)
|
|
29
|
+
* - globally
|
|
30
|
+
* - by importing it into a file (and is defined elsewhere)
|
|
31
|
+
*/
|
|
32
|
+
location: "local" | "global" | "import";
|
|
33
|
+
/**
|
|
34
|
+
* The path to the type reference, if applicable (global types should not need a path associated with them)
|
|
35
|
+
*/
|
|
36
|
+
path?: string;
|
|
37
|
+
/**
|
|
38
|
+
* An ID for this type which is unique within a Stencil project.
|
|
39
|
+
*/
|
|
40
|
+
id: string;
|
|
41
|
+
}
|
|
42
|
+
interface ComponentCompilerReferencedType {
|
|
43
|
+
/**
|
|
44
|
+
* The path to the module where the type is declared.
|
|
45
|
+
*/
|
|
46
|
+
path: string;
|
|
47
|
+
/**
|
|
48
|
+
* The string of the original type annotation in the Stencil source code
|
|
49
|
+
*/
|
|
50
|
+
declaration: string;
|
|
51
|
+
/**
|
|
52
|
+
* An extracted docstring
|
|
53
|
+
*/
|
|
54
|
+
docstring: string;
|
|
55
|
+
}
|
|
56
|
+
interface ComponentCompilerEventComplexType {
|
|
57
|
+
original: string;
|
|
58
|
+
resolved: string;
|
|
59
|
+
references: ComponentCompilerTypeReferences;
|
|
60
|
+
}
|
|
61
|
+
interface ComponentCompilerMethodComplexType {
|
|
62
|
+
signature: string;
|
|
63
|
+
parameters: JsonDocMethodParameter[];
|
|
64
|
+
references: ComponentCompilerTypeReferences;
|
|
65
|
+
return: string;
|
|
66
|
+
}
|
|
7
67
|
/**
|
|
8
68
|
* The Type Library holds information about the types which are used in a
|
|
9
69
|
* Stencil project. During compilation, Stencil gathers information about the
|
|
@@ -20,158 +80,158 @@ export type JsonDocsTypeLibrary = Record<string, ComponentCompilerReferencedType
|
|
|
20
80
|
* A container for JSDoc metadata for a project
|
|
21
81
|
*/
|
|
22
82
|
export interface JsonDocs {
|
|
83
|
+
/**
|
|
84
|
+
* The metadata for the JSDocs for each component in a Stencil project
|
|
85
|
+
*/
|
|
86
|
+
components: JsonDocsComponent[];
|
|
87
|
+
/**
|
|
88
|
+
* The timestamp at which the metadata was generated, in the format YYYY-MM-DDThh:mm:ss
|
|
89
|
+
*/
|
|
90
|
+
timestamp: string;
|
|
91
|
+
compiler: {
|
|
92
|
+
/**
|
|
93
|
+
* The name of the compiler that generated the metadata
|
|
94
|
+
*/
|
|
95
|
+
name: string;
|
|
23
96
|
/**
|
|
24
|
-
* The
|
|
97
|
+
* The version of the Stencil compiler that generated the metadata
|
|
25
98
|
*/
|
|
26
|
-
|
|
99
|
+
version: string;
|
|
27
100
|
/**
|
|
28
|
-
* The
|
|
101
|
+
* The version of TypeScript that was used to generate the metadata
|
|
29
102
|
*/
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
* The name of the compiler that generated the metadata
|
|
34
|
-
*/
|
|
35
|
-
name: string;
|
|
36
|
-
/**
|
|
37
|
-
* The version of the Stencil compiler that generated the metadata
|
|
38
|
-
*/
|
|
39
|
-
version: string;
|
|
40
|
-
/**
|
|
41
|
-
* The version of TypeScript that was used to generate the metadata
|
|
42
|
-
*/
|
|
43
|
-
typescriptVersion: string;
|
|
44
|
-
};
|
|
45
|
-
typeLibrary: JsonDocsTypeLibrary;
|
|
103
|
+
typescriptVersion: string;
|
|
104
|
+
};
|
|
105
|
+
typeLibrary: JsonDocsTypeLibrary;
|
|
46
106
|
}
|
|
47
107
|
/**
|
|
48
108
|
* Container for JSDoc metadata for a single Stencil component
|
|
49
109
|
*/
|
|
50
110
|
export interface JsonDocsComponent {
|
|
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
|
-
|
|
111
|
+
/**
|
|
112
|
+
* The directory containing the Stencil component, minus the file name.
|
|
113
|
+
*
|
|
114
|
+
* @example /workspaces/stencil-project/src/components/my-component
|
|
115
|
+
*/
|
|
116
|
+
dirPath?: string;
|
|
117
|
+
/**
|
|
118
|
+
* The name of the file containing the Stencil component, with no path
|
|
119
|
+
*
|
|
120
|
+
* @example my-component.tsx
|
|
121
|
+
*/
|
|
122
|
+
fileName?: string;
|
|
123
|
+
/**
|
|
124
|
+
* The full path of the file containing the Stencil component
|
|
125
|
+
*
|
|
126
|
+
* @example /workspaces/stencil-project/src/components/my-component/my-component.tsx
|
|
127
|
+
*/
|
|
128
|
+
filePath?: string;
|
|
129
|
+
/**
|
|
130
|
+
* The path to the component's `readme.md` file, including the filename
|
|
131
|
+
*
|
|
132
|
+
* @example /workspaces/stencil-project/src/components/my-component/readme.md
|
|
133
|
+
*/
|
|
134
|
+
readmePath?: string;
|
|
135
|
+
/**
|
|
136
|
+
* The path to the component's `usage` directory
|
|
137
|
+
*
|
|
138
|
+
* @example /workspaces/stencil-project/src/components/my-component/usage/
|
|
139
|
+
*/
|
|
140
|
+
usagesDir?: string;
|
|
141
|
+
/**
|
|
142
|
+
* The encapsulation strategy for a component
|
|
143
|
+
*/
|
|
144
|
+
encapsulation: "shadow" | "scoped" | "none";
|
|
145
|
+
/**
|
|
146
|
+
* The tag name for the component, for use in HTML
|
|
147
|
+
*/
|
|
148
|
+
tag: string;
|
|
149
|
+
/**
|
|
150
|
+
* The contents of a component's `readme.md` that are user generated.
|
|
151
|
+
*
|
|
152
|
+
* Auto-generated contents are not stored in this reference.
|
|
153
|
+
*/
|
|
154
|
+
readme: string;
|
|
155
|
+
/**
|
|
156
|
+
* The description of a Stencil component, found in the JSDoc that sits above the component's declaration
|
|
157
|
+
*/
|
|
158
|
+
docs: string;
|
|
159
|
+
/**
|
|
160
|
+
* JSDoc tags found in the JSDoc comment written atop a component's declaration
|
|
161
|
+
*/
|
|
162
|
+
docsTags: JsonDocsTag[];
|
|
163
|
+
/**
|
|
164
|
+
* The text from the class-level JSDoc for a Stencil component, if present.
|
|
165
|
+
*/
|
|
166
|
+
overview?: string;
|
|
167
|
+
/**
|
|
168
|
+
* A mapping of usage example file names to their contents for the component.
|
|
169
|
+
*/
|
|
170
|
+
usage: JsonDocsUsage;
|
|
171
|
+
/**
|
|
172
|
+
* Array of metadata for a component's `@Prop`s
|
|
173
|
+
*/
|
|
174
|
+
props: JsonDocsProp[];
|
|
175
|
+
/**
|
|
176
|
+
* Array of metadata for a component's `@Method`s
|
|
177
|
+
*/
|
|
178
|
+
methods: JsonDocsMethod[];
|
|
179
|
+
/**
|
|
180
|
+
* Array of metadata for a component's `@Event`s
|
|
181
|
+
*/
|
|
182
|
+
events: JsonDocsEvent[];
|
|
183
|
+
/**
|
|
184
|
+
* Array of metadata for a component's `@Listen` handlers
|
|
185
|
+
*/
|
|
186
|
+
listeners: JsonDocsListener[];
|
|
187
|
+
/**
|
|
188
|
+
* Array of metadata for a component's CSS styling information
|
|
189
|
+
*/
|
|
190
|
+
styles: JsonDocsStyle[];
|
|
191
|
+
/**
|
|
192
|
+
* Array of component Slot information, generated from `@slot` tags
|
|
193
|
+
*/
|
|
194
|
+
slots: JsonDocsSlot[];
|
|
195
|
+
/**
|
|
196
|
+
* Array of component Parts information, generate from `@part` tags
|
|
197
|
+
*/
|
|
198
|
+
parts: JsonDocsPart[];
|
|
199
|
+
/**
|
|
200
|
+
* Array of metadata describing where the current component is used
|
|
201
|
+
*/
|
|
202
|
+
dependents: string[];
|
|
203
|
+
/**
|
|
204
|
+
* Array of metadata listing the components which are used in current component
|
|
205
|
+
*/
|
|
206
|
+
dependencies: string[];
|
|
207
|
+
/**
|
|
208
|
+
* Describes a tree of components coupling
|
|
209
|
+
*/
|
|
210
|
+
dependencyGraph: JsonDocsDependencyGraph;
|
|
211
|
+
/**
|
|
212
|
+
* A deprecation reason/description found following a `@deprecated` tag
|
|
213
|
+
*/
|
|
214
|
+
deprecation?: string;
|
|
155
215
|
}
|
|
156
216
|
export interface JsonDocsDependencyGraph {
|
|
157
|
-
|
|
217
|
+
[tagName: string]: string[];
|
|
158
218
|
}
|
|
159
219
|
/**
|
|
160
220
|
* A descriptor for a single JSDoc tag found in a block comment
|
|
161
221
|
*/
|
|
162
222
|
export interface JsonDocsTag {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
223
|
+
/**
|
|
224
|
+
* The tag name (immediately following the '@')
|
|
225
|
+
*/
|
|
226
|
+
name: string;
|
|
227
|
+
/**
|
|
228
|
+
* The description that immediately follows the tag name
|
|
229
|
+
*/
|
|
230
|
+
text?: string;
|
|
171
231
|
}
|
|
172
232
|
export interface JsonDocsValue {
|
|
173
|
-
|
|
174
|
-
|
|
233
|
+
value?: string;
|
|
234
|
+
type: string;
|
|
175
235
|
}
|
|
176
236
|
/**
|
|
177
237
|
* A mapping of file names to their contents.
|
|
@@ -194,109 +254,125 @@ export interface JsonDocsValue {
|
|
|
194
254
|
* ```
|
|
195
255
|
*/
|
|
196
256
|
export interface JsonDocsUsage {
|
|
197
|
-
|
|
257
|
+
[key: string]: string;
|
|
198
258
|
}
|
|
199
259
|
/**
|
|
200
260
|
* An intermediate representation of a `@Prop` decorated member's JSDoc
|
|
201
261
|
*/
|
|
202
262
|
export interface JsonDocsProp {
|
|
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
|
-
|
|
263
|
+
/**
|
|
264
|
+
* the name of the prop
|
|
265
|
+
*/
|
|
266
|
+
name: string;
|
|
267
|
+
complexType?: ComponentCompilerPropertyComplexType;
|
|
268
|
+
/**
|
|
269
|
+
* the type of the prop, in terms of the TypeScript type system (as opposed to JavaScript's or HTML's)
|
|
270
|
+
*/
|
|
271
|
+
type: string;
|
|
272
|
+
/**
|
|
273
|
+
* `true` if the prop was configured as "mutable" where it was declared, `false` otherwise
|
|
274
|
+
*/
|
|
275
|
+
mutable: boolean;
|
|
276
|
+
/**
|
|
277
|
+
* The name of the attribute that is exposed to configure a compiled web component
|
|
278
|
+
*/
|
|
279
|
+
attr?: string;
|
|
280
|
+
/**
|
|
281
|
+
* `true` if the prop was configured to "reflect" back to HTML where it (the prop) was declared, `false` otherwise
|
|
282
|
+
*/
|
|
283
|
+
reflectToAttr: boolean;
|
|
284
|
+
/**
|
|
285
|
+
* the JSDoc description text associated with the prop
|
|
286
|
+
*/
|
|
287
|
+
docs: string;
|
|
288
|
+
/**
|
|
289
|
+
* JSDoc tags associated with the prop
|
|
290
|
+
*/
|
|
291
|
+
docsTags: JsonDocsTag[];
|
|
292
|
+
/**
|
|
293
|
+
* The default value of the prop
|
|
294
|
+
*/
|
|
295
|
+
default?: string;
|
|
296
|
+
/**
|
|
297
|
+
* Deprecation text associated with the prop. This is the text that immediately follows a `@deprecated` tag
|
|
298
|
+
*/
|
|
299
|
+
deprecation?: string;
|
|
300
|
+
values: JsonDocsValue[];
|
|
301
|
+
/**
|
|
302
|
+
* `true` if a component is declared with a '?', `false` otherwise
|
|
303
|
+
*
|
|
304
|
+
* @example
|
|
305
|
+
* ```tsx
|
|
306
|
+
* @Prop() componentProps?: any;
|
|
307
|
+
* ```
|
|
308
|
+
*/
|
|
309
|
+
optional: boolean;
|
|
310
|
+
/**
|
|
311
|
+
* `true` if a component is declared with a '!', `false` otherwise
|
|
312
|
+
*
|
|
313
|
+
* @example
|
|
314
|
+
* ```tsx
|
|
315
|
+
* @Prop() componentProps!: any;
|
|
316
|
+
* ```
|
|
317
|
+
*/
|
|
318
|
+
required: boolean;
|
|
259
319
|
}
|
|
260
320
|
export interface JsonDocsMethod {
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
321
|
+
name: string;
|
|
322
|
+
docs: string;
|
|
323
|
+
docsTags: JsonDocsTag[];
|
|
324
|
+
deprecation?: string;
|
|
325
|
+
signature: string;
|
|
326
|
+
returns: JsonDocsMethodReturn;
|
|
327
|
+
parameters: JsonDocMethodParameter[];
|
|
328
|
+
complexType: ComponentCompilerMethodComplexType;
|
|
269
329
|
}
|
|
270
330
|
export interface JsonDocsMethodReturn {
|
|
271
|
-
|
|
272
|
-
|
|
331
|
+
type: string;
|
|
332
|
+
docs: string;
|
|
273
333
|
}
|
|
274
334
|
export interface JsonDocMethodParameter {
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
335
|
+
name: string;
|
|
336
|
+
type: string;
|
|
337
|
+
docs: string;
|
|
278
338
|
}
|
|
279
339
|
export interface JsonDocsEvent {
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
340
|
+
event: string;
|
|
341
|
+
bubbles: boolean;
|
|
342
|
+
cancelable: boolean;
|
|
343
|
+
composed: boolean;
|
|
344
|
+
complexType: ComponentCompilerEventComplexType;
|
|
345
|
+
docs: string;
|
|
346
|
+
docsTags: JsonDocsTag[];
|
|
347
|
+
deprecation?: string;
|
|
348
|
+
detail: string;
|
|
289
349
|
}
|
|
350
|
+
/**
|
|
351
|
+
* Type describing a CSS Style, as described by a JSDoc-style comment
|
|
352
|
+
*/
|
|
290
353
|
export interface JsonDocsStyle {
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
354
|
+
/**
|
|
355
|
+
* The name of the style
|
|
356
|
+
*/
|
|
357
|
+
name: string;
|
|
358
|
+
/**
|
|
359
|
+
* The type/description associated with the style
|
|
360
|
+
*/
|
|
361
|
+
docs: string;
|
|
362
|
+
/**
|
|
363
|
+
* The annotation used in the JSDoc of the style (e.g. `@prop`)
|
|
364
|
+
*/
|
|
365
|
+
annotation: string;
|
|
366
|
+
/**
|
|
367
|
+
* The mode associated with the style
|
|
368
|
+
*/
|
|
369
|
+
mode: string | undefined;
|
|
294
370
|
}
|
|
295
371
|
export interface JsonDocsListener {
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
372
|
+
event: string;
|
|
373
|
+
target?: string;
|
|
374
|
+
capture: boolean;
|
|
375
|
+
passive: boolean;
|
|
300
376
|
}
|
|
301
377
|
/**
|
|
302
378
|
* A descriptor for a slot
|
|
@@ -304,14 +380,14 @@ export interface JsonDocsListener {
|
|
|
304
380
|
* Objects of this type are translated from the JSDoc tag, `@slot`
|
|
305
381
|
*/
|
|
306
382
|
export interface JsonDocsSlot {
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
383
|
+
/**
|
|
384
|
+
* The name of the slot. Defaults to an empty string for an unnamed slot.
|
|
385
|
+
*/
|
|
386
|
+
name: string;
|
|
387
|
+
/**
|
|
388
|
+
* A textual description of the slot.
|
|
389
|
+
*/
|
|
390
|
+
docs: string;
|
|
315
391
|
}
|
|
316
392
|
/**
|
|
317
393
|
* A descriptor of a CSS Shadow Part
|
|
@@ -320,20 +396,40 @@ export interface JsonDocsSlot {
|
|
|
320
396
|
* attribute on a component in TSX
|
|
321
397
|
*/
|
|
322
398
|
export interface JsonDocsPart {
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
399
|
+
/**
|
|
400
|
+
* The name of the Shadow part
|
|
401
|
+
*/
|
|
402
|
+
name: string;
|
|
403
|
+
/**
|
|
404
|
+
* A textual description of the Shadow part.
|
|
405
|
+
*/
|
|
406
|
+
docs: string;
|
|
331
407
|
}
|
|
408
|
+
/**
|
|
409
|
+
* Represents a parsed block comment in a CSS, Sass, etc. file for a custom property.
|
|
410
|
+
*/
|
|
332
411
|
export interface StyleDoc {
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
412
|
+
/**
|
|
413
|
+
* The name of the CSS property
|
|
414
|
+
*/
|
|
415
|
+
name: string;
|
|
416
|
+
/**
|
|
417
|
+
* The user-defined description of the CSS property
|
|
418
|
+
*/
|
|
419
|
+
docs: string;
|
|
420
|
+
/**
|
|
421
|
+
* The JSDoc-style annotation (e.g. `@prop`) that was used in the block comment to detect the comment.
|
|
422
|
+
* Used to inform Stencil where the start of a new property's description starts (and where the previous description
|
|
423
|
+
* ends).
|
|
424
|
+
*/
|
|
425
|
+
annotation: "prop";
|
|
426
|
+
/**
|
|
427
|
+
* The Stencil style-mode that is associated with this property.
|
|
428
|
+
*/
|
|
429
|
+
mode: string | undefined;
|
|
336
430
|
}
|
|
337
431
|
|
|
432
|
+
export {};
|
|
433
|
+
|
|
338
434
|
declare const _default: JsonDocs;
|
|
339
435
|
export default _default;
|