@rededor/cura 0.5.1 → 0.5.2

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 (174) hide show
  1. package/dist/cjs/{app-globals-0e3b7fc6.js → app-globals-2988084b.js} +5 -5
  2. package/dist/cjs/app-globals-2988084b.js.map +1 -0
  3. package/dist/cjs/cura-accordion_8.cjs.entry.js +452 -0
  4. package/dist/cjs/cura-accordion_8.cjs.entry.js.map +1 -0
  5. package/dist/cjs/cura-button-outline.cjs.entry.js +83 -0
  6. package/dist/cjs/cura-button-outline.cjs.entry.js.map +1 -0
  7. package/dist/cjs/cura-button-transparent.cjs.entry.js +83 -0
  8. package/dist/cjs/cura-button-transparent.cjs.entry.js.map +1 -0
  9. package/dist/cjs/cura-display.cjs.entry.js +74 -0
  10. package/dist/cjs/cura-display.cjs.entry.js.map +1 -0
  11. package/dist/cjs/cura-icons-view.cjs.entry.js +29 -0
  12. package/dist/cjs/cura-icons-view.cjs.entry.js.map +1 -0
  13. package/dist/cjs/cura-label.cjs.entry.js +69 -0
  14. package/dist/cjs/cura-label.cjs.entry.js.map +1 -0
  15. package/dist/cjs/cura.cjs.js +2 -2
  16. package/dist/cjs/index.cjs.js +7 -0
  17. package/dist/cjs/index.cjs.js.map +1 -1
  18. package/dist/cjs/loader.cjs.js +2 -2
  19. package/dist/collection/api/cura-api.type.js.map +1 -1
  20. package/dist/collection/api/modules/cura-theme-breakpoints-module.js +1 -1
  21. package/dist/collection/api/modules/cura-theme-breakpoints-module.js.map +1 -1
  22. package/dist/collection/api/modules/cura-theme-colors-module.js +1 -1
  23. package/dist/collection/api/modules/cura-theme-colors-module.js.map +1 -1
  24. package/dist/collection/api/theme-presets/static.js +2 -2
  25. package/dist/collection/api/theme-presets/static.js.map +1 -1
  26. package/dist/collection/collection-manifest.json +1 -0
  27. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.css +10 -6
  28. package/dist/collection/components/cura-page-template/cura-page-template.css +13 -9
  29. package/dist/collection/components/forms/cura-label/cura-label.css +70 -0
  30. package/dist/collection/components/forms/cura-label/cura-label.js +190 -0
  31. package/dist/collection/components/forms/cura-label/cura-label.js.map +1 -0
  32. package/dist/collection/components/forms/cura-label/cura-label.stories.js +137 -0
  33. package/dist/collection/components/forms/cura-label/cura-label.stories.js.map +1 -0
  34. package/dist/collection/components/text/cura-display/cura-display.css +21 -38
  35. package/dist/collection/components/text/cura-display/cura-display.js +80 -49
  36. package/dist/collection/components/text/cura-display/cura-display.js.map +1 -1
  37. package/dist/collection/components/text/cura-display/cura-display.stories.js +78 -33
  38. package/dist/collection/components/text/cura-display/cura-display.stories.js.map +1 -1
  39. package/dist/collection/components/text/cura-heading/cura-heading.css +50 -24
  40. package/dist/collection/components/text/cura-heading/cura-heading.js +94 -39
  41. package/dist/collection/components/text/cura-heading/cura-heading.js.map +1 -1
  42. package/dist/collection/components/text/cura-heading/cura-heading.stories.js +92 -36
  43. package/dist/collection/components/text/cura-heading/cura-heading.stories.js.map +1 -1
  44. package/dist/collection/components/text/cura-paragraph/cura-paragraph.css +37 -38
  45. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +62 -41
  46. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +1 -1
  47. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js +78 -46
  48. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js.map +1 -1
  49. package/dist/collection/index.js +3 -1
  50. package/dist/collection/index.js.map +1 -1
  51. package/dist/components/cura-accordion-item.js +1 -1
  52. package/dist/components/cura-accordion-item.js.map +1 -1
  53. package/dist/components/cura-display.js +41 -35
  54. package/dist/components/cura-display.js.map +1 -1
  55. package/dist/components/cura-heading.js +34 -21
  56. package/dist/components/cura-heading.js.map +1 -1
  57. package/dist/components/cura-label.d.ts +11 -0
  58. package/dist/components/cura-label.js +91 -0
  59. package/dist/components/cura-label.js.map +1 -0
  60. package/dist/components/cura-page-template.js +1 -1
  61. package/dist/components/cura-page-template.js.map +1 -1
  62. package/dist/components/cura-paragraph.js +25 -23
  63. package/dist/components/cura-paragraph.js.map +1 -1
  64. package/dist/components/index.js +11 -5
  65. package/dist/components/index.js.map +1 -1
  66. package/dist/cura/cura.esm.js +1 -1
  67. package/dist/cura/cura.esm.js.map +1 -1
  68. package/dist/cura/cura.js +1 -1
  69. package/dist/cura/index.esm.js +1 -1
  70. package/dist/cura/index.esm.js.map +1 -1
  71. package/dist/cura/p-03047b3e.entry.js +2 -0
  72. package/dist/cura/p-03047b3e.entry.js.map +1 -0
  73. package/dist/cura/p-0c79c54e.entry.js +2 -0
  74. package/dist/cura/p-0c79c54e.entry.js.map +1 -0
  75. package/dist/cura/p-120926c5.system.js +2 -0
  76. package/dist/cura/p-120926c5.system.js.map +1 -0
  77. package/dist/cura/p-223924fb.system.entry.js +2 -0
  78. package/dist/cura/p-223924fb.system.entry.js.map +1 -0
  79. package/dist/cura/p-48426f60.system.js +2 -0
  80. package/dist/cura/p-48426f60.system.js.map +1 -0
  81. package/dist/cura/p-49813052.entry.js +2 -0
  82. package/dist/cura/p-49813052.entry.js.map +1 -0
  83. package/dist/cura/p-4bdbcdf0.system.entry.js +2 -0
  84. package/dist/cura/p-4bdbcdf0.system.entry.js.map +1 -0
  85. package/dist/cura/p-7c8f3c77.system.entry.js +2 -0
  86. package/dist/cura/p-7c8f3c77.system.entry.js.map +1 -0
  87. package/dist/cura/p-8b18b5f7.system.js +2 -0
  88. package/dist/cura/p-8b18b5f7.system.js.map +1 -0
  89. package/dist/cura/p-91b0f78e.entry.js +2 -0
  90. package/dist/cura/p-91b0f78e.entry.js.map +1 -0
  91. package/dist/cura/p-a0395f90.entry.js +2 -0
  92. package/dist/cura/p-a0395f90.entry.js.map +1 -0
  93. package/dist/cura/p-a7ef255f.entry.js +2 -0
  94. package/dist/cura/p-a7ef255f.entry.js.map +1 -0
  95. package/dist/cura/p-ca054b07.system.entry.js +2 -0
  96. package/dist/cura/p-ca054b07.system.entry.js.map +1 -0
  97. package/dist/cura/p-d47b9cfe.system.entry.js +2 -0
  98. package/dist/cura/p-d47b9cfe.system.entry.js.map +1 -0
  99. package/dist/cura/p-f8fffdc1.js +2 -0
  100. package/dist/cura/p-f8fffdc1.js.map +1 -0
  101. package/dist/cura/p-fc77814b.system.entry.js +2 -0
  102. package/dist/cura/p-fc77814b.system.entry.js.map +1 -0
  103. package/dist/esm/{app-globals-cc003eaf.js → app-globals-29001758.js} +5 -5
  104. package/dist/esm/app-globals-29001758.js.map +1 -0
  105. package/dist/esm/cura-accordion_8.entry.js +441 -0
  106. package/dist/esm/cura-accordion_8.entry.js.map +1 -0
  107. package/dist/esm/cura-button-outline.entry.js +79 -0
  108. package/dist/esm/cura-button-outline.entry.js.map +1 -0
  109. package/dist/esm/cura-button-transparent.entry.js +79 -0
  110. package/dist/esm/cura-button-transparent.entry.js.map +1 -0
  111. package/dist/esm/cura-display.entry.js +70 -0
  112. package/dist/esm/cura-display.entry.js.map +1 -0
  113. package/dist/esm/cura-icons-view.entry.js +25 -0
  114. package/dist/esm/cura-icons-view.entry.js.map +1 -0
  115. package/dist/esm/cura-label.entry.js +65 -0
  116. package/dist/esm/cura-label.entry.js.map +1 -0
  117. package/dist/esm/cura.js +2 -2
  118. package/dist/esm/index.js +4 -0
  119. package/dist/esm/index.js.map +1 -1
  120. package/dist/esm/loader.js +2 -2
  121. package/dist/esm-es5/app-globals-29001758.js +2 -0
  122. package/dist/esm-es5/app-globals-29001758.js.map +1 -0
  123. package/dist/esm-es5/cura-accordion_8.entry.js +2 -0
  124. package/dist/esm-es5/cura-accordion_8.entry.js.map +1 -0
  125. package/dist/esm-es5/cura-button-outline.entry.js +2 -0
  126. package/dist/esm-es5/cura-button-outline.entry.js.map +1 -0
  127. package/dist/esm-es5/cura-button-transparent.entry.js +2 -0
  128. package/dist/esm-es5/cura-button-transparent.entry.js.map +1 -0
  129. package/dist/esm-es5/cura-display.entry.js +2 -0
  130. package/dist/esm-es5/cura-display.entry.js.map +1 -0
  131. package/dist/esm-es5/cura-icons-view.entry.js +2 -0
  132. package/dist/esm-es5/cura-icons-view.entry.js.map +1 -0
  133. package/dist/esm-es5/cura-label.entry.js +2 -0
  134. package/dist/esm-es5/cura-label.entry.js.map +1 -0
  135. package/dist/esm-es5/cura.js +1 -1
  136. package/dist/esm-es5/cura.js.map +1 -1
  137. package/dist/esm-es5/index.js +1 -1
  138. package/dist/esm-es5/index.js.map +1 -1
  139. package/dist/esm-es5/loader.js +1 -1
  140. package/dist/esm-es5/loader.js.map +1 -1
  141. package/dist/types/api/cura-api.type.d.ts +1 -0
  142. package/dist/types/components/forms/cura-label/cura-label.d.ts +54 -0
  143. package/dist/types/components/forms/cura-label/cura-label.stories.d.ts +126 -0
  144. package/dist/types/components/text/cura-display/cura-display.d.ts +29 -18
  145. package/dist/types/components/text/cura-display/cura-display.stories.d.ts +52 -14
  146. package/dist/types/components/text/cura-heading/cura-heading.d.ts +34 -17
  147. package/dist/types/components/text/cura-heading/cura-heading.stories.d.ts +58 -6
  148. package/dist/types/components/text/cura-paragraph/cura-paragraph.d.ts +24 -12
  149. package/dist/types/components/text/cura-paragraph/cura-paragraph.stories.d.ts +47 -9
  150. package/dist/types/components.d.ts +139 -46
  151. package/dist/types/index.d.ts +9 -0
  152. package/package.json +2 -4
  153. package/dist/cjs/app-globals-0e3b7fc6.js.map +0 -1
  154. package/dist/cjs/cura-accordion_12.cjs.entry.js +0 -674
  155. package/dist/cjs/cura-accordion_12.cjs.entry.js.map +0 -1
  156. package/dist/cura/p-319699df.entry.js +0 -2
  157. package/dist/cura/p-319699df.entry.js.map +0 -1
  158. package/dist/cura/p-50ea2036.system.js +0 -2
  159. package/dist/cura/p-50ea2036.system.js.map +0 -1
  160. package/dist/cura/p-5250cb43.system.js +0 -2
  161. package/dist/cura/p-5250cb43.system.js.map +0 -1
  162. package/dist/cura/p-5cc3c8bd.system.entry.js +0 -2
  163. package/dist/cura/p-5cc3c8bd.system.entry.js.map +0 -1
  164. package/dist/cura/p-788e035b.system.js +0 -2
  165. package/dist/cura/p-788e035b.system.js.map +0 -1
  166. package/dist/cura/p-d5c64a5f.js +0 -2
  167. package/dist/cura/p-d5c64a5f.js.map +0 -1
  168. package/dist/esm/app-globals-cc003eaf.js.map +0 -1
  169. package/dist/esm/cura-accordion_12.entry.js +0 -659
  170. package/dist/esm/cura-accordion_12.entry.js.map +0 -1
  171. package/dist/esm-es5/app-globals-cc003eaf.js +0 -2
  172. package/dist/esm-es5/app-globals-cc003eaf.js.map +0 -1
  173. package/dist/esm-es5/cura-accordion_12.entry.js +0 -2
  174. package/dist/esm-es5/cura-accordion_12.entry.js.map +0 -1
