pdm-ui-kit 0.1.3 → 0.1.5

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 (375) hide show
  1. package/package.json +20 -13
  2. package/dist/corelusa-pdm-ui-kit/README.md +0 -79
  3. package/dist/corelusa-pdm-ui-kit/esm2020/corelusa-pdm-ui-kit.mjs +0 -5
  4. package/dist/corelusa-pdm-ui-kit/esm2020/lib/components/field/field.component.mjs +0 -52
  5. package/dist/corelusa-pdm-ui-kit/esm2020/lib/components/input/input.component.mjs +0 -65
  6. package/dist/corelusa-pdm-ui-kit/esm2020/lib/components/input-group/input-group.component.mjs +0 -54
  7. package/dist/corelusa-pdm-ui-kit/esm2020/lib/components/input-password/input-password.component.mjs +0 -72
  8. package/dist/corelusa-pdm-ui-kit/fesm2015/corelusa-pdm-ui-kit.mjs +0 -2959
  9. package/dist/corelusa-pdm-ui-kit/fesm2015/corelusa-pdm-ui-kit.mjs.map +0 -1
  10. package/dist/corelusa-pdm-ui-kit/fesm2020/corelusa-pdm-ui-kit.mjs +0 -2954
  11. package/dist/corelusa-pdm-ui-kit/fesm2020/corelusa-pdm-ui-kit.mjs.map +0 -1
  12. package/dist/corelusa-pdm-ui-kit/index.d.ts +0 -5
  13. package/dist/corelusa-pdm-ui-kit/lib/components/field/field.component.d.ts +0 -18
  14. package/dist/corelusa-pdm-ui-kit/lib/components/input-group/input-group.component.d.ts +0 -19
  15. package/dist/corelusa-pdm-ui-kit/package.json +0 -47
  16. package/dist/pdm-ui-kit/README.md +0 -128
  17. package/dist/pdm-ui-kit/esm2020/lib/components/accordion/accordion.component.mjs +0 -42
  18. package/dist/pdm-ui-kit/esm2020/lib/components/alert/alert.component.mjs +0 -35
  19. package/dist/pdm-ui-kit/esm2020/lib/components/alert-dialog/alert-dialog.component.mjs +0 -69
  20. package/dist/pdm-ui-kit/esm2020/lib/components/aspect-ratio/aspect-ratio.component.mjs +0 -31
  21. package/dist/pdm-ui-kit/esm2020/lib/components/avatar/avatar.component.mjs +0 -46
  22. package/dist/pdm-ui-kit/esm2020/lib/components/badge/badge.component.mjs +0 -23
  23. package/dist/pdm-ui-kit/esm2020/lib/components/breadcrumb/breadcrumb.component.mjs +0 -29
  24. package/dist/pdm-ui-kit/esm2020/lib/components/button/button.component.mjs +0 -82
  25. package/dist/pdm-ui-kit/esm2020/lib/components/button-group/button-group.component.mjs +0 -23
  26. package/dist/pdm-ui-kit/esm2020/lib/components/calendar/calendar.component.mjs +0 -71
  27. package/dist/pdm-ui-kit/esm2020/lib/components/card/card.component.mjs +0 -65
  28. package/dist/pdm-ui-kit/esm2020/lib/components/carousel/carousel.component.mjs +0 -97
  29. package/dist/pdm-ui-kit/esm2020/lib/components/chart/chart.component.mjs +0 -174
  30. package/dist/pdm-ui-kit/esm2020/lib/components/checkbox/checkbox.component.mjs +0 -47
  31. package/dist/pdm-ui-kit/esm2020/lib/components/collapsible/collapsible.component.mjs +0 -43
  32. package/dist/pdm-ui-kit/esm2020/lib/components/combobox/combobox.component.mjs +0 -51
  33. package/dist/pdm-ui-kit/esm2020/lib/components/command/command.component.mjs +0 -75
  34. package/dist/pdm-ui-kit/esm2020/lib/components/context-menu/context-menu.component.mjs +0 -78
  35. package/dist/pdm-ui-kit/esm2020/lib/components/data-table/data-table.component.mjs +0 -89
  36. package/dist/pdm-ui-kit/esm2020/lib/components/date-picker/date-picker.component.mjs +0 -63
  37. package/dist/pdm-ui-kit/esm2020/lib/components/dialog/dialog.component.mjs +0 -90
  38. package/dist/pdm-ui-kit/esm2020/lib/components/drawer/drawer.component.mjs +0 -72
  39. package/dist/pdm-ui-kit/esm2020/lib/components/dropdown-menu/dropdown-menu.component.mjs +0 -120
  40. package/dist/pdm-ui-kit/esm2020/lib/components/empty/empty.component.mjs +0 -58
  41. package/dist/pdm-ui-kit/esm2020/lib/components/hover-card/hover-card.component.mjs +0 -44
  42. package/dist/pdm-ui-kit/esm2020/lib/components/icon/icon.component.mjs +0 -94
  43. package/dist/pdm-ui-kit/esm2020/lib/components/input-otp/input-otp.component.mjs +0 -140
  44. package/dist/pdm-ui-kit/esm2020/lib/components/item/item.component.mjs +0 -23
  45. package/dist/pdm-ui-kit/esm2020/lib/components/kbd/kbd.component.mjs +0 -17
  46. package/dist/pdm-ui-kit/esm2020/lib/components/label/label.component.mjs +0 -23
  47. package/dist/pdm-ui-kit/esm2020/lib/components/menubar/menubar.component.mjs +0 -31
  48. package/dist/pdm-ui-kit/esm2020/lib/components/native-select/native-select.component.mjs +0 -42
  49. package/dist/pdm-ui-kit/esm2020/lib/components/navigation-menu/navigation-menu.component.mjs +0 -20
  50. package/dist/pdm-ui-kit/esm2020/lib/components/pagination/pagination.component.mjs +0 -47
  51. package/dist/pdm-ui-kit/esm2020/lib/components/popover/popover.component.mjs +0 -58
  52. package/dist/pdm-ui-kit/esm2020/lib/components/progress/progress.component.mjs +0 -33
  53. package/dist/pdm-ui-kit/esm2020/lib/components/radio-group/radio-group.component.mjs +0 -38
  54. package/dist/pdm-ui-kit/esm2020/lib/components/scroll-area/scroll-area.component.mjs +0 -20
  55. package/dist/pdm-ui-kit/esm2020/lib/components/select/select.component.mjs +0 -38
  56. package/dist/pdm-ui-kit/esm2020/lib/components/separator/separator.component.mjs +0 -26
  57. package/dist/pdm-ui-kit/esm2020/lib/components/sheet/sheet.component.mjs +0 -39
  58. package/dist/pdm-ui-kit/esm2020/lib/components/sidebar/sidebar.component.mjs +0 -20
  59. package/dist/pdm-ui-kit/esm2020/lib/components/skeleton/skeleton.component.mjs +0 -17
  60. package/dist/pdm-ui-kit/esm2020/lib/components/slider/slider.component.mjs +0 -46
  61. package/dist/pdm-ui-kit/esm2020/lib/components/sonner/sonner.component.mjs +0 -39
  62. package/dist/pdm-ui-kit/esm2020/lib/components/spinner/spinner.component.mjs +0 -20
  63. package/dist/pdm-ui-kit/esm2020/lib/components/switch/switch.component.mjs +0 -35
  64. package/dist/pdm-ui-kit/esm2020/lib/components/table/table.component.mjs +0 -17
  65. package/dist/pdm-ui-kit/esm2020/lib/components/tabs/tabs.component.mjs +0 -31
  66. package/dist/pdm-ui-kit/esm2020/lib/components/textarea/textarea.component.mjs +0 -59
  67. package/dist/pdm-ui-kit/esm2020/lib/components/toggle/toggle.component.mjs +0 -41
  68. package/dist/pdm-ui-kit/esm2020/lib/components/toggle-group/toggle-group.component.mjs +0 -31
  69. package/dist/pdm-ui-kit/esm2020/lib/components/tooltip/tooltip.component.mjs +0 -33
  70. package/dist/pdm-ui-kit/esm2020/lib/pdm-ui-kit.module.mjs +0 -245
  71. package/dist/pdm-ui-kit/esm2020/public-api.mjs +0 -59
  72. package/dist/pdm-ui-kit/lib/components/accordion/accordion.component.d.ts +0 -19
  73. package/dist/pdm-ui-kit/lib/components/alert/alert.component.d.ts +0 -13
  74. package/dist/pdm-ui-kit/lib/components/alert-dialog/alert-dialog.component.d.ts +0 -21
  75. package/dist/pdm-ui-kit/lib/components/aspect-ratio/aspect-ratio.component.d.ts +0 -10
  76. package/dist/pdm-ui-kit/lib/components/avatar/avatar.component.d.ts +0 -20
  77. package/dist/pdm-ui-kit/lib/components/badge/badge.component.d.ts +0 -9
  78. package/dist/pdm-ui-kit/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -10
  79. package/dist/pdm-ui-kit/lib/components/button/button.component.d.ts +0 -24
  80. package/dist/pdm-ui-kit/lib/components/button-group/button-group.component.d.ts +0 -9
  81. package/dist/pdm-ui-kit/lib/components/calendar/calendar.component.d.ts +0 -28
  82. package/dist/pdm-ui-kit/lib/components/card/card.component.d.ts +0 -24
  83. package/dist/pdm-ui-kit/lib/components/carousel/carousel.component.d.ts +0 -25
  84. package/dist/pdm-ui-kit/lib/components/chart/chart.component.d.ts +0 -41
  85. package/dist/pdm-ui-kit/lib/components/checkbox/checkbox.component.d.ts +0 -17
  86. package/dist/pdm-ui-kit/lib/components/collapsible/collapsible.component.d.ts +0 -14
  87. package/dist/pdm-ui-kit/lib/components/combobox/combobox.component.d.ts +0 -18
  88. package/dist/pdm-ui-kit/lib/components/command/command.component.d.ts +0 -33
  89. package/dist/pdm-ui-kit/lib/components/context-menu/context-menu.component.d.ts +0 -26
  90. package/dist/pdm-ui-kit/lib/components/data-table/data-table.component.d.ts +0 -36
  91. package/dist/pdm-ui-kit/lib/components/date-picker/date-picker.component.d.ts +0 -23
  92. package/dist/pdm-ui-kit/lib/components/dialog/dialog.component.d.ts +0 -30
  93. package/dist/pdm-ui-kit/lib/components/drawer/drawer.component.d.ts +0 -27
  94. package/dist/pdm-ui-kit/lib/components/dropdown-menu/dropdown-menu.component.d.ts +0 -34
  95. package/dist/pdm-ui-kit/lib/components/empty/empty.component.d.ts +0 -19
  96. package/dist/pdm-ui-kit/lib/components/hover-card/hover-card.component.d.ts +0 -14
  97. package/dist/pdm-ui-kit/lib/components/icon/icon.component.d.ts +0 -18
  98. package/dist/pdm-ui-kit/lib/components/input/input.component.d.ts +0 -23
  99. package/dist/pdm-ui-kit/lib/components/input-otp/input-otp.component.d.ts +0 -26
  100. package/dist/pdm-ui-kit/lib/components/input-password/input-password.component.d.ts +0 -25
  101. package/dist/pdm-ui-kit/lib/components/item/item.component.d.ts +0 -8
  102. package/dist/pdm-ui-kit/lib/components/kbd/kbd.component.d.ts +0 -6
  103. package/dist/pdm-ui-kit/lib/components/label/label.component.d.ts +0 -8
  104. package/dist/pdm-ui-kit/lib/components/menubar/menubar.component.d.ts +0 -17
  105. package/dist/pdm-ui-kit/lib/components/native-select/native-select.component.d.ts +0 -20
  106. package/dist/pdm-ui-kit/lib/components/navigation-menu/navigation-menu.component.d.ts +0 -12
  107. package/dist/pdm-ui-kit/lib/components/pagination/pagination.component.d.ts +0 -13
  108. package/dist/pdm-ui-kit/lib/components/popover/popover.component.d.ts +0 -17
  109. package/dist/pdm-ui-kit/lib/components/progress/progress.component.d.ts +0 -10
  110. package/dist/pdm-ui-kit/lib/components/radio-group/radio-group.component.d.ts +0 -19
  111. package/dist/pdm-ui-kit/lib/components/scroll-area/scroll-area.component.d.ts +0 -7
  112. package/dist/pdm-ui-kit/lib/components/select/select.component.d.ts +0 -19
  113. package/dist/pdm-ui-kit/lib/components/separator/separator.component.d.ts +0 -9
  114. package/dist/pdm-ui-kit/lib/components/sheet/sheet.component.d.ts +0 -13
  115. package/dist/pdm-ui-kit/lib/components/sidebar/sidebar.component.d.ts +0 -7
  116. package/dist/pdm-ui-kit/lib/components/skeleton/skeleton.component.d.ts +0 -6
  117. package/dist/pdm-ui-kit/lib/components/slider/slider.component.d.ts +0 -15
  118. package/dist/pdm-ui-kit/lib/components/sonner/sonner.component.d.ts +0 -13
  119. package/dist/pdm-ui-kit/lib/components/spinner/spinner.component.d.ts +0 -7
  120. package/dist/pdm-ui-kit/lib/components/switch/switch.component.d.ts +0 -13
  121. package/dist/pdm-ui-kit/lib/components/table/table.component.d.ts +0 -6
  122. package/dist/pdm-ui-kit/lib/components/tabs/tabs.component.d.ts +0 -16
  123. package/dist/pdm-ui-kit/lib/components/textarea/textarea.component.d.ts +0 -21
  124. package/dist/pdm-ui-kit/lib/components/toggle/toggle.component.d.ts +0 -14
  125. package/dist/pdm-ui-kit/lib/components/toggle-group/toggle-group.component.d.ts +0 -16
  126. package/dist/pdm-ui-kit/lib/components/tooltip/tooltip.component.d.ts +0 -10
  127. package/dist/pdm-ui-kit/lib/pdm-ui-kit.module.d.ts +0 -64
  128. package/dist/pdm-ui-kit/package.json +0 -44
  129. package/dist/pdm-ui-kit/public-api.d.ts +0 -58
  130. package/ng-package.json +0 -8
  131. package/pdm-ui-kit-0.1.1.tgz +0 -0
  132. package/pdm-ui-kit-0.1.2.tgz +0 -0
  133. package/pdm-ui-kit-0.1.3.tgz +0 -0
  134. package/src/lib/components/accordion/accordion.component.html +0 -34
  135. package/src/lib/components/accordion/accordion.component.ts +0 -38
  136. package/src/lib/components/alert/alert.component.html +0 -52
  137. package/src/lib/components/alert/alert.component.ts +0 -25
  138. package/src/lib/components/alert-dialog/alert-dialog.component.html +0 -41
  139. package/src/lib/components/alert-dialog/alert-dialog.component.ts +0 -45
  140. package/src/lib/components/aspect-ratio/aspect-ratio.component.html +0 -11
  141. package/src/lib/components/aspect-ratio/aspect-ratio.component.ts +0 -18
  142. package/src/lib/components/avatar/avatar.component.html +0 -21
  143. package/src/lib/components/avatar/avatar.component.ts +0 -32
  144. package/src/lib/components/badge/badge.component.html +0 -28
  145. package/src/lib/components/badge/badge.component.ts +0 -23
  146. package/src/lib/components/breadcrumb/breadcrumb.component.html +0 -39
  147. package/src/lib/components/breadcrumb/breadcrumb.component.ts +0 -26
  148. package/src/lib/components/button/button.component.html +0 -15
  149. package/src/lib/components/button/button.component.ts +0 -84
  150. package/src/lib/components/button-group/button-group.component.html +0 -39
  151. package/src/lib/components/button-group/button-group.component.ts +0 -15
  152. package/src/lib/components/calendar/calendar.component.html +0 -73
  153. package/src/lib/components/calendar/calendar.component.ts +0 -78
  154. package/src/lib/components/card/card.component.html +0 -77
  155. package/src/lib/components/card/card.component.ts +0 -39
  156. package/src/lib/components/carousel/carousel.component.html +0 -86
  157. package/src/lib/components/carousel/carousel.component.ts +0 -100
  158. package/src/lib/components/chart/chart.component.html +0 -143
  159. package/src/lib/components/chart/chart.component.ts +0 -147
  160. package/src/lib/components/checkbox/checkbox.component.html +0 -38
  161. package/src/lib/components/checkbox/checkbox.component.ts +0 -32
  162. package/src/lib/components/collapsible/collapsible.component.html +0 -26
  163. package/src/lib/components/collapsible/collapsible.component.ts +0 -29
  164. package/src/lib/components/combobox/combobox.component.html +0 -42
  165. package/src/lib/components/combobox/combobox.component.ts +0 -32
  166. package/src/lib/components/command/command.component.html +0 -55
  167. package/src/lib/components/command/command.component.ts +0 -67
  168. package/src/lib/components/context-menu/context-menu.component.html +0 -47
  169. package/src/lib/components/context-menu/context-menu.component.ts +0 -67
  170. package/src/lib/components/data-table/data-table.component.html +0 -63
  171. package/src/lib/components/data-table/data-table.component.ts +0 -78
  172. package/src/lib/components/date-picker/date-picker.component.html +0 -38
  173. package/src/lib/components/date-picker/date-picker.component.ts +0 -38
  174. package/src/lib/components/dialog/dialog.component.html +0 -78
  175. package/src/lib/components/dialog/dialog.component.ts +0 -55
  176. package/src/lib/components/drawer/drawer.component.html +0 -56
  177. package/src/lib/components/drawer/drawer.component.ts +0 -43
  178. package/src/lib/components/dropdown-menu/dropdown-menu.component.html +0 -56
  179. package/src/lib/components/dropdown-menu/dropdown-menu.component.ts +0 -126
  180. package/src/lib/components/empty/empty.component.html +0 -29
  181. package/src/lib/components/empty/empty.component.ts +0 -35
  182. package/src/lib/components/field/field.component.html +0 -26
  183. package/src/lib/components/field/field.component.ts +0 -42
  184. package/src/lib/components/hover-card/hover-card.component.html +0 -24
  185. package/src/lib/components/hover-card/hover-card.component.ts +0 -36
  186. package/src/lib/components/icon/icon.component.html +0 -286
  187. package/src/lib/components/icon/icon.component.ts +0 -133
  188. package/src/lib/components/input/input.component.html +0 -25
  189. package/src/lib/components/input/input.component.ts +0 -33
  190. package/src/lib/components/input-group/input-group.component.html +0 -59
  191. package/src/lib/components/input-group/input-group.component.ts +0 -32
  192. package/src/lib/components/input-otp/input-otp.component.html +0 -25
  193. package/src/lib/components/input-otp/input-otp.component.ts +0 -146
  194. package/src/lib/components/input-password/input-password.component.html +0 -66
  195. package/src/lib/components/input-password/input-password.component.ts +0 -46
  196. package/src/lib/components/item/item.component.html +0 -10
  197. package/src/lib/components/item/item.component.ts +0 -12
  198. package/src/lib/components/kbd/kbd.component.html +0 -3
  199. package/src/lib/components/kbd/kbd.component.ts +0 -10
  200. package/src/lib/components/label/label.component.html +0 -7
  201. package/src/lib/components/label/label.component.ts +0 -12
  202. package/src/lib/components/menubar/menubar.component.html +0 -16
  203. package/src/lib/components/menubar/menubar.component.ts +0 -29
  204. package/src/lib/components/native-select/native-select.component.html +0 -17
  205. package/src/lib/components/native-select/native-select.component.ts +0 -28
  206. package/src/lib/components/navigation-menu/navigation-menu.component.html +0 -15
  207. package/src/lib/components/navigation-menu/navigation-menu.component.ts +0 -17
  208. package/src/lib/components/pagination/pagination.component.html +0 -30
  209. package/src/lib/components/pagination/pagination.component.ts +0 -37
  210. package/src/lib/components/popover/popover.component.html +0 -6
  211. package/src/lib/components/popover/popover.component.ts +0 -40
  212. package/src/lib/components/progress/progress.component.html +0 -9
  213. package/src/lib/components/progress/progress.component.ts +0 -20
  214. package/src/lib/components/radio-group/radio-group.component.html +0 -25
  215. package/src/lib/components/radio-group/radio-group.component.ts +0 -30
  216. package/src/lib/components/scroll-area/scroll-area.component.html +0 -5
  217. package/src/lib/components/scroll-area/scroll-area.component.ts +0 -11
  218. package/src/lib/components/select/select.component.html +0 -14
  219. package/src/lib/components/select/select.component.ts +0 -27
  220. package/src/lib/components/separator/separator.component.html +0 -5
  221. package/src/lib/components/separator/separator.component.ts +0 -16
  222. package/src/lib/components/sheet/sheet.component.html +0 -10
  223. package/src/lib/components/sheet/sheet.component.ts +0 -28
  224. package/src/lib/components/sidebar/sidebar.component.html +0 -3
  225. package/src/lib/components/sidebar/sidebar.component.ts +0 -11
  226. package/src/lib/components/skeleton/skeleton.component.html +0 -1
  227. package/src/lib/components/skeleton/skeleton.component.ts +0 -10
  228. package/src/lib/components/slider/slider.component.html +0 -15
  229. package/src/lib/components/slider/slider.component.ts +0 -31
  230. package/src/lib/components/sonner/sonner.component.html +0 -10
  231. package/src/lib/components/sonner/sonner.component.ts +0 -25
  232. package/src/lib/components/spinner/spinner.component.html +0 -6
  233. package/src/lib/components/spinner/spinner.component.ts +0 -11
  234. package/src/lib/components/switch/switch.component.html +0 -14
  235. package/src/lib/components/switch/switch.component.ts +0 -20
  236. package/src/lib/components/table/table.component.html +0 -5
  237. package/src/lib/components/table/table.component.ts +0 -10
  238. package/src/lib/components/tabs/tabs.component.html +0 -21
  239. package/src/lib/components/tabs/tabs.component.ts +0 -26
  240. package/src/lib/components/textarea/textarea.component.html +0 -21
  241. package/src/lib/components/textarea/textarea.component.ts +0 -28
  242. package/src/lib/components/toggle/toggle.component.html +0 -16
  243. package/src/lib/components/toggle/toggle.component.ts +0 -29
  244. package/src/lib/components/toggle-group/toggle-group.component.html +0 -17
  245. package/src/lib/components/toggle-group/toggle-group.component.ts +0 -26
  246. package/src/lib/components/tooltip/tooltip.component.html +0 -6
  247. package/src/lib/components/tooltip/tooltip.component.ts +0 -20
  248. package/src/lib/pdm-ui-kit.module.ts +0 -126
  249. package/src/public-api.ts +0 -58
  250. package/tsconfig.json +0 -30
  251. package/tsconfig.lib.json +0 -17
  252. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/accordion/accordion.component.mjs +0 -0
  253. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/alert/alert.component.mjs +0 -0
  254. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/alert-dialog/alert-dialog.component.mjs +0 -0
  255. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/aspect-ratio/aspect-ratio.component.mjs +0 -0
  256. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/avatar/avatar.component.mjs +0 -0
  257. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/badge/badge.component.mjs +0 -0
  258. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/breadcrumb/breadcrumb.component.mjs +0 -0
  259. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/button/button.component.mjs +0 -0
  260. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/button-group/button-group.component.mjs +0 -0
  261. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/calendar/calendar.component.mjs +0 -0
  262. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/card/card.component.mjs +0 -0
  263. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/carousel/carousel.component.mjs +0 -0
  264. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/chart/chart.component.mjs +0 -0
  265. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/checkbox/checkbox.component.mjs +0 -0
  266. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/collapsible/collapsible.component.mjs +0 -0
  267. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/combobox/combobox.component.mjs +0 -0
  268. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/command/command.component.mjs +0 -0
  269. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/context-menu/context-menu.component.mjs +0 -0
  270. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/data-table/data-table.component.mjs +0 -0
  271. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/date-picker/date-picker.component.mjs +0 -0
  272. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/dialog/dialog.component.mjs +0 -0
  273. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/drawer/drawer.component.mjs +0 -0
  274. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/dropdown-menu/dropdown-menu.component.mjs +0 -0
  275. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/empty/empty.component.mjs +0 -0
  276. /package/{dist/pdm-ui-kit/esm2020 → esm2020}/lib/components/field/field.component.mjs +0 -0
  277. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/hover-card/hover-card.component.mjs +0 -0
  278. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/icon/icon.component.mjs +0 -0
  279. /package/{dist/pdm-ui-kit/esm2020 → esm2020}/lib/components/input/input.component.mjs +0 -0
  280. /package/{dist/pdm-ui-kit/esm2020 → esm2020}/lib/components/input-group/input-group.component.mjs +0 -0
  281. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/input-otp/input-otp.component.mjs +0 -0
  282. /package/{dist/pdm-ui-kit/esm2020 → esm2020}/lib/components/input-password/input-password.component.mjs +0 -0
  283. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/item/item.component.mjs +0 -0
  284. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/kbd/kbd.component.mjs +0 -0
  285. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/label/label.component.mjs +0 -0
  286. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/menubar/menubar.component.mjs +0 -0
  287. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/native-select/native-select.component.mjs +0 -0
  288. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/navigation-menu/navigation-menu.component.mjs +0 -0
  289. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/pagination/pagination.component.mjs +0 -0
  290. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/popover/popover.component.mjs +0 -0
  291. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/progress/progress.component.mjs +0 -0
  292. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/radio-group/radio-group.component.mjs +0 -0
  293. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/scroll-area/scroll-area.component.mjs +0 -0
  294. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/select/select.component.mjs +0 -0
  295. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/separator/separator.component.mjs +0 -0
  296. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/sheet/sheet.component.mjs +0 -0
  297. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/sidebar/sidebar.component.mjs +0 -0
  298. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/skeleton/skeleton.component.mjs +0 -0
  299. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/slider/slider.component.mjs +0 -0
  300. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/sonner/sonner.component.mjs +0 -0
  301. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/spinner/spinner.component.mjs +0 -0
  302. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/switch/switch.component.mjs +0 -0
  303. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/table/table.component.mjs +0 -0
  304. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/tabs/tabs.component.mjs +0 -0
  305. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/textarea/textarea.component.mjs +0 -0
  306. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/toggle/toggle.component.mjs +0 -0
  307. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/toggle-group/toggle-group.component.mjs +0 -0
  308. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/tooltip/tooltip.component.mjs +0 -0
  309. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/pdm-ui-kit.module.mjs +0 -0
  310. /package/{dist/pdm-ui-kit/esm2020 → esm2020}/pdm-ui-kit.mjs +0 -0
  311. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/public-api.mjs +0 -0
  312. /package/{dist/pdm-ui-kit/fesm2015 → fesm2015}/pdm-ui-kit.mjs +0 -0
  313. /package/{dist/pdm-ui-kit/fesm2015 → fesm2015}/pdm-ui-kit.mjs.map +0 -0
  314. /package/{dist/pdm-ui-kit/fesm2020 → fesm2020}/pdm-ui-kit.mjs +0 -0
  315. /package/{dist/pdm-ui-kit/fesm2020 → fesm2020}/pdm-ui-kit.mjs.map +0 -0
  316. /package/{dist/pdm-ui-kit/index.d.ts → index.d.ts} +0 -0
  317. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/accordion/accordion.component.d.ts +0 -0
  318. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/alert/alert.component.d.ts +0 -0
  319. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/alert-dialog/alert-dialog.component.d.ts +0 -0
  320. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/aspect-ratio/aspect-ratio.component.d.ts +0 -0
  321. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/avatar/avatar.component.d.ts +0 -0
  322. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/badge/badge.component.d.ts +0 -0
  323. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/breadcrumb/breadcrumb.component.d.ts +0 -0
  324. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/button/button.component.d.ts +0 -0
  325. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/button-group/button-group.component.d.ts +0 -0
  326. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/calendar/calendar.component.d.ts +0 -0
  327. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/card/card.component.d.ts +0 -0
  328. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/carousel/carousel.component.d.ts +0 -0
  329. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/chart/chart.component.d.ts +0 -0
  330. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/checkbox/checkbox.component.d.ts +0 -0
  331. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/collapsible/collapsible.component.d.ts +0 -0
  332. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/combobox/combobox.component.d.ts +0 -0
  333. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/command/command.component.d.ts +0 -0
  334. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/context-menu/context-menu.component.d.ts +0 -0
  335. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/data-table/data-table.component.d.ts +0 -0
  336. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/date-picker/date-picker.component.d.ts +0 -0
  337. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/dialog/dialog.component.d.ts +0 -0
  338. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/drawer/drawer.component.d.ts +0 -0
  339. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/dropdown-menu/dropdown-menu.component.d.ts +0 -0
  340. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/empty/empty.component.d.ts +0 -0
  341. /package/{dist/pdm-ui-kit/lib → lib}/components/field/field.component.d.ts +0 -0
  342. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/hover-card/hover-card.component.d.ts +0 -0
  343. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/icon/icon.component.d.ts +0 -0
  344. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/input/input.component.d.ts +0 -0
  345. /package/{dist/pdm-ui-kit/lib → lib}/components/input-group/input-group.component.d.ts +0 -0
  346. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/input-otp/input-otp.component.d.ts +0 -0
  347. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/input-password/input-password.component.d.ts +0 -0
  348. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/item/item.component.d.ts +0 -0
  349. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/kbd/kbd.component.d.ts +0 -0
  350. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/label/label.component.d.ts +0 -0
  351. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/menubar/menubar.component.d.ts +0 -0
  352. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/native-select/native-select.component.d.ts +0 -0
  353. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/navigation-menu/navigation-menu.component.d.ts +0 -0
  354. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/pagination/pagination.component.d.ts +0 -0
  355. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/popover/popover.component.d.ts +0 -0
  356. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/progress/progress.component.d.ts +0 -0
  357. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/radio-group/radio-group.component.d.ts +0 -0
  358. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/scroll-area/scroll-area.component.d.ts +0 -0
  359. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/select/select.component.d.ts +0 -0
  360. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/separator/separator.component.d.ts +0 -0
  361. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/sheet/sheet.component.d.ts +0 -0
  362. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/sidebar/sidebar.component.d.ts +0 -0
  363. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/skeleton/skeleton.component.d.ts +0 -0
  364. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/slider/slider.component.d.ts +0 -0
  365. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/sonner/sonner.component.d.ts +0 -0
  366. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/spinner/spinner.component.d.ts +0 -0
  367. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/switch/switch.component.d.ts +0 -0
  368. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/table/table.component.d.ts +0 -0
  369. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/tabs/tabs.component.d.ts +0 -0
  370. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/textarea/textarea.component.d.ts +0 -0
  371. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/toggle/toggle.component.d.ts +0 -0
  372. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/toggle-group/toggle-group.component.d.ts +0 -0
  373. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/tooltip/tooltip.component.d.ts +0 -0
  374. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/pdm-ui-kit.module.d.ts +0 -0
  375. /package/{dist/corelusa-pdm-ui-kit/public-api.d.ts → public-api.d.ts} +0 -0
