@firecms/collection_editor 3.0.0-canary.160 → 3.0.0-canary.162

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-canary.160",
4
+ "version": "3.0.0-canary.162",
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-canary.160",
11
- "@firecms/data_import": "^3.0.0-canary.160",
12
- "@firecms/data_import_export": "^3.0.0-canary.160",
13
- "@firecms/formex": "^3.0.0-canary.160",
14
- "@firecms/schema_inference": "^3.0.0-canary.160",
15
- "@firecms/ui": "^3.0.0-canary.159",
10
+ "@firecms/data_export": "^3.0.0-canary.162",
11
+ "@firecms/data_import": "^3.0.0-canary.162",
12
+ "@firecms/data_import_export": "^3.0.0-canary.162",
13
+ "@firecms/formex": "^3.0.0-canary.162",
14
+ "@firecms/schema_inference": "^3.0.0-canary.162",
15
+ "@firecms/ui": "^3.0.0-canary.162",
16
16
  "json5": "^2.2.3",
17
17
  "prism-react-renderer": "^2.4.0"
18
18
  },
@@ -69,5 +69,5 @@
69
69
  "publishConfig": {
70
70
  "access": "public"
71
71
  },
72
- "gitHead": "840f2733672a90a6a56aed89259eaa5365589512"
72
+ "gitHead": "a1b322b8cdcd05a1598baefce37c89124d96cd79"
73
73
  }
@@ -5,7 +5,7 @@ import {
5
5
  AutocompleteItem,
6
6
  BooleanSwitchWithLabel,
7
7
  Chip,
8
- ClearIcon,
8
+ CloseIcon,
9
9
  cls,
10
10
  Container,
11
11
  DebouncedTextField,
@@ -271,7 +271,7 @@ export function CollectionDetailsForm({
271
271
  setFieldValue("sideDialogWidth", null);
272
272
  }}
273
273
  disabled={!values.sideDialogWidth}>
274
- <ClearIcon size={"small"}/>
274
+ <CloseIcon size={"small"}/>
275
275
  </IconButton>}
276
276
  value={values.sideDialogWidth ?? ""}
277
277
  label={"Side dialog width"}/>
