skillgrid 0.0.89 → 0.0.91

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 (41) hide show
  1. package/dist/assets/components/FileUpload/FileUpload.module-CL_LDrLs.css +1 -0
  2. package/dist/assets/components/Modal/Modal.module-x_YFLlra.css +1 -0
  3. package/dist/assets/icons/development/code-browser-outlined.svg.js +1 -1
  4. package/dist/assets/icons/development/code-close-outlined.svg.js +1 -1
  5. package/dist/assets/icons/development/code-outlined.svg.js +1 -1
  6. package/dist/assets/icons/development/cube-outlined.svg.js +1 -1
  7. package/dist/assets/icons/development/dataflow-outlined.svg.js +1 -1
  8. package/dist/assets/icons/development/terminal-square-outlined.svg.js +2 -2
  9. package/dist/assets/icons/general/award-outlined.svg.js +1 -1
  10. package/dist/assets/icons/general/compass-outlined.svg.js +1 -1
  11. package/dist/assets/icons/general/ellipsis-horizontal-outlined.svg.js +1 -1
  12. package/dist/assets/icons/general/ellipsis-vertical-outlined.svg.js +2 -2
  13. package/dist/assets/icons/general/eye-crossed-outlined.svg.js +2 -2
  14. package/dist/assets/icons/general/medal-outlined.svg.js +1 -1
  15. package/dist/assets/icons/general/megaphone-outlined.svg.js +1 -1
  16. package/dist/assets/icons/general/rating-outlined.svg.js +1 -1
  17. package/dist/assets/icons/general/send-ios-outlined.svg.js +1 -1
  18. package/dist/assets/icons/general/shop-outlined.svg.js +1 -1
  19. package/dist/assets/icons/general/teacher-outlined.svg.js +1 -1
  20. package/dist/assets/styles/{button.module-DjunAbRS.css → button.module-BG9KYkTN.css} +1 -1
  21. package/dist/components/Avatar/AvatarGroup/AvatarGroupRoot.js +5 -5
  22. package/dist/components/ConfigProvider/ConfigProvider.js +1 -1
  23. package/dist/components/FileUpload/FileUpload.js +1 -1
  24. package/dist/components/FileUpload/FileUpload.module.css.js +62 -62
  25. package/dist/components/InputBase/Input.js +6 -6
  26. package/dist/components/Modal/Modal.module.css.js +18 -18
  27. package/dist/components/Popover/lib/use-popover.js +1 -1
  28. package/dist/components/Tabs/ScrollWrapper.js +1 -1
  29. package/dist/components/Tabs/Tabs.js +1 -1
  30. package/dist/index.cjs.js +25 -3
  31. package/dist/index.css +1 -1
  32. package/dist/index.d.ts +1 -0
  33. package/dist/index.es.js +91 -89
  34. package/dist/styles/brand.module.css.js +24 -2
  35. package/dist/styles/brand.module.css2.js +4 -0
  36. package/dist/styles/button.module.css.js +1 -1
  37. package/dist/utils/generate-brand-primary-palette.d.ts +36 -0
  38. package/dist/utils/generate-brand-primary-palette.js +101 -0
  39. package/package.json +2 -1
  40. package/dist/assets/components/FileUpload/FileUpload.module-CldF1EqE.css +0 -1
  41. package/dist/assets/components/Modal/Modal.module-BXeSeTs2.css +0 -1
