@sproutsocial/racine 11.0.2-dependencies.0 → 11.0.2-dependencies.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/CHANGELOG.md +7 -0
- package/__flow__/Breadcrumb/index.js +2 -0
- package/__flow__/Collapsible/index.js +3 -0
- package/__flow__/Drawer/index.js +4 -0
- package/__flow__/EnumIconNames.js +1 -1
- package/__flow__/Fieldset/index.js +8 -2
- package/__flow__/Icon/index.js +5 -1
- package/__flow__/IconViewBoxes.js +1 -1
- package/__flow__/Menu/index.js +7 -0
- package/__flow__/Message/index.js +7 -0
- package/__flow__/Modal/index.js +5 -0
- package/__flow__/Popout/index.js +4 -1
- package/__flow__/SegmentedControl/index.js +2 -0
- package/__flow__/Table/index.js +6 -0
- package/__flow__/Text/index.js +8 -0
- package/__flow__/index.js +1 -0
- package/__flow__/systemProps/background.js +28 -0
- package/__flow__/systemProps/border.js +76 -0
- package/__flow__/systemProps/color.js +25 -0
- package/__flow__/systemProps/custom.js +23 -0
- package/__flow__/systemProps/flexbox.js +42 -0
- package/__flow__/systemProps/grid.js +43 -0
- package/__flow__/systemProps/index.js +17 -0
- package/__flow__/systemProps/layout.js +43 -0
- package/__flow__/systemProps/position.js +29 -0
- package/__flow__/systemProps/shadow.js +18 -0
- package/__flow__/systemProps/space.js +83 -0
- package/__flow__/systemProps/systemProps.js +55 -0
- package/__flow__/systemProps/tests/__snapshots__/background.test.js.snap +96 -0
- package/__flow__/systemProps/tests/__snapshots__/border.test.js.snap +469 -0
- package/__flow__/systemProps/tests/__snapshots__/color.test.js.snap +55 -0
- package/__flow__/systemProps/tests/__snapshots__/custom.test.js.snap +36 -0
- package/__flow__/systemProps/tests/__snapshots__/flexbox.test.js.snap +239 -0
- package/__flow__/systemProps/tests/__snapshots__/grid.test.js.snap +166 -0
- package/__flow__/systemProps/tests/__snapshots__/layout.test.js.snap +218 -0
- package/__flow__/systemProps/tests/__snapshots__/position.test.js.snap +115 -0
- package/__flow__/systemProps/tests/__snapshots__/shadow.test.js.snap +25 -0
- package/__flow__/systemProps/tests/__snapshots__/space.test.js.snap +39 -0
- package/__flow__/systemProps/tests/__snapshots__/typography.test.js.snap +166 -0
- package/__flow__/systemProps/tests/__snapshots__/variant.test.js.snap +17 -0
- package/__flow__/systemProps/tests/background.test.js +90 -0
- package/__flow__/systemProps/tests/border.test.js +299 -0
- package/__flow__/systemProps/tests/color.test.js +49 -0
- package/__flow__/systemProps/tests/custom.test.js +38 -0
- package/__flow__/systemProps/tests/flexbox.test.js +150 -0
- package/__flow__/systemProps/tests/grid.test.js +123 -0
- package/__flow__/systemProps/tests/layout.test.js +135 -0
- package/__flow__/systemProps/tests/position.test.js +78 -0
- package/__flow__/systemProps/tests/shadow.test.js +30 -0
- package/__flow__/systemProps/tests/space.test.js +32 -0
- package/__flow__/systemProps/tests/types.flow.js +55 -0
- package/__flow__/systemProps/tests/typography.test.js +93 -0
- package/__flow__/systemProps/tests/variant.test.js +25 -0
- package/__flow__/systemProps/types.flow.js +20 -0
- package/__flow__/systemProps/typography.js +34 -0
- package/__flow__/systemProps/variant.js +18 -0
- package/__flow__/themes/dark/theme.js +1 -0
- package/__flow__/themes/light/theme.js +1 -0
- package/bin/buildNpm.js +58 -0
- package/commonjs/Breadcrumb/index.js +1 -0
- package/commonjs/Collapsible/index.js +2 -0
- package/commonjs/Drawer/index.js +3 -0
- package/commonjs/Fieldset/index.js +6 -2
- package/commonjs/Icon/index.js +3 -1
- package/commonjs/IconViewBoxes.js +2 -0
- package/commonjs/Menu/index.js +6 -0
- package/commonjs/Message/index.js +13 -0
- package/commonjs/Modal/index.js +4 -0
- package/commonjs/Popout/index.js +5 -2
- package/commonjs/SegmentedControl/index.js +1 -0
- package/commonjs/Table/index.js +5 -0
- package/commonjs/Text/index.js +7 -0
- package/commonjs/include-icons.js +1 -1
- package/commonjs/index.js +78 -0
- package/commonjs/systemProps/background.js +9 -0
- package/commonjs/systemProps/border.js +9 -0
- package/commonjs/systemProps/color.js +9 -0
- package/commonjs/systemProps/custom.js +12 -0
- package/commonjs/systemProps/flexbox.js +9 -0
- package/commonjs/systemProps/grid.js +9 -0
- package/commonjs/systemProps/index.js +115 -0
- package/commonjs/systemProps/layout.js +9 -0
- package/commonjs/systemProps/position.js +9 -0
- package/commonjs/systemProps/shadow.js +9 -0
- package/commonjs/systemProps/space.js +10 -0
- package/commonjs/systemProps/systemProps.js +33 -0
- package/commonjs/systemProps/tests/types.flow.js +46 -0
- package/commonjs/systemProps/types.flow.js +1 -0
- package/commonjs/systemProps/typography.js +9 -0
- package/commonjs/systemProps/variant.js +12 -0
- package/commonjs/themes/dark/theme.js +1 -0
- package/commonjs/themes/light/theme.js +1 -0
- package/dist/iconList.js +1 -1
- package/dist/icons.svg +1 -1
- package/dist/themes/dark/dark.scss +1 -0
- package/dist/themes/light/light.scss +1 -0
- package/icons/address-card-outline.svg +3 -0
- package/icons/deconstructed-negative-sentiment.svg +1 -1
- package/icons/deconstructed-neutral-sentiment.svg +1 -1
- package/icons/deconstructed-positive-sentiment.svg +1 -1
- package/icons/magic-wand.svg +3 -0
- package/icons/whatsapp.svg +5 -5
- package/includeIcons.js +1 -1
- package/lib/Breadcrumb/index.js +1 -0
- package/lib/Collapsible/index.js +2 -0
- package/lib/Drawer/index.js +3 -0
- package/lib/Fieldset/index.js +6 -2
- package/lib/Icon/index.js +3 -1
- package/lib/IconViewBoxes.js +2 -0
- package/lib/Menu/index.js +6 -0
- package/lib/Message/index.js +13 -0
- package/lib/Modal/index.js +4 -0
- package/lib/Popout/index.js +5 -2
- package/lib/SegmentedControl/index.js +1 -0
- package/lib/Table/index.js +5 -0
- package/lib/Text/index.js +7 -0
- package/lib/include-icons.js +1 -1
- package/lib/index.js +1 -0
- package/lib/systemProps/background.js +2 -0
- package/lib/systemProps/border.js +2 -0
- package/lib/systemProps/color.js +2 -0
- package/lib/systemProps/custom.js +5 -0
- package/lib/systemProps/flexbox.js +2 -0
- package/lib/systemProps/grid.js +2 -0
- package/lib/systemProps/index.js +14 -0
- package/lib/systemProps/layout.js +2 -0
- package/lib/systemProps/position.js +2 -0
- package/lib/systemProps/shadow.js +2 -0
- package/lib/systemProps/space.js +3 -0
- package/lib/systemProps/systemProps.js +14 -0
- package/lib/systemProps/tests/types.flow.js +44 -0
- package/lib/systemProps/types.flow.js +0 -0
- package/lib/systemProps/typography.js +2 -0
- package/lib/systemProps/variant.js +5 -0
- package/lib/themes/dark/theme.js +1 -0
- package/lib/themes/light/theme.js +1 -0
- package/package.json +15 -3
package/lib/Breadcrumb/index.js
CHANGED
package/lib/Collapsible/index.js
CHANGED
package/lib/Drawer/index.js
CHANGED
|
@@ -213,4 +213,7 @@ var DrawerContainer = function DrawerContainer(_ref4) {
|
|
|
213
213
|
DrawerContainer.Header = DrawerHeader;
|
|
214
214
|
DrawerContainer.Content = DrawerContent;
|
|
215
215
|
DrawerContainer.CloseButton = DrawerCloseButton;
|
|
216
|
+
DrawerContainer.Header.displayName = "Drawer.Header";
|
|
217
|
+
DrawerContainer.Content.displayName = "Drawer.Content";
|
|
218
|
+
DrawerContainer.CloseButton.displayName = "Drawer.CloseButton";
|
|
216
219
|
export default DrawerContainer;
|
package/lib/Fieldset/index.js
CHANGED
|
@@ -37,7 +37,7 @@ var Fieldset = function Fieldset(_ref) {
|
|
|
37
37
|
);
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
var FieldsetLegend = function FieldsetLegend(_ref2) {
|
|
41
41
|
var children = _ref2.children,
|
|
42
42
|
rest = _objectWithoutPropertiesLoose(_ref2, ["children"]);
|
|
43
43
|
|
|
@@ -50,7 +50,7 @@ Fieldset.Legend = function (_ref2) {
|
|
|
50
50
|
}, rest), children);
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
var FieldsetHelperText = function FieldsetHelperText(_ref3) {
|
|
54
54
|
var children = _ref3.children,
|
|
55
55
|
rest = _objectWithoutPropertiesLoose(_ref3, ["children"]);
|
|
56
56
|
|
|
@@ -61,4 +61,8 @@ Fieldset.HelperText = function (_ref3) {
|
|
|
61
61
|
}, rest), children);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
+
Fieldset.Legend = FieldsetLegend;
|
|
65
|
+
Fieldset.HelperText = FieldsetHelperText;
|
|
66
|
+
Fieldset.Legend.displayName = "Fieldset.Legend";
|
|
67
|
+
Fieldset.HelperText.displayName = "Fieldset.HelperText";
|
|
64
68
|
export default Fieldset;
|
package/lib/Icon/index.js
CHANGED
|
@@ -48,7 +48,7 @@ var ToggleableIcon = styled(Icon).withConfig({
|
|
|
48
48
|
return !p.active && css(["position:absolute;opacity:0;transform:scale(0);"]);
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
var IconToggle = function IconToggle(_ref2) {
|
|
52
52
|
var activeName = _ref2.activeName,
|
|
53
53
|
inactiveName = _ref2.inactiveName,
|
|
54
54
|
isActive = _ref2.isActive,
|
|
@@ -84,4 +84,6 @@ Icon.Toggle = function (_ref2) {
|
|
|
84
84
|
);
|
|
85
85
|
};
|
|
86
86
|
|
|
87
|
+
Icon.Toggle = IconToggle;
|
|
88
|
+
Icon.Toggle.displayName = "Icon.Toggle";
|
|
87
89
|
export default Icon;
|
package/lib/IconViewBoxes.js
CHANGED
|
@@ -4,6 +4,7 @@ module.exports = {
|
|
|
4
4
|
"add-keyword": "0 0 16 16",
|
|
5
5
|
"add-team-member": "0 0 18 13",
|
|
6
6
|
"add-variable": "0 0 18 14",
|
|
7
|
+
"address-card-outline": "0 0 16 16",
|
|
7
8
|
"address-card-solid": "0 0 18 16",
|
|
8
9
|
"adobe-experience-manager": "0 0 16 18",
|
|
9
10
|
"ads": "0 0 9 16",
|
|
@@ -208,6 +209,7 @@ module.exports = {
|
|
|
208
209
|
"location-outline": "0 0 12 16",
|
|
209
210
|
"location": "0 0 12 16",
|
|
210
211
|
"lock": "0 0 14 16",
|
|
212
|
+
"magic-wand": "0 0 17 16",
|
|
211
213
|
"male": "0 0 16 20",
|
|
212
214
|
"marketo": "0 0 16 18",
|
|
213
215
|
"mention": "0 0 16 16",
|
package/lib/Menu/index.js
CHANGED
|
@@ -389,6 +389,12 @@ Menu.Checkbox = MenuCheckbox;
|
|
|
389
389
|
Menu.Radio = MenuRadio;
|
|
390
390
|
Menu.Divider = MenuDivider;
|
|
391
391
|
Menu.FilterInput = MenuFilterInput;
|
|
392
|
+
Menu.Group.displayName = "Menu.Group";
|
|
393
|
+
Menu.Item.displayName = "Menu.Item";
|
|
394
|
+
Menu.Checkbox.displayName = "Menu.Checkbox";
|
|
395
|
+
Menu.Radio.displayName = "Menu.Radio";
|
|
396
|
+
Menu.Divider.displayName = "Menu.Divider";
|
|
397
|
+
Menu.FilterInput.displayName = "Menu.FilterInput";
|
|
392
398
|
var CustomPopoutContent = styled(Popout.Content).withConfig({
|
|
393
399
|
displayName: "Menu__CustomPopoutContent",
|
|
394
400
|
componentId: "sc-1p3rdnp-1"
|
package/lib/Message/index.js
CHANGED
|
@@ -82,6 +82,8 @@ Message.Body = function (props) {
|
|
|
82
82
|
});
|
|
83
83
|
};
|
|
84
84
|
|
|
85
|
+
Message.Body.displayName = "Message.Body";
|
|
86
|
+
|
|
85
87
|
Message.Header = function (props) {
|
|
86
88
|
return /*#__PURE__*/React.createElement(MessageContext.Consumer, null, function (_ref3) {
|
|
87
89
|
var density = _ref3.density,
|
|
@@ -93,6 +95,8 @@ Message.Header = function (props) {
|
|
|
93
95
|
});
|
|
94
96
|
};
|
|
95
97
|
|
|
98
|
+
Message.Header.displayName = "Message.Header";
|
|
99
|
+
|
|
96
100
|
Message.Footer = function (props) {
|
|
97
101
|
return /*#__PURE__*/React.createElement(MessageContext.Consumer, null, function (_ref4) {
|
|
98
102
|
var density = _ref4.density,
|
|
@@ -106,6 +110,8 @@ Message.Footer = function (props) {
|
|
|
106
110
|
});
|
|
107
111
|
};
|
|
108
112
|
|
|
113
|
+
Message.Footer.displayName = "Message.Footer";
|
|
114
|
+
|
|
109
115
|
Message.Meta = function (props) {
|
|
110
116
|
return /*#__PURE__*/React.createElement(MessageContext.Consumer, null, function (_ref5) {
|
|
111
117
|
var density = _ref5.density,
|
|
@@ -119,12 +125,16 @@ Message.Meta = function (props) {
|
|
|
119
125
|
});
|
|
120
126
|
};
|
|
121
127
|
|
|
128
|
+
Message.Meta.displayName = "Message.Meta";
|
|
129
|
+
|
|
122
130
|
Message.Button = function (props) {
|
|
123
131
|
return /*#__PURE__*/React.createElement(Button, _extends({}, props, {
|
|
124
132
|
appearance: props.appearance || "pill"
|
|
125
133
|
}));
|
|
126
134
|
};
|
|
127
135
|
|
|
136
|
+
Message.Button.displayName = "Message.Button";
|
|
137
|
+
|
|
128
138
|
Message.Avatar = function (props) {
|
|
129
139
|
return /*#__PURE__*/React.createElement(MessageContext.Consumer, null, function (_ref6) {
|
|
130
140
|
var density = _ref6.density;
|
|
@@ -134,6 +144,8 @@ Message.Avatar = function (props) {
|
|
|
134
144
|
});
|
|
135
145
|
};
|
|
136
146
|
|
|
147
|
+
Message.Avatar.displayName = "Message.Avatar";
|
|
148
|
+
|
|
137
149
|
Message.Checkbox = function (props) {
|
|
138
150
|
return /*#__PURE__*/React.createElement(MessageContext.Consumer, null, function (_ref7) {
|
|
139
151
|
var density = _ref7.density;
|
|
@@ -148,6 +160,7 @@ Message.Checkbox = function (props) {
|
|
|
148
160
|
});
|
|
149
161
|
};
|
|
150
162
|
|
|
163
|
+
Message.Checkbox.displayName = "Message.Checkbox";
|
|
151
164
|
Message.Context = MessageContext;
|
|
152
165
|
Message.DENSITIES = MESSAGE_DENSITIES;
|
|
153
166
|
export default Message;
|
package/lib/Modal/index.js
CHANGED
|
@@ -131,6 +131,10 @@ Modal.Header = ModalHeader;
|
|
|
131
131
|
Modal.Footer = ModalFooter;
|
|
132
132
|
Modal.Content = ModalContent;
|
|
133
133
|
Modal.CloseButton = ModalCloseButton;
|
|
134
|
+
Modal.Header.displayName = "Modal.Header";
|
|
135
|
+
Modal.Footer.displayName = "Modal.Footer";
|
|
136
|
+
Modal.Content.displayName = "Modal.Content";
|
|
137
|
+
Modal.CloseButton.displayName = "Modal.CloseButton";
|
|
134
138
|
Modal.defaultProps = {
|
|
135
139
|
width: "800px",
|
|
136
140
|
zIndex: 6
|
package/lib/Popout/index.js
CHANGED
|
@@ -257,7 +257,7 @@ export default function Popout(_ref) {
|
|
|
257
257
|
}));
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
|
|
260
|
+
var PopoutContent = function PopoutContent(_ref4) {
|
|
261
261
|
var children = _ref4.children,
|
|
262
262
|
rest = _objectWithoutPropertiesLoose(_ref4, ["children"]);
|
|
263
263
|
|
|
@@ -271,4 +271,7 @@ Popout.Content = function (_ref4) {
|
|
|
271
271
|
p: 400,
|
|
272
272
|
m: 300
|
|
273
273
|
}, rest), children);
|
|
274
|
-
};
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
Popout.Content = PopoutContent;
|
|
277
|
+
Popout.Content.displayName = "Popout.Content";
|
package/lib/Table/index.js
CHANGED
|
@@ -78,4 +78,9 @@ Table.TableBody = TableBody;
|
|
|
78
78
|
Table.TableRow = TableRow;
|
|
79
79
|
Table.HeaderCell = TableHeaderCell;
|
|
80
80
|
Table.Cell = TableCell;
|
|
81
|
+
Table.TableHead.displayName = "Table.TableHead";
|
|
82
|
+
Table.TableBody.displayName = "Table.TableBody";
|
|
83
|
+
Table.TableRow.displayName = "Table.TableRow";
|
|
84
|
+
Table.HeaderCell.displayName = "Table.HeaderCell";
|
|
85
|
+
Table.Cell.displayName = "Table.Cell";
|
|
81
86
|
export default Table;
|
package/lib/Text/index.js
CHANGED
|
@@ -92,4 +92,11 @@ Text.Byline = Byline;
|
|
|
92
92
|
Text.SmallByline = SmallByline;
|
|
93
93
|
Text.BodyCopy = BodyCopy;
|
|
94
94
|
Text.SmallBodyCopy = SmallBodyCopy;
|
|
95
|
+
Text.Headline.displayName = "Text.Headline";
|
|
96
|
+
Text.SubHeadline.displayName = "Text.SubHeadline";
|
|
97
|
+
Text.SmallSubHeadline.displayName = "Text.SmallSubHeadline";
|
|
98
|
+
Text.Byline.displayName = "Text.Byline";
|
|
99
|
+
Text.SmallByline.displayName = "Text.SmallByline";
|
|
100
|
+
Text.BodyCopy.displayName = "Text.BodyCopy";
|
|
101
|
+
Text.SmallBodyCopy.displayName = "Text.SmallBodyCopy";
|
|
95
102
|
export default Text;
|