@eqtylab/equality 4.9.0 → 4.10.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.
@@ -115,8 +115,14 @@
115
115
  color: var(--color-badge-text-danger, color(display-p3 0.2625 0.1106 0.09605)) !important;
116
116
  }
117
117
  .progress-indicator-step-marker--active {
118
- background-color: var(--color-badge-background-primary, color(display-p3 0.795 0.7755 0.9866)) !important;
119
- color: var(--color-badge-text-primary, color(display-p3 0.1608 0.1145 0.3417)) !important;
118
+ background-color: var(--color-lilac-200, color(display-p3 0.8396 0.7634 0.9416)) !important;
119
+ color: var(--color-lilac-800, color(display-p3 0.1898 0.115 0.3008)) !important;
120
+ &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
121
+ background-color: var(--color-lilac-700, color(display-p3 0.2927 0.172 0.4505)) !important;
122
+ }
123
+ &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
124
+ color: var(--color-lilac-200, color(display-p3 0.8396 0.7634 0.9416)) !important;
125
+ }
120
126
  }
121
127
  .progress-indicator-step-text {
122
128
  display: flex;
@@ -50,8 +50,8 @@
50
50
  justify-content: center;
51
51
  }
52
52
  .indicator-icon {
53
- width: calc(0.25rem * 2);
54
- height: calc(0.25rem * 2);
53
+ width: calc(0.25rem * 2.5);
54
+ height: calc(0.25rem * 2.5);
55
55
  fill: currentcolor;
56
56
  color: currentcolor;
57
57
  }
@@ -69,6 +69,8 @@
69
69
  --color-greyscale-600: color(display-p3 0.3886 0.3886 0.3886);
70
70
  --color-lilac-100: color(display-p3 0.9492 0.917 0.9935);
71
71
  --color-lilac-300: color(display-p3 0.7319 0.6108 0.8873);
72
+ --color-lilac-400: color(display-p3 0.6266 0.4562 0.8302);
73
+ --color-lilac-500: color(display-p3 0.5242 0.2903 0.7705);
72
74
  --color-lilac-600: color(display-p3 0.4045 0.2306 0.6077);
73
75
  --color-lilac-700: color(display-p3 0.2927 0.172 0.4505);
74
76
  --color-resource-background-agent: color(display-p3 0.7135 0.8482 0.7942);
@@ -91,8 +91,6 @@
91
91
  }
92
92
  }
93
93
  .toast--default {
94
- --mix-color: var(--color-brand-primary);
95
- --hover-darken: 50%;
96
94
  border-color: var(--color-badge-text-primary, color(display-p3 0.1608 0.1145 0.3417));
97
95
  background-color: var(--color-badge-background-primary, color(display-p3 0.795 0.7755 0.9866));
98
96
  color: var(--color-badge-text-primary, color(display-p3 0.1608 0.1145 0.3417));
@@ -112,80 +110,14 @@
112
110
  background-color: var(--color-badge-background-success, color(display-p3 0.7403 0.8486 0.7417));
113
111
  color: var(--color-badge-text-success, color(display-p3 0.1097 0.1998 0.08667));
114
112
  }
115
- .toast-action {
116
- --mix-color: var(--color-button-secondary-fill);
117
- height: calc(0.25rem * 7);
118
- padding-inline: calc(0.25rem * 2);
119
- font-size: 0.75rem;
120
- line-height: var(--tw-leading, calc(1 / 0.75));
121
- border-radius: var(--radius-md, 0.375rem);
113
+ .toast .toast-action {
122
114
  font-size: 0.875rem;
123
115
  line-height: var(--tw-leading, calc(1.25 / 0.875));
124
- --tw-font-weight: 500;
125
- font-weight: 500;
126
- white-space: nowrap;
127
- transition-property: all;
128
- transition-timing-function: var(--tw-ease, cubic-bezier(0.4, 0, 0.2, 1));
129
- transition-duration: var(--tw-duration, 150ms);
130
- --tw-duration: 300ms;
131
- transition-duration: 300ms;
132
- display: flex;
133
- align-items: center;
134
- justify-content: center;
135
- gap: calc(0.25rem * 1);
136
- cursor: pointer;
137
- &:disabled {
138
- cursor: not-allowed;
139
- }
140
- &:disabled {
141
- opacity: 50%;
142
- }
143
- & svg {
144
- pointer-events: none;
145
- }
146
- & svg {
147
- width: calc(0.25rem * 4);
148
- height: calc(0.25rem * 4);
149
- }
150
- & svg {
151
- flex-shrink: 0;
152
- }
153
- --tw-ring-offset-color: var(--color-background, color(display-p3 1 1 1));
154
- &:focus-visible {
155
- --tw-ring-color: var(--color-focus-ring, color(display-p3 0.5242 0.2903 0.7705));
156
- }
157
- &:focus-visible {
158
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
159
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
160
- }
161
- &:focus-visible {
162
- --tw-ring-offset-width: 2px;
163
- --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
164
- }
165
- &:focus-visible {
166
- --tw-outline-style: none;
167
- outline-style: none;
168
- }
169
- background-color: var(--mix-color);
170
- border-style: var(--tw-border-style);
171
- border-width: 1px;
172
- border-color: var(--color-button-secondary-border, color(display-p3 0.0861 0.0861 0.0861));
173
- color: var(--color-button-secondary-text, color(display-p3 1 1 1));
174
- &:hover {
175
- @media (hover: hover) {
176
- &:not(*:disabled) {
177
- background-color: var(--mix-color);
178
- @supports (color: color-mix(in lab, red, red)) {
179
- background-color: color-mix(in oklch, var(--mix-color), white var(--hover-lighten, 20%));
180
- }
181
- }
182
- }
183
- }
184
116
  }
185
117
  .toast--danger .toast-action {
186
118
  border-color: var(--color-greyscale-400, color(display-p3 0.6205 0.6205 0.6205));
187
119
  }
188
- .toast--danger:hover .toast-action {
120
+ .toast--danger:hover .toast-action:not(:disabled) {
189
121
  border-color: var(--color-red-400, color(display-p3 0.8114 0.4167 0.3761));
190
122
  background-color: var(--color-red-800, color(display-p3 0.2625 0.1106 0.09605));
191
123
  color: var(--color-red-400, color(display-p3 0.8114 0.4167 0.3761));
@@ -369,10 +301,6 @@
369
301
  syntax: "*";
370
302
  inherits: false;
371
303
  }
372
- @property --tw-duration {
373
- syntax: "*";
374
- inherits: false;
375
- }
376
304
  @keyframes enter {
377
305
  from {
378
306
  opacity: var(--tw-enter-opacity,1);
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "git+https://github.com/eqtylab/equality.git",
8
8
  "directory": "packages/ui"
9
9
  },
10
- "version": "4.9.0",
10
+ "version": "4.10.1",
11
11
  "license": "Apache-2.0",
12
12
  "keywords": [
13
13
  "component library",