@7shifts/sous-chef 3.12.0 → 3.13.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 (27) hide show
  1. package/dist/foundation/color-codes.d.ts +1 -0
  2. package/dist/foundation/domain.d.ts +2 -1
  3. package/dist/index.css +213 -223
  4. package/dist/index.d.ts +1 -0
  5. package/dist/index.js +426 -434
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.modern.js +426 -434
  8. package/dist/index.modern.js.map +1 -1
  9. package/dist/lists/DataTable/DataTableDefaultItemComponent/DataTableDefaultItemComponent.d.ts +3 -0
  10. package/dist/lists/DataTable/DataTableDefaultItemComponent/index.d.ts +1 -0
  11. package/dist/lists/DataTable/DataTableHeader/ColumnSizes/ColumnSizes.d.ts +7 -0
  12. package/dist/lists/DataTable/DataTableHeader/ColumnSizes/index.d.ts +1 -0
  13. package/dist/lists/DataTable/{DataTableHeader.d.ts → DataTableHeader/DataTableHeader.d.ts} +1 -1
  14. package/dist/lists/DataTable/DataTableHeader/HeaderSortIcon/HeaderSortIcon.d.ts +6 -0
  15. package/dist/lists/DataTable/DataTableHeader/HeaderSortIcon/index.d.ts +1 -0
  16. package/dist/lists/DataTable/DataTableHeader/constants.d.ts +2 -0
  17. package/dist/lists/DataTable/DataTableHeader/domain.d.ts +2 -0
  18. package/dist/lists/DataTable/DataTableHeader/types.d.ts +4 -0
  19. package/dist/lists/DataTable/types.d.ts +1 -1
  20. package/dist/lists/DataTableCell/index.d.ts +1 -0
  21. package/dist/lists/index.d.ts +1 -1
  22. package/dist/overlay/KebabMenu/types.d.ts +1 -0
  23. package/dist/typography/Text/Text.d.ts +1 -1
  24. package/package.json +1 -1
  25. package/dist/foundation/colors.d.ts +0 -53
  26. package/dist/lists/DataTable/DataTableCell/index.d.ts +0 -1
  27. /package/dist/lists/{DataTable/DataTableCell → DataTableCell}/DataTableCell.d.ts +0 -0
@@ -0,0 +1 @@
1
+ export declare const COLOR_CODES: {};
@@ -1 +1,2 @@
1
- export declare const getColor: (color?: string | undefined) => any;
1
+ import { Color } from './color-types';
2
+ export declare const getColor: (color?: string | Color) => string | undefined;
package/dist/index.css CHANGED
@@ -784,6 +784,205 @@ Just for future references:
784
784
  ._3EHwm {
785
785
  padding-left: 20px;
786
786
  }
