office-ui-fabric-js-rails 1.3.0.0 → 1.4.0.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.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/lib/office-ui-fabric-js-rails/version.rb +2 -2
  3. data/package.json +2 -2
  4. data/vendor/assets/css/fabric.components.css +18 -6
  5. data/vendor/assets/css/fabric.components.min.css +2 -2
  6. data/vendor/assets/css/fabric.components.rtl.css +18 -6
  7. data/vendor/assets/css/fabric.components.rtl.min.css +2 -2
  8. data/vendor/assets/js/fabric.js +32 -41
  9. data/vendor/assets/js/fabric.min.js +4 -4
  10. data/vendor/assets/scss/components/Breadcrumb.scss +174 -174
  11. data/vendor/assets/scss/components/Button.scss +300 -286
  12. data/vendor/assets/scss/components/Callout.scss +157 -157
  13. data/vendor/assets/scss/components/CheckBox.scss +172 -172
  14. data/vendor/assets/scss/components/ChoiceFieldGroup.scss +14 -13
  15. data/vendor/assets/scss/components/CommandBar.scss +138 -138
  16. data/vendor/assets/scss/components/CommandButton.scss +293 -293
  17. data/vendor/assets/scss/components/ContextualHost.scss +142 -142
  18. data/vendor/assets/scss/components/ContextualMenu.scss +208 -208
  19. data/vendor/assets/scss/components/DatePicker.scss +527 -527
  20. data/vendor/assets/scss/components/DetailsList.scss +337 -337
  21. data/vendor/assets/scss/components/Dialog.scss +118 -118
  22. data/vendor/assets/scss/components/DialogHost.scss +12 -12
  23. data/vendor/assets/scss/components/Dropdown.scss +251 -251
  24. data/vendor/assets/scss/components/FacePile.scss +104 -104
  25. data/vendor/assets/scss/components/Label.scss +37 -37
  26. data/vendor/assets/scss/components/Link.scss +31 -31
  27. data/vendor/assets/scss/components/List.scss +16 -16
  28. data/vendor/assets/scss/components/ListItem.scss +237 -237
  29. data/vendor/assets/scss/components/MessageBanner.scss +128 -128
  30. data/vendor/assets/scss/components/MessageBar.scss +87 -87
  31. data/vendor/assets/scss/components/OrgChart.scss +46 -46
  32. data/vendor/assets/scss/components/Overlay.scss +34 -34
  33. data/vendor/assets/scss/components/Panel.scss +155 -155
  34. data/vendor/assets/scss/components/PanelHost.scss +15 -15
  35. data/vendor/assets/scss/components/PeoplePicker.scss +449 -449
  36. data/vendor/assets/scss/components/Persona.scss +731 -731
  37. data/vendor/assets/scss/components/PersonaCard.scss +208 -208
  38. data/vendor/assets/scss/components/Pivot.scss +201 -201
  39. data/vendor/assets/scss/components/ProgressIndicator.scss +64 -64
  40. data/vendor/assets/scss/components/RadioButton.scss +194 -194
  41. data/vendor/assets/scss/components/SearchBox.scss +368 -369
  42. data/vendor/assets/scss/components/Spinner.scss +48 -48
  43. data/vendor/assets/scss/components/Table.scss +123 -123
  44. data/vendor/assets/scss/components/TextField.scss +232 -232
  45. data/vendor/assets/scss/components/Toggle.scss +249 -249
  46. metadata +2 -2
@@ -1,372 +1,371 @@
1
1
  /**
2
- * Office UI Fabric JS 1.3.0
2
+ * Office UI Fabric JS 1.4.0
3
3
  * The JavaScript front-end framework for building experiences for Office 365.
4
4
  **/
