@7shifts/sous-chef 3.73.1 → 3.75.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.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Props } from '../../forms/SelectField/SelectField';
3
- type ToolbarSelectProps<T> = Omit<Props<T>, 'asToolbarFilter' | 'caption' | 'error' | 'id' | 'isClearable' | 'label' | 'noOptionMessage' | 'CustomOption' | 'SelectedOptionPrefix' | 'creatableButton' | 'onCreate' | 'isSearchable'>;
3
+ type ToolbarSelectProps<T> = Omit<Props<T>, 'asToolbarFilter' | 'caption' | 'error' | 'id' | 'isClearable' | 'label' | 'noOptionMessage' | 'CustomOption' | 'SelectedOptionPrefix' | 'isSearchable'>;
4
4
  /** Toolbar component to make a possible selection from predefined options. */
5
- declare const ToolbarSelect: <T extends unknown>({ name, value, options, onChange, onBlur, placeholder, defaultValue, menuShouldScrollIntoView, disabled, prefix, testId }: ToolbarSelectProps<T>) => React.JSX.Element;
5
+ declare const ToolbarSelect: <T extends unknown>({ name, value, options, onChange, onBlur, placeholder, defaultValue, menuShouldScrollIntoView, disabled, prefix, testId, creatableButton, onCreate }: ToolbarSelectProps<T>) => React.JSX.Element;
6
6
  export default ToolbarSelect;
package/dist/index.css CHANGED
@@ -879,16 +879,16 @@ Just for future references:
879
879
  ._S1co- button:disabled {
880
880
  border-color: var(--color-grey-200);
881
881
  }
882
- ._S1co- button:last-child {
883
- border-radius: 0 var(--border-radius-400) var(--border-radius-400) 0;
882
+ ._S1co- > *:last-child {
884
883
  margin-left: -1px;
885
884
  }
886
- ._S1co- button:first-child {
887
- border-radius: var(--border-radius-400) 0 0 var(--border-radius-400);
885
+ ._S1co- > *:last-child,
886
+ ._S1co- > *:last-child button {
887
+ border-radius: 0 var(--border-radius-400) var(--border-radius-400) 0;
888
888
  }
889
- ._S1co- button:not(:first-child):not(:last-child) {
890
- border-radius: 0;
891
- margin-left: -1px;
889
+ ._S1co- > *:first-child,
890
+ ._S1co- > *:first-child button {
891
+ border-radius: var(--border-radius-400) 0 0 var(--border-radius-400);
892
892
  }
893
893
  ._sgd9a {
894
894
  width: 20px;
@@ -1386,6 +1386,12 @@ h5._6SgoN {
1386
1386
  line-height: var(--font-line-height-700);
1387
1387
  font-weight: var(--p-font-weight-semibold);
1388
1388
  }
1389
+ ._yZbuO {
1390
+ font-family: var(--font-family-body);
1391
+ font-size: var(--font-size-200);
1392
+ line-height: var(--font-line-height-200);
1393
+ font-weight: var(--p-font-weight-normal);
1394
+ }
1389
1395
  ._i2LHD {
1390
1396
  font-weight: var(--p-font-weight-bold);
1391
1397
  color: var(--color-grey-600);