@redvars/peacock 3.1.1 → 3.1.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 (132) hide show
  1. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/avatar.css.js.map +1 -1
  2. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/avatar.d.ts +19 -0
  3. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/avatar.js +19 -0
  4. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/avatar.js.map +1 -1
  5. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/p-avatar.d.ts +0 -7
  6. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/p-avatar.js +0 -7
  7. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/p-avatar.js.map +1 -1
  8. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/badge.css.js +5 -4
  9. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/badge.css.js.map +1 -1
  10. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/badge.d.ts +15 -1
  11. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/badge.js +27 -10
  12. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/badge.js.map +1 -1
  13. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/p-badge.d.ts +0 -5
  14. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/p-badge.js +0 -5
  15. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/p-badge.js.map +1 -1
  16. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/clock.css.d.ts +1 -0
  17. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/clock.css.js +12 -0
  18. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/clock.css.js.map +1 -0
  19. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/clock.d.ts +27 -0
  20. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/clock.js +58 -0
  21. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/clock.js.map +1 -0
  22. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/index.d.ts +1 -0
  23. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/index.js +2 -0
  24. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/index.js.map +1 -0
  25. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/divider.css.d.ts +1 -0
  26. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/divider.css.js +58 -0
  27. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/divider.css.js.map +1 -0
  28. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/divider.d.ts +28 -0
  29. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/divider.js +68 -0
  30. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/divider.js.map +1 -0
  31. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/index.d.ts +1 -0
  32. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/index.js +2 -0
  33. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/index.js.map +1 -0
  34. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/icon/icon.d.ts +21 -1
  35. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/icon/icon.js +16 -0
  36. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/icon/icon.js.map +1 -1
  37. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/icon/p-icon.d.ts +0 -7
  38. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/icon/p-icon.js +0 -7
  39. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/icon/p-icon.js.map +1 -1
  40. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/index.d.ts +2 -0
  41. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/index.js +2 -0
  42. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/index.js.map +1 -1
  43. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/peacock-loader.js +12 -2
  44. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/peacock-loader.js.map +1 -1
  45. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/utils.d.ts +1 -0
  46. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/utils.js +32 -0
  47. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/utils.js.map +1 -1
  48. package/.rollup.cache/E/git/redvars/peacock/components/dist/tsconfig.tsbuildinfo +1 -1
  49. package/bin/typedoc-gen.mjs +64 -0
  50. package/custom-elements-manifest.config.mjs +5 -6
  51. package/demo/index.html +4 -5
  52. package/demo/int.html +2 -0
  53. package/dist/{component/avatar.js → avatar.js} +25 -19
  54. package/dist/avatar.js.map +1 -0
  55. package/dist/badge.js +89 -0
  56. package/dist/badge.js.map +1 -0
  57. package/dist/class-map-DpvLRi0h.js +11 -0
  58. package/dist/class-map-DpvLRi0h.js.map +1 -0
  59. package/dist/clock.js +70 -0
  60. package/dist/clock.js.map +1 -0
  61. package/dist/custom-elements-jsdocs.json +656 -0
  62. package/dist/directive-BKuZRRPO.js +9 -0
  63. package/dist/directive-BKuZRRPO.js.map +1 -0
  64. package/dist/divider.js +123 -0
  65. package/dist/divider.js.map +1 -0
  66. package/dist/{component/icon.js → icon.js} +20 -101
  67. package/dist/icon.js.map +1 -0
  68. package/dist/index.js +11 -67
  69. package/dist/index.js.map +1 -1
  70. package/dist/peacock-loader.js +21 -12
  71. package/dist/peacock-loader.js.map +1 -1
  72. package/dist/{directive-CKEA2P55.js → property-D4Kn9TsY.js} +6 -13
  73. package/dist/property-D4Kn9TsY.js.map +1 -0
  74. package/dist/src/avatar/avatar.d.ts +19 -0
  75. package/dist/src/avatar/p-avatar.d.ts +0 -7
  76. package/dist/src/badge/badge.d.ts +15 -1
  77. package/dist/src/badge/p-badge.d.ts +0 -5
  78. package/dist/src/clock/clock.css.d.ts +1 -0
  79. package/dist/src/clock/clock.d.ts +27 -0
  80. package/dist/src/clock/index.d.ts +1 -0
  81. package/dist/src/divider/divider.css.d.ts +1 -0
  82. package/dist/src/divider/divider.d.ts +28 -0
  83. package/dist/src/divider/index.d.ts +1 -0
  84. package/dist/src/icon/icon.d.ts +21 -1
  85. package/dist/src/icon/p-icon.d.ts +0 -7
  86. package/dist/src/index.d.ts +2 -0
  87. package/dist/src/utils.d.ts +1 -0
  88. package/dist/state-CxzmLNIi.js +10 -0
  89. package/dist/state-CxzmLNIi.js.map +1 -0
  90. package/dist/styleMixins.css-CivfMYtB.js +17 -0
  91. package/dist/styleMixins.css-CivfMYtB.js.map +1 -0
  92. package/dist/tsconfig.tsbuildinfo +1 -1
  93. package/dist/utils-_5no4mk7.js +128 -0
  94. package/dist/utils-_5no4mk7.js.map +1 -0
  95. package/package.json +8 -8
  96. package/readme.md +5 -17
  97. package/rollup.config.js +71 -37
  98. package/scratch.mjs +0 -0
  99. package/src/avatar/avatar.css.ts +1 -1
  100. package/src/avatar/avatar.ts +19 -0
  101. package/src/avatar/p-avatar.ts +0 -7
  102. package/src/badge/badge.css.ts +5 -4
  103. package/src/badge/badge.ts +30 -8
  104. package/src/badge/demo/index.html +9 -1
  105. package/src/badge/p-badge.ts +0 -5
  106. package/src/clock/clock.css.ts +12 -0
  107. package/src/clock/clock.ts +57 -0
  108. package/src/clock/demo/index.html +26 -0
  109. package/src/clock/index.ts +1 -0
  110. package/src/divider/demo/index.html +58 -0
  111. package/src/divider/divider.css.ts +58 -0
  112. package/src/divider/divider.ts +65 -0
  113. package/src/divider/index.ts +1 -0
  114. package/src/icon/icon.ts +21 -1
  115. package/src/icon/p-icon.ts +0 -7
  116. package/src/index.ts +2 -0
  117. package/src/peacock-loader.ts +12 -3
  118. package/src/utils.ts +43 -0
  119. package/assets/tokens.css +0 -522
  120. package/copyDesignFiles.js +0 -11
  121. package/custom-elements.md +0 -192
  122. package/dist/avatar-GQwWRGRw.js +0 -418
  123. package/dist/avatar-GQwWRGRw.js.map +0 -1
  124. package/dist/avatar-jfcIDB8G.js +0 -424
  125. package/dist/avatar-jfcIDB8G.js.map +0 -1
  126. package/dist/component/avatar.js.map +0 -1
  127. package/dist/component/icon.js.map +0 -1
  128. package/dist/directive-CKEA2P55.js.map +0 -1
  129. package/dist/utils-CSwoJIcG.js +0 -171
  130. package/dist/utils-CSwoJIcG.js.map +0 -1
  131. package/dist/web-types.json +0 -78
  132. package/readme-gen.mjs +0 -24
