@box/blueprint-web 7.2.3 → 7.3.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.
@@ -1,32 +1,30 @@
1
1
  export * from './accordion';
2
2
  export * from './actionable-inline-notice';
3
3
  export * from './avatar';
4
- export * from './button';
5
- export * from './collapsible';
6
- export * from './date-picker';
7
- export * from './divider';
8
- export * from './grid-list-item';
9
- export * from './large-list-item';
10
- export * from './navigation-menu';
11
- export * from './small-list-item';
12
- export * from './text-input';
13
4
  export * from './branding-styles';
5
+ export * from './button';
14
6
  export * from './card';
15
7
  export * from './card-tooltip';
16
8
  export * from './checkbox';
9
+ export * from './collapsible';
17
10
  export * from './combobox';
18
11
  export * from './content-card';
19
12
  export * from './content-field';
20
13
  export * from './data-table/data-table';
14
+ export * from './date-picker';
15
+ export * from './divider';
21
16
  export * from './empty-state';
22
17
  export * from './ghost';
18
+ export * from './grid-list-item';
23
19
  export * from './guided-tooltip';
24
20
  export * from './inline-notice/inline-notice';
25
21
  export * from './inline-table/inline-table';
26
22
  export * from './input-chip';
23
+ export * from './large-list-item';
27
24
  export * from './list-item/list-item';
28
25
  export * from './loading-indicator/loading-indicator';
29
26
  export * from './modal';
27
+ export * from './navigation-menu';
30
28
  export * from './primitives/calendar';
31
29
  export * from './primitives/chips/filter-chip';
32
30
  export * from './primitives/context-menu';
@@ -46,15 +44,17 @@ export * from './search-input';
46
44
  export * from './select';
47
45
  export * from './side-panel';
48
46
  export * from './slider';
47
+ export * from './small-list-item';
49
48
  export * from './status';
50
49
  export * from './switch';
51
50
  export * from './text';
52
51
  export * from './text-area';
53
52
  export * from './text-button';
53
+ export * from './text-input';
54
54
  export * from './toolbar';
55
55
  export * from './tooltip';
56
56
  export * from './trigger-button';
57
- export * from './util-components/scrollable-container/scrollable-container';
58
57
  export * from './util-components/focus-trap';
59
- export * from './utils/useBreakpoint';
58
+ export * from './util-components/scrollable-container/scrollable-container';
60
59
  export * from './utils/keyboardUtils';
60
+ export * from './utils/useBreakpoint';
package/lib-esm/index.js CHANGED
@@ -1,34 +1,32 @@
1
1
  export { Accordion } from './accordion/accordion.js';
2
2
  export { ActionableInlineNotice } from './actionable-inline-notice/index.js';
3
3
  export { Avatar } from './avatar/avatar.js';
4
- export { Button } from './button/button.js';
5
- export { CollapsibleSection } from './collapsible/collapsible-section.js';
6
- export { DatePicker } from './date-picker/date-picker.js';
7
- export { Divider } from './divider/divider.js';
8
- export { GridList } from './grid-list-item/index.js';
9
- export { LargeList } from './large-list-item/index.js';
10
- export { NavigationMenu } from './navigation-menu/index.js';
11
- export { SmallList } from './small-list-item/index.js';
12
- export { TextInput } from './text-input/text-input.js';
13
4
  export { BrandingStyles } from './branding-styles/branding-styles.js';
14
5
  export { useCustomBranding } from './branding-styles/useCustomBranding.js';
6
+ export { Button } from './button/button.js';
15
7
  export { Card } from './card/card.js';
16
8
  export { CardTooltip } from './card-tooltip/card-tooltip.js';
17
9
  export { Checkbox } from './checkbox/index.js';
10
+ export { CollapsibleSection } from './collapsible/collapsible-section.js';
18
11
  export { Combobox, Root } from './combobox/combobox.js';
19
12
  export { ContentCard } from './content-card/content-card.js';
20
13
  export { ContentField } from './content-field/content-field.js';
21
14
  export { DataTableWrapper, StickyCell } from './data-table/data-table.js';
15
+ export { DatePicker } from './date-picker/date-picker.js';
16
+ export { Divider } from './divider/divider.js';
22
17
  export { EmptyState } from './empty-state/empty-state.js';
23
18
  export { Ghost } from './ghost/ghost.js';
19
+ export { GridList } from './grid-list-item/index.js';
24
20
  export { GuidedTooltip } from './guided-tooltip/guided-tooltip.js';
25
21
  export { GuidedTooltipContext } from './guided-tooltip/utils/guided-tooltip-context.js';
