@sanity/ui 4.1.0 → 4.1.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/dist/{arrow-C6TlkggA.js → arrow-DKn5YKdy.js} +2 -2
- package/dist/{arrow-C6TlkggA.js.map → arrow-DKn5YKdy.js.map} +1 -1
- package/dist/autocomplete.d.ts +2 -2
- package/dist/autocomplete.d.ts.map +1 -1
- package/dist/autocomplete.js +5 -5
- package/dist/breadcrumbs.d.ts +2 -2
- package/dist/breadcrumbs.d.ts.map +1 -1
- package/dist/breadcrumbs.js +4 -4
- package/dist/{button-D3iEd7Je.js → button-Dh_M2fYx.js} +4 -4
- package/dist/{button-D3iEd7Je.js.map → button-Dh_M2fYx.js.map} +1 -1
- package/dist/code.d.ts +2 -2
- package/dist/code.d.ts.map +1 -1
- package/dist/{factory-BA3gEfyI.js → factory-BzXTX8_Q.js} +2 -2
- package/dist/{factory-BA3gEfyI.js.map → factory-BzXTX8_Q.js.map} +1 -1
- package/dist/{flex-CySCBzQm.js → flex-DmbDG2ks.js} +2 -2
- package/dist/{flex-CySCBzQm.js.map → flex-DmbDG2ks.js.map} +1 -1
- package/dist/{getElementRef-5HZQ-Owu.js → getElementRef-Jw7gY0eV.js} +13 -2
- package/dist/getElementRef-Jw7gY0eV.js.map +1 -0
- package/dist/{grid-I2TNptX-.js → grid-6JSgMj1O.js} +2 -2
- package/dist/{grid-I2TNptX-.js.map → grid-6JSgMj1O.js.map} +1 -1
- package/dist/{hotkeys-Bi6Q5963.js → hotkeys-uSArGPzR.js} +3 -3
- package/dist/{hotkeys-Bi6Q5963.js.map → hotkeys-uSArGPzR.js.map} +1 -1
- package/dist/index.d.ts +156 -156
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/{layer-BK7xWHcE.js → layer-BfwisMR6.js} +3 -3
- package/dist/{layer-BK7xWHcE.js.map → layer-BfwisMR6.js.map} +1 -1
- package/dist/menu.d.ts +6 -6
- package/dist/menu.d.ts.map +1 -1
- package/dist/menu.js +6 -6
- package/dist/menu.js.map +1 -1
- package/dist/{popover-CdBTZDvj.js → popover-myCXZV_F.js} +34 -33
- package/dist/popover-myCXZV_F.js.map +1 -0
- package/dist/popover.js +1 -1
- package/dist/{stack-BGFEokua.js → stack-rsNFPq2-.js} +2 -2
- package/dist/{stack-BGFEokua.js.map → stack-rsNFPq2-.js.map} +1 -1
- package/dist/{textInput-Bu3QuADZ.js → textInput-DAaORuky.js} +4 -4
- package/dist/{textInput-Bu3QuADZ.js.map → textInput-DAaORuky.js.map} +1 -1
- package/dist/theme.d.ts +33 -33
- package/dist/theme.d.ts.map +1 -1
- package/dist/theme.js +1 -1
- package/dist/toast.d.ts +4 -4
- package/dist/toast.d.ts.map +1 -1
- package/dist/toast.js +5 -5
- package/dist/tooltip.d.ts +5 -5
- package/dist/tooltip.d.ts.map +1 -1
- package/dist/tooltip.js +28 -27
- package/dist/tooltip.js.map +1 -1
- package/dist/{useLayer-jUJIz8mh.js → useLayer-D1usxIE0.js} +2 -2
- package/dist/{useLayer-jUJIz8mh.js.map → useLayer-D1usxIE0.js.map} +1 -1
- package/package.json +7 -7
- package/dist/getElementRef-5HZQ-Owu.js.map +0 -1
- package/dist/popover-CdBTZDvj.js.map +0 -1
package/dist/theme.d.ts
CHANGED
|
@@ -3,15 +3,15 @@ import { a as ThemeFontWeightKey, i as ThemeFontWeight, n as ThemeFontKey, o as
|
|
|
3
3
|
import { $ as ThemeColorInputState_v2, A as ThemeColorMutedTone, B as ThemeColorBase, C as ThemeColorSpotKey, D as ThemeColorSelectableState, E as ThemeColorSelectable, F as ThemeColorCardState, G as ThemeInput_v2, H as ThemeColorToneKey, I as ThemeColorButton, J as ThemeColorSchemes_v2, K as ThemeColorCard_v2, L as ThemeColorButtonState, M as ThemeColorInputState, N as ThemeColorInputStates, O as ThemeColorSelectableStates, P as ThemeColorCard, Q as ThemeColorInputMode_v2, R as ThemeColorButtonStates, S as ThemeColorSpot, T as ThemeColorSolidTone, U as ThemeColorGenericState, V as ThemeColorName, W as ThemeAvatar, X as ThemeColorSelectableTone_v2, Y as ThemeColorShadow, Z as ThemeColorSelectable_v2, _ as Theme_v2, _t as ThemeColorSyntax, a as rgbToHex, at as ThemeColorKBD, b as ThemeColorScheme, bt as RGBA, c as screen, ct as ThemeColorAvatarHue_v2, d as ThemeColorBuilderOpts, dt as ThemeFocusRing, et as ThemeColorInput_v2, f as createColorTheme, ft as ThemeStyles, g as Theme, gt as ThemeLayer, h as RootTheme_v2, ht as ThemeShadow, i as hslToRgb, it as ThemeColorState_v2, j as ThemeColorInput, k as ThemeColorMuted, l as multiply, lt as ThemeColorAvatar_v2, m as RootTheme, mt as ThemeBoxShadow, n as parseColor, nt as ThemeColorButtonTone_v2, o as rgbToHsl, ot as ThemeColorBadgeTone_v2, p as BaseTheme, pt as CSSObject, q as ThemeColorScheme_v2, r as hexToRgb, rt as ThemeColorButton_v2, s as rgbaToRGBA, st as ThemeColorBadge_v2, t as rgba, tt as ThemeColorButtonMode_v2, u as PartialThemeColorBuilderOpts, ut as ThemeAvatar_v2, v as ThemeInput, vt as HSL, w as ThemeColorSolid, x as ThemeColorSchemes, y as ThemeColor, yt as RGB, z as ThemeColorButtonTones } from "./rgba-BSYaEUW6.js";
|
|
4
4
|
import { ColorHueKey, ColorTint, ColorTintKey } from "@sanity/color";
|
|
5
5
|
/** @public */
|
|
6
|
-
declare const COLOR_CONFIG_STATE_KEYS: readonly ['_hue', 'bg', 'fg', 'border', 'focusRing', 'muted/fg', 'accent/fg', 'link/fg', 'code/bg', 'code/fg', 'skeleton/from', 'skeleton/to', 'status/dot', 'status/icon'];
|
|
6
|
+
export declare const COLOR_CONFIG_STATE_KEYS: readonly ['_hue', 'bg', 'fg', 'border', 'focusRing', 'muted/fg', 'accent/fg', 'link/fg', 'code/bg', 'code/fg', 'skeleton/from', 'skeleton/to', 'status/dot', 'status/icon'];
|
|
7
7
|
/** @public */
|
|
8
8
|
type ColorConfigStateKey = (typeof COLOR_CONFIG_STATE_KEYS)[number];
|
|
9
9
|
/** @public */
|
|
10
|
-
declare const COLOR_CONFIG_CARD_KEYS: readonly ["_hue", "bg", "fg", "border", "focusRing", "muted/fg", "accent/fg", "link/fg", "code/bg", "code/fg", "skeleton/from", "skeleton/to", "status/dot", "status/icon", "_hue", "bg", "fg", "border", "focusRing", "shadow/outline", "shadow/umbra", "shadow/penumbra", "shadow/ambient"];
|
|
10
|
+
export declare const COLOR_CONFIG_CARD_KEYS: readonly ["_hue", "bg", "fg", "border", "focusRing", "muted/fg", "accent/fg", "link/fg", "code/bg", "code/fg", "skeleton/from", "skeleton/to", "status/dot", "status/icon", "_hue", "bg", "fg", "border", "focusRing", "shadow/outline", "shadow/umbra", "shadow/penumbra", "shadow/ambient"];
|
|
11
11
|
/** @public */
|
|
12
12
|
type ColorConfigCardKey = (typeof COLOR_CONFIG_CARD_KEYS)[number];
|
|
13
13
|
/** @public */
|
|
14
|
-
declare const COLOR_CONFIG_BLEND_KEYS: readonly ['_blend'];
|
|
14
|
+
export declare const COLOR_CONFIG_BLEND_KEYS: readonly ['_blend'];
|
|
15
15
|
/** @public */
|
|
16
16
|
type ColorConfigBlendKey = (typeof COLOR_CONFIG_BLEND_KEYS)[number];
|
|
17
17
|
/** @public */
|
|
@@ -23,27 +23,27 @@ type ThemeColorTokenValue = [ColorConfigValue, ColorConfigValue];
|
|
|
23
23
|
/** @public */
|
|
24
24
|
type ColorBlendModeTokenValue = [ThemeColorBlendModeKey, ThemeColorBlendModeKey];
|
|
25
25
|
/** @public */
|
|
26
|
-
declare const COLOR_CONFIG_AVATAR_COLORS: readonly ["*", ...ColorHueKey[]];
|
|
26
|
+
export declare const COLOR_CONFIG_AVATAR_COLORS: readonly ["*", ...ColorHueKey[]];
|
|
27
27
|
/** @public */
|
|
28
28
|
type ColorConfigAvatarColor = (typeof COLOR_CONFIG_AVATAR_COLORS)[number];
|
|
29
29
|
/** @public */
|
|
30
|
-
declare const COLOR_CONFIG_CARD_TONES: readonly ["*", "transparent", "default", "neutral", "primary", "suggest", "positive", "caution", "critical"];
|
|
30
|
+
export declare const COLOR_CONFIG_CARD_TONES: readonly ["*", "transparent", "default", "neutral", "primary", "suggest", "positive", "caution", "critical"];
|
|
31
31
|
/** @public */
|
|
32
32
|
type ColorConfigCardTone = (typeof COLOR_CONFIG_CARD_TONES)[number];
|
|
33
33
|
/** @public */
|
|
34
|
-
declare const COLOR_CONFIG_STATE_TONES: readonly ["*", "default", "neutral", "primary", "suggest", "positive", "caution", "critical"];
|
|
34
|
+
export declare const COLOR_CONFIG_STATE_TONES: readonly ["*", "default", "neutral", "primary", "suggest", "positive", "caution", "critical"];
|
|
35
35
|
/** @public */
|
|
36
36
|
type ColorConfigStateTone = (typeof COLOR_CONFIG_STATE_TONES)[number];
|
|
37
37
|
/** @public */
|
|
38
|
-
declare const COLOR_CONFIG_STATES: readonly ["*", "enabled", "hovered", "pressed", "selected", "disabled"];
|
|
38
|
+
export declare const COLOR_CONFIG_STATES: readonly ["*", "enabled", "hovered", "pressed", "selected", "disabled"];
|
|
39
39
|
/** @public */
|
|
40
40
|
type ColorConfigState = (typeof COLOR_CONFIG_STATES)[number];
|
|
41
41
|
/** @public */
|
|
42
|
-
declare const COLOR_CONFIG_INPUT_MODES: readonly ["*", "default", "invalid"];
|
|
42
|
+
export declare const COLOR_CONFIG_INPUT_MODES: readonly ["*", "default", "invalid"];
|
|
43
43
|
/** @public */
|
|
44
44
|
type ColorConfigInputMode = (typeof COLOR_CONFIG_INPUT_MODES)[number];
|
|
45
45
|
/** @public */
|
|
46
|
-
declare const COLOR_CONFIG_INPUT_STATES: readonly ["*", "enabled", "hovered", "readOnly", "disabled"];
|
|
46
|
+
export declare const COLOR_CONFIG_INPUT_STATES: readonly ["*", "enabled", "hovered", "readOnly", "disabled"];
|
|
47
47
|
/** @public */
|
|
48
48
|
type ColorConfigInputState = (typeof COLOR_CONFIG_INPUT_STATES)[number];
|
|
49
49
|
/** @public */
|
|
@@ -192,30 +192,30 @@ interface ThemeConfig {
|
|
|
192
192
|
style?: ThemeStyles;
|
|
193
193
|
}
|
|
194
194
|
/** @internal */
|
|
195
|
-
declare function buildTheme(config?: ThemeConfig): RootTheme;
|
|
195
|
+
export declare function buildTheme(config?: ThemeConfig): RootTheme;
|
|
196
196
|
/**
|
|
197
197
|
* Apply the \`mix\` blend mode
|
|
198
198
|
* @internal
|
|
199
199
|
*/
|
|
200
|
-
declare function mix(b: RGB | RGBA, s: RGB | RGBA, weight: number): RGB;
|
|
200
|
+
export declare function mix(b: RGB | RGBA, s: RGB | RGBA, weight: number): RGB;
|
|
201
201
|
/** @internal */
|
|
202
|
-
declare function getContrastRatio(bg: string, fg: string): number;
|
|
202
|
+
export declare function getContrastRatio(bg: string, fg: string): number;
|
|
203
203
|
/** @internal */
|
|
204
|
-
declare function isColorConfigBaseTone(str: string): str is ColorConfigCardTone;
|
|
204
|
+
export declare function isColorConfigBaseTone(str: string): str is ColorConfigCardTone;
|
|
205
205
|
/** @internal */
|
|
206
|
-
declare function isColorConfigBaseKey(str: string): str is ColorConfigCardKey;
|
|
206
|
+
export declare function isColorConfigBaseKey(str: string): str is ColorConfigCardKey;
|
|
207
207
|
/** @internal */
|
|
208
|
-
declare function isColorConfigStateKey(str: string): str is ColorConfigStateKey;
|
|
208
|
+
export declare function isColorConfigStateKey(str: string): str is ColorConfigStateKey;
|
|
209
209
|
/** @internal */
|
|
210
|
-
declare function isColorConfigStateTone(str: string): str is ColorConfigStateTone;
|
|
210
|
+
export declare function isColorConfigStateTone(str: string): str is ColorConfigStateTone;
|
|
211
211
|
/** @internal */
|
|
212
|
-
declare function isColorConfigBlendKey(str: string): str is ColorConfigBlendKey;
|
|
212
|
+
export declare function isColorConfigBlendKey(str: string): str is ColorConfigBlendKey;
|
|
213
213
|
/** @internal */
|
|
214
|
-
declare function isColorTokenValue(str: string): str is ColorConfigValue;
|
|
214
|
+
export declare function isColorTokenValue(str: string): str is ColorConfigValue;
|
|
215
215
|
/** @internal */
|
|
216
|
-
declare function isColorValue(str: string): str is 'black' | 'white';
|
|
216
|
+
export declare function isColorValue(str: string): str is 'black' | 'white';
|
|
217
217
|
/** @internal */
|
|
218
|
-
declare function isColorOpacityValue(str: string): str is ColorConfigOpacityValue;
|
|
218
|
+
export declare function isColorOpacityValue(str: string): str is ColorConfigOpacityValue;
|
|
219
219
|
/** @internal */
|
|
220
220
|
interface TokenBaseKeyNode {
|
|
221
221
|
type: 'base';
|
|
@@ -253,28 +253,28 @@ interface TokenBlendModeValueNode {
|
|
|
253
253
|
/** @internal */
|
|
254
254
|
type TokenValueNode = TokenColorValueNode | TokenHueValueNode | TokenBlendModeValueNode;
|
|
255
255
|
/** @internal */
|
|
256
|
-
declare function parseTokenKey(str: string): TokenKeyNode | undefined;
|
|
256
|
+
export declare function parseTokenKey(str: string): TokenKeyNode | undefined;
|
|
257
257
|
/** @internal */
|
|
258
|
-
declare function parseTokenValue(str: string): TokenValueNode | undefined;
|
|
258
|
+
export declare function parseTokenValue(str: string): TokenValueNode | undefined;
|
|
259
259
|
/** @internal */
|
|
260
|
-
declare function getScopedTheme(themeProp: RootTheme | RootTheme_v2, scheme: ThemeColorSchemeKey, tone: ThemeColorCardToneKey): Theme;
|
|
260
|
+
export declare function getScopedTheme(themeProp: RootTheme | RootTheme_v2, scheme: ThemeColorSchemeKey, tone: ThemeColorCardToneKey): Theme;
|
|
261
261
|
/** @internal */
|
|
262
|
-
declare function isColorBlendModeValue(str: string): str is ThemeColorBlendModeKey;
|
|
262
|
+
export declare function isColorBlendModeValue(str: string): str is ThemeColorBlendModeKey;
|
|
263
263
|
/** @internal */
|
|
264
|
-
declare function isColorHueKey(str: string): str is ColorHueKey;
|
|
264
|
+
export declare function isColorHueKey(str: string): str is ColorHueKey;
|
|
265
265
|
/** @internal */
|
|
266
|
-
declare function isColorTintKey(str: string): str is ColorTintKey;
|
|
266
|
+
export declare function isColorTintKey(str: string): str is ColorTintKey;
|
|
267
267
|
/** @internal */
|
|
268
|
-
declare function isColorButtonMode(str: string): str is ThemeColorButtonModeKey;
|
|
268
|
+
export declare function isColorButtonMode(str: string): str is ThemeColorButtonModeKey;
|
|
269
269
|
/** @public */
|
|
270
|
-
declare function getTheme_v2(theme: Theme): Theme_v2;
|
|
270
|
+
export declare function getTheme_v2(theme: Theme): Theme_v2;
|
|
271
271
|
/** @internal */
|
|
272
|
-
declare function is_v0(themeProp: RootTheme | RootTheme_v2): themeProp is RootTheme;
|
|
272
|
+
export declare function is_v0(themeProp: RootTheme | RootTheme_v2): themeProp is RootTheme;
|
|
273
273
|
/** @internal */
|
|
274
|
-
declare function is_v2(themeProp: RootTheme | RootTheme_v2): themeProp is RootTheme_v2;
|
|
274
|
+
export declare function is_v2(themeProp: RootTheme | RootTheme_v2): themeProp is RootTheme_v2;
|
|
275
275
|
/** @internal */
|
|
276
|
-
declare function v0_v2(v0: RootTheme): RootTheme_v2;
|
|
276
|
+
export declare function v0_v2(v0: RootTheme): RootTheme_v2;
|
|
277
277
|
/** @internal */
|
|
278
|
-
declare function v2_v0(v2: RootTheme_v2): RootTheme;
|
|
279
|
-
export { type BaseTheme,
|
|
278
|
+
export declare function v2_v0(v2: RootTheme_v2): RootTheme;
|
|
279
|
+
export { type BaseTheme, type CSSObject, type ColorBlendModeTokenValue, type ColorConfigAvatarColor, type ColorConfigBlendKey, type ColorConfigCardKey, type ColorConfigCardTone, type ColorConfigInputMode, type ColorConfigInputState, type ColorConfigOpacityValue, type ColorConfigState, type ColorConfigStateKey, type ColorConfigStateTone, type ColorConfigValue, type HSL, type PartialThemeColorBuilderOpts, type RGB, type RGBA, type RootTheme, type RootTheme_v2, THEME_COLOR_AVATAR_COLORS, THEME_COLOR_BLEND_MODES, THEME_COLOR_BUTTON_MODES, THEME_COLOR_CARD_TONES, THEME_COLOR_INPUT_MODES, THEME_COLOR_INPUT_STATES, THEME_COLOR_SCHEMES, THEME_COLOR_STATES, THEME_COLOR_STATE_TONES, type Theme, type ThemeAvatar, type ThemeAvatar_v2, type ThemeBoxShadow, type ThemeColor, type ThemeColorAvatarColorKey, type ThemeColorAvatarHueTokens, type ThemeColorAvatarHue_v2, type ThemeColorAvatarTokens, type ThemeColorAvatar_v2, type ThemeColorBadgeTokens, type ThemeColorBadgeToneTokens, type ThemeColorBadgeTone_v2, type ThemeColorBadge_v2, type ThemeColorBase, type ThemeColorBaseTokens, type ThemeColorBlendModeKey, type ThemeColorBuilderOpts, type ThemeColorButton, type ThemeColorButtonModeKey, type ThemeColorButtonMode_v2, type ThemeColorButtonState, type ThemeColorButtonStates, type ThemeColorButtonTokens, type ThemeColorButtonTone_v2, type ThemeColorButtonTones, type ThemeColorButton_v2, type ThemeColorCard, type ThemeColorCardState, type ThemeColorCardToneKey, type ThemeColorCard_v2, type ThemeColorGenericState, type ThemeColorInput, type ThemeColorInputModeKey, type ThemeColorInputMode_v2, type ThemeColorInputState, type ThemeColorInputStateKey, type ThemeColorInputStateTokens, type ThemeColorInputState_v2, type ThemeColorInputStates, type ThemeColorInputTokens, type ThemeColorInput_v2, type ThemeColorKBD, type ThemeColorMuted, type ThemeColorMutedTone, type ThemeColorName, type ThemeColorPalette, type ThemeColorScheme, type ThemeColorSchemeKey, type ThemeColorScheme_v2, type ThemeColorSchemes, type ThemeColorSchemes_v2, type ThemeColorSelectable, type ThemeColorSelectableState, type ThemeColorSelectableStates, type ThemeColorSelectableTone_v2, type ThemeColorSelectable_v2, type ThemeColorShadow, type ThemeColorSolid, type ThemeColorSolidTone, type ThemeColorSpot, type ThemeColorSpotKey, type ThemeColorStateKey, type ThemeColorStateTokens, type ThemeColorStateToneKey, type ThemeColorState_v2, type ThemeColorStatesTokens, type ThemeColorSyntax, type ThemeColorTokenValue, type ThemeColorTokens, type ThemeColorToneKey, type ThemeConfig, type ThemeFocusRing, type ThemeFont, type ThemeFontKey, type ThemeFontSize, type ThemeFontWeight, type ThemeFontWeightKey, type ThemeFonts, type ThemeInput, type ThemeInput_v2, type ThemeLayer, type ThemeShadow, type ThemeStyles, type Theme_v2, type TokenBaseKeyNode, type TokenBlendModeValueNode, type TokenButtonKeyNode, type TokenColorValueNode, type TokenHueValueNode, type TokenKeyNode, type TokenValueNode, createColorTheme, hexToRgb, hslToRgb, multiply, parseColor, rgbToHex, rgbToHsl, rgba, rgbaToRGBA, screen };
|
|
280
280
|
//# sourceMappingURL=theme.d.ts.map
|
package/dist/theme.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","names":[],"sources":["../src/theme/config/system.ts","../src/theme/config/tokens/color/types.ts","../src/theme/config/types.ts","../src/theme/build/buildTheme.ts","../src/theme/build/lib/color-fns/blend/mix.ts","../src/theme/build/lib/color-fns/contrastRatio.ts","../src/theme/config/helpers.ts","../src/theme/config/tokens/types.ts","../src/theme/config/tokens/parseTokenKey.ts","../src/theme/config/tokens/parseTokenValue.ts","../src/theme/getScopedTheme.ts","../src/theme/system/color/_helpers.ts","../src/theme/versioning/getTheme_v2.ts","../src/theme/versioning/is_v0.ts","../src/theme/versioning/is_v2.ts","../src/theme/versioning/v0_v2.ts","../src/theme/versioning/v2_v0.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"theme.d.ts","names":[],"sources":["../src/theme/config/system.ts","../src/theme/config/tokens/color/types.ts","../src/theme/config/types.ts","../src/theme/build/buildTheme.ts","../src/theme/build/lib/color-fns/blend/mix.ts","../src/theme/build/lib/color-fns/contrastRatio.ts","../src/theme/config/helpers.ts","../src/theme/config/tokens/types.ts","../src/theme/config/tokens/parseTokenKey.ts","../src/theme/config/tokens/parseTokenValue.ts","../src/theme/getScopedTheme.ts","../src/theme/system/color/_helpers.ts","../src/theme/versioning/getTheme_v2.ts","../src/theme/versioning/is_v0.ts","../src/theme/versioning/is_v2.ts","../src/theme/versioning/v0_v2.ts","../src/theme/versioning/v2_v0.ts"],"mappings":"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"}
|
package/dist/theme.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as getTheme_v2 } from "./getTheme_v2-y09KqtEb.js";
|
|
2
2
|
import { i as is_v2, n as v2_v0, r as v0_v2, t as getScopedTheme } from "./getScopedTheme-C-sZsyAz.js";
|
|
3
|
-
import { A as COLOR_CONFIG_STATE_TONES, B as THEME_COLOR_INPUT_STATES, C as COLOR_CONFIG_BLEND_KEYS, D as COLOR_CONFIG_INPUT_STATES, E as COLOR_CONFIG_INPUT_MODES, F as THEME_COLOR_AVATAR_COLORS, H as THEME_COLOR_STATES, I as THEME_COLOR_BLEND_MODES, L as THEME_COLOR_BUTTON_MODES, M as isColorButtonMode, N as isColorHueKey, O as COLOR_CONFIG_STATES, P as isColorTintKey, R as THEME_COLOR_CARD_TONES, S as COLOR_CONFIG_AVATAR_COLORS, T as COLOR_CONFIG_CARD_TONES, U as THEME_COLOR_STATE_TONES, V as THEME_COLOR_SCHEMES, _ as isColorConfigStateKey, a as rgba, b as isColorTokenValue, c as hslToRgb, d as rgbaToRGBA, f as mix, g as isColorConfigBlendKey, h as isColorConfigBaseTone, i as multiply, j as isColorBlendModeValue, k as COLOR_CONFIG_STATE_KEYS, l as rgbToHex, m as isColorConfigBaseKey, n as buildTheme, o as parseColor, p as parseTokenValue, r as screen, s as hexToRgb, t as createColorTheme, u as rgbToHsl, v as isColorConfigStateTone, w as COLOR_CONFIG_CARD_KEYS, x as isColorValue, y as isColorOpacityValue, z as THEME_COLOR_INPUT_MODES } from "./factory-
|
|
3
|
+
import { A as COLOR_CONFIG_STATE_TONES, B as THEME_COLOR_INPUT_STATES, C as COLOR_CONFIG_BLEND_KEYS, D as COLOR_CONFIG_INPUT_STATES, E as COLOR_CONFIG_INPUT_MODES, F as THEME_COLOR_AVATAR_COLORS, H as THEME_COLOR_STATES, I as THEME_COLOR_BLEND_MODES, L as THEME_COLOR_BUTTON_MODES, M as isColorButtonMode, N as isColorHueKey, O as COLOR_CONFIG_STATES, P as isColorTintKey, R as THEME_COLOR_CARD_TONES, S as COLOR_CONFIG_AVATAR_COLORS, T as COLOR_CONFIG_CARD_TONES, U as THEME_COLOR_STATE_TONES, V as THEME_COLOR_SCHEMES, _ as isColorConfigStateKey, a as rgba, b as isColorTokenValue, c as hslToRgb, d as rgbaToRGBA, f as mix, g as isColorConfigBlendKey, h as isColorConfigBaseTone, i as multiply, j as isColorBlendModeValue, k as COLOR_CONFIG_STATE_KEYS, l as rgbToHex, m as isColorConfigBaseKey, n as buildTheme, o as parseColor, p as parseTokenValue, r as screen, s as hexToRgb, t as createColorTheme, u as rgbToHsl, v as isColorConfigStateTone, w as COLOR_CONFIG_CARD_KEYS, x as isColorValue, y as isColorOpacityValue, z as THEME_COLOR_INPUT_MODES } from "./factory-BzXTX8_Q.js";
|
|
4
4
|
/** @internal */
|
|
5
5
|
function getContrastRatio(bg, fg) {
|
|
6
6
|
let rgb1 = parseColor(bg), rgb2 = parseColor(fg), c1 = rgb_lrgb(rgb1), c2 = rgb_lrgb(rgb2), l1 = lrgb_luminance(c1), l2 = lrgb_luminance(c2);
|
package/dist/toast.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ interface ToastProps {
|
|
|
18
18
|
*
|
|
19
19
|
* @public
|
|
20
20
|
*/
|
|
21
|
-
declare function Toast(props: ToastProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'height' | 'ref' | 'title' | 'onAnimationStart' | 'onDragStart' | 'onDragEnd' | 'onDrag'>): React.JSX.Element;
|
|
21
|
+
export declare function Toast(props: ToastProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'height' | 'ref' | 'title' | 'onAnimationStart' | 'onDragStart' | 'onDragEnd' | 'onDrag'>): React.JSX.Element;
|
|
22
22
|
/**
|
|
23
23
|
* @public
|
|
24
24
|
*/
|
|
@@ -39,7 +39,7 @@ interface ToastProviderProps extends Omit<ToastLayerProps, 'children'> {
|
|
|
39
39
|
/**
|
|
40
40
|
* @public
|
|
41
41
|
*/
|
|
42
|
-
declare function ToastProvider(props: ToastProviderProps): React.JSX.Element;
|
|
42
|
+
export declare function ToastProvider(props: ToastProviderProps): React.JSX.Element;
|
|
43
43
|
/**
|
|
44
44
|
* @public
|
|
45
45
|
*/
|
|
@@ -68,6 +68,6 @@ interface ToastContextValue {
|
|
|
68
68
|
/**
|
|
69
69
|
* @public
|
|
70
70
|
*/
|
|
71
|
-
declare function useToast(): ToastContextValue;
|
|
72
|
-
export {
|
|
71
|
+
export declare function useToast(): ToastContextValue;
|
|
72
|
+
export type { ToastContextValue, ToastParams, ToastProps, ToastProviderProps };
|
|
73
73
|
//# sourceMappingURL=toast.d.ts.map
|
package/dist/toast.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.d.ts","names":[],"sources":["../src/core/components/toast/toast.tsx","../src/core/components/toast/toastLayer.tsx","../src/core/components/toast/toastProvider.tsx","../src/core/components/toast/types.ts","../src/core/components/toast/useToast.ts"],"mappings":"AAoBA;;;UAAiB;EACf;EACA,cAAc,MAAM;EACpB;EACA;EACA,QAAQ,MAAM;EACd;EACA;EACA;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"toast.d.ts","names":[],"sources":["../src/core/components/toast/toast.tsx","../src/core/components/toast/toastLayer.tsx","../src/core/components/toast/toastProvider.tsx","../src/core/components/toast/types.ts","../src/core/components/toast/useToast.ts"],"mappings":"AAoBA;;;UAAiB;EACf;EACA,cAAc,MAAM;EACpB;EACA;EACA,QAAQ,MAAM;EACd;EACA;EACA;;;;;;;;;wBAqBc,MACd,OAAO,aACL,KACE,MAAM,UAAU,oHAUnB,MAAM,IAAI;;;;UCtDI;EACf,UAAU,MAAM;EAChB;EACA;EACA;EACA;;;;;UCQe,2BAA2B,KAAK;EAC/C,WAAW,MAAM;EACjB;;;;;wBAMc,cAAc,OAAO,qBAAqB,MAAM,IAAI;;;;UC1BnD;EACf;EACA,cAAc,MAAM;EACpB;EACA;EACA;EACA,QAAQ,MAAM;EACd;;;;;UAMe;EACf;;;;;;;EAOA,OAAO,QAAQ;;;;;wBCfD,YAAY"}
|
package/dist/toast.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { _ as useTheme_v2, d as createGlobalScopedContext, i as usePrefersReducedMotion, n as LayerProvider, r as isRecord, s as Card, t as useLayer, y as Box } from "./useLayer-
|
|
3
|
-
import { t as Flex } from "./flex-
|
|
4
|
-
import { n as Text, t as Stack } from "./stack-
|
|
5
|
-
import { t as Button } from "./button-
|
|
6
|
-
import { t as Grid } from "./grid-
|
|
2
|
+
import { _ as useTheme_v2, d as createGlobalScopedContext, i as usePrefersReducedMotion, n as LayerProvider, r as isRecord, s as Card, t as useLayer, y as Box } from "./useLayer-D1usxIE0.js";
|
|
3
|
+
import { t as Flex } from "./flex-DmbDG2ks.js";
|
|
4
|
+
import { n as Text, t as Stack } from "./stack-rsNFPq2-.js";
|
|
5
|
+
import { t as Button } from "./button-Dh_M2fYx.js";
|
|
6
|
+
import { t as Grid } from "./grid-6JSgMj1O.js";
|
|
7
7
|
import { c } from "react/compiler-runtime";
|
|
8
8
|
import { clsx } from "clsx/lite";
|
|
9
9
|
import { startTransition, useContext, useState, useSyncExternalStore } from "react";
|
package/dist/tooltip.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ interface TooltipProps extends Omit<LayerProps, 'as'> {
|
|
|
43
43
|
*
|
|
44
44
|
* @public
|
|
45
45
|
*/
|
|
46
|
-
declare function Tooltip(props: TooltipProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'children' | 'content'>): import("react").JSX.Element;
|
|
46
|
+
export declare function Tooltip(props: TooltipProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'children' | 'content'>): import("react").JSX.Element;
|
|
47
47
|
/**
|
|
48
48
|
* @beta
|
|
49
49
|
*/
|
|
@@ -57,7 +57,7 @@ interface TooltipDelayGroupContextValue {
|
|
|
57
57
|
/**
|
|
58
58
|
* @beta
|
|
59
59
|
*/
|
|
60
|
-
declare const TooltipDelayGroupContext: import("react").Context<TooltipDelayGroupContextValue | null>;
|
|
60
|
+
export declare const TooltipDelayGroupContext: import("react").Context<TooltipDelayGroupContextValue | null>;
|
|
61
61
|
/**
|
|
62
62
|
* @public
|
|
63
63
|
* */
|
|
@@ -79,10 +79,10 @@ interface TooltipDelayGroupProviderProps {
|
|
|
79
79
|
* Provides context for a group of tooltip elements that should share a delay
|
|
80
80
|
* which temporarily becomes 1 ms after the first floating element of the group opens.
|
|
81
81
|
*/
|
|
82
|
-
declare function TooltipDelayGroupProvider(props: TooltipDelayGroupProviderProps): React.JSX.Element;
|
|
82
|
+
export declare function TooltipDelayGroupProvider(props: TooltipDelayGroupProviderProps): React.JSX.Element;
|
|
83
83
|
/**
|
|
84
84
|
* @beta
|
|
85
85
|
*/
|
|
86
|
-
declare function useTooltipDelayGroup(): TooltipDelayGroupContextValue | null;
|
|
87
|
-
export {
|
|
86
|
+
export declare function useTooltipDelayGroup(): TooltipDelayGroupContextValue | null;
|
|
87
|
+
export type { TooltipDelayGroupContextValue, TooltipDelayGroupProviderProps, TooltipProps };
|
|
88
88
|
//# sourceMappingURL=tooltip.d.ts.map
|
package/dist/tooltip.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","names":[],"sources":["../src/core/primitives/tooltip/tooltip.tsx","../src/core/primitives/tooltip/tooltipDelayGroup/types.ts","../src/core/primitives/tooltip/tooltipDelayGroup/tooltipDelayGroupContext.tsx","../src/core/primitives/tooltip/tooltipDelayGroup/tooltipDelayGroupProvider.tsx","../src/core/primitives/tooltip/tooltipDelayGroup/useTooltipDelayGroup.ts"],"mappings":";;;;;UAyDiB,qBAAqB,KAAK;;EAEzC;EACA;EACA,kBAAkB;EAClB,WAAW,MAAM,IAAI;EACrB,UAAU,MAAM;EAChB;EACA,qBAAqB;EACrB;EACA,YAAY;;EAEZ;EACA;EACA,SAAS;EACT;;;;;;;;;;;EAWA,QAAQ;;;;;;;EAOR;;;;;;;
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","names":[],"sources":["../src/core/primitives/tooltip/tooltip.tsx","../src/core/primitives/tooltip/tooltipDelayGroup/types.ts","../src/core/primitives/tooltip/tooltipDelayGroup/tooltipDelayGroupContext.tsx","../src/core/primitives/tooltip/tooltipDelayGroup/tooltipDelayGroupProvider.tsx","../src/core/primitives/tooltip/tooltipDelayGroup/useTooltipDelayGroup.ts"],"mappings":";;;;;UAyDiB,qBAAqB,KAAK;;EAEzC;EACA;EACA,kBAAkB;EAClB,WAAW,MAAM,IAAI;EACrB,UAAU,MAAM;EAChB;EACA,qBAAqB;EACrB;EACA,YAAY;;EAEZ;EACA;EACA,SAAS;EACT;;;;;;;;;;;EAWA,QAAQ;;;;;;;EAOR;;;;;;;wBAQc,QACd,OAAO,eAAe,KAAK,MAAM,UAAU,kEAA+C,IAAA;;;;UChG3E;EAEf,mBAAmB,WAAW,MAAM,yBAAyB;EAE7D,mBAAmB,uBAAuB;EAC1C;EACA;EACA;;;;;qBCJW,0CAAwB,QAAA;;;;UCIpB;EACf,WAAW,MAAM;;;;;;;;;;EAUjB,OAAO;;;;;;;wBAQO,0BACd,OAAO,iCACN,MAAM,IAAI;;;;wBCvBG,wBAAwB"}
|
package/dist/tooltip.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { c as POPOVER_MOTION_PROPS, n as _getArrayProp } from "./helpers-C8xxXAQC.js";
|
|
3
|
-
import { _ as useTheme_v2, d as createGlobalScopedContext, i as usePrefersReducedMotion, s as Card } from "./useLayer-
|
|
4
|
-
import { n as AnimateActivity, r as
|
|
5
|
-
import { a as useBoundaryElement, n as Portal, r as usePortal, t as Arrow } from "./arrow-
|
|
6
|
-
import { t as Layer } from "./layer-
|
|
3
|
+
import { _ as useTheme_v2, d as createGlobalScopedContext, i as usePrefersReducedMotion, s as Card } from "./useLayer-D1usxIE0.js";
|
|
4
|
+
import { i as origin, n as AnimateActivity, r as getTransformOrigin, t as getElementRef } from "./getElementRef-Jw7gY0eV.js";
|
|
5
|
+
import { a as useBoundaryElement, n as Portal, r as usePortal, t as Arrow } from "./arrow-DKn5YKdy.js";
|
|
6
|
+
import { t as Layer } from "./layer-BfwisMR6.js";
|
|
7
7
|
import { c } from "react/compiler-runtime";
|
|
8
8
|
import { clsx } from "clsx/lite";
|
|
9
9
|
import { Activity, cloneElement, useContext, useEffect, useId, useImperativeHandle, useLayoutEffect, useRef, useState } from "react";
|
|
@@ -122,35 +122,36 @@ const MotionCard = motion.create(Card);
|
|
|
122
122
|
* @internal
|
|
123
123
|
*/
|
|
124
124
|
function TooltipCard(props) {
|
|
125
|
-
let $ = c(
|
|
125
|
+
let $ = c(47), animate, arrow, arrowRef, arrowX, arrowY, children, className, originX, originY, padding, placement, radius, ref, restProps, scheme, shadow, style;
|
|
126
126
|
$[0] === props ? (animate = $[1], arrow = $[2], arrowRef = $[3], arrowX = $[4], arrowY = $[5], children = $[6], className = $[7], originX = $[8], originY = $[9], padding = $[10], placement = $[11], radius = $[12], ref = $[13], restProps = $[14], scheme = $[15], shadow = $[16], style = $[17]) : ({animate, arrow, arrowRef, arrowX, arrowY, children, className, originX, originY, padding, placement, radius, ref, scheme, shadow, style, ...restProps} = props, $[0] = props, $[1] = animate, $[2] = arrow, $[3] = arrowRef, $[4] = arrowX, $[5] = arrowY, $[6] = children, $[7] = className, $[8] = originX, $[9] = originY, $[10] = padding, $[11] = placement, $[12] = radius, $[13] = ref, $[14] = restProps, $[15] = scheme, $[16] = shadow, $[17] = style);
|
|
127
|
-
let t0
|
|
128
|
-
$[18] !== originX || $[19] !== originY
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
127
|
+
let t0;
|
|
128
|
+
$[18] !== originX || $[19] !== originY ? (t0 = getTransformOrigin(originX, originY), $[18] = originX, $[19] = originY, $[20] = t0) : t0 = $[20];
|
|
129
|
+
let t1 = animate ? "transform" : void 0, t2;
|
|
130
|
+
$[21] !== style || $[22] !== t0 || $[23] !== t1 ? (t2 = {
|
|
131
|
+
transformOrigin: t0,
|
|
132
|
+
willChange: t1,
|
|
132
133
|
...style
|
|
133
|
-
}, $[
|
|
134
|
-
let rootStyle =
|
|
135
|
-
$[
|
|
136
|
-
left:
|
|
137
|
-
top:
|
|
134
|
+
}, $[21] = style, $[22] = t0, $[23] = t1, $[24] = t2) : t2 = $[24];
|
|
135
|
+
let rootStyle = t2, t3 = arrowX === null ? void 0 : arrowX, t4 = arrowY === null ? void 0 : arrowY, t5;
|
|
136
|
+
$[25] !== t3 || $[26] !== t4 ? (t5 = {
|
|
137
|
+
left: t3,
|
|
138
|
+
top: t4,
|
|
138
139
|
right: void 0,
|
|
139
140
|
bottom: void 0
|
|
140
|
-
}, $[
|
|
141
|
-
let arrowStyle =
|
|
142
|
-
$[
|
|
143
|
-
let
|
|
144
|
-
$[
|
|
141
|
+
}, $[25] = t3, $[26] = t4, $[27] = t5) : t5 = $[27];
|
|
142
|
+
let arrowStyle = t5, t6;
|
|
143
|
+
$[28] === className ? t6 = $[29] : (t6 = clsx(tooltipCard, className), $[28] = className, $[29] = t6);
|
|
144
|
+
let t7 = animate ? POPOVER_MOTION_PROPS : void 0, t8;
|
|
145
|
+
$[30] !== arrow || $[31] !== arrowRef || $[32] !== arrowStyle ? (t8 = arrow && /* @__PURE__ */ jsx(Arrow, {
|
|
145
146
|
ref: arrowRef,
|
|
146
147
|
style: arrowStyle,
|
|
147
148
|
width: 15,
|
|
148
149
|
height: 6,
|
|
149
150
|
radius: 2
|
|
150
|
-
}), $[
|
|
151
|
-
let
|
|
152
|
-
return $[
|
|
153
|
-
className:
|
|
151
|
+
}), $[30] = arrow, $[31] = arrowRef, $[32] = arrowStyle, $[33] = t8) : t8 = $[33];
|
|
152
|
+
let t9;
|
|
153
|
+
return $[34] !== children || $[35] !== padding || $[36] !== placement || $[37] !== radius || $[38] !== ref || $[39] !== restProps || $[40] !== rootStyle || $[41] !== scheme || $[42] !== shadow || $[43] !== t6 || $[44] !== t7 || $[45] !== t8 ? (t9 = /* @__PURE__ */ jsxs(MotionCard, {
|
|
154
|
+
className: t6,
|
|
154
155
|
"data-ui": "Tooltip__card",
|
|
155
156
|
...restProps,
|
|
156
157
|
"data-placement": placement,
|
|
@@ -160,9 +161,9 @@ function TooltipCard(props) {
|
|
|
160
161
|
scheme,
|
|
161
162
|
shadow,
|
|
162
163
|
style: rootStyle,
|
|
163
|
-
...
|
|
164
|
-
children: [children,
|
|
165
|
-
}), $[
|
|
164
|
+
...t7,
|
|
165
|
+
children: [children, t8]
|
|
166
|
+
}), $[34] = children, $[35] = padding, $[36] = placement, $[37] = radius, $[38] = ref, $[39] = restProps, $[40] = rootStyle, $[41] = scheme, $[42] = shadow, $[43] = t6, $[44] = t7, $[45] = t8, $[46] = t9) : t9 = $[46], t9;
|
|
166
167
|
}
|
|
167
168
|
/**
|
|
168
169
|
* @beta
|