@nubase/frontend 0.1.35 → 0.1.38
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/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +270 -44
- package/dist/index.d.ts +270 -44
- package/dist/index.js +13101 -12255
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12185 -11353
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +152 -35
- package/package.json +25 -25
package/dist/styles.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.2.
|
|
1
|
+
/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
3
|
@layer theme, base, components, utilities;
|
|
4
4
|
@layer theme {
|
|
@@ -757,6 +757,12 @@
|
|
|
757
757
|
.w-\[600px\] {
|
|
758
758
|
width: 600px;
|
|
759
759
|
}
|
|
760
|
+
.w-\[640px\] {
|
|
761
|
+
width: 640px;
|
|
762
|
+
}
|
|
763
|
+
.w-\[720px\] {
|
|
764
|
+
width: 720px;
|
|
765
|
+
}
|
|
760
766
|
.w-auto {
|
|
761
767
|
width: auto;
|
|
762
768
|
}
|
|
@@ -805,6 +811,15 @@
|
|
|
805
811
|
.min-w-5 {
|
|
806
812
|
min-width: calc(var(--spacing) * 5);
|
|
807
813
|
}
|
|
814
|
+
.min-w-8 {
|
|
815
|
+
min-width: calc(var(--spacing) * 8);
|
|
816
|
+
}
|
|
817
|
+
.min-w-9 {
|
|
818
|
+
min-width: calc(var(--spacing) * 9);
|
|
819
|
+
}
|
|
820
|
+
.min-w-10 {
|
|
821
|
+
min-width: calc(var(--spacing) * 10);
|
|
822
|
+
}
|
|
808
823
|
.min-w-80 {
|
|
809
824
|
min-width: calc(var(--spacing) * 80);
|
|
810
825
|
}
|
|
@@ -814,9 +829,6 @@
|
|
|
814
829
|
.flex-1 {
|
|
815
830
|
flex: 1;
|
|
816
831
|
}
|
|
817
|
-
.flex-shrink-0 {
|
|
818
|
-
flex-shrink: 0;
|
|
819
|
-
}
|
|
820
832
|
.shrink-0 {
|
|
821
833
|
flex-shrink: 0;
|
|
822
834
|
}
|
|
@@ -1157,6 +1169,12 @@
|
|
|
1157
1169
|
border-color: color-mix(in oklab, var(--color-destructive) 20%, transparent);
|
|
1158
1170
|
}
|
|
1159
1171
|
}
|
|
1172
|
+
.border-destructive\/30 {
|
|
1173
|
+
border-color: var(--color-destructive);
|
|
1174
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1175
|
+
border-color: color-mix(in oklab, var(--color-destructive) 30%, transparent);
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1160
1178
|
.border-gray-200 {
|
|
1161
1179
|
border-color: var(--color-gray-200);
|
|
1162
1180
|
}
|
|
@@ -1799,6 +1817,10 @@
|
|
|
1799
1817
|
outline-offset: 2px;
|
|
1800
1818
|
}
|
|
1801
1819
|
}
|
|
1820
|
+
.outline {
|
|
1821
|
+
outline-style: var(--tw-outline-style);
|
|
1822
|
+
outline-width: 1px;
|
|
1823
|
+
}
|
|
1802
1824
|
.outline-0 {
|
|
1803
1825
|
outline-style: var(--tw-outline-style);
|
|
1804
1826
|
outline-width: 0px;
|
|
@@ -1960,16 +1982,47 @@
|
|
|
1960
1982
|
content: var(--tw-content);
|
|
1961
1983
|
}
|
|
1962
1984
|
}
|
|
1985
|
+
.first\:rounded-l-md {
|
|
1986
|
+
&:first-child {
|
|
1987
|
+
border-top-left-radius: var(--radius-md);
|
|
1988
|
+
border-bottom-left-radius: var(--radius-md);
|
|
1989
|
+
}
|
|
1990
|
+
}
|
|
1963
1991
|
.first\:fill-muted {
|
|
1964
1992
|
&:first-child {
|
|
1965
1993
|
fill: var(--color-muted);
|
|
1966
1994
|
}
|
|
1967
1995
|
}
|
|
1996
|
+
.last\:rounded-r-md {
|
|
1997
|
+
&:last-child {
|
|
1998
|
+
border-top-right-radius: var(--radius-md);
|
|
1999
|
+
border-bottom-right-radius: var(--radius-md);
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
1968
2002
|
.last\:fill-background {
|
|
1969
2003
|
&:last-child {
|
|
1970
2004
|
fill: var(--color-background);
|
|
1971
2005
|
}
|
|
1972
2006
|
}
|
|
2007
|
+
.focus-within\:border-ring {
|
|
2008
|
+
&:focus-within {
|
|
2009
|
+
border-color: var(--color-ring);
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
.focus-within\:ring-\[3px\] {
|
|
2013
|
+
&:focus-within {
|
|
2014
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
2015
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
2016
|
+
}
|
|
2017
|
+
}
|
|
2018
|
+
.focus-within\:ring-ring\/50 {
|
|
2019
|
+
&:focus-within {
|
|
2020
|
+
--tw-ring-color: var(--color-ring);
|
|
2021
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2022
|
+
--tw-ring-color: color-mix(in oklab, var(--color-ring) 50%, transparent);
|
|
2023
|
+
}
|
|
2024
|
+
}
|
|
2025
|
+
}
|
|
1973
2026
|
.hover\:border-primary {
|
|
1974
2027
|
&:hover {
|
|
1975
2028
|
@media (hover: hover) {
|
|
@@ -2141,6 +2194,11 @@
|
|
|
2141
2194
|
}
|
|
2142
2195
|
}
|
|
2143
2196
|
}
|
|
2197
|
+
.focus\:z-10 {
|
|
2198
|
+
&:focus {
|
|
2199
|
+
z-index: 10;
|
|
2200
|
+
}
|
|
2201
|
+
}
|
|
2144
2202
|
.focus\:border-primary {
|
|
2145
2203
|
&:focus {
|
|
2146
2204
|
border-color: var(--color-primary);
|
|
@@ -2203,6 +2261,11 @@
|
|
|
2203
2261
|
outline-style: none;
|
|
2204
2262
|
}
|
|
2205
2263
|
}
|
|
2264
|
+
.focus-visible\:z-10 {
|
|
2265
|
+
&:focus-visible {
|
|
2266
|
+
z-index: 10;
|
|
2267
|
+
}
|
|
2268
|
+
}
|
|
2206
2269
|
.focus-visible\:border-ring {
|
|
2207
2270
|
&:focus-visible {
|
|
2208
2271
|
border-color: var(--color-ring);
|
|
@@ -2289,6 +2352,11 @@
|
|
|
2289
2352
|
opacity: 50%;
|
|
2290
2353
|
}
|
|
2291
2354
|
}
|
|
2355
|
+
.has-\[\>svg\]\:px-2\.5 {
|
|
2356
|
+
&:has(>svg) {
|
|
2357
|
+
padding-inline: calc(var(--spacing) * 2.5);
|
|
2358
|
+
}
|
|
2359
|
+
}
|
|
2292
2360
|
.has-\[\>svg\]\:px-3 {
|
|
2293
2361
|
&:has(>svg) {
|
|
2294
2362
|
padding-inline: calc(var(--spacing) * 3);
|
|
@@ -2307,19 +2375,6 @@
|
|
|
2307
2375
|
}
|
|
2308
2376
|
}
|
|
2309
2377
|
}
|
|
2310
|
-
.data-\[closed\]\:scale-95 {
|
|
2311
|
-
&[data-closed] {
|
|
2312
|
-
--tw-scale-x: 95%;
|
|
2313
|
-
--tw-scale-y: 95%;
|
|
2314
|
-
--tw-scale-z: 95%;
|
|
2315
|
-
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
2316
|
-
}
|
|
2317
|
-
}
|
|
2318
|
-
.data-\[closed\]\:opacity-0 {
|
|
2319
|
-
&[data-closed] {
|
|
2320
|
-
opacity: 0%;
|
|
2321
|
-
}
|
|
2322
|
-
}
|
|
2323
2378
|
.data-\[disabled\]\:pointer-events-none {
|
|
2324
2379
|
&[data-disabled] {
|
|
2325
2380
|
pointer-events: none;
|
|
@@ -2414,6 +2469,16 @@
|
|
|
2414
2469
|
--tw-exit-scale: .95;
|
|
2415
2470
|
}
|
|
2416
2471
|
}
|
|
2472
|
+
.data-\[state\=on\]\:bg-accent {
|
|
2473
|
+
&[data-state="on"] {
|
|
2474
|
+
background-color: var(--color-accent);
|
|
2475
|
+
}
|
|
2476
|
+
}
|
|
2477
|
+
.data-\[state\=on\]\:text-accent-foreground {
|
|
2478
|
+
&[data-state="on"] {
|
|
2479
|
+
color: var(--color-accent-foreground);
|
|
2480
|
+
}
|
|
2481
|
+
}
|
|
2417
2482
|
.data-\[state\=open\]\:animate-in {
|
|
2418
2483
|
&[data-state="open"] {
|
|
2419
2484
|
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);
|
|
@@ -2474,6 +2539,26 @@
|
|
|
2474
2539
|
}
|
|
2475
2540
|
}
|
|
2476
2541
|
}
|
|
2542
|
+
.data-\[variant\=outline\]\:border-l-0 {
|
|
2543
|
+
&[data-variant="outline"] {
|
|
2544
|
+
border-left-style: var(--tw-border-style);
|
|
2545
|
+
border-left-width: 0px;
|
|
2546
|
+
}
|
|
2547
|
+
}
|
|
2548
|
+
.data-\[variant\=outline\]\:shadow-xs {
|
|
2549
|
+
&[data-variant="outline"] {
|
|
2550
|
+
--tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));
|
|
2551
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
2552
|
+
}
|
|
2553
|
+
}
|
|
2554
|
+
.data-\[variant\=outline\]\:first\:border-l {
|
|
2555
|
+
&[data-variant="outline"] {
|
|
2556
|
+
&:first-child {
|
|
2557
|
+
border-left-style: var(--tw-border-style);
|
|
2558
|
+
border-left-width: 1px;
|
|
2559
|
+
}
|
|
2560
|
+
}
|
|
2561
|
+
}
|
|
2477
2562
|
.sm\:block {
|
|
2478
2563
|
@media (width >= 40rem) {
|
|
2479
2564
|
display: block;
|
|
@@ -2805,6 +2890,38 @@
|
|
|
2805
2890
|
justify-content: center;
|
|
2806
2891
|
}
|
|
2807
2892
|
}
|
|
2893
|
+
.\[\&\>\*\]\:rounded-none {
|
|
2894
|
+
&>* {
|
|
2895
|
+
border-radius: 0;
|
|
2896
|
+
}
|
|
2897
|
+
}
|
|
2898
|
+
.\[\&\>\*\:first-child\]\:rounded-l-md {
|
|
2899
|
+
&>*:first-child {
|
|
2900
|
+
border-top-left-radius: var(--radius-md);
|
|
2901
|
+
border-bottom-left-radius: var(--radius-md);
|
|
2902
|
+
}
|
|
2903
|
+
}
|
|
2904
|
+
.\[\&\>\*\:focus-visible\]\:z-10 {
|
|
2905
|
+
&>*:focus-visible {
|
|
2906
|
+
z-index: 10;
|
|
2907
|
+
}
|
|
2908
|
+
}
|
|
2909
|
+
.\[\&\>\*\:hover\]\:z-10 {
|
|
2910
|
+
&>*:hover {
|
|
2911
|
+
z-index: 10;
|
|
2912
|
+
}
|
|
2913
|
+
}
|
|
2914
|
+
.\[\&\>\*\:last-child\]\:rounded-r-md {
|
|
2915
|
+
&>*:last-child {
|
|
2916
|
+
border-top-right-radius: var(--radius-md);
|
|
2917
|
+
border-bottom-right-radius: var(--radius-md);
|
|
2918
|
+
}
|
|
2919
|
+
}
|
|
2920
|
+
.\[\&\>\*\:not\(\:first-child\)\]\:-ml-px {
|
|
2921
|
+
&>*:not(:first-child) {
|
|
2922
|
+
margin-left: -1px;
|
|
2923
|
+
}
|
|
2924
|
+
}
|
|
2808
2925
|
.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\] {
|
|
2809
2926
|
&>[role=checkbox] {
|
|
2810
2927
|
--tw-translate-y: 2px;
|
|
@@ -3291,6 +3408,24 @@
|
|
|
3291
3408
|
background: transparent;
|
|
3292
3409
|
}
|
|
3293
3410
|
}
|
|
3411
|
+
.monaco-editor .suggest-widget, .monaco-editor-hover {
|
|
3412
|
+
border-radius: var(--radius-md);
|
|
3413
|
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
3414
|
+
font-family: inherit;
|
|
3415
|
+
}
|
|
3416
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row {
|
|
3417
|
+
font-family: inherit;
|
|
3418
|
+
padding: 2px 6px;
|
|
3419
|
+
}
|
|
3420
|
+
.nql-editor-shell .monaco-editor, .nql-editor-shell .monaco-editor .inputarea {
|
|
3421
|
+
font-family: inherit;
|
|
3422
|
+
}
|
|
3423
|
+
.nql-editor-shell .monaco-editor, .nql-editor-shell .monaco-editor .overflow-guard {
|
|
3424
|
+
background: transparent;
|
|
3425
|
+
border: 0;
|
|
3426
|
+
outline: none;
|
|
3427
|
+
box-shadow: none;
|
|
3428
|
+
}
|
|
3294
3429
|
@property --tw-translate-x {
|
|
3295
3430
|
syntax: "*";
|
|
3296
3431
|
inherits: false;
|
|
@@ -3551,21 +3686,6 @@
|
|
|
3551
3686
|
initial-value: "";
|
|
3552
3687
|
inherits: false;
|
|
3553
3688
|
}
|
|
3554
|
-
@property --tw-scale-x {
|
|
3555
|
-
syntax: "*";
|
|
3556
|
-
inherits: false;
|
|
3557
|
-
initial-value: 1;
|
|
3558
|
-
}
|
|
3559
|
-
@property --tw-scale-y {
|
|
3560
|
-
syntax: "*";
|
|
3561
|
-
inherits: false;
|
|
3562
|
-
initial-value: 1;
|
|
3563
|
-
}
|
|
3564
|
-
@property --tw-scale-z {
|
|
3565
|
-
syntax: "*";
|
|
3566
|
-
inherits: false;
|
|
3567
|
-
initial-value: 1;
|
|
3568
|
-
}
|
|
3569
3689
|
@keyframes spin {
|
|
3570
3690
|
to {
|
|
3571
3691
|
transform: rotate(360deg);
|
|
@@ -3652,9 +3772,6 @@
|
|
|
3652
3772
|
--tw-duration: initial;
|
|
3653
3773
|
--tw-ease: initial;
|
|
3654
3774
|
--tw-content: "";
|
|
3655
|
-
--tw-scale-x: 1;
|
|
3656
|
-
--tw-scale-y: 1;
|
|
3657
|
-
--tw-scale-z: 1;
|
|
3658
3775
|
--tw-animation-delay: 0s;
|
|
3659
3776
|
--tw-animation-direction: normal;
|
|
3660
3777
|
--tw-animation-duration: initial;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nubase/frontend",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.38",
|
|
4
4
|
"description": "React components and utilities for nubase",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -38,42 +38,40 @@
|
|
|
38
38
|
"lint": "biome check .",
|
|
39
39
|
"lint:fix": "biome check . --write --unsafe",
|
|
40
40
|
"prepublishOnly": "npm run build",
|
|
41
|
-
"publish:latest": "npm publish --access public",
|
|
42
|
-
"publish:dev": "npm publish --access public --tag dev",
|
|
43
41
|
"watch:ts": "tsup --watch",
|
|
44
42
|
"watch:css": "tailwindcss -i ./src/styles.css -o ./dist/styles.css --watch",
|
|
45
43
|
"storybook": "storybook dev -p 6006",
|
|
46
44
|
"dev": "concurrently \"npm:watch:ts\" \"npm:watch:css\" \"npm:storybook\""
|
|
47
45
|
},
|
|
48
46
|
"peerDependencies": {
|
|
49
|
-
"react": "^19.2.
|
|
47
|
+
"react": "^19.2.5"
|
|
50
48
|
},
|
|
51
49
|
"devDependencies": {
|
|
52
50
|
"@faker-js/faker": "^10.3.0",
|
|
53
|
-
"@storybook/addon-docs": "^10.
|
|
54
|
-
"@storybook/addon-onboarding": "^10.
|
|
55
|
-
"@storybook/addon-themes": "^10.
|
|
56
|
-
"@storybook/react-vite": "^10.
|
|
57
|
-
"@tailwindcss/cli": "^4.2.
|
|
58
|
-
"@tailwindcss/postcss": "^4.2.
|
|
51
|
+
"@storybook/addon-docs": "^10.3.5",
|
|
52
|
+
"@storybook/addon-onboarding": "^10.3.5",
|
|
53
|
+
"@storybook/addon-themes": "^10.3.5",
|
|
54
|
+
"@storybook/react-vite": "^10.3.5",
|
|
55
|
+
"@tailwindcss/cli": "^4.2.4",
|
|
56
|
+
"@tailwindcss/postcss": "^4.2.4",
|
|
59
57
|
"@types/lodash-es": "^4.17.12",
|
|
60
58
|
"@types/react": "^19.2.14",
|
|
61
59
|
"@types/react-grid-layout": "^1.3.6",
|
|
62
60
|
"@types/typo-js": "^1.2.2",
|
|
63
|
-
"@vitejs/plugin-react": "^
|
|
61
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
64
62
|
"autoprefixer": "^10.4.27",
|
|
65
63
|
"concurrently": "^9.2.1",
|
|
66
64
|
"postcss": "^8.5.8",
|
|
67
|
-
"storybook": "^10.
|
|
68
|
-
"tailwindcss": "^4.2.
|
|
65
|
+
"storybook": "^10.3.5",
|
|
66
|
+
"tailwindcss": "^4.2.4",
|
|
69
67
|
"tsup": "^8.5.1",
|
|
70
68
|
"tw-animate-css": "^1.4.0",
|
|
71
69
|
"typescript": "^5.9.3",
|
|
72
|
-
"vite": "^
|
|
73
|
-
"vitest": "^4.
|
|
70
|
+
"vite": "^8.0.10",
|
|
71
|
+
"vitest": "^4.1.5"
|
|
74
72
|
},
|
|
75
73
|
"dependencies": {
|
|
76
|
-
"@biomejs/biome": "^2.4.
|
|
74
|
+
"@biomejs/biome": "^2.4.13",
|
|
77
75
|
"@headlessui/react": "^2.2.9",
|
|
78
76
|
"@monaco-editor/loader": "^1.7.0",
|
|
79
77
|
"@nubase/core": "*",
|
|
@@ -85,29 +83,31 @@
|
|
|
85
83
|
"@radix-ui/react-slot": "^1.2.4",
|
|
86
84
|
"@radix-ui/react-switch": "^1.2.6",
|
|
87
85
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
86
|
+
"@radix-ui/react-toggle": "^1.1.10",
|
|
87
|
+
"@radix-ui/react-toggle-group": "^1.1.11",
|
|
88
88
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
89
|
-
"@tailwindcss/cli": "^4.2.
|
|
90
|
-
"@tailwindcss/postcss": "^4.2.
|
|
91
|
-
"@tanstack/react-form": "^1.
|
|
92
|
-
"@tanstack/react-query": "^5.
|
|
93
|
-
"@tanstack/react-router": "^1.
|
|
94
|
-
"@tanstack/react-router-devtools": "^1.166.
|
|
89
|
+
"@tailwindcss/cli": "^4.2.4",
|
|
90
|
+
"@tailwindcss/postcss": "^4.2.4",
|
|
91
|
+
"@tanstack/react-form": "^1.29.1",
|
|
92
|
+
"@tanstack/react-query": "^5.100.1",
|
|
93
|
+
"@tanstack/react-router": "^1.168.24",
|
|
94
|
+
"@tanstack/react-router-devtools": "^1.166.13",
|
|
95
95
|
"@tanstack/react-table": "^8.21.3",
|
|
96
96
|
"class-variance-authority": "^0.7.1",
|
|
97
97
|
"clsx": "^2.1.1",
|
|
98
98
|
"downshift": "^9.3.2",
|
|
99
99
|
"lodash-es": "^4.17.22",
|
|
100
100
|
"lucide-react": "^0.577.0",
|
|
101
|
-
"monaco-editor": "^0.
|
|
101
|
+
"monaco-editor": "^0.52.2",
|
|
102
102
|
"monaco-spellchecker": "^0.6.0",
|
|
103
103
|
"postcss": "^8.5.8",
|
|
104
|
-
"react-dom": "^19.2.
|
|
104
|
+
"react-dom": "^19.2.5",
|
|
105
105
|
"react-grid-layout": "^2.2.2",
|
|
106
106
|
"react-hotkeys-hook": "^5.2.4",
|
|
107
107
|
"react-monaco-editor": "^0.59.0",
|
|
108
108
|
"recharts": "^3.8.0",
|
|
109
109
|
"tailwind-merge": "^3.5.0",
|
|
110
|
-
"tailwindcss": "^4.2.
|
|
110
|
+
"tailwindcss": "^4.2.4",
|
|
111
111
|
"typo-js": "^1.3.1",
|
|
112
112
|
"zod": "^4.3.6"
|
|
113
113
|
}
|