@rededor/cura 1.8.3-alpha.0 → 2.0.0-alpha.10

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 (835) hide show
  1. package/dist/assets/assets/icons/iconset-default-list.ts +1 -1
  2. package/dist/assets/assets/icons/iconset-default-tmp.svg +40 -0
  3. package/dist/assets/assets/icons/iconset-default.svg +1 -1
  4. package/dist/cjs/{cura-accordion_20.cjs.entry.js → cura-accordion_21.cjs.entry.js} +1826 -26
  5. package/dist/cjs/cura-accordion_21.cjs.entry.js.map +1 -0
  6. package/dist/cjs/cura-alert.cjs.entry.js +4 -3
  7. package/dist/cjs/cura-alert.cjs.entry.js.map +1 -1
  8. package/dist/cjs/cura-alert.entry.cjs.js.map +1 -1
  9. package/dist/cjs/cura-badge-counter.cjs.entry.js +0 -0
  10. package/dist/cjs/cura-badge-counter.cjs.entry.js.map +0 -0
  11. package/dist/cjs/cura-badge-counter.entry.cjs.js.map +0 -0
  12. package/dist/cjs/cura-badge-dot.cjs.entry.js +0 -0
  13. package/dist/cjs/cura-badge-dot.cjs.entry.js.map +0 -0
  14. package/dist/cjs/cura-badge-dot.entry.cjs.js.map +0 -0
  15. package/dist/cjs/cura-badge-pill.cjs.entry.js +0 -0
  16. package/dist/cjs/cura-badge-pill.cjs.entry.js.map +0 -0
  17. package/dist/cjs/cura-badge-pill.entry.cjs.js.map +0 -0
  18. package/dist/cjs/cura-button-outline.cjs.entry.js +0 -0
  19. package/dist/cjs/cura-button-outline.cjs.entry.js.map +0 -0
  20. package/dist/cjs/cura-button-outline.entry.cjs.js.map +0 -0
  21. package/dist/cjs/cura-button-select.cjs.entry.js +0 -0
  22. package/dist/cjs/cura-button-select.cjs.entry.js.map +0 -0
  23. package/dist/cjs/cura-button-select.entry.cjs.js.map +0 -0
  24. package/dist/cjs/cura-button.definitions-B3SK8MaV.js +0 -0
  25. package/dist/cjs/cura-button.definitions-B3SK8MaV.js.map +0 -0
  26. package/dist/cjs/cura-calendar.cjs.entry.js +0 -0
  27. package/dist/cjs/cura-calendar.cjs.entry.js.map +0 -0
  28. package/dist/cjs/cura-calendar.entry.cjs.js.map +0 -0
  29. package/dist/cjs/cura-checkbox.cjs.entry.js +0 -0
  30. package/dist/cjs/cura-checkbox.cjs.entry.js.map +0 -0
  31. package/dist/cjs/cura-checkbox.entry.cjs.js.map +0 -0
  32. package/dist/cjs/cura-display.cjs.entry.js +0 -0
  33. package/dist/cjs/cura-display.cjs.entry.js.map +0 -0
  34. package/dist/cjs/cura-display.entry.cjs.js.map +0 -0
  35. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js +0 -0
  36. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js.map +0 -0
  37. package/dist/cjs/cura-dropdown-search-not-found.entry.cjs.js.map +0 -0
  38. package/dist/cjs/cura-forms.definitions-DVLuO67c.js +0 -0
  39. package/dist/cjs/cura-forms.definitions-DVLuO67c.js.map +0 -0
  40. package/dist/cjs/cura-icon.definitions-DT0wF67y.js +0 -0
  41. package/dist/cjs/cura-icon.definitions-DT0wF67y.js.map +0 -0
  42. package/dist/cjs/cura-icons-view.cjs.entry.js +1 -1
  43. package/dist/cjs/cura-icons-view.cjs.entry.js.map +1 -1
  44. package/dist/cjs/cura-icons-view.entry.cjs.js.map +1 -1
  45. package/dist/cjs/cura-input-date.cjs.entry.js +0 -0
  46. package/dist/cjs/cura-input-date.cjs.entry.js.map +0 -0
  47. package/dist/cjs/cura-input-date.entry.cjs.js.map +0 -0
  48. package/dist/cjs/cura-loader-bar.cjs.entry.js +0 -0
  49. package/dist/cjs/cura-loader-bar.cjs.entry.js.map +0 -0
  50. package/dist/cjs/cura-loader-bar.entry.cjs.js.map +0 -0
  51. package/dist/cjs/cura-modal.cjs.entry.js +0 -0
  52. package/dist/cjs/cura-modal.cjs.entry.js.map +0 -0
  53. package/dist/cjs/cura-modal.entry.cjs.js.map +0 -0
  54. package/dist/cjs/cura-progress-bar.cura-stepper-item.entry.cjs.js.map +0 -0
  55. package/dist/cjs/cura-progress-bar_2.cjs.entry.js +0 -0
  56. package/dist/cjs/cura-progress-bar_2.cjs.entry.js.map +0 -0
  57. package/dist/cjs/cura-radio.cjs.entry.js +0 -0
  58. package/dist/cjs/cura-radio.cjs.entry.js.map +0 -0
  59. package/dist/cjs/cura-radio.entry.cjs.js.map +0 -0
  60. package/dist/cjs/cura-stepper.cjs.entry.js +0 -0
  61. package/dist/cjs/cura-stepper.cjs.entry.js.map +0 -0
  62. package/dist/cjs/cura-stepper.entry.cjs.js.map +0 -0
  63. package/dist/cjs/cura-switch.cjs.entry.js +0 -0
  64. package/dist/cjs/cura-switch.cjs.entry.js.map +0 -0
  65. package/dist/cjs/cura-switch.entry.cjs.js.map +0 -0
  66. package/dist/cjs/cura-tabs-button.cjs.entry.js +0 -0
  67. package/dist/cjs/cura-tabs-button.cjs.entry.js.map +0 -0
  68. package/dist/cjs/cura-tabs-button.entry.cjs.js.map +0 -0
  69. package/dist/cjs/cura-tabs-transparent.cjs.entry.js +0 -0
  70. package/dist/cjs/cura-tabs-transparent.cjs.entry.js.map +0 -0
  71. package/dist/cjs/cura-tabs-transparent.entry.cjs.js.map +0 -0
  72. package/dist/cjs/cura-tabs.definitions-CGqqGE2e.js +0 -0
  73. package/dist/cjs/cura-tabs.definitions-CGqqGE2e.js.map +0 -0
  74. package/dist/cjs/cura-theme-module-CJkmAxBA.js +0 -0
  75. package/dist/cjs/cura-theme-module-CJkmAxBA.js.map +0 -0
  76. package/dist/cjs/cura-toast.cjs.entry.js +0 -0
  77. package/dist/cjs/cura-toast.cjs.entry.js.map +0 -0
  78. package/dist/cjs/cura-toast.entry.cjs.js.map +0 -0
  79. package/dist/cjs/cura-tooltip.cjs.entry.js +0 -0
  80. package/dist/cjs/cura-tooltip.cjs.entry.js.map +0 -0
  81. package/dist/cjs/cura-tooltip.entry.cjs.js.map +0 -0
  82. package/dist/cjs/cura.cjs.js +1 -1
  83. package/dist/cjs/cura.cjs.js.map +0 -0
  84. package/dist/cjs/index-BK9MSAiE.js +0 -0
  85. package/dist/cjs/index-BK9MSAiE.js.map +0 -0
  86. package/dist/cjs/index-EyP6Zlkd.js +0 -0
  87. package/dist/cjs/index-EyP6Zlkd.js.map +0 -0
  88. package/dist/cjs/index.cjs.js +0 -0
  89. package/dist/cjs/index.cjs.js.map +0 -0
  90. package/dist/cjs/loader.cjs.js +1 -1
  91. package/dist/cjs/loader.cjs.js.map +0 -0
  92. package/dist/collection/api/cura-api.js +0 -0
  93. package/dist/collection/api/cura-api.js.map +0 -0
  94. package/dist/collection/api/cura-api.type.js +0 -0
  95. package/dist/collection/api/cura-api.type.js.map +0 -0
  96. package/dist/collection/api/modules/cura-theme-breakpoints-module.js +0 -0
  97. package/dist/collection/api/modules/cura-theme-breakpoints-module.js.map +0 -0
  98. package/dist/collection/api/modules/cura-theme-colors-module.js +0 -0
  99. package/dist/collection/api/modules/cura-theme-colors-module.js.map +0 -0
  100. package/dist/collection/api/modules/cura-theme-fonts-module.js +0 -0
  101. package/dist/collection/api/modules/cura-theme-fonts-module.js.map +0 -0
  102. package/dist/collection/api/modules/cura-theme-module.js +0 -0
  103. package/dist/collection/api/modules/cura-theme-module.js.map +0 -0
  104. package/dist/collection/api/modules/cura-theme-spacing-module.js +0 -0
  105. package/dist/collection/api/modules/cura-theme-spacing-module.js.map +0 -0
  106. package/dist/collection/api/theme-presets/static.js +0 -0
  107. package/dist/collection/api/theme-presets/static.js.map +0 -0
  108. package/dist/collection/api/theme-presets/theme-default.js +0 -0
  109. package/dist/collection/api/theme-presets/theme-default.js.map +0 -0
  110. package/dist/collection/api/theme-presets/theme-legacy-default.js +0 -0
  111. package/dist/collection/api/theme-presets/theme-legacy-default.js.map +0 -0
  112. package/dist/collection/api/theme-presets/theme-maternity.js +0 -0
  113. package/dist/collection/api/theme-presets/theme-maternity.js.map +0 -0
  114. package/dist/collection/api/theme-presets/theme-oncology.js +0 -0
  115. package/dist/collection/api/theme-presets/theme-oncology.js.map +0 -0
  116. package/dist/collection/api/theme-presets/theme-perinatal-temporary.js +0 -0
  117. package/dist/collection/api/theme-presets/theme-perinatal-temporary.js.map +0 -0
  118. package/dist/collection/api/theme-presets/theme-presets.js +0 -0
  119. package/dist/collection/api/theme-presets/theme-presets.js.map +0 -0
  120. package/dist/collection/api/theme-presets/theme-richet.js +0 -0
  121. package/dist/collection/api/theme-presets/theme-richet.js.map +0 -0
  122. package/dist/collection/assets/icons/iconset-default-list.js +1 -1
  123. package/dist/collection/assets/icons/iconset-default-list.js.map +1 -1
  124. package/dist/collection/assets/icons/iconset-default-tmp.svg +40 -0
  125. package/dist/collection/assets/icons/iconset-default.svg +1 -1
  126. package/dist/collection/assets-raw/icons/default/autism.svg +3 -0
  127. package/dist/collection/assets-raw/icons/default/biop.svg +3 -0
  128. package/dist/collection/assets-raw/icons/default/lab.svg +3 -0
  129. package/dist/collection/assets-raw/icons/default/mobileClick.svg +3 -0
  130. package/dist/collection/assets-raw/icons/default/mobileRotate1.svg +3 -0
  131. package/dist/collection/assets-raw/icons/default/mobileRotate2.svg +3 -0
  132. package/dist/collection/assets-raw/icons/default/mobileRotate3.svg +3 -0
  133. package/dist/collection/assets-raw/icons/default/star.svg +3 -0
  134. package/dist/collection/assets-raw/icons/default/stop.svg +3 -0
  135. package/dist/collection/assets-raw/icons/default/xray.svg +3 -0
  136. package/dist/collection/collection-manifest.json +0 -0
  137. package/dist/collection/components/accordion/cura-accordion/cura-accordion.css +0 -0
  138. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js +0 -0
  139. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js.map +0 -0
  140. package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js +0 -0
  141. package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js.map +0 -0
  142. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.css +0 -0
  143. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js +0 -0
  144. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js.map +0 -0
  145. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.css +0 -0
  146. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.js +0 -0
  147. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.js.map +0 -0
  148. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.stories.js +0 -0
  149. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.stories.js.map +0 -0
  150. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.css +0 -0
  151. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js +0 -0
  152. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js.map +0 -0
  153. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.stories.js +0 -0
  154. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.stories.js.map +0 -0
  155. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.css +0 -0
  156. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.js +0 -0
  157. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.js.map +0 -0
  158. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.stories.js +0 -0
  159. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.stories.js.map +0 -0
  160. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.css +0 -0
  161. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js +0 -0
  162. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js.map +0 -0
  163. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.stories.js +0 -0
  164. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.stories.js.map +0 -0
  165. package/dist/collection/components/buttons/cura-button/cura-button.css +0 -0
  166. package/dist/collection/components/buttons/cura-button/cura-button.js +0 -0
  167. package/dist/collection/components/buttons/cura-button/cura-button.js.map +0 -0
  168. package/dist/collection/components/buttons/cura-button/cura-button.stories.js +0 -0
  169. package/dist/collection/components/buttons/cura-button/cura-button.stories.js.map +0 -0
  170. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.css +0 -0
  171. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js +0 -0
  172. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js.map +0 -0
  173. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js +0 -0
  174. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js.map +0 -0
  175. package/dist/collection/components/buttons/cura-button-select/cura-button-select.css +0 -0
  176. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js +0 -0
  177. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js.map +0 -0
  178. package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js +0 -0
  179. package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js.map +0 -0
  180. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.css +0 -0
  181. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +0 -0
  182. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js.map +0 -0
  183. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js +0 -0
  184. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js.map +0 -0
  185. package/dist/collection/components/buttons/cura-button.definitions.js +0 -0
  186. package/dist/collection/components/buttons/cura-button.definitions.js.map +0 -0
  187. package/dist/collection/components/cura-alert/cura-alert.css +0 -0
  188. package/dist/collection/components/cura-alert/cura-alert.js +4 -3
  189. package/dist/collection/components/cura-alert/cura-alert.js.map +1 -1
  190. package/dist/collection/components/cura-alert/cura-alert.stories.js +0 -0
  191. package/dist/collection/components/cura-alert/cura-alert.stories.js.map +0 -0
  192. package/dist/collection/components/cura-avatar/cura-avatar.css +0 -0
  193. package/dist/collection/components/cura-avatar/cura-avatar.definitions.js +0 -0
  194. package/dist/collection/components/cura-avatar/cura-avatar.definitions.js.map +0 -0
  195. package/dist/collection/components/cura-avatar/cura-avatar.js +0 -0
  196. package/dist/collection/components/cura-avatar/cura-avatar.js.map +0 -0
  197. package/dist/collection/components/cura-avatar/cura-avatar.stories.js +0 -0
  198. package/dist/collection/components/cura-avatar/cura-avatar.stories.js.map +0 -0
  199. package/dist/collection/components/cura-calendar/cura-calendar.css +0 -0
  200. package/dist/collection/components/cura-calendar/cura-calendar.js +0 -0
  201. package/dist/collection/components/cura-calendar/cura-calendar.js.map +0 -0
  202. package/dist/collection/components/cura-calendar/cura-calendar.stories.js +0 -0
  203. package/dist/collection/components/cura-calendar/cura-calendar.stories.js.map +0 -0
  204. package/dist/collection/components/cura-card/cura-card.css +0 -0
  205. package/dist/collection/components/cura-card/cura-card.js +0 -0
  206. package/dist/collection/components/cura-card/cura-card.js.map +0 -0
  207. package/dist/collection/components/cura-card/cura-card.stories.js +0 -0
  208. package/dist/collection/components/cura-card/cura-card.stories.js.map +0 -0
  209. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.css +0 -0
  210. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.js +0 -0
  211. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.js.map +0 -0
  212. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.stories.js +0 -0
  213. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.stories.js.map +0 -0
  214. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.css +0 -0
  215. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js +0 -0
  216. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js.map +0 -0
  217. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js +0 -0
  218. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js.map +0 -0
  219. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.css +0 -0
  220. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +0 -0
  221. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js.map +0 -0
  222. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js +0 -0
  223. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js.map +0 -0
  224. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.css +1 -1
  225. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js +27 -5
  226. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js.map +1 -1
  227. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.stories.js +0 -0
  228. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.stories.js.map +0 -0
  229. package/dist/collection/components/cura-icon/cura-icon.css +0 -0
  230. package/dist/collection/components/cura-icon/cura-icon.definitions.js +0 -0
  231. package/dist/collection/components/cura-icon/cura-icon.definitions.js.map +0 -0
  232. package/dist/collection/components/cura-icon/cura-icon.js +0 -0
  233. package/dist/collection/components/cura-icon/cura-icon.js.map +0 -0
  234. package/dist/collection/components/cura-icon/cura-icon.stories.js +0 -0
  235. package/dist/collection/components/cura-icon/cura-icon.stories.js.map +0 -0
  236. package/dist/collection/components/cura-icons-view/cura-icons-view.css +0 -0
  237. package/dist/collection/components/cura-icons-view/cura-icons-view.js +0 -0
  238. package/dist/collection/components/cura-icons-view/cura-icons-view.js.map +0 -0
  239. package/dist/collection/components/cura-icons-view/cura-icons-view.stories.js +0 -0
  240. package/dist/collection/components/cura-icons-view/cura-icons-view.stories.js.map +0 -0
  241. package/dist/collection/components/cura-modal/cura-modal.css +0 -0
  242. package/dist/collection/components/cura-modal/cura-modal.js +0 -0
  243. package/dist/collection/components/cura-modal/cura-modal.js.map +0 -0
  244. package/dist/collection/components/cura-modal/cura-modal.stories.js +0 -0
  245. package/dist/collection/components/cura-modal/cura-modal.stories.js.map +0 -0
  246. package/dist/collection/components/cura-page-template/cura-page-template.css +0 -0
  247. package/dist/collection/components/cura-page-template/cura-page-template.js +0 -0
  248. package/dist/collection/components/cura-page-template/cura-page-template.js.map +0 -0
  249. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.css +0 -0
  250. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js +0 -0
  251. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js.map +0 -0
  252. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.css +0 -0
  253. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js +0 -0
  254. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js.map +0 -0
  255. package/dist/collection/components/cura-stepper/cura-stepper.css +0 -0
  256. package/dist/collection/components/cura-stepper/cura-stepper.js +0 -0
  257. package/dist/collection/components/cura-stepper/cura-stepper.js.map +0 -0
  258. package/dist/collection/components/cura-stepper/cura-stepper.stories.js +0 -0
  259. package/dist/collection/components/cura-stepper/cura-stepper.stories.js.map +0 -0
  260. package/dist/collection/components/cura-stepper/stepper.type.js +0 -0
  261. package/dist/collection/components/cura-stepper/stepper.type.js.map +0 -0
  262. package/dist/collection/components/cura-toast/cura-toast.css +0 -0
  263. package/dist/collection/components/cura-toast/cura-toast.js +0 -0
  264. package/dist/collection/components/cura-toast/cura-toast.js.map +0 -0
  265. package/dist/collection/components/cura-toast/cura-toast.stories.js +0 -0
  266. package/dist/collection/components/cura-toast/cura-toast.stories.js.map +0 -0
  267. package/dist/collection/components/cura-tooltip/cura-tooltip.css +0 -0
  268. package/dist/collection/components/cura-tooltip/cura-tooltip.js +0 -0
  269. package/dist/collection/components/cura-tooltip/cura-tooltip.js.map +0 -0
  270. package/dist/collection/components/cura-tooltip/cura-tooltip.stories.js +0 -0
  271. package/dist/collection/components/cura-tooltip/cura-tooltip.stories.js.map +0 -0
  272. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.css +0 -0
  273. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +0 -0
  274. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js.map +0 -0
  275. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js +0 -0
  276. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js.map +0 -0
  277. package/dist/collection/components/forms/cura-forms.definitions.js +0 -0
  278. package/dist/collection/components/forms/cura-forms.definitions.js.map +0 -0
  279. package/dist/collection/components/forms/cura-input-date/cura-input-date.css +0 -0
  280. package/dist/collection/components/forms/cura-input-date/cura-input-date.js +0 -0
  281. package/dist/collection/components/forms/cura-input-date/cura-input-date.js.map +0 -0
  282. package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js +0 -0
  283. package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js.map +0 -0
  284. package/dist/collection/components/forms/cura-input-text/cura-input-text.css +0 -0
  285. package/dist/collection/components/forms/cura-input-text/cura-input-text.js +8 -5
  286. package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +1 -1
  287. package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js +0 -0
  288. package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js.map +0 -0
  289. package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js +0 -0
  290. package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js.map +0 -0
  291. package/dist/collection/components/forms/cura-label/cura-label.css +0 -0
  292. package/dist/collection/components/forms/cura-label/cura-label.js +0 -0
  293. package/dist/collection/components/forms/cura-label/cura-label.js.map +0 -0
  294. package/dist/collection/components/forms/cura-label/cura-label.stories.js +0 -0
  295. package/dist/collection/components/forms/cura-label/cura-label.stories.js.map +0 -0
  296. package/dist/collection/components/forms/cura-radio/cura-radio.css +0 -0
  297. package/dist/collection/components/forms/cura-radio/cura-radio.js +0 -0
  298. package/dist/collection/components/forms/cura-radio/cura-radio.js.map +0 -0
  299. package/dist/collection/components/forms/cura-radio/cura-radio.stories.js +0 -0
  300. package/dist/collection/components/forms/cura-radio/cura-radio.stories.js.map +0 -0
  301. package/dist/collection/components/forms/cura-select/cura-select.css +3 -148
  302. package/dist/collection/components/forms/cura-select/cura-select.js +103 -11
  303. package/dist/collection/components/forms/cura-select/cura-select.js.map +1 -1
  304. package/dist/collection/components/forms/cura-select/cura-select.stories.js +0 -0
  305. package/dist/collection/components/forms/cura-select/cura-select.stories.js.map +0 -0
  306. package/dist/collection/components/forms/cura-select-options/cura-select-option.css +15 -0
  307. package/dist/collection/components/forms/cura-select-options/cura-select-option.js +0 -0
  308. package/dist/collection/components/forms/cura-select-options/cura-select-option.js.map +0 -0
  309. package/dist/collection/components/forms/cura-switch/cura-switch.css +0 -0
  310. package/dist/collection/components/forms/cura-switch/cura-switch.js +0 -0
  311. package/dist/collection/components/forms/cura-switch/cura-switch.js.map +0 -0
  312. package/dist/collection/components/forms/cura-switch/cura-switch.stories.js +0 -0
  313. package/dist/collection/components/forms/cura-switch/cura-switch.stories.js.map +0 -0
  314. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.css +0 -0
  315. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +0 -0
  316. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js.map +0 -0
  317. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.stories.js +0 -0
  318. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.stories.js.map +0 -0
  319. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.css +0 -0
  320. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +0 -0
  321. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js.map +0 -0
  322. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js +0 -0
  323. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js.map +0 -0
  324. package/dist/collection/components/tabs/cura-tabs/cura-tabs.css +0 -0
  325. package/dist/collection/components/tabs/cura-tabs/cura-tabs.js +0 -0
  326. package/dist/collection/components/tabs/cura-tabs/cura-tabs.js.map +0 -0
  327. package/dist/collection/components/tabs/cura-tabs/cura-tabs.stories.js +0 -0
  328. package/dist/collection/components/tabs/cura-tabs/cura-tabs.stories.js.map +0 -0
  329. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.css +0 -0
  330. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js +0 -0
  331. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js.map +0 -0
  332. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.stories.js +0 -0
  333. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.stories.js.map +0 -0
  334. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.css +0 -0
  335. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js +0 -0
  336. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js.map +0 -0
  337. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.stories.js +0 -0
  338. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.stories.js.map +0 -0
  339. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.css +0 -0
  340. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js +0 -0
  341. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js.map +0 -0
  342. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.stories.js +0 -0
  343. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.stories.js.map +0 -0
  344. package/dist/collection/components/tabs/cura-tabs.definitions.js +0 -0
  345. package/dist/collection/components/tabs/cura-tabs.definitions.js.map +0 -0
  346. package/dist/collection/components/text/cura-display/cura-display.css +0 -0
  347. package/dist/collection/components/text/cura-display/cura-display.js +0 -0
  348. package/dist/collection/components/text/cura-display/cura-display.js.map +0 -0
  349. package/dist/collection/components/text/cura-display/cura-display.stories.js +0 -0
  350. package/dist/collection/components/text/cura-display/cura-display.stories.js.map +0 -0
  351. package/dist/collection/components/text/cura-heading/cura-heading.css +0 -0
  352. package/dist/collection/components/text/cura-heading/cura-heading.js +0 -0
  353. package/dist/collection/components/text/cura-heading/cura-heading.js.map +0 -0
  354. package/dist/collection/components/text/cura-heading/cura-heading.stories.js +0 -0
  355. package/dist/collection/components/text/cura-heading/cura-heading.stories.js.map +0 -0
  356. package/dist/collection/components/text/cura-paragraph/cura-paragraph.css +0 -0
  357. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +0 -0
  358. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +0 -0
  359. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js +0 -0
  360. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js.map +0 -0
  361. package/dist/collection/index.js +0 -0
  362. package/dist/collection/index.js.map +0 -0
  363. package/dist/collection/rededor-cura-start.js +0 -0
  364. package/dist/collection/rededor-cura-start.js.map +0 -0
  365. package/dist/collection/utils/FixedElementScrollBehavior.js +0 -0
  366. package/dist/collection/utils/FixedElementScrollBehavior.js.map +0 -0
  367. package/dist/collection/utils/utils.js +0 -0
  368. package/dist/collection/utils/utils.js.map +0 -0
  369. package/dist/components/cura-accordion-item.d.ts +0 -0
  370. package/dist/components/cura-accordion-item.js +0 -0
  371. package/dist/components/cura-accordion-item.js.map +0 -0
  372. package/dist/components/cura-accordion.d.ts +0 -0
  373. package/dist/components/cura-accordion.js +0 -0
  374. package/dist/components/cura-accordion.js.map +0 -0
  375. package/dist/components/cura-alert.d.ts +0 -0
  376. package/dist/components/cura-alert.js +4 -3
  377. package/dist/components/cura-alert.js.map +1 -1
  378. package/dist/components/cura-avatar.d.ts +0 -0
  379. package/dist/components/cura-avatar.js +0 -0
  380. package/dist/components/cura-avatar.js.map +0 -0
  381. package/dist/components/cura-badge-counter.d.ts +0 -0
  382. package/dist/components/cura-badge-counter.js +0 -0
  383. package/dist/components/cura-badge-counter.js.map +0 -0
  384. package/dist/components/cura-badge-distance.d.ts +0 -0
  385. package/dist/components/cura-badge-distance.js +0 -0
  386. package/dist/components/cura-badge-distance.js.map +0 -0
  387. package/dist/components/cura-badge-dot.d.ts +0 -0
  388. package/dist/components/cura-badge-dot.js +0 -0
  389. package/dist/components/cura-badge-dot.js.map +0 -0
  390. package/dist/components/cura-badge-pill.d.ts +0 -0
  391. package/dist/components/cura-badge-pill.js +0 -0
  392. package/dist/components/cura-badge-pill.js.map +0 -0
  393. package/dist/components/cura-button-outline.d.ts +0 -0
  394. package/dist/components/cura-button-outline.js +0 -0
  395. package/dist/components/cura-button-outline.js.map +0 -0
  396. package/dist/components/cura-button-select.d.ts +0 -0
  397. package/dist/components/cura-button-select.js +0 -0
  398. package/dist/components/cura-button-select.js.map +0 -0
  399. package/dist/components/cura-button-transparent.d.ts +0 -0
  400. package/dist/components/cura-button-transparent.js +0 -0
  401. package/dist/components/cura-button-transparent.js.map +0 -0
  402. package/dist/components/cura-button.d.ts +0 -0
  403. package/dist/components/cura-button.js +0 -0
  404. package/dist/components/cura-button.js.map +0 -0
  405. package/dist/components/cura-calendar.d.ts +0 -0
  406. package/dist/components/cura-calendar.js +1 -1
  407. package/dist/components/cura-calendar.js.map +0 -0
  408. package/dist/components/cura-card.d.ts +0 -0
  409. package/dist/components/cura-card.js +0 -0
  410. package/dist/components/cura-card.js.map +0 -0
  411. package/dist/components/cura-checkbox.d.ts +0 -0
  412. package/dist/components/cura-checkbox.js +0 -0
  413. package/dist/components/cura-checkbox.js.map +0 -0
  414. package/dist/components/cura-display.d.ts +0 -0
  415. package/dist/components/cura-display.js +0 -0
  416. package/dist/components/cura-display.js.map +0 -0
  417. package/dist/components/cura-dropdown-search-category.d.ts +0 -0
  418. package/dist/components/cura-dropdown-search-category.js +0 -0
  419. package/dist/components/cura-dropdown-search-category.js.map +0 -0
  420. package/dist/components/cura-dropdown-search-not-found.d.ts +0 -0
  421. package/dist/components/cura-dropdown-search-not-found.js +0 -0
  422. package/dist/components/cura-dropdown-search-not-found.js.map +0 -0
  423. package/dist/components/cura-dropdown-search-option.d.ts +0 -0
  424. package/dist/components/cura-dropdown-search-option.js +0 -0
  425. package/dist/components/cura-dropdown-search-option.js.map +0 -0
  426. package/dist/components/cura-dropdown-search.d.ts +0 -0
  427. package/dist/components/cura-dropdown-search.js +29 -7
  428. package/dist/components/cura-dropdown-search.js.map +1 -1
  429. package/dist/components/cura-heading.d.ts +0 -0
  430. package/dist/components/cura-heading.js +0 -0
  431. package/dist/components/cura-heading.js.map +0 -0
  432. package/dist/components/cura-icon.d.ts +0 -0
  433. package/dist/components/cura-icon.js +0 -0
  434. package/dist/components/cura-icon.js.map +0 -0
  435. package/dist/components/cura-icons-view.d.ts +0 -0
  436. package/dist/components/cura-icons-view.js +1 -1
  437. package/dist/components/cura-icons-view.js.map +1 -1
  438. package/dist/components/cura-input-date.d.ts +0 -0
  439. package/dist/components/cura-input-date.js +4 -4
  440. package/dist/components/cura-input-date.js.map +0 -0
  441. package/dist/components/cura-input-text.d.ts +0 -0
  442. package/dist/components/cura-input-text.js +1 -1
  443. package/dist/components/cura-input-text.js.map +0 -0
  444. package/dist/components/cura-label.d.ts +0 -0
  445. package/dist/components/cura-label.js +0 -0
  446. package/dist/components/cura-label.js.map +0 -0
  447. package/dist/components/cura-loader-bar.d.ts +0 -0
  448. package/dist/components/cura-loader-bar.js +0 -0
  449. package/dist/components/cura-loader-bar.js.map +0 -0
  450. package/dist/components/cura-loader-circle.d.ts +0 -0
  451. package/dist/components/cura-loader-circle.js +0 -0
  452. package/dist/components/cura-loader-circle.js.map +0 -0
  453. package/dist/components/cura-modal.d.ts +0 -0
  454. package/dist/components/cura-modal.js +0 -0
  455. package/dist/components/cura-modal.js.map +0 -0
  456. package/dist/components/cura-page-template.d.ts +0 -0
  457. package/dist/components/cura-page-template.js +0 -0
  458. package/dist/components/cura-page-template.js.map +0 -0
  459. package/dist/components/cura-paragraph.d.ts +0 -0
  460. package/dist/components/cura-paragraph.js +0 -0
  461. package/dist/components/cura-paragraph.js.map +0 -0
  462. package/dist/components/cura-progress-bar.d.ts +0 -0
  463. package/dist/components/cura-progress-bar.js +0 -0
  464. package/dist/components/cura-progress-bar.js.map +0 -0
  465. package/dist/components/cura-radio.d.ts +0 -0
  466. package/dist/components/cura-radio.js +0 -0
  467. package/dist/components/cura-radio.js.map +0 -0
  468. package/dist/components/cura-select-option.d.ts +0 -0
  469. package/dist/components/cura-select-option.js +1 -1
  470. package/dist/components/cura-select-option.js.map +0 -0
  471. package/dist/components/cura-select.d.ts +0 -0
  472. package/dist/components/cura-select.js +1 -1
  473. package/dist/components/cura-select.js.map +0 -0
  474. package/dist/components/cura-stepper-item.d.ts +0 -0
  475. package/dist/components/cura-stepper-item.js +0 -0
  476. package/dist/components/cura-stepper-item.js.map +0 -0
  477. package/dist/components/cura-stepper.d.ts +0 -0
  478. package/dist/components/cura-stepper.js +0 -0
  479. package/dist/components/cura-stepper.js.map +0 -0
  480. package/dist/components/cura-switch.d.ts +0 -0
  481. package/dist/components/cura-switch.js +0 -0
  482. package/dist/components/cura-switch.js.map +0 -0
  483. package/dist/components/cura-tabs-button.d.ts +0 -0
  484. package/dist/components/cura-tabs-button.js +0 -0
  485. package/dist/components/cura-tabs-button.js.map +0 -0
  486. package/dist/components/cura-tabs-group.d.ts +0 -0
  487. package/dist/components/cura-tabs-group.js +0 -0
  488. package/dist/components/cura-tabs-group.js.map +0 -0
  489. package/dist/components/cura-tabs-transparent.d.ts +0 -0
  490. package/dist/components/cura-tabs-transparent.js +0 -0
  491. package/dist/components/cura-tabs-transparent.js.map +0 -0
  492. package/dist/components/cura-tabs.d.ts +0 -0
  493. package/dist/components/cura-tabs.js +0 -0
  494. package/dist/components/cura-tabs.js.map +0 -0
  495. package/dist/components/cura-toast.d.ts +0 -0
  496. package/dist/components/cura-toast.js +0 -0
  497. package/dist/components/cura-toast.js.map +0 -0
  498. package/dist/components/cura-tooltip.d.ts +0 -0
  499. package/dist/components/cura-tooltip.js +0 -0
  500. package/dist/components/cura-tooltip.js.map +0 -0
  501. package/dist/components/index.d.ts +0 -0
  502. package/dist/components/index.js +0 -0
  503. package/dist/components/index.js.map +0 -0
  504. package/dist/components/p-B5aO1chh.js +0 -0
  505. package/dist/components/p-B5aO1chh.js.map +0 -0
  506. package/dist/components/p-BHEafDKD.js +0 -0
  507. package/dist/components/p-BHEafDKD.js.map +0 -0
  508. package/dist/components/p-BRDqwZ4N.js +0 -0
  509. package/dist/components/p-BRDqwZ4N.js.map +0 -0
  510. package/dist/components/p-BSI2FkNn.js +0 -0
  511. package/dist/components/p-BSI2FkNn.js.map +0 -0
  512. package/dist/components/{p-CgMS6FUK.js → p-BrJsfk5q.js} +10 -7
  513. package/dist/components/p-BrJsfk5q.js.map +1 -0
  514. package/dist/components/p-C72aF-gL.js +0 -0
  515. package/dist/components/p-C72aF-gL.js.map +0 -0
  516. package/dist/components/p-CHcd-uKK.js +0 -0
  517. package/dist/components/p-CHcd-uKK.js.map +0 -0
  518. package/dist/components/p-CvdWbsfO.js +2147 -0
  519. package/dist/components/p-CvdWbsfO.js.map +1 -0
  520. package/dist/components/p-D1cPOZpG.js +0 -0
  521. package/dist/components/p-D1cPOZpG.js.map +0 -0
  522. package/dist/components/{p-BGnJiNyu.js → p-DETZu2ie.js} +4 -4
  523. package/dist/components/{p-BGnJiNyu.js.map → p-DETZu2ie.js.map} +1 -1
  524. package/dist/components/p-DI4g-ZH4.js +0 -0
  525. package/dist/components/p-DI4g-ZH4.js.map +0 -0
  526. package/dist/components/p-DR1RHrEX.js +0 -0
  527. package/dist/components/p-DR1RHrEX.js.map +0 -0
  528. package/dist/components/p-DaPc6Dxl.js +0 -0
  529. package/dist/components/p-DaPc6Dxl.js.map +0 -0
  530. package/dist/components/p-Dot54hbB.js +0 -0
  531. package/dist/components/p-Dot54hbB.js.map +0 -0
  532. package/dist/components/p-Dqm2sAwv.js +0 -0
  533. package/dist/components/p-Dqm2sAwv.js.map +0 -0
  534. package/dist/components/{p-DpIu_Oxz.js → p-Dt450DkQ.js} +3 -3
  535. package/dist/components/p-Dt450DkQ.js.map +1 -0
  536. package/dist/components/p-FTSrgi0q.js +0 -0
  537. package/dist/components/p-FTSrgi0q.js.map +0 -0
  538. package/dist/components/p-KIQMkSRF.js +0 -0
  539. package/dist/components/p-KIQMkSRF.js.map +0 -0
  540. package/dist/components/p-cOEGtL9C.js +0 -0
  541. package/dist/components/p-cOEGtL9C.js.map +0 -0
  542. package/dist/cura/cura-alert.entry.esm.js.map +1 -1
  543. package/dist/cura/cura-badge-counter.entry.esm.js.map +0 -0
  544. package/dist/cura/cura-badge-dot.entry.esm.js.map +0 -0
  545. package/dist/cura/cura-badge-pill.entry.esm.js.map +0 -0
  546. package/dist/cura/cura-button-outline.entry.esm.js.map +0 -0
  547. package/dist/cura/cura-button-select.entry.esm.js.map +0 -0
  548. package/dist/cura/cura-calendar.entry.esm.js.map +0 -0
  549. package/dist/cura/cura-checkbox.entry.esm.js.map +0 -0
  550. package/dist/cura/cura-display.entry.esm.js.map +0 -0
  551. package/dist/cura/cura-dropdown-search-not-found.entry.esm.js.map +0 -0
  552. package/dist/cura/cura-icons-view.entry.esm.js.map +1 -1
  553. package/dist/cura/cura-input-date.entry.esm.js.map +0 -0
  554. package/dist/cura/cura-loader-bar.entry.esm.js.map +0 -0
  555. package/dist/cura/cura-modal.entry.esm.js.map +0 -0
  556. package/dist/cura/cura-progress-bar.cura-stepper-item.entry.esm.js.map +0 -0
  557. package/dist/cura/cura-radio.entry.esm.js.map +0 -0
  558. package/dist/cura/cura-stepper.entry.esm.js.map +0 -0
  559. package/dist/cura/cura-switch.entry.esm.js.map +0 -0
  560. package/dist/cura/cura-tabs-button.entry.esm.js.map +0 -0
  561. package/dist/cura/cura-tabs-transparent.entry.esm.js.map +0 -0
  562. package/dist/cura/cura-toast.entry.esm.js.map +0 -0
  563. package/dist/cura/cura-tooltip.entry.esm.js.map +0 -0
  564. package/dist/cura/cura.esm.js +1 -1
  565. package/dist/cura/cura.esm.js.map +0 -0
  566. package/dist/cura/index.esm.js +0 -0
  567. package/dist/cura/index.esm.js.map +0 -0
  568. package/dist/cura/loader.esm.js.map +0 -0
  569. package/dist/cura/p-077019da.entry.js +0 -0
  570. package/dist/cura/p-077019da.entry.js.map +0 -0
  571. package/dist/cura/p-07783235.entry.js +0 -0
  572. package/dist/cura/p-07783235.entry.js.map +0 -0
  573. package/dist/cura/p-090e297c.entry.js +0 -0
  574. package/dist/cura/p-090e297c.entry.js.map +0 -0
  575. package/dist/cura/p-16c0b52c.entry.js +0 -0
  576. package/dist/cura/p-16c0b52c.entry.js.map +0 -0
  577. package/dist/cura/p-32015dcc.entry.js +0 -0
  578. package/dist/cura/p-32015dcc.entry.js.map +0 -0
  579. package/dist/cura/p-32f94709.entry.js +0 -0
  580. package/dist/cura/p-32f94709.entry.js.map +0 -0
  581. package/dist/cura/p-3d6040e2.entry.js +0 -0
  582. package/dist/cura/p-3d6040e2.entry.js.map +0 -0
  583. package/dist/cura/p-4ac578a6.entry.js +0 -0
  584. package/dist/cura/p-4ac578a6.entry.js.map +0 -0
  585. package/dist/cura/p-4bde448e.entry.js +0 -0
  586. package/dist/cura/p-4bde448e.entry.js.map +0 -0
  587. package/dist/cura/p-5ed7ce95.entry.js +0 -0
  588. package/dist/cura/p-5ed7ce95.entry.js.map +0 -0
  589. package/dist/cura/p-7586fd07.entry.js +0 -0
  590. package/dist/cura/p-7586fd07.entry.js.map +0 -0
  591. package/dist/cura/p-76603652.entry.js +2 -0
  592. package/dist/cura/p-76603652.entry.js.map +1 -0
  593. package/dist/cura/p-76cbb798.entry.js +0 -0
  594. package/dist/cura/p-76cbb798.entry.js.map +0 -0
  595. package/dist/cura/p-7fd143aa.entry.js +0 -0
  596. package/dist/cura/p-7fd143aa.entry.js.map +0 -0
  597. package/dist/cura/p-8c83f259.entry.js +0 -0
  598. package/dist/cura/p-8c83f259.entry.js.map +0 -0
  599. package/dist/cura/p-8d10a5a2.entry.js +2 -0
  600. package/dist/cura/p-8d10a5a2.entry.js.map +1 -0
  601. package/dist/cura/p-95cd7918.entry.js +0 -0
  602. package/dist/cura/p-95cd7918.entry.js.map +0 -0
  603. package/dist/cura/p-964stZ3D.js +0 -0
  604. package/dist/cura/p-964stZ3D.js.map +0 -0
  605. package/dist/cura/p-9ef5444e.entry.js +0 -0
  606. package/dist/cura/p-9ef5444e.entry.js.map +0 -0
  607. package/dist/cura/p-BPKQjAwN.js +0 -0
  608. package/dist/cura/p-BPKQjAwN.js.map +0 -0
  609. package/dist/cura/p-BSI2FkNn.js +0 -0
  610. package/dist/cura/p-BSI2FkNn.js.map +0 -0
  611. package/dist/cura/p-CHcd-uKK.js +0 -0
  612. package/dist/cura/p-CHcd-uKK.js.map +0 -0
  613. package/dist/cura/p-Dot54hbB.js +0 -0
  614. package/dist/cura/p-Dot54hbB.js.map +0 -0
  615. package/dist/cura/p-PPMZr_VE.js +0 -0
  616. package/dist/cura/p-PPMZr_VE.js.map +0 -0
  617. package/dist/cura/p-bdfe9af2.entry.js +2 -0
  618. package/dist/cura/p-bdfe9af2.entry.js.map +1 -0
  619. package/dist/cura/p-c6f240f0.entry.js +0 -0
  620. package/dist/cura/p-c6f240f0.entry.js.map +0 -0
  621. package/dist/cura/p-ceb646df.entry.js +0 -0
  622. package/dist/cura/p-ceb646df.entry.js.map +0 -0
  623. package/dist/cura/p-d040f8b9.entry.js +0 -0
  624. package/dist/cura/p-d040f8b9.entry.js.map +0 -0
  625. package/dist/cura/p-f9af3a3b.entry.js +0 -0
  626. package/dist/cura/p-f9af3a3b.entry.js.map +0 -0
  627. package/dist/cura/p-sjLA93YY.js +0 -0
  628. package/dist/cura/p-sjLA93YY.js.map +0 -0
  629. package/dist/esm/{cura-accordion_20.entry.js → cura-accordion_21.entry.js} +1826 -27
  630. package/dist/esm/cura-accordion_21.entry.js.map +1 -0
  631. package/dist/esm/cura-alert.entry.js +4 -3
  632. package/dist/esm/cura-alert.entry.js.map +1 -1
  633. package/dist/esm/cura-badge-counter.entry.js +0 -0
  634. package/dist/esm/cura-badge-counter.entry.js.map +0 -0
  635. package/dist/esm/cura-badge-dot.entry.js +0 -0
  636. package/dist/esm/cura-badge-dot.entry.js.map +0 -0
  637. package/dist/esm/cura-badge-pill.entry.js +0 -0
  638. package/dist/esm/cura-badge-pill.entry.js.map +0 -0
  639. package/dist/esm/cura-button-outline.entry.js +0 -0
  640. package/dist/esm/cura-button-outline.entry.js.map +0 -0
  641. package/dist/esm/cura-button-select.entry.js +0 -0
  642. package/dist/esm/cura-button-select.entry.js.map +0 -0
  643. package/dist/esm/cura-button.definitions-BSI2FkNn.js +0 -0
  644. package/dist/esm/cura-button.definitions-BSI2FkNn.js.map +0 -0
  645. package/dist/esm/cura-calendar.entry.js +0 -0
  646. package/dist/esm/cura-calendar.entry.js.map +0 -0
  647. package/dist/esm/cura-checkbox.entry.js +0 -0
  648. package/dist/esm/cura-checkbox.entry.js.map +0 -0
  649. package/dist/esm/cura-display.entry.js +0 -0
  650. package/dist/esm/cura-display.entry.js.map +0 -0
  651. package/dist/esm/cura-dropdown-search-not-found.entry.js +0 -0
  652. package/dist/esm/cura-dropdown-search-not-found.entry.js.map +0 -0
  653. package/dist/esm/cura-forms.definitions-Dot54hbB.js +0 -0
  654. package/dist/esm/cura-forms.definitions-Dot54hbB.js.map +0 -0
  655. package/dist/esm/cura-icon.definitions-sjLA93YY.js +0 -0
  656. package/dist/esm/cura-icon.definitions-sjLA93YY.js.map +0 -0
  657. package/dist/esm/cura-icons-view.entry.js +1 -1
  658. package/dist/esm/cura-icons-view.entry.js.map +1 -1
  659. package/dist/esm/cura-input-date.entry.js +0 -0
  660. package/dist/esm/cura-input-date.entry.js.map +0 -0
  661. package/dist/esm/cura-loader-bar.entry.js +0 -0
  662. package/dist/esm/cura-loader-bar.entry.js.map +0 -0
  663. package/dist/esm/cura-modal.entry.js +0 -0
  664. package/dist/esm/cura-modal.entry.js.map +0 -0
  665. package/dist/esm/cura-progress-bar.cura-stepper-item.entry.js.map +0 -0
  666. package/dist/esm/cura-progress-bar_2.entry.js +0 -0
  667. package/dist/esm/cura-progress-bar_2.entry.js.map +0 -0
  668. package/dist/esm/cura-radio.entry.js +0 -0
  669. package/dist/esm/cura-radio.entry.js.map +0 -0
  670. package/dist/esm/cura-stepper.entry.js +0 -0
  671. package/dist/esm/cura-stepper.entry.js.map +0 -0
  672. package/dist/esm/cura-switch.entry.js +0 -0
  673. package/dist/esm/cura-switch.entry.js.map +0 -0
  674. package/dist/esm/cura-tabs-button.entry.js +0 -0
  675. package/dist/esm/cura-tabs-button.entry.js.map +0 -0
  676. package/dist/esm/cura-tabs-transparent.entry.js +0 -0
  677. package/dist/esm/cura-tabs-transparent.entry.js.map +0 -0
  678. package/dist/esm/cura-tabs.definitions-CHcd-uKK.js +0 -0
  679. package/dist/esm/cura-tabs.definitions-CHcd-uKK.js.map +0 -0
  680. package/dist/esm/cura-theme-module-BPKQjAwN.js +0 -0
  681. package/dist/esm/cura-theme-module-BPKQjAwN.js.map +0 -0
  682. package/dist/esm/cura-toast.entry.js +0 -0
  683. package/dist/esm/cura-toast.entry.js.map +0 -0
  684. package/dist/esm/cura-tooltip.entry.js +0 -0
  685. package/dist/esm/cura-tooltip.entry.js.map +0 -0
  686. package/dist/esm/cura.js +1 -1
  687. package/dist/esm/cura.js.map +0 -0
  688. package/dist/esm/index-964stZ3D.js +0 -0
  689. package/dist/esm/index-964stZ3D.js.map +0 -0
  690. package/dist/esm/index-OdKytJIH.js +0 -0
  691. package/dist/esm/index-OdKytJIH.js.map +0 -0
  692. package/dist/esm/index.js +0 -0
  693. package/dist/esm/index.js.map +0 -0
  694. package/dist/esm/loader.js +1 -1
  695. package/dist/esm/loader.js.map +0 -0
  696. package/dist/index.cjs.js +0 -0
  697. package/dist/index.js +0 -0
  698. package/dist/loader/cdn.js +0 -0
  699. package/dist/loader/index.cjs.js +0 -0
  700. package/dist/loader/index.d.ts +0 -0
  701. package/dist/loader/index.es2017.js +0 -0
  702. package/dist/loader/index.js +0 -0
  703. package/dist/types/api/cura-api.d.ts +0 -0
  704. package/dist/types/api/cura-api.type.d.ts +0 -0
  705. package/dist/types/api/modules/cura-theme-breakpoints-module.d.ts +0 -0
  706. package/dist/types/api/modules/cura-theme-colors-module.d.ts +0 -0
  707. package/dist/types/api/modules/cura-theme-fonts-module.d.ts +0 -0
  708. package/dist/types/api/modules/cura-theme-module.d.ts +0 -0
  709. package/dist/types/api/modules/cura-theme-spacing-module.d.ts +0 -0
  710. package/dist/types/api/theme-presets/static.d.ts +0 -0
  711. package/dist/types/api/theme-presets/theme-default.d.ts +0 -0
  712. package/dist/types/api/theme-presets/theme-legacy-default.d.ts +0 -0
  713. package/dist/types/api/theme-presets/theme-maternity.d.ts +0 -0
  714. package/dist/types/api/theme-presets/theme-oncology.d.ts +0 -0
  715. package/dist/types/api/theme-presets/theme-perinatal-temporary.d.ts +0 -0
  716. package/dist/types/api/theme-presets/theme-presets.d.ts +0 -0
  717. package/dist/types/api/theme-presets/theme-richet.d.ts +0 -0
  718. package/dist/types/assets/icons/iconset-default-list.d.ts +0 -0
  719. package/dist/types/components/accordion/cura-accordion/cura-accordion.d.ts +0 -0
  720. package/dist/types/components/accordion/cura-accordion/cura-accordion.stories.d.ts +0 -0
  721. package/dist/types/components/accordion/cura-accordion-item/cura-accordion-item.d.ts +0 -0
  722. package/dist/types/components/badges/cura-badge-counter/cura-badge-counter.d.ts +0 -0
  723. package/dist/types/components/badges/cura-badge-counter/cura-badge-counter.stories.d.ts +0 -0
  724. package/dist/types/components/badges/cura-badge-distance/cura-badge-distance.d.ts +0 -0
  725. package/dist/types/components/badges/cura-badge-distance/cura-badge-distance.stories.d.ts +0 -0
  726. package/dist/types/components/badges/cura-badge-dot/cura-badge-dot.d.ts +0 -0
  727. package/dist/types/components/badges/cura-badge-dot/cura-badge-dot.stories.d.ts +0 -0
  728. package/dist/types/components/badges/cura-badge-pill/cura-badge-pill.d.ts +0 -0
  729. package/dist/types/components/badges/cura-badge-pill/cura-badge-pill.stories.d.ts +0 -0
  730. package/dist/types/components/buttons/cura-button/cura-button.d.ts +0 -0
  731. package/dist/types/components/buttons/cura-button/cura-button.stories.d.ts +0 -0
  732. package/dist/types/components/buttons/cura-button-outline/cura-button-outline.d.ts +0 -0
  733. package/dist/types/components/buttons/cura-button-outline/cura-button-outline.stories.d.ts +0 -0
  734. package/dist/types/components/buttons/cura-button-select/cura-button-select.d.ts +0 -0
  735. package/dist/types/components/buttons/cura-button-select/cura-button-select.stories.d.ts +0 -0
  736. package/dist/types/components/buttons/cura-button-transparent/cura-button-transparent.d.ts +0 -0
  737. package/dist/types/components/buttons/cura-button-transparent/cura-button-transparent.stories.d.ts +0 -0
  738. package/dist/types/components/buttons/cura-button.definitions.d.ts +0 -0
  739. package/dist/types/components/cura-alert/cura-alert.d.ts +0 -0
  740. package/dist/types/components/cura-alert/cura-alert.stories.d.ts +0 -0
  741. package/dist/types/components/cura-avatar/cura-avatar.d.ts +0 -0
  742. package/dist/types/components/cura-avatar/cura-avatar.definitions.d.ts +0 -0
  743. package/dist/types/components/cura-avatar/cura-avatar.stories.d.ts +0 -0
  744. package/dist/types/components/cura-calendar/cura-calendar.d.ts +0 -0
  745. package/dist/types/components/cura-calendar/cura-calendar.stories.d.ts +0 -0
  746. package/dist/types/components/cura-card/cura-card.d.ts +0 -0
  747. package/dist/types/components/cura-card/cura-card.stories.d.ts +0 -0
  748. package/dist/types/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.d.ts +0 -0
  749. package/dist/types/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.stories.d.ts +0 -0
  750. package/dist/types/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.d.ts +0 -0
  751. package/dist/types/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.d.ts +0 -0
  752. package/dist/types/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.d.ts +0 -0
  753. package/dist/types/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.d.ts +0 -0
  754. package/dist/types/components/cura-dropdown-search/cura-dropdown-search.d.ts +2 -0
  755. package/dist/types/components/cura-dropdown-search/cura-dropdown-search.stories.d.ts +0 -0
  756. package/dist/types/components/cura-icon/cura-icon.d.ts +0 -0
  757. package/dist/types/components/cura-icon/cura-icon.definitions.d.ts +0 -0
  758. package/dist/types/components/cura-icon/cura-icon.stories.d.ts +0 -0
  759. package/dist/types/components/cura-icons-view/cura-icons-view.d.ts +0 -0
  760. package/dist/types/components/cura-icons-view/cura-icons-view.stories.d.ts +0 -0
  761. package/dist/types/components/cura-modal/cura-modal.d.ts +0 -0
  762. package/dist/types/components/cura-modal/cura-modal.stories.d.ts +0 -0
  763. package/dist/types/components/cura-page-template/cura-page-template.d.ts +0 -0
  764. package/dist/types/components/cura-stepper/cura-progress-bar/cura-progress-bar.d.ts +0 -0
  765. package/dist/types/components/cura-stepper/cura-stepper-item/cura-stepper-item.d.ts +0 -0
  766. package/dist/types/components/cura-stepper/cura-stepper.d.ts +0 -0
  767. package/dist/types/components/cura-stepper/cura-stepper.stories.d.ts +0 -0
  768. package/dist/types/components/cura-stepper/stepper.type.d.ts +0 -0
  769. package/dist/types/components/cura-toast/cura-toast.d.ts +0 -0
  770. package/dist/types/components/cura-toast/cura-toast.stories.d.ts +0 -0
  771. package/dist/types/components/cura-tooltip/cura-tooltip.d.ts +0 -0
  772. package/dist/types/components/cura-tooltip/cura-tooltip.stories.d.ts +0 -0
  773. package/dist/types/components/forms/cura-checkbox/cura-checkbox.d.ts +0 -0
  774. package/dist/types/components/forms/cura-checkbox/cura-checkbox.stories.d.ts +0 -0
  775. package/dist/types/components/forms/cura-forms.definitions.d.ts +0 -0
  776. package/dist/types/components/forms/cura-input-date/cura-input-date.d.ts +0 -0
  777. package/dist/types/components/forms/cura-input-date/cura-input-date.stories.d.ts +0 -0
  778. package/dist/types/components/forms/cura-input-text/cura-input-text.d.ts +0 -0
  779. package/dist/types/components/forms/cura-input-text/cura-input-text.stories.d.ts +0 -0
  780. package/dist/types/components/forms/cura-input-text/mask-presets/input-mask-presets.d.ts +0 -0
  781. package/dist/types/components/forms/cura-label/cura-label.d.ts +0 -0
  782. package/dist/types/components/forms/cura-label/cura-label.stories.d.ts +0 -0
  783. package/dist/types/components/forms/cura-radio/cura-radio.d.ts +0 -0
  784. package/dist/types/components/forms/cura-radio/cura-radio.stories.d.ts +0 -0
  785. package/dist/types/components/forms/cura-select/cura-select.d.ts +21 -0
  786. package/dist/types/components/forms/cura-select/cura-select.stories.d.ts +0 -0
  787. package/dist/types/components/forms/cura-select-options/cura-select-option.d.ts +0 -0
  788. package/dist/types/components/forms/cura-switch/cura-switch.d.ts +0 -0
  789. package/dist/types/components/forms/cura-switch/cura-switch.stories.d.ts +0 -0
  790. package/dist/types/components/loaders/cura-loader-bar/cura-loader-bar.d.ts +0 -0
  791. package/dist/types/components/loaders/cura-loader-bar/cura-loader-bar.stories.d.ts +0 -0
  792. package/dist/types/components/loaders/cura-loader-circle/cura-loader-circle.d.ts +0 -0
  793. package/dist/types/components/loaders/cura-loader-circle/cura-loader-circle.stories.d.ts +0 -0
  794. package/dist/types/components/tabs/cura-tabs/cura-tabs.d.ts +0 -0
  795. package/dist/types/components/tabs/cura-tabs/cura-tabs.stories.d.ts +0 -0
  796. package/dist/types/components/tabs/cura-tabs-button/cura-tabs-button.d.ts +0 -0
  797. package/dist/types/components/tabs/cura-tabs-button/cura-tabs-button.stories.d.ts +0 -0
  798. package/dist/types/components/tabs/cura-tabs-group/cura-tabs-group.d.ts +0 -0
  799. package/dist/types/components/tabs/cura-tabs-group/cura-tabs-group.stories.d.ts +0 -0
  800. package/dist/types/components/tabs/cura-tabs-transparent/cura-tabs-transparent.d.ts +0 -0
  801. package/dist/types/components/tabs/cura-tabs-transparent/cura-tabs-transparent.stories.d.ts +0 -0
  802. package/dist/types/components/tabs/cura-tabs.definitions.d.ts +0 -0
  803. package/dist/types/components/text/cura-display/cura-display.d.ts +0 -0
  804. package/dist/types/components/text/cura-display/cura-display.stories.d.ts +0 -0
  805. package/dist/types/components/text/cura-heading/cura-heading.d.ts +0 -0
  806. package/dist/types/components/text/cura-heading/cura-heading.stories.d.ts +0 -0
  807. package/dist/types/components/text/cura-paragraph/cura-paragraph.d.ts +0 -0
  808. package/dist/types/components/text/cura-paragraph/cura-paragraph.stories.d.ts +0 -0
  809. package/dist/types/components.d.ts +0 -0
  810. package/dist/types/index.d.ts +0 -0
  811. package/dist/types/rededor-cura-start.d.ts +0 -0
  812. package/dist/types/stencil-public-runtime.d.ts +0 -0
  813. package/dist/types/utils/FixedElementScrollBehavior.d.ts +0 -0
  814. package/dist/types/utils/utils.d.ts +0 -0
  815. package/package.json +3 -2
  816. package/dist/cjs/cura-accordion_20.cjs.entry.js.map +0 -1
  817. package/dist/cjs/cura-card.cjs.entry.js +0 -81
  818. package/dist/cjs/cura-card.cjs.entry.js.map +0 -1
  819. package/dist/cjs/cura-card.entry.cjs.js.map +0 -1
  820. package/dist/components/p-BTt-pVTn.js +0 -442
  821. package/dist/components/p-BTt-pVTn.js.map +0 -1
  822. package/dist/components/p-CgMS6FUK.js.map +0 -1
  823. package/dist/components/p-DpIu_Oxz.js.map +0 -1
  824. package/dist/cura/cura-card.entry.esm.js.map +0 -1
  825. package/dist/cura/p-2632183e.entry.js +0 -2
  826. package/dist/cura/p-2632183e.entry.js.map +0 -1
  827. package/dist/cura/p-6feba852.entry.js +0 -2
  828. package/dist/cura/p-6feba852.entry.js.map +0 -1
  829. package/dist/cura/p-d8aeca82.entry.js +0 -2
  830. package/dist/cura/p-d8aeca82.entry.js.map +0 -1
  831. package/dist/cura/p-deb0b764.entry.js +0 -2
  832. package/dist/cura/p-deb0b764.entry.js.map +0 -1
  833. package/dist/esm/cura-accordion_20.entry.js.map +0 -1
  834. package/dist/esm/cura-card.entry.js +0 -79
  835. package/dist/esm/cura-card.entry.js.map +0 -1
