@nuraly/lumenui 0.1.0 → 0.2.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 (312) hide show
  1. package/dist/nuralyui.bundle.js +23024 -17355
  2. package/dist/nuralyui.bundle.js.gz +0 -0
  3. package/dist/src/components/alert/alert.component.d.ts +8 -5
  4. package/dist/src/components/alert/alert.component.js +24 -20
  5. package/dist/src/components/alert/alert.style.d.ts +0 -7
  6. package/dist/src/components/alert/alert.style.js +48 -90
  7. package/dist/src/components/alert/bundle.js +82 -108
  8. package/dist/src/components/alert/bundle.js.gz +0 -0
  9. package/dist/src/components/badge/badge.component.d.ts +9 -8
  10. package/dist/src/components/badge/badge.component.js +17 -14
  11. package/dist/src/components/badge/badge.style.d.ts +0 -7
  12. package/dist/src/components/badge/badge.style.js +49 -107
  13. package/dist/src/components/badge/bundle.js +81 -119
  14. package/dist/src/components/badge/bundle.js.gz +0 -0
  15. package/dist/src/components/breadcrumb/breadcrumb.component.d.ts +8 -10
  16. package/dist/src/components/breadcrumb/breadcrumb.component.js +16 -15
  17. package/dist/src/components/breadcrumb/breadcrumb.style.d.ts +0 -7
  18. package/dist/src/components/breadcrumb/breadcrumb.style.js +42 -60
  19. package/dist/src/components/breadcrumb/bundle.js +96 -93
  20. package/dist/src/components/breadcrumb/bundle.js.gz +0 -0
  21. package/dist/src/components/button/bundle.js +221 -470
  22. package/dist/src/components/button/bundle.js.gz +0 -0
  23. package/dist/src/components/button/button.component.d.ts +2 -1
  24. package/dist/src/components/button/button.component.js +6 -6
  25. package/dist/src/components/button/button.style.d.ts +0 -7
  26. package/dist/src/components/button/button.style.js +167 -433
  27. package/dist/src/components/canvas/base-canvas.component.d.ts +2 -1
  28. package/dist/src/components/canvas/base-canvas.component.js +1 -0
  29. package/dist/src/components/canvas/bundle.js +16919 -9595
  30. package/dist/src/components/canvas/bundle.js.gz +0 -0
  31. package/dist/src/components/canvas/canvas.constants.d.ts +1 -1
  32. package/dist/src/components/canvas/canvas.constants.js +1 -1
  33. package/dist/src/components/canvas/chatbot-panel.style.js +31 -31
  34. package/dist/src/components/canvas/index.d.ts +2 -0
  35. package/dist/src/components/canvas/index.js +3 -0
  36. package/dist/src/components/canvas/whiteboard-canvas.component.d.ts +3 -1
  37. package/dist/src/components/canvas/whiteboard-canvas.component.js +19 -1
  38. package/dist/src/components/canvas/whiteboard-canvas.style.js +159 -138
  39. package/dist/src/components/canvas/whiteboard-node.component.d.ts +2 -1
  40. package/dist/src/components/canvas/whiteboard-node.component.js +2 -1
  41. package/dist/src/components/canvas/whiteboard-node.style.js +44 -44
  42. package/dist/src/components/canvas/workflow-canvas-only.d.ts +4 -0
  43. package/dist/src/components/canvas/workflow-canvas-only.js +5 -0
  44. package/dist/src/components/canvas/workflow-canvas.component.d.ts +3 -1
  45. package/dist/src/components/canvas/workflow-canvas.component.js +24 -2
  46. package/dist/src/components/canvas/workflow-canvas.style.js +776 -648
  47. package/dist/src/components/canvas/workflow-canvas.types.d.ts +113 -4
  48. package/dist/src/components/canvas/workflow-canvas.types.js +646 -3
  49. package/dist/src/components/canvas/workflow-node.component.d.ts +3 -2
  50. package/dist/src/components/canvas/workflow-node.component.js +5 -5
  51. package/dist/src/components/canvas/workflow-node.style.js +183 -181
  52. package/dist/src/components/card/bundle.js +43 -35
  53. package/dist/src/components/card/bundle.js.gz +0 -0
  54. package/dist/src/components/card/card.component.d.ts +6 -1
  55. package/dist/src/components/card/card.component.js +8 -2
  56. package/dist/src/components/card/card.style.js +26 -30
  57. package/dist/src/components/carousel/bundle.js +8 -8
  58. package/dist/src/components/carousel/bundle.js.gz +0 -0
  59. package/dist/src/components/carousel/carousel.component.d.ts +12 -0
  60. package/dist/src/components/carousel/carousel.component.js +16 -4
  61. package/dist/src/components/chatbot/bundle.js +422 -406
  62. package/dist/src/components/chatbot/bundle.js.gz +0 -0
  63. package/dist/src/components/chatbot/chatbot.component.d.ts +2 -1
  64. package/dist/src/components/chatbot/chatbot.component.js +1 -0
  65. package/dist/src/components/chatbot/chatbot.style.js +277 -277
  66. package/dist/src/components/checkbox/bundle.js +86 -245
  67. package/dist/src/components/checkbox/bundle.js.gz +0 -0
  68. package/dist/src/components/checkbox/checkbox.component.d.ts +5 -2
  69. package/dist/src/components/checkbox/checkbox.component.js +11 -13
  70. package/dist/src/components/checkbox/checkbox.style.js +56 -231
  71. package/dist/src/components/code-editor/bundle.js +151 -25
  72. package/dist/src/components/code-editor/bundle.js.gz +0 -0
  73. package/dist/src/components/code-editor/code-editor.component.d.ts +18 -56
  74. package/dist/src/components/code-editor/code-editor.component.js +141 -394
  75. package/dist/src/components/code-editor/code-editor.style.js +139 -15
  76. package/dist/src/components/collapse/bundle.js +97 -84
  77. package/dist/src/components/collapse/bundle.js.gz +0 -0
  78. package/dist/src/components/collapse/collapse.component.d.ts +7 -1
  79. package/dist/src/components/collapse/collapse.component.js +11 -2
  80. package/dist/src/components/collapse/collapse.style.js +60 -60
  81. package/dist/src/components/colorpicker/bundle.js +85 -48
  82. package/dist/src/components/colorpicker/bundle.js.gz +0 -0
  83. package/dist/src/components/colorpicker/color-holder.component.d.ts +2 -4
  84. package/dist/src/components/colorpicker/color-holder.component.js +5 -6
  85. package/dist/src/components/colorpicker/color-holder.style.js +11 -11
  86. package/dist/src/components/colorpicker/color-picker.component.d.ts +2 -1
  87. package/dist/src/components/colorpicker/color-picker.component.js +1 -0
  88. package/dist/src/components/colorpicker/color-picker.style.js +12 -12
  89. package/dist/src/components/colorpicker/default-color-sets.component.d.ts +2 -2
  90. package/dist/src/components/colorpicker/default-color-sets.component.js +4 -3
  91. package/dist/src/components/colorpicker/default-color-sets.style.js +5 -5
  92. package/dist/src/components/container/bundle.js +24 -14
  93. package/dist/src/components/container/bundle.js.gz +0 -0
  94. package/dist/src/components/container/container.component.d.ts +4 -1
  95. package/dist/src/components/container/container.component.js +7 -5
  96. package/dist/src/components/container/container.style.js +9 -9
  97. package/dist/src/components/datepicker/bundle.js +193 -177
  98. package/dist/src/components/datepicker/bundle.js.gz +0 -0
  99. package/dist/src/components/datepicker/datepicker.component.d.ts +2 -1
  100. package/dist/src/components/datepicker/datepicker.component.js +1 -0
  101. package/dist/src/components/datepicker/datepicker.style.js +65 -65
  102. package/dist/src/components/datepicker/datepicker.style.variables.js +91 -91
  103. package/dist/src/components/db-connection-select/bundle.js +7 -6
  104. package/dist/src/components/db-connection-select/bundle.js.gz +0 -0
  105. package/dist/src/components/db-connection-select/db-connection-select.component.d.ts +3 -0
  106. package/dist/src/components/db-connection-select/db-connection-select.component.js +4 -0
  107. package/dist/src/components/divider/bundle.js +61 -35
  108. package/dist/src/components/divider/bundle.js.gz +0 -0
  109. package/dist/src/components/divider/divider.component.d.ts +4 -6
  110. package/dist/src/components/divider/divider.component.js +10 -14
  111. package/dist/src/components/divider/divider.style.js +41 -31
  112. package/dist/src/components/document/bundle.js +50 -48
  113. package/dist/src/components/document/bundle.js.gz +0 -0
  114. package/dist/src/components/document/document.component.d.ts +12 -1
  115. package/dist/src/components/document/document.component.js +18 -6
  116. package/dist/src/components/document/document.style.js +21 -36
  117. package/dist/src/components/dropdown/bundle.js +117 -101
  118. package/dist/src/components/dropdown/bundle.js.gz +0 -0
  119. package/dist/src/components/dropdown/dropdown.component.d.ts +2 -1
  120. package/dist/src/components/dropdown/dropdown.component.js +1 -0
  121. package/dist/src/components/dropdown/dropdown.style.js +68 -68
  122. package/dist/src/components/file-upload/bundle.js +82 -76
  123. package/dist/src/components/file-upload/bundle.js.gz +0 -0
  124. package/dist/src/components/file-upload/file-upload.component.d.ts +2 -1
  125. package/dist/src/components/file-upload/file-upload.component.js +1 -0
  126. package/dist/src/components/file-upload/styles.js +59 -59
  127. package/dist/src/components/flex/bundle.js +18 -8
  128. package/dist/src/components/flex/bundle.js.gz +0 -0
  129. package/dist/src/components/flex/flex.component.d.ts +4 -1
  130. package/dist/src/components/flex/flex.component.js +7 -4
  131. package/dist/src/components/flex/flex.style.js +2 -2
  132. package/dist/src/components/form/bundle.js +22 -10
  133. package/dist/src/components/form/bundle.js.gz +0 -0
  134. package/dist/src/components/form/form.component.d.ts +4 -1
  135. package/dist/src/components/form/form.component.js +5 -1
  136. package/dist/src/components/form/form.style.js +2 -2
  137. package/dist/src/components/grid/bundle.js +26 -14
  138. package/dist/src/components/grid/bundle.js.gz +0 -0
  139. package/dist/src/components/grid/col.component.d.ts +4 -1
  140. package/dist/src/components/grid/col.component.js +4 -1
  141. package/dist/src/components/grid/col.style.js +2 -2
  142. package/dist/src/components/grid/row.component.d.ts +4 -1
  143. package/dist/src/components/grid/row.component.js +4 -1
  144. package/dist/src/components/grid/row.style.js +2 -2
  145. package/dist/src/components/icon/bundle.js +78 -252
  146. package/dist/src/components/icon/bundle.js.gz +0 -0
  147. package/dist/src/components/icon/icon-paths.d.ts +2 -0
  148. package/dist/src/components/icon/icon-paths.js +141 -0
  149. package/dist/src/components/icon/icon.component.d.ts +10 -12
  150. package/dist/src/components/icon/icon.component.js +42 -93
  151. package/dist/src/components/icon/icon.style.js +42 -130
  152. package/dist/src/components/icon/icon.variables.js +9 -9
  153. package/dist/src/components/iconpicker/bundle.js +859 -1511
  154. package/dist/src/components/iconpicker/bundle.js.gz +0 -0
  155. package/dist/src/components/iconpicker/icon-picker.component.d.ts +2 -1
  156. package/dist/src/components/iconpicker/icon-picker.component.js +1 -0
  157. package/dist/src/components/iconpicker/icon-picker.style.js +13 -13
  158. package/dist/src/components/image/bundle.js +43 -33
  159. package/dist/src/components/image/bundle.js.gz +0 -0
  160. package/dist/src/components/image/image.component.d.ts +10 -1
  161. package/dist/src/components/image/image.component.js +13 -3
  162. package/dist/src/components/image/image.style.js +19 -26
  163. package/dist/src/components/input/bundle.js +420 -644
  164. package/dist/src/components/input/bundle.js.gz +0 -0
  165. package/dist/src/components/input/input.component.d.ts +16 -3
  166. package/dist/src/components/input/input.component.js +43 -27
  167. package/dist/src/components/input/input.style.d.ts +1 -1
  168. package/dist/src/components/input/input.style.js +331 -634
  169. package/dist/src/components/kv-secret-select/bundle.js +2 -1
  170. package/dist/src/components/kv-secret-select/bundle.js.gz +0 -0
  171. package/dist/src/components/kv-secret-select/kv-secret-select.component.d.ts +3 -0
  172. package/dist/src/components/kv-secret-select/kv-secret-select.component.js +4 -0
  173. package/dist/src/components/label/bundle.js +37 -60
  174. package/dist/src/components/label/bundle.js.gz +0 -0
  175. package/dist/src/components/label/label.component.d.ts +8 -4
  176. package/dist/src/components/label/label.component.js +9 -14
  177. package/dist/src/components/label/label.style.js +17 -25
  178. package/dist/src/components/label/label.style.variables.js +18 -18
  179. package/dist/src/components/layout/bundle.js +86 -70
  180. package/dist/src/components/layout/bundle.js.gz +0 -0
  181. package/dist/src/components/layout/content.component.d.ts +2 -1
  182. package/dist/src/components/layout/content.component.js +2 -1
  183. package/dist/src/components/layout/content.style.js +3 -3
  184. package/dist/src/components/layout/footer.component.d.ts +2 -1
  185. package/dist/src/components/layout/footer.component.js +3 -2
  186. package/dist/src/components/layout/footer.style.js +7 -7
  187. package/dist/src/components/layout/header.component.d.ts +2 -1
  188. package/dist/src/components/layout/header.component.js +3 -2
  189. package/dist/src/components/layout/header.style.js +7 -7
  190. package/dist/src/components/layout/layout.component.d.ts +4 -7
  191. package/dist/src/components/layout/layout.component.js +9 -22
  192. package/dist/src/components/layout/layout.style.js +1 -1
  193. package/dist/src/components/layout/sider.component.d.ts +3 -1
  194. package/dist/src/components/layout/sider.component.js +3 -1
  195. package/dist/src/components/layout/sider.style.js +29 -29
  196. package/dist/src/components/menu/bundle.js +135 -125
  197. package/dist/src/components/menu/bundle.js.gz +0 -0
  198. package/dist/src/components/menu/menu.component.d.ts +2 -1
  199. package/dist/src/components/menu/menu.component.js +1 -0
  200. package/dist/src/components/menu/menu.style.js +87 -87
  201. package/dist/src/components/modal/bundle.js +105 -96
  202. package/dist/src/components/modal/bundle.js.gz +0 -0
  203. package/dist/src/components/modal/modal.component.d.ts +2 -1
  204. package/dist/src/components/modal/modal.component.js +1 -0
  205. package/dist/src/components/modal/modal.style.js +69 -71
  206. package/dist/src/components/panel/bundle.js +190 -391
  207. package/dist/src/components/panel/bundle.js.gz +0 -0
  208. package/dist/src/components/panel/panel.component.d.ts +2 -1
  209. package/dist/src/components/panel/panel.component.js +1 -0
  210. package/dist/src/components/panel/panel.style.js +65 -65
  211. package/dist/src/components/popconfirm/bundle.js +107 -93
  212. package/dist/src/components/popconfirm/bundle.js.gz +0 -0
  213. package/dist/src/components/popconfirm/popconfirm-manager.component.d.ts +2 -1
  214. package/dist/src/components/popconfirm/popconfirm-manager.component.js +1 -0
  215. package/dist/src/components/popconfirm/popconfirm-manager.style.js +16 -16
  216. package/dist/src/components/popconfirm/popconfirm.component.d.ts +2 -1
  217. package/dist/src/components/popconfirm/popconfirm.component.js +9 -5
  218. package/dist/src/components/popconfirm/popconfirm.style.js +43 -43
  219. package/dist/src/components/radio/bundle.js +56 -86
  220. package/dist/src/components/radio/bundle.js.gz +0 -0
  221. package/dist/src/components/radio/radio.component.d.ts +8 -2
  222. package/dist/src/components/radio/radio.component.js +17 -9
  223. package/dist/src/components/radio/radio.style.js +30 -77
  224. package/dist/src/components/radio-group/bundle.js +125 -89
  225. package/dist/src/components/radio-group/bundle.js.gz +0 -0
  226. package/dist/src/components/radio-group/radio-group.component.d.ts +5 -1
  227. package/dist/src/components/radio-group/radio-group.component.js +18 -10
  228. package/dist/src/components/radio-group/radio-group.style.js +44 -44
  229. package/dist/src/components/select/bundle.js +260 -367
  230. package/dist/src/components/select/bundle.js.gz +0 -0
  231. package/dist/src/components/select/select.component.d.ts +12 -17
  232. package/dist/src/components/select/select.component.js +35 -35
  233. package/dist/src/components/select/select.style.js +184 -324
  234. package/dist/src/components/skeleton/bundle.js +82 -162
  235. package/dist/src/components/skeleton/bundle.js.gz +0 -0
  236. package/dist/src/components/skeleton/skeleton.component.d.ts +10 -5
  237. package/dist/src/components/skeleton/skeleton.component.js +20 -7
  238. package/dist/src/components/skeleton/skeleton.style.js +34 -133
  239. package/dist/src/components/slider-input/bundle.js +89 -88
  240. package/dist/src/components/slider-input/bundle.js.gz +0 -0
  241. package/dist/src/components/slider-input/slider-input.component.d.ts +11 -0
  242. package/dist/src/components/slider-input/slider-input.component.js +20 -8
  243. package/dist/src/components/slider-input/slider-input.style.js +47 -47
  244. package/dist/src/components/slider-input/slider-input.style.variables.js +32 -32
  245. package/dist/src/components/table/bundle.js +149 -128
  246. package/dist/src/components/table/bundle.js.gz +0 -0
  247. package/dist/src/components/table/table.component.d.ts +2 -1
  248. package/dist/src/components/table/table.component.js +1 -0
  249. package/dist/src/components/table/table.style.js +79 -79
  250. package/dist/src/components/tabs/bundle.js +462 -663
  251. package/dist/src/components/tabs/bundle.js.gz +0 -0
  252. package/dist/src/components/tabs/tabs.component.d.ts +6 -1
  253. package/dist/src/components/tabs/tabs.component.js +8 -1
  254. package/dist/src/components/tabs/tabs.style.js +200 -201
  255. package/dist/src/components/tag/bundle.js +44 -36
  256. package/dist/src/components/tag/bundle.js.gz +0 -0
  257. package/dist/src/components/tag/tag.component.d.ts +7 -6
  258. package/dist/src/components/tag/tag.component.js +10 -19
  259. package/dist/src/components/tag/tag.style.js +20 -24
  260. package/dist/src/components/textarea/bundle.js +131 -94
  261. package/dist/src/components/textarea/bundle.js.gz +0 -0
  262. package/dist/src/components/textarea/textarea.component.d.ts +7 -1
  263. package/dist/src/components/textarea/textarea.component.js +10 -3
  264. package/dist/src/components/textarea/textarea.style.d.ts +1 -13
  265. package/dist/src/components/textarea/textarea.style.js +79 -91
  266. package/dist/src/components/timeline/bundle.js +71 -134
  267. package/dist/src/components/timeline/bundle.js.gz +0 -0
  268. package/dist/src/components/timeline/timeline.component.d.ts +9 -6
  269. package/dist/src/components/timeline/timeline.component.js +16 -13
  270. package/dist/src/components/timeline/timeline.style.d.ts +0 -7
  271. package/dist/src/components/timeline/timeline.style.js +41 -122
  272. package/dist/src/components/timepicker/bundle.js +196 -166
  273. package/dist/src/components/timepicker/bundle.js.gz +0 -0
  274. package/dist/src/components/timepicker/timepicker.component.d.ts +2 -1
  275. package/dist/src/components/timepicker/timepicker.component.js +1 -0
  276. package/dist/src/components/timepicker/timepicker.style.js +42 -42
  277. package/dist/src/components/timepicker/timepicker.style.variables.js +91 -91
  278. package/dist/src/components/toast/bundle.js +97 -81
  279. package/dist/src/components/toast/bundle.js.gz +0 -0
  280. package/dist/src/components/toast/toast.component.d.ts +2 -1
  281. package/dist/src/components/toast/toast.component.js +1 -0
  282. package/dist/src/components/toast/toast.style.js +62 -62
  283. package/dist/src/components/tooltips/bundle.js +10 -10
  284. package/dist/src/components/tooltips/bundle.js.gz +0 -0
  285. package/dist/src/components/tooltips/tooltips.component.d.ts +8 -0
  286. package/dist/src/components/tooltips/tooltips.component.js +9 -1
  287. package/dist/src/components/tooltips/tooltips.style.js +6 -6
  288. package/dist/src/components/video/bundle.js +47 -36
  289. package/dist/src/components/video/bundle.js.gz +0 -0
  290. package/dist/src/components/video/video.component.d.ts +12 -1
  291. package/dist/src/components/video/video.component.js +18 -6
  292. package/dist/src/components/video/video.style.js +18 -24
  293. package/package.json +25 -12
  294. package/packages/common/dist/VERSIONS.md +2 -2
  295. package/packages/common/dist/shared/base-mixin.d.ts +21 -19
  296. package/packages/common/dist/shared/base-mixin.d.ts.map +1 -1
  297. package/packages/common/dist/shared/base-mixin.js +102 -18
  298. package/packages/common/dist/shared/base-mixin.js.map +1 -1
  299. package/packages/common/dist/shared/index.d.ts +1 -0
  300. package/packages/common/dist/shared/index.d.ts.map +1 -1
  301. package/packages/common/dist/shared/index.js +2 -0
  302. package/packages/common/dist/shared/index.js.map +1 -1
  303. package/packages/common/dist/shared/style-injector.d.ts +11 -0
  304. package/packages/common/dist/shared/style-injector.d.ts.map +1 -0
  305. package/packages/common/dist/shared/style-injector.js +53 -0
  306. package/packages/common/dist/shared/style-injector.js.map +1 -0
  307. package/packages/common/dist/shared/theme-mixin.d.ts +2 -24
  308. package/packages/common/dist/shared/theme-mixin.d.ts.map +1 -1
  309. package/packages/common/dist/shared/theme-mixin.js +5 -38
  310. package/packages/common/dist/shared/theme-mixin.js.map +1 -1
  311. package/packages/themes/dist/default.css +0 -10
  312. package/packages/themes/dist/package.json +1 -1
