@commercetools-frontend/application-components 24.7.2 → 24.8.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.
Files changed (83) hide show
  1. package/dist/commercetools-frontend-application-components.cjs.d.ts +2 -2
  2. package/dist/commercetools-frontend-application-components.cjs.dev.js +3 -510
  3. package/dist/commercetools-frontend-application-components.cjs.prod.js +3 -42
  4. package/dist/commercetools-frontend-application-components.esm.js +3 -509
  5. package/dist/{custom-views-selector-41cfb0a3.esm.js → custom-views-selector-44f42791.esm.js} +0 -10
  6. package/dist/{custom-views-selector-31b10462.cjs.dev.js → custom-views-selector-65f6adef.cjs.dev.js} +0 -11
  7. package/dist/{custom-views-selector-e4b5e5d4.cjs.prod.js → custom-views-selector-9c058929.cjs.prod.js} +0 -3
  8. package/dist/declarations/src/components/custom-views/custom-view-loader/index.d.ts +1 -1
  9. package/dist/declarations/src/components/custom-views/custom-views-selector/index.d.ts +1 -2
  10. package/dist/declarations/src/components/detail-pages/custom-form-detail-page/custom-form-detail-page.d.ts +30 -30
  11. package/dist/declarations/src/components/detail-pages/custom-form-detail-page/index.d.ts +1 -1
  12. package/dist/declarations/src/components/detail-pages/form-detail-page/form-detail-page.d.ts +4 -4
  13. package/dist/declarations/src/components/detail-pages/form-detail-page/index.d.ts +1 -1
  14. package/dist/declarations/src/components/detail-pages/info-detail-page/index.d.ts +1 -1
  15. package/dist/declarations/src/components/detail-pages/info-detail-page/info-detail-page.d.ts +4 -4
  16. package/dist/declarations/src/components/detail-pages/tabular-detail-page/index.d.ts +1 -1
  17. package/dist/declarations/src/components/detail-pages/tabular-detail-page/tabular-detail-page.d.ts +31 -31
  18. package/dist/declarations/src/components/dialogs/confirmation-dialog/index.d.ts +1 -1
  19. package/dist/declarations/src/components/dialogs/form-dialog/index.d.ts +1 -1
  20. package/dist/declarations/src/components/dialogs/info-dialog/index.d.ts +1 -1
  21. package/dist/declarations/src/components/drawer/drawer.d.ts +18 -18
  22. package/dist/declarations/src/components/drawer/index.d.ts +1 -1
  23. package/dist/declarations/src/components/main-pages/custom-form-main-page/custom-form-main-page.d.ts +33 -40
  24. package/dist/declarations/src/components/main-pages/custom-form-main-page/index.d.ts +1 -1
  25. package/dist/declarations/src/components/main-pages/form-main-page/form-main-page.d.ts +6 -13
  26. package/dist/declarations/src/components/main-pages/form-main-page/index.d.ts +1 -1
  27. package/dist/declarations/src/components/main-pages/info-main-page/index.d.ts +1 -1
  28. package/dist/declarations/src/components/main-pages/info-main-page/info-main-page.d.ts +4 -4
  29. package/dist/declarations/src/components/main-pages/tabular-main-page/index.d.ts +1 -1
  30. package/dist/declarations/src/components/main-pages/tabular-main-page/tabular-main-page.d.ts +32 -40
  31. package/dist/declarations/src/components/maintenance-page-layout/index.d.ts +1 -1
  32. package/dist/declarations/src/components/modal-pages/custom-form-modal-page/custom-form-modal-page.d.ts +26 -26
  33. package/dist/declarations/src/components/modal-pages/custom-form-modal-page/index.d.ts +1 -1
  34. package/dist/declarations/src/components/modal-pages/form-modal-page/index.d.ts +1 -1
  35. package/dist/declarations/src/components/modal-pages/info-modal-page/index.d.ts +1 -1
  36. package/dist/declarations/src/components/modal-pages/tabular-modal-page/index.d.ts +1 -1
  37. package/dist/declarations/src/components/modal-pages/tabular-modal-page/tabular-modal-page.d.ts +27 -27
  38. package/dist/declarations/src/components/modal-pages/utils/index.d.ts +1 -1
  39. package/dist/declarations/src/components/page-content-containers/page-content-full/index.d.ts +2 -2
  40. package/dist/declarations/src/components/page-content-containers/page-content-narrow/index.d.ts +2 -2
  41. package/dist/declarations/src/components/page-content-containers/page-content-wide/index.d.ts +2 -2
  42. package/dist/declarations/src/components/page-not-found/index.d.ts +1 -1
  43. package/dist/declarations/src/components/page-unauthorized/index.d.ts +1 -1
  44. package/dist/declarations/src/components/portals-container/index.d.ts +1 -1
  45. package/dist/declarations/src/components/public-page-layout/index.d.ts +2 -3
  46. package/dist/declarations/src/components/tab-header/index.d.ts +1 -1
  47. package/dist/declarations/src/hooks/use-modal-state/index.d.ts +1 -1
  48. package/dist/declarations/src/index.d.ts +35 -35
  49. package/dist/declarations/src/theming.d.ts +3 -1
  50. package/dist/{public-page-layout-60fba793.esm.js → public-page-layout-7d1cb99f.esm.js} +0 -14
  51. package/dist/{public-page-layout-3b294301.cjs.prod.js → public-page-layout-b182d2dd.cjs.prod.js} +0 -4
  52. package/dist/{public-page-layout-e2b1fd99.cjs.dev.js → public-page-layout-b92fb7e4.cjs.dev.js} +0 -15
  53. package/package.json +30 -30
  54. package/dist/commercetools-frontend-application-components.cjs.d.ts.map +0 -1
  55. package/dist/declarations/src/components/custom-views/custom-view-loader/messages.d.ts +0 -7
  56. package/dist/declarations/src/components/custom-views/custom-views-selector/custom-views-selector.d.ts +0 -3
  57. package/dist/declarations/src/components/custom-views/custom-views-selector/messages.d.ts +0 -7
  58. package/dist/declarations/src/components/custom-views/custom-views-selector/use-custom-views-connector.d.ts +0 -11
  59. package/dist/declarations/src/components/dialogs/internals/dialog-container.d.ts +0 -17
  60. package/dist/declarations/src/components/dialogs/internals/dialog-content.d.ts +0 -6
  61. package/dist/declarations/src/components/dialogs/internals/dialog-footer.d.ts +0 -30
  62. package/dist/declarations/src/components/dialogs/internals/dialog-header.d.ts +0 -15
  63. package/dist/declarations/src/components/dialogs/internals/dialog.styles.d.ts +0 -19
  64. package/dist/declarations/src/components/internals/default-form-buttons.d.ts +0 -36
  65. package/dist/declarations/src/components/internals/messages.d.ts +0 -11
  66. package/dist/declarations/src/components/internals/page-header-title.d.ts +0 -14
  67. package/dist/declarations/src/components/internals/page-header.d.ts +0 -19
  68. package/dist/declarations/src/components/internals/page-top-bar.d.ts +0 -19
  69. package/dist/declarations/src/components/internals/page.styles.d.ts +0 -13
  70. package/dist/declarations/src/components/internals/tabular-page.d.ts +0 -27
  71. package/dist/declarations/src/components/main-pages/internals/main-page.styles.d.ts +0 -13
  72. package/dist/declarations/src/components/modal-pages/internals/modal-page.d.ts +0 -39
  73. package/dist/declarations/src/components/modal-pages/internals/modal-page.styles.d.ts +0 -32
  74. package/dist/declarations/src/components/page-not-found/messages.d.ts +0 -11
  75. package/dist/declarations/src/components/page-unauthorized/messages.d.ts +0 -15
  76. package/dist/declarations/src/components/project-stamp/messages.d.ts +0 -19
  77. package/dist/declarations/src/components/public-page-layout/public-page-layout.d.ts +0 -26
  78. package/dist/declarations/src/components/public-page-layout/public-page-layout.styles.d.ts +0 -13
  79. package/dist/declarations/src/components/tab-header/tab.styles.d.ts +0 -2
  80. package/dist/declarations/src/hooks/use-custom-view-locator-selector/index.d.ts +0 -1
  81. package/dist/declarations/src/hooks/use-custom-view-locator-selector/use-custom-view-locator-selector.d.ts +0 -5
  82. package/dist/declarations/src/types/generated/settings.d.ts +0 -2116
  83. package/dist/declarations/src/utils/filter-data-attributes.d.ts +0 -1
