@nvidia-elements/core 0.2.2 → 0.2.3
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/CHANGELOG.md +9 -0
- package/dist/accordion/accordion2.js +39 -39
- package/dist/alert/alert-group2.js +14 -14
- package/dist/alert/alert2.js +20 -20
- package/dist/avatar/avatar-group2.js +1 -1
- package/dist/avatar/avatar2.js +6 -6
- package/dist/badge/badge2.js +21 -21
- package/dist/breadcrumb/breadcrumb2.js +12 -12
- package/dist/bundles/index.d.ts +418 -1802
- package/dist/bundles/index.js +6 -6
- package/dist/button/button.d.ts +5 -2
- package/dist/button/button2.js +13 -13
- package/dist/button/button2.js.map +1 -1
- package/dist/button-group/button-group2.js +15 -15
- package/dist/card/card2.js +17 -17
- package/dist/chat-message/chat-message2.js +7 -7
- package/dist/checkbox/checkbox-group2.js +7 -7
- package/dist/checkbox/checkbox2.js +7 -7
- package/dist/color/color2.js +7 -7
- package/dist/combobox/combobox2.js +10 -10
- package/dist/copy-button/copy-button2.js +10 -10
- package/dist/custom-elements-jsx.d.ts +346 -613
- package/dist/custom-elements-vue.d.ts +346 -613
- package/dist/custom-elements.json +4870 -14220
- package/dist/data.html.json +252 -168
- package/dist/data.snippets.json +42 -42
- package/dist/date/date2.js +7 -7
- package/dist/datetime/datetime2.js +7 -7
- package/dist/dialog/dialog-footer2.js +6 -6
- package/dist/dialog/dialog-header2.js +6 -6
- package/dist/dialog/dialog2.js +19 -19
- package/dist/divider/divider2.js +5 -5
- package/dist/dot/dot2.js +8 -8
- package/dist/drawer/drawer-content2.js +6 -6
- package/dist/drawer/drawer-footer2.js +6 -6
- package/dist/drawer/drawer-header2.js +6 -6
- package/dist/drawer/drawer2.js +19 -19
- package/dist/dropdown/dropdown-footer2.js +6 -6
- package/dist/dropdown/dropdown-header2.js +6 -6
- package/dist/dropdown/dropdown2.js +16 -16
- package/dist/dropdown-group/dropdown-group.js +16 -16
- package/dist/dropzone/dropzone.d.ts +1 -404
- package/dist/dropzone/dropzone2.js +14 -14
- package/dist/dropzone/dropzone2.js.map +1 -1
- package/dist/file/file2.js +1 -1
- package/dist/format-datetime/format-datetime2.js +10 -10
- package/dist/format-number/format-number2.js +16 -16
- package/dist/format-relative-time/format-relative-time2.js +7 -7
- package/dist/forms/control/control2.js +19 -19
- package/dist/forms/control-group/control-group2.js +6 -6
- package/dist/forms/control-message/control-message2.js +9 -9
- package/dist/grid/cell/cell2.js +1 -1
- package/dist/grid/column/column2.js +10 -10
- package/dist/grid/footer/footer2.js +6 -6
- package/dist/grid/grid2.js +12 -12
- package/dist/grid/header/header2.js +9 -9
- package/dist/grid/placeholder/placeholder2.js +1 -1
- package/dist/grid/row/row2.js +9 -9
- package/dist/icon/icon2.js +15 -15
- package/dist/icon-button/icon-button2.js +9 -9
- package/dist/index.js +4 -4
- package/dist/input/input-group2.js +1 -1
- package/dist/input/input2.js +6 -6
- package/dist/internal/controllers/keynav-grid.controller.js +39 -39
- package/dist/internal/controllers/type-button.controller.examples.js.map +1 -1
- package/dist/internal/controllers/type-button.controller.examples.json +1 -1
- package/dist/internal/controllers/type-command.controller.d.ts +10 -1
- package/dist/internal/controllers/type-command.controller.js +23 -14
- package/dist/internal/controllers/type-command.controller.js.map +1 -1
- package/dist/internal/controllers/type-native-popover.utils.js +7 -7
- package/dist/internal/index.d.ts +0 -1
- package/dist/internal/index.js +40 -41
- package/dist/internal/services/global.service.js +1 -1
- package/dist/logo/logo2.js +6 -6
- package/dist/menu/menu-item.d.ts +4 -2
- package/dist/menu/menu-item2.js +12 -12
- package/dist/menu/menu-item2.js.map +1 -1
- package/dist/menu/menu2.js +10 -10
- package/dist/month/month2.js +7 -7
- package/dist/notification/notification-group2.js +11 -11
- package/dist/notification/notification2.js +22 -22
- package/dist/page/page-panel/page-panel-content2.js +1 -1
- package/dist/page/page-panel/page-panel-footer2.js +6 -6
- package/dist/page/page-panel/page-panel-header2.js +6 -6
- package/dist/page/page-panel/page-panel2.js +14 -14
- package/dist/page/page2.js +9 -9
- package/dist/page-header/page-header2.js +1 -1
- package/dist/page-loader/page-loader2.js +10 -10
- package/dist/pagination/pagination.d.ts +1 -404
- package/dist/pagination/pagination2.js +17 -17
- package/dist/pagination/pagination2.js.map +1 -1
- package/dist/panel/panel2.js +21 -21
- package/dist/password/password2.js +7 -7
- package/dist/preferences-input/preferences-input.d.ts +1 -404
- package/dist/preferences-input/preferences-input2.js +9 -9
- package/dist/preferences-input/preferences-input2.js.map +1 -1
- package/dist/progress-bar/progress-bar2.js +8 -8
- package/dist/progress-ring/progress-ring2.js +15 -15
- package/dist/progressive-filter-chip/progressive-filter-chip2.js +15 -15
- package/dist/pulse/pulse2.js +6 -6
- package/dist/radio/radio-group2.js +7 -7
- package/dist/radio/radio2.js +7 -7
- package/dist/range/range2.js +5 -5
- package/dist/resize-handle/resize-handle.d.ts +1 -404
- package/dist/resize-handle/resize-handle2.js +16 -16
- package/dist/resize-handle/resize-handle2.js.map +1 -1
- package/dist/search/search2.js +8 -8
- package/dist/select/select2.js +18 -18
- package/dist/skeleton/skeleton2.js +7 -7
- package/dist/sort-button/sort-button.d.ts +4 -2
- package/dist/sort-button/sort-button2.js +19 -19
- package/dist/sort-button/sort-button2.js.map +1 -1
- package/dist/sparkline/sparkline2.js +14 -14
- package/dist/star-rating/star-rating2.js +6 -6
- package/dist/steps/steps.d.ts +4 -2
- package/dist/steps/steps2.js +36 -36
- package/dist/steps/steps2.js.map +1 -1
- package/dist/switch/switch-group2.js +6 -6
- package/dist/switch/switch2.js +7 -7
- package/dist/tabs/tabs-group2.js +21 -21
- package/dist/tabs/tabs.d.ts +4 -2
- package/dist/tabs/tabs2.js +30 -30
- package/dist/tabs/tabs2.js.map +1 -1
- package/dist/tag/tag.d.ts +5 -2
- package/dist/tag/tag2.js +20 -20
- package/dist/tag/tag2.js.map +1 -1
- package/dist/textarea/textarea2.js +1 -1
- package/dist/time/time2.js +7 -7
- package/dist/toast/toast2.js +21 -21
- package/dist/toggletip/toggletip-footer2.js +6 -6
- package/dist/toggletip/toggletip-header2.js +6 -6
- package/dist/toggletip/toggletip2.js +17 -17
- package/dist/toolbar/toolbar2.js +11 -11
- package/dist/tooltip/tooltip2.js +16 -16
- package/dist/tree/tree-node2.js +30 -30
- package/dist/tree/tree2.js +14 -14
- package/dist/week/week2.js +7 -7
- package/package.json +3 -3
- package/dist/internal/base/button.d.ts +0 -114
- package/dist/internal/base/button.js +0 -117
- package/dist/internal/base/button.js.map +0 -1
package/dist/button/button.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { Interaction, Inverse, FlatInteraction, Size } from '../internal';
|
|
3
|
+
declare const Button_base: import('@nvidia-elements/forms/mixins').ButtonFormControlMixinReturn<typeof LitElement>;
|
|
2
4
|
/**
|
|
3
5
|
* @element nve-button
|
|
4
6
|
* @description A button is a widget that enables users to trigger an action or event, such as submitting a form, opening a dialog, canceling an action, or performing a delete operation.
|
|
@@ -23,7 +25,7 @@ import { Interaction, Inverse, FlatInteraction, Size, BaseButton } from '../inte
|
|
|
23
25
|
* @cssprop --min-width
|
|
24
26
|
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/button/
|
|
25
27
|
*/
|
|
26
|
-
export declare class Button extends
|
|
28
|
+
export declare class Button extends Button_base {
|
|
27
29
|
static styles: import('lit').CSSResult[];
|
|
28
30
|
static readonly metadata: {
|
|
29
31
|
tag: string;
|
|
@@ -43,3 +45,4 @@ export declare class Button extends BaseButton {
|
|
|
43
45
|
interaction: Interaction | FlatInteraction | Inverse;
|
|
44
46
|
render(): import('lit-html').TemplateResult<1>;
|
|
45
47
|
}
|
|
48
|
+
export {};
|
package/dist/button/button2.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import r from "
|
|
5
|
-
import { html as i } from "lit";
|
|
1
|
+
import { useStyles as e } from "../internal/styles/index.js";
|
|
2
|
+
import { __decorate as t } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
3
|
+
import n from "./button.js";
|
|
4
|
+
import { LitElement as r, html as i } from "lit";
|
|
6
5
|
import { property as a } from "lit/decorators/property.js";
|
|
6
|
+
import { ButtonFormControlMixin as o } from "@nvidia-elements/forms/mixins";
|
|
7
7
|
//#region src/button/button.ts
|
|
8
|
-
var
|
|
8
|
+
var s = class extends o(r) {
|
|
9
9
|
static {
|
|
10
|
-
this.styles =
|
|
10
|
+
this.styles = e([n]);
|
|
11
11
|
}
|
|
12
12
|
static {
|
|
13
13
|
this.metadata = {
|
|
14
14
|
tag: "nve-button",
|
|
15
|
-
version: "0.2.
|
|
15
|
+
version: "0.2.3"
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
19
|
return i`<div internal-host interaction-state focus-within><slot></slot></div>`;
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
|
-
|
|
22
|
+
t([a({
|
|
23
23
|
type: String,
|
|
24
24
|
reflect: !0
|
|
25
|
-
})],
|
|
25
|
+
})], s.prototype, "container", void 0), t([a({
|
|
26
26
|
type: String,
|
|
27
27
|
reflect: !0
|
|
28
|
-
})],
|
|
28
|
+
})], s.prototype, "size", void 0), t([a({
|
|
29
29
|
type: String,
|
|
30
30
|
reflect: !0
|
|
31
|
-
})],
|
|
31
|
+
})], s.prototype, "interaction", void 0);
|
|
32
32
|
//#endregion
|
|
33
|
-
export {
|
|
33
|
+
export { s as Button };
|
|
34
34
|
|
|
35
35
|
//# sourceMappingURL=button2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button2.js","names":[],"sources":["../../src/button/button.ts"],"sourcesContent":["// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { html } from 'lit';\nimport { property } from 'lit/decorators/property.js';\nimport type { Interaction, Inverse, FlatInteraction, Size } from '@nvidia-elements/core/internal';\nimport {
|
|
1
|
+
{"version":3,"file":"button2.js","names":[],"sources":["../../src/button/button.ts"],"sourcesContent":["// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators/property.js';\nimport { ButtonFormControlMixin } from '@nvidia-elements/forms/mixins';\nimport type { Interaction, Inverse, FlatInteraction, Size } from '@nvidia-elements/core/internal';\nimport { useStyles } from '@nvidia-elements/core/internal';\nimport styles from './button.css?inline';\n\n/**\n * @element nve-button\n * @description A button is a widget that enables users to trigger an action or event, such as submitting a form, opening a dialog, canceling an action, or performing a delete operation.\n * @since 0.1.3\n * @entrypoint \\@nvidia-elements/core/button\n * @slot - slot for button text content or icon, icon placement depends on whether `icon` appears before or after text content.\n * @cssprop --background\n * @cssprop --color\n * @cssprop --padding\n * @cssprop --border\n * @cssprop --border-radius\n * @cssprop --font-weight\n * @cssprop --font-size\n * @cssprop --text-decoration\n * @cssprop --text-align\n * @cssprop --cursor\n * @cssprop --gap\n * @cssprop --height\n * @cssprop --text-transform\n * @cssprop --line-height\n * @cssprop --width\n * @cssprop --min-width\n * @aria https://www.w3.org/WAI/ARIA/apg/patterns/button/\n */\nexport class Button extends ButtonFormControlMixin(LitElement) {\n static styles = useStyles([styles]);\n\n static readonly metadata = {\n tag: 'nve-button',\n version: '0.0.0'\n };\n\n /**\n * Determines the container of the button. Flat suits nesting within other containers or more muted style. Inline suits inline content such as text.\n */\n @property({ type: String, reflect: true }) container?: 'flat' | 'inline';\n\n /**\n * Determines size of the button.\n */\n @property({ type: String, reflect: true }) size?: Size;\n\n /**\n * The Interaction type provides a way to show the intended use case for a button or other interactive element. This can help users quickly understand what each interaction will do and reduce the potential for confusion or errors.\n */\n @property({ type: String, reflect: true }) interaction: Interaction | FlatInteraction | Inverse;\n\n render() {\n return html`\n <div internal-host interaction-state focus-within>\n <slot></slot>\n </div>\n `;\n }\n}\n"],"mappings":";;;;;;;AAkCA,IAAa,IAAb,cAA4B,EAAuB,CAAU,EAAE;;gBAC7C,EAAU,CAAC,CAAM,CAAC;;;kBAEP;GACzB,KAAK;GACL,SAAS;EACX;;CAiBA,SAAS;EACP,OAAO,CAAI;CAKb;AACF;GAnBG,EAAS;CAAE,MAAM;CAAQ,SAAS;AAAK,CAAC,CAAA,GAAA,EAAA,WAAA,aAAA,KAAA,CAAA,MAKxC,EAAS;CAAE,MAAM;CAAQ,SAAS;AAAK,CAAC,CAAA,GAAA,EAAA,WAAA,QAAA,KAAA,CAAA,MAKxC,EAAS;CAAE,MAAM;CAAQ,SAAS;AAAK,CAAC,CAAA,GAAA,EAAA,WAAA,eAAA,KAAA,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { audit as e } from "../internal/controllers/audit.controller.js";
|
|
2
|
+
import { appendRootNodeStyle as t } from "../internal/utils/dom.js";
|
|
3
|
+
import { keyNavigationList as n } from "../internal/controllers/keynav-list.controller.js";
|
|
4
|
+
import { attachInternals as r } from "../internal/utils/a11y.js";
|
|
5
|
+
import { useStyles as i } from "../internal/styles/index.js";
|
|
6
|
+
import { __decorate as a } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
7
7
|
import o from "./button-group.js";
|
|
8
8
|
import s from "./button-group.global.js";
|
|
9
9
|
import { LitElement as c, html as l } from "lit";
|
|
@@ -21,12 +21,12 @@ var f = class extends c {
|
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
static {
|
|
24
|
-
this.styles =
|
|
24
|
+
this.styles = i([o]);
|
|
25
25
|
}
|
|
26
26
|
static {
|
|
27
27
|
this.metadata = {
|
|
28
28
|
tag: "nve-button-group",
|
|
29
|
-
version: "0.2.
|
|
29
|
+
version: "0.2.3",
|
|
30
30
|
children: [
|
|
31
31
|
"nve-button",
|
|
32
32
|
"nve-icon-button",
|
|
@@ -41,7 +41,7 @@ var f = class extends c {
|
|
|
41
41
|
return l`<div internal-host><slot @slotchange="${this.#n}"></slot></div>`;
|
|
42
42
|
}
|
|
43
43
|
connectedCallback() {
|
|
44
|
-
super.connectedCallback(),
|
|
44
|
+
super.connectedCallback(), r(this), t(this, s), this._internals.role = "group", this.addEventListener("click", this.#t);
|
|
45
45
|
}
|
|
46
46
|
disconnectedCallback() {
|
|
47
47
|
super.disconnectedCallback(), this.removeEventListener("click", this.#t);
|
|
@@ -57,22 +57,22 @@ var f = class extends c {
|
|
|
57
57
|
e.matches?.("nve-button, nve-icon-button") && (this.behaviorSelect === "single" ? (this.#e.forEach((e) => e.pressed = !1), e.pressed = !0) : this.behaviorSelect === "multi" && (e.pressed = !e.pressed));
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
|
-
|
|
60
|
+
a([u({
|
|
61
61
|
type: String,
|
|
62
62
|
attribute: "behavior-select"
|
|
63
|
-
})], f.prototype, "behaviorSelect", void 0),
|
|
63
|
+
})], f.prototype, "behaviorSelect", void 0), a([u({
|
|
64
64
|
type: String,
|
|
65
65
|
reflect: !0
|
|
66
|
-
})], f.prototype, "container", void 0),
|
|
66
|
+
})], f.prototype, "container", void 0), a([u({
|
|
67
67
|
type: String,
|
|
68
68
|
reflect: !0
|
|
69
|
-
})], f.prototype, "orientation", void 0),
|
|
69
|
+
})], f.prototype, "orientation", void 0), a([u({
|
|
70
70
|
type: String,
|
|
71
71
|
reflect: !0
|
|
72
|
-
})], f.prototype, "interaction", void 0),
|
|
72
|
+
})], f.prototype, "interaction", void 0), a([u({
|
|
73
73
|
type: String,
|
|
74
74
|
reflect: !0
|
|
75
|
-
})], f.prototype, "size", void 0),
|
|
75
|
+
})], f.prototype, "size", void 0), a([d({ selector: "nve-divider" })], f.prototype, "dividers", void 0), a([d({ selector: "nve-icon-button" })], f.prototype, "iconButtons", void 0), a([d({ selector: "nve-button" })], f.prototype, "buttons", void 0), f = a([e(), n()], f);
|
|
76
76
|
//#endregion
|
|
77
77
|
export { f as ButtonGroup };
|
|
78
78
|
|
package/dist/card/card2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { audit as e } from "../internal/controllers/audit.controller.js";
|
|
2
|
+
import { hostAttr as t } from "../internal/decorators/host-attr.js";
|
|
3
|
+
import { useStyles as n } from "../internal/styles/index.js";
|
|
4
|
+
import { __decorate as r } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
5
5
|
import i from "./card.js";
|
|
6
6
|
import a from "./card-header.js";
|
|
7
7
|
import o from "./card-content.js";
|
|
@@ -11,33 +11,33 @@ import { property as u } from "lit/decorators/property.js";
|
|
|
11
11
|
//#region src/card/card.ts
|
|
12
12
|
var d = class extends c {
|
|
13
13
|
static {
|
|
14
|
-
this.styles =
|
|
14
|
+
this.styles = n([i]);
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.metadata = {
|
|
18
18
|
tag: "nve-card",
|
|
19
|
-
version: "0.2.
|
|
19
|
+
version: "0.2.3"
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
23
|
return l`<div internal-host><slot name="header"></slot><slot></slot><slot name="footer"></slot></div>`;
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
|
|
26
|
+
r([u({
|
|
27
27
|
type: String,
|
|
28
28
|
reflect: !0
|
|
29
|
-
})], d.prototype, "container", void 0), d =
|
|
29
|
+
})], d.prototype, "container", void 0), d = r([e()], d);
|
|
30
30
|
var f = class extends c {
|
|
31
31
|
constructor(...e) {
|
|
32
32
|
super(...e), this.slot = "header";
|
|
33
33
|
}
|
|
34
34
|
static {
|
|
35
|
-
this.styles =
|
|
35
|
+
this.styles = n([a]);
|
|
36
36
|
}
|
|
37
37
|
static {
|
|
38
38
|
this.metadata = {
|
|
39
39
|
tag: "nve-card-header",
|
|
40
|
-
version: "0.2.
|
|
40
|
+
version: "0.2.3",
|
|
41
41
|
parents: ["nve-card"]
|
|
42
42
|
};
|
|
43
43
|
}
|
|
@@ -45,15 +45,15 @@ var f = class extends c {
|
|
|
45
45
|
return l`<header internal-host><div class="content"><slot name="title"></slot><slot name="subtitle"></slot><slot></slot></div><slot name="header-action"></slot></header>`;
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
|
-
|
|
48
|
+
r([t()], f.prototype, "slot", void 0), f = r([e()], f);
|
|
49
49
|
var p = class extends c {
|
|
50
50
|
static {
|
|
51
|
-
this.styles =
|
|
51
|
+
this.styles = n([o]);
|
|
52
52
|
}
|
|
53
53
|
static {
|
|
54
54
|
this.metadata = {
|
|
55
55
|
tag: "nve-card-content",
|
|
56
|
-
version: "0.2.
|
|
56
|
+
version: "0.2.3",
|
|
57
57
|
parents: ["nve-card"]
|
|
58
58
|
};
|
|
59
59
|
}
|
|
@@ -61,18 +61,18 @@ var p = class extends c {
|
|
|
61
61
|
return l`<slot></slot>`;
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
|
-
p =
|
|
64
|
+
p = r([e()], p);
|
|
65
65
|
var m = class extends c {
|
|
66
66
|
constructor(...e) {
|
|
67
67
|
super(...e), this.slot = "footer";
|
|
68
68
|
}
|
|
69
69
|
static {
|
|
70
|
-
this.styles =
|
|
70
|
+
this.styles = n([s]);
|
|
71
71
|
}
|
|
72
72
|
static {
|
|
73
73
|
this.metadata = {
|
|
74
74
|
tag: "nve-card-footer",
|
|
75
|
-
version: "0.2.
|
|
75
|
+
version: "0.2.3",
|
|
76
76
|
parents: ["nve-card"]
|
|
77
77
|
};
|
|
78
78
|
}
|
|
@@ -80,7 +80,7 @@ var m = class extends c {
|
|
|
80
80
|
return l`<footer internal-host><slot></slot></footer>`;
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
|
-
|
|
83
|
+
r([t()], m.prototype, "slot", void 0), m = r([e()], m);
|
|
84
84
|
//#endregion
|
|
85
85
|
export { d as Card, p as CardContent, m as CardFooter, f as CardHeader };
|
|
86
86
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { appendRootNodeStyle as e } from "../internal/utils/dom.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { colorStateStyles as t, useStyles as n } from "../internal/styles/index.js";
|
|
3
|
+
import { __decorate as r } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import i from "./chat-message.js";
|
|
5
5
|
import a from "./chat-message.global.js";
|
|
6
6
|
import { LitElement as o, html as s } from "lit";
|
|
@@ -8,12 +8,12 @@ import { property as c } from "lit/decorators/property.js";
|
|
|
8
8
|
//#region src/chat-message/chat-message.ts
|
|
9
9
|
var l = class extends o {
|
|
10
10
|
static {
|
|
11
|
-
this.styles =
|
|
11
|
+
this.styles = n([i, t]);
|
|
12
12
|
}
|
|
13
13
|
static {
|
|
14
14
|
this.metadata = {
|
|
15
15
|
tag: "nve-chat-message",
|
|
16
|
-
version: "0.2.
|
|
16
|
+
version: "0.2.3"
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
@@ -23,13 +23,13 @@ var l = class extends o {
|
|
|
23
23
|
super.connectedCallback(), e(this, a);
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
|
|
26
|
+
r([c({
|
|
27
27
|
type: String,
|
|
28
28
|
reflect: !0
|
|
29
|
-
})], l.prototype, "container", void 0),
|
|
29
|
+
})], l.prototype, "container", void 0), r([c({
|
|
30
30
|
type: String,
|
|
31
31
|
reflect: !0
|
|
32
|
-
})], l.prototype, "color", void 0),
|
|
32
|
+
})], l.prototype, "color", void 0), r([c({
|
|
33
33
|
type: String,
|
|
34
34
|
reflect: !0,
|
|
35
35
|
attribute: "arrow-position"
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { audit as e } from "../internal/controllers/audit.controller.js";
|
|
2
|
+
import { typeSSR as t } from "../internal/controllers/type-ssr.controller.js";
|
|
3
|
+
import { useStyles as n } from "../internal/styles/index.js";
|
|
4
|
+
import { __decorate as r } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
5
5
|
import { ControlGroup as i } from "../forms/control-group/control-group2.js";
|
|
6
6
|
import a from "./checkbox-group.js";
|
|
7
7
|
//#region src/checkbox/checkbox-group.ts
|
|
8
8
|
var o = class extends i {
|
|
9
9
|
static {
|
|
10
|
-
this.styles =
|
|
10
|
+
this.styles = n([...i.styles, a]);
|
|
11
11
|
}
|
|
12
12
|
static {
|
|
13
13
|
this.metadata = {
|
|
14
14
|
tag: "nve-checkbox-group",
|
|
15
|
-
version: "0.2.
|
|
15
|
+
version: "0.2.3",
|
|
16
16
|
children: [
|
|
17
17
|
"label",
|
|
18
18
|
"nve-control-message",
|
|
@@ -21,7 +21,7 @@ var o = class extends i {
|
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
|
-
o =
|
|
24
|
+
o = r([e(), t()], o);
|
|
25
25
|
//#endregion
|
|
26
26
|
export { o as CheckboxGroup };
|
|
27
27
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { audit as e } from "../internal/controllers/audit.controller.js";
|
|
2
|
+
import { hostAttr as t } from "../internal/decorators/host-attr.js";
|
|
3
|
+
import { useStyles as n } from "../internal/styles/index.js";
|
|
4
|
+
import { __decorate as r } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
5
5
|
import { Control as i } from "../forms/control/control2.js";
|
|
6
6
|
import a from "./checkbox.js";
|
|
7
7
|
//#region src/checkbox/checkbox.ts
|
|
@@ -10,12 +10,12 @@ var o = class extends i {
|
|
|
10
10
|
super(...e), this.nveControl = "inline";
|
|
11
11
|
}
|
|
12
12
|
static {
|
|
13
|
-
this.styles =
|
|
13
|
+
this.styles = n([...i.styles, a]);
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.metadata = {
|
|
17
17
|
tag: "nve-checkbox",
|
|
18
|
-
version: "0.2.
|
|
18
|
+
version: "0.2.3",
|
|
19
19
|
children: [
|
|
20
20
|
"label",
|
|
21
21
|
"input",
|
|
@@ -24,7 +24,7 @@ var o = class extends i {
|
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
|
-
|
|
27
|
+
r([t({ attribute: "nve-control" })], o.prototype, "nveControl", void 0), o = r([e()], o);
|
|
28
28
|
//#endregion
|
|
29
29
|
export { o as Checkbox };
|
|
30
30
|
|
package/dist/color/color2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { appendRootNodeStyle as e, openEyeDropper as t } from "../internal/utils/dom.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { scopedRegistry as n } from "../internal/decorators/scoped-registry.js";
|
|
3
|
+
import { useStyles as r } from "../internal/styles/index.js";
|
|
4
|
+
import { __decorate as i } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
5
5
|
import { Control as a } from "../forms/control/control2.js";
|
|
6
6
|
import { IconButton as o } from "../icon-button/icon-button2.js";
|
|
7
7
|
import { inputStyles as s } from "../input/input2.js";
|
|
@@ -12,7 +12,7 @@ import { property as d } from "lit/decorators/property.js";
|
|
|
12
12
|
//#region src/color/color.ts
|
|
13
13
|
var f = class extends a {
|
|
14
14
|
static {
|
|
15
|
-
this.styles =
|
|
15
|
+
this.styles = r([
|
|
16
16
|
...a.styles,
|
|
17
17
|
s,
|
|
18
18
|
l
|
|
@@ -21,7 +21,7 @@ var f = class extends a {
|
|
|
21
21
|
static {
|
|
22
22
|
this.metadata = {
|
|
23
23
|
tag: "nve-color",
|
|
24
|
-
version: "0.2.
|
|
24
|
+
version: "0.2.3"
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
static {
|
|
@@ -40,10 +40,10 @@ var f = class extends a {
|
|
|
40
40
|
this.input.value = await t(), this.input.dispatchEvent(new Event("input", { bubbles: !0 })), this.input.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
|
-
|
|
43
|
+
i([d({
|
|
44
44
|
type: String,
|
|
45
45
|
reflect: !0
|
|
46
|
-
})], f.prototype, "container", void 0), f =
|
|
46
|
+
})], f.prototype, "container", void 0), f = i([n()], f);
|
|
47
47
|
//#endregion
|
|
48
48
|
export { f as Color };
|
|
49
49
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { focusElementTimeout as e } from "../internal/utils/focus.js";
|
|
2
2
|
import { getDisplayValue as t, getElementUpdate as n, getPropertyChanges as r } from "../internal/utils/dom.js";
|
|
3
3
|
import { createLightDismiss as i } from "../internal/utils/keynav.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { scopedRegistry as a } from "../internal/decorators/scoped-registry.js";
|
|
5
|
+
import { useStyles as o } from "../internal/styles/index.js";
|
|
6
|
+
import { __decorate as s } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
7
7
|
import { Icon as c } from "../icon/icon2.js";
|
|
8
8
|
import { Control as l } from "../forms/control/control2.js";
|
|
9
9
|
import { inputStyles as u } from "../input/input2.js";
|
|
@@ -22,7 +22,7 @@ var S = class extends l {
|
|
|
22
22
|
super(...e), this.#p = [], this.#m = !1, this._associateDatalist = !1, this.#w = /* @__PURE__ */ new Set();
|
|
23
23
|
}
|
|
24
24
|
static {
|
|
25
|
-
this.styles =
|
|
25
|
+
this.styles = o([
|
|
26
26
|
...l.styles,
|
|
27
27
|
u,
|
|
28
28
|
g
|
|
@@ -31,7 +31,7 @@ var S = class extends l {
|
|
|
31
31
|
static {
|
|
32
32
|
this.metadata = {
|
|
33
33
|
tag: "nve-combobox",
|
|
34
|
-
version: "0.2.
|
|
34
|
+
version: "0.2.3"
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
static {
|
|
@@ -263,21 +263,21 @@ var S = class extends l {
|
|
|
263
263
|
this.#u ? this._internals.states.add("footer-content") : this._internals.states.delete("footer-content");
|
|
264
264
|
}
|
|
265
265
|
};
|
|
266
|
-
|
|
266
|
+
s([b({
|
|
267
267
|
type: String,
|
|
268
268
|
reflect: !0
|
|
269
|
-
})], S.prototype, "container", void 0),
|
|
269
|
+
})], S.prototype, "container", void 0), s([b({
|
|
270
270
|
type: Boolean,
|
|
271
271
|
reflect: !0
|
|
272
|
-
})], S.prototype, "notags", void 0),
|
|
272
|
+
})], S.prototype, "notags", void 0), s([b({
|
|
273
273
|
type: String,
|
|
274
274
|
reflect: !0,
|
|
275
275
|
attribute: "tag-layout"
|
|
276
|
-
})], S.prototype, "tagLayout", void 0),
|
|
276
|
+
})], S.prototype, "tagLayout", void 0), s([b({
|
|
277
277
|
type: Boolean,
|
|
278
278
|
reflect: !0,
|
|
279
279
|
attribute: "behavior-create"
|
|
280
|
-
})], S.prototype, "behaviorCreate", void 0), S =
|
|
280
|
+
})], S.prototype, "behaviorCreate", void 0), S = s([a()], S);
|
|
281
281
|
//#endregion
|
|
282
282
|
export { S as Combobox };
|
|
283
283
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { I18nController as e } from "../internal/controllers/i18n.controller.js";
|
|
2
|
+
import { scopedRegistry as t } from "../internal/decorators/scoped-registry.js";
|
|
3
|
+
import { useStyles as n } from "../internal/styles/index.js";
|
|
4
|
+
import { __decorate as r } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
5
5
|
import { Icon as i } from "../icon/icon2.js";
|
|
6
6
|
import { Button as a } from "../button/button2.js";
|
|
7
7
|
import { Tooltip as o } from "../tooltip/tooltip2.js";
|
|
@@ -12,8 +12,8 @@ import { property as d } from "lit/decorators/property.js";
|
|
|
12
12
|
import { state as f } from "lit/decorators/state.js";
|
|
13
13
|
//#region src/copy-button/copy-button.ts
|
|
14
14
|
var p = class extends a {
|
|
15
|
-
constructor(...
|
|
16
|
-
super(...
|
|
15
|
+
constructor(...t) {
|
|
16
|
+
super(...t), this.copied = !1, this.showToast = !1, this.showTooltip = !1, this.#e = new e(this), this.i18n = this.#e.i18n, this.#t = () => {
|
|
17
17
|
this.behaviorCopy && navigator.clipboard.writeText(this.value).then(() => {
|
|
18
18
|
this.showToast = !0, this.copied = !0;
|
|
19
19
|
}).catch((e) => {
|
|
@@ -27,12 +27,12 @@ var p = class extends a {
|
|
|
27
27
|
}
|
|
28
28
|
#e;
|
|
29
29
|
static {
|
|
30
|
-
this.styles =
|
|
30
|
+
this.styles = n([...a.styles, c]);
|
|
31
31
|
}
|
|
32
32
|
static {
|
|
33
33
|
this.metadata = {
|
|
34
34
|
tag: "nve-copy-button",
|
|
35
|
-
version: "0.2.
|
|
35
|
+
version: "0.2.3"
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
static {
|
|
@@ -58,11 +58,11 @@ var p = class extends a {
|
|
|
58
58
|
#r;
|
|
59
59
|
#i;
|
|
60
60
|
};
|
|
61
|
-
|
|
61
|
+
r([f()], p.prototype, "copied", void 0), r([f()], p.prototype, "showToast", void 0), r([f()], p.prototype, "showTooltip", void 0), r([d({ type: Object })], p.prototype, "i18n", void 0), r([d({
|
|
62
62
|
type: Boolean,
|
|
63
63
|
reflect: !0,
|
|
64
64
|
attribute: "behavior-copy"
|
|
65
|
-
})], p.prototype, "behaviorCopy", void 0),
|
|
65
|
+
})], p.prototype, "behaviorCopy", void 0), r([d({ type: String })], p.prototype, "value", void 0), p = r([t()], p);
|
|
66
66
|
//#endregion
|
|
67
67
|
export { p as CopyButton };
|
|
68
68
|
|