@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.
- package/dist/index.d.ts +2 -0
- package/dist/index.js +154 -89
- package/dist/index.mjs +2833 -2437
- package/dist/initializer.d.ts +1 -0
- package/dist/primary-shell.d.ts +12 -0
- package/dist/regions.d.ts +7 -0
- package/package.json +9 -8
- package/src/index.ts +2 -0
- package/index.ts +0 -1
- package/src/action-toolbar-item/action-toolbar-item.ts +0 -34
|
@@ -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 {};
|
package/package.json
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uxland/primary-shell",
|
|
3
|
-
"version": "1.0.
|
|
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": "
|
|
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
|
-
"
|
|
25
|
+
"@uxland/fim-core": "^1.0.0",
|
|
26
|
+
"@uxland/primary-ui-components": "^1.0.0",
|
|
29
27
|
"@uxland/regions": "^1.0.0",
|
|
30
|
-
"@
|
|
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
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
|
-
}
|