@firecms/ui 3.0.0-canary.93 → 3.0.0-canary.95
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/components/Chip.d.ts +2 -1
- package/dist/index.es.js +4 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +4 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/components/Chip.tsx +4 -1
@@ -14,8 +14,9 @@ export interface ChipProps {
|
|
14
14
|
outlined?: boolean;
|
15
15
|
onClick?: () => void;
|
16
16
|
icon?: React.ReactNode;
|
17
|
+
style?: React.CSSProperties;
|
17
18
|
}
|
18
19
|
/**
|
19
20
|
* @group Preview components
|
20
21
|
*/
|
21
|
-
export declare function Chip({ children, colorScheme, error, outlined, onClick, icon, size, className }: ChipProps): import("react/jsx-runtime").JSX.Element;
|
22
|
+
export declare function Chip({ children, colorScheme, error, outlined, onClick, icon, size, className, style }: ChipProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/index.es.js
CHANGED
@@ -14820,7 +14820,8 @@ function Chip({
|
|
14820
14820
|
onClick,
|
14821
14821
|
icon,
|
14822
14822
|
size = "medium",
|
14823
|
-
className
|
14823
|
+
className,
|
14824
|
+
style
|
14824
14825
|
}) {
|
14825
14826
|
const usedColorScheme = typeof colorScheme === "string" ? getColorSchemeForKey(colorScheme) : colorScheme;
|
14826
14827
|
return /* @__PURE__ */ jsxs(
|
@@ -14839,7 +14840,8 @@ function Chip({
|
|
14839
14840
|
style: {
|
14840
14841
|
backgroundColor: error || !usedColorScheme ? void 0 : usedColorScheme.color,
|
14841
14842
|
color: error || !usedColorScheme ? void 0 : usedColorScheme.text,
|
14842
|
-
overflow: "hidden"
|
14843
|
+
overflow: "hidden",
|
14844
|
+
...style
|
14843
14845
|
// display: "-webkit-box",
|
14844
14846
|
// WebkitLineClamp: 1,
|
14845
14847
|
// WebkitBoxOrient: "vertical",
|