@microsoft/atlas-css 3.4.0 → 3.8.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/dist/index.css +2 -4
- package/dist/index.css.map +1 -1
- package/dist/tokens.json +1 -1
- package/dist/tokens.ts +2 -0
- package/package.json +10 -14
- package/src/atomics/border.scss +18 -2
- package/src/atomics/flex.scss +2 -0
- package/src/atomics/image.scss +7 -0
- package/src/atomics/index.scss +4 -0
- package/src/atomics/list.scss +3 -0
- package/src/atomics/overflow.scss +9 -0
- package/src/atomics/position.scss +2 -2
- package/src/atomics/spacing-auto.scss +51 -0
- package/src/atomics/spacing.scss +41 -16
- package/src/atomics/typography.scss +54 -0
- package/src/components/breadcrumbs.scss +20 -3
- package/src/components/button.scss +6 -6
- package/src/components/buttons.scss +9 -9
- package/src/components/index.scss +1 -0
- package/src/components/markdown.scss +21 -19
- package/src/components/popover.scss +5 -2
- package/src/components/scroll.scss +11 -0
- package/src/components/table.scss +1 -1
- package/src/core/animations.scss +4 -0
- package/src/core/bare-elements.scss +5 -0
- package/src/core/index.scss +3 -2
- package/src/core/minireset.scss +79 -0
- package/src/core/normalize.scss +353 -0
- package/src/core/themes.scss +5 -0
- package/src/index.scss +0 -1
- package/src/mixins/control.scss +2 -4
- package/src/mixins/focus.scss +1 -0
- package/src/tokens/border.scss +2 -1
- package/src/tokens/direction.scss +7 -0
- package/src/tokens/palette.scss +42 -42
- package/src/patterns/index.scss +0 -1
package/src/index.scss
CHANGED
package/src/mixins/control.scss
CHANGED
|
@@ -13,10 +13,8 @@ $control-padding-horizontal: calc(0.625em - #{$control-border-width}) !default;
|
|
|
13
13
|
align-items: center;
|
|
14
14
|
justify-content: flex-start;
|
|
15
15
|
min-height: 2.25em;
|
|
16
|
-
padding-
|
|
17
|
-
padding-
|
|
18
|
-
padding-bottom: $control-padding-vertical;
|
|
19
|
-
padding-left: $control-padding-horizontal;
|
|
16
|
+
padding-block: $control-padding-vertical;
|
|
17
|
+
padding-inline: $control-padding-horizontal;
|
|
20
18
|
border: $control-border-width solid transparent;
|
|
21
19
|
border-radius: $control-radius;
|
|
22
20
|
font-size: $control-font-size;
|
package/src/mixins/focus.scss
CHANGED
package/src/tokens/border.scss
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* @sass-export-section="border"
|
|
3
3
|
*/
|
|
4
4
|
$border-width: 1px !default;
|
|
5
|
-
$border-width-
|
|
5
|
+
$border-width-md: 0.125rem !default;
|
|
6
|
+
$border-width-lg: 0.25rem !default;
|
|
6
7
|
$border-radius: 0.25rem !default;
|
|
7
8
|
$border-radius-lg: 0.5rem !default;
|
|
8
9
|
//@end-sass-export-section
|
package/src/tokens/palette.scss
CHANGED
|
@@ -28,45 +28,45 @@ $palette-grey-120: #171717 !default;
|
|
|
28
28
|
|
|
29
29
|
$palette-black: #000 !default;
|
|
30
30
|
|
|
31
|
-
$palette-black-opacity-90:
|
|
32
|
-
$palette-black-opacity-80:
|
|
33
|
-
$palette-black-opacity-70:
|
|
34
|
-
$palette-black-opacity-60:
|
|
35
|
-
$palette-black-opacity-50:
|
|
36
|
-
$palette-black-opacity-40:
|
|
37
|
-
$palette-black-opacity-30:
|
|
38
|
-
$palette-black-opacity-20:
|
|
39
|
-
$palette-black-opacity-10:
|
|
40
|
-
$palette-black-opacity-0:
|
|
31
|
+
$palette-black-opacity-90: hsl(0deg 0% 0% / 90%) !default;
|
|
32
|
+
$palette-black-opacity-80: hsl(0deg 0% 0% / 80%) !default;
|
|
33
|
+
$palette-black-opacity-70: hsl(0deg 0% 0% / 70%) !default;
|
|
34
|
+
$palette-black-opacity-60: hsl(0deg 0% 0% / 60%) !default;
|
|
35
|
+
$palette-black-opacity-50: hsl(0deg 0% 0% / 50%) !default;
|
|
36
|
+
$palette-black-opacity-40: hsl(0deg 0% 0% / 40%) !default;
|
|
37
|
+
$palette-black-opacity-30: hsl(0deg 0% 0% / 30%) !default;
|
|
38
|
+
$palette-black-opacity-20: hsl(0deg 0% 0% / 20%) !default;
|
|
39
|
+
$palette-black-opacity-10: hsl(0deg 0% 0% / 10%) !default;
|
|
40
|
+
$palette-black-opacity-0: hsl(0deg 0% 0% / 0%) !default;
|
|
41
41
|
|
|
42
42
|
// White
|
|
43
43
|
|
|
44
44
|
$palette-white: #fff !default;
|
|
45
45
|
|
|
46
|
-
$palette-white-opacity-0:
|
|
47
|
-
$palette-white-opacity-10:
|
|
48
|
-
$palette-white-opacity-20:
|
|
49
|
-
$palette-white-opacity-30:
|
|
50
|
-
$palette-white-opacity-40:
|
|
51
|
-
$palette-white-opacity-50:
|
|
52
|
-
$palette-white-opacity-60:
|
|
53
|
-
$palette-white-opacity-70:
|
|
54
|
-
$palette-white-opacity-80:
|
|
55
|
-
$palette-white-opacity-90:
|
|
46
|
+
$palette-white-opacity-0: hsl(0deg 0% 100% / 0%);
|
|
47
|
+
$palette-white-opacity-10: hsl(0deg 0% 100% / 10%);
|
|
48
|
+
$palette-white-opacity-20: hsl(0deg 0% 100% / 20%);
|
|
49
|
+
$palette-white-opacity-30: hsl(0deg 0% 100% / 30%);
|
|
50
|
+
$palette-white-opacity-40: hsl(0deg 0% 100% / 40%);
|
|
51
|
+
$palette-white-opacity-50: hsl(0deg 0% 100% / 50%);
|
|
52
|
+
$palette-white-opacity-60: hsl(0deg 0% 100% / 60%);
|
|
53
|
+
$palette-white-opacity-70: hsl(0deg 0% 100% / 70%);
|
|
54
|
+
$palette-white-opacity-80: hsl(0deg 0% 100% / 80%);
|
|
55
|
+
$palette-white-opacity-90: hsl(0deg 0% 100% / 90%);
|
|
56
56
|
|
|
57
57
|
// Values used for shadows
|
|
58
58
|
|
|
59
|
-
$palette-black-opacity-108:
|
|
60
|
-
$palette-black-opacity-132:
|
|
59
|
+
$palette-black-opacity-108: hsl(0deg 0% 0% / 11%) !default;
|
|
60
|
+
$palette-black-opacity-132: hsl(0deg 0% 0% / 13%) !default;
|
|
61
61
|
|
|
62
|
-
$palette-black-opacity-22:
|
|
63
|
-
$palette-black-opacity-18:
|
|
62
|
+
$palette-black-opacity-22: hsl(0deg 0% 0% / 22%) !default;
|
|
63
|
+
$palette-black-opacity-18: hsl(0deg 0% 0% / 18%) !default;
|
|
64
64
|
|
|
65
|
-
$palette-white-opacity-108:
|
|
66
|
-
$palette-white-opacity-132:
|
|
65
|
+
$palette-white-opacity-108: hsl(0deg 0% 100% / 11%) !default;
|
|
66
|
+
$palette-white-opacity-132: hsl(0deg 0% 100% / 13%) !default;
|
|
67
67
|
|
|
68
|
-
$palette-white-opacity-22:
|
|
69
|
-
$palette-white-opacity-18:
|
|
68
|
+
$palette-white-opacity-22: hsl(0deg 0% 100% / 22%) !default;
|
|
69
|
+
$palette-white-opacity-18: hsl(0deg 0% 100% / 18%) !default;
|
|
70
70
|
|
|
71
71
|
// Blue
|
|
72
72
|
|
|
@@ -81,8 +81,8 @@ $palette-blue-80: #004173 !default;
|
|
|
81
81
|
$palette-blue-90: #002b4d !default;
|
|
82
82
|
$palette-blue-100: #000a13 !default;
|
|
83
83
|
|
|
84
|
-
$palette-blue-opacity-30:
|
|
85
|
-
$palette-blue-opacity-70:
|
|
84
|
+
$palette-blue-opacity-30: hsl(206deg 100% 35% / 30%);
|
|
85
|
+
$palette-blue-opacity-70: hsl(206deg 100% 35% / 70%);
|
|
86
86
|
|
|
87
87
|
// Navy
|
|
88
88
|
|
|
@@ -97,8 +97,8 @@ $palette-navy-80: #14294c !default;
|
|
|
97
97
|
$palette-navy-90: #061329 !default;
|
|
98
98
|
$palette-navy-100: #000910 !default;
|
|
99
99
|
|
|
100
|
-
$palette-navy-opacity-30:
|
|
101
|
-
$palette-navy-opacity-70:
|
|
100
|
+
$palette-navy-opacity-30: hsl(262deg 46% 17% / 30%) !default;
|
|
101
|
+
$palette-navy-opacity-70: hsl(262deg 46% 17% / 70%) !default;
|
|
102
102
|
|
|
103
103
|
// Turqoise
|
|
104
104
|
|
|
@@ -113,8 +113,8 @@ $palette-turqoise-80: #19474f !default;
|
|
|
113
113
|
$palette-turqoise-90: #0f2a2f !default;
|
|
114
114
|
$palette-turqoise-100: #050e0f !default;
|
|
115
115
|
|
|
116
|
-
$palette-navy-opacity-30:
|
|
117
|
-
$palette-navy-opacity-70:
|
|
116
|
+
$palette-navy-opacity-30: hsl(189deg 52% 12% / 30%) !default;
|
|
117
|
+
$palette-navy-opacity-70: hsl(189deg 52% 12% / 70%) !default;
|
|
118
118
|
|
|
119
119
|
// Green
|
|
120
120
|
|
|
@@ -129,8 +129,8 @@ $palette-green-80: #054b16 !default;
|
|
|
129
129
|
$palette-green-90: #05350c !default;
|
|
130
130
|
$palette-green-100: #061a00 !default;
|
|
131
131
|
|
|
132
|
-
$palette-green-opacity-30:
|
|
133
|
-
$palette-green-opacity-70:
|
|
132
|
+
$palette-green-opacity-30: hsl(120deg 37% 45% / 30%) !default;
|
|
133
|
+
$palette-green-opacity-70: hsl(120deg 37% 45% / 70%) !default;
|
|
134
134
|
|
|
135
135
|
// Purple
|
|
136
136
|
|
|
@@ -145,8 +145,8 @@ $palette-purple-80: #3b2e58 !default;
|
|
|
145
145
|
$palette-purple-90: #201843 !default;
|
|
146
146
|
$palette-purple-100: #03002c !default;
|
|
147
147
|
|
|
148
|
-
$palette-purple-opacity-30:
|
|
149
|
-
$palette-purple-opacity-70:
|
|
148
|
+
$palette-purple-opacity-30: hsl(251deg 47% 18% / 30%) !default;
|
|
149
|
+
$palette-purple-opacity-70: hsl(251deg 47% 18% / 70%) !default;
|
|
150
150
|
|
|
151
151
|
// Yellow
|
|
152
152
|
|
|
@@ -161,8 +161,8 @@ $palette-yellow-80: #6a4b16 !default;
|
|
|
161
161
|
$palette-yellow-90: #4f340e !default;
|
|
162
162
|
$palette-yellow-100: #2d1703 !default;
|
|
163
163
|
|
|
164
|
-
$palette-yellow-opacity-30:
|
|
165
|
-
$palette-yellow-opacity-70:
|
|
164
|
+
$palette-yellow-opacity-30: hsl(44deg 100% 50% / 30%) !default;
|
|
165
|
+
$palette-yellow-opacity-70: hsl(44deg 100% 50% / 70%) !default;
|
|
166
166
|
|
|
167
167
|
// Red
|
|
168
168
|
|
|
@@ -177,8 +177,8 @@ $palette-red-80: #630001 !default;
|
|
|
177
177
|
$palette-red-90: #470001 !default;
|
|
178
178
|
$palette-red-100: #290001 !default;
|
|
179
179
|
|
|
180
|
-
$palette-red-opacity-30:
|
|
181
|
-
$palette-red-opacity-70:
|
|
180
|
+
$palette-red-opacity-30: hsl(0deg 100% 33% / 30%) !default;
|
|
181
|
+
$palette-red-opacity-70: hsl(0deg 100% 33% / 70%) !default;
|
|
182
182
|
|
|
183
183
|
// High Contrast
|
|
184
184
|
|
package/src/patterns/index.scss
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// TBD
|