@majoo-ui/react 1.58.20-rc.2 → 1.58.20-rc.3

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.
@@ -54,9 +54,7 @@ export declare const ModalDialogFooter: import("@stitches/react/types/styled-com
54
54
  }) => {
55
55
  marginBottom: {
56
56
  readonly [$$ScaleValue]: "space";
57
- }; /**
58
- * @deprecated Use size or css props css={{width: width css property}} instead. This will be deleted in the future to limit unnecessary props.
59
- */
57
+ };
60
58
  };
61
59
  ml: (value: {
62
60
  readonly [$$ScaleValue]: "space";
@@ -152,9 +150,7 @@ export declare const ModalDialogTitle: import("@stitches/react/types/styled-comp
152
150
  }) => {
153
151
  marginBottom: {
154
152
  readonly [$$ScaleValue]: "space";
155
- }; /**
156
- * @deprecated Use size or css props css={{width: width css property}} instead. This will be deleted in the future to limit unnecessary props.
157
- */
153
+ };
158
154
  };
159
155
  ml: (value: {
160
156
  readonly [$$ScaleValue]: "space";
@@ -250,9 +246,7 @@ export declare const ModalDialogContent: import("@stitches/react/types/styled-co
250
246
  }) => {
251
247
  marginBottom: {
252
248
  readonly [$$ScaleValue]: "space";
253
- }; /**
254
- * @deprecated Use size or css props css={{width: width css property}} instead. This will be deleted in the future to limit unnecessary props.
255
- */
249
+ };
256
250
  };
257
251
  ml: (value: {
258
252
  readonly [$$ScaleValue]: "space";
@@ -296,7 +290,7 @@ export declare const ModalDialogContent: import("@stitches/react/types/styled-co
296
290
  backgroundColor: string;
297
291
  };
298
292
  }>>;
299
- export declare const ModalDialogTrigger: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>, {}, {
293
+ export declare const ModalDialogTrigger: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
300
294
  sm: "(min-width: 359px)";
301
295
  md: "(min-width: 767px)";
302
296
  lg: "(min-width: 1023px)";
@@ -348,9 +342,7 @@ export declare const ModalDialogTrigger: import("@stitches/react/types/styled-co
348
342
  }) => {
349
343
  marginBottom: {
350
344
  readonly [$$ScaleValue]: "space";
351
- }; /**
352
- * @deprecated Use size or css props css={{width: width css property}} instead. This will be deleted in the future to limit unnecessary props.
353
- */
345
+ };
354
346
  };
355
347
  ml: (value: {
356
348
  readonly [$$ScaleValue]: "space";
@@ -437,7 +429,7 @@ interface ModalDialogProps extends Omit<IDialog, 'children'>, DialogContentProps
437
429
  */
438
430
  declare const ModalDialog: {
439
431
  (props: ModalDialogProps): JSX.Element;
440
- Trigger: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>, {}, {
432
+ Trigger: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
441
433
  sm: "(min-width: 359px)";
442
434
  md: "(min-width: 767px)";
443
435
  lg: "(min-width: 1023px)";
@@ -489,9 +481,7 @@ declare const ModalDialog: {
489
481
  }) => {
490
482
  marginBottom: {
491
483
  readonly [$$ScaleValue]: "space";
492
- }; /**
493
- * @deprecated Use size or css props css={{width: width css property}} instead. This will be deleted in the future to limit unnecessary props.
494
- */
484
+ };
495
485
  };
496
486
  ml: (value: {
497
487
  readonly [$$ScaleValue]: "space";
@@ -587,9 +577,7 @@ declare const ModalDialog: {
587
577
  }) => {
588
578
  marginBottom: {
589
579
  readonly [$$ScaleValue]: "space";
590
- }; /**
591
- * @deprecated Use size or css props css={{width: width css property}} instead. This will be deleted in the future to limit unnecessary props.
592
- */
580
+ };
593
581
  };
594
582
  ml: (value: {
595
583
  readonly [$$ScaleValue]: "space";
@@ -685,9 +673,7 @@ declare const ModalDialog: {
685
673
  }) => {
686
674
  marginBottom: {
687
675
  readonly [$$ScaleValue]: "space";
688
- }; /**
689
- * @deprecated Use size or css props css={{width: width css property}} instead. This will be deleted in the future to limit unnecessary props.
690
- */
676
+ };
691
677
  };
692
678
  ml: (value: {
693
679
  readonly [$$ScaleValue]: "space";
@@ -783,9 +769,7 @@ declare const ModalDialog: {
783
769
  }) => {
784
770
  marginBottom: {
785
771
  readonly [$$ScaleValue]: "space";
786
- }; /**
787
- * @deprecated Use size or css props css={{width: width css property}} instead. This will be deleted in the future to limit unnecessary props.
788
- */
772
+ };
789
773
  };
790
774
  ml: (value: {
791
775
  readonly [$$ScaleValue]: "space";
package/index.esm.js CHANGED
@@ -20611,7 +20611,7 @@ const ModalDialogTitle = styled('div');
20611
20611
  ModalDialogTitle.displayName = 'ModalDialogTitle';
20612
20612
  const ModalDialogContent = styled('div');
20613
20613
  ModalDialogContent.displayName = 'ModalDialogContent';
20614
- const ModalDialogTrigger = styled(DialogTrigger);
20614
+ const ModalDialogTrigger = styled('div');
20615
20615
  ModalDialogTrigger.displayName = 'ModalDialogTrigger';
20616
20616
  const StyledContent$2 = styled(DialogContent, {
20617
20617
  top: 'auto',
@@ -21647,7 +21647,6 @@ function PaginationInfo(_ref) {
21647
21647
  columnNumber: 11
21648
21648
  }
21649
21649
  }, limits == null ? void 0 : limits.map(limit => /*#__PURE__*/React__default.createElement(Flex$1, {
21650
- key: limit.toString(),
21651
21650
  css: {
21652
21651
  height: 44,
21653
21652
  width: '100%',
@@ -22712,13 +22711,13 @@ function HeaderMenuOption(props) {
22712
22711
  defaultValue: visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.map(item => item.id),
22713
22712
  value: items.length > 0 ? items : visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.map(item => item.id)
22714
22713
  }, {
22715
- children: visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.filter(val => typeof val.Header === 'string').map((item, index, row) => jsxs(React.Fragment, {
22714
+ children: visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.filter(val => typeof val.Header === 'string').map((item, index, row) => jsxs(Fragment, {
22716
22715
  children: [jsx(InputCheckbox, {
22717
22716
  label: item.Header,
22718
22717
  value: item.id,
22719
22718
  disabled: index === 0
22720
22719
  }, void 0), row.length !== index + 1 && jsx(Separator$2, {}, void 0)]
22721
- }, item.id))
22720
+ }, void 0))
22722
22721
  }), void 0)
22723
22722
  }), void 0)
22724
22723
  }), void 0)]