@@ -15,43 +15,43 @@ export const styles = css `
15
15
  :host {
16
16
  display: block;
17
17
  position: fixed;
18
- z-index: var(--nuraly-z-index-toast);
18
+ z-index: 1200;
19
19
  pointer-events: none;
20
20
 
21
21
  /* Force CSS custom property inheritance to ensure theme switching works properly */
22
- color: var(--nuraly-color-text);
23
- font-family: var(--nuraly-font-family);
22
+ color: #161616;
23
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
24
24
  }
25
25
 
26
26
  /* Container positioning */
27
27
  :host([position="top-right"]) {
28
- top: var(--nuraly-spacing-4);
29
- right: var(--nuraly-spacing-4);
28
+ top: 1rem;
29
+ right: 1rem;
30
30
  }
31
31
 
32
32
  :host([position="top-left"]) {
33
- top: var(--nuraly-spacing-4);
34
- left: var(--nuraly-spacing-4);
33
+ top: 1rem;
34
+ left: 1rem;
35
35
  }
36
36
 
37
37
  :host([position="top-center"]) {
38
- top: var(--nuraly-spacing-4);
38
+ top: 1rem;
39
39
  left: 50%;
40
40
  transform: translateX(-50%);
41
41
  }
42
42
 
43
43
  :host([position="bottom-right"]) {
44
- bottom: var(--nuraly-spacing-4);
45
- right: var(--nuraly-spacing-4);
44
+ bottom: 1rem;
45
+ right: 1rem;
46
46
  }
47
47
 
48
48
  :host([position="bottom-left"]) {
49
- bottom: var(--nuraly-spacing-4);
50
- left: var(--nuraly-spacing-4);
49
+ bottom: 1rem;
50
+ left: 1rem;
51
51
  }
52
52
 
53
53
  :host([position="bottom-center"]) {
54
- bottom: var(--nuraly-spacing-4);
54
+ bottom: 1rem;
55
55
  left: 50%;
56
56
  transform: translateX(-50%);
57
57
  }
@@ -59,61 +59,61 @@ export const styles = css `
59
59
  .toast-container {
60
60
  display: flex;
61
61
  flex-direction: column;
62
- gap: var(--nuraly-toast-stack-gap);
63
- min-width: var(--nuraly-toast-min-width);
64
- max-width: var(--nuraly-toast-max-width);
62
+ gap: 0.5rem;
63
+ min-width: 280px;
64
+ max-width: 480px;
65
65
  }
