@nattstack/ui 0.0.1 → 0.0.3
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/colors/index.css +3 -0
- package/dist/colors/root-p3.css +904 -0
- package/dist/colors/root.css +906 -0
- package/dist/{button.module-77AJOXGM.module.css → components/button.module-EYMY7VLZ.module.css} +14 -7
- package/dist/components/dialog-responsive-backdrop.module-O336AARV.module.css +27 -0
- package/dist/components/dialog-responsive-bar.module-QCLP4IUN.module.css +14 -0
- package/dist/components/dialog-responsive-popup.module-BOEQIHJ7.module.css +58 -0
- package/dist/components/dialog-responsive-portal.module-YFVKMKVT.module.css +5 -0
- package/dist/components/dialog-responsive-viewport.module-LT7MZPLD.module.css +16 -0
- package/dist/{index.d.ts → components/index.d.ts} +33 -17
- package/dist/{index.js → components/index.js} +244 -99
- package/dist/{tabs-pill-tab.module-M5YIWTWX.module.css → components/tabs-pill-tab.module-2F7LOGXE.module.css} +7 -0
- package/dist/{tabs-segmented-indicator.module-MB5GZJGW.module.css → components/tabs-segmented-indicator.module-EG56DHS2.module.css} +1 -1
- package/dist/{tabs-segmented-tab.module-GFCOY63Z.module.css → components/tabs-segmented-tab.module-SVYVEM2O.module.css} +7 -0
- package/dist/{tabs-underline-tab.module-YGSM4IUK.module.css → components/tabs-underline-tab.module-OAE4JH7K.module.css} +7 -0
- package/dist/{textarea.module-6GUVSFC7.module.css → components/textarea.module-LK25MKCZ.module.css} +2 -1
- package/dist/tailwind-colors/color.css +88 -0
- package/dist/tailwind-colors/gray.css +335 -0
- package/dist/tailwind-colors/index.css +6 -0
- package/dist/tailwind-colors/primary.css +1399 -0
- package/dist/tailwind-tokenless/10/container.css +16 -0
- package/dist/tailwind-tokenless/10/index.css +19 -0
- package/dist/tailwind-tokenless/10/radius.css +12 -0
- package/dist/tailwind-tokenless/10/spacing.css +38 -0
- package/dist/tailwind-tokenless/10/text.css +20 -0
- package/dist/tailwind-tokenless/16/container.css +16 -0
- package/dist/tailwind-tokenless/16/index.css +19 -0
- package/dist/tailwind-tokenless/16/radius.css +12 -0
- package/dist/tailwind-tokenless/16/spacing.css +38 -0
- package/dist/tailwind-tokenless/16/text.css +20 -0
- package/dist/tailwind-tokenless/aspect.css +7 -0
- package/dist/tailwind-tokenless/blur.css +11 -0
- package/dist/tailwind-tokenless/breakpoint.css +10 -0
- package/dist/tailwind-tokenless/drop-shadow.css +10 -0
- package/dist/tailwind-tokenless/font-weight.css +12 -0
- package/dist/tailwind-tokenless/inset-shadow.css +6 -0
- package/dist/tailwind-tokenless/leading.css +9 -0
- package/dist/tailwind-tokenless/perspective-dramatic.css +9 -0
- package/dist/tailwind-tokenless/shadow.css +11 -0
- package/dist/tailwind-tokenless/text-shadow.css +12 -0
- package/dist/tailwind-tokenless/tracking.css +7 -0
- package/package.json +11 -10
- /package/dist/{button-spinner.module-T3OGVJS4.module.css → components/button-spinner.module-T3OGVJS4.module.css} +0 -0
- /package/dist/{column.module-A7QCVPFC.module.css → components/column.module-A7QCVPFC.module.css} +0 -0
- /package/dist/{input.module-DOM3NIU5.module.css → components/input.module-DOM3NIU5.module.css} +0 -0
- /package/dist/{label.module-HUBUIUFV.module.css → components/label.module-HUBUIUFV.module.css} +0 -0
- /package/dist/{row.module-GYNANRAY.module.css → components/row.module-GYNANRAY.module.css} +0 -0
- /package/dist/{spacer.module-ZYYYWYEB.module.css → components/spacer.module-ZYYYWYEB.module.css} +0 -0
- /package/dist/{switch.module-TLJBHCSA.module.css → components/switch.module-TLJBHCSA.module.css} +0 -0
- /package/dist/{tabs-panel.module-VGH3G3KV.module.css → components/tabs-panel.module-VGH3G3KV.module.css} +0 -0
- /package/dist/{tabs-pill-indicator.module-533HMO7L.module.css → components/tabs-pill-indicator.module-533HMO7L.module.css} +0 -0
- /package/dist/{tabs-pill-list.module-KQW67ZSW.module.css → components/tabs-pill-list.module-KQW67ZSW.module.css} +0 -0
- /package/dist/{tabs-segmented-list.module-I3DSVFSP.module.css → components/tabs-segmented-list.module-I3DSVFSP.module.css} +0 -0
- /package/dist/{tabs-underline-indicator.module-6SHQHUH5.module.css → components/tabs-underline-indicator.module-6SHQHUH5.module.css} +0 -0
- /package/dist/{tabs-underline-list.module-72ZCIEAS.module.css → components/tabs-underline-list.module-72ZCIEAS.module.css} +0 -0
- /package/dist/{tabs.module-3Z5DRPPX.module.css → components/tabs.module-3Z5DRPPX.module.css} +0 -0
- /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,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,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,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,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
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nattstack/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
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": "./
|
|
32
|
-
"./tailwind-colors": "./
|
|
33
|
-
"./tailwind-tokenless-10": "./
|
|
34
|
-
"./tailwind-tokenless-16": "./
|
|
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"
|
|
File without changes
|
/package/dist/{column.module-A7QCVPFC.module.css → components/column.module-A7QCVPFC.module.css}
RENAMED
|
File without changes
|
/package/dist/{input.module-DOM3NIU5.module.css → components/input.module-DOM3NIU5.module.css}
RENAMED
|
File without changes
|
/package/dist/{label.module-HUBUIUFV.module.css → components/label.module-HUBUIUFV.module.css}
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/{spacer.module-ZYYYWYEB.module.css → components/spacer.module-ZYYYWYEB.module.css}
RENAMED
|
File without changes
|
/package/dist/{switch.module-TLJBHCSA.module.css → components/switch.module-TLJBHCSA.module.css}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{tabs.module-3Z5DRPPX.module.css → components/tabs.module-3Z5DRPPX.module.css}
RENAMED
|
File without changes
|
|
File without changes
|