@@ -1,7 +1,6 @@
1
1
  import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
2
2
  import _slicedToArray from '@babel/runtime-corejs3/helpers/esm/slicedToArray';
3
3
  import _styled from '@emotion/styled/base';
4
- import _pt from 'prop-types';
5
4
  import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
6
5
  import _Object$keys from '@babel/runtime-corejs3/core-js-stable/object/keys';
7
6
  import _Object$getOwnPropertySymbols from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
@@ -138,11 +137,6 @@ const CustomViewSelectorItem = props => {
138
137
  })
139
138
  });
140
139
  };
141
- CustomViewSelectorItem.propTypes = process.env.NODE_ENV !== "production" ? {
142
- selected: _pt.bool,
143
- label: _pt.string.isRequired,
144
- onClick: _pt.func
145
- } : {};
146
140
  const SelectorLabel = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
147
141
  target: "e16cb3zv1"
148
142
  } : {
@@ -235,10 +229,6 @@ function CustomViewSelector(props) {
235
229
  })
236
230
  });
237
231
  }
238
- CustomViewSelector.propTypes = process.env.NODE_ENV !== "production" ? {
239
- customViewLocatorCode: _pt.string.isRequired,
240
- margin: _pt.string
241
- } : {};
242
232
  CustomViewSelector.displayName = 'CustomViewSelector';
