@nubase/frontend 0.1.35 → 0.1.37

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/styles.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
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
  }
@@ -1743,6 +1761,10 @@
1743
1761
  --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));
1744
1762
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1745
1763
  }
1764
+ .shadow-\[-12px_0_32px_-8px_rgba\(0\,0\,0\,0\.18\)\] {
1765
+ --tw-shadow: -12px 0 32px -8px var(--tw-shadow-color, rgba(0,0,0,0.18));
1766
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1767
+ }
1746
1768
  .shadow-lg {
1747
1769
  --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));
1748
1770
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
@@ -1799,6 +1821,10 @@
1799
1821
  outline-offset: 2px;
1800
1822
  }
1801
1823
  }
1824
+ .outline {
1825
+ outline-style: var(--tw-outline-style);
1826
+ outline-width: 1px;
1827
+ }
1802
1828
  .outline-0 {
1803
1829
  outline-style: var(--tw-outline-style);
1804
1830
  outline-width: 0px;
@@ -1960,16 +1986,47 @@
1960
1986
  content: var(--tw-content);
1961
1987
  }
1962
1988
  }
1989
+ .first\:rounded-l-md {
1990
+ &:first-child {
1991
+ border-top-left-radius: var(--radius-md);
1992
+ border-bottom-left-radius: var(--radius-md);
1993
+ }
1994
+ }
1963
1995
  .first\:fill-muted {
1964
1996
  &:first-child {
1965
1997
  fill: var(--color-muted);
1966
1998
  }
1967
1999
  }
2000
+ .last\:rounded-r-md {
2001
+ &:last-child {
2002
+ border-top-right-radius: var(--radius-md);
2003
+ border-bottom-right-radius: var(--radius-md);
2004
+ }
2005
+ }
1968
2006
  .last\:fill-background {
1969
2007
  &:last-child {
1970
2008
  fill: var(--color-background);
1971
2009
  }
1972
2010
  }
2011
+ .focus-within\:border-ring {
2012
+ &:focus-within {
2013
+ border-color: var(--color-ring);
2014
+ }
2015
+ }
2016
+ .focus-within\:ring-\[3px\] {
2017
+ &:focus-within {
2018
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
2019
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
2020
+ }
2021
+ }
2022
+ .focus-within\:ring-ring\/50 {
2023
+ &:focus-within {
2024
+ --tw-ring-color: var(--color-ring);
2025
+ @supports (color: color-mix(in lab, red, red)) {
2026
+ --tw-ring-color: color-mix(in oklab, var(--color-ring) 50%, transparent);
2027
+ }
2028
+ }
2029
+ }
1973
2030
  .hover\:border-primary {
1974
2031
  &:hover {
1975
2032
  @media (hover: hover) {
@@ -2141,6 +2198,11 @@
2141
2198
  }
2142
2199
  }
2143
2200
  }
2201
+ .focus\:z-10 {
2202
+ &:focus {
2203
+ z-index: 10;
2204
+ }
2205
+ }
2144
2206
  .focus\:border-primary {
2145
2207
  &:focus {
2146
2208
  border-color: var(--color-primary);
@@ -2203,6 +2265,11 @@
2203
2265
  outline-style: none;
2204
2266
  }
2205
2267
  }
2268
+ .focus-visible\:z-10 {
2269
+ &:focus-visible {
2270
+ z-index: 10;
2271
+ }
2272
+ }
2206
2273
  .focus-visible\:border-ring {
2207
2274
  &:focus-visible {
2208
2275
  border-color: var(--color-ring);
@@ -2289,6 +2356,11 @@
2289
2356
  opacity: 50%;
2290
2357
  }
2291
2358
  }
2359
+ .has-\[\>svg\]\:px-2\.5 {
2360
+ &:has(>svg) {
2361
+ padding-inline: calc(var(--spacing) * 2.5);
2362
+ }
2363
+ }
2292
2364
  .has-\[\>svg\]\:px-3 {
2293
2365
  &:has(>svg) {
2294
2366
  padding-inline: calc(var(--spacing) * 3);
@@ -2307,19 +2379,6 @@
2307
2379
  }
2308
2380
  }
