@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,5 +1,5 @@
1
1
  import type { ReactElement, ReactNode } 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 TTabularMainPageProps = {
4
4
  /**
5
5
  * The title of the page.
@@ -39,69 +39,63 @@ declare const TabularMainPage: {
39
39
  displayName: string;
40
40
  FormPrimaryButton: {
41
41
  ({ label, isDisabled, dataAttributes, ...props }: {
42
- iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps, string | import("react").JSXElementConstructor<any>> | undefined;
42
+ iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps>;
43
43
  } & {
44
- label?: (string | {
44
+ label?: string | {
45
45
  id: string;
46
- description?: string | object | undefined;
47
- defaultMessage?: string | undefined;
48
- }) | undefined;
49
- onClick: (event: import("react").SyntheticEvent<Element, Event>) => void; /**
50
- * The title of the page.
51
- */
52
- isDisabled?: boolean | undefined;
46
+ description?: string | object;
47
+ defaultMessage?: string;
48
+ };
49
+ onClick: (event: import("react").SyntheticEvent) => void;
50
+ isDisabled?: boolean;
53
51
  dataAttributes?: {
54
52
  [key: string]: string;
55
- } | undefined;
56
- children?: undefined;
53
+ };
54
+ children?: never;
57
55
  }): import("@emotion/react/jsx-runtime").JSX.Element;
58
56
  displayName: string;
59
57
  };
60
58
  FormSecondaryButton: {
61
59
  ({ label, isDisabled, dataAttributes, ...props }: {
62
- iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps, string | import("react").JSXElementConstructor<any>> | undefined;
60
+ iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps>;
63
61
  } & {
64
- label?: (string | {
62
+ label?: string | {
65
63
  id: string;
66
- description?: string | object | undefined;
67
- defaultMessage?: string | undefined;
68
- }) | undefined;
69
- onClick: (event: import("react").SyntheticEvent<Element, Event>) => void; /**
70
- * The title of the page.
71
- */
72
- isDisabled?: boolean | undefined;
64
+ description?: string | object;
65
+ defaultMessage?: string;
66
+ };
67
+ onClick: (event: import("react").SyntheticEvent) => void;
68
+ isDisabled?: boolean;
73
69
  dataAttributes?: {
74
70
  [key: string]: string;
75
- } | undefined;
76
- children?: undefined;
71
+ };
72
+ children?: never;
77
73
  }): import("@emotion/react/jsx-runtime").JSX.Element;
78
74
  displayName: string;
79
75
  };
80
76
  FormDeleteButton: {
81
77
  ({ label, isDisabled, dataAttributes, ...props }: {
82
- label?: (string | {
78
+ label?: string | {
83
79
  id: string;
84
- description?: string | object | undefined;
85
- defaultMessage?: string | undefined;
86
- }) | undefined;
87
- onClick: (event: import("react").SyntheticEvent<Element, Event>) => void; /**
88
- * The title of the page.
89
- */
90
- isDisabled?: boolean | undefined;
80
+ description?: string | object;
81
+ defaultMessage?: string;
82
+ };
83
+ onClick: (event: import("react").SyntheticEvent) => void;
84
+ isDisabled?: boolean;
91
85
  dataAttributes?: {
92
86
  [key: string]: string;
93
- } | undefined;
94
- children?: undefined;
87
+ };
88
+ children?: never;
95
89
  }): import("@emotion/react/jsx-runtime").JSX.Element;
96
90
  displayName: string;
97
91
  };
98
92
  PageHeaderTitle: {
99
93
  ({ titleSize, truncate, ...props }: {
100
94
  title: string;
101
- titleSize?: ("big" | "small" | "medium") | undefined;
102
- truncate?: boolean | undefined;
103
- subtitle?: string | ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | undefined;
104
- children?: undefined;
95
+ titleSize?: "big" | "small" | "medium";
96
+ truncate?: boolean;
97
+ subtitle?: string | ReactElement;
98
+ children?: never;
105
99
  }): import("@emotion/react/jsx-runtime").JSX.Element;
106
100
  displayName: string;
107
101
  };
