@limetech/lime-elements 39.17.3 → 39.19.0

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.
Files changed (83) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/limel-banner.cjs.entry.js +1 -1
  3. package/dist/cjs/limel-breadcrumbs_7.cjs.entry.js +1 -1
  4. package/dist/cjs/limel-button.cjs.entry.js +2 -2
  5. package/dist/cjs/limel-card.cjs.entry.js +1 -1
  6. package/dist/cjs/limel-chip_2.cjs.entry.js +2 -2
  7. package/dist/cjs/limel-collapsible-section.cjs.entry.js +1 -1
  8. package/dist/cjs/limel-header.cjs.entry.js +1 -1
  9. package/dist/cjs/limel-icon-button.cjs.entry.js +1 -1
  10. package/dist/cjs/limel-list-item.cjs.entry.js +1 -1
  11. package/dist/cjs/limel-picker.cjs.entry.js +1 -1
  12. package/dist/cjs/limel-shortcut.cjs.entry.js +1 -1
  13. package/dist/cjs/limel-split-button.cjs.entry.js +2 -2
  14. package/dist/collection/components/banner/banner.js +10 -3
  15. package/dist/collection/components/button/button.js +9 -3
  16. package/dist/collection/components/card/card.js +8 -2
  17. package/dist/collection/components/chip/chip.js +8 -2
  18. package/dist/collection/components/chip-set/chip-set.js +10 -3
  19. package/dist/collection/components/collapsible-section/collapsible-section.js +8 -2
  20. package/dist/collection/components/header/header.js +8 -2
  21. package/dist/collection/components/icon-button/icon-button.js +8 -2
  22. package/dist/collection/components/input-field/input-field.js +19 -5
  23. package/dist/collection/components/list/list.css +1 -0
  24. package/dist/collection/components/list-item/list-item.css +4 -1
  25. package/dist/collection/components/menu-list/menu-list.css +1 -0
  26. package/dist/collection/components/picker/picker.js +10 -3
  27. package/dist/collection/components/profile-picture/profile-picture.js +7 -1
  28. package/dist/collection/components/shortcut/shortcut.js +10 -3
  29. package/dist/collection/components/split-button/split-button.js +11 -4
  30. package/dist/esm/limel-banner.entry.js +1 -1
  31. package/dist/esm/limel-breadcrumbs_7.entry.js +1 -1
  32. package/dist/esm/limel-button.entry.js +2 -2
  33. package/dist/esm/limel-card.entry.js +1 -1
  34. package/dist/esm/limel-chip_2.entry.js +2 -2
  35. package/dist/esm/limel-collapsible-section.entry.js +1 -1
  36. package/dist/esm/limel-header.entry.js +1 -1
  37. package/dist/esm/limel-icon-button.entry.js +1 -1
  38. package/dist/esm/limel-list-item.entry.js +1 -1
  39. package/dist/esm/limel-picker.entry.js +1 -1
  40. package/dist/esm/limel-shortcut.entry.js +1 -1
  41. package/dist/esm/limel-split-button.entry.js +2 -2
  42. package/dist/lime-elements/lime-elements.esm.js +1 -1
  43. package/dist/lime-elements/{p-b91b1aed.entry.js → p-19d0861e.entry.js} +1 -1
  44. package/dist/lime-elements/{p-1fba4922.entry.js → p-35fc79b6.entry.js} +1 -1
  45. package/dist/lime-elements/p-51734986.entry.js +1 -0
  46. package/dist/lime-elements/p-56cc6800.entry.js +1 -0
  47. package/dist/lime-elements/{p-585b0a3a.entry.js → p-a435d1c3.entry.js} +1 -1
  48. package/dist/lime-elements/p-aa43c751.entry.js +1 -0
  49. package/dist/lime-elements/{p-923126cb.entry.js → p-cae35eb0.entry.js} +1 -1
  50. package/dist/lime-elements/{p-268d2a30.entry.js → p-cc17846b.entry.js} +1 -1
  51. package/dist/lime-elements/{p-25ae3a55.entry.js → p-cfe85e59.entry.js} +1 -1
  52. package/dist/lime-elements/{p-7e584d40.entry.js → p-d227f4df.entry.js} +1 -1
  53. package/dist/lime-elements/{p-c41c839c.entry.js → p-eff0a330.entry.js} +1 -1
  54. package/dist/lime-elements/{p-e5b03d42.entry.js → p-f2f01f2a.entry.js} +1 -1
  55. package/dist/types/components/action-bar/action-bar.types.d.ts +2 -2
  56. package/dist/types/components/banner/banner.d.ts +2 -1
  57. package/dist/types/components/button/button.d.ts +2 -2
  58. package/dist/types/components/card/card.d.ts +2 -2
  59. package/dist/types/components/chip/chip.d.ts +2 -2
  60. package/dist/types/components/chip-set/chip-set.d.ts +2 -1
  61. package/dist/types/components/chip-set/chip.types.d.ts +2 -2
  62. package/dist/types/components/collapsible-section/collapsible-section.d.ts +2 -2
  63. package/dist/types/components/dialog/dialog.types.d.ts +2 -2
  64. package/dist/types/components/dock/dock.types.d.ts +2 -1
  65. package/dist/types/components/dynamic-label/label.types.d.ts +2 -2
  66. package/dist/types/components/header/header.d.ts +2 -2
  67. package/dist/types/components/icon-button/icon-button.d.ts +2 -2
  68. package/dist/types/components/input-field/input-field.d.ts +3 -2
  69. package/dist/types/components/list-item/list-item.types.d.ts +2 -2
  70. package/dist/types/components/menu/menu.types.d.ts +2 -2
  71. package/dist/types/components/picker/picker.d.ts +2 -1
  72. package/dist/types/components/profile-picture/profile-picture.d.ts +2 -2
  73. package/dist/types/components/select/option.types.d.ts +2 -2
  74. package/dist/types/components/shortcut/shortcut.d.ts +2 -1
  75. package/dist/types/components/split-button/split-button.d.ts +2 -1
  76. package/dist/types/components/tab-bar/tab.types.d.ts +2 -2
  77. package/dist/types/components.d.ts +44 -44
  78. package/dist/types/global/shared-types/file.types.d.ts +2 -2
  79. package/dist/types/global/shared-types/icon.types.d.ts +30 -1
  80. package/package.json +1 -1
  81. package/dist/lime-elements/p-6b956d6d.entry.js +0 -1
  82. package/dist/lime-elements/p-8a6721f9.entry.js +0 -1
  83. package/dist/lime-elements/p-c5d8079b.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import { Icon } from '../../global/shared-types/icon.types';