2309
2381
  }
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
2382
  .data-\[disabled\]\:pointer-events-none {
2324
2383
  &[data-disabled] {
2325
2384
  pointer-events: none;
@@ -2414,6 +2473,26 @@
2414
2473
  --tw-exit-scale: .95;
2415
2474
  }
2416
2475
  }
2476
+ .data-\[state\=closed\]\:fade-out {
2477
+ &[data-state="closed"] {
2478
+ --tw-exit-opacity: 0;
2479
+ }
2480
+ }
2481
+ .data-\[state\=closed\]\:slide-out-to-right {
2482
+ &[data-state="closed"] {
2483
+ --tw-exit-translate-x: 100%;
2484
+ }
2485
+ }
2486
+ .data-\[state\=on\]\:bg-accent {
2487
+ &[data-state="on"] {
2488
+ background-color: var(--color-accent);
2489
+ }
2490
+ }
2491
+ .data-\[state\=on\]\:text-accent-foreground {
2492
+ &[data-state="on"] {
2493
+ color: var(--color-accent-foreground);
2494
+ }
2495
+ }
2417
2496
  .data-\[state\=open\]\:animate-in {
2418
2497
  &[data-state="open"] {
2419
2498
  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);
@@ -2441,6 +2520,16 @@
2441
2520
  --tw-enter-scale: .95;
2442
2521
  }
2443
2522
  }
2523
+ .data-\[state\=open\]\:fade-in {
2524
+ &[data-state="open"] {
2525
+ --tw-enter-opacity: 0;
2526
+ }
2527
+ }
2528
+ .data-\[state\=open\]\:slide-in-from-right {
2529
+ &[data-state="open"] {
2530
+ --tw-enter-translate-x: 100%;
2531
+ }
2532
+ }
2444
2533
  .data-\[state\=selected\]\:bg-muted {
2445
2534
  &[data-state="selected"] {
2446
2535
  background-color: var(--color-muted);
@@ -2474,6 +2563,26 @@
2474
2563
  }
2475
2564
  }
2476
2565
  }
2566
+ .data-\[variant\=outline\]\:border-l-0 {
2567
+ &[data-variant="outline"] {
2568
+ border-left-style: var(--tw-border-style);
2569
+ border-left-width: 0px;
2570
+ }
2571
+ }
2572
+ .data-\[variant\=outline\]\:shadow-xs {
2573
+ &[data-variant="outline"] {
2574
+ --tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));
2575
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
2576
+ }
2577
+ }
2578
+ .data-\[variant\=outline\]\:first\:border-l {
2579
+ &[data-variant="outline"] {
2580
+ &:first-child {
2581
+ border-left-style: var(--tw-border-style);
2582
+ border-left-width: 1px;
2583
+ }
2584
+ }
2585
+ }
2477
2586
  .sm\:block {
2478
2587
  @media (width >= 40rem) {
2479
2588
  display: block;
@@ -2805,6 +2914,38 @@
2805
2914
  justify-content: center;
2806
2915
  }
2807
2916
  }
2917
+ .\[\&\>\*\]\:rounded-none {
2918
+ &>* {
2919
+ border-radius: 0;
2920
+ }
2921
+ }
2922
+ .\[\&\>\*\:first-child\]\:rounded-l-md {
2923
+ &>*:first-child {
2924
+ border-top-left-radius: var(--radius-md);
2925
+ border-bottom-left-radius: var(--radius-md);
2926
+ }
2927
+ }
2928
+ .\[\&\>\*\:focus-visible\]\:z-10 {
2929
+ &>*:focus-visible {
2930
+ z-index: 10;
2931
+ }
2932
+ }
2933
+ .\[\&\>\*\:hover\]\:z-10 {
2934
+ &>*:hover {
2935
+ z-index: 10;
2936
+ }
2937
+ }
2938
+ .\[\&\>\*\:last-child\]\:rounded-r-md {
2939
+ &>*:last-child {
2940
+ border-top-right-radius: var(--radius-md);
2941
+ border-bottom-right-radius: var(--radius-md);
2942
+ }
2943
+ }
2944
+ .\[\&\>\*\:not\(\:first-child\)\]\:-ml-px {
2945
+ &>*:not(:first-child) {
2946
+ margin-left: -1px;
2947
+ }
2948
+ }
2808
2949
  .\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\] {
2809
2950
  &>[role=checkbox] {
2810
2951
  --tw-translate-y: 2px;
@@ -3291,6 +3432,24 @@
3291
3432
  background: transparent;
3292
3433
  }
3293
3434
  }
