@salla.sa/twilight-components 1.5.6 → 1.5.7

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.
@@ -22,7 +22,7 @@ const SallaInstallment = class {
22
22
  * Currency code
23
23
  */
24
24
  this.currency = salla.config.get('user.currency_code');
25
- salla.onReady(() => {
25
+ document.addEventListener('twilight::ready', () => {
26
26
  const installment = salla.config.get('store.settings.installments');
27
27
  if (installment) {
28
28
  this.tamaraIsActive = installment.indexOf('tamara_installment') != -1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salla.sa/twilight-components",
3
- "version": "1.5.6",
3
+ "version": "1.5.7",
4
4
  "license": "MIT",
5
5
  "author": "Salla Team <support@salla.dev> (https://salla.dev)",
6
6
  "bugs": {
@@ -47,8 +47,7 @@
47
47
  "doc:wow": "stencil build --docs-readme",
48
48
  "ci:build": "stencil build --ci",
49
49
  "ci:test": "stencil test --spec",
50
- "prerender": "stencil build --prerender",
51
- "tailwind": "node src/plugins/tailwind-theme/generator.js && tailwindcss -i ./src/global/app.scss -o ./example/assets/tailwind.css"
50
+ "prerender": "stencil build --prerender"
52
51
  },
53
52
  "devDependencies": {
54
53
  "@compodoc/compodoc": "^1.1.14",
@@ -73,10 +72,10 @@
73
72
  },
74
73
  "dependencies": {
75
74
  "@salla.sa/twilight": "^2.6.8",
76
- "@salla.sa/twilight-tailwind-theme": "^1.5.6",
75
+ "@salla.sa/twilight-tailwind-theme": "^1.5.7",
77
76
  "animejs": "^3.2.1",
78
77
  "intl-tel-input": "^17.0.13",
79
78
  "swiper": "^8.3.1"
80
79
  },
81
- "gitHead": "e668115c17af905989367f1720c60085fc6baa08"
80
+ "gitHead": "45e0b743178aecafaafd0c40feb83f64081f2701"
82
81
  }