@eqtylab/equality 2.4.1 → 3.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.
Files changed (65) hide show
  1. package/dist/alert-dialog.module.module.css.module.css +5 -5
  2. package/dist/alert.module.module.css.module.css +15 -15
  3. package/dist/avatar.module.module.css.module.css +6 -6
  4. package/dist/bar-graph.module.module.css.module.css +3 -3
  5. package/dist/button.module.module.css.module.css +17 -17
  6. package/dist/card-content-header.module.module.css.module.css +1 -1
  7. package/dist/card.module.module.css.module.css +14 -14
  8. package/dist/checkbox.module.module.css.module.css +6 -6
  9. package/dist/code-block.module.module.css.module.css +12 -12
  10. package/dist/command.module.module.css.module.css +23 -23
  11. package/dist/date-range-picker.module.module.css.module.css +10 -10
  12. package/dist/dialog.module.module.css.module.css +6 -6
  13. package/dist/display-field.module.module.css.module.css +27 -27
  14. package/dist/drawer.module.module.css.module.css +6 -6
  15. package/dist/dropdown-menu.module.module.css.module.css +39 -39
  16. package/dist/empty-table-state.module.module.css.module.css +2 -2
  17. package/dist/filter-dropdown.module.module.css.module.css +1 -1
  18. package/dist/form.module.module.css.module.css +3 -3
  19. package/dist/format-date.module.module.css.module.css +2 -2
  20. package/dist/generated/tailwind-tokens.css +262 -260
  21. package/dist/global-theme-config.css +9 -1
  22. package/dist/icon-button.module.module.css.module.css +16 -16
  23. package/dist/icon.module.module.css.module.css +9 -9
  24. package/dist/index.cjs +212 -188
  25. package/dist/index.cjs.map +1 -1
  26. package/dist/index.d.cts +44 -4
  27. package/dist/index.d.ts +44 -4
  28. package/dist/index.js +181 -160
  29. package/dist/index.js.map +1 -1
  30. package/dist/info-card.module.module.css.module.css +2 -2
  31. package/dist/input.module.module.css.module.css +16 -16
  32. package/dist/list-or-grid-view-toggle.module.module.css.module.css +6 -6
  33. package/dist/loading-overlay.module.module.css.module.css +5 -5
  34. package/dist/metric-card.module.module.css.module.css +19 -19
  35. package/dist/page-not-found.module.module.css.module.css +4 -4
  36. package/dist/pagination.module.module.css.module.css +1 -1
  37. package/dist/popover.module.module.css.module.css +4 -4
  38. package/dist/progress-indicator.module.module.css.module.css +11 -11
  39. package/dist/progress.module.module.css.module.css +6 -6
  40. package/dist/radial-graph.module.module.css.module.css +5 -5
  41. package/dist/radio-dropdown.module.module.css.module.css +1 -1
  42. package/dist/radio-group.module.module.css.module.css +4 -4
  43. package/dist/scroll-area.module.module.css.module.css +1 -1
  44. package/dist/search-bar.module.module.css.module.css +1 -1
  45. package/dist/section-heading.module.module.css.module.css +2 -2
  46. package/dist/segmented-controls.module.module.css.module.css +6 -6
  47. package/dist/select.module.module.css.module.css +29 -29
  48. package/dist/separator.module.module.css.module.css +1 -1
  49. package/dist/sheet.module.module.css.module.css +9 -9
  50. package/dist/skeleton.module.module.css.module.css +1 -1
  51. package/dist/sort-button.module.module.css.module.css +1 -1
  52. package/dist/sort-selector.module.module.css.module.css +1 -1
  53. package/dist/spinner.module.module.css.module.css +11 -11
  54. package/dist/switch.module.module.css.module.css +10 -10
  55. package/dist/table-components.module.module.css.module.css +25 -25
  56. package/dist/tabs-components.module.module.css.module.css +5 -5
  57. package/dist/tabs.module.module.css.module.css +6 -6
  58. package/dist/textarea.module.module.css.module.css +6 -6
  59. package/dist/theme-preflight-global.css +229 -222
  60. package/dist/theme-preflight-scoped.css +229 -223
  61. package/dist/theme.module.css +1 -1
  62. package/dist/theme.module.module.css.module.css +199 -297
  63. package/dist/toast-components.module.module.css.module.css +24 -24
  64. package/dist/tooltip.module.module.css.module.css +5 -5
  65. package/package.json +6 -3
