@equinor/eds-core-react 0.37.0 → 0.38.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 (38) hide show
  1. package/dist/eds-core-react.cjs +145 -74
  2. package/dist/esm/components/Autocomplete/Autocomplete.js +75 -41
  3. package/dist/esm/components/Autocomplete/Autocomplete.tokens.js +1 -1
  4. package/dist/esm/components/Button/tokens/contained.js +1 -1
  5. package/dist/esm/components/Button/tokens/contained_icon.js +1 -1
  6. package/dist/esm/components/Button/tokens/ghost.js +1 -1
  7. package/dist/esm/components/Button/tokens/icon.js +1 -1
  8. package/dist/esm/components/Button/tokens/outlined.js +1 -1
  9. package/dist/esm/components/Datepicker/DatePicker.js +13 -1
  10. package/dist/esm/components/Datepicker/DateRangePicker.js +15 -1
  11. package/dist/esm/components/Datepicker/fields/DateSegment.js +21 -3
  12. package/dist/esm/components/Datepicker/utils/context.js +6 -3
  13. package/dist/esm/components/Input/Input.tokens.js +1 -1
  14. package/dist/esm/components/InputWrapper/InputWrapper.tokens.js +1 -1
  15. package/dist/esm/components/Table/DataCell/DataCell.tokens.js +1 -1
  16. package/dist/esm/node_modules/.pnpm/{ramda@0.29.1 → ramda@0.30.0}/node_modules/ramda/es/internal/_curry1.js +0 -1
  17. package/dist/esm/node_modules/.pnpm/{ramda@0.29.1 → ramda@0.30.0}/node_modules/ramda/es/internal/_curry2.js +0 -1
  18. package/dist/esm/node_modules/.pnpm/{ramda@0.29.1 → ramda@0.30.0}/node_modules/ramda/es/internal/_curry3.js +0 -1
  19. package/dist/esm/node_modules/.pnpm/ramda@0.30.0/node_modules/ramda/es/internal/_isPlaceholder.js +7 -0
  20. package/dist/esm/node_modules/.pnpm/ramda@0.30.0/node_modules/ramda/es/internal/_placeholder.js +5 -0
  21. package/dist/esm/node_modules/.pnpm/{ramda@0.29.1 → ramda@0.30.0}/node_modules/ramda/es/mergeDeepRight.js +1 -3
  22. package/dist/esm/node_modules/.pnpm/{ramda@0.29.1 → ramda@0.30.0}/node_modules/ramda/es/mergeDeepWithKey.js +1 -3
  23. package/dist/esm/node_modules/.pnpm/{ramda@0.29.1 → ramda@0.30.0}/node_modules/ramda/es/mergeWith.js +1 -3
  24. package/dist/esm/node_modules/.pnpm/{ramda@0.29.1 → ramda@0.30.0}/node_modules/ramda/es/mergeWithKey.js +1 -3
  25. package/dist/esm/node_modules/.pnpm/{ramda@0.29.1 → ramda@0.30.0}/node_modules/ramda/es/pickBy.js +1 -3
  26. package/dist/types/components/Autocomplete/Autocomplete.d.ts +27 -16
  27. package/dist/types/components/Chip/Icon.d.ts +2 -6
  28. package/dist/types/components/Datepicker/DatePicker.d.ts +1 -0
  29. package/dist/types/components/Datepicker/DateRangePicker.d.ts +1 -0
  30. package/dist/types/components/Datepicker/calendars/CalendarWrapper.d.ts +1 -272
  31. package/dist/types/components/Datepicker/props.d.ts +6 -0
  32. package/dist/types/components/Datepicker/utils/context.d.ts +6 -1
  33. package/dist/types/components/Switch/Switch.styles.d.ts +4 -844
  34. package/package.json +13 -13
  35. package/dist/esm/node_modules/.pnpm/ramda@0.29.1/node_modules/ramda/es/internal/_isPlaceholder.js +0 -5
  36. package/dist/types/components/Datepicker/utils/timezone.d.ts +0 -1
  37. /package/dist/esm/node_modules/.pnpm/{ramda@0.29.1 → ramda@0.30.0}/node_modules/ramda/es/internal/_has.js +0 -0
  38. /package/dist/esm/node_modules/.pnpm/{ramda@0.29.1 → ramda@0.30.0}/node_modules/ramda/es/internal/_isObject.js +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/eds-core-react",
3
- "version": "0.37.0",
3
+ "version": "0.38.0",
4
4
  "description": "The React implementation of the Equinor Design System",
5
5
  "sideEffects": [
6
6
  "**/*.css"
@@ -49,7 +49,7 @@
49
49
  "@testing-library/react": "14.0.0",
50
50
  "@testing-library/user-event": "14.5.1",
51
51
  "@types/jest": "^29.5.6",
52
- "@types/ramda": "^0.29.7",
52
+ "@types/ramda": "^0.30.0",
53
53
  "@types/react": "^18.2.33",
54
54
  "@types/react-dom": "^18.2.14",
55
55
  "babel-loader": "^9.1.3",
@@ -59,7 +59,7 @@
59
59
  "jest-styled-components": "^7.2.0",
60
60
  "js-file-download": "^0.4.12",
61
61
  "postcss": "^8.4.31",
62
- "ramda": "^0.29.1",
62
+ "ramda": "^0.30.0",
63
63
  "react": "^18.2.0",
64
64
  "react-dom": "^18.2.0",
65
65
  "react-hook-form": "^7.47.0",
@@ -68,7 +68,7 @@
68
68
  "rollup-plugin-delete": "^2.0.0",
69
69
  "rollup-plugin-postcss": "^4.0.2",
70
70
  "storybook": "^8.0.2",
71
- "styled-components": "6.1.0",
71
+ "styled-components": "6.1.11",
72
72
  "tsc-watch": "^6.0.4",
73
73
  "typescript": "^5.2.2"
74
74
  },
@@ -79,18 +79,18 @@
79
79
  },
80
80
  "dependencies": {
81
81
  "@babel/runtime": "^7.24.0",
82
- "@floating-ui/react": "^0.26.9",
83
- "@internationalized/date": "^3.5.2",
84
- "@react-aria/utils": "^3.23.2",
85
- "@react-stately/calendar": "^3.4.4",
86
- "@react-stately/datepicker": "^3.9.2",
87
- "@react-types/shared": "^3.22.1",
88
- "@tanstack/react-virtual": "3.2.0",
82
+ "@floating-ui/react": "^0.26.13",
83
+ "@internationalized/date": "^3.5.3",
84
+ "@react-aria/utils": "^3.24.0",
85
+ "@react-stately/calendar": "^3.5.0",
86
+ "@react-stately/datepicker": "^3.9.3",
87
+ "@react-types/shared": "^3.23.0",
88
+ "@tanstack/react-virtual": "3.5.0",
89
89
  "downshift": "9.0.4",
90
- "react-aria": "^3.32.1",
90
+ "react-aria": "^3.33.0",
91
91
  "@equinor/eds-icons": "^0.21.0",
92
92
  "@equinor/eds-tokens": "0.9.2",
93
- "@equinor/eds-utils": "0.8.4"
93
+ "@equinor/eds-utils": "0.8.5"
94
94
  },
95
95
  "engines": {
96
96
  "pnpm": ">=4",
@@ -1,5 +0,0 @@
1
- function _isPlaceholder(a) {
2
- return a != null && typeof a === 'object' && a['@@functional/placeholder'] === true;
3
- }
4
-
5
- export { _isPlaceholder as default };
@@ -1 +0,0 @@
1
- export declare const tz: string;