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.
- package/dist/assets/components/FileUpload/FileUpload.module-CL_LDrLs.css +1 -0
- package/dist/assets/components/Modal/Modal.module-x_YFLlra.css +1 -0
- package/dist/assets/icons/development/code-browser-outlined.svg.js +1 -1
- package/dist/assets/icons/development/code-close-outlined.svg.js +1 -1
- package/dist/assets/icons/development/code-outlined.svg.js +1 -1
- package/dist/assets/icons/development/cube-outlined.svg.js +1 -1
- package/dist/assets/icons/development/dataflow-outlined.svg.js +1 -1
- package/dist/assets/icons/development/terminal-square-outlined.svg.js +2 -2
- package/dist/assets/icons/general/award-outlined.svg.js +1 -1
- package/dist/assets/icons/general/compass-outlined.svg.js +1 -1
- package/dist/assets/icons/general/ellipsis-horizontal-outlined.svg.js +1 -1
- package/dist/assets/icons/general/ellipsis-vertical-outlined.svg.js +2 -2
- package/dist/assets/icons/general/eye-crossed-outlined.svg.js +2 -2
- package/dist/assets/icons/general/medal-outlined.svg.js +1 -1
- package/dist/assets/icons/general/megaphone-outlined.svg.js +1 -1
- package/dist/assets/icons/general/rating-outlined.svg.js +1 -1
- package/dist/assets/icons/general/send-ios-outlined.svg.js +1 -1
- package/dist/assets/icons/general/shop-outlined.svg.js +1 -1
- package/dist/assets/icons/general/teacher-outlined.svg.js +1 -1
- package/dist/assets/styles/{button.module-DjunAbRS.css → button.module-BG9KYkTN.css} +1 -1
- package/dist/components/Avatar/AvatarGroup/AvatarGroupRoot.js +5 -5
- package/dist/components/ConfigProvider/ConfigProvider.js +1 -1
- package/dist/components/FileUpload/FileUpload.js +1 -1
- package/dist/components/FileUpload/FileUpload.module.css.js +62 -62
- package/dist/components/InputBase/Input.js +6 -6
- package/dist/components/Modal/Modal.module.css.js +18 -18
- package/dist/components/Popover/lib/use-popover.js +1 -1
- package/dist/components/Tabs/ScrollWrapper.js +1 -1
- package/dist/components/Tabs/Tabs.js +1 -1
- package/dist/index.cjs.js +25 -3
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +91 -89
- package/dist/styles/brand.module.css.js +24 -2
- package/dist/styles/brand.module.css2.js +4 -0
- package/dist/styles/button.module.css.js +1 -1
- package/dist/utils/generate-brand-primary-palette.d.ts +36 -0
- package/dist/utils/generate-brand-primary-palette.js +101 -0
- package/package.json +2 -1
- package/dist/assets/components/FileUpload/FileUpload.module-CldF1EqE.css +0 -1
- package/dist/assets/components/Modal/Modal.module-BXeSeTs2.css +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import '../../assets/components/FileUpload/FileUpload.module-
|
|
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:
|
|
4
|
-
rootHorizontal:
|
|
5
|
-
rootButton:
|
|
6
|
-
dropzoneWrapper:
|
|
7
|
-
uploader:
|
|
3
|
+
rootVertical: t,
|
|
4
|
+
rootHorizontal: o,
|
|
5
|
+
rootButton: r,
|
|
6
|
+
dropzoneWrapper: i,
|
|
7
|
+
uploader: n,
|
|
8
8
|
buttonTrigger: _,
|
|
9
|
-
attachButton:
|
|
10
|
-
dropzone:
|
|
11
|
-
dropzoneVertical:
|
|
12
|
-
dropzoneHorizontal:
|
|
13
|
-
dropzoneMeasuredBorder:
|
|
14
|
-
dropzoneBorder:
|
|
15
|
-
dropzoneInteractive:
|
|
16
|
-
dropzoneDragActive:
|
|
17
|
-
dropzoneDisabled:
|
|
18
|
-
dropzoneIcon:
|
|
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:
|
|
30
|
-
previewMediaImage:
|
|
31
|
-
previewMediaPlaceholder:
|
|
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:
|
|
58
|
-
filePreview:
|
|
59
|
-
fileBody:
|
|
60
|
-
fileMetaInline:
|
|
61
|
-
fileMetaLoader:
|
|
57
|
+
fileMain: te,
|
|
58
|
+
filePreview: oe,
|
|
59
|
+
fileBody: re,
|
|
60
|
+
fileMetaInline: ie,
|
|
61
|
+
fileMetaLoader: ne,
|
|
62
62
|
actions: _e,
|
|
63
|
-
inlineActions:
|
|
64
|
-
actionsVisible:
|
|
65
|
-
actionToggleOpen:
|
|
66
|
-
actionMenu:
|
|
67
|
-
actionMenuButton:
|
|
68
|
-
actionMenuBottomSheet:
|
|
69
|
-
actionIcon:
|
|
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
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
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
|
-
|
|
79
|
-
|
|
78
|
+
le as actionsVisible,
|
|
79
|
+
s as attachButton,
|
|
80
80
|
_ as buttonTrigger,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
z as dropzoneDisabled,
|
|
89
|
+
v as dropzoneDragActive,
|
|
90
|
+
c as dropzoneHorizontal,
|
|
91
|
+
f as dropzoneIcon,
|
|
92
92
|
w as dropzoneIconTile,
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
b as dropzoneInteractive,
|
|
94
|
+
p as dropzoneMeasuredBorder,
|
|
95
95
|
u as dropzoneTitle,
|
|
96
96
|
g as dropzoneTitleHorizontal,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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
|
-
|
|
105
|
+
te as fileMain,
|
|
106
106
|
F as fileMeta,
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
ie as fileMetaInline,
|
|
108
|
+
ne as fileMetaLoader,
|
|
109
109
|
$ as fileMetaText,
|
|
110
110
|
q as fileName,
|
|
111
|
-
|
|
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
|
-
|
|
120
|
+
se as inlineActions,
|
|
121
121
|
R as previewActionButton,
|
|
122
122
|
V as previewActions,
|
|
123
123
|
D as previewCard,
|
|
124
|
-
|
|
124
|
+
C as previewCardDisabled,
|
|
125
125
|
P as previewCardError,
|
|
126
126
|
L as previewCardUploading,
|
|
127
|
-
|
|
128
|
-
|
|
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
|
-
|
|
137
|
-
|
|
138
|
-
|
|
136
|
+
r as rootButton,
|
|
137
|
+
o as rootHorizontal,
|
|
138
|
+
t as rootVertical,
|
|
139
139
|
m as triggerButton,
|
|
140
|
-
|
|
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 {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
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 } =
|
|
36
|
-
if (
|
|
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 =
|
|
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-
|
|
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:
|
|
4
|
-
"title-actions-actions": "_title-actions-
|
|
5
|
-
"actions-title-actions": "_actions-title-
|
|
6
|
-
withBorder:
|
|
7
|
-
drawerHeader:
|
|
8
|
-
title:
|
|
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:
|
|
13
|
-
content:
|
|
14
|
-
footer:
|
|
12
|
+
closeButton: l,
|
|
13
|
+
content: a,
|
|
14
|
+
footer: r
|
|
15
15
|
};
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
l as closeButton,
|
|
18
18
|
t as container,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
-
|
|
28
|
-
|
|
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);
|