@limetech/lime-elements 36.3.1-next.2 → 36.3.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 (137) 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 +1 -1
  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 +26 -3
  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/util/dom.js +0 -1
  61. package/dist/collection/util/multiple.js +0 -1
  62. package/dist/esm/{dom-0f79cbe7.js → dom-2fe617e7.js} +0 -1
  63. package/dist/esm/{format-a0e2d949.js → format-c76733cb.js} +0 -1
  64. package/dist/esm/limel-badge.entry.js +1 -1
  65. package/dist/esm/limel-chip-set.entry.js +0 -6
  66. package/dist/esm/limel-circular-progress_2.entry.js +1 -1
  67. package/dist/esm/limel-form.entry.js +1 -20
  68. package/dist/esm/limel-icon.entry.js +0 -2
  69. package/dist/esm/limel-input-field.entry.js +0 -1
  70. package/dist/esm/limel-list_2.entry.js +1 -5
  71. package/dist/esm/limel-menu-list.entry.js +0 -4
  72. package/dist/esm/limel-picker.entry.js +1 -10
  73. package/dist/esm/limel-popover_4.entry.js +0 -1
  74. package/dist/esm/limel-select.entry.js +1 -1
  75. package/dist/esm/limel-snackbar.entry.js +1 -1
  76. package/dist/esm/limel-tab-bar.entry.js +0 -1
  77. package/dist/esm/limel-table.entry.js +0 -19
  78. package/dist/esm/{multiple-254f4b61.js → multiple-0bd62427.js} +0 -1
  79. package/dist/lime-elements/lime-elements.esm.js +1 -1
  80. package/dist/lime-elements/{p-4c9ce3d7.entry.js → p-5ab179b4.entry.js} +1 -1
  81. package/dist/lime-elements/{p-05d88196.entry.js → p-727fd4ea.entry.js} +2 -2
  82. package/dist/lime-elements/{p-8178b348.entry.js → p-8a2d1761.entry.js} +1 -1
  83. package/dist/lime-elements/{p-a88f2922.entry.js → p-8d3a9e2c.entry.js} +1 -1
  84. package/dist/lime-elements/{p-2600928f.entry.js → p-d034bbcf.entry.js} +1 -1
  85. package/dist/lime-elements/{p-2fd478df.entry.js → p-ef93fd3e.entry.js} +1 -1
  86. package/dist/lime-elements/{p-58e9df30.entry.js → p-f4cbcdcf.entry.js} +1 -1
  87. package/dist/types/components/badge/badge.d.ts +0 -1
  88. package/dist/types/components/badge/format.d.ts +0 -1
  89. package/dist/types/components/button-group/button-group.d.ts +0 -1
  90. package/dist/types/components/callout/callout.d.ts +0 -1
  91. package/dist/types/components/chip-set/chip-set-input-helpers.d.ts +0 -1
  92. package/dist/types/components/chip-set/chip-set.d.ts +0 -5
  93. package/dist/types/components/circular-progress/circular-progress.d.ts +0 -1
  94. package/dist/types/components/code-editor/code-editor.d.ts +1 -2
  95. package/dist/types/components/color-picker/color-picker.d.ts +0 -1
  96. package/dist/types/components/date-picker/flatpickr-adapter/flatpickr-adapter.d.ts +0 -1
  97. package/dist/types/components/dialog/dialog.d.ts +0 -1
  98. package/dist/types/components/file/file.d.ts +2 -3
  99. package/dist/types/components/flex-container/flex-container.d.ts +0 -1
  100. package/dist/types/components/form/adapters/base-adapter.d.ts +0 -11
  101. package/dist/types/components/form/fields/field-helpers.d.ts +0 -2
  102. package/dist/types/components/form/fields/schema-field.d.ts +0 -2
  103. package/dist/types/components/form/templates/common.d.ts +0 -1
  104. package/dist/types/components/grid/grid.d.ts +0 -1
  105. package/dist/types/components/header/header.d.ts +0 -1
  106. package/dist/types/components/helper-line/helper-line.d.ts +0 -1
  107. package/dist/types/components/icon/icon.d.ts +0 -2
  108. package/dist/types/components/info-tile/info-tile.d.ts +0 -1
  109. package/dist/types/components/input-field/input-field.d.ts +0 -1
  110. package/dist/types/components/list/list-renderer.d.ts +0 -4
  111. package/dist/types/components/menu-list/menu-list-renderer.d.ts +0 -4
  112. package/dist/types/components/picker/picker.d.ts +0 -9
  113. package/dist/types/components/picker/searcher.types.d.ts +0 -1
  114. package/dist/types/components/popover/popover.d.ts +0 -2
  115. package/dist/types/components/portal/contains.d.ts +0 -1
  116. package/dist/types/components/portal/portal.d.ts +10 -11
  117. package/dist/types/components/shortcut/shortcut.d.ts +0 -1
  118. package/dist/types/components/snackbar/snackbar.d.ts +23 -1
  119. package/dist/types/components/split-button/split-button.d.ts +0 -1
  120. package/dist/types/components/tab-bar/tab-bar.d.ts +1 -2
  121. package/dist/types/components/tab-bar/tabs.d.ts +0 -1
  122. package/dist/types/components/tab-panel/tab-panel.d.ts +0 -1
  123. package/dist/types/components/table/columns.d.ts +0 -7
  124. package/dist/types/components/table/element-pool.d.ts +0 -2
  125. package/dist/types/components/table/selection.d.ts +0 -4
  126. package/dist/types/components/table/table-selection.d.ts +0 -4
  127. package/dist/types/components/table/table.types.d.ts +0 -3
  128. package/dist/types/components/tooltip/tooltip-content.d.ts +0 -1
  129. package/dist/types/components/tooltip/tooltip.d.ts +0 -1
  130. package/dist/types/components.d.ts +1 -1
  131. package/dist/types/global/icon-cache.d.ts +0 -1
  132. package/dist/types/util/dom.d.ts +0 -1
  133. package/dist/types/util/multiple.d.ts +0 -1
  134. package/package.json +4 -4
  135. /package/dist/lime-elements/{p-f08f504b.js → p-0eabb204.js} +0 -0
  136. /package/dist/lime-elements/{p-0534b23b.js → p-5f020b3c.js} +0 -0
  137. /package/dist/lime-elements/{p-af8d4fe7.js → p-acf307d9.js} +0 -0
