@hero-design/rn 8.69.0 → 8.70.0
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/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +17 -0
- package/es/index.js +67 -80
- package/lib/index.js +67 -80
- package/package.json +2 -2
- package/src/components/Card/StyledCard.tsx +6 -2
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +1 -1
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +7 -0
- package/src/components/Card/__tests__/index.spec.tsx +12 -0
- package/src/components/Card/index.tsx +8 -2
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +4 -0
- package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +1 -0
- package/src/components/Chip/StyledChip.tsx +15 -45
- package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +145 -389
- package/src/components/Chip/__tests__/index.spec.tsx +6 -26
- package/src/components/Chip/index.tsx +26 -33
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +9 -6
- package/src/theme/components/card.ts +1 -0
- package/src/theme/components/chip.ts +8 -6
- package/src/theme/global/colors/__tests__/__snapshots__/swagLight.spec.ts.snap +5 -5
- package/src/theme/global/colors/__tests__/__snapshots__/swagLightGlobal.spec.ts.snap +39 -0
- package/src/theme/global/colors/__tests__/__snapshots__/swagLightJobs.spec.ts.snap +5 -5
- package/src/theme/global/colors/__tests__/swagLightGlobal.spec.ts +7 -0
- package/src/theme/global/colors/swagLight.ts +2 -2
- package/src/theme/global/colors/swagLightGlobal.ts +14 -0
- package/stats/8.70.0/rn-stats.html +4842 -0
- package/types/components/Card/StyledCard.d.ts +1 -0
- package/types/components/Card/index.d.ts +2 -1
- package/types/components/Chip/StyledChip.d.ts +1 -19
- package/types/components/Chip/index.d.ts +6 -2
- package/types/theme/components/card.d.ts +1 -0
- package/types/theme/components/chip.d.ts +8 -6
- package/types/theme/global/colors/swagLightGlobal.d.ts +3 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(node:
|
|
1
|
+
(node:2991) ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.
|
|
2
2
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
3
|
-
(node:
|
|
3
|
+
(node:2991) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
|
|
4
4
|
[36m
|
|
5
5
|
[1msrc/index.ts[22m → [1mlib/index.js, es/index.js[22m...[39m
|
|
6
6
|
[1m[33m(!) [plugin replace] @rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.[39m[22m
|
|
7
7
|
[1m[33m(!) [plugin node-resolve] preferring built-in module 'events' over local alternative at '/home/runner/work/hero-design/hero-design/node_modules/events/events.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning.or passing a function to 'preferBuiltins' to provide more fine-grained control over which built-in modules to prefer.[39m[22m
|
|
8
|
-
[32mcreated [1mlib/index.js, es/index.js[22m in [
|
|
8
|
+
[32mcreated [1mlib/index.js, es/index.js[22m in [1m51.7s[22m[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @hero-design/rn
|
|
2
2
|
|
|
3
|
+
## 8.70.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#3421](https://github.com/Thinkei/hero-design/pull/3421) [`1a36cbade6beba151ca794d950db19b3cd38f414`](https://github.com/Thinkei/hero-design/commit/1a36cbade6beba151ca794d950db19b3cd38f414) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Card] Add super-round variant
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#3409](https://github.com/Thinkei/hero-design/pull/3409) [`4566296654e11a8d6be117fb241d1d94e29c4750`](https://github.com/Thinkei/hero-design/commit/4566296654e11a8d6be117fb241d1d94e29c4750) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Chip] Allow hiding selected icon
|
|
12
|
+
|
|
13
|
+
- [#3396](https://github.com/Thinkei/hero-design/pull/3396) [`4fd2a3371237fe4d8dc306380a3575a35e6213f4`](https://github.com/Thinkei/hero-design/commit/4fd2a3371237fe4d8dc306380a3575a35e6213f4) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Chip] Update styling
|
|
14
|
+
|
|
15
|
+
- [#3419](https://github.com/Thinkei/hero-design/pull/3419) [`3b050b79e0cd915fad534c208044852aeb45210c`](https://github.com/Thinkei/hero-design/commit/3b050b79e0cd915fad534c208044852aeb45210c) Thanks [@ttkien](https://github.com/ttkien)! - Add global theme for swaglight
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [[`3b050b79e0cd915fad534c208044852aeb45210c`](https://github.com/Thinkei/hero-design/commit/3b050b79e0cd915fad534c208044852aeb45210c)]:
|
|
18
|
+
- @hero-design/colors@8.45.1
|
|
19
|
+
|
|
3
20
|
## 8.69.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
package/es/index.js
CHANGED
|
@@ -1358,7 +1358,8 @@ var BASE_COLORS = {
|
|
|
1358
1358
|
theatreGold: '#a56822',
|
|
1359
1359
|
uniformGreen: '#4d4628',
|
|
1360
1360
|
yellow: '#fadb14',
|
|
1361
|
-
windsorGrey: '#606065'
|
|
1361
|
+
windsorGrey: '#606065',
|
|
1362
|
+
woodsmoke: '#121214'
|
|
1362
1363
|
};
|
|
1363
1364
|
var colorScales = Object.entries(BASE_COLORS).reduce(function (acc, _ref16) {
|
|
1364
1365
|
var _ref17 = _slicedToArray(_ref16, 2),
|
|
@@ -1739,9 +1740,13 @@ var palette$4 = Object.assign(Object.assign({}, palette$9), {
|
|
|
1739
1740
|
violet: violet1$1.base,
|
|
1740
1741
|
mauve: mauve$1.base
|
|
1741
1742
|
});
|
|
1742
|
-
var violet$3 = colorScales.violet
|
|
1743
|
+
var violet$3 = colorScales.violet,
|
|
1744
|
+
woodsmoke = colorScales.woodsmoke;
|
|
1743
1745
|
var palette$3 = Object.assign(Object.assign({}, palette$9), {
|
|
1744
|
-
violetLight90: violet$3.lighten90
|
|
1746
|
+
violetLight90: violet$3.lighten90,
|
|
1747
|
+
offBlack: woodsmoke.base,
|
|
1748
|
+
offBlackLight30: woodsmoke.lighten30,
|
|
1749
|
+
offBlackLight50: woodsmoke.lighten50
|
|
1745
1750
|
});
|
|
1746
1751
|
var scarletGum = colorScales.scarletGum,
|
|
1747
1752
|
violet1 = colorScales.violet1,
|
|
@@ -1907,6 +1912,14 @@ var swagDarkBrandSystemPalette = {
|
|
|
1907
1912
|
};
|
|
1908
1913
|
var swagDarkSystemPalette = _objectSpread2(_objectSpread2({}, globalPalette), swagDarkBrandSystemPalette);
|
|
1909
1914
|
|
|
1915
|
+
var swagLightGlobalPalette = _objectSpread2(_objectSpread2({}, globalPalette$1), {}, {
|
|
1916
|
+
onDefaultGlobalSurface: palette$3.offBlack,
|
|
1917
|
+
mutedOnDefaultGlobalSurface: palette$3.offBlackLight30,
|
|
1918
|
+
inactiveOnDefaultGlobalSurface: palette$3.offBlackLight50,
|
|
1919
|
+
primaryOutline: palette$3.offBlack,
|
|
1920
|
+
inactiveOutline: palette$3.offBlackLight50
|
|
1921
|
+
});
|
|
1922
|
+
|
|
1910
1923
|
var swagBrandSystemPallete = {
|
|
1911
1924
|
primary: '#460078',
|
|
1912
1925
|
onPrimary: '#fdfbff',
|
|
@@ -1918,7 +1931,7 @@ var swagBrandSystemPallete = {
|
|
|
1918
1931
|
decorativePrimary: '#fdfbff',
|
|
1919
1932
|
decorativePrimarySurface: '#dacce4'
|
|
1920
1933
|
};
|
|
1921
|
-
var swagSystemPalette = _objectSpread2(_objectSpread2({},
|
|
1934
|
+
var swagSystemPalette = _objectSpread2(_objectSpread2({}, swagLightGlobalPalette), swagBrandSystemPallete);
|
|
1922
1935
|
|
|
1923
1936
|
var swagLightJobsSystemPalette = _objectSpread2(_objectSpread2({}, swagSystemPalette), {}, {
|
|
1924
1937
|
secondary: '#40d1ff',
|
|
@@ -2527,7 +2540,8 @@ var getCardTheme = function getCardTheme(theme) {
|
|
|
2527
2540
|
indicatorWidth: theme.sizes.medium
|
|
2528
2541
|
};
|
|
2529
2542
|
var radii = {
|
|
2530
|
-
"default": theme.radii.large
|
|
2543
|
+
"default": theme.radii.large,
|
|
2544
|
+
superRound: theme.radii.xxxlarge
|
|
2531
2545
|
};
|
|
2532
2546
|
return {
|
|
2533
2547
|
colors: colors,
|
|
@@ -2616,21 +2630,23 @@ var getCheckboxTheme = function getCheckboxTheme(theme) {
|
|
|
2616
2630
|
|
|
2617
2631
|
var getChipTheme = function getChipTheme(theme) {
|
|
2618
2632
|
var colors = {
|
|
2619
|
-
primaryBackground: theme.colors.darkGlobalSurface,
|
|
2620
2633
|
secondaryBackground: theme.colors.highlightedSurface,
|
|
2621
2634
|
filledBackground: theme.colors.defaultGlobalSurface,
|
|
2622
|
-
outlinedBackground: 'transparent',
|
|
2623
|
-
wrapperBorder: theme.colors.primaryOutline,
|
|
2624
2635
|
wrapperSelectedBorder: 'transparent',
|
|
2625
|
-
|
|
2636
|
+
outlinedDefaultBackground: theme.colors.defaultGlobalSurface,
|
|
2637
|
+
outlinedSelectedBackground: theme.colors.secondaryOutline,
|
|
2638
|
+
outlinedSelectedBorder: theme.colors.primaryOutline,
|
|
2639
|
+
outlinedDefaultBorder: theme.colors.disabledOnDefaultGlobalSurface
|
|
2626
2640
|
};
|
|
2627
2641
|
var space = {
|
|
2628
2642
|
wrapperHorizontalPadding: theme.space.smallMedium,
|
|
2629
2643
|
wrapperVerticalPadding: theme.space.small,
|
|
2630
|
-
|
|
2644
|
+
iconWrapperHorizontalMargin: theme.space.small,
|
|
2645
|
+
outlinedSelectedMarginTop: -theme.space.xxsmall
|
|
2631
2646
|
};
|
|
2632
2647
|
var sizes = {
|
|
2633
|
-
|
|
2648
|
+
outlinedDefaultBorder: theme.borderWidths.base,
|
|
2649
|
+
outlinedSelectedBorder: theme.borderWidths.medium
|
|
2634
2650
|
};
|
|
2635
2651
|
var radii = {
|
|
2636
2652
|
wrapper: theme.radii.rounded
|
|
@@ -7045,7 +7061,7 @@ var Caption = function Caption(_ref) {
|
|
|
7045
7061
|
}), children);
|
|
7046
7062
|
};
|
|
7047
7063
|
|
|
7048
|
-
var StyledLabel
|
|
7064
|
+
var StyledLabel = index$9(Text$1)(function (_ref) {
|
|
7049
7065
|
var themeIntent = _ref.themeIntent,
|
|
7050
7066
|
theme = _ref.theme;
|
|
7051
7067
|
return {
|
|
@@ -7064,7 +7080,7 @@ var Label = function Label(_ref) {
|
|
|
7064
7080
|
_ref$allowFontScaling = _ref.allowFontScaling,
|
|
7065
7081
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
7066
7082
|
nativeProps = _objectWithoutProperties(_ref, _excluded$D);
|
|
7067
|
-
return /*#__PURE__*/React__default.createElement(StyledLabel
|
|
7083
|
+
return /*#__PURE__*/React__default.createElement(StyledLabel, _extends$1({}, nativeProps, {
|
|
7068
7084
|
themeIntent: intent,
|
|
7069
7085
|
allowFontScaling: allowFontScaling
|
|
7070
7086
|
}), children);
|
|
@@ -7872,7 +7888,7 @@ var IconContainer$1 = index$9(View)(function (_ref2) {
|
|
|
7872
7888
|
paddingLeft: theme.__hd__.alert.space.iconLeftPadding
|
|
7873
7889
|
};
|
|
7874
7890
|
});
|
|
7875
|
-
var StyledIcon$
|
|
7891
|
+
var StyledIcon$1 = index$9(Icon)(function (_ref3) {
|
|
7876
7892
|
var theme = _ref3.theme,
|
|
7877
7893
|
themeIntent = _ref3.themeIntent;
|
|
7878
7894
|
return {
|
|
@@ -7931,7 +7947,7 @@ var AlertIcon = function AlertIcon(_ref) {
|
|
|
7931
7947
|
intent = _ref.intent;
|
|
7932
7948
|
return icon ? /*#__PURE__*/React__default.createElement(IconContainer$1, {
|
|
7933
7949
|
testID: "alert-left-icon"
|
|
7934
|
-
}, /*#__PURE__*/React__default.createElement(StyledIcon$
|
|
7950
|
+
}, /*#__PURE__*/React__default.createElement(StyledIcon$1, {
|
|
7935
7951
|
icon: icon,
|
|
7936
7952
|
size: "small",
|
|
7937
7953
|
themeIntent: intent
|
|
@@ -7972,7 +7988,7 @@ var Alert = function Alert(_ref2) {
|
|
|
7972
7988
|
}, typeof actionLabel === 'string' ? /*#__PURE__*/React__default.createElement(StyledBody, {
|
|
7973
7989
|
variant: "small-bold",
|
|
7974
7990
|
themeIntent: intent
|
|
7975
|
-
}, actionLabel) : /*#__PURE__*/React__default.createElement(StyledIcon$
|
|
7991
|
+
}, actionLabel) : /*#__PURE__*/React__default.createElement(StyledIcon$1, {
|
|
7976
7992
|
icon: "cancel",
|
|
7977
7993
|
size: "small",
|
|
7978
7994
|
themeIntent: intent
|
|
@@ -8925,7 +8941,7 @@ var StyledFooter = index$9(View)(function (_ref6) {
|
|
|
8925
8941
|
flexDirection: 'row'
|
|
8926
8942
|
};
|
|
8927
8943
|
});
|
|
8928
|
-
var StyledIconWrapper$
|
|
8944
|
+
var StyledIconWrapper$3 = index$9(View)(function (_ref7) {
|
|
8929
8945
|
var theme = _ref7.theme;
|
|
8930
8946
|
return {
|
|
8931
8947
|
alignItems: 'flex-end',
|
|
@@ -9454,7 +9470,7 @@ var Header = function Header(_ref) {
|
|
|
9454
9470
|
style: {
|
|
9455
9471
|
flex: 1
|
|
9456
9472
|
}
|
|
9457
|
-
}, content), showCloseButton ? /*#__PURE__*/React__default.createElement(StyledIconWrapper$
|
|
9473
|
+
}, content), showCloseButton ? /*#__PURE__*/React__default.createElement(StyledIconWrapper$3, null, variant === 'fixed' ? /*#__PURE__*/React__default.createElement(CompoundButton.Icon, {
|
|
9458
9474
|
icon: "cancel",
|
|
9459
9475
|
onPress: onRequestClose,
|
|
9460
9476
|
intent: "text",
|
|
@@ -12306,22 +12322,26 @@ var DataCard = function DataCard(_ref) {
|
|
|
12306
12322
|
|
|
12307
12323
|
var StyledCard$1 = index$9(View)(function (_ref) {
|
|
12308
12324
|
var theme = _ref.theme,
|
|
12309
|
-
themeIntent = _ref.themeIntent
|
|
12325
|
+
themeIntent = _ref.themeIntent,
|
|
12326
|
+
themeVariant = _ref.themeVariant;
|
|
12310
12327
|
return _objectSpread2(_objectSpread2({}, themeIntent !== undefined && {
|
|
12311
12328
|
backgroundColor: theme.__hd__.card.colors[themeIntent]
|
|
12312
12329
|
}), {}, {
|
|
12313
|
-
borderRadius: theme.__hd__.card.radii["default"],
|
|
12330
|
+
borderRadius: themeVariant === 'basic' ? theme.__hd__.card.radii["default"] : theme.__hd__.card.radii.superRound,
|
|
12314
12331
|
overflow: 'hidden'
|
|
12315
12332
|
});
|
|
12316
12333
|
});
|
|
12317
12334
|
|
|
12318
|
-
var _excluded$p = ["intent", "children"];
|
|
12335
|
+
var _excluded$p = ["intent", "children", "variant"];
|
|
12319
12336
|
var Card = function Card(_ref) {
|
|
12320
12337
|
var intent = _ref.intent,
|
|
12321
12338
|
children = _ref.children,
|
|
12339
|
+
_ref$variant = _ref.variant,
|
|
12340
|
+
variant = _ref$variant === void 0 ? 'basic' : _ref$variant,
|
|
12322
12341
|
nativeProps = _objectWithoutProperties(_ref, _excluded$p);
|
|
12323
12342
|
return /*#__PURE__*/React__default.createElement(StyledCard$1, _extends$1({}, nativeProps, {
|
|
12324
|
-
themeIntent: intent
|
|
12343
|
+
themeIntent: intent,
|
|
12344
|
+
themeVariant: variant
|
|
12325
12345
|
}), children);
|
|
12326
12346
|
};
|
|
12327
12347
|
var Card$1 = Object.assign(Card, {
|
|
@@ -12873,26 +12893,19 @@ var StyledChipWrapper = index$9(TouchableOpacity)(function (_ref) {
|
|
|
12873
12893
|
}
|
|
12874
12894
|
};
|
|
12875
12895
|
var getBorderStyles = function getBorderStyles() {
|
|
12876
|
-
var commonStyle = {
|
|
12877
|
-
borderWidth: theme.__hd__.chip.sizes.wrapperBorder
|
|
12878
|
-
};
|
|
12879
|
-
if (themeSelected) {
|
|
12880
|
-
return _objectSpread2(_objectSpread2({}, commonStyle), {}, {
|
|
12881
|
-
borderColor: theme.__hd__.chip.colors.wrapperSelectedBorder
|
|
12882
|
-
});
|
|
12883
|
-
}
|
|
12884
12896
|
switch (themeVariant) {
|
|
12885
12897
|
case 'outlined':
|
|
12886
12898
|
{
|
|
12887
|
-
return
|
|
12888
|
-
borderColor: theme.__hd__.chip.colors.
|
|
12889
|
-
|
|
12899
|
+
return {
|
|
12900
|
+
borderColor: themeSelected ? theme.__hd__.chip.colors.outlinedSelectedBorder : theme.__hd__.chip.colors.outlinedDefaultBorder,
|
|
12901
|
+
borderWidth: themeSelected ? theme.__hd__.chip.sizes.outlinedSelectedBorder : theme.__hd__.chip.sizes.outlinedDefaultBorder
|
|
12902
|
+
};
|
|
12890
12903
|
}
|
|
12891
12904
|
case 'filled':
|
|
12892
12905
|
{
|
|
12893
|
-
return
|
|
12906
|
+
return {
|
|
12894
12907
|
borderColor: theme.__hd__.chip.colors.wrapperSelectedBorder
|
|
12895
|
-
}
|
|
12908
|
+
};
|
|
12896
12909
|
}
|
|
12897
12910
|
}
|
|
12898
12911
|
};
|
|
@@ -12902,7 +12915,7 @@ var StyledChipWrapper = index$9(TouchableOpacity)(function (_ref) {
|
|
|
12902
12915
|
case 'outlined':
|
|
12903
12916
|
{
|
|
12904
12917
|
return {
|
|
12905
|
-
backgroundColor: theme.__hd__.chip.colors.
|
|
12918
|
+
backgroundColor: themeSelected ? theme.__hd__.chip.colors.outlinedSelectedBackground : theme.__hd__.chip.colors.outlinedDefaultBackground
|
|
12906
12919
|
};
|
|
12907
12920
|
}
|
|
12908
12921
|
case 'filled':
|
|
@@ -12915,7 +12928,7 @@ var StyledChipWrapper = index$9(TouchableOpacity)(function (_ref) {
|
|
|
12915
12928
|
case 'outlined':
|
|
12916
12929
|
{
|
|
12917
12930
|
return {
|
|
12918
|
-
backgroundColor: theme.__hd__.chip.colors.
|
|
12931
|
+
backgroundColor: theme.__hd__.chip.colors.outlinedDefaultBackground
|
|
12919
12932
|
};
|
|
12920
12933
|
}
|
|
12921
12934
|
case 'filled':
|
|
@@ -12933,33 +12946,11 @@ var StyledChipWrapper = index$9(TouchableOpacity)(function (_ref) {
|
|
|
12933
12946
|
borderRadius: theme.__hd__.chip.radii.wrapper,
|
|
12934
12947
|
paddingVertical: theme.__hd__.chip.space.wrapperVerticalPadding,
|
|
12935
12948
|
paddingHorizontal: theme.__hd__.chip.space.wrapperHorizontalPadding,
|
|
12936
|
-
|
|
12949
|
+
marginTop: themeSelected ? theme.__hd__.chip.space.outlinedSelectedMarginTop : undefined
|
|
12937
12950
|
}, getShadowStyles()), getBorderStyles()), getBackgroundStyles());
|
|
12938
12951
|
});
|
|
12939
|
-
var StyledIconWrapper$3 = index$9(Box)(function (_ref2) {
|
|
12940
|
-
var theme = _ref2.theme;
|
|
12941
|
-
return {
|
|
12942
|
-
marginRight: theme.__hd__.chip.space.iconWrapperMarginRight
|
|
12943
|
-
};
|
|
12944
|
-
});
|
|
12945
|
-
var StyledLabel = index$9(Typography.Body)(function (_ref3) {
|
|
12946
|
-
var themeSelected = _ref3.themeSelected,
|
|
12947
|
-
themeVariant = _ref3.themeVariant,
|
|
12948
|
-
theme = _ref3.theme;
|
|
12949
|
-
return {
|
|
12950
|
-
color: themeSelected && themeVariant === 'outlined' ? theme.__hd__.chip.colors.selectedPrimaryText : undefined
|
|
12951
|
-
};
|
|
12952
|
-
});
|
|
12953
|
-
var StyledIcon$1 = index$9(Icon)(function (_ref4) {
|
|
12954
|
-
var themeSelected = _ref4.themeSelected,
|
|
12955
|
-
themeVariant = _ref4.themeVariant,
|
|
12956
|
-
theme = _ref4.theme;
|
|
12957
|
-
return {
|
|
12958
|
-
color: themeSelected && themeVariant === 'outlined' ? theme.__hd__.chip.colors.selectedPrimaryText : undefined
|
|
12959
|
-
};
|
|
12960
|
-
});
|
|
12961
12952
|
|
|
12962
|
-
var _excluded$m = ["label", "variant", "selected", "icon", "onPress"];
|
|
12953
|
+
var _excluded$m = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon"];
|
|
12963
12954
|
var Chip = function Chip(_ref) {
|
|
12964
12955
|
var label = _ref.label,
|
|
12965
12956
|
_ref$variant = _ref.variant,
|
|
@@ -12968,31 +12959,27 @@ var Chip = function Chip(_ref) {
|
|
|
12968
12959
|
selected = _ref$selected === void 0 ? false : _ref$selected,
|
|
12969
12960
|
icon = _ref.icon,
|
|
12970
12961
|
onPress = _ref.onPress,
|
|
12962
|
+
_ref$showSelectedIcon = _ref.showSelectedIcon,
|
|
12963
|
+
showSelectedIcon = _ref$showSelectedIcon === void 0 ? true : _ref$showSelectedIcon,
|
|
12971
12964
|
otherProps = _objectWithoutProperties(_ref, _excluded$m);
|
|
12972
|
-
var
|
|
12973
|
-
if (icon && variant === 'filled') {
|
|
12974
|
-
return icon;
|
|
12975
|
-
}
|
|
12976
|
-
if (selected) {
|
|
12977
|
-
return 'checkmark';
|
|
12978
|
-
}
|
|
12979
|
-
return undefined;
|
|
12980
|
-
}, [icon, selected, variant]);
|
|
12965
|
+
var shouldShowSelectedIcon = variant === 'outlined' && selected && showSelectedIcon;
|
|
12981
12966
|
return /*#__PURE__*/React__default.createElement(StyledChipWrapper, _extends$1({
|
|
12982
12967
|
onPress: onPress,
|
|
12983
12968
|
themeVariant: variant,
|
|
12984
12969
|
themeSelected: selected
|
|
12985
|
-
}, otherProps),
|
|
12970
|
+
}, otherProps), icon && /*#__PURE__*/React__default.createElement(Box, {
|
|
12971
|
+
marginRight: "small"
|
|
12972
|
+
}, /*#__PURE__*/React__default.createElement(Icon, {
|
|
12986
12973
|
size: "xsmall",
|
|
12987
|
-
icon:
|
|
12988
|
-
|
|
12989
|
-
|
|
12990
|
-
|
|
12991
|
-
}
|
|
12992
|
-
|
|
12993
|
-
|
|
12994
|
-
|
|
12995
|
-
}
|
|
12974
|
+
icon: icon,
|
|
12975
|
+
testID: "chip-icon-".concat(icon)
|
|
12976
|
+
})), /*#__PURE__*/React__default.createElement(Typography.Body, null, label), shouldShowSelectedIcon && /*#__PURE__*/React__default.createElement(Box, {
|
|
12977
|
+
marginLeft: "small"
|
|
12978
|
+
}, /*#__PURE__*/React__default.createElement(Icon, {
|
|
12979
|
+
size: "xsmall",
|
|
12980
|
+
icon: "cancel",
|
|
12981
|
+
testID: "selected-chip-icon-cancel"
|
|
12982
|
+
})));
|
|
12996
12983
|
};
|
|
12997
12984
|
|
|
12998
12985
|
var StyledWrapper$7 = index$9(TouchableOpacity)(function (_ref) {
|
package/lib/index.js
CHANGED
|
@@ -1385,7 +1385,8 @@ var BASE_COLORS = {
|
|
|
1385
1385
|
theatreGold: '#a56822',
|
|
1386
1386
|
uniformGreen: '#4d4628',
|
|
1387
1387
|
yellow: '#fadb14',
|
|
1388
|
-
windsorGrey: '#606065'
|
|
1388
|
+
windsorGrey: '#606065',
|
|
1389
|
+
woodsmoke: '#121214'
|
|
1389
1390
|
};
|
|
1390
1391
|
var colorScales = Object.entries(BASE_COLORS).reduce(function (acc, _ref16) {
|
|
1391
1392
|
var _ref17 = _slicedToArray(_ref16, 2),
|
|
@@ -1766,9 +1767,13 @@ var palette$4 = Object.assign(Object.assign({}, palette$9), {
|
|
|
1766
1767
|
violet: violet1$1.base,
|
|
1767
1768
|
mauve: mauve$1.base
|
|
1768
1769
|
});
|
|
1769
|
-
var violet$3 = colorScales.violet
|
|
1770
|
+
var violet$3 = colorScales.violet,
|
|
1771
|
+
woodsmoke = colorScales.woodsmoke;
|
|
1770
1772
|
var palette$3 = Object.assign(Object.assign({}, palette$9), {
|
|
1771
|
-
violetLight90: violet$3.lighten90
|
|
1773
|
+
violetLight90: violet$3.lighten90,
|
|
1774
|
+
offBlack: woodsmoke.base,
|
|
1775
|
+
offBlackLight30: woodsmoke.lighten30,
|
|
1776
|
+
offBlackLight50: woodsmoke.lighten50
|
|
1772
1777
|
});
|
|
1773
1778
|
var scarletGum = colorScales.scarletGum,
|
|
1774
1779
|
violet1 = colorScales.violet1,
|
|
@@ -1934,6 +1939,14 @@ var swagDarkBrandSystemPalette = {
|
|
|
1934
1939
|
};
|
|
1935
1940
|
var swagDarkSystemPalette = _objectSpread2(_objectSpread2({}, globalPalette), swagDarkBrandSystemPalette);
|
|
1936
1941
|
|
|
1942
|
+
var swagLightGlobalPalette = _objectSpread2(_objectSpread2({}, globalPalette$1), {}, {
|
|
1943
|
+
onDefaultGlobalSurface: palette$3.offBlack,
|
|
1944
|
+
mutedOnDefaultGlobalSurface: palette$3.offBlackLight30,
|
|
1945
|
+
inactiveOnDefaultGlobalSurface: palette$3.offBlackLight50,
|
|
1946
|
+
primaryOutline: palette$3.offBlack,
|
|
1947
|
+
inactiveOutline: palette$3.offBlackLight50
|
|
1948
|
+
});
|
|
1949
|
+
|
|
1937
1950
|
var swagBrandSystemPallete = {
|
|
1938
1951
|
primary: '#460078',
|
|
1939
1952
|
onPrimary: '#fdfbff',
|
|
@@ -1945,7 +1958,7 @@ var swagBrandSystemPallete = {
|
|
|
1945
1958
|
decorativePrimary: '#fdfbff',
|
|
1946
1959
|
decorativePrimarySurface: '#dacce4'
|
|
1947
1960
|
};
|
|
1948
|
-
var swagSystemPalette = _objectSpread2(_objectSpread2({},
|
|
1961
|
+
var swagSystemPalette = _objectSpread2(_objectSpread2({}, swagLightGlobalPalette), swagBrandSystemPallete);
|
|
1949
1962
|
|
|
1950
1963
|
var swagLightJobsSystemPalette = _objectSpread2(_objectSpread2({}, swagSystemPalette), {}, {
|
|
1951
1964
|
secondary: '#40d1ff',
|
|
@@ -2554,7 +2567,8 @@ var getCardTheme = function getCardTheme(theme) {
|
|
|
2554
2567
|
indicatorWidth: theme.sizes.medium
|
|
2555
2568
|
};
|
|
2556
2569
|
var radii = {
|
|
2557
|
-
"default": theme.radii.large
|
|
2570
|
+
"default": theme.radii.large,
|
|
2571
|
+
superRound: theme.radii.xxxlarge
|
|
2558
2572
|
};
|
|
2559
2573
|
return {
|
|
2560
2574
|
colors: colors,
|
|
@@ -2643,21 +2657,23 @@ var getCheckboxTheme = function getCheckboxTheme(theme) {
|
|
|
2643
2657
|
|
|
2644
2658
|
var getChipTheme = function getChipTheme(theme) {
|
|
2645
2659
|
var colors = {
|
|
2646
|
-
primaryBackground: theme.colors.darkGlobalSurface,
|
|
2647
2660
|
secondaryBackground: theme.colors.highlightedSurface,
|
|
2648
2661
|
filledBackground: theme.colors.defaultGlobalSurface,
|
|
2649
|
-
outlinedBackground: 'transparent',
|
|
2650
|
-
wrapperBorder: theme.colors.primaryOutline,
|
|
2651
2662
|
wrapperSelectedBorder: 'transparent',
|
|
2652
|
-
|
|
2663
|
+
outlinedDefaultBackground: theme.colors.defaultGlobalSurface,
|
|
2664
|
+
outlinedSelectedBackground: theme.colors.secondaryOutline,
|
|
2665
|
+
outlinedSelectedBorder: theme.colors.primaryOutline,
|
|
2666
|
+
outlinedDefaultBorder: theme.colors.disabledOnDefaultGlobalSurface
|
|
2653
2667
|
};
|
|
2654
2668
|
var space = {
|
|
2655
2669
|
wrapperHorizontalPadding: theme.space.smallMedium,
|
|
2656
2670
|
wrapperVerticalPadding: theme.space.small,
|
|
2657
|
-
|
|
2671
|
+
iconWrapperHorizontalMargin: theme.space.small,
|
|
2672
|
+
outlinedSelectedMarginTop: -theme.space.xxsmall
|
|
2658
2673
|
};
|
|
2659
2674
|
var sizes = {
|
|
2660
|
-
|
|
2675
|
+
outlinedDefaultBorder: theme.borderWidths.base,
|
|
2676
|
+
outlinedSelectedBorder: theme.borderWidths.medium
|
|
2661
2677
|
};
|
|
2662
2678
|
var radii = {
|
|
2663
2679
|
wrapper: theme.radii.rounded
|
|
@@ -7072,7 +7088,7 @@ var Caption = function Caption(_ref) {
|
|
|
7072
7088
|
}), children);
|
|
7073
7089
|
};
|
|
7074
7090
|
|
|
7075
|
-
var StyledLabel
|
|
7091
|
+
var StyledLabel = index$9(reactNative.Text)(function (_ref) {
|
|
7076
7092
|
var themeIntent = _ref.themeIntent,
|
|
7077
7093
|
theme = _ref.theme;
|
|
7078
7094
|
return {
|
|
@@ -7091,7 +7107,7 @@ var Label = function Label(_ref) {
|
|
|
7091
7107
|
_ref$allowFontScaling = _ref.allowFontScaling,
|
|
7092
7108
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
7093
7109
|
nativeProps = _objectWithoutProperties(_ref, _excluded$D);
|
|
7094
|
-
return /*#__PURE__*/React__namespace.default.createElement(StyledLabel
|
|
7110
|
+
return /*#__PURE__*/React__namespace.default.createElement(StyledLabel, _extends$1({}, nativeProps, {
|
|
7095
7111
|
themeIntent: intent,
|
|
7096
7112
|
allowFontScaling: allowFontScaling
|
|
7097
7113
|
}), children);
|
|
@@ -7899,7 +7915,7 @@ var IconContainer$1 = index$9(reactNative.View)(function (_ref2) {
|
|
|
7899
7915
|
paddingLeft: theme.__hd__.alert.space.iconLeftPadding
|
|
7900
7916
|
};
|
|
7901
7917
|
});
|
|
7902
|
-
var StyledIcon$
|
|
7918
|
+
var StyledIcon$1 = index$9(Icon)(function (_ref3) {
|
|
7903
7919
|
var theme = _ref3.theme,
|
|
7904
7920
|
themeIntent = _ref3.themeIntent;
|
|
7905
7921
|
return {
|
|
@@ -7958,7 +7974,7 @@ var AlertIcon = function AlertIcon(_ref) {
|
|
|
7958
7974
|
intent = _ref.intent;
|
|
7959
7975
|
return icon ? /*#__PURE__*/React__namespace.default.createElement(IconContainer$1, {
|
|
7960
7976
|
testID: "alert-left-icon"
|
|
7961
|
-
}, /*#__PURE__*/React__namespace.default.createElement(StyledIcon$
|
|
7977
|
+
}, /*#__PURE__*/React__namespace.default.createElement(StyledIcon$1, {
|
|
7962
7978
|
icon: icon,
|
|
7963
7979
|
size: "small",
|
|
7964
7980
|
themeIntent: intent
|
|
@@ -7999,7 +8015,7 @@ var Alert = function Alert(_ref2) {
|
|
|
7999
8015
|
}, typeof actionLabel === 'string' ? /*#__PURE__*/React__namespace.default.createElement(StyledBody, {
|
|
8000
8016
|
variant: "small-bold",
|
|
8001
8017
|
themeIntent: intent
|
|
8002
|
-
}, actionLabel) : /*#__PURE__*/React__namespace.default.createElement(StyledIcon$
|
|
8018
|
+
}, actionLabel) : /*#__PURE__*/React__namespace.default.createElement(StyledIcon$1, {
|
|
8003
8019
|
icon: "cancel",
|
|
8004
8020
|
size: "small",
|
|
8005
8021
|
themeIntent: intent
|
|
@@ -8952,7 +8968,7 @@ var StyledFooter = index$9(reactNative.View)(function (_ref6) {
|
|
|
8952
8968
|
flexDirection: 'row'
|
|
8953
8969
|
};
|
|
8954
8970
|
});
|
|
8955
|
-
var StyledIconWrapper$
|
|
8971
|
+
var StyledIconWrapper$3 = index$9(reactNative.View)(function (_ref7) {
|
|
8956
8972
|
var theme = _ref7.theme;
|
|
8957
8973
|
return {
|
|
8958
8974
|
alignItems: 'flex-end',
|
|
@@ -9481,7 +9497,7 @@ var Header = function Header(_ref) {
|
|
|
9481
9497
|
style: {
|
|
9482
9498
|
flex: 1
|
|
9483
9499
|
}
|
|
9484
|
-
}, content), showCloseButton ? /*#__PURE__*/React__namespace.default.createElement(StyledIconWrapper$
|
|
9500
|
+
}, content), showCloseButton ? /*#__PURE__*/React__namespace.default.createElement(StyledIconWrapper$3, null, variant === 'fixed' ? /*#__PURE__*/React__namespace.default.createElement(CompoundButton.Icon, {
|
|
9485
9501
|
icon: "cancel",
|
|
9486
9502
|
onPress: onRequestClose,
|
|
9487
9503
|
intent: "text",
|
|
@@ -12333,22 +12349,26 @@ var DataCard = function DataCard(_ref) {
|
|
|
12333
12349
|
|
|
12334
12350
|
var StyledCard$1 = index$9(reactNative.View)(function (_ref) {
|
|
12335
12351
|
var theme = _ref.theme,
|
|
12336
|
-
themeIntent = _ref.themeIntent
|
|
12352
|
+
themeIntent = _ref.themeIntent,
|
|
12353
|
+
themeVariant = _ref.themeVariant;
|
|
12337
12354
|
return _objectSpread2(_objectSpread2({}, themeIntent !== undefined && {
|
|
12338
12355
|
backgroundColor: theme.__hd__.card.colors[themeIntent]
|
|
12339
12356
|
}), {}, {
|
|
12340
|
-
borderRadius: theme.__hd__.card.radii["default"],
|
|
12357
|
+
borderRadius: themeVariant === 'basic' ? theme.__hd__.card.radii["default"] : theme.__hd__.card.radii.superRound,
|
|
12341
12358
|
overflow: 'hidden'
|
|
12342
12359
|
});
|
|
12343
12360
|
});
|
|
12344
12361
|
|
|
12345
|
-
var _excluded$p = ["intent", "children"];
|
|
12362
|
+
var _excluded$p = ["intent", "children", "variant"];
|
|
12346
12363
|
var Card = function Card(_ref) {
|
|
12347
12364
|
var intent = _ref.intent,
|
|
12348
12365
|
children = _ref.children,
|
|
12366
|
+
_ref$variant = _ref.variant,
|
|
12367
|
+
variant = _ref$variant === void 0 ? 'basic' : _ref$variant,
|
|
12349
12368
|
nativeProps = _objectWithoutProperties(_ref, _excluded$p);
|
|
12350
12369
|
return /*#__PURE__*/React__namespace.default.createElement(StyledCard$1, _extends$1({}, nativeProps, {
|
|
12351
|
-
themeIntent: intent
|
|
12370
|
+
themeIntent: intent,
|
|
12371
|
+
themeVariant: variant
|
|
12352
12372
|
}), children);
|
|
12353
12373
|
};
|
|
12354
12374
|
var Card$1 = Object.assign(Card, {
|
|
@@ -12900,26 +12920,19 @@ var StyledChipWrapper = index$9(reactNative.TouchableOpacity)(function (_ref) {
|
|
|
12900
12920
|
}
|
|
12901
12921
|
};
|
|
12902
12922
|
var getBorderStyles = function getBorderStyles() {
|
|
12903
|
-
var commonStyle = {
|
|
12904
|
-
borderWidth: theme.__hd__.chip.sizes.wrapperBorder
|
|
12905
|
-
};
|
|
12906
|
-
if (themeSelected) {
|
|
12907
|
-
return _objectSpread2(_objectSpread2({}, commonStyle), {}, {
|
|
12908
|
-
borderColor: theme.__hd__.chip.colors.wrapperSelectedBorder
|
|
12909
|
-
});
|
|
12910
|
-
}
|
|
12911
12923
|
switch (themeVariant) {
|
|
12912
12924
|
case 'outlined':
|
|
12913
12925
|
{
|
|
12914
|
-
return
|
|
12915
|
-
borderColor: theme.__hd__.chip.colors.
|
|
12916
|
-
|
|
12926
|
+
return {
|
|
12927
|
+
borderColor: themeSelected ? theme.__hd__.chip.colors.outlinedSelectedBorder : theme.__hd__.chip.colors.outlinedDefaultBorder,
|
|
12928
|
+
borderWidth: themeSelected ? theme.__hd__.chip.sizes.outlinedSelectedBorder : theme.__hd__.chip.sizes.outlinedDefaultBorder
|
|
12929
|
+
};
|
|
12917
12930
|
}
|
|
12918
12931
|
case 'filled':
|
|
12919
12932
|
{
|
|
12920
|
-
return
|
|
12933
|
+
return {
|
|
12921
12934
|
borderColor: theme.__hd__.chip.colors.wrapperSelectedBorder
|
|
12922
|
-
}
|
|
12935
|
+
};
|
|
12923
12936
|
}
|
|
12924
12937
|
}
|
|
12925
12938
|
};
|
|
@@ -12929,7 +12942,7 @@ var StyledChipWrapper = index$9(reactNative.TouchableOpacity)(function (_ref) {
|
|
|
12929
12942
|
case 'outlined':
|
|
12930
12943
|
{
|
|
12931
12944
|
return {
|
|
12932
|
-
backgroundColor: theme.__hd__.chip.colors.
|
|
12945
|
+
backgroundColor: themeSelected ? theme.__hd__.chip.colors.outlinedSelectedBackground : theme.__hd__.chip.colors.outlinedDefaultBackground
|
|
12933
12946
|
};
|
|
12934
12947
|
}
|
|
12935
12948
|
case 'filled':
|
|
@@ -12942,7 +12955,7 @@ var StyledChipWrapper = index$9(reactNative.TouchableOpacity)(function (_ref) {
|
|
|
12942
12955
|
case 'outlined':
|
|
12943
12956
|
{
|
|
12944
12957
|
return {
|
|
12945
|
-
backgroundColor: theme.__hd__.chip.colors.
|
|
12958
|
+
backgroundColor: theme.__hd__.chip.colors.outlinedDefaultBackground
|
|
12946
12959
|
};
|
|
12947
12960
|
}
|
|
12948
12961
|
case 'filled':
|
|
@@ -12960,33 +12973,11 @@ var StyledChipWrapper = index$9(reactNative.TouchableOpacity)(function (_ref) {
|
|
|
12960
12973
|
borderRadius: theme.__hd__.chip.radii.wrapper,
|
|
12961
12974
|
paddingVertical: theme.__hd__.chip.space.wrapperVerticalPadding,
|
|
12962
12975
|
paddingHorizontal: theme.__hd__.chip.space.wrapperHorizontalPadding,
|
|
12963
|
-
|
|
12976
|
+
marginTop: themeSelected ? theme.__hd__.chip.space.outlinedSelectedMarginTop : undefined
|
|
12964
12977
|
}, getShadowStyles()), getBorderStyles()), getBackgroundStyles());
|
|
12965
12978
|
});
|
|
12966
|
-
var StyledIconWrapper$3 = index$9(Box)(function (_ref2) {
|
|
12967
|
-
var theme = _ref2.theme;
|
|
12968
|
-
return {
|
|
12969
|
-
marginRight: theme.__hd__.chip.space.iconWrapperMarginRight
|
|
12970
|
-
};
|
|
12971
|
-
});
|
|
12972
|
-
var StyledLabel = index$9(Typography.Body)(function (_ref3) {
|
|
12973
|
-
var themeSelected = _ref3.themeSelected,
|
|
12974
|
-
themeVariant = _ref3.themeVariant,
|
|
12975
|
-
theme = _ref3.theme;
|
|
12976
|
-
return {
|
|
12977
|
-
color: themeSelected && themeVariant === 'outlined' ? theme.__hd__.chip.colors.selectedPrimaryText : undefined
|
|
12978
|
-
};
|
|
12979
|
-
});
|
|
12980
|
-
var StyledIcon$1 = index$9(Icon)(function (_ref4) {
|
|
12981
|
-
var themeSelected = _ref4.themeSelected,
|
|
12982
|
-
themeVariant = _ref4.themeVariant,
|
|
12983
|
-
theme = _ref4.theme;
|
|
12984
|
-
return {
|
|
12985
|
-
color: themeSelected && themeVariant === 'outlined' ? theme.__hd__.chip.colors.selectedPrimaryText : undefined
|
|
12986
|
-
};
|
|
12987
|
-
});
|
|
12988
12979
|
|
|
12989
|
-
var _excluded$m = ["label", "variant", "selected", "icon", "onPress"];
|
|
12980
|
+
var _excluded$m = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon"];
|
|
12990
12981
|
var Chip = function Chip(_ref) {
|
|
12991
12982
|
var label = _ref.label,
|
|
12992
12983
|
_ref$variant = _ref.variant,
|
|
@@ -12995,31 +12986,27 @@ var Chip = function Chip(_ref) {
|
|
|
12995
12986
|
selected = _ref$selected === void 0 ? false : _ref$selected,
|
|
12996
12987
|
icon = _ref.icon,
|
|
12997
12988
|
onPress = _ref.onPress,
|
|
12989
|
+
_ref$showSelectedIcon = _ref.showSelectedIcon,
|
|
12990
|
+
showSelectedIcon = _ref$showSelectedIcon === void 0 ? true : _ref$showSelectedIcon,
|
|
12998
12991
|
otherProps = _objectWithoutProperties(_ref, _excluded$m);
|
|
12999
|
-
var
|
|
13000
|
-
if (icon && variant === 'filled') {
|
|
13001
|
-
return icon;
|
|
13002
|
-
}
|
|
13003
|
-
if (selected) {
|
|
13004
|
-
return 'checkmark';
|
|
13005
|
-
}
|
|
13006
|
-
return undefined;
|
|
13007
|
-
}, [icon, selected, variant]);
|
|
12992
|
+
var shouldShowSelectedIcon = variant === 'outlined' && selected && showSelectedIcon;
|
|
13008
12993
|
return /*#__PURE__*/React__namespace.default.createElement(StyledChipWrapper, _extends$1({
|
|
13009
12994
|
onPress: onPress,
|
|
13010
12995
|
themeVariant: variant,
|
|
13011
12996
|
themeSelected: selected
|
|
13012
|
-
}, otherProps),
|
|
12997
|
+
}, otherProps), icon && /*#__PURE__*/React__namespace.default.createElement(Box, {
|
|
12998
|
+
marginRight: "small"
|
|
12999
|
+
}, /*#__PURE__*/React__namespace.default.createElement(Icon, {
|
|
13013
13000
|
size: "xsmall",
|
|
13014
|
-
icon:
|
|
13015
|
-
|
|
13016
|
-
|
|
13017
|
-
|
|
13018
|
-
}
|
|
13019
|
-
|
|
13020
|
-
|
|
13021
|
-
|
|
13022
|
-
}
|
|
13001
|
+
icon: icon,
|
|
13002
|
+
testID: "chip-icon-".concat(icon)
|
|
13003
|
+
})), /*#__PURE__*/React__namespace.default.createElement(Typography.Body, null, label), shouldShowSelectedIcon && /*#__PURE__*/React__namespace.default.createElement(Box, {
|
|
13004
|
+
marginLeft: "small"
|
|
13005
|
+
}, /*#__PURE__*/React__namespace.default.createElement(Icon, {
|
|
13006
|
+
size: "xsmall",
|
|
13007
|
+
icon: "cancel",
|
|
13008
|
+
testID: "selected-chip-icon-cancel"
|
|
13009
|
+
})));
|
|
13023
13010
|
};
|
|
13024
13011
|
|
|
13025
13012
|
var StyledWrapper$7 = index$9(reactNative.TouchableOpacity)(function (_ref) {
|