@yomologic/react-ui 0.2.6 → 0.2.7
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/README.md +2 -1
- package/dist/index.d.mts +45 -5
- package/dist/index.d.ts +45 -5
- package/dist/index.js +203 -37
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +199 -34
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +77 -50
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
--container-md: 28rem;
|
|
76
76
|
--container-2xl: 42rem;
|
|
77
77
|
--container-3xl: 48rem;
|
|
78
|
-
--container-
|
|
78
|
+
--container-7xl: 80rem;
|
|
79
79
|
--text-xs: 0.75rem;
|
|
80
80
|
--text-xs--line-height: calc(1 / 0.75);
|
|
81
81
|
--text-sm: 0.875rem;
|
|
@@ -301,6 +301,9 @@
|
|
|
301
301
|
.pointer-events-none {
|
|
302
302
|
pointer-events: none;
|
|
303
303
|
}
|
|
304
|
+
.invisible {
|
|
305
|
+
visibility: hidden;
|
|
306
|
+
}
|
|
304
307
|
.absolute {
|
|
305
308
|
position: absolute;
|
|
306
309
|
}
|
|
@@ -337,9 +340,6 @@
|
|
|
337
340
|
.top-12 {
|
|
338
341
|
top: calc(var(--spacing) * 12);
|
|
339
342
|
}
|
|
340
|
-
.top-\[var\(--nav-height\)\] {
|
|
341
|
-
top: var(--nav-height);
|
|
342
|
-
}
|
|
343
343
|
.top-full {
|
|
344
344
|
top: 100%;
|
|
345
345
|
}
|
|
@@ -349,12 +349,30 @@
|
|
|
349
349
|
.right-3 {
|
|
350
350
|
right: calc(var(--spacing) * 3);
|
|
351
351
|
}
|
|
352
|
+
.bottom-0 {
|
|
353
|
+
bottom: calc(var(--spacing) * 0);
|
|
354
|
+
}
|
|
352
355
|
.left-0 {
|
|
353
356
|
left: calc(var(--spacing) * 0);
|
|
354
357
|
}
|
|
355
358
|
.left-full {
|
|
356
359
|
left: 100%;
|
|
357
360
|
}
|
|
361
|
+
.\[z-index\:var\(--z-index-drawer-button\)\] {
|
|
362
|
+
z-index: var(--z-index-drawer-button);
|
|
363
|
+
}
|
|
364
|
+
.\[z-index\:var\(--z-index-drawer-header\)\] {
|
|
365
|
+
z-index: var(--z-index-drawer-header);
|
|
366
|
+
}
|
|
367
|
+
.\[z-index\:var\(--z-index-nav\)\] {
|
|
368
|
+
z-index: var(--z-index-nav);
|
|
369
|
+
}
|
|
370
|
+
.\[z-index\:var\(--z-index-nav-mobile-menu\)\] {
|
|
371
|
+
z-index: var(--z-index-nav-mobile-menu);
|
|
372
|
+
}
|
|
373
|
+
.\[z-index\:var\(--z-index-nav-mobile-overlay\)\] {
|
|
374
|
+
z-index: var(--z-index-nav-mobile-overlay);
|
|
375
|
+
}
|
|
358
376
|
.z-10 {
|
|
359
377
|
z-index: 10;
|
|
360
378
|
}
|
|
@@ -403,9 +421,6 @@
|
|
|
403
421
|
.mt-2 {
|
|
404
422
|
margin-top: calc(var(--spacing) * 2);
|
|
405
423
|
}
|
|
406
|
-
.mt-4 {
|
|
407
|
-
margin-top: calc(var(--spacing) * 4);
|
|
408
|
-
}
|
|
409
424
|
.mt-6 {
|
|
410
425
|
margin-top: calc(var(--spacing) * 6);
|
|
411
426
|
}
|
|
@@ -484,9 +499,6 @@
|
|
|
484
499
|
.flex {
|
|
485
500
|
display: flex;
|
|
486
501
|
}
|
|
487
|
-
.grid {
|
|
488
|
-
display: grid;
|
|
489
|
-
}
|
|
490
502
|
.hidden {
|
|
491
503
|
display: none;
|
|
492
504
|
}
|
|
@@ -595,8 +607,8 @@
|
|
|
595
607
|
.max-h-\[400px\] {
|
|
596
608
|
max-height: 400px;
|
|
597
609
|
}
|
|
598
|
-
.max-h
|
|
599
|
-
max-height:
|
|
610
|
+
.max-h-screen {
|
|
611
|
+
max-height: 100vh;
|
|
600
612
|
}
|
|
601
613
|
.\[min-height\:var\(--nav-height\)\] {
|
|
602
614
|
min-height: var(--nav-height);
|
|
@@ -694,8 +706,8 @@
|
|
|
694
706
|
.max-w-3xl {
|
|
695
707
|
max-width: var(--container-3xl);
|
|
696
708
|
}
|
|
697
|
-
.max-w-
|
|
698
|
-
max-width: var(--container-
|
|
709
|
+
.max-w-7xl {
|
|
710
|
+
max-width: var(--container-7xl);
|
|
699
711
|
}
|
|
700
712
|
.max-w-full {
|
|
701
713
|
max-width: 100%;
|
|
@@ -721,9 +733,6 @@
|
|
|
721
733
|
.max-w-sm {
|
|
722
734
|
max-width: var(--container-sm);
|
|
723
735
|
}
|
|
724
|
-
.min-w-0 {
|
|
725
|
-
min-width: calc(var(--spacing) * 0);
|
|
726
|
-
}
|
|
727
736
|
.min-w-\[200px\] {
|
|
728
737
|
min-width: 200px;
|
|
729
738
|
}
|
|
@@ -748,6 +757,14 @@
|
|
|
748
757
|
--tw-translate-x: 100%;
|
|
749
758
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
750
759
|
}
|
|
760
|
+
.-translate-y-full {
|
|
761
|
+
--tw-translate-y: -100%;
|
|
762
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
763
|
+
}
|
|
764
|
+
.translate-y-0 {
|
|
765
|
+
--tw-translate-y: calc(var(--spacing) * 0);
|
|
766
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
767
|
+
}
|
|
751
768
|
.rotate-45 {
|
|
752
769
|
rotate: 45deg;
|
|
753
770
|
}
|
|
@@ -769,9 +786,6 @@
|
|
|
769
786
|
.appearance-none {
|
|
770
787
|
appearance: none;
|
|
771
788
|
}
|
|
772
|
-
.grid-cols-1 {
|
|
773
|
-
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
774
|
-
}
|
|
775
789
|
.flex-col {
|
|
776
790
|
flex-direction: column;
|
|
777
791
|
}
|
|
@@ -817,9 +831,6 @@
|
|
|
817
831
|
.gap-4 {
|
|
818
832
|
gap: calc(var(--spacing) * 4);
|
|
819
833
|
}
|
|
820
|
-
.gap-6 {
|
|
821
|
-
gap: calc(var(--spacing) * 6);
|
|
822
|
-
}
|
|
823
834
|
.space-y-0 {
|
|
824
835
|
:where(& > :not(:last-child)) {
|
|
825
836
|
--tw-space-y-reverse: 0;
|
|
@@ -1189,6 +1200,9 @@
|
|
|
1189
1200
|
.py-4 {
|
|
1190
1201
|
padding-block: calc(var(--spacing) * 4);
|
|
1191
1202
|
}
|
|
1203
|
+
.py-8 {
|
|
1204
|
+
padding-block: calc(var(--spacing) * 8);
|
|
1205
|
+
}
|
|
1192
1206
|
.py-12 {
|
|
1193
1207
|
padding-block: calc(var(--spacing) * 12);
|
|
1194
1208
|
}
|
|
@@ -2091,11 +2105,6 @@
|
|
|
2091
2105
|
max-width: var(--container-md);
|
|
2092
2106
|
}
|
|
2093
2107
|
}
|
|
2094
|
-
.sm\:grid-cols-2 {
|
|
2095
|
-
@media (width >= 40rem) {
|
|
2096
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2097
|
-
}
|
|
2098
|
-
}
|
|
2099
2108
|
.sm\:flex-row {
|
|
2100
2109
|
@media (width >= 40rem) {
|
|
2101
2110
|
flex-direction: row;
|
|
@@ -2127,19 +2136,9 @@
|
|
|
2127
2136
|
display: none;
|
|
2128
2137
|
}
|
|
2129
2138
|
}
|
|
2130
|
-
.
|
|
2131
|
-
@media (width >= 48rem) {
|
|
2132
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2133
|
-
}
|
|
2134
|
-
}
|
|
2135
|
-
.md\:p-8 {
|
|
2136
|
-
@media (width >= 48rem) {
|
|
2137
|
-
padding: calc(var(--spacing) * 8);
|
|
2138
|
-
}
|
|
2139
|
-
}
|
|
2140
|
-
.lg\:mr-64 {
|
|
2139
|
+
.lg\:top-0 {
|
|
2141
2140
|
@media (width >= 64rem) {
|
|
2142
|
-
|
|
2141
|
+
top: calc(var(--spacing) * 0);
|
|
2143
2142
|
}
|
|
2144
2143
|
}
|
|
2145
2144
|
.lg\:block {
|
|
@@ -2163,16 +2162,6 @@
|
|
|
2163
2162
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
2164
2163
|
}
|
|
2165
2164
|
}
|
|
2166
|
-
.lg\:grid-cols-2 {
|
|
2167
|
-
@media (width >= 64rem) {
|
|
2168
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2169
|
-
}
|
|
2170
|
-
}
|
|
2171
|
-
.lg\:grid-cols-3 {
|
|
2172
|
-
@media (width >= 64rem) {
|
|
2173
|
-
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
2174
|
-
}
|
|
2175
|
-
}
|
|
2176
2165
|
.lg\:px-8 {
|
|
2177
2166
|
@media (width >= 64rem) {
|
|
2178
2167
|
padding-inline: calc(var(--spacing) * 8);
|
|
@@ -2183,6 +2172,11 @@
|
|
|
2183
2172
|
padding-top: calc(var(--spacing) * 0);
|
|
2184
2173
|
}
|
|
2185
2174
|
}
|
|
2175
|
+
.lg\:pr-72 {
|
|
2176
|
+
@media (width >= 64rem) {
|
|
2177
|
+
padding-right: calc(var(--spacing) * 72);
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
2186
2180
|
}
|
|
2187
2181
|
:root {
|
|
2188
2182
|
--color-primary: #3b82f6;
|
|
@@ -2253,6 +2247,39 @@
|
|
|
2253
2247
|
--container-max-width-lg: 1024px;
|
|
2254
2248
|
--container-max-width-xl: 1280px;
|
|
2255
2249
|
--container-max-width-2xl: 1536px;
|
|
2250
|
+
--z-index-dropdown: 1000;
|
|
2251
|
+
--z-index-popover: 1100;
|
|
2252
|
+
--z-index-tooltip: 1500;
|
|
2253
|
+
--z-index-overlay: 1200;
|
|
2254
|
+
--z-index-nav: 50;
|
|
2255
|
+
--z-index-nav-mobile-overlay: 60;
|
|
2256
|
+
--z-index-nav-mobile-menu: 70;
|
|
2257
|
+
--z-index-drawer-header: 100;
|
|
2258
|
+
--z-index-drawer-button: 101;
|
|
2259
|
+
--z-index-drawer-overlay: 90;
|
|
2260
|
+
--z-index-drawer-panel: 95;
|
|
2261
|
+
--z-index-modal-backdrop: 1300;
|
|
2262
|
+
--z-index-modal: 1400;
|
|
2263
|
+
--z-index-snackbar: 1600;
|
|
2264
|
+
--z-index-toast: 1700;
|
|
2265
|
+
--nav-height: 4rem;
|
|
2266
|
+
--nav-gap: 0.5rem;
|
|
2267
|
+
--nav-border-radius: 0.5rem;
|
|
2268
|
+
--nav-item-padding-xs-x: 0.5rem;
|
|
2269
|
+
--nav-item-padding-xs-y: 0.25rem;
|
|
2270
|
+
--nav-item-padding-sm-x: 0.75rem;
|
|
2271
|
+
--nav-item-padding-sm-y: 0.5rem;
|
|
2272
|
+
--nav-item-padding-md-x: 1rem;
|
|
2273
|
+
--nav-item-padding-md-y: 0.625rem;
|
|
2274
|
+
--nav-item-padding-lg-x: 1.5rem;
|
|
2275
|
+
--nav-item-padding-lg-y: 0.75rem;
|
|
2276
|
+
--nav-item-padding-xl-x: 2rem;
|
|
2277
|
+
--nav-item-padding-xl-y: 1rem;
|
|
2278
|
+
--nav-font-size-xs: 0.75rem;
|
|
2279
|
+
--nav-font-size-sm: 0.875rem;
|
|
2280
|
+
--nav-font-size-md: 1rem;
|
|
2281
|
+
--nav-font-size-lg: 1.125rem;
|
|
2282
|
+
--nav-font-size-xl: 1.25rem;
|
|
2256
2283
|
}
|
|
2257
2284
|
@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
|
|
2258
2285
|
@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
|