1
+ import { Icon, IconName } from '../../global/shared-types/icon.types';
2
2
  /**
3
3
  * Buttons allow users to take actions with a single tap or click.
4
4
  * They are intentionally designed to look and feel clickable,
@@ -42,7 +42,7 @@ export declare class Button {
42
42
  /**
43
43
  * Set icon for the button
44
44
  */
45
- icon: string | Icon;
45
+ icon: IconName | Icon;
46
46
  /**
47
47
  * Set to `true` to disable the button.
48
48
  */
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import { Image } from '../../global/shared-types/image.types';
3
- import { Icon } from '../../global/shared-types/icon.types';
3
+ import { Icon, IconName } from '../../global/shared-types/icon.types';
4
4
  import { ListSeparator } from '../../global/shared-types/separator.types';
5
5
  import { ActionBarItem } from '../action-bar/action-bar.types';
6
6
  /**
@@ -38,7 +38,7 @@ export declare class Card {
38
38
  /**
39
39
  * An icon, to display along with the heading and subheading.
40
40
  */
41
- icon?: string | Icon;
41
+ icon?: IconName | Icon;
42
42
  /**
43
43
  * The content of the card.
44
44
  * Supports markdown, to provide a rich text experience.
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
- import { Icon } from '../../global/shared-types/icon.types';
2
+ import { Icon, IconName } from '../../global/shared-types/icon.types';
3
3
  import { Languages } from '../date-picker/date.types';
4
4
  import { Link } from '../../global/shared-types/link.types';
5
5
  import { ChipType, Chip as OldChipInterface } from '../chip-set/chip.types';
@@ -75,7 +75,7 @@ export declare class Chip implements ChipInterface {
75
75
  /**
76
76
  * Icon of the chip.
77
77
  */
