@firecms/collection_editor 3.0.0-rc.4 → 3.0.0-tw4.2

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,18 +1,18 @@
1
1
  {
2
2
  "name": "@firecms/collection_editor",
3
3
  "type": "module",
4
- "version": "3.0.0-rc.4",
4
+ "version": "3.0.0-tw4.2",
5
5
  "main": "./dist/index.umd.js",
6
6
  "module": "./dist/index.es.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "source": "src/index.ts",
9
9
  "dependencies": {
10
- "@firecms/data_export": "^3.0.0-rc.4",
11
- "@firecms/data_import": "^3.0.0-rc.4",
12
- "@firecms/data_import_export": "^3.0.0-rc.4",
13
- "@firecms/formex": "^3.0.0-rc.4",
14
- "@firecms/schema_inference": "^3.0.0-rc.4",
15
- "@firecms/ui": "^3.0.0-rc.4",
10
+ "@firecms/data_export": "^3.0.0-tw4.2",
11
+ "@firecms/data_import": "^3.0.0-tw4.2",
12
+ "@firecms/data_import_export": "^3.0.0-tw4.2",
13
+ "@firecms/formex": "^3.0.0-tw4.2",
14
+ "@firecms/schema_inference": "^3.0.0-tw4.2",
15
+ "@firecms/ui": "^3.0.0-tw4.2",
16
16
  "json5": "^2.2.3",
17
17
  "prism-react-renderer": "^2.4.1"
18
18
  },
@@ -49,18 +49,18 @@
49
49
  ]
50
50
  },
51
51
  "devDependencies": {
52
- "@jest/globals": "^30.1.2",
52
+ "@jest/globals": "^30.2.0",
53
53
  "@types/react": "^18.3.24",
54
54
  "@types/react-dom": "^18.3.7",
55
55
  "@vitejs/plugin-react": "^4.7.0",
56
56
  "babel-plugin-react-compiler": "^19.0.0-beta-af1b7da-20250417",
57
- "eslint-plugin-react-compiler": "^19.0.0-beta-af1b7da-20250417",
57
+ "eslint-plugin-react-compiler": "^19.1.0-rc.2",
58
58
  "jest": "^29.7.0",
59
- "react-router": "^6.30.1",
60
- "react-router-dom": "^6.30.1",
61
- "ts-jest": "^29.4.3",
62
- "typescript": "^5.9.2",
63
- "vite": "^7.1.6"
59
+ "react-router": "^6.30.2",
60
+ "react-router-dom": "^6.30.2",
61
+ "ts-jest": "^29.4.5",
62
+ "typescript": "^5.9.3",
63
+ "vite": "^7.2.4"
64
64
  },
65
65
  "files": [
66
66
  "dist",
@@ -69,5 +69,5 @@
69
69
  "publishConfig": {
70
70
  "access": "public"
71
71
  },
72
- "gitHead": "5fab14c8d1fff7dd606512b5d9b3f1842e601f8c"
72
+ "gitHead": "1292c52536d1485a6dd0803de81e05448cb0a36e"
73
73
  }
@@ -29,7 +29,7 @@ export function PropertyAddColumnComponent({
29
29
  asChild={true}
30
30
  title={canEditCollection ? "Add new property" : "You don't have permission to add new properties"}>
31
31
  <div
32
- className={"p-0.5 w-20 h-full flex items-center justify-center cursor-pointer bg-surface-100 bg-opacity-40 hover:bg-surface-100 dark:bg-surface-950 dark:bg-opacity-40 dark:hover:bg-surface-950"}
32
+ className={"p-0.5 w-20 h-full flex items-center justify-center cursor-pointer bg-surface-100 bg-opacity-40 bg-surface-100/40 hover:bg-surface-100 dark:bg-surface-950 dark:bg-opacity-40 dark:bg-surface-950/40 dark:hover:bg-surface-950"}
33
33
  // className={onHover ? "bg-white dark:bg-surface-950" : undefined}
34
34
  onClick={() => {
35
35
  collectionEditorController.editProperty({
@@ -241,7 +241,7 @@ export function CollectionDetailsForm({
241
241
  expanded={advancedPanelExpanded}
242
242
  onExpandedChange={setAdvancedPanelExpanded}
243
243
  title={
244
- <div className="flex flex-row text-surface-500">
244
+ <div className="flex flex-row text-surface-500 text-text-secondary dark:text-text-secondary-dark">
245
245
  <SettingsIcon/>
246
246
  <Typography variant={"subtitle2"}
247
247
  className="ml-2">
@@ -184,7 +184,7 @@ export function TemplateButton({
184
184
  onClick={onClick}
185
185
  className={cls(
186
186
  "my-2 rounded-md border mx-0 p-6 px-4 focus:outline-none transition ease-in-out duration-150 flex flex-row gap-4 items-center",
187
- "text-surface-700 dark:text-surface-accent-300",
187
+ "text-text-secondary dark:text-text-secondary-dark",
188
188
  "hover:border-primary-dark hover:text-primary-dark dark:hover:text-primary focus:ring-primary hover:ring-1 hover:ring-primary",
189
189
  "border-surface-400 dark:border-surface-600 "
190
190
  )}
@@ -303,7 +303,7 @@ export function CollectionPropertiesEditorForm({
303
303
  };
304
304
 
305
305
  const body = (
306
- <div className={"grid grid-cols-12 gap-2 h-full bg-white dark:bg-surface-950"}>
306
+ <div className={"grid grid-cols-12 gap-2 h-full bg-surface dark:bg-surface-dark"}>
307
307
  <div className={cls(
308
308
  "bg-surface-50 dark:bg-surface-900",
309
309
  "p-4 md:p-8 pb-20 md:pb-20",
@@ -42,7 +42,7 @@ export function PropertyFieldPreview({
42
42
  const disabled = !editableProperty(property);
43
43
 
44
44
  const borderColorClass = hasError
45
- ? "border-red-500 dark:border-red-500 border-opacity-100 dark:border-opacity-100 ring-0 dark:ring-0"
45
+ ? "border-red-500 dark:border-red-500 border-opacity-100 dark:border-opacity-100 border-red-500/100 dark:border-red-500/100 ring-0 dark:ring-0"
46
46
  : (selected ? "border-primary" : "border-transparent");
47
47
 
48
48
  return <ErrorBoundary>
@@ -87,7 +87,7 @@ export function StoragePropertyField({
87
87
 
88
88
  <ExpandablePanel
89
89
  title={
90
- <div className="flex flex-row text-surface-500">
90
+ <div className="flex flex-row text-surface-500 text-text-secondary dark:text-text-secondary-dark">
91
91
  <CloudUploadIcon/>
92
92
  <Typography variant={"subtitle2"}
93
93
  className="ml-4">
@@ -12,7 +12,7 @@ export function ValidationPanel({
12
12
  asField={true}
13
13
  innerClassName="p-4"
14
14
  title={
15
- <div className="flex flex-row text-surface-500">
15
+ <div className="flex flex-row text-surface-500 text-text-secondary dark:text-text-secondary-dark">
16
16
  <RuleIcon/>
17
17
  <Typography variant={"subtitle2"}
18
18
  className="ml-4">