@7shifts/sous-chef 3.57.2-beta0 → 3.57.2-beta1

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.
@@ -1,3 +1,4 @@
1
+ import { ReactNode } from 'react';
1
2
  import { ControlProps } from 'react-select';
2
3
  export type GroupOption<T> = {
3
4
  label: string;
@@ -6,7 +7,7 @@ export type GroupOption<T> = {
6
7
  export type SelectOption<T> = {
7
8
  isDisabled?: boolean;
8
9
  value: T;
9
- label: string;
10
+ label: ReactNode;
10
11
  };
11
12
  export type SelectOptions<T> = Array<SelectOption<T> | GroupOption<T>>;
12
13
  export type CustomOptionProps<T> = {
package/dist/index.js CHANGED
@@ -9403,7 +9403,7 @@ var AccordionItem = function AccordionItem(props) {
9403
9403
  }))), React__default["default"].createElement("div", {
9404
9404
  "data-testid": "" + (isOpen ? 'accordion-item-' + id + '-open' : 'accordion-item-' + id + '-closed'),
9405
9405
  className: styles$y["accordion-item__content" + (isOpen ? '--active' : '')]
9406
- }, isOpen && React__default["default"].createElement(Text, {
9406
+ }, React__default["default"].createElement(Text, {
9407
9407
  color: "grey-500"
9408
9408
  }, content)));
9409
9409
  };