@commercelayer/app-elements 2.3.0 → 2.3.2

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 (33) hide show
  1. package/dist/{InputDateComponent-CaAXWRXJ.js → InputDateComponent-bcNRU_QV.js} +972 -934
  2. package/dist/{main-PAx37uuy.js → main-DN-Yoqnj.js} +12808 -13204
  3. package/dist/main.js +1 -1
  4. package/dist/style.css +1 -1
  5. package/dist/ui/atoms/Card.d.ts +35 -35
  6. package/dist/ui/atoms/Icon/icons.d.ts +2 -1
  7. package/dist/ui/atoms/PageHeading/PageHeading.d.ts +14 -6
  8. package/dist/ui/atoms/PageHeading/PageHeadingToolbar.d.ts +8 -4
  9. package/dist/ui/atoms/Section.d.ts +7 -5
  10. package/dist/ui/composite/ActionButtons/ActionButtons.d.ts +2 -2
  11. package/dist/ui/composite/CardDialog.d.ts +13 -5
  12. package/dist/ui/composite/Dropdown/DropdownItem.d.ts +36 -36
  13. package/dist/ui/composite/PageLayout.d.ts +13 -9
  14. package/dist/ui/composite/Timeline.d.ts +6 -6
  15. package/dist/ui/composite/Toolbar.d.ts +2 -2
  16. package/dist/ui/forms/InputCheckboxGroup/InputCheckboxGroup.d.ts +13 -5
  17. package/dist/ui/forms/InputCheckboxGroup/InputCheckboxGroupItem.d.ts +10 -6
  18. package/dist/ui/forms/InputDateRange/InputDateRange.d.ts +17 -13
  19. package/dist/ui/forms/InputRadioGroup/InputRadioGroup.d.ts +22 -9
  20. package/dist/ui/forms/InputReadonly.d.ts +33 -12
  21. package/dist/ui/internals/InputWrapper.d.ts +22 -9
  22. package/dist/ui/resources/ResourceAddress/ResourceAddress.d.ts +22 -6
  23. package/dist/ui/resources/ResourceAddress/ResourceAddressForm.d.ts +5 -5
  24. package/dist/ui/resources/ResourceAddress/ResourceAddressFormFields.d.ts +25 -6
  25. package/dist/ui/resources/ResourceLineItems/ResourceLineItems.d.ts +14 -6
  26. package/dist/ui/resources/ResourceListItem/ResourceListItem.d.ts +3 -3
  27. package/dist/ui/resources/ResourceListItem/common.d.ts +5 -5
  28. package/dist/ui/resources/ResourceMetadata/ResourceMetadata.d.ts +7 -3
  29. package/dist/ui/resources/ResourceMetadata/ResourceMetadataForm.d.ts +2 -2
  30. package/dist/ui/resources/ResourceOrderTimeline.d.ts +5 -5
  31. package/dist/ui/resources/ResourceShipmentParcels.d.ts +3 -3
  32. package/dist/ui/resources/ResourceTags.d.ts +3 -3
  33. package/package.json +20 -20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercelayer/app-elements",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -27,55 +27,55 @@
27
27
  "pnpm": ">=7"
28
28
  },
29
29
  "dependencies": {
30
- "@commercelayer/sdk": "6.10.0",
30
+ "@commercelayer/sdk": "6.15.0",
31
31
  "@types/lodash": "^4.17.7",
32
- "@types/react": "^18.3.3",
32
+ "@types/react": "^18.3.5",
33
33
  "@types/react-datepicker": "^6.2.0",
34
34
  "@types/react-dom": "^18.3.0",
35
35
  "classnames": "^2.5.1",
36
36
  "jwt-decode": "^4.0.0",
37
37
  "lodash": "^4.17.21",
38
38
  "pluralize": "^8.0.0",
39
- "query-string": "^9.0.0",
39
+ "query-string": "^9.1.0",
40
40
  "react": "^18.3.1",
41
41
  "react-currency-input-field": "^3.8.0",
42
42
  "react-datepicker": "^7.3.0",
43
43
  "react-dom": "^18.3.1",
44
- "react-hook-form": "^7.52.1",
44
+ "react-hook-form": "^7.53.0",
45
45
  "react-select": "^5.8.0",
46
- "react-tooltip": "^5.27.1",
46
+ "react-tooltip": "^5.28.0",
47
47
  "swr": "^2.2.5",
48
48
  "ts-invariant": "^0.10.3",
49
- "type-fest": "^4.22.1",
49
+ "type-fest": "^4.26.0",
50
50
  "zod": "^3.23.8"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@commercelayer/eslint-config-ts-react": "^1.4.5",
54
54
  "@hookform/resolvers": "^3.9.0",
55
55
  "@phosphor-icons/react": "v2.1.7",
56
- "@tailwindcss/forms": "^0.5.7",
57
- "@testing-library/jest-dom": "^6.4.6",
58
- "@testing-library/react": "^16.0.0",
59
- "@types/node": "^20.14.11",
56
+ "@tailwindcss/forms": "^0.5.8",
57
+ "@testing-library/jest-dom": "^6.5.0",
58
+ "@testing-library/react": "^16.0.1",
59
+ "@types/node": "^20.16.4",
60
60
  "@types/pluralize": "^0.0.33",
61
61
  "@types/react-gtm-module": "^2.0.3",
62
62
  "@types/testing-library__jest-dom": "^5.14.9",
63
63
  "@vitejs/plugin-react": "^4.3.1",
64
- "autoprefixer": "^10.4.19",
64
+ "autoprefixer": "^10.4.20",
65
65
  "cross-fetch": "^4.0.0",
66
66
  "date-fns": "^3.6.0",
67
67
  "date-fns-tz": "^3.1.3",
68
68
  "eslint": "^8.57.0",
69
- "jsdom": "^24.1.0",
70
- "msw": "^2.3.2",
71
- "postcss": "^8.4.39",
69
+ "jsdom": "^24.1.3",
70
+ "msw": "^2.4.2",
71
+ "postcss": "^8.4.45",
72
72
  "react-gtm-module": "^2.0.11",
73
- "tailwindcss": "^3.4.6",
74
- "typescript": "^5.5.3",
75
- "vite": "^5.3.4",
73
+ "tailwindcss": "^3.4.10",
74
+ "typescript": "^5.5.4",
75
+ "vite": "^5.4.3",
76
76
  "vite-plugin-dts": "^3.9.1",
77
- "vitest": "^2.0.3",
78
- "wouter": "^3.3.1"
77
+ "vitest": "^2.0.5",
78
+ "wouter": "^3.3.5"
79
79
  },
80
80
  "peerDependencies": {
81
81
  "@commercelayer/sdk": "^6.x",