@petnow/ui 4.1.8 → 5.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/CHANGELOG.md +89 -0
- package/README.md +68 -54
- package/dist/{Popup-BCBW_e8Q.js → Popup-B2Q-le-6.js} +5 -4
- package/dist/Popup-B2Q-le-6.js.map +1 -0
- package/dist/index.css +130 -2
- package/dist/index.es.js +1 -1
- package/dist/v0/checkbox.js +1 -0
- package/dist/v0/checkbox.js.map +1 -1
- package/dist/v0/radio.js +2 -1
- package/dist/v0/radio.js.map +1 -1
- package/dist/v0/tabs.js +38 -26
- package/dist/v0/tabs.js.map +1 -1
- package/dist/v0/toggle.js +1 -0
- package/dist/v0/toggle.js.map +1 -1
- package/dist/v1/popup.js +1 -1
- package/dist/v1/text-field.js.map +1 -1
- package/docs/adr/0001-v5-consumer-owned-tailwind-and-no-global-leaks.md +42 -0
- package/docs/migration/v4-to-v5.md +209 -0
- package/package.json +15 -22
- package/petnow-design-system-v1.css +3 -76
- package/tailwind.css +144 -230
- package/dist/Popup-BCBW_e8Q.js.map +0 -1
- package/dist/jest.setup.d.ts +0 -0
- package/dist/src/App.d.ts +0 -2
- package/dist/src/components/ui/button.d.ts +0 -9
- package/dist/src/components/v0/checkbox/Checkbox.stories.d.ts +0 -6
- package/dist/src/components/v0/radio/Radio.stories.d.ts +0 -8
- package/dist/src/components/v0/tabs/Tabs.stories.d.ts +0 -7
- package/dist/src/components/v0/toggle/Toggle.stories.d.ts +0 -6
- package/dist/src/components/v1/badge/Badge.stories.d.ts +0 -10
- package/dist/src/components/v1/chip/Chip.stories.d.ts +0 -10
- package/dist/src/components/v1/cta-button/CTAButton.stories.d.ts +0 -11
- package/dist/src/components/v1/popup/Popup.stories.d.ts +0 -11
- package/dist/src/components/v1/text-field/TextField.stories.d.ts +0 -11
- package/dist/src/main.d.ts +0 -0
- package/dist/test/v0/Checkbox.test.d.ts +0 -1
- package/dist/test/v0/Radio.test.d.ts +0 -1
- package/dist/test/v0/Tabs.test.d.ts +0 -1
- package/dist/test/v0/Toggle.test.d.ts +0 -1
- package/dist/test/v1/Badge.test.d.ts +0 -1
- package/dist/test/v1/CTAButton.test.d.ts +0 -1
- package/dist/test/v1/Chip.test.d.ts +0 -1
- package/dist/test/v1/Popup.test.d.ts +0 -1
- package/dist/test/v1/TextField.test.d.ts +0 -1
- package/dist/vite.svg +0 -1
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Badge } from './Badge';
|
|
3
|
-
declare const meta: Meta<typeof Badge>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Badge>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const TintedWithIcon: Story;
|
|
8
|
-
export declare const OutlinedSmall: Story;
|
|
9
|
-
export declare const TypeColorShowcase: Story;
|
|
10
|
-
export declare const SizeShowcase: Story;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Chip } from './Chip';
|
|
3
|
-
declare const meta: Meta<typeof Chip>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Chip>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Selected: Story;
|
|
8
|
-
export declare const WithIcon: Story;
|
|
9
|
-
export declare const Disabled: Story;
|
|
10
|
-
export declare const SelectableGroup: Story;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { CTAButton } from './CTAButton';
|
|
3
|
-
declare const meta: Meta<typeof CTAButton>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof CTAButton>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const SecondaryMedium: Story;
|
|
8
|
-
export declare const TertiarySmallWithIcon: Story;
|
|
9
|
-
export declare const Disabled: Story;
|
|
10
|
-
export declare const HierarchyShowcase: Story;
|
|
11
|
-
export declare const SizeShowcase: Story;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Popup } from './Popup';
|
|
3
|
-
declare const meta: Meta<typeof Popup>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Popup>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const OnlyTitle: Story;
|
|
8
|
-
export declare const OnlyConfirm: Story;
|
|
9
|
-
export declare const WithCustomContent: Story;
|
|
10
|
-
export declare const PreventEasyClose: Story;
|
|
11
|
-
export declare const DescriptionOnly: Story;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { TextFieldNormal } from './TextField';
|
|
3
|
-
declare const meta: Meta<typeof TextFieldNormal>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof TextFieldNormal>;
|
|
6
|
-
export declare const Normal: Story;
|
|
7
|
-
export declare const NormalWithErrorAndCounter: Story;
|
|
8
|
-
export declare const Multiline: Story;
|
|
9
|
-
export declare const SelectField: Story;
|
|
10
|
-
export declare const SelectFieldSmallError: Story;
|
|
11
|
-
export declare const WithButton: Story;
|
package/dist/src/main.d.ts
DELETED
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/vite.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|