@appkit/dek-ui 0.24.0 → 0.24.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/components/Card/Card.d.ts +9 -0
- package/dist/components/Carousel/Carousel.d.ts +12 -0
- package/dist/components/{Stack/Stack.styled.d.ts → Carousel/Carousel.styled.d.ts} +1 -0
- package/dist/components/{Stack/StackContainer.styled.d.ts → Carousel/CarouselContainer.styled.d.ts} +1 -0
- package/dist/components/Stack/Stack.d.ts +3 -10
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +9768 -9731
- package/dist/index.umd.js +140 -139
- package/dist/stories/Card.stories.d.ts +6 -0
- package/dist/stories/Carousel.stories.d.ts +8 -0
- package/package.json +1 -1
- package/dist/components/Stack/utils.d.ts +0 -9
- /package/dist/components/{Stack/StackContainer.d.ts → Carousel/CarouselContainer.d.ts} +0 -0
- /package/dist/components/{Stack → Carousel}/NonPassiveTouchTarget.d.ts +0 -0
- /package/dist/components/{Stack → Carousel}/touchWithMouseHOC.d.ts +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ViewProps } from '../View/View';
|
|
3
|
+
export type CardVariant = 'normal' | 'clear';
|
|
4
|
+
export type CardProps = Omit<ViewProps, 'collapse' | 'vscroll' | 'hscroll' | 'fixed'> & {
|
|
5
|
+
variant?: CardVariant;
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
};
|
|
8
|
+
declare const Card: (props: CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default Card;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type CarouselProps = {
|
|
3
|
+
vertical?: boolean;
|
|
4
|
+
autoplay?: number;
|
|
5
|
+
width: number | string;
|
|
6
|
+
height: number | string;
|
|
7
|
+
padding?: number;
|
|
8
|
+
overflow?: boolean;
|
|
9
|
+
elements?: JSX.Element[];
|
|
10
|
+
};
|
|
11
|
+
declare const Carousel: ({ vertical, autoplay, width, height, padding, overflow, elements, }: CarouselProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default Carousel;
|
|
@@ -8,6 +8,7 @@ type CardProps = {
|
|
|
8
8
|
$vertical: boolean;
|
|
9
9
|
$width?: string | number;
|
|
10
10
|
$height?: string | number;
|
|
11
|
+
$padding?: number;
|
|
11
12
|
};
|
|
12
13
|
export declare const Card: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, CardProps>>;
|
|
13
14
|
type CardInnerProps = {
|
package/dist/components/{Stack/StackContainer.styled.d.ts → Carousel/CarouselContainer.styled.d.ts}
RENAMED
|
@@ -4,6 +4,7 @@ type ContainerProps = {
|
|
|
4
4
|
$vertical: boolean;
|
|
5
5
|
$width?: string | number;
|
|
6
6
|
$height?: string | number;
|
|
7
|
+
$overflow: boolean;
|
|
7
8
|
};
|
|
8
9
|
export declare const Container: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<any, "ref"> & import("react").RefAttributes<NonPassiveTouchTarget>, ContainerProps>> & Omit<typeof NonPassiveTouchTarget, keyof import("react").Component<any, {}, any>>;
|
|
9
10
|
type TrackProps = {
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
type StackProps =
|
|
3
|
-
|
|
4
|
-
autoplay?: number;
|
|
5
|
-
width: number | string;
|
|
6
|
-
height: number | string;
|
|
7
|
-
padding?: number;
|
|
8
|
-
elements?: JSX.Element[];
|
|
9
|
-
};
|
|
10
|
-
declare const Stack: ({ vertical, autoplay, width, height, padding, elements, }: StackProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { CarouselProps } from '../Carousel/Carousel';
|
|
2
|
+
type StackProps = CarouselProps;
|
|
3
|
+
declare const Stack: (props: StackProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
4
|
export default Stack;
|
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,9 @@ export * from './components/MenuBar/MenuBar';
|
|
|
6
6
|
export * from './components/PillButton/PillButton';
|
|
7
7
|
export { default as Button } from './components/Button/Button';
|
|
8
8
|
export { default as ButtonLoadingIcon } from './components/ButtonLoadingIcon/ButtonLoadingIcon';
|
|
9
|
+
export { default as Card } from './components/Card/Card';
|
|
9
10
|
export { default as CardButton } from './components/CardButton/CardButton';
|
|
11
|
+
export { default as Carousel } from './components/Carousel/Carousel';
|
|
10
12
|
export { default as Cell } from './components/Cell/Cell';
|
|
11
13
|
export { default as ColorPicker } from './components/ColorPicker/ColorPicker';
|
|
12
14
|
export { default as Dropdown } from './components/Dropdown/Dropdown';
|