@kaizen/components 0.0.0-canary-react-19-peer-20250303024542 → 0.0.0-canary-react-19-peer-20250303031741

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.
@@ -5,7 +5,7 @@ type ButtonAttributes = ButtonHTMLAttributes<HTMLButtonElement>;
5
5
  type AnchorButtonAttributes = AnchorAttributes & ButtonAttributes;
6
6
  export type BaseButtonProps = {
7
7
  label: string;
8
- icon?: React.SVGAttributes<SVGSymbolElement>;
8
+ icon?: React.ReactNode;
9
9
  isReversed?: boolean;
10
10
  } & OverrideClassName<AnchorButtonAttributes>;
11
11
  export declare const BaseButton: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaizen/components",
3
- "version": "0.0.0-canary-react-19-peer-20250303024542",
3
+ "version": "0.0.0-canary-react-19-peer-20250303031741",
4
4
  "description": "Kaizen component library",
5
5
  "author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
6
6
  "homepage": "https://cultureamp.design",
@@ -185,7 +185,7 @@
185
185
  "svgo": "^3.3.2",
186
186
  "tslib": "^2.8.1",
187
187
  "tsx": "^4.19.2",
188
- "@kaizen/design-tokens": "0.0.0-canary-react-19-peer-20250303024542",
188
+ "@kaizen/design-tokens": "0.0.0-canary-react-19-peer-20250303031741",
189
189
  "@kaizen/package-bundler": "2.0.4"
190
190
  },
191
191
  "devDependenciesComments": {
@@ -29,7 +29,7 @@ export type AvatarGroupProps = {
29
29
  avatars: AvatarList
30
30
  } & OverrideClassName<HTMLAttributes<HTMLUListElement>>
31
31
 
32
- const renderCounter = (remainingAvatars: number): JSX.Element | void => {
32
+ const renderCounter = (remainingAvatars: number): JSX.Element | undefined => {
33
33
  if (remainingAvatars <= 0) return
34
34
  return (
35
35
  <li
@@ -12,7 +12,7 @@ const isAnchor = (attributes: AnchorButtonAttributes): boolean =>
12
12
 
13
13
  export type BaseButtonProps = {
14
14
  label: string
15
- icon?: React.SVGAttributes<SVGSymbolElement>
15
+ icon?: React.ReactNode
16
16
  isReversed?: boolean
17
17
  } & OverrideClassName<AnchorButtonAttributes>
18
18
 
package/src/Tag/Tag.tsx CHANGED
@@ -71,7 +71,7 @@ export const Tag = (props: TagProps): JSX.Element => {
71
71
  <div className={styles.layoutContainer}>
72
72
  <>
73
73
  {canShowIcon &&
74
- ((): JSX.Element | void => {
74
+ ((): JSX.Element | undefined => {
75
75
  switch (props.variant) {
76
76
  case 'validationPositive':
77
77
  return (
@@ -130,7 +130,7 @@ export const GenericTile = ({
130
130
  return informationProp
131
131
  }
132
132
 
133
- const renderBack = (): JSX.Element | void => {
133
+ const renderBack = (): JSX.Element | undefined => {
134
134
  if (!information) return
135
135
 
136
136
  const returnButtonLabel = formatMessage({
@@ -21,7 +21,7 @@ import {
21
21
  import { createTabletOverflowMenuItems, isReversed } from './utils'
22
22
  import styles from './TitleBlockZen.module.scss'
23
23
 
24
- const renderTag = (surveyStatus: SurveyStatus): JSX.Element | void => {
24
+ const renderTag = (surveyStatus: SurveyStatus): JSX.Element | undefined => {
25
25
  let tagVariant: React.ComponentPropsWithoutRef<typeof Tag>['variant']
26
26
 
27
27
  if (tagVariant === 'profile') {