@@ -14,7 +14,6 @@ import { Tab } from '../tab-bar/tab.types';
14
14
  *
15
15
  * The slotted components can also emit the `changeTab` event to update anything
16
16
  * inside the actual tab, e.g. to change the icon, color or badge.
17
- *
18
17
  * @slot - Content to put inside the `limel-tab-panel`. Each slotted element
19
18
  * must have the `id` attribute equal to the id of the tab it belongs to.
20
19
  * @exampleComponent limel-example-tab-panel
@@ -6,7 +6,6 @@ export declare class ColumnDefinitionFactory {
6
6
  constructor(pool: ElementPool);
7
7
  /**
8
8
  * Create Tabulator column definitions from a limel-table column configuration
9
- *
10
9
  * @param {Column} column config describing the column
11
10
  * @returns {Tabulator.ColumnDefinition} Tabulator column
12
11
  */
@@ -14,14 +13,12 @@ export declare class ColumnDefinitionFactory {
14
13
  }
15
14
  /**
16
15
  * Formats the header of the column
17
- *
18
16
  * @param {Column} column the configuration for the column
19
17
  * @returns {string | HTMLElement} custom component that renders a column header
20
18
  */
21
19
  export declare const formatHeader: (column: Column) => () => string | HTMLElement;
22
20
  /**
23
21
  * Create a formatter to be used to format values in a column
24
- *
25
22
  * @param {Column} column config describing the column
26
23
  * @param {ElementPool} pool pool to get custom components from
27
24
  * @returns {Tabulator.Formatter} Tabulator formatter
@@ -29,7 +26,6 @@ export declare const formatHeader: (column: Column) => () => string | HTMLElemen
29
26
  export declare function createFormatter(column: Column, pool: ElementPool): Tabulator.Formatter;
30
27
  /**
31
28
  * Format the value of a cell in the table
32
- *
33
29
  * @param {Tabulator.CellComponent} cell the cell being rendered in the table
34
30
  * @param {Column} column configuration for the current column
35
31
  * @returns {string} the formatted value
@@ -37,7 +33,6 @@ export declare function createFormatter(column: Column, pool: ElementPool): Tabu
37
33
  export declare function formatCell(cell: Tabulator.CellComponent, column: Column): string;
38
34
  /**
39
35
  * Create a custom component that renders a cell value
40
- *
41
36
  * @param {Tabulator.CellComponent} cell Tabulator cell
42
37
  * @param {Column} column lime-elements column configuration
43
38
  * @param {string} value the value of the cell being rendered
@@ -47,7 +42,6 @@ export declare function formatCell(cell: Tabulator.CellComponent, column: Column
47
42
  export declare function createCustomComponent(cell: Tabulator.CellComponent, column: Column, value: string, pool: ElementPool): HTMLElement;
48
43
  /**
49
44
  * Set all properties for a custom element, including event listeners
50
- *
51
45
  * @param {HTMLElement} element the custom element
52
46
  * @param {object} props object of properties and event listeners
53
47
  */
@@ -57,7 +51,6 @@ interface TabulatorSorter extends Tabulator.Sorter {
57
51
  }
58
52
  /**
59
53
  * Create a column sorter from a tabulator sorter
60
- *
61
54
  * @param {Column[]} columns all available columns in the table
62
55
  * @returns {Function} function that creates a sorter from a tabulator sorter
63
56
  */
@@ -5,7 +5,6 @@ export declare class ElementPool {
5
5
  constructor(document: Document);
6
6
  /**
7
7
  * Get an element from the pool
8
- *
9
8
  * @param {string} name tag name of the element
10
9
  * @returns {HTMLElement} the element
11
10
  */
@@ -13,7 +12,6 @@ export declare class ElementPool {
13
12
  private isFree;
14
13
  /**
15
14
  * Release an element from the pool so that it can be reused
16
- *
17
15
  * @param {HTMLElement} element the element to release from the pool
18
16
  */
19
17
  release(element: HTMLElement): void;
@@ -30,7 +30,6 @@ export declare class Selection {
30
30
  * The provided function `getDataByIndex` is used to provide data for the
31
31
  * selected items when selection is toggled by using the item index,
32
32
  * which can be the row position in a table.
33
- *
34
33
  * @param {Function} getDataByIndex A function that returns the data at the given index
35
34
  */
36
35
  constructor(getDataByIndex: (number: any) => any);
@@ -48,14 +47,12 @@ export declare class Selection {
48
47
  set items(items: any[]);
49
48
  /**
50
49
  * Checks whether the given item exist in the selection
51
- *
52
50
  * @param {any} data The data to look up
53
51
  * @returns {boolean} `true` if the given data exist in the selection, otherwise `false`
54
52
  */
55
53
  has(data: any): boolean;
56
54
  /**
57
55
  * Toggles the item at the given index in the selection
58
- *
59
56
  * @param {number} index The index of the item to toggle
60
57
  * @returns {SelectionChangeSet} The changes made to the selection
61
58
  */
@@ -66,7 +63,6 @@ export declare class Selection {
66
63
  * their current state in the selection.
67
64
  * Initially, when no last toggled index exist, this function behaves like
68
65
  * `toggleSelection`.
69
- *
70
66
  * @param {number} index The index of the item to toggle
71
67
  * @returns {SelectionChangeSet} The changes made to the selection
72
68
  */
@@ -11,7 +11,6 @@ export declare class TableSelection {
11
11
  private selection;
12
12
  /**
13
13
  * Creates an instance of the TableSelection class
14
- *
15
14
  * @param {Function} getTable Function that returns the Tabulator instance
16
15
  * @param {ElementPool} pool The element pool used to cache the checkbox components
17
16
  * @param {EventEmitter<object[]>} selectEvent The event emitter to use when checkboxes are toggled
@@ -27,13 +26,11 @@ export declare class TableSelection {
27
26
  clear(): void;
28
27
  /**
29
28
  * Sets the selected items
30
- *
31
29
  * @param {any[]} data The selected items
32
30
  */
33
31
  setSelection(data: any[]): void;
34
32
  /**
35
33
  * Prepends a checkbox column used for row selection to the given column definitions
36
- *
37
34
  * @param {Tabulator.ColumnDefinition[]} columnDefinitions The column definition for the table
38
35
  * @returns {Tabulator.ColumnDefinition[]} The column definitions with the checkbox column prepended to it
39
36
  */
@@ -45,7 +42,6 @@ export declare class TableSelection {
45
42
  * Tabulator cell click handler that updates the selection for the clicked
46
43
  * row and toggles the selection from the last clicked row if the shift key
47
44
  * is pressed down.
48
- *
49
45
  * @param {PointerEvent} ev The pointer event
50
46
  * @param {Tabulator.CellComponent} cell The clicked cell component
51
47
  */
@@ -35,7 +35,6 @@ export interface Column<T extends object = any> {
35
35
  export declare type TableFormatter = (value: any, data?: object) => string;
36
36
  /**
37
37
  * Definition for a component to be displayed in a cell in the table
38
- *
39
38
  * @note The table will display the component as `inline-block` in order
40
39
  * to give the column the correct size. If the component should have the
41
40
  * full width of the column, this might have to be overridden by setting
@@ -63,7 +62,6 @@ export interface TableComponentDefinition {
63
62
  * `props` properties when the component is created.
64
63
  *
65
64
  * When the propsFactory is used for header components there will be no data available
66
- *
67
65
  * @param {*} data the data for the current row
68
66
  * @returns {object} properties for the component
69
67
  */
@@ -127,7 +125,6 @@ export declare enum ColumnAggregatorType {
127
125
  }
128
126
  /**
129
127
  * Calculate an aggregated value for a column
130
- *
131
128
  * @param {Column} column the configuration for the column
132
129
  * @param {*[]} values list of all values to be aggregated
133
130
  * @param {T[]} data list of all objects to be aggregated
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * This component is used internally by `limel-tooltip`.
3
- *
4
3
  * @private
5
4
  */
6
5
  export declare class TooltipContent {
@@ -36,7 +36,6 @@
36
36
  * use that, not a tooltip.
37
37
  * - Make sure to use the tooltip on an element that users naturally and
38
38
  * effortlessly recognize can be hovered.
39
- *
40
39
  * @exampleComponent limel-example-tooltip
41
40
  * @exampleComponent limel-example-tooltip-max-character
42
41
  * @exampleComponent limel-example-tooltip-composite
@@ -1111,7 +1111,7 @@ export namespace Components {
1111
1111
  /**
1112
1112
  * The amount of time in milliseconds to show the snackbar.
1113
1113
  */
1114
- "timeout": number;
1114
+ "timeout"?: number;
1115
1115
  }
1116
1116
  interface LimelSpinner {
1117
1117
  /**
@@ -3,7 +3,6 @@ export declare class IconCache {
3
3
  private resolveFunctions;
4
4
  /**
5
5
  * Get icon data from the cache
6
- *
7
6
  * @param {string} name name of the icon
8
7
  * @param {string} path path on the server where the assets are located
9
8
  * @returns {string} svg markup
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * Check if an element is a descendant of another, even if it is located within a shadow root
3
- *
4
3
  * @param {Node} element the element to check
5
4
  * @param {Node} parent the parent element
6
5
  * @returns {boolean} true if the element is a descendant of the parent element, false otherwise
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * Type guard for checking if a value is multiple items or not
3
- *
4
3
  * @param {T | T[]} value the value to check
5
4
  * @returns {boolean} true if value is multiple items, false otherwise
6
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/lime-elements",
3
- "version": "36.3.1-next.2",
3
+ "version": "36.3.1",
4
4
  "description": "Lime Elements",
5
5
  "author": "Lime Technologies",
6
6
  "license": "Apache-2.0",
@@ -50,7 +50,7 @@
50
50
  "@types/jest": "^27.4.0",
51
51
  "@types/lodash-es": "^4.17.7",
52
52
  "@types/puppeteer": "^7.0.4",
53
- "@types/react": "^18.2.0",
53
+ "@types/react": "^18.2.1",
54
54
  "@types/tabulator-tables": "^4.9.4",
55
55
  "@typescript-eslint/eslint-plugin": "^5.59.2",
56
56
  "@typescript-eslint/parser": "^5.59.2",
@@ -62,7 +62,7 @@
62
62
  "eslint": "^8.39.0",
63
63
  "eslint-config-prettier": "^8.8.0",
64
64
  "eslint-plugin-ban": "^1.6.0",
65
- "eslint-plugin-jsdoc": "^41.1.2",
65
+ "eslint-plugin-jsdoc": "^43.1.1",
66
66
  "eslint-plugin-prefer-arrow": "^1.2.3",
67
67
  "eslint-plugin-prettier": "^4.2.1",
68
68
  "eslint-plugin-react": "^7.32.2",
@@ -79,7 +79,7 @@
79
79
  "moment": "^2.29.4",
80
80
  "number-abbreviate": "^2.0.0",
81
81
  "prettier": "^2.8.8",
82
- "puppeteer": "^20.0.0",
82
+ "puppeteer": "^20.1.0",
83
83
  "react": "^18.2.0",
84
84
  "react-dom": "^18.2.0",
85
85
  "react-shadow-dom-retarget-events": "^1.1.0",