@erplora/outfitkit 0.1.14 → 0.1.16
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/base/icons.d.ts +59 -0
- package/dist/base/icons.test.d.ts +1 -0
- package/dist/cdn.d.ts +1 -0
- package/dist/components/ok-data-table/csv-encoding.d.ts +4 -0
- package/dist/components/ok-data-table/csv-encoding.test.d.ts +1 -0
- package/dist/components/ok-kpi/ok-kpi.d.ts +1 -1
- package/dist/components/ok-theme-picker/ok-theme-picker.d.ts +46 -0
- package/dist/components/ok-theme-picker/ok-theme-picker.test.d.ts +1 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +4 -0
- package/dist/ok-app-launcher.js +4 -3
- package/dist/ok-audio.js +4 -3
- package/dist/ok-calendar.js +4 -3
- package/dist/ok-carousel.js +3 -2
- package/dist/ok-chat.js +2 -1
- package/dist/ok-combo.js +2 -1
- package/dist/ok-command-palette.js +3 -2
- package/dist/ok-data-table.js +27 -16
- package/dist/ok-date-picker.js +4 -3
- package/dist/ok-drawer.js +3 -2
- package/dist/ok-dropzone.js +5 -4
- package/dist/ok-empty-state.js +2 -1
- package/dist/ok-error-page.js +2 -1
- package/dist/ok-file-manager.js +5 -4
- package/dist/ok-icon-tile.js +2 -1
- package/dist/ok-inline-feedback.js +8 -7
- package/dist/ok-kpi.js +7 -6
- package/dist/ok-lightbox.js +7 -6
- package/dist/ok-mail.js +10 -9
- package/dist/ok-menu.js +2 -1
- package/dist/ok-menubar.js +6 -5
- package/dist/ok-notification-center.js +4 -3
- package/dist/ok-pdf.js +4 -3
- package/dist/ok-pinpad.js +3 -2
- package/dist/ok-qty-stepper.js +3 -2
- package/dist/ok-rating.js +3 -2
- package/dist/ok-scheduler.js +3 -2
- package/dist/ok-select-card.js +2 -1
- package/dist/ok-signature.js +3 -2
- package/dist/ok-split-button.js +3 -2
- package/dist/ok-status-pill.js +2 -1
- package/dist/ok-stepper.js +2 -1
- package/dist/ok-tag-input.js +2 -1
- package/dist/ok-theme-picker.js +221 -0
- package/dist/ok-timeline.js +2 -1
- package/dist/ok-tree.js +3 -2
- package/dist/ok-video.js +5 -4
- package/dist/ok-widget-board.js +2 -1
- package/dist/outfitkit.bundle.js +3378 -3117
- package/dist/outfitkit.js +1 -0
- package/dist/palettes.css +422 -0
- package/dist/shared/icons.js +194 -0
- package/dist/theme/palettes.test.d.ts +1 -0
- package/package.json +10 -2
package/dist/ok-split-button.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { LitElement, css, html } from "lit";
|
|
2
2
|
import { property, state } from "lit/decorators.js";
|
|
3
3
|
import { define } from "./define.js";
|
|
4
|
+
import { o as okIcon, w as iconChevronDownOutline } from "./shared/icons.js";
|
|
4
5
|
var __defProp = Object.defineProperty;
|
|
5
6
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
6
7
|
var result = void 0;
|
|
@@ -194,7 +195,7 @@ class OkSplitButton extends LitElement {
|
|
|
194
195
|
role="menuitem"
|
|
195
196
|
@click=${() => this.selectItem(item)}
|
|
196
197
|
>
|
|
197
|
-
${item.icon ? html`<ion-icon .
|
|
198
|
+
${item.icon ? html`<ion-icon .icon=${okIcon(item.icon)}></ion-icon>` : ""}
|
|
198
199
|
<span class="label">${item.label}</span>
|
|
199
200
|
</button>`;
|
|
200
201
|
}
|
|
@@ -218,7 +219,7 @@ class OkSplitButton extends LitElement {
|
|
|
218
219
|
aria-label=${this.t.more}
|
|
219
220
|
@click=${() => this.toggle()}
|
|
220
221
|
>
|
|
221
|
-
<ion-icon slot="icon-only"
|
|
222
|
+
<ion-icon slot="icon-only" .icon=${iconChevronDownOutline}></ion-icon>
|
|
222
223
|
</ion-button>
|
|
223
224
|
</div>
|
|
224
225
|
${this.open ? html`<div class="menu" role="menu" aria-label=${this.t.menu}>
|
package/dist/ok-status-pill.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { LitElement, css, html } from "lit";
|
|
2
2
|
import { property } from "lit/decorators.js";
|
|
3
3
|
import { define } from "./define.js";
|
|
4
|
+
import { o as okIcon } from "./shared/icons.js";
|
|
4
5
|
var __defProp = Object.defineProperty;
|
|
5
6
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
6
7
|
var result = void 0;
|
|
@@ -96,7 +97,7 @@ class OkStatusPill extends LitElement {
|
|
|
96
97
|
render() {
|
|
97
98
|
return html`
|
|
98
99
|
<span class="pill" part="pill">
|
|
99
|
-
${this.dot ? html`<span class="dot" part="dot" aria-hidden="true"></span>` : this.icon ? html`<ion-icon
|
|
100
|
+
${this.dot ? html`<span class="dot" part="dot" aria-hidden="true"></span>` : this.icon ? html`<ion-icon .icon=${okIcon(this.icon)} aria-hidden="true"></ion-icon>` : null}
|
|
100
101
|
<slot>${this.label ?? ""}</slot>
|
|
101
102
|
</span>
|
|
102
103
|
`;
|
package/dist/ok-stepper.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { LitElement, css, html } from "lit";
|
|
2
2
|
import { property } from "lit/decorators.js";
|
|
3
3
|
import { define } from "./define.js";
|
|
4
|
+
import { r as iconCheckmarkOutline } from "./shared/icons.js";
|
|
4
5
|
var __defProp = Object.defineProperty;
|
|
5
6
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
6
7
|
var result = void 0;
|
|
@@ -259,7 +260,7 @@ class OkStepper extends LitElement {
|
|
|
259
260
|
>
|
|
260
261
|
<span class="circle-row">
|
|
261
262
|
<span class="circle">
|
|
262
|
-
${i < this.current ? html`<ion-icon
|
|
263
|
+
${i < this.current ? html`<ion-icon .icon=${iconCheckmarkOutline} aria-hidden="true"></ion-icon>` : html`${i + 1}`}
|
|
263
264
|
</span>
|
|
264
265
|
</span>
|
|
265
266
|
<span class="labels">
|
package/dist/ok-tag-input.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { LitElement, css, html } from "lit";
|
|
2
2
|
import { property, state } from "lit/decorators.js";
|
|
3
3
|
import { define } from "./define.js";
|
|
4
|
+
import { v as iconCloseOutline } from "./shared/icons.js";
|
|
4
5
|
var __defProp = Object.defineProperty;
|
|
5
6
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
6
7
|
var result = void 0;
|
|
@@ -304,7 +305,7 @@ class OkTagInput extends LitElement {
|
|
|
304
305
|
this.removeAt(i);
|
|
305
306
|
}}
|
|
306
307
|
>
|
|
307
|
-
<ion-icon
|
|
308
|
+
<ion-icon .icon=${iconCloseOutline}></ion-icon>
|
|
308
309
|
</button>
|
|
309
310
|
</span>`
|
|
310
311
|
)}
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import { LitElement, css, nothing, html } from "lit";
|
|
2
|
+
import { property } from "lit/decorators.js";
|
|
3
|
+
import { define } from "./define.js";
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
6
|
+
var result = void 0;
|
|
7
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
8
|
+
if (decorator = decorators[i])
|
|
9
|
+
result = decorator(target, key, result) || result;
|
|
10
|
+
if (result) __defProp(target, key, result);
|
|
11
|
+
return result;
|
|
12
|
+
};
|
|
13
|
+
const DEFAULT_PALETTES = [
|
|
14
|
+
{ id: "erplora", label: "ERPlora", brand: "#1496D6" },
|
|
15
|
+
{ id: "terracotta", label: "Terracotta", brand: "#E8552A" },
|
|
16
|
+
{ id: "corporate", label: "Corporate", brand: "#0F3F9C" },
|
|
17
|
+
{ id: "minimal", label: "Minimal", brand: "#111111" },
|
|
18
|
+
{ id: "forest", label: "Forest", brand: "#1F542A" },
|
|
19
|
+
{ id: "ocean", label: "Ocean", brand: "#008CBD" },
|
|
20
|
+
{ id: "violet", label: "Violet", brand: "#742AD9" }
|
|
21
|
+
];
|
|
22
|
+
function applyPalette(root, palette) {
|
|
23
|
+
if (!palette || palette === "erplora") root.removeAttribute("data-ok-palette");
|
|
24
|
+
else root.setAttribute("data-ok-palette", palette);
|
|
25
|
+
}
|
|
26
|
+
const DEFAULT_LABELS = {
|
|
27
|
+
palette: "Theme palette",
|
|
28
|
+
mode: "Appearance",
|
|
29
|
+
system: "System",
|
|
30
|
+
light: "Light",
|
|
31
|
+
dark: "Dark"
|
|
32
|
+
};
|
|
33
|
+
class OkThemePicker extends LitElement {
|
|
34
|
+
constructor() {
|
|
35
|
+
super(...arguments);
|
|
36
|
+
this.palette = "erplora";
|
|
37
|
+
this.mode = "system";
|
|
38
|
+
this.hideMode = false;
|
|
39
|
+
this.palettes = DEFAULT_PALETTES;
|
|
40
|
+
this.labels = {};
|
|
41
|
+
}
|
|
42
|
+
static {
|
|
43
|
+
this.styles = css`
|
|
44
|
+
:host {
|
|
45
|
+
display: block;
|
|
46
|
+
width: 100%;
|
|
47
|
+
--text: var(--ok-text, var(--ion-text-color, #1a1c20));
|
|
48
|
+
--muted: var(--ok-muted, rgba(var(--ion-text-color-rgb, 26, 28, 32), 0.6));
|
|
49
|
+
--surface: var(--ok-surface, var(--ion-card-background, #fff));
|
|
50
|
+
--border: var(--ok-border, var(--ion-border-color, rgba(26, 28, 32, 0.14)));
|
|
51
|
+
--primary: var(--ok-primary, var(--ion-color-primary, #1496d6));
|
|
52
|
+
--radius: var(--ok-radius, 14px);
|
|
53
|
+
font-family: var(--ok-font, var(--ion-font-family, system-ui, sans-serif));
|
|
54
|
+
color: var(--text);
|
|
55
|
+
}
|
|
56
|
+
.head {
|
|
57
|
+
font-size: 0.8rem;
|
|
58
|
+
font-weight: 600;
|
|
59
|
+
color: var(--muted);
|
|
60
|
+
text-transform: uppercase;
|
|
61
|
+
letter-spacing: 0.04em;
|
|
62
|
+
margin: 0 0 0.6rem;
|
|
63
|
+
}
|
|
64
|
+
.section + .section { margin-top: 1.1rem; }
|
|
65
|
+
|
|
66
|
+
.palettes {
|
|
67
|
+
display: flex;
|
|
68
|
+
flex-wrap: wrap;
|
|
69
|
+
gap: 0.75rem;
|
|
70
|
+
}
|
|
71
|
+
.swatch {
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-direction: column;
|
|
74
|
+
align-items: center;
|
|
75
|
+
gap: 0.35rem;
|
|
76
|
+
padding: 0.5rem 0.4rem 0.4rem;
|
|
77
|
+
min-width: 4.2rem;
|
|
78
|
+
background: transparent;
|
|
79
|
+
border: 1px solid transparent;
|
|
80
|
+
border-radius: var(--radius);
|
|
81
|
+
color: var(--muted);
|
|
82
|
+
font: inherit;
|
|
83
|
+
font-size: 0.75rem;
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
transition: border-color var(--ok-transition, 150ms ease), background-color var(--ok-transition, 150ms ease);
|
|
86
|
+
}
|
|
87
|
+
@media (hover: hover) {
|
|
88
|
+
.swatch:hover { background: color-mix(in oklab, var(--text) 5%, transparent); }
|
|
89
|
+
}
|
|
90
|
+
.swatch[aria-pressed='true'] {
|
|
91
|
+
border-color: var(--primary);
|
|
92
|
+
color: var(--text);
|
|
93
|
+
font-weight: 600;
|
|
94
|
+
}
|
|
95
|
+
.dot {
|
|
96
|
+
width: 1.9rem;
|
|
97
|
+
height: 1.9rem;
|
|
98
|
+
border-radius: 50%;
|
|
99
|
+
border: 1px solid var(--border);
|
|
100
|
+
box-shadow: inset 0 0 0 2px var(--surface);
|
|
101
|
+
}
|
|
102
|
+
.swatch[aria-pressed='true'] .dot {
|
|
103
|
+
outline: 2px solid var(--primary);
|
|
104
|
+
outline-offset: 2px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.modes {
|
|
108
|
+
display: inline-flex;
|
|
109
|
+
gap: 0;
|
|
110
|
+
border: 1px solid var(--border);
|
|
111
|
+
border-radius: var(--ok-radius-pill, 999px);
|
|
112
|
+
padding: 0.2rem;
|
|
113
|
+
background: color-mix(in oklab, var(--text) 4%, transparent);
|
|
114
|
+
}
|
|
115
|
+
.mode {
|
|
116
|
+
border: 0;
|
|
117
|
+
background: transparent;
|
|
118
|
+
color: var(--muted);
|
|
119
|
+
font: inherit;
|
|
120
|
+
font-size: 0.85rem;
|
|
121
|
+
padding: 0.35rem 0.9rem;
|
|
122
|
+
border-radius: var(--ok-radius-pill, 999px);
|
|
123
|
+
cursor: pointer;
|
|
124
|
+
transition: background-color var(--ok-transition, 150ms ease), color var(--ok-transition, 150ms ease);
|
|
125
|
+
}
|
|
126
|
+
.mode[aria-pressed='true'] {
|
|
127
|
+
background: var(--surface);
|
|
128
|
+
color: var(--text);
|
|
129
|
+
font-weight: 600;
|
|
130
|
+
box-shadow: var(--ok-shadow-xs, 0 1px 2px rgba(0, 0, 0, 0.08));
|
|
131
|
+
}
|
|
132
|
+
`;
|
|
133
|
+
}
|
|
134
|
+
get t() {
|
|
135
|
+
return { ...DEFAULT_LABELS, ...this.labels };
|
|
136
|
+
}
|
|
137
|
+
emitChange() {
|
|
138
|
+
this.dispatchEvent(
|
|
139
|
+
new CustomEvent("ok-change", {
|
|
140
|
+
detail: { palette: this.palette, mode: this.mode },
|
|
141
|
+
bubbles: true,
|
|
142
|
+
composed: true
|
|
143
|
+
})
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
pickPalette(id) {
|
|
147
|
+
if (id === this.palette) return;
|
|
148
|
+
this.palette = id;
|
|
149
|
+
this.emitChange();
|
|
150
|
+
}
|
|
151
|
+
pickMode(mode) {
|
|
152
|
+
if (mode === this.mode) return;
|
|
153
|
+
this.mode = mode;
|
|
154
|
+
this.emitChange();
|
|
155
|
+
}
|
|
156
|
+
render() {
|
|
157
|
+
const modes = ["system", "light", "dark"];
|
|
158
|
+
return html`
|
|
159
|
+
<div class="section">
|
|
160
|
+
<p class="head">${this.t.palette}</p>
|
|
161
|
+
<div class="palettes" role="group" aria-label=${this.t.palette}>
|
|
162
|
+
${this.palettes.map(
|
|
163
|
+
(p) => html`
|
|
164
|
+
<button
|
|
165
|
+
class="swatch"
|
|
166
|
+
type="button"
|
|
167
|
+
aria-label=${p.label}
|
|
168
|
+
aria-pressed=${this.palette === p.id ? "true" : "false"}
|
|
169
|
+
@click=${() => this.pickPalette(p.id)}
|
|
170
|
+
>
|
|
171
|
+
<span class="dot" style="background:${p.brand}"></span>
|
|
172
|
+
<span>${p.label}</span>
|
|
173
|
+
</button>
|
|
174
|
+
`
|
|
175
|
+
)}
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
${this.hideMode ? nothing : html`
|
|
179
|
+
<div class="section">
|
|
180
|
+
<p class="head">${this.t.mode}</p>
|
|
181
|
+
<div class="modes" role="group" aria-label=${this.t.mode}>
|
|
182
|
+
${modes.map(
|
|
183
|
+
(m) => html`
|
|
184
|
+
<button
|
|
185
|
+
class="mode"
|
|
186
|
+
type="button"
|
|
187
|
+
data-mode=${m}
|
|
188
|
+
aria-pressed=${this.mode === m ? "true" : "false"}
|
|
189
|
+
@click=${() => this.pickMode(m)}
|
|
190
|
+
>
|
|
191
|
+
${this.t[m]}
|
|
192
|
+
</button>
|
|
193
|
+
`
|
|
194
|
+
)}
|
|
195
|
+
</div>
|
|
196
|
+
</div>
|
|
197
|
+
`}
|
|
198
|
+
`;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
__decorateClass([
|
|
202
|
+
property()
|
|
203
|
+
], OkThemePicker.prototype, "palette");
|
|
204
|
+
__decorateClass([
|
|
205
|
+
property()
|
|
206
|
+
], OkThemePicker.prototype, "mode");
|
|
207
|
+
__decorateClass([
|
|
208
|
+
property({ type: Boolean, attribute: "hide-mode" })
|
|
209
|
+
], OkThemePicker.prototype, "hideMode");
|
|
210
|
+
__decorateClass([
|
|
211
|
+
property({ attribute: false })
|
|
212
|
+
], OkThemePicker.prototype, "palettes");
|
|
213
|
+
__decorateClass([
|
|
214
|
+
property({ attribute: false })
|
|
215
|
+
], OkThemePicker.prototype, "labels");
|
|
216
|
+
define("ok-theme-picker", OkThemePicker);
|
|
217
|
+
export {
|
|
218
|
+
DEFAULT_PALETTES,
|
|
219
|
+
OkThemePicker,
|
|
220
|
+
applyPalette
|
|
221
|
+
};
|
package/dist/ok-timeline.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { LitElement, css, html } from "lit";
|
|
2
2
|
import { property } from "lit/decorators.js";
|
|
3
3
|
import { define } from "./define.js";
|
|
4
|
+
import { o as okIcon } from "./shared/icons.js";
|
|
4
5
|
var __defProp = Object.defineProperty;
|
|
5
6
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
6
7
|
var result = void 0;
|
|
@@ -216,7 +217,7 @@ class OkTimeline extends LitElement {
|
|
|
216
217
|
return html`<li class=${classes}>
|
|
217
218
|
<span class="marker">
|
|
218
219
|
<span class="dot" style=${dotStyle}>
|
|
219
|
-
${item.icon ? html`<ion-icon .
|
|
220
|
+
${item.icon ? html`<ion-icon .icon=${okIcon(item.icon)}></ion-icon>` : ""}
|
|
220
221
|
</span>
|
|
221
222
|
</span>
|
|
222
223
|
<button
|
package/dist/ok-tree.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { LitElement, css, html } from "lit";
|
|
2
2
|
import { property, state } from "lit/decorators.js";
|
|
3
3
|
import { define } from "./define.js";
|
|
4
|
+
import { g as iconChevronForwardOutline, o as okIcon } from "./shared/icons.js";
|
|
4
5
|
var __defProp = Object.defineProperty;
|
|
5
6
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
6
7
|
var result = void 0;
|
|
@@ -225,9 +226,9 @@ class OkTree extends LitElement {
|
|
|
225
226
|
this.toggle(node);
|
|
226
227
|
}}
|
|
227
228
|
>
|
|
228
|
-
<ion-icon
|
|
229
|
+
<ion-icon .icon=${iconChevronForwardOutline}></ion-icon>
|
|
229
230
|
</button>
|
|
230
|
-
${node.icon ? html`<span class="icon"><ion-icon .
|
|
231
|
+
${node.icon ? html`<span class="icon"><ion-icon .icon=${okIcon(node.icon)}></ion-icon></span>` : ""}
|
|
231
232
|
<span class="label" @click=${() => this.select(node)}>${node.label}</span>
|
|
232
233
|
</div>
|
|
233
234
|
${expanded ? html`<ul role="group">
|
package/dist/ok-video.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { LitElement, css, html } from "lit";
|
|
2
2
|
import { property, state, query } from "lit/decorators.js";
|
|
3
3
|
import { define } from "./define.js";
|
|
4
|
+
import { H as iconExpandOutline, o as okIcon } from "./shared/icons.js";
|
|
4
5
|
var __defProp = Object.defineProperty;
|
|
5
6
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
6
7
|
var result = void 0;
|
|
@@ -272,7 +273,7 @@ class OkVideo extends LitElement {
|
|
|
272
273
|
@click=${this.togglePlay}
|
|
273
274
|
>
|
|
274
275
|
<span class="big">
|
|
275
|
-
<ion-icon
|
|
276
|
+
<ion-icon .icon=${okIcon(this.playing ? "pause" : "play")}></ion-icon>
|
|
276
277
|
</span>
|
|
277
278
|
</button>
|
|
278
279
|
|
|
@@ -283,7 +284,7 @@ class OkVideo extends LitElement {
|
|
|
283
284
|
aria-label=${this.playing ? this.t.pause : this.t.play}
|
|
284
285
|
@click=${this.togglePlay}
|
|
285
286
|
>
|
|
286
|
-
<ion-icon slot="icon-only"
|
|
287
|
+
<ion-icon slot="icon-only" .icon=${okIcon(this.playing ? "pause" : "play")}></ion-icon>
|
|
287
288
|
</ion-button>
|
|
288
289
|
|
|
289
290
|
<div class="progress" @click=${this.seek}>
|
|
@@ -300,7 +301,7 @@ class OkVideo extends LitElement {
|
|
|
300
301
|
aria-label=${this.muted ? this.t.unmute : this.t.mute}
|
|
301
302
|
@click=${this.toggleMute}
|
|
302
303
|
>
|
|
303
|
-
<ion-icon slot="icon-only"
|
|
304
|
+
<ion-icon slot="icon-only" .icon=${okIcon(volIcon)}></ion-icon>
|
|
304
305
|
</ion-button>
|
|
305
306
|
<input
|
|
306
307
|
type="range"
|
|
@@ -319,7 +320,7 @@ class OkVideo extends LitElement {
|
|
|
319
320
|
aria-label=${this.t.fullscreen}
|
|
320
321
|
@click=${this.toggleFullscreen}
|
|
321
322
|
>
|
|
322
|
-
<ion-icon slot="icon-only"
|
|
323
|
+
<ion-icon slot="icon-only" .icon=${iconExpandOutline}></ion-icon>
|
|
323
324
|
</ion-button>
|
|
324
325
|
</div>
|
|
325
326
|
</div>
|
package/dist/ok-widget-board.js
CHANGED
|
@@ -2,6 +2,7 @@ import { LitElement, css, nothing, html } from "lit";
|
|
|
2
2
|
import { property, state } from "lit/decorators.js";
|
|
3
3
|
import { repeat } from "lit/directives/repeat.js";
|
|
4
4
|
import { define } from "./define.js";
|
|
5
|
+
import { s as iconEllipsisVertical } from "./shared/icons.js";
|
|
5
6
|
var __defProp = Object.defineProperty;
|
|
6
7
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
7
8
|
var result = void 0;
|
|
@@ -97,7 +98,7 @@ class OkWidgetBoard extends LitElement {
|
|
|
97
98
|
<div class="bar">
|
|
98
99
|
<slot name="title"><span class="title"></span></slot>
|
|
99
100
|
${this.editable ? html`<ion-button fill="clear" size="small" aria-label=${this.t.customize} @click=${this.openConfig}>
|
|
100
|
-
<ion-icon slot="icon-only"
|
|
101
|
+
<ion-icon slot="icon-only" .icon=${iconEllipsisVertical}></ion-icon>
|
|
101
102
|
</ion-button>` : nothing}
|
|
102
103
|
</div>
|
|
103
104
|
<div class="grid">
|