@@ -244,10 +244,10 @@ const Static = {
244
244
  },
245
245
  large: {
246
246
  min: 993,
247
- max: 1919
247
+ max: 1920
248
248
  },
249
249
  xlarge: {
250
- min: 1920,
250
+ min: 1921,
251
251
  max: 4096
252
252
  }
253
253
  }
@@ -282,7 +282,7 @@ class CuraThemeColorsModule {
282
282
  */
283
283
  getColor(colorWithDepth = "primary-base", opacity = 1) {
284
284
  const { color, depth } = this.splitColorDepth(colorWithDepth);
285
- const staticColor = this.getStatic(color, depth);
285
+ const staticColor = this.getStatic(color, depth, opacity);
286
286
  if (staticColor)
287
287
  return staticColor;
288
288
  return this.getDynamic(color, depth, opacity);
@@ -382,7 +382,7 @@ class CuraThemeBreakpointsModule {
382
382
  get(size = null, position = null) {
383
383
  if (size) {
384
384
  const breakpoint = position ? Static.breakpoints[size][position] : Static.breakpoints[size];
385
- if (breakpoint)
385
+ if (breakpoint || breakpoint === 0)
386
386
  return breakpoint;
387
387
  }
388
388
  return Static.breakpoints;
@@ -508,4 +508,4 @@ const globalScripts = appGlobalScript;
508
508
 
509
509
  exports.globalScripts = globalScripts;
510
510
 
511
- //# sourceMappingURL=app-globals-0e3b7fc6.js.map
511
+ //# sourceMappingURL=app-globals-2988084b.js.map
@@ -0,0 +1 @@
1
+ {"file":"app-globals-2988084b.js","mappings":";;AAAA;;;AAGO,MAAM,Y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/theme-oncology.ts","./src/api/theme-presets/theme-legacy-default.ts","./src/api/theme-presets/theme-presets.ts","./src/api/theme-presets/static.ts","./src/api/modules/cura-theme-colors-module.ts","./src/api/modules/cura-theme-spacing-module.ts","./src/api/modules/cura-theme-fonts-module.ts","./src/api/modules/cura-theme-breakpoints-module.ts","./src/api/modules/cura-theme-module.ts","./src/api/cura-api.ts","./src/rededor-cura-start.ts","@stencil/core/internal/app-globals"],"sourcesContent":["/**\n * Cura Default Theme\n */\nexport const ThemeDefault = {\n /* Colors */\n color: {\n primary: {\n '100': '113,197,232',\n '300': '68,142,205',\n '500': '0,61,165',\n '700': '0,48,117',\n '900': '0,40,85'\n },\n secondary: {\n '100': '245,236,227',\n '300': '221,192,162',\n '500': '204,160,116',\n '700': '136,107,77',\n '900': '41,32,23'\n },\n accent: {\n '100': '255,194,123',\n '300': '255,168,74',\n '500': '255,130,0',\n '700': '215,114,10',\n '900': '155,90,26'\n }\n },\n /* Spacing */\n spacing: {\n base: 4,\n },\n /* Fonts */\n font: {\n size: '14px',\n color: '#4A4A4A',\n body: \"'Roboto', Arial, Helvetica, sans-serif\",\n heading: \"'Roboto', Arial, Helvetica, sans-serif\",\n display: \"'Roboto', Arial, Helvetica, sans-serif\",\n weights: {\n thin: 100,\n light: 300,\n regular: 400,\n medium: 500,\n bold: 700,\n black: 900\n },\n }\n};\n","/**\n * Maternity Theme\n */\nimport { ThemeDefault } from \"./theme-default\";\n\nexport const ThemeMaternity = {\n /* Get default theme */\n ...ThemeDefault,\n\n /* Custom */\n /* Colors */\n color: {\n primary: {\n '100': '248,227,226',\n '300': '255,179,171',\n '500': '218,113,111',\n '700': '145,75,74',\n '900': '73,38,37'\n },\n secondary: {\n '100': '253,251,249',\n '300': '247,244,238',\n '500': '245,236,227',\n '700': '204,197,189',\n '900': '163,157,151'\n },\n accent: {\n '100': '236,239,249',\n '300': '133,153,203',\n '500': '11,20,151',\n '700': '7,13,101',\n '900': '4,7,50'\n }\n },\n font: {\n size: '14px',\n color: '#4A4A4A',\n body: \"'Gotham', Arial, Helvetica, sans-serif\",\n heading: \"'Gotham', Arial, Helvetica, sans-serif\",\n display: \"'Gotham', Arial, Helvetica, sans-serif\",\n weights: {\n thin: 325,\n light: 325,\n regular: 325,\n medium: 350,\n bold: 400,\n black: 425\n },\n }\n};\n","/**\n * Oncology Theme\n */\nimport { ThemeDefault } from \"./theme-default\";\n\nexport const ThemeOncology = {\n /* Get default theme */\n ...ThemeDefault,\n\n /* Custom */\n /* Colors */\n color: {\n primary: {\n '100': '170,190,225',\n '300': '85,126,196',\n '500': '0,61,166',\n '700': '0,41,111',\n '900': '0,12,33'\n },\n secondary: {\n '100': '205,215,227',\n '300': '155,175,199',\n '500': '104,134,171',\n '700': '54,95,143',\n '900': '4,54,115',\n },\n accent: {\n '100': '153,207,255',\n '300': '71,169,255',\n '500': '0,131,245',\n '700': '0,109,204',\n '900': '0,88,164',\n },\n aux: {\n '100': '218,242,239',\n '300': '132,212,202',\n '500': '71,191,176',\n '700': '33,100,92',\n '900': '14,38,35',\n },\n },\n font: {\n size: '14px',\n color: '#4A4A4A',\n body: \"'Hanken Grotesk', Arial, Helvetica, sans-serif\",\n heading: \"'Hanken Grotesk', Arial, Helvetica, sans-serif\",\n display: \"'Hanken Grotesk', Arial, Helvetica, sans-serif\",\n weights: {\n thin: 100,\n light: 300,\n regular: 400,\n medium: 500,\n bold: 700,\n black: 900\n },\n }\n};\n","/**\n * Legacy Default Theme\n */\nimport { ThemeDefault } from \"./theme-default\";\n\nexport const ThemeLegacyDefault = {\n /* Get default theme */\n ...ThemeDefault,\n\n /* Custom */\n /* Colors */\n color: {\n primary: {\n '100': '204,217,231',\n '300': '85,128,174',\n '500': '0,65,134',\n '700': '0,43,89',\n '900': '0,13,27'\n },\n secondary: {\n '100': '238,232,206',\n '300': '198,180,92',\n '500': '170,142,11',\n '700': '113,95,7',\n '900': '34,28,2'\n },\n accent: {\n '100': '249,232,213',\n '300': '228,160,79',\n '500': '223,141,44',\n '700': '149,94,29',\n '900': '45,28,9'\n }\n }\n};\n","import { ThemeDefault } from './theme-default';\nimport { ThemeMaternity } from './theme-maternity';\nimport { ThemeOncology } from './theme-oncology';\nimport { ThemeLegacyDefault } from './theme-legacy-default';\n\nexport const ThemePresets = {\n 'default': ThemeDefault,\n 'maternidade': ThemeMaternity,\n 'oncologia': ThemeOncology,\n 'legacyDefault': ThemeLegacyDefault\n};\n","/**\n * Static\n */\nexport const Static = {\n /* Colors */\n color: {\n success: {\n '100': '223,246,233',\n '300': '148,225,181',\n '500': '95,210,144',\n '700': '49,115,77',\n '900': '19,42,29',\n },\n info: {\n '100': '207,226,255',\n '300': '149,191,255',\n '500': '110,168,255',\n '700': '66,100,153',\n '900': '37,56,85',\n },\n error: {\n '100': '251,221,221',\n '300': '242,143,143',\n '500': '235,87,87',\n '700': '157,58,58',\n '900': '47,17,17',\n },\n warning: {\n '100': '252,250,196',\n '300': '248,244,137',\n '500': '245,239,78',\n '700': '108,106,32',\n '900': '49,48,16',\n },\n neutral: {\n '0': '255,255,255',\n '100': '246,246,246',\n '200': '233,233,233',\n '300': '226,226,226',\n '400': '212,212,212',\n '500': '183,183,183',\n '600': '146,146,146',\n '700': '110,110,110',\n '800': '74,74,74',\n '900': '38,38,38',\n },\n },\n breakpoints: {\n xsmall: {\n min: 0,\n max: 480\n },\n small: {\n min: 481,\n max: 768\n },\n medium: {\n min: 769,\n max: 992\n },\n large: {\n min: 993,\n max: 1920\n },\n xlarge: {\n min: 1921,\n max: 4096\n }\n }\n};\n","import { Static } from \"../theme-presets/static\";\n\nexport default class CuraThemeColorsModule {\n\n NeutralDepthAlias = {\n 'purewhite': '0',\n 'white': '100',\n 'pale': '200',\n 'lighter': '300',\n 'light': '400',\n 'base': '500',\n 'medium': '600',\n 'dark': '700',\n 'darker': '800',\n 'black': '900',\n };\n\n ColorDepthAlias = {\n 'lighter': '100',\n 'light': '300',\n 'base': '500',\n 'dark': '700',\n 'darker': '900'\n }\n\n constructor() {}\n\n /**\n * Get theme color.\n * @param colorWithDepth string Ex.: primary-light\n * @returns RGBA value.\n */\n getColor(colorWithDepth: string = \"primary-base\", opacity = 1): string {\n const { color, depth } = this.splitColorDepth(colorWithDepth);\n const staticColor = this.getStatic(color, depth, opacity);\n if (staticColor) return staticColor;\n return this.getDynamic(color, depth, opacity);\n }\n\n /**\n * Internal: Look for static color by name and depth.\n * @param color Color name.\n * @param depth Depth number or alias.\n * @returns RGBA value.\n */\n getStatic(color: string, depth: string, opacity = 1) {\n const colorObj = Static.color[color];\n if (!colorObj) return null;\n const alias = color === 'neutral' ? this.NeutralDepthAlias[depth] : this.ColorDepthAlias[depth];\n return Static.color[color]?.[alias]\n ? `rgba(${Static.color[color]?.[alias]}, ${opacity})`\n : `rgba(${Static.color[color]?.[depth]}, ${opacity})`;\n }\n\n /**\n * Internal: Look for theme dynamic colors.\n * @param color Color name.\n * @param depth Color depth.\n * @returns RGBA value.\n */\n getDynamic(color: string, depth: string, opacity: number) {\n const themeVar = this.ColorDepthAlias[depth]\n ? `--cura-color-${color}-${this.ColorDepthAlias[depth]}`\n : `--cura-color-${color}-${depth}`;\n return getComputedStyle(document.documentElement).getPropertyValue(themeVar)\n ? `rgba(var(${themeVar}), ${opacity})`\n : `rgba(var(--cura-color-primary-500), ${opacity})`;\n }\n\n /**\n * Internal: Split color strings\n * @param colorWithDepth Color string [color]-[depth]. Ex.: primary-dark.\n * @returns Object { color: string, depth: string }.\n */\n private splitColorDepth(colorWithDepth: string): { color: string, depth: string } {\n const [ color, depth ] = colorWithDepth.toLowerCase().split(/-(.*)/);\n return { color: color ?? \"primary\", depth: depth ?? \"base\" };\n }\n\n}\n","export default class CuraThemeSpacingModule {\n\n private curaSpacing = '--cura-spacing-base';\n\n constructor() {}\n\n /** Returns the base spacing var defined in the theme */\n getSpacing(): string {\n if (getComputedStyle(document.body).getPropertyValue(this.curaSpacing)) {\n return `var(${this.curaSpacing})`;\n }\n return '4';\n }\n}\n","import { ThemeDefault } from \"../theme-presets/theme-default\";\n\nexport default class CuraThemeFontsModule {\n\n constructor() {}\n\n /**\n * Get the CSS variable related to the font family defined by the theme.\n * @param type 'body' | 'heading' | 'display'\n * @returns Related css variable as a string.\n */\n getFamily(type: string = \"body\"): string {\n const curaFontFamilyCSSVar = `--cura-font-${type.toLowerCase()}`;\n return getComputedStyle(document.body).getPropertyValue(curaFontFamilyCSSVar)\n ? `var(${curaFontFamilyCSSVar})`\n : 'var(--cura-font-body)';\n }\n\n /**\n * Get the CSS variables related to font weights defined by the theme.\n * @returns Object with CSS vars weights definitions for thin, light, regular, medium, bold and black fonts.\n */\n getWeights(): any {\n const weights = {};\n Object.keys(ThemeDefault.font.weights).forEach((key) => weights[key] = `var(--cura-font-weights-${key})`);\n return weights;\n }\n\n /**\n * Get the CSS variable related to the font size base defined by the theme.\n * @returns Related CSS variable as a string.\n */\n getSize = () => `var(--cura-font-size)`;\n\n /**\n * Get CSS variable related to the font color defined by the theme.\n * @returns Related CSS variable as a string.\n */\n getColor = () => `var(--cura-font-color)`;\n\n}\n","import { Static } from '../theme-presets/static';\n\nexport default class CuraThemeBreakpointsModule {\n\n constructor() {}\n\n /** Returns the base spacing var defined in the theme */\n get(size: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' = null, position: 'min' | 'max' = null): any {\n if (size) {\n const breakpoint = position ? Static.breakpoints[size][position] : Static.breakpoints[size];\n if (breakpoint || breakpoint === 0) return breakpoint;\n }\n return Static.breakpoints;\n }\n}\n","import { ThemePresets } from \"../theme-presets/theme-presets\";\nimport { CuraCustomTheme } from \"../cura-api.type\";\nimport CuraThemeColorsModule from \"./cura-theme-colors-module\";\nimport CuraThemeSpacingModule from \"./cura-theme-spacing-module\";\nimport CuraThemeFontsModule from \"./cura-theme-fonts-module\";\nimport CuraThemeBreakpointsModule from \"./cura-theme-breakpoints-module\";\n\nexport default class CuraThemeModule {\n\n rootElement: HTMLElement;\n prefix = '--cura';\n colors = new CuraThemeColorsModule();\n spacing = new CuraThemeSpacingModule();\n fonts = new CuraThemeFontsModule();\n breakpoints = new CuraThemeBreakpointsModule();\n\n constructor() {\n this.rootElement = window.document.documentElement;\n }\n\n /**\n * Load a theme.\n * @param theme Theme tag.\n */\n load(theme = 'default') {\n const preset = ThemePresets[theme] ? ThemePresets[theme] : ThemePresets.default;\n this.buildCssVars(this.prefix, preset);\n }\n\n /**\n * Define a custom theme\n * @param customTheme Custom theme object definition\n */\n setCustom(customTheme: CuraCustomTheme) {\n const customTag = customTheme.name;\n if (customTag in ThemePresets) {\n console.log('Error building custom theme. Theme %s already exists. Loading default theme.', customTag);\n this.load('default');\n } else {\n const preset = customTheme.fromPreset && customTheme.fromPreset in ThemePresets\n ? ThemePresets[customTheme.fromPreset]\n : ThemePresets.default;\n const newTheme = {...JSON.parse(JSON.stringify(preset))};\n this.mergeObject(customTheme.definitions, newTheme);\n ThemePresets[customTag] = newTheme;\n this.load(customTag);\n }\n }\n\n /* Private */\n\n /** Set css var based on object structure */\n setCssVar = (prop, path) => {\n const varName = this.groupPath(path, prop[0]);\n this.rootElement.style.setProperty(varName, prop[1]);\n }\n\n groupPath = (a, b) => `${a}-${b}`;\n\n isObject = (val) => {\n return val && typeof val === 'object' && !Array.isArray(val);\n }\n\n /** Deep merge objects */\n mergeObject = (from, to) => {\n const entries = Object.entries(from);\n for (let e of entries) {\n if (this.isObject(e[1])) {\n this.mergeObject(e[1], to[e[0]]);\n } else {\n to[e[0]] = e[1];\n }\n }\n }\n\n /** Set css vars from preset object */\n buildCssVars = (path, obj) => {\n const entries = Object.entries(obj);\n for (let e of entries) {\n if (this.isObject(e[1])) {\n this.buildCssVars(this.groupPath(path, e[0]), e[1]);\n } else {\n this.setCssVar(e, path);\n }\n }\n }\n}\n","import { CuraConfig, APIThemeFunctions, CuraCustomTheme } from './cura-api.type';\nimport CuraThemeModule from './modules/cura-theme-module';\n\nexport default class CuraAPI {\n\n theme: APIThemeFunctions;\n localAssetsPath: string;\n\n constructor (config?: CuraConfig) {\n this.localAssetsPath = config && config.localAssetsPath ? config.localAssetsPath : `/assets`;\n const themeModule = new CuraThemeModule();\n this.theme = {\n load: function(themeTag: string) { themeModule.load(themeTag); },\n setCustom: function(customThemeDefinitions: CuraCustomTheme) { themeModule.setCustom(customThemeDefinitions); },\n colors: {\n getColor: function(colorWithDepth?: string, opacity?: number) { return themeModule.colors.getColor(colorWithDepth, opacity) },\n },\n fonts: {\n getFamily: function(type?: string) { return themeModule.fonts.getFamily(type) },\n getWeights: function() { return themeModule.fonts.getWeights() },\n getSize: function() { return themeModule.fonts.getSize() },\n getColor: function() { return themeModule.fonts.getColor() }\n },\n spacing: {\n getSpacing: function() { return themeModule.spacing.getSpacing(); },\n },\n breakpoints: {\n get: function(size?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge', position?: 'min' | 'max') { return themeModule.breakpoints.get(size, position); }\n }\n };\n if (config && config.customTheme) {\n this.theme.setCustom(config.customTheme);\n } else {\n const theme = config && config.theme ? config.theme : 'default';\n this.theme.load(theme);\n }\n }\n\n}\n","import CuraAPI from './api/cura-api';\nimport { CuraConfig } from './api/cura-api.type';\n// import { setAssetPath } from '@stencil/core';\n\n// setAssetPath(import.meta.url);\ndeclare global {\n interface Window {\n CuraAPI?: CuraAPI,\n CuraInit?: CuraConfig\n }\n}\n\nexport default function() {\n const config = window.CuraInit;\n window.CuraAPI = config ? new CuraAPI(config) : new CuraAPI();\n const api = window.CuraAPI;\n window.dispatchEvent(new CustomEvent(\"CuraAPIReady\", { detail: {api} }));\n if (config && typeof config.onReady === 'function') config.onReady(api);\n}\n","import appGlobalScript from '/Users/fellipesoares/Code/cura/packages/component-lib/src/rededor-cura-start.ts';\nexport const globalScripts = appGlobalScript;\n"],"version":3}
@@ -0,0 +1,452 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-404d93e9.js');
6
+
7
+ const curaAccordionCss = ":host{display:block;color:var(--font-color);font-size:var(--font-size);font-size:var(--font-size);font-family:var(--font-family);font-weight:var(--font-weight-regular)}:host::after{content:\"\";display:block;border-bottom:solid 1px var(--neutral-base);width:100%}";
8
+
9
+ const CuraAccordion = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.mutationObserverCallback = (mutations, _) => {
13
+ var _a;
14
+ for (const mutation of mutations) {
15
+ if (mutation.type === 'attributes' && mutation.attributeName === 'opened' && ((_a = mutation.target) === null || _a === void 0 ? void 0 : _a['opened'])) {
16
+ if (this.behavior !== 'default')
17
+ continue;
18
+ this.host.querySelectorAll('cura-accordion-item').forEach(item => {
19
+ if (item != mutation.target) {
20
+ item.opened = false;
21
+ }
22
+ });
23
+ }
24
+ if (mutation.type === 'childList') {
25
+ const addedNodes = Array.from(mutation.addedNodes || []);
26
+ for (let node of addedNodes) {
27
+ this.setChildProperties(node);
28
+ }
29
+ }
30
+ }
31
+ };
32
+ this.mutationObserver = new MutationObserver(this.mutationObserverCallback);
33
+ this.color = 'primary';
34
+ this.activeColor = 'accent';
35
+ this.colorMode = 'dark';
36
+ this.iconSize = 32;
37
+ this.openIcon = 'down';
38
+ this.closeIcon = 'up';
39
+ this.iconColor = '';
40
+ this.iconActiveColor = '';
41
+ this.behavior = 'default';
42
+ this.styles = {};
43
+ }
44
+ handleChangeColor() {
45
+ this.setColors();
46
+ }
47
+ connectedCallback() {
48
+ const weights = window.CuraAPI.theme.fonts.getWeights();
49
+ this.styles['--base-spacing'] = window.CuraAPI.theme.spacing.getSpacing();
50
+ this.styles['--neutral-purewhite'] = window.CuraAPI.theme.colors.getColor(`neutral-purewhite`);
51
+ this.styles['--neutral-lighter'] = window.CuraAPI.theme.colors.getColor(`neutral-lighter`);
52
+ this.styles['--neutral-base'] = window.CuraAPI.theme.colors.getColor(`neutral-base`);
53
+ this.styles['--font-size'] = window.CuraAPI.theme.fonts.getSize();
54
+ this.styles['--font-color'] = window.CuraAPI.theme.fonts.getColor();
55
+ this.styles['--font-family'] = window.CuraAPI.theme.fonts.getFamily();
56
+ this.styles['--font-weight-regular'] = weights.regular;
57
+ this.setColors();
58
+ }
59
+ componentDidLoad() {
60
+ this.host.querySelectorAll('cura-accordion-item').forEach(item => {
61
+ this.setChildProperties(item);
62
+ });
63
+ const options = { childList: true, subtree: true, attributes: true };
64
+ this.mutationObserver.observe(this.host, options);
65
+ }
66
+ disconnectedCallback() {
67
+ this.mutationObserver.disconnect();
68
+ }
69
+ setChildProperties(item) {
70
+ // Theme
71
+ item.colorMode = this.colorMode;
72
+ item.iconColor = this.iconColor || this.color;
73
+ item.iconActiveColor = this.iconActiveColor || this.activeColor;
74
+ // Icon
75
+ item.iconSize = this.iconSize;
76
+ item.openIcon = this.openIcon;
77
+ item.closeIcon = this.closeIcon;
78
+ }
79
+ setColors() {
80
+ this.styles = Object.assign(Object.assign({}, this.styles), { '--color-lighter': window.CuraAPI.theme.colors.getColor(`${this.color}-lighter`), '--color-light': window.CuraAPI.theme.colors.getColor(`${this.color}-light`), '--color-base': window.CuraAPI.theme.colors.getColor(`${this.color}-base`), '--color-dark': window.CuraAPI.theme.colors.getColor(`${this.color}-dark`), '--color-active-lighter': window.CuraAPI.theme.colors.getColor(`${this.activeColor}-lighter`), '--color-active-light': window.CuraAPI.theme.colors.getColor(`${this.activeColor}-light`), '--color-active-base': window.CuraAPI.theme.colors.getColor(`${this.activeColor}-base`), '--color-active-dark': window.CuraAPI.theme.colors.getColor(`${this.activeColor}-dark`), '--icon-color-lighter': window.CuraAPI.theme.colors.getColor(`${this.iconColor || this.color}-lighter`), '--icon-color-light': window.CuraAPI.theme.colors.getColor(`${this.iconColor || this.color}-light`), '--icon-color-base': window.CuraAPI.theme.colors.getColor(`${this.iconColor || this.color}-base`), '--icon-color-dark': window.CuraAPI.theme.colors.getColor(`${this.iconColor || this.color}-dark`), '--icon-color-active-lighter': window.CuraAPI.theme.colors.getColor(`${this.iconActiveColor || this.activeColor}-lighter`), '--icon-color-active-light': window.CuraAPI.theme.colors.getColor(`${this.iconActiveColor || this.activeColor}-light`), '--icon-color-active-base': window.CuraAPI.theme.colors.getColor(`${this.iconActiveColor || this.activeColor}-base`), '--icon-color-active-dark': window.CuraAPI.theme.colors.getColor(`${this.iconActiveColor || this.activeColor}-dark`) });
81
+ }
82
+ render() {
83
+ return (index.h(index.Host, { style: this.styles }, index.h("slot", { name: 'accordion-item' })));
84
+ }
85
+ get host() { return index.getElement(this); }
86
+ static get watchers() { return {
87
+ "color": ["handleChangeColor"],
88
+ "activeColor": ["handleChangeColor"]
89
+ }; }
90
+ };
91
+ CuraAccordion.style = curaAccordionCss;
92
+
93
+ const curaAccordionItemCss = ":host{display:block}:host .accordion-item{width:100%}:host .accordion-item .label{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host .accordion-item .label::before{content:\"\";display:block;border-top:solid 1px var(--neutral-base);width:100%}:host .accordion-item .label .label-container{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;gap:calc(var(--base-spacing) * 2px);min-height:40px;word-break:break-word;cursor:pointer;font-size:1.14em;font-weight:var(--font-weight-regular);color:var(--color-base);padding:0px}:host .accordion-item .label .label-container cura-icon{margin-right:4px}:host .accordion-item .label .label-container:hover{color:var(--color-light)}:host .accordion-item .label .label-container:hover cura-icon{--color:var(--icon-color-light) !important}:host .accordion-item .label .label-container:active{color:var(--color-dark)}:host .accordion-item .label .label-container:active cura-icon{--color:var(--icon-color-dark) !important}:host .accordion-item .content{font-size:1em;overflow:hidden;max-height:0;-webkit-transition:max-height 0.25s ease;transition:max-height 0.25s ease}:host .accordion-item .content .content-wrapper{padding:calc(var(--base-spacing) * 2px) 0px;border-top:solid 1px var(--neutral-base)}:host .accordion-item.active .label .label-container{color:var(--color-active-base)}:host .accordion-item.active .label .label-container:hover{color:var(--color-active-light)}:host .accordion-item.active .label .label-container:hover cura-icon{--color:var(--icon-color-active-light) !important}:host .accordion-item.active .label .label-container:active{color:var(--color-active-dark)}:host .accordion-item.active .label .label-container:active cura-icon{--color:var(--icon-color-active-dark) !important}:host .accordion-item.active .content{max-height:200vh;overflow-y:auto;-webkit-transition:max-height 0.5s ease 0.14s;transition:max-height 0.5s ease 0.14s}:host .accordion-item.inverted .label .label-container{color:var(--neutral-lighter)}:host .accordion-item.inverted .label .label-container:hover{color:var(--color-lighter)}:host .accordion-item.inverted .label .label-container:hover cura-icon{--color:var(--icon-color-lighter) !important}:host .accordion-item.inverted .label .label-container:active{color:var(--color-light)}:host .accordion-item.inverted .label .label-container:active cura-icon{--color:var(--icon-color-light) !important}:host .accordion-item.active.inverted .label .label-container{color:var(--neutral-purewhite)}:host .accordion-item.active.inverted .label .label-container:hover{color:var(--color-active-lighter)}:host .accordion-item.active.inverted .label .label-container:hover cura-icon{--color:var(--icon-color-active-lighter) !important}:host .accordion-item.active.inverted .label .label-container:active{color:var(--color-active-light)}:host .accordion-item.active.inverted .label .label-container:active cura-icon{--color:var(--icon-color-active-light) !important}@media (min-width: 769px) and (max-width: 992px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}@media (min-width: 993px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}";
94
+
95
+ const CuraAccordionItem = class {
96
+ constructor(hostRef) {
97
+ index.registerInstance(this, hostRef);
98
+ this.label = '';
99
+ this.iconSize = 32;
100
+ this.openIcon = 'down';
101
+ this.closeIcon = 'up';
102
+ this.iconColor = '';
103
+ this.iconActiveColor = '';
104
+ this.colorMode = 'dark';
105
+ this.opened = false;
106
+ this.styles = {};
107
+ }
108
+ getIconColor() {
109
+ const inverted = this.colorMode === 'light';
110
+ const iconColor = inverted ? 'neutral-lighter' : `${this.iconColor}-base`;
111
+ const iconActiveColor = inverted ? 'neutral-purewhite' : `${this.iconActiveColor}-base`;
112
+ return this.opened ? iconActiveColor : iconColor;
113
+ }
114
+ getClasses() {
115
+ const classes = {};
116
+ classes['accordion-item'] = true;
117
+ classes['active'] = this.opened;
118
+ classes['inverted'] = this.colorMode === 'light';
119
+ return classes;
120
+ }
121
+ accordionItemClick(_) {
122
+ this.opened = !this.opened;
123
+ }
124
+ render() {
125
+ return (index.h(index.Host, { slot: "accordion-item" }, index.h("div", { class: this.getClasses(), style: this.styles }, index.h("div", { class: "label", onClick: e => this.accordionItemClick(e) }, index.h("div", { class: "label-container" }, index.h("span", null, this.label), index.h("cura-icon", { name: this.opened ? this.closeIcon : this.openIcon, size: this.iconSize, color: this.getIconColor() }))), index.h("div", { class: 'content' }, index.h("div", { class: "content-wrapper" }, index.h("slot", null))))));
126
+ }
127
+ };
128
+ CuraAccordionItem.style = curaAccordionItemCss;
129
+
130
+ const curaButtonCss = ":host{--border-radius:4px;display:inline-block;vertical-align:middle}:host button,:host a{outline:none;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-decoration:none !important;font-size:var(--font-size);cursor:pointer;-webkit-transition:background-color 0.07s linear, border-color 0.07s linear, -webkit-box-shadow 0.07s linear;transition:background-color 0.07s linear, border-color 0.07s linear, -webkit-box-shadow 0.07s linear;transition:background-color 0.07s linear, box-shadow 0.07s linear, border-color 0.07s linear;transition:background-color 0.07s linear, box-shadow 0.07s linear, border-color 0.07s linear, -webkit-box-shadow 0.07s linear;border-radius:var(--border-radius);background-color:var(--color-base);border:none;padding:calc(var(--base-spacing) * 3.5px) calc(var(--base-spacing) * 4px);min-height:calc(var(--base-spacing) * 13px);min-width:calc(var(--base-spacing) * 13px)}:host button:not(.isLoading):not(.disabled):hover,:host a:not(.isLoading):not(.disabled):hover{background-color:var(--color-light)}:host button:not(.isLoading):not(.disabled):active,:host a:not(.isLoading):not(.disabled):active{background-color:var(--color-dark)}:host button:hover,:host a:hover{-webkit-box-shadow:0 4px 8px 0 rgba(38, 38, 38, 0.16);box-shadow:0 4px 8px 0 rgba(38, 38, 38, 0.16)}:host button.medium:hover,:host a.medium:hover{-webkit-box-shadow:0 3px 6px 0 rgba(38, 38, 38, 0.16);box-shadow:0 3px 6px 0 rgba(38, 38, 38, 0.16)}:host button.small:hover,:host a.small:hover{-webkit-box-shadow:0 2px 5px 0 rgba(38, 38, 38, 0.16);box-shadow:0 2px 5px 0 rgba(38, 38, 38, 0.16)}:host button:active,:host button.disabled:hover,:host button.isLoading:hover,:host a:active,:host a.disabled:hover,:host a.isLoading:hover{-webkit-box-shadow:none !important;box-shadow:none !important}:host button.medium,:host a.medium{padding:calc(var(--base-spacing) * 2.75px) calc(var(--base-spacing) * 4px);min-height:calc(var(--base-spacing) * 11px);min-width:calc(var(--base-spacing) * 11px)}:host button.small,:host a.small{padding:calc(var(--base-spacing) * 1.5px) calc(var(--base-spacing) * 3px);min-height:calc(var(--base-spacing) * 8px);min-width:calc(var(--base-spacing) * 8px)}:host button .button-container,:host a .button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:1;-webkit-transition:opacity 0.2s linear;transition:opacity 0.2s linear}:host button.icon-right .button-container,:host a.icon-right .button-container{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host button .label,:host a .label{-ms-flex:1;flex:1;font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:1.43em;line-height:1.2em;text-align:var(--text-align, \"left\");color:var(--neutral-black)}:host button .label.inverted,:host a .label.inverted{color:var(--neutral-white)}:host button.medium .label,:host a.medium .label{font-size:1.14em}:host button.small .label,:host a.small .label{font-size:1em}:host button.icon-left cura-icon,:host a.icon-left cura-icon{margin-right:calc(var(--base-spacing) * 3px)}:host button.icon-right cura-icon,:host a.icon-right cura-icon{margin-left:calc(var(--base-spacing) * 3px)}:host button.medium.icon-left cura-icon,:host a.medium.icon-left cura-icon{margin-right:calc(var(--base-spacing) * 2.7px)}:host button.medium.icon-right cura-icon,:host a.medium.icon-right cura-icon{margin-left:calc(var(--base-spacing) * 2.7px)}:host button.small.icon-left cura-icon,:host a.small.icon-left cura-icon{margin-right:calc(var(--base-spacing) * 2.5px)}:host button.small.icon-right cura-icon,:host a.small.icon-right cura-icon{margin-left:calc(var(--base-spacing) * 2.5px)}:host button.disabled,:host a.disabled{cursor:not-allowed;background-color:var(--neutral-light)}:host button.disabled .label,:host button.disabled .label.inverted,:host a.disabled .label,:host a.disabled .label.inverted{color:var(--neutral-dark)}:host button.icon-only,:host a.icon-only{padding:calc(var(--base-spacing) * 3.5px)}:host button.icon-only .label,:host a.icon-only .label{display:none}:host button.icon-only cura-icon,:host a.icon-only cura-icon{margin-left:0 !important;margin-right:0 !important}:host button.icon-only.medium,:host a.icon-only.medium{padding:calc(var(--base-spacing) * 2.75px)}:host button.icon-only.small,:host a.icon-only.small{padding:calc(var(--base-spacing) * 1.5px)}:host button cura-loader-circle,:host a cura-loader-circle{position:absolute;display:none}:host button.isLoading,:host a.isLoading{cursor:wait}:host button.isLoading .button-container,:host a.isLoading .button-container{opacity:0.3}:host button.isLoading.icon-only .button-container,:host a.isLoading.icon-only .button-container{opacity:0}:host button.isLoading cura-loader-circle,:host a.isLoading cura-loader-circle{display:block}";
131
+
132
+ const CuraButton = class {
133
+ constructor(hostRef) {
134
+ index.registerInstance(this, hostRef);
135
+ this.size = 'medium';
136
+ this.disabled = false;
137
+ this.isLoading = false;
138
+ this.iconName = undefined;
139
+ this.iconset = 'default';
140
+ this.iconPosition = 'left';
141
+ this.iconOnly = false;
142
+ this.href = undefined;
143
+ this.target = "_self";
144
+ this.color = 'accent';
145
+ this.fontColor = 'dark';
146
+ this.textAlign = 'left';
147
+ this.styles = {};
148
+ }
149
+ handleChangeColor() {
150
+ this.setColors();
151
+ }
152
+ connectedCallback() {
153
+ this.weights = window.CuraAPI.theme.fonts.getWeights();
154
+ this.styles['--base-spacing'] = window.CuraAPI.theme.spacing.getSpacing();
155
+ this.styles['--neutral-white'] = window.CuraAPI.theme.colors.getColor(`neutral-white`);
156
+ this.styles['--neutral-light'] = window.CuraAPI.theme.colors.getColor(`neutral-light`);
157
+ this.styles['--neutral-dark'] = window.CuraAPI.theme.colors.getColor(`neutral-dark`);
158
+ this.styles['--font-size'] = window.CuraAPI.theme.fonts.getSize();
159
+ this.styles['--font-family'] = window.CuraAPI.theme.fonts.getFamily();
160
+ this.styles['--font-weight-medium'] = this.weights.medium;
161
+ this.styles['--text-align'] = this.textAlign;
162
+ this.setColors();
163
+ }
164
+ getClasses() {
165
+ const classes = {};
166
+ classes[`${this.size.toLowerCase()}`] = true;
167
+ classes[`icon-${this.iconPosition.toLowerCase()}`] = true;
168
+ classes[`icon-only`] = this.iconOnly;
169
+ classes['inverted'] = this.fontColor === 'light';
170
+ classes['disabled'] = this.disabled;
171
+ classes['isLoading'] = this.isLoading;
172
+ return classes;
173
+ }
174
+ setColors() {
175
+ this.styles = Object.assign(Object.assign({}, this.styles), { '--color-light': window.CuraAPI.theme.colors.getColor(`${this.color}-light`), '--color-base': window.CuraAPI.theme.colors.getColor(`${this.color}-base`), '--color-dark': window.CuraAPI.theme.colors.getColor(`${this.color}-dark`) });
176
+ }
177
+ getIcon() {
178
+ if (!this.iconName)
179
+ return '';
180
+ const iconSize = this.size === 'small' ? 16 : this.size === 'medium' ? 20 : 24;
181
+ const color = this.getSymbolColor();
182
+ return index.h("cura-icon", { name: this.iconName, iconset: this.iconset, size: iconSize, color: color });
183
+ }
184
+ getSymbolColor() {
185
+ return this.disabled
186
+ ? 'neutral-dark'
187
+ : this.fontColor === 'light'
188
+ ? 'neutral-white'
189
+ : 'neutral-black';
190
+ }
191
+ handleClick(e) {
192
+ if (this.disabled || this.isLoading)
193
+ e.preventDefault();
194
+ }
195
+ render() {
196
+ return (index.h(index.Host, null, this.href ? (index.h("a", { href: this.disabled ? '' : this.href, target: this.target, class: this.getClasses(), style: this.styles, onClick: (e) => this.handleClick(e) }, index.h("span", { class: "button-container" }, this.getIcon(), index.h("span", { class: { label: true, inverted: this.fontColor === 'light' } }, index.h("slot", null))), index.h("cura-loader-circle", { size: this.size, color: this.getSymbolColor() }))) : (index.h("button", { class: this.getClasses(), style: this.styles, disabled: this.disabled || null, onClick: (e) => this.handleClick(e) }, index.h("span", { class: "button-container" }, this.getIcon(), index.h("span", { class: { label: true, inverted: this.fontColor === 'light' } }, index.h("slot", null))), index.h("cura-loader-circle", { size: this.size, color: this.getSymbolColor() })))));
197
+ }
198
+ static get watchers() { return {
199
+ "color": ["handleChangeColor"]
200
+ }; }
201
+ };
202
+ CuraButton.style = curaButtonCss;
203
+
204
+ const curaHeadingCss = ":host{display:block;font-size:var(--font-size-base)}:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-family:var(--font-family);font-size:1.714em;font-weight:var(--font-weight-regular);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0px}:host h1.bold-weight,:host h2.bold-weight,:host h3.bold-weight,:host h4.bold-weight,:host h5.bold-weight,:host h6.bold-weight{font-weight:var(--font-weight-medium)}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.071em;letter-spacing:-0.58px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.214em;line-height:calc(var(--line-height) + 20%)}:host h1.small.bold-weight,:host h1.small ::slotted(b),:host h1.small ::slotted(strong),:host h2.small.bold-weight,:host h2.small ::slotted(b),:host h2.small ::slotted(strong),:host h3.small.bold-weight,:host h3.small ::slotted(b),:host h3.small ::slotted(strong),:host h4.small.bold-weight,:host h4.small ::slotted(b),:host h4.small ::slotted(strong),:host h5.small.bold-weight,:host h5.small ::slotted(b),:host h5.small ::slotted(strong),:host h6.small.bold-weight,:host h6.small ::slotted(b),:host h6.small ::slotted(strong){font-weight:var(--font-weight-bold)}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:0.714em;font-weight:var(--font-weight-medium);letter-spacing:0.6px}:host h1.xsmall.bold-weight,:host h1.xsmall ::slotted(b),:host h1.xsmall ::slotted(strong),:host h2.xsmall.bold-weight,:host h2.xsmall ::slotted(b),:host h2.xsmall ::slotted(strong),:host h3.xsmall.bold-weight,:host h3.xsmall ::slotted(b),:host h3.xsmall ::slotted(strong),:host h4.xsmall.bold-weight,:host h4.xsmall ::slotted(b),:host h4.xsmall ::slotted(strong),:host h5.xsmall.bold-weight,:host h5.xsmall ::slotted(b),:host h5.xsmall ::slotted(strong),:host h6.xsmall.bold-weight,:host h6.xsmall ::slotted(b),:host h6.xsmall ::slotted(strong){font-weight:var(--font-weight-bold)}@media (min-width: 769px) and (max-width: 1920px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:2em}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.357em;letter-spacing:-0.66px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.357em}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:0.857em;line-height:calc(var(--line-height) + 3%);letter-spacing:0.72px}}@media (min-width: 1921px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:2.5em;line-height:calc(var(--line-height) + 5%);letter-spacing:-0.82px}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.929em}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.714em;line-height:calc(var(--line-height) + 30%);letter-spacing:0%}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:1em;line-height:calc(var(--line-height) + 12.857%);letter-spacing:0.28px}}:host ::slotted(b),:host ::slotted(strong){font-weight:var(--font-weight-medium)}:host ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-link);text-underline-offset:10%;cursor:pointer}:host ::slotted(u){text-underline-offset:10%}:host ::slotted(abbr){color:var(--color-link);-webkit-text-decoration:underline dashed 1px var(--color-link);text-decoration:underline dashed 1px var(--color-link);text-underline-offset:10%;cursor:default}:host ::slotted(i),:host ::slotted(em){font-weight:var(--font-weight-medium)}";
205
+
206
+ const CuraHeading = class {
207
+ constructor(hostRef) {
208
+ index.registerInstance(this, hostRef);
209
+ this.theme = window.CuraAPI.theme;
210
+ this.level = 1;
211
+ this.size = 'medium';
212
+ this.weight = 'regular';
213
+ this.spotColor = 'accent-dark';
214
+ this.color = undefined;
215
+ this.marginBlock = '1.25em';
216
+ this.lineHeight = '130%';
217
+ this.styles = {};
218
+ }
219
+ handleChangeColor() {
220
+ this.setColors();
221
+ }
222
+ connectedCallback() {
223
+ this.setFontProperties();
224
+ this.setColors();
225
+ }
226
+ getClasses() {
227
+ const classes = {};
228
+ classes[this.size.toLowerCase()] = true;
229
+ classes[`${this.weight.toLowerCase()}-weight`] = true;
230
+ return classes;
231
+ }
232
+ setFontProperties() {
233
+ this.weights = this.theme.fonts.getWeights();
234
+ this.fontSizeBase = this.theme.fonts.getSize();
235
+ this.styles = {
236
+ '--font-family': window.CuraAPI.theme.fonts.getFamily('heading'),
237
+ '--font-weight-regular': this.weights.regular,
238
+ '--font-weight-medium': this.weights.medium,
239
+ '--font-weight-bold': this.weights.bold,
240
+ '--font-weight-black': this.weights.black
241
+ };
242
+ }
243
+ hostCSSProperties() {
244
+ return {
245
+ '--margin-block': this.marginBlock,
246
+ '--font-size-base': this.fontSizeBase,
247
+ '--line-height': this.lineHeight
248
+ };
249
+ }
250
+ setColors() {
251
+ const fontColor = this.color
252
+ ? this.theme.colors.getColor(this.color)
253
+ : this.theme.fonts.getColor();
254
+ this.styles = Object.assign(Object.assign({}, this.styles), { '--color-body': fontColor || this.theme.colors.getColor('neutral-darker'), '--color-link': this.theme.colors.getColor(`${this.spotColor}`) });
255
+ }
256
+ getHeadingTag() {
257
+ const tags = {
258
+ '1': index.h("h1", { style: this.styles, class: this.getClasses() }, index.h("slot", null)),
259
+ '2': index.h("h2", { style: this.styles, class: this.getClasses() }, index.h("slot", null)),
260
+ '3': index.h("h3", { style: this.styles, class: this.getClasses() }, index.h("slot", null)),
261
+ '4': index.h("h4", { style: this.styles, class: this.getClasses() }, index.h("slot", null)),
262
+ '5': index.h("h5", { style: this.styles, class: this.getClasses() }, index.h("slot", null)),
263
+ '6': index.h("h6", { style: this.styles, class: this.getClasses() }, index.h("slot", null)),
264
+ 'default': index.h("h1", { style: this.styles, class: this.getClasses() }, index.h("slot", null))
265
+ };
266
+ return tags[`${this.level}`] || tags['default'];
267
+ }
268
+ render() {
269
+ return (index.h(index.Host, { style: this.hostCSSProperties() }, this.getHeadingTag()));
270
+ }
271
+ get host() { return index.getElement(this); }
272
+ static get watchers() { return {
273
+ "color": ["handleChangeColor"],
274
+ "spotColor": ["handleChangeColor"]
275
+ }; }
276
+ };
277
+ CuraHeading.style = curaHeadingCss;
278
+
279
+ const curaIconCss = ":host{width:var(--size);height:var(--size)}:host svg{display:inline-block;stroke:var(--color);width:var(--size);height:var(--size);stroke-width:var(--stroke);fill:none}";
280
+
281
+ const CuraIcon = class {
282
+ constructor(hostRef) {
283
+ index.registerInstance(this, hostRef);
284
+ this.sizes = {
285
+ "128": { size: 128, stroke: 5.25 },
286
+ "72": { size: 72, stroke: 3.5 },
287
+ "64": { size: 64, stroke: 3.25 },
288
+ "48": { size: 48, stroke: 2.75 },
289
+ "40": { size: 40, stroke: 2.5 },
290
+ "32": { size: 32, stroke: 2.25 },
291
+ "24": { size: 24, stroke: 2 },
292
+ "20": { size: 20, stroke: 1.75 },
293
+ "16": { size: 16, stroke: 1.5 },
294
+ "default": { size: 24, stroke: 2 }
295
+ };
296
+ this.name = '';
297
+ this.color = 'neutral-base';
298
+ this.size = undefined;
299
+ this.iconset = 'default';
300
+ this.disabled = false;
301
+ }
302
+ sizeHandler(size) {
303
+ const scaledStroke = (iconSize) => {
304
+ return `${this.sizes[iconSize].stroke * (this.sizes.default.size / this.sizes[iconSize].size)}px`;
305
+ };
306
+ this.setHostProperty('--size', this.sizes[`${size}`] ? `${this.sizes[size].size}px` : `${this.sizes.default.size}px`);
307
+ this.setHostProperty('--stroke', this.sizes[`${size}`] ? scaledStroke(size) : scaledStroke("default"));
308
+ }
309
+ colorHandler() {
310
+ this.setHostProperty('--color', window.CuraAPI.theme.colors.getColor(this.disabled ? 'neutral-light' : this.color));
311
+ }
312
+ connectedCallback() {
313
+ this.assetsPath = window.CuraAPI.localAssetsPath;
314
+ this.sizeHandler(this.size);
315
+ this.colorHandler();
316
+ }
317
+ setHostProperty(prop, value) {
318
+ this.host.style.setProperty(prop, value);
319
+ }
320
+ render() {
321
+ return (index.h(index.Host, null, index.h("svg", { version: "1.1", viewBox: "0 0 24 24", preserveAspectRatio: "xMidYMid meet", xmlns: "http://www.w3.org/2000/svg" }, index.h("use", { xlinkHref: `${this.assetsPath}/icons/iconset-${this.iconset}.svg#${this.name}` }))));
322
+ }
323
+ get host() { return index.getElement(this); }
324
+ static get watchers() { return {
325
+ "size": ["sizeHandler"],
326
+ "color": ["colorHandler"],
327
+ "disabled": ["colorHandler"]
328
+ }; }
329
+ };
330
+ CuraIcon.style = curaIconCss;
331
+
332
+ const curaLoaderCircleCss = ":host{display:inline-block;width:var(--size);height:var(--size)}:host svg{width:var(--size);height:var(--size);-webkit-animation:rotate 0.7s linear infinite;animation:rotate 0.7s linear infinite}:host circle,:host path{stroke-miterlimit:10;stroke-linecap:round;stroke-linejoin:round}:host path{stroke:var(--color)}:host stop{stop-color:var(--color)}:host linearGradient stop:first-child{stop-opacity:0.14}@-webkit-keyframes rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}";
333
+
334
+ const CuraLoaderCircle = class {
335
+ constructor(hostRef) {
336
+ index.registerInstance(this, hostRef);
337
+ this.sizes = {
338
+ xlarge: 32,
339
+ large: 24,
340
+ medium: 20,
341
+ small: 16,
342
+ default: 16,
343
+ };
344
+ this.getPxSize = () => this.sizes[this.size] || this.sizes['default'];
345
+ this.size = 'medium';
346
+ this.color = 'neutral-white';
347
+ }
348
+ getStyles() {
349
+ return {
350
+ '--size': `${this.getPxSize()}px`,
351
+ '--color': window.CuraAPI.theme.colors.getColor(this.color)
352
+ };
353
+ }
354
+ render() {
355
+ return (index.h(index.Host, { style: this.getStyles() }, index.h("svg", { viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", null, index.h("circle", { cx: "8", cy: "8", r: "7", stroke: "url(#paint0_linear_13485_11488)", "stroke-width": "2" }), index.h("path", { d: "M1 8C1 4.13401 4.11877 1 7.96596 1C9.53445 1 10.9819 1.52093 12.1462 2.4C12.8959 2.96601 13.5282 3.68049 14 4.5", "stroke-width": "2" })), index.h("defs", null, index.h("linearGradient", { id: "paint0_linear_13485_11488", x1: "15.7", y1: "4.5", x2: "4.15", y2: "11.5", gradientUnits: "userSpaceOnUse" }, index.h("stop", null), index.h("stop", { offset: "1" }))))));
356
+ }
357
+ };
358
+ CuraLoaderCircle.style = curaLoaderCircleCss;
359
+
360
+ const curaPageTemplateCss = ":host{display:block}:host .grid-template{display:grid;grid-template-rows:auto;grid-template-columns:auto;grid-template-areas:\"sub-header\" \"header\" \"pre-content\" \"content-container\" \"post-body\" \"footer\" \"sub-footer\"}:host .grid-template #sub-header{grid-area:sub-header}:host .grid-template #header{grid-area:header}:host .grid-template #pre-content{grid-area:pre-content}:host .grid-template #content-container{grid-area:content-container}:host .grid-template #post-body{grid-area:post-body}:host .grid-template #footer{grid-area:footer}:host .grid-template #sub-footer{grid-area:sub-footer}@media (max-width: 768px){:host .grid-template{padding:0px}}@media (min-width: 769px) and (max-width: 992px){:host .grid-template{padding:0px}}@media (min-width: 993px) and (max-width: 1920px){:host .grid-template{padding:0px}:host .grid-template #content-container #sidebar-left ::slotted(div[slot=sidebar-left]){margin-right:calc(var(--spacing) * 5px)}:host .grid-template #content-container #sidebar-right ::slotted(div[slot=sidebar-right]){margin-left:calc(var(--spacing) * 5px)}:host .grid-template #content-container{display:-ms-flexbox;display:flex}:host .grid-template #content-container #content{-ms-flex-positive:1;flex-grow:1}:host .grid-template #content-container #sidebar-left,:host .grid-template #content-container #sidebar-right{max-width:20%}}@media (min-width: 1921px){:host .grid-template{padding:0px}:host .grid-template #content-container #sidebar-left ::slotted(div[slot=sidebar-left]){margin-right:calc(var(--spacing) * 7px)}:host .grid-template #content-container #sidebar-right ::slotted(div[slot=sidebar-right]){margin-left:calc(var(--spacing) * 7px)}:host .grid-template #content-container{display:-ms-flexbox;display:flex}:host .grid-template #content-container #content{-ms-flex-positive:1;flex-grow:1}:host .grid-template #content-container #sidebar-left,:host .grid-template #content-container #sidebar-right{max-width:20%}:host .grid-template #content-container.centered{max-width:1921px;justify-self:center}}";
361
+
362
+ const CuraPageTemplate = class {
363
+ constructor(hostRef) {
364
+ index.registerInstance(this, hostRef);
365
+ this.contentwidth = 'default';
366
+ }
367
+ connectedCallback() {
368
+ this.styles = {
369
+ '--spacing': window.CuraAPI.theme.spacing.getSpacing(),
370
+ };
371
+ }
372
+ getClasses() {
373
+ const classes = {};
374
+ classes[this.contentwidth.toLowerCase()] = true;
375
+ return classes;
376
+ }
377
+ render() {
378
+ return (index.h(index.Host, null, index.h("div", { style: this.styles, class: "grid-template" }, index.h("div", { id: "sub-header" }, index.h("slot", { name: 'sub-header' })), index.h("div", { id: "header" }, index.h("slot", { name: 'header' })), index.h("div", { id: "pre-content" }, index.h("slot", { name: 'pre-content' })), index.h("div", { id: "content-container", class: this.getClasses() }, index.h("div", { id: "sidebar-left" }, index.h("slot", { name: 'sidebar-left' })), index.h("div", { id: "content" }, index.h("slot", { name: "content" }), index.h("slot", null)), index.h("div", { id: "sidebar-right" }, index.h("slot", { name: 'sidebar-right' }))), index.h("div", { id: "post-body" }, index.h("slot", { name: 'post-body' })), index.h("div", { id: "footer" }, index.h("slot", { name: 'footer' })), index.h("div", { id: "sub-footer" }, index.h("slot", { name: 'sub-footer' })))));
379
+ }
380
+ get host() { return index.getElement(this); }
381
+ };
382
+ CuraPageTemplate.style = curaPageTemplateCss;
383
+
384
+ const curaParagraphCss = ":host{display:block;font-size:var(--font-size-base)}:host p{font-family:var(--font-family);font-size:var(--font-size-base);font-weight:var(--font-weight-regular);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0.28px}:host p.large{font-size:1.214em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:0.85em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.48px}:host p.caption,:host p.xsmall{font-size:0.714em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.6px}@media (min-width: 769px) and (max-width: 1920px){:host p{font-size:1.143em;line-height:calc(var(--line-height) + 5%);letter-spacing:0.32px}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.56px}:host p.caption,:host p.xsmall{font-size:0.85em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.72px}}@media (min-width: 1921px){:host p{font-size:1.429em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.large{font-size:1.714em;line-height:calc(var(--line-height) + 20%)}:host p.small{font-size:1.21em;line-height:calc(var(--line-height) + 5%);letter-spacing:0px}:host p.caption,:host p.xsmall{font-size:1em;line-height:calc(var(--line-height) + 5%);letter-spacing:0.28px}}:host ::slotted(b),:host ::slotted(strong){font-weight:var(--font-weight-bold)}:host ::slotted(a){font-weight:var(--font-weight-medium);color:var(--color-link);text-underline-offset:10%}:host ::slotted(u){font-weight:var(--font-weight-medium);text-underline-offset:10%}:host ::slotted(abbr){color:var(--color-link);-webkit-text-decoration:underline dashed 1px var(--color-link);text-decoration:underline dashed 1px var(--color-link);text-underline-offset:10%;cursor:default}";
385
+
386
+ const CuraParagraph = class {
387
+ constructor(hostRef) {
388
+ index.registerInstance(this, hostRef);
389
+ this.theme = window.CuraAPI.theme;
390
+ this.size = 'medium';
391
+ this.spotColor = 'accent-dark';
392
+ this.color = undefined;
393
+ this.marginBlock = '1.25em';
394
+ this.lineHeight = '140%';
395
+ this.styles = {};
396
+ }
397
+ handleChangeColor() {
398
+ this.setColors();
399
+ }
400
+ connectedCallback() {
401
+ this.setFontProperties();
402
+ this.setColors();
403
+ }
404
+ setsizeClass() {
405
+ const sizeclass = {};
406
+ sizeclass[this.size.toLowerCase()] = true;
407
+ return sizeclass;
408
+ }
409
+ setFontProperties() {
410
+ this.weights = this.theme.fonts.getWeights();
411
+ this.fontSizeBase = this.theme.fonts.getSize();
412
+ this.styles = {
413
+ '--font-family': this.theme.fonts.getFamily('body'),
414
+ '--font-weight-regular': this.weights.regular,
415
+ '--font-weight-medium': this.weights.medium,
416
+ '--font-weight-bold': this.weights.bold
417
+ };
418
+ }
419
+ setColors() {
420
+ const fontColor = this.color
421
+ ? this.theme.colors.getColor(this.color)
422
+ : this.theme.fonts.getColor();
423
+ this.styles = Object.assign(Object.assign({}, this.styles), { '--color-body': fontColor || this.theme.colors.getColor('neutral-darker'), '--color-link': this.theme.colors.getColor(`${this.spotColor}`) });
424
+ }
425
+ hostCSSProperties() {
426
+ return {
427
+ '--margin-block': this.marginBlock,
428
+ '--font-size-base': this.fontSizeBase,
429
+ '--line-height': this.lineHeight
430
+ };
431
+ }
432
+ render() {
433
+ return (index.h(index.Host, { style: this.hostCSSProperties() }, index.h("p", { style: this.styles, class: this.setsizeClass() }, index.h("slot", null))));
434
+ }
435
+ get host() { return index.getElement(this); }
436
+ static get watchers() { return {
437
+ "color": ["handleChangeColor"],
438
+ "spotColor": ["handleChangeColor"]
439
+ }; }
440
+ };
441
+ CuraParagraph.style = curaParagraphCss;
442
+
443
+ exports.cura_accordion = CuraAccordion;
444
+ exports.cura_accordion_item = CuraAccordionItem;
445
+ exports.cura_button = CuraButton;
446
+ exports.cura_heading = CuraHeading;
447
+ exports.cura_icon = CuraIcon;
448
+ exports.cura_loader_circle = CuraLoaderCircle;
449
+ exports.cura_page_template = CuraPageTemplate;
450
+ exports.cura_paragraph = CuraParagraph;
451
+
452
+ //# sourceMappingURL=cura-accordion_8.cjs.entry.js.map