@soma-vertical-web/multi-lib 0.0.23 → 0.0.25

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 (107) hide show
  1. package/cms/ContentTypes/CommonPage/CommonPage.d.ts +3 -0
  2. package/cms/ContentTypes/CommonPage/DataScreening.d.ts +6 -0
  3. package/cms/ContentTypes/CommonPage/index.d.ts +2 -0
  4. package/cms/ContentTypes/FlagsAndTags/index.d.ts +1 -0
  5. package/cms/ContentTypes/index.d.ts +6 -0
  6. package/cms/Factories/common.d.ts +7 -0
  7. package/cms/Factories/contentType.d.ts +9 -0
  8. package/cms/Factories/index.d.ts +2 -0
  9. package/cms/Factories/section.d.ts +7 -0
  10. package/cms/Sections/Banner/Component.d.ts +7 -0
  11. package/cms/Sections/Banner/Composite/Content.d.ts +4 -0
  12. package/cms/Sections/Banner/Composite/Slot.d.ts +0 -0
  13. package/cms/Sections/Banner/adapter.d.ts +32 -0
  14. package/cms/Sections/Banner/index.d.ts +8 -0
  15. package/cms/Sections/BennefitsBar/Component.d.ts +3 -0
  16. package/cms/Sections/BennefitsBar/index.d.ts +8 -0
  17. package/cms/Sections/TextContent/Component.d.ts +4 -0
  18. package/cms/Sections/TextContent/Composite/Content.d.ts +6 -0
  19. package/cms/Sections/TextContent/Composite/ContentWrapper.d.ts +3 -0
  20. package/cms/Sections/TextContent/adapter.d.ts +3 -0
  21. package/cms/Sections/TextContent/index.d.ts +5 -0
  22. package/cms/Sections/_common/Accordion.d.ts +2 -0
  23. package/cms/Sections/_common/BannerItem.d.ts +5 -0
  24. package/cms/Sections/_common/TextStructure.d.ts +17 -0
  25. package/cms/Sections/_common/interfaces.d.ts +8 -0
  26. package/cms/Sections/index.d.ts +10 -0
  27. package/cms/helpers/index.d.ts +4 -1
  28. package/cms/index.d.ts +13 -7
  29. package/cms/ui/ContentTypes/CommonPage/CommonPage.d.ts +3 -0
  30. package/cms/ui/ContentTypes/CommonPage/DataScreening.d.ts +6 -0
  31. package/cms/ui/ContentTypes/CommonPage/index.d.ts +2 -0
  32. package/cms/ui/ContentTypes/index.d.ts +1 -0
  33. package/cms/ui/Factories/section.d.ts +7 -0
  34. package/cms/ui/Sections/Banner/Component.d.ts +7 -0
  35. package/cms/ui/Sections/Banner/Composite/Content.d.ts +4 -0
  36. package/cms/ui/Sections/Banner/Composite/Slot.d.ts +0 -0
  37. package/cms/ui/Sections/Banner/adapter.d.ts +32 -0
  38. package/cms/ui/Sections/Banner/index.d.ts +8 -0
  39. package/cms/ui/Sections/TextContent/Component.d.ts +4 -0
  40. package/cms/ui/Sections/TextContent/Composite/Content.d.ts +3 -0
  41. package/cms/ui/Sections/TextContent/Composite/ContentWrapper.d.ts +3 -0
  42. package/cms/ui/Sections/TextContent/adapter.d.ts +3 -0
  43. package/cms/ui/Sections/TextContent/index.d.ts +8 -0
  44. package/cms/ui/Sections/_common/Accordion.d.ts +2 -0
  45. package/cms/ui/Sections/_common/BannerItem.d.ts +5 -0
  46. package/cms/ui/Sections/_common/TextStructure.d.ts +17 -0
  47. package/cms/ui/Sections/_common/interfaces.d.ts +8 -0
  48. package/cms/ui/Sections/index.d.ts +4 -0
  49. package/data/api/cms/index.d.ts +1 -1
  50. package/data/helpers/product/generalInfo.d.ts +1 -0
  51. package/index-BCZReEF1.js +4 -0
  52. package/index-BI5_UgNN.mjs +3210 -0
  53. package/index-BaPdEOcD.js +4 -0
  54. package/index-C7gBx1Sj.js +4 -0
  55. package/index-CAM8BZOC.mjs +3509 -0
  56. package/index-CG59Ho-O.mjs +3514 -0
  57. package/index-CWsS9JhJ.mjs +69 -0
  58. package/index-CqPFy76Q.mjs +3531 -0
  59. package/index-DVeRXseR.js +4 -0
  60. package/index-DXjpbLiy.js +4 -0
  61. package/index-DmJIk8vB.mjs +3210 -0
  62. package/index-KIgYoXyH.mjs +3526 -0
  63. package/index-NWyULgUV.js +4 -0
  64. package/index-T-_Ys9t7.mjs +3483 -0
  65. package/index-T1F-4OSy.js +4 -0
  66. package/index-dgE7GGD0.js +4 -0
  67. package/index-fnNrOQ41.js +1 -0
  68. package/index-tKMO8iJa.mjs +3215 -0
  69. package/index.d.ts +1 -1
  70. package/index.js +41 -4
  71. package/index.mjs +8776 -4553
  72. package/index2.js +1 -1
  73. package/index2.mjs +97 -34
  74. package/layout/index.d.ts +11 -10
  75. package/layout/team-component/Footer/Composite/Devices/Column.Mobile.d.ts +1 -1
  76. package/layout/team-component/Footer/Composite/Support/index.d.ts +3 -0
  77. package/layout/team-component/Footer/Composite/Support/item.d.ts +3 -0
  78. package/layout/team-component/Footer/Footer.d.ts +1 -1
  79. package/layout/team-component/Footer/index.d.ts +4 -1
  80. package/layout/team-component/TipBar/Composite/Fields/FieldsScreening.d.ts +1 -1
  81. package/layout/team-component/TipBar/Composite/Fields/TextContent.d.ts +1 -1
  82. package/layout/team-component/TipBar/Composite/Root.d.ts +3 -1
  83. package/layout/team-component/TipBar/index.d.ts +1 -1
  84. package/layout/utils/DraftJsLinkWrapper/index.d.ts +5 -0
  85. package/package.json +1 -1
  86. package/server.d.ts +4 -3
  87. package/style.css +1 -1
  88. package/types/cms/ContentTypes/CommonPage/index.d.ts +6 -2
  89. package/types/cms/ContentTypes/FlagsAndTags/index.d.ts +1 -1
  90. package/types/cms/ContentTypes/Footer/index.d.ts +31 -1
  91. package/types/cms/ContentTypes/Header/index.d.ts +1 -1
  92. package/types/cms/ContentTypes/LookbookPage/index.d.ts +1 -1
  93. package/types/cms/ContentTypes/Multimarcas/index.d.ts +1 -1
  94. package/types/cms/ContentTypes/NotFoundPage/index.d.ts +2 -3
  95. package/types/cms/Sections/Banner/index.d.ts +5 -1
  96. package/types/cms/Sections/BennefitsBar/index.d.ts +5 -0
  97. package/types/cms/Sections/TextContent/index.d.ts +9 -2
  98. package/types/cms/api/index.d.ts +0 -11
  99. package/types/constants.d.ts +8 -1
  100. package/types/contexts/contexts/cart/index.d.ts +1 -2
  101. package/types/contexts/store/cart.d.ts +3 -2
  102. package/types/data/api/cms/index.d.ts +11 -0
  103. package/types/data/api/search/product/index.d.ts +1 -1
  104. package/types/layout/team-components/Footer/index.d.ts +3 -0
  105. package/types/layout/team-components/Timer/index.d.ts +1 -1
  106. package/types/layout/team-components/TipBar/index.d.ts +6 -1
  107. package/types/layout/utils/index.d.ts +6 -0
