@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);}
|
|
@@ -666,11 +666,11 @@ const button = {
|
|
|
666
666
|
padding: {
|
|
667
667
|
default: {
|
|
668
668
|
horizontal: 16,
|
|
669
|
-
vertical:
|
|
669
|
+
vertical: 6
|
|
670
670
|
},
|
|
671
671
|
medium: {
|
|
672
672
|
horizontal: 24,
|
|
673
|
-
vertical:
|
|
673
|
+
vertical: 10
|
|
674
674
|
}
|
|
675
675
|
},
|
|
676
676
|
transition: {
|
|
@@ -4215,17 +4215,18 @@ function useStaticBottomSheet(Content) {
|
|
|
4215
4215
|
};
|
|
4216
4216
|
}
|
|
4217
4217
|
|
|
4218
|
+
const overflowHidden = "kitt-u_overflowHidden_otm3u3";
|
|
4218
4219
|
function useBlockBodyScroll(shouldBlockScroll, isInitialRender) {
|
|
4219
4220
|
useEffect(() => {
|
|
4220
4221
|
if (shouldBlockScroll) {
|
|
4221
|
-
document.body.
|
|
4222
|
+
document.body.classList.add(overflowHidden);
|
|
4222
4223
|
} else if (!isInitialRender) {
|
|
4223
|
-
document.body.
|
|
4224
|
+
document.body.classList.remove(overflowHidden);
|
|
4224
4225
|
}
|
|
4225
4226
|
return () => {
|
|
4226
4227
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- When leaving the website, document.body can be null
|
|
4227
4228
|
if (document.body) {
|
|
4228
|
-
document.body.
|
|
4229
|
+
document.body.classList.remove(overflowHidden);
|
|
4229
4230
|
}
|
|
4230
4231
|
};
|
|
4231
4232
|
}, [shouldBlockScroll, isInitialRender]);
|