@kaizen/components 1.70.2 → 1.70.4
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/dist/cjs/LinkButton/LinkButton.cjs +2 -3
- package/dist/cjs/__rc__/Button/Button.module.css.cjs +2 -2
- package/dist/esm/LinkButton/LinkButton.mjs +1 -1
- package/dist/esm/__rc__/Button/Button.mjs +3 -3
- package/dist/esm/__rc__/Button/Button.module.css.mjs +2 -2
- package/dist/styles.css +8794 -8794
- package/locales/en-GB.json +1 -1
- package/locales/en.json +1 -1
- package/package.json +1 -1
- package/src/Filter/FilterBar/_docs/FilterBar.spec.stories.tsx +2 -2
- package/src/Filter/FilterBar/_docs/FilterBar.stories.tsx +2 -2
- package/src/LinkButton/LinkButton.tsx +1 -1
package/locales/en-GB.json
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"filterBar.addFiltersMenu.buttonLabel" : {
|
|
37
37
|
"description" : "Menu button label to show additional available filter options",
|
|
38
|
-
"message" : "Add
|
|
38
|
+
"message" : "Add filters"
|
|
39
39
|
},
|
|
40
40
|
"filterBar.clearAllButton.ariaLabel" : {
|
|
41
41
|
"description" : "Button aria-label to clear all values within the filter bar",
|
package/locales/en.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"filterBar.addFiltersMenu.buttonLabel": {
|
|
38
38
|
"description": "Menu button label to show additional available filter options",
|
|
39
|
-
"message": "Add
|
|
39
|
+
"message": "Add filters"
|
|
40
40
|
},
|
|
41
41
|
"filterBar.clearAllButton.ariaLabel": {
|
|
42
42
|
"description": "Button aria-label to clear all values within the filter bar",
|
package/package.json
CHANGED
|
@@ -157,7 +157,7 @@ export const ClearAllFromRemovable: Story = {
|
|
|
157
157
|
|
|
158
158
|
await step('removable filter is added with no value', async () => {
|
|
159
159
|
await waitFor(() => {
|
|
160
|
-
userEvent.click(canvas.getByRole('button', { name: 'Add
|
|
160
|
+
userEvent.click(canvas.getByRole('button', { name: 'Add filters' }))
|
|
161
161
|
})
|
|
162
162
|
|
|
163
163
|
await waitFor(() => {
|
|
@@ -205,7 +205,7 @@ export const ClearAllRemovesItself: Story = {
|
|
|
205
205
|
const canvas = within(canvasElement.parentElement!)
|
|
206
206
|
|
|
207
207
|
await step('removable filter is added with no value', async () => {
|
|
208
|
-
await waitFor(() => userEvent.click(canvas.getByRole('button', { name: 'Add
|
|
208
|
+
await waitFor(() => userEvent.click(canvas.getByRole('button', { name: 'Add filters' })))
|
|
209
209
|
await userEvent.click(canvas.getByRole('button', { name: 'Drank' }))
|
|
210
210
|
})
|
|
211
211
|
|
|
@@ -791,10 +791,10 @@ export const UpdatesLabels: Story = {
|
|
|
791
791
|
const canvas = within(canvasElement)
|
|
792
792
|
|
|
793
793
|
await step('Initial render complete', async () => {
|
|
794
|
-
await waitFor(() => canvas.getByRole('button', { name: 'Add
|
|
794
|
+
await waitFor(() => canvas.getByRole('button', { name: 'Add filters' }))
|
|
795
795
|
})
|
|
796
796
|
|
|
797
|
-
await userEvent.click(canvas.getByRole('button', { name: 'Add
|
|
797
|
+
await userEvent.click(canvas.getByRole('button', { name: 'Add filters' }))
|
|
798
798
|
|
|
799
799
|
expect(canvas.queryByText('Custom Range')).not.toBeInTheDocument()
|
|
800
800
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react'
|
|
2
2
|
import { Link as RACLink, type LinkProps as RACLinkProps } from 'react-aria-components'
|
|
3
3
|
import { type ButtonUIProps } from '~components/__rc__/Button'
|
|
4
|
-
import buttonStyles from '~components/__rc__/Button/Button.module.css'
|
|
5
4
|
import { ButtonContent } from '~components/__rc__/Button/subcomponents'
|
|
6
5
|
import { useReversedColors } from '~components/__utilities__/v3'
|
|
7
6
|
import { mergeClassNames } from '~components/utils/mergeClassNames'
|
|
7
|
+
import buttonStyles from '../__rc__/Button/Button.module.css'
|
|
8
8
|
import styles from './LinkButton.module.css'
|
|
9
9
|
|
|
10
10
|
export type LinkButtonProps = ButtonUIProps &
|