@limetech/lime-elements 36.3.1-next.2 → 36.3.2-next.1

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 (138) hide show
  1. package/dist/cjs/{dom-20826de0.js → dom-eb080f70.js} +0 -1
  2. package/dist/cjs/{format-c0047dfb.js → format-5b928cf3.js} +0 -1
  3. package/dist/cjs/limel-badge.cjs.entry.js +1 -1
  4. package/dist/cjs/limel-chip-set.cjs.entry.js +0 -6
  5. package/dist/cjs/limel-circular-progress_2.cjs.entry.js +1 -1
  6. package/dist/cjs/limel-form.cjs.entry.js +1 -20
  7. package/dist/cjs/limel-icon.cjs.entry.js +0 -2
  8. package/dist/cjs/limel-input-field.cjs.entry.js +0 -1
  9. package/dist/cjs/limel-list_2.cjs.entry.js +1 -5
  10. package/dist/cjs/limel-menu-list.cjs.entry.js +0 -4
  11. package/dist/cjs/limel-picker.cjs.entry.js +1 -10
  12. package/dist/cjs/limel-popover_4.cjs.entry.js +0 -1
  13. package/dist/cjs/limel-select.cjs.entry.js +1 -1
  14. package/dist/cjs/limel-snackbar.cjs.entry.js +2 -2
  15. package/dist/cjs/limel-tab-bar.cjs.entry.js +0 -1
  16. package/dist/cjs/limel-table.cjs.entry.js +0 -19
  17. package/dist/cjs/{multiple-8fab83eb.js → multiple-2af83b6d.js} +0 -1
  18. package/dist/collection/components/badge/badge.js +0 -1
  19. package/dist/collection/components/badge/format.js +0 -1
  20. package/dist/collection/components/button-group/button-group.js +0 -1
  21. package/dist/collection/components/callout/callout.js +0 -1
  22. package/dist/collection/components/chip-set/chip-set-input-helpers.js +0 -1
  23. package/dist/collection/components/chip-set/chip-set.js +0 -5
  24. package/dist/collection/components/circular-progress/circular-progress.js +0 -1
  25. package/dist/collection/components/code-editor/code-editor.js +1 -2
  26. package/dist/collection/components/color-picker/color-picker.js +0 -1
  27. package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +0 -1
  28. package/dist/collection/components/dialog/dialog.js +0 -1
  29. package/dist/collection/components/file/file.js +2 -3
  30. package/dist/collection/components/flex-container/flex-container.js +0 -1
  31. package/dist/collection/components/form/adapters/base-adapter.js +0 -12
  32. package/dist/collection/components/form/fields/field-helpers.js +0 -3
  33. package/dist/collection/components/form/fields/schema-field.js +0 -3
  34. package/dist/collection/components/form/templates/common.js +0 -1
  35. package/dist/collection/components/grid/grid.js +0 -1
  36. package/dist/collection/components/header/header.js +0 -1
  37. package/dist/collection/components/helper-line/helper-line.js +0 -1
  38. package/dist/collection/components/icon/icon.js +0 -2
  39. package/dist/collection/components/info-tile/info-tile.js +0 -1
  40. package/dist/collection/components/input-field/input-field.js +0 -1
  41. package/dist/collection/components/list/list-renderer.js +0 -4
  42. package/dist/collection/components/menu-list/menu-list-renderer.js +0 -4
  43. package/dist/collection/components/picker/picker.js +0 -9
  44. package/dist/collection/components/popover/popover.js +0 -2
  45. package/dist/collection/components/portal/contains.js +0 -1
  46. package/dist/collection/components/portal/portal.js +10 -11
  47. package/dist/collection/components/shortcut/shortcut.js +0 -1
  48. package/dist/collection/components/snackbar/snackbar.js +31 -6
  49. package/dist/collection/components/split-button/split-button.js +0 -1
  50. package/dist/collection/components/tab-bar/tab-bar.js +1 -2
  51. package/dist/collection/components/tab-bar/tabs.js +0 -1
  52. package/dist/collection/components/tab-panel/tab-panel.js +0 -1
  53. package/dist/collection/components/table/columns.js +0 -9
  54. package/dist/collection/components/table/element-pool.js +0 -2
  55. package/dist/collection/components/table/selection.js +0 -4
  56. package/dist/collection/components/table/table-selection.js +0 -4
  57. package/dist/collection/components/tooltip/tooltip-content.js +0 -1
  58. package/dist/collection/components/tooltip/tooltip.js +0 -1
  59. package/dist/collection/global/icon-cache.js +0 -1
  60. package/dist/collection/icons/multiply.svg +593 -0
  61. package/dist/collection/util/dom.js +0 -1
  62. package/dist/collection/util/multiple.js +0 -1
  63. package/dist/esm/{dom-0f79cbe7.js → dom-2fe617e7.js} +0 -1
  64. package/dist/esm/{format-a0e2d949.js → format-c76733cb.js} +0 -1
  65. package/dist/esm/limel-badge.entry.js +1 -1
  66. package/dist/esm/limel-chip-set.entry.js +0 -6
  67. package/dist/esm/limel-circular-progress_2.entry.js +1 -1
  68. package/dist/esm/limel-form.entry.js +1 -20
  69. package/dist/esm/limel-icon.entry.js +0 -2
  70. package/dist/esm/limel-input-field.entry.js +0 -1
  71. package/dist/esm/limel-list_2.entry.js +1 -5
  72. package/dist/esm/limel-menu-list.entry.js +0 -4
  73. package/dist/esm/limel-picker.entry.js +1 -10
  74. package/dist/esm/limel-popover_4.entry.js +0 -1
  75. package/dist/esm/limel-select.entry.js +1 -1
  76. package/dist/esm/limel-snackbar.entry.js +2 -2
  77. package/dist/esm/limel-tab-bar.entry.js +0 -1
  78. package/dist/esm/limel-table.entry.js +0 -19
  79. package/dist/esm/{multiple-254f4b61.js → multiple-0bd62427.js} +0 -1
  80. package/dist/lime-elements/lime-elements.esm.js +1 -1
  81. package/dist/lime-elements/{p-4c9ce3d7.entry.js → p-5ab179b4.entry.js} +1 -1
  82. package/dist/lime-elements/{p-05d88196.entry.js → p-727fd4ea.entry.js} +2 -2
  83. package/dist/lime-elements/{p-a88f2922.entry.js → p-72cfda76.entry.js} +1 -1
  84. package/dist/lime-elements/{p-8178b348.entry.js → p-8a2d1761.entry.js} +1 -1
  85. package/dist/lime-elements/{p-2600928f.entry.js → p-d034bbcf.entry.js} +1 -1
  86. package/dist/lime-elements/{p-2fd478df.entry.js → p-ef93fd3e.entry.js} +1 -1
  87. package/dist/lime-elements/{p-58e9df30.entry.js → p-f4cbcdcf.entry.js} +1 -1
  88. package/dist/types/components/badge/badge.d.ts +0 -1
  89. package/dist/types/components/badge/format.d.ts +0 -1
  90. package/dist/types/components/button-group/button-group.d.ts +0 -1
  91. package/dist/types/components/callout/callout.d.ts +0 -1
  92. package/dist/types/components/chip-set/chip-set-input-helpers.d.ts +0 -1
  93. package/dist/types/components/chip-set/chip-set.d.ts +0 -5
  94. package/dist/types/components/circular-progress/circular-progress.d.ts +0 -1
  95. package/dist/types/components/code-editor/code-editor.d.ts +1 -2
  96. package/dist/types/components/color-picker/color-picker.d.ts +0 -1
  97. package/dist/types/components/date-picker/flatpickr-adapter/flatpickr-adapter.d.ts +0 -1
  98. package/dist/types/components/dialog/dialog.d.ts +0 -1
  99. package/dist/types/components/file/file.d.ts +2 -3
  100. package/dist/types/components/flex-container/flex-container.d.ts +0 -1
  101. package/dist/types/components/form/adapters/base-adapter.d.ts +0 -11
  102. package/dist/types/components/form/fields/field-helpers.d.ts +0 -2
  103. package/dist/types/components/form/fields/schema-field.d.ts +0 -2
  104. package/dist/types/components/form/templates/common.d.ts +0 -1
  105. package/dist/types/components/grid/grid.d.ts +0 -1
  106. package/dist/types/components/header/header.d.ts +0 -1
  107. package/dist/types/components/helper-line/helper-line.d.ts +0 -1
  108. package/dist/types/components/icon/icon.d.ts +0 -2
  109. package/dist/types/components/info-tile/info-tile.d.ts +0 -1
  110. package/dist/types/components/input-field/input-field.d.ts +0 -1
  111. package/dist/types/components/list/list-renderer.d.ts +0 -4
  112. package/dist/types/components/menu-list/menu-list-renderer.d.ts +0 -4
  113. package/dist/types/components/picker/picker.d.ts +0 -9
  114. package/dist/types/components/picker/searcher.types.d.ts +0 -1
  115. package/dist/types/components/popover/popover.d.ts +0 -2
  116. package/dist/types/components/portal/contains.d.ts +0 -1
  117. package/dist/types/components/portal/portal.d.ts +10 -11
  118. package/dist/types/components/shortcut/shortcut.d.ts +0 -1
  119. package/dist/types/components/snackbar/snackbar.d.ts +26 -2
  120. package/dist/types/components/split-button/split-button.d.ts +0 -1
  121. package/dist/types/components/tab-bar/tab-bar.d.ts +1 -2
  122. package/dist/types/components/tab-bar/tabs.d.ts +0 -1
  123. package/dist/types/components/tab-panel/tab-panel.d.ts +0 -1
  124. package/dist/types/components/table/columns.d.ts +0 -7
  125. package/dist/types/components/table/element-pool.d.ts +0 -2
  126. package/dist/types/components/table/selection.d.ts +0 -4
  127. package/dist/types/components/table/table-selection.d.ts +0 -4
  128. package/dist/types/components/table/table.types.d.ts +0 -3
  129. package/dist/types/components/tooltip/tooltip-content.d.ts +0 -1
  130. package/dist/types/components/tooltip/tooltip.d.ts +0 -1
  131. package/dist/types/components.d.ts +3 -3
  132. package/dist/types/global/icon-cache.d.ts +0 -1
  133. package/dist/types/util/dom.d.ts +0 -1
  134. package/dist/types/util/multiple.d.ts +0 -1
  135. package/package.json +8 -8
  136. /package/dist/lime-elements/{p-f08f504b.js → p-0eabb204.js} +0 -0
  137. /package/dist/lime-elements/{p-0534b23b.js → p-5f020b3c.js} +0 -0
  138. /package/dist/lime-elements/{p-af8d4fe7.js → p-acf307d9.js} +0 -0