243
233
  const CustomViewSelectorOrNothing = props => {
244
234
  const _useCustomViewLocator = useCustomViewLocatorSelector(props.customViewLocatorCodes),
@@ -3,7 +3,6 @@
3
3
  var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
4
4
  var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
5
5
  var _styled = require('@emotion/styled/base');
6
- var _pt = require('prop-types');
7
6
  var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
8
7
  var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
9
8
  var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
@@ -56,7 +55,6 @@ require('@commercetools-uikit/hooks');
56
55
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
57
56
 
58
57
  var _styled__default = /*#__PURE__*/_interopDefault(_styled);
59
- var _pt__default = /*#__PURE__*/_interopDefault(_pt);
60
58
  var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
61
59
  var _Object$keys__default = /*#__PURE__*/_interopDefault(_Object$keys);
62
60
  var _Object$getOwnPropertySymbols__default = /*#__PURE__*/_interopDefault(_Object$getOwnPropertySymbols);
@@ -160,11 +158,6 @@ const CustomViewSelectorItem = props => {
160
158
  })
161
159
  });
162
160
  };
163
- CustomViewSelectorItem.propTypes = process.env.NODE_ENV !== "production" ? {
164
- selected: _pt__default["default"].bool,
165
- label: _pt__default["default"].string.isRequired,
166
- onClick: _pt__default["default"].func
167
- } : {};
168
161
  const SelectorLabel = /*#__PURE__*/_styled__default["default"]("div", process.env.NODE_ENV === "production" ? {
169
162
  target: "e16cb3zv1"
170
163
  } : {
@@ -257,10 +250,6 @@ function CustomViewSelector(props) {
257
250
  })
258
251
  });
259
252
  }
260
- CustomViewSelector.propTypes = process.env.NODE_ENV !== "production" ? {
261
- customViewLocatorCode: _pt__default["default"].string.isRequired,
262
- margin: _pt__default["default"].string
263
- } : {};
264
253
  CustomViewSelector.displayName = 'CustomViewSelector';
265
254
  const CustomViewSelectorOrNothing = props => {
266
255
  const _useCustomViewLocator = useCustomViewLocatorSelector(props.customViewLocatorCodes),
@@ -3,7 +3,6 @@
3
3
  var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
4
4
  var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
5
5
  var _styled = require('@emotion/styled/base');
6
- require('prop-types');
7
6
  var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
8
7
  var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
9
8
  var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
@@ -152,7 +151,6 @@ const CustomViewSelectorItem = props => {
152
151
  })
153
152
  });
154
153
  };
155
- CustomViewSelectorItem.propTypes = {};
156
154
  const SelectorLabel = /*#__PURE__*/_styled__default["default"]("div", {
157
155
  target: "e16cb3zv1"
158
156
  } )({
@@ -231,7 +229,6 @@ function CustomViewSelector(props) {
231
229
  })
232
230
  });
