pdm-ui-kit 0.4.2 → 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 (880) hide show
  1. package/accordion/accordion.module.d.ts +8 -0
  2. package/alert/alert.module.d.ts +9 -0
  3. package/aspect-ratio/aspect-ratio.module.d.ts +8 -0
  4. package/avatar/avatar.module.d.ts +8 -0
  5. package/badge/badge.module.d.ts +8 -0
  6. package/breadcrumb/breadcrumb.module.d.ts +8 -0
  7. package/button/button.module.d.ts +9 -0
  8. package/calendar/calendar.module.d.ts +11 -0
  9. package/{lib/components/date-picker → calendar}/date-picker.component.d.ts +2 -2
  10. package/card/card.module.d.ts +8 -0
  11. package/carousel/carousel.module.d.ts +8 -0
  12. package/chart/chart.module.d.ts +8 -0
  13. package/checkbox/checkbox.module.d.ts +8 -0
  14. package/collapsible/collapsible.module.d.ts +8 -0
  15. package/combobox/combobox.module.d.ts +9 -0
  16. package/{lib/components/command → command}/command.component.d.ts +1 -1
  17. package/command/command.module.d.ts +9 -0
  18. package/{lib/components/context-menu → context-menu}/context-menu.component.d.ts +1 -1
  19. package/context-menu/context-menu.module.d.ts +9 -0
  20. package/{lib/components/data-table → data-table}/data-table.component.d.ts +1 -1
  21. package/data-table/data-table.module.d.ts +10 -0
  22. package/{lib/components/draggable-table → data-table}/draggable-table.component.d.ts +2 -2
  23. package/{lib/components/table → data-table}/table.component.d.ts +1 -1
  24. package/dialog/dialog.module.d.ts +8 -0
  25. package/drawer/drawer.module.d.ts +10 -0
  26. package/{lib/components/dropdown-menu → dropdown-menu}/dropdown-menu.component.d.ts +1 -1
  27. package/dropdown-menu/dropdown-menu.module.d.ts +9 -0
  28. package/empty/empty.module.d.ts +10 -0
  29. package/esm2020/{lib/components/accordion → accordion}/accordion.component.mjs +1 -1
  30. package/esm2020/accordion/accordion.module.mjs +21 -0
  31. package/esm2020/{lib/components/alert-dialog → alert}/alert-dialog.component.mjs +1 -1
  32. package/esm2020/{lib/components/alert → alert}/alert.component.mjs +1 -1
  33. package/esm2020/alert/alert.module.mjs +25 -0
  34. package/esm2020/{lib/components/aspect-ratio → aspect-ratio}/aspect-ratio.component.mjs +1 -1
  35. package/esm2020/aspect-ratio/aspect-ratio.module.mjs +21 -0
  36. package/esm2020/{lib/components/avatar → avatar}/avatar.component.mjs +1 -1
  37. package/esm2020/avatar/avatar.module.mjs +21 -0
  38. package/esm2020/{lib/components/badge → badge}/badge.component.mjs +1 -1
  39. package/esm2020/badge/badge.module.mjs +21 -0
  40. package/esm2020/{lib/components/breadcrumb → breadcrumb}/breadcrumb.component.mjs +1 -1
  41. package/esm2020/breadcrumb/breadcrumb.module.mjs +21 -0
  42. package/esm2020/button/button-group.component.mjs +236 -0
  43. package/esm2020/button/button.component.mjs +114 -0
  44. package/esm2020/button/button.module.mjs +25 -0
  45. package/esm2020/calendar/calendar.component.mjs +529 -0
  46. package/esm2020/calendar/calendar.module.mjs +22 -0
  47. package/esm2020/{lib/components/date-picker → calendar}/date-picker.component.mjs +6 -6
  48. package/esm2020/{lib/components/card → card}/card.component.mjs +1 -1
  49. package/esm2020/card/card.module.mjs +21 -0
  50. package/esm2020/carousel/carousel.component.mjs +102 -0
  51. package/esm2020/carousel/carousel.module.mjs +21 -0
  52. package/esm2020/{lib/components/chart → chart}/chart.component.mjs +1 -1
  53. package/esm2020/chart/chart.module.mjs +21 -0
  54. package/esm2020/{lib/components/checkbox → checkbox}/checkbox.component.mjs +1 -1
  55. package/esm2020/checkbox/checkbox.module.mjs +21 -0
  56. package/esm2020/{lib/components/collapsible → collapsible}/collapsible.component.mjs +1 -1
  57. package/esm2020/collapsible/collapsible.module.mjs +21 -0
  58. package/esm2020/{lib/components/combobox → combobox}/combobox.component.mjs +2 -2
  59. package/esm2020/combobox/combobox.module.mjs +22 -0
  60. package/esm2020/command/command.component.mjs +75 -0
  61. package/esm2020/command/command.module.mjs +20 -0
  62. package/esm2020/context-menu/context-menu.component.mjs +165 -0
  63. package/esm2020/context-menu/context-menu.module.mjs +22 -0
  64. package/esm2020/data-table/data-table.component.mjs +299 -0
  65. package/esm2020/data-table/data-table.module.mjs +29 -0
  66. package/esm2020/data-table/draggable-table.component.mjs +300 -0
  67. package/esm2020/data-table/table.component.mjs +182 -0
  68. package/esm2020/dialog/dialog.component.mjs +265 -0
  69. package/esm2020/dialog/dialog.module.mjs +21 -0
  70. package/esm2020/drawer/drawer.component.mjs +217 -0
  71. package/esm2020/drawer/drawer.module.mjs +21 -0
  72. package/esm2020/drawer/sheet.component.mjs +116 -0
  73. package/esm2020/dropdown-menu/dropdown-menu.component.mjs +192 -0
  74. package/esm2020/dropdown-menu/dropdown-menu.module.mjs +22 -0
  75. package/esm2020/{lib/components/empty → empty}/empty.component.mjs +3 -3
  76. package/esm2020/empty/empty.module.mjs +21 -0
  77. package/esm2020/{lib/components/field → field}/field.component.mjs +1 -1
  78. package/esm2020/field/field.module.mjs +21 -0
  79. package/esm2020/{lib/components/hover-card → hover-card}/hover-card.component.mjs +2 -2
  80. package/esm2020/hover-card/hover-card.module.mjs +22 -0
  81. package/esm2020/icon/icon.component.mjs +144 -0
  82. package/esm2020/icon/icon.module.mjs +21 -0
  83. package/esm2020/input/input-group.component.mjs +63 -0
  84. package/esm2020/input/input-otp.component.mjs +144 -0
  85. package/esm2020/{lib/components/input-password → input}/input-password.component.mjs +1 -1
  86. package/esm2020/{lib/components/input → input}/input.component.mjs +1 -1
  87. package/esm2020/input/input.module.mjs +38 -0
  88. package/esm2020/{lib/components/textarea → input}/textarea.component.mjs +1 -1
  89. package/esm2020/{lib/components/item → item}/item.component.mjs +1 -1
  90. package/esm2020/item/item.module.mjs +21 -0
  91. package/esm2020/{lib/components/kbd → kbd}/kbd.component.mjs +1 -1
  92. package/esm2020/kbd/kbd.module.mjs +21 -0
  93. package/esm2020/{lib/components/label → label}/label.component.mjs +1 -1
  94. package/esm2020/label/label.module.mjs +21 -0
  95. package/esm2020/menubar/menubar.component.mjs +144 -0
  96. package/esm2020/menubar/menubar.module.mjs +22 -0
  97. package/esm2020/{lib/components/native-select → native-select}/native-select.component.mjs +2 -2
  98. package/esm2020/native-select/native-select.module.mjs +20 -0
  99. package/esm2020/{lib/components/navigation-menu → navigation-menu}/navigation-menu.component.mjs +1 -1
  100. package/esm2020/navigation-menu/navigation-menu.module.mjs +21 -0
  101. package/esm2020/overlay/create-flexible-position-strategy.mjs +54 -0
  102. package/esm2020/overlay/pdm-outside-click.directive.mjs +86 -0
  103. package/esm2020/overlay/pdm-outside-click.module.mjs +18 -0
  104. package/esm2020/overlay/pdm-overlay-options.mjs +2 -0
  105. package/esm2020/overlay/z-index-helper.mjs +69 -0
  106. package/esm2020/pagination/pagination.component.mjs +72 -0
  107. package/esm2020/pagination/pagination.module.mjs +21 -0
  108. package/esm2020/pdm-ui-kit.module.mjs +260 -0
  109. package/esm2020/{lib/components/popover → popover}/popover.component.mjs +2 -2
  110. package/esm2020/popover/popover.module.mjs +22 -0
  111. package/esm2020/{lib/components/progress → progress}/progress.component.mjs +1 -1
  112. package/esm2020/progress/progress.module.mjs +21 -0
  113. package/esm2020/public-api.mjs +117 -67
  114. package/esm2020/{lib/components/radio-group → radio-group}/radio-group.component.mjs +1 -1
  115. package/esm2020/radio-group/radio-group.module.mjs +21 -0
  116. package/esm2020/{lib/components/scroll-area → scroll-area}/scroll-area.component.mjs +1 -1
  117. package/esm2020/scroll-area/scroll-area.module.mjs +21 -0
  118. package/esm2020/select/select-option.directive.mjs +55 -0
  119. package/esm2020/select/select.component.mjs +164 -0
  120. package/esm2020/select/select.module.mjs +22 -0
  121. package/esm2020/{lib/components/separator → separator}/separator.component.mjs +1 -1
  122. package/esm2020/separator/separator.module.mjs +21 -0
  123. package/esm2020/{lib/components/sidebar → sidebar}/sidebar.component.mjs +1 -1
  124. package/esm2020/sidebar/sidebar.module.mjs +21 -0
  125. package/esm2020/{lib/components/skeleton → skeleton}/skeleton.component.mjs +1 -1
  126. package/esm2020/skeleton/skeleton.module.mjs +21 -0
  127. package/esm2020/{lib/components/slider → slider}/slider.component.mjs +1 -1
  128. package/esm2020/slider/slider.module.mjs +21 -0
  129. package/esm2020/{lib/components/sonner → sonner}/sonner.component.mjs +2 -2
  130. package/esm2020/sonner/sonner.module.mjs +20 -0
  131. package/esm2020/{lib/components/spinner → spinner}/spinner.component.mjs +1 -1
  132. package/esm2020/spinner/spinner.module.mjs +21 -0
  133. package/esm2020/src/accordion/accordion.component.mjs +42 -0
  134. package/esm2020/src/accordion/accordion.module.mjs +21 -0
  135. package/esm2020/src/accordion/pdm-ui-kit-src-accordion.mjs +5 -0
  136. package/esm2020/src/accordion/public-api.mjs +3 -0
  137. package/esm2020/src/alert/alert-dialog.component.mjs +87 -0
  138. package/esm2020/src/alert/alert.component.mjs +35 -0
  139. package/esm2020/src/alert/alert.module.mjs +25 -0
  140. package/esm2020/src/alert/pdm-ui-kit-src-alert.mjs +5 -0
  141. package/esm2020/src/alert/public-api.mjs +4 -0
  142. package/esm2020/src/aspect-ratio/aspect-ratio.component.mjs +31 -0
  143. package/esm2020/src/aspect-ratio/aspect-ratio.module.mjs +21 -0
  144. package/esm2020/src/aspect-ratio/pdm-ui-kit-src-aspect-ratio.mjs +5 -0
  145. package/esm2020/src/aspect-ratio/public-api.mjs +3 -0
  146. package/esm2020/src/avatar/avatar.component.mjs +46 -0
  147. package/esm2020/src/avatar/avatar.module.mjs +21 -0
  148. package/esm2020/src/avatar/pdm-ui-kit-src-avatar.mjs +5 -0
  149. package/esm2020/src/avatar/public-api.mjs +3 -0
  150. package/esm2020/src/badge/badge.component.mjs +23 -0
  151. package/esm2020/src/badge/badge.module.mjs +21 -0
  152. package/esm2020/src/badge/pdm-ui-kit-src-badge.mjs +5 -0
  153. package/esm2020/src/badge/public-api.mjs +3 -0
  154. package/esm2020/src/breadcrumb/breadcrumb.component.mjs +62 -0
  155. package/esm2020/src/breadcrumb/breadcrumb.module.mjs +21 -0
  156. package/esm2020/src/breadcrumb/pdm-ui-kit-src-breadcrumb.mjs +5 -0
  157. package/esm2020/src/breadcrumb/public-api.mjs +3 -0
  158. package/esm2020/{lib/components/button-group → src/button}/button-group.component.mjs +1 -1
  159. package/esm2020/src/button/button.component.mjs +114 -0
  160. package/esm2020/src/button/button.module.mjs +25 -0
  161. package/esm2020/src/button/pdm-ui-kit-src-button.mjs +5 -0
  162. package/esm2020/src/button/public-api.mjs +4 -0
  163. package/esm2020/src/calendar/calendar.component.mjs +529 -0
  164. package/esm2020/src/calendar/calendar.module.mjs +22 -0
  165. package/esm2020/src/calendar/date-picker.component.mjs +362 -0
  166. package/esm2020/src/calendar/pdm-ui-kit-src-calendar.mjs +5 -0
  167. package/esm2020/src/calendar/public-api.mjs +4 -0
  168. package/esm2020/src/card/card.component.mjs +48 -0
  169. package/esm2020/src/card/card.module.mjs +21 -0
  170. package/esm2020/src/card/pdm-ui-kit-src-card.mjs +5 -0
  171. package/esm2020/src/card/public-api.mjs +3 -0
  172. package/esm2020/src/carousel/carousel.component.mjs +102 -0
  173. package/esm2020/src/carousel/carousel.module.mjs +21 -0
  174. package/esm2020/src/carousel/pdm-ui-kit-src-carousel.mjs +5 -0
  175. package/esm2020/src/carousel/public-api.mjs +3 -0
  176. package/esm2020/src/chart/chart.component.mjs +177 -0
  177. package/esm2020/src/chart/chart.module.mjs +21 -0
  178. package/esm2020/src/chart/pdm-ui-kit-src-chart.mjs +5 -0
  179. package/esm2020/src/chart/public-api.mjs +3 -0
  180. package/esm2020/src/checkbox/checkbox.component.mjs +47 -0
  181. package/esm2020/src/checkbox/checkbox.module.mjs +21 -0
  182. package/esm2020/src/checkbox/pdm-ui-kit-src-checkbox.mjs +5 -0
  183. package/esm2020/src/checkbox/public-api.mjs +3 -0
  184. package/esm2020/src/collapsible/collapsible.component.mjs +43 -0
  185. package/esm2020/src/collapsible/collapsible.module.mjs +21 -0
  186. package/esm2020/src/collapsible/pdm-ui-kit-src-collapsible.mjs +5 -0
  187. package/esm2020/src/collapsible/public-api.mjs +3 -0
  188. package/esm2020/src/combobox/combobox.component.mjs +173 -0
  189. package/esm2020/src/combobox/combobox.module.mjs +22 -0
  190. package/esm2020/src/combobox/pdm-ui-kit-src-combobox.mjs +5 -0
  191. package/esm2020/src/combobox/public-api.mjs +3 -0
  192. package/esm2020/src/command/command.component.mjs +75 -0
  193. package/esm2020/src/command/command.module.mjs +20 -0
  194. package/esm2020/src/command/pdm-ui-kit-src-command.mjs +5 -0
  195. package/esm2020/src/command/public-api.mjs +3 -0
  196. package/esm2020/src/context-menu/context-menu.component.mjs +165 -0
  197. package/esm2020/src/context-menu/context-menu.module.mjs +22 -0
  198. package/esm2020/src/context-menu/pdm-ui-kit-src-context-menu.mjs +5 -0
  199. package/esm2020/src/context-menu/public-api.mjs +3 -0
  200. package/esm2020/src/data-table/data-table.component.mjs +299 -0
  201. package/esm2020/src/data-table/data-table.module.mjs +29 -0
  202. package/esm2020/src/data-table/draggable-table.component.mjs +300 -0
  203. package/esm2020/src/data-table/pdm-ui-kit-src-data-table.mjs +5 -0
  204. package/esm2020/src/data-table/public-api.mjs +5 -0
  205. package/esm2020/src/data-table/table.component.mjs +182 -0
  206. package/esm2020/src/dialog/dialog.component.mjs +265 -0
  207. package/esm2020/src/dialog/dialog.module.mjs +21 -0
  208. package/esm2020/src/dialog/pdm-ui-kit-src-dialog.mjs +5 -0
  209. package/esm2020/src/dialog/public-api.mjs +3 -0
  210. package/esm2020/src/drawer/drawer.component.mjs +217 -0
  211. package/esm2020/src/drawer/drawer.module.mjs +21 -0
  212. package/esm2020/src/drawer/pdm-ui-kit-src-drawer.mjs +5 -0
  213. package/esm2020/src/drawer/public-api.mjs +4 -0
  214. package/esm2020/src/drawer/sheet.component.mjs +116 -0
  215. package/esm2020/src/dropdown-menu/dropdown-menu.component.mjs +192 -0
  216. package/esm2020/src/dropdown-menu/dropdown-menu.module.mjs +22 -0
  217. package/esm2020/src/dropdown-menu/pdm-ui-kit-src-dropdown-menu.mjs +5 -0
  218. package/esm2020/src/dropdown-menu/public-api.mjs +3 -0
  219. package/esm2020/src/empty/empty.component.mjs +58 -0
  220. package/esm2020/src/empty/empty.module.mjs +21 -0
  221. package/esm2020/src/empty/pdm-ui-kit-src-empty.mjs +5 -0
  222. package/esm2020/src/empty/public-api.mjs +3 -0
  223. package/esm2020/src/field/field.component.mjs +64 -0
  224. package/esm2020/src/field/field.module.mjs +21 -0
  225. package/esm2020/src/field/pdm-ui-kit-src-field.mjs +5 -0
  226. package/esm2020/src/field/public-api.mjs +3 -0
  227. package/esm2020/src/hover-card/hover-card.component.mjs +205 -0
  228. package/esm2020/src/hover-card/hover-card.module.mjs +22 -0
  229. package/esm2020/src/hover-card/pdm-ui-kit-src-hover-card.mjs +5 -0
  230. package/esm2020/src/hover-card/public-api.mjs +3 -0
  231. package/esm2020/src/icon/icon.component.mjs +144 -0
  232. package/esm2020/src/icon/icon.module.mjs +21 -0
  233. package/esm2020/src/icon/pdm-ui-kit-src-icon.mjs +5 -0
  234. package/esm2020/src/icon/public-api.mjs +3 -0
  235. package/esm2020/{lib/components/input-group → src/input}/input-group.component.mjs +2 -2
  236. package/esm2020/src/input/input-otp.component.mjs +144 -0
  237. package/esm2020/src/input/input-password.component.mjs +78 -0
  238. package/esm2020/src/input/input.component.mjs +71 -0
  239. package/esm2020/src/input/input.module.mjs +38 -0
  240. package/esm2020/src/input/pdm-ui-kit-src-input.mjs +5 -0
  241. package/esm2020/src/input/public-api.mjs +7 -0
  242. package/esm2020/src/input/textarea.component.mjs +59 -0
  243. package/esm2020/src/item/item.component.mjs +23 -0
  244. package/esm2020/src/item/item.module.mjs +21 -0
  245. package/esm2020/src/item/pdm-ui-kit-src-item.mjs +5 -0
  246. package/esm2020/src/item/public-api.mjs +3 -0
  247. package/esm2020/src/kbd/kbd.component.mjs +17 -0
  248. package/esm2020/src/kbd/kbd.module.mjs +21 -0
  249. package/esm2020/src/kbd/pdm-ui-kit-src-kbd.mjs +5 -0
  250. package/esm2020/src/kbd/public-api.mjs +3 -0
  251. package/esm2020/src/label/label.component.mjs +23 -0
  252. package/esm2020/src/label/label.module.mjs +21 -0
  253. package/esm2020/src/label/pdm-ui-kit-src-label.mjs +5 -0
  254. package/esm2020/src/label/public-api.mjs +3 -0
  255. package/esm2020/src/menubar/menubar.component.mjs +144 -0
  256. package/esm2020/src/menubar/menubar.module.mjs +22 -0
  257. package/esm2020/src/menubar/pdm-ui-kit-src-menubar.mjs +5 -0
  258. package/esm2020/src/menubar/public-api.mjs +3 -0
  259. package/esm2020/src/native-select/native-select.component.mjs +42 -0
  260. package/esm2020/src/native-select/native-select.module.mjs +20 -0
  261. package/esm2020/src/native-select/pdm-ui-kit-src-native-select.mjs +5 -0
  262. package/esm2020/src/native-select/public-api.mjs +3 -0
  263. package/esm2020/src/navigation-menu/navigation-menu.component.mjs +42 -0
  264. package/esm2020/src/navigation-menu/navigation-menu.module.mjs +21 -0
  265. package/esm2020/src/navigation-menu/pdm-ui-kit-src-navigation-menu.mjs +5 -0
  266. package/esm2020/src/navigation-menu/public-api.mjs +3 -0
  267. package/esm2020/src/overlay/create-flexible-position-strategy.mjs +54 -0
  268. package/esm2020/src/overlay/pdm-outside-click.directive.mjs +86 -0
  269. package/esm2020/src/overlay/pdm-outside-click.module.mjs +18 -0
  270. package/esm2020/src/overlay/pdm-overlay-options.mjs +2 -0
  271. package/esm2020/src/overlay/pdm-ui-kit-src-overlay.mjs +5 -0
  272. package/esm2020/src/overlay/public-api.mjs +6 -0
  273. package/esm2020/src/overlay/z-index-helper.mjs +69 -0
  274. package/esm2020/{lib/components → src}/pagination/pagination.component.mjs +3 -3
  275. package/esm2020/src/pagination/pagination.module.mjs +21 -0
  276. package/esm2020/src/pagination/pdm-ui-kit-src-pagination.mjs +5 -0
  277. package/esm2020/src/pagination/public-api.mjs +3 -0
  278. package/esm2020/src/popover/pdm-ui-kit-src-popover.mjs +5 -0
  279. package/esm2020/src/popover/popover.component.mjs +162 -0
  280. package/esm2020/src/popover/popover.module.mjs +22 -0
  281. package/esm2020/src/popover/public-api.mjs +3 -0
  282. package/esm2020/src/progress/pdm-ui-kit-src-progress.mjs +5 -0
  283. package/esm2020/src/progress/progress.component.mjs +33 -0
  284. package/esm2020/src/progress/progress.module.mjs +21 -0
  285. package/esm2020/src/progress/public-api.mjs +3 -0
  286. package/esm2020/src/radio-group/pdm-ui-kit-src-radio-group.mjs +5 -0
  287. package/esm2020/src/radio-group/public-api.mjs +3 -0
  288. package/esm2020/src/radio-group/radio-group.component.mjs +38 -0
  289. package/esm2020/src/radio-group/radio-group.module.mjs +21 -0
  290. package/esm2020/src/scroll-area/pdm-ui-kit-src-scroll-area.mjs +5 -0
  291. package/esm2020/src/scroll-area/public-api.mjs +3 -0
  292. package/esm2020/src/scroll-area/scroll-area.component.mjs +20 -0
  293. package/esm2020/src/scroll-area/scroll-area.module.mjs +21 -0
  294. package/esm2020/src/select/pdm-ui-kit-src-select.mjs +5 -0
  295. package/esm2020/src/select/public-api.mjs +4 -0
  296. package/esm2020/src/select/select-option.directive.mjs +55 -0
  297. package/esm2020/src/select/select.component.mjs +164 -0
  298. package/esm2020/src/select/select.module.mjs +22 -0
  299. package/esm2020/src/separator/pdm-ui-kit-src-separator.mjs +5 -0
  300. package/esm2020/src/separator/public-api.mjs +3 -0
  301. package/esm2020/src/separator/separator.component.mjs +26 -0
  302. package/esm2020/src/separator/separator.module.mjs +21 -0
  303. package/esm2020/src/sidebar/pdm-ui-kit-src-sidebar.mjs +5 -0
  304. package/esm2020/src/sidebar/public-api.mjs +3 -0
  305. package/esm2020/src/sidebar/sidebar.component.mjs +67 -0
  306. package/esm2020/src/sidebar/sidebar.module.mjs +21 -0
  307. package/esm2020/src/skeleton/pdm-ui-kit-src-skeleton.mjs +5 -0
  308. package/esm2020/src/skeleton/public-api.mjs +3 -0
  309. package/esm2020/src/skeleton/skeleton.component.mjs +17 -0
  310. package/esm2020/src/skeleton/skeleton.module.mjs +21 -0
  311. package/esm2020/src/slider/pdm-ui-kit-src-slider.mjs +5 -0
  312. package/esm2020/src/slider/public-api.mjs +3 -0
  313. package/esm2020/src/slider/slider.component.mjs +46 -0
  314. package/esm2020/src/slider/slider.module.mjs +21 -0
  315. package/esm2020/src/sonner/pdm-ui-kit-src-sonner.mjs +5 -0
  316. package/esm2020/src/sonner/public-api.mjs +3 -0
  317. package/esm2020/src/sonner/sonner.component.mjs +39 -0
  318. package/esm2020/src/sonner/sonner.module.mjs +20 -0
  319. package/esm2020/src/spinner/pdm-ui-kit-src-spinner.mjs +5 -0
  320. package/esm2020/src/spinner/public-api.mjs +3 -0
  321. package/esm2020/src/spinner/spinner.component.mjs +20 -0
  322. package/esm2020/src/spinner/spinner.module.mjs +21 -0
  323. package/esm2020/src/switch/pdm-ui-kit-src-switch.mjs +5 -0
  324. package/esm2020/src/switch/public-api.mjs +3 -0
  325. package/esm2020/src/switch/switch.component.mjs +58 -0
  326. package/esm2020/src/switch/switch.module.mjs +21 -0
  327. package/esm2020/src/tabs/pdm-ui-kit-src-tabs.mjs +5 -0
  328. package/esm2020/src/tabs/public-api.mjs +3 -0
  329. package/esm2020/{lib/components → src}/tabs/tabs.component.mjs +1 -1
  330. package/esm2020/src/tabs/tabs.module.mjs +21 -0
  331. package/esm2020/src/toggle/pdm-ui-kit-src-toggle.mjs +5 -0
  332. package/esm2020/src/toggle/public-api.mjs +4 -0
  333. package/esm2020/{lib/components/toggle-group → src/toggle}/toggle-group.component.mjs +1 -1
  334. package/esm2020/{lib/components → src}/toggle/toggle.component.mjs +1 -1
  335. package/esm2020/src/toggle/toggle.module.mjs +25 -0
  336. package/esm2020/src/tooltip/pdm-ui-kit-src-tooltip.mjs +5 -0
  337. package/esm2020/src/tooltip/public-api.mjs +3 -0
  338. package/esm2020/src/tooltip/tooltip.component.mjs +176 -0
  339. package/esm2020/src/tooltip/tooltip.module.mjs +22 -0
  340. package/esm2020/src/utils/pdm-ui-kit-src-utils.mjs +5 -0
  341. package/esm2020/src/utils/public-api.mjs +3 -0
  342. package/esm2020/src/utils/responsive.mjs +143 -0
  343. package/esm2020/src/utils/z-index.mjs +90 -0
  344. package/esm2020/switch/switch.component.mjs +58 -0
  345. package/esm2020/switch/switch.module.mjs +21 -0
  346. package/esm2020/tabs/tabs.component.mjs +34 -0
  347. package/esm2020/tabs/tabs.module.mjs +21 -0
  348. package/esm2020/toggle/toggle-group.component.mjs +31 -0
  349. package/esm2020/toggle/toggle.component.mjs +41 -0
  350. package/esm2020/toggle/toggle.module.mjs +25 -0
  351. package/esm2020/{lib/components/tooltip → tooltip}/tooltip.component.mjs +2 -2
  352. package/esm2020/tooltip/tooltip.module.mjs +22 -0
  353. package/esm2020/utils/responsive.mjs +143 -0
  354. package/esm2020/utils/z-index.mjs +90 -0
  355. package/fesm2015/pdm-ui-kit-src-accordion.mjs +68 -0
  356. package/fesm2015/pdm-ui-kit-src-accordion.mjs.map +1 -0
  357. package/fesm2015/pdm-ui-kit-src-alert.mjs +147 -0
  358. package/fesm2015/pdm-ui-kit-src-alert.mjs.map +1 -0
  359. package/fesm2015/pdm-ui-kit-src-aspect-ratio.mjs +56 -0
  360. package/fesm2015/pdm-ui-kit-src-aspect-ratio.mjs.map +1 -0
  361. package/fesm2015/pdm-ui-kit-src-avatar.mjs +71 -0
  362. package/fesm2015/pdm-ui-kit-src-avatar.mjs.map +1 -0
  363. package/fesm2015/pdm-ui-kit-src-badge.mjs +48 -0
  364. package/fesm2015/pdm-ui-kit-src-badge.mjs.map +1 -0
  365. package/fesm2015/pdm-ui-kit-src-breadcrumb.mjs +87 -0
  366. package/fesm2015/pdm-ui-kit-src-breadcrumb.mjs.map +1 -0
  367. package/fesm2015/pdm-ui-kit-src-button.mjs +376 -0
  368. package/fesm2015/pdm-ui-kit-src-button.mjs.map +1 -0
  369. package/fesm2015/pdm-ui-kit-src-calendar.mjs +912 -0
  370. package/fesm2015/pdm-ui-kit-src-calendar.mjs.map +1 -0
  371. package/fesm2015/pdm-ui-kit-src-card.mjs +73 -0
  372. package/fesm2015/pdm-ui-kit-src-card.mjs.map +1 -0
  373. package/fesm2015/pdm-ui-kit-src-carousel.mjs +127 -0
  374. package/fesm2015/pdm-ui-kit-src-carousel.mjs.map +1 -0
  375. package/fesm2015/pdm-ui-kit-src-chart.mjs +203 -0
  376. package/fesm2015/pdm-ui-kit-src-chart.mjs.map +1 -0
  377. package/fesm2015/pdm-ui-kit-src-checkbox.mjs +72 -0
  378. package/fesm2015/pdm-ui-kit-src-checkbox.mjs.map +1 -0
  379. package/fesm2015/pdm-ui-kit-src-collapsible.mjs +68 -0
  380. package/fesm2015/pdm-ui-kit-src-collapsible.mjs.map +1 -0
  381. package/fesm2015/pdm-ui-kit-src-combobox.mjs +200 -0
  382. package/fesm2015/pdm-ui-kit-src-combobox.mjs.map +1 -0
  383. package/fesm2015/pdm-ui-kit-src-command.mjs +100 -0
  384. package/fesm2015/pdm-ui-kit-src-command.mjs.map +1 -0
  385. package/fesm2015/pdm-ui-kit-src-context-menu.mjs +191 -0
  386. package/fesm2015/pdm-ui-kit-src-context-menu.mjs.map +1 -0
  387. package/fesm2015/pdm-ui-kit-src-data-table.mjs +806 -0
  388. package/fesm2015/pdm-ui-kit-src-data-table.mjs.map +1 -0
  389. package/fesm2015/pdm-ui-kit-src-dialog.mjs +289 -0
  390. package/fesm2015/pdm-ui-kit-src-dialog.mjs.map +1 -0
  391. package/fesm2015/pdm-ui-kit-src-drawer.mjs +354 -0
  392. package/fesm2015/pdm-ui-kit-src-drawer.mjs.map +1 -0
  393. package/fesm2015/pdm-ui-kit-src-dropdown-menu.mjs +212 -0
  394. package/fesm2015/pdm-ui-kit-src-dropdown-menu.mjs.map +1 -0
  395. package/fesm2015/pdm-ui-kit-src-empty.mjs +83 -0
  396. package/fesm2015/pdm-ui-kit-src-empty.mjs.map +1 -0
  397. package/fesm2015/pdm-ui-kit-src-field.mjs +89 -0
  398. package/fesm2015/pdm-ui-kit-src-field.mjs.map +1 -0
  399. package/fesm2015/pdm-ui-kit-src-hover-card.mjs +231 -0
  400. package/fesm2015/pdm-ui-kit-src-hover-card.mjs.map +1 -0
  401. package/fesm2015/pdm-ui-kit-src-icon.mjs +172 -0
  402. package/fesm2015/pdm-ui-kit-src-icon.mjs.map +1 -0
  403. package/fesm2015/pdm-ui-kit-src-input.mjs +443 -0
  404. package/fesm2015/pdm-ui-kit-src-input.mjs.map +1 -0
  405. package/fesm2015/pdm-ui-kit-src-item.mjs +48 -0
  406. package/fesm2015/pdm-ui-kit-src-item.mjs.map +1 -0
  407. package/fesm2015/pdm-ui-kit-src-kbd.mjs +42 -0
  408. package/fesm2015/pdm-ui-kit-src-kbd.mjs.map +1 -0
  409. package/fesm2015/pdm-ui-kit-src-label.mjs +48 -0
  410. package/fesm2015/pdm-ui-kit-src-label.mjs.map +1 -0
  411. package/fesm2015/pdm-ui-kit-src-menubar.mjs +170 -0
  412. package/fesm2015/pdm-ui-kit-src-menubar.mjs.map +1 -0
  413. package/fesm2015/pdm-ui-kit-src-native-select.mjs +66 -0
  414. package/fesm2015/pdm-ui-kit-src-native-select.mjs.map +1 -0
  415. package/fesm2015/pdm-ui-kit-src-navigation-menu.mjs +67 -0
  416. package/fesm2015/pdm-ui-kit-src-navigation-menu.mjs.map +1 -0
  417. package/fesm2015/pdm-ui-kit-src-overlay.mjs +225 -0
  418. package/fesm2015/pdm-ui-kit-src-overlay.mjs.map +1 -0
  419. package/fesm2015/pdm-ui-kit-src-pagination.mjs +97 -0
  420. package/fesm2015/pdm-ui-kit-src-pagination.mjs.map +1 -0
  421. package/fesm2015/pdm-ui-kit-src-popover.mjs +189 -0
  422. package/fesm2015/pdm-ui-kit-src-popover.mjs.map +1 -0
  423. package/fesm2015/pdm-ui-kit-src-progress.mjs +58 -0
  424. package/fesm2015/pdm-ui-kit-src-progress.mjs.map +1 -0
  425. package/fesm2015/pdm-ui-kit-src-radio-group.mjs +63 -0
  426. package/fesm2015/pdm-ui-kit-src-radio-group.mjs.map +1 -0
  427. package/fesm2015/pdm-ui-kit-src-scroll-area.mjs +45 -0
  428. package/fesm2015/pdm-ui-kit-src-scroll-area.mjs.map +1 -0
  429. package/fesm2015/pdm-ui-kit-src-select.mjs +238 -0
  430. package/fesm2015/pdm-ui-kit-src-select.mjs.map +1 -0
  431. package/fesm2015/pdm-ui-kit-src-separator.mjs +51 -0
  432. package/fesm2015/pdm-ui-kit-src-separator.mjs.map +1 -0
  433. package/fesm2015/pdm-ui-kit-src-sidebar.mjs +92 -0
  434. package/fesm2015/pdm-ui-kit-src-sidebar.mjs.map +1 -0
  435. package/fesm2015/pdm-ui-kit-src-skeleton.mjs +42 -0
  436. package/fesm2015/pdm-ui-kit-src-skeleton.mjs.map +1 -0
  437. package/fesm2015/pdm-ui-kit-src-slider.mjs +71 -0
  438. package/fesm2015/pdm-ui-kit-src-slider.mjs.map +1 -0
  439. package/fesm2015/pdm-ui-kit-src-sonner.mjs +63 -0
  440. package/fesm2015/pdm-ui-kit-src-sonner.mjs.map +1 -0
  441. package/fesm2015/pdm-ui-kit-src-spinner.mjs +45 -0
  442. package/fesm2015/pdm-ui-kit-src-spinner.mjs.map +1 -0
  443. package/fesm2015/pdm-ui-kit-src-switch.mjs +83 -0
  444. package/fesm2015/pdm-ui-kit-src-switch.mjs.map +1 -0
  445. package/fesm2015/pdm-ui-kit-src-tabs.mjs +59 -0
  446. package/fesm2015/pdm-ui-kit-src-tabs.mjs.map +1 -0
  447. package/fesm2015/pdm-ui-kit-src-toggle.mjs +97 -0
  448. package/fesm2015/pdm-ui-kit-src-toggle.mjs.map +1 -0
  449. package/fesm2015/pdm-ui-kit-src-tooltip.mjs +202 -0
  450. package/fesm2015/pdm-ui-kit-src-tooltip.mjs.map +1 -0
  451. package/fesm2015/pdm-ui-kit-src-utils.mjs +239 -0
  452. package/fesm2015/pdm-ui-kit-src-utils.mjs.map +1 -0
  453. package/fesm2015/pdm-ui-kit.mjs +3832 -2982
  454. package/fesm2015/pdm-ui-kit.mjs.map +1 -1
  455. package/fesm2020/pdm-ui-kit-src-accordion.mjs +67 -0
  456. package/fesm2020/pdm-ui-kit-src-accordion.mjs.map +1 -0
  457. package/fesm2020/pdm-ui-kit-src-alert.mjs +147 -0
  458. package/fesm2020/pdm-ui-kit-src-alert.mjs.map +1 -0
  459. package/fesm2020/pdm-ui-kit-src-aspect-ratio.mjs +56 -0
  460. package/fesm2020/pdm-ui-kit-src-aspect-ratio.mjs.map +1 -0
  461. package/fesm2020/pdm-ui-kit-src-avatar.mjs +71 -0
  462. package/fesm2020/pdm-ui-kit-src-avatar.mjs.map +1 -0
  463. package/fesm2020/pdm-ui-kit-src-badge.mjs +48 -0
  464. package/fesm2020/pdm-ui-kit-src-badge.mjs.map +1 -0
  465. package/fesm2020/pdm-ui-kit-src-breadcrumb.mjs +87 -0
  466. package/fesm2020/pdm-ui-kit-src-breadcrumb.mjs.map +1 -0
  467. package/fesm2020/pdm-ui-kit-src-button.mjs +375 -0
  468. package/fesm2020/pdm-ui-kit-src-button.mjs.map +1 -0
  469. package/fesm2020/pdm-ui-kit-src-calendar.mjs +911 -0
  470. package/fesm2020/pdm-ui-kit-src-calendar.mjs.map +1 -0
  471. package/fesm2020/pdm-ui-kit-src-card.mjs +73 -0
  472. package/fesm2020/pdm-ui-kit-src-card.mjs.map +1 -0
  473. package/fesm2020/pdm-ui-kit-src-carousel.mjs +127 -0
  474. package/fesm2020/pdm-ui-kit-src-carousel.mjs.map +1 -0
  475. package/fesm2020/pdm-ui-kit-src-chart.mjs +202 -0
  476. package/fesm2020/pdm-ui-kit-src-chart.mjs.map +1 -0
  477. package/fesm2020/pdm-ui-kit-src-checkbox.mjs +72 -0
  478. package/fesm2020/pdm-ui-kit-src-checkbox.mjs.map +1 -0
  479. package/fesm2020/pdm-ui-kit-src-collapsible.mjs +68 -0
  480. package/fesm2020/pdm-ui-kit-src-collapsible.mjs.map +1 -0
  481. package/fesm2020/pdm-ui-kit-src-combobox.mjs +199 -0
  482. package/fesm2020/pdm-ui-kit-src-combobox.mjs.map +1 -0
  483. package/fesm2020/pdm-ui-kit-src-command.mjs +99 -0
  484. package/fesm2020/pdm-ui-kit-src-command.mjs.map +1 -0
  485. package/fesm2020/pdm-ui-kit-src-context-menu.mjs +191 -0
  486. package/fesm2020/pdm-ui-kit-src-context-menu.mjs.map +1 -0
  487. package/fesm2020/pdm-ui-kit-src-data-table.mjs +805 -0
  488. package/fesm2020/pdm-ui-kit-src-data-table.mjs.map +1 -0
  489. package/fesm2020/pdm-ui-kit-src-dialog.mjs +289 -0
  490. package/fesm2020/pdm-ui-kit-src-dialog.mjs.map +1 -0
  491. package/fesm2020/pdm-ui-kit-src-drawer.mjs +354 -0
  492. package/fesm2020/pdm-ui-kit-src-drawer.mjs.map +1 -0
  493. package/fesm2020/pdm-ui-kit-src-dropdown-menu.mjs +218 -0
  494. package/fesm2020/pdm-ui-kit-src-dropdown-menu.mjs.map +1 -0
  495. package/fesm2020/pdm-ui-kit-src-empty.mjs +83 -0
  496. package/fesm2020/pdm-ui-kit-src-empty.mjs.map +1 -0
  497. package/fesm2020/pdm-ui-kit-src-field.mjs +89 -0
  498. package/fesm2020/pdm-ui-kit-src-field.mjs.map +1 -0
  499. package/fesm2020/pdm-ui-kit-src-hover-card.mjs +231 -0
  500. package/fesm2020/pdm-ui-kit-src-hover-card.mjs.map +1 -0
  501. package/fesm2020/pdm-ui-kit-src-icon.mjs +169 -0
  502. package/fesm2020/pdm-ui-kit-src-icon.mjs.map +1 -0
  503. package/fesm2020/pdm-ui-kit-src-input.mjs +441 -0
  504. package/fesm2020/pdm-ui-kit-src-input.mjs.map +1 -0
  505. package/fesm2020/pdm-ui-kit-src-item.mjs +48 -0
  506. package/fesm2020/pdm-ui-kit-src-item.mjs.map +1 -0
  507. package/fesm2020/pdm-ui-kit-src-kbd.mjs +42 -0
  508. package/fesm2020/pdm-ui-kit-src-kbd.mjs.map +1 -0
  509. package/fesm2020/pdm-ui-kit-src-label.mjs +48 -0
  510. package/fesm2020/pdm-ui-kit-src-label.mjs.map +1 -0
  511. package/fesm2020/pdm-ui-kit-src-menubar.mjs +170 -0
  512. package/fesm2020/pdm-ui-kit-src-menubar.mjs.map +1 -0
  513. package/fesm2020/pdm-ui-kit-src-native-select.mjs +66 -0
  514. package/fesm2020/pdm-ui-kit-src-native-select.mjs.map +1 -0
  515. package/fesm2020/pdm-ui-kit-src-navigation-menu.mjs +67 -0
  516. package/fesm2020/pdm-ui-kit-src-navigation-menu.mjs.map +1 -0
  517. package/fesm2020/pdm-ui-kit-src-overlay.mjs +229 -0
  518. package/fesm2020/pdm-ui-kit-src-overlay.mjs.map +1 -0
  519. package/fesm2020/pdm-ui-kit-src-pagination.mjs +97 -0
  520. package/fesm2020/pdm-ui-kit-src-pagination.mjs.map +1 -0
  521. package/fesm2020/pdm-ui-kit-src-popover.mjs +188 -0
  522. package/fesm2020/pdm-ui-kit-src-popover.mjs.map +1 -0
  523. package/fesm2020/pdm-ui-kit-src-progress.mjs +58 -0
  524. package/fesm2020/pdm-ui-kit-src-progress.mjs.map +1 -0
  525. package/fesm2020/pdm-ui-kit-src-radio-group.mjs +63 -0
  526. package/fesm2020/pdm-ui-kit-src-radio-group.mjs.map +1 -0
  527. package/fesm2020/pdm-ui-kit-src-scroll-area.mjs +45 -0
  528. package/fesm2020/pdm-ui-kit-src-scroll-area.mjs.map +1 -0
  529. package/fesm2020/pdm-ui-kit-src-select.mjs +241 -0
  530. package/fesm2020/pdm-ui-kit-src-select.mjs.map +1 -0
  531. package/fesm2020/pdm-ui-kit-src-separator.mjs +51 -0
  532. package/fesm2020/pdm-ui-kit-src-separator.mjs.map +1 -0
  533. package/fesm2020/pdm-ui-kit-src-sidebar.mjs +92 -0
  534. package/fesm2020/pdm-ui-kit-src-sidebar.mjs.map +1 -0
  535. package/fesm2020/pdm-ui-kit-src-skeleton.mjs +42 -0
  536. package/fesm2020/pdm-ui-kit-src-skeleton.mjs.map +1 -0
  537. package/fesm2020/pdm-ui-kit-src-slider.mjs +71 -0
  538. package/fesm2020/pdm-ui-kit-src-slider.mjs.map +1 -0
  539. package/fesm2020/pdm-ui-kit-src-sonner.mjs +63 -0
  540. package/fesm2020/pdm-ui-kit-src-sonner.mjs.map +1 -0
  541. package/fesm2020/pdm-ui-kit-src-spinner.mjs +45 -0
  542. package/fesm2020/pdm-ui-kit-src-spinner.mjs.map +1 -0
  543. package/fesm2020/pdm-ui-kit-src-switch.mjs +83 -0
  544. package/fesm2020/pdm-ui-kit-src-switch.mjs.map +1 -0
  545. package/fesm2020/pdm-ui-kit-src-tabs.mjs +59 -0
  546. package/fesm2020/pdm-ui-kit-src-tabs.mjs.map +1 -0
  547. package/fesm2020/pdm-ui-kit-src-toggle.mjs +97 -0
  548. package/fesm2020/pdm-ui-kit-src-toggle.mjs.map +1 -0
  549. package/fesm2020/pdm-ui-kit-src-tooltip.mjs +202 -0
  550. package/fesm2020/pdm-ui-kit-src-tooltip.mjs.map +1 -0
  551. package/fesm2020/pdm-ui-kit-src-utils.mjs +239 -0
  552. package/fesm2020/pdm-ui-kit-src-utils.mjs.map +1 -0
  553. package/fesm2020/pdm-ui-kit.mjs +3865 -3015
  554. package/fesm2020/pdm-ui-kit.mjs.map +1 -1
  555. package/field/field.module.d.ts +8 -0
  556. package/hover-card/hover-card.module.d.ts +9 -0
  557. package/icon/icon.module.d.ts +8 -0
  558. package/{lib/components/input-password → input}/input-password.component.d.ts +1 -1
  559. package/input/input.module.d.ts +13 -0
  560. package/item/item.module.d.ts +8 -0
  561. package/kbd/kbd.module.d.ts +8 -0
  562. package/label/label.module.d.ts +8 -0
  563. package/{lib/components/menubar → menubar}/menubar.component.d.ts +1 -1
  564. package/menubar/menubar.module.d.ts +9 -0
  565. package/native-select/native-select.module.d.ts +9 -0
  566. package/navigation-menu/navigation-menu.module.d.ts +8 -0
  567. package/overlay/pdm-outside-click.module.d.ts +8 -0
  568. package/package.json +786 -2
  569. package/{lib/components/pagination → pagination}/pagination.component.d.ts +1 -1
  570. package/pagination/pagination.module.d.ts +10 -0
  571. package/pdm-ui-kit.module.d.ts +60 -0
  572. package/popover/popover.module.d.ts +9 -0
  573. package/progress/progress.module.d.ts +8 -0
  574. package/public-api.d.ts +114 -66
  575. package/radio-group/radio-group.module.d.ts +8 -0
  576. package/scroll-area/scroll-area.module.d.ts +8 -0
  577. package/{lib/components/select → select}/select.component.d.ts +1 -1
  578. package/select/select.module.d.ts +11 -0
  579. package/separator/separator.module.d.ts +8 -0
  580. package/sidebar/sidebar.module.d.ts +8 -0
  581. package/skeleton/skeleton.module.d.ts +8 -0
  582. package/slider/slider.module.d.ts +8 -0
  583. package/sonner/sonner.module.d.ts +9 -0
  584. package/spinner/spinner.module.d.ts +8 -0
  585. package/src/accordion/accordion.component.d.ts +19 -0
  586. package/src/accordion/accordion.module.d.ts +8 -0
  587. package/src/accordion/index.d.ts +5 -0
  588. package/src/accordion/public-api.d.ts +2 -0
  589. package/src/alert/alert-dialog.component.d.ts +29 -0
  590. package/src/alert/alert.component.d.ts +13 -0
  591. package/src/alert/alert.module.d.ts +9 -0
  592. package/src/alert/index.d.ts +5 -0
  593. package/src/alert/public-api.d.ts +3 -0
  594. package/src/aspect-ratio/aspect-ratio.component.d.ts +10 -0
  595. package/src/aspect-ratio/aspect-ratio.module.d.ts +8 -0
  596. package/src/aspect-ratio/index.d.ts +5 -0
  597. package/src/aspect-ratio/public-api.d.ts +2 -0
  598. package/src/avatar/avatar.component.d.ts +20 -0
  599. package/src/avatar/avatar.module.d.ts +8 -0
  600. package/src/avatar/index.d.ts +5 -0
  601. package/src/avatar/public-api.d.ts +2 -0
  602. package/src/badge/badge.component.d.ts +9 -0
  603. package/src/badge/badge.module.d.ts +8 -0
  604. package/src/badge/index.d.ts +5 -0
  605. package/src/badge/public-api.d.ts +2 -0
  606. package/src/breadcrumb/breadcrumb.component.d.ts +32 -0
  607. package/src/breadcrumb/breadcrumb.module.d.ts +8 -0
  608. package/src/breadcrumb/index.d.ts +5 -0
  609. package/src/breadcrumb/public-api.d.ts +2 -0
  610. package/src/button/button-group.component.d.ts +19 -0
  611. package/src/button/button.component.d.ts +29 -0
  612. package/src/button/button.module.d.ts +9 -0
  613. package/src/button/index.d.ts +5 -0
  614. package/src/button/public-api.d.ts +3 -0
  615. package/src/calendar/calendar.component.d.ts +149 -0
  616. package/src/calendar/calendar.module.d.ts +11 -0
  617. package/src/calendar/date-picker.component.d.ts +89 -0
  618. package/src/calendar/index.d.ts +5 -0
  619. package/src/calendar/public-api.d.ts +3 -0
  620. package/src/card/card.component.d.ts +37 -0
  621. package/src/card/card.module.d.ts +8 -0
  622. package/src/card/index.d.ts +5 -0
  623. package/src/card/public-api.d.ts +2 -0
  624. package/src/carousel/carousel.component.d.ts +28 -0
  625. package/src/carousel/carousel.module.d.ts +8 -0
  626. package/src/carousel/index.d.ts +5 -0
  627. package/src/carousel/public-api.d.ts +2 -0
  628. package/src/chart/chart.component.d.ts +44 -0
  629. package/src/chart/chart.module.d.ts +8 -0
  630. package/src/chart/index.d.ts +5 -0
  631. package/src/chart/public-api.d.ts +2 -0
  632. package/src/checkbox/checkbox.component.d.ts +17 -0
  633. package/src/checkbox/checkbox.module.d.ts +8 -0
  634. package/src/checkbox/index.d.ts +5 -0
  635. package/src/checkbox/public-api.d.ts +2 -0
  636. package/src/collapsible/collapsible.component.d.ts +14 -0
  637. package/src/collapsible/collapsible.module.d.ts +8 -0
  638. package/src/collapsible/index.d.ts +5 -0
  639. package/src/collapsible/public-api.d.ts +2 -0
  640. package/src/combobox/combobox.component.d.ts +35 -0
  641. package/src/combobox/combobox.module.d.ts +9 -0
  642. package/src/combobox/index.d.ts +5 -0
  643. package/src/combobox/public-api.d.ts +2 -0
  644. package/src/command/command.component.d.ts +33 -0
  645. package/src/command/command.module.d.ts +9 -0
  646. package/src/command/index.d.ts +5 -0
  647. package/src/command/public-api.d.ts +2 -0
  648. package/src/context-menu/context-menu.component.d.ts +38 -0
  649. package/src/context-menu/context-menu.module.d.ts +9 -0
  650. package/src/context-menu/index.d.ts +5 -0
  651. package/src/context-menu/public-api.d.ts +2 -0
  652. package/src/data-table/data-table.component.d.ts +200 -0
  653. package/src/data-table/data-table.module.d.ts +10 -0
  654. package/src/data-table/draggable-table.component.d.ts +74 -0
  655. package/src/data-table/index.d.ts +5 -0
  656. package/src/data-table/public-api.d.ts +4 -0
  657. package/src/data-table/table.component.d.ts +55 -0
  658. package/src/dialog/dialog.component.d.ts +72 -0
  659. package/src/dialog/dialog.module.d.ts +8 -0
  660. package/src/dialog/index.d.ts +5 -0
  661. package/src/dialog/public-api.d.ts +2 -0
  662. package/src/drawer/drawer.component.d.ts +96 -0
  663. package/src/drawer/drawer.module.d.ts +10 -0
  664. package/src/drawer/index.d.ts +5 -0
  665. package/src/drawer/public-api.d.ts +3 -0
  666. package/src/drawer/sheet.component.d.ts +46 -0
  667. package/src/dropdown-menu/dropdown-menu.component.d.ts +61 -0
  668. package/src/dropdown-menu/dropdown-menu.module.d.ts +9 -0
  669. package/src/dropdown-menu/index.d.ts +5 -0
  670. package/src/dropdown-menu/public-api.d.ts +2 -0
  671. package/src/empty/empty.component.d.ts +19 -0
  672. package/src/empty/empty.module.d.ts +10 -0
  673. package/src/empty/index.d.ts +5 -0
  674. package/src/empty/public-api.d.ts +2 -0
  675. package/src/field/field.component.d.ts +23 -0
  676. package/src/field/field.module.d.ts +8 -0
  677. package/src/field/index.d.ts +5 -0
  678. package/src/field/public-api.d.ts +2 -0
  679. package/src/hover-card/hover-card.component.d.ts +37 -0
  680. package/src/hover-card/hover-card.module.d.ts +9 -0
  681. package/src/hover-card/index.d.ts +5 -0
  682. package/src/hover-card/public-api.d.ts +2 -0
  683. package/src/icon/icon.component.d.ts +28 -0
  684. package/src/icon/icon.module.d.ts +8 -0
  685. package/src/icon/index.d.ts +5 -0
  686. package/src/icon/public-api.d.ts +2 -0
  687. package/src/input/index.d.ts +5 -0
  688. package/src/input/input-group.component.d.ts +22 -0
  689. package/src/input/input-otp.component.d.ts +26 -0
  690. package/src/input/input-password.component.d.ts +28 -0
  691. package/src/input/input.component.d.ts +27 -0
  692. package/src/input/input.module.d.ts +13 -0
  693. package/src/input/public-api.d.ts +6 -0
  694. package/src/input/textarea.component.d.ts +21 -0
  695. package/src/item/index.d.ts +5 -0
  696. package/src/item/item.component.d.ts +8 -0
  697. package/src/item/item.module.d.ts +8 -0
  698. package/src/item/public-api.d.ts +2 -0
  699. package/src/kbd/index.d.ts +5 -0
  700. package/src/kbd/kbd.component.d.ts +6 -0
  701. package/src/kbd/kbd.module.d.ts +8 -0
  702. package/src/kbd/public-api.d.ts +2 -0
  703. package/src/label/index.d.ts +5 -0
  704. package/src/label/label.component.d.ts +8 -0
  705. package/src/label/label.module.d.ts +8 -0
  706. package/src/label/public-api.d.ts +2 -0
  707. package/src/menubar/index.d.ts +5 -0
  708. package/src/menubar/menubar.component.d.ts +34 -0
  709. package/src/menubar/menubar.module.d.ts +9 -0
  710. package/src/menubar/public-api.d.ts +2 -0
  711. package/src/native-select/index.d.ts +5 -0
  712. package/src/native-select/native-select.component.d.ts +20 -0
  713. package/src/native-select/native-select.module.d.ts +9 -0
  714. package/src/native-select/public-api.d.ts +2 -0
  715. package/src/navigation-menu/index.d.ts +5 -0
  716. package/src/navigation-menu/navigation-menu.component.d.ts +33 -0
  717. package/src/navigation-menu/navigation-menu.module.d.ts +8 -0
  718. package/src/navigation-menu/public-api.d.ts +2 -0
  719. package/src/overlay/create-flexible-position-strategy.d.ts +15 -0
  720. package/src/overlay/index.d.ts +5 -0
  721. package/src/overlay/pdm-outside-click.directive.d.ts +40 -0
  722. package/src/overlay/pdm-outside-click.module.d.ts +8 -0
  723. package/src/overlay/pdm-overlay-options.d.ts +21 -0
  724. package/src/overlay/public-api.d.ts +5 -0
  725. package/src/overlay/z-index-helper.d.ts +36 -0
  726. package/src/pagination/index.d.ts +5 -0
  727. package/src/pagination/pagination.component.d.ts +21 -0
  728. package/src/pagination/pagination.module.d.ts +10 -0
  729. package/src/pagination/public-api.d.ts +2 -0
  730. package/src/popover/index.d.ts +5 -0
  731. package/src/popover/popover.component.d.ts +32 -0
  732. package/src/popover/popover.module.d.ts +9 -0
  733. package/src/popover/public-api.d.ts +2 -0
  734. package/src/progress/index.d.ts +5 -0
  735. package/src/progress/progress.component.d.ts +10 -0
  736. package/src/progress/progress.module.d.ts +8 -0
  737. package/src/progress/public-api.d.ts +2 -0
  738. package/src/radio-group/index.d.ts +5 -0
  739. package/src/radio-group/public-api.d.ts +2 -0
  740. package/src/radio-group/radio-group.component.d.ts +19 -0
  741. package/src/radio-group/radio-group.module.d.ts +8 -0
  742. package/src/scroll-area/index.d.ts +5 -0
  743. package/src/scroll-area/public-api.d.ts +2 -0
  744. package/src/scroll-area/scroll-area.component.d.ts +7 -0
  745. package/src/scroll-area/scroll-area.module.d.ts +8 -0
  746. package/src/select/index.d.ts +5 -0
  747. package/src/select/public-api.d.ts +3 -0
  748. package/src/select/select-option.directive.d.ts +34 -0
  749. package/src/select/select.component.d.ts +55 -0
  750. package/src/select/select.module.d.ts +11 -0
  751. package/src/separator/index.d.ts +5 -0
  752. package/src/separator/public-api.d.ts +2 -0
  753. package/src/separator/separator.component.d.ts +9 -0
  754. package/src/separator/separator.module.d.ts +8 -0
  755. package/src/sidebar/index.d.ts +5 -0
  756. package/src/sidebar/public-api.d.ts +2 -0
  757. package/src/sidebar/sidebar.component.d.ts +45 -0
  758. package/src/sidebar/sidebar.module.d.ts +8 -0
  759. package/src/skeleton/index.d.ts +5 -0
  760. package/src/skeleton/public-api.d.ts +2 -0
  761. package/src/skeleton/skeleton.component.d.ts +6 -0
  762. package/src/skeleton/skeleton.module.d.ts +8 -0
  763. package/src/slider/index.d.ts +5 -0
  764. package/src/slider/public-api.d.ts +2 -0
  765. package/src/slider/slider.component.d.ts +15 -0
  766. package/src/slider/slider.module.d.ts +8 -0
  767. package/src/sonner/index.d.ts +5 -0
  768. package/src/sonner/public-api.d.ts +2 -0
  769. package/src/sonner/sonner.component.d.ts +13 -0
  770. package/src/sonner/sonner.module.d.ts +9 -0
  771. package/src/spinner/index.d.ts +5 -0
  772. package/src/spinner/public-api.d.ts +2 -0
  773. package/src/spinner/spinner.component.d.ts +7 -0
  774. package/src/spinner/spinner.module.d.ts +8 -0
  775. package/src/switch/index.d.ts +5 -0
  776. package/src/switch/public-api.d.ts +2 -0
  777. package/src/switch/switch.module.d.ts +8 -0
  778. package/src/tabs/index.d.ts +5 -0
  779. package/src/tabs/public-api.d.ts +2 -0
  780. package/src/tabs/tabs.module.d.ts +8 -0
  781. package/src/toggle/index.d.ts +5 -0
  782. package/src/toggle/public-api.d.ts +3 -0
  783. package/src/toggle/toggle.module.d.ts +9 -0
  784. package/src/tooltip/index.d.ts +5 -0
  785. package/src/tooltip/public-api.d.ts +2 -0
  786. package/src/tooltip/tooltip.module.d.ts +9 -0
  787. package/src/utils/index.d.ts +5 -0
  788. package/src/utils/public-api.d.ts +2 -0
  789. package/switch/switch.component.d.ts +18 -0
  790. package/switch/switch.module.d.ts +8 -0
  791. package/tabs/tabs.component.d.ts +18 -0
  792. package/tabs/tabs.module.d.ts +8 -0
  793. package/toggle/toggle-group.component.d.ts +16 -0
  794. package/toggle/toggle.component.d.ts +14 -0
  795. package/toggle/toggle.module.d.ts +9 -0
  796. package/tooltip/tooltip.component.d.ts +28 -0
  797. package/tooltip/tooltip.module.d.ts +9 -0
  798. package/utils/responsive.d.ts +107 -0
  799. package/utils/z-index.d.ts +69 -0
  800. package/esm2020/lib/components/button/button.component.mjs +0 -114
  801. package/esm2020/lib/components/calendar/calendar.component.mjs +0 -529
  802. package/esm2020/lib/components/carousel/carousel.component.mjs +0 -102
  803. package/esm2020/lib/components/command/command.component.mjs +0 -75
  804. package/esm2020/lib/components/context-menu/context-menu.component.mjs +0 -165
  805. package/esm2020/lib/components/data-table/data-table.component.mjs +0 -299
  806. package/esm2020/lib/components/dialog/dialog.component.mjs +0 -265
  807. package/esm2020/lib/components/draggable-table/draggable-table.component.mjs +0 -300
  808. package/esm2020/lib/components/drawer/drawer.component.mjs +0 -217
  809. package/esm2020/lib/components/dropdown-menu/dropdown-menu.component.mjs +0 -192
  810. package/esm2020/lib/components/icon/icon.component.mjs +0 -144
  811. package/esm2020/lib/components/input-otp/input-otp.component.mjs +0 -144
  812. package/esm2020/lib/components/menubar/menubar.component.mjs +0 -144
  813. package/esm2020/lib/components/select/select-option.directive.mjs +0 -55
  814. package/esm2020/lib/components/select/select.component.mjs +0 -164
  815. package/esm2020/lib/components/sheet/sheet.component.mjs +0 -116
  816. package/esm2020/lib/components/switch/switch.component.mjs +0 -58
  817. package/esm2020/lib/components/table/table.component.mjs +0 -182
  818. package/esm2020/lib/overlay/create-flexible-position-strategy.mjs +0 -54
  819. package/esm2020/lib/overlay/pdm-outside-click.directive.mjs +0 -86
  820. package/esm2020/lib/overlay/pdm-overlay-options.mjs +0 -2
  821. package/esm2020/lib/overlay/z-index-helper.mjs +0 -69
  822. package/esm2020/lib/pdm-ui-kit.module.mjs +0 -258
  823. package/esm2020/lib/utils/responsive.mjs +0 -143
  824. package/esm2020/lib/utils/z-index.mjs +0 -90
  825. package/lib/pdm-ui-kit.module.d.ts +0 -68
  826. /package/{lib/components/accordion → accordion}/accordion.component.d.ts +0 -0
  827. /package/{lib/components/alert-dialog → alert}/alert-dialog.component.d.ts +0 -0
  828. /package/{lib/components/alert → alert}/alert.component.d.ts +0 -0
  829. /package/{lib/components/aspect-ratio → aspect-ratio}/aspect-ratio.component.d.ts +0 -0
  830. /package/{lib/components/avatar → avatar}/avatar.component.d.ts +0 -0
  831. /package/{lib/components/badge → badge}/badge.component.d.ts +0 -0
  832. /package/{lib/components/breadcrumb → breadcrumb}/breadcrumb.component.d.ts +0 -0
  833. /package/{lib/components/button-group → button}/button-group.component.d.ts +0 -0
  834. /package/{lib/components/button → button}/button.component.d.ts +0 -0
  835. /package/{lib/components/calendar → calendar}/calendar.component.d.ts +0 -0
  836. /package/{lib/components/card → card}/card.component.d.ts +0 -0
  837. /package/{lib/components/carousel → carousel}/carousel.component.d.ts +0 -0
  838. /package/{lib/components/chart → chart}/chart.component.d.ts +0 -0
  839. /package/{lib/components/checkbox → checkbox}/checkbox.component.d.ts +0 -0
  840. /package/{lib/components/collapsible → collapsible}/collapsible.component.d.ts +0 -0
  841. /package/{lib/components/combobox → combobox}/combobox.component.d.ts +0 -0
  842. /package/{lib/components/dialog → dialog}/dialog.component.d.ts +0 -0
  843. /package/{lib/components/drawer → drawer}/drawer.component.d.ts +0 -0
  844. /package/{lib/components/sheet → drawer}/sheet.component.d.ts +0 -0
  845. /package/{lib/components/empty → empty}/empty.component.d.ts +0 -0
  846. /package/{lib/components/field → field}/field.component.d.ts +0 -0
  847. /package/{lib/components/hover-card → hover-card}/hover-card.component.d.ts +0 -0
  848. /package/{lib/components/icon → icon}/icon.component.d.ts +0 -0
  849. /package/{lib/components/input-group → input}/input-group.component.d.ts +0 -0
  850. /package/{lib/components/input-otp → input}/input-otp.component.d.ts +0 -0
  851. /package/{lib/components/input → input}/input.component.d.ts +0 -0
  852. /package/{lib/components/textarea → input}/textarea.component.d.ts +0 -0
  853. /package/{lib/components/item → item}/item.component.d.ts +0 -0
  854. /package/{lib/components/kbd → kbd}/kbd.component.d.ts +0 -0
  855. /package/{lib/components/label → label}/label.component.d.ts +0 -0
  856. /package/{lib/components/native-select → native-select}/native-select.component.d.ts +0 -0
  857. /package/{lib/components/navigation-menu → navigation-menu}/navigation-menu.component.d.ts +0 -0
  858. /package/{lib/overlay → overlay}/create-flexible-position-strategy.d.ts +0 -0
  859. /package/{lib/overlay → overlay}/pdm-outside-click.directive.d.ts +0 -0
  860. /package/{lib/overlay → overlay}/pdm-overlay-options.d.ts +0 -0
  861. /package/{lib/overlay → overlay}/z-index-helper.d.ts +0 -0
  862. /package/{lib/components/popover → popover}/popover.component.d.ts +0 -0
  863. /package/{lib/components/progress → progress}/progress.component.d.ts +0 -0
  864. /package/{lib/components/radio-group → radio-group}/radio-group.component.d.ts +0 -0
  865. /package/{lib/components/scroll-area → scroll-area}/scroll-area.component.d.ts +0 -0
  866. /package/{lib/components/select → select}/select-option.directive.d.ts +0 -0
  867. /package/{lib/components/separator → separator}/separator.component.d.ts +0 -0
  868. /package/{lib/components/sidebar → sidebar}/sidebar.component.d.ts +0 -0
  869. /package/{lib/components/skeleton → skeleton}/skeleton.component.d.ts +0 -0
  870. /package/{lib/components/slider → slider}/slider.component.d.ts +0 -0
  871. /package/{lib/components/sonner → sonner}/sonner.component.d.ts +0 -0
  872. /package/{lib/components/spinner → spinner}/spinner.component.d.ts +0 -0
  873. /package/src/{lib/styles → styles}/tokens.css +0 -0
  874. /package/{lib/components → src}/switch/switch.component.d.ts +0 -0
  875. /package/{lib/components → src}/tabs/tabs.component.d.ts +0 -0
  876. /package/{lib/components/toggle-group → src/toggle}/toggle-group.component.d.ts +0 -0
  877. /package/{lib/components → src}/toggle/toggle.component.d.ts +0 -0
  878. /package/{lib/components → src}/tooltip/tooltip.component.d.ts +0 -0
  879. /package/{lib → src}/utils/responsive.d.ts +0 -0
  880. /package/{lib → src}/utils/z-index.d.ts +0 -0
