@ornikar/kitt-universal 27.9.1-canary.b005d681364bb7e16454f696f46b5af55d721a97.0 → 27.9.1-canary.f58d71b1dad7167039ee1fbddbcf093a87688e98.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/CHANGELOG.md +5 -1
- package/dist/definitions/NavigationBottomSheet/NavigationBottomSheet.d.ts +2 -3
- package/dist/definitions/NavigationBottomSheet/NavigationBottomSheet.d.ts.map +1 -1
- package/dist/definitions/TopNavBar/TopNavBar.d.ts +2 -1
- package/dist/definitions/TopNavBar/TopNavBar.d.ts.map +1 -1
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +8 -14
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +1 -0
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/iconButton.d.ts +6 -0
- package/dist/definitions/themes/late-ocean/iconButton.d.ts.map +1 -0
- package/dist/index-metro.es.android.js +106 -92
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +106 -92
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +19 -4
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +15 -3
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +19 -4
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +15 -3
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +107 -92
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +15 -3
- package/dist/index.es.web.js.map +1 -1
- package/dist/linaria-themes-metro.es.android.js +6 -0
- package/dist/linaria-themes-metro.es.android.js.map +1 -1
- package/dist/linaria-themes-metro.es.ios.js +6 -0
- package/dist/linaria-themes-metro.es.ios.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.js +6 -0
- package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.web.js +6 -0
- package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-node-22.17.es.mjs +6 -0
- package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
- package/dist/linaria-themes-node-22.17.es.web.mjs +6 -0
- package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
- package/dist/linaria-themes.es.js +6 -0
- package/dist/linaria-themes.es.js.map +1 -1
- package/dist/linaria-themes.es.web.js +6 -0
- package/dist/linaria-themes.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1897,6 +1897,11 @@ const icon = {
|
|
|
1897
1897
|
defaultSize: 20
|
|
1898
1898
|
};
|
|
1899
1899
|
|
|
1900
|
+
const iconButton = {
|
|
1901
|
+
width: button.height.default,
|
|
1902
|
+
height: button.height.default
|
|
1903
|
+
};
|
|
1904
|
+
|
|
1900
1905
|
const listItem = {
|
|
1901
1906
|
padding: '12px 16px',
|
|
1902
1907
|
verticalPadding: 12,
|
|
@@ -2625,6 +2630,7 @@ const theme = {
|
|
|
2625
2630
|
forms,
|
|
2626
2631
|
highlight,
|
|
2627
2632
|
icon,
|
|
2633
|
+
iconButton,
|
|
2628
2634
|
buttonBadge,
|
|
2629
2635
|
listItem,
|
|
2630
2636
|
pageLoader,
|
|
@@ -2733,7 +2739,7 @@ function ActionCardDisabled({
|
|
|
2733
2739
|
});
|
|
2734
2740
|
}
|
|
2735
2741
|
|
|
2736
|
-
const _excluded$
|
|
2742
|
+
const _excluded$S = ["children", "variant", "borderVariant", "borderRadius", "disabled", "isHovered", "isPressed", "isFocused"];
|
|
2737
2743
|
function ActionCard(_ref) {
|
|
2738
2744
|
let {
|
|
2739
2745
|
children,
|
|
@@ -2745,7 +2751,7 @@ function ActionCard(_ref) {
|
|
|
2745
2751
|
isPressed,
|
|
2746
2752
|
isFocused
|
|
2747
2753
|
} = _ref,
|
|
2748
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2754
|
+
props = _objectWithoutProperties(_ref, _excluded$S);
|
|
2749
2755
|
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
|
|
2750
2756
|
children: disabled ? /*#__PURE__*/jsx(ActionCardDisabled, {
|
|
2751
2757
|
borderRadius: borderRadius,
|
|
@@ -3054,7 +3060,7 @@ const getTypographyTypeWithAncestorValue = (type, typographyTypeInContext) => {
|
|
|
3054
3060
|
return !!isAllValuesUndefined && !!typographyTypeInContext ? typographyTypeInContext : type;
|
|
3055
3061
|
};
|
|
3056
3062
|
|
|
3057
|
-
const _excluded$
|
|
3063
|
+
const _excluded$R = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
|
|
3058
3064
|
const TypographyFamilyContext = /*#__PURE__*/createContext(null);
|
|
3059
3065
|
const TypographyTypeContext = /*#__PURE__*/createContext(null);
|
|
3060
3066
|
const TypographyColorContext = /*#__PURE__*/createContext('black');
|
|
@@ -3181,7 +3187,7 @@ function Typography(_ref) {
|
|
|
3181
3187
|
variant,
|
|
3182
3188
|
color
|
|
3183
3189
|
} = _ref,
|
|
3184
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
3190
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$R);
|
|
3185
3191
|
const sx = useSx();
|
|
3186
3192
|
const typographyFamilyInContext = useContext(TypographyFamilyContext);
|
|
3187
3193
|
const typographyTypeInContext = useContext(TypographyTypeContext);
|
|
@@ -3322,14 +3328,14 @@ function Icon({
|
|
|
3322
3328
|
});
|
|
3323
3329
|
}
|
|
3324
3330
|
|
|
3325
|
-
const _excluded$
|
|
3331
|
+
const _excluded$Q = ["color", "size"],
|
|
3326
3332
|
_excluded2$5 = ["color"];
|
|
3327
3333
|
function TypographyIconSpecifiedColor(_ref) {
|
|
3328
3334
|
let {
|
|
3329
3335
|
color,
|
|
3330
3336
|
size
|
|
3331
3337
|
} = _ref,
|
|
3332
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3338
|
+
props = _objectWithoutProperties(_ref, _excluded$Q);
|
|
3333
3339
|
const colorValue = getTypographyColorValue(color);
|
|
3334
3340
|
const sx = useSx();
|
|
3335
3341
|
const {
|
|
@@ -3372,7 +3378,7 @@ const getButtonTextColorByType = (type, variant, isHovered, isPressed, isDisable
|
|
|
3372
3378
|
return `${baseKey}.default`;
|
|
3373
3379
|
};
|
|
3374
3380
|
|
|
3375
|
-
const _excluded$
|
|
3381
|
+
const _excluded$P = ["type", "variant", "isDisabled", "icon", "children", "isHovered", "isPressed", "isFocused", "innerSpacing", "size"];
|
|
3376
3382
|
function ButtonContentChildren({
|
|
3377
3383
|
type,
|
|
3378
3384
|
icon,
|
|
@@ -3472,7 +3478,7 @@ function ButtonContent(_ref) {
|
|
|
3472
3478
|
innerSpacing,
|
|
3473
3479
|
size
|
|
3474
3480
|
} = _ref,
|
|
3475
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3481
|
+
props = _objectWithoutProperties(_ref, _excluded$P);
|
|
3476
3482
|
const color = getButtonTextColorByType(type, variant, isHovered, isPressed, isDisabled);
|
|
3477
3483
|
return /*#__PURE__*/jsx(View, {
|
|
3478
3484
|
_web: {
|
|
@@ -3720,7 +3726,7 @@ function LoaderIcon({
|
|
|
3720
3726
|
});
|
|
3721
3727
|
}
|
|
3722
3728
|
|
|
3723
|
-
const _excluded$
|
|
3729
|
+
const _excluded$O = ["as", "onPress", "disabled", "icon", "stretch"];
|
|
3724
3730
|
const ActionsItem = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
3725
3731
|
let {
|
|
3726
3732
|
as,
|
|
@@ -3732,7 +3738,7 @@ const ActionsItem = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
3732
3738
|
medium: false
|
|
3733
3739
|
}
|
|
3734
3740
|
} = _ref,
|
|
3735
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3741
|
+
props = _objectWithoutProperties(_ref, _excluded$O);
|
|
3736
3742
|
const [isLoading, setIsLoading] = useState(false);
|
|
3737
3743
|
const mountedRef = useRef(false);
|
|
3738
3744
|
// securing the loading state with a ref to avoid user action between rerenders
|
|
@@ -3783,7 +3789,7 @@ function ActionsButton(_ref) {
|
|
|
3783
3789
|
}, props));
|
|
3784
3790
|
}
|
|
3785
3791
|
|
|
3786
|
-
const _excluded$
|
|
3792
|
+
const _excluded$N = ["children", "layout", "reversed"];
|
|
3787
3793
|
function getCurrentLayout(layout) {
|
|
3788
3794
|
if (!layout) return {
|
|
3789
3795
|
base: 'stretch',
|
|
@@ -3816,7 +3822,7 @@ function Actions(_ref) {
|
|
|
3816
3822
|
base: false
|
|
3817
3823
|
}
|
|
3818
3824
|
} = _ref,
|
|
3819
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3825
|
+
props = _objectWithoutProperties(_ref, _excluded$N);
|
|
3820
3826
|
const shouldReverse = typeof reversed === 'boolean' ? {
|
|
3821
3827
|
base: !!reversed
|
|
3822
3828
|
} : createResponsiveStyleFromProp(reversed, true, false);
|
|
@@ -3871,7 +3877,7 @@ function getInitials(firstname, lastname) {
|
|
|
3871
3877
|
return `${firstname[0]}${lastname[0]}`.toUpperCase();
|
|
3872
3878
|
}
|
|
3873
3879
|
|
|
3874
|
-
const _excluded$
|
|
3880
|
+
const _excluded$M = ["size", "round", "light", "sizeVariant", "width", "height", "dark", "disabled"];
|
|
3875
3881
|
function AvatarContent({
|
|
3876
3882
|
size,
|
|
3877
3883
|
src,
|
|
@@ -3937,7 +3943,7 @@ function Avatar(_ref) {
|
|
|
3937
3943
|
dark,
|
|
3938
3944
|
disabled
|
|
3939
3945
|
} = _ref,
|
|
3940
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3946
|
+
props = _objectWithoutProperties(_ref, _excluded$M);
|
|
3941
3947
|
const currentSize = getCurrentSize({
|
|
3942
3948
|
size,
|
|
3943
3949
|
sizeVariant
|
|
@@ -3975,7 +3981,7 @@ function Avatar(_ref) {
|
|
|
3975
3981
|
});
|
|
3976
3982
|
}
|
|
3977
3983
|
|
|
3978
|
-
const _excluded$
|
|
3984
|
+
const _excluded$L = ["children", "hasScrollView", "hasBackdrop", "hasHandle", "enableDynamicSizing", "snapPoints"];
|
|
3979
3985
|
function BottomSheetComp(_ref, ref) {
|
|
3980
3986
|
let {
|
|
3981
3987
|
children: Content,
|
|
@@ -3985,7 +3991,7 @@ function BottomSheetComp(_ref, ref) {
|
|
|
3985
3991
|
enableDynamicSizing = true,
|
|
3986
3992
|
snapPoints = ['100%']
|
|
3987
3993
|
} = _ref,
|
|
3988
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3994
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
3989
3995
|
const {
|
|
3990
3996
|
top
|
|
3991
3997
|
} = useSafeAreaInsets();
|
|
@@ -4296,7 +4302,7 @@ function CardModalAnimation({
|
|
|
4296
4302
|
});
|
|
4297
4303
|
}
|
|
4298
4304
|
|
|
4299
|
-
const _excluded$
|
|
4305
|
+
const _excluded$K = ["children", "visible", "onClose", "onExited"];
|
|
4300
4306
|
function CardModalBehaviour(_ref) {
|
|
4301
4307
|
let {
|
|
4302
4308
|
children,
|
|
@@ -4304,7 +4310,7 @@ function CardModalBehaviour(_ref) {
|
|
|
4304
4310
|
onClose,
|
|
4305
4311
|
onExited
|
|
4306
4312
|
} = _ref,
|
|
4307
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4313
|
+
props = _objectWithoutProperties(_ref, _excluded$K);
|
|
4308
4314
|
const [isModalBehaviourVisible, setIsModalBehaviourVisible] = useState(visible);
|
|
4309
4315
|
useEffect(() => {
|
|
4310
4316
|
if (visible === true) {
|
|
@@ -4326,13 +4332,13 @@ function CardModalBehaviour(_ref) {
|
|
|
4326
4332
|
});
|
|
4327
4333
|
}
|
|
4328
4334
|
|
|
4329
|
-
const _excluded$
|
|
4335
|
+
const _excluded$J = ["children", "padding"];
|
|
4330
4336
|
function CardModalBody(_ref) {
|
|
4331
4337
|
let {
|
|
4332
4338
|
children,
|
|
4333
4339
|
padding = 'kitt.4'
|
|
4334
4340
|
} = _ref,
|
|
4335
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4341
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
4336
4342
|
return /*#__PURE__*/jsx(ScrollView, _objectSpread(_objectSpread({
|
|
4337
4343
|
showsVerticalScrollIndicator: false,
|
|
4338
4344
|
_contentContainerStyle: {
|
|
@@ -4343,7 +4349,7 @@ function CardModalBody(_ref) {
|
|
|
4343
4349
|
}));
|
|
4344
4350
|
}
|
|
4345
4351
|
|
|
4346
|
-
const _excluded$
|
|
4352
|
+
const _excluded$I = ["children", "padding", "hasSeparator"];
|
|
4347
4353
|
function CardModalFooter(_ref) {
|
|
4348
4354
|
let {
|
|
4349
4355
|
children,
|
|
@@ -4353,7 +4359,7 @@ function CardModalFooter(_ref) {
|
|
|
4353
4359
|
},
|
|
4354
4360
|
hasSeparator = true
|
|
4355
4361
|
} = _ref,
|
|
4356
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4362
|
+
props = _objectWithoutProperties(_ref, _excluded$I);
|
|
4357
4363
|
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
|
|
4358
4364
|
marginTop: "kitt.2",
|
|
4359
4365
|
padding: padding,
|
|
@@ -4397,7 +4403,7 @@ const getButtonTypeAndVariant = iconColor => {
|
|
|
4397
4403
|
}
|
|
4398
4404
|
};
|
|
4399
4405
|
|
|
4400
|
-
const _excluded$
|
|
4406
|
+
const _excluded$H = ["color", "ariaLabel"];
|
|
4401
4407
|
/**
|
|
4402
4408
|
* @deprecated IconButton should only be used as a navigation button
|
|
4403
4409
|
* Other use cases should use a <Button> component with an icon
|
|
@@ -4407,7 +4413,7 @@ function IconButton(_ref) {
|
|
|
4407
4413
|
color = 'black',
|
|
4408
4414
|
ariaLabel
|
|
4409
4415
|
} = _ref,
|
|
4410
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4416
|
+
props = _objectWithoutProperties(_ref, _excluded$H);
|
|
4411
4417
|
const {
|
|
4412
4418
|
type: legacyColorToType,
|
|
4413
4419
|
variant: legacyColorToVariant
|
|
@@ -4430,11 +4436,12 @@ function TopNavBar({
|
|
|
4430
4436
|
titleAlign = 'center',
|
|
4431
4437
|
stickers,
|
|
4432
4438
|
mode = 'default',
|
|
4433
|
-
hasSeparator = true
|
|
4439
|
+
hasSeparator = true,
|
|
4440
|
+
testID
|
|
4434
4441
|
}) {
|
|
4435
4442
|
const isLargeTitleMode = mode === 'largeTitle';
|
|
4436
4443
|
const leftEmptySpace = !left && titleAlign === 'left' ? null : /*#__PURE__*/jsx(View, {
|
|
4437
|
-
width: "kitt.
|
|
4444
|
+
width: "kitt.iconButton.width"
|
|
4438
4445
|
});
|
|
4439
4446
|
return /*#__PURE__*/jsxs(VStack, {
|
|
4440
4447
|
space: isLargeTitleMode ? 'kitt.2' : undefined,
|
|
@@ -4446,6 +4453,7 @@ function TopNavBar({
|
|
|
4446
4453
|
paddingBottom: "kitt.3",
|
|
4447
4454
|
borderBottomWidth: hasSeparator && mode === 'default' ? 1 : 0,
|
|
4448
4455
|
borderColor: "kitt.separator",
|
|
4456
|
+
testID: testID,
|
|
4449
4457
|
children: [/*#__PURE__*/jsxs(HStack, {
|
|
4450
4458
|
alignItems: "center",
|
|
4451
4459
|
justifyContent: !title && !left ? 'flex-end' : 'space-between',
|
|
@@ -4462,7 +4470,7 @@ function TopNavBar({
|
|
|
4462
4470
|
children: title
|
|
4463
4471
|
}) : null
|
|
4464
4472
|
}) : null, right !== null && right !== void 0 ? right : /*#__PURE__*/jsx(View, {
|
|
4465
|
-
width: "kitt.
|
|
4473
|
+
width: "kitt.iconButton.width"
|
|
4466
4474
|
})]
|
|
4467
4475
|
}), mode === 'largeTitle' ? /*#__PURE__*/jsxs(VStack, {
|
|
4468
4476
|
space: "kitt.4",
|
|
@@ -4505,7 +4513,7 @@ function CardModalHeader(props) {
|
|
|
4505
4513
|
return /*#__PURE__*/jsx(TopNavBar, _objectSpread({}, props));
|
|
4506
4514
|
}
|
|
4507
4515
|
|
|
4508
|
-
const _excluded$
|
|
4516
|
+
const _excluded$G = ["backgroundColor", "maxWidth", "withoutShadow", "children", "header", "body", "footer"];
|
|
4509
4517
|
function CardModal(_ref) {
|
|
4510
4518
|
let {
|
|
4511
4519
|
backgroundColor = 'kitt.uiBackgroundLight',
|
|
@@ -4516,7 +4524,7 @@ function CardModal(_ref) {
|
|
|
4516
4524
|
body,
|
|
4517
4525
|
footer
|
|
4518
4526
|
} = _ref,
|
|
4519
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4527
|
+
props = _objectWithoutProperties(_ref, _excluded$G);
|
|
4520
4528
|
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
|
|
4521
4529
|
overflow: "hidden",
|
|
4522
4530
|
backgroundColor: backgroundColor,
|
|
@@ -4770,13 +4778,13 @@ function ChoiceItemContainer({
|
|
|
4770
4778
|
}));
|
|
4771
4779
|
}
|
|
4772
4780
|
|
|
4773
|
-
const _excluded$
|
|
4781
|
+
const _excluded$F = ["direction", "contentContainerStyle"];
|
|
4774
4782
|
function ChoicesContainer(_ref) {
|
|
4775
4783
|
let {
|
|
4776
4784
|
direction,
|
|
4777
4785
|
contentContainerStyle
|
|
4778
4786
|
} = _ref,
|
|
4779
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4787
|
+
props = _objectWithoutProperties(_ref, _excluded$F);
|
|
4780
4788
|
if (direction === 'row') {
|
|
4781
4789
|
return /*#__PURE__*/jsx(ScrollView$2, _objectSpread({
|
|
4782
4790
|
horizontal: true,
|
|
@@ -5002,7 +5010,7 @@ function DialogModalAnimation({
|
|
|
5002
5010
|
});
|
|
5003
5011
|
}
|
|
5004
5012
|
|
|
5005
|
-
const _excluded$
|
|
5013
|
+
const _excluded$E = ["children", "visible", "onClose", "onExited"];
|
|
5006
5014
|
function DialogModalBehaviour(_ref) {
|
|
5007
5015
|
let {
|
|
5008
5016
|
children,
|
|
@@ -5010,7 +5018,7 @@ function DialogModalBehaviour(_ref) {
|
|
|
5010
5018
|
onClose,
|
|
5011
5019
|
onExited
|
|
5012
5020
|
} = _ref,
|
|
5013
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5021
|
+
props = _objectWithoutProperties(_ref, _excluded$E);
|
|
5014
5022
|
const [isModalBehaviourVisible, setIsModalBehaviourVisible] = useState(visible);
|
|
5015
5023
|
useEffect(() => {
|
|
5016
5024
|
if (visible === true) {
|
|
@@ -5038,7 +5046,7 @@ function DialogModalBehaviour(_ref) {
|
|
|
5038
5046
|
});
|
|
5039
5047
|
}
|
|
5040
5048
|
|
|
5041
|
-
const _excluded$
|
|
5049
|
+
const _excluded$D = ["stretch"];
|
|
5042
5050
|
function DialogModal({
|
|
5043
5051
|
illustration,
|
|
5044
5052
|
title,
|
|
@@ -5080,7 +5088,7 @@ function DialogModalButton(_ref) {
|
|
|
5080
5088
|
let {
|
|
5081
5089
|
stretch = true
|
|
5082
5090
|
} = _ref,
|
|
5083
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5091
|
+
props = _objectWithoutProperties(_ref, _excluded$D);
|
|
5084
5092
|
return /*#__PURE__*/jsx(Actions.Button, _objectSpread({
|
|
5085
5093
|
stretch: stretch
|
|
5086
5094
|
}, props));
|
|
@@ -5114,7 +5122,7 @@ function Emoji({
|
|
|
5114
5122
|
});
|
|
5115
5123
|
}
|
|
5116
5124
|
|
|
5117
|
-
const _excluded$
|
|
5125
|
+
const _excluded$C = ["as", "appScheme", "appValue", "onPress", "onOpenAppError"],
|
|
5118
5126
|
_excluded2$4 = ["phoneNumber", "children"],
|
|
5119
5127
|
_excluded3$3 = ["phoneNumber", "children"],
|
|
5120
5128
|
_excluded4$3 = ["emailAddress", "children"];
|
|
@@ -5126,7 +5134,7 @@ function ExternalAppLink(_ref) {
|
|
|
5126
5134
|
onPress,
|
|
5127
5135
|
onOpenAppError
|
|
5128
5136
|
} = _ref,
|
|
5129
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5137
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
5130
5138
|
const href = `${appScheme}:${appValue}`;
|
|
5131
5139
|
return /*#__PURE__*/jsx(Component, _objectSpread(_objectSpread({
|
|
5132
5140
|
href: href
|
|
@@ -5220,7 +5228,7 @@ function useOpenExternalLink(errorHandler) {
|
|
|
5220
5228
|
};
|
|
5221
5229
|
}
|
|
5222
5230
|
|
|
5223
|
-
const _excluded$
|
|
5231
|
+
const _excluded$B = ["as", "href", "openLinkBehavior", "onPress", "onOpenLinkError"];
|
|
5224
5232
|
function ExternalLink(_ref) {
|
|
5225
5233
|
let {
|
|
5226
5234
|
as: Component,
|
|
@@ -5230,7 +5238,7 @@ function ExternalLink(_ref) {
|
|
|
5230
5238
|
// eslint-disable-next-line no-console
|
|
5231
5239
|
onOpenLinkError = console.error
|
|
5232
5240
|
} = _ref,
|
|
5233
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5241
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
5234
5242
|
const openExternalLink = useOpenExternalLink();
|
|
5235
5243
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5236
5244
|
return /*#__PURE__*/jsx(Component, _objectSpread(_objectSpread({}, rest), {}, {
|
|
@@ -5289,7 +5297,7 @@ function InputTextContainer({
|
|
|
5289
5297
|
});
|
|
5290
5298
|
}
|
|
5291
5299
|
|
|
5292
|
-
const _excluded$
|
|
5300
|
+
const _excluded$A = ["id", "right", "state", "variant", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoComplete", "inputMode", "multiline", "height", "onSubmitEditing"];
|
|
5293
5301
|
const InputText = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
5294
5302
|
let {
|
|
5295
5303
|
id,
|
|
@@ -5306,7 +5314,7 @@ const InputText = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
5306
5314
|
height,
|
|
5307
5315
|
onSubmitEditing
|
|
5308
5316
|
} = _ref,
|
|
5309
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5317
|
+
props = _objectWithoutProperties(_ref, _excluded$A);
|
|
5310
5318
|
const theme = useTheme();
|
|
5311
5319
|
const fontSizeForNativeBase = createNativeBaseFontSize({
|
|
5312
5320
|
base: 'body-m'
|
|
@@ -5431,13 +5439,13 @@ function AutocompleteItemsListContainer({
|
|
|
5431
5439
|
});
|
|
5432
5440
|
}
|
|
5433
5441
|
|
|
5434
|
-
const _excluded$
|
|
5442
|
+
const _excluded$z = ["children", "testID"];
|
|
5435
5443
|
function AutocompleteOption(_ref) {
|
|
5436
5444
|
let {
|
|
5437
5445
|
children,
|
|
5438
5446
|
testID = 'kitt.Autocomplete.option'
|
|
5439
5447
|
} = _ref,
|
|
5440
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5448
|
+
props = _objectWithoutProperties(_ref, _excluded$z);
|
|
5441
5449
|
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
|
|
5442
5450
|
paddingX: {
|
|
5443
5451
|
base: 'kitt.2',
|
|
@@ -5450,7 +5458,7 @@ function AutocompleteOption(_ref) {
|
|
|
5450
5458
|
}));
|
|
5451
5459
|
}
|
|
5452
5460
|
|
|
5453
|
-
const _excluded$
|
|
5461
|
+
const _excluded$y = ["children", "name", "disabled", "placeholder", "isInitialOpen", "initialValue", "containerProps", "filterItemBasedOnCurrentInputValue", "checkSelectedItem", "itemToString", "right", "onChange", "onFocus", "onBlur", "onInputChange", "onSelectItem", "onOuterPress", "errorElement", "emptyResultsElement", "inputTestID", "listContainerTestID", "zIndex", "maxItemContainerHeight"],
|
|
5454
5462
|
_excluded2$3 = ["onClick", "onPress"],
|
|
5455
5463
|
_excluded3$2 = ["onKeyDown", "onFocus", "onBlur", "onChange"],
|
|
5456
5464
|
_excluded4$2 = ["onClick", "onPress", "role", "aria-selected"];
|
|
@@ -5492,7 +5500,7 @@ function Autocomplete(_ref) {
|
|
|
5492
5500
|
zIndex = 1000,
|
|
5493
5501
|
maxItemContainerHeight
|
|
5494
5502
|
} = _ref,
|
|
5495
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5503
|
+
props = _objectWithoutProperties(_ref, _excluded$y);
|
|
5496
5504
|
const childrenArray = Children.toArray(children);
|
|
5497
5505
|
const items = childrenArray.filter(isReactElement).map(child => ({
|
|
5498
5506
|
child,
|
|
@@ -5713,7 +5721,7 @@ function getBorderColor$1({
|
|
|
5713
5721
|
return 'kitt.forms.checkbox.default.borderColor';
|
|
5714
5722
|
}
|
|
5715
5723
|
|
|
5716
|
-
const _excluded$
|
|
5724
|
+
const _excluded$x = ["checked", "hitSlop", "children", "disabled", "onChange", "onBlur", "onFocus"];
|
|
5717
5725
|
const Checkbox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
5718
5726
|
let {
|
|
5719
5727
|
checked,
|
|
@@ -5724,7 +5732,7 @@ const Checkbox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
5724
5732
|
onBlur,
|
|
5725
5733
|
onFocus
|
|
5726
5734
|
} = _ref,
|
|
5727
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5735
|
+
props = _objectWithoutProperties(_ref, _excluded$x);
|
|
5728
5736
|
const theme = useTheme();
|
|
5729
5737
|
return /*#__PURE__*/jsx(Pressable, _objectSpread(_objectSpread({
|
|
5730
5738
|
hitSlop: hitSlop
|
|
@@ -6053,7 +6061,7 @@ function PartContainer({
|
|
|
6053
6061
|
});
|
|
6054
6062
|
}
|
|
6055
6063
|
|
|
6056
|
-
const _excluded$
|
|
6064
|
+
const _excluded$w = ["id", "value", "testID", "stretch", "placeholder", "minDate", "maxDate", "disabled", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "enterKeyHint", "onChange", "onBlur", "onFocus", "onSubmitEditing"];
|
|
6057
6065
|
const KeyboardDatePicker = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
6058
6066
|
let {
|
|
6059
6067
|
id,
|
|
@@ -6073,7 +6081,7 @@ const KeyboardDatePicker = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
6073
6081
|
onFocus,
|
|
6074
6082
|
onSubmitEditing
|
|
6075
6083
|
} = _ref;
|
|
6076
|
-
_objectWithoutProperties(_ref, _excluded$
|
|
6084
|
+
_objectWithoutProperties(_ref, _excluded$w);
|
|
6077
6085
|
const monthRef = useRef(null);
|
|
6078
6086
|
const yearRef = useRef(null);
|
|
6079
6087
|
const defaultValue = value;
|
|
@@ -6274,7 +6282,7 @@ const PressableDateInputs = /*#__PURE__*/forwardRef(({
|
|
|
6274
6282
|
});
|
|
6275
6283
|
});
|
|
6276
6284
|
|
|
6277
|
-
const _excluded$
|
|
6285
|
+
const _excluded$v = ["onBlur", "onFocus", "pickerDefaultDate", "pickerUITestID", "isDefaultVisible", "value", "onChange"];
|
|
6278
6286
|
const DatePickerAndroid = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
6279
6287
|
let {
|
|
6280
6288
|
onBlur,
|
|
@@ -6285,7 +6293,7 @@ const DatePickerAndroid = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
6285
6293
|
value,
|
|
6286
6294
|
onChange
|
|
6287
6295
|
} = _ref,
|
|
6288
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6296
|
+
props = _objectWithoutProperties(_ref, _excluded$v);
|
|
6289
6297
|
const [isFocused, setIsFocused] = useState(false);
|
|
6290
6298
|
const [currentValue, setCurrentValue] = useState(value);
|
|
6291
6299
|
const handleClose = () => {
|
|
@@ -6355,7 +6363,7 @@ function PlatformDateTimePicker({
|
|
|
6355
6363
|
}));
|
|
6356
6364
|
}
|
|
6357
6365
|
|
|
6358
|
-
const _excluded$
|
|
6366
|
+
const _excluded$u = ["title", "isVisible", "value", "validateButtonLabel", "onClose", "onChange"];
|
|
6359
6367
|
function ModalTitle({
|
|
6360
6368
|
children
|
|
6361
6369
|
}) {
|
|
@@ -6372,7 +6380,7 @@ function ModalPlatformDateTimePicker(_ref) {
|
|
|
6372
6380
|
onClose,
|
|
6373
6381
|
onChange
|
|
6374
6382
|
} = _ref,
|
|
6375
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6383
|
+
props = _objectWithoutProperties(_ref, _excluded$u);
|
|
6376
6384
|
const [currentValue, setCurrentValue] = useState(value);
|
|
6377
6385
|
|
|
6378
6386
|
// Prevent unsynced value between the modal and its parent state
|
|
@@ -6415,7 +6423,7 @@ function ModalPlatformDateTimePicker(_ref) {
|
|
|
6415
6423
|
});
|
|
6416
6424
|
}
|
|
6417
6425
|
|
|
6418
|
-
const _excluded$
|
|
6426
|
+
const _excluded$t = ["value", "pickerUITestID", "pickerUITitle", "pickerUIValidateButtonLabel", "isDefaultVisible", "pickerDefaultDate", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "onChange", "onFocus", "onBlur"];
|
|
6419
6427
|
const DefaultNativeUIDatePicker = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
6420
6428
|
let {
|
|
6421
6429
|
value,
|
|
@@ -6431,7 +6439,7 @@ const DefaultNativeUIDatePicker = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
6431
6439
|
onFocus,
|
|
6432
6440
|
onBlur
|
|
6433
6441
|
} = _ref,
|
|
6434
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6442
|
+
props = _objectWithoutProperties(_ref, _excluded$t);
|
|
6435
6443
|
const [isPickerUIVisible, setIsPickerUIVisible] = useState(isDefaultVisible);
|
|
6436
6444
|
const [isFocused, setIsFocused] = useState(false);
|
|
6437
6445
|
const [currentValue, setCurrentValue] = useState(value);
|
|
@@ -6469,7 +6477,7 @@ const DefaultNativeUIDatePicker = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
6469
6477
|
});
|
|
6470
6478
|
});
|
|
6471
6479
|
|
|
6472
|
-
const _excluded$
|
|
6480
|
+
const _excluded$s = ["value", "pickerUITestID", "isDefaultVisible", "pickerDefaultDate", "onChange", "onBlur"];
|
|
6473
6481
|
const NativeUIDatePicker = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
6474
6482
|
let {
|
|
6475
6483
|
value,
|
|
@@ -6479,7 +6487,7 @@ const NativeUIDatePicker = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
6479
6487
|
onChange,
|
|
6480
6488
|
onBlur
|
|
6481
6489
|
} = _ref,
|
|
6482
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6490
|
+
props = _objectWithoutProperties(_ref, _excluded$s);
|
|
6483
6491
|
if (Platform.OS === 'android') {
|
|
6484
6492
|
return /*#__PURE__*/jsx(DatePickerAndroid, _objectSpread({
|
|
6485
6493
|
ref: ref,
|
|
@@ -6501,7 +6509,7 @@ const NativeUIDatePicker = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
6501
6509
|
}, props));
|
|
6502
6510
|
});
|
|
6503
6511
|
|
|
6504
|
-
const _excluded$
|
|
6512
|
+
const _excluded$r = ["fillMode", "enterKeyHint", "value", "onSubmitEditing"];
|
|
6505
6513
|
const DatePicker = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
6506
6514
|
let {
|
|
6507
6515
|
fillMode = 'native',
|
|
@@ -6509,7 +6517,7 @@ const DatePicker = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
6509
6517
|
value,
|
|
6510
6518
|
onSubmitEditing
|
|
6511
6519
|
} = _ref,
|
|
6512
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6520
|
+
props = _objectWithoutProperties(_ref, _excluded$r);
|
|
6513
6521
|
// in apps, final-form can give a string value that will break the component
|
|
6514
6522
|
const currentValue = value || undefined;
|
|
6515
6523
|
if (fillMode === 'keyboard') {
|
|
@@ -6581,12 +6589,12 @@ function ImagePicker({
|
|
|
6581
6589
|
});
|
|
6582
6590
|
}
|
|
6583
6591
|
|
|
6584
|
-
const _excluded$
|
|
6592
|
+
const _excluded$q = ["children"];
|
|
6585
6593
|
function ListItemContent(_ref) {
|
|
6586
6594
|
let {
|
|
6587
6595
|
children
|
|
6588
6596
|
} = _ref,
|
|
6589
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6597
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
6590
6598
|
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
|
|
6591
6599
|
alignSelf: "center",
|
|
6592
6600
|
flexBasis: "0%",
|
|
@@ -6597,7 +6605,7 @@ function ListItemContent(_ref) {
|
|
|
6597
6605
|
}));
|
|
6598
6606
|
}
|
|
6599
6607
|
|
|
6600
|
-
const _excluded$
|
|
6608
|
+
const _excluded$p = ["children", "side"],
|
|
6601
6609
|
_excluded2$2 = ["children", "align"];
|
|
6602
6610
|
// Handles the vertical alignment of the side elements of the list item
|
|
6603
6611
|
function ListItemSideContainer(_ref) {
|
|
@@ -6605,7 +6613,7 @@ function ListItemSideContainer(_ref) {
|
|
|
6605
6613
|
children,
|
|
6606
6614
|
side = 'left'
|
|
6607
6615
|
} = _ref,
|
|
6608
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6616
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
6609
6617
|
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
|
|
6610
6618
|
flexDirection: "row",
|
|
6611
6619
|
marginLeft: side === 'right' ? 'kitt.2' : undefined,
|
|
@@ -6627,7 +6635,7 @@ function ListItemSideContent(_ref2) {
|
|
|
6627
6635
|
}));
|
|
6628
6636
|
}
|
|
6629
6637
|
|
|
6630
|
-
const _excluded$
|
|
6638
|
+
const _excluded$o = ["children", "withPadding", "borders", "left", "right", "onPress"];
|
|
6631
6639
|
function ListItem(_ref) {
|
|
6632
6640
|
let {
|
|
6633
6641
|
children,
|
|
@@ -6637,7 +6645,7 @@ function ListItem(_ref) {
|
|
|
6637
6645
|
right,
|
|
6638
6646
|
onPress
|
|
6639
6647
|
} = _ref,
|
|
6640
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6648
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
6641
6649
|
const Wrapper = onPress ? Pressable$2 : Fragment$1;
|
|
6642
6650
|
const wrapperProps = onPress ? _objectSpread({
|
|
6643
6651
|
accessibilityRole: 'button',
|
|
@@ -6670,12 +6678,12 @@ ListItem.Content = ListItemContent;
|
|
|
6670
6678
|
ListItem.SideContent = ListItemSideContent;
|
|
6671
6679
|
ListItem.SideContainer = ListItemSideContainer;
|
|
6672
6680
|
|
|
6673
|
-
const _excluded$
|
|
6681
|
+
const _excluded$n = ["title"];
|
|
6674
6682
|
function BottomSheetActionsItem(_ref) {
|
|
6675
6683
|
let {
|
|
6676
6684
|
title
|
|
6677
6685
|
} = _ref,
|
|
6678
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6686
|
+
props = _objectWithoutProperties(_ref, _excluded$n);
|
|
6679
6687
|
return /*#__PURE__*/jsx(Pressable$2, _objectSpread(_objectSpread({}, props), {}, {
|
|
6680
6688
|
children: /*#__PURE__*/jsx(ListItem, {
|
|
6681
6689
|
withPadding: true,
|
|
@@ -7171,7 +7179,7 @@ function formatInitialValueToAutocompletePrediction(address, placeId) {
|
|
|
7171
7179
|
};
|
|
7172
7180
|
}
|
|
7173
7181
|
|
|
7174
|
-
const _excluded$
|
|
7182
|
+
const _excluded$m = ["initialValue", "itemToString", "errorElement", "emptyResultsElement", "onChange"];
|
|
7175
7183
|
function InputAddress(_ref) {
|
|
7176
7184
|
let {
|
|
7177
7185
|
initialValue,
|
|
@@ -7180,7 +7188,7 @@ function InputAddress(_ref) {
|
|
|
7180
7188
|
emptyResultsElement,
|
|
7181
7189
|
onChange
|
|
7182
7190
|
} = _ref,
|
|
7183
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7191
|
+
props = _objectWithoutProperties(_ref, _excluded$m);
|
|
7184
7192
|
const {
|
|
7185
7193
|
state,
|
|
7186
7194
|
onInputChange,
|
|
@@ -7276,12 +7284,12 @@ const InputIban = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7276
7284
|
}, props));
|
|
7277
7285
|
});
|
|
7278
7286
|
|
|
7279
|
-
const _excluded$
|
|
7287
|
+
const _excluded$l = ["onChange"];
|
|
7280
7288
|
const InputNumber = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
7281
7289
|
let {
|
|
7282
7290
|
onChange
|
|
7283
7291
|
} = _ref,
|
|
7284
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7292
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
7285
7293
|
return /*#__PURE__*/jsx(InputText, _objectSpread(_objectSpread({
|
|
7286
7294
|
ref: ref
|
|
7287
7295
|
}, props), {}, {
|
|
@@ -7298,13 +7306,13 @@ const InputNumber = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
7298
7306
|
}));
|
|
7299
7307
|
});
|
|
7300
7308
|
|
|
7301
|
-
const _excluded$
|
|
7309
|
+
const _excluded$k = ["isPasswordDefaultVisible", "right"];
|
|
7302
7310
|
const InputPassword = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
7303
7311
|
let {
|
|
7304
7312
|
isPasswordDefaultVisible,
|
|
7305
7313
|
right
|
|
7306
7314
|
} = _ref,
|
|
7307
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7315
|
+
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
7308
7316
|
const [isVisible, setIsVisible] = useState(Boolean(isPasswordDefaultVisible));
|
|
7309
7317
|
return /*#__PURE__*/jsx(InputText, _objectSpread(_objectSpread({
|
|
7310
7318
|
ref: ref
|
|
@@ -7325,7 +7333,7 @@ const InputPassword = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
7325
7333
|
}));
|
|
7326
7334
|
});
|
|
7327
7335
|
|
|
7328
|
-
const _excluded$
|
|
7336
|
+
const _excluded$j = ["enterKeyHint", "autoComplete", "phoneNumberLength", "onChange"];
|
|
7329
7337
|
function isPhoneNumberValid(number) {
|
|
7330
7338
|
return isValidNumber(number);
|
|
7331
7339
|
}
|
|
@@ -7339,7 +7347,7 @@ const InputPhone = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
7339
7347
|
phoneNumberLength = 10,
|
|
7340
7348
|
onChange
|
|
7341
7349
|
} = _ref,
|
|
7342
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7350
|
+
props = _objectWithoutProperties(_ref, _excluded$j);
|
|
7343
7351
|
const currentEnterKeyHint = enterKeyHint ? getEnterKeyHintForNumericInput(enterKeyHint) : undefined;
|
|
7344
7352
|
return /*#__PURE__*/jsx(InputText, _objectSpread(_objectSpread({
|
|
7345
7353
|
ref: ref
|
|
@@ -7791,7 +7799,7 @@ function RadioButton({
|
|
|
7791
7799
|
});
|
|
7792
7800
|
}
|
|
7793
7801
|
|
|
7794
|
-
const _excluded$
|
|
7802
|
+
const _excluded$i = ["children", "stretch", "value", "disabled", "onFocus", "onBlur", "onChange"];
|
|
7795
7803
|
function RadioButtonGroupItem(_ref) {
|
|
7796
7804
|
let props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
7797
7805
|
return /*#__PURE__*/jsx(RadioButton, _objectSpread({}, props));
|
|
@@ -7806,7 +7814,7 @@ function RadioButtonGroup(_ref2) {
|
|
|
7806
7814
|
onBlur,
|
|
7807
7815
|
onChange
|
|
7808
7816
|
} = _ref2,
|
|
7809
|
-
props = _objectWithoutProperties(_ref2, _excluded$
|
|
7817
|
+
props = _objectWithoutProperties(_ref2, _excluded$i);
|
|
7810
7818
|
const [currentValue, setCurrentValue] = useState(value);
|
|
7811
7819
|
const handleChange = newValue => {
|
|
7812
7820
|
if (disabled) return;
|
|
@@ -7835,14 +7843,14 @@ function RadioButtonGroup(_ref2) {
|
|
|
7835
7843
|
}
|
|
7836
7844
|
RadioButtonGroup.RadioButton = RadioButtonGroupItem;
|
|
7837
7845
|
|
|
7838
|
-
const _excluded$
|
|
7846
|
+
const _excluded$h = ["helper", "limit"];
|
|
7839
7847
|
const TextArea = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
7840
7848
|
var _props$value, _props$value2;
|
|
7841
7849
|
let {
|
|
7842
7850
|
helper,
|
|
7843
7851
|
limit
|
|
7844
7852
|
} = _ref,
|
|
7845
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7853
|
+
props = _objectWithoutProperties(_ref, _excluded$h);
|
|
7846
7854
|
const shouldDisplayLimit = limit && limit > 0;
|
|
7847
7855
|
const isLimitReached = ((_props$value = props.value) === null || _props$value === void 0 ? void 0 : _props$value.length) === limit;
|
|
7848
7856
|
const limitContainerAnimatedStyle = useAnimatedStyle(() => ({
|
|
@@ -7998,7 +8006,7 @@ function ToggleAnimated({
|
|
|
7998
8006
|
});
|
|
7999
8007
|
}
|
|
8000
8008
|
|
|
8001
|
-
const _excluded$
|
|
8009
|
+
const _excluded$g = ["isDisabled", "isHoveredInternal", "isFocusedInternal", "isPressedInternal", "label", "variant", "size", "value", "onChange"];
|
|
8002
8010
|
const getLabelTypographyType = size => {
|
|
8003
8011
|
return size === 'medium' ? 'body-m' : 'body-l';
|
|
8004
8012
|
};
|
|
@@ -8014,7 +8022,7 @@ function Toggle(_ref) {
|
|
|
8014
8022
|
value = false,
|
|
8015
8023
|
onChange = () => {}
|
|
8016
8024
|
} = _ref,
|
|
8017
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8025
|
+
props = _objectWithoutProperties(_ref, _excluded$g);
|
|
8018
8026
|
const theme = useKittTheme();
|
|
8019
8027
|
return /*#__PURE__*/jsxs(HStack, _objectSpread(_objectSpread({
|
|
8020
8028
|
alignItems: "center"
|
|
@@ -8052,7 +8060,7 @@ function Toggle(_ref) {
|
|
|
8052
8060
|
}));
|
|
8053
8061
|
}
|
|
8054
8062
|
|
|
8055
|
-
const _excluded$
|
|
8063
|
+
const _excluded$f = ["children", "shouldHandleBottomNotch", "style", "shouldHandleTopNotch"];
|
|
8056
8064
|
function FullscreenModalBody(_ref) {
|
|
8057
8065
|
let {
|
|
8058
8066
|
children,
|
|
@@ -8060,7 +8068,7 @@ function FullscreenModalBody(_ref) {
|
|
|
8060
8068
|
style,
|
|
8061
8069
|
shouldHandleTopNotch
|
|
8062
8070
|
} = _ref,
|
|
8063
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8071
|
+
props = _objectWithoutProperties(_ref, _excluded$f);
|
|
8064
8072
|
const {
|
|
8065
8073
|
bottom,
|
|
8066
8074
|
top
|
|
@@ -8088,14 +8096,14 @@ function FullscreenModalBody(_ref) {
|
|
|
8088
8096
|
}));
|
|
8089
8097
|
}
|
|
8090
8098
|
|
|
8091
|
-
const _excluded$
|
|
8099
|
+
const _excluded$e = ["shouldHandleBottomNotch", "hasSeparator", "children"];
|
|
8092
8100
|
function FullscreenModalFooter(_ref) {
|
|
8093
8101
|
let {
|
|
8094
8102
|
shouldHandleBottomNotch = true,
|
|
8095
8103
|
hasSeparator = true,
|
|
8096
8104
|
children
|
|
8097
8105
|
} = _ref,
|
|
8098
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8106
|
+
props = _objectWithoutProperties(_ref, _excluded$e);
|
|
8099
8107
|
const {
|
|
8100
8108
|
bottom
|
|
8101
8109
|
} = useSafeAreaInsets();
|
|
@@ -8256,7 +8264,7 @@ function FullscreenModalAnimation({
|
|
|
8256
8264
|
});
|
|
8257
8265
|
}
|
|
8258
8266
|
|
|
8259
|
-
const _excluded$
|
|
8267
|
+
const _excluded$d = ["children", "visible", "onClose", "onExited"];
|
|
8260
8268
|
function FullscreenModalBehaviour(_ref) {
|
|
8261
8269
|
let {
|
|
8262
8270
|
children,
|
|
@@ -8264,7 +8272,7 @@ function FullscreenModalBehaviour(_ref) {
|
|
|
8264
8272
|
onClose,
|
|
8265
8273
|
onExited
|
|
8266
8274
|
} = _ref,
|
|
8267
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8275
|
+
props = _objectWithoutProperties(_ref, _excluded$d);
|
|
8268
8276
|
const [isModalBehaviourVisible, setIsModalBehaviourVisible] = useState(visible);
|
|
8269
8277
|
useEffect(() => {
|
|
8270
8278
|
if (visible === true) {
|
|
@@ -8309,12 +8317,12 @@ function FullscreenModalContainer({
|
|
|
8309
8317
|
});
|
|
8310
8318
|
}
|
|
8311
8319
|
|
|
8312
|
-
const _excluded$
|
|
8320
|
+
const _excluded$c = ["shouldHandleTopNotch"];
|
|
8313
8321
|
function FullscreenModalHeader(_ref) {
|
|
8314
8322
|
let {
|
|
8315
8323
|
shouldHandleTopNotch = true
|
|
8316
8324
|
} = _ref,
|
|
8317
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8325
|
+
props = _objectWithoutProperties(_ref, _excluded$c);
|
|
8318
8326
|
const {
|
|
8319
8327
|
top
|
|
8320
8328
|
} = useSafeAreaInsets();
|
|
@@ -8829,7 +8837,7 @@ const getBackgroundColor = ({
|
|
|
8829
8837
|
return isSelected || isHovered ? theme.mapMarker.meetingPoint.selected : theme.mapMarker.meetingPoint.default;
|
|
8830
8838
|
};
|
|
8831
8839
|
|
|
8832
|
-
const _excluded$
|
|
8840
|
+
const _excluded$b = ["onPress", "testID"];
|
|
8833
8841
|
function StaticMapMarker$1({
|
|
8834
8842
|
variant,
|
|
8835
8843
|
isHovered,
|
|
@@ -8892,7 +8900,7 @@ function MapMarker(_ref) {
|
|
|
8892
8900
|
onPress,
|
|
8893
8901
|
testID
|
|
8894
8902
|
} = _ref,
|
|
8895
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8903
|
+
props = _objectWithoutProperties(_ref, _excluded$b);
|
|
8896
8904
|
return /*#__PURE__*/jsx(Pressable$1, {
|
|
8897
8905
|
testID: testID,
|
|
8898
8906
|
onPress: onPress,
|
|
@@ -10637,6 +10645,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10637
10645
|
}
|
|
10638
10646
|
}
|
|
10639
10647
|
},
|
|
10648
|
+
iconButton: {
|
|
10649
|
+
width: theme.iconButton.width,
|
|
10650
|
+
height: theme.iconButton.height
|
|
10651
|
+
},
|
|
10640
10652
|
pageLoader: {
|
|
10641
10653
|
size: theme.pageLoader.size
|
|
10642
10654
|
},
|
|
@@ -11549,6 +11561,7 @@ function KittNativeBaseProvider({
|
|
|
11549
11561
|
});
|
|
11550
11562
|
}
|
|
11551
11563
|
|
|
11564
|
+
const _excluded$a = ["right"];
|
|
11552
11565
|
function NavigationBottomSheet({
|
|
11553
11566
|
children,
|
|
11554
11567
|
hasScrollView,
|
|
@@ -11593,7 +11606,8 @@ function NavigationBottomSheet({
|
|
|
11593
11606
|
* Web only: display right CloseButton
|
|
11594
11607
|
*/
|
|
11595
11608
|
|
|
11596
|
-
function NavigationBottomSheetHeader(
|
|
11609
|
+
function NavigationBottomSheetHeader(_ref) {
|
|
11610
|
+
let props = _objectWithoutProperties(_ref, _excluded$a);
|
|
11597
11611
|
return /*#__PURE__*/jsx(TopNavBar, _objectSpread({}, props));
|
|
11598
11612
|
}
|
|
11599
11613
|
function NavigationBottomSheetBody(props) {
|