233
231
  }
234
- CustomViewSelector.propTypes = {};
235
232
  CustomViewSelector.displayName = 'CustomViewSelector';
236
233
  const CustomViewSelectorOrNothing = props => {
237
234
  const _useCustomViewLocator = useCustomViewLocatorSelector(props.customViewLocatorCodes),
@@ -1 +1 @@
1
- export { default } from './custom-view-loader';
1
+ export { default } from "./custom-view-loader.js";
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare const CustomViewSelector: import("react").LazyExoticComponent<(props: import("./types").TCustomViewSelectorProps) => import("@emotion/react/jsx-runtime").JSX.Element | null>;
1
+ declare const CustomViewSelector: import("react").LazyExoticComponent<(props: import("./types.js").TCustomViewSelectorProps) => import("@emotion/react/jsx-runtime").JSX.Element | null>;
3
2
  export default CustomViewSelector;
@@ -49,62 +49,62 @@ declare const CustomFormDetailPage: {
49
49
  PageHeaderTitle: {
50
50
  ({ titleSize, truncate, ...props }: {
51
51
  title: string;
52
- titleSize?: ("big" | "small" | "medium") | undefined;
53
- truncate?: boolean | undefined;
54
- subtitle?: string | ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | undefined;
55
- children?: undefined;
52
+ titleSize?: "big" | "small" | "medium";
53
+ truncate?: boolean;
54
+ subtitle?: string | ReactElement;
55
+ children?: never;
56
56
  }): import("@emotion/react/jsx-runtime").JSX.Element;
57
57
  displayName: string;
58
58
  };
59
59
  FormPrimaryButton: {
60
60
  ({ label, isDisabled, dataAttributes, ...props }: {
61
- iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps, string | import("react").JSXElementConstructor<any>> | undefined;
61
+ iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps>;
62
62
  } & {
63
- label?: (string | {
63
+ label?: string | {
64
64
  id: string;
65
- description?: string | object | undefined;
66
- defaultMessage?: string | undefined;
67
- }) | undefined;
68
- onClick: (event: import("react").SyntheticEvent<Element, Event>) => void;
69
- isDisabled?: boolean | undefined;
65
+ description?: string | object;
66
+ defaultMessage?: string;
67
+ };
68
+ onClick: (event: import("react").SyntheticEvent) => void;
69
+ isDisabled?: boolean;
70
70
  dataAttributes?: {
71
71
  [key: string]: string;
72
- } | undefined;
73
- children?: undefined;
72
+ };
73
+ children?: never;
74
74
  }): import("@emotion/react/jsx-runtime").JSX.Element;
75
75
  displayName: string;
76
76
  };
77
77
  FormSecondaryButton: {
78
78
  ({ label, isDisabled, dataAttributes, ...props }: {
79
- iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps, string | import("react").JSXElementConstructor<any>> | undefined;
79
+ iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps>;
80
80
  } & {
81
- label?: (string | {
81
+ label?: string | {
82
82
  id: string;
83
- description?: string | object | undefined;
84
- defaultMessage?: string | undefined;
85
- }) | undefined;
86
- onClick: (event: import("react").SyntheticEvent<Element, Event>) => void;
87
- isDisabled?: boolean | undefined;
83
+ description?: string | object;
84
+ defaultMessage?: string;
85
+ };
86
+ onClick: (event: import("react").SyntheticEvent) => void;
87
+ isDisabled?: boolean;
88
88
  dataAttributes?: {
89
89
  [key: string]: string;
90
- } | undefined;
91
- children?: undefined;
90
+ };
91
+ children?: never;
92
92
  }): import("@emotion/react/jsx-runtime").JSX.Element;
93
93
  displayName: string;
94
94
  };
95
95
  FormDeleteButton: {
96
96
  ({ label, isDisabled, dataAttributes, ...props }: {
97
- label?: (string | {
97
+ label?: string | {
98
98
  id: string;
99
- description?: string | object | undefined;
100
- defaultMessage?: string | undefined;
101
- }) | undefined;
102
- onClick: (event: import("react").SyntheticEvent<Element, Event>) => void;
103
- isDisabled?: boolean | undefined;
99
+ description?: string | object;
100
+ defaultMessage?: string;
101
+ };
102
+ onClick: (event: import("react").SyntheticEvent) => void;
103
+ isDisabled?: boolean;
104
104
  dataAttributes?: {
105
105
  [key: string]: string;
106
- } | undefined;
107
- children?: undefined;
106
+ };
107
+ children?: never;
108
108
  }): import("@emotion/react/jsx-runtime").JSX.Element;
