@cupra/ui-react 2.0.0-canary.53 → 2.0.0-canary.55
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.
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { type ReactElement } from 'react';
|
|
2
2
|
import '@cupra/ui-kit/react/ds-tag';
|
|
3
3
|
import { DsTagAttrs } from '@cupra/ui-kit/react/types/ds-tag';
|
|
4
|
-
type
|
|
5
|
-
interface TabsProps extends DsTagAttrs {
|
|
6
|
-
onClickIcon?: (event: CustomEvent) => void;
|
|
7
|
-
children: Children;
|
|
4
|
+
type TabsProps = DsTagAttrs & {
|
|
8
5
|
className?: string;
|
|
9
|
-
|
|
6
|
+
children: JSX.Element | JSX.Element[] | string;
|
|
7
|
+
onClickIcon?: (event: CustomEvent) => void;
|
|
8
|
+
};
|
|
10
9
|
export declare function Tag(props: Readonly<TabsProps>): ReactElement;
|
|
11
10
|
export {};
|
|
@@ -3,6 +3,13 @@ declare const meta: Meta;
|
|
|
3
3
|
export default meta;
|
|
4
4
|
type Story = StoryObj;
|
|
5
5
|
export declare const Default: Story;
|
|
6
|
+
export declare const Contrast: Story;
|
|
7
|
+
export declare const Accent01: Story;
|
|
8
|
+
export declare const Accent02: Story;
|
|
9
|
+
export declare const Accent03: Story;
|
|
10
|
+
export declare const Warning: Story;
|
|
11
|
+
export declare const ErrorTag: Story;
|
|
12
|
+
export declare const Success: Story;
|
|
13
|
+
export declare const Disabled: Story;
|
|
6
14
|
export declare const WithLeftIcon: Story;
|
|
7
15
|
export declare const WithRightIcon: Story;
|
|
8
|
-
export declare const ClickableIcon: Story;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cupra/ui-react",
|
|
3
|
-
"version": "2.0.0-canary.
|
|
3
|
+
"version": "2.0.0-canary.55",
|
|
4
4
|
"description": "React components library",
|
|
5
5
|
"author": "SEAT S.A.",
|
|
6
6
|
"license": "SEAT S.A. Library EULA 1.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">= 18.3.1 < 20",
|
|
53
53
|
"react-dom": ">= 18.3.1 < 20",
|
|
54
|
-
"@cupra/ui-kit": "2.0.0-canary.
|
|
54
|
+
"@cupra/ui-kit": "2.0.0-canary.47",
|
|
55
55
|
"typescript": ">=5.0.0"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"storybook": "^8.6.15",
|
|
75
75
|
"typescript": "^5.8.2",
|
|
76
76
|
"vite": "^6.4.1",
|
|
77
|
-
"@cupra/ui-kit": "2.0.0-canary.
|
|
77
|
+
"@cupra/ui-kit": "2.0.0-canary.47"
|
|
78
78
|
},
|
|
79
79
|
"scripts": {
|
|
80
80
|
"build": "rm -rf dist && pnpm --filter @cupra/ui-kit build:react && tsc --declaration --emitDeclarationOnly && BUILD_FORMAT=esm vite build --emptyOutDir false && BUILD_FORMAT=cjs vite build --emptyOutDir false",
|