@box/blueprint-web 12.129.0 → 12.130.0

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,16 +5,24 @@ export declare const AlertModal: {
5
5
  } & {
6
6
  PrimaryButton: import("react").ForwardRefExoticComponent<(Omit<import("../primitives/base-button").BaseButtonInterface & Required<Pick<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
7
7
  children?: string | string[];
8
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
8
+ icon?: import("../button/types").SvgIconComponent;
9
+ endIcon?: import("../button/types").SvgIconComponent;
10
+ startIcon?: import("../button/types").SvgIconComponent;
9
11
  }, "ref"> | Omit<import("../primitives/base-button").BaseButtonInterface & Partial<Record<keyof import("../primitives/base-button").Loading, never>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
10
12
  children?: string | string[];
11
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
13
+ icon?: import("../button/types").SvgIconComponent;
14
+ endIcon?: import("../button/types").SvgIconComponent;
15
+ startIcon?: import("../button/types").SvgIconComponent;
12
16
  }, "ref">) & import("react").RefAttributes<HTMLButtonElement>>;
13
17
  SecondaryButton: import("react").ForwardRefExoticComponent<(Omit<import("../primitives/base-button").BaseButtonInterface & Required<Pick<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
14
18
  children?: string | string[];
15
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
19
+ icon?: import("../button/types").SvgIconComponent;
20
+ endIcon?: import("../button/types").SvgIconComponent;
21
+ startIcon?: import("../button/types").SvgIconComponent;
16
22
  }, "ref"> | Omit<import("../primitives/base-button").BaseButtonInterface & Partial<Record<keyof import("../primitives/base-button").Loading, never>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
17
23
  children?: string | string[];
18
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
24
+ icon?: import("../button/types").SvgIconComponent;
25
+ endIcon?: import("../button/types").SvgIconComponent;
26
+ startIcon?: import("../button/types").SvgIconComponent;
19
27
  }, "ref">) & import("react").RefAttributes<HTMLButtonElement>>;
20
28
  };
@@ -6,16 +6,24 @@ import { type ModalFooterProps } from './types';
6
6
  export declare const ModalFooter: import("react").ForwardRefExoticComponent<ModalFooterProps & import("react").RefAttributes<HTMLDivElement>> & {
7
7
  PrimaryButton: import("react").ForwardRefExoticComponent<(Omit<import("../primitives/base-button").BaseButtonInterface & Required<Pick<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
8
8
  children?: string | string[];
9
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
9
+ icon?: import("../button/types").SvgIconComponent;
10
+ endIcon?: import("../button/types").SvgIconComponent;
11
+ startIcon?: import("../button/types").SvgIconComponent;
10
12
  }, "ref"> | Omit<import("../primitives/base-button").BaseButtonInterface & Partial<Record<keyof import("../primitives/base-button").Loading, never>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
11
13
  children?: string | string[];
12
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
14
+ icon?: import("../button/types").SvgIconComponent;
15
+ endIcon?: import("../button/types").SvgIconComponent;
16
+ startIcon?: import("../button/types").SvgIconComponent;
13
17
  }, "ref">) & import("react").RefAttributes<HTMLButtonElement>>;
14
18
  SecondaryButton: import("react").ForwardRefExoticComponent<(Omit<import("../primitives/base-button").BaseButtonInterface & Required<Pick<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
15
19
  children?: string | string[];
16
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
20
+ icon?: import("../button/types").SvgIconComponent;
21
+ endIcon?: import("../button/types").SvgIconComponent;
22
+ startIcon?: import("../button/types").SvgIconComponent;
17
23
  }, "ref"> | Omit<import("../primitives/base-button").BaseButtonInterface & Partial<Record<keyof import("../primitives/base-button").Loading, never>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
18
24
  children?: string | string[];
