@microsoft/sp-component-base 1.16.1 → 1.17.0-beta.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.
- package/dist/467dc675-7cc5-4709-8aac-78e3b71bd2f6.manifest.json +72 -72
- package/dist/chunk.legacy-third-party-fabric-core-localfont_none_c240cee2b23dc4a14fc6.js +1 -0
- package/dist/index-internal-beta.d.ts +3 -0
- package/dist/index-internal-public.d.ts +3 -0
- package/dist/index-internal.d.ts +3 -0
- package/dist/{sp-component-base_en-us_ee18de6e19b14eb89178.js → sp-component-base_default_6641f4d95d4250ba4161.js} +1 -1
- package/dist/sp-component-base_en-us_6641f4d95d4250ba4161.js +1 -0
- package/dist/sp-component-base_qps-ploc_6641f4d95d4250ba4161.js +1 -0
- package/dist/sp-component-base_qps-ploca_6641f4d95d4250ba4161.js +1 -0
- package/dist/tsdoc-metadata.json +1 -1
- package/lib-commonjs/BaseComponent.js +22 -0
- package/lib-commonjs/DynamicDataSourceManager.js +11 -7
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/Fabric.LocalFont.scss.css +9247 -0
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/Fabric.LocalFontKillSwitchActivated.scss.css +11267 -0
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-shim.scss.css +2063 -0
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/{fabric-core-shimKillSwitchActivated.scss → fabric-core-shimKillSwitchActivated.scss.css} +222 -534
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/iconDefinitions.css +2 -7
- package/lib-commonjs/common/KillSwitches.js +6 -10
- package/lib-commonjs/styles/{shimmer.module.scss → shimmer.module.scss.css} +2 -4
- package/package.json +16 -13
- package/dist/chunk.legacy-third-party-fabric-core-localfont_none_e3d3ee858da922ec12dd.js +0 -1
- package/dist/sp-component-base_default_ee18de6e19b14eb89178.js +0 -1
- package/dist/sp-component-base_qps-ploc_ee18de6e19b14eb89178.js +0 -1
- package/dist/sp-component-base_qps-ploca_ee18de6e19b14eb89178.js +0 -1
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/Fabric.LocalFont.scss +0 -29
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/Fabric.LocalFontKillSwitchActivated.scss +0 -21
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_Animation.scss +0 -173
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_BrandIcon.scss +0 -19
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_Color.scss +0 -483
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_Font.scss +0 -397
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_Grid.scss +0 -24
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_Icon.Definitions.scss +0 -32
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_Icon.scss +0 -36
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_References.scss +0 -27
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_Responsive.scss +0 -1009
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_Utility.scss +0 -56
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/_Wrapper.scss +0 -42
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_Animation.Mixins.scss +0 -549
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_BrandIcon.Mixins.scss +0 -36
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_Color.Mixins.scss +0 -407
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_Directionality.Mixins.scss +0 -334
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_Font.Mixins.scss +0 -403
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_General.Mixins.scss +0 -228
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_Grid.Mixins.scss +0 -39
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_Icon.Mixins.scss +0 -4116
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_Responsive.Mixins.scss +0 -1487
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_ScopedStyles.Mixins.scss +0 -21
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/variables/_Animation.Variables.scss +0 -11
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/variables/_BrandIcon.Variables.scss +0 -14
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/variables/_Color.Variables.scss +0 -73
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/variables/_Font.Variables.scss +0 -45
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/variables/_General.Variables.scss +0 -6
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/variables/_Icon.Variables.scss +0 -2672
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/variables/_Responsive.Variables.scss +0 -16
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/variables/_ZIndex.Variables.scss +0 -14
- package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-shim.scss +0 -2478
package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_Font.Mixins.scss
DELETED
|
@@ -1,403 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
|
|
2
|
-
|
|
3
|
-
//
|
|
4
|
-
// Office UI Fabric
|
|
5
|
-
// --------------------------------------------------
|
|
6
|
-
// Font definitions
|
|
7
|
-
|
|
8
|
-
/*
|
|
9
|
-
Your use of the content in the files referenced here is subject to the terms of the license at http://aka.ms/fabric-assets-license
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
// Produce @font-face definitions for the web fonts.
|
|
13
|
-
@mixin ms-font-face($font-family-name, $cdn-folder, $cdn-font-name: 'segoeui') {
|
|
14
|
-
@font-face {
|
|
15
|
-
font-family: $font-family-name;
|
|
16
|
-
src: url('#{$ms-font-cdn-path}/#{$cdn-folder}/#{$cdn-font-name}-light.woff2') format('woff2'),
|
|
17
|
-
url('#{$ms-font-cdn-path}/#{$cdn-folder}/#{$cdn-font-name}-light.woff') format('woff');
|
|
18
|
-
font-weight: $ms-font-weight-light;
|
|
19
|
-
font-style: normal;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@font-face {
|
|
23
|
-
font-family: $font-family-name;
|
|
24
|
-
src: url('#{$ms-font-cdn-path}/#{$cdn-folder}/#{$cdn-font-name}-semilight.woff2') format('woff2'),
|
|
25
|
-
url('#{$ms-font-cdn-path}/#{$cdn-folder}/#{$cdn-font-name}-semilight.woff') format('woff');
|
|
26
|
-
font-weight: $ms-font-weight-semilight;
|
|
27
|
-
font-style: normal;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@font-face {
|
|
31
|
-
font-family: $font-family-name;
|
|
32
|
-
src: url('#{$ms-font-cdn-path}/#{$cdn-folder}/#{$cdn-font-name}-regular.woff2') format('woff2'),
|
|
33
|
-
url('#{$ms-font-cdn-path}/#{$cdn-folder}/#{$cdn-font-name}-regular.woff') format('woff');
|
|
34
|
-
font-weight: $ms-font-weight-regular;
|
|
35
|
-
font-style: normal;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@font-face {
|
|
39
|
-
font-family: $font-family-name;
|
|
40
|
-
src: url('#{$ms-font-cdn-path}/#{$cdn-folder}/#{$cdn-font-name}-semibold.woff2') format('woff2'),
|
|
41
|
-
url('#{$ms-font-cdn-path}/#{$cdn-folder}/#{$cdn-font-name}-semibold.woff') format('woff');
|
|
42
|
-
font-weight: $ms-font-weight-semibold;
|
|
43
|
-
font-style: normal;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@font-face {
|
|
47
|
-
font-family: $font-family-name;
|
|
48
|
-
src: url('#{$ms-font-cdn-path}/#{$cdn-folder}/#{$cdn-font-name}-bold.woff2') format('woff2'),
|
|
49
|
-
url('#{$ms-font-cdn-path}/#{$cdn-folder}/#{$cdn-font-name}-bold.woff') format('woff');
|
|
50
|
-
font-weight: $ms-font-weight-bold;
|
|
51
|
-
font-style: normal;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
// Generate overrides to set font-family based on the lang attribute.
|
|
56
|
-
@mixin ms-font-family-language-override($language-code, $font-family) {
|
|
57
|
-
*[lang^='#{$language-code}'] .ms-Fabric,
|
|
58
|
-
.ms-Fabric *[lang^='#{$language-code}'],
|
|
59
|
-
.ms-Fabric[lang^='#{$language-code}'] {
|
|
60
|
-
font-family: $font-family;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// Super Styles (LIMITED USE)
|
|
65
|
-
@mixin ms-font-su {
|
|
66
|
-
font-size: $ms-font-size-su;
|
|
67
|
-
font-weight: $ms-font-weight-light;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
// Extra-Extra-Large
|
|
71
|
-
@mixin ms-font-xxl {
|
|
72
|
-
font-size: $ms-font-size-xxl;
|
|
73
|
-
font-weight: $ms-font-weight-light;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
// Extra-Large Styles
|
|
77
|
-
@mixin ms-font-xl-plus {
|
|
78
|
-
font-size: $ms-font-size-xl-plus;
|
|
79
|
-
font-weight: $ms-font-weight-light;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
// Extra-Large Styles
|
|
83
|
-
@mixin ms-font-xl {
|
|
84
|
-
font-size: $ms-font-size-xl;
|
|
85
|
-
font-weight: $ms-font-weight-light;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
// Large Styles
|
|
89
|
-
@mixin ms-font-l {
|
|
90
|
-
font-size: $ms-font-size-l;
|
|
91
|
-
font-weight: $ms-font-weight-semilight;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Medium Plus Styles
|
|
95
|
-
@mixin ms-font-m-plus {
|
|
96
|
-
font-size: $ms-font-size-m-plus;
|
|
97
|
-
font-weight: $ms-font-weight-regular;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Medium Styles
|
|
101
|
-
@mixin ms-font-m {
|
|
102
|
-
font-size: $ms-font-size-m;
|
|
103
|
-
font-weight: $ms-font-weight-regular;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Small Plus Styles
|
|
107
|
-
@mixin ms-font-s-plus {
|
|
108
|
-
font-size: $ms-font-size-s-plus;
|
|
109
|
-
font-weight: $ms-font-weight-regular;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
// Small Styles
|
|
113
|
-
@mixin ms-font-s {
|
|
114
|
-
font-size: $ms-font-size-s;
|
|
115
|
-
font-weight: $ms-font-weight-regular;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
// XS Styles
|
|
119
|
-
@mixin ms-font-xs {
|
|
120
|
-
font-size: $ms-font-size-xs;
|
|
121
|
-
font-weight: $ms-font-weight-regular;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
// Micro Styles (LIMITED USE)
|
|
125
|
-
@mixin ms-font-mi {
|
|
126
|
-
font-size: $ms-font-size-mi;
|
|
127
|
-
font-weight: $ms-font-weight-semibold;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
//== Helper classes & mixins
|
|
131
|
-
//
|
|
132
|
-
// Helper mixins to override default type values
|
|
133
|
-
|
|
134
|
-
// Font weights
|
|
135
|
-
@mixin ms-fontWeight-light {
|
|
136
|
-
font-weight: $ms-font-weight-light;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
@mixin ms-fontWeight-semilight {
|
|
140
|
-
font-weight: $ms-font-weight-semilight;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
@mixin ms-fontWeight-regular {
|
|
144
|
-
font-weight: $ms-font-weight-regular;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
@mixin ms-fontWeight-semibold {
|
|
148
|
-
font-weight: $ms-font-weight-semibold;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
@mixin ms-fontWeight-bold {
|
|
152
|
-
font-weight: $ms-font-weight-bold;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
// Font sizes
|
|
156
|
-
@mixin ms-fontSize-su {
|
|
157
|
-
font-size: $ms-font-size-su;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
@mixin ms-fontSize-xxl {
|
|
161
|
-
font-size: $ms-font-size-xxl;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
@mixin ms-fontSize-xlPlus {
|
|
165
|
-
font-size: $ms-font-size-xl-plus;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
@mixin ms-fontSize-xl {
|
|
169
|
-
font-size: $ms-font-size-xl;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
@mixin ms-fontSize-l {
|
|
173
|
-
font-size: $ms-font-size-l;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
@mixin ms-fontSize-mPlus {
|
|
177
|
-
font-size: $ms-font-size-m-plus;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
@mixin ms-fontSize-m {
|
|
181
|
-
font-size: $ms-font-size-m;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
@mixin ms-fontSize-sPlus {
|
|
185
|
-
font-size: $ms-font-size-s-plus;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
@mixin ms-fontSize-s {
|
|
189
|
-
font-size: $ms-font-size-s;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
@mixin ms-fontSize-xs {
|
|
193
|
-
font-size: $ms-font-size-xs;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
@mixin ms-fontSize-mi {
|
|
197
|
-
font-size: $ms-font-size-mi;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
// Theme colors
|
|
201
|
-
@mixin ms-fontColor-themeDarker {
|
|
202
|
-
color: $ms-color-themeDarker;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
@mixin ms-fontColor-themeDark {
|
|
206
|
-
color: $ms-color-themeDark;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
@mixin ms-fontColor-themeDarkAlt {
|
|
210
|
-
color: $ms-color-themeDarkAlt;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
@mixin ms-fontColor-themePrimary {
|
|
214
|
-
color: $ms-color-themePrimary;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
@mixin ms-fontColor-themeSecondary {
|
|
218
|
-
color: $ms-color-themeSecondary;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
@mixin ms-fontColor-themeTertiary {
|
|
222
|
-
color: $ms-color-themeTertiary;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
@mixin ms-fontColor-themeLight {
|
|
226
|
-
color: $ms-color-themeLight;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
@mixin ms-fontColor-themeLighter {
|
|
230
|
-
color: $ms-color-themeLighter;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
@mixin ms-fontColor-themeLighterAlt {
|
|
234
|
-
color: $ms-color-themeLighterAlt;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
// Neutral colors
|
|
238
|
-
@mixin ms-fontColor-black {
|
|
239
|
-
color: $ms-color-black;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
@mixin ms-fontColor-neutralDark {
|
|
243
|
-
color: $ms-color-neutralDark;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
@mixin ms-fontColor-neutralPrimary {
|
|
247
|
-
color: $ms-color-neutralPrimary;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
@mixin ms-fontColor-neutralPrimaryAlt {
|
|
251
|
-
color: $ms-color-neutralPrimaryAlt;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
@mixin ms-fontColor-neutralSecondary {
|
|
255
|
-
color: $ms-color-neutralSecondary;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
@mixin ms-fontColor-neutralSecondaryAlt {
|
|
259
|
-
color: $ms-color-neutralSecondaryAlt;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
@mixin ms-fontColor-neutralTertiary {
|
|
263
|
-
color: $ms-color-neutralTertiary;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
@mixin ms-fontColor-neutralTertiaryAlt {
|
|
267
|
-
color: $ms-color-neutralTertiaryAlt;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
@mixin ms-fontColor-neutralLight {
|
|
271
|
-
color: $ms-color-neutralLight;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
@mixin ms-fontColor-neutralLighter {
|
|
275
|
-
color: $ms-color-neutralLighter;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
@mixin ms-fontColor-neutralLighterAlt {
|
|
279
|
-
color: $ms-color-neutralLighterAlt;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
@mixin ms-fontColor-white {
|
|
283
|
-
color: $ms-color-white;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
// Brand and accent colors
|
|
287
|
-
@mixin ms-fontColor-yellow {
|
|
288
|
-
color: $ms-color-yellow;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
@mixin ms-fontColor-yellowLight {
|
|
292
|
-
color: $ms-color-yellowLight;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
@mixin ms-fontColor-orange {
|
|
296
|
-
color: $ms-color-orange;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
@mixin ms-fontColor-orangeLight {
|
|
300
|
-
color: $ms-color-orangeLight;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
@mixin ms-fontColor-orangeLighter {
|
|
304
|
-
color: $ms-color-orangeLighter;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
@mixin ms-fontColor-redDark {
|
|
308
|
-
color: $ms-color-redDark;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
@mixin ms-fontColor-red {
|
|
312
|
-
color: $ms-color-red;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
@mixin ms-fontColor-magentaDark {
|
|
316
|
-
color: $ms-color-magentaDark;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
@mixin ms-fontColor-magenta {
|
|
320
|
-
color: $ms-color-magenta;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
@mixin ms-fontColor-magentaLight {
|
|
324
|
-
color: $ms-color-magentaLight;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
@mixin ms-fontColor-purpleDark {
|
|
328
|
-
color: $ms-color-purpleDark;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
@mixin ms-fontColor-purple {
|
|
332
|
-
color: $ms-color-purple;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
@mixin ms-fontColor-purpleLight {
|
|
336
|
-
color: $ms-color-purpleLight;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
@mixin ms-fontColor-blueDark {
|
|
340
|
-
color: $ms-color-blueDark;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
@mixin ms-fontColor-blueMid {
|
|
344
|
-
color: $ms-color-blueMid;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
@mixin ms-fontColor-blue {
|
|
348
|
-
color: $ms-color-blue;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
@mixin ms-fontColor-blueLight {
|
|
352
|
-
color: $ms-color-blueLight;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
@mixin ms-fontColor-tealDark {
|
|
356
|
-
color: $ms-color-tealDark;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
@mixin ms-fontColor-teal {
|
|
360
|
-
color: $ms-color-teal;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
@mixin ms-fontColor-tealLight {
|
|
364
|
-
color: $ms-color-tealLight;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
@mixin ms-fontColor-greenDark {
|
|
368
|
-
color: $ms-color-greenDark;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
@mixin ms-fontColor-green {
|
|
372
|
-
color: $ms-color-green;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
@mixin ms-fontColor-greenLight {
|
|
376
|
-
color: $ms-color-greenLight;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
// Message colors
|
|
380
|
-
@mixin ms-fontColor-info {
|
|
381
|
-
color: $ms-color-info;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
@mixin ms-fontColor-success {
|
|
385
|
-
color: $ms-color-success;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
@mixin ms-fontColor-alert {
|
|
389
|
-
// @todo: Deprecated: Use ms-fontColor-severeWarning
|
|
390
|
-
color: $ms-color-alert;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
@mixin ms-fontColor-warning {
|
|
394
|
-
color: $ms-color-warning;
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
@mixin ms-fontColor-severeWarning {
|
|
398
|
-
color: $ms-color-severeWarning;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
@mixin ms-fontColor-error {
|
|
402
|
-
color: $ms-color-error;
|
|
403
|
-
}
|
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
|
|
2
|
-
|
|
3
|
-
//
|
|
4
|
-
// Office UI Fabric
|
|
5
|
-
// --------------------------------------------------
|
|
6
|
-
// Vendor-prefixed mixins
|
|
7
|
-
|
|
8
|
-
// Border radius.
|
|
9
|
-
@mixin ms-border-radius($radius: 5px) {
|
|
10
|
-
border-radius: $radius;
|
|
11
|
-
background-clip: padding-box;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// Drop shadow.
|
|
15
|
-
@mixin ms-drop-shadow($x-offset: 0, $y-offset: 0, $blur: 5px, $spread: 0, $alpha: 0.4) {
|
|
16
|
-
@include ms-box-shadow($x-offset, $y-offset $blur $spread rgba(0, 0, 0, $alpha));
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
// Background gradient.
|
|
20
|
-
@mixin ms-background-gradient(
|
|
21
|
-
$origin: left,
|
|
22
|
-
$start: #000,
|
|
23
|
-
$start-location: 0%,
|
|
24
|
-
$stop: #fff,
|
|
25
|
-
$stop-location: 100%
|
|
26
|
-
) {
|
|
27
|
-
// To maintain compatibility with the old arguments, reverse
|
|
28
|
-
// the $origin direction and set it as $destination.
|
|
29
|
-
$destination: null;
|
|
30
|
-
@if $origin == top {
|
|
31
|
-
$destination: bottom;
|
|
32
|
-
}
|
|
33
|
-
@if $origin == right {
|
|
34
|
-
$destination: left;
|
|
35
|
-
}
|
|
36
|
-
@if $origin == bottom {
|
|
37
|
-
$destination: top;
|
|
38
|
-
}
|
|
39
|
-
@if $origin == left {
|
|
40
|
-
$destination: right;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
background-color: $start;
|
|
44
|
-
background-image: linear-gradient(to $destination, $start $start-location, $stop $stop-location);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// Rotation.
|
|
48
|
-
@mixin ms-rotate($degrees) {
|
|
49
|
-
@include ms-transform-rotate($degrees);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
// Prevents user selection of text elements.
|
|
53
|
-
@mixin ms-user-select($val) {
|
|
54
|
-
-webkit-touch-callout: $val;
|
|
55
|
-
-webkit-user-select: $val;
|
|
56
|
-
-khtml-user-select: $val;
|
|
57
|
-
-moz-user-select: $val;
|
|
58
|
-
-ms-user-select: $val;
|
|
59
|
-
user-select: $val;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
// Prevents the text within a block element from wrapping to second line.
|
|
63
|
-
@mixin ms-no-wrap() {
|
|
64
|
-
display: block;
|
|
65
|
-
overflow: hidden;
|
|
66
|
-
text-overflow: ellipsis;
|
|
67
|
-
white-space: nowrap;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
// Flexbox
|
|
71
|
-
@mixin ms-flex-box() {
|
|
72
|
-
display: -ms-flexbox;
|
|
73
|
-
display: -webkit-flex;
|
|
74
|
-
display: flex;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@mixin ms-alignItems($mode) {
|
|
78
|
-
-webkit-box-align: $mode;
|
|
79
|
-
-moz-box-align: $mode;
|
|
80
|
-
-ms-flex-align: $mode;
|
|
81
|
-
-webkit-align-items: $mode;
|
|
82
|
-
align-items: $mode;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
// Base/wrapper component to set typography throughout the app.
|
|
86
|
-
@mixin ms-Fabric {
|
|
87
|
-
-moz-osx-font-smoothing: grayscale;
|
|
88
|
-
-webkit-font-smoothing: antialiased;
|
|
89
|
-
@include ms-inherit-font-family();
|
|
90
|
-
color: $ms-color-neutralPrimary;
|
|
91
|
-
font-family: $ms-font-family-west-european;
|
|
92
|
-
font-size: $ms-font-size-m;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Set the font-family to 'inherit' for elements where the browser
|
|
96
|
-
// styles commonly conflict with the font-family that we want.
|
|
97
|
-
@mixin ms-inherit-font-family() {
|
|
98
|
-
button,
|
|
99
|
-
input,
|
|
100
|
-
textarea {
|
|
101
|
-
font-family: inherit;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Overrides the browser's default focus outline style.
|
|
106
|
-
@mixin ms-focus-outline($inset: 0, $color: $ms-focus-border-color) {
|
|
107
|
-
// Only do this when it's a child of ms-Fabric in a focusVisible state.
|
|
108
|
-
.ms-Fabric.is-focusVisible &:focus {
|
|
109
|
-
outline: $ms-focus-border-width $ms-focus-border-style $color;
|
|
110
|
-
outline-offset: -$inset;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
// Simulates a focus outline using an absolutely-positioned pseudo-element.
|
|
115
|
-
@mixin ms-focus-border($inset: 0, $color: $ms-focus-border-color) {
|
|
116
|
-
// Clear browser-specific focus styles and use 'transparent' as placeholder for focus style.
|
|
117
|
-
outline: transparent;
|
|
118
|
-
|
|
119
|
-
// Requirement because pseudo-element is absolutely positioned.
|
|
120
|
-
position: relative;
|
|
121
|
-
|
|
122
|
-
// Clear the focus border in Firefox.
|
|
123
|
-
// Reference: http://stackoverflow.com/a/199319/1436671
|
|
124
|
-
&::-moz-focus-inner {
|
|
125
|
-
border: 0;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
// When the element that uses this mixin is in a :focus state, add a pseudo-element to
|
|
129
|
-
// create a border. Only do this when it's a child of ms-Fabric in a focusVisible state.
|
|
130
|
-
.ms-Fabric.is-focusVisible &:focus::after {
|
|
131
|
-
// Wrap the parent element with $padding.
|
|
132
|
-
content: '';
|
|
133
|
-
position: absolute;
|
|
134
|
-
top: $inset;
|
|
135
|
-
right: $inset;
|
|
136
|
-
bottom: $inset;
|
|
137
|
-
left: $inset;
|
|
138
|
-
|
|
139
|
-
// Add focus border of specified $color.
|
|
140
|
-
border: $ms-focus-border-width $ms-focus-border-style $color;
|
|
141
|
-
|
|
142
|
-
// Make the content not respond to mouse/touch events.
|
|
143
|
-
// Reference: https://css-tricks.com/almanac/properties/p/pointer-events/
|
|
144
|
-
pointer-events: none;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
// The best box is a border box.
|
|
149
|
-
@mixin ms-borderBox {
|
|
150
|
-
box-sizing: border-box;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
// For setting the border base width
|
|
154
|
-
@mixin ms-borderBase {
|
|
155
|
-
border: 1px solid;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
// Ensures the block expands to the full height to enclose its floated childen.
|
|
159
|
-
@mixin ms-clearfix {
|
|
160
|
-
*zoom: 1;
|
|
161
|
-
&::before,
|
|
162
|
-
&::after {
|
|
163
|
-
display: table;
|
|
164
|
-
content: '';
|
|
165
|
-
line-height: 0;
|
|
166
|
-
}
|
|
167
|
-
&::after {
|
|
168
|
-
clear: both;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
// Basic border-box, margin, and padding reset.
|
|
173
|
-
@mixin ms-normalize {
|
|
174
|
-
@include ms-borderBox;
|
|
175
|
-
box-shadow: none;
|
|
176
|
-
margin: 0;
|
|
177
|
-
padding: 0;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
// Generate text alignment classes, such as .ms-textAlignLeft
|
|
181
|
-
// @param [variable list] $alignments
|
|
182
|
-
@mixin ms-textAlign($alignments...) {
|
|
183
|
-
@warn 'The ms-textAlign mixin has been deprecated and will be removed in a future release of Fabric Core.';
|
|
184
|
-
@each $align in $alignments {
|
|
185
|
-
$alignStr: inspect($align);
|
|
186
|
-
.ms-textAlign#{to-upper-case(str-slice($alignStr, 1, 1)) + str-slice($alignStr, 2)} {
|
|
187
|
-
@include ms-text-align($align);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
// To hide content while still making it readable by screen readers (Accessibility)
|
|
193
|
-
@mixin ms-screenReaderOnly {
|
|
194
|
-
position: absolute;
|
|
195
|
-
width: 1px;
|
|
196
|
-
height: 1px;
|
|
197
|
-
padding: 0;
|
|
198
|
-
margin: -1px;
|
|
199
|
-
overflow: hidden;
|
|
200
|
-
clip: rect(0, 0, 0, 0);
|
|
201
|
-
border: 0;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
// To add truncation with ellipsis
|
|
205
|
-
@mixin ms-textTruncate {
|
|
206
|
-
overflow: hidden;
|
|
207
|
-
text-overflow: ellipsis;
|
|
208
|
-
white-space: nowrap;
|
|
209
|
-
word-wrap: normal; // Fix for IE 8/9 in case 'word-wrap: break-word' is set on parent nodes
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
// To disable text wrapping
|
|
213
|
-
@mixin ms-noWrap {
|
|
214
|
-
white-space: nowrap;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
// Replace or remove a portion of a string.
|
|
218
|
-
// Thanks to https://www.sassmeister.com/gist/1b4f2da5527830088e4d
|
|
219
|
-
@function ms-string-replace($string, $search, $replace: '') {
|
|
220
|
-
$index: str-index($string, $search);
|
|
221
|
-
|
|
222
|
-
@if $index {
|
|
223
|
-
@return str-slice($string, 1, $index - 1) + $replace +
|
|
224
|
-
ms-string-replace(str-slice($string, $index + str-length($search)), $search, $replace);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
@return $string;
|
|
228
|
-
}
|
package/lib-commonjs/chunks/legacy-third-party-fabric-core/fabric-core-sass/mixins/_Grid.Mixins.scss
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
|
|
2
|
-
|
|
3
|
-
//
|
|
4
|
-
// Office UI Fabric
|
|
5
|
-
// --------------------------------------------------
|
|
6
|
-
// Fluid 12-column grids for small, medium, and large devices
|
|
7
|
-
|
|
8
|
-
//== Grid container (same for all sizes)
|
|
9
|
-
//
|
|
10
|
-
@mixin ms-Grid {
|
|
11
|
-
@include ms-borderBox;
|
|
12
|
-
@include ms-clearfix;
|
|
13
|
-
padding: 0 8px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
//== Grid rows (pull first and last column out)
|
|
17
|
-
//
|
|
18
|
-
@mixin ms-Grid-row {
|
|
19
|
-
margin: 0 -8px;
|
|
20
|
-
@include ms-borderBox;
|
|
21
|
-
@include ms-clearfix;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
//== Grid cells
|
|
25
|
-
//
|
|
26
|
-
@mixin ms-Grid-col {
|
|
27
|
-
@include ms-float(left);
|
|
28
|
-
position: relative;
|
|
29
|
-
min-height: 1px;
|
|
30
|
-
padding-left: 8px;
|
|
31
|
-
padding-right: 8px;
|
|
32
|
-
@include ms-borderBox;
|
|
33
|
-
|
|
34
|
-
// For nested grids (a grid inside a column), removing the padding
|
|
35
|
-
// so that the nested grid's columns go to the edge of the parent's.
|
|
36
|
-
.ms-Grid {
|
|
37
|
-
padding: 0;
|
|
38
|
-
}
|
|
39
|
-
}
|