skillgrid 0.0.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/LICENSE.md +129 -0
- package/README.md +211 -0
- package/dist/App.d.ts +2 -0
- package/dist/components/Avatar/Avatar.d.ts +7 -0
- package/dist/components/Avatar/Avatar.type.d.ts +87 -0
- package/dist/components/Avatar/AvatarGroup/AvatarGroup.d.ts +12 -0
- package/dist/components/Avatar/assets/index.d.ts +7 -0
- package/dist/components/Avatar/assets/react-svg-icons.d.ts +4 -0
- package/dist/components/Avatar/index.d.ts +5 -0
- package/dist/components/Avatar/lib/get-avatar-border-radius-by-size-and-shape.d.ts +3 -0
- package/dist/components/Avatar/lib/get-initials-color.d.ts +4 -0
- package/dist/components/Avatar/lib/get-initials-color.test.d.ts +1 -0
- package/dist/components/Avatar/lib/get-initials.d.ts +1 -0
- package/dist/components/Avatar/lib/get-initials.test.d.ts +1 -0
- package/dist/components/Avatar/lib/get-overflow-count-text.d.ts +2 -0
- package/dist/components/Avatar/lib/get-overflow-count-text.test.d.ts +1 -0
- package/dist/components/Avatar/lib/index.d.ts +4 -0
- package/dist/components/Badge/Badge.d.ts +17 -0
- package/dist/components/Badge/Badge.type.d.ts +61 -0
- package/dist/components/Badge/index.d.ts +2 -0
- package/dist/components/Button/Button.d.ts +14 -0
- package/dist/components/Button/Button.type.d.ts +105 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/ConfigProvider/ConfigProvider.d.ts +13 -0
- package/dist/components/ConfigProvider/ConfigProvider.hook.d.ts +4 -0
- package/dist/components/ConfigProvider/ConfigProvider.type.d.ts +23 -0
- package/dist/components/ConfigProvider/index.d.ts +3 -0
- package/dist/components/Image/Image.d.ts +11 -0
- package/dist/components/Image/Image.type.d.ts +36 -0
- package/dist/components/Image/assets/PlaceholderImageIcon.d.ts +9 -0
- package/dist/components/Image/index.d.ts +2 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts +14 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.type.d.ts +3 -0
- package/dist/components/LanguageSwitcher/index.d.ts +2 -0
- package/dist/components/Loader/Loader.d.ts +19 -0
- package/dist/components/Loader/Loader.type.d.ts +39 -0
- package/dist/components/Loader/index.d.ts +2 -0
- package/dist/components/Palette/Palette.constants.d.ts +13 -0
- package/dist/components/Palette/Palette.d.ts +4 -0
- package/dist/components/Palette/Palette.type.d.ts +4 -0
- package/dist/components/Palette/index.d.ts +2 -0
- package/dist/components/StoryComponents.d.ts +295 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/useBackgroundColor.d.ts +20 -0
- package/dist/hooks/useCustomTranslations.d.ts +9 -0
- package/dist/i18n.d.ts +2 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.cjs10.js +1 -0
- package/dist/index.cjs11.js +1 -0
- package/dist/index.cjs12.js +1 -0
- package/dist/index.cjs13.js +1 -0
- package/dist/index.cjs14.js +1 -0
- package/dist/index.cjs15.js +1 -0
- package/dist/index.cjs16.js +1 -0
- package/dist/index.cjs17.js +1 -0
- package/dist/index.cjs18.js +1 -0
- package/dist/index.cjs19.js +1 -0
- package/dist/index.cjs2.js +1 -0
- package/dist/index.cjs20.js +1 -0
- package/dist/index.cjs21.js +1 -0
- package/dist/index.cjs22.js +1 -0
- package/dist/index.cjs23.js +1 -0
- package/dist/index.cjs24.js +1 -0
- package/dist/index.cjs25.js +1 -0
- package/dist/index.cjs26.js +1 -0
- package/dist/index.cjs27.js +1 -0
- package/dist/index.cjs28.js +1 -0
- package/dist/index.cjs29.js +1 -0
- package/dist/index.cjs3.js +1 -0
- package/dist/index.cjs30.js +1 -0
- package/dist/index.cjs31.js +1 -0
- package/dist/index.cjs32.js +1 -0
- package/dist/index.cjs33.js +1 -0
- package/dist/index.cjs34.js +1 -0
- package/dist/index.cjs35.js +9 -0
- package/dist/index.cjs36.js +22 -0
- package/dist/index.cjs37.js +5 -0
- package/dist/index.cjs38.js +1 -0
- package/dist/index.cjs39.js +1 -0
- package/dist/index.cjs4.js +1 -0
- package/dist/index.cjs40.js +1 -0
- package/dist/index.cjs41.js +1 -0
- package/dist/index.cjs42.js +1 -0
- package/dist/index.cjs43.js +1 -0
- package/dist/index.cjs44.js +1 -0
- package/dist/index.cjs45.js +1 -0
- package/dist/index.cjs5.js +1 -0
- package/dist/index.cjs6.js +1 -0
- package/dist/index.cjs7.js +1 -0
- package/dist/index.cjs8.js +1 -0
- package/dist/index.cjs9.js +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.es.js +21 -0
- package/dist/index.es10.js +4 -0
- package/dist/index.es11.js +61 -0
- package/dist/index.es12.js +82 -0
- package/dist/index.es13.js +5 -0
- package/dist/index.es14.js +32 -0
- package/dist/index.es15.js +7 -0
- package/dist/index.es16.js +5 -0
- package/dist/index.es17.js +73 -0
- package/dist/index.es18.js +48 -0
- package/dist/index.es19.js +22 -0
- package/dist/index.es2.js +8 -0
- package/dist/index.es20.js +7 -0
- package/dist/index.es21.js +11 -0
- package/dist/index.es22.js +26 -0
- package/dist/index.es23.js +7 -0
- package/dist/index.es24.js +6 -0
- package/dist/index.es25.js +12 -0
- package/dist/index.es26.js +6 -0
- package/dist/index.es27.js +4 -0
- package/dist/index.es28.js +22 -0
- package/dist/index.es29.js +42 -0
- package/dist/index.es3.js +66 -0
- package/dist/index.es30.js +17 -0
- package/dist/index.es31.js +7 -0
- package/dist/index.es32.js +14 -0
- package/dist/index.es33.js +10 -0
- package/dist/index.es34.js +4 -0
- package/dist/index.es35.js +28 -0
- package/dist/index.es36.js +604 -0
- package/dist/index.es37.js +42 -0
- package/dist/index.es38.js +4 -0
- package/dist/index.es39.js +4 -0
- package/dist/index.es4.js +180 -0
- package/dist/index.es40.js +4 -0
- package/dist/index.es41.js +4 -0
- package/dist/index.es42.js +4 -0
- package/dist/index.es43.js +4 -0
- package/dist/index.es44.js +4 -0
- package/dist/index.es45.js +6 -0
- package/dist/index.es5.js +75 -0
- package/dist/index.es6.js +67 -0
- package/dist/index.es7.js +24 -0
- package/dist/index.es8.js +18 -0
- package/dist/index.es9.js +4 -0
- package/dist/lib/create-rounded-cutout-rectangle-path.d.ts +18 -0
- package/dist/lib/create-rounded-cutout-rectangle-path.test.d.ts +1 -0
- package/dist/lib/generate-hash.d.ts +6 -0
- package/dist/lib/generate-hash.test.d.ts +1 -0
- package/dist/lib/index.d.ts +1 -0
- package/dist/locale/en_US.d.ts +6 -0
- package/dist/locale/index.d.ts +3 -0
- package/dist/locale/ru_RU.d.ts +6 -0
- package/dist/locale/type.d.ts +10 -0
- package/dist/main.d.ts +0 -0
- package/dist/setupTests.d.ts +5 -0
- package/dist/src/components/Avatar/Avatar.module.css +1 -0
- package/dist/src/components/Avatar/AvatarGroup/AvatarGroup.module.css +1 -0
- package/dist/src/components/Badge/Badge.module.css +1 -0
- package/dist/src/components/Button/Button.module.css +1 -0
- package/dist/src/components/ConfigProvider/ConfigProvider.module.css +1 -0
- package/dist/src/components/Image/Image.module.css +1 -0
- package/dist/src/components/Loader/Loader.module.css +1 -0
- package/dist/types/i18n.d.ts +7 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +127 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import './src/components/Badge/Badge.module.css';const o = "_wrapper_1ncab_5", i = "_badge__container_1ncab_6", t = "_badge__content_1ncab_7", n = "_interactive_1ncab_20", _ = "_disabled_1ncab_21", e = "_icon_1ncab_22", c = {
|
|
2
|
+
wrapper: o,
|
|
3
|
+
badge__container: i,
|
|
4
|
+
badge__content: t,
|
|
5
|
+
interactive: n,
|
|
6
|
+
disabled: _,
|
|
7
|
+
icon: e,
|
|
8
|
+
"variant-filled": "_variant-filled_1ncab_101",
|
|
9
|
+
"color-brand": "_color-brand_1ncab_106",
|
|
10
|
+
"color-red": "_color-red_1ncab_110",
|
|
11
|
+
"color-orange": "_color-orange_1ncab_114",
|
|
12
|
+
"color-yellow": "_color-yellow_1ncab_118",
|
|
13
|
+
"color-green": "_color-green_1ncab_122",
|
|
14
|
+
"color-blue": "_color-blue_1ncab_126",
|
|
15
|
+
"color-lightblue": "_color-lightblue_1ncab_130",
|
|
16
|
+
"color-purple": "_color-purple_1ncab_134",
|
|
17
|
+
"color-gray": "_color-gray_1ncab_138",
|
|
18
|
+
"color-contrast": "_color-contrast_1ncab_142",
|
|
19
|
+
"variant-light": "_variant-light_1ncab_148",
|
|
20
|
+
"variant-outline": "_variant-outline_1ncab_220",
|
|
21
|
+
"variant-transparent": "_variant-transparent_1ncab_294",
|
|
22
|
+
"position-top-left": "_position-top-left_1ncab_361",
|
|
23
|
+
"position-top-right": "_position-top-right_1ncab_367",
|
|
24
|
+
"position-bottom-left": "_position-bottom-left_1ncab_373",
|
|
25
|
+
"position-bottom-right": "_position-bottom-right_1ncab_379",
|
|
26
|
+
"position-top-center": "_position-top-center_1ncab_385",
|
|
27
|
+
"position-bottom-center": "_position-bottom-center_1ncab_391",
|
|
28
|
+
"position-middle-left": "_position-middle-left_1ncab_397",
|
|
29
|
+
"position-middle-right": "_position-middle-right_1ncab_403",
|
|
30
|
+
"position-middle-center": "_position-middle-center_1ncab_409",
|
|
31
|
+
"position-top-left-inside": "_position-top-left-inside_1ncab_416",
|
|
32
|
+
"position-top-right-inside": "_position-top-right-inside_1ncab_422",
|
|
33
|
+
"position-bottom-left-inside": "_position-bottom-left-inside_1ncab_428",
|
|
34
|
+
"position-bottom-right-inside": "_position-bottom-right-inside_1ncab_434",
|
|
35
|
+
"position-top-center-inside": "_position-top-center-inside_1ncab_440",
|
|
36
|
+
"position-bottom-center-inside": "_position-bottom-center-inside_1ncab_446",
|
|
37
|
+
"position-middle-left-inside": "_position-middle-left-inside_1ncab_452",
|
|
38
|
+
"position-middle-right-inside": "_position-middle-right-inside_1ncab_458"
|
|
39
|
+
};
|
|
40
|
+
export {
|
|
41
|
+
i as badge__container,
|
|
42
|
+
t as badge__content,
|
|
43
|
+
c as default,
|
|
44
|
+
_ as disabled,
|
|
45
|
+
e as icon,
|
|
46
|
+
n as interactive,
|
|
47
|
+
o as wrapper
|
|
48
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { useRef as o, useState as s, useEffect as u } from "react";
|
|
2
|
+
const l = (t) => t === "rgba(0, 0, 0, 0)" || t === "transparent" || t.startsWith("rgba") && t.endsWith(", 0)"), c = (t) => {
|
|
3
|
+
if (!t) return null;
|
|
4
|
+
let r = t;
|
|
5
|
+
for (; r; ) {
|
|
6
|
+
const e = window.getComputedStyle(r).backgroundColor;
|
|
7
|
+
if (!l(e)) return e;
|
|
8
|
+
r = r.parentElement;
|
|
9
|
+
}
|
|
10
|
+
return null;
|
|
11
|
+
}, g = () => {
|
|
12
|
+
const t = o(null), [r, n] = s(null);
|
|
13
|
+
return u(() => {
|
|
14
|
+
if (t.current) {
|
|
15
|
+
const e = c(t.current);
|
|
16
|
+
n(e);
|
|
17
|
+
}
|
|
18
|
+
}, []), { ref: t, bgColor: r };
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
g as useBackgroundColor
|
|
22
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import './src/components/Image/Image.module.css';const a = "_container_chiat_7", n = "_image_chiat_19", t = "_loading_chiat_28", i = {
|
|
2
|
+
container: a,
|
|
3
|
+
image: n,
|
|
4
|
+
loading: t
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
a as container,
|
|
8
|
+
i as default,
|
|
9
|
+
n as image,
|
|
10
|
+
t as loading
|
|
11
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { j as C } from "./index.es13.js";
|
|
2
|
+
const n = ({ width: t = 48, height: o = 48, className: e, "data-testid": s }) => /* @__PURE__ */ C.jsx(
|
|
3
|
+
"svg",
|
|
4
|
+
{
|
|
5
|
+
width: t,
|
|
6
|
+
height: o,
|
|
7
|
+
viewBox: "0 0 48 48",
|
|
8
|
+
fill: "none",
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
className: e,
|
|
11
|
+
"data-testid": s,
|
|
12
|
+
children: /* @__PURE__ */ C.jsx(
|
|
13
|
+
"path",
|
|
14
|
+
{
|
|
15
|
+
d: "M32.4 42H13.8627C12.6511 42 12.0453 42 11.7648 41.7604C11.5214 41.5525 11.3922 41.2407 11.4173 40.9215C11.4462 40.5538 11.8746 40.1254 12.7314 39.2686L29.7373 22.2627C30.5293 21.4707 30.9253 21.0747 31.382 20.9263C31.7837 20.7958 32.2163 20.7958 32.618 20.9263C33.0747 21.0747 33.4707 21.4707 34.2627 22.2627L42 30V32.4M32.4 42C35.7603 42 37.4405 42 38.7239 41.346C39.8529 40.7708 40.7708 39.8529 41.346 38.7239C42 37.4405 42 35.7603 42 32.4M32.4 42H15.6C12.2397 42 10.5595 42 9.27606 41.346C8.14708 40.7708 7.2292 39.8529 6.65396 38.7239C6 37.4405 6 35.7603 6 32.4V15.6C6 12.2397 6 10.5595 6.65396 9.27606C7.2292 8.14708 8.14708 7.2292 9.27606 6.65396C10.5595 6 12.2397 6 15.6 6H32.4C35.7603 6 37.4405 6 38.7239 6.65396C39.8529 7.2292 40.7708 8.14708 41.346 9.27606C42 10.5595 42 12.2397 42 15.6V32.4M21 17C21 19.2091 19.2091 21 17 21C14.7909 21 13 19.2091 13 17C13 14.7909 14.7909 13 17 13C19.2091 13 21 14.7909 21 17Z",
|
|
16
|
+
stroke: "#AABBCA",
|
|
17
|
+
strokeWidth: "4",
|
|
18
|
+
strokeLinecap: "round",
|
|
19
|
+
strokeLinejoin: "round"
|
|
20
|
+
}
|
|
21
|
+
)
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
export {
|
|
25
|
+
n as PlaceholderImageIcon
|
|
26
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
function f(s, u, o, c, t, a, R) {
|
|
2
|
+
const A = Math.min(t, a) / 2, $ = Math.min(R, A), L = ["M0,0", `H${s}`, `V${u}`, "H0", "V0", "Z"].join(" "), M = [
|
|
3
|
+
`M${o + $},${c}`,
|
|
4
|
+
`L${o + t - $},${c}`,
|
|
5
|
+
// Верхний правый угол
|
|
6
|
+
`A${$},${$} 0 0 1 ${o + t},${c + $}`,
|
|
7
|
+
`L${o + t},${c + a - $}`,
|
|
8
|
+
// Нижний правый угол
|
|
9
|
+
`A${$},${$} 0 0 1 ${o + t - $},${c + a}`,
|
|
10
|
+
`L${o + $},${c + a}`,
|
|
11
|
+
// Нижний левый угол
|
|
12
|
+
`A${$},${$} 0 0 1 ${o},${c + a - $}`,
|
|
13
|
+
`L${o},${c + $}`,
|
|
14
|
+
// Верхний левый угол
|
|
15
|
+
`A${$},${$} 0 0 1 ${o + $},${c}`,
|
|
16
|
+
"Z"
|
|
17
|
+
].join(" ");
|
|
18
|
+
return `${L} ${M}`;
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
f as createRoundedCutoutRectanglePath
|
|
22
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import './src/components/Avatar/Avatar.module.css';const o = "_avatar_1ob17_4", _ = "_clickable_1ob17_23", e = "_icon_1ob17_40", l = "_disabled_1ob17_45", r = "_image_1ob17_51", a = "_name_1ob17_51", c = "_circle_1ob17_160", i = "_square_1ob17_164", b = {
|
|
2
|
+
avatar: o,
|
|
3
|
+
clickable: _,
|
|
4
|
+
icon: e,
|
|
5
|
+
disabled: l,
|
|
6
|
+
image: r,
|
|
7
|
+
name: a,
|
|
8
|
+
"size-208": "_size-208_1ob17_104",
|
|
9
|
+
"size-96": "_size-96_1ob17_111",
|
|
10
|
+
"size-84": "_size-84_1ob17_118",
|
|
11
|
+
"size-56": "_size-56_1ob17_125",
|
|
12
|
+
"size-48": "_size-48_1ob17_132",
|
|
13
|
+
"size-40": "_size-40_1ob17_139",
|
|
14
|
+
"size-32": "_size-32_1ob17_146",
|
|
15
|
+
"size-24": "_size-24_1ob17_153",
|
|
16
|
+
circle: c,
|
|
17
|
+
square: i,
|
|
18
|
+
"variant-filled": "_variant-filled_1ob17_185",
|
|
19
|
+
"color-brand": "_color-brand_1ob17_190",
|
|
20
|
+
"color-red": "_color-red_1ob17_194",
|
|
21
|
+
"color-orange": "_color-orange_1ob17_198",
|
|
22
|
+
"color-yellow": "_color-yellow_1ob17_202",
|
|
23
|
+
"color-green": "_color-green_1ob17_206",
|
|
24
|
+
"color-blue": "_color-blue_1ob17_210",
|
|
25
|
+
"color-lightblue": "_color-lightblue_1ob17_214",
|
|
26
|
+
"color-purple": "_color-purple_1ob17_218",
|
|
27
|
+
"color-gray": "_color-gray_1ob17_222",
|
|
28
|
+
"color-contrast": "_color-contrast_1ob17_226",
|
|
29
|
+
"variant-light": "_variant-light_1ob17_232",
|
|
30
|
+
"variant-outline": "_variant-outline_1ob17_304"
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
o as avatar,
|
|
34
|
+
c as circle,
|
|
35
|
+
_ as clickable,
|
|
36
|
+
b as default,
|
|
37
|
+
l as disabled,
|
|
38
|
+
e as icon,
|
|
39
|
+
r as image,
|
|
40
|
+
a as name,
|
|
41
|
+
i as square
|
|
42
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { j as n } from "./index.es13.js";
|
|
2
|
+
import { forwardRef as D } from "react";
|
|
3
|
+
import p from "./index.es15.js";
|
|
4
|
+
import t from "./index.es18.js";
|
|
5
|
+
import { useBackgroundColor as H } from "./index.es19.js";
|
|
6
|
+
const T = D((g, b) => {
|
|
7
|
+
const {
|
|
8
|
+
icon: e,
|
|
9
|
+
children: m,
|
|
10
|
+
variant: r = "filled",
|
|
11
|
+
label: f,
|
|
12
|
+
colorScheme: u = "red",
|
|
13
|
+
size: x = 20,
|
|
14
|
+
position: h = "top-right",
|
|
15
|
+
positionOffset: i = { x: 0, y: 0 },
|
|
16
|
+
cutoutBackground: C,
|
|
17
|
+
isDisabled: a,
|
|
18
|
+
className: v,
|
|
19
|
+
"data-testid": o = "badge",
|
|
20
|
+
...d
|
|
21
|
+
} = g, { onClick: s, onPointerDown: $ } = d, { ref: j, bgColor: k } = H(), c = C || k, l = !a && (!!s || !!$), y = p(t.badge__container, t[`position-${h}`]), N = p(
|
|
22
|
+
v,
|
|
23
|
+
t.badge__content,
|
|
24
|
+
t[`color-${u}`],
|
|
25
|
+
t[`variant-${r}`],
|
|
26
|
+
{
|
|
27
|
+
[t.icon]: !!e,
|
|
28
|
+
[t.interactive]: l,
|
|
29
|
+
[t.disabled]: a
|
|
30
|
+
}
|
|
31
|
+
), w = {
|
|
32
|
+
"--badge-height": `${x}px`,
|
|
33
|
+
"--badge-offset-x": `${i.x}px`,
|
|
34
|
+
"--badge-offset-y": `${i.y}px`,
|
|
35
|
+
...c && { "--badge-cutout-bg": c },
|
|
36
|
+
...r === "transparent" && { "--badge-cutout-bg": "transparent" }
|
|
37
|
+
}, B = (e == null ? void 0 : e({})) || f, _ = (E) => {
|
|
38
|
+
l && (s == null || s(E));
|
|
39
|
+
};
|
|
40
|
+
return /* @__PURE__ */ n.jsxs("div", { className: t.wrapper, ref: j, "data-testid": o + "-wrapper", children: [
|
|
41
|
+
m,
|
|
42
|
+
/* @__PURE__ */ n.jsx(
|
|
43
|
+
"span",
|
|
44
|
+
{
|
|
45
|
+
className: y,
|
|
46
|
+
style: w,
|
|
47
|
+
"data-testid": o + "-container",
|
|
48
|
+
children: /* @__PURE__ */ n.jsx(
|
|
49
|
+
"span",
|
|
50
|
+
{
|
|
51
|
+
...d,
|
|
52
|
+
onClick: _,
|
|
53
|
+
className: N,
|
|
54
|
+
"data-testid": o + "-content",
|
|
55
|
+
ref: b,
|
|
56
|
+
"aria-disabled": a,
|
|
57
|
+
children: B
|
|
58
|
+
}
|
|
59
|
+
)
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
] });
|
|
63
|
+
});
|
|
64
|
+
export {
|
|
65
|
+
T as Badge
|
|
66
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { generateHash as r } from "./index.es25.js";
|
|
2
|
+
const l = [
|
|
3
|
+
"red",
|
|
4
|
+
"orange",
|
|
5
|
+
"yellow",
|
|
6
|
+
"green",
|
|
7
|
+
"blue",
|
|
8
|
+
"lightblue",
|
|
9
|
+
"purple"
|
|
10
|
+
];
|
|
11
|
+
function s(t, e = l) {
|
|
12
|
+
const n = r(t), o = Math.abs(n) % e.length;
|
|
13
|
+
return e[o];
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
s as getInitialsColor
|
|
17
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import r from "./index.es41.js";
|
|
2
|
+
import o from "./index.es42.js";
|
|
3
|
+
import m from "./index.es43.js";
|
|
4
|
+
import p from "./index.es44.js";
|
|
5
|
+
import "./index.es13.js";
|
|
6
|
+
const l = {
|
|
7
|
+
male: r,
|
|
8
|
+
female: o,
|
|
9
|
+
org: p,
|
|
10
|
+
neutral: m
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
l as placeholderSrcMap
|
|
14
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { __module as e } from "./index.es34.js";
|
|
2
|
+
import { __require as i } from "./index.es35.js";
|
|
3
|
+
import { __require as t } from "./index.es36.js";
|
|
4
|
+
var r;
|
|
5
|
+
function m() {
|
|
6
|
+
return r ? e.exports : (r = 1, process.env.NODE_ENV === "production" ? e.exports = i() : e.exports = t(), e.exports);
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
m as __require
|
|
10
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { __exports as t } from "./index.es39.js";
|
|
2
|
+
import R from "react";
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* react-jsx-runtime.production.min.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var p;
|
|
13
|
+
function v() {
|
|
14
|
+
if (p) return t;
|
|
15
|
+
p = 1;
|
|
16
|
+
var s = R, m = Symbol.for("react.element"), l = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
|
+
function _(o, r, i) {
|
|
18
|
+
var e, n = {}, u = null, f = null;
|
|
19
|
+
i !== void 0 && (u = "" + i), r.key !== void 0 && (u = "" + r.key), r.ref !== void 0 && (f = r.ref);
|
|
20
|
+
for (e in r) c.call(r, e) && !y.hasOwnProperty(e) && (n[e] = r[e]);
|
|
21
|
+
if (o && o.defaultProps) for (e in r = o.defaultProps, r) n[e] === void 0 && (n[e] = r[e]);
|
|
22
|
+
return { $$typeof: m, type: o, key: u, ref: f, props: n, _owner: d.current };
|
|
23
|
+
}
|
|
24
|
+
return t.Fragment = l, t.jsx = _, t.jsxs = _, t;
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
v as __require
|
|
28
|
+
};
|