@inglorious/ui 9.7.1 → 9.7.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inglorious/ui",
|
|
3
|
-
"version": "9.7.
|
|
3
|
+
"version": "9.7.3",
|
|
4
4
|
"description": "A design system for Inglorious Web with render-function components and customizable themes",
|
|
5
5
|
"author": "Matteo Antony Mistretta <antony.mistretta@gmail.com> (https://ingloriouscoderz.it)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -314,21 +314,21 @@
|
|
|
314
314
|
"**/*.css"
|
|
315
315
|
],
|
|
316
316
|
"peerDependencies": {
|
|
317
|
-
"@inglorious/store": "12.1.
|
|
318
|
-
"@inglorious/utils": "5.1.0",
|
|
319
|
-
"@inglorious/web": "6.10.
|
|
317
|
+
"@inglorious/store": "^12.1.1",
|
|
318
|
+
"@inglorious/utils": "^5.1.0",
|
|
319
|
+
"@inglorious/web": "^6.10.2"
|
|
320
320
|
},
|
|
321
321
|
"devDependencies": {
|
|
322
322
|
"@iconify-icons/fa7-brands": "^2.0.0",
|
|
323
323
|
"@iconify-icons/fa7-regular": "^2.0.0",
|
|
324
324
|
"@iconify-icons/fa7-solid": "^2.0.0",
|
|
325
325
|
"@iconify-icons/material-symbols": "^2.0.6",
|
|
326
|
-
"@inglorious/charts": "12.2.
|
|
326
|
+
"@inglorious/charts": "12.2.5",
|
|
327
327
|
"@inglorious/eslint-config": "1.2.0",
|
|
328
|
-
"@inglorious/store": "12.1.
|
|
329
|
-
"@inglorious/vite-plugin-jsx": "2.0.
|
|
330
|
-
"@inglorious/vite-plugin-vue": "1.0.
|
|
331
|
-
"@inglorious/web": "6.10.
|
|
328
|
+
"@inglorious/store": "12.1.1",
|
|
329
|
+
"@inglorious/vite-plugin-jsx": "2.0.6",
|
|
330
|
+
"@inglorious/vite-plugin-vue": "1.0.7",
|
|
331
|
+
"@inglorious/web": "6.10.2",
|
|
332
332
|
"@storybook/addon-docs": "^10.6.0",
|
|
333
333
|
"@storybook/web-components-vite": "^10.6.0",
|
|
334
334
|
"happy-dom": "^20.14.0",
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
.iw-switch {
|
|
2
2
|
--iw-switch-active-bg: var(--iw-color-primary);
|
|
3
|
+
/* Contains the visually hidden input below. Without it, the input is placed
|
|
4
|
+
against the nearest positioned ancestor, possibly outside the scroll
|
|
5
|
+
container the switch sits in, and focusing it on toggle scrolls that
|
|
6
|
+
ancestor, even one with overflow: hidden, to bring the input into view. */
|
|
7
|
+
position: relative;
|
|
3
8
|
display: inline-flex;
|
|
4
9
|
align-items: center;
|
|
5
10
|
gap: var(--iw-space-2);
|
|
@@ -14,7 +19,10 @@
|
|
|
14
19
|
pointer-events: none;
|
|
15
20
|
}
|
|
16
21
|
|
|
22
|
+
/* Fixed size: a long label shrinks the text, never the track, which would
|
|
23
|
+
otherwise narrow until it is as round as a radio button. */
|
|
17
24
|
.iw-switch-track {
|
|
25
|
+
flex-shrink: 0;
|
|
18
26
|
width: 2.25rem;
|
|
19
27
|
height: 1.25rem;
|
|
20
28
|
border-radius: 999px;
|
|
@@ -47,6 +55,7 @@
|
|
|
47
55
|
.iw-switch-text {
|
|
48
56
|
display: flex;
|
|
49
57
|
flex-direction: column;
|
|
58
|
+
min-width: 0;
|
|
50
59
|
}
|
|
51
60
|
|
|
52
61
|
.iw-switch-description {
|