@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.
@@ -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 Filters"
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 Filters"
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaizen/components",
3
- "version": "1.70.2",
3
+ "version": "1.70.4",
4
4
  "description": "Kaizen component library",
5
5
  "author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
6
6
  "homepage": "https://cultureamp.design",
@@ -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 Filters' }))
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 Filters' })))
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 Filters' }))
794
+ await waitFor(() => canvas.getByRole('button', { name: 'Add filters' }))
795
795
  })
796
796
 
797
- await userEvent.click(canvas.getByRole('button', { name: 'Add Filters' }))
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 &