@@ -1,5 +0,0 @@
1
- <div [style.maxHeight]="maxHeight" [ngClass]="['relative overflow-auto rounded-[var(--radius)] border border-[hsl(var(--border))]', className]">
2
- <div class="p-3">
3
- <ng-content></ng-content>
4
- </div>
5
- </div>
@@ -1,11 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'pdm-scroll-area',
5
- templateUrl: './scroll-area.component.html',
6
- changeDetection: ChangeDetectionStrategy.OnPush
7
- })
8
- export class PdmScrollAreaComponent {
9
- @Input() maxHeight = '16rem';
10
- @Input() className = '';
11
- }
@@ -1,14 +0,0 @@
1
- <select
2
- [id]="id"
3
- [value]="value"
4
- [disabled]="disabled"
5
- [attr.aria-invalid]="invalid"
6
- [ngClass]="[
7
- 'flex h-9 w-full rounded-[8px] border bg-[hsl(var(--background))] px-3 py-2 text-sm leading-5 text-[hsl(var(--foreground))] shadow-[0_1px_2px_rgba(0,0,0,0.1)] ring-offset-[hsl(var(--background))] focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[hsl(var(--foreground))] disabled:cursor-not-allowed disabled:opacity-50',
8
- invalid ? 'border-[hsl(var(--destructive))]' : 'border-[hsl(var(--input))]',
9
- className
10
- ]"
11
- (change)="onChange($event)"
12
- >
13
- <option *ngFor="let option of options" [value]="option.value" [disabled]="option.disabled">{{ option.label }}</option>
14
- </select>
@@ -1,27 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
2
-
3
- export interface PdmSelectOption {
4
- label: string;
5
- value: string;
6
- disabled?: boolean;
7
- }
8
-
9
- @Component({
10
- selector: 'pdm-select',
11
- templateUrl: './select.component.html',
12
- changeDetection: ChangeDetectionStrategy.OnPush
13
- })
14
- export class PdmSelectComponent {
15
- @Input() id = '';
16
- @Input() value = '';
17
- @Input() options: PdmSelectOption[] = [];
18
- @Input() disabled = false;
19
- @Input() invalid = false;
20
- @Input() className = '';
21
-
22
- @Output() valueChange = new EventEmitter<string>();
23
-
24
- onChange(event: Event): void {
25
- this.valueChange.emit((event.target as HTMLSelectElement).value);
26
- }
27
- }
@@ -1,5 +0,0 @@
1
- <div
2
- [attr.role]="decorative ? 'none' : 'separator'"
3
- [attr.aria-orientation]="orientation"
4
- [ngClass]="['shrink-0 bg-[hsl(var(--border))]', orientationClass, className]"
5
- ></div>
@@ -1,16 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'pdm-separator',
5
- templateUrl: './separator.component.html',
6
- changeDetection: ChangeDetectionStrategy.OnPush
7
- })
8
- export class PdmSeparatorComponent {
9
- @Input() orientation: 'horizontal' | 'vertical' = 'horizontal';
10
- @Input() decorative = true;
11
- @Input() className = '';
12
-
13
- get orientationClass(): string {
14
- return this.orientation === 'vertical' ? 'h-full w-px' : 'h-px w-full';
15
- }
16
- }
@@ -1,10 +0,0 @@
1
- <div *ngIf="open" class="fixed inset-0 z-50">
2
- <button type="button" class="absolute inset-0 bg-black/55" aria-label="Close sheet" (click)="close()"></button>
3
-
4
- <section [ngClass]="['absolute bg-[hsl(var(--background))] border-[hsl(var(--border))] p-6 shadow-[0_4px_6px_rgba(0,0,0,0.09)]', panelClass, className]" role="dialog" aria-modal="true">
5
- <button type="button" class="absolute right-3 top-3 rounded-sm opacity-70 transition-opacity hover:opacity-100" (click)="close()">
6
- <pdm-icon name="x" [size]="16"></pdm-icon>
7
- </button>
8
- <ng-content></ng-content>
9
- </section>
10
- </div>
@@ -1,28 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
2
-
3
- export type PdmSheetSide = 'top' | 'right' | 'bottom' | 'left';
4
-
5
- @Component({
6
- selector: 'pdm-sheet',
7
- templateUrl: './sheet.component.html',
8
- changeDetection: ChangeDetectionStrategy.OnPush
9
- })
10
- export class PdmSheetComponent {
11
- @Input() open = false;
12
- @Input() side: PdmSheetSide = 'right';
13
- @Input() className = '';
14
-
15
- @Output() openChange = new EventEmitter<boolean>();
16
-
17
- close(): void {
18
- this.openChange.emit(false);
19
- }
20
-
21
- get panelClass(): string {
22
- if (this.side === 'left') return 'left-0 top-0 h-full w-full max-w-[360px] border-r';
23
- if (this.side === 'top') return 'top-0 left-0 w-full border-b';
24
- if (this.side === 'bottom') return 'bottom-0 left-0 w-full border-t';
25
-
26
- return 'right-0 top-0 h-full w-full max-w-[360px] border-l';
27
- }
28
- }
@@ -1,3 +0,0 @@
1
- <aside [ngClass]="['h-full border-r border-[hsl(var(--border))] bg-[hsl(var(--background))] transition-all', collapsed ? 'w-14' : 'w-64', className]">
2
- <ng-content></ng-content>
3
- </aside>
@@ -1,11 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'pdm-sidebar',
5
- templateUrl: './sidebar.component.html',
6
- changeDetection: ChangeDetectionStrategy.OnPush
7
- })
8
- export class PdmSidebarComponent {
9
- @Input() collapsed = false;
10
- @Input() className = '';
11
- }
@@ -1 +0,0 @@
1
- <div [ngClass]="['animate-pulse rounded-md bg-[hsl(var(--muted))]', className]"></div>
@@ -1,10 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'pdm-skeleton',
5
- templateUrl: './skeleton.component.html',
6
- changeDetection: ChangeDetectionStrategy.OnPush
7
- })
8
- export class PdmSkeletonComponent {
9
- @Input() className = '';
10
- }
@@ -1,15 +0,0 @@
1
- <div [ngClass]="['relative h-5 w-full', className]">
2
- <div class="absolute left-0 right-0 top-1/2 h-1 -translate-y-1/2 rounded-full bg-[hsl(var(--muted))]"></div>
3
- <div class="absolute left-0 top-1/2 h-1 -translate-y-1/2 rounded-full bg-[hsl(var(--foreground))]" [style.width.%]="percentage"></div>
4
- <div class="absolute top-1/2 h-4 w-4 -translate-x-1/2 -translate-y-1/2 rounded-full border border-[hsl(var(--foreground))] bg-[hsl(var(--background))] shadow-[0_1px_2px_rgba(0,0,0,0.1)]" [style.left.%]="percentage"></div>
5
- <input
6
- type="range"
7
- [min]="min"
8
- [max]="max"
9
- [step]="step"
10
- [value]="value"
11
- [disabled]="disabled"
12
- class="absolute inset-0 h-full w-full cursor-pointer opacity-0 disabled:cursor-not-allowed"
13
- (input)="onInput($event)"
14
- />
15
- </div>
@@ -1,31 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'pdm-slider',
5
- templateUrl: './slider.component.html',
6
- changeDetection: ChangeDetectionStrategy.OnPush
7
- })
8
- export class PdmSliderComponent {
9
- @Input() min = 0;
10
- @Input() max = 100;
11
- @Input() step = 1;
12
- @Input() value = 0;
13
- @Input() disabled = false;
14
- @Input() className = '';
15
-
16
- @Output() valueChange = new EventEmitter<number>();
17
-
18
- get percentage(): number {
19
- const safeRange = this.max - this.min;
20
- if (safeRange <= 0) {
21
- return 0;
22
- }
23
-
24
- const bounded = Math.min(this.max, Math.max(this.min, this.value));
25
- return ((bounded - this.min) / safeRange) * 100;
26
- }
27
-
28
- onInput(event: Event): void {
29
- this.valueChange.emit(Number((event.target as HTMLInputElement).value));
30
- }
31
- }
@@ -1,10 +0,0 @@
1
- <div [ngClass]="['flex w-full max-w-sm items-start gap-3 rounded-lg border p-4 shadow-lg', toneClass, className]" role="status" aria-live="polite">
2
- <div class="grid gap-0.5">
3
- <p *ngIf="title" class="text-sm font-semibold">{{ title }}</p>
4
- <p *ngIf="description" class="text-sm opacity-90">{{ description }}</p>
5
- <ng-content></ng-content>
6
- </div>
7
- <button type="button" class="ml-auto rounded-sm opacity-70 transition-opacity hover:opacity-100" (click)="dismissed.emit()" aria-label="Dismiss">
8
- <pdm-icon name="x" [size]="14"></pdm-icon>
9
- </button>
10
- </div>
@@ -1,25 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
2
-
3
- export type PdmToastTone = 'default' | 'success' | 'error' | 'warning';
4
-
5
- @Component({
6
- selector: 'pdm-sonner',
7
- templateUrl: './sonner.component.html',
8
- changeDetection: ChangeDetectionStrategy.OnPush
9
- })
10
- export class PdmSonnerComponent {
11
- @Input() title = '';
12
- @Input() description = '';
13
- @Input() tone: PdmToastTone = 'default';
14
- @Input() className = '';
15
-
16
- @Output() dismissed = new EventEmitter<void>();
17
-
18
- get toneClass(): string {
19
- if (this.tone === 'success') return 'border-emerald-200 bg-emerald-50 text-emerald-900';
20
- if (this.tone === 'error') return 'border-red-200 bg-red-50 text-red-900';
21
- if (this.tone === 'warning') return 'border-amber-200 bg-amber-50 text-amber-900';
22
-
23
- return 'border-[hsl(var(--border))] bg-[hsl(var(--background))] text-[hsl(var(--foreground))]';
24
- }
25
- }
@@ -1,6 +0,0 @@
1
- <span
2
- [style.width.px]="size"
3
- [style.height.px]="size"
4
- [ngClass]="['inline-block animate-spin rounded-full border-2 border-current border-r-transparent', className]"
5
- aria-hidden="true"
6
- ></span>
@@ -1,11 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'pdm-spinner',
5
- templateUrl: './spinner.component.html',
6
- changeDetection: ChangeDetectionStrategy.OnPush
7
- })
8
- export class PdmSpinnerComponent {
9
- @Input() size = 16;
10
- @Input() className = '';
11
- }
@@ -1,14 +0,0 @@
1
- <label [attr.for]="id" [ngClass]="['inline-flex items-center gap-2', className]">
2
- <input
3
- [id]="id"
4
- type="checkbox"
5
- class="peer sr-only"
6
- [checked]="checked"
7
- [disabled]="disabled"
8
- (change)="onToggle($event)"
9
- />
10
- <span class="relative inline-flex h-6 w-11 items-center rounded-full border border-transparent bg-[hsl(var(--muted))] transition-colors peer-focus-visible:ring-1 peer-focus-visible:ring-[hsl(var(--foreground))] peer-disabled:opacity-50 peer-checked:bg-[hsl(var(--foreground))]">
11
- <span class="h-5 w-5 translate-x-0.5 rounded-full bg-white shadow-[0_1px_2px_rgba(0,0,0,0.1)] transition-transform peer-checked:translate-x-5"></span>
12
- </span>
13
- <span *ngIf="label" class="text-sm leading-5 text-[hsl(var(--foreground))]">{{ label }}</span>
14
- </label>
@@ -1,20 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'pdm-switch',
5
- templateUrl: './switch.component.html',
6
- changeDetection: ChangeDetectionStrategy.OnPush
7
- })
8
- export class PdmSwitchComponent {
9
- @Input() id = '';
10
- @Input() checked = false;
11
- @Input() disabled = false;
12
- @Input() label = '';
13
- @Input() className = '';
14
-
15
- @Output() checkedChange = new EventEmitter<boolean>();
16
-
17
- onToggle(event: Event): void {
18
- this.checkedChange.emit((event.target as HTMLInputElement).checked);
19
- }
20
- }
@@ -1,5 +0,0 @@
1
- <div [ngClass]="['relative w-full overflow-auto', className]">
2
- <table class="w-full caption-bottom text-sm">
3
- <ng-content></ng-content>
4
- </table>
5
- </div>
@@ -1,10 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'pdm-table',
5
- templateUrl: './table.component.html',
6
- changeDetection: ChangeDetectionStrategy.OnPush
7
- })
8
- export class PdmTableComponent {
9
- @Input() className = '';
10
- }
@@ -1,21 +0,0 @@
1
- <div [ngClass]="['w-full', className]">
2
- <div role="tablist" class="inline-flex items-start rounded-[6px] bg-[hsl(var(--muted))] p-[5px]">
3
- <button
4
- *ngFor="let item of items"
5
- role="tab"
6
- [attr.aria-selected]="value === item.value"
7
- [disabled]="item.disabled"
8
- [ngClass]="[
9
- 'inline-flex items-center justify-center whitespace-nowrap rounded-[3px] px-3 py-1.5 text-sm font-medium leading-5 ring-offset-[hsl(var(--background))] transition-all focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[hsl(var(--foreground))] disabled:pointer-events-none disabled:opacity-50',
10
- value === item.value ? 'bg-[hsl(var(--background))] text-[hsl(var(--foreground))] shadow-[0_1px_2px_rgba(0,0,0,0.1)]' : 'text-[hsl(var(--muted-foreground))]'
11
- ]"
12
- (click)="select(item)"
13
- type="button"
14
- >
15
- {{ item.label }}
16
- </button>
17
- </div>
18
- <div class="mt-4">
19
- <ng-content></ng-content>
20
- </div>
21
- </div>
@@ -1,26 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
2
-
3
- export interface PdmTabItem {
4
- label: string;
5
- value: string;
6
- disabled?: boolean;
7
- }
8
-
9
- @Component({
10
- selector: 'pdm-tabs',
11
- templateUrl: './tabs.component.html',
12
- changeDetection: ChangeDetectionStrategy.OnPush
13
- })
14
- export class PdmTabsComponent {
15
- @Input() items: PdmTabItem[] = [];
16
- @Input() value = '';
17
- @Input() className = '';
18
-
19
- @Output() valueChange = new EventEmitter<string>();
20
-
21
- select(item: PdmTabItem): void {
22
- if (!item.disabled) {
23
- this.valueChange.emit(item.value);
24
- }
25
- }
26
- }
@@ -1,21 +0,0 @@
1
- <div [ngClass]="['grid w-full gap-2', className]">
2
- <label *ngIf="label" [attr.for]="id" class="text-sm font-medium leading-5 text-[hsl(var(--foreground))]">{{ label }}</label>
3
- <textarea
4
- [id]="id"
5
- [rows]="rows"
6
- [value]="value"
7
- [placeholder]="placeholder"
8
- [disabled]="disabled"
9
- [readonly]="readonly"
10
- [required]="required"
11
- [attr.aria-invalid]="invalid"
12
- [ngClass]="[
13
- 'flex min-h-[65px] w-full rounded-[8px] border bg-[hsl(var(--background))] px-3 py-2 text-sm leading-5 shadow-[0_1px_2px_rgba(0,0,0,0.1)] ring-offset-[hsl(var(--background))] placeholder:text-[hsl(var(--muted-foreground))] focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[hsl(var(--foreground))] disabled:cursor-not-allowed disabled:opacity-50',
14
- invalid ? 'border-[hsl(var(--destructive))]' : 'border-[hsl(var(--input))]',
15
- textareaClassName
16
- ]"
17
- (input)="onInput($event)"
18
- ></textarea>
19
- <p *ngIf="!invalid && helperText" class="text-sm leading-5 text-[hsl(var(--muted-foreground))]">{{ helperText }}</p>
20
- <p *ngIf="invalid && errorText" class="text-sm leading-5 text-[hsl(var(--destructive))]">{{ errorText }}</p>
21
- </div>
@@ -1,28 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'pdm-textarea',
5
- templateUrl: './textarea.component.html',
6
- changeDetection: ChangeDetectionStrategy.OnPush
7
- })
8
- export class PdmTextareaComponent {
9
- @Input() id = '';
10
- @Input() value = '';
11
- @Input() placeholder = '';
12
- @Input() rows = 4;
13
- @Input() disabled = false;
14
- @Input() readonly = false;
15
- @Input() required = false;
16
- @Input() invalid = false;
17
- @Input() className = '';
18
- @Input() textareaClassName = '';
19
- @Input() label = '';
20
- @Input() helperText = '';
21
- @Input() errorText = '';
22
-
23
- @Output() valueChange = new EventEmitter<string>();
24
-
25
- onInput(event: Event): void {
26
- this.valueChange.emit((event.target as HTMLTextAreaElement).value);
27
- }
28
- }
@@ -1,16 +0,0 @@
1
- <button
2
- type="button"
3
- [disabled]="disabled"
4
- [attr.aria-pressed]="pressed"
5
- [ngClass]="[
6
- 'inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors disabled:pointer-events-none disabled:opacity-50',
7
- sizeClass,
8
- pressed
9
- ? 'bg-[hsl(var(--accent))] text-[hsl(var(--accent-foreground))]'
10
- : 'bg-transparent text-[hsl(var(--foreground))] hover:bg-[hsl(var(--accent))] hover:text-[hsl(var(--accent-foreground))]',
11
- className
12
- ]"
13
- (click)="toggle()"
14
- >
15
- <ng-content></ng-content>
16
- </button>
@@ -1,29 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
2
-
3
- export type PdmToggleSize = 'sm' | 'default' | 'lg';
4
-
5
- @Component({
6
- selector: 'pdm-toggle',
7
- templateUrl: './toggle.component.html',
8
- changeDetection: ChangeDetectionStrategy.OnPush
9
- })
10
- export class PdmToggleComponent {
11
- @Input() pressed = false;
12
- @Input() disabled = false;
13
- @Input() size: PdmToggleSize = 'default';
14
- @Input() className = '';
15
-
16
- @Output() pressedChange = new EventEmitter<boolean>();
17
-
18
- toggle(): void {
19
- if (!this.disabled) {
20
- this.pressedChange.emit(!this.pressed);
21
- }
22
- }
23
-
24
- get sizeClass(): string {
25
- if (this.size === 'sm') return 'h-8 px-2.5 min-w-[32px]';
26
- if (this.size === 'lg') return 'h-10 px-4 min-w-[40px]';
27
- return 'h-9 px-3 min-w-[36px]';
28
- }
29
- }
@@ -1,17 +0,0 @@
1
- <div [ngClass]="['inline-flex items-center rounded-md border border-[hsl(var(--border))] p-1', className]" role="group">
2
- <button
3
- *ngFor="let item of items"
4
- type="button"
5
- [disabled]="item.disabled"
6
- [attr.aria-pressed]="item.value === value"
7
- [ngClass]="[
8
- 'inline-flex h-8 items-center justify-center rounded-sm px-2.5 text-sm font-medium transition-colors disabled:pointer-events-none disabled:opacity-50',
9
- item.value === value
10
- ? 'bg-[hsl(var(--accent))] text-[hsl(var(--accent-foreground))]'
11
- : 'text-[hsl(var(--foreground))] hover:bg-[hsl(var(--accent))] hover:text-[hsl(var(--accent-foreground))]'
12
- ]"
13
- (click)="onSelect(item.value, item.disabled)"
14
- >
15
- {{ item.label }}
16
- </button>
17
- </div>
@@ -1,26 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
2
-
3
- export interface PdmToggleGroupItem {
4
- label: string;
5
- value: string;
6
- disabled?: boolean;
7
- }
8
-
9
- @Component({
10
- selector: 'pdm-toggle-group',
11
- templateUrl: './toggle-group.component.html',
12
- changeDetection: ChangeDetectionStrategy.OnPush
13
- })
14
- export class PdmToggleGroupComponent {
15
- @Input() items: PdmToggleGroupItem[] = [];
16
- @Input() value = '';
17
- @Input() className = '';
18
-
19
- @Output() valueChange = new EventEmitter<string>();
20
-
21
- onSelect(next: string, disabled?: boolean): void {
22
- if (!disabled && next !== this.value) {
23
- this.valueChange.emit(next);
24
- }
25
- }
26
- }
@@ -1,6 +0,0 @@
1
- <span class="relative inline-flex" [ngClass]="className" (mouseenter)="open = true" (mouseleave)="open = false" (focusin)="open = true" (focusout)="open = false">
2
- <ng-content></ng-content>
3
- <span *ngIf="open" [ngClass]="['pointer-events-none absolute z-50 overflow-hidden rounded-md bg-[hsl(var(--foreground))] px-3 py-1.5 text-xs text-[hsl(var(--background))] animate-in fade-in-0 zoom-in-95', positionClass]">
4
- {{ text }}
5
- </span>
6
- </span>
@@ -1,20 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'pdm-tooltip',
5
- templateUrl: './tooltip.component.html',
6
- changeDetection: ChangeDetectionStrategy.OnPush
7
- })
8
- export class PdmTooltipComponent {
9
- @Input() text = '';
10
- @Input() side: 'top' | 'right' | 'bottom' | 'left' = 'top';
11
- @Input() className = '';
12
- open = false;
13
-
14
- get positionClass(): string {
15
- if (this.side === 'bottom') return 'top-full left-1/2 -translate-x-1/2 mt-2';
16
- if (this.side === 'left') return 'right-full top-1/2 -translate-y-1/2 mr-2';
17
- if (this.side === 'right') return 'left-full top-1/2 -translate-y-1/2 ml-2';
18
- return 'bottom-full left-1/2 -translate-x-1/2 mb-2';
19
- }
20
- }