@inizioevoke/veeva-astroclm 1.1.10 → 1.1.11
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.
|
@@ -135,13 +135,14 @@ import { FlipCard } from '@inizioevoke/astro-core';
|
|
|
135
135
|
```
|
|
136
136
|
|
|
137
137
|
Slots: `front`, `back`, `trigger`, `front-trigger`, `back-trigger`
|
|
138
|
-
Props: `width?`, `height?`, plus any `div` HTML attributes
|
|
138
|
+
Props: `width?`, `height?`, `animation?` (default `true`; `false` = instant swap), `flipped?` (initial state, default `false`), plus any `div` HTML attributes
|
|
139
139
|
|
|
140
140
|
**Client-side JS** (in a `<script>` block):
|
|
141
141
|
```ts
|
|
142
142
|
import type { EvoFlipCardElement } from '@inizioevoke/astro-core/lib/FlipCard';
|
|
143
143
|
const card = document.querySelector('evo-flip-card') as EvoFlipCardElement;
|
|
144
144
|
card.toggle(); // or flipFront() / flipBack()
|
|
145
|
+
card.disableAnimation(); // or enableAnimation() / card.animation = false
|
|
145
146
|
```
|
|
146
147
|
|
|
147
148
|
> For full CSS variable list and JS API details → read `docs/components/FlipCard.md`
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inizioevoke/veeva-astroclm",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.11",
|
|
5
5
|
"bin": "./bin/create.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"start": "astro dev",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"page-manager": "npx tsx ./tasks/page-manager.ts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@astrojs/preact": "^6.1.
|
|
29
|
-
"@inizioevoke/astro-core": "^3.
|
|
28
|
+
"@astrojs/preact": "^6.1.6",
|
|
29
|
+
"@inizioevoke/astro-core": "^3.4.0",
|
|
30
30
|
"@inizioevoke/veeva-astroclm-core": "^1.4.9",
|
|
31
31
|
"@inizioevoke/veeva-clmjs": "^1.0.1",
|
|
32
32
|
"@inizioevoke/veeva-iva": "^1.4.1",
|
|
33
|
-
"astro": "^7.4.
|
|
33
|
+
"astro": "^7.4.12",
|
|
34
34
|
"preact": "^11.2.0",
|
|
35
|
-
"sass": "^1.108.
|
|
35
|
+
"sass": "^1.108.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@astrojs/check": "^0.9.12",
|
|
@@ -22,7 +22,8 @@ const bodyClass: (string | undefined)[] = [
|
|
|
22
22
|
`target-${BUILD_TARGET}`,
|
|
23
23
|
BUILD_TARGET === 'web' ? `web-${WEB_ENV}` : undefined,
|
|
24
24
|
BUILD_TARGET === 'web' && WEB_SCALING ? 'web-scaling' : undefined,
|
|
25
|
-
cssClass
|
|
25
|
+
cssClass,
|
|
26
|
+
VEEVA_PLATFORM === 'vault' ? 'vault-crm' : 'veeva-crm'
|
|
26
27
|
];
|
|
27
28
|
|
|
28
29
|
const pathname = Astro.url.pathname;
|