@sproutsocial/racine 25.9.2 → 25.10.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.
Files changed (30) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/commonjs/Breadcrumb/Breadcrumb.js +7 -0
  3. package/commonjs/Input/Input.js +3 -2
  4. package/commonjs/Listbox/Listbox.js +11 -0
  5. package/commonjs/Menu/Menu.js +49 -0
  6. package/commonjs/ToggleHint/ToggleHint.js +6 -3
  7. package/dist/dynamicProps.json +1 -1
  8. package/dist/dynamicPropsRaw.json +1 -0
  9. package/dist/types/Breadcrumb/Breadcrumb.d.ts +3 -0
  10. package/dist/types/Breadcrumb/Breadcrumb.d.ts.map +1 -1
  11. package/dist/types/Listbox/Listbox.d.ts +9 -0
  12. package/dist/types/Listbox/Listbox.d.ts.map +1 -1
  13. package/dist/types/Menu/Menu.d.ts +27 -0
  14. package/dist/types/Menu/Menu.d.ts.map +1 -1
  15. package/dist/types/PartnerLogo/PartnerLogoTypes.d.ts +1 -1
  16. package/dist/types/PartnerLogo/PartnerLogoTypes.d.ts.map +1 -1
  17. package/dist/types/ToggleHint/ToggleHint.d.ts +3 -0
  18. package/dist/types/ToggleHint/ToggleHint.d.ts.map +1 -1
  19. package/lib/Breadcrumb/Breadcrumb.js +7 -0
  20. package/lib/Input/Input.js +3 -2
  21. package/lib/Listbox/Listbox.js +11 -0
  22. package/lib/Menu/Menu.js +49 -0
  23. package/lib/ToggleHint/ToggleHint.js +4 -1
  24. package/package.json +57 -59
  25. package/commonjs/MenuNew/storybookUtilities/menu-storybook-components.js +0 -42
  26. package/dist/types/MenuNew/__tests__/fixtures/menu-test-data.d.ts +0 -9
  27. package/dist/types/MenuNew/__tests__/fixtures/menu-test-data.d.ts.map +0 -1
  28. package/dist/types/MenuNew/storybookUtilities/menu-storybook-components.d.ts +0 -9
  29. package/dist/types/MenuNew/storybookUtilities/menu-storybook-components.d.ts.map +0 -1
  30. package/lib/MenuNew/storybookUtilities/menu-storybook-components.js +0 -36