@@ -26,6 +26,7 @@ import {
26
26
  import {
27
27
  ArrowBackIcon,
28
28
  Button,
29
+ CheckIcon,
29
30
  cls,
30
31
  coolIconKeys,
31
32
  defaultBorderMixin,
@@ -33,7 +34,6 @@ import {
33
34
  DialogActions,
34
35
  DialogContent,
35
36
  DialogTitle,
36
- DoneIcon,
37
37
  IconButton,
38
38
  LoadingButton,
39
39
  Tab,
@@ -726,7 +726,7 @@ function CollectionEditorInternal<M extends Record<string, any>>({
726
726
  loading={isSubmitting}
727
727
  disabled={isSubmitting || (currentView === "details" && !validValues)}
728
728
  startIcon={currentView === "properties"
729
- ? <DoneIcon/>
729
+ ? <CheckIcon/>
730
730
  : undefined}
731
731
  >
732
732
  {currentView === "details" && "Next"}
@@ -16,7 +16,7 @@ import {
16
16
  } from "@firecms/core";
17
17
  import {
18
18
  AddIcon,
19
- AutoAwesomeIcon,
19
+ AutorenewIcon,
20
20
  Button,
21
21
  CircularProgress,
22
22
  cls,
@@ -362,7 +362,7 @@ export function CollectionPropertiesEditorForm({
362
362
  variant={"filled"}
363
363
  disabled={inferringProperties}
364
364
  onClick={inferPropertiesFromData}>
365
- {inferringProperties ? <CircularProgress size={"small"}/> : <AutoAwesomeIcon/>}
365
+ {inferringProperties ? <CircularProgress size={"small"}/> : <AutorenewIcon/>}
366
366
  </IconButton>
367
367
  </Tooltip>}
368
368
  <Tooltip title={"Add new property"}
@@ -3,7 +3,7 @@ import equal from "react-fast-compare"
3
3
 
4
4
  import { ArrayContainer, ArrayEntryParams, EnumValueConfig, EnumValues, FieldCaption, } from "@firecms/core";
5
5
  import {
6
- AutoAwesomeIcon,
6
+ AutorenewIcon,
7
7
  Badge,
8
8
  Button,
9
9
  CircularProgress,
@@ -183,7 +183,7 @@ function EnumFormFields({
183
183
  variant={"text"}
184
184
  size={"small"}
185
185
  onClick={inferValues}>
186
- {inferring ? <CircularProgress size={"small"}/> : <AutoAwesomeIcon/>}
186
+ {inferring ? <CircularProgress size={"small"}/> : <AutorenewIcon/>}
187
187
  Infer values from data
188
188
  </Button>}
189
189
  </div>
@@ -267,7 +267,7 @@ const EnumEntry = React.memo(
267
267
  size="small"
268
268
  autoFocus={autoFocus}
269
269
  autoComplete="off"
270
- endAdornment={inferredEntry && <AutoAwesomeIcon size={"small"}/>}
270
+ endAdornment={inferredEntry && <AutorenewIcon size={"small"}/>}
271
271
  error={Boolean(entryError?.label)}/>
272
272
 
273
273
  {!disabled &&
@@ -31,7 +31,7 @@ import {
31
31
  InfoLabel,
32
32
  Tooltip,
33
33
  Typography,
34
- WarningOffIcon
34
+ WarningIcon
35
35
  } from "@firecms/ui";
36
36
  import { EnumPropertyField } from "./properties/EnumPropertyField";
37
37
  import { StoragePropertyField } from "./properties/StoragePropertyField";
@@ -774,7 +774,7 @@ export function WidgetSelectViewItem({
774
774
  <div className={"flex flex-row gap-2 items-center"}>
775
775
  {shouldWarnChangingDataType && <Tooltip
776
776
  title={"This widget uses a different data type than the initially selected widget. This can cause errors with existing data."}>
777
- <WarningOffIcon size="smallest" className={"w-4"}/>
777
+ <WarningIcon size="smallest" className={"w-4"}/>
778
778
  </Tooltip>}
779
779
  <Typography
780
780
  color={shouldWarnChangingDataType ? "secondary" : undefined}>{propertyConfig.name}</Typography>
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ErrorBoundary,
3
- PropertyConfigBadge,
4
3
  getFieldConfig,
5
4
  isPropertyBuilder,
6
5
  Property,
6
+ PropertyConfigBadge,
7
7
  PropertyOrBuilder,
8
8
  useCustomizationController,
9
9
  } from "@firecms/core";
@@ -12,9 +12,9 @@ import {
12
12
  cardMixin,
13
13
  cardSelectedMixin,
14
14
  cls,
15
+ DoNotDisturbOnIcon,
15
16
  FunctionsIcon,
16
17
  Paper,
17
- RemoveCircleIcon,
18
18
  Typography,
19
19
  } from "@firecms/ui";
20
20
 
@@ -133,7 +133,7 @@ export function NonEditablePropertyPreview({
133
133
  className={"h-8 w-8 p-1 rounded-full shadow text-white bg-surface-500"}>
134
134
  <FunctionsIcon color={"inherit"} size={"medium"}/>
135
135
  </div>}
136
- <RemoveCircleIcon color={"disabled"} size={"small"} className={"absolute -right-2 -top-2"}/>
136
+ <DoNotDisturbOnIcon color={"disabled"} size={"small"} className={"absolute -right-2 -top-2"}/>
137
137
  </div>
138
138
  <Paper
139
139
  className={cls(
@@ -9,7 +9,7 @@ import {
9
9
  PropertiesOrBuilders,
10
10
  PropertyOrBuilder
11
11
  } from "@firecms/core";
12
- import { AutoAwesomeIcon, defaultBorderMixin, DragHandleIcon, IconButton, RemoveIcon, Tooltip } from "@firecms/ui";
12
+ import { AutorenewIcon, defaultBorderMixin, DragHandleIcon, IconButton, RemoveIcon, Tooltip } from "@firecms/ui";
13
13
  import { NonEditablePropertyPreview, PropertyFieldPreview } from "./PropertyFieldPreview";
14
14
  import { DragDropContext, Draggable, DraggableProvided, Droppable } from "@hello-pangea/dnd";
15
15
  import { getFullId, getFullIdPath } from "./util";
@@ -224,7 +224,7 @@ export function PropertyTreeEntry({
224
224
  <div className="absolute top-2 right-2 flex flex-row ">
225
225
 
226
226
  {isPropertyInferred && <Tooltip title={"Inferred property"}>
227
- <AutoAwesomeIcon size="small" className={"p-2"}/>
227
+ <AutorenewIcon size="small" className={"p-2"}/>
228
228
  </Tooltip>}
229
229
 
230
230
  {onPropertyRemove && <Tooltip title={"Remove"}
@@ -3,7 +3,7 @@ import { StringPropertyValidation } from "./validation/StringPropertyValidation"
3
3
  import { ValidationPanel } from "./validation/ValidationPanel";
4
4
  import { Field, getIn, useFormex } from "@firecms/formex";
5
5
 
6
- import { DebouncedTextField, ExpandablePanel, FileUploadIcon, TextField, Typography } from "@firecms/ui";
6
+ import { CloudUploadIcon, DebouncedTextField, ExpandablePanel, TextField, Typography } from "@firecms/ui";
7
7
 
8
8
  export function MarkdownPropertyField({
9
9
  disabled,
@@ -55,7 +55,7 @@ export function MarkdownPropertyField({
55
55
  <ExpandablePanel
56
56
  title={
57
57
  <div className="flex flex-row text-surface-500">
58
- <FileUploadIcon/>
58
+ <CloudUploadIcon/>
59
59
  <Typography variant={"subtitle2"}
60
60
  className="ml-2">
61
61
  File upload config
@@ -1,9 +1,9 @@
1
1
  import React from "react";
2
2
  import {
3
3
  Button,
4
+ CloudUploadIcon,
4
5
  DebouncedTextField,
5
6
  ExpandablePanel,
6
- FileUploadIcon,
7
7
  MultiSelect,
8
8
  MultiSelectItem,
9
9
  Typography
@@ -75,7 +75,7 @@ export function StoragePropertyField({
75
75
  <ExpandablePanel
76
76
  title={
77
77
  <div className="flex flex-row text-surface-500">
78
- <FileUploadIcon/>
78
+ <CloudUploadIcon/>
79
79
  <Typography variant={"subtitle2"}
80
80
  className="ml-2">
81
81
  File upload config