@@ -1,258 +1,265 @@
1
- @layer base {
2
- /* =========================================================
3
- GLOBAL PREFLIGHT (kept intact)
4
- ========================================================= */
5
-
6
- /* 1) Box model + resets + border-color */
7
- html,
8
- html *,
9
- html ::after,
10
- html ::before,
11
- html ::backdrop,
12
- html ::file-selector-button {
13
- box-sizing: border-box;
14
- margin: 0;
15
- padding: 0;
16
- border: 0 solid;
17
- border-color: var(--color-border);
18
- }
1
+ /* =========================================================
2
+ GLOBAL PREFLIGHT — GENERATED FILE, DO NOT EDIT
3
+
4
+ Generated from `theme-preflight-scoped.css` by
5
+ `src/scripts/build-preflight.js`. Edit that file instead, then run
6
+ `pnpm build:preflight`.
7
+
8
+ Deliberately carries no `@layer` wrapper: the importer assigns the layer,
9
+ so a consumer can place the reset wherever their cascade needs it.
10
+
11
+ @import '@eqtylab/equality/preflight.css' layer(base);
12
+ ========================================================= */
13
+
14
+ /* 1) Box model + resets + border-color */
15
+ html,
16
+ html *,
17
+ html ::after,
18
+ html ::before,
19
+ html ::backdrop,
20
+ html ::file-selector-button {
21
+ box-sizing: border-box;
22
+ margin: 0;
23
+ padding: 0;
24
+ border: 0 solid;
25
+ border-color: var(--color-border);
26
+ }
19
27
 
20
- /* Cursor for buttons */
21
- html button {
22
- cursor: pointer;
23
- }
28
+ /* Cursor for buttons */
29
+ html button {
30
+ cursor: pointer;
31
+ }
24
32
 
25
- /* Typography + platform defaults */
26
- html {
27
- line-height: 1.5;
28
- -webkit-text-size-adjust: 100%;
29
- tab-size: 4;
30
- font-family: var(--font-sans);
31
- -webkit-tap-highlight-color: transparent;
32
- font-synthesis: none;
33
- text-rendering: optimizeLegibility;
34
- -webkit-font-smoothing: antialiased;
35
- -moz-osx-font-smoothing: grayscale;
36
- }
33
+ /* Typography + platform defaults */
34
+ html {
35
+ line-height: 1.5;
36
+ -webkit-text-size-adjust: 100%;
37
+ tab-size: 4;
38
+ font-family: var(--font-sans);
39
+ -webkit-tap-highlight-color: transparent;
40
+ font-synthesis: none;
41
+ text-rendering: optimizeLegibility;
42
+ -webkit-font-smoothing: antialiased;
43
+ -moz-osx-font-smoothing: grayscale;
44
+ }
37
45
 
38
- /* Horizontal rule */
39
- html hr {
40
- height: 0;
41
- color: inherit;
42
- border-top-width: 1px;
43
- }
46
+ /* Horizontal rule */
47
+ html hr {
48
+ height: 0;
49
+ color: inherit;
50
+ border-top-width: 1px;
51
+ }
44
52
 
45
- /* Abbr */
46
- html abbr:where([title]) {
47
- -webkit-text-decoration: underline dotted;
48
- text-decoration: underline dotted;
49
- }
53
+ /* Abbr */
54
+ html abbr:where([title]) {
55
+ -webkit-text-decoration: underline dotted;
56
+ text-decoration: underline dotted;
57
+ }
50
58
 
51
- /* Headings reset */
52
- html h1,
53
- html h2,
54
- html h3,
55
- html h4,
56
- html h5,
57
- html h6 {
58
- font-size: inherit;
59
- font-weight: inherit;
60
- }
59
+ /* Headings reset */
60
+ html h1,
61
+ html h2,
62
+ html h3,
63
+ html h4,
64
+ html h5,
65
+ html h6 {
66
+ font-size: inherit;
67
+ font-weight: inherit;
68
+ }
61
69
 
62
- /* Links */
63
- html a {
64
- color: inherit;
65
- -webkit-text-decoration: inherit;
66
- text-decoration: inherit;
67
- }
70
+ /* Links */
71
+ html a {
72
+ color: inherit;
73
+ -webkit-text-decoration: inherit;
74
+ text-decoration: inherit;
75
+ }
68
76
 
69
- /* Strong */
70
- html b,
71
- html strong {
72
- font-weight: bolder;
73
- }
77
+ /* Strong */
78
+ html b,
79
+ html strong {
80
+ font-weight: bolder;
81
+ }
74
82
 
75
- /* Code fonts */
76
- html code,
77
- html kbd,
78
- html samp,
79
- html pre {
80
- font-family: var(--font-mono), monospace;
81
- font-size: 1em;
82
- }
83
+ /* Code fonts */
84
+ html code,
85
+ html kbd,
86
+ html samp,
87
+ html pre {
88
+ font-family: var(--font-mono), monospace;
89
+ font-size: 1em;
90
+ }
83
91
 
84
- /* Small */
85
- html small {
86
- font-size: 80%;
87
- }
92
+ /* Small */
93
+ html small {
94
+ font-size: 80%;
95
+ }
88
96
 
89
- /* Sub/Sup */
90
- html sub,
91
- html sup {
92
- font-size: 75%;
93
- line-height: 0;
94
- position: relative;
95
- vertical-align: baseline;
96
- }
97
- html sub {
98
- bottom: -0.25em;
99
- }
100
- html sup {
101
- top: -0.5em;
102
- }
97
+ /* Sub/Sup */
98
+ html sub,
99
+ html sup {
100
+ font-size: 75%;
101
+ line-height: 0;
102
+ position: relative;
103
+ vertical-align: baseline;
104
+ }
105
+ html sub {
106
+ bottom: -0.25em;
107
+ }
108
+ html sup {
109
+ top: -0.5em;
110
+ }
103
111
 
104
- /* Tables */
105
- html table {
106
- text-indent: 0;
107
- border-color: inherit;
108
- border-collapse: collapse;
109
- }
112
+ /* Tables */
113
+ html table {
114
+ text-indent: 0;
115
+ border-color: inherit;
116
+ border-collapse: collapse;
117
+ }
110
118
 
111
- /* Firefox focus */
112
- html :-moz-focusring {
113
- outline: auto;
114
- }
119
+ /* Firefox focus */
120
+ html :-moz-focusring {
121
+ outline: auto;
122
+ }
115
123
 
116
- /* Progress baseline */
117
- html progress {
118
- vertical-align: baseline;
119
- }
124
+ /* Progress baseline */
125
+ html progress {
126
+ vertical-align: baseline;
127
+ }
120
128
 
121
- /* Summary display */
122
- html summary {
123
- display: list-item;
124
- }
129
+ /* Summary display */
130
+ html summary {
131
+ display: list-item;
132
+ }
125
133
 
126
- /* Lists unstyled */
127
- html ol,
128
- html ul,
129
- html menu {
130
- list-style: none;
131
- }
134
+ /* Lists unstyled */
135
+ html ol,
136
+ html ul,
137
+ html menu {
138
+ list-style: none;
139
+ }
132
140
 
133
- /* Replaced elements */
134
- html img,
135
- html svg,
136
- html video,
137
- html canvas,
138
- html audio,
139
- html iframe,
140
- html embed,
141
- html object {
142
- display: block;
143
- vertical-align: middle;
144
- }
141
+ /* Replaced elements */
142
+ html img,
143
+ html svg,
144
+ html video,
145
+ html canvas,
146
+ html audio,
147
+ html iframe,
148
+ html embed,
149
+ html object {
150
+ display: block;
151
+ vertical-align: middle;
152
+ }
145
153
 
146
- /* Media constraints */
147
- html img,
148
- html video {
149
- max-width: 100%;
150
- height: auto;
151
- }
154
+ /* Media constraints */
155
+ html img,
156
+ html video {
157
+ max-width: 100%;
158
+ height: auto;
159
+ }
152
160
 
153
- /* Form element normalizations */
154
- html button,
155
- html input,
156
- html select,
157
- html optgroup,
158
- html textarea,
159
- html ::file-selector-button {
160
- font: inherit;
161
- font-feature-settings: inherit;
162
- font-variation-settings: inherit;
163
- letter-spacing: inherit;
164
- color: inherit;
165
- border-radius: 0;
166
- background-color: transparent;
167
- opacity: 1;
168
- }
161
+ /* Form element normalizations */
162
+ html button,
163
+ html input,
164
+ html select,
165
+ html optgroup,
166
+ html textarea,
167
+ html ::file-selector-button {
168
+ font: inherit;
169
+ font-feature-settings: inherit;
170
+ font-variation-settings: inherit;
171
+ letter-spacing: inherit;
172
+ color: inherit;
173
+ border-radius: 0;
174
+ background-color: transparent;
175
+ opacity: 1;
176
+ }
169
177
 
170
- /* Select optgroup weight */
171
- html :where(select:is([multiple], [size])) optgroup {
172
- font-weight: bolder;
173
- }
178
+ /* Select optgroup weight */
179
+ html :where(select:is([multiple], [size])) optgroup {
180
+ font-weight: bolder;
181
+ }
174
182
 
175
- /* Select optgroup option indent */
176
- html :where(select:is([multiple], [size])) optgroup option {
177
- padding-inline-start: 20px;
178
- }
183
+ /* Select optgroup option indent */
184
+ html :where(select:is([multiple], [size])) optgroup option {
185
+ padding-inline-start: 20px;
186
+ }
179
187
 
180
- /* File button spacing */
181
- html ::file-selector-button {
182
- margin-inline-end: 4px;
183
- }
188
+ /* File button spacing */
189
+ html ::file-selector-button {
190
+ margin-inline-end: 4px;
191
+ }
184
192
 
185
- /* Placeholder */
186
- html ::placeholder {
187
- opacity: 1;
188
- }
193
+ /* Placeholder */
194
+ html ::placeholder {
195
+ opacity: 1;
196
+ }
189
197
 
190
- @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
191
- html ::placeholder {
192
- color: color-mix(in oklab, currentcolor 50%, transparent);
193
- }
198
+ @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
199
+ html ::placeholder {
200
+ color: color-mix(in oklab, currentcolor 50%, transparent);
194
201
  }
202
+ }
195
203
 
