@maggioli-design-system/styles 15.7.0 → 15.8.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.
@@ -0,0 +1,105 @@
1
+ mds-accordion:not(:is([hydrated], .hydrated)),
2
+ mds-accordion-item:not(:is([hydrated], .hydrated)),
3
+ mds-accordion-timer:not(:is([hydrated], .hydrated)),
4
+ mds-accordion-timer-item:not(:is([hydrated], .hydrated)),
5
+ mds-author:not(:is([hydrated], .hydrated)),
6
+ mds-avatar:not(:is([hydrated], .hydrated)),
7
+ mds-badge:not(:is([hydrated], .hydrated)),
8
+ mds-banner:not(:is([hydrated], .hydrated)),
9
+ mds-benchmark-bar:not(:is([hydrated], .hydrated)),
10
+ mds-bibliography:not(:is([hydrated], .hydrated)),
11
+ mds-breadcrumb:not(:is([hydrated], .hydrated)),
12
+ mds-breadcrumb-item:not(:is([hydrated], .hydrated)),
13
+ mds-button:not(:is([hydrated], .hydrated)),
14
+ mds-card:not(:is([hydrated], .hydrated)),
15
+ mds-card-content:not(:is([hydrated], .hydrated)),
16
+ mds-card-footer:not(:is([hydrated], .hydrated)),
17
+ mds-card-header:not(:is([hydrated], .hydrated)),
18
+ mds-card-media:not(:is([hydrated], .hydrated)),
19
+ mds-chip:not(:is([hydrated], .hydrated)),
20
+ mds-details:not(:is([hydrated], .hydrated)),
21
+ mds-dropdown:not(:is([hydrated], .hydrated)),
22
+ mds-entity:not(:is([hydrated], .hydrated)),
23
+ mds-file:not(:is([hydrated], .hydrated)),
24
+ mds-file-preview:not(:is([hydrated], .hydrated)),
25
+ mds-filter:not(:is([hydrated], .hydrated)),
26
+ mds-filter-item:not(:is([hydrated], .hydrated)),
27
+ mds-header:not(:is([hydrated], .hydrated)),
28
+ mds-header-bar:not(:is([hydrated], .hydrated)),
29
+ mds-help:not(:is([hydrated], .hydrated)),
30
+ mds-horizontal-scroll:not(:is([hydrated], .hydrated)),
31
+ mds-hr:not(:is([hydrated], .hydrated)),
32
+ mds-icon:not(:is([hydrated], .hydrated)),
33
+ mds-img:not(:is([hydrated], .hydrated)),
34
+ mds-input:not(:is([hydrated], .hydrated)),
35
+ mds-input-field:not(:is([hydrated], .hydrated)),
36
+ mds-input-range:not(:is([hydrated], .hydrated)),
37
+ mds-input-select:not(:is([hydrated], .hydrated)),
38
+ mds-input-switch:not(:is([hydrated], .hydrated)),
39
+ mds-input-tip:not(:is([hydrated], .hydrated)),
40
+ mds-input-tip-item:not(:is([hydrated], .hydrated)),
41
+ mds-input-upload:not(:is([hydrated], .hydrated)),
42
+ mds-keyboard:not(:is([hydrated], .hydrated)),
43
+ mds-keyboard-key:not(:is([hydrated], .hydrated)),
44
+ mds-kpi:not(:is([hydrated], .hydrated)),
45
+ mds-kpi-item:not(:is([hydrated], .hydrated)),
46
+ mds-label:not(:is([hydrated], .hydrated)),
47
+ mds-list:not(:is([hydrated], .hydrated)),
48
+ mds-list-item:not(:is([hydrated], .hydrated)),
49
+ mds-modal:not(:is([hydrated], .hydrated)),
50
+ mds-note:not(:is([hydrated], .hydrated)),
51
+ mds-notification:not(:is([hydrated], .hydrated)),
52
+ mds-paginator:not(:is([hydrated], .hydrated)),
53
+ mds-paginator-item:not(:is([hydrated], .hydrated)),
54
+ mds-pref:not(:is([hydrated], .hydrated)),
55
+ mds-pref-animation:not(:is([hydrated], .hydrated)),
56
+ mds-pref-consumption:not(:is([hydrated], .hydrated)),
57
+ mds-pref-contrast:not(:is([hydrated], .hydrated)),
58
+ mds-pref-language:not(:is([hydrated], .hydrated)),
59
+ mds-pref-language-item:not(:is([hydrated], .hydrated)),
60
+ mds-pref-theme:not(:is([hydrated], .hydrated)),
61
+ mds-price-table:not(:is([hydrated], .hydrated)),
62
+ mds-price-table-features:not(:is([hydrated], .hydrated)),
63
+ mds-price-table-features-cell:not(:is([hydrated], .hydrated)),
64
+ mds-price-table-features-row:not(:is([hydrated], .hydrated)),
65
+ mds-price-table-header:not(:is([hydrated], .hydrated)),
66
+ mds-price-table-list:not(:is([hydrated], .hydrated)),
67
+ mds-price-table-list-item:not(:is([hydrated], .hydrated)),
68
+ mds-progress:not(:is([hydrated], .hydrated)),
69
+ mds-push-notification:not(:is([hydrated], .hydrated)),
70
+ mds-push-notifications:not(:is([hydrated], .hydrated)),
71
+ mds-quote:not(:is([hydrated], .hydrated)),
72
+ mds-separator:not(:is([hydrated], .hydrated)),
73
+ mds-spinner:not(:is([hydrated], .hydrated)),
74
+ mds-stepper-bar:not(:is([hydrated], .hydrated)),
75
+ mds-stepper-bar-item:not(:is([hydrated], .hydrated)),
76
+ mds-tab:not(:is([hydrated], .hydrated)),
77
+ mds-tab-bar:not(:is([hydrated], .hydrated)),
78
+ mds-tab-bar-item:not(:is([hydrated], .hydrated)),
79
+ mds-tab-item:not(:is([hydrated], .hydrated)),
80
+ mds-table:not(:is([hydrated], .hydrated)),
81
+ mds-table-body:not(:is([hydrated], .hydrated)),
82
+ mds-table-cell:not(:is([hydrated], .hydrated)),
83
+ mds-table-footer:not(:is([hydrated], .hydrated)),
84
+ mds-table-header:not(:is([hydrated], .hydrated)),
85
+ mds-table-header-cell:not(:is([hydrated], .hydrated)),
86
+ mds-table-row:not(:is([hydrated], .hydrated)),
87
+ mds-text:not(:is([hydrated], .hydrated)),
88
+ mds-toast:not(:is([hydrated], .hydrated)),
89
+ mds-tooltip:not(:is([hydrated], .hydrated)),
90
+ mds-tree:not(:is([hydrated], .hydrated)),
91
+ mds-tree-item:not(:is([hydrated], .hydrated)),
92
+ mds-url-view:not(:is([hydrated], .hydrated)),
93
+ mds-usage:not(:is([hydrated], .hydrated)),
94
+ mds-video-wall:not(:is([hydrated], .hydrated)),
95
+ mds-zero:not(:is([hydrated], .hydrated))
96
+ {
97
+ animation-duration: 0s;
98
+ border-color: transparent;
99
+ box-shadow: 0 0 0 transparent;
100
+ opacity: 0;
101
+ outline-color: transparent;
102
+ transition-delay: 0s;
103
+ transition-duration: 0s;
104
+ visibility: hidden;
105
+ }
@@ -50,4 +50,12 @@
50
50
  -ms-overflow-style: none;
