tenara-ui-components 0.2.9 → 0.3.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.
- package/README.md +48 -18
- package/dist/components/atoms/Breadcrumb/Breadcrumb.d.ts +14 -0
- package/dist/components/atoms/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/components/atoms/Breadcrumb/index.d.ts +3 -0
- package/dist/components/atoms/Breadcrumb/index.d.ts.map +1 -0
- package/dist/components/atoms/BulletList/BulletList.d.ts +22 -0
- package/dist/components/atoms/BulletList/BulletList.d.ts.map +1 -0
- package/dist/components/atoms/BulletList/index.d.ts +3 -0
- package/dist/components/atoms/BulletList/index.d.ts.map +1 -0
- package/dist/components/atoms/Button/Button.d.ts +8 -3
- package/dist/components/atoms/Button/Button.d.ts.map +1 -1
- package/dist/components/atoms/Button/buttonIcons.d.ts +5 -1
- package/dist/components/atoms/Button/buttonIcons.d.ts.map +1 -1
- package/dist/components/atoms/Button/index.d.ts +3 -0
- package/dist/components/atoms/Button/index.d.ts.map +1 -0
- package/dist/components/atoms/ButtonLink/ButtonLink.d.ts +5 -1
- package/dist/components/atoms/ButtonLink/ButtonLink.d.ts.map +1 -1
- package/dist/components/atoms/ColorTable/ColorTable.d.ts +3 -3
- package/dist/components/atoms/ColorTable/ColorTable.d.ts.map +1 -1
- package/dist/components/atoms/Container/Container.d.ts +15 -0
- package/dist/components/atoms/Container/Container.d.ts.map +1 -0
- package/dist/components/atoms/Container/index.d.ts +3 -0
- package/dist/components/atoms/Container/index.d.ts.map +1 -0
- package/dist/components/atoms/Divider/Divider.d.ts +20 -0
- package/dist/components/atoms/Divider/Divider.d.ts.map +1 -0
- package/dist/components/atoms/Divider/index.d.ts +3 -0
- package/dist/components/atoms/Divider/index.d.ts.map +1 -0
- package/dist/components/atoms/Grid/Grid.d.ts +41 -18
- package/dist/components/atoms/Grid/Grid.d.ts.map +1 -1
- package/dist/components/atoms/Heading/Heading.d.ts +8 -0
- package/dist/components/atoms/Heading/Heading.d.ts.map +1 -1
- package/dist/components/atoms/Icon/Icon.d.ts +42 -0
- package/dist/components/atoms/Icon/Icon.d.ts.map +1 -0
- package/dist/components/atoms/Icon/index.d.ts +3 -0
- package/dist/components/atoms/Icon/index.d.ts.map +1 -0
- package/dist/components/atoms/Media/Media.d.ts +63 -0
- package/dist/components/atoms/Media/Media.d.ts.map +1 -0
- package/dist/components/atoms/Media/index.d.ts +3 -0
- package/dist/components/atoms/Media/index.d.ts.map +1 -0
- package/dist/components/atoms/Modal/Modal.d.ts +24 -0
- package/dist/components/atoms/Modal/Modal.d.ts.map +1 -0
- package/dist/components/atoms/Modal/index.d.ts +3 -0
- package/dist/components/atoms/Modal/index.d.ts.map +1 -0
- package/dist/components/atoms/Paragraph/Paragraph.d.ts +41 -0
- package/dist/components/atoms/Paragraph/Paragraph.d.ts.map +1 -0
- package/dist/components/atoms/Paragraph/index.d.ts +3 -0
- package/dist/components/atoms/Paragraph/index.d.ts.map +1 -0
- package/dist/components/atoms/PlayButton/PlayButton.d.ts +26 -0
- package/dist/components/atoms/PlayButton/PlayButton.d.ts.map +1 -0
- package/dist/components/atoms/PlayButton/index.d.ts +3 -0
- package/dist/components/atoms/PlayButton/index.d.ts.map +1 -0
- package/dist/components/atoms/RichText/RichText.d.ts +21 -0
- package/dist/components/atoms/RichText/RichText.d.ts.map +1 -0
- package/dist/components/atoms/RichText/index.d.ts +3 -0
- package/dist/components/atoms/RichText/index.d.ts.map +1 -0
- package/dist/components/atoms/TestTierVariables/TestTierVariables.d.ts +11 -0
- package/dist/components/atoms/TestTierVariables/TestTierVariables.d.ts.map +1 -0
- package/dist/components/atoms/TestTierVariables/index.d.ts +3 -0
- package/dist/components/atoms/TestTierVariables/index.d.ts.map +1 -0
- package/dist/components/atoms/TextInput/TextInput.d.ts +44 -0
- package/dist/components/atoms/TextInput/TextInput.d.ts.map +1 -0
- package/dist/components/atoms/TextInput/index.d.ts +3 -0
- package/dist/components/atoms/TextInput/index.d.ts.map +1 -0
- package/dist/components/atoms/TextLink/TextLink.d.ts +1 -0
- package/dist/components/atoms/TextLink/TextLink.d.ts.map +1 -1
- package/dist/components/atoms/TextLink/index.d.ts +3 -0
- package/dist/components/atoms/TextLink/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +36 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/molecules/Card/Card.d.ts +2 -0
- package/dist/components/molecules/Card/Card.d.ts.map +1 -1
- package/dist/components/molecules/Card/index.d.ts +3 -0
- package/dist/components/molecules/Card/index.d.ts.map +1 -0
- package/dist/components/molecules/Header/Header.d.ts +1 -0
- package/dist/components/molecules/Header/Header.d.ts.map +1 -1
- package/dist/components/molecules/Header/index.d.ts +3 -0
- package/dist/components/molecules/Header/index.d.ts.map +1 -0
- package/dist/components/molecules/Modal/Modal.d.ts +24 -0
- package/dist/components/molecules/Modal/Modal.d.ts.map +1 -0
- package/dist/components/molecules/Modal/index.d.ts +3 -0
- package/dist/components/molecules/Modal/index.d.ts.map +1 -0
- package/dist/components/molecules/VideoPlayer/VideoPlayer.d.ts +29 -0
- package/dist/components/molecules/VideoPlayer/VideoPlayer.d.ts.map +1 -0
- package/dist/components/molecules/VideoPlayer/index.d.ts +3 -0
- package/dist/components/molecules/VideoPlayer/index.d.ts.map +1 -0
- package/dist/components/molecules/primax/Banner/Banner.d.ts +42 -0
- package/dist/components/molecules/primax/Banner/Banner.d.ts.map +1 -0
- package/dist/components/molecules/primax/Banner/index.d.ts +3 -0
- package/dist/components/molecules/primax/Banner/index.d.ts.map +1 -0
- package/dist/components/molecules/primax/CTA/CTA.d.ts +28 -0
- package/dist/components/molecules/primax/CTA/CTA.d.ts.map +1 -0
- package/dist/components/molecules/primax/CTA/index.d.ts +3 -0
- package/dist/components/molecules/primax/CTA/index.d.ts.map +1 -0
- package/dist/components/molecules/primax/Card/Card.d.ts +46 -0
- package/dist/components/molecules/primax/Card/Card.d.ts.map +1 -0
- package/dist/components/molecules/primax/Card/index.d.ts +3 -0
- package/dist/components/molecules/primax/Card/index.d.ts.map +1 -0
- package/dist/components/molecules/primax/HalfColumn/HalfColumn.d.ts +60 -0
- package/dist/components/molecules/primax/HalfColumn/HalfColumn.d.ts.map +1 -0
- package/dist/components/molecules/primax/HalfColumn/index.d.ts +3 -0
- package/dist/components/molecules/primax/HalfColumn/index.d.ts.map +1 -0
- package/dist/components/molecules/primax/MediaBlock/MediaBlock.d.ts +45 -0
- package/dist/components/molecules/primax/MediaBlock/MediaBlock.d.ts.map +1 -0
- package/dist/components/molecules/primax/MediaBlock/index.d.ts +3 -0
- package/dist/components/molecules/primax/MediaBlock/index.d.ts.map +1 -0
- package/dist/components/molecules/primax/MediaPresentation/MediaPresentation.d.ts +8 -0
- package/dist/components/molecules/primax/MediaPresentation/MediaPresentation.d.ts.map +1 -0
- package/dist/components/molecules/primax/MediaPresentation/index.d.ts +2 -0
- package/dist/components/molecules/primax/MediaPresentation/index.d.ts.map +1 -0
- package/dist/components/molecules/primax/PlayIcon/PlayIcon.d.ts +11 -0
- package/dist/components/molecules/primax/PlayIcon/PlayIcon.d.ts.map +1 -0
- package/dist/components/molecules/primax/PlayIcon/index.d.ts +2 -0
- package/dist/components/molecules/primax/PlayIcon/index.d.ts.map +1 -0
- package/dist/components/molecules/primax/Subscribe/Subscribe.d.ts +42 -0
- package/dist/components/molecules/primax/Subscribe/Subscribe.d.ts.map +1 -0
- package/dist/components/molecules/primax/Subscribe/index.d.ts +3 -0
- package/dist/components/molecules/primax/Subscribe/index.d.ts.map +1 -0
- package/dist/components/molecules/primax/TwoColumn/TwoColumn.d.ts +37 -0
- package/dist/components/molecules/primax/TwoColumn/TwoColumn.d.ts.map +1 -0
- package/dist/components/molecules/primax/TwoColumn/index.d.ts +3 -0
- package/dist/components/molecules/primax/TwoColumn/index.d.ts.map +1 -0
- package/dist/components/molecules/primax/VideoSection/VideoSection.d.ts +31 -0
- package/dist/components/molecules/primax/VideoSection/VideoSection.d.ts.map +1 -0
- package/dist/components/molecules/primax/VideoSection/index.d.ts +3 -0
- package/dist/components/molecules/primax/VideoSection/index.d.ts.map +1 -0
- package/dist/components/pages/Page.d.ts +1 -0
- package/dist/components/pages/Page.d.ts.map +1 -1
- package/dist/components/pages/index.d.ts +2 -0
- package/dist/components/pages/index.d.ts.map +1 -0
- package/dist/components/utilities/ThemeInitializer.d.ts +2 -0
- package/dist/components/utilities/ThemeInitializer.d.ts.map +1 -0
- package/dist/components/utilities/index.d.ts +2 -0
- package/dist/components/utilities/index.d.ts.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.esm.css +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/themes/core/client-provider.d.ts +2 -2
- package/dist/themes/core/client-provider.d.ts.map +1 -1
- package/dist/themes/core/color-system.d.ts +58 -57
- package/dist/themes/core/color-system.d.ts.map +1 -1
- package/dist/themes/core/design-system-types.d.ts +42 -0
- package/dist/themes/core/design-system-types.d.ts.map +1 -0
- package/dist/themes/core/dynamic-types.d.ts +80 -0
- package/dist/themes/core/dynamic-types.d.ts.map +1 -0
- package/dist/themes/core/new-color-system.d.ts +17 -0
- package/dist/themes/core/new-color-system.d.ts.map +1 -0
- package/dist/themes/core/new-typography-system.d.ts +17 -0
- package/dist/themes/core/new-typography-system.d.ts.map +1 -0
- package/dist/themes/core/style-variable-schema.d.ts +107 -0
- package/dist/themes/core/style-variable-schema.d.ts.map +1 -0
- package/dist/themes/core/types.d.ts +74 -38
- package/dist/themes/core/types.d.ts.map +1 -1
- package/dist/themes/index.d.ts +1 -1
- package/dist/themes/index.d.ts.map +1 -1
- package/dist/themes/presets/advisors-plus.d.ts.map +1 -1
- package/dist/themes/presets/builders/color-builder.d.ts +109 -0
- package/dist/themes/presets/builders/color-builder.d.ts.map +1 -0
- package/dist/themes/presets/builders/component-builder.d.ts +154 -0
- package/dist/themes/presets/builders/component-builder.d.ts.map +1 -0
- package/dist/themes/presets/builders/index.d.ts +13 -0
- package/dist/themes/presets/builders/index.d.ts.map +1 -0
- package/dist/themes/presets/builders/typography-builder.d.ts +149 -0
- package/dist/themes/presets/builders/typography-builder.d.ts.map +1 -0
- package/dist/themes/presets/color-systems/advisors-plus-colors.d.ts.map +1 -1
- package/dist/themes/presets/color-systems/default-colors.d.ts +1 -1
- package/dist/themes/presets/color-systems/default-colors.d.ts.map +1 -1
- package/dist/themes/presets/color-systems/primax-colors.d.ts.map +1 -1
- package/dist/themes/presets/default.d.ts.map +1 -1
- package/dist/themes/presets/dynamic-advisors-plus.d.ts +40 -0
- package/dist/themes/presets/dynamic-advisors-plus.d.ts.map +1 -0
- package/dist/themes/presets/dynamic-default.d.ts +41 -0
- package/dist/themes/presets/dynamic-default.d.ts.map +1 -0
- package/dist/themes/presets/dynamic-primax.d.ts +38 -0
- package/dist/themes/presets/dynamic-primax.d.ts.map +1 -0
- package/dist/themes/presets/new-default.d.ts +7 -0
- package/dist/themes/presets/new-default.d.ts.map +1 -0
- package/dist/themes/presets/primax.d.ts.map +1 -1
- package/dist/themes/theme-loader.d.ts +15 -0
- package/dist/themes/theme-loader.d.ts.map +1 -0
- package/dist/themes/utils/generator.d.ts +2 -1
- package/dist/themes/utils/generator.d.ts.map +1 -1
- package/dist/themes/utils/helpers.d.ts +4 -2
- package/dist/themes/utils/helpers.d.ts.map +1 -1
- package/dist/themes/utils/migration.d.ts +94 -0
- package/dist/themes/utils/migration.d.ts.map +1 -0
- package/dist/themes/utils/new-generator.d.ts +27 -0
- package/dist/themes/utils/new-generator.d.ts.map +1 -0
- package/package.json +33 -38
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Media/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Modal.scss';
|
|
3
|
+
export interface ModalProps {
|
|
4
|
+
/** Whether the modal is open */
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
/** Callback when the modal should close */
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
/** Child elements rendered inside the modal content area */
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
/** Additional CSS class name for the content area */
|
|
11
|
+
className?: string;
|
|
12
|
+
/** Dark mode styling */
|
|
13
|
+
darkMode?: boolean;
|
|
14
|
+
/** Size variant */
|
|
15
|
+
size?: 'sm' | 'md' | 'lg';
|
|
16
|
+
/** Accessible label for the modal */
|
|
17
|
+
ariaLabel?: string;
|
|
18
|
+
/** Whether clicking the overlay closes the modal */
|
|
19
|
+
closeOnOverlayClick?: boolean;
|
|
20
|
+
/** Whether pressing Escape closes the modal */
|
|
21
|
+
closeOnEscape?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export declare const Modal: React.FC<ModalProps>;
|
|
24
|
+
//# sourceMappingURL=Modal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAC9D,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,UAAU;IACzB,gCAAgC;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,2CAA2C;IAC3C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,4DAA4D;IAC5D,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wBAAwB;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,qCAAqC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,+CAA+C;IAC/C,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAuEtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { SemanticColorTokens } from '@/themes/core/color-system';
|
|
3
|
+
import './Paragraph.scss';
|
|
4
|
+
export type ParagraphElement = 'p' | 'span' | 'div';
|
|
5
|
+
export type ColorPalette = 'primary' | 'secondary' | 'accent' | 'tertiary';
|
|
6
|
+
export type ParagraphWeight = 'light' | 'regular' | 'semibold' | 'bold' | 'black';
|
|
7
|
+
export type ParagraphSize = '2xl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs';
|
|
8
|
+
export type ParagraphColor = keyof SemanticColorTokens;
|
|
9
|
+
export interface ParagraphProps {
|
|
10
|
+
/** Paragraph content - supports text and HTML tags (bold, em, strong, etc) */
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
/** HTML element to render (default: 'p') */
|
|
13
|
+
as?: ParagraphElement;
|
|
14
|
+
/** Font weight (maps to --tier1-theme-typography-font-weight-*) */
|
|
15
|
+
weight?: ParagraphWeight;
|
|
16
|
+
/** Font size (maps to --tier1-theme-typography-font-size-*) */
|
|
17
|
+
size?: ParagraphSize;
|
|
18
|
+
/** Color from theme semantic tokens */
|
|
19
|
+
color?: ParagraphColor;
|
|
20
|
+
/** Color palette to apply (background + text) */
|
|
21
|
+
palette?: ColorPalette;
|
|
22
|
+
/** Dark mode - applies dark mode styling for use on dark backgrounds */
|
|
23
|
+
darkMode?: boolean;
|
|
24
|
+
/** Custom CSS class */
|
|
25
|
+
className?: string;
|
|
26
|
+
/** Inline styles */
|
|
27
|
+
style?: React.CSSProperties;
|
|
28
|
+
/** Render HTML string (use with caution - sanitize external content) */
|
|
29
|
+
dangerouslySetInnerHTML?: {
|
|
30
|
+
__html: string;
|
|
31
|
+
};
|
|
32
|
+
id?: string;
|
|
33
|
+
role?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Paragraph component for body text
|
|
37
|
+
* Supports text and HTML tags (bold, em, strong, etc)
|
|
38
|
+
* Integrates with RichText component through shared tokens
|
|
39
|
+
*/
|
|
40
|
+
export declare const Paragraph: React.FC<ParagraphProps>;
|
|
41
|
+
//# sourceMappingURL=Paragraph.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Paragraph.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Paragraph/Paragraph.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,kBAAkB,CAAC;AAE1B,MAAM,MAAM,gBAAgB,GAAG,GAAG,GAAG,MAAM,GAAG,KAAK,CAAC;AACpD,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,CAAC;AAC3E,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,CAAC;AAClF,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAGrE,MAAM,MAAM,cAAc,GAAG,MAAM,mBAAmB,CAAC;AAEvD,MAAM,WAAW,cAAc;IAC7B,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,4CAA4C;IAC5C,EAAE,CAAC,EAAE,gBAAgB,CAAC;IACtB,mEAAmE;IACnE,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,+DAA+D;IAC/D,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,uCAAuC;IACvC,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,iDAAiD;IACjD,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,wEAAwE;IACxE,uBAAuB,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAE7C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA8D9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Paragraph/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './PlayButton.scss';
|
|
3
|
+
export interface PlayButtonProps {
|
|
4
|
+
/** Custom icon element to render inside the play button wrapper.
|
|
5
|
+
* When omitted, nothing renders — pass a tenant-specific icon
|
|
6
|
+
* (e.g. primax PlayIcon) or any React node. */
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
/** Dark mode styling */
|
|
9
|
+
darkMode?: boolean;
|
|
10
|
+
/** Size variant */
|
|
11
|
+
size?: 'sm' | 'md' | 'lg';
|
|
12
|
+
/** Additional CSS class */
|
|
13
|
+
className?: string;
|
|
14
|
+
/** Inline styles */
|
|
15
|
+
style?: React.CSSProperties;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Themeable play button wrapper.
|
|
19
|
+
* Colors are driven by CSS custom properties so themes can override
|
|
20
|
+
* default, hover, focus, and active states.
|
|
21
|
+
*
|
|
22
|
+
* Pass any SVG or React node as `icon` — the wrapper handles
|
|
23
|
+
* sizing, positioning, and state-based color transitions.
|
|
24
|
+
*/
|
|
25
|
+
export declare const PlayButton: React.FC<PlayButtonProps>;
|
|
26
|
+
//# sourceMappingURL=PlayButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlayButton.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/PlayButton/PlayButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,CAAC;AAE3B,MAAM,WAAW,eAAe;IAC9B;;oDAEgD;IAChD,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,wBAAwB;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAoBhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/PlayButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './RichText.scss';
|
|
3
|
+
export interface RichTextProps {
|
|
4
|
+
/** HTML content to render */
|
|
5
|
+
content: string;
|
|
6
|
+
/** Dark mode - applies dark mode styling for use on dark backgrounds */
|
|
7
|
+
darkMode?: boolean;
|
|
8
|
+
/** Custom CSS class */
|
|
9
|
+
className?: string;
|
|
10
|
+
/** Inline styles */
|
|
11
|
+
style?: React.CSSProperties;
|
|
12
|
+
/** Maximum width constraint */
|
|
13
|
+
maxWidth?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* RichText component for rendering styled HTML content
|
|
17
|
+
* Inherits typography styles from Heading and TextLink components
|
|
18
|
+
* Supports future extension for lists, paragraphs, and other HTML elements
|
|
19
|
+
*/
|
|
20
|
+
export declare const RichText: React.FC<RichTextProps>;
|
|
21
|
+
//# sourceMappingURL=RichText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RichText.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/RichText/RichText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,iBAAiB,CAAC;AAEzB,MAAM,WAAW,aAAa;IAC5B,6BAA6B;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAsB5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/RichText/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Test component to verify tier variables are working
|
|
3
|
+
*/
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import './TestTierVariables.scss';
|
|
6
|
+
export interface TestTierVariablesProps {
|
|
7
|
+
/** Test content */
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export declare const TestTierVariables: React.FC<TestTierVariablesProps>;
|
|
11
|
+
//# sourceMappingURL=TestTierVariables.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TestTierVariables.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/TestTierVariables/TestTierVariables.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,0BAA0B,CAAC;AAElC,MAAM,WAAW,sBAAsB;IACrC,mBAAmB;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAc9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/TestTierVariables/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './TextInput.scss';
|
|
3
|
+
export interface TextInputValidation {
|
|
4
|
+
/** Mark field as required */
|
|
5
|
+
required?: boolean;
|
|
6
|
+
/** Minimum character length */
|
|
7
|
+
minLength?: number;
|
|
8
|
+
/** Maximum character length */
|
|
9
|
+
maxLength?: number;
|
|
10
|
+
/** Regex pattern to validate against */
|
|
11
|
+
pattern?: RegExp;
|
|
12
|
+
/** Validate as email format */
|
|
13
|
+
email?: boolean;
|
|
14
|
+
/** Custom error message — overrides the default for any failed rule */
|
|
15
|
+
errorMessage?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface TextInputProps {
|
|
18
|
+
/** Field label */
|
|
19
|
+
label: string;
|
|
20
|
+
/** Input name attribute */
|
|
21
|
+
name: string;
|
|
22
|
+
/** Input type */
|
|
23
|
+
type?: 'text' | 'email' | 'tel' | 'url' | 'password';
|
|
24
|
+
/** Placeholder / hint text */
|
|
25
|
+
placeholder?: string;
|
|
26
|
+
/** Current value (controlled) */
|
|
27
|
+
value?: string;
|
|
28
|
+
/** Change handler */
|
|
29
|
+
onChange?: (value: string) => void;
|
|
30
|
+
/** Blur handler */
|
|
31
|
+
onBlur?: () => void;
|
|
32
|
+
/** Validation rules */
|
|
33
|
+
validation?: TextInputValidation;
|
|
34
|
+
/** Error message to display */
|
|
35
|
+
error?: string;
|
|
36
|
+
/** Disabled state */
|
|
37
|
+
disabled?: boolean;
|
|
38
|
+
/** Dark mode */
|
|
39
|
+
darkMode?: boolean;
|
|
40
|
+
/** Additional class */
|
|
41
|
+
className?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare const TextInput: React.FC<TextInputProps>;
|
|
44
|
+
//# sourceMappingURL=TextInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/TextInput/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgB,MAAM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Root":"","sources":["../../../../src/components/atoms/TextInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextLink.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/TextLink/TextLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,iBAAiB,CAAC;AAEzB,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IACjD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"TextLink.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/TextLink/TextLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,iBAAiB,CAAC;AAEzB,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IACjD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAkE5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/TextLink/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -5,11 +5,47 @@ export { defaultButtonIcons } from './atoms/Button/buttonIcons';
|
|
|
5
5
|
export { ButtonLink } from './atoms/ButtonLink';
|
|
6
6
|
export { TextLink } from './atoms/TextLink/TextLink';
|
|
7
7
|
export { BackgroundMedia } from './atoms/BackgroundMedia';
|
|
8
|
+
export { Media } from './atoms/Media';
|
|
9
|
+
export type { MediaProps, MediaType, ObjectFit, VideoProviderConfig, VideoProviderOptions } from './atoms/Media';
|
|
10
|
+
export { Breadcrumb } from './atoms/Breadcrumb';
|
|
11
|
+
export type { BreadcrumbProps, BreadcrumbItem } from './atoms/Breadcrumb';
|
|
12
|
+
export { Divider } from './atoms/Divider';
|
|
13
|
+
export type { DividerProps, ShapeDivider } from './atoms/Divider';
|
|
14
|
+
export { Container } from './atoms/Container';
|
|
15
|
+
export type { ContainerProps } from './atoms/Container';
|
|
8
16
|
export { Heading } from './atoms/Heading';
|
|
9
17
|
export { Grid, GridItem } from './atoms/Grid';
|
|
18
|
+
export { Icon } from './atoms/Icon';
|
|
19
|
+
export { RichText } from './atoms/RichText';
|
|
20
|
+
export { Paragraph } from './atoms/Paragraph';
|
|
21
|
+
export { BulletList } from './atoms/BulletList';
|
|
22
|
+
export type { BulletListProps, BulletItem } from './atoms/BulletList';
|
|
23
|
+
export { PlayButton } from './atoms/PlayButton';
|
|
24
|
+
export type { PlayButtonProps } from './atoms/PlayButton';
|
|
10
25
|
export { Header } from './molecules/Header/Header';
|
|
11
26
|
export { Card } from './molecules/Card/Card';
|
|
12
27
|
export { CTA } from './molecules/CTA';
|
|
28
|
+
export { VideoPlayer } from './molecules/VideoPlayer';
|
|
29
|
+
export type { VideoPlayerProps, VideoPlaybackMode } from './molecules/VideoPlayer';
|
|
30
|
+
export { Banner } from './molecules/primax/Banner';
|
|
31
|
+
export type { BannerMediaProps } from './molecules/primax/Banner';
|
|
32
|
+
export { MediaBlock } from './molecules/primax/MediaBlock';
|
|
33
|
+
export type { MediaBlockProps, MediaBlockVariant } from './molecules/primax/MediaBlock';
|
|
34
|
+
export { BannerCTA } from './molecules/primax/CTA';
|
|
35
|
+
export type { PrimaxCTAProps } from './molecules/primax/CTA';
|
|
36
|
+
export { VideoSection } from './molecules/primax/VideoSection';
|
|
37
|
+
export type { VideoSectionProps, VideoSectionVariation } from './molecules/primax/VideoSection';
|
|
38
|
+
export { TwoColumn } from './molecules/primax/TwoColumn';
|
|
39
|
+
export type { TwoColumnProps, TwoColumnRow, TwoColumnVariation } from './molecules/primax/TwoColumn';
|
|
40
|
+
export { Subscribe } from './molecules/primax/Subscribe';
|
|
41
|
+
export type { SubscribeProps, SubscribeField } from './molecules/primax/Subscribe';
|
|
42
|
+
export { TextInput } from './atoms/TextInput';
|
|
43
|
+
export type { TextInputProps, TextInputValidation } from './atoms/TextInput';
|
|
44
|
+
export { PlayIcon } from './molecules/primax/PlayIcon';
|
|
45
|
+
export { HalfColumn } from './molecules/primax/HalfColumn';
|
|
46
|
+
export type { HalfColumnProps, HalfColumnRow, HalfColumnVariant, HalfColumnMediaPosition } from './molecules/primax/HalfColumn';
|
|
47
|
+
export { PrimaxCard } from './molecules/primax/Card';
|
|
48
|
+
export type { PrimaxCardProps, PrimaxCardVariant, PrimaxCardButtonVariant } from './molecules/primax/Card';
|
|
13
49
|
export { Page } from './pages/Page';
|
|
14
50
|
export * from '../themes';
|
|
15
51
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAGtB,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAGjE,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAGtB,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAGjE,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/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,MAAM,yBAAyB,CAAA;AACpD,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AAE1G,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,cAAc,WAAW,CAAC"}
|
|
@@ -3,6 +3,8 @@ import '../../molecules/Card/Card.scss';
|
|
|
3
3
|
export interface CardProps {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
maxWidth?: number | string;
|
|
6
|
+
height?: number | string;
|
|
7
|
+
width?: number | string;
|
|
6
8
|
padding?: string;
|
|
7
9
|
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
8
10
|
href?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gCAAgC,CAAC;AAExC,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IAC5D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,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version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Header/Header.tsx"],"names":[],"mappings":"AAEA,KAAK,IAAI,GAAG;IACV,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,eAAO,MAAM,MAAM,GAAI,8CAA8C,WAAW,4CAuC/E,CAAC"}
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Header/Header.tsx"],"names":[],"mappings":"AAEA,OAAO,eAAe,CAAC;AAEvB,KAAK,IAAI,GAAG;IACV,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,eAAO,MAAM,MAAM,GAAI,8CAA8C,WAAW,4CAuC/E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Header/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Modal.scss';
|
|
3
|
+
export interface ModalProps {
|
|
4
|
+
/** Whether the modal is open */
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
/** Callback when the modal should close */
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
/** Child elements rendered inside the modal content area */
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
/** Additional CSS class name for the content area */
|
|
11
|
+
className?: string;
|
|
12
|
+
/** Dark mode styling */
|
|
13
|
+
darkMode?: boolean;
|
|
14
|
+
/** Size variant */
|
|
15
|
+
size?: 'sm' | 'md' | 'lg';
|
|
16
|
+
/** Accessible label for the modal */
|
|
17
|
+
ariaLabel?: string;
|
|
18
|
+
/** Whether clicking the overlay closes the modal */
|
|
19
|
+
closeOnOverlayClick?: boolean;
|
|
20
|
+
/** Whether pressing Escape closes the modal */
|
|
21
|
+
closeOnEscape?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export declare const Modal: React.FC<ModalProps>;
|
|
24
|
+
//# sourceMappingURL=Modal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAC9D,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,UAAU;IACzB,gCAAgC;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,2CAA2C;IAC3C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,4DAA4D;IAC5D,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wBAAwB;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,qCAAqC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,+CAA+C;IAC/C,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAuEtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACpD,YAAY,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { MediaProps } from "@/components/atoms/Media";
|
|
3
|
+
import "./VideoPlayer.scss";
|
|
4
|
+
export type VideoPlaybackMode = "inline" | "popover";
|
|
5
|
+
export interface VideoPlayerProps {
|
|
6
|
+
/** Video source URL (native video file, Wistia, or any provider supported by Media) */
|
|
7
|
+
src: string;
|
|
8
|
+
/** Thumbnail image URL. If omitted, shows the video directly. */
|
|
9
|
+
thumbnail?: string;
|
|
10
|
+
/** Alt text for thumbnail image and video title */
|
|
11
|
+
alt?: string;
|
|
12
|
+
/** Custom play button element/icon. Receives default styling wrapper. */
|
|
13
|
+
playIcon?: React.ReactNode;
|
|
14
|
+
/** Playback mode: 'inline' plays in-place, 'popover' opens Wistia lightbox */
|
|
15
|
+
playbackMode?: VideoPlaybackMode;
|
|
16
|
+
/** Aspect ratio for the player container (e.g. "16/9") */
|
|
17
|
+
aspectRatio?: string;
|
|
18
|
+
/** Additional Media props passed to the video when playing inline */
|
|
19
|
+
mediaProps?: Partial<MediaProps>;
|
|
20
|
+
/** Dark mode styling */
|
|
21
|
+
darkMode?: boolean;
|
|
22
|
+
/** Additional CSS class */
|
|
23
|
+
className?: string;
|
|
24
|
+
/** Inline styles */
|
|
25
|
+
style?: React.CSSProperties;
|
|
26
|
+
}
|
|
27
|
+
/** Molecule that composes Media atom with thumbnail, play button, and playback modes */
|
|
28
|
+
export declare const VideoPlayer: React.FC<VideoPlayerProps>;
|
|
29
|
+
//# sourceMappingURL=VideoPlayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoPlayer.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/VideoPlayer/VideoPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAChE,OAAO,EAAS,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,oBAAoB,CAAC;AAqD5B,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,SAAS,CAAC;AAErD,MAAM,WAAW,gBAAgB;IAC/B,uFAAuF;IACvF,GAAG,EAAE,MAAM,CAAC;IACZ,iEAAiE;IACjE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mDAAmD;IACnD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,8EAA8E;IAC9E,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,0DAA0D;IAC1D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qEAAqE;IACrE,UAAU,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IACjC,wBAAwB;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,wFAAwF;AACxF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA+KlD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/VideoPlayer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ButtonProps } from "@/components/atoms/Button";
|
|
2
|
+
import { DividerProps } from "@/components/atoms/Divider";
|
|
3
|
+
import { GridProps } from "@/components/atoms/Grid";
|
|
4
|
+
import { HeadingLevel } from "@/components/atoms/Heading";
|
|
5
|
+
import { MediaBlockProps } from "@/components/molecules/primax/MediaBlock";
|
|
6
|
+
import "./Banner.scss";
|
|
7
|
+
type CTABannerVariant = "hero" | "level2" | "level3" | "gated";
|
|
8
|
+
type Alignment = "left" | "center" | "right";
|
|
9
|
+
type VerticalAlignment = "top" | "center" | "bottom";
|
|
10
|
+
/** Banner-specific media props — extends MediaBlockProps with layout constraints */
|
|
11
|
+
export interface BannerMediaProps extends MediaBlockProps {
|
|
12
|
+
/** Width constraint for column media */
|
|
13
|
+
width?: number | string;
|
|
14
|
+
/** Height constraint for column media */
|
|
15
|
+
height?: number | string;
|
|
16
|
+
}
|
|
17
|
+
export interface BannerI extends DividerProps {
|
|
18
|
+
bannerType: CTABannerVariant;
|
|
19
|
+
gridGap?: GridProps["gap"];
|
|
20
|
+
contentGap?: GridProps["gap"];
|
|
21
|
+
heading: string;
|
|
22
|
+
headingLevel?: HeadingLevel;
|
|
23
|
+
breadcrumbs?: BreadcrumbItem[];
|
|
24
|
+
button?: ButtonProps;
|
|
25
|
+
/** Media for column display (level2, gated) or hero background */
|
|
26
|
+
media?: BannerMediaProps;
|
|
27
|
+
/** Background video URL for hero variant (autoplays, muted, no controls) */
|
|
28
|
+
backgroundVideo?: string;
|
|
29
|
+
backgroundImage?: string;
|
|
30
|
+
className?: string;
|
|
31
|
+
align?: Alignment;
|
|
32
|
+
verticalAlign?: VerticalAlignment;
|
|
33
|
+
contentVerticalAlign?: VerticalAlignment;
|
|
34
|
+
mediaVerticalAlign?: VerticalAlignment;
|
|
35
|
+
}
|
|
36
|
+
export interface BreadcrumbItem {
|
|
37
|
+
label: string;
|
|
38
|
+
href?: string;
|
|
39
|
+
}
|
|
40
|
+
export declare const Banner: ({ children, align, verticalAlign, headingLevel, ...props }: BannerI) => import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export {};
|
|
42
|
+
//# sourceMappingURL=Banner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/primax/Banner/Banner.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAU,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAW,YAAY,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAkB,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAW,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAEnE,OAAO,EAAc,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAEvF,OAAO,eAAe,CAAC;AAEvB,KAAK,gBAAgB,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC/D,KAAK,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC7C,KAAK,iBAAiB,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAErD,oFAAoF;AACpF,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACvD,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,yCAAyC;IACzC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,OAAQ,SAAQ,YAAY;IAC3C,UAAU,EAAE,gBAAgB,CAAC;IAC7B,OAAO,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;IAC3B,UAAU,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;IAG9B,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,WAAW,CAAC,EAAE,cAAc,EAAE,CAAC;IAC/B,MAAM,CAAC,EAAE,WAAW,CAAC;IAErB,kEAAkE;IAClE,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,4EAA4E;IAC5E,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,oBAAoB,CAAC,EAAE,iBAAiB,CAAC;IACzC,kBAAkB,CAAC,EAAE,iBAAiB,CAAC;CACxC;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AA4CD,eAAO,MAAM,MAAM,GAAI,4DAMpB,OAAO,4CA8HT,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/primax/Banner/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,YAAY,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ButtonProps } from "@/components/atoms/Button";
|
|
3
|
+
import { DividerProps } from "@/components/atoms/Divider";
|
|
4
|
+
import { HeadingLevel } from "@/components/atoms/Heading";
|
|
5
|
+
import "./CTA.scss";
|
|
6
|
+
type CTAVariant = "small" | "large";
|
|
7
|
+
type CTAAlignment = "left" | "center" | "right";
|
|
8
|
+
export interface PrimaxCTAProps extends Omit<DividerProps, "children"> {
|
|
9
|
+
/** CTA variant - small (heading + button) or large (heading + form slot) */
|
|
10
|
+
variant?: CTAVariant;
|
|
11
|
+
/** Content alignment - left, center, or right */
|
|
12
|
+
alignment?: CTAAlignment;
|
|
13
|
+
/** CTA heading text */
|
|
14
|
+
heading: string;
|
|
15
|
+
/** Heading semantic level */
|
|
16
|
+
headingLevel?: HeadingLevel;
|
|
17
|
+
/** Button props for the small variant */
|
|
18
|
+
button?: ButtonProps;
|
|
19
|
+
/** Form content slot for the large variant */
|
|
20
|
+
children?: React.ReactNode;
|
|
21
|
+
/** Make the inner container full-width (no max-width constraint) */
|
|
22
|
+
fluid?: boolean;
|
|
23
|
+
/** Additional class name */
|
|
24
|
+
className?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const BannerCTA: React.FC<PrimaxCTAProps>;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=CTA.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CTA.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/primax/CTA/CTA.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAU,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAW,YAAY,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAW,YAAY,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,YAAY,CAAC;AAGpB,KAAK,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC;AACpC,KAAK,YAAY,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEhD,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,YAAY,EAAE,UAAU,CAAC;IACpE,4EAA4E;IAC5E,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,iDAAiD;IACjD,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,uBAAuB;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,6BAA6B;IAC7B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,yCAAyC;IACzC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,oEAAoE;IACpE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA6D9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/primax/CTA/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,YAAY,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC"}
|