@ornikar/kitt-universal 31.3.2-canary.0ceb6a0ec79212a49e36324c71e86b68677389c7.0 → 31.3.2-canary.15a73739ea2928b1e56227ad92d99156df9cd496.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 -4
- package/dist/definitions/ModalBehaviour/ModalBehaviourPortal.web.d.ts.map +1 -1
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +3 -3
- package/dist/index-metro.es.android.js +2 -2
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +2 -2
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +2 -2
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.css +1 -0
- package/dist/index-node-22.17.cjs.web.js +6 -5
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +2 -2
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.css +1 -0
- package/dist/index-node-22.17.es.web.mjs +6 -5
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +6 -5
- package/dist/index.es.web.js.map +1 -1
- package/dist/linaria-themes-metro.es.android.js +2 -2
- package/dist/linaria-themes-metro.es.android.js.map +1 -1
- package/dist/linaria-themes-metro.es.ios.js +2 -2
- package/dist/linaria-themes-metro.es.ios.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.js +2 -2
- package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.web.js +2 -2
- package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-node-22.17.es.mjs +2 -2
- package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
- package/dist/linaria-themes-node-22.17.es.web.mjs +2 -2
- package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
- package/dist/linaria-themes.es.js +2 -2
- package/dist/linaria-themes.es.js.map +1 -1
- package/dist/linaria-themes.es.web.js +2 -2
- package/dist/linaria-themes.es.web.js.map +1 -1
- package/dist/styles.css +1 -0
- package/dist/tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
.kitt-u_overflowHidden_otm3u3{overflow:hidden;}
|
|
1
2
|
.kitt-u_contentAnimationEnter_c11xxy4r{opacity:0;-webkit-transform:rotateZ(5deg) scale(0.8);-ms-transform:rotateZ(5deg) scale(0.8);transform:rotateZ(5deg) scale(0.8);}
|
|
2
3
|
.kitt-u_contentAnimatioEnterActive_cl52117{opacity:1;-webkit-transform:rotateZ(0) scale(1);-ms-transform:rotateZ(0) scale(1);transform:rotateZ(0) scale(1);-webkit-transition:all 400ms cubic-bezier(0.77,0,0.175,1);transition:all 400ms cubic-bezier(0.77,0,0.175,1);}
|
|
3
4
|
.kitt-u_contentAnimatioExit_cyjczep{opacity:1;-webkit-transform:rotateZ(0) scale(1);-ms-transform:rotateZ(0) scale(1);transform:rotateZ(0) scale(1);}
|
|
@@ -675,11 +675,11 @@ const button = {
|
|
|
675
675
|
padding: {
|
|
676
676
|
default: {
|
|
677
677
|
horizontal: 16,
|
|
678
|
-
vertical:
|
|
678
|
+
vertical: 6
|
|
679
679
|
},
|
|
680
680
|
medium: {
|
|
681
681
|
horizontal: 24,
|
|
682
|
-
vertical:
|
|
682
|
+
vertical: 10
|
|
683
683
|
}
|
|
684
684
|
},
|
|
685
685
|
transition: {
|
|
@@ -4224,17 +4224,18 @@ function useStaticBottomSheet(Content) {
|
|
|
4224
4224
|
};
|
|
4225
4225
|
}
|
|
4226
4226
|
|
|
4227
|
+
const overflowHidden = "kitt-u_overflowHidden_otm3u3";
|
|
4227
4228
|
function useBlockBodyScroll(shouldBlockScroll, isInitialRender) {
|
|
4228
4229
|
react.useEffect(() => {
|
|
4229
4230
|
if (shouldBlockScroll) {
|
|
4230
|
-
document.body.
|
|
4231
|
+
document.body.classList.add(overflowHidden);
|
|
4231
4232
|
} else if (!isInitialRender) {
|
|
4232
|
-
document.body.
|
|
4233
|
+
document.body.classList.remove(overflowHidden);
|
|
4233
4234
|
}
|
|
4234
4235
|
return () => {
|
|
4235
4236
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- When leaving the website, document.body can be null
|
|
4236
4237
|
if (document.body) {
|
|
4237
|
-
document.body.
|
|
4238
|
+
document.body.classList.remove(overflowHidden);
|
|
4238
4239
|
}
|
|
4239
4240
|
};
|
|
4240
4241
|
}, [shouldBlockScroll, isInitialRender]);
|