@openremote/or-mwc-components 1.8.0-snapshot.20250725074716 → 1.8.0-snapshot.20250725120001

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.
@@ -1,57 +1,177 @@
1
- var __decorate=this&&this.__decorate||function(t,e,r,a){var o,l=arguments.length,i=l<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,a);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(i=(l<3?o(i):l>3?o(e,r,i):o(e,r))||i);return l>3&&i&&Object.defineProperty(e,r,i),i};import{MDCTabBar as t}from"@material/tab-bar";import{css as e,html as r,LitElement as a,unsafeCSS as o}from"lit";import{customElement as l,property as i,state as c}from"lit/decorators.js";import{DefaultColor4 as s,DefaultColor8 as n}from"@openremote/core";import{unsafeHTML as d}from"lit/directives/unsafe-html.js";let tabStyle=require("@material/tab/dist/mdc.tab.css"),tabBarStyle=require("@material/tab-bar/dist/mdc.tab-bar.css"),tabIndicatorStyle=require("@material/tab-indicator/dist/mdc.tab-indicator.css"),tabScrollerStyle=require("@material/tab-scroller/dist/mdc.tab-scroller.css"),tabStyling=e`
2
- .mdc-tab {
3
- background: var(--or-app-color4, ${o(s)});
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { MDCTabBar } from "@material/tab-bar";
8
+ import { css, html, LitElement, unsafeCSS } from "lit";
9
+ import { customElement, property, state } from "lit/decorators.js";
10
+ import { DefaultColor4, DefaultColor8 } from "@openremote/core";
11
+ import { unsafeHTML } from 'lit/directives/unsafe-html.js';
12
+ // Material Styling import
13
+ const tabStyle = require("@material/tab/dist/mdc.tab.css");
14
+ const tabBarStyle = require("@material/tab-bar/dist/mdc.tab-bar.css");
15
+ const tabIndicatorStyle = require("@material/tab-indicator/dist/mdc.tab-indicator.css");
16
+ const tabScrollerStyle = require("@material/tab-scroller/dist/mdc.tab-scroller.css");
17
+ //language=css
18
+ const tabStyling = css `
19
+ .mdc-tab {
20
+ background: var(--or-app-color4, ${unsafeCSS(DefaultColor4)});
21
+ }
22
+ .mdc-tab .mdc-tab__text-label {
23
+ color: var(--or-app-color8, ${unsafeCSS(DefaultColor8)});
24
+ }
25
+ .mdc-tab .mdc-tab__icon {
26
+ color: var(--or-app-color8, ${unsafeCSS(DefaultColor8)})
27
+ }
28
+ .mdc-tab-indicator .mdc-tab-indicator__content--underline {
29
+ border-color: var(--or-app-color8, ${unsafeCSS(DefaultColor8)})
30
+ }
31
+ .mdc-tab__ripple::before, .mdc-tab__ripple::after {
32
+ background-color: var(--ripplecolor, ${unsafeCSS(DefaultColor8)});
33
+ }
34
+ .mdc-tab-vertical {
35
+ height: 72px !important; /* 72px is original Material spec */
36
+ }
37
+ .mdc-tab-vertical__content {
38
+ flex-direction: column;
39
+ gap: 6px; /* 6px is original Material spec */
40
+ }
41
+ .mdc-tab-vertical__text-label {
42
+ padding-left: 0 !important;
43
+ }
44
+ `;
45
+ /* ----------------- */
46
+ let OrMwcTabs = class OrMwcTabs extends LitElement {
47
+ static get styles() {
48
+ return [unsafeCSS(tabStyle), unsafeCSS(tabBarStyle), unsafeCSS(tabIndicatorStyle), unsafeCSS(tabScrollerStyle), tabStyling];
4
49
  }
5
- .mdc-tab .mdc-tab__text-label {
6
- color: var(--or-app-color8, ${o(n)});
50
+ constructor() {
51
+ super();
52
+ // default values
53
+ if (this.index == null) {
54
+ this.index = 0;
55
+ }
56
+ if (this.items == null) {
57
+ this.items = [];
58
+ }
59
+ if (this.iconPosition == null) {
60
+ this.iconPosition = "left";
61
+ }
62
+ if (this.noScroll == null) {
63
+ this.noScroll = false;
64
+ }
65
+ this.updateComplete.then(() => {
66
+ var _a, _b;
67
+ const tabBarElement = (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.mdc-tab-bar');
68
+ if (tabBarElement != null) {
69
+ this.mdcTabBar = new MDCTabBar(tabBarElement); // init of material component
70
+ this.mdcTabBar.listen("MDCTabBar:activated", (event) => {
71
+ this.index = event.detail.index;
72
+ });
73
+ }
74
+ if (tabBarElement != null) {
75
+ // Adding classes for Icon top position or not.
76
+ if (this.iconPosition === "top") {
77
+ if (((_b = this.items) === null || _b === void 0 ? void 0 : _b.find((item) => { return (item.name != null && item.icon != null); })) != undefined) {
78
+ tabBarElement.querySelectorAll('.mdc-tab').forEach((value) => { value.classList.add('mdc-tab-vertical'); });
79
+ tabBarElement.querySelectorAll('.mdc-tab__content').forEach((value) => { value.classList.add('mdc-tab-vertical__content'); });
80
+ tabBarElement.querySelectorAll('.mdc-tab__text-label').forEach((value) => { value.classList.add('mdc-tab-vertical__text-label'); });
81
+ }
82
+ }
83
+ // Apply colors if set differently
84
+ if (this.bgColor != null) {
85
+ tabBarElement.querySelectorAll('.mdc-tab').forEach((value) => {
86
+ value.style.background = this.bgColor;
87
+ });
88
+ }
89
+ if (this.color != null) {
90
+ tabBarElement.querySelectorAll('.mdc-tab__text-label').forEach((value) => { value.style.color = this.color; });
91
+ tabBarElement.querySelectorAll('.mdc-tab__icon').forEach((value) => { value.style.color = this.color; });
92
+ tabBarElement.querySelectorAll('.mdc-tab-indicator__content--underline').forEach((value) => { value.style.borderColor = this.color; });
93
+ tabBarElement.querySelectorAll('.mdc-tab__ripple').forEach((value) => { value.style.setProperty('--ripplecolor', this.color); });
94
+ }
95
+ }
96
+ });
7
97
  }
8
- .mdc-tab .mdc-tab__icon {
9
- color: var(--or-app-color8, ${o(n)})
98
+ // If an update happens on either the Index or mdcTabBar object.
99
+ updated(changedProperties) {
100
+ if (changedProperties.has('index') || changedProperties.has('mdcTabBar')) {
101
+ if (this.mdcTabBar != null && this.index != null) {
102
+ this.mdcTabBar.activateTab(this.index);
103
+ this.dispatchEvent(new CustomEvent("activated", { detail: { index: this.index } }));
104
+ }
105
+ }
10
106
  }
11
- .mdc-tab-indicator .mdc-tab-indicator__content--underline {
12
- border-color: var(--or-app-color8, ${o(n)})
107
+ render() {
108
+ var _a;
109
+ let selectedItem;
110
+ if (this.items != null && this.index != null) {
111
+ selectedItem = this.items[this.index];
112
+ }
113
+ return html `
114
+ ${typeof (this.styles) === "string" ? html `<style>${this.styles}</style>` : this.styles || ``}
115
+ <div>
116
+ <div class="mdc-tab-bar" role="tablist" id="tab-bar">
117
+ <div class="mdc-tab-scroller">
118
+ <div class="mdc-tab-scroller__scroll-area" style="overflow-x: ${this.noScroll ? 'hidden' : undefined}">
119
+ <div class="mdc-tab-scroller__scroll-content">
120
+ ${(_a = this.items) === null || _a === void 0 ? void 0 : _a.map((menuItem => {
121
+ var _a;
122
+ return html `
123
+ <button class="mdc-tab" role="tab" aria-selected="false" tabindex="${(_a = this.items) === null || _a === void 0 ? void 0 : _a.indexOf(menuItem)}">
124
+ <span class="mdc-tab__content">
125
+ ${menuItem.icon != null ? html `<or-icon icon="${menuItem.icon}" class="mdc-tab__icon"></or-icon>` : null}
126
+ ${menuItem.name != null ? html `<span class="mdc-tab__text-label">${menuItem.name}</span>` : null}
127
+ </span>
128
+ <span class="mdc-tab-indicator">
129
+ <span class="mdc-tab-indicator__content mdc-tab-indicator__content--underline"></span>
130
+ </span>
131
+ <span class="mdc-tab__ripple"></span>
132
+ </button>
133
+ `;
134
+ }))}
135
+ </div>
136
+ </div>
137
+ </div>
138
+ </div>
139
+ <div>
140
+ <div>
141
+ <!-- Content of menu Item. Using either unsafeHTML or HTML depending on input type -->
142
+ ${(selectedItem != null && selectedItem.content != null) ? (typeof selectedItem.content == "string" ? unsafeHTML(selectedItem.content) : html `${selectedItem.content}`) : undefined}
143
+ </div>
144
+ </div>
145
+ </div>
146
+ `;
13
147
  }
14
- .mdc-tab__ripple::before, .mdc-tab__ripple::after {
15
- background-color: var(--ripplecolor, ${o(n)});
16
- }
17
- .mdc-tab-vertical {
18
- height: 72px !important; /* 72px is original Material spec */
19
- }
20
- .mdc-tab-vertical__content {
21
- flex-direction: column;
22
- gap: 6px; /* 6px is original Material spec */
23
- }
24
- .mdc-tab-vertical__text-label {
25
- padding-left: 0 !important;
26
- }
27
- `,OrMwcTabs=class extends a{static get styles(){return[o(tabStyle),o(tabBarStyle),o(tabIndicatorStyle),o(tabScrollerStyle),tabStyling]}constructor(){super(),null==this.index&&(this.index=0),null==this.items&&(this.items=[]),null==this.iconPosition&&(this.iconPosition="left"),null==this.noScroll&&(this.noScroll=!1),this.updateComplete.then(()=>{var e,r;let a=null==(e=this.shadowRoot)?void 0:e.querySelector(".mdc-tab-bar");null!=a&&(this.mdcTabBar=new t(a),this.mdcTabBar.listen("MDCTabBar:activated",t=>{this.index=t.detail.index})),null!=a&&("top"===this.iconPosition&&(null==(r=this.items)?void 0:r.find(t=>null!=t.name&&null!=t.icon))!=void 0&&(a.querySelectorAll(".mdc-tab").forEach(t=>{t.classList.add("mdc-tab-vertical")}),a.querySelectorAll(".mdc-tab__content").forEach(t=>{t.classList.add("mdc-tab-vertical__content")}),a.querySelectorAll(".mdc-tab__text-label").forEach(t=>{t.classList.add("mdc-tab-vertical__text-label")})),null!=this.bgColor&&a.querySelectorAll(".mdc-tab").forEach(t=>{t.style.background=this.bgColor}),null!=this.color&&(a.querySelectorAll(".mdc-tab__text-label").forEach(t=>{t.style.color=this.color}),a.querySelectorAll(".mdc-tab__icon").forEach(t=>{t.style.color=this.color}),a.querySelectorAll(".mdc-tab-indicator__content--underline").forEach(t=>{t.style.borderColor=this.color}),a.querySelectorAll(".mdc-tab__ripple").forEach(t=>{t.style.setProperty("--ripplecolor",this.color)})))})}updated(t){(t.has("index")||t.has("mdcTabBar"))&&null!=this.mdcTabBar&&null!=this.index&&(this.mdcTabBar.activateTab(this.index),this.dispatchEvent(new CustomEvent("activated",{detail:{index:this.index}})))}render(){var t;let e;return null!=this.items&&null!=this.index&&(e=this.items[this.index]),r`
28
- ${"string"==typeof this.styles?r`<style>${this.styles}</style>`:this.styles||""}
29
- <div>
30
- <div class="mdc-tab-bar" role="tablist" id="tab-bar">
31
- <div class="mdc-tab-scroller">
32
- <div class="mdc-tab-scroller__scroll-area" style="overflow-x: ${this.noScroll?"hidden":void 0}">
33
- <div class="mdc-tab-scroller__scroll-content">
34
- ${null==(t=this.items)?void 0:t.map(t=>{var e;return r`
35
- <button class="mdc-tab" role="tab" aria-selected="false" tabindex="${null==(e=this.items)?void 0:e.indexOf(t)}">
36
- <span class="mdc-tab__content">
37
- ${null!=t.icon?r`<or-icon icon="${t.icon}" class="mdc-tab__icon"></or-icon>`:null}
38
- ${null!=t.name?r`<span class="mdc-tab__text-label">${t.name}</span>`:null}
39
- </span>
40
- <span class="mdc-tab-indicator">
41
- <span class="mdc-tab-indicator__content mdc-tab-indicator__content--underline"></span>
42
- </span>
43
- <span class="mdc-tab__ripple"></span>
44
- </button>
45
- `})}
46
- </div>
47
- </div>
48
- </div>
49
- </div>
50
- <div>
51
- <div>
52
- <!-- Content of menu Item. Using either unsafeHTML or HTML depending on input type -->
53
- ${null!=e&&null!=e.content?"string"==typeof e.content?d(e.content):r`${e.content}`:void 0}
54
- </div>
55
- </div>
56
- </div>
57
- `}};__decorate([i({type:Number})],OrMwcTabs.prototype,"index",void 0),__decorate([i({type:Array})],OrMwcTabs.prototype,"items",void 0),__decorate([i({type:String})],OrMwcTabs.prototype,"iconPosition",void 0),__decorate([i({type:Boolean})],OrMwcTabs.prototype,"noScroll",void 0),__decorate([i({type:String})],OrMwcTabs.prototype,"bgColor",void 0),__decorate([i({type:String})],OrMwcTabs.prototype,"color",void 0),__decorate([i()],OrMwcTabs.prototype,"styles",void 0),__decorate([c()],OrMwcTabs.prototype,"mdcTabBar",void 0),OrMwcTabs=__decorate([l("or-mwc-tabs")],OrMwcTabs);export{OrMwcTabs};
148
+ };
149
+ __decorate([
150
+ property({ type: Number }) // Selected tab index from the items array
151
+ ], OrMwcTabs.prototype, "index", void 0);
152
+ __decorate([
153
+ property({ type: Array })
154
+ ], OrMwcTabs.prototype, "items", void 0);
155
+ __decorate([
156
+ property({ type: String })
157
+ ], OrMwcTabs.prototype, "iconPosition", void 0);
158
+ __decorate([
159
+ property({ type: Boolean })
160
+ ], OrMwcTabs.prototype, "noScroll", void 0);
161
+ __decorate([
162
+ property({ type: String })
163
+ ], OrMwcTabs.prototype, "bgColor", void 0);
164
+ __decorate([
165
+ property({ type: String })
166
+ ], OrMwcTabs.prototype, "color", void 0);
167
+ __decorate([
168
+ property() // Custom styling that gets injected in render()
169
+ ], OrMwcTabs.prototype, "styles", void 0);
170
+ __decorate([
171
+ state()
172
+ ], OrMwcTabs.prototype, "mdcTabBar", void 0);
173
+ OrMwcTabs = __decorate([
174
+ customElement("or-mwc-tabs")
175
+ ], OrMwcTabs);
176
+ export { OrMwcTabs };
177
+ //# sourceMappingURL=or-mwc-tabs.js.map
package/lib/style.js CHANGED
@@ -1,121 +1,125 @@
1
- import{css as r,unsafeCSS as e}from"lit";import{DefaultColor4 as a}from"@openremote/core";export const progressCircular=r`
2
-
3
- /* https://codepen.io/finnhvman/pen/bmNdNr */
4
- .pure-material-progress-circular {
5
- -webkit-appearance: none;
6
- -moz-appearance: none;
7
- appearance: none;
8
- box-sizing: border-box;
9
- border: none;
10
- border-radius: 50%;
11
- padding: 0.25em;
12
- width: 3em;
13
- height: 3em;
14
- color: var(--or-app-color4, ${e(a)});
15
- background-color: transparent;
16
- font-size: 16px;
17
- overflow: hidden;
18
- }
19
-
20
- .pure-material-progress-circular::-webkit-progress-bar {
21
- background-color: transparent;
22
- }
23
-
24
- /* Indeterminate */
25
- .pure-material-progress-circular:indeterminate {
26
- -webkit-mask-image: linear-gradient(transparent 50%, black 50%), linear-gradient(to right, transparent 50%, black 50%);
27
- mask-image: linear-gradient(transparent 50%, black 50%), linear-gradient(to right, transparent 50%, black 50%);
28
- animation: pure-material-progress-circular 6s infinite cubic-bezier(0.3, 0.6, 1, 1);
29
- }
30
-
31
- :-ms-lang(x), .pure-material-progress-circular:indeterminate {
32
- animation: none;
33
- }
34
-
35
- .pure-material-progress-circular:indeterminate::before,
36
- .pure-material-progress-circular:indeterminate::-webkit-progress-value {
37
- content: "";
38
- display: block;
39
- box-sizing: border-box;
40
- margin-bottom: 0.25em;
41
- border: solid 0.25em transparent;
42
- border-top-color: currentColor;
43
- border-radius: 50%;
44
- width: 100% !important;
45
- height: 100%;
46
- background-color: transparent;
47
- animation: pure-material-progress-circular-pseudo 0.75s infinite linear alternate;
48
- }
49
-
50
- .pure-material-progress-circular:indeterminate::-moz-progress-bar {
51
- box-sizing: border-box;
52
- border: solid 0.25em transparent;
53
- border-top-color: currentColor;
54
- border-radius: 50%;
55
- width: 100%;
56
- height: 100%;
57
- background-color: transparent;
58
- animation: pure-material-progress-circular-pseudo 0.75s infinite linear alternate;
59
- }
60
-
61
- .pure-material-progress-circular:indeterminate::-ms-fill {
62
- animation-name: -ms-ring;
63
- }
64
-
65
- @keyframes pure-material-progress-circular {
66
- 0% {
67
- transform: rotate(0deg);
68
- }
69
- 12.5% {
70
- transform: rotate(180deg);
71
- animation-timing-function: linear;
72
- }
73
- 25% {
74
- transform: rotate(630deg);
75
- }
76
- 37.5% {
77
- transform: rotate(810deg);
78
- animation-timing-function: linear;
79
- }
80
- 50% {
81
- transform: rotate(1260deg);
82
- }
83
- 62.5% {
84
- transform: rotate(1440deg);
85
- animation-timing-function: linear;
86
- }
87
- 75% {
88
- transform: rotate(1890deg);
89
- }
90
- 87.5% {
91
- transform: rotate(2070deg);
92
- animation-timing-function: linear;
93
- }
94
- 100% {
95
- transform: rotate(2520deg);
96
- }
97
- }
98
-
99
- @keyframes pure-material-progress-circular-pseudo {
100
- 0% {
101
- transform: rotate(-30deg);
102
- }
103
- 29.4% {
104
- border-left-color: transparent;
105
- }
106
- 29.41% {
107
- border-left-color: currentColor;
108
- }
109
- 64.7% {
110
- border-bottom-color: transparent;
111
- }
112
- 64.71% {
113
- border-bottom-color: currentColor;
114
- }
115
- 100% {
116
- border-left-color: currentColor;
117
- border-bottom-color: currentColor;
118
- transform: rotate(225deg);
119
- }
120
- }
121
- `;
1
+ import { css, unsafeCSS } from "lit";
2
+ import { DefaultColor4 } from "@openremote/core";
3
+ // language=CSS
4
+ export const progressCircular = css `
5
+
6
+ /* https://codepen.io/finnhvman/pen/bmNdNr */
7
+ .pure-material-progress-circular {
8
+ -webkit-appearance: none;
9
+ -moz-appearance: none;
10
+ appearance: none;
11
+ box-sizing: border-box;
12
+ border: none;
13
+ border-radius: 50%;
14
+ padding: 0.25em;
15
+ width: 3em;
16
+ height: 3em;
17
+ color: var(--or-app-color4, ${unsafeCSS(DefaultColor4)});
18
+ background-color: transparent;
19
+ font-size: 16px;
20
+ overflow: hidden;
21
+ }
22
+
23
+ .pure-material-progress-circular::-webkit-progress-bar {
24
+ background-color: transparent;
25
+ }
26
+
27
+ /* Indeterminate */
28
+ .pure-material-progress-circular:indeterminate {
29
+ -webkit-mask-image: linear-gradient(transparent 50%, black 50%), linear-gradient(to right, transparent 50%, black 50%);
30
+ mask-image: linear-gradient(transparent 50%, black 50%), linear-gradient(to right, transparent 50%, black 50%);
31
+ animation: pure-material-progress-circular 6s infinite cubic-bezier(0.3, 0.6, 1, 1);
32
+ }
33
+
34
+ :-ms-lang(x), .pure-material-progress-circular:indeterminate {
35
+ animation: none;
36
+ }
37
+
38
+ .pure-material-progress-circular:indeterminate::before,
39
+ .pure-material-progress-circular:indeterminate::-webkit-progress-value {
40
+ content: "";
41
+ display: block;
42
+ box-sizing: border-box;
43
+ margin-bottom: 0.25em;
44
+ border: solid 0.25em transparent;
45
+ border-top-color: currentColor;
46
+ border-radius: 50%;
47
+ width: 100% !important;
48
+ height: 100%;
49
+ background-color: transparent;
50
+ animation: pure-material-progress-circular-pseudo 0.75s infinite linear alternate;
51
+ }
52
+
53
+ .pure-material-progress-circular:indeterminate::-moz-progress-bar {
54
+ box-sizing: border-box;
55
+ border: solid 0.25em transparent;
56
+ border-top-color: currentColor;
57
+ border-radius: 50%;
58
+ width: 100%;
59
+ height: 100%;
60
+ background-color: transparent;
61
+ animation: pure-material-progress-circular-pseudo 0.75s infinite linear alternate;
62
+ }
63
+
64
+ .pure-material-progress-circular:indeterminate::-ms-fill {
65
+ animation-name: -ms-ring;
66
+ }
67
+
68
+ @keyframes pure-material-progress-circular {
69
+ 0% {
70
+ transform: rotate(0deg);
71
+ }
72
+ 12.5% {
73
+ transform: rotate(180deg);
74
+ animation-timing-function: linear;
75
+ }
76
+ 25% {
77
+ transform: rotate(630deg);
78
+ }
79
+ 37.5% {
80
+ transform: rotate(810deg);
81
+ animation-timing-function: linear;
82
+ }
83
+ 50% {
84
+ transform: rotate(1260deg);
85
+ }
86
+ 62.5% {
87
+ transform: rotate(1440deg);
88
+ animation-timing-function: linear;
89
+ }
90
+ 75% {
91
+ transform: rotate(1890deg);
92
+ }
93
+ 87.5% {
94
+ transform: rotate(2070deg);
95
+ animation-timing-function: linear;
96
+ }
97
+ 100% {
98
+ transform: rotate(2520deg);
99
+ }
100
+ }
101
+
102
+ @keyframes pure-material-progress-circular-pseudo {
103
+ 0% {
104
+ transform: rotate(-30deg);
105
+ }
106
+ 29.4% {
107
+ border-left-color: transparent;
108
+ }
109
+ 29.41% {
110
+ border-left-color: currentColor;
111
+ }
112
+ 64.7% {
113
+ border-bottom-color: transparent;
114
+ }
115
+ 64.71% {
116
+ border-bottom-color: currentColor;
117
+ }
118
+ 100% {
119
+ border-left-color: currentColor;
120
+ border-bottom-color: currentColor;
121
+ transform: rotate(225deg);
122
+ }
123
+ }
124
+ `;
125
+ //# sourceMappingURL=style.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openremote/or-mwc-components",
3
- "version": "1.8.0-snapshot.20250725074716",
3
+ "version": "1.8.0-snapshot.20250725120001",
4
4
  "description": "Material Design Components packaged as web components (The official components are hardcoded to use Material Design font which has limited icons)",