@@ -169,9 +163,7 @@ declare const TabularMainPage: {
169
163
  inactive: {
170
164
  id: string;
171
165
  defaultMessage: string;
172
- }; /**
173
- * These codes are used to configure which Custom Views are available for every tab.
174
- */
166
+ };
175
167
  enable: {
176
168
  id: string;
177
169
  defaultMessage: string;
@@ -1 +1 @@
1
- export { default } from './maintenance-page-layout';
1
+ export { default } from "./maintenance-page-layout.js";
@@ -38,53 +38,53 @@ declare const CustomFormModalPage: {
38
38
  displayName: string;
39
39
  FormPrimaryButton: {
40
40
  ({ label, isDisabled, dataAttributes, ...props }: {
41
- iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps, string | import("react").JSXElementConstructor<any>> | undefined;
41
+ iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps>;
42
42
  } & {
43
- label?: (string | {
43
+ label?: string | {
44
44
  id: string;
45
- description?: string | object | undefined;
46
- defaultMessage?: string | undefined;
47
- }) | undefined;
48
- onClick: (event: SyntheticEvent<Element, Event>) => void;
49
- isDisabled?: boolean | undefined;
45
+ description?: string | object;
46
+ defaultMessage?: string;
47
+ };
48
+ onClick: (event: SyntheticEvent) => void;
49
+ isDisabled?: boolean;
50
50
  dataAttributes?: {
51
51
  [key: string]: string;
52
- } | undefined;
53
- children?: undefined;
52
+ };
53
+ children?: never;
54
54
  }): import("@emotion/react/jsx-runtime").JSX.Element;
55
55
  displayName: string;
56
56
  };
57
57
  FormSecondaryButton: {
58
58
  ({ label, isDisabled, dataAttributes, ...props }: {
59
- iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps, string | import("react").JSXElementConstructor<any>> | undefined;
59
+ iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps>;
60
60
  } & {
61
- label?: (string | {
61
+ label?: string | {
62
62
  id: string;
63
- description?: string | object | undefined;
64
- defaultMessage?: string | undefined;
65
- }) | undefined;
66
- onClick: (event: SyntheticEvent<Element, Event>) => void;
67
- isDisabled?: boolean | undefined;
63
+ description?: string | object;
64
+ defaultMessage?: string;
65
+ };
66
+ onClick: (event: SyntheticEvent) => void;
67
+ isDisabled?: boolean;
68
68
  dataAttributes?: {
69
69
  [key: string]: string;
70
- } | undefined;
71
- children?: undefined;
70
+ };
71
+ children?: never;
72
72
  }): import("@emotion/react/jsx-runtime").JSX.Element;
73
73
  displayName: string;
74
74
  };
75
75
  FormDeleteButton: {
76
76
  ({ label, isDisabled, dataAttributes, ...props }: {
77
- label?: (string | {
77
+ label?: string | {
78
78
  id: string;
79
- description?: string | object | undefined;
80
- defaultMessage?: string | undefined;
81
- }) | undefined;
82
- onClick: (event: SyntheticEvent<Element, Event>) => void;
83
- isDisabled?: boolean | undefined;
79
+ description?: string | object;
80
+ defaultMessage?: string;
81
+ };
82
+ onClick: (event: SyntheticEvent) => void;
83
+ isDisabled?: boolean;
84
84
  dataAttributes?: {
85
85
  [key: string]: string;
86
- } | undefined;
87
- children?: undefined;
86
+ };
87
+ children?: never;
88
88
  }): import("@emotion/react/jsx-runtime").JSX.Element;
89
89
  displayName: string;
90
90
  };
@@ -1 +1 @@
1
- export { default } from './custom-form-modal-page';
1
+ export { default } from "./custom-form-modal-page.js";
@@ -1 +1 @@
1
- export { default } from './form-modal-page';
1
+ export { default } from "./form-modal-page.js";
@@ -1 +1 @@
1
- export { default } from './info-modal-page';
1
+ export { default } from "./info-modal-page.js";
@@ -1 +1 @@
1
- export { default } from './tabular-modal-page';
1
+ export { default } from "./tabular-modal-page.js";
@@ -1,6 +1,6 @@
1
1
  import { ReactElement, ReactNode, SyntheticEvent } from 'react';