109
109
  displayName: string;
110
110
  };
@@ -1 +1 @@
1
- export { default } from './custom-form-detail-page';
1
+ export { default } from "./custom-form-detail-page.js";
@@ -86,10 +86,10 @@ declare const FormDetailPage: {
86
86
  PageHeaderTitle: {
87
87
  ({ titleSize, truncate, ...props }: {
88
88
  title: string;
89
- titleSize?: ("big" | "small" | "medium") | undefined;
90
- truncate?: boolean | undefined;
91
- subtitle?: string | ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | undefined;
92
- children?: undefined;
89
+ titleSize?: "big" | "small" | "medium";
90
+ truncate?: boolean;
91
+ subtitle?: string | ReactElement;
92
+ children?: never;
93
93
  }): import("@emotion/react/jsx-runtime").JSX.Element;
94
94
  displayName: string;
95
95
  };
@@ -1 +1 @@
1
- export { default } from './form-detail-page';
1
+ export { default } from "./form-detail-page.js";
@@ -1 +1 @@
1
- export { default } from './info-detail-page';
1
+ export { default } from "./info-detail-page.js";
@@ -41,10 +41,10 @@ declare const InfoDetailPage: {
41
41
  PageHeaderTitle: {
42
42
  ({ titleSize, truncate, ...props }: {
43
43
  title: string;
44
- titleSize?: ("big" | "small" | "medium") | undefined;
45
- truncate?: boolean | undefined;
46
- subtitle?: string | ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | undefined;
47
- children?: undefined;
44
+ titleSize?: "big" | "small" | "medium";
45
+ truncate?: boolean;
46
+ subtitle?: string | ReactElement;
47
+ children?: never;
48
48
  }): import("@emotion/react/jsx-runtime").JSX.Element;
49
49
  displayName: string;
50
50
  };
@@ -1 +1 @@
1
- export { default } from './tabular-detail-page';
1
+ export { default } from "./tabular-detail-page.js";
@@ -1,5 +1,5 @@
1
1
  import type { ReactElement, ReactNode, MouseEvent, KeyboardEvent } from 'react';
2
- import type { TCustomViewSelectorProps } from '../../custom-views/custom-views-selector/types';
2
+ import type { TCustomViewSelectorProps } from "../../custom-views/custom-views-selector/types.js";
3
3
  type MessageDescriptor = {
4
4
  id: string;
5
5
  description?: string | object;
@@ -53,63 +53,63 @@ declare const TabularDetailPage: {
53
53
  displayName: string;
54
54
  FormPrimaryButton: {
55
55
  ({ label, isDisabled, dataAttributes, ...props }: {
56
- iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps, string | import("react").JSXElementConstructor<any>> | undefined;
56
+ iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps>;
57
57
  } & {
58
- label?: (string | {
58
+ label?: string | {
59
59
  id: string;
60
- description?: string | object | undefined;
61
- defaultMessage?: string | undefined;
62
- }) | undefined;
63
- onClick: (event: import("react").SyntheticEvent<Element, Event>) => void;
64
- isDisabled?: boolean | undefined;
60
+ description?: string | object;
61
+ defaultMessage?: string;
62
+ };
63
+ onClick: (event: import("react").SyntheticEvent) => void;
64
+ isDisabled?: boolean;
65
65
  dataAttributes?: {
66
66
  [key: string]: string;
67
- } | undefined;
68
- children?: undefined;
67
+ };
68
+ children?: never;
69
69
  }): import("@emotion/react/jsx-runtime").JSX.Element;
70
70
  displayName: string;
71
71
  };
72
72
  FormSecondaryButton: {
73
73
  ({ label, isDisabled, dataAttributes, ...props }: {
74
- iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps, string | import("react").JSXElementConstructor<any>> | undefined;
74
+ iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps>;
75
75
  } & {
76
- label?: (string | {
76
+ label?: string | {
77
77
  id: string;
78
- description?: string | object | undefined;
79
- defaultMessage?: string | undefined;
80
- }) | undefined;
81
- onClick: (event: import("react").SyntheticEvent<Element, Event>) => void;
82
- isDisabled?: boolean | undefined;
78
+ description?: string | object;
79
+ defaultMessage?: string;
80
+ };
81
+ onClick: (event: import("react").SyntheticEvent) => void;
82
+ isDisabled?: boolean;
83
83
  dataAttributes?: {
84
84
  [key: string]: string;
85
- } | undefined;
86
- children?: undefined;
85
+ };
86
+ children?: never;
87
87
  }): import("@emotion/react/jsx-runtime").JSX.Element;
88
88
  displayName: string;
89
89
  };
90
90
  FormDeleteButton: {
91
91
  ({ label, isDisabled, dataAttributes, ...props }: {
92
- label?: (string | {
92
+ label?: string | {
93
93
  id: string;
94
- description?: string | object | undefined;
95
- defaultMessage?: string | undefined;
96
- }) | undefined;
97
- onClick: (event: import("react").SyntheticEvent<Element, Event>) => void;
98
- isDisabled?: boolean | undefined;
94
+ description?: string | object;
95
+ defaultMessage?: string;
96
+ };
97
+ onClick: (event: import("react").SyntheticEvent) => void;
98
+ isDisabled?: boolean;
99
99
  dataAttributes?: {
100
100
  [key: string]: string;
101
- } | undefined;
102
- children?: undefined;
101
+ };
102
+ children?: never;
103
103
  }): import("@emotion/react/jsx-runtime").JSX.Element;
104
104
  displayName: string;
105
105
  };
106
106
  PageHeaderTitle: {
107
107
  ({ titleSize, truncate, ...props }: {
108
108
  title: string;
109
- titleSize?: ("big" | "small" | "medium") | undefined;
110
- truncate?: boolean | undefined;
111
- subtitle?: string | ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | undefined;
112
- children?: undefined;
109
+ titleSize?: "big" | "small" | "medium";
110
+ truncate?: boolean;
111
+ subtitle?: string | ReactElement;
112
+ children?: never;
113
113
  }): import("@emotion/react/jsx-runtime").JSX.Element;
114
114
  displayName: string;
115
115
  };
@@ -1 +1 @@
1
- export { default, type TConfirmationDialogProps } from './confirmation-dialog';
1
+ export { default, type TConfirmationDialogProps } from "./confirmation-dialog.js";
@@ -1 +1 @@
1
- export { default, type TFormDialogProps } from './form-dialog';
1
+ export { default, type TFormDialogProps } from "./form-dialog.js";
@@ -1 +1 @@
1
- export { default, type TInfoDialogProps } from './info-dialog';
1
+ export { default, type TInfoDialogProps } from "./info-dialog.js";
@@ -41,37 +41,37 @@ declare namespace Drawer {
41
41
  var displayName: string;
42
42
  var FormPrimaryButton: {
43
43
  ({ label, isDisabled, dataAttributes, ...props }: {
44
- iconLeft?: ReactElement<TIconProps, string | import("react").JSXElementConstructor<any>> | undefined;
44
+ iconLeft?: ReactElement<TIconProps>;
45
45
  } & {
46
- label?: (string | {
46
+ label?: string | {
47
47
  id: string;
48
- description?: string | object | undefined;
49
- defaultMessage?: string | undefined;
50
- }) | undefined;
51
- onClick: (event: SyntheticEvent<Element, Event>) => void;
52
- isDisabled?: boolean | undefined;
48
+ description?: string | object;
49
+ defaultMessage?: string;
50
+ };
51
+ onClick: (event: SyntheticEvent) => void;
52
+ isDisabled?: boolean;
53
53
  dataAttributes?: {
54
54
  [key: string]: string;
55
- } | undefined;
56
- children?: undefined;
55
+ };
56
+ children?: never;
57
57
  }): import("@emotion/react/jsx-runtime").JSX.Element;
58
58
  displayName: string;
59
59
  };
60
60
  var FormSecondaryButton: {
61
61
  ({ label, isDisabled, dataAttributes, ...props }: {
62
- iconLeft?: ReactElement<TIconProps, string | import("react").JSXElementConstructor<any>> | undefined;
62
+ iconLeft?: ReactElement<TIconProps>;
63
63
  } & {
64
- label?: (string | {
64
+ label?: string | {
65
65
  id: string;
66
- description?: string | object | undefined;
67
- defaultMessage?: string | undefined;
68
- }) | undefined;
69
- onClick: (event: SyntheticEvent<Element, Event>) => void;
70
- isDisabled?: boolean | undefined;
66
+ description?: string | object;
67
+ defaultMessage?: string;
68
+ };
69
+ onClick: (event: SyntheticEvent) => void;
70
+ isDisabled?: boolean;
71
71
  dataAttributes?: {
72
72
  [key: string]: string;
73
- } | undefined;
74
- children?: undefined;
73
+ };
74
+ children?: never;
75
75
  }): import("@emotion/react/jsx-runtime").JSX.Element;
76
76
  displayName: string;
77
77
  };
