skillgrid 0.0.2 → 0.0.4

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.
Files changed (100) hide show
  1. package/dist/index.cjs.js +34 -1
  2. package/dist/index.css +1 -0
  3. package/dist/index.d.ts +3 -0
  4. package/dist/index.es.js +1407 -19
  5. package/package.json +2 -3
  6. package/dist/index.cjs10.js +0 -1
  7. package/dist/index.cjs11.js +0 -1
  8. package/dist/index.cjs12.js +0 -1
  9. package/dist/index.cjs13.js +0 -1
  10. package/dist/index.cjs14.js +0 -1
  11. package/dist/index.cjs15.js +0 -1
  12. package/dist/index.cjs16.js +0 -1
  13. package/dist/index.cjs17.js +0 -1
  14. package/dist/index.cjs18.js +0 -1
  15. package/dist/index.cjs19.js +0 -1
  16. package/dist/index.cjs2.js +0 -1
  17. package/dist/index.cjs20.js +0 -1
  18. package/dist/index.cjs21.js +0 -1
  19. package/dist/index.cjs22.js +0 -1
  20. package/dist/index.cjs23.js +0 -1
  21. package/dist/index.cjs24.js +0 -1
  22. package/dist/index.cjs25.js +0 -1
  23. package/dist/index.cjs26.js +0 -1
  24. package/dist/index.cjs27.js +0 -1
  25. package/dist/index.cjs28.js +0 -1
  26. package/dist/index.cjs29.js +0 -1
  27. package/dist/index.cjs3.js +0 -1
  28. package/dist/index.cjs30.js +0 -1
  29. package/dist/index.cjs31.js +0 -1
  30. package/dist/index.cjs32.js +0 -1
  31. package/dist/index.cjs33.js +0 -1
  32. package/dist/index.cjs34.js +0 -1
  33. package/dist/index.cjs35.js +0 -9
  34. package/dist/index.cjs36.js +0 -22
  35. package/dist/index.cjs37.js +0 -5
  36. package/dist/index.cjs38.js +0 -1
  37. package/dist/index.cjs39.js +0 -1
  38. package/dist/index.cjs4.js +0 -1
  39. package/dist/index.cjs40.js +0 -1
  40. package/dist/index.cjs41.js +0 -1
  41. package/dist/index.cjs42.js +0 -1
  42. package/dist/index.cjs43.js +0 -1
  43. package/dist/index.cjs44.js +0 -1
  44. package/dist/index.cjs45.js +0 -1
  45. package/dist/index.cjs5.js +0 -1
  46. package/dist/index.cjs6.js +0 -1
  47. package/dist/index.cjs7.js +0 -1
  48. package/dist/index.cjs8.js +0 -1
  49. package/dist/index.cjs9.js +0 -1
  50. package/dist/index.es10.js +0 -18
  51. package/dist/index.es11.js +0 -61
  52. package/dist/index.es12.js +0 -82
  53. package/dist/index.es13.js +0 -5
  54. package/dist/index.es14.js +0 -7
  55. package/dist/index.es15.js +0 -48
  56. package/dist/index.es16.js +0 -22
  57. package/dist/index.es17.js +0 -5
  58. package/dist/index.es18.js +0 -73
  59. package/dist/index.es19.js +0 -11
  60. package/dist/index.es2.js +0 -8
  61. package/dist/index.es20.js +0 -26
  62. package/dist/index.es21.js +0 -7
  63. package/dist/index.es22.js +0 -32
  64. package/dist/index.es23.js +0 -7
  65. package/dist/index.es24.js +0 -12
  66. package/dist/index.es25.js +0 -4
  67. package/dist/index.es26.js +0 -6
  68. package/dist/index.es27.js +0 -22
  69. package/dist/index.es28.js +0 -6
  70. package/dist/index.es29.js +0 -42
  71. package/dist/index.es3.js +0 -4
  72. package/dist/index.es30.js +0 -13
  73. package/dist/index.es31.js +0 -17
  74. package/dist/index.es32.js +0 -7
  75. package/dist/index.es33.js +0 -10
  76. package/dist/index.es34.js +0 -4
  77. package/dist/index.es35.js +0 -28
  78. package/dist/index.es36.js +0 -604
  79. package/dist/index.es37.js +0 -42
  80. package/dist/index.es38.js +0 -4
  81. package/dist/index.es39.js +0 -4
  82. package/dist/index.es4.js +0 -4
  83. package/dist/index.es40.js +0 -4
  84. package/dist/index.es41.js +0 -6
  85. package/dist/index.es42.js +0 -4
  86. package/dist/index.es43.js +0 -4
  87. package/dist/index.es44.js +0 -4
  88. package/dist/index.es45.js +0 -4
  89. package/dist/index.es5.js +0 -66
  90. package/dist/index.es6.js +0 -180
  91. package/dist/index.es7.js +0 -75
  92. package/dist/index.es8.js +0 -67
  93. package/dist/index.es9.js +0 -24
  94. package/dist/src/components/Avatar/Avatar.module.css +0 -1
  95. package/dist/src/components/Avatar/AvatarGroup/AvatarGroup.module.css +0 -1
  96. package/dist/src/components/Badge/Badge.module.css +0 -1
  97. package/dist/src/components/Button/Button.module.css +0 -1
  98. package/dist/src/components/ConfigProvider/ConfigProvider.module.css +0 -1
  99. package/dist/src/components/Image/Image.module.css +0 -1
  100. package/dist/src/components/Loader/Loader.module.css +0 -1
