@liquidcommerce/elements-sdk 2.2.0-beta.4 → 2.2.0-beta.41

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 (114) hide show
  1. package/README.md +1715 -569
  2. package/dist/index.esm.js +14589 -10538
  3. package/dist/types/constants/core.constant.d.ts +32 -0
  4. package/dist/types/constants/index.d.ts +0 -1
  5. package/dist/types/{modules/api-client → core}/api-client.service.d.ts +4 -2
  6. package/dist/types/core/auth.service.d.ts +31 -4
  7. package/dist/types/core/base-component.service.d.ts +7 -3
  8. package/dist/types/core/circuit-breaker.service.d.ts +54 -0
  9. package/dist/types/core/client/client-action.service.d.ts +19 -14
  10. package/dist/types/core/client/client-config.service.d.ts +5 -3
  11. package/dist/types/core/command/base-command.service.d.ts +5 -3
  12. package/dist/types/core/command/command.service.d.ts +2 -0
  13. package/dist/types/core/command/common-command.service.d.ts +2 -1
  14. package/dist/types/core/debug-panel/debug-panel.service.d.ts +43 -0
  15. package/dist/types/core/debug-panel/debug-panel.styles.d.ts +1 -0
  16. package/dist/types/core/fingerprint.service.d.ts +4 -9
  17. package/dist/types/core/google-tag-manager.service.d.ts +128 -2
  18. package/dist/types/core/logger/logger-factory.d.ts +3 -0
  19. package/dist/types/core/logger/logger.service.d.ts +8 -5
  20. package/dist/types/core/pubsub/interfaces/cart.interface.d.ts +1 -0
  21. package/dist/types/core/pubsub/interfaces/checkout.interface.d.ts +46 -6
  22. package/dist/types/core/pubsub/interfaces/core.interface.d.ts +5 -3
  23. package/dist/types/core/pubsub/interfaces/product.interface.d.ts +43 -6
  24. package/dist/types/core/pubsub/pubsub.service.d.ts +3 -2
  25. package/dist/types/core/sdk-error-handler.d.ts +1 -0
  26. package/dist/types/core/singleton-manager.service.d.ts +3 -3
  27. package/dist/types/core/store/interfaces/cart.interface.d.ts +1 -1
  28. package/dist/types/core/store/interfaces/checkout.interface.d.ts +0 -1
  29. package/dist/types/core/store/interfaces/core.interface.d.ts +5 -3
  30. package/dist/types/core/store/interfaces/product.interface.d.ts +18 -7
  31. package/dist/types/core/store/store.constant.d.ts +5 -1
  32. package/dist/types/core/store/store.service.d.ts +4 -2
  33. package/dist/types/core/telemetry/telemetry.interface.d.ts +80 -0
  34. package/dist/types/core/telemetry/telemetry.service.d.ts +27 -0
  35. package/dist/types/core/utils.d.ts +0 -4
  36. package/dist/types/elements-base-client.d.ts +49 -0
  37. package/dist/types/elements-builder-client.d.ts +2 -0
  38. package/dist/types/elements-client-helper.d.ts +3 -0
  39. package/dist/types/enums/core.enum.d.ts +9 -1
  40. package/dist/types/index.d.ts +1 -0
  41. package/dist/types/index.umd.d.ts +2 -2
  42. package/dist/types/interfaces/cloud/catalog.interface.d.ts +43 -0
  43. package/dist/types/interfaces/cloud/index.d.ts +1 -0
  44. package/dist/types/interfaces/cloud/product.interface.d.ts +2 -0
  45. package/dist/types/interfaces/configs/checkout.interface.d.ts +1 -1
  46. package/dist/types/interfaces/configs/product.interface.d.ts +2 -0
  47. package/dist/types/interfaces/core.interface.d.ts +47 -19
  48. package/dist/types/modules/address/address.command.d.ts +1 -3
  49. package/dist/types/modules/cart/cart.commands.d.ts +2 -3
  50. package/dist/types/modules/cart/cart.commands.helper.d.ts +3 -2
  51. package/dist/types/modules/cart/cart.component.d.ts +1 -2
  52. package/dist/types/modules/cart/components/cart-footer.component.d.ts +1 -0
  53. package/dist/types/modules/cart/components/cart-item.component.d.ts +2 -6
  54. package/dist/types/modules/cart/components/index.d.ts +2 -0
  55. package/dist/types/modules/checkout/checkout.commands.d.ts +4 -4
  56. package/dist/types/modules/checkout/checkout.commands.helper.d.ts +1 -1
  57. package/dist/types/modules/checkout/checkout.component.d.ts +1 -2
  58. package/dist/types/modules/checkout/components/checkout-summary-section.component.d.ts +2 -0
  59. package/dist/types/modules/checkout/components/information/checkout-delivery-information-form.component.d.ts +1 -1
  60. package/dist/types/modules/checkout/components/summary/checkout-item-quantity.component.d.ts +0 -2
  61. package/dist/types/modules/checkout/components/summary/checkout-item.component.d.ts +2 -1
  62. package/dist/types/modules/checkout/components/summary/checkout-items.component.d.ts +1 -0
  63. package/dist/types/modules/checkout/components/summary/checkout-place-order-button.component.d.ts +0 -1
  64. package/dist/types/modules/checkout/constant.d.ts +0 -1
  65. package/dist/types/modules/product/components/components.d.ts +1 -1
  66. package/dist/types/modules/product/components/index.d.ts +1 -0
  67. package/dist/types/modules/product/components/product-add-to-cart-section.component.d.ts +1 -0
  68. package/dist/types/modules/product/components/product-interactions.component.d.ts +4 -1
  69. package/dist/types/modules/product/components/product-price.component.d.ts +1 -0
  70. package/dist/types/modules/product/components/product-retailers.component.d.ts +1 -0
  71. package/dist/types/modules/product/product.commands.d.ts +3 -4
  72. package/dist/types/modules/product/utils/helpers.d.ts +1 -1
  73. package/dist/types/modules/product/utils/retailer-hours.d.ts +1 -1
  74. package/dist/types/modules/product-list/components/index.d.ts +2 -0
  75. package/dist/types/modules/product-list/components/product-list-card.component.d.ts +36 -0
  76. package/dist/types/modules/product-list/components/product-list-filters.component.d.ts +21 -0
  77. package/dist/types/modules/product-list/product-list.commands.d.ts +12 -0
  78. package/dist/types/modules/product-list/product-list.component.d.ts +76 -0
  79. package/dist/types/modules/theme-provider/constants/component-groupings.d.ts +0 -2
  80. package/dist/types/modules/theme-provider/services/font-manager.service.d.ts +1 -0
  81. package/dist/types/modules/theme-provider/styles/product-list/index.d.ts +1 -0
  82. package/dist/types/modules/theme-provider/styles/product-list/product-list.style.d.ts +1 -0
  83. package/dist/types/modules/ui-components/alert/alert.component.d.ts +1 -1
  84. package/dist/types/modules/ui-components/engraving/engraving-form.component.d.ts +13 -11
  85. package/dist/types/modules/ui-components/engraving/engraving-view.component.d.ts +4 -9
  86. package/dist/types/modules/ui-components/lce-element/lce-element.component.d.ts +2 -0
  87. package/dist/types/modules/ui-components/purchase-min-alert/helpers.d.ts +1 -1
  88. package/dist/types/modules/ui-components/ui.commands.d.ts +1 -1
  89. package/dist/types/static/icon/index.d.ts +0 -1
  90. package/dist/types/utils/format.d.ts +2 -1
  91. package/docs/ACTIONS.md +1300 -0
  92. package/docs/BROWSER_SUPPORT.md +279 -0
  93. package/docs/CONFIGURATION.md +740 -0
  94. package/docs/DOCUMENTATION_INDEX.md +311 -0
  95. package/docs/EVENTS.md +765 -0
  96. package/docs/PROXY.md +228 -0
  97. package/docs/THEMING.md +592 -0
  98. package/docs/TROUBLESHOOTING.md +793 -0
  99. package/package.json +20 -17
  100. package/umd/elements.js +1 -1
  101. package/dist/types/constants/z-index.constant.d.ts +0 -24
  102. package/dist/types/core/pubsub/index.d.ts +0 -2
  103. package/dist/types/core/pubsub/interfaces/index.d.ts +0 -5
  104. package/dist/types/core/store/index.d.ts +0 -2
  105. package/dist/types/core/store/interfaces/index.d.ts +0 -5
  106. package/dist/types/modules/address/index.d.ts +0 -4
  107. package/dist/types/modules/api-client/api-client.interface.d.ts +0 -21
  108. package/dist/types/modules/api-client/index.d.ts +0 -2
  109. package/dist/types/modules/cart/index.d.ts +0 -1
  110. package/dist/types/modules/checkout/index.d.ts +0 -1
  111. package/dist/types/modules/product/constant.d.ts +0 -2
  112. package/dist/types/modules/product/index.d.ts +0 -1
  113. package/dist/types/modules/theme-provider/index.d.ts +0 -2
  114. package/dist/types/static/icon/completed.icon.d.ts +0 -2
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "LiquidCommerce Elements SDK",
4
4
  "license": "UNLICENSED",