66
66
 
67
67
  .toast {
68
68
  display: flex;
69
69
  align-items: start;
70
- gap: var(--nuraly-toast-gap);
71
- padding: var(--nuraly-toast-padding-vertical) var(--nuraly-toast-padding-horizontal);
72
- background-color: var(--nuraly-color-background);
73
- color: var(--nuraly-color-text);
74
- border: 1px solid var(--nuraly-color-border);
75
- border-radius: var(--nuraly-border-radius-toast);
76
- box-shadow: var(--nuraly-shadow-toast);
70
+ gap: 0.75rem;
71
+ padding: 0.75rem 1rem;
72
+ background-color: #ffffff;
73
+ color: #161616;
74
+ border: 1px solid #e0e0e0;
75
+ border-radius: 6px;
76
+ box-shadow: 0 2px 8px rgba(0,0,0,0.15);
77
77
  pointer-events: auto;
78
78
  cursor: default;
79
- transition: all var(--nuraly-transition-fast) ease;
79
+ transition: all 0.15s ease;
80
80
  position: relative;
81
81
  overflow: hidden;
82
82
  }
83
83
 
84
84
  .toast:hover {
85
- box-shadow: var(--nuraly-shadow-toast-hover);
85
+ box-shadow: 0 4px 16px rgba(0,0,0,0.2);
86
86
  }
87
87
 
88
88
  /* Toast type variants */
89
89
  .toast--default {
90
- background-color: var(--nuraly-toast-default-background);
91
- border-color: var(--nuraly-toast-default-border);
92
- color: var(--nuraly-toast-default-text);
90
+ background-color: #ffffff;
91
+ border-color: #e0e0e0;
92
+ color: #161616;
93
93
  }
94
94
 
95
95
  .toast--success {
96
- background-color: var(--nuraly-toast-success-background);
97
- border-color: var(--nuraly-toast-success-border);
98
- color: var(--nuraly-toast-success-text);
96
+ background-color: #defbe6;
97
+ border-color: #198038;
98
+ color: #0e6027;
99
99
  }
100
100
 
101
101
  .toast--error {
102
- background-color: var(--nuraly-toast-error-background);
103
- border-color: var(--nuraly-toast-error-border);
104
- color: var(--nuraly-toast-error-text);
102
+ background-color: #fff1f1;
103
+ border-color: #dc2626;
104
+ color: #a61a1a;
105
105
  }
106
106
 
