@cere/cere-design-system 0.0.40 → 0.0.43
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/.specify/memory/constitution.md +1 -1
- package/dist/index.d.mts +8 -5
- package/dist/index.d.ts +8 -5
- package/dist/index.js +114 -84
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +334 -304
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -1
|
@@ -155,7 +155,7 @@ export interface ButtonProps extends Omit<MuiButtonProps, 'variant'> {
|
|
|
155
155
|
**All components must follow the design tokens defined in the theme.**
|
|
156
156
|
|
|
157
157
|
### Design Tokens (Defined in `src/theme/index.ts`)
|
|
158
|
-
- **Primary color**: `#
|
|
158
|
+
- **Primary color**: `#aa44f2` (Cere brand violet). Mapped via `semantic.action.primary` → `primitives.violet[500]`. Legacy `primitives.blue` is retained for ROB highlights only.
|
|
159
159
|
- **Border radius**:
|
|
160
160
|
- Inputs/buttons: `12px`
|
|
161
161
|
- Cards/chips: `16px`
|
package/dist/index.d.mts
CHANGED
|
@@ -21,6 +21,7 @@ import { TooltipProps as TooltipProps$1 } from '@mui/material/Tooltip';
|
|
|
21
21
|
import { AlertProps as AlertProps$1 } from '@mui/material/Alert';
|
|
22
22
|
import { SnackbarProps as SnackbarProps$1 } from '@mui/material/Snackbar';
|
|
23
23
|
import { DrawerProps as DrawerProps$1 } from '@mui/material/Drawer';
|
|
24
|
+
import { EmblaOptionsType } from 'embla-carousel';
|
|
24
25
|
import { CardProps as CardProps$1 } from '@mui/material/Card';
|
|
25
26
|
import { CardContentProps } from '@mui/material/CardContent';
|
|
26
27
|
import { CardHeaderProps } from '@mui/material/CardHeader';
|
|
@@ -282,9 +283,9 @@ declare module '@mui/material/styles' {
|
|
|
282
283
|
}
|
|
283
284
|
declare const colors: {
|
|
284
285
|
primary: {
|
|
285
|
-
main: "#
|
|
286
|
-
light: "#
|
|
287
|
-
dark: "#
|
|
286
|
+
main: "#aa44f2";
|
|
287
|
+
light: "#aa44f2";
|
|
288
|
+
dark: "#7c59ac";
|
|
288
289
|
contrastText: "#FFFFFF";
|
|
289
290
|
};
|
|
290
291
|
secondary: {
|
|
@@ -463,7 +464,7 @@ interface SearchFieldProps extends Omit<TextFieldProps, 'InputProps' | 'variant'
|
|
|
463
464
|
/** Visual treatment. `pill` renders a fully-rounded input. @default 'standard' */
|
|
464
465
|
variant?: SearchFieldVariant;
|
|
465
466
|
/**
|
|
466
|
-
* Show a keyboard-shortcut hint adornment (⌘K on Mac, Ctrl+K elsewhere) at
|
|
467
|
+
* Show a keyboard-shortcut hint adornment (⌘ K on Mac, Ctrl + K elsewhere) at
|
|
467
468
|
* the right edge. Pair with `useSearchHotkeys` to wire the key handler.
|
|
468
469
|
*/
|
|
469
470
|
shortcutHint?: boolean;
|
|
@@ -1791,13 +1792,15 @@ interface CarouselProps<T> {
|
|
|
1791
1792
|
dotColor?: string;
|
|
1792
1793
|
/** Override the active dot color. Accepts any CSS color string. */
|
|
1793
1794
|
dotActiveColor?: string;
|
|
1795
|
+
/** Escape hatch for advanced embla options. Most consumers don't need this. */
|
|
1796
|
+
emblaOptions?: EmblaOptionsType;
|
|
1794
1797
|
}
|
|
1795
1798
|
/**
|
|
1796
1799
|
* Carousel — embla-carousel-based slide deck with autoplay, dots, counter,
|
|
1797
1800
|
* prev/next arrows and pause-on-hover. Generic over slide payload type; the
|
|
1798
1801
|
* caller decides the slide markup via `renderSlide`.
|
|
1799
1802
|
*/
|
|
1800
|
-
declare function Carousel<T>({ slides, renderSlide, getKey, slidesPerView, autoplay, autoplayDelayMs, showDots, showCounter, showArrows, pauseOnHover, ariaLabel, onSelect, arrowSx, dotColor, dotActiveColor, }: CarouselProps<T>): react_jsx_runtime.JSX.Element | null;
|
|
1803
|
+
declare function Carousel<T>({ slides, renderSlide, getKey, slidesPerView, autoplay, autoplayDelayMs, showDots, showCounter, showArrows, pauseOnHover, ariaLabel, onSelect, arrowSx, dotColor, dotActiveColor, emblaOptions, }: CarouselProps<T>): react_jsx_runtime.JSX.Element | null;
|
|
1801
1804
|
|
|
1802
1805
|
/** Number of distinct gradient palettes. Useful for sizing slide cycles deterministically. */
|
|
1803
1806
|
declare const GRADIENT_PALETTE_COUNT: 6;
|
package/dist/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { TooltipProps as TooltipProps$1 } from '@mui/material/Tooltip';
|
|
|
21
21
|
import { AlertProps as AlertProps$1 } from '@mui/material/Alert';
|
|
22
22
|
import { SnackbarProps as SnackbarProps$1 } from '@mui/material/Snackbar';
|
|
23
23
|
import { DrawerProps as DrawerProps$1 } from '@mui/material/Drawer';
|
|
24
|
+
import { EmblaOptionsType } from 'embla-carousel';
|
|
24
25
|
import { CardProps as CardProps$1 } from '@mui/material/Card';
|
|
25
26
|
import { CardContentProps } from '@mui/material/CardContent';
|
|
26
27
|
import { CardHeaderProps } from '@mui/material/CardHeader';
|
|
@@ -282,9 +283,9 @@ declare module '@mui/material/styles' {
|
|
|
282
283
|
}
|
|
283
284
|
declare const colors: {
|
|
284
285
|
primary: {
|
|
285
|
-
main: "#
|
|
286
|
-
light: "#
|
|
287
|
-
dark: "#
|
|
286
|
+
main: "#aa44f2";
|
|
287
|
+
light: "#aa44f2";
|
|
288
|
+
dark: "#7c59ac";
|
|
288
289
|
contrastText: "#FFFFFF";
|
|
289
290
|
};
|
|
290
291
|
secondary: {
|
|
@@ -463,7 +464,7 @@ interface SearchFieldProps extends Omit<TextFieldProps, 'InputProps' | 'variant'
|
|
|
463
464
|
/** Visual treatment. `pill` renders a fully-rounded input. @default 'standard' */
|
|
464
465
|
variant?: SearchFieldVariant;
|
|
465
466
|
/**
|
|
466
|
-
* Show a keyboard-shortcut hint adornment (⌘K on Mac, Ctrl+K elsewhere) at
|
|
467
|
+
* Show a keyboard-shortcut hint adornment (⌘ K on Mac, Ctrl + K elsewhere) at
|
|
467
468
|
* the right edge. Pair with `useSearchHotkeys` to wire the key handler.
|
|
468
469
|
*/
|
|
469
470
|
shortcutHint?: boolean;
|
|
@@ -1791,13 +1792,15 @@ interface CarouselProps<T> {
|
|
|
1791
1792
|
dotColor?: string;
|
|
1792
1793
|
/** Override the active dot color. Accepts any CSS color string. */
|
|
1793
1794
|
dotActiveColor?: string;
|
|
1795
|
+
/** Escape hatch for advanced embla options. Most consumers don't need this. */
|
|
1796
|
+
emblaOptions?: EmblaOptionsType;
|
|
1794
1797
|
}
|
|
1795
1798
|
/**
|
|
1796
1799
|
* Carousel — embla-carousel-based slide deck with autoplay, dots, counter,
|
|
1797
1800
|
* prev/next arrows and pause-on-hover. Generic over slide payload type; the
|
|
1798
1801
|
* caller decides the slide markup via `renderSlide`.
|
|
1799
1802
|
*/
|
|
1800
|
-
declare function Carousel<T>({ slides, renderSlide, getKey, slidesPerView, autoplay, autoplayDelayMs, showDots, showCounter, showArrows, pauseOnHover, ariaLabel, onSelect, arrowSx, dotColor, dotActiveColor, }: CarouselProps<T>): react_jsx_runtime.JSX.Element | null;
|
|
1803
|
+
declare function Carousel<T>({ slides, renderSlide, getKey, slidesPerView, autoplay, autoplayDelayMs, showDots, showCounter, showArrows, pauseOnHover, ariaLabel, onSelect, arrowSx, dotColor, dotActiveColor, emblaOptions, }: CarouselProps<T>): react_jsx_runtime.JSX.Element | null;
|
|
1801
1804
|
|
|
1802
1805
|
/** Number of distinct gradient palettes. Useful for sizing slide cycles deterministically. */
|
|
1803
1806
|
declare const GRADIENT_PALETTE_COUNT: 6;
|