2
2
  import type { CSSObject } from '@emotion/react';
3
- import type { TCustomViewSelectorProps } from '../../custom-views/custom-views-selector/types';
3
+ import type { TCustomViewSelectorProps } from "../../custom-views/custom-views-selector/types.js";
4
4
  type MessageDescriptor = {
5
5
  id: string;
6
6
  description?: string | object;
@@ -41,53 +41,53 @@ declare const TabularModalPage: {
41
41
  displayName: string;
42
42
  FormPrimaryButton: {
43
43
  ({ label, isDisabled, dataAttributes, ...props }: {
44
- iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps, string | import("react").JSXElementConstructor<any>> | undefined;
44
+ iconLeft?: ReactElement<import("@commercetools-uikit/design-system").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
  FormSecondaryButton: {
61
61
  ({ label, isDisabled, dataAttributes, ...props }: {
62
- iconLeft?: ReactElement<import("@commercetools-uikit/design-system").TIconProps, string | import("react").JSXElementConstructor<any>> | undefined;
62
+ iconLeft?: ReactElement<import("@commercetools-uikit/design-system").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
  };
78
78
  FormDeleteButton: {
79
79
  ({ label, isDisabled, dataAttributes, ...props }: {
80
- label?: (string | {
80
+ label?: string | {
81
81
  id: string;
82
- description?: string | object | undefined;
83
- defaultMessage?: string | undefined;
84
- }) | undefined;
85
- onClick: (event: SyntheticEvent<Element, Event>) => void;
86
- isDisabled?: boolean | undefined;
82
+ description?: string | object;
83
+ defaultMessage?: string;
84
+ };
85
+ onClick: (event: SyntheticEvent) => void;
86
+ isDisabled?: boolean;
87
87
  dataAttributes?: {
88
88
  [key: string]: string;
89
- } | undefined;
90
- children?: undefined;
89
+ };
90
+ children?: never;
91
91
  }): import("@emotion/react/jsx-runtime").JSX.Element;
92
92
  displayName: string;
93
93
  };
@@ -1 +1 @@
1
- export { default as ModalPageTopBar, LargeIconWrapper, } from './modal-page-top-bar';
1
+ export { default as ModalPageTopBar, LargeIconWrapper, } from "./modal-page-top-bar.js";
@@ -1,2 +1,2 @@
1
- export { default } from './page-content-full';
2
- export type { TPageContentFull } from './page-content-full';
1
+ export { default } from "./page-content-full.js";
2
+ export type { TPageContentFull } from "./page-content-full.js";
@@ -1,2 +1,2 @@
1
- export { default } from './page-content-narrow';
2
- export type { TPageContentNarrow } from './page-content-narrow';
1
+ export { default } from "./page-content-narrow.js";
2
+ export type { TPageContentNarrow } from "./page-content-narrow.js";
@@ -1,2 +1,2 @@
1
- export { default } from './page-content-wide';
2
- export type { TPageContentWide } from './page-content-wide';
1
+ export { default } from "./page-content-wide.js";
2
+ export type { TPageContentWide } from "./page-content-wide.js";
@@ -1 +1 @@
1
- export { default } from './page-not-found';
1
+ export { default } from "./page-not-found.js";
@@ -1 +1 @@
1
- export { default } from './page-unauthorized';
1
+ export { default } from "./page-unauthorized.js";
@@ -1 +1 @@
1
- export { default } from './portals-container';
1
+ export { default } from "./portals-container.js";
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  declare const PublicPageLayout: import("react").LazyExoticComponent<import("react").FC<{
3
- welcomeMessage?: string | undefined;
2
+ welcomeMessage?: string;
4
3
  legalMessage?: import("react").ReactNode;
5
- contentScale?: "normal" | "wide" | undefined;
4
+ contentScale?: "normal" | "wide";
6
5
  children: import("react").ReactNode;
7
6
  }>>;
8
7
  export default PublicPageLayout;
@@ -1 +1 @@
1
- export { default } from './tab-header';
1
+ export { default } from "./tab-header.js";
@@ -1 +1 @@
1
- export { default } from './use-modal-state';
1
+ export { default } from "./use-modal-state.js";
@@ -1,35 +1,35 @@
1
- export { default as version } from './version';
2
- export { default as TabHeader } from './components/tab-header';
3
- export { default as InfoDialog } from './components/dialogs/info-dialog';
4
- export { default as ConfirmationDialog } from './components/dialogs/confirmation-dialog';
5
- export { default as FormDialog } from './components/dialogs/form-dialog';
6
- export { default as InfoModalPage } from './components/modal-pages/info-modal-page';
7
- export { default as FormModalPage } from './components/modal-pages/form-modal-page';
8
- export { default as TabularModalPage } from './components/modal-pages/tabular-modal-page';
9
- export { default as CustomFormModalPage } from './components/modal-pages/custom-form-modal-page';
10
- export { ModalPageTopBar } from './components/modal-pages/utils';
11
- export { default as CustomFormDetailPage } from './components/detail-pages/custom-form-detail-page';
12
- export { default as FormDetailPage } from './components/detail-pages/form-detail-page';
13
- export { default as InfoDetailPage } from './components/detail-pages/info-detail-page';
14
- export { default as TabularDetailPage } from './components/detail-pages/tabular-detail-page';
15
- export { default as PublicPageLayout } from './components/public-page-layout';
16
- export { default as FormMainPage } from './components/main-pages/form-main-page';
17
- export { default as CustomFormMainPage } from './components/main-pages/custom-form-main-page';
18
- export { default as InfoMainPage } from './components/main-pages/info-main-page';
19
- export { default as TabularMainPage } from './components/main-pages/tabular-main-page';
20
- export { default as MaintenancePageLayout } from './components/maintenance-page-layout';
21
- export { default as PageNotFound } from './components/page-not-found';
22
- export { default as PageUnauthorized } from './components/page-unauthorized';
23
- export { default as PageContentNarrow } from './components/page-content-containers/page-content-narrow';
24
- export type { TPageContentNarrow } from './components/page-content-containers/page-content-narrow';
25
- export { default as PageContentWide } from './components/page-content-containers/page-content-wide';
26
- export type { TPageContentWide } from './components/page-content-containers/page-content-wide';
27
- export { default as PageContentFull } from './components/page-content-containers/page-content-full';
28
- export type { TPageContentFull } from './components/page-content-containers/page-content-full';
29
- export { default as Drawer } from './components/drawer';
30
- export { default as CustomViewLoader } from './components/custom-views/custom-view-loader';
31
- export { default as CustomViewsSelector } from './components/custom-views/custom-views-selector';
32
- export { default as ProjectStamp } from './components/project-stamp/project-stamp';
33
- export { default as PortalsContainer } from './components/portals-container';
34
- export { default as useModalState } from './hooks/use-modal-state';
35
- export * from './theming';
1
+ export { default as version } from "./version.js";
2
+ export { default as TabHeader } from "./components/tab-header/index.js";
3
+ export { default as InfoDialog } from "./components/dialogs/info-dialog/index.js";
4
+ export { default as ConfirmationDialog } from "./components/dialogs/confirmation-dialog/index.js";
5
+ export { default as FormDialog } from "./components/dialogs/form-dialog/index.js";
6
+ export { default as InfoModalPage } from "./components/modal-pages/info-modal-page/index.js";
7
+ export { default as FormModalPage } from "./components/modal-pages/form-modal-page/index.js";
8
+ export { default as TabularModalPage } from "./components/modal-pages/tabular-modal-page/index.js";
9
+ export { default as CustomFormModalPage } from "./components/modal-pages/custom-form-modal-page/index.js";
10
+ export { ModalPageTopBar } from "./components/modal-pages/utils/index.js";
11
+ export { default as CustomFormDetailPage } from "./components/detail-pages/custom-form-detail-page/index.js";
12
+ export { default as FormDetailPage } from "./components/detail-pages/form-detail-page/index.js";
13
+ export { default as InfoDetailPage } from "./components/detail-pages/info-detail-page/index.js";
14
+ export { default as TabularDetailPage } from "./components/detail-pages/tabular-detail-page/index.js";
15
+ export { default as PublicPageLayout } from "./components/public-page-layout/index.js";
16
+ export { default as FormMainPage } from "./components/main-pages/form-main-page/index.js";
17
+ export { default as CustomFormMainPage } from "./components/main-pages/custom-form-main-page/index.js";
18
+ export { default as InfoMainPage } from "./components/main-pages/info-main-page/index.js";
19
+ export { default as TabularMainPage } from "./components/main-pages/tabular-main-page/index.js";
20
+ export { default as MaintenancePageLayout } from "./components/maintenance-page-layout/index.js";
21
+ export { default as PageNotFound } from "./components/page-not-found/index.js";
22
+ export { default as PageUnauthorized } from "./components/page-unauthorized/index.js";
23
+ export { default as PageContentNarrow } from "./components/page-content-containers/page-content-narrow/index.js";
24
+ export type { TPageContentNarrow } from "./components/page-content-containers/page-content-narrow/index.js";
25
+ export { default as PageContentWide } from "./components/page-content-containers/page-content-wide/index.js";
26
+ export type { TPageContentWide } from "./components/page-content-containers/page-content-wide/index.js";
27
+ export { default as PageContentFull } from "./components/page-content-containers/page-content-full/index.js";
28
+ export type { TPageContentFull } from "./components/page-content-containers/page-content-full/index.js";
29
+ export { default as Drawer } from "./components/drawer/index.js";
30
+ export { default as CustomViewLoader } from "./components/custom-views/custom-view-loader/index.js";
31
+ export { default as CustomViewsSelector } from "./components/custom-views/custom-views-selector/index.js";
32
+ export { default as ProjectStamp } from "./components/project-stamp/project-stamp.js";
33
+ export { default as PortalsContainer } from "./components/portals-container/index.js";
34
+ export { default as useModalState } from "./hooks/use-modal-state/index.js";
35
+ export * from "./theming.js";
@@ -10,4 +10,6 @@ export declare const themesOverrides: {
10
10
  fontColorForTabLabelWhenActive: "var(--color-primary, hsl(240, 64%, 58%))";
11
11
  };
12
12
  };
13
- export declare const designTokens: Record<"marginForCustomViewsSelectorAsTabular" | "marginForPageContent" | "paddingForDetailPageHeader" | "paddingForMainPageHeader" | "paddingForTabularPageHeader" | "backgroundColorForNavbar" | "backgroundColorForNavbarHeader" | "fontColorForTabLabelWhenActive", string>;
13
+ type DesignTokenOverrides = keyof typeof themesOverrides.default;
14
+ export declare const designTokens: Record<DesignTokenOverrides, string>;
15
+ export {};
@@ -1,6 +1,4 @@
1
1
  import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/esm/objectWithoutProperties';
2
- import _pt from 'prop-types';
3
- import 'react';
4
2
  import { css } from '@emotion/react';
5
3
  import CommercetoolsLogoSmallSvg from '@commercetools-frontend/assets/logos/commercetools_logo_small.svg';
6
4
  import { designTokens } from '@commercetools-uikit/design-system';
@@ -44,12 +42,6 @@ const PublicPageLayoutContent = _ref => {
44
42
  children: props.children
45
43
  });
46
44
  };
47
- PublicPageLayoutContent.propTypes = process.env.NODE_ENV !== "production" ? {
48
- welcomeMessage: _pt.string,
49
- legalMessage: _pt.node,
50
- contentScale: _pt.oneOf(['normal', 'wide']),
51
- children: _pt.node.isRequired
52
- } : {};
53
45
  const PublicPageLayout = _ref2 => {
54
46
  let _ref2$contentScale = _ref2.contentScale,
55
47
  contentScale = _ref2$contentScale === void 0 ? 'normal' : _ref2$contentScale,
@@ -97,12 +89,6 @@ const PublicPageLayout = _ref2 => {
97
89
  })
98
90
  });
99
91
  };
