Skip to content

Commit e13e6a4

Browse files
author
Kubit
committed
Update package and fix typescript errors
1 parent 5199f9a commit e13e6a4

File tree

3 files changed

+25
-21
lines changed

3 files changed

+25
-21
lines changed

package.json

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kubit-ui-web/react-components",
3-
"version": "1.10.0",
3+
"version": "1.10.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",
@@ -39,7 +39,11 @@
3939
"web-components",
4040
"react",
4141
"storybook",
42-
"typescript"
42+
"typescript",
43+
"kubit",
44+
"kubit-ui",
45+
"kubit-react",
46+
"kubit-components"
4347
],
4448
"scripts": {
4549
"jest": "jest",
@@ -88,17 +92,17 @@
8892
"@babel/preset-typescript": "^7.24.7",
8993
"@eslint/compat": "^1.1.1",
9094
"@eslint/eslintrc": "^3.1.0",
91-
"@eslint/js": "^9.8.0",
92-
"@storybook/addon-a11y": "^8.2.7",
93-
"@storybook/addon-controls": "^8.2.7",
95+
"@eslint/js": "^9.9.0",
96+
"@storybook/addon-a11y": "^8.2.9",
97+
"@storybook/addon-controls": "^8.2.9",
9498
"@storybook/addon-coverage": "^1.0.4",
95-
"@storybook/addon-essentials": "^8.2.7",
96-
"@storybook/addon-interactions": "^8.2.7",
97-
"@storybook/addon-links": "^8.2.7",
98-
"@storybook/addon-themes": "^8.2.7",
99-
"@storybook/blocks": "^8.2.7",
100-
"@storybook/react": "^8.2.7",
101-
"@storybook/react-vite": "^8.2.7",
99+
"@storybook/addon-essentials": "^8.2.9",
100+
"@storybook/addon-interactions": "^8.2.9",
101+
"@storybook/addon-links": "^8.2.9",
102+
"@storybook/addon-themes": "^8.2.9",
103+
"@storybook/blocks": "^8.2.9",
104+
"@storybook/react": "^8.2.9",
105+
"@storybook/react-vite": "^8.2.9",
102106
"@testing-library/jest-dom": "^6.4.8",
103107
"@testing-library/react": "^16.0.0",
104108
"@testing-library/react-hooks": "^8.0.1",
@@ -111,18 +115,18 @@
111115
"@types/react-dom": "^18.3.0",
112116
"@types/styled-components": "^5.1.34",
113117
"@types/ungap__structured-clone": "^1.2.0",
114-
"@typescript-eslint/eslint-plugin": "^8.0.1",
115-
"@typescript-eslint/parser": "^8.0.1",
118+
"@typescript-eslint/eslint-plugin": "^8.1.0",
119+
"@typescript-eslint/parser": "^8.1.0",
116120
"@ungap/structured-clone": "^1.2.0",
117121
"@vitejs/plugin-react": "^4.3.1",
118122
"babel-jest": "^29.7.0",
119123
"cpy-cli": "^5.0.0",
120-
"eslint": "^9.8.0",
124+
"eslint": "^9.9.0",
121125
"eslint-config-prettier": "^9.1.0",
122126
"eslint-config-standard-with-typescript": "^43.0.1",
123127
"eslint-import-resolver-typescript": "^3.6.1",
124128
"eslint-plugin-import": "^2.29.1",
125-
"eslint-plugin-jest": "^28.7.0",
129+
"eslint-plugin-jest": "^28.8.0",
126130
"eslint-plugin-jsx-a11y": "^6.9.0",
127131
"eslint-plugin-n": "^17.10.2",
128132
"eslint-plugin-node": "^11.1.0",
@@ -132,7 +136,7 @@
132136
"eslint-plugin-react-hooks": "^4.6.2",
133137
"eslint-plugin-react-refresh": "^0.4.9",
134138
"eslint-plugin-storybook": "^0.8.0",
135-
"eslint-plugin-unused-imports": "^4.0.1",
139+
"eslint-plugin-unused-imports": "^4.1.3",
136140
"globals": "^15.9.0",
137141
"gts": "^5.3.1",
138142
"html-validate": "^8.21.0",
@@ -147,13 +151,13 @@
147151
"prettier": "^3.3.3",
148152
"react-transition-group": "^4.4.5",
149153
"sort-imports": "^1.1.0",
150-
"storybook": "^8.2.7",
154+
"storybook": "^8.2.9",
151155
"ts-jest": "^29.2.4",
152156
"tsc-alias": "1.8.10",
153157
"typedoc": "^0.26.5",
154158
"typedoc-plugin-markdown": "^4.2.3",
155159
"typescript": "^5.5.4",
156-
"vite": "^5.3.5",
160+
"vite": "^5.4.0",
157161
"vite-tsconfig-paths": "^4.3.2",
158162
"yarn-deduplicate": "^6.0.2"
159163
},

src/components/pillV2/pill.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { getPillState } from './utils';
99

1010
const PillComponent = (
1111
{ variant, size, ctv, selected = false, disabled = false, ...props }: IPill,
12-
ref: React.ForwardedRef<HTMLDivElement>
12+
ref: React.LegacyRef<HTMLButtonElement> | undefined
1313
) => {
1414
const variantStyles = useStylesV2<PillVariantPropsStylesType>({
1515
styleName: STYLES_NAME.PILL_V2,

src/components/pillV2/pillStandAlone.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { IPillStandAlone, PillType } from './types';
1818

1919
const PillStandAloneComponent = (
2020
{ dataTestId = 'pill', type = PillType.BUTTON, ...props }: IPillStandAlone,
21-
ref: React.ForwardedRef<HTMLDivElement> | undefined | null
21+
ref: React.ForwardedRef<HTMLButtonElement> | undefined | null
2222
): JSX.Element => {
2323
const id = useId('pill');
2424
const pillContentId = `${id}-content`;

0 commit comments

Comments
 (0)