@brosco/ui 0.0.82 → 0.0.83

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 (2) hide show
  1. package/dist/index.css +354 -1
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -1,2 +1,355 @@
1
1
  /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
- @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-border-style:solid}}}@layer theme{:root{--eclipse:var(--color-zinc-900);--background:var(--color-white);--foreground:var(--eclipse);--muted:var(--color-zinc-500);--primary:var(--color-blue-500);--secondary:var(--eclipse);--success:var(--color-green-600);--danger:var(--color-red-500)}}@layer utilities;@layer components{.button{--color:transparent;--bg:transparent;--bg-hover:var(--bg);--bg-active:var(--bg-hover);--fg:currentColor}.button--primary{--color:var(--primary)}.button--secondary{--color:var(--secondary)}.button--success{--color:var(--success)}.button--danger{--color:var(--danger)}.button--solid{--bg:var(--color);--bg-hover:var(--bg)}@supports (color:color-mix(in lab, red, red)){.button--solid{--bg-hover:color-mix(in oklab, var(--bg) 90%, var(--eclipse) 10%)}}.button--solid{--bg-active:var(--bg)}@supports (color:color-mix(in lab, red, red)){.button--solid{--bg-active:color-mix(in oklab, var(--bg) 80%, var(--eclipse) 20%)}}.button--solid{--fg:var(--color-white)}.button--solid.button--secondary{--bg:var(--color)}@supports (color:color-mix(in lab, red, red)){.button--solid.button--secondary{--bg:color-mix(in oklab, var(--color) 5%, transparent)}}.button--solid.button--secondary{--bg-hover:var(--bg)}@supports (color:color-mix(in lab, red, red)){.button--solid.button--secondary{--bg-hover:color-mix(in oklab, var(--bg) 95%, var(--eclipse) 5%)}}.button--solid.button--secondary{--bg-active:var(--bg)}@supports (color:color-mix(in lab, red, red)){.button--solid.button--secondary{--bg-active:color-mix(in oklab, var(--bg) 90%, var(--eclipse) 10%)}}.button--solid.button--secondary{--fg:var(--color)}.button--bordered,.button--light{--fg:var(--color);--bg-hover:var(--fg)}@supports (color:color-mix(in lab, red, red)){.button--bordered,.button--light{--bg-hover:color-mix(in oklab, var(--fg) 5%, transparent)}}.button{justify-content:center;align-items:center;gap:calc(var(--spacing,.25rem) * 2);--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);white-space:nowrap;color:var(--fg);transition-property:background-color,scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));-webkit-user-select:none;user-select:none;display:inline-flex}.button:focus-visible{--tw-outline-style:none;outline-style:none}.button:enabled{cursor:pointer}.button:hover{background-color:var(--bg-hover)}.button:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y);background-color:var(--bg-active)}.button--pending{pointer-events:none}.button--sm{height:calc(var(--spacing,.25rem) * 9);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)))}.button--md{height:calc(var(--spacing,.25rem) * 10);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)))}.button--lg{height:calc(var(--spacing,.25rem) * 11);font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}.button--icon-only{flex-shrink:0}.button--icon-only.button--sm{width:calc(var(--spacing,.25rem) * 9)}.button--icon-only.button--md{width:calc(var(--spacing,.25rem) * 10)}.button--icon-only.button--lg{width:calc(var(--spacing,.25rem) * 11)}.button--solid{background-color:var(--bg)}.button--solid:focus-visible:not(.button--pending){--tw-ring-color:var(--color);--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.button--bordered{border-style:var(--tw-border-style);border-width:2px;border-color:var(--fg)}.button--bordered:focus-visible:not(.button--pending){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.button--light{text-underline-offset:6px;text-decoration-line:underline;position:relative}@media (hover:hover){.button--light:hover{text-decoration-line:none}}.button--light:focus-visible:not(.button--pending):after{top:calc(var(--spacing,.25rem) * 2);right:calc(var(--spacing,.25rem) * 3);left:calc(var(--spacing,.25rem) * 3);height:calc(var(--spacing,.25rem) * .5);content:"";background-color:currentColor;position:absolute}.spinner{animation:var(--animate-spin,spin 1s linear infinite)}:disabled,[data-disabled]{pointer-events:none;opacity:.5}}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@keyframes spin{to{transform:rotate(360deg)}}
2
+ @layer properties {
3
+ @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or
4
+ ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
5
+ *,
6
+ :before,
7
+ :after,
8
+ ::backdrop {
9
+ --tw-font-weight: initial;
10
+ --tw-scale-x: 1;
11
+ --tw-scale-y: 1;
12
+ --tw-scale-z: 1;
13
+ --tw-shadow: 0 0 #0000;
14
+ --tw-shadow-color: initial;
15
+ --tw-shadow-alpha: 100%;
16
+ --tw-inset-shadow: 0 0 #0000;
17
+ --tw-inset-shadow-color: initial;
18
+ --tw-inset-shadow-alpha: 100%;
19
+ --tw-ring-color: initial;
20
+ --tw-ring-shadow: 0 0 #0000;
21
+ --tw-inset-ring-color: initial;
22
+ --tw-inset-ring-shadow: 0 0 #0000;
23
+ --tw-ring-inset: initial;
24
+ --tw-ring-offset-width: 0px;
25
+ --tw-ring-offset-color: #fff;
26
+ --tw-ring-offset-shadow: 0 0 #0000;
27
+ --tw-border-style: solid;
28
+ }
29
+ }
30
+ }
31
+ @layer theme {
32
+ :root {
33
+ --eclipse: var(--color-zinc-900);
34
+ --background: var(--color-white);
35
+ --foreground: var(--eclipse);
36
+ --muted: var(--color-zinc-500);
37
+ --primary: var(--color-blue-500);
38
+ --secondary: var(--eclipse);
39
+ --success: var(--color-green-600);
40
+ --danger: var(--color-red-500);
41
+ }
42
+ }
43
+ :root,
44
+ :host {
45
+ --color-red-500: oklch(63.7% 0.237 25.331);
46
+ --color-green-600: oklch(62.7% 0.194 149.214);
47
+ --color-blue-500: oklch(62.3% 0.214 259.815);
48
+ --color-zinc-500: oklch(55.2% 0.016 285.938);
49
+ --color-zinc-900: oklch(21% 0.006 285.885);
50
+ --color-white: #fff;
51
+ --spacing: 0.25rem;
52
+ --text-sm: 0.875rem;
53
+ --text-sm--line-height: calc(1.25 / 0.875);
54
+ --text-base: 1rem;
55
+ --text-base--line-height: calc(1.5 / 1);
56
+ --font-weight-medium: 500;
57
+ --animate-spin: spin 1s linear infinite;
58
+ --default-transition-duration: 0.15s;
59
+ --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
60
+ }
61
+ @layer utilities;
62
+ @layer components {
63
+ .button {
64
+ --color: transparent;
65
+ --bg: transparent;
66
+ --bg-hover: var(--bg);
67
+ --bg-active: var(--bg-hover);
68
+ --fg: currentColor;
69
+ }
70
+ .button--primary {
71
+ --color: var(--primary);
72
+ }
73
+ .button--secondary {
74
+ --color: var(--secondary);
75
+ }
76
+ .button--success {
77
+ --color: var(--success);
78
+ }
79
+ .button--danger {
80
+ --color: var(--danger);
81
+ }
82
+ .button--solid {
83
+ --bg: var(--color);
84
+ --bg-hover: var(--bg);
85
+ }
86
+ @supports (color: color-mix(in lab, red, red)) {
87
+ .button--solid {
88
+ --bg-hover: color-mix(in oklab, var(--bg) 90%, var(--eclipse) 10%);
89
+ }
90
+ }
91
+ .button--solid {
92
+ --bg-active: var(--bg);
93
+ }
94
+ @supports (color: color-mix(in lab, red, red)) {
95
+ .button--solid {
96
+ --bg-active: color-mix(in oklab, var(--bg) 80%, var(--eclipse) 20%);
97
+ }
98
+ }
99
+ .button--solid {
100
+ --fg: var(--color-white);
101
+ }
102
+ .button--solid.button--secondary {
103
+ --bg: var(--color);
104
+ }
105
+ @supports (color: color-mix(in lab, red, red)) {
106
+ .button--solid.button--secondary {
107
+ --bg: color-mix(in oklab, var(--color) 5%, transparent);
108
+ }
109
+ }
110
+ .button--solid.button--secondary {
111
+ --bg-hover: var(--bg);
112
+ }
113
+ @supports (color: color-mix(in lab, red, red)) {
114
+ .button--solid.button--secondary {
115
+ --bg-hover: color-mix(in oklab, var(--bg) 95%, var(--eclipse) 5%);
116
+ }
117
+ }
118
+ .button--solid.button--secondary {
119
+ --bg-active: var(--bg);
120
+ }
121
+ @supports (color: color-mix(in lab, red, red)) {
122
+ .button--solid.button--secondary {
123
+ --bg-active: color-mix(in oklab, var(--bg) 90%, var(--eclipse) 10%);
124
+ }
125
+ }
126
+ .button--solid.button--secondary {
127
+ --fg: var(--color);
128
+ }
129
+ .button--bordered,
130
+ .button--light {
131
+ --fg: var(--color);
132
+ --bg-hover: var(--fg);
133
+ }
134
+ @supports (color: color-mix(in lab, red, red)) {
135
+ .button--bordered,
136
+ .button--light {
137
+ --bg-hover: color-mix(in oklab, var(--fg) 5%, transparent);
138
+ }
139
+ }
140
+ .button {
141
+ justify-content: center;
142
+ align-items: center;
143
+ gap: calc(var(--spacing) * 2);
144
+ --tw-font-weight: var(--font-weight-medium);
145
+ font-weight: var(--font-weight-medium);
146
+ white-space: nowrap;
147
+ color: var(--fg);
148
+ transition-property: background-color, scale;
149
+ transition-timing-function: var(
150
+ --tw-ease,
151
+ var(--default-transition-timing-function)
152
+ );
153
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
154
+ -webkit-user-select: none;
155
+ user-select: none;
156
+ display: inline-flex;
157
+ }
158
+ .button:focus-visible {
159
+ --tw-outline-style: none;
160
+ outline-style: none;
161
+ }
162
+ .button:enabled {
163
+ cursor: pointer;
164
+ }
165
+ .button:hover {
166
+ background-color: var(--bg-hover);
167
+ }
168
+ .button:active {
169
+ --tw-scale-x: 95%;
170
+ --tw-scale-y: 95%;
171
+ --tw-scale-z: 95%;
172
+ scale: var(--tw-scale-x) var(--tw-scale-y);
173
+ background-color: var(--bg-active);
174
+ }
175
+ .button--pending {
176
+ pointer-events: none;
177
+ }
178
+ .button--sm {
179
+ height: calc(var(--spacing) * 9);
180
+ font-size: var(--text-sm);
181
+ line-height: var(--tw-leading, var(--text-sm--line-height));
182
+ }
183
+ .button--md {
184
+ height: calc(var(--spacing) * 10);
185
+ font-size: var(--text-sm);
186
+ line-height: var(--tw-leading, var(--text-sm--line-height));
187
+ }
188
+ .button--lg {
189
+ height: calc(var(--spacing) * 11);
190
+ font-size: var(--text-base);
191
+ line-height: var(--tw-leading, var(--text-base--line-height));
192
+ }
193
+ .button--icon-only {
194
+ flex-shrink: 0;
195
+ }
196
+ .button--icon-only.button--sm {
197
+ width: calc(var(--spacing) * 9);
198
+ }
199
+ .button--icon-only.button--md {
200
+ width: calc(var(--spacing) * 10);
201
+ }
202
+ .button--icon-only.button--lg {
203
+ width: calc(var(--spacing) * 11);
204
+ }
205
+ .button--solid {
206
+ background-color: var(--bg);
207
+ }
208
+ .button--solid:focus-visible:not(.button--pending) {
209
+ --tw-ring-color: var(--color);
210
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0
211
+ calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
212
+ box-shadow:
213
+ var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
214
+ var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
215
+ --tw-ring-offset-width: 2px;
216
+ --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0
217
+ var(--tw-ring-offset-width) var(--tw-ring-offset-color);
218
+ }
219
+ .button--bordered {
220
+ border-style: var(--tw-border-style);
221
+ border-width: 2px;
222
+ border-color: var(--fg);
223
+ }
224
+ .button--bordered:focus-visible:not(.button--pending) {
225
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0
226
+ calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
227
+ box-shadow:
228
+ var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
229
+ var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
230
+ --tw-ring-offset-width: 2px;
231
+ --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0
232
+ var(--tw-ring-offset-width) var(--tw-ring-offset-color);
233
+ }
234
+ .button--light {
235
+ text-underline-offset: 6px;
236
+ text-decoration-line: underline;
237
+ position: relative;
238
+ }
239
+ @media (hover: hover) {
240
+ .button--light:hover {
241
+ text-decoration-line: none;
242
+ }
243
+ }
244
+ .button--light:focus-visible:not(.button--pending):after {
245
+ top: calc(var(--spacing) * 2);
246
+ right: calc(var(--spacing) * 3);
247
+ left: calc(var(--spacing) * 3);
248
+ height: calc(var(--spacing) * 0.5);
249
+ content: "";
250
+ background-color: currentColor;
251
+ position: absolute;
252
+ }
253
+ .spinner {
254
+ animation: var(--animate-spin);
255
+ }
256
+ :disabled,
257
+ [data-disabled] {
258
+ pointer-events: none;
259
+ opacity: 0.5;
260
+ }
261
+ }
262
+ @property --tw-font-weight {
263
+ syntax: "*";
264
+ inherits: false;
265
+ }
266
+ @property --tw-scale-x {
267
+ syntax: "*";
268
+ inherits: false;
269
+ initial-value: 1;
270
+ }
271
+ @property --tw-scale-y {
272
+ syntax: "*";
273
+ inherits: false;
274
+ initial-value: 1;
275
+ }
276
+ @property --tw-scale-z {
277
+ syntax: "*";
278
+ inherits: false;
279
+ initial-value: 1;
280
+ }
281
+ @property --tw-shadow {
282
+ syntax: "*";
283
+ inherits: false;
284
+ initial-value: 0 0 #0000;
285
+ }
286
+ @property --tw-shadow-color {
287
+ syntax: "*";
288
+ inherits: false;
289
+ }
290
+ @property --tw-shadow-alpha {
291
+ syntax: "<percentage>";
292
+ inherits: false;
293
+ initial-value: 100%;
294
+ }
295
+ @property --tw-inset-shadow {
296
+ syntax: "*";
297
+ inherits: false;
298
+ initial-value: 0 0 #0000;
299
+ }
300
+ @property --tw-inset-shadow-color {
301
+ syntax: "*";
302
+ inherits: false;
303
+ }
304
+ @property --tw-inset-shadow-alpha {
305
+ syntax: "<percentage>";
306
+ inherits: false;
307
+ initial-value: 100%;
308
+ }
309
+ @property --tw-ring-color {
310
+ syntax: "*";
311
+ inherits: false;
312
+ }
313
+ @property --tw-ring-shadow {
314
+ syntax: "*";
315
+ inherits: false;
316
+ initial-value: 0 0 #0000;
317
+ }
318
+ @property --tw-inset-ring-color {
319
+ syntax: "*";
320
+ inherits: false;
321
+ }
322
+ @property --tw-inset-ring-shadow {
323
+ syntax: "*";
324
+ inherits: false;
325
+ initial-value: 0 0 #0000;
326
+ }
327
+ @property --tw-ring-inset {
328
+ syntax: "*";
329
+ inherits: false;
330
+ }
331
+ @property --tw-ring-offset-width {
332
+ syntax: "<length>";
333
+ inherits: false;
334
+ initial-value: 0;
335
+ }
336
+ @property --tw-ring-offset-color {
337
+ syntax: "*";
338
+ inherits: false;
339
+ initial-value: #fff;
340
+ }
341
+ @property --tw-ring-offset-shadow {
342
+ syntax: "*";
343
+ inherits: false;
344
+ initial-value: 0 0 #0000;
345
+ }
346
+ @property --tw-border-style {
347
+ syntax: "*";
348
+ inherits: false;
349
+ initial-value: solid;
350
+ }
351
+ @keyframes spin {
352
+ to {
353
+ transform: rotate(360deg);
354
+ }
355
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brosco/ui",
3
- "version": "0.0.82",
3
+ "version": "0.0.83",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"