@eqtylab/equality 4.9.0 → 4.10.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.
@@ -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);
@@ -112,80 +112,14 @@
112
112
  background-color: var(--color-badge-background-success, color(display-p3 0.7403 0.8486 0.7417));
113
113
  color: var(--color-badge-text-success, color(display-p3 0.1097 0.1998 0.08667));
114
114
  }
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);
115
+ .toast .toast-action {
122
116
  font-size: 0.875rem;
123
117
  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
118
  }
185
119
  .toast--danger .toast-action {
186
120
  border-color: var(--color-greyscale-400, color(display-p3 0.6205 0.6205 0.6205));
187
121
  }
188
- .toast--danger:hover .toast-action {
122
+ .toast--danger:hover .toast-action:not(:disabled) {
189
123
  border-color: var(--color-red-400, color(display-p3 0.8114 0.4167 0.3761));
190
124
  background-color: var(--color-red-800, color(display-p3 0.2625 0.1106 0.09605));
191
125
  color: var(--color-red-400, color(display-p3 0.8114 0.4167 0.3761));
@@ -369,10 +303,6 @@
369
303
  syntax: "*";
370
304
  inherits: false;
371
305
  }
372
- @property --tw-duration {
373
- syntax: "*";
374
- inherits: false;
375
- }
376
306
  @keyframes enter {
377
307
  from {
378
308
  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.0",
11
11
  "license": "Apache-2.0",
12
12
  "keywords": [
13
13
  "component library",