@sesamehr/react-design-system 1.6.0 → 1.6.1
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/Layout/Card/Card.d.ts +1 -1
- package/dist/Layout/Card/index.d.ts +2 -3
- package/dist/Transitions/TransitionBounce/TransitionBounce.d.ts +3 -0
- package/dist/Transitions/TransitionExpand/TransitionExpand.d.ts +3 -0
- package/dist/Transitions/TransitionFade/TransitionFade.d.ts +3 -0
- package/dist/Transitions/TransitionFlip/TransitionFlip.d.ts +3 -0
- package/dist/Transitions/TransitionSlideX/TransitionSlideX.d.ts +3 -0
- package/dist/Transitions/TransitionSlideY/TransitionSlideY.d.ts +3 -0
- package/dist/react-design-system.js +2195 -2189
- package/dist/react-design-system.umd.cjs +27 -27
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { CardVariants } from './index.ts';
|
|
|
2
2
|
export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
/** Render as the child element instead of a `<div>` (Radix Slot). */
|
|
4
4
|
asChild?: boolean;
|
|
5
|
-
/** Which surface it is
|
|
5
|
+
/** Which surface it is: `default` is white, `muted` is tinted. */
|
|
6
6
|
tone?: CardVariants['tone'];
|
|
7
7
|
/** Drops the border, the shadow and the glass — just the surface and its radius. */
|
|
8
8
|
flat?: boolean;
|
|
@@ -4,9 +4,8 @@ export { Card, type CardProps } from './Card.tsx';
|
|
|
4
4
|
* Two things vary, and they are not the same thing.
|
|
5
5
|
*
|
|
6
6
|
* `tone` is which surface it is: white, or tinted for the case the white one
|
|
7
|
-
* cannot serve
|
|
8
|
-
*
|
|
9
|
-
* ones separate on their own.
|
|
7
|
+
* cannot serve. White on white needs a border around every row to read as
|
|
8
|
+
* separate things; a tinted surface lets the white ones separate on their own.
|
|
10
9
|
*
|
|
11
10
|
* `flat` is what it carries on top of that surface. They are kept apart
|
|
12
11
|
* because the combinations are all real: a white card over a tinted one, a
|
|
@@ -5,3 +5,6 @@ export interface TransitionBounceProps extends TransitionBaseProps {
|
|
|
5
5
|
}
|
|
6
6
|
/** Bounce transition — ported from `@sesame/orxata-core` TransitionBounce. */
|
|
7
7
|
export declare function TransitionBounce({ enterDuration, leaveDuration, ...rest }: TransitionBounceProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare namespace TransitionBounce {
|
|
9
|
+
var displayName: string;
|
|
10
|
+
}
|
|
@@ -5,3 +5,6 @@ export interface TransitionExpandProps extends TransitionBaseProps {
|
|
|
5
5
|
}
|
|
6
6
|
/** Vertical expand/collapse transition — ported from `@sesame/orxata-core` TransitionExpand. */
|
|
7
7
|
export declare function TransitionExpand({ enterDuration, leaveDuration, ...rest }: TransitionExpandProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare namespace TransitionExpand {
|
|
9
|
+
var displayName: string;
|
|
10
|
+
}
|
|
@@ -5,3 +5,6 @@ export interface TransitionFadeProps extends TransitionBaseProps {
|
|
|
5
5
|
}
|
|
6
6
|
/** Fade transition — ported from `@sesame/orxata-core` TransitionFade. */
|
|
7
7
|
export declare function TransitionFade({ enterDuration, leaveDuration, ...rest }: TransitionFadeProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare namespace TransitionFade {
|
|
9
|
+
var displayName: string;
|
|
10
|
+
}
|
|
@@ -12,3 +12,6 @@ export interface TransitionFlipProps extends TransitionBaseProps {
|
|
|
12
12
|
}
|
|
13
13
|
/** 3D flip transition — ported from `@sesame/orxata-core` TransitionFlip. */
|
|
14
14
|
export declare function TransitionFlip({ enterDuration, leaveDuration, axis, enterDegrees, ...rest }: TransitionFlipProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare namespace TransitionFlip {
|
|
16
|
+
var displayName: string;
|
|
17
|
+
}
|
|
@@ -8,3 +8,6 @@ export interface TransitionSlideXProps extends TransitionBaseProps {
|
|
|
8
8
|
}
|
|
9
9
|
/** Horizontal slide transition — ported from `@sesame/orxata-core` TransitionSlideX. */
|
|
10
10
|
export declare function TransitionSlideX({ enterDuration, leaveDuration, distance, direction, leaveDirection, ...rest }: TransitionSlideXProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare namespace TransitionSlideX {
|
|
12
|
+
var displayName: string;
|
|
13
|
+
}
|
|
@@ -8,3 +8,6 @@ export interface TransitionSlideYProps extends TransitionBaseProps {
|
|
|
8
8
|
}
|
|
9
9
|
/** Vertical slide transition — ported from `@sesame/orxata-core` TransitionSlideY. */
|
|
10
10
|
export declare function TransitionSlideY({ enterDuration, leaveDuration, distance, direction, leaveDirection, ...rest }: TransitionSlideYProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare namespace TransitionSlideY {
|
|
12
|
+
var displayName: string;
|
|
13
|
+
}
|