@mediafly/js-ui 47.1.0 → 47.2.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/.idea/inspectionProfiles/Project_Default.xml +7 -0
- package/.idea/jsLinters/jshint.xml +16 -0
- package/.idea/mediafly-js-ui.iml +12 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/CHANGELOG.md +11 -3
- package/lib/jsui.module.css +0 -11
- package/lib/styles.css +0 -9
- package/package.json +1 -1
- package/src/components/less/objects/buttons.less +0 -8
- package/src/components/less/objects/buttons.module.css +0 -11
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<component name="InspectionProjectProfileManager">
|
|
2
|
+
<profile version="1.0">
|
|
3
|
+
<option name="myName" value="Project Default" />
|
|
4
|
+
<inspection_tool class="JSHint" enabled="true" level="ERROR" enabled_by_default="true" />
|
|
5
|
+
<inspection_tool class="TsLint" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
6
|
+
</profile>
|
|
7
|
+
</component>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="JSHintConfiguration" version="2.13.0" use-config-file="true" use-custom-config-file="true" custom-config-file-path="$PROJECT_DIR$/.jshintrc">
|
|
4
|
+
<option bitwise="true" />
|
|
5
|
+
<option browser="true" />
|
|
6
|
+
<option curly="true" />
|
|
7
|
+
<option eqeqeq="true" />
|
|
8
|
+
<option forin="true" />
|
|
9
|
+
<option maxerr="50" />
|
|
10
|
+
<option noarg="true" />
|
|
11
|
+
<option noempty="true" />
|
|
12
|
+
<option nonew="true" />
|
|
13
|
+
<option strict="true" />
|
|
14
|
+
<option undef="true" />
|
|
15
|
+
</component>
|
|
16
|
+
</project>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="WEB_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$">
|
|
5
|
+
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
|
6
|
+
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
|
7
|
+
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
|
8
|
+
</content>
|
|
9
|
+
<orderEntry type="inheritedJdk" />
|
|
10
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
11
|
+
</component>
|
|
12
|
+
</module>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/mediafly-js-ui.iml" filepath="$PROJECT_DIR$/.idea/mediafly-js-ui.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
package/.idea/vcs.xml
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
## @mediafly/js-ui changelog
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**47.2.0**
|
|
4
|
+
|
|
5
|
+
* Buttons: Added small sizing to primary buttons
|
|
6
|
+
|
|
7
|
+
**47.1.0**
|
|
4
8
|
|
|
5
9
|
* Colors: Tweaked color-danger and color-danger-light values
|
|
6
10
|
|
|
11
|
+
**47.0.0**
|
|
12
|
+
|
|
13
|
+
* **Breaking:** Update AngularJS to 1.8
|
|
14
|
+
|
|
7
15
|
**46.3.0**
|
|
8
16
|
|
|
9
17
|
* CSS Modules: Added button module styles
|
|
@@ -61,11 +69,11 @@
|
|
|
61
69
|
|
|
62
70
|
**45.0.1**
|
|
63
71
|
|
|
64
|
-
* Add
|
|
72
|
+
* **Breaking:** Add an `o-hero` header typography class and update the font-size for `o-h1` class
|
|
65
73
|
|
|
66
74
|
**44.0.0**
|
|
67
75
|
|
|
68
|
-
* Errors: Start handling 400 api errors.
|
|
76
|
+
* **Breaking:** Errors: Start handling 400 api errors.
|
|
69
77
|
|
|
70
78
|
**43.4.2**
|
|
71
79
|
|
package/lib/jsui.module.css
CHANGED
|
@@ -222,23 +222,12 @@
|
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
.button.isSmall {
|
|
225
|
-
background: #fff;
|
|
226
|
-
border: 1px solid var(--color-gray-x-light);
|
|
227
225
|
border-radius: 16px;
|
|
228
226
|
font-size: 13px;
|
|
229
227
|
font-weight: var(--font-weight-regular);
|
|
230
228
|
height: auto; /* Match the non-module large button height instead of using fixed height of flex button */
|
|
231
229
|
line-height: 1;
|
|
232
230
|
padding: 6px 12px;
|
|
233
|
-
|
|
234
|
-
/* We set an explicit background on this button so we need more specificity on the hover style: */
|
|
235
|
-
@media (hover: hover) {
|
|
236
|
-
&:hover {
|
|
237
|
-
background-color: var(--color-button-default-hover-background);
|
|
238
|
-
border-color: var(--color-button-default-hover-border);
|
|
239
|
-
color: var(--color-button-default-text);
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
231
|
}
|
|
243
232
|
|
|
244
233
|
.button.isRoundRect {
|
package/lib/styles.css
CHANGED
|
@@ -453,8 +453,6 @@ fieldset[disabled] .o-button.active {
|
|
|
453
453
|
border-radius: 26px;
|
|
454
454
|
}
|
|
455
455
|
.o-button.o-button--small {
|
|
456
|
-
background: #fff;
|
|
457
|
-
border: 1px solid #bbb;
|
|
458
456
|
border-radius: 16px;
|
|
459
457
|
font-size: 13px;
|
|
460
458
|
font-weight: 400;
|
|
@@ -462,13 +460,6 @@ fieldset[disabled] .o-button.active {
|
|
|
462
460
|
padding: 6px 12px;
|
|
463
461
|
white-space: nowrap;
|
|
464
462
|
}
|
|
465
|
-
@media (hover) {
|
|
466
|
-
.o-button.o-button--small:hover {
|
|
467
|
-
background-color: #f6f6f6;
|
|
468
|
-
border-color: #999;
|
|
469
|
-
color: #767676;
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
463
|
.o-button.o-button--small:focus,
|
|
473
464
|
.o-button.o-button--small:active:focus,
|
|
474
465
|
.o-button.o-button--small.active:focus.o-button::after {
|
package/package.json
CHANGED
|
@@ -182,20 +182,12 @@
|
|
|
182
182
|
// Small button
|
|
183
183
|
// -------------------------------------------------
|
|
184
184
|
&.o-button--small {
|
|
185
|
-
background: #fff;
|
|
186
|
-
border: 1px solid @color-gray-x-light;
|
|
187
185
|
border-radius: 16px;
|
|
188
186
|
font-size: 13px;
|
|
189
187
|
font-weight: @font-weight-regular;
|
|
190
188
|
line-height: 1;
|
|
191
189
|
padding: 6px 12px;
|
|
192
190
|
white-space: nowrap;
|
|
193
|
-
|
|
194
|
-
@media (hover) {
|
|
195
|
-
&:hover {
|
|
196
|
-
.hover-button();
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
191
|
}
|
|
200
192
|
|
|
201
193
|
// Fix outline border-radius for smaller buttons
|
|
@@ -96,23 +96,12 @@
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.button.isSmall {
|
|
99
|
-
background: #fff;
|
|
100
|
-
border: 1px solid var(--color-gray-x-light);
|
|
101
99
|
border-radius: 16px;
|
|
102
100
|
font-size: 13px;
|
|
103
101
|
font-weight: var(--font-weight-regular);
|
|
104
102
|
height: auto; /* Match the non-module large button height instead of using fixed height of flex button */
|
|
105
103
|
line-height: 1;
|
|
106
104
|
padding: 6px 12px;
|
|
107
|
-
|
|
108
|
-
/* We set an explicit background on this button so we need more specificity on the hover style: */
|
|
109
|
-
@media (hover: hover) {
|
|
110
|
-
&:hover {
|
|
111
|
-
background-color: var(--color-button-default-hover-background);
|
|
112
|
-
border-color: var(--color-button-default-hover-border);
|
|
113
|
-
color: var(--color-button-default-text);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
105
|
}
|
|
117
106
|
|
|
118
107
|
.button.isRoundRect {
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -2831,7 +2831,7 @@
|
|
|
2831
2831
|
"target": 2,
|
|
2832
2832
|
"inlineSourceMap": false,
|
|
2833
2833
|
"declarationMap": false,
|
|
2834
|
-
"pathsBasePath": "/Users/
|
|
2834
|
+
"pathsBasePath": "/Users/isabellelindmae/WebstormProjects/mediafly-js-ui",
|
|
2835
2835
|
"configFilePath": "./tsconfig.json"
|
|
2836
2836
|
},
|
|
2837
2837
|
"referencedMap": {
|