@hero-design/rn 8.91.6 → 8.91.7
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 +2 -2
- package/CHANGELOG.md +6 -0
- package/es/index.js +44 -44
- package/lib/index.js +44 -44
- package/package.json +1 -1
- package/src/components/MapPin/__tests__/__snapshots__/Focussed.spec.tsx.snap +3 -3
- package/src/components/MapPin/__tests__/__snapshots__/index.spec.tsx.snap +20 -20
- package/src/components/Slider/__tests__/__snapshots__/RangeSlider.spec.tsx.snap +6 -6
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +17 -17
- package/src/theme/components/alert.ts +1 -1
- package/src/theme/components/bottomNavigation.ts +1 -1
- package/src/theme/components/chip.ts +1 -1
- package/src/theme/components/fab.ts +1 -1
- package/src/theme/components/floatingIsland.ts +1 -1
- package/src/theme/components/list.ts +1 -1
- package/src/theme/components/mapPin.ts +5 -5
- package/src/theme/components/search.ts +1 -1
- package/src/theme/components/toast.ts +1 -1
- package/src/theme/global/shadows/__tests__/__snapshots__/ehWorkDark.spec.ts.snap +10 -10
- package/src/theme/global/shadows/__tests__/__snapshots__/swagLight.spec.ts.snap +9 -9
- package/src/theme/global/shadows/__tests__/__snapshots__/swagLightJobs.spec.ts.snap +6 -6
- package/src/theme/global/shadows/ehWorkDark.ts +11 -12
- package/src/theme/global/shadows/swagLight.ts +11 -12
- package/src/theme/global/shadows/swagLightJobs.ts +9 -9
- package/src/theme/global/shadows/types.ts +2 -2
- package/stats/8.91.7/rn-stats.html +4842 -0
- package/types/theme/global/shadows/types.d.ts +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(node:
|
|
1
|
+
(node:3034) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
|
|
2
2
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
3
3
|
[36m
|
|
4
4
|
[1msrc/index.ts[22m → [1mlib/index.js, es/index.js[22m...[39m
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
[7m [0m [91m ~~~~~~~~~~~~~~~~~~~[0m
|
|
11
11
|
[39m
|
|
12
12
|
[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
|
|
13
|
-
[32mcreated [1mlib/index.js, es/index.js[22m in [
|
|
13
|
+
[32mcreated [1mlib/index.js, es/index.js[22m in [1m51.9s[22m[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @hero-design/rn
|
|
2
2
|
|
|
3
|
+
## 8.91.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3720](https://github.com/Thinkei/hero-design/pull/3720) [`c6acaedafaa8d246f2882a72234db93b3fff93d3`](https://github.com/Thinkei/hero-design/commit/c6acaedafaa8d246f2882a72234db93b3fff93d3) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Mobile] Update shadow naming
|
|
8
|
+
|
|
3
9
|
## 8.91.6
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/es/index.js
CHANGED
|
@@ -2316,16 +2316,6 @@ var getRadii = function getRadii(baseRadius) {
|
|
|
2316
2316
|
|
|
2317
2317
|
var swagLightShadowPalette = {
|
|
2318
2318
|
"default": {
|
|
2319
|
-
shadowOffset: {
|
|
2320
|
-
width: 0,
|
|
2321
|
-
height: 2
|
|
2322
|
-
},
|
|
2323
|
-
shadowColor: swagSystemPalette.primaryOutline,
|
|
2324
|
-
shadowOpacity: 0.12,
|
|
2325
|
-
shadowRadius: 4,
|
|
2326
|
-
elevation: 3
|
|
2327
|
-
},
|
|
2328
|
-
cardDrawer: {
|
|
2329
2319
|
shadowOffset: {
|
|
2330
2320
|
width: 0,
|
|
2331
2321
|
height: 2
|
|
@@ -2335,7 +2325,7 @@ var swagLightShadowPalette = {
|
|
|
2335
2325
|
shadowRadius: 2,
|
|
2336
2326
|
elevation: 6
|
|
2337
2327
|
},
|
|
2338
|
-
|
|
2328
|
+
medium: {
|
|
2339
2329
|
shadowOffset: {
|
|
2340
2330
|
width: 0,
|
|
2341
2331
|
height: -4
|
|
@@ -2344,6 +2334,16 @@ var swagLightShadowPalette = {
|
|
|
2344
2334
|
shadowOpacity: 0.04,
|
|
2345
2335
|
shadowRadius: 6,
|
|
2346
2336
|
elevation: 10
|
|
2337
|
+
},
|
|
2338
|
+
deep: {
|
|
2339
|
+
shadowOffset: {
|
|
2340
|
+
width: 0,
|
|
2341
|
+
height: 4
|
|
2342
|
+
},
|
|
2343
|
+
shadowColor: '#001f23',
|
|
2344
|
+
shadowOpacity: 0.28,
|
|
2345
|
+
shadowRadius: 8,
|
|
2346
|
+
elevation: 10
|
|
2347
2347
|
}
|
|
2348
2348
|
};
|
|
2349
2349
|
|
|
@@ -2358,40 +2358,30 @@ var swagLightJobsShadowPalette = {
|
|
|
2358
2358
|
shadowRadius: 4,
|
|
2359
2359
|
elevation: 3
|
|
2360
2360
|
},
|
|
2361
|
-
|
|
2361
|
+
medium: {
|
|
2362
2362
|
shadowOffset: {
|
|
2363
2363
|
width: 0,
|
|
2364
|
-
height:
|
|
2364
|
+
height: -4
|
|
2365
2365
|
},
|
|
2366
2366
|
shadowColor: '#001f23',
|
|
2367
|
-
shadowOpacity: 0.
|
|
2368
|
-
shadowRadius:
|
|
2369
|
-
elevation:
|
|
2367
|
+
shadowOpacity: 0.04,
|
|
2368
|
+
shadowRadius: 6,
|
|
2369
|
+
elevation: 10
|
|
2370
2370
|
},
|
|
2371
|
-
|
|
2371
|
+
deep: {
|
|
2372
2372
|
shadowOffset: {
|
|
2373
2373
|
width: 0,
|
|
2374
|
-
height:
|
|
2374
|
+
height: 4
|
|
2375
2375
|
},
|
|
2376
2376
|
shadowColor: '#001f23',
|
|
2377
|
-
shadowOpacity: 0.
|
|
2378
|
-
shadowRadius:
|
|
2377
|
+
shadowOpacity: 0.28,
|
|
2378
|
+
shadowRadius: 8,
|
|
2379
2379
|
elevation: 10
|
|
2380
2380
|
}
|
|
2381
2381
|
};
|
|
2382
2382
|
|
|
2383
2383
|
var ehWorkDarkShadowPalette = {
|
|
2384
2384
|
"default": {
|
|
2385
|
-
shadowOffset: {
|
|
2386
|
-
width: 0,
|
|
2387
|
-
height: 2
|
|
2388
|
-
},
|
|
2389
|
-
shadowColor: ehWorkDarkSystemPalette.primaryOutline,
|
|
2390
|
-
shadowOpacity: 0.12,
|
|
2391
|
-
shadowRadius: 4,
|
|
2392
|
-
elevation: 3
|
|
2393
|
-
},
|
|
2394
|
-
cardDrawer: {
|
|
2395
2385
|
shadowOffset: {
|
|
2396
2386
|
width: 0,
|
|
2397
2387
|
height: 2
|
|
@@ -2401,7 +2391,7 @@ var ehWorkDarkShadowPalette = {
|
|
|
2401
2391
|
shadowRadius: 2,
|
|
2402
2392
|
elevation: 6
|
|
2403
2393
|
},
|
|
2404
|
-
|
|
2394
|
+
medium: {
|
|
2405
2395
|
shadowOffset: {
|
|
2406
2396
|
width: 0,
|
|
2407
2397
|
height: -4
|
|
@@ -2410,6 +2400,16 @@ var ehWorkDarkShadowPalette = {
|
|
|
2410
2400
|
shadowOpacity: 0.24,
|
|
2411
2401
|
shadowRadius: 6,
|
|
2412
2402
|
elevation: 10
|
|
2403
|
+
},
|
|
2404
|
+
deep: {
|
|
2405
|
+
shadowOffset: {
|
|
2406
|
+
width: 0,
|
|
2407
|
+
height: 4
|
|
2408
|
+
},
|
|
2409
|
+
shadowColor: '#000000',
|
|
2410
|
+
shadowOpacity: 0.64,
|
|
2411
|
+
shadowRadius: 8,
|
|
2412
|
+
elevation: 10
|
|
2413
2413
|
}
|
|
2414
2414
|
};
|
|
2415
2415
|
|
|
@@ -2499,7 +2499,7 @@ var getAlertTheme = function getAlertTheme(theme) {
|
|
|
2499
2499
|
base: theme.borderWidths.base
|
|
2500
2500
|
};
|
|
2501
2501
|
var shadows = {
|
|
2502
|
-
wrapper: theme.shadows
|
|
2502
|
+
wrapper: theme.shadows["default"]
|
|
2503
2503
|
};
|
|
2504
2504
|
return {
|
|
2505
2505
|
colors: colors,
|
|
@@ -2670,7 +2670,7 @@ var getBottomNavigationTheme = function getBottomNavigationTheme(theme) {
|
|
|
2670
2670
|
height: theme.sizes['6xlarge']
|
|
2671
2671
|
};
|
|
2672
2672
|
var shadows = {
|
|
2673
|
-
wrapper: theme.shadows.
|
|
2673
|
+
wrapper: theme.shadows.medium
|
|
2674
2674
|
};
|
|
2675
2675
|
var space = {
|
|
2676
2676
|
titleMarginTop: theme.space.xsmall
|
|
@@ -2985,7 +2985,7 @@ var getChipTheme = function getChipTheme(theme) {
|
|
|
2985
2985
|
outlinedDefaultBorder: theme.borderWidths.base
|
|
2986
2986
|
};
|
|
2987
2987
|
var shadows = {
|
|
2988
|
-
filledWrapper: theme.shadows
|
|
2988
|
+
filledWrapper: theme.shadows["default"]
|
|
2989
2989
|
};
|
|
2990
2990
|
var fontSizes = {
|
|
2991
2991
|
icon: theme.fontSizes.small
|
|
@@ -3184,7 +3184,7 @@ var getFABTheme = function getFABTheme(theme) {
|
|
|
3184
3184
|
icon: theme.lineHeights.large
|
|
3185
3185
|
};
|
|
3186
3186
|
var shadows = {
|
|
3187
|
-
"default": theme.shadows
|
|
3187
|
+
"default": theme.shadows["default"]
|
|
3188
3188
|
};
|
|
3189
3189
|
var space = {
|
|
3190
3190
|
actionItemPadding: theme.space.smallMedium,
|
|
@@ -3274,7 +3274,7 @@ var getListTheme = function getListTheme(theme) {
|
|
|
3274
3274
|
leadingStatus: theme.radii.rounded
|
|
3275
3275
|
};
|
|
3276
3276
|
var shadows = {
|
|
3277
|
-
card: theme.shadows
|
|
3277
|
+
card: theme.shadows["default"]
|
|
3278
3278
|
};
|
|
3279
3279
|
var widths = {
|
|
3280
3280
|
leadingStatus: 8
|
|
@@ -3961,7 +3961,7 @@ var getToastTheme = function getToastTheme(theme) {
|
|
|
3961
3961
|
base: theme.borderWidths.base
|
|
3962
3962
|
};
|
|
3963
3963
|
var shadows = {
|
|
3964
|
-
wrapper: theme.shadows
|
|
3964
|
+
wrapper: theme.shadows["default"]
|
|
3965
3965
|
};
|
|
3966
3966
|
return {
|
|
3967
3967
|
colors: colors,
|
|
@@ -4215,7 +4215,7 @@ var getSearchTheme = function getSearchTheme(theme) {
|
|
|
4215
4215
|
shadow: theme.colors.primaryOutline
|
|
4216
4216
|
};
|
|
4217
4217
|
var shadows = {
|
|
4218
|
-
container: theme.shadows
|
|
4218
|
+
container: theme.shadows["default"]
|
|
4219
4219
|
};
|
|
4220
4220
|
var space = {
|
|
4221
4221
|
containerHorizontalPadding: theme.space.small,
|
|
@@ -4295,11 +4295,11 @@ var getMapPinTheme = function getMapPinTheme(theme) {
|
|
|
4295
4295
|
iconRight: -theme.space.small
|
|
4296
4296
|
};
|
|
4297
4297
|
var shadows = {
|
|
4298
|
-
offset: theme.shadows
|
|
4299
|
-
opacity: theme.shadows
|
|
4300
|
-
radius: theme.shadows
|
|
4301
|
-
elevation: theme.shadows
|
|
4302
|
-
color: theme.shadows
|
|
4298
|
+
offset: theme.shadows.deep.shadowOffset,
|
|
4299
|
+
opacity: theme.shadows.deep.shadowOpacity,
|
|
4300
|
+
radius: theme.shadows.deep.shadowRadius,
|
|
4301
|
+
elevation: theme.shadows.deep.elevation,
|
|
4302
|
+
color: theme.shadows.deep.shadowColor
|
|
4303
4303
|
};
|
|
4304
4304
|
return {
|
|
4305
4305
|
sizes: sizes,
|
|
@@ -4320,7 +4320,7 @@ var getFloatingIslandTheme = function getFloatingIslandTheme(theme) {
|
|
|
4320
4320
|
wrapper: theme.radii.rounded
|
|
4321
4321
|
};
|
|
4322
4322
|
var shadows = {
|
|
4323
|
-
wrapper: theme.shadows
|
|
4323
|
+
wrapper: theme.shadows["default"]
|
|
4324
4324
|
};
|
|
4325
4325
|
var space = {
|
|
4326
4326
|
wrapperPadding: theme.space.small,
|
package/lib/index.js
CHANGED
|
@@ -2344,16 +2344,6 @@ var getRadii = function getRadii(baseRadius) {
|
|
|
2344
2344
|
|
|
2345
2345
|
var swagLightShadowPalette = {
|
|
2346
2346
|
"default": {
|
|
2347
|
-
shadowOffset: {
|
|
2348
|
-
width: 0,
|
|
2349
|
-
height: 2
|
|
2350
|
-
},
|
|
2351
|
-
shadowColor: swagSystemPalette.primaryOutline,
|
|
2352
|
-
shadowOpacity: 0.12,
|
|
2353
|
-
shadowRadius: 4,
|
|
2354
|
-
elevation: 3
|
|
2355
|
-
},
|
|
2356
|
-
cardDrawer: {
|
|
2357
2347
|
shadowOffset: {
|
|
2358
2348
|
width: 0,
|
|
2359
2349
|
height: 2
|
|
@@ -2363,7 +2353,7 @@ var swagLightShadowPalette = {
|
|
|
2363
2353
|
shadowRadius: 2,
|
|
2364
2354
|
elevation: 6
|
|
2365
2355
|
},
|
|
2366
|
-
|
|
2356
|
+
medium: {
|
|
2367
2357
|
shadowOffset: {
|
|
2368
2358
|
width: 0,
|
|
2369
2359
|
height: -4
|
|
@@ -2372,6 +2362,16 @@ var swagLightShadowPalette = {
|
|
|
2372
2362
|
shadowOpacity: 0.04,
|
|
2373
2363
|
shadowRadius: 6,
|
|
2374
2364
|
elevation: 10
|
|
2365
|
+
},
|
|
2366
|
+
deep: {
|
|
2367
|
+
shadowOffset: {
|
|
2368
|
+
width: 0,
|
|
2369
|
+
height: 4
|
|
2370
|
+
},
|
|
2371
|
+
shadowColor: '#001f23',
|
|
2372
|
+
shadowOpacity: 0.28,
|
|
2373
|
+
shadowRadius: 8,
|
|
2374
|
+
elevation: 10
|
|
2375
2375
|
}
|
|
2376
2376
|
};
|
|
2377
2377
|
|
|
@@ -2386,40 +2386,30 @@ var swagLightJobsShadowPalette = {
|
|
|
2386
2386
|
shadowRadius: 4,
|
|
2387
2387
|
elevation: 3
|
|
2388
2388
|
},
|
|
2389
|
-
|
|
2389
|
+
medium: {
|
|
2390
2390
|
shadowOffset: {
|
|
2391
2391
|
width: 0,
|
|
2392
|
-
height:
|
|
2392
|
+
height: -4
|
|
2393
2393
|
},
|
|
2394
2394
|
shadowColor: '#001f23',
|
|
2395
|
-
shadowOpacity: 0.
|
|
2396
|
-
shadowRadius:
|
|
2397
|
-
elevation:
|
|
2395
|
+
shadowOpacity: 0.04,
|
|
2396
|
+
shadowRadius: 6,
|
|
2397
|
+
elevation: 10
|
|
2398
2398
|
},
|
|
2399
|
-
|
|
2399
|
+
deep: {
|
|
2400
2400
|
shadowOffset: {
|
|
2401
2401
|
width: 0,
|
|
2402
|
-
height:
|
|
2402
|
+
height: 4
|
|
2403
2403
|
},
|
|
2404
2404
|
shadowColor: '#001f23',
|
|
2405
|
-
shadowOpacity: 0.
|
|
2406
|
-
shadowRadius:
|
|
2405
|
+
shadowOpacity: 0.28,
|
|
2406
|
+
shadowRadius: 8,
|
|
2407
2407
|
elevation: 10
|
|
2408
2408
|
}
|
|
2409
2409
|
};
|
|
2410
2410
|
|
|
2411
2411
|
var ehWorkDarkShadowPalette = {
|
|
2412
2412
|
"default": {
|
|
2413
|
-
shadowOffset: {
|
|
2414
|
-
width: 0,
|
|
2415
|
-
height: 2
|
|
2416
|
-
},
|
|
2417
|
-
shadowColor: ehWorkDarkSystemPalette.primaryOutline,
|
|
2418
|
-
shadowOpacity: 0.12,
|
|
2419
|
-
shadowRadius: 4,
|
|
2420
|
-
elevation: 3
|
|
2421
|
-
},
|
|
2422
|
-
cardDrawer: {
|
|
2423
2413
|
shadowOffset: {
|
|
2424
2414
|
width: 0,
|
|
2425
2415
|
height: 2
|
|
@@ -2429,7 +2419,7 @@ var ehWorkDarkShadowPalette = {
|
|
|
2429
2419
|
shadowRadius: 2,
|
|
2430
2420
|
elevation: 6
|
|
2431
2421
|
},
|
|
2432
|
-
|
|
2422
|
+
medium: {
|
|
2433
2423
|
shadowOffset: {
|
|
2434
2424
|
width: 0,
|
|
2435
2425
|
height: -4
|
|
@@ -2438,6 +2428,16 @@ var ehWorkDarkShadowPalette = {
|
|
|
2438
2428
|
shadowOpacity: 0.24,
|
|
2439
2429
|
shadowRadius: 6,
|
|
2440
2430
|
elevation: 10
|
|
2431
|
+
},
|
|
2432
|
+
deep: {
|
|
2433
|
+
shadowOffset: {
|
|
2434
|
+
width: 0,
|
|
2435
|
+
height: 4
|
|
2436
|
+
},
|
|
2437
|
+
shadowColor: '#000000',
|
|
2438
|
+
shadowOpacity: 0.64,
|
|
2439
|
+
shadowRadius: 8,
|
|
2440
|
+
elevation: 10
|
|
2441
2441
|
}
|
|
2442
2442
|
};
|
|
2443
2443
|
|
|
@@ -2527,7 +2527,7 @@ var getAlertTheme = function getAlertTheme(theme) {
|
|
|
2527
2527
|
base: theme.borderWidths.base
|
|
2528
2528
|
};
|
|
2529
2529
|
var shadows = {
|
|
2530
|
-
wrapper: theme.shadows
|
|
2530
|
+
wrapper: theme.shadows["default"]
|
|
2531
2531
|
};
|
|
2532
2532
|
return {
|
|
2533
2533
|
colors: colors,
|
|
@@ -2698,7 +2698,7 @@ var getBottomNavigationTheme = function getBottomNavigationTheme(theme) {
|
|
|
2698
2698
|
height: theme.sizes['6xlarge']
|
|
2699
2699
|
};
|
|
2700
2700
|
var shadows = {
|
|
2701
|
-
wrapper: theme.shadows.
|
|
2701
|
+
wrapper: theme.shadows.medium
|
|
2702
2702
|
};
|
|
2703
2703
|
var space = {
|
|
2704
2704
|
titleMarginTop: theme.space.xsmall
|
|
@@ -3013,7 +3013,7 @@ var getChipTheme = function getChipTheme(theme) {
|
|
|
3013
3013
|
outlinedDefaultBorder: theme.borderWidths.base
|
|
3014
3014
|
};
|
|
3015
3015
|
var shadows = {
|
|
3016
|
-
filledWrapper: theme.shadows
|
|
3016
|
+
filledWrapper: theme.shadows["default"]
|
|
3017
3017
|
};
|
|
3018
3018
|
var fontSizes = {
|
|
3019
3019
|
icon: theme.fontSizes.small
|
|
@@ -3212,7 +3212,7 @@ var getFABTheme = function getFABTheme(theme) {
|
|
|
3212
3212
|
icon: theme.lineHeights.large
|
|
3213
3213
|
};
|
|
3214
3214
|
var shadows = {
|
|
3215
|
-
"default": theme.shadows
|
|
3215
|
+
"default": theme.shadows["default"]
|
|
3216
3216
|
};
|
|
3217
3217
|
var space = {
|
|
3218
3218
|
actionItemPadding: theme.space.smallMedium,
|
|
@@ -3302,7 +3302,7 @@ var getListTheme = function getListTheme(theme) {
|
|
|
3302
3302
|
leadingStatus: theme.radii.rounded
|
|
3303
3303
|
};
|
|
3304
3304
|
var shadows = {
|
|
3305
|
-
card: theme.shadows
|
|
3305
|
+
card: theme.shadows["default"]
|
|
3306
3306
|
};
|
|
3307
3307
|
var widths = {
|
|
3308
3308
|
leadingStatus: 8
|
|
@@ -3989,7 +3989,7 @@ var getToastTheme = function getToastTheme(theme) {
|
|
|
3989
3989
|
base: theme.borderWidths.base
|
|
3990
3990
|
};
|
|
3991
3991
|
var shadows = {
|
|
3992
|
-
wrapper: theme.shadows
|
|
3992
|
+
wrapper: theme.shadows["default"]
|
|
3993
3993
|
};
|
|
3994
3994
|
return {
|
|
3995
3995
|
colors: colors,
|
|
@@ -4243,7 +4243,7 @@ var getSearchTheme = function getSearchTheme(theme) {
|
|
|
4243
4243
|
shadow: theme.colors.primaryOutline
|
|
4244
4244
|
};
|
|
4245
4245
|
var shadows = {
|
|
4246
|
-
container: theme.shadows
|
|
4246
|
+
container: theme.shadows["default"]
|
|
4247
4247
|
};
|
|
4248
4248
|
var space = {
|
|
4249
4249
|
containerHorizontalPadding: theme.space.small,
|
|
@@ -4323,11 +4323,11 @@ var getMapPinTheme = function getMapPinTheme(theme) {
|
|
|
4323
4323
|
iconRight: -theme.space.small
|
|
4324
4324
|
};
|
|
4325
4325
|
var shadows = {
|
|
4326
|
-
offset: theme.shadows
|
|
4327
|
-
opacity: theme.shadows
|
|
4328
|
-
radius: theme.shadows
|
|
4329
|
-
elevation: theme.shadows
|
|
4330
|
-
color: theme.shadows
|
|
4326
|
+
offset: theme.shadows.deep.shadowOffset,
|
|
4327
|
+
opacity: theme.shadows.deep.shadowOpacity,
|
|
4328
|
+
radius: theme.shadows.deep.shadowRadius,
|
|
4329
|
+
elevation: theme.shadows.deep.elevation,
|
|
4330
|
+
color: theme.shadows.deep.shadowColor
|
|
4331
4331
|
};
|
|
4332
4332
|
return {
|
|
4333
4333
|
sizes: sizes,
|
|
@@ -4348,7 +4348,7 @@ var getFloatingIslandTheme = function getFloatingIslandTheme(theme) {
|
|
|
4348
4348
|
wrapper: theme.radii.rounded
|
|
4349
4349
|
};
|
|
4350
4350
|
var shadows = {
|
|
4351
|
-
wrapper: theme.shadows
|
|
4351
|
+
wrapper: theme.shadows["default"]
|
|
4352
4352
|
};
|
|
4353
4353
|
var space = {
|
|
4354
4354
|
wrapperPadding: theme.space.small,
|
package/package.json
CHANGED
|
@@ -33,12 +33,12 @@ exports[`MapPin.Focussed renders icon correctly 1`] = `
|
|
|
33
33
|
[
|
|
34
34
|
{
|
|
35
35
|
"fontSize": 42,
|
|
36
|
-
"textShadowColor": "rgba(0,0,0,0.
|
|
36
|
+
"textShadowColor": "rgba(0,0,0,0.28)",
|
|
37
37
|
"textShadowOffset": {
|
|
38
|
-
"height":
|
|
38
|
+
"height": 4,
|
|
39
39
|
"width": 0,
|
|
40
40
|
},
|
|
41
|
-
"textShadowRadius":
|
|
41
|
+
"textShadowRadius": 8,
|
|
42
42
|
},
|
|
43
43
|
undefined,
|
|
44
44
|
],
|
|
@@ -33,16 +33,16 @@ exports[`MapPin renders applied state correctly 1`] = `
|
|
|
33
33
|
"borderRadius": 12,
|
|
34
34
|
"borderWidth": 4,
|
|
35
35
|
"display": "flex",
|
|
36
|
-
"elevation":
|
|
36
|
+
"elevation": 10,
|
|
37
37
|
"height": 42,
|
|
38
38
|
"justifyContent": "center",
|
|
39
|
-
"shadowColor": "#
|
|
39
|
+
"shadowColor": "#001f23",
|
|
40
40
|
"shadowOffset": {
|
|
41
|
-
"height":
|
|
41
|
+
"height": 4,
|
|
42
42
|
"width": 0,
|
|
43
43
|
},
|
|
44
|
-
"shadowOpacity": 0.
|
|
45
|
-
"shadowRadius":
|
|
44
|
+
"shadowOpacity": 0.28,
|
|
45
|
+
"shadowRadius": 8,
|
|
46
46
|
"width": 42,
|
|
47
47
|
},
|
|
48
48
|
undefined,
|
|
@@ -168,16 +168,16 @@ exports[`MapPin renders icon correctly 1`] = `
|
|
|
168
168
|
"borderRadius": 12,
|
|
169
169
|
"borderWidth": 4,
|
|
170
170
|
"display": "flex",
|
|
171
|
-
"elevation":
|
|
171
|
+
"elevation": 10,
|
|
172
172
|
"height": 42,
|
|
173
173
|
"justifyContent": "center",
|
|
174
|
-
"shadowColor": "#
|
|
174
|
+
"shadowColor": "#001f23",
|
|
175
175
|
"shadowOffset": {
|
|
176
|
-
"height":
|
|
176
|
+
"height": 4,
|
|
177
177
|
"width": 0,
|
|
178
178
|
},
|
|
179
|
-
"shadowOpacity": 0.
|
|
180
|
-
"shadowRadius":
|
|
179
|
+
"shadowOpacity": 0.28,
|
|
180
|
+
"shadowRadius": 8,
|
|
181
181
|
"width": 42,
|
|
182
182
|
},
|
|
183
183
|
undefined,
|
|
@@ -263,16 +263,16 @@ exports[`MapPin renders image correctly 1`] = `
|
|
|
263
263
|
"borderRadius": 12,
|
|
264
264
|
"borderWidth": 4,
|
|
265
265
|
"display": "flex",
|
|
266
|
-
"elevation":
|
|
266
|
+
"elevation": 10,
|
|
267
267
|
"height": 42,
|
|
268
268
|
"justifyContent": "center",
|
|
269
|
-
"shadowColor": "#
|
|
269
|
+
"shadowColor": "#001f23",
|
|
270
270
|
"shadowOffset": {
|
|
271
|
-
"height":
|
|
271
|
+
"height": 4,
|
|
272
272
|
"width": 0,
|
|
273
273
|
},
|
|
274
|
-
"shadowOpacity": 0.
|
|
275
|
-
"shadowRadius":
|
|
274
|
+
"shadowOpacity": 0.28,
|
|
275
|
+
"shadowRadius": 8,
|
|
276
276
|
"width": 42,
|
|
277
277
|
},
|
|
278
278
|
undefined,
|
|
@@ -356,16 +356,16 @@ exports[`MapPin renders selected state correctly 1`] = `
|
|
|
356
356
|
"borderRadius": 12,
|
|
357
357
|
"borderWidth": 4,
|
|
358
358
|
"display": "flex",
|
|
359
|
-
"elevation":
|
|
359
|
+
"elevation": 10,
|
|
360
360
|
"height": 42,
|
|
361
361
|
"justifyContent": "center",
|
|
362
|
-
"shadowColor": "#
|
|
362
|
+
"shadowColor": "#001f23",
|
|
363
363
|
"shadowOffset": {
|
|
364
|
-
"height":
|
|
364
|
+
"height": 4,
|
|
365
365
|
"width": 0,
|
|
366
366
|
},
|
|
367
|
-
"shadowOpacity": 0.
|
|
368
|
-
"shadowRadius":
|
|
367
|
+
"shadowOpacity": 0.28,
|
|
368
|
+
"shadowRadius": 8,
|
|
369
369
|
"width": 42,
|
|
370
370
|
},
|
|
371
371
|
undefined,
|
|
@@ -157,15 +157,15 @@ exports[`StyledMarker renders correctly when disabled is false 1`] = `
|
|
|
157
157
|
{
|
|
158
158
|
"backgroundColor": "#401960",
|
|
159
159
|
"borderRadius": 999,
|
|
160
|
-
"elevation":
|
|
160
|
+
"elevation": 6,
|
|
161
161
|
"height": 24,
|
|
162
|
-
"shadowColor": "#
|
|
162
|
+
"shadowColor": "#001f23",
|
|
163
163
|
"shadowOffset": {
|
|
164
164
|
"height": 2,
|
|
165
165
|
"width": 0,
|
|
166
166
|
},
|
|
167
167
|
"shadowOpacity": 0.12,
|
|
168
|
-
"shadowRadius":
|
|
168
|
+
"shadowRadius": 2,
|
|
169
169
|
"width": 24,
|
|
170
170
|
},
|
|
171
171
|
undefined,
|
|
@@ -211,15 +211,15 @@ exports[`StyledMarker renders correctly when disabled is true 1`] = `
|
|
|
211
211
|
{
|
|
212
212
|
"backgroundColor": "#bfc1c5",
|
|
213
213
|
"borderRadius": 999,
|
|
214
|
-
"elevation":
|
|
214
|
+
"elevation": 6,
|
|
215
215
|
"height": 24,
|
|
216
|
-
"shadowColor": "#
|
|
216
|
+
"shadowColor": "#001f23",
|
|
217
217
|
"shadowOffset": {
|
|
218
218
|
"height": 2,
|
|
219
219
|
"width": 0,
|
|
220
220
|
},
|
|
221
221
|
"shadowOpacity": 0.12,
|
|
222
|
-
"shadowRadius":
|
|
222
|
+
"shadowRadius": 2,
|
|
223
223
|
"width": 24,
|
|
224
224
|
},
|
|
225
225
|
undefined,
|
|
@@ -780,14 +780,14 @@ exports[`theme returns correct theme object 1`] = `
|
|
|
780
780
|
"default": 12,
|
|
781
781
|
},
|
|
782
782
|
"shadows": {
|
|
783
|
-
"color": "#
|
|
784
|
-
"elevation":
|
|
783
|
+
"color": "#001f23",
|
|
784
|
+
"elevation": 10,
|
|
785
785
|
"offset": {
|
|
786
|
-
"height":
|
|
786
|
+
"height": 4,
|
|
787
787
|
"width": 0,
|
|
788
788
|
},
|
|
789
|
-
"opacity": 0.
|
|
790
|
-
"radius":
|
|
789
|
+
"opacity": 0.28,
|
|
790
|
+
"radius": 8,
|
|
791
791
|
},
|
|
792
792
|
"sizes": {
|
|
793
793
|
"badge": 24,
|
|
@@ -1086,14 +1086,14 @@ exports[`theme returns correct theme object 1`] = `
|
|
|
1086
1086
|
},
|
|
1087
1087
|
"shadows": {
|
|
1088
1088
|
"marker": {
|
|
1089
|
-
"elevation":
|
|
1090
|
-
"shadowColor": "#
|
|
1089
|
+
"elevation": 6,
|
|
1090
|
+
"shadowColor": "#001f23",
|
|
1091
1091
|
"shadowOffset": {
|
|
1092
1092
|
"height": 2,
|
|
1093
1093
|
"width": 0,
|
|
1094
1094
|
},
|
|
1095
1095
|
"shadowOpacity": 0.12,
|
|
1096
|
-
"shadowRadius":
|
|
1096
|
+
"shadowRadius": 2,
|
|
1097
1097
|
},
|
|
1098
1098
|
},
|
|
1099
1099
|
"sizes": {
|
|
@@ -1732,27 +1732,27 @@ exports[`theme returns correct theme object 1`] = `
|
|
|
1732
1732
|
"xxxlarge": 24,
|
|
1733
1733
|
},
|
|
1734
1734
|
"shadows": {
|
|
1735
|
-
"
|
|
1736
|
-
"elevation":
|
|
1735
|
+
"deep": {
|
|
1736
|
+
"elevation": 10,
|
|
1737
1737
|
"shadowColor": "#001f23",
|
|
1738
1738
|
"shadowOffset": {
|
|
1739
|
-
"height":
|
|
1739
|
+
"height": 4,
|
|
1740
1740
|
"width": 0,
|
|
1741
1741
|
},
|
|
1742
|
-
"shadowOpacity": 0.
|
|
1743
|
-
"shadowRadius":
|
|
1742
|
+
"shadowOpacity": 0.28,
|
|
1743
|
+
"shadowRadius": 8,
|
|
1744
1744
|
},
|
|
1745
1745
|
"default": {
|
|
1746
|
-
"elevation":
|
|
1747
|
-
"shadowColor": "#
|
|
1746
|
+
"elevation": 6,
|
|
1747
|
+
"shadowColor": "#001f23",
|
|
1748
1748
|
"shadowOffset": {
|
|
1749
1749
|
"height": 2,
|
|
1750
1750
|
"width": 0,
|
|
1751
1751
|
},
|
|
1752
1752
|
"shadowOpacity": 0.12,
|
|
1753
|
-
"shadowRadius":
|
|
1753
|
+
"shadowRadius": 2,
|
|
1754
1754
|
},
|
|
1755
|
-
"
|
|
1755
|
+
"medium": {
|
|
1756
1756
|
"elevation": 10,
|
|
1757
1757
|
"shadowColor": "#001f23",
|
|
1758
1758
|
"shadowOffset": {
|