@hirely/ui 0.1.9 → 1.0.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.
Files changed (2) hide show
  1. package/package.json +26 -21
  2. package/src/index.css +0 -131
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hirely/ui",
3
- "version": "0.1.9",
3
+ "version": "1.0.1",
4
4
  "description": "Hirely UI — a production-ready React component library built on Base UI and Tailwind CSS v4.",
5
5
  "keywords": [
6
6
  "react",
@@ -18,11 +18,14 @@
18
18
  "node": ">=18"
19
19
  },
20
20
  "type": "module",
21
- "sideEffects": false,
21
+ "sideEffects": [
22
+ "**/*.css"
23
+ ],
22
24
  "files": [
23
25
  "dist",
24
- "src/index.css",
25
- "README.md"
26
+ "README.md",
27
+ "LICENSE",
28
+ "package.json"
26
29
  ],
27
30
  "main": "./dist/index.js",
28
31
  "module": "./dist/index.js",
@@ -33,7 +36,7 @@
33
36
  "import": "./dist/index.js"
34
37
  },
35
38
  "./styles.css": {
36
- "default": "./src/index.css"
39
+ "default": "./dist/styles.css"
37
40
  },
38
41
  "./accordion": {
39
42
  "types": "./dist/components/ui/accordion.d.ts",
@@ -326,7 +329,10 @@
326
329
  "build": "bun scripts/gen-exports.ts && vite build",
327
330
  "lint": "oxlint",
328
331
  "preview": "vite preview",
329
- "typecheck": "tsc --noEmit"
332
+ "typecheck": "tsc --noEmit",
333
+ "audit:check": "bash scripts/audit.sh check",
334
+ "audit:signatures": "bash scripts/audit.sh signatures",
335
+ "prepublishOnly": "bun run build && bun run audit:check && bun run audit:signatures"
330
336
  },
331
337
  "dependencies": {
332
338
  "@base-ui/react": "^1.6.0",
@@ -340,19 +346,19 @@
340
346
  "react-resizable-panels": "^4.12.1"
341
347
  },
342
348
  "peerDependencies": {
343
- "@fontsource-variable/geist": ">=5.0.0",
344
- "@fontsource/poppins": ">=5.0.0",
345
- "@shadcn/react": ">=0.2.0",
346
- "date-fns": ">=3.0.0",
347
- "lucide-react": ">=1.24.0",
348
- "motion": ">=12.0.0",
349
- "next-themes": ">=0.4.0",
350
- "react": ">=19.0.0",
351
- "react-day-picker": ">=10.0.0",
352
- "react-dom": ">=19.0.0",
353
- "recharts": ">=3.0.0",
354
- "sonner": ">=2.0.0",
355
- "tailwindcss": ">=4.0.0"
349
+ "@fontsource-variable/geist": ">=5.0.0 <6.0.0",
350
+ "@fontsource/poppins": ">=5.0.0 <6.0.0",
351
+ "@shadcn/react": ">=0.2.0 <0.3.0",
352
+ "date-fns": ">=3.0.0 <5.0.0",
353
+ "lucide-react": ">=0.400.0 <0.401.0",
354
+ "motion": ">=11.0.0 <12.0.0",
355
+ "next-themes": ">=0.4.0 <0.6.0",
356
+ "react": ">=18.0.0 <20.0.0",
357
+ "react-day-picker": ">=10.0.0 <11.0.0",
358
+ "react-dom": ">=18.0.0 <20.0.0",
359
+ "recharts": ">=3.0.0 <4.0.0",
360
+ "sonner": ">=2.0.0 <3.0.0",
361
+ "tailwindcss": ">=4.0.0 <5.0.0"
356
362
  },
357
363
  "peerDependenciesMeta": {
358
364
  "@fontsource-variable/geist": {
@@ -404,7 +410,6 @@
404
410
  "tw-animate-css": "^1.4.0",
405
411
  "typescript": "~6.0.2",
406
412
  "vite": "^8.1.1",
407
- "vite-plugin-dts": "^5.0.3",
408
- "vite-tsconfig-paths": "^6.1.1"
413
+ "vite-plugin-dts": "^5.0.3"
409
414
  }
410
415
  }
