@maggioli-design-system/styles 11.1.0 → 11.2.1

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.
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Tue, 31 Jan 2023 16:27:16 GMT
4
+ Generated at Thu, 02 Mar 2023 09:34:08 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Tue, 31 Jan 2023 16:27:16 GMT
4
+ Generated at Thu, 02 Mar 2023 09:34:08 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Tue, 31 Jan 2023 16:27:16 GMT
4
+ Generated at Thu, 02 Mar 2023 09:34:08 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Tue, 31 Jan 2023 16:27:16 GMT
4
+ Generated at Thu, 02 Mar 2023 09:34:08 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Tue, 31 Jan 2023 16:27:16 GMT
4
+ Generated at Thu, 02 Mar 2023 09:34:08 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Tue, 31 Jan 2023 16:27:15 GMT
4
+ Generated at Thu, 02 Mar 2023 09:34:08 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Tue, 31 Jan 2023 16:27:16 GMT
4
+ Generated at Thu, 02 Mar 2023 09:34:08 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Tue, 31 Jan 2023 16:27:16 GMT
4
+ Generated at Thu, 02 Mar 2023 09:34:08 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Tue, 31 Jan 2023 16:27:16 GMT
4
+ Generated at Thu, 02 Mar 2023 09:34:08 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Tue, 31 Jan 2023 16:27:16 GMT
4
+ Generated at Thu, 02 Mar 2023 09:34:08 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Tue, 31 Jan 2023 16:27:16 GMT
4
+ Generated at Thu, 02 Mar 2023 09:34:08 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Tue, 31 Jan 2023 16:27:16 GMT
4
+ Generated at Thu, 02 Mar 2023 09:34:08 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -11,6 +11,7 @@
11
11
  --magma-outline-blur: 2px solid transparent;
12
12
  --magma-outline-focus-offset: 2px;
13
13
  --magma-outline-focus: 2px solid theme('colors.tone-neutral-05');
14
+ --magma-tooltip-z-index: 4000;
14
15
  --magma-overlay-blur: var(--magma-backdrop-blur);
15
16
  --magma-overlay-color: var(--magma-backdrop-color);
16
17
  --magma-overlay-opacity: 0.5;
@@ -1,18 +1,34 @@
1
1
  @tailwind components;
2
2
 
3
3
  @layer components {
4
- .focusable {
4
+ .focus-off,
5
+ .focusable,
6
+ .focusable-light,
7
+ .focusable-light-off {
5
8
  @apply
6
9
  duration-200
7
10
  ease-out;
8
11
 
9
- outline-offset: var(--magma-outline-blur-offset, 6px);
10
- outline: var(--magma-outline-blur, 2px solid transparent);
12
+ outline-offset: var(--magma-outline-blur-offset);
13
+ outline: var(--magma-outline-blur);
11
14
  transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;
12
15
  }
13
16
 
17
+ .focus-on,
18
+ .focusable-light:focus-visible,
14
19
  .focusable:focus-visible {
15
- outline-offset: var(--magma-outline-focus-offset, 2px);
16
- outline: var(--magma-outline-focus, 2px solid theme('colors.label-sky-05'));
20
+ --magma-outline-blur-offset: var(--magma-outline-focus-offset);
21
+ --magma-outline-blur: var(--magma-outline-focus);
22
+ }
23
+
24
+ .focus-light-on,
25
+ .focusable-light:focus-visible {
26
+ --magma-outline-blur: 2px solid theme('colors.tone-neutral');
27
+ }
28
+
29
+ .hide-scrollbar {
30
+ -webkit-overflow-scrolling: touch;
31
+ -ms-overflow-style: none;
32
+ scrollbar-width: none;
17
33
  }
18
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maggioli-design-system/styles",
3
- "version": "11.1.0",
3
+ "version": "11.2.1",
4
4
  "description": "This module contains SCSS and CSS styles used by Maggioli Design System, it also makes available a Tailwind config based on Maggioli design tokens.",
5
5
  "main": "./tailwind.config.js",
6
6
  "scripts": {
@@ -75,12 +75,12 @@ module.exports = {
75
75
  1: '1fr',
76
76
  },
77
77
  gridTemplateColumns: {
78
- 'fit-sm': 'repeat(auto-fit, minmax(10rem, 1fr))',
79
- fit: 'repeat(auto-fit, minmax(12.5rem, 1fr))',
80
- 'fit-md': 'repeat(auto-fit, minmax(15rem, 1fr))',
81
78
  'fit-lg': 'repeat(auto-fit, minmax(17.5rem, 1fr))',
79
+ 'fit-md': 'repeat(auto-fit, minmax(15rem, 1fr))',
80
+ 'fit-sm': 'repeat(auto-fit, minmax(10rem, 1fr))',
82
81
  'fit-xl': 'repeat(auto-fit, minmax(20rem, 1fr))',
83
- full: '100%',
82
+ fit: 'repeat(auto-fit, minmax(12.5rem, 1fr))',
83
+ full: 'repeat(auto-fit, minmax(1px, 100%))',
84
84
  },
85
85
  maxWidth: {
86
86
  '1/4': '25%',