@ship-ui/core 0.14.20 → 0.14.22
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
|
@@ -53,7 +53,9 @@ $shipFormFieldShadow: false !default;
|
|
|
53
53
|
transform: scale(1);
|
|
54
54
|
|
|
55
55
|
&:active {
|
|
56
|
-
|
|
56
|
+
.input-wrap {
|
|
57
|
+
--ff-bs: 0 0 6px 0 var(--base-4);
|
|
58
|
+
}
|
|
57
59
|
}
|
|
58
60
|
|
|
59
61
|
&[readonly],
|
|
@@ -173,7 +175,9 @@ $shipFormFieldShadow: false !default;
|
|
|
173
175
|
background: var(--ff-bg);
|
|
174
176
|
box-shadow: var(--ff-bs);
|
|
175
177
|
overflow: hidden;
|
|
176
|
-
transition:
|
|
178
|
+
transition:
|
|
179
|
+
border-color 125ms linear,
|
|
180
|
+
box-shadow 75ms linear;
|
|
177
181
|
min-width: var(--ff-mw);
|
|
178
182
|
width: 100%;
|
|
179
183
|
|
|
@@ -34,6 +34,10 @@ $shipList: true !default;
|
|
|
34
34
|
line-height: p2r(24);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
&[shsortable] [item]:active {
|
|
38
|
+
transform: scale(1);
|
|
39
|
+
}
|
|
40
|
+
|
|
37
41
|
> [action],
|
|
38
42
|
> [item] {
|
|
39
43
|
border-radius: var(--list-s);
|
|
@@ -69,16 +73,13 @@ $shipList: true !default;
|
|
|
69
73
|
}
|
|
70
74
|
}
|
|
71
75
|
|
|
72
|
-
:has(input
|
|
73
|
-
:has(input[type='radio']),
|
|
76
|
+
:has(input),
|
|
74
77
|
> [action] {
|
|
75
78
|
cursor: pointer;
|
|
76
79
|
}
|
|
77
80
|
|
|
78
|
-
> [item]:has(input
|
|
79
|
-
> [action]:has(input
|
|
80
|
-
> [item]:has(input[type='radio']:checked),
|
|
81
|
-
> [action]:has(input[type='radio']:checked),
|
|
81
|
+
> [item]:has(input:checked),
|
|
82
|
+
> [action]:has(input:checked),
|
|
82
83
|
> [action].active,
|
|
83
84
|
> [action].selected {
|
|
84
85
|
--list-color: var(--base-12);
|
|
@@ -88,10 +89,8 @@ $shipList: true !default;
|
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
&.primary {
|
|
91
|
-
> [item]:has(input
|
|
92
|
-
> [action]:has(input
|
|
93
|
-
> [item]:has(input[type='radio']:checked),
|
|
94
|
-
> [action]:has(input[type='radio']:checked),
|
|
92
|
+
> [item]:has(input:checked),
|
|
93
|
+
> [action]:has(input:checked),
|
|
95
94
|
> [action].active,
|
|
96
95
|
> [action].selected {
|
|
97
96
|
sh-icon:first-child {
|
|
@@ -101,10 +100,8 @@ $shipList: true !default;
|
|
|
101
100
|
}
|
|
102
101
|
|
|
103
102
|
&.accent {
|
|
104
|
-
> [item]:has(input
|
|
105
|
-
> [action]:has(input
|
|
106
|
-
> [item]:has(input[type='radio']:checked),
|
|
107
|
-
> [action]:has(input[type='radio']:checked),
|
|
103
|
+
> [item]:has(input:checked),
|
|
104
|
+
> [action]:has(input:checked),
|
|
108
105
|
> [action].active,
|
|
109
106
|
> [action].selected {
|
|
110
107
|
sh-icon:first-child {
|
|
@@ -114,10 +111,8 @@ $shipList: true !default;
|
|
|
114
111
|
}
|
|
115
112
|
|
|
116
113
|
&.warn {
|
|
117
|
-
> [item]:has(input
|
|
118
|
-
> [action]:has(input
|
|
119
|
-
> [item]:has(input[type='radio']:checked),
|
|
120
|
-
> [action]:has(input[type='radio']:checked),
|
|
114
|
+
> [item]:has(input:checked),
|
|
115
|
+
> [action]:has(input:checked),
|
|
121
116
|
> [action].active,
|
|
122
117
|
> [action].selected {
|
|
123
118
|
sh-icon:first-child {
|
|
@@ -127,10 +122,8 @@ $shipList: true !default;
|
|
|
127
122
|
}
|
|
128
123
|
|
|
129
124
|
&.error {
|
|
130
|
-
> [item]:has(input
|
|
131
|
-
> [action]:has(input
|
|
132
|
-
> [item]:has(input[type='radio']:checked),
|
|
133
|
-
> [action]:has(input[type='radio']:checked),
|
|
125
|
+
> [item]:has(input:checked),
|
|
126
|
+
> [action]:has(input:checked),
|
|
134
127
|
> [action].active,
|
|
135
128
|
> [action].selected {
|
|
136
129
|
sh-icon:first-child {
|
|
@@ -140,10 +133,8 @@ $shipList: true !default;
|
|
|
140
133
|
}
|
|
141
134
|
|
|
142
135
|
&.success {
|
|
143
|
-
> [item]:has(input
|
|
144
|
-
> [action]:has(input
|
|
145
|
-
> [item]:has(input[type='radio']:checked),
|
|
146
|
-
> [action]:has(input[type='radio']:checked),
|
|
136
|
+
> [item]:has(input:checked),
|
|
137
|
+
> [action]:has(input:checked),
|
|
147
138
|
> [action].active,
|
|
148
139
|
> [action].selected {
|
|
149
140
|
sh-icon:first-child {
|
|
@@ -97,18 +97,19 @@ html body {
|
|
|
97
97
|
--success-g2: linear-gradient(180deg, hsl(160, 84%, 54.25%) 0%, hsl(160, 84%, 39%) 50%);
|
|
98
98
|
--success-g3: linear-gradient(180deg, hsl(160, 84%, 69.5%) 0%, hsl(160, 84%, 39%) 50%);
|
|
99
99
|
|
|
100
|
-
|
|
101
|
-
--base-
|
|
102
|
-
--base-
|
|
103
|
-
--base-
|
|
104
|
-
--base-
|
|
105
|
-
--base-
|
|
106
|
-
--base-
|
|
107
|
-
--base-
|
|
108
|
-
--base-
|
|
109
|
-
--base-
|
|
110
|
-
--base-
|
|
111
|
-
--base-
|
|
100
|
+
$darkThemeLightness: 0%;
|
|
101
|
+
--base-1: #{light-dark(#fff, hsl(0, 0%, (5.75% + $darkThemeLightness)))};
|
|
102
|
+
--base-2: #{light-dark(hsl(0, 0%, 98.05%), hsl(0, 0%, 8.75% + $darkThemeLightness))};
|
|
103
|
+
--base-3: #{light-dark(hsl(0, 0%, 94.5%), hsl(0, 0%, 11.5% + $darkThemeLightness))};
|
|
104
|
+
--base-4: #{light-dark(hsl(0, 0%, 84.75%), hsl(0, 0%, 17.25% + $darkThemeLightness))};
|
|
105
|
+
--base-5: #{light-dark(hsl(0, 0%, 79.75%), hsl(0, 0%, 17.25% + $darkThemeLightness))};
|
|
106
|
+
--base-6: #{light-dark(hsl(0, 0%, 66.25%), hsl(0, 0%, 28.75% + $darkThemeLightness))};
|
|
107
|
+
--base-7: #{light-dark(hsl(0, 0%, 54.5%), hsl(0, 0%, 34.5% + $darkThemeLightness))};
|
|
108
|
+
--base-8: #{light-dark(hsl(0, 0%, 46%), hsl(0, 0%, 54% + $darkThemeLightness))};
|
|
109
|
+
--base-9: #{light-dark(hsl(0, 0%, 35.65%), hsl(0, 0%, 64.5% + $darkThemeLightness))};
|
|
110
|
+
--base-10: #{light-dark(hsl(0, 0%, 25.3%), hsl(0, 0%, 73% + $darkThemeLightness))};
|
|
111
|
+
--base-11: #{light-dark(hsl(0, 0%, 14.95%), hsl(0, 0%, 86.5% + $darkThemeLightness))};
|
|
112
|
+
--base-12: #{light-dark(hsl(0, 0%, 4.6%), hsl(0, 0%, 100% + $darkThemeLightness))};
|
|
112
113
|
|
|
113
114
|
--base-g2: linear-gradient(180deg, hsl(0, 0%, 66.25%) 0%, hsl(0, 0%, 46%) 50%);
|
|
114
115
|
--base-g3: linear-gradient(180deg, hsl(0, 0%, 73%) 0%, hsl(0, 0%, 46%) 50%);
|