@firecms/ui 3.0.0-canary.52 → 3.0.0-canary.54

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@firecms/ui",
3
3
  "type": "module",
4
- "version": "3.0.0-canary.52",
4
+ "version": "3.0.0-canary.54",
5
5
  "description": "Awesome Firebase/Firestore-based headless open-source CMS",
6
6
  "funding": {
7
7
  "url": "https://github.com/sponsors/firecmsco"
@@ -71,8 +71,8 @@
71
71
  "tailwind-merge": "^2.3.0"
72
72
  },
73
73
  "peerDependencies": {
74
- "react": "^18.2.0",
75
- "react-dom": "^18.2.0"
74
+ "react": "^18.3.1",
75
+ "react-dom": "^18.3.1"
76
76
  },
77
77
  "eslintConfig": {
78
78
  "extends": [
@@ -86,37 +86,37 @@
86
86
  "@testing-library/react": "^15.0.7",
87
87
  "@testing-library/user-event": "^14.5.2",
88
88
  "@types/jest": "^29.5.12",
89
- "@types/node": "^20.12.11",
89
+ "@types/node": "^20.12.13",
90
90
  "@types/object-hash": "^3.0.6",
91
- "@types/react": "^18.3.1",
91
+ "@types/react": "^18.3.3",
92
92
  "@types/react-dom": "^18.3.0",
93
93
  "@types/react-measure": "^2.0.12",
94
- "@typescript-eslint/eslint-plugin": "^7.8.0",
95
- "@typescript-eslint/parser": "^7.8.0",
96
- "@vitejs/plugin-react": "^4.2.1",
94
+ "@typescript-eslint/eslint-plugin": "^7.11.0",
95
+ "@typescript-eslint/parser": "^7.11.0",
96
+ "@vitejs/plugin-react": "^4.3.0",
97
97
  "cross-env": "^7.0.3",
98
98
  "eslint": "^8.57.0",
99
99
  "eslint-config-standard": "^17.1.0",
100
100
  "eslint-plugin-import": "^2.29.1",
101
101
  "eslint-plugin-n": "^16.6.2",
102
- "eslint-plugin-promise": "^6.1.1",
103
- "eslint-plugin-react": "^7.34.1",
102
+ "eslint-plugin-promise": "^6.2.0",
103
+ "eslint-plugin-react": "^7.34.2",
104
104
  "eslint-plugin-react-hooks": "^4.6.2",
105
- "firebase": "^10.11.1",
105
+ "firebase": "^10.12.2",
106
106
  "jest": "^29.7.0",
107
107
  "npm-run-all": "^4.1.5",
108
- "ts-jest": "^29.1.2",
108
+ "ts-jest": "^29.1.4",
109
109
  "ts-node": "^10.9.2",
110
110
  "tsd": "^0.31.0",
111
111
  "typescript": "^5.4.5",
112
- "vite": "^5.2.11"
112
+ "vite": "^5.2.12"
113
113
  },
114
114
  "files": [
115
115
  "dist",
116
116
  "src",
117
117
  "tailwind.config.js"
118
118
  ],
119
- "gitHead": "f48ab87b5a5ad7f68ee4093aa1d624b0bddd7589",
119
+ "gitHead": "cee5d67f4df03de284b903f636bdaf9b07e8f891",
120
120
  "publishConfig": {
121
121
  "access": "public"
122
122
  }
@@ -12,14 +12,16 @@ const Label = React.forwardRef<
12
12
  LabelProps
13
13
  >(({
14
14
  className,
15
+ border,
16
+ onClick,
15
17
  ...props
16
18
  }, ref) => (
17
19
  <LabelPrimitive.Root
18
20
  ref={ref}
19
- onClick={props.onClick}
21
+ onClick={onClick}
20
22
  className={cn("text-sm font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
21
- props.border && "border border-gray-300 dark:border-gray-700 rounded-md px-3 py-1.5",
22
- props.onClick && "hover:cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-800",
23
+ border && "border border-gray-300 dark:border-gray-700 rounded-md px-3 py-1.5",
24
+ onClick && "hover:cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-800",
23
25
  defaultBorderMixin, className)}
24
26
  {...props}
25
27
  />