@rededor/cura 0.5.1 → 0.5.3
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/dist/assets/icons/iconset-default-list.ts +1 -1
- package/dist/assets/icons/iconset-default-tmp.svg +4 -0
- package/dist/assets/icons/iconset-default.svg +1 -1
- package/dist/cjs/{app-globals-0e3b7fc6.js → app-globals-2988084b.js} +5 -5
- package/dist/cjs/app-globals-2988084b.js.map +1 -0
- package/dist/cjs/cura-accordion_8.cjs.entry.js +445 -0
- package/dist/cjs/cura-accordion_8.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-alert.cjs.entry.js +67 -0
- package/dist/cjs/cura-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-button-outline.cjs.entry.js +83 -0
- package/dist/cjs/cura-button-outline.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-button-select.cjs.entry.js +97 -0
- package/dist/cjs/cura-button-select.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-button-transparent.cjs.entry.js +83 -0
- package/dist/cjs/cura-button-transparent.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-checkbox.cjs.entry.js +144 -0
- package/dist/cjs/cura-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-display.cjs.entry.js +74 -0
- package/dist/cjs/cura-display.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-forms.definitions-11be2ebd.js +20 -0
- package/dist/cjs/cura-forms.definitions-11be2ebd.js.map +1 -0
- package/dist/cjs/cura-icon.definitions-b73b0178.js +21 -0
- package/dist/cjs/cura-icon.definitions-b73b0178.js.map +1 -0
- package/dist/cjs/cura-icons-view.cjs.entry.js +36 -0
- package/dist/cjs/cura-icons-view.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-input-text.cjs.entry.js +3907 -0
- package/dist/cjs/cura-input-text.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-label.cjs.entry.js +69 -0
- package/dist/cjs/cura-label.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-radio.cjs.entry.js +114 -0
- package/dist/cjs/cura-radio.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-switch.cjs.entry.js +89 -0
- package/dist/cjs/cura-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/cura.cjs.js +3 -3
- package/dist/cjs/{index-404d93e9.js → index-7616f620.js} +35 -1
- package/dist/cjs/index-7616f620.js.map +1 -0
- package/dist/cjs/index.cjs.js +7 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/api/cura-api.type.js.map +1 -1
- package/dist/collection/api/modules/cura-theme-breakpoints-module.js +1 -1
- package/dist/collection/api/modules/cura-theme-breakpoints-module.js.map +1 -1
- package/dist/collection/api/modules/cura-theme-colors-module.js +1 -1
- package/dist/collection/api/modules/cura-theme-colors-module.js.map +1 -1
- package/dist/collection/api/theme-presets/static.js +2 -2
- package/dist/collection/api/theme-presets/static.js.map +1 -1
- package/dist/collection/assets/icons/iconset-default-list.js +1 -1
- package/dist/collection/assets/icons/iconset-default-list.js.map +1 -1
- package/dist/collection/assets/icons/iconset-default-tmp.svg +4 -0
- package/dist/collection/assets/icons/iconset-default.svg +1 -1
- package/dist/collection/assets-raw/icons/default/swap.svg +3 -0
- package/dist/collection/collection-manifest.json +7 -0
- package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.css +10 -6
- package/dist/collection/components/buttons/cura-button/cura-button.css +4 -0
- package/dist/collection/components/buttons/cura-button/cura-button.stories.js +2 -2
- package/dist/collection/components/buttons/cura-button/cura-button.stories.js.map +1 -1
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.css +4 -0
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js +2 -2
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js.map +1 -1
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.css +139 -0
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.js +263 -0
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.js.map +1 -0
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.css +4 -0
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js +2 -2
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js.map +1 -1
- package/dist/collection/components/cura-alert/cura-alert.css +30 -0
- package/dist/collection/components/cura-alert/cura-alert.js +167 -0
- package/dist/collection/components/cura-alert/cura-alert.js.map +1 -0
- package/dist/collection/components/cura-alert/cura-alert.stories.js +95 -0
- package/dist/collection/components/cura-alert/cura-alert.stories.js.map +1 -0
- package/dist/collection/components/cura-icon/cura-icon.definitions.js +15 -0
- package/dist/collection/components/cura-icon/cura-icon.definitions.js.map +1 -0
- package/dist/collection/components/cura-icon/cura-icon.js +9 -16
- package/dist/collection/components/cura-icon/cura-icon.js.map +1 -1
- package/dist/collection/components/cura-icon/cura-icon.stories.js +7 -6
- package/dist/collection/components/cura-icon/cura-icon.stories.js.map +1 -1
- package/dist/collection/components/cura-icons-view/cura-icons-view.css +16 -17
- package/dist/collection/components/cura-icons-view/cura-icons-view.js +10 -3
- package/dist/collection/components/cura-icons-view/cura-icons-view.js.map +1 -1
- package/dist/collection/components/cura-page-template/cura-page-template.css +13 -9
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.css +163 -0
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +431 -0
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js.map +1 -0
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js +196 -0
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js.map +1 -0
- package/dist/collection/components/forms/cura-forms.definitions.js +15 -0
- package/dist/collection/components/forms/cura-forms.definitions.js.map +1 -0
- package/dist/collection/components/forms/cura-input-text/cura-input-text.css +326 -0
- package/dist/collection/components/forms/cura-input-text/cura-input-text.js +655 -0
- package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +1 -0
- package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js +224 -0
- package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js.map +1 -0
- package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js +46 -0
- package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js.map +1 -0
- package/dist/collection/components/forms/cura-label/cura-label.css +70 -0
- package/dist/collection/components/forms/cura-label/cura-label.js +190 -0
- package/dist/collection/components/forms/cura-label/cura-label.js.map +1 -0
- package/dist/collection/components/forms/cura-label/cura-label.stories.js +137 -0
- package/dist/collection/components/forms/cura-label/cura-label.stories.js.map +1 -0
- package/dist/collection/components/forms/cura-radio/cura-radio.css +146 -0
- package/dist/collection/components/forms/cura-radio/cura-radio.js +365 -0
- package/dist/collection/components/forms/cura-radio/cura-radio.js.map +1 -0
- package/dist/collection/components/forms/cura-radio/cura-radio.stories.js +175 -0
- package/dist/collection/components/forms/cura-radio/cura-radio.stories.js.map +1 -0
- package/dist/collection/components/forms/cura-switch/cura-switch.css +100 -0
- package/dist/collection/components/forms/cura-switch/cura-switch.js +266 -0
- package/dist/collection/components/forms/cura-switch/cura-switch.js.map +1 -0
- package/dist/collection/components/forms/cura-switch/cura-switch.stories.js +137 -0
- package/dist/collection/components/forms/cura-switch/cura-switch.stories.js.map +1 -0
- package/dist/collection/components/text/cura-display/cura-display.css +21 -38
- package/dist/collection/components/text/cura-display/cura-display.js +80 -49
- package/dist/collection/components/text/cura-display/cura-display.js.map +1 -1
- package/dist/collection/components/text/cura-display/cura-display.stories.js +78 -33
- package/dist/collection/components/text/cura-display/cura-display.stories.js.map +1 -1
- package/dist/collection/components/text/cura-heading/cura-heading.css +50 -24
- package/dist/collection/components/text/cura-heading/cura-heading.js +94 -39
- package/dist/collection/components/text/cura-heading/cura-heading.js.map +1 -1
- package/dist/collection/components/text/cura-heading/cura-heading.stories.js +92 -36
- package/dist/collection/components/text/cura-heading/cura-heading.stories.js.map +1 -1
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.css +37 -38
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +62 -41
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +1 -1
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js +78 -46
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js.map +1 -1
- package/dist/collection/index.js +3 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/components/cura-accordion-item.js +1 -1
- package/dist/components/cura-accordion-item.js.map +1 -1
- package/dist/components/cura-alert.d.ts +11 -0
- package/dist/components/cura-alert.js +105 -0
- package/dist/components/cura-alert.js.map +1 -0
- package/dist/components/cura-button-select.d.ts +11 -0
- package/dist/components/cura-button-select.js +127 -0
- package/dist/components/cura-button-select.js.map +1 -0
- package/dist/components/cura-checkbox.d.ts +11 -0
- package/dist/components/cura-checkbox.js +192 -0
- package/dist/components/cura-checkbox.js.map +1 -0
- package/dist/components/cura-display.js +41 -35
- package/dist/components/cura-display.js.map +1 -1
- package/dist/components/cura-forms.definitions.js +18 -0
- package/dist/components/cura-forms.definitions.js.map +1 -0
- package/dist/components/cura-heading.js +1 -87
- package/dist/components/cura-heading.js.map +1 -1
- package/dist/components/cura-heading2.js +104 -0
- package/dist/components/cura-heading2.js.map +1 -0
- package/dist/components/cura-icon2.js +24 -17
- package/dist/components/cura-icon2.js.map +1 -1
- package/dist/components/cura-icons-view.js +31 -7
- package/dist/components/cura-icons-view.js.map +1 -1
- package/dist/components/cura-input-text.d.ts +11 -0
- package/dist/components/cura-input-text.js +3961 -0
- package/dist/components/cura-input-text.js.map +1 -0
- package/dist/components/cura-label.d.ts +11 -0
- package/dist/components/cura-label.js +8 -0
- package/dist/components/cura-label.js.map +1 -0
- package/dist/components/cura-label2.js +88 -0
- package/dist/components/cura-label2.js.map +1 -0
- package/dist/components/cura-page-template.js +1 -1
- package/dist/components/cura-page-template.js.map +1 -1
- package/dist/components/cura-paragraph.js +1 -80
- package/dist/components/cura-paragraph.js.map +1 -1
- package/dist/components/cura-paragraph2.js +86 -0
- package/dist/components/cura-paragraph2.js.map +1 -0
- package/dist/components/cura-radio.d.ts +11 -0
- package/dist/components/cura-radio.js +154 -0
- package/dist/components/cura-radio.js.map +1 -0
- package/dist/components/cura-switch.d.ts +11 -0
- package/dist/components/cura-switch.js +119 -0
- package/dist/components/cura-switch.js.map +1 -0
- package/dist/components/index.js +23 -5
- package/dist/components/index.js.map +1 -1
- package/dist/cura/cura.esm.js +1 -1
- package/dist/cura/cura.esm.js.map +1 -1
- package/dist/cura/cura.js +1 -1
- package/dist/cura/index.esm.js +1 -1
- package/dist/cura/index.esm.js.map +1 -1
- package/dist/cura/p-120926c5.system.js +2 -0
- package/dist/cura/p-120926c5.system.js.map +1 -0
- package/dist/cura/p-1228e771.entry.js +2 -0
- package/dist/cura/p-1228e771.entry.js.map +1 -0
- package/dist/cura/p-2d42ccf4.entry.js +2 -0
- package/dist/cura/p-2d42ccf4.entry.js.map +1 -0
- package/dist/cura/p-3688570d.js +2 -0
- package/dist/cura/p-3688570d.js.map +1 -0
- package/dist/cura/p-36a83bc7.system.js +3 -0
- package/dist/cura/p-36a83bc7.system.js.map +1 -0
- package/dist/cura/p-3f3355f3.system.entry.js +2 -0
- package/dist/cura/p-3f3355f3.system.entry.js.map +1 -0
- package/dist/cura/p-48426f60.system.js +2 -0
- package/dist/cura/p-48426f60.system.js.map +1 -0
- package/dist/cura/p-4df84c9e.entry.js +2 -0
- package/dist/cura/p-4df84c9e.entry.js.map +1 -0
- package/dist/cura/p-70cefaf8.entry.js +2 -0
- package/dist/cura/p-70cefaf8.entry.js.map +1 -0
- package/dist/cura/p-72a9ed55.entry.js +2 -0
- package/dist/cura/p-72a9ed55.entry.js.map +1 -0
- package/dist/cura/p-75b2e4d1.system.entry.js +2 -0
- package/dist/cura/p-75b2e4d1.system.entry.js.map +1 -0
- package/dist/cura/p-880917c1.entry.js +2 -0
- package/dist/cura/p-880917c1.entry.js.map +1 -0
- package/dist/cura/p-9471c93e.system.entry.js +2 -0
- package/dist/cura/p-9471c93e.system.entry.js.map +1 -0
- package/dist/cura/p-98014544.entry.js +2 -0
- package/dist/cura/p-98014544.entry.js.map +1 -0
- package/dist/cura/p-98352c92.system.entry.js +2 -0
- package/dist/cura/p-98352c92.system.entry.js.map +1 -0
- package/dist/cura/p-a32889a4.system.js +2 -0
- package/dist/cura/p-a32889a4.system.js.map +1 -0
- package/dist/cura/p-a6d20c12.system.entry.js +2 -0
- package/dist/cura/p-a6d20c12.system.entry.js.map +1 -0
- package/dist/cura/p-ab8c9a8f.system.entry.js +2 -0
- package/dist/cura/p-ab8c9a8f.system.entry.js.map +1 -0
- package/dist/cura/p-ad194144.entry.js +2 -0
- package/dist/cura/p-ad194144.entry.js.map +1 -0
- package/dist/cura/p-b0e13882.system.entry.js +2 -0
- package/dist/cura/p-b0e13882.system.entry.js.map +1 -0
- package/dist/cura/p-ba66d7be.js +3 -0
- package/dist/cura/{p-c0c00396.system.js.map → p-ba66d7be.js.map} +1 -1
- package/dist/cura/p-bb3f9d05.entry.js +2 -0
- package/dist/cura/p-bb3f9d05.entry.js.map +1 -0
- package/dist/cura/p-c791725b.js +2 -0
- package/dist/cura/p-c791725b.js.map +1 -0
- package/dist/cura/p-c9afb94f.entry.js +2 -0
- package/dist/cura/p-c9afb94f.entry.js.map +1 -0
- package/dist/cura/p-d3f9c888.system.js +2 -0
- package/dist/cura/p-d3f9c888.system.js.map +1 -0
- package/dist/cura/p-e5e259fd.system.entry.js +2 -0
- package/dist/cura/p-e5e259fd.system.entry.js.map +1 -0
- package/dist/cura/p-edeffbfc.entry.js +2 -0
- package/dist/cura/p-edeffbfc.entry.js.map +1 -0
- package/dist/cura/p-eea5ca70.system.entry.js +2 -0
- package/dist/cura/p-eea5ca70.system.entry.js.map +1 -0
- package/dist/cura/p-f6e61abf.system.entry.js +2 -0
- package/dist/cura/p-f6e61abf.system.entry.js.map +1 -0
- package/dist/cura/p-f89f2ecc.system.entry.js +2 -0
- package/dist/cura/p-f89f2ecc.system.entry.js.map +1 -0
- package/dist/cura/p-f8fffdc1.js +2 -0
- package/dist/cura/p-f8fffdc1.js.map +1 -0
- package/dist/cura/p-fc4ba4ce.system.js +2 -0
- package/dist/cura/p-fc4ba4ce.system.js.map +1 -0
- package/dist/cura/p-fef52079.entry.js +2 -0
- package/dist/cura/p-fef52079.entry.js.map +1 -0
- package/dist/cura/p-ffd41520.system.entry.js +2 -0
- package/dist/cura/p-ffd41520.system.entry.js.map +1 -0
- package/dist/esm/{app-globals-cc003eaf.js → app-globals-29001758.js} +5 -5
- package/dist/esm/app-globals-29001758.js.map +1 -0
- package/dist/esm/cura-accordion_8.entry.js +434 -0
- package/dist/esm/cura-accordion_8.entry.js.map +1 -0
- package/dist/esm/cura-alert.entry.js +63 -0
- package/dist/esm/cura-alert.entry.js.map +1 -0
- package/dist/esm/cura-button-outline.entry.js +79 -0
- package/dist/esm/cura-button-outline.entry.js.map +1 -0
- package/dist/esm/cura-button-select.entry.js +93 -0
- package/dist/esm/cura-button-select.entry.js.map +1 -0
- package/dist/esm/cura-button-transparent.entry.js +79 -0
- package/dist/esm/cura-button-transparent.entry.js.map +1 -0
- package/dist/esm/cura-checkbox.entry.js +140 -0
- package/dist/esm/cura-checkbox.entry.js.map +1 -0
- package/dist/esm/cura-display.entry.js +70 -0
- package/dist/esm/cura-display.entry.js.map +1 -0
- package/dist/esm/cura-forms.definitions-0f774253.js +18 -0
- package/dist/esm/cura-forms.definitions-0f774253.js.map +1 -0
- package/dist/esm/cura-icon.definitions-a63d1862.js +18 -0
- package/dist/esm/cura-icon.definitions-a63d1862.js.map +1 -0
- package/dist/esm/cura-icons-view.entry.js +32 -0
- package/dist/esm/cura-icons-view.entry.js.map +1 -0
- package/dist/esm/cura-input-text.entry.js +3903 -0
- package/dist/esm/cura-input-text.entry.js.map +1 -0
- package/dist/esm/cura-label.entry.js +65 -0
- package/dist/esm/cura-label.entry.js.map +1 -0
- package/dist/esm/cura-radio.entry.js +110 -0
- package/dist/esm/cura-radio.entry.js.map +1 -0
- package/dist/esm/cura-switch.entry.js +85 -0
- package/dist/esm/cura-switch.entry.js.map +1 -0
- package/dist/esm/cura.js +4 -4
- package/dist/esm/{index-d99da69e.js → index-81f1a268.js} +35 -2
- package/dist/{esm-es5/index-d99da69e.js.map → esm/index-81f1a268.js.map} +1 -1
- package/dist/esm/index.js +4 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm-es5/app-globals-29001758.js +2 -0
- package/dist/esm-es5/app-globals-29001758.js.map +1 -0
- package/dist/esm-es5/cura-accordion_8.entry.js +2 -0
- package/dist/esm-es5/cura-accordion_8.entry.js.map +1 -0
- package/dist/esm-es5/cura-alert.entry.js +2 -0
- package/dist/esm-es5/cura-alert.entry.js.map +1 -0
- package/dist/esm-es5/cura-button-outline.entry.js +2 -0
- package/dist/esm-es5/cura-button-outline.entry.js.map +1 -0
- package/dist/esm-es5/cura-button-select.entry.js +2 -0
- package/dist/esm-es5/cura-button-select.entry.js.map +1 -0
- package/dist/esm-es5/cura-button-transparent.entry.js +2 -0
- package/dist/esm-es5/cura-button-transparent.entry.js.map +1 -0
- package/dist/esm-es5/cura-checkbox.entry.js +2 -0
- package/dist/esm-es5/cura-checkbox.entry.js.map +1 -0
- package/dist/esm-es5/cura-display.entry.js +2 -0
- package/dist/esm-es5/cura-display.entry.js.map +1 -0
- package/dist/esm-es5/cura-forms.definitions-0f774253.js +2 -0
- package/dist/esm-es5/cura-forms.definitions-0f774253.js.map +1 -0
- package/dist/esm-es5/cura-icon.definitions-a63d1862.js +2 -0
- package/dist/esm-es5/cura-icon.definitions-a63d1862.js.map +1 -0
- package/dist/esm-es5/cura-icons-view.entry.js +2 -0
- package/dist/esm-es5/cura-icons-view.entry.js.map +1 -0
- package/dist/esm-es5/cura-input-text.entry.js +2 -0
- package/dist/esm-es5/cura-input-text.entry.js.map +1 -0
- package/dist/esm-es5/cura-label.entry.js +2 -0
- package/dist/esm-es5/cura-label.entry.js.map +1 -0
- package/dist/esm-es5/cura-radio.entry.js +2 -0
- package/dist/esm-es5/cura-radio.entry.js.map +1 -0
- package/dist/esm-es5/cura-switch.entry.js +2 -0
- package/dist/esm-es5/cura-switch.entry.js.map +1 -0
- package/dist/esm-es5/cura.js +1 -1
- package/dist/esm-es5/cura.js.map +1 -1
- package/dist/esm-es5/index-81f1a268.js +3 -0
- package/dist/esm-es5/index-81f1a268.js.map +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/index.js.map +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/types/api/cura-api.type.d.ts +1 -0
- package/dist/types/components/buttons/cura-button/cura-button.d.ts +1 -1
- package/dist/types/components/buttons/cura-button-select/cura-button-select.d.ts +51 -0
- package/dist/types/components/cura-alert/cura-alert.d.ts +16 -0
- package/dist/types/components/cura-alert/cura-alert.stories.d.ts +79 -0
- package/dist/types/components/cura-icon/cura-icon.d.ts +0 -42
- package/dist/types/components/cura-icon/cura-icon.definitions.d.ts +47 -0
- package/dist/types/components/cura-icons-view/cura-icons-view.d.ts +2 -1
- package/dist/types/components/forms/cura-checkbox/cura-checkbox.d.ts +100 -0
- package/dist/types/components/forms/cura-checkbox/cura-checkbox.stories.d.ts +199 -0
- package/dist/types/components/forms/cura-forms.definitions.d.ts +14 -0
- package/dist/types/components/forms/cura-input-text/cura-input-text.d.ts +138 -0
- package/dist/types/components/forms/cura-input-text/cura-input-text.stories.d.ts +224 -0
- package/dist/types/components/forms/cura-input-text/mask-presets/input-mask-presets.d.ts +5 -0
- package/dist/types/components/forms/cura-label/cura-label.d.ts +54 -0
- package/dist/types/components/forms/cura-label/cura-label.stories.d.ts +126 -0
- package/dist/types/components/forms/cura-radio/cura-radio.d.ts +81 -0
- package/dist/types/components/forms/cura-radio/cura-radio.stories.d.ts +180 -0
- package/dist/types/components/forms/cura-switch/cura-switch.d.ts +62 -0
- package/dist/types/components/forms/cura-switch/cura-switch.stories.d.ts +135 -0
- package/dist/types/components/text/cura-display/cura-display.d.ts +29 -18
- package/dist/types/components/text/cura-display/cura-display.stories.d.ts +52 -14
- package/dist/types/components/text/cura-heading/cura-heading.d.ts +34 -17
- package/dist/types/components/text/cura-heading/cura-heading.stories.d.ts +58 -6
- package/dist/types/components/text/cura-paragraph/cura-paragraph.d.ts +24 -12
- package/dist/types/components/text/cura-paragraph/cura-paragraph.stories.d.ts +47 -9
- package/dist/types/components.d.ts +741 -46
- package/dist/types/index.d.ts +9 -0
- package/package.json +5 -6
- package/dist/cjs/app-globals-0e3b7fc6.js.map +0 -1
- package/dist/cjs/cura-accordion_12.cjs.entry.js +0 -674
- package/dist/cjs/cura-accordion_12.cjs.entry.js.map +0 -1
- package/dist/cjs/index-404d93e9.js.map +0 -1
- package/dist/cura/p-319699df.entry.js +0 -2
- package/dist/cura/p-319699df.entry.js.map +0 -1
- package/dist/cura/p-46d20db3.js +0 -3
- package/dist/cura/p-46d20db3.js.map +0 -1
- package/dist/cura/p-50ea2036.system.js +0 -2
- package/dist/cura/p-50ea2036.system.js.map +0 -1
- package/dist/cura/p-5250cb43.system.js +0 -2
- package/dist/cura/p-5250cb43.system.js.map +0 -1
- package/dist/cura/p-5cc3c8bd.system.entry.js +0 -2
- package/dist/cura/p-5cc3c8bd.system.entry.js.map +0 -1
- package/dist/cura/p-788e035b.system.js +0 -2
- package/dist/cura/p-788e035b.system.js.map +0 -1
- package/dist/cura/p-c0c00396.system.js +0 -3
- package/dist/cura/p-d5c64a5f.js +0 -2
- package/dist/cura/p-d5c64a5f.js.map +0 -1
- package/dist/esm/app-globals-cc003eaf.js.map +0 -1
- package/dist/esm/cura-accordion_12.entry.js +0 -659
- package/dist/esm/cura-accordion_12.entry.js.map +0 -1
- package/dist/esm/index-d99da69e.js.map +0 -1
- package/dist/esm-es5/app-globals-cc003eaf.js +0 -2
- package/dist/esm-es5/app-globals-cc003eaf.js.map +0 -1
- package/dist/esm-es5/cura-accordion_12.entry.js +0 -2
- package/dist/esm-es5/cura-accordion_12.entry.js.map +0 -1
- package/dist/esm-es5/index-d99da69e.js +0 -3
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
export declare class CuraSwitch {
|
|
3
|
+
/**
|
|
4
|
+
* Indicates whether the switch is checked or not.
|
|
5
|
+
*/
|
|
6
|
+
checked: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Indicates whether the switch is disabled or not.
|
|
9
|
+
*/
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The label text to display next to the switch.
|
|
13
|
+
*/
|
|
14
|
+
label: string;
|
|
15
|
+
/**
|
|
16
|
+
* Tab index for the switch element.
|
|
17
|
+
* Reflects as an HTML attribute.
|
|
18
|
+
*/
|
|
19
|
+
ontabindex: number;
|
|
20
|
+
/**
|
|
21
|
+
* Position of the label relative to the switch.
|
|
22
|
+
* Can be 'left' or 'right'.
|
|
23
|
+
*/
|
|
24
|
+
position: "left" | "right";
|
|
25
|
+
/**
|
|
26
|
+
* Size of the switch.
|
|
27
|
+
* Can be 'small', 'medium', or 'large'.
|
|
28
|
+
*/
|
|
29
|
+
size: 'small' | 'medium' | 'large';
|
|
30
|
+
/**
|
|
31
|
+
* Background style of the switch.
|
|
32
|
+
* Can be 'dark' or 'light'.
|
|
33
|
+
*/
|
|
34
|
+
background: 'dark' | 'light';
|
|
35
|
+
/**
|
|
36
|
+
* Accent color of the switch.
|
|
37
|
+
*/
|
|
38
|
+
color: string;
|
|
39
|
+
styles: {};
|
|
40
|
+
onchange: EventEmitter<{
|
|
41
|
+
checked: boolean;
|
|
42
|
+
}>;
|
|
43
|
+
sizes: {
|
|
44
|
+
large: {
|
|
45
|
+
size: number;
|
|
46
|
+
};
|
|
47
|
+
medium: {
|
|
48
|
+
size: number;
|
|
49
|
+
};
|
|
50
|
+
small: {
|
|
51
|
+
size: number;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
isDarkbackground: () => boolean;
|
|
55
|
+
sizeHandler(): void;
|
|
56
|
+
setColors(): void;
|
|
57
|
+
connectedCallback(): void;
|
|
58
|
+
toggleSwitch: () => any;
|
|
59
|
+
assignColor(colorDark: string, colorLight: string): string;
|
|
60
|
+
getClasses(): {};
|
|
61
|
+
render(): any;
|
|
62
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
render: ({ label, message, ...args }: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
label: any;
|
|
7
|
+
message: any;
|
|
8
|
+
}) => string;
|
|
9
|
+
argTypes: {
|
|
10
|
+
label: {
|
|
11
|
+
control: string;
|
|
12
|
+
description: string;
|
|
13
|
+
name: string;
|
|
14
|
+
table: {
|
|
15
|
+
category: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
message: {
|
|
19
|
+
control: string;
|
|
20
|
+
description: string;
|
|
21
|
+
name: string;
|
|
22
|
+
table: {
|
|
23
|
+
category: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
checked: {
|
|
27
|
+
control: string;
|
|
28
|
+
description: string;
|
|
29
|
+
table: {
|
|
30
|
+
category: string;
|
|
31
|
+
defaultValue: {
|
|
32
|
+
summary: boolean;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
disabled: {
|
|
37
|
+
control: string;
|
|
38
|
+
description: string;
|
|
39
|
+
table: {
|
|
40
|
+
category: string;
|
|
41
|
+
defaultValue: {
|
|
42
|
+
summary: boolean;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
ontabindex: {
|
|
47
|
+
control: string;
|
|
48
|
+
description: string;
|
|
49
|
+
table: {
|
|
50
|
+
category: string;
|
|
51
|
+
defaultValue: {
|
|
52
|
+
summary: number;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
name: string;
|
|
56
|
+
};
|
|
57
|
+
position: {
|
|
58
|
+
control: {
|
|
59
|
+
type: string;
|
|
60
|
+
};
|
|
61
|
+
options: string[];
|
|
62
|
+
description: string;
|
|
63
|
+
table: {
|
|
64
|
+
category: string;
|
|
65
|
+
defaultValue: {
|
|
66
|
+
summary: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
name: string;
|
|
70
|
+
};
|
|
71
|
+
size: {
|
|
72
|
+
control: {
|
|
73
|
+
type: string;
|
|
74
|
+
};
|
|
75
|
+
options: string[];
|
|
76
|
+
description: string;
|
|
77
|
+
table: {
|
|
78
|
+
category: string;
|
|
79
|
+
defaultValue: {
|
|
80
|
+
summary: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
background: {
|
|
85
|
+
control: {
|
|
86
|
+
type: string;
|
|
87
|
+
};
|
|
88
|
+
options: string[];
|
|
89
|
+
description: string;
|
|
90
|
+
table: {
|
|
91
|
+
category: string;
|
|
92
|
+
defaultValue: {
|
|
93
|
+
summary: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
color: {
|
|
98
|
+
control: {
|
|
99
|
+
type: string;
|
|
100
|
+
};
|
|
101
|
+
options: string[];
|
|
102
|
+
description: string;
|
|
103
|
+
table: {
|
|
104
|
+
category: string;
|
|
105
|
+
defaultValue: {
|
|
106
|
+
summary: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
onchange: {
|
|
111
|
+
control: string;
|
|
112
|
+
description: string;
|
|
113
|
+
table: {
|
|
114
|
+
category: string;
|
|
115
|
+
defaultValue: {
|
|
116
|
+
summary: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
export default _default;
|
|
123
|
+
export declare const CuraSwitchStory: {
|
|
124
|
+
args: {
|
|
125
|
+
label: string;
|
|
126
|
+
color: string;
|
|
127
|
+
message: string;
|
|
128
|
+
checked: boolean;
|
|
129
|
+
size: string;
|
|
130
|
+
disabled: boolean;
|
|
131
|
+
position: string;
|
|
132
|
+
background: string;
|
|
133
|
+
ontabindex: number;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
@@ -1,38 +1,49 @@
|
|
|
1
1
|
export declare class CuraDisplay {
|
|
2
2
|
/**
|
|
3
|
-
* Heading level for semantics.
|
|
4
|
-
* Values: 1(default)
|
|
3
|
+
* Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ...
|
|
4
|
+
* Values: 1(default) to 6.
|
|
5
5
|
*/
|
|
6
|
-
level:
|
|
6
|
+
level: 1 | 2 | 3 | 4 | 5 | 6;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* Values:
|
|
8
|
+
* Apply design system color to interactive elements like <a> and <abbr> inside the text.
|
|
9
|
+
* Values: Color from design system scheme. Default to 'accent-dark'.
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
spotColor: string;
|
|
12
12
|
/**
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
* Text color.
|
|
14
|
+
* Values: Color from design system scheme. Default to the font color from the theme.
|
|
15
|
+
*/
|
|
16
|
+
color: string;
|
|
17
|
+
handleChangeColor(): void;
|
|
17
18
|
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
* CSS margin-block property values.
|
|
20
|
+
* Default to 1.25em
|
|
21
|
+
*/
|
|
22
|
+
marginBlock: string;
|
|
23
|
+
/**
|
|
24
|
+
* CSS line-height property values.
|
|
25
|
+
* Default to 140%
|
|
26
|
+
*/
|
|
27
|
+
lineHeight: string;
|
|
22
28
|
/**
|
|
23
|
-
* Host element <cura-
|
|
29
|
+
* Host element <cura-display>
|
|
24
30
|
*/
|
|
25
31
|
host: HTMLElement;
|
|
26
32
|
/**
|
|
27
33
|
* Internal Props
|
|
28
34
|
*/
|
|
29
35
|
weights: any;
|
|
30
|
-
|
|
36
|
+
fontSizeBase: string;
|
|
37
|
+
theme: import("../../../api/cura-api.type").APIThemeFunctions;
|
|
38
|
+
styles: {};
|
|
31
39
|
connectedCallback(): void;
|
|
32
|
-
getClasses(): {};
|
|
33
40
|
setFontProperties(): void;
|
|
41
|
+
hostCSSProperties(): {
|
|
42
|
+
'--margin-block': string;
|
|
43
|
+
'--font-size-base': string;
|
|
44
|
+
'--line-height': string;
|
|
45
|
+
};
|
|
34
46
|
setColors(): void;
|
|
35
|
-
setHostProperty(prop: string, value: string): void;
|
|
36
47
|
getHeadingTag(): any;
|
|
37
48
|
render(): any;
|
|
38
49
|
}
|
|
@@ -11,17 +11,7 @@ declare const _default: {
|
|
|
11
11
|
description: string;
|
|
12
12
|
name: string;
|
|
13
13
|
};
|
|
14
|
-
|
|
15
|
-
control: string;
|
|
16
|
-
description: string;
|
|
17
|
-
table: {
|
|
18
|
-
category: string;
|
|
19
|
-
defaultValue: {
|
|
20
|
-
summary: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
size: {
|
|
14
|
+
color: {
|
|
25
15
|
control: {
|
|
26
16
|
type: string;
|
|
27
17
|
};
|
|
@@ -40,6 +30,7 @@ declare const _default: {
|
|
|
40
30
|
};
|
|
41
31
|
options: string[];
|
|
42
32
|
description: string;
|
|
33
|
+
name: string;
|
|
43
34
|
table: {
|
|
44
35
|
category: string;
|
|
45
36
|
defaultValue: {
|
|
@@ -55,6 +46,50 @@ declare const _default: {
|
|
|
55
46
|
step: number;
|
|
56
47
|
};
|
|
57
48
|
description: string;
|
|
49
|
+
table: {
|
|
50
|
+
category: string;
|
|
51
|
+
defaultValue: {
|
|
52
|
+
summary: number;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
marginBlock: {
|
|
57
|
+
control: string;
|
|
58
|
+
description: string;
|
|
59
|
+
name: string;
|
|
60
|
+
table: {
|
|
61
|
+
category: string;
|
|
62
|
+
defaultValue: {
|
|
63
|
+
summary: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
lineHeight: {
|
|
68
|
+
control: string;
|
|
69
|
+
description: string;
|
|
70
|
+
name: string;
|
|
71
|
+
table: {
|
|
72
|
+
category: string;
|
|
73
|
+
defaultValue: {
|
|
74
|
+
summary: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
cssMarginBlock: {
|
|
79
|
+
control: string;
|
|
80
|
+
description: string;
|
|
81
|
+
name: string;
|
|
82
|
+
table: {
|
|
83
|
+
category: string;
|
|
84
|
+
defaultValue: {
|
|
85
|
+
summary: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
cssLineHeight: {
|
|
90
|
+
control: string;
|
|
91
|
+
description: string;
|
|
92
|
+
name: string;
|
|
58
93
|
table: {
|
|
59
94
|
category: string;
|
|
60
95
|
defaultValue: {
|
|
@@ -68,9 +103,12 @@ export default _default;
|
|
|
68
103
|
export declare const Display: {
|
|
69
104
|
args: {
|
|
70
105
|
label: string;
|
|
71
|
-
|
|
72
|
-
|
|
106
|
+
level: string;
|
|
107
|
+
color: string;
|
|
73
108
|
spotColor: string;
|
|
74
|
-
|
|
109
|
+
marginBlock: string;
|
|
110
|
+
lineHeight: string;
|
|
111
|
+
cssMarginBlock: string;
|
|
112
|
+
cssLineHeight: string;
|
|
75
113
|
};
|
|
76
114
|
};
|
|
@@ -1,29 +1,40 @@
|
|
|
1
1
|
export declare class CuraHeading {
|
|
2
2
|
/**
|
|
3
|
-
* Heading level for semantics.
|
|
4
|
-
* Values: 1(default)
|
|
3
|
+
* Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ...
|
|
4
|
+
* Values: 1(default) to 6.
|
|
5
5
|
*/
|
|
6
|
-
level:
|
|
6
|
+
level: 1 | 2 | 3 | 4 | 5 | 6;
|
|
7
7
|
/**
|
|
8
8
|
* Heading style size.
|
|
9
|
-
* Values: small |
|
|
9
|
+
* Values: regular (deprecated), medium (default) | large | small | caption (deprecated) | xsmall.
|
|
10
10
|
*/
|
|
11
|
-
size:
|
|
11
|
+
size: 'regular' | 'medium' | 'large' | 'small' | 'caption' | 'xsmall';
|
|
12
12
|
/**
|
|
13
|
-
* Heading font weight.
|
|
14
|
-
* Values: regular(default) | bold.
|
|
13
|
+
* Heading font weight. It is possible to use regular HTML tags like <b> or <strong> as well.
|
|
14
|
+
* Values: regular (default) | bold.
|
|
15
15
|
*/
|
|
16
|
-
weight:
|
|
16
|
+
weight: 'regular' | 'bold';
|
|
17
17
|
/**
|
|
18
|
-
* Apply
|
|
19
|
-
* Values:
|
|
20
|
-
*/
|
|
21
|
-
inverted: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Apply base system color to elements like <a> and <abbr>.
|
|
24
|
-
* Values: String primary(default) | secondary | accent | neutral | success | error | warning | info.
|
|
18
|
+
* Apply design system color to interactive elements like <a> and <abbr> inside the text.
|
|
19
|
+
* Values: Color from design system scheme. Default to 'accent-dark'.
|
|
25
20
|
*/
|
|
26
21
|
spotColor: string;
|
|
22
|
+
/**
|
|
23
|
+
* Text color.
|
|
24
|
+
* Values: Color from design system scheme. Default to the font color from the theme.
|
|
25
|
+
*/
|
|
26
|
+
color: string;
|
|
27
|
+
handleChangeColor(): void;
|
|
28
|
+
/**
|
|
29
|
+
* CSS margin-block property values.
|
|
30
|
+
* Default to 1.25em
|
|
31
|
+
*/
|
|
32
|
+
marginBlock: string;
|
|
33
|
+
/**
|
|
34
|
+
* CSS line-height property values.
|
|
35
|
+
* Default to 140%
|
|
36
|
+
*/
|
|
37
|
+
lineHeight: string;
|
|
27
38
|
/**
|
|
28
39
|
* Host element <cura-heading>
|
|
29
40
|
*/
|
|
@@ -32,12 +43,18 @@ export declare class CuraHeading {
|
|
|
32
43
|
* Internal Props
|
|
33
44
|
*/
|
|
34
45
|
weights: any;
|
|
35
|
-
|
|
46
|
+
fontSizeBase: string;
|
|
47
|
+
styles: {};
|
|
48
|
+
theme: import("../../../api/cura-api.type").APIThemeFunctions;
|
|
36
49
|
connectedCallback(): void;
|
|
37
50
|
getClasses(): {};
|
|
38
51
|
setFontProperties(): void;
|
|
52
|
+
hostCSSProperties(): {
|
|
53
|
+
'--margin-block': string;
|
|
54
|
+
'--font-size-base': string;
|
|
55
|
+
'--line-height': string;
|
|
56
|
+
};
|
|
39
57
|
setColors(): void;
|
|
40
|
-
setHostProperty(prop: string, value: string): void;
|
|
41
58
|
getHeadingTag(): any;
|
|
42
59
|
render(): any;
|
|
43
60
|
}
|
|
@@ -11,8 +11,11 @@ declare const _default: {
|
|
|
11
11
|
description: string;
|
|
12
12
|
name: string;
|
|
13
13
|
};
|
|
14
|
-
|
|
15
|
-
control:
|
|
14
|
+
size: {
|
|
15
|
+
control: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
options: string[];
|
|
16
19
|
description: string;
|
|
17
20
|
table: {
|
|
18
21
|
category: string;
|
|
@@ -21,7 +24,7 @@ declare const _default: {
|
|
|
21
24
|
};
|
|
22
25
|
};
|
|
23
26
|
};
|
|
24
|
-
|
|
27
|
+
weight: {
|
|
25
28
|
control: {
|
|
26
29
|
type: string;
|
|
27
30
|
};
|
|
@@ -34,7 +37,7 @@ declare const _default: {
|
|
|
34
37
|
};
|
|
35
38
|
};
|
|
36
39
|
};
|
|
37
|
-
|
|
40
|
+
color: {
|
|
38
41
|
control: {
|
|
39
42
|
type: string;
|
|
40
43
|
};
|
|
@@ -53,6 +56,7 @@ declare const _default: {
|
|
|
53
56
|
};
|
|
54
57
|
options: string[];
|
|
55
58
|
description: string;
|
|
59
|
+
name: string;
|
|
56
60
|
table: {
|
|
57
61
|
category: string;
|
|
58
62
|
defaultValue: {
|
|
@@ -68,6 +72,50 @@ declare const _default: {
|
|
|
68
72
|
step: number;
|
|
69
73
|
};
|
|
70
74
|
description: string;
|
|
75
|
+
table: {
|
|
76
|
+
category: string;
|
|
77
|
+
defaultValue: {
|
|
78
|
+
summary: number;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
marginBlock: {
|
|
83
|
+
control: string;
|
|
84
|
+
description: string;
|
|
85
|
+
name: string;
|
|
86
|
+
table: {
|
|
87
|
+
category: string;
|
|
88
|
+
defaultValue: {
|
|
89
|
+
summary: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
lineHeight: {
|
|
94
|
+
control: string;
|
|
95
|
+
description: string;
|
|
96
|
+
name: string;
|
|
97
|
+
table: {
|
|
98
|
+
category: string;
|
|
99
|
+
defaultValue: {
|
|
100
|
+
summary: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
cssMarginBlock: {
|
|
105
|
+
control: string;
|
|
106
|
+
description: string;
|
|
107
|
+
name: string;
|
|
108
|
+
table: {
|
|
109
|
+
category: string;
|
|
110
|
+
defaultValue: {
|
|
111
|
+
summary: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
cssLineHeight: {
|
|
116
|
+
control: string;
|
|
117
|
+
description: string;
|
|
118
|
+
name: string;
|
|
71
119
|
table: {
|
|
72
120
|
category: string;
|
|
73
121
|
defaultValue: {
|
|
@@ -83,8 +131,12 @@ export declare const Heading: {
|
|
|
83
131
|
label: string;
|
|
84
132
|
size: string;
|
|
85
133
|
weight: string;
|
|
86
|
-
level:
|
|
134
|
+
level: string;
|
|
135
|
+
color: string;
|
|
87
136
|
spotColor: string;
|
|
88
|
-
|
|
137
|
+
marginBlock: string;
|
|
138
|
+
lineHeight: string;
|
|
139
|
+
cssMarginBlock: string;
|
|
140
|
+
cssLineHeight: string;
|
|
89
141
|
};
|
|
90
142
|
};
|
|
@@ -1,24 +1,30 @@
|
|
|
1
1
|
export declare class CuraParagraph {
|
|
2
2
|
/**
|
|
3
3
|
* Set size of body text.
|
|
4
|
-
* Values: regular (default) | large | small | caption.
|
|
4
|
+
* Values: regular (deprecated), medium (default) | large | small | caption (deprecated) | xsmall.
|
|
5
5
|
*/
|
|
6
|
-
size: 'regular' | 'large' | 'small' | 'caption';
|
|
6
|
+
size: 'regular' | 'medium' | 'large' | 'small' | 'caption' | 'xsmall';
|
|
7
7
|
/**
|
|
8
|
-
* Apply
|
|
9
|
-
* Values:
|
|
10
|
-
*/
|
|
11
|
-
inverted: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Apply base system color to elements like <a> and <abbr>.
|
|
14
|
-
* Values: String primary(default) | secondary | accent | neutral | success | error | warning | info.
|
|
8
|
+
* Apply design system color to interactive elements like <a> and <abbr> inside the text.
|
|
9
|
+
* Values: Color from design system scheme. Default to 'accent-dark'.
|
|
15
10
|
*/
|
|
16
11
|
spotColor: string;
|
|
17
12
|
/**
|
|
18
|
-
*
|
|
13
|
+
* Text color.
|
|
14
|
+
* Values: Color from design system scheme. Default to the font color from the theme.
|
|
19
15
|
*/
|
|
20
|
-
color:
|
|
16
|
+
color: string;
|
|
21
17
|
handleChangeColor(): void;
|
|
18
|
+
/**
|
|
19
|
+
* CSS margin-block property values.
|
|
20
|
+
* Default to 1.25em
|
|
21
|
+
*/
|
|
22
|
+
marginBlock: string;
|
|
23
|
+
/**
|
|
24
|
+
* CSS line-height property values.
|
|
25
|
+
* Default to 140%
|
|
26
|
+
*/
|
|
27
|
+
lineHeight: string;
|
|
22
28
|
/**
|
|
23
29
|
* Host element <cura-paragraph>
|
|
24
30
|
*/
|
|
@@ -27,11 +33,17 @@ export declare class CuraParagraph {
|
|
|
27
33
|
* Internal Props
|
|
28
34
|
*/
|
|
29
35
|
weights: any;
|
|
36
|
+
fontSizeBase: string;
|
|
30
37
|
styles: {};
|
|
38
|
+
theme: import("../../../api/cura-api.type").APIThemeFunctions;
|
|
31
39
|
connectedCallback(): void;
|
|
32
40
|
setsizeClass(): {};
|
|
33
41
|
setFontProperties(): void;
|
|
34
42
|
setColors(): void;
|
|
35
|
-
|
|
43
|
+
hostCSSProperties(): {
|
|
44
|
+
'--margin-block': string;
|
|
45
|
+
'--font-size-base': string;
|
|
46
|
+
'--line-height': string;
|
|
47
|
+
};
|
|
36
48
|
render(): any;
|
|
37
49
|
}
|
|
@@ -11,8 +11,11 @@ declare const _default: {
|
|
|
11
11
|
description: string;
|
|
12
12
|
name: string;
|
|
13
13
|
};
|
|
14
|
-
|
|
15
|
-
control:
|
|
14
|
+
size: {
|
|
15
|
+
control: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
options: string[];
|
|
16
19
|
description: string;
|
|
17
20
|
table: {
|
|
18
21
|
category: string;
|
|
@@ -21,7 +24,7 @@ declare const _default: {
|
|
|
21
24
|
};
|
|
22
25
|
};
|
|
23
26
|
};
|
|
24
|
-
|
|
27
|
+
color: {
|
|
25
28
|
control: {
|
|
26
29
|
type: string;
|
|
27
30
|
};
|
|
@@ -40,6 +43,7 @@ declare const _default: {
|
|
|
40
43
|
};
|
|
41
44
|
options: string[];
|
|
42
45
|
description: string;
|
|
46
|
+
name: string;
|
|
43
47
|
table: {
|
|
44
48
|
category: string;
|
|
45
49
|
defaultValue: {
|
|
@@ -47,12 +51,43 @@ declare const _default: {
|
|
|
47
51
|
};
|
|
48
52
|
};
|
|
49
53
|
};
|
|
50
|
-
|
|
51
|
-
control:
|
|
52
|
-
|
|
54
|
+
marginBlock: {
|
|
55
|
+
control: string;
|
|
56
|
+
description: string;
|
|
57
|
+
name: string;
|
|
58
|
+
table: {
|
|
59
|
+
category: string;
|
|
60
|
+
defaultValue: {
|
|
61
|
+
summary: string;
|
|
62
|
+
};
|
|
53
63
|
};
|
|
54
|
-
|
|
64
|
+
};
|
|
65
|
+
lineHeight: {
|
|
66
|
+
control: string;
|
|
55
67
|
description: string;
|
|
68
|
+
name: string;
|
|
69
|
+
table: {
|
|
70
|
+
category: string;
|
|
71
|
+
defaultValue: {
|
|
72
|
+
summary: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
cssMarginBlock: {
|
|
77
|
+
control: string;
|
|
78
|
+
description: string;
|
|
79
|
+
name: string;
|
|
80
|
+
table: {
|
|
81
|
+
category: string;
|
|
82
|
+
defaultValue: {
|
|
83
|
+
summary: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
cssLineHeight: {
|
|
88
|
+
control: string;
|
|
89
|
+
description: string;
|
|
90
|
+
name: string;
|
|
56
91
|
table: {
|
|
57
92
|
category: string;
|
|
58
93
|
defaultValue: {
|
|
@@ -67,8 +102,11 @@ export declare const Paragraph: {
|
|
|
67
102
|
args: {
|
|
68
103
|
label: string;
|
|
69
104
|
size: string;
|
|
70
|
-
spotColor: string;
|
|
71
|
-
inverted: boolean;
|
|
72
105
|
color: string;
|
|
106
|
+
spotColor: string;
|
|
107
|
+
marginBlock: string;
|
|
108
|
+
lineHeight: string;
|
|
109
|
+
cssMarginBlock: string;
|
|
110
|
+
cssLineHeight: string;
|
|
73
111
|
};
|
|
74
112
|
};
|