@@ -0,0 +1,123 @@
1
+ import { i, _ as __decorate, n, a as i$1, b } from './property-D4Kn9TsY.js';
2
+ import { r } from './state-CxzmLNIi.js';
3
+ import { e } from './class-map-DpvLRi0h.js';
4
+ import { o as observerSlotChangesWithCallback } from './utils-_5no4mk7.js';
5
+ import './directive-BKuZRRPO.js';
6
+
7
+ const styles = i `
8
+ :host {
9
+ display: block;
10
+
11
+ --divider-color: var(--color-outline-variant);
12
+ --divider-padding: var(--spacing-200);
13
+ }
14
+
15
+ .divider {
16
+ display: flex;
17
+ margin: 0;
18
+ @include get-typography(body-small-emphasized);
19
+ color: var(--divider-color);
20
+
21
+ &:not(.vertical) {
22
+ width: 100%;
23
+ padding: var(--divider-padding) 0;
24
+ align-items: center;
25
+ justify-content: center;
26
+
27
+ .line {
28
+ width: 100%;
29
+ border-top: 1px solid var(--divider-color);
30
+ }
31
+
32
+ &.slot-has-content .slot-container {
33
+ padding: 0 var(--spacing-200);
34
+ }
35
+ }
36
+
37
+ &.vertical {
38
+ height: 100%;
39
+ padding: 0 var(--divider-padding);
40
+ flex-direction: column;
41
+ align-items: center;
42
+ justify-content: center;
43
+
44
+ .line {
45
+ height: 100%;
46
+ border-right: 1px solid var(--divider-color);
47
+ }
48
+
49
+ &.slot-has-content .slot-container {
50
+ padding: var(--spacing-200) 0;
51
+ }
52
+ }
53
+ }
54
+
55
+ :host(:not([vertical])) {
56
+ width: auto;
57
+ }
58
+
59
+ :host([vertical]) {
60
+ height: auto;
61
+ }
62
+ `;
63
+
64
+ var _Divider_instances;
65
+ /**
66
+ * @label Divider
67
+ * @tag p-divider
68
+ * @rawTag divider
69
+ *
70
+ * @summary The divider component is used to visually separate content.
71
+ * @overview
72
+ * - Dividers are used to separate content into clear groups, making it easier for users to scan and understand the information presented.
73
+ * - They can be oriented either vertically or horizontally, depending on the layout requirements.
74
+ *
75
+ * @cssprop --divider-color - Controls the color of the divider.
76
+ * @cssprop --divider-padding - Controls the padding of the divider.
77
+ *
78
+ * @example
79
+ * ```html
80
+ * <p-divider style="width: 12rem;">or</p-divider>
81
+ * ```
82
+ * @tags display
83
+ */
84
+ class Divider extends i$1 {
85
+ constructor() {
86
+ super(...arguments);
87
+ _Divider_instances.add(this);
88
+ this.vertical = false;
89
+ this.slotHasContent = false;
90
+ }
91
+ firstUpdated() {
92
+ observerSlotChangesWithCallback(this.renderRoot.querySelector('slot'), hasContent => {
93
+ this.slotHasContent = hasContent;
94
+ this.requestUpdate();
95
+ });
96
+ }
97
+ render() {
98
+ return b `<div
99
+ class=${e({
100
+ divider: true,
101
+ vertical: this.vertical,
102
+ 'slot-has-content': this.slotHasContent,
103
+ })}
104
+ >
105
+ <div class="line"></div>
106
+ <div class="slot-container">
107
+ <slot></slot>
108
+ </div>
109
+ <div class="line"></div>
110
+ </div>`;
111
+ }
112
+ }
113
+ _Divider_instances = new WeakSet();
114
+ Divider.styles = [styles];
115
+ __decorate([
116
+ n({ type: Boolean, reflect: true })
117
+ ], Divider.prototype, "vertical", void 0);
118
+ __decorate([
119
+ r()
120
+ ], Divider.prototype, "slotHasContent", void 0);
121
+
122
+ export { Divider };
123
+ //# sourceMappingURL=divider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"divider.js","sources":["../../src/divider/divider.css.ts","../../src/divider/divider.ts"],"sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`\n :host {\n display: block;\n\n --divider-color: var(--color-outline-variant);\n --divider-padding: var(--spacing-200);\n }\n\n .divider {\n display: flex;\n margin: 0;\n @include get-typography(body-small-emphasized);\n color: var(--divider-color);\n\n &:not(.vertical) {\n width: 100%;\n padding: var(--divider-padding) 0;\n align-items: center;\n justify-content: center;\n\n .line {\n width: 100%;\n border-top: 1px solid var(--divider-color);\n }\n\n &.slot-has-content .slot-container {\n padding: 0 var(--spacing-200);\n }\n }\n\n &.vertical {\n height: 100%;\n padding: 0 var(--divider-padding);\n flex-direction: column;\n align-items: center;\n justify-content: center;\n\n .line {\n height: 100%;\n border-right: 1px solid var(--divider-color);\n }\n\n &.slot-has-content .slot-container {\n padding: var(--spacing-200) 0;\n }\n }\n }\n\n :host(:not([vertical])) {\n width: auto;\n }\n\n :host([vertical]) {\n height: auto;\n }\n`;\n","import { html, LitElement } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { styles } from './divider.css.js';\nimport { observerSlotChangesWithCallback } from '../utils.js';\n\n/**\n * @label Divider\n * @tag p-divider\n * @rawTag divider\n *\n * @summary The divider component is used to visually separate content.\n * @overview\n * - Dividers are used to separate content into clear groups, making it easier for users to scan and understand the information presented.\n * - They can be oriented either vertically or horizontally, depending on the layout requirements.\n *\n * @cssprop --divider-color - Controls the color of the divider.\n * @cssprop --divider-padding - Controls the padding of the divider.\n *\n * @example\n * ```html\n * <p-divider style=\"width: 12rem;\">or</p-divider>\n * ```\n * @tags display\n */\nexport class Divider extends LitElement {\n static styles = [styles];\n\n @property({ type: Boolean, reflect: true }) vertical = false;\n\n @state()\n slotHasContent = false;\n\n firstUpdated() {\n observerSlotChangesWithCallback(\n this.renderRoot.querySelector('slot'),\n hasContent => {\n this.slotHasContent = hasContent;\n this.requestUpdate();\n },\n );\n }\n\n render() {\n return html`<div\n class=${classMap({\n divider: true,\n vertical: this.vertical,\n 'slot-has-content': this.slotHasContent,\n })}\n >\n <div class=\"line\"></div>\n <div class=\"slot-container\">\n <slot></slot>\n </div>\n <div class=\"line\"></div>\n </div>`;\n }\n\n #handleSlotChange(event: { target: any }) {\n const slot = event.target;\n // Check assignedElements length\n this.slotHasContent = slot.assignedNodes({ flatten: true }).length > 0;\n }\n}\n"],"names":["css","LitElement","html","classMap","property","state"],"mappings":";;;;;;AAEO,MAAM,MAAM,GAAGA,CAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuDxB;;;ACnDD;;;;;;;;;;;;;;;;;;AAkBG;AACG,MAAO,OAAQ,SAAQC,GAAU,CAAA;AAAvC,IAAA,WAAA,GAAA;;;QAG8C,IAAA,CAAA,QAAQ,GAAG,KAAK;QAG5D,IAAA,CAAA,cAAc,GAAG,KAAK;IAiCxB;IA/BE,YAAY,GAAA;AACV,QAAA,+BAA+B,CAC7B,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM,CAAC,EACrC,UAAU,IAAG;AACX,YAAA,IAAI,CAAC,cAAc,GAAG,UAAU;YAChC,IAAI,CAAC,aAAa,EAAE;AACtB,QAAA,CAAC,CACF;IACH;IAEA,MAAM,GAAA;AACJ,QAAA,OAAOC,CAAI,CAAA,CAAA;AACD,YAAA,EAAAC,CAAQ,CAAC;AACf,YAAA,OAAO,EAAE,IAAI;YACb,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,kBAAkB,EAAE,IAAI,CAAC,cAAc;SACxC,CAAC;;;;;;;WAOG;IACT;;kCAMC;AArCM,OAAA,CAAA,MAAM,GAAG,CAAC,MAAM,CAAC;AAEoB,UAAA,CAAA;IAA3CC,CAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE;AAAmB,CAAA,EAAA,OAAA,CAAA,SAAA,EAAA,UAAA,EAAA,MAAA,CAAA;AAG7D,UAAA,CAAA;AADC,IAAAC,CAAK;AACiB,CAAA,EAAA,OAAA,CAAA,SAAA,EAAA,gBAAA,EAAA,MAAA,CAAA;;;;"}
@@ -1,10 +1,7 @@
1
- import { n, i, A, t as t$1, E, e as e$1, a as i$1, _ as __decorate, b as i$2, c as b } from '../directive-CKEA2P55.js';
2
-
3
- /**
4
- * @license
5
- * Copyright 2017 Google LLC
6
- * SPDX-License-Identifier: BSD-3-Clause
7
- */function r(r){return n({...r,state:true,attribute:false})}
1
+ import { A, E, i as i$1, _ as __decorate, n, a as i$2, b } from './property-D4Kn9TsY.js';
2
+ import { r } from './state-CxzmLNIi.js';
3
+ import { i, t as t$1, e as e$1 } from './directive-BKuZRRPO.js';
4
+ import { c as createCacheFetch, s as sanitizeSvg } from './utils-_5no4mk7.js';
8
5
 
9
6
  /**
10
7
  * @license
@@ -18,100 +15,6 @@ import { n, i, A, t as t$1, E, e as e$1, a as i$1, _ as __decorate, b as i$2, c
18
15
  * SPDX-License-Identifier: BSD-3-Clause
19
16
  */class t extends e{}t.directiveName="unsafeSVG",t.resultType=2;const o=e$1(t);
20
17
 