51
51
  scrollbar-width: none;
52
52
  }
53
+
54
+ .not-hydrated {
55
+ animation-duration: 0s;
56
+ opacity: 0;
57
+ transition-delay: 0.1s;
58
+ transition-duration: 0s;
59
+ visibility: hidden;
60
+ }
53
61
  }
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@maggioli-design-system/styles",
3
- "version": "15.7.0",
3
+ "version": "15.8.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": {
7
- "build": "npm run clean && npm run copy && npm run tailwind.build",
7
+ "build": "npm run clean && npm run copy && npm run hydrated && npm run tailwind.build",
8
8
  "clean": "npx ts-node scripts/clean.ts",
9
+ "hydrated": "npx ts-node scripts/hydrated.ts",
9
10
  "copy": "npx ts-node scripts/copy.ts",
10
11
  "tailwind.base": "postcss ./postcss/base.css -o ./dist/css/base.css",
11
12
  "tailwind.reset": "postcss ./postcss/reset.css -o ./dist/css/reset.css",
@@ -45,7 +46,7 @@
45
46
  "@fontsource/merriweather": "5.1.0",
46
47
  "@fontsource/roboto": "5.1.0",
47
48
  "@fontsource/roboto-mono": "5.1.0",
48
- "@maggioli-design-system/design-tokens": "13.5.0",
49
+ "@maggioli-design-system/design-tokens": "13.6.1",
49
50
  "normalize.css": "8.0.1"
50
51
  },
51
52
  "devDependencies": {
@@ -60,6 +60,9 @@ module.exports = {
60
60
  aspectRatio: {
61
61
  ...aspectRatio,
62
62
  },
63
+ backgroundSize: {
64
+ ...size,
65
+ },
63
66
  borderRadius: {
64
67
  ...borderRadius,
65
68
  },