@rededor/cura 2.0.0-alpha.14 → 2.0.0-alpha.17

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.
Files changed (141) hide show
  1. package/dist/assets/assets/icons/iconset-default-list.ts +1 -1
  2. package/dist/assets/assets/icons/iconset-default-tmp.svg +78 -2
  3. package/dist/assets/assets/icons/iconset-default.svg +1 -1
  4. package/dist/cjs/cura-accordion_22.cjs.entry.js +39 -83
  5. package/dist/cjs/cura-display.cjs.entry.js +1 -1
  6. package/dist/cjs/cura-icons-view.cjs.entry.js +1 -1
  7. package/dist/cjs/cura-input-textarea.cjs.entry.js +236 -0
  8. package/dist/cjs/cura-loader-bar.cjs.entry.js +1 -1
  9. package/dist/cjs/cura-radio.cjs.entry.js +1 -1
  10. package/dist/cjs/cura-switch.cjs.entry.js +1 -1
  11. package/dist/cjs/cura-tabs-button.cjs.entry.js +1 -1
  12. package/dist/cjs/cura-tabs-transparent.cjs.entry.js +1 -1
  13. package/dist/cjs/cura.cjs.js +1 -1
  14. package/dist/cjs/loader.cjs.js +1 -1
  15. package/dist/cjs/utils-DMHZ2n4p.js +47 -0
  16. package/dist/collection/assets/icons/iconset-default-list.js +1 -1
  17. package/dist/collection/assets/icons/iconset-default-tmp.svg +78 -2
  18. package/dist/collection/assets/icons/iconset-default.svg +1 -1
  19. package/dist/collection/assets-raw/icons/default/airCond.svg +3 -0
  20. package/dist/collection/assets-raw/icons/default/backspaceDelete.svg +3 -0
  21. package/dist/collection/assets-raw/icons/default/bathroom.svg +3 -0
  22. package/dist/collection/assets-raw/icons/default/bed.svg +3 -0
  23. package/dist/collection/assets-raw/icons/default/blinds.svg +3 -0
  24. package/dist/collection/assets-raw/icons/default/clean.svg +3 -0
  25. package/dist/collection/assets-raw/icons/default/docs.svg +4 -0
  26. package/dist/collection/assets-raw/icons/default/door.svg +3 -0
  27. package/dist/collection/assets-raw/icons/default/keyboardArrows.svg +3 -0
  28. package/dist/collection/assets-raw/icons/default/keyboardNum.svg +10 -0
  29. package/dist/collection/assets-raw/icons/default/lampSmart.svg +3 -0
  30. package/dist/collection/assets-raw/icons/default/mobileRotate2.svg +1 -1
  31. package/dist/collection/assets-raw/icons/default/nutrition.svg +3 -0
  32. package/dist/collection/assets-raw/icons/default/pause.svg +3 -0
  33. package/dist/collection/assets-raw/icons/default/sink.svg +3 -0
  34. package/dist/collection/assets-raw/icons/default/stop.svg +1 -1
  35. package/dist/collection/assets-raw/icons/default/tv.svg +3 -0
  36. package/dist/collection/assets-raw/icons/default/userChecklist.svg +3 -0
  37. package/dist/collection/assets-raw/icons/default/window.svg +3 -0
  38. package/dist/collection/collection-manifest.json +1 -0
  39. package/dist/collection/components/cura-calendar/cura-calendar.js +20 -27
  40. package/dist/collection/components/forms/cura-input-textarea/cura-input-textarea.css +174 -0
  41. package/dist/collection/components/forms/cura-input-textarea/cura-input-textarea.js +613 -0
  42. package/dist/collection/components/forms/cura-input-textarea/cura-input-textarea.stories.js +222 -0
  43. package/dist/collection/components/forms/cura-label/cura-label.js +1 -1
  44. package/dist/collection/components/forms/cura-radio/cura-radio.js +1 -1
  45. package/dist/collection/components/forms/cura-select/cura-select.js +3 -3
  46. package/dist/collection/components/forms/cura-select-options/cura-select-option.js +1 -1
  47. package/dist/collection/components/forms/cura-switch/cura-switch.js +1 -1
  48. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +1 -1
  49. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +1 -1
  50. package/dist/collection/components/tabs/cura-tabs/cura-tabs.js +1 -1
  51. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js +1 -1
  52. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js +1 -1
  53. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js +1 -1
  54. package/dist/collection/components/text/cura-display/cura-display.js +1 -1
  55. package/dist/collection/components/text/cura-heading/cura-heading.js +1 -1
  56. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +1 -1
  57. package/dist/components/cura-accordion-item.js +1 -1
  58. package/dist/components/cura-alert.js +1 -1
  59. package/dist/components/cura-badge-counter.js +1 -1
  60. package/dist/components/cura-badge-distance.js +1 -1
  61. package/dist/components/cura-badge-pill.js +1 -1
  62. package/dist/components/cura-button-outline.js +1 -1
  63. package/dist/components/cura-button-select.js +1 -1
  64. package/dist/components/cura-button-transparent.js +1 -1
  65. package/dist/components/cura-button.js +1 -1
  66. package/dist/components/cura-calendar.js +1 -1
  67. package/dist/components/cura-checkbox.js +1 -1
  68. package/dist/components/cura-display.js +1 -1
  69. package/dist/components/cura-dropdown-search-category.js +1 -1
  70. package/dist/components/cura-dropdown-search-not-found.js +1 -1
  71. package/dist/components/cura-dropdown-search.js +1 -1
  72. package/dist/components/cura-heading.js +1 -1
  73. package/dist/components/cura-icons-view.js +1 -1
  74. package/dist/components/cura-input-date.js +1 -1
  75. package/dist/components/cura-input-text.js +1 -1
  76. package/dist/components/cura-input-textarea.d.ts +11 -0
  77. package/dist/components/cura-input-textarea.js +1 -0
  78. package/dist/components/cura-label.js +1 -1
  79. package/dist/components/cura-loader-bar.js +1 -1
  80. package/dist/components/cura-loader-circle.js +1 -1
  81. package/dist/components/cura-modal.js +1 -1
  82. package/dist/components/cura-paragraph.js +1 -1
  83. package/dist/components/cura-radio.js +1 -1
  84. package/dist/components/cura-select-option.js +1 -1
  85. package/dist/components/cura-select.js +1 -1
  86. package/dist/components/cura-stepper-item.js +1 -1
  87. package/dist/components/cura-stepper.js +1 -1
  88. package/dist/components/cura-switch.js +1 -1
  89. package/dist/components/cura-tabs-button.js +1 -1
  90. package/dist/components/cura-tabs-group.js +1 -1
  91. package/dist/components/cura-tabs-transparent.js +1 -1
  92. package/dist/components/cura-tabs.js +1 -1
  93. package/dist/components/cura-toast.js +1 -1
  94. package/dist/components/cura-tooltip.js +1 -1
  95. package/dist/components/index.js +1 -1
  96. package/dist/components/p-B2TDH4aP.js +1 -0
  97. package/dist/components/{p-Oyg5hynZ.js → p-BHVSbubb.js} +1 -1
  98. package/dist/components/{p-BBtCzdwH.js → p-BKDpza6x.js} +1 -1
  99. package/dist/components/{p-BOQ-9WHP.js → p-BuETJyzc.js} +1 -1
  100. package/dist/components/{p-BGBnVlL3.js → p-CksTHXxZ.js} +1 -1
  101. package/dist/components/{p-I4AXUk2V.js → p-D4hCuriT.js} +1 -1
  102. package/dist/components/p-DQP7jRHp.js +1 -0
  103. package/dist/components/p-DgK8dEko.js +1 -0
  104. package/dist/components/{p-BXFxWVl3.js → p-DgQJ968V.js} +1 -1
  105. package/dist/components/{p-BFGkepgq.js → p-Dmalf4Oj.js} +1 -1
  106. package/dist/components/{p-DbZtk_CM.js → p-KovUKiTX.js} +1 -1
  107. package/dist/components/{p-Bac-rr_f.js → p-PiUhcFob.js} +1 -1
  108. package/dist/components/{p-BmMvoH-m.js → p-TnCIk87O.js} +1 -1
  109. package/dist/components/{p-Cm1Vfoc6.js → p-i55vIhdM.js} +1 -1
  110. package/dist/cura/cura.esm.js +1 -1
  111. package/dist/cura/{p-71fffffa.entry.js → p-1c48aaa7.entry.js} +1 -1
  112. package/dist/cura/{p-2572a4f9.entry.js → p-4178e3e6.entry.js} +1 -1
  113. package/dist/cura/p-5b26a166.entry.js +1 -0
  114. package/dist/cura/p-CUmwazb8.js +1 -0
  115. package/dist/cura/p-a305e17a.entry.js +1 -0
  116. package/dist/cura/{p-8b29b763.entry.js → p-b157025d.entry.js} +1 -1
  117. package/dist/cura/{p-1ecb2249.entry.js → p-bd649bed.entry.js} +1 -1
  118. package/dist/cura/p-cc5d2e34.entry.js +1 -0
  119. package/dist/cura/{p-04b5c710.entry.js → p-d43fb791.entry.js} +1 -1
  120. package/dist/cura/{p-a5c4849c.entry.js → p-d64ef37d.entry.js} +1 -1
  121. package/dist/esm/cura-accordion_22.entry.js +32 -76
  122. package/dist/esm/cura-display.entry.js +1 -1
  123. package/dist/esm/cura-icons-view.entry.js +1 -1
  124. package/dist/esm/cura-input-textarea.entry.js +234 -0
  125. package/dist/esm/cura-loader-bar.entry.js +1 -1
  126. package/dist/esm/cura-radio.entry.js +1 -1
  127. package/dist/esm/cura-switch.entry.js +1 -1
  128. package/dist/esm/cura-tabs-button.entry.js +1 -1
  129. package/dist/esm/cura-tabs-transparent.entry.js +1 -1
  130. package/dist/esm/cura.js +1 -1
  131. package/dist/esm/loader.js +1 -1
  132. package/dist/esm/utils-BZCR971L.js +41 -0
  133. package/dist/types/components/cura-calendar/cura-calendar.d.ts +3 -6
  134. package/dist/types/components/forms/cura-input-textarea/cura-input-textarea.d.ts +116 -0
  135. package/dist/types/components/forms/cura-input-textarea/cura-input-textarea.stories.d.ts +188 -0
  136. package/dist/types/components.d.ts +210 -0
  137. package/package.json +4 -2
  138. package/dist/components/p-BJafC0R3.js +0 -1
  139. package/dist/components/p-nqT7t82E.js +0 -1
  140. package/dist/cura/p-c287c69e.entry.js +0 -1
  141. package/dist/cura/p-c987ddde.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,h as s,H as h,g as o}from"./p-BxFVLGIR.js";import"./p-BTIDzOyO.js";const l=class{constructor(s){t(this,s),this.level=1,this.size="large",this.spotColor="accent-dark",this.marginBlock="1.25em",this.lineHeight="120%",this.theme=window.CuraAPI.theme,this.styles={}}handleChangeColor(){this.setColors()}connectedCallback(){this.setFontProperties(),this.setColors()}setFontProperties(){this.weights=this.theme.fonts.getWeights(),this.fontSizeBase=this.theme.fonts.getSize(),this.styles={"--font-family":window.CuraAPI.theme.fonts.getFamily("display"),"--font-size":window.CuraAPI.theme.fonts.getSize(),"--font-weight-bold":this.weights.bold,"--font-weight-medium":this.weights.medium}}hostCSSProperties(){return{"--margin-block":this.marginBlock,"--font-size-base":this.fontSizeBase,"--line-height":this.lineHeight}}setColors(){const t=this.color?this.theme.colors.getColor(this.color):this.theme.fonts.getColor();this.styles=Object.assign(Object.assign({},this.styles),{"--color-body":t||this.theme.colors.getColor("neutral-darker"),"--color-link":this.theme.colors.getColor(`${this.spotColor}`)})}getClasses(){var t;const s={};return s[`${null===(t=this.size)||void 0===t?void 0:t.toLowerCase()}`]=!0,s}getHeadingTag(){const t=this.getClasses(),h={1:s("h1",{style:this.styles,class:t},s("slot",null)),2:s("h2",{style:this.styles,class:t},s("slot",null)),3:s("h3",{style:this.styles,class:t},s("slot",null)),4:s("h4",{style:this.styles,class:t},s("slot",null)),5:s("h5",{style:this.styles,class:t},s("slot",null)),6:s("h6",{style:this.styles,class:t},s("slot",null)),default:s("h1",{style:this.styles,class:t},s("slot",null))};return h[`${this.level}`]||h.default}render(){return s(h,{key:"343caf7e121561a5339ea553ccadb8aeed553c37",style:this.hostCSSProperties(),role:"heading","aria-level":this.level},this.getHeadingTag())}get host(){return o(this)}static get watchers(){return{color:[{handleChangeColor:0}],spotColor:[{handleChangeColor:0}]}}};l.style=":host{display:block;font-size:var(--font-size-base)}:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-family:var(--font-family);font-size:3em;font-weight:var(--font-weight-bold);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:2.2857142857em;letter-spacing:-1.68px}:host h1 ::slotted(b),:host h1 ::slotted(strong),:host h2 ::slotted(b),:host h2 ::slotted(strong),:host h3 ::slotted(b),:host h3 ::slotted(strong),:host h4 ::slotted(b),:host h4 ::slotted(strong),:host h5 ::slotted(b),:host h5 ::slotted(strong),:host h6 ::slotted(b),:host h6 ::slotted(strong){font-weight:var(--font-weight-bold)}:host h1 ::slotted(a),:host h2 ::slotted(a),:host h3 ::slotted(a),:host h4 ::slotted(a),:host h5 ::slotted(a),:host h6 ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-link);text-underline-offset:10%;cursor:pointer}:host h1 ::slotted(u),:host h2 ::slotted(u),:host h3 ::slotted(u),:host h4 ::slotted(u),:host h5 ::slotted(u),:host h6 ::slotted(u){text-underline-offset:10%}:host h1 ::slotted(i),:host h1 ::slotted(em),:host h2 ::slotted(i),:host h2 ::slotted(em),:host h3 ::slotted(i),:host h3 ::slotted(em),:host h4 ::slotted(i),:host h4 ::slotted(em),:host h5 ::slotted(i),:host h5 ::slotted(em),:host h6 ::slotted(i),:host h6 ::slotted(em){font-style:italic;font-weight:var(--font-weight-medium)}:host h1 ::slotted(abbr),:host h2 ::slotted(abbr),:host h3 ::slotted(abbr),:host h4 ::slotted(abbr),:host h5 ::slotted(abbr),:host h6 ::slotted(abbr){color:var(--color-link);text-decoration:underline dashed 1px var(--color-link);text-underline-offset:10%;cursor:default}@media (min-width: 769px) and (max-width: 1920px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:3.429em}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:2.8571428571em;letter-spacing:-1.92px}}@media (min-width: 1921px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:4.286em;line-height:calc(var(--line-height) + 5%)}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:3.5714285714em;letter-spacing:-1.2px}}";export{l as cura_display}