196
- /* Textarea resize */
197
- html textarea {
198
- resize: vertical;
199
- }
204
+ /* Textarea resize */
205
+ html textarea {
206
+ resize: vertical;
207
+ }
200
208
 
201
- /* WebKit search decoration */
202
- html ::-webkit-search-decoration {
203
- -webkit-appearance: none;
204
- }
209
+ /* WebKit search decoration */
210
+ html ::-webkit-search-decoration {
211
+ -webkit-appearance: none;
212
+ }
205
213
 
206
- /* iOS date/time */
207
- html ::-webkit-date-and-time-value {
208
- min-height: 1lh;
209
- text-align: inherit;
210
- }
214
+ /* iOS date/time */
215
+ html ::-webkit-date-and-time-value {
216
+ min-height: 1lh;
217
+ text-align: inherit;
218
+ }
211
219
 
212
- html ::-webkit-datetime-edit {
213
- display: inline-flex;
214
- }
220
+ html ::-webkit-datetime-edit {
221
+ display: inline-flex;
222
+ }
215
223
 
216
- html ::-webkit-datetime-edit-fields-wrapper {
217
- padding: 0;
218
- }
224
+ html ::-webkit-datetime-edit-fields-wrapper {
225
+ padding: 0;
226
+ }
219
227
 