100
- PublicPageLayout.propTypes = process.env.NODE_ENV !== "production" ? {
101
- welcomeMessage: _pt.string,
102
- legalMessage: _pt.node,
103
- contentScale: _pt.oneOf(['normal', 'wide']),
104
- children: _pt.node.isRequired
105
- } : {};
106
92
  PublicPageLayout.displayName = 'PublicPageLayout';
107
93
 
108
94
  export { PublicPageLayout as default };
@@ -1,8 +1,6 @@
1
1
  'use strict';
2
2
 
3
3
  var _objectWithoutProperties = require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
4
- require('prop-types');
5
- require('react');
6
4
  var react = require('@emotion/react');
7
5
  var CommercetoolsLogoSmallSvg = require('@commercetools-frontend/assets/logos/commercetools_logo_small.svg');
8
6
  var designSystem = require('@commercetools-uikit/design-system');
@@ -44,7 +42,6 @@ const PublicPageLayoutContent = _ref => {
44
42
  children: props.children
45
43
  });
46
44
  };
47
- PublicPageLayoutContent.propTypes = {};
48
45
  const PublicPageLayout = _ref2 => {
49
46
  let _ref2$contentScale = _ref2.contentScale,
50
47
  contentScale = _ref2$contentScale === void 0 ? 'normal' : _ref2$contentScale,
@@ -92,7 +89,6 @@ const PublicPageLayout = _ref2 => {
92
89
  })
