@lets-events/react 12.3.4 → 12.3.6

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@12.3.4 build
2
+ > @lets-events/react@12.3.6 build
3
3
  > tsup src/index.tsx --format esm,cjs --dts --external react
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -9,11 +9,11 @@
9
9
  CLI Target: es6
10
10
  ESM Build start
11
11
  CJS Build start
12
- CJS dist\index.js 394.17 KB
13
- CJS ⚡️ Build success in 228ms
14
- ESM dist\index.mjs 380.11 KB
15
- ESM ⚡️ Build success in 229ms
12
+ ESM dist\index.mjs 379.86 KB
13
+ ESM ⚡️ Build success in 293ms
14
+ CJS dist\index.js 393.92 KB
15
+ CJS ⚡️ Build success in 294ms
16
16
  DTS Build start
17
- DTS ⚡️ Build success in 4622ms
17
+ DTS ⚡️ Build success in 4658ms
18
18
  DTS dist\index.d.mts 401.14 KB
19
19
  DTS dist\index.d.ts 401.14 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @lets-events/react
2
2
 
3
+ ## 12.3.6
4
+
5
+ ### Patch Changes
6
+
7
+ - fix
8
+
9
+ ## 12.3.5
10
+
11
+ ### Patch Changes
12
+
13
+ - fix drawer
14
+
3
15
  ## 12.3.4
4
16
 
5
17
  ### Patch Changes
package/dist/index.js CHANGED
@@ -8264,6 +8264,7 @@ function Drawer({
8264
8264
  zIndex: zIndex + 1,
8265
8265
  width: width != null ? width : "34.25rem"
8266
8266
  },
8267
+ open: isOpen,
8267
8268
  children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
8268
8269
  DrawerContainerStyled,
8269
8270
  {
@@ -8279,13 +8280,6 @@ function Drawer({
8279
8280
  ] }),
8280
8281
  /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(DrawerHeaderCloseButton, { onClick: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Icon_default, { size: "xl", color: "$dark600", name: "xmark" }) })
8281
8282
  ] }),
8282
- isOpen ? children : null,
8283
- isOpen ? children : null,
8284
- isOpen ? children : null,
8285
- isOpen ? children : null,
8286
- isOpen ? children : null,
8287
- isOpen ? children : null,
8288
- isOpen ? children : null,
8289
8283
  isOpen ? children : null
8290
8284
  ]
8291
8285
  }
package/dist/index.mjs CHANGED
@@ -8152,6 +8152,7 @@ function Drawer({
8152
8152
  zIndex: zIndex + 1,
8153
8153
  width: width != null ? width : "34.25rem"
8154
8154
  },
8155
+ open: isOpen,
8155
8156
  children: /* @__PURE__ */ jsxs7(
8156
8157
  DrawerContainerStyled,
8157
8158
  {
@@ -8167,13 +8168,6 @@ function Drawer({
8167
8168
  ] }),
8168
8169
  /* @__PURE__ */ jsx16(DrawerHeaderCloseButton, { onClick: onClose, children: /* @__PURE__ */ jsx16(Icon_default, { size: "xl", color: "$dark600", name: "xmark" }) })
8169
8170
  ] }),
8170
- isOpen ? children : null,
8171
- isOpen ? children : null,
8172
- isOpen ? children : null,
8173
- isOpen ? children : null,
8174
- isOpen ? children : null,
8175
- isOpen ? children : null,
8176
- isOpen ? children : null,
8177
8171
  isOpen ? children : null
8178
8172
  ]
8179
8173
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lets-events/react",
3
- "version": "12.3.4",
3
+ "version": "12.3.6",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -50,6 +50,7 @@ export function Drawer({
50
50
  zIndex: zIndex + 1,
51
51
  width: width ?? "34.25rem",
52
52
  }}
53
+ open={isOpen}
53
54
  >
54
55
  <DrawerContainerStyled
55
56
  open={isOpen}
@@ -71,13 +72,6 @@ export function Drawer({
71
72
  </DrawerHeaderCloseButton>
72
73
  </DrawerHeaderDiv>
73
74
  {isOpen ? children : null}
74
- {isOpen ? children : null}
75
- {isOpen ? children : null}
76
- {isOpen ? children : null}
77
- {isOpen ? children : null}
78
- {isOpen ? children : null}
79
- {isOpen ? children : null}
80
- {isOpen ? children : null}
81
75
  </DrawerContainerStyled>
82
76
  </DrawerWrapper>
83
77
  </>