@firecms/core 3.0.0-canary.153 → 3.0.0-canary.154
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/dist/form/field_bindings/SwitchFieldBinding.d.ts +1 -2
- package/dist/index.es.js +5 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +5 -5
- package/dist/index.umd.js.map +1 -1
- package/dist/types/auth.d.ts +2 -0
- package/package.json +129 -125
- package/src/components/EntityPreview.tsx +1 -1
- package/src/contexts/SnackbarProvider.tsx +2 -0
- package/src/core/FireCMS.tsx +3 -0
- package/src/form/field_bindings/SwitchFieldBinding.tsx +25 -25
- package/src/types/auth.tsx +2 -0
package/dist/index.umd.js
CHANGED
|
@@ -5092,7 +5092,7 @@
|
|
|
5092
5092
|
children: entity.id
|
|
5093
5093
|
}
|
|
5094
5094
|
) }) : /* @__PURE__ */ jsxRuntime.jsx(ui.Skeleton, {})),
|
|
5095
|
-
titleProperty && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "my-0.5 text-sm font-
|
|
5095
|
+
titleProperty && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "my-0.5 text-sm font-medium", children: entity ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
5096
5096
|
PropertyPreview,
|
|
5097
5097
|
{
|
|
5098
5098
|
propertyKey: titleProperty,
|
|
@@ -15932,7 +15932,7 @@
|
|
|
15932
15932
|
)
|
|
15933
15933
|
] });
|
|
15934
15934
|
}
|
|
15935
|
-
const SwitchFieldBinding =
|
|
15935
|
+
const SwitchFieldBinding = function SwitchFieldBinding2({
|
|
15936
15936
|
propertyKey,
|
|
15937
15937
|
value,
|
|
15938
15938
|
setValue,
|
|
@@ -15940,10 +15940,10 @@
|
|
|
15940
15940
|
showError,
|
|
15941
15941
|
autoFocus,
|
|
15942
15942
|
disabled,
|
|
15943
|
-
size = "
|
|
15943
|
+
size = "large",
|
|
15944
15944
|
property,
|
|
15945
15945
|
includeDescription
|
|
15946
|
-
}
|
|
15946
|
+
}) {
|
|
15947
15947
|
useClearRestoreValue({
|
|
15948
15948
|
property,
|
|
15949
15949
|
value,
|
|
@@ -15980,7 +15980,7 @@
|
|
|
15980
15980
|
}
|
|
15981
15981
|
)
|
|
15982
15982
|
] });
|
|
15983
|
-
}
|
|
15983
|
+
};
|
|
15984
15984
|
function DateTimeFieldBinding({
|
|
15985
15985
|
propertyKey,
|
|
15986
15986
|
value,
|