19
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
25
+ icon?: import("../button/types").SvgIconComponent;
26
+ endIcon?: import("../button/types").SvgIconComponent;
27
+ startIcon?: import("../button/types").SvgIconComponent;
20
28
  }, "ref">) & import("react").RefAttributes<HTMLButtonElement>>;
21
29
  };
@@ -33,17 +33,25 @@ export declare const Modal: (({ children, modal, ...props }: ModalProps) => impo
33
33
  Footer: import("react").ForwardRefExoticComponent<import("./types").ModalFooterProps & import("react").RefAttributes<HTMLDivElement>> & {
34
34
  PrimaryButton: import("react").ForwardRefExoticComponent<(Omit<import("../primitives/base-button").BaseButtonInterface & Required<Pick<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
35
35
  children?: string | string[];
36
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
36
+ icon?: import("../button/types").SvgIconComponent;
37
+ endIcon?: import("../button/types").SvgIconComponent;
38
+ startIcon?: import("../button/types").SvgIconComponent;
37
39
  }, "ref"> | Omit<import("../primitives/base-button").BaseButtonInterface & Partial<Record<keyof import("../primitives/base-button").Loading, never>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
38
40
  children?: string | string[];
39
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
41
+ icon?: import("../button/types").SvgIconComponent;
42
+ endIcon?: import("../button/types").SvgIconComponent;
43
+ startIcon?: import("../button/types").SvgIconComponent;
40
44
  }, "ref">) & import("react").RefAttributes<HTMLButtonElement>>;
41
45
  SecondaryButton: import("react").ForwardRefExoticComponent<(Omit<import("../primitives/base-button").BaseButtonInterface & Required<Pick<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
42
46
  children?: string | string[];
43
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
47
+ icon?: import("../button/types").SvgIconComponent;
48
+ endIcon?: import("../button/types").SvgIconComponent;
49
+ startIcon?: import("../button/types").SvgIconComponent;
44
50
  }, "ref"> | Omit<import("../primitives/base-button").BaseButtonInterface & Partial<Record<keyof import("../primitives/base-button").Loading, never>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
45
51
  children?: string | string[];
46
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
52
+ icon?: import("../button/types").SvgIconComponent;
53
+ endIcon?: import("../button/types").SvgIconComponent;
54
+ startIcon?: import("../button/types").SvgIconComponent;
47
55
  }, "ref">) & import("react").RefAttributes<HTMLButtonElement>>;
48
56
  };
49
57
  Header: import("react").ForwardRefExoticComponent<import("./types").ModalHeaderProps & import("react").RefAttributes<HTMLHeadingElement>>;
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import { Button } from '@ariakit/react';
3
3
  import clsx from 'clsx';
4
- import { forwardRef, useRef, useMemo, Children, isValidElement } from 'react';
4
+ import { forwardRef, useRef, useMemo } from 'react';
5
5
  import { useBlueprintModernization } from '../../blueprint-modernization-context/useBlueprintModernization.js';
6
6
  import { LoadingIndicator } from '../../loading-indicator/loading-indicator.js';
7
7
  import { getButtonOptions } from '../../utils/getButtonOptions.js';
@@ -10,8 +10,17 @@ import { BaseButtonContext } from './base-button-context.js';
10
10
  import { BaseButtonIcon } from './base-button-icon.js';
11
11
  import { BaseButtonLabel } from './base-button-label.js';
12
12
  import styles from './base-button.module.js';
13
- import { loadingIndicatorVariantMap } from './utils.js';
13
+ import { getButtonTypeFromChildren, loadingIndicatorVariantMap } from './utils.js';
14
14
 
