@djangocfg/ui-core 2.1.106 → 2.1.107

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djangocfg/ui-core",
3
- "version": "2.1.106",
3
+ "version": "2.1.107",
4
4
  "description": "Pure React UI component library without Next.js dependencies - for Electron, Vite, CRA apps",
5
5
  "keywords": [
6
6
  "ui-components",
@@ -122,7 +122,7 @@
122
122
  "vaul": "1.1.2"
123
123
  },
124
124
  "devDependencies": {
125
- "@djangocfg/typescript-config": "^2.1.106",
125
+ "@djangocfg/typescript-config": "^2.1.107",
126
126
  "@types/node": "^24.7.2",
127
127
  "@types/react": "^19.1.0",
128
128
  "@types/react-dom": "^19.1.0",
@@ -47,7 +47,7 @@ function ButtonGroupText({
47
47
  }: React.ComponentProps<"div"> & {
48
48
  asChild?: boolean
49
49
  }) {
50
- const Comp = asChild ? Slot : "div"
50
+ const Comp: React.ElementType = asChild ? Slot : "div"
51
51
 
52
52
  return (
53
53
  <Comp
@@ -62,7 +62,7 @@ function Item({
62
62
  ...props
63
63
  }: React.ComponentProps<"div"> &
64
64
  VariantProps<typeof itemVariants> & { asChild?: boolean }) {
65
- const Comp = asChild ? Slot : "div"
65
+ const Comp: React.ElementType = asChild ? Slot : "div"
66
66
  return (
67
67
  <Comp
68
68
  data-slot="item"