@audira/carbon-react-native 0.0.1-alpha.21 → 0.0.1-alpha.22
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/lib/commonjs/components/button/base/Base.js +28 -17
- package/lib/commonjs/components/button/base/Base.js.map +1 -1
- package/lib/commonjs/components/button/base-color/BaseColor.js +23 -9
- package/lib/commonjs/components/button/base-color/BaseColor.js.map +1 -1
- package/lib/commonjs/components/button/ghost/Ghost.js +6 -3
- package/lib/commonjs/components/button/ghost/Ghost.js.map +1 -1
- package/lib/commonjs/components/button/ghost-danger/GhostDanger.js +6 -3
- package/lib/commonjs/components/button/ghost-danger/GhostDanger.js.map +1 -1
- package/lib/commonjs/components/button/primary/Primary.js +1 -1
- package/lib/commonjs/components/button/primary/Primary.js.map +1 -1
- package/lib/commonjs/components/button/primary-danger/PrimaryDanger.js +1 -1
- package/lib/commonjs/components/button/primary-danger/PrimaryDanger.js.map +1 -1
- package/lib/commonjs/components/button/primary-danger/index.js +11 -0
- package/lib/commonjs/components/button/primary-danger/index.js.map +1 -1
- package/lib/commonjs/components/button/secondary/Secondary.js +1 -1
- package/lib/commonjs/components/button/secondary/Secondary.js.map +1 -1
- package/lib/commonjs/components/button/tertiary/Tertiary.js +1 -1
- package/lib/commonjs/components/button/tertiary/Tertiary.js.map +1 -1
- package/lib/commonjs/components/button/tertiary-danger/TertiaryDanger.js +1 -1
- package/lib/commonjs/components/button/tertiary-danger/TertiaryDanger.js.map +1 -1
- package/lib/commonjs/components/index.js +36 -12
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/inline-loading/InlineLoading.js +72 -0
- package/lib/commonjs/components/inline-loading/InlineLoading.js.map +1 -0
- package/lib/commonjs/components/inline-loading/InlineLoadingProps.js +6 -0
- package/lib/commonjs/components/inline-loading/InlineLoadingProps.js.map +1 -0
- package/lib/commonjs/components/inline-loading/InlineLoadingRef.js +6 -0
- package/lib/commonjs/components/inline-loading/InlineLoadingRef.js.map +1 -0
- package/lib/commonjs/components/inline-loading/InlineLoadingState.js +2 -0
- package/lib/commonjs/components/inline-loading/InlineLoadingState.js.map +1 -0
- package/lib/commonjs/components/inline-loading/index.js +17 -0
- package/lib/commonjs/components/inline-loading/index.js.map +1 -0
- package/lib/commonjs/components/loading/Loading.js +127 -0
- package/lib/commonjs/components/loading/Loading.js.map +1 -0
- package/lib/commonjs/components/loading/LoadingProps.js +6 -0
- package/lib/commonjs/components/loading/LoadingProps.js.map +1 -0
- package/lib/commonjs/components/loading/LoadingRef.js +6 -0
- package/lib/commonjs/components/loading/LoadingRef.js.map +1 -0
- package/lib/commonjs/components/loading/LoadingType.js +2 -0
- package/lib/commonjs/components/loading/LoadingType.js.map +1 -0
- package/lib/commonjs/components/loading/_loading-progress.js +14 -0
- package/lib/commonjs/components/loading/_loading-progress.js.map +1 -0
- package/lib/commonjs/components/loading/index.js +17 -0
- package/lib/commonjs/components/loading/index.js.map +1 -0
- package/lib/module/components/button/base/Base.js +29 -18
- package/lib/module/components/button/base/Base.js.map +1 -1
- package/lib/module/components/button/base-color/BaseColor.js +24 -10
- package/lib/module/components/button/base-color/BaseColor.js.map +1 -1
- package/lib/module/components/button/ghost/Ghost.js +6 -3
- package/lib/module/components/button/ghost/Ghost.js.map +1 -1
- package/lib/module/components/button/ghost-danger/GhostDanger.js +6 -3
- package/lib/module/components/button/ghost-danger/GhostDanger.js.map +1 -1
- package/lib/module/components/button/primary/Primary.js +1 -1
- package/lib/module/components/button/primary/Primary.js.map +1 -1
- package/lib/module/components/button/primary-danger/PrimaryDanger.js +1 -1
- package/lib/module/components/button/primary-danger/PrimaryDanger.js.map +1 -1
- package/lib/module/components/button/primary-danger/index.js +1 -1
- package/lib/module/components/button/primary-danger/index.js.map +1 -1
- package/lib/module/components/button/secondary/Secondary.js +1 -1
- package/lib/module/components/button/secondary/Secondary.js.map +1 -1
- package/lib/module/components/button/tertiary/Tertiary.js +1 -1
- package/lib/module/components/button/tertiary/Tertiary.js.map +1 -1
- package/lib/module/components/button/tertiary-danger/TertiaryDanger.js +1 -1
- package/lib/module/components/button/tertiary-danger/TertiaryDanger.js.map +1 -1
- package/lib/module/components/index.js +2 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/inline-loading/InlineLoading.js +67 -0
- package/lib/module/components/inline-loading/InlineLoading.js.map +1 -0
- package/lib/module/components/inline-loading/InlineLoadingProps.js +4 -0
- package/lib/module/components/inline-loading/InlineLoadingProps.js.map +1 -0
- package/lib/module/components/inline-loading/InlineLoadingRef.js +4 -0
- package/lib/module/components/inline-loading/InlineLoadingRef.js.map +1 -0
- package/lib/module/components/inline-loading/InlineLoadingState.js +2 -0
- package/lib/module/components/inline-loading/InlineLoadingState.js.map +1 -0
- package/lib/module/components/inline-loading/index.js +4 -0
- package/lib/module/components/inline-loading/index.js.map +1 -0
- package/lib/module/components/loading/Loading.js +122 -0
- package/lib/module/components/loading/Loading.js.map +1 -0
- package/lib/module/components/loading/LoadingProps.js +4 -0
- package/lib/module/components/loading/LoadingProps.js.map +1 -0
- package/lib/module/components/loading/LoadingRef.js +4 -0
- package/lib/module/components/loading/LoadingRef.js.map +1 -0
- package/lib/module/components/loading/LoadingType.js +2 -0
- package/lib/module/components/loading/LoadingType.js.map +1 -0
- package/lib/module/components/loading/_loading-progress.js +10 -0
- package/lib/module/components/loading/_loading-progress.js.map +1 -0
- package/lib/module/components/loading/index.js +4 -0
- package/lib/module/components/loading/index.js.map +1 -0
- package/lib/typescript/commonjs/components/button/base/Base.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/button/base/BaseProps.d.ts +16 -6
- package/lib/typescript/commonjs/components/button/base/BaseProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/button/base-color/BaseColor.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/button/base-color/BaseColorProps.d.ts +1 -1
- package/lib/typescript/commonjs/components/button/base-color/BaseColorProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/button/ghost/Ghost.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/button/ghost-danger/GhostDanger.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/button/ghost-icon/GhostIconProps.d.ts +3 -1
- package/lib/typescript/commonjs/components/button/ghost-icon/GhostIconProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/button/primary-danger/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/button/primary-danger/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/index.d.ts +2 -0
- package/lib/typescript/commonjs/components/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/inline-loading/InlineLoading.d.ts +4 -0
- package/lib/typescript/commonjs/components/inline-loading/InlineLoading.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/inline-loading/InlineLoadingProps.d.ts +12 -0
- package/lib/typescript/commonjs/components/inline-loading/InlineLoadingProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/inline-loading/InlineLoadingRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/inline-loading/InlineLoadingRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/inline-loading/InlineLoadingState.d.ts +2 -0
- package/lib/typescript/commonjs/components/inline-loading/InlineLoadingState.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/inline-loading/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/inline-loading/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/loading/Loading.d.ts +4 -0
- package/lib/typescript/commonjs/components/loading/Loading.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/loading/LoadingProps.d.ts +9 -0
- package/lib/typescript/commonjs/components/loading/LoadingProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/loading/LoadingRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/loading/LoadingRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/loading/LoadingType.d.ts +2 -0
- package/lib/typescript/commonjs/components/loading/LoadingType.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/loading/_loading-progress.d.ts +6 -0
- package/lib/typescript/commonjs/components/loading/_loading-progress.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/loading/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/loading/index.d.ts.map +1 -0
- package/lib/typescript/module/components/button/base/Base.d.ts.map +1 -1
- package/lib/typescript/module/components/button/base/BaseProps.d.ts +16 -6
- package/lib/typescript/module/components/button/base/BaseProps.d.ts.map +1 -1
- package/lib/typescript/module/components/button/base-color/BaseColor.d.ts.map +1 -1
- package/lib/typescript/module/components/button/base-color/BaseColorProps.d.ts +1 -1
- package/lib/typescript/module/components/button/base-color/BaseColorProps.d.ts.map +1 -1
- package/lib/typescript/module/components/button/ghost/Ghost.d.ts.map +1 -1
- package/lib/typescript/module/components/button/ghost-danger/GhostDanger.d.ts.map +1 -1
- package/lib/typescript/module/components/button/ghost-icon/GhostIconProps.d.ts +3 -1
- package/lib/typescript/module/components/button/ghost-icon/GhostIconProps.d.ts.map +1 -1
- package/lib/typescript/module/components/button/primary-danger/index.d.ts +1 -1
- package/lib/typescript/module/components/button/primary-danger/index.d.ts.map +1 -1
- package/lib/typescript/module/components/index.d.ts +2 -0
- package/lib/typescript/module/components/index.d.ts.map +1 -1
- package/lib/typescript/module/components/inline-loading/InlineLoading.d.ts +4 -0
- package/lib/typescript/module/components/inline-loading/InlineLoading.d.ts.map +1 -0
- package/lib/typescript/module/components/inline-loading/InlineLoadingProps.d.ts +12 -0
- package/lib/typescript/module/components/inline-loading/InlineLoadingProps.d.ts.map +1 -0
- package/lib/typescript/module/components/inline-loading/InlineLoadingRef.d.ts +4 -0
- package/lib/typescript/module/components/inline-loading/InlineLoadingRef.d.ts.map +1 -0
- package/lib/typescript/module/components/inline-loading/InlineLoadingState.d.ts +2 -0
- package/lib/typescript/module/components/inline-loading/InlineLoadingState.d.ts.map +1 -0
- package/lib/typescript/module/components/inline-loading/index.d.ts +5 -0
- package/lib/typescript/module/components/inline-loading/index.d.ts.map +1 -0
- package/lib/typescript/module/components/loading/Loading.d.ts +4 -0
- package/lib/typescript/module/components/loading/Loading.d.ts.map +1 -0
- package/lib/typescript/module/components/loading/LoadingProps.d.ts +9 -0
- package/lib/typescript/module/components/loading/LoadingProps.d.ts.map +1 -0
- package/lib/typescript/module/components/loading/LoadingRef.d.ts +4 -0
- package/lib/typescript/module/components/loading/LoadingRef.d.ts.map +1 -0
- package/lib/typescript/module/components/loading/LoadingType.d.ts +2 -0
- package/lib/typescript/module/components/loading/LoadingType.d.ts.map +1 -0
- package/lib/typescript/module/components/loading/_loading-progress.d.ts +6 -0
- package/lib/typescript/module/components/loading/_loading-progress.d.ts.map +1 -0
- package/lib/typescript/module/components/loading/index.d.ts +5 -0
- package/lib/typescript/module/components/loading/index.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Component, forwardRef, useContext, useEffect } from 'react';
|
|
4
|
+
import Animated, { cancelAnimation, Easing, useAnimatedStyle, useSharedValue, withRepeat, withTiming } from 'react-native-reanimated';
|
|
5
|
+
import Svg, { Circle } from 'react-native-svg';
|
|
6
|
+
import { Color, Motion } from '@audira/carbon-react-native-elements';
|
|
7
|
+
import { ThemeContext } from "../../contexts/index.js";
|
|
8
|
+
import { LayerContext } from "../layer/index.js";
|
|
9
|
+
import { loadingProgress } from "./_loading-progress.js";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
export const Loading = /*#__PURE__*/forwardRef(function Loading({
|
|
12
|
+
type = 'large',
|
|
13
|
+
style,
|
|
14
|
+
...props
|
|
15
|
+
}, ref) {
|
|
16
|
+
const layerContext = useContext(LayerContext),
|
|
17
|
+
themeContext = useContext(ThemeContext),
|
|
18
|
+
rotationValue = useSharedValue(0),
|
|
19
|
+
animatedStyle = useAnimatedStyle(() => {
|
|
20
|
+
return {
|
|
21
|
+
transform: [{
|
|
22
|
+
rotateZ: `${rotationValue.value}deg`
|
|
23
|
+
}]
|
|
24
|
+
};
|
|
25
|
+
});
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
rotationValue.value = withRepeat(withTiming(360, {
|
|
28
|
+
duration: Motion.Duration.slow_02,
|
|
29
|
+
easing: Easing.linear
|
|
30
|
+
}), 0);
|
|
31
|
+
return () => {
|
|
32
|
+
cancelAnimation(rotationValue);
|
|
33
|
+
};
|
|
34
|
+
}, [rotationValue]);
|
|
35
|
+
return /*#__PURE__*/_jsx(AnimatedCircularProgress, {
|
|
36
|
+
forwardedRef: ref,
|
|
37
|
+
...props,
|
|
38
|
+
type: type,
|
|
39
|
+
circleStrokeColor: mapCircleStrokeColor[themeContext.colorScheme],
|
|
40
|
+
circleBackgroundColor: mapCircleBackgroundColor[layerContext][themeContext.colorScheme],
|
|
41
|
+
style: [animatedStyle, style]
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
const mapCircleStrokeColor = {
|
|
45
|
+
gray_10: Color.Token.gray_10.interactive,
|
|
46
|
+
gray_100: Color.Token.gray_100.interactive
|
|
47
|
+
},
|
|
48
|
+
mapCircleBackgroundColor = {
|
|
49
|
+
1: {
|
|
50
|
+
gray_10: Color.Token.gray_10.layer_accent_01,
|
|
51
|
+
gray_100: Color.Token.gray_100.layer_accent_01
|
|
52
|
+
},
|
|
53
|
+
2: {
|
|
54
|
+
gray_10: Color.Token.gray_10.layer_accent_02,
|
|
55
|
+
gray_100: Color.Token.gray_100.layer_accent_02
|
|
56
|
+
},
|
|
57
|
+
3: {
|
|
58
|
+
gray_10: Color.Token.gray_10.layer_accent_03,
|
|
59
|
+
gray_100: Color.Token.gray_100.layer_accent_03
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
mapSize = {
|
|
63
|
+
small: 16,
|
|
64
|
+
large: 88
|
|
65
|
+
},
|
|
66
|
+
radius = 44,
|
|
67
|
+
circumference = radius * 2 * Math.PI,
|
|
68
|
+
circleStrokeDasharray = [circumference, circumference],
|
|
69
|
+
mapCircleStrokeDashoffset = {
|
|
70
|
+
small: loadingProgress(circumference, 50),
|
|
71
|
+
large: loadingProgress(circumference, 81)
|
|
72
|
+
},
|
|
73
|
+
mapCircleStrokeWidth = {
|
|
74
|
+
small: 16,
|
|
75
|
+
large: 10
|
|
76
|
+
};
|
|
77
|
+
class CircularProgress extends Component {
|
|
78
|
+
render() {
|
|
79
|
+
const {
|
|
80
|
+
circleStrokeColor,
|
|
81
|
+
circleBackgroundColor,
|
|
82
|
+
type,
|
|
83
|
+
forwardedRef,
|
|
84
|
+
fill = 'transparent',
|
|
85
|
+
viewBox = '0 0 100 100',
|
|
86
|
+
...props
|
|
87
|
+
} = this.props,
|
|
88
|
+
size = mapSize[type];
|
|
89
|
+
return /*#__PURE__*/_jsxs(Svg, {
|
|
90
|
+
ref: forwardedRef,
|
|
91
|
+
...props,
|
|
92
|
+
width: size,
|
|
93
|
+
height: size,
|
|
94
|
+
viewBox: viewBox,
|
|
95
|
+
fill: fill,
|
|
96
|
+
children: [type == 'small' &&
|
|
97
|
+
/*#__PURE__*/
|
|
98
|
+
// Background
|
|
99
|
+
_jsx(Circle, {
|
|
100
|
+
cx: "50%",
|
|
101
|
+
cy: "50%",
|
|
102
|
+
r: radius,
|
|
103
|
+
strokeLinecap: "butt",
|
|
104
|
+
strokeDasharray: circleStrokeDasharray,
|
|
105
|
+
stroke: circleBackgroundColor,
|
|
106
|
+
strokeWidth: mapCircleStrokeWidth.small,
|
|
107
|
+
strokeDashoffset: -radius
|
|
108
|
+
}), /*#__PURE__*/_jsx(Circle, {
|
|
109
|
+
cx: "50%",
|
|
110
|
+
cy: "50%",
|
|
111
|
+
r: radius,
|
|
112
|
+
strokeLinecap: "butt",
|
|
113
|
+
strokeDasharray: circleStrokeDasharray,
|
|
114
|
+
stroke: circleStrokeColor,
|
|
115
|
+
strokeWidth: mapCircleStrokeWidth[type],
|
|
116
|
+
strokeDashoffset: mapCircleStrokeDashoffset[type]
|
|
117
|
+
})]
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
const AnimatedCircularProgress = Animated.createAnimatedComponent(CircularProgress);
|
|
122
|
+
//# sourceMappingURL=Loading.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Component","forwardRef","useContext","useEffect","Animated","cancelAnimation","Easing","useAnimatedStyle","useSharedValue","withRepeat","withTiming","Svg","Circle","Color","Motion","ThemeContext","LayerContext","loadingProgress","jsx","_jsx","jsxs","_jsxs","Loading","type","style","props","ref","layerContext","themeContext","rotationValue","animatedStyle","transform","rotateZ","value","duration","Duration","slow_02","easing","linear","AnimatedCircularProgress","forwardedRef","circleStrokeColor","mapCircleStrokeColor","colorScheme","circleBackgroundColor","mapCircleBackgroundColor","gray_10","Token","interactive","gray_100","layer_accent_01","layer_accent_02","layer_accent_03","mapSize","small","large","radius","circumference","Math","PI","circleStrokeDasharray","mapCircleStrokeDashoffset","mapCircleStrokeWidth","CircularProgress","render","fill","viewBox","size","width","height","children","cx","cy","r","strokeLinecap","strokeDasharray","stroke","strokeWidth","strokeDashoffset","createAnimatedComponent"],"sourceRoot":"../../../../src","sources":["components/loading/Loading.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/loading/LoadingProps.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/loading/LoadingRef.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/loading/LoadingType.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["loadingProgress","circumference","percentage"],"sourceRoot":"../../../../src","sources":["components/loading/_loading-progress.ts"],"mappings":";;AAAA,OAAO,SAASA,eAAeA,CAC9BC,aAAqB;AACrB;AACD;AACA;AACCC,UAAkB,EACjB;EACD,OAAOD,aAAa,GAAGC,UAAU,GAAG,IAAI,GAAGD,aAAa;AACzD","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/loading/index.tsx"],"mappings":";;AAAA,cAAc,cAAW","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/base/Base.tsx"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EACX,SAAS,EACT,MAAM,aAAa,CAAA;AAEpB,OAAO,KAAK,EACX,OAAO,EACP,MAAM,WAAW,CAAA;AAElB,eAAO,MAAM,IAAI,+
|
|
1
|
+
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/base/Base.tsx"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EACX,SAAS,EACT,MAAM,aAAa,CAAA;AAEpB,OAAO,KAAK,EACX,OAAO,EACP,MAAM,WAAW,CAAA;AAElB,eAAO,MAAM,IAAI,+FAoFhB,CAAA"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import type { PressableProps,
|
|
1
|
+
import type { PressableProps, ViewProps } from 'react-native';
|
|
2
2
|
import type { SharedType } from '../../../types';
|
|
3
|
-
import type { IconProps } from '../../icon';
|
|
3
|
+
import type { IconProps } from '../../icon/IconProps';
|
|
4
|
+
import type { InlineLoadingProps } from '../../inline-loading/InlineLoadingProps';
|
|
5
|
+
import type { TextProps } from '../../text/TextProps';
|
|
4
6
|
import type { ButtonSize } from '../ButtonSize';
|
|
5
7
|
export interface BaseProps extends Omit<PressableProps, 'children' | 'style'> {
|
|
6
8
|
/**
|
|
@@ -9,8 +11,9 @@ export interface BaseProps extends Omit<PressableProps, 'children' | 'style'> {
|
|
|
9
11
|
*/
|
|
10
12
|
size?: ButtonSize;
|
|
11
13
|
text?: string;
|
|
14
|
+
textProps?: Omit<TextProps, 'type' | 'children'>;
|
|
12
15
|
icon?: SharedType.CarbonIcon;
|
|
13
|
-
|
|
16
|
+
iconProps?: Omit<IconProps, 'src'>;
|
|
14
17
|
/**
|
|
15
18
|
* This prop is useful to custom render at the icon position.
|
|
16
19
|
* `iconNode` takes precedence even if {@linkcode icon} prop is present.
|
|
@@ -21,15 +24,22 @@ export interface BaseProps extends Omit<PressableProps, 'children' | 'style'> {
|
|
|
21
24
|
*/
|
|
22
25
|
iconSize: number,
|
|
23
26
|
/**
|
|
24
|
-
* Use this
|
|
27
|
+
* Use this style to keep icon style nicely center aligned vertically with text
|
|
25
28
|
*/
|
|
26
29
|
iconStyle: IconProps['style']) => React.ReactNode;
|
|
27
30
|
/**
|
|
28
31
|
* Only for base-color button for Focus state UI purposes
|
|
29
32
|
*/
|
|
30
33
|
backgroundNode?: React.ReactNode;
|
|
34
|
+
/**
|
|
35
|
+
* Pass this `InlineLoading` component to render the loading inside of button.
|
|
36
|
+
* The Text of Button will be used if `inlineLoadingProps.text` is empty.
|
|
37
|
+
* If you pass `inlineLoadingProps.state` with `inactive` value, the `InlineLoading` component will not be rendered.
|
|
38
|
+
*/
|
|
39
|
+
InlineLoading?: React.FunctionComponent<InlineLoadingProps>;
|
|
40
|
+
inlineLoadingProps?: Omit<InlineLoadingProps, 'text'> & {
|
|
41
|
+
text?: string;
|
|
42
|
+
};
|
|
31
43
|
style?: ViewProps['style'];
|
|
32
|
-
textStyle?: TextProps['style'];
|
|
33
|
-
iconStyle?: IconProps['style'];
|
|
34
44
|
}
|
|
35
45
|
//# sourceMappingURL=BaseProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseProps.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/base/BaseProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,cAAc,EACd,SAAS,EACT,
|
|
1
|
+
{"version":3,"file":"BaseProps.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/base/BaseProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,cAAc,EACd,SAAS,EACT,MAAM,cAAc,CAAA;AAErB,OAAO,KAAK,EACX,UAAU,EACV,MAAM,gBAAgB,CAAA;AAEvB,OAAO,KAAK,EACX,SAAS,EACT,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EACX,kBAAkB,EAClB,MAAM,yCAAyC,CAAA;AAEhD,OAAO,KAAK,EACX,SAAS,EACT,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EACX,UAAU,EACV,MAAM,eAAe,CAAA;AAEtB,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,CAAC;IAC5E;;;OAGG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC;IACjD,IAAI,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC;IAC7B,SAAS,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;IACnC;;;OAGG;IACH,QAAQ,CAAC,EAAE;IACV;;OAEG;IACH,QAAQ,EAAE,MAAM;IAChB;;OAEG;IACH,SAAS,EAAE,SAAS,CAAC,OAAO,CAAC,KACzB,KAAK,CAAC,SAAS,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;IAC5D,kBAAkB,CAAC,EAAE,IAAI,CAAC,kBAAkB,EAAE,MAAM,CAAC,GAAG;QACvD,IAAI,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF,KAAK,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;CAC3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseColor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/base-color/BaseColor.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseColor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/base-color/BaseColor.tsx"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EACX,cAAc,EACd,MAAM,kBAAkB,CAAA;AAEzB,OAAO,KAAK,EACX,YAAY,EACZ,MAAM,gBAAgB,CAAA;AAMvB,eAAO,MAAM,SAAS,yGAwKrB,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
2
2
|
import type { BaseProps } from '../base/BaseProps';
|
|
3
3
|
import type { BaseColorState } from './BaseColorState';
|
|
4
|
-
export interface BaseColorProps extends Omit<BaseProps, 'backgroundNode' | '
|
|
4
|
+
export interface BaseColorProps extends Omit<BaseProps, 'backgroundNode' | 'iconNode'> {
|
|
5
5
|
android_rippleEffectColor: string;
|
|
6
6
|
colorStateStyle: {
|
|
7
7
|
background: Record<BaseColorState, StyleProp<ViewStyle>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseColorProps.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/base-color/BaseColorProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,SAAS,EACT,SAAS,EACT,SAAS,EACT,MAAM,cAAc,CAAA;AAErB,OAAO,KAAK,EACX,SAAS,EACT,MAAM,mBAAmB,CAAA;AAE1B,OAAO,KAAK,EACX,cAAc,EACd,MAAM,kBAAkB,CAAA;AAEzB,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,SAAS,EAAE,gBAAgB,GAAG,
|
|
1
|
+
{"version":3,"file":"BaseColorProps.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/base-color/BaseColorProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,SAAS,EACT,SAAS,EACT,SAAS,EACT,MAAM,cAAc,CAAA;AAErB,OAAO,KAAK,EACX,SAAS,EACT,MAAM,mBAAmB,CAAA;AAE1B,OAAO,KAAK,EACX,cAAc,EACd,MAAM,kBAAkB,CAAA;AAEzB,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,SAAS,EAAE,gBAAgB,GAAG,UAAU,CAAC;IACrF,yBAAyB,EAAE,MAAM,CAAC;IAClC,eAAe,EAAE;QAChB,UAAU,EAAE,MAAM,CAAC,cAAc,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;QACzD,IAAI,EAAE,MAAM,CAAC,cAAc,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;QACnD,IAAI,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;KACrC,CAAC;IACF;;OAEG;IACH,QAAQ,CAAC,EAAE;IACV;;OAEG;IACH,cAAc,EAAE,MAAM,EACtB,GAAG,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,KACrD,KAAK,CAAC,SAAS,CAAC;CACrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Ghost.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/ghost/Ghost.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EACX,UAAU,EACV,MAAM,cAAc,CAAA;AAErB,OAAO,KAAK,EACX,QAAQ,EACR,MAAM,YAAY,CAAA;AAEnB,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"Ghost.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/ghost/Ghost.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EACX,UAAU,EACV,MAAM,cAAc,CAAA;AAErB,OAAO,KAAK,EACX,QAAQ,EACR,MAAM,YAAY,CAAA;AAEnB,eAAO,MAAM,KAAK,iGA6CjB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GhostDanger.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/ghost-danger/GhostDanger.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EACX,gBAAgB,EAChB,MAAM,oBAAoB,CAAA;AAE3B,OAAO,KAAK,EACX,cAAc,EACd,MAAM,kBAAkB,CAAA;AAEzB,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"GhostDanger.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/ghost-danger/GhostDanger.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EACX,gBAAgB,EAChB,MAAM,oBAAoB,CAAA;AAE3B,OAAO,KAAK,EACX,cAAc,EACd,MAAM,kBAAkB,CAAA;AAEzB,eAAO,MAAM,WAAW,6GA6CvB,CAAA"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { SharedType } from '../../../types';
|
|
2
|
+
import type { InlineLoadingProps } from '../../inline-loading/InlineLoadingProps';
|
|
2
3
|
import type { BaseColorProps } from '../base-color/BaseColorProps';
|
|
3
|
-
export interface GhostIconProps extends Omit<BaseColorProps, 'android_rippleEffectColor' | 'colorStateStyle' | 'icon' | 'text'> {
|
|
4
|
+
export interface GhostIconProps extends Omit<BaseColorProps, 'android_rippleEffectColor' | 'colorStateStyle' | 'icon' | 'text' | 'inlineLoadingProps'> {
|
|
4
5
|
icon: SharedType.CarbonIcon;
|
|
5
6
|
selected?: boolean;
|
|
7
|
+
inlineLoadingProps?: Omit<InlineLoadingProps, 'text'>;
|
|
6
8
|
}
|
|
7
9
|
//# sourceMappingURL=GhostIconProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GhostIconProps.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/ghost-icon/GhostIconProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,UAAU,EACV,MAAM,gBAAgB,CAAA;AAEvB,OAAO,KAAK,EACX,cAAc,EACd,MAAM,8BAA8B,CAAA;AAErC,MAAM,WAAW,cAAe,SAAQ,IAAI,CAC3C,cAAc,EACZ,2BAA2B,GAC3B,iBAAiB,GACjB,MAAM,GACN,MAAM,
|
|
1
|
+
{"version":3,"file":"GhostIconProps.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/ghost-icon/GhostIconProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,UAAU,EACV,MAAM,gBAAgB,CAAA;AAEvB,OAAO,KAAK,EACX,kBAAkB,EAClB,MAAM,yCAAyC,CAAA;AAEhD,OAAO,KAAK,EACX,cAAc,EACd,MAAM,8BAA8B,CAAA;AAErC,MAAM,WAAW,cAAe,SAAQ,IAAI,CAC3C,cAAc,EACZ,2BAA2B,GAC3B,iBAAiB,GACjB,MAAM,GACN,MAAM,GACN,oBAAoB,CACtB;IACA,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,CAAC,EAAE,IAAI,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;CACtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/primary-danger/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/primary-danger/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA"}
|
|
@@ -10,7 +10,9 @@ export * from './collapsible';
|
|
|
10
10
|
export * from './form-helper-text';
|
|
11
11
|
export * from './form-label';
|
|
12
12
|
export * from './icon';
|
|
13
|
+
export * from './inline-loading';
|
|
13
14
|
export * from './layer';
|
|
15
|
+
export * from './loading';
|
|
14
16
|
export * from './radio-button';
|
|
15
17
|
export * from './radio-button-group';
|
|
16
18
|
export * from './radio-button-input';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAA;AAClC,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAA;AAC9C,OAAO,KAAK,MAAM,MAAM,UAAU,CAAA;AAElC,OAAO,EACN,MAAM,EACN,YAAY,EACZ,MAAM,GACN,CAAA;AAED,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAA;AAClC,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAA;AAC9C,OAAO,KAAK,MAAM,MAAM,UAAU,CAAA;AAElC,OAAO,EACN,MAAM,EACN,YAAY,EACZ,MAAM,GACN,CAAA;AAED,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AACtB,cAAc,kBAAkB,CAAA;AAChC,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { InlineLoadingProps } from './InlineLoadingProps';
|
|
2
|
+
import type { InlineLoadingRef } from './InlineLoadingRef';
|
|
3
|
+
export declare const InlineLoading: import("react").ForwardRefExoticComponent<InlineLoadingProps & import("react").RefAttributes<InlineLoadingRef>>;
|
|
4
|
+
//# sourceMappingURL=InlineLoading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InlineLoading.d.ts","sourceRoot":"","sources":["../../../../../src/components/inline-loading/InlineLoading.tsx"],"names":[],"mappings":"AAyCA,OAAO,KAAK,EACX,kBAAkB,EAClB,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EACX,gBAAgB,EAChB,MAAM,oBAAoB,CAAA;AAE3B,eAAO,MAAM,aAAa,iHA8DzB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ViewProps } from 'react-native';
|
|
2
|
+
import type { TextProps } from '../text/TextProps';
|
|
3
|
+
import type { InlineLoadingState } from './InlineLoadingState';
|
|
4
|
+
export interface InlineLoadingProps extends Omit<ViewProps, 'children'> {
|
|
5
|
+
/**
|
|
6
|
+
* @default 'active'
|
|
7
|
+
*/
|
|
8
|
+
state?: InlineLoadingState;
|
|
9
|
+
text: string;
|
|
10
|
+
textProps?: Omit<TextProps, 'children' | 'type'>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=InlineLoadingProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InlineLoadingProps.d.ts","sourceRoot":"","sources":["../../../../../src/components/inline-loading/InlineLoadingProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,SAAS,EACT,MAAM,cAAc,CAAA;AAErB,OAAO,KAAK,EACX,SAAS,EACT,MAAM,mBAAmB,CAAA;AAE1B,OAAO,KAAK,EACX,kBAAkB,EAClB,MAAM,sBAAsB,CAAA;AAE7B,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IACtE;;OAEG;IACH,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,IAAI,CACf,SAAS,EACP,UAAU,GACV,MAAM,CACR,CAAA;CACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InlineLoadingRef.d.ts","sourceRoot":"","sources":["../../../../../src/components/inline-loading/InlineLoadingRef.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,IAAI,EACJ,MAAM,cAAc,CAAA;AAErB,MAAM,WAAW,gBAAiB,SAAQ,IAAI;CAC7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InlineLoadingState.d.ts","sourceRoot":"","sources":["../../../../../src/components/inline-loading/InlineLoadingState.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAC3B,QAAQ,GACR,UAAU,GACV,OAAO,GACP,UAAU,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/inline-loading/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,mBAAmB,sBAAsB,CAAA;AACzC,mBAAmB,oBAAoB,CAAA;AACvC,mBAAmB,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { LoadingProps } from './LoadingProps';
|
|
2
|
+
import type { LoadingRef } from './LoadingRef';
|
|
3
|
+
export declare const Loading: import("react").ForwardRefExoticComponent<LoadingProps & import("react").RefAttributes<LoadingRef>>;
|
|
4
|
+
//# sourceMappingURL=Loading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Loading.d.ts","sourceRoot":"","sources":["../../../../../src/components/loading/Loading.tsx"],"names":[],"mappings":"AAuCA,OAAO,KAAK,EACX,YAAY,EACZ,MAAM,gBAAgB,CAAA;AAEvB,OAAO,KAAK,EACX,UAAU,EACV,MAAM,cAAc,CAAA;AAMrB,eAAO,MAAM,OAAO,qGA8DnB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadingProps.d.ts","sourceRoot":"","sources":["../../../../../src/components/loading/LoadingProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,QAAQ,EACR,MAAM,kBAAkB,CAAA;AAEzB,OAAO,KAAK,EACX,WAAW,EACX,MAAM,eAAe,CAAA;AAEtB,MAAM,WAAW,YAAa,SAAQ,QAAQ;IAC7C;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadingRef.d.ts","sourceRoot":"","sources":["../../../../../src/components/loading/LoadingRef.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,kBAAkB,CAAA;AAEvC,MAAM,WAAW,UAAW,SAAQ,GAAG;CACtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadingType.d.ts","sourceRoot":"","sources":["../../../../../src/components/loading/LoadingType.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GACpB,OAAO,GACP,OAAO,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_loading-progress.d.ts","sourceRoot":"","sources":["../../../../../src/components/loading/_loading-progress.ts"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,CAC9B,aAAa,EAAE,MAAM;AACrB;;GAEG;AACH,UAAU,EAAE,MAAM,UAGlB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/loading/index.tsx"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,mBAAmB,gBAAgB,CAAA;AACnC,mBAAmB,cAAc,CAAA;AACjC,mBAAmB,eAAe,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/base/Base.tsx"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EACX,SAAS,EACT,MAAM,aAAa,CAAA;AAEpB,OAAO,KAAK,EACX,OAAO,EACP,MAAM,WAAW,CAAA;AAElB,eAAO,MAAM,IAAI,+
|
|
1
|
+
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/base/Base.tsx"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EACX,SAAS,EACT,MAAM,aAAa,CAAA;AAEpB,OAAO,KAAK,EACX,OAAO,EACP,MAAM,WAAW,CAAA;AAElB,eAAO,MAAM,IAAI,+FAoFhB,CAAA"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import type { PressableProps,
|
|
1
|
+
import type { PressableProps, ViewProps } from 'react-native';
|
|
2
2
|
import type { SharedType } from '../../../types';
|
|
3
|
-
import type { IconProps } from '../../icon';
|
|
3
|
+
import type { IconProps } from '../../icon/IconProps';
|
|
4
|
+
import type { InlineLoadingProps } from '../../inline-loading/InlineLoadingProps';
|
|
5
|
+
import type { TextProps } from '../../text/TextProps';
|
|
4
6
|
import type { ButtonSize } from '../ButtonSize';
|
|
5
7
|
export interface BaseProps extends Omit<PressableProps, 'children' | 'style'> {
|
|
6
8
|
/**
|
|
@@ -9,8 +11,9 @@ export interface BaseProps extends Omit<PressableProps, 'children' | 'style'> {
|
|
|
9
11
|
*/
|
|
10
12
|
size?: ButtonSize;
|
|
11
13
|
text?: string;
|
|
14
|
+
textProps?: Omit<TextProps, 'type' | 'children'>;
|
|
12
15
|
icon?: SharedType.CarbonIcon;
|
|
13
|
-
|
|
16
|
+
iconProps?: Omit<IconProps, 'src'>;
|
|
14
17
|
/**
|
|
15
18
|
* This prop is useful to custom render at the icon position.
|
|
16
19
|
* `iconNode` takes precedence even if {@linkcode icon} prop is present.
|
|
@@ -21,15 +24,22 @@ export interface BaseProps extends Omit<PressableProps, 'children' | 'style'> {
|
|
|
21
24
|
*/
|
|
22
25
|
iconSize: number,
|
|
23
26
|
/**
|
|
24
|
-
* Use this
|
|
27
|
+
* Use this style to keep icon style nicely center aligned vertically with text
|
|
25
28
|
*/
|
|
26
29
|
iconStyle: IconProps['style']) => React.ReactNode;
|
|
27
30
|
/**
|
|
28
31
|
* Only for base-color button for Focus state UI purposes
|
|
29
32
|
*/
|
|
30
33
|
backgroundNode?: React.ReactNode;
|
|
34
|
+
/**
|
|
35
|
+
* Pass this `InlineLoading` component to render the loading inside of button.
|
|
36
|
+
* The Text of Button will be used if `inlineLoadingProps.text` is empty.
|
|
37
|
+
* If you pass `inlineLoadingProps.state` with `inactive` value, the `InlineLoading` component will not be rendered.
|
|
38
|
+
*/
|
|
39
|
+
InlineLoading?: React.FunctionComponent<InlineLoadingProps>;
|
|
40
|
+
inlineLoadingProps?: Omit<InlineLoadingProps, 'text'> & {
|
|
41
|
+
text?: string;
|
|
42
|
+
};
|
|
31
43
|
style?: ViewProps['style'];
|
|
32
|
-
textStyle?: TextProps['style'];
|
|
33
|
-
iconStyle?: IconProps['style'];
|
|
34
44
|
}
|
|
35
45
|
//# sourceMappingURL=BaseProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseProps.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/base/BaseProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,cAAc,EACd,SAAS,EACT,
|
|
1
|
+
{"version":3,"file":"BaseProps.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/base/BaseProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,cAAc,EACd,SAAS,EACT,MAAM,cAAc,CAAA;AAErB,OAAO,KAAK,EACX,UAAU,EACV,MAAM,gBAAgB,CAAA;AAEvB,OAAO,KAAK,EACX,SAAS,EACT,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EACX,kBAAkB,EAClB,MAAM,yCAAyC,CAAA;AAEhD,OAAO,KAAK,EACX,SAAS,EACT,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EACX,UAAU,EACV,MAAM,eAAe,CAAA;AAEtB,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,CAAC;IAC5E;;;OAGG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC;IACjD,IAAI,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC;IAC7B,SAAS,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;IACnC;;;OAGG;IACH,QAAQ,CAAC,EAAE;IACV;;OAEG;IACH,QAAQ,EAAE,MAAM;IAChB;;OAEG;IACH,SAAS,EAAE,SAAS,CAAC,OAAO,CAAC,KACzB,KAAK,CAAC,SAAS,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;IAC5D,kBAAkB,CAAC,EAAE,IAAI,CAAC,kBAAkB,EAAE,MAAM,CAAC,GAAG;QACvD,IAAI,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF,KAAK,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;CAC3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseColor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/base-color/BaseColor.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseColor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/base-color/BaseColor.tsx"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EACX,cAAc,EACd,MAAM,kBAAkB,CAAA;AAEzB,OAAO,KAAK,EACX,YAAY,EACZ,MAAM,gBAAgB,CAAA;AAMvB,eAAO,MAAM,SAAS,yGAwKrB,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
2
2
|
import type { BaseProps } from '../base/BaseProps';
|
|
3
3
|
import type { BaseColorState } from './BaseColorState';
|
|
4
|
-
export interface BaseColorProps extends Omit<BaseProps, 'backgroundNode' | '
|
|
4
|
+
export interface BaseColorProps extends Omit<BaseProps, 'backgroundNode' | 'iconNode'> {
|
|
5
5
|
android_rippleEffectColor: string;
|
|
6
6
|
colorStateStyle: {
|
|
7
7
|
background: Record<BaseColorState, StyleProp<ViewStyle>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseColorProps.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/base-color/BaseColorProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,SAAS,EACT,SAAS,EACT,SAAS,EACT,MAAM,cAAc,CAAA;AAErB,OAAO,KAAK,EACX,SAAS,EACT,MAAM,mBAAmB,CAAA;AAE1B,OAAO,KAAK,EACX,cAAc,EACd,MAAM,kBAAkB,CAAA;AAEzB,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,SAAS,EAAE,gBAAgB,GAAG,
|
|
1
|
+
{"version":3,"file":"BaseColorProps.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/base-color/BaseColorProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,SAAS,EACT,SAAS,EACT,SAAS,EACT,MAAM,cAAc,CAAA;AAErB,OAAO,KAAK,EACX,SAAS,EACT,MAAM,mBAAmB,CAAA;AAE1B,OAAO,KAAK,EACX,cAAc,EACd,MAAM,kBAAkB,CAAA;AAEzB,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,SAAS,EAAE,gBAAgB,GAAG,UAAU,CAAC;IACrF,yBAAyB,EAAE,MAAM,CAAC;IAClC,eAAe,EAAE;QAChB,UAAU,EAAE,MAAM,CAAC,cAAc,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;QACzD,IAAI,EAAE,MAAM,CAAC,cAAc,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;QACnD,IAAI,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;KACrC,CAAC;IACF;;OAEG;IACH,QAAQ,CAAC,EAAE;IACV;;OAEG;IACH,cAAc,EAAE,MAAM,EACtB,GAAG,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,KACrD,KAAK,CAAC,SAAS,CAAC;CACrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Ghost.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/ghost/Ghost.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EACX,UAAU,EACV,MAAM,cAAc,CAAA;AAErB,OAAO,KAAK,EACX,QAAQ,EACR,MAAM,YAAY,CAAA;AAEnB,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"Ghost.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/ghost/Ghost.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EACX,UAAU,EACV,MAAM,cAAc,CAAA;AAErB,OAAO,KAAK,EACX,QAAQ,EACR,MAAM,YAAY,CAAA;AAEnB,eAAO,MAAM,KAAK,iGA6CjB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GhostDanger.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/ghost-danger/GhostDanger.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EACX,gBAAgB,EAChB,MAAM,oBAAoB,CAAA;AAE3B,OAAO,KAAK,EACX,cAAc,EACd,MAAM,kBAAkB,CAAA;AAEzB,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"GhostDanger.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/ghost-danger/GhostDanger.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EACX,gBAAgB,EAChB,MAAM,oBAAoB,CAAA;AAE3B,OAAO,KAAK,EACX,cAAc,EACd,MAAM,kBAAkB,CAAA;AAEzB,eAAO,MAAM,WAAW,6GA6CvB,CAAA"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { SharedType } from '../../../types';
|
|
2
|
+
import type { InlineLoadingProps } from '../../inline-loading/InlineLoadingProps';
|
|
2
3
|
import type { BaseColorProps } from '../base-color/BaseColorProps';
|
|
3
|
-
export interface GhostIconProps extends Omit<BaseColorProps, 'android_rippleEffectColor' | 'colorStateStyle' | 'icon' | 'text'> {
|
|
4
|
+
export interface GhostIconProps extends Omit<BaseColorProps, 'android_rippleEffectColor' | 'colorStateStyle' | 'icon' | 'text' | 'inlineLoadingProps'> {
|
|
4
5
|
icon: SharedType.CarbonIcon;
|
|
5
6
|
selected?: boolean;
|
|
7
|
+
inlineLoadingProps?: Omit<InlineLoadingProps, 'text'>;
|
|
6
8
|
}
|
|
7
9
|
//# sourceMappingURL=GhostIconProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GhostIconProps.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/ghost-icon/GhostIconProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,UAAU,EACV,MAAM,gBAAgB,CAAA;AAEvB,OAAO,KAAK,EACX,cAAc,EACd,MAAM,8BAA8B,CAAA;AAErC,MAAM,WAAW,cAAe,SAAQ,IAAI,CAC3C,cAAc,EACZ,2BAA2B,GAC3B,iBAAiB,GACjB,MAAM,GACN,MAAM,
|
|
1
|
+
{"version":3,"file":"GhostIconProps.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/ghost-icon/GhostIconProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,UAAU,EACV,MAAM,gBAAgB,CAAA;AAEvB,OAAO,KAAK,EACX,kBAAkB,EAClB,MAAM,yCAAyC,CAAA;AAEhD,OAAO,KAAK,EACX,cAAc,EACd,MAAM,8BAA8B,CAAA;AAErC,MAAM,WAAW,cAAe,SAAQ,IAAI,CAC3C,cAAc,EACZ,2BAA2B,GAC3B,iBAAiB,GACjB,MAAM,GACN,MAAM,GACN,oBAAoB,CACtB;IACA,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,CAAC,EAAE,IAAI,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;CACtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/primary-danger/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/button/primary-danger/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA"}
|
|
@@ -10,7 +10,9 @@ export * from './collapsible';
|
|
|
10
10
|
export * from './form-helper-text';
|
|
11
11
|
export * from './form-label';
|
|
12
12
|
export * from './icon';
|
|
13
|
+
export * from './inline-loading';
|
|
13
14
|
export * from './layer';
|
|
15
|
+
export * from './loading';
|
|
14
16
|
export * from './radio-button';
|
|
15
17
|
export * from './radio-button-group';
|
|
16
18
|
export * from './radio-button-input';
|