@fibery/ui-kit 9.1.1 → 9.1.2
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/actions-menu/actions-menu-item.js +3 -3
- package/lib/button/base-button.js +5 -5
- package/lib/checkbox.d.ts +1 -1
- package/lib/checkbox.js +3 -3
- package/lib/design-system/alpha-coefficients.d.ts +1 -0
- package/lib/design-system/alpha-coefficients.js +1 -0
- package/lib/design-system/colors.d.ts +2 -4
- package/lib/design-system/colors.js +1 -2
- package/lib/design-system/theme.d.ts +5 -10
- package/lib/design-system/theme.js +1 -1
- package/lib/loading-sausage.d.ts +1 -1
- package/lib/loading-sausage.js +8 -11
- package/lib/loading-sausage.wyw-in-js.css +4 -6
- package/lib/popover/styles.wyw-in-js.css +1 -1
- package/lib/root-theme-provider.js +2 -1
- package/lib/root-theme-provider.wyw-in-js.css +1 -1
- package/lib/select/select-in-popover.js +5 -3
- package/lib/select/select.js +11 -4
- package/lib/sidebar/sidebar-handle.d.ts +14 -0
- package/lib/sidebar/sidebar-handle.js +51 -0
- package/lib/sidebar/sidebar-handle.wyw-in-js.css +7 -0
- package/lib/sidebar/sidebar.d.ts +25 -0
- package/lib/sidebar/sidebar.js +60 -0
- package/lib/sidebar/sidebar.wyw-in-js.css +3 -0
- package/lib/sidebar/use-resize-drag.d.ts +22 -0
- package/lib/sidebar/use-resize-drag.js +71 -0
- package/lib/theme-provider.d.ts +1 -2
- package/lib/theme-styles.js +5 -2
- package/lib/theming.generated.d.ts +5 -10
- package/lib/theming.generated.js +5 -10
- package/lib/toast/toast-provider.d.ts +1 -0
- package/lib/toast/toast-queue.d.ts +2 -0
- package/lib/toast/toast-queue.js +6 -0
- package/lib/tooltip.js +1 -1
- package/package.json +3 -3
|
@@ -11,7 +11,7 @@ import Checked from "../icons/react/checked.js";
|
|
|
11
11
|
/* empty css */
|
|
12
12
|
import { noop } from "@fibery/helpers/src/_";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
-
import {
|
|
14
|
+
import { useId } from "react";
|
|
15
15
|
import { cx } from "@linaria/core";
|
|
16
16
|
import { stopPropagation } from "@fibery/react/src/stop-propagation";
|
|
17
17
|
import { useCallbackRef } from "@fibery/react/src/use-callback-ref";
|
|
@@ -58,7 +58,7 @@ var LeftCorner = ({ Icon, iconColor }) => {
|
|
|
58
58
|
})
|
|
59
59
|
}) : null;
|
|
60
60
|
};
|
|
61
|
-
var ActionsMenuItemComponent =
|
|
61
|
+
var ActionsMenuItemComponent = function ActionsMenuItemComponent({ id, testId, title, onSelect, description, Icon, iconColor, shortcut, disabled, dangerous, showWarning, loading, checked, children, className }) {
|
|
62
62
|
const { MenuPrimitive } = useActionsMenuContext();
|
|
63
63
|
const setActiveDangerousRow = useSetActiveDangerousRow();
|
|
64
64
|
const handleSelect = async (e) => {
|
|
@@ -115,7 +115,7 @@ var ActionsMenuItemComponent = memo(function ActionsMenuItemComponent({ id, test
|
|
|
115
115
|
})
|
|
116
116
|
]
|
|
117
117
|
});
|
|
118
|
-
}
|
|
118
|
+
};
|
|
119
119
|
var ActionsMenuItem = ({ className, ...props }) => {
|
|
120
120
|
const id = useId();
|
|
121
121
|
const activeDangerousRow = useActiveDangerousRow();
|
|
@@ -2,7 +2,7 @@ import "./base-button.wyw-in-js.css";
|
|
|
2
2
|
import { themeVars } from "../theming.generated.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import { forwardRef } from "react";
|
|
5
|
+
import { forwardRef, useMemo } from "react";
|
|
6
6
|
import { cx } from "@linaria/core";
|
|
7
7
|
import { Slot } from "@radix-ui/react-slot";
|
|
8
8
|
//#region src/button/base-button.tsx
|
|
@@ -34,13 +34,13 @@ var getColors = (variant, color) => {
|
|
|
34
34
|
...borderColors
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
-
var BaseButton = forwardRef(({ variant = "solid", color = "accent", type = "button", className, children, style, pressed, asChild, ...buttonProps }, ref)
|
|
38
|
-
const colors = getColors(variant, color);
|
|
37
|
+
var BaseButton = forwardRef(function BaseButton({ variant = "solid", color = "accent", type = "button", className, children, style, pressed, asChild, ...buttonProps }, ref) {
|
|
38
|
+
const colors = useMemo(() => getColors(variant, color), [variant, color]);
|
|
39
39
|
return /* @__PURE__ */ jsx(asChild ? Slot : "button", {
|
|
40
|
-
style: {
|
|
40
|
+
style: style ? {
|
|
41
41
|
...colors,
|
|
42
42
|
...style
|
|
43
|
-
},
|
|
43
|
+
} : colors,
|
|
44
44
|
"aria-pressed": pressed || buttonProps["aria-pressed"],
|
|
45
45
|
"data-variant": variant,
|
|
46
46
|
className: cx(reset, baseButton, className),
|
package/lib/checkbox.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ type CheckboxComponentProps = ComponentProps<"input"> & {
|
|
|
8
8
|
color?: string;
|
|
9
9
|
theme: Theme;
|
|
10
10
|
};
|
|
11
|
-
declare const CheckboxComponent:
|
|
11
|
+
declare const CheckboxComponent: ({ color, disabled, theme, checked, defaultChecked, className, ...rest }: CheckboxComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
declare const Checkbox: FC<Omit<ComponentPropsWithoutRef<typeof CheckboxComponent>, "theme">>;
|
|
13
13
|
interface CheckboxWithTextProps {
|
|
14
14
|
checked?: boolean;
|
package/lib/checkbox.js
CHANGED
|
@@ -7,7 +7,7 @@ import { textClasses } from "./design-system/typography.js";
|
|
|
7
7
|
import { useTheme } from "./theme-provider.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import {
|
|
10
|
+
import { useEffect, useRef } from "react";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
//#region src/checkbox.tsx
|
|
13
13
|
var checkboxColor = `--fibery-checkbox-color`;
|
|
@@ -21,7 +21,7 @@ var disabledCheckboxStyle = "d1m3prw4-disabledCheckbox";
|
|
|
21
21
|
var inputStyle = "i1n3occ1-input";
|
|
22
22
|
var disabledInputStyle = "d15ntl1g-disabledInput";
|
|
23
23
|
var checkmarkStyle = "c1a0urkz-checkmark";
|
|
24
|
-
var CheckboxComponent =
|
|
24
|
+
var CheckboxComponent = ({ color, disabled, theme, checked, defaultChecked, className, ...rest }) => {
|
|
25
25
|
const ref = useRef(null);
|
|
26
26
|
const indeterminate = checked === null;
|
|
27
27
|
const defaultIndeterminate = defaultChecked === null;
|
|
@@ -71,7 +71,7 @@ var CheckboxComponent = memo(({ color, disabled, theme, checked, defaultChecked,
|
|
|
71
71
|
})
|
|
72
72
|
]
|
|
73
73
|
});
|
|
74
|
-
}
|
|
74
|
+
};
|
|
75
75
|
var Checkbox = (props) => {
|
|
76
76
|
const theme = useTheme();
|
|
77
77
|
return /* @__PURE__ */ jsx(CheckboxComponent, {
|
|
@@ -196,6 +196,7 @@ declare const alphaCoefficients: {
|
|
|
196
196
|
readonly logoGridMedium: readonly [AlphaCoefficient, AlphaCoefficient];
|
|
197
197
|
readonly shadowOutline: readonly [AlphaCoefficient, AlphaCoefficient];
|
|
198
198
|
readonly scrollFade: readonly [AlphaCoefficient, AlphaCoefficient];
|
|
199
|
+
readonly skeleton: readonly [AlphaCoefficient, AlphaCoefficient];
|
|
199
200
|
readonly selectedOutline: readonly [AlphaCoefficient, AlphaCoefficient];
|
|
200
201
|
readonly scrollbar: readonly [AlphaCoefficient, AlphaCoefficient];
|
|
201
202
|
readonly aiBg: readonly [AlphaCoefficient, AlphaCoefficient];
|
|
@@ -493,8 +493,7 @@ declare function defsFromPalette({ key, whiteA, white, blackA, blackish, black,
|
|
|
493
493
|
readonly colorBgLogoCardTransparent: [string, string];
|
|
494
494
|
readonly colorBgLogoCardDark: readonly [string, string];
|
|
495
495
|
readonly colorBgLogoCardMedium: [string, string];
|
|
496
|
-
readonly
|
|
497
|
-
readonly colorBgSkeletonTo: Def;
|
|
496
|
+
readonly colorBgSkeleton: Def;
|
|
498
497
|
readonly colorShadowInsetEdge: Def;
|
|
499
498
|
readonly colorShadowBorder: Def;
|
|
500
499
|
readonly colorShadowElevation: Def;
|
|
@@ -1101,8 +1100,7 @@ declare function sideFromDefs(defs: ThemeDefs, mode: ThemeMode): {
|
|
|
1101
1100
|
readonly colorBgLogoCardTransparent: string;
|
|
1102
1101
|
readonly colorBgLogoCardDark: string;
|
|
1103
1102
|
readonly colorBgLogoCardMedium: string;
|
|
1104
|
-
readonly
|
|
1105
|
-
readonly colorBgSkeletonTo: string;
|
|
1103
|
+
readonly colorBgSkeleton: string;
|
|
1106
1104
|
readonly colorShadowInsetEdge: string;
|
|
1107
1105
|
readonly colorShadowBorder: string;
|
|
1108
1106
|
readonly colorShadowElevation: string;
|
|
@@ -754,8 +754,7 @@ function defsFromPalette({ key, whiteA, white, blackA, blackish, black, base, ba
|
|
|
754
754
|
colorBgLogoCardTransparent: surface.level0elevated,
|
|
755
755
|
colorBgLogoCardDark: base8,
|
|
756
756
|
colorBgLogoCardMedium: surface.level4,
|
|
757
|
-
|
|
758
|
-
colorBgSkeletonTo: whiteA10,
|
|
757
|
+
colorBgSkeleton: alphaPair(black, white, alphaCoefficients.utility.skeleton),
|
|
759
758
|
colorShadowInsetEdge: whiteA5,
|
|
760
759
|
colorShadowBorder: whiteA10,
|
|
761
760
|
colorShadowElevation: blackA10,
|
|
@@ -497,8 +497,7 @@ declare function themeFromDefs(defs: ThemeDefs, mode: ThemeMode): {
|
|
|
497
497
|
readonly colorBgLogoCardTransparent: string;
|
|
498
498
|
readonly colorBgLogoCardDark: string;
|
|
499
499
|
readonly colorBgLogoCardMedium: string;
|
|
500
|
-
readonly
|
|
501
|
-
readonly colorBgSkeletonTo: string;
|
|
500
|
+
readonly colorBgSkeleton: string;
|
|
502
501
|
readonly colorShadowInsetEdge: string;
|
|
503
502
|
readonly colorShadowBorder: string;
|
|
504
503
|
readonly colorShadowElevation: string;
|
|
@@ -1108,8 +1107,7 @@ declare function themeFromPaletteImpl(palette: ThemePalette, mode: ThemeMode): {
|
|
|
1108
1107
|
readonly colorBgLogoCardTransparent: string;
|
|
1109
1108
|
readonly colorBgLogoCardDark: string;
|
|
1110
1109
|
readonly colorBgLogoCardMedium: string;
|
|
1111
|
-
readonly
|
|
1112
|
-
readonly colorBgSkeletonTo: string;
|
|
1110
|
+
readonly colorBgSkeleton: string;
|
|
1113
1111
|
readonly colorShadowInsetEdge: string;
|
|
1114
1112
|
readonly colorShadowBorder: string;
|
|
1115
1113
|
readonly colorShadowElevation: string;
|
|
@@ -1718,8 +1716,7 @@ declare const themeFromPalette: typeof themeFromPaletteImpl & import("@fibery/he
|
|
|
1718
1716
|
readonly colorBgLogoCardTransparent: string;
|
|
1719
1717
|
readonly colorBgLogoCardDark: string;
|
|
1720
1718
|
readonly colorBgLogoCardMedium: string;
|
|
1721
|
-
readonly
|
|
1722
|
-
readonly colorBgSkeletonTo: string;
|
|
1719
|
+
readonly colorBgSkeleton: string;
|
|
1723
1720
|
readonly colorShadowInsetEdge: string;
|
|
1724
1721
|
readonly colorShadowBorder: string;
|
|
1725
1722
|
readonly colorShadowElevation: string;
|
|
@@ -2329,8 +2326,7 @@ declare const stylesFromTheme: ((arg: Pick<{
|
|
|
2329
2326
|
readonly colorBgLogoCardTransparent: string;
|
|
2330
2327
|
readonly colorBgLogoCardDark: string;
|
|
2331
2328
|
readonly colorBgLogoCardMedium: string;
|
|
2332
|
-
readonly
|
|
2333
|
-
readonly colorBgSkeletonTo: string;
|
|
2329
|
+
readonly colorBgSkeleton: string;
|
|
2334
2330
|
readonly colorShadowInsetEdge: string;
|
|
2335
2331
|
readonly colorShadowBorder: string;
|
|
2336
2332
|
readonly colorShadowElevation: string;
|
|
@@ -2938,8 +2934,7 @@ declare const stylesFromTheme: ((arg: Pick<{
|
|
|
2938
2934
|
readonly colorBgLogoCardTransparent: string;
|
|
2939
2935
|
readonly colorBgLogoCardDark: string;
|
|
2940
2936
|
readonly colorBgLogoCardMedium: string;
|
|
2941
|
-
readonly
|
|
2942
|
-
readonly colorBgSkeletonTo: string;
|
|
2937
|
+
readonly colorBgSkeleton: string;
|
|
2943
2938
|
readonly colorShadowInsetEdge: string;
|
|
2944
2939
|
readonly colorShadowBorder: string;
|
|
2945
2940
|
readonly colorShadowElevation: string;
|
|
@@ -19,7 +19,7 @@ function themeFromPaletteImpl(palette, mode) {
|
|
|
19
19
|
return themeFromDefs(defsFromPalette(palette), mode);
|
|
20
20
|
}
|
|
21
21
|
var themeFromPalette = memoizeLeak(themeFromPaletteImpl, (palette, mode) => `${palette.key}-${mode}`);
|
|
22
|
-
themeFromPalette.cache = new LRUCache({ max:
|
|
22
|
+
themeFromPalette.cache = new LRUCache({ max: 8 });
|
|
23
23
|
function stylesFromThemeImpl(theme) {
|
|
24
24
|
return Object.entries(theme.colors).reduce((inlineTheme, [key, value]) => {
|
|
25
25
|
inlineTheme[theme.varname(key)] = value;
|
package/lib/loading-sausage.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ type LoadingSausageProps = {
|
|
|
10
10
|
margins?: boolean;
|
|
11
11
|
index?: number;
|
|
12
12
|
};
|
|
13
|
-
declare const LoadingSausage: import("react").MemoExoticComponent<({ minWidth, maxWidth, index, height,
|
|
13
|
+
declare const LoadingSausage: import("react").MemoExoticComponent<({ minWidth, maxWidth, index, height, margins, animateAppearance }: LoadingSausageProps) => JSX.Element>;
|
|
14
14
|
type SausageListProps = {
|
|
15
15
|
amount?: number;
|
|
16
16
|
minAmount?: number;
|
package/lib/loading-sausage.js
CHANGED
|
@@ -14,18 +14,16 @@ var getRandomInt = (min, max, seed) => {
|
|
|
14
14
|
return Math.floor(random * (max - min + 1)) + min;
|
|
15
15
|
};
|
|
16
16
|
var loadingSausageStyle = "l16t34ge-loadingSausage";
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var loadingSausageWithAnimatedAppearanceStyle = "l62e96j-loadingSausageWithAnimatedAppearance";
|
|
21
|
-
var _exp6 = () => ((props) => `${props.height / 2}px`);
|
|
17
|
+
var marginStyle = "m9y52vn-margin";
|
|
18
|
+
var loadingSausageWithAnimatedAppearanceStyle = "l13a41xq-loadingSausageWithAnimatedAppearance";
|
|
19
|
+
var _exp4 = () => ((props) => `${props.height / 2}px`);
|
|
22
20
|
var Container = /*#__PURE__*/ styled("div")({
|
|
23
21
|
name: "Container",
|
|
24
|
-
class: "
|
|
22
|
+
class: "c1pjyqzf-Container",
|
|
25
23
|
propsAsIs: false,
|
|
26
|
-
vars: { "
|
|
24
|
+
vars: { "c1pjyqzf-0": [_exp4()] }
|
|
27
25
|
});
|
|
28
|
-
var LoadingSausage = memo(function LoadingSausage({ minWidth = 80, maxWidth = 120, index, height = 12,
|
|
26
|
+
var LoadingSausage = memo(function LoadingSausage({ minWidth = 80, maxWidth = 120, index, height = 12, margins = true, animateAppearance = false }) {
|
|
29
27
|
const [width] = useState(() => getRandomInt(minWidth, maxWidth, index));
|
|
30
28
|
return /* @__PURE__ */ jsx(Container, {
|
|
31
29
|
height,
|
|
@@ -33,13 +31,12 @@ var LoadingSausage = memo(function LoadingSausage({ minWidth = 80, maxWidth = 12
|
|
|
33
31
|
width,
|
|
34
32
|
height
|
|
35
33
|
},
|
|
36
|
-
className: cx(loadingSausageStyle,
|
|
34
|
+
className: cx(loadingSausageStyle, margins && marginStyle, animateAppearance && loadingSausageWithAnimatedAppearanceStyle)
|
|
37
35
|
});
|
|
38
36
|
});
|
|
39
37
|
var LoadingSausageList = memo(function LoadingSausageList({ amount, minAmount = 1, maxAmount = 1, WrapperComponent, ...restProps }) {
|
|
40
38
|
const calculatedAmount = amount || getRandomInt(minAmount, maxAmount);
|
|
41
|
-
|
|
42
|
-
return /* @__PURE__ */ jsx(Fragment, { children: list.map((_, index) => {
|
|
39
|
+
return /* @__PURE__ */ jsx(Fragment, { children: Array.from({ length: calculatedAmount }, (_, index) => {
|
|
43
40
|
const style = { opacity: (calculatedAmount - index) / calculatedAmount };
|
|
44
41
|
return /* @__PURE__ */ jsx("div", {
|
|
45
42
|
style,
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
.l16t34ge-loadingSausage{vertical-align:middle;position:relative;background:none;}.l16t34ge-loadingSausage::before,.l16t34ge-loadingSausage::after{content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0;}@keyframes OpacityAnim-l16t34ge-loadingSausage{0%{opacity:1;}100%{opacity:0;}}.l16t34ge-loadingSausage::before{animation:OpacityAnim-l16t34ge-loadingSausage 2s ease-in-out 0s infinite alternate;}.l16t34ge-loadingSausage::after{animation:OpacityAnim-l16t34ge-loadingSausage 2s ease-in-out -2s infinite alternate;}
|
|
2
|
-
.
|
|
3
|
-
.
|
|
4
|
-
.
|
|
5
|
-
.l62e96j-loadingSausageWithAnimatedAppearance{animation:OpacityAnim-l62e96j-loadingSausageWithAnimatedAppearance 1s cubic-bezier(0.95, 0.05, 0.795, 0.035) 1;}@keyframes OpacityAnim-l62e96j-loadingSausageWithAnimatedAppearance{0%{opacity:0;}100%{opacity:1;}}
|
|
6
|
-
.c1ybuoqn-Container::before,.c1ybuoqn-Container::after{border-radius:var(--c1ybuoqn-0);}
|
|
1
|
+
.l16t34ge-loadingSausage{vertical-align:middle;position:relative;background:none;}.l16t34ge-loadingSausage::before,.l16t34ge-loadingSausage::after{content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0;}@keyframes OpacityAnim-l16t34ge-loadingSausage{0%{opacity:1;}100%{opacity:0;}}.l16t34ge-loadingSausage::before{background-image:linear-gradient(90deg, transparent 0%, var(--colorBgSkeleton) 100%);animation:OpacityAnim-l16t34ge-loadingSausage 2s ease-in-out 0s infinite alternate;}.l16t34ge-loadingSausage::after{background-image:linear-gradient(90deg, var(--colorBgSkeleton) 0%, transparent 100%);animation:OpacityAnim-l16t34ge-loadingSausage 2s ease-in-out -2s infinite alternate;}
|
|
2
|
+
.m9y52vn-margin{margin-top:4px;margin-bottom:4px;}
|
|
3
|
+
.l13a41xq-loadingSausageWithAnimatedAppearance{animation:OpacityAnim-l13a41xq-loadingSausageWithAnimatedAppearance 1s cubic-bezier(0.95, 0.05, 0.795, 0.035) 1;}@keyframes OpacityAnim-l13a41xq-loadingSausageWithAnimatedAppearance{0%{opacity:0;}100%{opacity:1;}}
|
|
4
|
+
.c1pjyqzf-Container::before,.c1pjyqzf-Container::after{border-radius:var(--c1pjyqzf-0);}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
.b1im33qq-basicPopup{box-shadow:var(--shadowPopup);border-radius:8px;background-color:var(--colorBgPopup);max-height:inherit;max-width:inherit;}
|
|
2
|
-
@keyframes slide-b15ujjn8-basicPopupContainer{from{opacity:0;transform:translate(var(--fibery-popup-slide-offset-x, 0), var(--fibery-popup-slide-offset-y, 0));}to{opacity:1;transform:translate(0);}}@media (prefers-reduced-motion: no-preference){.b15ujjn8-basicPopupContainer .b1im33qq-basicPopup{animation-duration:400ms;animation-timing-function:cubic-bezier(0.16, 1, 0.3, 1);animation-fill-mode:forwards;will-change:transform,opacity;animation-name:slide-b15ujjn8-basicPopupContainer;}.b15ujjn8-basicPopupContainer .b1im33qq-basicPopup[data-fix-stacking-context]{animation-name:none;will-change:unset;}.b15ujjn8-basicPopupContainer[data-popper-placement^="top"] .b1im33qq-basicPopup{--fibery-popup-slide-offset-y:2px;}.b15ujjn8-basicPopupContainer[data-popper-placement^="bottom"] .b1im33qq-basicPopup{--fibery-popup-slide-offset-y:-2px;}.b15ujjn8-basicPopupContainer[data-popper-placement^="left"] .b1im33qq-basicPopup{--fibery-popup-slide-offset-x:2px;}.b15ujjn8-basicPopupContainer[data-popper-placement^="right"] .b1im33qq-basicPopup{--fibery-popup-slide-offset-x:-2px;}}
|
|
2
|
+
.b15ujjn8-basicPopupContainer{width:max-content;}@keyframes slide-b15ujjn8-basicPopupContainer{from{opacity:0;transform:translate(var(--fibery-popup-slide-offset-x, 0), var(--fibery-popup-slide-offset-y, 0));}to{opacity:1;transform:translate(0);}}@media (prefers-reduced-motion: no-preference){.b15ujjn8-basicPopupContainer .b1im33qq-basicPopup{animation-duration:400ms;animation-timing-function:cubic-bezier(0.16, 1, 0.3, 1);animation-fill-mode:forwards;will-change:transform,opacity;animation-name:slide-b15ujjn8-basicPopupContainer;}.b15ujjn8-basicPopupContainer .b1im33qq-basicPopup[data-fix-stacking-context]{animation-name:none;will-change:unset;}.b15ujjn8-basicPopupContainer[data-popper-placement^="top"] .b1im33qq-basicPopup{--fibery-popup-slide-offset-y:2px;}.b15ujjn8-basicPopupContainer[data-popper-placement^="bottom"] .b1im33qq-basicPopup{--fibery-popup-slide-offset-y:-2px;}.b15ujjn8-basicPopupContainer[data-popper-placement^="left"] .b1im33qq-basicPopup{--fibery-popup-slide-offset-x:2px;}.b15ujjn8-basicPopupContainer[data-popper-placement^="right"] .b1im33qq-basicPopup{--fibery-popup-slide-offset-x:-2px;}}
|
|
3
3
|
.htbxrvo-hidePopupWhenTriggerIsHidden[data-popper-reference-hidden="true"]{visibility:hidden;pointer-events:none;}.htbxrvo-hidePopupWhenTriggerIsHidden[data-popper-reference-hidden="true"] *{visibility:hidden;}
|
|
@@ -50,8 +50,9 @@ function RootThemeProvider({ initialThemeMode, initialPreference, isArchitect =
|
|
|
50
50
|
isArchitect
|
|
51
51
|
}), [warm, isArchitect]);
|
|
52
52
|
const palette = useMemo(() => paletteOverride ?? truePalette, [paletteOverride, truePalette]);
|
|
53
|
+
const theme = themeFromPalette(palette, mode);
|
|
53
54
|
let res = /* @__PURE__ */ jsx(ThemeProvider, {
|
|
54
|
-
theme
|
|
55
|
+
theme,
|
|
55
56
|
children
|
|
56
57
|
});
|
|
57
58
|
const { themes: [lightThemeColors, darkThemeColors] } = locateThemeBundle(warm);
|