@umami/react-zen 0.133.0 → 0.135.0

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/index.d.mts CHANGED
@@ -113,11 +113,12 @@ interface BoxProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
113
113
  gridRow?: Responsive<string>;
114
114
  gridColumn?: Responsive<string>;
115
115
  order?: Responsive<number>;
116
+ zIndex?: Responsive<number>;
116
117
  theme?: string;
117
118
  as?: string;
118
119
  asChild?: boolean;
119
120
  }
120
- declare function Box({ display, color, backgroundColor, hoverColor, hoverBackgroundColor, hoverBorderColor, fontSize, fontWeight, border, borderColor, borderRadius, shadow, padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft, margin, marginX, marginY, marginTop, marginRight, marginBottom, marginLeft, width, minWidth, maxWidth, height, minHeight, maxHeight, position, textAlign, top, right, bottom, left, overflow, overflowX, overflowY, alignSelf, justifySelf, flexBasis, flexGrow, flexShrink, gridArea, gridRow, gridColumn, order, theme, as, asChild, className, style, children, ...props }: BoxProps): react.JSX.Element;
121
+ declare function Box({ display, color, backgroundColor, hoverColor, hoverBackgroundColor, hoverBorderColor, fontSize, fontWeight, border, borderColor, borderRadius, shadow, padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft, margin, marginX, marginY, marginTop, marginRight, marginBottom, marginLeft, width, minWidth, maxWidth, height, minHeight, maxHeight, position, textAlign, top, right, bottom, left, overflow, overflowX, overflowY, alignSelf, justifySelf, flexBasis, flexGrow, flexShrink, gridArea, gridRow, gridColumn, order, zIndex, theme, as, asChild, className, style, children, ...props }: BoxProps): react.JSX.Element;
121
122
 
122
123
  interface FlexboxProps extends Omit<BoxProps, 'display'> {
123
124
  display?: Responsive<FlexDisplay>;
@@ -550,8 +551,8 @@ declare function SearchField({ label, placeholder, value, defaultValue, delay, o
550
551
 
551
552
  interface SelectProps extends SelectProps$1<HTMLSelectElement> {
552
553
  items?: any[];
553
- value?: string;
554
- defaultValue?: string;
554
+ value?: string | number;
555
+ defaultValue?: string | number;
555
556
  label?: string;
556
557
  isLoading?: boolean;
557
558
  allowSearch?: boolean;
package/dist/index.d.ts CHANGED
@@ -113,11 +113,12 @@ interface BoxProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
113
113
  gridRow?: Responsive<string>;
114
114
  gridColumn?: Responsive<string>;
115
115
  order?: Responsive<number>;
116
+ zIndex?: Responsive<number>;
116
117
  theme?: string;
117
118
  as?: string;
118
119
  asChild?: boolean;
119
120
  }
120
- declare function Box({ display, color, backgroundColor, hoverColor, hoverBackgroundColor, hoverBorderColor, fontSize, fontWeight, border, borderColor, borderRadius, shadow, padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft, margin, marginX, marginY, marginTop, marginRight, marginBottom, marginLeft, width, minWidth, maxWidth, height, minHeight, maxHeight, position, textAlign, top, right, bottom, left, overflow, overflowX, overflowY, alignSelf, justifySelf, flexBasis, flexGrow, flexShrink, gridArea, gridRow, gridColumn, order, theme, as, asChild, className, style, children, ...props }: BoxProps): react.JSX.Element;
121
+ declare function Box({ display, color, backgroundColor, hoverColor, hoverBackgroundColor, hoverBorderColor, fontSize, fontWeight, border, borderColor, borderRadius, shadow, padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft, margin, marginX, marginY, marginTop, marginRight, marginBottom, marginLeft, width, minWidth, maxWidth, height, minHeight, maxHeight, position, textAlign, top, right, bottom, left, overflow, overflowX, overflowY, alignSelf, justifySelf, flexBasis, flexGrow, flexShrink, gridArea, gridRow, gridColumn, order, zIndex, theme, as, asChild, className, style, children, ...props }: BoxProps): react.JSX.Element;
121
122
 
122
123
  interface FlexboxProps extends Omit<BoxProps, 'display'> {
123
124
  display?: Responsive<FlexDisplay>;
@@ -550,8 +551,8 @@ declare function SearchField({ label, placeholder, value, defaultValue, delay, o
550
551
 
551
552
  interface SelectProps extends SelectProps$1<HTMLSelectElement> {
552
553
  items?: any[];
553
- value?: string;
554
- defaultValue?: string;
554
+ value?: string | number;
555
+ defaultValue?: string | number;
555
556
  label?: string;
556
557
  isLoading?: boolean;
557
558
  allowSearch?: boolean;
package/dist/index.js CHANGED
@@ -25904,6 +25904,7 @@ var cssMap = {
25904
25904
  bottom: "bottom",
25905
25905
  left: "left",
25906
25906
  order: "order",
25907
+ zIndex: "z-index",
25907
25908
  textTransform: "text-transform"
25908
25909
  };
25909
25910
  var aliasMap = {
@@ -25936,7 +25937,8 @@ var excludedProps = [
25936
25937
  "right",
25937
25938
  "bottom",
25938
25939
  "left",
25939
- "order"
25940
+ "order",
25941
+ "zIndex"
25940
25942
  ];
25941
25943
  function parseValue(name, value) {
25942
25944
  if (/^\d+$/.test(value)) {
@@ -26211,6 +26213,7 @@ function Box({
26211
26213
  gridRow,
26212
26214
  gridColumn,
26213
26215
  order,
26216
+ zIndex,
26214
26217
  theme,
26215
26218
  as = "div",
26216
26219
  asChild,
@@ -26270,7 +26273,8 @@ function Box({
26270
26273
  gridArea,
26271
26274
  gridRow,
26272
26275
  gridColumn,
26273
- order
26276
+ order,
26277
+ zIndex
26274
26278
  });
26275
26279
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
26276
26280
  Component,
package/dist/index.mjs CHANGED
@@ -25789,6 +25789,7 @@ var cssMap = {
25789
25789
  bottom: "bottom",
25790
25790
  left: "left",
25791
25791
  order: "order",
25792
+ zIndex: "z-index",
25792
25793
  textTransform: "text-transform"
25793
25794
  };
25794
25795
  var aliasMap = {
@@ -25821,7 +25822,8 @@ var excludedProps = [
25821
25822
  "right",
25822
25823
  "bottom",
25823
25824
  "left",
25824
- "order"
25825
+ "order",
25826
+ "zIndex"
25825
25827
  ];
25826
25828
  function parseValue(name, value) {
25827
25829
  if (/^\d+$/.test(value)) {
@@ -26096,6 +26098,7 @@ function Box({
26096
26098
  gridRow,
26097
26099
  gridColumn,
26098
26100
  order,
26101
+ zIndex,
26099
26102
  theme,
26100
26103
  as = "div",
26101
26104
  asChild,
@@ -26155,7 +26158,8 @@ function Box({
26155
26158
  gridArea,
26156
26159
  gridRow,
26157
26160
  gridColumn,
26158
- order
26161
+ order,
26162
+ zIndex
26159
26163
  });
26160
26164
  return /* @__PURE__ */ jsx8(
26161
26165
  Component,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umami/react-zen",
3
- "version": "0.133.0",
3
+ "version": "0.135.0",
4
4
  "description": "Modern, minimalist React component library",
5
5
  "author": "Umami <hello@umami.is>",
6
6
  "license": "MIT",