@limetech/lime-elements 36.0.0 → 36.1.0-dev.2

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 (270) hide show
  1. package/dist/cjs/{checkbox.template-b6c6562c.js → checkbox.template-ac867c17.js} +1 -1
  2. package/dist/cjs/{index-2a28697b.js → index-287e25e0.js} +424 -246
  3. package/dist/cjs/lime-elements.cjs.js +3 -3
  4. package/dist/cjs/limel-badge.cjs.entry.js +24 -3
  5. package/dist/cjs/limel-banner.cjs.entry.js +3 -1
  6. package/dist/cjs/limel-button-group.cjs.entry.js +3 -8
  7. package/dist/cjs/{limel-button.cjs.entry.js → limel-button_2.cjs.entry.js} +117 -21
  8. package/dist/cjs/limel-checkbox.cjs.entry.js +10 -26
  9. package/dist/cjs/limel-chip-set.cjs.entry.js +22 -53
  10. package/dist/cjs/limel-circular-progress.cjs.entry.js +10 -15
  11. package/dist/cjs/limel-code-editor.cjs.entry.js +110 -97
  12. package/dist/cjs/limel-collapsible-section.cjs.entry.js +4 -5
  13. package/dist/cjs/limel-color-picker-palette.cjs.entry.js +5 -1
  14. package/dist/cjs/limel-color-picker.cjs.entry.js +8 -2
  15. package/dist/cjs/limel-config.cjs.entry.js +2 -1
  16. package/dist/cjs/limel-date-picker.cjs.entry.js +15 -33
  17. package/dist/cjs/limel-dialog.cjs.entry.js +3 -11
  18. package/dist/cjs/limel-dock-button.cjs.entry.js +5 -15
  19. package/dist/cjs/limel-dock.cjs.entry.js +8 -40
  20. package/dist/cjs/limel-file.cjs.entry.js +10 -24
  21. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +149 -48
  22. package/dist/cjs/limel-flex-container.cjs.entry.js +1 -13
  23. package/dist/cjs/limel-form.cjs.entry.js +326 -327
  24. package/dist/cjs/limel-grid.cjs.entry.js +1 -1
  25. package/dist/cjs/limel-header.cjs.entry.js +5 -1
  26. package/dist/cjs/limel-icon-button.cjs.entry.js +3 -8
  27. package/dist/cjs/limel-icon.cjs.entry.js +4 -1
  28. package/dist/cjs/limel-input-field.cjs.entry.js +28 -61
  29. package/dist/cjs/limel-linear-progress.cjs.entry.js +1 -7
  30. package/dist/cjs/limel-list_2.cjs.entry.js +9 -18
  31. package/dist/cjs/limel-menu-list.cjs.entry.js +6 -13
  32. package/dist/cjs/limel-picker.cjs.entry.js +14 -39
  33. package/dist/cjs/limel-popover_4.cjs.entry.js +14 -13
  34. package/dist/cjs/limel-portal.cjs.entry.js +63 -73
  35. package/dist/cjs/limel-progress-flow-item.cjs.entry.js +4 -13
  36. package/dist/cjs/limel-progress-flow.cjs.entry.js +4 -20
  37. package/dist/cjs/limel-select.cjs.entry.js +8 -25
  38. package/dist/cjs/limel-shortcut.cjs.entry.js +52 -0
  39. package/dist/cjs/limel-slider.cjs.entry.js +12 -33
  40. package/dist/cjs/limel-snackbar.cjs.entry.js +7 -5
  41. package/dist/cjs/limel-spinner.cjs.entry.js +1 -7
  42. package/dist/cjs/limel-split-button.cjs.entry.js +27 -0
  43. package/dist/cjs/limel-switch.cjs.entry.js +6 -19
  44. package/dist/cjs/limel-tab-bar.cjs.entry.js +2 -5
  45. package/dist/cjs/limel-tab-panel.cjs.entry.js +2 -5
  46. package/dist/cjs/limel-table.cjs.entry.js +16 -28
  47. package/dist/cjs/loader.cjs.js +3 -3
  48. package/dist/cjs/{translations-5a8d7f6c.js → translations-ca7279bc.js} +6 -0
  49. package/dist/collection/collection-manifest.json +4 -2
  50. package/dist/collection/components/badge/badge.css +13 -0
  51. package/dist/collection/components/badge/badge.js +60 -28
  52. package/dist/collection/components/banner/banner.js +88 -83
  53. package/dist/collection/components/button/button.css +4 -1
  54. package/dist/collection/components/button/button.js +148 -160
  55. package/dist/collection/components/button-group/button-group.js +81 -79
  56. package/dist/collection/components/checkbox/checkbox.js +172 -176
  57. package/dist/collection/components/checkbox/checkbox.template.js +15 -23
  58. package/dist/collection/components/chip-set/chip-set.css +4 -0
  59. package/dist/collection/components/chip-set/chip-set.js +486 -528
  60. package/dist/collection/components/circular-progress/circular-progress.css +27 -5
  61. package/dist/collection/components/circular-progress/circular-progress.js +129 -113
  62. package/dist/collection/components/code-editor/code-editor.js +178 -182
  63. package/dist/collection/components/collapsible-section/collapsible-section.js +120 -124
  64. package/dist/collection/components/color-picker/color-picker-palette.js +102 -92
  65. package/dist/collection/components/color-picker/color-picker.js +143 -131
  66. package/dist/collection/components/config/config.js +21 -17
  67. package/dist/collection/components/date-picker/date-picker.js +254 -261
  68. package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.css +595 -166
  69. package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +150 -143
  70. package/dist/collection/components/date-picker/pickers/QuarterPicker.js +1 -3
  71. package/dist/collection/components/dialog/dialog.js +134 -142
  72. package/dist/collection/components/dock/dock-button/dock-button.js +138 -141
  73. package/dist/collection/components/dock/dock.js +204 -232
  74. package/dist/collection/components/file/file.js +187 -191
  75. package/dist/collection/components/flex-container/flex-container.js +96 -102
  76. package/dist/collection/components/form/form.js +158 -150
  77. package/dist/collection/components/grid/grid.js +11 -7
  78. package/dist/collection/components/header/header.js +89 -87
  79. package/dist/collection/components/icon/icon.js +79 -66
  80. package/dist/collection/components/icon-button/icon-button.js +85 -85
  81. package/dist/collection/components/input-field/input-field.css +9 -8
  82. package/dist/collection/components/input-field/input-field.js +482 -523
  83. package/dist/collection/components/linear-progress/linear-progress.js +57 -61
  84. package/dist/collection/components/list/list-renderer.js +3 -12
  85. package/dist/collection/components/list/list.js +167 -164
  86. package/dist/collection/components/list/radio-button/radio-button.template.js +2 -8
  87. package/dist/collection/components/menu/menu.js +183 -195
  88. package/dist/collection/components/menu-list/menu-list-renderer.js +2 -9
  89. package/dist/collection/components/menu-list/menu-list.js +149 -146
  90. package/dist/collection/components/menu-surface/menu-surface.js +69 -64
  91. package/dist/collection/components/picker/picker.js +412 -427
  92. package/dist/collection/components/popover/popover.js +79 -74
  93. package/dist/collection/components/popover-surface/popover-surface.css +4 -0
  94. package/dist/collection/components/popover-surface/popover-surface.js +34 -25
  95. package/dist/collection/components/portal/portal.js +145 -158
  96. package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.js +90 -94
  97. package/dist/collection/components/progress-flow/progress-flow.js +93 -101
  98. package/dist/collection/components/select/select.js +206 -211
  99. package/dist/collection/components/select/select.template.js +9 -23
  100. package/dist/collection/components/shortcut/shortcut.css +91 -0
  101. package/dist/collection/components/shortcut/shortcut.js +194 -0
  102. package/dist/collection/components/slider/slider.js +233 -264
  103. package/dist/collection/components/snackbar/snackbar.js +175 -169
  104. package/dist/collection/components/spinner/spinner.js +56 -85
  105. package/dist/collection/components/split-button/split-button.css +75 -0
  106. package/dist/collection/components/split-button/split-button.js +168 -0
  107. package/dist/collection/components/switch/switch.js +117 -129
  108. package/dist/collection/components/tab-bar/tab-bar.js +87 -92
  109. package/dist/collection/components/tab-panel/tab-panel.js +64 -61
  110. package/dist/collection/components/table/table.js +447 -457
  111. package/dist/collection/components/tooltip/tooltip-content.js +70 -61
  112. package/dist/collection/components/tooltip/tooltip.js +96 -91
  113. package/dist/collection/icons/angle_left.svg +593 -0
  114. package/dist/collection/icons/angle_right.svg +593 -0
  115. package/dist/collection/icons/external_link.svg +593 -0
  116. package/dist/collection/icons/high_importance.svg +593 -0
  117. package/dist/collection/icons/unit-test.svg +593 -0
  118. package/dist/collection/style/internal/z-index.scss +0 -7
  119. package/dist/collection/translations/da.js +1 -0
  120. package/dist/collection/translations/en.js +1 -0
  121. package/dist/collection/translations/fi.js +1 -0
  122. package/dist/collection/translations/nl.js +1 -0
  123. package/dist/collection/translations/no.js +1 -0
  124. package/dist/collection/translations/sv.js +1 -0
  125. package/dist/esm/{checkbox.template-2f1bbc98.js → checkbox.template-fc7fcd06.js} +1 -1
  126. package/dist/esm/{index-11cd0b60.js → index-cdfd351d.js} +424 -246
  127. package/dist/esm/lime-elements.js +3 -3
  128. package/dist/esm/limel-badge.entry.js +24 -3
  129. package/dist/esm/limel-banner.entry.js +3 -1
  130. package/dist/esm/limel-button-group.entry.js +3 -8
  131. package/dist/esm/{limel-button.entry.js → limel-button_2.entry.js} +117 -22
  132. package/dist/esm/limel-checkbox.entry.js +10 -26
  133. package/dist/esm/limel-chip-set.entry.js +22 -53
  134. package/dist/esm/limel-circular-progress.entry.js +10 -15
  135. package/dist/esm/limel-code-editor.entry.js +110 -97
  136. package/dist/esm/limel-collapsible-section.entry.js +4 -5
  137. package/dist/esm/limel-color-picker-palette.entry.js +5 -1
  138. package/dist/esm/limel-color-picker.entry.js +8 -2
  139. package/dist/esm/limel-config.entry.js +2 -1
  140. package/dist/esm/limel-date-picker.entry.js +15 -33
  141. package/dist/esm/limel-dialog.entry.js +3 -11
  142. package/dist/esm/limel-dock-button.entry.js +5 -15
  143. package/dist/esm/limel-dock.entry.js +8 -40
  144. package/dist/esm/limel-file.entry.js +10 -24
  145. package/dist/esm/limel-flatpickr-adapter.entry.js +149 -48
  146. package/dist/esm/limel-flex-container.entry.js +1 -13
  147. package/dist/esm/limel-form.entry.js +326 -327
  148. package/dist/esm/limel-grid.entry.js +1 -1
  149. package/dist/esm/limel-header.entry.js +5 -1
  150. package/dist/esm/limel-icon-button.entry.js +3 -8
  151. package/dist/esm/limel-icon.entry.js +4 -1
  152. package/dist/esm/limel-input-field.entry.js +28 -61
  153. package/dist/esm/limel-linear-progress.entry.js +1 -7
  154. package/dist/esm/limel-list_2.entry.js +9 -18
  155. package/dist/esm/limel-menu-list.entry.js +6 -13
  156. package/dist/esm/limel-picker.entry.js +14 -39
  157. package/dist/esm/limel-popover_4.entry.js +14 -13
  158. package/dist/esm/limel-portal.entry.js +63 -73
  159. package/dist/esm/limel-progress-flow-item.entry.js +4 -13
  160. package/dist/esm/limel-progress-flow.entry.js +4 -20
  161. package/dist/esm/limel-select.entry.js +8 -25
  162. package/dist/esm/limel-shortcut.entry.js +48 -0
  163. package/dist/esm/limel-slider.entry.js +12 -33
  164. package/dist/esm/limel-snackbar.entry.js +7 -5
  165. package/dist/esm/limel-spinner.entry.js +1 -7
  166. package/dist/esm/limel-split-button.entry.js +23 -0
  167. package/dist/esm/limel-switch.entry.js +6 -19
  168. package/dist/esm/limel-tab-bar.entry.js +2 -5
  169. package/dist/esm/limel-tab-panel.entry.js +2 -5
  170. package/dist/esm/limel-table.entry.js +16 -28
  171. package/dist/esm/loader.js +3 -3
  172. package/dist/esm/polyfills/css-shim.js +1 -1
  173. package/dist/esm/{translations-682e905e.js → translations-0d0ee941.js} +6 -0
  174. package/dist/lime-elements/lime-elements.esm.js +1 -1
  175. package/dist/lime-elements/p-059e0a64.entry.js +1 -0
  176. package/dist/lime-elements/{p-440454ed.entry.js → p-06f2f6b4.entry.js} +1 -1
  177. package/dist/lime-elements/{p-71efe2ca.entry.js → p-0dbde06f.entry.js} +1 -1
  178. package/dist/lime-elements/p-12a7453b.entry.js +73 -0
  179. package/dist/lime-elements/p-15c2eb16.entry.js +1 -0
  180. package/dist/lime-elements/{p-c80acfb2.entry.js → p-15ca0d70.entry.js} +4 -4
  181. package/dist/lime-elements/{p-ed65468d.entry.js → p-16eb9071.entry.js} +1 -1
  182. package/dist/lime-elements/{p-1ede893b.js → p-1af8258b.js} +1 -1
  183. package/dist/lime-elements/p-246862ec.js +1 -0
  184. package/dist/lime-elements/p-28dffd9e.entry.js +1 -0
  185. package/dist/lime-elements/p-334b5f82.entry.js +37 -0
  186. package/dist/lime-elements/p-36a3b897.entry.js +1 -0
  187. package/dist/lime-elements/p-4b426b7e.entry.js +11 -0
  188. package/dist/lime-elements/p-4eda8b67.entry.js +82 -0
  189. package/dist/lime-elements/{p-9af0704c.entry.js → p-4fb4e89b.entry.js} +1 -1
  190. package/dist/lime-elements/{p-a5af84a7.entry.js → p-5338663b.entry.js} +1 -1
  191. package/dist/lime-elements/p-5ce60a32.entry.js +126 -0
  192. package/dist/lime-elements/p-5f13035a.entry.js +1 -0
  193. package/dist/lime-elements/{p-42b67933.entry.js → p-600464a9.entry.js} +1 -1
  194. package/dist/lime-elements/p-6534e16a.entry.js +1 -0
  195. package/dist/lime-elements/p-6a4a5ddd.entry.js +1 -0
  196. package/dist/lime-elements/p-6c38b505.entry.js +1 -0
  197. package/dist/lime-elements/p-744c21f8.entry.js +1 -0
  198. package/dist/lime-elements/p-75d01713.entry.js +1 -0
  199. package/dist/lime-elements/p-768b7cbb.entry.js +1 -0
  200. package/dist/lime-elements/{p-6e7809a6.entry.js → p-82cd7bb6.entry.js} +1 -1
  201. package/dist/lime-elements/p-84a137a7.entry.js +1 -0
  202. package/dist/lime-elements/p-8715eac0.entry.js +1 -0
  203. package/dist/lime-elements/{p-8827628d.entry.js → p-8fb83e83.entry.js} +2 -2
  204. package/dist/lime-elements/p-90961075.entry.js +1 -0
  205. package/dist/lime-elements/p-9984b31c.entry.js +1 -0
  206. package/dist/lime-elements/p-9bd76629.entry.js +59 -0
  207. package/dist/lime-elements/p-9f19e0c1.entry.js +1 -0
  208. package/dist/lime-elements/p-ace4e596.entry.js +1 -0
  209. package/dist/lime-elements/p-cad7cda1.entry.js +16 -0
  210. package/dist/lime-elements/{p-104c89e8.entry.js → p-cfaa685f.entry.js} +1 -1
  211. package/dist/lime-elements/{p-94899019.entry.js → p-d1187867.entry.js} +1 -1
  212. package/dist/lime-elements/{p-aa66620a.entry.js → p-d3ebc657.entry.js} +2 -2
  213. package/dist/lime-elements/p-d4e788e1.js +2 -0
  214. package/dist/lime-elements/p-d512656b.entry.js +1 -0
  215. package/dist/lime-elements/p-d8e5a9ee.entry.js +1 -0
  216. package/dist/lime-elements/p-dcd2a664.entry.js +16 -0
  217. package/dist/lime-elements/p-de161bb5.entry.js +1 -0
  218. package/dist/lime-elements/p-e4bca82b.entry.js +1 -0
  219. package/dist/lime-elements/{p-c15da26d.entry.js → p-e7bb664f.entry.js} +1 -1
  220. package/dist/lime-elements/p-ef04b849.entry.js +82 -0
  221. package/dist/lime-elements/style/internal/z-index.scss +0 -7
  222. package/dist/loader/package.json +1 -0
  223. package/dist/types/components/badge/badge.d.ts +12 -4
  224. package/dist/types/components/circular-progress/circular-progress.d.ts +5 -0
  225. package/dist/types/components/picker/picker.d.ts +2 -2
  226. package/dist/types/components/shortcut/shortcut.d.ts +57 -0
  227. package/dist/types/components/split-button/split-button.d.ts +45 -0
  228. package/dist/types/components/tab-bar/tab.types.d.ts +1 -1
  229. package/dist/types/components.d.ts +328 -70
  230. package/dist/types/stencil-public-runtime.d.ts +20 -4
  231. package/dist/types/translations/da.d.ts +1 -0
  232. package/dist/types/translations/en.d.ts +1 -0
  233. package/dist/types/translations/fi.d.ts +1 -0
  234. package/dist/types/translations/nl.d.ts +1 -0
  235. package/dist/types/translations/no.d.ts +1 -0
  236. package/dist/types/translations/sv.d.ts +1 -0
  237. package/package.json +24 -24
  238. package/dist/cjs/limel-menu.cjs.entry.js +0 -137
  239. package/dist/esm/limel-menu.entry.js +0 -133
  240. package/dist/lime-elements/p-009de50e.entry.js +0 -1
  241. package/dist/lime-elements/p-0ba0c38a.entry.js +0 -11
  242. package/dist/lime-elements/p-1390fdcb.entry.js +0 -126
  243. package/dist/lime-elements/p-19f72dab.entry.js +0 -1
  244. package/dist/lime-elements/p-2639edf9.entry.js +0 -73
  245. package/dist/lime-elements/p-2fc4f4ff.entry.js +0 -1
  246. package/dist/lime-elements/p-3bf54a4c.js +0 -1
  247. package/dist/lime-elements/p-3cf4aae0.entry.js +0 -1
  248. package/dist/lime-elements/p-4dc07252.entry.js +0 -82
  249. package/dist/lime-elements/p-53e01330.entry.js +0 -1
  250. package/dist/lime-elements/p-5ef52589.entry.js +0 -1
  251. package/dist/lime-elements/p-63e25a0a.entry.js +0 -1
  252. package/dist/lime-elements/p-653faf47.entry.js +0 -1
  253. package/dist/lime-elements/p-6b1bc80f.entry.js +0 -1
  254. package/dist/lime-elements/p-93cd2268.entry.js +0 -1
  255. package/dist/lime-elements/p-93f42a32.entry.js +0 -1
  256. package/dist/lime-elements/p-95f275ab.entry.js +0 -1
  257. package/dist/lime-elements/p-995bbd2a.entry.js +0 -1
  258. package/dist/lime-elements/p-a465084b.entry.js +0 -82
  259. package/dist/lime-elements/p-b0046fcd.entry.js +0 -1
  260. package/dist/lime-elements/p-b0e54dc2.entry.js +0 -1
  261. package/dist/lime-elements/p-c544c05b.entry.js +0 -16
  262. package/dist/lime-elements/p-c59cbd68.entry.js +0 -1
  263. package/dist/lime-elements/p-cb8db8c2.entry.js +0 -37
  264. package/dist/lime-elements/p-d74fa89e.entry.js +0 -1
  265. package/dist/lime-elements/p-e98d76e8.entry.js +0 -59
  266. package/dist/lime-elements/p-e9a95b8f.js +0 -1
  267. package/dist/lime-elements/p-f0c9dadd.entry.js +0 -1
  268. package/dist/lime-elements/p-f0e872b6.entry.js +0 -16
  269. package/dist/lime-elements/p-f41567a1.entry.js +0 -1
  270. package/dist/lime-elements/p-f5df4d4f.entry.js +0 -1
