@expokit/cli 0.4.3 → 0.5.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/README.md +30 -3
- package/bin/expo-kit.js +749 -288
- package/bin/lib.mjs +313 -4
- package/package.json +1 -1
- package/registry/_docs/action-sheet.json +1 -1
- package/registry/_docs/alert.json +6 -0
- package/registry/_docs/bottom-sheet.json +6 -0
- package/registry/_docs/bullet.json +6 -0
- package/registry/_docs/dialog.json +1 -1
- package/registry/_docs/drawer.json +3 -3
- package/registry/_docs/flip-calendar.json +106 -0
- package/registry/_docs/glass-search-bar.json +1 -1
- package/registry/_docs/grain.json +6 -1
- package/registry/_docs/isometric-bar.json +6 -0
- package/registry/_docs/liquidglass-tab.json +1 -1
- package/registry/_docs/password-input.json +1 -1
- package/registry/_docs/paywall.json +144 -0
- package/registry/_docs/pixel-bar.json +6 -0
- package/registry/_docs/polar-area.json +6 -0
- package/registry/_docs/qr-code-button.json +9 -3
- package/registry/_docs/ruler-time-picker.json +147 -0
- package/registry/_docs/scratch-card.json +7 -1
- package/registry/_docs/search-bar.json +1 -1
- package/registry/_docs/select.json +2 -2
- package/registry/_docs/slide-to-confirm.json +2 -2
- package/registry/_docs/spinner.json +1 -1
- package/registry/_docs/stateful-button.json +2 -2
- package/registry/_docs/swipe-deck.json +1 -1
- package/registry/_docs/time-picker.json +2 -2
- package/registry/_docs/timeline-chart.json +6 -0
- package/registry/_docs/toast.json +15 -3
- package/registry/_docs/treemap.json +6 -0
- package/registry/_docs/waterfall.json +6 -0
- package/registry/accordion/files/src/components/ui/accordion.tsx +6 -4
- package/registry/accordion/files/src/lib/kit.tsx +462 -12
- package/registry/accordion.json +1 -0
- package/registry/action-sheet/files/src/components/ui/action-sheet.tsx +50 -58
- package/registry/action-sheet/files/src/lib/kit.tsx +462 -12
- package/registry/action-sheet.json +1 -0
- package/registry/alert/files/src/components/ui/alert.tsx +20 -13
- package/registry/alert/files/src/lib/kit.tsx +462 -12
- package/registry/alert.json +3 -4
- package/registry/assistant-app.json +1 -0
- package/registry/avatar/files/src/components/ui/avatar.tsx +89 -74
- package/registry/avatar/files/src/lib/kit.tsx +462 -12
- package/registry/avatar.json +1 -0
- package/registry/badge/files/src/components/ui/badge.tsx +36 -36
- package/registry/badge/files/src/lib/kit.tsx +462 -12
- package/registry/badge.json +1 -0
- package/registry/bottom-nav/files/src/components/ui/bottom-nav.tsx +39 -44
- package/registry/bottom-nav/files/src/lib/kit.tsx +462 -12
- package/registry/bottom-nav.json +5 -0
- package/registry/bottom-sheet/files/src/components/ui/bottom-sheet.tsx +357 -300
- package/registry/bottom-sheet/files/src/lib/kit.tsx +462 -12
- package/registry/bottom-sheet.json +5 -1
- package/registry/bullet.json +1 -0
- package/registry/button/files/src/components/ui/button.tsx +23 -34
- package/registry/button/files/src/lib/kit.tsx +462 -12
- package/registry/button-3d/files/src/components/ui/button-3d.tsx +6 -9
- package/registry/button-3d/files/src/lib/kit.tsx +462 -12
- package/registry/button-3d.json +1 -0
- package/registry/button.json +1 -0
- package/registry/calendar/files/src/components/ui/calendar.tsx +77 -79
- package/registry/calendar/files/src/lib/kit.tsx +462 -12
- package/registry/calendar.json +1 -0
- package/registry/card/files/src/components/ui/card.tsx +7 -6
- package/registry/card/files/src/lib/kit.tsx +462 -12
- package/registry/card-stack.json +1 -0
- package/registry/card.json +1 -0
- package/registry/carousel.json +1 -0
- package/registry/chat.json +7 -0
- package/registry/checkbox/files/src/components/ui/checkbox.tsx +4 -4
- package/registry/checkbox/files/src/lib/kit.tsx +462 -12
- package/registry/checkbox.json +1 -0
- package/registry/checkout.json +1 -0
- package/registry/chip-group/files/src/components/ui/chip-group.tsx +24 -24
- package/registry/chip-group/files/src/lib/kit.tsx +462 -12
- package/registry/chip-group.json +1 -0
- package/registry/confetti/files/src/components/ui/confetti.tsx +15 -14
- package/registry/confetti.json +3 -6
- package/registry/coupon/files/src/components/ui/coupon.tsx +47 -52
- package/registry/coupon/files/src/components/ui/flip-card.tsx +9 -14
- package/registry/coupon/files/src/components/ui/tilt-card.tsx +80 -101
- package/registry/coupon/files/src/lib/kit.tsx +462 -12
- package/registry/coupon/files/src/lib/ticket-shape.tsx +54 -44
- package/registry/coupon.json +1 -0
- package/registry/cube-pager.json +1 -0
- package/registry/dashboard.json +1 -0
- package/registry/date-picker/files/src/components/ui/calendar.tsx +77 -79
- package/registry/date-picker/files/src/components/ui/date-picker.tsx +64 -71
- package/registry/date-picker/files/src/lib/kit.tsx +462 -12
- package/registry/date-picker.json +1 -0
- package/registry/dialog/files/src/components/ui/dialog.tsx +66 -68
- package/registry/dialog/files/src/lib/kit.tsx +462 -12
- package/registry/dialog.json +1 -0
- package/registry/donut-shop.json +1 -0
- package/registry/drawer/files/src/components/ui/drawer.tsx +76 -88
- package/registry/drawer/files/src/lib/kit.tsx +462 -12
- package/registry/drawer.json +1 -0
- package/registry/fab.json +1 -0
- package/registry/fintech-app.json +1 -0
- package/registry/flip-calendar/files/src/components/ui/flip-calendar.tsx +632 -0
- package/registry/flip-calendar/files/src/lib/kit.tsx +672 -0
- package/registry/flip-calendar.json +24 -0
- package/registry/flip-card/files/src/components/ui/flip-card.tsx +9 -14
- package/registry/flip-card/files/src/lib/kit.tsx +462 -12
- package/registry/flip-card.json +1 -0
- package/registry/floating-input/files/src/components/ui/floating-input.tsx +33 -33
- package/registry/floating-input/files/src/lib/kit.tsx +462 -12
- package/registry/floating-input.json +1 -0
- package/registry/food-app.json +1 -0
- package/registry/gift-card.json +1 -0
- package/registry/glass-button.json +5 -0
- package/registry/glass-nav-bar.json +1 -0
- package/registry/glass-search-bar.json +1 -0
- package/registry/glass-segmented.json +1 -0
- package/registry/glass-sheet.json +1 -0
- package/registry/glass-tab-bar.json +5 -0
- package/registry/glass.json +1 -0
- package/registry/grain/files/src/components/ui/grain.tsx +16 -14
- package/registry/grain.json +8 -6
- package/registry/inbox.json +1 -0
- package/registry/isometric-bar.json +1 -0
- package/registry/kit/files/src/lib/kit.tsx +462 -12
- package/registry/kit.json +1 -0
- package/registry/liquidglass-tab/files/src/app/_layout.tsx +0 -1
- package/registry/liquidglass-tab/files/src/components/GlassTabBar.tsx +29 -16
- package/registry/liquidglass-tab/files/src/components/TabScreen.tsx +33 -19
- package/registry/liquidglass-tab/files/src/lib/tab-icons.ts +1 -1
- package/registry/liquidglass-tab.json +1 -0
- package/registry/list-item/files/src/components/ui/list-item.tsx +43 -43
- package/registry/list-item/files/src/lib/kit.tsx +462 -12
- package/registry/list-item.json +1 -0
- package/registry/loyalty-card.json +1 -0
- package/registry/morphing-button-group.json +1 -0
- package/registry/number-ticker.json +1 -0
- package/registry/offers.json +1 -0
- package/registry/onboarding.json +1 -0
- package/registry/orb-reveal.json +1 -0
- package/registry/otp-input/files/src/components/ui/otp-input.tsx +49 -30
- package/registry/otp-input/files/src/lib/kit.tsx +462 -12
- package/registry/otp-input.json +1 -0
- package/registry/parallax-layers.json +1 -0
- package/registry/parallax-scroll.json +1 -0
- package/registry/password-input/files/src/components/ui/floating-input.tsx +33 -33
- package/registry/password-input/files/src/components/ui/password-input.tsx +29 -25
- package/registry/password-input/files/src/lib/kit.tsx +462 -12
- package/registry/password-input.json +1 -0
- package/registry/payment-card/files/src/components/ui/flip-card.tsx +9 -14
- package/registry/payment-card/files/src/components/ui/payment-card.tsx +26 -20
- package/registry/payment-card/files/src/components/ui/tilt-card.tsx +80 -101
- package/registry/payment-card/files/src/lib/kit.tsx +462 -12
- package/registry/payment-card.json +1 -0
- package/registry/paywall.json +23 -0
- package/registry/pixel-bar.json +1 -0
- package/registry/polar-area.json +1 -0
- package/registry/profile.json +1 -0
- package/registry/progress/files/src/components/ui/progress.tsx +31 -29
- package/registry/progress/files/src/lib/kit.tsx +462 -12
- package/registry/progress-steps/files/src/components/ui/progress-steps.tsx +21 -21
- package/registry/progress-steps/files/src/lib/kit.tsx +462 -12
- package/registry/progress-steps.json +1 -0
- package/registry/progress.json +1 -0
- package/registry/qr-code-button.json +1 -0
- package/registry/radio-group/files/src/components/ui/radio-group.tsx +19 -19
- package/registry/radio-group/files/src/lib/kit.tsx +462 -12
- package/registry/radio-group.json +1 -0
- package/registry/rating.json +1 -0
- package/registry/ring-carousel.json +1 -0
- package/registry/ruler-time-picker/files/src/components/ui/ruler-time-picker.tsx +832 -0
- package/registry/ruler-time-picker/files/src/lib/kit.tsx +672 -0
- package/registry/ruler-time-picker.json +26 -0
- package/registry/scratch-card.json +1 -0
- package/registry/search-bar/files/src/components/ui/search-bar.tsx +28 -28
- package/registry/search-bar/files/src/lib/kit.tsx +462 -12
- package/registry/search-bar.json +1 -0
- package/registry/search-results.json +4 -0
- package/registry/segmented-control/files/src/components/ui/segmented-control.tsx +11 -17
- package/registry/segmented-control/files/src/lib/kit.tsx +462 -12
- package/registry/segmented-control.json +1 -0
- package/registry/select/files/src/components/ui/select.tsx +107 -104
- package/registry/select/files/src/lib/kit.tsx +462 -12
- package/registry/select.json +6 -0
- package/registry/settings.json +1 -0
- package/registry/sign-in.json +1 -0
- package/registry/skeleton/files/src/components/ui/skeleton.tsx +149 -80
- package/registry/skeleton/files/src/lib/kit.tsx +462 -12
- package/registry/skeleton.json +1 -0
- package/registry/slide-to-confirm.json +1 -0
- package/registry/slider/files/src/components/ui/slider.tsx +106 -108
- package/registry/slider/files/src/lib/kit.tsx +462 -12
- package/registry/slider.json +5 -0
- package/registry/spin-wheel.json +1 -0
- package/registry/spinner/files/src/components/ui/spinner.tsx +39 -29
- package/registry/spinner/files/src/lib/kit.tsx +462 -12
- package/registry/spinner.json +6 -0
- package/registry/stateful-button/files/src/components/ui/stateful-button.tsx +39 -32
- package/registry/stateful-button/files/src/lib/kit.tsx +462 -12
- package/registry/stateful-button.json +5 -0
- package/registry/stepper/files/src/components/ui/stepper.tsx +40 -38
- package/registry/stepper/files/src/lib/kit.tsx +462 -12
- package/registry/stepper.json +1 -0
- package/registry/swipe-deck.json +1 -0
- package/registry/swipeable-row.json +4 -0
- package/registry/switch/files/src/components/ui/switch.tsx +41 -47
- package/registry/switch/files/src/lib/kit.tsx +462 -12
- package/registry/switch.json +1 -0
- package/registry/tabs/files/src/components/ui/tabs.tsx +61 -64
- package/registry/tabs/files/src/lib/kit.tsx +462 -12
- package/registry/tabs.json +1 -0
- package/registry/text-animation/files/src/components/ui/text-animation.tsx +55 -42
- package/registry/text-animation/files/src/lib/kit.tsx +462 -12
- package/registry/text-animation.json +7 -0
- package/registry/textarea/files/src/components/ui/textarea.tsx +10 -10
- package/registry/textarea/files/src/lib/kit.tsx +462 -12
- package/registry/textarea.json +1 -0
- package/registry/ticket-card.json +1 -0
- package/registry/ticket-shape/files/src/lib/kit.tsx +462 -12
- package/registry/ticket-shape/files/src/lib/ticket-shape.tsx +54 -44
- package/registry/ticket-shape.json +1 -0
- package/registry/tilt-card/files/src/components/ui/tilt-card.tsx +80 -101
- package/registry/tilt-card/files/src/lib/kit.tsx +462 -12
- package/registry/tilt-card.json +1 -0
- package/registry/time-picker/files/src/components/ui/time-picker.tsx +136 -131
- package/registry/time-picker/files/src/lib/kit.tsx +462 -12
- package/registry/time-picker.json +1 -0
- package/registry/timeline/files/src/components/ui/avatar.tsx +89 -74
- package/registry/timeline/files/src/components/ui/timeline.tsx +49 -57
- package/registry/timeline/files/src/lib/kit.tsx +462 -12
- package/registry/timeline-chart.json +1 -0
- package/registry/timeline.json +1 -0
- package/registry/toast/files/src/components/ui/toast.tsx +543 -465
- package/registry/toast/files/src/lib/kit.tsx +462 -12
- package/registry/toast.json +7 -5
- package/registry/treemap.json +1 -0
- package/registry/waterfall.json +1 -0
- package/registry/wheel-list.json +1 -0
- package/schema/components.schema.json +1 -0
- package/registry/alert/files/src/components/ui/button.tsx +0 -303
- package/registry/confetti/files/src/lib/kit.tsx +0 -222
- package/registry/grain/files/src/lib/kit.tsx +0 -222
- package/registry/toast/files/src/components/ui/button.tsx +0 -303
|
@@ -67,36 +67,36 @@ export interface BottomNavItem {
|
|
|
67
67
|
*/
|
|
68
68
|
icon: BottomNavIconName | ((props: BottomNavIconProps) => React.ReactNode);
|
|
69
69
|
/** `true` shows a dot; a number shows a count (99+ above 99). */
|
|
70
|
-
badge?: boolean | number;
|
|
70
|
+
badge?: boolean | number | undefined;
|
|
71
71
|
/**
|
|
72
72
|
* A primary action (e.g. Create) instead of a destination: drawn as a solid accent button and never
|
|
73
73
|
* becomes the active tab. Pressing it calls `onAction`.
|
|
74
74
|
*/
|
|
75
|
-
action?: boolean;
|
|
76
|
-
accessibilityLabel?: string;
|
|
75
|
+
action?: boolean | undefined;
|
|
76
|
+
accessibilityLabel?: string | undefined;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
export interface BottomNavProps {
|
|
80
80
|
items: BottomNavItem[];
|
|
81
|
-
value?: string;
|
|
82
|
-
defaultValue?: string;
|
|
83
|
-
onValueChange?: (key: string) => void;
|
|
81
|
+
value?: string | undefined;
|
|
82
|
+
defaultValue?: string | undefined;
|
|
83
|
+
onValueChange?: ((key: string) => void) | undefined;
|
|
84
84
|
/** Called with the item's key when an `action` item is pressed. */
|
|
85
|
-
onAction?: (key: string) => void;
|
|
86
|
-
variant?: BottomNavVariant;
|
|
85
|
+
onAction?: ((key: string) => void) | undefined;
|
|
86
|
+
variant?: BottomNavVariant | undefined;
|
|
87
87
|
/** Active colour and the action button fill. */
|
|
88
|
-
accent?: string;
|
|
88
|
+
accent?: string | undefined;
|
|
89
89
|
/** Opt-in two-colour gradient for the action button (default: none — a solid accent fill). */
|
|
90
|
-
gradient?: [string, string];
|
|
90
|
+
gradient?: [string, string] | undefined;
|
|
91
91
|
/** Show labels. `floating` and `pill` show only the active label; the others show all. */
|
|
92
|
-
showLabels?: boolean;
|
|
92
|
+
showLabels?: boolean | undefined;
|
|
93
93
|
/** Extra bottom padding, e.g. `useSafeAreaInsets().bottom` when the bar sits at the screen edge. */
|
|
94
|
-
bottomInset?: number;
|
|
94
|
+
bottomInset?: number | undefined;
|
|
95
95
|
/** Show the iOS home-indicator line (default: on for `minimal`). */
|
|
96
|
-
homeIndicator?: boolean;
|
|
96
|
+
homeIndicator?: boolean | undefined;
|
|
97
97
|
/** Selection tick on tab change, light impact on the action button (default true). */
|
|
98
|
-
haptics?: boolean;
|
|
99
|
-
style?: StyleProp<ViewStyle
|
|
98
|
+
haptics?: boolean | undefined;
|
|
99
|
+
style?: StyleProp<ViewStyle> | undefined;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
// Controls stop growing at iOS's largest standard text size (xxxL ≈ 1.35×) so they keep their shape;
|
|
@@ -159,9 +159,9 @@ export function BottomNav({
|
|
|
159
159
|
const slot = rowW / n;
|
|
160
160
|
|
|
161
161
|
// Indicator edges (JS driver: they set left / width) and the slot offset (native: spotlight).
|
|
162
|
-
const lead =
|
|
163
|
-
const trail =
|
|
164
|
-
const x =
|
|
162
|
+
const [lead] = useState(() => new Animated.Value(0));
|
|
163
|
+
const [trail] = useState(() => new Animated.Value(0));
|
|
164
|
+
const [x] = useState(() => new Animated.Value(0));
|
|
165
165
|
const placed = useRef(false);
|
|
166
166
|
const last = useRef(index);
|
|
167
167
|
|
|
@@ -327,8 +327,9 @@ export function BottomNav({
|
|
|
327
327
|
|
|
328
328
|
// ---- centre FAB in its notch (absolute, so its whole face stays inside the bar's bounds) -----
|
|
329
329
|
let centre: React.ReactNode = null;
|
|
330
|
-
|
|
331
|
-
|
|
330
|
+
const actionItem = notched ? items[actionIndex] : undefined;
|
|
331
|
+
if (actionItem && rowW) {
|
|
332
|
+
const item = actionItem;
|
|
332
333
|
centre = (
|
|
333
334
|
<CentreAction
|
|
334
335
|
item={item}
|
|
@@ -371,12 +372,13 @@ export function BottomNav({
|
|
|
371
372
|
) : null;
|
|
372
373
|
|
|
373
374
|
if (look === 'floating') {
|
|
374
|
-
// Two shadows: a wide soft one on the outer view, a tight contact one on the bar itself
|
|
375
|
+
// Two shadows: a wide soft one on the outer view, a tight contact one on the bar itself
|
|
376
|
+
// (boxShadow, so they look the same on iOS, Android and web).
|
|
375
377
|
return (
|
|
376
378
|
<View
|
|
377
379
|
style={[
|
|
378
380
|
styles.floatOuter,
|
|
379
|
-
{ marginBottom: 12 + bottomInset, borderRadius: floatR, backgroundColor: surface,
|
|
381
|
+
{ marginBottom: 12 + bottomInset, borderRadius: floatR, backgroundColor: surface, boxShadow: `0px 12px 48px rgba(0,0,0,${dark ? 0.55 : 0.1})` },
|
|
380
382
|
style,
|
|
381
383
|
]}
|
|
382
384
|
>
|
|
@@ -390,7 +392,7 @@ export function BottomNav({
|
|
|
390
392
|
borderRadius: floatR,
|
|
391
393
|
backgroundColor: surface,
|
|
392
394
|
borderColor: hairline,
|
|
393
|
-
|
|
395
|
+
boxShadow: `0px 1px 6px rgba(0,0,0,${dark ? 0.35 : 0.06})`,
|
|
394
396
|
},
|
|
395
397
|
]}
|
|
396
398
|
>
|
|
@@ -448,11 +450,11 @@ interface NavButtonProps {
|
|
|
448
450
|
}
|
|
449
451
|
|
|
450
452
|
function NavButton({ item, active, look, tint, idle, surface, fab, showLabels, reduce, onPress }: NavButtonProps) {
|
|
451
|
-
const { font } = useKit();
|
|
453
|
+
const { font, labels } = useKit();
|
|
452
454
|
const ff = font.family ? { fontFamily: font.family } : null;
|
|
453
|
-
const press =
|
|
454
|
-
const pop =
|
|
455
|
-
const grow =
|
|
455
|
+
const [press] = useState(() => new Animated.Value(1)); // press squish (native)
|
|
456
|
+
const [pop] = useState(() => new Animated.Value(active ? 1 : 0)); // active state (native)
|
|
457
|
+
const [grow] = useState(() => new Animated.Value(active ? 1 : 0)); // pill width (JS — layout)
|
|
456
458
|
const [labelW, setLabelW] = useState(0);
|
|
457
459
|
|
|
458
460
|
useEffect(() => {
|
|
@@ -467,7 +469,7 @@ function NavButton({ item, active, look, tint, idle, surface, fab, showLabels, r
|
|
|
467
469
|
|
|
468
470
|
const pressTo = (v: number) =>
|
|
469
471
|
Animated.spring(press, { toValue: v, useNativeDriver: true, ...(v < 1 ? motion.snappy : motion.bouncy) }).start();
|
|
470
|
-
const a11y = item.accessibilityLabel ?? (typeof item.badge === 'number' ? `${item.label}, ${item.badge}
|
|
472
|
+
const a11y = item.accessibilityLabel ?? (typeof item.badge === 'number' ? `${item.label}, ${labels.newCount(String(item.badge))}` : item.label);
|
|
471
473
|
const pressable = {
|
|
472
474
|
onPress,
|
|
473
475
|
onPressIn: () => pressTo(0.88),
|
|
@@ -665,7 +667,7 @@ function CentreAction({
|
|
|
665
667
|
}) {
|
|
666
668
|
const { font } = useKit();
|
|
667
669
|
const ff = font.family ? { fontFamily: font.family } : null;
|
|
668
|
-
const press =
|
|
670
|
+
const [press] = useState(() => new Animated.Value(1));
|
|
669
671
|
const pressTo = (v: number) =>
|
|
670
672
|
Animated.spring(press, { toValue: v, useNativeDriver: true, ...(v < 1 ? motion.snappy : motion.bouncy) }).start();
|
|
671
673
|
return (
|
|
@@ -744,7 +746,7 @@ function FabFace({
|
|
|
744
746
|
</Svg>
|
|
745
747
|
</Animated.View>
|
|
746
748
|
) : null}
|
|
747
|
-
<View style={
|
|
749
|
+
<View style={{ width: size, height: size, borderRadius: r, backgroundColor: from, boxShadow: `0px 6px 24px ${alpha(from, 0.4)}` }}>
|
|
748
750
|
<Svg width={size} height={size} style={StyleSheet.absoluteFill}>
|
|
749
751
|
<Defs>
|
|
750
752
|
{twoTone ? (
|
|
@@ -772,7 +774,7 @@ function FabFace({
|
|
|
772
774
|
function Badge({ value, ring, reduce }: { value: true | number; ring: string; reduce: boolean }) {
|
|
773
775
|
const { colors, radius, font } = useKit();
|
|
774
776
|
const ff = font.family ? { fontFamily: font.family } : null;
|
|
775
|
-
const s =
|
|
777
|
+
const [s] = useState(() => new Animated.Value(reduce ? 1 : 0.3));
|
|
776
778
|
useEffect(() => {
|
|
777
779
|
if (reduce) {
|
|
778
780
|
s.setValue(1);
|
|
@@ -959,16 +961,9 @@ const styles = StyleSheet.create({
|
|
|
959
961
|
},
|
|
960
962
|
floatOuter: {
|
|
961
963
|
marginHorizontal: 16,
|
|
962
|
-
shadowColor: '#000',
|
|
963
|
-
shadowRadius: 24,
|
|
964
|
-
shadowOffset: { width: 0, height: 12 },
|
|
965
|
-
elevation: 10,
|
|
966
964
|
},
|
|
967
965
|
floatInner: {
|
|
968
966
|
borderWidth: StyleSheet.hairlineWidth,
|
|
969
|
-
shadowColor: '#000',
|
|
970
|
-
shadowRadius: 3,
|
|
971
|
-
shadowOffset: { width: 0, height: 1 },
|
|
972
967
|
},
|
|
973
968
|
row: {
|
|
974
969
|
flexDirection: 'row',
|
|
@@ -995,6 +990,8 @@ const styles = StyleSheet.create({
|
|
|
995
990
|
fontWeight: '400',
|
|
996
991
|
marginTop: 4,
|
|
997
992
|
letterSpacing: 0.1,
|
|
993
|
+
includeFontPadding: false,
|
|
994
|
+
textAlignVertical: 'center',
|
|
998
995
|
},
|
|
999
996
|
floatLabel: {
|
|
1000
997
|
position: 'absolute',
|
|
@@ -1013,6 +1010,8 @@ const styles = StyleSheet.create({
|
|
|
1013
1010
|
fontSize: 13.5,
|
|
1014
1011
|
fontWeight: '400',
|
|
1015
1012
|
letterSpacing: -0.1,
|
|
1013
|
+
includeFontPadding: false,
|
|
1014
|
+
textAlignVertical: 'center',
|
|
1016
1015
|
},
|
|
1017
1016
|
measure: {
|
|
1018
1017
|
position: 'absolute',
|
|
@@ -1022,12 +1021,6 @@ const styles = StyleSheet.create({
|
|
|
1022
1021
|
selfStart: {
|
|
1023
1022
|
alignSelf: 'flex-start',
|
|
1024
1023
|
},
|
|
1025
|
-
fab: {
|
|
1026
|
-
shadowOpacity: 0.4,
|
|
1027
|
-
shadowRadius: 12,
|
|
1028
|
-
shadowOffset: { width: 0, height: 6 },
|
|
1029
|
-
elevation: 6,
|
|
1030
|
-
},
|
|
1031
1024
|
home: {
|
|
1032
1025
|
position: 'absolute',
|
|
1033
1026
|
bottom: 6,
|
|
@@ -1059,5 +1052,7 @@ const styles = StyleSheet.create({
|
|
|
1059
1052
|
fontWeight: '400',
|
|
1060
1053
|
lineHeight: 12,
|
|
1061
1054
|
fontVariant: ['tabular-nums'],
|
|
1055
|
+
includeFontPadding: false,
|
|
1056
|
+
textAlignVertical: 'center',
|
|
1062
1057
|
},
|
|
1063
1058
|
});
|