@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/action-badge.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./action-badge.wyw-in-js.css";
|
|
2
2
|
import { BaseButton } from "./button/base-button.js";
|
|
3
3
|
/* empty css */
|
|
4
|
+
import { cx } from "@linaria/core";
|
|
4
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
6
|
import { forwardRef } from "react";
|
|
6
|
-
import { cx } from "@linaria/core";
|
|
7
7
|
//#region src/action-badge.tsx
|
|
8
8
|
var containerStyle = "cyju7d0-container";
|
|
9
9
|
var smallStyle = "sgsty1r-small";
|
|
@@ -4,9 +4,9 @@ import { useIsPhone } from "../use-is-phone.js";
|
|
|
4
4
|
import { useActionsMenuContext } from "./contexts/actions-menu-context.js";
|
|
5
5
|
import Checked from "../icons/react/checked.js";
|
|
6
6
|
/* empty css */
|
|
7
|
+
import { cx } from "@linaria/core";
|
|
7
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
9
|
import { memo } from "react";
|
|
9
|
-
import { cx } from "@linaria/core";
|
|
10
10
|
import { stopPropagation } from "@fibery/react/src/stop-propagation";
|
|
11
11
|
//#region src/actions-menu/actions-menu-checkbox-item.tsx
|
|
12
12
|
var rowCss = "r1tvwp0c-row";
|
|
@@ -10,9 +10,9 @@ import { useActiveDangerousRow, useSetActiveDangerousRow } from "./contexts/acti
|
|
|
10
10
|
import Checked from "../icons/react/checked.js";
|
|
11
11
|
/* empty css */
|
|
12
12
|
import { noop } from "@fibery/helpers/src/_";
|
|
13
|
+
import { cx } from "@linaria/core";
|
|
13
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
15
|
import { useId } from "react";
|
|
15
|
-
import { cx } from "@linaria/core";
|
|
16
16
|
import { useCallbackRef } from "@fibery/react/src/use-callback-ref";
|
|
17
17
|
import { stopPropagation } from "@fibery/react/src/stop-propagation";
|
|
18
18
|
//#region src/actions-menu/actions-menu-item.tsx
|
|
@@ -4,11 +4,11 @@ import { useActionsMenuContext } from "./contexts/actions-menu-context.js";
|
|
|
4
4
|
import { ActionsMenuSubMenu } from "./actions-menu-sub-menu.js";
|
|
5
5
|
import { CommandMenuEmpty, CommandMenuGroup, CommandMenuInput, CommandMenuItem, CommandMenuList, CommandMenuRoot, CommandMenuSeparator } from "../command-menu/index.js";
|
|
6
6
|
/* empty css */
|
|
7
|
+
import { cx } from "@linaria/core";
|
|
7
8
|
import { jsx } from "react/jsx-runtime";
|
|
8
9
|
import { createContext } from "@fibery/react/src/create-context";
|
|
9
10
|
import { useEffect, useMemo, useRef, useState } from "react";
|
|
10
11
|
import { composeEventHandlers } from "@fibery/react/src/compose-event-handlers";
|
|
11
|
-
import { cx } from "@linaria/core";
|
|
12
12
|
import { stopPropagation } from "@fibery/react/src/stop-propagation";
|
|
13
13
|
//#region src/actions-menu/actions-menu-sub-command-menu.tsx
|
|
14
14
|
var [ActionsMenuSubCommandMenuProvider, useActionsMenuSubCommandMenuCtx] = createContext("ActionsMenuSubCommandMenu");
|
|
@@ -5,9 +5,9 @@ import { ToggleOnOff } from "../toggle-on-off.js";
|
|
|
5
5
|
import { useActionsMenuContext } from "./contexts/actions-menu-context.js";
|
|
6
6
|
/* empty css */
|
|
7
7
|
import { noop } from "@fibery/helpers/src/_";
|
|
8
|
+
import { cx } from "@linaria/core";
|
|
8
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
10
|
import { memo } from "react";
|
|
10
|
-
import { cx } from "@linaria/core";
|
|
11
11
|
import { stopPropagation } from "@fibery/react/src/stop-propagation";
|
|
12
12
|
import { preventDefault } from "@fibery/react/src/prevent-default";
|
|
13
13
|
//#region src/actions-menu/actions-menu-toggle-item.tsx
|
|
@@ -7,10 +7,10 @@ import { modal_menu_exports } from "../modal-menu/index.js";
|
|
|
7
7
|
import { ActionsMenuConfirmation } from "./actions-menu-confirmation.js";
|
|
8
8
|
import { ActionsMenuDangerousRowsProvider } from "./contexts/actions-menu-dangerous-rows.js";
|
|
9
9
|
/* empty css */
|
|
10
|
+
import { cx } from "@linaria/core";
|
|
10
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
12
|
import { useEffect, useState } from "react";
|
|
12
13
|
import { useControllableState } from "@fibery/react/src/use-controllable-state";
|
|
13
|
-
import { cx } from "@linaria/core";
|
|
14
14
|
import { preventDefault } from "@fibery/react/src/prevent-default";
|
|
15
15
|
//#region src/actions-menu/actions-menu.tsx
|
|
16
16
|
var preventDefaultAndStopPropagation = (event) => {
|
package/lib/animations.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./animations.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 { useLayoutEffect, useRef, useState } from "react";
|
|
5
|
-
import { cx } from "@linaria/core";
|
|
6
6
|
//#region src/animations.tsx
|
|
7
7
|
var pulseStyle = "p1hq8iit-pulse";
|
|
8
8
|
var Pulse = ({ children }) => /* @__PURE__ */ jsx("div", {
|
package/lib/antd/ant-modal.js
CHANGED
|
@@ -3,9 +3,9 @@ import { ThemeProvider } from "../theme-provider.js";
|
|
|
3
3
|
import Close from "../icons/react/close.js";
|
|
4
4
|
import { usePopupStackContext } from "../popover/popup-stack-context.js";
|
|
5
5
|
/* empty css */
|
|
6
|
+
import { cx } from "@linaria/core";
|
|
6
7
|
import { jsx } from "react/jsx-runtime";
|
|
7
8
|
import { useEffect, useId, useRef } from "react";
|
|
8
|
-
import { cx } from "@linaria/core";
|
|
9
9
|
import Dialog from "rc-dialog";
|
|
10
10
|
//#region src/antd/ant-modal.tsx
|
|
11
11
|
var defaultCloseIcon = /* @__PURE__ */ jsx(Close, {});
|
package/lib/antd/ant-upload.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./ant-upload.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 { forwardRef, useCallback, useRef, useState } from "react";
|
|
5
|
-
import { cx } from "@linaria/core";
|
|
6
6
|
import RcUpload from "rc-upload";
|
|
7
7
|
//#region src/antd/ant-upload.tsx
|
|
8
8
|
function file2Obj(file) {
|
|
@@ -3,9 +3,9 @@ import { ThemeProvider } from "../theme-provider.js";
|
|
|
3
3
|
import { getWrapper } from "./get-wrapper.js";
|
|
4
4
|
import { wrapWithPopupContainer } from "./utils.js";
|
|
5
5
|
/* empty css */
|
|
6
|
+
import { cx } from "@linaria/core";
|
|
6
7
|
import { jsx } from "react/jsx-runtime";
|
|
7
8
|
import { forwardRef, useCallback } from "react";
|
|
8
|
-
import { cx } from "@linaria/core";
|
|
9
9
|
import Select from "rc-select";
|
|
10
10
|
//#region src/antd/auto-complete.tsx
|
|
11
11
|
var autoCompleteStyles = "a4bxarr-autoComplete";
|
package/lib/antd/get-wrapper.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { cx } from "@linaria/core";
|
|
1
2
|
import { jsx } from "react/jsx-runtime";
|
|
2
3
|
import { forwardRef } from "react";
|
|
3
|
-
import { cx } from "@linaria/core";
|
|
4
4
|
//#region src/antd/get-wrapper.tsx
|
|
5
5
|
function getWrapper(wrapperClassName) {
|
|
6
6
|
return forwardRef(function InputWrapper({ className, ...props }, ref) {
|
package/lib/antd/input.js
CHANGED
|
@@ -4,9 +4,9 @@ import { getWrapper } from "./get-wrapper.js";
|
|
|
4
4
|
import { wrapWith } from "./utils.js";
|
|
5
5
|
import CircleCross from "../icons/react/circle-cross.js";
|
|
6
6
|
/* empty css */
|
|
7
|
+
import { cx } from "@linaria/core";
|
|
7
8
|
import { jsx } from "react/jsx-runtime";
|
|
8
9
|
import { forwardRef, useImperativeHandle, useMemo, useRef } from "react";
|
|
9
|
-
import { cx } from "@linaria/core";
|
|
10
10
|
import RcInput from "rc-input";
|
|
11
11
|
import RcTextArea from "rc-textarea";
|
|
12
12
|
//#region src/antd/input.tsx
|
package/lib/avatar.js
CHANGED
|
@@ -4,9 +4,9 @@ import { FibermojiPlaceholder } from "./fibermoji-placeholder.js";
|
|
|
4
4
|
import { getShiftStyle } from "./icons/get-shift-style.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { memoizeLeak } from "@fibery/helpers/src/_";
|
|
7
|
+
import { cx } from "@linaria/core";
|
|
7
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
9
|
import { memo, useCallback, useState } from "react";
|
|
9
|
-
import { cx } from "@linaria/core";
|
|
10
10
|
//#region src/avatar.tsx
|
|
11
11
|
var statusIconPositionByIndex = [
|
|
12
12
|
{
|
package/lib/badge.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./badge.wyw-in-js.css";
|
|
2
2
|
import { textClasses } from "./design-system/typography.js";
|
|
3
3
|
/* empty css */
|
|
4
|
+
import { cx } from "@linaria/core";
|
|
4
5
|
import { jsx } from "react/jsx-runtime";
|
|
5
6
|
import { forwardRef } from "react";
|
|
6
|
-
import { cx } from "@linaria/core";
|
|
7
7
|
//#region src/badge.tsx
|
|
8
8
|
var Badge = forwardRef(({ children, kind, ...otherProps }, ref) => {
|
|
9
9
|
return /* @__PURE__ */ jsx("span", {
|
package/lib/banner/banner.js
CHANGED
|
@@ -4,9 +4,9 @@ import { IconButton } from "../button/icon-button.js";
|
|
|
4
4
|
import Close from "../icons/react/close.js";
|
|
5
5
|
import { BannerContextProvider } from "./banner-context.js";
|
|
6
6
|
/* empty css */
|
|
7
|
+
import { cx } from "@linaria/core";
|
|
7
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
9
|
import { forwardRef } from "react";
|
|
9
|
-
import { cx } from "@linaria/core";
|
|
10
10
|
//#region src/banner/banner.tsx
|
|
11
11
|
var bannerVariants = {
|
|
12
12
|
neutral: "nmuyx8-neutral",
|
|
@@ -4,8 +4,8 @@ import { Box } from "./box.js";
|
|
|
4
4
|
import { Delayed, defaultLoaderDelay } from "./delayed.js";
|
|
5
5
|
import { AxisHeader } from "./axis-header.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
7
|
import { cx } from "@linaria/core";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region src/board-table-loader.tsx
|
|
10
10
|
var style = "s1xtbszq";
|
|
11
11
|
var loaderStyle = "l13lkxpw-loader";
|
package/lib/breadcrumb.js
CHANGED
|
@@ -3,9 +3,9 @@ import { themeVars } from "./theming.generated.js";
|
|
|
3
3
|
import ArrowRight from "./icons/react/arrow-right.js";
|
|
4
4
|
import More from "./icons/react/more.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
|
//#region src/breadcrumb.tsx
|
|
10
10
|
var Breadcrumb = ({ className, ...rest }) => {
|
|
11
11
|
return /* @__PURE__ */ jsx("nav", {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./base-button.wyw-in-js.css";
|
|
2
2
|
import { themeVars } from "../theming.generated.js";
|
|
3
3
|
/* empty css */
|
|
4
|
+
import { cx } from "@linaria/core";
|
|
4
5
|
import { jsx } from "react/jsx-runtime";
|
|
5
6
|
import { forwardRef, useMemo } from "react";
|
|
6
|
-
import { cx } from "@linaria/core";
|
|
7
7
|
import { Slot } from "@radix-ui/react-slot";
|
|
8
8
|
//#region src/button/base-button.tsx
|
|
9
9
|
var xLargeButtonHeight = 40;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./button-group.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 { forwardRef } from "react";
|
|
5
|
-
import { cx } from "@linaria/core";
|
|
6
6
|
//#region src/button/button-group.tsx
|
|
7
7
|
var buttonGroupDirection = {
|
|
8
8
|
row: "r18ll2wb-row",
|
package/lib/button/button.js
CHANGED
|
@@ -4,9 +4,9 @@ import { useIsSupportHardwareKeyboard } from "../use-is-support-hardware-keyboar
|
|
|
4
4
|
import { Spinner } from "../spinner.js";
|
|
5
5
|
import { BaseButton } from "./base-button.js";
|
|
6
6
|
/* empty css */
|
|
7
|
+
import { cx } from "@linaria/core";
|
|
7
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
9
|
import { forwardRef } from "react";
|
|
9
|
-
import { cx } from "@linaria/core";
|
|
10
10
|
import { Slot, Slottable } from "@radix-ui/react-slot";
|
|
11
11
|
//#region src/button/button.tsx
|
|
12
12
|
var withIconStart = "wmamuht-withIconStart";
|
|
@@ -3,9 +3,9 @@ import { useIsPhone } from "../use-is-phone.js";
|
|
|
3
3
|
import { Spinner } from "../spinner.js";
|
|
4
4
|
import { BaseButton } from "./base-button.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
|
//#region src/button/icon-button.tsx
|
|
10
10
|
var iconButton = "it8gg33-iconButton";
|
|
11
11
|
var iconButtonSizes = {
|
package/lib/card-hidden-link.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./card-hidden-link.wyw-in-js.css";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { cx } from "@linaria/core";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { preventDefault } from "@fibery/react/src/prevent-default";
|
|
6
6
|
//#region src/card-hidden-link.tsx
|
|
7
7
|
var CardHiddenLink = ({ href, coverArea, children }) => {
|
|
@@ -2,10 +2,10 @@ import "./collapsible-section.wyw-in-js.css";
|
|
|
2
2
|
import ArrowDown from "./icons/react/arrow-down.js";
|
|
3
3
|
import ArrowUp from "./icons/react/arrow-up.js";
|
|
4
4
|
/* empty css */
|
|
5
|
+
import { cx } from "@linaria/core";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
7
|
import { useCallback, useEffect, useRef } from "react";
|
|
7
8
|
import { useControllableState } from "@fibery/react/src/use-controllable-state";
|
|
8
|
-
import { cx } from "@linaria/core";
|
|
9
9
|
//#region src/collapsible-section.tsx
|
|
10
10
|
var headerCss = "h1wv3fu2-header";
|
|
11
11
|
var arrowCss = "afwxddc-arrow";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./swatch.wyw-in-js.css";
|
|
2
2
|
import { IconButton } from "../button/icon-button.js";
|
|
3
3
|
/* empty css */
|
|
4
|
+
import { cx } from "@linaria/core";
|
|
4
5
|
import { jsx } from "react/jsx-runtime";
|
|
5
6
|
import { forwardRef } from "react";
|
|
6
|
-
import { cx } from "@linaria/core";
|
|
7
7
|
//#region src/color-picker/swatch.tsx
|
|
8
8
|
var swatchColorVar = "--fibery-swatch-color";
|
|
9
9
|
var swatchHoverColorVar = "--fibery-swatch-hover-color";
|
|
@@ -2,10 +2,10 @@ import "./index.wyw-in-js.css";
|
|
|
2
2
|
import Search from "../icons/react/search.js";
|
|
3
3
|
import ClearInputFilled from "../icons/react/clear-input-filled.js";
|
|
4
4
|
/* empty css */
|
|
5
|
+
import { cx } from "@linaria/core";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
7
|
import { forwardRef, useRef, useState } from "react";
|
|
7
8
|
import { useControllableState } from "@fibery/react/src/use-controllable-state";
|
|
8
|
-
import { cx } from "@linaria/core";
|
|
9
9
|
import { styled } from "@linaria/react";
|
|
10
10
|
import { useComposedRefs } from "@fibery/react/src/use-composed-refs";
|
|
11
11
|
import { CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandRoot, CommandSeparator } from "cmdk";
|
|
@@ -6,10 +6,10 @@ import ArrowRight from "../icons/react/arrow-right.js";
|
|
|
6
6
|
import ArrowBack from "../icons/react/arrow-back.js";
|
|
7
7
|
import { CommandMenuEmpty, CommandMenuGroup, CommandMenuInput, CommandMenuItem, CommandMenuList, CommandMenuRoot, CommandMenuSeparator, commandItemCss } from "./index.js";
|
|
8
8
|
/* empty css */
|
|
9
|
+
import { cx } from "@linaria/core";
|
|
9
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
11
|
import React, { forwardRef, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
11
|
-
import cx from "classnames";
|
|
12
|
-
import { cx as cx$1 } from "@linaria/core";
|
|
12
|
+
import cx$1 from "classnames";
|
|
13
13
|
import { CommandItem } from "cmdk";
|
|
14
14
|
//#region src/command-menu/nested-command-menu.tsx
|
|
15
15
|
var selectedItemClassName = "s1ukl7zd-selectedItem";
|
|
@@ -17,7 +17,7 @@ var arrowWrapperClassName = "a1dts7wr-arrowWrapper";
|
|
|
17
17
|
var NestedCommandMenuItem = forwardRef(function CommandMenuItem({ className, children, ...props }, ref) {
|
|
18
18
|
return /* @__PURE__ */ jsx(CommandItem, {
|
|
19
19
|
ref,
|
|
20
|
-
className: cx
|
|
20
|
+
className: cx(commandItemCss, className),
|
|
21
21
|
...props,
|
|
22
22
|
children
|
|
23
23
|
});
|
|
@@ -148,7 +148,7 @@ function renderLevel({ options, defaultValue, stack, maxDepthLevel, onCmdkItemSe
|
|
|
148
148
|
else onCmdkItemSelect(item);
|
|
149
149
|
},
|
|
150
150
|
asChild: true,
|
|
151
|
-
className: cx("c369um3", isSelected ? selectedItemClassName : void 0),
|
|
151
|
+
className: cx$1("c369um3", isSelected ? selectedItemClassName : void 0),
|
|
152
152
|
children: jsxs("div", {
|
|
153
153
|
className: "cqg3vgn",
|
|
154
154
|
children: [
|
package/lib/comment.js
CHANGED
|
@@ -4,12 +4,11 @@ import { Tooltip } from "./tooltip.js";
|
|
|
4
4
|
import { Skeleton, SkeletonList } from "./skeleton.js";
|
|
5
5
|
import { FibermojiPlaceholder } from "./fibermoji-placeholder.js";
|
|
6
6
|
import { AvatarImage } from "./avatar.js";
|
|
7
|
-
import { Item } from "./item.js";
|
|
8
7
|
import { formatDateFromNow } from "./format-date-from-now.js";
|
|
9
8
|
/* empty css */
|
|
9
|
+
import { cx } from "@linaria/core";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { forwardRef, memo } from "react";
|
|
12
|
-
import { cx } from "@linaria/core";
|
|
13
12
|
//#region src/comment.tsx
|
|
14
13
|
var commentContentStyle = "c4bd082-commentContent";
|
|
15
14
|
var commentStyle = "c99co57-comment";
|
|
@@ -79,16 +78,15 @@ var Comment = memo(forwardRef((props, ref) => {
|
|
|
79
78
|
]
|
|
80
79
|
});
|
|
81
80
|
}));
|
|
81
|
+
var plainCommentLayoutCss = "p1x2fdjy-plainCommentLayout";
|
|
82
82
|
var CommentPlaceholder = () => {
|
|
83
|
-
return /* @__PURE__ */ jsxs(
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
leftContainer: jsx("div", {
|
|
83
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
84
|
+
className: cx(commentStyle, plainCommentLayoutCss),
|
|
85
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
87
86
|
className: avatarContainerStyle,
|
|
88
87
|
children: /* @__PURE__ */ jsx(FibermojiPlaceholder, { size: 24 })
|
|
89
|
-
}),
|
|
90
|
-
|
|
91
|
-
itemClassName: infoContainerStyle,
|
|
88
|
+
}), /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("div", {
|
|
89
|
+
className: infoContainerStyle,
|
|
92
90
|
children: /* @__PURE__ */ jsx("div", {
|
|
93
91
|
className: authorStyle,
|
|
94
92
|
children: /* @__PURE__ */ jsx(Skeleton, {})
|
|
@@ -96,18 +94,16 @@ var CommentPlaceholder = () => {
|
|
|
96
94
|
}), /* @__PURE__ */ jsx("div", {
|
|
97
95
|
className: commentContentStyle,
|
|
98
96
|
children: /* @__PURE__ */ jsx(SkeletonList, { amount: 3 })
|
|
99
|
-
})]
|
|
97
|
+
})] })]
|
|
100
98
|
});
|
|
101
99
|
};
|
|
102
100
|
var ErrorComment = ({ error }) => {
|
|
103
|
-
return /* @__PURE__ */ jsx("div", { children:
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
leftContainer: /* @__PURE__ */ jsx("div", {
|
|
101
|
+
return /* @__PURE__ */ jsx("div", { children: jsxs("div", {
|
|
102
|
+
className: cx(commentStyle, plainCommentLayoutCss, "c12f5mp3"),
|
|
103
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
107
104
|
className: avatarContainerStyle,
|
|
108
105
|
children: /* @__PURE__ */ jsx(FibermojiPlaceholder, { size: 24 })
|
|
109
|
-
}),
|
|
110
|
-
children: /* @__PURE__ */ jsx("div", { children: error })
|
|
106
|
+
}), /* @__PURE__ */ jsx("div", { children: error })]
|
|
111
107
|
}) });
|
|
112
108
|
};
|
|
113
109
|
//#endregion
|
|
@@ -12,4 +12,5 @@
|
|
|
12
12
|
.c1gf494l{display:grid;grid-template-columns:auto minmax(150px, 1fr);align-items:center;column-gap:12px;}
|
|
13
13
|
.c14sd9dn{display:grid;position:relative;grid-template-columns:1fr auto;align-items:center;min-height:24px;}.fibery-mobile .c14sd9dn{min-height:36px;}
|
|
14
14
|
.c1fgpr5b{display:flex;}
|
|
15
|
-
.
|
|
15
|
+
.p1x2fdjy-plainCommentLayout{display:grid;grid-template-columns:auto 1fr;align-items:start;}
|
|
16
|
+
.c12f5mp3{background-color:var(--warningBgColor);}
|
|
@@ -6,9 +6,9 @@ import { textStyles } from "../design-system/typography.js";
|
|
|
6
6
|
import { mobileRootSelector } from "../mobile-styles.js";
|
|
7
7
|
import { RadixPortalThemeProvider } from "../theme-provider.js";
|
|
8
8
|
/* empty css */
|
|
9
|
+
import { cx } from "@linaria/core";
|
|
9
10
|
import { jsx } from "react/jsx-runtime";
|
|
10
11
|
import { forwardRef } from "react";
|
|
11
|
-
import { cx } from "@linaria/core";
|
|
12
12
|
import { styled } from "@linaria/react";
|
|
13
13
|
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
|
|
14
14
|
//#region src/context-menu/index.tsx
|
|
@@ -7,9 +7,9 @@ import { DayWithStartEndButtons, copyTime } from "./day-with-start-end-buttons.j
|
|
|
7
7
|
import { getWeekendsForMonth } from "./get-weekends-for-month.js";
|
|
8
8
|
import { DateRangeInput } from "./date-range-input.js";
|
|
9
9
|
/* empty css */
|
|
10
|
+
import { cx } from "@linaria/core";
|
|
10
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
12
|
import { forwardRef, useCallback, useMemo, useRef, useState } from "react";
|
|
12
|
-
import { cx } from "@linaria/core";
|
|
13
13
|
import enGB from "date-fns/locale/en-GB";
|
|
14
14
|
import { DayPicker } from "react-day-picker";
|
|
15
15
|
import { formatDuration, intervalToDuration, roundToNearestMinutes } from "date-fns";
|
|
@@ -5,9 +5,9 @@ import { AlwaysVisibleDropdownIndicator } from "../select/components/drop-down-i
|
|
|
5
5
|
import { SingleRowSelect } from "../select/index.js";
|
|
6
6
|
import { AntInputNumber } from "../antd/input-number.js";
|
|
7
7
|
/* empty css */
|
|
8
|
+
import { cx } from "@linaria/core";
|
|
8
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
10
|
import { useCallback, useMemo, useState } from "react";
|
|
10
|
-
import { cx } from "@linaria/core";
|
|
11
11
|
//#region src/date-picker/relative-date-picker.tsx
|
|
12
12
|
var unitOptions = [
|
|
13
13
|
{
|
|
@@ -11,9 +11,9 @@ import { FakeDateInputWrapper } from "./fake-date-input.js";
|
|
|
11
11
|
import { RelativeDatePicker } from "./relative-date-picker.js";
|
|
12
12
|
import { SingleDatePickerPopupContent } from "./single-date-picker-popup-content.js";
|
|
13
13
|
/* empty css */
|
|
14
|
+
import { cx } from "@linaria/core";
|
|
14
15
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
15
16
|
import { forwardRef, useCallback, useRef, useState } from "react";
|
|
16
|
-
import { cx } from "@linaria/core";
|
|
17
17
|
import { stopPropagation } from "@fibery/react/src/stop-propagation";
|
|
18
18
|
import moment from "moment";
|
|
19
19
|
import "react-day-picker/dist/style.css";
|
package/lib/dnd.js
CHANGED
|
@@ -3,8 +3,8 @@ import { themeVars } from "./theming.generated.js";
|
|
|
3
3
|
import { border } from "./design-system/layout.js";
|
|
4
4
|
import DragHandle from "./icons/react/drag-handle.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/dnd.tsx
|
|
9
9
|
var draggingStyle = {
|
|
10
10
|
backgroundColor: themeVars.actionMenuBg,
|
package/lib/dot.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./dot.wyw-in-js.css";
|
|
2
2
|
import { themeVars } from "./theming.generated.js";
|
|
3
3
|
/* empty css */
|
|
4
|
+
import { cx } from "@linaria/core";
|
|
4
5
|
import { jsx } from "react/jsx-runtime";
|
|
5
6
|
import { useMemo } from "react";
|
|
6
|
-
import { cx } from "@linaria/core";
|
|
7
7
|
//#region src/dot.tsx
|
|
8
8
|
var dotColorVar = "--fibery-dot-color";
|
|
9
9
|
var dotCss = "d1m41cqh-dot";
|
|
@@ -3,9 +3,9 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
|
3
3
|
import { space } from "../design-system/layout.js";
|
|
4
4
|
import { RadixPortalThemeProvider } from "../theme-provider.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 { styled } from "@linaria/react";
|
|
10
10
|
import { Wrap } from "@fibery/react/src/wrap";
|
|
11
11
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
@@ -4,8 +4,8 @@ import { IconButton } from "../../button/icon-button.js";
|
|
|
4
4
|
import Settings from "../../icons/react/settings.js";
|
|
5
5
|
import { useEmojiPickerCtx, useEmojiPickerI18N } from "./root.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
7
|
import { cx } from "@linaria/core";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region src/emoji-picker/primitives/category-label.tsx
|
|
10
10
|
var categoryLabelCss = "cj9j357-categoryLabel";
|
|
11
11
|
var EmojiPickerCategoryLabel = ({ category }) => {
|
|
@@ -2,10 +2,9 @@ import "./emoji.wyw-in-js.css";
|
|
|
2
2
|
import { useEmojiDataStoreSelector } from "../stores/emoji-data-store.js";
|
|
3
3
|
import { useEmojiRenderConfig } from "./render-config-provider.js";
|
|
4
4
|
/* empty css */
|
|
5
|
+
import { cx } from "@linaria/core";
|
|
5
6
|
import { Fragment, jsx } from "react/jsx-runtime";
|
|
6
7
|
import { forwardRef } from "react";
|
|
7
|
-
import { cx } from "@linaria/core";
|
|
8
|
-
import { traceError } from "@fibery/helpers/utils/trace";
|
|
9
8
|
//#region src/emoji-picker/primitives/emoji.tsx
|
|
10
9
|
var emojiWrapperCss = "e1tcs44j-emojiWrapper";
|
|
11
10
|
var emojiWrapperSizedCss = "e1tcpvam-emojiWrapperSized";
|
|
@@ -20,7 +19,6 @@ function getTitle(emoji) {
|
|
|
20
19
|
return `:${emoji.name}:`;
|
|
21
20
|
}
|
|
22
21
|
var Emoji = forwardRef(({ className, emoji: idOrColons, size, version = 14, fallback = "hidden", skin, native, showTitle = false, ...rest }, ref) => {
|
|
23
|
-
if (typeof idOrColons !== "string") traceError(/* @__PURE__ */ new Error(`Assign to misha-erm. Emoji key must be a string, received: ${typeof idOrColons}. Stringified: ${JSON.stringify(idOrColons)}`));
|
|
24
22
|
const emoji = useEmojiDataStoreSelector((store) => store.get(idOrColons, { skin }));
|
|
25
23
|
const config = useEmojiRenderConfig();
|
|
26
24
|
if (!emoji) return fallback === "shortcode" ? /* @__PURE__ */ jsx(Fragment, { children: idOrColons }) : null;
|
|
@@ -10,9 +10,9 @@ import { EmojiPickerCategoryLabel } from "./category-label.js";
|
|
|
10
10
|
import { useEmojiPickerContentSettings } from "./content.js";
|
|
11
11
|
import { EmojiPickerGridItem } from "./grid-item.js";
|
|
12
12
|
/* empty css */
|
|
13
|
+
import { cx } from "@linaria/core";
|
|
13
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
15
|
import { forwardRef, useImperativeHandle, useMemo, useRef } from "react";
|
|
15
|
-
import { cx } from "@linaria/core";
|
|
16
16
|
import { GroupedVirtuoso } from "react-virtuoso";
|
|
17
17
|
//#region src/emoji-picker/primitives/grid.tsx
|
|
18
18
|
var gridWrapperCss = "g1q68joq-gridWrapper";
|
|
@@ -9,9 +9,9 @@ import { useFoundEmojis, useSetFoundEmojis } from "./search-provider.js";
|
|
|
9
9
|
import { useEmojiSkin } from "./skin-provider.js";
|
|
10
10
|
import { useEmojiPickerCtx, useEmojiPickerI18N } from "./root.js";
|
|
11
11
|
/* empty css */
|
|
12
|
+
import { cx } from "@linaria/core";
|
|
12
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
14
|
import { startTransition, useId, useRef } from "react";
|
|
14
|
-
import { cx } from "@linaria/core";
|
|
15
15
|
import { useComposedRefs } from "@fibery/react/src/use-composed-refs";
|
|
16
16
|
//#region src/emoji-picker/primitives/search.tsx
|
|
17
17
|
var searchCss = "sypr4gw-search";
|
|
@@ -6,9 +6,9 @@ import { Emoji } from "./emoji.js";
|
|
|
6
6
|
import { useEmojiSkin, useSetEmojiSkin } from "./skin-provider.js";
|
|
7
7
|
import { useEmojiPickerCtx, useEmojiPickerI18N } from "./root.js";
|
|
8
8
|
/* empty css */
|
|
9
|
+
import { cx } from "@linaria/core";
|
|
9
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
11
|
import { useState } from "react";
|
|
11
|
-
import { cx } from "@linaria/core";
|
|
12
12
|
//#region src/emoji-picker/primitives/skin-tone.tsx
|
|
13
13
|
var skinToneWrapperCss = "s1tjd7cx-skinToneWrapper";
|
|
14
14
|
var skinToneSwatchCss = "szyvdx7-skinToneSwatch";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./empty-state.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/empty-state/empty-state.tsx
|
|
7
7
|
var emptyStateCss = "evd7pvk-emptyState";
|
|
8
8
|
var stretchCss = "s1a8t525-stretch";
|
package/lib/empty-value.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./empty-value.wyw-in-js.css";
|
|
2
2
|
import { ellipsis } from "./styles-utils.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/empty-value.tsx
|
|
7
7
|
var EmptyValue = ({ children }) => /* @__PURE__ */ jsx("span", {
|
|
8
8
|
className: cx("c467a14", ellipsis),
|
|
@@ -6,9 +6,9 @@ import { cyrb53, getAvatarColors, getAvatarNeutralColors } from "./avatar-colors
|
|
|
6
6
|
import LockFilled from "./icons/react/lock-filled.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
import { isFlagPresent } from "@fibery/helpers/src/flags";
|
|
9
|
+
import { cx } from "@linaria/core";
|
|
9
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
11
|
import { useEffect, useRef } from "react";
|
|
11
|
-
import { cx } from "@linaria/core";
|
|
12
12
|
//#region src/fibermoji-placeholder.tsx
|
|
13
13
|
var mouths = [
|
|
14
14
|
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 16" fill="none"><path d="M28.4821 4C30.78 4 32.7026 5.86498 31.7509 7.87572C30.9368 9.59547 29.584 11.1761 27.7682 12.4853C24.6471 14.7357 20.4139 16 16 16C11.5861 16 7.3529 14.7357 4.23177 12.4853C2.41601 11.1761 1.06315 9.59547 0.249133 7.87572C-0.702621 5.86498 1.22002 4 3.51791 4L28.4821 4Z" fill="currentColor"/></svg>`,
|
package/lib/field-container.js
CHANGED
|
@@ -6,9 +6,9 @@ import { CollapsibleSection } from "./collapsible-section.js";
|
|
|
6
6
|
import FocusModeOff from "./icons/react/focus-mode-off.js";
|
|
7
7
|
import FocusMode from "./icons/react/focus-mode.js";
|
|
8
8
|
/* empty css */
|
|
9
|
+
import { cx } from "@linaria/core";
|
|
9
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
11
|
import { useEffect, useRef, useState } from "react";
|
|
11
|
-
import { cx } from "@linaria/core";
|
|
12
12
|
import { styled } from "@linaria/react";
|
|
13
13
|
import screenfull from "screenfull";
|
|
14
14
|
//#region src/field-container.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./file-title.wyw-in-js.css";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
3
|
import { cx } from "@linaria/core";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/file-item/file-title.tsx
|
|
6
6
|
function FileTitle({ title, containerCss, maxWidth }) {
|
|
7
7
|
const parts = title.split(".");
|
package/lib/file-item.js
CHANGED
|
@@ -7,9 +7,9 @@ import { FileIcon } from "./file-item/file-icon.js";
|
|
|
7
7
|
import { FileMenuItems } from "./file-item/file-menu-items.js";
|
|
8
8
|
import { FileTitle as FileTitle$1 } from "./file-item/file-title.js";
|
|
9
9
|
/* empty css */
|
|
10
|
+
import { cx } from "@linaria/core";
|
|
10
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
12
|
import { useState } from "react";
|
|
12
|
-
import { cx } from "@linaria/core";
|
|
13
13
|
//#region src/file-item.tsx
|
|
14
14
|
var fileItemStyle = "f1cirwbp-fileItem";
|
|
15
15
|
var thumbnailStyle = "tn12ccx-thumbnail";
|