5
5
  "customElements": "custom-elements.json",
6
6
  "main": "dist/umd/index.bundle.js",
@@ -44,13 +44,13 @@
44
44
  "@material/switch": "^9.0.0",
45
45
  "@material/tab-bar": "^9.0.0",
46
46
  "@material/textfield": "^9.0.0",
47
- "@openremote/core": "1.8.0-snapshot.20250725074716",
48
- "@openremote/or-icon": "1.8.0-snapshot.20250725074716",
49
- "@openremote/or-translate": "1.8.0-snapshot.20250725074716",
47
+ "@openremote/core": "1.8.0-snapshot.20250725120001",
48
+ "@openremote/or-icon": "1.8.0-snapshot.20250725120001",
49
+ "@openremote/or-translate": "1.8.0-snapshot.20250725120001",
50
50
  "lit": "^2.0.2"
51
51
  },
52
52
  "devDependencies": {
53
- "@openremote/util": "1.8.0-snapshot.20250725074716"
53
+ "@openremote/util": "1.8.0-snapshot.20250725120001"
54
54
  },
55
55
  "publishConfig": {
56
56
  "access": "public"
package/rspack.config.js CHANGED
@@ -1,7 +1,7 @@
1
- const util = require("@openremote/util");
2
-
3
- bundles = {
4
- "index.bundle": undefined
5
- };
6
-
7
- module.exports = util.generateExports(__dirname);
1
+ const util = require("@openremote/util");
2
+
3
+ bundles = {
4
+ "index.bundle": undefined
5
+ };
6
+
7
+ module.exports = util.generateExports(__dirname);