@limetech/lime-elements 36.1.0-next.13 → 36.1.0-next.15
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/cjs/{checkbox.template-b6c6562c.js → checkbox.template-ac867c17.js} +1 -1
- package/dist/cjs/{index-2a28697b.js → index-287e25e0.js} +424 -246
- package/dist/cjs/lime-elements.cjs.js +3 -3
- package/dist/cjs/limel-badge.cjs.entry.js +2 -1
- package/dist/cjs/limel-banner.cjs.entry.js +3 -1
- package/dist/cjs/limel-button-group.cjs.entry.js +3 -8
- package/dist/cjs/limel-button_2.cjs.entry.js +9 -44
- package/dist/cjs/limel-checkbox.cjs.entry.js +10 -26
- package/dist/cjs/limel-chip-set.cjs.entry.js +20 -51
- package/dist/cjs/limel-circular-progress.cjs.entry.js +3 -14
- package/dist/cjs/limel-code-editor.cjs.entry.js +9 -25
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +4 -5
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js +5 -1
- package/dist/cjs/limel-color-picker.cjs.entry.js +8 -2
- package/dist/cjs/limel-config.cjs.entry.js +2 -1
- package/dist/cjs/limel-date-picker.cjs.entry.js +15 -33
- package/dist/cjs/limel-dialog.cjs.entry.js +3 -11
- package/dist/cjs/limel-dock-button.cjs.entry.js +5 -15
- package/dist/cjs/limel-dock.cjs.entry.js +8 -40
- package/dist/cjs/limel-file.cjs.entry.js +9 -23
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +6 -9
- package/dist/cjs/limel-flex-container.cjs.entry.js +1 -13
- package/dist/cjs/limel-form.cjs.entry.js +6 -8
- package/dist/cjs/limel-grid.cjs.entry.js +1 -1
- package/dist/cjs/limel-header.cjs.entry.js +5 -1
- package/dist/cjs/limel-icon-button.cjs.entry.js +3 -8
- package/dist/cjs/limel-icon.cjs.entry.js +4 -1
- package/dist/cjs/limel-input-field.cjs.entry.js +26 -59
- package/dist/cjs/limel-linear-progress.cjs.entry.js +1 -7
- package/dist/cjs/limel-list_2.cjs.entry.js +9 -18
- package/dist/cjs/limel-menu-list.cjs.entry.js +6 -13
- package/dist/cjs/limel-picker.cjs.entry.js +14 -39
- package/dist/cjs/limel-popover_4.cjs.entry.js +13 -12
- package/dist/cjs/limel-portal.cjs.entry.js +63 -73
- package/dist/cjs/limel-progress-flow-item.cjs.entry.js +4 -13
- package/dist/cjs/limel-progress-flow.cjs.entry.js +4 -20
- package/dist/cjs/limel-select.cjs.entry.js +7 -24
- package/dist/cjs/limel-shortcut.cjs.entry.js +52 -0
- package/dist/cjs/limel-slider.cjs.entry.js +12 -33
- package/dist/cjs/limel-snackbar.cjs.entry.js +6 -4
- package/dist/cjs/limel-spinner.cjs.entry.js +1 -7
- package/dist/cjs/limel-split-button.cjs.entry.js +3 -10
- package/dist/cjs/limel-switch.cjs.entry.js +6 -19
- package/dist/cjs/limel-tab-bar.cjs.entry.js +2 -5
- package/dist/cjs/limel-tab-panel.cjs.entry.js +2 -5
- package/dist/cjs/limel-table.cjs.entry.js +16 -28
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/badge/badge.js +35 -26
- package/dist/collection/components/banner/banner.js +88 -83
- package/dist/collection/components/button/button.js +148 -160
- package/dist/collection/components/button-group/button-group.js +81 -79
- package/dist/collection/components/checkbox/checkbox.js +172 -176
- package/dist/collection/components/checkbox/checkbox.template.js +15 -23
- package/dist/collection/components/chip-set/chip-set.js +486 -528
- package/dist/collection/components/circular-progress/circular-progress.css +5 -3
- package/dist/collection/components/circular-progress/circular-progress.js +106 -114
- package/dist/collection/components/code-editor/code-editor.js +178 -182
- package/dist/collection/components/collapsible-section/collapsible-section.js +120 -124
- package/dist/collection/components/color-picker/color-picker-palette.js +102 -92
- package/dist/collection/components/color-picker/color-picker.js +143 -131
- package/dist/collection/components/config/config.js +21 -17
- package/dist/collection/components/date-picker/date-picker.js +254 -261
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +147 -142
- package/dist/collection/components/date-picker/pickers/QuarterPicker.js +1 -3
- package/dist/collection/components/dialog/dialog.js +134 -142
- package/dist/collection/components/dock/dock-button/dock-button.js +138 -141
- package/dist/collection/components/dock/dock.js +204 -232
- package/dist/collection/components/file/file.js +187 -191
- package/dist/collection/components/flex-container/flex-container.js +96 -102
- package/dist/collection/components/form/form.js +158 -150
- package/dist/collection/components/grid/grid.js +11 -7
- package/dist/collection/components/header/header.js +89 -87
- package/dist/collection/components/icon/icon.js +79 -66
- package/dist/collection/components/icon-button/icon-button.js +85 -85
- package/dist/collection/components/input-field/input-field.js +482 -523
- package/dist/collection/components/linear-progress/linear-progress.js +57 -61
- package/dist/collection/components/list/list-renderer.js +3 -12
- package/dist/collection/components/list/list.js +167 -164
- package/dist/collection/components/list/radio-button/radio-button.template.js +2 -8
- package/dist/collection/components/menu/menu.js +183 -195
- package/dist/collection/components/menu-list/menu-list-renderer.js +2 -9
- package/dist/collection/components/menu-list/menu-list.js +149 -146
- package/dist/collection/components/menu-surface/menu-surface.js +69 -64
- package/dist/collection/components/picker/picker.js +412 -427
- package/dist/collection/components/popover/popover.js +79 -74
- package/dist/collection/components/popover-surface/popover-surface.js +34 -25
- package/dist/collection/components/portal/portal.js +145 -158
- package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.js +90 -94
- package/dist/collection/components/progress-flow/progress-flow.js +93 -101
- package/dist/collection/components/select/select.js +206 -211
- package/dist/collection/components/select/select.template.js +8 -22
- package/dist/collection/components/shortcut/shortcut.css +91 -0
- package/dist/collection/components/shortcut/shortcut.js +194 -0
- package/dist/collection/components/slider/slider.js +233 -264
- package/dist/collection/components/snackbar/snackbar.js +175 -169
- package/dist/collection/components/spinner/spinner.js +56 -85
- package/dist/collection/components/split-button/split-button.js +134 -136
- package/dist/collection/components/switch/switch.js +117 -129
- package/dist/collection/components/tab-bar/tab-bar.js +87 -92
- package/dist/collection/components/tab-panel/tab-panel.js +64 -61
- package/dist/collection/components/table/table.js +447 -457
- package/dist/collection/components/tooltip/tooltip-content.js +70 -61
- package/dist/collection/components/tooltip/tooltip.js +96 -91
- package/dist/esm/{checkbox.template-2f1bbc98.js → checkbox.template-fc7fcd06.js} +1 -1
- package/dist/esm/{index-11cd0b60.js → index-cdfd351d.js} +424 -246
- package/dist/esm/lime-elements.js +3 -3
- package/dist/esm/limel-badge.entry.js +2 -1
- package/dist/esm/limel-banner.entry.js +3 -1
- package/dist/esm/limel-button-group.entry.js +3 -8
- package/dist/esm/limel-button_2.entry.js +9 -44
- package/dist/esm/limel-checkbox.entry.js +10 -26
- package/dist/esm/limel-chip-set.entry.js +20 -51
- package/dist/esm/limel-circular-progress.entry.js +3 -14
- package/dist/esm/limel-code-editor.entry.js +9 -25
- package/dist/esm/limel-collapsible-section.entry.js +4 -5
- package/dist/esm/limel-color-picker-palette.entry.js +5 -1
- package/dist/esm/limel-color-picker.entry.js +8 -2
- package/dist/esm/limel-config.entry.js +2 -1
- package/dist/esm/limel-date-picker.entry.js +15 -33
- package/dist/esm/limel-dialog.entry.js +3 -11
- package/dist/esm/limel-dock-button.entry.js +5 -15
- package/dist/esm/limel-dock.entry.js +8 -40
- package/dist/esm/limel-file.entry.js +9 -23
- package/dist/esm/limel-flatpickr-adapter.entry.js +6 -9
- package/dist/esm/limel-flex-container.entry.js +1 -13
- package/dist/esm/limel-form.entry.js +6 -8
- package/dist/esm/limel-grid.entry.js +1 -1
- package/dist/esm/limel-header.entry.js +5 -1
- package/dist/esm/limel-icon-button.entry.js +3 -8
- package/dist/esm/limel-icon.entry.js +4 -1
- package/dist/esm/limel-input-field.entry.js +26 -59
- package/dist/esm/limel-linear-progress.entry.js +1 -7
- package/dist/esm/limel-list_2.entry.js +9 -18
- package/dist/esm/limel-menu-list.entry.js +6 -13
- package/dist/esm/limel-picker.entry.js +14 -39
- package/dist/esm/limel-popover_4.entry.js +13 -12
- package/dist/esm/limel-portal.entry.js +63 -73
- package/dist/esm/limel-progress-flow-item.entry.js +4 -13
- package/dist/esm/limel-progress-flow.entry.js +4 -20
- package/dist/esm/limel-select.entry.js +7 -24
- package/dist/esm/limel-shortcut.entry.js +48 -0
- package/dist/esm/limel-slider.entry.js +12 -33
- package/dist/esm/limel-snackbar.entry.js +6 -4
- package/dist/esm/limel-spinner.entry.js +1 -7
- package/dist/esm/limel-split-button.entry.js +3 -10
- package/dist/esm/limel-switch.entry.js +6 -19
- package/dist/esm/limel-tab-bar.entry.js +2 -5
- package/dist/esm/limel-tab-panel.entry.js +2 -5
- package/dist/esm/limel-table.entry.js +16 -28
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/p-059e0a64.entry.js +1 -0
- package/dist/lime-elements/{p-440454ed.entry.js → p-06f2f6b4.entry.js} +1 -1
- package/dist/lime-elements/{p-71efe2ca.entry.js → p-0dbde06f.entry.js} +1 -1
- package/dist/lime-elements/p-113d5494.entry.js +1 -0
- package/dist/lime-elements/p-12a7453b.entry.js +73 -0
- package/dist/lime-elements/p-15c2eb16.entry.js +1 -0
- package/dist/lime-elements/{p-c80acfb2.entry.js → p-15ca0d70.entry.js} +4 -4
- package/dist/lime-elements/{p-ed65468d.entry.js → p-16eb9071.entry.js} +1 -1
- package/dist/lime-elements/{p-1ede893b.js → p-1af8258b.js} +1 -1
- package/dist/lime-elements/p-28dffd9e.entry.js +1 -0
- package/dist/lime-elements/p-334b5f82.entry.js +37 -0
- package/dist/lime-elements/p-36a3b897.entry.js +1 -0
- package/dist/lime-elements/{p-6eb07bc3.entry.js → p-4b426b7e.entry.js} +2 -2
- package/dist/lime-elements/p-4eda8b67.entry.js +82 -0
- package/dist/lime-elements/{p-9af0704c.entry.js → p-4fb4e89b.entry.js} +1 -1
- package/dist/lime-elements/{p-a5af84a7.entry.js → p-5338663b.entry.js} +1 -1
- package/dist/lime-elements/p-5ce60a32.entry.js +126 -0
- package/dist/lime-elements/p-5f13035a.entry.js +1 -0
- package/dist/lime-elements/p-600464a9.entry.js +1 -0
- package/dist/lime-elements/{p-ab8b6d81.entry.js → p-6534e16a.entry.js} +1 -1
- package/dist/lime-elements/p-6a4a5ddd.entry.js +1 -0
- package/dist/lime-elements/p-6c38b505.entry.js +1 -0
- package/dist/lime-elements/p-744c21f8.entry.js +1 -0
- package/dist/lime-elements/p-75d01713.entry.js +1 -0
- package/dist/lime-elements/p-768b7cbb.entry.js +1 -0
- package/dist/lime-elements/{p-6e7809a6.entry.js → p-82cd7bb6.entry.js} +1 -1
- package/dist/lime-elements/p-84a137a7.entry.js +1 -0
- package/dist/lime-elements/p-8715eac0.entry.js +1 -0
- package/dist/lime-elements/{p-8827628d.entry.js → p-8fb83e83.entry.js} +2 -2
- package/dist/lime-elements/p-90961075.entry.js +1 -0
- package/dist/lime-elements/p-9984b31c.entry.js +1 -0
- package/dist/lime-elements/p-9bd76629.entry.js +59 -0
- package/dist/lime-elements/p-9f19e0c1.entry.js +1 -0
- package/dist/lime-elements/p-cad7cda1.entry.js +16 -0
- package/dist/lime-elements/{p-104c89e8.entry.js → p-cfaa685f.entry.js} +1 -1
- package/dist/lime-elements/{p-e7447b76.entry.js → p-d1187867.entry.js} +1 -1
- package/dist/lime-elements/{p-aa66620a.entry.js → p-d3ebc657.entry.js} +2 -2
- package/dist/lime-elements/p-d4e788e1.js +2 -0
- package/dist/lime-elements/p-d512656b.entry.js +1 -0
- package/dist/lime-elements/p-d8e5a9ee.entry.js +1 -0
- package/dist/lime-elements/{p-d294266e.entry.js → p-dcd2a664.entry.js} +2 -2
- package/dist/lime-elements/p-de161bb5.entry.js +1 -0
- package/dist/lime-elements/p-e4bca82b.entry.js +1 -0
- package/dist/lime-elements/{p-c15da26d.entry.js → p-e7bb664f.entry.js} +1 -1
- package/dist/lime-elements/p-ef04b849.entry.js +82 -0
- package/dist/loader/package.json +1 -0
- package/dist/types/components/picker/picker.d.ts +2 -2
- package/dist/types/components/shortcut/shortcut.d.ts +57 -0
- package/dist/types/components.d.ts +260 -67
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/package.json +6 -6
- package/dist/lime-elements/p-009de50e.entry.js +0 -1
- package/dist/lime-elements/p-19f72dab.entry.js +0 -1
- package/dist/lime-elements/p-2639edf9.entry.js +0 -73
- package/dist/lime-elements/p-3b0c9885.entry.js +0 -37
- package/dist/lime-elements/p-3cf4aae0.entry.js +0 -1
- package/dist/lime-elements/p-4dc07252.entry.js +0 -82
- package/dist/lime-elements/p-53e01330.entry.js +0 -1
- package/dist/lime-elements/p-5ef52589.entry.js +0 -1
- package/dist/lime-elements/p-629862f4.entry.js +0 -1
- package/dist/lime-elements/p-63e25a0a.entry.js +0 -1
- package/dist/lime-elements/p-6b1bc80f.entry.js +0 -1
- package/dist/lime-elements/p-7c035e6e.entry.js +0 -1
- package/dist/lime-elements/p-93cd2268.entry.js +0 -1
- package/dist/lime-elements/p-95f275ab.entry.js +0 -1
- package/dist/lime-elements/p-995bbd2a.entry.js +0 -1
- package/dist/lime-elements/p-a465084b.entry.js +0 -82
- package/dist/lime-elements/p-ae0e9730.entry.js +0 -126
- package/dist/lime-elements/p-b0046fcd.entry.js +0 -1
- package/dist/lime-elements/p-b0e54dc2.entry.js +0 -1
- package/dist/lime-elements/p-b4de3380.entry.js +0 -1
- package/dist/lime-elements/p-b913df89.entry.js +0 -1
- package/dist/lime-elements/p-d74fa89e.entry.js +0 -1
- package/dist/lime-elements/p-e9a95b8f.js +0 -1
- package/dist/lime-elements/p-eec907ac.entry.js +0 -1
- package/dist/lime-elements/p-f0c9dadd.entry.js +0 -1
- package/dist/lime-elements/p-f0e872b6.entry.js +0 -16
- package/dist/lime-elements/p-f41567a1.entry.js +0 -1
- package/dist/lime-elements/p-f8e5b304.entry.js +0 -59
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-cdfd351d.js';
|
|
2
2
|
import { c as createRandomString } from './random-string-2246b81e.js';
|
|
3
3
|
import { i as isIOSDevice, a as isAndroidDevice } from './device-39db3b5f.js';
|
|
4
4
|
import { D as DateFormatter } from './dateFormatter-784c3334.js';
|
|
@@ -37,38 +37,6 @@ const DatePicker = class {
|
|
|
37
37
|
constructor(hostRef) {
|
|
38
38
|
registerInstance(this, hostRef);
|
|
39
39
|
this.change = createEvent(this, "change", 7);
|
|
40
|
-
/**
|
|
41
|
-
* Set to `true` to disable the field.
|
|
42
|
-
* Use `disabled` to indicate that the field can normally be interacted
|
|
43
|
-
* with, but is currently disabled. This tells the user that if certain
|
|
44
|
-
* requirements are met, the field may become enabled again.
|
|
45
|
-
*/
|
|
46
|
-
this.disabled = false;
|
|
47
|
-
/**
|
|
48
|
-
* Set to `true` to make the field read-only.
|
|
49
|
-
* Use `readonly` when the field is only there to present the data it holds,
|
|
50
|
-
* and will not become possible for the current user to edit.
|
|
51
|
-
*/
|
|
52
|
-
this.readonly = false;
|
|
53
|
-
/**
|
|
54
|
-
* Set to `true` to indicate that the current value of the date picker is
|
|
55
|
-
* invalid.
|
|
56
|
-
*/
|
|
57
|
-
this.invalid = false;
|
|
58
|
-
/**
|
|
59
|
-
* Set to `true` to indicate that the field is required.
|
|
60
|
-
*/
|
|
61
|
-
this.required = false;
|
|
62
|
-
/**
|
|
63
|
-
* Type of date picker.
|
|
64
|
-
*/
|
|
65
|
-
this.type = 'datetime';
|
|
66
|
-
/**
|
|
67
|
-
* Defines the localisation for translations and date formatting.
|
|
68
|
-
* Property `format` customizes the localized date format.
|
|
69
|
-
*/
|
|
70
|
-
this.language = 'en';
|
|
71
|
-
this.showPortal = false;
|
|
72
40
|
this.portalId = `date-picker-calendar-${createRandomString()}`;
|
|
73
41
|
this.documentClickListener = (event) => {
|
|
74
42
|
if (event.type === 'keydown' &&
|
|
@@ -80,6 +48,20 @@ const DatePicker = class {
|
|
|
80
48
|
this.hideCalendar();
|
|
81
49
|
}
|
|
82
50
|
};
|
|
51
|
+
this.disabled = false;
|
|
52
|
+
this.readonly = false;
|
|
53
|
+
this.invalid = false;
|
|
54
|
+
this.label = undefined;
|
|
55
|
+
this.placeholder = undefined;
|
|
56
|
+
this.helperText = undefined;
|
|
57
|
+
this.required = false;
|
|
58
|
+
this.value = undefined;
|
|
59
|
+
this.type = 'datetime';
|
|
60
|
+
this.format = undefined;
|
|
61
|
+
this.language = 'en';
|
|
62
|
+
this.formattedValue = undefined;
|
|
63
|
+
this.internalFormat = undefined;
|
|
64
|
+
this.showPortal = false;
|
|
83
65
|
this.handleCalendarChange = this.handleCalendarChange.bind(this);
|
|
84
66
|
this.handleInputElementChange =
|
|
85
67
|
this.handleInputElementChange.bind(this);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-cdfd351d.js';
|
|
2
2
|
import { d as dispatchResizeEvent } from './dispatch-resize-event-cd1d230c.js';
|
|
3
3
|
import { c as createRandomString } from './random-string-2246b81e.js';
|
|
4
4
|
import { M as MDCFoundation, a as MDCComponent } from './component-410aad5a.js';
|
|
@@ -933,22 +933,14 @@ const Dialog = class {
|
|
|
933
933
|
registerInstance(this, hostRef);
|
|
934
934
|
this.close = createEvent(this, "close", 7);
|
|
935
935
|
this.closing = createEvent(this, "closing", 7);
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
*/
|
|
936
|
+
this.showFooter = true;
|
|
937
|
+
this.heading = undefined;
|
|
939
938
|
this.fullscreen = false;
|
|
940
|
-
/**
|
|
941
|
-
* `true` if the dialog is open, `false` otherwise.
|
|
942
|
-
*/
|
|
943
939
|
this.open = false;
|
|
944
|
-
/**
|
|
945
|
-
* Defines which action triggers a close-event.
|
|
946
|
-
*/
|
|
947
940
|
this.closingActions = {
|
|
948
941
|
escapeKey: true,
|
|
949
942
|
scrimClick: true,
|
|
950
943
|
};
|
|
951
|
-
this.showFooter = true;
|
|
952
944
|
this.handleMdcOpened = this.handleMdcOpened.bind(this);
|
|
953
945
|
this.handleMdcClosed = this.handleMdcClosed.bind(this);
|
|
954
946
|
this.handleMdcClosing = this.handleMdcClosing.bind(this);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-cdfd351d.js';
|
|
2
2
|
import { c as createRandomString } from './random-string-2246b81e.js';
|
|
3
3
|
|
|
4
4
|
const dockButtonCss = ".button{all:unset;cursor:pointer;transition:background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;box-sizing:border-box;display:flex;align-items:center;position:relative;width:100%;height:var(--dock-item-height);border-radius:0.375rem;font-size:0.875rem;padding:0 0.5rem;min-width:var(--dock-item-height);color:var(--limel-dock-item-text-color);background-color:var(--dock-background-color)}.button:hover{box-shadow:var(--button-shadow-hovered)}.button:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}.button:focus{outline:none}.button:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}.button:hover{z-index:1}.button.selected{color:var(--limel-dock-item-text-color--selected);background-color:var(--dock-item-background-color--selected, rgb(var(--contrast-200)));box-shadow:var(--button-shadow-inset)}.button.selected:focus-visible{box-shadow:var(--button-shadow-inset), var(--shadow-depth-8-focused)}.button.selected .icon{color:var(--limel-dock-item-text--selected)}limel-popover{display:grid;grid-template-columns:100%}.text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-left:0.5rem;padding-right:0.75rem}.icon{flex-shrink:0;width:calc(var(--dock-item-height) - 1rem);height:calc(var(--dock-item-height) - 1rem);color:var(--dock-item-icon-color, var(--limel-dock-item-text-color))}";
|
|
@@ -9,20 +9,6 @@ const DockButton = class {
|
|
|
9
9
|
this.itemSelected = createEvent(this, "itemSelected", 7);
|
|
10
10
|
this.menuOpen = createEvent(this, "menuOpen", 7);
|
|
11
11
|
this.close = createEvent(this, "close", 7);
|
|
12
|
-
/**
|
|
13
|
-
* When the dock is expanded or collapsed, dock items
|
|
14
|
-
* show labels and tooltips as suitable for the layout.
|
|
15
|
-
*/
|
|
16
|
-
this.expanded = false;
|
|
17
|
-
/**
|
|
18
|
-
* When dock is using mobile layout, dock items
|
|
19
|
-
* show labels and tooltips as suitable for the layout.
|
|
20
|
-
*/
|
|
21
|
-
this.useMobileLayout = false;
|
|
22
|
-
/**
|
|
23
|
-
* Indicated whether the popover that renders a component is open.
|
|
24
|
-
*/
|
|
25
|
-
this.isOpen = false;
|
|
26
12
|
this.openPopover = (event) => {
|
|
27
13
|
event.stopPropagation();
|
|
28
14
|
this.isOpen = true;
|
|
@@ -45,6 +31,10 @@ const DockButton = class {
|
|
|
45
31
|
(_c = this.customComponentElement) === null || _c === void 0 ? void 0 : _c.focus();
|
|
46
32
|
}
|
|
47
33
|
};
|
|
34
|
+
this.item = undefined;
|
|
35
|
+
this.expanded = false;
|
|
36
|
+
this.useMobileLayout = false;
|
|
37
|
+
this.isOpen = false;
|
|
48
38
|
this.tooltipId = createRandomString();
|
|
49
39
|
}
|
|
50
40
|
render() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-cdfd351d.js';
|
|
2
2
|
|
|
3
3
|
const dockCss = ":host(limel-dock){--dock-item-height:2.75rem;--dock-padding:0.25rem;--dock-expand-shrink-button-height:1rem;--limel-dock-item-text-color:var(\n --dock-item-text-color,\n rgb(var(--contrast-1100))\n );--limel-dock-item-text-color--selected:var(\n --dock-item-text-color--selected,\n rgb(var(--contrast-1300))\n );isolation:isolate;position:relative;display:inline-flex;flex-direction:column;background-color:var(--dock-background-color, rgb(var(--contrast-100)));box-shadow:0.1875rem 0 0.375rem -0.125rem rgba(var(--color-black), 0.15), 0.1875rem 0 0.625rem -0.125rem rgba(var(--color-black), 0.05)}:host(limel-dock:not(.has-mobile-layout)){height:100%;width:calc(var(--dock-padding) * 2 + var(--dock-item-height))}:host(limel-dock.expanded){width:var(--dock-expanded-max-width, max-content)}.footer-separator{margin-top:auto;justify-self:flex-end}nav{box-sizing:border-box;display:inline-flex;flex-direction:column;gap:0.375rem;flex-grow:1;padding:var(--dock-padding);overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none}nav::-webkit-scrollbar{display:none}:host(limel-dock.has-mobile-layout) nav{justify-content:space-between;flex-direction:row}.expand-shrink{all:unset;box-sizing:border-box;transition:background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;cursor:pointer;display:flex;justify-content:center;align-items:center;height:var(--dock-expand-shrink-button-height);padding:0 0.5rem;margin:var(--dock-padding);border-radius:0.375rem}.expand-shrink:hover{box-shadow:var(--button-shadow-hovered)}.expand-shrink:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}.expand-shrink:focus{outline:none}.expand-shrink:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}.expand-shrink.expanded{justify-content:flex-end}.expand-shrink.expanded limel-icon{transform:rotateY(180deg)}.expand-shrink limel-icon{width:calc(var(--dock-expand-shrink-button-height) - 0.25rem);color:var(--dock-item-icon-color, var(--limel-dock-item-text-color))}";
|
|
4
4
|
|
|
@@ -10,45 +10,6 @@ const Dock = class {
|
|
|
10
10
|
this.menuOpen = createEvent(this, "menuOpen", 7);
|
|
11
11
|
this.close = createEvent(this, "close", 7);
|
|
12
12
|
this.dockExpanded = createEvent(this, "dockExpanded", 7);
|
|
13
|
-
/**
|
|
14
|
-
* Items that are placed in the dock.
|
|
15
|
-
*/
|
|
16
|
-
this.dockItems = [];
|
|
17
|
-
/**
|
|
18
|
-
* Items that are placed at the bottom of the dock. (Or at the end in mobile
|
|
19
|
-
* layout.)
|
|
20
|
-
*/
|
|
21
|
-
this.dockFooterItems = [];
|
|
22
|
-
/**
|
|
23
|
-
* Defines the width of the component, when it loads.
|
|
24
|
-
* - `true`: shows both icons and labels of the Dock items.
|
|
25
|
-
* - `false`: only shows icons of the doc items, and displays
|
|
26
|
-
* their labels as tooltip.
|
|
27
|
-
*
|
|
28
|
-
* Note: when `useMobileLayout` is `true`, labels will always
|
|
29
|
-
* be shown as tooltips. Read more below…
|
|
30
|
-
*/
|
|
31
|
-
this.expanded = false;
|
|
32
|
-
/**
|
|
33
|
-
* Set to `false` if you do not want to allow end-users
|
|
34
|
-
* to exapnd or shrink the Dock. This will hide the
|
|
35
|
-
* expand/shrink button, and the only things that defines
|
|
36
|
-
* the layout will be the `expanded` property, and
|
|
37
|
-
* the `mobileBreakPoint`.
|
|
38
|
-
*/
|
|
39
|
-
this.allowResize = true;
|
|
40
|
-
/**
|
|
41
|
-
* Defines the breakpoint in pixles, at which the component will be rendered
|
|
42
|
-
* in a hoizontal layout. Default breakpoint is `700` pixels, which means
|
|
43
|
-
* when the screen size is smaller than `700px`, the component will automatically
|
|
44
|
-
* switch to a horizontal layout.
|
|
45
|
-
*/
|
|
46
|
-
this.mobileBreakPoint = DEFAULT_MOBILE_BREAKPOINT;
|
|
47
|
-
/**
|
|
48
|
-
* Is used to render the component horizontally, and place
|
|
49
|
-
* the Dock items in a row.
|
|
50
|
-
*/
|
|
51
|
-
this.useMobileLayout = false;
|
|
52
13
|
this.renderSeparator = () => {
|
|
53
14
|
return this.useMobileLayout ? null : h("span", { class: "footer-separator" });
|
|
54
15
|
};
|
|
@@ -70,6 +31,13 @@ const Dock = class {
|
|
|
70
31
|
this.expanded = !this.expanded;
|
|
71
32
|
this.dockExpanded.emit(this.expanded);
|
|
72
33
|
};
|
|
34
|
+
this.dockItems = [];
|
|
35
|
+
this.dockFooterItems = [];
|
|
36
|
+
this.accessibleLabel = undefined;
|
|
37
|
+
this.expanded = false;
|
|
38
|
+
this.allowResize = true;
|
|
39
|
+
this.mobileBreakPoint = DEFAULT_MOBILE_BREAKPOINT;
|
|
40
|
+
this.useMobileLayout = false;
|
|
73
41
|
}
|
|
74
42
|
componentDidLoad() {
|
|
75
43
|
this.resizeObserver = new ResizeObserver(this.handleResize);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-cdfd351d.js';
|
|
2
2
|
import { t as translate } from './translations-0d0ee941.js';
|
|
3
3
|
import { c as createRandomString } from './random-string-2246b81e.js';
|
|
4
4
|
import { M as MDCTextField } from './component-288691f3.js';
|
|
@@ -402,28 +402,6 @@ const File = class {
|
|
|
402
402
|
registerInstance(this, hostRef);
|
|
403
403
|
this.change = createEvent(this, "change", 7);
|
|
404
404
|
this.interact = createEvent(this, "interact", 7);
|
|
405
|
-
/**
|
|
406
|
-
* Set to `true` to indicate that the field is required.
|
|
407
|
-
*/
|
|
408
|
-
this.required = false;
|
|
409
|
-
/**
|
|
410
|
-
* True if the input should be disabled
|
|
411
|
-
*/
|
|
412
|
-
this.disabled = false;
|
|
413
|
-
/**
|
|
414
|
-
* Set to `true` to disable adding and removing files, but allow interaction
|
|
415
|
-
* with any already existing file.
|
|
416
|
-
*/
|
|
417
|
-
this.readonly = false;
|
|
418
|
-
/**
|
|
419
|
-
* The [accepted file types](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#unique_file_type_specifiers)
|
|
420
|
-
*/
|
|
421
|
-
this.accept = '*';
|
|
422
|
-
/**
|
|
423
|
-
* Defines the localisation for translations.
|
|
424
|
-
*/
|
|
425
|
-
this.language = 'en';
|
|
426
|
-
this.isDraggingOverDropZone = false;
|
|
427
405
|
this.fileInputId = createRandomString();
|
|
428
406
|
this.handleDragEnter = (event) => {
|
|
429
407
|
this.isDraggingOverDropZone = true;
|
|
@@ -438,6 +416,14 @@ const File = class {
|
|
|
438
416
|
const dataTransfer = event.dataTransfer;
|
|
439
417
|
this.handleFile(dataTransfer.files[0]);
|
|
440
418
|
};
|
|
419
|
+
this.value = undefined;
|
|
420
|
+
this.label = undefined;
|
|
421
|
+
this.required = false;
|
|
422
|
+
this.disabled = false;
|
|
423
|
+
this.readonly = false;
|
|
424
|
+
this.accept = '*';
|
|
425
|
+
this.language = 'en';
|
|
426
|
+
this.isDraggingOverDropZone = false;
|
|
441
427
|
this.handleFileSelection = this.handleFileSelection.bind(this);
|
|
442
428
|
this.handleFileChange = this.handleFileChange.bind(this);
|
|
443
429
|
this.handleChipSetChange = this.handleChipSetChange.bind(this);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-cdfd351d.js';
|
|
2
2
|
import { t as translate } from './translations-0d0ee941.js';
|
|
3
3
|
import { c as createCommonjsModule, a as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-5ec8f9b7.js';
|
|
4
4
|
import { D as DateFormatter } from './dateFormatter-784c3334.js';
|
|
@@ -7558,16 +7558,13 @@ const DatePickerCalendar = class {
|
|
|
7558
7558
|
constructor(hostRef) {
|
|
7559
7559
|
registerInstance(this, hostRef);
|
|
7560
7560
|
this.change = createEvent(this, "change", 7);
|
|
7561
|
-
|
|
7562
|
-
|
|
7563
|
-
*/
|
|
7561
|
+
this.flatPickrCreated = false;
|
|
7562
|
+
this.value = undefined;
|
|
7564
7563
|
this.type = 'datetime';
|
|
7565
|
-
|
|
7566
|
-
|
|
7567
|
-
|
|
7568
|
-
*/
|
|
7564
|
+
this.format = undefined;
|
|
7565
|
+
this.isOpen = undefined;
|
|
7566
|
+
this.inputElement = undefined;
|
|
7569
7567
|
this.language = 'en';
|
|
7570
|
-
this.flatPickrCreated = false;
|
|
7571
7568
|
}
|
|
7572
7569
|
componentWillLoad() {
|
|
7573
7570
|
switch (this.type) {
|
|
@@ -1,25 +1,13 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-cdfd351d.js';
|
|
2
2
|
|
|
3
3
|
const flexContainerCss = ":host(limel-flex-container){display:flex}:host(limel-flex-container[hidden]){display:none}:host(limel-flex-container[direction=horizontal]){flex-direction:row}:host(limel-flex-container[direction=horizontal][reverse]){flex-direction:row-reverse}:host(limel-flex-container[direction=vertical]){flex-direction:column}:host(limel-flex-container[direction=vertical][reverse]){flex-direction:column-reverse}:host(limel-flex-container[align=start]){align-items:flex-start}:host(limel-flex-container[align=end]){align-items:flex-end}:host(limel-flex-container[align=center]){align-items:center}:host(limel-flex-container[align=stretch]){align-items:stretch}:host(limel-flex-container[justify=start]){justify-content:flex-start}:host(limel-flex-container[justify=end]){justify-content:flex-end}:host(limel-flex-container[justify=center]){justify-content:center}:host(limel-flex-container[justify=space-between]){justify-content:space-between}:host(limel-flex-container[justify=space-around]){justify-content:space-around}:host(limel-flex-container[justify=space-evenly]){justify-content:space-evenly}:host(limel-flex-container[slot=button]){gap:0.5rem;width:100%;justify-content:flex-end}:host(limel-flex-container[slot=button][direction=horizontal][reverse]){justify-content:flex-start}";
|
|
4
4
|
|
|
5
5
|
const FlexContainer = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
|
-
/**
|
|
9
|
-
* Direction of the main axis
|
|
10
|
-
*/
|
|
11
8
|
this.direction = 'horizontal';
|
|
12
|
-
/**
|
|
13
|
-
* Specify how items are aligned along the main axis
|
|
14
|
-
*/
|
|
15
9
|
this.justify = 'space-between';
|
|
16
|
-
/**
|
|
17
|
-
* Specify how items are aligned along the cross axis
|
|
18
|
-
*/
|
|
19
10
|
this.align = 'center';
|
|
20
|
-
/**
|
|
21
|
-
* Reverse the order of the items
|
|
22
|
-
*/
|
|
23
11
|
this.reverse = false;
|
|
24
12
|
}
|
|
25
13
|
componentWillLoad() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h as h$1, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h as h$1, g as getElement } from './index-cdfd351d.js';
|
|
2
2
|
import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-5ec8f9b7.js';
|
|
3
3
|
import { k as keys$5, g as getTag$1, m as mapToArray$1, a as isBuffer, b as isTypedArray$1, c as isArguments$3, d as isPrototype$1, e as baseKeys$1, S as Set$2, s as setToArray$1, f as SetCache$1, h as cacheHas$1, i as isEqual$1 } from './isEqual-c5a636a4.js';
|
|
4
4
|
import { i as isArray$4 } from './isArray-80298bc7.js';
|
|
@@ -29515,15 +29515,13 @@ const Form = class {
|
|
|
29515
29515
|
registerInstance(this, hostRef);
|
|
29516
29516
|
this.change = createEvent(this, "change", 7);
|
|
29517
29517
|
this.validate = createEvent(this, "validate", 7);
|
|
29518
|
-
|
|
29519
|
-
* The schema used to render the form
|
|
29520
|
-
*/
|
|
29518
|
+
this.isValid = true;
|
|
29521
29519
|
this.schema = {};
|
|
29522
|
-
|
|
29523
|
-
* Set to `true` to disable the whole form.
|
|
29524
|
-
*/
|
|
29520
|
+
this.value = undefined;
|
|
29525
29521
|
this.disabled = false;
|
|
29526
|
-
this.
|
|
29522
|
+
this.propsFactory = undefined;
|
|
29523
|
+
this.transformErrors = undefined;
|
|
29524
|
+
this.errors = undefined;
|
|
29527
29525
|
this.handleChange = this.handleChange.bind(this);
|
|
29528
29526
|
this.getCustomErrorMessages = this.getCustomErrorMessages.bind(this);
|
|
29529
29527
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-cdfd351d.js';
|
|
2
2
|
|
|
3
3
|
const gridCss = ":host{display:block;position:relative}:host([hidden]){display:none}slot{display:grid;grid-template-areas:var(--lime-grid-area, \"\");grid-template-columns:repeat(var(--lime-grid-columns, 4), minmax(0, 1fr));gap:var(--lime-grid-gutter, 1rem);grid-auto-flow:row dense;grid-auto-rows:var(--lime-grid-cell-height, 2.5rem);margin:0;height:100%;width:100%}";
|
|
4
4
|
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-cdfd351d.js';
|
|
2
2
|
|
|
3
3
|
const headerCss = ":host(limel-header){display:flex;align-items:center;box-sizing:border-box;width:100%;background-color:var(--header-background-color, rgb(var(--contrast-300)));border-top-left-radius:var(--header-top-right-left-border-radius, 0.75rem);border-top-right-radius:var(--header-top-right-left-border-radius, 0.75rem);padding:0.25rem}.information{display:flex;flex-grow:1;align-items:center;min-width:0}.icon{flex-shrink:0;color:var(--header-icon-color, rgb(var(--contrast-1100)));background-color:var(--header-icon-background-color, transparent);width:1.75rem;margin:0 0.5rem}.headings{min-width:0;margin-left:0.25rem}.heading,.subheading{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0;padding:0}.heading{color:var(--header-heading-color, rgb(var(--contrast-1100)));font-size:1.0625rem}.subheading{color:var(--header-subheading-color, rgb(var(--contrast-900)));font-size:0.875rem;font-weight:lighter}.subheading__supporting-text{color:var(--header-supporting-text-color, var(--header-subheading-color))}.subheading__supporting-text span{margin:0 0.5rem;font-weight:bold}.actions{flex-shrink:0}:host(limel-header.is-narrow){padding:0.125rem 0.25rem}:host(limel-header.is-narrow) .icon{margin-right:0.125rem;width:1.25rem}:host(limel-header.is-narrow) .heading{font-size:0.9375rem}:host(limel-header.has-responsive-layout){display:grid;grid-template-columns:repeat(auto-fit, minmax(clamp(50%, var(--header-responsive-breakpoint, 22rem), 100%), 1fr))}:host(limel-header.has-responsive-layout) .headings{padding-right:0.5rem}:host(limel-header.has-responsive-layout) .actions{display:flex;justify-content:flex-end}";
|
|
4
4
|
|
|
5
5
|
const Header = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
|
+
this.icon = undefined;
|
|
9
|
+
this.heading = undefined;
|
|
10
|
+
this.subheading = undefined;
|
|
11
|
+
this.supportingText = undefined;
|
|
8
12
|
}
|
|
9
13
|
render() {
|
|
10
14
|
return [
|
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-cdfd351d.js';
|
|
2
2
|
|
|
3
3
|
const iconButtonCss = ".mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button.mdc-icon-button--reduced-size{width:40px;height:40px;padding:8px}.mdc-icon-button.mdc-icon-button--reduced-size.mdc-icon-button--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-disabled-on-light, rgba(0, 0, 0, 0.38))}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:transparent;fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--touch{margin-top:0px;margin-bottom:0px}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-icon-button{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity}.mdc-icon-button .mdc-icon-button__ripple::before,.mdc-icon-button .mdc-icon-button__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-icon-button .mdc-icon-button__ripple::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-icon-button .mdc-icon-button__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-icon-button.mdc-ripple-upgraded .mdc-icon-button__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-icon-button.mdc-ripple-upgraded .mdc-icon-button__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-icon-button.mdc-ripple-upgraded--unbounded .mdc-icon-button__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-icon-button.mdc-ripple-upgraded--foreground-activation .mdc-icon-button__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.mdc-icon-button.mdc-ripple-upgraded--foreground-deactivation .mdc-icon-button__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-icon-button .mdc-icon-button__ripple::before,.mdc-icon-button .mdc-icon-button__ripple::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-icon-button.mdc-ripple-upgraded .mdc-icon-button__ripple::before,.mdc-icon-button.mdc-ripple-upgraded .mdc-icon-button__ripple::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-icon-button.mdc-ripple-upgraded .mdc-icon-button__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-icon-button .mdc-icon-button__ripple::before,.mdc-icon-button .mdc-icon-button__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-icon-button:hover .mdc-icon-button__ripple::before,.mdc-icon-button.mdc-ripple-surface--hover .mdc-icon-button__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-icon-button:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-icon-button:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-icon-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-icon-button .mdc-icon-button__ripple{pointer-events:none;z-index:1}:host([hidden]){display:none}:host([disabled]){pointer-events:none}.mdc-icon-button{transition:background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:2.25rem;width:2.25rem;padding:0.125rem;border-radius:50%;background-color:var(--icon-background-color, transparent)}.mdc-icon-button:hover{box-shadow:var(--button-shadow-hovered)}.mdc-icon-button:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}:host([elevated]) .mdc-icon-button:not(:hover):not(:active):not(:focus-visible){box-shadow:var(--button-shadow-normal)}.mdc-icon-button:disabled{color:var(--mdc-theme-text-disabled-on-background)}.mdc-icon-button:focus-visible{box-shadow:var(--shadow-depth-8-focused);border-radius:50%}limel-icon{width:1.25rem;height:1.25rem}";
|
|
4
4
|
|
|
5
5
|
const IconButton = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
|
-
|
|
9
|
-
* Set to `true` to give the button our standard "elevated" look, lifting
|
|
10
|
-
* it off the flat layout.
|
|
11
|
-
*/
|
|
8
|
+
this.icon = undefined;
|
|
12
9
|
this.elevated = false;
|
|
13
|
-
|
|
14
|
-
* Set to `true` to disable the button.
|
|
15
|
-
*/
|
|
10
|
+
this.label = undefined;
|
|
16
11
|
this.disabled = false;
|
|
17
12
|
}
|
|
18
13
|
connectedCallback() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-cdfd351d.js';
|
|
2
2
|
import { c as config } from './config-f7362aeb.js';
|
|
3
3
|
|
|
4
4
|
class IconCache {
|
|
@@ -84,6 +84,9 @@ const iconCss = ":host{background-color:var(--icon-background-color, transparent
|
|
|
84
84
|
const Icon = class {
|
|
85
85
|
constructor(hostRef) {
|
|
86
86
|
registerInstance(this, hostRef);
|
|
87
|
+
this.size = undefined;
|
|
88
|
+
this.name = undefined;
|
|
89
|
+
this.badge = undefined;
|
|
87
90
|
}
|
|
88
91
|
componentDidLoad() {
|
|
89
92
|
this.loadIcon(this.name);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-cdfd351d.js';
|
|
2
2
|
import { c as TAB_KEY_CODE, T as TAB, A as ARROW_UP, e as ARROW_UP_KEY_CODE, f as ARROW_DOWN, g as ARROW_DOWN_KEY_CODE, b as ESCAPE, E as ENTER, d as ESCAPE_KEY_CODE, a as ENTER_KEY_CODE, S as SPACE, h as SPACE_KEY_CODE } from './keycodes-9f971b46.js';
|
|
3
3
|
import { g as getHref, a as getTarget } from './link-helper-b08fe56c.js';
|
|
4
4
|
import { c as createRandomString } from './random-string-2246b81e.js';
|
|
@@ -226,64 +226,6 @@ const InputField = class {
|
|
|
226
226
|
registerInstance(this, hostRef);
|
|
227
227
|
this.change = createEvent(this, "change", 7);
|
|
228
228
|
this.action = createEvent(this, "action", 7);
|
|
229
|
-
/**
|
|
230
|
-
* Set to `true` to disable the field.
|
|
231
|
-
* Use `disabled` to indicate that the field can normally be interacted
|
|
232
|
-
* with, but is currently disabled. This tells the user that if certain
|
|
233
|
-
* requirements are met, the field may become enabled again.
|
|
234
|
-
*/
|
|
235
|
-
this.disabled = false;
|
|
236
|
-
/**
|
|
237
|
-
* Set to `true` to make the field read-only.
|
|
238
|
-
* Use `readonly` when the field is only there to present the data it holds,
|
|
239
|
-
* and will not become possible for the current user to edit.
|
|
240
|
-
*/
|
|
241
|
-
this.readonly = false;
|
|
242
|
-
/**
|
|
243
|
-
* Set to `true` to indicate that the current value of the input field is
|
|
244
|
-
* invalid.
|
|
245
|
-
*/
|
|
246
|
-
this.invalid = false;
|
|
247
|
-
/**
|
|
248
|
-
* Set to `true` to indicate that the field is required.
|
|
249
|
-
*/
|
|
250
|
-
this.required = false;
|
|
251
|
-
/**
|
|
252
|
-
* Type of input.
|
|
253
|
-
*
|
|
254
|
-
* Note** regarding type `url`: `limel-input` uses the native validation
|
|
255
|
-
* built into the browser for many types of input fields. The native
|
|
256
|
-
* validation for `url` is very strict, and does not allow relative urls,
|
|
257
|
-
* nor any other formats that are not a "fully qualified" url. To allow
|
|
258
|
-
* such urls, use the type `urlAsText` instead. `urlAsText` works exactly
|
|
259
|
-
* like `text` in all regards, except that it enables use of the `showLink`
|
|
260
|
-
* property.
|
|
261
|
-
*/
|
|
262
|
-
this.type = 'text';
|
|
263
|
-
/**
|
|
264
|
-
* Set to `true` to format the current value of the input field only
|
|
265
|
-
* if the field is of type number.
|
|
266
|
-
* The number format is determined by the current language of the browser.
|
|
267
|
-
*/
|
|
268
|
-
this.formatNumber = true;
|
|
269
|
-
/**
|
|
270
|
-
* Incremental values that are valid if the field type is `number`.
|
|
271
|
-
*/
|
|
272
|
-
this.step = 'any';
|
|
273
|
-
/**
|
|
274
|
-
* list of suggestions `value` can autocomplete to.
|
|
275
|
-
*/
|
|
276
|
-
this.completions = [];
|
|
277
|
-
/**
|
|
278
|
-
* For inputs of type `email`, `tel`, `url`, and `urlAsText`, set this to
|
|
279
|
-
* `true` to show a trailing icon with a `mailto:`,`tel:`, or normal link,
|
|
280
|
-
* respectively. The default icon can be overridden using the `trailingIcon`
|
|
281
|
-
* property.
|
|
282
|
-
*/
|
|
283
|
-
this.showLink = false;
|
|
284
|
-
this.isFocused = false;
|
|
285
|
-
this.isModified = false;
|
|
286
|
-
this.showCompletions = false;
|
|
287
229
|
this.completionsList = [];
|
|
288
230
|
this.initialize = () => {
|
|
289
231
|
const element = this.limelInputField.shadowRoot.querySelector('.mdc-text-field');
|
|
@@ -685,6 +627,31 @@ const InputField = class {
|
|
|
685
627
|
// circumstances when the value is changed by the scrolling.
|
|
686
628
|
// Please test THOROUGHLY if you remove this event handler 😄
|
|
687
629
|
};
|
|
630
|
+
this.disabled = false;
|
|
631
|
+
this.readonly = false;
|
|
632
|
+
this.invalid = false;
|
|
633
|
+
this.label = undefined;
|
|
634
|
+
this.placeholder = undefined;
|
|
635
|
+
this.helperText = undefined;
|
|
636
|
+
this.prefix = undefined;
|
|
637
|
+
this.suffix = undefined;
|
|
638
|
+
this.required = false;
|
|
639
|
+
this.value = undefined;
|
|
640
|
+
this.trailingIcon = undefined;
|
|
641
|
+
this.leadingIcon = undefined;
|
|
642
|
+
this.pattern = undefined;
|
|
643
|
+
this.type = 'text';
|
|
644
|
+
this.formatNumber = true;
|
|
645
|
+
this.step = 'any';
|
|
646
|
+
this.max = undefined;
|
|
647
|
+
this.min = undefined;
|
|
648
|
+
this.maxlength = undefined;
|
|
649
|
+
this.minlength = undefined;
|
|
650
|
+
this.completions = [];
|
|
651
|
+
this.showLink = false;
|
|
652
|
+
this.isFocused = false;
|
|
653
|
+
this.isModified = false;
|
|
654
|
+
this.showCompletions = false;
|
|
688
655
|
const debounceTimeout = 300;
|
|
689
656
|
this.changeEmitter = debounce(this.changeEmitter, debounceTimeout);
|
|
690
657
|
this.portalId = createRandomString();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-cdfd351d.js';
|
|
2
2
|
import { M as MDCFoundation, a as MDCComponent } from './component-410aad5a.js';
|
|
3
3
|
import { g as getCorrectPropertyName } from './util-f1bde91c.js';
|
|
4
4
|
|
|
@@ -428,13 +428,7 @@ const linearProgressCss = ":host{--mdc-theme-primary:var(\n --lime-primary-
|
|
|
428
428
|
const LinearProgress = class {
|
|
429
429
|
constructor(hostRef) {
|
|
430
430
|
registerInstance(this, hostRef);
|
|
431
|
-
/**
|
|
432
|
-
* The value of the progress bar. Should be between `0` and `1`.
|
|
433
|
-
*/
|
|
434
431
|
this.value = 0;
|
|
435
|
-
/**
|
|
436
|
-
* Puts the progress bar in an indeterminate state
|
|
437
|
-
*/
|
|
438
432
|
this.indeterminate = false;
|
|
439
433
|
}
|
|
440
434
|
connectedCallback() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h, r as registerInstance, c as createEvent, g as getElement, H as Host } from './index-
|
|
1
|
+
import { h, r as registerInstance, c as createEvent, g as getElement, H as Host } from './index-cdfd351d.js';
|
|
2
2
|
import { d as MDCList, s as strings, b as MDCMenuSurface, C as Corner } from './component-fffa3419.js';
|
|
3
|
-
import { C as CheckboxTemplate } from './checkbox.template-
|
|
3
|
+
import { C as CheckboxTemplate } from './checkbox.template-fc7fcd06.js';
|
|
4
4
|
import { M as MDCRipple } from './component-5b4ac85a.js';
|
|
5
5
|
import { i as isDescendant } from './dom-0f79cbe7.js';
|
|
6
6
|
import { b as ESCAPE, d as ESCAPE_KEY_CODE, T as TAB, c as TAB_KEY_CODE } from './keycodes-9f971b46.js';
|
|
@@ -234,18 +234,6 @@ const List = class {
|
|
|
234
234
|
registerInstance(this, hostRef);
|
|
235
235
|
this.change = createEvent(this, "change", 7);
|
|
236
236
|
this.select = createEvent(this, "select", 7);
|
|
237
|
-
/**
|
|
238
|
-
* Size of the icons in the list
|
|
239
|
-
*/
|
|
240
|
-
this.iconSize = 'small';
|
|
241
|
-
/**
|
|
242
|
-
* By default, lists will display 3 lines of text, and then truncate the rest.
|
|
243
|
-
* Consumers can increase or decrease this number by specifying
|
|
244
|
-
* `maxLinesSecondaryText`. If consumer enters zero or negative
|
|
245
|
-
* numbers we default to 1; and if they type decimals we round up.
|
|
246
|
-
*/
|
|
247
|
-
// eslint-disable-next-line no-magic-numbers
|
|
248
|
-
this.maxLinesSecondaryText = 3;
|
|
249
237
|
this.listRenderer = new ListRenderer();
|
|
250
238
|
this.setup = () => {
|
|
251
239
|
this.setupList();
|
|
@@ -323,6 +311,11 @@ const List = class {
|
|
|
323
311
|
this.isListItem = (item) => {
|
|
324
312
|
return !('separator' in item);
|
|
325
313
|
};
|
|
314
|
+
this.items = undefined;
|
|
315
|
+
this.badgeIcons = undefined;
|
|
316
|
+
this.iconSize = 'small';
|
|
317
|
+
this.type = undefined;
|
|
318
|
+
this.maxLinesSecondaryText = 3;
|
|
326
319
|
}
|
|
327
320
|
connectedCallback() {
|
|
328
321
|
this.setup();
|
|
@@ -386,10 +379,6 @@ const MenuSurface = class {
|
|
|
386
379
|
constructor(hostRef) {
|
|
387
380
|
registerInstance(this, hostRef);
|
|
388
381
|
this.dismiss = createEvent(this, "dismiss", 7);
|
|
389
|
-
/**
|
|
390
|
-
* True if the menu surface is open, false otherwise
|
|
391
|
-
*/
|
|
392
|
-
this.open = false;
|
|
393
382
|
this.setup = () => {
|
|
394
383
|
const menuElement = this.host.shadowRoot.querySelector('.mdc-menu-surface');
|
|
395
384
|
if (!menuElement) {
|
|
@@ -474,6 +463,8 @@ const MenuSurface = class {
|
|
|
474
463
|
this.dismiss.emit();
|
|
475
464
|
}
|
|
476
465
|
};
|
|
466
|
+
this.open = false;
|
|
467
|
+
this.allowClicksElement = undefined;
|
|
477
468
|
}
|
|
478
469
|
connectedCallback() {
|
|
479
470
|
this.setup();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, r as registerInstance, c as createEvent, g as getElement } from './index-
|
|
1
|
+
import { h, r as registerInstance, c as createEvent, g as getElement } from './index-cdfd351d.js';
|
|
2
2
|
import { M as MDCMenuSurfaceFoundation, c as cssClasses$1, a as MDCListFoundation, n as numbers$1, b as MDCMenuSurface, d as MDCList, s as strings$1 } from './component-fffa3419.js';
|
|
3
3
|
import { M as MDCFoundation, a as MDCComponent } from './component-410aad5a.js';
|
|
4
4
|
import { c as closest } from './ponyfill-30263d5e.js';
|
|
@@ -766,18 +766,6 @@ const MenuList = class {
|
|
|
766
766
|
constructor(hostRef) {
|
|
767
767
|
registerInstance(this, hostRef);
|
|
768
768
|
this.select = createEvent(this, "select", 7);
|
|
769
|
-
/**
|
|
770
|
-
* Size of the icons in the list
|
|
771
|
-
*/
|
|
772
|
-
this.iconSize = 'small';
|
|
773
|
-
/**
|
|
774
|
-
* By default, lists will display 3 lines of text, and then truncate the rest.
|
|
775
|
-
* Consumers can increase or decrease this number by specifying
|
|
776
|
-
* `maxLinesSecondaryText`. If consumer enters zero or negative
|
|
777
|
-
* numbers we default to 1; and if they type decimals we round up.
|
|
778
|
-
*/
|
|
779
|
-
// eslint-disable-next-line no-magic-numbers
|
|
780
|
-
this.maxLinesSecondaryText = 3;
|
|
781
769
|
this.MenuListRenderer = new MenuListRenderer();
|
|
782
770
|
this.setup = () => {
|
|
783
771
|
this.setupMenu();
|
|
@@ -831,6 +819,11 @@ const MenuList = class {
|
|
|
831
819
|
this.isMenuItem = (item) => {
|
|
832
820
|
return !('separator' in item);
|
|
833
821
|
};
|
|
822
|
+
this.items = undefined;
|
|
823
|
+
this.badgeIcons = undefined;
|
|
824
|
+
this.iconSize = 'small';
|
|
825
|
+
this.type = undefined;
|
|
826
|
+
this.maxLinesSecondaryText = 3;
|
|
834
827
|
}
|
|
835
828
|
connectedCallback() {
|
|
836
829
|
this.setup();
|