@datalayer/icons-react 1.0.11 → 1.0.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/data1/AngularIcon.d.ts +3 -0
- package/data1/AngularIcon.js +103 -0
- package/data1/AngularIcon.svg +7 -0
- package/data1/AngularIconJupyterLab.d.ts +3 -0
- package/data1/AngularIconJupyterLab.js +11 -0
- package/data1/AppleRainbowIcon.d.ts +3 -0
- package/data1/AppleRainbowIcon.js +154 -0
- package/data1/AppleRainbowIcon.svg +10 -0
- package/data1/AppleRainbowIconJupyterLab.d.ts +3 -0
- package/data1/AppleRainbowIconJupyterLab.js +11 -0
- package/data1/AutomatItIcon.svg +3 -3
- package/data1/Student2Icon.d.ts +3 -0
- package/data1/Student2Icon.js +89 -0
- package/data1/Student2Icon.svg +3 -0
- package/data1/Student2IconJupyterLab.d.ts +3 -0
- package/data1/Student2IconJupyterLab.js +11 -0
- package/data1/UserIcon.d.ts +3 -0
- package/data1/UserIcon.js +98 -0
- package/data1/UserIcon.svg +4 -0
- package/data1/UserIconJupyterLab.d.ts +3 -0
- package/data1/UserIconJupyterLab.js +11 -0
- package/data1/UsersIcon.d.ts +3 -0
- package/data1/UsersIcon.js +100 -0
- package/data1/UsersIcon.svg +5 -0
- package/data1/UsersIconJupyterLab.d.ts +3 -0
- package/data1/UsersIconJupyterLab.js +11 -0
- package/data1/esm/AngularIcon.d.ts +3 -0
- package/data1/esm/AngularIcon.js +103 -0
- package/data1/esm/AngularIcon.svg +7 -0
- package/data1/esm/AngularIconJupyterLab.d.ts +3 -0
- package/data1/esm/AngularIconJupyterLab.js +11 -0
- package/data1/esm/AppleRainbowIcon.d.ts +3 -0
- package/data1/esm/AppleRainbowIcon.js +154 -0
- package/data1/esm/AppleRainbowIcon.svg +10 -0
- package/data1/esm/AppleRainbowIconJupyterLab.d.ts +3 -0
- package/data1/esm/AppleRainbowIconJupyterLab.js +11 -0
- package/data1/esm/AutomatItIcon.svg +3 -3
- package/data1/esm/Student2Icon.d.ts +3 -0
- package/data1/esm/Student2Icon.js +89 -0
- package/data1/esm/Student2Icon.svg +3 -0
- package/data1/esm/Student2IconJupyterLab.d.ts +3 -0
- package/data1/esm/Student2IconJupyterLab.js +11 -0
- package/data1/esm/UserIcon.d.ts +3 -0
- package/data1/esm/UserIcon.js +98 -0
- package/data1/esm/UserIcon.svg +4 -0
- package/data1/esm/UserIconJupyterLab.d.ts +3 -0
- package/data1/esm/UserIconJupyterLab.js +11 -0
- package/data1/esm/UsersIcon.d.ts +3 -0
- package/data1/esm/UsersIcon.js +100 -0
- package/data1/esm/UsersIcon.svg +5 -0
- package/data1/esm/UsersIconJupyterLab.d.ts +3 -0
- package/data1/esm/UsersIconJupyterLab.js +11 -0
- package/data1/esm/index.d.ts +10 -4
- package/data1/esm/index.js +10 -4
- package/data1/index.d.ts +10 -4
- package/data1/index.js +10 -4
- package/data2/ChristmasTreeIcon.d.ts +3 -0
- package/data2/ChristmasTreeIcon.js +161 -0
- package/data2/ChristmasTreeIcon.svg +23 -0
- package/data2/ChristmasTreeIconJupyterLab.d.ts +3 -0
- package/data2/ChristmasTreeIconJupyterLab.js +11 -0
- package/data2/GraduationCapIcon.d.ts +3 -0
- package/data2/GraduationCapIcon.js +132 -0
- package/data2/GraduationCapIcon.svg +12 -0
- package/data2/GraduationCapIconJupyterLab.d.ts +3 -0
- package/data2/GraduationCapIconJupyterLab.js +11 -0
- package/data2/StudentIcon.d.ts +3 -0
- package/data2/StudentIcon.js +135 -0
- package/data2/StudentIcon.svg +23 -0
- package/data2/StudentIconJupyterLab.d.ts +3 -0
- package/data2/StudentIconJupyterLab.js +11 -0
- package/data2/esm/ChristmasTreeIcon.d.ts +3 -0
- package/data2/esm/ChristmasTreeIcon.js +161 -0
- package/data2/esm/ChristmasTreeIcon.svg +23 -0
- package/data2/esm/ChristmasTreeIconJupyterLab.d.ts +3 -0
- package/data2/esm/ChristmasTreeIconJupyterLab.js +11 -0
- package/data2/esm/GraduationCapIcon.d.ts +3 -0
- package/data2/esm/GraduationCapIcon.js +132 -0
- package/data2/esm/GraduationCapIcon.svg +12 -0
- package/data2/esm/GraduationCapIconJupyterLab.d.ts +3 -0
- package/data2/esm/GraduationCapIconJupyterLab.js +11 -0
- package/data2/esm/StudentIcon.d.ts +3 -0
- package/data2/esm/StudentIcon.js +135 -0
- package/data2/esm/StudentIcon.svg +23 -0
- package/data2/esm/StudentIconJupyterLab.d.ts +3 -0
- package/data2/esm/StudentIconJupyterLab.js +11 -0
- package/data2/esm/index.d.ts +6 -8
- package/data2/esm/index.js +6 -8
- package/data2/index.d.ts +6 -8
- package/data2/index.js +6 -8
- package/eggs/SkubbleIcon.d.ts +3 -0
- package/eggs/SkubbleIcon.js +125 -0
- package/eggs/SkubbleIcon.svg +11 -0
- package/eggs/SkubbleIconJupyterLab.d.ts +3 -0
- package/eggs/SkubbleIconJupyterLab.js +11 -0
- package/eggs/esm/SkubbleIcon.d.ts +3 -0
- package/eggs/esm/SkubbleIcon.js +125 -0
- package/eggs/esm/SkubbleIcon.svg +11 -0
- package/eggs/esm/SkubbleIconJupyterLab.d.ts +3 -0
- package/eggs/esm/SkubbleIconJupyterLab.js +11 -0
- package/eggs/esm/index.d.ts +2 -2
- package/eggs/esm/index.js +2 -2
- package/eggs/index.d.ts +2 -2
- package/eggs/index.js +2 -2
- package/index.d.ts +464 -3
- package/index.esm.js +464 -3
- package/index.js +464 -3
- package/package.json +1 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const AngularIcon: React.ForwardRefExoticComponent<React.PropsWithoutRef<React.SVGProps<SVGSVGElement>> & { title?: string, titleId?: string, size?: "small" | "medium" | "large" | number, colored?: boolean, themed?: boolean, colormode?: boolean | "light" | "dark" } & React.RefAttributes<SVGSVGElement>>;
|
|
3
|
+
export default AngularIcon;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
const React = require("react");
|
|
2
|
+
|
|
3
|
+
const sizeMap = {
|
|
4
|
+
"small": 16,
|
|
5
|
+
"medium": 32,
|
|
6
|
+
"large": 64
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
function _DlIconInverseColormode({
|
|
10
|
+
mode,
|
|
11
|
+
children
|
|
12
|
+
}) {
|
|
13
|
+
const ref = React.useRef(null);
|
|
14
|
+
const [appearance, setAppearance] = React.useState({
|
|
15
|
+
mode: typeof mode === "string" ? mode : null,
|
|
16
|
+
lightTheme: null,
|
|
17
|
+
darkTheme: null
|
|
18
|
+
});
|
|
19
|
+
React.useLayoutEffect(() => {
|
|
20
|
+
if (typeof document === "undefined") return;
|
|
21
|
+
let currentMode = null;
|
|
22
|
+
let lightTheme = null;
|
|
23
|
+
let darkTheme = null;
|
|
24
|
+
let el = ref.current && ref.current.parentElement;
|
|
25
|
+
while (el && (!currentMode || !lightTheme || !darkTheme)) {
|
|
26
|
+
if (el.getAttribute) {
|
|
27
|
+
currentMode = currentMode || el.getAttribute("data-color-mode");
|
|
28
|
+
lightTheme = lightTheme || el.getAttribute("data-light-theme");
|
|
29
|
+
darkTheme = darkTheme || el.getAttribute("data-dark-theme");
|
|
30
|
+
}
|
|
31
|
+
el = el.parentElement;
|
|
32
|
+
}
|
|
33
|
+
if (!currentMode || currentMode === "auto") {
|
|
34
|
+
currentMode = (typeof window !== "undefined" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches) ? "dark" : "light";
|
|
35
|
+
}
|
|
36
|
+
setAppearance({
|
|
37
|
+
mode: typeof mode === "string" ? mode : (currentMode === "dark" ? "light" : "dark"),
|
|
38
|
+
lightTheme,
|
|
39
|
+
darkTheme
|
|
40
|
+
});
|
|
41
|
+
}, [mode]);
|
|
42
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
43
|
+
ref: ref,
|
|
44
|
+
"data-color-mode": appearance.mode || "light",
|
|
45
|
+
"data-light-theme": appearance.lightTheme || undefined,
|
|
46
|
+
"data-dark-theme": appearance.darkTheme || undefined,
|
|
47
|
+
style: {
|
|
48
|
+
display: "inline-flex",
|
|
49
|
+
lineHeight: 0,
|
|
50
|
+
color: "var(--fgColor-default, var(--color-fg-default, currentColor))"
|
|
51
|
+
}
|
|
52
|
+
}, children);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
function AngularIcon({
|
|
56
|
+
title,
|
|
57
|
+
titleId,
|
|
58
|
+
size,
|
|
59
|
+
colored,
|
|
60
|
+
themed,
|
|
61
|
+
colormode,
|
|
62
|
+
...props
|
|
63
|
+
}, svgRef) {
|
|
64
|
+
const _svgEl = /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
65
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
66
|
+
preserveAspectRatio: "xMinYMin meet",
|
|
67
|
+
viewBox: "0 0 256 270",
|
|
68
|
+
height: size ? typeof size === "string" ? sizeMap[size] : size : "16px",
|
|
69
|
+
fill: (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 72%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 62%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 72%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 62%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 72%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
70
|
+
"aria-hidden": "true",
|
|
71
|
+
ref: svgRef,
|
|
72
|
+
"aria-labelledby": titleId
|
|
73
|
+
}, props, {
|
|
74
|
+
"data-datalayer-icon": "",
|
|
75
|
+
style: props && props.color != null ? Object.assign({}, props.style, {
|
|
76
|
+
"--datalayer-icon-color": props.color,
|
|
77
|
+
color: props.color
|
|
78
|
+
}) : props && props.style
|
|
79
|
+
}), /*#__PURE__*/React.createElement("style", null, "[data-color-mode=\"light\"]{--datalayer-icon-color-scheme:light}[data-color-mode=\"dark\"]{--datalayer-icon-color-scheme:dark}svg[data-datalayer-icon]{color-scheme:var(--datalayer-icon-color-scheme, light dark)}"), title ? /*#__PURE__*/React.createElement("title", {
|
|
80
|
+
id: titleId
|
|
81
|
+
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
82
|
+
fill: colored ? "#B3B3B3" : (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 61%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 73%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 61%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 73%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 61%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
83
|
+
d: "M127.606.341L.849 44.95 20.88 211.022l106.86 58.732 107.412-59.528L255.175 44.16 127.606.341z"
|
|
84
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
85
|
+
fill: colored ? "#A6120D" : (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 48%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 86%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 48%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 86%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 48%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
86
|
+
d: "M242.532 53.758L127.31 14.466v241.256l96.561-53.441 18.66-148.523z"
|
|
87
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
88
|
+
fill: colored ? "#DD1B16" : (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 54%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 80%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 54%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 80%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 54%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
89
|
+
d: "M15.073 54.466l17.165 148.525 95.07 52.731V14.462L15.074 54.465z"
|
|
90
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
91
|
+
fill: colored ? "#F2F2F2" : (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 84%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 50%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 84%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 50%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 84%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
92
|
+
d: "M159.027 142.898L127.31 157.73H93.881l-15.714 39.305-29.228.54L127.31 23.227l31.717 119.672zm-3.066-7.467l-28.44-56.303-23.329 55.334h23.117l28.652.97z"
|
|
93
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
94
|
+
fill: colored ? "#B3B3B3" : (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 61%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 73%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 61%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 73%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 61%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
95
|
+
d: "M127.309 23.226l.21 55.902 26.47 55.377h-26.62l-.06 23.189 36.81.035 17.204 39.852 27.967.518-81.981-174.873z"
|
|
96
|
+
}));
|
|
97
|
+
if (!colormode) return _svgEl;
|
|
98
|
+
return /*#__PURE__*/React.createElement(_DlIconInverseColormode, {
|
|
99
|
+
mode: typeof colormode === "string" ? colormode : undefined
|
|
100
|
+
}, _svgEl);
|
|
101
|
+
}
|
|
102
|
+
const ForwardRef = React.forwardRef(AngularIcon);
|
|
103
|
+
module.exports = ForwardRef;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg width="16" height="16" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 256 270" fill="currentColor" aria-hidden="true">
|
|
2
|
+
<path fill="#B3B3B3" d="M127.606.341L.849 44.95 20.88 211.022l106.86 58.732 107.412-59.528L255.175 44.16 127.606.341z"/>
|
|
3
|
+
<path fill="#A6120D" d="M242.532 53.758L127.31 14.466v241.256l96.561-53.441 18.66-148.523z"/>
|
|
4
|
+
<path fill="#DD1B16" d="M15.073 54.466l17.165 148.525 95.07 52.731V14.462L15.074 54.465z"/>
|
|
5
|
+
<path fill="#F2F2F2" d="M159.027 142.898L127.31 157.73H93.881l-15.714 39.305-29.228.54L127.31 23.227l31.717 119.672zm-3.066-7.467l-28.44-56.303-23.329 55.334h23.117l28.652.97z"/>
|
|
6
|
+
<path fill="#B3B3B3" d="M127.309 23.226l.21 55.902 26.47 55.377h-26.62l-.06 23.189 36.81.035 17.204 39.852 27.967.518-81.981-174.873z"/>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// The root import, not lib/icon/labicon: inside JupyterLab the root is a
|
|
2
|
+
// federation singleton, so this LabIcon is the class the host recognises
|
|
3
|
+
// with instanceof — a deep import bundles a private copy the host would
|
|
4
|
+
// not style (the icon then renders unstyled, at its intrinsic size).
|
|
5
|
+
import { LabIcon } from '@jupyterlab/ui-components';
|
|
6
|
+
import AngularIconSvgStr from './AngularIcon.svg';
|
|
7
|
+
const angularIconJupyterLab = new LabIcon({
|
|
8
|
+
name: '@datalayer/icons:angular',
|
|
9
|
+
svgstr: AngularIconSvgStr,
|
|
10
|
+
});
|
|
11
|
+
export default angularIconJupyterLab;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const AppleRainbowIcon: React.ForwardRefExoticComponent<React.PropsWithoutRef<React.SVGProps<SVGSVGElement>> & { title?: string, titleId?: string, size?: "small" | "medium" | "large" | number, colored?: boolean, themed?: boolean, colormode?: boolean | "light" | "dark" } & React.RefAttributes<SVGSVGElement>>;
|
|
3
|
+
export default AppleRainbowIcon;
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
const React = require("react");
|
|
2
|
+
|
|
3
|
+
const sizeMap = {
|
|
4
|
+
"small": 16,
|
|
5
|
+
"medium": 32,
|
|
6
|
+
"large": 64
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
function _DlIconInverseColormode({
|
|
10
|
+
mode,
|
|
11
|
+
children
|
|
12
|
+
}) {
|
|
13
|
+
const ref = React.useRef(null);
|
|
14
|
+
const [appearance, setAppearance] = React.useState({
|
|
15
|
+
mode: typeof mode === "string" ? mode : null,
|
|
16
|
+
lightTheme: null,
|
|
17
|
+
darkTheme: null
|
|
18
|
+
});
|
|
19
|
+
React.useLayoutEffect(() => {
|
|
20
|
+
if (typeof document === "undefined") return;
|
|
21
|
+
let currentMode = null;
|
|
22
|
+
let lightTheme = null;
|
|
23
|
+
let darkTheme = null;
|
|
24
|
+
let el = ref.current && ref.current.parentElement;
|
|
25
|
+
while (el && (!currentMode || !lightTheme || !darkTheme)) {
|
|
26
|
+
if (el.getAttribute) {
|
|
27
|
+
currentMode = currentMode || el.getAttribute("data-color-mode");
|
|
28
|
+
lightTheme = lightTheme || el.getAttribute("data-light-theme");
|
|
29
|
+
darkTheme = darkTheme || el.getAttribute("data-dark-theme");
|
|
30
|
+
}
|
|
31
|
+
el = el.parentElement;
|
|
32
|
+
}
|
|
33
|
+
if (!currentMode || currentMode === "auto") {
|
|
34
|
+
currentMode = (typeof window !== "undefined" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches) ? "dark" : "light";
|
|
35
|
+
}
|
|
36
|
+
setAppearance({
|
|
37
|
+
mode: typeof mode === "string" ? mode : (currentMode === "dark" ? "light" : "dark"),
|
|
38
|
+
lightTheme,
|
|
39
|
+
darkTheme
|
|
40
|
+
});
|
|
41
|
+
}, [mode]);
|
|
42
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
43
|
+
ref: ref,
|
|
44
|
+
"data-color-mode": appearance.mode || "light",
|
|
45
|
+
"data-light-theme": appearance.lightTheme || undefined,
|
|
46
|
+
"data-dark-theme": appearance.darkTheme || undefined,
|
|
47
|
+
style: {
|
|
48
|
+
display: "inline-flex",
|
|
49
|
+
lineHeight: 0,
|
|
50
|
+
color: "var(--fgColor-default, var(--color-fg-default, currentColor))"
|
|
51
|
+
}
|
|
52
|
+
}, children);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
function AppleRainbowIcon({
|
|
56
|
+
title,
|
|
57
|
+
titleId,
|
|
58
|
+
size,
|
|
59
|
+
colored,
|
|
60
|
+
themed,
|
|
61
|
+
colormode,
|
|
62
|
+
...props
|
|
63
|
+
}, svgRef) {
|
|
64
|
+
const _svgEl = /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
65
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
66
|
+
overflow: "visible",
|
|
67
|
+
viewBox: "0 0 550 550",
|
|
68
|
+
width: size ? typeof size === "string" ? sizeMap[size] : size : "16px",
|
|
69
|
+
fill: (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 72%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 62%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 72%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 62%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 72%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
70
|
+
"aria-hidden": "true",
|
|
71
|
+
ref: svgRef,
|
|
72
|
+
"aria-labelledby": titleId
|
|
73
|
+
}, props, {
|
|
74
|
+
"data-datalayer-icon": "",
|
|
75
|
+
style: props && props.color != null ? Object.assign({}, props.style, {
|
|
76
|
+
"--datalayer-icon-color": props.color,
|
|
77
|
+
color: props.color
|
|
78
|
+
}) : props && props.style
|
|
79
|
+
}), /*#__PURE__*/React.createElement("style", null, "[data-color-mode=\"light\"]{--datalayer-icon-color-scheme:light}[data-color-mode=\"dark\"]{--datalayer-icon-color-scheme:dark}svg[data-datalayer-icon]{color-scheme:var(--datalayer-icon-color-scheme, light dark)}"), title ? /*#__PURE__*/React.createElement("title", {
|
|
80
|
+
id: titleId
|
|
81
|
+
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
82
|
+
fill: colored ? "#61bb46" : (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 63%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 71%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 63%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 71%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 63%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
83
|
+
fillRule: "evenodd",
|
|
84
|
+
stroke: colored ? "#61bb46" : (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 63%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 71%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 63%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 71%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 63%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
85
|
+
strokeMiterlimit: 2.613,
|
|
86
|
+
strokeWidth: 2.985,
|
|
87
|
+
d: "M25.824 200.612c.166-.273.342-.542.518-.806 28.447-43.799 73.32-69.434 115.518-69.434 42.969 0 69.98 23.555 105.498 23.555 34.463 0 55.454-23.589 105.132-23.589 37.534 0 77.329 20.439 105.674 55.781-7.837 4.292-14.907 9.165-21.226 14.521z",
|
|
88
|
+
clipRule: "evenodd",
|
|
89
|
+
transform: "matrix(.98693 0 0 .99106 27.5 .907)"
|
|
90
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
91
|
+
fill: colored ? "#61bb46" : (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 63%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 71%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 63%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 71%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 63%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
92
|
+
fillRule: "evenodd",
|
|
93
|
+
stroke: colored ? "#61bb46" : (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 63%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 71%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 63%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 71%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 63%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
94
|
+
strokeMiterlimit: 2.613,
|
|
95
|
+
strokeWidth: 2.985,
|
|
96
|
+
d: "M314.808 90.875c18.032-23.159 31.748-55.859 26.777-89.292-29.482 2.021-63.965 20.791-84.106 45.225-18.276 22.197-33.364 55.117-27.49 87.095 32.187 1.001 65.483-18.218 84.819-43.028z",
|
|
97
|
+
clipRule: "evenodd",
|
|
98
|
+
transform: "matrix(.98693 0 0 .99106 27.5 .907)"
|
|
99
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
100
|
+
fill: colored ? "#fdb827" : (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 75%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 59%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 75%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 59%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 75%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
101
|
+
fillRule: "evenodd",
|
|
102
|
+
d: "M51.539 199.086c-12.09 19.021-20.456 46.284-22.676 70.197l392.241-.01c4.241-26.161 18.343-51.156 40.694-70.158l-410.26-.029h.024z",
|
|
103
|
+
clipRule: "evenodd"
|
|
104
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
105
|
+
fill: colored ? "#f5821f" : (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 65%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 69%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 65%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 69%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 65%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
106
|
+
fillRule: "evenodd",
|
|
107
|
+
stroke: colored ? "#f5821f" : (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 65%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 69%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 65%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 69%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 65%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
108
|
+
strokeMiterlimit: 2.613,
|
|
109
|
+
strokeWidth: 2.985,
|
|
110
|
+
d: "M4.989 340.998c-3.862-24.644-4.487-48.403-2.061-70.2l394.341-.01c-3.857 23.638-.62 48.237 9.136 70.225z",
|
|
111
|
+
clipRule: "evenodd",
|
|
112
|
+
transform: "matrix(.98693 0 0 .99106 27.5 .907)"
|
|
113
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
114
|
+
fill: colored ? "#e03a3e" : (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 55%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 79%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 55%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 79%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 55%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
115
|
+
fillRule: "evenodd",
|
|
116
|
+
stroke: colored ? "#e03a3e" : (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 55%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 79%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 55%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 79%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 55%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
117
|
+
strokeMiterlimit: 2.613,
|
|
118
|
+
strokeWidth: 2.985,
|
|
119
|
+
d: "M24.261 411.193c-9.312-23.584-15.688-47.271-19.272-70.195l401.416.015c12.427 28.018 35.425 51.821 67.808 64.053-.962 2.139-1.89 4.185-2.783 6.157z",
|
|
120
|
+
clipRule: "evenodd",
|
|
121
|
+
transform: "matrix(.98693 0 0 .99106 27.5 .907)"
|
|
122
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
123
|
+
fill: colored ? "#963d97" : (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 48%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 86%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 48%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 86%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 48%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
124
|
+
fillRule: "evenodd",
|
|
125
|
+
stroke: colored ? "#963d97" : (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 48%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 86%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 48%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 86%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 48%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
126
|
+
strokeMiterlimit: 2.613,
|
|
127
|
+
strokeWidth: 2.985,
|
|
128
|
+
d: "M471.429 411.222c-11.118 24.443-17.563 37.129-32.949 60.547a605.045 605.045 0 01-6.436 9.609l-370.527.034a850.124 850.124 0 01-3.521-5.288c-13.853-21.099-25.068-42.974-33.735-64.932z",
|
|
129
|
+
clipRule: "evenodd",
|
|
130
|
+
transform: "matrix(.98693 0 0 .99106 27.5 .907)"
|
|
131
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
132
|
+
fill: "none",
|
|
133
|
+
stroke: colored ? "#000" : (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 38%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 96%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 38%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 96%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 38%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
134
|
+
strokeMiterlimit: 2.613,
|
|
135
|
+
strokeWidth: 3.895,
|
|
136
|
+
d: "M472.972 550.778c13.589 0 24.604-11.016 24.604-24.595 0-13.59-11.016-24.6-24.604-24.6s-24.604 11.01-24.604 24.6c0 13.579 11.015 24.595 24.604 24.595m-6.992-9.648v-27.485h11.011m6.645 27.182l-6.553-13.892m-11.054-.244h11.006m-.01-.034c2.734 0 5.503-2.891 5.503-6.46 0-3.8-2.886-6.553-5.537-6.553",
|
|
137
|
+
transform: "matrix(.98693 0 0 .99106 27.5 .907)"
|
|
138
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
139
|
+
fill: colored ? "#009ddc" : (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 62%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 72%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 62%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 72%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 62%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
140
|
+
fillRule: "evenodd",
|
|
141
|
+
stroke: colored ? "#009ddc" : (props.color != null ? "color-mix(in srgb, var(--datalayer-icon-color, currentColor) 62%, black)" : (themed ? "light-dark(color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 72%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor)) 62%, var(--bgColor-default, var(--color-canvas-default, Canvas))))" : "light-dark(color-mix(in srgb, var(--datalayer-icon-color, currentColor) 72%, var(--bgColor-default, var(--color-canvas-default, Canvas))), color-mix(in srgb, var(--datalayer-icon-color, currentColor) 62%, var(--bgColor-default, var(--color-canvas-default, Canvas))))")),
|
|
142
|
+
strokeMiterlimit: 2.613,
|
|
143
|
+
strokeWidth: 2.985,
|
|
144
|
+
d: "M432.044 481.378c-22.666 33.203-53.096 69.741-90.02 70.088-36.03.327-45.273-23.447-94.155-23.179-48.882.273-59.087 23.594-95.117 23.257-38.521-.356-68.433-36.24-91.235-70.132z",
|
|
145
|
+
clipRule: "evenodd",
|
|
146
|
+
transform: "matrix(.98693 0 0 .99106 27.5 .907)"
|
|
147
|
+
}));
|
|
148
|
+
if (!colormode) return _svgEl;
|
|
149
|
+
return /*#__PURE__*/React.createElement(_DlIconInverseColormode, {
|
|
150
|
+
mode: typeof colormode === "string" ? colormode : undefined
|
|
151
|
+
}, _svgEl);
|
|
152
|
+
}
|
|
153
|
+
const ForwardRef = React.forwardRef(AppleRainbowIcon);
|
|
154
|
+
module.exports = ForwardRef;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg width="16" height="16" xmlns="http://www.w3.org/2000/svg" overflow="visible" viewBox="0 0 550 550" fill="currentColor" aria-hidden="true">
|
|
2
|
+
<path fill="#61bb46" fill-rule="evenodd" stroke="#61bb46" stroke-miterlimit="2.613" stroke-width="2.985" d="M25.824 200.612c.166-.273.342-.542.518-.806 28.447-43.799 73.32-69.434 115.518-69.434 42.969 0 69.98 23.555 105.498 23.555 34.463 0 55.454-23.589 105.132-23.589 37.534 0 77.329 20.439 105.674 55.781-7.837 4.292-14.907 9.165-21.226 14.521z" clip-rule="evenodd" transform="matrix(.98693 0 0 .99106 27.5 .907)"/>
|
|
3
|
+
<path fill="#61bb46" fill-rule="evenodd" stroke="#61bb46" stroke-miterlimit="2.613" stroke-width="2.985" d="M314.808 90.875c18.032-23.159 31.748-55.859 26.777-89.292-29.482 2.021-63.965 20.791-84.106 45.225-18.276 22.197-33.364 55.117-27.49 87.095 32.187 1.001 65.483-18.218 84.819-43.028z" clip-rule="evenodd" transform="matrix(.98693 0 0 .99106 27.5 .907)"/>
|
|
4
|
+
<path fill="#fdb827" fill-rule="evenodd" d="M51.539 199.086c-12.09 19.021-20.456 46.284-22.676 70.197l392.241-.01c4.241-26.161 18.343-51.156 40.694-70.158l-410.26-.029h.024z" clip-rule="evenodd"/>
|
|
5
|
+
<path fill="#f5821f" fill-rule="evenodd" stroke="#f5821f" stroke-miterlimit="2.613" stroke-width="2.985" d="M4.989 340.998c-3.862-24.644-4.487-48.403-2.061-70.2l394.341-.01c-3.857 23.638-.62 48.237 9.136 70.225z" clip-rule="evenodd" transform="matrix(.98693 0 0 .99106 27.5 .907)"/>
|
|
6
|
+
<path fill="#e03a3e" fill-rule="evenodd" stroke="#e03a3e" stroke-miterlimit="2.613" stroke-width="2.985" d="M24.261 411.193c-9.312-23.584-15.688-47.271-19.272-70.195l401.416.015c12.427 28.018 35.425 51.821 67.808 64.053-.962 2.139-1.89 4.185-2.783 6.157z" clip-rule="evenodd" transform="matrix(.98693 0 0 .99106 27.5 .907)"/>
|
|
7
|
+
<path fill="#963d97" fill-rule="evenodd" stroke="#963d97" stroke-miterlimit="2.613" stroke-width="2.985" d="M471.429 411.222c-11.118 24.443-17.563 37.129-32.949 60.547a605.045 605.045 0 01-6.436 9.609l-370.527.034a850.124 850.124 0 01-3.521-5.288c-13.853-21.099-25.068-42.974-33.735-64.932z" clip-rule="evenodd" transform="matrix(.98693 0 0 .99106 27.5 .907)"/>
|
|
8
|
+
<path fill="none" stroke="#000" stroke-miterlimit="2.613" stroke-width="3.895" d="M472.972 550.778c13.589 0 24.604-11.016 24.604-24.595 0-13.59-11.016-24.6-24.604-24.6s-24.604 11.01-24.604 24.6c0 13.579 11.015 24.595 24.604 24.595m-6.992-9.648v-27.485h11.011m6.645 27.182l-6.553-13.892m-11.054-.244h11.006m-.01-.034c2.734 0 5.503-2.891 5.503-6.46 0-3.8-2.886-6.553-5.537-6.553" transform="matrix(.98693 0 0 .99106 27.5 .907)"/>
|
|
9
|
+
<path fill="#009ddc" fill-rule="evenodd" stroke="#009ddc" stroke-miterlimit="2.613" stroke-width="2.985" d="M432.044 481.378c-22.666 33.203-53.096 69.741-90.02 70.088-36.03.327-45.273-23.447-94.155-23.179-48.882.273-59.087 23.594-95.117 23.257-38.521-.356-68.433-36.24-91.235-70.132z" clip-rule="evenodd" transform="matrix(.98693 0 0 .99106 27.5 .907)"/>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// The root import, not lib/icon/labicon: inside JupyterLab the root is a
|
|
2
|
+
// federation singleton, so this LabIcon is the class the host recognises
|
|
3
|
+
// with instanceof — a deep import bundles a private copy the host would
|
|
4
|
+
// not style (the icon then renders unstyled, at its intrinsic size).
|
|
5
|
+
import { LabIcon } from '@jupyterlab/ui-components';
|
|
6
|
+
import AppleRainbowIconSvgStr from './AppleRainbowIcon.svg';
|
|
7
|
+
const appleRainbowIconJupyterLab = new LabIcon({
|
|
8
|
+
name: '@datalayer/icons:apple-rainbow',
|
|
9
|
+
svgstr: AppleRainbowIconSvgStr,
|
|
10
|
+
});
|
|
11
|
+
export default appleRainbowIconJupyterLab;
|
package/data1/AutomatItIcon.svg
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<svg width="16" height="16" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 23 23" aria-hidden="true">
|
|
2
|
-
<path fill="#a7eb20" d="M22.994 12.106C22.994 7.61 17.834 4 11.516 4 5.197 4 0 7.617 0 12.106c0 .598.108 1.159.248 1.687.179-3.788 4.497-6.807 9.797-6.807 5.299 0 9.796 3.159 9.796 7.056 0 2.21-1.44 4.208-3.688 5.507C20.19 18.25 23 15.411 23 12.106"/>
|
|
3
|
-
<path fill="#4c9ad4" d="M18.854 13.933c0-3.438-3.93-6.214-8.816-6.214-4.885 0-8.815 2.77-8.815 6.214 0 .459.07.879.21 1.3.108-2.917 3.408-5.228 7.478-5.228s7.516 2.42 7.516 5.406c0 1.687-1.09 3.228-2.81 4.208 3.058-.98 5.23-3.158 5.23-5.686"/>
|
|
4
|
-
<path fill="#01486d" d="M6.108 12.144c-2 .63-3.407 2.038-3.407 3.649 0 2.21 2.56 3.998 5.72 3.998 3.159 0 5.719-1.789 5.719-3.998 0-.28-.038-.56-.14-.841-.07 1.86-2.21 3.368-4.847 3.368-2.637 0-4.847-1.547-4.847-3.476 0-1.09.7-2.07 1.79-2.7"/>
|
|
2
|
+
<path fill="#a7eb20" stroke-width=".714" d="M22.994 12.106C22.994 7.61 17.834 4 11.516 4 5.197 4 0 7.617 0 12.106c0 .598.108 1.159.248 1.687.179-3.788 4.497-6.807 9.797-6.807 5.299 0 9.796 3.159 9.796 7.056 0 2.21-1.44 4.208-3.688 5.507C20.19 18.25 23 15.411 23 12.106"/>
|
|
3
|
+
<path fill="#4c9ad4" stroke-width=".714" d="M18.854 13.933c0-3.438-3.93-6.214-8.816-6.214-4.885 0-8.815 2.77-8.815 6.214 0 .459.07.879.21 1.3.108-2.917 3.408-5.228 7.478-5.228s7.516 2.42 7.516 5.406c0 1.687-1.09 3.228-2.81 4.208 3.058-.98 5.23-3.158 5.23-5.686"/>
|
|
4
|
+
<path fill="#01486d" stroke-width=".714" d="M6.108 12.144c-2 .63-3.407 2.038-3.407 3.649 0 2.21 2.56 3.998 5.72 3.998 3.159 0 5.719-1.789 5.719-3.998 0-.28-.038-.56-.14-.841-.07 1.86-2.21 3.368-4.847 3.368-2.637 0-4.847-1.547-4.847-3.476 0-1.09.7-2.07 1.79-2.7"/>
|
|
5
5
|
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const Student2Icon: React.ForwardRefExoticComponent<React.PropsWithoutRef<React.SVGProps<SVGSVGElement>> & { title?: string, titleId?: string, size?: "small" | "medium" | "large" | number, colored?: boolean, themed?: boolean, colormode?: boolean | "light" | "dark" } & React.RefAttributes<SVGSVGElement>>;
|
|
3
|
+
export default Student2Icon;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
const React = require("react");
|
|
2
|
+
|
|
3
|
+
const sizeMap = {
|
|
4
|
+
"small": 16,
|
|
5
|
+
"medium": 32,
|
|
6
|
+
"large": 64
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
function _DlIconInverseColormode({
|
|
10
|
+
mode,
|
|
11
|
+
children
|
|
12
|
+
}) {
|
|
13
|
+
const ref = React.useRef(null);
|
|
14
|
+
const [appearance, setAppearance] = React.useState({
|
|
15
|
+
mode: typeof mode === "string" ? mode : null,
|
|
16
|
+
lightTheme: null,
|
|
17
|
+
darkTheme: null
|
|
18
|
+
});
|
|
19
|
+
React.useLayoutEffect(() => {
|
|
20
|
+
if (typeof document === "undefined") return;
|
|
21
|
+
let currentMode = null;
|
|
22
|
+
let lightTheme = null;
|
|
23
|
+
let darkTheme = null;
|
|
24
|
+
let el = ref.current && ref.current.parentElement;
|
|
25
|
+
while (el && (!currentMode || !lightTheme || !darkTheme)) {
|
|
26
|
+
if (el.getAttribute) {
|
|
27
|
+
currentMode = currentMode || el.getAttribute("data-color-mode");
|
|
28
|
+
lightTheme = lightTheme || el.getAttribute("data-light-theme");
|
|
29
|
+
darkTheme = darkTheme || el.getAttribute("data-dark-theme");
|
|
30
|
+
}
|
|
31
|
+
el = el.parentElement;
|
|
32
|
+
}
|
|
33
|
+
if (!currentMode || currentMode === "auto") {
|
|
34
|
+
currentMode = (typeof window !== "undefined" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches) ? "dark" : "light";
|
|
35
|
+
}
|
|
36
|
+
setAppearance({
|
|
37
|
+
mode: typeof mode === "string" ? mode : (currentMode === "dark" ? "light" : "dark"),
|
|
38
|
+
lightTheme,
|
|
39
|
+
darkTheme
|
|
40
|
+
});
|
|
41
|
+
}, [mode]);
|
|
42
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
43
|
+
ref: ref,
|
|
44
|
+
"data-color-mode": appearance.mode || "light",
|
|
45
|
+
"data-light-theme": appearance.lightTheme || undefined,
|
|
46
|
+
"data-dark-theme": appearance.darkTheme || undefined,
|
|
47
|
+
style: {
|
|
48
|
+
display: "inline-flex",
|
|
49
|
+
lineHeight: 0,
|
|
50
|
+
color: "var(--fgColor-default, var(--color-fg-default, currentColor))"
|
|
51
|
+
}
|
|
52
|
+
}, children);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
function Student2Icon({
|
|
56
|
+
title,
|
|
57
|
+
titleId,
|
|
58
|
+
size,
|
|
59
|
+
colored,
|
|
60
|
+
themed,
|
|
61
|
+
colormode,
|
|
62
|
+
...props
|
|
63
|
+
}, svgRef) {
|
|
64
|
+
const _svgEl = /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
65
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
66
|
+
fill: (themed ? "var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor))" : "var(--datalayer-icon-color, currentColor)"),
|
|
67
|
+
"aria-hidden": "true",
|
|
68
|
+
width: size ? typeof size === "string" ? sizeMap[size] : size : "16px",
|
|
69
|
+
viewBox: "0 0 20 20",
|
|
70
|
+
ref: svgRef,
|
|
71
|
+
"aria-labelledby": titleId
|
|
72
|
+
}, props, {
|
|
73
|
+
"data-datalayer-icon": "",
|
|
74
|
+
style: props && props.color != null ? Object.assign({}, props.style, {
|
|
75
|
+
"--datalayer-icon-color": props.color,
|
|
76
|
+
color: props.color
|
|
77
|
+
}) : props && props.style
|
|
78
|
+
}), /*#__PURE__*/React.createElement("style", null, "[data-color-mode=\"light\"]{--datalayer-icon-color-scheme:light}[data-color-mode=\"dark\"]{--datalayer-icon-color-scheme:dark}svg[data-datalayer-icon]{color-scheme:var(--datalayer-icon-color-scheme, light dark)}"), title ? /*#__PURE__*/React.createElement("title", {
|
|
79
|
+
id: titleId
|
|
80
|
+
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
81
|
+
d: "M19.576 3.238l-9.23-3.2a.787.787 0 00-.48 0l-9.221 3.2h-.02l-.096.05H.52l-.095.06c0 .01-.01.01-.02.02l-.076.07-.068.08c0 .01-.01.01-.01.02l-.057.09c0 .01 0 .01-.01.02l-.038.09-.029.11v.03a.384.384 0 00-.01.12v8c0 .212.081.416.226.566a.75.75 0 001.087 0 .817.817 0 00.226-.566v-6.89l3.23 1.12a6.51 6.51 0 00-.923 3.37 6.6 6.6 0 00.77 3.097 6.303 6.303 0 002.115 2.323 9.318 9.318 0 00-4.471 3.74.837.837 0 00-.103.605.813.813 0 00.334.506.744.744 0 00.575.114.776.776 0 00.483-.345 7.817 7.817 0 012.78-2.674 7.458 7.458 0 013.67-.97 7.46 7.46 0 013.671.97 7.818 7.818 0 012.781 2.675c.07.11.166.201.279.264A.746.746 0 0017.2 20a.703.703 0 00.414-.13.81.81 0 00.334-.506.837.837 0 00-.103-.604 9.318 9.318 0 00-4.471-3.74 6.303 6.303 0 002.114-2.324 6.59 6.59 0 00.77-3.097 6.51 6.51 0 00-.923-3.37l4.24-1.47a.771.771 0 00.383-.291.822.822 0 000-.938.771.771 0 00-.383-.291zm-4.855 6.36a4.9 4.9 0 01-1.352 3.394 4.527 4.527 0 01-3.263 1.406 4.527 4.527 0 01-3.264-1.406 4.9 4.9 0 01-1.351-3.394 4.993 4.993 0 01.894-2.85l3.48 1.21a.741.741 0 00.481 0l3.48-1.21a4.99 4.99 0 01.895 2.85zm-.894-4.53h-.01l-3.711 1.29-3.712-1.29h-.01l-3.076-1.07 6.798-2.36 6.797 2.36-3.076 1.07z"
|
|
82
|
+
}));
|
|
83
|
+
if (!colormode) return _svgEl;
|
|
84
|
+
return /*#__PURE__*/React.createElement(_DlIconInverseColormode, {
|
|
85
|
+
mode: typeof colormode === "string" ? colormode : undefined
|
|
86
|
+
}, _svgEl);
|
|
87
|
+
}
|
|
88
|
+
const ForwardRef = React.forwardRef(Student2Icon);
|
|
89
|
+
module.exports = ForwardRef;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="16" height="16" xmlns="http://www.w3.org/2000/svg" fill="currentColor" aria-hidden="true" viewBox="0 0 20 20">
|
|
2
|
+
<path d="M19.576 3.238l-9.23-3.2a.787.787 0 00-.48 0l-9.221 3.2h-.02l-.096.05H.52l-.095.06c0 .01-.01.01-.02.02l-.076.07-.068.08c0 .01-.01.01-.01.02l-.057.09c0 .01 0 .01-.01.02l-.038.09-.029.11v.03a.384.384 0 00-.01.12v8c0 .212.081.416.226.566a.75.75 0 001.087 0 .817.817 0 00.226-.566v-6.89l3.23 1.12a6.51 6.51 0 00-.923 3.37 6.6 6.6 0 00.77 3.097 6.303 6.303 0 002.115 2.323 9.318 9.318 0 00-4.471 3.74.837.837 0 00-.103.605.813.813 0 00.334.506.744.744 0 00.575.114.776.776 0 00.483-.345 7.817 7.817 0 012.78-2.674 7.458 7.458 0 013.67-.97 7.46 7.46 0 013.671.97 7.818 7.818 0 012.781 2.675c.07.11.166.201.279.264A.746.746 0 0017.2 20a.703.703 0 00.414-.13.81.81 0 00.334-.506.837.837 0 00-.103-.604 9.318 9.318 0 00-4.471-3.74 6.303 6.303 0 002.114-2.324 6.59 6.59 0 00.77-3.097 6.51 6.51 0 00-.923-3.37l4.24-1.47a.771.771 0 00.383-.291.822.822 0 000-.938.771.771 0 00-.383-.291zm-4.855 6.36a4.9 4.9 0 01-1.352 3.394 4.527 4.527 0 01-3.263 1.406 4.527 4.527 0 01-3.264-1.406 4.9 4.9 0 01-1.351-3.394 4.993 4.993 0 01.894-2.85l3.48 1.21a.741.741 0 00.481 0l3.48-1.21a4.99 4.99 0 01.895 2.85zm-.894-4.53h-.01l-3.711 1.29-3.712-1.29h-.01l-3.076-1.07 6.798-2.36 6.797 2.36-3.076 1.07z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// The root import, not lib/icon/labicon: inside JupyterLab the root is a
|
|
2
|
+
// federation singleton, so this LabIcon is the class the host recognises
|
|
3
|
+
// with instanceof — a deep import bundles a private copy the host would
|
|
4
|
+
// not style (the icon then renders unstyled, at its intrinsic size).
|
|
5
|
+
import { LabIcon } from '@jupyterlab/ui-components';
|
|
6
|
+
import Student2IconSvgStr from './Student2Icon.svg';
|
|
7
|
+
const student2IconJupyterLab = new LabIcon({
|
|
8
|
+
name: '@datalayer/icons:student2',
|
|
9
|
+
svgstr: Student2IconSvgStr,
|
|
10
|
+
});
|
|
11
|
+
export default student2IconJupyterLab;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const UserIcon: React.ForwardRefExoticComponent<React.PropsWithoutRef<React.SVGProps<SVGSVGElement>> & { title?: string, titleId?: string, size?: "small" | "medium" | "large" | number, colored?: boolean, themed?: boolean, colormode?: boolean | "light" | "dark" } & React.RefAttributes<SVGSVGElement>>;
|
|
3
|
+
export default UserIcon;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
const React = require("react");
|
|
2
|
+
|
|
3
|
+
const sizeMap = {
|
|
4
|
+
"small": 16,
|
|
5
|
+
"medium": 32,
|
|
6
|
+
"large": 64
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
function _DlIconInverseColormode({
|
|
10
|
+
mode,
|
|
11
|
+
children
|
|
12
|
+
}) {
|
|
13
|
+
const ref = React.useRef(null);
|
|
14
|
+
const [appearance, setAppearance] = React.useState({
|
|
15
|
+
mode: typeof mode === "string" ? mode : null,
|
|
16
|
+
lightTheme: null,
|
|
17
|
+
darkTheme: null
|
|
18
|
+
});
|
|
19
|
+
React.useLayoutEffect(() => {
|
|
20
|
+
if (typeof document === "undefined") return;
|
|
21
|
+
let currentMode = null;
|
|
22
|
+
let lightTheme = null;
|
|
23
|
+
let darkTheme = null;
|
|
24
|
+
let el = ref.current && ref.current.parentElement;
|
|
25
|
+
while (el && (!currentMode || !lightTheme || !darkTheme)) {
|
|
26
|
+
if (el.getAttribute) {
|
|
27
|
+
currentMode = currentMode || el.getAttribute("data-color-mode");
|
|
28
|
+
lightTheme = lightTheme || el.getAttribute("data-light-theme");
|
|
29
|
+
darkTheme = darkTheme || el.getAttribute("data-dark-theme");
|
|
30
|
+
}
|
|
31
|
+
el = el.parentElement;
|
|
32
|
+
}
|
|
33
|
+
if (!currentMode || currentMode === "auto") {
|
|
34
|
+
currentMode = (typeof window !== "undefined" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches) ? "dark" : "light";
|
|
35
|
+
}
|
|
36
|
+
setAppearance({
|
|
37
|
+
mode: typeof mode === "string" ? mode : (currentMode === "dark" ? "light" : "dark"),
|
|
38
|
+
lightTheme,
|
|
39
|
+
darkTheme
|
|
40
|
+
});
|
|
41
|
+
}, [mode]);
|
|
42
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
43
|
+
ref: ref,
|
|
44
|
+
"data-color-mode": appearance.mode || "light",
|
|
45
|
+
"data-light-theme": appearance.lightTheme || undefined,
|
|
46
|
+
"data-dark-theme": appearance.darkTheme || undefined,
|
|
47
|
+
style: {
|
|
48
|
+
display: "inline-flex",
|
|
49
|
+
lineHeight: 0,
|
|
50
|
+
color: "var(--fgColor-default, var(--color-fg-default, currentColor))"
|
|
51
|
+
}
|
|
52
|
+
}, children);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
function UserIcon({
|
|
56
|
+
title,
|
|
57
|
+
titleId,
|
|
58
|
+
size,
|
|
59
|
+
colored,
|
|
60
|
+
themed,
|
|
61
|
+
colormode,
|
|
62
|
+
...props
|
|
63
|
+
}, svgRef) {
|
|
64
|
+
const _svgEl = /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
65
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
66
|
+
fill: "none",
|
|
67
|
+
stroke: (themed ? "var(--datalayer-icon-color, var(--datalayer-icon-fg, currentColor))" : "var(--datalayer-icon-color, currentColor)"),
|
|
68
|
+
width: size ? typeof size === "string" ? sizeMap[size] : size : "16px",
|
|
69
|
+
strokeLinecap: "round",
|
|
70
|
+
strokeLinejoin: "round",
|
|
71
|
+
strokeWidth: 2,
|
|
72
|
+
className: "prefix__lucide prefix__lucide-user-2",
|
|
73
|
+
viewBox: "0 0 24 24",
|
|
74
|
+
"aria-hidden": "true",
|
|
75
|
+
ref: svgRef,
|
|
76
|
+
"aria-labelledby": titleId
|
|
77
|
+
}, props, {
|
|
78
|
+
"data-datalayer-icon": "",
|
|
79
|
+
style: props && props.color != null ? Object.assign({}, props.style, {
|
|
80
|
+
"--datalayer-icon-color": props.color,
|
|
81
|
+
color: props.color
|
|
82
|
+
}) : props && props.style
|
|
83
|
+
}), /*#__PURE__*/React.createElement("style", null, "[data-color-mode=\"light\"]{--datalayer-icon-color-scheme:light}[data-color-mode=\"dark\"]{--datalayer-icon-color-scheme:dark}svg[data-datalayer-icon]{color-scheme:var(--datalayer-icon-color-scheme, light dark)}"), title ? /*#__PURE__*/React.createElement("title", {
|
|
84
|
+
id: titleId
|
|
85
|
+
}, title) : null, /*#__PURE__*/React.createElement("circle", {
|
|
86
|
+
cx: 12,
|
|
87
|
+
cy: 8,
|
|
88
|
+
r: 5
|
|
89
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
90
|
+
d: "M20 21a8 8 0 10-16 0"
|
|
91
|
+
}));
|
|
92
|
+
if (!colormode) return _svgEl;
|
|
93
|
+
return /*#__PURE__*/React.createElement(_DlIconInverseColormode, {
|
|
94
|
+
mode: typeof colormode === "string" ? colormode : undefined
|
|
95
|
+
}, _svgEl);
|
|
96
|
+
}
|
|
97
|
+
const ForwardRef = React.forwardRef(UserIcon);
|
|
98
|
+
module.exports = ForwardRef;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// The root import, not lib/icon/labicon: inside JupyterLab the root is a
|
|
2
|
+
// federation singleton, so this LabIcon is the class the host recognises
|
|
3
|
+
// with instanceof — a deep import bundles a private copy the host would
|
|
4
|
+
// not style (the icon then renders unstyled, at its intrinsic size).
|
|
5
|
+
import { LabIcon } from '@jupyterlab/ui-components';
|
|
6
|
+
import UserIconSvgStr from './UserIcon.svg';
|
|
7
|
+
const userIconJupyterLab = new LabIcon({
|
|
8
|
+
name: '@datalayer/icons:user',
|
|
9
|
+
svgstr: UserIconSvgStr,
|
|
10
|
+
});
|
|
11
|
+
export default userIconJupyterLab;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const UsersIcon: React.ForwardRefExoticComponent<React.PropsWithoutRef<React.SVGProps<SVGSVGElement>> & { title?: string, titleId?: string, size?: "small" | "medium" | "large" | number, colored?: boolean, themed?: boolean, colormode?: boolean | "light" | "dark" } & React.RefAttributes<SVGSVGElement>>;
|
|
3
|
+
export default UsersIcon;
|