@sproutsocial/racine 21.1.0 → 22.1.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 +22 -0
- package/README.md +2 -1
- package/commonjs/Badge/styles.js +2 -2
- package/commonjs/Banner/styles.js +2 -2
- package/commonjs/Box/styles.js +2 -2
- package/commonjs/Button/styles.js +8 -7
- package/commonjs/Card/styles.js +4 -4
- package/commonjs/Card/utils.js +2 -2
- package/commonjs/CharacterCounter/styles.js +2 -2
- package/commonjs/ChartLegend/styles.js +3 -3
- package/commonjs/Checkbox/styles.js +6 -6
- package/commonjs/DatePicker/styles.js +2 -2
- package/commonjs/Drawer/styles.js +2 -2
- package/commonjs/FormField/FormField.js +3 -3
- package/commonjs/Icon/styles.js +2 -2
- package/commonjs/Image/styles.js +2 -2
- package/commonjs/Indicator/styles.js +3 -3
- package/commonjs/Input/Input.js +7 -7
- package/commonjs/Input/styles.js +4 -4
- package/commonjs/KeyboardKey/styles.js +2 -2
- package/commonjs/Link/styles.js +5 -5
- package/commonjs/Loader/styles.js +4 -4
- package/commonjs/Menu/Menu.js +13 -8
- package/commonjs/Menu/styles.js +3 -3
- package/commonjs/Message/Message.js +2 -2
- package/commonjs/Message/styles.js +3 -3
- package/commonjs/Modal/styles.js +2 -2
- package/commonjs/PartnerLogo/styles.js +2 -2
- package/commonjs/Popout/Popout.js +2 -2
- package/commonjs/Popout/styles.js +2 -2
- package/commonjs/Portal/Portal.js +4 -4
- package/commonjs/Radio/styles.js +5 -5
- package/commonjs/SegmentedControl/styles.js +4 -4
- package/commonjs/Select/styles.js +4 -4
- package/commonjs/Switch/styles.js +2 -2
- package/commonjs/Table/styles.js +2 -2
- package/commonjs/TableCell/styles.js +2 -2
- package/commonjs/TableHeaderCell/styles.js +2 -2
- package/commonjs/TableRowAccordion/styles.js +2 -2
- package/commonjs/Tabs/styles.js +2 -2
- package/commonjs/Text/styles.js +2 -2
- package/commonjs/Textarea/styles.js +4 -4
- package/commonjs/ThemeProvider/index.js +2 -3
- package/commonjs/ToggleHint/styles.js +4 -4
- package/commonjs/Token/Token.js +2 -2
- package/commonjs/Token/styles.js +4 -4
- package/commonjs/TokenInput/styles.js +4 -4
- package/commonjs/VisuallyHidden/VisuallyHidden.js +2 -2
- package/commonjs/index.js +89 -108
- package/commonjs/types/index.js +4 -15
- package/commonjs/utils/hooks.js +2 -2
- package/commonjs/utils/mixins.js +3 -4
- package/commonjs/utils/react-testing-library.js +2 -2
- package/commonjs/utils/responsiveProps/index.js +2 -3
- package/dist/types/Badge/BadgeTypes.d.ts +1 -1
- package/dist/types/Badge/BadgeTypes.d.ts.map +1 -1
- package/dist/types/Banner/BannerTypes.d.ts +1 -1
- package/dist/types/Banner/BannerTypes.d.ts.map +1 -1
- package/dist/types/Box/BoxTypes.d.ts +1 -1
- package/dist/types/Box/BoxTypes.d.ts.map +1 -1
- package/dist/types/Breadcrumb/BreadcrumbTypes.d.ts +1 -1
- package/dist/types/Breadcrumb/BreadcrumbTypes.d.ts.map +1 -1
- package/dist/types/Button/ButtonTypes.d.ts +1 -1
- package/dist/types/Button/ButtonTypes.d.ts.map +1 -1
- package/dist/types/Button/styles.d.ts.map +1 -1
- package/dist/types/CharacterCounter/CharacterCounterTypes.d.ts +1 -1
- package/dist/types/CharacterCounter/CharacterCounterTypes.d.ts.map +1 -1
- package/dist/types/ChartLegend/ChartLegendTypes.d.ts +1 -1
- package/dist/types/ChartLegend/ChartLegendTypes.d.ts.map +1 -1
- package/dist/types/ChartLegend/styles.d.ts +1 -1
- package/dist/types/ChartLegend/styles.d.ts.map +1 -1
- package/dist/types/Checkbox/CheckboxTypes.d.ts +1 -1
- package/dist/types/Checkbox/CheckboxTypes.d.ts.map +1 -1
- package/dist/types/Drawer/DrawerTypes.d.ts +1 -1
- package/dist/types/Drawer/DrawerTypes.d.ts.map +1 -1
- package/dist/types/Drawer/styles.d.ts +1 -1
- package/dist/types/Drawer/styles.d.ts.map +1 -1
- package/dist/types/Icon/IconTypes.d.ts +1 -1
- package/dist/types/Icon/IconTypes.d.ts.map +1 -1
- package/dist/types/Image/ImageTypes.d.ts +1 -1
- package/dist/types/Image/ImageTypes.d.ts.map +1 -1
- package/dist/types/Indicator/IndicatorTypes.d.ts +1 -1
- package/dist/types/Indicator/IndicatorTypes.d.ts.map +1 -1
- package/dist/types/Input/InputTypes.d.ts +1 -1
- package/dist/types/Input/InputTypes.d.ts.map +1 -1
- package/dist/types/KeyboardKey/KeyboardKeyTypes.d.ts +1 -1
- package/dist/types/KeyboardKey/KeyboardKeyTypes.d.ts.map +1 -1
- package/dist/types/Link/LinkTypes.d.ts +1 -1
- package/dist/types/Link/LinkTypes.d.ts.map +1 -1
- package/dist/types/Listbox/Listbox.d.ts +4 -4
- package/dist/types/Loader/LoaderTypes.d.ts +1 -1
- package/dist/types/Loader/LoaderTypes.d.ts.map +1 -1
- package/dist/types/Menu/Menu.d.ts +2 -2
- package/dist/types/Menu/Menu.d.ts.map +1 -1
- package/dist/types/Message/Message.d.ts +1 -1
- package/dist/types/Message/Message.d.ts.map +1 -1
- package/dist/types/PartnerLogo/PartnerLogoTypes.d.ts +1 -1
- package/dist/types/PartnerLogo/PartnerLogoTypes.d.ts.map +1 -1
- package/dist/types/Popout/PopoutTypes.d.ts +1 -1
- package/dist/types/Popout/PopoutTypes.d.ts.map +1 -1
- package/dist/types/Radio/RadioTypes.d.ts +1 -1
- package/dist/types/Radio/RadioTypes.d.ts.map +1 -1
- package/dist/types/Select/SelectTypes.d.ts +2 -2
- package/dist/types/Select/SelectTypes.d.ts.map +1 -1
- package/dist/types/Stack/StackTypes.d.ts +1 -1
- package/dist/types/Stack/StackTypes.d.ts.map +1 -1
- package/dist/types/Table/TableTypes.d.ts +1 -1
- package/dist/types/Table/TableTypes.d.ts.map +1 -1
- package/dist/types/TableCell/TableCellTypes.d.ts +1 -1
- package/dist/types/TableCell/TableCellTypes.d.ts.map +1 -1
- package/dist/types/TableRowAccordion/TableRowAccordionTypes.d.ts +1 -1
- package/dist/types/TableRowAccordion/TableRowAccordionTypes.d.ts.map +1 -1
- package/dist/types/Tabs/TabsTypes.d.ts +1 -1
- package/dist/types/Tabs/TabsTypes.d.ts.map +1 -1
- package/dist/types/Text/TextTypes.d.ts +1 -1
- package/dist/types/Text/TextTypes.d.ts.map +1 -1
- package/dist/types/Textarea/TextareaTypes.d.ts +1 -1
- package/dist/types/Textarea/TextareaTypes.d.ts.map +1 -1
- package/dist/types/ThemeProvider/index.d.ts +1 -1
- package/dist/types/ThemeProvider/index.d.ts.map +1 -1
- package/dist/types/Toast/ToastTypes.d.ts +1 -1
- package/dist/types/Toast/ToastTypes.d.ts.map +1 -1
- package/dist/types/Toast/styles.d.ts +1 -1
- package/dist/types/Toast/styles.d.ts.map +1 -1
- package/dist/types/ToggleHint/ToggleHintTypes.d.ts +1 -1
- package/dist/types/ToggleHint/ToggleHintTypes.d.ts.map +1 -1
- package/dist/types/Token/TokenTypes.d.ts +1 -1
- package/dist/types/Token/TokenTypes.d.ts.map +1 -1
- package/dist/types/TokenInput/TokenInputTypes.d.ts +1 -1
- package/dist/types/TokenInput/TokenInputTypes.d.ts.map +1 -1
- package/dist/types/index.d.ts +16 -20
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/systemProps/index.d.ts +1 -1
- package/dist/types/systemProps/index.d.ts.map +1 -1
- package/dist/types/types/index.d.ts +1 -2
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/types/styled-components.d.ts +1 -1
- package/dist/types/types/styled-components.d.ts.map +1 -1
- package/dist/types/types/system-props.d.ts +28 -1
- package/dist/types/types/system-props.d.ts.map +1 -1
- package/dist/types/utils/responsiveProps/index.d.ts +1 -1
- package/dist/types/utils/responsiveProps/index.d.ts.map +1 -1
- package/lib/Badge/styles.js +1 -1
- package/lib/Banner/styles.js +1 -1
- package/lib/Box/styles.js +1 -1
- package/lib/Button/styles.js +5 -4
- package/lib/Card/styles.js +1 -1
- package/lib/Card/utils.js +1 -1
- package/lib/CharacterCounter/styles.js +1 -1
- package/lib/ChartLegend/styles.js +1 -1
- package/lib/Checkbox/styles.js +2 -2
- package/lib/DatePicker/styles.js +1 -1
- package/lib/Drawer/styles.js +1 -1
- package/lib/FormField/FormField.js +1 -1
- package/lib/Icon/styles.js +1 -1
- package/lib/Image/styles.js +1 -1
- package/lib/Indicator/styles.js +2 -2
- package/lib/Input/Input.js +3 -3
- package/lib/Input/styles.js +2 -2
- package/lib/KeyboardKey/styles.js +1 -1
- package/lib/Link/styles.js +2 -2
- package/lib/Loader/styles.js +2 -2
- package/lib/Menu/Menu.js +10 -5
- package/lib/Menu/styles.js +1 -1
- package/lib/Message/Message.js +1 -1
- package/lib/Message/styles.js +1 -1
- package/lib/Modal/styles.js +1 -1
- package/lib/PartnerLogo/styles.js +1 -1
- package/lib/Popout/Popout.js +1 -1
- package/lib/Popout/styles.js +1 -1
- package/lib/Portal/Portal.js +1 -1
- package/lib/Radio/styles.js +2 -2
- package/lib/SegmentedControl/styles.js +1 -1
- package/lib/Select/styles.js +2 -2
- package/lib/Switch/styles.js +1 -1
- package/lib/Table/styles.js +1 -1
- package/lib/TableCell/styles.js +1 -1
- package/lib/TableHeaderCell/styles.js +1 -1
- package/lib/TableRowAccordion/styles.js +1 -1
- package/lib/Tabs/styles.js +1 -1
- package/lib/Text/styles.js +1 -1
- package/lib/Textarea/styles.js +2 -2
- package/lib/ThemeProvider/index.js +1 -1
- package/lib/ToggleHint/styles.js +2 -2
- package/lib/Token/Token.js +1 -1
- package/lib/Token/styles.js +2 -2
- package/lib/TokenInput/styles.js +2 -2
- package/lib/VisuallyHidden/VisuallyHidden.js +1 -1
- package/lib/index.js +16 -19
- package/lib/types/index.js +1 -2
- package/lib/utils/hooks.js +1 -1
- package/lib/utils/mixins.js +1 -1
- package/lib/utils/react-testing-library.js +1 -1
- package/lib/utils/responsiveProps/index.js +1 -1
- package/package.json +30 -12
- package/dist/themes/dark/_themed.scss +0 -119
- package/dist/themes/dark/theme.scss +0 -684
- package/dist/themes/extendedThemes/sproutTheme/dark/_themed.scss +0 -119
- package/dist/themes/extendedThemes/sproutTheme/dark/theme.scss +0 -1097
- package/dist/themes/extendedThemes/sproutTheme/light/_themed.scss +0 -119
- package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +0 -1097
- package/dist/themes/light/_themed.scss +0 -119
- package/dist/themes/light/theme.scss +0 -806
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenTypes.d.ts","sourceRoot":"","sources":["../../../src/Token/TokenTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TokenTypes.d.ts","sourceRoot":"","sources":["../../../src/Token/TokenTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAE/E,MAAM,WAAW,cACf,SAAQ,+BAA+B,EACrC,qBAAqB,EACrB,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACzD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IACnE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,EAAE,CAAC,EAAE,WAAW,CAAC;IAEjB,8EAA8E;IAC9E,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,wDAAwD;IACxD,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC7B,EAAE,CAAC,EAAE,+BAA+B,CAAC,IAAI,CAAC,CAAC;CAC5C"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import type { TypeStyledComponentsCommonProps } from "../types/styled-components";
|
|
3
|
-
import type { TypeSystemCommonProps } from "
|
|
3
|
+
import type { TypeSystemCommonProps } from "@sproutsocial/seeds-react-system-props";
|
|
4
4
|
import { TypeQaProps } from "../types/shared";
|
|
5
5
|
import { TypeIconProps, TypeIconName } from "../Icon";
|
|
6
6
|
export interface TypeTokenSpec {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenInputTypes.d.ts","sourceRoot":"","sources":["../../../src/TokenInput/TokenInputTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AACpF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TokenInputTypes.d.ts","sourceRoot":"","sources":["../../../src/TokenInput/TokenInputTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AACpF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAExD,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,SAAS,CAAC,EAAE,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,CAAC,EAAE,WAAW,CAAC;IAEjB,mCAAmC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,mBACf,SAAQ,uBAAuB,EAC7B,+BAA+B,EAC/B,qBAAqB,EACrB,IAAI,CACF,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EACrC,MAAM,uBAAuB,GAAG,OAAO,CACxC;CAAG"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3,36 +3,31 @@ export type { EnumIllustrationNames } from "@sproutsocial/seeds-illustrations";
|
|
|
3
3
|
export type { EnumLogoNamesWithoutVariants as EnumLogoNames } from "@sproutsocial/seeds-partner-logos";
|
|
4
4
|
export { IllustrationNames as SpotIllustrationNames } from "@sproutsocial/seeds-illustrations";
|
|
5
5
|
export { LogoNamesWithoutVariants as PartnerLogoNames } from "@sproutsocial/seeds-partner-logos";
|
|
6
|
-
export * from "
|
|
7
|
-
export
|
|
8
|
-
export { default as
|
|
9
|
-
export {
|
|
10
|
-
export
|
|
11
|
-
export { default as ThemeProvider } from "./ThemeProvider";
|
|
12
|
-
export { useSelect, useMultiselect, useTextContent } from "./utils/hooks";
|
|
13
|
-
export { visuallyHidden, focusRing, disabled } from "./utils/mixins";
|
|
14
|
-
export { useInteractiveColor } from "./utils/useInteractiveColor";
|
|
15
|
-
export { useMeasure } from "./utils/use-measure";
|
|
6
|
+
export * from "@sproutsocial/seeds-react-system-props";
|
|
7
|
+
export * from "@sproutsocial/seeds-react-theme";
|
|
8
|
+
export { default as ThemeProvider } from "@sproutsocial/seeds-react-theme-provider";
|
|
9
|
+
export { useSelect, useMultiselect, useTextContent, useMeasure, useInteractiveColor, } from "@sproutsocial/seeds-react-hooks";
|
|
10
|
+
export * from "@sproutsocial/seeds-react-mixins";
|
|
16
11
|
export * from "./Avatar";
|
|
17
12
|
export * from "./Badge";
|
|
18
13
|
export * from "./Banner";
|
|
19
|
-
export * from "
|
|
14
|
+
export * from "@sproutsocial/seeds-react-box";
|
|
20
15
|
export * from "./Breadcrumb";
|
|
21
|
-
export * from "
|
|
16
|
+
export * from "@sproutsocial/seeds-react-button";
|
|
22
17
|
export * from "./Card";
|
|
23
18
|
export * from "./CharacterCounter";
|
|
24
19
|
export * from "./ChartLegend";
|
|
25
|
-
export * from "
|
|
20
|
+
export * from "@sproutsocial/seeds-react-checkbox";
|
|
26
21
|
export * from "./Collapsible";
|
|
27
22
|
export * from "./DatePicker";
|
|
28
23
|
export * from "./Drawer";
|
|
29
24
|
export * from "./EmptyState";
|
|
30
25
|
export * from "./Fieldset";
|
|
31
26
|
export * from "./FormField";
|
|
32
|
-
export * from "
|
|
27
|
+
export * from "@sproutsocial/seeds-react-icon";
|
|
33
28
|
export * from "./Image";
|
|
34
29
|
export * from "./Indicator";
|
|
35
|
-
export * from "
|
|
30
|
+
export * from "@sproutsocial/seeds-react-input";
|
|
36
31
|
export * from "./KeyboardKey";
|
|
37
32
|
export * from "./Label";
|
|
38
33
|
export * from "./Link";
|
|
@@ -43,21 +38,22 @@ export * from "./Menu";
|
|
|
43
38
|
export * from "./Message";
|
|
44
39
|
export * from "./Modal";
|
|
45
40
|
export * from "./Numeral";
|
|
46
|
-
export * from "
|
|
47
|
-
export * from "
|
|
48
|
-
export * from "
|
|
41
|
+
export * from "@sproutsocial/seeds-react-partner-logo";
|
|
42
|
+
export * from "@sproutsocial/seeds-react-popout";
|
|
43
|
+
export * from "@sproutsocial/seeds-react-portal";
|
|
44
|
+
export * from "@sproutsocial/seeds-react-radio";
|
|
49
45
|
export * from "./SegmentedControl";
|
|
50
46
|
export * from "./Select";
|
|
51
47
|
export * from "./Skeleton";
|
|
52
48
|
export * from "./SpotIllustration";
|
|
53
49
|
export * from "./Stack";
|
|
54
|
-
export * from "
|
|
50
|
+
export * from "@sproutsocial/seeds-react-switch";
|
|
55
51
|
export * from "./Table";
|
|
56
52
|
export * from "./TableCell";
|
|
57
53
|
export * from "./TableHeaderCell";
|
|
58
54
|
export * from "./TableRowAccordion";
|
|
59
55
|
export * from "./Tabs";
|
|
60
|
-
export * from "
|
|
56
|
+
export * from "@sproutsocial/seeds-react-text";
|
|
61
57
|
export * from "./Textarea";
|
|
62
58
|
export * from "./Toast";
|
|
63
59
|
export * from "./ToggleHint";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,YAAY,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/E,YAAY,EAAE,4BAA4B,IAAI,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAEvG,OAAO,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/F,OAAO,EAAE,wBAAwB,IAAI,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAGjG,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,YAAY,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/E,YAAY,EAAE,4BAA4B,IAAI,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAEvG,OAAO,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/F,OAAO,EAAE,wBAAwB,IAAI,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAGjG,cAAc,wCAAwC,CAAC;AACvD,cAAc,iCAAiC,CAAC;AAChD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAGpF,OAAO,EACL,SAAS,EACT,cAAc,EACd,cAAc,EACd,UAAU,EACV,mBAAmB,GACpB,MAAM,iCAAiC,CAAC;AACzC,cAAc,kCAAkC,CAAC;AAGjD,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS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AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AAEjC;;GAEG;AACH,OAAO,EAAE,MAAM,IAAI,KAAK,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { background, border, color, flexbox, grid, layout, position, shadow, space, typography, type BackgroundProps, type BorderProps, type ColorProps, type FlexboxProps, type GridProps, type LayoutProps, type PositionProps, type ShadowProps, type SpaceProps, type TypographyProps, type ResponsiveValue } from "styled-system";
|
|
2
2
|
import { Property as CssProperty } from "csstype";
|
|
3
|
-
import { TypeResponsiveTypographySize } from "
|
|
3
|
+
import { TypeResponsiveTypographySize } from "@sproutsocial/seeds-react-system-props";
|
|
4
4
|
export interface TypeCustomSystemProps {
|
|
5
5
|
cursor?: ResponsiveValue<CssProperty.Cursor>;
|
|
6
6
|
whiteSpace?: ResponsiveValue<CssProperty.WhiteSpace>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/systemProps/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,MAAM,EACN,KAAK,EACL,OAAO,EACP,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,MAAM,EACN,KAAK,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,eAAe,EAMpB,KAAK,eAAe,EACrB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,QAAQ,IAAI,WAAW,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,EAAE,4BAA4B,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/systemProps/index.ts"],"names":[],"mappings":"AAAA,OAAO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,sBAAsB,EAC3C,OAAO,IAAI,kBAAkB,EAC7B,KAAK,SAAS,IAAI,mBAAmB,EACrC,IAAI,IAAI,eAAe,EACvB,KAAK,WAAW,IAAI,qBAAqB,EACzC,MAAM,IAAI,iBAAiB,EAC3B,KAAK,aAAa,IAAI,uBAAuB,EAC7C,QAAQ,IAAI,mBAAmB,EAC/B,KAAK,WAAW,IAAI,qBAAqB,EACzC,MAAM,IAAI,iBAAiB,EAC3B,KAAK,UAAU,IAAI,oBAAoB,EACvC,KAAK,IAAI,gBAAgB,EACzB,KAAK,eAAe,IAAI,yBAAyB,EACjD,UAAU,IAAI,qBAAqB,GACpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import type { CSSProp } from "styled-components";
|
|
3
|
-
import type { TypeSproutTheme } from "
|
|
3
|
+
import type { TypeSproutTheme } from "@sproutsocial/seeds-react-theme";
|
|
4
4
|
export interface TypeStyledComponentsCommonProps {
|
|
5
5
|
forwardedAs?: string | React.ComponentType<any>;
|
|
6
6
|
as?: string | React.ComponentType<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled-components.d.ts","sourceRoot":"","sources":["../../../src/types/styled-components.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"styled-components.d.ts","sourceRoot":"","sources":["../../../src/types/styled-components.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAEvE,MAAM,WAAW,+BAA+B;IAE9C,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAEhD,EAAE,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IAE/B,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACtB"}
|
|
@@ -1,22 +1,43 @@
|
|
|
1
1
|
import type { BorderProps, BoxShadowProps, ColorProps as TypeColorProps, FlexboxProps, GridProps, Theme, RequiredTheme, WidthProps, HeightProps, MinWidthProps, MinHeightProps, MaxWidthProps, MaxHeightProps, DisplayProps, VerticalAlignProps, SizeProps, PositionProps, ResponsiveValue, SpaceProps as TypeSpaceProps, TextShadowProps, TypographyProps, ThemeValue } from "styled-system";
|
|
2
2
|
import type { Property } from "csstype";
|
|
3
|
-
import type { TypeTypography } from "
|
|
3
|
+
import type { TypeTypography } from "@sproutsocial/seeds-react-theme";
|
|
4
4
|
import { LiteralAsNumberOrString } from "../types/shared";
|
|
5
5
|
export type { ResponsiveValue as TypeResponsive } from "styled-system";
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Please import your types from @sproutsocial/seeds-react-system-props
|
|
8
|
+
*/
|
|
6
9
|
export interface TypeSystemCommonProps extends TypeColorProps, TypeSpaceProps {
|
|
7
10
|
cursor?: ResponsiveValue<Property.Cursor>;
|
|
8
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated Please import your types from @sproutsocial/seeds-react-system-props
|
|
14
|
+
*/
|
|
9
15
|
export interface TypeSystemBorderProps extends BorderProps, BoxShadowProps, TextShadowProps {
|
|
10
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated Please import your types from @sproutsocial/seeds-react-system-props
|
|
19
|
+
*/
|
|
11
20
|
export type TypeResponsiveTypographySize = ResponsiveValue<LiteralAsNumberOrString<keyof TypeTypography>>;
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Please import your types from @sproutsocial/seeds-react-system-props
|
|
23
|
+
*/
|
|
12
24
|
export interface TypeSystemTypographyProps extends Omit<TypographyProps, "fontSize"> {
|
|
13
25
|
fontSize?: TypeResponsiveTypographySize;
|
|
14
26
|
typeScale?: TypeResponsiveTypographySize;
|
|
15
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated Please import your types from @sproutsocial/seeds-react-system-props
|
|
30
|
+
*/
|
|
16
31
|
export interface TypeSystemLayoutProps<ThemeType extends Theme = RequiredTheme> extends WidthProps<ThemeType>, HeightProps<ThemeType>, MinWidthProps<ThemeType>, MinHeightProps<ThemeType>, MaxWidthProps<ThemeType>, MaxHeightProps<ThemeType>, DisplayProps<ThemeType>, VerticalAlignProps<ThemeType>, SizeProps<ThemeType> {
|
|
17
32
|
overflow?: ResponsiveValue<Property.Overflow, ThemeType> | undefined;
|
|
18
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated Please import your types from @sproutsocial/seeds-react-system-props
|
|
36
|
+
*/
|
|
19
37
|
export type TypeSystemPositionProps = PositionProps;
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated Please import your types from @sproutsocial/seeds-react-system-props
|
|
40
|
+
*/
|
|
20
41
|
export interface GapProps<ThemeType extends Theme = RequiredTheme, TVal = Property.Gap<ThemeValue<"space", ThemeType>>> {
|
|
21
42
|
/**
|
|
22
43
|
* The gap CSS property sets the gaps (gutters) between rows and columns. It is a shorthand for row-gap
|
|
@@ -38,7 +59,13 @@ export interface GapProps<ThemeType extends Theme = RequiredTheme, TVal = Proper
|
|
|
38
59
|
*/
|
|
39
60
|
rowGap?: ResponsiveValue<TVal, ThemeType> | undefined;
|
|
40
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* @deprecated Please import your types from @sproutsocial/seeds-react-system-props
|
|
64
|
+
*/
|
|
41
65
|
export interface TypeSystemFlexboxProps<ThemeType extends Theme = RequiredTheme> extends FlexboxProps<ThemeType>, GapProps<ThemeType> {
|
|
42
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* @deprecated Please import your types from @sproutsocial/seeds-react-system-props
|
|
69
|
+
*/
|
|
43
70
|
export type TypeSystemGridProps = GridProps;
|
|
44
71
|
//# sourceMappingURL=system-props.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system-props.d.ts","sourceRoot":"","sources":["../../../src/types/system-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,cAAc,EACd,UAAU,IAAI,cAAc,EAC5B,YAAY,EACZ,SAAS,EACT,KAAK,EACL,aAAa,EACb,UAAU,EACV,WAAW,EACX,aAAa,EACb,cAAc,EACd,aAAa,EACb,cAAc,EACd,YAAY,EACZ,kBAAkB,EAClB,SAAS,EACT,aAAa,EACb,eAAe,EACf,UAAU,IAAI,cAAc,EAC5B,eAAe,EACf,eAAe,EACf,UAAU,EACX,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"system-props.d.ts","sourceRoot":"","sources":["../../../src/types/system-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,cAAc,EACd,UAAU,IAA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C,EACzB,YAAY,CAAC,SAAS,CAAC,EACvB,kBAAkB,CAAC,SAAS,CAAC,EAC7B,SAAS,CAAC,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,eAAe,CAAC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC,GAAG,SAAS,CAAC;CACtE;AACD;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,aAAa,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,QAAQ,CACvB,SAAS,SAAS,KAAK,GAAG,aAAa,EACvC,IAAI,GAAG,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;IAEnD;;;;;OAKG;IACH,GAAG,CAAC,EAAE,eAAe,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,CAAC;IACnD;;;;OAIG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,CAAC;IACzD;;;;OAIG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,CAAC;CACvD;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB,CAAC,SAAS,SAAS,KAAK,GAAG,aAAa,CAC7E,SAAQ,YAAY,CAAC,SAAS,CAAC,EAC7B,QAAQ,CAAC,SAAS,CAAC;CAAG;AAE1B;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/responsiveProps/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/responsiveProps/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAKxE,eAAO,MAAM,uBAAuB,UAE3B,eAAe,GAAG,CAAC,KAEzB,eAAe,GAAG,CA8BpB,CAAC"}
|
package/lib/Badge/styles.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled from "styled-components";
|
|
2
2
|
import { themeGet } from "@styled-system/theme-get";
|
|
3
|
-
import { COMMON } from "
|
|
3
|
+
import { COMMON } from "@sproutsocial/seeds-react-system-props";
|
|
4
4
|
import { legacyBadgeColors } from "./constants";
|
|
5
5
|
var Container = styled.span.withConfig({
|
|
6
6
|
displayName: "styles__Container",
|
package/lib/Banner/styles.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import styled, { css } from "styled-components";
|
|
2
|
-
import { COMMON, LAYOUT } from "
|
|
2
|
+
import { COMMON, LAYOUT } from "@sproutsocial/seeds-react-system-props";
|
|
3
3
|
import Icon from "../Icon";
|
|
4
4
|
var Container = styled.div.withConfig({
|
|
5
5
|
displayName: "styles__Container",
|
package/lib/Box/styles.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import styled from "styled-components";
|
|
2
|
-
import { COMMON, BORDER, LAYOUT, POSITION, FLEXBOX, GRID } from "
|
|
2
|
+
import { COMMON, BORDER, LAYOUT, POSITION, FLEXBOX, GRID } from "@sproutsocial/seeds-react-system-props";
|
|
3
3
|
var Container = styled.div.withConfig({
|
|
4
4
|
displayName: "styles__Container",
|
|
5
5
|
componentId: "sc-zz2x1k-0"
|
package/lib/Button/styles.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import styled, { css } from "styled-components";
|
|
2
|
-
import { COMMON, LAYOUT, FLEXBOX, GRID } from "
|
|
3
|
-
import { focusRing, disabled, pill } from "
|
|
2
|
+
import { COMMON, LAYOUT, FLEXBOX, GRID } from "@sproutsocial/seeds-react-system-props";
|
|
3
|
+
import { focusRing, disabled, pill } from "@sproutsocial/seeds-react-mixins";
|
|
4
|
+
import { IconContainer } from "@sproutsocial/seeds-react-icon";
|
|
4
5
|
import Icon from "../Icon/styles";
|
|
5
6
|
var Container = styled.button.withConfig({
|
|
6
7
|
displayName: "styles__Container",
|
|
7
8
|
componentId: "sc-17njgx1-0"
|
|
8
|
-
})(["display:inline-block;box-sizing:border-box;text-align:center;font-family:", ";border:1px solid ", ";border-radius:", ";border-style:", ";background:", ";color:", ";cursor:pointer;text-decoration:none;line-height:16px;white-space:nowrap;font-weight:", ";transition:all ", " linear;margin:0;padding:", ";font-size:", ";&:visited{color:", ";}&:hover{color:", ";", ";text-decoration:none;box-shadow:", ";}&:active{color:", ";", ";transform:translateY(1px);}&:focus{", "}&:focus:active{box-shadow:none;}", " ", " ", " ", "{vertical-align:text-bottom;}", " ", " ", " ", ""], function (props) {
|
|
9
|
+
})(["display:inline-block;box-sizing:border-box;text-align:center;font-family:", ";border:1px solid ", ";border-radius:", ";border-style:", ";background:", ";color:", ";cursor:pointer;text-decoration:none;line-height:16px;white-space:nowrap;font-weight:", ";transition:all ", " linear;margin:0;padding:", ";font-size:", ";&:visited{color:", ";}&:hover{color:", ";", ";text-decoration:none;box-shadow:", ";}&:active{color:", ";", ";transform:translateY(1px);}&:focus{", "}&:focus:active{box-shadow:none;}", " ", " ", " ", ",", "{vertical-align:text-bottom;}", " ", " ", " ", ""], function (props) {
|
|
9
10
|
return props.theme.fontFamily;
|
|
10
11
|
}, function (props) {
|
|
11
12
|
return props.theme.colors.button[props.appearance].border.base;
|
|
@@ -43,6 +44,6 @@ var Container = styled.button.withConfig({
|
|
|
43
44
|
return props.disabled && disabled;
|
|
44
45
|
}, function (props) {
|
|
45
46
|
return props.appearance === "pill" && css(["display:inline-flex;align-items:center;justify-content:center;background-color:transparent;", " &:focus:active,&:hover{background-color:transparent;box-shadow:inset 0px 0px 0px 1px ", ";}"], pill, props.theme.colors.button.pill.border.hover);
|
|
46
|
-
}, Icon, LAYOUT, COMMON, FLEXBOX, GRID);
|
|
47
|
+
}, IconContainer, Icon, LAYOUT, COMMON, FLEXBOX, GRID);
|
|
47
48
|
Container.displayName = "Button-Container";
|
|
48
49
|
export default Container; //${props.theme.mode === "dark" ? "screen" : "multiply"}
|
package/lib/Card/styles.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled from "styled-components";
|
|
2
2
|
import { border, color, flexbox, grid, layout, position, space, typography } from "styled-system";
|
|
3
|
-
import { focusRing, disabled } from "
|
|
3
|
+
import { focusRing, disabled } from "@sproutsocial/seeds-react-mixins";
|
|
4
4
|
import Icon from "../Icon";
|
|
5
5
|
|
|
6
6
|
// TODO: Would be really cool to cherry pick specific props from style functions. For example,
|
package/lib/Card/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createContext, useContext } from "react";
|
|
2
|
-
import { assertIsElement } from "
|
|
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
|
|
5
5
|
setHasSubComponent: function setHasSubComponent() {},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import styled, { css } from "styled-components";
|
|
2
|
-
import { COMMON } from "
|
|
2
|
+
import { COMMON } from "@sproutsocial/seeds-react-system-props";
|
|
3
3
|
var Container = styled.div.withConfig({
|
|
4
4
|
displayName: "styles__Container",
|
|
5
5
|
componentId: "sc-8ntjxw-0"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import styled, { css } from "styled-components";
|
|
2
|
-
import { COMMON, LAYOUT } from "
|
|
2
|
+
import { COMMON, LAYOUT } from "@sproutsocial/seeds-react-system-props";
|
|
3
3
|
export var Label = styled.span.withConfig({
|
|
4
4
|
displayName: "styles__Label",
|
|
5
5
|
componentId: "sc-4jc00i-0"
|
package/lib/Checkbox/styles.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { renderToStaticMarkup } from "react-dom/server";
|
|
3
3
|
import styled, { css } from "styled-components";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { COMMON } from "@sproutsocial/seeds-react-system-props";
|
|
5
|
+
import { focusRing, pill } from "@sproutsocial/seeds-react-mixins";
|
|
6
6
|
import Box from "../Box";
|
|
7
7
|
import Icon from "../Icon";
|
|
8
8
|
import Text from "../Text";
|
package/lib/DatePicker/styles.js
CHANGED
package/lib/Drawer/styles.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import styled, { css } from "styled-components";
|
|
2
|
-
import { COMMON } from "
|
|
2
|
+
import { COMMON } from "@sproutsocial/seeds-react-system-props";
|
|
3
3
|
import Box from "../Box";
|
|
4
4
|
export var Content = styled(Box).withConfig({
|
|
5
5
|
displayName: "styles__Content",
|
|
@@ -15,7 +15,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
15
15
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
16
16
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
17
17
|
import React, { useState } from "react";
|
|
18
|
-
import { useTextContent } from "
|
|
18
|
+
import { useTextContent } from "@sproutsocial/seeds-react-hooks";
|
|
19
19
|
import Box from "../Box";
|
|
20
20
|
import Label from "../Label";
|
|
21
21
|
import Text from "../Text";
|
package/lib/Icon/styles.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled, { css } from "styled-components";
|
|
2
2
|
import { verticalAlign } from "styled-system";
|
|
3
|
-
import { COMMON } from "
|
|
3
|
+
import { COMMON } from "@sproutsocial/seeds-react-system-props";
|
|
4
4
|
var sizes = {
|
|
5
5
|
mini: "12px",
|
|
6
6
|
/** TODO: deprecate default in favor of small in future release */
|
package/lib/Image/styles.js
CHANGED
package/lib/Indicator/styles.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled from "styled-components";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { COMMON } from "@sproutsocial/seeds-react-system-props";
|
|
3
|
+
import { visuallyHidden } from "@sproutsocial/seeds-react-mixins";
|
|
4
4
|
var Container = styled.span.attrs({
|
|
5
5
|
className: "Indicator"
|
|
6
6
|
}).withConfig({
|
package/lib/Input/Input.js
CHANGED
|
@@ -19,9 +19,9 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
19
19
|
import * as React from "react";
|
|
20
20
|
import styled from "styled-components";
|
|
21
21
|
import { useInteractiveColor } from "../utils/useInteractiveColor";
|
|
22
|
-
import { mergeRefs } from "
|
|
23
|
-
import Button from "
|
|
24
|
-
import Icon from "
|
|
22
|
+
import { mergeRefs } from "@sproutsocial/seeds-react-utilities";
|
|
23
|
+
import Button from "@sproutsocial/seeds-react-button";
|
|
24
|
+
import Icon from "@sproutsocial/seeds-react-icon";
|
|
25
25
|
import Container, { Accessory } from "./styles";
|
|
26
26
|
|
|
27
27
|
// Using Context so that Input's Input.ClearButton-specific props can be passed to Input.ClearButton,
|
package/lib/Input/styles.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled, { css } from "styled-components";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { COMMON } from "@sproutsocial/seeds-react-system-props";
|
|
3
|
+
import { focusRing } from "@sproutsocial/seeds-react-mixins";
|
|
4
4
|
var Container = styled.div.withConfig({
|
|
5
5
|
displayName: "styles__Container",
|
|
6
6
|
componentId: "sc-4stdun-0"
|
package/lib/Link/styles.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled, { css } from "styled-components";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { TYPOGRAPHY, COMMON, FLEXBOX } from "@sproutsocial/seeds-react-system-props";
|
|
3
|
+
import { focusRing, disabled } from "@sproutsocial/seeds-react-mixins";
|
|
4
4
|
import Text from "../Text";
|
|
5
5
|
var Container = styled(Text).withConfig({
|
|
6
6
|
displayName: "styles__Container",
|
package/lib/Loader/styles.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled, { css, keyframes } from "styled-components";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { COMMON } from "@sproutsocial/seeds-react-system-props";
|
|
3
|
+
import { visuallyHidden } from "@sproutsocial/seeds-react-mixins";
|
|
4
4
|
var getSize = function getSize(size) {
|
|
5
5
|
var spinnerSize = Math.round(size * 1);
|
|
6
6
|
var borderWidth = Math.round(size * 0.1);
|
package/lib/Menu/Menu.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
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); }
|
|
2
2
|
import _styled from "styled-components";
|
|
3
|
-
var _excluded = ["id", "index", "as", "children", "role", "elemBefore", "elemAfter", "value", "onKeyPress", "onClick", "selected", "disabled", "indeterminate", "label"],
|
|
3
|
+
var _excluded = ["id", "index", "as", "children", "role", "elemBefore", "elemAfter", "value", "onKeyPress", "onClick", "selected", "disabled", "indeterminate", "label", "active"],
|
|
4
4
|
_excluded2 = ["placement", "labelProps", "switchProps", "children", "id", "label"],
|
|
5
5
|
_excluded3 = ["children", "title", "titleAs", "disabled"],
|
|
6
6
|
_excluded4 = ["type"],
|
|
@@ -25,12 +25,12 @@ import * as React from "react";
|
|
|
25
25
|
import { useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
26
26
|
import styled from "styled-components";
|
|
27
27
|
import uniqueId from "lodash.uniqueid";
|
|
28
|
-
import { useTextContent } from "
|
|
28
|
+
import { useTextContent } from "@sproutsocial/seeds-react-hooks";
|
|
29
29
|
import innerText from "../utils/innerText";
|
|
30
|
-
import { disabled } from "
|
|
30
|
+
import { disabled } from "@sproutsocial/seeds-react-mixins";
|
|
31
31
|
import Box from "../Box";
|
|
32
32
|
import Button from "../Button";
|
|
33
|
-
import Checkbox from "
|
|
33
|
+
import Checkbox from "@sproutsocial/seeds-react-checkbox";
|
|
34
34
|
import Icon from "../Icon";
|
|
35
35
|
import Input from "../Input";
|
|
36
36
|
import Popout from "../Popout";
|
|
@@ -77,6 +77,7 @@ export var MenuItem = function MenuItem(_ref) {
|
|
|
77
77
|
disabled = _ref.disabled,
|
|
78
78
|
indeterminate = _ref.indeterminate,
|
|
79
79
|
labelProp = _ref.label,
|
|
80
|
+
activeProp = _ref.active,
|
|
80
81
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
81
82
|
var _useContext = useContext(MenuContext),
|
|
82
83
|
menuRole = _useContext.role,
|
|
@@ -117,6 +118,9 @@ export var MenuItem = function MenuItem(_ref) {
|
|
|
117
118
|
_useState2 = _slicedToArray(_useState, 2),
|
|
118
119
|
keyPressed = _useState2[0],
|
|
119
120
|
setKeyPressed = _useState2[1];
|
|
121
|
+
var isActive = useMemo(function () {
|
|
122
|
+
return activeProp || isFocused && keyPressed;
|
|
123
|
+
}, [activeProp, isFocused, keyPressed]);
|
|
120
124
|
var isCheckboxOrRadio = [MENU_ITEM_ROLES.CHECKBOX, MENU_ITEM_ROLES.RADIO
|
|
121
125
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
122
126
|
].includes(itemRole); // @ts-notes @refactor - since we're only really checking against the string I think we can safely leave this for refactor, nothing else worked for me
|
|
@@ -190,7 +194,8 @@ export var MenuItem = function MenuItem(_ref) {
|
|
|
190
194
|
return /*#__PURE__*/React.createElement(MenuItemContainer, _extends({
|
|
191
195
|
"data-qa-menu-item": label
|
|
192
196
|
}, props, {
|
|
193
|
-
active:
|
|
197
|
+
active: isActive,
|
|
198
|
+
"data-qa-is-active": isActive,
|
|
194
199
|
id: id,
|
|
195
200
|
"aria-label": labelProp,
|
|
196
201
|
value: valueProp,
|
package/lib/Menu/styles.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import styled, { css } from "styled-components";
|
|
2
|
-
import { disabled, focusRing } from "
|
|
2
|
+
import { disabled, focusRing } from "@sproutsocial/seeds-react-mixins";
|
|
3
3
|
import Box from "../Box";
|
|
4
4
|
import { StyledSwitchButton as Switch } from "../Switch/styles";
|
|
5
5
|
export var MenuItemContainer = styled(Box).withConfig({
|
package/lib/Message/Message.js
CHANGED
|
@@ -5,7 +5,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import Avatar from "../Avatar";
|
|
7
7
|
import Button from "../Button";
|
|
8
|
-
import Checkbox from "
|
|
8
|
+
import Checkbox from "@sproutsocial/seeds-react-checkbox";
|
|
9
9
|
import Container, { MessageBody as StyledMessageBody, MessageFooter as StyledMessageFooter, MessageHeader as StyledMessageHeader, MessageMeta as StyledMessageMeta } from "./styles";
|
|
10
10
|
import { MESSAGE_DENSITIES } from "./constants";
|
|
11
11
|
var avatarSizeMap = function avatarSizeMap(density) {
|
package/lib/Message/styles.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { memo } from "react";
|
|
2
2
|
import styled from "styled-components";
|
|
3
|
-
import { focusRing } from "
|
|
3
|
+
import { focusRing } from "@sproutsocial/seeds-react-mixins";
|
|
4
4
|
import Box from "../Box";
|
|
5
5
|
import { MESSAGE_DENSITIES } from "./constants";
|
|
6
6
|
var Container = styled(Box).withConfig({
|
package/lib/Modal/styles.js
CHANGED
|
@@ -6,7 +6,7 @@ import React from "react";
|
|
|
6
6
|
import styled, { createGlobalStyle } from "styled-components";
|
|
7
7
|
import { width, zIndex } from "styled-system";
|
|
8
8
|
import ReactModal from "react-modal";
|
|
9
|
-
import { COMMON } from "
|
|
9
|
+
import { COMMON } from "@sproutsocial/seeds-react-system-props";
|
|
10
10
|
import Box from "../Box";
|
|
11
11
|
|
|
12
12
|
// This is the max space allowed between the modal and the edge of the browser
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled, { css } from "styled-components";
|
|
2
2
|
import { verticalAlign } from "styled-system";
|
|
3
|
-
import { COMMON, FLEXBOX } from "
|
|
3
|
+
import { COMMON, FLEXBOX } from "@sproutsocial/seeds-react-system-props";
|
|
4
4
|
var sizes = {
|
|
5
5
|
mini: "12px",
|
|
6
6
|
small: "16px",
|
package/lib/Popout/Popout.js
CHANGED
|
@@ -22,7 +22,7 @@ import { useTransition, animated } from "react-spring";
|
|
|
22
22
|
import FocusLock from "react-focus-lock";
|
|
23
23
|
import { Popper } from "react-popper";
|
|
24
24
|
import { MOTION_DURATION_FAST } from "@sproutsocial/seeds-motion/dist/seeds-motion-unitless";
|
|
25
|
-
import { useMutationObserver } from "
|
|
25
|
+
import { useMutationObserver } from "@sproutsocial/seeds-react-hooks";
|
|
26
26
|
import Portal from "../Portal";
|
|
27
27
|
import Box from "../Box";
|
|
28
28
|
import { TargetWrapper } from "./styles";
|
package/lib/Popout/styles.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import styled from "styled-components";
|
|
2
|
-
import { COMMON, LAYOUT } from "
|
|
2
|
+
import { COMMON, LAYOUT } from "@sproutsocial/seeds-react-system-props";
|
|
3
3
|
export var TargetWrapper = styled.div.withConfig({
|
|
4
4
|
displayName: "styles__TargetWrapper",
|
|
5
5
|
componentId: "sc-pftzv7-0"
|
package/lib/Portal/Portal.js
CHANGED
|
@@ -14,7 +14,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
14
14
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
15
15
|
import * as React from "react";
|
|
16
16
|
import { createPortal } from "react-dom";
|
|
17
|
-
import { canUseDOM } from "
|
|
17
|
+
import { canUseDOM } from "@sproutsocial/seeds-react-utilities";
|
|
18
18
|
var Portal = /*#__PURE__*/function (_React$Component) {
|
|
19
19
|
_inherits(Portal, _React$Component);
|
|
20
20
|
function Portal(props) {
|