pdm-ui-kit 1.0.0 → 1.1.0

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 (772) hide show
  1. package/calendar/calendar.module.d.ts +1 -1
  2. package/calendar/date-picker.component.d.ts +2 -2
  3. package/command/command.component.d.ts +1 -1
  4. package/command/command.module.d.ts +1 -1
  5. package/context-menu/context-menu.component.d.ts +1 -1
  6. package/data-table/data-table.component.d.ts +1 -1
  7. package/data-table/draggable-table.component.d.ts +1 -1
  8. package/data-table/table.component.d.ts +1 -1
  9. package/drawer/drawer.module.d.ts +1 -1
  10. package/dropdown-menu/dropdown-menu.component.d.ts +1 -1
  11. package/empty/empty.module.d.ts +2 -2
  12. package/esm2020/calendar/calendar.module.mjs +2 -2
  13. package/esm2020/calendar/date-picker.component.mjs +4 -4
  14. package/esm2020/combobox/combobox.component.mjs +2 -2
  15. package/esm2020/command/command.component.mjs +2 -2
  16. package/esm2020/command/command.module.mjs +2 -2
  17. package/esm2020/context-menu/context-menu.component.mjs +2 -2
  18. package/esm2020/data-table/data-table.component.mjs +1 -1
  19. package/esm2020/data-table/draggable-table.component.mjs +1 -1
  20. package/esm2020/data-table/table.component.mjs +2 -2
  21. package/esm2020/dialog/dialog.component.mjs +3 -3
  22. package/esm2020/drawer/drawer.component.mjs +2 -2
  23. package/esm2020/drawer/drawer.module.mjs +2 -2
  24. package/esm2020/drawer/sheet.component.mjs +1 -1
  25. package/esm2020/dropdown-menu/dropdown-menu.component.mjs +3 -3
  26. package/esm2020/empty/empty.component.mjs +2 -2
  27. package/esm2020/empty/empty.module.mjs +3 -3
  28. package/esm2020/hover-card/hover-card.component.mjs +2 -2
  29. package/esm2020/input/input-group.component.mjs +1 -1
  30. package/esm2020/input/input-password.component.mjs +1 -1
  31. package/esm2020/input/input.module.mjs +2 -2
  32. package/esm2020/menubar/menubar.component.mjs +2 -2
  33. package/esm2020/native-select/native-select.component.mjs +1 -1
  34. package/esm2020/native-select/native-select.module.mjs +2 -2
  35. package/esm2020/pagination/pagination.component.mjs +3 -3
  36. package/esm2020/pagination/pagination.module.mjs +3 -3
  37. package/esm2020/popover/popover.component.mjs +2 -2
  38. package/esm2020/select/select.component.mjs +4 -4
  39. package/esm2020/select/select.module.mjs +2 -2
  40. package/esm2020/sonner/sonner.component.mjs +1 -1
  41. package/esm2020/sonner/sonner.module.mjs +2 -2
  42. package/esm2020/src/accordion/accordion.component.mjs +42 -0
  43. package/esm2020/src/accordion/accordion.module.mjs +21 -0
  44. package/esm2020/src/accordion/pdm-ui-kit-src-accordion.mjs +5 -0
  45. package/esm2020/src/accordion/public-api.mjs +3 -0
  46. package/esm2020/src/alert/alert-dialog.component.mjs +87 -0
  47. package/esm2020/src/alert/alert.component.mjs +35 -0
  48. package/esm2020/src/alert/alert.module.mjs +25 -0
  49. package/esm2020/src/alert/pdm-ui-kit-src-alert.mjs +5 -0
  50. package/esm2020/src/alert/public-api.mjs +4 -0
  51. package/esm2020/src/aspect-ratio/aspect-ratio.component.mjs +31 -0
  52. package/esm2020/src/aspect-ratio/aspect-ratio.module.mjs +21 -0
  53. package/esm2020/src/aspect-ratio/pdm-ui-kit-src-aspect-ratio.mjs +5 -0
  54. package/esm2020/src/aspect-ratio/public-api.mjs +3 -0
  55. package/esm2020/src/avatar/avatar.component.mjs +46 -0
  56. package/esm2020/src/avatar/avatar.module.mjs +21 -0
  57. package/esm2020/src/avatar/pdm-ui-kit-src-avatar.mjs +5 -0
  58. package/esm2020/src/avatar/public-api.mjs +3 -0
  59. package/esm2020/src/badge/badge.component.mjs +23 -0
  60. package/esm2020/src/badge/badge.module.mjs +21 -0
  61. package/esm2020/src/badge/pdm-ui-kit-src-badge.mjs +5 -0
  62. package/esm2020/src/badge/public-api.mjs +3 -0
  63. package/esm2020/src/breadcrumb/breadcrumb.component.mjs +62 -0
  64. package/esm2020/src/breadcrumb/breadcrumb.module.mjs +21 -0
  65. package/esm2020/src/breadcrumb/pdm-ui-kit-src-breadcrumb.mjs +5 -0
  66. package/esm2020/src/breadcrumb/public-api.mjs +3 -0
  67. package/esm2020/src/button/button-group.component.mjs +236 -0
  68. package/esm2020/src/button/button.component.mjs +114 -0
  69. package/esm2020/src/button/button.module.mjs +25 -0
  70. package/esm2020/src/button/pdm-ui-kit-src-button.mjs +5 -0
  71. package/esm2020/src/button/public-api.mjs +4 -0
  72. package/esm2020/src/calendar/calendar.component.mjs +529 -0
  73. package/esm2020/src/calendar/calendar.module.mjs +22 -0
  74. package/esm2020/src/calendar/date-picker.component.mjs +362 -0
  75. package/esm2020/src/calendar/pdm-ui-kit-src-calendar.mjs +5 -0
  76. package/esm2020/src/calendar/public-api.mjs +4 -0
  77. package/esm2020/src/card/card.component.mjs +48 -0
  78. package/esm2020/src/card/card.module.mjs +21 -0
  79. package/esm2020/src/card/pdm-ui-kit-src-card.mjs +5 -0
  80. package/esm2020/src/card/public-api.mjs +3 -0
  81. package/esm2020/src/carousel/carousel.component.mjs +102 -0
  82. package/esm2020/src/carousel/carousel.module.mjs +21 -0
  83. package/esm2020/src/carousel/pdm-ui-kit-src-carousel.mjs +5 -0
  84. package/esm2020/src/carousel/public-api.mjs +3 -0
  85. package/esm2020/src/chart/chart.component.mjs +177 -0
  86. package/esm2020/src/chart/chart.module.mjs +21 -0
  87. package/esm2020/src/chart/pdm-ui-kit-src-chart.mjs +5 -0
  88. package/esm2020/src/chart/public-api.mjs +3 -0
  89. package/esm2020/src/checkbox/checkbox.component.mjs +47 -0
  90. package/esm2020/src/checkbox/checkbox.module.mjs +21 -0
  91. package/esm2020/src/checkbox/pdm-ui-kit-src-checkbox.mjs +5 -0
  92. package/esm2020/src/checkbox/public-api.mjs +3 -0
  93. package/esm2020/src/collapsible/collapsible.component.mjs +43 -0
  94. package/esm2020/src/collapsible/collapsible.module.mjs +21 -0
  95. package/esm2020/src/collapsible/pdm-ui-kit-src-collapsible.mjs +5 -0
  96. package/esm2020/src/collapsible/public-api.mjs +3 -0
  97. package/esm2020/src/combobox/combobox.component.mjs +173 -0
  98. package/esm2020/src/combobox/combobox.module.mjs +22 -0
  99. package/esm2020/src/combobox/pdm-ui-kit-src-combobox.mjs +5 -0
  100. package/esm2020/src/combobox/public-api.mjs +3 -0
  101. package/esm2020/src/command/command.component.mjs +75 -0
  102. package/esm2020/src/command/command.module.mjs +20 -0
  103. package/esm2020/src/command/pdm-ui-kit-src-command.mjs +5 -0
  104. package/esm2020/src/command/public-api.mjs +3 -0
  105. package/esm2020/src/context-menu/context-menu.component.mjs +165 -0
  106. package/esm2020/src/context-menu/context-menu.module.mjs +22 -0
  107. package/esm2020/src/context-menu/pdm-ui-kit-src-context-menu.mjs +5 -0
  108. package/esm2020/src/context-menu/public-api.mjs +3 -0
  109. package/esm2020/src/data-table/data-table.component.mjs +299 -0
  110. package/esm2020/src/data-table/data-table.module.mjs +29 -0
  111. package/esm2020/src/data-table/draggable-table.component.mjs +300 -0
  112. package/esm2020/src/data-table/pdm-ui-kit-src-data-table.mjs +5 -0
  113. package/esm2020/src/data-table/public-api.mjs +5 -0
  114. package/esm2020/src/data-table/table.component.mjs +182 -0
  115. package/esm2020/src/dialog/dialog.component.mjs +265 -0
  116. package/esm2020/src/dialog/dialog.module.mjs +21 -0
  117. package/esm2020/src/dialog/pdm-ui-kit-src-dialog.mjs +5 -0
  118. package/esm2020/src/dialog/public-api.mjs +3 -0
  119. package/esm2020/src/drawer/drawer.component.mjs +217 -0
  120. package/esm2020/src/drawer/drawer.module.mjs +21 -0
  121. package/esm2020/src/drawer/pdm-ui-kit-src-drawer.mjs +5 -0
  122. package/esm2020/src/drawer/public-api.mjs +4 -0
  123. package/esm2020/src/drawer/sheet.component.mjs +116 -0
  124. package/esm2020/src/dropdown-menu/dropdown-menu.component.mjs +192 -0
  125. package/esm2020/src/dropdown-menu/dropdown-menu.module.mjs +22 -0
  126. package/esm2020/src/dropdown-menu/pdm-ui-kit-src-dropdown-menu.mjs +5 -0
  127. package/esm2020/src/dropdown-menu/public-api.mjs +3 -0
  128. package/esm2020/src/empty/empty.component.mjs +58 -0
  129. package/esm2020/src/empty/empty.module.mjs +21 -0
  130. package/esm2020/src/empty/pdm-ui-kit-src-empty.mjs +5 -0
  131. package/esm2020/src/empty/public-api.mjs +3 -0
  132. package/esm2020/src/field/field.component.mjs +64 -0
  133. package/esm2020/src/field/field.module.mjs +21 -0
  134. package/esm2020/src/field/pdm-ui-kit-src-field.mjs +5 -0
  135. package/esm2020/src/field/public-api.mjs +3 -0
  136. package/esm2020/src/hover-card/hover-card.component.mjs +205 -0
  137. package/esm2020/src/hover-card/hover-card.module.mjs +22 -0
  138. package/esm2020/src/hover-card/pdm-ui-kit-src-hover-card.mjs +5 -0
  139. package/esm2020/src/hover-card/public-api.mjs +3 -0
  140. package/esm2020/src/icon/icon.component.mjs +144 -0
  141. package/esm2020/src/icon/icon.module.mjs +21 -0
  142. package/esm2020/src/icon/pdm-ui-kit-src-icon.mjs +5 -0
  143. package/esm2020/src/icon/public-api.mjs +3 -0
  144. package/esm2020/src/input/input-group.component.mjs +63 -0
  145. package/esm2020/src/input/input-otp.component.mjs +144 -0
  146. package/esm2020/src/input/input-password.component.mjs +78 -0
  147. package/esm2020/src/input/input.component.mjs +71 -0
  148. package/esm2020/src/input/input.module.mjs +38 -0
  149. package/esm2020/src/input/pdm-ui-kit-src-input.mjs +5 -0
  150. package/esm2020/src/input/public-api.mjs +7 -0
  151. package/esm2020/src/input/textarea.component.mjs +59 -0
  152. package/esm2020/src/item/item.component.mjs +23 -0
  153. package/esm2020/src/item/item.module.mjs +21 -0
  154. package/esm2020/src/item/pdm-ui-kit-src-item.mjs +5 -0
  155. package/esm2020/src/item/public-api.mjs +3 -0
  156. package/esm2020/src/kbd/kbd.component.mjs +17 -0
  157. package/esm2020/src/kbd/kbd.module.mjs +21 -0
  158. package/esm2020/src/kbd/pdm-ui-kit-src-kbd.mjs +5 -0
  159. package/esm2020/src/kbd/public-api.mjs +3 -0
  160. package/esm2020/src/label/label.component.mjs +23 -0
  161. package/esm2020/src/label/label.module.mjs +21 -0
  162. package/esm2020/src/label/pdm-ui-kit-src-label.mjs +5 -0
  163. package/esm2020/src/label/public-api.mjs +3 -0
  164. package/esm2020/src/menubar/menubar.component.mjs +144 -0
  165. package/esm2020/src/menubar/menubar.module.mjs +22 -0
  166. package/esm2020/src/menubar/pdm-ui-kit-src-menubar.mjs +5 -0
  167. package/esm2020/src/menubar/public-api.mjs +3 -0
  168. package/esm2020/src/native-select/native-select.component.mjs +42 -0
  169. package/esm2020/src/native-select/native-select.module.mjs +20 -0
  170. package/esm2020/src/native-select/pdm-ui-kit-src-native-select.mjs +5 -0
  171. package/esm2020/src/native-select/public-api.mjs +3 -0
  172. package/esm2020/src/navigation-menu/navigation-menu.component.mjs +42 -0
  173. package/esm2020/src/navigation-menu/navigation-menu.module.mjs +21 -0
  174. package/esm2020/src/navigation-menu/pdm-ui-kit-src-navigation-menu.mjs +5 -0
  175. package/esm2020/src/navigation-menu/public-api.mjs +3 -0
  176. package/esm2020/src/overlay/create-flexible-position-strategy.mjs +54 -0
  177. package/esm2020/src/overlay/pdm-outside-click.directive.mjs +86 -0
  178. package/esm2020/src/overlay/pdm-outside-click.module.mjs +18 -0
  179. package/esm2020/src/overlay/pdm-overlay-options.mjs +2 -0
  180. package/esm2020/src/overlay/pdm-ui-kit-src-overlay.mjs +5 -0
  181. package/esm2020/src/overlay/public-api.mjs +6 -0
  182. package/esm2020/src/overlay/z-index-helper.mjs +69 -0
  183. package/esm2020/src/pagination/pagination.component.mjs +72 -0
  184. package/esm2020/src/pagination/pagination.module.mjs +21 -0
  185. package/esm2020/src/pagination/pdm-ui-kit-src-pagination.mjs +5 -0
  186. package/esm2020/src/pagination/public-api.mjs +3 -0
  187. package/esm2020/src/popover/pdm-ui-kit-src-popover.mjs +5 -0
  188. package/esm2020/src/popover/popover.component.mjs +162 -0
  189. package/esm2020/src/popover/popover.module.mjs +22 -0
  190. package/esm2020/src/popover/public-api.mjs +3 -0
  191. package/esm2020/src/progress/pdm-ui-kit-src-progress.mjs +5 -0
  192. package/esm2020/src/progress/progress.component.mjs +33 -0
  193. package/esm2020/src/progress/progress.module.mjs +21 -0
  194. package/esm2020/src/progress/public-api.mjs +3 -0
  195. package/esm2020/src/radio-group/pdm-ui-kit-src-radio-group.mjs +5 -0
  196. package/esm2020/src/radio-group/public-api.mjs +3 -0
  197. package/esm2020/src/radio-group/radio-group.component.mjs +38 -0
  198. package/esm2020/src/radio-group/radio-group.module.mjs +21 -0
  199. package/esm2020/src/scroll-area/pdm-ui-kit-src-scroll-area.mjs +5 -0
  200. package/esm2020/src/scroll-area/public-api.mjs +3 -0
  201. package/esm2020/src/scroll-area/scroll-area.component.mjs +20 -0
  202. package/esm2020/src/scroll-area/scroll-area.module.mjs +21 -0
  203. package/esm2020/src/select/pdm-ui-kit-src-select.mjs +5 -0
  204. package/esm2020/src/select/public-api.mjs +4 -0
  205. package/esm2020/src/select/select-option.directive.mjs +55 -0
  206. package/esm2020/src/select/select.component.mjs +164 -0
  207. package/esm2020/src/select/select.module.mjs +22 -0
  208. package/esm2020/src/separator/pdm-ui-kit-src-separator.mjs +5 -0
  209. package/esm2020/src/separator/public-api.mjs +3 -0
  210. package/esm2020/src/separator/separator.component.mjs +26 -0
  211. package/esm2020/src/separator/separator.module.mjs +21 -0
  212. package/esm2020/src/sidebar/pdm-ui-kit-src-sidebar.mjs +5 -0
  213. package/esm2020/src/sidebar/public-api.mjs +3 -0
  214. package/esm2020/src/sidebar/sidebar.component.mjs +67 -0
  215. package/esm2020/src/sidebar/sidebar.module.mjs +21 -0
  216. package/esm2020/src/skeleton/pdm-ui-kit-src-skeleton.mjs +5 -0
  217. package/esm2020/src/skeleton/public-api.mjs +3 -0
  218. package/esm2020/src/skeleton/skeleton.component.mjs +17 -0
  219. package/esm2020/src/skeleton/skeleton.module.mjs +21 -0
  220. package/esm2020/src/slider/pdm-ui-kit-src-slider.mjs +5 -0
  221. package/esm2020/src/slider/public-api.mjs +3 -0
  222. package/esm2020/src/slider/slider.component.mjs +46 -0
  223. package/esm2020/src/slider/slider.module.mjs +21 -0
  224. package/esm2020/src/sonner/pdm-ui-kit-src-sonner.mjs +5 -0
  225. package/esm2020/src/sonner/public-api.mjs +3 -0
  226. package/esm2020/src/sonner/sonner.component.mjs +39 -0
  227. package/esm2020/src/sonner/sonner.module.mjs +20 -0
  228. package/esm2020/src/spinner/pdm-ui-kit-src-spinner.mjs +5 -0
  229. package/esm2020/src/spinner/public-api.mjs +3 -0
  230. package/esm2020/src/spinner/spinner.component.mjs +20 -0
  231. package/esm2020/src/spinner/spinner.module.mjs +21 -0
  232. package/esm2020/src/switch/pdm-ui-kit-src-switch.mjs +5 -0
  233. package/esm2020/src/switch/public-api.mjs +3 -0
  234. package/esm2020/src/switch/switch.component.mjs +58 -0
  235. package/esm2020/src/switch/switch.module.mjs +21 -0
  236. package/esm2020/src/tabs/pdm-ui-kit-src-tabs.mjs +5 -0
  237. package/esm2020/src/tabs/public-api.mjs +3 -0
  238. package/esm2020/src/tabs/tabs.component.mjs +34 -0
  239. package/esm2020/src/tabs/tabs.module.mjs +21 -0
  240. package/esm2020/src/toggle/pdm-ui-kit-src-toggle.mjs +5 -0
  241. package/esm2020/src/toggle/public-api.mjs +4 -0
  242. package/esm2020/src/toggle/toggle-group.component.mjs +31 -0
  243. package/esm2020/src/toggle/toggle.component.mjs +41 -0
  244. package/esm2020/src/toggle/toggle.module.mjs +25 -0
  245. package/esm2020/src/tooltip/pdm-ui-kit-src-tooltip.mjs +5 -0
  246. package/esm2020/src/tooltip/public-api.mjs +3 -0
  247. package/esm2020/src/tooltip/tooltip.component.mjs +176 -0
  248. package/esm2020/src/tooltip/tooltip.module.mjs +22 -0
  249. package/esm2020/src/utils/pdm-ui-kit-src-utils.mjs +5 -0
  250. package/esm2020/src/utils/public-api.mjs +3 -0
  251. package/esm2020/src/utils/responsive.mjs +143 -0
  252. package/esm2020/src/utils/z-index.mjs +90 -0
  253. package/esm2020/tooltip/tooltip.component.mjs +2 -2
  254. package/fesm2015/pdm-ui-kit-src-accordion.mjs +68 -0
  255. package/fesm2015/pdm-ui-kit-src-accordion.mjs.map +1 -0
  256. package/fesm2015/pdm-ui-kit-src-alert.mjs +147 -0
  257. package/fesm2015/pdm-ui-kit-src-alert.mjs.map +1 -0
  258. package/fesm2015/pdm-ui-kit-src-aspect-ratio.mjs +56 -0
  259. package/fesm2015/pdm-ui-kit-src-aspect-ratio.mjs.map +1 -0
  260. package/fesm2015/pdm-ui-kit-src-avatar.mjs +71 -0
  261. package/fesm2015/pdm-ui-kit-src-avatar.mjs.map +1 -0
  262. package/fesm2015/pdm-ui-kit-src-badge.mjs +48 -0
  263. package/fesm2015/pdm-ui-kit-src-badge.mjs.map +1 -0
  264. package/fesm2015/pdm-ui-kit-src-breadcrumb.mjs +87 -0
  265. package/fesm2015/pdm-ui-kit-src-breadcrumb.mjs.map +1 -0
  266. package/fesm2015/pdm-ui-kit-src-button.mjs +376 -0
  267. package/fesm2015/pdm-ui-kit-src-button.mjs.map +1 -0
  268. package/fesm2015/pdm-ui-kit-src-calendar.mjs +912 -0
  269. package/fesm2015/pdm-ui-kit-src-calendar.mjs.map +1 -0
  270. package/fesm2015/pdm-ui-kit-src-card.mjs +73 -0
  271. package/fesm2015/pdm-ui-kit-src-card.mjs.map +1 -0
  272. package/fesm2015/pdm-ui-kit-src-carousel.mjs +127 -0
  273. package/fesm2015/pdm-ui-kit-src-carousel.mjs.map +1 -0
  274. package/fesm2015/pdm-ui-kit-src-chart.mjs +203 -0
  275. package/fesm2015/pdm-ui-kit-src-chart.mjs.map +1 -0
  276. package/fesm2015/pdm-ui-kit-src-checkbox.mjs +72 -0
  277. package/fesm2015/pdm-ui-kit-src-checkbox.mjs.map +1 -0
  278. package/fesm2015/pdm-ui-kit-src-collapsible.mjs +68 -0
  279. package/fesm2015/pdm-ui-kit-src-collapsible.mjs.map +1 -0
  280. package/fesm2015/pdm-ui-kit-src-combobox.mjs +200 -0
  281. package/fesm2015/pdm-ui-kit-src-combobox.mjs.map +1 -0
  282. package/fesm2015/pdm-ui-kit-src-command.mjs +100 -0
  283. package/fesm2015/pdm-ui-kit-src-command.mjs.map +1 -0
  284. package/fesm2015/pdm-ui-kit-src-context-menu.mjs +191 -0
  285. package/fesm2015/pdm-ui-kit-src-context-menu.mjs.map +1 -0
  286. package/fesm2015/pdm-ui-kit-src-data-table.mjs +806 -0
  287. package/fesm2015/pdm-ui-kit-src-data-table.mjs.map +1 -0
  288. package/fesm2015/pdm-ui-kit-src-dialog.mjs +289 -0
  289. package/fesm2015/pdm-ui-kit-src-dialog.mjs.map +1 -0
  290. package/fesm2015/pdm-ui-kit-src-drawer.mjs +354 -0
  291. package/fesm2015/pdm-ui-kit-src-drawer.mjs.map +1 -0
  292. package/fesm2015/pdm-ui-kit-src-dropdown-menu.mjs +212 -0
  293. package/fesm2015/pdm-ui-kit-src-dropdown-menu.mjs.map +1 -0
  294. package/fesm2015/pdm-ui-kit-src-empty.mjs +83 -0
  295. package/fesm2015/pdm-ui-kit-src-empty.mjs.map +1 -0
  296. package/fesm2015/pdm-ui-kit-src-field.mjs +89 -0
  297. package/fesm2015/pdm-ui-kit-src-field.mjs.map +1 -0
  298. package/fesm2015/pdm-ui-kit-src-hover-card.mjs +231 -0
  299. package/fesm2015/pdm-ui-kit-src-hover-card.mjs.map +1 -0
  300. package/fesm2015/pdm-ui-kit-src-icon.mjs +172 -0
  301. package/fesm2015/pdm-ui-kit-src-icon.mjs.map +1 -0
  302. package/fesm2015/pdm-ui-kit-src-input.mjs +443 -0
  303. package/fesm2015/pdm-ui-kit-src-input.mjs.map +1 -0
  304. package/fesm2015/pdm-ui-kit-src-item.mjs +48 -0
  305. package/fesm2015/pdm-ui-kit-src-item.mjs.map +1 -0
  306. package/fesm2015/pdm-ui-kit-src-kbd.mjs +42 -0
  307. package/fesm2015/pdm-ui-kit-src-kbd.mjs.map +1 -0
  308. package/fesm2015/pdm-ui-kit-src-label.mjs +48 -0
  309. package/fesm2015/pdm-ui-kit-src-label.mjs.map +1 -0
  310. package/fesm2015/pdm-ui-kit-src-menubar.mjs +170 -0
  311. package/fesm2015/pdm-ui-kit-src-menubar.mjs.map +1 -0
  312. package/fesm2015/pdm-ui-kit-src-native-select.mjs +66 -0
  313. package/fesm2015/pdm-ui-kit-src-native-select.mjs.map +1 -0
  314. package/fesm2015/pdm-ui-kit-src-navigation-menu.mjs +67 -0
  315. package/fesm2015/pdm-ui-kit-src-navigation-menu.mjs.map +1 -0
  316. package/fesm2015/pdm-ui-kit-src-overlay.mjs +225 -0
  317. package/fesm2015/pdm-ui-kit-src-overlay.mjs.map +1 -0
  318. package/fesm2015/pdm-ui-kit-src-pagination.mjs +97 -0
  319. package/fesm2015/pdm-ui-kit-src-pagination.mjs.map +1 -0
  320. package/fesm2015/pdm-ui-kit-src-popover.mjs +189 -0
  321. package/fesm2015/pdm-ui-kit-src-popover.mjs.map +1 -0
  322. package/fesm2015/pdm-ui-kit-src-progress.mjs +58 -0
  323. package/fesm2015/pdm-ui-kit-src-progress.mjs.map +1 -0
  324. package/fesm2015/pdm-ui-kit-src-radio-group.mjs +63 -0
  325. package/fesm2015/pdm-ui-kit-src-radio-group.mjs.map +1 -0
  326. package/fesm2015/pdm-ui-kit-src-scroll-area.mjs +45 -0
  327. package/fesm2015/pdm-ui-kit-src-scroll-area.mjs.map +1 -0
  328. package/fesm2015/pdm-ui-kit-src-select.mjs +238 -0
  329. package/fesm2015/pdm-ui-kit-src-select.mjs.map +1 -0
  330. package/fesm2015/pdm-ui-kit-src-separator.mjs +51 -0
  331. package/fesm2015/pdm-ui-kit-src-separator.mjs.map +1 -0
  332. package/fesm2015/pdm-ui-kit-src-sidebar.mjs +92 -0
  333. package/fesm2015/pdm-ui-kit-src-sidebar.mjs.map +1 -0
  334. package/fesm2015/pdm-ui-kit-src-skeleton.mjs +42 -0
  335. package/fesm2015/pdm-ui-kit-src-skeleton.mjs.map +1 -0
  336. package/fesm2015/pdm-ui-kit-src-slider.mjs +71 -0
  337. package/fesm2015/pdm-ui-kit-src-slider.mjs.map +1 -0
  338. package/fesm2015/pdm-ui-kit-src-sonner.mjs +63 -0
  339. package/fesm2015/pdm-ui-kit-src-sonner.mjs.map +1 -0
  340. package/fesm2015/pdm-ui-kit-src-spinner.mjs +45 -0
  341. package/fesm2015/pdm-ui-kit-src-spinner.mjs.map +1 -0
  342. package/fesm2015/pdm-ui-kit-src-switch.mjs +83 -0
  343. package/fesm2015/pdm-ui-kit-src-switch.mjs.map +1 -0
  344. package/fesm2015/pdm-ui-kit-src-tabs.mjs +59 -0
  345. package/fesm2015/pdm-ui-kit-src-tabs.mjs.map +1 -0
  346. package/fesm2015/pdm-ui-kit-src-toggle.mjs +97 -0
  347. package/fesm2015/pdm-ui-kit-src-toggle.mjs.map +1 -0
  348. package/fesm2015/pdm-ui-kit-src-tooltip.mjs +202 -0
  349. package/fesm2015/pdm-ui-kit-src-tooltip.mjs.map +1 -0
  350. package/fesm2015/pdm-ui-kit-src-utils.mjs +239 -0
  351. package/fesm2015/pdm-ui-kit-src-utils.mjs.map +1 -0
  352. package/fesm2015/pdm-ui-kit.mjs +1019 -1009
  353. package/fesm2015/pdm-ui-kit.mjs.map +1 -1
  354. package/fesm2020/pdm-ui-kit-src-accordion.mjs +67 -0
  355. package/fesm2020/pdm-ui-kit-src-accordion.mjs.map +1 -0
  356. package/fesm2020/pdm-ui-kit-src-alert.mjs +147 -0
  357. package/fesm2020/pdm-ui-kit-src-alert.mjs.map +1 -0
  358. package/fesm2020/pdm-ui-kit-src-aspect-ratio.mjs +56 -0
  359. package/fesm2020/pdm-ui-kit-src-aspect-ratio.mjs.map +1 -0
  360. package/fesm2020/pdm-ui-kit-src-avatar.mjs +71 -0
  361. package/fesm2020/pdm-ui-kit-src-avatar.mjs.map +1 -0
  362. package/fesm2020/pdm-ui-kit-src-badge.mjs +48 -0
  363. package/fesm2020/pdm-ui-kit-src-badge.mjs.map +1 -0
  364. package/fesm2020/pdm-ui-kit-src-breadcrumb.mjs +87 -0
  365. package/fesm2020/pdm-ui-kit-src-breadcrumb.mjs.map +1 -0
  366. package/fesm2020/pdm-ui-kit-src-button.mjs +375 -0
  367. package/fesm2020/pdm-ui-kit-src-button.mjs.map +1 -0
  368. package/fesm2020/pdm-ui-kit-src-calendar.mjs +911 -0
  369. package/fesm2020/pdm-ui-kit-src-calendar.mjs.map +1 -0
  370. package/fesm2020/pdm-ui-kit-src-card.mjs +73 -0
  371. package/fesm2020/pdm-ui-kit-src-card.mjs.map +1 -0
  372. package/fesm2020/pdm-ui-kit-src-carousel.mjs +127 -0
  373. package/fesm2020/pdm-ui-kit-src-carousel.mjs.map +1 -0
  374. package/fesm2020/pdm-ui-kit-src-chart.mjs +202 -0
  375. package/fesm2020/pdm-ui-kit-src-chart.mjs.map +1 -0
  376. package/fesm2020/pdm-ui-kit-src-checkbox.mjs +72 -0
  377. package/fesm2020/pdm-ui-kit-src-checkbox.mjs.map +1 -0
  378. package/fesm2020/pdm-ui-kit-src-collapsible.mjs +68 -0
  379. package/fesm2020/pdm-ui-kit-src-collapsible.mjs.map +1 -0
  380. package/fesm2020/pdm-ui-kit-src-combobox.mjs +199 -0
  381. package/fesm2020/pdm-ui-kit-src-combobox.mjs.map +1 -0
  382. package/fesm2020/pdm-ui-kit-src-command.mjs +99 -0
  383. package/fesm2020/pdm-ui-kit-src-command.mjs.map +1 -0
  384. package/fesm2020/pdm-ui-kit-src-context-menu.mjs +191 -0
  385. package/fesm2020/pdm-ui-kit-src-context-menu.mjs.map +1 -0
  386. package/fesm2020/pdm-ui-kit-src-data-table.mjs +805 -0
  387. package/fesm2020/pdm-ui-kit-src-data-table.mjs.map +1 -0
  388. package/fesm2020/pdm-ui-kit-src-dialog.mjs +289 -0
  389. package/fesm2020/pdm-ui-kit-src-dialog.mjs.map +1 -0
  390. package/fesm2020/pdm-ui-kit-src-drawer.mjs +354 -0
  391. package/fesm2020/pdm-ui-kit-src-drawer.mjs.map +1 -0
  392. package/fesm2020/pdm-ui-kit-src-dropdown-menu.mjs +218 -0
  393. package/fesm2020/pdm-ui-kit-src-dropdown-menu.mjs.map +1 -0
  394. package/fesm2020/pdm-ui-kit-src-empty.mjs +83 -0
  395. package/fesm2020/pdm-ui-kit-src-empty.mjs.map +1 -0
  396. package/fesm2020/pdm-ui-kit-src-field.mjs +89 -0
  397. package/fesm2020/pdm-ui-kit-src-field.mjs.map +1 -0
  398. package/fesm2020/pdm-ui-kit-src-hover-card.mjs +231 -0
  399. package/fesm2020/pdm-ui-kit-src-hover-card.mjs.map +1 -0
  400. package/fesm2020/pdm-ui-kit-src-icon.mjs +169 -0
  401. package/fesm2020/pdm-ui-kit-src-icon.mjs.map +1 -0
  402. package/fesm2020/pdm-ui-kit-src-input.mjs +441 -0
  403. package/fesm2020/pdm-ui-kit-src-input.mjs.map +1 -0
  404. package/fesm2020/pdm-ui-kit-src-item.mjs +48 -0
  405. package/fesm2020/pdm-ui-kit-src-item.mjs.map +1 -0
  406. package/fesm2020/pdm-ui-kit-src-kbd.mjs +42 -0
  407. package/fesm2020/pdm-ui-kit-src-kbd.mjs.map +1 -0
  408. package/fesm2020/pdm-ui-kit-src-label.mjs +48 -0
  409. package/fesm2020/pdm-ui-kit-src-label.mjs.map +1 -0
  410. package/fesm2020/pdm-ui-kit-src-menubar.mjs +170 -0
  411. package/fesm2020/pdm-ui-kit-src-menubar.mjs.map +1 -0
  412. package/fesm2020/pdm-ui-kit-src-native-select.mjs +66 -0
  413. package/fesm2020/pdm-ui-kit-src-native-select.mjs.map +1 -0
  414. package/fesm2020/pdm-ui-kit-src-navigation-menu.mjs +67 -0
  415. package/fesm2020/pdm-ui-kit-src-navigation-menu.mjs.map +1 -0
  416. package/fesm2020/pdm-ui-kit-src-overlay.mjs +229 -0
  417. package/fesm2020/pdm-ui-kit-src-overlay.mjs.map +1 -0
  418. package/fesm2020/pdm-ui-kit-src-pagination.mjs +97 -0
  419. package/fesm2020/pdm-ui-kit-src-pagination.mjs.map +1 -0
  420. package/fesm2020/pdm-ui-kit-src-popover.mjs +188 -0
  421. package/fesm2020/pdm-ui-kit-src-popover.mjs.map +1 -0
  422. package/fesm2020/pdm-ui-kit-src-progress.mjs +58 -0
  423. package/fesm2020/pdm-ui-kit-src-progress.mjs.map +1 -0
  424. package/fesm2020/pdm-ui-kit-src-radio-group.mjs +63 -0
  425. package/fesm2020/pdm-ui-kit-src-radio-group.mjs.map +1 -0
  426. package/fesm2020/pdm-ui-kit-src-scroll-area.mjs +45 -0
  427. package/fesm2020/pdm-ui-kit-src-scroll-area.mjs.map +1 -0
  428. package/fesm2020/pdm-ui-kit-src-select.mjs +241 -0
  429. package/fesm2020/pdm-ui-kit-src-select.mjs.map +1 -0
  430. package/fesm2020/pdm-ui-kit-src-separator.mjs +51 -0
  431. package/fesm2020/pdm-ui-kit-src-separator.mjs.map +1 -0
  432. package/fesm2020/pdm-ui-kit-src-sidebar.mjs +92 -0
  433. package/fesm2020/pdm-ui-kit-src-sidebar.mjs.map +1 -0
  434. package/fesm2020/pdm-ui-kit-src-skeleton.mjs +42 -0
  435. package/fesm2020/pdm-ui-kit-src-skeleton.mjs.map +1 -0
  436. package/fesm2020/pdm-ui-kit-src-slider.mjs +71 -0
  437. package/fesm2020/pdm-ui-kit-src-slider.mjs.map +1 -0
  438. package/fesm2020/pdm-ui-kit-src-sonner.mjs +63 -0
  439. package/fesm2020/pdm-ui-kit-src-sonner.mjs.map +1 -0
  440. package/fesm2020/pdm-ui-kit-src-spinner.mjs +45 -0
  441. package/fesm2020/pdm-ui-kit-src-spinner.mjs.map +1 -0
  442. package/fesm2020/pdm-ui-kit-src-switch.mjs +83 -0
  443. package/fesm2020/pdm-ui-kit-src-switch.mjs.map +1 -0
  444. package/fesm2020/pdm-ui-kit-src-tabs.mjs +59 -0
  445. package/fesm2020/pdm-ui-kit-src-tabs.mjs.map +1 -0
  446. package/fesm2020/pdm-ui-kit-src-toggle.mjs +97 -0
  447. package/fesm2020/pdm-ui-kit-src-toggle.mjs.map +1 -0
  448. package/fesm2020/pdm-ui-kit-src-tooltip.mjs +202 -0
  449. package/fesm2020/pdm-ui-kit-src-tooltip.mjs.map +1 -0
  450. package/fesm2020/pdm-ui-kit-src-utils.mjs +239 -0
  451. package/fesm2020/pdm-ui-kit-src-utils.mjs.map +1 -0
  452. package/fesm2020/pdm-ui-kit.mjs +1022 -1012
  453. package/fesm2020/pdm-ui-kit.mjs.map +1 -1
  454. package/input/input-password.component.d.ts +1 -1
  455. package/input/input.module.d.ts +1 -1
  456. package/menubar/menubar.component.d.ts +1 -1
  457. package/native-select/native-select.module.d.ts +1 -1
  458. package/package.json +703 -115
  459. package/pagination/pagination.component.d.ts +1 -1
  460. package/pagination/pagination.module.d.ts +2 -2
  461. package/select/select.component.d.ts +1 -1
  462. package/select/select.module.d.ts +1 -1
  463. package/sonner/sonner.module.d.ts +1 -1
  464. package/src/accordion/accordion.component.d.ts +19 -0
  465. package/src/accordion/accordion.module.d.ts +8 -0
  466. package/src/accordion/index.d.ts +5 -0
  467. package/src/accordion/public-api.d.ts +2 -0
  468. package/src/alert/alert-dialog.component.d.ts +29 -0
  469. package/src/alert/alert.component.d.ts +13 -0
  470. package/src/alert/alert.module.d.ts +9 -0
  471. package/src/alert/index.d.ts +5 -0
  472. package/src/alert/public-api.d.ts +3 -0
  473. package/src/aspect-ratio/aspect-ratio.component.d.ts +10 -0
  474. package/src/aspect-ratio/aspect-ratio.module.d.ts +8 -0
  475. package/src/aspect-ratio/index.d.ts +5 -0
  476. package/src/aspect-ratio/public-api.d.ts +2 -0
  477. package/src/avatar/avatar.component.d.ts +20 -0
  478. package/src/avatar/avatar.module.d.ts +8 -0
  479. package/src/avatar/index.d.ts +5 -0
  480. package/src/avatar/public-api.d.ts +2 -0
  481. package/src/badge/badge.component.d.ts +9 -0
  482. package/src/badge/badge.module.d.ts +8 -0
  483. package/src/badge/index.d.ts +5 -0
  484. package/src/badge/public-api.d.ts +2 -0
  485. package/src/breadcrumb/breadcrumb.component.d.ts +32 -0
  486. package/src/breadcrumb/breadcrumb.module.d.ts +8 -0
  487. package/src/breadcrumb/index.d.ts +5 -0
  488. package/src/breadcrumb/public-api.d.ts +2 -0
  489. package/src/button/button-group.component.d.ts +19 -0
  490. package/src/button/button.component.d.ts +29 -0
  491. package/src/button/button.module.d.ts +9 -0
  492. package/src/button/index.d.ts +5 -0
  493. package/src/button/public-api.d.ts +3 -0
  494. package/src/calendar/calendar.component.d.ts +149 -0
  495. package/src/calendar/calendar.module.d.ts +11 -0
  496. package/src/calendar/date-picker.component.d.ts +89 -0
  497. package/src/calendar/index.d.ts +5 -0
  498. package/src/calendar/public-api.d.ts +3 -0
  499. package/src/card/card.component.d.ts +37 -0
  500. package/src/card/card.module.d.ts +8 -0
  501. package/src/card/index.d.ts +5 -0
  502. package/src/card/public-api.d.ts +2 -0
  503. package/src/carousel/carousel.component.d.ts +28 -0
  504. package/src/carousel/carousel.module.d.ts +8 -0
  505. package/src/carousel/index.d.ts +5 -0
  506. package/src/carousel/public-api.d.ts +2 -0
  507. package/src/chart/chart.component.d.ts +44 -0
  508. package/src/chart/chart.module.d.ts +8 -0
  509. package/src/chart/index.d.ts +5 -0
  510. package/src/chart/public-api.d.ts +2 -0
  511. package/src/checkbox/checkbox.component.d.ts +17 -0
  512. package/src/checkbox/checkbox.module.d.ts +8 -0
  513. package/src/checkbox/index.d.ts +5 -0
  514. package/src/checkbox/public-api.d.ts +2 -0
  515. package/src/collapsible/collapsible.component.d.ts +14 -0
  516. package/src/collapsible/collapsible.module.d.ts +8 -0
  517. package/src/collapsible/index.d.ts +5 -0
  518. package/src/collapsible/public-api.d.ts +2 -0
  519. package/src/combobox/combobox.component.d.ts +35 -0
  520. package/src/combobox/combobox.module.d.ts +9 -0
  521. package/src/combobox/index.d.ts +5 -0
  522. package/src/combobox/public-api.d.ts +2 -0
  523. package/src/command/command.component.d.ts +33 -0
  524. package/src/command/command.module.d.ts +9 -0
  525. package/src/command/index.d.ts +5 -0
  526. package/src/command/public-api.d.ts +2 -0
  527. package/src/context-menu/context-menu.component.d.ts +38 -0
  528. package/src/context-menu/context-menu.module.d.ts +9 -0
  529. package/src/context-menu/index.d.ts +5 -0
  530. package/src/context-menu/public-api.d.ts +2 -0
  531. package/src/data-table/data-table.component.d.ts +200 -0
  532. package/src/data-table/data-table.module.d.ts +10 -0
  533. package/src/data-table/draggable-table.component.d.ts +74 -0
  534. package/src/data-table/index.d.ts +5 -0
  535. package/src/data-table/public-api.d.ts +4 -0
  536. package/src/data-table/table.component.d.ts +55 -0
  537. package/src/dialog/dialog.component.d.ts +72 -0
  538. package/src/dialog/dialog.module.d.ts +8 -0
  539. package/src/dialog/index.d.ts +5 -0
  540. package/src/dialog/public-api.d.ts +2 -0
  541. package/src/drawer/drawer.component.d.ts +96 -0
  542. package/src/drawer/drawer.module.d.ts +10 -0
  543. package/src/drawer/index.d.ts +5 -0
  544. package/src/drawer/public-api.d.ts +3 -0
  545. package/src/drawer/sheet.component.d.ts +46 -0
  546. package/src/dropdown-menu/dropdown-menu.component.d.ts +61 -0
  547. package/src/dropdown-menu/dropdown-menu.module.d.ts +9 -0
  548. package/src/dropdown-menu/index.d.ts +5 -0
  549. package/src/dropdown-menu/public-api.d.ts +2 -0
  550. package/src/empty/empty.component.d.ts +19 -0
  551. package/src/empty/empty.module.d.ts +10 -0
  552. package/src/empty/index.d.ts +5 -0
  553. package/src/empty/public-api.d.ts +2 -0
  554. package/src/field/field.component.d.ts +23 -0
  555. package/src/field/field.module.d.ts +8 -0
  556. package/src/field/index.d.ts +5 -0
  557. package/src/field/public-api.d.ts +2 -0
  558. package/src/hover-card/hover-card.component.d.ts +37 -0
  559. package/src/hover-card/hover-card.module.d.ts +9 -0
  560. package/src/hover-card/index.d.ts +5 -0
  561. package/src/hover-card/public-api.d.ts +2 -0
  562. package/src/icon/icon.component.d.ts +28 -0
  563. package/src/icon/icon.module.d.ts +8 -0
  564. package/src/icon/index.d.ts +5 -0
  565. package/src/icon/public-api.d.ts +2 -0
  566. package/src/input/index.d.ts +5 -0
  567. package/src/input/input-group.component.d.ts +22 -0
  568. package/src/input/input-otp.component.d.ts +26 -0
  569. package/src/input/input-password.component.d.ts +28 -0
  570. package/src/input/input.component.d.ts +27 -0
  571. package/src/input/input.module.d.ts +13 -0
  572. package/src/input/public-api.d.ts +6 -0
  573. package/src/input/textarea.component.d.ts +21 -0
  574. package/src/item/index.d.ts +5 -0
  575. package/src/item/item.component.d.ts +8 -0
  576. package/src/item/item.module.d.ts +8 -0
  577. package/src/item/public-api.d.ts +2 -0
  578. package/src/kbd/index.d.ts +5 -0
  579. package/src/kbd/kbd.component.d.ts +6 -0
  580. package/src/kbd/kbd.module.d.ts +8 -0
  581. package/src/kbd/public-api.d.ts +2 -0
  582. package/src/label/index.d.ts +5 -0
  583. package/src/label/label.component.d.ts +8 -0
  584. package/src/label/label.module.d.ts +8 -0
  585. package/src/label/public-api.d.ts +2 -0
  586. package/src/menubar/index.d.ts +5 -0
  587. package/src/menubar/menubar.component.d.ts +34 -0
  588. package/src/menubar/menubar.module.d.ts +9 -0
  589. package/src/menubar/public-api.d.ts +2 -0
  590. package/src/native-select/index.d.ts +5 -0
  591. package/src/native-select/native-select.component.d.ts +20 -0
  592. package/src/native-select/native-select.module.d.ts +9 -0
  593. package/src/native-select/public-api.d.ts +2 -0
  594. package/src/navigation-menu/index.d.ts +5 -0
  595. package/src/navigation-menu/navigation-menu.component.d.ts +33 -0
  596. package/src/navigation-menu/navigation-menu.module.d.ts +8 -0
  597. package/src/navigation-menu/public-api.d.ts +2 -0
  598. package/src/overlay/create-flexible-position-strategy.d.ts +15 -0
  599. package/src/overlay/index.d.ts +5 -0
  600. package/src/overlay/pdm-outside-click.directive.d.ts +40 -0
  601. package/src/overlay/pdm-outside-click.module.d.ts +8 -0
  602. package/src/overlay/pdm-overlay-options.d.ts +21 -0
  603. package/src/overlay/public-api.d.ts +5 -0
  604. package/src/overlay/z-index-helper.d.ts +36 -0
  605. package/src/pagination/index.d.ts +5 -0
  606. package/src/pagination/pagination.component.d.ts +21 -0
  607. package/src/pagination/pagination.module.d.ts +10 -0
  608. package/src/pagination/public-api.d.ts +2 -0
  609. package/src/popover/index.d.ts +5 -0
  610. package/src/popover/popover.component.d.ts +32 -0
  611. package/src/popover/popover.module.d.ts +9 -0
  612. package/src/popover/public-api.d.ts +2 -0
  613. package/src/progress/index.d.ts +5 -0
  614. package/src/progress/progress.component.d.ts +10 -0
  615. package/src/progress/progress.module.d.ts +8 -0
  616. package/src/progress/public-api.d.ts +2 -0
  617. package/src/radio-group/index.d.ts +5 -0
  618. package/src/radio-group/public-api.d.ts +2 -0
  619. package/src/radio-group/radio-group.component.d.ts +19 -0
  620. package/src/radio-group/radio-group.module.d.ts +8 -0
  621. package/src/scroll-area/index.d.ts +5 -0
  622. package/src/scroll-area/public-api.d.ts +2 -0
  623. package/src/scroll-area/scroll-area.component.d.ts +7 -0
  624. package/src/scroll-area/scroll-area.module.d.ts +8 -0
  625. package/src/select/index.d.ts +5 -0
  626. package/src/select/public-api.d.ts +3 -0
  627. package/src/select/select-option.directive.d.ts +34 -0
  628. package/src/select/select.component.d.ts +55 -0
  629. package/src/select/select.module.d.ts +11 -0
  630. package/src/separator/index.d.ts +5 -0
  631. package/src/separator/public-api.d.ts +2 -0
  632. package/src/separator/separator.component.d.ts +9 -0
  633. package/src/separator/separator.module.d.ts +8 -0
  634. package/src/sidebar/index.d.ts +5 -0
  635. package/src/sidebar/public-api.d.ts +2 -0
  636. package/src/sidebar/sidebar.component.d.ts +45 -0
  637. package/src/sidebar/sidebar.module.d.ts +8 -0
  638. package/src/skeleton/index.d.ts +5 -0
  639. package/src/skeleton/public-api.d.ts +2 -0
  640. package/src/skeleton/skeleton.component.d.ts +6 -0
  641. package/src/skeleton/skeleton.module.d.ts +8 -0
  642. package/src/slider/index.d.ts +5 -0
  643. package/src/slider/public-api.d.ts +2 -0
  644. package/src/slider/slider.component.d.ts +15 -0
  645. package/src/slider/slider.module.d.ts +8 -0
  646. package/src/sonner/index.d.ts +5 -0
  647. package/src/sonner/public-api.d.ts +2 -0
  648. package/src/sonner/sonner.component.d.ts +13 -0
  649. package/src/sonner/sonner.module.d.ts +9 -0
  650. package/src/spinner/index.d.ts +5 -0
  651. package/src/spinner/public-api.d.ts +2 -0
  652. package/src/spinner/spinner.component.d.ts +7 -0
  653. package/src/spinner/spinner.module.d.ts +8 -0
  654. package/src/switch/index.d.ts +5 -0
  655. package/src/switch/public-api.d.ts +2 -0
  656. package/src/switch/switch.component.d.ts +18 -0
  657. package/src/switch/switch.module.d.ts +8 -0
  658. package/src/tabs/index.d.ts +5 -0
  659. package/src/tabs/public-api.d.ts +2 -0
  660. package/src/tabs/tabs.component.d.ts +18 -0
  661. package/src/tabs/tabs.module.d.ts +8 -0
  662. package/src/toggle/index.d.ts +5 -0
  663. package/src/toggle/public-api.d.ts +3 -0
  664. package/src/toggle/toggle-group.component.d.ts +16 -0
  665. package/src/toggle/toggle.component.d.ts +14 -0
  666. package/src/toggle/toggle.module.d.ts +9 -0
  667. package/src/tooltip/index.d.ts +5 -0
  668. package/src/tooltip/public-api.d.ts +2 -0
  669. package/src/tooltip/tooltip.component.d.ts +28 -0
  670. package/src/tooltip/tooltip.module.d.ts +9 -0
  671. package/src/utils/index.d.ts +5 -0
  672. package/src/utils/public-api.d.ts +2 -0
  673. package/src/utils/responsive.d.ts +107 -0
  674. package/src/utils/z-index.d.ts +69 -0
  675. package/accordion/index.d.ts +0 -2
  676. package/accordion/index.mjs +0 -2
  677. package/alert/index.d.ts +0 -3
  678. package/alert/index.mjs +0 -3
  679. package/aspect-ratio/index.d.ts +0 -2
  680. package/aspect-ratio/index.mjs +0 -2
  681. package/avatar/index.d.ts +0 -2
  682. package/avatar/index.mjs +0 -2
  683. package/badge/index.d.ts +0 -2
  684. package/badge/index.mjs +0 -2
  685. package/breadcrumb/index.d.ts +0 -2
  686. package/breadcrumb/index.mjs +0 -2
  687. package/button/index.d.ts +0 -3
  688. package/button/index.mjs +0 -3
  689. package/calendar/index.d.ts +0 -3
  690. package/calendar/index.mjs +0 -3
  691. package/card/index.d.ts +0 -2
  692. package/card/index.mjs +0 -2
  693. package/carousel/index.d.ts +0 -2
  694. package/carousel/index.mjs +0 -2
  695. package/chart/index.d.ts +0 -2
  696. package/chart/index.mjs +0 -2
  697. package/checkbox/index.d.ts +0 -2
  698. package/checkbox/index.mjs +0 -2
  699. package/collapsible/index.d.ts +0 -2
  700. package/collapsible/index.mjs +0 -2
  701. package/combobox/index.d.ts +0 -2
  702. package/combobox/index.mjs +0 -2
  703. package/command/index.d.ts +0 -2
  704. package/command/index.mjs +0 -2
  705. package/context-menu/index.d.ts +0 -2
  706. package/context-menu/index.mjs +0 -2
  707. package/data-table/index.d.ts +0 -4
  708. package/data-table/index.mjs +0 -4
  709. package/dialog/index.d.ts +0 -2
  710. package/dialog/index.mjs +0 -2
  711. package/drawer/index.d.ts +0 -3
  712. package/drawer/index.mjs +0 -3
  713. package/dropdown-menu/index.d.ts +0 -2
  714. package/dropdown-menu/index.mjs +0 -2
  715. package/empty/index.d.ts +0 -2
  716. package/empty/index.mjs +0 -2
  717. package/field/index.d.ts +0 -2
  718. package/field/index.mjs +0 -2
  719. package/hover-card/index.d.ts +0 -2
  720. package/hover-card/index.mjs +0 -2
  721. package/icon/index.d.ts +0 -2
  722. package/icon/index.mjs +0 -2
  723. package/input/index.d.ts +0 -6
  724. package/input/index.mjs +0 -6
  725. package/item/index.d.ts +0 -2
  726. package/item/index.mjs +0 -2
  727. package/kbd/index.d.ts +0 -2
  728. package/kbd/index.mjs +0 -2
  729. package/label/index.d.ts +0 -2
  730. package/label/index.mjs +0 -2
  731. package/menubar/index.d.ts +0 -2
  732. package/menubar/index.mjs +0 -2
  733. package/native-select/index.d.ts +0 -2
  734. package/native-select/index.mjs +0 -2
  735. package/navigation-menu/index.d.ts +0 -2
  736. package/navigation-menu/index.mjs +0 -2
  737. package/overlay/index.d.ts +0 -8
  738. package/overlay/index.mjs +0 -8
  739. package/pagination/index.d.ts +0 -2
  740. package/pagination/index.mjs +0 -2
  741. package/popover/index.d.ts +0 -2
  742. package/popover/index.mjs +0 -2
  743. package/progress/index.d.ts +0 -2
  744. package/progress/index.mjs +0 -2
  745. package/radio-group/index.d.ts +0 -2
  746. package/radio-group/index.mjs +0 -2
  747. package/scroll-area/index.d.ts +0 -2
  748. package/scroll-area/index.mjs +0 -2
  749. package/select/index.d.ts +0 -3
  750. package/select/index.mjs +0 -3
  751. package/separator/index.d.ts +0 -2
  752. package/separator/index.mjs +0 -2
  753. package/sidebar/index.d.ts +0 -2
  754. package/sidebar/index.mjs +0 -2
  755. package/skeleton/index.d.ts +0 -2
  756. package/skeleton/index.mjs +0 -2
  757. package/slider/index.d.ts +0 -2
  758. package/slider/index.mjs +0 -2
  759. package/sonner/index.d.ts +0 -2
  760. package/sonner/index.mjs +0 -2
  761. package/spinner/index.d.ts +0 -2
  762. package/spinner/index.mjs +0 -2
  763. package/switch/index.d.ts +0 -2
  764. package/switch/index.mjs +0 -2
  765. package/tabs/index.d.ts +0 -2
  766. package/tabs/index.mjs +0 -2
  767. package/toggle/index.d.ts +0 -3
  768. package/toggle/index.mjs +0 -3
  769. package/tooltip/index.d.ts +0 -2
  770. package/tooltip/index.mjs +0 -2
  771. package/utils/index.d.ts +0 -3
  772. package/utils/index.mjs +0 -3