107
107
  .toast--warning {
108
- background-color: var(--nuraly-toast-warning-background);
109
- border-color: var(--nuraly-toast-warning-border);
110
- color: var(--nuraly-toast-warning-text);
108
+ background-color: #fdf4d3;
109
+ border-color: #f1c21b;
110
+ color: #75490a;
111
111
  }
112
112
 
113
113
  .toast--info {
114
- background-color: var(--nuraly-toast-info-background);
115
- border-color: var(--nuraly-toast-info-border);
116
- color: var(--nuraly-toast-info-text);
114
+ background-color: #edf5ff;
115
+ border-color: #0043ce;
116
+ color: #003087;
117
117
  }
118
118
 
119
119
  /* Toast icon */
@@ -134,12 +134,12 @@ export const styles = css `
134
134
  flex: 1;
135
135
  display: flex;
136
136
  flex-direction: column;
137
- gap: var(--nuraly-spacing-2);
137
+ gap: 0.5rem;
138
138
  min-width: 0;
139
139
  }
140
140
 
141
141
  .toast__text {
142
- font-size: var(--nuraly-font-size-sm);
142
+ font-size: 0.875rem;
143
143
  line-height: 1.5;
144
144
  word-break: break-word;
145
145
  }
@@ -148,7 +148,7 @@ export const styles = css `
148
148
  .toast__button {
149
149
  display: flex;
150
150
  align-items: center;
151
- margin-top: var(--nuraly-spacing-1);
151
+ margin-top: 0.25rem;
152
152
  }
153
153
 
154
154
  .toast__button nr-button {
@@ -158,8 +158,8 @@ export const styles = css `
158
158
  /* Close button */
159
159
  .toast__close {
160
160
  flex-shrink: 0;
161
- min-width: var(--nuraly-toast-close-size);
162
- min-height: var(--nuraly-toast-close-size);
161
+ min-width: 1.5rem;
162
+ min-height: 1.5rem;
163
163
  padding: 0;
164
164
  border: none;
165
165
  background: transparent;
@@ -168,19 +168,19 @@ export const styles = css `
168
168
  display: flex;
169
169
  align-items: center;
170
170
  justify-content: center;
171
- border-radius: var(--nuraly-border-radius-small);
172
- transition: all var(--nuraly-transition-fast) ease;
173
- opacity: var(--nuraly-toast-close-opacity);
171
+ border-radius: 4px;
172
+ transition: all 0.15s ease;
173
+ opacity: 0.6;
174
174
  }
175
175
 
176
176
  .toast__close:hover {
177
- opacity: var(--nuraly-toast-close-opacity-hover);
178
- background-color: var(--nuraly-toast-close-hover-background);
177
+ opacity: 1;
178
+ background-color: rgba(0,0,0,0.08);
179
179
  }
180
180
 
181
181
  .toast__close:focus {
182
- outline: var(--nuraly-focus-outline);
183
- outline-offset: var(--nuraly-focus-outline-offset);
182
+ outline: 2px solid #7c3aed;
183
+ outline-offset: 2px;
184
184
  }
185
185
 
186
186
  .toast__close nr-icon {
@@ -290,38 +290,38 @@ export const styles = css `
290
290
 
291
291
  /* Animation classes */
292
292
  .toast--fade-in {
293
- animation: toast-fade-in var(--nuraly-transition-toast) ease;
293
+ animation: toast-fade-in 0.3s ease;
294
294
  }
295
295
 
296
296
  .toast--fade-out {
297
- animation: toast-fade-out var(--nuraly-transition-toast) ease;
297
+ animation: toast-fade-out 0.3s ease;
298
298
  }
299
299
 
300
300
  .toast--slide-in {
301
- animation: toast-slide-in-right var(--nuraly-transition-toast) ease;
301
+ animation: toast-slide-in-right 0.3s ease;
302
302
  }
303
303
 
304
304
  .toast--slide-out {
305
- animation: toast-slide-out-right var(--nuraly-transition-toast) ease;
305
+ animation: toast-slide-out-right 0.3s ease;
306
306
  }
307
307
 
308
308
  .toast--bounce-in {
309
- animation: toast-bounce-in var(--nuraly-transition-toast) ease;
309
+ animation: toast-bounce-in 0.3s ease;
310
310
  }
311
311
 
312
312
  .toast--bounce-out {
313
- animation: toast-bounce-out var(--nuraly-transition-toast) ease;
313
+ animation: toast-bounce-out 0.3s ease;
314
314
  }
315
315
 
316
316
  /* Position-specific slide animations */
317
317
  :host([position="top-left"]) .toast--slide-in,
318
318
  :host([position="bottom-left"]) .toast--slide-in {
319
- animation: toast-slide-in-left var(--nuraly-transition-toast) ease;
319
+ animation: toast-slide-in-left 0.3s ease;
320
320
  }
321
321
 
322
322
  :host([position="top-left"]) .toast--slide-out,
323
323
  :host([position="bottom-left"]) .toast--slide-out {
324
- animation: toast-slide-out-left var(--nuraly-transition-toast) ease;
324
+ animation: toast-slide-out-left 0.3s ease;
325
325
  }
326
326
 
327
327
  /* Progress bar for duration indicator */
@@ -329,9 +329,9 @@ export const styles = css `
329
329
  position: absolute;
330
330
  bottom: 0;
331
331
  left: 0;
332
- height: var(--nuraly-toast-progress-height);
332
+ height: 3px;
333
333
  background-color: currentColor;
334
- opacity: var(--nuraly-toast-progress-opacity);
334
+ opacity: 0.4;
335
335
  transition: width linear;
336
336
  }
