@yahoo/uds-mobile 2.7.1 → 2.9.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/dist/_virtual/_rolldown/runtime.cjs +12 -22
- package/dist/_virtual/_rolldown/runtime.js +6 -11
- package/dist/bin/fixtures/dist/index.mjs +17 -20
- package/dist/bin/fonts/dist/index.mjs +22 -13
- package/dist/bin/generateTheme.mjs +2 -5
- package/dist/bin/mobile/scripts/utils/configToRNMappings.mjs +1 -2
- package/dist/bin/modes/dist/index.mjs +1 -2
- package/dist/bin/palette/dist/index.mjs +15 -4
- package/dist/bin/uds-mobile.mjs +1 -3
- package/dist/components/AndroidBackHandler.cjs +3 -5
- package/dist/components/AndroidBackHandler.js +1 -2
- package/dist/components/AndroidBackHandler.js.map +1 -1
- package/dist/components/Avatar.cjs +6 -8
- package/dist/components/Avatar.d.cts +2 -2
- package/dist/components/Avatar.d.cts.map +1 -1
- package/dist/components/Avatar.d.ts +2 -2
- package/dist/components/Avatar.d.ts.map +1 -1
- package/dist/components/Avatar.js +1 -2
- package/dist/components/Avatar.js.map +1 -1
- package/dist/components/Badge.cjs +6 -8
- package/dist/components/Badge.d.cts +2 -2
- package/dist/components/Badge.d.cts.map +1 -1
- package/dist/components/Badge.d.ts +2 -2
- package/dist/components/Badge.d.ts.map +1 -1
- package/dist/components/Badge.js +1 -2
- package/dist/components/Badge.js.map +1 -1
- package/dist/components/Banner/Banner.cjs +7 -9
- package/dist/components/Banner/Banner.d.cts +2 -2
- package/dist/components/Banner/Banner.d.cts.map +1 -1
- package/dist/components/Banner/Banner.d.ts +2 -2
- package/dist/components/Banner/Banner.d.ts.map +1 -1
- package/dist/components/Banner/Banner.js +1 -2
- package/dist/components/Banner/Banner.js.map +1 -1
- package/dist/components/Banner/BannerContent.cjs +3 -5
- package/dist/components/Banner/BannerContent.d.cts +2 -2
- package/dist/components/Banner/BannerContent.d.cts.map +1 -1
- package/dist/components/Banner/BannerContent.d.ts +2 -2
- package/dist/components/Banner/BannerContent.d.ts.map +1 -1
- package/dist/components/Banner/BannerContent.js +1 -2
- package/dist/components/Banner/BannerContent.js.map +1 -1
- package/dist/components/Banner/BannerDescription.cjs +4 -6
- package/dist/components/Banner/BannerDescription.d.cts +2 -2
- package/dist/components/Banner/BannerDescription.d.cts.map +1 -1
- package/dist/components/Banner/BannerDescription.d.ts +2 -2
- package/dist/components/Banner/BannerDescription.d.ts.map +1 -1
- package/dist/components/Banner/BannerDescription.js +1 -2
- package/dist/components/Banner/BannerDescription.js.map +1 -1
- package/dist/components/Banner/BannerTitle.cjs +4 -6
- package/dist/components/Banner/BannerTitle.d.cts +2 -2
- package/dist/components/Banner/BannerTitle.d.cts.map +1 -1
- package/dist/components/Banner/BannerTitle.d.ts +2 -2
- package/dist/components/Banner/BannerTitle.d.ts.map +1 -1
- package/dist/components/Banner/BannerTitle.js +1 -2
- package/dist/components/Banner/BannerTitle.js.map +1 -1
- package/dist/components/Banner/index.cjs +6 -7
- package/dist/components/Banner/index.js +1 -2
- package/dist/components/Banner/utils.cjs +3 -5
- package/dist/components/Banner/utils.js +1 -2
- package/dist/components/Banner/utils.js.map +1 -1
- package/dist/components/BlurTarget.cjs +3 -5
- package/dist/components/BlurTarget.d.cts +2 -2
- package/dist/components/BlurTarget.d.cts.map +1 -1
- package/dist/components/BlurTarget.d.ts +2 -2
- package/dist/components/BlurTarget.d.ts.map +1 -1
- package/dist/components/BlurTarget.js +1 -2
- package/dist/components/BlurTarget.js.map +1 -1
- package/dist/components/BottomSheet/BottomSheet.cjs +16 -18
- package/dist/components/BottomSheet/BottomSheet.d.cts +2 -2
- package/dist/components/BottomSheet/BottomSheet.d.cts.map +1 -1
- package/dist/components/BottomSheet/BottomSheet.d.ts +2 -2
- package/dist/components/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/dist/components/BottomSheet/BottomSheet.js +1 -2
- package/dist/components/BottomSheet/BottomSheet.js.map +1 -1
- package/dist/components/BottomSheet/BottomSheetContent.cjs +4 -6
- package/dist/components/BottomSheet/BottomSheetContent.d.cts +2 -2
- package/dist/components/BottomSheet/BottomSheetContent.d.cts.map +1 -1
- package/dist/components/BottomSheet/BottomSheetContent.d.ts +2 -2
- package/dist/components/BottomSheet/BottomSheetContent.d.ts.map +1 -1
- package/dist/components/BottomSheet/BottomSheetContent.js +1 -2
- package/dist/components/BottomSheet/BottomSheetContent.js.map +1 -1
- package/dist/components/BottomSheet/BottomSheetDismiss.cjs +4 -6
- package/dist/components/BottomSheet/BottomSheetDismiss.d.cts +2 -2
- package/dist/components/BottomSheet/BottomSheetDismiss.d.cts.map +1 -1
- package/dist/components/BottomSheet/BottomSheetDismiss.d.ts +2 -2
- package/dist/components/BottomSheet/BottomSheetDismiss.d.ts.map +1 -1
- package/dist/components/BottomSheet/BottomSheetDismiss.js +1 -2
- package/dist/components/BottomSheet/BottomSheetDismiss.js.map +1 -1
- package/dist/components/BottomSheet/BottomSheetHandle.cjs +5 -7
- package/dist/components/BottomSheet/BottomSheetHandle.d.cts +2 -2
- package/dist/components/BottomSheet/BottomSheetHandle.d.cts.map +1 -1
- package/dist/components/BottomSheet/BottomSheetHandle.d.ts +2 -2
- package/dist/components/BottomSheet/BottomSheetHandle.d.ts.map +1 -1
- package/dist/components/BottomSheet/BottomSheetHandle.js +1 -2
- package/dist/components/BottomSheet/BottomSheetHandle.js.map +1 -1
- package/dist/components/BottomSheet/BottomSheetHeader.cjs +4 -6
- package/dist/components/BottomSheet/BottomSheetHeader.d.cts +2 -2
- package/dist/components/BottomSheet/BottomSheetHeader.d.cts.map +1 -1
- package/dist/components/BottomSheet/BottomSheetHeader.d.ts +2 -2
- package/dist/components/BottomSheet/BottomSheetHeader.d.ts.map +1 -1
- package/dist/components/BottomSheet/BottomSheetHeader.js +1 -2
- package/dist/components/BottomSheet/BottomSheetHeader.js.map +1 -1
- package/dist/components/BottomSheet/BottomSheetInternalProvider.cjs +3 -5
- package/dist/components/BottomSheet/BottomSheetInternalProvider.d.cts +2 -2
- package/dist/components/BottomSheet/BottomSheetInternalProvider.d.cts.map +1 -1
- package/dist/components/BottomSheet/BottomSheetInternalProvider.d.ts +2 -2
- package/dist/components/BottomSheet/BottomSheetInternalProvider.d.ts.map +1 -1
- package/dist/components/BottomSheet/BottomSheetInternalProvider.js +1 -2
- package/dist/components/BottomSheet/BottomSheetInternalProvider.js.map +1 -1
- package/dist/components/BottomSheet/BottomSheetProvider.cjs +4 -6
- package/dist/components/BottomSheet/BottomSheetProvider.d.cts +2 -2
- package/dist/components/BottomSheet/BottomSheetProvider.d.cts.map +1 -1
- package/dist/components/BottomSheet/BottomSheetProvider.d.ts +2 -2
- package/dist/components/BottomSheet/BottomSheetProvider.d.ts.map +1 -1
- package/dist/components/BottomSheet/BottomSheetProvider.js +1 -2
- package/dist/components/BottomSheet/BottomSheetProvider.js.map +1 -1
- package/dist/components/BottomSheet/BottomSheetTrigger.cjs +4 -6
- package/dist/components/BottomSheet/BottomSheetTrigger.d.cts +2 -2
- package/dist/components/BottomSheet/BottomSheetTrigger.d.cts.map +1 -1
- package/dist/components/BottomSheet/BottomSheetTrigger.d.ts +2 -2
- package/dist/components/BottomSheet/BottomSheetTrigger.d.ts.map +1 -1
- package/dist/components/BottomSheet/BottomSheetTrigger.js +1 -2
- package/dist/components/BottomSheet/BottomSheetTrigger.js.map +1 -1
- package/dist/components/BottomSheet/index.cjs +10 -11
- package/dist/components/BottomSheet/index.js +1 -2
- package/dist/components/BottomSheet/useBottomSheetDrag.cjs +4 -6
- package/dist/components/BottomSheet/useBottomSheetDrag.js +1 -2
- package/dist/components/BottomSheet/useBottomSheetDrag.js.map +1 -1
- package/dist/components/BottomSheet/useBottomSheetScroll.cjs +4 -6
- package/dist/components/BottomSheet/useBottomSheetScroll.d.cts +5 -5
- package/dist/components/BottomSheet/useBottomSheetScroll.d.ts +5 -5
- package/dist/components/BottomSheet/useBottomSheetScroll.js +1 -2
- package/dist/components/BottomSheet/useBottomSheetScroll.js.map +1 -1
- package/dist/components/BottomSheet/useBottomSheetSnapModel.cjs +6 -8
- package/dist/components/BottomSheet/useBottomSheetSnapModel.js +3 -4
- package/dist/components/BottomSheet/useBottomSheetSnapModel.js.map +1 -1
- package/dist/components/BottomSheet/useBottomSheetStore.cjs +3 -5
- package/dist/components/BottomSheet/useBottomSheetStore.js +1 -2
- package/dist/components/BottomSheet/useBottomSheetStore.js.map +1 -1
- package/dist/components/BottomSheet/useExpansionMargins.cjs +4 -6
- package/dist/components/BottomSheet/useExpansionMargins.js +1 -2
- package/dist/components/BottomSheet/useExpansionMargins.js.map +1 -1
- package/dist/components/BottomSheet/useKeyboardAvoidance.cjs +3 -5
- package/dist/components/BottomSheet/useKeyboardAvoidance.js +1 -2
- package/dist/components/BottomSheet/useKeyboardAvoidance.js.map +1 -1
- package/dist/components/BottomSheet/utils.cjs +2 -4
- package/dist/components/BottomSheet/utils.js +1 -1
- package/dist/components/BottomSheet/utils.js.map +1 -1
- package/dist/components/Box.cjs +3 -5
- package/dist/components/Box.d.cts +2 -2
- package/dist/components/Box.d.cts.map +1 -1
- package/dist/components/Box.d.ts +2 -2
- package/dist/components/Box.d.ts.map +1 -1
- package/dist/components/Box.js +1 -2
- package/dist/components/Box.js.map +1 -1
- package/dist/components/Button.cjs +8 -10
- package/dist/components/Button.d.cts +2 -2
- package/dist/components/Button.d.cts.map +1 -1
- package/dist/components/Button.d.ts +2 -2
- package/dist/components/Button.d.ts.map +1 -1
- package/dist/components/Button.js +1 -2
- package/dist/components/Button.js.map +1 -1
- package/dist/components/Checkbox.cjs +9 -11
- package/dist/components/Checkbox.d.cts +2 -2
- package/dist/components/Checkbox.d.cts.map +1 -1
- package/dist/components/Checkbox.d.ts +2 -2
- package/dist/components/Checkbox.d.ts.map +1 -1
- package/dist/components/Checkbox.js +1 -2
- package/dist/components/Checkbox.js.map +1 -1
- package/dist/components/Chip.cjs +7 -9
- package/dist/components/Chip.d.cts +2 -2
- package/dist/components/Chip.d.cts.map +1 -1
- package/dist/components/Chip.d.ts +2 -2
- package/dist/components/Chip.d.ts.map +1 -1
- package/dist/components/Chip.js +1 -2
- package/dist/components/Chip.js.map +1 -1
- package/dist/components/HStack.cjs +4 -6
- package/dist/components/HStack.d.cts +2 -2
- package/dist/components/HStack.d.cts.map +1 -1
- package/dist/components/HStack.d.ts +2 -2
- package/dist/components/HStack.d.ts.map +1 -1
- package/dist/components/HStack.js +1 -2
- package/dist/components/HStack.js.map +1 -1
- package/dist/components/Icon.cjs +3 -5
- package/dist/components/Icon.d.cts +4 -4
- package/dist/components/Icon.d.cts.map +1 -1
- package/dist/components/Icon.d.ts +4 -4
- package/dist/components/Icon.d.ts.map +1 -1
- package/dist/components/Icon.js +1 -2
- package/dist/components/Icon.js.map +1 -1
- package/dist/components/IconButton.cjs +7 -9
- package/dist/components/IconButton.d.cts +2 -2
- package/dist/components/IconButton.d.cts.map +1 -1
- package/dist/components/IconButton.d.ts +2 -2
- package/dist/components/IconButton.d.ts.map +1 -1
- package/dist/components/IconButton.js +1 -2
- package/dist/components/IconButton.js.map +1 -1
- package/dist/components/IconSlot.cjs +4 -6
- package/dist/components/IconSlot.d.cts +2 -2
- package/dist/components/IconSlot.d.cts.map +1 -1
- package/dist/components/IconSlot.d.ts +2 -2
- package/dist/components/IconSlot.d.ts.map +1 -1
- package/dist/components/IconSlot.js +1 -2
- package/dist/components/IconSlot.js.map +1 -1
- package/dist/components/Image.cjs +3 -5
- package/dist/components/Image.d.cts +2 -2
- package/dist/components/Image.d.cts.map +1 -1
- package/dist/components/Image.d.ts +2 -2
- package/dist/components/Image.d.ts.map +1 -1
- package/dist/components/Image.js +1 -2
- package/dist/components/Image.js.map +1 -1
- package/dist/components/Input.cjs +7 -9
- package/dist/components/Input.d.cts +2 -2
- package/dist/components/Input.d.cts.map +1 -1
- package/dist/components/Input.d.ts +2 -2
- package/dist/components/Input.d.ts.map +1 -1
- package/dist/components/Input.js +1 -2
- package/dist/components/Input.js.map +1 -1
- package/dist/components/Link.cjs +4 -6
- package/dist/components/Link.d.cts +2 -2
- package/dist/components/Link.d.cts.map +1 -1
- package/dist/components/Link.d.ts +2 -2
- package/dist/components/Link.d.ts.map +1 -1
- package/dist/components/Link.js +1 -2
- package/dist/components/Link.js.map +1 -1
- package/dist/components/Pressable.cjs +3 -5
- package/dist/components/Pressable.d.cts +4 -4
- package/dist/components/Pressable.d.cts.map +1 -1
- package/dist/components/Pressable.d.ts +4 -4
- package/dist/components/Pressable.d.ts.map +1 -1
- package/dist/components/Pressable.js +1 -2
- package/dist/components/Pressable.js.map +1 -1
- package/dist/components/Radio.cjs +8 -10
- package/dist/components/Radio.d.cts +2 -2
- package/dist/components/Radio.d.cts.map +1 -1
- package/dist/components/Radio.d.ts +2 -2
- package/dist/components/Radio.d.ts.map +1 -1
- package/dist/components/Radio.js +1 -2
- package/dist/components/Radio.js.map +1 -1
- package/dist/components/Screen.cjs +5 -7
- package/dist/components/Screen.d.cts +2 -2
- package/dist/components/Screen.d.cts.map +1 -1
- package/dist/components/Screen.d.ts +2 -2
- package/dist/components/Screen.d.ts.map +1 -1
- package/dist/components/Screen.js +1 -2
- package/dist/components/Screen.js.map +1 -1
- package/dist/components/Scrim.cjs +4 -6
- package/dist/components/Scrim.d.cts +2 -2
- package/dist/components/Scrim.d.cts.map +1 -1
- package/dist/components/Scrim.d.ts +2 -2
- package/dist/components/Scrim.d.ts.map +1 -1
- package/dist/components/Scrim.js +1 -2
- package/dist/components/Scrim.js.map +1 -1
- package/dist/components/Switch.cjs +6 -8
- package/dist/components/Switch.d.cts +2 -2
- package/dist/components/Switch.d.cts.map +1 -1
- package/dist/components/Switch.d.ts +2 -2
- package/dist/components/Switch.d.ts.map +1 -1
- package/dist/components/Switch.js +1 -2
- package/dist/components/Switch.js.map +1 -1
- package/dist/components/Text.cjs +3 -5
- package/dist/components/Text.d.cts +2 -2
- package/dist/components/Text.d.cts.map +1 -1
- package/dist/components/Text.d.ts +2 -2
- package/dist/components/Text.d.ts.map +1 -1
- package/dist/components/Text.js +1 -2
- package/dist/components/Text.js.map +1 -1
- package/dist/components/UDSProvider.cjs +4 -6
- package/dist/components/UDSProvider.d.cts +2 -2
- package/dist/components/UDSProvider.d.cts.map +1 -1
- package/dist/components/UDSProvider.d.ts +2 -2
- package/dist/components/UDSProvider.d.ts.map +1 -1
- package/dist/components/UDSProvider.js +1 -2
- package/dist/components/UDSProvider.js.map +1 -1
- package/dist/components/VStack.cjs +4 -6
- package/dist/components/VStack.d.cts +2 -2
- package/dist/components/VStack.d.cts.map +1 -1
- package/dist/components/VStack.d.ts +2 -2
- package/dist/components/VStack.d.ts.map +1 -1
- package/dist/components/VStack.js +1 -2
- package/dist/components/VStack.js.map +1 -1
- package/dist/jest/index.cjs +8 -10
- package/dist/jest/index.js +1 -2
- package/dist/jest/index.js.map +1 -1
- package/dist/jest/mocks/icons.cjs +8 -11
- package/dist/jest/mocks/icons.js +1 -2
- package/dist/jest/mocks/icons.js.map +1 -1
- package/dist/jest/mocks/react-native.cjs +6 -5
- package/dist/jest/mocks/react-native.js +1 -2
- package/dist/jest/mocks/react-native.js.map +1 -1
- package/dist/jest/mocks/reanimated.cjs +11 -10
- package/dist/jest/mocks/reanimated.js +1 -2
- package/dist/jest/mocks/reanimated.js.map +1 -1
- package/dist/jest/mocks/styles.cjs +8 -11
- package/dist/jest/mocks/styles.js +1 -2
- package/dist/jest/mocks/styles.js.map +1 -1
- package/dist/jest/mocks/svg.cjs +11 -10
- package/dist/jest/mocks/svg.js +2 -3
- package/dist/jest/mocks/svg.js.map +1 -1
- package/dist/jest/mocks/unistyles.cjs +8 -11
- package/dist/jest/mocks/unistyles.js +1 -2
- package/dist/jest/mocks/unistyles.js.map +1 -1
- package/dist/jest/setup.cjs +6 -8
- package/dist/jest/setup.js +1 -2
- package/dist/jest/setup.js.map +1 -1
- package/dist/motion-tokens/dist/index.cjs +1 -3
- package/dist/motion-tokens/dist/index.js +1 -1
- package/dist/motion-tokens/dist/index.js.map +1 -1
- package/dist/motion.cjs +3 -5
- package/dist/motion.js +1 -2
- package/dist/motion.js.map +1 -1
- package/dist/native/UDSScreenCornerRadiusModule.cjs +2 -4
- package/dist/native/UDSScreenCornerRadiusModule.js +1 -1
- package/dist/portal.cjs +3 -5
- package/dist/portal.d.cts +2 -2
- package/dist/portal.d.cts.map +1 -1
- package/dist/portal.d.ts +2 -2
- package/dist/portal.d.ts.map +1 -1
- package/dist/portal.js +1 -2
- package/dist/portal.js.map +1 -1
- package/fonts/uds-icons.ttf +0 -0
- package/package.json +1 -1
|
@@ -8,28 +8,20 @@ var __getProtoOf = Object.getPrototypeOf;
|
|
|
8
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
9
|
var __exportAll = (all, no_symbols) => {
|
|
10
10
|
let target = {};
|
|
11
|
-
for (var name in all) {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
if (!no_symbols) {
|
|
18
|
-
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
19
|
-
}
|
|
11
|
+
for (var name in all) __defProp(target, name, {
|
|
12
|
+
get: all[name],
|
|
13
|
+
enumerable: true
|
|
14
|
+
});
|
|
15
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
20
16
|
return target;
|
|
21
17
|
};
|
|
22
18
|
var __copyProps = (to, from, except, desc) => {
|
|
23
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
}
|
|
19
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
20
|
+
key = keys[i];
|
|
21
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
22
|
+
get: ((k) => from[k]).bind(null, key),
|
|
23
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
24
|
+
});
|
|
33
25
|
}
|
|
34
26
|
return to;
|
|
35
27
|
};
|
|
@@ -37,8 +29,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
37
29
|
value: mod,
|
|
38
30
|
enumerable: true
|
|
39
31
|
}) : target, mod));
|
|
40
|
-
|
|
41
32
|
//#endregion
|
|
42
|
-
|
|
43
33
|
exports.__exportAll = __exportAll;
|
|
44
|
-
exports.__toESM = __toESM;
|
|
34
|
+
exports.__toESM = __toESM;
|
|
@@ -3,17 +3,12 @@
|
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __exportAll = (all, no_symbols) => {
|
|
5
5
|
let target = {};
|
|
6
|
-
for (var name in all) {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
if (!no_symbols) {
|
|
13
|
-
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
14
|
-
}
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
15
11
|
return target;
|
|
16
12
|
};
|
|
17
|
-
|
|
18
13
|
//#endregion
|
|
19
|
-
export { __exportAll };
|
|
14
|
+
export { __exportAll };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
function createArbitraryFixture(fixture) {
|
|
4
4
|
return fixture;
|
|
5
5
|
}
|
|
6
|
-
|
|
6
|
+
createArbitraryFixture({
|
|
7
7
|
type: "arbitraryFixture",
|
|
8
8
|
valueType: "integer",
|
|
9
9
|
min: 0,
|
|
@@ -179,14 +179,14 @@ var opacitySteps = [
|
|
|
179
179
|
"100"
|
|
180
180
|
];
|
|
181
181
|
var fromEntries = (item) => Object.fromEntries(item);
|
|
182
|
-
|
|
183
|
-
|
|
182
|
+
fromEntries(opacitySteps.map((key) => [key, `${parseInt(key) / 100}`]));
|
|
183
|
+
[
|
|
184
184
|
...backgroundPaletteColors,
|
|
185
185
|
...alwaysPaletteAliases,
|
|
186
186
|
...elevationAliases
|
|
187
187
|
];
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
[...foregroundPaletteColors, ...alwaysPaletteAliases];
|
|
189
|
+
[
|
|
190
190
|
...linePaletteColors,
|
|
191
191
|
...alwaysPaletteAliases,
|
|
192
192
|
...elevationAliases
|
|
@@ -201,7 +201,7 @@ var avatarSizeSort = {
|
|
|
201
201
|
"2xl": 6,
|
|
202
202
|
"3xl": 7
|
|
203
203
|
};
|
|
204
|
-
|
|
204
|
+
[
|
|
205
205
|
"sm",
|
|
206
206
|
"md",
|
|
207
207
|
"lg",
|
|
@@ -220,7 +220,7 @@ var borderRadiiSort = {
|
|
|
220
220
|
xl: 5,
|
|
221
221
|
full: 6
|
|
222
222
|
};
|
|
223
|
-
|
|
223
|
+
[
|
|
224
224
|
"sm",
|
|
225
225
|
"md",
|
|
226
226
|
"lg",
|
|
@@ -235,20 +235,19 @@ var borderWidthSort = {
|
|
|
235
235
|
medium: 2,
|
|
236
236
|
thick: 3
|
|
237
237
|
};
|
|
238
|
-
|
|
238
|
+
[...[
|
|
239
239
|
"medium",
|
|
240
240
|
"none",
|
|
241
241
|
"thin",
|
|
242
242
|
"thick"
|
|
243
|
-
].sort((a, b) => borderWidthSort[a] - borderWidthSort[b]);
|
|
244
|
-
var borderWidthsWithElevation = [...borderWidths, ...elevationAliases.map((alias) => `width-${alias}`)];
|
|
243
|
+
].sort((a, b) => borderWidthSort[a] - borderWidthSort[b]), ...elevationAliases.map((alias) => `width-${alias}`)];
|
|
245
244
|
var iconSizeSort = {
|
|
246
245
|
xs: 0,
|
|
247
246
|
sm: 1,
|
|
248
247
|
md: 2,
|
|
249
248
|
lg: 3
|
|
250
249
|
};
|
|
251
|
-
|
|
250
|
+
[
|
|
252
251
|
"sm",
|
|
253
252
|
"md",
|
|
254
253
|
"lg",
|
|
@@ -293,7 +292,7 @@ var spacingMap = {
|
|
|
293
292
|
"80": 320,
|
|
294
293
|
"96": 384
|
|
295
294
|
};
|
|
296
|
-
|
|
295
|
+
fromEntries([
|
|
297
296
|
"0",
|
|
298
297
|
"1",
|
|
299
298
|
"2",
|
|
@@ -395,8 +394,7 @@ var shadowOpacities = [
|
|
|
395
394
|
"98",
|
|
396
395
|
"99",
|
|
397
396
|
"100"
|
|
398
|
-
];
|
|
399
|
-
var shadowOpacityMap = fromEntries(shadowOpacities.map((key) => [key, parseInt(key)]));
|
|
397
|
+
].map((key) => [key, parseInt(key)]));
|
|
400
398
|
var buttonVariantPriority = {
|
|
401
399
|
primary: 0,
|
|
402
400
|
secondary: 1,
|
|
@@ -432,7 +430,7 @@ var buttonVariantsFlat = [
|
|
|
432
430
|
});
|
|
433
431
|
var buttonVariantsSecondary = buttonVariantsFlat.filter((v) => v.includes("secondary"));
|
|
434
432
|
var buttonVariantsTertiary = buttonVariantsFlat.filter((v) => v.includes("tertiary"));
|
|
435
|
-
|
|
433
|
+
buttonVariantsFlat.filter((v) => !buttonVariantsSecondary.includes(v) && !buttonVariantsTertiary.includes(v));
|
|
436
434
|
var preferredTShirtSizeSort = {
|
|
437
435
|
none: 0,
|
|
438
436
|
xs: 1,
|
|
@@ -442,13 +440,13 @@ var preferredTShirtSizeSort = {
|
|
|
442
440
|
xl: 5,
|
|
443
441
|
full: 6
|
|
444
442
|
};
|
|
445
|
-
|
|
443
|
+
[
|
|
446
444
|
"sm",
|
|
447
445
|
"md",
|
|
448
446
|
"lg",
|
|
449
447
|
"xs"
|
|
450
448
|
].sort((a, b) => preferredTShirtSizeSort[a] - preferredTShirtSizeSort[b]);
|
|
451
|
-
|
|
449
|
+
[
|
|
452
450
|
"sm",
|
|
453
451
|
"md",
|
|
454
452
|
"lg",
|
|
@@ -472,7 +470,6 @@ var shadowVariantsInvert = [
|
|
|
472
470
|
"xl-invert",
|
|
473
471
|
"2xl-invert"
|
|
474
472
|
];
|
|
475
|
-
|
|
476
|
-
|
|
473
|
+
[...shadowVariants, ...shadowVariantsInvert];
|
|
477
474
|
//#endregion
|
|
478
|
-
export { spacingMap };
|
|
475
|
+
export { spacingMap };
|
|
@@ -14,16 +14,6 @@ const serifFallbacks = [
|
|
|
14
14
|
"Times New Roman",
|
|
15
15
|
"serif"
|
|
16
16
|
];
|
|
17
|
-
const monoFallbacks = [
|
|
18
|
-
"ui-monospace",
|
|
19
|
-
"SFMono-Regular",
|
|
20
|
-
"Menlo",
|
|
21
|
-
"Monaco",
|
|
22
|
-
"Consolas",
|
|
23
|
-
"Liberation Mono",
|
|
24
|
-
"Courier New",
|
|
25
|
-
"monospace"
|
|
26
|
-
];
|
|
27
17
|
const FONT_DECLARATIONS_MAP = {
|
|
28
18
|
"centra-no2": {
|
|
29
19
|
fallback: sansFallbacks,
|
|
@@ -308,9 +298,14 @@ const FONT_DECLARATIONS_MAP = {
|
|
|
308
298
|
defaults: {
|
|
309
299
|
fontSlant: void 0,
|
|
310
300
|
fontWidth: 100,
|
|
301
|
+
/**
|
|
302
|
+
* Font file fvar axis default is 300, and "Regular" named instance is at 400.
|
|
303
|
+
* Using 400 to match the font's Regular instance.
|
|
304
|
+
*/
|
|
311
305
|
fontWeight: 400
|
|
312
306
|
},
|
|
313
307
|
declarations: [{
|
|
308
|
+
/** TODO: We can make performant by only including font weights used for this font in config */
|
|
314
309
|
fontStyle: "normal",
|
|
315
310
|
fontWeight: "1 1000",
|
|
316
311
|
src: `${UDS_FONTS_CDN_PREFIX}/yas-latin1-normal-no-italic-vf.woff2`
|
|
@@ -367,12 +362,22 @@ const FONT_DECLARATIONS_MAP = {
|
|
|
367
362
|
fontWeight: 400
|
|
368
363
|
},
|
|
369
364
|
declarations: [{
|
|
365
|
+
/** TODO: We can make performant by only including font weights used for this font in config */
|
|
370
366
|
fontWeight: "1 1000",
|
|
371
367
|
src: `${UDS_FONTS_CDN_PREFIX}/inter-vf.woff2`
|
|
372
368
|
}]
|
|
373
369
|
},
|
|
374
370
|
"roboto-mono": {
|
|
375
|
-
fallback:
|
|
371
|
+
fallback: [
|
|
372
|
+
"ui-monospace",
|
|
373
|
+
"SFMono-Regular",
|
|
374
|
+
"Menlo",
|
|
375
|
+
"Monaco",
|
|
376
|
+
"Consolas",
|
|
377
|
+
"Liberation Mono",
|
|
378
|
+
"Courier New",
|
|
379
|
+
"monospace"
|
|
380
|
+
],
|
|
376
381
|
type: "mono",
|
|
377
382
|
fontFamily: "Roboto Mono",
|
|
378
383
|
isVariableFont: false,
|
|
@@ -505,6 +510,7 @@ const FONT_DECLARATIONS_MAP = {
|
|
|
505
510
|
fontWeight: 400
|
|
506
511
|
},
|
|
507
512
|
declarations: [{
|
|
513
|
+
/** TODO: We can make performant by only including font weights used for this font in config */
|
|
508
514
|
fontWeight: "1 1000",
|
|
509
515
|
src: `${UDS_FONTS_CDN_PREFIX}/yahoo-sans-vf.woff2`
|
|
510
516
|
}]
|
|
@@ -541,6 +547,7 @@ const FONT_DECLARATIONS_MAP = {
|
|
|
541
547
|
fontWeight: 450
|
|
542
548
|
},
|
|
543
549
|
declarations: [{
|
|
550
|
+
/** TODO: We can make performant by only including font weights used for this font in config */
|
|
544
551
|
fontWeight: "1 1000",
|
|
545
552
|
src: `${UDS_FONTS_CDN_PREFIX}/yahoo-sans-cr4-vf.woff2`
|
|
546
553
|
}]
|
|
@@ -577,6 +584,7 @@ const FONT_DECLARATIONS_MAP = {
|
|
|
577
584
|
fontWeight: 450
|
|
578
585
|
},
|
|
579
586
|
declarations: [{
|
|
587
|
+
/** TODO: We can make performant by only including font weights used for this font in config */
|
|
580
588
|
fontWeight: "1 1000",
|
|
581
589
|
src: `${UDS_FONTS_CDN_PREFIX}/yahoo-product-sans-vf.woff2`
|
|
582
590
|
}]
|
|
@@ -651,6 +659,7 @@ const FONT_DECLARATIONS_MAP = {
|
|
|
651
659
|
fontWeight: 450
|
|
652
660
|
},
|
|
653
661
|
declarations: [{
|
|
662
|
+
/** TODO: We can make performant by only including font weights used for this font in config */
|
|
654
663
|
fontWeight: "1 1000",
|
|
655
664
|
src: `${UDS_FONTS_CDN_PREFIX}/YahooPd_Eval202412-v1.1.0.woff2`
|
|
656
665
|
}]
|
|
@@ -694,6 +703,7 @@ const FONT_DECLARATIONS_MAP = {
|
|
|
694
703
|
fontWeight: 400
|
|
695
704
|
},
|
|
696
705
|
declarations: [{
|
|
706
|
+
/** TODO: We can make performant by only including font weights used for this font in config */
|
|
697
707
|
fontWeight: "1 1000",
|
|
698
708
|
src: `${UDS_FONTS_CDN_PREFIX}/yahoo-sans-condensed-vf.woff2`
|
|
699
709
|
}]
|
|
@@ -803,6 +813,5 @@ const FONT_DECLARATIONS_MAP = {
|
|
|
803
813
|
]
|
|
804
814
|
}
|
|
805
815
|
};
|
|
806
|
-
|
|
807
816
|
//#endregion
|
|
808
|
-
export { FONT_DECLARATIONS_MAP };
|
|
817
|
+
export { FONT_DECLARATIONS_MAP };
|
|
@@ -5,7 +5,6 @@ import { DEFAULT_SCALE_MODE } from "./modes/dist/index.mjs";
|
|
|
5
5
|
import { newAlwaysPalette } from "./palette/dist/index.mjs";
|
|
6
6
|
import { MOBILE_STATES, PROPERTY_TO_RN_PROPS, SHADOW_PROPS, TEXT_ONLY_PROPS, toSlashKey } from "./mobile/scripts/utils/configToRNMappings.mjs";
|
|
7
7
|
import { fontAliasToPostscript } from "@yahoo/uds-mobile/fonts";
|
|
8
|
-
|
|
9
8
|
//#region bin/generateTheme.ts
|
|
10
9
|
/**
|
|
11
10
|
* Generate Unistyles theme from UDS tokens.
|
|
@@ -477,8 +476,7 @@ function generateComponents(config, colorMode) {
|
|
|
477
476
|
if (stateValue && stateValue.type === "textVariants") {
|
|
478
477
|
const variantName = stateValue.value;
|
|
479
478
|
const typographyStyles = resolveTypographyStyles(variantName, typography, config);
|
|
480
|
-
|
|
481
|
-
Object.assign(targetObj, typographyStyles);
|
|
479
|
+
Object.assign(isRootLayer ? textStyleObj : viewStyleObj, typographyStyles);
|
|
482
480
|
}
|
|
483
481
|
continue;
|
|
484
482
|
}
|
|
@@ -608,6 +606,5 @@ function generateBreakpoints(config) {
|
|
|
608
606
|
"2xl": bp["2xl"].type === "px" ? bp["2xl"].value : 0
|
|
609
607
|
};
|
|
610
608
|
}
|
|
611
|
-
|
|
612
609
|
//#endregion
|
|
613
|
-
export { generateBreakpoints, generateTheme };
|
|
610
|
+
export { generateBreakpoints, generateTheme };
|
|
@@ -77,6 +77,5 @@ const MOBILE_STATES = [
|
|
|
77
77
|
function toSlashKey(parts) {
|
|
78
78
|
return parts.join("/");
|
|
79
79
|
}
|
|
80
|
-
|
|
81
80
|
//#endregion
|
|
82
|
-
export { MOBILE_STATES, PROPERTY_TO_RN_PROPS, SHADOW_PROPS, TEXT_ONLY_PROPS, toSlashKey };
|
|
81
|
+
export { MOBILE_STATES, PROPERTY_TO_RN_PROPS, SHADOW_PROPS, TEXT_ONLY_PROPS, toSlashKey };
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
//#region ../palette/dist/index.js
|
|
3
3
|
const deprecatedAlwaysPalette = {
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Use 'always/white' instead
|
|
6
|
+
*/
|
|
4
7
|
white: "#ffffff",
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated Use 'always/black' instead
|
|
10
|
+
*/
|
|
5
11
|
black: "#000000",
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated Use 'always/transparent' instead
|
|
14
|
+
*/
|
|
6
15
|
transparent: "transparent",
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated Use 'always/current' instead
|
|
18
|
+
*/
|
|
7
19
|
current: "currentColor"
|
|
8
20
|
};
|
|
9
21
|
const newAlwaysPalette = {
|
|
@@ -14,10 +26,9 @@ const newAlwaysPalette = {
|
|
|
14
26
|
"always/brand": "#7d2eff",
|
|
15
27
|
"always/accent": "#f8fb4c"
|
|
16
28
|
};
|
|
17
|
-
|
|
29
|
+
({
|
|
18
30
|
...deprecatedAlwaysPalette,
|
|
19
31
|
...newAlwaysPalette
|
|
20
|
-
};
|
|
21
|
-
|
|
32
|
+
});
|
|
22
33
|
//#endregion
|
|
23
|
-
export { newAlwaysPalette };
|
|
34
|
+
export { newAlwaysPalette };
|
package/dist/bin/uds-mobile.mjs
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { existsSync, mkdirSync, writeFileSync } from "node:fs";
|
|
3
3
|
import { resolve } from "node:path";
|
|
4
4
|
import { pathToFileURL } from "node:url";
|
|
5
|
-
|
|
6
5
|
//#region bin/uds-mobile.ts
|
|
7
6
|
/**
|
|
8
7
|
* @yahoo/uds-mobile CLI
|
|
@@ -248,6 +247,5 @@ main().catch((error) => {
|
|
|
248
247
|
logError(`Error: ${error.message}`);
|
|
249
248
|
process.exit(1);
|
|
250
249
|
});
|
|
251
|
-
|
|
252
250
|
//#endregion
|
|
253
|
-
export {
|
|
251
|
+
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value:
|
|
3
|
-
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
require("../_virtual/_rolldown/runtime.cjs");
|
|
4
4
|
let react = require("react");
|
|
5
5
|
let react_native = require("react-native");
|
|
6
|
-
|
|
7
6
|
//#region src/components/AndroidBackHandler.tsx
|
|
8
7
|
/**
|
|
9
8
|
* Handles the Android hardware back button.
|
|
@@ -26,6 +25,5 @@ function AndroidBackHandler({ isOpen, dismissible, onDismiss }) {
|
|
|
26
25
|
]);
|
|
27
26
|
return null;
|
|
28
27
|
}
|
|
29
|
-
|
|
30
28
|
//#endregion
|
|
31
|
-
exports.AndroidBackHandler = AndroidBackHandler;
|
|
29
|
+
exports.AndroidBackHandler = AndroidBackHandler;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
|
|
2
2
|
import { useEffect } from "react";
|
|
3
3
|
import { BackHandler } from "react-native";
|
|
4
|
-
|
|
5
4
|
//#region src/components/AndroidBackHandler.tsx
|
|
6
5
|
/**
|
|
7
6
|
* Handles the Android hardware back button.
|
|
@@ -24,7 +23,7 @@ function AndroidBackHandler({ isOpen, dismissible, onDismiss }) {
|
|
|
24
23
|
]);
|
|
25
24
|
return null;
|
|
26
25
|
}
|
|
27
|
-
|
|
28
26
|
//#endregion
|
|
29
27
|
export { AndroidBackHandler };
|
|
28
|
+
|
|
30
29
|
//# sourceMappingURL=AndroidBackHandler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AndroidBackHandler.js","names":[],"sources":["../../src/components/AndroidBackHandler.tsx"],"sourcesContent":["import { useEffect } from 'react';\nimport { BackHandler } from 'react-native';\n\ninterface AndroidBackHandlerProps {\n isOpen: boolean;\n dismissible: boolean;\n onDismiss: () => void;\n}\n\n/**\n * Handles the Android hardware back button.\n *\n * While `isOpen` is true, intercepts the back press. If `dismissible`, calls\n * `onDismiss`; otherwise swallows the event to prevent navigation.\n */\nfunction AndroidBackHandler({ isOpen, dismissible, onDismiss }: AndroidBackHandlerProps) {\n useEffect(() => {\n if (!isOpen) {\n return;\n }\n\n const subscription = BackHandler.addEventListener('hardwareBackPress', () => {\n if (dismissible) {\n onDismiss();\n }\n return true;\n });\n\n return () => subscription.remove();\n }, [isOpen, dismissible, onDismiss]);\n\n return null;\n}\n\nexport { AndroidBackHandler };\nexport type { AndroidBackHandlerProps };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"AndroidBackHandler.js","names":[],"sources":["../../src/components/AndroidBackHandler.tsx"],"sourcesContent":["import { useEffect } from 'react';\nimport { BackHandler } from 'react-native';\n\ninterface AndroidBackHandlerProps {\n isOpen: boolean;\n dismissible: boolean;\n onDismiss: () => void;\n}\n\n/**\n * Handles the Android hardware back button.\n *\n * While `isOpen` is true, intercepts the back press. If `dismissible`, calls\n * `onDismiss`; otherwise swallows the event to prevent navigation.\n */\nfunction AndroidBackHandler({ isOpen, dismissible, onDismiss }: AndroidBackHandlerProps) {\n useEffect(() => {\n if (!isOpen) {\n return;\n }\n\n const subscription = BackHandler.addEventListener('hardwareBackPress', () => {\n if (dismissible) {\n onDismiss();\n }\n return true;\n });\n\n return () => subscription.remove();\n }, [isOpen, dismissible, onDismiss]);\n\n return null;\n}\n\nexport { AndroidBackHandler };\nexport type { AndroidBackHandlerProps };\n"],"mappings":";;;;;;;;;;AAeA,SAAS,mBAAmB,EAAE,QAAQ,aAAa,aAAsC;AACvF,iBAAgB;AACd,MAAI,CAAC,OACH;EAGF,MAAM,eAAe,YAAY,iBAAiB,2BAA2B;AAC3E,OAAI,YACF,YAAW;AAEb,UAAO;IACP;AAEF,eAAa,aAAa,QAAQ;IACjC;EAAC;EAAQ;EAAa;EAAU,CAAC;AAEpC,QAAO"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value:
|
|
3
|
-
|
|
4
|
-
const require_components_Box = require(
|
|
5
|
-
const require_components_IconSlot = require(
|
|
6
|
-
const require_components_Text = require(
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
require("../_virtual/_rolldown/runtime.cjs");
|
|
4
|
+
const require_components_Box = require("./Box.cjs");
|
|
5
|
+
const require_components_IconSlot = require("./IconSlot.cjs");
|
|
6
|
+
const require_components_Text = require("./Text.cjs");
|
|
7
7
|
let react = require("react");
|
|
8
8
|
let react_native = require("react-native");
|
|
9
9
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
10
|
let generated_styles = require("../../generated/styles");
|
|
11
|
-
|
|
12
11
|
//#region src/components/Avatar.tsx
|
|
13
12
|
const abbreviationStrategies = {
|
|
14
13
|
first: (initials) => initials[0] ?? "",
|
|
@@ -113,6 +112,5 @@ const Avatar = (0, react.forwardRef)(function Avatar({ src, alt, fallback, size
|
|
|
113
112
|
});
|
|
114
113
|
});
|
|
115
114
|
Avatar.displayName = "Avatar";
|
|
116
|
-
|
|
117
115
|
//#endregion
|
|
118
|
-
exports.Avatar = Avatar;
|
|
116
|
+
exports.Avatar = Avatar;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { IconSlotType } from "./IconSlot.cjs";
|
|
3
|
-
import * as react from "react";
|
|
3
|
+
import * as _$react from "react";
|
|
4
4
|
import { View, ViewProps } from "react-native";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Avatar.d.ts
|
|
@@ -62,7 +62,7 @@ interface AvatarProps extends ViewProps {
|
|
|
62
62
|
*
|
|
63
63
|
* @see {@link Image} for general image display
|
|
64
64
|
*/
|
|
65
|
-
declare const Avatar: react.ForwardRefExoticComponent<AvatarProps & react.RefAttributes<View>>;
|
|
65
|
+
declare const Avatar: _$react.ForwardRefExoticComponent<AvatarProps & _$react.RefAttributes<View>>;
|
|
66
66
|
//#endregion
|
|
67
67
|
export { Avatar, type AvatarProps };
|
|
68
68
|
//# sourceMappingURL=Avatar.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.cts","names":[],"sources":["../../src/components/Avatar.tsx"],"mappings":";;;;;;;KAWK,UAAA;;KAGA,aAAA;;KAGA,oBAAA,qFAOC,IAAA;AAAA,UAEI,WAAA,SAAoB,SAAA;EAff;EAiBb,GAAA;EAdgB;EAgBhB,GAAA;EAhBgB;EAkBhB,QAAA;EAfG;EAiBH,IAAA,GAAO,UAAA;;EAEP,OAAA,GAAU,aAAA;EAZM;EAchB,IAAA,GAAO,YAAA;EAZa;EAcpB,oBAAA,GAAuB,oBAAA;AAAA;;;;;;;;;;;;;;;;;;;;;AAAoB;;;;;;;;;;;;;;;;cAoEvC,MAAA,EAAM,
|
|
1
|
+
{"version":3,"file":"Avatar.d.cts","names":[],"sources":["../../src/components/Avatar.tsx"],"mappings":";;;;;;;KAWK,UAAA;;KAGA,aAAA;;KAGA,oBAAA,qFAOC,IAAA;AAAA,UAEI,WAAA,SAAoB,SAAA;EAff;EAiBb,GAAA;EAdgB;EAgBhB,GAAA;EAhBgB;EAkBhB,QAAA;EAfG;EAiBH,IAAA,GAAO,UAAA;;EAEP,OAAA,GAAU,aAAA;EAZM;EAchB,IAAA,GAAO,YAAA;EAZa;EAcpB,oBAAA,GAAuB,oBAAA;AAAA;;;;;;;;;;;;;;;;;;;;;AAAoB;;;;;;;;;;;;;;;;cAoEvC,MAAA,EAAM,OAAA,CAAA,yBAAA,CAAA,WAAA,GAAA,OAAA,CAAA,aAAA,CAAA,IAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { IconSlotType } from "./IconSlot.js";
|
|
3
|
-
import * as react from "react";
|
|
3
|
+
import * as _$react from "react";
|
|
4
4
|
import { View, ViewProps } from "react-native";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Avatar.d.ts
|
|
@@ -62,7 +62,7 @@ interface AvatarProps extends ViewProps {
|
|
|
62
62
|
*
|
|
63
63
|
* @see {@link Image} for general image display
|
|
64
64
|
*/
|
|
65
|
-
declare const Avatar: react.ForwardRefExoticComponent<AvatarProps & react.RefAttributes<View>>;
|
|
65
|
+
declare const Avatar: _$react.ForwardRefExoticComponent<AvatarProps & _$react.RefAttributes<View>>;
|
|
66
66
|
//#endregion
|
|
67
67
|
export { Avatar, type AvatarProps };
|
|
68
68
|
//# sourceMappingURL=Avatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","names":[],"sources":["../../src/components/Avatar.tsx"],"mappings":";;;;;;;KAWK,UAAA;;KAGA,aAAA;;KAGA,oBAAA,qFAOC,IAAA;AAAA,UAEI,WAAA,SAAoB,SAAA;EAff;EAiBb,GAAA;EAdgB;EAgBhB,GAAA;EAhBgB;EAkBhB,QAAA;EAfG;EAiBH,IAAA,GAAO,UAAA;;EAEP,OAAA,GAAU,aAAA;EAZM;EAchB,IAAA,GAAO,YAAA;EAZa;EAcpB,oBAAA,GAAuB,oBAAA;AAAA;;;;;;;;;;;;;;;;;;;;;AAAoB;;;;;;;;;;;;;;;;cAoEvC,MAAA,EAAM,
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","names":[],"sources":["../../src/components/Avatar.tsx"],"mappings":";;;;;;;KAWK,UAAA;;KAGA,aAAA;;KAGA,oBAAA,qFAOC,IAAA;AAAA,UAEI,WAAA,SAAoB,SAAA;EAff;EAiBb,GAAA;EAdgB;EAgBhB,GAAA;EAhBgB;EAkBhB,QAAA;EAfG;EAiBH,IAAA,GAAO,UAAA;;EAEP,OAAA,GAAU,aAAA;EAZM;EAchB,IAAA,GAAO,YAAA;EAZa;EAcpB,oBAAA,GAAuB,oBAAA;AAAA;;;;;;;;;;;;;;;;;;;;;AAAoB;;;;;;;;;;;;;;;;cAoEvC,MAAA,EAAM,OAAA,CAAA,yBAAA,CAAA,WAAA,GAAA,OAAA,CAAA,aAAA,CAAA,IAAA"}
|
|
@@ -6,7 +6,6 @@ import { forwardRef, useState } from "react";
|
|
|
6
6
|
import { Image } from "react-native";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { avatarStyles } from "../../generated/styles";
|
|
9
|
-
|
|
10
9
|
//#region src/components/Avatar.tsx
|
|
11
10
|
const abbreviationStrategies = {
|
|
12
11
|
first: (initials) => initials[0] ?? "",
|
|
@@ -111,7 +110,7 @@ const Avatar = forwardRef(function Avatar({ src, alt, fallback, size = "md", var
|
|
|
111
110
|
});
|
|
112
111
|
});
|
|
113
112
|
Avatar.displayName = "Avatar";
|
|
114
|
-
|
|
115
113
|
//#endregion
|
|
116
114
|
export { Avatar };
|
|
115
|
+
|
|
117
116
|
//# sourceMappingURL=Avatar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.js","names":["RNImage","Text"],"sources":["../../src/components/Avatar.tsx"],"sourcesContent":["import { forwardRef, useState } from 'react';\nimport type { View, ViewProps } from 'react-native';\nimport { Image as RNImage } from 'react-native';\n\nimport { avatarStyles } from '../../generated/styles';\nimport { Box } from './Box';\nimport type { IconSlotType } from './IconSlot';\nimport { IconSlot } from './IconSlot';\nimport { Text } from './Text';\n\n/** Avatar size options */\ntype AvatarSize = '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';\n\n/** Avatar variant options */\ntype AvatarVariant = 'primary' | 'secondary';\n\n/** Abbreviation strategy for generating initials */\ntype AbbreviationStrategy =\n | 'first'\n | 'last'\n | 'firstAndLast'\n | 'firstTwo'\n | 'firstThree'\n | 'firstOfEach'\n | ((name: string) => string);\n\ninterface AvatarProps extends ViewProps {\n /** Image source URL */\n src?: string;\n /** Alt text for the image, also used for generating initials */\n alt?: string;\n /** Explicit initials to display (overrides auto-generated from alt) */\n fallback?: string;\n /** Size of the avatar @default 'md' */\n size?: AvatarSize;\n /** Variant style @default 'primary' */\n variant?: AvatarVariant;\n /** Custom icon to display when no image or text fallback */\n icon?: IconSlotType;\n /** Strategy for generating initials from name @default 'firstAndLast' */\n abbreviationStrategy?: AbbreviationStrategy;\n}\n\nconst abbreviationStrategies: Record<\n Exclude<AbbreviationStrategy, (name: string) => string>,\n (initials: string[]) => string\n> = {\n first: (initials) => initials[0] ?? '',\n last: (initials) => initials[initials.length - 1] ?? '',\n firstAndLast: (initials) =>\n initials.length === 1 ? (initials[0] ?? '') : `${initials[0]}${initials[initials.length - 1]}`,\n firstTwo: (initials) => initials.slice(0, 2).join(''),\n firstThree: (initials) => initials.slice(0, 3).join(''),\n firstOfEach: (initials) => initials.join(''),\n};\n\n/** Generate initials from a name */\nfunction generateInitials(name?: string, strategy: AbbreviationStrategy = 'firstAndLast'): string {\n if (!name) {\n return '';\n }\n\n if (typeof strategy === 'function') {\n return strategy(name);\n }\n\n const words = name.trim().split(/\\s+/);\n const initials = words.map((word) => word[0]?.toUpperCase() ?? '');\n\n return abbreviationStrategies[strategy](initials);\n}\n\n/**\n * **Avatar component for user representation**\n *\n * @description\n * Displays a user avatar with image, initials fallback, or icon fallback.\n *\n * @category Display\n * @platform mobile\n *\n * @example\n * ```tsx\n * import { Avatar } from '@yahoo/uds-mobile';\n *\n * // With image\n * <Avatar\n * src=\"https://example.com/photo.jpg\"\n * alt=\"Jane Doe\"\n * />\n *\n * // With initials fallback\n * <Avatar alt=\"Jane Doe\" />\n *\n * // With explicit initials\n * <Avatar fallback=\"JD\" />\n *\n * // With custom icon\n * <Avatar icon=\"Person\" variant=\"secondary\" />\n * ```\n *\n * @accessibility\n * - Sets `accessibilityRole=\"image\"` automatically\n * - Uses `alt` prop as accessibility label\n * - Always provide meaningful `alt` text for user identification\n *\n * @see {@link Image} for general image display\n */\nconst Avatar = forwardRef<View, AvatarProps>(function Avatar(\n {\n src,\n alt,\n fallback,\n size = 'md',\n variant = 'primary',\n icon,\n abbreviationStrategy = 'firstAndLast',\n style,\n ...props\n },\n ref,\n) {\n const [imageError, setImageError] = useState(false);\n\n const initials = fallback || generateInitials(alt, abbreviationStrategy);\n\n const hasImage = src && !imageError;\n const hasText = initials.length > 0;\n const showImage = hasImage;\n const showText = !hasImage && hasText;\n const showIcon = !hasImage && !hasText;\n\n avatarStyles.useVariants({\n size,\n ...(showImage && { image: variant }),\n ...(showText && { text: variant }),\n ...(showIcon && { icon: variant }),\n });\n\n return (\n <Box\n ref={ref}\n style={[\n avatarStyles.root,\n { alignItems: 'center', justifyContent: 'center', overflow: 'hidden' },\n style,\n ]}\n accessibilityRole=\"image\"\n accessibilityLabel={alt}\n {...props}\n >\n {showImage && (\n <RNImage\n source={{ uri: src }}\n style={{ width: '100%', height: '100%' }}\n onError={() => setImageError(true)}\n accessibilityLabel={alt}\n />\n )}\n\n {showText && (\n <Text style={avatarStyles.text} numberOfLines={1}>\n {initials}\n </Text>\n )}\n\n {showIcon && <IconSlot icon={icon ?? 'Person'} variant=\"fill\" style={avatarStyles.icon} />}\n </Box>\n );\n});\n\nAvatar.displayName = 'Avatar';\n\nexport { Avatar, type AvatarProps };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Avatar.js","names":["RNImage","Text"],"sources":["../../src/components/Avatar.tsx"],"sourcesContent":["import { forwardRef, useState } from 'react';\nimport type { View, ViewProps } from 'react-native';\nimport { Image as RNImage } from 'react-native';\n\nimport { avatarStyles } from '../../generated/styles';\nimport { Box } from './Box';\nimport type { IconSlotType } from './IconSlot';\nimport { IconSlot } from './IconSlot';\nimport { Text } from './Text';\n\n/** Avatar size options */\ntype AvatarSize = '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';\n\n/** Avatar variant options */\ntype AvatarVariant = 'primary' | 'secondary';\n\n/** Abbreviation strategy for generating initials */\ntype AbbreviationStrategy =\n | 'first'\n | 'last'\n | 'firstAndLast'\n | 'firstTwo'\n | 'firstThree'\n | 'firstOfEach'\n | ((name: string) => string);\n\ninterface AvatarProps extends ViewProps {\n /** Image source URL */\n src?: string;\n /** Alt text for the image, also used for generating initials */\n alt?: string;\n /** Explicit initials to display (overrides auto-generated from alt) */\n fallback?: string;\n /** Size of the avatar @default 'md' */\n size?: AvatarSize;\n /** Variant style @default 'primary' */\n variant?: AvatarVariant;\n /** Custom icon to display when no image or text fallback */\n icon?: IconSlotType;\n /** Strategy for generating initials from name @default 'firstAndLast' */\n abbreviationStrategy?: AbbreviationStrategy;\n}\n\nconst abbreviationStrategies: Record<\n Exclude<AbbreviationStrategy, (name: string) => string>,\n (initials: string[]) => string\n> = {\n first: (initials) => initials[0] ?? '',\n last: (initials) => initials[initials.length - 1] ?? '',\n firstAndLast: (initials) =>\n initials.length === 1 ? (initials[0] ?? '') : `${initials[0]}${initials[initials.length - 1]}`,\n firstTwo: (initials) => initials.slice(0, 2).join(''),\n firstThree: (initials) => initials.slice(0, 3).join(''),\n firstOfEach: (initials) => initials.join(''),\n};\n\n/** Generate initials from a name */\nfunction generateInitials(name?: string, strategy: AbbreviationStrategy = 'firstAndLast'): string {\n if (!name) {\n return '';\n }\n\n if (typeof strategy === 'function') {\n return strategy(name);\n }\n\n const words = name.trim().split(/\\s+/);\n const initials = words.map((word) => word[0]?.toUpperCase() ?? '');\n\n return abbreviationStrategies[strategy](initials);\n}\n\n/**\n * **Avatar component for user representation**\n *\n * @description\n * Displays a user avatar with image, initials fallback, or icon fallback.\n *\n * @category Display\n * @platform mobile\n *\n * @example\n * ```tsx\n * import { Avatar } from '@yahoo/uds-mobile';\n *\n * // With image\n * <Avatar\n * src=\"https://example.com/photo.jpg\"\n * alt=\"Jane Doe\"\n * />\n *\n * // With initials fallback\n * <Avatar alt=\"Jane Doe\" />\n *\n * // With explicit initials\n * <Avatar fallback=\"JD\" />\n *\n * // With custom icon\n * <Avatar icon=\"Person\" variant=\"secondary\" />\n * ```\n *\n * @accessibility\n * - Sets `accessibilityRole=\"image\"` automatically\n * - Uses `alt` prop as accessibility label\n * - Always provide meaningful `alt` text for user identification\n *\n * @see {@link Image} for general image display\n */\nconst Avatar = forwardRef<View, AvatarProps>(function Avatar(\n {\n src,\n alt,\n fallback,\n size = 'md',\n variant = 'primary',\n icon,\n abbreviationStrategy = 'firstAndLast',\n style,\n ...props\n },\n ref,\n) {\n const [imageError, setImageError] = useState(false);\n\n const initials = fallback || generateInitials(alt, abbreviationStrategy);\n\n const hasImage = src && !imageError;\n const hasText = initials.length > 0;\n const showImage = hasImage;\n const showText = !hasImage && hasText;\n const showIcon = !hasImage && !hasText;\n\n avatarStyles.useVariants({\n size,\n ...(showImage && { image: variant }),\n ...(showText && { text: variant }),\n ...(showIcon && { icon: variant }),\n });\n\n return (\n <Box\n ref={ref}\n style={[\n avatarStyles.root,\n { alignItems: 'center', justifyContent: 'center', overflow: 'hidden' },\n style,\n ]}\n accessibilityRole=\"image\"\n accessibilityLabel={alt}\n {...props}\n >\n {showImage && (\n <RNImage\n source={{ uri: src }}\n style={{ width: '100%', height: '100%' }}\n onError={() => setImageError(true)}\n accessibilityLabel={alt}\n />\n )}\n\n {showText && (\n <Text style={avatarStyles.text} numberOfLines={1}>\n {initials}\n </Text>\n )}\n\n {showIcon && <IconSlot icon={icon ?? 'Person'} variant=\"fill\" style={avatarStyles.icon} />}\n </Box>\n );\n});\n\nAvatar.displayName = 'Avatar';\n\nexport { Avatar, type AvatarProps };\n"],"mappings":";;;;;;;;;AA2CA,MAAM,yBAGF;CACF,QAAQ,aAAa,SAAS,MAAM;CACpC,OAAO,aAAa,SAAS,SAAS,SAAS,MAAM;CACrD,eAAe,aACb,SAAS,WAAW,IAAK,SAAS,MAAM,KAAM,GAAG,SAAS,KAAK,SAAS,SAAS,SAAS;CAC5F,WAAW,aAAa,SAAS,MAAM,GAAG,EAAE,CAAC,KAAK,GAAG;CACrD,aAAa,aAAa,SAAS,MAAM,GAAG,EAAE,CAAC,KAAK,GAAG;CACvD,cAAc,aAAa,SAAS,KAAK,GAAG;CAC7C;;AAGD,SAAS,iBAAiB,MAAe,WAAiC,gBAAwB;AAChG,KAAI,CAAC,KACH,QAAO;AAGT,KAAI,OAAO,aAAa,WACtB,QAAO,SAAS,KAAK;CAIvB,MAAM,WADQ,KAAK,MAAM,CAAC,MAAM,MACV,CAAC,KAAK,SAAS,KAAK,IAAI,aAAa,IAAI,GAAG;AAElE,QAAO,uBAAuB,UAAU,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCnD,MAAM,SAAS,WAA8B,SAAS,OACpD,EACE,KACA,KACA,UACA,OAAO,MACP,UAAU,WACV,MACA,uBAAuB,gBACvB,OACA,GAAG,SAEL,KACA;CACA,MAAM,CAAC,YAAY,iBAAiB,SAAS,MAAM;CAEnD,MAAM,WAAW,YAAY,iBAAiB,KAAK,qBAAqB;CAExE,MAAM,WAAW,OAAO,CAAC;CACzB,MAAM,UAAU,SAAS,SAAS;CAClC,MAAM,YAAY;CAClB,MAAM,WAAW,CAAC,YAAY;CAC9B,MAAM,WAAW,CAAC,YAAY,CAAC;AAE/B,cAAa,YAAY;EACvB;EACA,GAAI,aAAa,EAAE,OAAO,SAAS;EACnC,GAAI,YAAY,EAAE,MAAM,SAAS;EACjC,GAAI,YAAY,EAAE,MAAM,SAAS;EAClC,CAAC;AAEF,QACE,qBAAC,KAAD;EACO;EACL,OAAO;GACL,aAAa;GACb;IAAE,YAAY;IAAU,gBAAgB;IAAU,UAAU;IAAU;GACtE;GACD;EACD,mBAAkB;EAClB,oBAAoB;EACpB,GAAI;YATN;GAWG,aACC,oBAACA,OAAD;IACE,QAAQ,EAAE,KAAK,KAAK;IACpB,OAAO;KAAE,OAAO;KAAQ,QAAQ;KAAQ;IACxC,eAAe,cAAc,KAAK;IAClC,oBAAoB;IACpB,CAAA;GAGH,YACC,oBAACC,QAAD;IAAM,OAAO,aAAa;IAAM,eAAe;cAC5C;IACI,CAAA;GAGR,YAAY,oBAAC,UAAD;IAAU,MAAM,QAAQ;IAAU,SAAQ;IAAO,OAAO,aAAa;IAAQ,CAAA;GACtF;;EAER;AAEF,OAAO,cAAc"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value:
|
|
3
|
-
|
|
4
|
-
const require_components_IconSlot = require(
|
|
5
|
-
const require_components_Text = require(
|
|
6
|
-
const require_components_HStack = require(
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
require("../_virtual/_rolldown/runtime.cjs");
|
|
4
|
+
const require_components_IconSlot = require("./IconSlot.cjs");
|
|
5
|
+
const require_components_Text = require("./Text.cjs");
|
|
6
|
+
const require_components_HStack = require("./HStack.cjs");
|
|
7
7
|
let react = require("react");
|
|
8
8
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
9
|
let generated_styles = require("../../generated/styles");
|
|
10
|
-
|
|
11
10
|
//#region src/components/Badge.tsx
|
|
12
11
|
/**
|
|
13
12
|
* **A badge component for status indicators**
|
|
@@ -74,6 +73,5 @@ const Badge = (0, react.memo)(function Badge({ variant = "primary", size = "md",
|
|
|
74
73
|
});
|
|
75
74
|
});
|
|
76
75
|
Badge.displayName = "Badge";
|
|
77
|
-
|
|
78
76
|
//#endregion
|
|
79
|
-
exports.Badge = Badge;
|
|
77
|
+
exports.Badge = Badge;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { BadgeSize, BadgeVariant } from "../types/dist/index.cjs";
|
|
3
3
|
import { IconSlotType } from "./IconSlot.cjs";
|
|
4
|
-
import * as react from "react";
|
|
4
|
+
import * as _$react from "react";
|
|
5
5
|
import { Ref } from "react";
|
|
6
6
|
import { View, ViewProps } from "react-native";
|
|
7
7
|
|
|
@@ -55,7 +55,7 @@ interface BadgeProps extends ViewProps {
|
|
|
55
55
|
*
|
|
56
56
|
* @see {@link Chip} for interactive tag-like elements
|
|
57
57
|
*/
|
|
58
|
-
declare const Badge: react.NamedExoticComponent<BadgeProps>;
|
|
58
|
+
declare const Badge: _$react.NamedExoticComponent<BadgeProps>;
|
|
59
59
|
//#endregion
|
|
60
60
|
export { Badge, type BadgeProps };
|
|
61
61
|
//# sourceMappingURL=Badge.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.cts","names":[],"sources":["../../src/components/Badge.tsx"],"mappings":";;;;;;;;UAWU,UAAA,SAAmB,SAAA;;EAE3B,OAAA,GAAU,YAAA;EAFF;EAIR,IAAA,GAAO,SAAA;;EAEP,QAAA;EAFO;EAIP,QAAA;EAIU;EAFV,SAAA,GAAY,YAAA;EAYN;EAVN,OAAA,GAAU,YAAA;EAZ0B;EAcpC,6BAAA;EAd2B;EAgB3B,mBAAA;EAdU;EAgBV,yBAAA;EAdO;EAgBP,uBAAA;EAZA;EAcA,GAAA,GAAM,GAAA,CAAI,IAAA;AAAA;;;;;;;;;;;;AAAI;;;;;;;;;;;;;;cA4BV,KAAA,EAAK,
|
|
1
|
+
{"version":3,"file":"Badge.d.cts","names":[],"sources":["../../src/components/Badge.tsx"],"mappings":";;;;;;;;UAWU,UAAA,SAAmB,SAAA;;EAE3B,OAAA,GAAU,YAAA;EAFF;EAIR,IAAA,GAAO,SAAA;;EAEP,QAAA;EAFO;EAIP,QAAA;EAIU;EAFV,SAAA,GAAY,YAAA;EAYN;EAVN,OAAA,GAAU,YAAA;EAZ0B;EAcpC,6BAAA;EAd2B;EAgB3B,mBAAA;EAdU;EAgBV,yBAAA;EAdO;EAgBP,uBAAA;EAZA;EAcA,GAAA,GAAM,GAAA,CAAI,IAAA;AAAA;;;;;;;;;;;;AAAI;;;;;;;;;;;;;;cA4BV,KAAA,EAAK,OAAA,CAAA,oBAAA,CAAA,UAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { BadgeSize, BadgeVariant } from "../types/dist/index.js";
|
|
3
3
|
import { IconSlotType } from "./IconSlot.js";
|
|
4
|
-
import * as react from "react";
|
|
4
|
+
import * as _$react from "react";
|
|
5
5
|
import { Ref } from "react";
|
|
6
6
|
import { View, ViewProps } from "react-native";
|
|
7
7
|
|
|
@@ -55,7 +55,7 @@ interface BadgeProps extends ViewProps {
|
|
|
55
55
|
*
|
|
56
56
|
* @see {@link Chip} for interactive tag-like elements
|
|
57
57
|
*/
|
|
58
|
-
declare const Badge: react.NamedExoticComponent<BadgeProps>;
|
|
58
|
+
declare const Badge: _$react.NamedExoticComponent<BadgeProps>;
|
|
59
59
|
//#endregion
|
|
60
60
|
export { Badge, type BadgeProps };
|
|
61
61
|
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","names":[],"sources":["../../src/components/Badge.tsx"],"mappings":";;;;;;;;UAWU,UAAA,SAAmB,SAAA;;EAE3B,OAAA,GAAU,YAAA;EAFF;EAIR,IAAA,GAAO,SAAA;;EAEP,QAAA;EAFO;EAIP,QAAA;EAIU;EAFV,SAAA,GAAY,YAAA;EAYN;EAVN,OAAA,GAAU,YAAA;EAZ0B;EAcpC,6BAAA;EAd2B;EAgB3B,mBAAA;EAdU;EAgBV,yBAAA;EAdO;EAgBP,uBAAA;EAZA;EAcA,GAAA,GAAM,GAAA,CAAI,IAAA;AAAA;;;;;;;;;;;;AAAI;;;;;;;;;;;;;;cA4BV,KAAA,EAAK,
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","names":[],"sources":["../../src/components/Badge.tsx"],"mappings":";;;;;;;;UAWU,UAAA,SAAmB,SAAA;;EAE3B,OAAA,GAAU,YAAA;EAFF;EAIR,IAAA,GAAO,SAAA;;EAEP,QAAA;EAFO;EAIP,QAAA;EAIU;EAFV,SAAA,GAAY,YAAA;EAYN;EAVN,OAAA,GAAU,YAAA;EAZ0B;EAcpC,6BAAA;EAd2B;EAgB3B,mBAAA;EAdU;EAgBV,yBAAA;EAdO;EAgBP,uBAAA;EAZA;EAcA,GAAA,GAAM,GAAA,CAAI,IAAA;AAAA;;;;;;;;;;;;AAAI;;;;;;;;;;;;;;cA4BV,KAAA,EAAK,OAAA,CAAA,oBAAA,CAAA,UAAA"}
|