787
+ ._FcxnN {
788
+ text-align: left;
789
+ }
790
+ ._1QljH {
791
+ line-height: 20px;
792
+ padding: 0 16px 8px 16px;
793
+ background-color: unset;
794
+ color: var(--color-grey-500);
795
+ font-size: 12px;
796
+ font-weight: 600;
797
+ font-family: "Proxima Nova", sans-serif;
798
+ border: 0;
799
+ }
800
+ ._1T4uT {
801
+ cursor: pointer;
802
+ }
803
+ ._HtAmk:not(:focus-visible) {
804
+ /* Remove the focus indicator on mouse-focus for browsers
805
+ that do support :focus-visible */
806
+ outline: none;
807
+ }
808
+ ._39zhh {
809
+ box-sizing: content-box;
810
+ }
811
+ ._1CG8B {
812
+ width: 100%;
813
+ height: 100%;
814
+ display: flex;
815
+ align-items: center;
816
+ }
817
+ ._1iqpa {
818
+ justify-content: flex-end;
819
+ }
820
+ ._21Xc6 {
821
+ display: inline-block;
822
+ padding-left: 8px;
823
+ line-height: 1em;
824
+ }
825
+ ._umpGL {
826
+ position: relative;
827
+ }
828
+ ._5BvsJ {
829
+ position: relative;
830
+ }
831
+ ._3p04C > table > thead, ._3p04C > table > tfoot {
832
+ position: sticky;
833
+ background-color: var(--color-white);
834
+ z-index: 1;
835
+ }
836
+ ._3p04C > table > thead {
837
+ top: 0;
838
+ }
839
+ ._3p04C > table > tfoot {
840
+ bottom: 0;
841
+ }
842
+ ._3_o_a {
843
+ width: 100%;
844
+ height: 100%;
845
+ border-spacing: 0;
846
+ border-collapse: separate;
847
+ border: 0;
848
+ }
849
+ ._3aKQI {
850
+ table-layout: fixed;
851
+ }
852
+ ._tCd-U {
853
+ border: 1px solid var(--color-grey-200);
854
+ border-radius: 8px;
855
+ font-family: "Proxima Nova", sans-serif;
856
+ font-size: 14px;
857
+ }
858
+ ._tCd-U tr:first-of-type > td:first-of-type {
859
+ border-top-left-radius: 8px;
860
+ }
861
+ ._tCd-U tr:first-of-type > td:last-of-type {
862
+ border-top-right-radius: 8px;
863
+ }
864
+ ._tCd-U tr:last-of-type > td:first-of-type {
865
+ border-bottom-left-radius: 8px;
866
+ }
867
+ ._tCd-U tr:last-of-type > td:last-of-type {
868
+ border-bottom-right-radius: 8px;
869
+ }
870
+ ._Hp5nC tr:last-of-type > td:first-of-type {
871
+ border-bottom-left-radius: 0;
872
+ }
873
+ ._Hp5nC tr:last-of-type > td:last-of-type {
874
+ border-bottom-right-radius: 0;
875
+ }
876
+ .__15fo {
877
+ font-weight: 600;
878
+ font-size: 14px;
879
+ }
880
+ .__15fo tr td {
881
+ background: var(--color-grey-100);
882
+ }
883
+ .__15fo tr td:first-of-type {
884
+ border-left: 1px solid var(--color-grey-200);
885
+ }
886
+ .__15fo tr td:last-of-type {
887
+ border-right: 1px solid var(--color-grey-200);
888
+ }
889
+ .__15fo tr:first-of-type td {
890
+ border-top: 0;
891
+ }
892
+ .__15fo tr:last-of-type td:first-of-type {
893
+ border-bottom-left-radius: 8px;
894
+ }
895
+ .__15fo tr:last-of-type td:last-of-type {
896
+ border-bottom-right-radius: 8px;
897
+ }
898
+ ._2KGQu {
899
+ margin-top: 20px;
900
+ font-family: "Proxima Nova", sans-serif;
901
+ }
902
+ ._1zw4R {
903
+ width: 100%;
904
+ height: 20px;
905
+ border: 1px solid var(--color-grey-200);
906
+ box-sizing: border-box;
907
+ position: absolute;
908
+ z-index: 1;
909
+ pointer-events: none;
910
+ }
911
+ ._2vWl5 {
912
+ top: 28px;
913
+ border-bottom: 0;
914
+ border-top-right-radius: 8px;
915
+ border-top-left-radius: 8px;
916
+ }
917
+ ._397Yd {
918
+ bottom: 0;
919
+ border-top: 0;
920
+ border-bottom-right-radius: 8px;
921
+ border-bottom-left-radius: 8px;
922
+ }
923
+ ._AGTVL {
924
+ width: 8px;
925
+ height: 8px;
926
+ overflow: hidden;
927
+ position: absolute;
928
+ left: -1px;
929
+ }
930
+ ._AGTVL::before {
931
+ content: "";
932
+ display: block;
933
+ width: 200%;
934
+ height: 200%;
935
+ position: absolute;
936
+ border-radius: 50%;
937
+ left: 0;
938
+ }
939
+ ._3wzKK {
940
+ top: -1px;
941
+ }
942
+ ._3wzKK::before {
943
+ top: 0;
944
+ box-shadow: -6px -6px 0 0 white;
945
+ }
946
+ ._2pJrs {
947
+ bottom: -1px;
948
+ }
949
+ ._2pJrs::before {
950
+ bottom: 0;
951
+ box-shadow: -6px 6px 0 0 white;
952
+ }
953
+ ._vh4go {
954
+ width: 8px;
955
+ height: 8px;
956
+ overflow: hidden;
957
+ position: absolute;
958
+ right: -1px;
959
+ }
960
+ ._vh4go::before {
961
+ content: "";
962
+ display: block;
963
+ width: 200%;
964
+ height: 200%;
965
+ position: absolute;
966
+ border-radius: 50%;
967
+ right: 0;
968
+ }
969
+ ._2sj0a {
970
+ top: -1px;
971
+ }
972
+ ._2sj0a::before {
973
+ top: 0;
974
+ box-shadow: 6px -6px 0 0 white;
975
+ }
976
+ ._1s8kO {
977
+ bottom: -1px;
978
+ }
979
+ ._1s8kO::before {
980
+ bottom: 0;
981
+ box-shadow: 6px 6px 0 0 white;
982
+ }
983
+ ._94pbt > td {
984
+ border: 1px solid var(--color-grey-200);
985
+ }
787
986
  ._2GGMG:focus:not(:focus-visible) {
788
987
  /* Remove the focus indicator on mouse-focus for browsers
789
988
  that do support :focus-visible */
@@ -939,7 +1138,7 @@ Just for future references:
939
1138
  z-index: 1;
940
1139
  text-align: left;
941
1140
  }
