Skip to content

Commit 5d627ef

Browse files
authored
feat(FilterListBox): add component (#730)
1 parent fab5a77 commit 5d627ef

Some content is hidden

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

46 files changed

+9858
-1127
lines changed

.changeset/angry-boxes-speak.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cube-dev/ui-kit": patch
3+
---
4+
5+
Improve the layout of Menu component.

.changeset/clever-rings-float.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cube-dev/ui-kit": patch
3+
---
4+
5+
`wrapWithField` no longer wrap the input component with a field if no label is provided and `forceField` prop is not set.

.changeset/cool-pianos-lie.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cube-dev/ui-kit": patch
3+
---
4+
5+
Add a new icon ChartKPI.

.changeset/purple-carrots-jump.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cube-dev/ui-kit": minor
3+
---
4+
5+
Add FilterPicker component for single and multiple picker experience with a filter.

.changeset/short-humans-crash.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cube-dev/ui-kit": minor
3+
---
4+
5+
Split ListBox into two components: simple ListBox and FilterListBox with search input.

.cursor/rules/coding.mdc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
alwaysApply: true
3+
---
4+
5+
# Flow rules
6+
- Don't respond with "You're right!", "Great idea!" and so on. Get straight to the point.
7+
- **Stop and describe the reason**, if you can't closely implement the task or need a different approach from what was asked.
8+
- Do not run tests if you only changed stories or documentation since the last test run.
9+
10+
# Coding rules
11+
12+
- Use named imports from react (like `useCallback`) instead of using the `React` instance. Avoid: `React.useCallback`.

.size-limit.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = [
2020
}),
2121
);
2222
},
23-
limit: '270kB',
23+
limit: '279kB',
2424
},
2525
{
2626
name: 'Tree shaking (just a Button)',

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
"@react-types/shared": "^3.27.0",
7575
"@sparticuz/chromium": "^137.0.1",
7676
"@tabler/icons-react": "^3.31.0",
77+
"@tanstack/react-virtual": "^3.13.12",
7778
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
7879
"@vitejs/plugin-react": "^4.3.2",
7980
"clipboard-copy": "^4.0.1",

pnpm-lock.yaml

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/actions/Button/Button.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default {
2929
},
3030
},
3131
size: {
32-
options: ['small', 'medium', 'large'],
32+
options: ['tiny', 'small', 'medium', 'large'],
3333
control: { type: 'radio' },
3434
description: 'Button size',
3535
table: {

0 commit comments

Comments
 (0)