@lets-events/react 11.4.0 → 11.4.1

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @lets-events/react@11.4.0 build
2
+ > @lets-events/react@11.4.1 build
3
3
  > tsup src/index.tsx --format esm,cjs --dts --external react
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -8,11 +8,11 @@
8
8
  CLI Target: es6
9
9
  ESM Build start
10
10
  CJS Build start
11
- CJS dist\index.js 299.87 KB
12
- CJS ⚡️ Build success in 220ms
13
- ESM dist\index.mjs 289.81 KB
14
- ESM ⚡️ Build success in 221ms
11
+ CJS dist\index.js 299.90 KB
12
+ CJS ⚡️ Build success in 233ms
13
+ ESM dist\index.mjs 289.83 KB
14
+ ESM ⚡️ Build success in 235ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 3887ms
17
- DTS dist\index.d.mts 387.91 KB
18
- DTS dist\index.d.ts 387.91 KB
16
+ DTS ⚡️ Build success in 4108ms
17
+ DTS dist\index.d.mts 387.93 KB
18
+ DTS dist\index.d.ts 387.93 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @lets-events/react
2
2
 
3
+ ## 11.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - fix multiselect zindex
8
+
3
9
  ## 11.4.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -13328,6 +13328,7 @@ type MultiSelectProps = ComponentProps<typeof StyledTrigger> & {
13328
13328
  value: string;
13329
13329
  }>;
13330
13330
  width?: string;
13331
+ zIndex?: string;
13331
13332
  };
13332
13333
  declare const MultiSelect: react__default.ForwardRefExoticComponent<Omit<MultiSelectProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
13333
13334
 
package/dist/index.d.ts CHANGED
@@ -13328,6 +13328,7 @@ type MultiSelectProps = ComponentProps<typeof StyledTrigger> & {
13328
13328
  value: string;
13329
13329
  }>;
13330
13330
  width?: string;
13331
+ zIndex?: string;
13331
13332
  };
13332
13333
  declare const MultiSelect: react__default.ForwardRefExoticComponent<Omit<MultiSelectProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
13333
13334
 
package/dist/index.js CHANGED
@@ -9292,7 +9292,6 @@ var StyledTrigger = styled("div", {
9292
9292
  var itemStyle = {
9293
9293
  padding: "$4 $16",
9294
9294
  minHeight: "$32",
9295
- height: "32px",
9296
9295
  boxSizing: "border-box",
9297
9296
  backgroundColor: "$dark50",
9298
9297
  display: "block",
@@ -9327,7 +9326,8 @@ var MultiSelect = import_react15.default.forwardRef(
9327
9326
  onValueChange,
9328
9327
  options,
9329
9328
  color,
9330
- width = "100%"
9329
+ width = "100%",
9330
+ zIndex = "auto"
9331
9331
  }, fowardedRef) => {
9332
9332
  var _a;
9333
9333
  const [isOpen, setIsOpen] = (0, import_react14.useState)(false);
@@ -9397,7 +9397,8 @@ var MultiSelect = import_react15.default.forwardRef(
9397
9397
  StyledContent,
9398
9398
  {
9399
9399
  css: {
9400
- width: menuWidth ? menuWidth + "px" : width
9400
+ width: menuWidth ? menuWidth + "px" : width,
9401
+ zIndex
9401
9402
  },
9402
9403
  children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
9403
9404
  CheckboxGroup,
package/dist/index.mjs CHANGED
@@ -9201,7 +9201,6 @@ var StyledTrigger = styled("div", {
9201
9201
  var itemStyle = {
9202
9202
  padding: "$4 $16",
9203
9203
  minHeight: "$32",
9204
- height: "32px",
9205
9204
  boxSizing: "border-box",
9206
9205
  backgroundColor: "$dark50",
9207
9206
  display: "block",
@@ -9236,7 +9235,8 @@ var MultiSelect = React7.forwardRef(
9236
9235
  onValueChange,
9237
9236
  options,
9238
9237
  color,
9239
- width = "100%"
9238
+ width = "100%",
9239
+ zIndex = "auto"
9240
9240
  }, fowardedRef) => {
9241
9241
  var _a;
9242
9242
  const [isOpen, setIsOpen] = useState6(false);
@@ -9306,7 +9306,8 @@ var MultiSelect = React7.forwardRef(
9306
9306
  StyledContent,
9307
9307
  {
9308
9308
  css: {
9309
- width: menuWidth ? menuWidth + "px" : width
9309
+ width: menuWidth ? menuWidth + "px" : width,
9310
+ zIndex
9310
9311
  },
9311
9312
  children: /* @__PURE__ */ jsx26(
9312
9313
  CheckboxGroup,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lets-events/react",
3
- "version": "11.4.0",
3
+ "version": "11.4.1",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -53,12 +53,6 @@ export const MultiSelectFormField = ({
53
53
  color={haveError ? "error" : "default"}
54
54
  {...rest}
55
55
  />
56
- {/* <TextareaField
57
- {...register(name, { required })}
58
- placeholder={placeholder}
59
- color={haveError ? "error" : "default"}
60
- aria-labelledby={`${name}-label`}
61
- /> */}
62
56
  <ErrorFormMessage message={errorMsg} />
63
57
  </Flex>
64
58
  );
@@ -55,7 +55,6 @@ const StyledTrigger = styled("div", {
55
55
  const itemStyle: CSS = {
56
56
  padding: "$4 $16",
57
57
  minHeight: "$32",
58
- height: "32px",
59
58
  boxSizing: "border-box",
60
59
  backgroundColor: "$dark50",
61
60
  display: "block",
@@ -97,6 +96,7 @@ export type MultiSelectProps = ComponentProps<typeof StyledTrigger> & {
97
96
  value: string;
98
97
  }>;
99
98
  width?: string;
99
+ zIndex?: string;
100
100
  };
101
101
 
102
102
  export const MultiSelect = React.forwardRef<HTMLDivElement, MultiSelectProps>(
@@ -108,6 +108,7 @@ export const MultiSelect = React.forwardRef<HTMLDivElement, MultiSelectProps>(
108
108
  options,
109
109
  color,
110
110
  width = "100%",
111
+ zIndex = "auto",
111
112
  },
112
113
  fowardedRef
113
114
  ) => {
@@ -192,6 +193,7 @@ export const MultiSelect = React.forwardRef<HTMLDivElement, MultiSelectProps>(
192
193
  <StyledContent
193
194
  css={{
194
195
  width: menuWidth ? menuWidth + "px" : width,
196
+ zIndex,
195
197
  }}
196
198
  >
197
199
  <CheckboxGroup