@uxland/primary-shell 1.0.0 → 1.0.2

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.
package/index.ts CHANGED
@@ -1,3 +1 @@
1
- export * from './src/primary-shell';
2
- export * from './src/initializer';
3
- export * from './src/regions';
1
+ import './src/action-toolbar-item/action-toolbar-item';
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@uxland/primary-shell",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Framework Integració modular",
5
5
  "author": "UXLand <dev@uxland.es>",
6
6
  "homepage": "https://github.com/uxland/fim-sandbox/tree/app#readme",
7
7
  "license": "UNLICENSED",
8
8
  "main": "index.ts",
9
9
  "types": "lib/index.d.ts",
10
- "module": "dist/index.js",
11
10
  "files": [
11
+ "src",
12
12
  "lib",
13
13
  "es",
14
14
  "dist"
@@ -25,12 +25,9 @@
25
25
  "url": "https://github.com/uxland/fim-sandbox-region-test/issues"
26
26
  },
27
27
  "dependencies": {
28
- "@fim-sandbox/core": "^1.0.0",
29
- "@primary/ui-components": "^1.0.0",
30
- "@uxland/regions": "^1.0.0",
31
- "tslib": "^2.3.0",
32
28
  "lit": "^3.1.0",
33
- "vite": "^5.2.8"
29
+ "@uxland/regions": "^1.0.0",
30
+ "@material/web": "1.4.1"
34
31
  },
35
32
  "devDependencies": {},
36
33
  "scripts": {
@@ -0,0 +1,34 @@
1
+
2
+ import '@material/web/icon/icon';
3
+ import '@material/web/iconbutton/icon-button';
4
+ import { regionView } from '@uxland/regions';
5
+ import { LitElement, css, html } from 'lit';
6
+ import { customElement, property } from 'lit/decorators.js';
7
+ //@ts-ignore
8
+ @customElement('action-toolbar-item')
9
+ //@ts-ignore
10
+ export class ActionToolbarItem extends regionView(LitElement) {
11
+
12
+ override render() {
13
+ return html`
14
+ <div class="container">
15
+ <md-icon-button aria-label="${this.description}">
16
+ <md-icon>${this.icon}</md-icon>
17
+ </md-icon-button>
18
+ </div>
19
+ `;
20
+ }
21
+
22
+ static styles = css`
23
+ :host {
24
+ color: red;
25
+ }
26
+ `;
27
+
28
+ @property()
29
+ icon: string;
30
+
31
+ @property()
32
+ description: string;
33
+
34
+ }