@eqtylab/equality 4.5.0 → 4.6.0
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/CHANGELOG.md +22 -0
- package/dist/dropdown-menu.module.module.css.module.css +5 -0
- package/dist/generated/color-vars.css +10 -0
- package/dist/generated/dark-tokens.css +4 -0
- package/dist/generated/global-dark-tokens.css +4 -0
- package/dist/generated/global-light-tokens.css +6 -0
- package/dist/generated/light-tokens.css +6 -0
- package/dist/generated/tailwind-tokens.css +6 -0
- package/dist/index.cjs +13 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +13 -1
- package/dist/index.js.map +1 -1
- package/dist/segmented-controls.module.module.css.module.css +23 -3
- package/dist/select.module.module.css.module.css +4 -4
- package/dist/theme-utilities.css +1 -0
- package/dist/theme.module.module.css.module.css +31 -11
- package/package.json +1 -1
|
@@ -113,9 +113,29 @@
|
|
|
113
113
|
.size--lg .segment:not(.segment--icon-only) {
|
|
114
114
|
padding-inline: calc(0.25rem * 4);
|
|
115
115
|
}
|
|
116
|
+
.variant--primary {
|
|
117
|
+
--segment-active-fill: var(--color-button-primary-fill);
|
|
118
|
+
--segment-active-text: var(--color-button-primary-text);
|
|
119
|
+
}
|
|
120
|
+
.variant--danger {
|
|
121
|
+
--segment-active-fill: var(--color-button-danger-fill);
|
|
122
|
+
--segment-active-text: var(--color-button-danger-text);
|
|
123
|
+
}
|
|
124
|
+
.variant--warning {
|
|
125
|
+
--segment-active-fill: var(--color-button-warning-fill);
|
|
126
|
+
--segment-active-text: var(--color-button-warning-text);
|
|
127
|
+
}
|
|
128
|
+
.variant--success {
|
|
129
|
+
--segment-active-fill: var(--color-button-success-fill);
|
|
130
|
+
--segment-active-text: var(--color-button-success-text);
|
|
131
|
+
}
|
|
132
|
+
.variant--neutral {
|
|
133
|
+
--segment-active-fill: var(--color-button-neutral-fill);
|
|
134
|
+
--segment-active-text: var(--color-button-neutral-text);
|
|
135
|
+
}
|
|
116
136
|
.segment--active,
|
|
117
137
|
.segment--active .segment-icon {
|
|
118
|
-
color: var(--
|
|
138
|
+
color: var(--segment-active-text);
|
|
119
139
|
}
|
|
120
140
|
.segment--inactive,
|
|
121
141
|
.segment--inactive .segment-icon {
|
|
@@ -150,12 +170,12 @@
|
|
|
150
170
|
left: 2px;
|
|
151
171
|
width: calc(var(--indicator-width) - 4px);
|
|
152
172
|
border-radius: 3px;
|
|
153
|
-
background-color: var(--
|
|
173
|
+
background-color: var(--segment-active-fill);
|
|
154
174
|
box-shadow: 0 1px 2px rgb(0 0 0 / 0.2),
|
|
155
175
|
inset 0 1px 0px rgb(255 255 255 / 0.25);
|
|
156
176
|
}
|
|
157
177
|
.active-segment-indicator--animated {
|
|
158
|
-
transition-property: transform,width;
|
|
178
|
+
transition-property: transform,width,background-color;
|
|
159
179
|
transition-timing-function: var(--tw-ease, cubic-bezier(0.4, 0, 0.2, 1));
|
|
160
180
|
transition-duration: var(--tw-duration, 150ms);
|
|
161
181
|
--tw-duration: var(--segment-transition-duration);
|
|
@@ -153,8 +153,8 @@
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
.select-viewport--popper {
|
|
156
|
-
height: var(--radix-select-trigger-height);
|
|
157
156
|
width: 100%;
|
|
157
|
+
flex: none !important;
|
|
158
158
|
overflow: visible !important;
|
|
159
159
|
}
|
|
160
160
|
.select-label {
|
|
@@ -280,6 +280,9 @@
|
|
|
280
280
|
display: none;
|
|
281
281
|
}
|
|
282
282
|
.select-search {
|
|
283
|
+
position: sticky;
|
|
284
|
+
top: calc(0.25rem * 0);
|
|
285
|
+
z-index: 10;
|
|
283
286
|
display: flex;
|
|
284
287
|
align-items: center;
|
|
285
288
|
justify-content: center;
|
|
@@ -289,9 +292,6 @@
|
|
|
289
292
|
margin-bottom: calc(0.25rem * 1);
|
|
290
293
|
border-bottom-style: var(--tw-border-style);
|
|
291
294
|
border-bottom-width: 1px;
|
|
292
|
-
position: sticky;
|
|
293
|
-
top: calc(0.25rem * 0);
|
|
294
|
-
z-index: 10;
|
|
295
295
|
}
|
|
296
296
|
.select-content--popper .select-search {
|
|
297
297
|
top: calc(0.25rem * -1);
|
package/dist/theme-utilities.css
CHANGED
|
@@ -53,10 +53,17 @@
|
|
|
53
53
|
--color-border: color(display-p3 0.7432 0.7432 0.7432);
|
|
54
54
|
--color-brand-primary: color(display-p3 0.7319 0.6108 0.8873);
|
|
55
55
|
--color-button-danger-fill: color(display-p3 0.7365 0.2216 0.2026);
|
|
56
|
+
--color-button-danger-text: color(display-p3 1 1 1);
|
|
57
|
+
--color-button-neutral-fill: color(display-p3 0.3886 0.3886 0.3886);
|
|
58
|
+
--color-button-neutral-text: color(display-p3 1 1 1);
|
|
56
59
|
--color-button-primary-fill: color(display-p3 0.5242 0.2903 0.7705);
|
|
60
|
+
--color-button-primary-text: color(display-p3 1 1 1);
|
|
57
61
|
--color-button-secondary-fill: color(display-p3 0.0861 0.0861 0.0861);
|
|
62
|
+
--color-button-success-fill: color(display-p3 0.2946 0.5328 0.2433);
|
|
63
|
+
--color-button-success-text: color(display-p3 1 1 1);
|
|
58
64
|
--color-button-tertiary-fill: color(display-p3 1 1 1);
|
|
59
65
|
--color-button-warning-fill: color(display-p3 0.8263 0.6154 0.2247);
|
|
66
|
+
--color-button-warning-text: color(display-p3 1 1 1);
|
|
60
67
|
--color-focus-ring: color(display-p3 0.5242 0.2903 0.7705);
|
|
61
68
|
--color-lilac-100: color(display-p3 0.9492 0.917 0.9935);
|
|
62
69
|
--color-lilac-300: color(display-p3 0.7319 0.6108 0.8873);
|
|
@@ -212,6 +219,20 @@
|
|
|
212
219
|
.visible {
|
|
213
220
|
visibility: visible;
|
|
214
221
|
}
|
|
222
|
+
.dropdown-search {
|
|
223
|
+
position: sticky;
|
|
224
|
+
top: calc(0.25rem * 0);
|
|
225
|
+
z-index: 10;
|
|
226
|
+
display: flex;
|
|
227
|
+
align-items: center;
|
|
228
|
+
justify-content: center;
|
|
229
|
+
gap: calc(0.25rem * 2);
|
|
230
|
+
padding-inline: calc(0.25rem * 2);
|
|
231
|
+
padding-block: calc(0.25rem * 1.5);
|
|
232
|
+
margin-bottom: calc(0.25rem * 1);
|
|
233
|
+
border-bottom-style: var(--tw-border-style);
|
|
234
|
+
border-bottom-width: 1px;
|
|
235
|
+
}
|
|
215
236
|
.absolute {
|
|
216
237
|
position: absolute;
|
|
217
238
|
}
|
|
@@ -293,17 +314,6 @@
|
|
|
293
314
|
max-width: 96rem;
|
|
294
315
|
}
|
|
295
316
|
}
|
|
296
|
-
.dropdown-search {
|
|
297
|
-
display: flex;
|
|
298
|
-
align-items: center;
|
|
299
|
-
justify-content: center;
|
|
300
|
-
gap: calc(0.25rem * 2);
|
|
301
|
-
padding-inline: calc(0.25rem * 2);
|
|
302
|
-
padding-block: calc(0.25rem * 1.5);
|
|
303
|
-
margin-bottom: calc(0.25rem * 1);
|
|
304
|
-
border-bottom-style: var(--tw-border-style);
|
|
305
|
-
border-bottom-width: 1px;
|
|
306
|
-
}
|
|
307
317
|
.block {
|
|
308
318
|
display: block;
|
|
309
319
|
}
|
|
@@ -562,12 +572,18 @@
|
|
|
562
572
|
--color-button-danger-border: color(display-p3 0.5698 0.1873 0.1674);
|
|
563
573
|
--color-button-danger-fill: color(display-p3 0.7365 0.2216 0.2026);
|
|
564
574
|
--color-button-danger-text: color(display-p3 1 1 1);
|
|
575
|
+
--color-button-neutral-border: color(display-p3 0.3886 0.3886 0.3886);
|
|
576
|
+
--color-button-neutral-fill: color(display-p3 0.3886 0.3886 0.3886);
|
|
577
|
+
--color-button-neutral-text: color(display-p3 1 1 1);
|
|
565
578
|
--color-button-primary-border: color(display-p3 0.5242 0.2903 0.7705);
|
|
566
579
|
--color-button-primary-fill: color(display-p3 0.5242 0.2903 0.7705);
|
|
567
580
|
--color-button-primary-text: color(display-p3 1 1 1);
|
|
568
581
|
--color-button-secondary-border: color(display-p3 0.0861 0.0861 0.0861);
|
|
569
582
|
--color-button-secondary-fill: color(display-p3 0.0861 0.0861 0.0861);
|
|
570
583
|
--color-button-secondary-text: color(display-p3 1 1 1);
|
|
584
|
+
--color-button-success-border: color(display-p3 0.2946 0.5328 0.2433);
|
|
585
|
+
--color-button-success-fill: color(display-p3 0.2946 0.5328 0.2433);
|
|
586
|
+
--color-button-success-text: color(display-p3 1 1 1);
|
|
571
587
|
--color-button-tertiary-border: color(display-p3 0.7432 0.7432 0.7432);
|
|
572
588
|
--color-button-tertiary-fill: color(display-p3 1 1 1);
|
|
573
589
|
--color-button-tertiary-text: color(display-p3 0 0 0);
|
|
@@ -814,11 +830,15 @@
|
|
|
814
830
|
--color-border: color(display-p3 0.1792 0.1792 0.1792);
|
|
815
831
|
--color-button-danger-border: color(display-p3 0.7365 0.2216 0.2026);
|
|
816
832
|
--color-button-danger-fill: color(display-p3 0.7365 0.2216 0.2026);
|
|
833
|
+
--color-button-neutral-border: color(display-p3 0.3886 0.3886 0.3886);
|
|
834
|
+
--color-button-neutral-fill: color(display-p3 0.3886 0.3886 0.3886);
|
|
817
835
|
--color-button-primary-border: color(display-p3 0.5242 0.2903 0.7705);
|
|
818
836
|
--color-button-primary-fill: color(display-p3 0.5242 0.2903 0.7705);
|
|
819
837
|
--color-button-secondary-border: color(display-p3 1 1 1);
|
|
820
838
|
--color-button-secondary-fill: color(display-p3 1 1 1);
|
|
821
839
|
--color-button-secondary-text: color(display-p3 0 0 0);
|
|
840
|
+
--color-button-success-border: color(display-p3 0.2946 0.5328 0.2433);
|
|
841
|
+
--color-button-success-fill: color(display-p3 0.2946 0.5328 0.2433);
|
|
822
842
|
--color-button-tertiary-border: color(display-p3 0.2806 0.2806 0.2806);
|
|
823
843
|
--color-button-tertiary-fill: color(display-p3 0 0 0);
|
|
824
844
|
--color-button-tertiary-text: color(display-p3 1 1 1);
|