@instructure/ui-checkbox 11.7.5-snapshot-33 → 11.7.5-snapshot-36

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,9 +3,12 @@
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.5-snapshot-33](https://github.com/instructure/instructure-ui/compare/v11.7.4...v11.7.5-snapshot-33) (2026-08-07)
6
+ ## [11.7.5-snapshot-36](https://github.com/instructure/instructure-ui/compare/v11.7.4...v11.7.5-snapshot-36) (2026-08-12)
7
7
 
8
- **Note:** Version bump only for package @instructure/ui-checkbox
8
+
9
+ ### Bug Fixes
10
+
11
+ * **ui-checkbox:** fix message indentation ([dfaa13a](https://github.com/instructure/instructure-ui/commit/dfaa13ad61ca4f53bd445211e661fae6cd9a02e1))
9
12
 
10
13
 
11
14
 
@@ -232,7 +232,7 @@ let Checkbox = (_dec = withDeterministicId(), _dec2 = withStyleNew(generateStyle
232
232
  return messages && messages.length > 0 ? _jsx(View, {
233
233
  display: "block",
234
234
  margin: "small 0 0",
235
- css: this.isError && (variant === 'toggle' ? styles?.indentedToggleError : styles?.indentedError),
235
+ css: variant === 'toggle' ? styles?.indentedToggleError : styles?.indentedError,
236
236
  children: _jsx(FormFieldMessages, {
237
237
  id: this._messagesId,
238
238
  messages: messages
@@ -252,7 +252,7 @@ let Checkbox = exports.Checkbox = (_dec = (0, _withDeterministicId.withDetermini
252
252
  return messages && messages.length > 0 ? (0, _jsxRuntime.jsx)(_latest2.View, {
253
253
  display: "block",
254
254
  margin: "small 0 0",
255
- css: this.isError && (variant === 'toggle' ? styles?.indentedToggleError : styles?.indentedError),
255
+ css: variant === 'toggle' ? styles?.indentedToggleError : styles?.indentedError,
256
256
  children: (0, _jsxRuntime.jsx)(_latest.FormFieldMessages, {
257
257
  id: this._messagesId,
258
258
  messages: messages
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-checkbox",
3
- "version": "11.7.5-snapshot-33",
3
+ "version": "11.7.5-snapshot-36",
4
4
  "description": " styled HTML input type='checkbox' component.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -16,27 +16,27 @@
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.7",
18
18
  "keycode": "^2",
19
- "@instructure/console": "11.7.5-snapshot-33",
20
- "@instructure/emotion": "11.7.5-snapshot-33",
21
- "@instructure/shared-types": "11.7.5-snapshot-33",
22
- "@instructure/ui-form-field": "11.7.5-snapshot-33",
23
- "@instructure/ui-dom-utils": "11.7.5-snapshot-33",
24
- "@instructure/ui-react-utils": "11.7.5-snapshot-33",
25
- "@instructure/ui-icons": "11.7.5-snapshot-33",
26
- "@instructure/ui-themes": "11.7.5-snapshot-33",
27
- "@instructure/ui-svg-images": "11.7.5-snapshot-33",
28
- "@instructure/uid": "11.7.5-snapshot-33",
29
- "@instructure/ui-utils": "11.7.5-snapshot-33",
30
- "@instructure/ui-view": "11.7.5-snapshot-33"
19
+ "@instructure/console": "11.7.5-snapshot-36",
20
+ "@instructure/shared-types": "11.7.5-snapshot-36",
21
+ "@instructure/ui-form-field": "11.7.5-snapshot-36",
22
+ "@instructure/ui-dom-utils": "11.7.5-snapshot-36",
23
+ "@instructure/emotion": "11.7.5-snapshot-36",
24
+ "@instructure/ui-icons": "11.7.5-snapshot-36",
25
+ "@instructure/ui-react-utils": "11.7.5-snapshot-36",
26
+ "@instructure/ui-themes": "11.7.5-snapshot-36",
27
+ "@instructure/ui-svg-images": "11.7.5-snapshot-36",
28
+ "@instructure/ui-utils": "11.7.5-snapshot-36",
29
+ "@instructure/ui-view": "11.7.5-snapshot-36",
30
+ "@instructure/uid": "11.7.5-snapshot-36"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@testing-library/jest-dom": "^6.9.1",
34
34
  "@testing-library/react": "16.3.2",
35
35
  "@testing-library/user-event": "^14.6.1",
36
36
  "vitest": "^4.1.9",
37
- "@instructure/ui-axe-check": "11.7.5-snapshot-33",
38
- "@instructure/ui-babel-preset": "11.7.5-snapshot-33",
39
- "@instructure/ui-color-utils": "11.7.5-snapshot-33"
37
+ "@instructure/ui-axe-check": "11.7.5-snapshot-36",
38
+ "@instructure/ui-babel-preset": "11.7.5-snapshot-36",
39
+ "@instructure/ui-color-utils": "11.7.5-snapshot-36"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": ">=18 <=19"
@@ -286,10 +286,9 @@ class Checkbox extends Component<CheckboxProps, CheckboxState> {
286
286
  display="block"
287
287
  margin="small 0 0"
288
288
  css={
289
- this.isError &&
290
- (variant === 'toggle'
289
+ variant === 'toggle'
291
290
  ? styles?.indentedToggleError
292
- : styles?.indentedError)
291
+ : styles?.indentedError
293
292
  }
294
293
  >
295
294
  <FormFieldMessages id={this._messagesId} messages={messages} />