@@ -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;AAgB3B,QAAA,MAAM,UAAU;iDAKb,mBAAmB;;sCAfnB,uBAAuB;;;CAmDzB,CAAC;AAKF,eAAe,UAAU,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;AAC/E,eAAO,MAAM,OAAO;kCAIjB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,4RAuDlC,CAAC;AACF,eAAO,MAAM,aAAa,+BAGvB,sBAAsB,4CAaxB,CAAC;AAQF,eAAe,OAAO,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;AACF,eAAO,MAAM,YAAY;YAAW,iBAAiB;;CAEpD,CAAC;AACF,eAAO,MAAM,SAAS;YAAW,iBAAiB;;CAEjD,CAAC;AAEF,eAAO,MAAM,UAAU;YAAW,mBAAmB;;CA8CpD,CAAC;AAUF,eAAO,MAAM,SAAS;mEAMnB,kBAAkB;;CA2BpB,CAAC;AAEF,eAAO,MAAM,WAAW;YAAW,YAAY;;CAQ9C,CAAC;AA4FF,eAAO,MAAM,IAAI;0FASd,aAAa;;;uEA1Ib,kBAAkB;;;;0NAlQlB,iBAAiB;;;;gBA6LgB,iBAAiB;;;;gBAGpB,iBAAiB;;;;gBAIhB,mBAAmB;;;;gBA2FlB,YAAY;;;;6BAUS,cAAc;;;CAuJrE,CAAC;AAuBF,eAAO,MAAM,UAAU,8GAWpB,mBAAmB,4CAwDrB,CAAC;AAEF,eAAe,IAAI,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,2vBAA2B,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"}
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,
@@ -190,7 +190,8 @@ var Input = /*#__PURE__*/function (_React$Component) {
190
190
  ariaLabel = _this$props8.ariaLabel,
191
191
  ariaDescribedby = _this$props8.ariaDescribedby,
192
192
  clearButtonLabel = _this$props8.clearButtonLabel,
193
- innerRef = _this$props8.innerRef,
193
+ _this$props8$innerRef = _this$props8.innerRef,
194
+ innerRef = _this$props8$innerRef === void 0 ? null : _this$props8$innerRef,
194
195
  onBlur = _this$props8.onBlur,
195
196
  onChange = _this$props8.onChange,
196
197
  onClear = _this$props8.onClear,
@@ -261,7 +262,7 @@ var Input = /*#__PURE__*/function (_React$Component) {
261
262
  onKeyDown: this.handleKeyDown,
262
263
  onKeyUp: this.handleKeyUp,
263
264
  onPaste: this.handlePaste,
264
- ref: mergeRefs([innerRef !== null && innerRef !== void 0 ? innerRef : null, this.inputRef]),
265
+ ref: mergeRefs(innerRef, this.inputRef),
265
266
  "data-qa-input": name || "",
266
267
  "data-qa-input-isdisabled": disabled === true,
267
268
  "data-qa-input-isrequired": required === true
@@ -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 "../Icon";
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.9.2",
3
+ "version": "25.10.0",
4
4
  "license": "MIT",
5
5
  "engines": {
6
6
  "node": ">=18"
@@ -39,8 +39,6 @@
39
39
  "deploy:apps": "npm-run-all -s clean build:ts-declarations build-app",
40
40
  "format": "prettier --write .",
41
41
  "format:check": "prettier -c .",
42
- "lint": "eslint --max-warnings=0 --fix .",
43
- "lint:check": "eslint --max-warnings=0 --ext .ts,.tsx,.js .",
44
42
  "jest": "node node_modules/.bin/jest",
45
43
  "jest:watch": "jest --watch",
46
44
  "typecheck:ts": "tsc --noEmit",
@@ -58,59 +56,59 @@
58
56
  },
59
57
  "dependencies": {
60
58
  "@react-spring/web": "^9.0.0",
61
- "@sproutsocial/seeds-react-avatar": "^1.0.0",
62
- "@sproutsocial/seeds-react-badge": "^1.0.0",
63
- "@sproutsocial/seeds-react-banner": "^1.0.0",
64
- "@sproutsocial/seeds-react-box": "^1.1.1",
65
- "@sproutsocial/seeds-react-button": "^1.2.0",
66
- "@sproutsocial/seeds-react-card": "^1.1.0",
67
- "@sproutsocial/seeds-react-character-counter": "^1.0.0",
68
- "@sproutsocial/seeds-react-chart-legend": "^1.0.0",
69
- "@sproutsocial/seeds-react-checkbox": "^1.3.0",
70
- "@sproutsocial/seeds-react-collapsible": "^1.0.1",
71
- "@sproutsocial/seeds-react-datepicker": "^1.0.0",
72
- "@sproutsocial/seeds-react-drawer": "^1.0.0",
73
- "@sproutsocial/seeds-react-duration": "^1.0.0",
74
- "@sproutsocial/seeds-react-empty-state": "^1.0.0",
75
- "@sproutsocial/seeds-react-fieldset": "^1.0.0",
76
- "@sproutsocial/seeds-react-form-field": "^1.0.0",
77
- "@sproutsocial/seeds-react-hooks": "^3.0.1",
78
- "@sproutsocial/seeds-react-icon": "^1.1.1",
79
- "@sproutsocial/seeds-react-image": "^1.0.0",
80
- "@sproutsocial/seeds-react-indicator": "^1.0.0",
81
- "@sproutsocial/seeds-react-input": "^1.3.1",
82
- "@sproutsocial/seeds-react-keyboard-key": "^1.0.0",
83
- "@sproutsocial/seeds-react-label": "^1.0.0",
84
- "@sproutsocial/seeds-react-link": "^1.0.0",
85
- "@sproutsocial/seeds-react-loader": "^1.0.0",
86
- "@sproutsocial/seeds-react-loader-button": "^1.0.0",
87
- "@sproutsocial/seeds-react-message": "^1.0.0",
88
- "@sproutsocial/seeds-react-mixins": "^4.1.0",
89
- "@sproutsocial/seeds-react-modal": "^1.0.0",
90
- "@sproutsocial/seeds-react-numeral": "^1.0.0",
91
- "@sproutsocial/seeds-react-partner-logo": "^1.3.0",
92
- "@sproutsocial/seeds-react-popout": "^2.1.0",
93
- "@sproutsocial/seeds-react-portal": "^1.1.0",
94
- "@sproutsocial/seeds-react-radio": "^1.2.0",
95
- "@sproutsocial/seeds-react-segmented-control": "^1.0.0",
96
- "@sproutsocial/seeds-react-spot-illustration": "^1.0.0",
97
- "@sproutsocial/seeds-react-select": "^1.1.0",
98
- "@sproutsocial/seeds-react-skeleton": "^1.1.0",
99
- "@sproutsocial/seeds-react-stack": "^1.0.0",
100
- "@sproutsocial/seeds-react-switch": "^1.2.0",
101
- "@sproutsocial/seeds-react-system-props": "^3.0.1",
102
- "@sproutsocial/seeds-react-table": "^1.0.0",
103
- "@sproutsocial/seeds-react-tabs": "^1.1.0",
104
- "@sproutsocial/seeds-react-text": "^1.3.0",
105
- "@sproutsocial/seeds-react-textarea": "^1.0.0",
106
- "@sproutsocial/seeds-react-toast": "^1.0.0",
107
- "@sproutsocial/seeds-react-token": "^1.0.2",
108
- "@sproutsocial/seeds-react-token-input": "^1.0.0",
109
- "@sproutsocial/seeds-react-tooltip": "^1.0.0",
110
- "@sproutsocial/seeds-react-theme": "^2.2.0",
111
- "@sproutsocial/seeds-react-theme-provider": "^1.1.1",
112
- "@sproutsocial/seeds-react-utilities": "^4.0.1",
113
- "@sproutsocial/seeds-react-visually-hidden": "^1.0.1",
59
+ "@sproutsocial/seeds-react-avatar": "^1.0.1",
60
+ "@sproutsocial/seeds-react-badge": "^1.0.1",
61
+ "@sproutsocial/seeds-react-banner": "^1.0.1",
62
+ "@sproutsocial/seeds-react-box": "^1.1.2",
63
+ "@sproutsocial/seeds-react-button": "^1.2.1",
64
+ "@sproutsocial/seeds-react-card": "^1.1.1",
65
+ "@sproutsocial/seeds-react-character-counter": "^1.0.1",
66
+ "@sproutsocial/seeds-react-chart-legend": "^1.0.1",
67
+ "@sproutsocial/seeds-react-checkbox": "^1.3.1",
68
+ "@sproutsocial/seeds-react-collapsible": "^1.0.2",
69
+ "@sproutsocial/seeds-react-datepicker": "^1.0.1",
70
+ "@sproutsocial/seeds-react-drawer": "^1.0.1",
71
+ "@sproutsocial/seeds-react-duration": "^1.0.1",
72
+ "@sproutsocial/seeds-react-empty-state": "^1.0.1",
73
+ "@sproutsocial/seeds-react-fieldset": "^1.0.1",
74
+ "@sproutsocial/seeds-react-form-field": "^1.0.1",
75
+ "@sproutsocial/seeds-react-hooks": "^3.0.2",
76
+ "@sproutsocial/seeds-react-icon": "^1.1.2",
77
+ "@sproutsocial/seeds-react-image": "^1.0.1",
78
+ "@sproutsocial/seeds-react-indicator": "^1.0.1",
79
+ "@sproutsocial/seeds-react-input": "^1.4.2",
80
+ "@sproutsocial/seeds-react-keyboard-key": "^1.0.1",
81
+ "@sproutsocial/seeds-react-label": "^1.0.1",
82
+ "@sproutsocial/seeds-react-link": "^1.0.1",
83
+ "@sproutsocial/seeds-react-loader": "^1.0.1",
84
+ "@sproutsocial/seeds-react-loader-button": "^1.0.1",
85
+ "@sproutsocial/seeds-react-message": "^1.0.1",
86
+ "@sproutsocial/seeds-react-mixins": "^4.1.1",
87
+ "@sproutsocial/seeds-react-modal": "^1.0.1",
88
+ "@sproutsocial/seeds-react-numeral": "^1.0.1",
89
+ "@sproutsocial/seeds-react-partner-logo": "^1.3.1",
90
+ "@sproutsocial/seeds-react-popout": "^2.2.0",
91
+ "@sproutsocial/seeds-react-portal": "^1.1.3",
92
+ "@sproutsocial/seeds-react-radio": "^1.3.0",
93
+ "@sproutsocial/seeds-react-segmented-control": "^1.0.1",
94
+ "@sproutsocial/seeds-react-spot-illustration": "^1.0.1",
95
+ "@sproutsocial/seeds-react-select": "^1.1.1",
96
+ "@sproutsocial/seeds-react-skeleton": "^1.1.1",
97
+ "@sproutsocial/seeds-react-stack": "^1.0.1",
98
+ "@sproutsocial/seeds-react-switch": "^1.2.1",
99
+ "@sproutsocial/seeds-react-system-props": "^3.0.2",
100
+ "@sproutsocial/seeds-react-table": "^1.0.1",
101
+ "@sproutsocial/seeds-react-tabs": "^1.1.1",
102
+ "@sproutsocial/seeds-react-text": "^1.3.1",
103
+ "@sproutsocial/seeds-react-textarea": "^1.0.1",
104
+ "@sproutsocial/seeds-react-toast": "^1.0.1",
105
+ "@sproutsocial/seeds-react-token": "^1.2.0",
106
+ "@sproutsocial/seeds-react-token-input": "^1.4.0",
107
+ "@sproutsocial/seeds-react-tooltip": "^1.0.1",
108
+ "@sproutsocial/seeds-react-theme": "^2.3.0",
109
+ "@sproutsocial/seeds-react-theme-provider": "^1.1.2",
110
+ "@sproutsocial/seeds-react-utilities": "^4.2.0",
111
+ "@sproutsocial/seeds-react-visually-hidden": "^1.0.2",
114
112
  "@styled-system/theme-get": "^5.1.2",
115
113
  "classnames": "^2.2.6",
116
114
  "default-browser-id": "^3.0.0",
@@ -146,10 +144,10 @@
146
144
  "@sproutsocial/seeds-motion": "^1.8.0",
147
145
  "@sproutsocial/seeds-networkcolor": "^2.20.0",
148
146
  "@sproutsocial/seeds-partner-logos": "^1.12.0",
149
- "@sproutsocial/seeds-react-checkbox": "^1.3.0",
150
- "@sproutsocial/seeds-react-menu": "^0.5.0",
147
+ "@sproutsocial/seeds-react-checkbox": "^1.3.1",
148
+ "@sproutsocial/seeds-react-menu": "^1.1.0",
151
149
  "@sproutsocial/seeds-react-testing-library": "*",
152
- "@sproutsocial/seeds-react-theme": "^2.2.0",
150
+ "@sproutsocial/seeds-react-theme": "^2.3.0",
153
151
  "@sproutsocial/seeds-space": "^0.8.0",
154
152
  "@sproutsocial/seeds-tsconfig": "*",
155
153
  "@sproutsocial/seeds-typography": "^3.7.0",
@@ -1,42 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.StorybookMenuToggleButton = void 0;
7
- var _seedsReactMenu = require("@sproutsocial/seeds-react-menu");
8
- var _seedsReactBox = require("@sproutsocial/seeds-react-box");
9
- var _seedsReactIcon = require("@sproutsocial/seeds-react-icon");
10
- var _styledComponents = _interopRequireDefault(require("styled-components"));
11
- var _jsxRuntime = require("react/jsx-runtime");
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
- var StyledChevron = _styledComponents.default.div.withConfig({
14
- displayName: "menu-storybook-components__StyledChevron",
15
- componentId: "sc-1qxavqh-0"
16
- })(["margin-left:", ";", " transition:transform 0.15s;"], function (_ref) {
17
- var theme = _ref.theme;
18
- return theme.space[300];
19
- }, function (_ref2) {
20
- var $isOpen = _ref2.$isOpen;
21
- return $isOpen && "\n\t\ttransform: rotate(-180deg);\n\t";
22
- });
23
- var StorybookMenuToggleButton = exports.StorybookMenuToggleButton = function StorybookMenuToggleButton(_ref3) {
24
- var buttonText = _ref3.buttonText;
25
- var _useMenuContext = (0, _seedsReactMenu.useMenuContext)(),
26
- isOpen = _useMenuContext.isOpen;
27
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_seedsReactMenu.MenuToggleButton, {
28
- appearance: "secondary",
29
- children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_seedsReactBox.Box, {
30
- display: "flex",
31
- justifyContent: "space-between",
32
- children: [buttonText ? buttonText : /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
33
- children: "Select book"
34
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(StyledChevron, {
35
- $isOpen: isOpen,
36
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_seedsReactIcon.Icon, {
37
- name: "chevron-down"
38
- })
39
- })]
40
- })
41
- });
42
- };
@@ -1,9 +0,0 @@
1
- interface TypeBook {
2
- id: string;
3
- author: string;
4
- title: string;
5
- }
6
- export declare const TEST_BOOKS: TypeBook[];
7
- export declare const EXTRA_BOOKS: TypeBook[];
8
- export {};
9
- //# sourceMappingURL=menu-test-data.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"menu-test-data.d.ts","sourceRoot":"","sources":["../../../../../src/MenuNew/__tests__/fixtures/menu-test-data.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,UAAU,EAAE,QAAQ,EAmBhC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,QAAQ,EAQjC,CAAC"}
@@ -1,9 +0,0 @@
1
- export interface TypeStyledChevronProps {
2
- $isOpen?: boolean;
3
- }
4
- interface StorybookMenuToggleButtonProps {
5
- buttonText?: string;
6
- }
7
- export declare const StorybookMenuToggleButton: ({ buttonText, }: StorybookMenuToggleButtonProps) => import("react/jsx-runtime").JSX.Element;
8
- export {};
9
- //# sourceMappingURL=menu-storybook-components.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"menu-storybook-components.d.ts","sourceRoot":"","sources":["../../../../src/MenuNew/storybookUtilities/menu-storybook-components.tsx"],"names":[],"mappings":"AAQA,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAYD,UAAU,8BAA8B;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,yBAAyB,oBAEnC,8BAA8B,4CAahC,CAAC"}