@fibery/ui-kit 9.3.0 → 9.3.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/lib/action-badge.js +1 -1
- package/lib/actions-menu/actions-menu-checkbox-item.js +1 -1
- package/lib/actions-menu/actions-menu-item.js +1 -1
- package/lib/actions-menu/actions-menu-sub-command-menu.js +1 -1
- package/lib/actions-menu/actions-menu-toggle-item.js +1 -1
- package/lib/actions-menu/actions-menu.js +1 -1
- package/lib/animations.js +1 -1
- package/lib/antd/ant-modal.js +1 -1
- package/lib/antd/ant-upload.js +1 -1
- package/lib/antd/auto-complete.js +1 -1
- package/lib/antd/get-wrapper.js +1 -1
- package/lib/antd/input.js +1 -1
- package/lib/avatar.js +1 -1
- package/lib/badge.js +1 -1
- package/lib/banner/banner.js +1 -1
- package/lib/board-table-loader.js +1 -1
- package/lib/breadcrumb.js +1 -1
- package/lib/button/base-button.js +1 -1
- package/lib/button/button-group.js +1 -1
- package/lib/button/button.js +1 -1
- package/lib/button/icon-button.js +1 -1
- package/lib/card-hidden-link.js +1 -1
- package/lib/collapsible-section.js +1 -1
- package/lib/color-picker/swatch.js +1 -1
- package/lib/command-menu/index.js +1 -1
- package/lib/command-menu/nested-command-menu.js +4 -4
- package/lib/comment.js +12 -16
- package/lib/comment.wyw-in-js.css +2 -1
- package/lib/context-menu/index.js +1 -1
- package/lib/date-picker/date-range-picker-popup-content.js +1 -1
- package/lib/date-picker/relative-date-picker.js +1 -1
- package/lib/date-picker/single-date-picker.js +1 -1
- package/lib/dnd.js +1 -1
- package/lib/dot.js +1 -1
- package/lib/dropdown-menu/index.js +1 -1
- package/lib/emoji-picker/primitives/category-label.js +1 -1
- package/lib/emoji-picker/primitives/emoji.js +1 -3
- package/lib/emoji-picker/primitives/grid.js +1 -1
- package/lib/emoji-picker/primitives/search.js +1 -1
- package/lib/emoji-picker/primitives/skin-tone.js +1 -1
- package/lib/empty-state/empty-state.js +1 -1
- package/lib/empty-value.js +1 -1
- package/lib/fibermoji-placeholder.js +1 -1
- package/lib/field-container.js +1 -1
- package/lib/file-item/file-title.js +1 -1
- package/lib/file-item.js +1 -1
- package/lib/header-layout.js +1 -1
- package/lib/hint.js +26 -20
- package/lib/hint.wyw-in-js.css +3 -1
- package/lib/hotkey-scope.js +1 -1
- package/lib/icons/icon.js +1 -1
- package/lib/indicator.js +1 -1
- package/lib/integration-compact-info-button.js +1 -1
- package/lib/kbd.js +1 -1
- package/lib/lists/list-row-surface.js +1 -1
- package/lib/loaders.js +1 -1
- package/lib/mobile-keyboard-aware-popup.js +1 -1
- package/lib/modal-menu/modal-menu-checkbox-item.js +1 -1
- package/lib/modal-menu/modal-menu-item.js +1 -1
- package/lib/modal-menu/modal-menu-label.js +1 -1
- package/lib/modal-menu/modal-menu-trigger.js +1 -1
- package/lib/modal-menu/modal-submenu-trigger.js +1 -1
- package/lib/new-badge.js +1 -1
- package/lib/number-input/number-input-inline-with-autosize.js +1 -1
- package/lib/number-input/stack.js +1 -1
- package/lib/number-input/step-button.js +1 -1
- package/lib/number-input/text-area-auto-sized.js +1 -1
- package/lib/number-input/text-input-auto-sized.js +1 -1
- package/lib/online-users.js +1 -1
- package/lib/progress.d.ts +45 -7
- package/lib/progress.js +91 -14
- package/lib/progress.wyw-in-js.css +7 -0
- package/lib/reactions/tootltip.js +1 -1
- package/lib/rich-input-loader.js +1 -1
- package/lib/rich-text-embed-error.js +1 -1
- package/lib/scroll-fade.js +1 -1
- package/lib/select/components/menu.js +1 -1
- package/lib/select/components/no-option-message.js +1 -1
- package/lib/select/index.js +1 -1
- package/lib/select/select-in-popover.js +1 -1
- package/lib/sidebar/sidebar-handle.js +1 -1
- package/lib/sidebar/sidebar.js +1 -1
- package/lib/spinner-box.js +1 -1
- package/lib/spinner.js +1 -1
- package/lib/tab-nav/tab-nav.js +1 -1
- package/lib/table.js +1 -1
- package/lib/toast/primitives.js +1 -1
- package/lib/toast/toast.js +1 -1
- package/lib/toggle-button/round-toggle-button.js +1 -1
- package/lib/toggle-button/toggle-button-group.js +1 -1
- package/lib/toggle-button/toggle-button.js +1 -1
- package/lib/toggle.js +1 -1
- package/lib/tooltip.js +1 -1
- package/lib/type-badge-box.js +1 -1
- package/lib/unit/labeled-unit.js +1 -1
- package/lib/unit/unit-content.js +1 -1
- package/lib/workflow-progress-icon.js +12 -20
- package/package.json +1 -4
- package/lib/item.d.ts +0 -30
- package/lib/item.js +0 -69
- package/lib/item.wyw-in-js.css +0 -1
package/lib/table.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./table.wyw-in-js.css";
|
|
2
2
|
/* empty css */
|
|
3
|
+
import { cx } from "@linaria/core";
|
|
3
4
|
import { jsx } from "react/jsx-runtime";
|
|
4
5
|
import { PureComponent } from "react";
|
|
5
|
-
import { cx } from "@linaria/core";
|
|
6
6
|
//#region src/table.tsx
|
|
7
7
|
var tableStyle = "t1sunmzy-table";
|
|
8
8
|
var Table = class extends PureComponent {
|
package/lib/toast/primitives.js
CHANGED
|
@@ -3,9 +3,9 @@ import { textClasses } from "../design-system/typography.js";
|
|
|
3
3
|
import { IconButton } from "../button/icon-button.js";
|
|
4
4
|
import Close from "../icons/react/close.js";
|
|
5
5
|
/* empty css */
|
|
6
|
+
import { cx } from "@linaria/core";
|
|
6
7
|
import { jsx } from "react/jsx-runtime";
|
|
7
8
|
import { forwardRef } from "react";
|
|
8
|
-
import { cx } from "@linaria/core";
|
|
9
9
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
10
10
|
import { preventDefault } from "@fibery/react/src/prevent-default";
|
|
11
11
|
//#region src/toast/primitives.tsx
|
package/lib/toast/toast.js
CHANGED
|
@@ -5,10 +5,10 @@ import { ToastClose, ToastRoot, ToastSubtitle, ToastTitle } from "./primitives.j
|
|
|
5
5
|
import CircleCheckFilled from "../icons/react/circle-check-filled.js";
|
|
6
6
|
import WarningTriangleFilled from "../icons/react/warning-triangle-filled.js";
|
|
7
7
|
/* empty css */
|
|
8
|
+
import { cx } from "@linaria/core";
|
|
8
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
10
|
import { useCallback, useEffect, useRef } from "react";
|
|
10
11
|
import { useControllableState } from "@fibery/react/src/use-controllable-state";
|
|
11
|
-
import { cx } from "@linaria/core";
|
|
12
12
|
import { useCallbackRef } from "@fibery/react/src/use-callback-ref";
|
|
13
13
|
//#region src/toast/toast.tsx
|
|
14
14
|
var defaultPropsPerType = {
|
|
@@ -2,9 +2,9 @@ import "./round-toggle-button.wyw-in-js.css";
|
|
|
2
2
|
import { themeVars } from "../theming.generated.js";
|
|
3
3
|
import { ToggleButton, toggleButtonColorVars } from "./toggle-button.js";
|
|
4
4
|
/* empty css */
|
|
5
|
+
import { cx } from "@linaria/core";
|
|
5
6
|
import { jsx } from "react/jsx-runtime";
|
|
6
7
|
import { forwardRef } from "react";
|
|
7
|
-
import { cx } from "@linaria/core";
|
|
8
8
|
//#region src/toggle-button/round-toggle-button.tsx
|
|
9
9
|
var roundToggleButtonCss = "r15nmt6y-roundToggleButton";
|
|
10
10
|
var roundToggleButtonColors = toggleButtonColorVars({
|
|
@@ -2,9 +2,9 @@ import "./toggle-button-group.wyw-in-js.css";
|
|
|
2
2
|
import { space } from "../design-system/layout.js";
|
|
3
3
|
import { ToggleButton } from "./toggle-button.js";
|
|
4
4
|
/* empty css */
|
|
5
|
+
import { cx } from "@linaria/core";
|
|
5
6
|
import { jsx } from "react/jsx-runtime";
|
|
6
7
|
import { forwardRef } from "react";
|
|
7
|
-
import { cx } from "@linaria/core";
|
|
8
8
|
import { ToggleGroup, ToggleGroupItem } from "@radix-ui/react-toggle-group";
|
|
9
9
|
//#region src/toggle-button/toggle-button-group.tsx
|
|
10
10
|
var toggleButtonGroupCss = "t11nnkce-toggleButtonGroup";
|
|
@@ -2,9 +2,9 @@ import "./toggle-button.wyw-in-js.css";
|
|
|
2
2
|
import { themeVars } from "../theming.generated.js";
|
|
3
3
|
import { useIsPhone } from "../use-is-phone.js";
|
|
4
4
|
/* empty css */
|
|
5
|
+
import { cx } from "@linaria/core";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
7
|
import { forwardRef } from "react";
|
|
7
|
-
import { cx } from "@linaria/core";
|
|
8
8
|
import { Toggle } from "@radix-ui/react-toggle";
|
|
9
9
|
//#region src/toggle-button/toggle-button.tsx
|
|
10
10
|
var toggleButtonCss = "tkovvez-toggleButton";
|
package/lib/toggle.js
CHANGED
|
@@ -5,8 +5,8 @@ import { space } from "./design-system/layout.js";
|
|
|
5
5
|
import { textClasses } from "./design-system/typography.js";
|
|
6
6
|
import { Spinner } from "./spinner.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
8
|
import { cx } from "@linaria/core";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { styled } from "@linaria/react";
|
|
11
11
|
//#region src/toggle.tsx
|
|
12
12
|
var toggleIconHeightVar = "--fibery-toggle-icon-height";
|
package/lib/tooltip.js
CHANGED
|
@@ -4,11 +4,11 @@ import { space } from "./design-system/layout.js";
|
|
|
4
4
|
import { RadixPortalThemeProvider } from "./theme-provider.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { isFlagPresent } from "@fibery/helpers/src/flags";
|
|
7
|
+
import { cx } from "@linaria/core";
|
|
7
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
9
|
import { forwardRef, useRef } from "react";
|
|
9
10
|
import { composeEventHandlers } from "@fibery/react/src/compose-event-handlers";
|
|
10
11
|
import { useControllableState } from "@fibery/react/src/use-controllable-state";
|
|
11
|
-
import { cx } from "@linaria/core";
|
|
12
12
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
13
13
|
//#region src/tooltip.tsx
|
|
14
14
|
var preventDefaultAndStopPropagation = (e) => {
|
package/lib/type-badge-box.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./type-badge-box.wyw-in-js.css";
|
|
2
2
|
import { makeAbbreviation } from "./type-badge.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
4
|
import { cx } from "@linaria/core";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/type-badge-box.tsx
|
|
7
7
|
var TypeBadgeBox = ({ width, height, typeObject, children, className }) => {
|
|
8
8
|
const abbr = makeAbbreviation(typeObject.title);
|
package/lib/unit/labeled-unit.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./labeled-unit.wyw-in-js.css";
|
|
2
2
|
import { textClasses } from "../design-system/typography.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
4
|
import { cx } from "@linaria/core";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/unit/labeled-unit.tsx
|
|
7
7
|
var labelCss = "lfktfg3-label";
|
|
8
8
|
var labeledUnitCss = "l3ngueb-labeledUnit";
|
package/lib/unit/unit-content.js
CHANGED
|
@@ -9,9 +9,9 @@ import "./styles.js";
|
|
|
9
9
|
import { UnitContainer } from "./container.js";
|
|
10
10
|
import { UnitContentLayout } from "./unit-content-layout.js";
|
|
11
11
|
/* empty css */
|
|
12
|
+
import { cx } from "@linaria/core";
|
|
12
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
14
|
import { forwardRef } from "react";
|
|
14
|
-
import { cx } from "@linaria/core";
|
|
15
15
|
//#region src/unit/unit-content.tsx
|
|
16
16
|
var resetButtonStylesCss = "r96bd8z-resetButtonStyles";
|
|
17
17
|
var ButtonComponent = forwardRef((props, ref) => {
|
|
@@ -1,39 +1,31 @@
|
|
|
1
1
|
import "./workflow-progress-icon.wyw-in-js.css";
|
|
2
2
|
import { themeVars } from "./theming.generated.js";
|
|
3
|
+
import { ProgressRing } from "./progress.js";
|
|
3
4
|
/* empty css */
|
|
4
|
-
import {
|
|
5
|
-
import { arc } from "d3-shape";
|
|
6
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
6
|
//#region src/workflow-progress-icon.tsx
|
|
8
7
|
var WorkflowProgressIcon = ({ size, index, total, fillProgress = themeVars.progressIconFill, fillBackground = themeVars.progressIconBg, isDone, doneStrokeColor = themeVars.pageContentBg, doneFillColor = themeVars.progressIconFill }) => {
|
|
9
|
-
return /* @__PURE__ */ jsx(
|
|
8
|
+
if (!isDone) return /* @__PURE__ */ jsx(ProgressRing, {
|
|
9
|
+
size,
|
|
10
|
+
value: index / total * 100,
|
|
11
|
+
color: fillProgress,
|
|
12
|
+
trackColor: fillBackground
|
|
13
|
+
});
|
|
14
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
10
15
|
width: size,
|
|
11
16
|
height: size,
|
|
12
17
|
viewBox: `0 0 16 16`,
|
|
13
18
|
className: "cdumlmi",
|
|
14
|
-
children:
|
|
19
|
+
children: [/* @__PURE__ */ jsx("circle", {
|
|
15
20
|
cx: "8",
|
|
16
21
|
cy: "8",
|
|
17
22
|
r: "8",
|
|
18
|
-
fill: doneFillColor
|
|
19
|
-
fillOpacity: "0.8"
|
|
23
|
+
fill: doneFillColor
|
|
20
24
|
}), /* @__PURE__ */ jsx("path", {
|
|
21
25
|
d: "M6.93229 11.98C7.25645 11.98 7.5091 11.8562 7.68071 11.5941L12.1236 4.80535C12.2476 4.61478 12.3 4.43852 12.3 4.27178C12.3 3.82395 11.9663 3.5 11.5086 3.5C11.1941 3.5 10.9986 3.61434 10.8079 3.91447L6.90845 10.0601L4.93012 7.60661C4.75374 7.39699 4.56306 7.30171 4.2961 7.30171C3.8337 7.30171 3.5 7.63042 3.5 8.07824C3.5 8.27832 3.56197 8.45464 3.73358 8.64992L6.19339 11.6274C6.39838 11.8704 6.62719 11.98 6.93229 11.98Z",
|
|
22
26
|
fill: doneStrokeColor
|
|
23
|
-
})]
|
|
24
|
-
transform: `translate(8, 8)`,
|
|
25
|
-
children: [/* @__PURE__ */ jsx("path", {
|
|
26
|
-
d: getPath(total, total, 16),
|
|
27
|
-
fill: fillBackground
|
|
28
|
-
}), /* @__PURE__ */ jsx("path", {
|
|
29
|
-
d: getPath(index, total, 16),
|
|
30
|
-
fill: fillProgress
|
|
31
|
-
})]
|
|
32
|
-
})
|
|
27
|
+
})]
|
|
33
28
|
});
|
|
34
29
|
};
|
|
35
|
-
var getPath = memoizeLeak((index, total, size) => {
|
|
36
|
-
return arc().innerRadius(size / 2.75).outerRadius(size / 2).startAngle(0).endAngle(2 * (index / total) * Math.PI).cornerRadius(1)();
|
|
37
|
-
}, (...args) => args.join("/"));
|
|
38
30
|
//#endregion
|
|
39
31
|
export { WorkflowProgressIcon };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fibery/ui-kit",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.1",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib"
|
|
@@ -111,7 +111,6 @@
|
|
|
111
111
|
"@tanstack/hotkeys": "0.7.1",
|
|
112
112
|
"@tanstack/react-hotkeys": "0.9.1",
|
|
113
113
|
"@types/apca-w3": "0.1.3",
|
|
114
|
-
"@types/d3-shape": "3.1.7",
|
|
115
114
|
"@types/history": "4.7.11",
|
|
116
115
|
"apca-w3": "0.1.9",
|
|
117
116
|
"chrono-node": "2.9.0",
|
|
@@ -119,7 +118,6 @@
|
|
|
119
118
|
"cmdk": "1.0.0",
|
|
120
119
|
"color-hash": "1.0.3",
|
|
121
120
|
"culori": "4.0.2",
|
|
122
|
-
"d3-shape": "1.3.7",
|
|
123
121
|
"date-fns": "2.29.2",
|
|
124
122
|
"invariant": "2.2.4",
|
|
125
123
|
"lru-cache": "11.5.3",
|
|
@@ -129,7 +127,6 @@
|
|
|
129
127
|
"rc-dialog": "9.0.4",
|
|
130
128
|
"rc-input": "1.3.11",
|
|
131
129
|
"rc-input-number": "8.5.0",
|
|
132
|
-
"rc-progress": "4.0.0",
|
|
133
130
|
"rc-select": "14.1.18",
|
|
134
131
|
"rc-tabs": "12.5.10",
|
|
135
132
|
"rc-textarea": "0.4.7",
|
package/lib/item.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { AriaRole, CSSProperties, MouseEvent, ReactNode, Ref } from "react";
|
|
2
|
-
//#region src/item.d.ts
|
|
3
|
-
type Props = {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
textRef?: Ref<HTMLDivElement>;
|
|
6
|
-
className?: string;
|
|
7
|
-
leftContainer?: ReactNode;
|
|
8
|
-
rightContainer?: ReactNode;
|
|
9
|
-
textClassName?: string;
|
|
10
|
-
itemClassName?: string;
|
|
11
|
-
containerClassName?: string;
|
|
12
|
-
multiline?: boolean;
|
|
13
|
-
inline?: boolean;
|
|
14
|
-
noOverflow?: boolean;
|
|
15
|
-
hoverable?: boolean;
|
|
16
|
-
title?: string;
|
|
17
|
-
dataId?: string;
|
|
18
|
-
onItemClick?: (event: MouseEvent<HTMLDivElement>) => unknown;
|
|
19
|
-
onMouseEnter?: (event: MouseEvent<HTMLDivElement>) => unknown;
|
|
20
|
-
onMouseLeave?: (event: MouseEvent<HTMLDivElement>) => unknown;
|
|
21
|
-
onMouseDown?: (event: MouseEvent<HTMLDivElement>) => unknown;
|
|
22
|
-
style?: CSSProperties;
|
|
23
|
-
role?: AriaRole;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* @deprecated The component should not be used. Just use css for desired layout `display: flex` or `display: grid; grid-auto-flow:column`
|
|
27
|
-
*/
|
|
28
|
-
declare const Item: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
29
|
-
//#endregion
|
|
30
|
-
export { Item };
|
package/lib/item.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import "./item.wyw-in-js.css";
|
|
2
|
-
/* empty css */
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import { forwardRef } from "react";
|
|
5
|
-
import cx from "classnames";
|
|
6
|
-
//#region src/item.tsx
|
|
7
|
-
var getGridStyle = ({ multiline, leftContainer, children, rightContainer, onItemClick, inline }) => ({
|
|
8
|
-
display: inline ? "inline-grid" : "grid",
|
|
9
|
-
gridTemplateColumns: [
|
|
10
|
-
leftContainer ? "auto" : null,
|
|
11
|
-
children ? "1fr" : null,
|
|
12
|
-
rightContainer ? "auto" : null
|
|
13
|
-
].filter((container) => container !== null).join(" "),
|
|
14
|
-
alignItems: multiline ? "start" : "center",
|
|
15
|
-
...onItemClick ? { cursor: "pointer" } : null
|
|
16
|
-
});
|
|
17
|
-
var hoverClass = "h122jb8h-hover";
|
|
18
|
-
var singleLineTextStyleNoOverflow = { whiteSpace: "nowrap" };
|
|
19
|
-
var singleLineTextStyle = {
|
|
20
|
-
...singleLineTextStyleNoOverflow,
|
|
21
|
-
overflow: "hidden",
|
|
22
|
-
textOverflow: "ellipsis"
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* @deprecated The component should not be used. Just use css for desired layout `display: flex` or `display: grid; grid-auto-flow:column`
|
|
26
|
-
*/
|
|
27
|
-
var Item = forwardRef(function Item({ className, leftContainer, rightContainer, children, multiline, textClassName, itemClassName, containerClassName, onMouseEnter, onMouseLeave, onMouseDown, onItemClick, inline, noOverflow, hoverable, title, dataId, textRef, style = {}, role }, ref) {
|
|
28
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
29
|
-
"data-testid": dataId,
|
|
30
|
-
"data-id": dataId,
|
|
31
|
-
role,
|
|
32
|
-
ref,
|
|
33
|
-
onMouseDown,
|
|
34
|
-
onMouseEnter,
|
|
35
|
-
onMouseLeave,
|
|
36
|
-
onClick: onItemClick,
|
|
37
|
-
className: cx(className, { [hoverClass]: hoverable }, itemClassName),
|
|
38
|
-
style: {
|
|
39
|
-
...style,
|
|
40
|
-
...getGridStyle({
|
|
41
|
-
multiline,
|
|
42
|
-
leftContainer,
|
|
43
|
-
children,
|
|
44
|
-
rightContainer,
|
|
45
|
-
onItemClick,
|
|
46
|
-
inline
|
|
47
|
-
})
|
|
48
|
-
},
|
|
49
|
-
title,
|
|
50
|
-
children: [
|
|
51
|
-
leftContainer && /* @__PURE__ */ jsx("div", {
|
|
52
|
-
className: cx(containerClassName),
|
|
53
|
-
children: leftContainer
|
|
54
|
-
}),
|
|
55
|
-
children ? /* @__PURE__ */ jsx("div", {
|
|
56
|
-
ref: textRef,
|
|
57
|
-
className: cx(textClassName),
|
|
58
|
-
style: multiline ? {} : noOverflow ? singleLineTextStyleNoOverflow : singleLineTextStyle,
|
|
59
|
-
children
|
|
60
|
-
}) : null,
|
|
61
|
-
rightContainer && /* @__PURE__ */ jsx("div", {
|
|
62
|
-
className: cx(containerClassName),
|
|
63
|
-
children: rightContainer
|
|
64
|
-
})
|
|
65
|
-
]
|
|
66
|
-
});
|
|
67
|
-
});
|
|
68
|
-
//#endregion
|
|
69
|
-
export { Item };
|
package/lib/item.wyw-in-js.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.h122jb8h-hover:hover{background-color:var(--colorBgMenuItemHover);}
|