@fibery/ui-kit 9.2.1 → 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/antd/styles.wyw-in-js.css +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-filter.js +2 -2
- 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-js.d.ts +1 -1
- package/lib/design-system/colors.d.ts +2 -2
- package/lib/design-system/colors.js +2 -2
- package/lib/design-system/theme.d.ts +1 -1
- package/lib/dnd.js +1 -1
- package/lib/dot.js +1 -1
- package/lib/dropdown-menu/index.js +1 -1
- package/lib/embed.d.ts +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-icon.d.ts +3 -2
- package/lib/file-item/file-icon.js +2 -2
- 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 +4 -4
- package/lib/icons/ast/index.d.ts +3 -1
- package/lib/icons/ast/index.js +3 -1
- package/lib/icons/ast/suggestions-comments.d.ts +5 -0
- package/lib/icons/ast/suggestions-comments.js +39 -0
- package/lib/icons/ast/suggestions.d.ts +5 -0
- package/lib/icons/ast/suggestions.js +30 -0
- package/lib/icons/icon.js +1 -1
- package/lib/icons/react/index.d.ts +3 -1
- package/lib/icons/react/index.js +3 -1
- package/lib/icons/react/suggestions-comments.d.ts +15 -0
- package/lib/icons/react/suggestions-comments.js +21 -0
- package/lib/icons/react/suggestions.d.ts +15 -0
- package/lib/icons/react/suggestions.js +21 -0
- package/lib/images-gallery/images-gallery.d.ts +1 -1
- package/lib/images-gallery/slide-buttons.d.ts +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-drawer.js +31 -34
- 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/palettes/warm.js +14 -0
- package/lib/phone-media-query.d.ts +9 -0
- package/lib/phone-media-query.js +10 -0
- package/lib/phone.d.ts +3 -5
- package/lib/phone.js +5 -8
- 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.d.ts +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.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.d.ts +1 -0
- package/lib/sidebar/sidebar-handle.js +3 -3
- package/lib/sidebar/sidebar.js +1 -1
- 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/thematic-constants.d.ts +1 -1
- package/lib/thematic-state.d.ts +1 -1
- package/lib/thematic-state.js +2 -1
- package/lib/theme-bootstrap.d.ts +12 -0
- package/lib/theme-bootstrap.js +37 -0
- package/lib/theme-provider.d.ts +1 -1
- package/lib/theme-settings-core.d.ts +2 -5
- package/lib/theme-settings-core.js +3 -26
- package/lib/theme-settings.d.ts +3 -2
- package/lib/theme-settings.js +2 -1
- package/lib/theme-styles.d.ts +1 -1
- package/lib/theming.generated.d.ts +10 -10
- package/lib/theming.generated.js +10 -10
- package/lib/toast/primitives.js +1 -1
- package/lib/toast/toast.js +1 -1
- package/lib/toast/utils/toastify-item-name.d.ts +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 +8 -12
- package/lib/unit/unit-content.wyw-in-js.css +4 -5
- package/lib/use-is-phone.d.ts +2 -1
- package/lib/use-is-phone.js +2 -1
- package/lib/workflow-progress-icon.js +12 -20
- package/package.json +6 -9
- 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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.i1vqavg5-input{font-family:"Inter Variable","SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI Variable Display","Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;font-size:14px;line-height:1.5;font-weight:410;color:var(--textColor);text-transform:none;letter-spacing:normal;}.i1vqavg5-input .ant-input-prefix{margin-right:-24px;z-index:1;position:relative;}:where(.i1vqavg5-input) .ant-input,:where(.i1vqavg5-input) .ant-input-affix-wrapper,:where(.i1vqavg5-input) .ant-input-group-wrapper,:where(.i1vqavg5-input) .ant-input-wrapper{box-sizing:border-box;}:where(.i1vqavg5-input) .ant-input-affix-wrapper{box-sizing:border-box;display:inline-flex;align-items:center;width:100%;position:relative;font:inherit;padding:0;border:none;box-shadow:none;background-color:var(--transparent);}:where(.i1vqavg5-input) .ant-input-affix-wrapper>input.ant-input{min-width:0;flex:1;padding:0 12px;border:inherit;outline:inherit;}:where(.i1vqavg5-input) .ant-input-prefix,:where(.i1vqavg5-input) .ant-input-suffix{display:flex;flex:none;align-items:center;}:where(.i1vqavg5-input) .ant-input-prefix>*:not(:last-child),:where(.i1vqavg5-input) .ant-input-suffix>*:not(:last-child){margin-right:8px;}:where(.i1vqavg5-input) .ant-input-suffix{margin-left:6px;}:where(.i1vqavg5-input) .ant-input-clear-icon{display:inline-flex;align-items:center;color:var(--iconColor);cursor:pointer;line-height:1;}:where(.i1vqavg5-input) .ant-input-clear-icon-hidden{visibility:hidden;}:where(.i1vqavg5-input) .ant-input-group-wrapper{display:inline-block;width:100
|
|
1
|
+
.i1vqavg5-input{font-family:"Inter Variable","SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI Variable Display","Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;font-size:14px;line-height:1.5;font-weight:410;color:var(--textColor);text-transform:none;letter-spacing:normal;}.i1vqavg5-input .ant-input-prefix{margin-right:-24px;z-index:1;position:relative;}:where(.i1vqavg5-input) .ant-input,:where(.i1vqavg5-input) .ant-input-affix-wrapper,:where(.i1vqavg5-input) .ant-input-group-wrapper,:where(.i1vqavg5-input) .ant-input-wrapper{box-sizing:border-box;}:where(.i1vqavg5-input) .ant-input-affix-wrapper{box-sizing:border-box;display:inline-flex;align-items:center;width:100%;position:relative;font:inherit;padding:0;border:none;box-shadow:none;background-color:var(--transparent);}:where(.i1vqavg5-input) .ant-input-affix-wrapper>input.ant-input{min-width:0;flex:1;padding:0 12px;border:inherit;outline:inherit;}:where(.i1vqavg5-input) .ant-input-prefix,:where(.i1vqavg5-input) .ant-input-suffix{display:flex;flex:none;align-items:center;}:where(.i1vqavg5-input) .ant-input-prefix>*:not(:last-child),:where(.i1vqavg5-input) .ant-input-suffix>*:not(:last-child){margin-right:8px;}:where(.i1vqavg5-input) .ant-input-suffix{margin-left:6px;}:where(.i1vqavg5-input) .ant-input-clear-icon{display:inline-flex;align-items:center;color:var(--iconColor);cursor:pointer;line-height:1;}:where(.i1vqavg5-input) .ant-input-clear-icon-hidden{visibility:hidden;}:where(.i1vqavg5-input) .ant-input-group-wrapper{display:inline-block;width:100%;--input-border:var(--inputBorderColor) inset;--input-hover-border:var(--inputBorderHoverColor) inset;--input-focus-border:0 0 0 1px var(--colorAccentStrokeFocus) inset;--input-focus-shadow:0 0 0 2px var(--colorAccentStroke);}:where(.i1vqavg5-input) .ant-input-wrapper.ant-input-group{display:inline-flex;width:100%;align-items:stretch;border-radius:6px;background-color:var(--inputBgColor);box-shadow:var(--input-border);transition:box-shadow 120ms ease-in-out;}:where(.i1vqavg5-input) .ant-input-wrapper.ant-input-group:hover{box-shadow:var(--input-hover-border);}:where(.i1vqavg5-input) .ant-input-wrapper.ant-input-group:focus-within{box-shadow:var(--input-focus-border),var(--input-focus-shadow);}:where(.i1vqavg5-input) .ant-input-wrapper.ant-input-group:has(> .ant-input:disabled){background-color:var(--inputDisabledBgColor);box-shadow:var(--inputDisabledBorderColor);}.i1vqavg5-input .ant-input-group>.ant-input:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0;}.i1vqavg5-input .ant-input-group>.ant-input:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;}.i1vqavg5-input .ant-input-group-addon{display:flex;flex:none;align-items:center;padding:0 12px;background-color:var(--inputDisabledBgColor);color:var(--colorTextSecondary);white-space:nowrap;}.i1vqavg5-input .ant-input-group-addon:first-child{border-right:1px solid var(--separatorColor);border-radius:6px 0 0 6px;}.i1vqavg5-input .ant-input-group-addon:last-child{border-left:1px solid var(--separatorColor);border-radius:0 6px 6px 0;}:where(.i1vqavg5-input) .ant-input-group{border-spacing:1px;font-family:"Inter Variable","SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI Variable Display","Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;font-size:14px;line-height:1.5;font-weight:410;color:var(--textColor);text-transform:none;letter-spacing:normal;}:where(.i1vqavg5-input) .ant-input{width:100%;min-width:0;}.i1vqavg5-input .ant-input{--input-border:var(--inputBorderColor) inset;--input-hover-border:var(--inputBorderHoverColor) inset;--input-focus-border:0 0 0 1px var(--colorAccentStrokeFocus) inset;--input-focus-shadow:0 0 0 2px var(--colorAccentStroke);font:inherit;color:var(--textColor);outline:none;background-color:var(--inputBgColor)!important;border-radius:6px;min-height:36px;padding-top:0;padding-bottom:0;padding-left:12px;padding-right:12px;border:0;border-color:var(--transparent);transition:box-shadow 120ms ease-in-out;box-shadow:var(--input-border, var(--inputBorderColor));letter-spacing:0;}.i1vqavg5-input .ant-input::placeholder{color:var(--inputPlaceholderTextColor);}:where(.i1vqavg5-input) .ant-input:placeholder-shown{text-overflow:ellipsis;}.i1vqavg5-input .ant-input.ant-input-borderless,.i1vqavg5-input .ant-input.ant-input-borderless:hover,.i1vqavg5-input .ant-input.ant-input-borderless:focus,.i1vqavg5-input .ant-input.ant-input-borderless:disabled,.i1vqavg5-input .ant-input.ant-input-borderless[disabled]{box-shadow:none!important;background-color:var(--transparent)!important;}:where(.i1vqavg5-input) .ant-input-affix-wrapper>.ant-input:focus{box-shadow:none!important;}.i1vqavg5-input .ant-input-status-error{--input-border:var(--inputBorderWarningColor) inset;--input-hover-border:var(--inputBorderWarningColor) inset;--input-focus-border:var(--inputBorderWarningColor) inset;--input-focus-shadow:0 0 0 2px var(--warning);}.i1vqavg5-input .ant-input[readonly].ant-input[readonly]{color:var(--textColor);background-color:var(--inputDisabledBgColor)!important;border-color:var(--transparent);box-shadow:var(--inputDisabledBorderColor)!important;transition:box-shadow 120ms ease-in-out;-webkit-text-fill-color:currentColor;cursor:inherit;}.i1vqavg5-input .ant-input[readonly].ant-input[readonly]:hover{box-shadow:var(--inputDisabledBorderColor);}.i1vqavg5-input .ant-input:hover[readonly].ant-input:hover[readonly]{color:var(--textColor);background-color:var(--inputDisabledBgColor)!important;border-color:var(--transparent);box-shadow:var(--inputDisabledBorderColor)!important;transition:box-shadow 120ms ease-in-out;-webkit-text-fill-color:currentColor;cursor:inherit;}.i1vqavg5-input .ant-input:hover[readonly].ant-input:hover[readonly]:hover{box-shadow:var(--inputDisabledBorderColor);}.i1vqavg5-input .ant-input-affix-wrapper:hover .ant-input[readonly]{color:var(--textColor);background-color:var(--inputDisabledBgColor)!important;border-color:var(--transparent);box-shadow:var(--inputDisabledBorderColor)!important;transition:box-shadow 120ms ease-in-out;-webkit-text-fill-color:currentColor;cursor:inherit;}.i1vqavg5-input .ant-input-affix-wrapper:hover .ant-input[readonly]:hover{box-shadow:var(--inputDisabledBorderColor);}.i1vqavg5-input .ant-input-affix-wrapper.ant-input-affix-wrapper-readonly{border:none!important;outline:none!important;box-shadow:none!important;}.i1vqavg5-input .ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled){border-color:transparent;}.i1vqavg5-input textarea.ant-input{padding-top:8px;padding-bottom:8px;}:where(.i1vqavg5-input) textarea.ant-input{max-width:100%;vertical-align:bottom;}.i1vqavg5-input.i1vqavg5-input input:hover:not(:focus):not(:disabled),.i1vqavg5-input.i1vqavg5-input textarea:hover:not(:focus):not(:disabled),.i1vqavg5-input.i1vqavg5-input .ant-input:hover:not(:focus):not(:disabled){box-shadow:var(--input-hover-border, var(--inputBorderHoverColor))!important;transition:box-shadow 120ms ease-in-out;}.i1vqavg5-input.i1vqavg5-input .ant-input-affix-wrapper>input.ant-input:focus,.i1vqavg5-input.i1vqavg5-input .ant-input-affix-wrapper>input.ant-input:active{box-shadow:var(--input-focus-border, 0 0 0 1px var(--colorAccentStroke)),var(--input-focus-shadow)!important;transition:box-shadow 120ms ease-in-out;}.i1vqavg5-input.i1vqavg5-input input:focus,.i1vqavg5-input.i1vqavg5-input textarea:focus,.i1vqavg5-input.i1vqavg5-input input:active,.i1vqavg5-input.i1vqavg5-input textarea:active{box-shadow:var(--input-focus-border, 0 0 0 1px var(--colorAccentStroke)),var(--input-focus-shadow)!important;transition:box-shadow 120ms ease-in-out;}.i1vqavg5-input.i1vqavg5-input .ant-input-disabled,.i1vqavg5-input.i1vqavg5-input .ant-input-disabled:hover,.i1vqavg5-input.i1vqavg5-input .ant-input-disabled:focus,.i1vqavg5-input.i1vqavg5-input .ant-input-disabled:active{color:var(--textColor);background-color:var(--inputDisabledBgColor)!important;border-color:var(--transparent);box-shadow:var(--inputDisabledBorderColor)!important;transition:box-shadow 120ms ease-in-out;-webkit-text-fill-color:currentColor;cursor:default;}.i1vqavg5-input.i1vqavg5-input .ant-input-disabled:hover,.i1vqavg5-input.i1vqavg5-input .ant-input-disabled:hover:hover,.i1vqavg5-input.i1vqavg5-input .ant-input-disabled:focus:hover,.i1vqavg5-input.i1vqavg5-input .ant-input-disabled:active:hover{box-shadow:var(--inputDisabledBorderColor);}.i1vqavg5-input.i1vqavg5-input input::placeholder,.i1vqavg5-input.i1vqavg5-input textarea::placeholder{color:var(--inputPlaceholderTextColor);}.i1vqavg5-input .ant-input-affix-wrapper .ant-input:not(:first-child){padding-left:38px;}.i1vqavg5-input.i1vqavg5-input.i1vqavg5-input.i1vqavg5-input .ant-input-group>.ant-input,.i1vqavg5-input.i1vqavg5-input.i1vqavg5-input.i1vqavg5-input .ant-input-group>.ant-input:is(:hover, :focus, :active, :disabled){box-shadow:none!important;background-color:var(--transparent)!important;}
|
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";
|
package/lib/color-filter.js
CHANGED
|
@@ -38,6 +38,7 @@ function makeColorFilter(spec) {
|
|
|
38
38
|
color = spec.swatches?.[color.toUpperCase()] ?? color;
|
|
39
39
|
const parsed = oklchFrom(color);
|
|
40
40
|
if (!parsed) return color;
|
|
41
|
+
const normalizedInput = cssFromColor(parsed);
|
|
41
42
|
let t = adjust ? adjust(parsed) : parsed;
|
|
42
43
|
for (const { key, filter } of cvdChannels) {
|
|
43
44
|
const severity = spec[key];
|
|
@@ -51,8 +52,7 @@ function makeColorFilter(spec) {
|
|
|
51
52
|
t = oklchFrom(oklch);
|
|
52
53
|
}
|
|
53
54
|
const result = cssFromColor(t);
|
|
54
|
-
|
|
55
|
-
detect(color, result, normalizedInput !== result || !(result === "rgb(0, 0, 0)" || result === "rgb(255, 255, 255)"));
|
|
55
|
+
detect(color, result, normalizedInput !== result);
|
|
56
56
|
return result;
|
|
57
57
|
});
|
|
58
58
|
}
|
|
@@ -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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThemeMode } from "../theme-
|
|
1
|
+
import { ThemeMode } from "../theme-bootstrap.js";
|
|
2
2
|
//#region src/design-system/colors-js.d.ts
|
|
3
3
|
declare const getDarkenColor: ((arg: string) => string) & import("@fibery/helpers/src/_").MemoizedFunction<string, string>;
|
|
4
4
|
declare function getObjectColor(name: string | null | undefined): string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Def, ModeDef, ThemePalette } from "./types.js";
|
|
2
|
-
import { ThemeMode } from "../theme-
|
|
2
|
+
import { ThemeMode } from "../theme-bootstrap.js";
|
|
3
3
|
//#region src/design-system/colors.d.ts
|
|
4
4
|
/** @deprecated use swatches */
|
|
5
5
|
declare const cardTypeColors: ("#159789" | "#199EE3" | "#1FBED3" | "#2978FB" | "#3E53B4" | "#4A4A4A" | "#4FAF54" | "#673DB6" | "#6A849B" | "#8EC351" | "#99A2AB" | "#9C2BAF" | "#B04E31" | "#D40915" | "#E72065" | "#FBA32F" | "#FC551F")[];
|
|
@@ -38,7 +38,7 @@ declare function defsFromPalette({ key, whiteA, white, blackA, blackish, black,
|
|
|
38
38
|
readonly panelBg: [string, string];
|
|
39
39
|
readonly panelBorder: Def;
|
|
40
40
|
readonly panelShadowFocused: readonly [string, string];
|
|
41
|
-
readonly panelShadowUnfocused:
|
|
41
|
+
readonly panelShadowUnfocused: Def;
|
|
42
42
|
readonly panelContentBg: [string, string];
|
|
43
43
|
readonly dbSettingsSidebarBg: [string, string];
|
|
44
44
|
readonly dbSettingsSidebarItemHover: [string, string];
|
|
@@ -298,8 +298,8 @@ function defsFromPalette({ key, whiteA, white, blackA, blackish, black, base, ba
|
|
|
298
298
|
mainBg: surface.level3,
|
|
299
299
|
panelBg: surface.level0,
|
|
300
300
|
panelBorder: both(stroke1)(alphaPair(base[8], baseDark[8], alphaCoefficients.border.panel)),
|
|
301
|
-
panelShadowFocused: [steps([stroke1(alpha(base[8], alphaCoefficients.border.panelFocused[0])),
|
|
302
|
-
panelShadowUnfocused:
|
|
301
|
+
panelShadowFocused: [steps([stroke1(alpha(base[8], alphaCoefficients.border.panelFocused[0])), elevationM(blackA[5])]), stroke1(alpha(baseDark[8], alphaCoefficients.border.panelFocused[1]))],
|
|
302
|
+
panelShadowUnfocused: both(stroke1)(alphaPair(base[8], baseDark[8], alphaCoefficients.border.panelUnfocused)),
|
|
303
303
|
panelContentBg: surface.level2_1,
|
|
304
304
|
dbSettingsSidebarBg: surface.level2,
|
|
305
305
|
dbSettingsSidebarItemHover: surface.level4,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThemePalette } from "./types.js";
|
|
2
|
-
import { ThemeMode } from "../theme-
|
|
2
|
+
import { ThemeMode } from "../theme-bootstrap.js";
|
|
3
3
|
import { ThemeDefs } from "./colors.js";
|
|
4
4
|
//#region src/design-system/theme.d.ts
|
|
5
5
|
declare function themeFromDefs(defs: ThemeDefs, mode: ThemeMode): {
|
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";
|
package/lib/embed.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThemePalette } from "./design-system/types.js";
|
|
2
|
-
import { ThemeMode } from "./theme-
|
|
2
|
+
import { ThemeMode } from "./theme-bootstrap.js";
|
|
3
3
|
import { PropsWithChildren } from "react";
|
|
4
4
|
//#region src/embed.d.ts
|
|
5
5
|
type RootProps = PropsWithChildren<{
|
|
@@ -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 }) => {
|