@instructure/ui-checkbox 11.7.4-snapshot-11 → 11.7.4-snapshot-49

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.
Files changed (60) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/LICENSE.md +1 -0
  3. package/es/Checkbox/v1/CheckboxFacade/index.js +4 -4
  4. package/es/Checkbox/v1/ToggleFacade/index.js +4 -4
  5. package/es/Checkbox/v1/index.js +6 -6
  6. package/es/Checkbox/v2/CheckboxFacade/index.js +3 -3
  7. package/es/Checkbox/v2/ToggleFacade/index.js +3 -3
  8. package/es/Checkbox/v2/index.js +5 -5
  9. package/es/CheckboxGroup/v1/index.js +3 -3
  10. package/es/CheckboxGroup/v2/index.js +3 -3
  11. package/es/exports/a.js +2 -2
  12. package/es/exports/b.js +2 -2
  13. package/lib/Checkbox/v1/CheckboxFacade/index.js +4 -4
  14. package/lib/Checkbox/v1/ToggleFacade/index.js +4 -4
  15. package/lib/Checkbox/v1/index.js +10 -10
  16. package/lib/Checkbox/v2/CheckboxFacade/index.js +3 -3
  17. package/lib/Checkbox/v2/ToggleFacade/index.js +3 -3
  18. package/lib/Checkbox/v2/index.js +9 -9
  19. package/lib/CheckboxGroup/v1/index.js +4 -4
  20. package/lib/CheckboxGroup/v2/index.js +4 -4
  21. package/lib/exports/a.js +6 -6
  22. package/lib/exports/b.js +6 -6
  23. package/package.json +16 -16
  24. package/src/Checkbox/v1/CheckboxFacade/index.tsx +4 -3
  25. package/src/Checkbox/v1/ToggleFacade/index.tsx +4 -3
  26. package/src/Checkbox/v1/index.tsx +6 -5
  27. package/src/Checkbox/v2/CheckboxFacade/index.tsx +3 -2
  28. package/src/Checkbox/v2/ToggleFacade/index.tsx +3 -2
  29. package/src/Checkbox/v2/index.tsx +5 -4
  30. package/src/CheckboxGroup/v1/index.tsx +3 -2
  31. package/src/CheckboxGroup/v1/props.ts +1 -1
  32. package/src/CheckboxGroup/v2/index.tsx +3 -2
  33. package/src/CheckboxGroup/v2/props.ts +1 -1
  34. package/src/exports/a.ts +2 -2
  35. package/src/exports/b.ts +2 -2
  36. package/tsconfig.build.tsbuildinfo +1 -1
  37. package/types/Checkbox/v1/CheckboxFacade/index.d.ts +1 -0
  38. package/types/Checkbox/v1/CheckboxFacade/index.d.ts.map +1 -1
  39. package/types/Checkbox/v1/ToggleFacade/index.d.ts +1 -0
  40. package/types/Checkbox/v1/ToggleFacade/index.d.ts.map +1 -1
  41. package/types/Checkbox/v1/index.d.ts +3 -2
  42. package/types/Checkbox/v1/index.d.ts.map +1 -1
  43. package/types/Checkbox/v2/CheckboxFacade/index.d.ts +1 -0
  44. package/types/Checkbox/v2/CheckboxFacade/index.d.ts.map +1 -1
  45. package/types/Checkbox/v2/ToggleFacade/index.d.ts +1 -0
  46. package/types/Checkbox/v2/ToggleFacade/index.d.ts.map +1 -1
  47. package/types/Checkbox/v2/index.d.ts +3 -2
  48. package/types/Checkbox/v2/index.d.ts.map +1 -1
  49. package/types/CheckboxGroup/v1/index.d.ts +1 -0
  50. package/types/CheckboxGroup/v1/index.d.ts.map +1 -1
  51. package/types/CheckboxGroup/v1/props.d.ts +1 -1
  52. package/types/CheckboxGroup/v1/props.d.ts.map +1 -1
  53. package/types/CheckboxGroup/v2/index.d.ts +1 -0
  54. package/types/CheckboxGroup/v2/index.d.ts.map +1 -1
  55. package/types/CheckboxGroup/v2/props.d.ts +1 -1
  56. package/types/CheckboxGroup/v2/props.d.ts.map +1 -1
  57. package/types/exports/a.d.ts +2 -2
  58. package/types/exports/a.d.ts.map +1 -1
  59. package/types/exports/b.d.ts +2 -2
  60. package/types/exports/b.d.ts.map +1 -1
