cozy-ui 126.6.0 → 127.0.1

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 (61) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/package.json +1 -1
  3. package/react/Avatar/index.jsx +6 -0
  4. package/react/Checkbox/Readme.md +12 -0
  5. package/react/Checkbox/index.jsx +25 -3
  6. package/react/ContactsList/ContactRow.jsx +1 -1
  7. package/react/ContactsList/Contacts/ContactIdentity.jsx +34 -15
  8. package/react/ContactsList/Contacts/ContactName.jsx +22 -18
  9. package/react/ContactsList/locales/withContactsListLocales.jsx +1 -1
  10. package/react/MuiCozyTheme/overrides/makeLightNormalOverrides.js +56 -28
  11. package/react/Table/Readme.md +39 -1
  12. package/react/Table/Virtualized/Cell.jsx +8 -6
  13. package/react/Table/Virtualized/Dnd/TableRow.jsx +14 -6
  14. package/react/Table/Virtualized/Dnd/index.jsx +35 -0
  15. package/react/Table/Virtualized/Dnd/virtuosoComponents.jsx +25 -0
  16. package/react/Table/Virtualized/FixedHeaderContent.jsx +7 -1
  17. package/react/Table/Virtualized/RowContent.jsx +19 -4
  18. package/react/Table/Virtualized/TableRow.jsx +20 -0
  19. package/react/Table/Virtualized/helpers.js +4 -2
  20. package/react/Table/Virtualized/index.jsx +13 -30
  21. package/react/Table/Virtualized/virtuosoComponents.jsx +23 -49
  22. package/react/TableContainer/index.js +16 -1
  23. package/react/utils/index.js +1 -0
  24. package/transpiled/react/Avatar/index.d.ts +5 -1
  25. package/transpiled/react/Avatar/index.js +13 -5
  26. package/transpiled/react/Checkbox/index.d.ts +6 -0
  27. package/transpiled/react/Checkbox/index.js +18 -5
  28. package/transpiled/react/ContactsList/ContactRow.js +1 -1
  29. package/transpiled/react/ContactsList/Contacts/ContactIdentity.d.ts +7 -7
  30. package/transpiled/react/ContactsList/Contacts/ContactIdentity.js +39 -22
  31. package/transpiled/react/ContactsList/Contacts/ContactName.d.ts +3 -9
  32. package/transpiled/react/ContactsList/Contacts/ContactName.js +12 -13
  33. package/transpiled/react/ContactsList/locales/withContactsListLocales.d.ts +6 -0
  34. package/transpiled/react/ContactsList/locales/withContactsListLocales.js +1 -1
  35. package/transpiled/react/MuiCozyTheme/overrides/makeDarkInvertedOverrides.d.ts +47 -22
  36. package/transpiled/react/MuiCozyTheme/overrides/makeDarkNormalOverrides.d.ts +47 -22
  37. package/transpiled/react/MuiCozyTheme/overrides/makeLightInvertedOverrides.d.ts +47 -22
  38. package/transpiled/react/MuiCozyTheme/overrides/makeLightNormalOverrides.d.ts +47 -22
  39. package/transpiled/react/MuiCozyTheme/overrides/makeLightNormalOverrides.js +53 -28
  40. package/transpiled/react/Table/Virtualized/Cell.d.ts +2 -1
  41. package/transpiled/react/Table/Virtualized/Cell.js +24 -17
  42. package/transpiled/react/Table/Virtualized/Dnd/TableRow.d.ts +1 -3
  43. package/transpiled/react/Table/Virtualized/Dnd/TableRow.js +9 -7
  44. package/transpiled/react/Table/Virtualized/Dnd/index.d.ts +7 -0
  45. package/transpiled/react/Table/Virtualized/Dnd/index.js +47 -0
  46. package/transpiled/react/Table/Virtualized/Dnd/virtuosoComponents.d.ts +14 -0
  47. package/transpiled/react/Table/Virtualized/Dnd/virtuosoComponents.js +39 -0
  48. package/transpiled/react/Table/Virtualized/FixedHeaderContent.d.ts +2 -2
  49. package/transpiled/react/Table/Virtualized/FixedHeaderContent.js +7 -1
  50. package/transpiled/react/Table/Virtualized/RowContent.d.ts +3 -2
  51. package/transpiled/react/Table/Virtualized/RowContent.js +13 -4
  52. package/transpiled/react/Table/Virtualized/TableRow.d.ts +3 -0
  53. package/transpiled/react/Table/Virtualized/TableRow.js +21 -0
  54. package/transpiled/react/Table/Virtualized/helpers.js +4 -2
  55. package/transpiled/react/Table/Virtualized/index.d.ts +3 -2
  56. package/transpiled/react/Table/Virtualized/index.js +17 -38
  57. package/transpiled/react/Table/Virtualized/virtuosoComponents.js +37 -65
  58. package/transpiled/react/TableContainer/index.d.ts +2 -1
  59. package/transpiled/react/TableContainer/index.js +20 -1
  60. package/transpiled/react/utils/index.d.ts +1 -0
  61. package/transpiled/react/utils/index.js +1 -0
@@ -1,2 +1,3 @@
1
1
  export default TableContainer;
2
- import TableContainer from "@material-ui/core/TableContainer";
2
+ declare const TableContainer: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
3
+ import React from "react";
@@ -1,2 +1,21 @@
1
- import TableContainer from '@material-ui/core/TableContainer';
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
+
4
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
5
+
6
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
7
+
8
+ import MuiTableContainer from '@material-ui/core/TableContainer';
9
+ import React, { forwardRef } from 'react';
10
+ import Paper from "cozy-ui/transpiled/react/Paper";
11
+ var TableContainer = /*#__PURE__*/forwardRef(function (props, ref) {
12
+ return /*#__PURE__*/React.createElement(MuiTableContainer, _extends({}, props, {
13
+ ref: ref,
14
+ component: Paper,
15
+ style: _objectSpread({
16
+ zIndex: 'var(--zIndex-app)'
17
+ }, props.style),
18
+ elevation: 0
19
+ }));
20
+ });
2
21
  export default TableContainer;
@@ -0,0 +1 @@
1
+ export * from "@material-ui/core/utils";
@@ -0,0 +1 @@
1
+ export * from '@material-ui/core/utils';