@@ -1,81 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-BK9MSAiE.js');
4
- require('./cura-theme-module-CJkmAxBA.js');
5
-
6
- const curaCardCss = ":host{display:block;box-sizing:border-box;font-size:var(--font-size);font-family:var(--font-family)}:host ::slotted(*){display:flex;align-items:center;justify-content:center;font-size:var(--font-size);font-family:var(--font-family)}a{display:block;text-decoration:none !important;color:inherit}.solid{background-color:var(--neutral-purewhite);border:2px solid var(--neutral-base);border-radius:12px;overflow:hidden;padding:0px;box-shadow:none}.solid ::slotted(*){border-radius:0}.solid.hasPadding{padding:20px}.solid.hasPadding ::slotted(*){border-radius:4px !important}.solid.hasShadow{border:2px solid var(--neutral-base);box-shadow:0px 1px 4px 0px var(--neutral-black-shadow, rgba(38, 38, 38, 0.16))}.solid.cardLink{background-color:var(--neutral-purewhite);border:2px solid var(--primary-base);border-radius:12px;padding:0px;box-shadow:none;cursor:pointer}.solid.cardLink ::slotted(*){border-radius:0px}.solid.cardLink:hover{border:2px solid var(--primary-lighter) !important}.solid.cardLink.hasPadding{padding:20px}.solid.cardLink.hasPadding ::slotted(*){border-radius:4px !important}.solid.cardLink.hasPadding:hover{border:2px solid var(--primary-lighter) !important}.solid.cardLink.hasShadow{border:2px solid var(--primary-base);box-shadow:0px 4px 8px 0px var(--neutral-black-shadow, rgba(38, 38, 38, 0.16))}.solid.cardLink:not(.hasPadding).hasShadow ::slotted(*){border-radius:12px !important}.solid.cardLink.dark{background-color:var(--neutral-purewhite);border:2px solid var(--neutral-purewhite)}.solid.cardLink.dark:hover{border:2px solid var(--primary-lighter)}.transparent{background-color:transparent;border:0;border-radius:12px;padding:0px;overflow:hidden}.transparent ::slotted(*){border-radius:12px}.transparent.hasPadding{padding:20px}.transparent.hasPadding ::slotted(*){border-radius:4px}.transparent.cardLink{background-color:transparent;border:2px solid var(--primary-base);overflow:hidden;border-radius:12px;padding:0px;box-shadow:none}.transparent.cardLink ::slotted(*){border-radius:0px !important}.transparent.cardLink:hover{border:2px solid var(--primary-lighter) !important}.transparent.cardLink.light{background-color:var(--neutral-purewhite);border:2px solid var(--primary-base)}.transparent.cardLink.light ::slotted(*){border-radius:12px !important}.transparent.cardLink.light:hover{border-color:var(--primary-lighter) !important}.transparent.cardLink.dark{background-color:transparent;border:2px solid var(--neutral-purewhite)}.transparent.cardLink.dark:hover{border:0}.transparent.cardLink.hasPadding{padding:20px}.transparent.cardLink.hasPadding ::slotted(*){border-radius:4px !important}";
7
-
8
- const CuraCard = class {
9
- constructor(hostRef) {
10
- index.registerInstance(this, hostRef);
11
- /**
12
- * Determines whether the card should have padding.
13
- * @type {boolean}
14
- * @default false
15
- */
16
- this.hasPadding = true;
17
- /**
18
- * Determines whether the card should have a shadow effect.
19
- * @type {boolean}
20
- * @default false
21
- */
22
- this.hasShadow = false;
23
- /**
24
- * Sets the type of the card background.
25
- * - 'solid': A solid background.
26
- * - 'transparent': A transparent background.
27
- * @type {'solid' | 'transparent'}
28
- * @default 'solid'
29
- */
30
- this.type = 'solid';
31
- /**
32
- * Sets the color mode of the card.
33
- * - 'light': Light mode for the card.
34
- * - 'dark': Dark mode for the card.
35
- * @type {'light' | 'dark'}
36
- * @default 'light'
37
- */
38
- this.colorMode = 'light';
39
- /**
40
- * The target attribute for the link.
41
- * Applicable only if `href` is set.
42
- * @type {string}
43
- * @default '_self'
44
- */
45
- this.target = '_self';
46
- this.styles = {};
47
- }
48
- connectedCallback() {
49
- this.weights = window.CuraAPI.theme.fonts.getWeights();
50
- this.styles['--base-spacing'] = window.CuraAPI.theme.spacing.getSpacing();
51
- this.styles['--neutral-purewhite'] = window.CuraAPI.theme.colors.getColor(`neutral-purewhite`);
52
- this.styles['--neutral-white'] = window.CuraAPI.theme.colors.getColor(`neutral-white`);
53
- this.styles['--neutral-base'] = window.CuraAPI.theme.colors.getColor(`neutral-base`);
54
- this.styles['--neutral-dark'] = window.CuraAPI.theme.colors.getColor(`neutral-dark`);
55
- this.styles['--neutral-black'] = window.CuraAPI.theme.colors.getColor(`neutral-black`);
56
- this.styles['--neutral-black-shadow'] = window.CuraAPI.theme.colors.getColor(`neutral-black`, 0.16);
57
- this.styles['--primary-lighter'] = window.CuraAPI.theme.colors.getColor(`primary-lighter`);
58
- this.styles['--primary-base'] = window.CuraAPI.theme.colors.getColor(`primary-base`);
59
- this.styles['--font-size'] = window.CuraAPI.theme.fonts.getSize();
60
- this.styles['--font-family'] = window.CuraAPI.theme.fonts.getFamily();
61
- this.styles['--font-weight-medium'] = this.weights.medium;
62
- }
63
- getClasses() {
64
- const classes = {};
65
- classes[this.type] = true;
66
- classes[`cardLink`] = this.href;
67
- classes[this.colorMode] = true;
68
- classes[`hasPadding`] = this.hasPadding;
69
- classes[`hasShadow`] = this.hasShadow;
70
- return classes;
71
- }
72
- render() {
73
- return (index.h(index.Host, { key: '9478ce754c108db722dbc5bcbb00a0884b6c6f38', role: this.href ? 'link' : 'div' }, this.href ? (index.h("a", { class: this.getClasses(), target: this.target, style: this.styles, href: this.href }, index.h("slot", null))) : (index.h("div", { class: this.getClasses(), style: this.styles }, index.h("slot", null)))));
74
- }
75
- };
76
- CuraCard.style = curaCardCss;
77
-
78
- exports.cura_card = CuraCard;
79
- //# sourceMappingURL=cura-card.entry.cjs.js.map
80
-
81
- //# sourceMappingURL=cura-card.cjs.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"cura-card.entry.cjs.js","mappings":"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","names":["h","Host"],"sources":["src/components/cura-card/cura-card.scss?tag=cura-card&encapsulation=shadow","src/components/cura-card/cura-card.tsx"],"sourcesContent":["@import '../../../src/scss/mixins/shadows.scss';\n\n:host {\n display: block;\n box-sizing: border-box;\n font-size: var(--font-size);\n font-family: var(--font-family);\n ::slotted(*) {\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: var(--font-size);\n font-family: var(--font-family);\n }\n \n}\n\na {\n display: block;\n text-decoration: none !important;\n color: inherit;\n}\n.solid {\n background-color: var(--neutral-purewhite);\n border: 2px solid var(--neutral-base);\n border-radius: 12px;\n overflow: hidden;\n padding: 0px;\n box-shadow: none;\n\n ::slotted(*) {\n \n border-radius: 0 ;\n }\n &.hasPadding {\n padding: 20px;\n ::slotted(*) {\n border-radius: 4px !important;\n }\n }\n\n &.hasShadow {\n border: 2px solid var(--neutral-base);\n\n @include shadow-level2(--neutral-black-shadow);\n }\n\n &.cardLink {\n background-color: var(--neutral-purewhite);\n border: 2px solid var(--primary-base);\n border-radius: 12px;\n padding: 0px;\n box-shadow: none;\n cursor: pointer;\n\n ::slotted(*) {\n border-radius: 0px;\n }\n &:hover {\n border: 2px solid var(--primary-lighter) !important;\n }\n &.hasPadding {\n padding: 20px;\n ::slotted(*) {\n border-radius: 4px !important;\n }\n &:hover {\n border: 2px solid var(--primary-lighter) !important;\n }\n }\n\n &.hasShadow {\n border: 2px solid var(--primary-base);\n\n @include shadow-level3(--neutral-black-shadow);\n }\n &:not(.hasPadding).hasShadow {\n ::slotted(*) {\n border-radius: 12px !important;\n }\n }\n\n &.dark {\n background-color: var(--neutral-purewhite);\n border: 2px solid var(--neutral-purewhite);\n &:hover {\n border: 2px solid var(--primary-lighter);\n }\n }\n }\n}\n\n.transparent {\n background-color: transparent;\n border: 0;\n border-radius: 12px;\n padding: 0px;\n overflow: hidden;\n ::slotted(*) {\n border-radius: 12px;\n }\n\n &.hasPadding {\n padding: 20px;\n\n ::slotted(*) {\n border-radius: 4px;\n }\n }\n\n &.cardLink {\n background-color: transparent;\n border: 2px solid var(--primary-base);\n overflow: hidden;\n border-radius: 12px;\n padding: 0px;\n box-shadow: none;\n ::slotted(*) {\n border-radius: 0px !important;\n }\n &:hover {\n border: 2px solid var(--primary-lighter) !important;\n }\n\n &.light {\n background-color: var(--neutral-purewhite);\n border: 2px solid var(--primary-base);\n ::slotted(*) {\n border-radius: 12px !important;\n }\n &:hover {\n border-color: var(--primary-lighter) !important;\n }\n }\n &.dark {\n background-color: transparent;\n\n border: 2px solid var(--neutral-purewhite);\n\n &:hover {\n border: 0;\n }\n }\n &.hasPadding {\n padding: 20px;\n\n ::slotted(*) {\n border-radius: 4px !important;\n }\n }\n }\n}\n","import { Component, Host, Prop, State, h } from '@stencil/core';\n\n@Component({\n tag: 'cura-card',\n styleUrl: 'cura-card.scss',\n shadow: true,\n})\nexport class CuraCard {\n /**\n * Determines whether the card should have padding.\n * @type {boolean}\n * @default false\n */\n @Prop({ mutable: true }) hasPadding: boolean = true;\n\n /**\n * Determines whether the card should have a shadow effect.\n * @type {boolean}\n * @default false\n */\n @Prop({ mutable: true }) hasShadow: boolean = false;\n\n /**\n * Sets the type of the card background.\n * - 'solid': A solid background.\n * - 'transparent': A transparent background.\n * @type {'solid' | 'transparent'}\n * @default 'solid'\n */\n @Prop({ mutable: true }) type: 'solid' | 'transparent' = 'solid';\n\n /**\n * Sets the color mode of the card.\n * - 'light': Light mode for the card.\n * - 'dark': Dark mode for the card.\n * @type {'light' | 'dark'}\n * @default 'light'\n */\n @Prop({ mutable: true }) colorMode: 'light' | 'dark' = 'light';\n\n /**\n * The URL that the card should link to (if set).\n * If not set, the card acts as a normal card.\n * @type {string | undefined}\n */\n @Prop({ mutable: true, reflect: true }) href?: string;\n\n /**\n * The target attribute for the link.\n * Applicable only if `href` is set.\n * @type {string}\n * @default '_self'\n */\n @Prop({ reflect: true }) target: string = '_self';\n\n @State() styles: any = {};\n\n weights;\n\n connectedCallback() {\n this.weights = window.CuraAPI.theme.fonts.getWeights();\n this.styles['--base-spacing'] = window.CuraAPI.theme.spacing.getSpacing();\n this.styles['--neutral-purewhite'] = window.CuraAPI.theme.colors.getColor(`neutral-purewhite`);\n this.styles['--neutral-white'] = window.CuraAPI.theme.colors.getColor(`neutral-white`);\n this.styles['--neutral-base'] = window.CuraAPI.theme.colors.getColor(`neutral-base`);\n this.styles['--neutral-dark'] = window.CuraAPI.theme.colors.getColor(`neutral-dark`);\n this.styles['--neutral-black'] = window.CuraAPI.theme.colors.getColor(`neutral-black`);\n this.styles['--neutral-black-shadow'] = window.CuraAPI.theme.colors.getColor(`neutral-black`, 0.16);\n this.styles['--primary-lighter'] = window.CuraAPI.theme.colors.getColor(`primary-lighter`);\n this.styles['--primary-base'] = window.CuraAPI.theme.colors.getColor(`primary-base`);\n this.styles['--font-size'] = window.CuraAPI.theme.fonts.getSize();\n this.styles['--font-family'] = window.CuraAPI.theme.fonts.getFamily();\n this.styles['--font-weight-medium'] = this.weights.medium;\n }\n\n getClasses() {\n const classes = {};\n classes[this.type] = true;\n classes[`cardLink`] = this.href;\n classes[this.colorMode] = true;\n classes[`hasPadding`] = this.hasPadding;\n classes[`hasShadow`] = this.hasShadow;\n return classes;\n }\n\n render() {\n return (\n <Host role={this.href ? 'link' : 'div'}>\n {this.href ? (\n <a class={this.getClasses()} target={this.target} style={this.styles} href={this.href}>\n <slot></slot>\n </a>\n ) : (\n <div class={this.getClasses()} style={this.styles}>\n <slot></slot>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"version":3,"file":"cura-card.entry.cjs.js","sources":["src/components/cura-card/cura-card.scss?tag=cura-card&encapsulation=shadow","src/components/cura-card/cura-card.tsx"],"sourcesContent":["@import '../../../src/scss/mixins/shadows.scss';\n\n:host {\n display: block;\n box-sizing: border-box;\n font-size: var(--font-size);\n font-family: var(--font-family);\n ::slotted(*) {\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: var(--font-size);\n font-family: var(--font-family);\n }\n \n}\n\na {\n display: block;\n text-decoration: none !important;\n color: inherit;\n}\n.solid {\n background-color: var(--neutral-purewhite);\n border: 2px solid var(--neutral-base);\n border-radius: 12px;\n overflow: hidden;\n padding: 0px;\n box-shadow: none;\n\n ::slotted(*) {\n \n border-radius: 0 ;\n }\n &.hasPadding {\n padding: 20px;\n ::slotted(*) {\n border-radius: 4px !important;\n }\n }\n\n &.hasShadow {\n border: 2px solid var(--neutral-base);\n\n @include shadow-level2(--neutral-black-shadow);\n }\n\n &.cardLink {\n background-color: var(--neutral-purewhite);\n border: 2px solid var(--primary-base);\n border-radius: 12px;\n padding: 0px;\n box-shadow: none;\n cursor: pointer;\n\n ::slotted(*) {\n border-radius: 0px;\n }\n &:hover {\n border: 2px solid var(--primary-lighter) !important;\n }\n &.hasPadding {\n padding: 20px;\n ::slotted(*) {\n border-radius: 4px !important;\n }\n &:hover {\n border: 2px solid var(--primary-lighter) !important;\n }\n }\n\n &.hasShadow {\n border: 2px solid var(--primary-base);\n\n @include shadow-level3(--neutral-black-shadow);\n }\n &:not(.hasPadding).hasShadow {\n ::slotted(*) {\n border-radius: 12px !important;\n }\n }\n\n &.dark {\n background-color: var(--neutral-purewhite);\n border: 2px solid var(--neutral-purewhite);\n &:hover {\n border: 2px solid var(--primary-lighter);\n }\n }\n }\n}\n\n.transparent {\n background-color: transparent;\n border: 0;\n border-radius: 12px;\n padding: 0px;\n overflow: hidden;\n ::slotted(*) {\n border-radius: 12px;\n }\n\n &.hasPadding {\n padding: 20px;\n\n ::slotted(*) {\n border-radius: 4px;\n }\n }\n\n &.cardLink {\n background-color: transparent;\n border: 2px solid var(--primary-base);\n overflow: hidden;\n border-radius: 12px;\n padding: 0px;\n box-shadow: none;\n ::slotted(*) {\n border-radius: 0px !important;\n }\n &:hover {\n border: 2px solid var(--primary-lighter) !important;\n }\n\n &.light {\n background-color: var(--neutral-purewhite);\n border: 2px solid var(--primary-base);\n ::slotted(*) {\n border-radius: 12px !important;\n }\n &:hover {\n border-color: var(--primary-lighter) !important;\n }\n }\n &.dark {\n background-color: transparent;\n\n border: 2px solid var(--neutral-purewhite);\n\n &:hover {\n border: 0;\n }\n }\n &.hasPadding {\n padding: 20px;\n\n ::slotted(*) {\n border-radius: 4px !important;\n }\n }\n }\n}\n","import { Component, Host, Prop, State, h } from '@stencil/core';\n\n@Component({\n tag: 'cura-card',\n styleUrl: 'cura-card.scss',\n shadow: true,\n})\nexport class CuraCard {\n /**\n * Determines whether the card should have padding.\n * @type {boolean}\n * @default false\n */\n @Prop({ mutable: true }) hasPadding: boolean = true;\n\n /**\n * Determines whether the card should have a shadow effect.\n * @type {boolean}\n * @default false\n */\n @Prop({ mutable: true }) hasShadow: boolean = false;\n\n /**\n * Sets the type of the card background.\n * - 'solid': A solid background.\n * - 'transparent': A transparent background.\n * @type {'solid' | 'transparent'}\n * @default 'solid'\n */\n @Prop({ mutable: true }) type: 'solid' | 'transparent' = 'solid';\n\n /**\n * Sets the color mode of the card.\n * - 'light': Light mode for the card.\n * - 'dark': Dark mode for the card.\n * @type {'light' | 'dark'}\n * @default 'light'\n */\n @Prop({ mutable: true }) colorMode: 'light' | 'dark' = 'light';\n\n /**\n * The URL that the card should link to (if set).\n * If not set, the card acts as a normal card.\n * @type {string | undefined}\n */\n @Prop({ mutable: true, reflect: true }) href?: string;\n\n /**\n * The target attribute for the link.\n * Applicable only if `href` is set.\n * @type {string}\n * @default '_self'\n */\n @Prop({ reflect: true }) target: string = '_self';\n\n @State() styles: any = {};\n\n weights;\n\n connectedCallback() {\n this.weights = window.CuraAPI.theme.fonts.getWeights();\n this.styles['--base-spacing'] = window.CuraAPI.theme.spacing.getSpacing();\n this.styles['--neutral-purewhite'] = window.CuraAPI.theme.colors.getColor(`neutral-purewhite`);\n this.styles['--neutral-white'] = window.CuraAPI.theme.colors.getColor(`neutral-white`);\n this.styles['--neutral-base'] = window.CuraAPI.theme.colors.getColor(`neutral-base`);\n this.styles['--neutral-dark'] = window.CuraAPI.theme.colors.getColor(`neutral-dark`);\n this.styles['--neutral-black'] = window.CuraAPI.theme.colors.getColor(`neutral-black`);\n this.styles['--neutral-black-shadow'] = window.CuraAPI.theme.colors.getColor(`neutral-black`, 0.16);\n this.styles['--primary-lighter'] = window.CuraAPI.theme.colors.getColor(`primary-lighter`);\n this.styles['--primary-base'] = window.CuraAPI.theme.colors.getColor(`primary-base`);\n this.styles['--font-size'] = window.CuraAPI.theme.fonts.getSize();\n this.styles['--font-family'] = window.CuraAPI.theme.fonts.getFamily();\n this.styles['--font-weight-medium'] = this.weights.medium;\n }\n\n getClasses() {\n const classes = {};\n classes[this.type] = true;\n classes[`cardLink`] = this.href;\n classes[this.colorMode] = true;\n classes[`hasPadding`] = this.hasPadding;\n classes[`hasShadow`] = this.hasShadow;\n return classes;\n }\n\n render() {\n return (\n <Host role={this.href ? 'link' : 'div'}>\n {this.href ? (\n <a class={this.getClasses()} target={this.target} style={this.styles} href={this.href}>\n <slot></slot>\n </a>\n ) : (\n <div class={this.getClasses()} style={this.styles}>\n <slot></slot>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"names":["h","Host"],"mappings":"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"}
@@ -1,442 +0,0 @@
1
- import { p as proxyCustomElement, H, e as createEvent, h, d as Host } from './p-D1cPOZpG.js';
2
- import { d as defineCustomElement$2 } from './p-B5aO1chh.js';
3
- import { d as defineCustomElement$1 } from './p-DR1RHrEX.js';
4
-
5
- const curaSelectCss = ":host{display:block;position:relative;font-family:var(--font-family)}.wrapper{width:100%;user-select:none;text-align:left !important}.wrapper cura-label{margin-bottom:8px}.wrapper .helper-text{margin-top:8px;color:var(--neutral-dark)}.wrapper .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.wrapper .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.wrapper .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper .cura-input-field .feedback-icon{padding-left:12px}.wrapper .cura-input-field .up-down-icon{order:3;padding-right:6px;cursor:pointer;pointer-events:all}.wrapper .cura-input-field .up-down-button{background-color:transparent;border:none}.wrapper .cura-input-field input{padding:0px 12px 0px 8px;cursor:pointer}.wrapper .cura-input-field.open{border-radius:4px 4px 0 0 !important}.wrapper.transparent{background-color:transparent;padding:0px;max-height:80px}.wrapper.transparent .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box;background-color:transparent !important;border:none !important;border-radius:0;height:27px}.wrapper.transparent .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.wrapper.transparent .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.transparent .cura-input-field .feedback-icon{padding-left:12px}.wrapper.transparent .cura-input-field input{color:var(--neutral-black) !important;font-size:16px;font-weight:var(--font-weight-bold) !important;padding:0}.wrapper.transparent .cura-input-field input::placeholder{color:var(--neutral-black)}.wrapper.transparent .cura-input-field .feedback-icon{order:3;margin:0 20px 0 0}.wrapper.transparent:focus-within .cura-input-field{border:none !important;background-color:transparent !important}.wrapper.transparent:focus-within .cura-input-field input{border:none !important;outline:none}.wrapper.transparent .helper-text{margin-top:0px}.wrapper:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field{border-color:var(--neutral-dark)}.wrapper:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field input{color:var(--neutral-dark)}.wrapper:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper:focus-within:not(.selection) .cura-input-field{border:2px solid var(--info-base) !important;background-color:var(--neutral-purewhite);outline:none}.wrapper:focus-within:not(.selection) .cura-input-field input{color:var(--neutral-black) !important}.wrapper:focus-within.selection .cura-input-field{border-radius:4px 4px 0px 0px}.wrapper.success .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.wrapper.success .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.wrapper.success .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.success .cura-input-field .feedback-icon{padding-left:12px}.wrapper.success .cura-input-field input{color:var(--success-darker) !important}.wrapper.success .cura-input-field input::placeholder{color:var(--success-darker) !important}.wrapper.success:not(.transparent) .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--success-dark) !important;background-color:var(--success-lighter) !important}.wrapper.success:not(.transparent) .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.wrapper.success:not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.success:not(.transparent) .cura-input-field .feedback-icon{padding-left:12px}.wrapper.error .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.wrapper.error .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.wrapper.error .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.error .cura-input-field .feedback-icon{padding-left:12px}.wrapper.error .cura-input-field input{color:var(--error-darker) !important}.wrapper.error .cura-input-field input::placeholder{color:var(--error-darker) !important}.wrapper.error:not(.transparent) .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--error-dark) !important;background-color:var(--error-lighter) !important}.wrapper.error:not(.transparent) .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.wrapper.error:not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.error:not(.transparent) .cura-input-field .feedback-icon{padding-left:12px}.wrapper.small .cura-input-field{width:100%;height:32px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.wrapper.small .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:12px;box-sizing:border-box;padding:0px 12px 0px 8px}.wrapper.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.small .cura-input-field .feedback-icon{padding-left:12px}.wrapper.small .cura-input-field input{line-height:13px;letter-spacing:0.72px}.wrapper.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.wrapper.small.label .menu{top:53px}.wrapper.small .menu{top:33px}.wrapper.medium .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.wrapper.medium .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.wrapper.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.medium .cura-input-field .feedback-icon{padding-left:12px}.wrapper.medium .cura-input-field input{line-height:16px;letter-spacing:0.56px}.wrapper.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.wrapper.medium.label .menu{top:61px}.wrapper.medium .menu{top:40px}.wrapper.large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.wrapper.large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0px 12px 0px 8px}.wrapper.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.large .cura-input-field .feedback-icon{padding-left:12px}.wrapper.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.wrapper.large.label .menu{top:69px}.wrapper.large .menu{top:47px}.wrapper.disabled .cura-input-field{background-color:var(--neutral-white);border:2px solid var(--neutral-base)}.wrapper.disabled .cura-input-field input{color:var(--neutral-medium)}.wrapper.disabled .cura-input-field input::placeholder{color:var(--neutral-medium)}.required{color:red}.menu{position:absolute;left:0;right:-1px;background:#fff;border:2px solid var(--neutral-light);border-radius:4px;z-index:1000;max-height:var(--max-height);overflow:hidden;border-top:transparent;align-items:center;scrollbar-color:var(--neutral-medium) var(--neutral-black-20);overflow-y:auto;box-shadow:0px 4px 8px 0px rgba(38, 38, 38, 0.16)}.menu.open{border-radius:0 !important;padding:12px}";
6
-
7
- const CuraSelect = /*@__PURE__*/ proxyCustomElement(class CuraSelect extends H {
8
- constructor() {
9
- super();
10
- this.__registerHost();
11
- this.__attachShadow();
12
- this.selected = createEvent(this, "selected");
13
- this.searchTermInput = createEvent(this, "searchTermInput");
14
- this.internals = this.attachInternals();
15
- /**
16
- * The label text for the select component.
17
- * Reflects as an attribute in the DOM.
18
- */
19
- this.label = '';
20
- /**
21
- * Placeholder text for the input field.
22
- * Reflects as an attribute in the DOM.
23
- */
24
- this.placeholder = '';
25
- /**
26
- * Current value of the select component.
27
- * Reflects as an attribute in the DOM and is mutable.
28
- */
29
- this.value = '';
30
- /**
31
- * Display mode of the select component.
32
- * Can be 'default' or 'transparent'.
33
- */
34
- this.mode = 'default';
35
- /**
36
- * Size of the select component.
37
- * Can be 'small', 'medium', or 'large'.
38
- */
39
- this.size = 'medium';
40
- /**
41
- * Status of the select component.
42
- * Can be 'success', 'error', or 'default'.
43
- */
44
- this.status = 'default';
45
- /**
46
- * Whether the select component is disabled.
47
- * Reflects as an attribute in the DOM.
48
- */
49
- this.disabled = false;
50
- /**
51
- * Whether the select component is required.
52
- * Reflects as an attribute in the DOM.
53
- */
54
- this.required = false;
55
- /**
56
- * Enable / Disable search at options by term.
57
- * Default: false
58
- */
59
- this.searchBehavior = false;
60
- /**
61
- * The search will be sensitive to accents.
62
- * Default: true
63
- */
64
- this.caseSensitive = true;
65
- /**
66
- * CSS max-height property for dropdown item.
67
- * Can also be used by css property --max-height.
68
- * Default: 285px
69
- */
70
- this.maxHeight = '285px';
71
- /**
72
- * Internal state: Whether the input is hovered.
73
- * Default: false
74
- */
75
- this.isHovered = false;
76
- /**
77
- * Internal state: Whether the input is focused.
78
- * Default: false
79
- */
80
- this.isFocused = false;
81
- /**
82
- * Internal state: Whether the dropdown menu is open.
83
- * Default: false
84
- */
85
- this.isOpen = false;
86
- this.activeIndex = -1;
87
- this.textInput = '';
88
- /**
89
- * Styles to be applied to the component.
90
- */
91
- this.styles = {};
92
- /**
93
- * Theme object containing font and color information.
94
- */
95
- this.theme = window.CuraAPI.theme;
96
- /**
97
- * Handles mutations observed by the MutationObserver.
98
- * Updates the selected option or filters options based on the mutation type.
99
- */
100
- this.handleMutations = (mutations) => {
101
- mutations.forEach(mutation => {
102
- if (mutation.type === 'attributes') {
103
- if (mutation.attributeName === 'selected')
104
- this.updateSelectedOption();
105
- }
106
- });
107
- };
108
- /**
109
- * Handles the selection of an option.
110
- */
111
- this.onOptiselected = (event) => {
112
- const selectedOption = event.target;
113
- this.clearSelectedAttributes();
114
- selectedOption.setAttribute('selected', 'true');
115
- };
116
- this.handleKeyNavigation = (event) => {
117
- var _a;
118
- const { code: keyCode } = event;
119
- if (!this.isOpen && keyCode === 'ArrowDown') {
120
- this.isOpen = true;
121
- this.activeIndex = 0;
122
- return;
123
- }
124
- if (keyCode === 'ArrowDown') {
125
- event.preventDefault();
126
- this.updateActiveIndex(1);
127
- }
128
- if (keyCode === 'ArrowUp') {
129
- event.preventDefault();
130
- this.updateActiveIndex(-1);
131
- }
132
- if (keyCode === 'Enter' || keyCode === 'Space') {
133
- (_a = this.options[this.activeIndex]) === null || _a === void 0 ? void 0 : _a.click();
134
- }
135
- if (keyCode === 'Escape') {
136
- this.isOpen = false;
137
- }
138
- };
139
- this.handleInputChange = (e) => {
140
- this.textInput = e.target.value;
141
- this.isOpen = this.textInput.length > 0;
142
- this.internals.setFormValue(this.textInput);
143
- };
144
- this.handleClick = (event) => {
145
- if (this.disabled)
146
- return event.preventDefault();
147
- const target = event.target;
148
- if (target.tagName === 'CURA-SELECT-OPTION')
149
- return this.onOptiselected(event);
150
- this.isOpen = !this.isOpen;
151
- };
152
- this.handleClickOutside = (event) => {
153
- const clickedOutside = !this.host.contains(event.target);
154
- if (clickedOutside) {
155
- this.isOpen = false;
156
- }
157
- };
158
- }
159
- updateOptionHighlights(newActiveINdex) {
160
- this.options.forEach((option, index) => (option.active = index === newActiveINdex));
161
- }
162
- /**
163
- * Filters the options based on the current input value.
164
- */
165
- filterOptions(newText) {
166
- this.searchTermInput.emit(newText);
167
- if (!this.isOpen || !this.searchBehavior) {
168
- return;
169
- }
170
- const removeAccents = (str) => {
171
- return str.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
172
- };
173
- let searchTerm = newText;
174
- if (!this.caseSensitive) {
175
- searchTerm = removeAccents(searchTerm).toLocaleLowerCase();
176
- }
177
- this.options.forEach(option => {
178
- let optionValue = option.textContent || '';
179
- if (!this.caseSensitive) {
180
- optionValue = removeAccents(optionValue === null || optionValue === void 0 ? void 0 : optionValue.toLowerCase());
181
- }
182
- const isVisible = optionValue.includes(searchTerm);
183
- option.style.display = isVisible ? 'block' : 'none';
184
- });
185
- }
186
- /**
187
- * Callback for form association.
188
- */
189
- formAssociatedCallback(form) {
190
- form.ariaLabel = this.label;
191
- }
192
- /**
193
- * Callback to restore the switch state from the form.
194
- */
195
- formStateRestoreCallback(state) {
196
- this.textInput = state.value;
197
- this.updateSelectedOption();
198
- }
199
- /**
200
- * Callback to reset the switch state when the form is reset.
201
- */
202
- formResetCallback() {
203
- this.textInput = '';
204
- this.clearSelectedAttributes();
205
- this.internals.setFormValue('');
206
- this.internals.setValidity({});
207
- }
208
- /**
209
- * Callback to update the switch's disabled state when the form's disabled state changes.
210
- */
211
- formDisabledCallback(disabled) {
212
- this.disabled = disabled;
213
- }
214
- /**
215
- * Lifecycle method called before the component is rendered.
216
- * Initializes the options for the select component.
217
- */
218
- componentWillLoad() {
219
- this.initializeOptions();
220
- }
221
- /**
222
- * Lifecycle method called after the component is rendered.
223
- * Initializes select-related functionality.
224
- */
225
- componentDidLoad() {
226
- // this.initializeOptions();
227
- this.setupMutationObserver();
228
- this.addOutsideClickListener();
229
- }
230
- /**
231
- * Lifecycle method called when the component is connected to the DOM.
232
- * Applies styles based on the theme.
233
- */
234
- connectedCallback() {
235
- this.applyStyles();
236
- }
237
- /**
238
- * Lifecycle method called when the component is disconnected from the DOM.
239
- * Disconnects the MutationObserver if it exists.
240
- */
241
- disconnectedCallback() {
242
- var _a;
243
- (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
244
- this.removeOutsideClickListener();
245
- }
246
- initializeOptions() {
247
- var _a;
248
- this.options = this.host.querySelectorAll('cura-select-option');
249
- this.options.forEach(option => {
250
- option.setAttribute('size', this.size);
251
- const isSelected = this.value === option.value;
252
- option.setAttribute('selected', JSON.stringify(isSelected));
253
- if (isSelected) {
254
- this.value = option.value;
255
- this.internals.setFormValue(option.value);
256
- }
257
- });
258
- this.textInput = ((_a = Array.from(this.options).find(option => option.value === this.value)) === null || _a === void 0 ? void 0 : _a.textContent) || this.textInput;
259
- }
260
- /**
261
- * Applies styles to the component based on the theme.
262
- */
263
- applyStyles() {
264
- const { fonts, colors } = this.theme;
265
- const fontWeights = fonts.getWeights();
266
- this.styles = Object.assign(Object.assign({}, this.styles), { '--font-weight-medium': fontWeights.medium, '--font-weight-bold': fontWeights.bold, '--font-weight-regular': fontWeights.regular, '--font-color': fonts.getColor(), '--font-family': fonts.getFamily(), '--font-size': fonts.getSize() });
267
- const colorKeys = [
268
- 'primary-base',
269
- 'neutral-purewhite',
270
- 'neutral-white',
271
- 'neutral-black',
272
- 'neutral-medium',
273
- 'neutral-light',
274
- 'neutral-base',
275
- 'neutral-dark',
276
- 'success-dark',
277
- 'success-darker',
278
- 'success-lighter',
279
- 'error-lighter',
280
- 'error-dark',
281
- 'error-darker',
282
- 'error-base',
283
- 'info-base',
284
- ];
285
- colorKeys.forEach(key => {
286
- this.styles[`--${key}`] = colors.getColor(key);
287
- });
288
- }
289
- /**
290
- * Sets up a MutationObserver to watch for changes in the component.
291
- */
292
- setupMutationObserver() {
293
- this.mutationObserver = new MutationObserver(this.handleMutations);
294
- this.mutationObserver.observe(this.host, { attributes: true, subtree: true, attributeFilter: ['selected', 'value'] });
295
- }
296
- handleValueChange(newValue) {
297
- this.clearSelectedAttributes();
298
- const selectedOption = this.host.querySelector(`cura-select-option[value="${newValue}"]`);
299
- if (!selectedOption) {
300
- return;
301
- }
302
- selectedOption.setAttribute('selected', 'true');
303
- }
304
- updateSelectedOption() {
305
- const selectedOptionElement = this.host.querySelector('cura-select-option[selected]');
306
- if (!selectedOptionElement) {
307
- return;
308
- }
309
- this.value = selectedOptionElement.value;
310
- this.internals.setFormValue(this.value);
311
- if (this.textInput !== selectedOptionElement.textContent) {
312
- this.textInput = selectedOptionElement.textContent;
313
- this.isOpen = false;
314
- this.selected.emit(selectedOptionElement.value);
315
- }
316
- }
317
- /**
318
- * Clears the 'selected' attribute from all options.
319
- */
320
- clearSelectedAttributes() {
321
- this.options.forEach(option => option.removeAttribute('selected'));
322
- }
323
- updateActiveIndex(direction) {
324
- if (this.options.length === 0)
325
- return;
326
- this.activeIndex = (this.activeIndex + direction + this.options.length) % this.options.length;
327
- }
328
- getClasses() {
329
- return {
330
- wrapper: true,
331
- label: !!this.label,
332
- disabled: this.disabled,
333
- transparent: this.mode === 'transparent',
334
- [this.size.toLowerCase()]: true,
335
- [this.status.toLowerCase()]: true,
336
- };
337
- }
338
- /**
339
- * Determines the color based on the item type and component state.
340
- */
341
- getColor(item) {
342
- if (this.disabled)
343
- return 'neutral-medium';
344
- const isStatusDefault = this.status === 'default';
345
- const isHoveredOrFocused = this.isFocused || this.isHovered;
346
- if (item === 'label') {
347
- if (!isStatusDefault || isHoveredOrFocused)
348
- return 'neutral-black';
349
- return 'neutral-dark';
350
- }
351
- if (isHoveredOrFocused && isStatusDefault)
352
- return 'neutral-black';
353
- if (this.status === 'success')
354
- return 'success-dark';
355
- if (this.status === 'error')
356
- return 'error-dark';
357
- return 'neutral-dark';
358
- }
359
- /**
360
- * Renders the icon based on the component's status.
361
- */
362
- renderIcon() {
363
- if (this.status === 'default' && !this.iconName)
364
- return null;
365
- const icon = { default: this.iconName, success: 'checkCircle', error: 'alertCircle' }[this.status];
366
- return h("cura-icon", { class: "feedback-icon", name: icon, iconset: "default", size: this.size === 'large' ? 20 : 16, color: this.getColor('icon'), style: this.styles });
367
- }
368
- addOutsideClickListener() {
369
- document.addEventListener('click', this.handleClickOutside);
370
- }
371
- removeOutsideClickListener() {
372
- document.removeEventListener('click', this.handleClickOutside);
373
- }
374
- render() {
375
- return (h(Host, { key: '3aeecef0bff82a4b14c4dee8b222fdf6eb33b2f8', 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: '00dd10ed04cd3bf0e848d9facc44db794e3580cf', class: this.getClasses(), onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), onClick: this.handleClick }, this.label && (h("cura-label", { key: 'd0c7293af9ba728293f2b531c2cc0354ba6f9fa0', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getColor('label') }, this.label, " ", this.required && h("span", { key: '2d1e87303eab87280dc8668e390bd5aa696814d9', class: "required" }, "* "))), h("div", { key: 'd0e8464016796145e088f459532a37dfb1852f96', class: {
376
- 'cura-input-field': true,
377
- 'open': this.isOpen,
378
- } }, this.renderIcon(), h("input", { key: '8110997e13827855169e58bfee9695a60bf4dbfa', 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: '7b9b18aebd379b004c08f4bcdb4c72357f29c56c', class: "up-down-button" }, h("cura-icon", { key: '4e1fac2b43502e38db450e319e2283b97ed22fd7', name: this.isOpen ? 'up' : 'down', class: "up-down-icon", color: this.disabled ? 'neutral-dark' : 'primary-base', size: 16, iconset: "default" }))), h("cura-label", { key: '8e89021a023d6ff69a2adb2fe1b9052d1d813d06', class: "helper-text", size: "xsmall", color: this.getColor('text'), weight: this.mode === 'transparent' ? 'bold' : 'regular' }, h("slot", { key: 'a253ffc9f1f1ee84c9dcbc81dc3a650c5105c11e' })), this.isOpen && (h("div", { key: '938f552bebac510a7345c8e7b46d2ef911c19e12', class: {
379
- menu: true,
380
- open: this.isOpen,
381
- }, style: { '--max-height': this.maxHeight } }, h("slot", { key: '2d54c15bb8df7dfe33fac77cee7778c450946cf7', name: "option" }))))));
382
- }
383
- static get formAssociated() { return true; }
384
- get host() { return this; }
385
- static get watchers() { return {
386
- "activeIndex": ["updateOptionHighlights"],
387
- "textInput": ["filterOptions"],
388
- "value": ["handleValueChange"]
389
- }; }
390
- static get style() { return curaSelectCss; }
391
- }, [65, "cura-select", {
392
- "label": [513],
393
- "placeholder": [513],
394
- "value": [1537],
395
- "mode": [513],
396
- "size": [513],
397
- "iconName": [1, "icon-name"],
398
- "status": [1537],
399
- "disabled": [516],
400
- "required": [516],
401
- "searchBehavior": [516, "search-behavior"],
402
- "caseSensitive": [516, "case-sensitive"],
403
- "maxHeight": [513, "max-height"],
404
- "isHovered": [32],
405
- "isFocused": [32],
406
- "isOpen": [32],
407
- "options": [32],
408
- "activeIndex": [32],
409
- "textInput": [32]
410
- }, undefined, {
411
- "activeIndex": ["updateOptionHighlights"],
412
- "textInput": ["filterOptions"],
413
- "value": ["handleValueChange"]
414
- }]);
415
- function defineCustomElement() {
416
- if (typeof customElements === "undefined") {
417
- return;
418
- }
419
- const components = ["cura-select", "cura-icon", "cura-label"];
420
- components.forEach(tagName => { switch (tagName) {
421
- case "cura-select":
422
- if (!customElements.get(tagName)) {
423
- customElements.define(tagName, CuraSelect);
424
- }
425
- break;
426
- case "cura-icon":
427
- if (!customElements.get(tagName)) {
428
- defineCustomElement$2();
429
- }
430
- break;
431
- case "cura-label":
432
- if (!customElements.get(tagName)) {
433
- defineCustomElement$1();
434
- }
435
- break;
436
- } });
437
- }
438
-
439
- export { CuraSelect as C, defineCustomElement as d };
440
- //# sourceMappingURL=p-BTt-pVTn.js.map
441
-
442
- //# sourceMappingURL=p-BTt-pVTn.js.map