@purpurds/tabs 8.11.0 → 8.12.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/LICENSE.txt CHANGED
@@ -1,5 +1,5 @@
1
1
  Name: @purpurds/icon
2
- Version: 8.10.2
2
+ Version: 8.11.0
3
3
  License: AGPL-3.0-only
4
4
  Private: false
5
5
 
@@ -1,6 +1,5 @@
1
1
  import { default as React, ReactElement, ReactNode } from 'react';
2
2
  import { BaseProps } from '@purpurds/common-types';
3
-
4
3
  export type TabContentProps = Omit<BaseProps, "children"> & {
5
4
  /**
6
5
  * Content to be rendered inside a `button` element.
@@ -1,6 +1,5 @@
1
1
  import { default as React, FocusEventHandler, ReactNode } from 'react';
2
2
  import { TabsVariant } from './tabs.utils';
3
-
4
3
  type TabHeaderProps = {
5
4
  "data-testid"?: string;
6
5
  index: number;
package/dist/tabs.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { HTMLAttributes, ReactElement } from 'react';
2
2
  import { TabContent } from './tab-content';
3
3
  import { TabChangeDetail, TabsCmp, TabsVariant } from './tabs.utils';
4
-
5
4
  type TabsProps = {
6
5
  children: Array<ReactElement<typeof TabContent>> | ReactElement<typeof TabContent>;
7
6
  variant?: TabsVariant;
@@ -1,6 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import { TabContent } from './tab-content';
3
-
4
3
  export type TabsCmp<P> = FunctionComponent<P> & {
5
4
  Content: typeof TabContent;
6
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpurds/tabs",
3
- "version": "8.11.0",
3
+ "version": "8.12.0",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "./dist/tabs.cjs.js",
6
6
  "types": "./dist/tabs.d.ts",
@@ -17,10 +17,10 @@
17
17
  "dependencies": {
18
18
  "@radix-ui/react-tabs": "~1.1.3",
19
19
  "classnames": "~2.5.1",
20
- "@purpurds/common-types": "8.11.0",
21
- "@purpurds/icon": "8.11.0",
22
- "@purpurds/tokens": "8.11.0",
23
- "@purpurds/paragraph": "8.11.0"
20
+ "@purpurds/paragraph": "8.12.0",
21
+ "@purpurds/common-types": "8.12.0",
22
+ "@purpurds/tokens": "8.12.0",
23
+ "@purpurds/icon": "8.12.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@storybook/react-vite": "^10.0.8",
@@ -40,10 +40,10 @@
40
40
  "typescript": "^5.9.3",
41
41
  "vite": "^7.2.2",
42
42
  "vitest": "^4.0.10",
43
- "@purpurds/button": "8.11.0",
44
- "@purpurds/icon": "8.11.0",
43
+ "@purpurds/button": "8.12.0",
44
+ "@purpurds/icon": "8.12.0",
45
45
  "@purpurds/component-rig": "1.0.0",
46
- "@purpurds/paragraph": "8.11.0"
46
+ "@purpurds/paragraph": "8.12.0"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@types/react": "^18 || ^19",