lucent-ui 0.27.2 → 0.28.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.d.ts CHANGED
@@ -113,6 +113,20 @@ export declare type BadgeSize = 'sm' | 'md';
113
113
 
114
114
  export declare type BadgeVariant = 'neutral' | 'success' | 'warning' | 'danger' | 'info' | 'accent';
115
115
 
116
+ /**
117
+ * Modern Bento — the product grid standard.
118
+ * Layered natural shadows, balanced roundness, consistent spacing.
119
+ * Best for feature showcases, data dashboards, SaaS products.
120
+ */
121
+ export declare const bentoPreset: DesignPreset;
122
+
123
+ /**
124
+ * Bloom — dark-mode-native glow aesthetic.
125
+ * Accent-colored ambient glow, generous negative space, large radii.
126
+ * Best for AI interfaces, creative tools, dark-first products (Vercel/Linear style).
127
+ */
128
+ export declare const bloomPreset: DesignPreset;
129
+
116
130
  export declare const brandPalette: ColorPalette;
117
131
 
118
132
  /**
@@ -143,6 +157,26 @@ export declare interface BreadcrumbProps {
143
157
  style?: CSSProperties;
144
158
  }
145
159
 
160
+ /**
161
+ * Neo-Brutalist — the rebel.
162
+ * Hard offset shadows, sharp corners, tight spacing.
163
+ * Best for marketing sites, bold product launches, editorial.
164
+ */
165
+ export declare const brutalistPreset: DesignPreset;
166
+
167
+ /**
168
+ * Neo-Brutalist — thick solid outline + hard offset "block" shadow, 0 blur.
169
+ *
170
+ * Light mode: dark outline ring + accent-tinted offset block.
171
+ * Dark mode: accent-colored outline ring + accent offset block.
172
+ * The outline flips from dark (absorbing) to bright (emitting) —
173
+ * in dark mode the thick border itself becomes the light source,
174
+ * using the accent color instead of black.
175
+ *
176
+ * Uses `color-mix()` and CSS vars so it follows the active accent.
177
+ */
178
+ export declare const brutalistShadow: ShadowPreset;
179
+
146
180
  export declare const Button: ForwardRefExoticComponent<ButtonProps & RefAttributes<HTMLButtonElement>>;
147
181
 
148
182
  export declare function ButtonGroup({ children, style, }: ButtonGroupProps): JSX_2.Element;
@@ -665,6 +699,11 @@ export declare interface DividerProps {
665
699
  style?: CSSProperties;
666
700
  }
667
701
 
702
+ /**
703
+ * Elevated — light mode uses stronger drop shadows for clear lift.
704
+ * Dark mode shifts to "inset glow" — light radiating from inside
705
+ * the element, creating internal luminosity that reads as elevation.
706
+ */
668
707
  export declare const elevatedShadow: ShadowPreset;
669
708
 
670
709
  export declare const emeraldPalette: ColorPalette;
@@ -744,6 +783,16 @@ export declare function getAccentFg(accentHex: string): string;
744
783
  */
745
784
  export declare function getContrastText(hex: string): '#000000' | '#ffffff';
746
785
 
786
+ /**
787
+ * Ambient Glow — accent-colored shadows that make elements appear
788
+ * to emit light. Uses `color-mix()` with `var(--lucent-accent-default)`
789
+ * so the glow automatically follows the active accent color.
790
+ *
791
+ * Particularly effective in dark mode where the glow reads as a
792
+ * bloom / light source against the dark canvas.
793
+ */
794
+ export declare const glowShadow: ShadowPreset;
795
+
747
796
  export declare function Icon({ children, size, label, color, style }: IconProps): JSX_2.Element;
748
797
 
749
798
  export declare const IconManifest: ComponentManifest;
@@ -791,6 +840,23 @@ export declare function isValidPropDescriptor(prop: unknown): prop is PropDescri
791
840
 
792
841
  export declare const lightTokens: LucentTokens;
793
842
 
843
+ /**
844
+ * Liquid Glass — Apple-inspired premium aesthetic.
845
+ * Extreme blur shadows, generous spacing, pill radii.
846
+ * Best for high-end SaaS, floating modals, mobile-first web apps.
847
+ */
848
+ export declare const liquidGlassPreset: DesignPreset;
849
+
850
+ /**
851
+ * Liquid Glass — light mode uses diffused, very large blur drops.
852
+ *
853
+ * Dark mode uses frosted light diffusion — soft white glow with an
854
+ * inner highlight that makes elements appear translucent, as if
855
+ * backlit through frosted glass. Best paired with
856
+ * `backdrop-filter: blur()` on the element.
857
+ */
858
+ export declare const liquidGlassShadow: ShadowPreset;
859
+
794
860
  export declare const LUCENT_UI_VERSION = "0.1.0";
795
861
 
