@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
package/dist/index.es.web.js
CHANGED
|
@@ -684,11 +684,11 @@ var button = {
|
|
|
684
684
|
padding: {
|
|
685
685
|
"default": {
|
|
686
686
|
horizontal: 16,
|
|
687
|
-
vertical:
|
|
687
|
+
vertical: 6
|
|
688
688
|
},
|
|
689
689
|
medium: {
|
|
690
690
|
horizontal: 24,
|
|
691
|
-
vertical:
|
|
691
|
+
vertical: 10
|
|
692
692
|
}
|
|
693
693
|
},
|
|
694
694
|
transition: {
|
|
@@ -4260,17 +4260,18 @@ function useStaticBottomSheet(Content) {
|
|
|
4260
4260
|
};
|
|
4261
4261
|
}
|
|
4262
4262
|
|
|
4263
|
+
var overflowHidden = "kitt-u_overflowHidden_otm3u3";
|
|
4263
4264
|
function useBlockBodyScroll(shouldBlockScroll, isInitialRender) {
|
|
4264
4265
|
useEffect(function () {
|
|
4265
4266
|
if (shouldBlockScroll) {
|
|
4266
|
-
document.body.
|
|
4267
|
+
document.body.classList.add(overflowHidden);
|
|
4267
4268
|
} else if (!isInitialRender) {
|
|
4268
|
-
document.body.
|
|
4269
|
+
document.body.classList.remove(overflowHidden);
|
|
4269
4270
|
}
|
|
4270
4271
|
return function () {
|
|
4271
4272
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- When leaving the website, document.body can be null
|
|
4272
4273
|
if (document.body) {
|
|
4273
|
-
document.body.
|
|
4274
|
+
document.body.classList.remove(overflowHidden);
|
|
4274
4275
|
}
|
|
4275
4276
|
};
|
|
4276
4277
|
}, [shouldBlockScroll, isInitialRender]);
|