21
- async function createCacheFetch(name) {
22
- let cache = null;
23
- // This map tracks requests currently being processed
24
- const inFlightRequests = new Map();
25
- try {
26
- cache = await window.caches.open(name);
27
- }
28
- catch (e) {
29
- console.warn('window.caches access not allowed');
30
- }
31
- return async (url) => {
32
- // 1. Check if we are already fetching this URL
33
- if (inFlightRequests.has(url)) {
34
- // Return the existing promise instead of starting a new one
35
- return inFlightRequests.get(url);
36
- }
37
- // 2. Create the main logic as a promise
38
- const fetchPromise = (async () => {
39
- const request = new Request(url);
40
- // Check Cache first
41
- if (cache) {
42
- const cachedResponse = await cache.match(request);
43
- if (cachedResponse) {
44
- return await cachedResponse.text();
45
- }
46
- }
47
- // Prepare network request
48
- const urlObj = new URL(request.url);
49
- const isSameOrigin = urlObj.origin === window.location.origin;
50
- const response = await fetch(request.url, {
51
- method: 'GET',
52
- mode: isSameOrigin ? 'no-cors' : 'cors',
53
- credentials: isSameOrigin ? 'same-origin' : 'omit',
54
- });
55
- // --- Handle 404 ---
56
- if (response.status === 404) {
57
- console.error(`[Fetch Error] Resource not found (404): ${url}`);
58
- return ''; // Return empty string as requested
59
- }
60
- const result = await response.text();
61
- // Update Cache if applicable
62
- if (cache && response.status === 200) {
63
- // We clone the response logic by creating a new Response with the text body
64
- await cache.put(request, new Response(result, {
65
- status: response.status,
66
- statusText: response.statusText,
67
- headers: response.headers,
68
- }));
69
- }
70
- return result;
71
- })();
72
- // 3. Store the promise in the map
73
- inFlightRequests.set(url, fetchPromise);
74
- try {
75
- // 4. Wait for the result
76
- return await fetchPromise;
77
- }
78
- finally {
79
- // 5. Clean up: Remove the promise from the map when done
80
- // This ensures subsequent calls (after this one finishes) can start fresh
81
- inFlightRequests.delete(url);
82
- }
83
- };
84
- }
85
- // Basic sanitization: remove <script>, <foreignObject>, event handler attributes (on*), and iframes
86
- function sanitizeSvg(rawSvg) {
87
- try {
88
- const parser = new DOMParser();
89
- const doc = parser.parseFromString(rawSvg, 'image/svg+xml');
90
- // remove script tags
91
- const scripts = Array.from(doc.querySelectorAll('script'));
92
- scripts.forEach(n => n.remove());
93
- // remove foreignObject and iframe-like elements
94
- const foreigns = Array.from(doc.querySelectorAll('foreignObject, iframe'));
95
- foreigns.forEach(n => n.remove());
96
- // remove event handler attributes like onload, onclick, etc.
97
- const all = Array.from(doc.querySelectorAll('*'));
98
- all.forEach(el => {
99
- const attrs = Array.from(el.attributes).filter(a => /^on/i.test(a.name));
100
- attrs.forEach(a => el.removeAttribute(a.name));
101
- });
102
- const el = doc.documentElement;
103
- if (!el)
104
- return '';
105
- // serialize back to string
106
- const serializer = new XMLSerializer();
107
- return serializer.serializeToString(el);
108
- }
109
- catch (e) {
110
- // parsing failed; fall back to empty content to avoid injecting unsafe content
111
- return '';
112
- }
113
- }
114
-
115
18
  const PROVIDERS = {
116
19
  'material-symbols': (name) => `https://cdn.jsdelivr.net/npm/@material-symbols/svg-500@0.40.1/outlined/${name}.svg`,
117
20
  carbon: (name) => `https://cdn.jsdelivr.net/npm/@carbon/icons@11.41.0/svg/32/${name}.svg`,
@@ -152,6 +55,22 @@ const styles = i$1 `
152
55
  }
153
56
  `;
154
57
 
58
+ /**
59
+ * @label Icon
60
+ * @tag p-icon
61
+ * @rawTag icon
62
+ * @summary Icons are visual symbols used to represent ideas, objects, or actions.
63
+ * @overview Icons are visual symbols used to represent ideas, objects, or actions. They communicate messages at a glance, afford interactivity, and draw attention to important information.
64
+ *
65
+ * @cssprop --icon-color - Controls the color of the icon.
66
+ * @cssprop [--icon-size=1rem] - Controls the size of the icon. Defaults to "1rem"
67
+ *
68
+ * @example
69
+ * ```html
70
+ * <p-icon name="home"></p-icon>
71
+ * ```
72
+ *
73
+ */
155
74
  class Icon extends i$2 {
156
75
  constructor() {
157
76
  super(...arguments);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon.js","sources":["../node_modules/lit-html/directives/unsafe-html.js","../node_modules/lit-html/directives/unsafe-svg.js","../../src/icon/datasource.ts","../../src/icon/icon.css.ts","../../src/icon/icon.ts"],"sourcesContent":["import{nothing as t,noChange as i}from\"../lit-html.js\";import{directive as r,Directive as s,PartType as n}from\"../directive.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */class e extends s{constructor(i){if(super(i),this.it=t,i.type!==n.CHILD)throw Error(this.constructor.directiveName+\"() can only be used in child bindings\")}render(r){if(r===t||null==r)return this._t=void 0,this.it=r;if(r===i)return r;if(\"string\"!=typeof r)throw Error(this.constructor.directiveName+\"() called with a non-string value\");if(r===this.it)return this._t;this.it=r;const s=[r];return s.raw=s,this._t={_$litType$:this.constructor.resultType,strings:s,values:[]}}}e.directiveName=\"unsafeHTML\",e.resultType=1;const o=r(e);export{e as UnsafeHTMLDirective,o as unsafeHTML};\n//# sourceMappingURL=unsafe-html.js.map\n","import{directive as s}from\"../directive.js\";import{UnsafeHTMLDirective as e}from\"./unsafe-html.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */class t extends e{}t.directiveName=\"unsafeSVG\",t.resultType=2;const o=s(t);export{o as unsafeSVG};\n//# sourceMappingURL=unsafe-svg.js.map\n","import { createCacheFetch } from '../utils.js';\n\nconst PROVIDERS: Record<string, (name: string) => string> = {\n 'material-symbols': (name: string) =>\n `https://cdn.jsdelivr.net/npm/@material-symbols/svg-500@0.40.1/outlined/${name}.svg`,\n carbon: (name: string) =>\n `https://cdn.jsdelivr.net/npm/@carbon/icons@11.41.0/svg/32/${name}.svg`,\n};\n\nconst cacheFetch = await createCacheFetch('svg-cache');\n\nexport async function fetchSVG(url: string) {\n if (!url) return '';\n return cacheFetch(url);\n}\n\nexport async function fetchIcon(\n name: string,\n provider: string = 'material-symbols',\n) {\n if (!name) return '';\n\n if (!PROVIDERS[provider]) {\n throw new Error(`Provider '${provider}' not found`);\n }\n\n return fetchSVG(PROVIDERS[provider](name));\n}\n","import { css } from 'lit';\n\nexport const styles = css`\n :host {\n display: inline-block;\n line-height: 0;\n --icon-size: inherit;\n --icon-color: inherit;\n }\n\n .icon {\n display: inline-block;\n height: var(--icon-size, 1rem);\n width: var(--icon-size, 1rem);\n\n svg {\n fill: var(--icon-color);\n height: 100%;\n width: 100%;\n }\n }\n`;\n","import { html, LitElement } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { unsafeSVG } from 'lit/directives/unsafe-svg.js';\nimport { fetchIcon, fetchSVG } from './datasource.js';\nimport { sanitizeSvg } from '../utils.js';\nimport { styles } from './icon.css.js';\n\n/**\n * @label Icon\n * @tag p-icon\n * @rawTag icon\n * @summary Icons are visual symbols used to represent ideas, objects, or actions.\n * @overview Icons are visual symbols used to represent ideas, objects, or actions. They communicate messages at a glance, afford interactivity, and draw attention to important information.\n *\n * @cssprop --icon-color - Controls the color of the icon.\n * @cssprop [--icon-size=1rem] - Controls the size of the icon. Defaults to \"1rem\"\n *\n * @example\n * ```html\n * <p-icon name=\"home\"></p-icon>\n * ```\n *\n */\nexport class Icon extends LitElement {\n static styles = [styles];\n\n /**\n * The identifier for the icon.\n * This name corresponds to a specific SVG asset in the icon set.\n */\n @property({ type: String, reflect: true }) name?: string;\n\n @property({ type: String, reflect: true }) src?: string;\n\n @property({ type: String }) provider: 'material-symbols' | 'carbon' =\n 'material-symbols';\n\n @state()\n private svgContent: string = '';\n\n // loading + error states for consumers/tests\n @state()\n private loading: boolean = false;\n\n @state()\n private error: Error | null = null;\n\n // token to avoid race conditions when multiple fetches overlap\n private _fetchId = 0;\n\n // optional debounce for rapid property changes\n private _debounceTimer: number | undefined;\n\n firstUpdated() {\n // perform initial fetch once component is connected and rendered\n this.__scheduleUpdate();\n }\n\n updated(changedProperties: any) {\n // only refetch when name or src changed\n if (changedProperties.has('name') || changedProperties.has('src')) {\n this.__scheduleUpdate();\n }\n }\n\n render() {\n // accessible wrapper; consumers can provide a fallback via <slot name=\"fallback\">.\n return html` <div class=\"icon\">\n ${this.svgContent\n ? unsafeSVG(this.svgContent)\n : html`<slot name=\"fallback\"></slot>`}\n </div>`;\n }\n\n // small debounce to coalesce rapid changes (50ms)\n private __scheduleUpdate() {\n if (this._debounceTimer) {\n clearTimeout(this._debounceTimer as any);\n }\n // @ts-ignore - setTimeout in DOM returns number\n this._debounceTimer = window.setTimeout(() => this.__updateSvg(), 50);\n }\n\n /**\n * @internal\n */\n private async __updateSvg() {\n this._fetchId += 1;\n const currentId = this._fetchId;\n this.loading = true;\n this.error = null;\n\n try {\n let raw: string | undefined;\n\n if (this.name) {\n raw = await fetchIcon(this.name, this.provider);\n } else if (this.src) {\n raw = await fetchSVG(this.src);\n } else {\n raw = '';\n }\n\n // If another fetch started after this one, ignore this result\n if (currentId !== this._fetchId) return;\n\n if (raw) {\n this.svgContent = sanitizeSvg(raw);\n } else {\n this.svgContent = '';\n }\n } catch (err: any) {\n // capture and surface error, but avoid throwing\n this.error = err instanceof Error ? err : new Error(String(err));\n this.svgContent = '';\n // bubble an event so consumers can react\n this.dispatchEvent(\n new CustomEvent('icon-error', {\n detail: { name: this.name, src: this.src, error: this.error },\n bubbles: true,\n composed: true,\n }),\n );\n } finally {\n // ensure loading is cleared unless another fetch started\n if (currentId === this._fetchId) {\n this.loading = false;\n }\n }\n }\n}\n"],"names":["s","t","n","i","css","LitElement","html","unsafeSVG","property","state"],"mappings":"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","x_google_ignoreList":[0,1]}
package/dist/index.js CHANGED
@@ -1,68 +1,12 @@
1
- import { g as getTypography, i, _ as __decorate, n, r, a as i$1, e, b as __classPrivateFieldGet, c as b } from './avatar-jfcIDB8G.js';
2
- export { A as Avatar, I as Icon } from './avatar-jfcIDB8G.js';
3
-
4
- const styles = i `
5
- :host {
6
- display: inline-block;
7
- --badge-color: var(--global-badge-color);
8
- }
9
-
10
- .badge {
11
- pointer-events: none;
12
- z-index: var(--z-index-badge);
13
- color: var(--color-white);
14
- display: flex;
15
- justify-content: center;
16
- align-items: center;
17
- background-color: var(--badge-color);
18
- border-radius: var(--shape-corner-full);
19
-
20
- &.has-content {
21
- height: 1rem;
22
- min-width: 1rem;
23
- padding-inline: var(--spacing-050);
24
- ${getTypography('label-small')};
25
- color: var(--color-on-error);
26
- }
27
-
28
- &:not(.has-content) {
29
- height: 6px;
30
- width: 6px;
31
- }
32
- }
33
- `;
34
-
35
- var _Badge_instances, _Badge_handleSlotChange;
36
- class Badge extends i$1 {
37
- constructor() {
38
- super(...arguments);
39
- _Badge_instances.add(this);
40
- this.name = '';
41
- this.slotHasContent = false;
42
- }
43
- render() {
44
- return b `<div
45
- class=${e({ badge: true, 'has-content': this.slotHasContent })}
46
- >
47
- <slot @slotchange=${__classPrivateFieldGet(this, _Badge_instances, "m", _Badge_handleSlotChange)}></slot>
48
- </div>`;
49
- }
50
- }
51
- _Badge_instances = new WeakSet(), _Badge_handleSlotChange = function _Badge_handleSlotChange(event) {
52
- const slot = event.target;
53
- // Check assignedElements length
54
- this.slotHasContent = slot.assignedElements().length > 0;
55
- };
56
- Badge.styles = [styles];
57
- __decorate([
58
- n({ type: String, reflect: true })
59
- ], Badge.prototype, "name", void 0);
60
- __decorate([
61
- n({ type: String, reflect: true })
62
- ], Badge.prototype, "src", void 0);
63
- __decorate([
64
- r()
65
- ], Badge.prototype, "slotHasContent", void 0);
66
-
67
- export { Badge };
1
+ export { Icon } from './icon.js';
2
+ export { Avatar } from './avatar.js';
3
+ export { Badge } from './badge.js';
4
+ export { Divider } from './divider.js';
5
+ export { Clock } from './clock.js';
6
+ import './property-D4Kn9TsY.js';
7
+ import './state-CxzmLNIi.js';
8
+ import './directive-BKuZRRPO.js';
9
+ import './utils-_5no4mk7.js';
10
+ import './class-map-DpvLRi0h.js';
11
+ import './styleMixins.css-CivfMYtB.js';
68
12
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../src/badge/badge.css.ts","../../src/badge/badge.ts"],"sourcesContent":["import { css } from 'lit';\nimport { getTypography } from '../styleMixins.css.js';\n\nexport const styles = css`\n :host {\n display: inline-block;\n --badge-color: var(--global-badge-color);\n }\n\n .badge {\n pointer-events: none;\n z-index: var(--z-index-badge);\n color: var(--color-white);\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: var(--badge-color);\n border-radius: var(--shape-corner-full);\n\n &.has-content {\n height: 1rem;\n min-width: 1rem;\n padding-inline: var(--spacing-050);\n ${getTypography('label-small')};\n color: var(--color-on-error);\n }\n\n &:not(.has-content) {\n height: 6px;\n width: 6px;\n }\n }\n`;\n","import { html, LitElement } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { styles } from './badge.css.js';\n\nexport class Badge extends LitElement {\n static styles = [styles];\n\n @property({ type: String, reflect: true }) name: string = '';\n\n @property({ type: String, reflect: true }) src?: string;\n\n @state()\n slotHasContent = false;\n\n render() {\n return html`<div\n class=${classMap({ badge: true, 'has-content': this.slotHasContent })}\n >\n <slot @slotchange=${this.#handleSlotChange}></slot>\n </div>`;\n }\n\n #handleSlotChange(event: { target: any }) {\n const slot = event.target;\n // Check assignedElements length\n this.slotHasContent = slot.assignedElements().length > 0;\n }\n}\n"],"names":["css","LitElement","html","classMap","property","state"],"mappings":";;;AAGO,MAAM,MAAM,GAAGA,CAAG,CAAA;;;;;;;;;;;;;;;;;;;;QAoBjB,aAAa,CAAC,aAAa,CAAC,CAAA;;;;;;;;;CASnC;;;AC3BK,MAAO,KAAM,SAAQC,GAAU,CAAA;AAArC,IAAA,WAAA,GAAA;;;QAG6C,IAAA,CAAA,IAAI,GAAW,EAAE;QAK5D,IAAA,CAAA,cAAc,GAAG,KAAK;IAexB;IAbE,MAAM,GAAA;AACJ,QAAA,OAAOC,CAAI,CAAA,CAAA;AACD,YAAA,EAAAC,CAAQ,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE,CAAC;;AAEjD,wBAAA,EAAA,sBAAA,CAAA,IAAI,EAAA,gBAAA,EAAA,GAAA,EAAA,uBAAA,CAAkB,CAAA;WACrC;IACT;;6FAEkB,KAAsB,EAAA;AACtC,IAAA,MAAM,IAAI,GAAG,KAAK,CAAC,MAAM;;IAEzB,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC,MAAM,GAAG,CAAC;AAC1D,CAAC;AArBM,KAAA,CAAA,MAAM,GAAG,CAAC,MAAM,CAAC;AAEmB,UAAA,CAAA;IAA1CC,CAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE;AAAoB,CAAA,EAAA,KAAA,CAAA,SAAA,EAAA,MAAA,EAAA,MAAA,CAAA;AAElB,UAAA,CAAA;IAA1CA,CAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE;AAAe,CAAA,EAAA,KAAA,CAAA,SAAA,EAAA,KAAA,EAAA,MAAA,CAAA;AAGxD,UAAA,CAAA;AADC,IAAAC,CAAK;AACiB,CAAA,EAAA,KAAA,CAAA,SAAA,EAAA,gBAAA,EAAA,MAAA,CAAA;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
@@ -1,4 +1,15 @@
1
- import { d as r, f as focusRing, i, g as getTypography, A as Avatar, I as Icon } from './avatar-jfcIDB8G.js';
1
+ import { Icon } from './icon.js';
2
+ import { Avatar } from './avatar.js';
3
+ import { Badge } from './badge.js';
4
+ import { Divider } from './divider.js';
5
+ import { r, i } from './property-D4Kn9TsY.js';
6
+ import { f as focusRing, g as getTypography } from './styleMixins.css-CivfMYtB.js';
7
+ import './state-CxzmLNIi.js';
8
+ import './directive-BKuZRRPO.js';
9
+ import './utils-_5no4mk7.js';
10
+ import './class-map-DpvLRi0h.js';
11
+
12
+ var cssComponentsStyleSheet = "/* -------------------------------------------\n * Autogenerated by ⛋ Terrazzo. DO NOT EDIT!\n * ------------------------------------------- */\n\n:root {\n --color-black: #000000;\n --color-blue: #305cde;\n --color-blue-0: #000000;\n --color-blue-10: #001550;\n --color-blue-20: #00277f;\n --color-blue-30: #003ab2;\n --color-blue-40: #2352d5;\n --color-blue-50: #446def;\n --color-blue-60: #6789ff;\n --color-blue-70: #90a7ff;\n --color-blue-80: #b6c4ff;\n --color-blue-90: #dce1ff;\n --color-blue-95: #eff0ff;\n --color-blue-98: #faf8ff;\n --color-blue-100: #ffffff;\n --color-error: var(--color-red);\n --color-error-0: var(--color-red-0);\n --color-error-10: var(--color-red-10);\n --color-error-20: var(--color-red-20);\n --color-error-30: var(--color-red-30);\n --color-error-40: var(--color-red-40);\n --color-error-50: var(--color-red-50);\n --color-error-60: var(--color-red-60);\n --color-error-70: var(--color-red-70);\n --color-error-80: var(--color-red-80);\n --color-error-90: var(--color-red-90);\n --color-error-95: var(--color-red-95);\n --color-error-98: var(--color-red-98);\n --color-error-100: var(--color-red-100);\n --color-error-container: var(--color-error-90);\n --color-green: #2e6f40;\n --color-green-0: #000000;\n --color-green-10: #00210b;\n --color-green-20: #003917;\n --color-green-30: #005225;\n --color-green-40: #0f6d35;\n --color-green-50: #31874b;\n --color-green-60: #4da163;\n --color-green-70: #68bd7b;\n --color-green-80: #83d995;\n --color-green-90: #9ff6af;\n --color-green-95: #c4ffcb;\n --color-green-98: #eaffe9;\n --color-green-100: #ffffff;\n --color-inverse-error: var(--color-error-80);\n --color-inverse-on-surface: var(--color-neutral-95);\n --color-inverse-primary: var(--color-primary-80);\n --color-inverse-secondary: var(--color-secondary-80);\n --color-inverse-surface: var(--color-neutral-20);\n --color-inverse-tertiary: var(--color-tertiary-80);\n --color-neutral: #747878;\n --color-neutral-0: #000000;\n --color-neutral-4: #0b0f0f;\n --color-neutral-6: #101415;\n --color-neutral-10: #191c1d;\n --color-neutral-12: #1d2021;\n --color-neutral-17: #272b2b;\n --color-neutral-20: #2e3132;\n --color-neutral-22: #323536;\n --color-neutral-30: #444748;\n --color-neutral-40: #5c5f5f;\n --color-neutral-50: #747878;\n --color-neutral-60: #8e9192;\n --color-neutral-70: #a9acac;\n --color-neutral-80: #c4c7c7;\n --color-neutral-87: #d8dadb;\n --color-neutral-90: #e1e3e3;\n --color-neutral-92: #e6e8e9;\n --color-neutral-94: #eceeef;\n --color-neutral-95: #eff1f1;\n --color-neutral-96: #f2f4f4;\n --color-neutral-98: #f8fafa;\n --color-neutral-99: #fafdfd;\n --color-neutral-100: #ffffff;\n --color-neutral-variant: #6f797a;\n --color-neutral-variant-0: #000000;\n --color-neutral-variant-4: #071011;\n --color-neutral-variant-6: #0c1516;\n --color-neutral-variant-10: #141d1f;\n --color-neutral-variant-12: #182123;\n --color-neutral-variant-17: #222b2d;\n --color-neutral-variant-20: #293234;\n --color-neutral-variant-22: #2d3638;\n --color-neutral-variant-30: #3f484a;\n --color-neutral-variant-40: #576062;\n --color-neutral-variant-50: #6f797a;\n --color-neutral-variant-60: #899294;\n --color-neutral-variant-70: #a3adaf;\n --color-neutral-variant-80: #bfc8ca;\n --color-neutral-variant-87: #d2dcde;\n --color-neutral-variant-90: #dbe4e6;\n --color-neutral-variant-92: #e0eaec;\n --color-neutral-variant-94: #e6f0f1;\n --color-neutral-variant-95: #e9f2f4;\n --color-neutral-variant-96: #ecf5f7;\n --color-neutral-variant-98: #f2fbfd;\n --color-neutral-variant-99: #f6feff;\n --color-neutral-variant-100: #ffffff;\n --color-on-error: var(--color-error-100);\n --color-on-error-container: var(--color-error-10);\n --color-on-primary: var(--color-primary-100);\n --color-on-primary-container: var(--color-primary-10);\n --color-on-secondary: var(--color-secondary-100);\n --color-on-secondary-container: var(--color-secondary-10);\n --color-on-surface: var(--color-neutral-10);\n --color-on-surface-variant: var(--color-neutral-variant-30);\n --color-on-tertiary: var(--color-tertiary-100);\n --color-on-tertiary-container: var(--color-tertiary-10);\n --color-orange: #ff7518;\n --color-orange-0: #000000;\n --color-orange-10: #341100;\n --color-orange-20: #552100;\n --color-orange-30: #783100;\n --color-orange-40: #9e4300;\n --color-orange-50: #c55500;\n --color-orange-60: #ee6803;\n --color-orange-70: #ff8d4c;\n --color-orange-80: #ffb691;\n --color-orange-90: #ffdbcb;\n --color-orange-95: #ffede6;\n --color-orange-98: #fff8f6;\n --color-orange-100: #ffffff;\n --color-outline: var(--color-neutral-variant-50);\n --color-outline-variant: var(--color-neutral-variant-80);\n --color-primary: var(--color-primary-40);\n --color-primary-0: #000000;\n --color-primary-10: #001a42;\n --color-primary-20: #002e6b;\n --color-primary-30: #004396;\n --color-primary-40: #005ac4;\n --color-primary-50: #2673e8;\n --color-primary-60: #4f8eff;\n --color-primary-70: #82aaff;\n --color-primary-80: #aec6ff;\n --color-primary-90: #d8e2ff;\n --color-primary-95: #edf0ff;\n --color-primary-98: #faf9ff;\n --color-primary-100: #ffffff;\n --color-primary-container: var(--color-primary-90);\n --color-purple: #e40078;\n --color-purple-0: #000000;\n --color-purple-10: #3f001c;\n --color-purple-20: #650032;\n --color-purple-30: #8e0048;\n --color-purple-40: #ba0061;\n --color-purple-50: #e6067a;\n --color-purple-60: #ff4993;\n --color-purple-70: #ff84ad;\n --color-purple-80: #ffb1c7;\n --color-purple-90: #ffd9e2;\n --color-purple-95: #ffecef;\n --color-purple-98: #fff8f8;\n --color-purple-100: #ffffff;\n --color-red: #e73121;\n --color-red-0: #000000;\n --color-red-10: #410000;\n --color-red-20: #690000;\n --color-red-30: #930000;\n --color-red-40: #be0c05;\n --color-red-50: #e32e1f;\n --color-red-60: #ff5541;\n --color-red-70: #ff8a78;\n --color-red-80: #ffb4a8;\n --color-red-90: #ffdad4;\n --color-red-95: #ffedea;\n --color-red-98: #fff8f6;\n --color-red-100: #ffffff;\n --color-scrim: var(--color-neutral-0);\n --color-secondary: var(--color-secondary-40);\n --color-secondary-0: #000000;\n --color-secondary-10: #141b2c;\n --color-secondary-20: #293041;\n --color-secondary-30: #3f4759;\n --color-secondary-40: #575e71;\n --color-secondary-50: #6f778b;\n --color-secondary-60: #8990a5;\n --color-secondary-70: #a4abc0;\n --color-secondary-80: #bfc6dc;\n --color-secondary-90: #dbe2f9;\n --color-secondary-95: #edf0ff;\n --color-secondary-98: #faf9ff;\n --color-secondary-100: #ffffff;\n --color-secondary-container: var(--color-secondary-90);\n --color-shadow: var(--color-neutral-0);\n --color-success: var(--color-green);\n --color-success-0: var(--color-green-0);\n --color-success-10: var(--color-green-10);\n --color-success-20: var(--color-green-20);\n --color-success-30: var(--color-green-30);\n --color-success-40: var(--color-green-40);\n --color-success-50: var(--color-green-50);\n --color-success-60: var(--color-green-60);\n --color-success-70: var(--color-green-70);\n --color-success-80: var(--color-green-80);\n --color-success-90: var(--color-green-90);\n --color-success-95: var(--color-green-95);\n --color-success-98: var(--color-green-98);\n --color-success-100: var(--color-green-100);\n --color-surface: var(--color-neutral-99);\n --color-surface-container: var(--color-neutral-94);\n --color-surface-container-high: var(--color-neutral-92);\n --color-surface-container-highest: var(--color-neutral-90);\n --color-surface-container-low: var(--color-neutral-96);\n --color-surface-container-lowest: var(--color-neutral-100);\n --color-surface-dim: var(--color-neutral-87);\n --color-surface-variant: var(--color-neutral-variant-90);\n --color-tertiary: var(--color-tertiary-40);\n --color-tertiary-0: #000000;\n --color-tertiary-10: #29132d;\n --color-tertiary-20: #402843;\n --color-tertiary-30: #583e5a;\n --color-tertiary-40: #715573;\n --color-tertiary-50: #8b6d8d;\n --color-tertiary-60: #a686a7;\n --color-tertiary-70: #c2a1c2;\n --color-tertiary-80: #dfbcdf;\n --color-tertiary-90: #fcd7fb;\n --color-tertiary-95: #ffebfc;\n --color-tertiary-98: #fff7fa;\n --color-tertiary-100: #ffffff;\n --color-tertiary-container: var(--color-tertiary-90);\n --color-warning: var(--color-yellow);\n --color-warning-0: var(--color-yellow-0);\n --color-warning-10: var(--color-yellow-10);\n --color-warning-20: var(--color-yellow-20);\n --color-warning-30: var(--color-yellow-30);\n --color-warning-40: var(--color-yellow-40);\n --color-warning-50: var(--color-yellow-50);\n --color-warning-60: var(--color-yellow-60);\n --color-warning-70: var(--color-yellow-70);\n --color-warning-80: var(--color-yellow-80);\n --color-warning-90: var(--color-yellow-90);\n --color-warning-95: var(--color-yellow-95);\n --color-warning-98: var(--color-yellow-98);\n --color-warning-100: var(--color-yellow-100);\n --color-white: #ffffff;\n --color-yellow: #ffed29;\n --color-yellow-0: #000000;\n --color-yellow-10: #1f1c00;\n --color-yellow-20: #363100;\n --color-yellow-30: #4e4800;\n --color-yellow-40: #686000;\n --color-yellow-50: #837900;\n --color-yellow-60: #9f9300;\n --color-yellow-70: #bcae00;\n --color-yellow-80: #d9c900;\n --color-yellow-90: #f7e61e;\n --color-yellow-95: #fff392;\n --color-yellow-98: #fff9e6;\n --color-yellow-100: #ffffff;\n --container-lg: 1056px; /* Large container width. Intended for standard desktop layouts with typical content density. */\n --container-max: 1584px; /* Maximum container width. Use when constraining very wide layouts to maintain readable line lengths. */\n --container-md: 672px; /* Medium container width. Suitable for tablet layouts and compact desktop content areas. */\n --container-sm: 320px; /* Small container width. Use for narrow layouts and small screens such as mobile devices. */\n --container-xl: 1312px; /* Extra large container width. Use for wide desktop displays and content-heavy pages. */\n --duration-long1: 450ms; /* These durations are often paired with Emphasized easing. */\n --duration-long2: 500ms; /* These durations are often paired with Emphasized easing. */\n --duration-medium1: 250ms; /* These are used for medium duration transitions, like modal animations. */\n --duration-medium2: 300ms; /* These are used for medium duration transitions, like modal animations. */\n --duration-short1: 50ms; /* These are used for small utility-focused transitions. Like checkbox animations. */\n --duration-short2: 100ms; /* These are used for small utility-focused transitions. Like checkbox animations. */\n --duration-short3: 150ms; /* These are used for small utility-focused transitions. Like checkbox animations. */\n --duration-short4: 200ms; /* These are used for small utility-focused transitions. Like checkbox animations. */\n --easing-linear: cubic-bezier(0, 0, 1, 1);\n --easing-standard: cubic-bezier(0.2, 0, 0, 1);\n --font-family-brand: \"Noto Sans\", sans-serif; /* The font family used for brand headings and titles. */\n --font-family-monospace: \"Noto Sans Mono\", monospace; /* The font family used for code snippets and monospaced text. */\n --font-family-sans: \"Noto Sans\", sans-serif; /* The primary font family used for body text and general content. */\n --font-weight-bold: 700; /* Bold weight for emphasis. 700 weight. */\n --font-weight-medium: 500; /* Slightly heavier than regular weight. 500 weight. */\n --font-weight-regular: 400; /* Standard weight for regular text. 400 weight. */\n --font-weight-semi-bold: 600; /* Heavier than medium weight. 600 weight. */\n --global-avatar-border-radius: var(--shape-corner-full);\n --global-badge-color: var(--color-error-40);\n --shape-corner-full: 9999px;\n --shape-corner-large: 12px;\n --shape-corner-medium: 8px;\n --shape-corner-none: 0;\n --shape-corner-small: 4px;\n --spacing-000: 0; /* No spacing (base × 0). */\n --spacing-025: 0.125rem; /* 2px - Smallest increment (base × 0.125). */\n --spacing-050: 0.25rem; /* 4px - Extra small spacing (base × 0.25). */\n --spacing-100: 0.5rem; /* 8px - Small spacing (base × 0.5). */\n --spacing-150: 0.75rem; /* 12px - Small-medium spacing (base × 0.75). */\n --spacing-200: 1rem; /* 16px - Base spacing unit (base × 1). */\n --spacing-300: 1.5rem; /* 24px - Medium spacing (base × 1.5). */\n --spacing-400: 2rem; /* 32px - Medium-large spacing (base × 2). */\n --spacing-500: 2.5rem; /* 40px - Large spacing (base × 2.5). */\n --spacing-600: 3rem; /* 48px - Extra large spacing (base × 3). */\n --spacing-800: 4rem; /* 64px - Huge spacing (base × 4). */\n --spacing-1000: 5rem; /* 80px - Massive spacing (base × 5). */\n --spacing-1200: 6rem; /* 96px - Gigantic spacing (base × 6). */\n --spacing-2000: 10rem; /* 160px - Maximum defined spacing (base × 10). */\n --spacing-base: 1rem; /* Base spacing unit (1rem = 16px). */\n --typography-body-large-emphasized-font-family: var(--font-family-sans);\n --typography-body-large-emphasized-font-size: 1rem;\n --typography-body-large-emphasized-font-weight: var(--font-weight-medium);\n --typography-body-large-emphasized-letter-spacing: 0.5px;\n --typography-body-large-emphasized-line-height: 1.5rem;\n --typography-body-large-font-family: var(--font-family-sans);\n --typography-body-large-font-size: 1rem;\n --typography-body-large-font-weight: var(--font-weight-regular);\n --typography-body-large-letter-spacing: 0.5px;\n --typography-body-large-line-height: 1.5rem;\n --typography-body-medium-emphasized-font-family: var(--font-family-sans);\n --typography-body-medium-emphasized-font-size: 0.875rem;\n --typography-body-medium-emphasized-font-weight: var(--font-weight-medium);\n --typography-body-medium-emphasized-letter-spacing: 0.25px;\n --typography-body-medium-emphasized-line-height: 1.25rem;\n --typography-body-medium-font-family: var(--font-family-sans);\n --typography-body-medium-font-size: 0.875rem;\n --typography-body-medium-font-weight: var(--font-weight-regular);\n --typography-body-medium-letter-spacing: 0.25px;\n --typography-body-medium-line-height: 1.25rem;\n --typography-body-small-emphasized-font-family: var(--font-family-sans);\n --typography-body-small-emphasized-font-size: 0.75rem;\n --typography-body-small-emphasized-font-weight: var(--font-weight-medium);\n --typography-body-small-emphasized-letter-spacing: 0.4000000059604645px;\n --typography-body-small-emphasized-line-height: 1rem;\n --typography-body-small-font-family: var(--font-family-sans);\n --typography-body-small-font-size: 0.75rem;\n --typography-body-small-font-weight: var(--font-weight-regular);\n --typography-body-small-letter-spacing: 0.4000000059604645px;\n --typography-body-small-line-height: 1rem;\n --typography-code-large-emphasized-font-family: var(--font-family-monospace);\n --typography-code-large-emphasized-font-size: 1rem;\n --typography-code-large-emphasized-font-weight: var(--font-weight-medium);\n --typography-code-large-emphasized-letter-spacing: 0.5px;\n --typography-code-large-emphasized-line-height: 1.5rem;\n --typography-code-large-font-family: var(--font-family-monospace);\n --typography-code-large-font-size: 1rem;\n --typography-code-large-font-weight: var(--font-weight-regular);\n --typography-code-large-letter-spacing: 0.5px;\n --typography-code-large-line-height: 1.5rem;\n --typography-code-medium-emphasized-font-family: var(--font-family-monospace);\n --typography-code-medium-emphasized-font-size: 0.875rem;\n --typography-code-medium-emphasized-font-weight: var(--font-weight-medium);\n --typography-code-medium-emphasized-letter-spacing: 0.25px;\n --typography-code-medium-emphasized-line-height: 1.25rem;\n --typography-code-medium-font-family: var(--font-family-monospace);\n --typography-code-medium-font-size: 0.875rem;\n --typography-code-medium-font-weight: var(--font-weight-regular);\n --typography-code-medium-letter-spacing: 0.25px;\n --typography-code-medium-line-height: 1.25rem;\n --typography-code-small-emphasized-font-family: var(--font-family-monospace);\n --typography-code-small-emphasized-font-size: 0.75rem;\n --typography-code-small-emphasized-font-weight: var(--font-weight-medium);\n --typography-code-small-emphasized-letter-spacing: 0.4000000059604645px;\n --typography-code-small-emphasized-line-height: 1rem;\n --typography-code-small-font-family: var(--font-family-monospace);\n --typography-code-small-font-size: 0.75rem;\n --typography-code-small-font-weight: var(--font-weight-regular);\n --typography-code-small-letter-spacing: 0.4000000059604645px;\n --typography-code-small-line-height: 1rem;\n --typography-display-large-emphasized-font-family: var(--font-family-sans);\n --typography-display-large-emphasized-font-size: 3.5625rem;\n --typography-display-large-emphasized-font-weight: var(--font-weight-medium);\n --typography-display-large-emphasized-letter-spacing: -0.25px;\n --typography-display-large-emphasized-line-height: 4rem;\n --typography-display-large-font-family: var(--font-family-sans);\n --typography-display-large-font-size: 3.5625rem;\n --typography-display-large-font-weight: var(--font-weight-regular);\n --typography-display-large-letter-spacing: -0.25px;\n --typography-display-large-line-height: 4rem;\n --typography-display-medium-emphasized-font-family: var(--font-family-sans);\n --typography-display-medium-emphasized-font-size: 2.8125rem;\n --typography-display-medium-emphasized-font-weight: var(--font-weight-medium);\n --typography-display-medium-emphasized-letter-spacing: 0;\n --typography-display-medium-emphasized-line-height: 3.25rem;\n --typography-display-medium-font-family: var(--font-family-sans);\n --typography-display-medium-font-size: 2.8125rem;\n --typography-display-medium-font-weight: var(--font-weight-regular);\n --typography-display-medium-letter-spacing: 0;\n --typography-display-medium-line-height: 3.25rem;\n --typography-display-small-emphasized-font-family: var(--font-family-sans);\n --typography-display-small-emphasized-font-size: 2.25rem;\n --typography-display-small-emphasized-font-weight: var(--font-weight-medium);\n --typography-display-small-emphasized-letter-spacing: 0;\n --typography-display-small-emphasized-line-height: 2.75rem;\n --typography-display-small-font-family: var(--font-family-sans);\n --typography-display-small-font-size: 2.25rem;\n --typography-display-small-font-weight: var(--font-weight-regular);\n --typography-display-small-letter-spacing: 0;\n --typography-display-small-line-height: 2.75rem;\n --typography-headline-large-emphasized-font-family: var(--font-family-sans);\n --typography-headline-large-emphasized-font-size: 2rem;\n --typography-headline-large-emphasized-font-weight: var(--font-weight-medium);\n --typography-headline-large-emphasized-letter-spacing: 0;\n --typography-headline-large-emphasized-line-height: 2.5rem;\n --typography-headline-large-font-family: var(--font-family-sans);\n --typography-headline-large-font-size: 2rem;\n --typography-headline-large-font-weight: var(--font-weight-regular);\n --typography-headline-large-letter-spacing: 0;\n --typography-headline-large-line-height: 2.5rem;\n --typography-headline-medium-emphasized-font-family: var(--font-family-sans);\n --typography-headline-medium-emphasized-font-size: 1.75rem;\n --typography-headline-medium-emphasized-font-weight: var(--font-weight-medium);\n --typography-headline-medium-emphasized-letter-spacing: 0;\n --typography-headline-medium-emphasized-line-height: 2.25rem;\n --typography-headline-medium-font-family: var(--font-family-sans);\n --typography-headline-medium-font-size: 1.75rem;\n --typography-headline-medium-font-weight: var(--font-weight-regular);\n --typography-headline-medium-letter-spacing: 0;\n --typography-headline-medium-line-height: 2.25rem;\n --typography-headline-small-emphasized-font-family: var(--font-family-sans);\n --typography-headline-small-emphasized-font-size: 1.5rem;\n --typography-headline-small-emphasized-font-weight: var(--font-weight-medium);\n --typography-headline-small-emphasized-letter-spacing: 0;\n --typography-headline-small-emphasized-line-height: 2rem;\n --typography-headline-small-font-family: var(--font-family-sans);\n --typography-headline-small-font-size: 1.5rem;\n --typography-headline-small-font-weight: var(--font-weight-regular);\n --typography-headline-small-letter-spacing: 0;\n --typography-headline-small-line-height: 2rem;\n --typography-label-large-emphasized-font-family: var(--font-family-sans);\n --typography-label-large-emphasized-font-size: 0.875rem;\n --typography-label-large-emphasized-font-weight: var(--font-weight-semi-bold);\n --typography-label-large-emphasized-letter-spacing: 0.10000000149011612px;\n --typography-label-large-emphasized-line-height: 1.25rem;\n --typography-label-large-font-family: var(--font-family-sans);\n --typography-label-large-font-size: 0.875rem;\n --typography-label-large-font-weight: var(--font-weight-medium);\n --typography-label-large-letter-spacing: 0.10000000149011612px;\n --typography-label-large-line-height: 1.25rem;\n --typography-label-medium-emphasized-font-family: var(--font-family-sans);\n --typography-label-medium-emphasized-font-size: 0.75rem;\n --typography-label-medium-emphasized-font-weight: var(--font-weight-semi-bold);\n --typography-label-medium-emphasized-letter-spacing: 0.5px;\n --typography-label-medium-emphasized-line-height: 1rem;\n --typography-label-medium-font-family: var(--font-family-sans);\n --typography-label-medium-font-size: 0.75rem;\n --typography-label-medium-font-weight: var(--font-weight-medium);\n --typography-label-medium-letter-spacing: 0.5px;\n --typography-label-medium-line-height: 1rem;\n --typography-label-small-emphasized-font-family: var(--font-family-sans);\n --typography-label-small-emphasized-font-size: 0.6875rem;\n --typography-label-small-emphasized-font-weight: var(--font-weight-semi-bold);\n --typography-label-small-emphasized-letter-spacing: 0.5px;\n --typography-label-small-emphasized-line-height: 1rem;\n --typography-label-small-font-family: var(--font-family-sans);\n --typography-label-small-font-size: 0.6875rem;\n --typography-label-small-font-weight: var(--font-weight-medium);\n --typography-label-small-letter-spacing: 0.5px;\n --typography-label-small-line-height: 1rem;\n --typography-title-large-emphasized-font-family: var(--font-family-sans);\n --typography-title-large-emphasized-font-size: 1.375rem;\n --typography-title-large-emphasized-font-weight: var(--font-weight-medium);\n --typography-title-large-emphasized-letter-spacing: 0;\n --typography-title-large-emphasized-line-height: 1.75rem;\n --typography-title-large-font-family: var(--font-family-sans);\n --typography-title-large-font-size: 1.375rem;\n --typography-title-large-font-weight: var(--font-weight-regular);\n --typography-title-large-letter-spacing: 0;\n --typography-title-large-line-height: 1.75rem;\n --typography-title-medium-emphasized-font-family: var(--font-family-sans);\n --typography-title-medium-emphasized-font-size: 1rem;\n --typography-title-medium-emphasized-font-weight: var(--font-weight-semi-bold);\n --typography-title-medium-emphasized-letter-spacing: 0.15000000596046448px;\n --typography-title-medium-emphasized-line-height: 1.5rem;\n --typography-title-medium-font-family: var(--font-family-sans);\n --typography-title-medium-font-size: 1rem;\n --typography-title-medium-font-weight: var(--font-weight-medium);\n --typography-title-medium-letter-spacing: 0.15000000596046448px;\n --typography-title-medium-line-height: 1.5rem;\n --typography-title-small-emphasized-font-family: var(--font-family-sans);\n --typography-title-small-emphasized-font-size: 0.875rem;\n --typography-title-small-emphasized-font-weight: var(--font-weight-semi-bold);\n --typography-title-small-emphasized-letter-spacing: 0.10000000149011612px;\n --typography-title-small-emphasized-line-height: 1.25rem;\n --typography-title-small-font-family: var(--font-family-sans);\n --typography-title-small-font-size: 0.875rem;\n --typography-title-small-font-weight: var(--font-weight-medium);\n --typography-title-small-letter-spacing: 0.10000000149011612px;\n --typography-title-small-line-height: 1.25rem;\n color-scheme: light dark;\n}\n\n[data-theme='dark'] {\n --color-error: var(--color-error-80);\n --color-error-container: var(--color-error-30);\n --color-inverse-error: var(--color-error-40);\n --color-inverse-on-surface: var(--color-neutral-20);\n --color-inverse-primary: var(--color-primary-40);\n --color-inverse-secondary: var(--color-secondary-40);\n --color-inverse-surface: var(--color-neutral-90);\n --color-inverse-tertiary: var(--color-tertiary-40);\n --color-on-error: var(--color-error-20);\n --color-on-error-container: var(--color-error-90);\n --color-on-primary: var(--color-primary-20);\n --color-on-primary-container: var(--color-primary-90);\n --color-on-secondary: var(--color-secondary-20);\n --color-on-secondary-container: var(--color-secondary-90);\n --color-on-surface: var(--color-neutral-90);\n --color-on-surface-variant: var(--color-neutral-variant-80);\n --color-on-tertiary: var(--color-tertiary-20);\n --color-on-tertiary-container: var(--color-tertiary-90);\n --color-outline: var(--color-neutral-variant-60);\n --color-outline-variant: var(--color-neutral-variant-30);\n --color-primary: var(--color-primary-80);\n --color-primary-container: var(--color-primary-30);\n --color-scrim: var(--color-neutral-0);\n --color-secondary: var(--color-secondary-80);\n --color-secondary-container: var(--color-secondary-30);\n --color-shadow: var(--color-neutral-0);\n --color-surface: var(--color-neutral-10);\n --color-surface-container: var(--color-neutral-12);\n --color-surface-container-high: var(--color-neutral-17);\n --color-surface-container-highest: var(--color-neutral-22);\n --color-surface-container-low: var(--color-neutral-10);\n --color-surface-container-lowest: var(--color-neutral-4);\n --color-surface-dim: var(--color-neutral-6);\n --color-surface-variant: var(--color-neutral-variant-30);\n --color-tertiary: var(--color-tertiary-80);\n --color-tertiary-container: var(--color-tertiary-30);\n --global-badge-color: var(--color-error-80);\n}\n\n";
2
13
 
3
14
  class LoaderUtils {
4
15
  constructor(loaderConfig) {
@@ -81,8 +92,6 @@ class LoaderUtils {
81
92
  }
82
93
  }
83
94
 
84
- var cssComponentsStyleSheet = "/* -------------------------------------------\n * Autogenerated by ⛋ Terrazzo. DO NOT EDIT!\n * ------------------------------------------- */\n\n:root {\n --color-black: #000000;\n --color-blue: #305cde;\n --color-blue-0: #000000;\n --color-blue-10: #001550;\n --color-blue-20: #00277f;\n --color-blue-30: #003ab2;\n --color-blue-40: #2352d5;\n --color-blue-50: #446def;\n --color-blue-60: #6789ff;\n --color-blue-70: #90a7ff;\n --color-blue-80: #b6c4ff;\n --color-blue-90: #dce1ff;\n --color-blue-95: #eff0ff;\n --color-blue-98: #faf8ff;\n --color-blue-100: #ffffff;\n --color-error: var(--color-red);\n --color-error-0: var(--color-red-0);\n --color-error-10: var(--color-red-10);\n --color-error-20: var(--color-red-20);\n --color-error-30: var(--color-red-30);\n --color-error-40: var(--color-red-40);\n --color-error-50: var(--color-red-50);\n --color-error-60: var(--color-red-60);\n --color-error-70: var(--color-red-70);\n --color-error-80: var(--color-red-80);\n --color-error-90: var(--color-red-90);\n --color-error-95: var(--color-red-95);\n --color-error-98: var(--color-red-98);\n --color-error-100: var(--color-red-100);\n --color-error-container: var(--color-error-90);\n --color-green: #2e6f40;\n --color-green-0: #000000;\n --color-green-10: #00210b;\n --color-green-20: #003917;\n --color-green-30: #005225;\n --color-green-40: #0f6d35;\n --color-green-50: #31874b;\n --color-green-60: #4da163;\n --color-green-70: #68bd7b;\n --color-green-80: #83d995;\n --color-green-90: #9ff6af;\n --color-green-95: #c4ffcb;\n --color-green-98: #eaffe9;\n --color-green-100: #ffffff;\n --color-inverse-error: var(--color-error-80);\n --color-inverse-on-surface: var(--color-neutral-95);\n --color-inverse-primary: var(--color-primary-80);\n --color-inverse-secondary: var(--color-secondary-80);\n --color-inverse-surface: var(--color-neutral-20);\n --color-inverse-tertiary: var(--color-tertiary-80);\n --color-neutral: #747878;\n --color-neutral-0: #000000;\n --color-neutral-4: #0b0f0f;\n --color-neutral-6: #101415;\n --color-neutral-10: #191c1d;\n --color-neutral-12: #1d2021;\n --color-neutral-17: #272b2b;\n --color-neutral-20: #2e3132;\n --color-neutral-22: #323536;\n --color-neutral-30: #444748;\n --color-neutral-40: #5c5f5f;\n --color-neutral-50: #747878;\n --color-neutral-60: #8e9192;\n --color-neutral-70: #a9acac;\n --color-neutral-80: #c4c7c7;\n --color-neutral-87: #d8dadb;\n --color-neutral-90: #e1e3e3;\n --color-neutral-92: #e6e8e9;\n --color-neutral-94: #eceeef;\n --color-neutral-95: #eff1f1;\n --color-neutral-96: #f2f4f4;\n --color-neutral-98: #f8fafa;\n --color-neutral-99: #fafdfd;\n --color-neutral-100: #ffffff;\n --color-neutral-variant: #6f797a;\n --color-neutral-variant-0: #000000;\n --color-neutral-variant-4: #071011;\n --color-neutral-variant-6: #0c1516;\n --color-neutral-variant-10: #141d1f;\n --color-neutral-variant-12: #182123;\n --color-neutral-variant-17: #222b2d;\n --color-neutral-variant-20: #293234;\n --color-neutral-variant-22: #2d3638;\n --color-neutral-variant-30: #3f484a;\n --color-neutral-variant-40: #576062;\n --color-neutral-variant-50: #6f797a;\n --color-neutral-variant-60: #899294;\n --color-neutral-variant-70: #a3adaf;\n --color-neutral-variant-80: #bfc8ca;\n --color-neutral-variant-87: #d2dcde;\n --color-neutral-variant-90: #dbe4e6;\n --color-neutral-variant-92: #e0eaec;\n --color-neutral-variant-94: #e6f0f1;\n --color-neutral-variant-95: #e9f2f4;\n --color-neutral-variant-96: #ecf5f7;\n --color-neutral-variant-98: #f2fbfd;\n --color-neutral-variant-99: #f6feff;\n --color-neutral-variant-100: #ffffff;\n --color-on-error: var(--color-error-100);\n --color-on-error-container: var(--color-error-10);\n --color-on-primary: var(--color-primary-100);\n --color-on-primary-container: var(--color-primary-10);\n --color-on-secondary: var(--color-secondary-100);\n --color-on-secondary-container: var(--color-secondary-10);\n --color-on-surface: var(--color-neutral-10);\n --color-on-surface-variant: var(--color-neutral-variant-30);\n --color-on-tertiary: var(--color-tertiary-100);\n --color-on-tertiary-container: var(--color-tertiary-10);\n --color-orange: #ff7518;\n --color-orange-0: #000000;\n --color-orange-10: #341100;\n --color-orange-20: #552100;\n --color-orange-30: #783100;\n --color-orange-40: #9e4300;\n --color-orange-50: #c55500;\n --color-orange-60: #ee6803;\n --color-orange-70: #ff8d4c;\n --color-orange-80: #ffb691;\n --color-orange-90: #ffdbcb;\n --color-orange-95: #ffede6;\n --color-orange-98: #fff8f6;\n --color-orange-100: #ffffff;\n --color-outline: var(--color-neutral-variant-50);\n --color-outline-variant: var(--color-neutral-variant-80);\n --color-primary: var(--color-primary-40);\n --color-primary-0: #000000;\n --color-primary-10: #001a42;\n --color-primary-20: #002e6b;\n --color-primary-30: #004396;\n --color-primary-40: #005ac4;\n --color-primary-50: #2673e8;\n --color-primary-60: #4f8eff;\n --color-primary-70: #82aaff;\n --color-primary-80: #aec6ff;\n --color-primary-90: #d8e2ff;\n --color-primary-95: #edf0ff;\n --color-primary-98: #faf9ff;\n --color-primary-100: #ffffff;\n --color-primary-container: var(--color-primary-90);\n --color-purple: #e40078;\n --color-purple-0: #000000;\n --color-purple-10: #3f001c;\n --color-purple-20: #650032;\n --color-purple-30: #8e0048;\n --color-purple-40: #ba0061;\n --color-purple-50: #e6067a;\n --color-purple-60: #ff4993;\n --color-purple-70: #ff84ad;\n --color-purple-80: #ffb1c7;\n --color-purple-90: #ffd9e2;\n --color-purple-95: #ffecef;\n --color-purple-98: #fff8f8;\n --color-purple-100: #ffffff;\n --color-red: #e73121;\n --color-red-0: #000000;\n --color-red-10: #410000;\n --color-red-20: #690000;\n --color-red-30: #930000;\n --color-red-40: #be0c05;\n --color-red-50: #e32e1f;\n --color-red-60: #ff5541;\n --color-red-70: #ff8a78;\n --color-red-80: #ffb4a8;\n --color-red-90: #ffdad4;\n --color-red-95: #ffedea;\n --color-red-98: #fff8f6;\n --color-red-100: #ffffff;\n --color-scrim: var(--color-neutral-0);\n --color-secondary: var(--color-secondary-40);\n --color-secondary-0: #000000;\n --color-secondary-10: #141b2c;\n --color-secondary-20: #293041;\n --color-secondary-30: #3f4759;\n --color-secondary-40: #575e71;\n --color-secondary-50: #6f778b;\n --color-secondary-60: #8990a5;\n --color-secondary-70: #a4abc0;\n --color-secondary-80: #bfc6dc;\n --color-secondary-90: #dbe2f9;\n --color-secondary-95: #edf0ff;\n --color-secondary-98: #faf9ff;\n --color-secondary-100: #ffffff;\n --color-secondary-container: var(--color-secondary-90);\n --color-shadow: var(--color-neutral-0);\n --color-success: var(--color-green);\n --color-success-0: var(--color-green-0);\n --color-success-10: var(--color-green-10);\n --color-success-20: var(--color-green-20);\n --color-success-30: var(--color-green-30);\n --color-success-40: var(--color-green-40);\n --color-success-50: var(--color-green-50);\n --color-success-60: var(--color-green-60);\n --color-success-70: var(--color-green-70);\n --color-success-80: var(--color-green-80);\n --color-success-90: var(--color-green-90);\n --color-success-95: var(--color-green-95);\n --color-success-98: var(--color-green-98);\n --color-success-100: var(--color-green-100);\n --color-surface: var(--color-neutral-99);\n --color-surface-container: var(--color-neutral-94);\n --color-surface-container-high: var(--color-neutral-92);\n --color-surface-container-highest: var(--color-neutral-90);\n --color-surface-container-low: var(--color-neutral-96);\n --color-surface-container-lowest: var(--color-neutral-100);\n --color-surface-dim: var(--color-neutral-87);\n --color-surface-variant: var(--color-neutral-variant-90);\n --color-tertiary: var(--color-tertiary-40);\n --color-tertiary-0: #000000;\n --color-tertiary-10: #29132d;\n --color-tertiary-20: #402843;\n --color-tertiary-30: #583e5a;\n --color-tertiary-40: #715573;\n --color-tertiary-50: #8b6d8d;\n --color-tertiary-60: #a686a7;\n --color-tertiary-70: #c2a1c2;\n --color-tertiary-80: #dfbcdf;\n --color-tertiary-90: #fcd7fb;\n --color-tertiary-95: #ffebfc;\n --color-tertiary-98: #fff7fa;\n --color-tertiary-100: #ffffff;\n --color-tertiary-container: var(--color-tertiary-90);\n --color-warning: var(--color-yellow);\n --color-warning-0: var(--color-yellow-0);\n --color-warning-10: var(--color-yellow-10);\n --color-warning-20: var(--color-yellow-20);\n --color-warning-30: var(--color-yellow-30);\n --color-warning-40: var(--color-yellow-40);\n --color-warning-50: var(--color-yellow-50);\n --color-warning-60: var(--color-yellow-60);\n --color-warning-70: var(--color-yellow-70);\n --color-warning-80: var(--color-yellow-80);\n --color-warning-90: var(--color-yellow-90);\n --color-warning-95: var(--color-yellow-95);\n --color-warning-98: var(--color-yellow-98);\n --color-warning-100: var(--color-yellow-100);\n --color-white: #ffffff;\n --color-yellow: #ffed29;\n --color-yellow-0: #000000;\n --color-yellow-10: #1f1c00;\n --color-yellow-20: #363100;\n --color-yellow-30: #4e4800;\n --color-yellow-40: #686000;\n --color-yellow-50: #837900;\n --color-yellow-60: #9f9300;\n --color-yellow-70: #bcae00;\n --color-yellow-80: #d9c900;\n --color-yellow-90: #f7e61e;\n --color-yellow-95: #fff392;\n --color-yellow-98: #fff9e6;\n --color-yellow-100: #ffffff;\n --container-lg: 1056px; /* Large container width. Intended for standard desktop layouts with typical content density. */\n --container-max: 1584px; /* Maximum container width. Use when constraining very wide layouts to maintain readable line lengths. */\n --container-md: 672px; /* Medium container width. Suitable for tablet layouts and compact desktop content areas. */\n --container-sm: 320px; /* Small container width. Use for narrow layouts and small screens such as mobile devices. */\n --container-xl: 1312px; /* Extra large container width. Use for wide desktop displays and content-heavy pages. */\n --duration-long1: 450ms; /* These durations are often paired with Emphasized easing. */\n --duration-long2: 500ms; /* These durations are often paired with Emphasized easing. */\n --duration-medium1: 250ms; /* These are used for medium duration transitions, like modal animations. */\n --duration-medium2: 300ms; /* These are used for medium duration transitions, like modal animations. */\n --duration-short1: 50ms; /* These are used for small utility-focused transitions. Like checkbox animations. */\n --duration-short2: 100ms; /* These are used for small utility-focused transitions. Like checkbox animations. */\n --duration-short3: 150ms; /* These are used for small utility-focused transitions. Like checkbox animations. */\n --duration-short4: 200ms; /* These are used for small utility-focused transitions. Like checkbox animations. */\n --easing-linear: cubic-bezier(0, 0, 1, 1);\n --easing-standard: cubic-bezier(0.2, 0, 0, 1);\n --font-family-brand: \"Noto Sans\", sans-serif; /* The font family used for brand headings and titles. */\n --font-family-monospace: \"Noto Sans Mono\", monospace; /* The font family used for code snippets and monospaced text. */\n --font-family-sans: \"Noto Sans\", sans-serif; /* The primary font family used for body text and general content. */\n --font-weight-bold: 700; /* Bold weight for emphasis. 700 weight. */\n --font-weight-medium: 500; /* Slightly heavier than regular weight. 500 weight. */\n --font-weight-regular: 400; /* Standard weight for regular text. 400 weight. */\n --font-weight-semi-bold: 600; /* Heavier than medium weight. 600 weight. */\n --global-avatar-border-radius: var(--shape-corner-full);\n --global-badge-color: var(--color-error-40);\n --shape-corner-full: 9999px;\n --shape-corner-large: 12px;\n --shape-corner-medium: 8px;\n --shape-corner-none: 0;\n --shape-corner-small: 4px;\n --spacing-000: 0; /* No spacing (base × 0). */\n --spacing-025: 0.125rem; /* 2px - Smallest increment (base × 0.125). */\n --spacing-050: 0.25rem; /* 4px - Extra small spacing (base × 0.25). */\n --spacing-100: 0.5rem; /* 8px - Small spacing (base × 0.5). */\n --spacing-150: 0.75rem; /* 12px - Small-medium spacing (base × 0.75). */\n --spacing-200: 1rem; /* 16px - Base spacing unit (base × 1). */\n --spacing-300: 1.5rem; /* 24px - Medium spacing (base × 1.5). */\n --spacing-400: 2rem; /* 32px - Medium-large spacing (base × 2). */\n --spacing-500: 2.5rem; /* 40px - Large spacing (base × 2.5). */\n --spacing-600: 3rem; /* 48px - Extra large spacing (base × 3). */\n --spacing-800: 4rem; /* 64px - Huge spacing (base × 4). */\n --spacing-1000: 5rem; /* 80px - Massive spacing (base × 5). */\n --spacing-1200: 6rem; /* 96px - Gigantic spacing (base × 6). */\n --spacing-2000: 10rem; /* 160px - Maximum defined spacing (base × 10). */\n --spacing-base: 1rem; /* Base spacing unit (1rem = 16px). */\n --typography-body-large-emphasized-font-family: var(--font-family-sans);\n --typography-body-large-emphasized-font-size: 1rem;\n --typography-body-large-emphasized-font-weight: var(--font-weight-medium);\n --typography-body-large-emphasized-letter-spacing: 0.5px;\n --typography-body-large-emphasized-line-height: 1.5rem;\n --typography-body-large-font-family: var(--font-family-sans);\n --typography-body-large-font-size: 1rem;\n --typography-body-large-font-weight: var(--font-weight-regular);\n --typography-body-large-letter-spacing: 0.5px;\n --typography-body-large-line-height: 1.5rem;\n --typography-body-medium-emphasized-font-family: var(--font-family-sans);\n --typography-body-medium-emphasized-font-size: 0.875rem;\n --typography-body-medium-emphasized-font-weight: var(--font-weight-medium);\n --typography-body-medium-emphasized-letter-spacing: 0.25px;\n --typography-body-medium-emphasized-line-height: 1.25rem;\n --typography-body-medium-font-family: var(--font-family-sans);\n --typography-body-medium-font-size: 0.875rem;\n --typography-body-medium-font-weight: var(--font-weight-regular);\n --typography-body-medium-letter-spacing: 0.25px;\n --typography-body-medium-line-height: 1.25rem;\n --typography-body-small-emphasized-font-family: var(--font-family-sans);\n --typography-body-small-emphasized-font-size: 0.75rem;\n --typography-body-small-emphasized-font-weight: var(--font-weight-medium);\n --typography-body-small-emphasized-letter-spacing: 0.4000000059604645px;\n --typography-body-small-emphasized-line-height: 1rem;\n --typography-body-small-font-family: var(--font-family-sans);\n --typography-body-small-font-size: 0.75rem;\n --typography-body-small-font-weight: var(--font-weight-regular);\n --typography-body-small-letter-spacing: 0.4000000059604645px;\n --typography-body-small-line-height: 1rem;\n --typography-code-large-emphasized-font-family: var(--font-family-monospace);\n --typography-code-large-emphasized-font-size: 1rem;\n --typography-code-large-emphasized-font-weight: var(--font-weight-medium);\n --typography-code-large-emphasized-letter-spacing: 0.5px;\n --typography-code-large-emphasized-line-height: 1.5rem;\n --typography-code-large-font-family: var(--font-family-monospace);\n --typography-code-large-font-size: 1rem;\n --typography-code-large-font-weight: var(--font-weight-regular);\n --typography-code-large-letter-spacing: 0.5px;\n --typography-code-large-line-height: 1.5rem;\n --typography-code-medium-emphasized-font-family: var(--font-family-monospace);\n --typography-code-medium-emphasized-font-size: 0.875rem;\n --typography-code-medium-emphasized-font-weight: var(--font-weight-medium);\n --typography-code-medium-emphasized-letter-spacing: 0.25px;\n --typography-code-medium-emphasized-line-height: 1.25rem;\n --typography-code-medium-font-family: var(--font-family-monospace);\n --typography-code-medium-font-size: 0.875rem;\n --typography-code-medium-font-weight: var(--font-weight-regular);\n --typography-code-medium-letter-spacing: 0.25px;\n --typography-code-medium-line-height: 1.25rem;\n --typography-code-small-emphasized-font-family: var(--font-family-monospace);\n --typography-code-small-emphasized-font-size: 0.75rem;\n --typography-code-small-emphasized-font-weight: var(--font-weight-medium);\n --typography-code-small-emphasized-letter-spacing: 0.4000000059604645px;\n --typography-code-small-emphasized-line-height: 1rem;\n --typography-code-small-font-family: var(--font-family-monospace);\n --typography-code-small-font-size: 0.75rem;\n --typography-code-small-font-weight: var(--font-weight-regular);\n --typography-code-small-letter-spacing: 0.4000000059604645px;\n --typography-code-small-line-height: 1rem;\n --typography-display-large-emphasized-font-family: var(--font-family-sans);\n --typography-display-large-emphasized-font-size: 3.5625rem;\n --typography-display-large-emphasized-font-weight: var(--font-weight-medium);\n --typography-display-large-emphasized-letter-spacing: -0.25px;\n --typography-display-large-emphasized-line-height: 4rem;\n --typography-display-large-font-family: var(--font-family-sans);\n --typography-display-large-font-size: 3.5625rem;\n --typography-display-large-font-weight: var(--font-weight-regular);\n --typography-display-large-letter-spacing: -0.25px;\n --typography-display-large-line-height: 4rem;\n --typography-display-medium-emphasized-font-family: var(--font-family-sans);\n --typography-display-medium-emphasized-font-size: 2.8125rem;\n --typography-display-medium-emphasized-font-weight: var(--font-weight-medium);\n --typography-display-medium-emphasized-letter-spacing: 0;\n --typography-display-medium-emphasized-line-height: 3.25rem;\n --typography-display-medium-font-family: var(--font-family-sans);\n --typography-display-medium-font-size: 2.8125rem;\n --typography-display-medium-font-weight: var(--font-weight-regular);\n --typography-display-medium-letter-spacing: 0;\n --typography-display-medium-line-height: 3.25rem;\n --typography-display-small-emphasized-font-family: var(--font-family-sans);\n --typography-display-small-emphasized-font-size: 2.25rem;\n --typography-display-small-emphasized-font-weight: var(--font-weight-medium);\n --typography-display-small-emphasized-letter-spacing: 0;\n --typography-display-small-emphasized-line-height: 2.75rem;\n --typography-display-small-font-family: var(--font-family-sans);\n --typography-display-small-font-size: 2.25rem;\n --typography-display-small-font-weight: var(--font-weight-regular);\n --typography-display-small-letter-spacing: 0;\n --typography-display-small-line-height: 2.75rem;\n --typography-headline-large-emphasized-font-family: var(--font-family-sans);\n --typography-headline-large-emphasized-font-size: 2rem;\n --typography-headline-large-emphasized-font-weight: var(--font-weight-medium);\n --typography-headline-large-emphasized-letter-spacing: 0;\n --typography-headline-large-emphasized-line-height: 2.5rem;\n --typography-headline-large-font-family: var(--font-family-sans);\n --typography-headline-large-font-size: 2rem;\n --typography-headline-large-font-weight: var(--font-weight-regular);\n --typography-headline-large-letter-spacing: 0;\n --typography-headline-large-line-height: 2.5rem;\n --typography-headline-medium-emphasized-font-family: var(--font-family-sans);\n --typography-headline-medium-emphasized-font-size: 1.75rem;\n --typography-headline-medium-emphasized-font-weight: var(--font-weight-medium);\n --typography-headline-medium-emphasized-letter-spacing: 0;\n --typography-headline-medium-emphasized-line-height: 2.25rem;\n --typography-headline-medium-font-family: var(--font-family-sans);\n --typography-headline-medium-font-size: 1.75rem;\n --typography-headline-medium-font-weight: var(--font-weight-regular);\n --typography-headline-medium-letter-spacing: 0;\n --typography-headline-medium-line-height: 2.25rem;\n --typography-headline-small-emphasized-font-family: var(--font-family-sans);\n --typography-headline-small-emphasized-font-size: 1.5rem;\n --typography-headline-small-emphasized-font-weight: var(--font-weight-medium);\n --typography-headline-small-emphasized-letter-spacing: 0;\n --typography-headline-small-emphasized-line-height: 2rem;\n --typography-headline-small-font-family: var(--font-family-sans);\n --typography-headline-small-font-size: 1.5rem;\n --typography-headline-small-font-weight: var(--font-weight-regular);\n --typography-headline-small-letter-spacing: 0;\n --typography-headline-small-line-height: 2rem;\n --typography-label-large-emphasized-font-family: var(--font-family-sans);\n --typography-label-large-emphasized-font-size: 0.875rem;\n --typography-label-large-emphasized-font-weight: var(--font-weight-semi-bold);\n --typography-label-large-emphasized-letter-spacing: 0.10000000149011612px;\n --typography-label-large-emphasized-line-height: 1.25rem;\n --typography-label-large-font-family: var(--font-family-sans);\n --typography-label-large-font-size: 0.875rem;\n --typography-label-large-font-weight: var(--font-weight-medium);\n --typography-label-large-letter-spacing: 0.10000000149011612px;\n --typography-label-large-line-height: 1.25rem;\n --typography-label-medium-emphasized-font-family: var(--font-family-sans);\n --typography-label-medium-emphasized-font-size: 0.75rem;\n --typography-label-medium-emphasized-font-weight: var(--font-weight-semi-bold);\n --typography-label-medium-emphasized-letter-spacing: 0.5px;\n --typography-label-medium-emphasized-line-height: 1rem;\n --typography-label-medium-font-family: var(--font-family-sans);\n --typography-label-medium-font-size: 0.75rem;\n --typography-label-medium-font-weight: var(--font-weight-medium);\n --typography-label-medium-letter-spacing: 0.5px;\n --typography-label-medium-line-height: 1rem;\n --typography-label-small-emphasized-font-family: var(--font-family-sans);\n --typography-label-small-emphasized-font-size: 0.6875rem;\n --typography-label-small-emphasized-font-weight: var(--font-weight-semi-bold);\n --typography-label-small-emphasized-letter-spacing: 0.5px;\n --typography-label-small-emphasized-line-height: 1rem;\n --typography-label-small-font-family: var(--font-family-sans);\n --typography-label-small-font-size: 0.6875rem;\n --typography-label-small-font-weight: var(--font-weight-medium);\n --typography-label-small-letter-spacing: 0.5px;\n --typography-label-small-line-height: 1rem;\n --typography-title-large-emphasized-font-family: var(--font-family-sans);\n --typography-title-large-emphasized-font-size: 1.375rem;\n --typography-title-large-emphasized-font-weight: var(--font-weight-medium);\n --typography-title-large-emphasized-letter-spacing: 0;\n --typography-title-large-emphasized-line-height: 1.75rem;\n --typography-title-large-font-family: var(--font-family-sans);\n --typography-title-large-font-size: 1.375rem;\n --typography-title-large-font-weight: var(--font-weight-regular);\n --typography-title-large-letter-spacing: 0;\n --typography-title-large-line-height: 1.75rem;\n --typography-title-medium-emphasized-font-family: var(--font-family-sans);\n --typography-title-medium-emphasized-font-size: 1rem;\n --typography-title-medium-emphasized-font-weight: var(--font-weight-semi-bold);\n --typography-title-medium-emphasized-letter-spacing: 0.15000000596046448px;\n --typography-title-medium-emphasized-line-height: 1.5rem;\n --typography-title-medium-font-family: var(--font-family-sans);\n --typography-title-medium-font-size: 1rem;\n --typography-title-medium-font-weight: var(--font-weight-medium);\n --typography-title-medium-letter-spacing: 0.15000000596046448px;\n --typography-title-medium-line-height: 1.5rem;\n --typography-title-small-emphasized-font-family: var(--font-family-sans);\n --typography-title-small-emphasized-font-size: 0.875rem;\n --typography-title-small-emphasized-font-weight: var(--font-weight-semi-bold);\n --typography-title-small-emphasized-letter-spacing: 0.10000000149011612px;\n --typography-title-small-emphasized-line-height: 1.25rem;\n --typography-title-small-font-family: var(--font-family-sans);\n --typography-title-small-font-size: 0.875rem;\n --typography-title-small-font-weight: var(--font-weight-medium);\n --typography-title-small-letter-spacing: 0.10000000149011612px;\n --typography-title-small-line-height: 1.25rem;\n color-scheme: light dark;\n}\n\n[data-theme='dark'] {\n --color-error: var(--color-error-80);\n --color-error-container: var(--color-error-30);\n --color-inverse-error: var(--color-error-40);\n --color-inverse-on-surface: var(--color-neutral-20);\n --color-inverse-primary: var(--color-primary-40);\n --color-inverse-secondary: var(--color-secondary-40);\n --color-inverse-surface: var(--color-neutral-90);\n --color-inverse-tertiary: var(--color-tertiary-40);\n --color-on-error: var(--color-error-20);\n --color-on-error-container: var(--color-error-90);\n --color-on-primary: var(--color-primary-20);\n --color-on-primary-container: var(--color-primary-90);\n --color-on-secondary: var(--color-secondary-20);\n --color-on-secondary-container: var(--color-secondary-90);\n --color-on-surface: var(--color-neutral-90);\n --color-on-surface-variant: var(--color-neutral-variant-80);\n --color-on-tertiary: var(--color-tertiary-20);\n --color-on-tertiary-container: var(--color-tertiary-90);\n --color-outline: var(--color-neutral-variant-60);\n --color-outline-variant: var(--color-neutral-variant-30);\n --color-primary: var(--color-primary-80);\n --color-primary-container: var(--color-primary-30);\n --color-scrim: var(--color-neutral-0);\n --color-secondary: var(--color-secondary-80);\n --color-secondary-container: var(--color-secondary-30);\n --color-shadow: var(--color-neutral-0);\n --color-surface: var(--color-neutral-10);\n --color-surface-container: var(--color-neutral-12);\n --color-surface-container-high: var(--color-neutral-17);\n --color-surface-container-highest: var(--color-neutral-22);\n --color-surface-container-low: var(--color-neutral-10);\n --color-surface-container-lowest: var(--color-neutral-4);\n --color-surface-dim: var(--color-neutral-6);\n --color-surface-variant: var(--color-neutral-variant-30);\n --color-tertiary: var(--color-tertiary-80);\n --color-tertiary-container: var(--color-tertiary-30);\n --global-badge-color: var(--color-error-80);\n}\n\n";
85
-
86
95
  const createLinkStyles = (prefix) => i `
87
96
  .${r(prefix)}-link {
88
97
  border-radius: inherit;
@@ -200,15 +209,6 @@ if (linkStylesheet)
200
209
  const textStylesheet = createTextStyles(libraryPrefix).styleSheet;
201
210
  if (textStylesheet)
202
211
  styleSheets.push(textStylesheet);
203
- function stringifyStyleSheet(stylesheet) {
204
- // Use Array.from() to convert the CSSRuleList to an array
205
- return (Array.from(stylesheet.cssRules)
206
- // Map each rule to its cssText property
207
- .map((rule) => rule.cssText || '')
208
- // Join all the rules with a newline character
209
- .join('\\n'));
210
- }
211
- console.log(stringifyStyleSheet(textStylesheet));
212
212
  document.adoptedStyleSheets = styleSheets;
213
213
  const loaderConfig = {
214
214
  prefix: libraryPrefix,
@@ -220,6 +220,15 @@ const loaderConfig = {
220
220
  avatar: {
221
221
  CustomElementClass: Avatar,
222
222
  },
223
+ badge: {
224
+ CustomElementClass: Badge,
225
+ },
226
+ divider: {
227
+ CustomElementClass: Divider,
228
+ },
229
+ clock: {
230
+ importPath: '.' + '/clock.js',
231
+ },
223
232
  },
224
233
  };
225
234
  new LoaderUtils(loaderConfig).start();