@ledgerhq/lumen-ui-rnative 0.1.60 → 0.1.62
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/module/lib/Components/core/Avatar/Avatar.js +17 -6
- package/dist/module/lib/Components/core/Avatar/Avatar.js.map +1 -1
- package/dist/module/lib/Components/core/Avatar/Avatar.mdx +10 -6
- package/dist/module/lib/Components/core/Avatar/Avatar.stories.js +15 -6
- package/dist/module/lib/Components/core/Avatar/Avatar.stories.js.map +1 -1
- package/dist/module/lib/Components/core/Avatar/Avatar.test.js +56 -0
- package/dist/module/lib/Components/core/Avatar/Avatar.test.js.map +1 -1
- package/dist/module/lib/Components/core/Avatar/index.js +1 -1
- package/dist/module/lib/Components/core/Avatar/index.js.map +1 -1
- package/dist/module/lib/Components/core/Avatar/useResolveAvatarColor.js +21 -0
- package/dist/module/lib/Components/core/Avatar/useResolveAvatarColor.js.map +1 -0
- package/dist/module/lib/Components/core/Avatar/useResolveAvatarColor.test.js +88 -0
- package/dist/module/lib/Components/core/Avatar/useResolveAvatarColor.test.js.map +1 -0
- package/dist/module/lib/Components/core/Banner/Banner.js +3 -3
- package/dist/module/lib/Components/core/Banner/Banner.js.map +1 -1
- package/dist/module/lib/Components/core/Banner/Banner.test.js +3 -3
- package/dist/module/lib/Components/core/Banner/Banner.test.js.map +1 -1
- package/dist/module/lib/Components/core/DotIcon/DotIcon.js +0 -13
- package/dist/module/lib/Components/core/DotIcon/DotIcon.js.map +1 -1
- package/dist/module/lib/Components/core/DotIcon/DotIcon.mdx +3 -3
- package/dist/module/lib/Components/core/DotIcon/DotIcon.stories.js +14 -13
- package/dist/module/lib/Components/core/DotIcon/DotIcon.stories.js.map +1 -1
- package/dist/module/lib/Components/core/DotIcon/DotIcon.test.js +22 -0
- package/dist/module/lib/Components/core/DotIcon/DotIcon.test.js.map +1 -1
- package/dist/module/lib/Components/core/DotIcon/getDotIconProps.js +37 -0
- package/dist/module/lib/Components/core/DotIcon/getDotIconProps.js.map +1 -0
- package/dist/module/lib/Components/core/DotIcon/getDotIconProps.test.js +38 -0
- package/dist/module/lib/Components/core/DotIcon/getDotIconProps.test.js.map +1 -0
- package/dist/module/lib/Components/core/DotIcon/index.js +2 -1
- package/dist/module/lib/Components/core/DotIcon/index.js.map +1 -1
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.js +0 -19
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.js.map +1 -1
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.mdx +3 -3
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js +18 -17
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js.map +1 -1
- package/dist/module/lib/Components/core/DotSymbol/getDotSymbolProps.js +55 -0
- package/dist/module/lib/Components/core/DotSymbol/getDotSymbolProps.js.map +1 -0
- package/dist/module/lib/Components/core/DotSymbol/getDotSymbolProps.test.js +56 -0
- package/dist/module/lib/Components/core/DotSymbol/getDotSymbolProps.test.js.map +1 -0
- package/dist/module/lib/Components/core/DotSymbol/index.js +2 -1
- package/dist/module/lib/Components/core/DotSymbol/index.js.map +1 -1
- package/dist/module/lib/Components/core/MediaButton/MediaButton.js +2 -2
- package/dist/module/lib/Components/core/MediaButton/MediaButton.mdx +2 -2
- package/dist/module/lib/Components/core/MenuList/MenuList.figma.js +21 -0
- package/dist/module/lib/Components/core/MenuList/MenuList.figma.js.map +1 -0
- package/dist/module/lib/Components/core/MenuList/MenuList.js +143 -0
- package/dist/module/lib/Components/core/MenuList/MenuList.js.map +1 -0
- package/dist/module/lib/Components/core/MenuList/MenuList.mdx +66 -0
- package/dist/module/lib/Components/core/MenuList/MenuList.stories.js +139 -0
- package/dist/module/lib/Components/core/MenuList/MenuList.stories.js.map +1 -0
- package/dist/module/lib/Components/core/MenuList/MenuList.test.js +146 -0
- package/dist/module/lib/Components/core/MenuList/MenuList.test.js.map +1 -0
- package/dist/module/lib/Components/core/MenuList/index.js +5 -0
- package/dist/module/lib/Components/core/MenuList/index.js.map +1 -0
- package/dist/module/lib/Components/core/MenuList/types.js.map +1 -0
- package/dist/module/lib/Components/core/SelectList/SelectList.figma.js +28 -0
- package/dist/module/lib/Components/core/{OptionList/OptionList.figma.js.map → SelectList/SelectList.figma.js.map} +1 -1
- package/dist/module/lib/Components/core/{OptionList/OptionList.js → SelectList/SelectList.js} +46 -46
- package/dist/module/lib/Components/core/{OptionList/OptionList.js.map → SelectList/SelectList.js.map} +1 -1
- package/dist/module/lib/Components/core/{OptionList/OptionList.mdx → SelectList/SelectList.mdx} +81 -81
- package/dist/module/lib/Components/core/{OptionList/OptionList.stories.js → SelectList/SelectList.stories.js} +130 -130
- package/dist/module/lib/Components/core/{OptionList/OptionList.stories.js.map → SelectList/SelectList.stories.js.map} +1 -1
- package/dist/module/lib/Components/core/{OptionList/OptionList.test.js → SelectList/SelectList.test.js} +83 -83
- package/dist/module/lib/Components/core/{OptionList/OptionList.test.js.map → SelectList/SelectList.test.js.map} +1 -1
- package/dist/module/lib/Components/core/SelectList/index.js +5 -0
- package/dist/module/lib/Components/core/{OptionList → SelectList}/index.js.map +1 -1
- package/dist/module/lib/Components/core/SelectList/types.js +4 -0
- package/dist/module/lib/Components/core/{OptionList → SelectList}/types.js.map +1 -1
- package/dist/module/lib/Components/core/{OptionList/useOptionList/useOptionListItems.js → SelectList/useSelectList/useSelectListItems.js} +2 -2
- package/dist/module/lib/Components/core/{OptionList/useOptionList/useOptionListItems.js.map → SelectList/useSelectList/useSelectListItems.js.map} +1 -1
- package/dist/module/lib/Components/core/{OptionList/useOptionList/useOptionListItems.test.js → SelectList/useSelectList/useSelectListItems.test.js} +17 -17
- package/dist/module/lib/Components/core/{OptionList/useOptionList/useOptionListItems.test.js.map → SelectList/useSelectList/useSelectListItems.test.js.map} +1 -1
- package/dist/module/lib/Components/core/index.js +2 -1
- package/dist/module/lib/Components/core/index.js.map +1 -1
- package/dist/module/lib/Components/internal/BaseButton/BaseButton.js +2 -2
- package/dist/module/lib/Components/internal/BaseButton/BaseButton.js.map +1 -1
- package/dist/module/lib/Components/internal/BaseInput/BaseInputLabel.js +2 -2
- package/dist/module/lib/Components/internal/BaseInput/BaseInputLabel.js.map +1 -1
- package/dist/module/lib/Components/internal/BaseTag/BaseTag.js +3 -3
- package/dist/module/lib/Components/internal/BaseTag/BaseTag.js.map +1 -1
- package/dist/module/lib/Components/internal/BaseTag/BaseTag.test.js +1 -1
- package/dist/module/lib/Components/internal/BaseTag/BaseTag.test.js.map +1 -1
- package/dist/module/lib/Components/symbols/Icon/Icon.test.js +1 -1
- package/dist/module/lib/Components/symbols/icons/CloudSync.js +50 -0
- package/dist/module/lib/Components/symbols/icons/CloudSync.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Dollar.js +11 -5
- package/dist/module/lib/Components/symbols/icons/Dollar.js.map +1 -1
- package/dist/module/lib/Components/symbols/icons/DollarConvert.js +1 -1
- package/dist/module/lib/Components/symbols/icons/DollarConvert.js.map +1 -1
- package/dist/module/lib/Components/symbols/icons/DollarFill.js +47 -0
- package/dist/module/lib/Components/symbols/icons/DollarFill.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/FaceId.js +50 -0
- package/dist/module/lib/Components/symbols/icons/FaceId.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Fingerprint.js +50 -0
- package/dist/module/lib/Components/symbols/icons/Fingerprint.js.map +1 -0
- package/dist/module/lib/Components/symbols/icons/Pause.js +2 -1
- package/dist/module/lib/Components/symbols/icons/Pause.js.map +1 -1
- package/dist/module/lib/Components/symbols/icons/Range.js +2 -5
- package/dist/module/lib/Components/symbols/icons/Range.js.map +1 -1
- package/dist/module/lib/Components/symbols/icons/Telegram.js +20 -9
- package/dist/module/lib/Components/symbols/icons/Telegram.js.map +1 -1
- package/dist/module/lib/Components/symbols/icons/Usb.js +1 -1
- package/dist/module/lib/Components/symbols/index.js +4 -0
- package/dist/module/lib/Components/symbols/index.js.map +1 -1
- package/dist/typescript/src/lib/Components/core/Avatar/Avatar.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Avatar/index.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Avatar/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Avatar/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Avatar/useResolveAvatarColor.d.ts +10 -0
- package/dist/typescript/src/lib/Components/core/Avatar/useResolveAvatarColor.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/DotIcon/DotIcon.d.ts +0 -13
- package/dist/typescript/src/lib/Components/core/DotIcon/DotIcon.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/DotIcon/getDotIconProps.d.ts +66 -0
- package/dist/typescript/src/lib/Components/core/DotIcon/getDotIconProps.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/DotIcon/index.d.ts +2 -1
- package/dist/typescript/src/lib/Components/core/DotIcon/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/DotSymbol/DotSymbol.d.ts +1 -5
- package/dist/typescript/src/lib/Components/core/DotSymbol/DotSymbol.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/DotSymbol/getDotSymbolProps.d.ts +102 -0
- package/dist/typescript/src/lib/Components/core/DotSymbol/getDotSymbolProps.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/DotSymbol/index.d.ts +2 -1
- package/dist/typescript/src/lib/Components/core/DotSymbol/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/MediaButton/MediaButton.d.ts +2 -2
- package/dist/typescript/src/lib/Components/core/MenuList/MenuList.d.ts +29 -0
- package/dist/typescript/src/lib/Components/core/MenuList/MenuList.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/MenuList/index.d.ts +3 -0
- package/dist/typescript/src/lib/Components/core/MenuList/index.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/MenuList/types.d.ts +42 -0
- package/dist/typescript/src/lib/Components/core/MenuList/types.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/SelectList/SelectList.d.ts +27 -0
- package/dist/typescript/src/lib/Components/core/{OptionList/OptionList.d.ts.map → SelectList/SelectList.d.ts.map} +1 -1
- package/dist/typescript/src/lib/Components/core/SelectList/index.d.ts +3 -0
- package/dist/typescript/src/lib/Components/core/{OptionList → SelectList}/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/{OptionList → SelectList}/types.d.ts +24 -24
- package/dist/typescript/src/lib/Components/core/{OptionList → SelectList}/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/SelectList/useSelectList/useSelectListItems.d.ts +20 -0
- package/dist/typescript/src/lib/Components/core/{OptionList/useOptionList/useOptionListItems.d.ts.map → SelectList/useSelectList/useSelectListItems.d.ts.map} +1 -1
- package/dist/typescript/src/lib/Components/core/index.d.ts +2 -1
- package/dist/typescript/src/lib/Components/core/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseInput/BaseInputLabel.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/symbols/icons/CloudSync.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/CloudSync.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Dollar.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/symbols/icons/DollarFill.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/DollarFill.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/FaceId.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/FaceId.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Fingerprint.d.ts +35 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Fingerprint.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/symbols/icons/Pause.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/symbols/icons/Range.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/symbols/icons/Telegram.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/symbols/index.d.ts +4 -0
- package/dist/typescript/src/lib/Components/symbols/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/lib/Components/core/Avatar/Avatar.mdx +10 -6
- package/src/lib/Components/core/Avatar/Avatar.stories.tsx +16 -9
- package/src/lib/Components/core/Avatar/Avatar.test.tsx +64 -0
- package/src/lib/Components/core/Avatar/Avatar.tsx +41 -8
- package/src/lib/Components/core/Avatar/index.ts +1 -1
- package/src/lib/Components/core/Avatar/types.ts +1 -1
- package/src/lib/Components/core/Avatar/useResolveAvatarColor.test.tsx +106 -0
- package/src/lib/Components/core/Avatar/useResolveAvatarColor.ts +25 -0
- package/src/lib/Components/core/Banner/Banner.test.tsx +3 -3
- package/src/lib/Components/core/Banner/Banner.tsx +3 -3
- package/src/lib/Components/core/DotIcon/DotIcon.mdx +3 -3
- package/src/lib/Components/core/DotIcon/DotIcon.stories.tsx +14 -13
- package/src/lib/Components/core/DotIcon/DotIcon.test.tsx +20 -0
- package/src/lib/Components/core/DotIcon/DotIcon.tsx +0 -15
- package/src/lib/Components/core/DotIcon/getDotIconProps.test.ts +19 -0
- package/src/lib/Components/core/DotIcon/getDotIconProps.ts +20 -0
- package/src/lib/Components/core/DotIcon/index.ts +2 -5
- package/src/lib/Components/core/DotSymbol/DotSymbol.mdx +3 -3
- package/src/lib/Components/core/DotSymbol/DotSymbol.stories.tsx +18 -17
- package/src/lib/Components/core/DotSymbol/DotSymbol.tsx +0 -23
- package/src/lib/Components/core/DotSymbol/getDotSymbolProps.test.ts +25 -0
- package/src/lib/Components/core/DotSymbol/getDotSymbolProps.ts +26 -0
- package/src/lib/Components/core/DotSymbol/index.ts +2 -1
- package/src/lib/Components/core/MediaButton/MediaButton.mdx +2 -2
- package/src/lib/Components/core/MediaButton/MediaButton.tsx +2 -2
- package/src/lib/Components/core/MenuList/MenuList.figma.tsx +23 -0
- package/src/lib/Components/core/MenuList/MenuList.mdx +66 -0
- package/src/lib/Components/core/MenuList/MenuList.stories.tsx +114 -0
- package/src/lib/Components/core/MenuList/MenuList.test.tsx +135 -0
- package/src/lib/Components/core/MenuList/MenuList.tsx +162 -0
- package/src/lib/Components/core/MenuList/index.ts +2 -0
- package/src/lib/Components/core/MenuList/types.ts +49 -0
- package/src/lib/Components/core/SelectList/SelectList.figma.tsx +37 -0
- package/src/lib/Components/core/{OptionList/OptionList.mdx → SelectList/SelectList.mdx} +81 -81
- package/src/lib/Components/core/{OptionList/OptionList.stories.tsx → SelectList/SelectList.stories.tsx} +227 -227
- package/src/lib/Components/core/{OptionList/OptionList.test.tsx → SelectList/SelectList.test.tsx} +138 -138
- package/src/lib/Components/core/{OptionList/OptionList.tsx → SelectList/SelectList.tsx} +92 -92
- package/src/lib/Components/core/SelectList/index.ts +2 -0
- package/src/lib/Components/core/{OptionList → SelectList}/types.ts +28 -28
- package/src/lib/Components/core/{OptionList/useOptionList/useOptionListItems.test.ts → SelectList/useSelectList/useSelectListItems.test.ts} +24 -24
- package/src/lib/Components/core/{OptionList/useOptionList/useOptionListItems.ts → SelectList/useSelectList/useSelectListItems.ts} +21 -21
- package/src/lib/Components/core/Spot/Spot.tsx +1 -1
- package/src/lib/Components/core/index.ts +2 -1
- package/src/lib/Components/internal/BaseButton/BaseButton.tsx +2 -2
- package/src/lib/Components/internal/BaseInput/BaseInputLabel.tsx +5 -2
- package/src/lib/Components/internal/BaseTag/BaseTag.test.tsx +3 -3
- package/src/lib/Components/internal/BaseTag/BaseTag.tsx +3 -3
- package/src/lib/Components/symbols/Icon/Icon.test.tsx +1 -1
- package/src/lib/Components/symbols/icons/CloudSync.tsx +45 -0
- package/src/lib/Components/symbols/icons/Dollar.tsx +8 -1
- package/src/lib/Components/symbols/icons/DollarConvert.tsx +1 -1
- package/src/lib/Components/symbols/icons/DollarFill.tsx +42 -0
- package/src/lib/Components/symbols/icons/FaceId.tsx +45 -0
- package/src/lib/Components/symbols/icons/Fingerprint.tsx +45 -0
- package/src/lib/Components/symbols/icons/Pause.tsx +2 -1
- package/src/lib/Components/symbols/icons/Range.tsx +2 -5
- package/src/lib/Components/symbols/icons/Telegram.tsx +14 -7
- package/src/lib/Components/symbols/icons/Usb.tsx +1 -1
- package/src/lib/Components/symbols/index.ts +4 -0
- package/dist/module/lib/Components/core/Avatar/resolveAvatarColor.js +0 -18
- package/dist/module/lib/Components/core/Avatar/resolveAvatarColor.js.map +0 -1
- package/dist/module/lib/Components/core/OptionList/OptionList.figma.js +0 -28
- package/dist/module/lib/Components/core/OptionList/index.js +0 -5
- package/dist/typescript/src/lib/Components/core/Avatar/resolveAvatarColor.d.ts +0 -8
- package/dist/typescript/src/lib/Components/core/Avatar/resolveAvatarColor.d.ts.map +0 -1
- package/dist/typescript/src/lib/Components/core/OptionList/OptionList.d.ts +0 -27
- package/dist/typescript/src/lib/Components/core/OptionList/index.d.ts +0 -3
- package/dist/typescript/src/lib/Components/core/OptionList/useOptionList/useOptionListItems.d.ts +0 -20
- package/src/lib/Components/core/Avatar/resolveAvatarColor.ts +0 -19
- package/src/lib/Components/core/OptionList/OptionList.figma.tsx +0 -37
- package/src/lib/Components/core/OptionList/index.ts +0 -2
- /package/dist/module/lib/Components/core/{OptionList → MenuList}/types.js +0 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export declare const getDotIconProps: <Context extends "spot" | "mediaImage", Variant extends keyof {
|
|
2
|
+
mediaImage: {
|
|
3
|
+
40: {
|
|
4
|
+
size: 16;
|
|
5
|
+
};
|
|
6
|
+
48: {
|
|
7
|
+
size: 20;
|
|
8
|
+
};
|
|
9
|
+
56: {
|
|
10
|
+
size: 24;
|
|
11
|
+
};
|
|
12
|
+
64: {
|
|
13
|
+
size: 24;
|
|
14
|
+
};
|
|
15
|
+
72: {
|
|
16
|
+
size: 32;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
spot: {
|
|
20
|
+
40: {
|
|
21
|
+
size: 16;
|
|
22
|
+
};
|
|
23
|
+
48: {
|
|
24
|
+
size: 20;
|
|
25
|
+
};
|
|
26
|
+
56: {
|
|
27
|
+
size: 24;
|
|
28
|
+
};
|
|
29
|
+
72: {
|
|
30
|
+
size: 32;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
}[Context]>(context: Context, variant: Variant) => {
|
|
34
|
+
mediaImage: {
|
|
35
|
+
40: {
|
|
36
|
+
size: 16;
|
|
37
|
+
};
|
|
38
|
+
48: {
|
|
39
|
+
size: 20;
|
|
40
|
+
};
|
|
41
|
+
56: {
|
|
42
|
+
size: 24;
|
|
43
|
+
};
|
|
44
|
+
64: {
|
|
45
|
+
size: 24;
|
|
46
|
+
};
|
|
47
|
+
72: {
|
|
48
|
+
size: 32;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
spot: {
|
|
52
|
+
40: {
|
|
53
|
+
size: 16;
|
|
54
|
+
};
|
|
55
|
+
48: {
|
|
56
|
+
size: 20;
|
|
57
|
+
};
|
|
58
|
+
56: {
|
|
59
|
+
size: 24;
|
|
60
|
+
};
|
|
61
|
+
72: {
|
|
62
|
+
size: 32;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
}[Context][Variant];
|
|
66
|
+
//# sourceMappingURL=getDotIconProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDotIconProps.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/DotIcon/getDotIconProps.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAc1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/DotIcon/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/DotIcon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC"}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { SpotSize } from '../Spot';
|
|
3
|
-
import type { DotSymbolProps, DotSymbolSize } from './types';
|
|
4
|
-
export declare const mediaImageDotSizeMap: Record<MediaImageSize, DotSymbolSize>;
|
|
5
|
-
export declare const spotDotSizeMap: Record<SpotSize, DotSymbolSize>;
|
|
1
|
+
import type { DotSymbolProps } from './types';
|
|
6
2
|
/**
|
|
7
3
|
* A wrapper component that positions a small image indicator at a configurable
|
|
8
4
|
* corner of a child element like MediaImage or Spot.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DotSymbol.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/DotSymbol/DotSymbol.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"DotSymbol.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/DotSymbol/DotSymbol.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAgB,cAAc,EAAiB,MAAM,SAAS,CAAC;AAoF3E;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS;gGAYnB,cAAc;;CAwChB,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
export declare const getDotSymbolProps: <Context extends "spot" | "mediaImage", Variant extends keyof {
|
|
2
|
+
mediaImage: {
|
|
3
|
+
12: {
|
|
4
|
+
size: 8;
|
|
5
|
+
};
|
|
6
|
+
16: {
|
|
7
|
+
size: 8;
|
|
8
|
+
};
|
|
9
|
+
20: {
|
|
10
|
+
size: 8;
|
|
11
|
+
};
|
|
12
|
+
24: {
|
|
13
|
+
size: 10;
|
|
14
|
+
};
|
|
15
|
+
32: {
|
|
16
|
+
size: 12;
|
|
17
|
+
};
|
|
18
|
+
40: {
|
|
19
|
+
size: 16;
|
|
20
|
+
};
|
|
21
|
+
48: {
|
|
22
|
+
size: 20;
|
|
23
|
+
};
|
|
24
|
+
56: {
|
|
25
|
+
size: 24;
|
|
26
|
+
};
|
|
27
|
+
64: {
|
|
28
|
+
size: 24;
|
|
29
|
+
};
|
|
30
|
+
72: {
|
|
31
|
+
size: 32;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
spot: {
|
|
35
|
+
32: {
|
|
36
|
+
size: 12;
|
|
37
|
+
};
|
|
38
|
+
40: {
|
|
39
|
+
size: 16;
|
|
40
|
+
};
|
|
41
|
+
48: {
|
|
42
|
+
size: 20;
|
|
43
|
+
};
|
|
44
|
+
56: {
|
|
45
|
+
size: 24;
|
|
46
|
+
};
|
|
47
|
+
72: {
|
|
48
|
+
size: 32;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}[Context]>(context: Context, variant: Variant) => {
|
|
52
|
+
mediaImage: {
|
|
53
|
+
12: {
|
|
54
|
+
size: 8;
|
|
55
|
+
};
|
|
56
|
+
16: {
|
|
57
|
+
size: 8;
|
|
58
|
+
};
|
|
59
|
+
20: {
|
|
60
|
+
size: 8;
|
|
61
|
+
};
|
|
62
|
+
24: {
|
|
63
|
+
size: 10;
|
|
64
|
+
};
|
|
65
|
+
32: {
|
|
66
|
+
size: 12;
|
|
67
|
+
};
|
|
68
|
+
40: {
|
|
69
|
+
size: 16;
|
|
70
|
+
};
|
|
71
|
+
48: {
|
|
72
|
+
size: 20;
|
|
73
|
+
};
|
|
74
|
+
56: {
|
|
75
|
+
size: 24;
|
|
76
|
+
};
|
|
77
|
+
64: {
|
|
78
|
+
size: 24;
|
|
79
|
+
};
|
|
80
|
+
72: {
|
|
81
|
+
size: 32;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
spot: {
|
|
85
|
+
32: {
|
|
86
|
+
size: 12;
|
|
87
|
+
};
|
|
88
|
+
40: {
|
|
89
|
+
size: 16;
|
|
90
|
+
};
|
|
91
|
+
48: {
|
|
92
|
+
size: 20;
|
|
93
|
+
};
|
|
94
|
+
56: {
|
|
95
|
+
size: 24;
|
|
96
|
+
};
|
|
97
|
+
72: {
|
|
98
|
+
size: 32;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}[Context][Variant];
|
|
102
|
+
//# sourceMappingURL=getDotSymbolProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDotSymbolProps.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/DotSymbol/getDotSymbolProps.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAoB5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/DotSymbol/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/DotSymbol/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { MediaButtonProps } from './types';
|
|
2
2
|
/**
|
|
3
|
-
* Media button for
|
|
3
|
+
* Media button for select list/dropdown components. Displays a label with an optional
|
|
4
4
|
* leading content and a trailing chevron indicator.
|
|
5
5
|
*
|
|
6
|
-
* This component is intended to be used exclusively as the trigger inside
|
|
6
|
+
* This component is intended to be used exclusively as the trigger inside a SelectList or
|
|
7
7
|
* dropdown pattern. It should not be used as a standalone action button — use `Button`
|
|
8
8
|
* or `IconButton` instead.
|
|
9
9
|
*
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { MenuListItemProps, MenuListProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* A container for a set of tappable actions, rendered as `MenuListItem`s.
|
|
4
|
+
*
|
|
5
|
+
* `MenuList` is a content primitive: it owns no open/close state, so compose it
|
|
6
|
+
* inside a `BottomSheet` (or any other surface) to build a menu experience.
|
|
7
|
+
*
|
|
8
|
+
* @see {@link https://ldls-react-native.vercel.app/?path=/docs/rnative-menulist--docs Storybook}
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* <MenuList>
|
|
12
|
+
* <MenuListItem icon={Unlink} label="Unlink" onPress={handleUnlink} />
|
|
13
|
+
* <MenuListItem icon={Trash} label="Remove" appearance="red" onPress={handleRemove} />
|
|
14
|
+
* </MenuList>
|
|
15
|
+
*/
|
|
16
|
+
export declare const MenuList: ({ children, lx, style, ref, ...props }: MenuListProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
/**
|
|
18
|
+
* A single action inside a `MenuList`: a label, an optional leading icon and a
|
|
19
|
+
* press handler.
|
|
20
|
+
*
|
|
21
|
+
* Place destructive (`appearance="red"`) items last, per platform convention.
|
|
22
|
+
*
|
|
23
|
+
* @see {@link https://ldls-react-native.vercel.app/?path=/docs/rnative-menulist--docs Storybook}
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* <MenuListItem icon={Trash} label="Remove" appearance="red" onPress={handleRemove} />
|
|
27
|
+
*/
|
|
28
|
+
export declare const MenuListItem: ({ label, icon: Icon, appearance, disabled: disabledProp, onPress, accessibilityState, lx, style, ref, ...props }: MenuListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
//# sourceMappingURL=MenuList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuList.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/MenuList/MenuList.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAEV,iBAAiB,EACjB,aAAa,EACd,MAAM,SAAS,CAAC;AAiDjB;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,QAAQ,GAAI,wCAMtB,aAAa,4CAIf,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,GAAI,kHAW1B,iBAAiB,4CA4BnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/MenuList/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { ComponentType, ReactNode } from 'react';
|
|
2
|
+
import type { LumenTextStyle, StyledPressableProps, StyledViewProps } from '../../../../styles';
|
|
3
|
+
import type { IconSize } from '../../symbols/Icon';
|
|
4
|
+
export type IconComponent = ComponentType<{
|
|
5
|
+
size?: IconSize;
|
|
6
|
+
color?: LumenTextStyle['color'];
|
|
7
|
+
}>;
|
|
8
|
+
export type MenuListItemAppearance = 'base' | 'red';
|
|
9
|
+
export type MenuListProps = {
|
|
10
|
+
/**
|
|
11
|
+
* The `MenuListItem`s that make up the menu.
|
|
12
|
+
*/
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
} & Omit<StyledViewProps, 'children'>;
|
|
15
|
+
export type MenuListItemProps = {
|
|
16
|
+
/**
|
|
17
|
+
* Text describing the action, truncated to a single line.
|
|
18
|
+
*/
|
|
19
|
+
label: string;
|
|
20
|
+
/**
|
|
21
|
+
* Icon rendered before the label.
|
|
22
|
+
*/
|
|
23
|
+
icon?: IconComponent;
|
|
24
|
+
/**
|
|
25
|
+
* Visual treatment of the label and icon. Use `red` for irreversible or
|
|
26
|
+
* dangerous actions.
|
|
27
|
+
*
|
|
28
|
+
* @default 'base'
|
|
29
|
+
*/
|
|
30
|
+
appearance?: MenuListItemAppearance;
|
|
31
|
+
/**
|
|
32
|
+
* Prevents interaction and dims the content.
|
|
33
|
+
*
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Action to run when the item is pressed.
|
|
39
|
+
*/
|
|
40
|
+
onPress?: StyledPressableProps['onPress'];
|
|
41
|
+
} & Omit<StyledPressableProps, 'children' | 'onPress'>;
|
|
42
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/MenuList/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EACV,cAAc,EACd,oBAAoB,EACpB,eAAe,EAChB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,MAAM,MAAM,aAAa,GAAG,aAAa,CAAC;IACxC,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;CACjC,CAAC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,KAAK,CAAC;AAEpD,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAEtC,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,sBAAsB,CAAC;IACpC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;CAC3C,GAAG,IAAI,CAAC,oBAAoB,EAAE,UAAU,GAAG,SAAS,CAAC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type ReactElement } from 'react';
|
|
2
|
+
import type { MetaShape, SelectListProps, SelectListContentProps, SelectListItemProps, SelectListItemLeadingProps, SelectListItemTextProps, SelectListItemDescriptionProps, SelectListItemContentProps, SelectListItemContentRowProps, SelectListEmptyStateProps, SelectListSearchProps, SelectListTriggerProps, SelectListValue } from './types';
|
|
3
|
+
export declare const SelectList: <T extends SelectListValue = SelectListValue, TMeta extends MetaShape = MetaShape>({ items, value, defaultValue, onValueChange, disabled: disabledProp, filter, filteredItems, searchValue, defaultSearchValue, onSearchValueChange, children, }: SelectListProps<T, TMeta>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const SelectListContent: <T extends SelectListValue = SelectListValue, TMeta extends MetaShape = MetaShape>({ renderItem, lx, style, ref, ...props }: SelectListContentProps<T, TMeta>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const SelectListItem: <T extends SelectListValue = SelectListValue>({ value, disabled: disabledProp, children, lx, style, ref, ...props }: SelectListItemProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const SelectListItemText: ({ children, lx, style, ref, ...props }: SelectListItemTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const SelectListItemDescription: ({ children, lx, style, ref, ...props }: SelectListItemDescriptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const SelectListItemContent: ({ children, lx, style, ref, ...props }: SelectListItemContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const SelectListItemContentRow: ({ children, lx, style, ref, ...props }: SelectListItemContentRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const SelectListItemLeading: ({ children, lx, style, ref, ...props }: SelectListItemLeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const SelectListSearch: ({ ref, ...props }: SelectListSearchProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const SelectListEmptyState: ({ title, description, lx, style, ref, ...props }: SelectListEmptyStateProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
13
|
+
export declare const SelectListTrigger: ({ label, onPress, disabled: disabledProp, children, lx, style, ref, ...props }: SelectListTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare function createSelectList<T extends SelectListValue = never, TMeta extends MetaShape = MetaShape>(): {
|
|
15
|
+
SelectList: (props: SelectListProps<T, TMeta>) => ReactElement;
|
|
16
|
+
SelectListContent: (props: SelectListContentProps<T, TMeta>) => ReactElement;
|
|
17
|
+
SelectListItem: (props: SelectListItemProps<T>) => ReactElement;
|
|
18
|
+
SelectListItemText: (props: SelectListItemTextProps) => ReactElement;
|
|
19
|
+
SelectListItemDescription: (props: SelectListItemDescriptionProps) => ReactElement;
|
|
20
|
+
SelectListItemContent: (props: SelectListItemContentProps) => ReactElement;
|
|
21
|
+
SelectListItemContentRow: (props: SelectListItemContentRowProps) => ReactElement;
|
|
22
|
+
SelectListItemLeading: (props: SelectListItemLeadingProps) => ReactElement;
|
|
23
|
+
SelectListSearch: (props: SelectListSearchProps) => ReactElement;
|
|
24
|
+
SelectListEmptyState: (props: SelectListEmptyStateProps) => ReactElement | null;
|
|
25
|
+
SelectListTrigger: (props: SelectListTriggerProps) => ReactElement;
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=SelectList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"SelectList.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/SelectList/SelectList.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAY,KAAK,YAAY,EAAkB,MAAM,OAAO,CAAC;AAQpE,OAAO,KAAK,EACV,SAAS,EAGT,eAAe,EACf,sBAAsB,EACtB,mBAAmB,EACnB,0B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,EAAE,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC,EAAE,KAAK,CAAC,KAAK,YAAY,CAAC;IAC/D,iBAAiB,EAAE,CAAC,KAAK,EAAE,sBAAsB,CAAC,CAAC,EAAE,KAAK,CAAC,KAAK,YAAY,CAAC;IAC7E,cAAc,EAAE,CAAC,KAAK,EAAE,mBAAmB,CAAC,CAAC,CAAC,KAAK,YAAY,CAAC;IAChE,kBAAkB,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,YAAY,CAAC;IACrE,yBAAyB,EAAE,CACzB,KAAK,EAAE,8BAA8B,KAClC,YAAY,CAAC;IAClB,qBAAqB,EAAE,CAAC,KAAK,EAAE,0BAA0B,KAAK,YAAY,CAAC;IAC3E,wBAAwB,EAAE,CACxB,KAAK,EAAE,6BAA6B,KACjC,YAAY,CAAC;IAClB,qBAAqB,EAAE,CAAC,KAAK,EAAE,0BAA0B,KAAK,YAAY,CAAC;IAC3E,gBAAgB,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,YAAY,CAAC;IACjE,oBAAoB,EAAE,CACpB,KAAK,EAAE,yBAAyB,KAC7B,YAAY,GAAG,IAAI,CAAC;IACzB,iBAAiB,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,YAAY,CAAC;CACpE,CAcA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/SelectList/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|
|
@@ -2,8 +2,8 @@ import type { ReactNode } from 'react';
|
|
|
2
2
|
import type { StyledPressableProps, StyledTextProps, StyledViewProps } from '../../../../styles';
|
|
3
3
|
import type { SearchInputProps } from '../SearchInput';
|
|
4
4
|
export type MetaShape = Record<string, unknown>;
|
|
5
|
-
export type
|
|
6
|
-
export type
|
|
5
|
+
export type SelectListValue = string;
|
|
6
|
+
export type SelectListItemData<T extends SelectListValue = SelectListValue, TMeta extends MetaShape = MetaShape> = {
|
|
7
7
|
/** Unique string identifier for this item, used for selection tracking. */
|
|
8
8
|
value: T;
|
|
9
9
|
/** Display text. */
|
|
@@ -26,26 +26,26 @@ export type OptionListItemData<T extends OptionListValue = OptionListValue, TMet
|
|
|
26
26
|
meta?: TMeta;
|
|
27
27
|
};
|
|
28
28
|
/** Internal type -- used by sub-components to read shared state from context. */
|
|
29
|
-
export type
|
|
29
|
+
export type SelectListContextValue = {
|
|
30
30
|
selectedValue: string | null;
|
|
31
31
|
onValueChange: (value: string | null) => void;
|
|
32
32
|
isGrouped: boolean;
|
|
33
|
-
groups:
|
|
34
|
-
flatItems:
|
|
33
|
+
groups: SelectListItemGroup[];
|
|
34
|
+
flatItems: SelectListItemData[];
|
|
35
35
|
resolvedSearchValue: string;
|
|
36
36
|
handleSearchValueChange: (value: string) => void;
|
|
37
37
|
};
|
|
38
38
|
/** Internal type -- consumers never construct this directly. */
|
|
39
|
-
export type
|
|
39
|
+
export type SelectListItemGroup<T extends SelectListValue = SelectListValue, TMeta extends MetaShape = MetaShape> = {
|
|
40
40
|
label: string;
|
|
41
|
-
items:
|
|
41
|
+
items: SelectListItemData<T, TMeta>[];
|
|
42
42
|
};
|
|
43
|
-
export type
|
|
43
|
+
export type SelectListProps<T extends SelectListValue = SelectListValue, TMeta extends MetaShape = MetaShape> = {
|
|
44
44
|
/**
|
|
45
45
|
* Flat array of items.
|
|
46
46
|
* Use the `group` field on each item for automatic grouping.
|
|
47
47
|
*/
|
|
48
|
-
items:
|
|
48
|
+
items: SelectListItemData<T, TMeta>[];
|
|
49
49
|
/**
|
|
50
50
|
* The controlled selected value.
|
|
51
51
|
*/
|
|
@@ -66,12 +66,12 @@ export type OptionListProps<T extends OptionListValue = OptionListValue, TMeta e
|
|
|
66
66
|
* Custom item/query matcher.
|
|
67
67
|
* Defaults to case-insensitive label match; `null` disables filtering.
|
|
68
68
|
*/
|
|
69
|
-
filter?: null | ((item:
|
|
69
|
+
filter?: null | ((item: SelectListItemData<T, TMeta>, query: string) => boolean);
|
|
70
70
|
/**
|
|
71
71
|
* Pre-filtered items for async/remote search.
|
|
72
72
|
* Bypasses internal filtering.
|
|
73
73
|
*/
|
|
74
|
-
filteredItems?:
|
|
74
|
+
filteredItems?: SelectListItemData<T, TMeta>[];
|
|
75
75
|
/**
|
|
76
76
|
* Controlled search input value.
|
|
77
77
|
*/
|
|
@@ -86,50 +86,50 @@ export type OptionListProps<T extends OptionListValue = OptionListValue, TMeta e
|
|
|
86
86
|
onSearchValueChange?: (value: string) => void;
|
|
87
87
|
children: ReactNode;
|
|
88
88
|
};
|
|
89
|
-
export type
|
|
89
|
+
export type SelectListContentProps<T extends SelectListValue = SelectListValue, TMeta extends MetaShape = MetaShape> = {
|
|
90
90
|
/** Render function called for each item. Receives the item data and selection/disabled state. */
|
|
91
|
-
renderItem: (item:
|
|
91
|
+
renderItem: (item: SelectListItemData<T, TMeta>, selected: boolean) => ReactNode;
|
|
92
92
|
} & Omit<StyledViewProps, 'children'>;
|
|
93
|
-
export type
|
|
93
|
+
export type SelectListItemProps<T extends SelectListValue = SelectListValue> = {
|
|
94
94
|
/** The value associated with this item, used for selection matching. */
|
|
95
95
|
value: T;
|
|
96
96
|
/** Whether the item is disabled. */
|
|
97
97
|
disabled?: boolean;
|
|
98
98
|
children: ReactNode;
|
|
99
99
|
} & Omit<StyledPressableProps, 'children' | 'disabled'>;
|
|
100
|
-
export type
|
|
100
|
+
export type SelectListItemTextProps = {
|
|
101
101
|
children: ReactNode;
|
|
102
102
|
} & Omit<StyledTextProps, 'children'>;
|
|
103
|
-
export type
|
|
103
|
+
export type SelectListItemDescriptionProps = {
|
|
104
104
|
children: ReactNode;
|
|
105
105
|
} & Omit<StyledTextProps, 'children'>;
|
|
106
|
-
export type
|
|
106
|
+
export type SelectListItemContentRowProps = {
|
|
107
107
|
children: ReactNode;
|
|
108
108
|
} & Omit<StyledViewProps, 'children'>;
|
|
109
|
-
export type
|
|
109
|
+
export type SelectListItemContentProps = {
|
|
110
110
|
children: ReactNode;
|
|
111
111
|
} & Omit<StyledViewProps, 'children'>;
|
|
112
|
-
export type
|
|
112
|
+
export type SelectListItemLeadingProps = {
|
|
113
113
|
children: ReactNode;
|
|
114
114
|
} & Omit<StyledViewProps, 'children'>;
|
|
115
|
-
export type
|
|
115
|
+
export type SelectListLabelProps = {
|
|
116
116
|
children: ReactNode;
|
|
117
117
|
} & Omit<StyledTextProps, 'children'>;
|
|
118
|
-
export type
|
|
118
|
+
export type SelectListEmptyStateProps = {
|
|
119
119
|
/** Heading displayed when the list is empty. */
|
|
120
120
|
title: string;
|
|
121
121
|
/** Optional secondary text displayed below the title. */
|
|
122
122
|
description?: string;
|
|
123
123
|
} & Omit<StyledViewProps, 'children'>;
|
|
124
|
-
export type
|
|
125
|
-
export type
|
|
124
|
+
export type SelectListSearchProps = Omit<SearchInputProps, 'value' | 'onChangeText' | 'defaultValue'>;
|
|
125
|
+
export type SelectListTriggerProps = {
|
|
126
126
|
/** Floating label shown above the selected value. */
|
|
127
127
|
label?: string;
|
|
128
128
|
/** Called when the trigger is pressed. Use to open a BottomSheet or navigate. */
|
|
129
129
|
onPress: () => void;
|
|
130
130
|
/** Content to display as the selected value. */
|
|
131
131
|
children?: ReactNode;
|
|
132
|
-
/** Whether the trigger is disabled. Merges with
|
|
132
|
+
/** Whether the trigger is disabled. Merges with SelectList disabled context. */
|
|
133
133
|
disabled?: boolean;
|
|
134
134
|
} & Omit<StyledPressableProps, 'children' | 'disabled' | 'onPress'>;
|
|
135
135
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/Sel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e,EAAE,UAAU,CAAC,CAAC;AAEtC,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,gBAAgB,EAChB,OAAO,GAAG,cAAc,GAAG,cAAc,CAC1C,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iFAAiF;IACjF,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,IAAI,CAAC,oBAAoB,EAAE,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC,CAAC"}
|
package/dist/typescript/src/lib/Components/core/SelectList/useSelectList/useSelectListItems.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { MetaShape, SelectListItemData, SelectListItemGroup, SelectListValue } from '../types';
|
|
2
|
+
export declare const defaultLabelFilter: (item: SelectListItemData, query: string) => boolean;
|
|
3
|
+
type UseSelectListItemsParams<T extends SelectListValue = SelectListValue, TMeta extends MetaShape = MetaShape> = {
|
|
4
|
+
items: SelectListItemData<T, TMeta>[];
|
|
5
|
+
filter?: null | ((item: SelectListItemData<T, TMeta>, query: string) => boolean);
|
|
6
|
+
filteredItems?: SelectListItemData<T, TMeta>[];
|
|
7
|
+
searchValue?: string;
|
|
8
|
+
defaultSearchValue?: string;
|
|
9
|
+
onSearchValueChange?: (value: string) => void;
|
|
10
|
+
};
|
|
11
|
+
type UseSelectListItemsResult<T extends SelectListValue = SelectListValue, TMeta extends MetaShape = MetaShape> = {
|
|
12
|
+
isGrouped: boolean;
|
|
13
|
+
groups: SelectListItemGroup<T, TMeta>[];
|
|
14
|
+
flatItems: SelectListItemData<T, TMeta>[];
|
|
15
|
+
resolvedSearchValue: string;
|
|
16
|
+
handleSearchValueChange: (val: string) => void;
|
|
17
|
+
};
|
|
18
|
+
export declare const useSelectListItems: <T extends SelectListValue = SelectListValue, TMeta extends MetaShape = MetaShape>({ items, filter, filteredItems, searchValue: searchValueProp, defaultSearchValue, onSearchValueChange, }: UseSelectListItemsParams<T, TMeta>) => UseSelectListItemsResult<T, TMeta>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=useSelectListItems.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"useSelectListItems.d.ts","sourceRoot":"","sources":["../../../../../../../../src/lib/Components/core/SelectList/useSelectList/useSelectListItems.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,SAAS,EACT,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EAChB,MAAM,UAAU,CAAC;AAwBlB,eAAO,MAAM,kBAAkB,GAC7B,MAAM,kBAAkB,EACxB,OAAO,MAAM,KACZ,OAAiE,CAAC;AAErE,KAAK,wBAAwB,CAC3B,CAAC,SAAS,eAAe,GAAG,eAAe,EAC3C,KAAK,SAAS,SAAS,GAAG,SAAS,IACjC;IACF,KAAK,EAAE,kBAAkB,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;IACtC,MAAM,CAAC,EACH,IAAI,GACJ,CAAC,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC;IACrE,aAAa,CAAC,EAAE,kBAAkB,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;IAC/C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,KAAK,wBAAwB,CAC3B,CAAC,SAAS,eAAe,GAAG,eAAe,EAC3C,KAAK,SAAS,SAAS,GAAG,SAAS,IACjC;IACF,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,mBAAmB,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;IACxC,SAAS,EAAE,kBAAkB,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;IAC1C,mBAAmB,EAAE,MAAM,CAAC;IAC5B,uBAAuB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC7B,CAAC,SAAS,eAAe,GAAG,eAAe,EAC3C,KAAK,SAAS,SAAS,GAAG,SAAS,EACnC,0GAOC,wBAAwB,CAAC,CAAC,EAAE,KAAK,CAAC,KAAG,wBAAwB,CAAC,CAAC,EAAE,KAAK,CAmCxE,CAAC"}
|
|
@@ -25,12 +25,13 @@ export * from './MediaButton';
|
|
|
25
25
|
export * from './MediaCard';
|
|
26
26
|
export * from './MediaImage';
|
|
27
27
|
export * from './MediaTag';
|
|
28
|
+
export * from './MenuList';
|
|
28
29
|
export * from './NavBar';
|
|
29
|
-
export * from './OptionList';
|
|
30
30
|
export * from './PageIndicator';
|
|
31
31
|
export * from './SearchInput';
|
|
32
32
|
export * from './SectionHeader';
|
|
33
33
|
export * from './SegmentedControl';
|
|
34
|
+
export * from './SelectList';
|
|
34
35
|
export * from './Skeleton';
|
|
35
36
|
export * from './Spinner';
|
|
36
37
|
export * from './Spot';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CA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AC3B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseInputLabel.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/internal/BaseInput/BaseInputLabel.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"BaseInputLabel.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/internal/BaseInput/BaseInputLabel.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AA6FnD;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,oHAS5B,mBAAmB,4CAkBrB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CloudSync icon component for React Native.
|
|
3
|
+
*
|
|
4
|
+
* This icon component is automatically generated from SVG files and uses the createIcon utility
|
|
5
|
+
* to create a consistent icon interface. It supports all standard SVG props (from react-native-svg)
|
|
6
|
+
* and additional size variants defined in the Icon component.
|
|
7
|
+
*
|
|
8
|
+
* @component
|
|
9
|
+
* @param {16 | 20 | 24 | 40 | 48 | 56} [size=24] - The size of the icon in pixels.
|
|
10
|
+
* @param {string} [color] - The color of the icon.
|
|
11
|
+
* @param {SVGProps} [...props] - All standard SVG element props (from react-native-svg).
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* // Basic usage with default size (24px)
|
|
15
|
+
* import { CloudSync } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
16
|
+
*
|
|
17
|
+
* <CloudSync />
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* // With custom size and style
|
|
21
|
+
* <CloudSync size={40} color="warning" lx={{ marginTop: 's4' }} />
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* // Used within a Button component
|
|
25
|
+
* import { Button } from '@ledgerhq/lumen-ui-rnative';
|
|
26
|
+
*
|
|
27
|
+
* <Button icon={CloudSync} size="md">
|
|
28
|
+
* Click me
|
|
29
|
+
* </Button>
|
|
30
|
+
*/
|
|
31
|
+
export declare const CloudSync: {
|
|
32
|
+
({ disabled, ...props }: Omit<import("../Icon").IconProps, "children">): import("react").FunctionComponentElement<import("../Icon").IconProps>;
|
|
33
|
+
displayName: string;
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=CloudSync.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloudSync.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/symbols/icons/CloudSync.tsx"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,SAAS;;;CAWrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dollar.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/symbols/icons/Dollar.tsx"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,MAAM;;;
|
|
1
|
+
{"version":3,"file":"Dollar.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/symbols/icons/Dollar.tsx"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,MAAM;;;CAkBlB,CAAC"}
|