15
+ const buttonTypeClassMap = {
16
+ 'icon-only': styles.isIconButton,
17
+ 'text-with-end-icon': styles.isTextWithIconEndButton,
18
+ 'text-with-start-icon': styles.isTextWithIconStartButton,
19
+ 'text-with-start-and-end-icon': styles.isTextWithStartAndEndIconButton
20
+ };
21
+ function getButtonClassName(variant, size, buttonType, loading, className) {
22
+ return clsx(styles.button, variant && styles[variant], size && styles[size], buttonTypeClassMap[buttonType], loading && styles.hide, className);
23
+ }
15
24
  const BaseButton = /*#__PURE__*/forwardRef((props, forwardedRef) => {
16
25
  const {
17
26
  children,
@@ -27,18 +36,7 @@ const BaseButton = /*#__PURE__*/forwardRef((props, forwardedRef) => {
27
36
  enableModernizedComponents
28
37
  } = useBlueprintModernization();
29
38
  const ref = useRef(null);
30
- const buttonType = useMemo(() => {
31
- const childArray = Children.toArray(children);
32
- const hasIcon = childArray.some(child => /*#__PURE__*/isValidElement(child) && child.type === BaseButtonIcon);
33
- const hasText = childArray.some(child => /*#__PURE__*/isValidElement(child) && child.type === BaseButtonLabel);
34
- if (hasIcon && hasText) {
35
- return 'text-with-icon';
36
- }
37
- if (hasIcon && !hasText) {
38
- return 'icon-only';
39
- }
40
- return 'text-only';
41
- }, [children]);
39
+ const buttonType = useMemo(() => getButtonTypeFromChildren(children, BaseButtonIcon, BaseButtonLabel), [children]);
42
40
  const context = useMemo(() => ({
43
41
  ariaLabel,
44
42
  loading,
@@ -50,11 +48,7 @@ const BaseButton = /*#__PURE__*/forwardRef((props, forwardedRef) => {
50
48
  ...rest,
51
49
  ref: useForkRef(ref, forwardedRef),
52
50
  "aria-label": loading ? undefined : ariaLabel,
53
- className: clsx([styles.button, styles[variant], styles[size]], {
54
- [styles.isIconButton]: buttonType === 'icon-only',
55
- [styles.isTextWithIconButton]: buttonType === 'text-with-icon',
56
- [styles.hide]: loading
57
- }, className),
51
+ className: getButtonClassName(variant, size, buttonType, loading, className),
58
52
  "data-modern": enableModernizedComponents ? 'true' : 'false',
59
53
  children: jsxs(BaseButtonContext.Provider, {
60
54
  value: context,
@@ -1,4 +1,4 @@
1
1
  import '../../index.css';
2
- var styles = {"button":"bp_base_button_module_button--a1f47","primary":"bp_base_button_module_primary--a1f47","secondary":"bp_base_button_module_secondary--a1f47","tertiary":"bp_base_button_module_tertiary--a1f47","outline":"bp_base_button_module_outline--a1f47","small":"bp_base_button_module_small--a1f47","isIconButton":"bp_base_button_module_isIconButton--a1f47","isTextWithIconButton":"bp_base_button_module_isTextWithIconButton--a1f47","large":"bp_base_button_module_large--a1f47","icon":"bp_base_button_module_icon--a1f47","hide":"bp_base_button_module_hide--a1f47"};
2
+ var styles = {"button":"bp_base_button_module_button--558f5","primary":"bp_base_button_module_primary--558f5","secondary":"bp_base_button_module_secondary--558f5","tertiary":"bp_base_button_module_tertiary--558f5","outline":"bp_base_button_module_outline--558f5","small":"bp_base_button_module_small--558f5","isIconButton":"bp_base_button_module_isIconButton--558f5","isTextWithIconEndButton":"bp_base_button_module_isTextWithIconEndButton--558f5","isTextWithIconStartButton":"bp_base_button_module_isTextWithIconStartButton--558f5","isTextWithStartAndEndIconButton":"bp_base_button_module_isTextWithStartAndEndIconButton--558f5","large":"bp_base_button_module_large--558f5","icon":"bp_base_button_module_icon--558f5","hide":"bp_base_button_module_hide--558f5"};
3
3
 
4
4
  export { styles as default };
@@ -22,7 +22,8 @@ export type BaseButtonIconProps = ComponentPropsWithRef<'span'> & {
22
22
  icon: FunctionComponent<PropsWithChildren<SVGProps<SVGSVGElement>>>;
23
23
  iconProps?: SVGProps<SVGSVGElement>;
24
24
  };
25
+ export type BaseButtonButtonType = 'text-only' | 'icon-only' | 'text-with-end-icon' | 'text-with-start-icon' | 'text-with-start-and-end-icon';
25
26
  export type BaseButtonContextType = Pick<BaseButtonProps, 'loading'> & Required<Pick<BaseButtonProps, 'variant' | 'size'>> & {
26
27
  ariaLabel?: BaseButtonProps['aria-label'];
27
- buttonType: 'text-only' | 'icon-only' | 'text-with-icon';
28
+ buttonType: BaseButtonButtonType;
28
29
  };
@@ -1,5 +1,9 @@
1
+ import { type ReactNode } from 'react';
1
2
  import { type LoadingIndicatorProps } from '../../loading-indicator/loading-indicator';
2
- import { type BaseButtonProps } from './types';
3
+ import { type BaseButtonIcon } from './base-button-icon';
4
+ import { type BaseButtonLabel } from './base-button-label';
5
+ import { type BaseButtonButtonType, type BaseButtonProps } from './types';
6
+ export declare function getButtonTypeFromChildren(children: ReactNode, baseButtonIcon: typeof BaseButtonIcon, baseButtonLabel: typeof BaseButtonLabel): BaseButtonButtonType;
3
7
  export declare const getIconSize: (buttonSize: NonNullable<BaseButtonProps["size"]>, isIconButton: boolean, enableModernizedComponents?: boolean) => {
4
8
  readonly width: string;
5
9
  readonly height: string;
@@ -1,5 +1,25 @@
1
1
  import { IconIconOnLight, TextCtaLink, IconIconOnDark, bpSize050, bpSize040, Size5, Size4, Size3 } from '@box/blueprint-web-assets/tokens/tokens';
2
+ import { Children, isValidElement } from 'react';
2
3
 
4
+ function getButtonTypeFromChildren(children, baseButtonIcon, baseButtonLabel) {
5
+ const childArray = Children.toArray(children);
6
+ const labelIndex = childArray.findIndex(child => /*#__PURE__*/isValidElement(child) && child.type === baseButtonLabel);
7
+ const hasText = labelIndex >= 0;
8
+ const iconIndices = childArray.map((child, index) => /*#__PURE__*/isValidElement(child) && child.type === baseButtonIcon ? index : -1).filter(i => i >= 0);
9
+ const positions = iconIndices.map(i => i < labelIndex ? 'start' : 'end');
10
+ const hasStartIcon = positions.includes('start');
11
+ const hasEndIcon = positions.includes('end');
12
+ if (!hasText && iconIndices.length >= 1) {
13
+ return 'icon-only';
14
+ }
15
+ if (hasText && iconIndices.length === 1) {
16
+ return positions[0] === 'start' ? 'text-with-start-icon' : 'text-with-end-icon';
17
+ }
18
+ if (hasText && hasStartIcon && hasEndIcon) {
19
+ return 'text-with-start-and-end-icon';
20
+ }
21
+ return 'text-only';
22
+ }
3
23
  const getIconSize = (buttonSize, isIconButton, enableModernizedComponents = false) => {
4
24
  const isLarge = buttonSize === 'large';
5
25
  let size;
@@ -30,4 +50,4 @@ const buttonVariantToIconColorMap = {
30
50
  outline: IconIconOnLight
31
51
  };
32
52
 
33
- export { buttonVariantToIconColorMap, getIconSize, loadingIndicatorVariantMap };
53
+ export { buttonVariantToIconColorMap, getButtonTypeFromChildren, getIconSize, loadingIndicatorVariantMap };
@@ -6,16 +6,24 @@ import { type SidePanelFooterProps } from './types';
6
6
  export declare const SidePanelFooter: import("react").ForwardRefExoticComponent<Omit<SidePanelFooterProps, "ref"> & import("react").RefAttributes<HTMLDivElement>> & {
7
7
  PrimaryButton: import("react").ForwardRefExoticComponent<(Omit<import("../primitives/base-button").BaseButtonInterface & Required<Pick<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
8
8
  children?: string | string[];
9
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
9
+ icon?: import("../button/types").SvgIconComponent;
10
+ endIcon?: import("../button/types").SvgIconComponent;
11
+ startIcon?: import("../button/types").SvgIconComponent;
10
12
  }, "ref"> | Omit<import("../primitives/base-button").BaseButtonInterface & Partial<Record<keyof import("../primitives/base-button").Loading, never>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
11
13
  children?: string | string[];
12
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
14
+ icon?: import("../button/types").SvgIconComponent;
15
+ endIcon?: import("../button/types").SvgIconComponent;
16
+ startIcon?: import("../button/types").SvgIconComponent;
13
17
  }, "ref">) & import("react").RefAttributes<HTMLButtonElement>>;
14
18
  SecondaryButton: import("react").ForwardRefExoticComponent<(Omit<import("../primitives/base-button").BaseButtonInterface & Required<Pick<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
15
19
  children?: string | string[];
16
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
20
+ icon?: import("../button/types").SvgIconComponent;
21
+ endIcon?: import("../button/types").SvgIconComponent;
22
+ startIcon?: import("../button/types").SvgIconComponent;
17
23
  }, "ref"> | Omit<import("../primitives/base-button").BaseButtonInterface & Partial<Record<keyof import("../primitives/base-button").Loading, never>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
18
24
  children?: string | string[];
19
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
25
+ icon?: import("../button/types").SvgIconComponent;
26
+ endIcon?: import("../button/types").SvgIconComponent;
27
+ startIcon?: import("../button/types").SvgIconComponent;
20
28
  }, "ref">) & import("react").RefAttributes<HTMLButtonElement>>;
21
29
  };
@@ -7,17 +7,25 @@ export declare const SidePanel: ((props: SidePanelProps) => import("react/jsx-ru
7
7
  Footer: import("react").ForwardRefExoticComponent<Omit<import("./types").SidePanelFooterProps, "ref"> & import("react").RefAttributes<HTMLDivElement>> & {
8
8
  PrimaryButton: import("react").ForwardRefExoticComponent<(Omit<import("../primitives/base-button").BaseButtonInterface & Required<Pick<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
9
9
  children?: string | string[];
10
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
10
+ icon?: import("../button/types").SvgIconComponent;
11
+ endIcon?: import("../button/types").SvgIconComponent;
12
+ startIcon?: import("../button/types").SvgIconComponent;
11
13
  }, "ref"> | Omit<import("../primitives/base-button").BaseButtonInterface & Partial<Record<keyof import("../primitives/base-button").Loading, never>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
12
14
  children?: string | string[];
13
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
15
+ icon?: import("../button/types").SvgIconComponent;
16
+ endIcon?: import("../button/types").SvgIconComponent;
17
+ startIcon?: import("../button/types").SvgIconComponent;
14
18
  }, "ref">) & import("react").RefAttributes<HTMLButtonElement>>;
15
19
  SecondaryButton: import("react").ForwardRefExoticComponent<(Omit<import("../primitives/base-button").BaseButtonInterface & Required<Pick<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
16
20
  children?: string | string[];
17
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
21
+ icon?: import("../button/types").SvgIconComponent;
22
+ endIcon?: import("../button/types").SvgIconComponent;
23
+ startIcon?: import("../button/types").SvgIconComponent;
18
24
  }, "ref"> | Omit<import("../primitives/base-button").BaseButtonInterface & Partial<Record<keyof import("../primitives/base-button").Loading, never>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
19
25
  children?: string | string[];
20
- icon?: import("react").FunctionComponent<import("react").PropsWithChildren<import("react").SVGProps<SVGSVGElement>>>;
26
+ icon?: import("../button/types").SvgIconComponent;
27
+ endIcon?: import("../button/types").SvgIconComponent;
28
+ startIcon?: import("../button/types").SvgIconComponent;
21
29
  }, "ref">) & import("react").RefAttributes<HTMLButtonElement>>;
22
30
  };
23
31
  Header: import("react").ForwardRefExoticComponent<Omit<import("./types").SidePanelHeaderProps, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
@@ -1,4 +1,4 @@
1
1
  import '../../index.css';
2
- var styles = {"smallList":"bp_base_grid_list_item_module_smallList--98669","smallListItem":"bp_base_grid_list_item_module_smallListItem--98669","header":"bp_base_grid_list_item_module_header--98669","subtitle":"bp_base_grid_list_item_module_subtitle--98669","loading":"bp_base_grid_list_item_module_loading--98669","thumbnail":"bp_base_grid_list_item_module_thumbnail--98669","thumbnailContent":"bp_base_grid_list_item_module_thumbnailContent--98669","actions":"bp_base_grid_list_item_module_actions--98669","selection":"bp_base_grid_list_item_module_selection--98669","inner":"bp_base_grid_list_item_module_inner--98669","actionsCheckboxWrapper":"bp_base_grid_list_item_module_actionsCheckboxWrapper--98669","largeList":"bp_base_grid_list_item_module_largeList--98669","largeListItem":"bp_base_grid_list_item_module_largeListItem--98669","fade":"bp_base_grid_list_item_module_fade--98669","description":"bp_base_grid_list_item_module_description--98669","snippet":"bp_base_grid_list_item_module_snippet--98669","snippetContent":"bp_base_grid_list_item_module_snippetContent--98669","gridList":"bp_base_grid_list_item_module_gridList--98669","gridListItem":"bp_base_grid_list_item_module_gridListItem--98669","statusPin":"bp_base_grid_list_item_module_statusPin--98669","isItemInteracted":"bp_base_grid_list_item_module_isItemInteracted--98669","tooltipContent":"bp_base_grid_list_item_module_tooltipContent--98669","tooltipArrow":"bp_base_grid_list_item_module_tooltipArrow--98669","gridListV2":"bp_base_grid_list_item_module_gridListV2--98669","gridListV2Item":"bp_base_grid_list_item_module_gridListV2Item--98669","noActions":"bp_base_grid_list_item_module_noActions--98669","thumbnailBadges":"bp_base_grid_list_item_module_thumbnailBadges--98669","statusBadge":"bp_base_grid_list_item_module_statusBadge--98669","fileTypePill":"bp_base_grid_list_item_module_fileTypePill--98669","textCentered":"bp_base_grid_list_item_module_textCentered--98669","innerCentered":"bp_base_grid_list_item_module_innerCentered--98669","gridListV2Small":"bp_base_grid_list_item_module_gridListV2Small--98669","gridV2ClickShield":"bp_base_grid_list_item_module_gridV2ClickShield--98669","listV2ClickShield":"bp_base_grid_list_item_module_listV2ClickShield--98669","listV2":"bp_base_grid_list_item_module_listV2--98669","listV2Item":"bp_base_grid_list_item_module_listV2Item--98669","listV2Divider":"bp_base_grid_list_item_module_listV2Divider--98669","content":"bp_base_grid_list_item_module_content--98669","staticList":"bp_base_grid_list_item_module_staticList--98669","staticListItem":"bp_base_grid_list_item_module_staticListItem--98669"};
2
+ var styles = {"smallList":"bp_base_grid_list_item_module_smallList--537f7","smallListItem":"bp_base_grid_list_item_module_smallListItem--537f7","header":"bp_base_grid_list_item_module_header--537f7","subtitle":"bp_base_grid_list_item_module_subtitle--537f7","loading":"bp_base_grid_list_item_module_loading--537f7","thumbnail":"bp_base_grid_list_item_module_thumbnail--537f7","thumbnailContent":"bp_base_grid_list_item_module_thumbnailContent--537f7","actions":"bp_base_grid_list_item_module_actions--537f7","selection":"bp_base_grid_list_item_module_selection--537f7","inner":"bp_base_grid_list_item_module_inner--537f7","actionsCheckboxWrapper":"bp_base_grid_list_item_module_actionsCheckboxWrapper--537f7","largeList":"bp_base_grid_list_item_module_largeList--537f7","largeListItem":"bp_base_grid_list_item_module_largeListItem--537f7","fade":"bp_base_grid_list_item_module_fade--537f7","description":"bp_base_grid_list_item_module_description--537f7","snippet":"bp_base_grid_list_item_module_snippet--537f7","snippetContent":"bp_base_grid_list_item_module_snippetContent--537f7","gridList":"bp_base_grid_list_item_module_gridList--537f7","gridListItem":"bp_base_grid_list_item_module_gridListItem--537f7","statusPin":"bp_base_grid_list_item_module_statusPin--537f7","isItemInteracted":"bp_base_grid_list_item_module_isItemInteracted--537f7","tooltipContent":"bp_base_grid_list_item_module_tooltipContent--537f7","tooltipArrow":"bp_base_grid_list_item_module_tooltipArrow--537f7","gridListV2":"bp_base_grid_list_item_module_gridListV2--537f7","gridListV2Item":"bp_base_grid_list_item_module_gridListV2Item--537f7","noActions":"bp_base_grid_list_item_module_noActions--537f7","thumbnailBadges":"bp_base_grid_list_item_module_thumbnailBadges--537f7","statusBadge":"bp_base_grid_list_item_module_statusBadge--537f7","fileTypePill":"bp_base_grid_list_item_module_fileTypePill--537f7","textCentered":"bp_base_grid_list_item_module_textCentered--537f7","innerCentered":"bp_base_grid_list_item_module_innerCentered--537f7","gridListV2Small":"bp_base_grid_list_item_module_gridListV2Small--537f7","gridV2ClickShield":"bp_base_grid_list_item_module_gridV2ClickShield--537f7","listV2ClickShield":"bp_base_grid_list_item_module_listV2ClickShield--537f7","listV2":"bp_base_grid_list_item_module_listV2--537f7","listV2Item":"bp_base_grid_list_item_module_listV2Item--537f7","listV2Divider":"bp_base_grid_list_item_module_listV2Divider--537f7","content":"bp_base_grid_list_item_module_content--537f7","staticList":"bp_base_grid_list_item_module_staticList--537f7","staticListItem":"bp_base_grid_list_item_module_staticListItem--537f7"};
3
3
 
4
4
  export { styles as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/blueprint-web",
3
- "version": "12.129.0",
3
+ "version": "12.130.0",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "publishConfig": {
@@ -47,7 +47,7 @@
47
47
  "dependencies": {
48
48
  "@ariakit/react": "0.4.15",
49
49
  "@ariakit/react-core": "0.4.15",
50
- "@box/blueprint-web-assets": "^4.97.1",
50
+ "@box/blueprint-web-assets": "^4.97.3",
51
51
  "@internationalized/date": "^3.7.0",
52
52
  "@radix-ui/react-accordion": "1.1.2",
53
53
  "@radix-ui/react-checkbox": "1.0.4",
@@ -77,7 +77,7 @@
77
77
  "type-fest": "^3.2.0"
78
78
  },
79
79
  "devDependencies": {
80
- "@box/storybook-utils": "^0.16.22",
80
+ "@box/storybook-utils": "^0.16.24",
81
81
  "@figma/code-connect": "1.3.12",
82
82
  "@types/react": "^18.0.0",
83
83
  "@types/react-dom": "^18.0.0",