@eqtylab/equality 6.0.0-next.0 → 6.0.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.
@@ -68,6 +68,9 @@
68
68
  outline-style: none;
69
69
  }
70
70
  }
71
+ .input[type='file'] {
72
+ padding-block: calc((var(--eq-control-md-height) - 1lh) / 2 - 1px);
73
+ }
71
74
  .input-container {
72
75
  display: flex;
73
76
  width: 100%;
@@ -87,15 +87,20 @@
87
87
  text-overflow: ellipsis;
88
88
  white-space: nowrap;
89
89
  padding-inline: calc(0.25rem * 2);
90
- padding-block: calc((var(--eq-control-md-height) - var(--eq-control-md-line-height)) / 2);
91
- font-size: 0.875rem;
92
- line-height: var(--tw-leading, calc(1.25 / 0.875));
93
90
  --tw-font-weight: 600;
94
91
  font-weight: 600;
95
92
  color: var(--color-text-primary, color(display-p3 0 0 0));
96
- padding-top: calc(
97
- calc(0.25rem * 4) + (var(--eq-control-md-height) - var(--eq-control-md-line-height)) / 2
93
+ font-size: var(--eq-control-md-font-size);
94
+ line-height: var(--tw-leading,var(--eq-control-md-line-height));
95
+ --nav-title-padding: calc(
96
+ (
97
+ max(var(--eq-control-md-height), var(--eq-touch-target)) -
98
+ var(--tw-leading, var(--eq-control-md-line-height))
99
+ ) /
100
+ 2
98
101
  );
102
+ padding-top: calc(calc(0.25rem * 4) + var(--nav-title-padding));
103
+ padding-bottom: var(--nav-title-padding);
99
104
  background-color: inherit;
100
105
  }
101
106
  .nav-panel-header:has(> .nav-switcher-heading) {
@@ -239,7 +244,7 @@
239
244
  background: var(--color-background-overlay);
240
245
  }
241
246
  .nav-switcher-list:has(.nav-switcher-footer) {
242
- scroll-padding-bottom: 2.5rem;
247
+ scroll-padding-bottom: calc(var(--eq-control-md-height) + calc(0.25rem * 3));
243
248
  }
244
249
  .nav-switcher-list .nav-switcher-action,
245
250
  .nav-switcher-list .nav-switcher-retry {
@@ -194,8 +194,8 @@
194
194
  cursor: pointer;
195
195
  display: flex;
196
196
  align-items: center;
197
- font-size: 0.875rem;
198
- line-height: var(--tw-leading, calc(1.25 / 0.875));
197
+ font-size: var(--eq-control-md-font-size);
198
+ line-height: var(--tw-leading,var(--eq-control-md-line-height));
199
199
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
200
200
  transition-timing-function: var(--tw-ease, cubic-bezier(0.4, 0, 0.2, 1));
201
201
  transition-duration: var(--tw-duration, 150ms);
@@ -1,7 +1,7 @@
1
1
  /*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
2
2
  .tabs-list {
3
3
  color: var(--color-text-secondary, color(display-p3 0.1792 0.1792 0.1792));
4
- height: var(--eq-control-md-height);
4
+ min-height: var(--eq-control-md-height);
5
5
  display: flex;
6
6
  align-items: center;
7
7
  }
@@ -34,10 +34,6 @@
34
34
  border-radius: var(--radius-md, 0.375rem);
35
35
  background-color: var(--color-background-sunken, color(display-p3 0.8648 0.8708 0.8779));
36
36
  }
37
- .tabs-trigger--filled,
38
- .tabs-trigger--transparent {
39
- align-self: stretch;
40
- }
41
37
  .tabs-trigger--filled {
42
38
  width: 100%;
43
39
  padding-inline: var(--eq-control-padding-x-normal);
@@ -8,11 +8,7 @@
8
8
 
9
9
  .root {
10
10
  /* list-item: one selectable row */
11
- --eq-list-item-height: --spacing(9); /* 36. Deprecated: use --eq-control-md-height */
12
- --eq-list-item-padding-x: --spacing(2); /* 8. Deprecated: use --eq-control-padding-x-condensed */
13
- --eq-list-item-gap: --spacing(2); /* 8, icon to text. Deprecated: use --eq-control-md-gap */
14
11
  --eq-list-item-icon-size: --spacing(4); /* 16 */
15
- --eq-list-item-font-size: --theme(--text-sm); /* 14. Deprecated: use --eq-control-md-font-size */
16
12
  --eq-list-item-muted-color: var(--color-text-tertiary);
17
13
  /* list: the rows together */
18
14
  --eq-list-gap: --spacing(0.5); /* 2, between items */
@@ -7,11 +7,7 @@
7
7
  changing it, or tests/theme-css.test.ts fails. */
8
8
  html {
9
9
  /* list-item: one selectable row */
10
- --eq-list-item-height: --spacing(9); /* 36. Deprecated: use --eq-control-md-height */
11
- --eq-list-item-padding-x: --spacing(2); /* 8. Deprecated: use --eq-control-padding-x-condensed */
12
- --eq-list-item-gap: --spacing(2); /* 8, icon to text. Deprecated: use --eq-control-md-gap */
13
10
  --eq-list-item-icon-size: --spacing(4); /* 16 */
14
- --eq-list-item-font-size: --theme(--text-sm); /* 14. Deprecated: use --eq-control-md-font-size */
15
11
  --eq-list-item-muted-color: var(--color-text-tertiary);
16
12
  /* list: the rows together */
17
13
  --eq-list-gap: --spacing(0.5); /* 2, between items */
@@ -82,7 +82,8 @@
82
82
  @utility dropdown-item {
83
83
  @apply cursor-pointer;
84
84
  @apply flex items-center;
85
- @apply text-sm transition-colors;
85
+ @apply text-(length:--eq-control-md-font-size)/[var(--tw-leading,var(--eq-control-md-line-height))];
86
+ @apply transition-colors;
86
87
  @apply relative rounded-sm;
87
88
  @apply outline-hidden select-none;
88
89
  @apply data-disabled:pointer-events-none data-disabled:opacity-50;
@@ -129,8 +129,8 @@
129
129
  cursor: pointer;
130
130
  display: flex;
131
131
  align-items: center;
132
- font-size: 0.875rem;
133
- line-height: var(--tw-leading, calc(1.25 / 0.875));
132
+ font-size: var(--eq-control-md-font-size);
133
+ line-height: var(--tw-leading,var(--eq-control-md-line-height));
134
134
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
135
135
  transition-timing-function: var(--tw-ease, cubic-bezier(0.4, 0, 0.2, 1));
136
136
  transition-duration: var(--tw-duration, 150ms);
@@ -911,11 +911,7 @@
911
911
  --color-text-warning: color(display-p3 0.863 0.6958 0.4108);
912
912
  }
913
913
  .root {
914
- --eq-list-item-height: calc(0.25rem * 9);
915
- --eq-list-item-padding-x: calc(0.25rem * 2);
916
- --eq-list-item-gap: calc(0.25rem * 2);
917
914
  --eq-list-item-icon-size: calc(0.25rem * 4);
918
- --eq-list-item-font-size: 0.875rem;
919
915
  --eq-list-item-muted-color: var(--color-text-tertiary);
920
916
  --eq-list-gap: calc(0.25rem * 0.5);
921
917
  --eq-list-group-gap: calc(0.25rem * 3);
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": "6.0.0-next.0",
10
+ "version": "6.0.0",
11
11
  "license": "Apache-2.0",
12
12
  "keywords": [
13
13
  "component library",