@availity/mui-checkbox 0.1.33 → 0.1.34

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
@@ -2,6 +2,19 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.1.34](https://github.com/Availity/element/compare/@availity/mui-checkbox@0.1.33...@availity/mui-checkbox@0.1.34) (2024-04-04)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `mui-form-utils` updated to version `0.10.1`
10
+ * `mui-icon` updated to version `0.8.1`
11
+ * `mui-typography` updated to version `0.1.7`
12
+ * `mui-page-header` updated to version `0.2.26`
13
+
14
+ ### Performance Improvements
15
+
16
+ * **mui-checkbox:** use path imports for material deps ([88be582](https://github.com/Availity/element/commit/88be582849f1a19ef13fc5a2307371feb5dcc434))
17
+
5
18
  ## [0.1.33](https://github.com/Availity/element/compare/@availity/mui-checkbox@0.1.32...@availity/mui-checkbox@0.1.33) (2024-03-22)
6
19
 
7
20
  ### Dependency Updates
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { CheckboxProps as CheckboxProps$1 } from '@mui/material';
2
+ import { CheckboxProps as CheckboxProps$1 } from '@mui/material/Checkbox';
3
3
 
4
4
  interface CheckboxProps extends Omit<CheckboxProps$1, 'centerRipple' | 'disableFocusRipple' | 'disableRipple' | 'disableTouchRipple' | 'focusRipple' | 'size' | 'TouchRippleProps' | 'touchRippleRef'> {
5
5
  color?: 'primary' | 'error';
package/dist/index.js CHANGED
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
+ var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
5
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
8
  var __export = (target, all) => {
7
9
  for (var name in all)
@@ -15,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
15
17
  }
16
18
  return to;
17
19
  };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
+ mod
23
+ ));
18
24
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
25
 
20
26
  // src/index.ts
@@ -26,10 +32,10 @@ module.exports = __toCommonJS(src_exports);
26
32
 
27
33
  // src/lib/Checkbox.tsx
28
34
  var import_react = require("react");
29
- var import_material = require("@mui/material");
35
+ var import_Checkbox = __toESM(require("@mui/material/Checkbox"));
30
36
  var import_jsx_runtime = require("react/jsx-runtime");
31
37
  var Checkbox = (0, import_react.forwardRef)((props, ref) => {
32
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Checkbox, {
38
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Checkbox.default, {
33
39
  ...props,
34
40
  ref,
35
41
  size: "medium"
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  // src/lib/Checkbox.tsx
2
2
  import { forwardRef } from "react";
3
- import { Checkbox as MuiCheckbox } from "@mui/material";
3
+ import { default as MuiCheckbox } from "@mui/material/Checkbox";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  var Checkbox = forwardRef((props, ref) => {
6
6
  return /* @__PURE__ */ jsx(MuiCheckbox, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-checkbox",
3
- "version": "0.1.33",
3
+ "version": "0.1.34",
4
4
  "description": "Availity MUI Checkbox Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -32,9 +32,9 @@
32
32
  "publish:canary": "yarn npm publish --access public --tag canary"
33
33
  },
34
34
  "devDependencies": {
35
- "@availity/mui-form-utils": "^0.10.0",
36
- "@availity/mui-icon": "^0.8.0",
37
- "@availity/mui-typography": "^0.1.6",
35
+ "@availity/mui-form-utils": "^0.10.1",
36
+ "@availity/mui-icon": "^0.8.1",
37
+ "@availity/mui-typography": "^0.1.7",
38
38
  "@mui/material": "^5.11.9",
39
39
  "react": "18.2.0",
40
40
  "react-dom": "18.2.0",
@@ -4,7 +4,11 @@ import { useState } from 'react';
4
4
  import type { Meta, StoryObj } from '@storybook/react';
5
5
  import { FormControlLabel } from '@availity/mui-form-utils';
6
6
  import { Typography } from '@availity/mui-typography';
7
- import { Box, FormGroup, FormControl, FormLabel, Container } from '@mui/material';
7
+ import Box from '@mui/material/Box';
8
+ import FormGroup from '@mui/material/FormGroup';
9
+ import FormControl from '@mui/material/FormControl';
10
+ import FormLabel from '@mui/material/FormLabel';
11
+ import Container from '@mui/material/Container';
8
12
  import { HeartEmptyIcon, HeartIcon } from '@availity/mui-icon';
9
13
  import { PageHeader } from '@availity/mui-page-header';
10
14
  import { Checkbox, CheckboxProps } from './Checkbox';
@@ -1,5 +1,5 @@
1
1
  import { forwardRef } from 'react';
2
- import { Checkbox as MuiCheckbox, CheckboxProps as MuiCheckboxProps } from '@mui/material';
2
+ import { default as MuiCheckbox, CheckboxProps as MuiCheckboxProps } from '@mui/material/Checkbox';
3
3
 
4
4
  export interface CheckboxProps
5
5
  extends Omit<