@npm-questionpro/wick-ui-lib 2.5.1 → 2.7.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@npm-questionpro/wick-ui-lib",
3
3
  "private": false,
4
- "version": "2.5.1",
4
+ "version": "2.7.0",
5
5
  "description": "A React component library by QuestionPro for building web applications with ease",
6
6
  "keywords": [
7
7
  "react",
@@ -38,7 +38,7 @@
38
38
  ],
39
39
  "peerDependencies": {
40
40
  "@base-ui/react": "^1.0.0",
41
- "@npm-questionpro/wick-ui-icon": ">= 2.5.0",
41
+ "@npm-questionpro/wick-ui-icon": ">= 2.6.0",
42
42
  "@radix-ui/react-accordion": "^1.2.12",
43
43
  "@radix-ui/react-avatar": "^1.1.11",
44
44
  "@radix-ui/react-checkbox": "^1.3.3",
@@ -128,7 +128,7 @@
128
128
  "vite-plugin-dts": "^4.5.4",
129
129
  "vitest": "^4.1.8",
130
130
  "@npm-questionpro/wick-ui-eslint-config": "1.0.0",
131
- "@npm-questionpro/wick-ui-icon": "2.5.1",
131
+ "@npm-questionpro/wick-ui-icon": "2.7.0",
132
132
  "@wick-ui/tsconfig": "1.0.0"
133
133
  },
134
134
  "scripts": {
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { IWuTabItem } from '../types/IWuItems';
3
- type IBaseTabContentProps = {
4
- items: IWuTabItem[];
5
- enableAnimation?: boolean;
6
- };
7
- export declare const BaseTabContent: React.FC<IBaseTabContentProps>;
8
- export {};
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- type IUseTabScrollReturn = {
3
- showLeftArrow: boolean;
4
- showRightArrow: boolean;
5
- scrollByTab: (direction: 'left' | 'right') => void;
6
- };
7
- export declare const useTabScroll: (listRef: React.RefObject<HTMLElement | null>) => IUseTabScrollReturn;
8
- export {};
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- type IRect = {
3
- width: number;
4
- left: number;
5
- height: number;
6
- top: number;
7
- };
8
- export declare const useTabIndicator: (listRef: React.RefObject<HTMLElement | null>, orientation: "horizontal" | "vertical") => IRect;
9
- export {};
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- type IUseVerticalTabScrollReturn = {
3
- showTopArrow: boolean;
4
- showBottomArrow: boolean;
5
- scrollByTab: (direction: 'up' | 'down') => void;
6
- };
7
- export declare const useVerticalTabScroll: (listRef: React.RefObject<HTMLElement | null>) => IUseVerticalTabScrollReturn;
8
- export {};
@@ -1,7 +0,0 @@
1
- import * as TabsPrimitive from '@radix-ui/react-tabs';
2
- import * as React from 'react';
3
- declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
4
- declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
- declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
6
- declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
- export { Tabs, TabsContent, TabsList, TabsTrigger };
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { IWuTabProps } from '../WuTab';
3
- export declare const HorizontalTab: React.FC<IWuTabProps>;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { IWuTabProps } from '../WuTab';
3
- export declare const VerticalTab: React.FC<IWuTabProps>;