337
337
  `;
@@ -1,7 +1,7 @@
1
- import{css as t,LitElement as i,html as o,nothing as s}from"lit";import{property as n,state as e,customElement as h}from"lit/decorators.js";const r=[t`
1
+ import{css as t,LitElement as i,html as s,nothing as o}from"lit";import{property as e,state as n,customElement as h}from"lit/decorators.js";const r=[t`
2
2
  :host([show]) {
3
- background-color: var(--nuraly-tooltip-background-color);
4
- color: var(--nuraly-tooltip-text-color);
3
+ background-color: #161616;
4
+ color: #ffffff;
5
5
  position: fixed;
6
6
  padding: 5px;
7
7
  text-align: center;
@@ -51,20 +51,20 @@ import{css as t,LitElement as i,html as o,nothing as s}from"lit";import{property
51
51
  border: 5px solid transparent;
52
52
  }
53
53
  :host(.top-position)::after {
54
- border-top-color: var(--nuraly-tooltip-background-color);
54
+ border-top-color: #161616;
55
55
  top: 100%;
56
56
  }
57
57
  :host(.left-position)::after {
58
- border-left-color: var(--nuraly-tooltip-background-color);
58
+ border-left-color: #161616;
59
59
  left: 100%;
60
60
  }
61
61
 
62
62
  :host(.right-position)::after {
63
- border-right-color: var(--nuraly-tooltip-background-color);
63
+ border-right-color: #161616;
64
64
  right: 100%;
65
65
  }
66
66
  :host(.bottom-position)::after {
67
- border-bottom-color: var(--nuraly-tooltip-background-color);
67
+ border-bottom-color: #161616;
68
68
  bottom: 100%;
69
69
  }
70
70
  :host(.alignement-center.top-position)::after,
@@ -107,8 +107,8 @@ import{css as t,LitElement as i,html as o,nothing as s}from"lit";import{property
107
107
  --nuraly-tooltip-text-color: #161616;
108
108
  }
109
109
  }
110
- `];var a,l;!function(t){t.Top="top",t.Bottom="bottom",t.Right="right",t.Left="left"}(a||(a={})),function(t){t.Start="start",t.Center="center",t.End="end"}(l||(l={}));var p=function(t,i,o,s){for(var n,e=arguments.length,h=e<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,o):s,r=t.length-1;r>=0;r--)(n=t[r])&&(h=(e<3?n(h):e>3?n(i,o,h):n(i,o))||h);return e>3&&h&&Object.defineProperty(i,o,h),h};let c=class extends i{constructor(){super(...arguments),this.position=a.Bottom,this.alignement=l.Center,this.show=!1,this.isPopConfirm=!1,this.popConfirmTitle="",this.popConfirmDescription="",this.okText="Yes",this.cancelText="No",this.horizontalOffset=10,this.verticalOffset=10,this.onMouseOver=()=>{this.show=!0},this.onMouseLeave=()=>{this.show=!1,this.initStyles()},this.onClick=()=>{this.show=!this.show},this.calculatePosition=()=>{this.initStyles(),this.style.width=`${this.clientWidth}px`,this.position===a.Bottom||this.position===a.Top?(this.calculateYposition(),this.calculateYalignement()):(this.calculateXposition(),this.calculateXalignement())},this.calculateYposition=()=>{const t=this.target.getBoundingClientRect(),i=t.bottom,o=t.top,s=window.visualViewport.height,n=this.clientHeight,e=n+this.verticalOffset<s-i,h=n+this.verticalOffset<o;this.position===a.Bottom?e||!h?(this.classList.add("bottom-position"),this.style.top=`${i+this.verticalOffset}px`):(this.classList.add("top-position"),this.style.top=o-n-this.verticalOffset+"px"):h||!e?(this.classList.add("top-position"),this.style.top=o-n-this.verticalOffset+"px"):(this.classList.add("bottom-position"),this.style.top=`${i+this.verticalOffset}px`)},this.calculateYalignement=()=>{const t=this.target.getBoundingClientRect(),i=t.right,o=t.width,s=t.left,n=this.clientWidth,e=s+o/2,h=window.visualViewport.width,r=h-i+o/2;if(this.alignement===l.Start){n+s<h?(this.classList.add("alignement-start"),this.style.left=s-this.horizontalOffset+"px"):(this.classList.add("alignement-end"),this.style.left=`${s-n+this.horizontalOffset}px`)}else if(this.alignement===l.End){n<s?(this.classList.add("alignement-end"),this.style.left=`${s-n+this.horizontalOffset}px`):(this.classList.add("alignement-start"),this.style.left=s-this.horizontalOffset+"px")}else{const t=n<e;n/2<e&&n/2<r||n>e&&n>r?(this.classList.add("alignement-center"),this.style.left=s-n/2+o/2+"px"):t?(this.classList.add("alignement-end"),this.style.left=`${s-n+this.horizontalOffset}px`):(this.classList.add("alignement-start"),this.style.left=s-this.horizontalOffset+"px")}},this.calculateXposition=()=>{const t=this.target.getBoundingClientRect(),i=t.left,o=t.right,s=window.visualViewport.width,n=this.clientWidth,e=n+this.horizontalOffset<s-o,h=n+this.horizontalOffset<i;this.position===a.Right?e||!h?(this.classList.add("right-position"),this.style.left=`${o+this.horizontalOffset}px`):(this.classList.add("left-position"),this.style.left=i-n-this.horizontalOffset+"px"):h||!e?(this.classList.add("left-position"),this.style.left=i-n-this.horizontalOffset+"px"):(this.classList.add("right-position"),this.style.left=`${o+this.horizontalOffset}px`)},this.calculateXalignement=()=>{const t=this.target.getBoundingClientRect(),i=t.top,o=t.height,s=t.bottom,n=this.clientHeight,e=window.visualViewport.height,h=e-s;if(this.alignement===l.End){n<i?(this.classList.add("alignement-end"),this.style.top=s-n+"px"):(this.classList.add("alignement-start"),this.style.top=i-o/4+"px")}else if(this.alignement===l.Start){n<e-s?(this.classList.add("alignement-start"),this.style.top=i-o/4+"px"):(this.classList.add("alignement-end"),this.style.top=s-n+"px")}else{const t=n<i;n/2<i&&n/2<h||n>i&&n>h?(this.classList.add("alignement-center"),this.style.top=i+o/2-n/2+"px"):t?(this.classList.add("alignement-end"),this.style.top=s-n+"px"):(this.classList.add("alignement-start"),this.style.top=i-o/4+"px")}},this.onClickOutside=t=>{const i=t.composedPath();!i.includes(this.target)&&!i.includes(this)&&(this.show=!1)}}connectedCallback(){super.connectedCallback(),this.target=this.target||this.previousElementSibling,this.target?this.isPopConfirm?(document.addEventListener("scroll",this.calculatePosition),this.target.addEventListener("click",this.onClick),document.addEventListener("click",this.onClickOutside)):(this.target.addEventListener("mouseover",this.onMouseOver),this.target.addEventListener("mouseleave",this.onMouseLeave)):console.error("Tooltip target is not defined or found. Ensure target is explicitly set or precedes the tooltip.")}initStyles(){this.style.top="",this.style.left="",this.style.width="",this.classList.remove(...this.classList.values())}updated(t){this.show&&this.calculatePosition()}onPopConfirmCancel(){this.dispatchEvent(new CustomEvent("onCancel")),this.show=!1,this.initStyles()}onPopConfirmConfirm(){this.dispatchEvent(new CustomEvent("onConfirm")),this.show=!1,this.initStyles()}disconnectedCallback(){super.disconnectedCallback(),this.isPopConfirm?(this.target.removeEventListener("click",this.onClick),document.removeEventListener("scroll",this.calculatePosition)):(this.target.removeEventListener("mouseover",this.onMouseOver),this.target.removeEventListener("mouseleave",this.onMouseLeave))}render(){return this.isPopConfirm?this.show?o`
111
- <div class="popconfirm-container">
110
+ `];var a,p;!function(t){t.Top="top",t.Bottom="bottom",t.Right="right",t.Left="left"}(a||(a={})),function(t){t.Start="start",t.Center="center",t.End="end"}(p||(p={}));var l=function(t,i,s,o){for(var e,n=arguments.length,h=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,s):o,r=t.length-1;r>=0;r--)(e=t[r])&&(h=(n<3?e(h):n>3?e(i,s,h):e(i,s))||h);return n>3&&h&&Object.defineProperty(i,s,h),h};let c=class extends i{constructor(){super(...arguments),this.position=a.Bottom,this.alignement=p.Center,this.show=!1,this.isPopConfirm=!1,this.popConfirmTitle="",this.popConfirmDescription="",this.okText="Yes",this.cancelText="No",this.horizontalOffset=10,this.verticalOffset=10,this.onMouseOver=()=>{this.show=!0},this.onMouseLeave=()=>{this.show=!1,this.initStyles()},this.onClick=()=>{this.show=!this.show},this.calculatePosition=()=>{this.initStyles(),this.style.width=`${this.clientWidth}px`,this.position===a.Bottom||this.position===a.Top?(this.calculateYposition(),this.calculateYalignement()):(this.calculateXposition(),this.calculateXalignement())},this.calculateYposition=()=>{const t=this.target.getBoundingClientRect(),i=t.bottom,s=t.top,o=window.visualViewport.height,e=this.clientHeight,n=e+this.verticalOffset<o-i,h=e+this.verticalOffset<s;this.position===a.Bottom?n||!h?(this.classList.add("bottom-position"),this.style.top=`${i+this.verticalOffset}px`):(this.classList.add("top-position"),this.style.top=s-e-this.verticalOffset+"px"):h||!n?(this.classList.add("top-position"),this.style.top=s-e-this.verticalOffset+"px"):(this.classList.add("bottom-position"),this.style.top=`${i+this.verticalOffset}px`)},this.calculateYalignement=()=>{const t=this.target.getBoundingClientRect(),i=t.right,s=t.width,o=t.left,e=this.clientWidth,n=o+s/2,h=window.visualViewport.width,r=h-i+s/2;if(this.alignement===p.Start){e+o<h?(this.classList.add("alignement-start"),this.style.left=o-this.horizontalOffset+"px"):(this.classList.add("alignement-end"),this.style.left=`${o-e+this.horizontalOffset}px`)}else if(this.alignement===p.End){e<o?(this.classList.add("alignement-end"),this.style.left=`${o-e+this.horizontalOffset}px`):(this.classList.add("alignement-start"),this.style.left=o-this.horizontalOffset+"px")}else{const t=e<n;e/2<n&&e/2<r||e>n&&e>r?(this.classList.add("alignement-center"),this.style.left=o-e/2+s/2+"px"):t?(this.classList.add("alignement-end"),this.style.left=`${o-e+this.horizontalOffset}px`):(this.classList.add("alignement-start"),this.style.left=o-this.horizontalOffset+"px")}},this.calculateXposition=()=>{const t=this.target.getBoundingClientRect(),i=t.left,s=t.right,o=window.visualViewport.width,e=this.clientWidth,n=e+this.horizontalOffset<o-s,h=e+this.horizontalOffset<i;this.position===a.Right?n||!h?(this.classList.add("right-position"),this.style.left=`${s+this.horizontalOffset}px`):(this.classList.add("left-position"),this.style.left=i-e-this.horizontalOffset+"px"):h||!n?(this.classList.add("left-position"),this.style.left=i-e-this.horizontalOffset+"px"):(this.classList.add("right-position"),this.style.left=`${s+this.horizontalOffset}px`)},this.calculateXalignement=()=>{const t=this.target.getBoundingClientRect(),i=t.top,s=t.height,o=t.bottom,e=this.clientHeight,n=window.visualViewport.height,h=n-o;if(this.alignement===p.End){e<i?(this.classList.add("alignement-end"),this.style.top=o-e+"px"):(this.classList.add("alignement-start"),this.style.top=i-s/4+"px")}else if(this.alignement===p.Start){e<n-o?(this.classList.add("alignement-start"),this.style.top=i-s/4+"px"):(this.classList.add("alignement-end"),this.style.top=o-e+"px")}else{const t=e<i;e/2<i&&e/2<h||e>i&&e>h?(this.classList.add("alignement-center"),this.style.top=i+s/2-e/2+"px"):t?(this.classList.add("alignement-end"),this.style.top=o-e+"px"):(this.classList.add("alignement-start"),this.style.top=i-s/4+"px")}},this.onClickOutside=t=>{const i=t.composedPath();!i.includes(this.target)&&!i.includes(this)&&(this.show=!1)}}connectedCallback(){super.connectedCallback(),this.target=this.target||this.previousElementSibling,this.target?this.isPopConfirm?(document.addEventListener("scroll",this.calculatePosition),this.target.addEventListener("click",this.onClick),document.addEventListener("click",this.onClickOutside)):(this.target.addEventListener("mouseover",this.onMouseOver),this.target.addEventListener("mouseleave",this.onMouseLeave)):console.error("Tooltip target is not defined or found. Ensure target is explicitly set or precedes the tooltip.")}initStyles(){this.style.top="",this.style.left="",this.style.width="",this.classList.remove(...this.classList.values())}updated(t){this.show&&this.calculatePosition()}onPopConfirmCancel(){this.dispatchEvent(new CustomEvent("onCancel")),this.show=!1,this.initStyles()}onPopConfirmConfirm(){this.dispatchEvent(new CustomEvent("onConfirm")),this.show=!1,this.initStyles()}disconnectedCallback(){super.disconnectedCallback(),this.isPopConfirm?(this.target.removeEventListener("click",this.onClick),document.removeEventListener("scroll",this.calculatePosition)):(this.target.removeEventListener("mouseover",this.onMouseOver),this.target.removeEventListener("mouseleave",this.onMouseLeave))}render(){return this.isPopConfirm?this.show?s`
111
+ <div class="popconfirm-container" part="container">
112
112
  <p class="popconfirm-title">${this.popConfirmTitle}</p>
113
113
  <p class="popconfirm-description">${this.popConfirmDescription}</p>
114
114
  <div class="btn-block">
@@ -120,4 +120,4 @@ import{css as t,LitElement as i,html as o,nothing as s}from"lit";import{property
120
120
  >
121
121
  </div>
122
122
  </div>
123
- `:s:this.show?o`<slot></slot>`:s}};c.styles=r,p([n({reflect:!0})],c.prototype,"position",void 0),p([n({reflect:!0})],c.prototype,"alignement",void 0),p([e()],c.prototype,"target",void 0),p([n({reflect:!0,type:Boolean})],c.prototype,"show",void 0),p([n()],c.prototype,"isPopConfirm",void 0),p([n()],c.prototype,"popConfirmTitle",void 0),p([n()],c.prototype,"popConfirmDescription",void 0),p([n()],c.prototype,"okText",void 0),p([n()],c.prototype,"cancelText",void 0),c=p([h("hy-tooltip")],c);export{c as TooltipElement};
123
+ `:o:this.show?s`<slot></slot>`:o}};c.styles=r,c.useShadowDom=!0,l([e({reflect:!0})],c.prototype,"position",void 0),l([e({reflect:!0})],c.prototype,"alignement",void 0),l([n()],c.prototype,"target",void 0),l([e({reflect:!0,type:Boolean})],c.prototype,"show",void 0),l([e()],c.prototype,"isPopConfirm",void 0),l([e()],c.prototype,"popConfirmTitle",void 0),l([e()],c.prototype,"popConfirmDescription",void 0),l([e()],c.prototype,"okText",void 0),l([e()],c.prototype,"cancelText",void 0),c=l([h("hy-tooltip")],c);export{c as TooltipElement};
@@ -1,7 +1,15 @@
1
1
  import { LitElement, nothing, PropertyValueMap } from 'lit';
2
2
  import { TooltipAlignment, TooltipPosition } from './tooltips.constant.js';
3
+ /**
4
+ * Tooltip / popconfirm overlay component.
5
+ *
6
+ * @element hy-tooltip
7
+ *
8
+ * @csspart container - The popconfirm inner container
9
+ */
3
10
  export declare class TooltipElement extends LitElement {
4
11
  static styles: import("lit").CSSResult[];
12
+ static useShadowDom: boolean;
5
13
  position: TooltipPosition;
6
14
  alignement: TooltipAlignment;
7
15
  target: Element;
@@ -9,6 +9,13 @@ import { html, LitElement, nothing } from 'lit';
9
9
  import { customElement, property, state } from 'lit/decorators.js';
10
10
  import { styles } from './tooltips.style.js';
11
11
  import { EMPTY_STRING, TooltipAlignment, TooltipPosition } from './tooltips.constant.js';
12
+ /**
13
+ * Tooltip / popconfirm overlay component.
14
+ *
15
+ * @element hy-tooltip
16
+ *
17
+ * @csspart container - The popconfirm inner container
18
+ */
12
19
  let TooltipElement = class TooltipElement extends LitElement {
13
20
  constructor() {
14
21
  super(...arguments);
@@ -262,7 +269,7 @@ let TooltipElement = class TooltipElement extends LitElement {
262
269
  : nothing
263
270
  : this.show
264
271
  ? html `
