periplo-ui 1.5.3 → 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.
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ export interface CardMediaProps extends React.ImgHTMLAttributes<HTMLImageElement> {
3
+ alt: string;
4
+ src: string;
5
+ }
6
+ declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
7
+ declare const CardMedia: React.ForwardRefExoticComponent<CardMediaProps & React.RefAttributes<HTMLImageElement>>;
8
+ declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
9
+ export { Card, CardMedia, CardContent };
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import type { StoryObj } from '@storybook/react';
3
+ declare const meta: {
4
+ component: import("react").ForwardRefExoticComponent<import("./Card").CardMediaProps & import("react").RefAttributes<HTMLImageElement>>;
5
+ tags: string[];
6
+ argTypes: {};
7
+ parameters: {
8
+ layout: string;
9
+ };
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const Default: Story;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export * from './Card';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export { Button, buttonVariants, type ButtonProps } from './components/Button';
2
2
  export { Typography, typographyVariants, type TypographyProps } from './components/Typography';
3
+ export { Card, CardMedia, CardContent, type CardMediaProps } from './components/Card';
3
4
  export * from './lib/plugin';