@alquimia-ai/ui 1.0.4 → 1.0.5

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.
@@ -0,0 +1,92 @@
1
+ /** @type {import('tailwindcss').Config} */
2
+ module.exports = {
3
+ darkMode: ["class"],
4
+ content: [
5
+ './pages/**/*.{ts,tsx}',
6
+ './components/**/*.{ts,tsx}',
7
+ './app/**/*.{ts,tsx}',
8
+ './src/**/*.{ts,tsx}',
9
+ "./node_modules/@alquimia-ai/ui/dist/**/*.{js,ts,jsx,tsx,mdx}",
10
+ ],
11
+ prefix: "",
12
+ theme: {
13
+ container: {
14
+ center: true,
15
+ padding: "2rem",
16
+ screens: {
17
+ "2xl": "1400px",
18
+ },
19
+ },
20
+ extend: {
21
+ colors: {
22
+ border: "hsl(var(--border))",
23
+ input: "hsl(var(--input))",
24
+ ring: "hsl(var(--ring))",
25
+ background: "hsl(var(--background))",
26
+ foreground: "hsl(var(--foreground))",
27
+ primary: {
28
+ DEFAULT: "hsl(var(--primary))",
29
+ foreground: "hsl(var(--primary-foreground))",
30
+ },
31
+ secondary: {
32
+ DEFAULT: "hsl(var(--secondary))",
33
+ foreground: "hsl(var(--secondary-foreground))",
34
+ },
35
+ destructive: {
36
+ DEFAULT: "hsl(var(--destructive))",
37
+ foreground: "hsl(var(--destructive-foreground))",
38
+ },
39
+ muted: {
40
+ DEFAULT: "hsl(var(--muted))",
41
+ foreground: "hsl(var(--muted-foreground))",
42
+ },
43
+ accent: {
44
+ DEFAULT: "hsl(var(--accent))",
45
+ foreground: "hsl(var(--accent-foreground))",
46
+ },
47
+ popover: {
48
+ DEFAULT: "hsl(var(--popover))",
49
+ foreground: "hsl(var(--popover-foreground))",
50
+ },
51
+ card: {
52
+ DEFAULT: "hsl(var(--card))",
53
+ foreground: "hsl(var(--card-foreground))",
54
+ },
55
+ },
56
+ borderRadius: {
57
+ lg: "var(--radius)",
58
+ md: "calc(var(--radius) - 2px)",
59
+ sm: "calc(var(--radius) - 4px)",
60
+ },
61
+ keyframes: {
62
+ "accordion-down": {
63
+ from: { height: "0" },
64
+ to: { height: "var(--radix-accordion-content-height)" },
65
+ },
66
+ "accordion-up": {
67
+ from: { height: "var(--radix-accordion-content-height)" },
68
+ to: { height: "0" },
69
+ },
70
+ "star-pop": {
71
+ "0%, 100%": { transform: "scale(1)" },
72
+ "50%": { transform: "scale(1.2)" },
73
+ },
74
+ "thumb-pop": {
75
+ "0%, 100%": { transform: "scale(1)" },
76
+ "50%": { transform: "scale(1.2)" },
77
+ }
78
+ },
79
+ animation: {
80
+ "accordion-down": "accordion-down 0.2s ease-out",
81
+ "accordion-up": "accordion-up 0.2s ease-out",
82
+ "star-pop": "star-pop 0.5s ease-in-out",
83
+ "thumb-pop": "thumb-pop 0.2s ease-in-out",
84
+ bounce: "bounce 0.1s infinite",
85
+ },
86
+ },
87
+ },
88
+ corePlugins: {
89
+ preflight: false,
90
+ },
91
+ plugins: [require("tailwindcss-animate")],
92
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alquimia-ai/ui",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "author": "Alquimia AI",
5
5
  "description": "UI components for Alquimia SDK",
6
6
  "private": false,
@@ -57,6 +57,7 @@
57
57
  "import": "./dist/types/index.mjs",
58
58
  "require": "./dist/types/index.js"
59
59
  },
60
+ "./tailwind.config": "./dist/tailwind.config.js",
60
61
  "./package.json": "./package.json"
61
62
  },
62
63
  "scripts": {
@@ -75,56 +76,22 @@
75
76
  ],
