@instructure/ui-date-input 11.7.9-snapshot-4 → 11.7.10-snapshot--1

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.
package/CHANGELOG.md CHANGED
@@ -3,12 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [11.7.9-snapshot-4](https://github.com/instructure/instructure-ui/compare/v11.7.8...v11.7.9-snapshot-4) (2026-10-13)
6
+ ## [11.7.10-snapshot--1](https://github.com/instructure/instructure-ui/compare/v11.7.8...v11.7.10-snapshot--1) (2026-10-14)
7
7
 
8
- **Note:** Version bump only for package @instructure/ui-date-input
8
+ ### Bug Fixes
9
+
10
+ * **many:** Stop wrapping form field controls in their label ([#2740](https://github.com/instructure/instructure-ui/issues/2740)) ([467269e](https://github.com/instructure/instructure-ui/commit/467269ea6d66c88ef9deb8bd14980730bbd645e8))
9
11
 
10
12
 
13
+ ## [11.7.9](https://github.com/instructure/instructure-ui/compare/v11.7.8...v11.7.9) (2026-10-13)
14
+
15
+ ### Bug Fixes
11
16
 
17
+ * **many:** Stop wrapping form field controls in their label ([#2740](https://github.com/instructure/instructure-ui/issues/2740)) ([467269e](https://github.com/instructure/instructure-ui/commit/467269ea6d66c88ef9deb8bd14980730bbd645e8))
12
18
 
13
19
 
14
20
  ## [11.7.8](https://github.com/instructure/instructure-ui/compare/v11.7.7...v11.7.8) (2026-10-02)
@@ -28,7 +28,7 @@ import { IconButton } from '@instructure/ui-buttons/latest';
28
28
  import { CalendarInstUIIcon, ChevronLeftInstUIIcon, ChevronRightInstUIIcon } from '@instructure/ui-icons';
29
29
  import { Popover } from '@instructure/ui-popover/latest';
30
30
  import { TextInput } from '@instructure/ui-text-input/latest';
31
- import { callRenderProp, passthroughProps, useDeterministicId } from '@instructure/ui-react-utils';
31
+ import { callRenderProp, passthroughProps } from '@instructure/ui-react-utils';
32
32
  import { getLocale, getTimezone } from '@instructure/ui-i18n';
33
33
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
34
34
  function parseLocaleDate(dateString = '', locale, timeZone) {
@@ -211,14 +211,11 @@ const DateInput = /*#__PURE__*/forwardRef(({
211
211
  onBlur?.(e, value || '', utcIsoDate);
212
212
  };
213
213
  const selectedDate = parseDate(value)[1];
214
- const labelId = useDeterministicId('TextInput-label')();
215
214
  return _jsx(TextInput, {
216
215
  ...passthroughProps(rest),
217
216
  ref: ref,
218
217
  inputRef: inputRef,
219
218
  renderLabel: renderLabel,
220
- labelId: labelId,
221
- "aria-labelledby": labelId,
222
219
  onChange: handleInputChange,
223
220
  onBlur: handleBlur,
224
221
  isRequired: isRequired,
@@ -217,14 +217,11 @@ const DateInput = exports.DateInput = /*#__PURE__*/(0, _react.forwardRef)(({
217
217
  onBlur?.(e, value || '', utcIsoDate);
218
218
  };
219
219
  const selectedDate = parseDate(value)[1];
220
- const labelId = (0, _uiReactUtils.useDeterministicId)('TextInput-label')();
221
220
  return (0, _jsxRuntime.jsx)(_latest4.TextInput, {
222
221
  ...(0, _uiReactUtils.passthroughProps)(rest),
223
222
  ref: ref,
224
223
  inputRef: inputRef,
225
224
  renderLabel: renderLabel,
226
- labelId: labelId,
227
- "aria-labelledby": labelId,
228
225
  onChange: handleInputChange,
229
226
  onBlur: handleBlur,
230
227
  isRequired: isRequired,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-date-input",
3
- "version": "11.7.9-snapshot-4",
3
+ "version": "11.7.10-snapshot--1",
4
4
  "description": "A UI component library made by Instructure Inc.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -15,23 +15,23 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.7",
18
- "@instructure/emotion": "11.7.9-snapshot-4",
19
- "@instructure/shared-types": "11.7.9-snapshot-4",
20
- "@instructure/ui-buttons": "11.7.9-snapshot-4",
21
- "@instructure/ui-calendar": "11.7.9-snapshot-4",
22
- "@instructure/ui-form-field": "11.7.9-snapshot-4",
23
- "@instructure/ui-i18n": "11.7.9-snapshot-4",
24
- "@instructure/ui-icons": "11.7.9-snapshot-4",
25
- "@instructure/ui-popover": "11.7.9-snapshot-4",
26
- "@instructure/ui-position": "11.7.9-snapshot-4",
27
- "@instructure/ui-react-utils": "11.7.9-snapshot-4",
28
- "@instructure/ui-selectable": "11.7.9-snapshot-4",
29
- "@instructure/ui-text-input": "11.7.9-snapshot-4",
30
- "@instructure/ui-utils": "11.7.9-snapshot-4"
18
+ "@instructure/emotion": "11.7.10-snapshot--1",
19
+ "@instructure/shared-types": "11.7.10-snapshot--1",
20
+ "@instructure/ui-buttons": "11.7.10-snapshot--1",
21
+ "@instructure/ui-calendar": "11.7.10-snapshot--1",
22
+ "@instructure/ui-form-field": "11.7.10-snapshot--1",
23
+ "@instructure/ui-i18n": "11.7.10-snapshot--1",
24
+ "@instructure/ui-icons": "11.7.10-snapshot--1",
25
+ "@instructure/ui-popover": "11.7.10-snapshot--1",
26
+ "@instructure/ui-position": "11.7.10-snapshot--1",
27
+ "@instructure/ui-react-utils": "11.7.10-snapshot--1",
28
+ "@instructure/ui-selectable": "11.7.10-snapshot--1",
29
+ "@instructure/ui-text-input": "11.7.10-snapshot--1",
30
+ "@instructure/ui-utils": "11.7.10-snapshot--1"
31
31
  },
32
32
  "devDependencies": {
33
- "@instructure/ui-babel-preset": "11.7.9-snapshot-4",
34
- "@instructure/ui-scripts": "11.7.9-snapshot-4",
33
+ "@instructure/ui-babel-preset": "11.7.10-snapshot--1",
34
+ "@instructure/ui-scripts": "11.7.10-snapshot--1",
35
35
  "vitest": "^5.0.0"
36
36
  },
37
37
  "peerDependencies": {
@@ -33,11 +33,7 @@ import {
33
33
  } from '@instructure/ui-icons'
34
34
  import { Popover } from '@instructure/ui-popover/latest'
35
35
  import { TextInput } from '@instructure/ui-text-input/latest'
36
- import {
37
- callRenderProp,
38
- passthroughProps,
39
- useDeterministicId
40
- } from '@instructure/ui-react-utils'
36
+ import { callRenderProp, passthroughProps } from '@instructure/ui-react-utils'
41
37
  import { getLocale, getTimezone } from '@instructure/ui-i18n'
42
38
 
43
39
  import type { DateInputProps } from './props'
@@ -262,7 +258,6 @@ const DateInput = forwardRef(
262
258
  }
263
259
 
264
260
  const selectedDate = parseDate(value)[1]
265
- const labelId = useDeterministicId('TextInput-label')()
266
261
 
267
262
  return (
268
263
  <TextInput
@@ -270,8 +265,6 @@ const DateInput = forwardRef(
270
265
  ref={ref}
271
266
  inputRef={inputRef}
272
267
  renderLabel={renderLabel}
273
- labelId={labelId}
274
- aria-labelledby={labelId}
275
268
  onChange={handleInputChange}
276
269
  onBlur={handleBlur}
277
270
  isRequired={isRequired}