@vention/machine-ui 3.40.0 → 3.41.1
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/README.md +1 -1
- package/index.esm.js +7 -5
- package/package.json +1 -1
- package/src/lib/components/vention-icon/_generated/icon-types.d.ts +1 -0
- package/src/lib/components/vention-icon/_generated/icons/unplugged.d.ts +3 -0
- package/src/lib/components/vention-modal/vention-modal.d.ts +1 -1
- package/unplugged.esm.js +48 -0
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Machine UI is Vention's component library for building applications and Human-Ma
|
|
|
4
4
|
|
|
5
5
|
## 📚 Documentation
|
|
6
6
|
|
|
7
|
-
Complete documentation, including component examples, design system guidelines, and usage instructions
|
|
7
|
+
Complete documentation, including component examples, design system guidelines, and usage instructions can be found at:
|
|
8
8
|
|
|
9
9
|
**[https://assets.vention.com/machine-ui-storybook/](https://assets.vention.com/machine-ui-storybook/index.html?path=/docs/guides-introduction--documentation)**
|
|
10
10
|
|
package/index.esm.js
CHANGED
|
@@ -4179,7 +4179,7 @@ const VentionModal = props => {
|
|
|
4179
4179
|
})), props.type === "info" && jsx(IconInfoSmall, Object.assign({}, iconProps, {
|
|
4180
4180
|
"data-testid": ventionModalTestIds.infoIcon
|
|
4181
4181
|
})), props.type === "loading" && jsx(CircularProgress$1, {
|
|
4182
|
-
"data-testid": ventionModalTestIds.
|
|
4182
|
+
"data-testid": ventionModalTestIds.loadingIcon
|
|
4183
4183
|
}), props.type === "warning" && jsx(IconAlertTriangle, Object.assign({}, iconProps, {
|
|
4184
4184
|
"data-testid": ventionModalTestIds.warningIcon
|
|
4185
4185
|
})), props.type === "negative" && jsx(IconAlertTriangle, Object.assign({}, iconProps, {
|
|
@@ -4285,8 +4285,8 @@ const ALIGN_ITEMS = {
|
|
|
4285
4285
|
left: "flex-start",
|
|
4286
4286
|
center: "center"
|
|
4287
4287
|
};
|
|
4288
|
-
const getColors$2 = (
|
|
4289
|
-
switch (
|
|
4288
|
+
const getColors$2 = (modelType, theme) => {
|
|
4289
|
+
switch (modelType) {
|
|
4290
4290
|
case "positive":
|
|
4291
4291
|
return {
|
|
4292
4292
|
statusContainerColor: theme.palette.background.success,
|
|
@@ -4307,7 +4307,8 @@ const getColors$2 = (type, theme) => {
|
|
|
4307
4307
|
statusContainerColor: theme.palette.background.destructive,
|
|
4308
4308
|
statusGlowColor: theme.palette.background.subtleDestructive
|
|
4309
4309
|
};
|
|
4310
|
-
|
|
4310
|
+
case "loading":
|
|
4311
|
+
case "none":
|
|
4311
4312
|
return {
|
|
4312
4313
|
statusContainerColor: "transparent",
|
|
4313
4314
|
statusGlowColor: "transparent"
|
|
@@ -4343,7 +4344,7 @@ const getBodyTextTypography = (modalSize, isTouchDevice) => {
|
|
|
4343
4344
|
const ventionModalTestIds = {
|
|
4344
4345
|
positiveIcon: "vention-modal-positive-icon",
|
|
4345
4346
|
infoIcon: "vention-modal-info-icon",
|
|
4346
|
-
|
|
4347
|
+
loadingIcon: "vention-modal-loading-icon",
|
|
4347
4348
|
warningIcon: "vention-modal-warning-icon",
|
|
4348
4349
|
negativeIcon: "vention-modal-negative-icon",
|
|
4349
4350
|
modalActions: "vention-modal-actions"
|
|
@@ -7684,6 +7685,7 @@ const iconImports = {
|
|
|
7684
7685
|
["truck-loading"]: /*#__PURE__*/lazy(() => import('./truck-loading.esm.js')),
|
|
7685
7686
|
["un-pinned"]: /*#__PURE__*/lazy(() => import('./un-pinned.esm.js')),
|
|
7686
7687
|
["unlink"]: /*#__PURE__*/lazy(() => import('./unlink.esm.js')),
|
|
7688
|
+
["unplugged"]: /*#__PURE__*/lazy(() => import('./unplugged.esm.js')),
|
|
7687
7689
|
["update"]: /*#__PURE__*/lazy(() => import('./update.esm.js')),
|
|
7688
7690
|
["upload"]: /*#__PURE__*/lazy(() => import('./upload.esm.js')),
|
|
7689
7691
|
["user-circle"]: /*#__PURE__*/lazy(() => import('./user-circle.esm.js')),
|
package/package.json
CHANGED
|
@@ -407,6 +407,7 @@ export declare const iconImports: {
|
|
|
407
407
|
"truck-loading": import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
408
408
|
"un-pinned": import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
409
409
|
unlink: import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
410
|
+
unplugged: import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
410
411
|
update: import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
411
412
|
upload: import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
412
413
|
"user-circle": import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -46,7 +46,7 @@ export declare const VentionModal: (props: VentionModalProps) => import("react/j
|
|
|
46
46
|
export declare const ventionModalTestIds: {
|
|
47
47
|
positiveIcon: string;
|
|
48
48
|
infoIcon: string;
|
|
49
|
-
|
|
49
|
+
loadingIcon: string;
|
|
50
50
|
warningIcon: string;
|
|
51
51
|
negativeIcon: string;
|
|
52
52
|
modalActions: string;
|
package/unplugged.esm.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import './index.esm.js';
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import '@mui/material';
|
|
4
|
+
import '@tabler/icons-react';
|
|
5
|
+
import 'react';
|
|
6
|
+
import 'tss-react/mui';
|
|
7
|
+
import '@mui/material/Box';
|
|
8
|
+
import '@mui/material/CircularProgress';
|
|
9
|
+
import '@mui/material/styles';
|
|
10
|
+
import 'react-draggable';
|
|
11
|
+
import '@mui/material/Slider';
|
|
12
|
+
import '@mui/material/Typography';
|
|
13
|
+
import 'tss-react';
|
|
14
|
+
|
|
15
|
+
const SvgUnplugged = props => jsxs("svg", Object.assign({
|
|
16
|
+
viewBox: "0 0 16 16",
|
|
17
|
+
fill: "none",
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
19
|
+
}, props, {
|
|
20
|
+
children: [jsx("path", {
|
|
21
|
+
d: "M10.4433 10.4249L10.3384 10.5298C10.021 10.8598 9.6411 11.1232 9.22076 11.3046C8.80041 11.486 8.3481 11.5818 7.89031 11.5863C7.43251 11.5907 6.97841 11.5039 6.55459 11.3308C6.13076 11.1576 5.74572 10.9017 5.42199 10.578C5.09827 10.2543 4.84235 9.86924 4.66923 9.44541C4.49611 9.02159 4.40925 8.56749 4.41374 8.10969C4.41823 7.6519 4.51398 7.19959 4.69538 6.77924C4.87679 6.3589 5.1402 5.97895 5.47022 5.66164L5.56444 5.56741",
|
|
22
|
+
stroke: "currentColor",
|
|
23
|
+
strokeLinecap: "round",
|
|
24
|
+
strokeLinejoin: "round"
|
|
25
|
+
}), jsx("path", {
|
|
26
|
+
d: "M3.25903 12.7407L5.33311 10.6667",
|
|
27
|
+
stroke: "currentColor",
|
|
28
|
+
strokeLinecap: "round",
|
|
29
|
+
strokeLinejoin: "round"
|
|
30
|
+
}), jsx("path", {
|
|
31
|
+
d: "M9.77769 3.25926L7.70361 5.33334",
|
|
32
|
+
stroke: "currentColor",
|
|
33
|
+
strokeLinecap: "round",
|
|
34
|
+
strokeLinejoin: "round"
|
|
35
|
+
}), jsx("path", {
|
|
36
|
+
d: "M12.7408 6.22222L10.6667 8.2963",
|
|
37
|
+
stroke: "currentColor",
|
|
38
|
+
strokeLinecap: "round",
|
|
39
|
+
strokeLinejoin: "round"
|
|
40
|
+
}), jsx("path", {
|
|
41
|
+
d: "M2.66675 2.66666L13.3334 13.3333",
|
|
42
|
+
stroke: "currentColor",
|
|
43
|
+
strokeLinecap: "round",
|
|
44
|
+
strokeLinejoin: "round"
|
|
45
|
+
})]
|
|
46
|
+
}));
|
|
47
|
+
|
|
48
|
+
export { SvgUnplugged as default };
|