@@ -1 +1 @@
1
- export { default } from './drawer';
1
+ export { default } from "./drawer.js";
@@ -40,62 +40,62 @@ declare const CustomFormMainPage: {
40
40
  PageHeaderTitle: {
41
41
  ({ titleSize, truncate, ...props }: {
42
42
  title: string;
43
- titleSize?: ("big" | "small" | "medium") | undefined;
44
- truncate?: boolean | undefined;
45
- subtitle?: string | ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | undefined;
46
- children?: undefined;
43
+ titleSize?: "big" | "small" | "medium";
44
+ truncate?: boolean;
45
+ subtitle?: string | ReactElement;
46
+ children?: never;
47
47
  }): import("@emotion/react/jsx-runtime").JSX.Element;
48
48
  displayName: string;
49
49
  };
50
50
  FormPrimaryButton: {
51
51
  ({ label, isDisabled, dataAttributes, ...props }: {
52
- iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps, string | import("react").JSXElementConstructor<any>> | undefined;
52
+ iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps>;
53
53
  } & {
54
- label?: (string | {
54
+ label?: string | {
55
55
  id: string;
56
- description?: string | object | undefined;
57
- defaultMessage?: string | undefined;
58
- }) | undefined;
59
- onClick: (event: import("react").SyntheticEvent<Element, Event>) => void;
60
- isDisabled?: boolean | undefined;
56
+ description?: string | object;
57
+ defaultMessage?: string;
58
+ };
59
+ onClick: (event: import("react").SyntheticEvent) => void;
60
+ isDisabled?: boolean;
61
61
  dataAttributes?: {
62
62
  [key: string]: string;
63
- } | undefined;
64
- children?: undefined;
63
+ };
64
+ children?: never;
65
65
  }): import("@emotion/react/jsx-runtime").JSX.Element;
66
66
  displayName: string;
67
67
  };