3435
+ .monaco-editor .suggest-widget, .monaco-editor-hover {
3436
+ border-radius: var(--radius-md);
3437
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
3438
+ font-family: inherit;
3439
+ }
3440
+ .monaco-editor .suggest-widget .monaco-list .monaco-list-row {
3441
+ font-family: inherit;
3442
+ padding: 2px 6px;
3443
+ }
3444
+ .nql-editor-shell .monaco-editor, .nql-editor-shell .monaco-editor .inputarea {
3445
+ font-family: inherit;
3446
+ }
3447
+ .nql-editor-shell .monaco-editor, .nql-editor-shell .monaco-editor .overflow-guard {
3448
+ background: transparent;
3449
+ border: 0;
3450
+ outline: none;
3451
+ box-shadow: none;
3452
+ }
3294
3453
  @property --tw-translate-x {
3295
3454
  syntax: "*";
3296
3455
  inherits: false;
@@ -3551,21 +3710,6 @@
3551
3710
  initial-value: "";
3552
3711
  inherits: false;
3553
3712
  }
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
3713
  @keyframes spin {
3570
3714
  to {
3571
3715
  transform: rotate(360deg);
@@ -3652,9 +3796,6 @@
3652
3796
  --tw-duration: initial;
3653
3797
  --tw-ease: initial;
3654
3798
  --tw-content: "";
3655
- --tw-scale-x: 1;
3656
- --tw-scale-y: 1;
3657
- --tw-scale-z: 1;
3658
3799
  --tw-animation-delay: 0s;
3659
3800
  --tw-animation-direction: normal;
3660
3801
  --tw-animation-duration: initial;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nubase/frontend",
3
- "version": "0.1.35",
3
+ "version": "0.1.37",
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.4"
47
+ "react": "^19.2.5"
50
48
  },
51
49
  "devDependencies": {
52
50
  "@faker-js/faker": "^10.3.0",
53
- "@storybook/addon-docs": "^10.2.17",
54
- "@storybook/addon-onboarding": "^10.2.17",
55
- "@storybook/addon-themes": "^10.2.17",
56
- "@storybook/react-vite": "^10.2.17",
57
- "@tailwindcss/cli": "^4.2.1",
58
- "@tailwindcss/postcss": "^4.2.1",
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": "^5.1.4",
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.2.17",
68
- "tailwindcss": "^4.2.1",
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": "^7.3.1",
73
- "vitest": "^4.0.18"
70
+ "vite": "^8.0.10",
71
+ "vitest": "^4.1.5"
74
72
  },
75
73
  "dependencies": {
76
- "@biomejs/biome": "^2.4.6",
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.1",
90
- "@tailwindcss/postcss": "^4.2.1",
91
- "@tanstack/react-form": "^1.28.4",
92
- "@tanstack/react-query": "^5.90.21",
93
- "@tanstack/react-router": "^1.166.6",
94
- "@tanstack/react-router-devtools": "^1.166.6",
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.55.1",
101
+ "monaco-editor": "^0.52.2",
102
102
  "monaco-spellchecker": "^0.6.0",
103
103
  "postcss": "^8.5.8",
104
- "react-dom": "^19.2.4",
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.1",
110
+ "tailwindcss": "^4.2.4",
111
111
  "typo-js": "^1.3.1",
112
112
  "zod": "^4.3.6"
113
113
  }