@nattstack/ui 0.0.1 → 0.0.2

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 (58) hide show
  1. package/dist/colors/index.css +3 -0
  2. package/dist/colors/root-p3.css +904 -0
  3. package/dist/colors/root.css +906 -0
  4. package/dist/components/dialog-responsive-backdrop.module-UZSAJFQZ.module.css +28 -0
  5. package/dist/components/dialog-responsive-bar.module-QCLP4IUN.module.css +14 -0
  6. package/dist/components/dialog-responsive-content.module-NBSLRMHN.module.css +11 -0
  7. package/dist/components/dialog-responsive-popup.module-T3GCUCPZ.module.css +57 -0
  8. package/dist/components/dialog-responsive-portal.module-YFVKMKVT.module.css +5 -0
  9. package/dist/components/dialog-responsive-viewport.module-LT7MZPLD.module.css +16 -0
  10. package/dist/{index.d.ts → components/index.d.ts} +19 -2
  11. package/dist/{index.js → components/index.js} +258 -97
  12. package/dist/tailwind-colors/color.css +88 -0
  13. package/dist/tailwind-colors/gray.css +335 -0
  14. package/dist/tailwind-colors/index.css +6 -0
  15. package/dist/tailwind-colors/primary.css +1399 -0
  16. package/dist/tailwind-tokenless/10/container.css +16 -0
  17. package/dist/tailwind-tokenless/10/index.css +19 -0
  18. package/dist/tailwind-tokenless/10/radius.css +12 -0
  19. package/dist/tailwind-tokenless/10/spacing.css +38 -0
  20. package/dist/tailwind-tokenless/10/text.css +20 -0
  21. package/dist/tailwind-tokenless/16/container.css +16 -0
  22. package/dist/tailwind-tokenless/16/index.css +19 -0
  23. package/dist/tailwind-tokenless/16/radius.css +12 -0
  24. package/dist/tailwind-tokenless/16/spacing.css +38 -0
  25. package/dist/tailwind-tokenless/16/text.css +20 -0
  26. package/dist/tailwind-tokenless/aspect.css +7 -0
  27. package/dist/tailwind-tokenless/blur.css +11 -0
  28. package/dist/tailwind-tokenless/breakpoint.css +10 -0
  29. package/dist/tailwind-tokenless/drop-shadow.css +10 -0
  30. package/dist/tailwind-tokenless/font-weight.css +12 -0
  31. package/dist/tailwind-tokenless/inset-shadow.css +6 -0
  32. package/dist/tailwind-tokenless/leading.css +9 -0
  33. package/dist/tailwind-tokenless/perspective-dramatic.css +9 -0
  34. package/dist/tailwind-tokenless/shadow.css +11 -0
  35. package/dist/tailwind-tokenless/text-shadow.css +12 -0
  36. package/dist/tailwind-tokenless/tracking.css +7 -0
  37. package/package.json +11 -10
  38. /package/dist/{button-spinner.module-T3OGVJS4.module.css → components/button-spinner.module-T3OGVJS4.module.css} +0 -0
  39. /package/dist/{button.module-77AJOXGM.module.css → components/button.module-77AJOXGM.module.css} +0 -0
  40. /package/dist/{column.module-A7QCVPFC.module.css → components/column.module-A7QCVPFC.module.css} +0 -0
  41. /package/dist/{input.module-DOM3NIU5.module.css → components/input.module-DOM3NIU5.module.css} +0 -0
  42. /package/dist/{label.module-HUBUIUFV.module.css → components/label.module-HUBUIUFV.module.css} +0 -0
  43. /package/dist/{row.module-GYNANRAY.module.css → components/row.module-GYNANRAY.module.css} +0 -0
  44. /package/dist/{spacer.module-ZYYYWYEB.module.css → components/spacer.module-ZYYYWYEB.module.css} +0 -0
  45. /package/dist/{switch.module-TLJBHCSA.module.css → components/switch.module-TLJBHCSA.module.css} +0 -0
  46. /package/dist/{tabs-panel.module-VGH3G3KV.module.css → components/tabs-panel.module-VGH3G3KV.module.css} +0 -0
  47. /package/dist/{tabs-pill-indicator.module-533HMO7L.module.css → components/tabs-pill-indicator.module-533HMO7L.module.css} +0 -0
  48. /package/dist/{tabs-pill-list.module-KQW67ZSW.module.css → components/tabs-pill-list.module-KQW67ZSW.module.css} +0 -0
  49. /package/dist/{tabs-pill-tab.module-M5YIWTWX.module.css → components/tabs-pill-tab.module-M5YIWTWX.module.css} +0 -0
  50. /package/dist/{tabs-segmented-indicator.module-MB5GZJGW.module.css → components/tabs-segmented-indicator.module-MB5GZJGW.module.css} +0 -0
  51. /package/dist/{tabs-segmented-list.module-I3DSVFSP.module.css → components/tabs-segmented-list.module-I3DSVFSP.module.css} +0 -0
  52. /package/dist/{tabs-segmented-tab.module-GFCOY63Z.module.css → components/tabs-segmented-tab.module-GFCOY63Z.module.css} +0 -0
  53. /package/dist/{tabs-underline-indicator.module-6SHQHUH5.module.css → components/tabs-underline-indicator.module-6SHQHUH5.module.css} +0 -0
  54. /package/dist/{tabs-underline-list.module-72ZCIEAS.module.css → components/tabs-underline-list.module-72ZCIEAS.module.css} +0 -0
  55. /package/dist/{tabs-underline-tab.module-YGSM4IUK.module.css → components/tabs-underline-tab.module-YGSM4IUK.module.css} +0 -0
  56. /package/dist/{tabs.module-3Z5DRPPX.module.css → components/tabs.module-3Z5DRPPX.module.css} +0 -0
  57. /package/dist/{textarea.module-6GUVSFC7.module.css → components/textarea.module-6GUVSFC7.module.css} +0 -0
  58. /package/dist/{tooltip-content.module-5MWTMSBY.module.css → components/tooltip-content.module-5MWTMSBY.module.css} +0 -0