@@ -0,0 +1,56 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+
6
+ class PdmAspectRatioComponent {
7
+ constructor() {
8
+ this.ratio = 16 / 9;
9
+ this.imageSrc = '';
10
+ this.imageAlt = '';
11
+ this.className = '';
12
+ }
13
+ get paddingTop() {
14
+ if (!this.ratio || this.ratio <= 0)
15
+ return '56.25%';
16
+ return (100 / this.ratio).toFixed(4) + '%';
17
+ }
18
+ }
19
+ PdmAspectRatioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
20
+ PdmAspectRatioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmAspectRatioComponent, selector: "pdm-aspect-ratio", inputs: { ratio: "ratio", imageSrc: "imageSrc", imageAlt: "imageAlt", className: "className" }, ngImport: i0, template: "<div class=\"relative w-full\" [ngClass]=\"className\" [style.paddingTop]=\"paddingTop\">\n <div class=\"absolute inset-0 overflow-hidden rounded-lg\">\n <img\n *ngIf=\"imageSrc\"\n [src]=\"imageSrc\"\n [alt]=\"imageAlt\"\n class=\"pointer-events-none h-full w-full rounded-lg object-cover\"\n />\n <ng-content></ng-content>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioComponent, decorators: [{
22
+ type: Component,
23
+ args: [{ selector: 'pdm-aspect-ratio', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"relative w-full\" [ngClass]=\"className\" [style.paddingTop]=\"paddingTop\">\n <div class=\"absolute inset-0 overflow-hidden rounded-lg\">\n <img\n *ngIf=\"imageSrc\"\n [src]=\"imageSrc\"\n [alt]=\"imageAlt\"\n class=\"pointer-events-none h-full w-full rounded-lg object-cover\"\n />\n <ng-content></ng-content>\n </div>\n</div>\n" }]
24
+ }], propDecorators: { ratio: [{
25
+ type: Input
26
+ }], imageSrc: [{
27
+ type: Input
28
+ }], imageAlt: [{
29
+ type: Input
30
+ }], className: [{
31
+ type: Input
32
+ }] } });
33
+
34
+ const COMPONENTS = [
35
+ PdmAspectRatioComponent,
36
+ ];
37
+ class PdmAspectRatioModule {
38
+ }
39
+ PdmAspectRatioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
40
+ PdmAspectRatioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioModule, declarations: [PdmAspectRatioComponent], imports: [CommonModule], exports: [PdmAspectRatioComponent] });
41
+ PdmAspectRatioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioModule, imports: [CommonModule] });
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioModule, decorators: [{
43
+ type: NgModule,
44
+ args: [{
45
+ imports: [CommonModule],
46
+ declarations: COMPONENTS,
47
+ exports: COMPONENTS
48
+ }]
49
+ }] });
50
+
51
+ /**
52
+ * Generated bundle index. Do not edit.
53
+ */
54
+
55
+ export { PdmAspectRatioComponent, PdmAspectRatioModule };
56
+ //# sourceMappingURL=pdm-ui-kit-src-aspect-ratio.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdm-ui-kit-src-aspect-ratio.mjs","sources":["../../../src/aspect-ratio/aspect-ratio.component.ts","../../../src/aspect-ratio/aspect-ratio.component.html","../../../src/aspect-ratio/aspect-ratio.module.ts","../../../src/aspect-ratio/pdm-ui-kit-src-aspect-ratio.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'pdm-aspect-ratio',\n templateUrl: './aspect-ratio.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class PdmAspectRatioComponent {\n @Input() ratio = 16 / 9;\n @Input() imageSrc = '';\n @Input() imageAlt = '';\n @Input() className = '';\n\n get paddingTop(): string {\n if (!this.ratio || this.ratio <= 0) return '56.25%';\n return (100 / this.ratio).toFixed(4) + '%';\n }\n}\n","<div class=\"relative w-full\" [ngClass]=\"className\" [style.paddingTop]=\"paddingTop\">\n <div class=\"absolute inset-0 overflow-hidden rounded-lg\">\n <img\n *ngIf=\"imageSrc\"\n [src]=\"imageSrc\"\n [alt]=\"imageAlt\"\n class=\"pointer-events-none h-full w-full rounded-lg object-cover\"\n />\n <ng-content></ng-content>\n </div>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { PdmAspectRatioComponent } from './aspect-ratio.component';\n\nconst COMPONENTS = [\n PdmAspectRatioComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: COMPONENTS,\n exports: COMPONENTS\n})\nexport class PdmAspectRatioModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAOa,uBAAuB,CAAA;AALpC,IAAA,WAAA,GAAA;AAMW,QAAA,IAAA,CAAA,KAAK,GAAG,EAAE,GAAG,CAAC,CAAC;AACf,QAAA,IAAQ,CAAA,QAAA,GAAG,EAAE,CAAC;AACd,QAAA,IAAQ,CAAA,QAAA,GAAG,EAAE,CAAC;AACd,QAAA,IAAS,CAAA,SAAA,GAAG,EAAE,CAAC;KAMzB;AAJC,IAAA,IAAI,UAAU,GAAA;QACZ,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,IAAI,CAAC;AAAE,YAAA,OAAO,QAAQ,CAAC;AACpD,QAAA,OAAO,CAAC,GAAG,GAAG,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC;KAC5C;;oHATU,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAvB,uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,uBAAuB,wJCPpC,wXAWA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;2FDJa,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBALnC,SAAS;+BACE,kBAAkB,EAAA,eAAA,EAEX,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,wXAAA,EAAA,CAAA;8BAGtC,KAAK,EAAA,CAAA;sBAAb,KAAK;gBACG,QAAQ,EAAA,CAAA;sBAAhB,KAAK;gBACG,QAAQ,EAAA,CAAA;sBAAhB,KAAK;gBACG,SAAS,EAAA,CAAA;sBAAjB,KAAK;;;AEPR,MAAM,UAAU,GAAG;IACjB,uBAAuB;CACxB,CAAC;MAOW,oBAAoB,CAAA;;iHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,EAR/B,YAAA,EAAA,CAAA,uBAAuB,CAIb,EAAA,OAAA,EAAA,CAAA,YAAY,aAJtB,uBAAuB,CAAA,EAAA,CAAA,CAAA;AAQZ,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAJrB,YAAY,CAAA,EAAA,CAAA,CAAA;2FAIX,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,YAAY,EAAE,UAAU;AACxB,oBAAA,OAAO,EAAE,UAAU;iBACpB,CAAA;;;ACZD;;AAEG;;;;"}
@@ -0,0 +1,71 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+
6
+ class PdmAvatarComponent {
7
+ constructor() {
8
+ this.src = '';
9
+ this.alt = 'Avatar';
10
+ this.fallback = 'U';
11
+ this.shape = 'circle';
12
+ this.size = 'md';
13
+ this.groupSources = [];
14
+ this.className = '';
15
+ this.sizeClasses = {
16
+ sm: 'h-8 w-8',
17
+ md: 'h-10 w-10',
18
+ lg: 'h-12 w-12'
19
+ };
20
+ }
21
+ get isGroup() {
22
+ return this.groupSources.length > 0;
23
+ }
24
+ get radiusClass() {
25
+ return this.shape === 'square' ? 'rounded-[8px]' : 'rounded-full';
26
+ }
27
+ }
28
+ PdmAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
29
+ PdmAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmAvatarComponent, selector: "pdm-avatar", inputs: { src: "src", alt: "alt", fallback: "fallback", shape: "shape", size: "size", groupSources: "groupSources", className: "className" }, ngImport: i0, template: "<div *ngIf=\"!isGroup\" [ngClass]=\"['relative flex shrink-0 overflow-hidden', radiusClass, sizeClasses[size], className]\">\n <img *ngIf=\"src\" [src]=\"src\" [alt]=\"alt\" [ngClass]=\"['aspect-square h-full w-full object-cover', radiusClass]\" />\n <div\n *ngIf=\"!src\"\n [ngClass]=\"['flex h-full w-full items-center justify-center bg-muted text-xs text-muted-foreground', radiusClass]\"\n >\n {{ fallback }}\n </div>\n</div>\n\n<div *ngIf=\"isGroup\" [ngClass]=\"['inline-flex items-center pr-2', className]\">\n <div\n *ngFor=\"let groupSrc of groupSources; let i = index\"\n [ngClass]=\"[\n 'relative h-8 w-8 shrink-0 overflow-hidden rounded-full',\n i > 0 ? '-mr-2 border border-solid border-border' : '-mr-2'\n ]\"\n >\n <img [src]=\"groupSrc\" [alt]=\"alt + ' ' + (i + 1)\" class=\"h-full w-full rounded-full object-cover\" />\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAvatarComponent, decorators: [{
31
+ type: Component,
32
+ args: [{ selector: 'pdm-avatar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"!isGroup\" [ngClass]=\"['relative flex shrink-0 overflow-hidden', radiusClass, sizeClasses[size], className]\">\n <img *ngIf=\"src\" [src]=\"src\" [alt]=\"alt\" [ngClass]=\"['aspect-square h-full w-full object-cover', radiusClass]\" />\n <div\n *ngIf=\"!src\"\n [ngClass]=\"['flex h-full w-full items-center justify-center bg-muted text-xs text-muted-foreground', radiusClass]\"\n >\n {{ fallback }}\n </div>\n</div>\n\n<div *ngIf=\"isGroup\" [ngClass]=\"['inline-flex items-center pr-2', className]\">\n <div\n *ngFor=\"let groupSrc of groupSources; let i = index\"\n [ngClass]=\"[\n 'relative h-8 w-8 shrink-0 overflow-hidden rounded-full',\n i > 0 ? '-mr-2 border border-solid border-border' : '-mr-2'\n ]\"\n >\n <img [src]=\"groupSrc\" [alt]=\"alt + ' ' + (i + 1)\" class=\"h-full w-full rounded-full object-cover\" />\n </div>\n</div>\n" }]
33
+ }], propDecorators: { src: [{
34
+ type: Input
35
+ }], alt: [{
36
+ type: Input
37
+ }], fallback: [{
38
+ type: Input
39
+ }], shape: [{
40
+ type: Input
41
+ }], size: [{
42
+ type: Input
43
+ }], groupSources: [{
44
+ type: Input
45
+ }], className: [{
46
+ type: Input
47
+ }] } });
48
+
49
+ const COMPONENTS = [
50
+ PdmAvatarComponent,
51
+ ];
52
+ class PdmAvatarModule {
53
+ }
54
+ PdmAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
55
+ PdmAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmAvatarModule, declarations: [PdmAvatarComponent], imports: [CommonModule], exports: [PdmAvatarComponent] });
56
+ PdmAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAvatarModule, imports: [CommonModule] });
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAvatarModule, decorators: [{
58
+ type: NgModule,
59
+ args: [{
60
+ imports: [CommonModule],
61
+ declarations: COMPONENTS,
62
+ exports: COMPONENTS
63
+ }]
64
+ }] });
65
+
66
+ /**
67
+ * Generated bundle index. Do not edit.
68
+ */
69
+
70
+ export { PdmAvatarComponent, PdmAvatarModule };
71
+ //# sourceMappingURL=pdm-ui-kit-src-avatar.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdm-ui-kit-src-avatar.mjs","sources":["../../../src/avatar/avatar.component.ts","../../../src/avatar/avatar.component.html","../../../src/avatar/avatar.module.ts","../../../src/avatar/pdm-ui-kit-src-avatar.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\nexport type PdmAvatarShape = 'circle' | 'square';\n\n@Component({\n selector: 'pdm-avatar',\n templateUrl: './avatar.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class PdmAvatarComponent {\n @Input() src = '';\n @Input() alt = 'Avatar';\n @Input() fallback = 'U';\n @Input() shape: PdmAvatarShape = 'circle';\n @Input() size: 'sm' | 'md' | 'lg' = 'md';\n @Input() groupSources: string[] = [];\n @Input() className = '';\n\n readonly sizeClasses = {\n sm: 'h-8 w-8',\n md: 'h-10 w-10',\n lg: 'h-12 w-12'\n };\n\n get isGroup(): boolean {\n return this.groupSources.length > 0;\n }\n\n get radiusClass(): string {\n return this.shape === 'square' ? 'rounded-[8px]' : 'rounded-full';\n }\n}\n","<div *ngIf=\"!isGroup\" [ngClass]=\"['relative flex shrink-0 overflow-hidden', radiusClass, sizeClasses[size], className]\">\n <img *ngIf=\"src\" [src]=\"src\" [alt]=\"alt\" [ngClass]=\"['aspect-square h-full w-full object-cover', radiusClass]\" />\n <div\n *ngIf=\"!src\"\n [ngClass]=\"['flex h-full w-full items-center justify-center bg-muted text-xs text-muted-foreground', radiusClass]\"\n >\n {{ fallback }}\n </div>\n</div>\n\n<div *ngIf=\"isGroup\" [ngClass]=\"['inline-flex items-center pr-2', className]\">\n <div\n *ngFor=\"let groupSrc of groupSources; let i = index\"\n [ngClass]=\"[\n 'relative h-8 w-8 shrink-0 overflow-hidden rounded-full',\n i > 0 ? '-mr-2 border border-solid border-border' : '-mr-2'\n ]\"\n >\n <img [src]=\"groupSrc\" [alt]=\"alt + ' ' + (i + 1)\" class=\"h-full w-full rounded-full object-cover\" />\n </div>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { PdmAvatarComponent } from './avatar.component';\n\nconst COMPONENTS = [\n PdmAvatarComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: COMPONENTS,\n exports: COMPONENTS\n})\nexport class PdmAvatarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"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"}
@@ -0,0 +1,48 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+
6
+ class PdmBadgeComponent {
7
+ constructor() {
8
+ this.variant = 'default';
9
+ this.text = 'Badge';
10
+ this.className = '';
11
+ }
12
+ }
13
+ PdmBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
+ PdmBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmBadgeComponent, selector: "pdm-badge", inputs: { variant: "variant", text: "text", className: "className" }, ngImport: i0, template: "<span\n [ngClass]=\"[\n 'inline-flex items-center justify-center text-center align-middle rounded-full px-2.5 py-0.5 text-xs font-semibold',\n variant === 'default' ? 'bg-primary text-primary-foreground' : '',\n variant === 'secondary' ? 'bg-secondary text-secondary-foreground' : '',\n variant === 'destructive' ? 'bg-destructive text-destructive-foreground' : '',\n variant === 'outline' ? 'border border-solid border-input text-foreground' : '',\n variant === 'icon' ? 'gap-1 bg-primary text-primary-foreground' : '',\n variant === 'number' ? 'min-w-5 rounded-full bg-primary px-1.5 text-primary-foreground' : '',\n variant === 'destructive-number' ? 'min-w-5 rounded-full bg-destructive px-1.5 text-destructive-foreground' : '',\n variant === 'secondary-number' ? 'min-w-5 rounded-full border border-solid border-input px-1.5 text-foreground' : '',\n className\n ]\"\n>\n <svg\n *ngIf=\"variant === 'icon'\"\n viewBox=\"0 0 24 24\"\n class=\"h-4 w-4\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n >\n <circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"currentColor\" stroke-width=\"1.5\"></circle>\n <path d=\"M8.5 12.5L10.8 14.8L15.8 9.8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>\n <span [ngClass]=\"[variant === 'secondary-number' ? 'font-mono' : '']\">{{ text }}</span>\n</span>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeComponent, decorators: [{
16
+ type: Component,
17
+ args: [{ selector: 'pdm-badge', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span\n [ngClass]=\"[\n 'inline-flex items-center justify-center text-center align-middle rounded-full px-2.5 py-0.5 text-xs font-semibold',\n variant === 'default' ? 'bg-primary text-primary-foreground' : '',\n variant === 'secondary' ? 'bg-secondary text-secondary-foreground' : '',\n variant === 'destructive' ? 'bg-destructive text-destructive-foreground' : '',\n variant === 'outline' ? 'border border-solid border-input text-foreground' : '',\n variant === 'icon' ? 'gap-1 bg-primary text-primary-foreground' : '',\n variant === 'number' ? 'min-w-5 rounded-full bg-primary px-1.5 text-primary-foreground' : '',\n variant === 'destructive-number' ? 'min-w-5 rounded-full bg-destructive px-1.5 text-destructive-foreground' : '',\n variant === 'secondary-number' ? 'min-w-5 rounded-full border border-solid border-input px-1.5 text-foreground' : '',\n className\n ]\"\n>\n <svg\n *ngIf=\"variant === 'icon'\"\n viewBox=\"0 0 24 24\"\n class=\"h-4 w-4\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n >\n <circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"currentColor\" stroke-width=\"1.5\"></circle>\n <path d=\"M8.5 12.5L10.8 14.8L15.8 9.8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>\n <span [ngClass]=\"[variant === 'secondary-number' ? 'font-mono' : '']\">{{ text }}</span>\n</span>\n" }]
18
+ }], propDecorators: { variant: [{
19
+ type: Input
20
+ }], text: [{
21
+ type: Input
22
+ }], className: [{
23
+ type: Input
24
+ }] } });
25
+
26
+ const COMPONENTS = [
27
+ PdmBadgeComponent,
28
+ ];
29
+ class PdmBadgeModule {
30
+ }
31
+ PdmBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
32
+ PdmBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeModule, declarations: [PdmBadgeComponent], imports: [CommonModule], exports: [PdmBadgeComponent] });
33
+ PdmBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeModule, imports: [CommonModule] });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeModule, decorators: [{
35
+ type: NgModule,
36
+ args: [{
37
+ imports: [CommonModule],
38
+ declarations: COMPONENTS,
39
+ exports: COMPONENTS
40
+ }]
41
+ }] });
42
+
43
+ /**
44
+ * Generated bundle index. Do not edit.
45
+ */
46
+
47
+ export { PdmBadgeComponent, PdmBadgeModule };
48
+ //# sourceMappingURL=pdm-ui-kit-src-badge.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdm-ui-kit-src-badge.mjs","sources":["../../../src/badge/badge.component.ts","../../../src/badge/badge.component.html","../../../src/badge/badge.module.ts","../../../src/badge/pdm-ui-kit-src-badge.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\nexport type PdmBadgeVariant =\n | 'default'\n | 'secondary'\n | 'destructive'\n | 'outline'\n | 'icon'\n | 'number'\n | 'destructive-number'\n | 'secondary-number';\n\n@Component({\n selector: 'pdm-badge',\n templateUrl: './badge.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class PdmBadgeComponent {\n @Input() variant: PdmBadgeVariant = 'default';\n @Input() text = 'Badge';\n @Input() className = '';\n}\n\n","<span\n [ngClass]=\"[\n 'inline-flex items-center justify-center text-center align-middle rounded-full px-2.5 py-0.5 text-xs font-semibold',\n variant === 'default' ? 'bg-primary text-primary-foreground' : '',\n variant === 'secondary' ? 'bg-secondary text-secondary-foreground' : '',\n variant === 'destructive' ? 'bg-destructive text-destructive-foreground' : '',\n variant === 'outline' ? 'border border-solid border-input text-foreground' : '',\n variant === 'icon' ? 'gap-1 bg-primary text-primary-foreground' : '',\n variant === 'number' ? 'min-w-5 rounded-full bg-primary px-1.5 text-primary-foreground' : '',\n variant === 'destructive-number' ? 'min-w-5 rounded-full bg-destructive px-1.5 text-destructive-foreground' : '',\n variant === 'secondary-number' ? 'min-w-5 rounded-full border border-solid border-input px-1.5 text-foreground' : '',\n className\n ]\"\n>\n <svg\n *ngIf=\"variant === 'icon'\"\n viewBox=\"0 0 24 24\"\n class=\"h-4 w-4\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n >\n <circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"currentColor\" stroke-width=\"1.5\"></circle>\n <path d=\"M8.5 12.5L10.8 14.8L15.8 9.8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>\n <span [ngClass]=\"[variant === 'secondary-number' ? 'font-mono' : '']\">{{ text }}</span>\n</span>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { PdmBadgeComponent } from './badge.component';\n\nconst COMPONENTS = [\n PdmBadgeComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: COMPONENTS,\n exports: COMPONENTS\n})\nexport class PdmBadgeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAiBa,iBAAiB,CAAA;AAL9B,IAAA,WAAA,GAAA;AAMW,QAAA,IAAO,CAAA,OAAA,GAAoB,SAAS,CAAC;AACrC,QAAA,IAAI,CAAA,IAAA,GAAG,OAAO,CAAC;AACf,QAAA,IAAS,CAAA,SAAA,GAAG,EAAE,CAAC;KACzB;;8GAJY,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,iBAAiB,uHCjB9B,26CA2BA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;2FDVa,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAL7B,SAAS;+BACE,WAAW,EAAA,eAAA,EAEJ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,26CAAA,EAAA,CAAA;8BAGtC,OAAO,EAAA,CAAA;sBAAf,KAAK;gBACG,IAAI,EAAA,CAAA;sBAAZ,KAAK;gBACG,SAAS,EAAA,CAAA;sBAAjB,KAAK;;;AEhBR,MAAM,UAAU,GAAG;IACjB,iBAAiB;CAClB,CAAC;MAOW,cAAc,CAAA;;2GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAd,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,EARzB,YAAA,EAAA,CAAA,iBAAiB,CAIP,EAAA,OAAA,EAAA,CAAA,YAAY,aAJtB,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAQN,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAJf,YAAY,CAAA,EAAA,CAAA,CAAA;2FAIX,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,YAAY,EAAE,UAAU;AACxB,oBAAA,OAAO,EAAE,UAAU;iBACpB,CAAA;;;ACZD;;AAEG;;;;"}
@@ -0,0 +1,87 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+
6
+ /**
7
+ * Breadcrumb component con soporte responsive
8
+ *
9
+ * MEJORADO en v0.2.0:
10
+ * - Modo responsive real con overflow-x-auto
11
+ * - Collapse inteligente en mobile
12
+ *
13
+ * @example
14
+ * <pdm-breadcrumb
15
+ * mode="responsive"
16
+ * [items]="['Home', 'Products', 'Electronics', 'Laptops']">
17
+ * </pdm-breadcrumb>
18
+ */
19
+ class PdmBreadcrumbComponent {
20
+ constructor() {
21
+ this.mode = 'link-component';
22
+ this.items = ['Home', 'Components', 'Breadcrumb'];
23
+ this.className = '';
24
+ /**
25
+ * Cantidad mínima de items para mostrar en mobile cuando mode="responsive"
26
+ * Default: 2 (primer y último item)
27
+ */
28
+ this.minItemsMobile = 2;
29
+ }
30
+ get renderedItems() {
31
+ if (this.mode === 'collapsed' && this.items.length > 3) {
32
+ return [this.items[0], '...', this.items[this.items.length - 2], this.items[this.items.length - 1]];
33
+ }
34
+ // Responsive mode: no collapse en el TS, se maneja en el template con CSS
35
+ return this.items;
36
+ }
37
+ /**
38
+ * Determina si un item debe estar visible en mobile (modo responsive)
39
+ */
40
+ shouldShowInMobile(index) {
41
+ if (this.mode !== 'responsive')
42
+ return true;
43
+ const totalItems = this.items.length;
44
+ if (totalItems <= this.minItemsMobile)
45
+ return true;
46
+ // Siempre mostrar primero y último
47
+ return index === 0 || index === totalItems - 1;
48
+ }
49
+ }
50
+ PdmBreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
51
+ PdmBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmBreadcrumbComponent, selector: "pdm-breadcrumb", inputs: { mode: "mode", items: "items", className: "className", minItemsMobile: "minItemsMobile" }, ngImport: i0, template: "<nav\n aria-label=\"breadcrumb\"\n [ngClass]=\"[\n 'inline-flex items-center gap-1.5 text-sm',\n mode === 'responsive' ? 'overflow-x-auto max-w-full pb-1 scrollbar-thin' : '',\n className\n ]\"\n>\n <ng-container *ngFor=\"let item of renderedItems; let i = index; let last = last\">\n <!-- Item text -->\n <span \n [ngClass]=\"[\n last ? 'text-foreground font-medium' : 'text-muted-foreground hover:text-foreground transition-colors cursor-pointer',\n mode === 'responsive' && !shouldShowInMobile(i) ? 'hidden sm:inline' : '',\n 'whitespace-nowrap'\n ]\">\n {{ item }}\n </span>\n\n <!-- Separator -->\n <ng-container *ngIf=\"!last\">\n <span \n [ngClass]=\"[\n 'inline-flex h-6 w-6 flex-shrink-0 items-center justify-center text-muted-foreground',\n mode === 'responsive' && !shouldShowInMobile(i) && !shouldShowInMobile(i + 1) ? 'hidden sm:inline-flex' : ''\n ]\" \n aria-hidden=\"true\">\n <!-- Custom separator (slash) -->\n <svg\n *ngIf=\"mode === 'custom-separator' && item !== '...'\"\n viewBox=\"0 0 24 24\"\n class=\"h-4 w-4\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M8 20L16 4\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" />\n </svg>\n \n <!-- Default separator (chevron) -->\n <svg\n *ngIf=\"(mode !== 'custom-separator' && item !== '...') || item === '...'\"\n viewBox=\"0 0 24 24\"\n class=\"h-4 w-4\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M9 6L15 12L9 18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n </svg>\n </span>\n \n <!-- Ellipsis indicator for responsive mode (only shown when items are hidden) -->\n <span \n *ngIf=\"mode === 'responsive' && !shouldShowInMobile(i) && i === 0\"\n class=\"inline-flex sm:hidden text-muted-foreground\">\n ...\n </span>\n </ng-container>\n\n <!-- Dropdown indicator -->\n <ng-container *ngIf=\"mode === 'dropdown' && i === 1 && item !== '...' && !last\">\n <span class=\"-ml-2 inline-flex h-6 w-6 items-center justify-center text-muted-foreground\" aria-hidden=\"true\">\n <svg viewBox=\"0 0 24 24\" class=\"h-4 w-4\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M7 10L12 15L17 10\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n </svg>\n </span>\n </ng-container>\n </ng-container>\n</nav>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBreadcrumbComponent, decorators: [{
53
+ type: Component,
54
+ args: [{ selector: 'pdm-breadcrumb', changeDetection: ChangeDetectionStrategy.OnPush, template: "<nav\n aria-label=\"breadcrumb\"\n [ngClass]=\"[\n 'inline-flex items-center gap-1.5 text-sm',\n mode === 'responsive' ? 'overflow-x-auto max-w-full pb-1 scrollbar-thin' : '',\n className\n ]\"\n>\n <ng-container *ngFor=\"let item of renderedItems; let i = index; let last = last\">\n <!-- Item text -->\n <span \n [ngClass]=\"[\n last ? 'text-foreground font-medium' : 'text-muted-foreground hover:text-foreground transition-colors cursor-pointer',\n mode === 'responsive' && !shouldShowInMobile(i) ? 'hidden sm:inline' : '',\n 'whitespace-nowrap'\n ]\">\n {{ item }}\n </span>\n\n <!-- Separator -->\n <ng-container *ngIf=\"!last\">\n <span \n [ngClass]=\"[\n 'inline-flex h-6 w-6 flex-shrink-0 items-center justify-center text-muted-foreground',\n mode === 'responsive' && !shouldShowInMobile(i) && !shouldShowInMobile(i + 1) ? 'hidden sm:inline-flex' : ''\n ]\" \n aria-hidden=\"true\">\n <!-- Custom separator (slash) -->\n <svg\n *ngIf=\"mode === 'custom-separator' && item !== '...'\"\n viewBox=\"0 0 24 24\"\n class=\"h-4 w-4\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M8 20L16 4\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" />\n </svg>\n \n <!-- Default separator (chevron) -->\n <svg\n *ngIf=\"(mode !== 'custom-separator' && item !== '...') || item === '...'\"\n viewBox=\"0 0 24 24\"\n class=\"h-4 w-4\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M9 6L15 12L9 18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n </svg>\n </span>\n \n <!-- Ellipsis indicator for responsive mode (only shown when items are hidden) -->\n <span \n *ngIf=\"mode === 'responsive' && !shouldShowInMobile(i) && i === 0\"\n class=\"inline-flex sm:hidden text-muted-foreground\">\n ...\n </span>\n </ng-container>\n\n <!-- Dropdown indicator -->\n <ng-container *ngIf=\"mode === 'dropdown' && i === 1 && item !== '...' && !last\">\n <span class=\"-ml-2 inline-flex h-6 w-6 items-center justify-center text-muted-foreground\" aria-hidden=\"true\">\n <svg viewBox=\"0 0 24 24\" class=\"h-4 w-4\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M7 10L12 15L17 10\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n </svg>\n </span>\n </ng-container>\n </ng-container>\n</nav>\n" }]
55
+ }], propDecorators: { mode: [{
56
+ type: Input
57
+ }], items: [{
58
+ type: Input
59
+ }], className: [{
60
+ type: Input
61
+ }], minItemsMobile: [{
62
+ type: Input
63
+ }] } });
64
+
65
+ const COMPONENTS = [
66
+ PdmBreadcrumbComponent,
67
+ ];
68
+ class PdmBreadcrumbModule {
69
+ }
70
+ PdmBreadcrumbModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBreadcrumbModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
71
+ PdmBreadcrumbModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmBreadcrumbModule, declarations: [PdmBreadcrumbComponent], imports: [CommonModule], exports: [PdmBreadcrumbComponent] });
72
+ PdmBreadcrumbModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBreadcrumbModule, imports: [CommonModule] });
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBreadcrumbModule, decorators: [{
74
+ type: NgModule,
75
+ args: [{
76
+ imports: [CommonModule],
77
+ declarations: COMPONENTS,
78
+ exports: COMPONENTS
79
+ }]
80
+ }] });
81
+
82
+ /**
83
+ * Generated bundle index. Do not edit.
84
+ */
85
+
86
+ export { PdmBreadcrumbComponent, PdmBreadcrumbModule };
87
+ //# sourceMappingURL=pdm-ui-kit-src-breadcrumb.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdm-ui-kit-src-breadcrumb.mjs","sources":["../../../src/breadcrumb/breadcrumb.component.ts","../../../src/breadcrumb/breadcrumb.component.html","../../../src/breadcrumb/breadcrumb.module.ts","../../../src/breadcrumb/pdm-ui-kit-src-breadcrumb.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\nexport type PdmBreadcrumbMode =\n | 'custom-separator'\n | 'dropdown'\n | 'collapsed'\n | 'link-component'\n | 'responsive';\n\n/**\n * Breadcrumb component con soporte responsive\n * \n * MEJORADO en v0.2.0:\n * - Modo responsive real con overflow-x-auto\n * - Collapse inteligente en mobile\n * \n * @example\n * <pdm-breadcrumb\n * mode=\"responsive\"\n * [items]=\"['Home', 'Products', 'Electronics', 'Laptops']\">\n * </pdm-breadcrumb>\n */\n@Component({\n selector: 'pdm-breadcrumb',\n templateUrl: './breadcrumb.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class PdmBreadcrumbComponent {\n @Input() mode: PdmBreadcrumbMode = 'link-component';\n @Input() items: string[] = ['Home', 'Components', 'Breadcrumb'];\n @Input() className = '';\n \n /**\n * Cantidad mínima de items para mostrar en mobile cuando mode=\"responsive\"\n * Default: 2 (primer y último item)\n */\n @Input() minItemsMobile = 2;\n\n get renderedItems(): string[] {\n if (this.mode === 'collapsed' && this.items.length > 3) {\n return [this.items[0], '...', this.items[this.items.length - 2], this.items[this.items.length - 1]];\n }\n \n // Responsive mode: no collapse en el TS, se maneja en el template con CSS\n return this.items;\n }\n \n /**\n * Determina si un item debe estar visible en mobile (modo responsive)\n */\n shouldShowInMobile(index: number): boolean {\n if (this.mode !== 'responsive') return true;\n \n const totalItems = this.items.length;\n if (totalItems <= this.minItemsMobile) return true;\n \n // Siempre mostrar primero y último\n return index === 0 || index === totalItems - 1;\n }\n}\n","<nav\n aria-label=\"breadcrumb\"\n [ngClass]=\"[\n 'inline-flex items-center gap-1.5 text-sm',\n mode === 'responsive' ? 'overflow-x-auto max-w-full pb-1 scrollbar-thin' : '',\n className\n ]\"\n>\n <ng-container *ngFor=\"let item of renderedItems; let i = index; let last = last\">\n <!-- Item text -->\n <span \n [ngClass]=\"[\n last ? 'text-foreground font-medium' : 'text-muted-foreground hover:text-foreground transition-colors cursor-pointer',\n mode === 'responsive' && !shouldShowInMobile(i) ? 'hidden sm:inline' : '',\n 'whitespace-nowrap'\n ]\">\n {{ item }}\n </span>\n\n <!-- Separator -->\n <ng-container *ngIf=\"!last\">\n <span \n [ngClass]=\"[\n 'inline-flex h-6 w-6 flex-shrink-0 items-center justify-center text-muted-foreground',\n mode === 'responsive' && !shouldShowInMobile(i) && !shouldShowInMobile(i + 1) ? 'hidden sm:inline-flex' : ''\n ]\" \n aria-hidden=\"true\">\n <!-- Custom separator (slash) -->\n <svg\n *ngIf=\"mode === 'custom-separator' && item !== '...'\"\n viewBox=\"0 0 24 24\"\n class=\"h-4 w-4\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M8 20L16 4\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" />\n </svg>\n \n <!-- Default separator (chevron) -->\n <svg\n *ngIf=\"(mode !== 'custom-separator' && item !== '...') || item === '...'\"\n viewBox=\"0 0 24 24\"\n class=\"h-4 w-4\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M9 6L15 12L9 18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n </svg>\n </span>\n \n <!-- Ellipsis indicator for responsive mode (only shown when items are hidden) -->\n <span \n *ngIf=\"mode === 'responsive' && !shouldShowInMobile(i) && i === 0\"\n class=\"inline-flex sm:hidden text-muted-foreground\">\n ...\n </span>\n </ng-container>\n\n <!-- Dropdown indicator -->\n <ng-container *ngIf=\"mode === 'dropdown' && i === 1 && item !== '...' && !last\">\n <span class=\"-ml-2 inline-flex h-6 w-6 items-center justify-center text-muted-foreground\" aria-hidden=\"true\">\n <svg viewBox=\"0 0 24 24\" class=\"h-4 w-4\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M7 10L12 15L17 10\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n </svg>\n </span>\n </ng-container>\n </ng-container>\n</nav>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { PdmBreadcrumbComponent } from './breadcrumb.component';\n\nconst COMPONENTS = [\n PdmBreadcrumbComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: COMPONENTS,\n exports: COMPONENTS\n})\nexport class PdmBreadcrumbModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"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"}