@ornikar/kitt-universal 26.3.1-canary.24392335ecd493f78a9b4b5f485bdc20be17be06.0 → 26.3.1-canary.dd94a20641c146865234323ff2718101c6363315.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 +3 -9
- package/dist/definitions/BottomSheet/BottomSheet.d.ts +0 -4
- package/dist/definitions/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/dist/definitions/BottomSheet/BottomSheet.web.d.ts +0 -4
- package/dist/definitions/BottomSheet/BottomSheet.web.d.ts.map +1 -1
- package/dist/definitions/NavigationBottomSheet/NavigationBottomSheet.d.ts +1 -11
- package/dist/definitions/NavigationBottomSheet/NavigationBottomSheet.d.ts.map +1 -1
- package/dist/definitions/typography/Typography.d.ts +66 -77
- package/dist/definitions/typography/Typography.d.ts.map +1 -1
- package/dist/definitions/typography/TypographyLink.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +0 -16
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +0 -16
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +0 -14
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +0 -6
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +0 -14
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +0 -6
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +0 -16
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +0 -6
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +26 -26
|
@@ -3923,11 +3923,6 @@ function BottomSheetContainerView(props) {
|
|
|
3923
3923
|
padding: "kitt.bottomSheet.container.padding"
|
|
3924
3924
|
}, props));
|
|
3925
3925
|
}
|
|
3926
|
-
|
|
3927
|
-
/**
|
|
3928
|
-
* @internal This component is for kitt-universal internal use only.
|
|
3929
|
-
* Please use `NavigationBottomSheet` instead.
|
|
3930
|
-
*/
|
|
3931
3926
|
const BottomSheet = /*#__PURE__*/forwardRef(BottomSheetComp);
|
|
3932
3927
|
BottomSheet.View = BottomSheetContainerView;
|
|
3933
3928
|
BottomSheet.SheetView = BottomSheetView;
|
|
@@ -11579,7 +11574,6 @@ function NavigationBottomSheet({
|
|
|
11579
11574
|
snapPoints,
|
|
11580
11575
|
maxDynamicContentSize,
|
|
11581
11576
|
isVisible,
|
|
11582
|
-
isExpanded,
|
|
11583
11577
|
onClose
|
|
11584
11578
|
}) {
|
|
11585
11579
|
const bottomSheetRef = useBottomSheet();
|
|
@@ -11592,15 +11586,6 @@ function NavigationBottomSheet({
|
|
|
11592
11586
|
(_bottomSheetRef$curre2 = bottomSheetRef.current) === null || _bottomSheetRef$curre2 === void 0 || _bottomSheetRef$curre2.close();
|
|
11593
11587
|
}
|
|
11594
11588
|
}, [bottomSheetRef, isVisible]);
|
|
11595
|
-
useEffect(() => {
|
|
11596
|
-
if (isVisible && isExpanded) {
|
|
11597
|
-
var _bottomSheetRef$curre3;
|
|
11598
|
-
(_bottomSheetRef$curre3 = bottomSheetRef.current) === null || _bottomSheetRef$curre3 === void 0 || _bottomSheetRef$curre3.expand();
|
|
11599
|
-
} else {
|
|
11600
|
-
var _bottomSheetRef$curre4;
|
|
11601
|
-
(_bottomSheetRef$curre4 = bottomSheetRef.current) === null || _bottomSheetRef$curre4 === void 0 || _bottomSheetRef$curre4.collapse();
|
|
11602
|
-
}
|
|
11603
|
-
}, [bottomSheetRef, isVisible, isExpanded]);
|
|
11604
11589
|
return /*#__PURE__*/jsx(BottomSheet, {
|
|
11605
11590
|
ref: bottomSheetRef,
|
|
11606
11591
|
maxDynamicContentSize: maxDynamicContentSize,
|
|
@@ -13756,7 +13741,6 @@ function TypographyLink(_ref) {
|
|
|
13756
13741
|
'kitt-universal': 'true'
|
|
13757
13742
|
},
|
|
13758
13743
|
_web: {
|
|
13759
|
-
// @ts-expect-error: This is only used on web where 'not-allowed' and 'pointer' are valid cursor values
|
|
13760
13744
|
cursor: disabled ? 'not-allowed' : 'pointer',
|
|
13761
13745
|
transitionProperty: 'color',
|
|
13762
13746
|
transitionDuration: '0.2s',
|