68
68
  FormSecondaryButton: {
69
69
  ({ label, isDisabled, dataAttributes, ...props }: {
70
- iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps, string | import("react").JSXElementConstructor<any>> | undefined;
70
+ iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps>;
71
71
  } & {
72
- label?: (string | {
72
+ label?: string | {
73
73
  id: string;
74
- description?: string | object | undefined;
75
- defaultMessage?: string | undefined;
76
- }) | undefined;
77
- onClick: (event: import("react").SyntheticEvent<Element, Event>) => void;
78
- isDisabled?: boolean | undefined;
74
+ description?: string | object;
75
+ defaultMessage?: string;
76
+ };
77
+ onClick: (event: import("react").SyntheticEvent) => void;
78
+ isDisabled?: boolean;
79
79
  dataAttributes?: {
80
80
  [key: string]: string;
81
- } | undefined;
82
- children?: undefined;
81
+ };
82
+ children?: never;
83
83
  }): import("@emotion/react/jsx-runtime").JSX.Element;
84
84
  displayName: string;
85
85
  };
86
86
  FormDeleteButton: {
87
87
  ({ label, isDisabled, dataAttributes, ...props }: {
88
- label?: (string | {
88
+ label?: string | {
89
89
  id: string;
90
- description?: string | object | undefined;
91
- defaultMessage?: string | undefined;
92
- }) | undefined;
93
- onClick: (event: import("react").SyntheticEvent<Element, Event>) => void;
94
- isDisabled?: boolean | undefined;
90
+ description?: string | object;
91
+ defaultMessage?: string;
92
+ };
93
+ onClick: (event: import("react").SyntheticEvent) => void;
94
+ isDisabled?: boolean;
95
95
  dataAttributes?: {
96
96
  [key: string]: string;
97
- } | undefined;
98
- children?: undefined;
97
+ };
98
+ children?: never;
99
99
  }): import("@emotion/react/jsx-runtime").JSX.Element;