78
- icon?: string | Icon;
78
+ icon?: IconName | Icon;
79
79
  /**
80
80
  * A picture to be displayed instead of the icon on the chip.
81
81
  */
@@ -1,5 +1,6 @@
1
1
  import { Chip } from '../chip-set/chip.types';
2
2
  import { Languages } from '../date-picker/date.types';
3
+ import { IconName } from '../../global/shared-types/icon.types';
3
4
  /**
4
5
  * :::note
5
6
  * **Regarding `click` and `interact` events:**
@@ -117,7 +118,7 @@ export declare class ChipSet {
117
118
  * For chip-sets of type `input`. When the value is null, no leading icon is used.
118
119
  * Leading icon to show to the far left in the text field
119
120
  */
120
- leadingIcon: string;
121
+ leadingIcon: IconName;
121
122
  /**
122
123
  * For chip-set of type `input`. Sets delimiters between chips.
123
124
  */
@@ -1,5 +1,5 @@
1
1
  import { Image } from '../../global/shared-types/image.types';
2
- import { Icon } from '../../global/shared-types/icon.types';
2
+ import { Icon, IconName } from '../../global/shared-types/icon.types';
3
3
  import { MenuItem } from '../menu/menu.types';
4
4
  import { ListSeparator } from '../list-item/list-item.types';
5
5
  import { Color } from '../../global/shared-types/color.types';
