@seed-design/css 3.2.0 → 3.2.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/all.css +25 -6
- package/all.layered.css +25 -6
- package/all.layered.min.css +1 -1
- package/all.min.css +1 -1
- package/package.json +1 -1
- package/recipes/alert-dialog.css +3 -1
- package/recipes/alert-dialog.layered.css +3 -1
- package/recipes/bottom-sheet.css +3 -1
- package/recipes/bottom-sheet.layered.css +3 -1
- package/recipes/dialog.css +3 -1
- package/recipes/dialog.layered.css +3 -1
- package/recipes/menu-sheet.css +3 -1
- package/recipes/menu-sheet.layered.css +3 -1
- package/recipes/segmented-control.css +7 -0
- package/recipes/segmented-control.layered.css +9 -0
- package/recipes/side-panel.css +3 -1
- package/recipes/side-panel.layered.css +3 -1
- package/recipes/tabs.css +3 -0
- package/recipes/tabs.layered.css +1 -1
package/package.json
CHANGED
package/recipes/alert-dialog.css
CHANGED
|
@@ -25,7 +25,9 @@
|
|
|
25
25
|
flex: 1;
|
|
26
26
|
flex-direction: column;
|
|
27
27
|
box-sizing: border-box;
|
|
28
|
-
word-break:
|
|
28
|
+
word-break: normal;
|
|
29
|
+
overflow-wrap: break-word;
|
|
30
|
+
overflow-wrap: anywhere;
|
|
29
31
|
z-index: calc(var(--dialog-z-index) + var(--layer-index, 0));
|
|
30
32
|
background: var(--seed-color-bg-layer-floating);
|
|
31
33
|
max-width: 272px;
|
|
@@ -23,7 +23,9 @@
|
|
|
23
23
|
|
|
24
24
|
.seed-alert-dialog__content {
|
|
25
25
|
box-sizing: border-box;
|
|
26
|
-
word-break:
|
|
26
|
+
word-break: normal;
|
|
27
|
+
overflow-wrap: break-word;
|
|
28
|
+
overflow-wrap: anywhere;
|
|
27
29
|
z-index: calc(var(--dialog-z-index) + var(--layer-index, 0));
|
|
28
30
|
background: var(--seed-color-bg-layer-floating);
|
|
29
31
|
max-width: 272px;
|
package/recipes/bottom-sheet.css
CHANGED
|
@@ -31,7 +31,9 @@
|
|
|
31
31
|
flex: 1;
|
|
32
32
|
flex-direction: column;
|
|
33
33
|
box-sizing: border-box;
|
|
34
|
-
word-break:
|
|
34
|
+
word-break: normal;
|
|
35
|
+
overflow-wrap: break-word;
|
|
36
|
+
overflow-wrap: anywhere;
|
|
35
37
|
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
36
38
|
background: var(--seed-color-bg-layer-floating);
|
|
37
39
|
max-width: 480px;
|
|
@@ -29,7 +29,9 @@
|
|
|
29
29
|
|
|
30
30
|
.seed-bottom-sheet__content {
|
|
31
31
|
box-sizing: border-box;
|
|
32
|
-
word-break:
|
|
32
|
+
word-break: normal;
|
|
33
|
+
overflow-wrap: break-word;
|
|
34
|
+
overflow-wrap: anywhere;
|
|
33
35
|
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
34
36
|
background: var(--seed-color-bg-layer-floating);
|
|
35
37
|
max-width: 480px;
|
package/recipes/dialog.css
CHANGED
|
@@ -44,7 +44,9 @@
|
|
|
44
44
|
flex: 0 0 auto;
|
|
45
45
|
flex-direction: column;
|
|
46
46
|
box-sizing: border-box;
|
|
47
|
-
word-break:
|
|
47
|
+
word-break: normal;
|
|
48
|
+
overflow-wrap: break-word;
|
|
49
|
+
overflow-wrap: anywhere;
|
|
48
50
|
z-index: calc(var(--dialog-z-index) + var(--layer-index, 0));
|
|
49
51
|
background: var(--seed-color-bg-layer-floating);
|
|
50
52
|
border-radius: var(--seed-radius-r5);
|
|
@@ -44,7 +44,9 @@
|
|
|
44
44
|
|
|
45
45
|
.seed-dialog__content {
|
|
46
46
|
box-sizing: border-box;
|
|
47
|
-
word-break:
|
|
47
|
+
word-break: normal;
|
|
48
|
+
overflow-wrap: break-word;
|
|
49
|
+
overflow-wrap: anywhere;
|
|
48
50
|
z-index: calc(var(--dialog-z-index) + var(--layer-index, 0));
|
|
49
51
|
background: var(--seed-color-bg-layer-floating);
|
|
50
52
|
border-radius: var(--seed-radius-r5);
|
package/recipes/menu-sheet.css
CHANGED
|
@@ -23,7 +23,9 @@
|
|
|
23
23
|
flex: 1;
|
|
24
24
|
flex-direction: column;
|
|
25
25
|
box-sizing: border-box;
|
|
26
|
-
word-break:
|
|
26
|
+
word-break: normal;
|
|
27
|
+
overflow-wrap: break-word;
|
|
28
|
+
overflow-wrap: anywhere;
|
|
27
29
|
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
28
30
|
background: var(--seed-color-bg-layer-floating);
|
|
29
31
|
max-width: 480px;
|
|
@@ -21,7 +21,9 @@
|
|
|
21
21
|
|
|
22
22
|
.seed-menu-sheet__content {
|
|
23
23
|
box-sizing: border-box;
|
|
24
|
-
word-break:
|
|
24
|
+
word-break: normal;
|
|
25
|
+
overflow-wrap: break-word;
|
|
26
|
+
overflow-wrap: anywhere;
|
|
25
27
|
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
26
28
|
background: var(--seed-color-bg-layer-floating);
|
|
27
29
|
max-width: 480px;
|
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-muted);
|
|
26
26
|
transition: transform var(--seed-duration-d4) var(--seed-timing-function-easing);
|
|
27
27
|
}
|
|
28
|
+
[data-ssr] > .seed-segmented-control__indicator {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
28
31
|
.seed-segmented-control__item {
|
|
29
32
|
display: flex;
|
|
30
33
|
align-items: center;
|
|
@@ -62,6 +65,10 @@
|
|
|
62
65
|
cursor: not-allowed;
|
|
63
66
|
color: var(--seed-color-fg-disabled);
|
|
64
67
|
}
|
|
68
|
+
[data-ssr] > .seed-segmented-control__item:is(:checked, [data-checked]) {
|
|
69
|
+
background-color: var(--seed-color-palette-gray-00);
|
|
70
|
+
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-muted);
|
|
71
|
+
}
|
|
65
72
|
.seed-segmented-control__item:is(:disabled, [disabled], [data-disabled]):is(:checked, [data-checked]) {
|
|
66
73
|
background-color: var(--seed-color-bg-disabled);
|
|
67
74
|
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-muted);
|
|
@@ -28,6 +28,10 @@
|
|
|
28
28
|
position: absolute;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
[data-ssr] > .seed-segmented-control__indicator {
|
|
32
|
+
display: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
31
35
|
.seed-segmented-control__item {
|
|
32
36
|
text-align: center;
|
|
33
37
|
cursor: pointer;
|
|
@@ -71,6 +75,11 @@
|
|
|
71
75
|
color: var(--seed-color-fg-disabled);
|
|
72
76
|
}
|
|
73
77
|
|
|
78
|
+
[data-ssr] > .seed-segmented-control__item:is(:checked, [data-checked]) {
|
|
79
|
+
background-color: var(--seed-color-palette-gray-00);
|
|
80
|
+
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-muted);
|
|
81
|
+
}
|
|
82
|
+
|
|
74
83
|
.seed-segmented-control__item:is(:disabled, [disabled], [data-disabled]):is(:checked, [data-checked]) {
|
|
75
84
|
background-color: var(--seed-color-bg-disabled);
|
|
76
85
|
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-muted);
|
package/recipes/side-panel.css
CHANGED
|
@@ -35,7 +35,9 @@
|
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column;
|
|
37
37
|
box-sizing: border-box;
|
|
38
|
-
word-break:
|
|
38
|
+
word-break: normal;
|
|
39
|
+
overflow-wrap: break-word;
|
|
40
|
+
overflow-wrap: anywhere;
|
|
39
41
|
z-index: calc(var(--side-panel-z-index) + var(--layer-index, 0));
|
|
40
42
|
background: var(--seed-color-bg-layer-floating);
|
|
41
43
|
touch-action: none;
|
|
@@ -37,7 +37,9 @@
|
|
|
37
37
|
|
|
38
38
|
.seed-side-panel__content {
|
|
39
39
|
box-sizing: border-box;
|
|
40
|
-
word-break:
|
|
40
|
+
word-break: normal;
|
|
41
|
+
overflow-wrap: break-word;
|
|
42
|
+
overflow-wrap: anywhere;
|
|
41
43
|
z-index: calc(var(--side-panel-z-index) + var(--layer-index, 0));
|
|
42
44
|
background: var(--seed-color-bg-layer-floating);
|
|
43
45
|
touch-action: none;
|
package/recipes/tabs.css
CHANGED