942
- ._eX5OL svg {
1141
+ ._eX5OL svg, ._eX5OL path {
943
1142
  color: var(--color-grey-400);
944
1143
  }
945
1144
 
@@ -963,7 +1162,7 @@ Just for future references:
963
1162
  right: 0;
964
1163
  text-align: right;
965
1164
  }
966
- .__YH01 svg {
1165
+ .__YH01 svg, .__YH01 path {
967
1166
  color: var(--color-grey-400);
968
1167
  }
969
1168
  ._1v1df {
@@ -1085,7 +1284,7 @@ h5._3CIA3 {
1085
1284
  ._2iH-J {
1086
1285
  text-align: justify;
1087
1286
  }
1088
- ._2Ybjx {
1287
+ ._SpJZY {
1089
1288
  position: relative;
1090
1289
  border-bottom: 1px solid var(--color-grey-200);
1091
1290
  padding: 16px;
@@ -1094,40 +1293,40 @@ h5._3CIA3 {
1094
1293
  -ms-hyphens: auto;
1095
1294
  hyphens: auto;
1096
1295
  }
1097
- ._2Ybjx:first-of-type {
1296
+ ._SpJZY:first-of-type {
1098
1297
  border-left: 1px solid var(--color-grey-200);
1099
1298
  }
1100
- ._2Ybjx:last-of-type {
1299
+ ._SpJZY:last-of-type {
1101
1300
  border-right: 1px solid var(--color-grey-200);
1102
1301
  }
1103
- ._5KXHH {
1302
+ ._3R9X2 {
1104
1303
  padding: 0;
1105
1304
  }
1106
- ._2-I0j:not(:last-child) {
1305
+ ._6CjWl:not(:last-child) {
1107
1306
  border-right: 1px solid var(--color-grey-200);
1108
1307
  }
1109
- ._D73Vx {
1308
+ ._tvnPS {
1110
1309
  background: var(--color-radish-100);
1111
1310
  color: var(--color-radish-400);
1112
1311
  }
1113
- ._3A9-M {
1312
+ ._2D9Do {
1114
1313
  height: 100%;
1115
1314
  display: flex;
1116
1315
  align-items: center;
1117
1316
  }
1118
- ._17Km7 {
1317
+ ._1HyJe {
1119
1318
  justify-content: flex-end;
1120
1319
  }
1121
- ._2c6KQ {
1320
+ ._3tEcf {
1122
1321
  justify-content: space-between;
1123
1322
  }
1124
- ._2hIl3 {
1323
+ ._2ctV2 {
1125
1324
  width: 16px;
1126
1325
  }
1127
- ._8Uhyd {
1326
+ ._2QAov {
1128
1327
  margin-left: 4px;
1129
1328
  }
1130
- ._3X51R {
1329
+ ._AzpZE {
1131
1330
  margin-right: 4px;
1132
1331
  }
1133
1332
  ._2puqJ {
@@ -1770,215 +1969,6 @@ h5._3CIA3 {
1770
1969
  ._3Mm-v._3Mm-v {
1771
1970
  border-bottom-right-radius: 8px;
1772
1971
  }
1773
- ._3qoNq {
1774
- position: relative;
1775
- }
1776
-
1777
- ._2HcDV {
1778
- position: relative;
1779
- }
1780
- ._3dowz > table > thead, ._3dowz > table > tfoot {
1781
- position: sticky;
1782
- background-color: white;
1783
- z-index: 1;
1784
- }
1785
- ._3dowz > table > thead {
1786
- top: 0;
1787
- }
1788
- ._3dowz > table > tfoot {
1789
- bottom: 0;
1790
- }
1791
-
1792
- ._tGpUv {
1793
- width: 100%;
1794
- height: 100%;
1795
- border-spacing: 0;
1796
- border-collapse: separate;
1797
- border: 0;
1798
- }
1799
- ._3VePT {
1800
- table-layout: fixed;
1801
- }
1802
-
1803
- ._2ZgmC {
1804
- text-align: left;
1805
- }
1806
-
1807
- ._3slLU {
1808
- line-height: 20px;
1809
- padding: 0 16px 8px 16px;
1810
- background-color: unset;
1811
- color: var(--color-grey-500);
1812
- font-size: 12px;
1813
- font-weight: 600;
1814
- font-family: "Proxima Nova", sans-serif;
1815
- border: 0;
1816
- }
1817
- ._1jb-H {
1818
- width: 100%;
1819
- height: 100%;
1820
- display: flex;
1821
- align-items: center;
1822
- }
1823
- ._2Np60 {
1824
- justify-content: flex-end;
1825
- }
1826
- ._1-26z {
1827
- cursor: pointer;
1828
- }
1829
-
1830
- ._3slLU:focus:not(:focus-visible) {
1831
- /* Remove the focus indicator on mouse-focus for browsers
1832
- that do support :focus-visible */
1833
- outline: none;
1834
- }
1835
-
1836
- ._2i1wY {
1837
- box-sizing: content-box;
1838
- }
1839
-
1840
- ._BLrNe {
1841
- display: inline-block;
1842
- padding-left: 8px;
1843
- line-height: 1em;
1844
- }
1845
-
1846
- ._CT4Lp {
1847
- border: 1px solid var(--color-grey-200);
1848
- border-radius: 8px;
1849
- font-family: "Proxima Nova", sans-serif;
1850
- font-size: 14px;
1851
- }
1852
- ._CT4Lp tr:first-of-type > td:first-of-type {
1853
- border-top-left-radius: 8px;
1854
- }
1855
- ._CT4Lp tr:first-of-type > td:last-of-type {
1856
- border-top-right-radius: 8px;
1857
- }
1858
- ._CT4Lp tr:last-of-type > td:first-of-type {
1859
- border-bottom-left-radius: 8px;
1860
- }
1861
- ._CT4Lp tr:last-of-type > td:last-of-type {
1862
- border-bottom-right-radius: 8px;
1863
- }
1864
- ._1wU1R tr:last-of-type > td:first-of-type {
1865
- border-bottom-left-radius: 0;
1866
- }
1867
- ._1wU1R tr:last-of-type > td:last-of-type {
1868
- border-bottom-right-radius: 0;
1869
- }
1870
-
1871
- ._398L3 {
1872
- font-weight: 600;
1873
- font-size: 14px;
1874
- }
1875
- ._398L3 tr td {
1876
- background: var(--color-grey-100);
1877
- }
1878
- ._398L3 tr td:first-of-type {
1879
- border-left: 1px solid var(--color-grey-200);
1880
- }
1881
- ._398L3 tr td:last-of-type {
1882
- border-right: 1px solid var(--color-grey-200);
1883
- }
1884
- ._398L3 tr:first-of-type td {
1885
- border-top: 0;
1886
- }
1887
- ._398L3 tr:last-of-type td:first-of-type {
1888
- border-bottom-left-radius: 8px;
1889
- }
1890
- ._398L3 tr:last-of-type td:last-of-type {
1891
- border-bottom-right-radius: 8px;
1892
- }
1893
-
1894
- ._2smmY {
1895
- margin-top: 20px;
1896
- font-family: "Proxima Nova", sans-serif;
1897
- }
1898
- ._1zw4R {
1899
- width: 100%;
1900
- height: 20px;
1901
- border: 1px solid var(--color-grey-200);
1902
- box-sizing: border-box;
1903
- position: absolute;
1904
- z-index: 1;
1905
- pointer-events: none;
1906
- }
1907
- ._2vWl5 {
1908
- top: 28px;
1909
- border-bottom: 0;
1910
- border-top-right-radius: 8px;
1911
- border-top-left-radius: 8px;
1912
- }
1913
- ._397Yd {
1914
- bottom: 0;
1915
- border-top: 0;
1916
- border-bottom-right-radius: 8px;
1917
- border-bottom-left-radius: 8px;
1918
- }
1919
- ._AGTVL {
1920
- width: 8px;
1921
- height: 8px;
1922
- overflow: hidden;
1923
- position: absolute;
1924
- left: -1px;
1925
- }
1926
- ._AGTVL::before {
1927
- content: "";
1928
- display: block;
1929
- width: 200%;
1930
- height: 200%;
1931
- position: absolute;
1932
- border-radius: 50%;
1933
- left: 0;
1934
- }
1935
- ._3wzKK {
1936
- top: -1px;
1937
- }
1938
- ._3wzKK::before {
1939
- top: 0;
1940
- box-shadow: -6px -6px 0 0 white;
1941
- }
1942
- ._2pJrs {
1943
- bottom: -1px;
1944
- }
1945
- ._2pJrs::before {
1946
- bottom: 0;
1947
- box-shadow: -6px 6px 0 0 white;
1948
- }
1949
- ._vh4go {
1950
- width: 8px;
1951
- height: 8px;
1952
- overflow: hidden;
1953
- position: absolute;
1954
- right: -1px;
1955
- }
1956
- ._vh4go::before {
1957
- content: "";
1958
- display: block;
1959
- width: 200%;
1960
- height: 200%;
1961
- position: absolute;
1962
- border-radius: 50%;
1963
- right: 0;
1964
- }
1965
- ._2sj0a {
1966
- top: -1px;
1967
- }
1968
- ._2sj0a::before {
1969
- top: 0;
1970
- box-shadow: 6px -6px 0 0 white;
1971
- }
1972
- ._1s8kO {
1973
- bottom: -1px;
1974
- }
1975
- ._1s8kO::before {
1976
- bottom: 0;
1977
- box-shadow: 6px 6px 0 0 white;
1978
- }
1979
- ._94pbt > td {
1980
- border: 1px solid var(--color-grey-200);
1981
- }
1982
1972
  ._1cDCR {
1983
1973
  flex: 1;
1984
1974
  display: "flex";
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import './foundation/_design-tokens.scss';
2
+ import './foundation/color-constants';
2
3
  export * from './core';
3
4
  export * from './lists';
4
5
  export * from './controls';