@@ -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":";;;;;AASA;;;;;;;;;;;;AAYG;MAMU,sBAAsB,CAAA;AALnC,IAAA,WAAA,GAAA;AAMW,QAAA,IAAI,CAAA,IAAA,GAAsB,gBAAgB,CAAC;QAC3C,IAAK,CAAA,KAAA,GAAa,CAAC,MAAM,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;AACvD,QAAA,IAAS,CAAA,SAAA,GAAG,EAAE,CAAC;AAExB;;;AAGG;AACM,QAAA,IAAc,CAAA,cAAA,GAAG,CAAC,CAAC;KAuB7B;AArBC,IAAA,IAAI,aAAa,GAAA;AACf,QAAA,IAAI,IAAI,CAAC,IAAI,KAAK,WAAW,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;AACtD,YAAA,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC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AU;AACxB,oBAAA,OAAO,EAAE,UAAU;iBACpB,CAAA;;;ACZD;;AAEG;;;;"}
@@ -0,0 +1,376 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+
6
+ class PdmButtonComponent {
7
+ constructor() {
8
+ this.type = 'button';
9
+ this.variant = 'default';
10
+ this.state = 'default';
11
+ this.size = 'default';
12
+ this.disabled = false;
13
+ this.loading = false;
14
+ this.className = '';
15
+ this.pressed = new EventEmitter();
16
+ this.toneClassMap = {
17
+ default: { default: 'border-primary bg-primary text-primary-foreground', hover: 'border-primary bg-primary text-primary-foreground opacity-90' },
18
+ primary: { default: 'border-primary bg-primary text-primary-foreground', hover: 'border-primary bg-primary text-primary-foreground opacity-90' },
19
+ destructive: { default: 'border-border bg-destructive text-destructive-foreground', hover: 'border-border bg-destructive text-destructive-foreground opacity-90' },
20
+ outline: { default: 'border-border bg-background text-foreground', hover: 'border-border bg-muted text-foreground' },
21
+ subtle: { default: 'border-secondary bg-secondary text-secondary-foreground', hover: 'border-accent bg-accent text-accent-foreground' },
22
+ secondary: { default: 'border-secondary bg-secondary text-secondary-foreground', hover: 'border-accent bg-accent text-accent-foreground' },
23
+ ghost: { default: 'border-border bg-transparent text-foreground', hover: 'border-border bg-accent text-accent-foreground' },
24
+ link: { default: 'border-border bg-transparent text-primary', hover: 'border-border bg-transparent text-primary underline underline-offset-4' },
25
+ 'with-icon': { default: 'border-primary bg-primary text-primary-foreground', hover: 'border-primary bg-primary text-primary-foreground opacity-90' },
26
+ icon: { default: 'border-border bg-background text-foreground', hover: 'border-border bg-accent text-accent-foreground' },
27
+ 'icon-circle': { default: 'border-border bg-background text-foreground', hover: 'border-border bg-accent text-accent-foreground' },
28
+ rounded: { default: 'border-border bg-background text-foreground', hover: 'border-border bg-accent text-accent-foreground' },
29
+ loading: { default: 'border-primary bg-primary text-primary-foreground opacity-70', hover: 'border-primary bg-primary text-primary-foreground opacity-70' }
30
+ };
31
+ }
32
+ get isDisabled() {
33
+ return this.disabled || this.loading || this.variant === 'loading';
34
+ }
35
+ get resolvedVariant() {
36
+ return this.isValidVariant(this.variant) ? this.variant : 'default';
37
+ }
38
+ get resolvedState() {
39
+ return this.state === 'hover' ? 'hover' : 'default';
40
+ }
41
+ get resolvedSize() {
42
+ if (this.size === 'small' || this.size === 'large') {
43
+ return this.size;
44
+ }
45
+ return 'default';
46
+ }
47
+ get showsIconSlot() {
48
+ const variant = this.resolvedVariant;
49
+ return variant === 'with-icon' || variant === 'icon' || variant === 'icon-circle' || variant === 'rounded';
50
+ }
51
+ get rootClasses() {
52
+ const currentState = this.resolvedState;
53
+ const variant = this.resolvedVariant;
54
+ const toneClass = this.toneClassMap[variant][currentState];
55
+ return [
56
+ 'inline-flex appearance-none box-border items-center justify-center gap-2 rounded-md border border-solid text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-clip-padding',
57
+ variant === 'link' ? 'px-4 py-2 h-9' : '',
58
+ variant === 'icon' ? 'h-9 w-9 p-0' : '',
59
+ variant === 'icon-circle' ? 'h-10 w-10 rounded-full p-0' : '',
60
+ variant === 'rounded' ? 'h-9 w-9 rounded-full p-0' : '',
61
+ variant !== 'icon' && variant !== 'icon-circle' && variant !== 'rounded'
62
+ ? this.resolvedSize === 'small'
63
+ ? 'h-8 px-3 text-xs'
64
+ : this.resolvedSize === 'large'
65
+ ? 'h-10 px-8'
66
+ : 'h-9 px-4'
67
+ : '',
68
+ variant === 'link' && currentState === 'hover' ? 'underline underline-offset-4' : '',
69
+ toneClass,
70
+ this.className
71
+ ];
72
+ }
73
+ onClick(event) {
74
+ if (!this.isDisabled) {
75
+ this.pressed.emit(event);
76
+ }
77
+ }
78
+ isValidVariant(value) {
79
+ return (value === 'default' ||
80
+ value === 'primary' ||
81
+ value === 'destructive' ||
82
+ value === 'outline' ||
83
+ value === 'subtle' ||
84
+ value === 'secondary' ||
85
+ value === 'ghost' ||
86
+ value === 'link' ||
87
+ value === 'with-icon' ||
88
+ value === 'icon' ||
89
+ value === 'icon-circle' ||
90
+ value === 'rounded' ||
91
+ value === 'loading');
92
+ }
93
+ }
94
+ PdmButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
95
+ PdmButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmButtonComponent, selector: "pdm-button", inputs: { type: "type", variant: "variant", state: "state", size: "size", disabled: "disabled", loading: "loading", className: "className" }, outputs: { pressed: "pressed" }, ngImport: i0, template: "<button\n [type]=\"type\"\n [disabled]=\"isDisabled\"\n [attr.aria-busy]=\"loading\"\n [ngClass]=\"rootClasses\"\n (click)=\"onClick($event)\"\n>\n <span\n *ngIf=\"loading\"\n class=\"inline-block h-4 w-4 animate-spin rounded-full border-2 border-current border-r-transparent\"\n aria-hidden=\"true\"\n ></span>\n <ng-content select=\"[pdmButtonIcon]\" *ngIf=\"showsIconSlot\"></ng-content>\n <ng-content></ng-content>\n</button>\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 });
96
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmButtonComponent, decorators: [{
97
+ type: Component,
98
+ args: [{ selector: 'pdm-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n [type]=\"type\"\n [disabled]=\"isDisabled\"\n [attr.aria-busy]=\"loading\"\n [ngClass]=\"rootClasses\"\n (click)=\"onClick($event)\"\n>\n <span\n *ngIf=\"loading\"\n class=\"inline-block h-4 w-4 animate-spin rounded-full border-2 border-current border-r-transparent\"\n aria-hidden=\"true\"\n ></span>\n <ng-content select=\"[pdmButtonIcon]\" *ngIf=\"showsIconSlot\"></ng-content>\n <ng-content></ng-content>\n</button>\n" }]
99
+ }], propDecorators: { type: [{
100
+ type: Input
101
+ }], variant: [{
102
+ type: Input
103
+ }], state: [{
104
+ type: Input
105
+ }], size: [{
106
+ type: Input
107
+ }], disabled: [{
108
+ type: Input
109
+ }], loading: [{
110
+ type: Input
111
+ }], className: [{
112
+ type: Input
113
+ }], pressed: [{
114
+ type: Output
115
+ }] } });
116
+
117
+ const ROOT_LAYOUT = {
118
+ horizontal: "w-full flex flex-row items-center overflow-visible",
119
+ vertical: "flex flex-col items-stretch",
120
+ };
121
+ const ATTACHMENT_EDGE_CLASSES = {
122
+ horizontal: [
123
+ "[&>*]:rounded-none",
124
+ "[&>*:first-child]:rounded-l-md",
125
+ "[&>*:last-child]:rounded-r-md",
126
+ "[&>*:not(:first-child)]:border-l-0",
127
+ "[&>*:not(:first-child)]:-ml-px",
128
+ ],
129
+ vertical: [
130
+ "[&>*]:rounded-none",
131
+ "[&>*:first-child]:rounded-t-md",
132
+ "[&>*:last-child]:rounded-b-md",
133
+ "[&>*:not(:first-child)]:border-t-0",
134
+ "[&>*:not(:first-child)]:-mt-px",
135
+ ],
136
+ };
137
+ const ATTACHMENT_CONTROL_CLASSES = {
138
+ horizontal: [
139
+ "[&>pdm-button]:flex",
140
+ "[&>pdm-button>button]:h-9",
141
+ "[&>pdm-button>button]:!rounded-none",
142
+ "[&>pdm-button>button]:shadow-none",
143
+ "[&>pdm-button:first-child>button]:!rounded-l-md",
144
+ "[&>pdm-button:last-child>button]:!rounded-r-md",
145
+ "[&>pdm-input]:flex-1",
146
+ "[&>pdm-input]:min-w-0",
147
+ "[&>pdm-input>div]:w-full",
148
+ "[&>pdm-input>div]:min-w-0",
149
+ "[&>pdm-input>div]:!rounded-none",
150
+ "[&>pdm-input>div]:shadow-none",
151
+ "[&>pdm-input>div>input]:!rounded-none",
152
+ "[&>pdm-input>div>input]:bg-background",
153
+ "[&>pdm-input>div>input]:shadow-none",
154
+ "[&>pdm-input:first-child>div]:!rounded-l-md",
155
+ "[&>pdm-input:last-child>div]:!rounded-r-md",
156
+ "[&>pdm-input:first-child>div>input]:!rounded-l-md",
157
+ "[&>pdm-input:last-child>div>input]:!rounded-r-md",
158
+ "[&>pdm-input-group]:min-w-0",
159
+ "[&>pdm-input-group>div]:!rounded-none",
160
+ "[&>pdm-input-group>div]:shadow-none",
161
+ "[&>pdm-input-group:first-child>div]:!rounded-l-md",
162
+ "[&>pdm-input-group:last-child>div]:!rounded-r-md",
163
+ "[&>pdm-select>select]:!rounded-none",
164
+ "[&>pdm-select>select]:shadow-none",
165
+ "[&>pdm-select>div>button]:!rounded-none",
166
+ "[&>pdm-select>div>button]:shadow-none",
167
+ "[&>pdm-select:first-child>select]:!rounded-l-md",
168
+ "[&>pdm-select:last-child>select]:!rounded-r-md",
169
+ "[&>pdm-select:first-child>div>button]:!rounded-l-md",
170
+ "[&>pdm-select:last-child>div>button]:!rounded-r-md",
171
+ "[&>pdm-select:not(:first-child)>div>button]:!rounded-l-none",
172
+ "[&>pdm-select:not(:last-child)>div>button]:!rounded-r-none",
173
+ "[&>pdm-tooltip>span>*]:rounded-none",
174
+ "[&>pdm-tooltip>span>*]:shadow-none",
175
+ "[&>pdm-tooltip:not(:first-child)>span>*]:border-l-0",
176
+ "[&>pdm-tooltip>span>button]:!rounded-none",
177
+ "[&>pdm-tooltip>span>button]:shadow-none",
178
+ "[&>pdm-tooltip:first-child>span>button]:!rounded-l-md",
179
+ "[&>pdm-tooltip:last-child>span>button]:!rounded-r-md",
180
+ "[&>pdm-tooltip>span>input]:!rounded-none",
181
+ "[&>pdm-tooltip>span>input]:bg-background",
182
+ "[&>pdm-tooltip>span>input]:shadow-none",
183
+ "[&>pdm-tooltip:first-child>span>input]:!rounded-l-md",
184
+ "[&>pdm-tooltip:last-child>span>input]:!rounded-r-md",
185
+ "[&>pdm-tooltip>span>select]:!rounded-none",
186
+ "[&>pdm-tooltip>span>select]:shadow-none",
187
+ "[&>pdm-tooltip:first-child>span>select]:!rounded-l-md",
188
+ "[&>pdm-tooltip:last-child>span>select]:!rounded-r-md",
189
+ "[&>pdm-tooltip>span>pdm-button>button]:!rounded-none",
190
+ "[&>pdm-tooltip>span>pdm-button>button]:shadow-none",
191
+ "[&>pdm-tooltip:first-child>span>pdm-button>button]:!rounded-l-md",
192
+ "[&>pdm-tooltip:last-child>span>pdm-button>button]:!rounded-r-md",
193
+ "[&>pdm-tooltip>span>pdm-input>div]:!rounded-none",
194
+ "[&>pdm-tooltip>span>pdm-input>div]:shadow-none",
195
+ "[&>pdm-tooltip>span>pdm-input>div>input]:!rounded-none",
196
+ "[&>pdm-tooltip>span>pdm-input>div>input]:bg-background",
197
+ "[&>pdm-tooltip>span>pdm-input>div>input]:shadow-none",
198
+ "[&>pdm-tooltip:first-child>span>pdm-input>div]:!rounded-l-md",
199
+ "[&>pdm-tooltip:last-child>span>pdm-input>div]:!rounded-r-md",
200
+ "[&>pdm-tooltip:first-child>span>pdm-input>div>input]:!rounded-l-md",
201
+ "[&>pdm-tooltip:last-child>span>pdm-input>div>input]:!rounded-r-md",
202
+ "[&>pdm-tooltip>span>pdm-input-group>div]:!rounded-none",
203
+ "[&>pdm-tooltip>span>pdm-input-group>div]:shadow-none",
204
+ "[&>pdm-tooltip:first-child>span>pdm-input-group>div]:!rounded-l-md",
205
+ "[&>pdm-tooltip:last-child>span>pdm-input-group>div]:!rounded-r-md",
206
+ "[&>pdm-tooltip>span>pdm-select>select]:!rounded-none",
207
+ "[&>pdm-tooltip>span>pdm-select>select]:shadow-none",
208
+ "[&>pdm-tooltip>span>pdm-select>div>button]:!rounded-none",
209
+ "[&>pdm-tooltip>span>pdm-select>div>button]:shadow-none",
210
+ "[&>pdm-tooltip:first-child>span>pdm-select>select]:!rounded-l-md",
211
+ "[&>pdm-tooltip:last-child>span>pdm-select>select]:!rounded-r-md",
212
+ "[&>pdm-tooltip:first-child>span>pdm-select>div>button]:!rounded-l-md",
213
+ "[&>pdm-tooltip:last-child>span>pdm-select>div>button]:!rounded-r-md",
214
+ "[&>pdm-tooltip:not(:first-child)>span>pdm-select>div>button]:!rounded-l-none",
215
+ "[&>pdm-tooltip:not(:last-child)>span>pdm-select>div>button]:!rounded-r-none",
216
+ ],
217
+ vertical: [
218
+ "[&>*]:rounded-none",
219
+ "[&>*:first-child]:rounded-t-md",
220
+ "[&>*:last-child]:rounded-b-md",
221
+ "[&>*:not(:first-child)]:border-t-0",
222
+ "[&>*:not(:first-child)]:-mt-px",
223
+ "[&>pdm-button]:flex",
224
+ "[&>pdm-button>button]:h-9",
225
+ "[&>pdm-button>button]:!rounded-none",
226
+ "[&>pdm-button>button]:shadow-none",
227
+ "[&>pdm-button:first-child>button]:!rounded-t-md",
228
+ "[&>pdm-button:last-child>button]:!rounded-b-md",
229
+ "[&>pdm-input>div]:!rounded-none",
230
+ "[&>pdm-input>div]:shadow-none",
231
+ "[&>pdm-input>div>input]:!rounded-none",
232
+ "[&>pdm-input>div>input]:bg-background",
233
+ "[&>pdm-input>div>input]:shadow-none",
234
+ "[&>pdm-input:first-child>div]:!rounded-t-md",
235
+ "[&>pdm-input:last-child>div]:!rounded-b-md",
236
+ "[&>pdm-input:first-child>div>input]:!rounded-t-md",
237
+ "[&>pdm-input:last-child>div>input]:!rounded-b-md",
238
+ "[&>pdm-input-group>div]:!rounded-none",
239
+ "[&>pdm-input-group>div]:shadow-none",
240
+ "[&>pdm-input-group:first-child>div]:!rounded-t-md",
241
+ "[&>pdm-input-group:last-child>div]:!rounded-b-md",
242
+ "[&>pdm-select>select]:!rounded-none",
243
+ "[&>pdm-select>select]:shadow-none",
244
+ "[&>pdm-select>div>button]:!rounded-none",
245
+ "[&>pdm-select>div>button]:shadow-none",
246
+ "[&>pdm-select:first-child>select]:!rounded-t-md",
247
+ "[&>pdm-select:last-child>select]:!rounded-b-md",
248
+ "[&>pdm-select:first-child>div>button]:!rounded-t-md",
249
+ "[&>pdm-select:last-child>div>button]:!rounded-b-md",
250
+ "[&>pdm-select:not(:first-child)>div>button]:!rounded-t-none",
251
+ "[&>pdm-select:not(:last-child)>div>button]:!rounded-b-none",
252
+ "[&>pdm-tooltip>span>*]:rounded-none",
253
+ "[&>pdm-tooltip>span>*]:shadow-none",
254
+ "[&>pdm-tooltip:not(:first-child)>span>*]:border-t-0",
255
+ "[&>pdm-tooltip>span>button]:!rounded-none",
256
+ "[&>pdm-tooltip>span>button]:shadow-none",
257
+ "[&>pdm-tooltip:first-child>span>button]:!rounded-t-md",
258
+ "[&>pdm-tooltip:last-child>span>button]:!rounded-b-md",
259
+ "[&>pdm-tooltip>span>input]:!rounded-none",
260
+ "[&>pdm-tooltip>span>input]:bg-background",
261
+ "[&>pdm-tooltip>span>input]:shadow-none",
262
+ "[&>pdm-tooltip:first-child>span>input]:!rounded-t-md",
263
+ "[&>pdm-tooltip:last-child>span>input]:!rounded-b-md",
264
+ "[&>pdm-tooltip>span>select]:!rounded-none",
265
+ "[&>pdm-tooltip>span>select]:shadow-none",
266
+ "[&>pdm-tooltip:first-child>span>select]:!rounded-t-md",
267
+ "[&>pdm-tooltip:last-child>span>select]:!rounded-b-md",
268
+ "[&>pdm-tooltip>span>pdm-button>button]:!rounded-none",
269
+ "[&>pdm-tooltip>span>pdm-button>button]:shadow-none",
270
+ "[&>pdm-tooltip:first-child>span>pdm-button>button]:!rounded-t-md",
271
+ "[&>pdm-tooltip:last-child>span>pdm-button>button]:!rounded-b-md",
272
+ "[&>pdm-tooltip>span>pdm-input>div]:!rounded-none",
273
+ "[&>pdm-tooltip>span>pdm-input>div]:shadow-none",
274
+ "[&>pdm-tooltip>span>pdm-input>div>input]:!rounded-none",
275
+ "[&>pdm-tooltip>span>pdm-input>div>input]:bg-background",
276
+ "[&>pdm-tooltip>span>pdm-input>div>input]:shadow-none",
277
+ "[&>pdm-tooltip:first-child>span>pdm-input>div]:!rounded-t-md",
278
+ "[&>pdm-tooltip:last-child>span>pdm-input>div]:!rounded-b-md",
279
+ "[&>pdm-tooltip:first-child>span>pdm-input>div>input]:!rounded-t-md",
280
+ "[&>pdm-tooltip:last-child>span>pdm-input>div>input]:!rounded-b-md",
281
+ "[&>pdm-tooltip>span>pdm-input-group>div]:!rounded-none",
282
+ "[&>pdm-tooltip>span>pdm-input-group>div]:shadow-none",
283
+ "[&>pdm-tooltip:first-child>span>pdm-input-group>div]:!rounded-t-md",
284
+ "[&>pdm-tooltip:last-child>span>pdm-input-group>div]:!rounded-b-md",
285
+ "[&>pdm-tooltip>span>pdm-select>select]:!rounded-none",
286
+ "[&>pdm-tooltip>span>pdm-select>select]:shadow-none",
287
+ "[&>pdm-tooltip>span>pdm-select>div>button]:!rounded-none",
288
+ "[&>pdm-tooltip>span>pdm-select>div>button]:shadow-none",
289
+ "[&>pdm-tooltip:first-child>span>pdm-select>select]:!rounded-t-md",
290
+ "[&>pdm-tooltip:last-child>span>pdm-select>select]:!rounded-b-md",
291
+ "[&>pdm-tooltip:first-child>span>pdm-select>div>button]:!rounded-t-md",
292
+ "[&>pdm-tooltip:last-child>span>pdm-select>div>button]:!rounded-b-md",
293
+ "[&>pdm-tooltip:not(:first-child)>span>pdm-select>div>button]:!rounded-t-none",
294
+ "[&>pdm-tooltip:not(:last-child)>span>pdm-select>div>button]:!rounded-b-none",
295
+ ],
296
+ };
297
+ const FOCUS_STACKING_CLASS = "*:focus-visible:relative *:focus-visible:z-10";
298
+ const SEPARATOR_CLASSES = "overflow-hidden rounded-md border border-solid border-border bg-secondary shadow-sm";
299
+ class PdmButtonGroupComponent {
300
+ constructor() {
301
+ this.variant = "default";
302
+ this.separated = true;
303
+ this.className = "";
304
+ }
305
+ get axis() {
306
+ var _a, _b;
307
+ return (_b = (_a = this.orientation) !== null && _a !== void 0 ? _a : this.direction) !== null && _b !== void 0 ? _b : "horizontal";
308
+ }
309
+ get isVertical() {
310
+ return this.variant === "orientation" || this.axis === "vertical";
311
+ }
312
+ get shouldAttach() {
313
+ return !this.separated && this.variant !== "default";
314
+ }
315
+ get ariaOrientation() {
316
+ return this.isVertical ? "vertical" : "horizontal";
317
+ }
318
+ get rootClasses() {
319
+ return [
320
+ ROOT_LAYOUT[this.isVertical ? "vertical" : "horizontal"],
321
+ this.variant === "default" || this.separated ? "gap-2" : "gap-0",
322
+ this.shouldAttach
323
+ ? ATTACHMENT_EDGE_CLASSES[this.isVertical ? "vertical" : "horizontal"].join(" ")
324
+ : "",
325
+ this.shouldAttach
326
+ ? ATTACHMENT_CONTROL_CLASSES[this.isVertical ? "vertical" : "horizontal"].join(" ")
327
+ : "",
328
+ this.shouldAttach ? FOCUS_STACKING_CLASS : "",
329
+ this.variant === "separator" ? SEPARATOR_CLASSES : "",
330
+ this.className,
331
+ ];
332
+ }
333
+ }
334
+ PdmButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmButtonGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
335
+ PdmButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmButtonGroupComponent, selector: "pdm-button-group", inputs: { variant: "variant", orientation: "orientation", direction: "direction", separated: "separated", className: "className" }, ngImport: i0, template: "<div\n role=\"group\"\n [attr.aria-orientation]=\"ariaOrientation\"\n [ngClass]=\"rootClasses\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
336
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmButtonGroupComponent, decorators: [{
337
+ type: Component,
338
+ args: [{ selector: "pdm-button-group", changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n role=\"group\"\n [attr.aria-orientation]=\"ariaOrientation\"\n [ngClass]=\"rootClasses\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [":host{display:block}\n"] }]
339
+ }], propDecorators: { variant: [{
340
+ type: Input
341
+ }], orientation: [{
342
+ type: Input
343
+ }], direction: [{
344
+ type: Input
345
+ }], separated: [{
346
+ type: Input
347
+ }], className: [{
348
+ type: Input
349
+ }] } });
350
+
351
+ const COMPONENTS = [
352
+ PdmButtonComponent,
353
+ PdmButtonGroupComponent,
354
+ ];
355
+ class PdmButtonModule {
356
+ }
357
+ PdmButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
358
+ PdmButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmButtonModule, declarations: [PdmButtonComponent,
359
+ PdmButtonGroupComponent], imports: [CommonModule], exports: [PdmButtonComponent,
360
+ PdmButtonGroupComponent] });
361
+ PdmButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmButtonModule, imports: [CommonModule] });
362
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmButtonModule, decorators: [{
363
+ type: NgModule,
364
+ args: [{
365
+ imports: [CommonModule],
366
+ declarations: COMPONENTS,
367
+ exports: COMPONENTS
368
+ }]
369
+ }] });
370
+
371
+ /**
372
+ * Generated bundle index. Do not edit.
373
+ */
374
+
375
+ export { PdmButtonComponent, PdmButtonGroupComponent, PdmButtonModule };
376
+ //# sourceMappingURL=pdm-ui-kit-src-button.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdm-ui-kit-src-button.mjs","sources":["../../../src/button/button.component.ts","../../../src/button/button.component.html","../../../src/button/button-group.component.ts","../../../src/button/button-group.component.html","../../../src/button/button.module.ts","../../../src/button/pdm-ui-kit-src-button.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\n\nexport type PdmButtonVariant =\n | 'default'\n | 'primary'\n | 'destructive'\n | 'outline'\n | 'subtle'\n | 'secondary'\n | 'ghost'\n | 'link'\n | 'with-icon'\n | 'icon'\n | 'icon-circle'\n | 'rounded'\n | 'loading';\nexport type PdmButtonState = 'default' | 'hover';\nexport type PdmButtonSize = 'small' | 'default' | 'large';\n\n@Component({\n selector: 'pdm-button',\n templateUrl: './button.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class PdmButtonComponent {\n @Input() type: 'button' | 'submit' | 'reset' = 'button';\n @Input() variant: PdmButtonVariant | string = 'default';\n @Input() state: PdmButtonState | string = 'default';\n @Input() size: PdmButtonSize | string = 'default';\n @Input() disabled = false;\n @Input() loading = false;\n @Input() className = '';\n\n @Output() pressed = new EventEmitter<MouseEvent>();\n\n readonly toneClassMap: Record<PdmButtonVariant, { default: string; hover: string }> = {\n default: { default: 'border-primary bg-primary text-primary-foreground', hover: 'border-primary bg-primary text-primary-foreground opacity-90' },\n primary: { default: 'border-primary bg-primary text-primary-foreground', hover: 'border-primary bg-primary text-primary-foreground opacity-90' },\n destructive: { default: 'border-border bg-destructive text-destructive-foreground', hover: 'border-border bg-destructive text-destructive-foreground opacity-90' },\n outline: { default: 'border-border bg-background text-foreground', hover: 'border-border bg-muted text-foreground' },\n subtle: { default: 'border-secondary bg-secondary text-secondary-foreground', hover: 'border-accent bg-accent text-accent-foreground' },\n secondary: { default: 'border-secondary bg-secondary text-secondary-foreground', hover: 'border-accent bg-accent text-accent-foreground' },\n ghost: { default: 'border-border bg-transparent text-foreground', hover: 'border-border bg-accent text-accent-foreground' },\n link: { default: 'border-border bg-transparent text-primary', hover: 'border-border bg-transparent text-primary underline underline-offset-4' },\n 'with-icon': { default: 'border-primary bg-primary text-primary-foreground', hover: 'border-primary bg-primary text-primary-foreground opacity-90' },\n icon: { default: 'border-border bg-background text-foreground', hover: 'border-border bg-accent text-accent-foreground' },\n 'icon-circle': { default: 'border-border bg-background text-foreground', hover: 'border-border bg-accent text-accent-foreground' },\n rounded: { default: 'border-border bg-background text-foreground', hover: 'border-border bg-accent text-accent-foreground' },\n loading: { default: 'border-primary bg-primary text-primary-foreground opacity-70', hover: 'border-primary bg-primary text-primary-foreground opacity-70' }\n };\n\n get isDisabled(): boolean {\n return this.disabled || this.loading || this.variant === 'loading';\n }\n\n get resolvedVariant(): PdmButtonVariant {\n return this.isValidVariant(this.variant) ? this.variant : 'default';\n }\n\n get resolvedState(): PdmButtonState {\n return this.state === 'hover' ? 'hover' : 'default';\n }\n\n get resolvedSize(): PdmButtonSize {\n if (this.size === 'small' || this.size === 'large') {\n return this.size;\n }\n\n return 'default';\n }\n\n get showsIconSlot(): boolean {\n const variant = this.resolvedVariant;\n return variant === 'with-icon' || variant === 'icon' || variant === 'icon-circle' || variant === 'rounded';\n }\n\n get rootClasses(): string[] {\n const currentState = this.resolvedState;\n const variant = this.resolvedVariant;\n const toneClass = this.toneClassMap[variant][currentState];\n\n return [\n 'inline-flex appearance-none box-border items-center justify-center gap-2 rounded-md border border-solid text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-clip-padding',\n variant === 'link' ? 'px-4 py-2 h-9' : '',\n variant === 'icon' ? 'h-9 w-9 p-0' : '',\n variant === 'icon-circle' ? 'h-10 w-10 rounded-full p-0' : '',\n variant === 'rounded' ? 'h-9 w-9 rounded-full p-0' : '',\n variant !== 'icon' && variant !== 'icon-circle' && variant !== 'rounded'\n ? this.resolvedSize === 'small'\n ? 'h-8 px-3 text-xs'\n : this.resolvedSize === 'large'\n ? 'h-10 px-8'\n : 'h-9 px-4'\n : '',\n variant === 'link' && currentState === 'hover' ? 'underline underline-offset-4' : '',\n toneClass,\n this.className\n ];\n }\n\n onClick(event: MouseEvent): void {\n if (!this.isDisabled) {\n this.pressed.emit(event);\n }\n }\n\n private isValidVariant(value: unknown): value is PdmButtonVariant {\n return (\n value === 'default' ||\n value === 'primary' ||\n value === 'destructive' ||\n value === 'outline' ||\n value === 'subtle' ||\n value === 'secondary' ||\n value === 'ghost' ||\n value === 'link' ||\n value === 'with-icon' ||\n value === 'icon' ||\n value === 'icon-circle' ||\n value === 'rounded' ||\n value === 'loading'\n );\n }\n}\n","<button\n [type]=\"type\"\n [disabled]=\"isDisabled\"\n [attr.aria-busy]=\"loading\"\n [ngClass]=\"rootClasses\"\n (click)=\"onClick($event)\"\n>\n <span\n *ngIf=\"loading\"\n class=\"inline-block h-4 w-4 animate-spin rounded-full border-2 border-current border-r-transparent\"\n aria-hidden=\"true\"\n ></span>\n <ng-content select=\"[pdmButtonIcon]\" *ngIf=\"showsIconSlot\"></ng-content>\n <ng-content></ng-content>\n</button>\n","import { ChangeDetectionStrategy, Component, Input } from \"@angular/core\";\n\nexport type PdmButtonGroupVariant =\n\t| \"default\"\n\t| \"group\"\n\t| \"orientation\"\n\t| \"separator\";\nexport type PdmButtonGroupOrientation = \"horizontal\" | \"vertical\";\n\ntype Axis = \"horizontal\" | \"vertical\";\n\nconst ROOT_LAYOUT: Record<Axis, string> = {\n\thorizontal: \"w-full flex flex-row items-center overflow-visible\",\n\tvertical: \"flex flex-col items-stretch\",\n};\n\nconst ATTACHMENT_EDGE_CLASSES: Record<Axis, string[]> = {\n\thorizontal: [\n\t\t\"[&>*]:rounded-none\",\n\t\t\"[&>*:first-child]:rounded-l-md\",\n\t\t\"[&>*:last-child]:rounded-r-md\",\n\t\t\"[&>*:not(:first-child)]:border-l-0\",\n\t\t\"[&>*:not(:first-child)]:-ml-px\",\n\t],\n\tvertical: [\n\t\t\"[&>*]:rounded-none\",\n\t\t\"[&>*:first-child]:rounded-t-md\",\n\t\t\"[&>*:last-child]:rounded-b-md\",\n\t\t\"[&>*:not(:first-child)]:border-t-0\",\n\t\t\"[&>*:not(:first-child)]:-mt-px\",\n\t],\n};\n\nconst ATTACHMENT_CONTROL_CLASSES: Record<Axis, string[]> = {\n\thorizontal: [\n\t\t\"[&>pdm-button]:flex\",\n\t\t\"[&>pdm-button>button]:h-9\",\n\t\t\"[&>pdm-button>button]:!rounded-none\",\n\t\t\"[&>pdm-button>button]:shadow-none\",\n\t\t\"[&>pdm-button:first-child>button]:!rounded-l-md\",\n\t\t\"[&>pdm-button:last-child>button]:!rounded-r-md\",\n\n\t\t\"[&>pdm-input]:flex-1\",\n\t\t\"[&>pdm-input]:min-w-0\",\n\t\t\"[&>pdm-input>div]:w-full\",\n\t\t\"[&>pdm-input>div]:min-w-0\",\n\t\t\"[&>pdm-input>div]:!rounded-none\",\n\t\t\"[&>pdm-input>div]:shadow-none\",\n\t\t\"[&>pdm-input>div>input]:!rounded-none\",\n\t\t\"[&>pdm-input>div>input]:bg-background\",\n\t\t\"[&>pdm-input>div>input]:shadow-none\",\n\t\t\"[&>pdm-input:first-child>div]:!rounded-l-md\",\n\t\t\"[&>pdm-input:last-child>div]:!rounded-r-md\",\n\t\t\"[&>pdm-input:first-child>div>input]:!rounded-l-md\",\n\t\t\"[&>pdm-input:last-child>div>input]:!rounded-r-md\",\n\n\t\t\"[&>pdm-input-group]:min-w-0\",\n\t\t\"[&>pdm-input-group>div]:!rounded-none\",\n\t\t\"[&>pdm-input-group>div]:shadow-none\",\n\t\t\"[&>pdm-input-group:first-child>div]:!rounded-l-md\",\n\t\t\"[&>pdm-input-group:last-child>div]:!rounded-r-md\",\n\n\t\t\"[&>pdm-select>select]:!rounded-none\",\n\t\t\"[&>pdm-select>select]:shadow-none\",\n\t\t\"[&>pdm-select>div>button]:!rounded-none\",\n\t\t\"[&>pdm-select>div>button]:shadow-none\",\n\t\t\"[&>pdm-select:first-child>select]:!rounded-l-md\",\n\t\t\"[&>pdm-select:last-child>select]:!rounded-r-md\",\n\t\t\"[&>pdm-select:first-child>div>button]:!rounded-l-md\",\n\t\t\"[&>pdm-select:last-child>div>button]:!rounded-r-md\",\n\t\t\"[&>pdm-select:not(:first-child)>div>button]:!rounded-l-none\",\n\t\t\"[&>pdm-select:not(:last-child)>div>button]:!rounded-r-none\",\n\n\t\t\"[&>pdm-tooltip>span>*]:rounded-none\",\n\t\t\"[&>pdm-tooltip>span>*]:shadow-none\",\n\t\t\"[&>pdm-tooltip:not(:first-child)>span>*]:border-l-0\",\n\t\t\"[&>pdm-tooltip>span>button]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>button]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>button]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>button]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip>span>input]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>input]:bg-background\",\n\t\t\"[&>pdm-tooltip>span>input]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>input]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>input]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip>span>select]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>select]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>select]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>select]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-button>button]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-button>button]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-button>button]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-button>button]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div]:shadow-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>input]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>input]:bg-background\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>input]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-input>div]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-input>div]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-input>div>input]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-input>div>input]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-input-group>div]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input-group>div]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-input-group>div]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-input-group>div]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>select]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>select]:shadow-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>div>button]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>div>button]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-select>select]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-select>select]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-select>div>button]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-select>div>button]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip:not(:first-child)>span>pdm-select>div>button]:!rounded-l-none\",\n\t\t\"[&>pdm-tooltip:not(:last-child)>span>pdm-select>div>button]:!rounded-r-none\",\n\t],\n\tvertical: [\n\t\t\"[&>*]:rounded-none\",\n\t\t\"[&>*:first-child]:rounded-t-md\",\n\t\t\"[&>*:last-child]:rounded-b-md\",\n\t\t\"[&>*:not(:first-child)]:border-t-0\",\n\t\t\"[&>*:not(:first-child)]:-mt-px\",\n\n\t\t\"[&>pdm-button]:flex\",\n\t\t\"[&>pdm-button>button]:h-9\",\n\t\t\"[&>pdm-button>button]:!rounded-none\",\n\t\t\"[&>pdm-button>button]:shadow-none\",\n\t\t\"[&>pdm-button:first-child>button]:!rounded-t-md\",\n\t\t\"[&>pdm-button:last-child>button]:!rounded-b-md\",\n\n\t\t\"[&>pdm-input>div]:!rounded-none\",\n\t\t\"[&>pdm-input>div]:shadow-none\",\n\t\t\"[&>pdm-input>div>input]:!rounded-none\",\n\t\t\"[&>pdm-input>div>input]:bg-background\",\n\t\t\"[&>pdm-input>div>input]:shadow-none\",\n\t\t\"[&>pdm-input:first-child>div]:!rounded-t-md\",\n\t\t\"[&>pdm-input:last-child>div]:!rounded-b-md\",\n\t\t\"[&>pdm-input:first-child>div>input]:!rounded-t-md\",\n\t\t\"[&>pdm-input:last-child>div>input]:!rounded-b-md\",\n\n\t\t\"[&>pdm-input-group>div]:!rounded-none\",\n\t\t\"[&>pdm-input-group>div]:shadow-none\",\n\t\t\"[&>pdm-input-group:first-child>div]:!rounded-t-md\",\n\t\t\"[&>pdm-input-group:last-child>div]:!rounded-b-md\",\n\n\t\t\"[&>pdm-select>select]:!rounded-none\",\n\t\t\"[&>pdm-select>select]:shadow-none\",\n\t\t\"[&>pdm-select>div>button]:!rounded-none\",\n\t\t\"[&>pdm-select>div>button]:shadow-none\",\n\t\t\"[&>pdm-select:first-child>select]:!rounded-t-md\",\n\t\t\"[&>pdm-select:last-child>select]:!rounded-b-md\",\n\t\t\"[&>pdm-select:first-child>div>button]:!rounded-t-md\",\n\t\t\"[&>pdm-select:last-child>div>button]:!rounded-b-md\",\n\t\t\"[&>pdm-select:not(:first-child)>div>button]:!rounded-t-none\",\n\t\t\"[&>pdm-select:not(:last-child)>div>button]:!rounded-b-none\",\n\n\t\t\"[&>pdm-tooltip>span>*]:rounded-none\",\n\t\t\"[&>pdm-tooltip>span>*]:shadow-none\",\n\t\t\"[&>pdm-tooltip:not(:first-child)>span>*]:border-t-0\",\n\t\t\"[&>pdm-tooltip>span>button]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>button]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>button]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>button]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip>span>input]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>input]:bg-background\",\n\t\t\"[&>pdm-tooltip>span>input]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>input]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>input]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip>span>select]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>select]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>select]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>select]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-button>button]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-button>button]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-button>button]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-button>button]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div]:shadow-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>input]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>input]:bg-background\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>input]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-input>div]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-input>div]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-input>div>input]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-input>div>input]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-input-group>div]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input-group>div]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-input-group>div]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-input-group>div]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>select]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>select]:shadow-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>div>button]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>div>button]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-select>select]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-select>select]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-select>div>button]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-select>div>button]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip:not(:first-child)>span>pdm-select>div>button]:!rounded-t-none\",\n\t\t\"[&>pdm-tooltip:not(:last-child)>span>pdm-select>div>button]:!rounded-b-none\",\n\t],\n};\n\nconst FOCUS_STACKING_CLASS = \"*:focus-visible:relative *:focus-visible:z-10\";\nconst SEPARATOR_CLASSES =\n\t\"overflow-hidden rounded-md border border-solid border-border bg-secondary shadow-sm\";\n\n@Component({\n\tselector: \"pdm-button-group\",\n\ttemplateUrl: \"./button-group.component.html\",\n\tstyles: [\":host { display: block; }\"],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PdmButtonGroupComponent {\n\t@Input() variant: PdmButtonGroupVariant = \"default\";\n\t@Input() orientation?: PdmButtonGroupOrientation;\n\t@Input() direction?: PdmButtonGroupOrientation;\n\t@Input() separated = true;\n\t@Input() className = \"\";\n\n\tget axis(): Axis {\n\t\treturn this.orientation ?? this.direction ?? \"horizontal\";\n\t}\n\n\tget isVertical(): boolean {\n\t\treturn this.variant === \"orientation\" || this.axis === \"vertical\";\n\t}\n\n\tget shouldAttach(): boolean {\n\t\treturn !this.separated && this.variant !== \"default\";\n\t}\n\n\tget ariaOrientation(): PdmButtonGroupOrientation {\n\t\treturn this.isVertical ? \"vertical\" : \"horizontal\";\n\t}\n\n\tget rootClasses(): string[] {\n\t\treturn [\n\t\t\tROOT_LAYOUT[this.isVertical ? \"vertical\" : \"horizontal\"],\n\t\t\tthis.variant === \"default\" || this.separated ? \"gap-2\" : \"gap-0\",\n\t\t\tthis.shouldAttach\n\t\t\t\t? ATTACHMENT_EDGE_CLASSES[\n\t\t\t\t\t\tthis.isVertical ? \"vertical\" : \"horizontal\"\n\t\t\t\t\t].join(\" \")\n\t\t\t\t: \"\",\n\t\t\tthis.shouldAttach\n\t\t\t\t? ATTACHMENT_CONTROL_CLASSES[\n\t\t\t\t\t\tthis.isVertical ? \"vertical\" : \"horizontal\"\n\t\t\t\t\t].join(\" \")\n\t\t\t\t: \"\",\n\t\t\tthis.shouldAttach ? FOCUS_STACKING_CLASS : \"\",\n\t\t\tthis.variant === \"separator\" ? SEPARATOR_CLASSES : \"\",\n\t\t\tthis.className,\n\t\t];\n\t}\n}\n","<div\n role=\"group\"\n [attr.aria-orientation]=\"ariaOrientation\"\n [ngClass]=\"rootClasses\"\n>\n <ng-content></ng-content>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { PdmButtonComponent } from './button.component';\nimport { PdmButtonGroupComponent } from './button-group.component';\n\nconst COMPONENTS = [\n PdmButtonComponent,\n PdmButtonGroupComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: COMPONENTS,\n exports: COMPONENTS\n})\nexport class PdmButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAwBa,kBAAkB,CAAA;AAL/B,IAAA,WAAA,GAAA;AAMW,QAAA,IAAI,CAAA,IAAA,GAAkC,QAAQ,CAAC;AAC/C,QAAA,I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