Skip to content

fix(RadioGroup): style typings #624

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 30 commits into from
Apr 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
5b8c5c2
fix(RadioGroup): style typings
tenphi Apr 3, 2025
bcb66d2
feat: remove cjs support
tenphi Apr 3, 2025
72bd192
chore: update node version
tenphi Apr 3, 2025
03f779a
chore: update node version * 2
tenphi Apr 3, 2025
2d670d4
chore: update node version * 3
tenphi Apr 3, 2025
85b589a
fix(Dialog): focus first element logic
tenphi Apr 3, 2025
d143076
fix(Dialog): focus on first primary button
tenphi Apr 4, 2025
52abf0f
fix(Dialog): focus on first primary button or input with autofocus
tenphi Apr 4, 2025
4176a1b
fix(DialogDialog): add hideOnClose option
tenphi Apr 4, 2025
33e9a27
fix(Dialog): focus on first primary button or input with autofocus * 2
tenphi Apr 4, 2025
673fd47
fix(ComboBox): support autoFocus
tenphi Apr 4, 2025
e5be037
fix(ComboBox): do not clear the input on blur
tenphi Apr 4, 2025
03996e8
chore: fix documentation in storybook
tenphi Apr 4, 2025
4957adf
chore: fix documentation in storybook * 3
tenphi Apr 4, 2025
a1db063
fix(ComboBox): remove inputValue setting
tenphi Apr 7, 2025
e287d8b
fix(ComboBox): allow selecting by enter
tenphi Apr 7, 2025
8bd42b6
fix(ComboBox): allow selecting by enter * 2
tenphi Apr 7, 2025
c8bb474
fix(ComboBox): allow selecting by enter * 3
tenphi Apr 7, 2025
ea60258
fix(ComboBox): allow selecting by enter * 4
tenphi Apr 7, 2025
873dbd0
fix(ComboBox): support for legacy field
tenphi Apr 8, 2025
4555cf8
fix(ComboBox): support for legacy field * 2
tenphi Apr 8, 2025
23f1c00
fix(ComboBox): support for legacy field * 3
tenphi Apr 8, 2025
66bdd39
fix(ComboBox): support for legacy field * 4
tenphi Apr 8, 2025
42065a8
fix(ComboBox): support for legacy field * 5
tenphi Apr 8, 2025
03101e3
fix(ComboBox): support for legacy field * 6
tenphi Apr 8, 2025
dadfce9
fix(ComboBox): support for legacy field * 7
tenphi Apr 8, 2025
c27d630
fix(ComboBox): support for legacy field * 8
tenphi Apr 8, 2025
5205d4c
fix(ComboBox): support for legacy field * 9
tenphi Apr 9, 2025
b4cd579
fix(Dialog): remove fixed header height
tenphi Apr 9, 2025
c453dd4
chore(ComboBox): storybook tests
tenphi Apr 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/brown-humans-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@cube-dev/ui-kit': patch
---

Fix RadioGroup style typings.
5 changes: 5 additions & 0 deletions .changeset/fast-lizards-raise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@cube-dev/ui-kit': minor
---

Remove CJS support.
5 changes: 5 additions & 0 deletions .changeset/giant-monkeys-sing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@cube-dev/ui-kit': minor
---

When a dialog is opened focus on the first input with autofocus or primary button.
5 changes: 5 additions & 0 deletions .changeset/nice-ducks-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@cube-dev/ui-kit': patch
---

Fixes the bug when ComboBox is cleared when bluring the input without making any change.
5 changes: 5 additions & 0 deletions .changeset/proud-colts-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@cube-dev/ui-kit': minor
---

Fixes various issues with ComboBox input typing and selection.
5 changes: 5 additions & 0 deletions .changeset/sweet-books-hope.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@cube-dev/ui-kit': minor
---

Remove inputValue abstraction from form fields.
13 changes: 12 additions & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// @ts-check
import remarkGfm from 'remark-gfm';

/** @type {import('@storybook/core-common').StorybookConfig} */
const config = {
Expand All @@ -18,7 +19,7 @@ const config = {
modernInlineRender: true,
},

stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
stories: ['../src/**/*.docs.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],

addons: [
'@storybook/addon-links',
Expand All @@ -32,6 +33,16 @@ const config = {
},
},
},
{
name: '@storybook/addon-docs',
options: {
mdxPluginOptions: {
mdxCompileOptions: {
remarkPlugins: [remarkGfm],
},
},
},
},
],

docs: {
Expand Down
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
"version": "0.57.0",
"description": "UIKit for Cube Projects",
"module": "dist/es/index.js",
"main": "dist/cjs/index.js",
"types": "dist/types/index.d.ts",
"sideEffects": false,
"packageManager": "[email protected]",
"exports": {
".": {
"import": "./dist/es/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
}
},
Expand All @@ -23,7 +21,6 @@
"start": "pnpm storybook",
"build": "npm-run-all clear:dist -p build:* && node ./scripts/copy-files.js && node scripts/add-banner.js && node scripts/replace-version.js",
"build:esm": "tsc -p tsconfig.es.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"watch": "pnpm build:esm --watch",
"test": "jest",
"test-cover": "jest --coverage",
Expand Down Expand Up @@ -82,6 +79,7 @@
"react-stately": "^3.35.0",
"react-transition-group": "^4.4.5",
"react-types": "^0.1.0",
"remark-gfm": "^4.0.1",
"tiny-invariant": "^1.3.3",
"usehooks-ts": "^3.1.0",
"valid-url": "^1.0.9"
Expand Down Expand Up @@ -117,7 +115,7 @@
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "14.2.0",
"@types/jest": "^29.5.12",
"@types/node": "^18.19.26",
"@types/node": "^18.19.86",
"@types/react": "^18.2.70",
"@types/react-dom": "^18.2.22",
"@types/react-is": "^18.2.4",
Expand Down Expand Up @@ -172,7 +170,7 @@
],
"license": "MIT",
"engines": {
"node": ">=18.0.0",
"node": ">=18.19.1",
"pnpm": "^9.0.0"
}
}
Loading
Loading