796
862
  declare interface LucentContextValue {
@@ -921,6 +987,13 @@ export declare interface MenuSeparatorProps {
921
987
 
922
988
  export declare type MenuSize = 'sm' | 'md' | 'lg';
923
989
 
990
+ /**
991
+ * Utilitarian Minimal — print-inspired, content-first.
992
+ * No shadows at all — depth through borders and typography hierarchy.
993
+ * Best for editorial, documentation, reading-heavy products.
994
+ */
995
+ export declare const minimalPreset: DesignPreset;
996
+
924
997
  export declare const modernPreset: DesignPreset;
925
998
 
926
999
  declare interface MotionTokens {
@@ -960,6 +1033,16 @@ export declare interface MultiSelectProps {
960
1033
 
961
1034
  declare type MultiSelectSize = 'sm' | 'md' | 'lg';
962
1035
 
1036
+ /**
1037
+ * Natural — light mode uses stacked multi-layer shadows for
1038
+ * physically-accurate light falloff.
1039
+ *
1040
+ * Dark mode uses stacked "lit edge" layers — multiple subtle
1041
+ * top-edge highlights at increasing intensity, creating a
1042
+ * graduated brightness that reads as natural overhead lighting.
1043
+ */
1044
+ export declare const naturalShadow: ShadowPreset;
1045
+
963
1046
  export declare function NavLink({ children, href, isActive, icon, disabled, inverse, onClick, as, style, }: NavLinkProps): JSX_2.Element;
964
1047
 
965
1048
  export declare interface NavLinkProps {
@@ -1046,6 +1129,18 @@ export declare interface NavMenuSubProps {
1046
1129
  children: ReactNode;
1047
1130
  }
1048
1131
 
1132
+ /**
1133
+ * Neumorphic — light mode uses classic dual light/dark shadows
1134
+ * for the extruded soft-UI look.
1135
+ *
1136
+ * Dark mode shifts to "chromatic" — offset split-color accent
1137
+ * glow (warm-shifted on one side, cool-shifted on the other).
1138
+ * Creates a CRT/screen-like depth that reads as physical without
1139
+ * relying on darkening. Uses `color-mix()` so it follows the
1140
+ * active accent automatically.
1141
+ */
1142
+ export declare const neumorphicShadow: ShadowPreset;
1143
+
1049
1144
  export declare const oceanPalette: ColorPalette;
1050
1145
 
1051
1146
  export declare function PageLayout({ children, header, sidebar, sidebarWidth, headerHeight, sidebarCollapsed, rightSidebar, rightSidebarWidth, rightSidebarCollapsed, footer, footerHeight, chromeBackground, mainStyle, style, }: PageLayoutProps): JSX_2.Element;
@@ -1083,7 +1178,7 @@ export declare const pillShape: ShapePreset;
1083
1178
 
1084
1179
  export declare const playfulPreset: DesignPreset;
1085
1180
 
1086
- export declare type PresetName = 'modern' | 'enterprise' | 'playful';
1181
+ export declare type PresetName = 'modern' | 'enterprise' | 'playful' | 'liquidGlass' | 'bento' | 'brutalist' | 'terminal' | 'softUI' | 'bloom' | 'minimal';
1087
1182
 
1088
1183
  export declare type PresetProp = PresetName | {
1089
1184
  palette?: PaletteName | ColorPalette;
@@ -1330,7 +1425,7 @@ declare interface SemanticColorTokens {
1330
1425
  infoText: string;
1331
1426
  }
1332
1427
 
1333
- export declare type ShadowName = 'flat' | 'subtle' | 'elevated';
1428
+ export declare type ShadowName = 'flat' | 'subtle' | 'elevated' | 'liquidGlass' | 'brutalist' | 'neumorphic' | 'natural' | 'glow';
1334
1429
 
1335
1430
  export declare interface ShadowPreset {
1336
1431
  name: string;
@@ -1389,6 +1484,13 @@ export declare interface SliderProps extends Omit<InputHTMLAttributes<HTMLInputE
1389
1484
 
1390
1485
  export declare type SliderSize = 'sm' | 'md' | 'lg';
1391
1486
 
1487
+ /**
1488
+ * Soft UI — tactile and organic neumorphism.
1489
+ * Dual-direction shadows, large radii, balanced spacing.
1490
+ * Best for physical product controllers, IoT dashboards, niche apps.
1491
+ */
1492
+ export declare const softUIPreset: DesignPreset;
1493
+
1392
1494
  declare interface SpacingTokens {
1393
1495
  space0: string;
1394
1496
  space1: string;
@@ -1491,12 +1593,18 @@ export declare interface StackProps {
1491
1593
  'aria-labelledby'?: string;
1492
1594
  }
1493
1595
 
1596
+ /**
1597
+ * Subtle — light mode uses wide, low-opacity diffused shadows.
1598
+ * Dark mode shifts to "ambient" — an enormous, barely-visible
1599
+ * accent-tinted glow that makes surfaces feel warm without
1600
+ * creating visible shadow edges.
1601
+ */
1494
1602
  export declare const subtleShadow: ShadowPreset;
1495
1603
 
1496
1604
  export declare interface TabItem {
1497
1605
  value: string;
1498
1606
  label: ReactNode;
1499
- content: ReactNode;
1607
+ content?: ReactNode;
1500
1608
  disabled?: boolean;
1501
1609
  }
1502
1610
 
@@ -1552,6 +1660,13 @@ export declare type TagSize = 'sm' | 'md' | 'lg';
1552
1660
 
1553
1661
  export declare type TagVariant = 'neutral' | 'accent' | 'success' | 'warning' | 'danger' | 'info';
1554
1662
 
1663
+ /**
1664
+ * Technical Mono — the dev-tool aesthetic.
1665
+ * Glow shadows, perfectly square corners, mathematical grid spacing.
1666
+ * Best for documentation, CLI tools, cybersecurity, developer products.
1667
+ */
1668
+ export declare const terminalPreset: DesignPreset;
1669
+
1555
1670
  declare function Text_2({ as, size, weight, color, align, lineHeight, family, truncate, children, style, ...rest }: TextProps): JSX_2.Element;
1556
1671
  export { Text_2 as Text }
1557
1672