@kubex/zinc 2.0.1 → 2.0.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/dist/custom-elements.json +373 -320
- package/dist/vscode.html-custom-data.json +30 -30
- package/dist/web-types.json +78 -78
- package/dist/zn.d.ts +11 -6
- package/dist/zn.min.js +323 -308
- package/package.json +1 -1
- package/src/components/button/button.component.ts +2 -2
- package/src/components/button/button.test.ts +7 -0
- package/src/components/chart/chart.component.ts +1 -1
- package/src/components/data-table/data-table.component.ts +48 -21
- package/src/components/data-table/data-table.scss +26 -8
- package/src/components/data-table/data-table.test.ts +54 -1
- package/src/components/editor/modules/dialog/dialog.test.ts +1 -1
- package/src/components/expanding-action/expanding-action.component.ts +1 -1
- package/src/components/filter-wrapper/filter-wrapper.component.ts +1 -1
- package/src/components/inline-edit/inline-edit.component.ts +1 -2
- package/src/components/inline-edit/inline-edit.scss +20 -20
- package/src/components/input/input.component.ts +38 -2
- package/src/components/input/input.scss +68 -4
- package/src/components/input/input.test.ts +1 -1
- package/src/components/nav-list/nav-list.test.ts +1 -1
- package/src/components/navbar/navbar.component.ts +14 -8
- package/src/components/panel/panel.component.ts +1 -1
- package/src/components/priority-list/priority-list.test.ts +1 -1
- package/src/components/split-pane/split-pane.component.ts +1 -1
- package/src/components/tabs/tabs.component.ts +2 -2
|
@@ -2771,7 +2771,7 @@
|
|
|
2771
2771
|
},
|
|
2772
2772
|
{
|
|
2773
2773
|
"name": "no-spin-buttons",
|
|
2774
|
-
"description": "Hides the
|
|
2774
|
+
"description": "Hides the increment/decrement buttons on number inputs *",
|
|
2775
2775
|
"values": []
|
|
2776
2776
|
},
|
|
2777
2777
|
{
|
|
@@ -3679,6 +3679,14 @@
|
|
|
3679
3679
|
}
|
|
3680
3680
|
]
|
|
3681
3681
|
},
|
|
3682
|
+
{
|
|
3683
|
+
"name": "zn-pane",
|
|
3684
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
3685
|
+
"attributes": [{ "name": "flush", "values": [] }],
|
|
3686
|
+
"references": [
|
|
3687
|
+
{ "name": "Documentation", "url": "https://zinc.style/components/pane" }
|
|
3688
|
+
]
|
|
3689
|
+
},
|
|
3682
3690
|
{
|
|
3683
3691
|
"name": "zn-pagination",
|
|
3684
3692
|
"description": "Pagination component for navigating through pages of content.\n---\n",
|
|
@@ -3695,14 +3703,6 @@
|
|
|
3695
3703
|
}
|
|
3696
3704
|
]
|
|
3697
3705
|
},
|
|
3698
|
-
{
|
|
3699
|
-
"name": "zn-pane",
|
|
3700
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
3701
|
-
"attributes": [{ "name": "flush", "values": [] }],
|
|
3702
|
-
"references": [
|
|
3703
|
-
{ "name": "Documentation", "url": "https://zinc.style/components/pane" }
|
|
3704
|
-
]
|
|
3705
|
-
},
|
|
3706
3706
|
{
|
|
3707
3707
|
"name": "zn-panel",
|
|
3708
3708
|
"description": "Panels are versatile containers that provide structure for organizing content with optional headers and footers.\n---\n\n\n### **Slots:**\n - _default_ - The panel's main content.\n- **actions** - Actions displayed in the panel header (buttons, chips, etc).\n- **footer** - Content displayed in the panel footer.\n\n### **CSS Properties:**\n - **--zn-panel-basis** - The flex-basis of the panel. Can be set using the basis-px attribute. _(default: undefined)_\n- **--zn-panel-header-padding** - Padding around the header row. Defaults to `--zn-base-gap`. _(default: undefined)_\n- **--zn-panel-footer-padding** - Padding around the footer row. _(default: undefined)_\n- **--zn-panel-padding** - Padding around the body. Defaults to `--zn-base-gap`. _(default: undefined)_\n- **--zn-panel-shadow** - Resting shadow. Defaults to none. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **header** - The header region, when a caption or actions are given.\n- **header-content** - The padded row inside the header, forwarded from zn-header.\n- **header-left** - The caption and description, forwarded from zn-header.\n- **footer** - The footer region, when the footer slot is filled.",
|
|
@@ -4432,6 +4432,27 @@
|
|
|
4432
4432
|
}
|
|
4433
4433
|
]
|
|
4434
4434
|
},
|
|
4435
|
+
{
|
|
4436
|
+
"name": "zn-reveal",
|
|
4437
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
4438
|
+
"attributes": [
|
|
4439
|
+
{ "name": "duration", "values": [] },
|
|
4440
|
+
{ "name": "initial", "values": [] },
|
|
4441
|
+
{ "name": "revealed", "values": [] },
|
|
4442
|
+
{ "name": "hide-delay", "values": [] },
|
|
4443
|
+
{
|
|
4444
|
+
"name": "no-toggle",
|
|
4445
|
+
"description": "Disables click-to-toggle so the value is only revealed on hover. Clicks still bubble to the parent.",
|
|
4446
|
+
"values": []
|
|
4447
|
+
}
|
|
4448
|
+
],
|
|
4449
|
+
"references": [
|
|
4450
|
+
{
|
|
4451
|
+
"name": "Documentation",
|
|
4452
|
+
"url": "https://zinc.style/components/reveal"
|
|
4453
|
+
}
|
|
4454
|
+
]
|
|
4455
|
+
},
|
|
4435
4456
|
{
|
|
4436
4457
|
"name": "zn-report-table",
|
|
4437
4458
|
"description": "A grouped report: one row per value of a dimension, read column by column, with a total row.\n---\n\n\n### **Events:**\n - **zn-report-change** - Emitted when the type, group by, date range or filter is changed, before the report is fetched again.\n\n### **Slots:**\n - **inputs** - Inputs whose name and value are sent with every request (csrf tokens and similar).\n- **empty-state** - Replaces the default empty state.",
|
|
@@ -4505,27 +4526,6 @@
|
|
|
4505
4526
|
}
|
|
4506
4527
|
]
|
|
4507
4528
|
},
|
|
4508
|
-
{
|
|
4509
|
-
"name": "zn-reveal",
|
|
4510
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
4511
|
-
"attributes": [
|
|
4512
|
-
{ "name": "duration", "values": [] },
|
|
4513
|
-
{ "name": "initial", "values": [] },
|
|
4514
|
-
{ "name": "revealed", "values": [] },
|
|
4515
|
-
{ "name": "hide-delay", "values": [] },
|
|
4516
|
-
{
|
|
4517
|
-
"name": "no-toggle",
|
|
4518
|
-
"description": "Disables click-to-toggle so the value is only revealed on hover. Clicks still bubble to the parent.",
|
|
4519
|
-
"values": []
|
|
4520
|
-
}
|
|
4521
|
-
],
|
|
4522
|
-
"references": [
|
|
4523
|
-
{
|
|
4524
|
-
"name": "Documentation",
|
|
4525
|
-
"url": "https://zinc.style/components/reveal"
|
|
4526
|
-
}
|
|
4527
|
-
]
|
|
4528
|
-
},
|
|
4529
4529
|
{
|
|
4530
4530
|
"name": "zn-schedule-builder",
|
|
4531
4531
|
"description": "Builds a weekly opening-hours schedule as a drag-to-paint calendar or a compact list of\ntime ranges, and posts the result as JSON.\n---\n\n\n### **Events:**\n - **zn-change** - Emitted when the schedule changes.\n\n### **Methods:**\n - **checkValidity(): _boolean_** - Checks validity but does not show a validation message.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **setDay(day: _ScheduleDay_, ranges: _ScheduleRange[]_)** - Replaces the hours for a single day, in the save timezone.\n- **getDay(day: _ScheduleDay_): _ScheduleRange[]_** - Reads the hours for a single day, in the save timezone.\n- **setDisplayDay(day: _ScheduleDay_, ranges: _ScheduleRange[]_)** - Replaces the hours for a single day, given in the display timezone.\n\n### **Slots:**\n - **label** - The schedule's label. Alternatively, use the `label` attribute.\n- **help-text** - Text that describes how to use the schedule. Alternatively, use the `help-text` attribute.\n\n### **CSS Properties:**\n - **--slot-height** - The height of a single time slot in the calendar. Defaults to `18px`. _(default: undefined)_\n- **--gutter-width** - The width of the calendar's time gutter. Defaults to `64px`. _(default: undefined)_\n- **--open-color** - The fill used for open hours. _(default: undefined)_\n- **--reduced-color** - The fill used for hours an exception removes. _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the builder, label and help text.\n- **base** - The component's base wrapper.\n- **toolbar** - The row above the builder holding the hint, legend and view toggle.\n- **calendar** - The calendar view wrapper.\n- **list** - The form (list) view wrapper.\n- **summary** - The summary panel beside the calendar.",
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@kubex/zinc",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.3",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -6211,7 +6211,7 @@
|
|
|
6211
6211
|
},
|
|
6212
6212
|
{
|
|
6213
6213
|
"name": "no-spin-buttons",
|
|
6214
|
-
"description": "Hides the
|
|
6214
|
+
"description": "Hides the increment/decrement buttons on number inputs *",
|
|
6215
6215
|
"value": { "type": "boolean", "default": "false" }
|
|
6216
6216
|
},
|
|
6217
6217
|
{
|
|
@@ -6526,7 +6526,7 @@
|
|
|
6526
6526
|
},
|
|
6527
6527
|
{
|
|
6528
6528
|
"name": "noSpinButtons",
|
|
6529
|
-
"description": "Hides the
|
|
6529
|
+
"description": "Hides the increment/decrement buttons on number inputs *",
|
|
6530
6530
|
"type": "boolean"
|
|
6531
6531
|
},
|
|
6532
6532
|
{
|
|
@@ -8547,27 +8547,6 @@
|
|
|
8547
8547
|
]
|
|
8548
8548
|
}
|
|
8549
8549
|
},
|
|
8550
|
-
{
|
|
8551
|
-
"name": "zn-pagination",
|
|
8552
|
-
"description": "Pagination component for navigating through pages of content.\n\n---\n",
|
|
8553
|
-
"doc-url": "",
|
|
8554
|
-
"attributes": [
|
|
8555
|
-
{ "name": "limit", "value": { "type": "number", "default": "10" } },
|
|
8556
|
-
{ "name": "total", "value": { "type": "number", "default": "0" } },
|
|
8557
|
-
{ "name": "page", "value": { "type": "number", "default": "1" } },
|
|
8558
|
-
{ "name": "uri", "value": { "type": "string", "default": "\"\"" } }
|
|
8559
|
-
],
|
|
8560
|
-
"events": [],
|
|
8561
|
-
"js": {
|
|
8562
|
-
"properties": [
|
|
8563
|
-
{ "name": "limit", "type": "number" },
|
|
8564
|
-
{ "name": "total", "type": "number" },
|
|
8565
|
-
{ "name": "page", "type": "number" },
|
|
8566
|
-
{ "name": "uri", "type": "string" }
|
|
8567
|
-
],
|
|
8568
|
-
"events": []
|
|
8569
|
-
}
|
|
8570
|
-
},
|
|
8571
8550
|
{
|
|
8572
8551
|
"name": "zn-pane",
|
|
8573
8552
|
"description": "Short summary of the component's intended use.\n\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
@@ -8590,6 +8569,27 @@
|
|
|
8590
8569
|
]
|
|
8591
8570
|
}
|
|
8592
8571
|
},
|
|
8572
|
+
{
|
|
8573
|
+
"name": "zn-pagination",
|
|
8574
|
+
"description": "Pagination component for navigating through pages of content.\n\n---\n",
|
|
8575
|
+
"doc-url": "",
|
|
8576
|
+
"attributes": [
|
|
8577
|
+
{ "name": "limit", "value": { "type": "number", "default": "10" } },
|
|
8578
|
+
{ "name": "total", "value": { "type": "number", "default": "0" } },
|
|
8579
|
+
{ "name": "page", "value": { "type": "number", "default": "1" } },
|
|
8580
|
+
{ "name": "uri", "value": { "type": "string", "default": "\"\"" } }
|
|
8581
|
+
],
|
|
8582
|
+
"events": [],
|
|
8583
|
+
"js": {
|
|
8584
|
+
"properties": [
|
|
8585
|
+
{ "name": "limit", "type": "number" },
|
|
8586
|
+
{ "name": "total", "type": "number" },
|
|
8587
|
+
{ "name": "page", "type": "number" },
|
|
8588
|
+
{ "name": "uri", "type": "string" }
|
|
8589
|
+
],
|
|
8590
|
+
"events": []
|
|
8591
|
+
}
|
|
8592
|
+
},
|
|
8593
8593
|
{
|
|
8594
8594
|
"name": "zn-panel",
|
|
8595
8595
|
"description": "Panels are versatile containers that provide structure for organizing content with optional headers and footers.\n\n---\n\n\n### **Slots:**\n - _default_ - The panel's main content.\n- **actions** - Actions displayed in the panel header (buttons, chips, etc).\n- **footer** - Content displayed in the panel footer.\n\n### **CSS Properties:**\n - **--zn-panel-basis** - The flex-basis of the panel. Can be set using the basis-px attribute. _(default: undefined)_\n- **--zn-panel-header-padding** - Padding around the header row. Defaults to `--zn-base-gap`. _(default: undefined)_\n- **--zn-panel-footer-padding** - Padding around the footer row. _(default: undefined)_\n- **--zn-panel-padding** - Padding around the body. Defaults to `--zn-base-gap`. _(default: undefined)_\n- **--zn-panel-shadow** - Resting shadow. Defaults to none. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **header** - The header region, when a caption or actions are given.\n- **header-content** - The padded row inside the header, forwarded from zn-header.\n- **header-left** - The caption and description, forwarded from zn-header.\n- **footer** - The footer region, when the footer slot is filled.",
|
|
@@ -10152,6 +10152,60 @@
|
|
|
10152
10152
|
]
|
|
10153
10153
|
}
|
|
10154
10154
|
},
|
|
10155
|
+
{
|
|
10156
|
+
"name": "zn-reveal",
|
|
10157
|
+
"description": "Short summary of the component's intended use.\n\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
10158
|
+
"doc-url": "",
|
|
10159
|
+
"attributes": [
|
|
10160
|
+
{
|
|
10161
|
+
"name": "duration",
|
|
10162
|
+
"value": { "type": "number", "default": "2000" }
|
|
10163
|
+
},
|
|
10164
|
+
{
|
|
10165
|
+
"name": "initial",
|
|
10166
|
+
"value": { "type": "string", "default": "''" }
|
|
10167
|
+
},
|
|
10168
|
+
{
|
|
10169
|
+
"name": "revealed",
|
|
10170
|
+
"value": { "type": "string", "default": "''" }
|
|
10171
|
+
},
|
|
10172
|
+
{
|
|
10173
|
+
"name": "hide-delay",
|
|
10174
|
+
"value": { "type": "number", "default": "150" }
|
|
10175
|
+
},
|
|
10176
|
+
{
|
|
10177
|
+
"name": "no-toggle",
|
|
10178
|
+
"description": "Disables click-to-toggle so the value is only revealed on hover. Clicks still bubble to the parent.",
|
|
10179
|
+
"value": { "type": "boolean", "default": "false" }
|
|
10180
|
+
}
|
|
10181
|
+
],
|
|
10182
|
+
"slots": [
|
|
10183
|
+
{ "name": "", "description": "The default slot." },
|
|
10184
|
+
{ "name": "example", "description": "An example slot." }
|
|
10185
|
+
],
|
|
10186
|
+
"events": [
|
|
10187
|
+
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
10188
|
+
],
|
|
10189
|
+
"js": {
|
|
10190
|
+
"properties": [
|
|
10191
|
+
{ "name": "duration", "type": "number" },
|
|
10192
|
+
{ "name": "initial", "type": "string" },
|
|
10193
|
+
{ "name": "revealed", "type": "string" },
|
|
10194
|
+
{ "name": "hideDelay", "type": "number" },
|
|
10195
|
+
{
|
|
10196
|
+
"name": "noToggle",
|
|
10197
|
+
"description": "Disables click-to-toggle so the value is only revealed on hover. Clicks still bubble to the parent.",
|
|
10198
|
+
"type": "boolean"
|
|
10199
|
+
}
|
|
10200
|
+
],
|
|
10201
|
+
"events": [
|
|
10202
|
+
{
|
|
10203
|
+
"name": "zn-event-name",
|
|
10204
|
+
"description": "Emitted as an example."
|
|
10205
|
+
}
|
|
10206
|
+
]
|
|
10207
|
+
}
|
|
10208
|
+
},
|
|
10155
10209
|
{
|
|
10156
10210
|
"name": "zn-report-table",
|
|
10157
10211
|
"description": "A grouped report: one row per value of a dimension, read column by column, with a total row.\n\n---\n\n\n### **Events:**\n - **zn-report-change** - Emitted when the type, group by, date range or filter is changed, before the report is fetched again.\n\n### **Slots:**\n - **inputs** - Inputs whose name and value are sent with every request (csrf tokens and similar).\n- **empty-state** - Replaces the default empty state.",
|
|
@@ -10325,60 +10379,6 @@
|
|
|
10325
10379
|
]
|
|
10326
10380
|
}
|
|
10327
10381
|
},
|
|
10328
|
-
{
|
|
10329
|
-
"name": "zn-reveal",
|
|
10330
|
-
"description": "Short summary of the component's intended use.\n\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
10331
|
-
"doc-url": "",
|
|
10332
|
-
"attributes": [
|
|
10333
|
-
{
|
|
10334
|
-
"name": "duration",
|
|
10335
|
-
"value": { "type": "number", "default": "2000" }
|
|
10336
|
-
},
|
|
10337
|
-
{
|
|
10338
|
-
"name": "initial",
|
|
10339
|
-
"value": { "type": "string", "default": "''" }
|
|
10340
|
-
},
|
|
10341
|
-
{
|
|
10342
|
-
"name": "revealed",
|
|
10343
|
-
"value": { "type": "string", "default": "''" }
|
|
10344
|
-
},
|
|
10345
|
-
{
|
|
10346
|
-
"name": "hide-delay",
|
|
10347
|
-
"value": { "type": "number", "default": "150" }
|
|
10348
|
-
},
|
|
10349
|
-
{
|
|
10350
|
-
"name": "no-toggle",
|
|
10351
|
-
"description": "Disables click-to-toggle so the value is only revealed on hover. Clicks still bubble to the parent.",
|
|
10352
|
-
"value": { "type": "boolean", "default": "false" }
|
|
10353
|
-
}
|
|
10354
|
-
],
|
|
10355
|
-
"slots": [
|
|
10356
|
-
{ "name": "", "description": "The default slot." },
|
|
10357
|
-
{ "name": "example", "description": "An example slot." }
|
|
10358
|
-
],
|
|
10359
|
-
"events": [
|
|
10360
|
-
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
10361
|
-
],
|
|
10362
|
-
"js": {
|
|
10363
|
-
"properties": [
|
|
10364
|
-
{ "name": "duration", "type": "number" },
|
|
10365
|
-
{ "name": "initial", "type": "string" },
|
|
10366
|
-
{ "name": "revealed", "type": "string" },
|
|
10367
|
-
{ "name": "hideDelay", "type": "number" },
|
|
10368
|
-
{
|
|
10369
|
-
"name": "noToggle",
|
|
10370
|
-
"description": "Disables click-to-toggle so the value is only revealed on hover. Clicks still bubble to the parent.",
|
|
10371
|
-
"type": "boolean"
|
|
10372
|
-
}
|
|
10373
|
-
],
|
|
10374
|
-
"events": [
|
|
10375
|
-
{
|
|
10376
|
-
"name": "zn-event-name",
|
|
10377
|
-
"description": "Emitted as an example."
|
|
10378
|
-
}
|
|
10379
|
-
]
|
|
10380
|
-
}
|
|
10381
|
-
},
|
|
10382
10382
|
{
|
|
10383
10383
|
"name": "zn-schedule-builder",
|
|
10384
10384
|
"description": "Builds a weekly opening-hours schedule as a drag-to-paint calendar or a compact list of\ntime ranges, and posts the result as JSON.\n\n---\n\n\n### **Events:**\n - **zn-change** - Emitted when the schedule changes.\n\n### **Methods:**\n - **checkValidity(): _boolean_** - Checks validity but does not show a validation message.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **setDay(day: _ScheduleDay_, ranges: _ScheduleRange[]_)** - Replaces the hours for a single day, in the save timezone.\n- **getDay(day: _ScheduleDay_): _ScheduleRange[]_** - Reads the hours for a single day, in the save timezone.\n- **setDisplayDay(day: _ScheduleDay_, ranges: _ScheduleRange[]_)** - Replaces the hours for a single day, given in the display timezone.\n\n### **Slots:**\n - **label** - The schedule's label. Alternatively, use the `label` attribute.\n- **help-text** - Text that describes how to use the schedule. Alternatively, use the `help-text` attribute.\n\n### **CSS Properties:**\n - **--slot-height** - The height of a single time slot in the calendar. Defaults to `18px`. _(default: undefined)_\n- **--gutter-width** - The width of the calendar's time gutter. Defaults to `64px`. _(default: undefined)_\n- **--open-color** - The fill used for open hours. _(default: undefined)_\n- **--reduced-color** - The fill used for hours an exception removes. _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the builder, label and help text.\n- **base** - The component's base wrapper.\n- **toolbar** - The row above the builder holding the hint, legend and view toggle.\n- **calendar** - The calendar view wrapper.\n- **list** - The form (list) view wrapper.\n- **summary** - The summary panel beside the calendar.",
|
package/dist/zn.d.ts
CHANGED
|
@@ -2863,7 +2863,7 @@ declare module "components/input/input.component" {
|
|
|
2863
2863
|
passwordToggle: boolean;
|
|
2864
2864
|
/** Determines whether or no the password is currently visible. Only applies to password types **/
|
|
2865
2865
|
passwordVisible: boolean;
|
|
2866
|
-
/** Hides the
|
|
2866
|
+
/** Hides the increment/decrement buttons on number inputs **/
|
|
2867
2867
|
noSpinButtons: boolean;
|
|
2868
2868
|
/**
|
|
2869
2869
|
* The format a colour input writes its value in. Typing a colour in another format, or working in another format's
|
|
@@ -2980,6 +2980,9 @@ declare module "components/input/input.component" {
|
|
|
2980
2980
|
private handleInvalid;
|
|
2981
2981
|
private syncEmailDisplay;
|
|
2982
2982
|
private handleKeyDown;
|
|
2983
|
+
/** Whether the value has reached `limit`; `direction` 1 checks a maximum, -1 a minimum. */
|
|
2984
|
+
private isAtLimit;
|
|
2985
|
+
private handleStep;
|
|
2983
2986
|
private handlePasswordToggle;
|
|
2984
2987
|
private handleColorSwatchClick;
|
|
2985
2988
|
private openColorPanel;
|
|
@@ -4588,16 +4591,16 @@ declare module "components/data-table/data-table.component" {
|
|
|
4588
4591
|
import ZnDropdown from "components/dropdown/index";
|
|
4589
4592
|
import ZnEmptyState from "components/empty-state/index";
|
|
4590
4593
|
import ZnHoverContainer from "components/hover-container/index";
|
|
4591
|
-
import ZnMenu from "components/menu/index";
|
|
4592
|
-
import ZnMenuItem from "components/menu-item/index";
|
|
4593
|
-
import ZnPanel from "components/panel/index";
|
|
4594
|
-
import ZnSkeleton from "components/skeleton/index";
|
|
4595
|
-
import ZnStyle from "components/style/index";
|
|
4596
4594
|
import ZnIcon from "components/icon/index";
|
|
4597
4595
|
import ZnInput from "components/input/index";
|
|
4596
|
+
import ZnMenu from "components/menu/index";
|
|
4597
|
+
import ZnMenuItem from "components/menu-item/index";
|
|
4598
4598
|
import ZnOptGroup from "components/opt-group/index";
|
|
4599
4599
|
import ZnOption from "components/option/index";
|
|
4600
|
+
import ZnPanel from "components/panel/index";
|
|
4600
4601
|
import ZnSelect from "components/select/index";
|
|
4602
|
+
import ZnSkeleton from "components/skeleton/index";
|
|
4603
|
+
import ZnStyle from "components/style/index";
|
|
4601
4604
|
interface Cell {
|
|
4602
4605
|
text: string;
|
|
4603
4606
|
subText?: string;
|
|
@@ -4884,6 +4887,7 @@ declare module "components/data-table/data-table.component" {
|
|
|
4884
4887
|
connectedCallback(): void;
|
|
4885
4888
|
protected firstUpdated(): void;
|
|
4886
4889
|
protected updated(changed: PropertyValues): void;
|
|
4890
|
+
private syncPageIndicator;
|
|
4887
4891
|
private publishFilterSuggestions;
|
|
4888
4892
|
private getTemplate;
|
|
4889
4893
|
disconnectedCallback(): void;
|
|
@@ -6341,6 +6345,7 @@ declare module "components/navbar/navbar.component" {
|
|
|
6341
6345
|
private _indicator;
|
|
6342
6346
|
private _indicatorFrame;
|
|
6343
6347
|
private _indicatorTab;
|
|
6348
|
+
private _indicatorStripWidth;
|
|
6344
6349
|
private _indicatorTarget;
|
|
6345
6350
|
private _expandable;
|
|
6346
6351
|
private readonly _lightDomClones;
|