lucent-ui 0.30.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +78 -42
- package/dist/index.d.ts +34 -0
- package/dist/index.js +1347 -1041
- package/dist-cli/cli/entry.js +0 -0
- package/dist-cli/cli/index.js +0 -0
- package/dist-server/server/index.js +29 -29
- package/dist-server/server/pattern-registry.js +18 -0
- package/dist-server/src/components/molecules/Card/Card.manifest.js +2 -2
- package/dist-server/src/components/molecules/Collapsible/Collapsible.manifest.js +4 -4
- package/dist-server/src/components/molecules/Stepper/Stepper.manifest.js +115 -0
- package/dist-server/src/manifest/{recipes/action-bar.recipe.js → patterns/action-bar.pattern.js} +1 -1
- package/dist-server/src/manifest/{recipes/collapsible-card.recipe.js → patterns/collapsible-card.pattern.js} +1 -1
- package/dist-server/src/manifest/patterns/dashboard-header.pattern.js +98 -0
- package/dist-server/src/manifest/{recipes/empty-state-card.recipe.js → patterns/empty-state-card.pattern.js} +1 -1
- package/dist-server/src/manifest/{recipes/form-layout.recipe.js → patterns/form-layout.pattern.js} +1 -1
- package/dist-server/src/manifest/patterns/index.js +12 -0
- package/dist-server/src/manifest/patterns/notification-feed.pattern.js +91 -0
- package/dist-server/src/manifest/patterns/onboarding-flow.pattern.js +107 -0
- package/dist-server/src/manifest/patterns/pricing-table.pattern.js +108 -0
- package/dist-server/src/manifest/{recipes/profile-card.recipe.js → patterns/profile-card.pattern.js} +1 -1
- package/dist-server/src/manifest/{recipes/search-filter-bar.recipe.js → patterns/search-filter-bar.pattern.js} +1 -1
- package/dist-server/src/manifest/{recipes/settings-panel.recipe.js → patterns/settings-panel.pattern.js} +1 -1
- package/dist-server/src/manifest/{recipes/stats-row.recipe.js → patterns/stats-row.pattern.js} +1 -1
- package/package.json +13 -15
- package/dist-server/server/recipe-registry.js +0 -18
- package/dist-server/src/manifest/recipes/index.js +0 -8
- package/dist-server/src/manifest/validate.test.js +0 -28
package/dist/index.d.ts
CHANGED
|
@@ -1702,6 +1702,40 @@ export declare interface StackProps {
|
|
|
1702
1702
|
'aria-labelledby'?: string;
|
|
1703
1703
|
}
|
|
1704
1704
|
|
|
1705
|
+
export declare interface StepDef {
|
|
1706
|
+
/** Step label */
|
|
1707
|
+
label: string;
|
|
1708
|
+
/** Optional description shown below the label */
|
|
1709
|
+
description?: string;
|
|
1710
|
+
/** Optional custom icon for the circle (overrides number/checkmark) */
|
|
1711
|
+
icon?: ReactNode;
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
export declare function Stepper({ steps, current, size, orientation, numbered, showStatus, style, }: StepperProps): JSX_2.Element;
|
|
1715
|
+
|
|
1716
|
+
export declare const StepperManifest: ComponentManifest;
|
|
1717
|
+
|
|
1718
|
+
export declare type StepperOrientation = 'horizontal' | 'vertical';
|
|
1719
|
+
|
|
1720
|
+
export declare interface StepperProps {
|
|
1721
|
+
/** Step labels — strings or objects with label/description/icon */
|
|
1722
|
+
steps: readonly (string | StepDef)[];
|
|
1723
|
+
/** Zero-based index of the current step */
|
|
1724
|
+
current: number;
|
|
1725
|
+
/** Circle and connector sizing */
|
|
1726
|
+
size?: StepperSize;
|
|
1727
|
+
/** Layout direction */
|
|
1728
|
+
orientation?: StepperOrientation;
|
|
1729
|
+
/** Show "STEP N" prefix above labels */
|
|
1730
|
+
numbered?: boolean;
|
|
1731
|
+
/** Show Completed / In Progress / Pending status badges */
|
|
1732
|
+
showStatus?: boolean;
|
|
1733
|
+
/** Inline style overrides for the root container */
|
|
1734
|
+
style?: CSSProperties;
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
export declare type StepperSize = 'sm' | 'md' | 'lg';
|
|
1738
|
+
|
|
1705
1739
|
/**
|
|
1706
1740
|
* Subtle — light mode uses wide, low-opacity diffused shadows.
|
|
1707
1741
|
* Dark mode shifts to "ambient" — an enormous, barely-visible
|