@schalkneethling/miyagi-core 4.4.2 → 4.4.4

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 (115) hide show
  1. package/README.md +7 -2
  2. package/api/app.js +16 -16
  3. package/api/index.js +263 -262
  4. package/bin/miyagi.js +1 -1
  5. package/dist/css/iframe.css +6 -30
  6. package/frontend/assets/css/iframe/accordion-tabs.css +39 -39
  7. package/frontend/assets/css/iframe/jsontree.js.css +149 -149
  8. package/frontend/assets/css/iframe/prism.css +45 -45
  9. package/frontend/assets/css/iframe/styleguide/colors.css +27 -27
  10. package/frontend/assets/css/iframe/styleguide/fonts.css +23 -23
  11. package/frontend/assets/css/iframe/styleguide/index.css +58 -58
  12. package/frontend/assets/css/iframe/styleguide/spacings.css +10 -10
  13. package/frontend/assets/css/iframe.css +191 -191
  14. package/frontend/assets/css/main/menu/config-switcher.css +21 -21
  15. package/frontend/assets/css/main/menu/config-switchers.css +34 -34
  16. package/frontend/assets/css/main/menu/goto.css +16 -16
  17. package/frontend/assets/css/main/menu/nav.css +49 -49
  18. package/frontend/assets/css/main/menu/search.css +34 -34
  19. package/frontend/assets/css/main/menu/title.css +18 -18
  20. package/frontend/assets/css/main/menu.css +89 -89
  21. package/frontend/assets/css/main/reset.css +47 -47
  22. package/frontend/assets/css/main.css +41 -41
  23. package/frontend/assets/css/shared.css +16 -16
  24. package/frontend/assets/css/tokens.css +108 -107
  25. package/frontend/assets/js/_accordion-tabs.js +392 -392
  26. package/frontend/assets/js/_goto.js +59 -59
  27. package/frontend/assets/js/_iframe-links.js +14 -14
  28. package/frontend/assets/js/_is-triggered.js +3 -3
  29. package/frontend/assets/js/_main.js +369 -369
  30. package/frontend/assets/js/_mock-data.js +8 -8
  31. package/frontend/assets/js/_prism.js +1082 -1081
  32. package/frontend/assets/js/_search.js +186 -186
  33. package/frontend/assets/js/_socket.js +44 -44
  34. package/frontend/assets/js/config-switcher/development-mode.js +38 -38
  35. package/frontend/assets/js/config-switcher/index.js +55 -55
  36. package/frontend/assets/js/config-switcher/text-direction.js +22 -22
  37. package/frontend/assets/js/config-switcher/theme.js +68 -68
  38. package/frontend/assets/js/iframe.build.js +25 -25
  39. package/frontend/assets/js/iframe.js +38 -38
  40. package/frontend/assets/js/jsontree.js +979 -976
  41. package/frontend/assets/js/main.build.js +29 -29
  42. package/frontend/assets/js/main.js +31 -31
  43. package/frontend/assets/js/styleguide/color-converter.js +652 -652
  44. package/frontend/assets/js/styleguide/index.js +100 -100
  45. package/lib/build/index.js +1014 -1020
  46. package/lib/cli/app.js +16 -16
  47. package/lib/cli/component.js +50 -50
  48. package/lib/cli/doctor.js +130 -121
  49. package/lib/cli/drupal-assets.js +163 -157
  50. package/lib/cli/lint.js +196 -196
  51. package/lib/cli/run.js +150 -146
  52. package/lib/config.js +86 -86
  53. package/lib/constants/lint-log-levels.js +6 -6
  54. package/lib/drupal/load-assets-config.js +59 -60
  55. package/lib/drupal/resolve-library-assets.js +132 -141
  56. package/lib/errors.js +20 -20
  57. package/lib/generator/component.js +124 -124
  58. package/lib/generator/mocks.js +156 -156
  59. package/lib/helpers.js +68 -68
  60. package/lib/i18n/en.js +93 -93
  61. package/lib/i18n/index.js +8 -8
  62. package/lib/index.js +13 -13
  63. package/lib/init/args.js +153 -153
  64. package/lib/init/config.js +452 -438
  65. package/lib/init/engines.js +41 -41
  66. package/lib/init/index.js +83 -83
  67. package/lib/init/rendering.js +3 -3
  68. package/lib/init/static.js +90 -90
  69. package/lib/init/twing/cache.js +27 -27
  70. package/lib/init/twing/functions.js +37 -37
  71. package/lib/init/views.js +5 -5
  72. package/lib/logger.js +72 -72
  73. package/lib/mocks/get.js +88 -88
  74. package/lib/mocks/index.js +2 -2
  75. package/lib/mocks/resolve/ref.js +447 -447
  76. package/lib/mocks/resolve/tpl.js +218 -218
  77. package/lib/mocks/resolve.js +154 -154
  78. package/lib/render/helpers/resolve-assets.js +29 -39
  79. package/lib/render/helpers.js +27 -27
  80. package/lib/render/index.js +18 -18
  81. package/lib/render/views/iframe/component.docs.js +50 -50
  82. package/lib/render/views/iframe/component.js +249 -248
  83. package/lib/render/views/iframe/design-tokens/colors.js +38 -38
  84. package/lib/render/views/iframe/design-tokens/index.js +3 -3
  85. package/lib/render/views/iframe/design-tokens/sizes.js +35 -35
  86. package/lib/render/views/iframe/design-tokens/typography.js +37 -37
  87. package/lib/render/views/iframe/docs.js +42 -42
  88. package/lib/render/views/iframe/index.js +28 -28
  89. package/lib/render/views/iframe/variation.js +89 -89
  90. package/lib/render/views/iframe/variation.standalone.js +69 -68
  91. package/lib/render/views/main/component.docs.js +38 -38
  92. package/lib/render/views/main/component.js +55 -55
  93. package/lib/render/views/main/design-tokens.js +38 -38
  94. package/lib/render/views/main/docs.js +33 -33
  95. package/lib/render/views/main/index.js +33 -33
  96. package/lib/state/components.js +99 -99
  97. package/lib/state/css.js +33 -33
  98. package/lib/state/docs.js +72 -72
  99. package/lib/state/file-contents.js +154 -154
  100. package/lib/state/helpers.js +53 -53
  101. package/lib/state/index.js +39 -39
  102. package/lib/state/menu/index.js +202 -202
  103. package/lib/state/menu/structure.js +84 -84
  104. package/lib/state/partials.js +12 -12
  105. package/lib/state/source-tree.js +51 -51
  106. package/lib/styleguide/color-names.js +148 -148
  107. package/lib/styleguide/colors.js +113 -113
  108. package/lib/styleguide/helpers.js +33 -33
  109. package/lib/styleguide/index.js +4 -4
  110. package/lib/styleguide/media-queries.js +18 -18
  111. package/lib/styleguide/spacings.js +22 -22
  112. package/lib/styleguide/typography.js +46 -46
  113. package/lib/validator/mocks.js +110 -83
  114. package/lib/validator/schemas.js +236 -227
  115. package/package.json +120 -117
