tenara-ui-components 0.3.3 → 0.3.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tenara-ui-components",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "A React component library with built-in theming system for multi-tenant applications",
5
5
  "type": "module",
6
6
  "private": false,
@@ -1,59 +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 { Modal } from './molecules/Modal';
26
- export type { ModalProps } from './molecules/Modal';
27
- export { Header } from './molecules/Header/Header';
28
- export { Card } from './molecules/Card/Card';
29
- export { CTA } from './molecules/CTA';
30
- export { VideoPlayer } from './molecules/VideoPlayer';
31
- export type { VideoPlayerProps, VideoPlaybackMode } from './molecules/VideoPlayer';
32
- export { Banner } from './molecules/primax/Banner';
33
- export type { BannerMediaProps } from './molecules/primax/Banner';
34
- export { MediaBlock } from './molecules/primax/MediaBlock';
35
- export type { MediaBlockProps, MediaBlockVariant } from './molecules/primax/MediaBlock';
36
- export { BannerCTA } from './molecules/primax/CTA';
37
- export type { PrimaxCTAProps } from './molecules/primax/CTA';
38
- export { VideoSection } from './molecules/primax/VideoSection';
39
- export type { VideoSectionProps, VideoSectionVariation } from './molecules/primax/VideoSection';
40
- export { TwoColumn } from './molecules/primax/TwoColumn';
41
- export type { TwoColumnProps, TwoColumnRow, TwoColumnVariation } from './molecules/primax/TwoColumn';
42
- export { Subscribe } from './molecules/primax/Subscribe';
43
- export type { SubscribeProps, SubscribeField } from './molecules/primax/Subscribe';
44
- export { TextInput } from './atoms/TextInput';
45
- export type { TextInputProps, TextInputValidation } from './atoms/TextInput';
46
- export { Checkbox } from './atoms/Checkbox';
47
- export type { CheckboxProps } from './atoms/Checkbox';
48
- export { Dropdown } from './atoms/Dropdown';
49
- export type { DropdownProps } from './atoms/Dropdown';
50
- export { DropdownSelect } from './molecules/primax/DropdownSelect';
51
- export type { DropdownSelectProps, DropdownSelectOption, DropdownSelectValidation, } from './molecules/primax/DropdownSelect';
52
- export { PlayIcon } from './molecules/primax/PlayIcon';
53
- export { HalfColumn } from './molecules/primax/HalfColumn';
54
- export type { HalfColumnProps, HalfColumnRow, HalfColumnVariant, HalfColumnMediaPosition, } from './molecules/primax/HalfColumn';
55
- export { PrimaxCard } from './molecules/primax/Card';
56
- export type { PrimaxCardProps, PrimaxCardVariant, PrimaxCardButtonVariant } from './molecules/primax/Card';
57
- export { Page } from './pages/Page';
58
- export * from '../themes';
59
- //# 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,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BAAkB,CAAC;AAC5C,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,YAAY,EACV,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,GACzB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,YAAY,EACV,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAG3G,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,cAAc,WAAW,CAAC"}
@@ -1,44 +0,0 @@
1
- import { ButtonProps } from '@/components/atoms/Button';
2
- import { ButtonLinkProps } from '@/components/atoms/ButtonLink';
3
- import { DividerProps } from '@/components/atoms/Divider';
4
- import { GridProps } from '@/components/atoms/Grid';
5
- import { HeadingLevel } from '@/components/atoms/Heading';
6
- import { MediaBlockProps } from '@/components/molecules/primax/MediaBlock';
7
- import './Banner.scss';
8
- type CTABannerVariant = 'hero' | 'level2' | 'level3' | 'gated';
9
- type Alignment = 'left' | 'center' | 'right';
10
- type VerticalAlignment = 'top' | 'center' | 'bottom';
11
- /** Banner-specific media props — extends MediaBlockProps with layout constraints */
12
- export interface BannerMediaProps extends MediaBlockProps {
13
- /** Width constraint for column media */
14
- width?: number | string;
15
- /** Height constraint for column media */
16
- height?: number | string;
17
- }
18
- export interface BannerI extends DividerProps {
19
- bannerType: CTABannerVariant;
20
- gridGap?: GridProps['gap'];
21
- contentGap?: GridProps['gap'];
22
- heading: string;
23
- headingLevel?: HeadingLevel;
24
- breadcrumbs?: BreadcrumbItem[];
25
- /** Button or link — pass `href` to render an <a>, omit it to render a <button> */
26
- button?: ButtonProps | ButtonLinkProps;
27
- /** Media for column display (level2, gated) or hero background */
28
- media?: BannerMediaProps;
29
- /** Background video URL for hero variant (autoplays, muted, no controls) */
30
- backgroundVideo?: string;
31
- backgroundImage?: string;
32
- className?: string;
33
- align?: Alignment;
34
- verticalAlign?: VerticalAlignment;
35
- contentVerticalAlign?: VerticalAlignment;
36
- mediaVerticalAlign?: VerticalAlignment;
37
- }
38
- export interface BreadcrumbItem {
39
- label: string;
40
- href?: string;
41
- }
42
- export declare const Banner: ({ children, align, verticalAlign, headingLevel, ...props }: BannerI) => import("react/jsx-runtime").JSX.Element;
43
- export {};
44
- //# 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,EAAc,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC5E,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,kFAAkF;IAClF,MAAM,CAAC,EAAE,WAAW,GAAG,eAAe,CAAC;IAEvC,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;AAuCD,eAAO,MAAM,MAAM,GAAI,4DAMpB,OAAO,4CAyGT,CAAC"}
@@ -1,3 +0,0 @@
1
- export { Banner } from './Banner';
2
- export type { BannerMediaProps, BannerI } from './Banner';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
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,CAAC;AAClC,YAAY,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC"}