package/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
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.4-snapshot-11](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-11) (2026-05-19)
6
+ ## [11.7.4-snapshot-49](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-49) (2026-06-17)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-checkbox
9
9
 
package/LICENSE.md CHANGED
@@ -2,6 +2,7 @@
2
2
  title: The MIT License (MIT)
3
3
  category: Getting Started
4
4
  order: 9
5
+ isWIP: true
5
6
  ---
6
7
 
7
8
  # The MIT License (MIT)
@@ -27,9 +27,9 @@ import { Component } from 'react';
27
27
  import { SVGIcon } from '@instructure/ui-svg-images';
28
28
  import { IconCheckMarkSolid } from '@instructure/ui-icons';
29
29
  import { withStyle } from '@instructure/emotion';
30
- import generateStyle from "./styles.js";
31
- import generateComponentTheme from "./theme.js";
32
- import { allowedProps } from "./props.js";
30
+ import generateStyle from './styles.js';
31
+ import generateComponentTheme from './theme.js';
32
+ import { allowedProps } from './props.js';
33
33
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
34
34
  /**
35
35
  ---
@@ -37,7 +37,7 @@ parent: Checkbox
37
37
  ---
38
38
  **/
39
39
  let CheckboxFacade = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class CheckboxFacade extends Component {
40
- static displayName = "CheckboxFacade";
40
+ static displayName = 'CheckboxFacade';
41
41
  static componentId = 'CheckboxFacade';
42
42
  static allowedProps = allowedProps;
43
43
  static defaultProps = {
@@ -26,9 +26,9 @@ var _dec, _class;
26
26
  import { Component } from 'react';
27
27
  import { IconCheckSolid, IconXSolid } from '@instructure/ui-icons';
28
28
  import { withStyle } from '@instructure/emotion';
29
- import generateStyle from "./styles.js";
30
- import generateComponentTheme from "./theme.js";
31
- import { allowedProps } from "./props.js";
29
+ import generateStyle from './styles.js';
30
+ import generateComponentTheme from './theme.js';
31
+ import { allowedProps } from './props.js';
32
32
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
33
33
  /**
34
34
  ---
@@ -36,7 +36,7 @@ parent: Checkbox
36
36
  ---
37
37
  **/
38
38
  let ToggleFacade = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class ToggleFacade extends Component {
39
- static displayName = "ToggleFacade";
39
+ static displayName = 'ToggleFacade';
40
40
  static componentId = 'ToggleFacade';
41
41
  static allowedProps = allowedProps;
42
42
  static defaultProps = {
@@ -32,11 +32,11 @@ import { isActiveElement } from '@instructure/ui-dom-utils';
32
32
  import { omitProps, withDeterministicId } from '@instructure/ui-react-utils';
33
33
  import { View } from '@instructure/ui-view/v11_6';
34
34
  import { withStyle } from '@instructure/emotion';
35
- import { CheckboxFacade } from "./CheckboxFacade/index.js";
36
- import { ToggleFacade } from "./ToggleFacade/index.js";
37
- import generateStyle from "./styles.js";
38
- import generateComponentTheme from "./theme.js";
39
- import { allowedProps } from "./props.js";
35
+ import { CheckboxFacade } from './CheckboxFacade/index.js';
36
+ import { ToggleFacade } from './ToggleFacade/index.js';
37
+ import generateStyle from './styles.js';
38
+ import generateComponentTheme from './theme.js';
39
+ import { allowedProps } from './props.js';
40
40
  import { jsxs as _jsxs, jsx as _jsx } from "@emotion/react/jsx-runtime";
41
41
  /**
42
42
  ---
@@ -45,7 +45,7 @@ tags: toggle, switch
45
45
  ---
46
46
  **/
47
47
  let Checkbox = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec(_class = _dec2(_class = class Checkbox extends Component {
48
- static displayName = "Checkbox";
48
+ static displayName = 'Checkbox';
49
49
  static componentId = 'Checkbox';
50
50
  static allowedProps = allowedProps;
51
51
  static defaultProps = {
@@ -26,8 +26,8 @@ var _dec, _class;
26
26
  import { Component } from 'react';
27
27
  import { CheckInstUIIcon, MinusInstUIIcon, renderIconWithProps } from '@instructure/ui-icons';
28
28
  import { withStyleNew } from '@instructure/emotion';
29
- import generateStyle from "./styles.js";
30
- import { allowedProps } from "./props.js";
29
+ import generateStyle from './styles.js';
30
+ import { allowedProps } from './props.js';
31
31
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
32
32
  /**
33
33
  ---
@@ -35,7 +35,7 @@ parent: Checkbox
35
35
  ---
36
36
  **/
37
37
  let CheckboxFacade = (_dec = withStyleNew(generateStyle, 'Checkbox'), _dec(_class = class CheckboxFacade extends Component {
38
- static displayName = "CheckboxFacade";
38
+ static displayName = 'CheckboxFacade';
39
39
  static componentId = 'CheckboxFacade';
40
40
  static allowedProps = allowedProps;
41
41
  static defaultProps = {
@@ -26,8 +26,8 @@ var _dec, _class;
26
26
  import { Component } from 'react';
27
27
  import { CheckInstUIIcon, XInstUIIcon, renderIconWithProps } from '@instructure/ui-icons';
28
28
  import { withStyleNew } from '@instructure/emotion';
29
- import generateStyle from "./styles.js";
30
- import { allowedProps } from "./props.js";
29
+ import generateStyle from './styles.js';
30
+ import { allowedProps } from './props.js';
31
31
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
32
32
  /**
33
33
  ---
@@ -35,7 +35,7 @@ parent: Checkbox
35
35
  ---
36
36
  **/
37
37
  let ToggleFacade = (_dec = withStyleNew(generateStyle, 'Toggle'), _dec(_class = class ToggleFacade extends Component {
38
- static displayName = "ToggleFacade";
38
+ static displayName = 'ToggleFacade';
39
39
  static componentId = 'ToggleFacade';
40
40
  static allowedProps = allowedProps;
41
41
  static defaultProps = {
@@ -32,10 +32,10 @@ import { isActiveElement } from '@instructure/ui-dom-utils';
32
32
  import { omitProps, withDeterministicId } from '@instructure/ui-react-utils';
33
33
  import { View } from '@instructure/ui-view/latest';
34
34
  import { withStyleNew } from '@instructure/emotion';
35
- import { CheckboxFacade } from "./CheckboxFacade/index.js";
36
- import { ToggleFacade } from "./ToggleFacade/index.js";
37
- import generateStyle from "./styles.js";
38
- import { allowedProps } from "./props.js";
35
+ import { CheckboxFacade } from './CheckboxFacade/index.js';
36
+ import { ToggleFacade } from './ToggleFacade/index.js';
37
+ import generateStyle from './styles.js';
38
+ import { allowedProps } from './props.js';
39
39
  import { jsxs as _jsxs, jsx as _jsx } from "@emotion/react/jsx-runtime";
40
40
  /**
41
41
  ---
@@ -44,7 +44,7 @@ tags: toggle, switch
44
44
  ---
45
45
  **/
46
46
  let Checkbox = (_dec = withDeterministicId(), _dec2 = withStyleNew(generateStyle), _dec(_class = _dec2(_class = class Checkbox extends Component {
47
- static displayName = "Checkbox";
47
+ static displayName = 'Checkbox';
48
48
  static componentId = 'Checkbox';
49
49
  static allowedProps = allowedProps;
50
50
  static defaultProps = {
@@ -26,8 +26,8 @@ var _dec, _class;
26
26
  import { Children, Component } from 'react';
27
27
  import { FormFieldGroup } from '@instructure/ui-form-field/v11_6';
28
28
  import { matchComponentTypes, safeCloneElement, pickProps, omitProps, withDeterministicId } from '@instructure/ui-react-utils';
29
- import { Checkbox } from "../../Checkbox/v1/index.js";
30
- import { allowedProps } from "./props.js";
29
+ import { Checkbox } from '../../Checkbox/v1/index.js';
30
+ import { allowedProps } from './props.js';
31
31
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
32
32
  /**
33
33
  ---
@@ -35,7 +35,7 @@ category: components
35
35
  ---
36
36
  **/
37
37
  let CheckboxGroup = (_dec = withDeterministicId(), _dec(_class = class CheckboxGroup extends Component {
38
- static displayName = "CheckboxGroup";
38
+ static displayName = 'CheckboxGroup';
39
39
  static componentId = 'CheckboxGroup';
40
40
  static allowedProps = allowedProps;
41
41
  static defaultProps = {
@@ -26,8 +26,8 @@ var _dec, _class;
26
26
  import { Children, Component } from 'react';
27
27
  import { FormFieldGroup } from '@instructure/ui-form-field/latest';
28
28
  import { matchComponentTypes, safeCloneElement, pickProps, omitProps, withDeterministicId } from '@instructure/ui-react-utils';
29
- import { Checkbox } from "../../Checkbox/v2/index.js";
30
- import { allowedProps } from "./props.js";
29
+ import { Checkbox } from '../../Checkbox/v2/index.js';
30
+ import { allowedProps } from './props.js';
31
31
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
32
32
  /**
33
33
  ---
@@ -35,7 +35,7 @@ category: components
35
35
  ---
36
36
  **/
37
37
  let CheckboxGroup = (_dec = withDeterministicId(), _dec(_class = class CheckboxGroup extends Component {
38
- static displayName = "CheckboxGroup";
38
+ static displayName = 'CheckboxGroup';
39
39
  static componentId = 'CheckboxGroup';
40
40
  static allowedProps = allowedProps;
41
41
  static defaultProps = {
package/es/exports/a.js CHANGED
@@ -21,5 +21,5 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { Checkbox, CheckboxFacade, ToggleFacade } from "../Checkbox/v1/index.js";
25
- export { CheckboxGroup } from "../CheckboxGroup/v1/index.js";
24
+ export { Checkbox, CheckboxFacade, ToggleFacade } from '../Checkbox/v1/index.js';
25
+ export { CheckboxGroup } from '../CheckboxGroup/v1/index.js';
package/es/exports/b.js CHANGED
@@ -21,5 +21,5 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { Checkbox, CheckboxFacade, ToggleFacade } from "../Checkbox/v2/index.js";
25
- export { CheckboxGroup } from "../CheckboxGroup/v2/index.js";
24
+ export { Checkbox, CheckboxFacade, ToggleFacade } from '../Checkbox/v2/index.js';
25
+ export { CheckboxGroup } from '../CheckboxGroup/v2/index.js';
@@ -9,9 +9,9 @@ var _react = require("react");
9
9
  var _SVGIcon = require("@instructure/ui-svg-images/lib/SVGIcon");
10
10
  var _IconCheckMarkSolid = require("@instructure/ui-icons/lib/generated/IconCheckMarkSolid.js");
11
11
  var _emotion = require("@instructure/emotion");
12
- var _styles = _interopRequireDefault(require("./styles"));
13
- var _theme = _interopRequireDefault(require("./theme"));
14
- var _props = require("./props");
12
+ var _styles = _interopRequireDefault(require("./styles.js"));
13
+ var _theme = _interopRequireDefault(require("./theme.js"));
14
+ var _props = require("./props.js");
15
15
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
16
16
  var _dec, _class;
17
17
  /*
@@ -43,7 +43,7 @@ parent: Checkbox
43
43
  ---
44
44
  **/
45
45
  let CheckboxFacade = exports.CheckboxFacade = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class CheckboxFacade extends _react.Component {
46
- static displayName = "CheckboxFacade";
46
+ static displayName = 'CheckboxFacade';
47
47
  static componentId = 'CheckboxFacade';
48
48
  static allowedProps = _props.allowedProps;
49
49
  static defaultProps = {
@@ -9,9 +9,9 @@ var _react = require("react");
9
9
  var _IconCheckSolid = require("@instructure/ui-icons/lib/generated/IconCheckSolid.js");
10
10
  var _IconXSolid = require("@instructure/ui-icons/lib/generated/IconXSolid.js");
11
11
  var _emotion = require("@instructure/emotion");
12
- var _styles = _interopRequireDefault(require("./styles"));
13
- var _theme = _interopRequireDefault(require("./theme"));
14
- var _props = require("./props");
12
+ var _styles = _interopRequireDefault(require("./styles.js"));
13
+ var _theme = _interopRequireDefault(require("./theme.js"));
14
+ var _props = require("./props.js");
15
15
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
16
16
  var _dec, _class;
17
17
  /*
@@ -43,7 +43,7 @@ parent: Checkbox
43
43
  ---
44
44
  **/
45
45
  let ToggleFacade = exports.ToggleFacade = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class ToggleFacade extends _react.Component {
46
- static displayName = "ToggleFacade";
46
+ static displayName = 'ToggleFacade';
47
47
  static componentId = 'ToggleFacade';
48
48
  static allowedProps = _props.allowedProps;
49
49
  static defaultProps = {
@@ -8,13 +8,13 @@ exports.Checkbox = void 0;
8
8
  Object.defineProperty(exports, "CheckboxFacade", {
9
9
  enumerable: true,
10
10
  get: function () {
11
- return _CheckboxFacade.CheckboxFacade;
11
+ return _index.CheckboxFacade;
12
12
  }
13
13
  });
14
14
  Object.defineProperty(exports, "ToggleFacade", {
15
15
  enumerable: true,
16
16
  get: function () {
17
- return _ToggleFacade.ToggleFacade;
17
+ return _index2.ToggleFacade;
18
18
  }
19
19
  });
20
20
  exports.default = void 0;
@@ -28,11 +28,11 @@ var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
28
28
  var _withDeterministicId = require("@instructure/ui-react-utils/lib/DeterministicIdContext/withDeterministicId.js");
29
29
  var _v11_2 = require("@instructure/ui-view/v11_6");
30
30
  var _emotion = require("@instructure/emotion");
31
- var _CheckboxFacade = require("./CheckboxFacade");
32
- var _ToggleFacade = require("./ToggleFacade");
33
- var _styles = _interopRequireDefault(require("./styles"));
34
- var _theme = _interopRequireDefault(require("./theme"));
35
- var _props = require("./props");
31
+ var _index = require("./CheckboxFacade/index.js");
32
+ var _index2 = require("./ToggleFacade/index.js");
33
+ var _styles = _interopRequireDefault(require("./styles.js"));
34
+ var _theme = _interopRequireDefault(require("./theme.js"));
35
+ var _props = require("./props.js");
36
36
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
37
37
  var _dec, _dec2, _class;
38
38
  /*
@@ -65,7 +65,7 @@ tags: toggle, switch
65
65
  ---
66
66
  **/
67
67
  let Checkbox = exports.Checkbox = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = _dec2(_class = class Checkbox extends _react.Component {
68
- static displayName = "Checkbox";
68
+ static displayName = 'Checkbox';
69
69
  static componentId = 'Checkbox';
70
70
  static allowedProps = _props.allowedProps;
71
71
  static defaultProps = {
@@ -197,7 +197,7 @@ let Checkbox = exports.Checkbox = (_dec = (0, _withDeterministicId.withDetermini
197
197
  } = this.state;
198
198
  (0, _console.logError)(!(variant === 'simple' && labelPlacement !== 'end'), `[Checkbox] The \`simple\` variant does not support the \`labelPlacement\` property. Use the \`toggle\` variant instead.`);
199
199
  if (variant === 'toggle') {
200
- return (0, _jsxRuntime.jsxs)(_ToggleFacade.ToggleFacade, {
200
+ return (0, _jsxRuntime.jsxs)(_index2.ToggleFacade, {
201
201
  disabled: disabled,
202
202
  size: size,
203
203
  focused: focused,
@@ -213,7 +213,7 @@ let Checkbox = exports.Checkbox = (_dec = (0, _withDeterministicId.withDetermini
213
213
  })]
214
214
  });
215
215
  } else {
216
- return (0, _jsxRuntime.jsxs)(_CheckboxFacade.CheckboxFacade, {
216
+ return (0, _jsxRuntime.jsxs)(_index.CheckboxFacade, {
217
217
  size: size,
218
218
  hovered: hovered,
219
219
  focused: focused,
@@ -8,8 +8,8 @@ exports.default = exports.CheckboxFacade = void 0;
8
8
  var _react = require("react");
9
9
  var _uiIcons = require("@instructure/ui-icons");
10
10
  var _emotion = require("@instructure/emotion");
11
- var _styles = _interopRequireDefault(require("./styles"));
12
- var _props = require("./props");
11
+ var _styles = _interopRequireDefault(require("./styles.js"));
12
+ var _props = require("./props.js");
13
13
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
14
14
  var _dec, _class;
15
15
  /*
@@ -41,7 +41,7 @@ parent: Checkbox
41
41
  ---
42
42
  **/
43
43
  let CheckboxFacade = exports.CheckboxFacade = (_dec = (0, _emotion.withStyleNew)(_styles.default, 'Checkbox'), _dec(_class = class CheckboxFacade extends _react.Component {
44
- static displayName = "CheckboxFacade";
44
+ static displayName = 'CheckboxFacade';
45
45
  static componentId = 'CheckboxFacade';
46
46
  static allowedProps = _props.allowedProps;
47
47
  static defaultProps = {
@@ -8,8 +8,8 @@ exports.default = exports.ToggleFacade = void 0;
8
8
  var _react = require("react");
9
9
  var _uiIcons = require("@instructure/ui-icons");
10
10
  var _emotion = require("@instructure/emotion");
11
- var _styles = _interopRequireDefault(require("./styles"));
12
- var _props = require("./props");
11
+ var _styles = _interopRequireDefault(require("./styles.js"));
12
+ var _props = require("./props.js");
13
13
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
14
14
  var _dec, _class;
15
15
  /*
@@ -41,7 +41,7 @@ parent: Checkbox
41
41
  ---
42
42
  **/
43
43
  let ToggleFacade = exports.ToggleFacade = (_dec = (0, _emotion.withStyleNew)(_styles.default, 'Toggle'), _dec(_class = class ToggleFacade extends _react.Component {
44
- static displayName = "ToggleFacade";
44
+ static displayName = 'ToggleFacade';
45
45
  static componentId = 'ToggleFacade';
46
46
  static allowedProps = _props.allowedProps;
47
47
  static defaultProps = {
@@ -8,13 +8,13 @@ exports.Checkbox = void 0;
8
8
  Object.defineProperty(exports, "CheckboxFacade", {
9
9
  enumerable: true,
10
10
  get: function () {
11
- return _CheckboxFacade.CheckboxFacade;
11
+ return _index.CheckboxFacade;
12
12
  }
13
13
  });
14
14
  Object.defineProperty(exports, "ToggleFacade", {
15
15
  enumerable: true,
16
16
  get: function () {
17
- return _ToggleFacade.ToggleFacade;
17
+ return _index2.ToggleFacade;
18
18
  }
19
19
  });
20
20
  exports.default = void 0;
@@ -28,10 +28,10 @@ var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
28
28
  var _withDeterministicId = require("@instructure/ui-react-utils/lib/DeterministicIdContext/withDeterministicId.js");
29
29
  var _latest2 = require("@instructure/ui-view/latest");
30
30
  var _emotion = require("@instructure/emotion");
31
- var _CheckboxFacade = require("./CheckboxFacade");
32
- var _ToggleFacade = require("./ToggleFacade");
33
- var _styles = _interopRequireDefault(require("./styles"));
34
- var _props = require("./props");
31
+ var _index = require("./CheckboxFacade/index.js");
32
+ var _index2 = require("./ToggleFacade/index.js");
33
+ var _styles = _interopRequireDefault(require("./styles.js"));
34
+ var _props = require("./props.js");
35
35
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
36
36
  var _dec, _dec2, _class;
37
37
  /*
@@ -64,7 +64,7 @@ tags: toggle, switch
64
64
  ---
65
65
  **/
66
66
  let Checkbox = exports.Checkbox = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = _dec2(_class = class Checkbox extends _react.Component {
67
- static displayName = "Checkbox";
67
+ static displayName = 'Checkbox';
68
68
  static componentId = 'Checkbox';
69
69
  static allowedProps = _props.allowedProps;
70
70
  static defaultProps = {
@@ -196,7 +196,7 @@ let Checkbox = exports.Checkbox = (_dec = (0, _withDeterministicId.withDetermini
196
196
  } = this.state;
197
197
  (0, _console.logError)(!(variant === 'simple' && labelPlacement !== 'end'), `[Checkbox] The \`simple\` variant does not support the \`labelPlacement\` property. Use the \`toggle\` variant instead.`);
198
198
  if (variant === 'toggle') {
199
- return (0, _jsxRuntime.jsxs)(_ToggleFacade.ToggleFacade, {
199
+ return (0, _jsxRuntime.jsxs)(_index2.ToggleFacade, {
200
200
  disabled: disabled,
201
201
  size: size,
202
202
  hovered: hovered,
@@ -216,7 +216,7 @@ let Checkbox = exports.Checkbox = (_dec = (0, _withDeterministicId.withDetermini
216
216
  })]
217
217
  });
218
218
  } else {
219
- return (0, _jsxRuntime.jsxs)(_CheckboxFacade.CheckboxFacade, {
219
+ return (0, _jsxRuntime.jsxs)(_index.CheckboxFacade, {
220
220
  disabled: disabled,
221
221
  size: size,
222
222
  hovered: hovered,
@@ -11,8 +11,8 @@ var _safeCloneElement = require("@instructure/ui-react-utils/lib/safeCloneElemen
11
11
  var _pickProps = require("@instructure/ui-react-utils/lib/pickProps.js");
12
12
  var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
13
13
  var _withDeterministicId = require("@instructure/ui-react-utils/lib/DeterministicIdContext/withDeterministicId.js");
14
- var _v = require("../../Checkbox/v1");
15
- var _props = require("./props");
14
+ var _index = require("../../Checkbox/v1/index.js");
15
+ var _props = require("./props.js");
16
16
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
17
17
  var _dec, _class;
18
18
  /*
@@ -44,7 +44,7 @@ category: components
44
44
  ---
45
45
  **/
46
46
  let CheckboxGroup = exports.CheckboxGroup = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec(_class = class CheckboxGroup extends _react.Component {
47
- static displayName = "CheckboxGroup";
47
+ static displayName = 'CheckboxGroup';
48
48
  static componentId = 'CheckboxGroup';
49
49
  static allowedProps = _props.allowedProps;
50
50
  static defaultProps = {
@@ -103,7 +103,7 @@ let CheckboxGroup = exports.CheckboxGroup = (_dec = (0, _withDeterministicId.wit
103
103
  readOnly
104
104
  } = this.props;
105
105
  return _react.Children.map(children, child => {
106
- if ((0, _matchComponentTypes.matchComponentTypes)(child, [_v.Checkbox])) {
106
+ if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index.Checkbox])) {
107
107
  return (0, _safeCloneElement.safeCloneElement)(child, {
108
108
  key: `${child.props.name}`,
109
109
  name,
@@ -11,8 +11,8 @@ var _safeCloneElement = require("@instructure/ui-react-utils/lib/safeCloneElemen
11
11
  var _pickProps = require("@instructure/ui-react-utils/lib/pickProps.js");
12
12
  var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
13
13
  var _withDeterministicId = require("@instructure/ui-react-utils/lib/DeterministicIdContext/withDeterministicId.js");
14
- var _v = require("../../Checkbox/v2");
15
- var _props = require("./props");
14
+ var _index = require("../../Checkbox/v2/index.js");
15
+ var _props = require("./props.js");
16
16
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
17
17
  var _dec, _class;
18
18
  /*
@@ -44,7 +44,7 @@ category: components
44
44
  ---
45
45
  **/
46
46
  let CheckboxGroup = exports.CheckboxGroup = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec(_class = class CheckboxGroup extends _react.Component {
47
- static displayName = "CheckboxGroup";
47
+ static displayName = 'CheckboxGroup';
48
48
  static componentId = 'CheckboxGroup';
49
49
  static allowedProps = _props.allowedProps;
50
50
  static defaultProps = {
@@ -103,7 +103,7 @@ let CheckboxGroup = exports.CheckboxGroup = (_dec = (0, _withDeterministicId.wit
103
103
  readOnly
104
104
  } = this.props;
105
105
  return _react.Children.map(children, child => {
106
- if ((0, _matchComponentTypes.matchComponentTypes)(child, [_v.Checkbox])) {
106
+ if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index.Checkbox])) {
107
107
  return (0, _safeCloneElement.safeCloneElement)(child, {
108
108
  key: `${child.props.name}`,
109
109
  name,
package/lib/exports/a.js CHANGED
@@ -6,26 +6,26 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "Checkbox", {
7
7
  enumerable: true,
8
8
  get: function () {
9
- return _v.Checkbox;
9
+ return _index.Checkbox;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "CheckboxFacade", {
13
13
  enumerable: true,
14
14
  get: function () {
15
- return _v.CheckboxFacade;
15
+ return _index.CheckboxFacade;
16
16
  }
17
17
  });
18
18
  Object.defineProperty(exports, "CheckboxGroup", {
19
19
  enumerable: true,
20
20
  get: function () {
21
- return _v2.CheckboxGroup;
21
+ return _index2.CheckboxGroup;
22
22
  }
23
23
  });
24
24
  Object.defineProperty(exports, "ToggleFacade", {
25
25
  enumerable: true,
26
26
  get: function () {
27
- return _v.ToggleFacade;
27
+ return _index.ToggleFacade;
28
28
  }
29
29
  });
30
- var _v = require("../Checkbox/v1");
31
- var _v2 = require("../CheckboxGroup/v1");
30
+ var _index = require("../Checkbox/v1/index.js");
31
+ var _index2 = require("../CheckboxGroup/v1/index.js");
package/lib/exports/b.js CHANGED
@@ -6,26 +6,26 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "Checkbox", {
7
7
  enumerable: true,
8
8
  get: function () {
9
- return _v.Checkbox;
9
+ return _index.Checkbox;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "CheckboxFacade", {
13
13
  enumerable: true,
14
14
  get: function () {
15
- return _v.CheckboxFacade;
15
+ return _index.CheckboxFacade;
16
16
  }
17
17
  });
18
18
  Object.defineProperty(exports, "CheckboxGroup", {
19
19
  enumerable: true,
20
20
  get: function () {
21
- return _v2.CheckboxGroup;
21
+ return _index2.CheckboxGroup;
22
22
  }
23
23
  });
24
24
  Object.defineProperty(exports, "ToggleFacade", {
25
25
  enumerable: true,
26
26
  get: function () {
27
- return _v.ToggleFacade;
27
+ return _index.ToggleFacade;
28
28
  }
29
29
  });
30
- var _v = require("../Checkbox/v2");
31
- var _v2 = require("../CheckboxGroup/v2");
30
+ var _index = require("../Checkbox/v2/index.js");
31
+ var _index2 = require("../CheckboxGroup/v2/index.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-checkbox",
3
- "version": "11.7.4-snapshot-11",
3
+ "version": "11.7.4-snapshot-49",
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.2",
18
18
  "keycode": "^2",
19
- "@instructure/emotion": "11.7.4-snapshot-11",
20
- "@instructure/shared-types": "11.7.4-snapshot-11",
21
- "@instructure/ui-form-field": "11.7.4-snapshot-11",
22
- "@instructure/console": "11.7.4-snapshot-11",
23
- "@instructure/ui-dom-utils": "11.7.4-snapshot-11",
24
- "@instructure/ui-icons": "11.7.4-snapshot-11",
25
- "@instructure/ui-themes": "11.7.4-snapshot-11",
26
- "@instructure/ui-svg-images": "11.7.4-snapshot-11",
27
- "@instructure/ui-utils": "11.7.4-snapshot-11",
28
- "@instructure/ui-react-utils": "11.7.4-snapshot-11",
29
- "@instructure/uid": "11.7.4-snapshot-11",
30
- "@instructure/ui-view": "11.7.4-snapshot-11"
19
+ "@instructure/console": "11.7.4-snapshot-49",
20
+ "@instructure/emotion": "11.7.4-snapshot-49",
21
+ "@instructure/ui-dom-utils": "11.7.4-snapshot-49",
22
+ "@instructure/ui-form-field": "11.7.4-snapshot-49",
23
+ "@instructure/shared-types": "11.7.4-snapshot-49",
24
+ "@instructure/ui-svg-images": "11.7.4-snapshot-49",
25
+ "@instructure/ui-react-utils": "11.7.4-snapshot-49",
26
+ "@instructure/ui-themes": "11.7.4-snapshot-49",
27
+ "@instructure/ui-utils": "11.7.4-snapshot-49",
28
+ "@instructure/ui-view": "11.7.4-snapshot-49",
29
+ "@instructure/uid": "11.7.4-snapshot-49",
30
+ "@instructure/ui-icons": "11.7.4-snapshot-49"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@testing-library/jest-dom": "^6.6.3",
34
34
  "@testing-library/react": "15.0.7",
35
35
  "@testing-library/user-event": "^14.6.1",
36
36
  "vitest": "^3.2.2",
37
- "@instructure/ui-babel-preset": "11.7.4-snapshot-11",
38
- "@instructure/ui-axe-check": "11.7.4-snapshot-11",
39
- "@instructure/ui-color-utils": "11.7.4-snapshot-11"
37
+ "@instructure/ui-axe-check": "11.7.4-snapshot-49",
38
+ "@instructure/ui-color-utils": "11.7.4-snapshot-49",
39
+ "@instructure/ui-babel-preset": "11.7.4-snapshot-49"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": ">=18 <=19"
@@ -29,10 +29,10 @@ import { IconCheckMarkSolid } from '@instructure/ui-icons'
29
29
 
30
30
  import { withStyle } from '@instructure/emotion'
31
31
 
32
- import generateStyle from './styles'
33
- import generateComponentTheme from './theme'
32
+ import generateStyle from './styles.js'
33
+ import generateComponentTheme from './theme.js'
34
34
 
35
- import { allowedProps } from './props'
35
+ import { allowedProps } from './props.js'
36
36
  import type { CheckboxFacadeProps } from './props'
37
37
 
38
38
  /**
@@ -42,6 +42,7 @@ parent: Checkbox
42
42
  **/
43
43
  @withStyle(generateStyle, generateComponentTheme)
44
44
  class CheckboxFacade extends Component<CheckboxFacadeProps> {
45
+ static displayName = 'CheckboxFacade'
45
46
  static readonly componentId = 'CheckboxFacade'
46
47
 
47
48
  static allowedProps = allowedProps