@@ -6,50 +6,50 @@
6
6
  @import url("./iframe/styleguide/index.css") layer(miyagi);
7
7
 
8
8
  html {
9
- --iframe-spacing: clamp(0.75rem, 4vi, 2.5rem);
9
+ --iframe-spacing: clamp(0.75rem, 4vi, 2.5rem);
10
10
 
11
- height: 100%;
11
+ height: 100%;
12
12
  }
13
13
 
14
14
  body {
15
- background: var(--color-Iframe-background);
16
- margin: 0;
17
- min-height: 100%;
18
- font-family: var(--font-family);
19
- color: var(--color-Iframe-text);
15
+ background: var(--color-Iframe-background);
16
+ margin: 0;
17
+ min-height: 100%;
18
+ font-family: var(--font-family);
19
+ color: var(--color-Iframe-text);
20
20
  }
21
21
 
22
22
  .Wrapper {
23
- box-sizing: border-box;
24
- padding: var(--iframe-spacing);
25
- width: 100%;
23
+ box-sizing: border-box;
24
+ padding: var(--iframe-spacing);
25
+ width: 100%;
26
26
  }
27
27
 
28
28
  a {
29
- color: var(--color-Iframe-link);
30
- text-decoration: underline;
29
+ color: var(--color-Iframe-link);
30
+ text-decoration: underline;
31
31
  }
32
32
 
