@uxland/primary-shell 1.0.2 → 1.0.4

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.
@@ -0,0 +1 @@
1
+ export declare const initializeShell: (element: HTMLElement) => void;
@@ -0,0 +1,12 @@
1
+ import { IRegion } from '@uxland/regions';
2
+
3
+ declare const PrimaryShell_base: any;
4
+ export declare class PrimaryShell extends PrimaryShell_base {
5
+ render(): import('../node_modules/lit').TemplateResult<1>;
6
+ static styles: import('../node_modules/lit').CSSResult;
7
+ headerRegion: IRegion | undefined;
8
+ actionsToolbarRegion: IRegion | undefined;
9
+ sidebarRegion: IRegion | undefined;
10
+ mainRegion: IRegion | undefined;
11
+ }
12
+ export {};
@@ -0,0 +1,7 @@
1
+ export declare const regions: {
2
+ header: string;
3
+ actionsToolbar: string;
4
+ main: string;
5
+ sidebar: string;
6
+ footer: string;
7
+ };
package/package.json CHANGED
@@ -1,16 +1,13 @@
1
1
  {
2
2
  "name": "@uxland/primary-shell",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
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
- "main": "index.ts",
9
- "types": "lib/index.d.ts",
8
+ "main": "src/index.ts",
9
+ "types": "dist/index.d.ts",
10
10
  "files": [
11
- "src",
12
- "lib",
13
- "es",
14
11
  "dist"
15
12
  ],
16
13
  "publishConfig": {
@@ -25,9 +22,13 @@
25
22
  "url": "https://github.com/uxland/fim-sandbox-region-test/issues"
26
23
  },
27
24
  "dependencies": {
28
- "lit": "^3.1.0",
25
+ "@uxland/fim-core": "^1.0.0",
26
+ "@uxland/primary-ui-components": "^1.0.0",
29
27
  "@uxland/regions": "^1.0.0",
30
- "@material/web": "1.4.1"
28
+ "@uxland/utilities": "^1.0.5",
29
+ "tslib": "^2.3.0",
30
+ "lit": "^3.1.0",
31
+ "vite": "^5.2.8"
31
32
  },
32
33
  "devDependencies": {},
33
34
  "scripts": {
package/src/index.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from './initializer';
2
+ export * from './regions';
package/index.ts DELETED
@@ -1 +0,0 @@
1
- import './src/action-toolbar-item/action-toolbar-item';
@@ -1,34 +0,0 @@
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
- }