1
+ import{r as t,h as s,H as h,g as o}from"./p-BxFVLGIR.js";import"./p-BTIDzOyO.js";const l=class{constructor(s){t(this,s),this.level=1,this.size="large",this.spotColor="accent-dark",this.marginBlock="1.25em",this.lineHeight="120%",this.theme=window.CuraAPI.theme,this.styles={}}handleChangeColor(){this.setColors()}connectedCallback(){this.setFontProperties(),this.setColors()}setFontProperties(){this.weights=this.theme.fonts.getWeights(),this.fontSizeBase=this.theme.fonts.getSize(),this.styles={"--font-family":window.CuraAPI.theme.fonts.getFamily("display"),"--font-size":window.CuraAPI.theme.fonts.getSize(),"--font-weight-bold":this.weights.bold,"--font-weight-medium":this.weights.medium}}hostCSSProperties(){return{"--margin-block":this.marginBlock,"--font-size-base":this.fontSizeBase,"--line-height":this.lineHeight}}setColors(){const t=this.color?this.theme.colors.getColor(this.color):this.theme.fonts.getColor();this.styles=Object.assign(Object.assign({},this.styles),{"--color-body":t||this.theme.colors.getColor("neutral-darker"),"--color-link":this.theme.colors.getColor(`${this.spotColor}`)})}getClasses(){var t;const s={};return s[`${null===(t=this.size)||void 0===t?void 0:t.toLowerCase()}`]=!0,s}getHeadingTag(){const t=this.getClasses(),h={1:s("h1",{style:this.styles,class:t},s("slot",null)),2:s("h2",{style:this.styles,class:t},s("slot",null)),3:s("h3",{style:this.styles,class:t},s("slot",null)),4:s("h4",{style:this.styles,class:t},s("slot",null)),5:s("h5",{style:this.styles,class:t},s("slot",null)),6:s("h6",{style:this.styles,class:t},s("slot",null)),default:s("h1",{style:this.styles,class:t},s("slot",null))};return h[`${this.level}`]||h.default}render(){return s(h,{key:"b9264ba7f3ff79b474f02107824441c9f6e67ec1",style:this.hostCSSProperties(),role:"heading","aria-level":this.level},this.getHeadingTag())}get host(){return o(this)}static get watchers(){return{color:[{handleChangeColor:0}],spotColor:[{handleChangeColor:0}]}}};l.style=":host{display:block;font-size:var(--font-size-base)}:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-family:var(--font-family);font-size:3em;font-weight:var(--font-weight-bold);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:2.2857142857em;letter-spacing:-1.68px}:host h1 ::slotted(b),:host h1 ::slotted(strong),:host h2 ::slotted(b),:host h2 ::slotted(strong),:host h3 ::slotted(b),:host h3 ::slotted(strong),:host h4 ::slotted(b),:host h4 ::slotted(strong),:host h5 ::slotted(b),:host h5 ::slotted(strong),:host h6 ::slotted(b),:host h6 ::slotted(strong){font-weight:var(--font-weight-bold)}:host h1 ::slotted(a),:host h2 ::slotted(a),:host h3 ::slotted(a),:host h4 ::slotted(a),:host h5 ::slotted(a),:host h6 ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-link);text-underline-offset:10%;cursor:pointer}:host h1 ::slotted(u),:host h2 ::slotted(u),:host h3 ::slotted(u),:host h4 ::slotted(u),:host h5 ::slotted(u),:host h6 ::slotted(u){text-underline-offset:10%}:host h1 ::slotted(i),:host h1 ::slotted(em),:host h2 ::slotted(i),:host h2 ::slotted(em),:host h3 ::slotted(i),:host h3 ::slotted(em),:host h4 ::slotted(i),:host h4 ::slotted(em),:host h5 ::slotted(i),:host h5 ::slotted(em),:host h6 ::slotted(i),:host h6 ::slotted(em){font-style:italic;font-weight:var(--font-weight-medium)}:host h1 ::slotted(abbr),:host h2 ::slotted(abbr),:host h3 ::slotted(abbr),:host h4 ::slotted(abbr),:host h5 ::slotted(abbr),:host h6 ::slotted(abbr){color:var(--color-link);text-decoration:underline dashed 1px var(--color-link);text-underline-offset:10%;cursor:default}@media (min-width: 769px) and (max-width: 1920px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:3.429em}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:2.8571428571em;letter-spacing:-1.92px}}@media (min-width: 1921px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:4.286em;line-height:calc(var(--line-height) + 5%)}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:3.5714285714em;letter-spacing:-1.2px}}";export{l as cura_display}
@@ -1 +1 @@
1
- import{r as t,c as e,h as r,H as a}from"./p-BxFVLGIR.js";import{l as o}from"./p-CHcd-uKK.js";import"./p-BTIDzOyO.js";const s=class{constructor(r){t(this,r),this.tabSelect=e(this,"tabSelect"),this.counter=1,this.selected=!1,this.disabled=!1,this.size="large",this.colorMode="light",this.hovered=!1,this.styles={}}setColors(){[{name:"--background-color-selected",theme:"light"===this.colorMode?"primary-base":"primary-light"},{name:"--background-color-hover",theme:"light"===this.colorMode?"primary-light":null},{name:"--background-disabled-selected",theme:"light"===this.colorMode?"neutral-white":"neutral-black"},{name:"--border-color",theme:"light"===this.colorMode?"primary-base":"primary-light"}].forEach((t=>{t.theme&&(this.styles[t.name]=window.CuraAPI.theme.colors.getColor(t.theme))})),this.styles=Object.assign({},this.styles)}computeContentColor(){return this.disabled?"neutral-dark":"dark"===this.colorMode?this.hovered&&!this.selected?"neutral-purewhite":this.selected?"neutral-black":"primary-lighter":this.selected?"neutral-purewhite":"primary-dark"}getIcon(){if(!this.iconName)return"";const t="large"===this.size?20:16,e=this.computeContentColor();return r("cura-icon",{name:this.iconName,size:t,color:e})}getClasses(){return{[this.size]:!0,[this.colorMode]:!0,selected:this.selected,disabled:this.disabled}}getCounter(){return r("cura-badge-counter",{number:this.counter,color:"primary",disabled:this.disabled,class:"badge-number"})}connectedCallback(){this.styles=Object.assign(Object.assign({},this.styles),{"--primary-dark":window.CuraAPI.theme.colors.getColor("primary-dark"),"--neutral-purewhite":window.CuraAPI.theme.colors.getColor("neutral-purewhite"),"--neutral-dark":window.CuraAPI.theme.colors.getColor("neutral-dark"),"--base-spacing":window.CuraAPI.theme.spacing.getSpacing()}),this.setColors()}handleMouseEnter(){this.disabled||(this.hovered=!0)}handleMouseLeave(){this.hovered=!1}handleClick(t){this.disabled?t.preventDefault():(this.selected=!this.selected,this.tabSelect.emit({name:this.name}))}render(){const t=o[this.size]||o.default,e=this.computeContentColor();return r(a,{key:"e1b96aaf534d4a6c65f875413a0ad28b524c7d97",role:"button","aria-pressed":this.selected,"aria-disabled":this.disabled},r("button",{key:"dd6436cf0820f4038dfda6f5a45bcdf828d342bd",class:this.getClasses(),style:this.styles,onClick:t=>this.handleClick(t),disabled:this.disabled,onMouseEnter:this.handleMouseEnter.bind(this),onMouseLeave:this.handleMouseLeave.bind(this)},this.getIcon(),r("cura-label",{key:"8bebb4e66694fbcedcd218cba0f13de2253ae587",size:t,color:e,lineHeight:"0",marginBlock:"0"},r("slot",{key:"b6fab707b8b4cab36131bfec148746e9459302e8"})),this.counter>0&&this.getCounter()))}static get watchers(){return{colorMode:[{setColors:0}]}}};s.style=":host button,:host a{outline:none;box-shadow:none;box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:center;text-decoration:none !important;font-size:var(--font-size);cursor:pointer;transition:background-color 0.07s linear, box-shadow 0.07s linear, border-color 0.07s linear;border-radius:var(--border-radius);position:relative;background-color:transparent;box-sizing:border-box;border:none;display:flex;align-items:center;justify-content:center;min-width:120px;width:fit-content;border:2px solid var(--border-color);border-radius:4px}:host button:focus,:host a:focus{outline:2px solid #6EA8FF}:host button:not(.selected),:host a:not(.selected){border:2px solid var(--border-color)}:host button:not(.disabled,.selected):hover,:host a:not(.disabled,.selected):hover{background-color:var(--background-color-hover)}:host button:not(.disabled,.selected):hover.dark,:host a:not(.disabled,.selected):hover.dark{border-color:var(--neutral-purewhite)}:host button.small,:host a.small{padding:calc(var(--cura-spacing-base) * 2px) calc(var(--cura-spacing-base) * 2px)}:host button.medium,:host a.medium{padding:calc(var(--cura-spacing-base) * 3px) calc(var(--cura-spacing-base) * 3px)}:host button.large,:host a.large{padding:calc(var(--cura-spacing-base) * 3px) calc(var(--cura-spacing-base) * 4px)}:host button:focus,:host a:focus{border-color:var(--primary-light)}:host button cura-icon,:host a cura-icon{margin-right:calc(var(--cura-spacing-base) * 2px)}:host button cura-badge-counter,:host a cura-badge-counter{margin-left:calc(var(--cura-spacing-base) * 2px)}:host button.selected,:host a.selected{cursor:pointer;background-color:var(--background-color-selected)}:host button.selected.disabled,:host a.selected.disabled{border-color:transparent;background-color:var(--background-disabled-selected)}:host button.disabled,:host a.disabled{cursor:not-allowed}:host button.disabled:not(.selected),:host a.disabled:not(.selected){border-color:var(--neutral-dark)}";export{s as cura_tabs_button}
1
+ import{r as t,c as e,h as r,H as a}from"./p-BxFVLGIR.js";import{l as o}from"./p-CHcd-uKK.js";import"./p-BTIDzOyO.js";const s=class{constructor(r){t(this,r),this.tabSelect=e(this,"tabSelect"),this.counter=1,this.selected=!1,this.disabled=!1,this.size="large",this.colorMode="light",this.hovered=!1,this.styles={}}setColors(){[{name:"--background-color-selected",theme:"light"===this.colorMode?"primary-base":"primary-light"},{name:"--background-color-hover",theme:"light"===this.colorMode?"primary-light":null},{name:"--background-disabled-selected",theme:"light"===this.colorMode?"neutral-white":"neutral-black"},{name:"--border-color",theme:"light"===this.colorMode?"primary-base":"primary-light"}].forEach((t=>{t.theme&&(this.styles[t.name]=window.CuraAPI.theme.colors.getColor(t.theme))})),this.styles=Object.assign({},this.styles)}computeContentColor(){return this.disabled?"neutral-dark":"dark"===this.colorMode?this.hovered&&!this.selected?"neutral-purewhite":this.selected?"neutral-black":"primary-lighter":this.selected?"neutral-purewhite":"primary-dark"}getIcon(){if(!this.iconName)return"";const t="large"===this.size?20:16,e=this.computeContentColor();return r("cura-icon",{name:this.iconName,size:t,color:e})}getClasses(){return{[this.size]:!0,[this.colorMode]:!0,selected:this.selected,disabled:this.disabled}}getCounter(){return r("cura-badge-counter",{number:this.counter,color:"primary",disabled:this.disabled,class:"badge-number"})}connectedCallback(){this.styles=Object.assign(Object.assign({},this.styles),{"--primary-dark":window.CuraAPI.theme.colors.getColor("primary-dark"),"--neutral-purewhite":window.CuraAPI.theme.colors.getColor("neutral-purewhite"),"--neutral-dark":window.CuraAPI.theme.colors.getColor("neutral-dark"),"--base-spacing":window.CuraAPI.theme.spacing.getSpacing()}),this.setColors()}handleMouseEnter(){this.disabled||(this.hovered=!0)}handleMouseLeave(){this.hovered=!1}handleClick(t){this.disabled?t.preventDefault():(this.selected=!this.selected,this.tabSelect.emit({name:this.name}))}render(){const t=o[this.size]||o.default,e=this.computeContentColor();return r(a,{key:"8c6b0887fb2077909547c732cecb8655842d4a93",role:"button","aria-pressed":this.selected,"aria-disabled":this.disabled},r("button",{key:"f91ddf1d31dbebb6e097e48838b64b6787a88148",class:this.getClasses(),style:this.styles,onClick:t=>this.handleClick(t),disabled:this.disabled,onMouseEnter:this.handleMouseEnter.bind(this),onMouseLeave:this.handleMouseLeave.bind(this)},this.getIcon(),r("cura-label",{key:"0ca8313f7b54bc0d238c1b56abb75c940789471f",size:t,color:e,lineHeight:"0",marginBlock:"0"},r("slot",{key:"964538375a7c4560a996cc8c069753f07120ba9e"})),this.counter>0&&this.getCounter()))}static get watchers(){return{colorMode:[{setColors:0}]}}};s.style=":host button,:host a{outline:none;box-shadow:none;box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:center;text-decoration:none !important;font-size:var(--font-size);cursor:pointer;transition:background-color 0.07s linear, box-shadow 0.07s linear, border-color 0.07s linear;border-radius:var(--border-radius);position:relative;background-color:transparent;box-sizing:border-box;border:none;display:flex;align-items:center;justify-content:center;min-width:120px;width:fit-content;border:2px solid var(--border-color);border-radius:4px}:host button:focus,:host a:focus{outline:2px solid #6EA8FF}:host button:not(.selected),:host a:not(.selected){border:2px solid var(--border-color)}:host button:not(.disabled,.selected):hover,:host a:not(.disabled,.selected):hover{background-color:var(--background-color-hover)}:host button:not(.disabled,.selected):hover.dark,:host a:not(.disabled,.selected):hover.dark{border-color:var(--neutral-purewhite)}:host button.small,:host a.small{padding:calc(var(--cura-spacing-base) * 2px) calc(var(--cura-spacing-base) * 2px)}:host button.medium,:host a.medium{padding:calc(var(--cura-spacing-base) * 3px) calc(var(--cura-spacing-base) * 3px)}:host button.large,:host a.large{padding:calc(var(--cura-spacing-base) * 3px) calc(var(--cura-spacing-base) * 4px)}:host button:focus,:host a:focus{border-color:var(--primary-light)}:host button cura-icon,:host a cura-icon{margin-right:calc(var(--cura-spacing-base) * 2px)}:host button cura-badge-counter,:host a cura-badge-counter{margin-left:calc(var(--cura-spacing-base) * 2px)}:host button.selected,:host a.selected{cursor:pointer;background-color:var(--background-color-selected)}:host button.selected.disabled,:host a.selected.disabled{border-color:transparent;background-color:var(--background-disabled-selected)}:host button.disabled,:host a.disabled{cursor:not-allowed}:host button.disabled:not(.selected),:host a.disabled:not(.selected){border-color:var(--neutral-dark)}";export{s as cura_tabs_button}
@@ -0,0 +1 @@
1
+ import{r as e,h as i,H as a}from"./p-BxFVLGIR.js";import{i as r}from"./p-sjLA93YY.js";import"./p-BTIDzOyO.js";var o=["360","accessibility","accessibility2","accessibility3","accessibility4","addUser","airCond","airdrop","alertCircle","alertTriangle","arrowDown","arrowDownCircle","arrowLeft","arrowLeftCircle","arrowRight","arrowRightCircle","arrowUp","arrowUpCircle","attach","autism","avatarF","avatarM","backspaceDelete","bathroom","bed","bike","biometry","biop","blinds","bloodGroup","calendar","cam","camOff","cart","central","chatCircle","check","checkBadge","checkCircle","checkDouble","clean","clock","close","closeCircle","coffee","collapse","config","contacts","currency","delete","desktop","doc","docs","door","down","download","drug","duplicate","edit","elevator","exam","examDoc","expand","facebook","fileBmp","fileJpg","filePdf","filePng","fileUpload","fileXls","filter","fullscreen","gallery","geotag","geotagUnity","geotagUnityGroup","google","graph","healthPlan","heart","height","height2","home","horizontalList","id","image","imageUp","infoCircle","instagram","key","keyboardArrows","keyboardNum","lab","lamp","lampSmart","language","language2","languageEN","languagePT","lattes","left","like","link","linkExternal","linkedin","list","login","logout","mail","maintenance","medDoc","medEspec","medImg","medUser","medical","menuHamburguer","menuKebab","menuMeatballs","mic","micOff","minus","minusCircle","minusSquare","mobile","mobileClick","mobileRotate1","mobileRotate2","mobileRotate3","news","notification","npsDeslike","npsHate","npsLike","npsLove","npsNeutral","nutrition","order","parking","partner","pause","phone","play","plus","plusCircle","plusSquare","print","profile","profileCircle","questionCircle","questionSquare","range","reload","ribbon","right","schedule","scheduleCancel","scheduleCheck","scheduleHistorico","search","secure","share","sink","siren","sound","soundOff","star","stop","store","subItem","swap","target","team","telegram","tv","twitter","unLink","unSecure","unity","unlike","up","upload","userChecklist","vaccine","verticalList","viewFalse","viewTrue","weight","whatsapp","wifi","wifiOff","window","xray","youtube","zoomIn","zoomOut"];const c=class{constructor(i){e(this,i),this.sizes=Object.keys(r).filter((e=>"default"!==e)),this.colors=["primary","secondary","accent","info","warning","error","success","neutral"],this.selected=o[0],this.setSelected=e=>{this.selected=e}}connectedCallback(){this.sizes.unshift(this.sizes.pop())}render(){return i(a,{key:"f25d10b3f380cc58fd5b4e77b437e09ba0787df4"},i("div",{key:"5162f1c8aff585a60f37ef9af8451dae8b310394",class:"iconDetail"},i("cura-heading",{key:"2e95f88bf98bcb3b5ea8b2ce6b015ef5d3c984e5",size:"small","margin-block":"0 24px"},"Icon: ",i("b",{key:"102d867291ca3af92c370f044a7140571b15c737"},this.selected)),i("div",{key:"e2fd0833644705ea8b406508be51c6d2d5683d24",class:"iconSizes"},this.sizes.map((e=>i("div",{class:"size"},i("cura-icon",{name:this.selected,size:e}),i("span",null,e))))),i("div",{key:"fa842318750f3cdb5e5d7f7333c9221aaf66b585",class:"iconSizes invert"},this.sizes.map((e=>i("div",{class:"size"},i("cura-icon",{name:this.selected,size:e,color:"neutral-white"}),i("span",null,e)))))),i("div",{key:"a25fd5649fe3bda93f80208e634790da44dde89b",class:"icons"},o.map((e=>i("div",{class:{icon:!0,selected:e===this.selected},onClick:()=>this.setSelected(e)},i("cura-icon",{name:e,size:"32",color:e===this.selected?"accent-dark":"neutral-dark"}),i("cura-label",{size:"xsmall",weight:e===this.selected?"bold":"regular",color:e===this.selected?"accent-dark":"neutral-dark"},e))))))}};c.style=':host{display:block;padding:24px;font-family:"Roboto", Arial, Helvetica, sans-serif}.iconDetail{display:block}.iconSizes{display:flex;align-items:center}.iconSizes .size{display:flex;flex-direction:column;text-align:center;align-items:center;margin-right:9px;padding:8px}.iconSizes .size:last-child{margin-right:0}.iconSizes .size span{font-size:10px;margin:8px 0}.iconSizes.invert{margin-top:12px}.iconSizes.invert .size{background-color:#2d2d2d;color:#F6F6F6;border-radius:3px}.icons{margin-top:28px;display:flex;flex-wrap:wrap;position:relative}.icons .icon{position:relative;padding:4px;cursor:pointer;opacity:0.6;transition:opacity 0.2s linear;width:105px;display:flex;flex-direction:column;text-align:center;align-items:center;margin-bottom:16px;box-sizing:border-box;}.icons .icon cura-label{margin-top:8px}.icons .icon cura-paragraph{margin-top:4px}';export{c as cura_icons_view}
@@ -1 +1 @@
1
- import{r as s,h as r,H as e,g as a}from"./p-BxFVLGIR.js";import"./p-BTIDzOyO.js";const t=class{constructor(r){s(this,r),this.color="primary-base",this.progress=0,this.styles={}}handleChangeColor(){this.setColor()}handleProgress(){this.setProgress()}connectedCallback(){this.setColor(),this.setProgress()}render(){return r(e,{key:"dd27615093a7ab333175afb1e48bbe5455d7406b",role:"progressbar","aria-valuenow":this.progress,"aria-valuemin":0,"aria-valuemax":100},r("div",{key:"c3c76b76826c558769d43e441d9e0c573fb7eb7b",id:"progress-bar",class:"progress-bar",style:this.styles},r("span",{key:"0e8e361bdf63e558fa34cca67c3446b1147c2643",class:"progress-bar-fill"})))}setColor(){this.styles=Object.assign(Object.assign({},this.styles),{"--neutral-base":window.CuraAPI.theme.colors.getColor("neutral-base",.2),"--color-base":window.CuraAPI.theme.colors.getColor(this.color)})}setProgress(){this.styles=Object.assign(Object.assign({},this.styles),{"--bar-width":`${this.progress}%`})}get host(){return a(this)}static get watchers(){return{color:[{handleChangeColor:0}],progress:[{handleProgress:0}]}}};t.style=":host{display:block}:host .progress-bar{position:absolute;left:0;bottom:0;width:100%;height:4px;background-color:var(--neutral-base)}:host .progress-bar span{position:absolute;left:0;bottom:0;width:var(--bar-width);height:100%;border-radius:0 2px 2px 0;background-color:var(--color-base);transition:width 0.2s linear}";export{t as cura_loader_bar}
1
+ import{r as s,h as r,H as a,g as e}from"./p-BxFVLGIR.js";import"./p-BTIDzOyO.js";const t=class{constructor(r){s(this,r),this.color="primary-base",this.progress=0,this.styles={}}handleChangeColor(){this.setColor()}handleProgress(){this.setProgress()}connectedCallback(){this.setColor(),this.setProgress()}render(){return r(a,{key:"1cad7226bfde87284c61f4786c3bccf66f967d40",role:"progressbar","aria-valuenow":this.progress,"aria-valuemin":0,"aria-valuemax":100},r("div",{key:"59320656c2a679ff5600ef803fa215f1ed5d218d",id:"progress-bar",class:"progress-bar",style:this.styles},r("span",{key:"6d66523c36dfaece1e9d7a3d60c8fbf7dbef5efa",class:"progress-bar-fill"})))}setColor(){this.styles=Object.assign(Object.assign({},this.styles),{"--neutral-base":window.CuraAPI.theme.colors.getColor("neutral-base",.2),"--color-base":window.CuraAPI.theme.colors.getColor(this.color)})}setProgress(){this.styles=Object.assign(Object.assign({},this.styles),{"--bar-width":`${this.progress}%`})}get host(){return e(this)}static get watchers(){return{color:[{handleChangeColor:0}],progress:[{handleProgress:0}]}}};t.style=":host{display:block}:host .progress-bar{position:absolute;left:0;bottom:0;width:100%;height:4px;background-color:var(--neutral-base)}:host .progress-bar span{position:absolute;left:0;bottom:0;width:var(--bar-width);height:100%;border-radius:0 2px 2px 0;background-color:var(--color-base);transition:width 0.2s linear}";export{t as cura_loader_bar}
@@ -1 +1 @@
1
- import{r as t,c as e,h as o,H as r}from"./p-BxFVLGIR.js";import{l as s}from"./p-CHcd-uKK.js";import"./p-BTIDzOyO.js";const a=class{constructor(o){t(this,o),this.tabSelect=e(this,"tabSelect"),this.selected=!1,this.disabled=!1,this.borderBottom=!0,this.size="large",this.colorMode="light",this.hovered=!1,this.styles={}}setColors(){[{name:"--border-bottom-color",theme:"light"===this.colorMode?"neutral-base":"primary"},{name:"--border-bottom-color-selected",theme:"light"===this.colorMode?"primary-dark":"primary-lighter"}].forEach((t=>{t.theme&&(this.styles[t.name]=window.CuraAPI.theme.colors.getColor(t.theme))})),this.styles=Object.assign({},this.styles)}computeContentColor(){return this.disabled?"neutral-dark":"dark"===this.colorMode?this.hovered&&!this.selected?"neutral-purewhite":this.selected?"primary-lighter":"neutral-purewhite":this.hovered&&!this.selected?"primary-dark":this.selected?"primary-base":"neutral-black"}getIcon(){if(!this.iconName)return"";const t="large"===this.size?20:16,e=this.computeContentColor();return o("cura-icon",{name:this.iconName,size:t,color:e})}getClasses(){return{[this.size]:!0,[this.colorMode]:!0,selected:this.selected,disabled:this.disabled,"border-bottom":this.borderBottom}}connectedCallback(){this.styles=Object.assign(Object.assign({},this.styles),{"--primary-dark":window.CuraAPI.theme.colors.getColor("primary-dark"),"--neutral-purewhite":window.CuraAPI.theme.colors.getColor("neutral-purewhite"),"--base-spacing":window.CuraAPI.theme.spacing.getSpacing()}),this.setColors()}handleMouseEnter(){this.disabled||(this.hovered=!0)}handleMouseLeave(){this.hovered=!1}handleClick(t){this.disabled?t.preventDefault():(this.selected=!this.selected,this.tabSelect.emit({name:this.name}))}render(){const t=s[this.size]||s.default,e=this.computeContentColor();return o(r,{key:"09e06aa0e52ca852fa5e4409429f50242fa5c6a9",role:"button","aria-pressed":this.selected,"aria-disabled":this.disabled},o("button",{key:"a4c5f800f22b23e24b89366766660c02abfd7091",class:this.getClasses(),style:this.styles,onClick:t=>this.handleClick(t),disabled:this.disabled,onMouseEnter:this.handleMouseEnter.bind(this),onMouseLeave:this.handleMouseLeave.bind(this)},this.getIcon(),o("cura-label",{key:"73de8c0f84a1128a92fd840c4b6d9b3415071a99",size:t,color:e,lineHeight:"0",marginBlock:"0"},o("slot",{key:"2514d0f1bd9752635fcc2d453c8994d09ef7f5d1"}))))}static get watchers(){return{colorMode:[{setColors:0}]}}};a.style=":host button,:host a{outline:none;box-shadow:none;box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:center;text-decoration:none !important;font-size:var(--font-size);cursor:pointer;transition:background-color 0.07s linear, box-shadow 0.07s linear, border-color 0.07s linear;border-radius:var(--border-radius);position:relative;background-color:transparent;box-sizing:border-box;border:none;min-width:120px;width:fit-content;display:flex;align-items:center;justify-content:center}:host button:focus,:host a:focus{outline:2px solid #6EA8FF}:host button.border-bottom,:host a.border-bottom{border-bottom:1px solid var(--border-bottom-color)}:host button.small,:host a.small{padding:calc(var(--cura-spacing-base) * 2px) calc(var(--cura-spacing-base) * 2px)}:host button.medium,:host a.medium{padding:calc(var(--cura-spacing-base) * 3px) calc(var(--cura-spacing-base) * 3px)}:host button.large,:host a.large{padding:calc(var(--cura-spacing-base) * 3px) calc(var(--cura-spacing-base) * 4px)}:host button:not(.selected),:host a:not(.selected){border-color:var(--border-color)}:host button:focus,:host a:focus{border-color:var(--primary-light)}:host button:not(.disabled,.selected):hover,:host a:not(.disabled,.selected):hover{background-color:var(--background-color-hover)}:host button:not(.disabled,.selected):hover.dark,:host a:not(.disabled,.selected):hover.dark{border-color:var(--neutral-purewhite)}:host button cura-icon,:host a cura-icon{margin-right:calc(var(--cura-spacing-base) * 2px)}:host button.selected,:host a.selected{cursor:pointer}:host button.selected:not(.disabled),:host a.selected:not(.disabled){border-bottom:1px solid var(--border-bottom-color-selected)}:host button.disabled,:host a.disabled{cursor:not-allowed}";export{a as cura_tabs_transparent}
1
+ import{r as t,c as e,h as o,H as r}from"./p-BxFVLGIR.js";import{l as s}from"./p-CHcd-uKK.js";import"./p-BTIDzOyO.js";const a=class{constructor(o){t(this,o),this.tabSelect=e(this,"tabSelect"),this.selected=!1,this.disabled=!1,this.borderBottom=!0,this.size="large",this.colorMode="light",this.hovered=!1,this.styles={}}setColors(){[{name:"--border-bottom-color",theme:"light"===this.colorMode?"neutral-base":"primary"},{name:"--border-bottom-color-selected",theme:"light"===this.colorMode?"primary-dark":"primary-lighter"}].forEach((t=>{t.theme&&(this.styles[t.name]=window.CuraAPI.theme.colors.getColor(t.theme))})),this.styles=Object.assign({},this.styles)}computeContentColor(){return this.disabled?"neutral-dark":"dark"===this.colorMode?this.hovered&&!this.selected?"neutral-purewhite":this.selected?"primary-lighter":"neutral-purewhite":this.hovered&&!this.selected?"primary-dark":this.selected?"primary-base":"neutral-black"}getIcon(){if(!this.iconName)return"";const t="large"===this.size?20:16,e=this.computeContentColor();return o("cura-icon",{name:this.iconName,size:t,color:e})}getClasses(){return{[this.size]:!0,[this.colorMode]:!0,selected:this.selected,disabled:this.disabled,"border-bottom":this.borderBottom}}connectedCallback(){this.styles=Object.assign(Object.assign({},this.styles),{"--primary-dark":window.CuraAPI.theme.colors.getColor("primary-dark"),"--neutral-purewhite":window.CuraAPI.theme.colors.getColor("neutral-purewhite"),"--base-spacing":window.CuraAPI.theme.spacing.getSpacing()}),this.setColors()}handleMouseEnter(){this.disabled||(this.hovered=!0)}handleMouseLeave(){this.hovered=!1}handleClick(t){this.disabled?t.preventDefault():(this.selected=!this.selected,this.tabSelect.emit({name:this.name}))}render(){const t=s[this.size]||s.default,e=this.computeContentColor();return o(r,{key:"3a165e58646df4462994a4368ef6d58a843bdc5c",role:"button","aria-pressed":this.selected,"aria-disabled":this.disabled},o("button",{key:"50bfeaf2ec27682b6168f0c173b140bee1249229",class:this.getClasses(),style:this.styles,onClick:t=>this.handleClick(t),disabled:this.disabled,onMouseEnter:this.handleMouseEnter.bind(this),onMouseLeave:this.handleMouseLeave.bind(this)},this.getIcon(),o("cura-label",{key:"5f2c83984da3d83ec0e6719eff67e901195366fa",size:t,color:e,lineHeight:"0",marginBlock:"0"},o("slot",{key:"317de55115567fed9ece59b8c4da507e20f9c57e"}))))}static get watchers(){return{colorMode:[{setColors:0}]}}};a.style=":host button,:host a{outline:none;box-shadow:none;box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:center;text-decoration:none !important;font-size:var(--font-size);cursor:pointer;transition:background-color 0.07s linear, box-shadow 0.07s linear, border-color 0.07s linear;border-radius:var(--border-radius);position:relative;background-color:transparent;box-sizing:border-box;border:none;min-width:120px;width:fit-content;display:flex;align-items:center;justify-content:center}:host button:focus,:host a:focus{outline:2px solid #6EA8FF}:host button.border-bottom,:host a.border-bottom{border-bottom:1px solid var(--border-bottom-color)}:host button.small,:host a.small{padding:calc(var(--cura-spacing-base) * 2px) calc(var(--cura-spacing-base) * 2px)}:host button.medium,:host a.medium{padding:calc(var(--cura-spacing-base) * 3px) calc(var(--cura-spacing-base) * 3px)}:host button.large,:host a.large{padding:calc(var(--cura-spacing-base) * 3px) calc(var(--cura-spacing-base) * 4px)}:host button:not(.selected),:host a:not(.selected){border-color:var(--border-color)}:host button:focus,:host a:focus{border-color:var(--primary-light)}:host button:not(.disabled,.selected):hover,:host a:not(.disabled,.selected):hover{background-color:var(--background-color-hover)}:host button:not(.disabled,.selected):hover.dark,:host a:not(.disabled,.selected):hover.dark{border-color:var(--neutral-purewhite)}:host button cura-icon,:host a cura-icon{margin-right:calc(var(--cura-spacing-base) * 2px)}:host button.selected,:host a.selected{cursor:pointer}:host button.selected:not(.disabled),:host a.selected:not(.disabled){border-bottom:1px solid var(--border-bottom-color-selected)}:host button.disabled,:host a.disabled{cursor:not-allowed}";export{a as cura_tabs_transparent}
@@ -1,10 +1,11 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-Ce1Pxw3V.js';
2
2
  import { l as labelSizes } from './cura-button.definitions-BSI2FkNn.js';
