@rededor/cura 0.3.4-alpha.0 → 0.3.4-alpha.1

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 (188) hide show
  1. package/dist/cjs/{app-globals-a41d7f40.js → app-globals-0f70160b.js} +17 -40
  2. package/dist/cjs/cura-display_4.cjs.entry.js +257 -0
  3. package/dist/cjs/cura-icon.cjs.entry.js +59 -0
  4. package/dist/cjs/cura-icons-view.cjs.entry.js +2 -4
  5. package/dist/cjs/cura.cjs.js +4 -19
  6. package/dist/cjs/{index-29633529.js → index-76f95c4b.js} +39 -502
  7. package/dist/cjs/index.cjs.js +0 -2
  8. package/dist/cjs/loader.cjs.js +4 -23
  9. package/dist/collection/api/cura-api.js +0 -1
  10. package/dist/collection/api/cura-api.type.js +0 -1
  11. package/dist/collection/api/modules/cura-theme-colors-module.js +0 -1
  12. package/dist/collection/api/modules/cura-theme-fonts-module.js +0 -1
  13. package/dist/collection/api/modules/cura-theme-module.js +0 -1
  14. package/dist/collection/api/modules/cura-theme-spacing-module.js +0 -1
  15. package/dist/collection/api/theme-presets/static.js +0 -1
  16. package/dist/collection/api/theme-presets/theme-default.js +5 -6
  17. package/dist/collection/api/theme-presets/theme-maternity.js +0 -8
  18. package/dist/collection/api/theme-presets/theme-oncology.js +12 -27
  19. package/dist/collection/api/theme-presets/theme-presets.js +0 -1
  20. package/dist/collection/assets/icons/iconset-default-list.js +0 -1
  21. package/dist/collection/collection-manifest.json +2 -3
  22. package/dist/collection/components/cura-icon/cura-icon.css +2 -2
  23. package/dist/collection/components/cura-icon/cura-icon.js +5 -8
  24. package/dist/collection/components/cura-icons-view/cura-icons-view.js +1 -3
  25. package/dist/collection/components/cura-page-template/cura-page-template.css +24 -24
  26. package/dist/collection/components/cura-page-template/cura-page-template.js +1 -3
  27. package/dist/collection/components/text/cura-display/cura-display.css +14 -13
  28. package/dist/collection/components/text/cura-display/cura-display.js +17 -3
  29. package/dist/collection/components/text/cura-heading/cura-heading.css +15 -15
  30. package/dist/collection/components/text/cura-heading/cura-heading.js +21 -3
  31. package/dist/collection/components/text/cura-paragraph/cura-paragraph.css +17 -16
  32. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +13 -3
  33. package/dist/collection/index.js +0 -1
  34. package/dist/collection/rededor-cura-start.js +0 -1
  35. package/dist/collection/utils/utils.js +0 -1
  36. package/dist/components/cura-display.js +20 -7
  37. package/dist/components/cura-heading.js +24 -7
  38. package/dist/components/cura-icon.js +0 -2
  39. package/dist/components/cura-icon2.js +8 -12
  40. package/dist/components/cura-icons-view.js +3 -6
  41. package/dist/components/cura-page-template.js +4 -7
  42. package/dist/components/cura-paragraph.js +16 -7
  43. package/dist/components/index.d.ts +9 -21
  44. package/dist/components/index.js +24 -67
  45. package/dist/cura/cura.esm.js +1 -2
  46. package/dist/cura/cura.js +1 -3
  47. package/dist/cura/index.esm.js +0 -2
  48. package/dist/cura/p-0b79032f.system.js +2 -0
  49. package/dist/cura/p-11002b56.system.js +1 -0
  50. package/dist/cura/p-32769783.system.js +1 -0
  51. package/dist/cura/p-50ea2036.system.js +1 -2
  52. package/dist/cura/{p-958c8695.system.entry.js → p-54c09404.system.entry.js} +1 -2
  53. package/dist/cura/p-57c5329e.js +2 -0
  54. package/dist/cura/p-5a6643e1.entry.js +1 -0
  55. package/dist/cura/p-a2ad5637.system.entry.js +1 -0
  56. package/dist/cura/p-aca36c98.js +1 -0
  57. package/dist/cura/p-bd91ecb9.system.entry.js +1 -0
  58. package/dist/cura/p-d69916ee.entry.js +1 -0
  59. package/dist/cura/p-f8a5b97d.entry.js +1 -0
  60. package/dist/dist/loader/index.d.ts +0 -9
  61. package/dist/esm/{app-globals-8ed931e6.js → app-globals-cb45bff3.js} +17 -40
  62. package/dist/esm/cura-display_4.entry.js +250 -0
  63. package/dist/esm/cura-icon.entry.js +55 -0
  64. package/dist/esm/cura-icons-view.entry.js +2 -4
  65. package/dist/esm/cura.js +4 -16
  66. package/dist/esm/{index-e11775ce.js → index-7e8c969d.js} +40 -499
  67. package/dist/esm/index.js +0 -2
  68. package/dist/esm/loader.js +4 -23
  69. package/dist/esm/polyfills/css-shim.js +1 -1
  70. package/dist/esm-es5/app-globals-cb45bff3.js +1 -0
  71. package/dist/esm-es5/cura-display_4.entry.js +1 -0
  72. package/dist/esm-es5/cura-icon.entry.js +1 -0
  73. package/dist/esm-es5/cura-icons-view.entry.js +1 -2
  74. package/dist/esm-es5/cura.js +1 -2
  75. package/dist/esm-es5/index-7e8c969d.js +2 -0
  76. package/dist/esm-es5/index.js +0 -2
  77. package/dist/esm-es5/loader.js +1 -2
  78. package/dist/types/api/theme-presets/theme-maternity.d.ts +0 -7
  79. package/dist/types/api/theme-presets/theme-oncology.d.ts +5 -5
  80. package/dist/types/api/theme-presets/theme-presets.d.ts +5 -12
  81. package/dist/types/components.d.ts +0 -93
  82. package/dist/types/stencil-public-runtime.d.ts +15 -77
  83. package/package.json +7 -7
  84. package/dist/cjs/app-globals-a41d7f40.js.map +0 -1
  85. package/dist/cjs/css-shim-83cf0349.js +0 -8
  86. package/dist/cjs/css-shim-83cf0349.js.map +0 -1
  87. package/dist/cjs/cura-button_6.cjs.entry.js +0 -322
  88. package/dist/cjs/cura-button_6.cjs.entry.js.map +0 -1
  89. package/dist/cjs/cura-icons-view.cjs.entry.js.map +0 -1
  90. package/dist/cjs/cura.cjs.js.map +0 -1
  91. package/dist/cjs/index-29633529.js.map +0 -1
  92. package/dist/cjs/index.cjs.js.map +0 -1
  93. package/dist/cjs/loader.cjs.js.map +0 -1
  94. package/dist/cjs/shadow-css-8baae635.js +0 -391
  95. package/dist/cjs/shadow-css-8baae635.js.map +0 -1
  96. package/dist/collection/api/cura-api.js.map +0 -1
  97. package/dist/collection/api/cura-api.type.js.map +0 -1
  98. package/dist/collection/api/modules/cura-theme-colors-module.js.map +0 -1
  99. package/dist/collection/api/modules/cura-theme-fonts-module.js.map +0 -1
  100. package/dist/collection/api/modules/cura-theme-module.js.map +0 -1
  101. package/dist/collection/api/modules/cura-theme-spacing-module.js.map +0 -1
  102. package/dist/collection/api/theme-presets/static.js.map +0 -1
  103. package/dist/collection/api/theme-presets/theme-default.js.map +0 -1
  104. package/dist/collection/api/theme-presets/theme-maternity.js.map +0 -1
  105. package/dist/collection/api/theme-presets/theme-oncology.js.map +0 -1
  106. package/dist/collection/api/theme-presets/theme-presets.js.map +0 -1
  107. package/dist/collection/assets/icons/iconset-default-list.js.map +0 -1
  108. package/dist/collection/components/buttons/cura-button/cura-button.css +0 -70
  109. package/dist/collection/components/buttons/cura-button/cura-button.js +0 -255
  110. package/dist/collection/components/buttons/cura-button/cura-button.js.map +0 -1
  111. package/dist/collection/components/cura-icon/cura-icon.js.map +0 -1
  112. package/dist/collection/components/cura-icons-view/cura-icons-view.js.map +0 -1
  113. package/dist/collection/components/cura-page-template/cura-page-template.js.map +0 -1
  114. package/dist/collection/components/text/cura-display/cura-display.js.map +0 -1
  115. package/dist/collection/components/text/cura-heading/cura-heading.js.map +0 -1
  116. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +0 -1
  117. package/dist/collection/index.js.map +0 -1
  118. package/dist/collection/rededor-cura-start.js.map +0 -1
  119. package/dist/collection/utils/utils.js.map +0 -1
  120. package/dist/collection/utils/utils.spec.js +0 -16
  121. package/dist/collection/utils/utils.spec.js.map +0 -1
  122. package/dist/components/cura-button.d.ts +0 -11
  123. package/dist/components/cura-button.js +0 -97
  124. package/dist/components/cura-button.js.map +0 -1
  125. package/dist/components/cura-display.js.map +0 -1
  126. package/dist/components/cura-heading.js.map +0 -1
  127. package/dist/components/cura-icon.js.map +0 -1
  128. package/dist/components/cura-icon2.js.map +0 -1
  129. package/dist/components/cura-icons-view.js.map +0 -1
  130. package/dist/components/cura-page-template.js.map +0 -1
  131. package/dist/components/cura-paragraph.js.map +0 -1
  132. package/dist/components/index.js.map +0 -1
  133. package/dist/cura/cura.esm.js.map +0 -1
  134. package/dist/cura/index.esm.js.map +0 -1
  135. package/dist/cura/p-118112e5.system.js +0 -14
  136. package/dist/cura/p-118112e5.system.js.map +0 -1
  137. package/dist/cura/p-183305c3.js +0 -2
  138. package/dist/cura/p-183305c3.js.map +0 -1
  139. package/dist/cura/p-3f6aaefc.system.js +0 -2
  140. package/dist/cura/p-3f6aaefc.system.js.map +0 -1
  141. package/dist/cura/p-4c60d085.entry.js +0 -2
  142. package/dist/cura/p-4c60d085.entry.js.map +0 -1
  143. package/dist/cura/p-4fc49972.system.js +0 -2
  144. package/dist/cura/p-4fc49972.system.js.map +0 -1
  145. package/dist/cura/p-50ea2036.system.js.map +0 -1
  146. package/dist/cura/p-61953b75.system.js +0 -2
  147. package/dist/cura/p-61953b75.system.js.map +0 -1
  148. package/dist/cura/p-731abb13.entry.js +0 -2
  149. package/dist/cura/p-731abb13.entry.js.map +0 -1
  150. package/dist/cura/p-958c8695.system.entry.js.map +0 -1
  151. package/dist/cura/p-b5872ed0.system.entry.js +0 -2
  152. package/dist/cura/p-b5872ed0.system.entry.js.map +0 -1
  153. package/dist/cura/p-bac0b4ab.js +0 -2
  154. package/dist/cura/p-bac0b4ab.js.map +0 -1
  155. package/dist/cura/p-beab48cd.js +0 -13
  156. package/dist/cura/p-beab48cd.js.map +0 -1
  157. package/dist/cura/p-c30e14d5.system.js +0 -3
  158. package/dist/cura/p-c30e14d5.system.js.map +0 -1
  159. package/dist/cura/p-d5990392.js +0 -3
  160. package/dist/cura/p-d5990392.js.map +0 -1
  161. package/dist/esm/app-globals-8ed931e6.js.map +0 -1
  162. package/dist/esm/css-shim-d13f0738.js +0 -6
  163. package/dist/esm/css-shim-d13f0738.js.map +0 -1
  164. package/dist/esm/cura-button_6.entry.js +0 -313
  165. package/dist/esm/cura-button_6.entry.js.map +0 -1
  166. package/dist/esm/cura-icons-view.entry.js.map +0 -1
  167. package/dist/esm/cura.js.map +0 -1
  168. package/dist/esm/index-e11775ce.js.map +0 -1
  169. package/dist/esm/index.js.map +0 -1
  170. package/dist/esm/loader.js.map +0 -1
  171. package/dist/esm/shadow-css-07b0c8c8.js +0 -389
  172. package/dist/esm/shadow-css-07b0c8c8.js.map +0 -1
  173. package/dist/esm-es5/app-globals-8ed931e6.js +0 -2
  174. package/dist/esm-es5/app-globals-8ed931e6.js.map +0 -1
  175. package/dist/esm-es5/css-shim-d13f0738.js +0 -2
  176. package/dist/esm-es5/css-shim-d13f0738.js.map +0 -1
  177. package/dist/esm-es5/cura-button_6.entry.js +0 -2
  178. package/dist/esm-es5/cura-button_6.entry.js.map +0 -1
  179. package/dist/esm-es5/cura-icons-view.entry.js.map +0 -1
  180. package/dist/esm-es5/cura.js.map +0 -1
  181. package/dist/esm-es5/index-e11775ce.js +0 -3
  182. package/dist/esm-es5/index-e11775ce.js.map +0 -1
  183. package/dist/esm-es5/index.js.map +0 -1
  184. package/dist/esm-es5/loader.js.map +0 -1
  185. package/dist/esm-es5/shadow-css-07b0c8c8.js +0 -13
  186. package/dist/esm-es5/shadow-css-07b0c8c8.js.map +0 -1
  187. package/dist/loader/index.d.ts +0 -12
  188. package/dist/types/components/buttons/cura-button/cura-button.d.ts +0 -49
