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,67 +1,67 @@
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
- // ProgressIndicator Styles
11
-
12
-
13
- $ProgressIndicatorMarginBetweenText: 8px;
14
- $ProgressIndicatorButtonsWidth: 218px;
15
- $ProgressIndicatorTextHeight: 18px;
16
-
17
- .ms-ProgressIndicator {
18
- @include ms-baseFont;
19
- font-weight: $ms-font-weight-regular;
20
- }
21
-
22
- .ms-ProgressIndicator-itemName {
23
- color: $ms-color-neutralPrimary;
24
- font-size: $ms-font-size-m;
25
- text-overflow: ellipsis;
26
- overflow: hidden;
27
- white-space: nowrap;
28
- padding-top: $ProgressIndicatorMarginBetweenText / 2;
29
- line-height: $ProgressIndicatorTextHeight + 2;
30
- }
31
-
32
- .ms-ProgressIndicator-itemDescription {
33
- color: $ms-color-neutralSecondaryAlt;
34
- font-size: $ms-font-size-xs;
35
- line-height: $ProgressIndicatorTextHeight;
36
- }
37
-
38
- .ms-ProgressIndicator-itemProgress {
39
- position: relative;
40
- width: 180px;
41
- height: 2px;
42
- padding: $ProgressIndicatorMarginBetweenText 0;
43
- }
44
-
45
- .ms-ProgressIndicator-progressTrack {
46
- position: absolute;
47
- width: 100%;
48
- height: 2px;
49
- background-color: $ms-color-neutralLight;
50
- outline: 1px solid transparent;
51
- }
52
-
53
- .ms-ProgressIndicator-progressBar {
54
- background-color: $ms-color-themePrimary;
55
- height: 2px;
56
- position: absolute;
57
- transition: width .3s ease;
58
- width: 0;
59
-
60
- @media screen and (-ms-high-contrast: active) {
61
- background-color: $ms-color-white;
62
- }
63
-
64
- @media screen and (-ms-high-contrast: black-on-white) {
65
- background-color: $ms-color-black;
66
- }
67
- }
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
+ // ProgressIndicator Styles
11
+
12
+
13
+ $ProgressIndicatorMarginBetweenText: 8px;
14
+ $ProgressIndicatorButtonsWidth: 218px;
15
+ $ProgressIndicatorTextHeight: 18px;
16
+
17
+ .ms-ProgressIndicator {
18
+ @include ms-baseFont;
19
+ font-weight: $ms-font-weight-regular;
20
+ }
21
+
22
+ .ms-ProgressIndicator-itemName {
23
+ color: $ms-color-neutralPrimary;
24
+ font-size: $ms-font-size-m;
25
+ text-overflow: ellipsis;
26
+ overflow: hidden;
27
+ white-space: nowrap;
28
+ padding-top: $ProgressIndicatorMarginBetweenText / 2;
29
+ line-height: $ProgressIndicatorTextHeight + 2;
30
+ }
31
+
32
+ .ms-ProgressIndicator-itemDescription {
33
+ color: $ms-color-neutralSecondaryAlt;
34
+ font-size: $ms-font-size-xs;
35
+ line-height: $ProgressIndicatorTextHeight;
36
+ }
37
+
38
+ .ms-ProgressIndicator-itemProgress {
39
+ position: relative;
40
+ width: 180px;
41
+ height: 2px;
42
+ padding: $ProgressIndicatorMarginBetweenText 0;
43
+ }
44
+
45
+ .ms-ProgressIndicator-progressTrack {
46
+ position: absolute;
47
+ width: 100%;
48
+ height: 2px;
49
+ background-color: $ms-color-neutralLight;
50
+ outline: 1px solid transparent;
51
+ }
52
+
53
+ .ms-ProgressIndicator-progressBar {
54
+ background-color: $ms-color-themePrimary;
55
+ height: 2px;
56
+ position: absolute;
57
+ transition: width .3s ease;
58
+ width: 0;
59
+
60
+ @media screen and (-ms-high-contrast: active) {
61
+ background-color: $ms-color-white;
62
+ }
63
+
64
+ @media screen and (-ms-high-contrast: black-on-white) {
65
+ background-color: $ms-color-black;
66
+ }
67
+ }
@@ -1,197 +1,197 @@
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
- // RadioButton styles
11
-
12
- $ms-radiobutton-field-size: 20px;
13
- $ms-radiobutton-transition-duration: 200ms;
14
- $ms-radiobutton-transition-duration-inner: 150ms;
15
- $ms-radiobutton-transition-timing: cubic-bezier(.4, 0, .23, 1);
16
-
17
- .ms-RadioButton {
18
- @include ms-baseFont;
19
- box-sizing: border-box;
20
- color: $ms-color-neutralPrimary;
21
- font-size: $ms-font-size-m;
22
- font-weight: $ms-font-weight-regular;
23
- min-height: 36px;
24
- position: relative;
25
-
26
- .ms-Label {
27
- font-size: $ms-font-size-m;
28
- padding: 0 0 0 26px;
29
- cursor: pointer;
30
- display: inline-block;
31
- }
32
- }
33
-
34
- // The hidden input
35
- .ms-RadioButton-input {
36
- position: absolute;
37
- opacity: 0;
38
- }
39
-
40
- // The radio button circle container
41
- .ms-RadioButton-field::before {
42
- content: '';
43
- display: inline-block;
44
- border: 2px solid $ms-color-neutralTertiary;
45
- width: $ms-radiobutton-field-size;
46
- height: $ms-radiobutton-field-size;
47
- cursor: pointer;
48
- font-weight: normal;
49
- position: absolute;
50
- box-sizing: border-box;
51
- transition-property: border-color;
52
- transition-duration: $ms-radiobutton-transition-duration;
53
- transition-timing-function: $ms-radiobutton-transition-timing;
54
- border-radius: 50%;
55
- }
56
-
57
- // The inner circle indicating a checked radio button
58
- .ms-RadioButton-field::after {
59
- content: '';
60
- width: 0;
61
- height: 0;
62
- border-radius: 50%;
63
- position: absolute;
64
- top: 8px;
65
- left: 8px;
66
- bottom: 0;
67
- right: 0;
68
- transition-property: top, left, width, height;
69
- transition-duration: $ms-radiobutton-transition-duration-inner;
70
- transition-timing-function: $ms-radiobutton-transition-timing;
71
- box-sizing: border-box;
72
-
73
- @media screen and (-ms-high-contrast: active) {
74
- color: $ms-color-contrastBlackDisabled;
75
- }
76
-
77
- @media screen and (-ms-high-contrast: black-on-white) {
78
- color: $ms-color-contrastWhiteDisabled;
79
- }
80
- }
81
-
82
- // The radio button field
83
- .ms-RadioButton-field {
84
- display: inline-block;
85
- cursor: pointer;
86
- margin-top: 8px;
87
- position: relative;
88
- outline: 0;
89
- vertical-align: top;
90
-
91
- &:hover,
92
- &:focus {
93
- &::before {
94
- border-color: $ms-color-neutralSecondaryAlt;
95
- }
96
-
97
- .ms-Label {
98
- color: $ms-color-black;
99
- }
100
- }
101
-
102
- //== State: A disabled radio button
103
- //
104
- &.is-disabled {
105
- cursor: default;
106
-
107
- &::before {
108
- background-color: $ms-color-neutralTertiaryAlt;
109
- border-color: $ms-color-neutralTertiaryAlt;
110
- color: $ms-color-neutralTertiaryAlt;
111
-
112
- @media screen and (-ms-high-contrast: active) {
113
- border-color: $ms-color-contrastBlackDisabled;
114
- }
115
-
116
- @media screen and (-ms-high-contrast: black-on-white) {
117
- border-color: $ms-color-contrastWhiteDisabled;
118
- }
119
- }
120
-
121
- .ms-Label {
122
- color: $ms-color-neutralTertiary;
123
-
124
- @media screen and (-ms-high-contrast: active) {
125
- color: $ms-color-contrastBlackDisabled;
126
- }
127
-
128
- @media screen and (-ms-high-contrast: black-on-white) {
129
- color: $ms-color-contrastWhiteDisabled;
130
- }
131
- }
132
-
133
- &:hover,
134
- &:focus {
135
- &::before {
136
- border-color: $ms-color-neutralTertiaryAlt;
137
- }
138
- }
139
- }
140
-
141
- //== State: A radio button in focus
142
- //
143
- &.in-focus {
144
- &::before {
145
- border-color: $ms-color-neutralSecondaryAlt;
146
- }
147
- }
148
- }
149
-
150
-
151
- //== State: When the radio button is selected (checked)
152
- //
153
- .ms-RadioButton-field.is-checked {
154
- &::before {
155
- border: 2px solid $ms-color-themePrimary;
156
- background-color: transparent;
157
-
158
- @media screen and (-ms-high-contrast: active) {
159
- border-color: $ms-color-contrastBlackSelected;
160
- }
161
-
162
- @media screen and (-ms-high-contrast: black-on-white) {
163
- border-color: $ms-color-contrastWhiteSelected;
164
- }
165
- }
166
-
167
- &::after {
168
- background-color: $ms-color-themePrimary;
169
- top: 5px;
170
- left: 5px;
171
- width: 10px;
172
- height: 10px;
173
-
174
- @media screen and (-ms-high-contrast: active) {
175
- background-color: $ms-color-contrastBlackSelected;
176
- }
177
-
178
- @media screen and (-ms-high-contrast: black-on-white) {
179
- background-color: $ms-color-contrastWhiteSelected;
180
- }
181
- }
182
-
183
- &:hover,
184
- &:focus {
185
- &::before {
186
- border-color: $ms-color-themePrimary;
187
- }
188
- }
189
-
190
- //== State: A radio button in focus
191
- //
192
- &.in-focus {
193
- &::before {
194
- border-color: $ms-color-themePrimary;
195
- }
196
- }
197
- }
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
+ // RadioButton styles
11
+
12
+ $ms-radiobutton-field-size: 20px;
13
+ $ms-radiobutton-transition-duration: 200ms;
14
+ $ms-radiobutton-transition-duration-inner: 150ms;
15
+ $ms-radiobutton-transition-timing: cubic-bezier(.4, 0, .23, 1);
16
+
17
+ .ms-RadioButton {
18
+ @include ms-baseFont;
19
+ box-sizing: border-box;
20
+ color: $ms-color-neutralPrimary;
21
+ font-size: $ms-font-size-m;
22
+ font-weight: $ms-font-weight-regular;
23
+ min-height: 36px;
24
+ position: relative;
25
+
26
+ .ms-Label {
27
+ font-size: $ms-font-size-m;
28
+ padding: 0 0 0 26px;
29
+ cursor: pointer;
30
+ display: inline-block;
31
+ }
32
+ }
33
+
34
+ // The hidden input
35
+ .ms-RadioButton-input {
36
+ position: absolute;
37
+ opacity: 0;
38
+ }
39
+
40
+ // The radio button circle container
41
+ .ms-RadioButton-field::before {
42
+ content: '';
43
+ display: inline-block;
44
+ border: 2px solid $ms-color-neutralTertiary;
45
+ width: $ms-radiobutton-field-size;
46
+ height: $ms-radiobutton-field-size;
47
+ cursor: pointer;
48
+ font-weight: normal;
49
+ position: absolute;
50
+ box-sizing: border-box;
51
+ transition-property: border-color;
52
+ transition-duration: $ms-radiobutton-transition-duration;
53
+ transition-timing-function: $ms-radiobutton-transition-timing;
54
+ border-radius: 50%;
55
+ }
56
+
57
+ // The inner circle indicating a checked radio button
58
+ .ms-RadioButton-field::after {
59
+ content: '';
60
+ width: 0;
61
+ height: 0;
62
+ border-radius: 50%;
63
+ position: absolute;
64
+ top: 8px;
65
+ left: 8px;
66
+ bottom: 0;
67
+ right: 0;
68
+ transition-property: top, left, width, height;
69
+ transition-duration: $ms-radiobutton-transition-duration-inner;
70
+ transition-timing-function: $ms-radiobutton-transition-timing;
71
+ box-sizing: border-box;
72
+
73
+ @media screen and (-ms-high-contrast: active) {
74
+ color: $ms-color-contrastBlackDisabled;
75
+ }
76
+
77
+ @media screen and (-ms-high-contrast: black-on-white) {
78
+ color: $ms-color-contrastWhiteDisabled;
79
+ }
80
+ }
81
+
82
+ // The radio button field
83
+ .ms-RadioButton-field {
84
+ display: inline-block;
85
+ cursor: pointer;
86
+ margin-top: 8px;
87
+ position: relative;
88
+ outline: 0;
89
+ vertical-align: top;
90
+
91
+ &:hover,
92
+ &:focus {
93
+ &::before {
94
+ border-color: $ms-color-neutralSecondaryAlt;
95
+ }
96
+
97
+ .ms-Label {
98
+ color: $ms-color-black;
99
+ }
100
+ }
101
+
102
+ //== State: A disabled radio button
103
+ //
104
+ &.is-disabled {
105
+ cursor: default;
106
+
107
+ &::before {
108
+ background-color: $ms-color-neutralTertiaryAlt;
109
+ border-color: $ms-color-neutralTertiaryAlt;
110
+ color: $ms-color-neutralTertiaryAlt;
111
+
112
+ @media screen and (-ms-high-contrast: active) {
113
+ border-color: $ms-color-contrastBlackDisabled;
114
+ }
115
+
116
+ @media screen and (-ms-high-contrast: black-on-white) {
117
+ border-color: $ms-color-contrastWhiteDisabled;
118
+ }
119
+ }
120
+
121
+ .ms-Label {
122
+ color: $ms-color-neutralTertiary;
123
+
124
+ @media screen and (-ms-high-contrast: active) {
125
+ color: $ms-color-contrastBlackDisabled;
126
+ }
127
+
128
+ @media screen and (-ms-high-contrast: black-on-white) {
129
+ color: $ms-color-contrastWhiteDisabled;
130
+ }
131
+ }
132
+
133
+ &:hover,
134
+ &:focus {
135
+ &::before {
136
+ border-color: $ms-color-neutralTertiaryAlt;
137
+ }
138
+ }
139
+ }
140
+
141
+ //== State: A radio button in focus
142
+ //
143
+ &.in-focus {
144
+ &::before {
145
+ border-color: $ms-color-neutralSecondaryAlt;
146
+ }
147
+ }
148
+ }
149
+
150
+
151
+ //== State: When the radio button is selected (checked)
152
+ //
153
+ .ms-RadioButton-field.is-checked {
154
+ &::before {
155
+ border: 2px solid $ms-color-themePrimary;
156
+ background-color: transparent;
157
+
158
+ @media screen and (-ms-high-contrast: active) {
159
+ border-color: $ms-color-contrastBlackSelected;
160
+ }
161
+
162
+ @media screen and (-ms-high-contrast: black-on-white) {
163
+ border-color: $ms-color-contrastWhiteSelected;
164
+ }
165
+ }
166
+
167
+ &::after {
168
+ background-color: $ms-color-themePrimary;
169
+ top: 5px;
170
+ left: 5px;
171
+ width: 10px;
172
+ height: 10px;
173
+
174
+ @media screen and (-ms-high-contrast: active) {
175
+ background-color: $ms-color-contrastBlackSelected;
176
+ }
177
+
178
+ @media screen and (-ms-high-contrast: black-on-white) {
179
+ background-color: $ms-color-contrastWhiteSelected;
180
+ }
181
+ }
182
+
183
+ &:hover,
184
+ &:focus {
185
+ &::before {
186
+ border-color: $ms-color-themePrimary;
187
+ }
188
+ }
189
+
190
+ //== State: A radio button in focus
191
+ //
192
+ &.in-focus {
193
+ &::before {
194
+ border-color: $ms-color-themePrimary;
195
+ }
196
+ }
197
+ }