@npm-questionpro/wick-ui-lib 2.0.0-next.32 → 2.0.0-next.34

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.0.0-next.32",
4
+ "version": "2.0.0-next.34",
5
5
  "description": "A React component library by QuestionPro for building web applications with ease",
6
6
  "keywords": [
7
7
  "react",
@@ -126,8 +126,8 @@
126
126
  "vite-bundle-analyzer": "^0.22.3",
127
127
  "vite-plugin-dts": "^4.5.4",
128
128
  "vitest": "^4.1.8",
129
+ "@npm-questionpro/wick-ui-icon": "2.0.0-next.34",
129
130
  "@npm-questionpro/wick-ui-eslint-config": "1.0.0",
130
- "@npm-questionpro/wick-ui-icon": "2.0.0-next.32",
131
131
  "@wick-ui/tsconfig": "1.0.0"
132
132
  },
133
133
  "scripts": {
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { IWuSegmentOption } from './types/IWuSegmentOption';
3
- export interface IWuSegmentProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'> {
4
- options: IWuSegmentOption[];
5
- value?: string;
6
- defaultValue?: string;
7
- onChange?: (value: string) => void;
8
- size?: 'sm' | 'md' | 'lg';
9
- variant?: 'text' | 'icon';
10
- disabled?: boolean;
11
- dir?: 'ltr' | 'rtl';
12
- }
13
- export declare const WuSegment: React.ForwardRefExoticComponent<IWuSegmentProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,3 +0,0 @@
1
- export type { IWuSegmentOption } from './types/IWuSegmentOption';
2
- export { WuSegment } from './WuSegment';
3
- export type { IWuSegmentProps } from './WuSegment';
@@ -1,8 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export interface IWuSegmentOption {
3
- value: string;
4
- label?: string;
5
- icon?: ReactNode;
6
- children?: ReactNode;
7
- disabled?: boolean;
8
- }