@@ -221,7 +221,9 @@ export declare type ErrorHandler = (err: any, element?: HTMLElement) => void;
221
221
  */
222
222
  export declare const setMode: (handler: ResolutionHandler) => void;
223
223
  /**
224
- * getMode
224
+ * `getMode()` is used for libraries which provide multiple "modes" for styles.
225
+ * @param ref a reference to the node to get styles for
226
+ * @returns the current mode or undefined, if not found
225
227
  */
226
228
  export declare function getMode<T = string | undefined>(ref: any): T;
227
229
  export declare function setPlatformHelpers(helpers: {
@@ -234,6 +236,9 @@ export declare function setPlatformHelpers(helpers: {
234
236
  /**
235
237
  * Get the base path to where the assets can be found. Use `setAssetPath(path)`
236
238
  * if the path needs to be customized.
239
+ * @param path the path to use in calculating the asset path. this value will be
240
+ * used in conjunction with the base asset path
241
+ * @returns the base path
237
242
  */
238
243
  export declare function getAssetPath(path: string): string;
239
244
  /**
@@ -246,22 +251,29 @@ export declare function getAssetPath(path: string): string;
246
251
  * `setAssetPath(document.currentScript.src)`, or using a bundler's replace plugin to
247
252
  * dynamically set the path at build time, such as `setAssetPath(process.env.ASSET_PATH)`.
248
253
  * But do note that this configuration depends on how your script is bundled, or lack of
249
- * bunding, and where your assets can be loaded from. Additionally custom bundling
254
+ * bundling, and where your assets can be loaded from. Additionally custom bundling
250
255
  * will have to ensure the static assets are copied to its build directory.
256
+ * @param path the asset path to set
257
+ * @returns the set path
251
258
  */
252
259
  export declare function setAssetPath(path: string): string;
253
260
  /**
254
- * getElement
261
+ * Retrieve a Stencil element for a given reference
262
+ * @param ref the ref to get the Stencil element for
263
+ * @returns a reference to the element
255
264
  */
256
265
  export declare function getElement(ref: any): HTMLStencilElement;
257
266
  /**
258
267
  * Schedules a new render of the given instance or element even if no state changed.
259
268
  *
260
- * Notice `forceUpdate()` is not syncronous and might perform the DOM render in the next frame.
269
+ * Notice `forceUpdate()` is not synchronous and might perform the DOM render in the next frame.
270
+ *
271
+ * @param ref the node/element to force the re-render of
261
272
  */
262
273
  export declare function forceUpdate(ref: any): void;
263
274
  /**
264
275
  * getRenderingRef
276
+ * @returns the rendering ref
265
277
  */
266
278
  export declare function getRenderingRef(): any;
267
279
  export interface HTMLStencilElement extends HTMLElement {
@@ -272,6 +284,8 @@ export interface HTMLStencilElement extends HTMLElement {
272
284
  * in the best moment to perform DOM mutation without causing layout thrashing.
273
285
  *
274
286
  * For further information: https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing
287
+ *
288
+ * @param task the DOM-write to schedule
275
289
  */
276
290
  export declare function writeTask(task: RafCallback): void;
277
291
  /**
@@ -279,6 +293,8 @@ export declare function writeTask(task: RafCallback): void;
279
293
  * in the best moment to perform DOM reads without causing layout thrashing.
280
294
  *
281
295
  * For further information: https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing
296
+ *
297
+ * @param task the DOM-read to schedule
282
298
  */
283
299
  export declare function readTask(task: RafCallback): void;
284
300
  /**
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'date-picker.today': string;
2
3
  'date-picker.month.heading': string;
3
4
  'date-picker.quarter.heading': string;
4
5
  'date-picker.year.heading': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'date-picker.today': string;
2
3
  'date-picker.month.heading': string;
3
4
  'date-picker.quarter.heading': string;
4
5
  'date-picker.year.heading': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'date-picker.today': string;
2
3
  'date-picker.month.heading': string;
3
4
  'date-picker.quarter.heading': string;
4
5
  'date-picker.year.heading': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'date-picker.today': string;
2
3
  'date-picker.month.heading': string;
3
4
  'date-picker.quarter.heading': string;
4
5
  'date-picker.year.heading': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'date-picker.today': string;
2
3
  'date-picker.month.heading': string;
3
4
  'date-picker.quarter.heading': string;
4
5
  'date-picker.year.heading': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'date-picker.today': string;
2
3
  'date-picker.month.heading': string;
3
4
  'date-picker.quarter.heading': string;
4
5
  'date-picker.year.heading': string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/lime-elements",
3
- "version": "36.0.0",
3
+ "version": "36.1.0-dev.2",
4
4
  "description": "Lime Elements",
5
5
  "author": "Lime Technologies",
6
6
  "license": "Apache-2.0",
@@ -40,56 +40,56 @@
40
40
  "generate": "stencil generate"
41
41
  },
42
42
  "devDependencies": {
43
- "@commitlint/config-conventional": "^16.0.0",
44
- "@lundalogik/lime-icons8": "^2.11.0",
45
- "@popperjs/core": "^2.11.5",
43
+ "@commitlint/config-conventional": "^17.2.0",
44
+ "@popperjs/core": "^2.11.6",
46
45
  "@rjsf/core": "^2.4.2",
47
- "@stencil/core": "^2.15.1",
48
- "@stencil/sass": "^1.5.2",
46
+ "@stencil/core": "^2.19.2",
47
+ "@stencil/sass": "^2.0.0",
49
48
  "@types/codemirror": "^5.60.2",
50
49
  "@types/html-escaper": "^3.0.0",
51
50
  "@types/jest": "^27.4.0",
52
51
  "@types/lodash-es": "^4.17.4",
53
52
  "@types/puppeteer": "^5.4.4",
54
- "@types/react": "^18.0.8",
53
+ "@types/react": "^18.0.25",
55
54
  "@types/tabulator-tables": "^4.9.4",
56
- "@typescript-eslint/eslint-plugin": "^5.21.0",
57
- "@typescript-eslint/parser": "^5.23.0",
55
+ "@typescript-eslint/eslint-plugin": "^5.42.1",
56
+ "@typescript-eslint/parser": "^5.42.1",
58
57
  "ajv": "^6.12.6",
59
58
  "awesome-debounce-promise": "^2.1.0",
60
- "codemirror": "^5.65.3",
59
+ "codemirror": "^5.65.9",
61
60
  "cross-env": "^7.0.3",
62
61
  "cz-conventional-changelog": "^3.3.0",
63
- "dayjs": "^1.11.1",
64
- "eslint": "^8.14.0",
62
+ "dayjs": "^1.11.6",
63
+ "eslint": "^8.27.0",
65
64
  "eslint-config-prettier": "^8.5.0",
66
- "eslint-plugin-jsdoc": "^39.2.7",
65
+ "eslint-plugin-ban": "^1.6.0",
66
+ "eslint-plugin-jsdoc": "^39.6.2",
67
67
  "eslint-plugin-prefer-arrow": "^1.2.3",
68
- "eslint-plugin-prettier": "^4.0.0",
69
- "eslint-plugin-react": "^7.29.4",
70
- "eslint-plugin-sonarjs": "^0.13.0",
68
+ "eslint-plugin-prettier": "^4.2.1",
69
+ "eslint-plugin-react": "^7.31.10",
70
+ "eslint-plugin-sonarjs": "^0.16.0",
71
71
  "flatpickr": "^4.6.13",
72
72
  "html-escaper": "^3.0.3",
73
73
  "jest": "^26.6.3",
74
- "jest-cli": "^28.0.2",
74
+ "jest-cli": "^27.4.5",
75
75
  "jsonlint-mod": "^1.7.6",
76
- "jsx-dom": "^7.0.4",
76
+ "jsx-dom": "^8.0.3",
77
77
  "kompendium": "^0.11.3",
78
78
  "lodash-es": "^4.17.21",
79
79
  "material-components-web": "^13.0.0",
80
80
  "moment": "^2.29.4",
81
81
  "number-abbreviate": "^2.0.0",
82
- "prettier": "^2.6.2",
83
- "puppeteer": "^13.7.0",
84
- "react": "^18.0.0",
85
- "react-dom": "^18.0.0",
82
+ "prettier": "^2.7.1",
83
+ "puppeteer": "^19.2.0",
84
+ "react": "^18.2.0",
85
+ "react-dom": "^18.2.0",
86
86
  "react-shadow-dom-retarget-events": "^1.1.0",
87
- "replace-in-file": "^6.2.0",
87
+ "replace-in-file": "^6.3.5",
88
88
  "shelljs": "0.8.5",
89
89
  "showdown": "2.1.0",
90
90
  "shx": "^0.3.3",
91
91
  "tabulator-tables": "^4.9.3",
92
- "typescript": "^4.6.4"
92
+ "typescript": "^4.8.4"
93
93
  },
94
94
  "keywords": [
95
95
  "lime elements",
@@ -1,137 +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
- const zipObject = require('./zipObject-93a471fa.js');
8
- require('./_assignValue-7c18d8d6.js');
9
- require('./_defineProperty-8f56146d.js');
10
- require('./_getNative-60328036.js');
11
- require('./eq-9a943b00.js');
12
- require('./isObject-e28b7997.js');
13
-
14
- const menuCss = ":host{display:inline-block}:host([hidden]){display:none}.menu__trigger{border-color:transparent;border-width:1px;border-style:solid;background:none;color:rgb(var(--contrast-800));height:2.25rem}.menu__trigger-enabled:hover{border-color:rgb(var(--contrast-800));color:rgb(var(--contrast-1100))}.mdc-menu-surface--anchor{position:relative}";
15
-
16
- const Menu = class {
17
- constructor(hostRef) {
18
- index.registerInstance(this, hostRef);
19
- this.cancel = index.createEvent(this, "cancel", 7);
20
- this.select = index.createEvent(this, "select", 7);
21
- /**
22
- * A list of items and separators to show in the menu.
23
- */
24
- this.items = [];
25
- /**
26
- * Sets the disabled state of the menu.
27
- */
28
- this.disabled = false;
29
- /**
30
- * Decides the menu's location in relation to its trigger
31
- */
32
- this.openDirection = 'bottom-start';
33
- /**
34
- * Sets the open state of the menu.
35
- */
36
- this.open = false;
37
- /**
38
- * Defines whether the menu should show badges.
39
- */
40
- this.badgeIcons = false;
41
- /**
42
- * Renders list items in a grid layout, rather than a vertical list
43
- */
44
- this.gridLayout = false;
45
- this.setTriggerAttributes = (element) => {
46
- const attributes = {
47
- 'aria-haspopup': true,
48
- 'aria-expanded': this.open,
49
- disabled: this.disabled,
50
- role: 'button',
51
- };
52
- for (const [key, value] of Object.entries(attributes)) {
53
- if (!value) {
54
- element.removeAttribute(key);
55
- }
56
- else {
57
- element.setAttribute(key, String(value));
58
- }
59
- }
60
- };
61
- this.onClose = () => {
62
- this.cancel.emit();
63
- this.open = false;
64
- };
65
- this.onTriggerClick = (event) => {
66
- event.stopPropagation();
67
- if (this.disabled) {
68
- return;
69
- }
70
- this.open = !this.open;
71
- };
72
- this.handleSelect = (event) => {
73
- event.stopPropagation();
74
- this.select.emit(event.detail);
75
- this.open = false;
76
- };
77
- this.setListElement = (element) => {
78
- this.list = element;
79
- };
80
- this.focusMenuItem = () => {
81
- var _a;
82
- const activeElement = this.list.shadowRoot.activeElement;
83
- activeElement === null || activeElement === void 0 ? void 0 : activeElement.blur();
84
- const MenuItems = this.items.filter(this.isMenuItem);
85
- const selectedIndex = Math.max(MenuItems.findIndex((item) => item.selected), 0);
86
- const menuElements = Array.from(this.list.shadowRoot.querySelectorAll('[role="menuitem"]'));
87
- (_a = menuElements[selectedIndex]) === null || _a === void 0 ? void 0 : _a.focus();
88
- };
89
- this.portalId = randomString.createRandomString();
90
- }
91
- openWatcher() {
92
- if (!this.open) {
93
- return;
94
- }
95
- const observer = new IntersectionObserver(() => {
96
- observer.unobserve(this.list);
97
- this.focusMenuItem();
98
- });
99
- observer.observe(this.list);
100
- }
101
- render() {
102
- const cssProperties = this.getCssProperties();
103
- const dropdownZIndex = getComputedStyle(this.host).getPropertyValue('--dropdown-z-index');
104
- return (index.h("div", { class: "mdc-menu-surface--anchor", onClick: this.onTriggerClick }, index.h("slot", { name: "trigger" }), index.h("limel-portal", { visible: this.open, containerId: this.portalId, openDirection: this.openDirection, position: "absolute", containerStyle: { 'z-index': dropdownZIndex } }, index.h("limel-menu-surface", { open: this.open, onDismiss: this.onClose, style: cssProperties, class: {
105
- 'has-grid-layout': this.gridLayout,
106
- } }, index.h("limel-menu-list", { class: {
107
- 'has-grid-layout has-interactive-items': this.gridLayout,
108
- }, items: this.items, type: "menu", badgeIcons: this.badgeIcons, onSelect: this.handleSelect, ref: this.setListElement })))));
109
- }
110
- componentDidRender() {
111
- const slotElement = this.host.shadowRoot.querySelector('slot');
112
- slotElement.assignedElements().forEach(this.setTriggerAttributes);
113
- }
114
- getCssProperties() {
115
- const propertyNames = [
116
- '--menu-surface-width',
117
- '--list-grid-item-max-width',
118
- '--list-grid-item-min-width',
119
- '--list-grid-gap',
120
- ];
121
- const style = getComputedStyle(this.host);
122
- const values = propertyNames.map((property) => {
123
- return style.getPropertyValue(property);
124
- });
125
- return zipObject.zipObject(propertyNames, values);
126
- }
127
- isMenuItem(item) {
128
- return !('separator' in item);
129
- }
130
- get host() { return index.getElement(this); }
131
- static get watchers() { return {
132
- "open": ["openWatcher"]
133
- }; }
134
- };
135
- Menu.style = menuCss;
136
-
137
- exports.limel_menu = Menu;
@@ -1,133 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-11cd0b60.js';
2
- import { c as createRandomString } from './random-string-2246b81e.js';
3
- import { z as zipObject } from './zipObject-2bb1968e.js';
4
- import './_assignValue-fb2bf80a.js';
5
- import './_defineProperty-2105cb48.js';
6
- import './_getNative-93d6bfe9.js';
7
- import './eq-c1c7f528.js';
8
- import './isObject-c74e273c.js';
9
-
10
- const menuCss = ":host{display:inline-block}:host([hidden]){display:none}.menu__trigger{border-color:transparent;border-width:1px;border-style:solid;background:none;color:rgb(var(--contrast-800));height:2.25rem}.menu__trigger-enabled:hover{border-color:rgb(var(--contrast-800));color:rgb(var(--contrast-1100))}.mdc-menu-surface--anchor{position:relative}";
11
-
12
- const Menu = class {
13
- constructor(hostRef) {
14
- registerInstance(this, hostRef);
15
- this.cancel = createEvent(this, "cancel", 7);
16
- this.select = createEvent(this, "select", 7);
17
- /**
18
- * A list of items and separators to show in the menu.
19
- */
20
- this.items = [];
21
- /**
22
- * Sets the disabled state of the menu.
23
- */
24
- this.disabled = false;
25
- /**
26
- * Decides the menu's location in relation to its trigger
27
- */
28
- this.openDirection = 'bottom-start';
29
- /**
30
- * Sets the open state of the menu.
31
- */
32
- this.open = false;
33
- /**
34
- * Defines whether the menu should show badges.
35
- */
36
- this.badgeIcons = false;
37
- /**
38
- * Renders list items in a grid layout, rather than a vertical list
39
- */
40
- this.gridLayout = false;
41
- this.setTriggerAttributes = (element) => {
42
- const attributes = {
43
- 'aria-haspopup': true,
44
- 'aria-expanded': this.open,
45
- disabled: this.disabled,
46
- role: 'button',
47
- };
48
- for (const [key, value] of Object.entries(attributes)) {
49
- if (!value) {
50
- element.removeAttribute(key);
51
- }
52
- else {
53
- element.setAttribute(key, String(value));
54
- }
55
- }
56
- };
57
- this.onClose = () => {
58
- this.cancel.emit();
59
- this.open = false;
60
- };
61
- this.onTriggerClick = (event) => {
62
- event.stopPropagation();
63
- if (this.disabled) {
64
- return;
65
- }
66
- this.open = !this.open;
67
- };
68
- this.handleSelect = (event) => {
69
- event.stopPropagation();
70
- this.select.emit(event.detail);
71
- this.open = false;
72
- };
73
- this.setListElement = (element) => {
74
- this.list = element;
75
- };
76
- this.focusMenuItem = () => {
77
- var _a;
78
- const activeElement = this.list.shadowRoot.activeElement;
79
- activeElement === null || activeElement === void 0 ? void 0 : activeElement.blur();
80
- const MenuItems = this.items.filter(this.isMenuItem);
81
- const selectedIndex = Math.max(MenuItems.findIndex((item) => item.selected), 0);
82
- const menuElements = Array.from(this.list.shadowRoot.querySelectorAll('[role="menuitem"]'));
83
- (_a = menuElements[selectedIndex]) === null || _a === void 0 ? void 0 : _a.focus();
84
- };
85
- this.portalId = createRandomString();
86
- }
87
- openWatcher() {
88
- if (!this.open) {
89
- return;
90
- }
91
- const observer = new IntersectionObserver(() => {
92
- observer.unobserve(this.list);
93
- this.focusMenuItem();
94
- });
95
- observer.observe(this.list);
96
- }
97
- render() {
98
- const cssProperties = this.getCssProperties();
99
- const dropdownZIndex = getComputedStyle(this.host).getPropertyValue('--dropdown-z-index');
100
- return (h("div", { class: "mdc-menu-surface--anchor", onClick: this.onTriggerClick }, h("slot", { name: "trigger" }), h("limel-portal", { visible: this.open, containerId: this.portalId, openDirection: this.openDirection, position: "absolute", containerStyle: { 'z-index': dropdownZIndex } }, h("limel-menu-surface", { open: this.open, onDismiss: this.onClose, style: cssProperties, class: {
101
- 'has-grid-layout': this.gridLayout,
102
- } }, h("limel-menu-list", { class: {
103
- 'has-grid-layout has-interactive-items': this.gridLayout,
104
- }, items: this.items, type: "menu", badgeIcons: this.badgeIcons, onSelect: this.handleSelect, ref: this.setListElement })))));
105
- }
106
- componentDidRender() {
107
- const slotElement = this.host.shadowRoot.querySelector('slot');
108
- slotElement.assignedElements().forEach(this.setTriggerAttributes);
109
- }
110
- getCssProperties() {
111
- const propertyNames = [
112
- '--menu-surface-width',
113
- '--list-grid-item-max-width',
114
- '--list-grid-item-min-width',
115
- '--list-grid-gap',
116
- ];
117
- const style = getComputedStyle(this.host);
118
- const values = propertyNames.map((property) => {
119
- return style.getPropertyValue(property);
120
- });
121
- return zipObject(propertyNames, values);
122
- }
123
- isMenuItem(item) {
124
- return !('separator' in item);
125
- }
126
- get host() { return getElement(this); }
127
- static get watchers() { return {
128
- "open": ["openWatcher"]
129
- }; }
130
- };
131
- Menu.style = menuCss;
132
-
133
- export { Menu as limel_menu };
@@ -1 +0,0 @@
1
- import{r,c as o,h as l}from"./p-e9a95b8f.js";const a=["red","pink","magenta","purple","violet","indigo","blue","sky","cyan","teal","green","lime","grass","yellow","amber","orange","coral","brown","gray","glaucous"],c=["lighter","light","default","dark","darker"];function e(r,o){return`--color-${r}-${o}`}function t(r,o){return`rgb(var(${e(r,o)}))`}const g=class{constructor(g){r(this,g),this.change=o(this,"change",7),this.renderSwatches=()=>a.map((r=>c.map(this.renderSwatch(r)))),this.renderSwatch=r=>o=>{const a={swatch:!0,[e(r,o)]:!0,"swatch--selected":this.value===t(r,o)};return l("div",{class:a,onClick:this.handleClick(r,o),tabindex:"0"})},this.handleChange=r=>{r.stopPropagation(),this.change.emit(r.detail)},this.handleClick=(r,o)=>l=>{const a=t(r,o);l.stopPropagation(),this.change.emit(a)}}render(){const r=this.value?{"--background":this.value}:{};return[l("div",{class:"color-picker-palette"},this.renderSwatches()),l("div",{class:"chosen-color-name"},l("limel-input-field",{label:this.label,helperText:this.helperText,value:this.value,onChange:this.handleChange,required:this.required}),l("div",{class:"chosen-color-preview",style:r}))]}};g.style='.color-palette{display:grid;gap:0.25rem;grid-auto-flow:column;margin:0.75rem auto 1.25rem auto;padding:1.25rem 0.75rem;background-color:rgb(var(--kompendium-contrast-300));border-radius:0.1875rem}.brightness-label,.swatch{display:flex;align-items:center;position:relative}.swatch{transition:border-radius 0.2s ease;border-radius:3px;justify-content:center;color:rgba(var(--kompendium-color-white), 0.4);font-size:1.25rem;line-height:99%}.swatch:after{content:"";display:block;padding-top:100%}.swatch.hue{font-family:"Source Code Pro", monospace;font-size:0.75rem;position:relative;color:rgb(var(--kompendium-contrast-900));padding-top:0.5rem;writing-mode:vertical-lr;justify-content:left}.brightness-label{font-family:"Source Code Pro", monospace;font-size:0.75rem;color:rgb(var(--kompendium-contrast-900));justify-content:start}.brand-colors-tips{transition:opacity 0.2s ease 0.4s;opacity:0;font-size:0.875rem;padding-left:2.75rem;margin-bottom:2.5rem}.brand-colors .brand-colors-tips{opacity:1}@media (prefers-color-scheme: light){.brand-colors .--color-glaucous-default,.brand-colors .--color-gray-dark{border-radius:50%}}@media (prefers-color-scheme: dark){.brand-colors .--color-red-light,.brand-colors .--color-magenta-default,.brand-colors .--color-sky-light,.brand-colors .--color-teal-light,.brand-colors .--color-green-light,.brand-colors .--color-amber-light,.brand-colors .--color-amber-default,.brand-colors .--color-coral-light,.brand-colors .--color-gray-light{border-radius:50%}}.--color-red-lighter{background-color:rgb(var(--color-red-lighter))}.--color-red-light{background-color:rgb(var(--color-red-light))}.--color-red-default{background-color:rgb(var(--color-red-default))}.--color-red-dark{background-color:rgb(var(--color-red-dark))}.--color-red-darker{background-color:rgb(var(--color-red-darker))}.--color-pink-lighter{background-color:rgb(var(--color-pink-lighter))}.--color-pink-light{background-color:rgb(var(--color-pink-light))}.--color-pink-default{background-color:rgb(var(--color-pink-default))}.--color-pink-dark{background-color:rgb(var(--color-pink-dark))}.--color-pink-darker{background-color:rgb(var(--color-pink-darker))}.--color-magenta-lighter{background-color:rgb(var(--color-magenta-lighter))}.--color-magenta-light{background-color:rgb(var(--color-magenta-light))}.--color-magenta-default{background-color:rgb(var(--color-magenta-default))}.--color-magenta-dark{background-color:rgb(var(--color-magenta-dark))}.--color-magenta-darker{background-color:rgb(var(--color-magenta-darker))}.--color-purple-lighter{background-color:rgb(var(--color-purple-lighter))}.--color-purple-light{background-color:rgb(var(--color-purple-light))}.--color-purple-default{background-color:rgb(var(--color-purple-default))}.--color-purple-dark{background-color:rgb(var(--color-purple-dark))}.--color-purple-darker{background-color:rgb(var(--color-purple-darker))}.--color-violet-lighter{background-color:rgb(var(--color-violet-lighter))}.--color-violet-light{background-color:rgb(var(--color-violet-light))}.--color-violet-default{background-color:rgb(var(--color-violet-default))}.--color-violet-dark{background-color:rgb(var(--color-violet-dark))}.--color-violet-darker{background-color:rgb(var(--color-violet-darker))}.--color-indigo-lighter{background-color:rgb(var(--color-indigo-lighter))}.--color-indigo-light{background-color:rgb(var(--color-indigo-light))}.--color-indigo-default{background-color:rgb(var(--color-indigo-default))}.--color-indigo-dark{background-color:rgb(var(--color-indigo-dark))}.--color-indigo-darker{background-color:rgb(var(--color-indigo-darker))}.--color-blue-lighter{background-color:rgb(var(--color-blue-lighter))}.--color-blue-light{background-color:rgb(var(--color-blue-light))}.--color-blue-default{background-color:rgb(var(--color-blue-default))}.--color-blue-dark{background-color:rgb(var(--color-blue-dark))}.--color-blue-darker{background-color:rgb(var(--color-blue-darker))}.--color-sky-lighter{background-color:rgb(var(--color-sky-lighter))}.--color-sky-light{background-color:rgb(var(--color-sky-light))}.--color-sky-default{background-color:rgb(var(--color-sky-default))}.--color-sky-dark{background-color:rgb(var(--color-sky-dark))}.--color-sky-darker{background-color:rgb(var(--color-sky-darker))}.--color-cyan-lighter{background-color:rgb(var(--color-cyan-lighter))}.--color-cyan-light{background-color:rgb(var(--color-cyan-light))}.--color-cyan-default{background-color:rgb(var(--color-cyan-default))}.--color-cyan-dark{background-color:rgb(var(--color-cyan-dark))}.--color-cyan-darker{background-color:rgb(var(--color-cyan-darker))}.--color-teal-lighter{background-color:rgb(var(--color-teal-lighter))}.--color-teal-light{background-color:rgb(var(--color-teal-light))}.--color-teal-default{background-color:rgb(var(--color-teal-default))}.--color-teal-dark{background-color:rgb(var(--color-teal-dark))}.--color-teal-darker{background-color:rgb(var(--color-teal-darker))}.--color-green-lighter{background-color:rgb(var(--color-green-lighter))}.--color-green-light{background-color:rgb(var(--color-green-light))}.--color-green-default{background-color:rgb(var(--color-green-default))}.--color-green-dark{background-color:rgb(var(--color-green-dark))}.--color-green-darker{background-color:rgb(var(--color-green-darker))}.--color-lime-lighter{background-color:rgb(var(--color-lime-lighter))}.--color-lime-light{background-color:rgb(var(--color-lime-light))}.--color-lime-default{background-color:rgb(var(--color-lime-default))}.--color-lime-dark{background-color:rgb(var(--color-lime-dark))}.--color-lime-darker{background-color:rgb(var(--color-lime-darker))}.--color-grass-lighter{background-color:rgb(var(--color-grass-lighter))}.--color-grass-light{background-color:rgb(var(--color-grass-light))}.--color-grass-default{background-color:rgb(var(--color-grass-default))}.--color-grass-dark{background-color:rgb(var(--color-grass-dark))}.--color-grass-darker{background-color:rgb(var(--color-grass-darker))}.--color-yellow-lighter{background-color:rgb(var(--color-yellow-lighter))}.--color-yellow-light{background-color:rgb(var(--color-yellow-light))}.--color-yellow-default{background-color:rgb(var(--color-yellow-default))}.--color-yellow-dark{background-color:rgb(var(--color-yellow-dark))}.--color-yellow-darker{background-color:rgb(var(--color-yellow-darker))}.--color-amber-lighter{background-color:rgb(var(--color-amber-lighter))}.--color-amber-light{background-color:rgb(var(--color-amber-light))}.--color-amber-default{background-color:rgb(var(--color-amber-default))}.--color-amber-dark{background-color:rgb(var(--color-amber-dark))}.--color-amber-darker{background-color:rgb(var(--color-amber-darker))}.--color-orange-lighter{background-color:rgb(var(--color-orange-lighter))}.--color-orange-light{background-color:rgb(var(--color-orange-light))}.--color-orange-default{background-color:rgb(var(--color-orange-default))}.--color-orange-dark{background-color:rgb(var(--color-orange-dark))}.--color-orange-darker{background-color:rgb(var(--color-orange-darker))}.--color-coral-lighter{background-color:rgb(var(--color-coral-lighter))}.--color-coral-light{background-color:rgb(var(--color-coral-light))}.--color-coral-default{background-color:rgb(var(--color-coral-default))}.--color-coral-dark{background-color:rgb(var(--color-coral-dark))}.--color-coral-darker{background-color:rgb(var(--color-coral-darker))}.--color-brown-lighter{background-color:rgb(var(--color-brown-lighter))}.--color-brown-light{background-color:rgb(var(--color-brown-light))}.--color-brown-default{background-color:rgb(var(--color-brown-default))}.--color-brown-dark{background-color:rgb(var(--color-brown-dark))}.--color-brown-darker{background-color:rgb(var(--color-brown-darker))}.--color-gray-lighter{background-color:rgb(var(--color-gray-lighter))}.--color-gray-light{background-color:rgb(var(--color-gray-light))}.--color-gray-default{background-color:rgb(var(--color-gray-default))}.--color-gray-dark{background-color:rgb(var(--color-gray-dark))}.--color-gray-darker{background-color:rgb(var(--color-gray-darker))}.--color-glaucous-lighter{background-color:rgb(var(--color-glaucous-lighter))}.--color-glaucous-light{background-color:rgb(var(--color-glaucous-light))}.--color-glaucous-default{background-color:rgb(var(--color-glaucous-default))}.--color-glaucous-dark{background-color:rgb(var(--color-glaucous-dark))}.--color-glaucous-darker{background-color:rgb(var(--color-glaucous-darker))}.--contrast-100{color:rgb(var(--contrast-900));background-color:rgb(var(--contrast-100))}.--contrast-200{color:rgb(var(--contrast-1000));background-color:rgb(var(--contrast-200))}.--contrast-300{color:rgb(var(--contrast-1100));background-color:rgb(var(--contrast-300))}.--contrast-400{color:rgb(var(--contrast-1200));background-color:rgb(var(--contrast-400))}.--contrast-500{color:rgb(var(--contrast-1300));background-color:rgb(var(--contrast-500))}.--contrast-600{color:rgb(var(--contrast-1400));background-color:rgb(var(--contrast-600))}.--contrast-700{color:rgb(var(--contrast-1500));background-color:rgb(var(--contrast-700))}.--contrast-800{color:rgb(var(--contrast-1600));background-color:rgb(var(--contrast-800))}.--contrast-900{color:rgb(var(--contrast-1700));background-color:rgb(var(--contrast-900))}.--contrast-1000{color:rgb(var(--contrast-100));background-color:rgb(var(--contrast-1000))}.--contrast-1100{color:rgb(var(--contrast-200));background-color:rgb(var(--contrast-1100))}.--contrast-1200{color:rgb(var(--contrast-300));background-color:rgb(var(--contrast-1200))}.--contrast-1300{color:rgb(var(--contrast-400));background-color:rgb(var(--contrast-1300))}.--contrast-1400{color:rgb(var(--contrast-500));background-color:rgb(var(--contrast-1400))}.--contrast-1500{color:rgb(var(--contrast-600));background-color:rgb(var(--contrast-1500))}.--contrast-1600{color:rgb(var(--contrast-700));background-color:rgb(var(--contrast-1600))}.--contrast-1700{color:rgb(var(--contrast-800));background-color:rgb(var(--contrast-1700))}.--color-white{color:rgb(var(--color-black));background-color:rgb(var(--color-white))}.--color-black{color:rgb(var(--color-white));background-color:rgb(var(--color-black))}:host{--lime-brand-color-deep-red:240, 87, 80;--lime-brand-color-sellable-orange:255, 112, 67;--lime-brand-color-orange:255, 176, 59;--lime-brand-color-yellow:255, 207, 61;--lime-brand-color-lime-green:102, 187, 106;--lime-brand-color-flexible-turquoise:38, 166, 154;--lime-brand-color-simple-blue:41, 182, 246;--lime-brand-color-dark-blue:87, 135, 159;--lime-brand-color-loving-magenta:255, 49, 149;--lime-brand-color-light-grey:173, 173, 173;--lime-brand-color-grey:87, 87, 86;--color-white:255, 255, 255;--color-black:0, 0, 0;--contrast-100:255, 255, 255;--contrast-200:250, 250, 251;--contrast-300:246, 246, 247;--contrast-400:241, 241, 243;--contrast-500:237, 237, 238;--contrast-600:232, 232, 234;--contrast-700:209, 209, 213;--contrast-800:186, 186, 192;--contrast-900:140, 140, 150;--contrast-1000:117, 117, 128;--contrast-1100:94, 94, 108;--contrast-1200:71, 71, 86;--contrast-1300:48, 48, 66;--contrast-1400:39, 39, 57;--contrast-1500:35, 35, 53;--contrast-1600:25, 25, 44;--contrast-1700:0, 0, 0;--color-red-lighter:255, 205, 210;--color-red-light:255, 117, 107;--color-red-default:244, 67, 54;--color-red-dark:211, 47, 47;--color-red-darker:183, 28, 28;--color-pink-lighter:248, 187, 208;--color-pink-light:240, 98, 146;--color-pink-default:233, 30, 99;--color-pink-dark:194, 24, 91;--color-pink-darker:136, 14, 79;--color-purple-lighter:225, 190, 231;--color-purple-light:186, 104, 200;--color-purple-default:156, 39, 176;--color-purple-dark:123, 31, 162;--color-purple-darker:74, 20, 140;--color-magenta-lighter:249, 176, 212;--color-magenta-light:247, 89, 166;--color-magenta-default:243, 65, 151;--color-magenta-dark:199, 46, 121;--color-magenta-darker:156, 22, 87;--color-violet-lighter:209, 196, 233;--color-violet-light:149, 117, 205;--color-violet-default:103, 58, 183;--color-violet-dark:81, 45, 168;--color-violet-darker:49, 27, 146;--color-indigo-lighter:197, 202, 233;--color-indigo-light:121, 134, 203;--color-indigo-default:63, 81, 181;--color-indigo-dark:48, 63, 159;--color-indigo-darker:26, 35, 126;--color-blue-lighter:187, 222, 251;--color-blue-light:100, 181, 246;--color-blue-default:33, 150, 243;--color-blue-dark:25, 118, 210;--color-blue-darker:13, 71, 161;--color-sky-lighter:179, 229, 252;--color-sky-light:79, 195, 247;--color-sky-default:3, 169, 244;--color-sky-dark:2, 136, 209;--color-sky-darker:1, 87, 155;--color-cyan-lighter:178, 235, 242;--color-cyan-light:77, 208, 225;--color-cyan-default:0, 188, 212;--color-cyan-dark:0, 151, 167;--color-cyan-darker:0, 96, 100;--color-teal-lighter:178, 223, 219;--color-teal-light:77, 182, 172;--color-teal-default:0, 150, 136;--color-teal-dark:0, 121, 107;--color-teal-darker:0, 77, 64;--color-green-lighter:200, 230, 201;--color-green-light:129, 199, 132;--color-green-default:76, 175, 80;--color-green-dark:56, 142, 60;--color-green-darker:27, 94, 32;--color-lime-lighter:220, 237, 200;--color-lime-light:174, 213, 129;--color-lime-default:139, 195, 74;--color-lime-dark:104, 159, 56;--color-lime-darker:51, 105, 30;--color-grass-lighter:240, 244, 195;--color-grass-light:220, 231, 117;--color-grass-default:205, 220, 57;--color-grass-dark:175, 180, 43;--color-grass-darker:130, 119, 23;--color-yellow-lighter:255, 249, 196;--color-yellow-light:255, 241, 118;--color-yellow-default:255, 235, 59;--color-yellow-dark:251, 206, 44;--color-yellow-darker:232, 191, 41;--color-amber-lighter:255, 236, 179;--color-amber-light:255, 213, 79;--color-amber-default:255, 193, 7;--color-amber-dark:255, 160, 0;--color-amber-darker:255, 111, 0;--color-orange-lighter:255, 224, 178;--color-orange-light:255, 183, 77;--color-orange-default:255, 152, 0;--color-orange-dark:245, 124, 0;--color-orange-darker:230, 81, 0;--color-coral-lighter:255, 204, 188;--color-coral-light:255, 138, 101;--color-coral-default:255, 87, 34;--color-coral-dark:230, 74, 25;--color-coral-darker:191, 54, 12;--color-brown-lighter:215, 204, 200;--color-brown-light:161, 136, 127;--color-brown-default:121, 85, 72;--color-brown-dark:93, 64, 55;--color-brown-darker:62, 39, 35;--color-gray-lighter:245, 245, 245;--color-gray-light:224, 224, 224;--color-gray-default:158, 158, 158;--color-gray-dark:var(--lime-brand-color-grey);--color-gray-darker:33, 33, 33;--color-glaucous-lighter:208, 225, 232;--color-glaucous-light:135, 174, 193;--color-glaucous-default:var(--lime-brand-color-dark-blue);--color-glaucous-dark:58, 100, 119;--color-glaucous-darker:37, 71, 88;}@media (prefers-color-scheme: dark){:host{--contrast-100:0, 0, 0;--contrast-200:25, 25, 44;--contrast-300:35, 35, 53;--contrast-400:39, 39, 57;--contrast-500:48, 48, 66;--contrast-600:71, 71, 86;--contrast-700:94, 94, 108;--contrast-800:117, 117, 128;--contrast-900:140, 140, 150;--contrast-1000:186, 186, 192;--contrast-1100:209, 209, 213;--contrast-1200:232, 232, 234;--contrast-1300:237, 237, 238;--contrast-1400:241, 241, 243;--contrast-1500:246, 246, 247;--contrast-1600:250, 250, 251;--contrast-1700:255, 255, 255;--color-red-lighter:239, 154, 154;--color-red-light:var(--lime-brand-color-deep-red);--color-red-default:229, 57, 53;--color-red-dark:198, 40, 40;--color-red-darker:165, 23, 23;--color-pink-lighter:244, 143, 177;--color-pink-light:236, 64, 122;--color-pink-default:216, 27, 96;--color-pink-dark:173, 20, 87;--color-pink-darker:132, 10, 75;--color-magenta-lighter:249, 161, 204;--color-magenta-light:249, 79, 162;--color-magenta-default:var(--lime-brand-color-loving-magenta);--color-magenta-dark:208, 31, 117;--color-magenta-darker:156, 22, 87;--color-purple-lighter:206, 147, 216;--color-purple-light:171, 71, 188;--color-purple-default:142, 36, 170;--color-purple-dark:106, 27, 154;--color-purple-darker:62, 13, 121;--color-violet-lighter:179, 157, 219;--color-violet-light:126, 87, 194;--color-violet-default:94, 53, 177;--color-violet-dark:69, 39, 160;--color-violet-darker:41, 22, 127;--color-indigo-lighter:159, 168, 218;--color-indigo-light:92, 107, 192;--color-indigo-default:57, 73, 171;--color-indigo-dark:40, 53, 147;--color-indigo-darker:21, 30, 115;--color-blue-lighter:144, 202, 249;--color-blue-light:66, 165, 245;--color-blue-default:30, 136, 229;--color-blue-dark:21, 101, 192;--color-blue-darker:10, 60, 138;--color-sky-lighter:129, 212, 250;--color-sky-light:var(--lime-brand-color-simple-blue);--color-sky-default:3, 155, 229;--color-sky-dark:2, 119, 189;--color-sky-darker:1, 81, 144;--color-cyan-lighter:128, 222, 234;--color-cyan-light:38, 198, 218;--color-cyan-default:0, 172, 193;--color-cyan-dark:0, 131, 143;--color-cyan-darker:0, 89, 93;--color-teal-lighter:128, 203, 196;--color-teal-light:var(--lime-brand-color-flexible-turquoise);--color-teal-default:0, 137, 123;--color-teal-dark:0, 105, 92;--color-teal-darker:1, 82, 69;--color-green-lighter:165, 214, 167;--color-green-light:var(--lime-brand-color-lime-green);--color-green-default:67, 160, 71;--color-green-dark:46, 125, 50;--color-green-darker:32, 97, 37;--color-lime-lighter:197, 225, 165;--color-lime-light:156, 204, 101;--color-lime-default:124, 179, 66;--color-lime-dark:85, 139, 47;--color-lime-darker:43, 90, 25;--color-grass-lighter:230, 238, 156;--color-grass-light:212, 225, 87;--color-grass-default:192, 202, 51;--color-grass-dark:158, 157, 36;--color-grass-darker:119, 109, 19;--color-yellow-lighter:255, 245, 157;--color-yellow-light:255, 238, 88;--color-yellow-default:253, 216, 53;--color-yellow-dark:245, 200, 39;--color-yellow-darker:224, 180, 21;--color-amber-lighter:255, 224, 130;--color-amber-light:var(--lime-brand-color-yellow);--color-amber-default:var(--lime-brand-color-orange);--color-amber-dark:255, 143, 0;--color-amber-darker:222, 98, 2;--color-orange-lighter:255, 204, 128;--color-orange-light:255, 167, 38;--color-orange-default:251, 140, 0;--color-orange-dark:239, 108, 0;--color-orange-darker:216, 77, 1;--color-coral-lighter:255, 171, 145;--color-coral-light:var(--lime-brand-color-sellable-orange);--color-coral-default:244, 81, 30;--color-coral-dark:216, 67, 21;--color-coral-darker:181, 50, 10;--color-brown-lighter:188, 170, 164;--color-brown-light:141, 110, 99;--color-brown-default:109, 76, 65;--color-brown-dark:78, 52, 46;--color-brown-darker:51, 32, 28;--color-gray-lighter:238, 238, 238;--color-gray-light:var(--lime-brand-color-light-grey);--color-gray-default:117, 117, 117;--color-gray-dark:66, 66, 66;--color-gray-darker:33, 32, 32;--color-glaucous-lighter:159, 194, 208;--color-glaucous-light:110, 141, 156;--color-glaucous-default:68, 108, 128;--color-glaucous-dark:42, 87, 107;--color-glaucous-darker:34, 65, 80;}}.color-palette{grid-template-rows:repeat(5, 1fr) auto;grid-template-columns:repeat(20, 1fr) auto}.picker-trigger[style="--background:lime-magenta;"]:after,.chosen-color-preview[style="--background:lime-magenta;"]:after{background-color:var(--lime-magenta)}.picker-trigger[style="--background:lime-blue;"]:after,.chosen-color-preview[style="--background:lime-blue;"]:after{background-color:var(--lime-blue)}.picker-trigger[style="--background:lime-orange;"]:after,.chosen-color-preview[style="--background:lime-orange;"]:after{background-color:var(--lime-orange)}.picker-trigger[style="--background:lime-green;"]:after,.chosen-color-preview[style="--background:lime-green;"]:after{background-color:var(--lime-green)}.picker-trigger[style="--background:lime-red;"]:after,.chosen-color-preview[style="--background:lime-red;"]:after{background-color:var(--lime-red)}.picker-trigger[style="--background:lime-dark-blue;"]:after,.chosen-color-preview[style="--background:lime-dark-blue;"]:after{background-color:var(--lime-dark-blue)}.picker-trigger[style="--background:lime-turquoise;"]:after,.chosen-color-preview[style="--background:lime-turquoise;"]:after{background-color:var(--lime-turquoise)}.picker-trigger[style="--background:lime-yellow;"]:after,.chosen-color-preview[style="--background:lime-yellow;"]:after{background-color:var(--lime-yellow)}.picker-trigger[style="--background:lime-light-grey;"]:after,.chosen-color-preview[style="--background:lime-light-grey;"]:after{background-color:var(--lime-light-grey)}:host{--popover-surface-width:50rem;--color-picker-default-background:url("data:image/svg+xml;charset=utf-8, <svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 8 8\' style=\'fill-rule:evenodd;\'><path fill-opacity=\'0.1\' d=\'M0 0h4v4H0zM4 4h4v4H4z\'/></svg>")}.color-picker{display:grid;gap:0.5rem;grid-template-columns:auto 1fr}.chosen-color-preview,.picker-trigger{box-sizing:border-box;position:relative;isolation:isolate;width:3.5rem;height:3.5rem}.chosen-color-preview:before,.chosen-color-preview:after,.picker-trigger:before,.picker-trigger:after{content:"";position:absolute;inset:0;border-radius:inherit}.chosen-color-preview:before,.picker-trigger:before{background:var(--color-picker-default-background);background-size:0.5rem;z-index:0}.chosen-color-preview:after,.picker-trigger:after{background:var(--background);z-index:1}.picker-trigger{border-radius:0.5rem;cursor:pointer;transition:background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;box-shadow:var(--button-shadow-normal)}.picker-trigger:hover{box-shadow:var(--button-shadow-hovered)}.picker-trigger:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}.picker-trigger:after{box-shadow:0 0 0 0.25rem rgb(var(--contrast-100)) inset}:host([readonly]) .picker-trigger:hover,:host([readonly]) .picker-trigger:active{cursor:default;box-shadow:var(--button-shadow-normal);transform:none}.chosen-color-input[readonly]{transform:translateY(1rem)}:host{border-radius:0.75rem;background-color:rgb(var(--kompendium-contrast-300))}.color-picker-palette{display:grid;gap:0.25rem;grid-auto-flow:column;grid-template-columns:repeat(20, 1fr);grid-template-rows:repeat(4, 1fr) auto;margin:1rem}.chosen-color-name{box-sizing:border-box;padding:1rem;display:grid;grid-template-columns:1fr auto;gap:0.5rem}.chosen-color-preview{border:1px solid rgba(var(--contrast-700), 0.65);border-radius:50%}.swatch:not(.hue){transition:background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;cursor:pointer}.swatch:not(.hue):hover{box-shadow:var(--button-shadow-hovered)}.swatch:not(.hue):active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}.swatch:not(.hue):focus-visible{box-shadow:var(--shadow-depth-8-focused), 0 0 0 0.25rem rgb(var(--contrast-100)) inset}.swatch--selected{border-radius:50%}';export{g as limel_color_picker_palette}