@kaizen/components 1.80.0 → 1.80.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaizen/components",
3
- "version": "1.80.0",
3
+ "version": "1.80.1",
4
4
  "description": "Kaizen component library",
5
5
  "author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
6
6
  "homepage": "https://cultureamp.design",
@@ -102,26 +102,26 @@
102
102
  "kaizen-codemod": "./bin/codemod.sh"
103
103
  },
104
104
  "dependencies": {
105
- "@floating-ui/react-dom": "^2.1.2",
106
- "@headlessui/react": "^2.2.4",
107
- "@internationalized/date": "^3.8.1",
105
+ "@floating-ui/react-dom": "^2.1.4",
106
+ "@headlessui/react": "^2.2.6",
107
+ "@internationalized/date": "^3.8.2",
108
108
  "@popperjs/core": "^2.11.8",
109
109
  "@reach/tabs": "^0.18.0",
110
- "@react-aria/button": "^3.13.1",
111
- "@react-aria/datepicker": "^3.14.3",
112
- "@react-aria/focus": "^3.20.3",
113
- "@react-aria/i18n": "^3.12.9",
114
- "@react-aria/listbox": "^3.14.4",
115
- "@react-aria/menu": "^3.18.3",
116
- "@react-aria/overlays": "^3.27.1",
117
- "@react-aria/select": "^3.15.5",
118
- "@react-aria/utils": "^3.29.0",
119
- "@react-stately/collections": "^3.12.4",
120
- "@react-stately/datepicker": "^3.14.1",
121
- "@react-stately/list": "^3.12.2",
122
- "@react-stately/menu": "^3.9.4",
123
- "@react-stately/select": "^3.6.13",
124
- "@react-types/shared": "^3.29.1",
110
+ "@react-aria/button": "^3.13.3",
111
+ "@react-aria/datepicker": "^3.14.5",
112
+ "@react-aria/focus": "^3.20.5",
113
+ "@react-aria/i18n": "^3.12.10",
114
+ "@react-aria/listbox": "^3.14.6",
115
+ "@react-aria/menu": "^3.18.5",
116
+ "@react-aria/overlays": "^3.27.3",
117
+ "@react-aria/select": "^3.15.7",
118
+ "@react-aria/utils": "^3.29.1",
119
+ "@react-stately/collections": "^3.12.5",
120
+ "@react-stately/datepicker": "^3.14.2",
121
+ "@react-stately/list": "^3.12.3",
122
+ "@react-stately/menu": "^3.9.5",
123
+ "@react-stately/select": "^3.6.14",
124
+ "@react-types/shared": "^3.30.0",
125
125
  "classnames": "^2.5.1",
126
126
  "date-fns": "^4.1.0",
127
127
  "lodash.debounce": "^4.0.8",
@@ -130,24 +130,24 @@
130
130
  "prosemirror-history": "^1.4.1",
131
131
  "prosemirror-inputrules": "^1.5.0",
132
132
  "prosemirror-keymap": "^1.2.3",
133
- "prosemirror-model": "^1.25.1",
133
+ "prosemirror-model": "^1.25.2",
134
134
  "prosemirror-schema-basic": "^1.2.4",
135
135
  "prosemirror-schema-list": "^1.5.1",
136
136
  "prosemirror-state": "^1.4.3",
137
137
  "prosemirror-transform": "^1.10.4",
138
138
  "prosemirror-utils": "^1.2.2",
139
- "prosemirror-view": "^1.39.3",
139
+ "prosemirror-view": "^1.40.1",
140
140
  "react-animate-height": "^3.2.3",
141
- "react-aria": "^3.40.0",
142
- "react-aria-components": "^1.9.0",
141
+ "react-aria": "^3.41.1",
142
+ "react-aria-components": "^1.10.1",
143
143
  "react-day-picker": "9.6.7",
144
144
  "react-focus-lock": "^2.13.6",
145
- "react-focus-on": "^3.9.4",
145
+ "react-focus-on": "^3.10.0",
146
146
  "react-popper": "^2.3.0",
147
- "react-select": "^5.10.1",
147
+ "react-select": "^5.10.2",
148
148
  "react-textfit": "^1.1.1",
149
149
  "resize-observer-polyfill": "^1.5.1",
150
- "use-debounce": "^10.0.4",
150
+ "use-debounce": "^10.0.5",
151
151
  "uuid": "^11.1.0"
152
152
  },
153
153
  "dependenciesComments": {
@@ -155,9 +155,9 @@
155
155
  },