@@ -1,21 +1,21 @@
1
- import '../../assets/components/FileUpload/FileUpload.module-CldF1EqE.css';const e = "_root_f98he_1", o = "_rootVertical_f98he_10", t = "_rootHorizontal_f98he_14", i = "_rootButton_f98he_18", n = "_dropzoneWrapper_f98he_23", r = "_uploader_f98he_27", _ = "_buttonTrigger_f98he_32", l = "_attachButton_f98he_37", a = "_dropzone_f98he_23", c = "_dropzoneVertical_f98he_60", f = "_dropzoneHorizontal_f98he_70", s = "_dropzoneMeasuredBorder_f98he_80", p = "_dropzoneBorder_f98he_84", d = "_dropzoneInteractive_f98he_102", h = "_dropzoneDragActive_f98he_116", v = "_dropzoneDisabled_f98he_122", z = "_dropzoneIcon_f98he_129", w = "_dropzoneIconTile_f98he_130", u = "_dropzoneTitle_f98he_139", B = "_dropzoneDescription_f98he_143", M = "_dropzoneContent_f98he_167", T = "_dropzoneContentHorizontal_f98he_177", g = "_dropzoneTitleHorizontal_f98he_189", I = "_dropzoneDescriptionHorizontal_f98he_199", m = "_triggerButton_f98he_203", D = "_previewCard_f98he_207", P = "_previewCardError_f98he_228", b = "_previewCardDisabled_f98he_238", C = "_previewMediaImage_f98he_243", H = "_previewMediaPlaceholder_f98he_244", A = "_previewOverlay_f98he_268", L = "_previewCardUploading_f98he_275", S = "_previewStatus_f98he_284", y = "_previewStatusError_f98he_303", E = "_previewStatusText_f98he_309", V = "_previewActions_f98he_316", x = "_previewReplaceButton_f98he_331", O = "_previewRemoveButton_f98he_332", R = "_previewActionButton_f98he_333", N = "_fileList_f98he_337", U = "_fileListHorizontal_f98he_344", W = "_fileTileList_f98he_348", j = "_fileTile_f98he_348", k = "_fileTileDisabled_f98he_370", q = "_fileName_f98he_375", F = "_fileMeta_f98he_379", G = "_filePreviewDocument_f98he_383", J = "_filePreviewImage_f98he_384", K = "_filePreviewPlaceholder_f98he_385", Q = "_fileTileBody_f98he_391", X = "_fileItem_f98he_400", Y = "_fileItemError_f98he_414", Z = "_fileItemDisabled_f98he_418", $ = "_fileMetaText_f98he_428", ee = "_filePreviewMedia_f98he_440", oe = "_fileMain_f98he_444", te = "_filePreview_f98he_383", ie = "_fileBody_f98he_495", ne = "_fileMetaInline_f98he_517", re = "_fileMetaLoader_f98he_531", _e = "_actions_f98he_535", le = "_inlineActions_f98he_536", ae = "_actionsVisible_f98he_549", ce = "_actionToggleOpen_f98he_554", fe = "_actionMenu_f98he_558", se = "_actionMenuButton_f98he_570", pe = "_actionMenuBottomSheet_f98he_577", de = "_actionIcon_f98he_582", he = {
1
+ import '../../assets/components/FileUpload/FileUpload.module-CL_LDrLs.css';const e = "_root_rsb4t_1", t = "_rootVertical_rsb4t_15", o = "_rootHorizontal_rsb4t_19", r = "_rootButton_rsb4t_23", i = "_dropzoneWrapper_rsb4t_28", n = "_uploader_rsb4t_32", _ = "_buttonTrigger_rsb4t_37", s = "_attachButton_rsb4t_42", l = "_dropzone_rsb4t_28", a = "_dropzoneVertical_rsb4t_65", c = "_dropzoneHorizontal_rsb4t_75", p = "_dropzoneMeasuredBorder_rsb4t_85", d = "_dropzoneBorder_rsb4t_89", b = "_dropzoneInteractive_rsb4t_107", v = "_dropzoneDragActive_rsb4t_121", z = "_dropzoneDisabled_rsb4t_127", f = "_dropzoneIcon_rsb4t_134", w = "_dropzoneIconTile_rsb4t_135", u = "_dropzoneTitle_rsb4t_144", B = "_dropzoneDescription_rsb4t_148", M = "_dropzoneContent_rsb4t_172", T = "_dropzoneContentHorizontal_rsb4t_182", g = "_dropzoneTitleHorizontal_rsb4t_194", I = "_dropzoneDescriptionHorizontal_rsb4t_204", m = "_triggerButton_rsb4t_208", D = "_previewCard_rsb4t_212", P = "_previewCardError_rsb4t_233", C = "_previewCardDisabled_rsb4t_243", H = "_previewMediaImage_rsb4t_248", h = "_previewMediaPlaceholder_rsb4t_249", A = "_previewOverlay_rsb4t_273", L = "_previewCardUploading_rsb4t_280", S = "_previewStatus_rsb4t_289", y = "_previewStatusError_rsb4t_308", E = "_previewStatusText_rsb4t_314", V = "_previewActions_rsb4t_321", x = "_previewReplaceButton_rsb4t_336", O = "_previewRemoveButton_rsb4t_337", R = "_previewActionButton_rsb4t_338", N = "_fileList_rsb4t_342", U = "_fileListHorizontal_rsb4t_349", W = "_fileTileList_rsb4t_353", j = "_fileTile_rsb4t_353", k = "_fileTileDisabled_rsb4t_375", q = "_fileName_rsb4t_380", F = "_fileMeta_rsb4t_384", G = "_filePreviewDocument_rsb4t_388", J = "_filePreviewImage_rsb4t_389", K = "_filePreviewPlaceholder_rsb4t_390", Q = "_fileTileBody_rsb4t_396", X = "_fileItem_rsb4t_405", Y = "_fileItemError_rsb4t_419", Z = "_fileItemDisabled_rsb4t_423", $ = "_fileMetaText_rsb4t_433", ee = "_filePreviewMedia_rsb4t_445", te = "_fileMain_rsb4t_449", oe = "_filePreview_rsb4t_388", re = "_fileBody_rsb4t_500", ie = "_fileMetaInline_rsb4t_522", ne = "_fileMetaLoader_rsb4t_536", _e = "_actions_rsb4t_540", se = "_inlineActions_rsb4t_541", le = "_actionsVisible_rsb4t_554", ae = "_actionToggleOpen_rsb4t_559", ce = "_actionMenu_rsb4t_563", pe = "_actionMenuButton_rsb4t_575", de = "_actionMenuBottomSheet_rsb4t_582", be = "_actionIcon_rsb4t_587", ve = {
2
2
  root: e,
3
- rootVertical: o,
4
- rootHorizontal: t,
5
- rootButton: i,
6
- dropzoneWrapper: n,
7
- uploader: r,
3
+ rootVertical: t,
4
+ rootHorizontal: o,
5
+ rootButton: r,
6
+ dropzoneWrapper: i,
7
+ uploader: n,
8
8
  buttonTrigger: _,
9
- attachButton: l,
10
- dropzone: a,
11
- dropzoneVertical: c,
12
- dropzoneHorizontal: f,
13
- dropzoneMeasuredBorder: s,
14
- dropzoneBorder: p,
15
- dropzoneInteractive: d,
16
- dropzoneDragActive: h,
17
- dropzoneDisabled: v,
18
- dropzoneIcon: z,
9
+ attachButton: s,
10
+ dropzone: l,
11
+ dropzoneVertical: a,
12
+ dropzoneHorizontal: c,
13
+ dropzoneMeasuredBorder: p,
14
+ dropzoneBorder: d,
15
+ dropzoneInteractive: b,
16
+ dropzoneDragActive: v,
17
+ dropzoneDisabled: z,
18
+ dropzoneIcon: f,
19
19
  dropzoneIconTile: w,
20
20
  dropzoneTitle: u,
21
21
  dropzoneDescription: B,
@@ -26,9 +26,9 @@ import '../../assets/components/FileUpload/FileUpload.module-CldF1EqE.css';const
26
26
  triggerButton: m,
27
27
  previewCard: D,
28
28
  previewCardError: P,
29
- previewCardDisabled: b,
30
- previewMediaImage: C,
31
- previewMediaPlaceholder: H,
29
+ previewCardDisabled: C,
30
+ previewMediaImage: H,
31
+ previewMediaPlaceholder: h,
32
32
  previewOverlay: A,
33
33
  previewCardUploading: L,
34
34
  previewStatus: S,
@@ -54,61 +54,61 @@ import '../../assets/components/FileUpload/FileUpload.module-CldF1EqE.css';const
54
54
  fileItemDisabled: Z,
55
55
  fileMetaText: $,
56
56
  filePreviewMedia: ee,
57
- fileMain: oe,
58
- filePreview: te,
59
- fileBody: ie,
60
- fileMetaInline: ne,
61
- fileMetaLoader: re,
57
+ fileMain: te,
58
+ filePreview: oe,
59
+ fileBody: re,
60
+ fileMetaInline: ie,
61
+ fileMetaLoader: ne,
62
62
  actions: _e,
63
- inlineActions: le,
64
- actionsVisible: ae,
65
- actionToggleOpen: ce,
66
- actionMenu: fe,
67
- actionMenuButton: se,
68
- actionMenuBottomSheet: pe,
69
- actionIcon: de
63
+ inlineActions: se,
64
+ actionsVisible: le,
65
+ actionToggleOpen: ae,
66
+ actionMenu: ce,
67
+ actionMenuButton: pe,
68
+ actionMenuBottomSheet: de,
69
+ actionIcon: be
70
70
  };
71
71
  export {
72
- de as actionIcon,
73
- fe as actionMenu,
74
- pe as actionMenuBottomSheet,
75
- se as actionMenuButton,
76
- ce as actionToggleOpen,
72
+ be as actionIcon,
73
+ ce as actionMenu,
74
+ de as actionMenuBottomSheet,
75
+ pe as actionMenuButton,
76
+ ae as actionToggleOpen,
77
77
  _e as actions,
78
- ae as actionsVisible,
79
- l as attachButton,
78
+ le as actionsVisible,
79
+ s as attachButton,
80
80
  _ as buttonTrigger,
81
- he as default,
82
- a as dropzone,
83
- p as dropzoneBorder,
81
+ ve as default,
82
+ l as dropzone,
83
+ d as dropzoneBorder,
84
84
  M as dropzoneContent,
85
85
  T as dropzoneContentHorizontal,
86
86
  B as dropzoneDescription,
87
87
  I as dropzoneDescriptionHorizontal,
88
- v as dropzoneDisabled,
89
- h as dropzoneDragActive,
90
- f as dropzoneHorizontal,
91
- z as dropzoneIcon,
88
+ z as dropzoneDisabled,
89
+ v as dropzoneDragActive,
90
+ c as dropzoneHorizontal,
91
+ f as dropzoneIcon,
92
92
  w as dropzoneIconTile,
93
- d as dropzoneInteractive,
94
- s as dropzoneMeasuredBorder,
93
+ b as dropzoneInteractive,
94
+ p as dropzoneMeasuredBorder,
95
95
  u as dropzoneTitle,
96
96
  g as dropzoneTitleHorizontal,
97
- c as dropzoneVertical,
98
- n as dropzoneWrapper,
99
- ie as fileBody,
97
+ a as dropzoneVertical,
98
+ i as dropzoneWrapper,
99
+ re as fileBody,
100
100
  X as fileItem,
101
101
  Z as fileItemDisabled,
102
102
  Y as fileItemError,
103
103
  N as fileList,
104
104
  U as fileListHorizontal,
105
- oe as fileMain,
105
+ te as fileMain,
106
106
  F as fileMeta,
107
- ne as fileMetaInline,
108
- re as fileMetaLoader,
107
+ ie as fileMetaInline,
108
+ ne as fileMetaLoader,
109
109
  $ as fileMetaText,
110
110
  q as fileName,
111
- te as filePreview,
111
+ oe as filePreview,
112
112
  G as filePreviewDocument,
113
113
  J as filePreviewImage,
114
114
  ee as filePreviewMedia,
@@ -117,15 +117,15 @@ export {
117
117
  Q as fileTileBody,
118
118
  k as fileTileDisabled,
119
119
  W as fileTileList,
120
- le as inlineActions,
120
+ se as inlineActions,
121
121
  R as previewActionButton,
122
122
  V as previewActions,
123
123
  D as previewCard,
124
- b as previewCardDisabled,
124
+ C as previewCardDisabled,
125
125
  P as previewCardError,
126
126
  L as previewCardUploading,
127
- C as previewMediaImage,
128
- H as previewMediaPlaceholder,
127
+ H as previewMediaImage,
128
+ h as previewMediaPlaceholder,
129
129
  A as previewOverlay,
130
130
  O as previewRemoveButton,
131
131
  x as previewReplaceButton,
@@ -133,9 +133,9 @@ export {
133
133
  y as previewStatusError,
134
134
  E as previewStatusText,
135
135
  e as root,
136
- i as rootButton,
137
- t as rootHorizontal,
138
- o as rootVertical,
136
+ r as rootButton,
137
+ o as rootHorizontal,
138
+ t as rootVertical,
139
139
  m as triggerButton,
140
- r as uploader
140
+ n as uploader
141
141
  };
@@ -2,9 +2,9 @@ import { jsx as r, jsxs as W } from "react/jsx-runtime";
2
2
  import { forwardRef as z, useImperativeHandle as P } from "react";
3
3
  import { clsx as f } from "clsx";
4
4
  import e from "./InputBase.module.css.js";
5
- import { useCompatId as Q } from "../../hooks/useCompatId.js";
6
- import { useInputSync as Y } from "./lib/useInputSync.js";
7
- import { useTextareaResize as Z } from "./lib/useTextareaResize.js";
5
+ import { useInputSync as Q } from "./lib/useInputSync.js";
6
+ import { useTextareaResize as Y } from "./lib/useTextareaResize.js";
7
+ import { useCompatId as Z } from "../../hooks/useCompatId.js";
8
8
  import { MAX_HINT_LENGTH as k } from "./lib/constants.js";
9
9
  import { useGripResize as U } from "./lib/useGripResize.js";
10
10
  import { GripIcon as E } from "./assets/GripIcon.js";
@@ -32,8 +32,8 @@ const K = z(
32
32
  resize: c,
33
33
  ...H
34
34
  }, R) => {
35
- const { textareaRef: w, inputRef: j, currentRef: d } = Y(a, t);
36
- if (Z(a, c, w), P(R, () => d.current, [d]), t === "textarea")
35
+ const { textareaRef: w, inputRef: j, currentRef: d } = Q(a, t);
36
+ if (Y(a, c, w), P(R, () => d.current, [d]), t === "textarea")
37
37
  return /* @__PURE__ */ r(
38
38
  "textarea",
39
39
  {
@@ -132,7 +132,7 @@ const K = z(
132
132
  showGrip: T = !1,
133
133
  ...L
134
134
  }, O) => {
135
- const X = Q("input-wrapper"), S = D || X, _ = y && s && (d || p), q = s && s.length > k ? s.substring(0, k) + "..." : s, B = f(
135
+ const X = Z("input-wrapper"), S = D || X, _ = y && s && (d || p), q = s && s.length > k ? s.substring(0, k) + "..." : s, B = f(
136
136
  e.wrapper,
137
137
  e[`size-${m}`],
138
138
  a && e.error,
@@ -1,29 +1,29 @@
1
- import '../../assets/components/Modal/Modal.module-BXeSeTs2.css';const t = "_container_1d51n_1", n = "_header_1d51n_21", o = "_withBorder_1d51n_56", e = "_drawerHeader_1d51n_60", c = "_title_1d51n_40", _ = "_subTitle_1d51n_76", s = "_leftActionsStack_1d51n_88", i = "_rightActionsStack_1d51n_96", a = "_closeButton_1d51n_111", r = "_content_1d51n_116", d = "_footer_1d51n_127", l = {
1
+ import '../../assets/components/Modal/Modal.module-x_YFLlra.css';const t = "_container_9kjql_1", o = "_header_9kjql_21", e = "_withBorder_9kjql_56", c = "_drawerHeader_9kjql_60", n = "_title_9kjql_40", _ = "_subTitle_9kjql_76", s = "_leftActionsStack_9kjql_88", i = "_rightActionsStack_9kjql_96", l = "_closeButton_9kjql_111", a = "_content_9kjql_116", r = "_footer_9kjql_127", k = {
2
2
  container: t,
3
- header: n,
4
- "title-actions-actions": "_title-actions-actions_1d51n_40",
5
- "actions-title-actions": "_actions-title-actions_1d51n_48",
6
- withBorder: o,
7
- drawerHeader: e,
8
- title: c,
3
+ header: o,
4
+ "title-actions-actions": "_title-actions-actions_9kjql_40",
5
+ "actions-title-actions": "_actions-title-actions_9kjql_48",
6
+ withBorder: e,
7
+ drawerHeader: c,
8
+ title: n,
9
9
  subTitle: _,
10
10
  leftActionsStack: s,
11
11
  rightActionsStack: i,
12
- closeButton: a,
13
- content: r,
14
- footer: d
12
+ closeButton: l,
13
+ content: a,
14
+ footer: r
15
15
  };
16
16
  export {
17
- a as closeButton,
17
+ l as closeButton,
18
18
  t as container,
19
- r as content,
20
- l as default,
21
- e as drawerHeader,
22
- d as footer,
23
- n as header,
19
+ a as content,
20
+ k as default,
21
+ c as drawerHeader,
22
+ r as footer,
23
+ o as header,
24
24
  s as leftActionsStack,
25
25
  i as rightActionsStack,
26
26
  _ as subTitle,
27
- c as title,
28
- o as withBorder
27
+ n as title,
28
+ e as withBorder
29
29
  };
@@ -1,7 +1,7 @@
1
1
  import { offset as G, flip as H, shift as V, inline as q, size as J, hide as K, useFloating as Q, autoUpdate as Z, useTransitionStyles as M, useClick as ee, useHover as te, useFocus as oe, useDismiss as ne, useRole as se, useInteractions as re } from "@floating-ui/react";
2
2
  import { useState as i, useMemo as v, useCallback as ce, useEffect as ae, useLayoutEffect as ie } from "react";
3
- import { useCompatId as S } from "../../../hooks/useCompatId.js";
4
3
  import { DEFAULT_FLOATING as le, hasMiddleware as fe } from "./utils.js";
4
+ import { useCompatId as S } from "../../../hooks/useCompatId.js";
5
5
  const r = 8, ue = (c) => {
6
6
  switch (c.split("-")[0]) {
7
7
  case "top":
@@ -1,8 +1,8 @@
1
1
  import { jsxs as N, jsx as r } from "react/jsx-runtime";
2
2
  import { useRef as W, useState as g, useEffect as w } from "react";
3
- import { useBackgroundColor as M } from "../../hooks/useBackgroundColor.js";
4
3
  import { clsx as a } from "clsx";
5
4
  import e from "./ScrollWrapper.module.css.js";
5
+ import { useBackgroundColor as M } from "../../hooks/useBackgroundColor.js";
6
6
  const B = "white", G = ({
7
7
  children: b,
8
8
  withControls: i = !0,
@@ -1,10 +1,10 @@
1
1
  import { jsx as l, jsxs as w } from "react/jsx-runtime";
2
2
  import F, { useState as U, createContext as V, useContext as M } from "react";
3
3
  import { ScrollWrapper as R } from "./ScrollWrapper.js";
4
- import { useIsMobile as j } from "../../hooks/useIsMobile.js";
5
4
  import { clsx as p } from "clsx";
6
5
  import f from "../../styles/typography.module.css.js";
7
6
  import a from "./Tabs.module.css.js";
7
+ import { useIsMobile as j } from "../../hooks/useIsMobile.js";
8
8
  import { Badge as k } from "../Badge/Badge.js";
9
9
  const G = "md", W = !1, Y = !1, Z = 8, z = "top-right-inside", P = V(null), h = () => {
10
10
  const t = M(P);