@vention/machine-ui 6.6.0 → 6.6.2
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/index.esm.js +471 -448
- package/lightbulb.esm.js +35 -0
- package/package.json +1 -1
- package/src/lib/components/vention-button/vention-button.d.ts +3 -0
- package/src/lib/components/vention-icon/_generated/icon-types.d.ts +1 -0
- package/src/lib/components/vention-icon/_generated/icons/lightbulb.d.ts +3 -0
- package/src/lib/components/vention-spinner/vention-spinner.d.ts +4 -0
package/lightbulb.esm.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
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 'classnames';
|
|
11
|
+
import 'react-draggable';
|
|
12
|
+
import '@mui/material/Slider';
|
|
13
|
+
import '@mui/material/Typography';
|
|
14
|
+
import '@mui/material/utils';
|
|
15
|
+
import 'tss-react';
|
|
16
|
+
|
|
17
|
+
const SvgLightbulb = props => jsxs("svg", Object.assign({
|
|
18
|
+
viewBox: "0 0 24 24",
|
|
19
|
+
fill: "none",
|
|
20
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
21
|
+
}, props, {
|
|
22
|
+
children: [jsx("path", {
|
|
23
|
+
d: "M12 3C8.68629 3 6 5.68629 6 9C6 10.9637 6.94335 12.7071 8.5 13.8V16H15.5V13.8C17.0566 12.7071 18 10.9637 18 9C18 5.68629 15.3137 3 12 3Z",
|
|
24
|
+
stroke: "currentColor",
|
|
25
|
+
strokeLinecap: "round",
|
|
26
|
+
strokeLinejoin: "round"
|
|
27
|
+
}), jsx("path", {
|
|
28
|
+
d: "M9.5 19H14.5",
|
|
29
|
+
stroke: "currentColor",
|
|
30
|
+
strokeLinecap: "round",
|
|
31
|
+
strokeLinejoin: "round"
|
|
32
|
+
})]
|
|
33
|
+
}));
|
|
34
|
+
|
|
35
|
+
export { SvgLightbulb as default };
|
package/package.json
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import { VentionButtonProps } from "./button-utils";
|
|
2
|
+
export declare const VentionButtonIds: {
|
|
3
|
+
spinner: string;
|
|
4
|
+
};
|
|
2
5
|
export declare const VentionButton: import("react").ForwardRefExoticComponent<Omit<VentionButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
3
6
|
export declare function getSpinnerColor(variant: VentionButtonProps["variant"]): string;
|
|
@@ -243,6 +243,7 @@ export declare const iconImports: {
|
|
|
243
243
|
"legacy-axis": import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
244
244
|
"legacy-robot": import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
245
245
|
"letter-case": import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
246
|
+
lightbulb: import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
246
247
|
line: import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
247
248
|
linear: import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
248
249
|
link: import("react").LazyExoticComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -6,5 +6,9 @@ export interface VentionSpinnerProps {
|
|
|
6
6
|
colored?: boolean;
|
|
7
7
|
label?: string;
|
|
8
8
|
color?: string;
|
|
9
|
+
/** Diameter in pixels. Overrides the diameter given by `size`. */
|
|
10
|
+
diameter?: number;
|
|
11
|
+
/** Stroke width in pixels. By default, the stroke width is relative to the diameter. */
|
|
12
|
+
strokeWidth?: number;
|
|
9
13
|
}
|
|
10
14
|
export declare const VentionSpinner: (inputProps: VentionSpinnerProps) => import("react/jsx-runtime").JSX.Element;
|