@firecms/ui 3.0.0-canary.152 → 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/icons/Icon.d.ts +1 -1
- package/dist/index.es.js +6 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +6 -6
- package/dist/index.umd.js.map +1 -1
- package/package.json +7 -3
- package/src/components/DateTimeField.tsx +1 -1
- package/src/components/IconButton.tsx +0 -1
- package/src/components/Select.tsx +52 -51
- package/src/icons/Icon.tsx +3 -1
package/dist/icons/Icon.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as React from "react";
|
2
|
-
import
|
2
|
+
import "material-icons/iconfont/filled.css";
|
3
3
|
export type IconColor = "inherit" | "primary" | "secondary" | "disabled" | "error" | "success" | "warning";
|
4
4
|
export type IconProps = {
|
5
5
|
size?: "smallest" | "small" | "medium" | "large" | number;
|
package/dist/index.es.js
CHANGED
@@ -13982,7 +13982,7 @@ const DateTimeField = ({
|
|
13982
13982
|
invalidValue && /* @__PURE__ */ jsxs("div", { className: "flex items-center m-2", children: [
|
13983
13983
|
/* @__PURE__ */ jsx(ErrorIcon, { size: "medium", color: "error" }),
|
13984
13984
|
/* @__PURE__ */ jsxs("div", { className: "pl-2", children: [
|
13985
|
-
/* @__PURE__ */ jsx(Typography, { variant: "body2",
|
13985
|
+
/* @__PURE__ */ jsx(Typography, { variant: "body2", children: "Invalid date value for this field" }),
|
13986
13986
|
/* @__PURE__ */ jsx(Typography, { variant: "body2", children: `The provided value is: ${JSON.stringify(value)}` })
|
13987
13987
|
] })
|
13988
13988
|
] })
|
@@ -15269,12 +15269,13 @@ const Select = forwardRef(({
|
|
15269
15269
|
"min-h-[42px]": size === "medium",
|
15270
15270
|
"min-h-[64px]": size === "large"
|
15271
15271
|
}
|
15272
|
-
), children: /* @__PURE__ */
|
15272
|
+
), children: /* @__PURE__ */ jsx(
|
15273
15273
|
SelectPrimitive.Trigger,
|
15274
15274
|
{
|
15275
15275
|
ref: inputRef,
|
15276
15276
|
id,
|
15277
|
-
|
15277
|
+
asChild: true,
|
15278
|
+
children: /* @__PURE__ */ jsxs("div", { className: cls(
|
15278
15279
|
"w-full h-full",
|
15279
15280
|
padding ? {
|
15280
15281
|
"px-4": size === "large",
|
@@ -15293,8 +15294,7 @@ const Select = forwardRef(({
|
|
15293
15294
|
"min-h-[64px]": size === "large"
|
15294
15295
|
},
|
15295
15296
|
inputClassName
|
15296
|
-
),
|
15297
|
-
children: [
|
15297
|
+
), children: [
|
15298
15298
|
/* @__PURE__ */ jsx(
|
15299
15299
|
"div",
|
15300
15300
|
{
|
@@ -15354,7 +15354,7 @@ const Select = forwardRef(({
|
|
15354
15354
|
})
|
15355
15355
|
}
|
15356
15356
|
) })
|
15357
|
-
]
|
15357
|
+
] })
|
15358
15358
|
}
|
15359
15359
|
) }),
|
15360
15360
|
/* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|