@@ -7,7 +7,6 @@ export class ColumnDefinitionFactory {
7
7
  }
8
8
  /**
9
9
  * Create Tabulator column definitions from a limel-table column configuration
10
- *
11
10
  * @param {Column} column config describing the column
12
11
  * @returns {Tabulator.ColumnDefinition} Tabulator column
13
12
  */
@@ -34,7 +33,6 @@ export class ColumnDefinitionFactory {
34
33
  }
35
34
  /**
36
35
  * Formats the header of the column
37
- *
38
36
  * @param {Column} column the configuration for the column
39
37
  * @returns {string | HTMLElement} custom component that renders a column header
40
38
  */
@@ -57,7 +55,6 @@ export const formatHeader = (column) => () => {
57
55
  };
58
56
  /**
59
57
  * Create a formatter to be used to format values in a column
60
- *
61
58
  * @param {Column} column config describing the column
62
59
  * @param {ElementPool} pool pool to get custom components from
63
60
  * @returns {Tabulator.Formatter} Tabulator formatter
@@ -90,7 +87,6 @@ function columnElementExists(column) {
90
87
  }
91
88
  /**
92
89
  * Format the value of a cell in the table
93
- *
94
90
  * @param {Tabulator.CellComponent} cell the cell being rendered in the table
95
91
  * @param {Column} column configuration for the current column
96
92
  * @returns {string} the formatted value
@@ -108,7 +104,6 @@ export function formatCell(cell, column) {
108
104
  }
109
105
  /**
110
106
  * Create a custom component that renders a cell value
111
- *
112
107
  * @param {Tabulator.CellComponent} cell Tabulator cell
113
108
  * @param {Column} column lime-elements column configuration
114
109
  * @param {string} value the value of the cell being rendered
@@ -131,7 +126,6 @@ export function createCustomComponent(cell, column, value, pool) {
131
126
  }
132
127
  /**
133
128
  * Set all properties for a custom element, including event listeners
134
- *
135
129
  * @param {HTMLElement} element the custom element
136
130
  * @param {object} props object of properties and event listeners
137
131
  */