93
90
  });
94
91
  };
95
- PublicPageLayout.propTypes = {};
96
92
  PublicPageLayout.displayName = 'PublicPageLayout';
97
93
 
98
94
  exports["default"] = PublicPageLayout;
@@ -1,8 +1,6 @@
1
1
  'use strict';
2
2
 
3
3
  var _objectWithoutProperties = require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
4
- var _pt = require('prop-types');
5
- require('react');
6
4
  var react = require('@emotion/react');
7
5
  var CommercetoolsLogoSmallSvg = require('@commercetools-frontend/assets/logos/commercetools_logo_small.svg');
8
6
  var designSystem = require('@commercetools-uikit/design-system');
@@ -13,7 +11,6 @@ var jsxRuntime = require('@emotion/react/jsx-runtime');
13
11
 
14
12
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
15
13
 
16
- var _pt__default = /*#__PURE__*/_interopDefault(_pt);
17
14
  var CommercetoolsLogoSmallSvg__default = /*#__PURE__*/_interopDefault(CommercetoolsLogoSmallSvg);
18
15
  var Spacings__default = /*#__PURE__*/_interopDefault(Spacings);
19
16
  var Text__default = /*#__PURE__*/_interopDefault(Text);
@@ -54,12 +51,6 @@ const PublicPageLayoutContent = _ref => {
54
51
  children: props.children
55
52
  });
56
53
  };
57
- PublicPageLayoutContent.propTypes = process.env.NODE_ENV !== "production" ? {
58
- welcomeMessage: _pt__default["default"].string,
59
- legalMessage: _pt__default["default"].node,
60
- contentScale: _pt__default["default"].oneOf(['normal', 'wide']),
61
- children: _pt__default["default"].node.isRequired
62
- } : {};
63
54
  const PublicPageLayout = _ref2 => {
64
55
  let _ref2$contentScale = _ref2.contentScale,
65
56
  contentScale = _ref2$contentScale === void 0 ? 'normal' : _ref2$contentScale,
@@ -107,12 +98,6 @@ const PublicPageLayout = _ref2 => {
107
98
  })
108
99
  });
109
100
  };
110
- PublicPageLayout.propTypes = process.env.NODE_ENV !== "production" ? {
111
- welcomeMessage: _pt__default["default"].string,
112
- legalMessage: _pt__default["default"].node,
113
- contentScale: _pt__default["default"].oneOf(['normal', 'wide']),
114
- children: _pt__default["default"].node.isRequired
115
- } : {};
116
101
  PublicPageLayout.displayName = 'PublicPageLayout';
117
102
 
118
103
  exports["default"] = PublicPageLayout;