@7shifts/sous-chef 3.56.2-beta3 → 3.57.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.
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import type { Props as TextFieldProps } from '../TextField/TextField';
3
+ /**
4
+ * `NumberField` is an extended `TextField` input with validation and formatting in place to properly display number values.
5
+ * In its default state it only allows whole numbers, but it can be configured to allow decimals and negative values.
6
+ */
7
+ declare const NumberField: React.ForwardRefExoticComponent<{
8
+ max?: number | undefined;
9
+ min?: number | undefined;
10
+ precision?: number | undefined;
11
+ stepSize?: number | undefined;
12
+ } & Omit<TextFieldProps, "maxLength"> & React.RefAttributes<HTMLInputElement>>;
13
+ export default NumberField;
@@ -0,0 +1 @@
1
+ export { default } from './NumberField';
package/dist/index.css CHANGED
@@ -1118,14 +1118,14 @@ Just for future references:
1118
1118
  }
1119
1119
  ._G3b-p::before {
1120
1120
  top: 0;
1121
- box-shadow: -6px -6px 0 0 white;
1121
+ box-shadow: -6px -6px 0 0 var(--corner-background-color);
1122
1122
  }
1123
1123
  ._YUMxZ {
1124
1124
  bottom: -1px;
1125
1125
  }
1126
1126
  ._YUMxZ::before {
1127
1127
  bottom: 0;
1128
- box-shadow: -6px 6px 0 0 white;
1128
+ box-shadow: -6px 6px 0 0 var(--corner-background-color);
1129
1129
  }
1130
1130
  ._xUVcY {
1131
1131
  width: var(--border-radius-600);
@@ -1148,14 +1148,14 @@ Just for future references:
1148
1148
  }
1149
1149
  ._BE0hn::before {
1150
1150
  top: 0;
1151
- box-shadow: 6px -6px 0 0 white;
1151
+ box-shadow: 6px -6px 0 0 var(--corner-background-color);
1152
1152
  }
1153
1153
  ._UtFdB {
1154
1154
  bottom: -1px;
1155
1155
  }
1156
1156
  ._UtFdB::before {
1157
1157
  bottom: 0;
1158
- box-shadow: 6px 6px 0 0 white;
1158
+ box-shadow: 6px 6px 0 0 var(--corner-background-color);
1159
1159
  }
1160
1160
  ._omAUf {
1161
1161
  padding: 16px 12px 16px 12px;
@@ -1800,24 +1800,21 @@ h5._6SgoN {
1800
1800
  height: 80px;
1801
1801
  border-radius: 50%;
1802
1802
  }
1803
- ._nG--Q:focus:not(:focus-visible) {
1803
+ ._hhDnr:first-of-type > td {
1804
+ border-top: 1px solid var(--color-grey-200);
1805
+ }
1806
+ ._hhDnr:focus:not(:focus-visible) {
1804
1807
  /* Remove the focus indicator on mouse-focus for browsers
1805
1808
  that do support :focus-visible */
1806
1809
  outline: none;
1807
1810
  }
1808
-
1809
- ._II3M2 {
1811
+ ._ej5Ke {
1810
1812
  cursor: pointer;
1811
1813
  }
1812
- ._II3M2:hover {
1814
+ ._ej5Ke:not(._qDTAh):hover td {
1813
1815
  background-color: var(--color-grey-100);
1814
1816
  }
1815
-
1816
- ._nG--Q:first-of-type > td {
1817
- border-top: 1px solid var(--color-grey-200);
1818
- }
1819
-
1820
- ._ho205 td {
1817
+ ._qDTAh td {
1821
1818
  background-color: var(--color-blackberry-100);
1822
1819
  }
1823
1820
  ._ffXgN {