156
156
  "devDependencies": {
157
157
  "@cultureamp/frontend-apis": "13.3.0",
158
- "@cultureamp/i18n-react-intl": "^2.9.1",
158
+ "@cultureamp/i18n-react-intl": "^2.12.2",
159
159
  "@cultureamp/package-bundler": "^2.3.2",
160
- "@testing-library/dom": "^10.4.0",
160
+ "@testing-library/dom": "^10.4.1",
161
161
  "@types/jest-axe": "^3.5.9",
162
162
  "@types/lodash.debounce": "^4.0.9",
163
163
  "@types/react-highlight": "^0.12.8",
@@ -169,23 +169,23 @@
169
169
  "jest-axe": "^10.0.0",
170
170
  "lodash.isempty": "^4.4.0",
171
171
  "normalize.css": "^8.0.1",
172
- "postcss": "^8.5.3",
172
+ "postcss": "^8.5.6",
173
173
  "postcss-cli": "^11.0.1",
174
- "postcss-import": "^16.1.0",
175
- "postcss-preset-env": "^10.1.6",
174
+ "postcss-import": "^16.1.1",
175
+ "postcss-preset-env": "^10.2.4",
176
176
  "postcss-scss": "^4.0.9",
177
- "query-string": "^9.2.0",
178
- "react": "^19.0.0",
179
- "react-dom": "^19.0.0",
177
+ "query-string": "^9.2.2",
178
+ "react": "^19.1.0",
179
+ "react-dom": "^19.1.0",
180
180
  "react-highlight": "^0.15.0",
181
181
  "react-intl": "^7.1.11",
182
- "rollup": "^4.40.2",
182
+ "rollup": "^4.46.1",
183
183
  "sass": "1.79.6",
184
184
  "serialize-query-params": "^2.0.2",
185
185
  "svgo": "^3.3.2",
186
186
  "tslib": "^2.8.1",
187
187
  "ts-patch": "^3.3.0",
188
- "tsx": "^4.19.4",
188
+ "tsx": "^4.20.3",
189
189
  "@kaizen/design-tokens": "10.10.0"
190
190
  },
191
191
  "devDependenciesComments": {
@@ -3,6 +3,7 @@ import type { Selection } from '@react-types/shared'
3
3
  import type { Meta, StoryObj } from '@storybook/react'
4
4
  import { expect, userEvent, waitFor, within } from '@storybook/test'
5
5
  import isChromatic from 'chromatic'
6
+ import { Card } from '~components/Card'
6
7
  import { InlineNotification } from '~components/Notification'
7
8
  import { TextField } from '~components/TextField'
8
9
  import { FilterMultiSelect, getSelectedOptionLabels } from '..'
@@ -323,6 +324,39 @@ const sourceCode = `
323
324
  </FilterMultiSelect>
324
325
  `
325
326
 
327
+ export const WithContentBelow: Story = {
328
+ ...FilterMultiSelectTemplate,
329
+ decorators: [
330
+ (Story) => (
331
+ <div>
332
+ <Story />
333
+ <Card classNameOverride="mt-24 p-12" isElevated>
334
+ <p>
335
+ Lorem ipsum dolor, sit amet consectetur adipisicing elit. Veritatis libero dolore
336
+ pariatur enim voluptates aperiam, delectus, harum cum earum quibusdam quos porro
337
+ explicabo quisquam sapiente cupiditate quae hic, minus nam.
338
+ </p>
339
+ </Card>
340
+ </div>
341
+ ),
342
+ ],
343
+ parameters: {
344
+ chromatic: {
345
+ disable: false,
346
+ },
347
+ },
348
+ play: async ({ canvasElement, step }) => {
349
+ const canvas = within(canvasElement.parentElement!)
350
+ const triggerButton = await canvas.findByRole('button', {
351
+ name: /Engineer/i,
352
+ })
353
+ await step('Trigger opens the FilterMultiSelect dialog', async () => {
354
+ await userEvent.click(triggerButton)
355
+ await waitFor(() => expect(canvas.getByRole('option', { name: /Front-End/i })).toBeVisible())
356
+ })
357
+ },
358
+ }
359
+
326
360
  export const AboveIfAvailable: Story = {
327
361
  ...WithSectionNotification,
328
362
  name: 'With customMenuPopup and vertical placement',
@@ -1,6 +1,7 @@
1
1
  @layer kz-components {
2
2
  .menuPopup {
3
3
  /* from $ca-z-index-dropdown */
4
+ position: absolute;
4
5
  z-index: 1000;
5
6
  box-sizing: border-box;
6
7
  background: var(--color-white);
@@ -11,10 +12,10 @@
11
12
  margin-top: var(--spacing-6);
12
13
  text-align: start;
13
14
  width: var(--menu-container-width, 294px);
14
- max-height: var(--menu-container-height, 500px);
15
15
  }
16
16
 
17
17
  .menuPopup[popover]:popover-open {
18
+ max-height: var(--menu-container-height, 500px);
18
19
  z-index: unset;
19
20
  margin: 0;
20
21
  inset: unset;