3
3
  import { r as requiredArgs, t as toDate, _ as _typeof, i as isBefore, a as isAfter } from './index-964stZ3D.js';
4
- import { S as Static } from './static-DfJS7YqS.js';
4
+ import { a as addBodyScrollLockClass, r as removeBodyScrollLockClass, c as checkMobile, b as checkIOS, f as fakeInputIOSHack } from './utils-BZCR971L.js';
5
5
  import { i as iconSizes } from './cura-icon.definitions-sjLA93YY.js';
6
6
  import { l as labelSizes$1 } from './cura-tabs.definitions-CHcd-uKK.js';
7
7
  import './theme-legacy-default-BTIDzOyO.js';
8
+ import './static-DfJS7YqS.js';
8
9
 
9
10
  const curaAccordionCss = () => `:host{display:block;color:var(--font-color);font-size:var(--font-size);font-size:var(--font-size);font-family:var(--font-family);font-weight:var(--font-weight-regular)}`;
10
11
 
@@ -6801,7 +6802,6 @@ const CuraCalendar = class {
6801
6802
  registerInstance(this, hostRef);
6802
6803
  this.onchangeday = createEvent(this, "onchangeday");
6803
6804
  this.changeDateInView = createEvent(this, "changeDateInView");
6804
- this.isMounted = false;
6805
6805
  /**
6806
6806
  * Disable component
6807
6807
  *
@@ -7143,6 +7143,7 @@ const CuraCalendar = class {
7143
7143
  if (direction === 'next')
7144
7144
  newMonth = addMonths(this.currentDate, 1);
7145
7145
  this.currentDate = newMonth;
7146
+ this.sendEventChangeDateInView(Boolean(this.collapsed), newMonth);
7146
7147
  }
7147
7148
  /**
7148
7149
  * Handle the month dropdown change.
@@ -7153,7 +7154,9 @@ const CuraCalendar = class {
7153
7154
  const { months } = this.fetchMonthNames();
7154
7155
  const newMonth = event.detail;
7155
7156
  this.selectMonth = newMonth;
7156
- this.currentDate = new Date(getYear(this.currentDate), months.indexOf(newMonth), 1);
7157
+ const currentDateUpdated = new Date(getYear(this.currentDate), months.indexOf(newMonth), 1);
7158
+ this.currentDate = currentDateUpdated;
7159
+ this.sendEventChangeDateInView(Boolean(this.collapsed), currentDateUpdated);
7157
7160
  }
7158
7161
  /**
7159
7162
  * Handle the year input change.
@@ -7163,7 +7166,9 @@ const CuraCalendar = class {
7163
7166
  onYearDropdownChange(event) {
7164
7167
  const newYear = event.detail;
7165
7168
  this.selectYear = newYear;
7166
- this.currentDate = new Date(newYear, getMonth(this.currentDate), 1);
7169
+ const currentDateUpdated = new Date(newYear, getMonth(this.currentDate), 1);
7170
+ this.currentDate = currentDateUpdated;
7171
+ this.sendEventChangeDateInView(Boolean(this.collapsed), currentDateUpdated);
7167
7172
  }
7168
7173
  /**
7169
7174
  * Flatten date ranges into individual dates.
@@ -7270,10 +7275,10 @@ const CuraCalendar = class {
7270
7275
  this.collapsed = true;
7271
7276
  return this.fetchDaysOfWeek();
7272
7277
  }
7273
- fetchDaysOfWeek() {
7278
+ fetchDaysOfWeek(currentDate) {
7274
7279
  const DAYS_IN_CALENDAR_VIEW = 7;
7275
- const start = startOfWeek(this.currentDate);
7276
- const end = endOfWeek(this.currentDate);
7280
+ const start = startOfWeek(currentDate || this.currentDate);
7281
+ const end = endOfWeek(currentDate || this.currentDate);
7277
7282
  const daysIncurrentDate = eachDayOfInterval({ start, end });
7278
7283
  return daysIncurrentDate.slice(0, DAYS_IN_CALENDAR_VIEW);
7279
7284
  }
@@ -7284,11 +7289,12 @@ const CuraCalendar = class {
7284
7289
  if (direction === 'next')
7285
7290
  newWeek = addWeeks(this.currentDate, 1);
7286
7291
  this.currentDate = newWeek;
7292
+ this.sendEventChangeDateInView(Boolean(this.collapsed), newWeek);
7287
7293
  }
7288
- fetchDaysOfMonth() {
7294
+ fetchDaysOfMonth(currentDate) {
7289
7295
  const DAYS_IN_CALENDAR_VIEW = 35;
7290
- const start = startOfMonth(this.currentDate);
7291
- const end = endOfMonth(this.currentDate);
7296
+ const start = startOfMonth(currentDate || this.currentDate);
7297
+ const end = endOfMonth(currentDate || this.currentDate);
7292
7298
  const daysIncurrentDate = eachDayOfInterval({ start, end });
7293
7299
  const startWeekDay = getDay(start);
7294
7300
  const prevMonthEnd = endOfMonth(subMonths(start, 1));
@@ -7418,10 +7424,10 @@ const CuraCalendar = class {
7418
7424
  '--color-neutral-purewhite': window.CuraAPI.theme.colors.getColor(`neutral-purewhite`)
7419
7425
  };
7420
7426
  }
7421
- sendEventChangeDateInView(isCollapsed) {
7427
+ sendEventChangeDateInView(isCollapsed, currentDate) {
7422
7428
  const eventData = {
7423
- datesInView: isCollapsed ? this.fetchDaysOfWeek() : this.fetchDaysOfMonth(),
7424
- monthDays: this.fetchDaysOfMonth()
7429
+ datesInView: isCollapsed ? this.fetchDaysOfWeek(currentDate) : this.fetchDaysOfMonth(currentDate),
7430
+ monthDays: this.fetchDaysOfMonth(currentDate)
7425
7431
  };
7426
7432
  this.changeDateInView.emit(eventData);
7427
7433
  }
@@ -7441,23 +7447,14 @@ const CuraCalendar = class {
7441
7447
  }
7442
7448
  this.defaultDates = this.expandDateRanges(newValue);
7443
7449
  }
7444
- watchDatesInViewChange() {
7445
- if (!this.isMounted) {
7446
- return;
7447
- }
7448
- this.sendEventChangeDateInView(Boolean(this.collapsed));
7449
- }
7450
7450
  watchCollapse(isCollapsed) {
7451
- this.sendEventChangeDateInView(isCollapsed);
7452
- }
7453
- componentDidLoad() {
7454
- this.isMounted = true;
7451
+ this.sendEventChangeDateInView(isCollapsed, this.currentDate);
7455
7452
  }
7456
7453
  render() {
7457
7454
  const { months } = this.fetchMonthNames();
7458
- return (h(Host, { key: '9667bc4f47b6581724dcc658ce322b375622906a', style: this.getHostCSSProperties() }, h("div", { key: '231bc0e3890949e6696338e386a3db4e9744c5b6', class: `calendar ${this.floating ? 'floating' : ''} ${this.embedded ? 'embedded' : ''} ${this.getDisabledClassModifier()}`, style: this.styles }, h("header", { key: '88357e185b812e45d4632aa20759cf078e51af19', class: "header" }, h("div", { key: '93cf9ecfbce8772e64cdad26090119257f47b77b', class: `month-year ${this.type === 'dropdown' && 'dropdown'}` }, h("cura-icon", { key: 'c188f28ca53ffb79ad9d13b1ef7b19ab6d26b10d', class: `icon ${this.type === 'dropdown' && 'dropdown'}`, name: "left", disabled: this.isDisabled, color: this.determinePrevButtonColor(), onClick: this.handlePrevMonth }), this.type === 'dropdown' ? (h("div", { class: "select" }, h("cura-select", { disabled: this.isDisabled, size: "small", class: "drop-month", mode: "transparent", value: months[getMonth(this.currentDate)], onSelected: e => this.onMonthDropdownChange(e) }, months.map((month, index) => (h("cura-select-option", { size: "xsmall", key: index, value: month }, month)))), h("cura-select", { disabled: this.isDisabled, size: "small", class: "drop-year", mode: "transparent", value: getYear(this.currentDate).toString(), onSelected: e => this.onYearDropdownChange(e) }, this.fetchYearList().map((year, index) => (h("cura-select-option", { key: index, value: year.toString() }, year.toString())))))) : (h("cura-label", { color: !this.isDisabled ? 'neutral-black' : 'neutral-dark', size: "small" }, months[getMonth(this.currentDate)].slice(0, 3), ", ", getYear(this.currentDate))), h("cura-icon", { key: 'c890a280637b8c50d2b8cb8ac1ab9a685d742cc3', class: `icon ${this.type === 'dropdown' && 'dropdown'}`, name: "right", disabled: this.isDisabled, color: "primary-base", onClick: this.handleNextMonth }))), h("span", { key: 'fac87075df8335c9ad1464a5dc6caebfbd79cf38', class: "days-of-week" }, this.fetchWeekDays().map(this.renderItemWeekDays)), h("div", { key: 'e3d08f781cb7765f2c74e88ebd040d8dd28e7e9f', class: "dates" }, !this.collapsed
7455
+ return (h(Host, { key: 'ce5e455df204f6d7a8a3a34eba8198d33e1dd798', style: this.getHostCSSProperties() }, h("div", { key: 'b09f8c9ae06a38f0c04022a3c76ca89aed67f694', class: `calendar ${this.floating ? 'floating' : ''} ${this.embedded ? 'embedded' : ''} ${this.getDisabledClassModifier()}`, style: this.styles }, h("header", { key: 'c70bc378b8427424d4128f98b6f39f3a43d18e8b', class: "header" }, h("div", { key: 'cdda360107fd69b8a32e7773dfcb9f94bc63b517', class: `month-year ${this.type === 'dropdown' && 'dropdown'}` }, h("cura-icon", { key: 'a19af085d074aa74ba3a51712ed62228a4244911', class: `icon ${this.type === 'dropdown' && 'dropdown'}`, name: "left", disabled: this.isDisabled, color: this.determinePrevButtonColor(), onClick: this.handlePrevMonth }), this.type === 'dropdown' ? (h("div", { class: "select" }, h("cura-select", { disabled: this.isDisabled, size: "small", class: "drop-month", mode: "transparent", value: months[getMonth(this.currentDate)], onSelected: e => this.onMonthDropdownChange(e) }, months.map((month, index) => (h("cura-select-option", { size: "xsmall", key: index, value: month }, month)))), h("cura-select", { disabled: this.isDisabled, size: "small", class: "drop-year", mode: "transparent", value: getYear(this.currentDate).toString(), onSelected: e => this.onYearDropdownChange(e) }, this.fetchYearList().map((year, index) => (h("cura-select-option", { key: index, value: year.toString() }, year.toString())))))) : (h("cura-label", { color: !this.isDisabled ? 'neutral-black' : 'neutral-dark', size: "small" }, months[getMonth(this.currentDate)].slice(0, 3), ", ", getYear(this.currentDate))), h("cura-icon", { key: '0e9917d69adf95a5f4566d1269738d8ea4a11036', class: `icon ${this.type === 'dropdown' && 'dropdown'}`, name: "right", disabled: this.isDisabled, color: "primary-base", onClick: this.handleNextMonth }))), h("span", { key: 'f5249c9c7ebeae18af57c43bbd988aa7c21b7b04', class: "days-of-week" }, this.fetchWeekDays().map(this.renderItemWeekDays)), h("div", { key: '2465a9c40856462242a80f1fda2abf7dc2648012', class: "dates" }, !this.collapsed
7459
7456
  ? this.fetchDaysOfMonth().map((day, index) => (h("div", { key: index, class: this.getClasses(day), onClick: () => this.onDateClick(day) }, day ? format(day, 'd') : '')))
7460
- : this.fetchDaysOfWeek().map((day, index) => (h("div", { key: index, class: this.getClasses(day), onClick: () => this.onDateClick(day) }, day ? format(day, 'd') : '')))), this.collapsed !== null ? (this.collapsed ? (h("div", { class: "collapsed-container" }, h("cura-button-transparent", { disabled: this.isDisabled, onClick: () => this.showNotColapsedCalendar(), size: "small", color: "primary", fontColor: "dark", iconName: "plusCircle" }, "Veja mais datas"))) : (h("div", { class: "collapsed-container" }, h("cura-button-transparent", { onClick: () => this.showColapsedCalendar(), size: "small", color: "primary", fontColor: "dark", iconName: "minusCircle" }, "Veja menos datas")))) : null, this.isLoading && (h("div", { key: '91af6d390271d126ad380f26a2018e5e06c0f762', class: "loading-container" }, h("cura-loader-circle", { key: '032105471ed76a221fbbc50eac62d52250328d57', color: "primary", size: "large" }), h("slot", { key: '2cb6ce4b2cffc2d4ec704f4ba8fb746d59c1b0a0', name: "loadingMessage" }))))));
7457
+ : this.fetchDaysOfWeek().map((day, index) => (h("div", { key: index, class: this.getClasses(day), onClick: () => this.onDateClick(day) }, day ? format(day, 'd') : '')))), this.collapsed !== null ? (this.collapsed ? (h("div", { class: "collapsed-container" }, h("cura-button-transparent", { disabled: this.isDisabled, onClick: () => this.showNotColapsedCalendar(), size: "small", color: "primary", fontColor: "dark", iconName: "plusCircle" }, "Veja mais datas"))) : (h("div", { class: "collapsed-container" }, h("cura-button-transparent", { onClick: () => this.showColapsedCalendar(), size: "small", color: "primary", fontColor: "dark", iconName: "minusCircle" }, "Veja menos datas")))) : null, this.isLoading && (h("div", { key: 'fba41e2fd1b743d534f763e690b8eaf8f741f2f4', class: "loading-container" }, h("cura-loader-circle", { key: '9780c689a48c0c6ef2804ba6e9864338dd6a21a9', color: "primary", size: "large" }), h("slot", { key: 'c0e9eee4818991d9fd6ac8322aa183cf574abb65', name: "loadingMessage" }))))));
7461
7458
  }
7462
7459
  static get watchers() { return {
7463
7460
  "defaultDate": [{
@@ -7468,9 +7465,6 @@ const CuraCalendar = class {
7468
7465
  "customDates": [{
7469
7466
  "watchDefaultDatesArray": 0
7470
7467
  }],
7471
- "currentDate": [{
7472
- "watchDatesInViewChange": 0
7473
- }],
7474
7468
  "collapsed": [{
7475
7469
  "watchCollapse": 0
7476
7470
  }]
@@ -7550,44 +7544,6 @@ const CuraCard = class {
7550
7544
  };
7551
7545
  CuraCard.style = curaCardCss();
7552
7546
 
7553
- function checkMobile() {
7554
- return (window === null || window === void 0 ? void 0 : window.innerWidth) < Static.breakpoints.medium.min;
7555
- }
7556
- function checkIOS() {
7557
- return [
7558
- 'iPad Simulator',
7559
- 'iPhone Simulator',
7560
- 'iPod Simulator',
7561
- 'iPad',
7562
- 'iPhone',
7563
- 'iPod'
7564
- ].includes(navigator.userAgent)
7565
- // iPad on iOS 13 detection
7566
- || (navigator.userAgent.includes("Mac") && "ontouchend" in document);
7567
- }
7568
- function fakeInputIOSHack(targetElement) {
7569
- if (!checkMobile() || !checkIOS())
7570
- return null;
7571
- const fakeInput = document.createElement('input');
7572
- fakeInput.setAttribute('type', 'text');
7573
- fakeInput.style.position = 'absolute';
7574
- fakeInput.style.opacity = '0';
7575
- fakeInput.style.height = '0';
7576
- fakeInput.style.fontSize = '16px'; // disable auto zoom
7577
- targetElement.prepend(fakeInput);
7578
- // focus so that subsequent async focus will work
7579
- fakeInput.focus();
7580
- return fakeInput;
7581
- }
7582
- function addBodyScrollLockClass() {
7583
- document.body.classList.add("cura-body-scroll-lock");
7584
- }
7585
- function removeBodyScrollLockClass() {
7586
- if (document.body.classList.contains("cura-body-scroll-lock")) {
7587
- document.body.classList.remove("cura-body-scroll-lock");
7588
- }
7589
- }
7590
-
7591
7547
  class FixedElementScrollBehavior {
7592
7548
  constructor(hostElement, scrollableElement) {
7593
7549
  this._stopPropagationEvent = (e) => {
@@ -8154,7 +8110,7 @@ const CuraHeading = class {
8154
8110
  return tags[`${this.level}`] || tags['default'];
8155
8111
  }
8156
8112
  render() {
8157
- return (h(Host, { key: 'e28268e7d797af495f6accb8536e88ac49ef608f', style: this.hostCSSProperties(), role: "heading", "aria-level": this.level }, this.getHeadingTag()));
8113
+ return (h(Host, { key: '611cbd1aff08cda4926fc82ba821c86c5df3e954', style: this.hostCSSProperties(), role: "heading", "aria-level": this.level }, this.getHeadingTag()));
8158
8114
  }
8159
8115
  get host() { return getElement(this); }
8160
8116
  };
@@ -12330,7 +12286,7 @@ const CuraLabel = class {
12330
12286
  };
12331
12287
  }
12332
12288
  render() {
12333
- return (h(Host, { key: '720f13cf286fb7f938e46c6f0a968c4e0f109d50', style: this.hostCSSProperties() }, h("p", { key: '0ff31e9b99761b045b24ed8042b27e47b186bf48', style: this.styles, class: this.getClasses() }, h("slot", { key: '0986ae8c63cc44b4656f403556c48a7ca6410073' }))));
12289
+ return (h(Host, { key: '80bddd4f902e7084628ed2cbfe1144a6ddcf2674', style: this.hostCSSProperties() }, h("p", { key: 'bc507c1b119459c6efbb81120a7cc33c1e305800', style: this.styles, class: this.getClasses() }, h("slot", { key: '451674e41f86b0b3db3f2f29b498aa49c489a7ec' }))));
12334
12290
  }
12335
12291
  get host() { return getElement(this); }
12336
12292
  static get watchers() { return {
@@ -12373,7 +12329,7 @@ const CuraLoaderCircle = class {
12373
12329
  };
12374
12330
  }
12375
12331
  render() {
12376
- return (h(Host, { key: 'c4615da9001f98d1b9e3663cc3be35d2171730e1', style: this.getStyles(), role: "progressbar" }, h("svg", { key: '9c37222a3fe0da848f113ad6d8c75e9b2a0cc9cc', viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: 'f4a18be935decddbe888d70a37b1433044e05fb0' }, h("circle", { key: 'd681798065754082c40a289af01d0d68fc41dca4', cx: "8", cy: "8", r: "7", stroke: "url(#paint0_linear_13485_11488)", "stroke-width": "2" }), h("path", { key: '3f0bba399b4fad8870467ef82bbc73bd18a2e9de', d: "M1 8C1 4.13401 4.11877 1 7.96596 1C9.53445 1 10.9819 1.52093 12.1462 2.4C12.8959 2.96601 13.5282 3.68049 14 4.5", "stroke-width": "2" })), h("defs", { key: '7e74e8efbd8fd28de95b40c856462e1c1dbefec1' }, h("linearGradient", { key: 'd8f4d5a79e13f25a72b73219d9398df4dbc1635c', id: "paint0_linear_13485_11488", x1: "15.7", y1: "4.5", x2: "4.15", y2: "11.5", gradientUnits: "userSpaceOnUse" }, h("stop", { key: '38d78b4fe60768fd5987cb44bbbcd76bdb82b7c4' }), h("stop", { key: 'ea7961e56c62437260bf7e0e8270073d1dd5bbe4', offset: "1" }))))));
12332
+ return (h(Host, { key: '628e3341e2bc0bef9a18362ab46625d99a7f6800', style: this.getStyles(), role: "progressbar" }, h("svg", { key: 'c0e5366cef003222ec7a60fcaed02a1e2376acd5', viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: '194989f5d872562dffc46ca981a699183de87603' }, h("circle", { key: '6ffa4ee0394f80b4328e5bda459f849387086568', cx: "8", cy: "8", r: "7", stroke: "url(#paint0_linear_13485_11488)", "stroke-width": "2" }), h("path", { key: '9cc41c580811d999769f1ebe1443bd63a092eae0', d: "M1 8C1 4.13401 4.11877 1 7.96596 1C9.53445 1 10.9819 1.52093 12.1462 2.4C12.8959 2.96601 13.5282 3.68049 14 4.5", "stroke-width": "2" })), h("defs", { key: '1190920b737c9306a96ac9854207a339ac312815' }, h("linearGradient", { key: '11921fe3939bef2f32a4688058a3c818600c5781', id: "paint0_linear_13485_11488", x1: "15.7", y1: "4.5", x2: "4.15", y2: "11.5", gradientUnits: "userSpaceOnUse" }, h("stop", { key: 'fa3f8b029d39912abea7adef004f24e99f76d453' }), h("stop", { key: '53b8efce47f6101c36ccf9f05beca7ab76ffb886', offset: "1" }))))));
12377
12333
  }
12378
12334
  };
12379
12335
  CuraLoaderCircle.style = curaLoaderCircleCss();
@@ -12468,7 +12424,7 @@ const CuraParagraph = class {
12468
12424
  return classes;
12469
12425
  }
12470
12426
  render() {
12471
- return (h(Host, { key: '411b5363e280ac45fdd05b52beb4d778f9a65f81', style: this.hostCSSProperties() }, h("p", { key: '4dcf7ab9518dfe6baea24e5ecf340074d5cc0531', style: this.styles, class: this.getClasses() }, h("slot", { key: 'cfbd348562f33ef233cda512d596844f49bf3453' }))));
12427
+ return (h(Host, { key: '33b3d1d2e739523255fbfbfd8b6afd67aa5dbc2d', style: this.hostCSSProperties() }, h("p", { key: '1baf909ffcc9c682bc9fba3b36d173e53020d084', style: this.styles, class: this.getClasses() }, h("slot", { key: 'b836160b6c94a6f3a2f5a7c4c1802bc5340bd5b5' }))));
12472
12428
  }
12473
12429
  get host() { return getElement(this); }
12474
12430
  };
@@ -14553,10 +14509,10 @@ const CuraSelect = class {
14553
14509
  });
14554
14510
  }
14555
14511
  render() {
14556
- return (h(Host, { key: '13d03dc2dae8a2aea0a40a9f3f8cff4f8dd5e2f7', style: this.styles, role: "combobox", "aria-label": this.label, "aria-required": String(this.required), "aria-disabled": String(this.disabled), "aria-invalid": String(this.status === 'error') }, h("div", { key: '70d1e6e1e196d9955e29705e7859e60e25116321', class: this.getClasses(), onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), onClick: this.handleClick }, this.label && (h("cura-label", { key: '17a8be580d7e66295756dd0d4c50023315ade905', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getColor('label') }, this.label, " ", this.required && h("span", { key: '5d3e76ce07f6214eb9925e2b1bdd1a8ea0d59e43', class: "required" }, "* "))), h("div", { key: '57da69c886f2f94bc9311ba987a697f3caff7bbf', class: {
14512
+ return (h(Host, { key: '7621641772e6c166b5359346f0d0681a614c1f5c', style: this.styles, role: "combobox", "aria-label": this.label, "aria-required": String(this.required), "aria-disabled": String(this.disabled), "aria-invalid": String(this.status === 'error') }, h("div", { key: '7cc11beb3a10ada937c4668fdfcdb98b380200e0', class: this.getClasses(), onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), onClick: this.handleClick }, this.label && (h("cura-label", { key: 'd10426c84bb97db84074430f537293407f7afa05', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getColor('label') }, this.label, " ", this.required && h("span", { key: '82808b9add65b3c6abf03e56fe63dccd574229f3', class: "required" }, "* "))), h("div", { key: 'e37b1468d0bf2bdac3f1c2096c22840fe7e0eced', class: {
14557
14513
  'cura-input-field': true,
14558
14514
  'open': this.isOpen,
14559
- }, ref: el => (this.inputWrapper = el) }, this.renderIcon(), h("input", { key: '783caf1d2e7e55d1e50ce870ed62ee358b63d2c5', type: "text", autocomplete: "off", onFocus: () => (this.isFocused = true), onBlur: () => (this.isFocused = false), onKeyDown: this.handleKeyNavigation, "aria-required": String(this.required), "aria-disabled": String(this.disabled), "aria-invalid": String(this.status === 'error'), onInput: this.handleInputChange, style: this.styles, placeholder: this.placeholder, disabled: this.disabled, required: this.required, value: this.textInput, readonly: this.searchBehavior ? null : true }), h("button", { key: '626d2a26a771babd5353bba45448a5410c4886e3', class: "up-down-button" }, h("cura-icon", { key: 'e331e0dde7ece240f8f80768150679262bb88ab6', name: this.isOpen ? 'up' : 'down', class: "up-down-icon", color: this.disabled ? 'neutral-dark' : 'primary-base', size: 16, iconset: "default" }))), h("cura-label", { key: '458647bd83c8e8a0d68f49f2b08b7f61bed7e5af', class: "helper-text", size: "xsmall", color: this.getColor('text'), weight: this.mode === 'transparent' ? 'bold' : 'regular' }, h("slot", { key: '7ef8488495f4e03694bc65930aad0fa6caa8b51f' })), this.isOpen && (h("div", { key: '2ba839bf8b7d85ffd7be60f1575fe94f3057155a', class: {
14515
+ }, ref: el => (this.inputWrapper = el) }, this.renderIcon(), h("input", { key: '7fabd1a5fc59c479ea09d95f7552f49f8448125e', type: "text", autocomplete: "off", onFocus: () => (this.isFocused = true), onBlur: () => (this.isFocused = false), onKeyDown: this.handleKeyNavigation, "aria-required": String(this.required), "aria-disabled": String(this.disabled), "aria-invalid": String(this.status === 'error'), onInput: this.handleInputChange, style: this.styles, placeholder: this.placeholder, disabled: this.disabled, required: this.required, value: this.textInput, readonly: this.searchBehavior ? null : true }), h("button", { key: '9fa767799517d3872d60e33a9d71562bfe24d0c5', class: "up-down-button" }, h("cura-icon", { key: '2299a69d28c72eba5f2a18faa87c653226105034', name: this.isOpen ? 'up' : 'down', class: "up-down-icon", color: this.disabled ? 'neutral-dark' : 'primary-base', size: 16, iconset: "default" }))), h("cura-label", { key: '6c88858d35cdf9c756b9ee7d9e93f5ff0596e372', class: "helper-text", size: "xsmall", color: this.getColor('text'), weight: this.mode === 'transparent' ? 'bold' : 'regular' }, h("slot", { key: '55a075d118ba10f7921d6cf13331c7c0a0ddae46' })), this.isOpen && (h("div", { key: 'd36637fb50aeefbb10991dd2fa8212886293fff3', class: {
14560
14516
  menu: true,
14561
14517
  open: this.isOpen,
14562
14518
  [this.preferredPlacement]: true,
@@ -14569,7 +14525,7 @@ const CuraSelect = class {
14569
14525
  visibility: this.isPositioned ? 'visible' : 'hidden',
14570
14526
  opacity: this.isPositioned ? '1' : '0',
14571
14527
  pointerEvents: this.isPositioned ? 'auto' : 'none',
14572
- } }, h("slot", { key: '8cb789b3f8cf850a6965ed7be11264a654f26c60', name: "option" }))))));
14528
+ } }, h("slot", { key: '399d62fd686ed4c0a0729d336a3502b53918e371', name: "option" }))))));
14573
14529
  }
14574
14530
  static get formAssociated() { return true; }
14575
14531
  get host() { return getElement(this); }
@@ -14623,7 +14579,7 @@ const CuraSelectOption = class {
14623
14579
  };
14624
14580
  }
14625
14581
  render() {
14626
- return (h(Host, { key: '1959cfad9e9f91de0a6614517e0a696ff832a8b4', slot: "option", role: "option", "aria-selected": this.selected }, h("div", { key: 'f22474011fa2a0def2d272477bbb6ba3c7c5dd59', class: this.getClasses(), style: this.styles }, h("cura-label", { key: 'a1236553e347a88c478e50cea6809c54ced8f55d', color: `${this.selected ? 'primary-base' : 'neutral-black'}`, size: this.getSize('label'), "margin-block": "0" }, h("slot", { key: '3655ebfdd77515ddd8f8dcb6aa736b0dfcca4802' })), this.selected && h("cura-icon", { key: 'cc0051639d6878aaeff7c8eb4a2a15a9c73276da', name: 'check', size: this.getSize('icon'), color: "primary-base" }))));
14582
+ return (h(Host, { key: '351cadffe0228ba5af1a9d6019c8dece886061c6', slot: "option", role: "option", "aria-selected": this.selected }, h("div", { key: '0bbe81fd481f3d7d83e42bcbeb69c8b88ce23804', class: this.getClasses(), style: this.styles }, h("cura-label", { key: 'fa4ae11397845ed517f756fd4537f80bb7580e4f', color: `${this.selected ? 'primary-base' : 'neutral-black'}`, size: this.getSize('label'), "margin-block": "0" }, h("slot", { key: 'c3b653b8a65d3b7afe0253fd9aafe922fdaebcfc' })), this.selected && h("cura-icon", { key: 'd7420da36a93c1f873ac79e6d55e1fa697a4eaad', name: 'check', size: this.getSize('icon'), color: "primary-base" }))));
14627
14583
  }
14628
14584
  get host() { return getElement(this); }
14629
14585
  static get watchers() { return {
@@ -14723,7 +14679,7 @@ const CuraTabs = class {
14723
14679
  const labelSize = labelSizes$1[this.size] || labelSizes$1['default'];
14724
14680
  const labelColor = this.computeContentColor();
14725
14681
  this.updateDynamicStyles();
14726
- return (h(Host, { key: 'fc0a87968ffd898bd8fc7b287eca4c43183d5b22', role: "button", "aria-pressed": this.selected, "aria-disabled": this.disabled }, h("button", { key: '00fe656ab46b7f57dae2a7a1dead6a55759ec729', class: this.getClasses(), style: this.styles, onClick: e => this.handleClick(e), disabled: this.disabled, onMouseEnter: this.handleMouseEnter.bind(this), onMouseLeave: this.handleMouseLeave.bind(this) }, this.getIcon(), h("cura-label", { key: 'c291da87ab7e8beda3c547570a80914bba5e5836', size: labelSize, color: labelColor, lineHeight: "0", marginBlock: "0" }, h("slot", { key: '7233f8f990b33a841e815746f0c18fad27b907f1' })))));
14682
+ return (h(Host, { key: 'd12ccbd8e900c1a21dfee2ee7363e167772acad4', role: "button", "aria-pressed": this.selected, "aria-disabled": this.disabled }, h("button", { key: '2e77d02614e38baaca599d7830f5ba4dcb048519', class: this.getClasses(), style: this.styles, onClick: e => this.handleClick(e), disabled: this.disabled, onMouseEnter: this.handleMouseEnter.bind(this), onMouseLeave: this.handleMouseLeave.bind(this) }, this.getIcon(), h("cura-label", { key: '343f0d566d70ea2f132ea55ca588c57cb2ce20f2', size: labelSize, color: labelColor, lineHeight: "0", marginBlock: "0" }, h("slot", { key: '9acebd9e763f88d698ca6c0a08e97c3960701730' })))));
14727
14683
  }
14728
14684
  static get watchers() { return {
14729
14685
  "colorMode": [{
@@ -14762,7 +14718,7 @@ const CuraTabsGroup = class {
14762
14718
  this.styles = Object.assign(Object.assign({}, this.styles), { '--border-color': window.CuraAPI.theme.colors.getColor(this.colorMode === 'light' ? 'neutral-base' : 'primary-base'), '--gap': `${this.gap}px` });
14763
14719
  }
14764
14720
  render() {
14765
- return (h(Host, { key: '19ab029f51ded1870e7a59518c57cd4270241ac9', role: "tablist", style: this.styles, class: this.getClasses() }, h("slot", { key: 'eda90f855125cfdee50efdb11ffd05ec83e7cfe0' })));
14721
+ return (h(Host, { key: '1a2babd4b23b2f54644cfe9d0129736c897f50c3', role: "tablist", style: this.styles, class: this.getClasses() }, h("slot", { key: 'ba78df56f01619de8df14cbfde08dd501b15048e' })));
14766
14722
  }
14767
14723
  get host() { return getElement(this); }
14768
14724
  };
@@ -84,7 +84,7 @@ const CuraDisplay = class {
84
84
  return tags[`${this.level}`] || tags['default'];
85
85
  }
86
86
  render() {
87
- return (h(Host, { key: '343caf7e121561a5339ea553ccadb8aeed553c37', style: this.hostCSSProperties(), role: "heading", "aria-level": this.level }, this.getHeadingTag()));
87
+ return (h(Host, { key: 'b9264ba7f3ff79b474f02107824441c9f6e67ec1', style: this.hostCSSProperties(), role: "heading", "aria-level": this.level }, this.getHeadingTag()));
88
88
  }
89
89
  get host() { return getElement(this); }
90
90
  static get watchers() { return {
@@ -2,7 +2,7 @@ import { r as registerInstance, h, H as Host } from './index-Ce1Pxw3V.js';
2
2
  import { i as iconSizes } from './cura-icon.definitions-sjLA93YY.js';
3
3
  import './theme-legacy-default-BTIDzOyO.js';
4
4
 
5
- var iconsetdefaulticons = ["360", "accessibility", "accessibility2", "accessibility3", "accessibility4", "addUser", "airdrop", "alertCircle", "alertTriangle", "arrowDown", "arrowDownCircle", "arrowLeft", "arrowLeftCircle", "arrowRight", "arrowRightCircle", "arrowUp", "arrowUpCircle", "attach", "autism", "avatarF", "avatarM", "bike", "biometry", "biop", "bloodGroup", "calendar", "cam", "camOff", "cart", "central", "chatCircle", "check", "checkBadge", "checkCircle", "checkDouble", "clock", "close", "closeCircle", "coffee", "collapse", "config", "contacts", "currency", "delete", "desktop", "doc", "down", "download", "drug", "duplicate", "edit", "elevator", "exam", "examDoc", "expand", "facebook", "fileBmp", "fileJpg", "filePdf", "filePng", "fileUpload", "fileXls", "filter", "fullscreen", "gallery", "geotag", "geotagUnity", "geotagUnityGroup", "google", "graph", "healthPlan", "heart", "height", "height2", "home", "horizontalList", "id", "image", "imageUp", "infoCircle", "instagram", "key", "lab", "lamp", "language", "language2", "languageEN", "languagePT", "lattes", "left", "like", "link", "linkExternal", "linkedin", "list", "login", "logout", "mail", "maintenance", "medDoc", "medEspec", "medImg", "medUser", "medical", "menuHamburguer", "menuKebab", "menuMeatballs", "mic", "micOff", "minus", "minusCircle", "minusSquare", "mobile", "mobileClick", "mobileRotate1", "mobileRotate2", "mobileRotate3", "news", "notification", "npsDeslike", "npsHate", "npsLike", "npsLove", "npsNeutral", "order", "parking", "partner", "phone", "play", "plus", "plusCircle", "plusSquare", "print", "profile", "profileCircle", "questionCircle", "questionSquare", "range", "reload", "ribbon", "right", "schedule", "scheduleCancel", "scheduleCheck", "scheduleHistorico", "search", "secure", "share", "siren", "sound", "soundOff", "star", "stop", "store", "subItem", "swap", "target", "team", "telegram", "twitter", "unLink", "unSecure", "unity", "unlike", "up", "upload", "vaccine", "verticalList", "viewFalse", "viewTrue", "weight", "whatsapp", "wifi", "wifiOff", "xray", "youtube", "zoomIn", "zoomOut"];
5
+ var iconsetdefaulticons = ["360", "accessibility", "accessibility2", "accessibility3", "accessibility4", "addUser", "airCond", "airdrop", "alertCircle", "alertTriangle", "arrowDown", "arrowDownCircle", "arrowLeft", "arrowLeftCircle", "arrowRight", "arrowRightCircle", "arrowUp", "arrowUpCircle", "attach", "autism", "avatarF", "avatarM", "backspaceDelete", "bathroom", "bed", "bike", "biometry", "biop", "blinds", "bloodGroup", "calendar", "cam", "camOff", "cart", "central", "chatCircle", "check", "checkBadge", "checkCircle", "checkDouble", "clean", "clock", "close", "closeCircle", "coffee", "collapse", "config", "contacts", "currency", "delete", "desktop", "doc", "docs", "door", "down", "download", "drug", "duplicate", "edit", "elevator", "exam", "examDoc", "expand", "facebook", "fileBmp", "fileJpg", "filePdf", "filePng", "fileUpload", "fileXls", "filter", "fullscreen", "gallery", "geotag", "geotagUnity", "geotagUnityGroup", "google", "graph", "healthPlan", "heart", "height", "height2", "home", "horizontalList", "id", "image", "imageUp", "infoCircle", "instagram", "key", "keyboardArrows", "keyboardNum", "lab", "lamp", "lampSmart", "language", "language2", "languageEN", "languagePT", "lattes", "left", "like", "link", "linkExternal", "linkedin", "list", "login", "logout", "mail", "maintenance", "medDoc", "medEspec", "medImg", "medUser", "medical", "menuHamburguer", "menuKebab", "menuMeatballs", "mic", "micOff", "minus", "minusCircle", "minusSquare", "mobile", "mobileClick", "mobileRotate1", "mobileRotate2", "mobileRotate3", "news", "notification", "npsDeslike", "npsHate", "npsLike", "npsLove", "npsNeutral", "nutrition", "order", "parking", "partner", "pause", "phone", "play", "plus", "plusCircle", "plusSquare", "print", "profile", "profileCircle", "questionCircle", "questionSquare", "range", "reload", "ribbon", "right", "schedule", "scheduleCancel", "scheduleCheck", "scheduleHistorico", "search", "secure", "share", "sink", "siren", "sound", "soundOff", "star", "stop", "store", "subItem", "swap", "target", "team", "telegram", "tv", "twitter", "unLink", "unSecure", "unity", "unlike", "up", "upload", "userChecklist", "vaccine", "verticalList", "viewFalse", "viewTrue", "weight", "whatsapp", "wifi", "wifiOff", "window", "xray", "youtube", "zoomIn", "zoomOut"];
6
6
 
7
7
  const curaIconsViewCss = () => `:host{display:block;padding:24px;font-family:"Roboto", Arial, Helvetica, sans-serif}.iconDetail{display:block}.iconSizes{display:flex;align-items:center}.iconSizes .size{display:flex;flex-direction:column;text-align:center;align-items:center;margin-right:9px;padding:8px}.iconSizes .size:last-child{margin-right:0}.iconSizes .size span{font-size:10px;margin:8px 0}.iconSizes.invert{margin-top:12px}.iconSizes.invert .size{background-color:#2d2d2d;color:#F6F6F6;border-radius:3px}.icons{margin-top:28px;display:flex;flex-wrap:wrap;position:relative}.icons .icon{position:relative;padding:4px;cursor:pointer;opacity:0.6;transition:opacity 0.2s linear;width:105px;display:flex;flex-direction:column;text-align:center;align-items:center;margin-bottom:16px;box-sizing:border-box;}.icons .icon cura-label{margin-top:8px}.icons .icon cura-paragraph{margin-top:4px}`;
8
8