@korsolutions/ui 0.0.96 → 0.0.97
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/components/description-list/context.js +12 -0
- package/dist/module/components/description-list/context.js.map +1 -0
- package/dist/module/components/description-list/description-list-actions.js +17 -0
- package/dist/module/components/description-list/description-list-actions.js.map +1 -0
- package/dist/module/components/description-list/description-list-details.js +17 -0
- package/dist/module/components/description-list/description-list-details.js.map +1 -0
- package/dist/module/components/description-list/description-list-item.js +17 -0
- package/dist/module/components/description-list/description-list-item.js.map +1 -0
- package/dist/module/components/description-list/description-list-root.js +27 -0
- package/dist/module/components/description-list/description-list-root.js.map +1 -0
- package/dist/module/components/description-list/description-list-term.js +17 -0
- package/dist/module/components/description-list/description-list-term.js.map +1 -0
- package/dist/module/components/description-list/index.js +15 -0
- package/dist/module/components/description-list/index.js.map +1 -0
- package/dist/module/components/description-list/types.js +4 -0
- package/dist/module/components/description-list/types.js.map +1 -0
- package/dist/module/components/description-list/variants/default.js +53 -0
- package/dist/module/components/description-list/variants/default.js.map +1 -0
- package/dist/module/components/description-list/variants/index.js +7 -0
- package/dist/module/components/description-list/variants/index.js.map +1 -0
- package/dist/module/components/index.js +2 -0
- package/dist/module/components/index.js.map +1 -1
- package/dist/module/components/item/context.js +12 -0
- package/dist/module/components/item/context.js.map +1 -0
- package/dist/module/components/item/index.js +17 -0
- package/dist/module/components/item/index.js.map +1 -0
- package/dist/module/components/item/item-actions.js +17 -0
- package/dist/module/components/item/item-actions.js.map +1 -0
- package/dist/module/components/item/item-content.js +17 -0
- package/dist/module/components/item/item-content.js.map +1 -0
- package/dist/module/components/item/item-description.js +17 -0
- package/dist/module/components/item/item-description.js.map +1 -0
- package/dist/module/components/item/item-media.js +18 -0
- package/dist/module/components/item/item-media.js.map +1 -0
- package/dist/module/components/item/item-root.js +29 -0
- package/dist/module/components/item/item-root.js.map +1 -0
- package/dist/module/components/item/item-title.js +17 -0
- package/dist/module/components/item/item-title.js.map +1 -0
- package/dist/module/components/item/types.js +4 -0
- package/dist/module/components/item/types.js.map +1 -0
- package/dist/module/components/item/variants/default.js +91 -0
- package/dist/module/components/item/variants/default.js.map +1 -0
- package/dist/module/components/item/variants/index.js +11 -0
- package/dist/module/components/item/variants/index.js.map +1 -0
- package/dist/module/components/item/variants/muted.js +93 -0
- package/dist/module/components/item/variants/muted.js.map +1 -0
- package/dist/module/components/item/variants/outline.js +94 -0
- package/dist/module/components/item/variants/outline.js.map +1 -0
- package/dist/typescript/src/components/description-list/context.d.ts +8 -0
- package/dist/typescript/src/components/description-list/context.d.ts.map +1 -0
- package/dist/typescript/src/components/description-list/description-list-actions.d.ts +9 -0
- package/dist/typescript/src/components/description-list/description-list-actions.d.ts.map +1 -0
- package/dist/typescript/src/components/description-list/description-list-details.d.ts +9 -0
- package/dist/typescript/src/components/description-list/description-list-details.d.ts.map +1 -0
- package/dist/typescript/src/components/description-list/description-list-item.d.ts +9 -0
- package/dist/typescript/src/components/description-list/description-list-item.d.ts.map +1 -0
- package/dist/typescript/src/components/description-list/description-list-root.d.ts +11 -0
- package/dist/typescript/src/components/description-list/description-list-root.d.ts.map +1 -0
- package/dist/typescript/src/components/description-list/description-list-term.d.ts +10 -0
- package/dist/typescript/src/components/description-list/description-list-term.d.ts.map +1 -0
- package/dist/typescript/src/components/description-list/index.d.ts +19 -0
- package/dist/typescript/src/components/description-list/index.d.ts.map +1 -0
- package/dist/typescript/src/components/description-list/types.d.ts +14 -0
- package/dist/typescript/src/components/description-list/types.d.ts.map +1 -0
- package/dist/typescript/src/components/description-list/variants/default.d.ts +3 -0
- package/dist/typescript/src/components/description-list/variants/default.d.ts.map +1 -0
- package/dist/typescript/src/components/description-list/variants/index.d.ts +5 -0
- package/dist/typescript/src/components/description-list/variants/index.d.ts.map +1 -0
- package/dist/typescript/src/components/index.d.ts +2 -0
- package/dist/typescript/src/components/index.d.ts.map +1 -1
- package/dist/typescript/src/components/item/context.d.ts +9 -0
- package/dist/typescript/src/components/item/context.d.ts.map +1 -0
- package/dist/typescript/src/components/item/index.d.ts +22 -0
- package/dist/typescript/src/components/item/index.d.ts.map +1 -0
- package/dist/typescript/src/components/item/item-actions.d.ts +9 -0
- package/dist/typescript/src/components/item/item-actions.d.ts.map +1 -0
- package/dist/typescript/src/components/item/item-content.d.ts +9 -0
- package/dist/typescript/src/components/item/item-content.d.ts.map +1 -0
- package/dist/typescript/src/components/item/item-description.d.ts +11 -0
- package/dist/typescript/src/components/item/item-description.d.ts.map +1 -0
- package/dist/typescript/src/components/item/item-media.d.ts +10 -0
- package/dist/typescript/src/components/item/item-media.d.ts.map +1 -0
- package/dist/typescript/src/components/item/item-root.d.ts +12 -0
- package/dist/typescript/src/components/item/item-root.d.ts.map +1 -0
- package/dist/typescript/src/components/item/item-title.d.ts +11 -0
- package/dist/typescript/src/components/item/item-title.d.ts.map +1 -0
- package/dist/typescript/src/components/item/types.d.ts +17 -0
- package/dist/typescript/src/components/item/types.d.ts.map +1 -0
- package/dist/typescript/src/components/item/variants/default.d.ts +3 -0
- package/dist/typescript/src/components/item/variants/default.d.ts.map +1 -0
- package/dist/typescript/src/components/item/variants/index.d.ts +9 -0
- package/dist/typescript/src/components/item/variants/index.d.ts.map +1 -0
- package/dist/typescript/src/components/item/variants/muted.d.ts +3 -0
- package/dist/typescript/src/components/item/variants/muted.d.ts.map +1 -0
- package/dist/typescript/src/components/item/variants/outline.d.ts +3 -0
- package/dist/typescript/src/components/item/variants/outline.d.ts.map +1 -0
- package/dist/typescript/src/themes/types.d.ts +8 -0
- package/dist/typescript/src/themes/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/description-list/context.ts +17 -0
- package/src/components/description-list/description-list-actions.tsx +20 -0
- package/src/components/description-list/description-list-details.tsx +20 -0
- package/src/components/description-list/description-list-item.tsx +20 -0
- package/src/components/description-list/description-list-root.tsx +35 -0
- package/src/components/description-list/description-list-term.tsx +21 -0
- package/src/components/description-list/index.ts +20 -0
- package/src/components/description-list/types.ts +15 -0
- package/src/components/description-list/variants/default.tsx +50 -0
- package/src/components/description-list/variants/index.ts +5 -0
- package/src/components/index.ts +2 -0
- package/src/components/item/context.ts +18 -0
- package/src/components/item/index.ts +23 -0
- package/src/components/item/item-actions.tsx +20 -0
- package/src/components/item/item-content.tsx +20 -0
- package/src/components/item/item-description.tsx +27 -0
- package/src/components/item/item-media.tsx +22 -0
- package/src/components/item/item-root.tsx +38 -0
- package/src/components/item/item-title.tsx +22 -0
- package/src/components/item/types.ts +18 -0
- package/src/components/item/variants/default.tsx +71 -0
- package/src/components/item/variants/index.ts +9 -0
- package/src/components/item/variants/muted.tsx +73 -0
- package/src/components/item/variants/outline.tsx +74 -0
- package/src/themes/types.ts +8 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useThemedStyles } from "../../../utils/use-themed-styles.js";
|
|
4
|
+
const sizeConfig = {
|
|
5
|
+
default: {
|
|
6
|
+
padding: 12,
|
|
7
|
+
gap: 12,
|
|
8
|
+
iconBox: 40,
|
|
9
|
+
fontSize: 1,
|
|
10
|
+
descFontSize: 0.875
|
|
11
|
+
},
|
|
12
|
+
sm: {
|
|
13
|
+
padding: 8,
|
|
14
|
+
gap: 10,
|
|
15
|
+
iconBox: 32,
|
|
16
|
+
fontSize: 0.875,
|
|
17
|
+
descFontSize: 0.8125
|
|
18
|
+
},
|
|
19
|
+
xs: {
|
|
20
|
+
padding: 6,
|
|
21
|
+
gap: 8,
|
|
22
|
+
iconBox: 28,
|
|
23
|
+
fontSize: 0.8125,
|
|
24
|
+
descFontSize: 0.75
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
export function useItemVariantMuted(size = "default") {
|
|
28
|
+
const s = sizeConfig[size];
|
|
29
|
+
return useThemedStyles(({
|
|
30
|
+
colors,
|
|
31
|
+
radius,
|
|
32
|
+
fontFamily,
|
|
33
|
+
fontSize
|
|
34
|
+
}) => ({
|
|
35
|
+
root: {
|
|
36
|
+
default: {
|
|
37
|
+
flexDirection: "row",
|
|
38
|
+
alignItems: "center",
|
|
39
|
+
padding: s.padding,
|
|
40
|
+
gap: s.gap,
|
|
41
|
+
borderRadius: radius,
|
|
42
|
+
backgroundColor: colors.muted
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
media: {
|
|
46
|
+
default: {
|
|
47
|
+
alignItems: "center",
|
|
48
|
+
justifyContent: "center"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
mediaIcon: {
|
|
52
|
+
default: {
|
|
53
|
+
width: s.iconBox,
|
|
54
|
+
height: s.iconBox,
|
|
55
|
+
borderRadius: radius,
|
|
56
|
+
backgroundColor: colors.background,
|
|
57
|
+
alignItems: "center",
|
|
58
|
+
justifyContent: "center"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
content: {
|
|
62
|
+
default: {
|
|
63
|
+
flex: 1,
|
|
64
|
+
gap: 2
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
title: {
|
|
68
|
+
default: {
|
|
69
|
+
fontFamily,
|
|
70
|
+
fontSize: fontSize * s.fontSize,
|
|
71
|
+
lineHeight: Math.round(fontSize * s.fontSize * 1.3),
|
|
72
|
+
fontWeight: "500",
|
|
73
|
+
color: colors.foreground
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
description: {
|
|
77
|
+
default: {
|
|
78
|
+
fontFamily,
|
|
79
|
+
fontSize: fontSize * s.descFontSize,
|
|
80
|
+
lineHeight: Math.round(fontSize * s.descFontSize * 1.4),
|
|
81
|
+
color: colors.mutedForeground
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
actions: {
|
|
85
|
+
default: {
|
|
86
|
+
flexDirection: "row",
|
|
87
|
+
alignItems: "center",
|
|
88
|
+
gap: 8
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}));
|
|
92
|
+
}
|
|
93
|
+
//# sourceMappingURL=muted.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useThemedStyles","sizeConfig","default","padding","gap","iconBox","fontSize","descFontSize","sm","xs","useItemVariantMuted","size","s","colors","radius","fontFamily","root","flexDirection","alignItems","borderRadius","backgroundColor","muted","media","justifyContent","mediaIcon","width","height","background","content","flex","title","lineHeight","Math","round","fontWeight","color","foreground","description","mutedForeground","actions"],"sourceRoot":"../../../../../src","sources":["components/item/variants/muted.tsx"],"mappings":";;AAAA,SAASA,eAAe,QAAQ,qCAAkC;AAGlE,MAAMC,UAAU,GAAG;EACjBC,OAAO,EAAE;IAAEC,OAAO,EAAE,EAAE;IAAEC,GAAG,EAAE,EAAE;IAAEC,OAAO,EAAE,EAAE;IAAEC,QAAQ,EAAE,CAAC;IAAEC,YAAY,EAAE;EAAM,CAAC;EAChFC,EAAE,EAAE;IAAEL,OAAO,EAAE,CAAC;IAAEC,GAAG,EAAE,EAAE;IAAEC,OAAO,EAAE,EAAE;IAAEC,QAAQ,EAAE,KAAK;IAAEC,YAAY,EAAE;EAAO,CAAC;EAC/EE,EAAE,EAAE;IAAEN,OAAO,EAAE,CAAC;IAAEC,GAAG,EAAE,CAAC;IAAEC,OAAO,EAAE,EAAE;IAAEC,QAAQ,EAAE,MAAM;IAAEC,YAAY,EAAE;EAAK;AAC9E,CAAU;AAEV,OAAO,SAASG,mBAAmBA,CAACC,IAA6B,GAAG,SAAS,EAAc;EACzF,MAAMC,CAAC,GAAGX,UAAU,CAACU,IAAI,CAAC;EAE1B,OAAOX,eAAe,CACpB,CAAC;IAAEa,MAAM;IAAEC,MAAM;IAAEC,UAAU;IAAET;EAAS,CAAC,MAAkB;IACzDU,IAAI,EAAE;MACJd,OAAO,EAAE;QACPe,aAAa,EAAE,KAAK;QACpBC,UAAU,EAAE,QAAQ;QACpBf,OAAO,EAAES,CAAC,CAACT,OAAO;QAClBC,GAAG,EAAEQ,CAAC,CAACR,GAAG;QACVe,YAAY,EAAEL,MAAM;QACpBM,eAAe,EAAEP,M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
import { useThemedStyles } from "../../../utils/use-themed-styles.js";
|
|
4
|
+
const sizeConfig = {
|
|
5
|
+
default: {
|
|
6
|
+
padding: 12,
|
|
7
|
+
gap: 12,
|
|
8
|
+
iconBox: 40,
|
|
9
|
+
fontSize: 1,
|
|
10
|
+
descFontSize: 0.875
|
|
11
|
+
},
|
|
12
|
+
sm: {
|
|
13
|
+
padding: 8,
|
|
14
|
+
gap: 10,
|
|
15
|
+
iconBox: 32,
|
|
16
|
+
fontSize: 0.875,
|
|
17
|
+
descFontSize: 0.8125
|
|
18
|
+
},
|
|
19
|
+
xs: {
|
|
20
|
+
padding: 6,
|
|
21
|
+
gap: 8,
|
|
22
|
+
iconBox: 28,
|
|
23
|
+
fontSize: 0.8125,
|
|
24
|
+
descFontSize: 0.75
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
export function useItemVariantOutline(size = "default") {
|
|
28
|
+
const s = sizeConfig[size];
|
|
29
|
+
return useThemedStyles(({
|
|
30
|
+
colors,
|
|
31
|
+
radius,
|
|
32
|
+
fontFamily,
|
|
33
|
+
fontSize
|
|
34
|
+
}) => ({
|
|
35
|
+
root: {
|
|
36
|
+
default: {
|
|
37
|
+
flexDirection: "row",
|
|
38
|
+
alignItems: "center",
|
|
39
|
+
padding: s.padding,
|
|
40
|
+
gap: s.gap,
|
|
41
|
+
borderWidth: 1,
|
|
42
|
+
borderColor: colors.border,
|
|
43
|
+
borderRadius: radius
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
media: {
|
|
47
|
+
default: {
|
|
48
|
+
alignItems: "center",
|
|
49
|
+
justifyContent: "center"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
mediaIcon: {
|
|
53
|
+
default: {
|
|
54
|
+
width: s.iconBox,
|
|
55
|
+
height: s.iconBox,
|
|
56
|
+
borderRadius: radius,
|
|
57
|
+
backgroundColor: colors.muted,
|
|
58
|
+
alignItems: "center",
|
|
59
|
+
justifyContent: "center"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
content: {
|
|
63
|
+
default: {
|
|
64
|
+
flex: 1,
|
|
65
|
+
gap: 2
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
title: {
|
|
69
|
+
default: {
|
|
70
|
+
fontFamily,
|
|
71
|
+
fontSize: fontSize * s.fontSize,
|
|
72
|
+
lineHeight: Math.round(fontSize * s.fontSize * 1.3),
|
|
73
|
+
fontWeight: "500",
|
|
74
|
+
color: colors.foreground
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
description: {
|
|
78
|
+
default: {
|
|
79
|
+
fontFamily,
|
|
80
|
+
fontSize: fontSize * s.descFontSize,
|
|
81
|
+
lineHeight: Math.round(fontSize * s.descFontSize * 1.4),
|
|
82
|
+
color: colors.mutedForeground
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
actions: {
|
|
86
|
+
default: {
|
|
87
|
+
flexDirection: "row",
|
|
88
|
+
alignItems: "center",
|
|
89
|
+
gap: 8
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}));
|
|
93
|
+
}
|
|
94
|
+
//# sourceMappingURL=outline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useThemedStyles","sizeConfig","default","padding","gap","iconBox","fontSize","descFontSize","sm","xs","useItemVariantOutline","size","s","colors","radius","fontFamily","root","flexDirection","alignItems","borderWidth","borderColor","border","borderRadius","media","justifyContent","mediaIcon","width","height","backgroundColor","muted","content","flex","title","lineHeight","Math","round","fontWeight","color","foreground","description","mutedForeground","actions"],"sourceRoot":"../../../../../src","sources":["components/item/variants/outline.tsx"],"mappings":";;AAAA,SAASA,eAAe,QAAQ,qCAAkC;AAGlE,MAAMC,UAAU,GAAG;EACjBC,OAAO,EAAE;IAAEC,OAAO,EAAE,EAAE;IAAEC,GAAG,EAAE,EAAE;IAAEC,OAAO,EAAE,EAAE;IAAEC,QAAQ,EAAE,CAAC;IAAEC,YAAY,EAAE;EAAM,CA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;IACD4B,KAAK,EAAE;MACL9B,OAAO,EAAE;QACPa,UAAU;QACVT,QAAQ,EAAEA,QAAQ,GAAGM,CAAC,CAACN,QAAQ;QAC/B2B,UAAU,EAAEC,IAAI,CAACC,KAAK,CAAC7B,QAAQ,GAAGM,CAAC,CAACN,QAAQ,GAAG,GAAG,CAAC;QACnD8B,UAAU,EAAE,KAAK;QACjBC,KAAK,EAAExB,MAAM,CAACyB;MAChB;IACF,CAAC;IACDC,WAAW,EAAE;MACXrC,OAAO,EAAE;QACPa,UAAU;QACVT,QAAQ,EAAEA,QAAQ,GAAGM,CAAC,CAACL,YAAY;QACnC0B,UAAU,EAAEC,IAAI,CAACC,KAAK,CAAC7B,QAAQ,GAAGM,CAAC,CAACL,YAAY,GAAG,GAAG,CAAC;QACvD8B,KAAK,EAAExB,MAAM,CAAC2B;MAChB;IACF,CAAC;IACDC,OAAO,EAAE;MACPvC,OAAO,EAAE;QACPe,aAAa,EAAE,KAAK;QACpBC,UAAU,EAAE,QAAQ;QACpBd,GAAG,EAAE;MACP;IACF;EACF,CAAC,CACH,CAAC;AACH","ignoreList":[]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { DescriptionListState, DescriptionListStyles } from "./types";
|
|
2
|
+
export interface DescriptionListContext {
|
|
3
|
+
state: DescriptionListState;
|
|
4
|
+
styles?: DescriptionListStyles;
|
|
5
|
+
}
|
|
6
|
+
export declare const DescriptionListContext: import("react").Context<DescriptionListContext | undefined>;
|
|
7
|
+
export declare const useDescriptionList: () => DescriptionListContext;
|
|
8
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/components/description-list/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAE3E,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,oBAAoB,CAAC;IAC5B,MAAM,CAAC,EAAE,qBAAqB,CAAC;CAChC;AAED,eAAO,MAAM,sBAAsB,6DAA+D,CAAC;AAEnG,eAAO,MAAM,kBAAkB,8BAM9B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type StyleProp, type ViewStyle } from "react-native";
|
|
3
|
+
import type { PropsWithRender } from "../../types/props.types";
|
|
4
|
+
export interface DescriptionListActionsProps {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
style?: StyleProp<ViewStyle>;
|
|
7
|
+
}
|
|
8
|
+
export declare function DescriptionListActions(props: PropsWithRender<DescriptionListActionsProps>): React.JSX.Element;
|
|
9
|
+
//# sourceMappingURL=description-list-actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"description-list-actions.d.ts","sourceRoot":"","sources":["../../../../../src/components/description-list/description-list-actions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI/D,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,eAAe,CAAC,2BAA2B,CAAC,qBAOzF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type StyleProp, type TextStyle } from "react-native";
|
|
3
|
+
import type { PropsWithRender } from "../../types/props.types";
|
|
4
|
+
export interface DescriptionListDetailsProps {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
style?: StyleProp<TextStyle>;
|
|
7
|
+
}
|
|
8
|
+
export declare function DescriptionListDetails(props: PropsWithRender<DescriptionListDetailsProps>): React.JSX.Element;
|
|
9
|
+
//# sourceMappingURL=description-list-details.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"description-list-details.d.ts","sourceRoot":"","sources":["../../../../../src/components/description-list/description-list-details.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI/D,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,eAAe,CAAC,2BAA2B,CAAC,qBAOzF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type StyleProp, type ViewStyle } from "react-native";
|
|
3
|
+
import type { PropsWithRender } from "../../types/props.types";
|
|
4
|
+
export interface DescriptionListItemProps {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
style?: StyleProp<ViewStyle>;
|
|
7
|
+
}
|
|
8
|
+
export declare function DescriptionListItem(props: PropsWithRender<DescriptionListItemProps>): React.JSX.Element;
|
|
9
|
+
//# sourceMappingURL=description-list-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"description-list-item.d.ts","sourceRoot":"","sources":["../../../../../src/components/description-list/description-list-item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI/D,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,eAAe,CAAC,wBAAwB,CAAC,qBAOnF"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type StyleProp, type ViewStyle } from "react-native";
|
|
3
|
+
import type { PropsWithRender } from "../../types/props.types";
|
|
4
|
+
import { DescriptionListVariants } from "./variants";
|
|
5
|
+
export interface DescriptionListRootProps {
|
|
6
|
+
variant?: keyof typeof DescriptionListVariants;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
style?: StyleProp<ViewStyle>;
|
|
9
|
+
}
|
|
10
|
+
export declare function DescriptionListRoot(props: PropsWithRender<DescriptionListRootProps>): React.JSX.Element;
|
|
11
|
+
//# sourceMappingURL=description-list-root.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"description-list-root.d.ts","sourceRoot":"","sources":["../../../../../src/components/description-list/description-list-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAErD,MAAM,WAAW,wBAAwB;IACvC,OAAO,CAAC,EAAE,MAAM,OAAO,uBAAuB,CAAC;IAC/C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,eAAe,CAAC,wBAAwB,CAAC,qBAmBnF"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type StyleProp, type TextStyle } from "react-native";
|
|
3
|
+
import type { TextChildren } from "../../types/element.types";
|
|
4
|
+
import type { PropsWithRender } from "../../types/props.types";
|
|
5
|
+
export interface DescriptionListTermProps {
|
|
6
|
+
children?: TextChildren;
|
|
7
|
+
style?: StyleProp<TextStyle>;
|
|
8
|
+
}
|
|
9
|
+
export declare function DescriptionListTerm(props: PropsWithRender<DescriptionListTermProps>): React.JSX.Element;
|
|
10
|
+
//# sourceMappingURL=description-list-term.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"description-list-term.d.ts","sourceRoot":"","sources":["../../../../../src/components/description-list/description-list-term.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI/D,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,YAAY,CAAC;IAExB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,eAAe,CAAC,wBAAwB,CAAC,qBAOnF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DescriptionListActions } from "./description-list-actions";
|
|
2
|
+
import { DescriptionListDetails } from "./description-list-details";
|
|
3
|
+
import { DescriptionListItem } from "./description-list-item";
|
|
4
|
+
import { DescriptionListRoot } from "./description-list-root";
|
|
5
|
+
import { DescriptionListTerm } from "./description-list-term";
|
|
6
|
+
export declare const DescriptionList: {
|
|
7
|
+
Root: typeof DescriptionListRoot;
|
|
8
|
+
Item: typeof DescriptionListItem;
|
|
9
|
+
Term: typeof DescriptionListTerm;
|
|
10
|
+
Details: typeof DescriptionListDetails;
|
|
11
|
+
Actions: typeof DescriptionListActions;
|
|
12
|
+
};
|
|
13
|
+
export type { DescriptionListRootProps } from "./description-list-root";
|
|
14
|
+
export type { DescriptionListItemProps } from "./description-list-item";
|
|
15
|
+
export type { DescriptionListTermProps } from "./description-list-term";
|
|
16
|
+
export type { DescriptionListDetailsProps } from "./description-list-details";
|
|
17
|
+
export type { DescriptionListActionsProps } from "./description-list-actions";
|
|
18
|
+
export type { DescriptionListStyles } from "./types";
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/description-list/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,eAAO,MAAM,eAAe;;;;;;CAM3B,CAAC;AAEF,YAAY,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACxE,YAAY,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACxE,YAAY,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACxE,YAAY,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAC9E,YAAY,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAC9E,YAAY,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DescriptionListRootProps } from "./description-list-root";
|
|
2
|
+
import type { DescriptionListItemProps } from "./description-list-item";
|
|
3
|
+
import type { DescriptionListTermProps } from "./description-list-term";
|
|
4
|
+
import type { DescriptionListDetailsProps } from "./description-list-details";
|
|
5
|
+
import type { DescriptionListActionsProps } from "./description-list-actions";
|
|
6
|
+
export type DescriptionListState = "default";
|
|
7
|
+
export interface DescriptionListStyles {
|
|
8
|
+
root?: Partial<Record<DescriptionListState, DescriptionListRootProps["style"]>>;
|
|
9
|
+
item?: Partial<Record<DescriptionListState, DescriptionListItemProps["style"]>>;
|
|
10
|
+
term?: Partial<Record<DescriptionListState, DescriptionListTermProps["style"]>>;
|
|
11
|
+
details?: Partial<Record<DescriptionListState, DescriptionListDetailsProps["style"]>>;
|
|
12
|
+
actions?: Partial<Record<DescriptionListState, DescriptionListActionsProps["style"]>>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/description-list/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAE9E,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC;AAE7C,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,oBAAoB,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAChF,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,oBAAoB,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAChF,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,oBAAoB,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAChF,OAAO,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,oBAAoB,EAAE,2BAA2B,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IACtF,OAAO,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,oBAAoB,EAAE,2BAA2B,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;CACvF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/description-list/variants/default.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,wBAAgB,gCAAgC,IAAI,qBAAqB,CA8CxE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/description-list/variants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,WAAW,CAAC;AAE7D,eAAO,MAAM,uBAAuB;;CAEnC,CAAC"}
|
|
@@ -7,12 +7,14 @@ export * from "./calendar";
|
|
|
7
7
|
export * from "./card";
|
|
8
8
|
export * from "./checkbox";
|
|
9
9
|
export * from "./combobox";
|
|
10
|
+
export * from "./description-list";
|
|
10
11
|
export * from "./empty";
|
|
11
12
|
export * from "./field";
|
|
12
13
|
export * from "./full-screen-spinner";
|
|
13
14
|
export * from "./icon";
|
|
14
15
|
export * from "./icon-button";
|
|
15
16
|
export * from "./input";
|
|
17
|
+
export * from "./item";
|
|
16
18
|
export * from "./link";
|
|
17
19
|
export * from "./list";
|
|
18
20
|
export * from "./menu";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAg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CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ItemState, ItemStyles } from "./types";
|
|
2
|
+
export interface ItemContext {
|
|
3
|
+
state: ItemState;
|
|
4
|
+
styles?: ItemStyles;
|
|
5
|
+
size: "default" | "sm" | "xs";
|
|
6
|
+
}
|
|
7
|
+
export declare const ItemContext: import("react").Context<ItemContext | undefined>;
|
|
8
|
+
export declare const useItem: () => ItemContext;
|
|
9
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/components/item/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,IAAI,EAAE,SAAS,GAAG,IAAI,GAAG,IAAI,CAAC;CAC/B;AAED,eAAO,MAAM,WAAW,kDAAoD,CAAC;AAE7E,eAAO,MAAM,OAAO,mBAMnB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ItemActions } from "./item-actions";
|
|
2
|
+
import { ItemContent } from "./item-content";
|
|
3
|
+
import { ItemDescription } from "./item-description";
|
|
4
|
+
import { ItemMedia } from "./item-media";
|
|
5
|
+
import { ItemRoot } from "./item-root";
|
|
6
|
+
import { ItemTitle } from "./item-title";
|
|
7
|
+
export declare const Item: {
|
|
8
|
+
Root: typeof ItemRoot;
|
|
9
|
+
Media: typeof ItemMedia;
|
|
10
|
+
Content: typeof ItemContent;
|
|
11
|
+
Title: typeof ItemTitle;
|
|
12
|
+
Description: typeof ItemDescription;
|
|
13
|
+
Actions: typeof ItemActions;
|
|
14
|
+
};
|
|
15
|
+
export type { ItemRootProps } from "./item-root";
|
|
16
|
+
export type { ItemMediaProps } from "./item-media";
|
|
17
|
+
export type { ItemContentProps } from "./item-content";
|
|
18
|
+
export type { ItemTitleProps } from "./item-title";
|
|
19
|
+
export type { ItemDescriptionProps } from "./item-description";
|
|
20
|
+
export type { ItemActionsProps } from "./item-actions";
|
|
21
|
+
export type { ItemStyles } from "./types";
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/item/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,eAAO,MAAM,IAAI;;;;;;;CAOhB,CAAC;AAEF,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,YAAY,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type StyleProp, type ViewStyle } from "react-native";
|
|
3
|
+
import type { PropsWithRender } from "../../types/props.types";
|
|
4
|
+
export interface ItemActionsProps {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
style?: StyleProp<ViewStyle>;
|
|
7
|
+
}
|
|
8
|
+
export declare function ItemActions(props: PropsWithRender<ItemActionsProps>): React.JSX.Element;
|
|
9
|
+
//# sourceMappingURL=item-actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-actions.d.ts","sourceRoot":"","sources":["../../../../../src/components/item/item-actions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI/D,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,eAAe,CAAC,gBAAgB,CAAC,qBAOnE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type StyleProp, type ViewStyle } from "react-native";
|
|
3
|
+
import type { PropsWithRender } from "../../types/props.types";
|
|
4
|
+
export interface ItemContentProps {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
style?: StyleProp<ViewStyle>;
|
|
7
|
+
}
|
|
8
|
+
export declare function ItemContent(props: PropsWithRender<ItemContentProps>): React.JSX.Element;
|
|
9
|
+
//# sourceMappingURL=item-content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-content.d.ts","sourceRoot":"","sources":["../../../../../src/components/item/item-content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI/D,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,eAAe,CAAC,gBAAgB,CAAC,qBAOnE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type StyleProp, type TextStyle } from "react-native";
|
|
3
|
+
import type { TextChildren } from "../../types/element.types";
|
|
4
|
+
import type { PropsWithRender } from "../../types/props.types";
|
|
5
|
+
export interface ItemDescriptionProps {
|
|
6
|
+
children?: TextChildren;
|
|
7
|
+
numberOfLines?: number;
|
|
8
|
+
style?: StyleProp<TextStyle>;
|
|
9
|
+
}
|
|
10
|
+
export declare function ItemDescription(props: PropsWithRender<ItemDescriptionProps>): React.JSX.Element;
|
|
11
|
+
//# sourceMappingURL=item-description.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-description.d.ts","sourceRoot":"","sources":["../../../../../src/components/item/item-description.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI/D,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,eAAe,CAAC,oBAAoB,CAAC,qBAY3E"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type StyleProp, type ViewStyle } from "react-native";
|
|
3
|
+
import type { PropsWithRender } from "../../types/props.types";
|
|
4
|
+
export interface ItemMediaProps {
|
|
5
|
+
variant?: "default" | "icon";
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
style?: StyleProp<ViewStyle>;
|
|
8
|
+
}
|
|
9
|
+
export declare function ItemMedia(props: PropsWithRender<ItemMediaProps>): React.JSX.Element;
|
|
10
|
+
//# sourceMappingURL=item-media.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-media.d.ts","sourceRoot":"","sources":["../../../../../src/components/item/item-media.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI/D,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,eAAe,CAAC,cAAc,CAAC,qBAQ/D"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type StyleProp, type ViewStyle } from "react-native";
|
|
3
|
+
import type { PropsWithRender } from "../../types/props.types";
|
|
4
|
+
import { ItemVariants } from "./variants";
|
|
5
|
+
export interface ItemRootProps {
|
|
6
|
+
variant?: keyof typeof ItemVariants;
|
|
7
|
+
size?: "default" | "sm" | "xs";
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
style?: StyleProp<ViewStyle>;
|
|
10
|
+
}
|
|
11
|
+
export declare function ItemRoot(props: PropsWithRender<ItemRootProps>): React.JSX.Element;
|
|
12
|
+
//# sourceMappingURL=item-root.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-root.d.ts","sourceRoot":"","sources":["../../../../../src/components/item/item-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG/D,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;IACpC,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,GAAG,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAC,aAAa,CAAC,qBAqB7D"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type StyleProp, type TextStyle } from "react-native";
|
|
3
|
+
import type { TextChildren } from "../../types/element.types";
|
|
4
|
+
import type { PropsWithRender } from "../../types/props.types";
|
|
5
|
+
export interface ItemTitleProps {
|
|
6
|
+
children?: TextChildren;
|
|
7
|
+
numberOfLines?: number;
|
|
8
|
+
style?: StyleProp<TextStyle>;
|
|
9
|
+
}
|
|
10
|
+
export declare function ItemTitle(props: PropsWithRender<ItemTitleProps>): React.JSX.Element;
|
|
11
|
+
//# sourceMappingURL=item-title.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-title.d.ts","sourceRoot":"","sources":["../../../../../src/components/item/item-title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI/D,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,eAAe,CAAC,cAAc,CAAC,qBAO/D"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ItemRootProps } from "./item-root";
|
|
2
|
+
import type { ItemMediaProps } from "./item-media";
|
|
3
|
+
import type { ItemContentProps } from "./item-content";
|
|
4
|
+
import type { ItemTitleProps } from "./item-title";
|
|
5
|
+
import type { ItemDescriptionProps } from "./item-description";
|
|
6
|
+
import type { ItemActionsProps } from "./item-actions";
|
|
7
|
+
export type ItemState = "default";
|
|
8
|
+
export interface ItemStyles {
|
|
9
|
+
root?: Partial<Record<ItemState, ItemRootProps["style"]>>;
|
|
10
|
+
media?: Partial<Record<ItemState, ItemMediaProps["style"]>>;
|
|
11
|
+
mediaIcon?: Partial<Record<ItemState, ItemMediaProps["style"]>>;
|
|
12
|
+
content?: Partial<Record<ItemState, ItemContentProps["style"]>>;
|
|
13
|
+
title?: Partial<Record<ItemState, ItemTitleProps["style"]>>;
|
|
14
|
+
description?: Partial<Record<ItemState, ItemDescriptionProps["style"]>>;
|
|
15
|
+
actions?: Partial<Record<ItemState, ItemActionsProps["style"]>>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/item/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,MAAM,MAAM,SAAS,GAAG,SAAS,CAAC;AAElC,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAC1D,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAC5D,SAAS,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAChE,OAAO,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAChE,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAC5D,WAAW,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IACxE,OAAO,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;CACjE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/item/variants/default.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAQ3C,wBAAgB,qBAAqB,CAAC,IAAI,GAAE,SAAS,GAAG,IAAI,GAAG,IAAgB,GAAG,UAAU,CA6D3F"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { useItemVariantDefault } from "./default";
|
|
2
|
+
import { useItemVariantMuted } from "./muted";
|
|
3
|
+
import { useItemVariantOutline } from "./outline";
|
|
4
|
+
export declare const ItemVariants: {
|
|
5
|
+
default: typeof useItemVariantDefault;
|
|
6
|
+
outline: typeof useItemVariantOutline;
|
|
7
|
+
muted: typeof useItemVariantMuted;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/item/variants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAElD,eAAO,MAAM,YAAY;;;;CAIxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"muted.d.ts","sourceRoot":"","sources":["../../../../../../src/components/item/variants/muted.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAQ3C,wBAAgB,mBAAmB,CAAC,IAAI,GAAE,SAAS,GAAG,IAAI,GAAG,IAAgB,GAAG,UAAU,CA+DzF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"outline.d.ts","sourceRoot":"","sources":["../../../../../../src/components/item/variants/outline.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAQ3C,wBAAgB,qBAAqB,CAAC,IAAI,GAAE,SAAS,GAAG,IAAI,GAAG,IAAgB,GAAG,UAAU,CAgE3F"}
|