@popsure/dirty-swan 0.56.6 → 0.56.7
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/dist/cjs/index.js +12 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/{TableSection-c6ec5395.js → TableSection-a6e85f15.js} +13 -7
- package/dist/esm/TableSection-a6e85f15.js.map +1 -0
- package/dist/esm/components/table/Table.js +1 -1
- package/dist/esm/components/table/Table.stories.js +1 -1
- package/dist/esm/components/table/Table.test.js +1 -1
- package/dist/esm/components/table/components/TableContents/TableContents.js +1 -1
- package/dist/esm/components/table/components/TableContents/TableContents.test.js +1 -1
- package/dist/esm/components/table/components/TableSection/TableSection.js +1 -1
- package/dist/esm/components/table/components/TableSection/TableSection.test.js +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
- package/src/lib/hooks/useMediaQuery.ts +13 -6
- package/dist/esm/TableSection-c6ec5395.js.map +0 -1
package/dist/cjs/index.js
CHANGED
|
@@ -16255,13 +16255,13 @@ var styles$4 = {"wrapper":"Table-module_wrapper__2MMNq","container":"Table-modul
|
|
|
16255
16255
|
styleInject(css_248z$4);
|
|
16256
16256
|
|
|
16257
16257
|
var breakpointLookup = function (breakpoint) {
|
|
16258
|
+
if (typeof window === 'undefined') {
|
|
16259
|
+
return {
|
|
16260
|
+
initialValue: false,
|
|
16261
|
+
queryString: '',
|
|
16262
|
+
};
|
|
16263
|
+
}
|
|
16258
16264
|
switch (breakpoint) {
|
|
16259
|
-
case 'BELOW_MOBILE':
|
|
16260
|
-
default:
|
|
16261
|
-
return {
|
|
16262
|
-
initialValue: window.innerWidth <= 544, // 34rem = 544px = mobile breakpoint}
|
|
16263
|
-
queryString: '(max-width: 34rem)',
|
|
16264
|
-
};
|
|
16265
16265
|
case 'BELOW_TABLET':
|
|
16266
16266
|
return {
|
|
16267
16267
|
initialValue: window.innerWidth <= 720, // 45rem = 720px = tablet breakpoint
|
|
@@ -16287,6 +16287,12 @@ var breakpointLookup = function (breakpoint) {
|
|
|
16287
16287
|
initialValue: window.innerWidth >= 1024, // 64rem = 1024px = desktop breakpoint
|
|
16288
16288
|
queryString: '(min-width: 64rem)',
|
|
16289
16289
|
};
|
|
16290
|
+
case 'BELOW_MOBILE':
|
|
16291
|
+
default:
|
|
16292
|
+
return {
|
|
16293
|
+
initialValue: window.innerWidth <= 544, // 34rem = 544px = mobile breakpoint}
|
|
16294
|
+
queryString: '(max-width: 34rem)',
|
|
16295
|
+
};
|
|
16290
16296
|
}
|
|
16291
16297
|
};
|
|
16292
16298
|
var useMediaQuery = function (breakpoint) {
|