@neoptocom/neopto-ui 0.3.0 → 0.4.1
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.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/styles.css +15 -11
- package/package.json +2 -3
package/dist/index.cjs
CHANGED
|
@@ -825,7 +825,7 @@ function Chip({
|
|
|
825
825
|
label,
|
|
826
826
|
...props
|
|
827
827
|
}) {
|
|
828
|
-
const base = "inline-flex w-fit items-center justify-center gap-1 whitespace-nowrap overflow-hidden rounded-full h-6 px-2 text-xs font-semibold
|
|
828
|
+
const base = "inline-flex w-fit items-center justify-center gap-1 whitespace-nowrap overflow-hidden rounded-full h-6 px-2 text-xs font-semibold";
|
|
829
829
|
const variantCls = {
|
|
830
830
|
warning: "bg-[var(--warning)] text-white",
|
|
831
831
|
success: "bg-[var(--success)] text-white",
|
package/dist/index.js
CHANGED
|
@@ -804,7 +804,7 @@ function Chip({
|
|
|
804
804
|
label,
|
|
805
805
|
...props
|
|
806
806
|
}) {
|
|
807
|
-
const base = "inline-flex w-fit items-center justify-center gap-1 whitespace-nowrap overflow-hidden rounded-full h-6 px-2 text-xs font-semibold
|
|
807
|
+
const base = "inline-flex w-fit items-center justify-center gap-1 whitespace-nowrap overflow-hidden rounded-full h-6 px-2 text-xs font-semibold";
|
|
808
808
|
const variantCls = {
|
|
809
809
|
warning: "bg-[var(--warning)] text-white",
|
|
810
810
|
success: "bg-[var(--success)] text-white",
|
package/dist/styles.css
CHANGED
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
* See: https://github.com/neoptocom/neopto-ui#installation
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
/*
|
|
17
|
+
/* Design Tokens - Manually maintained */
|
|
18
|
+
|
|
18
19
|
@theme {
|
|
19
20
|
--font-display: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
|
|
20
21
|
--font-body: 'Roboto', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
|
|
@@ -57,6 +58,18 @@
|
|
|
57
58
|
--warning: #D79C2C;
|
|
58
59
|
--destructive: #E03737;
|
|
59
60
|
--info: #0E91B2;
|
|
61
|
+
|
|
62
|
+
/* Shadows */
|
|
63
|
+
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
64
|
+
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.10), 0 2px 4px -2px rgb(0 0 0 / 0.10);
|
|
65
|
+
|
|
66
|
+
/* Motion */
|
|
67
|
+
--motion-fast: 150ms;
|
|
68
|
+
--motion-base: 200ms;
|
|
69
|
+
--easing-standard: cubic-bezier(0.2, 0.0, 0, 1);
|
|
70
|
+
|
|
71
|
+
/* Component-specific */
|
|
72
|
+
--chat-button-gradient: linear-gradient(to bottom, #FFF, #D4D4D4);
|
|
60
73
|
}
|
|
61
74
|
|
|
62
75
|
.dark {
|
|
@@ -71,18 +84,9 @@
|
|
|
71
84
|
--warning: #CEB25E;
|
|
72
85
|
--destructive: #CE645E;
|
|
73
86
|
--info: #5ABDCC;
|
|
87
|
+
--chat-button-gradient: linear-gradient(to bottom, #1A3645, #040404);
|
|
74
88
|
}
|
|
75
89
|
|
|
76
|
-
:root {
|
|
77
|
-
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
78
|
-
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.10), 0 2px 4px -2px rgb(0 0 0 / 0.10);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
:root {
|
|
82
|
-
--motion-fast: 150ms;
|
|
83
|
-
--motion-base: 200ms;
|
|
84
|
-
--easing-standard: cubic-bezier(0.2, 0.0, 0, 1);
|
|
85
|
-
}
|
|
86
90
|
|
|
87
91
|
/* Material Symbols Font */
|
|
88
92
|
@font-face {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neoptocom/neopto-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A modern React component library built with Tailwind CSS v4 and TypeScript. Features dark mode, design tokens, and comprehensive Storybook documentation. Requires Tailwind v4+.",
|
|
6
6
|
"keywords": [
|
|
@@ -43,8 +43,7 @@
|
|
|
43
43
|
],
|
|
44
44
|
"scripts": {
|
|
45
45
|
"dev": "vite",
|
|
46
|
-
"build
|
|
47
|
-
"build": "npm run build:tokens && tsup && npm run build:css",
|
|
46
|
+
"build": "tsup && npm run build:css",
|
|
48
47
|
"build:css": "node scripts/build-css.mjs",
|
|
49
48
|
"typecheck": "tsc --noEmit",
|
|
50
49
|
"storybook": "storybook dev -p 6006",
|