@availity/mui-progress 0.1.4 → 0.1.6

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,22 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.1.6](https://github.com/Availity/element/compare/@availity/mui-progress@0.1.5...@availity/mui-progress@0.1.6) (2024-04-04)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `mui-icon` updated to version `0.8.1`
10
+ * `mui-typography` updated to version `0.1.7`
11
+
12
+ ### Performance Improvements
13
+
14
+ * **mui-progress:** use path imports for material deps ([e6078af](https://github.com/Availity/element/commit/e6078af0d82a003d704f4f30c23d31d7932d90cd))
15
+
16
+ ## [0.1.5](https://github.com/Availity/element/compare/@availity/mui-progress@0.1.4...@availity/mui-progress@0.1.5) (2024-03-15)
17
+
18
+ ### Dependency Updates
19
+
20
+ * `mui-icon` updated to version `0.8.0`
5
21
  ## [0.1.4](https://github.com/Availity/element/compare/@availity/mui-progress@0.1.3...@availity/mui-progress@0.1.4) (2024-02-22)
6
22
 
7
23
  ### Dependency Updates
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { CircularProgressProps as CircularProgressProps$1 } from '@mui/material';
1
+ import { CircularProgressProps as CircularProgressProps$1 } from '@mui/material/CircularProgress';
2
2
 
3
3
  interface CircularProgressProps extends Omit<CircularProgressProps$1, 'disableShrink' | 'thickness' | 'variant'> {
4
4
  /**@default 'primary' */
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,7 +32,8 @@ module.exports = __toCommonJS(src_exports);
26
32
 
27
33
  // src/lib/CircularProgress.tsx
28
34
  var import_react = require("react");
29
- var import_material = require("@mui/material");
35
+ var import_CircularProgress = __toESM(require("@mui/material/CircularProgress"));
36
+ var import_Stack = __toESM(require("@mui/material/Stack"));
30
37
  var import_mui_icon = require("@availity/mui-icon");
31
38
  var import_mui_typography = require("@availity/mui-typography");
32
39
  var import_jsx_runtime = require("react/jsx-runtime");
@@ -71,11 +78,11 @@ var CircularProgress = ({
71
78
  setStatus("loading");
72
79
  }
73
80
  }, [error, success]);
74
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_material.Stack, {
81
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_Stack.default, {
75
82
  width: "fit-content",
76
83
  alignItems: "center",
77
84
  children: [
78
- status === "loading" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.CircularProgress, {
85
+ status === "loading" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_CircularProgress.default, {
79
86
  "aria-label": "Loading",
80
87
  ...props,
81
88
  size: size === "small" ? 24 : 40,
package/dist/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  // src/lib/CircularProgress.tsx
2
2
  import { useEffect, useState } from "react";
3
3
  import {
4
- CircularProgress as MuiCircularProgress,
5
- Stack
6
- } from "@mui/material";
4
+ default as MuiCircularProgress
5
+ } from "@mui/material/CircularProgress";
6
+ import Stack from "@mui/material/Stack";
7
7
  import { SuccessCircleIcon, WarningCircleIcon } from "@availity/mui-icon";
8
8
  import { Typography } from "@availity/mui-typography";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-progress",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Availity MUI Progress Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -46,7 +46,7 @@
46
46
  "access": "public"
47
47
  },
48
48
  "dependencies": {
49
- "@availity/mui-icon": "^0.7.5",
50
- "@availity/mui-typography": "^0.1.6"
49
+ "@availity/mui-icon": "^0.8.1",
50
+ "@availity/mui-typography": "^0.1.7"
51
51
  }
52
52
  }
@@ -1,9 +1,9 @@
1
1
  import { useEffect, useState } from 'react';
2
2
  import {
3
- CircularProgress as MuiCircularProgress,
3
+ default as MuiCircularProgress,
4
4
  CircularProgressProps as MuiCircularProgressProps,
5
- Stack,
6
- } from '@mui/material';
5
+ } from '@mui/material/CircularProgress';
6
+ import Stack from '@mui/material/Stack';
7
7
  import { SuccessCircleIcon, WarningCircleIcon } from '@availity/mui-icon';
8
8
  import { Typography } from '@availity/mui-typography';
9
9