@@ -0,0 +1,16 @@
1
+ @theme {
2
+ --container-\*: initial;
3
+ --container-256: 25.6rem;
4
+ --container-288: 28.8rem;
5
+ --container-320: 32rem;
6
+ --container-384: 38.4rem;
7
+ --container-448: 44.8rem;
8
+ --container-512: 51.2rem;
9
+ --container-576: 57.6rem;
10
+ --container-672: 67.2rem;
11
+ --container-768: 76.8rem;
12
+ --container-896: 89.6rem;
13
+ --container-1024: 102.4rem;
14
+ --container-1152: 115.2rem;
15
+ --container-1280: 128rem;
16
+ }
@@ -0,0 +1,19 @@
1
+ @import "../aspect.css";
2
+ @import "../blur.css";
3
+ @import "../breakpoint.css";
4
+ @import "../drop-shadow.css";
5
+ @import "../font-weight.css";
6
+ @import "../inset-shadow.css";
7
+ @import "../leading.css";
8
+ @import "../perspective-dramatic.css";
9
+ @import "../shadow.css";
10
+ @import "../text-shadow.css";
11
+ @import "../tracking.css";
12
+ @import "./container.css";
13
+ @import "./radius.css";
14
+ @import "./spacing.css";
15
+ @import "./text.css";
16
+
17
+ html {
18
+ font-size: 10px;
19
+ }
@@ -0,0 +1,12 @@
1
+ @theme {
2
+ --radius-\*: initial;
3
+ --radius-0: 0rem;
4
+ --radius-2: 0.2rem;
5
+ --radius-4: 0.4rem;
6
+ --radius-6: 0.6rem;
7
+ --radius-8: 0.8rem;
8
+ --radius-10: 1rem;
9
+ --radius-12: 1.2rem;
10
+ --radius-16: 1.6rem;
11
+ --radius-20: 2rem;
12
+ }
@@ -0,0 +1,38 @@
1
+ @theme {
2
+ --spacing-\*: initial;
3
+ --spacing-0: 0rem;
4
+ --spacing-1: 0.1rem;
5
+ --spacing-2: 0.2rem;
6
+ --spacing-4: 0.4rem;
7
+ --spacing-6: 0.6rem;
8
+ --spacing-8: 0.8rem;
9
+ --spacing-10: 1rem;
10
+ --spacing-12: 1.2rem;
11
+ --spacing-14: 1.4rem;
12
+ --spacing-16: 1.6rem;
13
+ --spacing-20: 2rem;
14
+ --spacing-24: 2.4rem;
15
+ --spacing-28: 2.8rem;
16
+ --spacing-32: 3.2rem;
17
+ --spacing-36: 3.6rem;
18
+ --spacing-40: 4rem;
19
+ --spacing-44: 4.4rem;
20
+ --spacing-48: 4.8rem;
21
+ --spacing-56: 5.6rem;
22
+ --spacing-64: 6.4rem;
23
+ --spacing-80: 8rem;
24
+ --spacing-96: 9.6rem;
25
+ --spacing-112: 11.2rem;
26
+ --spacing-128: 12.8rem;
27
+ --spacing-144: 14.4rem;
28
+ --spacing-160: 16rem;
29
+ --spacing-176: 17.6rem;
30
+ --spacing-192: 19.2rem;
31
+ --spacing-208: 20.8rem;
32
+ --spacing-224: 22.4rem;
33
+ --spacing-240: 24rem;
34
+ --spacing-256: 25.6rem;
35
+ --spacing-288: 28.8rem;
36
+ --spacing-320: 32rem;
37
+ --spacing-384: 38.4rem;
38
+ }
@@ -0,0 +1,20 @@
1
+ @theme {
2
+ --text-\*: initial;
3
+ --text-12: 1.2rem;
4
+ --text-14: 1.4rem;
5
+ --text-16: 1.6rem;
6
+ --text-18: 1.8rem;
7
+ --text-20: 2rem;
8
+ --text-24: 2.4rem;
9
+ --text-30: 3rem;
10
+ --text-36: 3.6rem;
11
+ --text-48: 4.8rem;
12
+ --text-60: 6rem;
13
+ --text-72: 7.2rem;
14
+ --text-96: 9.6rem;
15
+ --text-128: 12.8rem;
16
+
17
+ /* Custom */
18
+ --text-13: 1.3rem;
19
+ --text-15: 1.5rem;
20
+ }
@@ -0,0 +1,16 @@
1
+ @theme {
2
+ --container-\*: initial;
3
+ --container-256: 16rem;
4
+ --container-288: 18rem;
5
+ --container-320: 20rem;
6
+ --container-384: 24rem;
7
+ --container-448: 28rem;
8
+ --container-512: 32rem;
9
+ --container-576: 36rem;
10
+ --container-672: 42rem;
11
+ --container-768: 48rem;
12
+ --container-896: 56rem;
13
+ --container-1024: 64rem;
14
+ --container-1152: 72rem;
15
+ --container-1280: 80rem;
16
+ }
@@ -0,0 +1,19 @@
1
+ @import "../aspect.css";
2
+ @import "../blur.css";
3
+ @import "../breakpoint.css";
4
+ @import "../drop-shadow.css";
5
+ @import "../font-weight.css";
6
+ @import "../inset-shadow.css";
7
+ @import "../leading.css";
8
+ @import "../perspective-dramatic.css";
9
+ @import "../shadow.css";
10
+ @import "../text-shadow.css";
11
+ @import "../tracking.css";
12
+ @import "./container.css";
13
+ @import "./radius.css";
14
+ @import "./spacing.css";
15
+ @import "./text.css";
16
+
17
+ html {
18
+ font-size: 16px;
19
+ }
@@ -0,0 +1,12 @@
1
+ @theme {
2
+ --radius-\*: initial;
3
+ --radius-0: 0rem;
4
+ --radius-2: 0.125rem;
5
+ --radius-4: 0.25rem;
6
+ --radius-6: 0.375rem;
7
+ --radius-8: 0.5rem;
8
+ --radius-10: 0.625rem;
9
+ --radius-12: 0.75rem;
10
+ --radius-16: 1rem;
11
+ --radius-20: 1.25rem;
12
+ }
@@ -0,0 +1,38 @@
1
+ @theme {
2
+ --spacing-\*: initial;
3
+ --spacing-0: 0rem;
4
+ --spacing-1: 0.0625rem;
5
+ --spacing-2: 0.125rem;
6
+ --spacing-4: 0.25rem;
7
+ --spacing-6: 0.375rem;
8
+ --spacing-8: 0.5rem;
9
+ --spacing-10: 0.625rem;
10
+ --spacing-12: 0.75rem;
11
+ --spacing-14: 0.875rem;
12
+ --spacing-16: 1rem;
13
+ --spacing-20: 1.25rem;
14
+ --spacing-24: 1.5rem;
15
+ --spacing-28: 1.75rem;
16
+ --spacing-32: 2rem;
17
+ --spacing-36: 2.25rem;
18
+ --spacing-40: 2.5rem;
19
+ --spacing-44: 2.75rem;
20
+ --spacing-48: 3rem;
21
+ --spacing-56: 3.5rem;
22
+ --spacing-64: 4rem;
23
+ --spacing-80: 5rem;
24
+ --spacing-96: 6rem;
25
+ --spacing-112: 7rem;
26
+ --spacing-128: 8rem;
27
+ --spacing-144: 9rem;
28
+ --spacing-160: 10rem;
29
+ --spacing-176: 11rem;
30
+ --spacing-192: 12rem;
31
+ --spacing-208: 13rem;
32
+ --spacing-224: 14rem;
33
+ --spacing-240: 15rem;
34
+ --spacing-256: 16rem;
35
+ --spacing-288: 18rem;
36
+ --spacing-320: 20rem;
37
+ --spacing-384: 24rem;
38
+ }
@@ -0,0 +1,20 @@
1
+ @theme {
2
+ --text-\*: initial;
3
+ --text-12: 0.75rem;
4
+ --text-14: 0.875rem;
5
+ --text-16: 1rem;
6
+ --text-18: 1.125rem;
7
+ --text-20: 1.25rem;
8
+ --text-24: 1.5rem;
9
+ --text-30: 1.875rem;
10
+ --text-36: 2.25rem;
11
+ --text-48: 3rem;
12
+ --text-60: 3.75rem;
13
+ --text-72: 4.5rem;
14
+ --text-96: 6rem;
15
+ --text-128: 8rem;
16
+
17
+ /* Custom */
18
+ --text-13: 0.8125rem;
19
+ --text-15: 0.9375rem;
20
+ }
@@ -0,0 +1,7 @@
1
+ @theme {
2
+ --aspect-\*: initial;
3
+ --aspect-1-1: 1 / 1;
4
+ --aspect-4-3: 4 / 3;
5
+ --aspect-3-2: 3 / 2;
6
+ --aspect-16-9: 16 / 9;
7
+ }
@@ -0,0 +1,11 @@
1
+ @theme {
2
+ --blur-\*: initial;
3
+ --blur-0: 0px;
4
+ --blur-4: 4px;
5
+ --blur-8: 8px;
6
+ --blur-12: 12px;
7
+ --blur-16: 16px;
8
+ --blur-24: 24px;
9
+ --blur-40: 40px;
10
+ --blur-64: 64px;
11
+ }
@@ -0,0 +1,10 @@
1
+ @theme {
2
+ --breakpoint-\*: initial;
3
+ --breakpoint-320: 320px;
4
+ --breakpoint-480: 480px;
5
+ --breakpoint-640: 640px;
6
+ --breakpoint-768: 768px;
7
+ --breakpoint-1024: 1024px;
8
+ --breakpoint-1280: 1280px;
9
+ --breakpoint-1400: 1400px;
10
+ }
@@ -0,0 +1,10 @@
1
+ @theme {
2
+ --drop-shadow-\*: initial;
3
+ --drop-shadow-0: 0 0 #000000;
4
+ --drop-shadow-1: 0 1px 1px rgb(0 0 0 / 0.05);
5
+ --drop-shadow-2: 0 1px 2px rgb(0 0 0 / 0.15);
6
+ --drop-shadow-3: 0 3px 3px rgb(0 0 0 / 0.12);
7
+ --drop-shadow-4: 0 4px 4px rgb(0 0 0 / 0.15);
8
+ --drop-shadow-5: 0 9px 7px rgb(0 0 0 / 0.1);
9
+ --drop-shadow-6: 0 25px 25px rgb(0 0 0 / 0.15);
10
+ }
@@ -0,0 +1,12 @@
1
+ @theme {
2
+ --font-weight-\*: initial;
3
+ --font-weight-100: 100;
4
+ --font-weight-200: 200;
5
+ --font-weight-300: 300;
6
+ --font-weight-400: 400;
7
+ --font-weight-500: 500;
8
+ --font-weight-600: 600;
9
+ --font-weight-700: 700;
10
+ --font-weight-800: 800;
11
+ --font-weight-900: 900;
12
+ }
@@ -0,0 +1,6 @@
1
+ @theme {
2
+ --inset-shadow-\*: initial;
3
+ --inset-shadow-1: inset 0 1px rgb(0 0 0 / 0.05);
4
+ --inset-shadow-2: inset 0 1px 1px rgb(0 0 0 / 0.05);
5
+ --inset-shadow-3: inset 0 2px 4px rgb(0 0 0 / 0.05);
6
+ }
@@ -0,0 +1,9 @@
1
+ @theme {
2
+ --leading-\*: initial;
3
+ --leading-1: 1;
4
+ --leading-1-25: 1.25;
5
+ --leading-1-375: 1.375;
6
+ --leading-1-5: 1.5;
7
+ --leading-1-625: 1.625;
8
+ --leading-2: 2;
9
+ }
@@ -0,0 +1,9 @@
1
+ @theme {
2
+ --perspective-\*: initial;
3
+ --perspective-0: 0px;
4
+ --perspective-100: 100px;
5
+ --perspective-300: 300px;
6
+ --perspective-500: 500px;
7
+ --perspective-800: 800px;
8
+ --perspective-1200: 1200px;
9
+ }
@@ -0,0 +1,11 @@
1
+ @theme {
2
+ --shadow-\*: initial;
3
+ --shadow-0: 0 0 #0000;
4
+ --shadow-1: 0 1px rgb(0 0 0 / 0.05);
5
+ --shadow-2: 0 1px 2px 0 rgb(0 0 0 / 0.05);
6
+ --shadow-3: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
7
+ --shadow-4: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
8
+ --shadow-5: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
9
+ --shadow-6: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
10
+ --shadow-7: 0 25px 50px -12px rgb(0 0 0 / 0.25);
11
+ }
@@ -0,0 +1,12 @@
1
+ @theme {
2
+ --text-shadow-\*: initial;
3
+ --text-shadow-0: none;
4
+ --text-shadow-1: 0px 1px 0px rgb(0 0 0 / 0.15);
5
+ --text-shadow-2: 0px 1px 1px rgb(0 0 0 / 0.2);
6
+ --text-shadow-3:
7
+ 0px 1px 0px rgb(0 0 0 / 0.075), 0px 1px 1px rgb(0 0 0 / 0.075), 0px 2px 2px rgb(0 0 0 / 0.075);
8
+ --text-shadow-4:
9
+ 0px 1px 1px rgb(0 0 0 / 0.1), 0px 1px 2px rgb(0 0 0 / 0.1), 0px 2px 4px rgb(0 0 0 / 0.1);
10
+ --text-shadow-5:
11
+ 0px 1px 2px rgb(0 0 0 / 0.1), 0px 3px 2px rgb(0 0 0 / 0.1), 0px 4px 8px rgb(0 0 0 / 0.1);
12
+ }
@@ -0,0 +1,7 @@
1
+ @theme {
2
+ --tracking-\*: initial;
3
+ --tracking-p0: 0em;
4
+ --tracking-p0025: 0.025em;
5
+ --tracking-p005: 0.05em;
6
+ --tracking-p01: 0.1em;
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nattstack/ui",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "A collection of reusable React components built with Base UI, TypeScript, and CSS Modules",
5
5
  "keywords": [
6
6
  "components",
@@ -20,18 +20,18 @@
20
20
  "dist"
21
21
  ],
22
22
  "type": "module",
23
- "main": "./dist/index.js",
24
- "module": "./dist/index.js",
25
- "types": "./dist/index.d.ts",
23
+ "main": "./dist/components/index.js",
24
+ "module": "./dist/components/index.js",
25
+ "types": "./dist/components/index.d.ts",
26
26
  "exports": {
27
27
  ".": {
28
- "types": "./dist/index.d.ts",
29
- "import": "./dist/index.js"
28
+ "types": "./dist/components/index.d.ts",
29
+ "import": "./dist/components/index.js"
30
30
  },
31
- "./colors": "./src/colors/index.css",
32
- "./tailwind-colors": "./src/tailwind-colors/index.css",
33
- "./tailwind-tokenless-10": "./src/tailwind-tokenless/10/index.css",
34
- "./tailwind-tokenless-16": "./src/tailwind-tokenless/16/index.css"
31
+ "./colors": "./dist/colors/index.css",
32
+ "./tailwind-colors": "./dist/tailwind-colors/index.css",
33
+ "./tailwind-tokenless-10": "./dist/tailwind-tokenless/10/index.css",
34
+ "./tailwind-tokenless-16": "./dist/tailwind-tokenless/16/index.css"
35
35
  },
36
36
  "publishConfig": {
37
37
  "access": "public"
@@ -47,6 +47,7 @@
47
47
  "@base-ui/react": "1.3.0"
48
48
  },
49
49
  "devDependencies": {
50
+ "@types/bun": "1.3.11",
50
51
  "@types/react": "19.2.14",
51
52
  "tsup": "8.5.1",
52
53
  "typescript": "5.9.3"