@limetech/lime-elements 36.0.0-next.2 → 36.0.0-next.22
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/{dateFormatter-05d80b12.js → dateFormatter-d7a8d40d.js} +1 -1
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/limel-button.cjs.entry.js +32 -16
- package/dist/cjs/limel-chip-set.cjs.entry.js +1 -3
- package/dist/cjs/limel-code-editor.cjs.entry.js +1588 -2
- package/dist/cjs/{limel-color-picker-palette_2.cjs.entry.js → limel-color-picker-palette.cjs.entry.js} +0 -112
- package/dist/cjs/limel-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/limel-dock-button.cjs.entry.js +86 -0
- package/dist/cjs/limel-dock.cjs.entry.js +104 -0
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +5 -11
- package/dist/cjs/limel-form.cjs.entry.js +1 -1
- package/dist/cjs/limel-icon-button.cjs.entry.js +2 -35
- package/dist/cjs/limel-input-field.cjs.entry.js +13 -6
- package/dist/cjs/{limel-list_3.cjs.entry.js → limel-list_2.cjs.entry.js} +0 -2018
- package/dist/cjs/limel-popover_4.cjs.entry.js +239 -0
- package/dist/cjs/limel-portal.cjs.entry.js +2024 -0
- package/dist/cjs/limel-select.cjs.entry.js +4 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{moment-5cfac5cd.js → moment-d1e35cdc.js} +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/button/button.css +40 -4
- package/dist/collection/components/button/button.js +56 -20
- package/dist/collection/components/chip-set/chip-set.js +1 -3
- package/dist/collection/components/code-editor/code-editor.css +153 -1
- package/dist/collection/components/code-editor/code-editor.js +82 -2
- package/dist/collection/components/date-picker/date-picker.js +18 -1
- package/dist/collection/components/date-picker/pickers/MonthPicker.js +1 -3
- package/dist/collection/components/date-picker/pickers/QuarterPicker.js +1 -3
- package/dist/collection/components/date-picker/pickers/YearPicker.js +1 -3
- package/dist/collection/components/dock/dock-button/dock-button.css +72 -0
- package/dist/collection/components/dock/dock-button/dock-button.js +204 -0
- package/dist/collection/components/dock/dock.css +107 -0
- package/dist/collection/components/dock/dock.js +300 -0
- package/dist/collection/components/dock/dock.types.js +1 -0
- package/dist/collection/components/icon-button/icon-button.css +21 -20
- package/dist/collection/components/icon-button/icon-button.js +2 -52
- package/dist/collection/components/input-field/input-field.js +32 -7
- package/dist/collection/components/select/select.css +8 -10
- package/dist/collection/components/select/select.template.js +3 -4
- package/dist/collection/style/internal/codemirror-tooltip.scss +19 -0
- package/dist/esm/{dateFormatter-2cad0292.js → dateFormatter-784c3334.js} +1 -1
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/limel-button.entry.js +33 -17
- package/dist/esm/limel-chip-set.entry.js +1 -3
- package/dist/esm/limel-code-editor.entry.js +1588 -2
- package/dist/esm/{limel-color-picker-palette_2.entry.js → limel-color-picker-palette.entry.js} +2 -113
- package/dist/esm/limel-date-picker.entry.js +3 -3
- package/dist/esm/limel-dock-button.entry.js +82 -0
- package/dist/esm/limel-dock.entry.js +100 -0
- package/dist/esm/limel-flatpickr-adapter.entry.js +5 -11
- package/dist/esm/limel-form.entry.js +1 -1
- package/dist/esm/limel-icon-button.entry.js +2 -35
- package/dist/esm/limel-input-field.entry.js +13 -6
- package/dist/esm/{limel-list_3.entry.js → limel-list_2.entry.js} +1 -2018
- package/dist/esm/limel-popover_4.entry.js +232 -0
- package/dist/esm/limel-portal.entry.js +2020 -0
- package/dist/esm/limel-select.entry.js +4 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{moment-367e51c5.js → moment-faa8a4a8.js} +2 -2
- package/dist/lime-elements/lime-elements.css +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/p-009de50e.entry.js +1 -0
- package/dist/lime-elements/p-0aedee4b.entry.js +1 -0
- package/dist/lime-elements/{p-7e571ec6.entry.js → p-0ba0c38a.entry.js} +1 -1
- package/dist/lime-elements/{p-08251941.entry.js → p-19f72dab.entry.js} +1 -1
- package/dist/lime-elements/p-1dfccbc5.entry.js +1 -0
- package/dist/lime-elements/p-212895da.entry.js +1 -0
- package/dist/lime-elements/p-457cf741.entry.js +37 -0
- package/dist/lime-elements/p-6b1bc80f.entry.js +1 -0
- package/dist/lime-elements/{p-d76f896d.js → p-73df4d83.js} +1 -1
- package/dist/lime-elements/p-93cd2268.entry.js +1 -0
- package/dist/lime-elements/p-93f42a32.entry.js +1 -0
- package/dist/lime-elements/p-945afca2.js +3 -0
- package/dist/lime-elements/p-aaa11eb2.entry.js +1 -0
- package/dist/lime-elements/p-bd098a11.entry.js +1 -0
- package/dist/lime-elements/{p-af0ec482.entry.js → p-c544c05b.entry.js} +1 -1
- package/dist/lime-elements/p-f41567a1.entry.js +1 -0
- package/dist/lime-elements/style/internal/codemirror-tooltip.scss +19 -0
- package/dist/types/components/button/button.d.ts +10 -3
- package/dist/types/components/code-editor/code-editor.d.ts +14 -0
- package/dist/types/components/date-picker/date-picker.d.ts +4 -0
- package/dist/types/components/dock/dock-button/dock-button.d.ts +48 -0
- package/dist/types/components/dock/dock.d.ts +83 -0
- package/dist/types/components/dock/dock.types.d.ts +53 -0
- package/dist/types/components/icon-button/icon-button.d.ts +0 -11
- package/dist/types/components/input-field/input-field.d.ts +6 -0
- package/dist/types/components.d.ts +167 -4
- package/dist/types/interface.d.ts +1 -0
- package/package.json +5 -5
- package/dist/cjs/limel-popover-surface.cjs.entry.js +0 -32
- package/dist/cjs/limel-tooltip_2.cjs.entry.js +0 -102
- package/dist/esm/limel-popover-surface.entry.js +0 -28
- package/dist/esm/limel-tooltip_2.entry.js +0 -97
- package/dist/lime-elements/p-22569fb6.entry.js +0 -1
- package/dist/lime-elements/p-3af5f9ad.js +0 -3
- package/dist/lime-elements/p-404e1465.entry.js +0 -1
- package/dist/lime-elements/p-6966b5df.entry.js +0 -1
- package/dist/lime-elements/p-705334c1.entry.js +0 -1
- package/dist/lime-elements/p-75152d89.entry.js +0 -1
- package/dist/lime-elements/p-7ee4b825.entry.js +0 -1
- package/dist/lime-elements/p-87453b45.entry.js +0 -1
- package/dist/lime-elements/p-bd8c9384.entry.js +0 -1
- package/dist/lime-elements/p-d1ee4501.entry.js +0 -37
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { InputType } from './input-field.types';
|
|
2
2
|
/**
|
|
3
3
|
* @exampleComponent limel-example-input-field-text
|
|
4
|
+
* @exampleComponent limel-example-input-field-placeholder
|
|
4
5
|
* @exampleComponent limel-example-input-field-text-multiple
|
|
5
6
|
* @exampleComponent limel-example-input-field-number
|
|
6
7
|
* @exampleComponent limel-example-input-field-autocomplete
|
|
@@ -39,6 +40,10 @@ export declare class InputField {
|
|
|
39
40
|
* The input label.
|
|
40
41
|
*/
|
|
41
42
|
label: string;
|
|
43
|
+
/**
|
|
44
|
+
* The placeholder text shown inside the input field, when the field is focused and empty.
|
|
45
|
+
*/
|
|
46
|
+
placeholder: string;
|
|
42
47
|
/**
|
|
43
48
|
* Optional helper text to display below the input field when it has focus
|
|
44
49
|
*/
|
|
@@ -170,6 +175,7 @@ export declare class InputField {
|
|
|
170
175
|
private renderCharacterCounter;
|
|
171
176
|
private isInvalid;
|
|
172
177
|
private getInputElement;
|
|
178
|
+
private renderLabel;
|
|
173
179
|
private renderLeadingIcon;
|
|
174
180
|
private renderTrailingLinkOrButton;
|
|
175
181
|
private hasLink;
|
|
@@ -10,6 +10,7 @@ import { Action as Action1, Chip, ClosingActions, DateType, DialogHeading, FileI
|
|
|
10
10
|
import { CircularProgressSize } from "./components/circular-progress/circular-progress.types";
|
|
11
11
|
import { ColorScheme, Language } from "./components/code-editor/code-editor.types";
|
|
12
12
|
import { Action } from "./components/collapsible-section/action";
|
|
13
|
+
import { DockItem } from "./components/dock/dock.types";
|
|
13
14
|
import { FormError, ValidationError, ValidationStatus } from "./components/form/form.types";
|
|
14
15
|
import { IconSize } from "./components/icon/icon.types";
|
|
15
16
|
import { InputType } from "./components/input-field/input-field.types";
|
|
@@ -60,6 +61,10 @@ export namespace Components {
|
|
|
60
61
|
* Set to `true` to put the button in the `loading` state. Please note that this does _not_ disable the button. If the button should be disabled while loading, the `disabled` property should be set to `true` as well.
|
|
61
62
|
*/
|
|
62
63
|
"loading": boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Set to `true` to indicate failure instead of success when the button is no longer in the `loading` state.
|
|
66
|
+
*/
|
|
67
|
+
"loadingFailed": boolean;
|
|
63
68
|
/**
|
|
64
69
|
* Set to `true` to make the button outlined.
|
|
65
70
|
*/
|
|
@@ -214,6 +219,10 @@ export namespace Components {
|
|
|
214
219
|
* Select color scheme for the editor
|
|
215
220
|
*/
|
|
216
221
|
"colorScheme": ColorScheme;
|
|
222
|
+
/**
|
|
223
|
+
* Allows the user to fold code
|
|
224
|
+
*/
|
|
225
|
+
"fold": boolean;
|
|
217
226
|
/**
|
|
218
227
|
* The language of the code
|
|
219
228
|
*/
|
|
@@ -222,6 +231,10 @@ export namespace Components {
|
|
|
222
231
|
* Displays line numbers in the editor
|
|
223
232
|
*/
|
|
224
233
|
"lineNumbers": boolean;
|
|
234
|
+
/**
|
|
235
|
+
* Enables linting of JSON content
|
|
236
|
+
*/
|
|
237
|
+
"lint": boolean;
|
|
225
238
|
/**
|
|
226
239
|
* Disables editing of the editor content
|
|
227
240
|
*/
|
|
@@ -320,6 +333,10 @@ export namespace Components {
|
|
|
320
333
|
* Defines the localisation for translations and date formatting. Property `format` customizes the localized date format.
|
|
321
334
|
*/
|
|
322
335
|
"language": Languages;
|
|
336
|
+
/**
|
|
337
|
+
* The placeholder text shown inside the input field, when the field is focused and empty
|
|
338
|
+
*/
|
|
339
|
+
"placeholder": string;
|
|
323
340
|
/**
|
|
324
341
|
* Set to `true` to make the field read-only. Use `readonly` when the field is only there to present the data it holds, and will not become possible for the current user to edit.
|
|
325
342
|
*/
|
|
@@ -355,6 +372,46 @@ export namespace Components {
|
|
|
355
372
|
*/
|
|
356
373
|
"open": boolean;
|
|
357
374
|
}
|
|
375
|
+
interface LimelDock {
|
|
376
|
+
/**
|
|
377
|
+
* A label used to describe the purpose of the navigation element to users of assistive technologies, like screen readers. Especially useful when there are multiple navigation elements in the user interface. Example value: "Primary navigation"
|
|
378
|
+
*/
|
|
379
|
+
"accessibleLabel"?: string;
|
|
380
|
+
/**
|
|
381
|
+
* Set to `false` if you do not want to allow end-users to exapnd or shrink the Dock. This will hide the expand/shrink button, and the only things that defines the layout will be the `expanded` property, and the `mobileBreakPoint`.
|
|
382
|
+
*/
|
|
383
|
+
"allowResize"?: boolean;
|
|
384
|
+
/**
|
|
385
|
+
* Items that are placed at the bottom of the dock. (Or at the end in mobile layout.)
|
|
386
|
+
*/
|
|
387
|
+
"dockFooterItems"?: DockItem[];
|
|
388
|
+
/**
|
|
389
|
+
* Items that are placed in the dock.
|
|
390
|
+
*/
|
|
391
|
+
"dockItems": DockItem[];
|
|
392
|
+
/**
|
|
393
|
+
* Defines the width of the component, when it loads. - `true`: shows both icons and labels of the Dock items. - `false`: only shows icons of the doc items, and displays their labels as tooltip. Note: when `useMobileLayout` is `true`, labels will always be shown as tooltips. Read more below…
|
|
394
|
+
*/
|
|
395
|
+
"expanded"?: boolean;
|
|
396
|
+
/**
|
|
397
|
+
* Defines the breakpoint in pixles, at which the component will be rendered in a hoizontal layout. Default breakpoint is `700` pixels, which means when the screen size is smaller than `700px`, the component will automatically switch to a horizontal layout.
|
|
398
|
+
*/
|
|
399
|
+
"mobileBreakPoint"?: number;
|
|
400
|
+
}
|
|
401
|
+
interface LimelDockButton {
|
|
402
|
+
/**
|
|
403
|
+
* When the dock is expanded or collapsed, dock items show labels and tooltips as suitable for the layout.
|
|
404
|
+
*/
|
|
405
|
+
"expanded"?: boolean;
|
|
406
|
+
/**
|
|
407
|
+
* Item that is placed in the dock.
|
|
408
|
+
*/
|
|
409
|
+
"item": DockItem;
|
|
410
|
+
/**
|
|
411
|
+
* When dock is using mobile layout, dock items show labels and tooltips as suitable for the layout.
|
|
412
|
+
*/
|
|
413
|
+
"useMobileLayout"?: boolean;
|
|
414
|
+
}
|
|
358
415
|
interface LimelFile {
|
|
359
416
|
/**
|
|
360
417
|
* The [accepted file types](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#unique_file_type_specifiers)
|
|
@@ -509,10 +566,6 @@ export namespace Components {
|
|
|
509
566
|
* The text to show to screenreaders and other assistive tech.
|
|
510
567
|
*/
|
|
511
568
|
"label": string;
|
|
512
|
-
/**
|
|
513
|
-
* If the button is hidden or inside another element that is animating while the button is instantiated, the hover-highlight may become misaligned. If so, calling this method will make the button re-layout the highlight.
|
|
514
|
-
*/
|
|
515
|
-
"relayout": () => Promise<void>;
|
|
516
569
|
}
|
|
517
570
|
interface LimelInputField {
|
|
518
571
|
/**
|
|
@@ -563,6 +616,10 @@ export namespace Components {
|
|
|
563
616
|
* Regular expression that the current value of the input field must match. No forward slashes should be specified around the pattern. Only used if type is `text`, `tel`, `email`, `url`, `urlAsText`, `password`, or `search`.
|
|
564
617
|
*/
|
|
565
618
|
"pattern": string;
|
|
619
|
+
/**
|
|
620
|
+
* The placeholder text shown inside the input field, when the field is focused and empty.
|
|
621
|
+
*/
|
|
622
|
+
"placeholder": string;
|
|
566
623
|
/**
|
|
567
624
|
* A short piece of text to display before the value inside the input field. Displayed for all types except `textarea`.
|
|
568
625
|
*/
|
|
@@ -1156,6 +1213,18 @@ declare global {
|
|
|
1156
1213
|
prototype: HTMLLimelDialogElement;
|
|
1157
1214
|
new (): HTMLLimelDialogElement;
|
|
1158
1215
|
};
|
|
1216
|
+
interface HTMLLimelDockElement extends Components.LimelDock, HTMLStencilElement {
|
|
1217
|
+
}
|
|
1218
|
+
var HTMLLimelDockElement: {
|
|
1219
|
+
prototype: HTMLLimelDockElement;
|
|
1220
|
+
new (): HTMLLimelDockElement;
|
|
1221
|
+
};
|
|
1222
|
+
interface HTMLLimelDockButtonElement extends Components.LimelDockButton, HTMLStencilElement {
|
|
1223
|
+
}
|
|
1224
|
+
var HTMLLimelDockButtonElement: {
|
|
1225
|
+
prototype: HTMLLimelDockButtonElement;
|
|
1226
|
+
new (): HTMLLimelDockButtonElement;
|
|
1227
|
+
};
|
|
1159
1228
|
interface HTMLLimelFileElement extends Components.LimelFile, HTMLStencilElement {
|
|
1160
1229
|
}
|
|
1161
1230
|
var HTMLLimelFileElement: {
|
|
@@ -1351,6 +1420,8 @@ declare global {
|
|
|
1351
1420
|
"limel-config": HTMLLimelConfigElement;
|
|
1352
1421
|
"limel-date-picker": HTMLLimelDatePickerElement;
|
|
1353
1422
|
"limel-dialog": HTMLLimelDialogElement;
|
|
1423
|
+
"limel-dock": HTMLLimelDockElement;
|
|
1424
|
+
"limel-dock-button": HTMLLimelDockButtonElement;
|
|
1354
1425
|
"limel-file": HTMLLimelFileElement;
|
|
1355
1426
|
"limel-flatpickr-adapter": HTMLLimelFlatpickrAdapterElement;
|
|
1356
1427
|
"limel-flex-container": HTMLLimelFlexContainerElement;
|
|
@@ -1417,6 +1488,10 @@ declare namespace LocalJSX {
|
|
|
1417
1488
|
* Set to `true` to put the button in the `loading` state. Please note that this does _not_ disable the button. If the button should be disabled while loading, the `disabled` property should be set to `true` as well.
|
|
1418
1489
|
*/
|
|
1419
1490
|
"loading"?: boolean;
|
|
1491
|
+
/**
|
|
1492
|
+
* Set to `true` to indicate failure instead of success when the button is no longer in the `loading` state.
|
|
1493
|
+
*/
|
|
1494
|
+
"loadingFailed"?: boolean;
|
|
1420
1495
|
/**
|
|
1421
1496
|
* Set to `true` to make the button outlined.
|
|
1422
1497
|
*/
|
|
@@ -1583,6 +1658,10 @@ declare namespace LocalJSX {
|
|
|
1583
1658
|
* Select color scheme for the editor
|
|
1584
1659
|
*/
|
|
1585
1660
|
"colorScheme"?: ColorScheme;
|
|
1661
|
+
/**
|
|
1662
|
+
* Allows the user to fold code
|
|
1663
|
+
*/
|
|
1664
|
+
"fold"?: boolean;
|
|
1586
1665
|
/**
|
|
1587
1666
|
* The language of the code
|
|
1588
1667
|
*/
|
|
@@ -1591,6 +1670,10 @@ declare namespace LocalJSX {
|
|
|
1591
1670
|
* Displays line numbers in the editor
|
|
1592
1671
|
*/
|
|
1593
1672
|
"lineNumbers"?: boolean;
|
|
1673
|
+
/**
|
|
1674
|
+
* Enables linting of JSON content
|
|
1675
|
+
*/
|
|
1676
|
+
"lint"?: boolean;
|
|
1594
1677
|
/**
|
|
1595
1678
|
* Emitted when the code has changed. Will only be emitted when the code area has lost focus
|
|
1596
1679
|
*/
|
|
@@ -1717,6 +1800,10 @@ declare namespace LocalJSX {
|
|
|
1717
1800
|
* Emitted when the date picker value is changed.
|
|
1718
1801
|
*/
|
|
1719
1802
|
"onChange"?: (event: CustomEvent<Date>) => void;
|
|
1803
|
+
/**
|
|
1804
|
+
* The placeholder text shown inside the input field, when the field is focused and empty
|
|
1805
|
+
*/
|
|
1806
|
+
"placeholder"?: string;
|
|
1720
1807
|
/**
|
|
1721
1808
|
* Set to `true` to make the field read-only. Use `readonly` when the field is only there to present the data it holds, and will not become possible for the current user to edit.
|
|
1722
1809
|
*/
|
|
@@ -1760,6 +1847,74 @@ declare namespace LocalJSX {
|
|
|
1760
1847
|
*/
|
|
1761
1848
|
"open"?: boolean;
|
|
1762
1849
|
}
|
|
1850
|
+
interface LimelDock {
|
|
1851
|
+
/**
|
|
1852
|
+
* A label used to describe the purpose of the navigation element to users of assistive technologies, like screen readers. Especially useful when there are multiple navigation elements in the user interface. Example value: "Primary navigation"
|
|
1853
|
+
*/
|
|
1854
|
+
"accessibleLabel"?: string;
|
|
1855
|
+
/**
|
|
1856
|
+
* Set to `false` if you do not want to allow end-users to exapnd or shrink the Dock. This will hide the expand/shrink button, and the only things that defines the layout will be the `expanded` property, and the `mobileBreakPoint`.
|
|
1857
|
+
*/
|
|
1858
|
+
"allowResize"?: boolean;
|
|
1859
|
+
/**
|
|
1860
|
+
* Items that are placed at the bottom of the dock. (Or at the end in mobile layout.)
|
|
1861
|
+
*/
|
|
1862
|
+
"dockFooterItems"?: DockItem[];
|
|
1863
|
+
/**
|
|
1864
|
+
* Items that are placed in the dock.
|
|
1865
|
+
*/
|
|
1866
|
+
"dockItems"?: DockItem[];
|
|
1867
|
+
/**
|
|
1868
|
+
* Defines the width of the component, when it loads. - `true`: shows both icons and labels of the Dock items. - `false`: only shows icons of the doc items, and displays their labels as tooltip. Note: when `useMobileLayout` is `true`, labels will always be shown as tooltips. Read more below…
|
|
1869
|
+
*/
|
|
1870
|
+
"expanded"?: boolean;
|
|
1871
|
+
/**
|
|
1872
|
+
* Defines the breakpoint in pixles, at which the component will be rendered in a hoizontal layout. Default breakpoint is `700` pixels, which means when the screen size is smaller than `700px`, the component will automatically switch to a horizontal layout.
|
|
1873
|
+
*/
|
|
1874
|
+
"mobileBreakPoint"?: number;
|
|
1875
|
+
/**
|
|
1876
|
+
* Fired when the popover is closed.
|
|
1877
|
+
*/
|
|
1878
|
+
"onClose"?: (event: CustomEvent<void>) => void;
|
|
1879
|
+
/**
|
|
1880
|
+
* Fired when a Dock is expanded or collapsed.
|
|
1881
|
+
*/
|
|
1882
|
+
"onDockExpanded"?: (event: CustomEvent<boolean>) => void;
|
|
1883
|
+
/**
|
|
1884
|
+
* Fired when a dock item has been selected from the dock.
|
|
1885
|
+
*/
|
|
1886
|
+
"onItemSelected"?: (event: CustomEvent<DockItem>) => void;
|
|
1887
|
+
/**
|
|
1888
|
+
* Fired when a dock menu is opened.
|
|
1889
|
+
*/
|
|
1890
|
+
"onMenuOpen"?: (event: CustomEvent<DockItem>) => void;
|
|
1891
|
+
}
|
|
1892
|
+
interface LimelDockButton {
|
|
1893
|
+
/**
|
|
1894
|
+
* When the dock is expanded or collapsed, dock items show labels and tooltips as suitable for the layout.
|
|
1895
|
+
*/
|
|
1896
|
+
"expanded"?: boolean;
|
|
1897
|
+
/**
|
|
1898
|
+
* Item that is placed in the dock.
|
|
1899
|
+
*/
|
|
1900
|
+
"item": DockItem;
|
|
1901
|
+
/**
|
|
1902
|
+
* Fired when the popover is closed.
|
|
1903
|
+
*/
|
|
1904
|
+
"onClose"?: (event: CustomEvent<void>) => void;
|
|
1905
|
+
/**
|
|
1906
|
+
* Fired when a dock item has been selected from the dock.
|
|
1907
|
+
*/
|
|
1908
|
+
"onItemSelected"?: (event: CustomEvent<DockItem>) => void;
|
|
1909
|
+
/**
|
|
1910
|
+
* Fired when a dock menu is opened.
|
|
1911
|
+
*/
|
|
1912
|
+
"onMenuOpen"?: (event: CustomEvent<DockItem>) => void;
|
|
1913
|
+
/**
|
|
1914
|
+
* When dock is using mobile layout, dock items show labels and tooltips as suitable for the layout.
|
|
1915
|
+
*/
|
|
1916
|
+
"useMobileLayout"?: boolean;
|
|
1917
|
+
}
|
|
1763
1918
|
interface LimelFile {
|
|
1764
1919
|
/**
|
|
1765
1920
|
* The [accepted file types](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#unique_file_type_specifiers)
|
|
@@ -1992,6 +2147,10 @@ declare namespace LocalJSX {
|
|
|
1992
2147
|
* Regular expression that the current value of the input field must match. No forward slashes should be specified around the pattern. Only used if type is `text`, `tel`, `email`, `url`, `urlAsText`, `password`, or `search`.
|
|
1993
2148
|
*/
|
|
1994
2149
|
"pattern"?: string;
|
|
2150
|
+
/**
|
|
2151
|
+
* The placeholder text shown inside the input field, when the field is focused and empty.
|
|
2152
|
+
*/
|
|
2153
|
+
"placeholder"?: string;
|
|
1995
2154
|
/**
|
|
1996
2155
|
* A short piece of text to display before the value inside the input field. Displayed for all types except `textarea`.
|
|
1997
2156
|
*/
|
|
@@ -2618,6 +2777,8 @@ declare namespace LocalJSX {
|
|
|
2618
2777
|
"limel-config": LimelConfig;
|
|
2619
2778
|
"limel-date-picker": LimelDatePicker;
|
|
2620
2779
|
"limel-dialog": LimelDialog;
|
|
2780
|
+
"limel-dock": LimelDock;
|
|
2781
|
+
"limel-dock-button": LimelDockButton;
|
|
2621
2782
|
"limel-file": LimelFile;
|
|
2622
2783
|
"limel-flatpickr-adapter": LimelFlatpickrAdapter;
|
|
2623
2784
|
"limel-flex-container": LimelFlexContainer;
|
|
@@ -2668,6 +2829,8 @@ declare module "@stencil/core" {
|
|
|
2668
2829
|
"limel-config": LocalJSX.LimelConfig & JSXBase.HTMLAttributes<HTMLLimelConfigElement>;
|
|
2669
2830
|
"limel-date-picker": LocalJSX.LimelDatePicker & JSXBase.HTMLAttributes<HTMLLimelDatePickerElement>;
|
|
2670
2831
|
"limel-dialog": LocalJSX.LimelDialog & JSXBase.HTMLAttributes<HTMLLimelDialogElement>;
|
|
2832
|
+
"limel-dock": LocalJSX.LimelDock & JSXBase.HTMLAttributes<HTMLLimelDockElement>;
|
|
2833
|
+
"limel-dock-button": LocalJSX.LimelDockButton & JSXBase.HTMLAttributes<HTMLLimelDockButtonElement>;
|
|
2671
2834
|
"limel-file": LocalJSX.LimelFile & JSXBase.HTMLAttributes<HTMLLimelFileElement>;
|
|
2672
2835
|
"limel-flatpickr-adapter": LocalJSX.LimelFlatpickrAdapter & JSXBase.HTMLAttributes<HTMLLimelFlatpickrAdapterElement>;
|
|
2673
2836
|
"limel-flex-container": LocalJSX.LimelFlexContainer & JSXBase.HTMLAttributes<HTMLLimelFlexContainerElement>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limetech/lime-elements",
|
|
3
|
-
"version": "36.0.0-next.
|
|
3
|
+
"version": "36.0.0-next.22",
|
|
4
4
|
"description": "Lime Elements",
|
|
5
5
|
"author": "Lime Technologies",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -41,11 +41,10 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@commitlint/config-conventional": "^16.0.0",
|
|
44
|
-
"@lundalogik/lime-icons8": "^2.
|
|
44
|
+
"@lundalogik/lime-icons8": "^2.10.0",
|
|
45
45
|
"@popperjs/core": "^2.11.5",
|
|
46
46
|
"@rjsf/core": "^2.4.2",
|
|
47
47
|
"@stencil/core": "^2.15.1",
|
|
48
|
-
"@stencil/eslint-plugin": "^0.4.0",
|
|
49
48
|
"@stencil/sass": "^1.5.2",
|
|
50
49
|
"@types/codemirror": "^5.60.2",
|
|
51
50
|
"@types/html-escaper": "^3.0.0",
|
|
@@ -73,11 +72,12 @@
|
|
|
73
72
|
"html-escaper": "^3.0.3",
|
|
74
73
|
"jest": "^26.6.3",
|
|
75
74
|
"jest-cli": "^28.0.2",
|
|
75
|
+
"jsonlint-mod": "^1.7.6",
|
|
76
76
|
"jsx-dom": "^7.0.4",
|
|
77
|
-
"kompendium": "^0.11.
|
|
77
|
+
"kompendium": "^0.11.3",
|
|
78
78
|
"lodash-es": "^4.17.21",
|
|
79
79
|
"material-components-web": "^13.0.0",
|
|
80
|
-
"moment": "^2.29.
|
|
80
|
+
"moment": "^2.29.4",
|
|
81
81
|
"number-abbreviate": "^2.0.0",
|
|
82
82
|
"prettier": "^2.6.2",
|
|
83
83
|
"puppeteer": "^13.7.0",
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-2a28697b.js');
|
|
6
|
-
|
|
7
|
-
const popoverSurfaceCss = ".limel-popover-surface{position:relative;display:flex;flex-direction:column;width:var(--popover-surface-width, auto);max-height:calc(100vh - 2rem);max-width:calc(100vw - 2rem);margin:0 0.25rem;border-radius:var(--popover-border-radius, 0.75rem);box-shadow:var(--shadow-depth-16);backdrop-filter:blur(0.3125rem);-webkit-backdrop-filter:blur(0.3125rem)}.limel-popover-surface:after{transition:opacity 0.4s ease;pointer-events:none;content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;opacity:0.75;border-radius:var(--popover-border-radius, 0.75rem);background-color:var(--popover-body-background-color, rgb(var(--contrast-100)))}.limel-popover-surface:focus,.limel-popover-surface:focus-within{outline:none}.limel-popover-surface:focus:after,.limel-popover-surface:focus-within:after{opacity:1}.limel-popover-surface:focus-visible{box-shadow:var(--shadow-depth-16-focused)}";
|
|
8
|
-
|
|
9
|
-
const PopoverSurface = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
}
|
|
13
|
-
componentDidLoad() {
|
|
14
|
-
this.appendElement();
|
|
15
|
-
}
|
|
16
|
-
render() {
|
|
17
|
-
return index.h("div", { class: "limel-popover-surface", tabindex: "0" });
|
|
18
|
-
}
|
|
19
|
-
appendElement() {
|
|
20
|
-
const portalContainer = this.host.shadowRoot.querySelector('.limel-popover-surface');
|
|
21
|
-
Array.from(this.contentCollection).forEach((child) => {
|
|
22
|
-
if (child.slot === 'trigger') {
|
|
23
|
-
return;
|
|
24
|
-
}
|
|
25
|
-
portalContainer.appendChild(child);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
get host() { return index.getElement(this); }
|
|
29
|
-
};
|
|
30
|
-
PopoverSurface.style = popoverSurfaceCss;
|
|
31
|
-
|
|
32
|
-
exports.limel_popover_surface = PopoverSurface;
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-2a28697b.js');
|
|
6
|
-
const randomString = require('./random-string-4c3b7f1c.js');
|
|
7
|
-
|
|
8
|
-
const tooltipCss = ".trigger-anchor{position:relative}";
|
|
9
|
-
|
|
10
|
-
const DEFAULT_MAX_LENGTH = 50;
|
|
11
|
-
const Tooltip = class {
|
|
12
|
-
constructor(hostRef) {
|
|
13
|
-
index.registerInstance(this, hostRef);
|
|
14
|
-
/**
|
|
15
|
-
* The maximum amount of characters before rendering 'label' and
|
|
16
|
-
* 'helperLabel' in two rows.
|
|
17
|
-
*/
|
|
18
|
-
this.maxlength = DEFAULT_MAX_LENGTH;
|
|
19
|
-
this.showTooltip = () => {
|
|
20
|
-
const tooltipDelay = 500;
|
|
21
|
-
this.showTooltipTimeoutHandle = window.setTimeout(() => {
|
|
22
|
-
this.open = true;
|
|
23
|
-
}, tooltipDelay);
|
|
24
|
-
};
|
|
25
|
-
this.hideTooltip = () => {
|
|
26
|
-
clearTimeout(this.showTooltipTimeoutHandle);
|
|
27
|
-
this.open = false;
|
|
28
|
-
};
|
|
29
|
-
this.portalId = randomString.createRandomString();
|
|
30
|
-
this.tooltipId = randomString.createRandomString();
|
|
31
|
-
}
|
|
32
|
-
connectedCallback() {
|
|
33
|
-
this.setOwnerAriaLabel();
|
|
34
|
-
this.addListeners();
|
|
35
|
-
}
|
|
36
|
-
disconnectedCallback() {
|
|
37
|
-
this.removeListeners();
|
|
38
|
-
}
|
|
39
|
-
render() {
|
|
40
|
-
const tooltipZIndex = getComputedStyle(this.host).getPropertyValue('--tooltip-z-index');
|
|
41
|
-
return (index.h("div", { class: "trigger-anchor" }, index.h("limel-portal", { openDirection: "bottom-start", visible: this.open, containerId: this.portalId, containerStyle: {
|
|
42
|
-
'z-index': tooltipZIndex,
|
|
43
|
-
'pointer-events': 'none',
|
|
44
|
-
} }, index.h("limel-tooltip-content", { label: this.label, helperLabel: this.helperLabel, maxlength: this.maxlength, role: "tooltip", "aria-hidden": !this.open, id: this.tooltipId }))));
|
|
45
|
-
}
|
|
46
|
-
setOwnerAriaLabel() {
|
|
47
|
-
const owner = this.getOwnerElement();
|
|
48
|
-
owner === null || owner === void 0 ? void 0 : owner.setAttribute('aria-describedby', this.tooltipId);
|
|
49
|
-
}
|
|
50
|
-
addListeners() {
|
|
51
|
-
const owner = this.getOwnerElement();
|
|
52
|
-
owner === null || owner === void 0 ? void 0 : owner.addEventListener('mouseover', this.showTooltip);
|
|
53
|
-
owner === null || owner === void 0 ? void 0 : owner.addEventListener('mouseout', this.hideTooltip);
|
|
54
|
-
owner === null || owner === void 0 ? void 0 : owner.addEventListener('click', this.hideTooltip);
|
|
55
|
-
}
|
|
56
|
-
removeListeners() {
|
|
57
|
-
const owner = this.getOwnerElement();
|
|
58
|
-
owner === null || owner === void 0 ? void 0 : owner.removeEventListener('mouseover', this.showTooltip);
|
|
59
|
-
owner === null || owner === void 0 ? void 0 : owner.removeEventListener('mouseout', this.hideTooltip);
|
|
60
|
-
owner === null || owner === void 0 ? void 0 : owner.removeEventListener('click', this.hideTooltip);
|
|
61
|
-
}
|
|
62
|
-
getOwnerElement() {
|
|
63
|
-
var _a;
|
|
64
|
-
let element = this.host;
|
|
65
|
-
do {
|
|
66
|
-
element = element.parentNode;
|
|
67
|
-
} while (element &&
|
|
68
|
-
element.nodeType !== Node.DOCUMENT_FRAGMENT_NODE &&
|
|
69
|
-
element.nodeType !== Node.DOCUMENT_NODE);
|
|
70
|
-
return (_a = element) === null || _a === void 0 ? void 0 : _a.getElementById(this.elementId);
|
|
71
|
-
}
|
|
72
|
-
get host() { return index.getElement(this); }
|
|
73
|
-
};
|
|
74
|
-
Tooltip.style = tooltipCss;
|
|
75
|
-
|
|
76
|
-
const tooltipContentCss = ":host{animation:display-tooltip 0.2s ease;display:flex;border-radius:0.25rem;padding:0.25rem 0.5rem;background-color:rgb(var(--contrast-1300));box-shadow:var(--shadow-depth-16)}text{font-size:0.875rem;line-height:1.25;display:flex;column-gap:1rem}text.has-column-layout{display:table-cell;width:fit-content;max-width:min(var(--tooltip-max-width-of-text), 80vw)}text.has-column-layout .label{padding-bottom:0.5rem}text.has-column-layout .helper-label{padding-bottom:0.25rem}.label{color:rgb(var(--contrast-200))}.helper-label{color:rgb(var(--contrast-800))}.helper-label:empty{display:none}@keyframes display-tooltip{0%{opacity:0;transform:translate3d(0, 0, 0) scale(0.94)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}";
|
|
77
|
-
|
|
78
|
-
const TooltipContent = class {
|
|
79
|
-
constructor(hostRef) {
|
|
80
|
-
index.registerInstance(this, hostRef);
|
|
81
|
-
}
|
|
82
|
-
render() {
|
|
83
|
-
let isLabelsTextLong = false;
|
|
84
|
-
if (this.helperLabel && this.maxlength) {
|
|
85
|
-
isLabelsTextLong =
|
|
86
|
-
this.label.length + this.helperLabel.length > this.maxlength;
|
|
87
|
-
}
|
|
88
|
-
const props = {};
|
|
89
|
-
if (this.maxlength) {
|
|
90
|
-
props.style = {
|
|
91
|
-
'--tooltip-max-width-of-text': `${this.maxlength}` + 'ch',
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
return [
|
|
95
|
-
index.h("text", Object.assign({ class: { 'has-column-layout': isLabelsTextLong } }, props), index.h("div", { class: "label" }, this.label), index.h("div", { class: "helper-label" }, this.helperLabel)),
|
|
96
|
-
];
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
TooltipContent.style = tooltipContentCss;
|
|
100
|
-
|
|
101
|
-
exports.limel_tooltip = Tooltip;
|
|
102
|
-
exports.limel_tooltip_content = TooltipContent;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-11cd0b60.js';
|
|
2
|
-
|
|
3
|
-
const popoverSurfaceCss = ".limel-popover-surface{position:relative;display:flex;flex-direction:column;width:var(--popover-surface-width, auto);max-height:calc(100vh - 2rem);max-width:calc(100vw - 2rem);margin:0 0.25rem;border-radius:var(--popover-border-radius, 0.75rem);box-shadow:var(--shadow-depth-16);backdrop-filter:blur(0.3125rem);-webkit-backdrop-filter:blur(0.3125rem)}.limel-popover-surface:after{transition:opacity 0.4s ease;pointer-events:none;content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;opacity:0.75;border-radius:var(--popover-border-radius, 0.75rem);background-color:var(--popover-body-background-color, rgb(var(--contrast-100)))}.limel-popover-surface:focus,.limel-popover-surface:focus-within{outline:none}.limel-popover-surface:focus:after,.limel-popover-surface:focus-within:after{opacity:1}.limel-popover-surface:focus-visible{box-shadow:var(--shadow-depth-16-focused)}";
|
|
4
|
-
|
|
5
|
-
const PopoverSurface = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
}
|
|
9
|
-
componentDidLoad() {
|
|
10
|
-
this.appendElement();
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return h("div", { class: "limel-popover-surface", tabindex: "0" });
|
|
14
|
-
}
|
|
15
|
-
appendElement() {
|
|
16
|
-
const portalContainer = this.host.shadowRoot.querySelector('.limel-popover-surface');
|
|
17
|
-
Array.from(this.contentCollection).forEach((child) => {
|
|
18
|
-
if (child.slot === 'trigger') {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
portalContainer.appendChild(child);
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
get host() { return getElement(this); }
|
|
25
|
-
};
|
|
26
|
-
PopoverSurface.style = popoverSurfaceCss;
|
|
27
|
-
|
|
28
|
-
export { PopoverSurface as limel_popover_surface };
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-11cd0b60.js';
|
|
2
|
-
import { c as createRandomString } from './random-string-2246b81e.js';
|
|
3
|
-
|
|
4
|
-
const tooltipCss = ".trigger-anchor{position:relative}";
|
|
5
|
-
|
|
6
|
-
const DEFAULT_MAX_LENGTH = 50;
|
|
7
|
-
const Tooltip = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
/**
|
|
11
|
-
* The maximum amount of characters before rendering 'label' and
|
|
12
|
-
* 'helperLabel' in two rows.
|
|
13
|
-
*/
|
|
14
|
-
this.maxlength = DEFAULT_MAX_LENGTH;
|
|
15
|
-
this.showTooltip = () => {
|
|
16
|
-
const tooltipDelay = 500;
|
|
17
|
-
this.showTooltipTimeoutHandle = window.setTimeout(() => {
|
|
18
|
-
this.open = true;
|
|
19
|
-
}, tooltipDelay);
|
|
20
|
-
};
|
|
21
|
-
this.hideTooltip = () => {
|
|
22
|
-
clearTimeout(this.showTooltipTimeoutHandle);
|
|
23
|
-
this.open = false;
|
|
24
|
-
};
|
|
25
|
-
this.portalId = createRandomString();
|
|
26
|
-
this.tooltipId = createRandomString();
|
|
27
|
-
}
|
|
28
|
-
connectedCallback() {
|
|
29
|
-
this.setOwnerAriaLabel();
|
|
30
|
-
this.addListeners();
|
|
31
|
-
}
|
|
32
|
-
disconnectedCallback() {
|
|
33
|
-
this.removeListeners();
|
|
34
|
-
}
|
|
35
|
-
render() {
|
|
36
|
-
const tooltipZIndex = getComputedStyle(this.host).getPropertyValue('--tooltip-z-index');
|
|
37
|
-
return (h("div", { class: "trigger-anchor" }, h("limel-portal", { openDirection: "bottom-start", visible: this.open, containerId: this.portalId, containerStyle: {
|
|
38
|
-
'z-index': tooltipZIndex,
|
|
39
|
-
'pointer-events': 'none',
|
|
40
|
-
} }, h("limel-tooltip-content", { label: this.label, helperLabel: this.helperLabel, maxlength: this.maxlength, role: "tooltip", "aria-hidden": !this.open, id: this.tooltipId }))));
|
|
41
|
-
}
|
|
42
|
-
setOwnerAriaLabel() {
|
|
43
|
-
const owner = this.getOwnerElement();
|
|
44
|
-
owner === null || owner === void 0 ? void 0 : owner.setAttribute('aria-describedby', this.tooltipId);
|
|
45
|
-
}
|
|
46
|
-
addListeners() {
|
|
47
|
-
const owner = this.getOwnerElement();
|
|
48
|
-
owner === null || owner === void 0 ? void 0 : owner.addEventListener('mouseover', this.showTooltip);
|
|
49
|
-
owner === null || owner === void 0 ? void 0 : owner.addEventListener('mouseout', this.hideTooltip);
|
|
50
|
-
owner === null || owner === void 0 ? void 0 : owner.addEventListener('click', this.hideTooltip);
|
|
51
|
-
}
|
|
52
|
-
removeListeners() {
|
|
53
|
-
const owner = this.getOwnerElement();
|
|
54
|
-
owner === null || owner === void 0 ? void 0 : owner.removeEventListener('mouseover', this.showTooltip);
|
|
55
|
-
owner === null || owner === void 0 ? void 0 : owner.removeEventListener('mouseout', this.hideTooltip);
|
|
56
|
-
owner === null || owner === void 0 ? void 0 : owner.removeEventListener('click', this.hideTooltip);
|
|
57
|
-
}
|
|
58
|
-
getOwnerElement() {
|
|
59
|
-
var _a;
|
|
60
|
-
let element = this.host;
|
|
61
|
-
do {
|
|
62
|
-
element = element.parentNode;
|
|
63
|
-
} while (element &&
|
|
64
|
-
element.nodeType !== Node.DOCUMENT_FRAGMENT_NODE &&
|
|
65
|
-
element.nodeType !== Node.DOCUMENT_NODE);
|
|
66
|
-
return (_a = element) === null || _a === void 0 ? void 0 : _a.getElementById(this.elementId);
|
|
67
|
-
}
|
|
68
|
-
get host() { return getElement(this); }
|
|
69
|
-
};
|
|
70
|
-
Tooltip.style = tooltipCss;
|
|
71
|
-
|
|
72
|
-
const tooltipContentCss = ":host{animation:display-tooltip 0.2s ease;display:flex;border-radius:0.25rem;padding:0.25rem 0.5rem;background-color:rgb(var(--contrast-1300));box-shadow:var(--shadow-depth-16)}text{font-size:0.875rem;line-height:1.25;display:flex;column-gap:1rem}text.has-column-layout{display:table-cell;width:fit-content;max-width:min(var(--tooltip-max-width-of-text), 80vw)}text.has-column-layout .label{padding-bottom:0.5rem}text.has-column-layout .helper-label{padding-bottom:0.25rem}.label{color:rgb(var(--contrast-200))}.helper-label{color:rgb(var(--contrast-800))}.helper-label:empty{display:none}@keyframes display-tooltip{0%{opacity:0;transform:translate3d(0, 0, 0) scale(0.94)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}";
|
|
73
|
-
|
|
74
|
-
const TooltipContent = class {
|
|
75
|
-
constructor(hostRef) {
|
|
76
|
-
registerInstance(this, hostRef);
|
|
77
|
-
}
|
|
78
|
-
render() {
|
|
79
|
-
let isLabelsTextLong = false;
|
|
80
|
-
if (this.helperLabel && this.maxlength) {
|
|
81
|
-
isLabelsTextLong =
|
|
82
|
-
this.label.length + this.helperLabel.length > this.maxlength;
|
|
83
|
-
}
|
|
84
|
-
const props = {};
|
|
85
|
-
if (this.maxlength) {
|
|
86
|
-
props.style = {
|
|
87
|
-
'--tooltip-max-width-of-text': `${this.maxlength}` + 'ch',
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
return [
|
|
91
|
-
h("text", Object.assign({ class: { 'has-column-layout': isLabelsTextLong } }, props), h("div", { class: "label" }, this.label), h("div", { class: "helper-label" }, this.helperLabel)),
|
|
92
|
-
];
|
|
93
|
-
}
|
|
94
|
-
};
|
|
95
|
-
TooltipContent.style = tooltipContentCss;
|
|
96
|
-
|
|
97
|
-
export { Tooltip as limel_tooltip, TooltipContent as limel_tooltip_content };
|