tenara-ui-components 0.3.0 → 0.3.2
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 +14 -7
- package/dist/components/atoms/Divider/Divider.d.ts +6 -6
- package/dist/components/atoms/Divider/Divider.d.ts.map +1 -1
- 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/presets/primax.d.ts +1 -1
- package/dist/themes/presets/primax.d.ts.map +1 -1
- package/package.json +5 -1
- package/dist/components/atoms/BackgroundMedia/BackgroundMedia.d.ts +0 -19
- package/dist/components/atoms/BackgroundMedia/BackgroundMedia.d.ts.map +0 -1
- package/dist/components/atoms/BackgroundMedia/index.d.ts +0 -3
- package/dist/components/atoms/BackgroundMedia/index.d.ts.map +0 -1
- package/dist/components/atoms/Breadcrumb/Breadcrumb.d.ts +0 -14
- package/dist/components/atoms/Breadcrumb/Breadcrumb.d.ts.map +0 -1
- package/dist/components/atoms/Breadcrumb/index.d.ts +0 -3
- package/dist/components/atoms/Breadcrumb/index.d.ts.map +0 -1
- package/dist/components/atoms/BulletList/BulletList.d.ts +0 -22
- package/dist/components/atoms/BulletList/BulletList.d.ts.map +0 -1
- package/dist/components/atoms/BulletList/index.d.ts +0 -3
- package/dist/components/atoms/BulletList/index.d.ts.map +0 -1
- package/dist/components/atoms/Button/Button.d.ts +0 -36
- package/dist/components/atoms/Button/Button.d.ts.map +0 -1
- package/dist/components/atoms/Button/buttonIcons.d.ts +0 -24
- package/dist/components/atoms/Button/buttonIcons.d.ts.map +0 -1
- package/dist/components/atoms/Button/index.d.ts +0 -3
- package/dist/components/atoms/Button/index.d.ts.map +0 -1
- package/dist/components/atoms/ButtonLink/ButtonLink.d.ts +0 -34
- package/dist/components/atoms/ButtonLink/ButtonLink.d.ts.map +0 -1
- package/dist/components/atoms/ButtonLink/index.d.ts +0 -3
- package/dist/components/atoms/ButtonLink/index.d.ts.map +0 -1
- package/dist/components/atoms/ColorTable/ColorTable.d.ts +0 -12
- package/dist/components/atoms/ColorTable/ColorTable.d.ts.map +0 -1
- package/dist/components/atoms/ColorTable/index.d.ts +0 -3
- package/dist/components/atoms/ColorTable/index.d.ts.map +0 -1
- package/dist/components/atoms/Container/Container.d.ts +0 -15
- package/dist/components/atoms/Container/Container.d.ts.map +0 -1
- package/dist/components/atoms/Container/index.d.ts +0 -3
- package/dist/components/atoms/Container/index.d.ts.map +0 -1
- package/dist/components/atoms/Divider/index.d.ts +0 -3
- package/dist/components/atoms/Divider/index.d.ts.map +0 -1
- package/dist/components/atoms/Grid/Grid.d.ts +0 -102
- package/dist/components/atoms/Grid/Grid.d.ts.map +0 -1
- package/dist/components/atoms/Grid/index.d.ts +0 -3
- package/dist/components/atoms/Grid/index.d.ts.map +0 -1
- package/dist/components/atoms/Heading/Heading.d.ts +0 -37
- package/dist/components/atoms/Heading/Heading.d.ts.map +0 -1
- package/dist/components/atoms/Heading/index.d.ts +0 -3
- package/dist/components/atoms/Heading/index.d.ts.map +0 -1
- package/dist/components/atoms/Icon/Icon.d.ts +0 -42
- package/dist/components/atoms/Icon/Icon.d.ts.map +0 -1
- package/dist/components/atoms/Icon/index.d.ts +0 -3
- package/dist/components/atoms/Icon/index.d.ts.map +0 -1
- package/dist/components/atoms/Media/Media.d.ts +0 -63
- package/dist/components/atoms/Media/Media.d.ts.map +0 -1
- package/dist/components/atoms/Media/index.d.ts +0 -3
- package/dist/components/atoms/Media/index.d.ts.map +0 -1
- package/dist/components/atoms/Modal/Modal.d.ts +0 -24
- package/dist/components/atoms/Modal/Modal.d.ts.map +0 -1
- package/dist/components/atoms/Modal/index.d.ts +0 -3
- package/dist/components/atoms/Modal/index.d.ts.map +0 -1
- package/dist/components/atoms/Paragraph/Paragraph.d.ts +0 -41
- package/dist/components/atoms/Paragraph/Paragraph.d.ts.map +0 -1
- package/dist/components/atoms/Paragraph/index.d.ts +0 -3
- package/dist/components/atoms/Paragraph/index.d.ts.map +0 -1
- package/dist/components/atoms/PlayButton/PlayButton.d.ts +0 -26
- package/dist/components/atoms/PlayButton/PlayButton.d.ts.map +0 -1
- package/dist/components/atoms/PlayButton/index.d.ts +0 -3
- package/dist/components/atoms/PlayButton/index.d.ts.map +0 -1
- package/dist/components/atoms/RichText/RichText.d.ts +0 -21
- package/dist/components/atoms/RichText/RichText.d.ts.map +0 -1
- package/dist/components/atoms/RichText/index.d.ts +0 -3
- package/dist/components/atoms/RichText/index.d.ts.map +0 -1
- package/dist/components/atoms/TestTierVariables/TestTierVariables.d.ts +0 -11
- package/dist/components/atoms/TestTierVariables/TestTierVariables.d.ts.map +0 -1
- package/dist/components/atoms/TestTierVariables/index.d.ts +0 -3
- package/dist/components/atoms/TestTierVariables/index.d.ts.map +0 -1
- package/dist/components/atoms/TextInput/TextInput.d.ts +0 -44
- package/dist/components/atoms/TextInput/TextInput.d.ts.map +0 -1
- package/dist/components/atoms/TextInput/index.d.ts +0 -3
- package/dist/components/atoms/TextInput/index.d.ts.map +0 -1
- package/dist/components/atoms/TextLink/TextLink.d.ts +0 -19
- package/dist/components/atoms/TextLink/TextLink.d.ts.map +0 -1
- package/dist/components/atoms/TextLink/index.d.ts +0 -3
- package/dist/components/atoms/TextLink/index.d.ts.map +0 -1
- package/dist/components/index.d.ts +0 -51
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/molecules/CTA/CTA.d.ts +0 -34
- package/dist/components/molecules/CTA/CTA.d.ts.map +0 -1
- package/dist/components/molecules/CTA/index.d.ts +0 -3
- package/dist/components/molecules/CTA/index.d.ts.map +0 -1
- package/dist/components/molecules/Card/Card.d.ts +0 -23
- package/dist/components/molecules/Card/Card.d.ts.map +0 -1
- package/dist/components/molecules/Card/index.d.ts +0 -3
- package/dist/components/molecules/Card/index.d.ts.map +0 -1
- package/dist/components/molecules/Header/Header.d.ts +0 -13
- package/dist/components/molecules/Header/Header.d.ts.map +0 -1
- package/dist/components/molecules/Header/index.d.ts +0 -3
- package/dist/components/molecules/Header/index.d.ts.map +0 -1
- package/dist/components/molecules/Modal/Modal.d.ts +0 -24
- package/dist/components/molecules/Modal/Modal.d.ts.map +0 -1
- package/dist/components/molecules/Modal/index.d.ts +0 -3
- package/dist/components/molecules/Modal/index.d.ts.map +0 -1
- package/dist/components/molecules/VideoPlayer/VideoPlayer.d.ts +0 -29
- package/dist/components/molecules/VideoPlayer/VideoPlayer.d.ts.map +0 -1
- package/dist/components/molecules/VideoPlayer/index.d.ts +0 -3
- package/dist/components/molecules/VideoPlayer/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/Banner/Banner.d.ts +0 -42
- package/dist/components/molecules/primax/Banner/Banner.d.ts.map +0 -1
- package/dist/components/molecules/primax/Banner/index.d.ts +0 -3
- package/dist/components/molecules/primax/Banner/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/CTA/CTA.d.ts +0 -28
- package/dist/components/molecules/primax/CTA/CTA.d.ts.map +0 -1
- package/dist/components/molecules/primax/CTA/index.d.ts +0 -3
- package/dist/components/molecules/primax/CTA/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/Card/Card.d.ts +0 -46
- package/dist/components/molecules/primax/Card/Card.d.ts.map +0 -1
- package/dist/components/molecules/primax/Card/index.d.ts +0 -3
- package/dist/components/molecules/primax/Card/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/HalfColumn/HalfColumn.d.ts +0 -60
- package/dist/components/molecules/primax/HalfColumn/HalfColumn.d.ts.map +0 -1
- package/dist/components/molecules/primax/HalfColumn/index.d.ts +0 -3
- package/dist/components/molecules/primax/HalfColumn/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/MediaBlock/MediaBlock.d.ts +0 -45
- package/dist/components/molecules/primax/MediaBlock/MediaBlock.d.ts.map +0 -1
- package/dist/components/molecules/primax/MediaBlock/index.d.ts +0 -3
- package/dist/components/molecules/primax/MediaBlock/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/MediaPresentation/MediaPresentation.d.ts +0 -8
- package/dist/components/molecules/primax/MediaPresentation/MediaPresentation.d.ts.map +0 -1
- package/dist/components/molecules/primax/MediaPresentation/index.d.ts +0 -2
- package/dist/components/molecules/primax/MediaPresentation/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/PlayIcon/PlayIcon.d.ts +0 -11
- package/dist/components/molecules/primax/PlayIcon/PlayIcon.d.ts.map +0 -1
- package/dist/components/molecules/primax/PlayIcon/index.d.ts +0 -2
- package/dist/components/molecules/primax/PlayIcon/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/Subscribe/Subscribe.d.ts +0 -42
- package/dist/components/molecules/primax/Subscribe/Subscribe.d.ts.map +0 -1
- package/dist/components/molecules/primax/Subscribe/index.d.ts +0 -3
- package/dist/components/molecules/primax/Subscribe/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/TwoColumn/TwoColumn.d.ts +0 -37
- package/dist/components/molecules/primax/TwoColumn/TwoColumn.d.ts.map +0 -1
- package/dist/components/molecules/primax/TwoColumn/index.d.ts +0 -3
- package/dist/components/molecules/primax/TwoColumn/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/VideoSection/VideoSection.d.ts +0 -31
- package/dist/components/molecules/primax/VideoSection/VideoSection.d.ts.map +0 -1
- package/dist/components/molecules/primax/VideoSection/index.d.ts +0 -3
- package/dist/components/molecules/primax/VideoSection/index.d.ts.map +0 -1
- package/dist/components/pages/Page.d.ts +0 -4
- package/dist/components/pages/Page.d.ts.map +0 -1
- package/dist/components/pages/index.d.ts +0 -2
- package/dist/components/pages/index.d.ts.map +0 -1
- package/dist/components/utilities/ThemeInitializer.d.ts +0 -2
- package/dist/components/utilities/ThemeInitializer.d.ts.map +0 -1
- package/dist/components/utilities/index.d.ts +0 -2
- package/dist/components/utilities/index.d.ts.map +0 -1
- package/dist/themes/core/client-provider.d.ts +0 -8
- package/dist/themes/core/client-provider.d.ts.map +0 -1
- package/dist/themes/core/color-system.d.ts +0 -72
- package/dist/themes/core/color-system.d.ts.map +0 -1
- package/dist/themes/core/context.d.ts +0 -26
- package/dist/themes/core/context.d.ts.map +0 -1
- package/dist/themes/core/design-system-types.d.ts +0 -42
- package/dist/themes/core/design-system-types.d.ts.map +0 -1
- package/dist/themes/core/dynamic-types.d.ts +0 -80
- package/dist/themes/core/dynamic-types.d.ts.map +0 -1
- package/dist/themes/core/new-color-system.d.ts +0 -17
- package/dist/themes/core/new-color-system.d.ts.map +0 -1
- package/dist/themes/core/new-typography-system.d.ts +0 -17
- package/dist/themes/core/new-typography-system.d.ts.map +0 -1
- package/dist/themes/core/style-variable-schema.d.ts +0 -107
- package/dist/themes/core/style-variable-schema.d.ts.map +0 -1
- package/dist/themes/core/types.d.ts +0 -188
- package/dist/themes/core/types.d.ts.map +0 -1
- package/dist/themes/hooks/useColorTokens.d.ts +0 -26
- package/dist/themes/hooks/useColorTokens.d.ts.map +0 -1
- package/dist/themes/index.d.ts +0 -16
- package/dist/themes/index.d.ts.map +0 -1
- package/dist/themes/presets/advisors-plus.d.ts +0 -7
- package/dist/themes/presets/advisors-plus.d.ts.map +0 -1
- package/dist/themes/presets/builders/color-builder.d.ts +0 -109
- package/dist/themes/presets/builders/color-builder.d.ts.map +0 -1
- package/dist/themes/presets/builders/component-builder.d.ts +0 -154
- package/dist/themes/presets/builders/component-builder.d.ts.map +0 -1
- package/dist/themes/presets/builders/index.d.ts +0 -13
- package/dist/themes/presets/builders/index.d.ts.map +0 -1
- package/dist/themes/presets/builders/typography-builder.d.ts +0 -149
- package/dist/themes/presets/builders/typography-builder.d.ts.map +0 -1
- package/dist/themes/presets/color-systems/advisors-plus-colors.d.ts +0 -7
- package/dist/themes/presets/color-systems/advisors-plus-colors.d.ts.map +0 -1
- package/dist/themes/presets/color-systems/default-colors.d.ts +0 -7
- package/dist/themes/presets/color-systems/default-colors.d.ts.map +0 -1
- package/dist/themes/presets/color-systems/primax-colors.d.ts +0 -7
- package/dist/themes/presets/color-systems/primax-colors.d.ts.map +0 -1
- package/dist/themes/presets/default.d.ts +0 -7
- package/dist/themes/presets/default.d.ts.map +0 -1
- package/dist/themes/presets/dynamic-advisors-plus.d.ts +0 -40
- package/dist/themes/presets/dynamic-advisors-plus.d.ts.map +0 -1
- package/dist/themes/presets/dynamic-default.d.ts +0 -41
- package/dist/themes/presets/dynamic-default.d.ts.map +0 -1
- package/dist/themes/presets/dynamic-primax.d.ts +0 -38
- package/dist/themes/presets/dynamic-primax.d.ts.map +0 -1
- package/dist/themes/presets/new-default.d.ts +0 -7
- package/dist/themes/presets/new-default.d.ts.map +0 -1
- package/dist/themes/theme-loader.d.ts +0 -15
- package/dist/themes/theme-loader.d.ts.map +0 -1
- package/dist/themes/utils/generator.d.ts +0 -20
- package/dist/themes/utils/generator.d.ts.map +0 -1
- package/dist/themes/utils/helpers.d.ts +0 -14
- package/dist/themes/utils/helpers.d.ts.map +0 -1
- package/dist/themes/utils/index.d.ts +0 -6
- package/dist/themes/utils/index.d.ts.map +0 -1
- package/dist/themes/utils/migration.d.ts +0 -94
- package/dist/themes/utils/migration.d.ts.map +0 -1
- package/dist/themes/utils/new-generator.d.ts +0 -27
- package/dist/themes/utils/new-generator.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Media.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Media/Media.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,cAAc,CAAC;AAkBtB,MAAM,WAAW,mBAAmB;IAClC,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,6CAA6C;IAC7C,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;IAChC,yCAAyC;IACzC,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB,KAAK,MAAM,CAAC;CACxE;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CA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M,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,6BAA6B;IAC7B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,sGAAsG;IACtG,OAAO,CAAC,EAAE,CAAC,WAAW,EAAE,GAAG,KAAK,IAAI,CAAC;CACtC;AASD,sGAAsG;AACtG,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAmMtC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,41 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Paragraph.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Paragraph/Paragraph.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK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C,EAAE,CAAC,cAAc,CA8D9C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,26 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,44 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/TextInput/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgB,MAAM,OAAO,CAAC;AACrC,OAAO,kBAAkB,CAAC;AAG1B,MAAM,WAAW,mBAAmB;IAClC,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+BAA+B;IAC/B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,uEAAuE;IACvE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,cAAc;IAC7B,kBAAkB;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB;IACjB,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,UAAU,CAAC;IACrD,8BAA8B;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,mBAAmB;IACnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,uBAAuB;IACvB,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA2D9C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","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,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './TextLink.scss';
|
|
3
|
-
export interface TextLinkProps {
|
|
4
|
-
label: string;
|
|
5
|
-
href?: string;
|
|
6
|
-
externalLink?: string;
|
|
7
|
-
target?: '_blank' | '_self' | '_parent' | '_top';
|
|
8
|
-
onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
|
|
9
|
-
className?: string;
|
|
10
|
-
icon?: React.ReactNode;
|
|
11
|
-
style?: React.CSSProperties;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
darkMode?: boolean;
|
|
14
|
-
'aria-label'?: string;
|
|
15
|
-
'aria-describedby'?: string;
|
|
16
|
-
'data-testid'?: string;
|
|
17
|
-
}
|
|
18
|
-
export declare const TextLink: React.FC<TextLinkProps>;
|
|
19
|
-
//# sourceMappingURL=TextLink.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import './styles.css';
|
|
2
|
-
export { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
3
|
-
export { Button } from './atoms/Button/Button';
|
|
4
|
-
export { defaultButtonIcons } from './atoms/Button/buttonIcons';
|
|
5
|
-
export { ButtonLink } from './atoms/ButtonLink';
|
|
6
|
-
export { TextLink } from './atoms/TextLink/TextLink';
|
|
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';
|
|
16
|
-
export { Heading } from './atoms/Heading';
|
|
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';
|
|
25
|
-
export { Header } from './molecules/Header/Header';
|
|
26
|
-
export { Card } from './molecules/Card/Card';
|
|
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';
|
|
49
|
-
export { Page } from './pages/Page';
|
|
50
|
-
export * from '../themes';
|
|
51
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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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,WAAW,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { HeadingLevel } from '../../atoms/Heading';
|
|
3
|
-
import './CTA.scss';
|
|
4
|
-
export interface CTAProps {
|
|
5
|
-
/** Video URL for background */
|
|
6
|
-
videoUrl?: string;
|
|
7
|
-
/** Image URL for background */
|
|
8
|
-
imageUrl?: string;
|
|
9
|
-
/** CSS gradient overlay */
|
|
10
|
-
gradient?: string;
|
|
11
|
-
/** Background color */
|
|
12
|
-
bgColor?: string;
|
|
13
|
-
/** CTA title */
|
|
14
|
-
title: string;
|
|
15
|
-
/** Heading level */
|
|
16
|
-
headingLevel?: HeadingLevel;
|
|
17
|
-
/** CTA description */
|
|
18
|
-
description?: string;
|
|
19
|
-
/** Button text */
|
|
20
|
-
buttonText: string;
|
|
21
|
-
/** Button link */
|
|
22
|
-
link?: string;
|
|
23
|
-
/** External link flag */
|
|
24
|
-
externalLink?: boolean;
|
|
25
|
-
/** Link target */
|
|
26
|
-
target?: '_blank' | '_self';
|
|
27
|
-
/** Custom CSS class */
|
|
28
|
-
className?: string;
|
|
29
|
-
/** Inline styles */
|
|
30
|
-
style?: React.CSSProperties;
|
|
31
|
-
}
|
|
32
|
-
/** CTA component with background media and content */
|
|
33
|
-
export declare const CTA: React.FC<CTAProps>;
|
|
34
|
-
//# sourceMappingURL=CTA.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CTA.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/CTA/CTA.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAW,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,YAAY,CAAC;AAIpB,MAAM,WAAW,QAAQ;IACvB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uBAAuB;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,sBAAsB;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yBAAyB;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kBAAkB;IAClB,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC5B,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,sDAAsD;AACtD,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CA+ClC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/CTA/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,YAAY,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import '../../molecules/Card/Card.scss';
|
|
3
|
-
export interface CardProps {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
maxWidth?: number | string;
|
|
6
|
-
height?: number | string;
|
|
7
|
-
width?: number | string;
|
|
8
|
-
padding?: string;
|
|
9
|
-
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
10
|
-
href?: string;
|
|
11
|
-
target?: '_blank' | '_self' | '_parent' | '_top';
|
|
12
|
-
imageUrl?: string;
|
|
13
|
-
imageAlt?: string;
|
|
14
|
-
className?: string;
|
|
15
|
-
style?: React.CSSProperties;
|
|
16
|
-
aspectRatio?: string;
|
|
17
|
-
borderRadius?: string;
|
|
18
|
-
hoverEffect?: boolean;
|
|
19
|
-
'aria-label'?: string;
|
|
20
|
-
'data-testid'?: string;
|
|
21
|
-
}
|
|
22
|
-
export declare const Card: React.FC<CardProps>;
|
|
23
|
-
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,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,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAkIpC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"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,13 +0,0 @@
|
|
|
1
|
-
import './Header.scss';
|
|
2
|
-
type User = {
|
|
3
|
-
name: string;
|
|
4
|
-
};
|
|
5
|
-
export interface HeaderProps {
|
|
6
|
-
user?: User;
|
|
7
|
-
onLogin?: () => void;
|
|
8
|
-
onLogout?: () => void;
|
|
9
|
-
onCreateAccount?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const Header: ({ user, onLogin, onLogout, onCreateAccount }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,42 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,CA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