Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 4.1.2 - Released on 2025-05-17

### Fixes

- Fixed import in Vue with TypeScript

<br>

## 4.1.1 - Released on 2025-05-14

### Reactor
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prismium-src",
"version": "4.1.1",
"version": "4.1.2",
"description": "A modern JavaScript accordion library with smooth animations. Easily integrates with React, Vue, and vanilla JavaScript.",
"type": "module",
"scripts": {
Expand Down
12 changes: 6 additions & 6 deletions src/types/vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export interface PrismiumInjection {
* Reference to Prismium root element
*/
prismiumRef: Ref<HTMLElement | null>;

/**
* Reference to Prismium instance
*/
Expand All @@ -31,12 +31,12 @@ export interface PrismiumProps {
* Options for configuring the Prismium instance
*/
options?: PrismiumOptions;

/**
* Modules to register with Prismium
*/
modules?: PrismiumModule[];

/**
* Additional attributes to apply to the element
*/
Expand All @@ -52,7 +52,7 @@ export interface PrismiumCurrentProps {
* @default 'div'
*/
selector?: string;

/**
* Additional attributes to apply to the element
*/
Expand All @@ -68,7 +68,7 @@ export interface PrismiumContentProps {
* @default 'div'
*/
selector?: string;

/**
* Additional attributes to apply to the element
*/
Expand Down Expand Up @@ -98,5 +98,5 @@ export default {
* Install Prismium plugin in Vue application
* @param app - Vue application instance
*/
install: (app: any) => void;
install(app: any): void {},
};