@adam-milo/ui 1.0.42 → 1.0.44
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 +4 -4
- 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/data-display/card/Card.component.d.ts +1 -1
- package/dist/src/components/data-display/card/Card.component.d.ts.map +1 -1
- package/dist/src/components/data-display/card/Card.styles.d.ts +7 -1
- package/dist/src/components/data-display/card/Card.styles.d.ts.map +1 -1
- package/dist/src/components/data-display/card/Card.types.d.ts +3 -0
- package/dist/src/components/data-display/card/Card.types.d.ts.map +1 -1
- 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 +20 -5
- 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 +36 -1
- 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 +9 -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/components/navigation/tabs/Tabs.component.d.ts.map +1 -1
- package/dist/src/components/navigation/tabs/Tabs.styles.d.ts +1 -0
- package/dist/src/components/navigation/tabs/Tabs.styles.d.ts.map +1 -1
- package/dist/src/components/navigation/tabs/Tabs.types.d.ts +2 -0
- package/dist/src/components/navigation/tabs/Tabs.types.d.ts.map +1 -1
- package/dist/src/components/overlays/dialog/Dialog.component.d.ts +1 -1
- package/dist/src/components/overlays/dialog/Dialog.component.d.ts.map +1 -1
- package/dist/src/components/overlays/dialog/Dialog.styles.d.ts +3 -0
- package/dist/src/components/overlays/dialog/Dialog.styles.d.ts.map +1 -1
- package/dist/src/components/overlays/dialog/Dialog.types.d.ts +3 -0
- package/dist/src/components/overlays/dialog/Dialog.types.d.ts.map +1 -1
- package/dist/src/index.d.ts +15 -7
- 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
|
@@ -21,5 +21,5 @@ export declare const DialogFooter: {
|
|
|
21
21
|
};
|
|
22
22
|
export declare const DialogTitle: import('react').ForwardRefExoticComponent<DialogTitleProps & import('react').RefAttributes<HTMLHeadingElement>>;
|
|
23
23
|
export declare const DialogDescription: import('react').ForwardRefExoticComponent<DialogDescriptionProps & import('react').RefAttributes<HTMLParagraphElement>>;
|
|
24
|
-
export type { DialogCloseButtonProps,
|
|
24
|
+
export type { DialogCloseButtonProps, DialogContentVariant, DialogContentProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogIconProps, DialogOverlayVariant, DialogOverlayProps, DialogTitleProps, } from './Dialog.types';
|
|
25
25
|
//# sourceMappingURL=Dialog.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/overlays/dialog/Dialog.component.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAG1D,OAAO,KAAK,EACV,sBAAsB,EACtB,eAAe,EACf,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"Dialog.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/overlays/dialog/Dialog.component.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAG1D,OAAO,KAAK,EACV,sBAAsB,EACtB,eAAe,EACf,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,gBAAgB,CAAC;AAkBxB,eAAO,MAAM,MAAM,iDAAuB,CAAC;AAE3C,eAAO,MAAM,aAAa,kIAA0B,CAAC;AAErD,eAAO,MAAM,YAAY,uDAAyB,CAAC;AAEnD,eAAO,MAAM,WAAW,gIAAwB,CAAC;AAEjD,eAAO,MAAM,iBAAiB,sHAmB5B,CAAC;AAGH,eAAO,MAAM,UAAU;+FAOpB,eAAe;;CAejB,CAAC;AAGF,eAAO,MAAM,aAAa,+GAqBzB,CAAC;AAGF,eAAO,MAAM,aAAa,+GA8CzB,CAAC;AAGF,eAAO,MAAM,YAAY;sFAMtB,iBAAiB;;CAYnB,CAAC;AAGF,eAAO,MAAM,YAAY;4EAKtB,iBAAiB;;CAYnB,CAAC;AAGF,eAAO,MAAM,WAAW,iHAevB,CAAC;AAGF,eAAO,MAAM,iBAAiB,yHAgB5B,CAAC;AAGH,YAAY,EACV,sBAAsB,EACtB,oBAAoB,EACpB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,gBAAgB,CAAC"}
|
|
@@ -11,7 +11,10 @@ export declare const iconRootStyles = "flex items-center justify-center self-cen
|
|
|
11
11
|
export declare const overlayBgStyles: Record<DialogOverlayVariant, string>;
|
|
12
12
|
export declare const overlayRootStyles: string;
|
|
13
13
|
export declare const contentWrapperStyles = "fixed inset-0 z-50 flex items-center justify-center p-4 pointer-events-none";
|
|
14
|
+
/** Remove wrapper padding on mobile so verify variant can be edge-to-edge */
|
|
15
|
+
export declare const contentWrapperVerifyMobileStyles = "max-sm:p-0";
|
|
14
16
|
export declare const contentStyles: string;
|
|
17
|
+
export declare const contentVariantVerifyStyles: string;
|
|
15
18
|
export declare const headerStyles = "flex flex-col gap-4 w-full text-center sm:text-start";
|
|
16
19
|
export declare const headerCenteredStyles = "text-center items-center sm:text-center sm:items-center";
|
|
17
20
|
export declare const footerStyles = "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end sm:gap-2";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/overlays/dialog/Dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE3D,eAAO,MAAM,iBAAiB,ubACwZ,CAAC;AAEvb,eAAO,MAAM,gBAAgB;;;;;CAKnB,CAAC;AAEX,eAAO,MAAM,cAAc,oIACwG,CAAC;AAEpI,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,oBAAoB,EAAE,MAAM,CAIhE,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAInB,CAAC;AAEZ,eAAO,MAAM,oBAAoB,gFAC8C,CAAC;AAEhF,eAAO,MAAM,aAAa,QAWf,CAAC;AAEZ,eAAO,MAAM,YAAY,yDAAyD,CAAC;AACnF,eAAO,MAAM,oBAAoB,4DAA4D,CAAC;AAE9F,eAAO,MAAM,YAAY,oEAAoE,CAAC;AAE9F,eAAO,MAAM,WAAW,6GACoF,CAAC;AAE7G,eAAO,MAAM,iBAAiB,uHACwF,CAAC"}
|
|
1
|
+
{"version":3,"file":"Dialog.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/overlays/dialog/Dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE3D,eAAO,MAAM,iBAAiB,ubACwZ,CAAC;AAEvb,eAAO,MAAM,gBAAgB;;;;;CAKnB,CAAC;AAEX,eAAO,MAAM,cAAc,oIACwG,CAAC;AAEpI,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,oBAAoB,EAAE,MAAM,CAIhE,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAInB,CAAC;AAEZ,eAAO,MAAM,oBAAoB,gFAC8C,CAAC;AAEhF,6EAA6E;AAC7E,eAAO,MAAM,gCAAgC,eAAe,CAAC;AAE7D,eAAO,MAAM,aAAa,QAWf,CAAC;AAEZ,eAAO,MAAM,0BAA0B,QAO5B,CAAC;AAEZ,eAAO,MAAM,YAAY,yDAAyD,CAAC;AACnF,eAAO,MAAM,oBAAoB,4DAA4D,CAAC;AAE9F,eAAO,MAAM,YAAY,oEAAoE,CAAC;AAE9F,eAAO,MAAM,WAAW,6GACoF,CAAC;AAE7G,eAAO,MAAM,iBAAiB,uHACwF,CAAC"}
|
|
@@ -16,7 +16,10 @@ export interface DialogOverlayProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
16
16
|
'data-cy'?: string;
|
|
17
17
|
'data-testid'?: string;
|
|
18
18
|
}
|
|
19
|
+
export type DialogContentVariant = 'default' | 'verify';
|
|
19
20
|
export interface DialogContentProps extends Omit<HTMLAttributes<HTMLDivElement>, 'overlayVariant'> {
|
|
21
|
+
/** Compact verify modal: fixed max-height, gap 1.5rem, full height on mobile with custom margin/padding */
|
|
22
|
+
contentVariant?: DialogContentVariant;
|
|
20
23
|
overlayVariant?: DialogOverlayVariant;
|
|
21
24
|
'data-cy'?: string;
|
|
22
25
|
'data-testid'?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/overlays/dialog/Dialog.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,SAAS,EA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AoB,CAAC;IACtC,cAAc,CAAC,EAAE,oBAAoB,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC7E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,kBAAkB,CAAC;IAC1E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,sBAAuB,SAAQ,cAAc,CAAC,oBAAoB,CAAC;IAClF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -28,10 +28,12 @@ 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';
|
|
34
|
-
export type { CardProps, CardHeaderProps, CardTitleProps, CardDescriptionProps, CardContentProps, CardFooterProps, } from './components/data-display/card/Card.component';
|
|
36
|
+
export type { CardFooterAlign, CardProps, CardHeaderProps, CardTitleProps, CardDescriptionProps, CardContentProps, CardFooterProps, } from './components/data-display/card/Card.component';
|
|
35
37
|
export { DataTable } from './components/data-display/datatable/DataTable.component';
|
|
36
38
|
export type { DataTableProps, DataTableColumn, } from './components/data-display/datatable/DataTable.component';
|
|
37
39
|
export { Chip } from './components/data-display/chip/Chip.component';
|
|
@@ -39,15 +41,20 @@ export type { ChipProps } from './components/data-display/chip/Chip.component';
|
|
|
39
41
|
export { ChipGroup } from './components/data-display/chip-group/ChipGroup.component';
|
|
40
42
|
export type { ChipGroupProps, ChipGroupItem, } from './components/data-display/chip-group/ChipGroup.component';
|
|
41
43
|
export { Dialog, DialogTrigger, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter, DialogClose, DialogCloseButton, DialogIcon, DialogPortal, DialogOverlay, } from './components/overlays/dialog/Dialog.component';
|
|
42
|
-
export type { DialogOverlayVariant, DialogOverlayProps, DialogContentProps, DialogHeaderProps, DialogTitleProps, DialogDescriptionProps, DialogFooterProps, DialogCloseButtonProps, DialogIconProps, } from './components/overlays/dialog/Dialog.component';
|
|
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.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AAE,KAAG,
|
|
1
|
+
{"version":3,"file":"dev-utils.d.ts","sourceRoot":"","sources":["../../../src/lib/dev-utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;;;;;;;;;GAUG;AACH,eAAO,MAAM,OAAO,GAAI,SAAS,MAAM,KAAG,IAIzC,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,QAAQ,GAAI,SAAS,MAAM,KAAG,IAI1C,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,MAAM,GAAI,SAAS,MAAM,EAAE,GAAG,MAAM,OAAO,EAAE,KAAG,IAK5D,CAAC"}
|
package/dist/src/lib/index.d.ts
CHANGED
|
@@ -16,4 +16,6 @@ export declare function generateId(prefix?: string): string;
|
|
|
16
16
|
export { devWarn, devError, devLog } from './dev-utils';
|
|
17
17
|
export { debounce } from './debounce';
|
|
18
18
|
export { useMergedRef } from './useMergedRef';
|
|
19
|
+
export type { ResponsiveValue } from './responsive';
|
|
20
|
+
export { getResponsiveClasses, getResponsiveBase, getResponsiveSizeClasses, isResponsiveObject, } from './responsive';
|
|
19
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C;;;;;;;;;;GAUG;AACH,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAElD;AAMD,wBAAgB,UAAU,CAAC,MAAM,SAAO,GAAG,MAAM,CAGhD;AAGD,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAExD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C;;;;;;;;;;GAUG;AACH,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAElD;AAMD,wBAAgB,UAAU,CAAC,MAAM,SAAO,GAAG,MAAM,CAGhD;AAGD,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAExD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,GACnB,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Responsive value: either a single value (all breakpoints) or an object
|
|
3
|
+
* with optional base/sm/md/lg/xl keys (mobile-first).
|
|
4
|
+
* Use `base` for the default (smallest) breakpoint; larger breakpoints override.
|
|
5
|
+
*/
|
|
6
|
+
export type ResponsiveValue<T> = T | {
|
|
7
|
+
base?: T;
|
|
8
|
+
sm?: T;
|
|
9
|
+
md?: T;
|
|
10
|
+
lg?: T;
|
|
11
|
+
xl?: T;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Type guard: true when value is a responsive object (base/sm/md/lg/xl), not a scalar.
|
|
15
|
+
*/
|
|
16
|
+
export declare function isResponsiveObject<T>(value: ResponsiveValue<T>): value is {
|
|
17
|
+
base?: T;
|
|
18
|
+
sm?: T;
|
|
19
|
+
md?: T;
|
|
20
|
+
lg?: T;
|
|
21
|
+
xl?: T;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Builds responsive Tailwind classes from a ResponsiveValue and a value-to-class map.
|
|
25
|
+
* Produces the minimal set of classes (e.g. flex-col md:flex-row) so each breakpoint
|
|
26
|
+
* has the correct style without redundancy.
|
|
27
|
+
*
|
|
28
|
+
* @param value - Single value or { base?, sm?, md?, lg?, xl? }
|
|
29
|
+
* @param valueMap - Map from value to Tailwind class(es) string
|
|
30
|
+
* @returns Array of class strings to merge into className
|
|
31
|
+
*/
|
|
32
|
+
export declare function getResponsiveClasses<T extends string>(value: ResponsiveValue<T> | undefined, valueMap: Record<T, string>): string[];
|
|
33
|
+
/**
|
|
34
|
+
* Returns the effective value at the base (smallest) breakpoint.
|
|
35
|
+
* When base is omitted, returns the first defined key in order (base, sm, md, lg, xl).
|
|
36
|
+
* Use for data-cy, data-testid, or when a single "default" value is needed.
|
|
37
|
+
*/
|
|
38
|
+
export declare function getResponsiveBase<T>(value: ResponsiveValue<T> | undefined): T | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Builds responsive Tailwind classes for size props (width, minWidth, maxWidth, height, etc.).
|
|
41
|
+
* Preset values use the map; custom CSS strings (e.g. '37.5rem') become Tailwind arbitrary classes.
|
|
42
|
+
*
|
|
43
|
+
* @param value - Single preset/string or { base?, sm?, md?, lg?, xl? }
|
|
44
|
+
* @param presetMap - Map from preset to class (e.g. full -> 'max-w-full')
|
|
45
|
+
* @param arbitraryPrefix - Tailwind utility prefix for custom values (e.g. 'max-w-' -> max-w-[37.5rem])
|
|
46
|
+
*/
|
|
47
|
+
export declare function getResponsiveSizeClasses<T extends string>(value: ResponsiveValue<T | string> | undefined, presetMap: Partial<Record<T, string>>, arbitraryPrefix: string): string[];
|
|
48
|
+
//# sourceMappingURL=responsive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsive.d.ts","sourceRoot":"","sources":["../../../src/lib/responsive.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,eAAe,CAAC,CAAC,IACzB,CAAC,GACD;IACE,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,EAAE,CAAC,EAAE,CAAC,CAAC;CACR,CAAC;AAcN;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAClC,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,GACxB,KAAK,IAAI;IAAE,IAAI,CAAC,EAAE,CAAC,CAAC;IAAC,EAAE,CAAC,EAAE,CAAC,CAAC;IAAC,EAAE,CAAC,EAAE,CAAC,CAAC;IAAC,EAAE,CAAC,EAAE,CAAC,CAAC;IAAC,EAAE,CAAC,EAAE,CAAC,CAAA;CAAE,CAEvD;AAgBD;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,MAAM,EACnD,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,GAAG,SAAS,EACrC,QAAQ,EAAE,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,GAC1B,MAAM,EAAE,CAyBV;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,GAAG,SAAS,GAAG,CAAC,GAAG,SAAS,CAQzF;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CAAC,CAAC,SAAS,MAAM,EACvD,KAAK,EAAE,eAAe,CAAC,CAAC,GAAG,MAAM,CAAC,GAAG,SAAS,EAC9C,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,EACrC,eAAe,EAAE,MAAM,GACtB,MAAM,EAAE,CA8BV"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsive.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/responsive.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface CreateAccountStepResponsiveProps {
|
|
4
|
+
/** Primary heading */
|
|
5
|
+
heading: string;
|
|
6
|
+
/** Email value */
|
|
7
|
+
email: string;
|
|
8
|
+
/** Email change handler */
|
|
9
|
+
onEmailChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
10
|
+
/** Password value */
|
|
11
|
+
password: string;
|
|
12
|
+
/** Password change handler */
|
|
13
|
+
onPasswordChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
14
|
+
/** Form valid (e.g. email includes @, password length >= 6) */
|
|
15
|
+
isValid?: boolean;
|
|
16
|
+
/** Submit handler */
|
|
17
|
+
onSubmit: () => void;
|
|
18
|
+
/** Disable inputs/button (e.g. when modal open) */
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/** Login link click (e.g. navigate to login) */
|
|
21
|
+
onLoginClick?: (e: React.MouseEvent) => void;
|
|
22
|
+
/** Login link href */
|
|
23
|
+
loginHref?: string;
|
|
24
|
+
/** Terms link href */
|
|
25
|
+
termsHref?: string;
|
|
26
|
+
/** Privacy link href */
|
|
27
|
+
privacyHref?: string;
|
|
28
|
+
/** Labels/placeholders – override for i18n */
|
|
29
|
+
labels?: {
|
|
30
|
+
email?: string;
|
|
31
|
+
emailPlaceholder?: string;
|
|
32
|
+
emailTooltip?: string;
|
|
33
|
+
password?: string;
|
|
34
|
+
passwordPlaceholder?: string;
|
|
35
|
+
passwordTooltip?: string;
|
|
36
|
+
createButton?: string;
|
|
37
|
+
termsPrefix?: string;
|
|
38
|
+
terms?: string;
|
|
39
|
+
separator?: string;
|
|
40
|
+
privacy?: string;
|
|
41
|
+
haveAccount?: string;
|
|
42
|
+
login?: string;
|
|
43
|
+
};
|
|
44
|
+
'data-cy'?: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* One component for both mobile and desktop. Layout is controlled by Stack responsive props:
|
|
48
|
+
* - Mobile (≤640px): column, space-between, centered, custom padding/min-height via Tailwind
|
|
49
|
+
* - Desktop: column, start, gap 2rem, stretch
|
|
50
|
+
*/
|
|
51
|
+
export declare function CreateAccountStepResponsive({ heading, email, onEmailChange, password, onPasswordChange, isValid, onSubmit, disabled, onLoginClick, loginHref, termsHref, privacyHref, labels: labelsProp, 'data-cy': dataCy, }: CreateAccountStepResponsiveProps): import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
//# sourceMappingURL=CreateAccountStepResponsive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateAccountStepResponsive.d.ts","sourceRoot":"","sources":["../../../../src/stories/demos/CreateAccountStepResponsive.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,MAAM,WAAW,gCAAgC;IAC/C,sBAAsB;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,kBAAkB;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,2BAA2B;IAC3B,aAAa,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAChE,qBAAqB;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,8BAA8B;IAC9B,gBAAgB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACnE,+DAA+D;IAC/D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qBAAqB;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gDAAgD;IAChD,YAAY,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAC7C,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wBAAwB;IACxB,WAAW,CAAC,EAAE,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