265
- <div class="popconfirm-container">
272
+ <div class="popconfirm-container" part="container">
266
273
  <p class="popconfirm-title">${this.popConfirmTitle}</p>
267
274
  <p class="popconfirm-description">${this.popConfirmDescription}</p>
268
275
  <div class="btn-block">
@@ -279,6 +286,7 @@ let TooltipElement = class TooltipElement extends LitElement {
279
286
  }
280
287
  };
281
288
  TooltipElement.styles = styles;
289
+ TooltipElement.useShadowDom = true;
282
290
  __decorate([
283
291
  property({ reflect: true })
284
292
  ], TooltipElement.prototype, "position", void 0);
@@ -2,8 +2,8 @@ import { css } from 'lit';
2
2
  import { styleVariables } from './tooltips.variables.js';
3
3
  const tooltipStyles = css `
4
4
  :host([show]) {
5
- background-color: var(--nuraly-tooltip-background-color);
6
- color: var(--nuraly-tooltip-text-color);
5
+ background-color: #161616;
6
+ color: #ffffff;
7
7
  position: fixed;
8
8
  padding: 5px;
9
9
  text-align: center;
@@ -53,20 +53,20 @@ const tooltipStyles = css `
53
53
  border: 5px solid transparent;
54
54
  }
55
55
  :host(.top-position)::after {
56
- border-top-color: var(--nuraly-tooltip-background-color);
56
+ border-top-color: #161616;
57
57
  top: 100%;
58
58
  }
59
59
  :host(.left-position)::after {
60
- border-left-color: var(--nuraly-tooltip-background-color);
60
+ border-left-color: #161616;
61
61
  left: 100%;
62
62
  }
63
63
 
64
64
  :host(.right-position)::after {
65
- border-right-color: var(--nuraly-tooltip-background-color);
65
+ border-right-color: #161616;
66
66
  right: 100%;
67
67
  }
68
68
  :host(.bottom-position)::after {
69
- border-bottom-color: var(--nuraly-tooltip-background-color);
69
+ border-bottom-color: #161616;
70
70
  bottom: 100%;
71
71
  }
72
72
  :host(.alignement-center.top-position)::after,
