@sproutsocial/racine 25.9.3 → 25.11.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 +19 -0
- package/commonjs/Breadcrumb/Breadcrumb.js +7 -0
- package/commonjs/Listbox/Listbox.js +11 -0
- package/commonjs/Menu/Menu.js +49 -0
- package/commonjs/ToggleHint/ToggleHint.js +6 -3
- package/dist/dynamicProps.json +1 -1
- package/dist/dynamicPropsRaw.json +1 -1
- package/dist/types/Breadcrumb/Breadcrumb.d.ts +3 -0
- package/dist/types/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/types/Listbox/Listbox.d.ts +9 -0
- package/dist/types/Listbox/Listbox.d.ts.map +1 -1
- package/dist/types/Menu/Menu.d.ts +27 -0
- package/dist/types/Menu/Menu.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/ToggleHint/ToggleHint.d.ts +3 -0
- package/dist/types/ToggleHint/ToggleHint.d.ts.map +1 -1
- package/lib/Breadcrumb/Breadcrumb.js +7 -0
- package/lib/Listbox/Listbox.js +11 -0
- package/lib/Menu/Menu.js +49 -0
- package/lib/ToggleHint/ToggleHint.js +4 -1
- package/package.json +3 -3
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type { TypeBreadcrumbProps, TypeBreadcrumbItemProps } from "./BreadcrumbTypes";
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Breadcrumb is deprecated. This iteration of Breadcrumb will be removed in 2025 in favor of seeds-react-breadcrumb which utilizes the new Menu ecosystem. Please create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-breadcrumb | seeds-react-breadcrumb}.
|
|
4
|
+
*/
|
|
2
5
|
declare const Breadcrumb: {
|
|
3
6
|
({ ariaLabel, overflow, children, ...rest }: TypeBreadcrumbProps): import("react/jsx-runtime").JSX.Element;
|
|
4
7
|
Item: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumb.d.ts","sourceRoot":"","sources":["../../../src/Breadcrumb/Breadcrumb.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Breadcrumb.d.ts","sourceRoot":"","sources":["../../../src/Breadcrumb/Breadcrumb.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,mBAAmB,CAAC;AAmB3B;;GAEG;AACH,QAAA,MAAM,UAAU;iDAKb,mBAAmB;;sCAlBnB,uBAAuB;;;CAsDzB,CAAC;AAKF,eAAe,UAAU,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type { TypeListboxProps, TypeListboxButtonProps } from "./ListboxTypes";
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Listbox is deprecated. Listbox will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
4
|
+
*/
|
|
2
5
|
export declare const Listbox: {
|
|
3
6
|
({ role, children, ...rest }: TypeListboxProps): import("react/jsx-runtime").JSX.Element;
|
|
4
7
|
Option: {
|
|
@@ -39,6 +42,12 @@ export declare const Listbox: {
|
|
|
39
42
|
* the Listbox component doesn't render a select.
|
|
40
43
|
*/
|
|
41
44
|
export declare const ListboxButtonContainer: import("styled-components").StyledComponent<({ content, popoutProps, children, onClick, closeOnItemClick, id, placement, isOpen, setIsOpen, ...props }: import("..").TypeMenuButtonProps) => import("react/jsx-runtime").JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
45
|
+
/**
|
|
46
|
+
* @deprecated ListboxButton is deprecated. ListboxButton will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
47
|
+
*/
|
|
42
48
|
export declare const ListboxButton: ({ children, ...restProps }: TypeListboxButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
/**
|
|
50
|
+
* @deprecated Listbox is deprecated. Listbox will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
51
|
+
*/
|
|
43
52
|
export default Listbox;
|
|
44
53
|
//# sourceMappingURL=Listbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Listbox.d.ts","sourceRoot":"","sources":["../../../src/Listbox/Listbox.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"Listbox.d.ts","sourceRoot":"","sources":["../../../src/Listbox/Listbox.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAE/E;;GAEG;AACH,eAAO,MAAM,OAAO;kCAIjB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,4RAuDlC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,+BAGvB,sBAAsB,4CAaxB,CAAC;AAUF;;GAEG;AACH,eAAe,OAAO,CAAC"}
|
|
@@ -1,30 +1,51 @@
|
|
|
1
1
|
import { TypeBoxProps } from "@sproutsocial/seeds-react-box";
|
|
2
2
|
import { TypeInputProps } from "@sproutsocial/seeds-react-input";
|
|
3
3
|
import type { TypeMenuButtonProps, TypeMenuGroupProps, TypeMenuItemProps, TypeMenuProps, TypeMenuSwitchProps } from "./MenuTypes";
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated MenuItem is deprecated. MenuItem will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
6
|
+
*/
|
|
4
7
|
export declare const MenuItem: {
|
|
5
8
|
({ id: idProp, index: indexProp, as, children, role: roleProp, elemBefore, elemAfter, value: valueProp, onKeyPress, onClick, selected, disabled, indeterminate, label: labelProp, active: activeProp, ...props }: TypeMenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
6
9
|
displayName: string;
|
|
7
10
|
};
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated MenuCheckbox is deprecated. MenuCheckbox will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
13
|
+
*/
|
|
8
14
|
export declare const MenuCheckbox: {
|
|
9
15
|
(props: TypeMenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
10
16
|
displayName: string;
|
|
11
17
|
};
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated MenuRadio is deprecated. MenuRadio will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
20
|
+
*/
|
|
12
21
|
export declare const MenuRadio: {
|
|
13
22
|
(props: TypeMenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
14
23
|
displayName: string;
|
|
15
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated MenuSwitch is deprecated. MenuSwitch will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
27
|
+
*/
|
|
16
28
|
export declare const MenuSwitch: {
|
|
17
29
|
(props: TypeMenuSwitchProps): import("react/jsx-runtime").JSX.Element;
|
|
18
30
|
displayName: string;
|
|
19
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated MenuGroup is deprecated. MenuGroup will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
34
|
+
*/
|
|
20
35
|
export declare const MenuGroup: {
|
|
21
36
|
({ children, title, titleAs, disabled: isDisabled, ...props }: TypeMenuGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
22
37
|
displayName: string;
|
|
23
38
|
};
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated MenuDivider is deprecated. MenuDivider will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
41
|
+
*/
|
|
24
42
|
export declare const MenuDivider: {
|
|
25
43
|
(props: TypeBoxProps): import("react/jsx-runtime").JSX.Element;
|
|
26
44
|
displayName: string;
|
|
27
45
|
};
|
|
46
|
+
/**
|
|
47
|
+
* @deprecated Menu is deprecated. Menu will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
48
|
+
*/
|
|
28
49
|
export declare const Menu: {
|
|
29
50
|
({ role, children, onChange, value, multiselect, innerRef, footerContent, ...props }: TypeMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
30
51
|
displayName: string;
|
|
@@ -57,6 +78,12 @@ export declare const Menu: {
|
|
|
57
78
|
displayName: string;
|
|
58
79
|
};
|
|
59
80
|
};
|
|
81
|
+
/**
|
|
82
|
+
* @deprecated MenuButton is deprecated. MenuButton will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
83
|
+
*/
|
|
60
84
|
export declare const MenuButton: ({ content, popoutProps, children, onClick, closeOnItemClick, id, placement, isOpen, setIsOpen, ...props }: TypeMenuButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
85
|
+
/**
|
|
86
|
+
* @deprecated Menu is deprecated. Menu will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
87
|
+
*/
|
|
61
88
|
export default Menu;
|
|
62
89
|
//# sourceMappingURL=Menu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/Menu/Menu.tsx"],"names":[],"mappings":"AAcA,OAAY,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAIlE,OAAc,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAKxE,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EAEjB,aAAa,EAEb,mBAAmB,EACpB,MAAM,aAAa,CAAC;AA8CrB,eAAO,MAAM,QAAQ;sNAiBlB,iBAAiB;;CA4LnB,CAAC;
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/Menu/Menu.tsx"],"names":[],"mappings":"AAcA,OAAY,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAIlE,OAAc,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAKxE,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EAEjB,aAAa,EAEb,mBAAmB,EACpB,MAAM,aAAa,CAAC;AA8CrB;;GAEG;AACH,eAAO,MAAM,QAAQ;sNAiBlB,iBAAiB;;CA4LnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY;YAAW,iBAAiB;;CAEpD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS;YAAW,iBAAiB;;CAEjD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU;YAAW,mBAAmB;;CA+CpD,CAAC;AAUF;;GAEG;AACH,eAAO,MAAM,SAAS;mEAMnB,kBAAkB;;CA2BpB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW;YAAW,YAAY;;CAQ9C,CAAC;AAqGF;;GAEG;AACH,eAAO,MAAM,IAAI;0FASd,aAAa;;;uEAzJb,kBAAkB;;;;0NAjRlB,iBAAiB;;;;gBAiMgB,iBAAiB;;;;gBAOpB,iBAAiB;;;;gBAOhB,mBAAmB;;;;gBAkGlB,YAAY;;;;6BAaS,cAAc;;;CAgKrE,CAAC;AAyBF;;GAEG;AACH,eAAO,MAAM,UAAU,8GAWpB,mBAAmB,4CAwDrB,CAAC;AAEF;;GAEG;AACH,eAAe,IAAI,CAAC"}
|
|
@@ -5,7 +5,7 @@ import type { TypeSystemCommonProps, TypeSystemFlexboxProps } from "@sproutsocia
|
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated Use PartnerLogoNames instead
|
|
7
7
|
*/
|
|
8
|
-
export declare const PartnerNames: readonly ["adobe-experience-manager", "android", "apple-app-store", "apple", "bigcommerce", "bitly", "bluesky", "bynder", "canva", "dropbox", "facebook-audience-network", "facebook", "facebook-groups", "facebook-shops", "feedly", "github", "glassdoor", "google-analytics", "google-business-messages", "google-drive", "google-my-business", "google-play-store", "hubspot", "instagram", "linkedin-audience-network", "linkedin", "marketo", "messenger", "meta", "microsoft-dynamics", "paypal", "pinterest", "reddit", "salesforce-cloud", "salesforce", "shopify", "slack", "sproutsocial", "tableau", "threads", "tiktok", "tripadvisor", "trustpilot", "tumblr", "twitter-audience-network", "twitter", "whatsapp", "woocommerce", "x-twitter", "yelp", "youtube", "zendesk"];
|
|
8
|
+
export declare const PartnerNames: readonly ["adobe-experience-manager", "android", "apple-app-store", "apple", "bigcommerce", "bitly", "bluesky", "botpress", "bynder", "canva", "dropbox", "facebook-audience-network", "facebook", "facebook-groups", "facebook-shops", "feedly", "github", "glassdoor", "google-analytics", "google-business-messages", "google-drive", "google-my-business", "google-play-store", "hubspot", "instagram", "linkedin-audience-network", "linkedin", "marketo", "messenger", "meta", "microsoft-dynamics", "paypal", "pinterest", "reddit", "salesforce-cloud", "salesforce", "shopify", "slack", "sproutsocial", "tableau", "threads", "tiktok", "tripadvisor", "trustpilot", "tumblr", "twitter-audience-network", "twitter", "whatsapp", "woocommerce", "x-twitter", "yelp", "youtube", "zendesk"];
|
|
9
9
|
/**
|
|
10
10
|
* @deprecated Use EnumLogoNames instead
|
|
11
11
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PartnerLogoTypes.d.ts","sourceRoot":"","sources":["../../../src/PartnerLogo/PartnerLogoTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEtF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AACpF,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,wCAAwC,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"PartnerLogoTypes.d.ts","sourceRoot":"","sources":["../../../src/PartnerLogo/PartnerLogoTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEtF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AACpF,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,wCAAwC,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,YAAY,uwBAA2B,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,4BAA4B,CAAC;AAE5D,eAAO,MAAM,gBAAgB;;;;;;CAMnB,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,gBAAgB,CAAC;AAEhE,eAAO,MAAM,gBAAgB,2CAA4C,CAAC;AAE1E,MAAM,MAAM,oBAAoB,GAAG,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAEnE,MAAM,WAAW,oBACf,SAAQ,+BAA+B,EACrC,qBAAqB,EACrB,sBAAsB,EACtB,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IACvD,6DAA6D;IAC7D,WAAW,EAAE,4BAA4B,CAAC;IAE1C,iHAAiH;IACjH,cAAc,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAClC,QAAQ,CAAC,EAAE,oBAAoB,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,QAAQ,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;CAClD"}
|
|
@@ -3,6 +3,9 @@ import type { TypeToggleHintProps } from "./ToggleHintTypes";
|
|
|
3
3
|
/**
|
|
4
4
|
* Icon (either chevron or plus/minus) indicating whether an element is open or closed.
|
|
5
5
|
*/
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated ToggleHint is deprecated. ToggleHint is no longer supported and will be removed in 2025.
|
|
8
|
+
*/
|
|
6
9
|
export default class ToggleHint extends React.Component<TypeToggleHintProps> {
|
|
7
10
|
static defaultProps: {
|
|
8
11
|
isOpen: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleHint.d.ts","sourceRoot":"","sources":["../../../src/ToggleHint/ToggleHint.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D;;GAEG;AAEH,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,KAAK,CAAC,SAAS,CAAC,mBAAmB,CAAC;IAC1E,MAAM,CAAC,YAAY;;;MAGjB;IACF,OAAO,gDAWL;IAEF,MAAM;CA8BP"}
|
|
1
|
+
{"version":3,"file":"ToggleHint.d.ts","sourceRoot":"","sources":["../../../src/ToggleHint/ToggleHint.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D;;GAEG;AAEH;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,KAAK,CAAC,SAAS,CAAC,mBAAmB,CAAC;IAC1E,MAAM,CAAC,YAAY;;;MAGjB;IACF,OAAO,gDAWL;IAEF,MAAM;CA8BP"}
|
|
@@ -16,6 +16,9 @@ import { MenuButton } from "../Menu";
|
|
|
16
16
|
import Nav from "./styles";
|
|
17
17
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
18
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated BreadcrumbItem is deprecated. BreadcrumbItem will be removed in 2025 in favor of seeds-react-breadcrumb which utilizes the new Menu ecosystem. Please create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-breadcrumb | seeds-react-breadcrumb}.
|
|
21
|
+
*/
|
|
19
22
|
var BreadcrumbItem = function BreadcrumbItem(_ref) {
|
|
20
23
|
var children = _ref.children,
|
|
21
24
|
href = _ref.href,
|
|
@@ -28,6 +31,10 @@ var BreadcrumbItem = function BreadcrumbItem(_ref) {
|
|
|
28
31
|
}))
|
|
29
32
|
});
|
|
30
33
|
};
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @deprecated Breadcrumb is deprecated. This iteration of Breadcrumb will be removed in 2025 in favor of seeds-react-breadcrumb which utilizes the new Menu ecosystem. Please create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-breadcrumb | seeds-react-breadcrumb}.
|
|
37
|
+
*/
|
|
31
38
|
var Breadcrumb = function Breadcrumb(_ref2) {
|
|
32
39
|
var ariaLabel = _ref2.ariaLabel,
|
|
33
40
|
overflow = _ref2.overflow,
|
package/lib/Listbox/Listbox.js
CHANGED
|
@@ -17,6 +17,9 @@ import Icon from "@sproutsocial/seeds-react-icon";
|
|
|
17
17
|
import Menu, { MenuButton } from "../Menu";
|
|
18
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
19
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated Listbox is deprecated. Listbox will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
22
|
+
*/
|
|
20
23
|
export var Listbox = function Listbox(_ref) {
|
|
21
24
|
var _ref$role = _ref.role,
|
|
22
25
|
role = _ref$role === void 0 ? MENU_ROLES.LISTBOX : _ref$role,
|
|
@@ -83,6 +86,10 @@ export var ListboxButtonContainer = styled(MenuButton).withConfig({
|
|
|
83
86
|
return props.theme.colors.icon.error;
|
|
84
87
|
});
|
|
85
88
|
});
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @deprecated ListboxButton is deprecated. ListboxButton will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
92
|
+
*/
|
|
86
93
|
export var ListboxButton = function ListboxButton(_ref2) {
|
|
87
94
|
var children = _ref2.children,
|
|
88
95
|
restProps = _objectWithoutProperties(_ref2, _excluded2);
|
|
@@ -107,4 +114,8 @@ Listbox.Switch = Menu.Switch;
|
|
|
107
114
|
Listbox.Group = Menu.Group;
|
|
108
115
|
Listbox.Divider = Menu.Divider;
|
|
109
116
|
Listbox.FilterInput = Menu.FilterInput;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @deprecated Listbox is deprecated. Listbox will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
120
|
+
*/
|
|
110
121
|
export default Listbox;
|
package/lib/Menu/Menu.js
CHANGED
|
@@ -64,6 +64,10 @@ function isValueSelected(menuValue, value) {
|
|
|
64
64
|
}
|
|
65
65
|
return false;
|
|
66
66
|
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @deprecated MenuItem is deprecated. MenuItem will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
70
|
+
*/
|
|
67
71
|
export var MenuItem = function MenuItem(_ref) {
|
|
68
72
|
var idProp = _ref.id,
|
|
69
73
|
indexProp = _ref.index,
|
|
@@ -240,16 +244,28 @@ export var MenuItem = function MenuItem(_ref) {
|
|
|
240
244
|
})
|
|
241
245
|
}));
|
|
242
246
|
};
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* @deprecated MenuCheckbox is deprecated. MenuCheckbox will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
250
|
+
*/
|
|
243
251
|
export var MenuCheckbox = function MenuCheckbox(props) {
|
|
244
252
|
return /*#__PURE__*/_jsx(MenuItem, _objectSpread({
|
|
245
253
|
role: MENU_ITEM_ROLES.CHECKBOX
|
|
246
254
|
}, props));
|
|
247
255
|
};
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @deprecated MenuRadio is deprecated. MenuRadio will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
259
|
+
*/
|
|
248
260
|
export var MenuRadio = function MenuRadio(props) {
|
|
249
261
|
return /*#__PURE__*/_jsx(MenuItem, _objectSpread({
|
|
250
262
|
role: MENU_ITEM_ROLES.RADIO
|
|
251
263
|
}, props));
|
|
252
264
|
};
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* @deprecated MenuSwitch is deprecated. MenuSwitch will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
268
|
+
*/
|
|
253
269
|
export var MenuSwitch = function MenuSwitch(props) {
|
|
254
270
|
var _useContext3 = useContext(MenuContext),
|
|
255
271
|
menuValue = _useContext3.value;
|
|
@@ -293,6 +309,7 @@ export var MenuSwitch = function MenuSwitch(props) {
|
|
|
293
309
|
}, labelProps), {}, {
|
|
294
310
|
// This prop is passed after labelProps to disallow overrides.
|
|
295
311
|
// Fall back to the label prop if children is falsy.
|
|
312
|
+
// eslint-disable-next-line react/no-children-prop
|
|
296
313
|
children: children || label
|
|
297
314
|
}))
|
|
298
315
|
}));
|
|
@@ -313,6 +330,10 @@ var MenuTitle = styled(Text).withConfig({
|
|
|
313
330
|
var theme = _ref5.theme;
|
|
314
331
|
return theme.colors.text.headline;
|
|
315
332
|
});
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* @deprecated MenuGroup is deprecated. MenuGroup will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
336
|
+
*/
|
|
316
337
|
var _StyledMenuTitle = styled(MenuTitle).withConfig({
|
|
317
338
|
displayName: "Menu___StyledMenuTitle",
|
|
318
339
|
componentId: "sc-1jmjosz-1"
|
|
@@ -348,6 +369,10 @@ export var MenuGroup = function MenuGroup(_ref6) {
|
|
|
348
369
|
}))
|
|
349
370
|
});
|
|
350
371
|
};
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* @deprecated MenuDivider is deprecated. MenuDivider will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
375
|
+
*/
|
|
351
376
|
export var MenuDivider = function MenuDivider(props) {
|
|
352
377
|
return /*#__PURE__*/_jsx(Box, _objectSpread({
|
|
353
378
|
as: "li",
|
|
@@ -356,6 +381,10 @@ export var MenuDivider = function MenuDivider(props) {
|
|
|
356
381
|
borderColor: "container.border.base"
|
|
357
382
|
}, props));
|
|
358
383
|
};
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* @deprecated MenuFilterInput is deprecated. MenuFilterInput will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
387
|
+
*/
|
|
359
388
|
var MenuFilterInput = function MenuFilterInput(_ref7) {
|
|
360
389
|
var _ref7$type = _ref7.type,
|
|
361
390
|
type = _ref7$type === void 0 ? "search" : _ref7$type,
|
|
@@ -392,6 +421,10 @@ var MenuFilterInput = function MenuFilterInput(_ref7) {
|
|
|
392
421
|
onBlur: handleOnBlur
|
|
393
422
|
}));
|
|
394
423
|
};
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* @deprecated MenuItems are deprecated. MenuItems will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
427
|
+
*/
|
|
395
428
|
var MenuItems = function MenuItems(_ref8) {
|
|
396
429
|
var children = _ref8.children,
|
|
397
430
|
role = _ref8.role,
|
|
@@ -418,6 +451,10 @@ var MenuItems = function MenuItems(_ref8) {
|
|
|
418
451
|
children: children
|
|
419
452
|
}));
|
|
420
453
|
};
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* @deprecated MenuFooter is deprecated. MenuFooter will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
457
|
+
*/
|
|
421
458
|
var MenuFooter = function MenuFooter(_ref9) {
|
|
422
459
|
var children = _ref9.children;
|
|
423
460
|
var _useContext5 = useContext(MenuContext),
|
|
@@ -438,6 +475,10 @@ var MenuFooter = function MenuFooter(_ref9) {
|
|
|
438
475
|
children: children
|
|
439
476
|
});
|
|
440
477
|
};
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* @deprecated Menu is deprecated. Menu will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
481
|
+
*/
|
|
441
482
|
export var Menu = function Menu(_ref10) {
|
|
442
483
|
var _ref10$role = _ref10.role,
|
|
443
484
|
role = _ref10$role === void 0 ? MENU_ROLES.MENU : _ref10$role,
|
|
@@ -514,6 +555,10 @@ var CustomPopoutContent = styled(Popout.Content).withConfig({
|
|
|
514
555
|
displayName: "Menu__CustomPopoutContent",
|
|
515
556
|
componentId: "sc-1jmjosz-2"
|
|
516
557
|
})(["padding:0;margin-left:0;margin-right:0;"]);
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* @deprecated MenuButton is deprecated. MenuButton will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
561
|
+
*/
|
|
517
562
|
export var MenuButton = function MenuButton(_ref11) {
|
|
518
563
|
var content = _ref11.content,
|
|
519
564
|
popoutProps = _ref11.popoutProps,
|
|
@@ -579,4 +624,8 @@ export var MenuButton = function MenuButton(_ref11) {
|
|
|
579
624
|
}))
|
|
580
625
|
});
|
|
581
626
|
};
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* @deprecated Menu is deprecated. Menu will be removed in 2025 in favor of seeds-react-menu ecosystem. Create a plan to migrate to {@link https://github.com/sproutsocial/seeds/tree/dev/seeds-react/seeds-react-menu/src | seeds-react-menu}.
|
|
630
|
+
*/
|
|
582
631
|
export default Menu;
|
|
@@ -18,13 +18,16 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
18
18
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
19
19
|
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); }
|
|
20
20
|
import * as React from "react";
|
|
21
|
-
import Icon from "
|
|
21
|
+
import Icon from "@sproutsocial/seeds-react-icon";
|
|
22
22
|
import Container, { IconText } from "./styles";
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
25
|
/**
|
|
26
26
|
* Icon (either chevron or plus/minus) indicating whether an element is open or closed.
|
|
27
27
|
*/
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated ToggleHint is deprecated. ToggleHint is no longer supported and will be removed in 2025.
|
|
30
|
+
*/
|
|
28
31
|
var ToggleHint = /*#__PURE__*/function (_React$Component) {
|
|
29
32
|
_inherits(ToggleHint, _React$Component);
|
|
30
33
|
function ToggleHint() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sproutsocial/racine",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.11.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18"
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"@sproutsocial/seeds-react-modal": "^1.0.1",
|
|
88
88
|
"@sproutsocial/seeds-react-numeral": "^1.0.1",
|
|
89
89
|
"@sproutsocial/seeds-react-partner-logo": "^1.3.1",
|
|
90
|
-
"@sproutsocial/seeds-react-popout": "^2.
|
|
90
|
+
"@sproutsocial/seeds-react-popout": "^2.2.1",
|
|
91
91
|
"@sproutsocial/seeds-react-portal": "^1.1.3",
|
|
92
92
|
"@sproutsocial/seeds-react-radio": "^1.3.0",
|
|
93
93
|
"@sproutsocial/seeds-react-segmented-control": "^1.0.1",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"@sproutsocial/seeds-networkcolor": "^2.20.0",
|
|
146
146
|
"@sproutsocial/seeds-partner-logos": "^1.12.0",
|
|
147
147
|
"@sproutsocial/seeds-react-checkbox": "^1.3.1",
|
|
148
|
-
"@sproutsocial/seeds-react-menu": "^1.
|
|
148
|
+
"@sproutsocial/seeds-react-menu": "^1.2.0",
|
|
149
149
|
"@sproutsocial/seeds-react-testing-library": "*",
|
|
150
150
|
"@sproutsocial/seeds-react-theme": "^2.3.0",
|
|
151
151
|
"@sproutsocial/seeds-space": "^0.8.0",
|