100
100
  displayName: string;
101
101
  };
@@ -130,15 +130,11 @@ declare const CustomFormMainPage: {
130
130
  };
131
131
  add: {
132
132
  id: string;
133
- defaultMessage: string; /**
134
- * The subtitle of the page.
135
- */
133
+ defaultMessage: string;
136
134
  };
137
135
  remove: {
138
136
  id: string;
139
- defaultMessage: string; /**
140
- * Replaces the title/subtitle row with a custom one (for special use cases).
141
- */
137
+ defaultMessage: string;
142
138
  };
143
139
  close: {
144
140
  id: string;
@@ -166,10 +162,7 @@ declare const CustomFormMainPage: {
166
162
  };
167
163
  inactive: {
168
164
  id: string;
169
- defaultMessage: string; /**
170
- * Determines whether the divider between header and content should be hidden.
171
- * (default: false)
172
- */
165
+ defaultMessage: string;
173
166
  };
174
167
  enable: {
175
168
  id: string;
@@ -1 +1 @@
1
- export { default } from './custom-form-main-page';
1
+ export { default } from "./custom-form-main-page.js";
@@ -78,10 +78,10 @@ declare const FormMainPage: {
78
78
  PageHeaderTitle: {
79
79
  ({ titleSize, truncate, ...props }: {
80
80
  title: string;
81
- titleSize?: ("big" | "small" | "medium") | undefined;
82
- truncate?: boolean | undefined;
83
- subtitle?: string | ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | undefined;
84
- children?: undefined;
81
+ titleSize?: "big" | "small" | "medium";
82
+ truncate?: boolean;
83
+ subtitle?: string | ReactElement;
84
+ children?: never;
85
85
  }): import("@emotion/react/jsx-runtime").JSX.Element;
86
86
  displayName: string;
87
87
  };
@@ -107,15 +107,11 @@ declare const FormMainPage: {
107
107
  defaultMessage: string;
108
108
  };
109
109
  create: {
110
- id: string; /**
111
- * The subtitle of the page.
112
- */
110
+ id: string;
113
111
  defaultMessage: string;
114
112
  };
115
113
  delete: {
116
- id: string; /**
117
- * Replaces the title/subtitle row with a custom one (for special use cases)
118
- */
114
+ id: string;
119
115
  defaultMessage: string;
120
116
  };
121
117
  add: {
@@ -144,9 +140,6 @@ declare const FormMainPage: {
144
140
  };
145
141
  deactivate: {
146
142
  id: string;
147
- /**
148
- * Use this prop to pass `data-` attributes to the primary button
149
- */
150
143
  defaultMessage: string;
151
144
  };
152
145
  active: {
@@ -1 +1 @@
1
- export { default } from './form-main-page';
1
+ export { default } from "./form-main-page.js";
@@ -1 +1 @@
1
- export { default } from './info-main-page';
1
+ export { default } from "./info-main-page.js";
@@ -27,10 +27,10 @@ declare const InfoMainPage: {
27
27
  PageHeaderTitle: {
28
28
  ({ titleSize, truncate, ...props }: {
29
29
  title: string;
30
- titleSize?: ("big" | "small" | "medium") | undefined;
31
- truncate?: boolean | undefined;
32
- subtitle?: string | ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | undefined;
33
- children?: undefined;
30
+ titleSize?: "big" | "small" | "medium";
31
+ truncate?: boolean;
32
+ subtitle?: string | ReactElement;
33
+ children?: never;
34
34
  }): import("@emotion/react/jsx-runtime").JSX.Element;
35
35
  displayName: string;
36
36
  };
@@ -1 +1 @@
1
- export { default } from './tabular-main-page';
1
+ export { default } from "./tabular-main-page.js";