@inc2734/unitone-css 0.46.2 → 0.46.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inc2734/unitone-css",
3
- "version": "0.46.2",
3
+ "version": "0.46.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "license": "MIT",
package/src/app.js CHANGED
@@ -6,7 +6,7 @@ const setFluidFontSizeMagnification = (target) => {
6
6
  target.style.setProperty('--unitone--fluid-font-size-magnification', fontSize / baseFontSize);
7
7
  };
8
8
 
9
- const fluidFontSizeResizeObserver = new ResizeObserver((entries) => {
9
+ export const fluidFontSizeResizeObserver = new ResizeObserver((entries) => {
10
10
  for (const entry of entries) {
11
11
  setFluidFontSizeMagnification(entry.target);
12
12
  }
@@ -6,6 +6,6 @@
6
6
  }
7
7
 
8
8
  [data-unitone-layout~="-gutters\:root"] {
9
- --unitone--gutters: var(--unitone--global--gutters);
9
+ --unitone--gutters: var(--unitone--global--gutters) !important;
10
10
  }
11
11
  }
@@ -20,7 +20,7 @@
20
20
  color: var(--unitone--color);
21
21
  background-color: var(--unitone--background-color);
22
22
  box-shadow: var(--unitone--box-shadow);
23
- position: var(--unitone--position);
23
+ position: var(--unitone--position) !important;
24
24
  top: var(--unitone--top);
25
25
  right: var(--unitone--right);
26
26
  bottom: var(--unitone--bottom);
@@ -29,7 +29,7 @@
29
29
  ### Customizing column min width.
30
30
 
31
31
  ```html
32
- <div data-unitone-layout="responsive-grid" style="--unitone--column-min-width: 250px">
32
+ <div data-unitone-layout="responsive-grid" style="--unitone--column-min-width: 240px">
33
33
  ...
34
34
  </div>
35
35
  ```
@@ -1,6 +1,6 @@
1
1
  @mixin abstract-responsive-grid() {
2
2
  --unitone--auto-repeat: auto-fit;
3
- --unitone--column-min-width: 250px;
3
+ --unitone--column-min-width: 240px;
4
4
  --unitone--gap: var(--unitone--global--gap);
5
5
 
6
6
  display: grid;
@@ -14,7 +14,7 @@ export default {
14
14
  columnMinWidth: {
15
15
  control: { type: 'text' },
16
16
  description: 'Min width of each columns. Set by CSS var `--unitone--column-min-width`.',
17
- table: { defaultValue: { summary: '250px' } },
17
+ table: { defaultValue: { summary: '240px' } },
18
18
  type: { name: 'string', required: false },
19
19
  },
20
20
  gap: {
@@ -33,7 +33,7 @@ export default {
33
33
  },
34
34
  },
35
35
  args: {
36
- columnMinWidth: '250px',
36
+ columnMinWidth: '240px',
37
37
  gap: 2,
38
38
  autoRepeat: 'auto-fill',
39
39
  },
@@ -14,7 +14,7 @@ export default {
14
14
  columnMinWidth: {
15
15
  control: { type: 'text' },
16
16
  description: '`--unitone--column-min-width`',
17
- table: { defaultValue: { summary: '250px' } },
17
+ table: { defaultValue: { summary: '240px' } },
18
18
  type: { name: 'string', required: false },
19
19
  },
20
20
  color: {
@@ -31,7 +31,7 @@ export default {
31
31
  },
32
32
  args: {
33
33
  backgroundColor: 'transparent',
34
- columnMinWidth: '250px',
34
+ columnMinWidth: '240px',
35
35
  color: 'initial',
36
36
  gap: 2,
37
37
  },
@@ -14,7 +14,7 @@ export default {
14
14
  columnMinWidth: {
15
15
  control: { type: 'text' },
16
16
  description: '`--unitone--column-min-width`',
17
- table: { defaultValue: { summary: '250px' } },
17
+ table: { defaultValue: { summary: '240px' } },
18
18
  type: { name: 'string', required: false },
19
19
  },
20
20
  color: {
@@ -31,7 +31,7 @@ export default {
31
31
  },
32
32
  args: {
33
33
  backgroundColor: 'transparent',
34
- columnMinWidth: '250px',
34
+ columnMinWidth: '240px',
35
35
  color: '#fff',
36
36
  gap: 0,
37
37
  },