@hero-design/rn 8.67.0-alpha.0 → 8.67.0-alpha.2
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/es/index.js +2 -2
- package/lib/index.js +2 -2
- package/package.json +2 -2
- package/src/components/FAB/ActionGroup/StyledActionGroup.tsx +1 -1
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +1 -1
- package/src/theme/components/fab.ts +1 -1
package/es/index.js
CHANGED
|
@@ -2788,7 +2788,7 @@ var getFABTheme = function getFABTheme(theme) {
|
|
|
2788
2788
|
icon: theme.colors.onPrimary,
|
|
2789
2789
|
actionItemBackground: theme.colors.overlayGlobalSurface,
|
|
2790
2790
|
actionItemPressedBackground: theme.colors.overlayGlobalSurface,
|
|
2791
|
-
backdropBackground: theme.colors.
|
|
2791
|
+
backdropBackground: theme.colors.defaultSurface,
|
|
2792
2792
|
titleText: theme.colors.onPrimary,
|
|
2793
2793
|
actionItemText: theme.colors.onPrimary
|
|
2794
2794
|
};
|
|
@@ -14982,7 +14982,7 @@ var StyledBackdrop = index$9(AnimatedPressable)(function (_ref2) {
|
|
|
14982
14982
|
right: 0,
|
|
14983
14983
|
top: 0,
|
|
14984
14984
|
bottom: 0,
|
|
14985
|
-
opacity: 0.
|
|
14985
|
+
opacity: 0.8,
|
|
14986
14986
|
backgroundColor: theme.__hd__.fab.colors.backdropBackground
|
|
14987
14987
|
};
|
|
14988
14988
|
});
|
package/lib/index.js
CHANGED
|
@@ -2815,7 +2815,7 @@ var getFABTheme = function getFABTheme(theme) {
|
|
|
2815
2815
|
icon: theme.colors.onPrimary,
|
|
2816
2816
|
actionItemBackground: theme.colors.overlayGlobalSurface,
|
|
2817
2817
|
actionItemPressedBackground: theme.colors.overlayGlobalSurface,
|
|
2818
|
-
backdropBackground: theme.colors.
|
|
2818
|
+
backdropBackground: theme.colors.defaultSurface,
|
|
2819
2819
|
titleText: theme.colors.onPrimary,
|
|
2820
2820
|
actionItemText: theme.colors.onPrimary
|
|
2821
2821
|
};
|
|
@@ -15009,7 +15009,7 @@ var StyledBackdrop = index$9(AnimatedPressable)(function (_ref2) {
|
|
|
15009
15009
|
right: 0,
|
|
15010
15010
|
top: 0,
|
|
15011
15011
|
bottom: 0,
|
|
15012
|
-
opacity: 0.
|
|
15012
|
+
opacity: 0.8,
|
|
15013
15013
|
backgroundColor: theme.__hd__.fab.colors.backdropBackground
|
|
15014
15014
|
};
|
|
15015
15015
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hero-design/rn",
|
|
3
|
-
"version": "8.67.0-alpha.
|
|
3
|
+
"version": "8.67.0-alpha.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@emotion/native": "^11.9.3",
|
|
23
23
|
"@emotion/primitives-core": "11.0.0",
|
|
24
24
|
"@emotion/react": "^11.9.3",
|
|
25
|
-
"@hero-design/colors": "8.43.
|
|
25
|
+
"@hero-design/colors": "8.43.3-alpha.0",
|
|
26
26
|
"date-fns": "^2.16.1",
|
|
27
27
|
"hero-editor": "^1.9.21",
|
|
28
28
|
"nanoid": "^4.0.2"
|
|
@@ -409,10 +409,10 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
409
409
|
onStartShouldSetResponder={[Function]}
|
|
410
410
|
style={
|
|
411
411
|
{
|
|
412
|
-
"backgroundColor": "#
|
|
412
|
+
"backgroundColor": "#FDFBFF",
|
|
413
413
|
"bottom": 0,
|
|
414
414
|
"left": 0,
|
|
415
|
-
"opacity": 0.
|
|
415
|
+
"opacity": 0.8,
|
|
416
416
|
"position": "absolute",
|
|
417
417
|
"right": 0,
|
|
418
418
|
"top": 0,
|
|
@@ -505,7 +505,7 @@ exports[`theme returns correct theme object 1`] = `
|
|
|
505
505
|
"actionItemBackground": "#000000",
|
|
506
506
|
"actionItemPressedBackground": "#000000",
|
|
507
507
|
"actionItemText": "#FDFBFF",
|
|
508
|
-
"backdropBackground": "#
|
|
508
|
+
"backdropBackground": "#FDFBFF",
|
|
509
509
|
"buttonActiveBackground": "#000000",
|
|
510
510
|
"buttonBackground": "#000000",
|
|
511
511
|
"buttonPressedBackground": "#000000",
|
|
@@ -8,7 +8,7 @@ const getFABTheme = (theme: GlobalTheme) => {
|
|
|
8
8
|
icon: theme.colors.onPrimary,
|
|
9
9
|
actionItemBackground: theme.colors.overlayGlobalSurface,
|
|
10
10
|
actionItemPressedBackground: theme.colors.overlayGlobalSurface,
|
|
11
|
-
backdropBackground: theme.colors.
|
|
11
|
+
backdropBackground: theme.colors.defaultSurface,
|
|
12
12
|
titleText: theme.colors.onPrimary,
|
|
13
13
|
actionItemText: theme.colors.onPrimary,
|
|
14
14
|
};
|