react-native-ui-lib 7.38.1-snapshot.6449 → 7.38.1-snapshot.6450
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/package.json +1 -1
- package/scripts/docs/buildDocsCommon.js +17 -8
- package/src/assets/icons/index.js +0 -3
- package/src/assets/index.js +0 -3
- package/src/components/chipsInput/index.js +2 -2
- package/src/components/colorSwatch/index.js +2 -1
- package/src/components/hint/index.js +3 -2
- package/src/components/image/index.js +1 -1
- package/src/components/picker/helpers/useFieldType.js +2 -2
- package/src/components/stackAggregator/index.js +2 -2
- package/src/components/stepper/index.js +8 -3
- package/src/components/test.api.json +0 -32
- package/src/components/wizard/WizardStates.js +4 -3
- package/src/assets/components/index.d.ts +0 -17
- package/src/assets/components/index.js +0 -32
- package/src/assets/components/index.web.js +0 -36
- package/src/assets/components/outline/index.d.ts +0 -7
- package/src/assets/components/outline/index.js +0 -14
- package/src/assets/components/outline/index.web.js +0 -14
- package/src/assets/icons/index.web.js +0 -31
- /package/src/{assets/icons → components/chipsInput/assets}/xSmall.png +0 -0
- /package/src/{assets/icons → components/chipsInput/assets}/xSmall@1.5x.png +0 -0
- /package/src/{assets/icons → components/chipsInput/assets}/xSmall@2x.png +0 -0
- /package/src/{assets/icons → components/chipsInput/assets}/xSmall@3x.png +0 -0
- /package/src/{assets/icons → components/chipsInput/assets}/xSmall@4x.png +0 -0
- /package/src/{assets/components/transparentSwatch.png → components/colorSwatch/assets/transparentSwatch/TransparentSwatch.png} +0 -0
- /package/src/{assets/components/transparentSwatch@1.5x.png → components/colorSwatch/assets/transparentSwatch/TransparentSwatch@1.5x.png} +0 -0
- /package/src/{assets/components/transparentSwatch@2x.png → components/colorSwatch/assets/transparentSwatch/TransparentSwatch@2x.png} +0 -0
- /package/src/{assets/components/transparentSwatch@3x.png → components/colorSwatch/assets/transparentSwatch/TransparentSwatch@3x.png} +0 -0
- /package/src/{assets/components/transparentSwatch@4x.png → components/colorSwatch/assets/transparentSwatch/TransparentSwatch@4x.png} +0 -0
- /package/src/{assets/components → components/hint/assets}/hintTipMiddle.png +0 -0
- /package/src/{assets/components → components/hint/assets}/hintTipMiddle@1.5x.png +0 -0
- /package/src/{assets/components → components/hint/assets}/hintTipMiddle@2x.png +0 -0
- /package/src/{assets/components → components/hint/assets}/hintTipMiddle@3x.png +0 -0
- /package/src/{assets/components → components/hint/assets}/hintTipMiddle@4x.png +0 -0
- /package/src/{assets/components → components/hint/assets}/hintTipSide.png +0 -0
- /package/src/{assets/components → components/hint/assets}/hintTipSide@1.5x.png +0 -0
- /package/src/{assets/components → components/hint/assets}/hintTipSide@2x.png +0 -0
- /package/src/{assets/components → components/hint/assets}/hintTipSide@3x.png +0 -0
- /package/src/{assets/components → components/hint/assets}/hintTipSide@4x.png +0 -0
- /package/src/{assets/components/dropDown.png → components/picker/assets/dropdown.png} +0 -0
- /package/src/{assets/components/dropDown@1.5x.png → components/picker/assets/dropdown@1.5x.png} +0 -0
- /package/src/{assets/components/dropDown@2x.png → components/picker/assets/dropdown@2x.png} +0 -0
- /package/src/{assets/components/dropDown@3x.png → components/picker/assets/dropdown@3x.png} +0 -0
- /package/src/{assets/components/dropDown@4x.png → components/picker/assets/dropdown@4x.png} +0 -0
- /package/src/{assets/components/arrowDown.png → components/stackAggregator/assets/arrow-down.png} +0 -0
- /package/src/{assets/components/arrowDown@2x.png → components/stackAggregator/assets/arrow-down@2x.png} +0 -0
- /package/src/{assets/components/arrowDown@3x.png → components/stackAggregator/assets/arrow-down@3x.png} +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/minusOutline.png +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/minusOutline@1.5x.png +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/minusOutline@2x.png +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/minusOutline@3x.png +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/minusOutline@4x.png +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/minusOutlineSmall.png +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/minusOutlineSmall@1.5x.png +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/minusOutlineSmall@2x.png +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/minusOutlineSmall@3x.png +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/minusOutlineSmall@4x.png +0 -0
- /package/src/{assets/components → components/stepper/assets}/minusSmall.png +0 -0
- /package/src/{assets/components → components/stepper/assets}/minusSmall@1.5x.png +0 -0
- /package/src/{assets/components → components/stepper/assets}/minusSmall@2x.png +0 -0
- /package/src/{assets/components → components/stepper/assets}/minusSmall@3x.png +0 -0
- /package/src/{assets/components → components/stepper/assets}/minusSmall@4x.png +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/plusOutline.png +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/plusOutline@1.5x.png +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/plusOutline@2x.png +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/plusOutline@3x.png +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/plusOutline@4x.png +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/plusOutlineSmall.png +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/plusOutlineSmall@1.5x.png +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/plusOutlineSmall@2x.png +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/plusOutlineSmall@3x.png +0 -0
- /package/src/{assets/components/outline → components/stepper/assets}/plusOutlineSmall@4x.png +0 -0
- /package/src/{assets/components → components/stepper/assets}/plusSmall.png +0 -0
- /package/src/{assets/components → components/stepper/assets}/plusSmall@1.5x.png +0 -0
- /package/src/{assets/components → components/stepper/assets}/plusSmall@2x.png +0 -0
- /package/src/{assets/components → components/stepper/assets}/plusSmall@3x.png +0 -0
- /package/src/{assets/components → components/stepper/assets}/plusSmall@4x.png +0 -0
- /package/src/{assets/components → components/wizard/assets}/checkMarkSmall.png +0 -0
- /package/src/{assets/components → components/wizard/assets}/checkMarkSmall@1.5x.png +0 -0
- /package/src/{assets/components → components/wizard/assets}/checkMarkSmall@2x.png +0 -0
- /package/src/{assets/components → components/wizard/assets}/checkMarkSmall@3x.png +0 -0
- /package/src/{assets/components → components/wizard/assets}/checkMarkSmall@4x.png +0 -0
- /package/src/{assets/components → components/wizard/assets}/exclamationSmall.png +0 -0
- /package/src/{assets/components → components/wizard/assets}/exclamationSmall@1.5x.png +0 -0
- /package/src/{assets/components → components/wizard/assets}/exclamationSmall@2x.png +0 -0
- /package/src/{assets/components → components/wizard/assets}/exclamationSmall@3x.png +0 -0
- /package/src/{assets/components → components/wizard/assets}/exclamationSmall@4x.png +0 -0
package/package.json
CHANGED
|
@@ -7,6 +7,7 @@ const fs = require('fs');
|
|
|
7
7
|
|
|
8
8
|
const COMPONENTS_DOCS_DIR = './docs/components';
|
|
9
9
|
const SERVICES_DOCS_DIR = './docs/services';
|
|
10
|
+
const FOUNDATION_DOCS_DIR = './docs/foundation';
|
|
10
11
|
|
|
11
12
|
const VALID_COMPONENTS_CATEGORIES = [
|
|
12
13
|
'foundation',
|
|
@@ -92,14 +93,22 @@ function processComponents(components) {
|
|
|
92
93
|
content += `${buildOldDocs(component)}\n`;
|
|
93
94
|
}
|
|
94
95
|
|
|
95
|
-
|
|
96
96
|
let dirPath;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
97
|
+
switch (component.category) {
|
|
98
|
+
case 'services': {
|
|
99
|
+
dirPath = `${SERVICES_DOCS_DIR}`;
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
case 'foundation': {
|
|
103
|
+
dirPath = `${FOUNDATION_DOCS_DIR}`;
|
|
104
|
+
break;
|
|
105
|
+
}
|
|
106
|
+
default: {
|
|
107
|
+
const componentParentDir =
|
|
108
|
+
componentParentName || isParentComponent ? `/${componentParentName || componentName}` : '';
|
|
109
|
+
dirPath = `${COMPONENTS_DOCS_DIR}/${component.category}${componentParentDir}`;
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
103
112
|
}
|
|
104
113
|
|
|
105
114
|
if (!fs.existsSync(dirPath)) {
|
|
@@ -184,7 +193,7 @@ function buildOldDocs(component) {
|
|
|
184
193
|
/* Snippet */
|
|
185
194
|
if (component.snippet) {
|
|
186
195
|
content += `### Usage\n`;
|
|
187
|
-
content += `<UILivePreview code={\`${component.snippet
|
|
196
|
+
content += `<UILivePreview componentName={"${component.name}"} code={\`${component.snippet
|
|
188
197
|
?.map(item => _.replace(item, new RegExp(/\$[1-9]/, 'g'), ''))
|
|
189
198
|
.join('\n')
|
|
190
199
|
.toString()}\`}/>\n\n`;
|
package/src/assets/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Constants } from "../../commons/new";
|
|
|
6
6
|
import { useCombinedRefs, useDidUpdate } from "../../hooks";
|
|
7
7
|
import TextField from "../textField";
|
|
8
8
|
import Chip from "../chip";
|
|
9
|
-
|
|
9
|
+
const removeIcon = require("./assets/xSmall.png");
|
|
10
10
|
export let ChipsInputChangeReason = /*#__PURE__*/function (ChipsInputChangeReason) {
|
|
11
11
|
ChipsInputChangeReason["Added"] = "added";
|
|
12
12
|
ChipsInputChangeReason["Removed"] = "removed";
|
|
@@ -85,7 +85,7 @@ const ChipsInput = forwardRef((props, refToForward) => {
|
|
|
85
85
|
return <Chip key={index} customValue={index}
|
|
86
86
|
// resetSpacings
|
|
87
87
|
// paddingH-s2
|
|
88
|
-
marginR-s2 marginB-s2 dismissIcon={
|
|
88
|
+
marginR-s2 marginB-s2 dismissIcon={removeIcon} recorderTag={'mask'} {...defaultChipProps} {...chip.invalid ? invalidChipProps : undefined} {...chip} onPress={onChipPress} onDismiss={isMarkedForRemoval ? removeMarkedChip : undefined} />;
|
|
89
89
|
};
|
|
90
90
|
const chipList = useMemo(() => {
|
|
91
91
|
return <>
|
|
@@ -6,6 +6,7 @@ import { asBaseComponent, Constants } from "../../commons/new";
|
|
|
6
6
|
import View from "../view";
|
|
7
7
|
import TouchableOpacity from "../touchableOpacity";
|
|
8
8
|
import Image from "../image";
|
|
9
|
+
const transparentImage = require("./assets/transparentSwatch/TransparentSwatch.png");
|
|
9
10
|
const DEFAULT_SIZE = Constants.isTablet ? 44 : 36;
|
|
10
11
|
export const SWATCH_MARGIN = 12;
|
|
11
12
|
export const SWATCH_SIZE = DEFAULT_SIZE;
|
|
@@ -140,7 +141,7 @@ class ColorSwatch extends PureComponent {
|
|
|
140
141
|
height: size,
|
|
141
142
|
borderRadius: size / 2
|
|
142
143
|
}, style]} onLayout={this.onLayout} {...this.getAccessibilityInfo()}>
|
|
143
|
-
{Colors.isTransparent(this.color) && <Image source={
|
|
144
|
+
{Colors.isTransparent(this.color) && <Image source={transparentImage} style={this.styles.transparentImage} resizeMode={'cover'} />}
|
|
144
145
|
{unavailable ? <View style={[this.styles.unavailable, {
|
|
145
146
|
backgroundColor: tintColor
|
|
146
147
|
}]} /> : <Animated.Image source={Assets.icons.check} style={{
|
|
@@ -6,7 +6,6 @@ import View from "../view";
|
|
|
6
6
|
import Image from "../image";
|
|
7
7
|
import Modal from "../modal";
|
|
8
8
|
import TouchableOpacity from "../touchableOpacity";
|
|
9
|
-
import Assets from "../../assets";
|
|
10
9
|
import { HintPositions, HintProps, TargetAlignments } from "./types";
|
|
11
10
|
import useHintVisibility from "./hooks/useHintVisibility";
|
|
12
11
|
import useHintLayout from "./hooks/useHintLayout";
|
|
@@ -15,6 +14,8 @@ import useHintPosition from "./hooks/useHintPosition";
|
|
|
15
14
|
import HintMockChildren from "./HintMockChildren";
|
|
16
15
|
import HintAnchor from "./HintAnchor";
|
|
17
16
|
import HintBubble from "./HintBubble";
|
|
17
|
+
const sideTip = require("./assets/hintTipSide.png");
|
|
18
|
+
const middleTip = require("./assets/hintTipMiddle.png");
|
|
18
19
|
const DEFAULT_COLOR = Colors.$backgroundPrimaryHeavy;
|
|
19
20
|
const DEFAULT_HINT_OFFSET = Spacings.s4;
|
|
20
21
|
const DEFAULT_EDGE_MARGINS = Spacings.s5;
|
|
@@ -124,7 +125,7 @@ const Hint = props => {
|
|
|
124
125
|
}
|
|
125
126
|
};
|
|
126
127
|
const renderHintTip = () => {
|
|
127
|
-
const source = useSideTip ?
|
|
128
|
+
const source = useSideTip ? sideTip : middleTip;
|
|
128
129
|
const flipVertically = position === HintPositions.TOP;
|
|
129
130
|
const flipHorizontally = targetAlignmentOnScreen === TargetAlignments.RIGHT;
|
|
130
131
|
const flipStyle = {
|
|
@@ -156,7 +156,7 @@ class Image extends PureComponent {
|
|
|
156
156
|
} = modifiers;
|
|
157
157
|
return (
|
|
158
158
|
// @ts-ignore
|
|
159
|
-
<ImageView style={[
|
|
159
|
+
<ImageView style={[tintColor && {
|
|
160
160
|
tintColor
|
|
161
161
|
}, shouldFlipRTL && styles.rtlFlipped, width && {
|
|
162
162
|
width
|
|
@@ -4,8 +4,8 @@ import { Typography, Colors } from "../../../style";
|
|
|
4
4
|
import View from "../../view";
|
|
5
5
|
import Text from "../../text";
|
|
6
6
|
import Icon from "../../icon";
|
|
7
|
-
import Assets from "../../../assets";
|
|
8
7
|
import { PickerFieldTypes } from "../types";
|
|
8
|
+
const dropdown = require("../assets/dropdown.png");
|
|
9
9
|
const useFieldType = props => {
|
|
10
10
|
const {
|
|
11
11
|
fieldType,
|
|
@@ -30,7 +30,7 @@ const useFieldType = props => {
|
|
|
30
30
|
...Typography.text70,
|
|
31
31
|
color: Colors.$textNeutral
|
|
32
32
|
},
|
|
33
|
-
trailingAccessory: trailingAccessory ?? <Icon marginL-s1 source={
|
|
33
|
+
trailingAccessory: trailingAccessory ?? <Icon marginL-s1 source={dropdown} />
|
|
34
34
|
};
|
|
35
35
|
} else if (fieldType === PickerFieldTypes.settings) {
|
|
36
36
|
return {
|
|
@@ -7,11 +7,11 @@ import Button, { ButtonSize } from "../button";
|
|
|
7
7
|
import Card from "../card";
|
|
8
8
|
import { Constants, asBaseComponent } from "../../commons/new";
|
|
9
9
|
import { useDidUpdate } from "../../hooks";
|
|
10
|
-
import Assets from "../../assets";
|
|
11
10
|
const PEEP = 8;
|
|
12
11
|
const DURATION = 300;
|
|
13
12
|
const MARGIN_BOTTOM = 24;
|
|
14
13
|
const buttonStartValue = 0.8;
|
|
14
|
+
const icon = require("./assets/arrow-down.png");
|
|
15
15
|
/**
|
|
16
16
|
* @description: Stack aggregator component
|
|
17
17
|
* @modifiers: margin, padding
|
|
@@ -198,7 +198,7 @@ const StackAggregator = props => {
|
|
|
198
198
|
scale: animatedScale
|
|
199
199
|
}]
|
|
200
200
|
}}>
|
|
201
|
-
<Button label={'Show less'} iconSource={
|
|
201
|
+
<Button label={'Show less'} iconSource={icon} link size={ButtonSize.small} {...buttonProps} marginH-24 marginB-20 onPress={close} style={styles.button} />
|
|
202
202
|
</Animated.View>
|
|
203
203
|
|
|
204
204
|
{React.Children.map(children, (item, index) => {
|
|
@@ -6,12 +6,17 @@ import { asBaseComponent } from "../../commons/new";
|
|
|
6
6
|
import View from "../view";
|
|
7
7
|
import Text from "../text";
|
|
8
8
|
import Button from "../button";
|
|
9
|
-
import Assets from "../../assets";
|
|
10
9
|
var ActionType = /*#__PURE__*/function (ActionType) {
|
|
11
10
|
ActionType["MINUS"] = "minus";
|
|
12
11
|
ActionType["PLUS"] = "plus";
|
|
13
12
|
return ActionType;
|
|
14
13
|
}(ActionType || {});
|
|
14
|
+
const minusOutline = require("./assets/minusOutline.png");
|
|
15
|
+
const minusOutlineSmall = require("./assets/minusOutlineSmall.png");
|
|
16
|
+
const plusOutline = require("./assets/plusOutline.png");
|
|
17
|
+
const plusOutlineSmall = require("./assets/plusOutlineSmall.png");
|
|
18
|
+
const plusSmall = require("./assets/plusSmall.png");
|
|
19
|
+
const minusSmall = require("./assets/minusSmall.png");
|
|
15
20
|
const DEFAULT_STEP = 1;
|
|
16
21
|
/**
|
|
17
22
|
* @description: A stepper component
|
|
@@ -145,8 +150,8 @@ class Stepper extends PureComponent {
|
|
|
145
150
|
} = this.props;
|
|
146
151
|
const allowStepChange = this.allowStepChange(actionType);
|
|
147
152
|
const isFloatingStepper = type === 'floating';
|
|
148
|
-
const minusButton = isFloatingStepper ?
|
|
149
|
-
const plusButton = isFloatingStepper ?
|
|
153
|
+
const minusButton = isFloatingStepper ? minusSmall : small ? minusOutlineSmall : minusOutline;
|
|
154
|
+
const plusButton = isFloatingStepper ? plusSmall : small ? plusOutlineSmall : plusOutline;
|
|
150
155
|
return <Button link color={isFloatingStepper ? Colors.$iconDefault : undefined} iconSource={actionType === ActionType.MINUS ? minusButton : plusButton} disabled={disabled || !allowStepChange} onPress={() => this.handleStepChange(actionType)} testID={actionType === ActionType.MINUS ? `${testID}.minusStep` : `${testID}.plusStep`} />;
|
|
151
156
|
}
|
|
152
157
|
render() {
|
|
@@ -285,38 +285,6 @@
|
|
|
285
285
|
"description": "html:<h2>Title</h2><p>This is a html content</p><ul><li>item 1</li><li>item 2</li></ul>"
|
|
286
286
|
}
|
|
287
287
|
]
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
"title": "Code",
|
|
291
|
-
"sections": [
|
|
292
|
-
{
|
|
293
|
-
"title": "Usage",
|
|
294
|
-
"type": "usage"
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
"type": "info"
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"type": "tip"
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"type": "banner",
|
|
304
|
-
"title": "NOTE",
|
|
305
|
-
"description": "This is an interesting information"
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
"type": "banner",
|
|
309
|
-
"title": "Banner",
|
|
310
|
-
"description": "This is some massage to the user",
|
|
311
|
-
"color": "pink",
|
|
312
|
-
"icon": ""
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
"type": "props",
|
|
316
|
-
"title": "API",
|
|
317
|
-
"description": "This is the list of additional props for the Text component"
|
|
318
|
-
}
|
|
319
|
-
]
|
|
320
288
|
}
|
|
321
289
|
]
|
|
322
290
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Colors from "../../style/colors";
|
|
2
|
-
|
|
2
|
+
const checkMarkSmall = require("./assets/checkMarkSmall.png");
|
|
3
|
+
const exclamationSmall = require("./assets/exclamationSmall.png");
|
|
3
4
|
export const StatesConfig = {
|
|
4
5
|
enabled: {
|
|
5
6
|
color: Colors.$textNeutralHeavy,
|
|
@@ -13,7 +14,7 @@ export const StatesConfig = {
|
|
|
13
14
|
error: {
|
|
14
15
|
color: Colors.$iconDangerLight,
|
|
15
16
|
circleColor: Colors.$outlineDanger,
|
|
16
|
-
icon:
|
|
17
|
+
icon: exclamationSmall,
|
|
17
18
|
enabled: true,
|
|
18
19
|
accessibilityInfo: 'Validation Error'
|
|
19
20
|
},
|
|
@@ -26,7 +27,7 @@ export const StatesConfig = {
|
|
|
26
27
|
completed: {
|
|
27
28
|
color: Colors.$iconNeutral,
|
|
28
29
|
circleColor: Colors.$outlineDisabled,
|
|
29
|
-
icon:
|
|
30
|
+
icon: checkMarkSmall,
|
|
30
31
|
enabled: true,
|
|
31
32
|
accessibilityInfo: 'Completed'
|
|
32
33
|
},
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const components: {
|
|
2
|
-
readonly outline: {
|
|
3
|
-
readonly minus: any;
|
|
4
|
-
readonly minusSmall: any;
|
|
5
|
-
readonly plus: any;
|
|
6
|
-
readonly plusSmall: any;
|
|
7
|
-
};
|
|
8
|
-
readonly arrowDown: any;
|
|
9
|
-
readonly checkMarkSmall: any;
|
|
10
|
-
readonly dropdown: any;
|
|
11
|
-
readonly exclamationSmall: any;
|
|
12
|
-
readonly hintTipMiddle: any;
|
|
13
|
-
readonly hintTipSide: any;
|
|
14
|
-
readonly minusSmall: any;
|
|
15
|
-
readonly plusSmall: any;
|
|
16
|
-
readonly transparentSwatch: any;
|
|
17
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export const components = {
|
|
2
|
-
get outline() {
|
|
3
|
-
return require("./outline").default;
|
|
4
|
-
},
|
|
5
|
-
get arrowDown() {
|
|
6
|
-
return require("./arrowDown.png");
|
|
7
|
-
},
|
|
8
|
-
get checkMarkSmall() {
|
|
9
|
-
return require("./checkMarkSmall.png");
|
|
10
|
-
},
|
|
11
|
-
get dropdown() {
|
|
12
|
-
return require("./dropdown.png");
|
|
13
|
-
},
|
|
14
|
-
get exclamationSmall() {
|
|
15
|
-
return require("./exclamationSmall.png");
|
|
16
|
-
},
|
|
17
|
-
get hintTipMiddle() {
|
|
18
|
-
return require("./hintTipMiddle.png");
|
|
19
|
-
},
|
|
20
|
-
get hintTipSide() {
|
|
21
|
-
return require("./hintTipSide.png");
|
|
22
|
-
},
|
|
23
|
-
get minusSmall() {
|
|
24
|
-
return require("./minusSmall.png");
|
|
25
|
-
},
|
|
26
|
-
get plusSmall() {
|
|
27
|
-
return require("./plusSmall.png");
|
|
28
|
-
},
|
|
29
|
-
get transparentSwatch() {
|
|
30
|
-
return require("./TransparentSwatch.png");
|
|
31
|
-
}
|
|
32
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
const outline = require('./outline').default;
|
|
2
|
-
|
|
3
|
-
const components = {
|
|
4
|
-
get outline() {
|
|
5
|
-
return outline;
|
|
6
|
-
},
|
|
7
|
-
get arrowDown() {
|
|
8
|
-
return {uri: require('./arrowDown.png'), dimensions: {width: 16, height: 16}};
|
|
9
|
-
},
|
|
10
|
-
get checkMarkSmall() {
|
|
11
|
-
return {uri: require('./checkMarkSmall.png'), dimensions: {width: 16, height: 16}};
|
|
12
|
-
},
|
|
13
|
-
get dropdown() {
|
|
14
|
-
return {uri: require('./dropdown.png'), dimensions: {width: 16, height: 16}};
|
|
15
|
-
},
|
|
16
|
-
get exclamationSmall() {
|
|
17
|
-
return {uri: require('./exclamationSmall.png'), dimensions: {width: 16, height: 16}};
|
|
18
|
-
},
|
|
19
|
-
get hintTipMiddle() {
|
|
20
|
-
return {uri: require('./hintTipMiddle.png'), dimensions: {width: 20, height: 7}};
|
|
21
|
-
},
|
|
22
|
-
get hintTipSide() {
|
|
23
|
-
return {uri: require('./hintTipSide.png'), dimensions: {width: 20, height: 24}};
|
|
24
|
-
},
|
|
25
|
-
get minusSmall() {
|
|
26
|
-
return {uri: require('./minusSmall.png'), dimensions: {width: 16, height: 16}};
|
|
27
|
-
},
|
|
28
|
-
get plusSmall() {
|
|
29
|
-
return {uri: require('./plusSmall.png'), dimensions: {width: 16, height: 16}};
|
|
30
|
-
},
|
|
31
|
-
get transparentSwatch() {
|
|
32
|
-
return {uri: require('./TransparentSwatch.png'), dimensions: {width: 100, height: 100}};
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
module.exports = components;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
get minus() {
|
|
3
|
-
return require("./minusOutline.png");
|
|
4
|
-
},
|
|
5
|
-
get minusSmall() {
|
|
6
|
-
return require("./minusOutlineSmall.png");
|
|
7
|
-
},
|
|
8
|
-
get plus() {
|
|
9
|
-
return require("./plusOutline.png");
|
|
10
|
-
},
|
|
11
|
-
get plusSmall() {
|
|
12
|
-
return require("./plusOutlineSmall.png");
|
|
13
|
-
}
|
|
14
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
get minus() {
|
|
3
|
-
return {uri: require('./minusOutline.png'), dimensions: {width: 32, height: 32}};
|
|
4
|
-
},
|
|
5
|
-
get minusSmall() {
|
|
6
|
-
return {uri: require('./minusOutlineSmall.png'), dimensions: {width: 24, height: 24}};
|
|
7
|
-
},
|
|
8
|
-
get plus() {
|
|
9
|
-
return {uri: require('./plusOutline.png'), dimensions: {width: 32, height: 32}};
|
|
10
|
-
},
|
|
11
|
-
get plusSmall() {
|
|
12
|
-
return {uri: require('./plusOutlineSmall.png'), dimensions: {width: 24, height: 24}};
|
|
13
|
-
}
|
|
14
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
const icons = {
|
|
2
|
-
get check() {
|
|
3
|
-
return {uri: require('./check.png'), dimensions: {width: 21, height: 15}};
|
|
4
|
-
},
|
|
5
|
-
get checkSmall() {
|
|
6
|
-
return {uri: require('./check-small.png'), dimensions: {width: 24, height: 24}};
|
|
7
|
-
},
|
|
8
|
-
get minusSmall() {
|
|
9
|
-
return {uri: require('./minusSmall.png'), dimensions: {width: 16, height: 16}};
|
|
10
|
-
},
|
|
11
|
-
get plusSmall() {
|
|
12
|
-
return {uri: require('./plusSmall.png'), dimensions: {width: 16, height: 16}};
|
|
13
|
-
},
|
|
14
|
-
get search() {
|
|
15
|
-
return {uri: require('./search.png'), dimensions: {width: 24, height: 24}};
|
|
16
|
-
},
|
|
17
|
-
get x() {
|
|
18
|
-
return {uri: require('./x.png'), dimensions: {width: 17, height: 16}};
|
|
19
|
-
},
|
|
20
|
-
get xSmall() {
|
|
21
|
-
return {uri: require('./xSmall.png'), dimensions: {width: 16, height: 16}};
|
|
22
|
-
},
|
|
23
|
-
get xMedium() {
|
|
24
|
-
return {uri: require('./xMedium.png'), dimensions: {width: 24, height: 24}};
|
|
25
|
-
},
|
|
26
|
-
get xFlat() {
|
|
27
|
-
return {uri: require('./xFlat.png'), dimensions: {width: 16, height: 16}};
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
module.exports = icons;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/{assets/components/dropDown@1.5x.png → components/picker/assets/dropdown@1.5x.png}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/{assets/components/arrowDown.png → components/stackAggregator/assets/arrow-down.png}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/{assets/components/outline → components/stepper/assets}/minusOutlineSmall@1.5x.png
RENAMED
|
File without changes
|
/package/src/{assets/components/outline → components/stepper/assets}/minusOutlineSmall@2x.png
RENAMED
|
File without changes
|
/package/src/{assets/components/outline → components/stepper/assets}/minusOutlineSmall@3x.png
RENAMED
|
File without changes
|
/package/src/{assets/components/outline → components/stepper/assets}/minusOutlineSmall@4x.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/{assets/components/outline → components/stepper/assets}/plusOutlineSmall@1.5x.png
RENAMED
|
File without changes
|
/package/src/{assets/components/outline → components/stepper/assets}/plusOutlineSmall@2x.png
RENAMED
|
File without changes
|
/package/src/{assets/components/outline → components/stepper/assets}/plusOutlineSmall@3x.png
RENAMED
|
File without changes
|
/package/src/{assets/components/outline → components/stepper/assets}/plusOutlineSmall@4x.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|