@@ -149,7 +143,6 @@ export function setElementProperties(element, props) {
149
143
  *
150
144
  * An event listener has to be a function and its property name have to start
151
145
  * with "on" followed by the name of the event in camel case, e.g. "onEventName"
152
- *
153
146
  * @param {any} value the value to check
154
147
  * @param {string} key name of the property
155
148
  * @returns {boolean} true if the property of the object is an event listener
@@ -164,7 +157,6 @@ function isEventListener(value, key) {
164
157
  * Get the name of an event from the name of an event listener
165
158
  *
166
159
  * E.g. "onMyEvent" will return "myEvent"
167
- *
168
160
  * @param {string} eventListener name of the event listener
169
161
  * @returns {string} the name of the event
170
162
  */
@@ -195,7 +187,6 @@ function createResizeObserver(element, column) {
195
187
  }
196
188
  /**
197
189
  * Create a column sorter from a tabulator sorter
198
- *
199
190
  * @param {Column[]} columns all available columns in the table
200
191
  * @returns {Function} function that creates a sorter from a tabulator sorter
201
192
  */
@@ -9,7 +9,6 @@ export class ElementPool {
9
9
  }
10
10
  /**
11
11
  * Get an element from the pool
12
- *
13
12
  * @param {string} name tag name of the element
14
13
  * @returns {HTMLElement} the element
15
14
  */
@@ -24,7 +23,6 @@ export class ElementPool {
24
23
  }
25
24
  /**
26
25
  * Release an element from the pool so that it can be reused
27
- *
28
26
  * @param {HTMLElement} element the element to release from the pool
29
27
  */
30
28
  release(element) {
@@ -10,7 +10,6 @@ export class Selection {
10
10
  * The provided function `getDataByIndex` is used to provide data for the
11
11
  * selected items when selection is toggled by using the item index,
12
12
  * which can be the row position in a table.
13
- *
14
13
  * @param {Function} getDataByIndex A function that returns the data at the given index
15
14
  */
16
15
  constructor(getDataByIndex) {
@@ -69,7 +68,6 @@ export class Selection {
69
68
  }
70
69
  /**
71
70
  * Checks whether the given item exist in the selection
72
- *
73
71
  * @param {any} data The data to look up
74
72
  * @returns {boolean} `true` if the given data exist in the selection, otherwise `false`
75
73
  */
@@ -78,7 +76,6 @@ export class Selection {
78
76
  }
79
77
  /**
80
78
  * Toggles the item at the given index in the selection
81
- *
82
79
  * @param {number} index The index of the item to toggle
83
80
  * @returns {SelectionChangeSet} The changes made to the selection
84
81
  */
@@ -91,7 +88,6 @@ export class Selection {
91
88
  * their current state in the selection.
92
89
  * Initially, when no last toggled index exist, this function behaves like
93
90
  * `toggleSelection`.
94
- *
95
91
  * @param {number} index The index of the item to toggle
96
92
  * @returns {SelectionChangeSet} The changes made to the selection
97
93
  */
@@ -8,7 +8,6 @@ const LIMEL_CHECKBOX = 'limel-checkbox';
8
8
  export class TableSelection {
9
9
  /**
10
10
  * Creates an instance of the TableSelection class
11
- *
12
11
  * @param {Function} getTable Function that returns the Tabulator instance
13
12
  * @param {ElementPool} pool The element pool used to cache the checkbox components
14
13
  * @param {EventEmitter<object[]>} selectEvent The event emitter to use when checkboxes are toggled
@@ -21,7 +20,6 @@ export class TableSelection {
21
20
  * Tabulator cell click handler that updates the selection for the clicked
22
21
  * row and toggles the selection from the last clicked row if the shift key
23
22
  * is pressed down.
24
- *
25
23
  * @param {PointerEvent} ev The pointer event
26
24
  * @param {Tabulator.CellComponent} cell The clicked cell component
27
25
  */
@@ -76,7 +74,6 @@ export class TableSelection {
76
74
  }
77
75
  /**
78
76
  * Sets the selected items
79
- *
80
77
  * @param {any[]} data The selected items
81
78
  */
82
79
  setSelection(data) {
@@ -89,7 +86,6 @@ export class TableSelection {
89
86
  }
90
87
  /**
91
88
  * Prepends a checkbox column used for row selection to the given column definitions
92
- *
93
89
  * @param {Tabulator.ColumnDefinition[]} columnDefinitions The column definition for the table
94
90
  * @returns {Tabulator.ColumnDefinition[]} The column definitions with the checkbox column prepended to it
95
91
  */
@@ -1,7 +1,6 @@
1
1
  import { h } from '@stencil/core';
2
2
  /**
3
3
  * This component is used internally by `limel-tooltip`.
4
- *
5
4
  * @private
6
5
  */
7
6
  export class TooltipContent {
@@ -39,7 +39,6 @@ const DEFAULT_MAX_LENGTH = 50;
39
39
  * use that, not a tooltip.
40
40
  * - Make sure to use the tooltip on an element that users naturally and
41
41
  * effortlessly recognize can be hovered.
42
- *
43
42
  * @exampleComponent limel-example-tooltip
44
43
  * @exampleComponent limel-example-tooltip-max-character
45
44
  * @exampleComponent limel-example-tooltip-composite
@@ -11,7 +11,6 @@ export class IconCache {
11
11
  }
12
12
  /**
13
13
  * Get icon data from the cache
14
- *
15
14
  * @param {string} name name of the icon
16
15
  * @param {string} path path on the server where the assets are located
17
16
  * @returns {string} svg markup