@@ -0,0 +1,3 @@
1
+ import { CommonPageContentProps } from '../../../types/cms/ContentTypes/CommonPage';
2
+
3
+ export declare const CommonPageContent: ({ slug, SectionZone, COMMON_PAGE_COLUMN_GAP, ...props }: CommonPageContentProps) => Promise<import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,6 @@
1
+ import { DataScreeningProps } from '../../../types/cms/ContentTypes/CommonPage';
2
+
3
+ /**
4
+ * TODO: remove SectionZone as props
5
+ */
6
+ export declare const DataScreening: ({ slug, data, SectionZone, COMMON_PAGE_COLUMN_GAP }: DataScreeningProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('../../../types/cms/Factories').IContentType;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare function generateFlagsAndTagsContentType(ICONS: Record<string, string>): import('../../../types/cms/Factories').IContentType;
@@ -0,0 +1,6 @@
1
+ import { generateFlagsAndTagsContentType } from './FlagsAndTags';
2
+
3
+ export declare const ContentTypes: {
4
+ generateFlagsAndTags: typeof generateFlagsAndTagsContentType;
5
+ commonPage: import('../../types/cms/Factories').IContentType;
6
+ };
@@ -0,0 +1,7 @@
1
+ import { Property, Widget, JSONWidget } from '../../types/cms/Factories';
2
+
3
+ declare const Common: {
4
+ property: (props: Property) => Property;
5
+ widget: (props: Widget) => JSONWidget;
6
+ };
7
+ export default Common;
@@ -0,0 +1,9 @@
1
+ import { Schema, Configuration, ConfigurationSchemaSet, IContentType } from '../../types/cms/Factories';
2
+
3
+ declare const ContentType: {
4
+ base: (props: IContentType) => IContentType;
5
+ configurationSchemaSet: (props: ConfigurationSchemaSet) => ConfigurationSchemaSet;
6
+ configuration: (props: Configuration) => Configuration;
7
+ schema: (props: Schema) => Schema;
8
+ };
9
+ export default ContentType;
@@ -0,0 +1,2 @@
1
+ export { default as ContentType } from './contentType';
2
+ export { default as Common } from './common';
@@ -0,0 +1,7 @@
1
+ import { ISection, Schema } from '../../types/cms/Factories';
2
+
3
+ declare const Section: {
4
+ schema: (props: Schema) => Schema;
5
+ base: (props: ISection) => ISection;
6
+ };
7
+ export default Section;
@@ -0,0 +1,7 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { BannerSectionType, IBannerSectionTypeComponent } from '../../../types/cms/Sections/Banner';
3
+
4
+ export declare const BannerSection: ({ data, className, priority, creative, ...props }: IBannerSectionTypeComponent & {
5
+ imgStyles?: HTMLAttributes<HTMLImageElement>["style"];
6
+ } & HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const SingleBannerSection: (data: BannerSectionType) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { BannerContentProps } from '../../../../types/cms/Sections/Banner';
3
+
4
+ export declare const BannerContent: ({ data, videoUrl, priority, videoRef, ICONS, ...props }: BannerContentProps & HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
File without changes
@@ -0,0 +1,32 @@
1
+ import { ContentAlignment, Position } from '../../../types/cms/Sections/Banner';
2
+
3
+ export declare const positionAdapter: (position: Position) => {
4
+ verticalAlignment: string;
5
+ horizontalAlignment: string;
6
+ } | {
7
+ verticalAlignment: string;
8
+ horizontalAlignment: string;
9
+ } | {
10
+ verticalAlignment: string;
11
+ horizontalAlignment: string;
12
+ } | {
13
+ verticalAlignment: string;
14
+ horizontalAlignment: string;
15
+ } | {
16
+ verticalAlignment: string;
17
+ horizontalAlignment: string;
18
+ } | {
19
+ verticalAlignment: string;
20
+ horizontalAlignment: string;
21
+ } | {
22
+ verticalAlignment: string;
23
+ horizontalAlignment: string;
24
+ } | {
25
+ verticalAlignment: string;
26
+ horizontalAlignment: string;
27
+ } | {
28
+ verticalAlignment: string;
29
+ horizontalAlignment: string;
30
+ };
31
+ export declare const alignmentAdapter: (alignment: ContentAlignment) => string;
32
+ export declare const colorModeAdapter: (colorMode: "Padr\u00E3o(preto)" | "Invertido(branco)") => string;
@@ -0,0 +1,8 @@
1
+ import { ICONSType } from '../../../types/constants';
2
+
3
+ export declare function generateBannerSection({ ICONS }: {
4
+ ICONS: ICONSType;
5
+ }): import('../../../types/cms/Factories').ISection;
6
+ export declare const Component: {
7
+ Banner: (data: import('../../../types/cms/Sections/Banner').BannerSectionType) => import("react/jsx-runtime").JSX.Element;
8
+ };
@@ -0,0 +1,3 @@
1
+ import { BennefitsBarSectionType } from '../../../types/cms/Sections/BennefitsBar';
2
+
3
+ export declare const BennefitsBarSection: ({ data, CONSTANTS }: BennefitsBarSectionType) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { ICONSType } from '../../../types/constants';
2
+
3
+ export declare function generateBennefitsBarSection({ ICONS }: {
4
+ ICONS: ICONSType;
5
+ }): import('../../../types/cms/Factories').ISection;
6
+ export declare const Component: {
7
+ 'Bennefits Bar': ({ data, CONSTANTS }: import('../../../types/cms/Sections/BennefitsBar').BennefitsBarSectionType) => import("react/jsx-runtime").JSX.Element;
8
+ };
@@ -0,0 +1,4 @@
1
+ import { TextContentSectionProps } from '../../../types/cms/Sections/TextContent';
2
+
3
+ export declare const TextContentSection: ({ data, ICONS }: TextContentSectionProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default TextContentSection;
@@ -0,0 +1,6 @@
1
+ import { ContentProps } from '../../../../types/cms/Sections/TextContent';
2
+
3
+ /**
4
+ * TODO: fix ts error
5
+ */
6
+ export declare const Content: ({ expanded, content }: ContentProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { TextContentProps } from '../../../../types/cms/Sections/TextContent';
2
+
3
+ export declare const TextContent: ({ data, ICONS }: TextContentProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { ContentAlignment } from '../../../types/cms/Sections/TextContent';
2
+
3
+ export declare const alignmentAdapter: (alignment: ContentAlignment) => string;
@@ -0,0 +1,5 @@
1
+ import { ICONSType } from '../../../types/constants';
2
+
3
+ export declare function generateTextContentSection({ ICONS }: {
4
+ ICONS: ICONSType;
5
+ }): import('../../../types/cms/Factories').ISection;
@@ -0,0 +1,2 @@
1
+ export declare const AccordionItemFragment: import('../../../types/cms/Factories').Property;
2
+ export declare const AccordionListFragment: import('../../../types/cms/Factories').Property;
@@ -0,0 +1,5 @@
1
+ import { ICONSType } from '../../../types/constants';
2
+
3
+ export declare function generateBannerItemFragment({ ICONS }: {
4
+ ICONS: ICONSType;
5
+ }): import('../../../types/cms/Factories').Property;
@@ -0,0 +1,17 @@
1
+ import { ICONSType } from '../../../types/constants';
2
+
3
+ export declare function generateTextStructureFragment({ ICONS }: {
4
+ ICONS: ICONSType;
5
+ }): {
6
+ borderTop: import('../../../types/cms/Factories').Property;
7
+ textStructure: import('../../../types/cms/Factories').Property;
8
+ textStructureReduced: import('../../../types/cms/Factories').Property;
9
+ textStructureMode: import('../../../types/cms/Factories').Property;
10
+ textStructureButtonSize: import('../../../types/cms/Factories').Property;
11
+ enableIcon: import('../../../types/cms/Factories').Property;
12
+ textStructureButtonIcon: import('../../../types/cms/Factories').Property;
13
+ textStructureButtonLabel: import('../../../types/cms/Factories').Property;
14
+ textStructureButtonHref: import('../../../types/cms/Factories').Property;
15
+ showTextStructureExpander: import('../../../types/cms/Factories').Property;
16
+ textStructureAlignment: import('../../../types/cms/Factories').Property;
17
+ };
@@ -0,0 +1,8 @@
1
+ export interface IAccordion {
2
+ title: string;
3
+ subtitle: string;
4
+ text: string;
5
+ }
6
+ export interface IAccordionList {
7
+ accordions: IAccordion[];
8
+ }
@@ -0,0 +1,10 @@
1
+ import { generateBannerSection } from './Banner';
2
+ import { generateBennefitsBarSection } from './BennefitsBar';
3
+ import { generateTextContentSection } from './TextContent';
4
+
5
+ declare const Sections: {
6
+ generateBannerSection: typeof generateBannerSection;
7
+ generateTextContentSection: typeof generateTextContentSection;
8
+ generateBennefitsBarSection: typeof generateBennefitsBarSection;
9
+ };
10
+ export default Sections;
@@ -1,4 +1,4 @@
1
- import { ContentState } from 'draft-js';
1
+ import { ContentState, EditorState } from 'draft-js';
2
2
 
3
3
  interface BlockData {
4
4
  type: string;
@@ -6,4 +6,7 @@ interface BlockData {
6
6
  style?: string;
7
7
  }
8
8
  export declare const convertDraftToHTML: (contentState: ContentState) => BlockData[];
9
+ export declare const CREATE_CONTENT: (jsonData: string) => EditorState;
10
+ export declare const GET_CONTENT_STATE: (jsonData: string) => ContentState;
11
+ export declare const EXTENDED_BLOCK_RENDER_MAP: Immutable.Map<any, any>;
9
12
  export {};
package/cms/index.d.ts CHANGED
@@ -1,11 +1,17 @@
1
- import * as Factories from './ui/Factories';
2
- import * as CMSApi from '../data/api/cms';
3
1
  import * as helpers from './helpers';
4
- export declare const cms: {
5
- ContentTypes: {
6
- generateFlagsAndTags: typeof import('./ui/ContentTypes/FlagsAndTags').generateFlagsAndTagsContentType;
2
+ export declare const clientCMS: {
3
+ Components: {
4
+ Banner: {
5
+ Banner: (data: import('../types/cms/Sections/Banner').BannerSectionType) => import("react/jsx-runtime").JSX.Element;
6
+ };
7
+ BannerSection: ({ data, className, priority, creative, ...props }: import('../types/cms/Sections/Banner').IBannerSectionTypeComponent & {
8
+ imgStyles?: import('react').HTMLAttributes<HTMLImageElement>["style"];
9
+ } & import('react').HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
10
+ BennefitsBarSection: ({ data, CONSTANTS }: import('../types/cms/Sections/BennefitsBar').BennefitsBarSectionType) => import("react/jsx-runtime").JSX.Element;
11
+ DataScreening: ({ slug, data, SectionZone, COMMON_PAGE_COLUMN_GAP }: import('../types/cms/ContentTypes/CommonPage').DataScreeningProps) => import("react/jsx-runtime").JSX.Element;
12
+ SingleBannerSection: (data: import('../types/cms/Sections/Banner').BannerSectionType) => import("react/jsx-runtime").JSX.Element;
13
+ TextContentSection: ({ data, ICONS }: import('../types/cms/Sections/TextContent').TextContentSectionProps) => import("react/jsx-runtime").JSX.Element;
14
+ TextContent: ({ data, ICONS }: import('../types/cms/Sections/TextContent').TextContentProps) => import("react/jsx-runtime").JSX.Element;
7
15
  };
8
- Factories: typeof Factories;
9
- CMSApi: typeof CMSApi;
10
16
  helpers: typeof helpers;
11
17
  };
@@ -0,0 +1,3 @@
1
+ import { CommonPageContentProps } from '../../../../types/cms/ContentTypes/CommonPage';
2
+
3
+ export declare const CommonPageContent: ({ slug, SectionZone, COMMON_PAGE_COLUMN_GAP, ...props }: CommonPageContentProps) => Promise<import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,6 @@
1
+ import { DataScreeningProps } from '../../../../types/cms/ContentTypes/CommonPage';
2
+
3
+ /**
4
+ * TODO: remove SectionZone as props
5
+ */
6
+ export declare const DataScreening: ({ slug, data, SectionZone, COMMON_PAGE_COLUMN_GAP }: DataScreeningProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('../../../../types/cms/Factories').IContentType;
2
+ export default _default;
@@ -2,4 +2,5 @@ import { generateFlagsAndTagsContentType } from './FlagsAndTags';
2
2
 
3
3
  export declare const ContentTypes: {
4
4
  generateFlagsAndTags: typeof generateFlagsAndTagsContentType;
5
+ commonPage: import('../../../types/cms/Factories').IContentType;
5
6
  };
@@ -0,0 +1,7 @@
1
+ import { ISection, Schema } from '../../../types/cms/Factories';
2
+
3
+ declare const Section: {
4
+ schema: (props: Schema) => Schema;
5
+ base: (props: ISection) => ISection;
6
+ };
7
+ export default Section;
@@ -0,0 +1,7 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { BannerSectionType, IBannerSectionTypeComponent } from '../../../../types/cms/Sections/Banner';
3
+
4
+ export declare const BannerSection: ({ data, className, priority, creative, ...props }: IBannerSectionTypeComponent & {
5
+ imgStyles?: HTMLAttributes<HTMLImageElement>["style"];
6
+ } & HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const SingleBannerSection: (data: BannerSectionType) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { BannerContentProps } from '../../../../../types/cms/Sections/Banner';
3
+
4
+ export declare const BannerContent: ({ data, videoUrl, priority, videoRef, ...props }: BannerContentProps & HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
File without changes
@@ -0,0 +1,32 @@
1
+ import { ContentAlignment, Position } from '../../../../types/cms/Sections/Banner';
2
+
3
+ export declare const positionAdapter: (position: Position) => {
4
+ verticalAlignment: string;
5
+ horizontalAlignment: string;
6
+ } | {
7
+ verticalAlignment: string;
8
+ horizontalAlignment: string;
9
+ } | {
10
+ verticalAlignment: string;
11
+ horizontalAlignment: string;
12
+ } | {
13
+ verticalAlignment: string;
14
+ horizontalAlignment: string;
15
+ } | {
16
+ verticalAlignment: string;
17
+ horizontalAlignment: string;
18
+ } | {
19
+ verticalAlignment: string;
20
+ horizontalAlignment: string;
21
+ } | {
22
+ verticalAlignment: string;
23
+ horizontalAlignment: string;
24
+ } | {
25
+ verticalAlignment: string;
26
+ horizontalAlignment: string;
27
+ } | {
28
+ verticalAlignment: string;
29
+ horizontalAlignment: string;
30
+ };
31
+ export declare const alignmentAdapter: (alignment: ContentAlignment) => string;
32
+ export declare const colorModeAdapter: (colorMode: "Padr\u00E3o(preto)" | "Invertido(branco)") => string;
@@ -0,0 +1,8 @@
1
+ import { ICONSType } from '../../../../types/constants';
2
+
3
+ export declare function generateBannerSection({ ICONS }: {
4
+ ICONS: ICONSType;
5
+ }): import('../../../../types/cms/Factories').ISection;
6
+ export declare const Component: {
7
+ Banner: (data: import('../../../../types/cms/Sections/Banner').BannerSectionType) => import("react/jsx-runtime").JSX.Element;
8
+ };
@@ -0,0 +1,4 @@
1
+ import { TextContentSectionProps } from '../../../../types/cms/Sections/TextContent';
2
+
3
+ export declare const TextContentSection: ({ data, }: TextContentSectionProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default TextContentSection;
@@ -0,0 +1,3 @@
1
+ import { ContentProps } from '../../../../../types/cms/Sections/TextContent/index';
2
+
3
+ export declare const Content: ({ expanded, content }: ContentProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { TextContentProps } from '../../../../../types/cms/Sections/TextContent';
2
+
3
+ export declare const TextContent: ({ data, }: TextContentProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { ContentAlignment } from '../../../../types/cms/Sections/TextContent';
2
+
3
+ export declare const alignmentAdapter: (alignment: ContentAlignment) => string;
@@ -0,0 +1,8 @@
1
+ import { ICONSType } from '../../../../types/constants';
2
+
3
+ export declare function generateTextContentSection({ ICONS }: {
4
+ ICONS: ICONSType;
5
+ }): import('../../../../types/cms/Factories').ISection;
6
+ export declare const Component: {
7
+ TextContent: ({ data, }: import('../../../../types/cms/Sections/TextContent').TextContentSectionProps) => import("react/jsx-runtime").JSX.Element;
8
+ };
@@ -0,0 +1,2 @@
1
+ export declare const AccordionItemFragment: import('../../../../types/cms/Factories').Property;
2
+ export declare const AccordionListFragment: import('../../../../types/cms/Factories').Property;
@@ -0,0 +1,5 @@
1
+ import { ICONSType } from '../../../../types/constants';
2
+
3
+ export declare function generateBannerItemFragment({ ICONS }: {
4
+ ICONS: ICONSType;
5
+ }): import('../../../../types/cms/Factories').Property;
@@ -0,0 +1,17 @@
1
+ import { ICONSType } from '../../../../types/constants';
2
+
3
+ export declare function generateTextStructureFragment({ ICONS }: {
4
+ ICONS: ICONSType;
5
+ }): {
6
+ borderTop: import('../../../../types/cms/Factories').Property;
7
+ textStructure: import('../../../../types/cms/Factories').Property;
8
+ textStructureReduced: import('../../../../types/cms/Factories').Property;
9
+ textStructureMode: import('../../../../types/cms/Factories').Property;
10
+ textStructureButtonSize: import('../../../../types/cms/Factories').Property;
11
+ enableIcon: import('../../../../types/cms/Factories').Property;
12
+ textStructureButtonIcon: import('../../../../types/cms/Factories').Property;
13
+ textStructureButtonLabel: import('../../../../types/cms/Factories').Property;
14
+ textStructureButtonHref: import('../../../../types/cms/Factories').Property;
15
+ showTextStructureExpander: import('../../../../types/cms/Factories').Property;
16
+ textStructureAlignment: import('../../../../types/cms/Factories').Property;
17
+ };
@@ -0,0 +1,8 @@
1
+ export interface IAccordion {
2
+ title: string;
3
+ subtitle: string;
4
+ text: string;
5
+ }
6
+ export interface IAccordionList {
7
+ accordions: IAccordion[];
8
+ }
@@ -0,0 +1,4 @@
1
+ import { generateBannerSection } from './Banner';
2
+
3
+ declare const Sections: (typeof generateBannerSection)[];
4
+ export default Sections;
@@ -1,4 +1,4 @@
1
- import { GetContentTypeProps } from '../../../types/cms/api';
1
+ import { GetContentTypeProps } from '../../../types/data/api/cms';
2
2
 
3
3
  export declare function getContentType<T>({ contentType, NextCookies, CMS_PROJECT_NAME, storeId, }: GetContentTypeProps): Promise<{
4
4
  status: number;
@@ -12,6 +12,7 @@ export declare const getColorAndSizeFromSkuName: (skuName: string, NAME_SPLIT_SY
12
12
  size: string;
13
13
  };
14
14
  export declare const getSKUName: (item: HasVariant, key?: string) => string;
15
+ export declare const getProductNameWithoutSku: (fullName: string, skuName: string) => string;
15
16
  /**
16
17
  * TODO: check if this function is still needed
17
18
  */