@sproutsocial/racine 25.3.0 → 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 +47 -0
- package/commonjs/DatePicker/common.js +0 -1
- package/commonjs/Drawer/Drawer.js +2 -2
- package/commonjs/Icon/styles.js +0 -1
- package/commonjs/Tooltip/Tooltip.js +3 -3
- package/commonjs/index.js +49 -48
- package/dist/dynamicProps.json +1 -1
- package/dist/types/DatePicker/common.d.ts.map +1 -1
- package/dist/types/Icon/styles.d.ts.map +1 -1
- package/dist/types/Numeral/constants.d.ts.map +1 -1
- package/dist/types/Toast/styles.d.ts +1 -1
- package/dist/types/index.d.ts +12 -12
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/utils/dataQaLabelQueries.d.ts.map +1 -1
- package/lib/DatePicker/common.js +0 -1
- package/lib/Drawer/Drawer.js +1 -1
- package/lib/Icon/styles.js +0 -1
- package/lib/Tooltip/Tooltip.js +1 -1
- package/lib/index.js +12 -12
- package/package.json +14 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,52 @@
|
|
|
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
|
+
|
|
33
|
+
## 25.3.1
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- ed554e3: Changed Link and Banner imports to use seeds-react version components at index
|
|
38
|
+
- 9ec95ec: Migrated Collapsible from Racine to seeds-react-collapsible
|
|
39
|
+
- c28ca00: Migrate CharacterCounter from Racine to seeds-react-character-counter
|
|
40
|
+
- Updated dependencies [9ec95ec]
|
|
41
|
+
- Updated dependencies [ed554e3]
|
|
42
|
+
- Updated dependencies [c28ca00]
|
|
43
|
+
- Updated dependencies [84c0ffa]
|
|
44
|
+
- @sproutsocial/seeds-react-collapsible@1.0.0
|
|
45
|
+
- @sproutsocial/seeds-react-banner@1.0.0
|
|
46
|
+
- @sproutsocial/seeds-react-link@1.0.0
|
|
47
|
+
- @sproutsocial/seeds-react-character-counter@1.0.0
|
|
48
|
+
- @sproutsocial/seeds-react-badge@1.0.0
|
|
49
|
+
|
|
3
50
|
## 25.3.0
|
|
4
51
|
|
|
5
52
|
### Minor Changes
|
|
@@ -11,7 +11,6 @@ var _Icon = _interopRequireDefault(require("../Icon"));
|
|
|
11
11
|
var _styles = require("./styles");
|
|
12
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
15
14
|
var iconNames = {
|
|
16
15
|
left: "arrow-left-solid",
|
|
17
16
|
right: "arrow-right-solid"
|
|
@@ -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
|
};
|
package/commonjs/Icon/styles.js
CHANGED
|
@@ -10,7 +10,6 @@ var _styledSystem = require("styled-system");
|
|
|
10
10
|
var _seedsReactSystemProps = require("@sproutsocial/seeds-react-system-props");
|
|
11
11
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
12
12
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
14
13
|
var sizes = {
|
|
15
14
|
mini: "12px",
|
|
16
15
|
/** TODO: deprecate default in favor of small in future release */
|
|
@@ -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,39 +108,39 @@ 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
|
});
|
|
123
|
-
var
|
|
124
|
-
Object.keys(
|
|
123
|
+
var _seedsReactBadge = require("@sproutsocial/seeds-react-badge");
|
|
124
|
+
Object.keys(_seedsReactBadge).forEach(function (key) {
|
|
125
125
|
if (key === "default" || key === "__esModule") return;
|
|
126
126
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
127
|
-
if (key in exports && exports[key] ===
|
|
127
|
+
if (key in exports && exports[key] === _seedsReactBadge[key]) return;
|
|
128
128
|
Object.defineProperty(exports, key, {
|
|
129
129
|
enumerable: true,
|
|
130
130
|
get: function get() {
|
|
131
|
-
return
|
|
131
|
+
return _seedsReactBadge[key];
|
|
132
132
|
}
|
|
133
133
|
});
|
|
134
134
|
});
|
|
135
|
-
var
|
|
136
|
-
Object.keys(
|
|
135
|
+
var _seedsReactBanner = require("@sproutsocial/seeds-react-banner");
|
|
136
|
+
Object.keys(_seedsReactBanner).forEach(function (key) {
|
|
137
137
|
if (key === "default" || key === "__esModule") return;
|
|
138
138
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
139
|
-
if (key in exports && exports[key] ===
|
|
139
|
+
if (key in exports && exports[key] === _seedsReactBanner[key]) return;
|
|
140
140
|
Object.defineProperty(exports, key, {
|
|
141
141
|
enumerable: true,
|
|
142
142
|
get: function get() {
|
|
143
|
-
return
|
|
143
|
+
return _seedsReactBanner[key];
|
|
144
144
|
}
|
|
145
145
|
});
|
|
146
146
|
});
|
|
@@ -180,39 +180,39 @@ 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
|
});
|
|
195
|
-
var
|
|
196
|
-
Object.keys(
|
|
195
|
+
var _seedsReactCharacterCounter = require("@sproutsocial/seeds-react-character-counter");
|
|
196
|
+
Object.keys(_seedsReactCharacterCounter).forEach(function (key) {
|
|
197
197
|
if (key === "default" || key === "__esModule") return;
|
|
198
198
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
199
|
-
if (key in exports && exports[key] ===
|
|
199
|
+
if (key in exports && exports[key] === _seedsReactCharacterCounter[key]) return;
|
|
200
200
|
Object.defineProperty(exports, key, {
|
|
201
201
|
enumerable: true,
|
|
202
202
|
get: function get() {
|
|
203
|
-
return
|
|
203
|
+
return _seedsReactCharacterCounter[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
|
});
|
|
@@ -228,15 +228,15 @@ Object.keys(_seedsReactCheckbox).forEach(function (key) {
|
|
|
228
228
|
}
|
|
229
229
|
});
|
|
230
230
|
});
|
|
231
|
-
var
|
|
232
|
-
Object.keys(
|
|
231
|
+
var _seedsReactCollapsible = require("@sproutsocial/seeds-react-collapsible");
|
|
232
|
+
Object.keys(_seedsReactCollapsible).forEach(function (key) {
|
|
233
233
|
if (key === "default" || key === "__esModule") return;
|
|
234
234
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
235
|
-
if (key in exports && exports[key] ===
|
|
235
|
+
if (key in exports && exports[key] === _seedsReactCollapsible[key]) return;
|
|
236
236
|
Object.defineProperty(exports, key, {
|
|
237
237
|
enumerable: true,
|
|
238
238
|
get: function get() {
|
|
239
|
-
return
|
|
239
|
+
return _seedsReactCollapsible[key];
|
|
240
240
|
}
|
|
241
241
|
});
|
|
242
242
|
});
|
|
@@ -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
|
});
|
|
@@ -384,15 +384,15 @@ Object.keys(_Label).forEach(function (key) {
|
|
|
384
384
|
}
|
|
385
385
|
});
|
|
386
386
|
});
|
|
387
|
-
var
|
|
388
|
-
Object.keys(
|
|
387
|
+
var _seedsReactLink = require("@sproutsocial/seeds-react-link");
|
|
388
|
+
Object.keys(_seedsReactLink).forEach(function (key) {
|
|
389
389
|
if (key === "default" || key === "__esModule") return;
|
|
390
390
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
391
|
-
if (key in exports && exports[key] ===
|
|
391
|
+
if (key in exports && exports[key] === _seedsReactLink[key]) return;
|
|
392
392
|
Object.defineProperty(exports, key, {
|
|
393
393
|
enumerable: true,
|
|
394
394
|
get: function get() {
|
|
395
|
-
return
|
|
395
|
+
return _seedsReactLink[key];
|
|
396
396
|
}
|
|
397
397
|
});
|
|
398
398
|
});
|
|
@@ -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,16 +744,17 @@ 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
|
});
|
|
759
|
+
var _Banner = require("./Banner");
|
|
759
760
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|