@@ -1,73 +0,0 @@
1
- import './src/components/Button/Button.module.css';const n = "_button_unbux_213", _ = "_disabled_unbux_237", u = "_loading_unbux_237", t = "_neutral_unbux_259", a = "_accent_unbux_263", c = "_positive_unbux_267", e = "_negative_unbux_271", s = "_contrast_unbux_275", o = "_special_unbux_279", b = "_primary_unbux_284", i = "_secondary_unbux_285", l = "_tertiary_unbux_286", r = "_label_unbux_321", x = "_rightGroup_unbux_333", d = "_iconOnly_unbux_349", p = "_large_unbux_357", g = "_medium_unbux_361", m = "_small_unbux_365", y = "_spaceBetween_unbux_370", h = "_stretched_unbux_384", S = "_icon_unbux_349", v = "_badge_unbux_705", w = "_badgeMedium_unbux_721", B = "_circular_unbux_738", E = "_badgeSmall_unbux_743", G = "_badgeExtraSmall_unbux_765", M = "_withSubcaption_unbux_784", O = "_subcaption_unbux_797", f = "_loader_unbux_804", $ = "_spin_unbux_1", j = "_l_unbux_237", k = "_m_unbux_361", q = "_s_unbux_279", z = "_xs_unbux_869", A = {
2
- button: n,
3
- disabled: _,
4
- loading: u,
5
- neutral: t,
6
- accent: a,
7
- positive: c,
8
- negative: e,
9
- contrast: s,
10
- special: o,
11
- primary: b,
12
- secondary: i,
13
- tertiary: l,
14
- label: r,
15
- rightGroup: x,
16
- iconOnly: d,
17
- large: p,
18
- medium: g,
19
- small: m,
20
- spaceBetween: y,
21
- stretched: h,
22
- icon: S,
23
- badge: v,
24
- badgeMedium: w,
25
- circular: B,
26
- badgeSmall: E,
27
- badgeExtraSmall: G,
28
- withSubcaption: M,
29
- subcaption: O,
30
- loader: f,
31
- spin: $,
32
- l: j,
33
- m: k,
34
- s: q,
35
- xs: z
36
- };
37
- export {
38
- a as accent,
39
- v as badge,
40
- G as badgeExtraSmall,
41
- w as badgeMedium,
42
- E as badgeSmall,
43
- n as button,
44
- B as circular,
45
- s as contrast,
46
- A as default,
47
- _ as disabled,
48
- S as icon,
49
- d as iconOnly,
50
- j as l,
51
- r as label,
52
- p as large,
53
- f as loader,
54
- u as loading,
55
- k as m,
56
- g as medium,
57
- e as negative,
58
- t as neutral,
59
- c as positive,
60
- b as primary,
61
- x as rightGroup,
62
- q as s,
63
- i as secondary,
64
- m as small,
65
- y as spaceBetween,
66
- o as special,
67
- $ as spin,
68
- h as stretched,
69
- O as subcaption,
70
- l as tertiary,
71
- M as withSubcaption,
72
- z as xs
73
- };
@@ -1,11 +0,0 @@
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
- };
package/dist/index.es2.js DELETED
@@ -1,8 +0,0 @@
1
- import { AvatarGroup as o } from "./index.es11.js";
2
- import { AvatarComponent as r } from "./index.es12.js";
3
- const p = Object.assign(r, {
4
- Group: o
5
- });
6
- export {
7
- p as Avatar
8
- };
@@ -1,26 +0,0 @@
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
- };
@@ -1,7 +0,0 @@
1
- import './src/components/ConfigProvider/ConfigProvider.module.css';const p = "_wrapper_1ukzl_1", r = {
2
- wrapper: p
3
- };
4
- export {
5
- r as default,
6
- p as wrapper
7
- };
@@ -1,32 +0,0 @@
1
- import './src/components/Loader/Loader.module.css';const e = "_loader_1tevf_1", t = "_spin_1tevf_1", _ = "_accent_1tevf_20", s = "_neutral_1tevf_24", n = "_positive_1tevf_28", a = "_negative_1tevf_32", i = "_gray_1tevf_36", o = "_special_1tevf_40", c = "_contrast_1tevf_44", v = "_container_1tevf_48", r = "_overlay_1tevf_56", f = {
2
- loader: e,
3
- spin: t,
4
- accent: _,
5
- neutral: s,
6
- positive: n,
7
- negative: a,
8
- gray: i,
9
- special: o,
10
- contrast: c,
11
- container: v,
12
- overlay: r,
13
- "size-16": "_size-16_1tevf_71",
14
- "size-24": "_size-24_1tevf_75",
15
- "size-48": "_size-48_1tevf_79",
16
- "size-64": "_size-64_1tevf_83",
17
- "size-96": "_size-96_1tevf_87"
18
- };
19
- export {
20
- _ as accent,
21
- v as container,
22
- c as contrast,
23
- f as default,
24
- i as gray,
25
- e as loader,
26
- a as negative,
27
- s as neutral,
28
- r as overlay,
29
- n as positive,
30
- o as special,
31
- t as spin
32
- };
@@ -1,7 +0,0 @@
1
- import './src/components/Avatar/AvatarGroup/AvatarGroup.module.css';const a = "_avatarGroup_157g4_1", r = {
2
- avatarGroup: a
3
- };
4
- export {
5
- a as avatarGroup,
6
- r as default
7
- };
@@ -1,12 +0,0 @@
1
- function s(e) {
2
- const n = typeof e == "string" ? e : JSON.stringify(e);
3
- let t = 5381;
4
- for (let r = 0; r < n.length; r++) {
5
- const o = n.charCodeAt(r);
6
- t = (t << 5) + t + o;
7
- }
8
- return t >>> 0;
9
- }
10
- export {
11
- s as generateHash
12
- };
@@ -1,4 +0,0 @@
1
- let o = (n = 21) => crypto.getRandomValues(new Uint8Array(n)).reduce((r, e) => (e &= 63, e < 36 ? r += e.toString(36) : e < 62 ? r += (e - 26).toString(36).toUpperCase() : e > 62 ? r += "-" : r += "_", r), "");
2
- export {
3
- o as nanoid
4
- };
@@ -1,6 +0,0 @@
1
- function t(O) {
2
- return O < 99 ? `+${O}` : "99+";
3
- }
4
- export {
5
- t as getOverflowCountText
6
- };
@@ -1,22 +0,0 @@
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
- };
@@ -1,6 +0,0 @@
1
- function n(r, t) {
2
- return t === "circle" ? r / 2 : r === 24 || r === 208 ? 8 : r === 32 || r === 40 || r === 48 ? 12 : r === 56 ? 16 : r === 84 || r === 96 ? 24 : 12;
3
- }
4
- export {
5
- n as getAvatarBorderRadiusBySizeAndShape
6
- };
@@ -1,42 +0,0 @@
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
- };
package/dist/index.es3.js DELETED
@@ -1,4 +0,0 @@
1
- const a = {};
2
- export {
3
- a as default
4
- };
@@ -1,13 +0,0 @@
1
- import r from "./index.es42.js";
2
- import o from "./index.es43.js";
3
- import m from "./index.es44.js";
4
- import e from "./index.es45.js";
5
- const l = {
6
- male: r,
7
- female: o,
8
- org: e,
9
- neutral: m
10
- };
11
- export {
12
- l as placeholderSrcMap
13
- };
@@ -1,17 +0,0 @@
1
- import { generateHash as r } from "./index.es24.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
- };
@@ -1,7 +0,0 @@
1
- function s(t) {
2
- const e = t.split(" ");
3
- return e.length === 1 ? t.slice(0, 2).toUpperCase() : e.map((i) => i[0]).slice(0, 2).join("").toUpperCase();
4
- }
5
- export {
6
- s as getInitials
7
- };
@@ -1,10 +0,0 @@
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
- };
@@ -1,4 +0,0 @@
1
- var e = { exports: {} };
2
- export {
3
- e as __module
4
- };
@@ -1,28 +0,0 @@
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
- };