@ledgerhq/lumen-ui-rnative 0.1.9 → 0.1.11
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/AmountInput/AmountInput.js +16 -10
- package/dist/module/lib/Components/AmountInput/AmountInput.js.map +1 -1
- package/dist/module/lib/Components/BaseInput/BaseInput.js +15 -8
- package/dist/module/lib/Components/BaseInput/BaseInput.js.map +1 -1
- package/dist/module/lib/Components/Button/BaseButton.js +8 -1
- package/dist/module/lib/Components/Button/BaseButton.js.map +1 -1
- package/dist/module/lib/Components/Card/Card.js +45 -49
- package/dist/module/lib/Components/Card/Card.js.map +1 -1
- package/dist/module/lib/Components/CardButton/CardButton.js +8 -1
- package/dist/module/lib/Components/CardButton/CardButton.js.map +1 -1
- package/dist/module/lib/Components/Checkbox/Checkbox.js +8 -1
- package/dist/module/lib/Components/Checkbox/Checkbox.js.map +1 -1
- package/dist/module/lib/Components/InteractiveIcon/InteractiveIcon.js +10 -3
- package/dist/module/lib/Components/InteractiveIcon/InteractiveIcon.js.map +1 -1
- package/dist/module/lib/Components/Label/Label.js +9 -2
- package/dist/module/lib/Components/Label/Label.js.map +1 -1
- package/dist/module/lib/Components/ListItem/ListItem.js +14 -19
- package/dist/module/lib/Components/ListItem/ListItem.js.map +1 -1
- package/dist/module/lib/Components/SegmentedControl/SegmentedControl.js +8 -1
- package/dist/module/lib/Components/SegmentedControl/SegmentedControl.js.map +1 -1
- package/dist/module/lib/Components/Select/Select.js +8 -1
- package/dist/module/lib/Components/Select/Select.js.map +1 -1
- package/dist/module/lib/Components/Spot/Spot.js +4 -4
- package/dist/module/lib/Components/Spot/Spot.js.map +1 -1
- package/dist/module/lib/Components/Stepper/Stepper.js +9 -3
- package/dist/module/lib/Components/Stepper/Stepper.js.map +1 -1
- package/dist/module/lib/Components/Subheader/Subheader.js +1 -34
- package/dist/module/lib/Components/Subheader/Subheader.js.map +1 -1
- package/dist/module/lib/Components/Subheader/Subheader.mdx +26 -61
- package/dist/module/lib/Components/Subheader/Subheader.stories.js +23 -12
- package/dist/module/lib/Components/Subheader/Subheader.stories.js.map +1 -1
- package/dist/module/lib/Components/Subheader/Subheader.test.js +2 -26
- package/dist/module/lib/Components/Subheader/Subheader.test.js.map +1 -1
- package/dist/module/lib/Components/Subheader/index.js +1 -1
- package/dist/module/lib/Components/Subheader/index.js.map +1 -1
- package/dist/module/lib/Components/Switch/Switch.js +8 -1
- package/dist/module/lib/Components/Switch/Switch.js.map +1 -1
- package/dist/module/lib/Components/TabBar/TabBar.js +4 -3
- package/dist/module/lib/Components/TabBar/TabBar.js.map +1 -1
- package/dist/module/lib/Components/Tag/Tag.js +9 -2
- package/dist/module/lib/Components/Tag/Tag.js.map +1 -1
- package/dist/module/lib/Components/Tile/Tile.js +27 -48
- package/dist/module/lib/Components/Tile/Tile.js.map +1 -1
- package/dist/module/lib/Components/Tile/Tile.mdx +34 -26
- package/dist/module/lib/Components/Tile/Tile.stories.js +31 -28
- package/dist/module/lib/Components/Tile/Tile.stories.js.map +1 -1
- package/dist/module/lib/Components/Tile/Tile.test.js +33 -188
- package/dist/module/lib/Components/Tile/Tile.test.js.map +1 -1
- package/dist/module/lib/Components/Tile/index.js +1 -1
- package/dist/module/lib/Components/Tile/index.js.map +1 -1
- package/dist/module/lib/Components/TileButton/TileButton.js +8 -2
- package/dist/module/lib/Components/TileButton/TileButton.js.map +1 -1
- package/dist/typescript/src/lib/Components/AmountInput/AmountInput.d.ts +1 -1
- package/dist/typescript/src/lib/Components/AmountInput/AmountInput.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BaseInput/BaseInput.d.ts +1 -1
- package/dist/typescript/src/lib/Components/BaseInput/BaseInput.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Button/BaseButton.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Button/BaseButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Card/Card.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Card/types.d.ts +1 -3
- package/dist/typescript/src/lib/Components/Card/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/CardButton/CardButton.d.ts +1 -1
- package/dist/typescript/src/lib/Components/CardButton/CardButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/InteractiveIcon/InteractiveIcon.d.ts +1 -1
- package/dist/typescript/src/lib/Components/InteractiveIcon/InteractiveIcon.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/InteractiveIcon/types.d.ts +6 -1
- package/dist/typescript/src/lib/Components/InteractiveIcon/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Label/Label.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Label/Label.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ListItem/ListItem.d.ts +1 -1
- package/dist/typescript/src/lib/Components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/typescript/src/lib/Components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/SegmentedControl/SegmentedControlContext.d.ts +1 -1
- package/dist/typescript/src/lib/Components/SegmentedControl/SegmentedControlContext.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Select/Select.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Select/Select.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Stepper/Stepper.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Stepper/Stepper.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Subheader/Subheader.d.ts +2 -7
- package/dist/typescript/src/lib/Components/Subheader/Subheader.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Subheader/index.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Subheader/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Subheader/types.d.ts +1 -11
- package/dist/typescript/src/lib/Components/Subheader/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Switch/Switch.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Switch/Switch.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/TabBar/TabBar.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tag/Tag.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Tag/Tag.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tile/Tile.d.ts +17 -23
- package/dist/typescript/src/lib/Components/Tile/Tile.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tile/index.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Tile/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tile/types.d.ts +0 -9
- package/dist/typescript/src/lib/Components/Tile/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/TileButton/TileButton.d.ts +1 -1
- package/dist/typescript/src/lib/Components/TileButton/TileButton.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/lib/Components/AmountInput/AmountInput.tsx +15 -7
- package/src/lib/Components/BaseInput/BaseInput.tsx +12 -7
- package/src/lib/Components/Button/BaseButton.tsx +6 -1
- package/src/lib/Components/Card/Card.tsx +45 -50
- package/src/lib/Components/Card/types.ts +1 -4
- package/src/lib/Components/CardButton/CardButton.tsx +7 -1
- package/src/lib/Components/Checkbox/Checkbox.tsx +7 -1
- package/src/lib/Components/InteractiveIcon/InteractiveIcon.tsx +8 -3
- package/src/lib/Components/InteractiveIcon/types.ts +6 -1
- package/src/lib/Components/Label/Label.tsx +7 -2
- package/src/lib/Components/ListItem/ListItem.tsx +15 -12
- package/src/lib/Components/SegmentedControl/SegmentedControl.tsx +6 -1
- package/src/lib/Components/SegmentedControl/SegmentedControlContext.tsx +1 -1
- package/src/lib/Components/Select/Select.tsx +6 -1
- package/src/lib/Components/Spot/Spot.tsx +4 -4
- package/src/lib/Components/Stepper/Stepper.tsx +9 -2
- package/src/lib/Components/Subheader/Subheader.mdx +26 -61
- package/src/lib/Components/Subheader/Subheader.stories.tsx +16 -10
- package/src/lib/Components/Subheader/Subheader.test.tsx +0 -22
- package/src/lib/Components/Subheader/Subheader.tsx +1 -42
- package/src/lib/Components/Subheader/index.ts +0 -1
- package/src/lib/Components/Subheader/types.ts +1 -16
- package/src/lib/Components/Switch/Switch.tsx +6 -1
- package/src/lib/Components/TabBar/TabBar.tsx +5 -2
- package/src/lib/Components/Tag/Tag.tsx +7 -2
- package/src/lib/Components/Tile/Tile.mdx +34 -26
- package/src/lib/Components/Tile/Tile.stories.tsx +26 -26
- package/src/lib/Components/Tile/Tile.test.tsx +17 -137
- package/src/lib/Components/Tile/Tile.tsx +28 -40
- package/src/lib/Components/Tile/index.ts +0 -1
- package/src/lib/Components/Tile/types.ts +0 -11
- package/src/lib/Components/TileButton/TileButton.tsx +9 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
export { Tile,
|
|
3
|
+
export { Tile, TileContent, TileTitle, TileDescription, TileTrailingContent } from "./Tile.js";
|
|
4
4
|
export * from "./types.js";
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Tile","
|
|
1
|
+
{"version":3,"names":["Tile","TileContent","TileTitle","TileDescription","TileTrailingContent"],"sourceRoot":"../../../../../src","sources":["lib/Components/Tile/index.ts"],"mappings":";;AAAA,SACEA,IAAI,EACJC,WAAW,EACXC,SAAS,EACTC,eAAe,EACfC,mBAAmB,QACd,WAAQ;AACf,cAAc,YAAS","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { isTextChildren } from '@ledgerhq/lumen-utils-shared';
|
|
3
|
+
import { isTextChildren, useDisabledContext } from '@ledgerhq/lumen-utils-shared';
|
|
4
4
|
import { StyleSheet, View } from 'react-native';
|
|
5
5
|
import { useStyleSheet } from "../../../styles/index.js";
|
|
6
6
|
import { Pressable, Text } from "../Utility/index.js";
|
|
@@ -66,11 +66,17 @@ export const TileButton = ({
|
|
|
66
66
|
style,
|
|
67
67
|
icon: IconProp,
|
|
68
68
|
children,
|
|
69
|
-
disabled = false,
|
|
69
|
+
disabled: disabledProp = false,
|
|
70
70
|
isFull = false,
|
|
71
71
|
numberOfLines = 2,
|
|
72
72
|
...props
|
|
73
73
|
}) => {
|
|
74
|
+
const disabled = useDisabledContext({
|
|
75
|
+
consumerName: 'TileButton',
|
|
76
|
+
mergeWith: {
|
|
77
|
+
disabled: disabledProp
|
|
78
|
+
}
|
|
79
|
+
});
|
|
74
80
|
const rootStyles = useRootStyles({
|
|
75
81
|
isFull
|
|
76
82
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["isTextChildren","StyleSheet","View","useStyleSheet","Pressable","Text","jsx","_jsx","jsxs","_jsxs","ICON_SIZE","useRootStyles","isFull","t","root","width","sizes","full","useStyles","disabled","pressed","container","flatten","flexDirection","alignItems","justifyContent","gap","spacings","s8","padding","s12","borderRadius","md","backgroundColor","colors","bg","surface","surfacePressed","label","typographies","body2SemiBold","textAlign","color","text","base","icon","flexShrink","TileButton","lx","style","IconProp","children","numberOfLines","props","rootStyles","accessibilityRole","accessibilityState","TileButtonContent","styles","testID","size","displayName"],"sourceRoot":"../../../../../src","sources":["lib/Components/TileButton/TileButton.tsx"],"mappings":";;AAAA,
|
|
1
|
+
{"version":3,"names":["isTextChildren","useDisabledContext","StyleSheet","View","useStyleSheet","Pressable","Text","jsx","_jsx","jsxs","_jsxs","ICON_SIZE","useRootStyles","isFull","t","root","width","sizes","full","useStyles","disabled","pressed","container","flatten","flexDirection","alignItems","justifyContent","gap","spacings","s8","padding","s12","borderRadius","md","backgroundColor","colors","bg","surface","surfacePressed","label","typographies","body2SemiBold","textAlign","color","text","base","icon","flexShrink","TileButton","lx","style","IconProp","children","disabledProp","numberOfLines","props","consumerName","mergeWith","rootStyles","accessibilityRole","accessibilityState","TileButtonContent","styles","testID","size","displayName"],"sourceRoot":"../../../../../src","sources":["lib/Components/TileButton/TileButton.tsx"],"mappings":";;AAAA,SACEA,cAAc,EACdC,kBAAkB,QACb,8BAA8B;AAErC,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,aAAa,QAAQ,0BAAiB;AAE/C,SAASC,SAAS,EAAEC,IAAI,QAAQ,qBAAY;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAG7C,MAAMC,SAAmB,GAAG,EAAE;AAE9B,MAAMC,aAAa,GAAGA,CAAC;EAAEC;AAA4B,CAAC,KAAK;EACzD,OAAOT,aAAa,CACjBU,CAAC,KAAM;IACNC,IAAI,EAAE;MACJC,KAAK,EAAEH,MAAM,GAAGC,CAAC,CAACG,KAAK,CAACC,IAAI,GAAG;IACjC;EACF,CAAC,CAAC,EACF,CAACL,MAAM,CACT,CAAC;AACH,CAAC;AAED,MAAMM,SAAS,GAAGA,CAAC;EACjBC,QAAQ;EACRC,OAAO;EACPR;AAKF,CAAC,KAAK;EACJ,OAAOT,aAAa,CACjBU,CAAC,KAAM;IACNQ,SAAS,EAAEpB,UAAU,CAACqB,OAAO,CAAC,CAC5B;MACEC,aAAa,EAAE,QAAQ;MACvBC,UAAU,EAAE,QAAQ;MACpBC,cAAc,EAAE,QAAQ;MACxBC,GAAG,EAAEb,CAAC,CAACc,QAAQ,CAACC,EAAE;MAClBC,OAAO,EAAEhB,CAAC,CAACc,QAAQ,CAACG,GAAG;MACvBC,YAAY,EAAElB,CAAC,CAACkB,YAAY,CAACC,EAAE;MAC/BC,eAAe,EAAEpB,CAAC,CAACqB,MAAM,CAACC,EAAE,CAACC;IAC/B,CAAC,EACDxB,MAAM,IAAI;MAAEG,KAAK,EAAEF,CAAC,CAACG,KAAK,CAACC;IAAK,CAAC,EACjCG,OAAO,I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AAG,YAAY","ignoreList":[]}
|
|
@@ -5,7 +5,7 @@ import { type AmountInputProps } from './types';
|
|
|
5
5
|
* The currency text can be positioned either on the left or right side of the input.
|
|
6
6
|
*/
|
|
7
7
|
export declare const AmountInput: {
|
|
8
|
-
({ lx, style, currencyText, currencyPosition, editable, maxIntegerLength, maxDecimalLength, allowDecimals, thousandsSeparator, value, onChangeText, isInvalid, ref, ...props }: AmountInputProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
({ lx, style, currencyText, currencyPosition, editable: editableProp, maxIntegerLength, maxDecimalLength, allowDecimals, thousandsSeparator, value, onChangeText, isInvalid, ref, ...props }: AmountInputProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
//# sourceMappingURL=AmountInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmountInput.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/AmountInput/AmountInput.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AmountInput.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/AmountInput/AmountInput.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,WAAW;kMAerB,gBAAgB;;CA8IlB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type BaseInputProps } from './types';
|
|
2
2
|
export declare const BaseInput: {
|
|
3
|
-
({ lx, style, containerStyle, inputStyle, labelStyle, label, errorMessage, hideClearButton, onChangeText: onChangeTextProp, editable, prefix, suffix, ref, ...props }: BaseInputProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
({ lx, style, containerStyle, inputStyle, labelStyle, label, errorMessage, hideClearButton, onChangeText: onChangeTextProp, editable: editableProp, prefix, suffix, ref, ...props }: BaseInputProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=BaseInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseInput.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/BaseInput/BaseInput.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseInput.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/BaseInput/BaseInput.tsx"],"names":[],"mappings":"AAuBA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,eAAO,MAAM,SAAS;yLAenB,cAAc;;CA0HhB,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { BaseButtonProps } from './types';
|
|
|
5
5
|
* @default size 'md'
|
|
6
6
|
*/
|
|
7
7
|
export declare const BaseButton: {
|
|
8
|
-
({ lx, style, children, appearance, size, isFull, loading, icon: IconProp, disabled, ref, ...props }: BaseButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
({ lx, style, children, appearance, size, isFull, loading, icon: IconProp, disabled: disabledProp, ref, ...props }: BaseButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
//# sourceMappingURL=BaseButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseButton.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Button/BaseButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseButton.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Button/BaseButton.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAiI1C;;;;GAIG;AACH,eAAO,MAAM,UAAU;wHAYpB,eAAe;;CAgCjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Card/Card.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Card/Card.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAa,GAAG,EAAmC,MAAM,OAAO,CAAC;AAC/E,OAAO,EAAiC,IAAI,EAAa,MAAM,cAAc,CAAC;AAU9E,OAAO,EAEL,2BAA2B,EAC3B,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EAErB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,iBAAiB,EAElB,MAAM,SAAS,CAAC;AA4FjB;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,IAAI;0FAWd,SAAS;;CAgDX,CAAC;AAuCF;;;GAGG;AACH,eAAO,MAAM,UAAU;6CAMpB,eAAe;;CA6CjB,CAAC;AAcF;;;GAGG;AACH,eAAO,MAAM,WAAW;6CAMrB,gBAAgB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CAwBxC,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,WAAW;6CAMrB,gBAAgB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CAiCxC,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,cAAc;6CAMxB,mBAAmB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CAiC3C,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,gBAAgB;6CAM1B,qBAAqB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CAuD7C,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,sBAAsB;6CAMhC,2BAA2B,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CAuDnD,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,YAAY;6CAMtB,iBAAiB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CAwBzC,CAAC;AA4CF;;;GAGG;AACH,eAAO,MAAM,UAAU;6CAMpB,eAAe,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CAwCvC,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,iBAAiB;6CAM3B,sBAAsB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CAsB9C,CAAC"}
|
|
@@ -6,14 +6,12 @@ export type CardContextValue = {
|
|
|
6
6
|
cardPressable: boolean;
|
|
7
7
|
headerPressable: boolean;
|
|
8
8
|
footerExpanded: boolean;
|
|
9
|
+
disabled: boolean;
|
|
9
10
|
onHeaderPress?: (event: GestureResponderEvent) => void;
|
|
10
11
|
};
|
|
11
12
|
export type CardContentAlignContextValue = {
|
|
12
13
|
align?: 'left' | 'right';
|
|
13
14
|
};
|
|
14
|
-
export type CardDisabledContextValue = {
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
};
|
|
17
15
|
export type CardProps = {
|
|
18
16
|
/**
|
|
19
17
|
* The interaction mode of the card.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Card/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEnE,MAAM,MAAM,QAAQ,GAAG,aAAa,GAAG,YAAY,GAAG,MAAM,CAAC;AAE7D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,aAAa,EAAE,OAAO,CAAC;IACv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CAAC;CACrB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -29,7 +29,7 @@ import { CardButtonProps } from './types';
|
|
|
29
29
|
* />
|
|
30
30
|
*/
|
|
31
31
|
export declare const CardButton: {
|
|
32
|
-
({ lx, style, appearance, icon, title, description, hideChevron, disabled, ref, ...props }: CardButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
({ lx, style, appearance, icon, title, description, hideChevron, disabled: disabledProp, ref, ...props }: CardButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
33
33
|
displayName: string;
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=CardButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardButton.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/CardButton/CardButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardButton.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/CardButton/CardButton.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAwF1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,UAAU;8GAWpB,eAAe;;CA6BjB,CAAC"}
|
|
@@ -24,7 +24,7 @@ import { CheckboxProps } from './types';
|
|
|
24
24
|
* <Checkbox defaultChecked={true} onCheckedChange={handleChange} />
|
|
25
25
|
*/
|
|
26
26
|
export declare const Checkbox: {
|
|
27
|
-
({ lx, style, checked: checkedProp, onCheckedChange: onCheckedChangeProp, defaultChecked, disabled, label, ref, ...props }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
({ lx, style, checked: checkedProp, onCheckedChange: onCheckedChangeProp, defaultChecked, disabled: disabledProp, label, ref, ...props }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
28
28
|
displayName: string;
|
|
29
29
|
};
|
|
30
30
|
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,QAAQ;8IAUlB,aAAa;;CAgCf,CAAC"}
|
|
@@ -29,7 +29,7 @@ import { InteractiveIconProps } from './types';
|
|
|
29
29
|
* </InteractiveIcon>
|
|
30
30
|
*/
|
|
31
31
|
export declare const InteractiveIcon: {
|
|
32
|
-
({ iconType, children, disabled, hitSlop: hitSlopProp, hitSlopType, style, lx, ...props }: InteractiveIconProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
({ iconType, children, disabled: disabledProp, hitSlop: hitSlopProp, hitSlopType, style, lx, ...props }: InteractiveIconProps): import("react/jsx-runtime").JSX.Element;
|
|
33
33
|
displayName: string;
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=InteractiveIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractiveIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/InteractiveIcon/InteractiveIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InteractiveIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/InteractiveIcon/InteractiveIcon.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAgB,oBAAoB,EAAE,MAAM,SAAS,CAAC;AA0C7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,eAAe;6GASzB,oBAAoB;;CAmCtB,CAAC"}
|
|
@@ -11,6 +11,11 @@ export declare const HIT_SLOP_MAP: Partial<Record<HitSlopType, Partial<Record<Ic
|
|
|
11
11
|
*/
|
|
12
12
|
export type HitSlopType = 'comfortable' | 'compact-horizontal' | 'compact-vertical';
|
|
13
13
|
export type InteractiveIconProps = {
|
|
14
|
+
/**
|
|
15
|
+
* Whether the icon is disabled.
|
|
16
|
+
* @default false
|
|
17
|
+
*/
|
|
18
|
+
disabled?: boolean;
|
|
14
19
|
/**
|
|
15
20
|
* The visual style of the icon button.
|
|
16
21
|
* Choose 'filled' for icons with solid backgrounds or 'stroked' for outlined icons.
|
|
@@ -23,5 +28,5 @@ export type InteractiveIconProps = {
|
|
|
23
28
|
* @default 'comfortable'
|
|
24
29
|
*/
|
|
25
30
|
hitSlopType?: HitSlopType;
|
|
26
|
-
} & PropsWithChildren & Omit<StyledPressableProps, 'children'>;
|
|
31
|
+
} & PropsWithChildren & Omit<StyledPressableProps, 'children' | 'disabled'>;
|
|
27
32
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/InteractiveIcon/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,eAAO,MAAM,YAAY,EAAE,OAAO,CAChC,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAwBvD,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GACnB,aAAa,GACb,oBAAoB,GACpB,kBAAkB,CAAC;AAEvB,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC/B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,GAAG,iBAAiB,GACnB,IAAI,CAAC,oBAAoB,EAAE,UAAU,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/InteractiveIcon/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,eAAO,MAAM,YAAY,EAAE,OAAO,CAChC,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAwBvD,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GACnB,aAAa,GACb,oBAAoB,GACpB,kBAAkB,CAAC;AAEvB,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC/B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,GAAG,iBAAiB,GACnB,IAAI,CAAC,oBAAoB,EAAE,UAAU,GAAG,UAAU,CAAC,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { LabelProps } from './types';
|
|
|
6
6
|
* Or text fields like input, textarea, select, etc.
|
|
7
7
|
*/
|
|
8
8
|
export declare const Label: {
|
|
9
|
-
({ style, lx, disabled, children, onPress, onLongPress, ref, ...props }: LabelProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
({ style, lx, disabled: disabledProp, children, onPress, onLongPress, ref, ...props }: LabelProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=Label.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Label/Label.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Label/Label.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAcrC;;;;;GAKG;AACH,eAAO,MAAM,KAAK;2FASf,UAAU;;CAoBZ,CAAC"}
|
|
@@ -38,7 +38,7 @@ import { ListItemContentProps, ListItemDescriptionProps, ListItemIconProps, List
|
|
|
38
38
|
* </ListItem>
|
|
39
39
|
*/
|
|
40
40
|
export declare const ListItem: {
|
|
41
|
-
({ children, lx, style, disabled, ref, ...pressableProps }: ListItemProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
({ children, lx, style, disabled: disabledProp, ref, ...pressableProps }: ListItemProps): import("react/jsx-runtime").JSX.Element;
|
|
42
42
|
displayName: string;
|
|
43
43
|
};
|
|
44
44
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/ListItem/ListItem.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/ListItem/ListItem.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAc,IAAI,EAAE,MAAM,cAAc,CAAC;AAGhD,OAAO,EAAkB,IAAI,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,qBA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egmentedControlButton {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
6
|
-
export declare function SegmentedControl({ selectedValue, onSelectedChange, accessibilityLabel, children, disabled, appearance, ...props }: SegmentedControlProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function SegmentedControl({ selectedValue, onSelectedChange, accessibilityLabel, children, disabled: disabledProp, appearance, ...props }: SegmentedControlProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export declare namespace SegmentedControl {
|
|
8
8
|
var displayName: string;
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/SegmentedControl/SegmentedControl.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/SegmentedControl/SegmentedControl.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAMjB,wBAAgB,sBAAsB,CAAC,EACrC,KAAK,EACL,QAAQ,EACR,IAAI,EAAE,IAAI,EACV,OAAO,EACP,GAAG,KAAK,EACT,EAAE,2BAA2B,2CAqC7B;yBA3Ce,sBAAsB;;;AA2FtC,wBAAgB,gBAAgB,CAAC,EAC/B,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EAClB,QAAQ,EACR,QAAQ,EAAE,YAAY,EACtB,UAAyB,EACzB,GAAG,KAAK,EACT,EAAE,qBAAqB,2CAsCvB;yBA9Ce,gBAAgB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type SegmentedControlContextValue = {
|
|
2
2
|
selectedValue: string;
|
|
3
3
|
onSelectedChange: (value: string) => void;
|
|
4
|
-
disabled
|
|
4
|
+
disabled: boolean;
|
|
5
5
|
};
|
|
6
6
|
declare const SegmentedControlContextProvider: import("react").FC<{
|
|
7
7
|
children: import("react").ReactNode;
|
package/dist/typescript/src/lib/Components/SegmentedControl/SegmentedControlContext.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentedControlContext.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/SegmentedControl/SegmentedControlContext.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,4BAA4B,GAAG;IACzC,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,QAAQ,
|
|
1
|
+
{"version":3,"file":"SegmentedControlContext.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/SegmentedControl/SegmentedControlContext.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,4BAA4B,GAAG;IACzC,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,QAAA,MAAO,+BAA+B;;;EAC+B,CAAC;AAEtE,eAAO,MAAM,0BAA0B,oCAInC,CAAC;AAEL,OAAO,EAAE,+BAA+B,EAAE,CAAC"}
|
|
@@ -30,7 +30,7 @@ import type { SelectProps, SelectTriggerProps, SelectContentProps, SelectGroupPr
|
|
|
30
30
|
* }
|
|
31
31
|
*/
|
|
32
32
|
export declare const Select: {
|
|
33
|
-
({ children, open: controlledOpen, defaultOpen, onOpenChange, value: controlledValue, defaultValue, onValueChange, disabled, }: SelectProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
({ children, open: controlledOpen, defaultOpen, onOpenChange, value: controlledValue, defaultValue, onValueChange, disabled: disabledProp, }: SelectProps): import("react/jsx-runtime").JSX.Element;
|
|
34
34
|
displayName: string;
|
|
35
35
|
};
|
|
36
36
|
export declare const SelectTrigger: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Select/Select.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Select/Select.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EAErB,MAAM,SAAS,CAAC;AAEjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,MAAM;kJAShB,WAAW;;CAyDb,CAAC;AAGF,eAAO,MAAM,aAAa;mFAQvB,kBAAkB;;CAmEpB,CAAC;AAmFF;;GAEG;AACH,eAAO,MAAM,WAAW;;;CAgCvB,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,aAAa;mBAAkB,kBAAkB;;CAwD7D,CAAC;AAGF,eAAO,MAAM,WAAW;wCAKrB,gBAAgB;;CAgBlB,CAAC;AAGF,eAAO,MAAM,WAAW;wCAKrB,gBAAgB;;CAsBlB,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,UAAU;aAAY,eAAe;;CAIjD,CAAC;AAGF,eAAO,MAAM,cAAc;wCAKxB,mBAAmB;;CAkBrB,CAAC;AAGF,eAAO,MAAM,eAAe;aAAY,oBAAoB;;CAI3D,CAAC"}
|
|
@@ -10,7 +10,7 @@ import { StepperProps } from './types';
|
|
|
10
10
|
* <Stepper currentStep={0} totalSteps={9} disabled /> // Shows minimal dot, disabled style
|
|
11
11
|
*/
|
|
12
12
|
export declare const Stepper: {
|
|
13
|
-
({ lx, currentStep, totalSteps, disabled, label, ref, ...props }: StepperProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
({ lx, currentStep, totalSteps, disabled: disabledProp, label, ref, ...props }: StepperProps): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
displayName: string;
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=Stepper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Stepper/Stepper.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Stepper/Stepper.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAiCvC;;;;;;;;;GASG;AACH,eAAO,MAAM,OAAO;oFAQjB,YAAY;;CAsHd,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SubheaderCountProps, SubheaderDescriptionProps, SubheaderInfoProps, SubheaderProps, SubheaderRowProps, SubheaderShowMoreProps, SubheaderTitleProps } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* Title component for the Subheader. Displays the main heading.
|
|
4
4
|
*/
|
|
@@ -25,11 +25,6 @@ export declare const SubheaderShowMore: ({ lx, style, ...props }: SubheaderShowM
|
|
|
25
25
|
* Description component for the Subheader. Displays descriptive text below the title row.
|
|
26
26
|
*/
|
|
27
27
|
export declare const SubheaderDescription: ({ children, lx, style, ...props }: SubheaderDescriptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
/**
|
|
29
|
-
* Action component for the Subheader. Displays an interactive text button.
|
|
30
|
-
* Automatically positions itself at the end of the row using marginLeft: 'auto'.
|
|
31
|
-
*/
|
|
32
|
-
export declare const SubheaderAction: ({ children, onPress, lx, style, ...props }: SubheaderActionProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
28
|
/**
|
|
34
29
|
* A subheader component for displaying section titles with optional count, hints, descriptions, and action elements.
|
|
35
30
|
* Uses a composable API where you explicitly nest sub-components to define the layout.
|
|
@@ -58,7 +53,7 @@ export declare const SubheaderAction: ({ children, onPress, lx, style, ...props
|
|
|
58
53
|
* </Subheader>
|
|
59
54
|
*
|
|
60
55
|
* @example
|
|
61
|
-
* // Interactive row
|
|
56
|
+
* // Interactive row
|
|
62
57
|
* <Subheader>
|
|
63
58
|
* <SubheaderRow onPress={handleClick}>
|
|
64
59
|
* <SubheaderTitle>Accounts</SubheaderTitle>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Subheader.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Subheader/Subheader.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"Subheader.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Subheader/Subheader.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,mCAK5B,mBAAmB,4CAyBrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,4CAM1B,iBAAiB,4CA8BnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,wCAM5B,mBAAmB,4CAqBrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,+BAI3B,kBAAkB,4CAWpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAAI,yBAI/B,sBAAsB,4CAoBxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,mCAKlC,yBAAyB,4CAkB3B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,eAAO,MAAM,SAAS,GAAI,mCAKvB,cAAc,4CAiBhB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Subheader, SubheaderRow, SubheaderTitle, SubheaderCount, SubheaderInfo, SubheaderShowMore, SubheaderDescription,
|
|
1
|
+
export { Subheader, SubheaderRow, SubheaderTitle, SubheaderCount, SubheaderInfo, SubheaderShowMore, SubheaderDescription, } from './Subheader';
|
|
2
2
|
export * from './types';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Subheader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,YAAY,EACZ,cAAc,EACd,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Subheader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,YAAY,EACZ,cAAc,EACd,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,aAAa,CAAC;AACrB,cAAc,SAAS,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { StyledTextProps, StyledViewProps } from '../../../styles';
|
|
3
3
|
import { InteractiveIconProps } from '../InteractiveIcon';
|
|
4
4
|
export type SubheaderProps = {
|
|
5
5
|
/**
|
|
@@ -47,15 +47,5 @@ export type SubheaderDescriptionProps = {
|
|
|
47
47
|
*/
|
|
48
48
|
children: ReactNode;
|
|
49
49
|
} & Omit<StyledTextProps, 'children'>;
|
|
50
|
-
export type SubheaderActionProps = {
|
|
51
|
-
/**
|
|
52
|
-
* The action text to display.
|
|
53
|
-
*/
|
|
54
|
-
children: ReactNode;
|
|
55
|
-
/**
|
|
56
|
-
* Press handler for the action.
|
|
57
|
-
*/
|
|
58
|
-
onPress: () => void;
|
|
59
|
-
} & Omit<StyledPressableProps, 'children' | 'onPress'>;
|
|
60
50
|
export type SubheaderShowMoreProps = Omit<StyledViewProps, 'children'>;
|
|
61
51
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Subheader/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Subheader/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAEtC,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAEtC,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAEtC,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CACpC,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAEtC,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,oBAAoB,EACpB,UAAU,GAAG,UAAU,CACxB,GAAG;IACF;;;OAGG;IACH,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAEtC,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -23,7 +23,7 @@ import { SwitchProps } from './types';
|
|
|
23
23
|
* <Switch defaultChecked={true} onCheckedChange={handleChange} />
|
|
24
24
|
*/
|
|
25
25
|
export declare const Switch: {
|
|
26
|
-
({ lx, style, checked: checkedProp, onCheckedChange: onCheckedChangeProp, defaultChecked, disabled, size, ref, ...props }: SwitchProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
({ lx, style, checked: checkedProp, onCheckedChange: onCheckedChangeProp, defaultChecked, disabled: disabledProp, size, ref, ...props }: SwitchProps): import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
displayName: string;
|
|
28
28
|
};
|
|
29
29
|
//# sourceMappingURL=Switch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Switch/Switch.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Switch/Switch.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,MAAM;6IAUhB,WAAW;;CAuBb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabBar.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/TabBar/TabBar.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEvD,eAAO,MAAM,cAAc,KAAK,CAAC;AAyIjC,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,KAAK,EACL,IAAI,EACJ,UAAU,EACV,KAAK,EACL,GAAG,KAAK,EACT,EAAE,eAAe,2CAmDjB;yBA1De,UAAU;;;AA8D1B;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,MAAM,CAAC,EACrB,MAAM,EACN,UAAU,EACV,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"TabBar.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/TabBar/TabBar.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEvD,eAAO,MAAM,cAAc,KAAK,CAAC;AAyIjC,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,KAAK,EACL,IAAI,EACJ,UAAU,EACV,KAAK,EACL,GAAG,KAAK,EACT,EAAE,eAAe,2CAmDjB;yBA1De,UAAU;;;AA8D1B;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,MAAM,CAAC,EACrB,MAAM,EACN,UAAU,EACV,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,WAAW,2CA2Cb"}
|
|
@@ -27,7 +27,7 @@ import { TagProps } from './types';
|
|
|
27
27
|
* <Tag label="Small" size="sm" />
|
|
28
28
|
*/
|
|
29
29
|
export declare const Tag: {
|
|
30
|
-
({ appearance, size, icon, label, disabled, lx, style, ref, ...props }: TagProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
({ appearance, size, icon, label, disabled: disabledProp, lx, style, ref, ...props }: TagProps): import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
displayName: string;
|
|
32
32
|
};
|
|
33
33
|
//# sourceMappingURL=Tag.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Tag/Tag.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Tag/Tag.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAiGnC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,GAAG;0FAUb,QAAQ;;CAqBV,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TileContentProps, TileDescriptionProps, TileProps,
|
|
1
|
+
import { TileContentProps, TileDescriptionProps, TileProps, TileTitleProps, TileTrailingContentProps } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* A flexible tile component that uses a composite pattern for maximum customization.
|
|
4
4
|
* Displays content in a vertical layout with support for spots, text, and custom content.
|
|
@@ -10,12 +10,13 @@ import { TileContentProps, TileDescriptionProps, TileProps, TileSpotProps, TileT
|
|
|
10
10
|
* Do not use it to modify the tile's core appearance (colors, padding, etc). Use the `appearance` prop instead.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
|
-
* // Basic tile with
|
|
14
|
-
* import { Tile,
|
|
13
|
+
* // Basic tile with icon and content
|
|
14
|
+
* import { Tile, TileContent, TileTitle, TileDescription } from '@ledgerhq/lumen-ui-rnative';
|
|
15
|
+
* import { Spot } from '@ledgerhq/lumen-ui-rnative';
|
|
15
16
|
* import { Wallet } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
16
17
|
*
|
|
17
18
|
* <Tile appearance="card" onPress={() => console.log('Pressed!')}>
|
|
18
|
-
* <
|
|
19
|
+
* <Spot appearance="icon" icon={Wallet} />
|
|
19
20
|
* <TileContent>
|
|
20
21
|
* <TileTitle>My Wallet</TileTitle>
|
|
21
22
|
* <TileDescription>Description</TileDescription>
|
|
@@ -23,43 +24,36 @@ import { TileContentProps, TileDescriptionProps, TileProps, TileSpotProps, TileT
|
|
|
23
24
|
* </Tile>
|
|
24
25
|
*
|
|
25
26
|
* @example
|
|
26
|
-
* // With
|
|
27
|
-
* import { Tile,
|
|
27
|
+
* // With trailing content (Tags)
|
|
28
|
+
* import { Tile, TileContent, TileTitle, TileTrailingContent, Tag } from '@ledgerhq/lumen-ui-rnative';
|
|
28
29
|
* import { Bitcoin } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
29
30
|
*
|
|
30
31
|
* <Tile appearance="card" onLongPress={() => console.log('Long pressed')}>
|
|
31
|
-
* <
|
|
32
|
+
* <Spot appearance="icon" icon={Bitcoin} />
|
|
32
33
|
* <TileContent>
|
|
33
34
|
* <TileTitle>Bitcoin</TileTitle>
|
|
35
|
+
* <TileTrailingContent>
|
|
36
|
+
* <Tag label="Active" />
|
|
37
|
+
* </TileTrailingContent>
|
|
34
38
|
* </TileContent>
|
|
35
|
-
* <Tag label="Active" />
|
|
36
39
|
* </Tile>
|
|
37
40
|
*/
|
|
38
41
|
export declare const Tile: {
|
|
39
|
-
({ lx, style, appearance, disabled, centered, children, ref, ...props }: TileProps): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
({ lx, style, appearance, disabled: disabledProp, centered, children, ref, ...props }: TileProps): import("react/jsx-runtime").JSX.Element;
|
|
40
43
|
displayName: string;
|
|
41
44
|
};
|
|
42
45
|
/**
|
|
43
|
-
* A
|
|
44
|
-
*
|
|
45
|
-
* @example
|
|
46
|
-
* <Tile>
|
|
47
|
-
* <TileSpot appearance="icon" icon={Settings} />
|
|
48
|
-
* </Tile>
|
|
49
|
-
*/
|
|
50
|
-
export declare const TileSpot: {
|
|
51
|
-
({ size, ...props }: TileSpotProps): import("react/jsx-runtime").JSX.Element;
|
|
52
|
-
displayName: string;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* A container for grouping TileTitle and TileDescription with consistent spacing.
|
|
46
|
+
* A container for grouping TileTitle, TileDescription and TileTrailingContent with consistent spacing.
|
|
56
47
|
* Use this to wrap text content within a Tile.
|
|
57
48
|
*
|
|
58
49
|
* @example
|
|
59
50
|
* <Tile>
|
|
60
51
|
* <TileContent>
|
|
61
52
|
* <TileTitle>My Title</TileTitle>
|
|
62
|
-
* <TileDescription>
|
|
53
|
+
* <TileDescription>Description</TileDescription>
|
|
54
|
+
* <TileTrailingContent>
|
|
55
|
+
* <Tag label="Active" />
|
|
56
|
+
* </TileTrailingContent>
|
|
63
57
|
* </TileContent>
|
|
64
58
|
* </Tile>
|
|
65
59
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tile.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Tile/Tile.tsx"],"names":[],"mappings":"AASA,OAAO,EACL,gBAAgB,
|
|
1
|
+
{"version":3,"file":"Tile.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Tile/Tile.tsx"],"names":[],"mappings":"AASA,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,SAAS,EACT,cAAc,EACd,wBAAwB,EACzB,MAAM,SAAS,CAAC;AAwDjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,eAAO,MAAM,IAAI;2FASd,SAAS;;CAiCX,CAAC;AAgCF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,WAAW;8BAA6B,gBAAgB;;CAWpE,CAAC;AAwBF;;;;GAIG;AACH,eAAO,MAAM,SAAS;8BAA6B,cAAc;;CA6BhE,CAAC;AAwBF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe;+BAIzB,oBAAoB;;CA6BtB,CAAC;AAiBF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,mBAAmB;+BAI7B,wBAAwB;;CAW1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Tile/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Tile/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,WAAW,EACX,SAAS,EACT,eAAe,EACf,mBAAmB,GACpB,MAAM,QAAQ,CAAC;AAChB,cAAc,SAAS,CAAC"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { StyledPressableProps, StyledTextProps, StyledViewProps } from '../../../styles';
|
|
3
|
-
import { DiscriminatedSpotProps, SpotSize } from '../Spot/types';
|
|
4
3
|
export type TileContextValue = {
|
|
5
4
|
disabled: boolean;
|
|
6
5
|
};
|
|
7
|
-
export type TileSpotSize = Extract<SpotSize, 40 | 48>;
|
|
8
6
|
export type TileProps = {
|
|
9
7
|
/**
|
|
10
8
|
* The visual style of the tile.
|
|
@@ -39,13 +37,6 @@ export type TileProps = {
|
|
|
39
37
|
*/
|
|
40
38
|
children: ReactNode;
|
|
41
39
|
} & Omit<StyledPressableProps, 'onPress' | 'onLongPress' | 'disabled'>;
|
|
42
|
-
export type TileSpotProps = {
|
|
43
|
-
/**
|
|
44
|
-
* The size of the spot.
|
|
45
|
-
* @default 48
|
|
46
|
-
*/
|
|
47
|
-
size?: 40 | 48;
|
|
48
|
-
} & DiscriminatedSpotProps;
|
|
49
40
|
export type TileContentProps = {
|
|
50
41
|
/**
|
|
51
42
|
* The children to display inside the tile content area.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Tile/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,eAAe,EAChB,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Tile/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,eAAe,EAChB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,eAAe,GAAG,MAAM,CAAC;IACtC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;IAC1C;;;OAGG;IACH,WAAW,CAAC,EAAE,oBAAoB,CAAC,aAAa,CAAC,CAAC;IAClD;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,oBAAoB,EAAE,SAAS,GAAG,aAAa,GAAG,UAAU,CAAC,CAAC;AAEvE,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,eAAe,CAAC;AAEpB,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,eAAe,CAAC;AAEpB,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,eAAe,CAAC;AAEpB,MAAM,MAAM,wBAAwB,GAAG;IACrC;;;OAGG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,eAAe,CAAC"}
|
|
@@ -14,7 +14,7 @@ import { TileButtonProps } from './types';
|
|
|
14
14
|
* </TileButton>
|
|
15
15
|
*/
|
|
16
16
|
export declare const TileButton: {
|
|
17
|
-
({ lx, style, icon: IconProp, children, disabled, isFull, numberOfLines, ...props }: TileButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
({ lx, style, icon: IconProp, children, disabled: disabledProp, isFull, numberOfLines, ...props }: TileButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
displayName: string;
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=TileButton.d.ts.map
|