package/src/index.css DELETED
@@ -1,131 +0,0 @@
1
- @import "tailwindcss";
2
- @import "tw-animate-css";
3
- @import "shadcn/tailwind.css";
4
- @import "@fontsource/poppins";
5
-
6
- @custom-variant dark (&:is(.dark *));
7
-
8
- @theme inline {
9
- --font-sans: "Poppins", sans-serif;
10
- --font-heading: var(--font-sans);
11
- --color-sidebar-ring: var(--sidebar-ring);
12
- --color-sidebar-border: var(--sidebar-border);
13
- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
14
- --color-sidebar-accent: var(--sidebar-accent);
15
- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
16
- --color-sidebar-primary: var(--sidebar-primary);
17
- --color-sidebar-foreground: var(--sidebar-foreground);
18
- --color-sidebar: var(--sidebar);
19
- --color-chart-5: var(--chart-5);
20
- --color-chart-4: var(--chart-4);
21
- --color-chart-3: var(--chart-3);
22
- --color-chart-2: var(--chart-2);
23
- --color-chart-1: var(--chart-1);
24
- --color-ring: var(--ring);
25
- --color-input: var(--input);
26
- --color-border: var(--border);
27
- --color-destructive: var(--destructive);
28
- --color-accent-foreground: var(--accent-foreground);
29
- --color-accent: var(--accent);
30
- --color-muted-foreground: var(--muted-foreground);
31
- --color-muted: var(--muted);
32
- --color-secondary-foreground: var(--secondary-foreground);
33
- --color-secondary: var(--secondary);
34
- --color-primary-foreground: var(--primary-foreground);
35
- --color-primary: var(--primary);
36
- --color-popover-foreground: var(--popover-foreground);
37
- --color-popover: var(--popover);
38
- --color-card-foreground: var(--card-foreground);
39
- --color-card: var(--card);
40
- --color-foreground: var(--foreground);
41
- --color-background: var(--background);
42
- --radius-sm: calc(var(--radius) * 0.6);
43
- --radius-md: calc(var(--radius) * 0.8);
44
- --radius-lg: var(--radius);
45
- --radius-xl: calc(var(--radius) * 1.4);
46
- --radius-2xl: calc(var(--radius) * 1.8);
47
- --radius-3xl: calc(var(--radius) * 2.2);
48
- --radius-4xl: 32px;
49
- }
50
-
51
- :root {
52
- --background: oklch(1 0 0);
53
- --foreground: oklch(0.145 0 0);
54
- --card: hsl(0, 0%, 100%);
55
- --card-foreground: oklch(0.145 0 0);
56
- --popover: oklch(1 0 0);
57
- --popover-foreground: oklch(0.145 0 0);
58
- --primary: oklch(0.205 0 0);
59
- --primary-foreground: oklch(0.985 0 0);
60
- --secondary: oklch(0.97 0 0);
61
- --secondary-foreground: oklch(0.205 0 0);
62
- --muted: oklch(0.97 0 0);
63
- --muted-foreground: oklch(0.556 0 0);
64
- --accent: oklch(0.97 0 0);
65
- --accent-foreground: oklch(0.205 0 0);
66
- --destructive: oklch(0.577 0.245 27.325);
67
- --border: oklch(0.922 0 0);
68
- --input: oklch(0.922 0 0);
69
- --ring: oklch(0.708 0 0);
70
- --chart-1: oklch(0.87 0 0);
71
- --chart-2: oklch(0.556 0 0);
72
- --chart-3: oklch(0.439 0 0);
73
- --chart-4: oklch(0.371 0 0);
74
- --chart-5: oklch(0.269 0 0);
75
- --radius: 0.625rem;
76
- --sidebar: oklch(0.985 0 0);
77
- --sidebar-foreground: oklch(0.145 0 0);
78
- --sidebar-primary: oklch(0.205 0 0);
79
- --sidebar-primary-foreground: oklch(0.985 0 0);
80
- --sidebar-accent: oklch(0.97 0 0);
81
- --sidebar-accent-foreground: oklch(0.205 0 0);
82
- --sidebar-border: oklch(0.922 0 0);
83
- --sidebar-ring: oklch(0.708 0 0);
84
- }
85
-
86
- .dark {
87
- --background: oklch(0.145 0 0);
88
- --foreground: oklch(0.985 0 0);
89
- --card: oklch(0.205 0 0);
90
- --card-foreground: oklch(0.985 0 0);
91
- --popover: oklch(0.205 0 0);
92
- --popover-foreground: oklch(0.985 0 0);
93
- --primary: oklch(0.922 0 0);
94
- --primary-foreground: oklch(0.205 0 0);
95
- --secondary: oklch(0.269 0 0);
96
- --secondary-foreground: oklch(0.985 0 0);
97
- --muted: oklch(0.269 0 0);
98
- --muted-foreground: oklch(0.708 0 0);
99
- --accent: oklch(0.269 0 0);
100
- --accent-foreground: oklch(0.985 0 0);
101
- --destructive: oklch(0.704 0.191 22.216);
102
- --border: oklch(1 0 0 / 10%);
103
- --input: oklch(1 0 0 / 15%);
104
- --ring: oklch(0.556 0 0);
105
- --chart-1: oklch(0.87 0 0);
106
- --chart-2: oklch(0.556 0 0);
107
- --chart-3: oklch(0.439 0 0);
108
- --chart-4: oklch(0.371 0 0);
109
- --chart-5: oklch(0.269 0 0);
110
- --sidebar: oklch(0.205 0 0);
111
- --sidebar-foreground: oklch(0.985 0 0);
112
- --sidebar-primary: oklch(0.488 0.243 264.376);
113
- --sidebar-primary-foreground: oklch(0.985 0 0);
114
- --sidebar-accent: oklch(0.269 0 0);
115
- --sidebar-accent-foreground: oklch(0.985 0 0);
116
- --sidebar-border: oklch(1 0 0 / 10%);
117
- --sidebar-ring: oklch(0.556 0 0);
118
- }
119
-
120
- @layer base {
121
- * {
122
- @apply border-border outline-ring/50;
123
- }
124
- body {
125
- @apply bg-background text-foreground;
126
-
127
- }
128
- html {
129
- @apply font-sans;
130
- }
131
- }