visits-style 1.4.7 → 1.4.9

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.
@@ -27,6 +27,8 @@ export interface Props extends HTMLAttributes<HTMLDivElement> {
27
27
  onClose?: () => void;
28
28
  /** 開けた場合のコールバック */
29
29
  onOpen?: () => void;
30
+ /** popoverを閉じる処理を手動に設定します */
31
+ onManualClose?: () => void;
30
32
  /** コンテンツを出さない */
31
33
  disabled?: boolean;
32
34
  }
@@ -15,4 +15,4 @@ export interface ProgressProps extends HTMLAttributes<HTMLDivElement> {
15
15
  */
16
16
  color?: ColorType;
17
17
  }
18
- export default function Progress({ value, max, color, ...rest }: ProgressProps): import("react/jsx-runtime").JSX.Element;
18
+ export default function Progress({ value, max, color, height, size, ...rest }: ProgressProps): import("react/jsx-runtime").JSX.Element;
package/dist/index.cjs.js CHANGED
@@ -169,11 +169,11 @@ const Icon = /* @__PURE__ */ styledComponents.styled.span.withConfig({
169
169
  }) => theme.border, ({
170
170
  $right
171
171
  }) => $right ? rightIcon : leftIcon);
172
- function shouldForwardProp$7(name) {
172
+ function shouldForwardProp$9(name) {
173
173
  return name !== "outline" && name !== "error" && name !== "disabled";
174
174
  }
175
175
  const Wrapper$5 = /* @__PURE__ */ styledComponents.styled.span.withConfig({
176
- shouldForwardProp: shouldForwardProp$7
176
+ shouldForwardProp: shouldForwardProp$9
177
177
  }).withConfig({
178
178
  displayName: "TextInput__Wrapper",
179
179
  componentId: "sc-1myda3q-1"
@@ -222,11 +222,11 @@ const Textarea = React.forwardRef(({
222
222
  ] }));
223
223
  Textarea.displayName = "Textarea";
224
224
  const Textarea$1 = Textarea;
225
- function shouldForwardProp$6(name) {
225
+ function shouldForwardProp$8(name) {
226
226
  return name !== "error" && name !== "disabled";
227
227
  }
228
228
  const InputWrapper$2 = /* @__PURE__ */ styledComponents.styled.span.withConfig({
229
- shouldForwardProp: shouldForwardProp$6
229
+ shouldForwardProp: shouldForwardProp$8
230
230
  }).withConfig({
231
231
  displayName: "Textarea__InputWrapper",
232
232
  componentId: "sc-z9p0uf-0"
@@ -350,11 +350,11 @@ const Select = React.forwardRef(({
350
350
  });
351
351
  Select.displayName = "Select";
352
352
  const Select$1 = Select;
353
- function shouldForwardProp$5(name) {
353
+ function shouldForwardProp$7(name) {
354
354
  return name !== "error" && name !== "disabled" && name !== "inputSize" && name !== "outline";
355
355
  }
356
356
  const InputWrapper$1 = /* @__PURE__ */ styledComponents.styled.span.withConfig({
357
- shouldForwardProp: shouldForwardProp$5
357
+ shouldForwardProp: shouldForwardProp$7
358
358
  }).withConfig({
359
359
  displayName: "Select__InputWrapper",
360
360
  componentId: "sc-gevlx8-0"
@@ -462,11 +462,11 @@ const labelStyle = /* @__PURE__ */ styledComponents.css(["label:before{position:
462
462
  }) => onLabel, ({
463
463
  theme
464
464
  }) => findColorInvert(theme, theme.primary));
465
- function shouldForwardProp$4(name) {
465
+ function shouldForwardProp$6(name) {
466
466
  return name !== "labelTextOn" && name !== "labelTextOff" && name !== "anchorColor" && name !== "background" && name !== "showLabel";
467
467
  }
468
468
  const InputWrapper = /* @__PURE__ */ styledComponents.styled.span.withConfig({
469
- shouldForwardProp: shouldForwardProp$4
469
+ shouldForwardProp: shouldForwardProp$6
470
470
  }).withConfig({
471
471
  displayName: "Switch__InputWrapper",
472
472
  componentId: "sc-1ljdf1-0"
@@ -771,6 +771,7 @@ const Popover = React.forwardRef(({
771
771
  x: 0,
772
772
  y: 6
773
773
  },
774
+ onManualClose,
774
775
  ...rest
775
776
  }, ref) => {
776
777
  const [open, setOpen] = React.useState(false);
@@ -794,14 +795,12 @@ const Popover = React.forwardRef(({
794
795
  onOpenChange: setOpen,
795
796
  whileElementsMounted: react.autoUpdate
796
797
  });
797
- const handleFocus = React.useCallback((e) => {
798
- stopPropagation$1(e);
799
- setOpen(true);
800
- }, []);
801
798
  const handleBlur = React.useCallback((e) => {
802
799
  stopPropagation$1(e);
800
+ if (onManualClose)
801
+ return onManualClose();
803
802
  setOpen(false);
804
- }, []);
803
+ }, [onManualClose]);
805
804
  React.useEffect(() => {
806
805
  if (disabled && open) {
807
806
  setOpen(false);
@@ -814,9 +813,9 @@ const Popover = React.forwardRef(({
814
813
  return () => closeRef.current?.();
815
814
  }, [open]);
816
815
  React.useImperativeHandle(ref, () => ({
817
- open: handleFocus,
818
- close: handleBlur
819
- }), [handleFocus, handleBlur]);
816
+ open: () => setOpen(true),
817
+ close: () => setOpen(false)
818
+ }), []);
820
819
  const {
821
820
  getFloatingProps,
822
821
  getReferenceProps
@@ -1050,11 +1049,11 @@ function getColor$1({
1050
1049
  return styledComponents.css(["border-color:", ";border-right-color:", ";border-top-color:", ";"], value, theme.border, theme.border);
1051
1050
  }
1052
1051
  const spin = /* @__PURE__ */ styledComponents.keyframes(["from{transform:rotate(0deg);}to{transform:rotate(359deg);}"]);
1053
- function shouldForwardProp$3(name) {
1052
+ function shouldForwardProp$5(name) {
1054
1053
  return name !== "color" && name !== "size" && name !== "borderSize";
1055
1054
  }
1056
1055
  const Spinner = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1057
- shouldForwardProp: shouldForwardProp$3
1056
+ shouldForwardProp: shouldForwardProp$5
1058
1057
  }).withConfig({
1059
1058
  displayName: "Spinner",
1060
1059
  componentId: "sc-34g0il-0"
@@ -1090,6 +1089,8 @@ function setResponsive({
1090
1089
  }) => setGap(theme.media.mobile, theme.smallGutter));
1091
1090
  }
1092
1091
  const Container = styledComponents.styled.div.withConfig({
1092
+ shouldForwardProp: (name) => name !== "fluid"
1093
+ }).withConfig({
1093
1094
  displayName: "Container",
1094
1095
  componentId: "sc-1308ay5-0"
1095
1096
  })(["position:relative;width:100%;", ""], setResponsive);
@@ -1118,7 +1119,12 @@ function setAutoSize({
1118
1119
  const desktopSize = size >= 8 ? sizes[12] : sizes[Math.round(size * 1.5)];
1119
1120
  return styledComponents.css(["", "{flex-basis:", ";max-width:", ";}", "{flex-basis:", ";max-width:", ";}"], mediaDesktop, desktopSize, desktopSize, mediaMobile, mobileSize, mobileSize);
1120
1121
  }
1122
+ function shouldForwardProp$4(name) {
1123
+ return name !== "size" && name !== "offset" && name !== "auto";
1124
+ }
1121
1125
  const Col = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1126
+ shouldForwardProp: shouldForwardProp$4
1127
+ }).withConfig({
1122
1128
  displayName: "Col",
1123
1129
  componentId: "sc-16i9d04-0"
1124
1130
  })(["display:flex;flex:0 0 auto;flex-direction:row;flex-wrap:wrap;padding:", "px;", " ", " ", "{padding:", "px;}", ""], ({
@@ -1189,11 +1195,11 @@ function setColor({
1189
1195
  }
1190
1196
  return styledComponents.css(["background-color:", ";border-color:transparent;color:", ";box-shadow:none;&:hover{color:", ";background-color:", ";}&:active{background-color:", ";}&:focus:not(:active){", "}"], target, invertColor, invertColor, polished.darken(0.05, target), polished.darken(0.1, target), boxShadow("0.1rem", target, 0.5));
1191
1197
  }
1192
- function shouldForwardProp$2(name) {
1198
+ function shouldForwardProp$3(name) {
1193
1199
  return name !== "color" && name !== "size" && name !== "outline" && name !== "round" && name !== "icon";
1194
1200
  }
1195
1201
  const Button = styledComponents.styled.button.withConfig({
1196
- shouldForwardProp: shouldForwardProp$2
1202
+ shouldForwardProp: shouldForwardProp$3
1197
1203
  }).withConfig({
1198
1204
  displayName: "Button",
1199
1205
  componentId: "sc-f6cc58-0"
@@ -1208,11 +1214,11 @@ const Button = styledComponents.styled.button.withConfig({
1208
1214
  size
1209
1215
  }) => setSize("font-size", size));
1210
1216
 
1211
- function shouldForwardProp$1(name) {
1217
+ function shouldForwardProp$2(name) {
1212
1218
  return name !== "color" && name !== "size" && name !== "pure" && name !== "underline" && name !== "round" && name !== "icon";
1213
1219
  }
1214
1220
  const TextButton = styledComponents.styled.button.withConfig({
1215
- shouldForwardProp: shouldForwardProp$1
1221
+ shouldForwardProp: shouldForwardProp$2
1216
1222
  }).withConfig({
1217
1223
  displayName: "TextButton",
1218
1224
  componentId: "sc-14wzat7-0"
@@ -1263,7 +1269,12 @@ const ButtonGroup = styledComponents.styled.div.withConfig({
1263
1269
 
1264
1270
  const stripedStyle = /* @__PURE__ */ styledComponents.css(["tbody > tr:nth-child(odd){background-color:rgba(0,0,0,0.02);}"]);
1265
1271
  const hoverStyle = /* @__PURE__ */ styledComponents.css(["tbody > tr:hover{background-color:rgba(0,0,0,0.04);}"]);
1272
+ function shouldForwardProp$1(name) {
1273
+ return name !== "size" && name !== "full" && name !== "headerStyle" && name !== "bordered" && name !== "striped" && name !== "hover";
1274
+ }
1266
1275
  const index$1 = styledComponents.styled.table.withConfig({
1276
+ shouldForwardProp: shouldForwardProp$1
1277
+ }).withConfig({
1267
1278
  displayName: "Table",
1268
1279
  componentId: "sc-1x2nuaf-0"
1269
1280
  })(["", " max-width:100%;margin-bottom:1rem;background-color:transparent;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;td,th{vertical-align:top;padding:0.75rem;", " border-width:0 0 1px;}th{white-space:nowrap;}", " ", " ", ""], ({
@@ -1283,10 +1294,12 @@ function Progress({
1283
1294
  value,
1284
1295
  max,
1285
1296
  color = "primary",
1297
+ height,
1298
+ size,
1286
1299
  ...rest
1287
1300
  }) {
1288
1301
  const percent = React.useMemo(() => value ? Math.round(value / max * 100) : 0, [value, max]);
1289
- return /* @__PURE__ */ jsxRuntime.jsx(Wrapper$1, { color, ...rest, children: /* @__PURE__ */ jsxRuntime.jsx("div", { role: "progressbar", "aria-label": "progress", className: value !== max ? "in-progress" : void 0, style: {
1302
+ return /* @__PURE__ */ jsxRuntime.jsx(Wrapper$1, { $color: color, $height: height, $size: size, ...rest, children: /* @__PURE__ */ jsxRuntime.jsx("div", { role: "progressbar", "aria-label": "progress", className: value !== max ? "in-progress" : void 0, style: {
1290
1303
  width: `${percent > 100 ? 100 : percent}%`
1291
1304
  } }) });
1292
1305
  }
@@ -1298,14 +1311,14 @@ const Wrapper$1 = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1298
1311
  }) => theme.radius, ({
1299
1312
  theme
1300
1313
  }) => theme.background, ({
1301
- size,
1302
- height
1303
- }) => height || setSize("height", size), ({
1314
+ $size,
1315
+ $height
1316
+ }) => $height || setSize("height", $size), ({
1304
1317
  theme
1305
1318
  }) => theme.radius, ({
1306
- color,
1319
+ $color,
1307
1320
  theme
1308
- }) => theme[color] || color);
1321
+ }) => theme[$color] || $color);
1309
1322
 
1310
1323
  const index = styledComponents.styled.hr.withConfig({
1311
1324
  displayName: "Divider",
package/dist/index.es.js CHANGED
@@ -161,11 +161,11 @@ const Icon = /* @__PURE__ */ styled.span.withConfig({
161
161
  }) => theme.border, ({
162
162
  $right
163
163
  }) => $right ? rightIcon : leftIcon);
164
- function shouldForwardProp$7(name) {
164
+ function shouldForwardProp$9(name) {
165
165
  return name !== "outline" && name !== "error" && name !== "disabled";
166
166
  }
167
167
  const Wrapper$5 = /* @__PURE__ */ styled.span.withConfig({
168
- shouldForwardProp: shouldForwardProp$7
168
+ shouldForwardProp: shouldForwardProp$9
169
169
  }).withConfig({
170
170
  displayName: "TextInput__Wrapper",
171
171
  componentId: "sc-1myda3q-1"
@@ -214,11 +214,11 @@ const Textarea = forwardRef(({
214
214
  ] }));
215
215
  Textarea.displayName = "Textarea";
216
216
  const Textarea$1 = Textarea;
217
- function shouldForwardProp$6(name) {
217
+ function shouldForwardProp$8(name) {
218
218
  return name !== "error" && name !== "disabled";
219
219
  }
220
220
  const InputWrapper$2 = /* @__PURE__ */ styled.span.withConfig({
221
- shouldForwardProp: shouldForwardProp$6
221
+ shouldForwardProp: shouldForwardProp$8
222
222
  }).withConfig({
223
223
  displayName: "Textarea__InputWrapper",
224
224
  componentId: "sc-z9p0uf-0"
@@ -342,11 +342,11 @@ const Select = forwardRef(({
342
342
  });
343
343
  Select.displayName = "Select";
344
344
  const Select$1 = Select;
345
- function shouldForwardProp$5(name) {
345
+ function shouldForwardProp$7(name) {
346
346
  return name !== "error" && name !== "disabled" && name !== "inputSize" && name !== "outline";
347
347
  }
348
348
  const InputWrapper$1 = /* @__PURE__ */ styled.span.withConfig({
349
- shouldForwardProp: shouldForwardProp$5
349
+ shouldForwardProp: shouldForwardProp$7
350
350
  }).withConfig({
351
351
  displayName: "Select__InputWrapper",
352
352
  componentId: "sc-gevlx8-0"
@@ -454,11 +454,11 @@ const labelStyle = /* @__PURE__ */ css(["label:before{position:absolute;display:
454
454
  }) => onLabel, ({
455
455
  theme
456
456
  }) => findColorInvert(theme, theme.primary));
457
- function shouldForwardProp$4(name) {
457
+ function shouldForwardProp$6(name) {
458
458
  return name !== "labelTextOn" && name !== "labelTextOff" && name !== "anchorColor" && name !== "background" && name !== "showLabel";
459
459
  }
460
460
  const InputWrapper = /* @__PURE__ */ styled.span.withConfig({
461
- shouldForwardProp: shouldForwardProp$4
461
+ shouldForwardProp: shouldForwardProp$6
462
462
  }).withConfig({
463
463
  displayName: "Switch__InputWrapper",
464
464
  componentId: "sc-1ljdf1-0"
@@ -763,6 +763,7 @@ const Popover = forwardRef(({
763
763
  x: 0,
764
764
  y: 6
765
765
  },
766
+ onManualClose,
766
767
  ...rest
767
768
  }, ref) => {
768
769
  const [open, setOpen] = useState(false);
@@ -786,14 +787,12 @@ const Popover = forwardRef(({
786
787
  onOpenChange: setOpen,
787
788
  whileElementsMounted: autoUpdate
788
789
  });
789
- const handleFocus = useCallback((e) => {
790
- stopPropagation$1(e);
791
- setOpen(true);
792
- }, []);
793
790
  const handleBlur = useCallback((e) => {
794
791
  stopPropagation$1(e);
792
+ if (onManualClose)
793
+ return onManualClose();
795
794
  setOpen(false);
796
- }, []);
795
+ }, [onManualClose]);
797
796
  useEffect(() => {
798
797
  if (disabled && open) {
799
798
  setOpen(false);
@@ -806,9 +805,9 @@ const Popover = forwardRef(({
806
805
  return () => closeRef.current?.();
807
806
  }, [open]);
808
807
  useImperativeHandle(ref, () => ({
809
- open: handleFocus,
810
- close: handleBlur
811
- }), [handleFocus, handleBlur]);
808
+ open: () => setOpen(true),
809
+ close: () => setOpen(false)
810
+ }), []);
812
811
  const {
813
812
  getFloatingProps,
814
813
  getReferenceProps
@@ -1042,11 +1041,11 @@ function getColor$1({
1042
1041
  return css(["border-color:", ";border-right-color:", ";border-top-color:", ";"], value, theme.border, theme.border);
1043
1042
  }
1044
1043
  const spin = /* @__PURE__ */ keyframes(["from{transform:rotate(0deg);}to{transform:rotate(359deg);}"]);
1045
- function shouldForwardProp$3(name) {
1044
+ function shouldForwardProp$5(name) {
1046
1045
  return name !== "color" && name !== "size" && name !== "borderSize";
1047
1046
  }
1048
1047
  const Spinner = /* @__PURE__ */ styled.div.withConfig({
1049
- shouldForwardProp: shouldForwardProp$3
1048
+ shouldForwardProp: shouldForwardProp$5
1050
1049
  }).withConfig({
1051
1050
  displayName: "Spinner",
1052
1051
  componentId: "sc-34g0il-0"
@@ -1082,6 +1081,8 @@ function setResponsive({
1082
1081
  }) => setGap(theme.media.mobile, theme.smallGutter));
1083
1082
  }
1084
1083
  const Container = styled.div.withConfig({
1084
+ shouldForwardProp: (name) => name !== "fluid"
1085
+ }).withConfig({
1085
1086
  displayName: "Container",
1086
1087
  componentId: "sc-1308ay5-0"
1087
1088
  })(["position:relative;width:100%;", ""], setResponsive);
@@ -1110,7 +1111,12 @@ function setAutoSize({
1110
1111
  const desktopSize = size >= 8 ? sizes[12] : sizes[Math.round(size * 1.5)];
1111
1112
  return css(["", "{flex-basis:", ";max-width:", ";}", "{flex-basis:", ";max-width:", ";}"], mediaDesktop, desktopSize, desktopSize, mediaMobile, mobileSize, mobileSize);
1112
1113
  }
1114
+ function shouldForwardProp$4(name) {
1115
+ return name !== "size" && name !== "offset" && name !== "auto";
1116
+ }
1113
1117
  const Col = /* @__PURE__ */ styled.div.withConfig({
1118
+ shouldForwardProp: shouldForwardProp$4
1119
+ }).withConfig({
1114
1120
  displayName: "Col",
1115
1121
  componentId: "sc-16i9d04-0"
1116
1122
  })(["display:flex;flex:0 0 auto;flex-direction:row;flex-wrap:wrap;padding:", "px;", " ", " ", "{padding:", "px;}", ""], ({
@@ -1181,11 +1187,11 @@ function setColor({
1181
1187
  }
1182
1188
  return css(["background-color:", ";border-color:transparent;color:", ";box-shadow:none;&:hover{color:", ";background-color:", ";}&:active{background-color:", ";}&:focus:not(:active){", "}"], target, invertColor, invertColor, darken(0.05, target), darken(0.1, target), boxShadow("0.1rem", target, 0.5));
1183
1189
  }
1184
- function shouldForwardProp$2(name) {
1190
+ function shouldForwardProp$3(name) {
1185
1191
  return name !== "color" && name !== "size" && name !== "outline" && name !== "round" && name !== "icon";
1186
1192
  }
1187
1193
  const Button = styled.button.withConfig({
1188
- shouldForwardProp: shouldForwardProp$2
1194
+ shouldForwardProp: shouldForwardProp$3
1189
1195
  }).withConfig({
1190
1196
  displayName: "Button",
1191
1197
  componentId: "sc-f6cc58-0"
@@ -1200,11 +1206,11 @@ const Button = styled.button.withConfig({
1200
1206
  size
1201
1207
  }) => setSize("font-size", size));
1202
1208
 
1203
- function shouldForwardProp$1(name) {
1209
+ function shouldForwardProp$2(name) {
1204
1210
  return name !== "color" && name !== "size" && name !== "pure" && name !== "underline" && name !== "round" && name !== "icon";
1205
1211
  }
1206
1212
  const TextButton = styled.button.withConfig({
1207
- shouldForwardProp: shouldForwardProp$1
1213
+ shouldForwardProp: shouldForwardProp$2
1208
1214
  }).withConfig({
1209
1215
  displayName: "TextButton",
1210
1216
  componentId: "sc-14wzat7-0"
@@ -1255,7 +1261,12 @@ const ButtonGroup = styled.div.withConfig({
1255
1261
 
1256
1262
  const stripedStyle = /* @__PURE__ */ css(["tbody > tr:nth-child(odd){background-color:rgba(0,0,0,0.02);}"]);
1257
1263
  const hoverStyle = /* @__PURE__ */ css(["tbody > tr:hover{background-color:rgba(0,0,0,0.04);}"]);
1264
+ function shouldForwardProp$1(name) {
1265
+ return name !== "size" && name !== "full" && name !== "headerStyle" && name !== "bordered" && name !== "striped" && name !== "hover";
1266
+ }
1258
1267
  const index$1 = styled.table.withConfig({
1268
+ shouldForwardProp: shouldForwardProp$1
1269
+ }).withConfig({
1259
1270
  displayName: "Table",
1260
1271
  componentId: "sc-1x2nuaf-0"
1261
1272
  })(["", " max-width:100%;margin-bottom:1rem;background-color:transparent;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;td,th{vertical-align:top;padding:0.75rem;", " border-width:0 0 1px;}th{white-space:nowrap;}", " ", " ", ""], ({
@@ -1275,10 +1286,12 @@ function Progress({
1275
1286
  value,
1276
1287
  max,
1277
1288
  color = "primary",
1289
+ height,
1290
+ size,
1278
1291
  ...rest
1279
1292
  }) {
1280
1293
  const percent = useMemo(() => value ? Math.round(value / max * 100) : 0, [value, max]);
1281
- return /* @__PURE__ */ jsx(Wrapper$1, { color, ...rest, children: /* @__PURE__ */ jsx("div", { role: "progressbar", "aria-label": "progress", className: value !== max ? "in-progress" : void 0, style: {
1294
+ return /* @__PURE__ */ jsx(Wrapper$1, { $color: color, $height: height, $size: size, ...rest, children: /* @__PURE__ */ jsx("div", { role: "progressbar", "aria-label": "progress", className: value !== max ? "in-progress" : void 0, style: {
1282
1295
  width: `${percent > 100 ? 100 : percent}%`
1283
1296
  } }) });
1284
1297
  }
@@ -1290,14 +1303,14 @@ const Wrapper$1 = /* @__PURE__ */ styled.div.withConfig({
1290
1303
  }) => theme.radius, ({
1291
1304
  theme
1292
1305
  }) => theme.background, ({
1293
- size,
1294
- height
1295
- }) => height || setSize("height", size), ({
1306
+ $size,
1307
+ $height
1308
+ }) => $height || setSize("height", $size), ({
1296
1309
  theme
1297
1310
  }) => theme.radius, ({
1298
- color,
1311
+ $color,
1299
1312
  theme
1300
- }) => theme[color] || color);
1313
+ }) => theme[$color] || $color);
1301
1314
 
1302
1315
  const index = styled.hr.withConfig({
1303
1316
  displayName: "Divider",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "visits-style",
3
3
  "repository": "https://github.com/visits-works/visits-style",
4
4
  "homepage": "https://github.com/visits-works/visits-style",
5
- "version": "1.4.7",
5
+ "version": "1.4.9",
6
6
  "type": "module",
7
7
  "main": "./dist/index.cjs.js",
8
8
  "module": "./dist/index.es.js",