reke-ui 0.2.0 → 0.3.0
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/custom-elements.json +725 -322
- package/dist/components/reke-combobox/reke-combobox.d.ts +70 -0
- package/dist/components/reke-combobox/reke-combobox.d.ts.map +1 -0
- package/dist/components/reke-combobox/reke-combobox.js +146 -0
- package/dist/components/reke-combobox/reke-combobox.styles.d.ts +2 -0
- package/dist/components/reke-combobox/reke-combobox.styles.d.ts.map +1 -0
- package/dist/components/reke-combobox/reke-combobox.styles.js +162 -0
- package/dist/components/reke-table/reke-table.d.ts +11 -0
- package/dist/components/reke-table/reke-table.d.ts.map +1 -1
- package/dist/components/reke-table/reke-table.js +83 -52
- package/dist/components/reke-table/reke-table.styles.d.ts.map +1 -1
- package/dist/components/reke-table/reke-table.styles.js +28 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -11
- package/dist/react.d.ts +9 -0
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +61 -52
- package/dist/shared/tailwind.js +1 -1
- package/package.json +5 -1
- package/dist/node_modules/lit/directives/ref.js +0 -1
- package/dist/node_modules/lit-html/async-directive.js +0 -55
- package/dist/node_modules/lit-html/directive-helpers.js +0 -5
- package/dist/node_modules/lit-html/directive.js +0 -28
- package/dist/node_modules/lit-html/directives/ref.js +0 -30
- package/dist/node_modules/lit-html/lit-html.js +0 -234
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { RekeElement as e } from "../../shared/base-element.js";
|
|
2
2
|
import { __decorate as t } from "../../_virtual/_@oxc-project_runtime@0.137.0/helpers/esm/decorate.js";
|
|
3
|
-
import { n } from "
|
|
4
|
-
import "
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { classMap as l } from "lit/directives/class-map.js";
|
|
3
|
+
import { styles as n } from "./reke-table.styles.js";
|
|
4
|
+
import { html as r, nothing as i } from "lit";
|
|
5
|
+
import { customElement as a, property as o, state as s } from "lit/decorators.js";
|
|
6
|
+
import { classMap as c } from "lit/directives/class-map.js";
|
|
7
|
+
import { ref as l } from "lit/directives/ref.js";
|
|
9
8
|
//#region src/components/reke-table/reke-table.ts
|
|
10
9
|
function u() {
|
|
11
10
|
try {
|
|
@@ -27,10 +26,10 @@ function u() {
|
|
|
27
26
|
}
|
|
28
27
|
var d = class extends e {
|
|
29
28
|
constructor(...e) {
|
|
30
|
-
super(...e), this.columns = [], this.rows = [], this.striped = !1, this.dense = !1, this.hoverable = !1, this.bordered = !1, this.borderless = !1, this.expandable = !1, this.expandOnRowClick = !1, this.sortKey = "", this.sortDirection = "asc", this.expandedRowElement = null, this.expandedRows = /* @__PURE__ */ new Set(), this._hostCache = /* @__PURE__ */ new Map(), this._cleanupMap = /* @__PURE__ */ new Map(), this._warnedDupKeys = /* @__PURE__ */ new Set(), this._warnedNumericTarget = !1, this._mountedKeys = /* @__PURE__ */ new Set(), this._keyToRow = /* @__PURE__ */ new Map(), this._refCallbacks = /* @__PURE__ */ new Map(), this._hasToolbar = !1, this._hasFooter = !1, this._warnedLegacyApi = !1;
|
|
29
|
+
super(...e), this.columns = [], this.rows = [], this.striped = !1, this.dense = !1, this.hoverable = !1, this.bordered = !1, this.borderless = !1, this.expandable = !1, this.expandOnRowClick = !1, this.sortKey = "", this.sortDirection = "asc", this.expandedRowElement = null, this.expandedRows = /* @__PURE__ */ new Set(), this._hostCache = /* @__PURE__ */ new Map(), this._cleanupMap = /* @__PURE__ */ new Map(), this._warnedDupKeys = /* @__PURE__ */ new Set(), this._warnedNumericTarget = !1, this._mountedKeys = /* @__PURE__ */ new Set(), this._collapsingKeys = /* @__PURE__ */ new Set(), this._enteringKeys = /* @__PURE__ */ new Set(), this._collapseEndHandlers = /* @__PURE__ */ new Map(), this._keyToRow = /* @__PURE__ */ new Map(), this._refCallbacks = /* @__PURE__ */ new Map(), this._hasToolbar = !1, this._hasFooter = !1, this._warnedLegacyApi = !1;
|
|
31
30
|
}
|
|
32
31
|
static {
|
|
33
|
-
this.styles =
|
|
32
|
+
this.styles = n;
|
|
34
33
|
}
|
|
35
34
|
_resolveKey(e, t) {
|
|
36
35
|
return this.getRowKey ? this.getRowKey(e, t) : String(t);
|
|
@@ -60,7 +59,13 @@ var d = class extends e {
|
|
|
60
59
|
let t, n, r, i = typeof e == "number" && e === Math.trunc(e) && e >= 0 && e < this.rows.length;
|
|
61
60
|
i && this.getRowKey && !this._warnedNumericTarget && u() && (this._warnedNumericTarget = !0, console.warn("[reke-table] toggleExpand received a numeric target while `getRowKey` is set; in-range numeric targets are interpreted as row INDICES, not keys. Pass the resolved key to target by identity.")), i ? (n = e, r = this.rows[n], t = this._resolveKey(r, n)) : (t = e, n = this.rows.findIndex((e, n) => this._resolveKey(e, n) === t), r = n >= 0 ? this.rows[n] : void 0);
|
|
62
61
|
let a = new Set(this.expandedRows), o = !a.has(t);
|
|
63
|
-
|
|
62
|
+
if (o) {
|
|
63
|
+
if (a.add(t), this._enteringKeys.add(t), this._collapsingKeys.delete(t)) {
|
|
64
|
+
let e = this._collapseEndHandlers.get(t);
|
|
65
|
+
e && (this._getOrCreateHost(t).parentElement?.parentElement?.removeEventListener("transitionend", e), this._collapseEndHandlers.delete(t));
|
|
66
|
+
}
|
|
67
|
+
} else this._collapsingKeys.add(t);
|
|
68
|
+
this.expandedRows = a, this.emit("reke-row-expand", {
|
|
64
69
|
row: r,
|
|
65
70
|
index: n,
|
|
66
71
|
key: t,
|
|
@@ -88,17 +93,24 @@ var d = class extends e {
|
|
|
88
93
|
if (!t) return;
|
|
89
94
|
let n = t, r = this._getOrCreateHost(e);
|
|
90
95
|
r.parentElement !== n && n.appendChild(r);
|
|
96
|
+
let i = n.parentElement;
|
|
97
|
+
if (i && !this._collapseEndHandlers.has(e)) {
|
|
98
|
+
let t = (n) => {
|
|
99
|
+
n.propertyName !== "grid-template-rows" || !this._collapsingKeys.has(e) || (this._collapsingKeys.delete(e), this._collapseEndHandlers.delete(e), i.removeEventListener("transitionend", t), this._safeCleanup(e), this._hostCache.delete(e), this._mountedKeys.delete(e), this._refCallbacks.delete(e), this.expandedRows.has(e) && (this.expandedRows = new Set([...this.expandedRows].filter((t) => t !== e))));
|
|
100
|
+
};
|
|
101
|
+
i.addEventListener("transitionend", t), this._collapseEndHandlers.set(e, t);
|
|
102
|
+
}
|
|
91
103
|
}, this._refCallbacks.set(e, t)), t;
|
|
92
104
|
}
|
|
93
|
-
_renderRow(e, t,
|
|
94
|
-
let
|
|
95
|
-
return
|
|
105
|
+
_renderRow(e, t, n) {
|
|
106
|
+
let a = this.expandedRows.has(n), o = `reke-table-expand-${String(n)}`, s = this.columns.length + +!!this.expandable;
|
|
107
|
+
return r`
|
|
96
108
|
<tr
|
|
97
109
|
part="row"
|
|
98
|
-
class="row ${t % 2 == 1 ? "row--even" : ""} ${
|
|
110
|
+
class="row ${t % 2 == 1 ? "row--even" : ""} ${a ? "row--expanded" : ""}"
|
|
99
111
|
@click=${() => this.handleRowClick(e, t)}
|
|
100
112
|
>
|
|
101
|
-
${this.expandable ?
|
|
113
|
+
${this.expandable ? r`
|
|
102
114
|
<td
|
|
103
115
|
part="expand-toggle-cell"
|
|
104
116
|
class="expand-toggle-cell"
|
|
@@ -106,18 +118,18 @@ var d = class extends e {
|
|
|
106
118
|
<button
|
|
107
119
|
type="button"
|
|
108
120
|
part="expand-toggle-button"
|
|
109
|
-
class="expand-toggle-button ${
|
|
110
|
-
aria-expanded=${
|
|
111
|
-
aria-controls=${
|
|
112
|
-
aria-label=${
|
|
113
|
-
@click=${(e) => this._handleChevronClick(e,
|
|
114
|
-
@keydown=${(e) => this._handleChevronKeydown(e,
|
|
121
|
+
class="expand-toggle-button ${a ? "expand-toggle-button--expanded" : ""}"
|
|
122
|
+
aria-expanded=${a ? "true" : "false"}
|
|
123
|
+
aria-controls=${o}
|
|
124
|
+
aria-label=${a ? "Collapse row" : "Expand row"}
|
|
125
|
+
@click=${(e) => this._handleChevronClick(e, n)}
|
|
126
|
+
@keydown=${(e) => this._handleChevronKeydown(e, n)}
|
|
115
127
|
>
|
|
116
128
|
<span class="expand-toggle-chevron" aria-hidden="true">▶</span>
|
|
117
129
|
</button>
|
|
118
130
|
</td>
|
|
119
|
-
` :
|
|
120
|
-
${this.columns.map((n) =>
|
|
131
|
+
` : i}
|
|
132
|
+
${this.columns.map((n) => r`
|
|
121
133
|
<td
|
|
122
134
|
part="cell"
|
|
123
135
|
class="cell"
|
|
@@ -127,17 +139,23 @@ var d = class extends e {
|
|
|
127
139
|
</td>
|
|
128
140
|
`)}
|
|
129
141
|
</tr>
|
|
130
|
-
${this.expandedRowElement &&
|
|
131
|
-
<tr
|
|
142
|
+
${this.expandedRowElement && this._keyToRow.get(n) === e ? r`
|
|
143
|
+
<tr
|
|
144
|
+
part="expand-row"
|
|
145
|
+
class="expand-row ${a && !this._enteringKeys.has(n) ? "" : "expand-row--collapsed"}"
|
|
146
|
+
>
|
|
132
147
|
<td
|
|
133
148
|
part="expand-content"
|
|
134
149
|
class="expand-content"
|
|
135
|
-
id=${
|
|
136
|
-
colspan=${
|
|
137
|
-
|
|
138
|
-
|
|
150
|
+
id=${o}
|
|
151
|
+
colspan=${s}
|
|
152
|
+
>
|
|
153
|
+
<div class="expand-grid">
|
|
154
|
+
<div class="expand-inner" ${l(this._expandTdRef(n))}></div>
|
|
155
|
+
</div>
|
|
156
|
+
</td>
|
|
139
157
|
</tr>
|
|
140
|
-
` :
|
|
158
|
+
` : i}
|
|
141
159
|
`;
|
|
142
160
|
}
|
|
143
161
|
willUpdate(e) {
|
|
@@ -159,7 +177,15 @@ var d = class extends e {
|
|
|
159
177
|
let t = /* @__PURE__ */ new Set([...this.expandedRows, ...this._hostCache.keys()]);
|
|
160
178
|
for (let e of t) {
|
|
161
179
|
let t = this._keyToRow.has(e), n = this.expandedRows.has(e);
|
|
162
|
-
t && n || (this._safeCleanup(e), this._hostCache.delete(e), this._mountedKeys.delete(e), this._refCallbacks.delete(e), t
|
|
180
|
+
t && n || this._collapsingKeys.has(e) || (this._safeCleanup(e), this._hostCache.delete(e), this._mountedKeys.delete(e), this._refCallbacks.delete(e), !t && !this._collapsingKeys.has(e) && this.expandedRows.delete(e));
|
|
181
|
+
}
|
|
182
|
+
if (this._collapsingKeys.size > 0) {
|
|
183
|
+
let e = [...this._collapsingKeys];
|
|
184
|
+
requestAnimationFrame(() => {
|
|
185
|
+
let t = new Set(this.expandedRows);
|
|
186
|
+
for (let n of e) t.delete(n);
|
|
187
|
+
this.expandedRows = t;
|
|
188
|
+
});
|
|
163
189
|
}
|
|
164
190
|
for (let e of this.expandedRows) {
|
|
165
191
|
if (this._mountedKeys.has(e)) continue;
|
|
@@ -168,6 +194,9 @@ var d = class extends e {
|
|
|
168
194
|
let n = this._getOrCreateHost(e), r = this.expandedRowElement(n, t, e);
|
|
169
195
|
typeof r == "function" && this._cleanupMap.set(e, r), this._mountedKeys.add(e);
|
|
170
196
|
}
|
|
197
|
+
this._enteringKeys.size > 0 && (this.offsetHeight, requestAnimationFrame(() => {
|
|
198
|
+
this._enteringKeys.clear(), this.requestUpdate();
|
|
199
|
+
}));
|
|
171
200
|
}
|
|
172
201
|
_safeCleanup(e) {
|
|
173
202
|
let t = this._cleanupMap.get(e);
|
|
@@ -179,6 +208,8 @@ var d = class extends e {
|
|
|
179
208
|
}
|
|
180
209
|
}
|
|
181
210
|
_runAllCleanupsAndClear() {
|
|
211
|
+
for (let [e, t] of this._collapseEndHandlers) (this._hostCache.get(e)?.parentElement?.parentElement)?.removeEventListener("transitionend", t);
|
|
212
|
+
this._collapsingKeys.clear(), this._collapseEndHandlers.clear();
|
|
182
213
|
for (let e of this._cleanupMap.values()) try {
|
|
183
214
|
e();
|
|
184
215
|
} catch {}
|
|
@@ -195,26 +226,26 @@ var d = class extends e {
|
|
|
195
226
|
"table--hoverable": this.hoverable,
|
|
196
227
|
"table--bordered": this.bordered
|
|
197
228
|
};
|
|
198
|
-
return
|
|
229
|
+
return r`
|
|
199
230
|
<div class="table-container">
|
|
200
|
-
${this._hasToolbar ?
|
|
231
|
+
${this._hasToolbar ? r`
|
|
201
232
|
<div part="toolbar" class="table-toolbar">
|
|
202
233
|
<slot name="toolbar" @slotchange=${this._onToolbarSlotChange}></slot>
|
|
203
234
|
</div>
|
|
204
|
-
` :
|
|
235
|
+
` : r`<slot name="toolbar" @slotchange=${this._onToolbarSlotChange} style="display:none"></slot>`}
|
|
205
236
|
|
|
206
237
|
<div class="table-wrapper">
|
|
207
|
-
<table part="table" class=${
|
|
238
|
+
<table part="table" class=${c(e)} role="table">
|
|
208
239
|
<thead part="header">
|
|
209
240
|
<tr>
|
|
210
|
-
${this.expandable ?
|
|
241
|
+
${this.expandable ? r`
|
|
211
242
|
<th
|
|
212
243
|
part="expand-toggle-header-cell"
|
|
213
244
|
class="expand-toggle-header-cell"
|
|
214
245
|
aria-hidden="true"
|
|
215
246
|
></th>
|
|
216
|
-
` :
|
|
217
|
-
${this.columns.map((e) =>
|
|
247
|
+
` : i}
|
|
248
|
+
${this.columns.map((e) => r`
|
|
218
249
|
<th
|
|
219
250
|
part="header-cell"
|
|
220
251
|
class="header-cell ${this.sortKey === e.key ? "header-cell--sorted" : ""} ${e.sortable === !1 ? "header-cell--no-sort" : ""}"
|
|
@@ -224,7 +255,7 @@ var d = class extends e {
|
|
|
224
255
|
>
|
|
225
256
|
<span class="header-content">
|
|
226
257
|
${e.header}
|
|
227
|
-
${this.sortKey === e.key ?
|
|
258
|
+
${this.sortKey === e.key ? r`<span class="sort-indicator" aria-hidden="true">${this.sortDirection === "asc" ? "↑" : "↓"}</span>` : i}
|
|
228
259
|
</span>
|
|
229
260
|
</th>
|
|
230
261
|
`)}
|
|
@@ -235,7 +266,7 @@ var d = class extends e {
|
|
|
235
266
|
let n = this._resolveKey(e, t);
|
|
236
267
|
return this._renderRow(e, t, n);
|
|
237
268
|
})}
|
|
238
|
-
${this.rows.length === 0 ?
|
|
269
|
+
${this.rows.length === 0 ? r`
|
|
239
270
|
<tr class="row row--empty">
|
|
240
271
|
<td
|
|
241
272
|
class="cell cell--empty"
|
|
@@ -244,48 +275,48 @@ var d = class extends e {
|
|
|
244
275
|
<slot name="empty">No data</slot>
|
|
245
276
|
</td>
|
|
246
277
|
</tr>
|
|
247
|
-
` :
|
|
278
|
+
` : i}
|
|
248
279
|
</tbody>
|
|
249
280
|
</table>
|
|
250
281
|
</div>
|
|
251
282
|
|
|
252
|
-
${this._hasFooter ?
|
|
283
|
+
${this._hasFooter ? r`
|
|
253
284
|
<div part="footer" class="table-footer">
|
|
254
285
|
<slot name="footer" @slotchange=${this._onFooterSlotChange}></slot>
|
|
255
286
|
</div>
|
|
256
|
-
` :
|
|
287
|
+
` : r`<slot name="footer" @slotchange=${this._onFooterSlotChange} style="display:none"></slot>`}
|
|
257
288
|
</div>
|
|
258
289
|
`;
|
|
259
290
|
}
|
|
260
291
|
};
|
|
261
|
-
t([
|
|
292
|
+
t([o({ attribute: !1 })], d.prototype, "columns", void 0), t([o({ attribute: !1 })], d.prototype, "rows", void 0), t([o({
|
|
262
293
|
type: Boolean,
|
|
263
294
|
reflect: !0
|
|
264
|
-
})], d.prototype, "striped", void 0), t([
|
|
295
|
+
})], d.prototype, "striped", void 0), t([o({
|
|
265
296
|
type: Boolean,
|
|
266
297
|
reflect: !0
|
|
267
|
-
})], d.prototype, "dense", void 0), t([
|
|
298
|
+
})], d.prototype, "dense", void 0), t([o({
|
|
268
299
|
type: Boolean,
|
|
269
300
|
reflect: !0
|
|
270
|
-
})], d.prototype, "hoverable", void 0), t([
|
|
301
|
+
})], d.prototype, "hoverable", void 0), t([o({
|
|
271
302
|
type: Boolean,
|
|
272
303
|
reflect: !0
|
|
273
|
-
})], d.prototype, "bordered", void 0), t([
|
|
304
|
+
})], d.prototype, "bordered", void 0), t([o({
|
|
274
305
|
type: Boolean,
|
|
275
306
|
reflect: !0
|
|
276
|
-
})], d.prototype, "borderless", void 0), t([
|
|
307
|
+
})], d.prototype, "borderless", void 0), t([o({
|
|
277
308
|
type: Boolean,
|
|
278
309
|
reflect: !0
|
|
279
|
-
})], d.prototype, "expandable", void 0), t([
|
|
310
|
+
})], d.prototype, "expandable", void 0), t([o({
|
|
280
311
|
type: Boolean,
|
|
281
312
|
reflect: !0,
|
|
282
313
|
attribute: "expand-on-row-click"
|
|
283
|
-
})], d.prototype, "expandOnRowClick", void 0), t([
|
|
314
|
+
})], d.prototype, "expandOnRowClick", void 0), t([o({
|
|
284
315
|
reflect: !0,
|
|
285
316
|
attribute: "sort-key"
|
|
286
|
-
})], d.prototype, "sortKey", void 0), t([
|
|
317
|
+
})], d.prototype, "sortKey", void 0), t([o({
|
|
287
318
|
reflect: !0,
|
|
288
319
|
attribute: "sort-direction"
|
|
289
|
-
})], d.prototype, "sortDirection", void 0), t([
|
|
320
|
+
})], d.prototype, "sortDirection", void 0), t([o({ attribute: !1 })], d.prototype, "expandedRowElement", void 0), t([o({ attribute: !1 })], d.prototype, "getRowKey", void 0), t([o({ attribute: !1 })], d.prototype, "expandedRows", void 0), t([s()], d.prototype, "_hasToolbar", void 0), t([s()], d.prototype, "_hasFooter", void 0), d = t([a("reke-table")], d);
|
|
290
321
|
//#endregion
|
|
291
322
|
export { d as RekeTable };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reke-table.styles.d.ts","sourceRoot":"","sources":["../../../src/components/reke-table/reke-table.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"reke-table.styles.d.ts","sourceRoot":"","sources":["../../../src/components/reke-table/reke-table.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,2BAkSlB,CAAC"}
|
|
@@ -207,6 +207,10 @@ var n = [e, t`
|
|
|
207
207
|
|
|
208
208
|
/* === Expanded row === */
|
|
209
209
|
|
|
210
|
+
/* NOTE: the tr/td keep native table display so colspan spans the full
|
|
211
|
+
table width. The collapse animation lives on .expand-inner only —
|
|
212
|
+
putting display:grid on the tr breaks colspan and shrinks the cell to
|
|
213
|
+
content width. */
|
|
210
214
|
.expand-row {
|
|
211
215
|
background: var(--reke-color-surface, #1A1A1A);
|
|
212
216
|
border-bottom: 1px solid var(--reke-color-border, #252525);
|
|
@@ -220,6 +224,30 @@ var n = [e, t`
|
|
|
220
224
|
padding: 0 16px 16px 16px;
|
|
221
225
|
}
|
|
222
226
|
|
|
227
|
+
.expand-row--collapsed .expand-content {
|
|
228
|
+
padding-top: 0;
|
|
229
|
+
padding-bottom: 0;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/* Grid-rows reveal. The animated track lives on .expand-grid; the SINGLE
|
|
233
|
+
real grid item (.expand-inner) carries overflow:hidden + min-height:0 so
|
|
234
|
+
0fr actually clips it to zero. The content host uses display:contents, so
|
|
235
|
+
it must NOT be the grid item — .expand-inner is. */
|
|
236
|
+
.expand-grid {
|
|
237
|
+
display: grid;
|
|
238
|
+
grid-template-rows: 1fr;
|
|
239
|
+
transition: grid-template-rows 200ms ease;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.expand-row--collapsed .expand-grid {
|
|
243
|
+
grid-template-rows: 0fr;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.expand-inner {
|
|
247
|
+
overflow: hidden;
|
|
248
|
+
min-height: 0;
|
|
249
|
+
}
|
|
250
|
+
|
|
223
251
|
/* === Modifiers === */
|
|
224
252
|
|
|
225
253
|
.table--striped .row--even {
|
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export { RekeCard } from './components/reke-card/reke-card.js';
|
|
|
9
9
|
export { RekeCheckbox } from './components/reke-checkbox/reke-checkbox.js';
|
|
10
10
|
export type { ChipColor } from './components/reke-chip/reke-chip.js';
|
|
11
11
|
export { RekeChip } from './components/reke-chip/reke-chip.js';
|
|
12
|
+
export type { ComboboxOption, ComboboxSize } from './components/reke-combobox/reke-combobox.js';
|
|
13
|
+
export { RekeCombobox } from './components/reke-combobox/reke-combobox.js';
|
|
12
14
|
export type { DatePickerMode } from './components/reke-date-range/reke-date-range.js';
|
|
13
15
|
export { RekeDateRange } from './components/reke-date-range/reke-date-range.js';
|
|
14
16
|
export type { DialogVariant, DrawerPosition } from './components/reke-dialog/reke-dialog.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACjG,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACzF,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAChG,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,YAAY,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,YAAY,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAChF,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AACnF,YAAY,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EA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AE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -5,14 +5,15 @@ import { RekeButton as r } from "./components/reke-button/reke-button.js";
|
|
|
5
5
|
import { RekeCard as i } from "./components/reke-card/reke-card.js";
|
|
6
6
|
import { RekeCheckbox as a } from "./components/reke-checkbox/reke-checkbox.js";
|
|
7
7
|
import { RekeChip as o } from "./components/reke-chip/reke-chip.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
|
|
8
|
+
import { RekeCombobox as s } from "./components/reke-combobox/reke-combobox.js";
|
|
9
|
+
import { RekeDateRange as c } from "./components/reke-date-range/reke-date-range.js";
|
|
10
|
+
import { RekeDialog as l } from "./components/reke-dialog/reke-dialog.js";
|
|
11
|
+
import { RekeFileUpload as u } from "./components/reke-file-upload/reke-file-upload.js";
|
|
12
|
+
import { RekeInput as d } from "./components/reke-input/reke-input.js";
|
|
13
|
+
import { RekeSelect as f } from "./components/reke-select/reke-select.js";
|
|
14
|
+
import { RekeTable as p } from "./components/reke-table/reke-table.js";
|
|
15
|
+
import { RekeTextarea as m } from "./components/reke-textarea/reke-textarea.js";
|
|
16
|
+
import { RekeToast as h } from "./components/reke-toast/reke-toast.js";
|
|
17
|
+
import { RekeToggle as g } from "./components/reke-toggle/reke-toggle.js";
|
|
18
|
+
import { RekeTooltip as _ } from "./components/reke-tooltip/reke-tooltip.js";
|
|
19
|
+
export { t as RekeAlert, n as RekeBadge, r as RekeButton, i as RekeCard, a as RekeCheckbox, o as RekeChip, s as RekeCombobox, c as RekeDateRange, l as RekeDialog, e as RekeElement, u as RekeFileUpload, d as RekeInput, f as RekeSelect, p as RekeTable, m as RekeTextarea, h as RekeToast, g as RekeToggle, _ as RekeTooltip };
|
package/dist/react.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { RekeButton } from './components/reke-button/reke-button.js';
|
|
|
5
5
|
import { RekeCard } from './components/reke-card/reke-card.js';
|
|
6
6
|
import { RekeCheckbox } from './components/reke-checkbox/reke-checkbox.js';
|
|
7
7
|
import { RekeChip } from './components/reke-chip/reke-chip.js';
|
|
8
|
+
import { RekeCombobox } from './components/reke-combobox/reke-combobox.js';
|
|
8
9
|
import { RekeDateRange } from './components/reke-date-range/reke-date-range.js';
|
|
9
10
|
import { RekeDialog } from './components/reke-dialog/reke-dialog.js';
|
|
10
11
|
import { RekeFileUpload } from './components/reke-file-upload/reke-file-upload.js';
|
|
@@ -54,6 +55,14 @@ export declare const Select: import("@lit/react").ReactWebComponent<RekeSelect,
|
|
|
54
55
|
value: string;
|
|
55
56
|
}>>;
|
|
56
57
|
}>;
|
|
58
|
+
export declare const Combobox: import("@lit/react").ReactWebComponent<RekeCombobox, {
|
|
59
|
+
onRekeChange: EventName<CustomEvent<{
|
|
60
|
+
value: string;
|
|
61
|
+
}>>;
|
|
62
|
+
onRekeSearch: EventName<CustomEvent<{
|
|
63
|
+
query: string;
|
|
64
|
+
}>>;
|
|
65
|
+
}>;
|
|
57
66
|
export type { ReactExpandedRowRenderer, ReactTableColumn, TableColumn, TableProps, TableRow, } from './react-bridge/table.js';
|
|
58
67
|
export { Table } from './react-bridge/table.js';
|
|
59
68
|
export declare const DateRange: import("@lit/react").ReactWebComponent<RekeDateRange, {
|
package/dist/react.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../src/react.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE7D,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,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C,CAAC;kBACpD,SAAS,CACtC,WAAW,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,CAC1D;EAEH,CAAC;AAEH,eAAO,MAAM,UAAU;sBAKqB,SAAS,CAAC,WAAW,CAAC;QAAE,IAAI,EAAE,IAAI,CAAA;KAAE,CAAC,CAAC;qBACxC,SAAS,CAAC,WAAW,CAAC;EAE9D,CAAC;AAEH,eAAO,MAAM,KAAK;iBAKe,SAAS,CAAC,WAAW,CAAC;EAErD,CAAC;AAEH,eAAO,MAAM,KAAK;iBAKe,SAAS,CAAC,WAAW,CAAC;kBACpB,SAAS,CAAC,WAAW,CAAC;EAEvD,CAAC;AAEH,eAAO,MAAM,IAAI;iBAKgB,SAAS,CAAC,WAAW,CAAC;mBAClB,SAAS,CAAC,WAAW,CAAC;EAEzD,CAAC"}
|
package/dist/react.js
CHANGED
|
@@ -4,109 +4,118 @@ import { RekeButton as n } from "./components/reke-button/reke-button.js";
|
|
|
4
4
|
import { RekeCard as r } from "./components/reke-card/reke-card.js";
|
|
5
5
|
import { RekeCheckbox as i } from "./components/reke-checkbox/reke-checkbox.js";
|
|
6
6
|
import { RekeChip as a } from "./components/reke-chip/reke-chip.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import _ from "react";
|
|
7
|
+
import { RekeCombobox as o } from "./components/reke-combobox/reke-combobox.js";
|
|
8
|
+
import { RekeDateRange as s } from "./components/reke-date-range/reke-date-range.js";
|
|
9
|
+
import { RekeDialog as c } from "./components/reke-dialog/reke-dialog.js";
|
|
10
|
+
import { RekeFileUpload as l } from "./components/reke-file-upload/reke-file-upload.js";
|
|
11
|
+
import { RekeInput as u } from "./components/reke-input/reke-input.js";
|
|
12
|
+
import { RekeSelect as d } from "./components/reke-select/reke-select.js";
|
|
13
|
+
import { RekeTextarea as f } from "./components/reke-textarea/reke-textarea.js";
|
|
14
|
+
import { RekeToast as p } from "./components/reke-toast/reke-toast.js";
|
|
15
|
+
import { RekeToggle as m } from "./components/reke-toggle/reke-toggle.js";
|
|
16
|
+
import { RekeTooltip as h } from "./components/reke-tooltip/reke-tooltip.js";
|
|
17
|
+
import { Table as g } from "./react-bridge/table.js";
|
|
18
|
+
import { createComponent as _ } from "@lit/react";
|
|
19
|
+
import v from "react";
|
|
19
20
|
//#region src/react.ts
|
|
20
|
-
var
|
|
21
|
+
var y = _({
|
|
21
22
|
tagName: "reke-button",
|
|
22
23
|
elementClass: n,
|
|
23
|
-
react:
|
|
24
|
+
react: v,
|
|
24
25
|
events: { onRekeClick: "reke-click" }
|
|
25
|
-
}),
|
|
26
|
+
}), b = _({
|
|
26
27
|
tagName: "reke-input",
|
|
27
|
-
elementClass:
|
|
28
|
-
react:
|
|
28
|
+
elementClass: u,
|
|
29
|
+
react: v,
|
|
29
30
|
events: {
|
|
30
31
|
onRekeInput: "reke-input",
|
|
31
32
|
onRekeChange: "reke-change"
|
|
32
33
|
}
|
|
33
|
-
}),
|
|
34
|
+
}), x = _({
|
|
34
35
|
tagName: "reke-textarea",
|
|
35
|
-
elementClass:
|
|
36
|
-
react:
|
|
36
|
+
elementClass: f,
|
|
37
|
+
react: v,
|
|
37
38
|
events: {
|
|
38
39
|
onRekeInput: "reke-input",
|
|
39
40
|
onRekeChange: "reke-change"
|
|
40
41
|
}
|
|
41
|
-
}),
|
|
42
|
+
}), S = _({
|
|
42
43
|
tagName: "reke-checkbox",
|
|
43
44
|
elementClass: i,
|
|
44
|
-
react:
|
|
45
|
+
react: v,
|
|
45
46
|
events: { onRekeChange: "reke-change" }
|
|
46
|
-
}),
|
|
47
|
+
}), C = _({
|
|
47
48
|
tagName: "reke-toggle",
|
|
48
|
-
elementClass:
|
|
49
|
-
react:
|
|
49
|
+
elementClass: m,
|
|
50
|
+
react: v,
|
|
50
51
|
events: { onRekeChange: "reke-change" }
|
|
51
|
-
}),
|
|
52
|
+
}), w = _({
|
|
52
53
|
tagName: "reke-badge",
|
|
53
54
|
elementClass: t,
|
|
54
|
-
react:
|
|
55
|
-
}),
|
|
55
|
+
react: v
|
|
56
|
+
}), T = _({
|
|
56
57
|
tagName: "reke-card",
|
|
57
58
|
elementClass: r,
|
|
58
|
-
react:
|
|
59
|
-
}),
|
|
59
|
+
react: v
|
|
60
|
+
}), E = _({
|
|
60
61
|
tagName: "reke-tooltip",
|
|
61
|
-
elementClass:
|
|
62
|
-
react:
|
|
63
|
-
}),
|
|
62
|
+
elementClass: h,
|
|
63
|
+
react: v
|
|
64
|
+
}), D = _({
|
|
64
65
|
tagName: "reke-dialog",
|
|
65
|
-
elementClass:
|
|
66
|
-
react:
|
|
66
|
+
elementClass: c,
|
|
67
|
+
react: v,
|
|
67
68
|
events: { onRekeClose: "reke-close" }
|
|
68
|
-
}),
|
|
69
|
+
}), O = _({
|
|
69
70
|
tagName: "reke-select",
|
|
70
|
-
elementClass:
|
|
71
|
-
react:
|
|
71
|
+
elementClass: d,
|
|
72
|
+
react: v,
|
|
72
73
|
events: { onRekeChange: "reke-change" }
|
|
73
|
-
}),
|
|
74
|
-
tagName: "reke-
|
|
74
|
+
}), k = _({
|
|
75
|
+
tagName: "reke-combobox",
|
|
75
76
|
elementClass: o,
|
|
76
|
-
react:
|
|
77
|
+
react: v,
|
|
78
|
+
events: {
|
|
79
|
+
onRekeChange: "reke-change",
|
|
80
|
+
onRekeSearch: "reke-search"
|
|
81
|
+
}
|
|
82
|
+
}), A = _({
|
|
83
|
+
tagName: "reke-date-range",
|
|
84
|
+
elementClass: s,
|
|
85
|
+
react: v,
|
|
77
86
|
events: {
|
|
78
87
|
onRekeChange: "reke-change",
|
|
79
88
|
onRekePreset: "reke-preset"
|
|
80
89
|
}
|
|
81
|
-
}),
|
|
90
|
+
}), j = _({
|
|
82
91
|
tagName: "reke-file-upload",
|
|
83
|
-
elementClass:
|
|
84
|
-
react:
|
|
92
|
+
elementClass: l,
|
|
93
|
+
react: v,
|
|
85
94
|
events: {
|
|
86
95
|
onRekeFileSelect: "reke-file-select",
|
|
87
96
|
onRekeFileClear: "reke-file-clear"
|
|
88
97
|
}
|
|
89
|
-
}),
|
|
98
|
+
}), M = _({
|
|
90
99
|
tagName: "reke-alert",
|
|
91
100
|
elementClass: e,
|
|
92
|
-
react:
|
|
101
|
+
react: v,
|
|
93
102
|
events: { onRekeClose: "reke-close" }
|
|
94
|
-
}),
|
|
103
|
+
}), N = _({
|
|
95
104
|
tagName: "reke-toast",
|
|
96
|
-
elementClass:
|
|
97
|
-
react:
|
|
105
|
+
elementClass: p,
|
|
106
|
+
react: v,
|
|
98
107
|
events: {
|
|
99
108
|
onRekeClose: "reke-close",
|
|
100
109
|
onRekeAction: "reke-action"
|
|
101
110
|
}
|
|
102
|
-
}),
|
|
111
|
+
}), P = _({
|
|
103
112
|
tagName: "reke-chip",
|
|
104
113
|
elementClass: a,
|
|
105
|
-
react:
|
|
114
|
+
react: v,
|
|
106
115
|
events: {
|
|
107
116
|
onRekeClick: "reke-click",
|
|
108
117
|
onRekeDismiss: "reke-dismiss"
|
|
109
118
|
}
|
|
110
119
|
});
|
|
111
120
|
//#endregion
|
|
112
|
-
export {
|
|
121
|
+
export { M as Alert, w as Badge, y as Button, T as Card, S as Checkbox, P as Chip, k as Combobox, A as DateRange, D as Dialog, j as FileUpload, b as Input, O as Select, g as Table, x as Textarea, N as Toast, C as Toggle, E as Tooltip };
|