@uniformdev/csk-components 6.1.57 → 6.1.63-alpha.1
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.
- package/README.md +74 -81
- package/dist/ThemeSwitcher-EUDUX3QI.mjs +1 -0
- package/dist/accordion-item-7IKL6Z6Q.mjs +1 -0
- package/dist/accordion-item-MORC2F2Q.mjs +1 -0
- package/dist/banner-WOYK426U.mjs +1 -0
- package/dist/carousel-ALNEGOPM.mjs +1 -0
- package/dist/carousel-HKYR3ZBB.mjs +1 -0
- package/dist/chunk-27WJUZYR.mjs +1 -0
- package/dist/chunk-3JU2XCD2.mjs +1 -0
- package/dist/chunk-47YB4P2Q.mjs +1 -0
- package/dist/chunk-6CKVLOIH.mjs +1 -0
- package/dist/chunk-7GVG4HLE.mjs +1 -0
- package/dist/chunk-AOFJCDRO.mjs +1 -0
- package/dist/chunk-AWTML4I7.mjs +1 -0
- package/dist/chunk-CZ4X5ZBK.mjs +1 -0
- package/dist/chunk-D673IM2U.mjs +1 -0
- package/dist/chunk-I6SUO5WR.mjs +1 -0
- package/dist/chunk-JT77BVIX.mjs +1 -0
- package/dist/chunk-LPAOEOU4.mjs +1 -0
- package/dist/chunk-MKOFM4XK.mjs +1 -0
- package/dist/chunk-NKINOJY6.mjs +1 -0
- package/dist/chunk-OKUDTS22.mjs +1 -0
- package/dist/chunk-OL6JBPZ4.mjs +1 -0
- package/dist/chunk-OY6ZJNCE.mjs +1 -0
- package/dist/chunk-PLKWUEFW.mjs +1 -0
- package/dist/chunk-QPQGRQKI.mjs +1 -0
- package/dist/chunk-VWWXSA5H.mjs +1 -0
- package/dist/chunk-WAW7PQYM.mjs +1 -0
- package/dist/chunk-XKCRANRQ.mjs +1 -0
- package/dist/chunk-XYU3TGOU.mjs +1 -0
- package/dist/chunk-Y337A266.mjs +7 -0
- package/dist/chunk-YQYDZJ65.mjs +1 -0
- package/dist/chunk-ZAHWFLY4.mjs +1 -0
- package/dist/{chunk-V4EBWEG4.mjs → chunk-ZWDCDE5W.mjs} +1 -1
- package/dist/components/canvas/emptyPlaceholders.d.mts +5 -4
- package/dist/components/canvas/emptyPlaceholders.mjs +1 -1
- package/dist/components/canvas/index.d.mts +4 -664
- package/dist/components/canvas/index.mjs +1 -2
- package/dist/components/canvas/serverClient.d.mts +694 -0
- package/dist/components/canvas/serverClient.mjs +1 -0
- package/dist/components/canvas/serverOnly.d.mts +41 -0
- package/dist/components/canvas/serverOnly.mjs +1 -0
- package/dist/components/ui/index.d.mts +81 -54
- package/dist/components/ui/index.mjs +1 -1
- package/dist/content/components/canvas/Accordion/accordion.tsx +12 -17
- package/dist/content/components/canvas/Accordion/index.tsx +2 -2
- package/dist/content/components/canvas/AccordionItem/accordion-item.tsx +28 -39
- package/dist/content/components/canvas/AccordionItem/index.tsx +4 -6
- package/dist/content/components/canvas/Badge/badge.tsx +12 -5
- package/dist/content/components/canvas/Badge/index.tsx +2 -3
- package/dist/content/components/canvas/Badge/style-utils.ts +6 -6
- package/dist/content/components/canvas/Banner/banner.tsx +24 -36
- package/dist/content/components/canvas/Banner/index.tsx +7 -11
- package/dist/content/components/canvas/Breadcrumbs/breadcrumbs.tsx +21 -22
- package/dist/content/components/canvas/Breadcrumbs/index.tsx +4 -7
- package/dist/content/components/canvas/Button/button.tsx +19 -11
- package/dist/content/components/canvas/Button/index.tsx +4 -7
- package/dist/content/components/canvas/Card/card.tsx +10 -12
- package/dist/content/components/canvas/Card/index.tsx +3 -3
- package/dist/content/components/canvas/Carousel/carousel.tsx +10 -10
- package/dist/content/components/canvas/Carousel/index.tsx +4 -4
- package/dist/content/components/canvas/Container/container.tsx +7 -10
- package/dist/content/components/canvas/Container/index.tsx +3 -3
- package/dist/content/components/canvas/Container/parameters.ts +0 -4
- package/dist/content/components/canvas/CookieConsent/cookie-consent.tsx +126 -0
- package/dist/content/components/canvas/CookieConsent/empty-placeholder.tsx +12 -0
- package/dist/content/components/canvas/CookieConsent/index.tsx +26 -0
- package/dist/content/components/canvas/Countdown/countdown.tsx +9 -7
- package/dist/content/components/canvas/Countdown/index.tsx +2 -3
- package/dist/content/components/canvas/DemoHero/atoms.tsx +59 -35
- package/dist/content/components/canvas/DemoHero/columns-variant.tsx +5 -11
- package/dist/content/components/canvas/DemoHero/default-variant.tsx +5 -12
- package/dist/content/components/canvas/DemoHero/demo-hero.tsx +43 -22
- package/dist/content/components/canvas/DemoHero/fixed-hero.tsx +63 -65
- package/dist/content/components/canvas/DemoHero/flexible-hero.tsx +8 -2
- package/dist/content/components/canvas/DemoHero/index.tsx +6 -18
- package/dist/content/components/canvas/DemoHero/utils.ts +14 -0
- package/dist/content/components/canvas/Divider/divider.tsx +5 -2
- package/dist/content/components/canvas/Divider/index.tsx +2 -2
- package/dist/content/components/canvas/Flex/flex.tsx +11 -10
- package/dist/content/components/canvas/Flex/index.tsx +6 -6
- package/dist/content/components/canvas/FlexItem/flex-item.tsx +7 -4
- package/dist/content/components/canvas/FlexItem/index.tsx +4 -5
- package/dist/content/components/canvas/Footer/footer.tsx +9 -8
- package/dist/content/components/canvas/Footer/index.tsx +2 -3
- package/dist/content/components/canvas/Grid/grid.tsx +9 -9
- package/dist/content/components/canvas/Grid/index.tsx +5 -5
- package/dist/content/components/canvas/GridItem/grid-item.tsx +10 -8
- package/dist/content/components/canvas/GridItem/index.tsx +5 -5
- package/dist/content/components/canvas/Header/header.tsx +10 -7
- package/dist/content/components/canvas/Header/index.tsx +2 -3
- package/dist/content/components/canvas/IconLabel/icon-label.tsx +16 -8
- package/dist/content/components/canvas/IconLabel/index.tsx +4 -5
- package/dist/content/components/canvas/Image/image.tsx +25 -8
- package/dist/content/components/canvas/Image/index.tsx +2 -3
- package/dist/content/components/canvas/ImageGallery/empty-placeholder.tsx +1 -1
- package/dist/content/components/canvas/ImageGallery/gallery-inner.tsx +6 -6
- package/dist/content/components/canvas/ImageGallery/image-gallery.tsx +21 -36
- package/dist/content/components/canvas/ImageGallery/index.tsx +11 -12
- package/dist/content/components/canvas/Link/index.tsx +2 -3
- package/dist/content/components/canvas/Link/link.tsx +7 -4
- package/dist/content/components/canvas/Modal/index.tsx +2 -2
- package/dist/content/components/canvas/Modal/modal.tsx +16 -74
- package/dist/content/components/canvas/NavigationFlyout/desktop.tsx +9 -13
- package/dist/content/components/canvas/NavigationFlyout/index.tsx +21 -3
- package/dist/content/components/canvas/NavigationFlyout/mobile.tsx +10 -13
- package/dist/content/components/canvas/NavigationFlyout/{navigation-flyout.tsx → navigation-flyout-client.tsx} +26 -20
- package/dist/content/components/canvas/NavigationGroup/desktop.tsx +7 -10
- package/dist/content/components/canvas/NavigationGroup/index.tsx +20 -3
- package/dist/content/components/canvas/NavigationGroup/mobile.tsx +9 -8
- package/dist/content/components/canvas/NavigationGroup/{navigation-group.tsx → navigation-group-client.tsx} +21 -18
- package/dist/content/components/canvas/NavigationLink/index.tsx +2 -4
- package/dist/content/components/canvas/NavigationLink/navigation-link.tsx +12 -9
- package/dist/content/components/canvas/Page/index.tsx +7 -7
- package/dist/content/components/canvas/Page/page.tsx +9 -18
- package/dist/content/components/canvas/Review/default-variant.tsx +3 -5
- package/dist/content/components/canvas/Review/empty-placeholder.tsx +6 -3
- package/dist/content/components/canvas/Review/index.tsx +6 -6
- package/dist/content/components/canvas/Review/multi-column-variant.tsx +3 -5
- package/dist/content/components/canvas/Review/review.tsx +11 -11
- package/dist/content/components/canvas/RichText/index.tsx +7 -6
- package/dist/content/components/canvas/RichText/rich-text.tsx +23 -6
- package/dist/content/components/canvas/Section/columns-variant.tsx +5 -11
- package/dist/content/components/canvas/Section/default-variant.tsx +7 -16
- package/dist/content/components/canvas/Section/empty-placeholder.tsx +5 -2
- package/dist/content/components/canvas/Section/index.tsx +2 -2
- package/dist/content/components/canvas/Section/section.tsx +11 -16
- package/dist/content/components/canvas/SimpleFooter/index.tsx +16 -0
- package/dist/content/components/canvas/SimpleFooter/simple-footer.tsx +85 -0
- package/dist/content/components/canvas/SimpleHeader/index.tsx +22 -0
- package/dist/content/components/canvas/SimpleHeader/simple-header.tsx +63 -0
- package/dist/content/components/canvas/Spacer/index.tsx +2 -2
- package/dist/content/components/canvas/Spacer/spacer.tsx +5 -2
- package/dist/content/components/canvas/Tab/index.tsx +2 -3
- package/dist/content/components/canvas/Tab/tab.tsx +6 -5
- package/dist/content/components/canvas/Table/index.tsx +2 -2
- package/dist/content/components/canvas/Table/table.tsx +9 -13
- package/dist/content/components/canvas/TableCustomCell/index.tsx +2 -2
- package/dist/content/components/canvas/TableCustomCell/table-custom-cell.tsx +7 -4
- package/dist/content/components/canvas/TableDataCell/index.tsx +2 -2
- package/dist/content/components/canvas/TableDataCell/table-data-cell.tsx +7 -4
- package/dist/content/components/canvas/TableHeaderCell/index.tsx +2 -2
- package/dist/content/components/canvas/TableHeaderCell/table-header-cell.tsx +7 -4
- package/dist/content/components/canvas/TableRow/index.tsx +5 -3
- package/dist/content/components/canvas/TableRow/table-row.tsx +6 -3
- package/dist/content/components/canvas/Tabs/index.tsx +7 -7
- package/dist/content/components/canvas/Tabs/style-utils.ts +12 -11
- package/dist/content/components/canvas/Tabs/tabs.tsx +45 -48
- package/dist/content/components/canvas/Testimonial/default-variant.tsx +9 -11
- package/dist/content/components/canvas/Testimonial/index.tsx +2 -2
- package/dist/content/components/canvas/Testimonial/testimonial.tsx +11 -17
- package/dist/content/components/canvas/Testimonial/with-large-avatar-variant.tsx +9 -11
- package/dist/content/components/canvas/Testimonial/with-overlapping-image-variant.tsx +9 -11
- package/dist/content/components/canvas/Text/index.tsx +2 -3
- package/dist/content/components/canvas/Text/text.tsx +21 -15
- package/dist/content/components/canvas/ThemeSwitcher/index.tsx +2 -2
- package/dist/content/components/canvas/ThemeSwitcher/theme-switcher.tsx +6 -3
- package/dist/content/components/canvas/Video/index.tsx +2 -5
- package/dist/content/components/canvas/Video/placeholder.tsx +1 -1
- package/dist/content/components/canvas/Video/video.tsx +9 -7
- package/dist/content/components/ui/Accordion/accordion.tsx +23 -0
- package/dist/content/components/ui/Accordion/index.tsx +9 -0
- package/dist/content/components/ui/AccordionItem/accordion-item.tsx +41 -0
- package/dist/content/components/ui/AccordionItem/index.tsx +16 -0
- package/dist/content/components/ui/Banner/banner.tsx +47 -0
- package/dist/content/components/ui/Banner/index.tsx +29 -0
- package/dist/content/components/{canvas → ui}/Banner/style-utils.ts +1 -2
- package/dist/content/components/ui/Button/index.ts +2 -5
- package/dist/content/components/ui/Carousel/carousel.tsx +2 -2
- package/dist/content/components/ui/Carousel/index.ts +3 -3
- package/dist/content/components/ui/ComponentEmptyPlaceholder/component-empty-placeholder.tsx +13 -0
- package/dist/content/components/ui/ComponentEmptyPlaceholder/index.ts +6 -0
- package/dist/content/components/ui/Container/container.tsx +2 -7
- package/dist/content/components/ui/Container/index.ts +0 -6
- package/dist/content/components/ui/Flex/flex.tsx +21 -27
- package/dist/content/components/ui/Flex/index.ts +3 -5
- package/dist/content/components/ui/FlexItem/index.ts +1 -1
- package/dist/content/components/ui/Footer/index.ts +5 -4
- package/dist/content/components/ui/Grid/grid.tsx +21 -25
- package/dist/content/components/ui/Grid/index.ts +6 -15
- package/dist/content/components/ui/GridItem/grid-item.tsx +10 -1
- package/dist/content/components/ui/GridItem/index.ts +6 -9
- package/dist/content/components/ui/Header/index.ts +1 -1
- package/dist/content/components/ui/IconLabel/icon-label.tsx +2 -0
- package/dist/content/components/ui/IconLabel/index.ts +1 -0
- package/dist/content/components/ui/InlineSVG/index.ts +15 -0
- package/dist/content/components/ui/InlineSVG/inline-svg.tsx +70 -0
- package/dist/content/components/ui/InlineSVG/utils.ts +132 -0
- package/dist/content/components/ui/Modal/index.tsx +22 -0
- package/dist/content/components/ui/Modal/modal.tsx +89 -0
- package/dist/content/components/{canvas → ui}/Modal/style-utils.ts +4 -4
- package/dist/content/components/ui/Rating/index.tsx +1 -1
- package/dist/content/components/ui/Rating/rating.tsx +1 -1
- package/dist/content/components/ui/Text/index.ts +3 -6
- package/dist/content/types/cskTypes.ts +32 -9
- package/dist/content/utils/assets.ts +3 -18
- package/dist/content/utils/createComponentResolver.ts +7 -6
- package/dist/content/utils/createEmptyPlaceholderResolver.tsx +4 -8
- package/dist/content/utils/getSlotComponents.ts +15 -0
- package/dist/content/utils/routing.ts +60 -15
- package/dist/content/utils/useCookiesConsent.ts +17 -0
- package/dist/content/utils/withFlattenParameters.tsx +17 -0
- package/dist/content/utils/withSlotsDataValue.tsx +34 -0
- package/dist/cookie-consent-5QJUCW2K.mjs +1 -0
- package/dist/countdown-FRQZMVKW.mjs +1 -0
- package/dist/image-gallery-HWCMTJL3.mjs +1 -0
- package/dist/index-CSSWgmI5.d.mts +90 -0
- package/dist/index-CrBZatTs.d.mts +18 -0
- package/dist/index.mjs +3 -3
- package/dist/mobile-KBYNJEBM.mjs +1 -0
- package/dist/modal-4TVVGHWS.mjs +1 -0
- package/dist/modal-E5RMA4EO.mjs +1 -0
- package/dist/navigation-flyout-client-WUN4A34X.mjs +1 -0
- package/dist/navigation-group-client-Y72BOPIH.mjs +1 -0
- package/dist/parameters-B8w5Q6Pp.d.mts +29 -0
- package/dist/tabs-VMFTATOP.mjs +1 -0
- package/dist/theme-switcher-QTX46Z7E.mjs +1 -0
- package/dist/theme-switcher-RGY4D3KL.mjs +1 -0
- package/dist/types/cskTypes.d.mts +27 -9
- package/dist/utils/assets.d.mts +8 -17
- package/dist/utils/assets.mjs +1 -1
- package/dist/utils/createComponentResolver.d.mts +3 -9
- package/dist/utils/createComponentResolver.mjs +1 -1
- package/dist/utils/createEmptyPlaceholderResolver.d.mts +4 -2
- package/dist/utils/createEmptyPlaceholderResolver.mjs +1 -1
- package/dist/utils/getSlotComponents.d.mts +11 -0
- package/dist/utils/getSlotComponents.mjs +1 -0
- package/dist/utils/routing.d.mts +20 -7
- package/dist/utils/routing.mjs +1 -1
- package/dist/utils/sitemap.d.mts +21 -0
- package/dist/utils/sitemap.mjs +1 -0
- package/dist/utils/styling.d.mts +3 -0
- package/dist/utils/styling.mjs +1 -1
- package/dist/utils/withFlattenParameters.d.mts +10 -0
- package/dist/utils/withFlattenParameters.mjs +1 -0
- package/dist/utils/withSlotsDataValue.d.mts +12 -0
- package/dist/utils/withSlotsDataValue.mjs +1 -0
- package/dist/video-VG6ZQCKN.mjs +1 -0
- package/package.json +47 -14
- package/dist/ThemeSwitcher-6Q7LCO4Q.mjs +0 -1
- package/dist/accordion-item-G5CNMERW.mjs +0 -1
- package/dist/banner-2B4K5R4N.mjs +0 -1
- package/dist/carousel-BBEW5P4Y.mjs +0 -1
- package/dist/carousel-ERCHOWUS.mjs +0 -1
- package/dist/chunk-2SEOCBRK.mjs +0 -1
- package/dist/chunk-2UV7TQNF.mjs +0 -1
- package/dist/chunk-2YTACEBA.mjs +0 -1
- package/dist/chunk-3PDY7RJC.mjs +0 -7
- package/dist/chunk-4LWAGTFW.mjs +0 -1
- package/dist/chunk-56OQGKRM.mjs +0 -1
- package/dist/chunk-5VM2Y55L.mjs +0 -1
- package/dist/chunk-AKRWCDDG.mjs +0 -1
- package/dist/chunk-FPOIJMYT.mjs +0 -1
- package/dist/chunk-LA36HQWS.mjs +0 -1
- package/dist/chunk-M3BGP5VE.mjs +0 -1
- package/dist/chunk-MSXDLSXH.mjs +0 -1
- package/dist/chunk-QHIWJPL6.mjs +0 -1
- package/dist/chunk-RX4IAAQQ.mjs +0 -1
- package/dist/chunk-TIRCISSU.mjs +0 -1
- package/dist/chunk-TM7Q5NMH.mjs +0 -1
- package/dist/chunk-YEKQJ4YC.mjs +0 -1
- package/dist/chunk-YUCUJWBO.mjs +0 -1
- package/dist/chunk-Z7JSWSPD.mjs +0 -1
- package/dist/content/components/canvas/Banner/types.ts +0 -21
- package/dist/content/components/canvas/Image/placeholder.tsx +0 -20
- package/dist/content/components/ui/Container/utils.ts +0 -18
- package/dist/countdown-LYDXJLEE.mjs +0 -1
- package/dist/image-gallery-F6JLG7XW.mjs +0 -1
- package/dist/index-B9eeSbLG.d.mts +0 -71
- package/dist/mobile-UAUHHXPH.mjs +0 -1
- package/dist/modal-HKMQGV4B.mjs +0 -1
- package/dist/navigation-flyout-MXIJA6PC.mjs +0 -1
- package/dist/navigation-group-DEN3D2BO.mjs +0 -1
- package/dist/tabs-AQFKYC6M.mjs +0 -1
- package/dist/theme-switcher-76F2V343.mjs +0 -1
- package/dist/theme-switcher-WO5JIV2W.mjs +0 -1
- package/dist/video-RC2QHJS2.mjs +0 -1
- /package/dist/content/components/{canvas → ui}/AccordionItem/icon-arrow-down.tsx +0 -0
- /package/dist/content/components/{canvas → ui}/AccordionItem/icon-arrow-up.tsx +0 -0
- /package/dist/content/components/{canvas → ui}/Banner/close-button.tsx +0 -0
- /package/dist/content/components/{canvas → ui}/Modal/close-icon.tsx +0 -0
|
@@ -1,669 +1,9 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as _uniformdev_canvas_next_rsc_component from '@uniformdev/canvas-next-rsc/component';
|
|
3
|
-
import { ComponentProps, CustomSlotChildRenderFunc } from '@uniformdev/canvas-next-rsc/component';
|
|
4
|
-
import * as _uniformdev_canvas from '@uniformdev/canvas';
|
|
5
|
-
import { DataWithProperties, LinkParamValue } from '@uniformdev/canvas';
|
|
1
|
+
import * as _uniformdev_next_app_router__ from '@uniformdev/next-app-router/.';
|
|
6
2
|
import { ComponentMapping } from '../../utils/createComponentResolver.mjs';
|
|
7
|
-
import
|
|
8
|
-
import * as react from 'react';
|
|
9
|
-
import { FC } from 'react';
|
|
10
|
-
import { T as TextProps$1, B as ButtonProps$1, a as ButtonVariant, F as FooterProps$1, H as HeaderProps$1 } from '../../index-B9eeSbLG.mjs';
|
|
11
|
-
import { DefaultTheme } from 'tailwindcss/types/generated/default-theme';
|
|
12
|
-
import { AssetParamValue } from '@uniformdev/assets';
|
|
13
|
-
import { RichTextNode } from '@uniformdev/richtext';
|
|
14
|
-
|
|
15
|
-
type HeightType = 'full' | 'screen' | 'svh' | 'lvh' | 'dvh' | 'min' | 'max' | 'fit';
|
|
16
|
-
type ContainerParameters = {
|
|
17
|
-
displayName?: string;
|
|
18
|
-
anchor?: string;
|
|
19
|
-
backgroundColor?: string;
|
|
20
|
-
spacing?: SpaceType | ViewPort<SpaceType>;
|
|
21
|
-
border?: string | ViewPort<string>;
|
|
22
|
-
fluidContent?: boolean;
|
|
23
|
-
/** @deprecated Use height prop instead */
|
|
24
|
-
fullHeight?: boolean;
|
|
25
|
-
/** @deprecated Use height prop instead */
|
|
26
|
-
fitHeight?: boolean;
|
|
27
|
-
height?: HeightType | ViewPort<HeightType>;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
declare const Accordion: FC<AccordionProps>;
|
|
31
|
-
|
|
32
|
-
type AccordionParameters = ContainerParameters;
|
|
33
|
-
declare enum AccordionSlots {
|
|
34
|
-
AccordionContent = "accordionContent",
|
|
35
|
-
AccordionItems = "accordionItems"
|
|
36
|
-
}
|
|
37
|
-
type AccordionProps = ComponentProps<AccordionParameters, AccordionSlots>;
|
|
38
|
-
|
|
39
|
-
type TextParameters = {
|
|
40
|
-
text?: string;
|
|
41
|
-
tag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span';
|
|
42
|
-
size?: TextProps$1['size'];
|
|
43
|
-
color?: string;
|
|
44
|
-
weight?: TextProps$1['weight'];
|
|
45
|
-
font?: string;
|
|
46
|
-
alignment?: TextProps$1['alignment'];
|
|
47
|
-
transform?: TextProps$1['transform'];
|
|
48
|
-
decoration?: TextProps$1['decoration'];
|
|
49
|
-
letterSpacing?: TextProps$1['letterSpacing'];
|
|
50
|
-
lineCountRestrictions?: string;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
type AccordionItemParameters = Pick<ContainerParameters, 'backgroundColor' | 'spacing' | 'border'> & TextParameters;
|
|
54
|
-
type AccordionItemAdditionalProps = {
|
|
55
|
-
className?: string;
|
|
56
|
-
};
|
|
57
|
-
declare enum AccordionItemSlots {
|
|
58
|
-
AccordionItemContent = "accordionItemContent"
|
|
59
|
-
}
|
|
60
|
-
type AccordionItemProps = ComponentProps<AccordionItemParameters & AccordionItemAdditionalProps, AccordionItemSlots>;
|
|
61
|
-
declare const _default$9: react.ComponentType<AccordionItemProps>;
|
|
62
|
-
|
|
63
|
-
declare const Badge: FC<BadgeProps>;
|
|
64
|
-
|
|
65
|
-
type BadgeParameters = {
|
|
66
|
-
text?: string;
|
|
67
|
-
textColor?: string;
|
|
68
|
-
backgroundColor?: string;
|
|
69
|
-
borderColor?: string;
|
|
70
|
-
dotColor?: string;
|
|
71
|
-
pill?: boolean;
|
|
72
|
-
size?: string;
|
|
73
|
-
};
|
|
74
|
-
type BadgeProps = ComponentProps<BadgeParameters>;
|
|
75
|
-
|
|
76
|
-
declare enum ContentAlignment$2 {
|
|
77
|
-
Left = "left",
|
|
78
|
-
Center = "center",
|
|
79
|
-
Right = "right"
|
|
80
|
-
}
|
|
81
|
-
type BannerParameters = ContainerParameters & {
|
|
82
|
-
iconColor?: string;
|
|
83
|
-
contentAlignment?: ContentAlignment$2;
|
|
84
|
-
floating?: boolean;
|
|
85
|
-
};
|
|
86
|
-
declare enum BannerSlots {
|
|
87
|
-
BannerContent = "bannerContent"
|
|
88
|
-
}
|
|
89
|
-
type BannerProps = ComponentProps<BannerParameters, BannerSlots>;
|
|
90
|
-
declare const _default$8: react.ComponentType<BannerProps>;
|
|
91
|
-
|
|
92
|
-
declare const Breadcrumbs: FC<BreadcrumbsProps>;
|
|
93
|
-
|
|
94
|
-
type BreadcrumbsParameters = {
|
|
95
|
-
title?: string;
|
|
96
|
-
separator?: 'slash' | 'chevron';
|
|
97
|
-
links?: DataWithProperties[];
|
|
98
|
-
autoGenerate?: boolean;
|
|
99
|
-
};
|
|
100
|
-
type BreadcrumbsProps = ComponentProps<BreadcrumbsParameters & Pick<TextParameters, 'size' | 'color' | 'font' | 'transform'>>;
|
|
101
|
-
|
|
102
|
-
declare const Button: FC<ButtonProps>;
|
|
103
|
-
|
|
104
|
-
type ButtonParameters = {
|
|
105
|
-
text?: string;
|
|
106
|
-
link?: LinkParamValue;
|
|
107
|
-
textColor?: string;
|
|
108
|
-
textWeight?: keyof DefaultTheme['fontWeight'];
|
|
109
|
-
textFont?: 'uppercase' | 'lowercase' | 'capitalize' | 'normal-case';
|
|
110
|
-
textTransform?: string;
|
|
111
|
-
buttonColor?: string;
|
|
112
|
-
border?: string | ViewPort<string>;
|
|
113
|
-
size?: string;
|
|
114
|
-
icon?: AssetParamValue;
|
|
115
|
-
test?: AssetParamValue;
|
|
116
|
-
textSize?: ButtonProps$1['textSize'];
|
|
117
|
-
iconPosition?: ButtonProps$1['iconPosition'];
|
|
118
|
-
hoverButtonColor?: string;
|
|
119
|
-
hoverTextColor?: string;
|
|
120
|
-
};
|
|
121
|
-
type ButtonAdditionalProps = {
|
|
122
|
-
className?: string;
|
|
123
|
-
onClick?: () => void;
|
|
124
|
-
};
|
|
125
|
-
type ButtonProps = ComponentProps<ButtonParameters & ButtonAdditionalProps>;
|
|
126
|
-
|
|
127
|
-
declare const Card: FC<CardProps>;
|
|
128
|
-
|
|
129
|
-
type CardAdditionalProps = {
|
|
130
|
-
className?: string;
|
|
131
|
-
contentClassName?: string;
|
|
132
|
-
};
|
|
133
|
-
type CardParameters = ContainerParameters;
|
|
134
|
-
declare enum CardVariants {
|
|
135
|
-
BackgroundImage = "backgroundImage"
|
|
136
|
-
}
|
|
137
|
-
declare enum CardSlots {
|
|
138
|
-
CardMedia = "cardMedia",
|
|
139
|
-
CardContent = "cardContent"
|
|
140
|
-
}
|
|
141
|
-
type CardProps = ComponentProps<CardParameters & CardAdditionalProps, CardSlots>;
|
|
142
|
-
|
|
143
|
-
type CarouselParameters = ContainerParameters & {
|
|
144
|
-
itemsPerPage: string;
|
|
145
|
-
gapX: string;
|
|
146
|
-
};
|
|
147
|
-
declare enum CarouselSlots {
|
|
148
|
-
Items = "carouselItems"
|
|
149
|
-
}
|
|
150
|
-
type CarouselProps = ComponentProps<CarouselParameters, CarouselSlots>;
|
|
151
|
-
declare const _default$7: react.ComponentType<CarouselProps>;
|
|
152
|
-
|
|
153
|
-
declare const Container: FC<ContainerProps>;
|
|
154
|
-
|
|
155
|
-
type ContainerAdditionalProps = {
|
|
156
|
-
className?: string;
|
|
157
|
-
};
|
|
158
|
-
declare enum ContainerSlots {
|
|
159
|
-
ContainerContent = "containerContent"
|
|
160
|
-
}
|
|
161
|
-
type ContainerProps = ComponentProps<ContainerParameters & ContainerAdditionalProps, ContainerSlots>;
|
|
162
|
-
|
|
163
|
-
type UniformDate = {
|
|
164
|
-
datetime: string;
|
|
165
|
-
};
|
|
166
|
-
type CountdownParameters = {
|
|
167
|
-
targetDate?: UniformDate;
|
|
168
|
-
backgroundColor?: string;
|
|
169
|
-
textColor?: string;
|
|
170
|
-
border?: string | ViewPort<string>;
|
|
171
|
-
size?: TextProps$1['size'];
|
|
172
|
-
};
|
|
173
|
-
declare enum CountdownSlots {
|
|
174
|
-
CountdownComplete = "countdownComplete"
|
|
175
|
-
}
|
|
176
|
-
declare enum CountdownVariants {
|
|
177
|
-
LabelsUnder = "labelsUnder"
|
|
178
|
-
}
|
|
179
|
-
type CountdownProps = ComponentProps<CountdownParameters, CountdownSlots>;
|
|
180
|
-
declare const _default$6: react.ComponentType<CountdownProps>;
|
|
181
|
-
|
|
182
|
-
type PrefixedKeys<T, Prefix extends string> = {
|
|
183
|
-
[Key in keyof T as `${Prefix}${Capitalize<string & Key>}`]: T[Key];
|
|
184
|
-
};
|
|
185
|
-
|
|
186
|
-
declare enum ContentAlignment$1 {
|
|
187
|
-
Left = "left",
|
|
188
|
-
Center = "center",
|
|
189
|
-
Right = "right"
|
|
190
|
-
}
|
|
191
|
-
type BaseButtonParameters = {
|
|
192
|
-
text?: string;
|
|
193
|
-
link?: LinkParamValue;
|
|
194
|
-
textColor?: string;
|
|
195
|
-
textWeight?: keyof DefaultTheme['fontWeight'];
|
|
196
|
-
textFont?: 'uppercase' | 'lowercase' | 'capitalize' | 'normal-case';
|
|
197
|
-
textTransform?: string;
|
|
198
|
-
buttonColor?: string;
|
|
199
|
-
border?: string | ViewPort<string>;
|
|
200
|
-
size?: string;
|
|
201
|
-
icon?: AssetParamValue;
|
|
202
|
-
test?: AssetParamValue;
|
|
203
|
-
textSize?: ButtonProps$1['textSize'];
|
|
204
|
-
iconPosition?: ButtonProps$1['iconPosition'];
|
|
205
|
-
hoverButtonColor?: string;
|
|
206
|
-
hoverTextColor?: string;
|
|
207
|
-
};
|
|
208
|
-
type BaseImageParameters = {
|
|
209
|
-
image?: AssetParamValue;
|
|
210
|
-
width?: number;
|
|
211
|
-
height?: number;
|
|
212
|
-
objectFit?: 'fill' | 'contain' | 'cover' | 'none' | 'scale-down';
|
|
213
|
-
overlayColor?: string;
|
|
214
|
-
overlayOpacity?: string;
|
|
215
|
-
contrastBaseColor?: string;
|
|
216
|
-
border?: string | ViewPort<string>;
|
|
217
|
-
priority?: boolean;
|
|
218
|
-
unoptimized?: boolean;
|
|
219
|
-
};
|
|
220
|
-
type EyebrowTitleTextParameters = PrefixedKeys<TextParameters, 'eyebrowTitle'>;
|
|
221
|
-
type TitleTextParameters = PrefixedKeys<TextParameters, 'title'>;
|
|
222
|
-
type DescriptionTextParameters = PrefixedKeys<TextParameters, 'description'>;
|
|
223
|
-
type PrimaryButtonParameters = PrefixedKeys<BaseButtonParameters, 'primaryButton'> & {
|
|
224
|
-
primaryButtonVariant?: ButtonVariant;
|
|
225
|
-
};
|
|
226
|
-
type SecondaryButtonParameters = PrefixedKeys<BaseButtonParameters, 'secondaryButton'> & {
|
|
227
|
-
secondaryButtonVariant?: ButtonVariant;
|
|
228
|
-
};
|
|
229
|
-
type ImageParameters$1 = PrefixedKeys<Omit<BaseImageParameters, 'image'>, 'image'> & Pick<BaseImageParameters, 'image'>;
|
|
230
|
-
/**
|
|
231
|
-
* @deprecated Use FixedHeroParameters or FlexibleHeroParameters directly instead.
|
|
232
|
-
*/
|
|
233
|
-
type DemoHeroParameters = ContainerParameters & {
|
|
234
|
-
contentAlignment?: ContentAlignment$1;
|
|
235
|
-
} & EyebrowTitleTextParameters & TitleTextParameters & DescriptionTextParameters & PrimaryButtonParameters & SecondaryButtonParameters & ImageParameters$1;
|
|
236
|
-
type FixedHeroParameters = {
|
|
237
|
-
textColor?: string;
|
|
238
|
-
/**
|
|
239
|
-
* @deprecated Use overlayAutoTint instead.
|
|
240
|
-
*/
|
|
241
|
-
enableOverlayAutoTint?: boolean;
|
|
242
|
-
overlayAutoTint?: string;
|
|
243
|
-
} & DemoHeroParameters;
|
|
244
|
-
type FlexibleHeroParameters = DemoHeroParameters;
|
|
245
|
-
declare enum DemoHeroVariants {
|
|
246
|
-
Columns = "columns",
|
|
247
|
-
ColumnsReverse = "columnsReverse"
|
|
248
|
-
}
|
|
249
|
-
declare enum FlexibleHeroSlots {
|
|
250
|
-
FlexibleHeroContent = "flexibleHeroContent",
|
|
251
|
-
FlexibleHeroCta = "flexibleHeroCta"
|
|
252
|
-
}
|
|
253
|
-
/**
|
|
254
|
-
* @deprecated Use FixedHeroProps or FlexibleHeroProps directly instead.
|
|
255
|
-
*/
|
|
256
|
-
type DemoHeroProps = FixedHeroProps | FlexibleHeroProps;
|
|
257
|
-
type FixedHeroProps = ComponentProps<FixedHeroParameters>;
|
|
258
|
-
type FlexibleHeroProps = ComponentProps<FlexibleHeroParameters, FlexibleHeroSlots>;
|
|
259
|
-
declare const DemoHero: {
|
|
260
|
-
FixedHero: react.FC<FixedHeroProps>;
|
|
261
|
-
FlexibleHero: react.FC<FlexibleHeroProps>;
|
|
262
|
-
};
|
|
263
|
-
|
|
264
|
-
declare const Divider: FC<DividerProps>;
|
|
265
|
-
|
|
266
|
-
type DividerParameters = {
|
|
267
|
-
color?: string;
|
|
268
|
-
thickness?: '1px' | '2px' | '3px' | '4px' | '5px' | '6px' | '7px' | '8px' | '9px' | '10px';
|
|
269
|
-
width?: '100%' | '90%' | '80%' | '70%' | '60%' | '50%' | '40%' | '30%' | '20%' | '10%';
|
|
270
|
-
alignment?: 'start' | 'center' | 'end';
|
|
271
|
-
};
|
|
272
|
-
type DividerProps = ComponentProps<DividerParameters>;
|
|
273
|
-
|
|
274
|
-
declare const Flex: FC<FlexProps>;
|
|
275
|
-
|
|
276
|
-
type Direction = 'row' | 'row-reverse' | 'col' | 'col-reverse';
|
|
277
|
-
type Justify = 'start' | 'end' | 'center' | 'between';
|
|
278
|
-
type AvailableGap = '2' | '8' | '16';
|
|
279
|
-
type Align = 'start' | 'end' | 'center' | 'stretch';
|
|
280
|
-
type FlexAdditionalProps = {
|
|
281
|
-
className?: string;
|
|
282
|
-
wrapperClassName?: string;
|
|
283
|
-
};
|
|
284
|
-
type FlexParameters = ContainerParameters & {
|
|
285
|
-
direction?: Direction | ViewPort<Direction>;
|
|
286
|
-
justifyContent?: Justify | ViewPort<Justify>;
|
|
287
|
-
gap?: AvailableGap | ViewPort<AvailableGap>;
|
|
288
|
-
alignItems?: Align | ViewPort<Align>;
|
|
289
|
-
};
|
|
290
|
-
declare enum FlexSlots {
|
|
291
|
-
FlexItem = "flexItem"
|
|
292
|
-
}
|
|
293
|
-
type FlexProps = ComponentProps<FlexParameters & FlexAdditionalProps, FlexSlots>;
|
|
294
|
-
|
|
295
|
-
declare const FlexItem: FC<FlexItemProps>;
|
|
296
|
-
|
|
297
|
-
type AvailableAlignSelf = 'auto' | 'start' | 'end' | 'center' | 'stretch';
|
|
298
|
-
type AvailableShrink = '0' | '1';
|
|
299
|
-
type FlexItemParameters = {
|
|
300
|
-
displayName?: string;
|
|
301
|
-
alignSelf?: AvailableAlignSelf | ViewPort<AvailableAlignSelf>;
|
|
302
|
-
shrink: AvailableShrink;
|
|
303
|
-
};
|
|
304
|
-
declare enum FlexItemSlots {
|
|
305
|
-
Inner = "inner"
|
|
306
|
-
}
|
|
307
|
-
type FlexItemProps = ComponentProps<FlexItemParameters, FlexItemSlots>;
|
|
308
|
-
|
|
309
|
-
declare const Footer: FC<FooterProps>;
|
|
310
|
-
|
|
311
|
-
type FooterParameters = FooterProps$1;
|
|
312
|
-
declare enum FooterSlots {
|
|
313
|
-
FooterLogo = "footerLogo",
|
|
314
|
-
FooterCopyright = "footerCopyright",
|
|
315
|
-
FooterContent = "footerContent"
|
|
316
|
-
}
|
|
317
|
-
type FooterProps = ComponentProps<FooterParameters, FooterSlots>;
|
|
318
|
-
|
|
319
|
-
declare const Grid: FC<GridProps>;
|
|
320
|
-
|
|
321
|
-
type AvailableGridColumnsCount = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12';
|
|
322
|
-
type AvailableGridGap = '2' | '8' | '16';
|
|
323
|
-
type GridAdditionalProps = {
|
|
324
|
-
className?: string;
|
|
325
|
-
};
|
|
326
|
-
type GridParameters = ContainerParameters & {
|
|
327
|
-
columnsCount?: AvailableGridColumnsCount | ViewPort<AvailableGridColumnsCount>;
|
|
328
|
-
gapY?: AvailableGridGap | ViewPort<AvailableGridGap>;
|
|
329
|
-
gapX?: AvailableGridGap | ViewPort<AvailableGridGap>;
|
|
330
|
-
};
|
|
331
|
-
declare enum GridSlots {
|
|
332
|
-
GridInner = "gridInner"
|
|
333
|
-
}
|
|
334
|
-
type GridProps = ComponentProps<GridParameters & GridAdditionalProps, GridSlots>;
|
|
335
|
-
|
|
336
|
-
declare const GridItem: FC<GridItemProps>;
|
|
337
|
-
|
|
338
|
-
type AvailableGridItemColumnsCount = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12';
|
|
339
|
-
type AvailableGridItemSpan = 'auto' | 'span-1' | 'span-2' | 'span-3' | 'span-4' | 'span-5' | 'span-6' | 'span-7' | 'span-8' | 'span-9' | 'span-10' | 'span-11' | 'span-12' | 'span-full';
|
|
340
|
-
type AvailableGridItemRowStart = '1' | '2' | '3' | '4' | '5' | '6';
|
|
341
|
-
type GridItemAdditionalProps = {
|
|
342
|
-
className?: string;
|
|
343
|
-
};
|
|
344
|
-
type GridItemParameters = {
|
|
345
|
-
displayName?: string;
|
|
346
|
-
columnStart?: AvailableGridItemColumnsCount | ViewPort<AvailableGridItemColumnsCount>;
|
|
347
|
-
columnSpan?: AvailableGridItemSpan | ViewPort<AvailableGridItemSpan>;
|
|
348
|
-
rowStart?: AvailableGridItemRowStart | ViewPort<AvailableGridItemRowStart>;
|
|
349
|
-
rowSpan?: AvailableGridItemSpan | ViewPort<AvailableGridItemSpan>;
|
|
350
|
-
};
|
|
351
|
-
declare enum GridItemSlots {
|
|
352
|
-
Inner = "inner"
|
|
353
|
-
}
|
|
354
|
-
type GridItemProps = ComponentProps<GridItemParameters & GridItemAdditionalProps, GridItemSlots>;
|
|
355
|
-
|
|
356
|
-
declare const Header: FC<HeaderProps>;
|
|
357
|
-
|
|
358
|
-
type HeaderParameters = Omit<HeaderProps$1, 'sticky'>;
|
|
359
|
-
declare enum HeaderSlots {
|
|
360
|
-
HeaderLeftContent = "headerLeftContent",
|
|
361
|
-
HeaderCenterContent = "headerCenterContent",
|
|
362
|
-
HeaderRightContent = "headerRightContent"
|
|
363
|
-
}
|
|
364
|
-
declare enum HeaderVariants {
|
|
365
|
-
Sticky = "sticky"
|
|
366
|
-
}
|
|
367
|
-
type HeaderProps = ComponentProps<HeaderParameters, HeaderSlots>;
|
|
368
|
-
|
|
369
|
-
declare const IconLabel: FC<IconLabelProps>;
|
|
370
|
-
|
|
371
|
-
type IconLabelParameters = TextParameters & {
|
|
372
|
-
icon?: AssetParamValue;
|
|
373
|
-
};
|
|
374
|
-
type IconLabelProps = ComponentProps<IconLabelParameters>;
|
|
375
|
-
|
|
376
|
-
declare const Image: FC<ImageProps>;
|
|
377
|
-
|
|
378
|
-
type ImageParameters = {
|
|
379
|
-
image?: AssetParamValue;
|
|
380
|
-
width?: number;
|
|
381
|
-
height?: number;
|
|
382
|
-
objectFit?: 'fill' | 'contain' | 'cover' | 'none' | 'scale-down';
|
|
383
|
-
overlayColor?: string;
|
|
384
|
-
overlayOpacity?: string;
|
|
385
|
-
border?: string | ViewPort<string>;
|
|
386
|
-
priority?: boolean;
|
|
387
|
-
unoptimized?: boolean;
|
|
388
|
-
fill?: boolean;
|
|
389
|
-
};
|
|
390
|
-
type ImageProps = ComponentProps<ImageParameters>;
|
|
391
|
-
|
|
392
|
-
type ImageGalleryParameters = ContainerParameters & {
|
|
393
|
-
aspectRatio?: 'square' | 'video';
|
|
394
|
-
items?: AssetParamValue;
|
|
395
|
-
};
|
|
396
|
-
declare enum ImageGallerySlots {
|
|
397
|
-
Items = "imageGalleryItems"
|
|
398
|
-
}
|
|
399
|
-
type ImageGalleryProps = ComponentProps<ImageGalleryParameters & {
|
|
400
|
-
config?: {
|
|
401
|
-
firstLineCount: number;
|
|
402
|
-
secondLineCount: number;
|
|
403
|
-
otherLinesCount: number;
|
|
404
|
-
};
|
|
405
|
-
}, ImageGallerySlots>;
|
|
406
|
-
declare const _default$5: react.ComponentType<ImageGalleryProps>;
|
|
407
|
-
|
|
408
|
-
declare const Link: FC<LinkProps>;
|
|
409
|
-
|
|
410
|
-
type LinkParameters = {
|
|
411
|
-
displayName?: string;
|
|
412
|
-
link?: LinkParamValue;
|
|
413
|
-
openInNewTab?: boolean;
|
|
414
|
-
};
|
|
415
|
-
declare enum LinkSlots {
|
|
416
|
-
LinkContent = "linkContent"
|
|
417
|
-
}
|
|
418
|
-
type LinkProps = ComponentProps<LinkParameters, LinkSlots>;
|
|
419
|
-
|
|
420
|
-
type ModalParameters = {
|
|
421
|
-
maxWidth?: 'small' | 'medium' | 'large';
|
|
422
|
-
backgroundColor?: string;
|
|
423
|
-
closeIconColor?: string;
|
|
424
|
-
disableCloseModalOnClickOutside?: boolean;
|
|
425
|
-
};
|
|
426
|
-
declare enum ModalSlots {
|
|
427
|
-
Trigger = "trigger",
|
|
428
|
-
ModalContent = "modalContent",
|
|
429
|
-
ModalActions = "modalActions"
|
|
430
|
-
}
|
|
431
|
-
type ModalProps = ComponentProps<ModalParameters, ModalSlots>;
|
|
432
|
-
declare const _default$4: react.ComponentType<ModalProps>;
|
|
433
|
-
|
|
434
|
-
type NavigationFlyoutParameters = TextParameters & {
|
|
435
|
-
icon?: AssetParamValue;
|
|
436
|
-
link?: LinkParamValue;
|
|
437
|
-
backgroundColor?: string;
|
|
438
|
-
border?: string | ViewPort<string>;
|
|
439
|
-
caretIcon?: AssetParamValue;
|
|
440
|
-
hoverEffect?: string | ViewPort<string>;
|
|
441
|
-
className?: string;
|
|
442
|
-
};
|
|
443
|
-
declare enum NavigationFlyoutSlots {
|
|
444
|
-
NavigationFlyoutLeftContent = "navigationFlyoutLeftContent",
|
|
445
|
-
NavigationFlyoutRightContent = "navigationFlyoutRightContent"
|
|
446
|
-
}
|
|
447
|
-
type NavigationFlyoutProps = ComponentProps<NavigationFlyoutParameters, NavigationFlyoutSlots>;
|
|
448
|
-
declare const _default$3: react.ComponentType<NavigationFlyoutProps>;
|
|
449
|
-
|
|
450
|
-
type NavigationGroupParameters = TextParameters & {
|
|
451
|
-
icon?: AssetParamValue;
|
|
452
|
-
caretIcon?: AssetParamValue;
|
|
453
|
-
link?: LinkParamValue;
|
|
454
|
-
backgroundColor?: string;
|
|
455
|
-
border?: string | ViewPort<string>;
|
|
456
|
-
hoverEffect?: string | ViewPort<string>;
|
|
457
|
-
className?: string;
|
|
458
|
-
};
|
|
459
|
-
declare enum NavigationGroupSlots {
|
|
460
|
-
Links = "links"
|
|
461
|
-
}
|
|
462
|
-
type NavigationGroupProps = ComponentProps<NavigationGroupParameters, NavigationGroupSlots>;
|
|
463
|
-
declare const _default$2: react.ComponentType<NavigationGroupProps>;
|
|
464
|
-
|
|
465
|
-
declare const NavigationLink: FC<NavigationLinkProps>;
|
|
466
|
-
|
|
467
|
-
type NavigationLinkParameters = TextParameters & {
|
|
468
|
-
icon?: AssetParamValue;
|
|
469
|
-
link?: LinkParamValue;
|
|
470
|
-
activeState?: boolean;
|
|
471
|
-
hoverEffect?: string | ViewPort<string>;
|
|
472
|
-
className?: string;
|
|
473
|
-
};
|
|
474
|
-
type NavigationLinkProps = ComponentProps<NavigationLinkParameters>;
|
|
475
|
-
|
|
476
|
-
declare const Page: FC<PageProps>;
|
|
477
|
-
|
|
478
|
-
type PageAdditionalProps = {
|
|
479
|
-
headerCustomRenderer?: CustomSlotChildRenderFunc;
|
|
480
|
-
contentCustomRenderer?: CustomSlotChildRenderFunc;
|
|
481
|
-
footerCustomRenderer?: CustomSlotChildRenderFunc;
|
|
482
|
-
};
|
|
483
|
-
type PageParameters = {
|
|
484
|
-
pageTitle?: string;
|
|
485
|
-
backgroundColor?: string;
|
|
486
|
-
};
|
|
487
|
-
declare enum CommonPageSlots {
|
|
488
|
-
PageContent = "pageContent",
|
|
489
|
-
PageHeader = "pageHeader",
|
|
490
|
-
PageFooter = "pageFooter"
|
|
491
|
-
}
|
|
492
|
-
type PageProps = ComponentProps<PageParameters & PageAdditionalProps, CommonPageSlots>;
|
|
493
|
-
|
|
494
|
-
declare const Review: FC<ReviewProps>;
|
|
495
|
-
|
|
496
|
-
type ReviewParameters = ContainerParameters & {
|
|
497
|
-
stars: number;
|
|
498
|
-
starsColor: string;
|
|
499
|
-
activeStarsColor: string;
|
|
500
|
-
showRatingLabel: boolean;
|
|
501
|
-
};
|
|
502
|
-
declare enum ReviewVariants {
|
|
503
|
-
MultiColumn = "multiColumn"
|
|
504
|
-
}
|
|
505
|
-
declare enum ReviewSlots {
|
|
506
|
-
ReviewImage = "reviewImage",
|
|
507
|
-
ReviewPersonInfo = "reviewPersonInfo",
|
|
508
|
-
ReviewContent = "reviewContent"
|
|
509
|
-
}
|
|
510
|
-
type ReviewProps = ComponentProps<ReviewParameters, ReviewSlots>;
|
|
511
|
-
|
|
512
|
-
declare const RichText: FC<RichTextProps>;
|
|
513
|
-
|
|
514
|
-
type RichTextAdditionalProps = {
|
|
515
|
-
className?: string;
|
|
516
|
-
};
|
|
517
|
-
type RichTextParameters = {
|
|
518
|
-
text?: RichTextNode;
|
|
519
|
-
color?: string;
|
|
520
|
-
font?: string;
|
|
521
|
-
lineCountRestrictions: string;
|
|
522
|
-
};
|
|
523
|
-
type RichTextProps = ComponentProps<RichTextParameters & RichTextAdditionalProps>;
|
|
524
|
-
|
|
525
|
-
declare const Section: FC<SectionProps>;
|
|
526
|
-
|
|
527
|
-
declare enum ContentAlignment {
|
|
528
|
-
Left = "left",
|
|
529
|
-
Center = "center",
|
|
530
|
-
Right = "right"
|
|
531
|
-
}
|
|
532
|
-
type SectionParameters = ContainerParameters & {
|
|
533
|
-
contentAlignment?: ContentAlignment;
|
|
534
|
-
};
|
|
535
|
-
declare enum SectionVariants {
|
|
536
|
-
Columns = "columns",
|
|
537
|
-
ColumnsReverse = "columnsReverse"
|
|
538
|
-
}
|
|
539
|
-
declare enum SectionSlots {
|
|
540
|
-
SectionContent = "sectionContent",
|
|
541
|
-
SectionMedia = "sectionMedia",
|
|
542
|
-
SectionCTA = "sectionCTA"
|
|
543
|
-
}
|
|
544
|
-
type SectionProps = ComponentProps<SectionParameters, SectionSlots>;
|
|
545
|
-
|
|
546
|
-
declare const Spacer: FC<SpacerProps>;
|
|
547
|
-
|
|
548
|
-
type SpacerParameters = {
|
|
549
|
-
size?: string;
|
|
550
|
-
};
|
|
551
|
-
declare enum SpacerVariants {
|
|
552
|
-
Horizontal = "horizontal"
|
|
553
|
-
}
|
|
554
|
-
type SpacerProps = ComponentProps<SpacerParameters>;
|
|
555
|
-
|
|
556
|
-
declare const Tab: FC<TabProps>;
|
|
557
|
-
|
|
558
|
-
type TabParameters = {
|
|
559
|
-
title?: string;
|
|
560
|
-
};
|
|
561
|
-
declare enum TabSlots {
|
|
562
|
-
TabContent = "tabContent"
|
|
563
|
-
}
|
|
564
|
-
type TabProps = ComponentProps<TabParameters, TabSlots>;
|
|
565
|
-
|
|
566
|
-
declare const Table: FC<TableProps>;
|
|
567
|
-
|
|
568
|
-
type TableParameters = ContainerParameters & {
|
|
569
|
-
size?: string;
|
|
570
|
-
textColor?: string;
|
|
571
|
-
};
|
|
572
|
-
declare enum TableSlots {
|
|
573
|
-
TableHead = "tableHead",
|
|
574
|
-
TableBody = "tableBody"
|
|
575
|
-
}
|
|
576
|
-
type TableProps = ComponentProps<TableParameters, TableSlots>;
|
|
577
|
-
|
|
578
|
-
declare const TableCustomCell: FC<TableCustomCellProps>;
|
|
579
|
-
|
|
580
|
-
type TableCustomCellParameters = {
|
|
581
|
-
alignment?: 'left' | 'center' | 'right';
|
|
582
|
-
};
|
|
583
|
-
declare enum TableCustomCellSlots {
|
|
584
|
-
TableCustomCellContent = "tableCustomCellContent"
|
|
585
|
-
}
|
|
586
|
-
type TableCustomCellProps = ComponentProps<TableCustomCellParameters, TableCustomCellSlots>;
|
|
587
|
-
|
|
588
|
-
declare const TableDataCell: FC<TableDataCellProps>;
|
|
589
|
-
|
|
590
|
-
type TableDataCellParameters = {
|
|
591
|
-
value?: string;
|
|
592
|
-
};
|
|
593
|
-
type TableDataCellProps = ComponentProps<TableDataCellParameters>;
|
|
594
|
-
|
|
595
|
-
declare const TableHeaderCell: FC<TableHeaderCellProps>;
|
|
596
|
-
|
|
597
|
-
type TableHeaderCellParameters = {
|
|
598
|
-
value?: string;
|
|
599
|
-
};
|
|
600
|
-
type TableHeaderCellProps = ComponentProps<TableHeaderCellParameters>;
|
|
601
|
-
|
|
602
|
-
declare const TableRow: FC<TableRowProps>;
|
|
603
|
-
|
|
604
|
-
type TableRowProps = ComponentProps;
|
|
605
|
-
|
|
606
|
-
type TabsParameters = ContainerParameters & {
|
|
607
|
-
color?: string;
|
|
608
|
-
};
|
|
609
|
-
declare enum TabsVariants {
|
|
610
|
-
Default = "default",
|
|
611
|
-
Bordered = "bordered"
|
|
612
|
-
}
|
|
613
|
-
declare enum TabsSlots {
|
|
614
|
-
TabItems = "tabItems"
|
|
615
|
-
}
|
|
616
|
-
type TabsProps = ComponentProps<TabsParameters, TabsSlots>;
|
|
617
|
-
declare const _default$1: react.ComponentType<TabsProps>;
|
|
618
|
-
|
|
619
|
-
declare const Testimonial: FC<TestimonialProps>;
|
|
620
|
-
|
|
621
|
-
declare enum TestimonialVariants {
|
|
622
|
-
WithLargeAvatar = "withLargeAvatar",
|
|
623
|
-
WithOverlappingImage = "withOverlappingImage"
|
|
624
|
-
}
|
|
625
|
-
type TestimonialParameters = ContainerParameters;
|
|
626
|
-
declare enum TestimonialSlots {
|
|
627
|
-
TestimonialSecondaryImage = "testimonialSecondaryImage",
|
|
628
|
-
TestimonialContent = "testimonialContent",
|
|
629
|
-
TestimonialPrimaryImage = "testimonialPrimaryImage",
|
|
630
|
-
TestimonialAuthor = "testimonialAuthor"
|
|
631
|
-
}
|
|
632
|
-
type TestimonialProps = ComponentProps<TestimonialParameters, TestimonialSlots>;
|
|
633
|
-
|
|
634
|
-
declare const Text: FC<TextProps>;
|
|
635
|
-
|
|
636
|
-
type TextProps = ComponentProps<TextParameters>;
|
|
637
|
-
|
|
638
|
-
type ThemeSwitcherParameters = {
|
|
639
|
-
iconColor?: string;
|
|
640
|
-
};
|
|
641
|
-
type ThemeSwitcherProps = ComponentProps<ThemeSwitcherParameters>;
|
|
642
|
-
declare const _default: react.ComponentType<ThemeSwitcherProps>;
|
|
643
|
-
|
|
644
|
-
declare const Video: FC<VideoProps>;
|
|
645
|
-
|
|
646
|
-
type VideoParameters = {
|
|
647
|
-
video?: AssetParamValue;
|
|
648
|
-
url?: LinkParamValue;
|
|
649
|
-
placeholderImage?: AssetParamValue;
|
|
650
|
-
autoPlay?: boolean;
|
|
651
|
-
lazyLoad?: boolean;
|
|
652
|
-
loop?: boolean;
|
|
653
|
-
controls?: boolean;
|
|
654
|
-
muted?: boolean;
|
|
655
|
-
overlayColor?: string;
|
|
656
|
-
overlayOpacity?: string;
|
|
657
|
-
border?: string | ViewPort<string>;
|
|
658
|
-
};
|
|
659
|
-
type VideoProps = ComponentProps<VideoParameters>;
|
|
3
|
+
import '@uniformdev/next-app-router';
|
|
660
4
|
|
|
661
5
|
declare const cskComponentsMapping: ComponentMapping;
|
|
662
6
|
|
|
663
|
-
declare const componentResolver:
|
|
664
|
-
component: _uniformdev_canvas.ComponentInstance;
|
|
665
|
-
}) => _uniformdev_canvas_next_rsc_component.ResolveComponentResult | {
|
|
666
|
-
component: ({ component }: _uniformdev_canvas_next_rsc_shared.ComponentProps) => React.JSX.Element | null;
|
|
667
|
-
};
|
|
7
|
+
declare const componentResolver: _uniformdev_next_app_router__.ResolveComponentFunction;
|
|
668
8
|
|
|
669
|
-
export {
|
|
9
|
+
export { componentResolver, cskComponentsMapping, cskComponentsMapping as default };
|