@eqtylab/equality 0.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.
- package/LICENSE +190 -0
- package/dist/alert-dialog.module.module.css.module.css +275 -0
- package/dist/alert.module.module.css.module.css +112 -0
- package/dist/avatar.module.module.css.module.css +119 -0
- package/dist/badge.module.module.css.module.css +141 -0
- package/dist/bg-gradient.module.module.css.module.css +7 -0
- package/dist/button.module.module.css.module.css +253 -0
- package/dist/card-content-header.module.module.css.module.css +27 -0
- package/dist/card.module.module.css.module.css +246 -0
- package/dist/checkbox.module.module.css.module.css +124 -0
- package/dist/code-block.module.module.css.module.css +100 -0
- package/dist/command.module.module.css.module.css +210 -0
- package/dist/control-status-badge.module.module.css.module.css +49 -0
- package/dist/date-range-picker.module.module.css.module.css +147 -0
- package/dist/dialog.module.module.css.module.css +300 -0
- package/dist/display-field.module.module.css.module.css +250 -0
- package/dist/drawer.module.module.css.module.css +202 -0
- package/dist/dropdown-menu.module.module.css.module.css +271 -0
- package/dist/empty-table-state.module.module.css.module.css +34 -0
- package/dist/filter-dropdown.module.module.css.module.css +18 -0
- package/dist/form.module.module.css.module.css +35 -0
- package/dist/generated/color-vars.css +354 -0
- package/dist/generated/dark-tokens.css +105 -0
- package/dist/generated/global-dark-tokens.css +105 -0
- package/dist/generated/global-light-tokens.css +254 -0
- package/dist/generated/light-tokens.css +254 -0
- package/dist/generated/tailwind-tokens.css +252 -0
- package/dist/global-theme-config.css +15 -0
- package/dist/heading.module.module.css.module.css +41 -0
- package/dist/icon-button.module.module.css.module.css +196 -0
- package/dist/icon.module.module.css.module.css +155 -0
- package/dist/index.cjs +3419 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +819 -0
- package/dist/index.d.ts +819 -0
- package/dist/index.js +3134 -0
- package/dist/index.js.map +1 -0
- package/dist/info-card.module.module.css.module.css +25 -0
- package/dist/input.module.module.css.module.css +231 -0
- package/dist/label.module.module.css.module.css +23 -0
- package/dist/list-or-grid-view-toggle.module.module.css.module.css +52 -0
- package/dist/loading-overlay.module.module.css.module.css +151 -0
- package/dist/metric-card.module.module.css.module.css +171 -0
- package/dist/motion-collapsible.module.module.css.module.css +4 -0
- package/dist/page-not-found.module.module.css.module.css +71 -0
- package/dist/pagination.module.module.css.module.css +21 -0
- package/dist/panel-label.module.module.css.module.css +17 -0
- package/dist/popover.module.module.css.module.css +136 -0
- package/dist/progress.module.module.css.module.css +32 -0
- package/dist/radial-graph.module.module.css.module.css +223 -0
- package/dist/radio-dropdown.module.module.css.module.css +16 -0
- package/dist/radio-group.module.module.css.module.css +118 -0
- package/dist/resource-badge.module.module.css.module.css +77 -0
- package/dist/scripts.cjs +116 -0
- package/dist/scripts.cjs.map +1 -0
- package/dist/scripts.d.cts +5 -0
- package/dist/scripts.d.ts +5 -0
- package/dist/scripts.js +114 -0
- package/dist/scripts.js.map +1 -0
- package/dist/scroll-area.module.module.css.module.css +46 -0
- package/dist/search-bar.module.module.css.module.css +9 -0
- package/dist/section-heading.module.module.css.module.css +42 -0
- package/dist/select.module.module.css.module.css +362 -0
- package/dist/separator.module.module.css.module.css +13 -0
- package/dist/sheet.module.module.css.module.css +377 -0
- package/dist/skeleton.module.module.css.module.css +11 -0
- package/dist/sort-button.module.module.css.module.css +42 -0
- package/dist/sort-selector.module.module.css.module.css +11 -0
- package/dist/spinner.module.module.css.module.css +82 -0
- package/dist/switch.module.module.css.module.css +226 -0
- package/dist/table-components.module.module.css.module.css +116 -0
- package/dist/table.module.module.css.module.css +145 -0
- package/dist/tabs-components.module.module.css.module.css +136 -0
- package/dist/tabs.module.module.css.module.css +139 -0
- package/dist/textarea.module.module.css.module.css +115 -0
- package/dist/theme/lib/utils.cjs +125 -0
- package/dist/theme/lib/utils.cjs.map +1 -0
- package/dist/theme/lib/utils.d.cts +26 -0
- package/dist/theme/lib/utils.d.ts +26 -0
- package/dist/theme/lib/utils.js +110 -0
- package/dist/theme/lib/utils.js.map +1 -0
- package/dist/theme-base.css +51 -0
- package/dist/theme-components.css +27 -0
- package/dist/theme-preflight-global.css +260 -0
- package/dist/theme-preflight-scoped.css +261 -0
- package/dist/theme-utilities.css +54 -0
- package/dist/theme.module.css +15 -0
- package/dist/theme.module.module.css.module.css +978 -0
- package/dist/toast-components.module.module.css.module.css +393 -0
- package/dist/toast.module.module.css.module.css +11 -0
- package/dist/tokens.css +3 -0
- package/dist/tooltip.module.module.css.module.css +139 -0
- package/dist/truncated-description.module.module.css.module.css +15 -0
- package/package.json +101 -0
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
|
|
2
|
+
.toast-viewport {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column-reverse;
|
|
5
|
+
@media (width >= 40rem) {
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
}
|
|
8
|
+
padding: calc(0.25rem * 4);
|
|
9
|
+
position: fixed;
|
|
10
|
+
top: calc(0.25rem * 0);
|
|
11
|
+
z-index: 9999;
|
|
12
|
+
@media (width >= 40rem) {
|
|
13
|
+
top: auto;
|
|
14
|
+
}
|
|
15
|
+
@media (width >= 40rem) {
|
|
16
|
+
right: calc(0.25rem * 0);
|
|
17
|
+
}
|
|
18
|
+
@media (width >= 40rem) {
|
|
19
|
+
bottom: calc(0.25rem * 0);
|
|
20
|
+
}
|
|
21
|
+
max-height: 100vh;
|
|
22
|
+
width: 100%;
|
|
23
|
+
@media (width >= 48rem) {
|
|
24
|
+
max-width: 28rem;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
.toast {
|
|
28
|
+
pointer-events: auto;
|
|
29
|
+
position: relative;
|
|
30
|
+
transition-property: all;
|
|
31
|
+
transition-timing-function: var(--tw-ease, cubic-bezier(0.4, 0, 0.2, 1));
|
|
32
|
+
transition-duration: var(--tw-duration, 150ms);
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: space-between;
|
|
36
|
+
border-style: var(--tw-border-style);
|
|
37
|
+
border-width: 1px;
|
|
38
|
+
--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
39
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
40
|
+
--tw-backdrop-blur: blur(8px);
|
|
41
|
+
-webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
42
|
+
backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
43
|
+
width: 100%;
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
:where(& > :not(:last-child)) {
|
|
46
|
+
--tw-space-x-reverse: 0;
|
|
47
|
+
margin-inline-start: calc(calc(0.25rem * 4) * var(--tw-space-x-reverse));
|
|
48
|
+
margin-inline-end: calc(calc(0.25rem * 4) * calc(1 - var(--tw-space-x-reverse)));
|
|
49
|
+
}
|
|
50
|
+
border-radius: var(--radius-md, 0.375rem);
|
|
51
|
+
padding: calc(0.25rem * 4);
|
|
52
|
+
padding-right: calc(0.25rem * 8);
|
|
53
|
+
&[data-state="open"] {
|
|
54
|
+
animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
55
|
+
}
|
|
56
|
+
&[data-state="open"] {
|
|
57
|
+
--tw-enter-translate-y: calc(1*-100%);
|
|
58
|
+
}
|
|
59
|
+
@media (width >= 40rem) {
|
|
60
|
+
&[data-state="open"] {
|
|
61
|
+
--tw-enter-translate-y: calc(1*100%);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
&[data-state="closed"] {
|
|
65
|
+
animation: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
66
|
+
}
|
|
67
|
+
&[data-state="closed"] {
|
|
68
|
+
--tw-exit-opacity: calc(80/100);
|
|
69
|
+
--tw-exit-opacity: .8;
|
|
70
|
+
}
|
|
71
|
+
&[data-state="closed"] {
|
|
72
|
+
--tw-exit-translate-x: calc(1*100%);
|
|
73
|
+
}
|
|
74
|
+
&[data-swipe="end"] {
|
|
75
|
+
--tw-translate-x: var(--radix-toast-swipe-end-x);
|
|
76
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
77
|
+
}
|
|
78
|
+
&[data-swipe="end"] {
|
|
79
|
+
animation: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
80
|
+
}
|
|
81
|
+
&[data-swipe="move"] {
|
|
82
|
+
--tw-translate-x: var(--radix-toast-swipe-move-x);
|
|
83
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
84
|
+
}
|
|
85
|
+
&[data-swipe="move"] {
|
|
86
|
+
transition-property: none;
|
|
87
|
+
}
|
|
88
|
+
&[data-swipe="cancel"] {
|
|
89
|
+
--tw-translate-x: calc(0.25rem * 0);
|
|
90
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
.toast--default {
|
|
94
|
+
--mix-color: var(--color-brand-primary);
|
|
95
|
+
--hover-darken: 50%;
|
|
96
|
+
border-color: var(--color-brand-primary);
|
|
97
|
+
background-color: var(--mix-color);
|
|
98
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
99
|
+
background-color: color-mix(in oklch, var(--mix-color), black var(--hover-darken, 20%));
|
|
100
|
+
}
|
|
101
|
+
color: var(--color-brand-primary);
|
|
102
|
+
}
|
|
103
|
+
.toast--danger {
|
|
104
|
+
border-color: var(--color-red-400);
|
|
105
|
+
background-color: var(--color-red-800);
|
|
106
|
+
color: var(--color-red-400);
|
|
107
|
+
}
|
|
108
|
+
.toast--warning {
|
|
109
|
+
border-color: var(--color-yellow-400);
|
|
110
|
+
background-color: var(--color-yellow-800);
|
|
111
|
+
color: var(--color-yellow-400);
|
|
112
|
+
}
|
|
113
|
+
.toast--success {
|
|
114
|
+
border-color: var(--color-emerald-400);
|
|
115
|
+
background-color: var(--color-emerald-800);
|
|
116
|
+
color: var(--color-emerald-400);
|
|
117
|
+
}
|
|
118
|
+
.toast-action {
|
|
119
|
+
--mix-color: var(--color-button-secondary-fill);
|
|
120
|
+
height: calc(0.25rem * 7);
|
|
121
|
+
padding-inline: calc(0.25rem * 2);
|
|
122
|
+
font-size: 0.75rem;
|
|
123
|
+
line-height: var(--tw-leading, calc(1 / 0.75));
|
|
124
|
+
border-radius: var(--radius-md, 0.375rem);
|
|
125
|
+
font-size: 0.875rem;
|
|
126
|
+
line-height: var(--tw-leading, calc(1.25 / 0.875));
|
|
127
|
+
--tw-font-weight: 500;
|
|
128
|
+
font-weight: 500;
|
|
129
|
+
white-space: nowrap;
|
|
130
|
+
transition-property: all;
|
|
131
|
+
transition-timing-function: var(--tw-ease, cubic-bezier(0.4, 0, 0.2, 1));
|
|
132
|
+
transition-duration: var(--tw-duration, 150ms);
|
|
133
|
+
--tw-duration: 300ms;
|
|
134
|
+
transition-duration: 300ms;
|
|
135
|
+
display: flex;
|
|
136
|
+
align-items: center;
|
|
137
|
+
justify-content: center;
|
|
138
|
+
gap: calc(0.25rem * 1);
|
|
139
|
+
cursor: pointer;
|
|
140
|
+
&:disabled {
|
|
141
|
+
cursor: not-allowed;
|
|
142
|
+
}
|
|
143
|
+
&:disabled {
|
|
144
|
+
opacity: 50%;
|
|
145
|
+
}
|
|
146
|
+
& svg {
|
|
147
|
+
pointer-events: none;
|
|
148
|
+
}
|
|
149
|
+
& svg {
|
|
150
|
+
width: calc(0.25rem * 4);
|
|
151
|
+
height: calc(0.25rem * 4);
|
|
152
|
+
}
|
|
153
|
+
& svg {
|
|
154
|
+
flex-shrink: 0;
|
|
155
|
+
}
|
|
156
|
+
--tw-ring-offset-color: var(--color-background);
|
|
157
|
+
&:focus-visible {
|
|
158
|
+
--tw-ring-color: var(--color-focus-ring);
|
|
159
|
+
}
|
|
160
|
+
&:focus-visible {
|
|
161
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
162
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
163
|
+
}
|
|
164
|
+
&:focus-visible {
|
|
165
|
+
--tw-ring-offset-width: 2px;
|
|
166
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
167
|
+
}
|
|
168
|
+
&:focus-visible {
|
|
169
|
+
--tw-outline-style: none;
|
|
170
|
+
outline-style: none;
|
|
171
|
+
}
|
|
172
|
+
background-color: var(--mix-color);
|
|
173
|
+
border-style: var(--tw-border-style);
|
|
174
|
+
border-width: 1px;
|
|
175
|
+
border-color: var(--color-button-secondary-border);
|
|
176
|
+
color: var(--color-button-secondary-text);
|
|
177
|
+
&:hover {
|
|
178
|
+
@media (hover: hover) {
|
|
179
|
+
&:not(*:disabled) {
|
|
180
|
+
background-color: var(--mix-color);
|
|
181
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
182
|
+
background-color: color-mix(in oklch, var(--mix-color), white var(--hover-lighten, 20%));
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
.toast--danger .toast-action {
|
|
189
|
+
border-color: var(--color-greyscale-400);
|
|
190
|
+
}
|
|
191
|
+
.toast--danger:hover .toast-action {
|
|
192
|
+
border-color: var(--color-red-400);
|
|
193
|
+
background-color: var(--color-red-800);
|
|
194
|
+
color: var(--color-red-400);
|
|
195
|
+
}
|
|
196
|
+
.toast--danger:focus .toast-action {
|
|
197
|
+
--tw-ring-color: var(--color-red-400);
|
|
198
|
+
}
|
|
199
|
+
.toast-close {
|
|
200
|
+
color: inherit;
|
|
201
|
+
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
202
|
+
transition-timing-function: var(--tw-ease, cubic-bezier(0.4, 0, 0.2, 1));
|
|
203
|
+
transition-duration: var(--tw-duration, 150ms);
|
|
204
|
+
border-radius: var(--radius-md, 0.375rem);
|
|
205
|
+
padding: calc(0.25rem * 1);
|
|
206
|
+
position: absolute;
|
|
207
|
+
top: calc(0.25rem * 2);
|
|
208
|
+
right: calc(0.25rem * 2);
|
|
209
|
+
--tw-ring-offset-color: var(--color-background);
|
|
210
|
+
&:focus-visible {
|
|
211
|
+
--tw-ring-color: var(--color-focus-ring);
|
|
212
|
+
}
|
|
213
|
+
&:focus-visible {
|
|
214
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
215
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
216
|
+
}
|
|
217
|
+
&:focus-visible {
|
|
218
|
+
--tw-ring-offset-width: 2px;
|
|
219
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
220
|
+
}
|
|
221
|
+
&:focus-visible {
|
|
222
|
+
--tw-outline-style: none;
|
|
223
|
+
outline-style: none;
|
|
224
|
+
}
|
|
225
|
+
&:hover {
|
|
226
|
+
@media (hover: hover) {
|
|
227
|
+
color: var(--color-text-primary);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
.toast-close-icon {
|
|
232
|
+
width: calc(0.25rem * 4);
|
|
233
|
+
height: calc(0.25rem * 4);
|
|
234
|
+
}
|
|
235
|
+
.toast-title {
|
|
236
|
+
font-size: 0.875rem;
|
|
237
|
+
line-height: var(--tw-leading, calc(1.25 / 0.875));
|
|
238
|
+
--tw-font-weight: 600;
|
|
239
|
+
font-weight: 600;
|
|
240
|
+
}
|
|
241
|
+
.toast-description {
|
|
242
|
+
font-size: 0.875rem;
|
|
243
|
+
line-height: var(--tw-leading, calc(1.25 / 0.875));
|
|
244
|
+
color: var(--color-text-secondary);
|
|
245
|
+
}
|
|
246
|
+
@property --tw-border-style {
|
|
247
|
+
syntax: "*";
|
|
248
|
+
inherits: false;
|
|
249
|
+
initial-value: solid;
|
|
250
|
+
}
|
|
251
|
+
@property --tw-shadow {
|
|
252
|
+
syntax: "*";
|
|
253
|
+
inherits: false;
|
|
254
|
+
initial-value: 0 0 #0000;
|
|
255
|
+
}
|
|
256
|
+
@property --tw-shadow-color {
|
|
257
|
+
syntax: "*";
|
|
258
|
+
inherits: false;
|
|
259
|
+
}
|
|
260
|
+
@property --tw-shadow-alpha {
|
|
261
|
+
syntax: "<percentage>";
|
|
262
|
+
inherits: false;
|
|
263
|
+
initial-value: 100%;
|
|
264
|
+
}
|
|
265
|
+
@property --tw-inset-shadow {
|
|
266
|
+
syntax: "*";
|
|
267
|
+
inherits: false;
|
|
268
|
+
initial-value: 0 0 #0000;
|
|
269
|
+
}
|
|
270
|
+
@property --tw-inset-shadow-color {
|
|
271
|
+
syntax: "*";
|
|
272
|
+
inherits: false;
|
|
273
|
+
}
|
|
274
|
+
@property --tw-inset-shadow-alpha {
|
|
275
|
+
syntax: "<percentage>";
|
|
276
|
+
inherits: false;
|
|
277
|
+
initial-value: 100%;
|
|
278
|
+
}
|
|
279
|
+
@property --tw-ring-color {
|
|
280
|
+
syntax: "*";
|
|
281
|
+
inherits: false;
|
|
282
|
+
}
|
|
283
|
+
@property --tw-ring-shadow {
|
|
284
|
+
syntax: "*";
|
|
285
|
+
inherits: false;
|
|
286
|
+
initial-value: 0 0 #0000;
|
|
287
|
+
}
|
|
288
|
+
@property --tw-inset-ring-color {
|
|
289
|
+
syntax: "*";
|
|
290
|
+
inherits: false;
|
|
291
|
+
}
|
|
292
|
+
@property --tw-inset-ring-shadow {
|
|
293
|
+
syntax: "*";
|
|
294
|
+
inherits: false;
|
|
295
|
+
initial-value: 0 0 #0000;
|
|
296
|
+
}
|
|
297
|
+
@property --tw-ring-inset {
|
|
298
|
+
syntax: "*";
|
|
299
|
+
inherits: false;
|
|
300
|
+
}
|
|
301
|
+
@property --tw-ring-offset-width {
|
|
302
|
+
syntax: "<length>";
|
|
303
|
+
inherits: false;
|
|
304
|
+
initial-value: 0px;
|
|
305
|
+
}
|
|
306
|
+
@property --tw-ring-offset-color {
|
|
307
|
+
syntax: "*";
|
|
308
|
+
inherits: false;
|
|
309
|
+
initial-value: #fff;
|
|
310
|
+
}
|
|
311
|
+
@property --tw-ring-offset-shadow {
|
|
312
|
+
syntax: "*";
|
|
313
|
+
inherits: false;
|
|
314
|
+
initial-value: 0 0 #0000;
|
|
315
|
+
}
|
|
316
|
+
@property --tw-backdrop-blur {
|
|
317
|
+
syntax: "*";
|
|
318
|
+
inherits: false;
|
|
319
|
+
}
|
|
320
|
+
@property --tw-backdrop-brightness {
|
|
321
|
+
syntax: "*";
|
|
322
|
+
inherits: false;
|
|
323
|
+
}
|
|
324
|
+
@property --tw-backdrop-contrast {
|
|
325
|
+
syntax: "*";
|
|
326
|
+
inherits: false;
|
|
327
|
+
}
|
|
328
|
+
@property --tw-backdrop-grayscale {
|
|
329
|
+
syntax: "*";
|
|
330
|
+
inherits: false;
|
|
331
|
+
}
|
|
332
|
+
@property --tw-backdrop-hue-rotate {
|
|
333
|
+
syntax: "*";
|
|
334
|
+
inherits: false;
|
|
335
|
+
}
|
|
336
|
+
@property --tw-backdrop-invert {
|
|
337
|
+
syntax: "*";
|
|
338
|
+
inherits: false;
|
|
339
|
+
}
|
|
340
|
+
@property --tw-backdrop-opacity {
|
|
341
|
+
syntax: "*";
|
|
342
|
+
inherits: false;
|
|
343
|
+
}
|
|
344
|
+
@property --tw-backdrop-saturate {
|
|
345
|
+
syntax: "*";
|
|
346
|
+
inherits: false;
|
|
347
|
+
}
|
|
348
|
+
@property --tw-backdrop-sepia {
|
|
349
|
+
syntax: "*";
|
|
350
|
+
inherits: false;
|
|
351
|
+
}
|
|
352
|
+
@property --tw-space-x-reverse {
|
|
353
|
+
syntax: "*";
|
|
354
|
+
inherits: false;
|
|
355
|
+
initial-value: 0;
|
|
356
|
+
}
|
|
357
|
+
@property --tw-translate-x {
|
|
358
|
+
syntax: "*";
|
|
359
|
+
inherits: false;
|
|
360
|
+
initial-value: 0;
|
|
361
|
+
}
|
|
362
|
+
@property --tw-translate-y {
|
|
363
|
+
syntax: "*";
|
|
364
|
+
inherits: false;
|
|
365
|
+
initial-value: 0;
|
|
366
|
+
}
|
|
367
|
+
@property --tw-translate-z {
|
|
368
|
+
syntax: "*";
|
|
369
|
+
inherits: false;
|
|
370
|
+
initial-value: 0;
|
|
371
|
+
}
|
|
372
|
+
@property --tw-font-weight {
|
|
373
|
+
syntax: "*";
|
|
374
|
+
inherits: false;
|
|
375
|
+
}
|
|
376
|
+
@property --tw-duration {
|
|
377
|
+
syntax: "*";
|
|
378
|
+
inherits: false;
|
|
379
|
+
}
|
|
380
|
+
@keyframes enter {
|
|
381
|
+
from {
|
|
382
|
+
opacity: var(--tw-enter-opacity,1);
|
|
383
|
+
transform: translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));
|
|
384
|
+
filter: blur(var(--tw-enter-blur,0));
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
@keyframes exit {
|
|
388
|
+
to {
|
|
389
|
+
opacity: var(--tw-exit-opacity,1);
|
|
390
|
+
transform: translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));
|
|
391
|
+
filter: blur(var(--tw-exit-blur,0));
|
|
392
|
+
}
|
|
393
|
+
}
|
package/dist/tokens.css
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
|
|
2
|
+
.tooltip-content {
|
|
3
|
+
z-index: 9999;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
border-radius: var(--radius-md, 0.375rem);
|
|
6
|
+
border-style: var(--tw-border-style);
|
|
7
|
+
border-width: 1px;
|
|
8
|
+
border-color: var(--color-border-overlay);
|
|
9
|
+
background-color: var(--color-background-overlay);
|
|
10
|
+
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
11
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
12
|
+
--tw-shadow-color: rgba(0, 0, 0, 0.1);
|
|
13
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
14
|
+
--tw-shadow-color: color-mix(in oklab, rgba(0, 0, 0, 0.1) var(--tw-shadow-alpha), transparent);
|
|
15
|
+
}
|
|
16
|
+
font-size: 0.875rem;
|
|
17
|
+
line-height: var(--tw-leading, calc(1.25 / 0.875));
|
|
18
|
+
color: var(--color-text-primary);
|
|
19
|
+
padding-inline: calc(0.25rem * 3);
|
|
20
|
+
padding-block: calc(0.25rem * 1.5);
|
|
21
|
+
transform-origin: var(--radix-tooltip-content-transform-origin);
|
|
22
|
+
animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
23
|
+
--tw-enter-opacity: calc(0/100);
|
|
24
|
+
--tw-enter-opacity: 0;
|
|
25
|
+
--tw-enter-scale: calc(95*1%);
|
|
26
|
+
--tw-enter-scale: .95;
|
|
27
|
+
&[data-state="closed"] {
|
|
28
|
+
animation: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
29
|
+
}
|
|
30
|
+
&[data-state="closed"] {
|
|
31
|
+
--tw-exit-opacity: calc(0/100);
|
|
32
|
+
--tw-exit-opacity: 0;
|
|
33
|
+
}
|
|
34
|
+
&[data-state="closed"] {
|
|
35
|
+
--tw-exit-scale: calc(95*1%);
|
|
36
|
+
--tw-exit-scale: .95;
|
|
37
|
+
}
|
|
38
|
+
&[data-side="bottom"] {
|
|
39
|
+
--tw-enter-translate-y: calc(2*var(--spacing)*-1);
|
|
40
|
+
}
|
|
41
|
+
&[data-side="left"] {
|
|
42
|
+
--tw-enter-translate-x: calc(2*var(--spacing));
|
|
43
|
+
}
|
|
44
|
+
&[data-side="right"] {
|
|
45
|
+
--tw-enter-translate-x: calc(2*var(--spacing)*-1);
|
|
46
|
+
}
|
|
47
|
+
&[data-side="top"] {
|
|
48
|
+
--tw-enter-translate-y: calc(2*var(--spacing));
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
.tooltip-arrow {
|
|
52
|
+
fill: var(--color-border);
|
|
53
|
+
stroke: var(--color-border);
|
|
54
|
+
stroke-width: 1;
|
|
55
|
+
}
|
|
56
|
+
@property --tw-border-style {
|
|
57
|
+
syntax: "*";
|
|
58
|
+
inherits: false;
|
|
59
|
+
initial-value: solid;
|
|
60
|
+
}
|
|
61
|
+
@property --tw-shadow {
|
|
62
|
+
syntax: "*";
|
|
63
|
+
inherits: false;
|
|
64
|
+
initial-value: 0 0 #0000;
|
|
65
|
+
}
|
|
66
|
+
@property --tw-shadow-color {
|
|
67
|
+
syntax: "*";
|
|
68
|
+
inherits: false;
|
|
69
|
+
}
|
|
70
|
+
@property --tw-shadow-alpha {
|
|
71
|
+
syntax: "<percentage>";
|
|
72
|
+
inherits: false;
|
|
73
|
+
initial-value: 100%;
|
|
74
|
+
}
|
|
75
|
+
@property --tw-inset-shadow {
|
|
76
|
+
syntax: "*";
|
|
77
|
+
inherits: false;
|
|
78
|
+
initial-value: 0 0 #0000;
|
|
79
|
+
}
|
|
80
|
+
@property --tw-inset-shadow-color {
|
|
81
|
+
syntax: "*";
|
|
82
|
+
inherits: false;
|
|
83
|
+
}
|
|
84
|
+
@property --tw-inset-shadow-alpha {
|
|
85
|
+
syntax: "<percentage>";
|
|
86
|
+
inherits: false;
|
|
87
|
+
initial-value: 100%;
|
|
88
|
+
}
|
|
89
|
+
@property --tw-ring-color {
|
|
90
|
+
syntax: "*";
|
|
91
|
+
inherits: false;
|
|
92
|
+
}
|
|
93
|
+
@property --tw-ring-shadow {
|
|
94
|
+
syntax: "*";
|
|
95
|
+
inherits: false;
|
|
96
|
+
initial-value: 0 0 #0000;
|
|
97
|
+
}
|
|
98
|
+
@property --tw-inset-ring-color {
|
|
99
|
+
syntax: "*";
|
|
100
|
+
inherits: false;
|
|
101
|
+
}
|
|
102
|
+
@property --tw-inset-ring-shadow {
|
|
103
|
+
syntax: "*";
|
|
104
|
+
inherits: false;
|
|
105
|
+
initial-value: 0 0 #0000;
|
|
106
|
+
}
|
|
107
|
+
@property --tw-ring-inset {
|
|
108
|
+
syntax: "*";
|
|
109
|
+
inherits: false;
|
|
110
|
+
}
|
|
111
|
+
@property --tw-ring-offset-width {
|
|
112
|
+
syntax: "<length>";
|
|
113
|
+
inherits: false;
|
|
114
|
+
initial-value: 0px;
|
|
115
|
+
}
|
|
116
|
+
@property --tw-ring-offset-color {
|
|
117
|
+
syntax: "*";
|
|
118
|
+
inherits: false;
|
|
119
|
+
initial-value: #fff;
|
|
120
|
+
}
|
|
121
|
+
@property --tw-ring-offset-shadow {
|
|
122
|
+
syntax: "*";
|
|
123
|
+
inherits: false;
|
|
124
|
+
initial-value: 0 0 #0000;
|
|
125
|
+
}
|
|
126
|
+
@keyframes enter {
|
|
127
|
+
from {
|
|
128
|
+
opacity: var(--tw-enter-opacity,1);
|
|
129
|
+
transform: translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));
|
|
130
|
+
filter: blur(var(--tw-enter-blur,0));
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
@keyframes exit {
|
|
134
|
+
to {
|
|
135
|
+
opacity: var(--tw-exit-opacity,1);
|
|
136
|
+
transform: translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));
|
|
137
|
+
filter: blur(var(--tw-exit-blur,0));
|
|
138
|
+
}
|
|
139
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
|
|
2
|
+
.truncated-description {
|
|
3
|
+
font-size: 0.875rem;
|
|
4
|
+
line-height: var(--tw-leading, calc(1.25 / 0.875));
|
|
5
|
+
:where(& > :not(:last-child)) {
|
|
6
|
+
--tw-space-y-reverse: 0;
|
|
7
|
+
margin-block-start: calc(calc(0.25rem * 1) * var(--tw-space-y-reverse));
|
|
8
|
+
margin-block-end: calc(calc(0.25rem * 1) * calc(1 - var(--tw-space-y-reverse)));
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
@property --tw-space-y-reverse {
|
|
12
|
+
syntax: "*";
|
|
13
|
+
inherits: false;
|
|
14
|
+
initial-value: 0;
|
|
15
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@eqtylab/equality",
|
|
3
|
+
"description": "EQTYLab's component and token-based design system",
|
|
4
|
+
"homepage": "https://equality.eqtylab.io/",
|
|
5
|
+
"version": "0.0.0",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"component library",
|
|
9
|
+
"react",
|
|
10
|
+
"components"
|
|
11
|
+
],
|
|
12
|
+
"private": false,
|
|
13
|
+
"type": "module",
|
|
14
|
+
"main": "./dist/index.cjs",
|
|
15
|
+
"module": "./dist/index.js",
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"import": "./dist/index.js",
|
|
21
|
+
"require": "./dist/index.cjs"
|
|
22
|
+
},
|
|
23
|
+
"./scripts": {
|
|
24
|
+
"types": "./dist/scripts.d.ts",
|
|
25
|
+
"import": "./dist/scripts.js",
|
|
26
|
+
"require": "./dist/scripts.cjs"
|
|
27
|
+
},
|
|
28
|
+
"./theme-config.css": "./dist/global-theme-config.css"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist",
|
|
32
|
+
"README.md"
|
|
33
|
+
],
|
|
34
|
+
"sideEffects": false,
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"registry": "https://registry.npmjs.org",
|
|
37
|
+
"access": "public"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@radix-ui/react-accordion": "^1.2.3",
|
|
41
|
+
"@radix-ui/react-alert-dialog": "^1.1.2",
|
|
42
|
+
"@radix-ui/react-avatar": "^1.1.2",
|
|
43
|
+
"@radix-ui/react-checkbox": "^1.1.4",
|
|
44
|
+
"@radix-ui/react-collapsible": "^1.1.2",
|
|
45
|
+
"@radix-ui/react-dialog": "^1.1.4",
|
|
46
|
+
"@radix-ui/react-dropdown-menu": "^2.1.2",
|
|
47
|
+
"@radix-ui/react-label": "^2.1.1",
|
|
48
|
+
"@radix-ui/react-popover": "^1.1.3",
|
|
49
|
+
"@radix-ui/react-progress": "^1.1.1",
|
|
50
|
+
"@radix-ui/react-radio-group": "^1.3.8",
|
|
51
|
+
"@radix-ui/react-scroll-area": "^1.2.1",
|
|
52
|
+
"@radix-ui/react-select": "^2.1.2",
|
|
53
|
+
"@radix-ui/react-separator": "^1.1.0",
|
|
54
|
+
"@radix-ui/react-slot": "^1.1.1",
|
|
55
|
+
"@radix-ui/react-switch": "^1.1.2",
|
|
56
|
+
"@radix-ui/react-tabs": "^1.1.1",
|
|
57
|
+
"@radix-ui/react-toast": "^1.2.4",
|
|
58
|
+
"@radix-ui/react-tooltip": "^1.1.4",
|
|
59
|
+
"class-variance-authority": "^0.7.1",
|
|
60
|
+
"clsx": "^2.1.1",
|
|
61
|
+
"cmdk": "^1.1.1",
|
|
62
|
+
"lucide-react": "^0.545.0",
|
|
63
|
+
"motion": "^12.23.24",
|
|
64
|
+
"react-hook-form": "^7.63.0",
|
|
65
|
+
"react-syntax-highlighter": "^16.1.0",
|
|
66
|
+
"react-truncate-inside": "^1.0.3",
|
|
67
|
+
"tailwind-merge": "^2.5.4",
|
|
68
|
+
"tw-animate-css": "^1.4.0",
|
|
69
|
+
"vaul": "^1.1.2"
|
|
70
|
+
},
|
|
71
|
+
"peerDependencies": {
|
|
72
|
+
"react": "^18.2.0 || ^19.0.0",
|
|
73
|
+
"react-dom": "^18.2.0 || ^19.0.0"
|
|
74
|
+
},
|
|
75
|
+
"devDependencies": {
|
|
76
|
+
"@tailwindcss/postcss": "^4.1.14",
|
|
77
|
+
"@types/react": "^19.2.2",
|
|
78
|
+
"@types/react-dom": "^19.2.2",
|
|
79
|
+
"@types/react-syntax-highlighter": "^15.5.13",
|
|
80
|
+
"autoprefixer": "^10.4.0",
|
|
81
|
+
"chokidar-cli": "^3.0.0",
|
|
82
|
+
"postcss": "^8.4.47",
|
|
83
|
+
"postcss-cli": "^11.0.0",
|
|
84
|
+
"react": "^19.0.0",
|
|
85
|
+
"react-dom": "^19.0.0",
|
|
86
|
+
"style-dictionary": "^5.1.1",
|
|
87
|
+
"tailwindcss": "^4.1.14",
|
|
88
|
+
"tsup": "^8.0.1",
|
|
89
|
+
"tw-animate-css": "^1.4.0",
|
|
90
|
+
"typescript": ">=5.4.x"
|
|
91
|
+
},
|
|
92
|
+
"scripts": {
|
|
93
|
+
"dev": "pnpm run watch:tokens",
|
|
94
|
+
"build": "pnpm run build:tokens && pnpm run build:lib",
|
|
95
|
+
"build:tokens": "node src/scripts/build-tokens.js && prettier --write ../tokens/equality-tokens.json",
|
|
96
|
+
"build:lib": "tsup --config tsup.config.ts && cp src/theme/*.css dist/ && mkdir -p dist/generated && cp src/theme/generated/*.css dist/generated/",
|
|
97
|
+
"watch": "tsup --config tsup.config.ts --watch",
|
|
98
|
+
"watch:tokens": "chokidar '../tokens/equality-tokens.json' --debounce 300 --initial=false -c 'pnpm run build:tokens'",
|
|
99
|
+
"release": "pnpm run build && pnpm publish --access public --no-git-checks"
|
|
100
|
+
}
|
|
101
|
+
}
|