5
- // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
6
-
7
- //
8
- // Office UI Fabric
9
- // --------------------------------------------------
10
- // Search box styles
11
-
12
- $SearchBox-width: 208px;
13
- $SearchBox-field-padding-left: 45px;
14
- $SearchBox-height: 36px;
15
- $SearchBox-commandbarHeight: 40px;
16
- $SearchBox-commandbar-md-height: 44px;
17
- $disabled-color: #F4F4F4;
18
- $SearchBox-command-color: #F4F4F4;
19
-
20
- .ms-SearchBox {
21
- @include ms-baseFont;
22
- @include ms-u-normalize;
23
- height: $SearchBox-height;
24
- color: $ms-color-neutralPrimary;
25
- font-size: $ms-font-size-m;
26
- font-weight: $ms-font-weight-regular;
27
- position: relative;
28
- margin-bottom: 10px;
29
- display: inline-block;
30
- overflow: hidden;
31
- background-color: $ms-color-white;
32
-
33
- // State: Active searchbox
34
- &.is-active {
35
- z-index: $ms-zIndex-front;
36
-
37
- .ms-SearchBox-label {
38
- display: none;
39
- }
40
-
41
- .ms-SearchBox-clear {
42
- display: block;
43
- }
44
- }
45
-
46
- &:hover {
47
- background-color: $ms-color-themeLighter;
48
-
49
- .ms-SearchBox-label {
50
- color: $ms-color-black;
51
-
52
- .ms-Icon {
53
- color: $ms-color-neutralPrimary;
54
- }
55
- }
56
- }
57
-
58
- // State: Disabled searchbox
59
- &.is-disabled {
60
- background-color: $disabled-color;
61
- pointer-events: none;
62
-
63
- .ms-SearchBox-label {
64
- @include ms-Label-is-disabled;
65
- }
66
-
67
- .ms-SearchBox-icon {
68
- color: $ms-color-neutralTertiary;
69
- }
70
-
71
- .ms-SearchBox-field {
72
- color: $ms-color-neutralTertiary;
73
- background-color: transparent;
74
- border-color: $ms-color-neutralLighter;
75
- cursor: default;
76
- }
77
- }
78
- }
79
-
80
- .ms-SearchBox-clear {
81
- display: none;
82
- position: absolute;
83
- top: 0;
84
- right: 0;
85
- z-index: $ms-zIndex-front;
86
-
87
- .ms-CommandButton-button {
88
- background-color: $ms-color-themePrimary;
89
- color: $ms-color-white;
90
- height: $SearchBox-height;
91
- }
92
-
93
- .ms-CommandButton-icon {
94
- color: $ms-color-white;
95
- }
96
- }
97
-
98
- .ms-SearchBox-icon {
99
- position: relative;
100
- top: 50%;
101
- transform: translateY(-50%);
102
- display: inline-block;
103
- font-size: 16px;
104
- width: 16px;
105
- margin-left: 12px;
106
- margin-right: 6px;
107
- color: $ms-color-themePrimary;
108
- vertical-align: top;
109
- }
110
-
111
- .ms-SearchBox-field {
112
- position: relative;
113
- @include ms-u-normalize;
114
- border: 1px solid $ms-color-themeTertiary;
115
- outline: transparent 1px solid;
116
- font-weight: $ms-font-weight-semilight;
117
- font-size: $ms-font-size-m;
118
- color: $ms-color-black;
119
- height: $SearchBox-height;
120
- padding: 6px 3px 7px $SearchBox-field-padding-left;
121
- width: $SearchBox-width;
122
- background-color: transparent;
123
- z-index: $ms-zIndex-middle;
124
- transition: padding-left $ms-duration1;
125
-
126
- &:focus {
127
- padding: 6px 32px 7px 10px;
128
- border-color: $ms-color-themePrimary;
129
- background-color: $ms-color-themeLighter;
130
- }
131
-
132
- &::-ms-clear {
133
- display: none;
134
- }
135
- }
136
-
137
- .ms-SearchBox-label {
138
- position: absolute;
139
- top: 0;
140
- left: 0;
141
- height: $SearchBox-height;
142
- line-height: $SearchBox-height;
143
- color: $ms-color-neutralSecondary;
144
- }
145
-
146
- //== Modifier: CommandBar Search
147
- //
148
- .ms-SearchBox.ms-SearchBox--commandBar {
149
- @include ms-bgColor-white;
150
- width: $SearchBox-width;
151
- height: $SearchBox-commandbarHeight;
152
-
153
- .ms-SearchBox-field,
154
- .ms-SearchBox-label {
155
- height: $SearchBox-commandbarHeight;
156
- line-height: $SearchBox-commandbarHeight;
157
- }
158
-
159
- .ms-SearchBox-field {
160
- transition: none;
161
- border: 0;
162
-
163
- &:focus {
164
- background-color: transparent;
165
- padding: 6px 3px 7px $SearchBox-field-padding-left;
166
- }
167
- }
168
-
169
- .ms-SearchBox-clear,
170
- .ms-SearchBox-filter,
171
- .ms-SearchBox-exit {
172
- display: none;
173
- position: absolute;
174
- top: 0;
175
- z-index: $ms-zIndex-front;
176
- color: $ms-color-neutralTertiary;
177
-
178
- .ms-CommandButton-button {
179
- height: $SearchBox-commandbarHeight;
180
- background-color: transparent;
181
- }
182
- }
183
-
184
- .ms-SearchBox-clear {
185
- right: 8px;
186
- }
187
-
188
- .ms-SearchBox-filter {
189
- right: 8px;
190
-
191
- .ms-CommandButton-icon {
192
- color: $ms-color-themePrimary;
193
- }
194
- }
195
-
196
- &::before {
197
- position: absolute;
198
- content: ' ';
199
- right: 0;
200
- bottom: 0;
201
- left: 0;
202
- margin: 0 8px;
203
- border-bottom: 1px solid $ms-color-neutralLight;
204
- }
205
-
206
- &:hover {
207
- background-color: $ms-color-white;
208
-
209
- .ms-SearchBox-label {
210
- color: $ms-color-neutralDark;
211
- }
212
-
213
- .ms-SearchBox-icon {
214
- color: $ms-color-themePrimary;
215
- }
216
- }
217
-
218
- &:focus {
219
- background-color: transparent;
220
- }
221
-
222
- &.is-active {
223
- .ms-CommandButton {
224
- .ms-SearchBox-exit,
225
- .ms-SearchBox-filter {
226
- display: block;
227
- }
228
- }
229
- }
230
-
231
- &.is-collapsed {
232
- width: 50px;
233
- min-height: 40px;
234
- z-index: $ms-zIndex-back;
235
- background-color: $SearchBox-command-color;
236
-
237
- .ms-SearchBox-text {
238
- display: none;
239
- }
240
-
241
- .ms-SearchBox-field {
242
- cursor: pointer;
243
- width: calc(100% - 50px);
244
- }
245
-
246
- &::before {
247
- visibility: hidden;
248
- }
249
- }
250
-
251
- &.is-collapsed.is-active {
252
- width: 100%;
253
-
254
- .ms-SearchBox-field {
255
- display: block;
256
- cursor: text;
257
- }
258
-
259
- .ms-SearchBox-text {
260
- display: inline-block;
261
- }
262
-
263
- @media only screen and (max-width: $ms-screen-md-max) {
264
- width: 100%;
265
-
266
- .ms-SearchBox-clear {
267
- display: inline-block;
268
- right: 58px;
269
- }
270
-
271
- .ms-SearchBox-filter {
272
- display: inline-block;
273
- }
274
-
275
- &.is-animated {
276
- transition: width $ms-duration1 $ms-ease1;
277
- }
278
- }
279
-
280
- &::before {
281
- visibility: visible;
282
- }
283
- }
284
-
285
- &.has-text {
286
- .ms-SearchBox-clear {
287
- display: inline-block;
288
-
289
- .ms-CommandButton-icon {
290
- color: $ms-color-neutralTertiary;
291
-
292
- &:active {
293
- color: $ms-color-themePrimary;
294
- }
295
- }
296
- }
297
- }
298
-
299
- @media only screen and (min-width: $ms-screen-xl-min) {
300
- @include ms-bgColor-white;
301
- border-right: 1px solid $ms-color-neutralLight;
302
- }
303
-
304
- @media only screen and (max-width: $ms-screen-md-max) {
305
- height: $SearchBox-commandbar-md-height;
306
-
307
- .ms-SearchBox-icon,
308
- .ms-SearchBox-exit,
309
- .ms-SearchBox-field,
310
- .ms-SearchBox-label {
311
- height: $SearchBox-commandbar-md-height;
312
- line-height: $SearchBox-commandbar-md-height;
313
- }
314
-
315
- .ms-SearchBox-icon,
316
- .ms-SearchBox-exit,
317
- .ms-SearchBox-filter,
318
- .ms-SearchBox-clear {
319
- font-size: 20px;
320
-
321
- .ms-CommandButton-button {
322
- height: $SearchBox-commandbar-md-height;
323
- }
324
- }
325
-
326
- .ms-SearchBox-field,
327
- .ms-SearchBox-label {
328
- font-size: 16px;
329
- }
330
- }
331
- }
332
-
333
- .ms-SearchBox.ms-SearchBox--commandBar.is-active {
334
- @include ms-bgColor-white;
335
-
336
- .ms-SearchBox-label {
337
- display: block;
338
- line-height: $SearchBox-commandbarHeight;
339
- height: $SearchBox-commandbarHeight;
340
-
341
- .ms-SearchBox-text {
342
- display: none;
343
- }
344
- }
345
-
346
- &::before {
347
- visibility: visible;
348
- }
349
-
350
- @media only screen and (max-width: $ms-screen-md-max) {
351
- .ms-SearchBox-field {
352
- width: 100%;
353
- padding-right: 100px;
354
- }
355
-
356
- .ms-SearchBox-icon {
357
- display: none;
358
- }
359
-
360
- .ms-SearchBox-exit {
361
- display: inline-block;
362
- }
363
-
364
- &.has-text {
365
- .ms-SearchBox-filter {
366
- .ms-CommandButton-icon {
367
- color: $ms-color-neutralTertiary;
368
- }
369
- }
370
- }
371
- }
372
- }
5
+ // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
6
+
7
+ //
8
+ // Office UI Fabric
9
+ // --------------------------------------------------
10
+ // Search box styles
11
+
12
+ $SearchBox-width: 208px;
13
+ $SearchBox-field-padding-left: 45px;
14
+ $SearchBox-height: 36px;
15
+ $SearchBox-commandbarHeight: 40px;
16
+ $SearchBox-commandbar-md-height: 44px;
17
+ $disabled-color: #F4F4F4;
18
+ $SearchBox-command-color: #F4F4F4;
19
+
20
+ .ms-SearchBox {
21
+ @include ms-baseFont;
22
+ @include ms-u-normalize;
23
+ height: $SearchBox-height;
24
+ color: $ms-color-neutralPrimary;
25
+ font-size: $ms-font-size-m;
26
+ font-weight: $ms-font-weight-regular;
27
+ position: relative;
28
+ margin-bottom: 10px;
29
+ display: inline-block;
30
+ overflow: hidden;
31
+ background-color: $ms-color-white;
32
+
33
+ // State: Active searchbox
34
+ &.is-active {
35
+ z-index: $ms-zIndex-front;
36
+
37
+ .ms-SearchBox-label {
38
+ display: none;
39
+ }
40
+
41
+ .ms-SearchBox-clear {
42
+ display: block;
43
+ }
44
+ }
45
+
46
+ &:hover {
47
+ background-color: $ms-color-themeLighter;
48
+
49
+ .ms-SearchBox-label {
50
+ color: $ms-color-black;
51
+
52
+ .ms-Icon {
53
+ color: $ms-color-neutralPrimary;
54
+ }
55
+ }
56
+ }
57
+
58
+ // State: Disabled searchbox
59
+ &.is-disabled {
60
+ background-color: $disabled-color;
61
+ pointer-events: none;
62
+
63
+ .ms-SearchBox-label {
64
+ @include ms-Label-is-disabled;
65
+ }
66
+
67
+ .ms-SearchBox-icon {
68
+ color: $ms-color-neutralTertiary;
69
+ }
70
+
71
+ .ms-SearchBox-field {
72
+ color: $ms-color-neutralTertiary;
73
+ background-color: transparent;
74
+ border-color: $ms-color-neutralLighter;
75
+ cursor: default;
76
+ }
77
+ }
78
+ }
79
+
80
+ .ms-SearchBox-clear {
81
+ display: none;
82
+ position: absolute;
83
+ top: 0;
84
+ right: 0;
85
+ z-index: $ms-zIndex-front;
86
+
87
+ .ms-CommandButton-button {
88
+ background-color: $ms-color-themePrimary;
89
+ color: $ms-color-white;
90
+ height: $SearchBox-height;
91
+ }
92
+
93
+ .ms-CommandButton-icon {
94
+ color: $ms-color-white;
95
+ }
96
+ }
97
+
98
+ .ms-SearchBox-icon {
99
+ position: relative;
100
+ top: 50%;
101
+ transform: translateY(-50%);
102
+ display: inline-block;
103
+ font-size: 16px;
104
+ width: 16px;
105
+ margin-left: 12px;
106
+ margin-right: 6px;
107
+ color: $ms-color-themePrimary;
108
+ vertical-align: top;
109
+ }
110
+
111
+ .ms-SearchBox-field {
112
+ position: relative;
113
+ @include ms-u-normalize;
114
+ border: 1px solid $ms-color-themeTertiary;
115
+ outline: transparent 1px solid;
116
+ font-weight: $ms-font-weight-semilight;
117
+ font-size: $ms-font-size-m;
118
+ color: $ms-color-black;
119
+ height: $SearchBox-height;
120
+ padding: 6px 3px 7px $SearchBox-field-padding-left;
121
+ width: $SearchBox-width;
122
+ background-color: transparent;
123
+ z-index: $ms-zIndex-middle;
124
+ transition: padding-left $ms-duration1;
125
+
126
+ &:focus {
127
+ padding: 6px 32px 7px 10px;
128
+ border-color: $ms-color-themePrimary;
129
+ background-color: $ms-color-themeLighter;
130
+ }
131
+
132
+ &::-ms-clear {
133
+ display: none;
134
+ }
135
+ }
136
+
137
+ .ms-SearchBox-label {
138
+ position: absolute;
139
+ top: 0;
140
+ left: 0;
141
+ height: $SearchBox-height;
142
+ line-height: $SearchBox-height;
143
+ color: $ms-color-neutralSecondary;
144
+ }
145
+
146
+ //== Modifier: CommandBar Search
147
+ //
148
+ .ms-SearchBox.ms-SearchBox--commandBar {
149
+ @include ms-bgColor-white;
150
+ width: $SearchBox-width;
151
+ height: $SearchBox-commandbarHeight;
152
+
153
+ .ms-SearchBox-field,
154
+ .ms-SearchBox-label {
155
+ height: $SearchBox-commandbarHeight;
156
+ }
157
+
158
+ .ms-SearchBox-field {
159
+ transition: none;
160
+ border: 0;
161
+
162
+ &:focus {
163
+ background-color: transparent;
164
+ padding: 6px 3px 7px $SearchBox-field-padding-left;
165
+ }
166
+ }
167
+
168
+ .ms-SearchBox-clear,
169
+ .ms-SearchBox-filter,
170
+ .ms-SearchBox-exit {
171
+ display: none;
172
+ position: absolute;
173
+ top: 0;
174
+ z-index: $ms-zIndex-front;
175
+ color: $ms-color-neutralTertiary;
176
+
177
+ .ms-CommandButton-button {
178
+ height: $SearchBox-commandbarHeight;
179
+ background-color: transparent;
180
+ }
181
+ }
182
+
183
+ .ms-SearchBox-clear {
184
+ right: 8px;
185
+ }
186
+
187
+ .ms-SearchBox-filter {
188
+ right: 8px;
189
+
190
+ .ms-CommandButton-icon {
191
+ color: $ms-color-themePrimary;
192
+ }
193
+ }
194
+
195
+ &::before {
196
+ position: absolute;
197
+ content: ' ';
198
+ right: 0;
199
+ bottom: 0;
200
+ left: 0;
201
+ margin: 0 8px;
202
+ border-bottom: 1px solid $ms-color-neutralLight;
203
+ }
204
+
205
+ &:hover {
206
+ background-color: $ms-color-white;
207
+
208
+ .ms-SearchBox-label {
209
+ color: $ms-color-neutralDark;
210
+ }
211
+
212
+ .ms-SearchBox-icon {
213
+ color: $ms-color-themePrimary;
214
+ }
215
+ }
216
+
217
+ &:focus {
218
+ background-color: transparent;
219
+ }
220
+
221
+ &.is-active {
222
+ .ms-CommandButton {
223
+ .ms-SearchBox-exit,
224
+ .ms-SearchBox-filter {
225
+ display: block;
226
+ }
227
+ }
228
+ }
229
+
230
+ &.is-collapsed {
231
+ width: 50px;
232
+ min-height: 40px;
233
+ z-index: $ms-zIndex-back;
234
+ background-color: $SearchBox-command-color;
235
+
236
+ .ms-SearchBox-text {
237
+ display: none;
238
+ }
239
+
240
+ .ms-SearchBox-field {
241
+ cursor: pointer;
242
+ width: calc(100% - 50px);
243
+ }
244
+
245
+ &::before {
246
+ visibility: hidden;
247
+ }
248
+ }
249
+
250
+ &.is-collapsed.is-active {
251
+ width: 100%;
252
+
253
+ .ms-SearchBox-field {
254
+ display: block;
255
+ cursor: text;
256
+ }
257
+
258
+ .ms-SearchBox-text {
259
+ display: inline-block;
260
+ }
261
+
262
+ @media only screen and (max-width: $ms-screen-md-max) {
263
+ width: 100%;
264
+
265
+ .ms-SearchBox-clear {
266
+ display: inline-block;
267
+ right: 58px;
268
+ }
269
+
270
+ .ms-SearchBox-filter {
271
+ display: inline-block;
272
+ }
273
+
274
+ &.is-animated {
275
+ transition: width $ms-duration1 $ms-ease1;
276
+ }
277
+ }
278
+
279
+ &::before {
280
+ visibility: visible;
281
+ }
282
+ }
283
+
284
+ &.has-text {
285
+ .ms-SearchBox-clear {
286
+ display: inline-block;
287
+
288
+ .ms-CommandButton-icon {
289
+ color: $ms-color-neutralTertiary;
290
+
291
+ &:active {
292
+ color: $ms-color-themePrimary;
293
+ }
294
+ }
295
+ }
296
+ }
297
+
298
+ @media only screen and (min-width: $ms-screen-xl-min) {
299
+ @include ms-bgColor-white;
300
+ border-right: 1px solid $ms-color-neutralLight;
301
+ }
302
+
303
+ @media only screen and (max-width: $ms-screen-md-max) {
304
+ height: $SearchBox-commandbar-md-height;
305
+
306
+ .ms-SearchBox-icon,
307
+ .ms-SearchBox-exit,
308
+ .ms-SearchBox-field,
309
+ .ms-SearchBox-label {
310
+ height: $SearchBox-commandbar-md-height;
311
+ line-height: $SearchBox-commandbar-md-height;
312
+ }
313
+
314
+ .ms-SearchBox-icon,
315
+ .ms-SearchBox-exit,
316
+ .ms-SearchBox-filter,
317
+ .ms-SearchBox-clear {
318
+ font-size: 20px;
319
+
320
+ .ms-CommandButton-button {
321
+ height: $SearchBox-commandbar-md-height;
322
+ }
323
+ }
324
+
325
+ .ms-SearchBox-field,
326
+ .ms-SearchBox-label {
327
+ font-size: 16px;
328
+ }
329
+ }
330
+ }
331
+
332
+ .ms-SearchBox.ms-SearchBox--commandBar.is-active {
333
+ @include ms-bgColor-white;
334
+
335
+ .ms-SearchBox-label {
336
+ display: block;
337
+ line-height: $SearchBox-commandbarHeight;
338
+ height: $SearchBox-commandbarHeight;
339
+
340
+ .ms-SearchBox-text {
341
+ display: none;
342
+ }
343
+ }
344
+
345
+ &::before {
346
+ visibility: visible;
347
+ }
348
+
349
+ @media only screen and (max-width: $ms-screen-md-max) {
350
+ .ms-SearchBox-field {
351
+ width: 100%;
352
+ padding-right: 100px;
353
+ }
354
+
355
+ .ms-SearchBox-icon {
356
+ display: none;
357
+ }
358
+
359
+ .ms-SearchBox-exit {
360
+ display: inline-block;
361
+ }
362
+
363
+ &.has-text {
364
+ .ms-SearchBox-filter {
365
+ .ms-CommandButton-icon {
366
+ color: $ms-color-neutralTertiary;
367
+ }
368
+ }
369
+ }
370
+ }
371
+ }