@eqtylab/equality 2.3.3 → 2.4.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.
@@ -12,20 +12,17 @@
12
12
  object-fit: cover;
13
13
  }
14
14
  .avatar-fallback {
15
- border-style: var(--tw-border-style);
16
- border-width: 1px;
17
- border-color: var(--color-border);
18
- --tw-gradient-position: to bottom right in oklab;
15
+ --tw-gradient-position: to bottom in oklab;
19
16
  background-image: linear-gradient(var(--tw-gradient-stops));
20
17
  --tw-gradient-from: var(--color-greyscale-500);
21
- --tw-gradient-to: var(--color-greyscale-700);
18
+ --tw-gradient-to: var(--color-greyscale-600);
22
19
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
23
20
  &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
24
- --tw-gradient-from: var(--color-greyscale-800);
21
+ --tw-gradient-from: var(--color-greyscale-700);
25
22
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
26
23
  }
27
24
  &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
28
- --tw-gradient-to: var(--color-greyscale-900);
25
+ --tw-gradient-to: var(--color-greyscale-800);
29
26
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
30
27
  }
31
28
  width: 100%;
@@ -77,14 +74,21 @@
77
74
  .avatar.circle .avatar-fallback {
78
75
  border-radius: calc(infinity * 1px);
79
76
  }
80
- .avatar.square,
81
- .avatar.square .avatar-fallback {
77
+ .avatar.square.sm,
78
+ .avatar.square.sm .avatar-fallback {
79
+ border-radius: 0.25rem;
80
+ }
81
+ .avatar.square.md,
82
+ .avatar.square.md .avatar-fallback {
83
+ border-radius: var(--radius-md, 0.375rem);
84
+ }
85
+ .avatar.square.lg,
86
+ .avatar.square.lg .avatar-fallback {
82
87
  border-radius: 0.5rem;
83
88
  }
84
- @property --tw-border-style {
85
- syntax: "*";
86
- inherits: false;
87
- initial-value: solid;
89
+ .avatar.square.xl,
90
+ .avatar.square.xl .avatar-fallback {
91
+ border-radius: 0.75rem;
88
92
  }
89
93
  @property --tw-gradient-position {
90
94
  syntax: "*";
@@ -270,14 +270,15 @@
270
270
  gap: calc(0.25rem * 2);
271
271
  padding-inline: calc(0.25rem * 2);
272
272
  padding-block: calc(0.25rem * 1.5);
273
- font-size: 0.875rem;
274
- line-height: var(--tw-leading, calc(1.25 / 0.875));
273
+ font-size: 0.75rem;
274
+ line-height: var(--tw-leading, calc(1 / 0.75));
275
275
  --tw-font-weight: 500;
276
276
  font-weight: 500;
277
+ color: var(--color-text-secondary);
277
278
  }
278
279
  .dropdown-menu-separator {
279
280
  background-color: var(--color-border);
280
- margin-inline: calc(0.25rem * -1);
281
+ margin-inline: calc(0.25rem * 1);
281
282
  margin-block: calc(0.25rem * 1);
282
283
  height: 1px;
283
284
  }
@@ -287,6 +288,16 @@
287
288
  color: var(--color-text-secondary);
288
289
  margin-left: auto;
289
290
  }
291
+ .dropdown-menu-breadcrumb {
292
+ color: var(--color-text-secondary);
293
+ display: inline-flex;
294
+ align-items: center;
295
+ gap: calc(0.25rem * 1);
296
+ }
297
+ .dropdown-menu-breadcrumb svg {
298
+ width: calc(0.25rem * 3) !important;
299
+ height: calc(0.25rem * 3) !important;
300
+ }
290
301
  .dropdown-menu-content {
291
302
  border-color: var(--color-border-overlay);
292
303
  background-color: var(--color-background-overlay);
@@ -295,6 +306,41 @@
295
306
  --tw-shadow-color: color-mix(in oklab, rgba(0, 0, 0, 0.1) var(--tw-shadow-alpha), transparent);
296
307
  }
297
308
  }
309
+ .dropdown-menu-search {
310
+ display: flex;
311
+ align-items: center;
312
+ justify-content: center;
313
+ gap: calc(0.25rem * 2);
314
+ padding-inline: calc(0.25rem * 2);
315
+ padding-block: calc(0.25rem * 1.5);
316
+ margin-bottom: calc(0.25rem * 1);
317
+ border-bottom-style: var(--tw-border-style);
318
+ border-bottom-width: 1px;
319
+ border-color: var(--color-border-overlay);
320
+ }
321
+ .dropdown-menu-search-input {
322
+ min-width: calc(0.25rem * 0);
323
+ flex: 1;
324
+ --tw-border-style: none;
325
+ border-style: none;
326
+ background-color: transparent;
327
+ --tw-outline-style: none;
328
+ outline-style: none;
329
+ font-size: 0.875rem;
330
+ line-height: var(--tw-leading, calc(1.25 / 0.875));
331
+ color: var(--color-text-primary);
332
+ }
333
+ .dropdown-menu-search-input::placeholder {
334
+ color: var(--color-text-secondary);
335
+ }
336
+ .dropdown-menu-empty {
337
+ padding-inline: calc(0.25rem * 2);
338
+ padding-block: calc(0.25rem * 1.5);
339
+ text-align: center;
340
+ font-size: 0.75rem;
341
+ line-height: var(--tw-leading, calc(1 / 0.75));
342
+ color: var(--color-text-secondary);
343
+ }
298
344
  @property --tw-border-style {
299
345
  syntax: "*";
300
346
  inherits: false;