@7shifts/sous-chef 3.3.3 → 3.3.5

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.
@@ -6,6 +6,7 @@ import CheckboxField from './CheckboxField';
6
6
  import PillSelectField from './PillSelectField';
7
7
  import RadioGroupField from './RadioGroupField';
8
8
  import RadioGroupOption from './RadioGroupOption';
9
+ import RadioGroupBoxOption from './RadioGroupBoxOption';
9
10
  import PasswordField from './PasswordField';
10
11
  import MultiSelectField from './MultiSelectField';
11
12
  import SelectField from './SelectField';
@@ -19,7 +20,7 @@ import PercentageField from './PercentageField';
19
20
  import FormSection from './FormSection';
20
21
  import FormFooter from './FormFooter';
21
22
  import FormFeedback from './FormFeedback';
22
- export { Form, FormRow, TextAreaField, TextField, CheckboxField, PillSelectField, RadioGroupField, RadioGroupOption, PasswordField, MultiSelectField, SelectField, AsyncSelectField, DateField, DateRangeField, WeekField, TimeField, CurrencyField, PercentageField, FormSection, FormFooter, FormFeedback, SIZE_25_PERCENT, SIZE_33_PERCENT, SIZE_50_PERCENT, SIZE_66_PERCENT, SIZE_75_PERCENT };
23
+ export { Form, FormRow, TextAreaField, TextField, CheckboxField, PillSelectField, RadioGroupField, RadioGroupOption, RadioGroupBoxOption, PasswordField, MultiSelectField, SelectField, AsyncSelectField, DateField, DateRangeField, WeekField, TimeField, CurrencyField, PercentageField, FormSection, FormFooter, FormFeedback, SIZE_25_PERCENT, SIZE_33_PERCENT, SIZE_50_PERCENT, SIZE_66_PERCENT, SIZE_75_PERCENT };
23
24
  export type { PasswordCriteria } from './PasswordField/types';
24
25
  export type { SelectOption, SelectOptions, GroupOption } from './SelectField/types';
25
26
  export type { AsyncSelectOptions } from './AsyncSelectField/types';
package/dist/index.js CHANGED
@@ -5356,7 +5356,7 @@ var AffixContainer = function AffixContainer(_ref) {
5356
5356
 
5357
5357
  var styles$n = {"data-table-editable-cell":"_qYNve","data-table-editable-cell--right-aligned":"_3w6bw","data-table-editable-cell--currency":"_2y-_5","data-table-editable-cell--invalid":"_1Mx8j","data-table-editable-cell--top-left":"_2BlhN","data-table-editable-cell--top-right":"_1qDoN","data-table-editable-cell--bottom-left":"_2NUlb","data-table-editable-cell--bottom-right":"_3Mm-v"};
5358
5358
 
5359
- var DataTableEditableCell = function DataTableEditableCell(_ref) {
5359
+ var DataTableEditableCellElement = function DataTableEditableCellElement(_ref, ref) {
5360
5360
  var _columns$columnIndex, _controllers$error, _classnames, _classnames2;
5361
5361
 
5362
5362
  var name = _ref.name,
@@ -5422,7 +5422,8 @@ var DataTableEditableCell = function DataTableEditableCell(_ref) {
5422
5422
  defaultValue: defaultValue,
5423
5423
  value: controllers.value,
5424
5424
  onChange: controllers.onChange,
5425
- onBlur: controllers.onBlur
5425
+ onBlur: controllers.onBlur,
5426
+ ref: ref
5426
5427
  }))));
5427
5428
 
5428
5429
  if (hasError) {
@@ -5436,6 +5437,8 @@ var DataTableEditableCell = function DataTableEditableCell(_ref) {
5436
5437
  return EditableCell;
5437
5438
  };
5438
5439
 
5440
+ var DataTableEditableCell = React.forwardRef(DataTableEditableCellElement);
5441
+
5439
5442
  var useSelectFieldControllers = function useSelectFieldControllers(_ref) {
5440
5443
  var name = _ref.name,
5441
5444
  inputId = _ref.id,
@@ -9235,6 +9238,7 @@ exports.PersistentBanner = PersistentBanner;
9235
9238
  exports.Pill = Pill;
9236
9239
  exports.PillSelectField = PillSelectField;
9237
9240
  exports.ProgressBar = ProgressBar;
9241
+ exports.RadioGroupBoxOption = RadioGroupBoxOption;
9238
9242
  exports.RadioGroupField = RadioGroupField;
9239
9243
  exports.RadioGroupOption = RadioGroupOption;
9240
9244
  exports.SIZE_25_PERCENT = SIZE_25_PERCENT;