@box/blueprint-web 12.29.0 → 12.29.2

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.
@@ -3,7 +3,7 @@ import { ClockBadge, XMark } from '@box/blueprint-web-assets/icons/Fill';
3
3
  import { Gray65, Size4 } from '@box/blueprint-web-assets/tokens/tokens';
4
4
  import clsx from 'clsx';
5
5
  import { forwardRef, useRef, useCallback } from 'react';
6
- import { TimeField, Group, DateInput, DateSegment } from 'react-aria-components';
6
+ import { TimeField, DateInput, DateSegment } from 'react-aria-components';
7
7
  import { IconButton } from '../primitives/icon-button/icon-button.js';
8
8
  import { InlineError } from '../primitives/inline-error/inline-error.js';
9
9
  import { useLabelable } from '../util-components/labelable/useLabelable.js';
@@ -73,7 +73,7 @@ const TimePicker = /*#__PURE__*/forwardRef((props, forwardedRef) => {
73
73
  [styles.disabled]: isDisabled
74
74
  }),
75
75
  hideLabel: hideLabel
76
- }), jsxs(Group, {
76
+ }), jsxs("div", {
77
77
  className: clsx(styles.group, {
78
78
  [styles.error]: hasError
79
79
  }),
@@ -82,7 +82,7 @@ const TimePicker = /*#__PURE__*/forwardRef((props, forwardedRef) => {
82
82
  children: segment => jsx(DateSegment, {
83
83
  ref: node => {
84
84
  // We need to find the first actionable segment, i.e. spinbutton
85
- if (!firstSegmentRef.current && node.role === 'spinbutton') {
85
+ if (!firstSegmentRef.current && node?.role === 'spinbutton') {
86
86
  firstSegmentRef.current = node;
87
87
  }
88
88
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/blueprint-web",
3
- "version": "12.29.0",
3
+ "version": "12.29.2",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "publishConfig": {