@zovaris/sephiro 0.11.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.css +5 -1
- package/dist/index.css +81 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/themes.css +59 -2
- package/package.json +1 -1
package/dist/components.css
CHANGED
|
@@ -5052,7 +5052,9 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
|
|
|
5052
5052
|
}
|
|
5053
5053
|
.sph-chart {
|
|
5054
5054
|
font-family: var(--sph-font-sans);
|
|
5055
|
+
position: relative;
|
|
5055
5056
|
margin: 0;
|
|
5057
|
+
min-width: 0;
|
|
5056
5058
|
display: flex;
|
|
5057
5059
|
flex-direction: column;
|
|
5058
5060
|
gap: 8px;
|
|
@@ -5104,7 +5106,7 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
|
|
|
5104
5106
|
}
|
|
5105
5107
|
.sph-chart__plot {
|
|
5106
5108
|
display: grid;
|
|
5107
|
-
grid-template-columns: auto 1fr;
|
|
5109
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
5108
5110
|
column-gap: 8px;
|
|
5109
5111
|
}
|
|
5110
5112
|
.sph-chart__yaxis {
|
|
@@ -5142,6 +5144,8 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
|
|
|
5142
5144
|
.sph-chart__xaxis {
|
|
5143
5145
|
grid-area: 2 / 2;
|
|
5144
5146
|
display: flex;
|
|
5147
|
+
min-width: 0;
|
|
5148
|
+
overflow: hidden;
|
|
5145
5149
|
}
|
|
5146
5150
|
.sph-chart__xaxis span {
|
|
5147
5151
|
overflow: hidden;
|
package/dist/index.css
CHANGED
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
:where([data-sephiro-theme="default"], [data-sephiro-theme="dark"]) {
|
|
118
118
|
color-scheme: dark;
|
|
119
119
|
}
|
|
120
|
-
[data-sephiro-theme="light"] {
|
|
120
|
+
[data-sephiro-theme="light"], [data-sephiro-theme="dark"][data-theme="light"], [data-theme="light"] [data-sephiro-theme="dark"] {
|
|
121
121
|
--sph-bg: #f8f1f2;
|
|
122
122
|
--sph-surface: #fffafb;
|
|
123
123
|
--sph-surface-elevated: #ffffff;
|
|
@@ -178,6 +178,43 @@
|
|
|
178
178
|
--sph-shadow-popover: 0 14px 36px rgb(0 0 0 / 0.38);
|
|
179
179
|
color-scheme: dark;
|
|
180
180
|
}
|
|
181
|
+
[data-sephiro-theme="asterism"][data-theme="light"], [data-theme="light"] [data-sephiro-theme="asterism"] {
|
|
182
|
+
--sph-bg: #f7f7f7;
|
|
183
|
+
--sph-surface: #ffffff;
|
|
184
|
+
--sph-surface-elevated: #ffffff;
|
|
185
|
+
--sph-raised: #eeeeee;
|
|
186
|
+
--sph-border: #d6d6d6;
|
|
187
|
+
--sph-border-strong: #8b8b8b;
|
|
188
|
+
--sph-text: #171717;
|
|
189
|
+
--sph-text-muted: #595959;
|
|
190
|
+
--sph-accent: #c4161d;
|
|
191
|
+
--sph-accent-hover: #a8141b;
|
|
192
|
+
--sph-accent-pressed: #8f1017;
|
|
193
|
+
--sph-accent-strong: #a8141b;
|
|
194
|
+
--sph-on-accent: #ffffff;
|
|
195
|
+
--sph-success: #207a37;
|
|
196
|
+
--sph-success-soft: var(--sph-success);
|
|
197
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
198
|
+
--sph-success-soft: color-mix(in srgb, var(--sph-success) 12%, transparent);
|
|
199
|
+
}
|
|
200
|
+
--sph-warning: #805b17;
|
|
201
|
+
--sph-warning-soft: var(--sph-warning);
|
|
202
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
203
|
+
--sph-warning-soft: color-mix(in srgb, var(--sph-warning) 12%, transparent);
|
|
204
|
+
}
|
|
205
|
+
--sph-danger: #a8141b;
|
|
206
|
+
--sph-danger-soft: var(--sph-danger);
|
|
207
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
208
|
+
--sph-danger-soft: color-mix(in srgb, var(--sph-danger) 12%, transparent);
|
|
209
|
+
}
|
|
210
|
+
--sph-focus: #a8141b;
|
|
211
|
+
--sph-focus-ring: var(--sph-accent);
|
|
212
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
213
|
+
--sph-focus-ring: color-mix(in srgb, var(--sph-accent) 18%, transparent);
|
|
214
|
+
}
|
|
215
|
+
--sph-shadow-popover: 0 14px 36px rgb(0 0 0 / 0.14);
|
|
216
|
+
color-scheme: light;
|
|
217
|
+
}
|
|
181
218
|
[data-sephiro-theme="fizza"] {
|
|
182
219
|
--sph-bg: #000000;
|
|
183
220
|
--sph-surface: #111111;
|
|
@@ -198,6 +235,43 @@
|
|
|
198
235
|
--sph-shadow-popover: 0 14px 36px rgb(0 0 0 / 0.5);
|
|
199
236
|
color-scheme: dark;
|
|
200
237
|
}
|
|
238
|
+
[data-sephiro-theme="fizza"][data-theme="light"], [data-theme="light"] [data-sephiro-theme="fizza"] {
|
|
239
|
+
--sph-bg: #f7f7f7;
|
|
240
|
+
--sph-surface: #ffffff;
|
|
241
|
+
--sph-surface-elevated: #ffffff;
|
|
242
|
+
--sph-raised: #eeeeee;
|
|
243
|
+
--sph-border: #d6d6d6;
|
|
244
|
+
--sph-border-strong: #8b8b8b;
|
|
245
|
+
--sph-text: #171717;
|
|
246
|
+
--sph-text-muted: #595959;
|
|
247
|
+
--sph-accent: #6d28d9;
|
|
248
|
+
--sph-accent-hover: #5b21b6;
|
|
249
|
+
--sph-accent-pressed: #4c1d95;
|
|
250
|
+
--sph-accent-strong: #5b21b6;
|
|
251
|
+
--sph-on-accent: #ffffff;
|
|
252
|
+
--sph-success: #207a37;
|
|
253
|
+
--sph-success-soft: var(--sph-success);
|
|
254
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
255
|
+
--sph-success-soft: color-mix(in srgb, var(--sph-success) 12%, transparent);
|
|
256
|
+
}
|
|
257
|
+
--sph-warning: #805b17;
|
|
258
|
+
--sph-warning-soft: var(--sph-warning);
|
|
259
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
260
|
+
--sph-warning-soft: color-mix(in srgb, var(--sph-warning) 12%, transparent);
|
|
261
|
+
}
|
|
262
|
+
--sph-danger: #a8141b;
|
|
263
|
+
--sph-danger-soft: var(--sph-danger);
|
|
264
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
265
|
+
--sph-danger-soft: color-mix(in srgb, var(--sph-danger) 12%, transparent);
|
|
266
|
+
}
|
|
267
|
+
--sph-focus: #5b21b6;
|
|
268
|
+
--sph-focus-ring: var(--sph-accent);
|
|
269
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
270
|
+
--sph-focus-ring: color-mix(in srgb, var(--sph-accent) 18%, transparent);
|
|
271
|
+
}
|
|
272
|
+
--sph-shadow-popover: 0 14px 36px rgb(0 0 0 / 0.14);
|
|
273
|
+
color-scheme: light;
|
|
274
|
+
}
|
|
201
275
|
[data-sephiro-theme="pulso"] {
|
|
202
276
|
--sph-bg: #f5f5f0;
|
|
203
277
|
--sph-surface: #fcfcf8;
|
|
@@ -239,7 +313,7 @@
|
|
|
239
313
|
--sph-shadow-popover: 0 14px 36px rgb(35 50 38 / 0.14);
|
|
240
314
|
color-scheme: light;
|
|
241
315
|
}
|
|
242
|
-
[data-theme="dark"][data-sephiro-theme="pulso"], [data-theme="dark"] [data-sephiro-theme="pulso"] {
|
|
316
|
+
[data-theme="dark"][data-sephiro-theme="pulso"], [data-theme="dark"] [data-sephiro-theme="pulso"], [data-sephiro-theme="pulso"][data-theme="dark"] {
|
|
243
317
|
--sph-bg: #131713;
|
|
244
318
|
--sph-surface: #1a211b;
|
|
245
319
|
--sph-surface-elevated: #222a23;
|
|
@@ -5348,7 +5422,9 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
|
|
|
5348
5422
|
}
|
|
5349
5423
|
.sph-chart {
|
|
5350
5424
|
font-family: var(--sph-font-sans);
|
|
5425
|
+
position: relative;
|
|
5351
5426
|
margin: 0;
|
|
5427
|
+
min-width: 0;
|
|
5352
5428
|
display: flex;
|
|
5353
5429
|
flex-direction: column;
|
|
5354
5430
|
gap: 8px;
|
|
@@ -5400,7 +5476,7 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
|
|
|
5400
5476
|
}
|
|
5401
5477
|
.sph-chart__plot {
|
|
5402
5478
|
display: grid;
|
|
5403
|
-
grid-template-columns: auto 1fr;
|
|
5479
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
5404
5480
|
column-gap: 8px;
|
|
5405
5481
|
}
|
|
5406
5482
|
.sph-chart__yaxis {
|
|
@@ -5438,6 +5514,8 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
|
|
|
5438
5514
|
.sph-chart__xaxis {
|
|
5439
5515
|
grid-area: 2 / 2;
|
|
5440
5516
|
display: flex;
|
|
5517
|
+
min-width: 0;
|
|
5518
|
+
overflow: hidden;
|
|
5441
5519
|
}
|
|
5442
5520
|
.sph-chart__xaxis span {
|
|
5443
5521
|
overflow: hidden;
|
package/dist/index.js
CHANGED
|
@@ -4865,9 +4865,9 @@ function Chart({ categories, series, variant = "line", height = 160, smooth = fa
|
|
|
4865
4865
|
})
|
|
4866
4866
|
]
|
|
4867
4867
|
}),
|
|
4868
|
-
/* @__PURE__ */
|
|
4868
|
+
/* @__PURE__ */ jsx("div", {
|
|
4869
4869
|
className: "sph-visually-hidden",
|
|
4870
|
-
children: [
|
|
4870
|
+
children: /* @__PURE__ */ jsxs("table", { children: [
|
|
4871
4871
|
/* @__PURE__ */ jsx("caption", { children: summary }),
|
|
4872
4872
|
/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [/* @__PURE__ */ jsx("th", {
|
|
4873
4873
|
scope: "col",
|
|
@@ -4883,7 +4883,7 @@ function Chart({ categories, series, variant = "line", height = 160, smooth = fa
|
|
|
4883
4883
|
const value = entry.values[row];
|
|
4884
4884
|
return /* @__PURE__ */ jsx("td", { children: value == null ? "–" : format(value) }, `cell-${entry.index}-${row}`);
|
|
4885
4885
|
})] }, `row-${row}`)) })
|
|
4886
|
-
]
|
|
4886
|
+
] })
|
|
4887
4887
|
})
|
|
4888
4888
|
]
|
|
4889
4889
|
});
|