@fibery/ui-kit 9.3.0 → 9.4.0
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/animations.wyw-in-js.css +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/design-system/colors.d.ts +4 -2
- package/lib/design-system/colors.js +4 -3
- package/lib/design-system/theme.d.ts +10 -5
- 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/html-styles.wyw-in-js.css +3 -3
- 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/root-theme-provider.wyw-in-js.css +1 -1
- package/lib/scroll-fade.js +1 -1
- package/lib/select/components/menu.d.ts +5 -1
- package/lib/select/components/menu.js +13 -4
- 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/select/select.js +2 -2
- package/lib/sidebar/sidebar-handle.js +1 -1
- package/lib/sidebar/sidebar.js +1 -1
- package/lib/sidebar/sidebar.wyw-in-js.css +1 -1
- package/lib/skeleton.wyw-in-js.css +2 -2
- package/lib/spinner-box.js +1 -1
- package/lib/spinner.js +1 -1
- package/lib/spinner.wyw-in-js.css +1 -1
- package/lib/tab-nav/tab-nav.js +1 -1
- package/lib/table.js +1 -1
- package/lib/theme-provider.d.ts +2 -1
- package/lib/theming.generated.d.ts +16 -11
- package/lib/theming.generated.js +16 -11
- 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 +3 -6
- package/lib/item.d.ts +0 -30
- package/lib/item.js +0 -69
- package/lib/item.wyw-in-js.css +0 -1
|
@@ -2,8 +2,8 @@ import "./modal-menu-item.wyw-in-js.css";
|
|
|
2
2
|
import { textClasses } from "../design-system/typography.js";
|
|
3
3
|
import { useModalMenu } from "./contexts/modal-menu-context.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
5
|
import { cx } from "@linaria/core";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/modal-menu/modal-menu-item.tsx
|
|
8
8
|
var ModalMenuItem = ({ children, disabled, onSelect, ...otherProps }) => {
|
|
9
9
|
const { onOpenChange } = useModalMenu();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./modal-menu-label.wyw-in-js.css";
|
|
2
2
|
import { textClasses } from "../design-system/typography.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/modal-menu/modal-menu-label.tsx
|
|
7
7
|
var ModalMenuLabel = ({ children }) => {
|
|
8
8
|
return /* @__PURE__ */ jsx("div", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useModalMenu } from "./contexts/modal-menu-context.js";
|
|
2
|
+
import { cx } from "@linaria/core";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
3
4
|
import { cloneElement } from "react";
|
|
4
|
-
import { cx } from "@linaria/core";
|
|
5
5
|
//#region src/modal-menu/modal-menu-trigger.tsx
|
|
6
6
|
var ModalMenuTrigger = ({ asChild, triggerEvent, children, onClick, onContextMenu, ...otherProps }) => {
|
|
7
7
|
const { open, onOpenChange } = useModalMenu();
|
|
@@ -3,8 +3,8 @@ import { textClasses } from "../design-system/typography.js";
|
|
|
3
3
|
import { useModalMenu } from "./contexts/modal-menu-context.js";
|
|
4
4
|
import { useModalSubmenu } from "./contexts/modal-submenu-context.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
6
|
import { cx } from "@linaria/core";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
//#region src/modal-menu/modal-submenu-trigger.tsx
|
|
9
9
|
var ModalSubmenuTrigger = ({ children, ...otherProps }) => {
|
|
10
10
|
const { onOpenSubmenu } = useModalMenu();
|
package/lib/new-badge.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./new-badge.wyw-in-js.css";
|
|
2
2
|
import { textClasses } from "./design-system/typography.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/new-badge.tsx
|
|
7
7
|
var newBadgeStyle = "nwilzfg-newBadge";
|
|
8
8
|
var NewBadge = ({ children }) => /* @__PURE__ */ jsx("span", {
|
|
@@ -8,9 +8,9 @@ import { hiddenCss } from "./styles.js";
|
|
|
8
8
|
import { StepButton, ValueWithStepperWrapper } from "./step-button.js";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { identity } from "@fibery/helpers/src/_";
|
|
11
|
+
import { cx } from "@linaria/core";
|
|
11
12
|
import { jsx } from "react/jsx-runtime";
|
|
12
13
|
import { useCallback, useMemo, useRef, useState } from "react";
|
|
13
|
-
import { cx } from "@linaria/core";
|
|
14
14
|
import { stopPropagation } from "@fibery/react/src/stop-propagation";
|
|
15
15
|
import InputNumber from "rc-input-number";
|
|
16
16
|
//#region src/number-input/number-input-inline-with-autosize.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./stack.wyw-in-js.css";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import { jsxs } from "react/jsx-runtime";
|
|
4
3
|
import { cx } from "@linaria/core";
|
|
4
|
+
import { jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/number-input/stack.tsx
|
|
6
6
|
var wrapperCss = "w17tm6bz-wrapper";
|
|
7
7
|
var Stack = ({ className, bottom, top }) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./step-button.wyw-in-js.css";
|
|
2
2
|
import { border } from "../design-system/layout.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
|
import { stopPropagation } from "@fibery/react/src/stop-propagation";
|
|
7
7
|
//#region src/number-input/step-button.tsx
|
|
8
8
|
var stepButtonWidth = 16;
|
|
@@ -3,9 +3,9 @@ import "./edit-unit-styles.js";
|
|
|
3
3
|
import { Stack } from "./stack.js";
|
|
4
4
|
import { hiddenCss, inputCss, textAreaCss } from "./styles.js";
|
|
5
5
|
/* empty css */
|
|
6
|
+
import { cx } from "@linaria/core";
|
|
6
7
|
import { jsx } from "react/jsx-runtime";
|
|
7
8
|
import { useEffect, useMemo, useRef } from "react";
|
|
8
|
-
import { cx } from "@linaria/core";
|
|
9
9
|
import { stopPropagation } from "@fibery/react/src/stop-propagation";
|
|
10
10
|
//#region src/number-input/text-area-auto-sized.tsx
|
|
11
11
|
var TextAreaAutoSized = ({ value, placeholder, invalid, autoSelect, ...rest }) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./edit-unit-styles.js";
|
|
2
2
|
import { Stack } from "./stack.js";
|
|
3
3
|
import { hiddenCss, inputCss, textInlineCss } from "./styles.js";
|
|
4
|
+
import { cx } from "@linaria/core";
|
|
4
5
|
import { jsx } from "react/jsx-runtime";
|
|
5
6
|
import { useEffect, useMemo, useRef } from "react";
|
|
6
|
-
import { cx } from "@linaria/core";
|
|
7
7
|
import { stopPropagation } from "@fibery/react/src/stop-propagation";
|
|
8
8
|
//#region src/number-input/text-input-auto-sized.tsx
|
|
9
9
|
var TextInputAutoSized = ({ value, placeholder, invalid, autoSelect, ...rest }) => {
|
package/lib/online-users.js
CHANGED
|
@@ -8,9 +8,9 @@ import { Tooltip } from "./tooltip.js";
|
|
|
8
8
|
import { AvatarImage } from "./avatar.js";
|
|
9
9
|
import { Popover } from "./popover/index.js";
|
|
10
10
|
/* empty css */
|
|
11
|
+
import { cx } from "@linaria/core";
|
|
11
12
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
13
|
import { useEffect, useRef, useState } from "react";
|
|
13
|
-
import { cx } from "@linaria/core";
|
|
14
14
|
//#region src/online-users.tsx
|
|
15
15
|
var offset = [0, space.s6];
|
|
16
16
|
var avatarClassName = "afb4yyq-avatar";
|
package/lib/progress.d.ts
CHANGED
|
@@ -1,9 +1,47 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ProgressProps } from "rc-progress";
|
|
1
|
+
import { ReactNode } from "react";
|
|
3
2
|
//#region src/progress.d.ts
|
|
4
|
-
type
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
type Orientation = "horizontal" | "vertical";
|
|
4
|
+
type ProgressTrackProps = {
|
|
5
|
+
value: number;
|
|
6
|
+
color?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
"aria-label"?: string;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
};
|
|
11
|
+
declare const ProgressTrack: ({ value, color, className, "aria-label": ariaLabel, children }: ProgressTrackProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
type ProgressFillProps = {
|
|
13
|
+
value: number;
|
|
14
|
+
offset?: number;
|
|
15
|
+
orientation?: Orientation;
|
|
16
|
+
color?: string;
|
|
17
|
+
className?: string;
|
|
18
|
+
children?: ReactNode;
|
|
19
|
+
};
|
|
20
|
+
declare const ProgressFill: ({ value, offset, orientation, color, className, children }: ProgressFillProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
type ProgressBarProps = {
|
|
22
|
+
value: number;
|
|
23
|
+
color?: string;
|
|
24
|
+
trackColor?: string;
|
|
25
|
+
className?: string;
|
|
26
|
+
"aria-label"?: string;
|
|
27
|
+
};
|
|
28
|
+
declare const ProgressBar: ({ value, color, trackColor, className, "aria-label": ariaLabel }: ProgressBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
type ProgressChipProps = {
|
|
30
|
+
value: number;
|
|
31
|
+
label: ReactNode;
|
|
32
|
+
orientation?: Orientation;
|
|
33
|
+
className?: string;
|
|
34
|
+
"aria-label"?: string;
|
|
35
|
+
};
|
|
36
|
+
declare const ProgressChip: ({ value, label, orientation, className, "aria-label": ariaLabel }: ProgressChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
type ProgressRingProps = {
|
|
38
|
+
value: number;
|
|
39
|
+
size: number;
|
|
40
|
+
color?: string;
|
|
41
|
+
trackColor?: string;
|
|
42
|
+
className?: string;
|
|
43
|
+
"aria-label"?: string;
|
|
44
|
+
};
|
|
45
|
+
declare const ProgressRing: ({ value, size, color, trackColor, className, "aria-label": ariaLabel }: ProgressRingProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
46
|
//#endregion
|
|
9
|
-
export {
|
|
47
|
+
export { ProgressBar, ProgressChip, ProgressFill, ProgressRing, ProgressTrack };
|
package/lib/progress.js
CHANGED
|
@@ -1,20 +1,97 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import "./progress.wyw-in-js.css";
|
|
2
|
+
import { themeVars } from "./theming.generated.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
import { cx } from "@linaria/core";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
6
|
//#region src/progress.tsx
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
var clampPercent = (value) => Math.min(100, Math.max(0, value));
|
|
8
|
+
var trackCss = "tbl7nli-track";
|
|
9
|
+
var ProgressTrack = ({ value, color, className, "aria-label": ariaLabel, children }) => /* @__PURE__ */ jsx("div", {
|
|
10
|
+
role: "progressbar",
|
|
11
|
+
"aria-label": ariaLabel,
|
|
12
|
+
"aria-valuemin": 0,
|
|
13
|
+
"aria-valuemax": 100,
|
|
14
|
+
"aria-valuenow": Math.round(clampPercent(value)),
|
|
15
|
+
className: cx(trackCss, className),
|
|
16
|
+
style: { background: color },
|
|
17
|
+
children
|
|
18
|
+
});
|
|
19
|
+
var fillCss = "fbjiygh-fill";
|
|
20
|
+
var ProgressFill = ({ value, offset = 0, orientation = "horizontal", color, className, children }) => {
|
|
21
|
+
const start = clampPercent(offset);
|
|
22
|
+
const end = clampPercent(offset + value);
|
|
23
|
+
const clipPath = orientation === "horizontal" ? `inset(0 ${100 - end}% 0 ${start}%)` : `inset(${100 - end}% 0 ${start}% 0)`;
|
|
24
|
+
return /* @__PURE__ */ jsx("div", {
|
|
25
|
+
"aria-hidden": true,
|
|
26
|
+
className: cx(fillCss, className),
|
|
27
|
+
style: {
|
|
28
|
+
clipPath,
|
|
29
|
+
background: color
|
|
30
|
+
},
|
|
31
|
+
children
|
|
9
32
|
});
|
|
10
33
|
};
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
34
|
+
var barCss = "b1jtk9ee-bar";
|
|
35
|
+
var ProgressBar = ({ value, color = themeVars.progressBarFill, trackColor = themeVars.progressBarBg, className, "aria-label": ariaLabel }) => /* @__PURE__ */ jsx(ProgressTrack, {
|
|
36
|
+
value,
|
|
37
|
+
color: trackColor,
|
|
38
|
+
className: cx(barCss, className),
|
|
39
|
+
"aria-label": ariaLabel,
|
|
40
|
+
children: jsx(ProgressFill, {
|
|
41
|
+
value,
|
|
42
|
+
color
|
|
43
|
+
})
|
|
44
|
+
});
|
|
45
|
+
var chipCss = "c1x9yg1k-chip";
|
|
46
|
+
var chipFillCss = "csderd2-chipFill";
|
|
47
|
+
var ProgressChip = ({ value, label, orientation, className, "aria-label": ariaLabel }) => /* @__PURE__ */ jsxs(ProgressTrack, {
|
|
48
|
+
value,
|
|
49
|
+
className: cx(chipCss, className),
|
|
50
|
+
"aria-label": ariaLabel,
|
|
51
|
+
children: [label, /* @__PURE__ */ jsx(ProgressFill, {
|
|
52
|
+
value,
|
|
53
|
+
orientation,
|
|
54
|
+
className: chipFillCss,
|
|
55
|
+
children: label
|
|
56
|
+
})]
|
|
57
|
+
});
|
|
58
|
+
var ringViewBox = 16;
|
|
59
|
+
var ringStroke = 2;
|
|
60
|
+
var ringRadius = 7;
|
|
61
|
+
var ringCenter = ringViewBox / 2;
|
|
62
|
+
var ringCircumference = 2 * Math.PI * ringRadius;
|
|
63
|
+
var ringCss = "r1e5dk10-ring";
|
|
64
|
+
var ringArcCss = "r14tbdci-ringArc";
|
|
65
|
+
var ProgressRing = ({ value, size, color = themeVars.progressIconFill, trackColor = themeVars.progressIconBg, className, "aria-label": ariaLabel }) => {
|
|
66
|
+
const percent = clampPercent(value);
|
|
67
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
68
|
+
role: "progressbar",
|
|
69
|
+
"aria-label": ariaLabel,
|
|
70
|
+
"aria-valuemin": 0,
|
|
71
|
+
"aria-valuemax": 100,
|
|
72
|
+
"aria-valuenow": Math.round(percent),
|
|
73
|
+
width: size,
|
|
74
|
+
height: size,
|
|
75
|
+
viewBox: `0 0 ${ringViewBox} ${ringViewBox}`,
|
|
76
|
+
fill: "none",
|
|
77
|
+
strokeWidth: ringStroke,
|
|
78
|
+
className: cx(ringCss, className),
|
|
79
|
+
children: [/* @__PURE__ */ jsx("circle", {
|
|
80
|
+
cx: ringCenter,
|
|
81
|
+
cy: ringCenter,
|
|
82
|
+
r: ringRadius,
|
|
83
|
+
stroke: trackColor
|
|
84
|
+
}), percent > 0 && /* @__PURE__ */ jsx("circle", {
|
|
85
|
+
cx: ringCenter,
|
|
86
|
+
cy: ringCenter,
|
|
87
|
+
r: ringRadius,
|
|
88
|
+
stroke: color,
|
|
89
|
+
strokeLinecap: "round",
|
|
90
|
+
strokeDasharray: `${percent / 100 * ringCircumference} ${ringCircumference}`,
|
|
91
|
+
transform: `rotate(-90 ${ringCenter} ${ringCenter})`,
|
|
92
|
+
className: ringArcCss
|
|
93
|
+
})]
|
|
17
94
|
});
|
|
18
95
|
};
|
|
19
96
|
//#endregion
|
|
20
|
-
export {
|
|
97
|
+
export { ProgressBar, ProgressChip, ProgressFill, ProgressRing, ProgressTrack };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
.tbl7nli-track{position:relative;overflow:hidden;}
|
|
2
|
+
.fbjiygh-fill{position:absolute;inset:0;transition:clip-path 300ms ease-in-out;}
|
|
3
|
+
.b1jtk9ee-bar{height:6px;border-radius:9999px;}
|
|
4
|
+
.c1x9yg1k-chip{display:inline-flex;align-items:center;justify-content:center;background:var(--progressBg);color:var(--progressText);font-variant-numeric:tabular-nums;}
|
|
5
|
+
.csderd2-chipFill{display:flex;align-items:center;justify-content:center;background:var(--progressFillBg);color:var(--progressFillText);}
|
|
6
|
+
.r1e5dk10-ring{display:block;flex-shrink:0;}
|
|
7
|
+
.r14tbdci-ringArc{transition:stroke-dasharray 300ms ease-in-out;}
|
|
@@ -2,8 +2,8 @@ import "./tootltip.wyw-in-js.css";
|
|
|
2
2
|
import { useIsPhone } from "../use-is-phone.js";
|
|
3
3
|
import { Emoji } from "../emoji-picker/emoji.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
5
|
import { cx } from "@linaria/core";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/reactions/tootltip.tsx
|
|
8
8
|
var EmojiTooltipTitle = ({ emoji }) => {
|
|
9
9
|
return /* @__PURE__ */ jsx("div", {
|
package/lib/rich-input-loader.js
CHANGED
|
@@ -3,9 +3,9 @@ import { SkeletonList, SkeletonTextLine } from "./skeleton.js";
|
|
|
3
3
|
import { regularRichEditorHTMLStyles } from "./html-styles.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { noop } from "@fibery/helpers/src/_";
|
|
6
|
+
import { cx } from "@linaria/core";
|
|
6
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
8
|
import { createContext, memo, useContext, useEffect, useMemo, useState } from "react";
|
|
8
|
-
import { cx } from "@linaria/core";
|
|
9
9
|
//#region src/rich-input-loader.tsx
|
|
10
10
|
var loaderContext = createContext({
|
|
11
11
|
showLoader: true,
|
|
@@ -2,8 +2,8 @@ import "./rich-text-embed-error.wyw-in-js.css";
|
|
|
2
2
|
import { themeVars } from "./theming.generated.js";
|
|
3
3
|
import ImageError from "./icons/react/image-error.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
5
|
import { cx } from "@linaria/core";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/rich-text-embed-error.tsx
|
|
8
8
|
var richTextEmbedErrorStyle = "r75z511-richTextEmbedError";
|
|
9
9
|
var selectedStyle = "s1gear53-selected";
|