33
33
  a:focus-visible,
34
34
  summary:focus-visible,
35
35
  button:focus-visible {
36
- outline: 3px solid currentcolor;
37
- outline-offset: 2px;
38
- border-radius: 0.25em;
36
+ outline: 3px solid currentcolor;
37
+ outline-offset: 2px;
38
+ border-radius: 0.25em;
39
39
  }
40
40
 
41
41
  code[class*="language-"],
42
42
  pre[class*="language-"] {
43
- text-shadow: none;
44
- box-shadow: none;
45
- border-radius: 0;
43
+ text-shadow: none;
44
+ box-shadow: none;
45
+ border-radius: 0;
46
46
  }
47
47
 
48
48
  .Documentation code,
49
49
  .Code code,
50
50
  :not(pre) > code[class*="language-"] {
51
- font-size-adjust: 0.525;
52
- text-shadow: none;
51
+ font-size-adjust: 0.525;
52
+ text-shadow: none;
53
53
  }
54
54
 
55
55
  .Documentation,
@@ -57,354 +57,354 @@ pre[class*="language-"] {
57
57
  .Code code,
58
58
  :not(pre) > code[class*="language-"],
59
59
  .ErrorMessage {
60
- line-height: calc(1ex / 0.32);
60
+ line-height: calc(1ex / 0.32);
61
61
  }
62
62
 
63
63
  .Information code,
64
64
  .Documentation code,
65
65
  .Code code,
66
66
  :not(pre) > code[class*="language-"] {
67
- font-family: Menlo, Monaco, monospace;
67
+ font-family: Menlo, Monaco, monospace;
68
68
  }
69
69
 
70
70
  .Documentation h1 {
71
- font-size: 2.4em;
72
- font-weight: bold;
73
- line-height: 1;
74
- text-transform: capitalize;
71
+ font-size: 2.4em;
72
+ font-weight: bold;
73
+ line-height: 1;
74
+ text-transform: capitalize;
75
75
  }
76
76
 
77
77
  .Documentation > * + * {
78
- margin-top: calc(1ex / 0.32);
78
+ margin-top: calc(1ex / 0.32);
79
79
  }
80
80
 
81
81
  .Documentation i {
82
- font-style: italic;
82
+ font-style: italic;
83
83
  }
84
84
 
85
85
  .Documentation table {
86
- border-spacing: 0;
86
+ border-spacing: 0;
87
87
  }
88
88
 
89
89
  .Documentation th {
90
- text-align: left;
91
- border-block-end: 0.0625rem solid currentcolor;
90
+ text-align: left;
91
+ border-block-end: 0.0625rem solid currentcolor;
92
92
  }
93
93
 
94
94
  .Documentation :is(th, td) {
95
- padding: 0.25em 0.5em;
95
+ padding: 0.25em 0.5em;
96
96
  }
97
97
 
98
98
  .Documentation tr:not(:last-child) td {
99
- border-block-end: 0.0625rem solid var(--color-Outline);
99
+ border-block-end: 0.0625rem solid var(--color-Outline);
100
100
  }
101
101
 
102
102
  .Information-val {
103
- margin-inline-start: 0;
103
+ margin-inline-start: 0;
104
104
  }
105
105
 
106
106
  .Component-variationHeader {
107
- display: flex;
108
- gap: 16px;
109
- position: absolute;
110
- inset-inline-end: 40px;
111
- top: 13px;
112
- font-size: 14px;
113
- line-height: 1;
107
+ display: flex;
108
+ gap: 16px;
109
+ position: absolute;
110
+ inset-inline-end: 40px;
111
+ top: 13px;
112
+ font-size: 14px;
113
+ line-height: 1;
114
114
  }
115
115
 
116
116
  .Documentation > *:first-child {
117
- margin-top: 0;
117
+ margin-top: 0;
118
118
  }
119
119
 
120
120
  .Documentation p {
121
- max-width: 64ch;
121
+ max-width: 64ch;
122
122
  }
123
123
 
124
124
  .SectionTitle {
125
- align-items: center;
126
- display: flex;
127
- font-size: 1.6em;
128
- margin: 2em 0 1em;
129
- scroll-margin-top: 1.5em;
125
+ align-items: center;
126
+ display: flex;
127
+ font-size: 1.6em;
128
+ margin: 2em 0 1em;
129
+ scroll-margin-top: 1.5em;
130
130
  }
131
131
 
132
132
  .SectionTitle::after {
133
- background: var(--color-Outline);
134
- content: "";
135
- flex: 1;
136
- height: 0.0625rem;
137
- margin-inline-start: 20px;
133
+ background: var(--color-Outline);
134
+ content: "";
135
+ flex: 1;
136
+ height: 0.0625rem;
137
+ margin-inline-start: 20px;
138
138
  }
139
139
 
140
140
  .Information-wrapper + .Information-wrapper {
141
- margin-top: 30px;
141
+ margin-top: 30px;
142
142
  }
143
143
 
144
144
  .Information-attr {
145
- color: var(--color-Iframe-text-secondary);
146
- font-family: var(--font-family);
147
- font-size: 0.875em;
148
- letter-spacing: 0.0375em;
149
- text-decoration: none;
150
- text-transform: uppercase;
145
+ color: var(--color-Iframe-text-secondary);
146
+ font-family: var(--font-family);
147
+ font-size: 0.875em;
148
+ letter-spacing: 0.0375em;
149
+ text-decoration: none;
150
+ text-transform: uppercase;
151
151
  }
152
152
 
153
153
  .Information-attr:not(:first-child) {
154
- margin-top: 1em;
154
+ margin-top: 1em;
155
155
  }
156
156
 
157
157
  .Information code,
158
158
  .Documentation code {
159
- font-weight: 600;
159
+ font-weight: 600;
160
160
  }
161
161
 
162
162
  .Status::before {
163
- display: inline-block;
164
- margin-inline-end: 0.5em;
163
+ display: inline-block;
164
+ margin-inline-end: 0.5em;
165
165
  }
166
166
 
167
167
  .Status--valid {
168
- color: var(--color-Positive);
168
+ color: var(--color-Positive);
169
169
  }
170
170
 
171
171
  .Status--valid::before {
172
- content: "✓";
172
+ content: "✓";
173
173
  }
174
174
 
175
175
  .Status--invalid {
176
- color: var(--color-Negative);
176
+ color: var(--color-Negative);
177
177
  }
178
178
 
179
179
  .Status--invalid::before {
180
- content: "✗";
180
+ content: "✗";
181
181
  }
182
182
 
183
183
  .Error {
184
- align-items: center;
185
- color: var(--color-Negative);
186
- display: flex;
187
- height: 100%;
188
- justify-content: center;
189
- margin: 0;
184
+ align-items: center;
185
+ color: var(--color-Negative);
186
+ display: flex;
187
+ height: 100%;
188
+ justify-content: center;
189
+ margin: 0;
190
190
  }
191
191
 
192
192
  .ErrorMessage {
193
- color: var(--color-Negative);
194
- margin: 1.5em 0;
193
+ color: var(--color-Negative);
194
+ margin: 1.5em 0;
195
195
  }
196
196
 
197
197
  .Iframe-newTabLink {
198
- align-items: center;
199
- display: flex;
200
- font-weight: normal;
198
+ align-items: center;
199
+ display: flex;
200
+ font-weight: normal;
201
201
  }
202
202
 
203
203
  .Iframe-newTabLink::before {
204
- content: "";
205
- display: block;
206
- width: 1em;
207
- height: 1em;
208
- margin-inline-end: 0.5em;
209
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' focusable='false' aria-hidden='true'%3E%3Cpath d='M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6M15 3h6v6M10 14L21 3'%3E%3C/path%3E%3C/svg%3E");
204
+ content: "";
205
+ display: block;
206
+ width: 1em;
207
+ height: 1em;
208
+ margin-inline-end: 0.5em;
209
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' focusable='false' aria-hidden='true'%3E%3Cpath d='M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6M15 3h6v6M10 14L21 3'%3E%3C/path%3E%3C/svg%3E");
210
210
  }
211
211
 
212
212
  pre[class*="language-"],
213
213
  .Code,
214
214
  :not(pre) > code[class*="language-"] {
215
- background: var(--color-Code-background);
215
+ background: var(--color-Code-background);
216
216
  }
217
217
 
218
218
  :not(pre) > code[class*="language-"],
219
219
  pre[class*="language-"] {
220
- border-color: var(--color-Outline);
220
+ border-color: var(--color-Outline);
221
221
  }
222
222
 
223
223
  .Code,
224
224
  :not(pre) > code[class*="language-"] {
225
- border: 0.0625rem solid var(--color-Outline);
226
- padding: calc(var(--iframe-spacing) / 2);
225
+ border: 0.0625rem solid var(--color-Outline);
226
+ padding: calc(var(--iframe-spacing) / 2);
227
227
  }
228
228
 
229
229
  .Code,
230
230
  pre[class*="language-"] {
231
- font-size: 0.875em;
231
+ font-size: 0.875em;
232
232
  }
233
233
 
234
234
  .Tabs-tab summary {
235
- cursor: default;
236
- list-style-type: none;
237
- padding-block: 10px;
238
- padding-inline-start: 16px;
239
- position: relative;
235
+ cursor: default;
236
+ list-style-type: none;
237
+ padding-block: 10px;
238
+ padding-inline-start: 16px;
239
+ position: relative;
240
240
  }
241
241
 
242
242
  .Tabs-tab summary::before {
243
- border: var(--toggle-border);
244
- border-color: currentcolor;
245
- border-top-width: 0.25em;
246
- border-inline-end-width: 0.25em;
247
- content: "";
248
- display: block;
249
- font-size: 0.4em;
250
- height: var(--toggle-height);
251
- inset-inline-start: 0.25rem;
252
- position: absolute;
253
- top: 50%;
254
- transition: var(--toggle-transition);
255
- width: var(--toggle-width);
243
+ border: var(--toggle-border);
244
+ border-color: currentcolor;
245
+ border-top-width: 0.25em;
246
+ border-inline-end-width: 0.25em;
247
+ content: "";
248
+ display: block;
249
+ font-size: 0.4em;
250
+ height: var(--toggle-height);
251
+ inset-inline-start: 0.25rem;
252
+ position: absolute;
253
+ top: 50%;
254
+ transition: var(--toggle-transition);
255
+ width: var(--toggle-width);
256
256
  }
257
257
 
258
258
  .Tabs-tab summary::-webkit-details-marker {
259
- display: none;
259
+ display: none;
260
260
  }
261
261
 
262
262
  .Tabs-tab:not([open]) summary::before {
263
- transform: var(--toggle-transition-closed);
263
+ transform: var(--toggle-transition-closed);
264
264
  }
265
265
 
266
266
  .Tabs-tab[open] summary::before {
267
- transform: var(--toggle-transition-opened);
267
+ transform: var(--toggle-transition-opened);
268
268
  }
269
269
 
270
270
  .Component:not(:last-child) {
271
- margin-bottom: calc(2 * var(--iframe-spacing));
271
+ margin-bottom: calc(2 * var(--iframe-spacing));
272
272
  }
273
273
 
274
274
  .Component-iframeWrapper {
275
- height: calc(100vh - 2.5 * var(--iframe-spacing));
276
- width: 100%;
275
+ height: calc(100vh - 2.5 * var(--iframe-spacing));
276
+ width: 100%;
277
277
  }
278
278
 
279
279
  .Component-iframeWrapper:not(.has-fixedHeight) {
280
- outline: 0.0625rem solid var(--color-Outline);
281
- resize: both;
280
+ outline: 0.0625rem solid var(--color-Outline);
281
+ resize: both;
282
282
  }
283
283
 
284
284
  .Component-iframe {
285
- height: 100%;
286
- width: 100%;
285
+ height: 100%;
286
+ width: 100%;
287
287
  }
288
288
 
289
289
  .Component-head {
290
- display: flex;
291
- justify-content: space-between;
292
- flex-wrap: wrap;
293
- gap: 10px;
294
- padding: 0 0 20px;
290
+ display: flex;
291
+ justify-content: space-between;
292
+ flex-wrap: wrap;
293
+ gap: 10px;
294
+ padding: 0 0 20px;
295
295
  }
296
296
 
297
297
  .Component-headMeta {
298
- display: flex;
299
- align-items: center;
300
- gap: 16px;
298
+ display: flex;
299
+ align-items: center;
300
+ gap: 16px;
301
301
  }
302
302
 
303
303
  .Component-mockValidation {
304
- appearance: none;
305
- border: none;
306
- background: none;
307
- color: var(--color-Iframe-link);
308
- cursor: pointer;
309
- margin: 0;
310
- padding: 0;
311
- font-size: inherit;
312
- font-family: var(--font-family);
313
- line-height: 1;
314
- text-decoration: underline;
304
+ appearance: none;
305
+ border: none;
306
+ background: none;
307
+ color: var(--color-Iframe-link);
308
+ cursor: pointer;
309
+ margin: 0;
310
+ padding: 0;
311
+ font-size: inherit;
312
+ font-family: var(--font-family);
313
+ line-height: 1;
314
+ text-decoration: underline;
315
315
  }
316
316
 
317
317
  .Component-mockData {
318
- background: light-dark(hsl(0deg 0% 95%), hsl(0deg 0% 12%));
319
- border: none;
320
- padding: var(--iframe-spacing);
321
- width: calc(100vi - 2 * var(--iframe-spacing));
322
- height: calc(100vb - 2 * var(--iframe-spacing));
323
- max-width: 70ch;
324
- box-sizing: border-box;
325
- overscroll-behavior: contain;
318
+ background: light-dark(hsl(0deg 0% 95%), hsl(0deg 0% 12%));
319
+ border: none;
320
+ padding: var(--iframe-spacing);
321
+ width: calc(100vi - 2 * var(--iframe-spacing));
322
+ height: calc(100vb - 2 * var(--iframe-spacing));
323
+ max-width: 70ch;
324
+ box-sizing: border-box;
325
+ overscroll-behavior: contain;
326
326
  }
327
327
 
328
328
  .Component-mockData::backdrop {
329
- background: light-dark(rgb(255 255 255 / 80%), rgb(0 0 0 / 80%));
329
+ background: light-dark(rgb(255 255 255 / 80%), rgb(0 0 0 / 80%));
330
330
  }
331
331
 
332
332
  .Component-mockData:not([open]) {
333
- display: none;
333
+ display: none;
334
334
  }
335
335
 
336
336
  .Component-mockDataHeading {
337
- margin-block: 0 1em;
337
+ margin-block: 0 1em;
338
338
  }
339
339
 
340
340
  .Component-closeMockData {
341
- appearance: none;
342
- background: none;
343
- padding: 0;
344
- margin: 0;
345
- border: 0;
346
- color: var(--color-Iframe-link);
347
- text-decoration: underline;
348
- cursor: pointer;
349
- line-height: 1;
350
- font-family: var(--font-family);
351
- font-size: 0.875em;
352
- position: absolute;
353
- inset-block-start: 1rem;
354
- inset-inline-end: 1rem;
341
+ appearance: none;
342
+ background: none;
343
+ padding: 0;
344
+ margin: 0;
345
+ border: 0;
346
+ color: var(--color-Iframe-link);
347
+ text-decoration: underline;
348
+ cursor: pointer;
349
+ line-height: 1;
350
+ font-family: var(--font-family);
351
+ font-size: 0.875em;
352
+ position: absolute;
353
+ inset-block-start: 1rem;
354
+ inset-inline-end: 1rem;
355
355
  }
356
356
 
357
357
  .Component-file {
358
- align-items: center;
359
- color: var(--color-Iframe-text-secondary);
360
- display: inline-flex;
361
- flex-wrap: wrap;
362
- font-family: var(--font-family);
363
- font-size: 0.875em;
364
- letter-spacing: 0.0375em;
365
- text-decoration: none;
366
- text-transform: uppercase;
358
+ align-items: center;
359
+ color: var(--color-Iframe-text-secondary);
360
+ display: inline-flex;
361
+ flex-wrap: wrap;
362
+ font-family: var(--font-family);
363
+ font-size: 0.875em;
364
+ letter-spacing: 0.0375em;
365
+ text-decoration: none;
366
+ text-transform: uppercase;
367
367
  }
368
368
 
369
369
  .Component-file:hover,
370
370
  .Component-file:focus,
371
371
  .Component-file:active {
372
- text-decoration: underline;
372
+ text-decoration: underline;
373
373
  }
374
374
 
375
375
  .Component-fileFolders {
376
- color: var(--color-Iframe-text-tertiary);
376
+ color: var(--color-Iframe-text-tertiary);
377
377
  }
378
378
 
379
379
  .ComponentView {
380
- border: 0.0625rem solid var(--color-Outline);
381
- box-sizing: border-box;
382
- height: calc(100vh - 2 * var(--iframe-spacing));
383
- overflow: hidden;
384
- resize: both;
385
- width: 100%;
380
+ border: 0.0625rem solid var(--color-Outline);
381
+ box-sizing: border-box;
382
+ height: calc(100vh - 2 * var(--iframe-spacing));
383
+ overflow: hidden;
384
+ resize: both;
385
+ width: 100%;
386
386
  }
387
387
 
388
388
  .ComponentView-iframe {
389
- height: 100%;
390
- width: 100%;
389
+ height: 100%;
390
+ width: 100%;
391
391
  }
392
392
 
393
393
  [data-mode="presentation"] .DeveloperInformation {
394
- display: none;
394
+ display: none;
395
395
  }
396
396
 
397
397
  @media screen and (prefers-reduced-motion) {
398
- *,
399
- *::after,
400
- *::before {
401
- animation: none !important;
402
- transition: none !important;
403
- }
398
+ *,
399
+ *::after,
400
+ *::before {
401
+ animation: none !important;
402
+ transition: none !important;
403
+ }
404
404
  }
405
405
 
406
406
  @media (prefers-color-scheme: dark) {
407
- .Iframe-newTabLink::before {
408
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' focusable='false' aria-hidden='true'%3E%3Cpath d='M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6M15 3h6v6M10 14L21 3'%3E%3C/path%3E%3C/svg%3E");
409
- }
407
+ .Iframe-newTabLink::before {
408
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' focusable='false' aria-hidden='true'%3E%3Cpath d='M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6M15 3h6v6M10 14L21 3'%3E%3C/path%3E%3C/svg%3E");
409
+ }
410
410
  }
@@ -1,49 +1,49 @@
1
1
  /** @define ConfigSwitcher; */
2
2
 
3
3
  .ConfigSwitcher-options {
4
- display: flex;
5
- gap: 0.5rem;
6
- margin-block-start: 0.25rem;
4
+ display: flex;
5
+ gap: 0.5rem;
6
+ margin-block-start: 0.25rem;
7
7
  }
8
8
 
9
9
  .ConfigSwitcher-option {
10
- position: relative;
10
+ position: relative;
11
11
  }
12
12
 
13
13
  .ConfigSwitcher [type="radio"] {
14
- position: absolute;
15
- inset-block-start: 0;
16
- inset-inline-start: 0;
17
- opacity: 0.01;
14
+ position: absolute;
15
+ inset-block-start: 0;
16
+ inset-inline-start: 0;
17
+ opacity: 0.01;
18
18
  }
19
19
 
20
20
  .ConfigSwitcher label {
21
- display: flex;
22
- padding: 0.25em;
23
- cursor: pointer;
21
+ display: flex;
22
+ padding: 0.25em;
23
+ cursor: pointer;
24
24
  }
25
25
 
26
26
  .ConfigSwitcher :checked + label {
27
- outline: 0.0625em solid currentcolor;
27
+ outline: 0.0625em solid currentcolor;
28
28
  }
29
29
 
30
30
  .ConfigSwitcher input:focus-visible + label {
31
- outline: var(--outline);
32
- outline-offset: var(--outline-offset);
31
+ outline: var(--outline);
32
+ outline-offset: var(--outline-offset);
33
33
  }
34
34
 
35
35
  .ConfigSwitcher svg {
36
- block-size: 1em;
37
- inline-size: 1em;
38
- fill: var(--color-Link);
36
+ block-size: 1em;
37
+ inline-size: 1em;
38
+ fill: var(--color-Link);
39
39
  }
40
40
 
41
41
  .ConfigSwitcher :checked + label svg {
42
- fill: var(--color-Link-active, var(--color-Link));
42
+ fill: var(--color-Link-active, var(--color-Link));
43
43
  }
44
44
 
45
45
  @media (width <= 40rem) {
46
- .ConfigSwitchers {
47
- margin-block-start: 1rem;
48
- }
46
+ .ConfigSwitchers {
47
+ margin-block-start: 1rem;
48
+ }
49
49
  }