@availity/mui-chip 0.2.11 → 0.2.12
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 +10 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -2
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
- package/src/lib/Chip.stories.tsx +1 -1
- package/src/lib/Chip.tsx +1 -1
- package/src/lib/StatusChip.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.2.12](https://github.com/Availity/element/compare/@availity/mui-chip@0.2.11...@availity/mui-chip@0.2.12) (2024-04-04)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `mui-avatar` updated to version `0.1.17`
|
|
10
|
+
|
|
11
|
+
### Performance Improvements
|
|
12
|
+
|
|
13
|
+
* **mui-chip:** use path imports for material deps ([f650ff0](https://github.com/Availity/element/commit/f650ff0b1ae98e64290c1e31922956b31bbc3b56))
|
|
14
|
+
|
|
5
15
|
## [0.2.11](https://github.com/Availity/element/compare/@availity/mui-chip@0.2.10...@availity/mui-chip@0.2.11) (2024-03-15)
|
|
6
16
|
|
|
7
17
|
### Dependency Updates
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChipProps as ChipProps$1 } from '@mui/material';
|
|
1
|
+
import { ChipProps as ChipProps$1 } from '@mui/material/Chip';
|
|
2
2
|
|
|
3
3
|
type ChipProps = Omit<ChipProps$1, 'children' | 'color' | 'variant' | 'skipFocusWhenDisabled' | 'disabled' | 'size' | 'icon' | 'clickable' | 'color'>;
|
|
4
4
|
declare const Chip: (props: ChipProps) => JSX.Element;
|
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
|
|
@@ -25,10 +31,10 @@ __export(src_exports, {
|
|
|
25
31
|
module.exports = __toCommonJS(src_exports);
|
|
26
32
|
|
|
27
33
|
// src/lib/Chip.tsx
|
|
28
|
-
var
|
|
34
|
+
var import_Chip = __toESM(require("@mui/material/Chip"));
|
|
29
35
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
30
36
|
var Chip = (props) => {
|
|
31
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
37
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Chip.default, {
|
|
32
38
|
...props,
|
|
33
39
|
color: "default",
|
|
34
40
|
size: "medium"
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@availity/mui-chip",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.12",
|
|
4
4
|
"description": "Availity MUI Chip Component - part of the @availity/element design system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"publish:canary": "yarn npm publish --access public --tag canary"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@availity/mui-avatar": "^0.1.
|
|
35
|
+
"@availity/mui-avatar": "^0.1.17",
|
|
36
36
|
"@mui/material": "^5.14.12",
|
|
37
37
|
"react": "18.2.0",
|
|
38
38
|
"react-dom": "18.2.0",
|
package/src/lib/Chip.stories.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
3
|
import { Avatar } from '@availity/mui-avatar';
|
|
4
|
-
import
|
|
4
|
+
import Collapse from '@mui/material/Collapse';
|
|
5
5
|
import { Chip, ChipProps } from './Chip';
|
|
6
6
|
|
|
7
7
|
const meta: Meta<typeof Chip> = {
|
package/src/lib/Chip.tsx
CHANGED
package/src/lib/StatusChip.tsx
CHANGED