@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
package/lib/sidebar/sidebar.js
CHANGED
|
@@ -2,9 +2,9 @@ import "./sidebar.wyw-in-js.css";
|
|
|
2
2
|
import { useResizeDrag } from "./use-resize-drag.js";
|
|
3
3
|
import { SidebarHandle } from "./sidebar-handle.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 } from "react";
|
|
7
|
-
import { cx } from "@linaria/core";
|
|
8
8
|
import { useComposedRefs } from "@fibery/react/src/use-composed-refs";
|
|
9
9
|
//#region src/sidebar/sidebar.tsx
|
|
10
10
|
var sidebarWidthVar = "--sidebar-width";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
.rotdw5d-root{position:relative;flex:none;height:100%;}
|
|
2
2
|
.g15gx138-gap{width:var(--sidebar-width);height:100%;transition:width 300ms cubic-bezier(0.16, 0.84, 0.44, 1);}:where([data-state="collapsed"])>.g15gx138-gap{width:0;}:where([data-resizing="true"])>.g15gx138-gap{transition:none;}
|
|
3
|
-
.p1yy31y7-panel{position:absolute;top:0;bottom:0;display:flex;width:var(--sidebar-width);transition:left 300ms cubic-bezier(0.16, 0.84, 0.44, 1),right 300ms cubic-bezier(0.16, 0.84, 0.44, 1),width 300ms cubic-bezier(0.16, 0.84, 0.44, 1);}:where([data-side="left"])>.p1yy31y7-panel{left:0;}:where([data-side="right"])>.p1yy31y7-panel{right:0;}:where([data-side="left"][data-state="collapsed"])>.p1yy31y7-panel{left:calc(-1 * var(--sidebar-width));}:where([data-side="right"][data-state="collapsed"])>.p1yy31y7-panel{right:calc(-1 * var(--sidebar-width));}:where([data-resizing="true"])>.p1yy31y7-panel{transition:none;}
|
|
3
|
+
.p1yy31y7-panel{position:absolute;top:0;bottom:0;display:flex;width:var(--sidebar-width);transition:left 300ms cubic-bezier(0.16, 0.84, 0.44, 1),right 300ms cubic-bezier(0.16, 0.84, 0.44, 1),width 300ms cubic-bezier(0.16, 0.84, 0.44, 1),transform 300ms cubic-bezier(0.16, 0.84, 0.44, 1);}:where([data-side="left"])>.p1yy31y7-panel{left:0;}:where([data-side="right"])>.p1yy31y7-panel{right:0;}:where([data-side="left"][data-state="collapsed"])>.p1yy31y7-panel{left:calc(-1 * var(--sidebar-width));}:where([data-side="right"][data-state="collapsed"])>.p1yy31y7-panel{right:calc(-1 * var(--sidebar-width));}:where([data-resizing="true"])>.p1yy31y7-panel{transition:none;}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
.slo3ayz-skeleton{vertical-align:middle;position:relative;background:none;}.slo3ayz-skeleton::before,.slo3ayz-skeleton::after{content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0;}@keyframes OpacityAnim-slo3ayz-skeleton{0%{opacity:1;}100%{opacity:0;}}.slo3ayz-skeleton::before{background-image:linear-gradient(90deg, transparent 0%, var(--colorBgSkeleton) 100%);
|
|
1
|
+
.slo3ayz-skeleton{vertical-align:middle;position:relative;background:none;}.slo3ayz-skeleton::before,.slo3ayz-skeleton::after{content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0;}@keyframes OpacityAnim-slo3ayz-skeleton{0%{opacity:1;}100%{opacity:0;}}.slo3ayz-skeleton::before{background-image:linear-gradient(90deg, transparent 0%, var(--colorBgSkeleton) 100%);}.slo3ayz-skeleton::after{background-image:linear-gradient(90deg, var(--colorBgSkeleton) 0%, transparent 100%);}@media (prefers-reduced-motion: no-preference){.slo3ayz-skeleton::before{animation:OpacityAnim-slo3ayz-skeleton 2s ease-in-out 0s infinite alternate;}.slo3ayz-skeleton::after{animation:OpacityAnim-slo3ayz-skeleton 2s ease-in-out -2s infinite alternate;}}
|
|
2
2
|
.mzl91bk-margin{margin-top:4px;margin-bottom:4px;}
|
|
3
|
-
.siugmrr-skeletonAppearance{animation:OpacityAnim-siugmrr-skeletonAppearance 1s cubic-bezier(0.95, 0.05, 0.795, 0.035) 1;}
|
|
3
|
+
@keyframes OpacityAnim-siugmrr-skeletonAppearance{0%{opacity:0;}100%{opacity:1;}}@media (prefers-reduced-motion: no-preference){.siugmrr-skeletonAppearance{animation:OpacityAnim-siugmrr-skeletonAppearance 1s cubic-bezier(0.95, 0.05, 0.795, 0.035) 1;}}
|
|
4
4
|
.cjtjcsl-Container::before,.cjtjcsl-Container::after{border-radius:var(--cjtjcsl-0);}
|
|
5
5
|
.s1uzetk8-SkeletonTextLine{padding-top:1px;}
|
|
6
6
|
.p13qksqz-pageContent{padding:12px;}
|
package/lib/spinner-box.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./spinner-box.wyw-in-js.css";
|
|
2
2
|
import { Spinner } from "./spinner.js";
|
|
3
3
|
/* empty css */
|
|
4
|
+
import { cx } from "@linaria/core";
|
|
4
5
|
import { jsx } from "react/jsx-runtime";
|
|
5
6
|
import { memo } from "react";
|
|
6
|
-
import { cx } from "@linaria/core";
|
|
7
7
|
//#region src/spinner-box.tsx
|
|
8
8
|
var boxStyle = "ban45ip-box";
|
|
9
9
|
var overlayStyle = "om0do2z-overlay";
|
package/lib/spinner.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./spinner.wyw-in-js.css";
|
|
2
2
|
import Spinner$1 from "./icons/react/spinner.js";
|
|
3
3
|
/* empty css */
|
|
4
|
+
import { cx } from "@linaria/core";
|
|
4
5
|
import { jsx } from "react/jsx-runtime";
|
|
5
6
|
import { memo } from "react";
|
|
6
|
-
import { cx } from "@linaria/core";
|
|
7
7
|
//#region src/spinner.tsx
|
|
8
8
|
var spinningCss = "s1puy9zd-spinning";
|
|
9
9
|
var Spinner = memo(function Spinner({ className, ...props }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.s1puy9zd-spinning{
|
|
1
|
+
.s1puy9zd-spinning{transform-origin:50% 50%;}@keyframes spinner-rotate-s1puy9zd-spinning{to{transform:rotate(360deg);}}@media (prefers-reduced-motion: no-preference){.s1puy9zd-spinning{animation:spinner-rotate-s1puy9zd-spinning 0.5s linear infinite;}}
|
package/lib/tab-nav/tab-nav.js
CHANGED
|
@@ -2,10 +2,10 @@ import "./tab-nav.wyw-in-js.css";
|
|
|
2
2
|
import { TooltipIfOverflown } from "../tooltip-if-overflown.js";
|
|
3
3
|
import { ellipsis } from "../styles-utils.js";
|
|
4
4
|
/* empty css */
|
|
5
|
+
import { cx } from "@linaria/core";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
7
|
import { createContext } from "@fibery/react/src/create-context";
|
|
7
8
|
import { forwardRef, useEffect, useLayoutEffect, useRef, useState } from "react";
|
|
8
|
-
import { cx } from "@linaria/core";
|
|
9
9
|
import { useResizeObserver } from "@fibery/react/src/use-resize-observer";
|
|
10
10
|
import { useCallbackRef } from "@fibery/react/src/use-callback-ref";
|
|
11
11
|
import { useComposedRefs } from "@fibery/react/src/use-composed-refs";
|
package/lib/table.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./table.wyw-in-js.css";
|
|
2
2
|
/* empty css */
|
|
3
|
+
import { cx } from "@linaria/core";
|
|
3
4
|
import { jsx } from "react/jsx-runtime";
|
|
4
5
|
import { PureComponent } from "react";
|
|
5
|
-
import { cx } from "@linaria/core";
|
|
6
6
|
//#region src/table.tsx
|
|
7
7
|
var tableStyle = "t1sunmzy-table";
|
|
8
8
|
var Table = class extends PureComponent {
|
package/lib/theme-provider.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ declare const ThemeContext: import("react").Context<{
|
|
|
14
14
|
}) => T;
|
|
15
15
|
colors: {
|
|
16
16
|
readonly surfaceElevationS: string;
|
|
17
|
-
readonly surfaceElevationM: string;
|
|
18
17
|
readonly surfaceElevationL: string;
|
|
19
18
|
readonly shadow50: string;
|
|
20
19
|
readonly shadow100: string;
|
|
@@ -66,6 +65,7 @@ declare const ThemeContext: import("react").Context<{
|
|
|
66
65
|
readonly shadowFloatingPanel: string;
|
|
67
66
|
readonly pageContentBg: string;
|
|
68
67
|
readonly colorBgPopup: string;
|
|
68
|
+
readonly colorBorderPopup: string;
|
|
69
69
|
readonly menuBg: string;
|
|
70
70
|
readonly menuTextColor: string;
|
|
71
71
|
readonly menuItemHoverColor: string;
|
|
@@ -259,6 +259,7 @@ declare const ThemeContext: import("react").Context<{
|
|
|
259
259
|
readonly appCardHoverColor: string;
|
|
260
260
|
readonly modalBg: string;
|
|
261
261
|
readonly modalContentBg: string;
|
|
262
|
+
readonly colorBorderModal: string;
|
|
262
263
|
readonly progressIconBg: string;
|
|
263
264
|
readonly progressIconFill: string;
|
|
264
265
|
readonly formBg: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
//#region src/theming.generated.d.ts
|
|
2
2
|
declare const themeVars: {
|
|
3
3
|
readonly surfaceElevationS: "var(--surfaceElevationS)";
|
|
4
|
-
readonly surfaceElevationM: "var(--surfaceElevationM)";
|
|
5
4
|
readonly surfaceElevationL: "var(--surfaceElevationL)";
|
|
6
5
|
readonly shadow50: "var(--shadow50)";
|
|
7
6
|
readonly shadow100: "var(--shadow100)";
|
|
@@ -80,6 +79,7 @@ declare const themeVars: {
|
|
|
80
79
|
readonly shadowFloatingPanel: "var(--shadowFloatingPanel)";
|
|
81
80
|
readonly pageContentBg: "var(--pageContentBg)";
|
|
82
81
|
readonly colorBgPopup: "var(--colorBgPopup)";
|
|
82
|
+
readonly colorBorderPopup: "var(--colorBorderPopup)";
|
|
83
83
|
readonly menuBg: "var(--menuBg)";
|
|
84
84
|
readonly menuTextColor: "var(--menuTextColor)";
|
|
85
85
|
readonly menuItemHoverColor: "var(--menuItemHoverColor)";
|
|
@@ -273,6 +273,7 @@ declare const themeVars: {
|
|
|
273
273
|
readonly appCardHoverColor: "var(--appCardHoverColor)";
|
|
274
274
|
readonly modalBg: "var(--modalBg)";
|
|
275
275
|
readonly modalContentBg: "var(--modalContentBg)";
|
|
276
|
+
readonly colorBorderModal: "var(--colorBorderModal)";
|
|
276
277
|
readonly progressIconBg: "var(--progressIconBg)";
|
|
277
278
|
readonly progressIconFill: "var(--progressIconFill)";
|
|
278
279
|
readonly formBg: "var(--formBg)";
|
|
@@ -563,8 +564,7 @@ declare const layoutVars: {
|
|
|
563
564
|
declare const neutralStyles: {
|
|
564
565
|
readonly light: {
|
|
565
566
|
readonly "--surfaceElevationS": "0 2px 4px 0 rgba(0,0,0,0.05)";
|
|
566
|
-
readonly "--
|
|
567
|
-
readonly "--surfaceElevationL": "0 8px 12px 0 rgba(0,0,0,0.09)";
|
|
567
|
+
readonly "--surfaceElevationL": "0 8px 12px 0 rgba(0,0,0,0.05)";
|
|
568
568
|
readonly "--shadow50": "0 0 0 1px rgba(23, 23, 23, 0.05)";
|
|
569
569
|
readonly "--shadow100": "0 1px 4px 0 rgba(23, 23, 23, 0.05)";
|
|
570
570
|
readonly "--shadow200": "0 2px 6px 0 rgba(23, 23, 23, 0.05)";
|
|
@@ -642,6 +642,7 @@ declare const neutralStyles: {
|
|
|
642
642
|
readonly "--shadowFloatingPanel": "0 0 0 1px rgba(120, 120, 120, 0.15), 0 3px 12px 0 rgba(94, 94, 94, 0.15)";
|
|
643
643
|
readonly "--pageContentBg": "rgb(255,255,255)";
|
|
644
644
|
readonly "--colorBgPopup": "rgb(255,255,255)";
|
|
645
|
+
readonly "--colorBorderPopup": "rgba(199, 199, 199, 0.45)";
|
|
645
646
|
readonly "--menuBg": "rgb(245,245,245)";
|
|
646
647
|
readonly "--menuTextColor": "rgb(23,23,23)";
|
|
647
648
|
readonly "--menuItemHoverColor": "rgb(232,232,232)";
|
|
@@ -835,6 +836,7 @@ declare const neutralStyles: {
|
|
|
835
836
|
readonly "--appCardHoverColor": "rgba(252, 252, 252, 0.95)";
|
|
836
837
|
readonly "--modalBg": "rgba(94, 94, 94, 0.2)";
|
|
837
838
|
readonly "--modalContentBg": "rgb(255,255,255)";
|
|
839
|
+
readonly "--colorBorderModal": "rgba(199, 199, 199, 0.2)";
|
|
838
840
|
readonly "--progressIconBg": "rgba(0,0,0,0.14)";
|
|
839
841
|
readonly "--progressIconFill": "rgba(0,0,0,0.57)";
|
|
840
842
|
readonly "--formBg": "rgb(247,247,247)";
|
|
@@ -1114,8 +1116,7 @@ declare const neutralStyles: {
|
|
|
1114
1116
|
};
|
|
1115
1117
|
readonly dark: {
|
|
1116
1118
|
readonly "--surfaceElevationS": "0 2px 4px 0 rgba(23, 23, 23, 0.05)";
|
|
1117
|
-
readonly "--
|
|
1118
|
-
readonly "--surfaceElevationL": "0 8px 12px 0 rgba(255,255,255,0.09)";
|
|
1119
|
+
readonly "--surfaceElevationL": "0 8px 12px 0 rgba(0,0,0,0.09)";
|
|
1119
1120
|
readonly "--shadow50": "0 0 0 1px rgba(237, 237, 237, 0.1)";
|
|
1120
1121
|
readonly "--shadow100": "0 1px 4px 0 rgba(23, 23, 23, 0.1)";
|
|
1121
1122
|
readonly "--shadow200": "0 2px 6px 0 rgba(23, 23, 23, 0.1)";
|
|
@@ -1171,7 +1172,7 @@ declare const neutralStyles: {
|
|
|
1171
1172
|
readonly "--mainBg": "rgb(36,36,36)";
|
|
1172
1173
|
readonly "--panelBg": "rgb(23,23,23)";
|
|
1173
1174
|
readonly "--panelBorder": "0 0 0 1px rgba(82, 82, 82, 0.2)";
|
|
1174
|
-
readonly "--panelShadowFocused": "0 0 0 1px rgba(82, 82, 82, 0.5)";
|
|
1175
|
+
readonly "--panelShadowFocused": "0 0 0 1px rgba(82, 82, 82, 0.5), 0 4px 8px 0 rgba(0,0,0,0.14)";
|
|
1175
1176
|
readonly "--panelShadowUnfocused": "0 0 0 1px rgba(82, 82, 82, 0.1)";
|
|
1176
1177
|
readonly "--panelContentBg": "rgb(23,23,23)";
|
|
1177
1178
|
readonly "--dbSettingsSidebarBg": "rgb(28,28,28)";
|
|
@@ -1193,6 +1194,7 @@ declare const neutralStyles: {
|
|
|
1193
1194
|
readonly "--shadowFloatingPanel": "0 0 0 1px rgb(51,51,51), 0 3px 12px 0 rgba(23, 23, 23, 0.5)";
|
|
1194
1195
|
readonly "--pageContentBg": "rgb(28,28,28)";
|
|
1195
1196
|
readonly "--colorBgPopup": "rgb(36,36,36)";
|
|
1197
|
+
readonly "--colorBorderPopup": "rgba(255, 255, 255, 0.1)";
|
|
1196
1198
|
readonly "--menuBg": "rgb(36,36,36)";
|
|
1197
1199
|
readonly "--menuTextColor": "rgb(237,237,237)";
|
|
1198
1200
|
readonly "--menuItemHoverColor": "rgb(51,51,51)";
|
|
@@ -1386,6 +1388,7 @@ declare const neutralStyles: {
|
|
|
1386
1388
|
readonly "--appCardHoverColor": "rgb(28,28,28)";
|
|
1387
1389
|
readonly "--modalBg": "rgba(28, 28, 28, 0.5)";
|
|
1388
1390
|
readonly "--modalContentBg": "rgb(36,36,36)";
|
|
1391
|
+
readonly "--colorBorderModal": "rgba(255, 255, 255, 0.1)";
|
|
1389
1392
|
readonly "--progressIconBg": "rgba(255,255,255,0.18)";
|
|
1390
1393
|
readonly "--progressIconFill": "rgba(255,255,255,0.59)";
|
|
1391
1394
|
readonly "--formBg": "rgb(28,28,28)";
|
|
@@ -1667,8 +1670,7 @@ declare const neutralStyles: {
|
|
|
1667
1670
|
declare const warmStyles: {
|
|
1668
1671
|
readonly light: {
|
|
1669
1672
|
readonly "--surfaceElevationS": "0 2px 4px 0 rgba(0,0,0,0.05)";
|
|
1670
|
-
readonly "--
|
|
1671
|
-
readonly "--surfaceElevationL": "0 8px 12px 0 rgba(0,0,0,0.09)";
|
|
1673
|
+
readonly "--surfaceElevationL": "0 8px 12px 0 rgba(0,0,0,0.05)";
|
|
1672
1674
|
readonly "--shadow50": "0 0 0 1px rgba(27, 22, 17, 0.05)";
|
|
1673
1675
|
readonly "--shadow100": "0 1px 4px 0 rgba(27, 22, 17, 0.05)";
|
|
1674
1676
|
readonly "--shadow200": "0 2px 6px 0 rgba(27, 22, 17, 0.05)";
|
|
@@ -1746,6 +1748,7 @@ declare const warmStyles: {
|
|
|
1746
1748
|
readonly "--shadowFloatingPanel": "0 0 0 1px rgba(125, 119, 112, 0.15), 0 3px 12px 0 rgba(99, 94, 87, 0.15)";
|
|
1747
1749
|
readonly "--pageContentBg": "rgb(255,253,250)";
|
|
1748
1750
|
readonly "--colorBgPopup": "rgb(255,253,250)";
|
|
1751
|
+
readonly "--colorBorderPopup": "rgba(204, 198, 191, 0.45)";
|
|
1749
1752
|
readonly "--menuBg": "rgb(250,244,236)";
|
|
1750
1753
|
readonly "--menuTextColor": "rgb(27,22,17)";
|
|
1751
1754
|
readonly "--menuItemHoverColor": "rgb(237,231,224)";
|
|
@@ -1939,6 +1942,7 @@ declare const warmStyles: {
|
|
|
1939
1942
|
readonly "--appCardHoverColor": "rgba(255, 251, 244, 0.95)";
|
|
1940
1943
|
readonly "--modalBg": "rgba(99, 94, 87, 0.2)";
|
|
1941
1944
|
readonly "--modalContentBg": "rgb(255,253,250)";
|
|
1945
|
+
readonly "--colorBorderModal": "rgba(204, 198, 191, 0.2)";
|
|
1942
1946
|
readonly "--progressIconBg": "rgba(0,0,0,0.14)";
|
|
1943
1947
|
readonly "--progressIconFill": "rgba(0,0,0,0.57)";
|
|
1944
1948
|
readonly "--formBg": "rgb(253,246,239)";
|
|
@@ -2218,8 +2222,7 @@ declare const warmStyles: {
|
|
|
2218
2222
|
};
|
|
2219
2223
|
readonly dark: {
|
|
2220
2224
|
readonly "--surfaceElevationS": "0 2px 4px 0 rgba(26, 22, 20, 0.05)";
|
|
2221
|
-
readonly "--
|
|
2222
|
-
readonly "--surfaceElevationL": "0 8px 12px 0 rgba(255,255,254,0.09)";
|
|
2225
|
+
readonly "--surfaceElevationL": "0 8px 12px 0 rgba(0,0,0,0.09)";
|
|
2223
2226
|
readonly "--shadow50": "0 0 0 1px rgba(224, 212, 206, 0.1)";
|
|
2224
2227
|
readonly "--shadow100": "0 1px 4px 0 rgba(27, 22, 17, 0.1)";
|
|
2225
2228
|
readonly "--shadow200": "0 2px 6px 0 rgba(27, 22, 17, 0.1)";
|
|
@@ -2275,7 +2278,7 @@ declare const warmStyles: {
|
|
|
2275
2278
|
readonly "--mainBg": "rgb(39,35,33)";
|
|
2276
2279
|
readonly "--panelBg": "rgb(26,22,20)";
|
|
2277
2280
|
readonly "--panelBorder": "0 0 0 1px rgba(86, 80, 78, 0.2)";
|
|
2278
|
-
readonly "--panelShadowFocused": "0 0 0 1px rgba(86, 80, 78, 0.5)";
|
|
2281
|
+
readonly "--panelShadowFocused": "0 0 0 1px rgba(86, 80, 78, 0.5), 0 4px 8px 0 rgba(0,0,0,0.14)";
|
|
2279
2282
|
readonly "--panelShadowUnfocused": "0 0 0 1px rgba(86, 80, 78, 0.1)";
|
|
2280
2283
|
readonly "--panelContentBg": "rgb(26,22,20)";
|
|
2281
2284
|
readonly "--dbSettingsSidebarBg": "rgb(32,27,25)";
|
|
@@ -2297,6 +2300,7 @@ declare const warmStyles: {
|
|
|
2297
2300
|
readonly "--shadowFloatingPanel": "0 0 0 1px rgb(55,50,48), 0 3px 12px 0 rgba(26, 22, 20, 0.5)";
|
|
2298
2301
|
readonly "--pageContentBg": "rgb(32,27,25)";
|
|
2299
2302
|
readonly "--colorBgPopup": "rgb(39,35,33)";
|
|
2303
|
+
readonly "--colorBorderPopup": "rgba(255, 253, 250, 0.1)";
|
|
2300
2304
|
readonly "--menuBg": "rgb(39,35,33)";
|
|
2301
2305
|
readonly "--menuTextColor": "rgb(224,212,206)";
|
|
2302
2306
|
readonly "--menuItemHoverColor": "rgb(55,50,48)";
|
|
@@ -2490,6 +2494,7 @@ declare const warmStyles: {
|
|
|
2490
2494
|
readonly "--appCardHoverColor": "rgb(32,27,25)";
|
|
2491
2495
|
readonly "--modalBg": "rgba(32, 27, 25, 0.5)";
|
|
2492
2496
|
readonly "--modalContentBg": "rgb(39,35,33)";
|
|
2497
|
+
readonly "--colorBorderModal": "rgba(255, 253, 250, 0.1)";
|
|
2493
2498
|
readonly "--progressIconBg": "rgba(255,255,254,0.18)";
|
|
2494
2499
|
readonly "--progressIconFill": "rgba(255,255,254,0.59)";
|
|
2495
2500
|
readonly "--formBg": "rgb(32,27,25)";
|
package/lib/theming.generated.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
//#region src/theming.generated.ts
|
|
2
2
|
var themeVars = {
|
|
3
3
|
surfaceElevationS: "var(--surfaceElevationS)",
|
|
4
|
-
surfaceElevationM: "var(--surfaceElevationM)",
|
|
5
4
|
surfaceElevationL: "var(--surfaceElevationL)",
|
|
6
5
|
shadow50: "var(--shadow50)",
|
|
7
6
|
shadow100: "var(--shadow100)",
|
|
@@ -80,6 +79,7 @@ var themeVars = {
|
|
|
80
79
|
shadowFloatingPanel: "var(--shadowFloatingPanel)",
|
|
81
80
|
pageContentBg: "var(--pageContentBg)",
|
|
82
81
|
colorBgPopup: "var(--colorBgPopup)",
|
|
82
|
+
colorBorderPopup: "var(--colorBorderPopup)",
|
|
83
83
|
menuBg: "var(--menuBg)",
|
|
84
84
|
menuTextColor: "var(--menuTextColor)",
|
|
85
85
|
menuItemHoverColor: "var(--menuItemHoverColor)",
|
|
@@ -273,6 +273,7 @@ var themeVars = {
|
|
|
273
273
|
appCardHoverColor: "var(--appCardHoverColor)",
|
|
274
274
|
modalBg: "var(--modalBg)",
|
|
275
275
|
modalContentBg: "var(--modalContentBg)",
|
|
276
|
+
colorBorderModal: "var(--colorBorderModal)",
|
|
276
277
|
progressIconBg: "var(--progressIconBg)",
|
|
277
278
|
progressIconFill: "var(--progressIconFill)",
|
|
278
279
|
formBg: "var(--formBg)",
|
|
@@ -563,8 +564,7 @@ var layoutVars = {
|
|
|
563
564
|
var neutralStyles = {
|
|
564
565
|
light: {
|
|
565
566
|
"--surfaceElevationS": "0 2px 4px 0 rgba(0,0,0,0.05)",
|
|
566
|
-
"--
|
|
567
|
-
"--surfaceElevationL": "0 8px 12px 0 rgba(0,0,0,0.09)",
|
|
567
|
+
"--surfaceElevationL": "0 8px 12px 0 rgba(0,0,0,0.05)",
|
|
568
568
|
"--shadow50": "0 0 0 1px rgba(23, 23, 23, 0.05)",
|
|
569
569
|
"--shadow100": "0 1px 4px 0 rgba(23, 23, 23, 0.05)",
|
|
570
570
|
"--shadow200": "0 2px 6px 0 rgba(23, 23, 23, 0.05)",
|
|
@@ -642,6 +642,7 @@ var neutralStyles = {
|
|
|
642
642
|
"--shadowFloatingPanel": "0 0 0 1px rgba(120, 120, 120, 0.15), 0 3px 12px 0 rgba(94, 94, 94, 0.15)",
|
|
643
643
|
"--pageContentBg": "rgb(255,255,255)",
|
|
644
644
|
"--colorBgPopup": "rgb(255,255,255)",
|
|
645
|
+
"--colorBorderPopup": "rgba(199, 199, 199, 0.45)",
|
|
645
646
|
"--menuBg": "rgb(245,245,245)",
|
|
646
647
|
"--menuTextColor": "rgb(23,23,23)",
|
|
647
648
|
"--menuItemHoverColor": "rgb(232,232,232)",
|
|
@@ -835,6 +836,7 @@ var neutralStyles = {
|
|
|
835
836
|
"--appCardHoverColor": "rgba(252, 252, 252, 0.95)",
|
|
836
837
|
"--modalBg": "rgba(94, 94, 94, 0.2)",
|
|
837
838
|
"--modalContentBg": "rgb(255,255,255)",
|
|
839
|
+
"--colorBorderModal": "rgba(199, 199, 199, 0.2)",
|
|
838
840
|
"--progressIconBg": "rgba(0,0,0,0.14)",
|
|
839
841
|
"--progressIconFill": "rgba(0,0,0,0.57)",
|
|
840
842
|
"--formBg": "rgb(247,247,247)",
|
|
@@ -1114,8 +1116,7 @@ var neutralStyles = {
|
|
|
1114
1116
|
},
|
|
1115
1117
|
dark: {
|
|
1116
1118
|
"--surfaceElevationS": "0 2px 4px 0 rgba(23, 23, 23, 0.05)",
|
|
1117
|
-
"--
|
|
1118
|
-
"--surfaceElevationL": "0 8px 12px 0 rgba(255,255,255,0.09)",
|
|
1119
|
+
"--surfaceElevationL": "0 8px 12px 0 rgba(0,0,0,0.09)",
|
|
1119
1120
|
"--shadow50": "0 0 0 1px rgba(237, 237, 237, 0.1)",
|
|
1120
1121
|
"--shadow100": "0 1px 4px 0 rgba(23, 23, 23, 0.1)",
|
|
1121
1122
|
"--shadow200": "0 2px 6px 0 rgba(23, 23, 23, 0.1)",
|
|
@@ -1171,7 +1172,7 @@ var neutralStyles = {
|
|
|
1171
1172
|
"--mainBg": "rgb(36,36,36)",
|
|
1172
1173
|
"--panelBg": "rgb(23,23,23)",
|
|
1173
1174
|
"--panelBorder": "0 0 0 1px rgba(82, 82, 82, 0.2)",
|
|
1174
|
-
"--panelShadowFocused": "0 0 0 1px rgba(82, 82, 82, 0.5)",
|
|
1175
|
+
"--panelShadowFocused": "0 0 0 1px rgba(82, 82, 82, 0.5), 0 4px 8px 0 rgba(0,0,0,0.14)",
|
|
1175
1176
|
"--panelShadowUnfocused": "0 0 0 1px rgba(82, 82, 82, 0.1)",
|
|
1176
1177
|
"--panelContentBg": "rgb(23,23,23)",
|
|
1177
1178
|
"--dbSettingsSidebarBg": "rgb(28,28,28)",
|
|
@@ -1193,6 +1194,7 @@ var neutralStyles = {
|
|
|
1193
1194
|
"--shadowFloatingPanel": "0 0 0 1px rgb(51,51,51), 0 3px 12px 0 rgba(23, 23, 23, 0.5)",
|
|
1194
1195
|
"--pageContentBg": "rgb(28,28,28)",
|
|
1195
1196
|
"--colorBgPopup": "rgb(36,36,36)",
|
|
1197
|
+
"--colorBorderPopup": "rgba(255, 255, 255, 0.1)",
|
|
1196
1198
|
"--menuBg": "rgb(36,36,36)",
|
|
1197
1199
|
"--menuTextColor": "rgb(237,237,237)",
|
|
1198
1200
|
"--menuItemHoverColor": "rgb(51,51,51)",
|
|
@@ -1386,6 +1388,7 @@ var neutralStyles = {
|
|
|
1386
1388
|
"--appCardHoverColor": "rgb(28,28,28)",
|
|
1387
1389
|
"--modalBg": "rgba(28, 28, 28, 0.5)",
|
|
1388
1390
|
"--modalContentBg": "rgb(36,36,36)",
|
|
1391
|
+
"--colorBorderModal": "rgba(255, 255, 255, 0.1)",
|
|
1389
1392
|
"--progressIconBg": "rgba(255,255,255,0.18)",
|
|
1390
1393
|
"--progressIconFill": "rgba(255,255,255,0.59)",
|
|
1391
1394
|
"--formBg": "rgb(28,28,28)",
|
|
@@ -1667,8 +1670,7 @@ var neutralStyles = {
|
|
|
1667
1670
|
var warmStyles = {
|
|
1668
1671
|
light: {
|
|
1669
1672
|
"--surfaceElevationS": "0 2px 4px 0 rgba(0,0,0,0.05)",
|
|
1670
|
-
"--
|
|
1671
|
-
"--surfaceElevationL": "0 8px 12px 0 rgba(0,0,0,0.09)",
|
|
1673
|
+
"--surfaceElevationL": "0 8px 12px 0 rgba(0,0,0,0.05)",
|
|
1672
1674
|
"--shadow50": "0 0 0 1px rgba(27, 22, 17, 0.05)",
|
|
1673
1675
|
"--shadow100": "0 1px 4px 0 rgba(27, 22, 17, 0.05)",
|
|
1674
1676
|
"--shadow200": "0 2px 6px 0 rgba(27, 22, 17, 0.05)",
|
|
@@ -1746,6 +1748,7 @@ var warmStyles = {
|
|
|
1746
1748
|
"--shadowFloatingPanel": "0 0 0 1px rgba(125, 119, 112, 0.15), 0 3px 12px 0 rgba(99, 94, 87, 0.15)",
|
|
1747
1749
|
"--pageContentBg": "rgb(255,253,250)",
|
|
1748
1750
|
"--colorBgPopup": "rgb(255,253,250)",
|
|
1751
|
+
"--colorBorderPopup": "rgba(204, 198, 191, 0.45)",
|
|
1749
1752
|
"--menuBg": "rgb(250,244,236)",
|
|
1750
1753
|
"--menuTextColor": "rgb(27,22,17)",
|
|
1751
1754
|
"--menuItemHoverColor": "rgb(237,231,224)",
|
|
@@ -1939,6 +1942,7 @@ var warmStyles = {
|
|
|
1939
1942
|
"--appCardHoverColor": "rgba(255, 251, 244, 0.95)",
|
|
1940
1943
|
"--modalBg": "rgba(99, 94, 87, 0.2)",
|
|
1941
1944
|
"--modalContentBg": "rgb(255,253,250)",
|
|
1945
|
+
"--colorBorderModal": "rgba(204, 198, 191, 0.2)",
|
|
1942
1946
|
"--progressIconBg": "rgba(0,0,0,0.14)",
|
|
1943
1947
|
"--progressIconFill": "rgba(0,0,0,0.57)",
|
|
1944
1948
|
"--formBg": "rgb(253,246,239)",
|
|
@@ -2218,8 +2222,7 @@ var warmStyles = {
|
|
|
2218
2222
|
},
|
|
2219
2223
|
dark: {
|
|
2220
2224
|
"--surfaceElevationS": "0 2px 4px 0 rgba(26, 22, 20, 0.05)",
|
|
2221
|
-
"--
|
|
2222
|
-
"--surfaceElevationL": "0 8px 12px 0 rgba(255,255,254,0.09)",
|
|
2225
|
+
"--surfaceElevationL": "0 8px 12px 0 rgba(0,0,0,0.09)",
|
|
2223
2226
|
"--shadow50": "0 0 0 1px rgba(224, 212, 206, 0.1)",
|
|
2224
2227
|
"--shadow100": "0 1px 4px 0 rgba(27, 22, 17, 0.1)",
|
|
2225
2228
|
"--shadow200": "0 2px 6px 0 rgba(27, 22, 17, 0.1)",
|
|
@@ -2275,7 +2278,7 @@ var warmStyles = {
|
|
|
2275
2278
|
"--mainBg": "rgb(39,35,33)",
|
|
2276
2279
|
"--panelBg": "rgb(26,22,20)",
|
|
2277
2280
|
"--panelBorder": "0 0 0 1px rgba(86, 80, 78, 0.2)",
|
|
2278
|
-
"--panelShadowFocused": "0 0 0 1px rgba(86, 80, 78, 0.5)",
|
|
2281
|
+
"--panelShadowFocused": "0 0 0 1px rgba(86, 80, 78, 0.5), 0 4px 8px 0 rgba(0,0,0,0.14)",
|
|
2279
2282
|
"--panelShadowUnfocused": "0 0 0 1px rgba(86, 80, 78, 0.1)",
|
|
2280
2283
|
"--panelContentBg": "rgb(26,22,20)",
|
|
2281
2284
|
"--dbSettingsSidebarBg": "rgb(32,27,25)",
|
|
@@ -2297,6 +2300,7 @@ var warmStyles = {
|
|
|
2297
2300
|
"--shadowFloatingPanel": "0 0 0 1px rgb(55,50,48), 0 3px 12px 0 rgba(26, 22, 20, 0.5)",
|
|
2298
2301
|
"--pageContentBg": "rgb(32,27,25)",
|
|
2299
2302
|
"--colorBgPopup": "rgb(39,35,33)",
|
|
2303
|
+
"--colorBorderPopup": "rgba(255, 253, 250, 0.1)",
|
|
2300
2304
|
"--menuBg": "rgb(39,35,33)",
|
|
2301
2305
|
"--menuTextColor": "rgb(224,212,206)",
|
|
2302
2306
|
"--menuItemHoverColor": "rgb(55,50,48)",
|
|
@@ -2490,6 +2494,7 @@ var warmStyles = {
|
|
|
2490
2494
|
"--appCardHoverColor": "rgb(32,27,25)",
|
|
2491
2495
|
"--modalBg": "rgba(32, 27, 25, 0.5)",
|
|
2492
2496
|
"--modalContentBg": "rgb(39,35,33)",
|
|
2497
|
+
"--colorBorderModal": "rgba(255, 253, 250, 0.1)",
|
|
2493
2498
|
"--progressIconBg": "rgba(255,255,254,0.18)",
|
|
2494
2499
|
"--progressIconFill": "rgba(255,255,254,0.59)",
|
|
2495
2500
|
"--formBg": "rgb(32,27,25)",
|
package/lib/toast/primitives.js
CHANGED
|
@@ -3,9 +3,9 @@ import { textClasses } from "../design-system/typography.js";
|
|
|
3
3
|
import { IconButton } from "../button/icon-button.js";
|
|
4
4
|
import Close from "../icons/react/close.js";
|
|
5
5
|
/* empty css */
|
|
6
|
+
import { cx } from "@linaria/core";
|
|
6
7
|
import { jsx } from "react/jsx-runtime";
|
|
7
8
|
import { forwardRef } from "react";
|
|
8
|
-
import { cx } from "@linaria/core";
|
|
9
9
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
10
10
|
import { preventDefault } from "@fibery/react/src/prevent-default";
|
|
11
11
|
//#region src/toast/primitives.tsx
|
package/lib/toast/toast.js
CHANGED
|
@@ -5,10 +5,10 @@ import { ToastClose, ToastRoot, ToastSubtitle, ToastTitle } from "./primitives.j
|
|
|
5
5
|
import CircleCheckFilled from "../icons/react/circle-check-filled.js";
|
|
6
6
|
import WarningTriangleFilled from "../icons/react/warning-triangle-filled.js";
|
|
7
7
|
/* empty css */
|
|
8
|
+
import { cx } from "@linaria/core";
|
|
8
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
10
|
import { useCallback, useEffect, useRef } from "react";
|
|
10
11
|
import { useControllableState } from "@fibery/react/src/use-controllable-state";
|
|
11
|
-
import { cx } from "@linaria/core";
|
|
12
12
|
import { useCallbackRef } from "@fibery/react/src/use-callback-ref";
|
|
13
13
|
//#region src/toast/toast.tsx
|
|
14
14
|
var defaultPropsPerType = {
|
|
@@ -2,9 +2,9 @@ import "./round-toggle-button.wyw-in-js.css";
|
|
|
2
2
|
import { themeVars } from "../theming.generated.js";
|
|
3
3
|
import { ToggleButton, toggleButtonColorVars } from "./toggle-button.js";
|
|
4
4
|
/* empty css */
|
|
5
|
+
import { cx } from "@linaria/core";
|
|
5
6
|
import { jsx } from "react/jsx-runtime";
|
|
6
7
|
import { forwardRef } from "react";
|
|
7
|
-
import { cx } from "@linaria/core";
|
|
8
8
|
//#region src/toggle-button/round-toggle-button.tsx
|
|
9
9
|
var roundToggleButtonCss = "r15nmt6y-roundToggleButton";
|
|
10
10
|
var roundToggleButtonColors = toggleButtonColorVars({
|
|
@@ -2,9 +2,9 @@ import "./toggle-button-group.wyw-in-js.css";
|
|
|
2
2
|
import { space } from "../design-system/layout.js";
|
|
3
3
|
import { ToggleButton } from "./toggle-button.js";
|
|
4
4
|
/* empty css */
|
|
5
|
+
import { cx } from "@linaria/core";
|
|
5
6
|
import { jsx } from "react/jsx-runtime";
|
|
6
7
|
import { forwardRef } from "react";
|
|
7
|
-
import { cx } from "@linaria/core";
|
|
8
8
|
import { ToggleGroup, ToggleGroupItem } from "@radix-ui/react-toggle-group";
|
|
9
9
|
//#region src/toggle-button/toggle-button-group.tsx
|
|
10
10
|
var toggleButtonGroupCss = "t11nnkce-toggleButtonGroup";
|
|
@@ -2,9 +2,9 @@ import "./toggle-button.wyw-in-js.css";
|
|
|
2
2
|
import { themeVars } from "../theming.generated.js";
|
|
3
3
|
import { useIsPhone } from "../use-is-phone.js";
|
|
4
4
|
/* empty css */
|
|
5
|
+
import { cx } from "@linaria/core";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
7
|
import { forwardRef } from "react";
|
|
7
|
-
import { cx } from "@linaria/core";
|
|
8
8
|
import { Toggle } from "@radix-ui/react-toggle";
|
|
9
9
|
//#region src/toggle-button/toggle-button.tsx
|
|
10
10
|
var toggleButtonCss = "tkovvez-toggleButton";
|
package/lib/toggle.js
CHANGED
|
@@ -5,8 +5,8 @@ import { space } from "./design-system/layout.js";
|
|
|
5
5
|
import { textClasses } from "./design-system/typography.js";
|
|
6
6
|
import { Spinner } from "./spinner.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
8
|
import { cx } from "@linaria/core";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { styled } from "@linaria/react";
|
|
11
11
|
//#region src/toggle.tsx
|
|
12
12
|
var toggleIconHeightVar = "--fibery-toggle-icon-height";
|
package/lib/tooltip.js
CHANGED
|
@@ -4,11 +4,11 @@ import { space } from "./design-system/layout.js";
|
|
|
4
4
|
import { RadixPortalThemeProvider } from "./theme-provider.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { isFlagPresent } from "@fibery/helpers/src/flags";
|
|
7
|
+
import { cx } from "@linaria/core";
|
|
7
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
9
|
import { forwardRef, useRef } from "react";
|
|
9
10
|
import { composeEventHandlers } from "@fibery/react/src/compose-event-handlers";
|
|
10
11
|
import { useControllableState } from "@fibery/react/src/use-controllable-state";
|
|
11
|
-
import { cx } from "@linaria/core";
|
|
12
12
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
13
13
|
//#region src/tooltip.tsx
|
|
14
14
|
var preventDefaultAndStopPropagation = (e) => {
|
package/lib/type-badge-box.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./type-badge-box.wyw-in-js.css";
|
|
2
2
|
import { makeAbbreviation } from "./type-badge.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
4
|
import { cx } from "@linaria/core";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/type-badge-box.tsx
|
|
7
7
|
var TypeBadgeBox = ({ width, height, typeObject, children, className }) => {
|
|
8
8
|
const abbr = makeAbbreviation(typeObject.title);
|
package/lib/unit/labeled-unit.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./labeled-unit.wyw-in-js.css";
|
|
2
2
|
import { textClasses } from "../design-system/typography.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
4
|
import { cx } from "@linaria/core";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/unit/labeled-unit.tsx
|
|
7
7
|
var labelCss = "lfktfg3-label";
|
|
8
8
|
var labeledUnitCss = "l3ngueb-labeledUnit";
|
package/lib/unit/unit-content.js
CHANGED
|
@@ -9,9 +9,9 @@ import "./styles.js";
|
|
|
9
9
|
import { UnitContainer } from "./container.js";
|
|
10
10
|
import { UnitContentLayout } from "./unit-content-layout.js";
|
|
11
11
|
/* empty css */
|
|
12
|
+
import { cx } from "@linaria/core";
|
|
12
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
14
|
import { forwardRef } from "react";
|
|
14
|
-
import { cx } from "@linaria/core";
|
|
15
15
|
//#region src/unit/unit-content.tsx
|
|
16
16
|
var resetButtonStylesCss = "r96bd8z-resetButtonStyles";
|
|
17
17
|
var ButtonComponent = forwardRef((props, ref) => {
|
|
@@ -1,39 +1,31 @@
|
|
|
1
1
|
import "./workflow-progress-icon.wyw-in-js.css";
|
|
2
2
|
import { themeVars } from "./theming.generated.js";
|
|
3
|
+
import { ProgressRing } from "./progress.js";
|
|
3
4
|
/* empty css */
|
|
4
|
-
import {
|
|
5
|
-
import { arc } from "d3-shape";
|
|
6
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
6
|
//#region src/workflow-progress-icon.tsx
|
|
8
7
|
var WorkflowProgressIcon = ({ size, index, total, fillProgress = themeVars.progressIconFill, fillBackground = themeVars.progressIconBg, isDone, doneStrokeColor = themeVars.pageContentBg, doneFillColor = themeVars.progressIconFill }) => {
|
|
9
|
-
return /* @__PURE__ */ jsx(
|
|
8
|
+
if (!isDone) return /* @__PURE__ */ jsx(ProgressRing, {
|
|
9
|
+
size,
|
|
10
|
+
value: index / total * 100,
|
|
11
|
+
color: fillProgress,
|
|
12
|
+
trackColor: fillBackground
|
|
13
|
+
});
|
|
14
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
10
15
|
width: size,
|
|
11
16
|
height: size,
|
|
12
17
|
viewBox: `0 0 16 16`,
|
|
13
18
|
className: "cdumlmi",
|
|
14
|
-
children:
|
|
19
|
+
children: [/* @__PURE__ */ jsx("circle", {
|
|
15
20
|
cx: "8",
|
|
16
21
|
cy: "8",
|
|
17
22
|
r: "8",
|
|
18
|
-
fill: doneFillColor
|
|
19
|
-
fillOpacity: "0.8"
|
|
23
|
+
fill: doneFillColor
|
|
20
24
|
}), /* @__PURE__ */ jsx("path", {
|
|
21
25
|
d: "M6.93229 11.98C7.25645 11.98 7.5091 11.8562 7.68071 11.5941L12.1236 4.80535C12.2476 4.61478 12.3 4.43852 12.3 4.27178C12.3 3.82395 11.9663 3.5 11.5086 3.5C11.1941 3.5 10.9986 3.61434 10.8079 3.91447L6.90845 10.0601L4.93012 7.60661C4.75374 7.39699 4.56306 7.30171 4.2961 7.30171C3.8337 7.30171 3.5 7.63042 3.5 8.07824C3.5 8.27832 3.56197 8.45464 3.73358 8.64992L6.19339 11.6274C6.39838 11.8704 6.62719 11.98 6.93229 11.98Z",
|
|
22
26
|
fill: doneStrokeColor
|
|
23
|
-
})]
|
|
24
|
-
transform: `translate(8, 8)`,
|
|
25
|
-
children: [/* @__PURE__ */ jsx("path", {
|
|
26
|
-
d: getPath(total, total, 16),
|
|
27
|
-
fill: fillBackground
|
|
28
|
-
}), /* @__PURE__ */ jsx("path", {
|
|
29
|
-
d: getPath(index, total, 16),
|
|
30
|
-
fill: fillProgress
|
|
31
|
-
})]
|
|
32
|
-
})
|
|
27
|
+
})]
|
|
33
28
|
});
|
|
34
29
|
};
|
|
35
|
-
var getPath = memoizeLeak((index, total, size) => {
|
|
36
|
-
return arc().innerRadius(size / 2.75).outerRadius(size / 2).startAngle(0).endAngle(2 * (index / total) * Math.PI).cornerRadius(1)();
|
|
37
|
-
}, (...args) => args.join("/"));
|
|
38
30
|
//#endregion
|
|
39
31
|
export { WorkflowProgressIcon };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fibery/ui-kit",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.4.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib"
|
|
@@ -111,7 +111,6 @@
|
|
|
111
111
|
"@tanstack/hotkeys": "0.7.1",
|
|
112
112
|
"@tanstack/react-hotkeys": "0.9.1",
|
|
113
113
|
"@types/apca-w3": "0.1.3",
|
|
114
|
-
"@types/d3-shape": "3.1.7",
|
|
115
114
|
"@types/history": "4.7.11",
|
|
116
115
|
"apca-w3": "0.1.9",
|
|
117
116
|
"chrono-node": "2.9.0",
|
|
@@ -119,7 +118,6 @@
|
|
|
119
118
|
"cmdk": "1.0.0",
|
|
120
119
|
"color-hash": "1.0.3",
|
|
121
120
|
"culori": "4.0.2",
|
|
122
|
-
"d3-shape": "1.3.7",
|
|
123
121
|
"date-fns": "2.29.2",
|
|
124
122
|
"invariant": "2.2.4",
|
|
125
123
|
"lru-cache": "11.5.3",
|
|
@@ -129,7 +127,6 @@
|
|
|
129
127
|
"rc-dialog": "9.0.4",
|
|
130
128
|
"rc-input": "1.3.11",
|
|
131
129
|
"rc-input-number": "8.5.0",
|
|
132
|
-
"rc-progress": "4.0.0",
|
|
133
130
|
"rc-select": "14.1.18",
|
|
134
131
|
"rc-tabs": "12.5.10",
|
|
135
132
|
"rc-textarea": "0.4.7",
|
|
@@ -144,8 +141,8 @@
|
|
|
144
141
|
"vaul": "1.1.2",
|
|
145
142
|
"virtua": "0.50.4",
|
|
146
143
|
"@fibery/emoji-data": "3.0.0",
|
|
147
|
-
"@fibery/
|
|
148
|
-
"@fibery/
|
|
144
|
+
"@fibery/react": "2.0.7",
|
|
145
|
+
"@fibery/helpers": "4.1.1"
|
|
149
146
|
},
|
|
150
147
|
"peerDependencies": {
|
|
151
148
|
"react": "18.3.1",
|