@salla.sa/twilight-bundles-starter-kit 0.1.24 → 0.1.26

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 (2) hide show
  1. package/README.md +7 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -188,13 +188,17 @@ import { css, html, LitElement } from 'lit';
188
188
  import { property } from 'lit/decorators.js';
189
189
 
190
190
  export default class MyComponent extends LitElement {
191
- @property({ type: String })
192
- name = 'World';
191
+ @property({ type: Object })
192
+ config?: {
193
+ title: string;
194
+ // ... Add more properties as needed
195
+ };
196
+
193
197
 
194
198
  static styles = css`/* your styles */`;
195
199
 
196
200
  render() {
197
- return html`<div>Hello ${this.name}!</div>`;
201
+ return html`<div>Hello ${this.config?.title || 'World'}!</div>`;
198
202
  }
199
203
  }
200
204
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salla.sa/twilight-bundles-starter-kit",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "description": "Starter kit for building custom Salla components",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "lit": "^3.2.1",
36
- "@salla.sa/twilight-bundles": "0.1.30"
36
+ "@salla.sa/twilight-bundles": "0.1.32"
37
37
  },
38
38
  "engines": {
39
39
  "node": ">=16.0.0",