@sproutsocial/racine 25.3.1 → 25.5.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 +59 -0
- package/commonjs/Drawer/Drawer.js +2 -2
- package/commonjs/Tooltip/Tooltip.js +3 -3
- package/commonjs/index.js +60 -60
- package/dist/dynamicProps.json +1 -1
- package/dist/types/Menu/MenuTypes.d.ts +1 -1
- package/dist/types/Menu/MenuTypes.d.ts.map +1 -1
- package/dist/types/Toast/styles.d.ts +1 -1
- package/dist/types/index.d.ts +15 -15
- 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 +15 -15
- package/package.json +16 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,64 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 25.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- cf814f5: Migrate LoaderButton to its own seeds-react-loader-button package
|
|
8
|
+
- 8ca97dd: Migrated FormField, Fieldset, and Label to their own seeds-react component
|
|
9
|
+
- 423a10a: Migrated KeyboardKey from Racine to seeds-react-keyboard-key
|
|
10
|
+
- b812940: Migrated Duration from Racine to seeds-react-duration
|
|
11
|
+
- 69ed5b1: Migrated EmptyState from Racine to seeds-react-empty-state
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- f985353: Migrated Loader from Racine to seeds-react-loader
|
|
16
|
+
- 32c96ca: Fix `onClick` prop type for `Menu.Item`
|
|
17
|
+
- Updated dependencies [cf814f5]
|
|
18
|
+
- Updated dependencies [f985353]
|
|
19
|
+
- Updated dependencies [8ca97dd]
|
|
20
|
+
- Updated dependencies [423a10a]
|
|
21
|
+
- Updated dependencies [b812940]
|
|
22
|
+
- Updated dependencies [69ed5b1]
|
|
23
|
+
- @sproutsocial/seeds-react-loader-button@1.0.0
|
|
24
|
+
- @sproutsocial/seeds-react-loader@1.0.0
|
|
25
|
+
- @sproutsocial/seeds-react-form-field@1.0.0
|
|
26
|
+
- @sproutsocial/seeds-react-fieldset@1.0.0
|
|
27
|
+
- @sproutsocial/seeds-react-label@1.0.0
|
|
28
|
+
- @sproutsocial/seeds-react-keyboard-key@1.0.0
|
|
29
|
+
- @sproutsocial/seeds-react-duration@1.0.0
|
|
30
|
+
- @sproutsocial/seeds-react-empty-state@1.0.0
|
|
31
|
+
|
|
32
|
+
## 25.4.0
|
|
33
|
+
|
|
34
|
+
### Minor Changes
|
|
35
|
+
|
|
36
|
+
- 426f572: Migrated Avatar and Image components into their own packages
|
|
37
|
+
- 048afcf: - Migrate Card to seeds-react-card
|
|
38
|
+
- Migrate SpotIllustration to seeds-react-spot-illustration
|
|
39
|
+
- 5ee5604: Updates dependencies to leverage their new corresponding seeds-react packages
|
|
40
|
+
- def819d: Migrated Drawer from Racine to seeds-react-drawer
|
|
41
|
+
- e839317: Migrate VisuallyHidden to seeds-react-visually-hidden
|
|
42
|
+
|
|
43
|
+
### Patch Changes
|
|
44
|
+
|
|
45
|
+
- 8d0ffcf: Migrated Chart Legend from Racine to seeds-react-chart-legend
|
|
46
|
+
- Updated dependencies [426f572]
|
|
47
|
+
- Updated dependencies [048afcf]
|
|
48
|
+
- Updated dependencies [5ee5604]
|
|
49
|
+
- Updated dependencies [8d0ffcf]
|
|
50
|
+
- Updated dependencies [def819d]
|
|
51
|
+
- Updated dependencies [e839317]
|
|
52
|
+
- @sproutsocial/seeds-react-avatar@1.0.0
|
|
53
|
+
- @sproutsocial/seeds-react-image@1.0.0
|
|
54
|
+
- @sproutsocial/seeds-react-spot-illustration@1.0.0
|
|
55
|
+
- @sproutsocial/seeds-react-card@1.0.0
|
|
56
|
+
- @sproutsocial/seeds-motion@1.8.0
|
|
57
|
+
- @sproutsocial/seeds-react-popout@2.1.0
|
|
58
|
+
- @sproutsocial/seeds-react-chart-legend@1.0.0
|
|
59
|
+
- @sproutsocial/seeds-react-drawer@1.0.0
|
|
60
|
+
- @sproutsocial/seeds-react-visually-hidden@1.0.0
|
|
61
|
+
|
|
3
62
|
## 25.3.1
|
|
4
63
|
|
|
5
64
|
### 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,63 +252,63 @@ 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
|
});
|
|
267
|
-
var
|
|
268
|
-
Object.keys(
|
|
267
|
+
var _seedsReactDuration = require("@sproutsocial/seeds-react-duration");
|
|
268
|
+
Object.keys(_seedsReactDuration).forEach(function (key) {
|
|
269
269
|
if (key === "default" || key === "__esModule") return;
|
|
270
270
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
271
|
-
if (key in exports && exports[key] ===
|
|
271
|
+
if (key in exports && exports[key] === _seedsReactDuration[key]) return;
|
|
272
272
|
Object.defineProperty(exports, key, {
|
|
273
273
|
enumerable: true,
|
|
274
274
|
get: function get() {
|
|
275
|
-
return
|
|
275
|
+
return _seedsReactDuration[key];
|
|
276
276
|
}
|
|
277
277
|
});
|
|
278
278
|
});
|
|
279
|
-
var
|
|
280
|
-
Object.keys(
|
|
279
|
+
var _seedsReactEmptyState = require("@sproutsocial/seeds-react-empty-state");
|
|
280
|
+
Object.keys(_seedsReactEmptyState).forEach(function (key) {
|
|
281
281
|
if (key === "default" || key === "__esModule") return;
|
|
282
282
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
283
|
-
if (key in exports && exports[key] ===
|
|
283
|
+
if (key in exports && exports[key] === _seedsReactEmptyState[key]) return;
|
|
284
284
|
Object.defineProperty(exports, key, {
|
|
285
285
|
enumerable: true,
|
|
286
286
|
get: function get() {
|
|
287
|
-
return
|
|
287
|
+
return _seedsReactEmptyState[key];
|
|
288
288
|
}
|
|
289
289
|
});
|
|
290
290
|
});
|
|
291
|
-
var
|
|
292
|
-
Object.keys(
|
|
291
|
+
var _seedsReactFieldset = require("@sproutsocial/seeds-react-fieldset");
|
|
292
|
+
Object.keys(_seedsReactFieldset).forEach(function (key) {
|
|
293
293
|
if (key === "default" || key === "__esModule") return;
|
|
294
294
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
295
|
-
if (key in exports && exports[key] ===
|
|
295
|
+
if (key in exports && exports[key] === _seedsReactFieldset[key]) return;
|
|
296
296
|
Object.defineProperty(exports, key, {
|
|
297
297
|
enumerable: true,
|
|
298
298
|
get: function get() {
|
|
299
|
-
return
|
|
299
|
+
return _seedsReactFieldset[key];
|
|
300
300
|
}
|
|
301
301
|
});
|
|
302
302
|
});
|
|
303
|
-
var
|
|
304
|
-
Object.keys(
|
|
303
|
+
var _seedsReactFormField = require("@sproutsocial/seeds-react-form-field");
|
|
304
|
+
Object.keys(_seedsReactFormField).forEach(function (key) {
|
|
305
305
|
if (key === "default" || key === "__esModule") return;
|
|
306
306
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
307
|
-
if (key in exports && exports[key] ===
|
|
307
|
+
if (key in exports && exports[key] === _seedsReactFormField[key]) return;
|
|
308
308
|
Object.defineProperty(exports, key, {
|
|
309
309
|
enumerable: true,
|
|
310
310
|
get: function get() {
|
|
311
|
-
return
|
|
311
|
+
return _seedsReactFormField[key];
|
|
312
312
|
}
|
|
313
313
|
});
|
|
314
314
|
});
|
|
@@ -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
|
});
|
|
@@ -360,27 +360,27 @@ Object.keys(_seedsReactInput).forEach(function (key) {
|
|
|
360
360
|
}
|
|
361
361
|
});
|
|
362
362
|
});
|
|
363
|
-
var
|
|
364
|
-
Object.keys(
|
|
363
|
+
var _seedsReactKeyboardKey = require("@sproutsocial/seeds-react-keyboard-key");
|
|
364
|
+
Object.keys(_seedsReactKeyboardKey).forEach(function (key) {
|
|
365
365
|
if (key === "default" || key === "__esModule") return;
|
|
366
366
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
367
|
-
if (key in exports && exports[key] ===
|
|
367
|
+
if (key in exports && exports[key] === _seedsReactKeyboardKey[key]) return;
|
|
368
368
|
Object.defineProperty(exports, key, {
|
|
369
369
|
enumerable: true,
|
|
370
370
|
get: function get() {
|
|
371
|
-
return
|
|
371
|
+
return _seedsReactKeyboardKey[key];
|
|
372
372
|
}
|
|
373
373
|
});
|
|
374
374
|
});
|
|
375
|
-
var
|
|
376
|
-
Object.keys(
|
|
375
|
+
var _seedsReactLabel = require("@sproutsocial/seeds-react-label");
|
|
376
|
+
Object.keys(_seedsReactLabel).forEach(function (key) {
|
|
377
377
|
if (key === "default" || key === "__esModule") return;
|
|
378
378
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
379
|
-
if (key in exports && exports[key] ===
|
|
379
|
+
if (key in exports && exports[key] === _seedsReactLabel[key]) return;
|
|
380
380
|
Object.defineProperty(exports, key, {
|
|
381
381
|
enumerable: true,
|
|
382
382
|
get: function get() {
|
|
383
|
-
return
|
|
383
|
+
return _seedsReactLabel[key];
|
|
384
384
|
}
|
|
385
385
|
});
|
|
386
386
|
});
|
|
@@ -408,27 +408,27 @@ Object.keys(_Listbox).forEach(function (key) {
|
|
|
408
408
|
}
|
|
409
409
|
});
|
|
410
410
|
});
|
|
411
|
-
var
|
|
412
|
-
Object.keys(
|
|
411
|
+
var _seedsReactLoader = require("@sproutsocial/seeds-react-loader");
|
|
412
|
+
Object.keys(_seedsReactLoader).forEach(function (key) {
|
|
413
413
|
if (key === "default" || key === "__esModule") return;
|
|
414
414
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
415
|
-
if (key in exports && exports[key] ===
|
|
415
|
+
if (key in exports && exports[key] === _seedsReactLoader[key]) return;
|
|
416
416
|
Object.defineProperty(exports, key, {
|
|
417
417
|
enumerable: true,
|
|
418
418
|
get: function get() {
|
|
419
|
-
return
|
|
419
|
+
return _seedsReactLoader[key];
|
|
420
420
|
}
|
|
421
421
|
});
|
|
422
422
|
});
|
|
423
|
-
var
|
|
424
|
-
Object.keys(
|
|
423
|
+
var _seedsReactLoaderButton = require("@sproutsocial/seeds-react-loader-button");
|
|
424
|
+
Object.keys(_seedsReactLoaderButton).forEach(function (key) {
|
|
425
425
|
if (key === "default" || key === "__esModule") return;
|
|
426
426
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
427
|
-
if (key in exports && exports[key] ===
|
|
427
|
+
if (key in exports && exports[key] === _seedsReactLoaderButton[key]) return;
|
|
428
428
|
Object.defineProperty(exports, key, {
|
|
429
429
|
enumerable: true,
|
|
430
430
|
get: function get() {
|
|
431
|
-
return
|
|
431
|
+
return _seedsReactLoaderButton[key];
|
|
432
432
|
}
|
|
433
433
|
});
|
|
434
434
|
});
|
|
@@ -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
|
});
|