26
22
  export { InlineNotice } from './inline-notice/inline-notice.js';
27
23
  export { InlineTable } from './inline-table/inline-table.js';
28
24
  export { InputChip } from './input-chip/input-chip.js';
25
+ export { LargeList } from './large-list-item/index.js';
29
26
  export { ActionCell, Cell, Column, DropIndicator, Row, Table, TableBody, TableHeader } from './list-item/list-item.js';
30
27
  export { LoadingIndicator } from './loading-indicator/loading-indicator.js';
31
28
  export { Modal } from './modal/modal.js';
29
+ export { NavigationMenu } from './navigation-menu/index.js';
32
30
  export { Calendar } from './primitives/calendar/calendar.js';
33
31
  export { CalendarDate, CalendarDateTime, DateFormatter, Time, ZonedDateTime } from './primitives/calendar/classes.util.js';
34
32
  export { fromAbsolute } from './primitives/calendar/from-absolute.util.js';
@@ -59,17 +57,19 @@ export { SearchInput } from './search-input/index.js';
59
57
  export { SELECT_EMPTY_VALUE, Select } from './select/select.js';
60
58
  export { SidePanel } from './side-panel/side-panel.js';
61
59
  export { Slider } from './slider/slider.js';
60
+ export { SmallList } from './small-list-item/index.js';
62
61
  export { Status } from './status/status.js';
63
62
  export { Switch } from './switch/index.js';
64
63
  export { Text } from './text/text.js';
65
64
  export { TextArea } from './text-area/text-area.js';
66
65
  export { TextButton } from './text-button/text-button.js';
66
+ export { TextInput } from './text-input/text-input.js';
67
67
  export { Toolbar } from './toolbar/index.js';
68
68
  export { Tooltip, TooltipProvider } from './tooltip/tooltip.js';
69
69
  export { TriggerButton } from './trigger-button/trigger-button.js';
70
- export { ScrollContext, ScrollableContainer, useScroll, useScrollContext } from './util-components/scrollable-container/scrollable-container.js';
71
70
  export { FocusTrap } from './util-components/focus-trap/focus-trap.js';
72
- export { Breakpoint, useBreakpoint } from './utils/useBreakpoint.js';
71
+ export { ScrollContext, ScrollableContainer, useScroll, useScrollContext } from './util-components/scrollable-container/scrollable-container.js';
73
72
  export { isCtrlKeyPressed, isDeleteKeyPressed, keys } from './utils/keyboardUtils.js';
73
+ export { Breakpoint, useBreakpoint } from './utils/useBreakpoint.js';
74
74
  export { useNotification } from './primitives/notification/notification-provider.js';
75
75
  export { useTabs } from './primitives/tabs/use-tabs.js';
@@ -26,7 +26,6 @@ const RadioItem = /*#__PURE__*/forwardRef((props, ref) => {
26
26
  ...rest,
27
27
  ref: ref,
28
28
  "aria-describedby": descriptionId,
29
- "aria-label": label,
30
29
  className: styles.radioButton,
31
30
  disabled: disabled,
32
31
  value: value,
@@ -1,11 +1,12 @@
1
1
  import { type RadioGroupItemProps, type RadioGroupProps as RadixRadioGroupProps } from '@radix-ui/react-radio-group';
2
+ import { type ReactNode } from 'react';
2
3
  import { type StyledText } from '../utils/commonTypes';
3
4
  export type RadioGroupProps = RadixRadioGroupProps;
4
5
  export interface RadioItemProps extends RadioGroupItemProps {
5
6
  /** The value given as data when submitted with a name. */
6
7
  value: string;
7
8
  /** The label for the radio button. */
8
- label: string;
9
+ label: ReactNode;
9
10
  /** Additional text to aid in use. */
10
11
  description?: StyledText;
11
12
  /** When true, prevents the user from interacting with the radio item */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/blueprint-web",
3
- "version": "7.2.3",
3
+ "version": "7.3.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -55,10 +55,10 @@
55
55
  "type-fest": "^3.2.0"
56
56
  },
57
57
  "devDependencies": {
58
- "@box/storybook-utils": "^0.1.0",
58
+ "@box/storybook-utils": "^0.2.0",
59
59
  "react-stately": "^3.31.1"
60
60
  },
61
- "gitHead": "07b80bd95765ef004d4970ca69d48be574fe6c18",
61
+ "gitHead": "be4d2575ba424d38f85127842fd567d915b1ef7f",
62
62
  "module": "lib-esm/index.js",
63
63
  "main": "lib-esm/index.js",
64
64
  "exports": {