@desynova-digital/components 8.7.1 → 8.7.2
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/atoms/checkbox/checkbox.js +0 -6
- package/atoms/icon/icons.json +16 -7
- package/package.json +2 -2
|
@@ -147,8 +147,6 @@ var Checkbox = function Checkbox(props) {
|
|
|
147
147
|
props.type === 'icon' && _react2.default.createElement(_icon2.default, {
|
|
148
148
|
name: props.value,
|
|
149
149
|
value: props.value,
|
|
150
|
-
width: props.width,
|
|
151
|
-
height: props.height,
|
|
152
150
|
fillRule: props.fillRule,
|
|
153
151
|
color: props.checked ? "#00CEC6" : "#AFB2BA" })
|
|
154
152
|
);
|
|
@@ -168,8 +166,6 @@ var CheckboxGroup = function CheckboxGroup(props) {
|
|
|
168
166
|
onChange: child.props.isDisabled ? props.onChange : function () {},
|
|
169
167
|
theme: props.theme,
|
|
170
168
|
type: props.type,
|
|
171
|
-
width: props.width || 16,
|
|
172
|
-
height: props.height || 24,
|
|
173
169
|
fillRule: props.fillRule || ''
|
|
174
170
|
}) : null;
|
|
175
171
|
})
|
|
@@ -188,8 +184,6 @@ Checkbox.propTypes = {
|
|
|
188
184
|
/** Callback function which is called when the user selects an option */
|
|
189
185
|
onChange: _propTypes2.default.func,
|
|
190
186
|
type: _propTypes2.default.oneOf(["default", "label", "switch"]),
|
|
191
|
-
width: _propTypes2.default.number,
|
|
192
|
-
height: _propTypes2.default.number,
|
|
193
187
|
fillRule: _propTypes2.default.string
|
|
194
188
|
};
|
|
195
189
|
|
package/atoms/icon/icons.json
CHANGED
|
@@ -514,8 +514,8 @@
|
|
|
514
514
|
"paths": [
|
|
515
515
|
"M12.444 0H1.556C.692 0 0 .7 0 1.556v9.333c0 .855.692 1.555 1.556 1.555h10.888c.856 0 1.556-.7 1.556-1.555V1.556C14 .7 13.3 0 12.444 0zM6.222 5.444H5.056v-.388H3.5v2.333h1.556V7h1.166v.778a.78.78 0 0 1-.778.778H3.111a.78.78 0 0 1-.778-.778V4.667a.78.78 0 0 1 .778-.778h2.333a.78.78 0 0 1 .778.778v.777zm5.445 0H10.5v-.388H8.944v2.333H10.5V7h1.167v.778a.78.78 0 0 1-.778.778H8.556a.78.78 0 0 1-.778-.778V4.667a.78.78 0 0 1 .778-.778h2.333a.78.78 0 0 1 .778.778v.777z"
|
|
516
516
|
],
|
|
517
|
-
"width":
|
|
518
|
-
"height":
|
|
517
|
+
"width": 12,
|
|
518
|
+
"height": 12
|
|
519
519
|
},
|
|
520
520
|
"audio-track": {
|
|
521
521
|
"paths": [
|
|
@@ -563,8 +563,17 @@
|
|
|
563
563
|
"paths": [
|
|
564
564
|
"M10.8 0H1.2C0.54 0 0 0.54 0 1.2V8.4C0 9.06 0.54 9.6 1.2 9.6H10.8C11.46 9.6 12 9.06 12 8.4V1.2C12 0.54 11.46 0 10.8 0ZM1.2 4.8H3.6V6H1.2V4.8ZM1.2 8.4H7.2V7.2H1.2V8.4ZM10.8 8.4H8.4V7.2H10.8V8.4ZM4.8 6H10.8V4.8H4.8V6Z"
|
|
565
565
|
],
|
|
566
|
-
"width":
|
|
567
|
-
"height":
|
|
566
|
+
"width": 12,
|
|
567
|
+
"height": 12,
|
|
568
|
+
"fillRule": "evenodd"
|
|
569
|
+
},
|
|
570
|
+
"subtitle_assign": {
|
|
571
|
+
"paths": [
|
|
572
|
+
"M10.8 0H1.2C0.54 0 0 0.54 0 1.2V8.4C0 9.06 0.54 9.6 1.2 9.6H10.8C11.46 9.6 12 9.06 12 8.4V1.2C12 0.54 11.46 0 10.8 0ZM1.2 4.8H3.6V6H1.2V4.8ZM1.2 8.4H7.2V7.2H1.2V8.4ZM10.8 8.4H8.4V7.2H10.8V8.4ZM4.8 6H10.8V4.8H4.8V6Z"
|
|
573
|
+
],
|
|
574
|
+
"width": 12,
|
|
575
|
+
"height": 12,
|
|
576
|
+
"fillRule": "evenodd"
|
|
568
577
|
},
|
|
569
578
|
"align_bottom": {
|
|
570
579
|
"paths": ["M.5.5h23v15H.5z", "M4 10v1.778h16V10z"],
|
|
@@ -1136,19 +1145,19 @@
|
|
|
1136
1145
|
"text_position_top": {
|
|
1137
1146
|
"paths": ["M0 0H24V16H0V0ZM2 2H22V14H2V2ZM4 5.77778V4H20V5.77778H4Z"],
|
|
1138
1147
|
"width": 24,
|
|
1139
|
-
"height":
|
|
1148
|
+
"height": 20,
|
|
1140
1149
|
"fillRule": "evenodd"
|
|
1141
1150
|
},
|
|
1142
1151
|
"text_position_center": {
|
|
1143
1152
|
"paths": ["M0 0H24V16H0V0ZM2 2H22V14H2V2ZM4 8.77778V7H20V8.77778H4Z"],
|
|
1144
1153
|
"width": 24,
|
|
1145
|
-
"height":
|
|
1154
|
+
"height": 20,
|
|
1146
1155
|
"fillRule": "evenodd"
|
|
1147
1156
|
},
|
|
1148
1157
|
"text_position_bottom": {
|
|
1149
1158
|
"paths": ["M0 0H24V16H0V0ZM2 2H22V14H2V2ZM4 11.7778V10H20V11.7778H4Z"],
|
|
1150
1159
|
"width": 24,
|
|
1151
|
-
"height":
|
|
1160
|
+
"height": 20,
|
|
1152
1161
|
"fillRule": "evenodd"
|
|
1153
1162
|
}
|
|
1154
1163
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@desynova-digital/components",
|
|
3
|
-
"version": "8.7.
|
|
3
|
+
"version": "8.7.2",
|
|
4
4
|
"description": "Components for Desynova Digital",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "desynova-digital",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": "desynova-digital",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@desynova-digital/tokens": "8.7.
|
|
10
|
+
"@desynova-digital/tokens": "8.7.2",
|
|
11
11
|
"prop-types": "^15.7.2",
|
|
12
12
|
"styled-components": "^4.3.2"
|
|
13
13
|
},
|