76
77
  "devDependencies": {
77
78
  "@alquimia-ai/eslint-config": "*",
78
- "@alquimia-ai/typescript-config": "*",
79
79
  "@alquimia-ai/tools": "*",
80
+ "@alquimia-ai/typescript-config": "*",
80
81
  "@changesets/changelog-git": "^0.2.0",
81
82
  "@changesets/changelog-github": "^0.5.0",
82
- "@radix-ui/react-alert-dialog": "^1.1.2",
83
- "@radix-ui/react-aspect-ratio": "^1.1.0",
84
- "@radix-ui/react-avatar": "^1.1.0",
85
- "@radix-ui/react-checkbox": "^1.1.2",
86
- "@radix-ui/react-dialog": "^1.1.2",
87
- "@radix-ui/react-icons": "^1.3.0",
88
- "@radix-ui/react-label": "^2.1.0",
89
- "@radix-ui/react-navigation-menu": "^1.2.1",
90
- "@radix-ui/react-popover": "^1.1.2",
91
- "@radix-ui/react-scroll-area": "^1.1.0",
92
- "@radix-ui/react-select": "^2.1.2",
93
- "@radix-ui/react-slider": "^1.2.1",
94
- "@radix-ui/react-slot": "^1.1.0",
95
- "@radix-ui/react-switch": "^1.1.1",
96
- "@radix-ui/react-tabs": "^1.1.1",
97
- "@radix-ui/react-toast": "^1.2.2",
98
- "@radix-ui/react-toggle": "^1.1.0",
99
- "@radix-ui/react-tooltip": "^1.1.3",
100
83
  "@turbo/gen": "^1.12.4",
101
84
  "@types/eslint": "^8.56.5",
102
85
  "@types/node": "^20.11.24",
103
86
  "@types/react": "^18.2.61",
104
87
  "@types/react-dom": "^18.2.19",
105
88
  "eslint": "^8.57.0",
106
- "typescript": "^5.3.3",
107
- "clsx": "^2.1.1",
108
- "cmdk": "1.0.0",
109
- "embla-carousel-react": "^8.3.0",
110
- "lucide-react": "^0.436.0",
111
89
  "next": ">=13.5.0",
112
- "next-themes": ">=0.3.0",
113
- "pdfjs-dist": "4.4.168",
114
90
  "react": ">=18.0.0",
115
91
  "react-dom": ">=18.0.0",
116
- "react-markdown": "^9.0.1",
117
- "react-pdf": "9.1.1",
118
- "remark-gfm": "^4.0.0",
119
- "sonner": "^1.5.0",
120
- "tailwind-merge": "^2.5.2",
121
- "tailwindcss-animate": "^1.0.7",
122
- "vaul": "^0.9.4"
92
+ "typescript": "^5.3.3"
123
93
  },
124
94
  "dependencies": {
125
- "@alquimia-ai/tools": "*"
126
- },
127
- "peerDependencies": {
128
95
  "@alquimia-ai/tools": "*",
129
96
  "@radix-ui/react-alert-dialog": "^1.1.2",
130
97
  "@radix-ui/react-aspect-ratio": "^1.1.0",
@@ -145,6 +112,19 @@
145
112
  "@radix-ui/react-toggle": "^1.1.0",
146
113
  "@radix-ui/react-tooltip": "^1.1.3",
147
114
  "@tanstack/react-table": "^8.20.5",
148
- "class-variance-authority": "^0.7.0"
115
+ "class-variance-authority": "^0.7.0",
116
+ "clsx": "^2.1.1",
117
+ "cmdk": "1.0.0",
118
+ "embla-carousel-react": "^8.3.0",
119
+ "lucide-react": "^0.436.0",
120
+ "next-themes": ">=0.3.0",
121
+ "pdfjs-dist": "4.4.168",
122
+ "react-markdown": "^9.0.1",
123
+ "react-pdf": "9.1.1",
124
+ "remark-gfm": "^4.0.0",
125
+ "sonner": "^1.5.0",
126
+ "tailwind-merge": "^2.5.2",
127
+ "tailwindcss-animate": "^1.0.7",
128
+ "vaul": "^0.9.4"
149
129
  }
150
130
  }