@object-ui/components 4.0.7 → 4.0.9
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/CHANGELOG.md +19 -0
- package/dist/index.css +1 -7
- package/dist/index.js +2013 -1953
- package/dist/index.umd.cjs +5 -5
- package/dist/packages/components/src/lib/lazy-icon.d.ts +4 -1
- package/package.json +10 -10
|
@@ -4,7 +4,10 @@ export declare function toKebabIconName(name: string): string;
|
|
|
4
4
|
/**
|
|
5
5
|
* Resolve a Lucide icon by name (kebab-case or PascalCase).
|
|
6
6
|
* Returns a memoised React component that lazily loads the SVG on mount.
|
|
7
|
-
* Falls back to the `Database` icon when no `name` is provided
|
|
7
|
+
* Falls back to the `Database` icon when no `name` is provided or when the
|
|
8
|
+
* requested name is not a valid Lucide icon (server-driven schemas often
|
|
9
|
+
* reference icons from other libraries — we silently degrade rather than
|
|
10
|
+
* letting Lucide log "Name in Lucide DynamicIcon not found").
|
|
8
11
|
*/
|
|
9
12
|
export declare function getLazyIcon(name?: string): React.ElementType;
|
|
10
13
|
/** Direct ready-to-render component. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@object-ui/components",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Standard UI component library for Object UI, built with Shadcn UI + Tailwind CSS",
|
|
@@ -66,13 +66,13 @@
|
|
|
66
66
|
"react-resizable-panels": "^4.11.0",
|
|
67
67
|
"recharts": "3.8.1",
|
|
68
68
|
"sonner": "^2.0.7",
|
|
69
|
-
"tailwind-merge": "^3.
|
|
69
|
+
"tailwind-merge": "^3.6.0",
|
|
70
70
|
"tailwindcss-animate": "^1.0.7",
|
|
71
71
|
"vaul": "^1.1.2",
|
|
72
|
-
"@object-ui/core": "4.0.
|
|
73
|
-
"@object-ui/i18n": "4.0.
|
|
74
|
-
"@object-ui/react": "4.0.
|
|
75
|
-
"@object-ui/types": "4.0.
|
|
72
|
+
"@object-ui/core": "4.0.9",
|
|
73
|
+
"@object-ui/i18n": "4.0.9",
|
|
74
|
+
"@object-ui/react": "4.0.9",
|
|
75
|
+
"@object-ui/types": "4.0.9"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -86,17 +86,17 @@
|
|
|
86
86
|
"@storybook/blocks": "^8.6.14",
|
|
87
87
|
"@storybook/react": "^8.6.18",
|
|
88
88
|
"@storybook/react-vite": "^8.6.18",
|
|
89
|
-
"@tailwindcss/postcss": "^4.
|
|
89
|
+
"@tailwindcss/postcss": "^4.3.0",
|
|
90
90
|
"@types/react": "19.2.14",
|
|
91
91
|
"@types/react-dom": "19.2.3",
|
|
92
92
|
"@vitejs/plugin-react": "^6.0.1",
|
|
93
93
|
"autoprefixer": "^10.5.0",
|
|
94
94
|
"postcss": "^8.5.14",
|
|
95
|
-
"shadcn": "^4.
|
|
95
|
+
"shadcn": "^4.7.0",
|
|
96
96
|
"storybook": "^8.6.18",
|
|
97
|
-
"tailwindcss": "^4.
|
|
97
|
+
"tailwindcss": "^4.3.0",
|
|
98
98
|
"typescript": "^6.0.3",
|
|
99
|
-
"vite": "^8.0.
|
|
99
|
+
"vite": "^8.0.12",
|
|
100
100
|
"vite-plugin-dts": "^5.0.0"
|
|
101
101
|
},
|
|
102
102
|
"keywords": [
|