5
5
  "author": "LiquidCommerce Team",
6
- "version": "2.2.0-beta.4",
6
+ "version": "2.2.0-beta.41",
7
7
  "homepage": "https://docs.liquidcommerce.co/elements-sdk",
8
8
  "repository": {
9
9
  "type": "git",
@@ -28,7 +28,9 @@
28
28
  "files": [
29
29
  "dist",
30
30
  "umd",
31
- "README.md"
31
+ "docs",
32
+ "README.md",
33
+ "LICENSE"
32
34
  ],
33
35
  "publishConfig": {
34
36
  "access": "public",
@@ -54,7 +56,8 @@
54
56
  "clean": "rm -rf dist umd",
55
57
  "clean:hard": "rm -rf dist umd node_modules && pnpm install && pnpm build",
56
58
  "prepublishOnly": "pnpm run build",
57
- "deprecate:old": "npm deprecate @liquidcommerceteam/elements-sdk@\"*\" \"Package moved to @liquidcommerce/elements-sdk\""
59
+ "deprecate:old": "npm deprecate @liquidcommerceteam/elements-sdk@\"*\" \"Package moved to @liquidcommerce/elements-sdk\"",
60
+ "prepare": "husky"
58
61
  },
59
62
  "keywords": [
60
63
  "liquidcommerce",
@@ -68,35 +71,35 @@
68
71
  "embeddable commerce"
69
72
  ],
70
73
  "devDependencies": {
71
- "@biomejs/biome": "2.2.2",
72
- "@commitlint/cli": "^19.8.1",
73
- "@commitlint/config-conventional": "^19.8.1",
74
- "@rollup/plugin-alias": "^5.1.1",
75
- "@rollup/plugin-commonjs": "^28.0.6",
74
+ "@biomejs/biome": "2.3.2",
75
+ "@commitlint/cli": "^20.1.0",
76
+ "@commitlint/config-conventional": "^20.0.0",
77
+ "@rollup/plugin-alias": "^6.0.0",
78
+ "@rollup/plugin-commonjs": "^29.0.0",
76
79
  "@rollup/plugin-json": "^6.1.0",
77
- "@rollup/plugin-node-resolve": "^15.3.1",
78
- "@rollup/plugin-replace": "^6.0.2",
80
+ "@rollup/plugin-node-resolve": "^16.0.3",
81
+ "@rollup/plugin-replace": "^6.0.3",
79
82
  "@rollup/plugin-terser": "^0.4.4",
80
83
  "@semantic-release/changelog": "^6.0.3",
81
84
  "@semantic-release/commit-analyzer": "^13.0.1",
82
85
  "@semantic-release/git": "^10.0.1",
83
- "@semantic-release/github": "^11.0.6",
84
- "@semantic-release/npm": "^12.0.2",
86
+ "@semantic-release/github": "^12.0.0",
87
+ "@semantic-release/npm": "^13.1.1",
85
88
  "@semantic-release/release-notes-generator": "^14.1.0",
86
89
  "@types/core-js": "^2.5.8",
87
- "@types/node": "^24.5.2",
90
+ "@types/node": "^24.9.2",
88
91
  "conventional-changelog-cli": "^5.0.0",
89
92
  "husky": "^9.1.7",
90
93
  "process": "^0.11.10",
91
- "rollup": "^4.52.2",
94
+ "rollup": "^4.52.5",
92
95
  "rollup-obfuscator": "^4.1.1",
93
96
  "rollup-plugin-typescript2": "^0.36.0",
94
- "semantic-release": "^24.2.9",
97
+ "semantic-release": "^25.0.1",
95
98
  "ts-node": "^10.9.2",
96
- "typescript": "^5.9.2"
99
+ "typescript": "^5.9.3"
97
100
  },
98
101
  "engines": {
99
- "node": ">=20"
102
+ "node": ">=22"
100
103
  },
101
104
  "pnpm": {
102
105
  "peerDependencyRules": {