@petnow/ui 0.0.7 → 0.0.9
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.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +552 -497
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +10 -10
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/card/AccordionCard.d.ts +6 -0
- package/dist/src/components/card/AccordionCard.stories.d.ts +7 -0
- package/dist/src/components/tab/Tabs.d.ts +10 -0
- package/dist/src/components/tab/Tabs.stories.d.ts +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as AccordionCard } from './AccordionCard.tsx';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof AccordionCard>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof AccordionCard>;
|
|
7
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface TabItem {
|
|
2
|
+
readonly displayName: string;
|
|
3
|
+
readonly key: string;
|
|
4
|
+
}
|
|
5
|
+
interface Props<T extends TabItem> {
|
|
6
|
+
tabList: Readonly<T[]>;
|
|
7
|
+
onTabChange: (newValue: Readonly<T>) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const Tabs: <T extends TabItem>({ tabList, onTabChange }: Props<T>) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default Tabs;
|