@petnow/ui 0.0.9 → 1.0.0
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.es.js +869 -855
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +14 -11
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/button/CtaButton.stories.d.ts +1 -1
- package/dist/src/components/card/AccordionCard.d.ts +6 -2
- package/dist/src/components/card/AccordionCard.stories.d.ts +2 -1
- package/dist/src/components/checkbox/Checkbox.stories.d.ts +1 -1
- package/dist/src/components/input/LabeledAddressInput.stories.d.ts +1 -1
- package/dist/src/components/modal/Modal.stories.d.ts +1 -1
- package/dist/src/components/tab/Tabs.stories.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import { JSXElementConstructor, ReactElement } from 'react';
|
|
2
|
+
|
|
1
3
|
interface Props {
|
|
2
4
|
title: string;
|
|
3
|
-
description: string
|
|
5
|
+
description: string | ReactElement<any, string | JSXElementConstructor<any>>;
|
|
6
|
+
titleTextClassName?: string;
|
|
7
|
+
descriptionTextClassName?: string;
|
|
4
8
|
}
|
|
5
|
-
declare const AccordionCard: ({ title, description }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare const AccordionCard: ({ title, description, titleTextClassName, descriptionTextClassName }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
6
10
|
export default AccordionCard;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { default as AccordionCard } from './AccordionCard.tsx';
|
|
2
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { default as AccordionCard } from './AccordionCard.tsx';
|
|
3
3
|
|
|
4
4
|
declare const meta: Meta<typeof AccordionCard>;
|
|
5
5
|
export default meta;
|
|
6
6
|
type Story = StoryObj<typeof AccordionCard>;
|
|
7
7
|
export declare const Default: Story;
|
|
8
|
+
export declare const AdditionalClassName: Story;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as LabeledAddressInput } from './LabeledAddressInput.tsx';
|
|
2
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { default as LabeledAddressInput } from './LabeledAddressInput.tsx';
|
|
3
3
|
|
|
4
4
|
declare const meta: Meta<typeof LabeledAddressInput>;
|
|
5
5
|
export default meta;
|