220
- html ::-webkit-datetime-edit,
221
- html ::-webkit-datetime-edit-year-field,
222
- html ::-webkit-datetime-edit-month-field,
223
- html ::-webkit-datetime-edit-day-field,
224
- html ::-webkit-datetime-edit-hour-field,
225
- html ::-webkit-datetime-edit-minute-field,
226
- html ::-webkit-datetime-edit-second-field,
227
- html ::-webkit-datetime-edit-millisecond-field,
228
- html ::-webkit-datetime-edit-meridiem-field {
229
- padding-block: 0;
230
- }
228
+ html ::-webkit-datetime-edit,
229
+ html ::-webkit-datetime-edit-year-field,
230
+ html ::-webkit-datetime-edit-month-field,
231
+ html ::-webkit-datetime-edit-day-field,
232
+ html ::-webkit-datetime-edit-hour-field,
233
+ html ::-webkit-datetime-edit-minute-field,
234
+ html ::-webkit-datetime-edit-second-field,
235
+ html ::-webkit-datetime-edit-millisecond-field,
236
+ html ::-webkit-datetime-edit-meridiem-field {
237
+ padding-block: 0;
238
+ }
231
239
 
232
- html ::-webkit-calendar-picker-indicator {
233
- line-height: 1;
234
- }
240
+ html ::-webkit-calendar-picker-indicator {
241
+ line-height: 1;
242
+ }
235
243
 
236
- /* Firefox invalid */
237
- html :-moz-ui-invalid {
238
- box-shadow: none;
239
- }
244
+ /* Firefox invalid */
245
+ html :-moz-ui-invalid {
246
+ box-shadow: none;
247
+ }
240
248
 
241
- /* Button appearances */
242
- html button,
243
- html input:where([type='button'], [type='reset'], [type='submit']),
244
- html ::file-selector-button {
245
- appearance: button;
246
- }
249
+ /* Button appearances */
250
+ html button,
251
+ html input:where([type='button'], [type='reset'], [type='submit']),
252
+ html ::file-selector-button {
253
+ appearance: button;
254
+ }
247
255
 
248
- /* Safari spin buttons */
249
- html ::-webkit-inner-spin-button,
250
- html ::-webkit-outer-spin-button {
251
- height: auto;
252
- }
256
+ /* Safari spin buttons */
257
+ html ::-webkit-inner-spin-button,
258
+ html ::-webkit-outer-spin-button {
259
+ height: auto;
260
+ }
253
261
 
254
- /* Hidden */
255
- html [hidden]:where(:not([hidden='until-found'])) {
256
- display: none !important;
257
- }
262
+ /* Hidden */
263
+ html [hidden]:where(:not([hidden='until-found'])) {
264
+ display: none !important;
258
265
  }