aristid-ds 14.0.0-e6e2929 → 14.0.0-ec10111
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/CHANGELOG.md +7 -3
- package/dist/Kit/DataDisplay/IdCard/index.js +18 -15
- package/dist/Kit/DataDisplay/IdCard/types.d.ts +1 -1
- package/dist/Kit/Navigation/Header/index.js +29 -29
- package/dist/Kit/Navigation/SideMenu/index.js +29 -29
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index35.css +1 -1
- package/dist/index.umd.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
## [X.Y.Z](https://www.npmjs.com/package/aristid-ds/v/X.Y.Z) (2025-MM-DD)
|
|
4
4
|
|
|
5
5
|
### ✨ Features
|
|
6
|
+
- **Header**:
|
|
7
|
+
- Change 'height' to 48px instead of 64px
|
|
8
|
+
|
|
9
|
+
- **SideMenu**:
|
|
10
|
+
- Change 'width' to 48px instead of 64px
|
|
11
|
+
|
|
6
12
|
- **AutoComplete**:
|
|
7
13
|
- Add `size` property to enable `small`, `middle` and `large` sizes (@fatb38)
|
|
8
14
|
|
|
@@ -27,8 +33,6 @@
|
|
|
27
33
|
- **SidePanel**:
|
|
28
34
|
- Add opening and closing animations (@philippechevieux)
|
|
29
35
|
- Add `l` size (@7Remy)
|
|
30
|
-
|
|
31
|
-
- **SidePanel:**
|
|
32
36
|
- Add `useChildrenOnly` property to display the side panel as a container for other components or not. Also export two new components `KitSidePanelHeader` and `KitSidePanelContent` for layout purpose (@philippechevieux)
|
|
33
37
|
- Add `headerExtraButtons` property to display buttons or any components on the right side of the header next to the close button (@philippechevieux)
|
|
34
38
|
- Add `showSeparator` property to display a separator between header and content (@philippechevieux)
|
|
@@ -44,7 +48,7 @@
|
|
|
44
48
|
- **⚠️ Breaking change - IdCard**:
|
|
45
49
|
- Replacing `size` options (@fatb38)
|
|
46
50
|
- removing `medium` and `large`
|
|
47
|
-
- adding `xs-medium`, `xs-bold`, `s`, `m`, `l`, `xl`
|
|
51
|
+
- adding `xxs-medium`, `xs-medium`, `xs-bold`, `s`, `m`, `l`, `xl`
|
|
48
52
|
|
|
49
53
|
### 🐛 Bug Fixes
|
|
50
54
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../../../assets/index2.css";
|
|
2
|
-
import { jsxs as y, jsx as
|
|
2
|
+
import { jsxs as y, jsx as a } from "react/jsx-runtime";
|
|
3
3
|
import n from "classnames";
|
|
4
4
|
import { t as S } from "../../../chunks/styles.module.shsViPAW.js";
|
|
5
5
|
import { u as T } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
6
6
|
import { K as v } from "../../../chunks/Avatar.BvI60jet.js";
|
|
7
7
|
import { KitTooltip as d } from "../Tooltip/index.js";
|
|
8
|
-
import { T as
|
|
8
|
+
import { T as m } from "../../../chunks/constants.DINGxt3I.js";
|
|
9
9
|
const D = {
|
|
10
10
|
"kit-id-card": "_kit-id-card_1vabr_2"
|
|
11
|
-
},
|
|
11
|
+
}, h = [
|
|
12
12
|
S["kit-typography-text"],
|
|
13
13
|
"ant-typography",
|
|
14
14
|
"ant-typography-text",
|
|
@@ -35,6 +35,7 @@ const D = {
|
|
|
35
35
|
return "kit-typography-fontSize4";
|
|
36
36
|
case "xs-bold":
|
|
37
37
|
case "xs-medium":
|
|
38
|
+
case "xxs-medium":
|
|
38
39
|
return "kit-typography-fontSize5";
|
|
39
40
|
}
|
|
40
41
|
}, _ = (t) => {
|
|
@@ -45,23 +46,25 @@ const D = {
|
|
|
45
46
|
case "m":
|
|
46
47
|
case "s":
|
|
47
48
|
return "l";
|
|
49
|
+
case "xxs-medium":
|
|
50
|
+
return "s";
|
|
48
51
|
default:
|
|
49
52
|
return "m";
|
|
50
53
|
}
|
|
51
|
-
}, E = (t,
|
|
52
|
-
const s = n("kit-id-card-title", ...
|
|
53
|
-
"ant-typography-bold":
|
|
54
|
-
"ant-typography-disabled":
|
|
54
|
+
}, E = (t, e, r, i) => {
|
|
55
|
+
const s = n("kit-id-card-title", ...h, N(e), {
|
|
56
|
+
"ant-typography-bold": e !== "xs-medium",
|
|
57
|
+
"ant-typography-disabled": r
|
|
55
58
|
});
|
|
56
|
-
return
|
|
57
|
-
}, K = (t,
|
|
58
|
-
const s = n("kit-id-card-description", ...
|
|
59
|
-
"ant-typography-disabled":
|
|
59
|
+
return a("span", { className: s, children: a(d, { title: i ? "" : t, mouseEnterDelay: m, children: a("span", { children: t }) }) });
|
|
60
|
+
}, K = (t, e, r, i) => {
|
|
61
|
+
const s = n("kit-id-card-description", ...h, "ant-typography-regular", z(e), {
|
|
62
|
+
"ant-typography-disabled": r
|
|
60
63
|
});
|
|
61
|
-
return
|
|
62
|
-
}, I = ({ className: t, title:
|
|
63
|
-
const { appId:
|
|
64
|
-
return y("div", { className: `${f} id-card-grid`, ...
|
|
64
|
+
return a("span", { className: s, children: a(d, { title: i ? "" : t, mouseEnterDelay: m, children: a("span", { children: t }) }) });
|
|
65
|
+
}, I = ({ className: t, title: e, description: r, avatarProps: i, size: s = "xs-bold", disabled: o = !1, disableTooltip: c = !1, ...u }) => {
|
|
66
|
+
const { appId: g } = T(), f = n(g, D["kit-id-card"], t), x = i !== void 0, p = e !== void 0, l = r !== void 0, k = p || l;
|
|
67
|
+
return y("div", { className: `${f} id-card-grid`, ...u, children: [x && a("div", { className: "card-avatar", children: a(v, { ...i, size: _(s), disabled: o }) }), k && y("div", { className: "card-info", children: [p && typeof e == "string" ? E(e, s, o, c) : e, l && typeof r == "string" ? K(r, s, o, c) : r] })] });
|
|
65
68
|
};
|
|
66
69
|
I.displayName = "KitIdCard";
|
|
67
70
|
export {
|
|
@@ -4,7 +4,7 @@ import {IKitAvatar} from '../Avatar/types';
|
|
|
4
4
|
|
|
5
5
|
export interface IKitIdCard extends KitHTMLAttributes<HTMLDivElement> {
|
|
6
6
|
avatarProps?: IKitAvatar;
|
|
7
|
-
size?: 'xs-medium' | 'xs-bold' | 's' | 'm' | 'l' | 'xl';
|
|
7
|
+
size?: 'xxs-medium' | 'xs-medium' | 'xs-bold' | 's' | 'm' | 'l' | 'xl';
|
|
8
8
|
title?: ReactNode;
|
|
9
9
|
description?: ReactNode;
|
|
10
10
|
disabled?: boolean;
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import "../../../assets/index34.css";
|
|
2
|
-
import { jsxs as h, jsx as
|
|
2
|
+
import { jsxs as h, jsx as i } from "react/jsx-runtime";
|
|
3
3
|
import { u } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
4
|
-
import
|
|
5
|
-
import { KitDropDown as
|
|
4
|
+
import g from "classnames";
|
|
5
|
+
import { KitDropDown as _ } from "../DropDown/index.js";
|
|
6
6
|
import { FontAwesomeIcon as O } from "@fortawesome/react-fontawesome";
|
|
7
|
-
import { faGrip as
|
|
8
|
-
import { getContrastColor as
|
|
7
|
+
import { faGrip as F } from "@fortawesome/free-solid-svg-icons";
|
|
8
|
+
import { getContrastColor as H } from "../../../utils/functions/index.js";
|
|
9
9
|
import { F as I } from "../../../chunks/constants.DINGxt3I.js";
|
|
10
|
-
import { useState as
|
|
11
|
-
import { KitTag as
|
|
12
|
-
import { KitIdCard as
|
|
13
|
-
const
|
|
14
|
-
"kit-header": "_kit-
|
|
15
|
-
},
|
|
16
|
-
"--kit-header-invert-color":
|
|
17
|
-
}),
|
|
18
|
-
const { appId: p, theme: v } = u(), d =
|
|
19
|
-
"with-menu":
|
|
10
|
+
import { useState as P } from "react";
|
|
11
|
+
import { KitTag as R } from "../../DataDisplay/Tag/index.js";
|
|
12
|
+
import { KitIdCard as x } from "../../DataDisplay/IdCard/index.js";
|
|
13
|
+
const T = {
|
|
14
|
+
"kit-header": "_kit-header_10fik_2"
|
|
15
|
+
}, j = (s) => ({
|
|
16
|
+
"--kit-header-invert-color": H(s)
|
|
17
|
+
}), q = ({ className: s, children: l, menu: o, logo: e, langSwitcher: a, profile: m, ...t }) => {
|
|
18
|
+
const { appId: p, theme: v } = u(), d = g(p, T["kit-header"], {
|
|
19
|
+
"with-menu": o,
|
|
20
20
|
"with-logo": e,
|
|
21
21
|
"with-profile": m,
|
|
22
|
-
"with-lang-switcher":
|
|
23
|
-
},
|
|
24
|
-
return h("div", { style: k, ...
|
|
25
|
-
}, z = ({ logo:
|
|
22
|
+
"with-lang-switcher": a
|
|
23
|
+
}, s), f = () => i("div", { className: "kit-header-menu-wrapper", children: o }), k = j(v.colors.primary[400]);
|
|
24
|
+
return h("div", { style: k, ...t, className: d, children: [o && i(_, { dropdownRender: f, children: i("div", { className: "kit-header-menu", tabIndex: I, children: i(O, { icon: F }) }) }), e && i("div", { className: "kit-header-logo", children: e }), i("div", { className: "kit-header-content", children: l }), h("div", { className: "kit-header-right-items", children: [m, a && i("div", { className: "kit-header-lang", children: a })] })] });
|
|
25
|
+
}, z = ({ logo: s, tagProps: l, profileCardProps: o, profileMenuCardProps: e, complement: a, className: m, menu: t = null, alt: p = "", ...v }) => {
|
|
26
26
|
var d;
|
|
27
|
-
const { appId: f } = u(), [k, K] =
|
|
28
|
-
"with-menu":
|
|
27
|
+
const { appId: f } = u(), [k, K] = P(!1), b = g(f, "kit-header-profile", {
|
|
28
|
+
"with-menu": t,
|
|
29
29
|
open: k
|
|
30
|
-
}, m), y =
|
|
30
|
+
}, m), y = g("kit-header-profile-menu-card", {
|
|
31
31
|
clickable: e == null ? void 0 : e.onClick
|
|
32
|
-
}, e == null ? void 0 : e.className), n =
|
|
32
|
+
}, e == null ? void 0 : e.className), n = o;
|
|
33
33
|
n && n.avatarProps && (n.avatarProps.shape = "square");
|
|
34
34
|
const c = {
|
|
35
35
|
...e,
|
|
36
36
|
className: y
|
|
37
37
|
};
|
|
38
38
|
c && c.avatarProps && (c.avatarProps.shape = "square", c.avatarProps.size = "l");
|
|
39
|
-
const N =
|
|
40
|
-
disabled: !
|
|
39
|
+
const N = t && t.items, A = (r) => h("div", { className: "kit-header-menu-wrapper", children: [e && i(x, { ...c }), t && !N && i("div", { role: "separator", className: "ant-dropdown-menu-item-divider" }), N ? r : t] }), w = {
|
|
40
|
+
disabled: !t,
|
|
41
41
|
placement: "bottomRight",
|
|
42
42
|
onOpenChange: (r) => {
|
|
43
43
|
K(r);
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
-
if ((
|
|
47
|
-
const r = { ...
|
|
46
|
+
if ((t || e) && (w.dropdownRender = A), N) {
|
|
47
|
+
const r = { ...t };
|
|
48
48
|
e && r.items && r.items.length > 0 && (r.items = [
|
|
49
49
|
{
|
|
50
50
|
type: "divider"
|
|
@@ -52,8 +52,8 @@ const R = {
|
|
|
52
52
|
...(d = r.items) !== null && d !== void 0 ? d : []
|
|
53
53
|
]), w.menu = r;
|
|
54
54
|
}
|
|
55
|
-
return
|
|
56
|
-
}, B = z, D =
|
|
55
|
+
return i(_, { ...w, trigger: ["click"], children: h("div", { className: b, tabIndex: I, ...v, children: [s && i("img", { className: "kit-header-profile-logo", src: s, alt: p }), l && i(R, { className: "kit-header-profile-tag", ...l }), n && i(x, { ...n, size: "xxs-medium" }), a && i("div", { className: "kit-header-profile-complement", children: a })] }) });
|
|
56
|
+
}, B = z, D = q;
|
|
57
57
|
D.Profile = B;
|
|
58
58
|
D.displayName = "KitHeader";
|
|
59
59
|
export {
|
|
@@ -10,47 +10,47 @@ import { KitAutoComplete as L } from "../../DataEntry/AutoComplete/index.js";
|
|
|
10
10
|
import O from "../../../hooks/useSecureClick/index.js";
|
|
11
11
|
import { KitTooltip as Q } from "../../DataDisplay/Tooltip/index.js";
|
|
12
12
|
const _ = {
|
|
13
|
-
"kit-side-menu": "_kit-side-
|
|
14
|
-
"kit-side-menu-search-block": "_kit-side-menu-search-
|
|
15
|
-
"kit-side-menu-search-box": "_kit-side-menu-search-
|
|
16
|
-
"kit-side-menu-item": "_kit-side-menu-
|
|
17
|
-
"kit-side-menu-separator": "_kit-side-menu-
|
|
18
|
-
}, U = ({ type:
|
|
19
|
-
const { appId:
|
|
20
|
-
a.stopPropagation(),
|
|
21
|
-
}, f = O(c),
|
|
22
|
-
const a = M(
|
|
13
|
+
"kit-side-menu": "_kit-side-menu_12d5h_2",
|
|
14
|
+
"kit-side-menu-search-block": "_kit-side-menu-search-block_12d5h_69",
|
|
15
|
+
"kit-side-menu-search-box": "_kit-side-menu-search-box_12d5h_83",
|
|
16
|
+
"kit-side-menu-item": "_kit-side-menu-item_12d5h_122",
|
|
17
|
+
"kit-side-menu-separator": "_kit-side-menu-separator_12d5h_211"
|
|
18
|
+
}, U = ({ type: m = "default", itemKey: N = "", title: s, complement: o, icon: l, disabled: d, large: r, active: u, onClick: h, disabledSecureClick: g, className: S, ...K }) => {
|
|
19
|
+
const { appId: t } = $(), c = (a) => {
|
|
20
|
+
a.stopPropagation(), h && h(N);
|
|
21
|
+
}, f = O(c), k = () => {
|
|
22
|
+
const a = M(t, _["kit-side-menu-item"], {
|
|
23
23
|
large: r,
|
|
24
|
-
active:
|
|
25
|
-
clickable:
|
|
26
|
-
disabled:
|
|
24
|
+
active: u,
|
|
25
|
+
clickable: h && !d,
|
|
26
|
+
disabled: d
|
|
27
27
|
}, S);
|
|
28
|
-
return p("li", { ...K, "data-role": "menuitem", onClick: g ? c : f, className: a, children: [e("div", { className: "kit-side-menu-item-icon", children: l ?? e(x, { icon: D }) }), r && p(G, { children: [e("div", { className: "kit-side-menu-item-title", children: e("span", { children: s }) }),
|
|
28
|
+
return p("li", { ...K, "data-role": "menuitem", onClick: g ? c : f, className: a, children: [e("div", { className: "kit-side-menu-item-icon", children: l ?? e(x, { icon: D }) }), r && p(G, { children: [e("div", { className: "kit-side-menu-item-title", children: e("span", { children: s }) }), o && e("div", { className: "kit-side-menu-item-complement", children: o })] })] });
|
|
29
29
|
};
|
|
30
|
-
return
|
|
31
|
-
}, I = U, V = ({ open:
|
|
32
|
-
const { appId: K } = $(), [
|
|
30
|
+
return m === "separator" ? e("li", { className: `${t} ${_["kit-side-menu-separator"]}` }) : r ? k() : e(Q, { title: s, children: k() });
|
|
31
|
+
}, I = U, V = ({ open: m = !1, showSearch: N, autoCompleteOptions: s, customContent: o, items: l = [], onMenuClick: d, onOpenChanged: r, defaultActiveItemKey: u, disabledSecureClick: h, className: g, ...S }) => {
|
|
32
|
+
const { appId: K } = $(), [t, c] = y(m), [f, k] = y(u), a = T(null);
|
|
33
33
|
b(() => {
|
|
34
|
-
c(
|
|
35
|
-
}, [
|
|
36
|
-
|
|
37
|
-
}, [
|
|
34
|
+
c(m);
|
|
35
|
+
}, [m]), b(() => {
|
|
36
|
+
k(u);
|
|
37
|
+
}, [u]);
|
|
38
38
|
const F = M(K, _["kit-side-menu"], {
|
|
39
|
-
open:
|
|
39
|
+
open: t
|
|
40
40
|
}, g), w = () => {
|
|
41
|
-
r && r(!
|
|
41
|
+
r && r(!t), c(!t);
|
|
42
42
|
}, R = () => {
|
|
43
43
|
c(!0), requestAnimationFrame(() => {
|
|
44
44
|
a.current.focus();
|
|
45
45
|
});
|
|
46
|
-
}, j = (
|
|
47
|
-
|
|
48
|
-
}, A = () => N ? p("div", { className: _["kit-side-menu-search-block"], children: [e(L, { ...s, ref: a, wrapperClassName: `${s == null ? void 0 : s.wrapperClassName} search-input` }), e("div", { className: `${_["kit-side-menu-search-box"]}`, onClick: R, children: e(x, { icon: J }) })] }) : null, B = () =>
|
|
46
|
+
}, j = (i) => (n) => {
|
|
47
|
+
k(n), d && d(n), i && i(n);
|
|
48
|
+
}, A = () => N ? p("div", { className: _["kit-side-menu-search-block"], children: [e(L, { ...s, ref: a, wrapperClassName: `${s == null ? void 0 : s.wrapperClassName} search-input` }), e("div", { className: `${_["kit-side-menu-search-box"]}`, onClick: R, children: e(x, { icon: J }) })] }) : null, B = () => o && e("div", { className: "kit-side-menu-custom-content", children: o(t) }), E = (i, n) => {
|
|
49
49
|
var C;
|
|
50
|
-
const v = (C =
|
|
51
|
-
return
|
|
50
|
+
const v = (C = i.key) !== null && C !== void 0 ? C : n.toString();
|
|
51
|
+
return i.type === "separator" ? e(I, { itemKey: v, large: t, type: "separator" }, v) : q(I, { ...i, key: v, itemKey: v, large: t, active: !!f && i.key === f, disabledSecureClick: i.disabledSecureClick || h, onClick: j(i.onClick) });
|
|
52
52
|
};
|
|
53
|
-
return p("nav", { className: F, ...S, children: [p("div", { className: "header", children: [e(z, { className: "kit-side-menu-toggle", icon: e(x, { icon: H }), onClick: w }), A(), B()] }), e("ul", { className: "menu-items", children: l.map((
|
|
53
|
+
return p("nav", { className: F, ...S, children: [p("div", { className: "header", children: [e(z, { className: "kit-side-menu-toggle", icon: e(x, { icon: H }), onClick: w }), A(), B()] }), e("ul", { className: "menu-items", children: l.map((i, n) => E(i, n)) })] });
|
|
54
54
|
}, W = V;
|
|
55
55
|
W.displayName = "KitSideMenu";
|
|
56
56
|
export {
|
package/dist/assets/index34.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! Sass Fairy v1 | (c) roydukkey | https://sass-fairy.com/license */._kit-
|
|
1
|
+
/*! Sass Fairy v1 | (c) roydukkey | https://sass-fairy.com/license */._kit-header_10fik_2{--general-header-height: 48px;display:flex;gap:calc(var(--general-spacing-s) * 1px);padding-right:calc(var(--general-spacing-s) * 1px);align-items:center;height:var(--general-header-height);overflow:hidden;background:var(--general-utilities-light);width:100%;box-sizing:border-box}._kit-header_10fik_2 .kit-header-menu{height:var(--general-header-height);width:var(--general-header-height);flex-grow:0;flex-shrink:0;background:var(--general-utilities-main-default);color:var(--kit-header-invert-color);padding:calc(var(--general-spacing-none) * 1px);cursor:pointer;display:flex;align-items:center;justify-content:center}._kit-header_10fik_2 .kit-header-menu:active{background:var(--general-utilities-main-dark)}._kit-header_10fik_2 .kit-header-menu:hover:not(:active){background:var(--general-utilities-main-light);color:var(--general-utilities-main-default)}._kit-header_10fik_2 .kit-header-menu:focus{box-shadow:inset 0 0 0 3px var(--general-utilities-focus)}._kit-header_10fik_2 .kit-header-logo{grid-area:logo;display:flex;align-items:center;justify-content:center}._kit-header_10fik_2 .kit-header-logo img{height:calc(var(--general-header-height) - 2 * var(--general-spacing-xs) * 1px)}._kit-header_10fik_2:not(.with-menu) .kit-header-logo{padding-left:calc(var(--general-spacing-s) * 1px)}._kit-header_10fik_2 .kit-header-content{grid-area:content;padding-left:calc(var(--general-spacing-s) * 1px);justify-content:flex-start}._kit-header_10fik_2 .kit-header-right-items{margin-left:auto;display:flex;align-items:center;gap:calc(var(--general-spacing-s) * 1px)}._kit-header_10fik_2 .kit-header-profile{grid-area:profile;display:flex;gap:calc(var(--general-spacing-xs) * 1px);padding:calc(var(--general-spacing-xxs) * 1px) calc(var(--general-spacing-s) * 1px);align-items:center;border-radius:calc(var(--general-spacing-xs) * 1px);border:1px solid transparent}._kit-header_10fik_2 .kit-header-profile:active{background-color:var(--general-utilities-main-light);box-shadow:0 0 0 3px var(--general-utilities-focus)}._kit-header_10fik_2 .kit-header-profile:hover,._kit-header_10fik_2 .kit-header-profile.open{border:1px solid var(--general-utilities-main-default);background-color:var(--general-colors-primary-50)}._kit-header_10fik_2 .kit-header-profile:focus,._kit-header_10fik_2 .kit-header-profile:focus-visible{outline:none;border:1px solid var(--general-utilities-main-default);background-color:var(--general-utilities-main-light)}._kit-header_10fik_2 .kit-header-profile.with-menu{cursor:pointer}._kit-header_10fik_2 .kit-header-profile .kit-header-profile-logo{height:calc(var(--general-height-s) * 1px)}._kit-header_10fik_2 .kit-header-profile .kit-header-profile-complement:only-child{margin-left:0;height:auto}._kit-header_10fik_2 .kit-header-lang{grid-area:lang}._kit-header_10fik_2 .kit-header-lang .select{width:130px}._kit-header_10fik_2 .kit-header-lang .flagIcon{border-radius:calc(var(--general-border-radius-pills) * 1px)}._kit-header_10fik_2 .kit-header-lang .kit-select-option-icon:has(.flagIcon){margin-left:2px}.kit-header-profile-tag.kit-header-profile-tag{margin:calc(var(--general-spacing-none) * 1px)}.kit-header-profile-tag:not(:first-child){margin-left:calc(var(--general-spacing-xs) * 1px)}.kit-select-option-icon:has(.flagIcon){background-color:transparent}.kit-header-menu-wrapper{padding:calc(var(--general-spacing-xs) * 1px)}.kit-header-profile-menu-card{border:1px solid var(--general-utilities-border);border-radius:calc(var(--general-border-radius-s) * 1px);padding:calc(var(--general-spacing-xs) * 1px);margin-bottom:calc(var(--general-spacing-xs) * 1px)}.kit-header-profile-menu-card.clickable{cursor:pointer}.kit-header-profile-menu-card.clickable:hover{border-color:var(--general-utilities-main-default)}
|
package/dist/assets/index35.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! Sass Fairy v1 | (c) roydukkey | https://sass-fairy.com/license */._kit-side-
|
|
1
|
+
/*! Sass Fairy v1 | (c) roydukkey | https://sass-fairy.com/license */._kit-side-menu_12d5h_2{--sideMenu-colors-text: var(--components-SideMenu-colors-text, var(--general-utilities-text-primary));--sideMenu-shadow: 5px 3px 8px -5px #0000001a;--sideMenu-default-width-close: 48;--sideMenu-default-width-open: 248;position:relative;background-color:var(--components-SideMenu-colors-background, var(--general-utilities-light));color:var(--sideMenu-colors-text);box-sizing:border-box;width:calc(var(--components-SideMenu-width-close, var(--sideMenu-default-width-close)) * 1px);min-width:calc(var(--components-SideMenu-width-close, var(--sideMenu-default-width-close)) * 1px);height:100%;padding:calc(var(--components-SideMenu-padding-vertical, var(--general-spacing-s)) * 1px) calc(var(--general-spacing-none) * 1px);box-shadow:var(--components-SideMenu-shadow, var(--sideMenu-shadow));overflow-y:auto;overflow-x:hidden;scrollbar-width:calc(var(--components-SideMenu-padding-horizontal, var(--general-spacing-s)) * 1px) calc(var(--general-spacing-none) * 1px);transition-duration:.2s;transition-timing-function:ease-in-out;transition-property:width,min-width,max-width;font-family:var(--general-typography-fontFamily);font-style:var(--general-typography-fontStyle)}._kit-side-menu_12d5h_2 ul,._kit-side-menu_12d5h_2 li{padding:calc(var(--general-spacing-none) * 1px);margin:calc(var(--general-spacing-none) * 1px);list-style-type:none}._kit-side-menu_12d5h_2 .menu-items{display:flex;flex-direction:column;gap:calc(var(--components-SideMenu-item-spacing, var(--general-spacing-xs)) * 1px);position:relative;padding:calc(var(--general-spacing-none) * 1px) calc(var(--components-SideMenu-padding-horizontal, var(--general-spacing-xs)) * 1px);height:auto;width:100%;box-sizing:border-box}._kit-side-menu_12d5h_2 .header{display:flex;flex-direction:column;gap:calc(var(--general-spacing-xs) * 1px);position:relative;width:100%;box-sizing:border-box;padding:calc(var(--general-spacing-none) * 1px) calc(var(--components-SideMenu-padding-horizontal, var(--general-spacing-xs)) * 1px) calc(var(--general-spacing-s) * 1px) calc(var(--components-SideMenu-padding-horizontal, var(--general-spacing-xs)) * 1px)}._kit-side-menu_12d5h_2 .header .kit-side-menu-custom-content{margin-top:calc(var(--general-spacing-xs) * 1px)}._kit-side-menu_12d5h_2 .header .kit-side-menu-toggle.kit-btn-icon-only{position:relative;width:calc(var(--general-spacing-l) * 1px);min-width:calc(var(--general-spacing-l) * 1px);height:calc(var(--general-spacing-l) * 1px);padding:calc(var(--general-spacing-none) * 1px);color:var(--sideMenu-colors-text);left:0;transition:left .5s ease-in-out}._kit-side-menu_12d5h_2 .header .kit-side-menu-toggle.kit-btn-icon-only .kit-btn-icon{width:8px;height:8px;transform:rotate(0);transition:transform .15s ease-in-out}._kit-side-menu_12d5h_2 ._kit-side-menu-search-block_12d5h_69{width:100%;position:relative;height:40px}._kit-side-menu_12d5h_2 ._kit-side-menu-search-block_12d5h_69 .search-input{opacity:0;position:absolute;width:100%;pointer-events:none}._kit-side-menu_12d5h_2 ._kit-side-menu-search-block_12d5h_69 .search-input .ant-select{width:100%}._kit-side-menu_12d5h_2 ._kit-side-menu-search-block_12d5h_69 ._kit-side-menu-search-box_12d5h_83{display:flex;position:absolute;height:40px;width:32px;padding:calc(var(--general-spacing-s) * 1px);box-sizing:border-box;align-items:center;justify-content:center;cursor:pointer;opacity:1;transition:opacity .3s ease-in-out}._kit-side-menu_12d5h_2.open{width:calc(var(--components-SideMenu-width-open, var(--sideMenu-default-width-open)) * 1px);min-width:calc(var(--components-SideMenu-width-open, var(--sideMenu-default-width-open)) * 1px);max-width:calc(var(--components-SideMenu-width-open, var(--sideMenu-default-width-open)) * 1px);transition-duration:.2s;transition-timing-function:ease-in-out;transition-property:width,min-width,max-width}._kit-side-menu_12d5h_2.open .kit-side-menu-toggle.kit-btn-icon-only{left:calc(100% - 32px);transition:left .2s ease-in-out}._kit-side-menu_12d5h_2.open .kit-side-menu-toggle.kit-btn-icon-only .kit-btn-icon{transform:rotate(-180deg);transition:transform .15s ease-in-out}._kit-side-menu_12d5h_2.open .search-input{pointer-events:initial;opacity:1;transition:opacity .1s ease-in-out .2s}._kit-side-menu_12d5h_2.open ._kit-side-menu-search-box_12d5h_83{opacity:0;transition:opacity .1s ease-in-out}._kit-side-menu-item_12d5h_122{flex:0 0 auto;gap:calc(var(--components-SideMenu-item-spacing, var(--general-spacing-xs)) * 1px);width:calc(100% + var(--general-spacing-s) * 1px);box-sizing:border-box;background:var(--components-SideMenu-item-colors-background-default, transparent);height:40px;color:var(--sideMenu-colors-text);position:relative;border-radius:var(--components-SideMenu-item-radius, 20px 0 0 20px);display:flex;align-items:center;overflow:hidden;transition:padding-left .1s ease-in-out;font-size:calc(var(--general-typography-fontSize5) * 1px);line-height:var(--general-typography-lineHeight5);font-weight:var(--components-Typography-Text-fontWeight-medium, var(--general-typography-mediumfontWeight))}._kit-side-menu-item_12d5h_122._kit-side-menu-item_12d5h_122{padding-right:calc(var(--components-SideMenu-padding-horizontal, var(--general-spacing-xs)) * 1px)}._kit-side-menu-item_12d5h_122.clickable{cursor:pointer}._kit-side-menu-item_12d5h_122>.kit-side-menu-item-icon{color:var(--components-SideMenu-item-colors-icon-default, var(--general-utilities-main-default));height:calc(var(--general-spacing-l) * 1px);width:calc(var(--general-spacing-l) * 1px);padding:calc(var(--general-spacing-xs) * 1px);box-sizing:border-box;display:flex;flex:0 0 calc(var(--general-spacing-l) * 1px);justify-content:center;align-items:center}._kit-side-menu-item_12d5h_122>.kit-side-menu-item-title{font-family:Inter;font-size:calc(var(--general-typography-fontSize5) * 1px);line-height:var(--general-typography-lineHeight5);font-weight:var(--components-Typography-Text-fontWeight-medium, var(--general-typography-mediumfontWeight));display:flex;align-items:center;justify-content:center;overflow:hidden}._kit-side-menu-item_12d5h_122>.kit-side-menu-item-title>span{display:block;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}._kit-side-menu-item_12d5h_122>.kit-side-menu-item-title,._kit-side-menu-item_12d5h_122>.kit-side-menu-item-title .ant-typography{color:var(--components-SideMenu-item-colors-text-default, var(--sideMenu-colors-text))}._kit-side-menu-item_12d5h_122>.kit-side-menu-item-complement{padding-left:calc(var(--components-SideMenu-item-spacing, var(--general-spacing-xs)) * 1px)}._kit-side-menu-item_12d5h_122>.kit-side-menu-item-complement :only-child{margin:calc(var(--general-spacing-none) * 1px)}._kit-side-menu-item_12d5h_122.active,._kit-side-menu-item_12d5h_122:hover{padding-left:calc(var(--component-SideMenu-item-activeOffset, var(--general-spacing-xxs)) * 1px);background:var(--components-SideMenu-item-colors-background-hover, var(--general-utilities-neutral-light));transition:padding-left .1s ease-in-out,background-color 0s .1s}._kit-side-menu-item_12d5h_122.active,._kit-side-menu-item_12d5h_122.active:hover{background:var(--components-SideMenu-item-colors-background-active, var(--general-utilities-main-default))}._kit-side-menu-item_12d5h_122.active>.kit-side-menu-item-icon,._kit-side-menu-item_12d5h_122.active>.kit-side-menu-item-title,._kit-side-menu-item_12d5h_122.active>.kit-side-menu-item-title .ant-typography,._kit-side-menu-item_12d5h_122.active:hover>.kit-side-menu-item-icon,._kit-side-menu-item_12d5h_122.active:hover>.kit-side-menu-item-title,._kit-side-menu-item_12d5h_122.active:hover>.kit-side-menu-item-title .ant-typography{color:var(--components-SideMenu-item-colors-text-active, var(--general-utilities-text-light))}._kit-side-menu-item_12d5h_122.disabled{background-color:var(--components-SideMenu-item-colors-background-disabled, transparent);border-color:var(--components-SideMenu-item-colors-background-default, var(--general-utilities-border));padding-right:calc(var(--components-SideMenu-padding-horizontal, var(--general-spacing-s)) * 1px);pointer-events:none}._kit-side-menu-item_12d5h_122.disabled>.kit-side-menu-item-icon,._kit-side-menu-item_12d5h_122.disabled>.kit-side-menu-item-title,._kit-side-menu-item_12d5h_122.disabled>.kit-side-menu-item-title .ant-typography{color:var(--components-SideMenu-item-colors-text-disabled, var(--general-utilities-neutral-dark))}._kit-side-menu-separator_12d5h_211{height:0;width:100%;border-top:1px solid var(--components-SideMenu-item-colors-separator, var(--general-utilities-border))}
|