@petnow/ui 2.2.1 → 2.2.3

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.
@@ -12,10 +12,12 @@ interface Props<T extends TabItem> {
12
12
  onTabChange?: (index: number) => void;
13
13
  disabled?: boolean;
14
14
  className?: {
15
- Tab: string;
16
- tabTitle: string;
17
- underline: string;
15
+ tab?: string;
16
+ tabTitle?: string;
17
+ selectedUnderline?: string;
18
+ underline?: string;
18
19
  };
20
+ allowScrollToSection?: boolean;
19
21
  }
20
- declare const Tab: <T extends TabItem>({ className, tabList, isCuratedcontent, unswipeableContent, defaultIndex, onTabChange, disabled, }: Props<T>) => import("react/jsx-runtime").JSX.Element;
21
- export default Tab;
22
+ declare const Tabs: <T extends TabItem>({ className, tabList, isCuratedcontent, unswipeableContent, defaultIndex, onTabChange, disabled, allowScrollToSection, }: Props<T>) => import("react/jsx-runtime").JSX.Element;
23
+ export default Tabs;
@@ -1,7 +1,7 @@
1
1
  import { Meta, StoryObj } from '@storybook/react';
2
- import { default as Tab } from './Tab';
3
- declare const meta: Meta<typeof Tab>;
2
+ import { default as Tabs } from './Tabs';
3
+ declare const meta: Meta<typeof Tabs>;
4
4
  export default meta;
5
- type Story = StoryObj<typeof Tab>;
5
+ type Story = StoryObj<typeof Tabs>;
6
6
  export declare const Default: Story;
7
7
  export declare const ThreeTabWithCuratedContent: Story;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@petnow/ui",
3
- "version": "2.2.1",
3
+ "version": "2.2.3",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -26,7 +26,7 @@
26
26
  "react-dom": "^18.2.0",
27
27
  "react-icons": "^5.5.0",
28
28
  "react-swipeable-views": "^0.14.0",
29
- "tailwind-merge": "^3.2.0"
29
+ "tailwind-merge": "^3.3.1"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@chromatic-com/storybook": "^3.2.6",
@@ -38,12 +38,12 @@
38
38
  "@storybook/react": "^8.4.6",
39
39
  "@storybook/react-vite": "^8.4.6",
40
40
  "@storybook/test": "^8.4.6",
41
- "@tailwindcss/postcss": "^4.1.2",
41
+ "@tailwindcss/postcss": "^4.1.11",
42
42
  "@testing-library/jest-dom": "^6.6.3",
43
43
  "@testing-library/react": "^16.1.0",
44
44
  "@testing-library/user-event": "^14.6.1",
45
45
  "@types/jest": "^29.5.14",
46
- "@types/node": "^22.14.0",
46
+ "@types/node": "^24.0.10",
47
47
  "@types/react": "^18.3.12",
48
48
  "@types/react-dom": "^18.3.1",
49
49
  "@typescript-eslint/eslint-plugin": "^7.18.0",
@@ -53,17 +53,17 @@
53
53
  "eslint-plugin-import": "^2.31.0",
54
54
  "eslint-plugin-react-hooks": "^5.2.0",
55
55
  "eslint-plugin-react-refresh": "^0.4.20",
56
- "eslint-plugin-storybook": "^0.12.0",
56
+ "eslint-plugin-storybook": "^9.0.7",
57
57
  "identity-obj-proxy": "^3.0.0",
58
58
  "jest": "^29.7.0",
59
- "jest-environment-jsdom": "^29.7.0",
59
+ "jest-environment-jsdom": "^30.0.4",
60
60
  "jest-transformer-svg": "^2.0.2",
61
- "postcss": "^8.5.4",
62
- "prettier": "^3.5.3",
61
+ "postcss": "^8.5.6",
62
+ "prettier": "^3.6.2",
63
63
  "prettier-plugin-tailwindcss": "^0.6.11",
64
64
  "storybook": "^8.5.3",
65
- "tailwindcss": "^4.1.0",
66
- "ts-jest": "^29.3.2",
65
+ "tailwindcss": "^4.1.11",
66
+ "ts-jest": "^29.4.0",
67
67
  "ts-node": "^10.9.2",
68
68
  "typescript": "^5.7.2",
69
69
  "vite": "^6.2.4",
File without changes