Skip to content

Commit f96877f

Browse files
author
Kubit
committed
Improve content of Storybook
1 parent bfa6acc commit f96877f

File tree

87 files changed

+472
-98
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+472
-98
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kubit-ui-web/react-components",
3-
"version": "1.8.0",
3+
"version": "1.8.1",
44
"description": "Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience",
55
"author": {
66
"name": "Kubit",
Lines changed: 38 additions & 0 deletions
Loading

src/assets/storybook/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import ICON_GHOST from './icons/icon_ghost.svg';
77
import ICON_PLACEHOLDER from './icons/icon_placeholder.svg';
88
import ICON_CLOSE from './icons/icon_x_close.svg';
99
import ICON_PLAY_BUTTON from './icons/play_button.svg';
10+
import ICON_REPLACE from './icons/replace.svg';
1011
import ILLUSTRATION from './illustrations/illustration.svg';
1112
import IMAGE_1 from './images/image_1.png';
1213
import IMAGE_2 from './images/image_2.png';
@@ -24,6 +25,7 @@ export const ICONS = {
2425
ICON_CLOSE,
2526
ICON_PLAY_BUTTON,
2627
ICON_CHECKMARK_THICK,
28+
ICON_REPLACE,
2729
};
2830

2931
export const ILLUSTRATIONS = {

src/components/accordion/stories/argtypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { ArgTypesReturn } from '@/types';
55

66
export const argtypes = (variants: IThemeObjectVariants, themeSelected: string): ArgTypesReturn => {
77
return {
8-
theme: {
8+
themeArgs: {
99
table: {
1010
disable: true,
1111
},

src/components/actionBottomSheet/stories/argtypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { ArgTypesReturn } from '@/types';
44

55
export const argtypes = (variants: IThemeObjectVariants, themeSelected: string): ArgTypesReturn => {
66
return {
7-
theme: {
7+
themeArgs: {
88
table: {
99
disable: true,
1010
},

src/components/avatar/stories/argtypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { AvatarBackgroundColor } from '../types';
88

99
export const argtypes = (variants: IThemeObjectVariants, themeSelected: string): ArgTypesReturn => {
1010
return {
11-
theme: {
11+
themeArgs: {
1212
table: {
1313
disable: true,
1414
},

src/components/backToTop/stories/argtypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { ArgTypesReturn } from '@/types';
44

55
export const argtypes = (variants: IThemeObjectVariants, themeSelected: string): ArgTypesReturn => {
66
return {
7-
theme: {
7+
themeArgs: {
88
table: {
99
disable: true,
1010
},

src/components/badge/stories/argtypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { ArgTypesReturn } from '@/types';
44

55
export const argtypes = (variants: IThemeObjectVariants, themeSelected: string): ArgTypesReturn => {
66
return {
7-
theme: {
7+
themeArgs: {
88
table: {
99
disable: true,
1010
},

src/components/breadcrumbs/stories/argtypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { ArgTypesReturn } from '@/types';
55

66
export const argtypes = (variants: IThemeObjectVariants, themeSelected: string): ArgTypesReturn => {
77
return {
8-
theme: {
8+
themeArgs: {
99
table: {
1010
disable: true,
1111
},

src/components/button/stories/argtypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { ButtonType, IconPositionType } from '../types';
66

77
export const argtypes = (variants: IThemeObjectVariants, themeSelected: string): ArgTypesReturn => {
88
return {
9-
theme: {
9+
themeArgs: {
1010
table: {
1111
disable: true,
1212
},

0 commit comments

Comments
 (0)