@@ -18,7 +18,7 @@ export interface Chip<T = any> {
18
18
  /**
19
19
  * Name of the icon to use. Not valid for `filter`.
20
20
  */
21
- icon?: string | Icon;
21
+ icon?: IconName | Icon;
22
22
  /**
23
23
  * A picture to be displayed instead of the icon on the chip.
24
24
  */
@@ -1,5 +1,5 @@
1
1
  import { Action } from './action';
2
- import { Icon } from '../../global/shared-types/icon.types';
2
+ import { Icon, IconName } from '../../global/shared-types/icon.types';
3
3
  import { Languages } from '../date-picker/date.types';
4
4
  /**
5
5
  * A collapsible section can be used to group related content together
@@ -34,7 +34,7 @@ export declare class CollapsibleSection {
34
34
  /**
35
35
  * Icon to display in the header of the section
36
36
  */
37
- icon?: string | Icon;
37
+ icon?: IconName | Icon;
38
38
  /**
39
39
  * `true` if the section is invalid, `false` if valid.
40
40
  * This can be used to indicate that the content inside the section is invalid.
@@ -1,4 +1,4 @@
1
- import { Icon } from '../../global/shared-types/icon.types';
1
+ import { Icon, IconName } from '../../global/shared-types/icon.types';
2
2
  /**
3
3
  * @public
4
4
  */
@@ -6,7 +6,7 @@ export interface DialogHeading {
6
6
  title: string;
7
7
  subtitle?: string;
8
8
  supportingText?: string;
9
- icon?: string | Icon;
9
+ icon?: IconName | Icon;
10
10
  }
11
11
  /**
12
12
  * @public
@@ -1,3 +1,4 @@
1
+ import { IconName } from '../../global/shared-types/icon.types';
1
2
  /**
2
3
  * @public
3
4
  */
@@ -13,7 +14,7 @@ export interface DockItem {
13
14
  /**
14
15
  * Name of the icon to use.
15
16
  */
16
- icon: string;
17
+ icon: IconName;
17
18
  /**
18
19
  * Additional helper text for the dock item.
19
20
  * Example usage can be a keyboard shortcut to activate the dock item.
@@ -1,4 +1,4 @@
1
- import { Icon } from '../../interface';
1
+ import { IconName, Icon } from '../../interface';
2
2
  export type LabelValue = string | number | boolean | null | undefined;
3
3
  /**
4
4
  * Represents a label that can be displayed in the `limel-dynamic-label` component.
@@ -18,6 +18,6 @@ export interface Label<T = LabelValue> {
18
18
  /**
19
19
  * Icon to display when the label is active
20
20
  */
21
- icon?: string | Icon;
21
+ icon?: IconName | Icon;
22
22
  }
23
23
  //# sourceMappingURL=label.types.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Icon } from '../../global/shared-types/icon.types';
1
+ import { IconName, Icon } from '../../global/shared-types/icon.types';
2
2
  /**
3
3
  * A header is the top most visual element in a component, page, card, or a view.
4
4
  *
@@ -55,7 +55,7 @@ export declare class Header {
55
55
  /**
56
56
  * Icon to display
57
57
  */
58
- icon?: string | Icon;
58
+ icon?: IconName | Icon;
59
59
  /**
60
60
  * Title to display
61
61
  */
@@ -1,4 +1,4 @@
1
- import { Icon } from '../../global/shared-types/icon.types';
1
+ import { Icon, IconName } from '../../global/shared-types/icon.types';
2
2
  /**
3
3
  * @exampleComponent limel-example-icon-button-basic
4
4
  * @exampleComponent limel-example-icon-button-disabled
@@ -12,7 +12,7 @@ export declare class IconButton {
12
12
  /**
13
13
  * The icon to display.
14
14
  */
15
- icon: string | Icon;
15
+ icon: IconName | Icon;
16
16
  /**
17
17
  * Set to `true` to give the button our standard "elevated" look, lifting
18
18
  * it off the flat layout.
@@ -1,4 +1,5 @@
1
1
  import { InputType } from '../input-field/input-field.types';
2
+ import { IconName } from '../../global/shared-types/icon.types';
2
3
  /**
3
4
  * @exampleComponent limel-example-input-field-text
4
5
  * @exampleComponent limel-example-input-field-placeholder
@@ -70,11 +71,11 @@ export declare class InputField {
70
71
  /**
71
72
  * Trailing icon to show to the far right in the field.
72
73
  */
73
- trailingIcon: string;
74
+ trailingIcon: IconName;
74
75
  /**
75
76
  * Leading icon to show to the far left in the field.
76
77
  */
77
- leadingIcon: string;
78
+ leadingIcon: IconName;
78
79
  /**
79
80
  * Regular expression that the current value of the input field must match.
80
81
  * No forward slashes should be specified around the pattern.
@@ -1,5 +1,5 @@
1
1
  import { ListSeparator } from '../../global/shared-types/separator.types';
2
- import { Icon } from '../../global/shared-types/icon.types';
2
+ import { Icon, IconName } from '../../global/shared-types/icon.types';
3
3
  import { MenuItem } from '../menu/menu.types';
4
4
  import { Image } from '../../global/shared-types/image.types';
5
5
  import { Color } from '../../global/shared-types/color.types';
@@ -23,7 +23,7 @@ export interface ListItem<T = any> {
23
23
  /**
24
24
  * Icon of the list item.
25
25
  */
26
- icon?: string | Icon;
26
+ icon?: IconName | Icon;
27
27
  /**
28
28
  * Background color of the icon. Overrides `--icon-background-color`.
29
29
  *
@@ -1,5 +1,5 @@
1
1
  import { ListSeparator } from '../../global/shared-types/separator.types';
2
- import { Icon } from '../../global/shared-types/icon.types';
2
+ import { Icon, IconName } from '../../global/shared-types/icon.types';
3
3
  import { Color } from '../../global/shared-types/color.types';
4
4
  /**
5
5
  * The direction in which the menu should open.
@@ -71,7 +71,7 @@ export interface MenuItem<T = any> {
71
71
  /**
72
72
  * Name of the icon to use.
73
73
  */
74
- icon?: string | Icon;
74
+ icon?: IconName | Icon;
75
75
  /**
76
76
  * Background color of the icon. Overrides `--icon-background-color`.
77
77
  *
@@ -3,6 +3,7 @@ import { ActionPosition, ActionScrollBehavior } from '../picker/actions.types';
3
3
  import { ListItem } from '../list-item/list-item.types';
4
4
  import { Searcher } from '../picker/searcher.types';
5
5
  import { PickerValue } from './value.types';
6
+ import { IconName } from '../../global/shared-types/icon.types';
6
7
  /**
7
8
  * @exampleComponent limel-example-picker-basic
8
9
  * @exampleComponent limel-example-picker-multiple
@@ -41,7 +42,7 @@ export declare class Picker {
41
42
  /**
42
43
  * Leading icon to show to the far left in the text field
43
44
  */
44
- leadingIcon: string;
45
+ leadingIcon: IconName;
45
46
  /**
46
47
  * A message to display when the search returned an empty result
47
48
  */
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import { FileInfo } from '../../global/shared-types/file.types';
3
- import { Icon } from '../../global/shared-types/icon.types';
3
+ import { Icon, IconName } from '../../global/shared-types/icon.types';
4
4
  import { Languages } from '../date-picker/date.types';
5
5
  import { ResizeOptions } from '../../util/image-resize';
6
6
  /**
@@ -36,7 +36,7 @@ export declare class ProfilePicture {
36
36
  /**
37
37
  * Placeholder icon of the component, displayed when no image is present.
38
38
  */
39
- icon: string | Icon;
39
+ icon: IconName | Icon;
40
40
  /**
41
41
  * Helper text shown as a tooltip on hover or focus.
42
42
  */
@@ -1,5 +1,5 @@
1
1
  import { Color } from '../../global/shared-types/color.types';
2
- import { Icon } from '../../global/shared-types/icon.types';
2
+ import { Icon, IconName } from '../../global/shared-types/icon.types';
3
3
  /**
4
4
  * Describes an option for limel-select.
5
5
  * @public
@@ -33,7 +33,7 @@ export interface Option<T extends string = string> {
33
33
  /**
34
34
  * Displays an icon beside the name of the option.
35
35
  */
36
- icon?: string | Icon;
36
+ icon?: IconName | Icon;
37
37
  /**
38
38
  * Adds a color to the icon.
39
39
  *
@@ -1,4 +1,5 @@
1
1
  import { Link } from '../../global/shared-types/link.types';
2
+ import { IconName } from '../../global/shared-types/icon.types';
2
3
  /**
3
4
  * This component can be used on places such as a start page or a dashboard.
4
5
  * Clicking on the component should navigate the user to a new screen,
@@ -17,7 +18,7 @@ export declare class Shortcut {
17
18
  /**
18
19
  * Name of icon for the shortcut.
19
20
  */
20
- icon: string;
21
+ icon: IconName;
21
22
  /**
22
23
  * The text to show below the shortcut. Long label will be truncated.
23
24
  */
@@ -1,6 +1,7 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import { ListSeparator } from '../list-item/list-item.types';
3
3
  import { MenuItem } from '../menu/menu.types';
4
+ import { IconName } from '../../global/shared-types/icon.types';
4
5
  /**
5
6
  * A split button is a button with two components:
6
7
  * a button and a side-menu attached to it.
@@ -30,7 +31,7 @@ export declare class SplitButton {
30
31
  /**
31
32
  * Set icon for the button
32
33
  */
33
- icon: string;
34
+ icon: IconName;
34
35
  /**
35
36
  * Set to `true` to disable the button.
36
37
  */
@@ -1,5 +1,5 @@
1
1
  import { Color } from '../../global/shared-types/color.types';
2
- import { Icon } from '../../global/shared-types/icon.types';
2
+ import { Icon, IconName } from '../../global/shared-types/icon.types';
3
3
  /**
4
4
  * Tab interface.
5
5
  * @public
@@ -16,7 +16,7 @@ export interface Tab {
16
16
  /**
17
17
  * Name of the icon to use.
18
18
  */
19
- icon?: string | Icon;
19
+ icon?: IconName | Icon;
20
20
  /**
21
21
  * True if the tab should be selected.
22
22
  */