@@ -22762,13 +22761,13 @@ function HeaderMenuOption(props) {
22762
22761
  defaultValue: visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.map(item => item.id),
22763
22762
  value: items.length > 0 ? items : visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.map(item => item.id)
22764
22763
  }, {
22765
- children: visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.filter(val => typeof val.Header === 'string').map((item, index, row) => jsxs(React.Fragment, {
22764
+ children: visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.filter(val => typeof val.Header === 'string').map((item, index, row) => jsxs(Fragment, {
22766
22765
  children: [jsx(InputCheckbox, {
22767
22766
  label: item.Header,
22768
22767
  value: item.id,
22769
22768
  disabled: index === 0
22770
22769
  }, void 0), row.length !== index + 1 && jsx(Separator$2, {}, void 0)]
22771
- }, item.id))
22770
+ }, void 0))
22772
22771
  }), void 0)
22773
22772
  }), void 0)
22774
22773
  }), void 0)]
package/index.umd.js CHANGED
@@ -20911,7 +20911,7 @@
20911
20911
  ModalDialogTitle.displayName = 'ModalDialogTitle';
20912
20912
  var ModalDialogContent = styled('div');
20913
20913
  ModalDialogContent.displayName = 'ModalDialogContent';
20914
- var ModalDialogTrigger = styled(DialogTrigger);
20914
+ var ModalDialogTrigger = styled('div');
20915
20915
  ModalDialogTrigger.displayName = 'ModalDialogTrigger';
20916
20916
  var StyledContent$2 = styled(DialogContent, {
20917
20917
  top: 'auto',
@@ -21948,7 +21948,6 @@
21948
21948
  columnNumber: 11
21949
21949
  }
21950
21950
  }, limits == null ? void 0 : limits.map(limit => /*#__PURE__*/React__default["default"].createElement(Flex$1, {
21951
- key: limit.toString(),
21952
21951
  css: {
21953
21952
  height: 44,
21954
21953
  width: '100%',
@@ -23043,13 +23042,13 @@
23043
23042
  children: visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.filter(function (val) {
23044
23043
  return typeof val.Header === 'string';
23045
23044
  }).map(function (item, index, row) {
23046
- return jsxRuntime.jsxs(React__namespace.Fragment, {
23045
+ return jsxRuntime.jsxs(jsxRuntime.Fragment, {
23047
23046
  children: [jsxRuntime.jsx(InputCheckbox, {
23048
23047
  label: item.Header,
23049
23048
  value: item.id,
23050
23049
  disabled: index === 0
23051
23050
  }, void 0), row.length !== index + 1 && jsxRuntime.jsx(Separator$2, {}, void 0)]
23052
- }, item.id);
23051
+ }, void 0);
23053
23052
  })
23054
23053
  }), void 0)
23055
23054
  }), void 0)
@@ -23103,13 +23102,13 @@
23103
23102
  children: visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.filter(function (val) {
23104
23103
  return typeof val.Header === 'string';
23105
23104
  }).map(function (item, index, row) {
23106
- return jsxRuntime.jsxs(React__namespace.Fragment, {
23105
+ return jsxRuntime.jsxs(jsxRuntime.Fragment, {
23107
23106
  children: [jsxRuntime.jsx(InputCheckbox, {
23108
23107
  label: item.Header,
23109
23108
  value: item.id,
23110
23109
  disabled: index === 0
23111
23110
  }, void 0), row.length !== index + 1 && jsxRuntime.jsx(Separator$2, {}, void 0)]
23112
- }, item.id);
23111
+ }, void 0);
23113
23112
  })
23114
23113
  }), void 0)
23115
23114
  }), void 0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@majoo-ui/react",
3
- "version": "1.58.20-rc.2",
3
+ "version": "1.58.20-rc.3",
4
4
  "dependencies": {
5
5
  "@majoo-ui/core": "^1.31.3",
6
6
  "@majoo-ui/helpers": "^1.30.5",