@rededor/cura 0.3.6 → 0.3.8
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/cjs/{app-globals-a41d7f40.js → app-globals-ecab0d49.js} +43 -80
- package/dist/cjs/app-globals-ecab0d49.js.map +1 -0
- package/dist/cjs/cura-button_9.cjs.entry.js +519 -0
- package/dist/cjs/cura-button_9.cjs.entry.js.map +1 -0
- package/dist/cjs/cura.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/api/modules/cura-theme-colors-module.js +7 -2
- package/dist/collection/api/modules/cura-theme-colors-module.js.map +1 -1
- package/dist/collection/api/theme-presets/static.js +20 -62
- package/dist/collection/api/theme-presets/static.js.map +1 -1
- package/dist/collection/api/theme-presets/theme-maternity.js +15 -15
- package/dist/collection/api/theme-presets/theme-maternity.js.map +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/buttons/cura-button/cura-button.css +128 -125
- package/dist/collection/components/buttons/cura-button/cura-button.js +36 -33
- package/dist/collection/components/buttons/cura-button/cura-button.js.map +1 -1
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.css +220 -0
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js +308 -0
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js.map +1 -0
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.css +204 -0
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +308 -0
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js.map +1 -0
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.css +33 -0
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +77 -0
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js.map +1 -0
- package/dist/collection/components/text/cura-display/cura-display.js +3 -3
- package/dist/collection/components/text/cura-display/cura-display.js.map +1 -1
- package/dist/collection/components/text/cura-heading/cura-heading.js +3 -3
- package/dist/collection/components/text/cura-heading/cura-heading.js.map +1 -1
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +3 -3
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +1 -1
- package/dist/components/cura-button-outline.d.ts +11 -0
- package/dist/components/cura-button-outline.js +123 -0
- package/dist/components/cura-button-outline.js.map +1 -0
- package/dist/components/cura-button-transparent.d.ts +11 -0
- package/dist/components/cura-button-transparent.js +123 -0
- package/dist/components/cura-button-transparent.js.map +1 -0
- package/dist/components/cura-button.js +28 -18
- package/dist/components/cura-button.js.map +1 -1
- package/dist/components/cura-display.js +3 -3
- package/dist/components/cura-display.js.map +1 -1
- package/dist/components/cura-heading.js +3 -3
- package/dist/components/cura-heading.js.map +1 -1
- package/dist/components/cura-loader-circle.d.ts +11 -0
- package/dist/components/cura-loader-circle.js +8 -0
- package/dist/components/cura-loader-circle.js.map +1 -0
- package/dist/components/cura-loader-circle2.js +51 -0
- package/dist/components/cura-loader-circle2.js.map +1 -0
- package/dist/components/cura-paragraph.js +3 -3
- package/dist/components/cura-paragraph.js.map +1 -1
- package/dist/components/index.js +48 -79
- 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/p-25345c98.system.entry.js +2 -0
- package/dist/cura/p-25345c98.system.entry.js.map +1 -0
- package/dist/cura/p-57041fe8.js +2 -0
- package/dist/cura/p-57041fe8.js.map +1 -0
- package/dist/cura/p-ae80dcbd.system.js +2 -0
- package/dist/cura/p-ae80dcbd.system.js.map +1 -0
- package/dist/cura/p-bb730a40.entry.js +2 -0
- package/dist/cura/p-bb730a40.entry.js.map +1 -0
- package/dist/cura/p-fb838a73.system.js +2 -0
- package/dist/cura/p-fb838a73.system.js.map +1 -0
- package/dist/esm/{app-globals-8ed931e6.js → app-globals-51eaad0e.js} +43 -80
- package/dist/esm/app-globals-51eaad0e.js.map +1 -0
- package/dist/esm/cura-button_9.entry.js +507 -0
- package/dist/esm/cura-button_9.entry.js.map +1 -0
- package/dist/esm/cura.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm-es5/app-globals-51eaad0e.js +2 -0
- package/dist/esm-es5/app-globals-51eaad0e.js.map +1 -0
- package/dist/esm-es5/cura-button_9.entry.js +2 -0
- package/dist/esm-es5/cura-button_9.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/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/types/api/theme-presets/static.d.ts +20 -40
- package/dist/types/components/buttons/cura-button/cura-button.d.ts +6 -4
- package/dist/types/components/buttons/cura-button-outline/cura-button-outline.d.ts +61 -0
- package/dist/types/components/buttons/cura-button-transparent/cura-button-transparent.d.ts +61 -0
- package/dist/types/components/loaders/cura-loader-circle/cura-loader-circle.d.ts +23 -0
- package/dist/types/components.d.ts +251 -4
- package/package.json +2 -2
- package/dist/cjs/app-globals-a41d7f40.js.map +0 -1
- package/dist/cjs/cura-button_6.cjs.entry.js +0 -336
- package/dist/cjs/cura-button_6.cjs.entry.js.map +0 -1
- package/dist/cura/p-36c8b693.system.js +0 -2
- package/dist/cura/p-36c8b693.system.js.map +0 -1
- package/dist/cura/p-4e3b7ddf.entry.js +0 -2
- package/dist/cura/p-4e3b7ddf.entry.js.map +0 -1
- package/dist/cura/p-4fc49972.system.js +0 -2
- package/dist/cura/p-4fc49972.system.js.map +0 -1
- package/dist/cura/p-8cd9f935.system.entry.js +0 -2
- package/dist/cura/p-8cd9f935.system.entry.js.map +0 -1
- package/dist/cura/p-bac0b4ab.js +0 -2
- package/dist/cura/p-bac0b4ab.js.map +0 -1
- package/dist/esm/app-globals-8ed931e6.js.map +0 -1
- package/dist/esm/cura-button_6.entry.js +0 -327
- package/dist/esm/cura-button_6.entry.js.map +0 -1
- package/dist/esm-es5/app-globals-8ed931e6.js +0 -2
- package/dist/esm-es5/app-globals-8ed931e6.js.map +0 -1
- package/dist/esm-es5/cura-button_6.entry.js +0 -2
- package/dist/esm-es5/cura-button_6.entry.js.map +0 -1
package/dist/esm-es5/cura.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["patchBrowser","plt","$cssShim$","win","__cssshim","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","globalScripts","bootstrapLazy","
|
|
1
|
+
{"version":3,"names":["patchBrowser","plt","$cssShim$","win","__cssshim","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","globalScripts","bootstrapLazy","size","disabled","isLoading","iconName","iconset","iconPosition","iconOnly","target","color","fontColor","textAlign","styles","level","inverted","spotColor","weight","contentwidth","name","selected"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v3.3.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n if (BUILD.cssVarShim) {\n // shim css vars\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = \n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"mMAmBA,IAAMA,aAAe,WAMK,CAGlBC,IAAIC,UAAYC,IAAIC,S,CAyBxB,IAAMC,cAAyBC,IAC/B,IAAMC,EAAqE,GAiB3E,GAAuBF,IAAe,GAAI,CACtCE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,I,CAiBjD,OAAOC,eAAeJ,EAC1B,ECtFAP,eAAeY,MAAK,SAAAC,GAClBC,gBACA,OAAOC,cAAc,oCAA8B,CAAOC,KAAE,MAAAC,SAAA,MAAAC,UAAA,mBAAAC,SAAA,kBAAAC,QAAA,MAAAC,aAAA,sBAAAC,SAAA,kBAAAZ,KAAA,MAAAa,OAAA,MAAAC,MAAA,IAAAC,UAAA,mBAAAC,UAAA,mBAAAC,OAAA,iCAAAX,KAAA,MAAAC,SAAA,MAAAC,UAAA,mBAAAC,SAAA,kBAAAC,QAAA,MAAAC,aAAA,sBAAAC,SAAA,kBAAAZ,KAAA,MAAAa,OAAA,MAAAC,MAAA,IAAAC,UAAA,mBAAAC,UAAA,mBAAAC,OAAA,qCAAAX,KAAA,MAAAC,SAAA,MAAAC,UAAA,mBAAAC,SAAA,kBAAAC,QAAA,MAAAC,aAAA,sBAAAC,SAAA,kBAAAZ,KAAA,MAAAa,OAAA,MAAAC,MAAA,IAAAC,UAAA,mBAAAC,UAAA,mBAAAC,OAAA,0BAAAC,MAAA,MAAAZ,KAAA,MAAAa,SAAA,MAAAC,UAAA,wCAAAF,MAAA,MAAAZ,KAAA,MAAAe,OAAA,MAAAF,SAAA,MAAAC,UAAA,8CAAAE,aAAA,6BAAAhB,KAAA,MAAAa,SAAA,MAAAC,UAAA,8CAAAd,KAAA,MAAAQ,MAAA,wBAAAS,KAAA,MAAAT,MAAA,IAAAR,KAAA,IAAAI,QAAA,MAAAH,SAAA,kDAAAiB,SAAA,UAAArB,EAC9D"}
|
package/dist/esm-es5/loader.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{C as CSS,p as plt,w as win,a as promiseResolve,b as bootstrapLazy}from"./index-92c824be.js";export{s as setNonce}from"./index-92c824be.js";import{g as globalScripts}from"./app-globals-
|
|
1
|
+
import{C as CSS,p as plt,w as win,a as promiseResolve,b as bootstrapLazy}from"./index-92c824be.js";export{s as setNonce}from"./index-92c824be.js";import{g as globalScripts}from"./app-globals-51eaad0e.js";var patchEsm=function(){if(!(CSS&&CSS.supports&&CSS.supports("color","var(--c)"))){return import("./css-shim-d13f0738.js").then((function(){if(plt.$cssShim$=win.__cssshim){return plt.$cssShim$.i()}else{return 0}}))}return promiseResolve()};var defineCustomElements=function(o,i){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){globalScripts();return bootstrapLazy([["cura-button_9",[[1,"cura-button",{size:[513],disabled:[516],isLoading:[516,"is-loading"],iconName:[513,"icon-name"],iconset:[513],iconPosition:[513,"icon-position"],iconOnly:[516,"icon-only"],href:[513],target:[513],color:[1],fontColor:[513,"font-color"],textAlign:[513,"text-align"],styles:[32]}],[1,"cura-button-outline",{size:[513],disabled:[516],isLoading:[516,"is-loading"],iconName:[513,"icon-name"],iconset:[513],iconPosition:[513,"icon-position"],iconOnly:[516,"icon-only"],href:[513],target:[513],color:[1],fontColor:[513,"font-color"],textAlign:[513,"text-align"],styles:[32]}],[1,"cura-button-transparent",{size:[513],disabled:[516],isLoading:[516,"is-loading"],iconName:[513,"icon-name"],iconset:[513],iconPosition:[513,"icon-position"],iconOnly:[516,"icon-only"],href:[513],target:[513],color:[1],fontColor:[513,"font-color"],textAlign:[513,"text-align"],styles:[32]}],[1,"cura-display",{level:[514],size:[513],inverted:[516],spotColor:[513,"spot-color"]}],[1,"cura-heading",{level:[514],size:[513],weight:[513],inverted:[516],spotColor:[513,"spot-color"]}],[1,"cura-page-template",{contentwidth:[513]}],[1,"cura-paragraph",{size:[513],inverted:[516],spotColor:[513,"spot-color"]}],[1,"cura-loader-circle",{size:[513],color:[513]}],[1,"cura-icon",{name:[513],color:[1],size:[8],iconset:[513],disabled:[4]}]]],["cura-icons-view",[[1,"cura-icons-view",{selected:[32]}]]]],i)}))};export{defineCustomElements};
|
|
2
2
|
//# sourceMappingURL=loader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["patchEsm","CSS","supports","import","then","plt","$cssShim$","win","__cssshim","i","promiseResolve","defineCustomElements","options","window","Promise","resolve","globalScripts","bootstrapLazy","
|
|
1
|
+
{"version":3,"names":["patchEsm","CSS","supports","import","then","plt","$cssShim$","win","__cssshim","i","promiseResolve","defineCustomElements","options","window","Promise","resolve","globalScripts","bootstrapLazy","size","disabled","isLoading","iconName","iconset","iconPosition","iconOnly","href","target","color","fontColor","textAlign","styles","level","inverted","spotColor","weight","contentwidth","name","selected"],"sources":["node_modules/@stencil/core/internal/client/patch-esm.js","@lazy-external-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Esm v3.3.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD } from '@stencil/core/internal/app-data';\nimport { CSS, plt, win, promiseResolve } from '@stencil/core';\nconst patchEsm = () => {\n // NOTE!! This fn cannot use async/await!\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n // @ts-ignore\n if (BUILD.cssVarShim && !(CSS && CSS.supports && CSS.supports('color', 'var(--c)'))) {\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-css-shim\" */ './css-shim.js').then(() => {\n if ((plt.$cssShim$ = win.__cssshim)) {\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n return plt.$cssShim$.i();\n }\n else {\n // for better minification\n return 0;\n }\n });\n }\n return promiseResolve();\n};\nexport { patchEsm };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchEsm } from '@stencil/core/internal/client/patch-esm';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\nexport const defineCustomElements = (win, options) => {\n if (typeof window === 'undefined') return Promise.resolve();\n return patchEsm().then(() => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n });\n};\n"],"mappings":"4MAKA,IAAMA,SAAW,WAIb,KAA0BC,KAAOA,IAAIC,UAAYD,IAAIC,SAAS,QAAS,aAAc,CAEjF,OAAOC,OAAoD,0BAAiBC,MAAK,WAC7E,GAAKC,IAAIC,UAAYC,IAAIC,UAAY,CAEjC,OAAOH,IAAIC,UAAUG,G,KAEpB,CAED,OAAO,C,CAEvB,G,CAEI,OAAOC,gBACX,ECnBY,IAACC,qBAAuB,SAACJ,EAAKK,GACxC,UAAWC,SAAW,YAAa,OAAOC,QAAQC,UAClD,OAAOf,WAAWI,MAAK,WACvBY,gBACA,OAAOC,cAAc,oCAA8B,CAAOC,KAAE,MAAAC,SAAA,MAAAC,UAAA,mBAAAC,SAAA,kBAAAC,QAAA,MAAAC,aAAA,sBAAAC,SAAA,kBAAAC,KAAA,MAAAC,OAAA,MAAAC,MAAA,IAAAC,UAAA,mBAAAC,UAAA,mBAAAC,OAAA,iCAAAZ,KAAA,MAAAC,SAAA,MAAAC,UAAA,mBAAAC,SAAA,kBAAAC,QAAA,MAAAC,aAAA,sBAAAC,SAAA,kBAAAC,KAAA,MAAAC,OAAA,MAAAC,MAAA,IAAAC,UAAA,mBAAAC,UAAA,mBAAAC,OAAA,qCAAAZ,KAAA,MAAAC,SAAA,MAAAC,UAAA,mBAAAC,SAAA,kBAAAC,QAAA,MAAAC,aAAA,sBAAAC,SAAA,kBAAAC,KAAA,MAAAC,OAAA,MAAAC,MAAA,IAAAC,UAAA,mBAAAC,UAAA,mBAAAC,OAAA,0BAAAC,MAAA,MAAAb,KAAA,MAAAc,SAAA,MAAAC,UAAA,wCAAAF,MAAA,MAAAb,KAAA,MAAAgB,OAAA,MAAAF,SAAA,MAAAC,UAAA,8CAAAE,aAAA,6BAAAjB,KAAA,MAAAc,SAAA,MAAAC,UAAA,8CAAAf,KAAA,MAAAS,MAAA,wBAAAS,KAAA,MAAAT,MAAA,IAAAT,KAAA,IAAAI,QAAA,MAAAH,SAAA,kDAAAkB,SAAA,UAAAzB,EAC9D,GACA,S"}
|
|
@@ -4,52 +4,32 @@
|
|
|
4
4
|
export declare const Static: {
|
|
5
5
|
color: {
|
|
6
6
|
success: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
depth100: string;
|
|
13
|
-
depth300: string;
|
|
14
|
-
depth500: string;
|
|
15
|
-
depth700: string;
|
|
16
|
-
depth900: string;
|
|
7
|
+
'100': string;
|
|
8
|
+
'300': string;
|
|
9
|
+
'500': string;
|
|
10
|
+
'700': string;
|
|
11
|
+
'900': string;
|
|
17
12
|
};
|
|
18
13
|
info: {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
depth100: string;
|
|
25
|
-
depth300: string;
|
|
26
|
-
depth500: string;
|
|
27
|
-
depth700: string;
|
|
28
|
-
depth900: string;
|
|
14
|
+
'100': string;
|
|
15
|
+
'300': string;
|
|
16
|
+
'500': string;
|
|
17
|
+
'700': string;
|
|
18
|
+
'900': string;
|
|
29
19
|
};
|
|
30
20
|
error: {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
depth100: string;
|
|
37
|
-
depth300: string;
|
|
38
|
-
depth500: string;
|
|
39
|
-
depth700: string;
|
|
40
|
-
depth900: string;
|
|
21
|
+
'100': string;
|
|
22
|
+
'300': string;
|
|
23
|
+
'500': string;
|
|
24
|
+
'700': string;
|
|
25
|
+
'900': string;
|
|
41
26
|
};
|
|
42
27
|
warning: {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
depth100: string;
|
|
49
|
-
depth300: string;
|
|
50
|
-
depth500: string;
|
|
51
|
-
depth700: string;
|
|
52
|
-
depth900: string;
|
|
28
|
+
'100': string;
|
|
29
|
+
'300': string;
|
|
30
|
+
'500': string;
|
|
31
|
+
'700': string;
|
|
32
|
+
'900': string;
|
|
53
33
|
};
|
|
54
34
|
neutral: {
|
|
55
35
|
'0': string;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
export declare class CuraButton {
|
|
2
|
-
/**
|
|
3
|
-
* Button type: solid (default) | outline | transparent | icon.
|
|
4
|
-
*/
|
|
5
|
-
type: 'solid' | 'outline' | 'transparent' | 'icon';
|
|
6
2
|
/**
|
|
7
3
|
* Button size: small | medium | large (default)
|
|
8
4
|
*/
|
|
@@ -27,6 +23,10 @@ export declare class CuraButton {
|
|
|
27
23
|
* Icon position: left (default) | right.
|
|
28
24
|
*/
|
|
29
25
|
iconPosition: 'left' | 'right';
|
|
26
|
+
/**
|
|
27
|
+
* Set button to FAB/icon only.
|
|
28
|
+
*/
|
|
29
|
+
iconOnly: false;
|
|
30
30
|
/**
|
|
31
31
|
* Property href switch button to link.
|
|
32
32
|
*/
|
|
@@ -55,5 +55,7 @@ export declare class CuraButton {
|
|
|
55
55
|
getClasses(): {};
|
|
56
56
|
setColors(): void;
|
|
57
57
|
getIcon(): any;
|
|
58
|
+
getSymbolColor(): "neutral-white" | "neutral-dark" | "neutral-black";
|
|
59
|
+
handleClick(e: Event): void;
|
|
58
60
|
render(): any;
|
|
59
61
|
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export declare class CuraButtonOutline {
|
|
2
|
+
/**
|
|
3
|
+
* Button size: small | medium | large (default)
|
|
4
|
+
*/
|
|
5
|
+
size: 'small' | 'medium' | 'large';
|
|
6
|
+
/**
|
|
7
|
+
* Disabled state. Boolean.
|
|
8
|
+
*/
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Loading state. Boolean.
|
|
12
|
+
*/
|
|
13
|
+
isLoading: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Name of the icon to be used from iconset.
|
|
16
|
+
*/
|
|
17
|
+
iconName: string;
|
|
18
|
+
/**
|
|
19
|
+
* Custom iconset if needed.
|
|
20
|
+
*/
|
|
21
|
+
iconset: string;
|
|
22
|
+
/**
|
|
23
|
+
* Icon position: left (default) | right.
|
|
24
|
+
*/
|
|
25
|
+
iconPosition: 'left' | 'right';
|
|
26
|
+
/**
|
|
27
|
+
* Set button to FAB/icon only.
|
|
28
|
+
*/
|
|
29
|
+
iconOnly: false;
|
|
30
|
+
/**
|
|
31
|
+
* Property href switch button to link.
|
|
32
|
+
*/
|
|
33
|
+
href: string;
|
|
34
|
+
/**
|
|
35
|
+
* Set target if link.
|
|
36
|
+
*/
|
|
37
|
+
target: string;
|
|
38
|
+
/**
|
|
39
|
+
* Color base from color scheme. Default: accent.
|
|
40
|
+
*/
|
|
41
|
+
color: string;
|
|
42
|
+
handleChangeColor(): void;
|
|
43
|
+
/**
|
|
44
|
+
* Set the font color to dark or light.
|
|
45
|
+
*/
|
|
46
|
+
fontColor: 'dark' | 'light';
|
|
47
|
+
/**
|
|
48
|
+
* Set text aligment for the button label.
|
|
49
|
+
* Vales: left (default) | center | right.
|
|
50
|
+
*/
|
|
51
|
+
textAlign: 'left' | 'center' | 'right';
|
|
52
|
+
styles: {};
|
|
53
|
+
weights: any;
|
|
54
|
+
connectedCallback(): void;
|
|
55
|
+
getClasses(): {};
|
|
56
|
+
setColors(): void;
|
|
57
|
+
getIcon(): any;
|
|
58
|
+
getSymbolColor(): string;
|
|
59
|
+
handleClick(e: Event): void;
|
|
60
|
+
render(): any;
|
|
61
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export declare class CuraButtonTransparent {
|
|
2
|
+
/**
|
|
3
|
+
* Button size: small | medium | large (default)
|
|
4
|
+
*/
|
|
5
|
+
size: 'small' | 'medium' | 'large';
|
|
6
|
+
/**
|
|
7
|
+
* Disabled state. Boolean.
|
|
8
|
+
*/
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Loading state. Boolean.
|
|
12
|
+
*/
|
|
13
|
+
isLoading: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Name of the icon to be used from iconset.
|
|
16
|
+
*/
|
|
17
|
+
iconName: string;
|
|
18
|
+
/**
|
|
19
|
+
* Custom iconset if needed.
|
|
20
|
+
*/
|
|
21
|
+
iconset: string;
|
|
22
|
+
/**
|
|
23
|
+
* Icon position: left (default) | right.
|
|
24
|
+
*/
|
|
25
|
+
iconPosition: 'left' | 'right';
|
|
26
|
+
/**
|
|
27
|
+
* Set button to FAB/icon only.
|
|
28
|
+
*/
|
|
29
|
+
iconOnly: false;
|
|
30
|
+
/**
|
|
31
|
+
* Property href switch button to link.
|
|
32
|
+
*/
|
|
33
|
+
href: string;
|
|
34
|
+
/**
|
|
35
|
+
* Set target if link.
|
|
36
|
+
*/
|
|
37
|
+
target: string;
|
|
38
|
+
/**
|
|
39
|
+
* Color base from color scheme. Default: accent.
|
|
40
|
+
*/
|
|
41
|
+
color: string;
|
|
42
|
+
handleChangeColor(): void;
|
|
43
|
+
/**
|
|
44
|
+
* Set the font color to dark or light.
|
|
45
|
+
*/
|
|
46
|
+
fontColor: 'dark' | 'light';
|
|
47
|
+
/**
|
|
48
|
+
* Set text aligment for the button label.
|
|
49
|
+
* Vales: left (default) | center | right.
|
|
50
|
+
*/
|
|
51
|
+
textAlign: 'left' | 'center' | 'right';
|
|
52
|
+
styles: {};
|
|
53
|
+
weights: any;
|
|
54
|
+
connectedCallback(): void;
|
|
55
|
+
getClasses(): {};
|
|
56
|
+
setColors(): void;
|
|
57
|
+
getIcon(): any;
|
|
58
|
+
getSymbolColor(): string;
|
|
59
|
+
handleClick(e: Event): void;
|
|
60
|
+
render(): any;
|
|
61
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class CuraLoaderCircle {
|
|
2
|
+
/**
|
|
3
|
+
* Loader size. Values: small, medium or large.
|
|
4
|
+
*/
|
|
5
|
+
size: 'small' | 'medium' | 'large' | 'xlarge';
|
|
6
|
+
/**
|
|
7
|
+
* One from color scheme. Default: neutral-white.
|
|
8
|
+
*/
|
|
9
|
+
color: string;
|
|
10
|
+
sizes: {
|
|
11
|
+
xlarge: number;
|
|
12
|
+
large: number;
|
|
13
|
+
medium: number;
|
|
14
|
+
small: number;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
|
+
getPxSize: () => number;
|
|
18
|
+
getStyles(): {
|
|
19
|
+
'--size': string;
|
|
20
|
+
'--color': string;
|
|
21
|
+
};
|
|
22
|
+
render(): any;
|
|
23
|
+
}
|
|
@@ -27,6 +27,10 @@ export namespace Components {
|
|
|
27
27
|
* Name of the icon to be used from iconset.
|
|
28
28
|
*/
|
|
29
29
|
"iconName": string;
|
|
30
|
+
/**
|
|
31
|
+
* Set button to FAB/icon only.
|
|
32
|
+
*/
|
|
33
|
+
"iconOnly": false;
|
|
30
34
|
/**
|
|
31
35
|
* Icon position: left (default) | right.
|
|
32
36
|
*/
|
|
@@ -51,10 +55,106 @@ export namespace Components {
|
|
|
51
55
|
* Set text aligment for the button label. Vales: left (default) | center | right.
|
|
52
56
|
*/
|
|
53
57
|
"textAlign": 'left' | 'center' | 'right';
|
|
58
|
+
}
|
|
59
|
+
interface CuraButtonOutline {
|
|
60
|
+
/**
|
|
61
|
+
* Color base from color scheme. Default: accent.
|
|
62
|
+
*/
|
|
63
|
+
"color": string;
|
|
64
|
+
/**
|
|
65
|
+
* Disabled state. Boolean.
|
|
66
|
+
*/
|
|
67
|
+
"disabled": boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Set the font color to dark or light.
|
|
70
|
+
*/
|
|
71
|
+
"fontColor": 'dark' | 'light';
|
|
72
|
+
/**
|
|
73
|
+
* Property href switch button to link.
|
|
74
|
+
*/
|
|
75
|
+
"href": string;
|
|
76
|
+
/**
|
|
77
|
+
* Name of the icon to be used from iconset.
|
|
78
|
+
*/
|
|
79
|
+
"iconName": string;
|
|
80
|
+
/**
|
|
81
|
+
* Set button to FAB/icon only.
|
|
82
|
+
*/
|
|
83
|
+
"iconOnly": false;
|
|
84
|
+
/**
|
|
85
|
+
* Icon position: left (default) | right.
|
|
86
|
+
*/
|
|
87
|
+
"iconPosition": 'left' | 'right';
|
|
88
|
+
/**
|
|
89
|
+
* Custom iconset if needed.
|
|
90
|
+
*/
|
|
91
|
+
"iconset": string;
|
|
92
|
+
/**
|
|
93
|
+
* Loading state. Boolean.
|
|
94
|
+
*/
|
|
95
|
+
"isLoading": boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Button size: small | medium | large (default)
|
|
98
|
+
*/
|
|
99
|
+
"size": 'small' | 'medium' | 'large';
|
|
54
100
|
/**
|
|
55
|
-
*
|
|
101
|
+
* Set target if link.
|
|
102
|
+
*/
|
|
103
|
+
"target": string;
|
|
104
|
+
/**
|
|
105
|
+
* Set text aligment for the button label. Vales: left (default) | center | right.
|
|
56
106
|
*/
|
|
57
|
-
"
|
|
107
|
+
"textAlign": 'left' | 'center' | 'right';
|
|
108
|
+
}
|
|
109
|
+
interface CuraButtonTransparent {
|
|
110
|
+
/**
|
|
111
|
+
* Color base from color scheme. Default: accent.
|
|
112
|
+
*/
|
|
113
|
+
"color": string;
|
|
114
|
+
/**
|
|
115
|
+
* Disabled state. Boolean.
|
|
116
|
+
*/
|
|
117
|
+
"disabled": boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Set the font color to dark or light.
|
|
120
|
+
*/
|
|
121
|
+
"fontColor": 'dark' | 'light';
|
|
122
|
+
/**
|
|
123
|
+
* Property href switch button to link.
|
|
124
|
+
*/
|
|
125
|
+
"href": string;
|
|
126
|
+
/**
|
|
127
|
+
* Name of the icon to be used from iconset.
|
|
128
|
+
*/
|
|
129
|
+
"iconName": string;
|
|
130
|
+
/**
|
|
131
|
+
* Set button to FAB/icon only.
|
|
132
|
+
*/
|
|
133
|
+
"iconOnly": false;
|
|
134
|
+
/**
|
|
135
|
+
* Icon position: left (default) | right.
|
|
136
|
+
*/
|
|
137
|
+
"iconPosition": 'left' | 'right';
|
|
138
|
+
/**
|
|
139
|
+
* Custom iconset if needed.
|
|
140
|
+
*/
|
|
141
|
+
"iconset": string;
|
|
142
|
+
/**
|
|
143
|
+
* Loading state. Boolean.
|
|
144
|
+
*/
|
|
145
|
+
"isLoading": boolean;
|
|
146
|
+
/**
|
|
147
|
+
* Button size: small | medium | large (default)
|
|
148
|
+
*/
|
|
149
|
+
"size": 'small' | 'medium' | 'large';
|
|
150
|
+
/**
|
|
151
|
+
* Set target if link.
|
|
152
|
+
*/
|
|
153
|
+
"target": string;
|
|
154
|
+
/**
|
|
155
|
+
* Set text aligment for the button label. Vales: left (default) | center | right.
|
|
156
|
+
*/
|
|
157
|
+
"textAlign": 'left' | 'center' | 'right';
|
|
58
158
|
}
|
|
59
159
|
interface CuraDisplay {
|
|
60
160
|
/**
|
|
@@ -105,6 +205,16 @@ export namespace Components {
|
|
|
105
205
|
}
|
|
106
206
|
interface CuraIconsView {
|
|
107
207
|
}
|
|
208
|
+
interface CuraLoaderCircle {
|
|
209
|
+
/**
|
|
210
|
+
* One from color scheme. Default: neutral-white.
|
|
211
|
+
*/
|
|
212
|
+
"color": string;
|
|
213
|
+
/**
|
|
214
|
+
* Loader size. Values: small, medium or large.
|
|
215
|
+
*/
|
|
216
|
+
"size": 'small' | 'medium' | 'large' | 'xlarge';
|
|
217
|
+
}
|
|
108
218
|
interface CuraPageTemplate {
|
|
109
219
|
"contentwidth": 'default' | 'centered';
|
|
110
220
|
}
|
|
@@ -130,6 +240,18 @@ declare global {
|
|
|
130
240
|
prototype: HTMLCuraButtonElement;
|
|
131
241
|
new (): HTMLCuraButtonElement;
|
|
132
242
|
};
|
|
243
|
+
interface HTMLCuraButtonOutlineElement extends Components.CuraButtonOutline, HTMLStencilElement {
|
|
244
|
+
}
|
|
245
|
+
var HTMLCuraButtonOutlineElement: {
|
|
246
|
+
prototype: HTMLCuraButtonOutlineElement;
|
|
247
|
+
new (): HTMLCuraButtonOutlineElement;
|
|
248
|
+
};
|
|
249
|
+
interface HTMLCuraButtonTransparentElement extends Components.CuraButtonTransparent, HTMLStencilElement {
|
|
250
|
+
}
|
|
251
|
+
var HTMLCuraButtonTransparentElement: {
|
|
252
|
+
prototype: HTMLCuraButtonTransparentElement;
|
|
253
|
+
new (): HTMLCuraButtonTransparentElement;
|
|
254
|
+
};
|
|
133
255
|
interface HTMLCuraDisplayElement extends Components.CuraDisplay, HTMLStencilElement {
|
|
134
256
|
}
|
|
135
257
|
var HTMLCuraDisplayElement: {
|
|
@@ -154,6 +276,12 @@ declare global {
|
|
|
154
276
|
prototype: HTMLCuraIconsViewElement;
|
|
155
277
|
new (): HTMLCuraIconsViewElement;
|
|
156
278
|
};
|
|
279
|
+
interface HTMLCuraLoaderCircleElement extends Components.CuraLoaderCircle, HTMLStencilElement {
|
|
280
|
+
}
|
|
281
|
+
var HTMLCuraLoaderCircleElement: {
|
|
282
|
+
prototype: HTMLCuraLoaderCircleElement;
|
|
283
|
+
new (): HTMLCuraLoaderCircleElement;
|
|
284
|
+
};
|
|
157
285
|
interface HTMLCuraPageTemplateElement extends Components.CuraPageTemplate, HTMLStencilElement {
|
|
158
286
|
}
|
|
159
287
|
var HTMLCuraPageTemplateElement: {
|
|
@@ -168,10 +296,13 @@ declare global {
|
|
|
168
296
|
};
|
|
169
297
|
interface HTMLElementTagNameMap {
|
|
170
298
|
"cura-button": HTMLCuraButtonElement;
|
|
299
|
+
"cura-button-outline": HTMLCuraButtonOutlineElement;
|
|
300
|
+
"cura-button-transparent": HTMLCuraButtonTransparentElement;
|
|
171
301
|
"cura-display": HTMLCuraDisplayElement;
|
|
172
302
|
"cura-heading": HTMLCuraHeadingElement;
|
|
173
303
|
"cura-icon": HTMLCuraIconElement;
|
|
174
304
|
"cura-icons-view": HTMLCuraIconsViewElement;
|
|
305
|
+
"cura-loader-circle": HTMLCuraLoaderCircleElement;
|
|
175
306
|
"cura-page-template": HTMLCuraPageTemplateElement;
|
|
176
307
|
"cura-paragraph": HTMLCuraParagraphElement;
|
|
177
308
|
}
|
|
@@ -198,6 +329,10 @@ declare namespace LocalJSX {
|
|
|
198
329
|
* Name of the icon to be used from iconset.
|
|
199
330
|
*/
|
|
200
331
|
"iconName"?: string;
|
|
332
|
+
/**
|
|
333
|
+
* Set button to FAB/icon only.
|
|
334
|
+
*/
|
|
335
|
+
"iconOnly"?: false;
|
|
201
336
|
/**
|
|
202
337
|
* Icon position: left (default) | right.
|
|
203
338
|
*/
|
|
@@ -222,10 +357,106 @@ declare namespace LocalJSX {
|
|
|
222
357
|
* Set text aligment for the button label. Vales: left (default) | center | right.
|
|
223
358
|
*/
|
|
224
359
|
"textAlign"?: 'left' | 'center' | 'right';
|
|
360
|
+
}
|
|
361
|
+
interface CuraButtonOutline {
|
|
362
|
+
/**
|
|
363
|
+
* Color base from color scheme. Default: accent.
|
|
364
|
+
*/
|
|
365
|
+
"color"?: string;
|
|
366
|
+
/**
|
|
367
|
+
* Disabled state. Boolean.
|
|
368
|
+
*/
|
|
369
|
+
"disabled"?: boolean;
|
|
370
|
+
/**
|
|
371
|
+
* Set the font color to dark or light.
|
|
372
|
+
*/
|
|
373
|
+
"fontColor"?: 'dark' | 'light';
|
|
374
|
+
/**
|
|
375
|
+
* Property href switch button to link.
|
|
376
|
+
*/
|
|
377
|
+
"href"?: string;
|
|
378
|
+
/**
|
|
379
|
+
* Name of the icon to be used from iconset.
|
|
380
|
+
*/
|
|
381
|
+
"iconName"?: string;
|
|
225
382
|
/**
|
|
226
|
-
*
|
|
383
|
+
* Set button to FAB/icon only.
|
|
227
384
|
*/
|
|
228
|
-
"
|
|
385
|
+
"iconOnly"?: false;
|
|
386
|
+
/**
|
|
387
|
+
* Icon position: left (default) | right.
|
|
388
|
+
*/
|
|
389
|
+
"iconPosition"?: 'left' | 'right';
|
|
390
|
+
/**
|
|
391
|
+
* Custom iconset if needed.
|
|
392
|
+
*/
|
|
393
|
+
"iconset"?: string;
|
|
394
|
+
/**
|
|
395
|
+
* Loading state. Boolean.
|
|
396
|
+
*/
|
|
397
|
+
"isLoading"?: boolean;
|
|
398
|
+
/**
|
|
399
|
+
* Button size: small | medium | large (default)
|
|
400
|
+
*/
|
|
401
|
+
"size"?: 'small' | 'medium' | 'large';
|
|
402
|
+
/**
|
|
403
|
+
* Set target if link.
|
|
404
|
+
*/
|
|
405
|
+
"target"?: string;
|
|
406
|
+
/**
|
|
407
|
+
* Set text aligment for the button label. Vales: left (default) | center | right.
|
|
408
|
+
*/
|
|
409
|
+
"textAlign"?: 'left' | 'center' | 'right';
|
|
410
|
+
}
|
|
411
|
+
interface CuraButtonTransparent {
|
|
412
|
+
/**
|
|
413
|
+
* Color base from color scheme. Default: accent.
|
|
414
|
+
*/
|
|
415
|
+
"color"?: string;
|
|
416
|
+
/**
|
|
417
|
+
* Disabled state. Boolean.
|
|
418
|
+
*/
|
|
419
|
+
"disabled"?: boolean;
|
|
420
|
+
/**
|
|
421
|
+
* Set the font color to dark or light.
|
|
422
|
+
*/
|
|
423
|
+
"fontColor"?: 'dark' | 'light';
|
|
424
|
+
/**
|
|
425
|
+
* Property href switch button to link.
|
|
426
|
+
*/
|
|
427
|
+
"href"?: string;
|
|
428
|
+
/**
|
|
429
|
+
* Name of the icon to be used from iconset.
|
|
430
|
+
*/
|
|
431
|
+
"iconName"?: string;
|
|
432
|
+
/**
|
|
433
|
+
* Set button to FAB/icon only.
|
|
434
|
+
*/
|
|
435
|
+
"iconOnly"?: false;
|
|
436
|
+
/**
|
|
437
|
+
* Icon position: left (default) | right.
|
|
438
|
+
*/
|
|
439
|
+
"iconPosition"?: 'left' | 'right';
|
|
440
|
+
/**
|
|
441
|
+
* Custom iconset if needed.
|
|
442
|
+
*/
|
|
443
|
+
"iconset"?: string;
|
|
444
|
+
/**
|
|
445
|
+
* Loading state. Boolean.
|
|
446
|
+
*/
|
|
447
|
+
"isLoading"?: boolean;
|
|
448
|
+
/**
|
|
449
|
+
* Button size: small | medium | large (default)
|
|
450
|
+
*/
|
|
451
|
+
"size"?: 'small' | 'medium' | 'large';
|
|
452
|
+
/**
|
|
453
|
+
* Set target if link.
|
|
454
|
+
*/
|
|
455
|
+
"target"?: string;
|
|
456
|
+
/**
|
|
457
|
+
* Set text aligment for the button label. Vales: left (default) | center | right.
|
|
458
|
+
*/
|
|
459
|
+
"textAlign"?: 'left' | 'center' | 'right';
|
|
229
460
|
}
|
|
230
461
|
interface CuraDisplay {
|
|
231
462
|
/**
|
|
@@ -276,6 +507,16 @@ declare namespace LocalJSX {
|
|
|
276
507
|
}
|
|
277
508
|
interface CuraIconsView {
|
|
278
509
|
}
|
|
510
|
+
interface CuraLoaderCircle {
|
|
511
|
+
/**
|
|
512
|
+
* One from color scheme. Default: neutral-white.
|
|
513
|
+
*/
|
|
514
|
+
"color"?: string;
|
|
515
|
+
/**
|
|
516
|
+
* Loader size. Values: small, medium or large.
|
|
517
|
+
*/
|
|
518
|
+
"size"?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
519
|
+
}
|
|
279
520
|
interface CuraPageTemplate {
|
|
280
521
|
"contentwidth"?: 'default' | 'centered';
|
|
281
522
|
}
|
|
@@ -295,10 +536,13 @@ declare namespace LocalJSX {
|
|
|
295
536
|
}
|
|
296
537
|
interface IntrinsicElements {
|
|
297
538
|
"cura-button": CuraButton;
|
|
539
|
+
"cura-button-outline": CuraButtonOutline;
|
|
540
|
+
"cura-button-transparent": CuraButtonTransparent;
|
|
298
541
|
"cura-display": CuraDisplay;
|
|
299
542
|
"cura-heading": CuraHeading;
|
|
300
543
|
"cura-icon": CuraIcon;
|
|
301
544
|
"cura-icons-view": CuraIconsView;
|
|
545
|
+
"cura-loader-circle": CuraLoaderCircle;
|
|
302
546
|
"cura-page-template": CuraPageTemplate;
|
|
303
547
|
"cura-paragraph": CuraParagraph;
|
|
304
548
|
}
|
|
@@ -308,10 +552,13 @@ declare module "@stencil/core" {
|
|
|
308
552
|
export namespace JSX {
|
|
309
553
|
interface IntrinsicElements {
|
|
310
554
|
"cura-button": LocalJSX.CuraButton & JSXBase.HTMLAttributes<HTMLCuraButtonElement>;
|
|
555
|
+
"cura-button-outline": LocalJSX.CuraButtonOutline & JSXBase.HTMLAttributes<HTMLCuraButtonOutlineElement>;
|
|
556
|
+
"cura-button-transparent": LocalJSX.CuraButtonTransparent & JSXBase.HTMLAttributes<HTMLCuraButtonTransparentElement>;
|
|
311
557
|
"cura-display": LocalJSX.CuraDisplay & JSXBase.HTMLAttributes<HTMLCuraDisplayElement>;
|
|
312
558
|
"cura-heading": LocalJSX.CuraHeading & JSXBase.HTMLAttributes<HTMLCuraHeadingElement>;
|
|
313
559
|
"cura-icon": LocalJSX.CuraIcon & JSXBase.HTMLAttributes<HTMLCuraIconElement>;
|
|
314
560
|
"cura-icons-view": LocalJSX.CuraIconsView & JSXBase.HTMLAttributes<HTMLCuraIconsViewElement>;
|
|
561
|
+
"cura-loader-circle": LocalJSX.CuraLoaderCircle & JSXBase.HTMLAttributes<HTMLCuraLoaderCircleElement>;
|
|
315
562
|
"cura-page-template": LocalJSX.CuraPageTemplate & JSXBase.HTMLAttributes<HTMLCuraPageTemplateElement>;
|
|
316
563
|
"cura-paragraph": LocalJSX.CuraParagraph & JSXBase.HTMLAttributes<HTMLCuraParagraphElement>;
|
|
317
564
|
}
|