@sproutsocial/racine 25.3.1 → 25.4.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/CHANGELOG.md +30 -0
- package/commonjs/Drawer/Drawer.js +2 -2
- package/commonjs/Tooltip/Tooltip.js +3 -3
- package/commonjs/index.js +28 -28
- package/dist/dynamicProps.json +1 -1
- package/dist/types/Toast/styles.d.ts +1 -1
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.d.ts.map +1 -1
- package/lib/Drawer/Drawer.js +1 -1
- package/lib/Tooltip/Tooltip.js +1 -1
- package/lib/index.js +7 -7
- package/package.json +8 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 25.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 426f572: Migrated Avatar and Image components into their own packages
|
|
8
|
+
- 048afcf: - Migrate Card to seeds-react-card
|
|
9
|
+
- Migrate SpotIllustration to seeds-react-spot-illustration
|
|
10
|
+
- 5ee5604: Updates dependencies to leverage their new corresponding seeds-react packages
|
|
11
|
+
- def819d: Migrated Drawer from Racine to seeds-react-drawer
|
|
12
|
+
- e839317: Migrate VisuallyHidden to seeds-react-visually-hidden
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 8d0ffcf: Migrated Chart Legend from Racine to seeds-react-chart-legend
|
|
17
|
+
- Updated dependencies [426f572]
|
|
18
|
+
- Updated dependencies [048afcf]
|
|
19
|
+
- Updated dependencies [5ee5604]
|
|
20
|
+
- Updated dependencies [8d0ffcf]
|
|
21
|
+
- Updated dependencies [def819d]
|
|
22
|
+
- Updated dependencies [e839317]
|
|
23
|
+
- @sproutsocial/seeds-react-avatar@1.0.0
|
|
24
|
+
- @sproutsocial/seeds-react-image@1.0.0
|
|
25
|
+
- @sproutsocial/seeds-react-spot-illustration@1.0.0
|
|
26
|
+
- @sproutsocial/seeds-react-card@1.0.0
|
|
27
|
+
- @sproutsocial/seeds-motion@1.8.0
|
|
28
|
+
- @sproutsocial/seeds-react-popout@2.1.0
|
|
29
|
+
- @sproutsocial/seeds-react-chart-legend@1.0.0
|
|
30
|
+
- @sproutsocial/seeds-react-drawer@1.0.0
|
|
31
|
+
- @sproutsocial/seeds-react-visually-hidden@1.0.0
|
|
32
|
+
|
|
3
33
|
## 25.3.1
|
|
4
34
|
|
|
5
35
|
### Patch Changes
|
|
@@ -8,7 +8,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
8
8
|
var React = _react;
|
|
9
9
|
var _reactFocusLock = _interopRequireDefault(require("react-focus-lock"));
|
|
10
10
|
var _web = require("@react-spring/web");
|
|
11
|
-
var
|
|
11
|
+
var _unitless = require("@sproutsocial/seeds-motion/unitless");
|
|
12
12
|
var _Box = _interopRequireDefault(require("../Box"));
|
|
13
13
|
var _Button = _interopRequireDefault(require("../Button"));
|
|
14
14
|
var _Icon = _interopRequireDefault(require("../Icon"));
|
|
@@ -50,7 +50,7 @@ var useSlideTransition = function useSlideTransition(_ref) {
|
|
|
50
50
|
x: offset
|
|
51
51
|
},
|
|
52
52
|
config: {
|
|
53
|
-
duration:
|
|
53
|
+
duration: _unitless.MOTION_DURATION_MEDIUM * 1000
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
56
|
};
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
|
8
8
|
var React = _react;
|
|
9
|
-
var
|
|
9
|
+
var _unitless = _interopRequireDefault(require("@sproutsocial/seeds-motion/unitless"));
|
|
10
10
|
var _seedsReactPopout = _interopRequireDefault(require("@sproutsocial/seeds-react-popout"));
|
|
11
11
|
var _styles = require("./styles");
|
|
12
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -75,7 +75,7 @@ var Tooltip = function Tooltip(_ref2) {
|
|
|
75
75
|
var content = _ref2.content,
|
|
76
76
|
children = _ref2.children,
|
|
77
77
|
_ref2$enterDelay = _ref2.enterDelay,
|
|
78
|
-
enterDelay = _ref2$enterDelay === void 0 ?
|
|
78
|
+
enterDelay = _ref2$enterDelay === void 0 ? _unitless.default.MOTION_DURATION_FAST * 1000 : _ref2$enterDelay,
|
|
79
79
|
_ref2$placement = _ref2.placement,
|
|
80
80
|
placement = _ref2$placement === void 0 ? "auto" : _ref2$placement,
|
|
81
81
|
appearance = _ref2.appearance,
|
|
@@ -108,7 +108,7 @@ var Tooltip = function Tooltip(_ref2) {
|
|
|
108
108
|
onBlur === null || onBlur === void 0 || onBlur(e);
|
|
109
109
|
setShouldShow(false);
|
|
110
110
|
};
|
|
111
|
-
var exitDelay =
|
|
111
|
+
var exitDelay = _unitless.default.MOTION_DURATION_FAST * 1000;
|
|
112
112
|
var defaultAppearance = appearance || (_typeof(content) === "object" ? "box" : "pill");
|
|
113
113
|
|
|
114
114
|
/** Handles all the logic around whether to display/not display */
|
package/commonjs/index.js
CHANGED
|
@@ -108,15 +108,15 @@ Object.keys(_seedsReactMixins).forEach(function (key) {
|
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
110
|
});
|
|
111
|
-
var
|
|
112
|
-
Object.keys(
|
|
111
|
+
var _seedsReactAvatar = require("@sproutsocial/seeds-react-avatar");
|
|
112
|
+
Object.keys(_seedsReactAvatar).forEach(function (key) {
|
|
113
113
|
if (key === "default" || key === "__esModule") return;
|
|
114
114
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
115
|
-
if (key in exports && exports[key] ===
|
|
115
|
+
if (key in exports && exports[key] === _seedsReactAvatar[key]) return;
|
|
116
116
|
Object.defineProperty(exports, key, {
|
|
117
117
|
enumerable: true,
|
|
118
118
|
get: function get() {
|
|
119
|
-
return
|
|
119
|
+
return _seedsReactAvatar[key];
|
|
120
120
|
}
|
|
121
121
|
});
|
|
122
122
|
});
|
|
@@ -180,15 +180,15 @@ Object.keys(_seedsReactButton).forEach(function (key) {
|
|
|
180
180
|
}
|
|
181
181
|
});
|
|
182
182
|
});
|
|
183
|
-
var
|
|
184
|
-
Object.keys(
|
|
183
|
+
var _seedsReactCard = require("@sproutsocial/seeds-react-card");
|
|
184
|
+
Object.keys(_seedsReactCard).forEach(function (key) {
|
|
185
185
|
if (key === "default" || key === "__esModule") return;
|
|
186
186
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
187
|
-
if (key in exports && exports[key] ===
|
|
187
|
+
if (key in exports && exports[key] === _seedsReactCard[key]) return;
|
|
188
188
|
Object.defineProperty(exports, key, {
|
|
189
189
|
enumerable: true,
|
|
190
190
|
get: function get() {
|
|
191
|
-
return
|
|
191
|
+
return _seedsReactCard[key];
|
|
192
192
|
}
|
|
193
193
|
});
|
|
194
194
|
});
|
|
@@ -204,15 +204,15 @@ Object.keys(_seedsReactCharacterCounter).forEach(function (key) {
|
|
|
204
204
|
}
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
|
-
var
|
|
208
|
-
Object.keys(
|
|
207
|
+
var _seedsReactChartLegend = require("@sproutsocial/seeds-react-chart-legend");
|
|
208
|
+
Object.keys(_seedsReactChartLegend).forEach(function (key) {
|
|
209
209
|
if (key === "default" || key === "__esModule") return;
|
|
210
210
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
211
|
-
if (key in exports && exports[key] ===
|
|
211
|
+
if (key in exports && exports[key] === _seedsReactChartLegend[key]) return;
|
|
212
212
|
Object.defineProperty(exports, key, {
|
|
213
213
|
enumerable: true,
|
|
214
214
|
get: function get() {
|
|
215
|
-
return
|
|
215
|
+
return _seedsReactChartLegend[key];
|
|
216
216
|
}
|
|
217
217
|
});
|
|
218
218
|
});
|
|
@@ -252,15 +252,15 @@ Object.keys(_DatePicker).forEach(function (key) {
|
|
|
252
252
|
}
|
|
253
253
|
});
|
|
254
254
|
});
|
|
255
|
-
var
|
|
256
|
-
Object.keys(
|
|
255
|
+
var _seedsReactDrawer = require("@sproutsocial/seeds-react-drawer");
|
|
256
|
+
Object.keys(_seedsReactDrawer).forEach(function (key) {
|
|
257
257
|
if (key === "default" || key === "__esModule") return;
|
|
258
258
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
259
|
-
if (key in exports && exports[key] ===
|
|
259
|
+
if (key in exports && exports[key] === _seedsReactDrawer[key]) return;
|
|
260
260
|
Object.defineProperty(exports, key, {
|
|
261
261
|
enumerable: true,
|
|
262
262
|
get: function get() {
|
|
263
|
-
return
|
|
263
|
+
return _seedsReactDrawer[key];
|
|
264
264
|
}
|
|
265
265
|
});
|
|
266
266
|
});
|
|
@@ -324,15 +324,15 @@ Object.keys(_seedsReactIcon).forEach(function (key) {
|
|
|
324
324
|
}
|
|
325
325
|
});
|
|
326
326
|
});
|
|
327
|
-
var
|
|
328
|
-
Object.keys(
|
|
327
|
+
var _seedsReactImage = require("@sproutsocial/seeds-react-image");
|
|
328
|
+
Object.keys(_seedsReactImage).forEach(function (key) {
|
|
329
329
|
if (key === "default" || key === "__esModule") return;
|
|
330
330
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
331
|
-
if (key in exports && exports[key] ===
|
|
331
|
+
if (key in exports && exports[key] === _seedsReactImage[key]) return;
|
|
332
332
|
Object.defineProperty(exports, key, {
|
|
333
333
|
enumerable: true,
|
|
334
334
|
get: function get() {
|
|
335
|
-
return
|
|
335
|
+
return _seedsReactImage[key];
|
|
336
336
|
}
|
|
337
337
|
});
|
|
338
338
|
});
|
|
@@ -564,15 +564,15 @@ Object.keys(_Skeleton).forEach(function (key) {
|
|
|
564
564
|
}
|
|
565
565
|
});
|
|
566
566
|
});
|
|
567
|
-
var
|
|
568
|
-
Object.keys(
|
|
567
|
+
var _seedsReactSpotIllustration = require("@sproutsocial/seeds-react-spot-illustration");
|
|
568
|
+
Object.keys(_seedsReactSpotIllustration).forEach(function (key) {
|
|
569
569
|
if (key === "default" || key === "__esModule") return;
|
|
570
570
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
571
|
-
if (key in exports && exports[key] ===
|
|
571
|
+
if (key in exports && exports[key] === _seedsReactSpotIllustration[key]) return;
|
|
572
572
|
Object.defineProperty(exports, key, {
|
|
573
573
|
enumerable: true,
|
|
574
574
|
get: function get() {
|
|
575
|
-
return
|
|
575
|
+
return _seedsReactSpotIllustration[key];
|
|
576
576
|
}
|
|
577
577
|
});
|
|
578
578
|
});
|
|
@@ -744,15 +744,15 @@ Object.keys(_Tooltip).forEach(function (key) {
|
|
|
744
744
|
}
|
|
745
745
|
});
|
|
746
746
|
});
|
|
747
|
-
var
|
|
748
|
-
Object.keys(
|
|
747
|
+
var _seedsReactVisuallyHidden = require("@sproutsocial/seeds-react-visually-hidden");
|
|
748
|
+
Object.keys(_seedsReactVisuallyHidden).forEach(function (key) {
|
|
749
749
|
if (key === "default" || key === "__esModule") return;
|
|
750
750
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
751
|
-
if (key in exports && exports[key] ===
|
|
751
|
+
if (key in exports && exports[key] === _seedsReactVisuallyHidden[key]) return;
|
|
752
752
|
Object.defineProperty(exports, key, {
|
|
753
753
|
enumerable: true,
|
|
754
754
|
get: function get() {
|
|
755
|
-
return
|
|
755
|
+
return _seedsReactVisuallyHidden[key];
|
|
756
756
|
}
|
|
757
757
|
});
|
|
758
758
|
});
|