@@ -1,10 +1,30 @@
1
1
  import { Host, h } from '@stencil/core';
2
2
  export class CuraHeading {
3
3
  constructor() {
4
+ /**
5
+ * Heading level for semantics.
6
+ * Values: 1(default)-6.
7
+ */
4
8
  this.level = 1;
9
+ /**
10
+ * Heading style size.
11
+ * Values: small | regular(default) | large.
12
+ */
5
13
  this.size = 'regular';
14
+ /**
15
+ * Heading font weight.
16
+ * Values: regular(default) | bold.
17
+ */
6
18
  this.weight = 'regular';
19
+ /**
20
+ * Apply light color to text in dark background.
21
+ * Values: boolean.
22
+ */
7
23
  this.inverted = false;
24
+ /**
25
+ * Apply base system color to elements like <a> and <abbr>.
26
+ * Values: String primary(default) | secondary | accent | neutral | success | error | warning | info.
27
+ */
8
28
  this.spotColor = 'primary';
9
29
  }
10
30
  connectedCallback() {
@@ -55,10 +75,9 @@ export class CuraHeading {
55
75
  return tags[`${this.level}`] || tags['default'];
56
76
  }
57
77
  render() {
58
- return (h(Host, null, this.getHeadingTag()));
78
+ return (h(Host, { class: "cura-heading" }, this.getHeadingTag()));
59
79
  }
60
80
  static get is() { return "cura-heading"; }
61
- static get encapsulation() { return "shadow"; }
62
81
  static get originalStyleUrls() {
63
82
  return {
64
83
  "$": ["cura-heading.scss"]
@@ -165,4 +184,3 @@ export class CuraHeading {
165
184
  }
166
185
  static get elementRef() { return "host"; }
167
186
  }
168
- //# sourceMappingURL=cura-heading.js.map
@@ -19,11 +19,11 @@
19
19
  * Responsive media for xlarge only.
20
20
  * Use: @include xlarge-only() { ... }
21
21
  */
22
- :host {
22
+ .cura-paragraph {
23
23
  display: block;
24
24
  font-size: var(--font-size);
25
25
  }
26
- :host p {
26
+ .cura-paragraph p {
27
27
  font-family: var(--font-family);
28
28
  font-size: var(--font-size);
29
29
  font-weight: var(--font-weight-regular);
@@ -33,70 +33,71 @@
33
33
  margin-block-start: var(--block-margin);
34
34
  margin-block-end: var(--block-margin);
35
35
  }
36
- :host p.large {
36
+ .cura-paragraph p.large {
37
37
  font-size: 1.21em;
38
38
  line-height: 150%;
39
39
  letter-spacing: 0%;
40
40
  }
41
- :host p.small {
41
+ .cura-paragraph p.small {
42
42
  font-size: 0.85em;
43
43
  line-height: 135%;
44
44
  letter-spacing: 4%;
45
45
  }
46
- :host p.caption {
46
+ .cura-paragraph p.caption {
47
47
  font-size: 0.71em;
48
48
  line-height: 135%;
49
49
  letter-spacing: 6%;
50
50
  }
51
51
  @media (min-width: 768px) and (max-width: 1365px) {
52
- :host p {
52
+ .cura-paragraph p {
53
53
  font-size: 1.14em;
54
54
  line-height: 145%;
55
55
  }
56
- :host p.large {
56
+ .cura-paragraph p.large {
57
57
  font-size: 1.35em;
58
58
  line-height: 150%;
59
59
  }
60
- :host p.small {
60
+ .cura-paragraph p.small {
61
61
  font-size: 1em;
62
62
  line-height: 135%;
63
63
  }
64
- :host p.caption {
64
+ .cura-paragraph p.caption {
65
65
  font-size: 0.85em;
66
66
  line-height: 135%;
67
67
  letter-spacing: 6%;
68
68
  }
69
69
  }
70
70
  @media (min-width: 1366px) {
71
- :host p {
71
+ .cura-paragraph p {
72
72
  font-size: 1.42em;
73
73
  line-height: 150%;
74
74
  letter-spacing: 0%;
75
75
  }
76
- :host p.large {
76
+ .cura-paragraph p.large {
77
77
  font-size: 1.71em;
78
78
  line-height: 160%;
79
79
  }
80
- :host p.small {
80
+ .cura-paragraph p.small {
81
81
  font-size: 1.21em;
82
82
  line-height: 145%;
83
83
  letter-spacing: 0%;
84
84
  }
85
- :host p.caption {
85
+ .cura-paragraph p.caption {
86
86
  font-size: 1em;
87
87
  line-height: 145%;
88
88
  letter-spacing: 2%;
89
89
  }
90
90
  }
91
- :host ::slotted(b), :host ::slotted(strong) {
91
+ .cura-paragraph b,
92
+ .cura-paragraph strong {
92
93
  font-weight: var(--font-weight-bold);
93
94
  }
94
- :host ::slotted(a) {
95
+ .cura-paragraph a {
95
96
  font-weight: var(--font-weight-medium);
96
97
  color: var(--color-link);
97
98
  text-underline-offset: 10%;
98
99
  }
99
- :host ::slotted(abbr) {
100
+ .cura-paragraph abbr {
100
101
  color: var(--color-link);
101
102
  text-decoration: underline dashed 1px var(--color-link);
102
103
  text-underline-offset: 10%;
@@ -1,8 +1,20 @@
1
1
  import { Host, h } from '@stencil/core';
2
2
  export class CuraParagraph {
3
3
  constructor() {
4
+ /**
5
+ * Set size of body text.
6
+ * Values: regular (default) | large | small | caption.
7
+ */
4
8
  this.size = 'regular';
9
+ /**
10
+ * Apply light color to text in dark background.
11
+ * Values: boolean.
12
+ */
5
13
  this.inverted = false;
14
+ /**
15
+ * Apply base system color to elements like <a> and <abbr>.
16
+ * Values: String primary(default) | secondary | accent | neutral | success | error | warning | info.
17
+ */
6
18
  this.spotColor = 'primary';
7
19
  }
8
20
  connectedCallback() {
@@ -39,10 +51,9 @@ export class CuraParagraph {
39
51
  this.host.style.setProperty(prop, value);
40
52
  }
41
53
  render() {
42
- return (h(Host, null, h("p", { style: this.styles, class: this.setsizeClass() }, h("slot", null))));
54
+ return (h(Host, { class: "cura-paragraph" }, h("p", { style: this.styles, class: this.setsizeClass() }, h("slot", null))));
43
55
  }
44
56
  static get is() { return "cura-paragraph"; }
45
- static get encapsulation() { return "shadow"; }
46
57
  static get originalStyleUrls() {
47
58
  return {
48
59
  "$": ["cura-paragraph.scss"]
@@ -113,4 +124,3 @@ export class CuraParagraph {
113
124
  }
114
125
  static get elementRef() { return "host"; }
115
126
  }
116
- //# sourceMappingURL=cura-paragraph.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=index.js.map
@@ -7,4 +7,3 @@ export default function () {
7
7
  if (config && typeof config.onReady === 'function')
8
8
  config.onReady(api);
9
9
  }
10
- //# sourceMappingURL=rededor-cura-start.js.map
@@ -1,4 +1,3 @@
1
1
  export function format(first, middle, last) {
2
2
  return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
3
3
  }
4
- //# sourceMappingURL=utils.js.map
@@ -1,15 +1,30 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- const curaDisplayCss = ":host{display:block;font-size:var(--font-size);text-transform:uppercase}:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-family:var(--font-family);font-size:4.285em;font-weight:var(--font-weight-black);color:var(--color-body);line-height:120%;letter-spacing:-4%;-webkit-margin-before:var(--block-margin);margin-block-start:var(--block-margin);-webkit-margin-after:var(--block-margin);margin-block-end:var(--block-margin)}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:6.21em}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:3em;font-weight:var(--font-weight-bold)}@media (min-width: 768px) and (max-width: 1365px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:4.92em}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:7.07em}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:3.428em}}@media (min-width: 1366px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:6.14em;line-height:125%}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:8.857em;letter-spacing:-6%}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:4.285em;letter-spacing:-2%}}:host ::slotted(b),:host ::slotted(strong){font-weight:var(--font-weight-bold)}:host ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-link);text-decoration:none;text-underline-offset:10%;cursor:pointer}: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}";
3
+ const curaDisplayCss = ".cura-display{display:block;font-size:var(--font-size);text-transform:uppercase}.cura-display h1,.cura-display h2,.cura-display h3,.cura-display h4,.cura-display h5,.cura-display h6{font-family:var(--font-family);font-size:4.285em;font-weight:var(--font-weight-black);color:var(--color-body);line-height:120%;letter-spacing:-4%;-webkit-margin-before:var(--block-margin);margin-block-start:var(--block-margin);-webkit-margin-after:var(--block-margin);margin-block-end:var(--block-margin)}.cura-display h1.large,.cura-display h2.large,.cura-display h3.large,.cura-display h4.large,.cura-display h5.large,.cura-display h6.large{font-size:6.21em}.cura-display h1.small,.cura-display h2.small,.cura-display h3.small,.cura-display h4.small,.cura-display h5.small,.cura-display h6.small{font-size:3em;font-weight:var(--font-weight-bold)}@media (min-width: 768px) and (max-width: 1365px){.cura-display h1,.cura-display h2,.cura-display h3,.cura-display h4,.cura-display h5,.cura-display h6{font-size:4.92em}.cura-display h1.large,.cura-display h2.large,.cura-display h3.large,.cura-display h4.large,.cura-display h5.large,.cura-display h6.large{font-size:7.07em}.cura-display h1.small,.cura-display h2.small,.cura-display h3.small,.cura-display h4.small,.cura-display h5.small,.cura-display h6.small{font-size:3.428em}}@media (min-width: 1366px){.cura-display h1,.cura-display h2,.cura-display h3,.cura-display h4,.cura-display h5,.cura-display h6{font-size:6.14em;line-height:125%}.cura-display h1.large,.cura-display h2.large,.cura-display h3.large,.cura-display h4.large,.cura-display h5.large,.cura-display h6.large{font-size:8.857em;letter-spacing:-6%}.cura-display h1.small,.cura-display h2.small,.cura-display h3.small,.cura-display h4.small,.cura-display h5.small,.cura-display h6.small{font-size:4.285em;letter-spacing:-2%}}.cura-display b,.cura-display strong{font-weight:var(--font-weight-bold)}.cura-display a{font-weight:var(--font-weight-bold);color:var(--color-link);text-decoration:none;text-underline-offset:10%;cursor:pointer}.cura-display 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}";
4
4
 
5
- const CuraDisplay$1 = /*@__PURE__*/ proxyCustomElement(class CuraDisplay extends HTMLElement {
5
+ const CuraDisplay$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
6
  constructor() {
7
7
  super();
8
8
  this.__registerHost();
9
- this.__attachShadow();
9
+ /**
10
+ * Heading level for semantics.
11
+ * Values: 1(default)-6.
12
+ */
10
13
  this.level = 1;
14
+ /**
15
+ * Heading style size.
16
+ * Values: small | regular(default) | large.
17
+ */
11
18
  this.size = 'regular';
19
+ /**
20
+ * Apply light color to text in dark background.
21
+ * Values: boolean.
22
+ */
12
23
  this.inverted = false;
24
+ /**
25
+ * Apply base system color to elements like <a> and <abbr>.
26
+ * Values: String primary(default) | secondary | accent | neutral | success | error | warning | info.
27
+ */
13
28
  this.spotColor = 'primary';
14
29
  }
15
30
  connectedCallback() {
@@ -57,11 +72,11 @@ const CuraDisplay$1 = /*@__PURE__*/ proxyCustomElement(class CuraDisplay extends
57
72
  return tags[`${this.level}`] || tags['default'];
58
73
  }
59
74
  render() {
60
- return (h(Host, null, this.getHeadingTag()));
75
+ return (h(Host, { class: "cura-display" }, this.getHeadingTag()));
61
76
  }
62
77
  get host() { return this; }
63
78
  static get style() { return curaDisplayCss; }
64
- }, [1, "cura-display", {
79
+ }, [4, "cura-display", {
65
80
  "level": [514],
66
81
  "size": [513],
67
82
  "inverted": [516],
@@ -85,5 +100,3 @@ const CuraDisplay = CuraDisplay$1;
85
100
  const defineCustomElement = defineCustomElement$1;
86
101
 
87
102
  export { CuraDisplay, defineCustomElement };
88
-
89
- //# sourceMappingURL=cura-display.js.map
@@ -1,16 +1,35 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- const curaHeadingCss = ":host{display:block;font-size:var(--font-size)}:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-family:var(--font-family);font-size:1.71em;font-weight:var(--font-weight-regular);color:var(--color-body);line-height:130%;letter-spacing:0%;-webkit-margin-before:var(--block-margin);margin-block-start:var(--block-margin);-webkit-margin-after:var(--block-margin);margin-block-end:var(--block-margin)}: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.07em;letter-spacing:-2%}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.214em;line-height:150%;letter-spacing:0%}:host h1.small.bold-weight,:host h2.small.bold-weight,:host h3.small.bold-weight,:host h4.small.bold-weight,:host h5.small.bold-weight,:host h6.small.bold-weight{font-weight:var(--font-weight-bold)}@media (min-width: 768px) and (max-width: 1365px){: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}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.357em}}@media (min-width: 1366px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:2.5em;line-height:135%;letter-spacing:-2%}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.92em}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.71em;line-height:160%;letter-spacing:0%}}:host ::slotted(b),:host ::slotted(strong){font-weight:var(--font-weight-bold)}:host ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-link);text-decoration:none;text-underline-offset:10%;cursor:pointer}: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}";
3
+ const curaHeadingCss = ".cura-heading{display:block;font-size:var(--font-size)}.cura-heading h1,.cura-heading h2,.cura-heading h3,.cura-heading h4,.cura-heading h5,.cura-heading h6{font-family:var(--font-family);font-size:1.71em;font-weight:var(--font-weight-regular);color:var(--color-body);line-height:130%;letter-spacing:0%;-webkit-margin-before:var(--block-margin);margin-block-start:var(--block-margin);-webkit-margin-after:var(--block-margin);margin-block-end:var(--block-margin)}.cura-heading h1.bold-weight,.cura-heading h2.bold-weight,.cura-heading h3.bold-weight,.cura-heading h4.bold-weight,.cura-heading h5.bold-weight,.cura-heading h6.bold-weight{font-weight:var(--font-weight-medium)}.cura-heading h1.large,.cura-heading h2.large,.cura-heading h3.large,.cura-heading h4.large,.cura-heading h5.large,.cura-heading h6.large{font-size:2.07em;letter-spacing:-2%}.cura-heading h1.small,.cura-heading h2.small,.cura-heading h3.small,.cura-heading h4.small,.cura-heading h5.small,.cura-heading h6.small{font-size:1.214em;line-height:150%;letter-spacing:0%}.cura-heading h1.small.bold-weight,.cura-heading h2.small.bold-weight,.cura-heading h3.small.bold-weight,.cura-heading h4.small.bold-weight,.cura-heading h5.small.bold-weight,.cura-heading h6.small.bold-weight{font-weight:var(--font-weight-bold)}@media (min-width: 768px) and (max-width: 1365px){.cura-heading h1,.cura-heading h2,.cura-heading h3,.cura-heading h4,.cura-heading h5,.cura-heading h6{font-size:2em}.cura-heading h1.large,.cura-heading h2.large,.cura-heading h3.large,.cura-heading h4.large,.cura-heading h5.large,.cura-heading h6.large{font-size:2.357em}.cura-heading h1.small,.cura-heading h2.small,.cura-heading h3.small,.cura-heading h4.small,.cura-heading h5.small,.cura-heading h6.small{font-size:1.357em}}@media (min-width: 1366px){.cura-heading h1,.cura-heading h2,.cura-heading h3,.cura-heading h4,.cura-heading h5,.cura-heading h6{font-size:2.5em;line-height:135%;letter-spacing:-2%}.cura-heading h1.large,.cura-heading h2.large,.cura-heading h3.large,.cura-heading h4.large,.cura-heading h5.large,.cura-heading h6.large{font-size:2.92em}.cura-heading h1.small,.cura-heading h2.small,.cura-heading h3.small,.cura-heading h4.small,.cura-heading h5.small,.cura-heading h6.small{font-size:1.71em;line-height:160%;letter-spacing:0%}}.cura-heading b,.cura-heading strong{font-weight:var(--font-weight-bold)}.cura-heading a{font-weight:var(--font-weight-bold);color:var(--color-link);text-decoration:none;text-underline-offset:10%;cursor:pointer}.cura-heading 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}";
4
4
 
5
- const CuraHeading$1 = /*@__PURE__*/ proxyCustomElement(class CuraHeading extends HTMLElement {
5
+ const CuraHeading$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
6
  constructor() {
7
7
  super();
8
8
  this.__registerHost();
9
- this.__attachShadow();
9
+ /**
10
+ * Heading level for semantics.
11
+ * Values: 1(default)-6.
12
+ */
10
13
  this.level = 1;
14
+ /**
15
+ * Heading style size.
16
+ * Values: small | regular(default) | large.
17
+ */
11
18
  this.size = 'regular';
19
+ /**
20
+ * Heading font weight.
21
+ * Values: regular(default) | bold.
22
+ */
12
23
  this.weight = 'regular';
24
+ /**
25
+ * Apply light color to text in dark background.
26
+ * Values: boolean.
27
+ */
13
28
  this.inverted = false;
29
+ /**
30
+ * Apply base system color to elements like <a> and <abbr>.
31
+ * Values: String primary(default) | secondary | accent | neutral | success | error | warning | info.
32
+ */
14
33
  this.spotColor = 'primary';
15
34
  }
16
35
  connectedCallback() {
@@ -61,11 +80,11 @@ const CuraHeading$1 = /*@__PURE__*/ proxyCustomElement(class CuraHeading extends
61
80
  return tags[`${this.level}`] || tags['default'];
62
81
  }
63
82
  render() {
64
- return (h(Host, null, this.getHeadingTag()));
83
+ return (h(Host, { class: "cura-heading" }, this.getHeadingTag()));
65
84
  }
66
85
  get host() { return this; }
67
86
  static get style() { return curaHeadingCss; }
68
- }, [1, "cura-heading", {
87
+ }, [4, "cura-heading", {
69
88
  "level": [514],
70
89
  "size": [513],
71
90
  "weight": [513],
@@ -90,5 +109,3 @@ const CuraHeading = CuraHeading$1;
90
109
  const defineCustomElement = defineCustomElement$1;
91
110
 
92
111
  export { CuraHeading, defineCustomElement };
93
-
94
- //# sourceMappingURL=cura-heading.js.map
@@ -4,5 +4,3 @@ const CuraIcon = CuraIcon$1;
4
4
  const defineCustomElement = defineCustomElement$1;
5
5
 
6
6
  export { CuraIcon, defineCustomElement };
7
-
8
- //# sourceMappingURL=cura-icon.js.map
@@ -1,12 +1,15 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- 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}";
3
+ const curaIconCss = ".cura-icon{width:var(--size);height:var(--size)}.cura-icon svg{display:inline-block;stroke:var(--color);width:var(--size);height:var(--size);stroke-width:var(--stroke);fill:none}";
4
4
 
5
- const CuraIcon = /*@__PURE__*/ proxyCustomElement(class CuraIcon extends HTMLElement {
5
+ const CuraIcon = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
6
  constructor() {
7
7
  super();
8
8
  this.__registerHost();
9
- this.__attachShadow();
9
+ this.name = '';
10
+ this.color = 'neutral-base';
11
+ this.iconset = 'default';
12
+ this.disabled = false;
10
13
  this.sizes = {
11
14
  "128": { size: 128, stroke: 5.25 },
12
15
  "72": { size: 72, stroke: 3.5 },
@@ -19,11 +22,6 @@ const CuraIcon = /*@__PURE__*/ proxyCustomElement(class CuraIcon extends HTMLEle
19
22
  "16": { size: 16, stroke: 1.5 },
20
23
  "default": { size: 24, stroke: 2 }
21
24
  };
22
- this.name = '';
23
- this.color = 'neutral-base';
24
- this.size = undefined;
25
- this.iconset = 'default';
26
- this.disabled = false;
27
25
  }
28
26
  sizeHandler(size) {
29
27
  const scaledStroke = (iconSize) => {
@@ -44,7 +42,7 @@ const CuraIcon = /*@__PURE__*/ proxyCustomElement(class CuraIcon extends HTMLEle
44
42
  this.host.style.setProperty(prop, value);
45
43
  }
46
44
  render() {
47
- return (h(Host, null, h("svg", { version: "1.1", viewBox: "0 0 24 24", preserveAspectRatio: "xMidYMid meet", xmlns: "http://www.w3.org/2000/svg" }, h("use", { xlinkHref: `${this.assetsPath}/icons/iconset-${this.iconset}.svg#${this.name}` }))));
45
+ return (h(Host, { class: 'cura-icon' }, h("svg", { version: "1.1", viewBox: "0 0 24 24", preserveAspectRatio: "xMidYMid meet", xmlns: "http://www.w3.org/2000/svg" }, h("use", { xlinkHref: `${this.assetsPath}/icons/iconset-${this.iconset}.svg#${this.name}` }))));
48
46
  }
49
47
  get host() { return this; }
50
48
  static get watchers() { return {
@@ -53,7 +51,7 @@ const CuraIcon = /*@__PURE__*/ proxyCustomElement(class CuraIcon extends HTMLEle
53
51
  "disabled": ["colorHandler"]
54
52
  }; }
55
53
  static get style() { return curaIconCss; }
56
- }, [1, "cura-icon", {
54
+ }, [0, "cura-icon", {
57
55
  "name": [513],
58
56
  "color": [1],
59
57
  "size": [8],
@@ -75,5 +73,3 @@ function defineCustomElement() {
75
73
  }
76
74
 
77
75
  export { CuraIcon as C, defineCustomElement as d };
78
-
79
- //# sourceMappingURL=cura-icon2.js.map
@@ -5,23 +5,22 @@ const iconsetdefaulticons = ["360", "accessibility", "alertCircle", "alertTriang
5
5
 
6
6
  const curaIconsViewCss = ":host{display:block;padding:24px;font-family:\"Roboto\", Arial, Helvetica, sans-serif}.iconDetail{display:block}.iconSizes{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.iconSizes .size{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;text-align:center;margin-right:9px;padding:8px}.iconSizes .size:last-child{margin-right:0}.iconSizes .size span{font-size:10px}.iconSizes.invert{margin-top:12px}.iconSizes.invert .size{background-color:#262626;color:#F6F6F6;border-radius:3px}.icons{margin-top:28px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;position:relative}.icons .icon{position:relative;padding:4px;cursor:pointer;opacity:0.6;-webkit-transition:opacity 0.2s linear;transition:opacity 0.2s linear}.icons .icon span{font-size:12px;padding:6px;-webkit-box-sizing:border-box;box-sizing:border-box;background:#000;color:#FFF;border-radius:2px;position:absolute;top:-2px;left:50%;-webkit-transform:translateX(-50%) translateY(-100%);transform:translateX(-50%) translateY(-100%);display:none}.icons .icon:hover{opacity:1}.icons .icon:hover span{display:block}";
7
7
 
8
- const CuraIconsView$1 = /*@__PURE__*/ proxyCustomElement(class CuraIconsView extends HTMLElement {
8
+ const CuraIconsView$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
9
  constructor() {
10
10
  super();
11
11
  this.__registerHost();
12
- this.__attachShadow();
13
12
  this.sizes = [16, 20, 24, 32, 40, 48, 64, 72, 128];
14
13
  this.colors = ['primary', 'secondary', 'accent', 'info', 'warning', 'error', 'success', 'neutral'];
14
+ this.selected = '360';
15
15
  this.setSelected = (icon) => {
16
16
  this.selected = icon;
17
17
  };
18
- this.selected = '360';
19
18
  }
20
19
  render() {
21
20
  return (h(Host, null, h("div", { class: "iconDetail" }, h("h4", null, this.selected), h("div", { class: "iconSizes" }, this.sizes.map(size => h("div", { class: "size" }, h("cura-icon", { name: this.selected, size: size }), h("span", null, size)))), h("div", { class: "iconSizes invert" }, this.sizes.map(size => h("div", { class: "size" }, h("cura-icon", { name: this.selected, size: size, color: "neutral-white" }), h("span", null, size)))), h("div", { class: "iconSizes" }, this.colors.map(color => h("div", { class: "size" }, h("cura-icon", { name: this.selected, color: color }), h("span", null, color))), h("div", { class: "size" }, h("cura-icon", { name: this.selected, disabled: true }), h("span", null, "Disabled")))), h("div", { class: "icons" }, iconsetdefaulticons.map(icon => h("div", { class: "icon", onClick: () => this.setSelected(icon) }, h("cura-icon", { name: icon }), h("span", null, icon))))));
22
21
  }
23
22
  static get style() { return curaIconsViewCss; }
24
- }, [1, "cura-icons-view", {
23
+ }, [0, "cura-icons-view", {
25
24
  "selected": [32]
26
25
  }]);
27
26
  function defineCustomElement$1() {
@@ -47,5 +46,3 @@ const CuraIconsView = CuraIconsView$1;
47
46
  const defineCustomElement = defineCustomElement$1;
48
47
 
49
48
  export { CuraIconsView, defineCustomElement };
50
-
51
- //# sourceMappingURL=cura-icons-view.js.map
@@ -1,12 +1,11 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- 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: 360px){:host .grid-template{padding:0px}}@media (min-width: 768px) and (max-width: 1365px){:host .grid-template{padding:0px}}@media (min-width: 1366px) and (max-width: 1919px){: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: 1920px){: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:1920px;justify-self:center}}";
3
+ const curaPageTemplateCss = ".cura-template{display:block}.cura-template .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\"}.cura-template .grid-template #sub-header{grid-area:sub-header}.cura-template .grid-template #header{grid-area:header}.cura-template .grid-template #pre-content{grid-area:pre-content}.cura-template .grid-template #content-container{grid-area:content-container}.cura-template .grid-template #post-body{grid-area:post-body}.cura-template .grid-template #footer{grid-area:footer}.cura-template .grid-template #sub-footer{grid-area:sub-footer}@media (max-width: 360px){.cura-template .grid-template{padding:0px}}@media (min-width: 768px) and (max-width: 1365px){.cura-template .grid-template{padding:0px}}@media (min-width: 1366px) and (max-width: 1919px){.cura-template .grid-template{padding:0px}.cura-template .grid-template #content-container #sidebar-left ::slotted(div[slot=sidebar-left]){margin-right:calc(var(--spacing) * 5px)}.cura-template .grid-template #content-container #sidebar-right ::slotted(div[slot=sidebar-right]){margin-left:calc(var(--spacing) * 5px)}.cura-template .grid-template #content-container{display:-ms-flexbox;display:flex}.cura-template .grid-template #content-container #content{-ms-flex-positive:1;flex-grow:1}.cura-template .grid-template #content-container #sidebar-left,.cura-template .grid-template #content-container #sidebar-right{max-width:20%}}@media (min-width: 1920px){.cura-template .grid-template{padding:0px}.cura-template .grid-template #content-container #sidebar-left ::slotted(div[slot=sidebar-left]){margin-right:calc(var(--spacing) * 7px)}.cura-template .grid-template #content-container #sidebar-right ::slotted(div[slot=sidebar-right]){margin-left:calc(var(--spacing) * 7px)}.cura-template .grid-template #content-container{display:-ms-flexbox;display:flex}.cura-template .grid-template #content-container #content{-ms-flex-positive:1;flex-grow:1}.cura-template .grid-template #content-container #sidebar-left,.cura-template .grid-template #content-container #sidebar-right{max-width:20%}.cura-template .grid-template #content-container.centered{max-width:1920px;justify-self:center}}";
4
4
 
5
- const CuraPageTemplate$1 = /*@__PURE__*/ proxyCustomElement(class CuraPageTemplate extends HTMLElement {
5
+ const CuraPageTemplate$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
6
  constructor() {
7
7
  super();
8
8
  this.__registerHost();
9
- this.__attachShadow();
10
9
  this.contentwidth = 'default';
11
10
  }
12
11
  connectedCallback() {
@@ -20,11 +19,11 @@ const CuraPageTemplate$1 = /*@__PURE__*/ proxyCustomElement(class CuraPageTempla
20
19
  return classes;
21
20
  }
22
21
  render() {
23
- return (h(Host, null, h("div", { style: this.styles, class: "grid-template" }, h("div", { id: "sub-header" }, h("slot", { name: 'sub-header' })), h("div", { id: "header" }, h("slot", { name: 'header' })), h("div", { id: "pre-content" }, h("slot", { name: 'pre-content' })), h("div", { id: "content-container", class: this.getClasses() }, h("div", { id: "sidebar-left" }, h("slot", { name: 'sidebar-left' })), h("div", { id: "content" }, h("slot", { name: "content" }), h("slot", null)), h("div", { id: "sidebar-right" }, h("slot", { name: 'sidebar-right' }))), h("div", { id: "post-body" }, h("slot", { name: 'post-body' })), h("div", { id: "footer" }, h("slot", { name: 'footer' })), h("div", { id: "sub-footer" }, h("slot", { name: 'sub-footer' })))));
22
+ return (h(Host, { class: "cura-template" }, h("div", { style: this.styles, class: "grid-template" }, h("div", { id: "sub-header" }, h("slot", { name: 'sub-header' })), h("div", { id: "header" }, h("slot", { name: 'header' })), h("div", { id: "pre-content" }, h("slot", { name: 'pre-content' })), h("div", { id: "content-container", class: this.getClasses() }, h("div", { id: "sidebar-left" }, h("slot", { name: 'sidebar-left' })), h("div", { id: "content" }, h("slot", { name: "content" }), h("slot", null)), h("div", { id: "sidebar-right" }, h("slot", { name: 'sidebar-right' }))), h("div", { id: "post-body" }, h("slot", { name: 'post-body' })), h("div", { id: "footer" }, h("slot", { name: 'footer' })), h("div", { id: "sub-footer" }, h("slot", { name: 'sub-footer' })))));
24
23
  }
25
24
  get host() { return this; }
26
25
  static get style() { return curaPageTemplateCss; }
27
- }, [1, "cura-page-template", {
26
+ }, [4, "cura-page-template", {
28
27
  "contentwidth": [513]
29
28
  }]);
30
29
  function defineCustomElement$1() {
@@ -45,5 +44,3 @@ const CuraPageTemplate = CuraPageTemplate$1;
45
44
  const defineCustomElement = defineCustomElement$1;
46
45
 
47
46
  export { CuraPageTemplate, defineCustomElement };
48
-
49
- //# sourceMappingURL=cura-page-template.js.map
@@ -1,14 +1,25 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- const curaParagraphCss = ":host{display:block;font-size:var(--font-size)}:host p{font-family:var(--font-family);font-size:var(--font-size);font-weight:var(--font-weight-regular);color:var(--color-body);line-height:140%;letter-spacing:2%;-webkit-margin-before:var(--block-margin);margin-block-start:var(--block-margin);-webkit-margin-after:var(--block-margin);margin-block-end:var(--block-margin)}:host p.large{font-size:1.21em;line-height:150%;letter-spacing:0%}:host p.small{font-size:0.85em;line-height:135%;letter-spacing:4%}:host p.caption{font-size:0.71em;line-height:135%;letter-spacing:6%}@media (min-width: 768px) and (max-width: 1365px){:host p{font-size:1.14em;line-height:145%}:host p.large{font-size:1.35em;line-height:150%}:host p.small{font-size:1em;line-height:135%}:host p.caption{font-size:0.85em;line-height:135%;letter-spacing:6%}}@media (min-width: 1366px){:host p{font-size:1.42em;line-height:150%;letter-spacing:0%}:host p.large{font-size:1.71em;line-height:160%}:host p.small{font-size:1.21em;line-height:145%;letter-spacing:0%}:host p.caption{font-size:1em;line-height:145%;letter-spacing:2%}}: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(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}";
3
+ const curaParagraphCss = ".cura-paragraph{display:block;font-size:var(--font-size)}.cura-paragraph p{font-family:var(--font-family);font-size:var(--font-size);font-weight:var(--font-weight-regular);color:var(--color-body);line-height:140%;letter-spacing:2%;-webkit-margin-before:var(--block-margin);margin-block-start:var(--block-margin);-webkit-margin-after:var(--block-margin);margin-block-end:var(--block-margin)}.cura-paragraph p.large{font-size:1.21em;line-height:150%;letter-spacing:0%}.cura-paragraph p.small{font-size:0.85em;line-height:135%;letter-spacing:4%}.cura-paragraph p.caption{font-size:0.71em;line-height:135%;letter-spacing:6%}@media (min-width: 768px) and (max-width: 1365px){.cura-paragraph p{font-size:1.14em;line-height:145%}.cura-paragraph p.large{font-size:1.35em;line-height:150%}.cura-paragraph p.small{font-size:1em;line-height:135%}.cura-paragraph p.caption{font-size:0.85em;line-height:135%;letter-spacing:6%}}@media (min-width: 1366px){.cura-paragraph p{font-size:1.42em;line-height:150%;letter-spacing:0%}.cura-paragraph p.large{font-size:1.71em;line-height:160%}.cura-paragraph p.small{font-size:1.21em;line-height:145%;letter-spacing:0%}.cura-paragraph p.caption{font-size:1em;line-height:145%;letter-spacing:2%}}.cura-paragraph b,.cura-paragraph strong{font-weight:var(--font-weight-bold)}.cura-paragraph a{font-weight:var(--font-weight-medium);color:var(--color-link);text-underline-offset:10%}.cura-paragraph 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}";
4
4
 
5
- const CuraParagraph$1 = /*@__PURE__*/ proxyCustomElement(class CuraParagraph extends HTMLElement {
5
+ const CuraParagraph$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
6
  constructor() {
7
7
  super();
8
8
  this.__registerHost();
9
- this.__attachShadow();
9
+ /**
10
+ * Set size of body text.
11
+ * Values: regular (default) | large | small | caption.
12
+ */
10
13
  this.size = 'regular';
14
+ /**
15
+ * Apply light color to text in dark background.
16
+ * Values: boolean.
17
+ */
11
18
  this.inverted = false;
19
+ /**
20
+ * Apply base system color to elements like <a> and <abbr>.
21
+ * Values: String primary(default) | secondary | accent | neutral | success | error | warning | info.
22
+ */
12
23
  this.spotColor = 'primary';
13
24
  }
14
25
  connectedCallback() {
@@ -45,11 +56,11 @@ const CuraParagraph$1 = /*@__PURE__*/ proxyCustomElement(class CuraParagraph ext
45
56
  this.host.style.setProperty(prop, value);
46
57
  }
47
58
  render() {
48
- return (h(Host, null, h("p", { style: this.styles, class: this.setsizeClass() }, h("slot", null))));
59
+ return (h(Host, { class: "cura-paragraph" }, h("p", { style: this.styles, class: this.setsizeClass() }, h("slot", null))));
49
60
  }
50
61
  get host() { return this; }
51
62
  static get style() { return curaParagraphCss; }
52
- }, [1, "cura-paragraph", {
63
+ }, [4, "cura-paragraph", {
53
64
  "size": [513],
54
65
  "inverted": [516],
55
66
  "spotColor": [513, "spot-color"]
@@ -72,5 +83,3 @@ const CuraParagraph = CuraParagraph$1;
72
83
  const defineCustomElement = defineCustomElement$1;
73
84
 
74
85
  export { CuraParagraph, defineCustomElement };
75
-
76
- //# sourceMappingURL=cura-paragraph.js.map
@@ -1,3 +1,11 @@
1
+ /* cura custom elements */
2
+ export { CuraDisplay as CuraDisplay } from '../types/components/text/cura-display/cura-display';
3
+ export { CuraHeading as CuraHeading } from '../types/components/text/cura-heading/cura-heading';
4
+ export { CuraIcon as CuraIcon } from '../types/components/cura-icon/cura-icon';
5
+ export { CuraIconsView as CuraIconsView } from '../types/components/cura-icons-view/cura-icons-view';
6
+ export { CuraPageTemplate as CuraPageTemplate } from '../types/components/cura-page-template/cura-page-template';
7
+ export { CuraParagraph as CuraParagraph } from '../types/components/text/cura-paragraph/cura-paragraph';
8
+
1
9
  /**
2
10
  * Used to manually set the base path where assets can be found.
3
11
  * If the script is used as "module", it's recommended to use "import.meta.url",
@@ -10,30 +18,10 @@
10
18
  */
11
19
  export declare const setAssetPath: (path: string) => void;
12
20
 
13
- /**
14
- * Used to specify a nonce value that corresponds with an application's CSP.
15
- * When set, the nonce will be added to all dynamically created script and style tags at runtime.
16
- * Alternatively, the nonce value can be set on a meta tag in the DOM head
17
- * (<meta name="csp-nonce" content="{ nonce value here }" />) which
18
- * will result in the same behavior.
19
- */
20
- export declare const setNonce: (nonce: string) => void
21
-
22
21
  export interface SetPlatformOptions {
23
22
  raf?: (c: FrameRequestCallback) => number;
24
23
  ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
25
24
  rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
26
25
  }
27
26
  export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
28
-
29
- /**
30
- * Utility to define all custom elements within this package using the tag name provided in the component's source.
31
- * When defining each custom element, it will also check it's safe to define by:
32
- *
33
- * 1. Ensuring the "customElements" registry is available in the global context (window).
34
- * 2. Ensuring that the component tag name is not already defined.
35
- *
36
- * Use the standard [customElements.define()](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define)
37
- * method instead to define custom elements individually, or to provide a different tag name.
38
- */
39
- export declare const defineCustomElements: (opts?: any) => void;
27
+ export * from '../types';