@@ -1,4 +1,20 @@
1
- import{css as e,LitElement as i,html as o}from"lit";import{property as r,state as t,customElement as s}from"lit/decorators.js";import{classMap as a}from"lit/directives/class-map.js";import{styleMap as n}from"lit/directives/style-map.js";import{NuralyUIBaseMixin as d}from"@nuralyui/common/mixins";var l=e`
1
+ import{css as e,html as t,LitElement as i}from"lit";import{property as o,state as s,customElement as r}from"lit/decorators.js";import{classMap as n}from"lit/directives/class-map.js";import{styleMap as a}from"lit/directives/style-map.js";
2
+ /**
3
+ * @license
4
+ * Copyright 2023 Nuraly, Laabidi Aymen
5
+ * SPDX-License-Identifier: MIT
6
+ */const d=e=>class extends e{constructor(){super(...arguments),this.handleSystemThemeChange=()=>{this.closest("[data-theme]")||document.documentElement.hasAttribute("data-theme")||this.requestUpdate()}}connectedCallback(){super.connectedCallback(),this.setupThemeObserver(),this.setupDesignSystemObserver(),this.setupSystemThemeListener()}disconnectedCallback(){var e,t,i;super.disconnectedCallback(),null===(e=this.themeObserver)||void 0===e||e.disconnect(),null===(t=this.designSystemObserver)||void 0===t||t.disconnect(),null===(i=this.mediaQuery)||void 0===i||i.removeEventListener("change",this.handleSystemThemeChange)}get currentTheme(){var e,t;const i=(null===(e=this.closest("[data-theme]"))||void 0===e?void 0:e.getAttribute("data-theme"))||document.documentElement.getAttribute("data-theme");return i||((null===(t=window.matchMedia)||void 0===t?void 0:t.call(window,"(prefers-color-scheme: dark)").matches)?"dark":"light")}get currentDesignSystem(){var e;const t=(null===(e=this.closest("[design-system]"))||void 0===e?void 0:e.getAttribute("design-system"))||document.documentElement.getAttribute("design-system");return"carbon"===t?t:"default"}setupThemeObserver(){this.themeObserver=new MutationObserver(()=>{this.requestUpdate()}),this.themeObserver.observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme"]})}setupDesignSystemObserver(){this.designSystemObserver=new MutationObserver(()=>{this.requestUpdate()}),this.designSystemObserver.observe(document.documentElement,{attributes:!0,attributeFilter:["design-system"]})}setupSystemThemeListener(){window.matchMedia&&(this.mediaQuery=window.matchMedia("(prefers-color-scheme: dark)"),this.mediaQuery.addEventListener("change",this.handleSystemThemeChange))}},l=()=>{var e;return void 0!==globalThis.litElementVersions||"undefined"!=typeof process&&"development"===(null===(e=process.env)||void 0===e?void 0:e.NODE_ENV)||"undefined"!=typeof window&&("localhost"===window.location.hostname||"127.0.0.1"===window.location.hostname)},h=e=>class extends e{constructor(){super(...arguments),this.requiredComponents=[]}validateDependencies(){if(l())for(const e of this.requiredComponents)if(!this.isComponentAvailable(e))throw new Error(`Required component "${e}" is not registered. Please import and register the component before using ${this.tagName.toLowerCase()}. Example: import '@nuralyui/${e}';`)}validateDependenciesWithHandler(e){if(!l())return!0;let t=!0;for(const i of this.requiredComponents)if(!this.isComponentAvailable(i)){t=!1;const o=new Error(`Required component "${i}" is not registered. Please import and register the component before using ${this.tagName.toLowerCase()}.`);e?e(i,o):console.error(o.message)}return t}isComponentAvailable(e){return!!customElements.get(e)}getMissingDependencies(){return this.requiredComponents.filter(e=>!this.isComponentAvailable(e))}areDependenciesAvailable(){return this.requiredComponents.every(e=>this.isComponentAvailable(e))}addRequiredComponent(e){this.requiredComponents.includes(e)||this.requiredComponents.push(e)}removeRequiredComponent(e){const t=this.requiredComponents.indexOf(e);t>-1&&this.requiredComponents.splice(t,1)}},c=e=>class extends e{dispatchCustomEvent(e,t){this.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!0,composed:!0}))}dispatchEventWithMetadata(e,t){var i;const o=Object.assign(Object.assign({},t),{timestamp:Date.now(),componentName:(null===(i=this.tagName)||void 0===i?void 0:i.toLowerCase())||"unknown"});this.dispatchCustomEvent(e,o)}dispatchInputEvent(e,t){const i=Object.assign({target:t.target||this,value:t.value,originalEvent:t.originalEvent},t);this.dispatchCustomEvent(e,i)}dispatchFocusEvent(e,t){const i=Object.assign({target:t.target||this,value:t.value,focused:t.focused,cursorPosition:t.cursorPosition,selectedText:t.selectedText},t);this.dispatchCustomEvent(e,i)}dispatchValidationEvent(e,t){var i;const o=Object.assign({target:t.target||this,value:t.value,isValid:null!==(i=t.isValid)&&void 0!==i&&i,error:t.error},t);this.dispatchCustomEvent(e,o)}dispatchActionEvent(e,t){const i=Object.assign({target:t.target||this,action:t.action,previousValue:t.previousValue,newValue:t.newValue},t);this.dispatchCustomEvent(e,i)}isReadonlyKeyAllowed(e){if(e.ctrlKey||e.metaKey){return["KeyA","KeyC"].includes(e.code)}return["Tab","Escape","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End","PageUp","PageDown"].includes(e.key)}isActivationKey(e){return"Enter"===e.key||" "===e.key}},p=new Set,u=new Map;
7
+ /**
8
+ * @license
9
+ * Copyright 2023 Nuraly, Laabidi Aymen
10
+ * SPDX-License-Identifier: MIT
11
+ */
12
+ /**
13
+ * @license
14
+ * Copyright 2023 Nuraly, Laabidi Aymen
15
+ * SPDX-License-Identifier: MIT
16
+ */
17
+ const v=e=>{class t extends e{constructor(){super(...arguments),this.t=null}createRenderRoot(){return this.constructor.useShadowDom?super.createRenderRoot():this}connectedCallback(){const e=this.constructor.useShadowDom;if(!e&&null===this.t)for(this.t=[];this.firstChild;)this.t.push(this.removeChild(this.firstChild));if(super.connectedCallback(),!e){const e=this.constructor,t=this.tagName.toLowerCase(),i=e.styles;if(i){const e=m(i);e&&function(e,t,i){var o;if(!u.has(e)){const i=new CSSStyleSheet;i.replaceSync(t),u.set(e,i)}const s=u.get(e),r=`doc:${e}`;if(p.has(r)||(document.adoptedStyleSheets=[...document.adoptedStyleSheets,s],p.add(r)),i){let t=i;for(;t;){const i=t.getRootNode();if(!(i instanceof ShadowRoot))break;{const r=`shadow:${((null===(o=i.host)||void 0===o?void 0:o.tagName)||"").toLowerCase()}:${e}`;p.has(r)||(i.adoptedStyleSheets=[...i.adoptedStyleSheets,s],p.add(r)),t=i.host}}}}(t,e,this)}}}get lightChildren(){return this.t?this.t.filter(e=>!(e instanceof Element&&e.hasAttribute("slot"))):[]}lightChildrenNamed(e){return this.t?this.t.filter(t=>t instanceof Element&&t.getAttribute("slot")===e):[]}}return t.useShadowDom=!1,t};function m(e){return Array.isArray(e)?e.map(e=>m(e)).filter(Boolean).join("\n"):e&&"string"==typeof e.cssText?e.cssText:"string"==typeof e?e:""}var b=e`
2
18
  :host {
3
19
  display: inline-block;
4
20
  box-sizing: border-box;
@@ -12,14 +28,14 @@ import{css as e,LitElement as i,html as o}from"lit";import{property as r,state a
12
28
  position: relative;
13
29
  width: 100%;
14
30
  height: 100%;
15
- background-color: var(--nuraly-video-bg, #000);
31
+ background-color: #000;
16
32
  }
17
33
 
18
34
  video {
19
35
  display: block;
20
36
  width: 100%;
21
37
  height: 100%;
22
- border-radius: var(--nuraly-video-border-radius, 4px);
38
+ border-radius: 4px;
23
39
  }
24
40
 
25
41
  .video--error {
@@ -27,8 +43,8 @@ import{css as e,LitElement as i,html as o}from"lit";import{property as r,state a
27
43
  align-items: center;
28
44
  justify-content: center;
29
45
  min-height: 200px;
30
- background-color: var(--nuraly-video-error-bg, #f5f5f5);
31
- color: var(--nuraly-video-error-color, #999);
46
+ background-color: var(--nr-bg-hover, #f4f4f4);
47
+ color: var(--nr-text-secondary, #525252);
32
48
  }
33
49
 
34
50
  .error-message {
@@ -43,7 +59,6 @@ import{css as e,LitElement as i,html as o}from"lit";import{property as r,state a
43
59
  opacity: 0.5;
44
60
  }
45
61
 
46
- /* Preview/Fullscreen Modal */
47
62
  .preview-modal {
48
63
  position: fixed;
49
64
  top: 0;
@@ -53,15 +68,15 @@ import{css as e,LitElement as i,html as o}from"lit";import{property as r,state a
53
68
  display: flex;
54
69
  align-items: center;
55
70
  justify-content: center;
56
- background-color: var(--nuraly-video-preview-bg, rgba(0, 0, 0, 0.95));
57
- z-index: var(--nuraly-video-preview-zindex, 1000);
58
- animation: fadeIn 0.3s ease;
71
+ background-color: rgba(0, 0, 0, 0.95);
72
+ z-index: 1000;
73
+ animation: nr-video-fadeIn 0.3s ease;
59
74
  }
60
75
 
61
76
  .preview-modal video {
62
77
  max-width: 90%;
63
78
  max-height: 90%;
64
- border-radius: var(--nuraly-video-preview-border-radius, 4px);
79
+ border-radius: 4px;
65
80
  }
66
81
 
67
82
  .preview-close {
@@ -70,10 +85,10 @@ import{css as e,LitElement as i,html as o}from"lit";import{property as r,state a
70
85
  right: 20px;
71
86
  width: 40px;
72
87
  height: 40px;
73
- background: var(--nuraly-video-preview-close-bg, rgba(255, 255, 255, 0.2));
88
+ background: rgba(255, 255, 255, 0.2);
74
89
  border: none;
75
90
  border-radius: 50%;
76
- color: var(--nuraly-video-preview-close-color, white);
91
+ color: white;
77
92
  font-size: 24px;
78
93
  line-height: 1;
79
94
  cursor: pointer;
@@ -85,19 +100,19 @@ import{css as e,LitElement as i,html as o}from"lit";import{property as r,state a
85
100
  }
86
101
 
87
102
  .preview-close:hover {
88
- background: var(--nuraly-video-preview-close-hover-bg, rgba(255, 255, 255, 0.3));
103
+ background: rgba(255, 255, 255, 0.3);
89
104
  }
90
105
 
91
106
  .preview-button {
92
107
  position: absolute;
93
108
  top: 10px;
94
109
  right: 10px;
95
- background-color: var(--nuraly-video-fullscreen-btn-bg, rgba(0, 0, 0, 0.5));
110
+ background-color: rgba(0, 0, 0, 0.5);
96
111
  border: none;
97
112
  border-radius: 4px;
98
113
  padding: 8px 12px;
99
114
  cursor: pointer;
100
- color: var(--nuraly-video-fullscreen-btn-color, white);
115
+ color: white;
101
116
  font-size: 12px;
102
117
  display: flex;
103
118
  align-items: center;
@@ -107,29 +122,25 @@ import{css as e,LitElement as i,html as o}from"lit";import{property as r,state a
107
122
  }
108
123
 
109
124
  .preview-button:hover {
110
- background-color: var(--nuraly-video-fullscreen-btn-hover-bg, rgba(0, 0, 0, 0.7));
125
+ background-color: rgba(0, 0, 0, 0.7);
111
126
  }
112
127
 
113
- /* Animations */
114
- @keyframes fadeIn {
115
- from {
116
- opacity: 0;
117
- }
118
- to {
119
- opacity: 1;
120
- }
128
+ @keyframes nr-video-fadeIn {
129
+ from { opacity: 0; }
130
+ to { opacity: 1; }
121
131
  }
122
- `,v=function(e,i,o,r){for(var t,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,o):r,n=e.length-1;n>=0;n--)(t=e[n])&&(a=(s<3?t(a):s>3?t(i,o,a):t(i,o))||a);return s>3&&a&&Object.defineProperty(i,o,a),a};let p=class extends(d(i)){constructor(){super(...arguments),this.width="auto",this.height="auto",this.autoplay=!1,this.loop=!1,this.muted=!1,this.controls=!0,this.preload="metadata",this.previewable=!1,this.block=!1,this.showPreview=!1,this.hasError=!1,this.defaultFallback="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQwIiBoZWlnaHQ9IjE4MCIgdmlld0JveD0iMCAwIDI0MCAxODAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHJlY3Qgd2lkdGg9IjI0MCIgaGVpZ2h0PSIxODAiIGZpbGw9IiNGM0Y0RjYiLz48cGF0aCBkPSJNMTg4IDY5TDE2OCA4OU0xNjggNjlMMTg4IDg5IiBzdHJva2U9IiM5Q0EzQUYiIHN0cm9rZS13aWR0aD0iNCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9zdmc+"}handleError(){this.hasError=!0,this.dispatchEvent(new CustomEvent("nr-video-error",{bubbles:!0,composed:!0,detail:{error:`Error loading video: ${this.src}`,src:this.src}}))}handlePlay(){this.dispatchEvent(new CustomEvent("nr-video-play",{bubbles:!0,composed:!0,detail:{src:this.src}}))}handlePause(){this.dispatchEvent(new CustomEvent("nr-video-pause",{bubbles:!0,composed:!0,detail:{src:this.src}}))}handleEnded(){this.dispatchEvent(new CustomEvent("nr-video-ended",{bubbles:!0,composed:!0,detail:{src:this.src}}))}showPreviewModal(){this.previewable&&!this.hasError&&(this.showPreview=!0,this.dispatchEvent(new CustomEvent("nr-video-preview-open",{bubbles:!0,composed:!0,detail:{src:this.src}})))}closePreviewModal(){this.showPreview=!1,this.dispatchEvent(new CustomEvent("nr-video-preview-close",{bubbles:!0,composed:!0,detail:{src:this.src}}))}render(){const e={"video-container":!0,"video--error":this.hasError},i={width:"number"==typeof this.width?`${this.width}px`:this.width,height:"number"==typeof this.height?`${this.height}px`:this.height};return this.hasError?o`
123
- <div class=${a(e)}>
124
- <div class="error-message">
132
+ `,g=function(e,t,i,o){for(var s,r=arguments.length,n=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o,a=e.length-1;a>=0;a--)(s=e[a])&&(n=(r<3?s(n):r>3?s(t,i,n):s(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};let w=class extends((e=>h(d(c(v(e)))))(i)){constructor(){super(...arguments),this.width="auto",this.height="auto",this.autoplay=!1,this.loop=!1,this.muted=!1,this.controls=!0,this.preload="metadata",this.previewable=!1,this.block=!1,this.showPreview=!1,this.hasError=!1,this.defaultFallback="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQwIiBoZWlnaHQ9IjE4MCIgdmlld0JveD0iMCAwIDI0MCAxODAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHJlY3Qgd2lkdGg9IjI0MCIgaGVpZ2h0PSIxODAiIGZpbGw9IiNGM0Y0RjYiLz48cGF0aCBkPSJNMTg4IDY5TDE2OCA4OU0xNjggNjlMMTg4IDg5IiBzdHJva2U9IiM5Q0EzQUYiIHN0cm9rZS13aWR0aD0iNCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9zdmc+"}handleError(){this.hasError=!0,this.dispatchEvent(new CustomEvent("nr-video-error",{bubbles:!0,composed:!0,detail:{error:`Error loading video: ${this.src}`,src:this.src}}))}handlePlay(){this.dispatchEvent(new CustomEvent("nr-video-play",{bubbles:!0,composed:!0,detail:{src:this.src}}))}handlePause(){this.dispatchEvent(new CustomEvent("nr-video-pause",{bubbles:!0,composed:!0,detail:{src:this.src}}))}handleEnded(){this.dispatchEvent(new CustomEvent("nr-video-ended",{bubbles:!0,composed:!0,detail:{src:this.src}}))}showPreviewModal(){this.previewable&&!this.hasError&&(this.showPreview=!0,this.dispatchEvent(new CustomEvent("nr-video-preview-open",{bubbles:!0,composed:!0,detail:{src:this.src}})))}closePreviewModal(){this.showPreview=!1,this.dispatchEvent(new CustomEvent("nr-video-preview-close",{bubbles:!0,composed:!0,detail:{src:this.src}}))}render(){const e={"video-container":!0,"video--error":this.hasError},i={width:"number"==typeof this.width?`${this.width}px`:this.width,height:"number"==typeof this.height?`${this.height}px`:this.height};return this.hasError?t`
133
+ <div part="container" class=${n(e)}>
134
+ <div part="error-message" class="error-message">
125
135
  <img class="error-icon" src=${this.defaultFallback} alt="Video error" />
126
136
  <p>Unable to load video</p>
127
137
  </div>
128
138
  </div>
129
- `:o`
130
- <div class=${a(e)}>
139
+ `:t`
140
+ <div part="container" class=${n(e)}>
131
141
  <video
132
- style=${n(i)}
142
+ part="video"
143
+ style=${a(i)}
133
144
  ?autoplay=${this.autoplay}
134
145
  ?loop=${this.loop}
135
146
  ?muted=${this.muted}
@@ -144,8 +155,8 @@ import{css as e,LitElement as i,html as o}from"lit";import{property as r,state a
144
155
  <source src=${this.src} />
145
156
  Your browser does not support the video tag.
146
157
  </video>
147
- ${this.previewable?o`
148
- <button class="preview-button" @click=${this.showPreviewModal}>
158
+ ${this.previewable?t`
159
+ <button part="preview-button" class="preview-button" @click=${this.showPreviewModal}>
149
160
  <svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
150
161
  <path d="M5.5 5.5A.5.5 0 0 1 6 6v3a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v3a.5.5 0 0 0 1 0V6z"/>
151
162
  <path d="M2 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H2zM1 2a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2z"/>
@@ -153,9 +164,9 @@ import{css as e,LitElement as i,html as o}from"lit";import{property as r,state a
153
164
  Fullscreen
154
165
  </button>
155
166
  `:""}
156
- ${this.showPreview?o`
157
- <div class="preview-modal" @click=${this.closePreviewModal}>
158
- <button class="preview-close" @click=${this.closePreviewModal} aria-label="Close preview">×</button>
167
+ ${this.showPreview?t`
168
+ <div part="preview-modal" class="preview-modal" @click=${this.closePreviewModal}>
169
+ <button part="preview-close" class="preview-close" @click=${this.closePreviewModal} aria-label="Close preview">×</button>
159
170
  <video
160
171
  ?autoplay=${!0}
161
172
  ?loop=${this.loop}
@@ -168,4 +179,4 @@ import{css as e,LitElement as i,html as o}from"lit";import{property as r,state a
168
179
  </div>
169
180
  `:""}
170
181
  </div>
171
- `}};p.styles=l,v([r({type:String})],p.prototype,"src",void 0),v([r({type:String})],p.prototype,"poster",void 0),v([r({type:String})],p.prototype,"width",void 0),v([r({type:String})],p.prototype,"height",void 0),v([r({type:Boolean})],p.prototype,"autoplay",void 0),v([r({type:Boolean})],p.prototype,"loop",void 0),v([r({type:Boolean})],p.prototype,"muted",void 0),v([r({type:Boolean})],p.prototype,"controls",void 0),v([r({type:String})],p.prototype,"preload",void 0),v([r({type:Boolean})],p.prototype,"previewable",void 0),v([r({type:Boolean,reflect:!0})],p.prototype,"block",void 0),v([t()],p.prototype,"showPreview",void 0),v([t()],p.prototype,"hasError",void 0),p=v([s("nr-video")],p);export{p as NrVideoElement};
182
+ `}};w.styles=b,w.useShadowDom=!0,g([o({type:String})],w.prototype,"src",void 0),g([o({type:String})],w.prototype,"poster",void 0),g([o({type:String})],w.prototype,"width",void 0),g([o({type:String})],w.prototype,"height",void 0),g([o({type:Boolean})],w.prototype,"autoplay",void 0),g([o({type:Boolean})],w.prototype,"loop",void 0),g([o({type:Boolean})],w.prototype,"muted",void 0),g([o({type:Boolean})],w.prototype,"controls",void 0),g([o({type:String})],w.prototype,"preload",void 0),g([o({type:Boolean})],w.prototype,"previewable",void 0),g([o({type:Boolean,reflect:!0})],w.prototype,"block",void 0),g([s()],w.prototype,"showPreview",void 0),g([s()],w.prototype,"hasError",void 0),w=g([r("nr-video")],w);export{w as NrVideoElement};