@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/data.snippets.json
CHANGED
|
@@ -188,6 +188,33 @@
|
|
|
188
188
|
"description": "Dialog is a component that appears above main content. A modal dialog is used to display critical information that requires users attention.",
|
|
189
189
|
"body": "<nve-dialog size=\"${6:md}\" closable>\n <nve-dialog-header>\n <h3 nve-text=\"heading semibold\">${1:Title}</h3>\n </nve-dialog-header>\n <p nve-text=\"body\">${2:Content}</p>\n <nve-dialog-footer>\n <nve-button>${3:Cancel}</nve-button>\n <nve-button interaction=\"${4:emphasis}\">${5:OK}</nve-button>\n </nve-dialog-footer>\n</nve-dialog>\n$0\n"
|
|
190
190
|
},
|
|
191
|
+
"Card": {
|
|
192
|
+
"srcFile": "card.snippets.html",
|
|
193
|
+
"prefix": [
|
|
194
|
+
"card"
|
|
195
|
+
],
|
|
196
|
+
"type": "pattern",
|
|
197
|
+
"description": "Basic Card with header and footer",
|
|
198
|
+
"body": "<nve-card>\n <nve-card-header>\n <div slot=\"title\">${1:Title}</div>\n <div slot=\"subtitle\">${2:Sub Title}</div>\n </nve-card-header>\n <nve-card-content>\n ${3:\n <p>card content</p>\n }\n </nve-card-content>\n <nve-card-footer>\n <nve-button style=\"margin-left: auto\">Action</nve-button>\n </nve-card-footer>\n</nve-card>\n"
|
|
199
|
+
},
|
|
200
|
+
"Media Card": {
|
|
201
|
+
"srcFile": "card.snippets.html",
|
|
202
|
+
"prefix": [
|
|
203
|
+
"media-card"
|
|
204
|
+
],
|
|
205
|
+
"type": "pattern",
|
|
206
|
+
"description": "Basic media Card with card content and card footer",
|
|
207
|
+
"body": "<nve-card style=\"height: 100%; width: 100%;\">\n <img alt=\"example visualization for media card demo\" loading=\"lazy\" style=\"width: 100%; height: 100%; object-fit: cover;\">\n <nve-card-content>\n ${1:\n <p>•︎•︎•︎ •︎•︎•︎ •︎•︎•︎</p>\n }\n </nve-card-content>\n <nve-card-footer>\n <div nve-layout=\"grid span-items:6 gap:xs\">\n <nve-button>${2:•︎•︎•︎•︎•︎•︎}</nve-button>\n <nve-button>${3:•︎•︎•︎•︎•︎•︎}</nve-button>\n </div>\n </nve-card-footer>\n</nve-card>\n"
|
|
208
|
+
},
|
|
209
|
+
"Media Card Grid": {
|
|
210
|
+
"srcFile": "card.snippets.html",
|
|
211
|
+
"prefix": [
|
|
212
|
+
"media-card-grid"
|
|
213
|
+
],
|
|
214
|
+
"type": "pattern",
|
|
215
|
+
"description": "Grid layout with 3 media cards",
|
|
216
|
+
"body": "<section nve-layout=\"grid span-items:4 gap:md\">\n <nve-card style=\"height: 100%; width: 100%;\">\n <img alt=\"example visualization for media card 1\" loading=\"lazy\" style=\"width: 100%; height: 100%; object-fit: cover;\">\n <nve-card-content>\n ${1:\n <p>•︎•︎•︎ •︎•︎•︎ •︎•︎•︎</p>\n }\n </nve-card-content>\n <nve-card-footer>\n <div nve-layout=\"grid span-items:6 gap:xs\">\n <nve-button>${2:•︎•︎•︎•︎•︎•︎}</nve-button>\n <nve-button>${3:•︎•︎•︎•︎•︎•︎}</nve-button>\n </div>\n </nve-card-footer>\n </nve-card>\n\n <nve-card style=\"height: 100%; width: 100%;\">\n <img alt=\"example visualization for media card 2\" loading=\"lazy\" style=\"width: 100%; height: 100%; object-fit: cover;\">\n <nve-card-content>\n ${4:\n <p>•︎•︎•︎ •︎•︎•︎ •︎•︎•︎</p>\n }\n </nve-card-content>\n <nve-card-footer>\n <div nve-layout=\"grid span-items:6 gap:xs\">\n <nve-button>${5:•︎•︎•︎•︎•︎•︎}</nve-button>\n <nve-button>${6:•︎•︎•︎•︎•︎•︎}</nve-button>\n </div>\n </nve-card-footer>\n </nve-card>\n\n <nve-card style=\"height: 100%; width: 100%;\">\n <img alt=\"example visualization for media card 3\" loading=\"lazy\" style=\"width: 100%; height: 100%; object-fit: cover;\">\n <nve-card-content>\n ${7:\n <p>•︎•︎•︎ •︎•︎•︎ •︎•︎•︎</p>\n }\n </nve-card-content>\n <nve-card-footer>\n <div nve-layout=\"grid span-items:6 gap:xs\">\n <nve-button>${8:•︎•︎•︎•︎•︎•︎}</nve-button>\n <nve-button>${9:•︎•︎•︎•︎•︎•︎}</nve-button>\n </div>\n </nve-card-footer>\n </nve-card>\n</section>\n"
|
|
217
|
+
},
|
|
191
218
|
"Button Group": {
|
|
192
219
|
"srcFile": "button-group.snippets.html",
|
|
193
220
|
"prefix": [
|
|
@@ -224,32 +251,32 @@
|
|
|
224
251
|
"description": "Simple vertical button group with three icon buttons.",
|
|
225
252
|
"body": "<nve-button-group orientation=\"vertical\">\n <nve-icon-button icon-name=\"${1:copy}\"></nve-icon-button>\n <nve-icon-button icon-name=\"${2:add-comment}\"></nve-icon-button>\n <nve-icon-button icon-name=\"${3:download}\"></nve-icon-button>\n</nve-button-group>\n"
|
|
226
253
|
},
|
|
227
|
-
"
|
|
228
|
-
"srcFile": "
|
|
254
|
+
"Accordion": {
|
|
255
|
+
"srcFile": "accordion.snippets.html",
|
|
229
256
|
"prefix": [
|
|
230
|
-
"
|
|
257
|
+
"accordion"
|
|
231
258
|
],
|
|
232
259
|
"type": "pattern",
|
|
233
|
-
"description": "Basic
|
|
234
|
-
"body": "<nve-
|
|
260
|
+
"description": "Basic accordion with title and content slot.",
|
|
261
|
+
"body": "<nve-accordion behavior-expand container=\"${1:flat}\">\n <nve-accordion-header>\n <div slot=\"title\">${2:Title}</div>\n </nve-accordion-header>\n\n <nve-accordion-content> ${3:Content} </nve-accordion-content>\n</nve-accordion>\n$0\n"
|
|
235
262
|
},
|
|
236
|
-
"
|
|
237
|
-
"srcFile": "
|
|
263
|
+
"Accordion with Actions": {
|
|
264
|
+
"srcFile": "accordion.snippets.html",
|
|
238
265
|
"prefix": [
|
|
239
|
-
"
|
|
266
|
+
"accordion-actions"
|
|
240
267
|
],
|
|
241
268
|
"type": "pattern",
|
|
242
|
-
"description": "
|
|
243
|
-
"body": "<nve-
|
|
269
|
+
"description": "Accordion with action buttons in header.",
|
|
270
|
+
"body": "<nve-accordion behavior-expand container=\"${1:flat}\">\n <nve-accordion-header>\n <div slot=\"title\">${2:Title}</div>\n\n <nve-icon-button container=\"flat\" icon-name=\"${3:add}\" size=\"sm\" slot=\"actions\"></nve-icon-button>\n <nve-icon-button container=\"flat\" icon-name=\"${4:delete}\" size=\"sm\" slot=\"actions\"></nve-icon-button>\n </nve-accordion-header>\n\n <nve-accordion-content> ${5:Content} </nve-accordion-content>\n</nve-accordion>\n$0\n"
|
|
244
271
|
},
|
|
245
|
-
"
|
|
246
|
-
"srcFile": "
|
|
272
|
+
"Accorion Group": {
|
|
273
|
+
"srcFile": "accordion.snippets.html",
|
|
247
274
|
"prefix": [
|
|
248
|
-
"
|
|
275
|
+
"accordion-group"
|
|
249
276
|
],
|
|
250
277
|
"type": "pattern",
|
|
251
|
-
"description": "
|
|
252
|
-
"body": "<
|
|
278
|
+
"description": "Accordion group with two accordion children.",
|
|
279
|
+
"body": "<nve-accordion-group behavior-expand-single container=\"${1:flat}\">\n <nve-accordion>\n <nve-accordion-header>\n <div slot=\"title\">${2:Title}</div>\n </nve-accordion-header>\n\n <nve-accordion-content> ${3:Content} </nve-accordion-content>\n </nve-accordion>\n\n <nve-accordion>\n <nve-accordion-header>\n <div slot=\"title\">${4:Title}</div>\n </nve-accordion-header>\n\n <nve-accordion-content> ${5:Content} </nve-accordion-content>\n </nve-accordion>\n\n <nve-accordion>\n <nve-accordion-header>\n <div slot=\"title\">${6:Title}</div>\n </nve-accordion-header>\n\n <nve-accordion-content> ${7:Content} </nve-accordion-content>\n </nve-accordion>\n</nve-accordion-group>\n$0\n"
|
|
253
280
|
},
|
|
254
281
|
"Alert Group": {
|
|
255
282
|
"srcFile": "alert.snippets.html",
|
|
@@ -277,32 +304,5 @@
|
|
|
277
304
|
"type": "pattern",
|
|
278
305
|
"description": "Alert text and preformatted code output.",
|
|
279
306
|
"body": "<nve-alert-group status=\"danger\">\n <nve-alert>\n Session Paused:\n <div slot=\"content\" nve-layout=\"column gap:sm align:stretch\">\n <p nve-text=\"body sm\">Failed to verify drives. <a href=\"#\" nve-text=\"link\">Check Status</a></p>\n <nve-divider style=\"--color: var(--nve-sys-text-muted-color)\"></nve-divider>\n <pre nve-text=\"code sm\" style=\"background: transparent !important; margin: 0;\">10:06:01 AM [verify] update /virtual:/verify/\n10:06:11 AM [build] update /virtual:/build/\n10:06:22 AM [error] update /virtual:/error/ - failed to connect to remote\n </pre>\n </div>\n </nve-alert>\n</nve-alert-group>\n$0\n"
|
|
280
|
-
},
|
|
281
|
-
"Accordion": {
|
|
282
|
-
"srcFile": "accordion.snippets.html",
|
|
283
|
-
"prefix": [
|
|
284
|
-
"accordion"
|
|
285
|
-
],
|
|
286
|
-
"type": "pattern",
|
|
287
|
-
"description": "Basic accordion with title and content slot.",
|
|
288
|
-
"body": "<nve-accordion behavior-expand container=\"${1:flat}\">\n <nve-accordion-header>\n <div slot=\"title\">${2:Title}</div>\n </nve-accordion-header>\n\n <nve-accordion-content> ${3:Content} </nve-accordion-content>\n</nve-accordion>\n$0\n"
|
|
289
|
-
},
|
|
290
|
-
"Accordion with Actions": {
|
|
291
|
-
"srcFile": "accordion.snippets.html",
|
|
292
|
-
"prefix": [
|
|
293
|
-
"accordion-actions"
|
|
294
|
-
],
|
|
295
|
-
"type": "pattern",
|
|
296
|
-
"description": "Accordion with action buttons in header.",
|
|
297
|
-
"body": "<nve-accordion behavior-expand container=\"${1:flat}\">\n <nve-accordion-header>\n <div slot=\"title\">${2:Title}</div>\n\n <nve-icon-button container=\"flat\" icon-name=\"${3:add}\" size=\"sm\" slot=\"actions\"></nve-icon-button>\n <nve-icon-button container=\"flat\" icon-name=\"${4:delete}\" size=\"sm\" slot=\"actions\"></nve-icon-button>\n </nve-accordion-header>\n\n <nve-accordion-content> ${5:Content} </nve-accordion-content>\n</nve-accordion>\n$0\n"
|
|
298
|
-
},
|
|
299
|
-
"Accorion Group": {
|
|
300
|
-
"srcFile": "accordion.snippets.html",
|
|
301
|
-
"prefix": [
|
|
302
|
-
"accordion-group"
|
|
303
|
-
],
|
|
304
|
-
"type": "pattern",
|
|
305
|
-
"description": "Accordion group with two accordion children.",
|
|
306
|
-
"body": "<nve-accordion-group behavior-expand-single container=\"${1:flat}\">\n <nve-accordion>\n <nve-accordion-header>\n <div slot=\"title\">${2:Title}</div>\n </nve-accordion-header>\n\n <nve-accordion-content> ${3:Content} </nve-accordion-content>\n </nve-accordion>\n\n <nve-accordion>\n <nve-accordion-header>\n <div slot=\"title\">${4:Title}</div>\n </nve-accordion-header>\n\n <nve-accordion-content> ${5:Content} </nve-accordion-content>\n </nve-accordion>\n\n <nve-accordion>\n <nve-accordion-header>\n <div slot=\"title\">${6:Title}</div>\n </nve-accordion-header>\n\n <nve-accordion-content> ${7:Content} </nve-accordion-content>\n </nve-accordion>\n</nve-accordion-group>\n$0\n"
|
|
307
307
|
}
|
|
308
308
|
}
|
package/dist/date/date2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { scopedRegistry as e } from "../internal/decorators/scoped-registry.js";
|
|
2
|
+
import { useStyles as t } from "../internal/styles/index.js";
|
|
3
|
+
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { Control as r } from "../forms/control/control2.js";
|
|
5
5
|
import { IconButton as i } from "../icon-button/icon-button2.js";
|
|
6
6
|
import { inputStyles as a } from "../input/input2.js";
|
|
@@ -10,7 +10,7 @@ import { property as c } from "lit/decorators/property.js";
|
|
|
10
10
|
//#region src/date/date.ts
|
|
11
11
|
var l = class extends r {
|
|
12
12
|
static {
|
|
13
|
-
this.styles =
|
|
13
|
+
this.styles = t([
|
|
14
14
|
...r.styles,
|
|
15
15
|
a,
|
|
16
16
|
o
|
|
@@ -19,7 +19,7 @@ var l = class extends r {
|
|
|
19
19
|
static {
|
|
20
20
|
this.metadata = {
|
|
21
21
|
tag: "nve-date",
|
|
22
|
-
version: "0.2.
|
|
22
|
+
version: "0.2.3"
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
static {
|
|
@@ -29,10 +29,10 @@ var l = class extends r {
|
|
|
29
29
|
return s`<nve-icon-button part="icon-button" .ariaLabel="${this.i18n.expand}" icon-name="calendar" container="inline" @click="${this.showPicker}"></nve-icon-button>`;
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
|
-
|
|
32
|
+
n([c({
|
|
33
33
|
type: String,
|
|
34
34
|
reflect: !0
|
|
35
|
-
})], l.prototype, "container", void 0), l =
|
|
35
|
+
})], l.prototype, "container", void 0), l = n([e()], l);
|
|
36
36
|
//#endregion
|
|
37
37
|
export { l as Date };
|
|
38
38
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { scopedRegistry as e } from "../internal/decorators/scoped-registry.js";
|
|
2
|
+
import { useStyles as t } from "../internal/styles/index.js";
|
|
3
|
+
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { Control as r } from "../forms/control/control2.js";
|
|
5
5
|
import { IconButton as i } from "../icon-button/icon-button2.js";
|
|
6
6
|
import { inputStyles as a } from "../input/input2.js";
|
|
@@ -10,7 +10,7 @@ import { property as c } from "lit/decorators/property.js";
|
|
|
10
10
|
//#region src/datetime/datetime.ts
|
|
11
11
|
var l = class extends r {
|
|
12
12
|
static {
|
|
13
|
-
this.styles =
|
|
13
|
+
this.styles = t([
|
|
14
14
|
...r.styles,
|
|
15
15
|
a,
|
|
16
16
|
o
|
|
@@ -19,7 +19,7 @@ var l = class extends r {
|
|
|
19
19
|
static {
|
|
20
20
|
this.metadata = {
|
|
21
21
|
tag: "nve-datetime",
|
|
22
|
-
version: "0.2.
|
|
22
|
+
version: "0.2.3"
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
static {
|
|
@@ -29,10 +29,10 @@ var l = class extends r {
|
|
|
29
29
|
return s`<nve-icon-button part="icon-button" .ariaLabel="${this.i18n.expand}" icon-name="calendar" container="inline" @click="${this.showPicker}"></nve-icon-button>`;
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
|
-
|
|
32
|
+
n([c({
|
|
33
33
|
type: String,
|
|
34
34
|
reflect: !0
|
|
35
|
-
})], l.prototype, "container", void 0), l =
|
|
35
|
+
})], l.prototype, "container", void 0), l = n([e()], l);
|
|
36
36
|
//#endregion
|
|
37
37
|
export { l as Datetime };
|
|
38
38
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { audit as e } from "../internal/controllers/audit.controller.js";
|
|
2
|
+
import { useStyles as t } from "../internal/styles/index.js";
|
|
3
|
+
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import r from "./dialog-footer.js";
|
|
5
5
|
import { LitElement as i, html as a } from "lit";
|
|
6
6
|
//#region src/dialog/dialog-footer.ts
|
|
7
7
|
var o = class extends i {
|
|
8
8
|
static {
|
|
9
|
-
this.styles =
|
|
9
|
+
this.styles = t([r]);
|
|
10
10
|
}
|
|
11
11
|
static {
|
|
12
12
|
this.metadata = {
|
|
13
13
|
tag: "nve-dialog-footer",
|
|
14
|
-
version: "0.2.
|
|
14
|
+
version: "0.2.3",
|
|
15
15
|
parents: ["nve-dialog"]
|
|
16
16
|
};
|
|
17
17
|
}
|
|
@@ -22,7 +22,7 @@ var o = class extends i {
|
|
|
22
22
|
super.connectedCallback(), this.slot = "footer";
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
o =
|
|
25
|
+
o = n([e()], o);
|
|
26
26
|
//#endregion
|
|
27
27
|
export { o as DialogFooter };
|
|
28
28
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { audit as e } from "../internal/controllers/audit.controller.js";
|
|
2
|
+
import { useStyles as t } from "../internal/styles/index.js";
|
|
3
|
+
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import r from "./dialog-header.js";
|
|
5
5
|
import { LitElement as i, html as a } from "lit";
|
|
6
6
|
//#region src/dialog/dialog-header.ts
|
|
7
7
|
var o = class extends i {
|
|
8
8
|
static {
|
|
9
|
-
this.styles =
|
|
9
|
+
this.styles = t([r]);
|
|
10
10
|
}
|
|
11
11
|
static {
|
|
12
12
|
this.metadata = {
|
|
13
13
|
tag: "nve-dialog-header",
|
|
14
|
-
version: "0.2.
|
|
14
|
+
version: "0.2.3",
|
|
15
15
|
parents: ["nve-dialog"]
|
|
16
16
|
};
|
|
17
17
|
}
|
|
@@ -22,7 +22,7 @@ var o = class extends i {
|
|
|
22
22
|
super.connectedCallback(), this.slot = "header";
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
o =
|
|
25
|
+
o = n([e()], o);
|
|
26
26
|
//#endregion
|
|
27
27
|
export { o as DialogHeader };
|
|
28
28
|
|
package/dist/dialog/dialog2.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import { audit as e } from "../internal/controllers/audit.controller.js";
|
|
2
|
+
import { I18nController as t } from "../internal/controllers/i18n.controller.js";
|
|
3
|
+
import { appendRootNodeStyle as n } from "../internal/utils/dom.js";
|
|
4
|
+
import { attachInternals as r } from "../internal/utils/a11y.js";
|
|
5
|
+
import { TypeNativePopoverController as i } from "../internal/controllers/type-native-popover.controller.js";
|
|
6
|
+
import { scopedRegistry as a } from "../internal/decorators/scoped-registry.js";
|
|
7
|
+
import { useStyles as o } from "../internal/styles/index.js";
|
|
8
|
+
import { popoverStyles as s } from "../internal/styles/popover2.js";
|
|
9
|
+
import { __decorate as c } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
10
10
|
import { IconButton as l } from "../icon-button/icon-button2.js";
|
|
11
11
|
import u from "./dialog.global.js";
|
|
12
12
|
import d from "./dialog.js";
|
|
@@ -15,7 +15,7 @@ import { property as m } from "lit/decorators/property.js";
|
|
|
15
15
|
//#region src/dialog/dialog.ts
|
|
16
16
|
var h = class extends f {
|
|
17
17
|
constructor(...e) {
|
|
18
|
-
super(...e), this.position = "center", this.alignment = "center", this.anchor = globalThis.document?.body, this.#e = new
|
|
18
|
+
super(...e), this.position = "center", this.alignment = "center", this.anchor = globalThis.document?.body, this.#e = new t(this), this.i18n = this.#e.i18n, this.typeNativePopoverController = new i(this);
|
|
19
19
|
}
|
|
20
20
|
#e;
|
|
21
21
|
get popoverType() {
|
|
@@ -25,12 +25,12 @@ var h = class extends f {
|
|
|
25
25
|
return !!this.closable;
|
|
26
26
|
}
|
|
27
27
|
static {
|
|
28
|
-
this.styles =
|
|
28
|
+
this.styles = o([s, d]);
|
|
29
29
|
}
|
|
30
30
|
static {
|
|
31
31
|
this.metadata = {
|
|
32
32
|
tag: "nve-dialog",
|
|
33
|
-
version: "0.2.
|
|
33
|
+
version: "0.2.3"
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
static {
|
|
@@ -40,26 +40,26 @@ var h = class extends f {
|
|
|
40
40
|
return p`<div internal-host part="_host"><div class="header">${this.closable ? p`<nve-icon-button part="close-button icon-button" exportparts="icon:icon-button-icon" size="sm" @click="${this.hidePopover}" icon-name="cancel" .ariaLabel="${this.i18n.close}"></nve-icon-button>` : ""}<slot name="header"></slot></div><div class="content" part="_content"><slot></slot></div><slot name="footer"></slot></div>`;
|
|
41
41
|
}
|
|
42
42
|
connectedCallback() {
|
|
43
|
-
super.connectedCallback(),
|
|
43
|
+
super.connectedCallback(), r(this), this._internals.role = "dialog", n(this, u);
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
-
|
|
46
|
+
c([m({
|
|
47
47
|
type: String,
|
|
48
48
|
reflect: !0
|
|
49
|
-
})], h.prototype, "position", void 0),
|
|
49
|
+
})], h.prototype, "position", void 0), c([m({
|
|
50
50
|
type: String,
|
|
51
51
|
reflect: !0
|
|
52
|
-
})], h.prototype, "alignment", void 0),
|
|
52
|
+
})], h.prototype, "alignment", void 0), c([m({
|
|
53
53
|
type: String,
|
|
54
54
|
reflect: !0
|
|
55
|
-
})], h.prototype, "size", void 0),
|
|
55
|
+
})], h.prototype, "size", void 0), c([m({ type: Boolean })], h.prototype, "closable", void 0), c([m({
|
|
56
56
|
type: Boolean,
|
|
57
57
|
reflect: !0
|
|
58
|
-
})], h.prototype, "modal", void 0),
|
|
58
|
+
})], h.prototype, "modal", void 0), c([m({ type: String })], h.prototype, "anchor", void 0), c([m({ type: String })], h.prototype, "trigger", void 0), c([m({
|
|
59
59
|
type: Boolean,
|
|
60
60
|
reflect: !0,
|
|
61
61
|
attribute: "behavior-trigger"
|
|
62
|
-
})], h.prototype, "behaviorTrigger", void 0),
|
|
62
|
+
})], h.prototype, "behaviorTrigger", void 0), c([m({ type: Object })], h.prototype, "i18n", void 0), h = c([e({ excessiveInstanceLimit: 50 }), a()], h);
|
|
63
63
|
//#endregion
|
|
64
64
|
export { h as Dialog };
|
|
65
65
|
|
package/dist/divider/divider2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { attachInternals as e } from "../internal/utils/a11y.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { useStyles as t } from "../internal/styles/index.js";
|
|
3
|
+
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import r from "./divider.js";
|
|
5
5
|
import { LitElement as i, html as a } from "lit";
|
|
6
6
|
import { property as o } from "lit/decorators/property.js";
|
|
@@ -10,12 +10,12 @@ var s = class extends i {
|
|
|
10
10
|
super(...e), this.orientation = "horizontal";
|
|
11
11
|
}
|
|
12
12
|
static {
|
|
13
|
-
this.styles =
|
|
13
|
+
this.styles = t([r]);
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.metadata = {
|
|
17
17
|
tag: "nve-divider",
|
|
18
|
-
version: "0.2.
|
|
18
|
+
version: "0.2.3"
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
@@ -28,7 +28,7 @@ var s = class extends i {
|
|
|
28
28
|
super.updated(e), e.has("orientation") && (this._internals.ariaOrientation = this.orientation);
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
|
-
|
|
31
|
+
n([o({
|
|
32
32
|
type: String,
|
|
33
33
|
reflect: !0
|
|
34
34
|
})], s.prototype, "orientation", void 0);
|
package/dist/dot/dot2.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { attachInternals as e } from "../internal/utils/a11y.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { statusStateStyles as t, supportStateStyles as n, useStyles as r } from "../internal/styles/index.js";
|
|
3
|
+
import { __decorate as i } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import a from "./dot.js";
|
|
5
5
|
import { LitElement as o, html as s } from "lit";
|
|
6
6
|
import { property as c } from "lit/decorators/property.js";
|
|
7
7
|
//#region src/dot/dot.ts
|
|
8
8
|
var l = class extends o {
|
|
9
9
|
static {
|
|
10
|
-
this.styles =
|
|
10
|
+
this.styles = r([
|
|
11
11
|
a,
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
t,
|
|
13
|
+
n
|
|
14
14
|
]);
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.metadata = {
|
|
18
18
|
tag: "nve-dot",
|
|
19
|
-
version: "0.2.
|
|
19
|
+
version: "0.2.3"
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
@@ -29,10 +29,10 @@ var l = class extends o {
|
|
|
29
29
|
this.textContent.length ? this._internals.states.add("has-text") : this._internals.states.delete("has-text");
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
|
-
|
|
32
|
+
i([c({
|
|
33
33
|
type: String,
|
|
34
34
|
reflect: !0
|
|
35
|
-
})], l.prototype, "status", void 0),
|
|
35
|
+
})], l.prototype, "status", void 0), i([c({
|
|
36
36
|
type: String,
|
|
37
37
|
reflect: !0
|
|
38
38
|
})], l.prototype, "size", void 0);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { audit as e } from "../internal/controllers/audit.controller.js";
|
|
2
|
+
import { useStyles as t } from "../internal/styles/index.js";
|
|
3
|
+
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import r from "./drawer-content.js";
|
|
5
5
|
import { LitElement as i, html as a } from "lit";
|
|
6
6
|
//#region src/drawer/drawer-content.ts
|
|
7
7
|
var o = class extends i {
|
|
8
8
|
static {
|
|
9
|
-
this.styles =
|
|
9
|
+
this.styles = t([r]);
|
|
10
10
|
}
|
|
11
11
|
static {
|
|
12
12
|
this.metadata = {
|
|
13
13
|
tag: "nve-drawer-content",
|
|
14
|
-
version: "0.2.
|
|
14
|
+
version: "0.2.3",
|
|
15
15
|
parents: ["nve-drawer"]
|
|
16
16
|
};
|
|
17
17
|
}
|
|
@@ -19,7 +19,7 @@ var o = class extends i {
|
|
|
19
19
|
return a`<div internal-host><slot></slot></div>`;
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
|
-
o =
|
|
22
|
+
o = n([e()], o);
|
|
23
23
|
//#endregion
|
|
24
24
|
export { o as DrawerContent };
|
|
25
25
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { audit as e } from "../internal/controllers/audit.controller.js";
|
|
2
|
+
import { useStyles as t } from "../internal/styles/index.js";
|
|
3
|
+
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import r from "./drawer-footer.js";
|
|
5
5
|
import { LitElement as i, html as a } from "lit";
|
|
6
6
|
//#region src/drawer/drawer-footer.ts
|
|
7
7
|
var o = class extends i {
|
|
8
8
|
static {
|
|
9
|
-
this.styles =
|
|
9
|
+
this.styles = t([r]);
|
|
10
10
|
}
|
|
11
11
|
static {
|
|
12
12
|
this.metadata = {
|
|
13
13
|
tag: "nve-drawer-footer",
|
|
14
|
-
version: "0.2.
|
|
14
|
+
version: "0.2.3",
|
|
15
15
|
parents: ["nve-drawer"]
|
|
16
16
|
};
|
|
17
17
|
}
|
|
@@ -22,7 +22,7 @@ var o = class extends i {
|
|
|
22
22
|
super.connectedCallback(), this.slot = "footer";
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
o =
|
|
25
|
+
o = n([e()], o);
|
|
26
26
|
//#endregion
|
|
27
27
|
export { o as DrawerFooter };
|
|
28
28
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { audit as e } from "../internal/controllers/audit.controller.js";
|
|
2
|
+
import { useStyles as t } from "../internal/styles/index.js";
|
|
3
|
+
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import r from "./drawer-header.js";
|
|
5
5
|
import { LitElement as i, html as a } from "lit";
|
|
6
6
|
//#region src/drawer/drawer-header.ts
|
|
7
7
|
var o = class extends i {
|
|
8
8
|
static {
|
|
9
|
-
this.styles =
|
|
9
|
+
this.styles = t([r]);
|
|
10
10
|
}
|
|
11
11
|
static {
|
|
12
12
|
this.metadata = {
|
|
13
13
|
tag: "nve-drawer-header",
|
|
14
|
-
version: "0.2.
|
|
14
|
+
version: "0.2.3",
|
|
15
15
|
parents: ["nve-drawer"]
|
|
16
16
|
};
|
|
17
17
|
}
|
|
@@ -22,7 +22,7 @@ var o = class extends i {
|
|
|
22
22
|
super.connectedCallback(), this.slot = "header";
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
o =
|
|
25
|
+
o = n([e()], o);
|
|
26
26
|
//#endregion
|
|
27
27
|
export { o as DrawerHeader };
|
|
28
28
|
|
package/dist/drawer/drawer2.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { I18nController as e } from "../internal/controllers/i18n.controller.js";
|
|
2
|
+
import { createGhostElement as t } from "../internal/utils/dom.js";
|
|
3
|
+
import { TypeNativePopoverController as n } from "../internal/controllers/type-native-popover.controller.js";
|
|
4
|
+
import { typeSSR as r } from "../internal/controllers/type-ssr.controller.js";
|
|
5
|
+
import { scopedRegistry as i } from "../internal/decorators/scoped-registry.js";
|
|
6
|
+
import { useStyles as a } from "../internal/styles/index.js";
|
|
7
|
+
import { popoverStyles as o } from "../internal/styles/popover2.js";
|
|
8
|
+
import { __decorate as s } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
9
9
|
import { IconButton as c } from "../icon-button/icon-button2.js";
|
|
10
10
|
import l from "./drawer.js";
|
|
11
11
|
import { LitElement as u, html as d } from "lit";
|
|
12
12
|
import { property as f } from "lit/decorators/property.js";
|
|
13
13
|
//#region src/drawer/drawer.ts
|
|
14
14
|
var p = class extends u {
|
|
15
|
-
constructor(...
|
|
16
|
-
super(...
|
|
17
|
-
this.inline && (this.#t &&
|
|
15
|
+
constructor(...r) {
|
|
16
|
+
super(...r), this.position = "left", this.anchor = globalThis.document?.body, this.#e = new e(this), this.i18n = this.#e.i18n, this.typeNativePopoverController = new n(this), this.#n = (e) => {
|
|
17
|
+
this.inline && (this.#t && e.newState === "closed" ? this.#t.remove() : (this.#t = t(this), this.after(this.#t)));
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
#e;
|
|
@@ -25,12 +25,12 @@ var p = class extends u {
|
|
|
25
25
|
return !!this.closable;
|
|
26
26
|
}
|
|
27
27
|
static {
|
|
28
|
-
this.styles =
|
|
28
|
+
this.styles = a([o, l]);
|
|
29
29
|
}
|
|
30
30
|
static {
|
|
31
31
|
this.metadata = {
|
|
32
32
|
tag: "nve-drawer",
|
|
33
|
-
version: "0.2.
|
|
33
|
+
version: "0.2.3"
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
static {
|
|
@@ -48,23 +48,23 @@ var p = class extends u {
|
|
|
48
48
|
}
|
|
49
49
|
#n;
|
|
50
50
|
};
|
|
51
|
-
|
|
51
|
+
s([f({
|
|
52
52
|
type: String,
|
|
53
53
|
reflect: !0
|
|
54
|
-
})], p.prototype, "position", void 0),
|
|
54
|
+
})], p.prototype, "position", void 0), s([f({
|
|
55
55
|
type: String,
|
|
56
56
|
reflect: !0
|
|
57
|
-
})], p.prototype, "size", void 0),
|
|
57
|
+
})], p.prototype, "size", void 0), s([f({ type: Boolean })], p.prototype, "closable", void 0), s([f({
|
|
58
58
|
type: Boolean,
|
|
59
59
|
reflect: !0
|
|
60
|
-
})], p.prototype, "modal", void 0),
|
|
60
|
+
})], p.prototype, "modal", void 0), s([f({ type: String })], p.prototype, "anchor", void 0), s([f({ type: String })], p.prototype, "trigger", void 0), s([f({
|
|
61
61
|
type: Boolean,
|
|
62
62
|
reflect: !0
|
|
63
|
-
})], p.prototype, "inline", void 0),
|
|
63
|
+
})], p.prototype, "inline", void 0), s([f({
|
|
64
64
|
type: Boolean,
|
|
65
65
|
reflect: !0,
|
|
66
66
|
attribute: "behavior-trigger"
|
|
67
|
-
})], p.prototype, "behaviorTrigger", void 0),
|
|
67
|
+
})], p.prototype, "behaviorTrigger", void 0), s([f({ type: Object })], p.prototype, "i18n", void 0), p = s([r(), i()], p);
|
|
68
68
|
//#endregion
|
|
69
69
|
export { p as Drawer };
|
|
70
70
|
|