@sproutsocial/racine 22.3.0 → 22.4.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 +17 -0
- package/commonjs/Card/utils.js +3 -1
- package/commonjs/CharacterCounter/CharacterCounter.js +1 -1
- package/commonjs/themes/light/theme.js +42 -44
- package/dist/types/Card/utils.d.ts.map +1 -1
- package/dist/types/themes/dark/theme.d.ts +49 -121
- package/dist/types/themes/dark/theme.d.ts.map +1 -1
- package/dist/types/themes/light/theme.d.ts +85 -193
- package/dist/types/themes/light/theme.d.ts.map +1 -1
- package/lib/Card/utils.js +4 -2
- package/lib/CharacterCounter/CharacterCounter.js +1 -1
- package/lib/themes/light/theme.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 22.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6dbb477: Updated Card component utility to fix a console warning about setting state during the render step by wrapping the offending state change in a useEffect wrapper. Should solve the issue for all Card subcomponents
|
|
8
|
+
|
|
9
|
+
## 22.4.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- c984c58: Character counter component now considers 0 as valid
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [7f88b0a]
|
|
18
|
+
- @sproutsocial/seeds-icons@1.9.0
|
|
19
|
+
|
|
3
20
|
## 22.3.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
package/commonjs/Card/utils.js
CHANGED
|
@@ -16,7 +16,9 @@ var SubComponentContext = exports.SubComponentContext = /*#__PURE__*/(0, _react.
|
|
|
16
16
|
function useChildContext() {
|
|
17
17
|
var _useContext = (0, _react.useContext)(SubComponentContext),
|
|
18
18
|
setHasSubComponent = _useContext.setHasSubComponent;
|
|
19
|
-
|
|
19
|
+
(0, _react.useEffect)(function () {
|
|
20
|
+
setHasSubComponent && setHasSubComponent(true);
|
|
21
|
+
}, [setHasSubComponent]);
|
|
20
22
|
}
|
|
21
23
|
var navigateTo = exports.navigateTo = function navigateTo(_ref) {
|
|
22
24
|
var _ref$current, _window$open;
|
|
@@ -43,7 +43,7 @@ var CharacterCounter = exports.default = /*#__PURE__*/function (_React$Component
|
|
|
43
43
|
return /*#__PURE__*/React.createElement(_styles.default, _extends({
|
|
44
44
|
role: "status",
|
|
45
45
|
mini: size === "mini",
|
|
46
|
-
overlimit: remaining
|
|
46
|
+
overlimit: remaining < 0
|
|
47
47
|
}, rest), remaining);
|
|
48
48
|
}
|
|
49
49
|
}]);
|
|
@@ -7,7 +7,7 @@ exports.typography = exports.space = exports.shadows = exports.radii = exports.l
|
|
|
7
7
|
var _polished = require("polished");
|
|
8
8
|
var _seedsColor = _interopRequireDefault(require("@sproutsocial/seeds-color"));
|
|
9
9
|
var _seedsNetworkcolor = _interopRequireDefault(require("@sproutsocial/seeds-networkcolor"));
|
|
10
|
-
var
|
|
10
|
+
var _seedsTypography = _interopRequireDefault(require("@sproutsocial/seeds-typography"));
|
|
11
11
|
var _seedsSpace = _interopRequireDefault(require("@sproutsocial/seeds-space"));
|
|
12
12
|
var _seedsDepth = _interopRequireDefault(require("@sproutsocial/seeds-depth"));
|
|
13
13
|
var _seedsMotion = _interopRequireDefault(require("@sproutsocial/seeds-motion"));
|
|
@@ -15,8 +15,6 @@ var _seedsBorder = _interopRequireDefault(require("@sproutsocial/seeds-border"))
|
|
|
15
15
|
var _literalColors = _interopRequireDefault(require("./literal-colors"));
|
|
16
16
|
var _datavizPalette = require("./dataviz-palette");
|
|
17
17
|
var _decorativePalettes = require("./decorative-palettes");
|
|
18
|
-
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); }
|
|
19
|
-
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; }
|
|
20
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
19
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
22
20
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -301,53 +299,53 @@ var colors = _objectSpread(_objectSpread({
|
|
|
301
299
|
}
|
|
302
300
|
}, _literalColors.default), _datavizPalette.datavizPalette);
|
|
303
301
|
var typography = exports.typography = {
|
|
304
|
-
100:
|
|
305
|
-
200:
|
|
306
|
-
300:
|
|
307
|
-
400:
|
|
308
|
-
500:
|
|
309
|
-
600:
|
|
310
|
-
700:
|
|
311
|
-
800:
|
|
312
|
-
900:
|
|
313
|
-
1000:
|
|
314
|
-
1100:
|
|
315
|
-
1200:
|
|
302
|
+
100: _seedsTypography.default.TYPOGRAPHY_SIZE_100,
|
|
303
|
+
200: _seedsTypography.default.TYPOGRAPHY_SIZE_200,
|
|
304
|
+
300: _seedsTypography.default.TYPOGRAPHY_SIZE_300,
|
|
305
|
+
400: _seedsTypography.default.TYPOGRAPHY_SIZE_400,
|
|
306
|
+
500: _seedsTypography.default.TYPOGRAPHY_SIZE_500,
|
|
307
|
+
600: _seedsTypography.default.TYPOGRAPHY_SIZE_600,
|
|
308
|
+
700: _seedsTypography.default.TYPOGRAPHY_SIZE_700,
|
|
309
|
+
800: _seedsTypography.default.TYPOGRAPHY_SIZE_800,
|
|
310
|
+
900: _seedsTypography.default.TYPOGRAPHY_SIZE_900,
|
|
311
|
+
1000: _seedsTypography.default.TYPOGRAPHY_SIZE_1000,
|
|
312
|
+
1100: _seedsTypography.default.TYPOGRAPHY_SIZE_1100,
|
|
313
|
+
1200: _seedsTypography.default.TYPOGRAPHY_SIZE_1200
|
|
316
314
|
};
|
|
317
315
|
var fontSizes = exports.fontSizes = {
|
|
318
|
-
100:
|
|
319
|
-
200:
|
|
320
|
-
300:
|
|
321
|
-
400:
|
|
322
|
-
500:
|
|
323
|
-
600:
|
|
324
|
-
700:
|
|
325
|
-
800:
|
|
326
|
-
900:
|
|
327
|
-
1000:
|
|
328
|
-
1100:
|
|
329
|
-
1200:
|
|
316
|
+
100: _seedsTypography.default.TYPOGRAPHY_SIZE_100.fontSize,
|
|
317
|
+
200: _seedsTypography.default.TYPOGRAPHY_SIZE_200.fontSize,
|
|
318
|
+
300: _seedsTypography.default.TYPOGRAPHY_SIZE_300.fontSize,
|
|
319
|
+
400: _seedsTypography.default.TYPOGRAPHY_SIZE_400.fontSize,
|
|
320
|
+
500: _seedsTypography.default.TYPOGRAPHY_SIZE_500.fontSize,
|
|
321
|
+
600: _seedsTypography.default.TYPOGRAPHY_SIZE_600.fontSize,
|
|
322
|
+
700: _seedsTypography.default.TYPOGRAPHY_SIZE_700.fontSize,
|
|
323
|
+
800: _seedsTypography.default.TYPOGRAPHY_SIZE_800.fontSize,
|
|
324
|
+
900: _seedsTypography.default.TYPOGRAPHY_SIZE_900.fontSize,
|
|
325
|
+
1000: _seedsTypography.default.TYPOGRAPHY_SIZE_1000.fontSize,
|
|
326
|
+
1100: _seedsTypography.default.TYPOGRAPHY_SIZE_1100.fontSize,
|
|
327
|
+
1200: _seedsTypography.default.TYPOGRAPHY_SIZE_1200.fontSize
|
|
330
328
|
};
|
|
331
329
|
var lineHeights = exports.lineHeights = {
|
|
332
|
-
100:
|
|
333
|
-
200:
|
|
334
|
-
300:
|
|
335
|
-
400:
|
|
336
|
-
500:
|
|
337
|
-
600:
|
|
338
|
-
700:
|
|
339
|
-
800:
|
|
340
|
-
900:
|
|
341
|
-
1000:
|
|
342
|
-
1100:
|
|
343
|
-
1200:
|
|
330
|
+
100: _seedsTypography.default.TYPOGRAPHY_SIZE_100.lineHeight,
|
|
331
|
+
200: _seedsTypography.default.TYPOGRAPHY_SIZE_200.lineHeight,
|
|
332
|
+
300: _seedsTypography.default.TYPOGRAPHY_SIZE_300.lineHeight,
|
|
333
|
+
400: _seedsTypography.default.TYPOGRAPHY_SIZE_400.lineHeight,
|
|
334
|
+
500: _seedsTypography.default.TYPOGRAPHY_SIZE_500.lineHeight,
|
|
335
|
+
600: _seedsTypography.default.TYPOGRAPHY_SIZE_600.lineHeight,
|
|
336
|
+
700: _seedsTypography.default.TYPOGRAPHY_SIZE_700.lineHeight,
|
|
337
|
+
800: _seedsTypography.default.TYPOGRAPHY_SIZE_800.lineHeight,
|
|
338
|
+
900: _seedsTypography.default.TYPOGRAPHY_SIZE_900.lineHeight,
|
|
339
|
+
1000: _seedsTypography.default.TYPOGRAPHY_SIZE_1000.lineHeight,
|
|
340
|
+
1100: _seedsTypography.default.TYPOGRAPHY_SIZE_1100.lineHeight,
|
|
341
|
+
1200: _seedsTypography.default.TYPOGRAPHY_SIZE_1200.lineHeight
|
|
344
342
|
};
|
|
345
|
-
var fontFamily = exports.fontFamily =
|
|
343
|
+
var fontFamily = exports.fontFamily = _seedsTypography.default.TYPOGRAPHY_FAMILY;
|
|
346
344
|
var fontWeights = exports.fontWeights = {
|
|
347
|
-
normal:
|
|
348
|
-
semibold:
|
|
349
|
-
bold:
|
|
350
|
-
extrabold:
|
|
345
|
+
normal: _seedsTypography.default.TYPOGRAPHY_WEIGHT_NORMAL,
|
|
346
|
+
semibold: _seedsTypography.default.TYPOGRAPHY_WEIGHT_SEMIBOLD,
|
|
347
|
+
bold: _seedsTypography.default.TYPOGRAPHY_WEIGHT_BOLD,
|
|
348
|
+
extrabold: _seedsTypography.default.TYPOGRAPHY_WEIGHT_EXTRA_BOLD
|
|
351
349
|
};
|
|
352
350
|
var space = exports.space = {
|
|
353
351
|
0: _seedsSpace.default.SPACE_SIZE_0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/Card/utils.ts"],"names":[],"mappings":";;AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9C,eAAO,MAAM,mBAAmB,0CAK9B,CAAC;AAEH,wBAAgB,eAAe,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/Card/utils.ts"],"names":[],"mappings":";;AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9C,eAAO,MAAM,mBAAmB,0CAK9B,CAAC;AAEH,wBAAgB,eAAe,SAK9B;AAED,UAAU,gBAAiB,SAAQ,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC;IAC5D,CAAC,EAAE,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,aAAa,CAAC;IAC1C,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;CACtC;AAED,eAAO,MAAM,UAAU,qBAAsB,gBAAgB,SAiB5D,CAAC;AAEF,UAAU,eACR,SAAQ,IAAI,CAAC,aAAa,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAAC;IACxD,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACvB,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;CACtC;AAED,eAAO,MAAM,SAAS,oCAAqC,eAAe,SAYzE,CAAC"}
|
|
@@ -482,131 +482,59 @@ declare const darkTheme: {
|
|
|
482
482
|
breakpoints: string[];
|
|
483
483
|
typography: {
|
|
484
484
|
typography: {
|
|
485
|
-
100:
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
fontSize: string;
|
|
511
|
-
lineHeight: string;
|
|
512
|
-
};
|
|
513
|
-
800: {
|
|
514
|
-
fontSize: string;
|
|
515
|
-
lineHeight: string;
|
|
516
|
-
};
|
|
517
|
-
900: {
|
|
518
|
-
fontSize: string;
|
|
519
|
-
lineHeight: string;
|
|
520
|
-
};
|
|
521
|
-
1000: {
|
|
522
|
-
fontSize: string;
|
|
523
|
-
lineHeight: string;
|
|
524
|
-
};
|
|
525
|
-
1100: {
|
|
526
|
-
fontSize: string;
|
|
527
|
-
lineHeight: string;
|
|
528
|
-
};
|
|
529
|
-
1200: {
|
|
530
|
-
fontSize: string;
|
|
531
|
-
lineHeight: string;
|
|
532
|
-
};
|
|
533
|
-
};
|
|
534
|
-
100: {
|
|
535
|
-
fontSize: string;
|
|
536
|
-
lineHeight: string;
|
|
537
|
-
};
|
|
538
|
-
200: {
|
|
539
|
-
fontSize: string;
|
|
540
|
-
lineHeight: string;
|
|
541
|
-
};
|
|
542
|
-
300: {
|
|
543
|
-
fontSize: string;
|
|
544
|
-
lineHeight: string;
|
|
545
|
-
};
|
|
546
|
-
400: {
|
|
547
|
-
fontSize: string;
|
|
548
|
-
lineHeight: string;
|
|
549
|
-
};
|
|
550
|
-
500: {
|
|
551
|
-
fontSize: string;
|
|
552
|
-
lineHeight: string;
|
|
553
|
-
};
|
|
554
|
-
600: {
|
|
555
|
-
fontSize: string;
|
|
556
|
-
lineHeight: string;
|
|
557
|
-
};
|
|
558
|
-
700: {
|
|
559
|
-
fontSize: string;
|
|
560
|
-
lineHeight: string;
|
|
561
|
-
};
|
|
562
|
-
800: {
|
|
563
|
-
fontSize: string;
|
|
564
|
-
lineHeight: string;
|
|
565
|
-
};
|
|
566
|
-
900: {
|
|
567
|
-
fontSize: string;
|
|
568
|
-
lineHeight: string;
|
|
569
|
-
};
|
|
570
|
-
1000: {
|
|
571
|
-
fontSize: string;
|
|
572
|
-
lineHeight: string;
|
|
573
|
-
};
|
|
574
|
-
1100: {
|
|
575
|
-
fontSize: string;
|
|
576
|
-
lineHeight: string;
|
|
577
|
-
};
|
|
578
|
-
1200: {
|
|
579
|
-
fontSize: string;
|
|
580
|
-
lineHeight: string;
|
|
581
|
-
};
|
|
485
|
+
100: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
486
|
+
200: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
487
|
+
300: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
488
|
+
400: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
489
|
+
500: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
490
|
+
600: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
491
|
+
700: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
492
|
+
800: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
493
|
+
900: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
494
|
+
1000: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
495
|
+
1100: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
496
|
+
1200: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
497
|
+
};
|
|
498
|
+
100: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
499
|
+
200: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
500
|
+
300: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
501
|
+
400: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
502
|
+
500: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
503
|
+
600: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
504
|
+
700: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
505
|
+
800: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
506
|
+
900: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
507
|
+
1000: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
508
|
+
1100: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
509
|
+
1200: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
582
510
|
};
|
|
583
511
|
fontSizes: {
|
|
584
|
-
100: string;
|
|
585
|
-
200: string;
|
|
586
|
-
300: string;
|
|
587
|
-
400: string;
|
|
588
|
-
500: string;
|
|
589
|
-
600: string;
|
|
590
|
-
700: string;
|
|
591
|
-
800: string;
|
|
592
|
-
900: string;
|
|
593
|
-
1000: string;
|
|
594
|
-
1100: string;
|
|
595
|
-
1200: string;
|
|
512
|
+
100: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
513
|
+
200: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
514
|
+
300: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
515
|
+
400: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
516
|
+
500: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
517
|
+
600: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
518
|
+
700: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
519
|
+
800: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
520
|
+
900: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
521
|
+
1000: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
522
|
+
1100: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
523
|
+
1200: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
596
524
|
};
|
|
597
525
|
lineHeights: {
|
|
598
|
-
100: string;
|
|
599
|
-
200: string;
|
|
600
|
-
300: string;
|
|
601
|
-
400: string;
|
|
602
|
-
500: string;
|
|
603
|
-
600: string;
|
|
604
|
-
700: string;
|
|
605
|
-
800: string;
|
|
606
|
-
900: string;
|
|
607
|
-
1000: string;
|
|
608
|
-
1100: string;
|
|
609
|
-
1200: string;
|
|
526
|
+
100: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
527
|
+
200: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
528
|
+
300: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
529
|
+
400: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
530
|
+
500: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
531
|
+
600: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
532
|
+
700: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
533
|
+
800: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
534
|
+
900: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
535
|
+
1000: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
536
|
+
1100: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
537
|
+
1200: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
610
538
|
};
|
|
611
539
|
fontFamily: string;
|
|
612
540
|
fontWeights: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/themes/dark/theme.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAgPF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;0BA7NT,mDAAmD;;;;;;;;;;;;;;;gBAAnD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;gBAyBnD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2IrD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BApKjD,mDAAmD
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/themes/dark/theme.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAgPF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;0BA7NT,mDAAmD;;;;;;;;;;;;;;;gBAAnD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;gBAyBnD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2IrD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BApKjD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkOxD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,81 +1,45 @@
|
|
|
1
1
|
export declare const breakpoints: string[];
|
|
2
2
|
export declare const typography: {
|
|
3
|
-
100:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
400: {
|
|
16
|
-
fontSize: string;
|
|
17
|
-
lineHeight: string;
|
|
18
|
-
};
|
|
19
|
-
500: {
|
|
20
|
-
fontSize: string;
|
|
21
|
-
lineHeight: string;
|
|
22
|
-
};
|
|
23
|
-
600: {
|
|
24
|
-
fontSize: string;
|
|
25
|
-
lineHeight: string;
|
|
26
|
-
};
|
|
27
|
-
700: {
|
|
28
|
-
fontSize: string;
|
|
29
|
-
lineHeight: string;
|
|
30
|
-
};
|
|
31
|
-
800: {
|
|
32
|
-
fontSize: string;
|
|
33
|
-
lineHeight: string;
|
|
34
|
-
};
|
|
35
|
-
900: {
|
|
36
|
-
fontSize: string;
|
|
37
|
-
lineHeight: string;
|
|
38
|
-
};
|
|
39
|
-
1000: {
|
|
40
|
-
fontSize: string;
|
|
41
|
-
lineHeight: string;
|
|
42
|
-
};
|
|
43
|
-
1100: {
|
|
44
|
-
fontSize: string;
|
|
45
|
-
lineHeight: string;
|
|
46
|
-
};
|
|
47
|
-
1200: {
|
|
48
|
-
fontSize: string;
|
|
49
|
-
lineHeight: string;
|
|
50
|
-
};
|
|
3
|
+
100: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
4
|
+
200: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
5
|
+
300: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
6
|
+
400: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
7
|
+
500: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
8
|
+
600: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
9
|
+
700: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
10
|
+
800: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
11
|
+
900: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
12
|
+
1000: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
13
|
+
1100: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
14
|
+
1200: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
51
15
|
};
|
|
52
16
|
export declare const fontSizes: {
|
|
53
|
-
100: string;
|
|
54
|
-
200: string;
|
|
55
|
-
300: string;
|
|
56
|
-
400: string;
|
|
57
|
-
500: string;
|
|
58
|
-
600: string;
|
|
59
|
-
700: string;
|
|
60
|
-
800: string;
|
|
61
|
-
900: string;
|
|
62
|
-
1000: string;
|
|
63
|
-
1100: string;
|
|
64
|
-
1200: string;
|
|
17
|
+
100: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
18
|
+
200: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
19
|
+
300: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
20
|
+
400: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
21
|
+
500: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
22
|
+
600: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
23
|
+
700: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
24
|
+
800: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
25
|
+
900: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
26
|
+
1000: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
27
|
+
1100: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
28
|
+
1200: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
65
29
|
};
|
|
66
30
|
export declare const lineHeights: {
|
|
67
|
-
100: string;
|
|
68
|
-
200: string;
|
|
69
|
-
300: string;
|
|
70
|
-
400: string;
|
|
71
|
-
500: string;
|
|
72
|
-
600: string;
|
|
73
|
-
700: string;
|
|
74
|
-
800: string;
|
|
75
|
-
900: string;
|
|
76
|
-
1000: string;
|
|
77
|
-
1100: string;
|
|
78
|
-
1200: string;
|
|
31
|
+
100: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
32
|
+
200: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
33
|
+
300: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
34
|
+
400: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
35
|
+
500: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
36
|
+
600: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
37
|
+
700: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
38
|
+
800: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
39
|
+
900: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
40
|
+
1000: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
41
|
+
1100: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
42
|
+
1200: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
79
43
|
};
|
|
80
44
|
export type TypeFontFamilyString = string;
|
|
81
45
|
export declare const fontFamily: string;
|
|
@@ -599,131 +563,59 @@ declare const theme: {
|
|
|
599
563
|
};
|
|
600
564
|
typography: {
|
|
601
565
|
typography: {
|
|
602
|
-
100:
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
fontSize: string;
|
|
628
|
-
lineHeight: string;
|
|
629
|
-
};
|
|
630
|
-
800: {
|
|
631
|
-
fontSize: string;
|
|
632
|
-
lineHeight: string;
|
|
633
|
-
};
|
|
634
|
-
900: {
|
|
635
|
-
fontSize: string;
|
|
636
|
-
lineHeight: string;
|
|
637
|
-
};
|
|
638
|
-
1000: {
|
|
639
|
-
fontSize: string;
|
|
640
|
-
lineHeight: string;
|
|
641
|
-
};
|
|
642
|
-
1100: {
|
|
643
|
-
fontSize: string;
|
|
644
|
-
lineHeight: string;
|
|
645
|
-
};
|
|
646
|
-
1200: {
|
|
647
|
-
fontSize: string;
|
|
648
|
-
lineHeight: string;
|
|
649
|
-
};
|
|
650
|
-
};
|
|
651
|
-
100: {
|
|
652
|
-
fontSize: string;
|
|
653
|
-
lineHeight: string;
|
|
654
|
-
};
|
|
655
|
-
200: {
|
|
656
|
-
fontSize: string;
|
|
657
|
-
lineHeight: string;
|
|
658
|
-
};
|
|
659
|
-
300: {
|
|
660
|
-
fontSize: string;
|
|
661
|
-
lineHeight: string;
|
|
662
|
-
};
|
|
663
|
-
400: {
|
|
664
|
-
fontSize: string;
|
|
665
|
-
lineHeight: string;
|
|
666
|
-
};
|
|
667
|
-
500: {
|
|
668
|
-
fontSize: string;
|
|
669
|
-
lineHeight: string;
|
|
670
|
-
};
|
|
671
|
-
600: {
|
|
672
|
-
fontSize: string;
|
|
673
|
-
lineHeight: string;
|
|
674
|
-
};
|
|
675
|
-
700: {
|
|
676
|
-
fontSize: string;
|
|
677
|
-
lineHeight: string;
|
|
678
|
-
};
|
|
679
|
-
800: {
|
|
680
|
-
fontSize: string;
|
|
681
|
-
lineHeight: string;
|
|
682
|
-
};
|
|
683
|
-
900: {
|
|
684
|
-
fontSize: string;
|
|
685
|
-
lineHeight: string;
|
|
686
|
-
};
|
|
687
|
-
1000: {
|
|
688
|
-
fontSize: string;
|
|
689
|
-
lineHeight: string;
|
|
690
|
-
};
|
|
691
|
-
1100: {
|
|
692
|
-
fontSize: string;
|
|
693
|
-
lineHeight: string;
|
|
694
|
-
};
|
|
695
|
-
1200: {
|
|
696
|
-
fontSize: string;
|
|
697
|
-
lineHeight: string;
|
|
698
|
-
};
|
|
566
|
+
100: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
567
|
+
200: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
568
|
+
300: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
569
|
+
400: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
570
|
+
500: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
571
|
+
600: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
572
|
+
700: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
573
|
+
800: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
574
|
+
900: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
575
|
+
1000: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
576
|
+
1100: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
577
|
+
1200: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
578
|
+
};
|
|
579
|
+
100: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
580
|
+
200: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
581
|
+
300: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
582
|
+
400: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
583
|
+
500: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
584
|
+
600: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
585
|
+
700: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
586
|
+
800: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
587
|
+
900: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
588
|
+
1000: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
589
|
+
1100: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
590
|
+
1200: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
699
591
|
};
|
|
700
592
|
fontSizes: {
|
|
701
|
-
100: string;
|
|
702
|
-
200: string;
|
|
703
|
-
300: string;
|
|
704
|
-
400: string;
|
|
705
|
-
500: string;
|
|
706
|
-
600: string;
|
|
707
|
-
700: string;
|
|
708
|
-
800: string;
|
|
709
|
-
900: string;
|
|
710
|
-
1000: string;
|
|
711
|
-
1100: string;
|
|
712
|
-
1200: string;
|
|
593
|
+
100: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
594
|
+
200: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
595
|
+
300: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
596
|
+
400: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
597
|
+
500: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
598
|
+
600: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
599
|
+
700: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
600
|
+
800: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
601
|
+
900: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
602
|
+
1000: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
603
|
+
1100: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
604
|
+
1200: import("csstype").Property.FontSize<0 | (string & {})> | undefined;
|
|
713
605
|
};
|
|
714
606
|
lineHeights: {
|
|
715
|
-
100: string;
|
|
716
|
-
200: string;
|
|
717
|
-
300: string;
|
|
718
|
-
400: string;
|
|
719
|
-
500: string;
|
|
720
|
-
600: string;
|
|
721
|
-
700: string;
|
|
722
|
-
800: string;
|
|
723
|
-
900: string;
|
|
724
|
-
1000: string;
|
|
725
|
-
1100: string;
|
|
726
|
-
1200: string;
|
|
607
|
+
100: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
608
|
+
200: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
609
|
+
300: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
610
|
+
400: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
611
|
+
500: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
612
|
+
600: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
613
|
+
700: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
614
|
+
800: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
615
|
+
900: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
616
|
+
1000: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
617
|
+
1100: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
618
|
+
1200: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
|
|
727
619
|
};
|
|
728
620
|
fontFamily: string;
|
|
729
621
|
fontWeights: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/themes/light/theme.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,WAAW,UAA0C,CAAC;AAyRnE,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/themes/light/theme.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,WAAW,UAA0C,CAAC;AAyRnE,eAAO,MAAM,UAAU;;;;;;;;;;;;;CAatB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;CAarB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;CAavB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC;AAE1C,eAAO,MAAM,UAAU,QAA+B,CAAC;AAEvD,eAAO,MAAM,WAAW;;;;;CAKvB,CAAC;AAEF,eAAO,MAAM,KAAK;;;;;;;;;;CAUjB,CAAC;AAEF,eAAO,MAAM,KAAK;;;;;;;;CAQjB,CAAC;AAEF,eAAO,MAAM,OAAO;;CAEnB,CAAC;AAEF,eAAO,MAAM,YAAY;;CAExB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;CAIlB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA7WL,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;gBAyBnD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2IrD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuOtD,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/lib/Card/utils.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createContext, useContext } from "react";
|
|
1
|
+
import { createContext, useContext, useEffect } from "react";
|
|
2
2
|
import { assertIsElement } from "@sproutsocial/seeds-react-utilities";
|
|
3
3
|
export var SubComponentContext = /*#__PURE__*/createContext({
|
|
4
4
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
@@ -9,7 +9,9 @@ export var SubComponentContext = /*#__PURE__*/createContext({
|
|
|
9
9
|
export function useChildContext() {
|
|
10
10
|
var _useContext = useContext(SubComponentContext),
|
|
11
11
|
setHasSubComponent = _useContext.setHasSubComponent;
|
|
12
|
-
|
|
12
|
+
useEffect(function () {
|
|
13
|
+
setHasSubComponent && setHasSubComponent(true);
|
|
14
|
+
}, [setHasSubComponent]);
|
|
13
15
|
}
|
|
14
16
|
export var navigateTo = function navigateTo(_ref) {
|
|
15
17
|
var _ref$current, _window$open;
|
|
@@ -34,7 +34,7 @@ var CharacterCounter = /*#__PURE__*/function (_React$Component) {
|
|
|
34
34
|
return /*#__PURE__*/React.createElement(Container, _extends({
|
|
35
35
|
role: "status",
|
|
36
36
|
mini: size === "mini",
|
|
37
|
-
overlimit: remaining
|
|
37
|
+
overlimit: remaining < 0
|
|
38
38
|
}, rest), remaining);
|
|
39
39
|
}
|
|
40
40
|
}]);
|
|
@@ -9,7 +9,7 @@ import { transparentize } from "polished";
|
|
|
9
9
|
import COLORS from "@sproutsocial/seeds-color";
|
|
10
10
|
import NETWORKCOLORS from "@sproutsocial/seeds-networkcolor";
|
|
11
11
|
// eslint-disable-next-line no-restricted-syntax
|
|
12
|
-
import
|
|
12
|
+
import TYPOGRAPHY from "@sproutsocial/seeds-typography";
|
|
13
13
|
import SPACE from "@sproutsocial/seeds-space";
|
|
14
14
|
import DEPTH from "@sproutsocial/seeds-depth";
|
|
15
15
|
import MOTION from "@sproutsocial/seeds-motion";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sproutsocial/racine",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.4.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18"
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
"watch-app": "BABEL_ENV=es node ./bin/buildApp.js --watch",
|
|
36
36
|
"start-package-only": "npm-run-all install-deps clean -p watch-package",
|
|
37
37
|
"dev:storybook": "npm-run-all clean -p watch-package watch-app",
|
|
38
|
-
"
|
|
39
|
-
"build
|
|
38
|
+
"dev": "npm-run-all clean -p watch-package watch-app",
|
|
39
|
+
"build": "npm-run-all -s clean build:ts-declarations build-package",
|
|
40
|
+
"deploy:apps": "npm-run-all -s clean build:ts-declarations build-app",
|
|
40
41
|
"format": "prettier --write .",
|
|
41
42
|
"format:check": "prettier -c .",
|
|
42
43
|
"lint": "eslint --max-warnings=0 --fix .",
|
|
43
44
|
"lint:check": "eslint --max-warnings=0 --ext .ts,.tsx,.js .",
|
|
44
45
|
"jest": "jest --no-cache",
|
|
45
46
|
"jest:watch": "jest --watch",
|
|
46
|
-
"typecheck:flow": "flow check --max-warnings 0",
|
|
47
47
|
"typecheck:ts": "tsc --noEmit",
|
|
48
|
-
"typecheck": "npm-run-all typecheck:
|
|
48
|
+
"typecheck": "npm-run-all typecheck:ts",
|
|
49
49
|
"test": "yarn jest",
|
|
50
50
|
"test:visual-regression": "yarn backstop test --config='backstop.config.js' --docker",
|
|
51
51
|
"backstop-reference": "yarn backstop reference --config='backstop.config.js' --docker",
|