@yahoo/uds-mobile 2.14.0 → 2.16.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/README.md +27 -24
- package/dist/components/Avatar/Avatar.cjs +45 -0
- package/dist/components/Avatar/Avatar.d.cts +19 -0
- package/dist/components/Avatar/Avatar.d.cts.map +1 -0
- package/dist/components/Avatar/Avatar.d.ts +19 -0
- package/dist/components/Avatar/Avatar.d.ts.map +1 -0
- package/dist/components/Avatar/Avatar.js +45 -0
- package/dist/components/Avatar/Avatar.js.map +1 -0
- package/dist/components/Avatar/AvatarIcon.cjs +47 -0
- package/dist/components/Avatar/AvatarIcon.d.cts +9 -0
- package/dist/components/Avatar/AvatarIcon.d.cts.map +1 -0
- package/dist/components/Avatar/AvatarIcon.d.ts +9 -0
- package/dist/components/Avatar/AvatarIcon.d.ts.map +1 -0
- package/dist/components/Avatar/AvatarIcon.js +47 -0
- package/dist/components/Avatar/AvatarIcon.js.map +1 -0
- package/dist/components/Avatar/AvatarImage.cjs +81 -0
- package/dist/components/Avatar/AvatarImage.d.cts +9 -0
- package/dist/components/Avatar/AvatarImage.d.cts.map +1 -0
- package/dist/components/Avatar/AvatarImage.d.ts +9 -0
- package/dist/components/Avatar/AvatarImage.d.ts.map +1 -0
- package/dist/components/Avatar/AvatarImage.js +81 -0
- package/dist/components/Avatar/AvatarImage.js.map +1 -0
- package/dist/components/Avatar/AvatarText.cjs +49 -0
- package/dist/components/Avatar/AvatarText.d.cts +9 -0
- package/dist/components/Avatar/AvatarText.d.cts.map +1 -0
- package/dist/components/Avatar/AvatarText.d.ts +9 -0
- package/dist/components/Avatar/AvatarText.d.ts.map +1 -0
- package/dist/components/Avatar/AvatarText.js +49 -0
- package/dist/components/Avatar/AvatarText.js.map +1 -0
- package/dist/components/Avatar/index.cjs +10 -0
- package/dist/components/Avatar/index.d.cts +7 -0
- package/dist/components/Avatar/index.d.ts +7 -0
- package/dist/components/Avatar/index.js +6 -0
- package/dist/components/Avatar/types.cjs +1 -0
- package/dist/components/Avatar/types.d.cts +28 -0
- package/dist/components/Avatar/types.d.cts.map +1 -0
- package/dist/components/Avatar/types.d.ts +28 -0
- package/dist/components/Avatar/types.d.ts.map +1 -0
- package/dist/components/Avatar/types.js +1 -0
- package/dist/components/Avatar/utils.cjs +38 -0
- package/dist/components/Avatar/utils.d.cts +14 -0
- package/dist/components/Avatar/utils.d.cts.map +1 -0
- package/dist/components/Avatar/utils.d.ts +14 -0
- package/dist/components/Avatar/utils.d.ts.map +1 -0
- package/dist/components/Avatar/utils.js +35 -0
- package/dist/components/Avatar/utils.js.map +1 -0
- package/dist/components/Badge.cjs +1 -1
- package/dist/components/Badge.js +1 -1
- package/dist/components/Chip/Chip.cjs +54 -0
- package/dist/components/Chip/Chip.d.cts +19 -0
- package/dist/components/Chip/Chip.d.cts.map +1 -0
- package/dist/components/Chip/Chip.d.ts +19 -0
- package/dist/components/Chip/Chip.d.ts.map +1 -0
- package/dist/components/Chip/Chip.js +54 -0
- package/dist/components/Chip/Chip.js.map +1 -0
- package/dist/components/Chip/ChipBase.cjs +119 -0
- package/dist/components/Chip/ChipBase.d.cts +13 -0
- package/dist/components/Chip/ChipBase.d.cts.map +1 -0
- package/dist/components/Chip/ChipBase.d.ts +13 -0
- package/dist/components/Chip/ChipBase.d.ts.map +1 -0
- package/dist/components/Chip/ChipBase.js +116 -0
- package/dist/components/Chip/ChipBase.js.map +1 -0
- package/dist/components/Chip/ChipButton.cjs +18 -0
- package/dist/components/Chip/ChipButton.d.cts +9 -0
- package/dist/components/Chip/ChipButton.d.cts.map +1 -0
- package/dist/components/Chip/ChipButton.d.ts +9 -0
- package/dist/components/Chip/ChipButton.d.ts.map +1 -0
- package/dist/components/Chip/ChipButton.js +18 -0
- package/dist/components/Chip/ChipButton.js.map +1 -0
- package/dist/components/Chip/ChipDismissible.cjs +49 -0
- package/dist/components/Chip/ChipDismissible.d.cts +9 -0
- package/dist/components/Chip/ChipDismissible.d.cts.map +1 -0
- package/dist/components/Chip/ChipDismissible.d.ts +9 -0
- package/dist/components/Chip/ChipDismissible.d.ts.map +1 -0
- package/dist/components/Chip/ChipDismissible.js +49 -0
- package/dist/components/Chip/ChipDismissible.js.map +1 -0
- package/dist/components/Chip/ChipToggle.cjs +32 -0
- package/dist/components/Chip/ChipToggle.d.cts +9 -0
- package/dist/components/Chip/ChipToggle.d.cts.map +1 -0
- package/dist/components/Chip/ChipToggle.d.ts +9 -0
- package/dist/components/Chip/ChipToggle.d.ts.map +1 -0
- package/dist/components/Chip/ChipToggle.js +32 -0
- package/dist/components/Chip/ChipToggle.js.map +1 -0
- package/dist/components/Chip/chipTheme.cjs +23 -0
- package/dist/components/Chip/chipTheme.d.cts +14 -0
- package/dist/components/Chip/chipTheme.d.cts.map +1 -0
- package/dist/components/Chip/chipTheme.d.ts +14 -0
- package/dist/components/Chip/chipTheme.d.ts.map +1 -0
- package/dist/components/Chip/chipTheme.js +24 -0
- package/dist/components/Chip/chipTheme.js.map +1 -0
- package/dist/components/Chip/index.cjs +10 -0
- package/dist/components/Chip/index.d.cts +7 -0
- package/dist/components/Chip/index.d.ts +7 -0
- package/dist/components/Chip/index.js +6 -0
- package/dist/components/Chip/types.cjs +1 -0
- package/dist/components/Chip/types.d.cts +76 -0
- package/dist/components/Chip/types.d.cts.map +1 -0
- package/dist/components/Chip/types.d.ts +76 -0
- package/dist/components/Chip/types.d.ts.map +1 -0
- package/dist/components/Chip/types.js +1 -0
- package/dist/components/Input.cjs +17 -14
- package/dist/components/Input.d.cts.map +1 -1
- package/dist/components/Input.d.ts.map +1 -1
- package/dist/components/Input.js +17 -14
- package/dist/components/Input.js.map +1 -1
- package/dist/components/InputHelpText.cjs +52 -0
- package/dist/components/InputHelpText.d.cts +37 -0
- package/dist/components/InputHelpText.d.cts.map +1 -0
- package/dist/components/InputHelpText.d.ts +37 -0
- package/dist/components/InputHelpText.d.ts.map +1 -0
- package/dist/components/InputHelpText.js +52 -0
- package/dist/components/InputHelpText.js.map +1 -0
- package/dist/components/internal/Overlay/OverlayPortal.cjs +20 -0
- package/dist/components/internal/Overlay/OverlayPortal.d.cts +17 -0
- package/dist/components/internal/Overlay/OverlayPortal.d.cts.map +1 -0
- package/dist/components/internal/Overlay/OverlayPortal.d.ts +17 -0
- package/dist/components/internal/Overlay/OverlayPortal.d.ts.map +1 -0
- package/dist/components/internal/Overlay/OverlayPortal.js +20 -0
- package/dist/components/internal/Overlay/OverlayPortal.js.map +1 -0
- package/dist/components/internal/Overlay/index.cjs +6 -0
- package/dist/components/internal/Overlay/index.d.cts +5 -0
- package/dist/components/internal/Overlay/index.d.ts +5 -0
- package/dist/components/internal/Overlay/index.js +4 -0
- package/dist/components/internal/Overlay/types.cjs +1 -0
- package/dist/components/internal/Overlay/types.d.cts +21 -0
- package/dist/components/internal/Overlay/types.d.cts.map +1 -0
- package/dist/components/internal/Overlay/types.d.ts +21 -0
- package/dist/components/internal/Overlay/types.d.ts.map +1 -0
- package/dist/components/internal/Overlay/types.js +1 -0
- package/dist/components/internal/Overlay/useControllableState.cjs +34 -0
- package/dist/components/internal/Overlay/useControllableState.d.cts +18 -0
- package/dist/components/internal/Overlay/useControllableState.d.cts.map +1 -0
- package/dist/components/internal/Overlay/useControllableState.d.ts +18 -0
- package/dist/components/internal/Overlay/useControllableState.d.ts.map +1 -0
- package/dist/components/internal/Overlay/useControllableState.js +34 -0
- package/dist/components/internal/Overlay/useControllableState.js.map +1 -0
- package/dist/portal.cjs +1 -0
- package/dist/portal.d.cts +6 -1
- package/dist/portal.d.cts.map +1 -1
- package/dist/portal.d.ts +6 -1
- package/dist/portal.d.ts.map +1 -1
- package/dist/portal.js +1 -1
- package/dist/portal.js.map +1 -1
- package/dist/types/dist/index.d.cts +36 -1
- package/dist/types/dist/index.d.cts.map +1 -1
- package/dist/types/dist/index.d.ts +36 -1
- package/dist/types/dist/index.d.ts.map +1 -1
- package/fonts/index.cjs +219 -219
- package/fonts/index.mjs +219 -219
- package/generated/styles.cjs +114 -0
- package/generated/styles.d.ts +29 -0
- package/generated/styles.mjs +114 -0
- package/generated/unistyles.d.ts +110 -0
- package/package.json +19 -9
- package/dist/components/Avatar.cjs +0 -116
- package/dist/components/Avatar.d.cts +0 -68
- package/dist/components/Avatar.d.cts.map +0 -1
- package/dist/components/Avatar.d.ts +0 -68
- package/dist/components/Avatar.d.ts.map +0 -1
- package/dist/components/Avatar.js +0 -116
- package/dist/components/Avatar.js.map +0 -1
- package/dist/components/Chip.cjs +0 -139
- package/dist/components/Chip.d.cts +0 -82
- package/dist/components/Chip.d.cts.map +0 -1
- package/dist/components/Chip.d.ts +0 -82
- package/dist/components/Chip.d.ts.map +0 -1
- package/dist/components/Chip.js +0 -139
- package/dist/components/Chip.js.map +0 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
|
|
2
|
+
import { OverlayPortalProps, UseControllableStateProps, UseControllableStateResult } from "./types.cjs";
|
|
3
|
+
import { OverlayPortal } from "./OverlayPortal.cjs";
|
|
4
|
+
import { useControllableState } from "./useControllableState.cjs";
|
|
5
|
+
export { OverlayPortal, type OverlayPortalProps, type UseControllableStateProps, type UseControllableStateResult, useControllableState };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
|
|
2
|
+
import { OverlayPortalProps, UseControllableStateProps, UseControllableStateResult } from "./types.js";
|
|
3
|
+
import { OverlayPortal } from "./OverlayPortal.js";
|
|
4
|
+
import { useControllableState } from "./useControllableState.js";
|
|
5
|
+
export { OverlayPortal, type OverlayPortalProps, type UseControllableStateProps, type UseControllableStateResult, useControllableState };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
import { Dispatch, ReactNode, SetStateAction } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/internal/Overlay/types.d.ts
|
|
5
|
+
interface OverlayPortalProps {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Render through iOS FullWindowOverlay. Keep enabled for surfaces that need to sit above native
|
|
9
|
+
* screen content.
|
|
10
|
+
*/
|
|
11
|
+
useFullWindowOverlay?: boolean;
|
|
12
|
+
}
|
|
13
|
+
interface UseControllableStateProps<T> {
|
|
14
|
+
value?: T;
|
|
15
|
+
defaultValue: T | (() => T);
|
|
16
|
+
onChange?: (value: T) => void;
|
|
17
|
+
}
|
|
18
|
+
type UseControllableStateResult<T> = [T, Dispatch<SetStateAction<T>>];
|
|
19
|
+
//#endregion
|
|
20
|
+
export { type OverlayPortalProps, type UseControllableStateProps, type UseControllableStateResult };
|
|
21
|
+
//# sourceMappingURL=types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.cts","names":[],"sources":["../../../../src/components/internal/Overlay/types.ts"],"mappings":";;;;UAEU,kBAAA;EACR,QAAA,EAAU,SAAA;EADF;;;;EAMR,oBAAA;AAAA;AAAA,UAGQ,yBAAA;EACR,KAAA,GAAQ,CAAA;EACR,YAAA,EAAc,CAAA,UAAW,CAAA;EACzB,QAAA,IAAY,KAAA,EAAO,CAAA;AAAA;AAAA,KAGhB,0BAAA,OAAiC,CAAA,EAAG,QAAA,CAAS,cAAA,CAAe,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
import { Dispatch, ReactNode, SetStateAction } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/internal/Overlay/types.d.ts
|
|
5
|
+
interface OverlayPortalProps {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Render through iOS FullWindowOverlay. Keep enabled for surfaces that need to sit above native
|
|
9
|
+
* screen content.
|
|
10
|
+
*/
|
|
11
|
+
useFullWindowOverlay?: boolean;
|
|
12
|
+
}
|
|
13
|
+
interface UseControllableStateProps<T> {
|
|
14
|
+
value?: T;
|
|
15
|
+
defaultValue: T | (() => T);
|
|
16
|
+
onChange?: (value: T) => void;
|
|
17
|
+
}
|
|
18
|
+
type UseControllableStateResult<T> = [T, Dispatch<SetStateAction<T>>];
|
|
19
|
+
//#endregion
|
|
20
|
+
export { type OverlayPortalProps, type UseControllableStateProps, type UseControllableStateResult };
|
|
21
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../../src/components/internal/Overlay/types.ts"],"mappings":";;;;UAEU,kBAAA;EACR,QAAA,EAAU,SAAA;EADF;;;;EAMR,oBAAA;AAAA;AAAA,UAGQ,yBAAA;EACR,KAAA,GAAQ,CAAA;EACR,YAAA,EAAc,CAAA,UAAW,CAAA;EACzB,QAAA,IAAY,KAAA,EAAO,CAAA;AAAA;AAAA,KAGhB,0BAAA,OAAiC,CAAA,EAAG,QAAA,CAAS,cAAA,CAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
require("../../../_virtual/_rolldown/runtime.cjs");
|
|
4
|
+
let react = require("react");
|
|
5
|
+
//#region src/components/internal/Overlay/useControllableState.ts
|
|
6
|
+
/**
|
|
7
|
+
* Resolves a React setState-style value or updater function against the current value.
|
|
8
|
+
*/
|
|
9
|
+
function resolveNextValue(next, currentValue) {
|
|
10
|
+
return typeof next === "function" ? next(currentValue) : next;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Shared controlled/uncontrolled state helper for overlay components.
|
|
14
|
+
*
|
|
15
|
+
* It only calls `onChange` when the requested value differs from the current value, which keeps
|
|
16
|
+
* open/dismiss callbacks from firing twice for a single user action.
|
|
17
|
+
*/
|
|
18
|
+
function useControllableState({ value, defaultValue, onChange }) {
|
|
19
|
+
const [uncontrolledValue, setUncontrolledValue] = (0, react.useState)(defaultValue);
|
|
20
|
+
const isControlled = value !== void 0;
|
|
21
|
+
const currentValue = isControlled ? value : uncontrolledValue;
|
|
22
|
+
return [currentValue, (0, react.useCallback)((next) => {
|
|
23
|
+
const nextValue = resolveNextValue(next, currentValue);
|
|
24
|
+
if (Object.is(nextValue, currentValue)) return;
|
|
25
|
+
if (!isControlled) setUncontrolledValue(nextValue);
|
|
26
|
+
onChange?.(nextValue);
|
|
27
|
+
}, [
|
|
28
|
+
currentValue,
|
|
29
|
+
isControlled,
|
|
30
|
+
onChange
|
|
31
|
+
])];
|
|
32
|
+
}
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.useControllableState = useControllableState;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
import { UseControllableStateProps, UseControllableStateResult } from "./types.cjs";
|
|
3
|
+
|
|
4
|
+
//#region src/components/internal/Overlay/useControllableState.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Shared controlled/uncontrolled state helper for overlay components.
|
|
7
|
+
*
|
|
8
|
+
* It only calls `onChange` when the requested value differs from the current value, which keeps
|
|
9
|
+
* open/dismiss callbacks from firing twice for a single user action.
|
|
10
|
+
*/
|
|
11
|
+
declare function useControllableState<T>({
|
|
12
|
+
value,
|
|
13
|
+
defaultValue,
|
|
14
|
+
onChange
|
|
15
|
+
}: UseControllableStateProps<T>): UseControllableStateResult<T>;
|
|
16
|
+
//#endregion
|
|
17
|
+
export { useControllableState };
|
|
18
|
+
//# sourceMappingURL=useControllableState.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useControllableState.d.cts","names":[],"sources":["../../../../src/components/internal/Overlay/useControllableState.ts"],"mappings":";;;;;;AAGqF;;;;iBAe5E,oBAAA,GAAA,CAAA;EACP,KAAA;EACA,YAAA;EACA;AAAA,GACC,yBAAA,CAA0B,CAAA,IAAK,0BAAA,CAA2B,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
import { UseControllableStateProps, UseControllableStateResult } from "./types.js";
|
|
3
|
+
|
|
4
|
+
//#region src/components/internal/Overlay/useControllableState.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Shared controlled/uncontrolled state helper for overlay components.
|
|
7
|
+
*
|
|
8
|
+
* It only calls `onChange` when the requested value differs from the current value, which keeps
|
|
9
|
+
* open/dismiss callbacks from firing twice for a single user action.
|
|
10
|
+
*/
|
|
11
|
+
declare function useControllableState<T>({
|
|
12
|
+
value,
|
|
13
|
+
defaultValue,
|
|
14
|
+
onChange
|
|
15
|
+
}: UseControllableStateProps<T>): UseControllableStateResult<T>;
|
|
16
|
+
//#endregion
|
|
17
|
+
export { useControllableState };
|
|
18
|
+
//# sourceMappingURL=useControllableState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useControllableState.d.ts","names":[],"sources":["../../../../src/components/internal/Overlay/useControllableState.ts"],"mappings":";;;;;;AAGqF;;;;iBAe5E,oBAAA,GAAA,CAAA;EACP,KAAA;EACA,YAAA;EACA;AAAA,GACC,yBAAA,CAA0B,CAAA,IAAK,0BAAA,CAA2B,CAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
|
|
2
|
+
import { useCallback, useState } from "react";
|
|
3
|
+
//#region src/components/internal/Overlay/useControllableState.ts
|
|
4
|
+
/**
|
|
5
|
+
* Resolves a React setState-style value or updater function against the current value.
|
|
6
|
+
*/
|
|
7
|
+
function resolveNextValue(next, currentValue) {
|
|
8
|
+
return typeof next === "function" ? next(currentValue) : next;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Shared controlled/uncontrolled state helper for overlay components.
|
|
12
|
+
*
|
|
13
|
+
* It only calls `onChange` when the requested value differs from the current value, which keeps
|
|
14
|
+
* open/dismiss callbacks from firing twice for a single user action.
|
|
15
|
+
*/
|
|
16
|
+
function useControllableState({ value, defaultValue, onChange }) {
|
|
17
|
+
const [uncontrolledValue, setUncontrolledValue] = useState(defaultValue);
|
|
18
|
+
const isControlled = value !== void 0;
|
|
19
|
+
const currentValue = isControlled ? value : uncontrolledValue;
|
|
20
|
+
return [currentValue, useCallback((next) => {
|
|
21
|
+
const nextValue = resolveNextValue(next, currentValue);
|
|
22
|
+
if (Object.is(nextValue, currentValue)) return;
|
|
23
|
+
if (!isControlled) setUncontrolledValue(nextValue);
|
|
24
|
+
onChange?.(nextValue);
|
|
25
|
+
}, [
|
|
26
|
+
currentValue,
|
|
27
|
+
isControlled,
|
|
28
|
+
onChange
|
|
29
|
+
])];
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
export { useControllableState };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=useControllableState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useControllableState.js","names":[],"sources":["../../../../src/components/internal/Overlay/useControllableState.ts"],"sourcesContent":["import type { SetStateAction } from 'react';\nimport { useCallback, useState } from 'react';\n\nimport type { UseControllableStateProps, UseControllableStateResult } from './types';\n\n/**\n * Resolves a React setState-style value or updater function against the current value.\n */\nfunction resolveNextValue<T>(next: SetStateAction<T>, currentValue: T): T {\n return typeof next === 'function' ? (next as (value: T) => T)(currentValue) : next;\n}\n\n/**\n * Shared controlled/uncontrolled state helper for overlay components.\n *\n * It only calls `onChange` when the requested value differs from the current value, which keeps\n * open/dismiss callbacks from firing twice for a single user action.\n */\nfunction useControllableState<T>({\n value,\n defaultValue,\n onChange,\n}: UseControllableStateProps<T>): UseControllableStateResult<T> {\n const [uncontrolledValue, setUncontrolledValue] = useState<T>(defaultValue);\n const isControlled = value !== undefined;\n const currentValue = isControlled ? value : uncontrolledValue;\n\n const setValue = useCallback(\n (next: SetStateAction<T>) => {\n const nextValue = resolveNextValue(next, currentValue);\n\n if (Object.is(nextValue, currentValue)) {\n return;\n }\n\n if (!isControlled) {\n setUncontrolledValue(nextValue);\n }\n\n onChange?.(nextValue);\n },\n [currentValue, isControlled, onChange],\n );\n\n return [currentValue, setValue];\n}\n\nexport { useControllableState };\n"],"mappings":";;;;;;AAQA,SAAS,iBAAoB,MAAyB,cAAoB;CACxE,OAAO,OAAO,SAAS,aAAc,KAAyB,aAAa,GAAG;;;;;;;;AAShF,SAAS,qBAAwB,EAC/B,OACA,cACA,YAC8D;CAC9D,MAAM,CAAC,mBAAmB,wBAAwB,SAAY,aAAa;CAC3E,MAAM,eAAe,UAAU,KAAA;CAC/B,MAAM,eAAe,eAAe,QAAQ;CAmB5C,OAAO,CAAC,cAjBS,aACd,SAA4B;EAC3B,MAAM,YAAY,iBAAiB,MAAM,aAAa;EAEtD,IAAI,OAAO,GAAG,WAAW,aAAa,EACpC;EAGF,IAAI,CAAC,cACH,qBAAqB,UAAU;EAGjC,WAAW,UAAU;IAEvB;EAAC;EAAc;EAAc;EAAS,CAGV,CAAC"}
|
package/dist/portal.cjs
CHANGED
package/dist/portal.d.cts
CHANGED
|
@@ -3,6 +3,11 @@ import * as _$react from "react";
|
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/portal.d.ts
|
|
6
|
+
interface PortalContextValue {
|
|
7
|
+
register: (id: string, node: ReactNode) => void;
|
|
8
|
+
unregister: (id: string) => void;
|
|
9
|
+
}
|
|
10
|
+
declare function usePortalContext(): PortalContextValue;
|
|
6
11
|
declare function Portal({
|
|
7
12
|
children
|
|
8
13
|
}: {
|
|
@@ -14,5 +19,5 @@ declare function PortalProvider({
|
|
|
14
19
|
children: ReactNode;
|
|
15
20
|
}): _$react.JSX.Element;
|
|
16
21
|
//#endregion
|
|
17
|
-
export { Portal, PortalProvider };
|
|
22
|
+
export { Portal, type PortalContextValue, PortalProvider, usePortalContext };
|
|
18
23
|
//# sourceMappingURL=portal.d.cts.map
|
package/dist/portal.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal.d.cts","names":[],"sources":["../src/portal.tsx"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"portal.d.cts","names":[],"sources":["../src/portal.tsx"],"mappings":";;;;;UA6CU,kBAAA;EACR,QAAA,GAAW,EAAA,UAAY,IAAA,EAAM,SAAA;EAC7B,UAAA,GAAa,EAAA;AAAA;AAAA,iBAKN,gBAAA,CAAA,GAAoB,kBAAA;AAAA,iBAgCpB,MAAA,CAAA;EAAS;AAAA;EAAc,QAAA,EAAU,SAAA;AAAA;AAAA,iBAmBjC,cAAA,CAAA;EAAiB;AAAA;EAAc,QAAA,EAAU,SAAA;AAAA,IAAW,OAAA,CAAA,GAAA,CAAA,OAAA"}
|
package/dist/portal.d.ts
CHANGED
|
@@ -3,6 +3,11 @@ import * as _$react from "react";
|
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/portal.d.ts
|
|
6
|
+
interface PortalContextValue {
|
|
7
|
+
register: (id: string, node: ReactNode) => void;
|
|
8
|
+
unregister: (id: string) => void;
|
|
9
|
+
}
|
|
10
|
+
declare function usePortalContext(): PortalContextValue;
|
|
6
11
|
declare function Portal({
|
|
7
12
|
children
|
|
8
13
|
}: {
|
|
@@ -14,5 +19,5 @@ declare function PortalProvider({
|
|
|
14
19
|
children: ReactNode;
|
|
15
20
|
}): _$react.JSX.Element;
|
|
16
21
|
//#endregion
|
|
17
|
-
export { Portal, PortalProvider };
|
|
22
|
+
export { Portal, type PortalContextValue, PortalProvider, usePortalContext };
|
|
18
23
|
//# sourceMappingURL=portal.d.ts.map
|
package/dist/portal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal.d.ts","names":[],"sources":["../src/portal.tsx"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"portal.d.ts","names":[],"sources":["../src/portal.tsx"],"mappings":";;;;;UA6CU,kBAAA;EACR,QAAA,GAAW,EAAA,UAAY,IAAA,EAAM,SAAA;EAC7B,UAAA,GAAa,EAAA;AAAA;AAAA,iBAKN,gBAAA,CAAA,GAAoB,kBAAA;AAAA,iBAgCpB,MAAA,CAAA;EAAS;AAAA;EAAc,QAAA,EAAU,SAAA;AAAA;AAAA,iBAmBjC,cAAA,CAAA;EAAiB;AAAA;EAAc,QAAA,EAAU,SAAA;AAAA,IAAW,OAAA,CAAA,GAAA,CAAA,OAAA"}
|
package/dist/portal.js
CHANGED
|
@@ -73,6 +73,6 @@ function PortalProvider({ children }) {
|
|
|
73
73
|
}
|
|
74
74
|
const styles = StyleSheet.create({ overlay: { ...StyleSheet.absoluteFill } });
|
|
75
75
|
//#endregion
|
|
76
|
-
export { Portal, PortalProvider };
|
|
76
|
+
export { Portal, PortalProvider, usePortalContext };
|
|
77
77
|
|
|
78
78
|
//# sourceMappingURL=portal.js.map
|
package/dist/portal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal.js","names":[],"sources":["../src/portal.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport {\n createContext,\n memo,\n useCallback,\n useContext,\n useEffect,\n useId,\n useMemo,\n useReducer,\n} from 'react';\nimport { StyleSheet, View } from 'react-native';\n\n// ---------------------------------------------------------------------------\n// State\n// ---------------------------------------------------------------------------\n\ntype PortalState = Map<string, ReactNode>;\n\ntype PortalAction =\n | { type: 'register'; id: string; node: ReactNode }\n | { type: 'unregister'; id: string };\n\nfunction portalReducer(state: PortalState, action: PortalAction): PortalState {\n switch (action.type) {\n case 'register': {\n const next = new Map(state);\n next.set(action.id, action.node);\n return next;\n }\n case 'unregister': {\n if (!state.has(action.id)) {\n return state;\n }\n const next = new Map(state);\n next.delete(action.id);\n return next;\n }\n }\n}\n\n// ---------------------------------------------------------------------------\n// Context\n// ---------------------------------------------------------------------------\n\ninterface PortalContextValue {\n register: (id: string, node: ReactNode) => void;\n unregister: (id: string) => void;\n}\n\nconst PortalContext = createContext<PortalContextValue | null>(null);\n\nfunction usePortalContext(): PortalContextValue {\n const ctx = useContext(PortalContext);\n if (!ctx) {\n throw new Error('Portal must be used within a UDSProvider.');\n }\n return ctx;\n}\n\n// ---------------------------------------------------------------------------\n// PortalHost — renders registered portals. Place after children for z-order.\n// ---------------------------------------------------------------------------\n\nconst PortalHost = memo(function PortalHost({ state }: { state: PortalState }) {\n if (state.size === 0) {\n return null;\n }\n\n const nodes: ReactNode[] = [];\n state.forEach((node, id) => {\n nodes.push(\n <View key={id} style={styles.overlay} pointerEvents=\"box-none\">\n {node}\n </View>,\n );\n });\n return nodes;\n});\n\n// ---------------------------------------------------------------------------\n// Portal — registers children with the host. Renders nothing itself.\n// ---------------------------------------------------------------------------\n\nfunction Portal({ children }: { children: ReactNode }) {\n const id = useId();\n const { register, unregister } = usePortalContext();\n\n useEffect(() => {\n register(id, children);\n }, [id, children, register]);\n\n useEffect(() => {\n return () => unregister(id);\n }, [id, unregister]);\n\n return null;\n}\n\n// ---------------------------------------------------------------------------\n// PortalProvider — sets up the portal context and host.\n// ---------------------------------------------------------------------------\n\nfunction PortalProvider({ children }: { children: ReactNode }) {\n const [state, dispatch] = useReducer(portalReducer, new Map() as PortalState);\n\n const register = useCallback(\n (id: string, node: ReactNode) => dispatch({ type: 'register', id, node }),\n [],\n );\n const unregister = useCallback((id: string) => dispatch({ type: 'unregister', id }), []);\n\n const contextValue = useMemo(() => ({ register, unregister }), [register, unregister]);\n\n return (\n <PortalContext.Provider value={contextValue}>\n {children}\n <PortalHost state={state} />\n </PortalContext.Provider>\n );\n}\n\nconst styles = StyleSheet.create({\n overlay: {\n ...StyleSheet.absoluteFill,\n },\n});\n\nexport { Portal, PortalProvider };\n"],"mappings":";;;;;AAuBA,SAAS,cAAc,OAAoB,QAAmC;CAC5E,QAAQ,OAAO,MAAf;EACE,KAAK,YAAY;GACf,MAAM,OAAO,IAAI,IAAI,MAAM;GAC3B,KAAK,IAAI,OAAO,IAAI,OAAO,KAAK;GAChC,OAAO;;EAET,KAAK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AS,CAAA,CACL;;;AAI7B,MAAM,SAAS,WAAW,OAAO,EAC/B,SAAS,EACP,GAAG,WAAW,cACf,EACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"portal.js","names":[],"sources":["../src/portal.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport {\n createContext,\n memo,\n useCallback,\n useContext,\n useEffect,\n useId,\n useMemo,\n useReducer,\n} from 'react';\nimport { StyleSheet, View } from 'react-native';\n\n// ---------------------------------------------------------------------------\n// State\n// ---------------------------------------------------------------------------\n\ntype PortalState = Map<string, ReactNode>;\n\ntype PortalAction =\n | { type: 'register'; id: string; node: ReactNode }\n | { type: 'unregister'; id: string };\n\nfunction portalReducer(state: PortalState, action: PortalAction): PortalState {\n switch (action.type) {\n case 'register': {\n const next = new Map(state);\n next.set(action.id, action.node);\n return next;\n }\n case 'unregister': {\n if (!state.has(action.id)) {\n return state;\n }\n const next = new Map(state);\n next.delete(action.id);\n return next;\n }\n }\n}\n\n// ---------------------------------------------------------------------------\n// Context\n// ---------------------------------------------------------------------------\n\ninterface PortalContextValue {\n register: (id: string, node: ReactNode) => void;\n unregister: (id: string) => void;\n}\n\nconst PortalContext = createContext<PortalContextValue | null>(null);\n\nfunction usePortalContext(): PortalContextValue {\n const ctx = useContext(PortalContext);\n if (!ctx) {\n throw new Error('Portal must be used within a UDSProvider.');\n }\n return ctx;\n}\n\n// ---------------------------------------------------------------------------\n// PortalHost — renders registered portals. Place after children for z-order.\n// ---------------------------------------------------------------------------\n\nconst PortalHost = memo(function PortalHost({ state }: { state: PortalState }) {\n if (state.size === 0) {\n return null;\n }\n\n const nodes: ReactNode[] = [];\n state.forEach((node, id) => {\n nodes.push(\n <View key={id} style={styles.overlay} pointerEvents=\"box-none\">\n {node}\n </View>,\n );\n });\n return nodes;\n});\n\n// ---------------------------------------------------------------------------\n// Portal — registers children with the host. Renders nothing itself.\n// ---------------------------------------------------------------------------\n\nfunction Portal({ children }: { children: ReactNode }) {\n const id = useId();\n const { register, unregister } = usePortalContext();\n\n useEffect(() => {\n register(id, children);\n }, [id, children, register]);\n\n useEffect(() => {\n return () => unregister(id);\n }, [id, unregister]);\n\n return null;\n}\n\n// ---------------------------------------------------------------------------\n// PortalProvider — sets up the portal context and host.\n// ---------------------------------------------------------------------------\n\nfunction PortalProvider({ children }: { children: ReactNode }) {\n const [state, dispatch] = useReducer(portalReducer, new Map() as PortalState);\n\n const register = useCallback(\n (id: string, node: ReactNode) => dispatch({ type: 'register', id, node }),\n [],\n );\n const unregister = useCallback((id: string) => dispatch({ type: 'unregister', id }), []);\n\n const contextValue = useMemo(() => ({ register, unregister }), [register, unregister]);\n\n return (\n <PortalContext.Provider value={contextValue}>\n {children}\n <PortalHost state={state} />\n </PortalContext.Provider>\n );\n}\n\nconst styles = StyleSheet.create({\n overlay: {\n ...StyleSheet.absoluteFill,\n },\n});\n\nexport { Portal, PortalProvider, usePortalContext };\nexport type { PortalContextValue };\n"],"mappings":";;;;;AAuBA,SAAS,cAAc,OAAoB,QAAmC;CAC5E,QAAQ,OAAO,MAAf;EACE,KAAK,YAAY;GACf,MAAM,OAAO,IAAI,IAAI,MAAM;GAC3B,KAAK,IAAI,OAAO,IAAI,OAAO,KAAK;GAChC,OAAO;;EAET,KAAK,cAAc;GACjB,IAAI,CAAC,MAAM,IAAI,OAAO,GAAG,EACvB,OAAO;GAET,MAAM,OAAO,IAAI,IAAI,MAAM;GAC3B,KAAK,OAAO,OAAO,GAAG;GACtB,OAAO;;;;AAcb,MAAM,gBAAgB,cAAyC,KAAK;AAEpE,SAAS,mBAAuC;CAC9C,MAAM,MAAM,WAAW,cAAc;CACrC,IAAI,CAAC,KACH,MAAM,IAAI,MAAM,4CAA4C;CAE9D,OAAO;;AAOT,MAAM,aAAa,KAAK,SAAS,WAAW,EAAE,SAAiC;CAC7E,IAAI,MAAM,SAAS,GACjB,OAAO;CAGT,MAAM,QAAqB,EAAE;CAC7B,MAAM,SAAS,MAAM,OAAO;EAC1B,MAAM,KACJ,oBAAC,MAAD;GAAe,OAAO,OAAO;GAAS,eAAc;aACjD;GACI,EAFI,GAEJ,CACR;GACD;CACF,OAAO;EACP;AAMF,SAAS,OAAO,EAAE,YAAqC;CACrD,MAAM,KAAK,OAAO;CAClB,MAAM,EAAE,UAAU,eAAe,kBAAkB;CAEnD,gBAAgB;EACd,SAAS,IAAI,SAAS;IACrB;EAAC;EAAI;EAAU;EAAS,CAAC;CAE5B,gBAAgB;EACd,aAAa,WAAW,GAAG;IAC1B,CAAC,IAAI,WAAW,CAAC;CAEpB,OAAO;;AAOT,SAAS,eAAe,EAAE,YAAqC;CAC7D,MAAM,CAAC,OAAO,YAAY,WAAW,+BAAe,IAAI,KAAK,CAAgB;CAE7E,MAAM,WAAW,aACd,IAAY,SAAoB,SAAS;EAAE,MAAM;EAAY;EAAI;EAAM,CAAC,EACzE,EAAE,CACH;CACD,MAAM,aAAa,aAAa,OAAe,SAAS;EAAE,MAAM;EAAc;EAAI,CAAC,EAAE,EAAE,CAAC;CAExF,MAAM,eAAe,eAAe;EAAE;EAAU;EAAY,GAAG,CAAC,UAAU,WAAW,CAAC;CAEtF,OACE,qBAAC,cAAc,UAAf;EAAwB,OAAO;YAA/B,CACG,UACD,oBAAC,YAAD,EAAmB,OAAS,CAAA,CACL;;;AAI7B,MAAM,SAAS,WAAW,OAAO,EAC/B,SAAS,EACP,GAAG,WAAW,cACf,EACF,CAAC"}
|
|
@@ -45,6 +45,7 @@ type FontWeightDescriptive = 'thin' | 'extralight' | 'light' | 'regular' | 'medi
|
|
|
45
45
|
type TextTransform = 'none' | 'uppercase' | 'lowercase' | 'capitalize';
|
|
46
46
|
type TShirtSize = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
47
47
|
type TShirtSizeCommon = Extract<TShirtSize, 'sm' | 'md' | 'lg'>;
|
|
48
|
+
type AvatarSize = '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
48
49
|
type SpacingAlias = '0' | 'px' | '0.5' | '1' | '1.5' | '2' | '2.5' | '3' | '3.5' | '4' | '4.5' | '5' | '5.5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '14' | '16' | '20' | '24' | '28' | '32' | '36' | '40' | '44' | '48' | '52' | '56' | '60' | '64' | '72' | '80' | '96';
|
|
49
50
|
type ElevationLevel = '0' | '1' | '2' | '3' | '4' | '5';
|
|
50
51
|
type ElevationAlias = `elevation-${ElevationLevel}`;
|
|
@@ -371,6 +372,40 @@ interface UniversalBannerProps<IconSlotType = UniversalIconSlot> {
|
|
|
371
372
|
/** Actions (Button, Link) or BannerContent + actions. */
|
|
372
373
|
children?: ReactNode;
|
|
373
374
|
}
|
|
375
|
+
type AvatarVariant = 'primary' | 'secondary';
|
|
376
|
+
type AvatarAbbreviationStrategy = 'first' | 'last' | 'firstAndLast' | 'firstTwo' | 'firstThree' | 'firstOfEach' | ((name: string) => string);
|
|
377
|
+
interface UniversalAvatarBaseProps {
|
|
378
|
+
/** The size of the avatar. @default 'md' */
|
|
379
|
+
size?: AvatarSize;
|
|
380
|
+
/** The visual style variant of the avatar. @default 'primary' */
|
|
381
|
+
variant?: 'primary' | 'secondary';
|
|
382
|
+
/** Custom size in pixels, overriding the size token. */
|
|
383
|
+
customSize?: number;
|
|
384
|
+
/** Strategy for generating initials from a name. */
|
|
385
|
+
abbreviationStrategy?: AvatarAbbreviationStrategy;
|
|
386
|
+
/** Alt text for accessibility. */
|
|
387
|
+
alt?: string;
|
|
388
|
+
/** Additional CSS class name. */
|
|
389
|
+
className?: string;
|
|
390
|
+
}
|
|
391
|
+
interface UniversalAvatarImageProps extends UniversalAvatarBaseProps {
|
|
392
|
+
/** Image source URL. */
|
|
393
|
+
src: string;
|
|
394
|
+
/** Responsive image source set. */
|
|
395
|
+
srcSet?: string;
|
|
396
|
+
/** Fallback name or initials displayed when the image fails to load. */
|
|
397
|
+
fallback?: string;
|
|
398
|
+
}
|
|
399
|
+
interface UniversalAvatarTextProps extends UniversalAvatarBaseProps {
|
|
400
|
+
/** Full name used to generate initials. */
|
|
401
|
+
name?: string;
|
|
402
|
+
/** Explicit initials to display (overrides auto-generated from name). */
|
|
403
|
+
initials?: string;
|
|
404
|
+
}
|
|
405
|
+
interface UniversalAvatarIconProps<IconSlotType = UniversalIconSlot> extends Omit<UniversalAvatarBaseProps, 'abbreviationStrategy'> {
|
|
406
|
+
/** Custom icon to display in the avatar. */
|
|
407
|
+
icon?: IconSlotType;
|
|
408
|
+
}
|
|
374
409
|
type UniversalTabsVariant = 'primary' | 'secondary';
|
|
375
410
|
interface UniversalTabsProps {
|
|
376
411
|
/** The TabList and TabPanel elements. */
|
|
@@ -423,5 +458,5 @@ interface UniversalTabProps {
|
|
|
423
458
|
className?: string;
|
|
424
459
|
}
|
|
425
460
|
//#endregion
|
|
426
|
-
export { type BadgeSize, type BadgeVariant, type BannerVariant, type ButtonSize, type ButtonVariantFlat, type ChipSize, type ChipVariant, type ElevationLevel, type IconButtonSize, type IconSize, type IconVariant, type MotionConfig, type MotionVariantValues, type RadioSize, type RadioVariant, type UniversalBannerProps, type UniversalCheckboxProps, type UniversalDividerProps, type UniversalFormLabelProps, type UniversalImageProps, type UniversalInputProps, type UniversalLinkProps, type UniversalRadioGroupProps, type UniversalRadioProps, type UniversalSwitchProps, type UniversalTabListProps, type UniversalTabPanelProps, type UniversalTabProps, type UniversalTabsProps, type UniversalTabsVariant };
|
|
461
|
+
export { type AvatarAbbreviationStrategy, type AvatarSize, type AvatarVariant, type BadgeSize, type BadgeVariant, type BannerVariant, type ButtonSize, type ButtonVariantFlat, type ChipSize, type ChipVariant, type ElevationLevel, type IconButtonSize, type IconSize, type IconVariant, type InputSize, type MotionConfig, type MotionVariantValues, type RadioSize, type RadioVariant, type UniversalAvatarIconProps, type UniversalAvatarImageProps, type UniversalAvatarTextProps, type UniversalBannerProps, type UniversalCheckboxProps, type UniversalDividerProps, type UniversalFormLabelProps, type UniversalImageProps, type UniversalInputProps, type UniversalLinkProps, type UniversalRadioGroupProps, type UniversalRadioProps, type UniversalSwitchProps, type UniversalTabListProps, type UniversalTabPanelProps, type UniversalTabProps, type UniversalTabsProps, type UniversalTabsVariant };
|
|
427
462
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":["CSSProperties","ElementType","HTMLAttributes","PropsWithChildren","ReactElement","ReactNode","Ref","IntRange","IconPixelSize","IconSize","IconVariant","GenericIconComponent","React","ComponentType","MaxLengthArray","T","N","A","ExtractUrlFromFontFaceRule","U","Percentage","PixelsUnit","value","type","RemsUnit","UnitlessUnit","PercentageUnit","Hue","HueStep","SpectrumColor","SharedPrimaryPaletteAlias","SharedSecondaryPaletteAlias","SharedPaletteAlias","DeprecatedAccentAlias","OpacityStep","BackgroundPaletteAlias","BackgroundPalette","PaletteValue","Record","ForegroundPaletteAlias","ForegroundPalette","LinePaletteAlias","LinePalette","ShadowPaletteAlias","ShadowPalette","AlwaysPaletteAliasWithPrefix","DeprecatedAlwaysPaletteAlias","AlwaysPaletteAlias","LinkableValue","$ref","PaletteType","PaletteConfig","hue","step","opacity","Palette","key","background","foreground","line","shadow","ForegroundColor","LineColor","ElevationAlias","BackgroundColor","ShadowColor","PropertyToPaletteAliasMap","backgroundColor","borderColor","color","ShadowSpectrumColor","ShadowPaletteColor","ShadowAlwaysColor","ShadowColorConfig","ShadowOffset","SpacingAlias","Exclude","ShadowOpacity","ShadowSpreadRadius","ShadowPreset","offsetX","offsetY","blur","spread","ShadowVariant","ShadowVariantWithElevation","ShadowVariantInvert","ShadowVariantWithInvert","ShadowVariantConfig","BannerInnerShadowOption","ShadowType","ShadowTypeConfig","ShadowConfig","drop","inset","BreakpointValue","BreakpointsConfig","sm","md","lg","xl","Breakpoint","BreakpointWithBase","TextVariantTypography","TextVariantUi","TextVariantWithoutEmphasized","TextVariant","FontAlias","FontType","FontWeightNumeric","FontWeightDescriptive","TextTransform","TextDecorationLine","LineClampAlias","LineHeight","FontSize","TextTransformConfig","FontSizeConfig","FontFamilyConfig","FontWeightConfig","FontSlantConfig","FontWidthConfig","LineHeightConfig","TextProperty","TypographyUnitValue","TypographyResponsiveProperty","base","breakpoints","TypographyStyleProperty","TypographyStyle","fontFamily","textTransform","fontSize","fontWeight","lineHeight","fontSlant","fontWidth","letterSpacing","TypographyConfig","FontConfig","TShirtSize","TShirtSizeCommon","Extract","AvatarSize","AvatarSizeConfig","AvatarShape","BorderRadius","IconSizeConfig","SpacingConfig","AlwaysPaletteColor","ElevationSurfaceColor","ElevationBackgroundFillColor","ElevationBorderColor","RGBColorValue","RGBAUnit","r","g","b","a","ElevationCustomShadows","ElevationCustomInsetShadows","RGBUnit","ElevationPreset","BorderWidth","surfaceColor","layerWithBackgroundFill","backgroundFill","backgroundBlurRadius","finalBackgroundOpacity","finalBackgroundValue","fallbackBlurredBackgroundValue","borderWidth","dropShadow","insetShadow","ElevationLevel","ElevationConfig","ColorMode","ElevationGlobalRampSettings","progression","ambientLight","shadowDistance","shadowOpacity","shadowColor","backgroundOpacity","ElevationGlobalRampConfig","isAdvancedModeEnabled","colorMode","FocusRingWidth","FocusRingOffset","FocusRingColor","FocusRingConfig","width","offset","FocusRingModeConfig","BorderRadiusConfig","BorderWidthWithElevation","BorderWidthConfig","ColorModeForApp","ColorModeConfig","ColorsConfig","SpectrumConfig","palette","spectrum","SpectrumRGB","SpectrumValueEntry","rgb","SpectrumValue","ScaleMode","ScaleModeForApp","ScaleConfig","avatarSizes","iconSizes","borderRadius","ScaleModeConfig","ButtonSize","ButtonPalette","ButtonVariant","ButtonContrastVariant","ScaleEffect","ButtonVariantFlat","ButtonSpectrumColor","ButtonPaletteColor","IconButtonSize","InputSize","PlatformMode","HighContrastMode","RegionMode","Modes","scaleMode","Animation","TransitionDelay","TransitionDuration","TransitionTiming","MotionVariant","MotionVariantSpeed","MotionSpringConfigOptions","MotionSpringConfig","damping","stiffness","MotionVariantValues","MotionConfig","FontCssVar","MotionCssVar","UdsCssVar","AriaAttribute","DataAttribute","Flex","FlexGrow","FlexShrink","FlexAlignContent","FlexAlignItems","FlexAlignSelf","FlexDirection","FlexWrap","FlexJustifyContent","FlexBasis","Display","Overflow","Position","ImageStyleProps","contentFit","BorderStyleProps","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderStartColor","borderEndColor","borderTopColor","borderBottomColor","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","NestedBorderRadiusStyleProps","nestedBorderRadius","nestedBorderRadiusSize","nestedBorderRadiusSpacing","nestedBorderRadiusWidth","ShadowStyleProps","LayoutStyleProps","display","overflow","overflowX","overflowY","position","SpacingStyleProps","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap","FlexStyleProps","alignContent","alignItems","alignSelf","flex","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","StateStyleProps","interactable","focusable","TextStyleProps","placeholderColor","textAlign","BackgroundStyleProps","CustomSizingStyleProps","iconSize","avatarSize","SizeStyleProps","height","StyleProps","UniversalBoxProps","asChild","as","elevation","UniversalStackProps","Omit","gap","separator","index","UniversalTextProps","variant","UniversalIconProps","Icon","name","size","SVGElementProps","SVGSVGElement","IconPropsWithSVGProps","IconSlotRenderProps","BackwardsCompatibleReactElement","UniversalIconSlot","iconProps","UniversalPressableProps","onPress","UniversalIconButtonProps","iconVariant","htmlName","loading","disableEffects","UniversalButtonProps","IconSlotType","Pick","startIcon","endIcon","UniversalImageProps","src","alt","ImgElementProps","HTMLImageElement","ImgHTMLAttributes","ImagePropsWithImgProps","UniversalFormLabelProps","required","hasError","showRequiredAsterisk","label","UniversalInputProps","disabled","helpText","helperTextIcon","reduceMotion","readOnly","DividerVariant","UniversalDividerProps","vertical","contentPosition","LinkVariant","LinkTextVariant","UniversalLinkProps","textVariant","alwaysUnderline","CheckboxValue","CheckboxVariant","CheckboxSize","UniversalCheckboxProps","checked","labelPosition","RadioValue","RadioVariant","RadioSize","UniversalRadioProps","UniversalRadioGroupProps","defaultValue","onChange","SwitchSize","UniversalSwitchProps","isOn","defaultIsOn","onIcon","offIcon","ChipVariant","ChipSize","UniversalChipBaseProps","minWidth","maxWidth","UniversalChipDismissibleProps","onDismiss","dismissButtonAriaLabel","dismissIcon","UniversalChipToggleProps","isToggled","onToggle","UniversalChipButtonProps","UniversalChipLinkProps","href","UniversalChipProps","BadgeVariant","BadgeSize","UniversalBadgeProps","iconColor","BannerVariant","BannerSize","UniversalBannerProps","title","description","children","AvatarVariant","AvatarAbbreviationStrategy","UniversalAvatarBaseProps","customSize","abbreviationStrategy","className","UniversalAvatarImageProps","srcSet","fallback","UniversalAvatarTextProps","initials","UniversalAvatarIconProps","icon","UniversalAvatarProps","UniversalMenuItemProps","active","slots","root","ref","props","ToastSize","ToastVariant","ToastPosition","UniversalToastProps","message","actionButton","onClickActionButton","closeIcon","onClickCloseButton","id","VerticalPlacement","HorizontalPlacement","TooltipPlacement","TooltipSize","TooltipVariant","UniversalTabsVariant","UniversalTooltipProps","placement","open","portal","UniversalTooltipTriggerProps","UniversalTooltipContentProps","startTitleIcon","endContent","UniversalTabsProps","defaultSelectedId","selectedId","onSelectionChange","UniversalTabListProps","AriaAttributes","scrollable","UniversalTabPanelProps","tabId","UniversalTabProps","BottomSheetVariant","BottomSheetHeight","BottomSheetSnapPoints","UniversalBottomSheetProps","snapPoints","defaultSnapPointIndex","snapPointIndex","onSnapPointChange","dismissible","enableDrag","showHandleIndicator","fullWidthAtMaxSnap","UniversalBottomSheetHeaderProps","start","end","UniversalBottomSheetContentProps","PopoverPlacement","PopoverSize","PopoverVariant","UniversalPopoverProps","Event","hideArrow","hideDismissButton","defaultOpen","onClose","event","onOpen","disableAutoFocus","disableVerticalSpacing","disableHorizontalSpacing","sameWidth","gutter","UniversalPopoverTriggerProps","UniversalPopoverContentProps","maxHeight","ModalSize","ModalVariant","UniversalModalProps","modal","includeScrim","fullWidth","fullHeight","scrollBehavior","content","actions","closeAriaLabel","style","UniversalModalTitleProps","UniversalModalDescriptionProps","UniversalModalContentProps","UniversalModalActionsProps","startContent","ConfigurableComponentName","UniversalTokensConfigAutoBase","UniversalTokensConfigBase","GlobalDefaultsConfig","$defs","links","systems","version","font","motion","typography","elevationGlobalRamp","focusRing","globalDefaults","UniversalTokensConfigGeneric","ConfigAuto","breakpoint","enableResponsiveType"],"sources":["../../../../types/dist/index.d.ts"],"mappings":";;;;;;;KAYKS,QAAAA;AAIW;;;AAAA,KAAXC,WAAAA;;AA6BiC;;;;KAvBjCC,oBAAAA,GAAuBC,KAAAA,CAAMC,aAAAA;AAwBJ;AAAA,KAAzBiB,yBAAAA;AAAAA,KACAC,2BAAAA,MAAiCD,yBAAAA;AAAAA,KACjCE,kBAAAA,GAAqBF,yBAAAA,GAA4BC,2BAAAA;AAAAA,KACjDE,qBAAAA;AAAAA,KAEAE,sBAAAA,6BAAmDF,qBAAAA,GAAwBD,kBAAAA;AAAAA,KAE3EO,sBAAAA,iEAAuFN,qBAAAA,GAAwBD,kBAAAA;AAAAA,KAE/GS,gBAAAA,oDAAoER,qBAAAA,GAAwBD,kBAAAA;;KAK5Fa,4BAAAA;;KAEAC,4BAAAA;AAAAA,KACAC,kBAAAA,GAAqBD,4BAAAA,GAA+BD,4BAAAA;AAAAA,KAiBpDgB,eAAAA,GAAkBtB,sBAAAA,GAAyBQ,kBAAAA;AAAAA,KAC3Ce,SAAAA,GAAYrB,gBAAAA,GAAmBM,kBAAAA,GAAqBgB,cAAAA;AAAAA,KACpDC,eAAAA,GAAkB7B,sBAAAA,GAAyBY,kBAAAA,GAAqBgB,cAAAA;AAAAA,KA+BhEqB,aAAAA;AAAAA,KACAC,0BAAAA,GAA6BD,aAAAA,GAAgBrB,cAAAA;AAAAA,KAC7CuB,mBAAAA,MAAyBV,OAAAA,CAAQQ,aAAAA;AAAAA,KACjCG,u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/RwB;EAiShCjd,KAAAA;EAjSgC;EAmShC2Z,QAAAA,EAAU5a,SAAAA;EA/RViB;EAiSAkV,SAAAA,GAAYZ,iBAAAA;EA7RZqD;EA+RAxC,OAAAA,GAAUb,iBAAAA;EA7RVnB;EA+RA8C,QAAAA;EA/RO;EAiSP9C,OAAAA;EA/Ra;EAiSb8G,SAAAA;AAAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":["CSSProperties","ElementType","HTMLAttributes","PropsWithChildren","ReactElement","ReactNode","Ref","IntRange","IconPixelSize","IconSize","IconVariant","GenericIconComponent","React","ComponentType","MaxLengthArray","T","N","A","ExtractUrlFromFontFaceRule","U","Percentage","PixelsUnit","value","type","RemsUnit","UnitlessUnit","PercentageUnit","Hue","HueStep","SpectrumColor","SharedPrimaryPaletteAlias","SharedSecondaryPaletteAlias","SharedPaletteAlias","DeprecatedAccentAlias","OpacityStep","BackgroundPaletteAlias","BackgroundPalette","PaletteValue","Record","ForegroundPaletteAlias","ForegroundPalette","LinePaletteAlias","LinePalette","ShadowPaletteAlias","ShadowPalette","AlwaysPaletteAliasWithPrefix","DeprecatedAlwaysPaletteAlias","AlwaysPaletteAlias","LinkableValue","$ref","PaletteType","PaletteConfig","hue","step","opacity","Palette","key","background","foreground","line","shadow","ForegroundColor","LineColor","ElevationAlias","BackgroundColor","ShadowColor","PropertyToPaletteAliasMap","backgroundColor","borderColor","color","ShadowSpectrumColor","ShadowPaletteColor","ShadowAlwaysColor","ShadowColorConfig","ShadowOffset","SpacingAlias","Exclude","ShadowOpacity","ShadowSpreadRadius","ShadowPreset","offsetX","offsetY","blur","spread","ShadowVariant","ShadowVariantWithElevation","ShadowVariantInvert","ShadowVariantWithInvert","ShadowVariantConfig","BannerInnerShadowOption","ShadowType","ShadowTypeConfig","ShadowConfig","drop","inset","BreakpointValue","BreakpointsConfig","sm","md","lg","xl","Breakpoint","BreakpointWithBase","TextVariantTypography","TextVariantUi","TextVariantWithoutEmphasized","TextVariant","FontAlias","FontType","FontWeightNumeric","FontWeightDescriptive","TextTransform","TextDecorationLine","LineClampAlias","LineHeight","FontSize","TextTransformConfig","FontSizeConfig","FontFamilyConfig","FontWeightConfig","FontSlantConfig","FontWidthConfig","LineHeightConfig","TextProperty","TypographyUnitValue","TypographyResponsiveProperty","base","breakpoints","TypographyStyleProperty","TypographyStyle","fontFamily","textTransform","fontSize","fontWeight","lineHeight","fontSlant","fontWidth","letterSpacing","TypographyConfig","FontConfig","TShirtSize","TShirtSizeCommon","Extract","AvatarSize","AvatarSizeConfig","AvatarShape","BorderRadius","IconSizeConfig","SpacingConfig","AlwaysPaletteColor","ElevationSurfaceColor","ElevationBackgroundFillColor","ElevationBorderColor","RGBColorValue","RGBAUnit","r","g","b","a","ElevationCustomShadows","ElevationCustomInsetShadows","RGBUnit","ElevationPreset","BorderWidth","surfaceColor","layerWithBackgroundFill","backgroundFill","backgroundBlurRadius","finalBackgroundOpacity","finalBackgroundValue","fallbackBlurredBackgroundValue","borderWidth","dropShadow","insetShadow","ElevationLevel","ElevationConfig","ColorMode","ElevationGlobalRampSettings","progression","ambientLight","shadowDistance","shadowOpacity","shadowColor","backgroundOpacity","ElevationGlobalRampConfig","isAdvancedModeEnabled","colorMode","FocusRingWidth","FocusRingOffset","FocusRingColor","FocusRingConfig","width","offset","FocusRingModeConfig","BorderRadiusConfig","BorderWidthWithElevation","BorderWidthConfig","ColorModeForApp","ColorModeConfig","ColorsConfig","SpectrumConfig","palette","spectrum","SpectrumRGB","SpectrumValueEntry","rgb","SpectrumValue","ScaleMode","ScaleModeForApp","ScaleConfig","avatarSizes","iconSizes","borderRadius","ScaleModeConfig","ButtonSize","ButtonPalette","ButtonVariant","ButtonContrastVariant","ScaleEffect","ButtonVariantFlat","ButtonSpectrumColor","ButtonPaletteColor","IconButtonSize","InputSize","PlatformMode","HighContrastMode","RegionMode","Modes","scaleMode","Animation","TransitionDelay","TransitionDuration","TransitionTiming","MotionVariant","MotionVariantSpeed","MotionSpringConfigOptions","MotionSpringConfig","damping","stiffness","MotionVariantValues","MotionConfig","FontCssVar","MotionCssVar","UdsCssVar","AriaAttribute","DataAttribute","Flex","FlexGrow","FlexShrink","FlexAlignContent","FlexAlignItems","FlexAlignSelf","FlexDirection","FlexWrap","FlexJustifyContent","FlexBasis","Display","Overflow","Position","ImageStyleProps","contentFit","BorderStyleProps","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderStartColor","borderEndColor","borderTopColor","borderBottomColor","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","NestedBorderRadiusStyleProps","nestedBorderRadius","nestedBorderRadiusSize","nestedBorderRadiusSpacing","nestedBorderRadiusWidth","ShadowStyleProps","LayoutStyleProps","display","overflow","overflowX","overflowY","position","SpacingStyleProps","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap","FlexStyleProps","alignContent","alignItems","alignSelf","flex","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","StateStyleProps","interactable","focusable","TextStyleProps","placeholderColor","textAlign","BackgroundStyleProps","CustomSizingStyleProps","iconSize","avatarSize","SizeStyleProps","height","StyleProps","UniversalBoxProps","asChild","as","elevation","UniversalStackProps","Omit","gap","separator","index","UniversalTextProps","variant","UniversalIconProps","Icon","name","size","SVGElementProps","SVGSVGElement","IconPropsWithSVGProps","IconSlotRenderProps","BackwardsCompatibleReactElement","UniversalIconSlot","iconProps","UniversalPressableProps","onPress","UniversalIconButtonProps","iconVariant","htmlName","loading","disableEffects","UniversalButtonProps","IconSlotType","Pick","startIcon","endIcon","UniversalImageProps","src","alt","ImgElementProps","HTMLImageElement","ImgHTMLAttributes","ImagePropsWithImgProps","UniversalFormLabelProps","required","hasError","showRequiredAsterisk","label","UniversalInputProps","disabled","helpText","helperTextIcon","reduceMotion","readOnly","DividerVariant","UniversalDividerProps","vertical","contentPosition","LinkVariant","LinkTextVariant","UniversalLinkProps","textVariant","alwaysUnderline","CheckboxValue","CheckboxVariant","CheckboxSize","UniversalCheckboxProps","checked","labelPosition","RadioValue","RadioVariant","RadioSize","UniversalRadioProps","UniversalRadioGroupProps","defaultValue","onChange","SwitchSize","UniversalSwitchProps","isOn","defaultIsOn","onIcon","offIcon","ChipVariant","ChipSize","UniversalChipBaseProps","minWidth","maxWidth","UniversalChipDismissibleProps","onDismiss","dismissButtonAriaLabel","dismissIcon","UniversalChipToggleProps","isToggled","onToggle","UniversalChipButtonProps","UniversalChipLinkProps","href","UniversalChipProps","BadgeVariant","BadgeSize","UniversalBadgeProps","iconColor","BannerVariant","BannerSize","UniversalBannerProps","title","description","children","AvatarVariant","AvatarAbbreviationStrategy","UniversalAvatarBaseProps","customSize","abbreviationStrategy","className","UniversalAvatarImageProps","srcSet","fallback","UniversalAvatarTextProps","initials","UniversalAvatarIconProps","icon","UniversalAvatarProps","UniversalMenuItemProps","active","slots","root","ref","props","ToastSize","ToastVariant","ToastPosition","UniversalToastProps","message","actionButton","onClickActionButton","closeIcon","onClickCloseButton","id","VerticalPlacement","HorizontalPlacement","TooltipPlacement","TooltipSize","TooltipVariant","UniversalTabsVariant","UniversalTooltipProps","placement","open","portal","UniversalTooltipTriggerProps","UniversalTooltipContentProps","startTitleIcon","endContent","UniversalTabsProps","defaultSelectedId","selectedId","onSelectionChange","UniversalTabListProps","AriaAttributes","scrollable","UniversalTabPanelProps","tabId","UniversalTabProps","PaddleNavOrientation","PaddleNavVariant","PaddleNavSize","UniversalPaddleNavProps","orientation","outsideContent","UniversalPaddleButtonProps","IconSlot","onClick","hidden","UniversalPaddleNavContentProps","BottomSheetVariant","BottomSheetHeight","BottomSheetSnapPoints","UniversalBottomSheetProps","snapPoints","defaultSnapPointIndex","snapPointIndex","onSnapPointChange","dismissible","enableDrag","showHandleIndicator","fullWidthAtMaxSnap","UniversalBottomSheetHeaderProps","start","end","UniversalBottomSheetContentProps","PopoverPlacement","PopoverSize","PopoverVariant","UniversalPopoverProps","Event","hideArrow","hideDismissButton","defaultOpen","onClose","event","onOpen","disableAutoFocus","disableVerticalSpacing","disableHorizontalSpacing","sameWidth","gutter","UniversalPopoverTriggerProps","UniversalPopoverContentProps","maxHeight","ModalSize","ModalVariant","UniversalModalProps","modal","includeScrim","fullWidth","fullHeight","scrollBehavior","content","actions","closeAriaLabel","style","UniversalModalTitleProps","UniversalModalDescriptionProps","UniversalModalContentProps","UniversalModalActionsProps","startContent","ConfigurableComponentName","UniversalTokensConfigAutoBase","UniversalTokensConfigBase","GlobalDefaultsConfig","$defs","links","systems","version","font","motion","typography","elevationGlobalRamp","focusRing","globalDefaults","UniversalTokensConfigGeneric","ConfigAuto","breakpoint","enableResponsiveType"],"sources":["../../../../types/dist/index.d.ts"],"mappings":";;;;;;;KAYKS,QAAAA;AAIW;;;AAAA,KAAXC,WAAAA;;AA6BiC;;;;KAvBjCC,oBAAAA,GAAuBC,KAAAA,CAAMC,aAAAA;AAwBJ;AAAA,KAAzBiB,yBAAAA;AAAAA,KACAC,2BAAAA,MAAiCD,yBAAAA;AAAAA,KACjCE,kBAAAA,GAAqBF,yBAAAA,GAA4BC,2BAAAA;AAAAA,KACjDE,qBAAAA;AAAAA,KAEAE,sBAAAA,6BAAmDF,qBAAAA,GAAwBD,kBAAAA;AAAAA,KAE3EO,sBAAAA,iEAAuFN,qBAAAA,GAAwBD,kBAAAA;AAAAA,KAE/GS,gBAAAA,oDAAoER,qBAAAA,GAAwBD,kBAAAA;;KAK5Fa,4BAAAA;;KAEAC,4BAAAA;AAAAA,KACAC,kBAAAA,GAAqBD,4BAAAA,GAA+BD,4BAAAA;AAAAA,KAiBpDgB,eAAAA,GAAkBtB,sBAAAA,GAAyBQ,kBAAAA;AAAAA,KAC3Ce,SAAAA,GAAYrB,gBAAAA,GAAmBM,kBAAAA,GAAqBgB,cAAAA;AAAAA,KACpDC,eAAAA,GAAkB7B,sBAAAA,GAAy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;AAAAA;AAAAA,UAEQC,wBAAAA,SAAiCP,wBAAAA;EAtN7B9E;EAwNZjB,IAAAA;EAhNQb;EAkNRoH,QAAAA;AAAAA;AAAAA,UAEQC,wBAAAA,gBAAwCjG,iBAAAA,UAA2Bf,IAAAA,CAAKuG,wBAAAA;EA5OrCxF;EA8O3CkG,IAAAA,GAAOxF,YAAAA;AAAAA;AAAAA,KAyEJ+G,oBAAAA;AAAAA,UA+BKS,kBAAAA;EAxRR3G;EA0RA8D,QAAAA,EAAU5a,SAAAA;EAtRVqY;EAwRAxD,OAAAA,GAAUmI,oBAAAA;EAxRG;AAEA;;;;EA4Rb3F,YAAAA;EA3Re;EA6RfqG,iBAAAA;;EAEAC,UAAAA;EA9RY;EAgSZC,iBAAAA,IAAqBD,UAAAA;AAAAA;AAAAA,UAEbE,qBAAAA,SAA8Btd,KAAAA,CAAMud,cAAAA;EA/RlCvF;EAiSVqC,QAAAA,EAAU5a,SAAAA;EA7ROA;EA+RjB+d,UAAAA;EA/R6C;EAiS7C7C,SAAAA;AAAAA;AAAAA,UAEQ8C,sBAAAA;EArSR/I;EAuSAgJ,KAAAA;EArSAjH;EAuSA4D,QAAAA,EAAU5a,SAAAA;EAvS0BA;EAySpCkb,SAAAA;AAAAA;AAAAA,UAEQgD,iBAAAA;EAnSR7G;EAqSApW,KAAAA;EAnSa;EAqSb2Z,QAAAA,EAAU5a,SAAAA;EArSG;EAuSbmW,SAAAA,GAAYZ,iBAAAA;;EAEZa,OAAAA,GAAUb,iBAAAA;EArSVP;EAuSAkC,QAAAA;EAnSAyB;EAqSAvE,OAAAA;EAnSYnT;EAqSZia,SAAAA;AAAAA"}
|
|
@@ -45,6 +45,7 @@ type FontWeightDescriptive = 'thin' | 'extralight' | 'light' | 'regular' | 'medi
|
|
|
45
45
|
type TextTransform = 'none' | 'uppercase' | 'lowercase' | 'capitalize';
|
|
46
46
|
type TShirtSize = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
47
47
|
type TShirtSizeCommon = Extract<TShirtSize, 'sm' | 'md' | 'lg'>;
|
|
48
|
+
type AvatarSize = '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
48
49
|
type SpacingAlias = '0' | 'px' | '0.5' | '1' | '1.5' | '2' | '2.5' | '3' | '3.5' | '4' | '4.5' | '5' | '5.5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '14' | '16' | '20' | '24' | '28' | '32' | '36' | '40' | '44' | '48' | '52' | '56' | '60' | '64' | '72' | '80' | '96';
|
|
49
50
|
type ElevationLevel = '0' | '1' | '2' | '3' | '4' | '5';
|
|
50
51
|
type ElevationAlias = `elevation-${ElevationLevel}`;
|
|
@@ -371,6 +372,40 @@ interface UniversalBannerProps<IconSlotType = UniversalIconSlot> {
|
|
|
371
372
|
/** Actions (Button, Link) or BannerContent + actions. */
|
|
372
373
|
children?: ReactNode;
|
|
373
374
|
}
|
|
375
|
+
type AvatarVariant = 'primary' | 'secondary';
|
|
376
|
+
type AvatarAbbreviationStrategy = 'first' | 'last' | 'firstAndLast' | 'firstTwo' | 'firstThree' | 'firstOfEach' | ((name: string) => string);
|
|
377
|
+
interface UniversalAvatarBaseProps {
|
|
378
|
+
/** The size of the avatar. @default 'md' */
|
|
379
|
+
size?: AvatarSize;
|
|
380
|
+
/** The visual style variant of the avatar. @default 'primary' */
|
|
381
|
+
variant?: 'primary' | 'secondary';
|
|
382
|
+
/** Custom size in pixels, overriding the size token. */
|
|
383
|
+
customSize?: number;
|
|
384
|
+
/** Strategy for generating initials from a name. */
|
|
385
|
+
abbreviationStrategy?: AvatarAbbreviationStrategy;
|
|
386
|
+
/** Alt text for accessibility. */
|
|
387
|
+
alt?: string;
|
|
388
|
+
/** Additional CSS class name. */
|
|
389
|
+
className?: string;
|
|
390
|
+
}
|
|
391
|
+
interface UniversalAvatarImageProps extends UniversalAvatarBaseProps {
|
|
392
|
+
/** Image source URL. */
|
|
393
|
+
src: string;
|
|
394
|
+
/** Responsive image source set. */
|
|
395
|
+
srcSet?: string;
|
|
396
|
+
/** Fallback name or initials displayed when the image fails to load. */
|
|
397
|
+
fallback?: string;
|
|
398
|
+
}
|
|
399
|
+
interface UniversalAvatarTextProps extends UniversalAvatarBaseProps {
|
|
400
|
+
/** Full name used to generate initials. */
|
|
401
|
+
name?: string;
|
|
402
|
+
/** Explicit initials to display (overrides auto-generated from name). */
|
|
403
|
+
initials?: string;
|
|
404
|
+
}
|
|
405
|
+
interface UniversalAvatarIconProps<IconSlotType = UniversalIconSlot> extends Omit<UniversalAvatarBaseProps, 'abbreviationStrategy'> {
|
|
406
|
+
/** Custom icon to display in the avatar. */
|
|
407
|
+
icon?: IconSlotType;
|
|
408
|
+
}
|
|
374
409
|
type UniversalTabsVariant = 'primary' | 'secondary';
|
|
375
410
|
interface UniversalTabsProps {
|
|
376
411
|
/** The TabList and TabPanel elements. */
|
|
@@ -423,5 +458,5 @@ interface UniversalTabProps {
|
|
|
423
458
|
className?: string;
|
|
424
459
|
}
|
|
425
460
|
//#endregion
|
|
426
|
-
export { type BadgeSize, type BadgeVariant, type BannerVariant, type ButtonSize, type ButtonVariantFlat, type ChipSize, type ChipVariant, type ElevationLevel, type IconButtonSize, type IconSize, type IconVariant, type MotionConfig, type MotionVariantValues, type RadioSize, type RadioVariant, type UniversalBannerProps, type UniversalCheckboxProps, type UniversalDividerProps, type UniversalFormLabelProps, type UniversalImageProps, type UniversalInputProps, type UniversalLinkProps, type UniversalRadioGroupProps, type UniversalRadioProps, type UniversalSwitchProps, type UniversalTabListProps, type UniversalTabPanelProps, type UniversalTabProps, type UniversalTabsProps, type UniversalTabsVariant };
|
|
461
|
+
export { type AvatarAbbreviationStrategy, type AvatarSize, type AvatarVariant, type BadgeSize, type BadgeVariant, type BannerVariant, type ButtonSize, type ButtonVariantFlat, type ChipSize, type ChipVariant, type ElevationLevel, type IconButtonSize, type IconSize, type IconVariant, type InputSize, type MotionConfig, type MotionVariantValues, type RadioSize, type RadioVariant, type UniversalAvatarIconProps, type UniversalAvatarImageProps, type UniversalAvatarTextProps, type UniversalBannerProps, type UniversalCheckboxProps, type UniversalDividerProps, type UniversalFormLabelProps, type UniversalImageProps, type UniversalInputProps, type UniversalLinkProps, type UniversalRadioGroupProps, type UniversalRadioProps, type UniversalSwitchProps, type UniversalTabListProps, type UniversalTabPanelProps, type UniversalTabProps, type UniversalTabsProps, type UniversalTabsVariant };
|
|
427
462
|
//# sourceMappingURL=index.d.ts.map
|