@xmesh/system-design 0.0.2 → 0.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/lit/components/alert/index.d.ts +1 -1
- package/dist/lit/components/alert/index.js +1 -0
- package/dist/lit/components/app-bar/index.d.ts +1 -1
- package/dist/lit/components/app-bar/index.js +1 -0
- package/dist/lit/components/artifact/index.d.ts +1 -1
- package/dist/lit/components/artifact/index.js +16 -2
- package/dist/lit/components/avatar/index.d.ts +1 -1
- package/dist/lit/components/avatar/index.js +1 -0
- package/dist/lit/components/avatar-group/index.d.ts +1 -1
- package/dist/lit/components/avatar-group/index.js +1 -0
- package/dist/lit/components/badge/index.d.ts +1 -2
- package/dist/lit/components/badge/index.js +1 -0
- package/dist/lit/components/brand-mark/index.d.ts +2 -2
- package/dist/lit/components/brand-mark/index.js +14 -0
- package/dist/lit/components/breadcrumbs/index.d.ts +1 -1
- package/dist/lit/components/breadcrumbs/index.js +1 -0
- package/dist/lit/components/bubble/index.d.ts +4 -4
- package/dist/lit/components/bubble/index.js +18 -0
- package/dist/lit/components/button/index.d.ts +1 -1
- package/dist/lit/components/button/index.js +1 -0
- package/dist/lit/components/card/index.d.ts +1 -1
- package/dist/lit/components/card/index.js +1 -0
- package/dist/lit/components/chat/index.d.ts +1 -2
- package/dist/lit/components/chat/index.js +16 -2
- package/dist/lit/components/checkbox/index.d.ts +1 -2
- package/dist/lit/components/checkbox/index.js +1 -0
- package/dist/lit/components/chip/index.d.ts +1 -1
- package/dist/lit/components/chip/index.js +1 -0
- package/dist/lit/components/chip-group/index.d.ts +1 -1
- package/dist/lit/components/chip-group/index.js +1 -0
- package/dist/lit/components/code/index.d.ts +1 -2
- package/dist/lit/components/code/index.js +1 -0
- package/dist/lit/components/composer/index.d.ts +1 -2
- package/dist/lit/components/composer/index.js +14 -0
- package/dist/lit/components/date-range/index.css +324 -0
- package/dist/lit/components/date-range/index.d.ts +57 -0
- package/dist/lit/components/date-range/index.js +702 -0
- package/dist/lit/components/divider/index.d.ts +1 -1
- package/dist/lit/components/divider/index.js +1 -0
- package/dist/lit/components/expansion-panel/index.d.ts +1 -2
- package/dist/lit/components/expansion-panel/index.js +1 -0
- package/dist/lit/components/grid/index.d.ts +1 -1
- package/dist/lit/components/grid/index.js +1 -0
- package/dist/lit/components/kbd/index.d.ts +1 -2
- package/dist/lit/components/kbd/index.js +1 -0
- package/dist/lit/components/list/index.d.ts +1 -1
- package/dist/lit/components/list/index.js +1 -0
- package/dist/lit/components/list-item/index.d.ts +1 -2
- package/dist/lit/components/list-item/index.js +1 -0
- package/dist/lit/components/navigation-drawer/index.d.ts +1 -2
- package/dist/lit/components/navigation-drawer/index.js +1 -0
- package/dist/lit/components/pagination/index.d.ts +1 -1
- package/dist/lit/components/pagination/index.js +1 -0
- package/dist/lit/components/popover/index.css +34 -0
- package/dist/lit/components/popover/index.d.ts +29 -0
- package/dist/lit/components/popover/index.js +204 -0
- package/dist/lit/components/primitives/index.d.ts +2 -2
- package/dist/lit/components/primitives/index.js +14 -0
- package/dist/lit/components/sidebar-item/index.d.ts +1 -1
- package/dist/lit/components/sidebar-item/index.js +13 -0
- package/dist/lit/components/snackbar/index.d.ts +1 -2
- package/dist/lit/components/snackbar/index.js +16 -2
- package/dist/lit/components/stack/index.d.ts +1 -1
- package/dist/lit/components/stack/index.js +1 -0
- package/dist/lit/components/table/index.d.ts +1 -2
- package/dist/lit/components/table/index.js +5 -9
- package/dist/lit/components/tabs/index.d.ts +3 -3
- package/dist/lit/components/tabs/index.js +3 -0
- package/dist/lit/components/validation/index.d.ts +1 -2
- package/dist/lit/components/validation/index.js +16 -1
- package/dist/lit/index.d.ts +2 -0
- package/dist/lit/index.js +2 -0
- package/package.json +1 -1
|
@@ -85,6 +85,7 @@ __decorate([
|
|
|
85
85
|
XmTab = __decorate([
|
|
86
86
|
customElement("xm-tab")
|
|
87
87
|
], XmTab);
|
|
88
|
+
export { XmTab };
|
|
88
89
|
/* ─────────────────────────────────────────────────────────────
|
|
89
90
|
<xm-tab-panel> — one panel. Light DOM: the host is role="tabpanel".
|
|
90
91
|
─────────────────────────────────────────────────────────────*/
|
|
@@ -111,6 +112,7 @@ __decorate([
|
|
|
111
112
|
XmTabPanel = __decorate([
|
|
112
113
|
customElement("xm-tab-panel")
|
|
113
114
|
], XmTabPanel);
|
|
115
|
+
export { XmTabPanel };
|
|
114
116
|
/* ─────────────────────────────────────────────────────────────
|
|
115
117
|
<xm-tabs> — the tablist container.
|
|
116
118
|
─────────────────────────────────────────────────────────────*/
|
|
@@ -318,3 +320,4 @@ __decorate([
|
|
|
318
320
|
XmTabs = __decorate([
|
|
319
321
|
customElement("xm-tabs")
|
|
320
322
|
], XmTabs);
|
|
323
|
+
export { XmTabs };
|
|
@@ -19,7 +19,7 @@ export interface ValidationPreset extends ValidationError {
|
|
|
19
19
|
}
|
|
20
20
|
export declare const VALIDATION_TITLE: Record<ValidationCode, string>;
|
|
21
21
|
export declare const VALIDATION_PRESETS: Record<ValidationCode, ValidationPreset>;
|
|
22
|
-
declare class XmFileValidationBlock extends LitElement {
|
|
22
|
+
export declare class XmFileValidationBlock extends LitElement {
|
|
23
23
|
state: ValidationState;
|
|
24
24
|
file: ValidationFile | null;
|
|
25
25
|
error: ValidationError | null;
|
|
@@ -42,4 +42,3 @@ declare global {
|
|
|
42
42
|
"xm-file-validation-block": XmFileValidationBlock;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
export {};
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
error-dismiss
|
|
21
21
|
copy-path — detail: { path }
|
|
22
22
|
|
|
23
|
-
Light DOM.
|
|
23
|
+
Light DOM. This module appends its stylesheets (validation + primitives) to
|
|
24
|
+
document.head on import.
|
|
24
25
|
|
|
25
26
|
VALIDATION_PRESETS and VALIDATION_TITLE are also exported for reuse.
|
|
26
27
|
*/
|
|
@@ -32,6 +33,19 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
32
33
|
};
|
|
33
34
|
import { LitElement, html, svg, nothing } from "lit";
|
|
34
35
|
import { customElement, property, state } from "lit/decorators.js";
|
|
36
|
+
if (typeof document !== "undefined") {
|
|
37
|
+
for (const href of [
|
|
38
|
+
new URL("../validation/index.css", import.meta.url).href,
|
|
39
|
+
new URL("../primitives/index.css", import.meta.url).href,
|
|
40
|
+
]) {
|
|
41
|
+
if (document.querySelector(`link[rel="stylesheet"][href="${href}"]`))
|
|
42
|
+
continue;
|
|
43
|
+
const link = document.createElement("link");
|
|
44
|
+
link.rel = "stylesheet";
|
|
45
|
+
link.href = href;
|
|
46
|
+
document.head.appendChild(link);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
35
49
|
export const VALIDATION_TITLE = {
|
|
36
50
|
size: "File too large",
|
|
37
51
|
ext: "Wrong file type",
|
|
@@ -316,3 +330,4 @@ __decorate([
|
|
|
316
330
|
XmFileValidationBlock = __decorate([
|
|
317
331
|
customElement("xm-file-validation-block")
|
|
318
332
|
], XmFileValidationBlock);
|
|
333
|
+
export { XmFileValidationBlock };
|
package/dist/lit/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from "./components/chip-group/index.js";
|
|
|
18
18
|
export * from "./components/code/index.js";
|
|
19
19
|
export * from "./components/composer/index.js";
|
|
20
20
|
export * from "./components/data-table/index.js";
|
|
21
|
+
export * from "./components/date-range/index.js";
|
|
21
22
|
export * from "./components/dialog/index.js";
|
|
22
23
|
export * from "./components/divider/index.js";
|
|
23
24
|
export * from "./components/empty-state/index.js";
|
|
@@ -33,6 +34,7 @@ export * from "./components/menu/index.js";
|
|
|
33
34
|
export * from "./components/navigation-drawer/index.js";
|
|
34
35
|
export * from "./components/overlay/index.js";
|
|
35
36
|
export * from "./components/pagination/index.js";
|
|
37
|
+
export * from "./components/popover/index.js";
|
|
36
38
|
export * from "./components/progress/index.js";
|
|
37
39
|
export * from "./components/radio-group/index.js";
|
|
38
40
|
export * from "./components/select/index.js";
|
package/dist/lit/index.js
CHANGED
|
@@ -27,6 +27,7 @@ export * from "./components/chip-group/index.js";
|
|
|
27
27
|
export * from "./components/code/index.js";
|
|
28
28
|
export * from "./components/composer/index.js";
|
|
29
29
|
export * from "./components/data-table/index.js";
|
|
30
|
+
export * from "./components/date-range/index.js";
|
|
30
31
|
export * from "./components/dialog/index.js";
|
|
31
32
|
export * from "./components/divider/index.js";
|
|
32
33
|
export * from "./components/empty-state/index.js";
|
|
@@ -42,6 +43,7 @@ export * from "./components/menu/index.js";
|
|
|
42
43
|
export * from "./components/navigation-drawer/index.js";
|
|
43
44
|
export * from "./components/overlay/index.js";
|
|
44
45
|
export * from "./components/pagination/index.js";
|
|
46
|
+
export * from "./components/popover/index.js";
|
|
45
47
|
export * from "./components/progress/index.js";
|
|
46
48
|
export * from "./components/radio-group/index.js";
|
|
47
49
|
export * from "./components/select/index.js";
|