@yahoo/uds-mobile 2.10.0 → 2.11.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 +22 -24
- package/dist/components/Avatar.cjs +1 -1
- package/dist/components/Avatar.d.cts +1 -1
- package/dist/components/Avatar.d.ts +1 -1
- package/dist/components/Avatar.js +1 -1
- package/dist/components/Avatar.js.map +1 -1
- package/dist/components/Badge.cjs +1 -1
- package/dist/components/Badge.d.cts +1 -1
- package/dist/components/Badge.d.ts +1 -1
- package/dist/components/Badge.js +1 -1
- package/dist/components/Badge.js.map +1 -1
- package/dist/components/BlurTarget.cjs +2 -1
- package/dist/components/BlurTarget.d.cts +2 -1
- package/dist/components/BlurTarget.d.cts.map +1 -1
- package/dist/components/BlurTarget.d.ts +2 -1
- package/dist/components/BlurTarget.d.ts.map +1 -1
- package/dist/components/BlurTarget.js +2 -1
- package/dist/components/BlurTarget.js.map +1 -1
- package/dist/components/Box.cjs +1 -1
- package/dist/components/Box.d.cts +1 -1
- package/dist/components/Box.d.ts +1 -1
- package/dist/components/Box.js +1 -1
- package/dist/components/Box.js.map +1 -1
- package/dist/components/Button.cjs +1 -1
- package/dist/components/Button.d.cts +1 -1
- package/dist/components/Button.d.ts +1 -1
- package/dist/components/Button.js +1 -1
- package/dist/components/Button.js.map +1 -1
- package/dist/components/Checkbox.cjs +1 -1
- package/dist/components/Checkbox.d.cts +1 -1
- package/dist/components/Checkbox.d.ts +1 -1
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Checkbox.js.map +1 -1
- package/dist/components/Chip.cjs +1 -1
- package/dist/components/Chip.d.cts +1 -1
- package/dist/components/Chip.d.ts +1 -1
- package/dist/components/Chip.js +1 -1
- package/dist/components/Chip.js.map +1 -1
- package/dist/components/Divider/Divider.cjs +103 -0
- package/dist/components/Divider/Divider.d.cts +50 -0
- package/dist/components/Divider/Divider.d.cts.map +1 -0
- package/dist/components/Divider/Divider.d.ts +50 -0
- package/dist/components/Divider/Divider.d.ts.map +1 -0
- package/dist/components/Divider/Divider.js +103 -0
- package/dist/components/Divider/Divider.js.map +1 -0
- package/dist/components/Divider/DividerLabel.cjs +37 -0
- package/dist/components/Divider/DividerLabel.d.cts +18 -0
- package/dist/components/Divider/DividerLabel.d.cts.map +1 -0
- package/dist/components/Divider/DividerLabel.d.ts +18 -0
- package/dist/components/Divider/DividerLabel.d.ts.map +1 -0
- package/dist/components/Divider/DividerLabel.js +37 -0
- package/dist/components/Divider/DividerLabel.js.map +1 -0
- package/dist/components/Divider/DividerLine.cjs +62 -0
- package/dist/components/Divider/DividerLine.d.cts +19 -0
- package/dist/components/Divider/DividerLine.d.cts.map +1 -0
- package/dist/components/Divider/DividerLine.d.ts +19 -0
- package/dist/components/Divider/DividerLine.d.ts.map +1 -0
- package/dist/components/Divider/DividerLine.js +62 -0
- package/dist/components/Divider/DividerLine.js.map +1 -0
- package/dist/components/Divider/index.cjs +8 -0
- package/dist/components/Divider/index.d.cts +6 -0
- package/dist/components/Divider/index.d.ts +6 -0
- package/dist/components/Divider/index.js +5 -0
- package/dist/components/Divider/types.cjs +1 -0
- package/dist/components/Divider/types.d.cts +35 -0
- package/dist/components/Divider/types.d.cts.map +1 -0
- package/dist/components/Divider/types.d.ts +35 -0
- package/dist/components/Divider/types.d.ts.map +1 -0
- package/dist/components/Divider/types.js +1 -0
- package/dist/components/Divider/utils.cjs +33 -0
- package/dist/components/Divider/utils.d.cts +12 -0
- package/dist/components/Divider/utils.d.cts.map +1 -0
- package/dist/components/Divider/utils.d.ts +12 -0
- package/dist/components/Divider/utils.d.ts.map +1 -0
- package/dist/components/Divider/utils.js +31 -0
- package/dist/components/Divider/utils.js.map +1 -0
- package/dist/components/HStack.cjs +1 -1
- package/dist/components/HStack.d.cts +1 -1
- package/dist/components/HStack.d.ts +1 -1
- package/dist/components/HStack.js +1 -1
- package/dist/components/HStack.js.map +1 -1
- package/dist/components/Icon.cjs +1 -1
- package/dist/components/Icon.d.cts +2 -2
- package/dist/components/Icon.d.ts +2 -2
- package/dist/components/Icon.js +1 -1
- package/dist/components/Icon.js.map +1 -1
- package/dist/components/IconButton.cjs +1 -1
- package/dist/components/IconButton.d.cts +1 -1
- package/dist/components/IconButton.d.ts +1 -1
- package/dist/components/IconButton.js +1 -1
- package/dist/components/IconButton.js.map +1 -1
- package/dist/components/IconSlot.cjs +1 -1
- package/dist/components/IconSlot.d.cts +1 -1
- package/dist/components/IconSlot.d.ts +1 -1
- package/dist/components/IconSlot.js +1 -1
- package/dist/components/IconSlot.js.map +1 -1
- package/dist/components/Image.cjs +1 -1
- package/dist/components/Image.d.cts +1 -1
- package/dist/components/Image.d.ts +1 -1
- package/dist/components/Image.js +1 -1
- package/dist/components/Image.js.map +1 -1
- package/dist/components/Input.cjs +1 -1
- package/dist/components/Input.d.cts +1 -1
- package/dist/components/Input.d.ts +1 -1
- package/dist/components/Input.js +1 -1
- package/dist/components/Input.js.map +1 -1
- package/dist/components/Link.cjs +1 -1
- package/dist/components/Link.d.cts +1 -1
- package/dist/components/Link.d.ts +1 -1
- package/dist/components/Link.js +1 -1
- package/dist/components/Link.js.map +1 -1
- package/dist/components/Pressable.cjs +1 -1
- package/dist/components/Pressable.d.cts +1 -1
- package/dist/components/Pressable.d.ts +1 -1
- package/dist/components/Pressable.js +1 -1
- package/dist/components/Pressable.js.map +1 -1
- package/dist/components/Radio.cjs +1 -1
- package/dist/components/Radio.d.cts +1 -1
- package/dist/components/Radio.d.ts +1 -1
- package/dist/components/Radio.js +1 -1
- package/dist/components/Radio.js.map +1 -1
- package/dist/components/Screen.cjs +1 -1
- package/dist/components/Screen.d.cts +1 -1
- package/dist/components/Screen.d.ts +1 -1
- package/dist/components/Screen.js +1 -1
- package/dist/components/Screen.js.map +1 -1
- package/dist/components/Switch.cjs +1 -1
- package/dist/components/Switch.d.cts +1 -1
- package/dist/components/Switch.d.ts +1 -1
- package/dist/components/Switch.js +1 -1
- package/dist/components/Switch.js.map +1 -1
- package/dist/components/Text.cjs +1 -1
- package/dist/components/Text.d.cts +1 -1
- package/dist/components/Text.d.ts +1 -1
- package/dist/components/Text.js +1 -1
- package/dist/components/Text.js.map +1 -1
- package/dist/components/VStack.cjs +1 -1
- package/dist/components/VStack.d.cts +1 -1
- package/dist/components/VStack.d.ts +1 -1
- package/dist/components/VStack.js +1 -1
- package/dist/components/VStack.js.map +1 -1
- package/dist/jest/mocks/styles.cjs +15 -0
- package/dist/jest/mocks/styles.d.cts +3 -2
- package/dist/jest/mocks/styles.d.cts.map +1 -1
- package/dist/jest/mocks/styles.d.ts +3 -2
- package/dist/jest/mocks/styles.d.ts.map +1 -1
- package/dist/jest/mocks/styles.js +15 -1
- package/dist/jest/mocks/styles.js.map +1 -1
- package/dist/types/dist/index.d.cts +12 -2
- package/dist/types/dist/index.d.cts.map +1 -1
- package/dist/types/dist/index.d.ts +12 -2
- package/dist/types/dist/index.d.ts.map +1 -1
- package/fonts/uds-icons.ttf +0 -0
- package/generated/styles.cjs +19 -13
- package/generated/styles.d.ts +12 -0
- package/generated/styles.mjs +19 -13
- package/generated/unistyles.d.ts +9 -9
- package/package.json +11 -1
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
const require_components_Box = require("../Box.cjs");
|
|
5
|
+
let react = require("react");
|
|
6
|
+
let react_native = require("react-native");
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
let generated_styles = require("../../../generated/styles");
|
|
9
|
+
//#region src/components/Divider/DividerLine.tsx
|
|
10
|
+
/**
|
|
11
|
+
* **The configured line element used by Divider.**
|
|
12
|
+
*
|
|
13
|
+
* @description
|
|
14
|
+
* DividerLine can be used inside Divider for custom composition, or directly
|
|
15
|
+
* inside HStack/VStack when a fully manual layout is easier.
|
|
16
|
+
*
|
|
17
|
+
* @category Layout
|
|
18
|
+
* @platform mobile
|
|
19
|
+
*/
|
|
20
|
+
const DividerLine = (0, react.memo)(function DividerLine({ variant: variantProp, vertical: verticalProp, style, ref, ...boxProps }) {
|
|
21
|
+
const variant = variantProp ?? "primary";
|
|
22
|
+
const vertical = verticalProp ?? false;
|
|
23
|
+
generated_styles.dividerStyles.useVariants({ variant });
|
|
24
|
+
const lineTokens = react_native.StyleSheet.flatten(generated_styles.dividerStyles.line);
|
|
25
|
+
const lineWidth = lineTokens.borderWidth || react_native.StyleSheet.hairlineWidth;
|
|
26
|
+
const lineStyle = (0, react.useMemo)(() => [
|
|
27
|
+
{
|
|
28
|
+
backgroundColor: lineTokens.borderColor,
|
|
29
|
+
borderWidth: 0
|
|
30
|
+
},
|
|
31
|
+
vertical ? {
|
|
32
|
+
height: "100%",
|
|
33
|
+
width: lineWidth
|
|
34
|
+
} : {
|
|
35
|
+
height: lineWidth,
|
|
36
|
+
width: "100%"
|
|
37
|
+
},
|
|
38
|
+
style
|
|
39
|
+
], [
|
|
40
|
+
lineTokens.borderColor,
|
|
41
|
+
lineWidth,
|
|
42
|
+
vertical,
|
|
43
|
+
style
|
|
44
|
+
]);
|
|
45
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Box.Box, {
|
|
46
|
+
ref,
|
|
47
|
+
alignItems: "center",
|
|
48
|
+
flex: "1",
|
|
49
|
+
justifyContent: "center",
|
|
50
|
+
minHeight: vertical ? 1 : lineWidth,
|
|
51
|
+
minWidth: vertical ? lineWidth : 1,
|
|
52
|
+
pointerEvents: "none",
|
|
53
|
+
...boxProps,
|
|
54
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Box.Box, {
|
|
55
|
+
pointerEvents: "none",
|
|
56
|
+
style: lineStyle
|
|
57
|
+
})
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
DividerLine.displayName = "DividerLine";
|
|
61
|
+
//#endregion
|
|
62
|
+
exports.DividerLine = DividerLine;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
import { DividerLineProps } from "./types.cjs";
|
|
3
|
+
import * as _$react from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/Divider/DividerLine.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* **The configured line element used by Divider.**
|
|
8
|
+
*
|
|
9
|
+
* @description
|
|
10
|
+
* DividerLine can be used inside Divider for custom composition, or directly
|
|
11
|
+
* inside HStack/VStack when a fully manual layout is easier.
|
|
12
|
+
*
|
|
13
|
+
* @category Layout
|
|
14
|
+
* @platform mobile
|
|
15
|
+
*/
|
|
16
|
+
declare const DividerLine: _$react.NamedExoticComponent<DividerLineProps>;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { DividerLine };
|
|
19
|
+
//# sourceMappingURL=DividerLine.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DividerLine.d.cts","names":[],"sources":["../../../src/components/Divider/DividerLine.tsx"],"mappings":";;;;;;;;AAMgD;;;;;;;cAY1C,WAAA,EAAW,OAAA,CAAA,oBAAA,CAAA,gBAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
import { DividerLineProps } from "./types.js";
|
|
3
|
+
import * as _$react from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/Divider/DividerLine.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* **The configured line element used by Divider.**
|
|
8
|
+
*
|
|
9
|
+
* @description
|
|
10
|
+
* DividerLine can be used inside Divider for custom composition, or directly
|
|
11
|
+
* inside HStack/VStack when a fully manual layout is easier.
|
|
12
|
+
*
|
|
13
|
+
* @category Layout
|
|
14
|
+
* @platform mobile
|
|
15
|
+
*/
|
|
16
|
+
declare const DividerLine: _$react.NamedExoticComponent<DividerLineProps>;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { DividerLine };
|
|
19
|
+
//# sourceMappingURL=DividerLine.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DividerLine.d.ts","names":[],"sources":["../../../src/components/Divider/DividerLine.tsx"],"mappings":";;;;;;;;AAMgD;;;;;;;cAY1C,WAAA,EAAW,OAAA,CAAA,oBAAA,CAAA,gBAAA"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
|
|
2
|
+
import { Box } from "../Box.js";
|
|
3
|
+
import { memo, useMemo } from "react";
|
|
4
|
+
import { StyleSheet } from "react-native";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { dividerStyles } from "../../../generated/styles";
|
|
7
|
+
//#region src/components/Divider/DividerLine.tsx
|
|
8
|
+
/**
|
|
9
|
+
* **The configured line element used by Divider.**
|
|
10
|
+
*
|
|
11
|
+
* @description
|
|
12
|
+
* DividerLine can be used inside Divider for custom composition, or directly
|
|
13
|
+
* inside HStack/VStack when a fully manual layout is easier.
|
|
14
|
+
*
|
|
15
|
+
* @category Layout
|
|
16
|
+
* @platform mobile
|
|
17
|
+
*/
|
|
18
|
+
const DividerLine = memo(function DividerLine({ variant: variantProp, vertical: verticalProp, style, ref, ...boxProps }) {
|
|
19
|
+
const variant = variantProp ?? "primary";
|
|
20
|
+
const vertical = verticalProp ?? false;
|
|
21
|
+
dividerStyles.useVariants({ variant });
|
|
22
|
+
const lineTokens = StyleSheet.flatten(dividerStyles.line);
|
|
23
|
+
const lineWidth = lineTokens.borderWidth || StyleSheet.hairlineWidth;
|
|
24
|
+
const lineStyle = useMemo(() => [
|
|
25
|
+
{
|
|
26
|
+
backgroundColor: lineTokens.borderColor,
|
|
27
|
+
borderWidth: 0
|
|
28
|
+
},
|
|
29
|
+
vertical ? {
|
|
30
|
+
height: "100%",
|
|
31
|
+
width: lineWidth
|
|
32
|
+
} : {
|
|
33
|
+
height: lineWidth,
|
|
34
|
+
width: "100%"
|
|
35
|
+
},
|
|
36
|
+
style
|
|
37
|
+
], [
|
|
38
|
+
lineTokens.borderColor,
|
|
39
|
+
lineWidth,
|
|
40
|
+
vertical,
|
|
41
|
+
style
|
|
42
|
+
]);
|
|
43
|
+
return /* @__PURE__ */ jsx(Box, {
|
|
44
|
+
ref,
|
|
45
|
+
alignItems: "center",
|
|
46
|
+
flex: "1",
|
|
47
|
+
justifyContent: "center",
|
|
48
|
+
minHeight: vertical ? 1 : lineWidth,
|
|
49
|
+
minWidth: vertical ? lineWidth : 1,
|
|
50
|
+
pointerEvents: "none",
|
|
51
|
+
...boxProps,
|
|
52
|
+
children: /* @__PURE__ */ jsx(Box, {
|
|
53
|
+
pointerEvents: "none",
|
|
54
|
+
style: lineStyle
|
|
55
|
+
})
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
DividerLine.displayName = "DividerLine";
|
|
59
|
+
//#endregion
|
|
60
|
+
export { DividerLine };
|
|
61
|
+
|
|
62
|
+
//# sourceMappingURL=DividerLine.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DividerLine.js","names":[],"sources":["../../../src/components/Divider/DividerLine.tsx"],"sourcesContent":["import { memo, useMemo } from 'react';\nimport type { StyleProp, ViewStyle } from 'react-native';\nimport { StyleSheet } from 'react-native';\n\nimport { dividerStyles } from '../../../generated/styles';\nimport { Box } from '../Box';\nimport type { DividerLineProps } from './types';\n\n/**\n * **The configured line element used by Divider.**\n *\n * @description\n * DividerLine can be used inside Divider for custom composition, or directly\n * inside HStack/VStack when a fully manual layout is easier.\n *\n * @category Layout\n * @platform mobile\n */\nconst DividerLine = memo(function DividerLine({\n variant: variantProp,\n vertical: verticalProp,\n style,\n ref,\n ...boxProps\n}: DividerLineProps) {\n const variant = variantProp ?? 'primary';\n const vertical = verticalProp ?? false;\n\n dividerStyles.useVariants({ variant });\n\n const lineTokens = StyleSheet.flatten(dividerStyles.line) as {\n borderColor?: string;\n borderWidth?: number;\n };\n const lineWidth = lineTokens.borderWidth || StyleSheet.hairlineWidth;\n\n const lineStyle: StyleProp<ViewStyle> = useMemo(\n () => [\n {\n backgroundColor: lineTokens.borderColor,\n borderWidth: 0,\n },\n vertical ? { height: '100%', width: lineWidth } : { height: lineWidth, width: '100%' },\n style,\n ],\n [lineTokens.borderColor, lineWidth, vertical, style],\n );\n\n return (\n <Box\n ref={ref}\n alignItems=\"center\"\n flex=\"1\"\n justifyContent=\"center\"\n minHeight={vertical ? 1 : lineWidth}\n minWidth={vertical ? lineWidth : 1}\n pointerEvents=\"none\"\n {...boxProps}\n >\n <Box pointerEvents=\"none\" style={lineStyle} />\n </Box>\n );\n});\n\nDividerLine.displayName = 'DividerLine';\n\nexport { DividerLine };\n"],"mappings":";;;;;;;;;;;;;;;;;AAkBA,MAAM,cAAc,KAAK,SAAS,YAAY,EAC5C,SAAS,aACT,UAAU,cACV,OACA,KACA,GAAG,YACgB;CACnB,MAAM,UAAU,eAAe;CAC/B,MAAM,WAAW,gBAAgB;AAEjC,eAAc,YAAY,EAAE,SAAS,CAAC;CAEtC,MAAM,aAAa,WAAW,QAAQ,cAAc,KAAK;CAIzD,MAAM,YAAY,WAAW,eAAe,WAAW;CAEvD,MAAM,YAAkC,cAChC;EACJ;GACE,iBAAiB,WAAW;GAC5B,aAAa;GACd;EACD,WAAW;GAAE,QAAQ;GAAQ,OAAO;GAAW,GAAG;GAAE,QAAQ;GAAW,OAAO;GAAQ;EACtF;EACD,EACD;EAAC,WAAW;EAAa;EAAW;EAAU;EAAM,CACrD;AAED,QACE,oBAAC,KAAD;EACO;EACL,YAAW;EACX,MAAK;EACL,gBAAe;EACf,WAAW,WAAW,IAAI;EAC1B,UAAU,WAAW,YAAY;EACjC,eAAc;EACd,GAAI;YAEJ,oBAAC,KAAD;GAAK,eAAc;GAAO,OAAO;GAAa,CAAA;EAC1C,CAAA;EAER;AAEF,YAAY,cAAc"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const require_components_Divider_DividerLabel = require("./DividerLabel.cjs");
|
|
4
|
+
const require_components_Divider_DividerLine = require("./DividerLine.cjs");
|
|
5
|
+
const require_components_Divider_Divider = require("./Divider.cjs");
|
|
6
|
+
exports.Divider = require_components_Divider_Divider.Divider;
|
|
7
|
+
exports.DividerLabel = require_components_Divider_DividerLabel.DividerLabel;
|
|
8
|
+
exports.DividerLine = require_components_Divider_DividerLine.DividerLine;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
import { DividerLabelProps, DividerLineProps, DividerProps } from "./types.cjs";
|
|
3
|
+
import { Divider } from "./Divider.cjs";
|
|
4
|
+
import { DividerLabel } from "./DividerLabel.cjs";
|
|
5
|
+
import { DividerLine } from "./DividerLine.cjs";
|
|
6
|
+
export { Divider, DividerLabel, type DividerLabelProps, DividerLine, type DividerLineProps, type DividerProps };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
import { DividerLabelProps, DividerLineProps, DividerProps } from "./types.js";
|
|
3
|
+
import { Divider } from "./Divider.js";
|
|
4
|
+
import { DividerLabel } from "./DividerLabel.js";
|
|
5
|
+
import { DividerLine } from "./DividerLine.js";
|
|
6
|
+
export { Divider, DividerLabel, type DividerLabelProps, DividerLine, type DividerLineProps, type DividerProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
import { UniversalDividerProps } from "../../types/dist/index.cjs";
|
|
3
|
+
import { BoxProps } from "../Box.cjs";
|
|
4
|
+
import { TextProps as TextProps$1 } from "../Text.cjs";
|
|
5
|
+
import { ReactNode, Ref } from "react";
|
|
6
|
+
import { View } from "react-native";
|
|
7
|
+
import { StyleProps } from "../../../generated/styles";
|
|
8
|
+
|
|
9
|
+
//#region src/components/Divider/types.d.ts
|
|
10
|
+
type DividerVariant = NonNullable<UniversalDividerProps['variant']>;
|
|
11
|
+
interface DividerProps extends Omit<BoxProps, 'borderColor' | 'borderWidth' | 'children' | 'ref'>, UniversalDividerProps {
|
|
12
|
+
/** Ref to the underlying View. */
|
|
13
|
+
ref?: Ref<View>;
|
|
14
|
+
/** Optional label or manual DividerLine/DividerLabel composition. */
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
/** Gap between divider parts. Defaults to the configured Divider gap. */
|
|
17
|
+
gap?: StyleProps['columnGap'];
|
|
18
|
+
}
|
|
19
|
+
interface DividerLineProps extends Omit<BoxProps, 'borderColor' | 'borderWidth' | 'children'> {
|
|
20
|
+
/** Ref to the underlying View. */
|
|
21
|
+
ref?: Ref<View>;
|
|
22
|
+
/** The visual style variant of the divider line. Inherits from Divider when composed. */
|
|
23
|
+
variant?: DividerVariant;
|
|
24
|
+
/** Whether to render as a vertical line. Inherits from Divider when composed. */
|
|
25
|
+
vertical?: boolean;
|
|
26
|
+
}
|
|
27
|
+
interface DividerLabelProps extends Omit<TextProps$1, 'ref' | 'variant'> {
|
|
28
|
+
/** Ref to the underlying Text. */
|
|
29
|
+
ref?: TextProps$1['ref'];
|
|
30
|
+
/** The visual style variant of the divider label. Inherits from Divider when composed. */
|
|
31
|
+
variant?: DividerVariant;
|
|
32
|
+
}
|
|
33
|
+
//#endregion
|
|
34
|
+
export { type DividerLabelProps, type DividerLineProps, type DividerProps, type DividerVariant };
|
|
35
|
+
//# sourceMappingURL=types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.cts","names":[],"sources":["../../../src/components/Divider/types.ts"],"mappings":";;;;;;;;;KAQK,cAAA,GAAiB,WAAA,CAAY,qBAAA;AAAA,UAExB,YAAA,SAEN,IAAA,CAAK,QAAA,uDACL,qBAAA;EALC;EAOH,GAAA,GAAM,GAAA,CAAI,IAAA;;EAEV,QAAA,GAAW,SAAA;EAT0C;EAWrD,GAAA,GAAM,UAAA;AAAA;AAAA,UAGE,gBAAA,SAAyB,IAAA,CAAK,QAAA;EAV/B;EAYP,GAAA,GAAM,GAAA,CAAI,IAAA;EATJ;EAWN,OAAA,GAAU,cAAA;EAPJ;EASN,QAAA;AAAA;AAAA,UAGQ,iBAAA,SAA0B,IAAA,CAAK,WAAA;EAlBhB;EAoBvB,GAAA,GAAM,WAAA;EArBC;EAuBP,OAAA,GAAU,cAAA;AAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
import { UniversalDividerProps } from "../../types/dist/index.js";
|
|
3
|
+
import { BoxProps } from "../Box.js";
|
|
4
|
+
import { TextProps as TextProps$1 } from "../Text.js";
|
|
5
|
+
import { ReactNode, Ref } from "react";
|
|
6
|
+
import { View } from "react-native";
|
|
7
|
+
import { StyleProps } from "../../../generated/styles";
|
|
8
|
+
|
|
9
|
+
//#region src/components/Divider/types.d.ts
|
|
10
|
+
type DividerVariant = NonNullable<UniversalDividerProps['variant']>;
|
|
11
|
+
interface DividerProps extends Omit<BoxProps, 'borderColor' | 'borderWidth' | 'children' | 'ref'>, UniversalDividerProps {
|
|
12
|
+
/** Ref to the underlying View. */
|
|
13
|
+
ref?: Ref<View>;
|
|
14
|
+
/** Optional label or manual DividerLine/DividerLabel composition. */
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
/** Gap between divider parts. Defaults to the configured Divider gap. */
|
|
17
|
+
gap?: StyleProps['columnGap'];
|
|
18
|
+
}
|
|
19
|
+
interface DividerLineProps extends Omit<BoxProps, 'borderColor' | 'borderWidth' | 'children'> {
|
|
20
|
+
/** Ref to the underlying View. */
|
|
21
|
+
ref?: Ref<View>;
|
|
22
|
+
/** The visual style variant of the divider line. Inherits from Divider when composed. */
|
|
23
|
+
variant?: DividerVariant;
|
|
24
|
+
/** Whether to render as a vertical line. Inherits from Divider when composed. */
|
|
25
|
+
vertical?: boolean;
|
|
26
|
+
}
|
|
27
|
+
interface DividerLabelProps extends Omit<TextProps$1, 'ref' | 'variant'> {
|
|
28
|
+
/** Ref to the underlying Text. */
|
|
29
|
+
ref?: TextProps$1['ref'];
|
|
30
|
+
/** The visual style variant of the divider label. Inherits from Divider when composed. */
|
|
31
|
+
variant?: DividerVariant;
|
|
32
|
+
}
|
|
33
|
+
//#endregion
|
|
34
|
+
export { type DividerLabelProps, type DividerLineProps, type DividerProps, type DividerVariant };
|
|
35
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../src/components/Divider/types.ts"],"mappings":";;;;;;;;;KAQK,cAAA,GAAiB,WAAA,CAAY,qBAAA;AAAA,UAExB,YAAA,SAEN,IAAA,CAAK,QAAA,uDACL,qBAAA;EALC;EAOH,GAAA,GAAM,GAAA,CAAI,IAAA;;EAEV,QAAA,GAAW,SAAA;EAT0C;EAWrD,GAAA,GAAM,UAAA;AAAA;AAAA,UAGE,gBAAA,SAAyB,IAAA,CAAK,QAAA;EAV/B;EAYP,GAAA,GAAM,GAAA,CAAI,IAAA;EATJ;EAWN,OAAA,GAAU,cAAA;EAPJ;EASN,QAAA;AAAA;AAAA,UAGQ,iBAAA,SAA0B,IAAA,CAAK,WAAA;EAlBhB;EAoBvB,GAAA,GAAM,WAAA;EArBC;EAuBP,OAAA,GAAU,cAAA;AAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
const require_components_Divider_DividerLabel = require("./DividerLabel.cjs");
|
|
5
|
+
const require_components_Divider_DividerLine = require("./DividerLine.cjs");
|
|
6
|
+
let react = require("react");
|
|
7
|
+
//#region src/components/Divider/utils.ts
|
|
8
|
+
function isDividerLineElement(child) {
|
|
9
|
+
return (0, react.isValidElement)(child) && child.type === require_components_Divider_DividerLine.DividerLine;
|
|
10
|
+
}
|
|
11
|
+
function isDividerLabelElement(child) {
|
|
12
|
+
return (0, react.isValidElement)(child) && child.type === require_components_Divider_DividerLabel.DividerLabel;
|
|
13
|
+
}
|
|
14
|
+
function hasManualLine(children) {
|
|
15
|
+
return react.Children.toArray(children).some((child) => isDividerLineElement(child));
|
|
16
|
+
}
|
|
17
|
+
function shouldWrapInLabel(children) {
|
|
18
|
+
return react.Children.toArray(children).every((child) => typeof child === "string" || typeof child === "number");
|
|
19
|
+
}
|
|
20
|
+
function renderManualChildren(children, variant, vertical) {
|
|
21
|
+
return react.Children.map(children, (child) => {
|
|
22
|
+
if (isDividerLineElement(child)) return (0, react.cloneElement)(child, {
|
|
23
|
+
variant: child.props.variant ?? variant,
|
|
24
|
+
vertical: child.props.vertical ?? vertical
|
|
25
|
+
});
|
|
26
|
+
if (isDividerLabelElement(child)) return (0, react.cloneElement)(child, { variant: child.props.variant ?? variant });
|
|
27
|
+
return child;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
exports.hasManualLine = hasManualLine;
|
|
32
|
+
exports.renderManualChildren = renderManualChildren;
|
|
33
|
+
exports.shouldWrapInLabel = shouldWrapInLabel;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
import { DividerLabelProps, DividerLineProps, DividerProps } from "./types.cjs";
|
|
3
|
+
import * as _$react from "react";
|
|
4
|
+
import { ReactElement, ReactNode } from "react";
|
|
5
|
+
|
|
6
|
+
//#region src/components/Divider/utils.d.ts
|
|
7
|
+
declare function hasManualLine(children: ReactNode): boolean;
|
|
8
|
+
declare function shouldWrapInLabel(children: ReactNode): boolean;
|
|
9
|
+
declare function renderManualChildren(children: ReactNode, variant: DividerProps['variant'], vertical: boolean): (string | number | bigint | ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<ReactNode> | Promise<string | number | bigint | boolean | _$react.ReactPortal | ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | _$react.FunctionComponentElement<DividerLineProps> | _$react.FunctionComponentElement<DividerLabelProps>)[] | null | undefined;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { hasManualLine, renderManualChildren, shouldWrapInLabel };
|
|
12
|
+
//# sourceMappingURL=utils.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.cts","names":[],"sources":["../../../src/components/Divider/utils.ts"],"mappings":";;;;;;iBAmBS,aAAA,CAAc,QAAA,EAAU,SAAA;AAAA,iBAIxB,iBAAA,CAAkB,QAAA,EAAU,SAAA;AAAA,iBAM5B,oBAAA,CACP,QAAA,EAAU,SAAA,EACV,OAAA,EAAS,YAAA,aACT,QAAA,wCAAiB,YAAA,mBADI,OAAA,CACJ,qBAAA,SAAA,QAAA,CAAA,SAAA,IAAA,OAAA,sCAAA,OAAA,CAAA,WAAA,GAAA,YAAA,mBAAA,OAAA,CAAA,qBAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,OAAA,CAAA,wBAAA,CAAA,gBAAA,IAAA,OAAA,CAAA,wBAAA,CAAA,iBAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
import { DividerLabelProps, DividerLineProps, DividerProps } from "./types.js";
|
|
3
|
+
import * as _$react from "react";
|
|
4
|
+
import { ReactElement, ReactNode } from "react";
|
|
5
|
+
|
|
6
|
+
//#region src/components/Divider/utils.d.ts
|
|
7
|
+
declare function hasManualLine(children: ReactNode): boolean;
|
|
8
|
+
declare function shouldWrapInLabel(children: ReactNode): boolean;
|
|
9
|
+
declare function renderManualChildren(children: ReactNode, variant: DividerProps['variant'], vertical: boolean): (string | number | bigint | ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<ReactNode> | Promise<string | number | bigint | boolean | _$react.ReactPortal | ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | _$react.FunctionComponentElement<DividerLineProps> | _$react.FunctionComponentElement<DividerLabelProps>)[] | null | undefined;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { hasManualLine, renderManualChildren, shouldWrapInLabel };
|
|
12
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","names":[],"sources":["../../../src/components/Divider/utils.ts"],"mappings":";;;;;;iBAmBS,aAAA,CAAc,QAAA,EAAU,SAAA;AAAA,iBAIxB,iBAAA,CAAkB,QAAA,EAAU,SAAA;AAAA,iBAM5B,oBAAA,CACP,QAAA,EAAU,SAAA,EACV,OAAA,EAAS,YAAA,aACT,QAAA,wCAAiB,YAAA,mBADI,OAAA,CACJ,qBAAA,SAAA,QAAA,CAAA,SAAA,IAAA,OAAA,sCAAA,OAAA,CAAA,WAAA,GAAA,YAAA,mBAAA,OAAA,CAAA,qBAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,OAAA,CAAA,wBAAA,CAAA,gBAAA,IAAA,OAAA,CAAA,wBAAA,CAAA,iBAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
|
|
2
|
+
import { DividerLabel } from "./DividerLabel.js";
|
|
3
|
+
import { DividerLine } from "./DividerLine.js";
|
|
4
|
+
import { Children, cloneElement, isValidElement } from "react";
|
|
5
|
+
//#region src/components/Divider/utils.ts
|
|
6
|
+
function isDividerLineElement(child) {
|
|
7
|
+
return isValidElement(child) && child.type === DividerLine;
|
|
8
|
+
}
|
|
9
|
+
function isDividerLabelElement(child) {
|
|
10
|
+
return isValidElement(child) && child.type === DividerLabel;
|
|
11
|
+
}
|
|
12
|
+
function hasManualLine(children) {
|
|
13
|
+
return Children.toArray(children).some((child) => isDividerLineElement(child));
|
|
14
|
+
}
|
|
15
|
+
function shouldWrapInLabel(children) {
|
|
16
|
+
return Children.toArray(children).every((child) => typeof child === "string" || typeof child === "number");
|
|
17
|
+
}
|
|
18
|
+
function renderManualChildren(children, variant, vertical) {
|
|
19
|
+
return Children.map(children, (child) => {
|
|
20
|
+
if (isDividerLineElement(child)) return cloneElement(child, {
|
|
21
|
+
variant: child.props.variant ?? variant,
|
|
22
|
+
vertical: child.props.vertical ?? vertical
|
|
23
|
+
});
|
|
24
|
+
if (isDividerLabelElement(child)) return cloneElement(child, { variant: child.props.variant ?? variant });
|
|
25
|
+
return child;
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
export { hasManualLine, renderManualChildren, shouldWrapInLabel };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","names":[],"sources":["../../../src/components/Divider/utils.ts"],"sourcesContent":["import type { ReactElement, ReactNode } from 'react';\nimport { Children, cloneElement, isValidElement } from 'react';\n\nimport { DividerLabel } from './DividerLabel';\nimport { DividerLine } from './DividerLine';\nimport type { DividerLabelProps, DividerLineProps, DividerProps } from './types';\n\nfunction isDividerLineElement(\n child: ReactNode,\n): child is ReactElement<DividerLineProps, typeof DividerLine> {\n return isValidElement(child) && child.type === DividerLine;\n}\n\nfunction isDividerLabelElement(\n child: ReactNode,\n): child is ReactElement<DividerLabelProps, typeof DividerLabel> {\n return isValidElement(child) && child.type === DividerLabel;\n}\n\nfunction hasManualLine(children: ReactNode): boolean {\n return Children.toArray(children).some((child) => isDividerLineElement(child));\n}\n\nfunction shouldWrapInLabel(children: ReactNode): boolean {\n return Children.toArray(children).every(\n (child) => typeof child === 'string' || typeof child === 'number',\n );\n}\n\nfunction renderManualChildren(\n children: ReactNode,\n variant: DividerProps['variant'],\n vertical: boolean,\n) {\n return Children.map(children, (child) => {\n if (isDividerLineElement(child)) {\n return cloneElement(child, {\n variant: child.props.variant ?? variant,\n vertical: child.props.vertical ?? vertical,\n });\n }\n\n if (isDividerLabelElement(child)) {\n return cloneElement(child, {\n variant: child.props.variant ?? variant,\n });\n }\n\n return child;\n });\n}\n\nexport { hasManualLine, renderManualChildren, shouldWrapInLabel };\n"],"mappings":";;;;;AAOA,SAAS,qBACP,OAC6D;AAC7D,QAAO,eAAe,MAAM,IAAI,MAAM,SAAS;;AAGjD,SAAS,sBACP,OAC+D;AAC/D,QAAO,eAAe,MAAM,IAAI,MAAM,SAAS;;AAGjD,SAAS,cAAc,UAA8B;AACnD,QAAO,SAAS,QAAQ,SAAS,CAAC,MAAM,UAAU,qBAAqB,MAAM,CAAC;;AAGhF,SAAS,kBAAkB,UAA8B;AACvD,QAAO,SAAS,QAAQ,SAAS,CAAC,OAC/B,UAAU,OAAO,UAAU,YAAY,OAAO,UAAU,SAC1D;;AAGH,SAAS,qBACP,UACA,SACA,UACA;AACA,QAAO,SAAS,IAAI,WAAW,UAAU;AACvC,MAAI,qBAAqB,MAAM,CAC7B,QAAO,aAAa,OAAO;GACzB,SAAS,MAAM,MAAM,WAAW;GAChC,UAAU,MAAM,MAAM,YAAY;GACnC,CAAC;AAGJ,MAAI,sBAAsB,MAAM,CAC9B,QAAO,aAAa,OAAO,EACzB,SAAS,MAAM,MAAM,WAAW,SACjC,CAAC;AAGJ,SAAO;GACP"}
|
|
@@ -17,7 +17,7 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* ```tsx
|
|
20
|
-
* import { HStack } from '@yahoo/uds-mobile';
|
|
20
|
+
* import { HStack } from '@yahoo/uds-mobile/HStack';
|
|
21
21
|
*
|
|
22
22
|
* <HStack gap="4" alignItems="center">
|
|
23
23
|
* <Text>Item 1</Text>
|
|
@@ -24,7 +24,7 @@ interface HStackProps extends Omit<BoxProps, 'ref'> {
|
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* ```tsx
|
|
27
|
-
* import { HStack } from '@yahoo/uds-mobile';
|
|
27
|
+
* import { HStack } from '@yahoo/uds-mobile/HStack';
|
|
28
28
|
*
|
|
29
29
|
* <HStack gap="4" alignItems="center">
|
|
30
30
|
* <Text>Item 1</Text>
|
|
@@ -24,7 +24,7 @@ interface HStackProps extends Omit<BoxProps, 'ref'> {
|
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* ```tsx
|
|
27
|
-
* import { HStack } from '@yahoo/uds-mobile';
|
|
27
|
+
* import { HStack } from '@yahoo/uds-mobile/HStack';
|
|
28
28
|
*
|
|
29
29
|
* <HStack gap="4" alignItems="center">
|
|
30
30
|
* <Text>Item 1</Text>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HStack.js","names":[],"sources":["../../src/components/HStack.tsx"],"sourcesContent":["import type { Ref } from 'react';\nimport { memo } from 'react';\nimport type { View } from 'react-native';\n\nimport type { StyleProps } from '../../generated/styles';\nimport type { BoxProps } from './Box';\nimport { Box } from './Box';\n\ninterface HStackProps extends Omit<BoxProps, 'ref'> {\n /** Gap between child elements */\n gap?: StyleProps['columnGap'];\n /** Ref to the underlying View */\n ref?: Ref<View>;\n}\n\n/**\n * **📦 A horizontal stack layout component**\n *\n * @description\n * A convenience component for creating horizontal layouts. It's a Box with\n * `flexDirection=\"row\"` preset.\n *\n * @category Layout\n * @platform mobile\n *\n * @example\n * ```tsx\n * import { HStack } from '@yahoo/uds-mobile';\n *\n * <HStack gap=\"4\" alignItems=\"center\">\n * <Text>Item 1</Text>\n * <Text>Item 2</Text>\n * </HStack>\n * ```\n *\n * @usage\n * - Use for horizontal arrangements of elements\n * - Use gap prop for consistent spacing between children\n *\n * @see {@link VStack} for vertical layouts\n * @see {@link Box} for custom flex layouts\n */\nconst HStack = memo(function HStack({ gap, children, ref, ...props }: HStackProps) {\n return (\n <Box ref={ref} flexDirection=\"row\" rowGap={gap} columnGap={gap} {...props}>\n {children}\n </Box>\n );\n});\n\nHStack.displayName = 'HStack';\n\nexport { HStack, type HStackProps };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,MAAM,SAAS,KAAK,SAAS,OAAO,EAAE,KAAK,UAAU,KAAK,GAAG,SAAsB;AACjF,QACE,oBAAC,KAAD;EAAU;EAAK,eAAc;EAAM,QAAQ;EAAK,WAAW;EAAK,GAAI;EACjE;EACG,CAAA;EAER;AAEF,OAAO,cAAc"}
|
|
1
|
+
{"version":3,"file":"HStack.js","names":[],"sources":["../../src/components/HStack.tsx"],"sourcesContent":["import type { Ref } from 'react';\nimport { memo } from 'react';\nimport type { View } from 'react-native';\n\nimport type { StyleProps } from '../../generated/styles';\nimport type { BoxProps } from './Box';\nimport { Box } from './Box';\n\ninterface HStackProps extends Omit<BoxProps, 'ref'> {\n /** Gap between child elements */\n gap?: StyleProps['columnGap'];\n /** Ref to the underlying View */\n ref?: Ref<View>;\n}\n\n/**\n * **📦 A horizontal stack layout component**\n *\n * @description\n * A convenience component for creating horizontal layouts. It's a Box with\n * `flexDirection=\"row\"` preset.\n *\n * @category Layout\n * @platform mobile\n *\n * @example\n * ```tsx\n * import { HStack } from '@yahoo/uds-mobile/HStack';\n *\n * <HStack gap=\"4\" alignItems=\"center\">\n * <Text>Item 1</Text>\n * <Text>Item 2</Text>\n * </HStack>\n * ```\n *\n * @usage\n * - Use for horizontal arrangements of elements\n * - Use gap prop for consistent spacing between children\n *\n * @see {@link VStack} for vertical layouts\n * @see {@link Box} for custom flex layouts\n */\nconst HStack = memo(function HStack({ gap, children, ref, ...props }: HStackProps) {\n return (\n <Box ref={ref} flexDirection=\"row\" rowGap={gap} columnGap={gap} {...props}>\n {children}\n </Box>\n );\n});\n\nHStack.displayName = 'HStack';\n\nexport { HStack, type HStackProps };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,MAAM,SAAS,KAAK,SAAS,OAAO,EAAE,KAAK,UAAU,KAAK,GAAG,SAAsB;AACjF,QACE,oBAAC,KAAD;EAAU;EAAK,eAAc;EAAM,QAAQ;EAAK,WAAW;EAAK,GAAI;EACjE;EACG,CAAA;EAER;AAEF,OAAO,cAAc"}
|
package/dist/components/Icon.cjs
CHANGED
|
@@ -126,7 +126,7 @@ const OutlineOrFillIcon = (0, react.memo)(function OutlineOrFillIcon({ name, siz
|
|
|
126
126
|
*
|
|
127
127
|
* @example
|
|
128
128
|
* ```tsx
|
|
129
|
-
* import { Icon } from '@yahoo/uds-mobile';
|
|
129
|
+
* import { Icon } from '@yahoo/uds-mobile/Icon';
|
|
130
130
|
*
|
|
131
131
|
* <Icon name="ChevronRight" size="md" color="primary" />
|
|
132
132
|
* <Icon name="Star" variant="fill" color="accent" />
|
|
@@ -72,7 +72,7 @@ interface IconProps extends Omit<TextProps, 'style'> {
|
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
74
|
* ```tsx
|
|
75
|
-
* import { Icon } from '@yahoo/uds-mobile';
|
|
75
|
+
* import { Icon } from '@yahoo/uds-mobile/Icon';
|
|
76
76
|
*
|
|
77
77
|
* <Icon name="ChevronRight" size="md" color="primary" />
|
|
78
78
|
* <Icon name="Star" variant="fill" color="accent" />
|
|
@@ -93,7 +93,7 @@ interface IconProps extends Omit<TextProps, 'style'> {
|
|
|
93
93
|
* @see {@link IconSlot} for flexible icon rendering in components
|
|
94
94
|
*/
|
|
95
95
|
declare const Icon: _$react.NamedExoticComponent<IconProps>;
|
|
96
|
-
declare const iconNames: readonly ["A11Y", "Accessible", "AccountRecover", "AccountRefresh", "AccountSwitchAlt", "AccountSwitcher", "AcousticGuitar", "Add", "AddBell", "AddCalendar", "AddCheckCircle", "AddCircle", "AddContactCard", "AddDocument", "AddFace", "AddFolder", "AddPaperPlane", "AddPeople", "AddQuestion", "AddSearch", "AddSquare", "AffiliateLink", "AirQuality", "Airplane", "AirplaneLanding", "AirplaneTakeOff", "AngledSquareOnSquare", "AnyFile", "AppSwitcher", "AquariusAstrology", "Archive", "AriesAstrology", "ArrowDown", "ArrowDownCircle", "ArrowLeft", "ArrowLineDown", "ArrowLineUp", "ArrowRight", "ArrowUp", "Article", "ArtisticGymnastics", "Ascender", "AudioFile", "Authenticator", "AutoDownload", "AutoSaveOffline", "AutoSaveSync", "AutoSaveUpload", "AutoSaveUploadFail", "AutoSaved", "BabyBottle", "BackTimeTen", "Badge", "Balance", "BallInWater", "Barometer", "BaseBallBat", "Baseball", "Basketball", "BasketballHoop", "BeachUmbrella", "Bed", "Bell", "Below", "BigDownArrow", "BigLeftArrow", "BigRightArrow", "BigRightStraightArrow", "BigUpArrow", "Bike", "Bingo", "Binoculars", "BlackJack", "Bold", "Bolt", "Bookmark", "BottomLine", "BowAndArrow", "BoxCircle", "BoxFront", "BoxOnBox", "BoxingGlove", "Browser", "BubbleZone", "Building", "BulletPointContainer", "BulletPoints", "Bullseye", "BusFront", "BusinessBag", "Cake", "Calendar", "CalendarClock", "CalendarConfirm", "CalendarFile", "CalendarICSFile", "CalendarRightArrow", "Camera", "CancerAstrology", "Canoe", "CapriconAstrology", "Car", "CardsCheck", "Cash", "CelebrityStar", "CenterAlignment", "ChatAi", "Check", "CheckBookmark", "CheckBox", "CheckCircle", "CheckDocuments", "CheckEnvelope", "CheckPeople", "CheckSpeechBubble", "CheckVoteBallot", "Checklist", "ChevronDown", "ChevronLeft", "ChevronLeftPeople", "ChevronRight", "ChevronRightPeople", "ChevronUp", "Circle", "ClearText", "Clipboard", "Clock", "Clone", "ClosedCaption", "Cloud", "CloudDay", "CloudNight", "Cocktails", "Coffee", "CoffeeTakeout", "Cog", "Coin", "CollapseColumn", "Command", "Compass", "ComputerChip", "Connection", "ConnectionScreen", "ContactBook", "ContactCard", "Convert", "ConvertAlt", "ConvertLeft", "ConvertRight", "Cookies", "Coupon", "CreditCard", "CreditCardPayment", "CrescentMoon", "Cricket", "Cross", "CrossCircle", "CrossEnvelope", "CrossPeople", "CrossShield", "Crossword", "Cycling", "DOCFile", "DailyFantasy", "DaisyFlower", "Dandelion", "DataBook", "DataCloud", "DataSilo", "DataStorage", "Debug", "DeleteTab", "DeliveryPackage", "Dense", "DenyCircle", "Descender", "Desktop", "DiagonalKey", "DiagonalLeftDown", "DiagonalLeftUp", "DiagonalRightDown", "DiagonalRightUp", "Diamond", "Dice", "Dining", "Direction", "DiscoBall", "Document", "DocumentImageRectangle", "DocumentImageSquare", "DocumentRectangle", "DollarCircleArrows", "DotEnvelope", "DotTwoRings", "DoubleBigLeftArrow", "DoubleChevronLeft", "DoubleChevronRight", "DownCurveArrow", "Download", "DownloadCircle", "DownloadComplete", "DownloadInProgressCircle", "DraftDocument", "DragVertical", "Dusk", "Easel", "Eclipse", "Edit", "EmailVerification", "Emails", "Embed", "EntertainmentTv", "Envelope", "Error", "ExpandArrowLeft", "ExpandArrowRight", "ExpandColumn", "Eye", "EyeSearch", "EyeShut", "FaceID", "FallLeaf", "Family", "FastForward", "FencingEpee", "FilmReel", "FilmRoll", "FingerPointLeftArrow", "FingerPointRightArrow", "FingerPointSelect", "FingerPrint", "Fire", "FirstAidKit", "FirstQuarter", "FiveCircles", "Flag", "FlameTorch", "Fog", "FogDay", "Folder", "Font", "Football", "FootballHelmet", "ForestTree", "FourBoxes", "FourCorners", "FourCornersMagnifyingGlass", "FourCornersMusicNote", "FourLinesSpread", "FourThreeRatio", "FullMoon", "GIF", "GeminiAstrology", "GiftBox", "GolfTee", "GraduationHat", "Graph", "Grass", "Gymnastics", "HalfStar", "HalfSun", "HappyFace", "HazeDay", "HazeNight", "Heading2", "Heading3", "Headline1", "HeadlineDocumentSquare", "Headphone", "HeadphonesMic", "Heart", "HeartArrow", "HeartPulse", "HeavyRain", "HeavyRainDay", "HeavyRainLightning", "HeavyRainLightningDay", "HeavyRainLightningNight", "HeavyRainNight", "Help", "Highlighter", "History", "HockeyWithPuck", "Home", "HorseHeadBridle", "HotTub", "Hurricane", "Ice", "Id", "Image", "ImageFile", "ImageGallery", "Inbox", "InboxDownArrow", "InboxUpArrow", "IndentRight", "Infinity", "Info", "InstitutionalWesternBank", "Italics", "JoyfulFace", "JudoUniform", "Keyboard", "KeylineShapes", "Kick", "KnightChessPiece", "Laptop", "LaptopWithPhone", "Laurel", "LaurelLeft", "LaurelRight", "LayoutBottom", "LayoutDefault", "LayoutFourColumn", "LayoutGrid", "LayoutPerfectGrid", "LayoutRight", "LayoutThreeColumn", "LayoutThreeRows", "LayoutTwoColumn", "LeftAlign", "LeftCurveArrow", "LeftPageArrow", "LeoAstrology", "Letter", "LetterColor", "LetterSize", "LibraAstrology", "LifeRing", "Lightbulb", "Lightning", "LightningDay", "LightningNight", "Link", "LiquidDrop", "Live", "Livestream", "Location", "LocationCircle", "LocationMap", "Lock", "LogIn", "LogOut", "Lollipop", "LoveEnvelope", "LoyaltyCard", "MagicWand", "MagnifyingGlass", "Mahjong", "MakeupBeauty", "Mannequin", "Medal", "MedicineBottle", "MedicinePill", "Megaphone", "Microphone", "Microscope", "Minus", "MinusBox", "MinusCircle", "MinusPeople", "MinusSearch", "MmaGlove", "MmaRing", "MobileNumber", "MobilePhone", "More", "MoreVertical", "NeutralFace", "NewMoon", "Newsletter", "Night", "NineSixteenRatio", "NoBell", "NoConnectionScreen", "NoEye", "NoHeart", "NoImage", "NoPeople", "NoShield", "NoSmoking", "NoSquare", "NoStar", "NoVideoCamera", "NoWifi", "NotificationBell", "Null", "NumberedList", "OnTop", "OneOneRatio", "OpenBook", "OpenEnvelope", "OrderedList", "OutdentLeft", "PDF", "PPT", "PaperPlane", "PaperPlaneDiagonal", "Paperclip", "Paragraph", "ParagraphLeftIdent", "ParagraphRightIdent", "Parking", "ParkingSquare", "PassKey", "Password", "Pause", "Payments", "Payphone", "PayphoneFace", "Pencil", "PencilLines", "People", "Person", "PersonClimbing", "PersonShield", "Pets", "Phone", "PieChart", "Pin", "PingPong", "PiscesAstrology", "PlainText", "Play", "PlayCircle", "Pollen", "Pool", "PowerSwitch", "Preferences", "PreferencesAlt", "Printer", "Priority", "Profile", "Progress", "ProgressWithCheck", "Pulse", "PuzzlePiece", "QrCode", "QuestionBubble", "QuoteCircle", "QuoteSquare", "RAW", "RTF", "RTFOff", "RacingFlag", "Radar", "RadioCircle", "RainDay", "RainNight", "Receipt", "Receipts", "RedoPencil", "Refresh", "Restaurant", "RetailTag", "RightAlign", "RightCurveArrow", "RightPageArrow", "RobotHead", "Running", "SadFace", "SadderFace", "SagittariusAstrology", "SailBoat", "Satellite", "ScaleDown", "ScanQrCode", "Scissors", "ScorpioAstrology", "SearchConfirm", "SearchEnvelope", "SearchWorldWithLines", "SecurityKey", "SendToSelf", "Server", "SettingsAlt", "SettingsCogPeople", "Shapes", "Share", "Shield", "ShieldCheck", "ShieldSlash", "ShockedFace", "ShoppingBag", "ShoppingBasket", "ShoppingCart", "Shuttlecock", "SixteenNineRatio", "Skateboard", "SkipTimeTen", "Skull", "Slideshow", "SmallSquareInsideBigSquare", "SmartWatch", "SmileFace", "SmileFaceLife", "Sms", "SmsVerificationCode", "Sneaker", "SneakerAlt", "Snippet", "Snow", "SnowDay", "SnowNight", "Snowflake", "Soccer", "Solitaire", "SoundLow", "SoundOff", "SoundOn", "Spa", "Sparkle", "SparkleFootballBall", "SparkleTennisBall", "SpecialCharacter", "SpeechBubble", "SpeechBubbleStar", "SportsBook", "SportsSparkle", "SprinkleDay", "SprinkleNight", "Square", "Stadium", "Star", "StarArticle", "StarMedal", "StarTrophy", "StatePrivacyControls", "StockTrends", "Stopwatch", "Store", "Strikethrough", "Sun", "Sunrise", "Sunset", "SurfboardOnSand", "Swimming", "Sync", "Tab", "Tablet", "TaurusAstrology", "TechnicalRoute", "Television", "TennisBall", "TennisRacketBall", "ThirdQuarter", "ThreeCircles", "ThreeFourRatio", "ThreeLines", "ThreeLinesSpread", "ThumbsDown", "ThumbsUp", "Thumbtack", "ThumbtackDiagonal", "TimePaperPlane", "Tornado", "Trading", "TrafficSignRightTurn", "Trampoline", "Transactions", "Trash", "Tree", "Trending", "TrendingCircle", "Trophy", "TruckRight", "Tshirt", "Tsunami", "Tub", "TwoArrowsDiagonalInwards", "TwoArrowsDiagonalOutwards", "TwoCorners", "TwoHorizontalRectangles", "TwoLinesContainer", "TwoMasks", "TwoRectangles", "TwoSparkles", "TwoSquares", "TwoThirdsColumn", "Underline", "Unlock", "UnorderedList", "UpCurveArrow", "UpDownChevron", "UpDownShortArrows", "UpFolder", "Upload", "Verification", "VideoCamera", "VideoFile", "VirgoAstrology", "Virus", "Volleyball", "Walking", "Wallet", "WaningCrescent", "WaningGibbous", "Warning", "WaxingCrescent", "WaxingGibbous", "Web", "Weights", "Wifi", "Wind", "WindCloud", "WindCloudDay", "WindCloudNight", "Wine", "WorldWithLines", "Wrench", "WrestlingHeadGear", "WritingAi", "XLSFile", "YEP", "YahooScoutFinance", "YahooScoutFinanceGradient", "YahooScoutIcon", "YahooScoutIconGradient", "ZIP"];
|
|
96
|
+
declare const iconNames: readonly ["A11Y", "Accessible", "AccountRecover", "AccountRefresh", "AccountSwitchAlt", "AccountSwitcher", "AcousticGuitar", "Add", "AddBell", "AddCalendar", "AddCheckCircle", "AddCircle", "AddContactCard", "AddDocument", "AddFace", "AddFolder", "AddPaperPlane", "AddPeople", "AddQuestion", "AddSearch", "AddSquare", "AffiliateLink", "AirQuality", "Airplane", "AirplaneLanding", "AirplaneTakeOff", "AngledSquareOnSquare", "AnyFile", "AppSwitcher", "AquariusAstrology", "Archive", "AriesAstrology", "ArrowDown", "ArrowDownCircle", "ArrowLeft", "ArrowLineDown", "ArrowLineUp", "ArrowRight", "ArrowUp", "Article", "ArtisticGymnastics", "Ascender", "AudioFile", "Authenticator", "AutoDownload", "AutoSaveOffline", "AutoSaveSync", "AutoSaveUpload", "AutoSaveUploadFail", "AutoSaved", "BabyBottle", "BackTimeTen", "Badge", "Balance", "BallInWater", "Barometer", "BaseBallBat", "Baseball", "Basketball", "BasketballHoop", "BeachUmbrella", "Bed", "Bell", "Below", "BigDownArrow", "BigLeftArrow", "BigRightArrow", "BigRightStraightArrow", "BigUpArrow", "Bike", "Bingo", "Binoculars", "BlackJack", "Bold", "Bolt", "Bookmark", "BottomLine", "BowAndArrow", "BoxCircle", "BoxFront", "BoxOnBox", "BoxingGlove", "Browser", "BubbleZone", "Building", "BulletPointContainer", "BulletPoints", "Bullseye", "BusFront", "BusinessBag", "Cake", "Calendar", "CalendarClock", "CalendarConfirm", "CalendarFile", "CalendarICSFile", "CalendarRightArrow", "Camera", "CancerAstrology", "Canoe", "CapriconAstrology", "Car", "CardsCheck", "Cash", "CelebrityStar", "CenterAlignment", "ChatAi", "Check", "CheckBookmark", "CheckBox", "CheckCircle", "CheckDocuments", "CheckEnvelope", "CheckPeople", "CheckSpeechBubble", "CheckVoteBallot", "Checklist", "ChevronDown", "ChevronLeft", "ChevronLeftPeople", "ChevronRight", "ChevronRightPeople", "ChevronUp", "Circle", "ClearText", "Clipboard", "Clock", "Clone", "ClosedCaption", "Cloud", "CloudDay", "CloudNight", "Cocktails", "Coffee", "CoffeeTakeout", "Cog", "Coin", "CollapseColumn", "Command", "Compass", "ComputerChip", "Connection", "ConnectionScreen", "ContactBook", "ContactCard", "Convert", "ConvertAlt", "ConvertLeft", "ConvertRight", "Cookies", "Coupon", "CreditCard", "CreditCardPayment", "CrescentMoon", "Cricket", "Cross", "CrossCircle", "CrossEnvelope", "CrossPeople", "CrossShield", "Crossword", "Cvc", "Cycling", "DOCFile", "DailyFantasy", "DaisyFlower", "Dandelion", "DataBook", "DataCloud", "DataSilo", "DataStorage", "Debug", "DeleteTab", "DeliveryPackage", "Dense", "DenyCircle", "Descender", "Desktop", "DiagonalKey", "DiagonalLeftDown", "DiagonalLeftUp", "DiagonalRightDown", "DiagonalRightUp", "Diamond", "Dice", "Dining", "Direction", "DiscoBall", "Document", "DocumentImageRectangle", "DocumentImageSquare", "DocumentRectangle", "DollarCircleArrows", "DotEnvelope", "DotTwoRings", "DoubleBigLeftArrow", "DoubleChevronLeft", "DoubleChevronRight", "DownCurveArrow", "Download", "DownloadCircle", "DownloadComplete", "DownloadInProgressCircle", "DraftDocument", "DragVertical", "Dusk", "Easel", "Eclipse", "Edit", "EmailVerification", "Emails", "Embed", "EntertainmentTv", "Envelope", "Error", "ExpandArrowLeft", "ExpandArrowRight", "ExpandColumn", "Eye", "EyeSearch", "EyeShut", "FaceID", "FallLeaf", "Family", "FastForward", "FencingEpee", "FilmReel", "FilmRoll", "FingerPointLeftArrow", "FingerPointRightArrow", "FingerPointSelect", "FingerPrint", "Fire", "FirstAidKit", "FirstQuarter", "FiveCircles", "Flag", "FlameTorch", "Fog", "FogDay", "Folder", "Font", "FoodDelivery", "Football", "FootballHelmet", "ForestTree", "FourBoxes", "FourCorners", "FourCornersMagnifyingGlass", "FourCornersMusicNote", "FourLinesSpread", "FourThreeRatio", "FullMoon", "GIF", "GeminiAstrology", "GiftBox", "GolfTee", "GraduationHat", "Graph", "Grass", "Gymnastics", "HalfStar", "HalfSun", "HappyFace", "HazeDay", "HazeNight", "Heading2", "Heading3", "Headline1", "HeadlineDocumentSquare", "Headphone", "HeadphonesMic", "Heart", "HeartArrow", "HeartPulse", "HeartSquare", "HeavyRain", "HeavyRainDay", "HeavyRainLightning", "HeavyRainLightningDay", "HeavyRainLightningNight", "HeavyRainNight", "Help", "Highlighter", "History", "HockeyWithPuck", "Home", "HorseHeadBridle", "HotTub", "Hurricane", "Ice", "Id", "Image", "ImageFile", "ImageGallery", "Inbox", "InboxDownArrow", "InboxUpArrow", "IndentRight", "Infinity", "Info", "InstitutionalWesternBank", "Italics", "JoyfulFace", "JudoUniform", "Keyboard", "KeylineShapes", "Kick", "KnightChessPiece", "Laptop", "LaptopWithPhone", "Laurel", "LaurelLeft", "LaurelRight", "LayoutBottom", "LayoutDefault", "LayoutFourColumn", "LayoutGrid", "LayoutPerfectGrid", "LayoutRight", "LayoutThreeColumn", "LayoutThreeRows", "LayoutTwoColumn", "LeftAlign", "LeftCurveArrow", "LeftPageArrow", "LeoAstrology", "Letter", "LetterColor", "LetterSize", "LibraAstrology", "LifeRing", "Lightbulb", "Lightning", "LightningDay", "LightningNight", "Link", "LiquidDrop", "Live", "Livestream", "Location", "LocationCircle", "LocationMap", "Lock", "LogIn", "LogOut", "Lollipop", "LoveEnvelope", "LoyaltyCard", "MagicWand", "MagnifyingGlass", "Mahjong", "MakeupBeauty", "Mannequin", "Medal", "MedicineBottle", "MedicinePill", "Megaphone", "Microphone", "Microscope", "Minus", "MinusBox", "MinusCircle", "MinusPeople", "MinusSearch", "MmaGlove", "MmaRing", "MobileNumber", "MobilePhone", "More", "MoreVertical", "NeutralFace", "NewMoon", "Newsletter", "Night", "NineSixteenRatio", "NoBell", "NoBookmark", "NoConnectionScreen", "NoEye", "NoHeart", "NoImage", "NoPeople", "NoShield", "NoSmoking", "NoSquare", "NoStar", "NoVideoCamera", "NoWifi", "NotificationBell", "Null", "NumberedList", "OnTop", "OneOneRatio", "OpenBook", "OpenBox", "OpenEnvelope", "OrderedList", "OutdentLeft", "PDF", "PPT", "PaperPlane", "PaperPlaneDiagonal", "Paperclip", "Paragraph", "ParagraphLeftIdent", "ParagraphRightIdent", "Parking", "ParkingSquare", "PassKey", "Password", "Pause", "Payments", "Payphone", "PayphoneFace", "Pencil", "PencilLines", "People", "Person", "PersonClimbing", "PersonShield", "Pets", "Phone", "PieChart", "Pin", "PingPong", "PiscesAstrology", "PlainText", "Play", "PlayCircle", "Pollen", "Pool", "PowerSwitch", "Preferences", "PreferencesAlt", "Printer", "Priority", "Profile", "Progress", "ProgressWithCheck", "Pulse", "PuzzlePiece", "QrCode", "QuestionBubble", "QuoteCircle", "QuoteSquare", "RAW", "RTF", "RTFOff", "RacingFlag", "Radar", "RadioCircle", "RainDay", "RainNight", "Receipt", "ReceiptCheck", "ReceiptLong", "Receipts", "RedoPencil", "Refresh", "Restaurant", "RetailTag", "RightAlign", "RightCurveArrow", "RightPageArrow", "RobotHead", "Running", "SadFace", "SadderFace", "SagittariusAstrology", "SailBoat", "Satellite", "ScaleDown", "ScanQrCode", "Scissors", "ScorpioAstrology", "SearchConfirm", "SearchEnvelope", "SearchWorldWithLines", "SecurityKey", "SendToSelf", "Server", "SettingsAlt", "SettingsCogPeople", "Shapes", "Share", "Shield", "ShieldCheck", "ShieldSlash", "ShockedFace", "ShoppingBag", "ShoppingBasket", "ShoppingCart", "Shuttlecock", "SixteenNineRatio", "Skateboard", "SkipTimeTen", "Skull", "Slideshow", "SmallSquareInsideBigSquare", "SmartWatch", "SmileFace", "SmileFaceLife", "Sms", "SmsVerificationCode", "Sneaker", "SneakerAlt", "Snippet", "Snow", "SnowDay", "SnowNight", "Snowflake", "Soccer", "Solitaire", "SoundLow", "SoundOff", "SoundOn", "Spa", "Sparkle", "SparkleFootballBall", "SparkleTennisBall", "SpecialCharacter", "SpeechBubble", "SpeechBubbleStar", "SportsBook", "SportsSparkle", "SprinkleDay", "SprinkleNight", "Square", "Stadium", "Star", "StarArticle", "StarMedal", "StarTrophy", "StatePrivacyControls", "StockTrends", "Stopwatch", "Store", "Strikethrough", "Sun", "Sunrise", "Sunset", "SurfboardOnSand", "Swimming", "Sync", "Tab", "Tablet", "TaurusAstrology", "TechnicalRoute", "Television", "TennisBall", "TennisRacketBall", "ThirdQuarter", "ThreeCircles", "ThreeFourRatio", "ThreeLines", "ThreeLinesSpread", "ThreeTwoRatio", "ThumbsDown", "ThumbsUp", "Thumbtack", "ThumbtackDiagonal", "TimePaperPlane", "Tornado", "Trading", "TrafficSignRightTurn", "Trampoline", "Transactions", "Trash", "Tree", "Trending", "TrendingCircle", "Trophy", "TruckRight", "Tshirt", "Tsunami", "Tub", "TwoArrowsDiagonalInwards", "TwoArrowsDiagonalOutwards", "TwoCorners", "TwoHorizontalRectangles", "TwoLinesContainer", "TwoMasks", "TwoRectangles", "TwoSparkles", "TwoSquares", "TwoThirdsColumn", "Underline", "Unlock", "UnorderedList", "UpCurveArrow", "UpDownChevron", "UpDownShortArrows", "UpFolder", "Upload", "Verification", "VideoCamera", "VideoFile", "VirgoAstrology", "Virus", "Volleyball", "Walking", "Wallet", "WaningCrescent", "WaningGibbous", "Warning", "WaxingCrescent", "WaxingGibbous", "Web", "Weights", "Wifi", "Wind", "WindCloud", "WindCloudDay", "WindCloudNight", "Wine", "WorldWithLines", "Wrench", "WrestlingHeadGear", "WritingAi", "XLSFile", "YEP", "YahooScoutFinance", "YahooScoutFinanceGradient", "YahooScoutIcon", "YahooScoutIconGradient", "ZIP"];
|
|
97
97
|
declare const multicolorIconNames: readonly ["Cloud", "CloudDay", "CloudNight", "Cold", "CrescentMoon", "Dreary", "Dusk", "Eclipse", "FirstQuarter", "Fog", "FogDay", "FogNight", "FullMoon", "HalfSun", "HazeDay", "HazeNight", "HeavyRain", "HeavyRainDay", "HeavyRainLightning", "HeavyRainLightningDay", "HeavyRainLightningNight", "HeavyRainNight", "Hot", "Hurricane", "Ice", "IntermittentCloudsNight", "IntermittentCloudsSunny", "Lightning", "LightningDay", "LightningNight", "MostlyCloudyNight", "Night", "PartlyCloudyNight", "PartlyFlurries", "PartlyNightFlurries", "PartlySunny", "Rain", "RainDay", "RainNight", "Sleet", "Snow", "SnowDay", "SnowNight", "Snowflake", "SprinkleDay", "SprinkleNight", "Sun", "Sunrise", "Sunset", "ThirdQuarter", "Tornado", "WaningCrescent", "WaningGibbous", "WaxingCrescent", "WaxingGibbous", "Wind", "WindCloud", "WindCloudDay", "WindCloudNight", "YahooScoutFinance", "YahooScoutFinanceGradient", "YahooScoutIcon", "YahooScoutIconGradient"];
|
|
98
98
|
//#endregion
|
|
99
99
|
export { Icon, type IconName, type IconProps, iconNames, multicolorIconNames };
|