@adam-milo/ui 1.0.43 → 1.0.46
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/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index10.cjs +1 -1
- package/dist/index10.js +1 -1
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +1 -1
- package/dist/index12.cjs +1 -1
- package/dist/index12.js +1 -1
- package/dist/index13.cjs +1 -1
- package/dist/index13.js +1 -1
- package/dist/index14.cjs +1 -1
- package/dist/index14.js +1 -1
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +1 -1
- package/dist/index16.cjs +1 -1
- package/dist/index16.js +1 -1
- package/dist/index17.cjs +1 -1
- package/dist/index17.js +8 -4
- package/dist/index18.cjs +1 -1
- package/dist/index18.js +4 -8
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +8 -4
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +4 -2
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +2 -5
- package/dist/index22.cjs +1 -1
- package/dist/index22.js +5 -11
- package/dist/index23.cjs +1 -1
- package/dist/index23.js +11 -2
- package/dist/index24.cjs +1 -1
- package/dist/index24.js +2 -2
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +2 -2
- package/dist/index26.cjs +1 -1
- package/dist/index26.js +2 -7
- package/dist/index27.cjs +1 -1
- package/dist/index27.js +7 -2
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +4 -2
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +3 -2
- package/dist/index3.cjs +1 -1
- package/dist/index3.js +1 -1
- package/dist/index30.cjs +1 -1
- package/dist/index30.js +2 -2
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +2 -10
- package/dist/index32.cjs +1 -1
- package/dist/index32.js +2 -11
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +2 -1
- package/dist/index34.cjs +1 -1
- package/dist/index34.js +10 -1
- package/dist/index35.cjs +1 -1
- package/dist/index35.js +11 -1
- package/dist/index36.cjs +1 -1
- package/dist/index36.js +1 -1
- package/dist/index37.cjs +1 -1
- package/dist/index37.js +1 -1
- package/dist/index38.cjs +1 -1
- package/dist/index38.js +1 -15
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +1 -1
- package/dist/index4.cjs +1 -1
- package/dist/index4.js +1 -1
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +1 -1
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +1 -1
- package/dist/index42.cjs +1 -1
- package/dist/index42.js +15 -1
- package/dist/index43.cjs +1 -1
- package/dist/index43.js +1 -1
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +1 -1
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +1 -1
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +1 -1
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +1 -1
- package/dist/index48.cjs +1 -1
- package/dist/index48.js +1 -1
- package/dist/index49.cjs +1 -1
- package/dist/index49.js +1 -1
- package/dist/index5.cjs +1 -1
- package/dist/index5.js +1 -1
- package/dist/index50.cjs +1 -1
- package/dist/index50.js +1 -1
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +1 -1
- package/dist/index52.cjs +1 -1
- package/dist/index52.js +1 -1
- package/dist/index53.cjs +1 -1
- package/dist/index53.js +1 -1
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +1 -1
- package/dist/index55.cjs +1 -1
- package/dist/index55.js +1 -1
- package/dist/index56.cjs +1 -1
- package/dist/index56.js +1 -1
- package/dist/index57.cjs +1 -1
- package/dist/index57.js +1 -1
- package/dist/index58.cjs +1 -1
- package/dist/index58.js +1 -1
- package/dist/index59.cjs +1 -1
- package/dist/index59.js +1 -1
- package/dist/index6.cjs +1 -1
- package/dist/index6.js +1 -1
- package/dist/index60.cjs +1 -1
- package/dist/index60.js +1 -1
- package/dist/index61.cjs +1 -1
- package/dist/index61.js +1 -1
- package/dist/index62.cjs +1 -1
- package/dist/index62.js +1 -1
- package/dist/index63.cjs +1 -1
- package/dist/index63.js +1 -1
- package/dist/index64.cjs +1 -1
- package/dist/index64.js +1 -1
- package/dist/index65.cjs +1 -1
- package/dist/index65.js +1 -5
- package/dist/index66.cjs +1 -1
- package/dist/index66.js +1 -1
- package/dist/index67.cjs +1 -1
- package/dist/index67.js +1 -1
- package/dist/index68.cjs +1 -1
- package/dist/index68.js +1 -1
- package/dist/index69.cjs +1 -1
- package/dist/index69.js +1 -2
- package/dist/index7.cjs +1 -1
- package/dist/index7.js +1 -1
- package/dist/index70.cjs +1 -1
- package/dist/index70.js +5 -1
- package/dist/index71.cjs +1 -1
- package/dist/index71.js +1 -1
- package/dist/index72.cjs +1 -1
- package/dist/index72.js +1 -4
- package/dist/index73.cjs +1 -1
- package/dist/index73.js +1 -1
- package/dist/index74.cjs +1 -1
- package/dist/index74.js +2 -1
- package/dist/index75.cjs +1 -1
- package/dist/index75.js +1 -1
- package/dist/index76.cjs +1 -1
- package/dist/index76.js +1 -3
- package/dist/index77.cjs +1 -1
- package/dist/index77.js +4 -1
- package/dist/index78.cjs +1 -1
- package/dist/index78.js +1 -1
- package/dist/index79.cjs +1 -1
- package/dist/index79.js +1 -1
- package/dist/index8.cjs +1 -1
- package/dist/index8.js +1 -1
- package/dist/index80.cjs +1 -1
- package/dist/index80.js +1 -1
- package/dist/index81.cjs +1 -1
- package/dist/index81.js +3 -1
- package/dist/index82.cjs +1 -1
- package/dist/index82.js +1 -1
- package/dist/index83.cjs +1 -1
- package/dist/index83.js +1 -2
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +1 -1
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +1 -1
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +1 -1
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +1 -1
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +2 -1
- package/dist/index89.cjs +1 -0
- package/dist/index89.js +1 -0
- package/dist/index9.cjs +1 -1
- package/dist/index9.js +1 -1
- package/dist/index90.cjs +1 -0
- package/dist/index90.js +1 -0
- package/dist/index91.cjs +1 -0
- package/dist/index91.js +1 -0
- package/dist/index92.cjs +1 -0
- package/dist/index92.js +1 -0
- package/dist/index93.cjs +1 -0
- package/dist/index93.js +1 -0
- package/dist/src/components/layout/auth-layout/AuthLayout.component.d.ts.map +1 -1
- package/dist/src/components/layout/auth-layout/AuthLayout.styles.d.ts +14 -3
- package/dist/src/components/layout/auth-layout/AuthLayout.styles.d.ts.map +1 -1
- package/dist/src/components/layout/auth-layout/AuthLayout.types.d.ts +30 -7
- package/dist/src/components/layout/auth-layout/AuthLayout.types.d.ts.map +1 -1
- package/dist/src/components/layout/auth-layout/AuthLinksRow.component.d.ts +5 -0
- package/dist/src/components/layout/auth-layout/AuthLinksRow.component.d.ts.map +1 -0
- package/dist/src/components/layout/auth-layout/AuthLinksRow.types.d.ts +11 -0
- package/dist/src/components/layout/auth-layout/AuthLinksRow.types.d.ts.map +1 -0
- package/dist/src/components/layout/container/Container.component.d.ts +1 -1
- package/dist/src/components/layout/container/Container.component.d.ts.map +1 -1
- package/dist/src/components/layout/container/Container.types.d.ts +7 -2
- package/dist/src/components/layout/container/Container.types.d.ts.map +1 -1
- package/dist/src/components/layout/divider/Divider.component.d.ts +1 -1
- package/dist/src/components/layout/divider/Divider.component.d.ts.map +1 -1
- package/dist/src/components/layout/divider/Divider.styles.d.ts +3 -0
- package/dist/src/components/layout/divider/Divider.styles.d.ts.map +1 -1
- package/dist/src/components/layout/divider/Divider.types.d.ts +4 -1
- package/dist/src/components/layout/divider/Divider.types.d.ts.map +1 -1
- package/dist/src/components/layout/grid/Grid.component.d.ts +1 -1
- package/dist/src/components/layout/grid/Grid.component.d.ts.map +1 -1
- package/dist/src/components/layout/grid/Grid.types.d.ts +13 -4
- package/dist/src/components/layout/grid/Grid.types.d.ts.map +1 -1
- package/dist/src/components/layout/simple-header/SimpleHeader.component.d.ts +5 -0
- package/dist/src/components/layout/simple-header/SimpleHeader.component.d.ts.map +1 -0
- package/dist/src/components/layout/simple-header/SimpleHeader.types.d.ts +14 -0
- package/dist/src/components/layout/simple-header/SimpleHeader.types.d.ts.map +1 -0
- package/dist/src/components/layout/stack/Stack.component.d.ts +1 -1
- package/dist/src/components/layout/stack/Stack.component.d.ts.map +1 -1
- package/dist/src/components/layout/stack/Stack.styles.d.ts +25 -1
- package/dist/src/components/layout/stack/Stack.styles.d.ts.map +1 -1
- package/dist/src/components/layout/stack/Stack.types.d.ts +56 -4
- package/dist/src/components/layout/stack/Stack.types.d.ts.map +1 -1
- package/dist/src/components/navigation/stepper/Stepper.component.d.ts +31 -0
- package/dist/src/components/navigation/stepper/Stepper.component.d.ts.map +1 -0
- package/dist/src/components/navigation/stepper/Stepper.styles.d.ts +23 -0
- package/dist/src/components/navigation/stepper/Stepper.styles.d.ts.map +1 -0
- package/dist/src/components/navigation/stepper/Stepper.types.d.ts +55 -0
- package/dist/src/components/navigation/stepper/Stepper.types.d.ts.map +1 -0
- package/dist/src/index.d.ts +13 -5
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/lib/dev-utils.d.ts.map +1 -1
- package/dist/src/lib/index.d.ts +2 -0
- package/dist/src/lib/index.d.ts.map +1 -1
- package/dist/src/lib/responsive.d.ts +48 -0
- package/dist/src/lib/responsive.d.ts.map +1 -0
- package/dist/src/lib/responsive.spec.d.ts +2 -0
- package/dist/src/lib/responsive.spec.d.ts.map +1 -0
- package/dist/src/stories/demos/CreateAccountStepResponsive.d.ts +52 -0
- package/dist/src/stories/demos/CreateAccountStepResponsive.d.ts.map +1 -0
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -1,20 +1,43 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
|
|
3
3
|
export type AuthLayoutHeaderPosition = 'sticky' | 'relative';
|
|
4
|
-
|
|
4
|
+
/** default = white bg + shadow; transparent = no bg/shadow/border; minimal = no border/outline/focus ring (auth flows) */
|
|
5
|
+
export type AuthLayoutCardVariant = 'default' | 'transparent' | 'minimal';
|
|
5
6
|
export type AuthLayoutCardAlignItems = 'start' | 'stretch';
|
|
6
|
-
|
|
7
|
+
/** When viewport ≤640px: start = items-start justify-start; center = flex center in main */
|
|
8
|
+
export type AuthLayoutMainContentOnMobile = 'start' | 'center';
|
|
9
|
+
/** When viewport ≤640px: default = card as-is; transparent = full-bleed (transparent bg, no shadow/padding) */
|
|
10
|
+
export type AuthLayoutCardOnMobile = 'default' | 'transparent';
|
|
11
|
+
export interface AuthLayoutProps extends Omit<HTMLAttributes<HTMLDivElement>, 'style'> {
|
|
7
12
|
children: ReactNode;
|
|
8
|
-
/**
|
|
13
|
+
/** Optional class for the root wrapper */
|
|
14
|
+
className?: string;
|
|
15
|
+
/** Optional class for the header */
|
|
16
|
+
headerClassName?: string;
|
|
17
|
+
/** Optional class for the main content area */
|
|
18
|
+
mainClassName?: string;
|
|
19
|
+
/** Optional class for the inner main content wrapper (when wrapInCard is false) */
|
|
20
|
+
mainContentClassName?: string;
|
|
21
|
+
/** When true (default), wrap children in the layout card. When false, main is just a centered container and you control the card yourself. */
|
|
22
|
+
wrapInCard?: boolean;
|
|
23
|
+
/** Preset card width; ignored when cardMaxWidth is set or wrapInCard is false */
|
|
9
24
|
cardSize?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'auto';
|
|
10
|
-
/** Override card max width (e.g. '37.5rem', '76.5rem') for step-based
|
|
25
|
+
/** Override card max width (e.g. '37.5rem', '76.5rem') for step-based auth steps */
|
|
11
26
|
cardMaxWidth?: string;
|
|
12
|
-
/** Card appearance: default (white bg, shadow)
|
|
27
|
+
/** Card appearance: default (white bg, shadow), transparent (no bg/shadow/border), minimal (no border/outline/focus) */
|
|
13
28
|
cardVariant?: AuthLayoutCardVariant;
|
|
14
|
-
/** Card/main content alignment: start (default) or stretch
|
|
29
|
+
/** Card/main content alignment: start (default) or stretch */
|
|
15
30
|
cardAlignItems?: AuthLayoutCardAlignItems;
|
|
16
|
-
/** Header position: sticky (default) or relative
|
|
31
|
+
/** Header position: sticky (default) or relative */
|
|
17
32
|
headerPosition?: AuthLayoutHeaderPosition;
|
|
33
|
+
/** When true and viewport ≤640px: header relative, logo absolutely centered */
|
|
34
|
+
logoCenterOnMobile?: boolean;
|
|
35
|
+
/** When viewport ≤640px: main content alignment (start | center); only when wrapInCard is true */
|
|
36
|
+
mainContentOnMobile?: AuthLayoutMainContentOnMobile;
|
|
37
|
+
/** When viewport ≤640px: card style – default or transparent (full-bleed); only when wrapInCard is true */
|
|
38
|
+
cardOnMobile?: AuthLayoutCardOnMobile;
|
|
39
|
+
/** Optional footer row (e.g. AuthLinksRow) rendered below content inside the card; only when wrapInCard is true */
|
|
40
|
+
footerLinks?: ReactNode;
|
|
18
41
|
logo?: ReactNode;
|
|
19
42
|
showSettings?: boolean;
|
|
20
43
|
showUserMenu?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthLayout.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/auth-layout/AuthLayout.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElD,MAAM,MAAM,wBAAwB,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE7D,MAAM,MAAM,qBAAqB,GAAG,SAAS,GAAG,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"AuthLayout.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/auth-layout/AuthLayout.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElD,MAAM,MAAM,wBAAwB,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE7D,0HAA0H;AAC1H,MAAM,MAAM,qBAAqB,GAAG,SAAS,GAAG,aAAa,GAAG,SAAS,CAAC;AAE1E,MAAM,MAAM,wBAAwB,GAAG,OAAO,GAAG,SAAS,CAAC;AAE3D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AM,IAAI,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,UAAU,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AuthLinksRowProps } from './AuthLinksRow.types';
|
|
2
|
+
|
|
3
|
+
export type { AuthLinksRowProps } from './AuthLinksRow.types';
|
|
4
|
+
export declare const AuthLinksRow: import('react').ForwardRefExoticComponent<AuthLinksRowProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
//# sourceMappingURL=AuthLinksRow.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthLinksRow.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/auth-layout/AuthLinksRow.component.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAK9D,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,eAAO,MAAM,YAAY,8GA4BxB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface AuthLinksRowProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/** Content for the start side (e.g. sign up link) */
|
|
5
|
+
left?: ReactNode;
|
|
6
|
+
/** Content for the end side (e.g. forgot password link) */
|
|
7
|
+
right?: ReactNode;
|
|
8
|
+
'data-cy'?: string;
|
|
9
|
+
'data-testid'?: string;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=AuthLinksRow.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthLinksRow.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/auth-layout/AuthLinksRow.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElD,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACvE,qDAAqD;IACrD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,2DAA2D;IAC3D,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ContainerProps } from './Container.types';
|
|
2
2
|
|
|
3
|
-
export type { ContainerProps } from './Container.types';
|
|
3
|
+
export type { ContainerProps, ContainerMaxWidth, ContainerPadding } from './Container.types';
|
|
4
4
|
export declare const Container: import('react').ForwardRefExoticComponent<ContainerProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
5
|
//# sourceMappingURL=Container.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Container.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/container/Container.component.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD,YAAY,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Container.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/container/Container.component.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE7F,eAAO,MAAM,SAAS,2GA6CrB,CAAC"}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { ResponsiveValue } from '../../../lib';
|
|
2
3
|
|
|
4
|
+
export type ContainerMaxWidth = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
5
|
+
export type ContainerPadding = 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
6
|
export interface ContainerProps extends ComponentPropsWithoutRef<'div'> {
|
|
4
7
|
/** Center container horizontally (mx-auto); set false for start-aligned layout */
|
|
5
8
|
center?: boolean;
|
|
6
|
-
|
|
7
|
-
|
|
9
|
+
/** Max width; use responsive object for different breakpoints (e.g. { base: 'full', md: 'lg' }) */
|
|
10
|
+
maxWidth?: ResponsiveValue<ContainerMaxWidth>;
|
|
11
|
+
/** Horizontal padding; use responsive object for different breakpoints */
|
|
12
|
+
padding?: ResponsiveValue<ContainerPadding>;
|
|
8
13
|
'data-cy'?: string;
|
|
9
14
|
'data-testid'?: string;
|
|
10
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Container.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/container/Container.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Container.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/container/Container.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAE7C,MAAM,MAAM,iBAAiB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AACnE,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAElE,MAAM,WAAW,cAAe,SAAQ,wBAAwB,CAAC,KAAK,CAAC;IACrE,kFAAkF;IAClF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mGAAmG;IACnG,QAAQ,CAAC,EAAE,eAAe,CAAC,iBAAiB,CAAC,CAAC;IAC9C,0EAA0E;IAC1E,OAAO,CAAC,EAAE,eAAe,CAAC,gBAAgB,CAAC,CAAC;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DividerProps } from './Divider.types';
|
|
2
2
|
|
|
3
|
-
export type { DividerProps } from './Divider.types';
|
|
3
|
+
export type { DividerProps, DividerSpacing } from './Divider.types';
|
|
4
4
|
export declare const Divider: import('react').ForwardRefExoticComponent<DividerProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
5
|
//# sourceMappingURL=Divider.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Divider.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/divider/Divider.component.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"Divider.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/divider/Divider.component.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAQpD,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEpE,eAAO,MAAM,OAAO,yGAuCnB,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export declare const baseStyles = "bg-[var(--color-border)] shrink-0";
|
|
2
2
|
export declare const orientationStyles: Record<'horizontal' | 'vertical', string>;
|
|
3
3
|
export declare const spacingStyles: Record<string, Record<'horizontal' | 'vertical', string>>;
|
|
4
|
+
/** Flat maps for getResponsiveClasses (spacing per orientation) */
|
|
5
|
+
export declare const spacingHorizontalMap: Record<string, string>;
|
|
6
|
+
export declare const spacingVerticalMap: Record<string, string>;
|
|
4
7
|
//# sourceMappingURL=Divider.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Divider.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/divider/Divider.styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,sCAAsC,CAAC;AAE9D,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,YAAY,GAAG,UAAU,EAAE,MAAM,CAGvE,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,CAWnF,CAAC"}
|
|
1
|
+
{"version":3,"file":"Divider.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/divider/Divider.styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,sCAAsC,CAAC;AAE9D,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,YAAY,GAAG,UAAU,EAAE,MAAM,CAGvE,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,CAWnF,CAAC;AAEF,mEAAmE;AACnE,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAWvD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAWrD,CAAC"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { ResponsiveValue } from '../../../lib';
|
|
2
3
|
|
|
4
|
+
export type DividerSpacing = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '8' | '10' | '12';
|
|
3
5
|
export interface DividerProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
6
|
orientation?: 'horizontal' | 'vertical';
|
|
5
7
|
decorative?: boolean;
|
|
6
|
-
|
|
8
|
+
/** Margin around divider; use responsive object for different breakpoints (e.g. { base: '2', md: '6' }) */
|
|
9
|
+
spacing?: ResponsiveValue<DividerSpacing>;
|
|
7
10
|
color?: string;
|
|
8
11
|
'data-cy'?: string;
|
|
9
12
|
'data-testid'?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Divider.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/divider/Divider.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Divider.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/divider/Divider.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAE7C,MAAM,MAAM,cAAc,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,CAAC;AAEzF,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,cAAc,CAAC;IAClE,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,2GAA2G;IAC3G,OAAO,CAAC,EAAE,eAAe,CAAC,cAAc,CAAC,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GridProps } from './Grid.types';
|
|
2
2
|
|
|
3
|
-
export type { GridProps } from './Grid.types';
|
|
3
|
+
export type { GridProps, GridColumns, GridGap, GridAlign, GridJustify } from './Grid.types';
|
|
4
4
|
export declare const Grid: import('react').ForwardRefExoticComponent<GridProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
5
|
//# sourceMappingURL=Grid.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Grid.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/grid/Grid.component.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAW9C,YAAY,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Grid.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/grid/Grid.component.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAW9C,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE5F,eAAO,MAAM,IAAI,sGA+EhB,CAAC"}
|
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { ResponsiveValue } from '../../../lib';
|
|
2
3
|
|
|
4
|
+
export type GridColumns = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 'auto';
|
|
5
|
+
export type GridGap = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '8' | '10' | '12';
|
|
6
|
+
export type GridAlign = 'start' | 'center' | 'end' | 'stretch';
|
|
7
|
+
export type GridJustify = 'start' | 'center' | 'end' | 'stretch';
|
|
3
8
|
export interface GridProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
|
|
9
|
+
/** Number of columns; responsive object supported (e.g. { base: 1, md: 2, lg: 4 }) */
|
|
10
|
+
columns?: ResponsiveValue<GridColumns>;
|
|
5
11
|
rows?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 'auto';
|
|
6
|
-
|
|
12
|
+
/** Gap between items; responsive object supported */
|
|
13
|
+
gap?: ResponsiveValue<GridGap>;
|
|
7
14
|
rowGap?: '0' | '1' | '2' | '3' | '4' | '5' | '6' | '8' | '10' | '12';
|
|
8
15
|
columnGap?: '0' | '1' | '2' | '3' | '4' | '5' | '6' | '8' | '10' | '12';
|
|
9
|
-
|
|
10
|
-
|
|
16
|
+
/** Cross-axis alignment; responsive object supported */
|
|
17
|
+
align?: ResponsiveValue<GridAlign>;
|
|
18
|
+
/** Main-axis justification; responsive object supported */
|
|
19
|
+
justify?: ResponsiveValue<GridJustify>;
|
|
11
20
|
autoFitMinWidth?: string;
|
|
12
21
|
'data-cy'?: string;
|
|
13
22
|
'data-testid'?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Grid.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/grid/Grid.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Grid.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/grid/Grid.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAE7C,MAAM,MAAM,WAAW,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,MAAM,CAAC;AACpF,MAAM,MAAM,OAAO,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,CAAC;AAClF,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC;AAC/D,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC;AAEjE,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC/D,sFAAsF;IACtF,OAAO,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACvC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,MAAM,CAAC;IACjE,qDAAqD;IACrD,GAAG,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,CAAC;IACrE,SAAS,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,CAAC;IACxE,wDAAwD;IACxD,KAAK,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;IACnC,2DAA2D;IAC3D,OAAO,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACvC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SimpleHeaderProps } from './SimpleHeader.types';
|
|
2
|
+
|
|
3
|
+
export type { SimpleHeaderProps } from './SimpleHeader.types';
|
|
4
|
+
export declare const SimpleHeader: import('react').ForwardRefExoticComponent<SimpleHeaderProps & import('react').RefAttributes<HTMLElement>>;
|
|
5
|
+
//# sourceMappingURL=SimpleHeader.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleHeader.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/simple-header/SimpleHeader.component.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,eAAO,MAAM,YAAY,2GAyDxB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface SimpleHeaderProps {
|
|
4
|
+
/** Logo or brand content */
|
|
5
|
+
logo: ReactNode;
|
|
6
|
+
/** Optional right-side content (e.g. menu, actions) */
|
|
7
|
+
right?: ReactNode;
|
|
8
|
+
/** When true: logo centered on viewport ≤640px, left on larger. Default false */
|
|
9
|
+
logoCenterOnMobile?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
'data-cy'?: string;
|
|
12
|
+
'data-testid'?: string;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=SimpleHeader.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleHeader.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/simple-header/SimpleHeader.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,WAAW,iBAAiB;IAChC,4BAA4B;IAC5B,IAAI,EAAE,SAAS,CAAC;IAChB,uDAAuD;IACvD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,iFAAiF;IACjF,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StackProps } from './Stack.types';
|
|
2
2
|
|
|
3
|
-
export type { StackProps } from './Stack.types';
|
|
3
|
+
export type { StackProps, StackDirection, StackAlign, StackJustify, StackSpacing, StackSizePreset, } from './Stack.types';
|
|
4
4
|
export declare const Stack: import('react').ForwardRefExoticComponent<StackProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
5
|
//# sourceMappingURL=Stack.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stack.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/stack/Stack.component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Stack.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/stack/Stack.component.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAkBhD,YAAY,EACV,UAAU,EACV,cAAc,EACd,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,eAAe,GAChB,MAAM,eAAe,CAAC;AAEvB,eAAO,MAAM,KAAK,uGA8MjB,CAAC"}
|
|
@@ -1,5 +1,29 @@
|
|
|
1
|
+
import { StackSpacing, StackSizePreset } from './Stack.types';
|
|
2
|
+
|
|
1
3
|
export declare const directionStyles: Record<'horizontal' | 'vertical', string>;
|
|
2
|
-
export declare const spacingStyles: Record<
|
|
4
|
+
export declare const spacingStyles: Record<StackSpacing, string>;
|
|
5
|
+
export declare const marginStyles: {
|
|
6
|
+
m: Record<StackSpacing, string>;
|
|
7
|
+
mt: Record<StackSpacing, string>;
|
|
8
|
+
mb: Record<StackSpacing, string>;
|
|
9
|
+
ms: Record<StackSpacing, string>;
|
|
10
|
+
me: Record<StackSpacing, string>;
|
|
11
|
+
};
|
|
12
|
+
export declare const paddingStyles: {
|
|
13
|
+
p: Record<StackSpacing, string>;
|
|
14
|
+
pt: Record<StackSpacing, string>;
|
|
15
|
+
pb: Record<StackSpacing, string>;
|
|
16
|
+
ps: Record<StackSpacing, string>;
|
|
17
|
+
pe: Record<StackSpacing, string>;
|
|
18
|
+
};
|
|
19
|
+
export declare const widthPresetStyles: Partial<Record<StackSizePreset, string>>;
|
|
20
|
+
export declare const minWidthPresetStyles: Partial<Record<StackSizePreset, string>>;
|
|
21
|
+
export declare const maxWidthPresetStyles: Partial<Record<StackSizePreset, string>>;
|
|
22
|
+
export declare const heightPresetStyles: Partial<Record<StackSizePreset, string>>;
|
|
23
|
+
export declare const minHeightPresetStyles: Partial<Record<StackSizePreset, string>>;
|
|
24
|
+
export declare const maxHeightPresetStyles: Partial<Record<StackSizePreset, string>>;
|
|
3
25
|
export declare const alignStyles: Record<string, string>;
|
|
4
26
|
export declare const justifyStyles: Record<string, string>;
|
|
27
|
+
export declare function isSpacingToken(v: StackSpacing | string | undefined): v is StackSpacing;
|
|
28
|
+
export declare function isSizePreset(v: StackSizePreset | string | undefined): v is StackSizePreset;
|
|
5
29
|
//# sourceMappingURL=Stack.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stack.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/stack/Stack.styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,YAAY,GAAG,UAAU,EAAE,MAAM,CAGrE,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Stack.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/stack/Stack.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAEnE,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,YAAY,GAAG,UAAU,EAAE,MAAM,CAGrE,CAAC;AAIF,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAatD,CAAC;AAOF,eAAO,MAAM,YAAY;;;;;;CAMxB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;CAMzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAKtE,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAMzE,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAMzE,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAKvE,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAM1E,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAM1E,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAK9C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAMhD,CAAC;AAEF,wBAAgB,cAAc,CAAC,CAAC,EAAE,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,CAAC,IAAI,YAAY,CAEtF;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,eAAe,GAAG,MAAM,GAAG,SAAS,GAAG,CAAC,IAAI,eAAe,CAE1F"}
|
|
@@ -1,11 +1,63 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { ResponsiveValue } from '../../../lib';
|
|
2
3
|
|
|
4
|
+
/** Token-based spacing scale (gap, margin, padding) */
|
|
5
|
+
export type StackSpacing = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '10' | '12' | '14';
|
|
6
|
+
/** Preset for width/height; or CSS value string (e.g. '20rem', '100%') */
|
|
7
|
+
export type StackSizePreset = 'full' | 'screen' | 'auto' | 'fit' | 'min' | 'max';
|
|
8
|
+
export type StackDirection = 'horizontal' | 'vertical';
|
|
9
|
+
export type StackAlign = 'start' | 'center' | 'end' | 'stretch';
|
|
10
|
+
export type StackJustify = 'start' | 'center' | 'end' | 'between' | 'around';
|
|
3
11
|
export interface StackProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
direction
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
12
|
+
/** Flex direction; use responsive object for different breakpoints (e.g. { base: 'vertical', md: 'horizontal' }) */
|
|
13
|
+
direction?: ResponsiveValue<StackDirection>;
|
|
14
|
+
/** Gap between children; responsive object supported */
|
|
15
|
+
spacing?: ResponsiveValue<StackSpacing>;
|
|
16
|
+
/** Cross-axis alignment; responsive object supported */
|
|
17
|
+
align?: ResponsiveValue<StackAlign>;
|
|
18
|
+
/** Main-axis justification; responsive object supported */
|
|
19
|
+
justify?: ResponsiveValue<StackJustify>;
|
|
8
20
|
wrap?: boolean;
|
|
21
|
+
/** Margin (all sides) – token, responsive object (e.g. { base: '4', md: '8' }), or CSS value */
|
|
22
|
+
m?: ResponsiveValue<StackSpacing> | string;
|
|
23
|
+
/** Margin block-start (top in LTR) */
|
|
24
|
+
mt?: ResponsiveValue<StackSpacing> | string;
|
|
25
|
+
/** Margin block-end (bottom in LTR) */
|
|
26
|
+
mb?: ResponsiveValue<StackSpacing> | string;
|
|
27
|
+
/** Margin inline-start (left in LTR) */
|
|
28
|
+
ms?: ResponsiveValue<StackSpacing> | string;
|
|
29
|
+
/** Margin inline-end (right in LTR) */
|
|
30
|
+
me?: ResponsiveValue<StackSpacing> | string;
|
|
31
|
+
/** Margin inline (start + end) */
|
|
32
|
+
mx?: ResponsiveValue<StackSpacing> | string;
|
|
33
|
+
/** Margin block (top + bottom) */
|
|
34
|
+
my?: ResponsiveValue<StackSpacing> | string;
|
|
35
|
+
/** Padding (all sides) – token, responsive object, or CSS value */
|
|
36
|
+
p?: ResponsiveValue<StackSpacing> | string;
|
|
37
|
+
/** Padding block-start */
|
|
38
|
+
pt?: ResponsiveValue<StackSpacing> | string;
|
|
39
|
+
/** Padding block-end */
|
|
40
|
+
pb?: ResponsiveValue<StackSpacing> | string;
|
|
41
|
+
/** Padding inline-start */
|
|
42
|
+
ps?: ResponsiveValue<StackSpacing> | string;
|
|
43
|
+
/** Padding inline-end */
|
|
44
|
+
pe?: ResponsiveValue<StackSpacing> | string;
|
|
45
|
+
/** Padding inline (start + end) */
|
|
46
|
+
px?: ResponsiveValue<StackSpacing> | string;
|
|
47
|
+
/** Padding block (top + bottom) */
|
|
48
|
+
py?: ResponsiveValue<StackSpacing> | string;
|
|
49
|
+
/** Width – preset, responsive object (e.g. { base: 'full', md: '37.5rem' }), or CSS value */
|
|
50
|
+
width?: ResponsiveValue<StackSizePreset | string>;
|
|
51
|
+
/** Min-width – preset, responsive object, or CSS value */
|
|
52
|
+
minWidth?: ResponsiveValue<StackSizePreset | string>;
|
|
53
|
+
/** Max-width – preset, responsive object, or CSS value */
|
|
54
|
+
maxWidth?: ResponsiveValue<StackSizePreset | string>;
|
|
55
|
+
/** Height – preset, responsive object, or CSS value */
|
|
56
|
+
height?: ResponsiveValue<StackSizePreset | string>;
|
|
57
|
+
/** Min-height – preset, responsive object, or CSS value */
|
|
58
|
+
minHeight?: ResponsiveValue<StackSizePreset | string>;
|
|
59
|
+
/** Max-height – preset, responsive object, or CSS value */
|
|
60
|
+
maxHeight?: ResponsiveValue<StackSizePreset | string>;
|
|
9
61
|
'data-cy'?: string;
|
|
10
62
|
'data-testid'?: string;
|
|
11
63
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stack.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/stack/Stack.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Stack.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/stack/Stack.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,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,eAAe,CAAC,eAAe,GAAG,MAAM,CAAC,CAAC;IACtD,2DAA2D;IAC3D,SAAS,CAAC,EAAE,eAAe,CAAC,eAAe,GAAG,MAAM,CAAC,CAAC;IAEtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { StepperProps } from './Stepper.types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Stepper - Multi-step progress indicator
|
|
5
|
+
*
|
|
6
|
+
* A stepper component that displays a series of steps with visual indicators
|
|
7
|
+
* for the current, completed, and upcoming steps.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* import { Stepper } from '@adam-milo/ui';
|
|
12
|
+
* import { useState } from 'react';
|
|
13
|
+
*
|
|
14
|
+
* const steps = [
|
|
15
|
+
* { id: '1', label: 'Position details' },
|
|
16
|
+
* { id: '2', label: 'Job selection' },
|
|
17
|
+
* { id: '3', label: 'Done' },
|
|
18
|
+
* ];
|
|
19
|
+
*
|
|
20
|
+
* const [currentStep, setCurrentStep] = useState(0);
|
|
21
|
+
*
|
|
22
|
+
* <Stepper
|
|
23
|
+
* steps={steps}
|
|
24
|
+
* currentStep={currentStep}
|
|
25
|
+
* onChange={setCurrentStep}
|
|
26
|
+
* />
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare const Stepper: import('react').ForwardRefExoticComponent<StepperProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
30
|
+
export type { StepperProps, Step } from './Stepper.types';
|
|
31
|
+
//# sourceMappingURL=Stepper.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stepper.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/navigation/stepper/Stepper.component.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAqC,MAAM,iBAAiB,CAAC;AA8JvF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,OAAO,yGAuEnB,CAAC;AAIF,YAAY,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Stepper Component Styles
|
|
3
|
+
* Uses design tokens from @adam-milo/tokens
|
|
4
|
+
*/
|
|
5
|
+
export declare const containerStyles: string;
|
|
6
|
+
export declare const stepItemContainerStyles: string;
|
|
7
|
+
export declare const stepCircleBaseStyles: string;
|
|
8
|
+
export declare const stepCircleRestStyles: string;
|
|
9
|
+
export declare const stepCircleHoverStyles: string;
|
|
10
|
+
export declare const stepCircleSelectedStyles: string;
|
|
11
|
+
export declare const stepCircleSelectedHoverStyles: string;
|
|
12
|
+
export declare const stepCircleDisabledStyles: string;
|
|
13
|
+
export declare const stepCircleCompletedStyles: string;
|
|
14
|
+
export declare const stepLabelBaseStyles: string;
|
|
15
|
+
export declare const stepLabelRestStyles: string;
|
|
16
|
+
export declare const stepLabelHoverStyles: string;
|
|
17
|
+
export declare const stepLabelSelectedStyles: string;
|
|
18
|
+
export declare const stepLabelDisabledStyles: string;
|
|
19
|
+
export declare const stepLabelCompletedStyles: string;
|
|
20
|
+
export declare const connectorContainerStyles: string;
|
|
21
|
+
export declare const connectorLineStyles: string;
|
|
22
|
+
export declare const connectorInactiveStyles: string;
|
|
23
|
+
//# sourceMappingURL=Stepper.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stepper.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/navigation/stepper/Stepper.styles.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,eAAO,MAAM,eAAe,QAE3B,CAAC;AAEF,eAAO,MAAM,uBAAuB,QAKzB,CAAC;AAEZ,eAAO,MAAM,oBAAoB,QAUtB,CAAC;AAGZ,eAAO,MAAM,oBAAoB,QAItB,CAAC;AAEZ,eAAO,MAAM,qBAAqB,QAKvB,CAAC;AAEZ,eAAO,MAAM,wBAAwB,QAI1B,CAAC;AAEZ,eAAO,MAAM,6BAA6B,QAM/B,CAAC;AAEZ,eAAO,MAAM,wBAAwB,QAK1B,CAAC;AAEZ,eAAO,MAAM,yBAAyB,QAI3B,CAAC;AAGZ,eAAO,MAAM,mBAAmB,QAOrB,CAAC;AAEZ,eAAO,MAAM,mBAAmB,QAGrB,CAAC;AAEZ,eAAO,MAAM,oBAAoB,QAGtB,CAAC;AAEZ,eAAO,MAAM,uBAAuB,QAGzB,CAAC;AAEZ,eAAO,MAAM,uBAAuB,QAGzB,CAAC;AAEZ,eAAO,MAAM,wBAAwB,QAG1B,CAAC;AAGZ,eAAO,MAAM,wBAAwB,QAK1B,CAAC;AAEZ,eAAO,MAAM,mBAAmB,QAIrB,CAAC;AAEZ,eAAO,MAAM,uBAAuB,QAEzB,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface Step {
|
|
4
|
+
/** Unique identifier for the step */
|
|
5
|
+
id: string;
|
|
6
|
+
/** Step label text */
|
|
7
|
+
label: string;
|
|
8
|
+
/** Optional description or additional info */
|
|
9
|
+
description?: string;
|
|
10
|
+
/** Whether this step is disabled */
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface StepperProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
14
|
+
/** Array of steps to display */
|
|
15
|
+
steps: Step[];
|
|
16
|
+
/** Current active step index (0-based) */
|
|
17
|
+
currentStep: number;
|
|
18
|
+
/** Callback when a step is clicked */
|
|
19
|
+
onChange?: (stepIndex: number) => void;
|
|
20
|
+
/** Allow clicking on any step to navigate forward or backward (default: true) */
|
|
21
|
+
allowStepNavigation?: boolean;
|
|
22
|
+
/** Show connector lines between steps */
|
|
23
|
+
showConnector?: boolean;
|
|
24
|
+
/** Custom data-cy attribute */
|
|
25
|
+
'data-cy'?: string;
|
|
26
|
+
/** Custom data-testid attribute */
|
|
27
|
+
'data-testid'?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface StepItemProps {
|
|
30
|
+
/** Step number (1-based for display) */
|
|
31
|
+
stepNumber: number;
|
|
32
|
+
/** Step label */
|
|
33
|
+
label: string;
|
|
34
|
+
/** Whether this step is the current active step */
|
|
35
|
+
isActive: boolean;
|
|
36
|
+
/** Whether this step is completed */
|
|
37
|
+
isCompleted: boolean;
|
|
38
|
+
/** Whether this step is disabled */
|
|
39
|
+
isDisabled: boolean;
|
|
40
|
+
/** Whether this step can be clicked */
|
|
41
|
+
isClickable: boolean;
|
|
42
|
+
/** Click handler */
|
|
43
|
+
onClick?: () => void;
|
|
44
|
+
/** Custom data-cy attribute */
|
|
45
|
+
'data-cy'?: string;
|
|
46
|
+
/** Custom data-testid attribute */
|
|
47
|
+
'data-testid'?: string;
|
|
48
|
+
}
|
|
49
|
+
export interface StepConnectorProps {
|
|
50
|
+
/** Custom data-cy attribute */
|
|
51
|
+
'data-cy'?: string;
|
|
52
|
+
/** Custom data-testid attribute */
|
|
53
|
+
'data-testid'?: string;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=Stepper.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stepper.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/navigation/stepper/Stepper.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,IAAI;IACnB,qCAAqC;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,sBAAsB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,8CAA8C;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACpF,gCAAgC;IAChC,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,0CAA0C;IAC1C,WAAW,EAAE,MAAM,CAAC;IACpB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,iFAAiF;IACjF,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,yCAAyC;IACzC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mCAAmC;IACnC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,aAAa;IAC5B,wCAAwC;IACxC,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,QAAQ,EAAE,OAAO,CAAC;IAClB,qCAAqC;IACrC,WAAW,EAAE,OAAO,CAAC;IACrB,oCAAoC;IACpC,UAAU,EAAE,OAAO,CAAC;IACpB,uCAAuC;IACvC,WAAW,EAAE,OAAO,CAAC;IACrB,oBAAoB;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mCAAmC;IACnC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,kBAAkB;IACjC,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mCAAmC;IACnC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ export type { OTPInputProps, OTPInputRef } from './components/forms/otp-input/OT
|
|
|
28
28
|
export { Toggle } from './components/forms/toggle/Toggle.component';
|
|
29
29
|
export type { ToggleProps } from './components/forms/toggle/Toggle.component';
|
|
30
30
|
export { Tabs, TabsList, TabsTrigger, TabsContent, } from './components/navigation/tabs/Tabs.component';
|
|
31
|
+
export { Stepper } from './components/navigation/stepper/Stepper.component';
|
|
32
|
+
export type { StepperProps, Step } from './components/navigation/stepper/Stepper.component';
|
|
31
33
|
export { Alert } from './components/feedback/alert/Alert.component';
|
|
32
34
|
export type { AlertProps } from './components/feedback/alert/Alert.component';
|
|
33
35
|
export { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter, } from './components/data-display/card/Card.component';
|
|
@@ -41,13 +43,18 @@ export type { ChipGroupProps, ChipGroupItem, } from './components/data-display/c
|
|
|
41
43
|
export { Dialog, DialogTrigger, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter, DialogClose, DialogCloseButton, DialogIcon, DialogPortal, DialogOverlay, } from './components/overlays/dialog/Dialog.component';
|
|
42
44
|
export type { DialogOverlayVariant, DialogOverlayProps, DialogContentVariant, DialogContentProps, DialogHeaderProps, DialogTitleProps, DialogDescriptionProps, DialogFooterProps, DialogCloseButtonProps, DialogIconProps, } from './components/overlays/dialog/Dialog.component';
|
|
43
45
|
export { Stack } from './components/layout/stack/Stack.component';
|
|
44
|
-
export type { StackProps } from './components/layout/stack/Stack.component';
|
|
46
|
+
export type { StackProps, StackDirection, StackAlign, StackJustify, StackSpacing, StackSizePreset, } from './components/layout/stack/Stack.component';
|
|
45
47
|
export { Container } from './components/layout/container/Container.component';
|
|
46
|
-
export type { ContainerProps } from './components/layout/container/Container.component';
|
|
48
|
+
export type { ContainerProps, ContainerMaxWidth, ContainerPadding, } from './components/layout/container/Container.component';
|
|
47
49
|
export { Divider } from './components/layout/divider/Divider.component';
|
|
48
|
-
export type { DividerProps } from './components/layout/divider/Divider.component';
|
|
50
|
+
export type { DividerProps, DividerSpacing } from './components/layout/divider/Divider.component';
|
|
49
51
|
export { AuthLayout } from './components/layout/auth-layout/AuthLayout.component';
|
|
50
|
-
export type { AuthLayoutProps } from './components/layout/auth-layout/AuthLayout.
|
|
52
|
+
export type { AuthLayoutProps } from './components/layout/auth-layout/AuthLayout.types';
|
|
53
|
+
export type { AuthLayoutCardVariant, AuthLayoutMainContentOnMobile, AuthLayoutCardOnMobile, } from './components/layout/auth-layout/AuthLayout.types';
|
|
54
|
+
export { AuthLinksRow } from './components/layout/auth-layout/AuthLinksRow.component';
|
|
55
|
+
export type { AuthLinksRowProps } from './components/layout/auth-layout/AuthLinksRow.types';
|
|
56
|
+
export { SimpleHeader } from './components/layout/simple-header/SimpleHeader.component';
|
|
57
|
+
export type { SimpleHeaderProps } from './components/layout/simple-header/SimpleHeader.component';
|
|
51
58
|
export { Grid } from './components/layout/grid/Grid.component';
|
|
52
59
|
export type { GridProps } from './components/layout/grid/Grid.component';
|
|
53
60
|
export { Text } from './components/typography/text/Text.component';
|
|
@@ -60,5 +67,6 @@ export { Spinner } from './components/feedback/spinner/Spinner.component';
|
|
|
60
67
|
export type { SpinnerProps, SpinnerSize, SpinnerColor, SpinnerVariant, } from './components/feedback/spinner/Spinner.component';
|
|
61
68
|
export { AiLoader } from './components/feedback/ai-loader/AiLoader.component';
|
|
62
69
|
export type { AiLoaderProps, AiLoaderSize, } from './components/feedback/ai-loader/AiLoader.component';
|
|
63
|
-
export { cn, generateId } from './lib';
|
|
70
|
+
export { cn, generateId, getResponsiveClasses, getResponsiveBase, getResponsiveSizeClasses, isResponsiveObject, } from './lib';
|
|
71
|
+
export type { ResponsiveValue } from './lib';
|
|
64
72
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAGtB,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACnE,YAAY,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAE7E,OAAO,EAAE,UAAU,EAAE,MAAM,oDAAoD,CAAC;AAChF,YAAY,EAAE,eAAe,EAAE,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