@daffodil/design 0.73.0 → 0.75.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 (597) hide show
  1. package/README.md +20 -22
  2. package/accordion/accordion/accordion/accordion.component.d.ts +3 -19
  3. package/article/README.md +19 -13
  4. package/article/examples/article-blockquote/article-blockquote.component.d.ts +1 -1
  5. package/article/examples/article-code-block/article-code-block.component.d.ts +1 -1
  6. package/article/examples/article-code-inline/article-code-inline.component.d.ts +1 -1
  7. package/article/examples/article-headings/article-headings.component.d.ts +1 -1
  8. package/article/examples/article-hr/article-hr.component.d.ts +1 -1
  9. package/article/examples/article-link/article-link.component.d.ts +1 -1
  10. package/article/examples/article-meta/article-meta.component.d.ts +1 -1
  11. package/article/examples/article-ol/article-ol.component.d.ts +1 -1
  12. package/article/examples/article-table/article-table.component.d.ts +1 -1
  13. package/article/examples/article-ul/article-ul.component.d.ts +1 -1
  14. package/article/examples/public_api.d.ts +0 -1
  15. package/button/button/button-sizable.directive.d.ts +10 -0
  16. package/button/button/button.component.d.ts +17 -27
  17. package/button/examples/basic-button/basic-button.component.d.ts +1 -1
  18. package/button/examples/flat-button/flat-button.component.d.ts +1 -1
  19. package/button/examples/icon-button/icon-button.component.d.ts +1 -1
  20. package/button/examples/public_api.d.ts +0 -8
  21. package/button/examples/raised-button/raised-button.component.d.ts +1 -1
  22. package/button/examples/sizeable-button/sizeable-button.component.d.ts +1 -1
  23. package/button/examples/statusable-button/statusable-button.component.d.ts +1 -1
  24. package/button/examples/stroked-button/stroked-button.component.d.ts +1 -1
  25. package/button/examples/underline-button/underline-button.component.d.ts +1 -1
  26. package/button/public_api.d.ts +1 -0
  27. package/callout/callout/callout.component.d.ts +6 -38
  28. package/callout/examples/callout-text-alignment/callout-text-alignment.component.d.ts +1 -1
  29. package/callout/examples/callout-theming/callout-theming.component.d.ts +1 -1
  30. package/callout/examples/callout-with-grid/callout-with-grid.component.d.ts +1 -1
  31. package/callout/examples/compact-callout/compact-callout.component.d.ts +1 -1
  32. package/callout/examples/public_api.d.ts +0 -4
  33. package/card/card/card.component.d.ts +3 -21
  34. package/card/examples/basic-card/basic-card.component.d.ts +1 -1
  35. package/card/examples/card-orientation/card-orientation.component.d.ts +1 -1
  36. package/card/examples/card-theming/card-theming.component.d.ts +1 -1
  37. package/card/examples/linkable-card/linkable-card.component.d.ts +1 -1
  38. package/card/examples/public_api.d.ts +0 -6
  39. package/card/examples/raised-card/raised-card.component.d.ts +1 -1
  40. package/card/examples/stroked-card/stroked-card.component.d.ts +1 -1
  41. package/checkbox/examples/basic-checkbox/basic-checkbox.component.d.ts +1 -1
  42. package/checkbox/examples/checkbox-set/checkbox-set.component.d.ts +1 -1
  43. package/checkbox/examples/examples.d.ts +0 -2
  44. package/checkbox/examples/public_api.d.ts +0 -1
  45. package/container/README.md +11 -8
  46. package/container/container/container.component.d.ts +3 -22
  47. package/container/examples/container-sizes/container-sizes.component.d.ts +1 -1
  48. package/container/examples/public_api.d.ts +0 -1
  49. package/core/article-encapsulated/article-encapsulated.directive.d.ts +19 -0
  50. package/core/article-encapsulated/public_api.d.ts +1 -1
  51. package/core/breakpoints/noop.service.d.ts +13 -0
  52. package/core/breakpoints/provider.d.ts +6 -0
  53. package/core/breakpoints/public_api.d.ts +3 -0
  54. package/core/colorable/colorable.d.ts +36 -2
  55. package/core/colorable/colorable.directive.d.ts +55 -0
  56. package/core/colorable/public_api.d.ts +1 -1
  57. package/core/compactable/compactable.directive.d.ts +25 -0
  58. package/core/compactable/public_api.d.ts +1 -1
  59. package/core/manage-container-layout/manage-container-layout.directive.d.ts +29 -0
  60. package/core/manage-container-layout/public_api.d.ts +1 -1
  61. package/core/public_api.d.ts +1 -1
  62. package/core/sizable/public_api.d.ts +1 -1
  63. package/core/sizable/sizable.d.ts +4 -2
  64. package/core/sizable/sizable.directive.d.ts +38 -0
  65. package/core/skeletonable/public_api.d.ts +1 -1
  66. package/core/skeletonable/skeletonable.d.ts +0 -1
  67. package/core/skeletonable/skeletonable.directive.d.ts +17 -0
  68. package/core/statusable/public_api.d.ts +1 -1
  69. package/core/statusable/statusable.d.ts +16 -0
  70. package/core/statusable/statusable.directive.d.ts +38 -0
  71. package/core/text-alignable/public_api.d.ts +1 -1
  72. package/core/text-alignable/text-alignable.d.ts +1 -2
  73. package/core/text-alignable/text-alignable.directive.d.ts +42 -0
  74. package/esm2022/accordion/accordion/accordion/accordion.component.mjs +11 -23
  75. package/esm2022/article/examples/article-blockquote/article-blockquote.component.mjs +4 -3
  76. package/esm2022/article/examples/article-code-block/article-code-block.component.mjs +4 -3
  77. package/esm2022/article/examples/article-code-inline/article-code-inline.component.mjs +4 -3
  78. package/esm2022/article/examples/article-headings/article-headings.component.mjs +3 -3
  79. package/esm2022/article/examples/article-hr/article-hr.component.mjs +4 -3
  80. package/esm2022/article/examples/article-link/article-link.component.mjs +4 -3
  81. package/esm2022/article/examples/article-meta/article-meta.component.mjs +4 -3
  82. package/esm2022/article/examples/article-ol/article-ol.component.mjs +4 -3
  83. package/esm2022/article/examples/article-table/article-table.component.mjs +4 -3
  84. package/esm2022/article/examples/article-ul/article-ul.component.mjs +4 -3
  85. package/esm2022/article/examples/public_api.mjs +1 -2
  86. package/esm2022/button/button/button-sizable.directive.mjs +14 -0
  87. package/esm2022/button/button/button.component.mjs +32 -10
  88. package/esm2022/button/examples/basic-button/basic-button.component.mjs +10 -4
  89. package/esm2022/button/examples/flat-button/flat-button.component.mjs +10 -4
  90. package/esm2022/button/examples/icon-button/icon-button.component.mjs +5 -4
  91. package/esm2022/button/examples/public_api.mjs +1 -9
  92. package/esm2022/button/examples/raised-button/raised-button.component.mjs +10 -4
  93. package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +5 -4
  94. package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +5 -4
  95. package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +10 -4
  96. package/esm2022/button/examples/underline-button/underline-button.component.mjs +10 -4
  97. package/esm2022/button/public_api.mjs +2 -1
  98. package/esm2022/callout/callout/callout.component.mjs +28 -22
  99. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +20 -10
  100. package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +17 -9
  101. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +12 -4
  102. package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +12 -4
  103. package/esm2022/callout/examples/public_api.mjs +1 -5
  104. package/esm2022/card/card/card.component.mjs +12 -16
  105. package/esm2022/card/examples/basic-card/basic-card.component.mjs +12 -4
  106. package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +20 -10
  107. package/esm2022/card/examples/card-theming/card-theming.component.mjs +11 -6
  108. package/esm2022/card/examples/linkable-card/linkable-card.component.mjs +15 -8
  109. package/esm2022/card/examples/public_api.mjs +1 -7
  110. package/esm2022/card/examples/raised-card/raised-card.component.mjs +15 -8
  111. package/esm2022/card/examples/stroked-card/stroked-card.component.mjs +15 -8
  112. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +12 -6
  113. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +12 -7
  114. package/esm2022/checkbox/examples/examples.mjs +1 -7
  115. package/esm2022/checkbox/examples/public_api.mjs +1 -2
  116. package/esm2022/container/container/container.component.mjs +15 -22
  117. package/esm2022/container/examples/container-sizes/container-sizes.component.mjs +11 -6
  118. package/esm2022/container/examples/public_api.mjs +1 -2
  119. package/esm2022/core/article-encapsulated/article-encapsulated.directive.mjs +33 -0
  120. package/esm2022/core/article-encapsulated/public_api.mjs +2 -2
  121. package/esm2022/core/breakpoints/noop.service.mjs +25 -0
  122. package/esm2022/core/breakpoints/provider.mjs +13 -0
  123. package/esm2022/core/breakpoints/public_api.mjs +4 -0
  124. package/esm2022/core/colorable/colorable.directive.mjs +77 -0
  125. package/esm2022/core/colorable/colorable.mjs +37 -2
  126. package/esm2022/core/colorable/public_api.mjs +2 -2
  127. package/esm2022/core/compactable/compactable.directive.mjs +41 -0
  128. package/esm2022/core/compactable/public_api.mjs +2 -2
  129. package/esm2022/core/manage-container-layout/manage-container-layout.directive.mjs +43 -0
  130. package/esm2022/core/manage-container-layout/public_api.mjs +2 -2
  131. package/esm2022/core/public_api.mjs +2 -2
  132. package/esm2022/core/sizable/public_api.mjs +2 -2
  133. package/esm2022/core/sizable/sizable.directive.mjs +53 -0
  134. package/esm2022/core/sizable/sizable.mjs +2 -3
  135. package/esm2022/core/skeletonable/public_api.mjs +2 -2
  136. package/esm2022/core/skeletonable/skeletonable.directive.mjs +33 -0
  137. package/esm2022/core/skeletonable/skeletonable.mjs +1 -1
  138. package/esm2022/core/statusable/public_api.mjs +2 -2
  139. package/esm2022/core/statusable/statusable.directive.mjs +50 -0
  140. package/esm2022/core/statusable/statusable.mjs +4 -1
  141. package/esm2022/core/text-alignable/public_api.mjs +2 -2
  142. package/esm2022/core/text-alignable/text-alignable.directive.mjs +53 -0
  143. package/esm2022/core/text-alignable/text-alignable.mjs +1 -1
  144. package/esm2022/daffodil-design.mjs +2 -2
  145. package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +10 -4
  146. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +20 -10
  147. package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +15 -8
  148. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +12 -4
  149. package/esm2022/hero/examples/public_api.mjs +1 -5
  150. package/esm2022/hero/hero/hero.component.mjs +28 -22
  151. package/esm2022/image/examples/basic-image/basic-image.component.mjs +4 -3
  152. package/esm2022/image/examples/load-image/load-image.component.mjs +6 -5
  153. package/esm2022/image/examples/public_api.mjs +4 -7
  154. package/esm2022/image/examples/skeleton-image/skeleton-image.component.mjs +4 -3
  155. package/esm2022/image/image/image.component.mjs +14 -23
  156. package/esm2022/index.mjs +6 -0
  157. package/esm2022/input/examples/basic-input/basic-input.component.mjs +4 -3
  158. package/esm2022/input/examples/examples.mjs +5 -9
  159. package/esm2022/input/examples/input-disabled/input-disabled.component.mjs +4 -3
  160. package/esm2022/input/examples/input-error/input-error.component.mjs +9 -4
  161. package/esm2022/input/examples/input-with-form-field/input-with-form-field.component.mjs +4 -3
  162. package/esm2022/link-set/link-set/link-set.component.mjs +12 -22
  163. package/esm2022/list/examples/basic-list/basic-list.component.mjs +4 -3
  164. package/esm2022/list/examples/icon-list/icon-list.component.mjs +10 -4
  165. package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +4 -3
  166. package/esm2022/list/examples/nav-list/nav-list.component.mjs +10 -4
  167. package/esm2022/list/examples/public_api.mjs +1 -2
  168. package/esm2022/list/list/list.component.mjs +12 -21
  169. package/esm2022/loading-icon/examples/examples.mjs +1 -3
  170. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +12 -7
  171. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +4 -3
  172. package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +21 -28
  173. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +7 -5
  174. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +7 -5
  175. package/esm2022/media-gallery/examples/public_api.mjs +1 -4
  176. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +7 -5
  177. package/esm2022/media-gallery/media-gallery/media-gallery.component.mjs +17 -23
  178. package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +5 -3
  179. package/esm2022/menu/examples/basic-menu/menu-content/menu-content.component.mjs +5 -4
  180. package/esm2022/menu/examples/public_api.mjs +2 -3
  181. package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +5 -4
  182. package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +5 -3
  183. package/esm2022/modal/examples/public_api.mjs +2 -3
  184. package/esm2022/modal/modal/modal.component.mjs +42 -6
  185. package/esm2022/modal/modal-actions/modal-actions.component.mjs +15 -5
  186. package/esm2022/modal/modal-close/modal-close.directive.mjs +47 -0
  187. package/esm2022/modal/modal-content/modal-content.component.mjs +15 -5
  188. package/esm2022/modal/modal-header/modal-header.component.mjs +16 -4
  189. package/esm2022/modal/modal-title/modal-title.directive.mjs +33 -6
  190. package/esm2022/modal/modal.module.mjs +18 -5
  191. package/esm2022/modal/public_api.mjs +2 -1
  192. package/esm2022/modal/service/modal.service.mjs +3 -2
  193. package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +5 -3
  194. package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +12 -5
  195. package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +15 -8
  196. package/esm2022/navbar/examples/public_api.mjs +1 -5
  197. package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +5 -3
  198. package/esm2022/navbar/navbar/navbar.component.mjs +22 -28
  199. package/esm2022/notification/daffodil-design-notification.mjs +2 -2
  200. package/esm2022/notification/examples/default-notification/default-notification.component.mjs +18 -5
  201. package/esm2022/notification/examples/dismissible-notification/dismissible-notification.component.mjs +16 -4
  202. package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +15 -7
  203. package/esm2022/notification/examples/notification-status/notification-status.component.mjs +19 -10
  204. package/esm2022/notification/examples/notification-with-actions/notification-with-actions.component.mjs +30 -0
  205. package/esm2022/notification/examples/public_api.mjs +7 -9
  206. package/esm2022/notification/index.mjs +2 -0
  207. package/esm2022/notification/notification/notification.component.mjs +51 -42
  208. package/esm2022/paginator/daffodil-design-paginator.mjs +2 -2
  209. package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +6 -3
  210. package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +8 -4
  211. package/esm2022/paginator/examples/public_api.mjs +1 -2
  212. package/esm2022/paginator/index.mjs +2 -0
  213. package/esm2022/paginator/paginator/paginator.component.mjs +1 -1
  214. package/esm2022/progress-bar/daffodil-design-progress-bar.mjs +2 -2
  215. package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.component.mjs +4 -3
  216. package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.mjs +4 -3
  217. package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.mjs +5 -4
  218. package/esm2022/progress-bar/examples/public_api.mjs +4 -7
  219. package/esm2022/progress-bar/index.mjs +2 -0
  220. package/esm2022/progress-bar/progress-bar.component.mjs +18 -23
  221. package/esm2022/public_api.mjs +1 -3
  222. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +11 -6
  223. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +11 -6
  224. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +11 -6
  225. package/esm2022/quantity-field/examples/public_api.mjs +1 -5
  226. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +11 -6
  227. package/esm2022/radio/examples/basic-radio/basic-radio.component.mjs +5 -4
  228. package/esm2022/radio/examples/examples.mjs +1 -5
  229. package/esm2022/radio/examples/public_api.mjs +1 -2
  230. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +4 -3
  231. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +15 -8
  232. package/esm2022/sidebar/examples/public_api.mjs +5 -9
  233. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.mjs +5 -3
  234. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.mjs +4 -3
  235. package/esm2022/toast/examples/default-toast/default-toast.component.mjs +4 -3
  236. package/esm2022/toast/examples/public_api.mjs +5 -9
  237. package/esm2022/toast/examples/toast-positions/toast-positions.component.mjs +22 -5
  238. package/esm2022/toast/examples/toast-status/toast-status.component.mjs +5 -4
  239. package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.mjs +4 -3
  240. package/esm2022/toast/toast/toast-template.component.mjs +2 -2
  241. package/esm2022/toast/toast/toast.component.mjs +16 -22
  242. package/esm2022/tree/examples/basic-tree/basic-tree.component.mjs +6 -5
  243. package/esm2022/tree/examples/public_api.mjs +1 -2
  244. package/esm2022/tree/tree/tree.component.mjs +13 -23
  245. package/fesm2022/daffodil-design-accordion.mjs +9 -21
  246. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  247. package/fesm2022/daffodil-design-article-examples.mjs +22 -43
  248. package/fesm2022/daffodil-design-article-examples.mjs.map +1 -1
  249. package/fesm2022/daffodil-design-button-examples.mjs +41 -205
  250. package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
  251. package/fesm2022/daffodil-design-button.mjs +42 -11
  252. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  253. package/fesm2022/daffodil-design-callout-examples.mjs +29 -130
  254. package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
  255. package/fesm2022/daffodil-design-callout.mjs +25 -20
  256. package/fesm2022/daffodil-design-callout.mjs.map +1 -1
  257. package/fesm2022/daffodil-design-card-examples.mjs +39 -209
  258. package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
  259. package/fesm2022/daffodil-design-card.mjs +11 -15
  260. package/fesm2022/daffodil-design-card.mjs.map +1 -1
  261. package/fesm2022/daffodil-design-checkbox-examples.mjs +14 -64
  262. package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -1
  263. package/fesm2022/daffodil-design-container-examples.mjs +9 -32
  264. package/fesm2022/daffodil-design-container-examples.mjs.map +1 -1
  265. package/fesm2022/daffodil-design-container.mjs +13 -20
  266. package/fesm2022/daffodil-design-container.mjs.map +1 -1
  267. package/fesm2022/daffodil-design-hero-examples.mjs +27 -136
  268. package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
  269. package/fesm2022/daffodil-design-hero.mjs +25 -20
  270. package/fesm2022/daffodil-design-hero.mjs.map +1 -1
  271. package/fesm2022/daffodil-design-image-examples.mjs +11 -75
  272. package/fesm2022/daffodil-design-image-examples.mjs.map +1 -1
  273. package/fesm2022/daffodil-design-image.mjs +12 -21
  274. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  275. package/fesm2022/daffodil-design-input-examples.mjs +15 -94
  276. package/fesm2022/daffodil-design-input-examples.mjs.map +1 -1
  277. package/fesm2022/daffodil-design-link-set.mjs +10 -20
  278. package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
  279. package/fesm2022/daffodil-design-list-examples.mjs +20 -140
  280. package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
  281. package/fesm2022/daffodil-design-list.mjs +12 -21
  282. package/fesm2022/daffodil-design-list.mjs.map +1 -1
  283. package/fesm2022/daffodil-design-loading-icon-examples.mjs +10 -53
  284. package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -1
  285. package/fesm2022/daffodil-design-loading-icon.mjs +19 -26
  286. package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
  287. package/fesm2022/daffodil-design-media-gallery-examples.mjs +10 -82
  288. package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -1
  289. package/fesm2022/daffodil-design-media-gallery.mjs +14 -20
  290. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
  291. package/fesm2022/daffodil-design-menu-examples.mjs +10 -39
  292. package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -1
  293. package/fesm2022/daffodil-design-modal-examples.mjs +8 -33
  294. package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -1
  295. package/fesm2022/daffodil-design-modal.mjs +169 -23
  296. package/fesm2022/daffodil-design-modal.mjs.map +1 -1
  297. package/fesm2022/daffodil-design-navbar-examples.mjs +20 -113
  298. package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -1
  299. package/fesm2022/daffodil-design-navbar.mjs +20 -26
  300. package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
  301. package/fesm2022/daffodil-design-notification-examples.mjs +63 -132
  302. package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
  303. package/fesm2022/daffodil-design-notification.mjs +64 -56
  304. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  305. package/fesm2022/daffodil-design-paginator-examples.mjs +12 -28
  306. package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -1
  307. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  308. package/fesm2022/daffodil-design-progress-bar-examples.mjs +10 -73
  309. package/fesm2022/daffodil-design-progress-bar-examples.mjs.map +1 -1
  310. package/fesm2022/daffodil-design-progress-bar.mjs +16 -21
  311. package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
  312. package/fesm2022/daffodil-design-quantity-field-examples.mjs +25 -126
  313. package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -1
  314. package/fesm2022/daffodil-design-radio-examples.mjs +4 -31
  315. package/fesm2022/daffodil-design-radio-examples.mjs.map +1 -1
  316. package/fesm2022/daffodil-design-sidebar-examples.mjs +22 -130
  317. package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
  318. package/fesm2022/daffodil-design-toast-examples.mjs +20 -142
  319. package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
  320. package/fesm2022/daffodil-design-toast.mjs +15 -21
  321. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  322. package/fesm2022/daffodil-design-tree-examples.mjs +6 -34
  323. package/fesm2022/daffodil-design-tree-examples.mjs.map +1 -1
  324. package/fesm2022/daffodil-design-tree.mjs +11 -21
  325. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  326. package/fesm2022/daffodil-design.mjs +409 -199
  327. package/fesm2022/daffodil-design.mjs.map +1 -1
  328. package/hero/examples/compact-hero/compact-hero.component.d.ts +1 -1
  329. package/hero/examples/hero-text-alignment/hero-text-alignment.component.d.ts +1 -1
  330. package/hero/examples/hero-theming/hero-theming.component.d.ts +1 -1
  331. package/hero/examples/hero-with-grid/hero-with-grid.component.d.ts +1 -1
  332. package/hero/examples/public_api.d.ts +0 -4
  333. package/hero/hero/hero.component.d.ts +6 -38
  334. package/image/examples/basic-image/basic-image.component.d.ts +1 -1
  335. package/image/examples/load-image/load-image.component.d.ts +1 -1
  336. package/image/examples/public_api.d.ts +2 -2
  337. package/image/examples/skeleton-image/skeleton-image.component.d.ts +1 -1
  338. package/image/image/image.component.d.ts +5 -22
  339. package/index.d.ts +2 -2
  340. package/input/examples/basic-input/basic-input.component.d.ts +1 -1
  341. package/input/examples/examples.d.ts +2 -2
  342. package/input/examples/input-disabled/input-disabled.component.d.ts +1 -1
  343. package/input/examples/input-error/input-error.component.d.ts +1 -1
  344. package/input/examples/input-with-form-field/input-with-form-field.component.d.ts +1 -1
  345. package/link-set/link-set/link-set.component.d.ts +3 -22
  346. package/list/examples/basic-list/basic-list.component.d.ts +1 -1
  347. package/list/examples/icon-list/icon-list.component.d.ts +1 -1
  348. package/list/examples/multiline-list/multiline-list.component.d.ts +1 -1
  349. package/list/examples/nav-list/nav-list.component.d.ts +1 -1
  350. package/list/examples/public_api.d.ts +0 -1
  351. package/list/list/list.component.d.ts +5 -18
  352. package/loading-icon/README.md +1 -1
  353. package/loading-icon/examples/examples.d.ts +0 -2
  354. package/loading-icon/examples/loading-icon-color/loading-icon-color.component.d.ts +1 -1
  355. package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.d.ts +1 -1
  356. package/loading-icon/loading-icon/loading-icon.component.d.ts +3 -22
  357. package/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.d.ts +1 -1
  358. package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.d.ts +1 -1
  359. package/media-gallery/examples/public_api.d.ts +0 -3
  360. package/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.d.ts +1 -1
  361. package/media-gallery/media-gallery/media-gallery.component.d.ts +5 -25
  362. package/menu/examples/basic-menu/basic-menu.component.d.ts +1 -1
  363. package/menu/examples/basic-menu/menu-content/menu-content.component.d.ts +1 -1
  364. package/menu/examples/public_api.d.ts +2 -2
  365. package/modal/README.md +22 -37
  366. package/modal/examples/basic-modal/basic-modal.component.d.ts +1 -1
  367. package/modal/examples/basic-modal/modal-content.component.d.ts +1 -1
  368. package/modal/examples/public_api.d.ts +2 -2
  369. package/modal/modal/modal.component.d.ts +17 -1
  370. package/modal/modal-actions/modal-actions.component.d.ts +1 -0
  371. package/modal/modal-close/modal-close.directive.d.ts +24 -0
  372. package/modal/modal-content/modal-content.component.d.ts +1 -0
  373. package/modal/modal-header/modal-header.component.d.ts +6 -1
  374. package/modal/modal-title/modal-title.directive.d.ts +12 -1
  375. package/modal/modal.module.d.ts +7 -4
  376. package/modal/public_api.d.ts +1 -0
  377. package/navbar/examples/basic-navbar/basic-navbar.component.d.ts +1 -1
  378. package/navbar/examples/contained-navbar/contained-navbar.component.d.ts +1 -1
  379. package/navbar/examples/navbar-theming/navbar-theming.component.d.ts +1 -1
  380. package/navbar/examples/public_api.d.ts +0 -4
  381. package/navbar/examples/raised-navbar/raised-navbar.component.d.ts +1 -1
  382. package/navbar/navbar/navbar.component.d.ts +3 -25
  383. package/notification/README.md +49 -23
  384. package/notification/examples/default-notification/default-notification.component.d.ts +3 -1
  385. package/notification/examples/dismissible-notification/dismissible-notification.component.d.ts +3 -1
  386. package/notification/examples/notification-orientations/notification-orientations.component.d.ts +1 -1
  387. package/notification/examples/notification-status/notification-status.component.d.ts +1 -1
  388. package/notification/examples/notification-with-actions/notification-with-actions.component.d.ts +8 -0
  389. package/notification/examples/public_api.d.ts +6 -2
  390. package/notification/index.d.ts +0 -4
  391. package/notification/notification/notification.component.d.ts +21 -30
  392. package/notification/src/notification-theme.scss +1 -1
  393. package/package.json +1 -1
  394. package/paginator/examples/basic-paginator/basic-paginator.component.d.ts +1 -1
  395. package/paginator/examples/link-paginator/link-paginator.component.d.ts +1 -1
  396. package/paginator/examples/public_api.d.ts +0 -1
  397. package/paginator/index.d.ts +0 -4
  398. package/progress-bar/examples/progress-bar-default/progress-bar-default.component.d.ts +1 -1
  399. package/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.d.ts +1 -1
  400. package/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.d.ts +1 -1
  401. package/progress-bar/examples/public_api.d.ts +2 -2
  402. package/progress-bar/index.d.ts +0 -4
  403. package/progress-bar/progress-bar.component.d.ts +7 -22
  404. package/public_api.d.ts +0 -1
  405. package/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.d.ts +1 -1
  406. package/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.d.ts +1 -1
  407. package/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.d.ts +1 -1
  408. package/quantity-field/examples/public_api.d.ts +0 -4
  409. package/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.d.ts +1 -1
  410. package/radio/examples/basic-radio/basic-radio.component.d.ts +1 -1
  411. package/radio/examples/examples.d.ts +0 -2
  412. package/radio/examples/public_api.d.ts +0 -1
  413. package/scss/state/skeleton/_mixins.scss +1 -1
  414. package/scss/typography/_index.scss +1 -1
  415. package/scss/typography/utilities/_variables.scss +14 -4
  416. package/sidebar/README.md +1 -1
  417. package/sidebar/examples/basic-sidebar/basic-sidebar.component.d.ts +1 -1
  418. package/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.d.ts +1 -1
  419. package/sidebar/examples/public_api.d.ts +2 -2
  420. package/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.d.ts +1 -1
  421. package/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.d.ts +1 -1
  422. package/toast/README.md +2 -2
  423. package/toast/examples/default-toast/default-toast.component.d.ts +1 -1
  424. package/toast/examples/public_api.d.ts +5 -2
  425. package/toast/examples/toast-positions/toast-positions.component.d.ts +1 -1
  426. package/toast/examples/toast-status/toast-status.component.d.ts +1 -1
  427. package/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.d.ts +1 -1
  428. package/toast/toast/toast.component.d.ts +7 -25
  429. package/tree/examples/basic-tree/basic-tree.component.d.ts +1 -1
  430. package/tree/examples/public_api.d.ts +0 -1
  431. package/tree/tree/tree.component.d.ts +5 -19
  432. package/article/examples/article-examples.module.d.ts +0 -18
  433. package/button/examples/basic-button/basic-button.module.d.ts +0 -9
  434. package/button/examples/flat-button/flat-button.module.d.ts +0 -9
  435. package/button/examples/icon-button/icon-button.module.d.ts +0 -9
  436. package/button/examples/raised-button/raised-button.module.d.ts +0 -9
  437. package/button/examples/sizeable-button/sizeable-button.module.d.ts +0 -9
  438. package/button/examples/statusable-button/statusable-button.module.d.ts +0 -9
  439. package/button/examples/stroked-button/stroked-button.module.d.ts +0 -9
  440. package/button/examples/underline-button/underline-button.module.d.ts +0 -9
  441. package/callout/examples/callout-text-alignment/callout-text-alignment.module.d.ts +0 -13
  442. package/callout/examples/callout-theming/callout-theming.module.d.ts +0 -12
  443. package/callout/examples/callout-with-grid/callout-with-grid.module.d.ts +0 -13
  444. package/callout/examples/compact-callout/compact-callout.module.d.ts +0 -12
  445. package/card/examples/basic-card/basic-card.module.d.ts +0 -12
  446. package/card/examples/card-orientation/card-orientation.module.d.ts +0 -13
  447. package/card/examples/card-theming/card-theming.module.d.ts +0 -11
  448. package/card/examples/linkable-card/linkable-card.module.d.ts +0 -13
  449. package/card/examples/raised-card/raised-card.module.d.ts +0 -12
  450. package/card/examples/stroked-card/stroked-card.module.d.ts +0 -13
  451. package/checkbox/examples/basic-checkbox/basic-checkbox.module.d.ts +0 -10
  452. package/checkbox/examples/checkbox-set/checkbox-set.module.d.ts +0 -10
  453. package/container/examples/container-sizes/container-sizes.module.d.ts +0 -10
  454. package/core/article-encapsulated/article-encapsulated-mixin.d.ts +0 -15
  455. package/core/colorable/color-in-palette.d.ts +0 -1
  456. package/core/colorable/colorable-enum.d.ts +0 -10
  457. package/core/colorable/colorable-mixin.d.ts +0 -23
  458. package/core/compactable/compactable-mixin.d.ts +0 -14
  459. package/core/manage-container-layout/manage-container-layout-mixin.d.ts +0 -17
  460. package/core/sizable/sizable-mixin.d.ts +0 -15
  461. package/core/skeletonable/skeletonable-mixin.d.ts +0 -15
  462. package/core/statusable/statusable-mixin.d.ts +0 -16
  463. package/core/text-alignable/text-alignable-mixin.d.ts +0 -19
  464. package/esm2022/article/examples/article-examples.module.mjs +0 -35
  465. package/esm2022/button/examples/basic-button/basic-button.module.mjs +0 -28
  466. package/esm2022/button/examples/flat-button/flat-button.module.mjs +0 -28
  467. package/esm2022/button/examples/icon-button/icon-button.module.mjs +0 -28
  468. package/esm2022/button/examples/raised-button/raised-button.module.mjs +0 -28
  469. package/esm2022/button/examples/sizeable-button/sizeable-button.module.mjs +0 -28
  470. package/esm2022/button/examples/statusable-button/statusable-button.module.mjs +0 -28
  471. package/esm2022/button/examples/stroked-button/stroked-button.module.mjs +0 -28
  472. package/esm2022/button/examples/underline-button/underline-button.module.mjs +0 -28
  473. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +0 -41
  474. package/esm2022/callout/examples/callout-theming/callout-theming.module.mjs +0 -37
  475. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.module.mjs +0 -41
  476. package/esm2022/callout/examples/compact-callout/compact-callout.module.mjs +0 -37
  477. package/esm2022/card/examples/basic-card/basic-card.module.mjs +0 -40
  478. package/esm2022/card/examples/card-orientation/card-orientation.module.mjs +0 -44
  479. package/esm2022/card/examples/card-theming/card-theming.module.mjs +0 -36
  480. package/esm2022/card/examples/linkable-card/linkable-card.module.mjs +0 -44
  481. package/esm2022/card/examples/raised-card/raised-card.module.mjs +0 -40
  482. package/esm2022/card/examples/stroked-card/stroked-card.module.mjs +0 -44
  483. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +0 -33
  484. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.module.mjs +0 -33
  485. package/esm2022/container/examples/container-sizes/container-sizes.module.mjs +0 -32
  486. package/esm2022/core/article-encapsulated/article-encapsulated-mixin.mjs +0 -12
  487. package/esm2022/core/colorable/color-in-palette.mjs +0 -5
  488. package/esm2022/core/colorable/colorable-enum.mjs +0 -12
  489. package/esm2022/core/colorable/colorable-mixin.mjs +0 -42
  490. package/esm2022/core/compactable/compactable-mixin.mjs +0 -26
  491. package/esm2022/core/manage-container-layout/manage-container-layout-mixin.mjs +0 -14
  492. package/esm2022/core/sizable/sizable-mixin.mjs +0 -31
  493. package/esm2022/core/skeletonable/skeletonable-mixin.mjs +0 -26
  494. package/esm2022/core/statusable/statusable-mixin.mjs +0 -32
  495. package/esm2022/core/text-alignable/text-alignable-mixin.mjs +0 -35
  496. package/esm2022/examples/examples.mjs +0 -2
  497. package/esm2022/examples/public_api.mjs +0 -2
  498. package/esm2022/hero/examples/compact-hero/compact-hero.module.mjs +0 -40
  499. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +0 -41
  500. package/esm2022/hero/examples/hero-theming/hero-theming.module.mjs +0 -40
  501. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.module.mjs +0 -41
  502. package/esm2022/image/examples/basic-image/basic-image.module.mjs +0 -24
  503. package/esm2022/image/examples/load-image/load-image.module.mjs +0 -28
  504. package/esm2022/image/examples/skeleton-image/skeleton-image.module.mjs +0 -24
  505. package/esm2022/input/examples/basic-input/basic-input.module.mjs +0 -24
  506. package/esm2022/input/examples/input-disabled/input-disabled.module.mjs +0 -24
  507. package/esm2022/input/examples/input-error/input-error.module.mjs +0 -28
  508. package/esm2022/input/examples/input-with-form-field/input-with-form-field.module.mjs +0 -24
  509. package/esm2022/list/examples/basic-list/basic-list.module.mjs +0 -28
  510. package/esm2022/list/examples/icon-list/icon-list.module.mjs +0 -32
  511. package/esm2022/list/examples/list-examples.module.mjs +0 -33
  512. package/esm2022/list/examples/multiline-list/multiline-list.module.mjs +0 -32
  513. package/esm2022/list/examples/nav-list/nav-list.module.mjs +0 -32
  514. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +0 -32
  515. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +0 -24
  516. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +0 -29
  517. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +0 -29
  518. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.mjs +0 -29
  519. package/esm2022/menu/examples/basic-menu/basic-menu.module.mjs +0 -35
  520. package/esm2022/modal/examples/basic-modal/basic-modal.module.mjs +0 -31
  521. package/esm2022/navbar/examples/basic-navbar/basic-navbar.module.mjs +0 -33
  522. package/esm2022/navbar/examples/contained-navbar/contained-navbar.module.mjs +0 -33
  523. package/esm2022/navbar/examples/navbar-theming/navbar-theming.module.mjs +0 -33
  524. package/esm2022/navbar/examples/raised-navbar/raised-navbar.module.mjs +0 -29
  525. package/esm2022/notification/examples/default-notification/default-notification.module.mjs +0 -36
  526. package/esm2022/notification/examples/dismissible-notification/dismissible-notification.module.mjs +0 -36
  527. package/esm2022/notification/examples/notification-orientations/notification-orientations.module.mjs +0 -40
  528. package/esm2022/notification/examples/notification-status/notification-status.module.mjs +0 -40
  529. package/esm2022/paginator/examples/paginator-examples.module.mjs +0 -27
  530. package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.module.mjs +0 -24
  531. package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.module.mjs +0 -24
  532. package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.module.mjs +0 -28
  533. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.mjs +0 -35
  534. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.mjs +0 -35
  535. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.mjs +0 -35
  536. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.mjs +0 -35
  537. package/esm2022/radio/examples/basic-radio/basic-radio.module.mjs +0 -29
  538. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.module.mjs +0 -32
  539. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.mjs +0 -44
  540. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.mjs +0 -32
  541. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.mjs +0 -28
  542. package/esm2022/toast/examples/default-toast/default-toast.module.mjs +0 -36
  543. package/esm2022/toast/examples/toast-positions/toast-positions.module.mjs +0 -57
  544. package/esm2022/toast/examples/toast-status/toast-status.module.mjs +0 -40
  545. package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.module.mjs +0 -32
  546. package/esm2022/tree/examples/basic-tree/basic-tree.module.mjs +0 -32
  547. package/examples/examples.d.ts +0 -12
  548. package/examples/public_api.d.ts +0 -1
  549. package/hero/examples/compact-hero/compact-hero.module.d.ts +0 -12
  550. package/hero/examples/hero-text-alignment/hero-text-alignment.module.d.ts +0 -13
  551. package/hero/examples/hero-theming/hero-theming.module.d.ts +0 -12
  552. package/hero/examples/hero-with-grid/hero-with-grid.module.d.ts +0 -13
  553. package/image/examples/basic-image/basic-image.module.d.ts +0 -8
  554. package/image/examples/load-image/load-image.module.d.ts +0 -9
  555. package/image/examples/skeleton-image/skeleton-image.module.d.ts +0 -8
  556. package/input/examples/basic-input/basic-input.module.d.ts +0 -8
  557. package/input/examples/input-disabled/input-disabled.module.d.ts +0 -8
  558. package/input/examples/input-error/input-error.module.d.ts +0 -9
  559. package/input/examples/input-with-form-field/input-with-form-field.module.d.ts +0 -8
  560. package/list/examples/basic-list/basic-list.module.d.ts +0 -9
  561. package/list/examples/icon-list/icon-list.module.d.ts +0 -10
  562. package/list/examples/list-examples.module.d.ts +0 -11
  563. package/list/examples/multiline-list/multiline-list.module.d.ts +0 -10
  564. package/list/examples/nav-list/nav-list.module.d.ts +0 -10
  565. package/loading-icon/examples/loading-icon-color/loading-icon-color.module.d.ts +0 -10
  566. package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.d.ts +0 -8
  567. package/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.d.ts +0 -9
  568. package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.d.ts +0 -9
  569. package/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.d.ts +0 -9
  570. package/menu/examples/basic-menu/basic-menu.module.d.ts +0 -11
  571. package/modal/examples/basic-modal/basic-modal.module.d.ts +0 -10
  572. package/navbar/examples/basic-navbar/basic-navbar.module.d.ts +0 -11
  573. package/navbar/examples/contained-navbar/contained-navbar.module.d.ts +0 -11
  574. package/navbar/examples/navbar-theming/navbar-theming.module.d.ts +0 -11
  575. package/navbar/examples/raised-navbar/raised-navbar.module.d.ts +0 -10
  576. package/notification/examples/default-notification/default-notification.module.d.ts +0 -11
  577. package/notification/examples/dismissible-notification/dismissible-notification.module.d.ts +0 -11
  578. package/notification/examples/notification-orientations/notification-orientations.module.d.ts +0 -12
  579. package/notification/examples/notification-status/notification-status.module.d.ts +0 -12
  580. package/paginator/examples/paginator-examples.module.d.ts +0 -10
  581. package/progress-bar/examples/progress-bar-default/progress-bar-default.module.d.ts +0 -8
  582. package/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.module.d.ts +0 -8
  583. package/progress-bar/examples/progress-bar-themes/progress-bar-themes.module.d.ts +0 -9
  584. package/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.d.ts +0 -10
  585. package/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.d.ts +0 -10
  586. package/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.d.ts +0 -10
  587. package/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.d.ts +0 -10
  588. package/radio/examples/basic-radio/basic-radio.module.d.ts +0 -9
  589. package/sidebar/examples/basic-sidebar/basic-sidebar.module.d.ts +0 -10
  590. package/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.d.ts +0 -13
  591. package/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.d.ts +0 -10
  592. package/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.d.ts +0 -9
  593. package/toast/examples/default-toast/default-toast.module.d.ts +0 -11
  594. package/toast/examples/toast-positions/toast-positions.module.d.ts +0 -12
  595. package/toast/examples/toast-status/toast-status.module.d.ts +0 -12
  596. package/toast/examples/toast-with-custom-duration/toast-with-custom-duration.module.d.ts +0 -10
  597. package/tree/examples/basic-tree/basic-tree.module.d.ts +0 -10
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy } from '@angular/core';
3
3
  import * as i1 from '@daffodil/design/progress-bar';
4
4
  import { DaffProgressBarModule } from '@daffodil/design/progress-bar';
5
5
  import * as i2 from '@angular/forms';
@@ -7,60 +7,20 @@ import { FormControl, ReactiveFormsModule } from '@angular/forms';
7
7
 
8
8
  class ProgressBarDefaultComponent {
9
9
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ProgressBarDefaultComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ProgressBarDefaultComponent, selector: "progress-bar-default", ngImport: i0, template: "<daff-progress-bar percentage=\"25\">\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>\n", styles: [":host{display:flex;flex-direction:column;gap:8px}\n"], dependencies: [{ kind: "component", type: i1.DaffProgressBarComponent, selector: "daff-progress-bar", inputs: ["color", "percentage", "indeterminate"], outputs: ["finished"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
10
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ProgressBarDefaultComponent, isStandalone: true, selector: "progress-bar-default", ngImport: i0, template: "<daff-progress-bar percentage=\"25\">\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>\n", styles: [":host{display:flex;flex-direction:column;gap:8px}\n"], dependencies: [{ kind: "ngmodule", type: DaffProgressBarModule }, { kind: "component", type: i1.DaffProgressBarComponent, selector: "daff-progress-bar", inputs: ["percentage", "indeterminate"], outputs: ["finished"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
11
11
  }
12
12
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ProgressBarDefaultComponent, decorators: [{
13
13
  type: Component,
14
- args: [{ selector: 'progress-bar-default', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-progress-bar percentage=\"25\">\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>\n", styles: [":host{display:flex;flex-direction:column;gap:8px}\n"] }]
15
- }] });
16
-
17
- class ProgressBarDefaultComponentModule {
18
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ProgressBarDefaultComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
19
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: ProgressBarDefaultComponentModule, declarations: [ProgressBarDefaultComponent], imports: [DaffProgressBarModule], exports: [ProgressBarDefaultComponent] }); }
20
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ProgressBarDefaultComponentModule, imports: [DaffProgressBarModule] }); }
21
- }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ProgressBarDefaultComponentModule, decorators: [{
23
- type: NgModule,
24
- args: [{
25
- declarations: [
26
- ProgressBarDefaultComponent,
27
- ],
28
- exports: [
29
- ProgressBarDefaultComponent,
30
- ],
31
- imports: [
32
- DaffProgressBarModule,
33
- ],
34
- }]
14
+ args: [{ selector: 'progress-bar-default', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DaffProgressBarModule], template: "<daff-progress-bar percentage=\"25\">\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>\n", styles: [":host{display:flex;flex-direction:column;gap:8px}\n"] }]
35
15
  }] });
36
16
 
37
17
  class ProgressBarIndeterminateComponent {
38
18
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ProgressBarIndeterminateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
39
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ProgressBarIndeterminateComponent, selector: "progress-bar-indeterminate", ngImport: i0, template: "<daff-progress-bar indeterminate>\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>", styles: [":host{display:flex;flex-direction:column;gap:8px}\n"], dependencies: [{ kind: "component", type: i1.DaffProgressBarComponent, selector: "daff-progress-bar", inputs: ["color", "percentage", "indeterminate"], outputs: ["finished"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
19
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ProgressBarIndeterminateComponent, isStandalone: true, selector: "progress-bar-indeterminate", ngImport: i0, template: "<daff-progress-bar indeterminate>\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>", styles: [":host{display:flex;flex-direction:column;gap:8px}\n"], dependencies: [{ kind: "ngmodule", type: DaffProgressBarModule }, { kind: "component", type: i1.DaffProgressBarComponent, selector: "daff-progress-bar", inputs: ["percentage", "indeterminate"], outputs: ["finished"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
40
20
  }
41
21
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ProgressBarIndeterminateComponent, decorators: [{
42
22
  type: Component,
43
- args: [{ selector: 'progress-bar-indeterminate', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-progress-bar indeterminate>\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>", styles: [":host{display:flex;flex-direction:column;gap:8px}\n"] }]
44
- }] });
45
-
46
- class ProgressBarIndeterminateComponentModule {
47
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ProgressBarIndeterminateComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
48
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: ProgressBarIndeterminateComponentModule, declarations: [ProgressBarIndeterminateComponent], imports: [DaffProgressBarModule], exports: [ProgressBarIndeterminateComponent] }); }
49
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ProgressBarIndeterminateComponentModule, imports: [DaffProgressBarModule] }); }
50
- }
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ProgressBarIndeterminateComponentModule, decorators: [{
52
- type: NgModule,
53
- args: [{
54
- declarations: [
55
- ProgressBarIndeterminateComponent,
56
- ],
57
- exports: [
58
- ProgressBarIndeterminateComponent,
59
- ],
60
- imports: [
61
- DaffProgressBarModule,
62
- ],
63
- }]
23
+ args: [{ selector: 'progress-bar-indeterminate', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DaffProgressBarModule], template: "<daff-progress-bar indeterminate>\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>", styles: [":host{display:flex;flex-direction:column;gap:8px}\n"] }]
64
24
  }] });
65
25
 
66
26
  class ProgressBarThemesComponent {
@@ -69,40 +29,17 @@ class ProgressBarThemesComponent {
69
29
  this.colorControl = new FormControl('');
70
30
  }
71
31
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ProgressBarThemesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
72
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ProgressBarThemesComponent, selector: "progress-bar-themes", ngImport: i0, template: "<daff-progress-bar percentage=\"25\" [color]=\"colorControl.value\">\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>\n\n<select [formControl]=\"colorControl\">\n\t<option value=\"\">Default</option>\n\t<option value=\"primary\">Primary</option>\n\t<option value=\"secondary\">Secondary</option>\n\t<option value=\"tertiary\">Tertiary</option>\n\t<option value=\"theme\">Theme</option>\n\t<option value=\"theme-contrast\">Theme Contrast</option>\n\t<option value=\"white\">White</option>\n\t<option value=\"black\">Black</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:flex-start;gap:16px}\n"], dependencies: [{ kind: "component", type: i1.DaffProgressBarComponent, selector: "daff-progress-bar", inputs: ["color", "percentage", "indeterminate"], outputs: ["finished"] }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
32
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ProgressBarThemesComponent, isStandalone: true, selector: "progress-bar-themes", ngImport: i0, template: "<daff-progress-bar percentage=\"25\" [color]=\"colorControl.value\">\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>\n\n<select [formControl]=\"colorControl\">\n\t<option value=\"\">Default</option>\n\t<option value=\"primary\">Primary</option>\n\t<option value=\"secondary\">Secondary</option>\n\t<option value=\"tertiary\">Tertiary</option>\n\t<option value=\"theme\">Theme</option>\n\t<option value=\"theme-contrast\">Theme Contrast</option>\n\t<option value=\"white\">White</option>\n\t<option value=\"black\">Black</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:flex-start;gap:16px}\n"], dependencies: [{ kind: "ngmodule", type: DaffProgressBarModule }, { kind: "component", type: i1.DaffProgressBarComponent, selector: "daff-progress-bar", inputs: ["percentage", "indeterminate"], outputs: ["finished"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
73
33
  }
74
34
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ProgressBarThemesComponent, decorators: [{
75
35
  type: Component,
76
- args: [{ selector: 'progress-bar-themes', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-progress-bar percentage=\"25\" [color]=\"colorControl.value\">\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>\n\n<select [formControl]=\"colorControl\">\n\t<option value=\"\">Default</option>\n\t<option value=\"primary\">Primary</option>\n\t<option value=\"secondary\">Secondary</option>\n\t<option value=\"tertiary\">Tertiary</option>\n\t<option value=\"theme\">Theme</option>\n\t<option value=\"theme-contrast\">Theme Contrast</option>\n\t<option value=\"white\">White</option>\n\t<option value=\"black\">Black</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:flex-start;gap:16px}\n"] }]
77
- }] });
78
-
79
- class ProgressBarThemesComponentModule {
80
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ProgressBarThemesComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
81
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: ProgressBarThemesComponentModule, declarations: [ProgressBarThemesComponent], imports: [DaffProgressBarModule,
82
- ReactiveFormsModule], exports: [ProgressBarThemesComponent] }); }
83
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ProgressBarThemesComponentModule, imports: [DaffProgressBarModule,
84
- ReactiveFormsModule] }); }
85
- }
86
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ProgressBarThemesComponentModule, decorators: [{
87
- type: NgModule,
88
- args: [{
89
- declarations: [
90
- ProgressBarThemesComponent,
91
- ],
92
- exports: [
93
- ProgressBarThemesComponent,
94
- ],
95
- imports: [
96
- DaffProgressBarModule,
97
- ReactiveFormsModule,
98
- ],
99
- }]
36
+ args: [{ selector: 'progress-bar-themes', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DaffProgressBarModule, ReactiveFormsModule], template: "<daff-progress-bar percentage=\"25\" [color]=\"colorControl.value\">\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>\n\n<select [formControl]=\"colorControl\">\n\t<option value=\"\">Default</option>\n\t<option value=\"primary\">Primary</option>\n\t<option value=\"secondary\">Secondary</option>\n\t<option value=\"tertiary\">Tertiary</option>\n\t<option value=\"theme\">Theme</option>\n\t<option value=\"theme-contrast\">Theme Contrast</option>\n\t<option value=\"white\">White</option>\n\t<option value=\"black\">Black</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:flex-start;gap:16px}\n"] }]
100
37
  }] });
101
38
 
102
39
  const PROGRESS_BAR_EXAMPLES = [
103
- { component: ProgressBarThemesComponent, module: ProgressBarThemesComponentModule },
104
- { component: ProgressBarIndeterminateComponent, module: ProgressBarIndeterminateComponentModule },
105
- { component: ProgressBarDefaultComponent, module: ProgressBarDefaultComponentModule },
40
+ ProgressBarDefaultComponent,
41
+ ProgressBarIndeterminateComponent,
42
+ ProgressBarThemesComponent,
106
43
  ];
107
44
 
108
45
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-design-progress-bar-examples.mjs","sources":["../../../libs/design/progress-bar/examples/src/progress-bar-default/progress-bar-default.component.ts","../../../libs/design/progress-bar/examples/src/progress-bar-default/progress-bar-default.component.html","../../../libs/design/progress-bar/examples/src/progress-bar-default/progress-bar-default.module.ts","../../../libs/design/progress-bar/examples/src/progress-bar-indeterminate/progress-bar-indeterminate.component.ts","../../../libs/design/progress-bar/examples/src/progress-bar-indeterminate/progress-bar-indeterminate.component.html","../../../libs/design/progress-bar/examples/src/progress-bar-indeterminate/progress-bar-indeterminate.module.ts","../../../libs/design/progress-bar/examples/src/progress-bar-themes/progress-bar-themes.component.ts","../../../libs/design/progress-bar/examples/src/progress-bar-themes/progress-bar-themes.component.html","../../../libs/design/progress-bar/examples/src/progress-bar-themes/progress-bar-themes.module.ts","../../../libs/design/progress-bar/examples/src/public_api.ts","../../../libs/design/progress-bar/examples/src/daffodil-design-progress-bar-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'progress-bar-default',\n templateUrl: './progress-bar-default.component.html',\n styles: [`\n :host {\n display: flex;\n flex-direction: column;\n gap: 8px;\n }`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ProgressBarDefaultComponent {}\n","<daff-progress-bar percentage=\"25\">\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>\n","import { NgModule } from '@angular/core';\n\nimport { DaffProgressBarModule } from '@daffodil/design/progress-bar';\n\nimport { ProgressBarDefaultComponent } from './progress-bar-default.component';\n\n@NgModule({\n declarations: [\n ProgressBarDefaultComponent,\n ],\n exports: [\n ProgressBarDefaultComponent,\n ],\n imports: [\n DaffProgressBarModule,\n ],\n})\nexport class ProgressBarDefaultComponentModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'progress-bar-indeterminate',\n templateUrl: './progress-bar-indeterminate.component.html',\n styles: [`\n :host {\n display: flex;\n flex-direction: column;\n gap: 8px;\n }`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ProgressBarIndeterminateComponent {}\n","<daff-progress-bar indeterminate>\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>","import { NgModule } from '@angular/core';\n\nimport { DaffProgressBarModule } from '@daffodil/design/progress-bar';\n\nimport { ProgressBarIndeterminateComponent } from './progress-bar-indeterminate.component';\n\n@NgModule({\n declarations: [\n ProgressBarIndeterminateComponent,\n ],\n exports: [\n ProgressBarIndeterminateComponent,\n ],\n imports: [\n DaffProgressBarModule,\n ],\n})\nexport class ProgressBarIndeterminateComponentModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\nimport { DaffPalette } from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'progress-bar-themes',\n templateUrl: './progress-bar-themes.component.html',\n styles: [`\n :host {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 16px;\n }`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ProgressBarThemesComponent {\n color: DaffPalette = 'primary';\n\n colorControl: FormControl = new FormControl('');\n}\n","<daff-progress-bar percentage=\"25\" [color]=\"colorControl.value\">\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>\n\n<select [formControl]=\"colorControl\">\n\t<option value=\"\">Default</option>\n\t<option value=\"primary\">Primary</option>\n\t<option value=\"secondary\">Secondary</option>\n\t<option value=\"tertiary\">Tertiary</option>\n\t<option value=\"theme\">Theme</option>\n\t<option value=\"theme-contrast\">Theme Contrast</option>\n\t<option value=\"white\">White</option>\n\t<option value=\"black\">Black</option>\n</select>","import { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { DaffProgressBarModule } from '@daffodil/design/progress-bar';\n\nimport { ProgressBarThemesComponent } from './progress-bar-themes.component';\n\n@NgModule({\n declarations: [\n ProgressBarThemesComponent,\n ],\n exports: [\n ProgressBarThemesComponent,\n ],\n imports: [\n DaffProgressBarModule,\n ReactiveFormsModule,\n ],\n})\nexport class ProgressBarThemesComponentModule { }\n","import { ComponentExample } from '@daffodil/design';\n\nimport { ProgressBarDefaultComponent } from './progress-bar-default/progress-bar-default.component';\nimport { ProgressBarDefaultComponentModule } from './progress-bar-default/progress-bar-default.module';\nimport { ProgressBarIndeterminateComponent } from './progress-bar-indeterminate/progress-bar-indeterminate.component';\nimport { ProgressBarIndeterminateComponentModule } from './progress-bar-indeterminate/progress-bar-indeterminate.module';\nimport { ProgressBarThemesComponent } from './progress-bar-themes/progress-bar-themes.component';\nimport { ProgressBarThemesComponentModule } from './progress-bar-themes/progress-bar-themes.module';\n\nexport const PROGRESS_BAR_EXAMPLES: ComponentExample[] = [\n { component: ProgressBarThemesComponent, module: ProgressBarThemesComponentModule },\n { component: ProgressBarIndeterminateComponent, module: ProgressBarIndeterminateComponentModule },\n { component: ProgressBarDefaultComponent, module: ProgressBarDefaultComponentModule },\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAiBa,2BAA2B,CAAA;kIAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA3B,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,2BAA2B,4DCjBxC,yHAGA,EAAA,MAAA,EAAA,CAAA,qDAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,wBAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,YAAA,EAAA,eAAA,CAAA,EAAA,OAAA,EAAA,CAAA,UAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FDca,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAZvC,SAAS;+BAEE,sBAAsB,EAAA,eAAA,EAQf,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,yHAAA,EAAA,MAAA,EAAA,CAAA,qDAAA,CAAA,EAAA,CAAA;;;MEEpC,iCAAiC,CAAA;kIAAjC,iCAAiC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAjC,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA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E,SAAS,EAAE,0BAA0B,EAAE,MAAM,EAAE,gCAAgC,EAAE;AACnF,IAAA,EAAE,SAAS,EAAE,iCAAiC,EAAE,MAAM,EAAE,uCAAuC,EAAE;AACjG,IAAA,EAAE,SAAS,EAAE,2BAA2B,EAAE,MAAM,EAAE,iCAAiC,EAAE;;;ACZvF;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-design-progress-bar-examples.mjs","sources":["../../../libs/design/progress-bar/examples/src/progress-bar-default/progress-bar-default.component.ts","../../../libs/design/progress-bar/examples/src/progress-bar-default/progress-bar-default.component.html","../../../libs/design/progress-bar/examples/src/progress-bar-indeterminate/progress-bar-indeterminate.component.ts","../../../libs/design/progress-bar/examples/src/progress-bar-indeterminate/progress-bar-indeterminate.component.html","../../../libs/design/progress-bar/examples/src/progress-bar-themes/progress-bar-themes.component.ts","../../../libs/design/progress-bar/examples/src/progress-bar-themes/progress-bar-themes.component.html","../../../libs/design/progress-bar/examples/src/public_api.ts","../../../libs/design/progress-bar/examples/src/daffodil-design-progress-bar-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DaffProgressBarModule } from '@daffodil/design/progress-bar';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'progress-bar-default',\n templateUrl: './progress-bar-default.component.html',\n styles: [`\n :host {\n display: flex;\n flex-direction: column;\n gap: 8px;\n }`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [DaffProgressBarModule],\n})\nexport class ProgressBarDefaultComponent {}\n","<daff-progress-bar percentage=\"25\">\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DaffProgressBarModule } from '@daffodil/design/progress-bar';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'progress-bar-indeterminate',\n templateUrl: './progress-bar-indeterminate.component.html',\n styles: [`\n :host {\n display: flex;\n flex-direction: column;\n gap: 8px;\n }`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [DaffProgressBarModule],\n})\nexport class ProgressBarIndeterminateComponent {}\n","<daff-progress-bar indeterminate>\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n FormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\n\nimport { DaffPalette } from '@daffodil/design';\nimport { DaffProgressBarModule } from '@daffodil/design/progress-bar';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'progress-bar-themes',\n templateUrl: './progress-bar-themes.component.html',\n styles: [`\n :host {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 16px;\n }`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [DaffProgressBarModule, ReactiveFormsModule],\n})\nexport class ProgressBarThemesComponent {\n color: DaffPalette = 'primary';\n\n colorControl: FormControl = new FormControl('');\n}\n","<daff-progress-bar percentage=\"25\" [color]=\"colorControl.value\">\n\t<label daffProgressBarLabel>Progress bar label</label>\n</daff-progress-bar>\n\n<select [formControl]=\"colorControl\">\n\t<option value=\"\">Default</option>\n\t<option value=\"primary\">Primary</option>\n\t<option value=\"secondary\">Secondary</option>\n\t<option value=\"tertiary\">Tertiary</option>\n\t<option value=\"theme\">Theme</option>\n\t<option value=\"theme-contrast\">Theme Contrast</option>\n\t<option value=\"white\">White</option>\n\t<option value=\"black\">Black</option>\n</select>","import { ProgressBarDefaultComponent } from './progress-bar-default/progress-bar-default.component';\nimport { ProgressBarIndeterminateComponent } from './progress-bar-indeterminate/progress-bar-indeterminate.component';\nimport { ProgressBarThemesComponent } from './progress-bar-themes/progress-bar-themes.component';\n\nexport const PROGRESS_BAR_EXAMPLES = [\n ProgressBarDefaultComponent,\n ProgressBarIndeterminateComponent,\n ProgressBarThemesComponent,\n];\n","/**\n * Generated bundle index.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 import * as i2 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
4
  import { EventEmitter, Component, ChangeDetectionStrategy, HostBinding, Input, Output, NgModule } from '@angular/core';
5
5
  import { coerceBooleanProperty } from '@angular/cdk/coercion';
6
- import { daffColorMixin } from '@daffodil/design';
6
+ import * as i1 from '@daffodil/design';
7
+ import { DaffColorableDirective } from '@daffodil/design';
7
8
  import { trigger, state, style, transition, animate } from '@angular/animations';
8
9
 
9
10
  const daffProgressBarAnimation = {
@@ -14,21 +15,11 @@ const daffProgressBarAnimation = {
14
15
  ]),
15
16
  };
16
17
 
17
- /**
18
- * An _elementRef and an instance of renderer2 are needed for the Colorable mixin
19
- */
20
- class DaffProgressBarBase {
21
- constructor(_elementRef, _renderer) {
22
- this._elementRef = _elementRef;
23
- this._renderer = _renderer;
24
- }
25
- }
26
- const _daffProgressBarBase = daffColorMixin(DaffProgressBarBase, 'primary');
27
18
  const clamp = (number, min, max) => Math.min(Math.max(number, min), max);
28
19
  /**
29
20
  * @inheritdoc
30
21
  */
31
- class DaffProgressBarComponent extends _daffProgressBarBase {
22
+ class DaffProgressBarComponent {
32
23
  /**
33
24
  * @docs-private
34
25
  */
@@ -44,11 +35,9 @@ class DaffProgressBarComponent extends _daffProgressBarBase {
44
35
  get ariaValueNow() {
45
36
  return this.percentage;
46
37
  }
47
- constructor(_changeDetectorRef, elementRef, renderer) {
48
- super(elementRef, renderer);
38
+ constructor(_changeDetectorRef, colorable) {
49
39
  this._changeDetectorRef = _changeDetectorRef;
50
- this.elementRef = elementRef;
51
- this.renderer = renderer;
40
+ this.colorable = colorable;
52
41
  /**
53
42
  * @docs-private
54
43
  */
@@ -62,6 +51,7 @@ class DaffProgressBarComponent extends _daffProgressBarBase {
62
51
  * and the animation is finished
63
52
  */
64
53
  this.finished = new EventEmitter();
54
+ this.colorable.defaultColor = 'primary';
65
55
  }
66
56
  /**
67
57
  * Sets the percentage completion of the progression,
@@ -111,17 +101,22 @@ class DaffProgressBarComponent extends _daffProgressBarBase {
111
101
  },
112
102
  };
113
103
  }
114
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffProgressBarComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
115
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffProgressBarComponent, selector: "daff-progress-bar", inputs: { color: "color", percentage: "percentage", indeterminate: "indeterminate" }, outputs: { finished: "finished" }, host: { properties: { "class.daff-progress-bar": "this.class", "class.indeterminate": "this.indeterminateClass", "role": "this.role", "attr.aria-label": "this.ariaLabel", "attr.aria-valuemin": "this.ariaValueMin", "attr.aria-valuemax": "this.ariaValueMax", "attr.aria-valuenow": "this.ariaValueNow" } }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"label[daffProgressBarLabel]\"></ng-content>\n<div class=\"daff-progress-bar__track\">\n\t<div *ngIf=\"!indeterminate\" class=\"daff-progress-bar__fill\" [@fill]=\"fillState\" (@fill.done)=\"onAnimationComplete($event)\"></div>\n\t<div *ngIf=\"indeterminate\" class=\"daff-progress-bar__fill indeterminate-bar\"></div>\n</div>", styles: [":host(.daff-progress-bar){display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}:host(.daff-progress-bar) ::ng-deep .daff-progress-bar__label{font-size:.875rem;line-height:1rem}:host(.daff-progress-bar) .daff-progress-bar__track{height:4px;position:relative;width:100%}:host(.daff-progress-bar) .daff-progress-bar__fill{height:4px;width:100%;transform:scaleX(0);transform-origin:0 center}:host(.daff-progress-bar).indeterminate{overflow:hidden}:host(.daff-progress-bar).indeterminate .indeterminate-bar{height:100%;width:100%;animation:indeterminate-animation 1.5s infinite linear;transform-origin:0% 50%}@keyframes indeterminate-animation{0%{transform:translate(0) scaleX(0)}20%{transform:translate(0) scaleX(25%)}to{transform:translate(100%) scaleX(25%)}}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [
104
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffProgressBarComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.DaffColorableDirective }], target: i0.ɵɵFactoryTarget.Component }); }
105
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffProgressBarComponent, selector: "daff-progress-bar", inputs: { percentage: "percentage", indeterminate: "indeterminate" }, outputs: { finished: "finished" }, host: { properties: { "class.daff-progress-bar": "this.class", "class.indeterminate": "this.indeterminateClass", "role": "this.role", "attr.aria-label": "this.ariaLabel", "attr.aria-valuemin": "this.ariaValueMin", "attr.aria-valuemax": "this.ariaValueMax", "attr.aria-valuenow": "this.ariaValueNow" } }, hostDirectives: [{ directive: i1.DaffColorableDirective, inputs: ["color", "color"] }], ngImport: i0, template: "<ng-content select=\"label[daffProgressBarLabel]\"></ng-content>\n<div class=\"daff-progress-bar__track\">\n\t<div *ngIf=\"!indeterminate\" class=\"daff-progress-bar__fill\" [@fill]=\"fillState\" (@fill.done)=\"onAnimationComplete($event)\"></div>\n\t<div *ngIf=\"indeterminate\" class=\"daff-progress-bar__fill indeterminate-bar\"></div>\n</div>", styles: [":host(.daff-progress-bar){display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}:host(.daff-progress-bar) ::ng-deep .daff-progress-bar__label{font-size:.875rem;line-height:1rem}:host(.daff-progress-bar) .daff-progress-bar__track{height:4px;position:relative;width:100%}:host(.daff-progress-bar) .daff-progress-bar__fill{height:4px;width:100%;transform:scaleX(0);transform-origin:0 center}:host(.daff-progress-bar).indeterminate{overflow:hidden}:host(.daff-progress-bar).indeterminate .indeterminate-bar{height:100%;width:100%;animation:indeterminate-animation 1.5s infinite linear;transform-origin:0% 50%}@keyframes indeterminate-animation{0%{transform:translate(0) scaleX(0)}20%{transform:translate(0) scaleX(25%)}to{transform:translate(100%) scaleX(25%)}}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [
116
106
  daffProgressBarAnimation.fill,
117
107
  ], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
118
108
  }
119
109
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffProgressBarComponent, decorators: [{
120
110
  type: Component,
121
- args: [{ selector: 'daff-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['color'], animations: [
111
+ args: [{ selector: 'daff-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
112
+ {
113
+ directive: DaffColorableDirective,
114
+ inputs: ['color'],
115
+ },
116
+ ], animations: [
122
117
  daffProgressBarAnimation.fill,
123
118
  ], template: "<ng-content select=\"label[daffProgressBarLabel]\"></ng-content>\n<div class=\"daff-progress-bar__track\">\n\t<div *ngIf=\"!indeterminate\" class=\"daff-progress-bar__fill\" [@fill]=\"fillState\" (@fill.done)=\"onAnimationComplete($event)\"></div>\n\t<div *ngIf=\"indeterminate\" class=\"daff-progress-bar__fill indeterminate-bar\"></div>\n</div>", styles: [":host(.daff-progress-bar){display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}:host(.daff-progress-bar) ::ng-deep .daff-progress-bar__label{font-size:.875rem;line-height:1rem}:host(.daff-progress-bar) .daff-progress-bar__track{height:4px;position:relative;width:100%}:host(.daff-progress-bar) .daff-progress-bar__fill{height:4px;width:100%;transform:scaleX(0);transform-origin:0 center}:host(.daff-progress-bar).indeterminate{overflow:hidden}:host(.daff-progress-bar).indeterminate .indeterminate-bar{height:100%;width:100%;animation:indeterminate-animation 1.5s infinite linear;transform-origin:0% 50%}@keyframes indeterminate-animation{0%{transform:translate(0) scaleX(0)}20%{transform:translate(0) scaleX(25%)}to{transform:translate(100%) scaleX(25%)}}\n"] }]
124
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { class: [{
119
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.DaffColorableDirective }], propDecorators: { class: [{
125
120
  type: HostBinding,
126
121
  args: ['class.daff-progress-bar']
127
122
  }], indeterminateClass: [{
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-design-progress-bar.mjs","sources":["../../../libs/design/progress-bar/src/animation/progress-bar-animation.ts","../../../libs/design/progress-bar/src/progress-bar.component.ts","../../../libs/design/progress-bar/src/progress-bar.component.html","../../../libs/design/progress-bar/src/progress-bar.module.ts","../../../libs/design/progress-bar/src/daffodil-design-progress-bar.ts"],"sourcesContent":["import {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\nexport const daffProgressBarAnimation: {\n readonly fill: AnimationTriggerMetadata;\n} = {\n fill: trigger('fill', [\n state('*', style({ transform: 'scaleX(calc({{ percentage }}/100))' }), { params: { percentage: 0 }}),\n transition('void <=> *', animate(0)),\n transition('* <=> *', animate(1000)),\n ]),\n};\n","import { AnimationEvent } from '@angular/animations';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport {\n Component,\n Input,\n ChangeDetectionStrategy,\n ElementRef,\n Output,\n EventEmitter,\n Renderer2,\n HostBinding,\n ChangeDetectorRef,\n} from '@angular/core';\n\nimport {\n daffColorMixin,\n DaffColorable,\n} from '@daffodil/design';\n\nimport { daffProgressBarAnimation } from './animation/progress-bar-animation';\n\n/**\n * An _elementRef and an instance of renderer2 are needed for the Colorable mixin\n */\nclass DaffProgressBarBase{\n constructor(public _elementRef: ElementRef, public _renderer: Renderer2) {}\n}\n\nconst _daffProgressBarBase = daffColorMixin(DaffProgressBarBase, 'primary');\n\nexport const clamp = (number: number, min: number, max: number) => Math.min(Math.max(number, min), max);\n\n/**\n * @inheritdoc\n */\n@Component({\n selector: 'daff-progress-bar',\n templateUrl: './progress-bar.component.html',\n styleUrls: ['./progress-bar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n //todo(damienwebdev): remove once decorators hit stage 3 - https://github.com/microsoft/TypeScript/issues/7342\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['color'],\n animations: [\n daffProgressBarAnimation.fill,\n ],\n})\nexport class DaffProgressBarComponent extends _daffProgressBarBase implements DaffColorable {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-progress-bar') class = true;\n\n /**\n * @docs-private\n */\n @HostBinding('class.indeterminate') get indeterminateClass() {\n return this._indeterminate;\n }\n\n @HostBinding('role') get role() {\n return 'progressbar';\n }\n\n @HostBinding('attr.aria-label') get ariaLabel() {\n return this._indeterminate ? 'loading' : null;\n }\n\n @HostBinding('attr.aria-valuemin') ariaValueMin = '0';\n @HostBinding('attr.aria-valuemax') ariaValueMax = '100';\n @HostBinding('attr.aria-valuenow') get ariaValueNow() {\n return this.percentage;\n }\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private elementRef: ElementRef,\n private renderer: Renderer2,\n ) {\n super(elementRef, renderer);\n }\n\n private _percentage = 0;\n private _indeterminate = false;\n\n /**\n * Sets the percentage completion of the progression,\n * expressed as a whole number between 0 and 100.\n *\n */\n @Input() get percentage(): number {\n return this._percentage;\n };\n set percentage(val: number) {\n this._percentage = clamp(val, 0, 100);\n this._changeDetectorRef.markForCheck();\n }\n\n /**\n * Property to set the animation of a progress bar to\n * run for an indefinite amount of time.\n *\n * See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress\n **/\n @Input() get indeterminate() {\n return this._indeterminate;\n }\n set indeterminate(value: any) {\n\t this._indeterminate = coerceBooleanProperty(value);\n }\n\n /**\n * An event that emits each time the progression reaches 100%\n * and the animation is finished\n */\n @Output() finished: EventEmitter<void> = new EventEmitter();\n\n /**\n * Calculates when the progress animation is fully completed\n *\n * @param event: AnimationEvent\n */\n onAnimationComplete(event: AnimationEvent): void {\n // @ts-expect-error: @angular/animations typing error on event.toState as string\n // See: https://github.com/angular/angular/issues/26507\n if(event.toState === '100' || event.toState === 100) {\n this.finished.emit();\n }\n }\n\n /**\n * @docs-private\n */\n get fillState(): any {\n return {\n value: this.percentage,\n params: {\n percentage: this.percentage,\n },\n };\n }\n}\n","<ng-content select=\"label[daffProgressBarLabel]\"></ng-content>\n<div class=\"daff-progress-bar__track\">\n\t<div *ngIf=\"!indeterminate\" class=\"daff-progress-bar__fill\" [@fill]=\"fillState\" (@fill.done)=\"onAnimationComplete($event)\"></div>\n\t<div *ngIf=\"indeterminate\" class=\"daff-progress-bar__fill indeterminate-bar\"></div>\n</div>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffProgressBarComponent } from './progress-bar.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ],\n declarations: [\n DaffProgressBarComponent,\n ],\n exports: [\n DaffProgressBarComponent,\n ],\n})\nexport class DaffProgressBarModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;AASO,MAAM,wBAAwB,GAEjC;AACF,IAAA,IAAI,EAAE,OAAO,CAAC,MAAM,EAAE;QACpB,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,oCAAoC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,CAAC,EAAE,EAAC,CAAC;AACpG,QAAA,UAAU,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACpC,QAAA,UAAU,CAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;KACrC,CAAC;CACH;;ACID;;AAEG;AACH,MAAM,mBAAmB,CAAA;IACvB,WAAmB,CAAA,WAAuB,EAAS,SAAoB,EAAA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BAAwB;AACzB,qBAAA;AACF,iBAAA,CAAA;;;ACfD;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-design-progress-bar.mjs","sources":["../../../libs/design/progress-bar/src/animation/progress-bar-animation.ts","../../../libs/design/progress-bar/src/progress-bar.component.ts","../../../libs/design/progress-bar/src/progress-bar.component.html","../../../libs/design/progress-bar/src/progress-bar.module.ts","../../../libs/design/progress-bar/src/daffodil-design-progress-bar.ts"],"sourcesContent":["import {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\nexport const daffProgressBarAnimation: {\n readonly fill: AnimationTriggerMetadata;\n} = {\n fill: trigger('fill', [\n state('*', style({ transform: 'scaleX(calc({{ percentage }}/100))' }), { params: { percentage: 0 }}),\n transition('void <=> *', animate(0)),\n transition('* <=> *', animate(1000)),\n ]),\n};\n","import { AnimationEvent } from '@angular/animations';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport {\n Component,\n Input,\n ChangeDetectionStrategy,\n Output,\n EventEmitter,\n HostBinding,\n ChangeDetectorRef,\n} from '@angular/core';\n\nimport { DaffColorableDirective } from '@daffodil/design';\n\nimport { daffProgressBarAnimation } from './animation/progress-bar-animation';\n\nexport const clamp = (number: number, min: number, max: number) => Math.min(Math.max(number, min), max);\n\n/**\n * @inheritdoc\n */\n@Component({\n selector: 'daff-progress-bar',\n templateUrl: './progress-bar.component.html',\n styleUrls: ['./progress-bar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: DaffColorableDirective,\n inputs: ['color'],\n },\n ],\n animations: [\n daffProgressBarAnimation.fill,\n ],\n})\nexport class DaffProgressBarComponent {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-progress-bar') class = true;\n\n /**\n * @docs-private\n */\n @HostBinding('class.indeterminate') get indeterminateClass() {\n return this._indeterminate;\n }\n\n @HostBinding('role') get role() {\n return 'progressbar';\n }\n\n @HostBinding('attr.aria-label') get ariaLabel() {\n return this._indeterminate ? 'loading' : null;\n }\n\n @HostBinding('attr.aria-valuemin') ariaValueMin = '0';\n @HostBinding('attr.aria-valuemax') ariaValueMax = '100';\n @HostBinding('attr.aria-valuenow') get ariaValueNow() {\n return this.percentage;\n }\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private colorable: DaffColorableDirective,\n ) {\n this.colorable.defaultColor = 'primary';\n }\n\n private _percentage = 0;\n private _indeterminate = false;\n\n /**\n * Sets the percentage completion of the progression,\n * expressed as a whole number between 0 and 100.\n *\n */\n @Input() get percentage(): number {\n return this._percentage;\n };\n set percentage(val: number) {\n this._percentage = clamp(val, 0, 100);\n this._changeDetectorRef.markForCheck();\n }\n\n /**\n * Property to set the animation of a progress bar to\n * run for an indefinite amount of time.\n *\n * See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress\n **/\n @Input() get indeterminate() {\n return this._indeterminate;\n }\n set indeterminate(value: any) {\n\t this._indeterminate = coerceBooleanProperty(value);\n }\n\n /**\n * An event that emits each time the progression reaches 100%\n * and the animation is finished\n */\n @Output() finished: EventEmitter<void> = new EventEmitter();\n\n /**\n * Calculates when the progress animation is fully completed\n *\n * @param event: AnimationEvent\n */\n onAnimationComplete(event: AnimationEvent): void {\n // @ts-expect-error: @angular/animations typing error on event.toState as string\n // See: https://github.com/angular/angular/issues/26507\n if(event.toState === '100' || event.toState === 100) {\n this.finished.emit();\n }\n }\n\n /**\n * @docs-private\n */\n get fillState(): any {\n return {\n value: this.percentage,\n params: {\n percentage: this.percentage,\n },\n };\n }\n}\n","<ng-content select=\"label[daffProgressBarLabel]\"></ng-content>\n<div class=\"daff-progress-bar__track\">\n\t<div *ngIf=\"!indeterminate\" class=\"daff-progress-bar__fill\" [@fill]=\"fillState\" (@fill.done)=\"onAnimationComplete($event)\"></div>\n\t<div *ngIf=\"indeterminate\" class=\"daff-progress-bar__fill indeterminate-bar\"></div>\n</div>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffProgressBarComponent } from './progress-bar.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ],\n declarations: [\n DaffProgressBarComponent,\n ],\n exports: [\n DaffProgressBarComponent,\n ],\n})\nexport class DaffProgressBarModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AASO,MAAM,wBAAwB,GAEjC;AACF,IAAA,IAAI,EAAE,OAAO,CAAC,MAAM,EAAE;QACpB,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,oCAAoC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,CAAC,EAAE,EAAC,CAAC;AACpG,QAAA,UAAU,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACpC,QAAA,UAAU,CAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;KACrC,CAAC;CACH;;ACDM,MAAM,KAAK,GAAG,CAAC,MAAc,EAAE,GAAW,EAAE,GAAW,KAAK,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,GAAG,EAAE;AAExG;;AAEG;MAgBU,wBAAwB,CAAA;AAOnC;;AAEG;AACH,IAAA,IAAwC,kBAAkB,GAAA;QACxD,OAAO,IAAI,CAAC,cAAc,CAAC;KAC5B;AAED,IAAA,IAAyB,IAAI,GAAA;AAC3B,QAAA,OAAO,aAAa,CAAC;KACtB;AAED,IAAA,IAAoC,SAAS,GAAA;QAC3C,OAAO,IAAI,CAAC,cAAc,GAAG,SAAS,GAAG,IAAI,CAAC;KAC/C;AAID,IAAA,IAAuC,YAAY,GAAA;QACjD,OAAO,IAAI,CAAC,UAAU,CAAC;KACxB;IAED,WACU,CAAA,kBAAqC,EACrC,SAAiC,EAAA;QADjC,IAAkB,CAAA,kBAAA,GAAlB,kBAAkB,CAAmB;QACrC,IAAS,CAAA,SAAA,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AA,OAAA,EAAA,CAAA,YAAY,aAMZ,wBAAwB,CAAA,EAAA,CAAA,CAAA,EAAA;AAGf,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,YAT9B,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;4FASH,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAXjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,wBAAwB;AACzB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,wBAAwB;AACzB,qBAAA;AACF,iBAAA,CAAA;;;ACfD;;AAEG;;;;"}
@@ -1,21 +1,24 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i1 from '@angular/forms';
2
+ import { Component, ChangeDetectionStrategy } from '@angular/core';
3
+ import * as i2 from '@angular/forms';
4
4
  import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms';
5
- import * as i2 from '@daffodil/design';
5
+ import * as i1 from '@daffodil/design';
6
6
  import { DaffFormFieldModule, DaffQuantityFieldModule } from '@daffodil/design';
7
- import { CommonModule } from '@angular/common';
8
7
 
9
8
  class BasicQuantityFieldComponent {
10
9
  constructor() {
11
10
  this.control = new UntypedFormControl(1);
12
11
  }
13
12
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicQuantityFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
14
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: BasicQuantityFieldComponent, selector: "basic-quantity-field", ngImport: i0, template: "<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "component", type: i2.DaffQuantityFieldComponent, selector: "daff-quantity-field", inputs: ["min", "max", "selectMax", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
13
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: BasicQuantityFieldComponent, isStandalone: true, selector: "basic-quantity-field", ngImport: i0, template: "<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: DaffFormFieldModule }, { kind: "component", type: i1.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "ngmodule", type: DaffQuantityFieldModule }, { kind: "component", type: i1.DaffQuantityFieldComponent, selector: "daff-quantity-field", inputs: ["min", "max", "selectMax", "id"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
15
14
  }
16
15
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicQuantityFieldComponent, decorators: [{
17
16
  type: Component,
18
- args: [{ selector: 'basic-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n" }]
17
+ args: [{ selector: 'basic-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
18
+ DaffFormFieldModule,
19
+ DaffQuantityFieldModule,
20
+ ReactiveFormsModule,
21
+ ], template: "<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n" }]
19
22
  }] });
20
23
 
21
24
  class CustomRangeQuantityFieldComponent {
@@ -23,11 +26,15 @@ class CustomRangeQuantityFieldComponent {
23
26
  this.control = new UntypedFormControl(5);
24
27
  }
25
28
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CustomRangeQuantityFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
26
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: CustomRangeQuantityFieldComponent, selector: "custom-range-quantity-field", ngImport: i0, template: "<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [min]=\"5\"\n [max]=\"50\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "component", type: i2.DaffQuantityFieldComponent, selector: "daff-quantity-field", inputs: ["min", "max", "selectMax", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
29
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: CustomRangeQuantityFieldComponent, isStandalone: true, selector: "custom-range-quantity-field", ngImport: i0, template: "<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [min]=\"5\"\n [max]=\"50\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: DaffFormFieldModule }, { kind: "component", type: i1.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "ngmodule", type: DaffQuantityFieldModule }, { kind: "component", type: i1.DaffQuantityFieldComponent, selector: "daff-quantity-field", inputs: ["min", "max", "selectMax", "id"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
27
30
  }
28
31
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CustomRangeQuantityFieldComponent, decorators: [{
29
32
  type: Component,
30
- args: [{ selector: 'custom-range-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [min]=\"5\"\n [max]=\"50\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n" }]
33
+ args: [{ selector: 'custom-range-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
34
+ DaffFormFieldModule,
35
+ DaffQuantityFieldModule,
36
+ ReactiveFormsModule,
37
+ ], template: "<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [min]=\"5\"\n [max]=\"50\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n" }]
31
38
  }] });
32
39
 
33
40
  class DisabledQuantityFieldComponent {
@@ -35,11 +42,15 @@ class DisabledQuantityFieldComponent {
35
42
  this.control = new UntypedFormControl({ value: '1', disabled: true });
36
43
  }
37
44
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DisabledQuantityFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
38
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DisabledQuantityFieldComponent, selector: "disabled-quantity-field", ngImport: i0, template: "<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "component", type: i2.DaffQuantityFieldComponent, selector: "daff-quantity-field", inputs: ["min", "max", "selectMax", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
45
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DisabledQuantityFieldComponent, isStandalone: true, selector: "disabled-quantity-field", ngImport: i0, template: "<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: DaffFormFieldModule }, { kind: "component", type: i1.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "ngmodule", type: DaffQuantityFieldModule }, { kind: "component", type: i1.DaffQuantityFieldComponent, selector: "daff-quantity-field", inputs: ["min", "max", "selectMax", "id"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
39
46
  }
40
47
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DisabledQuantityFieldComponent, decorators: [{
41
48
  type: Component,
42
- args: [{ selector: 'disabled-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n" }]
49
+ args: [{ selector: 'disabled-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
50
+ DaffFormFieldModule,
51
+ DaffQuantityFieldModule,
52
+ ReactiveFormsModule,
53
+ ], template: "<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n" }]
43
54
  }] });
44
55
 
45
56
  class SelectMaxQuantityFieldComponent {
@@ -47,127 +58,15 @@ class SelectMaxQuantityFieldComponent {
47
58
  this.control = new UntypedFormControl(1);
48
59
  }
49
60
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SelectMaxQuantityFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
50
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: SelectMaxQuantityFieldComponent, selector: "select-max-quantity-field", ngImport: i0, template: "<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [selectMax]=\"15\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "component", type: i2.DaffQuantityFieldComponent, selector: "daff-quantity-field", inputs: ["min", "max", "selectMax", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
61
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: SelectMaxQuantityFieldComponent, isStandalone: true, selector: "select-max-quantity-field", ngImport: i0, template: "<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [selectMax]=\"15\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: DaffFormFieldModule }, { kind: "component", type: i1.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "ngmodule", type: DaffQuantityFieldModule }, { kind: "component", type: i1.DaffQuantityFieldComponent, selector: "daff-quantity-field", inputs: ["min", "max", "selectMax", "id"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
51
62
  }
52
63
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SelectMaxQuantityFieldComponent, decorators: [{
53
64
  type: Component,
54
- args: [{ selector: 'select-max-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [selectMax]=\"15\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n" }]
55
- }] });
56
-
57
- class BasicQuantityFieldModule {
58
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicQuantityFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
59
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: BasicQuantityFieldModule, declarations: [BasicQuantityFieldComponent], imports: [CommonModule,
60
- ReactiveFormsModule,
61
- DaffFormFieldModule,
62
- DaffQuantityFieldModule], exports: [BasicQuantityFieldComponent] }); }
63
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicQuantityFieldModule, imports: [CommonModule,
64
- ReactiveFormsModule,
65
- DaffFormFieldModule,
66
- DaffQuantityFieldModule] }); }
67
- }
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicQuantityFieldModule, decorators: [{
69
- type: NgModule,
70
- args: [{
71
- declarations: [
72
- BasicQuantityFieldComponent,
73
- ],
74
- exports: [
75
- BasicQuantityFieldComponent,
76
- ],
77
- imports: [
78
- CommonModule,
79
- ReactiveFormsModule,
80
- DaffFormFieldModule,
81
- DaffQuantityFieldModule,
82
- ],
83
- }]
84
- }] });
85
-
86
- class CustomRangeQuantityFieldModule {
87
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CustomRangeQuantityFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
88
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: CustomRangeQuantityFieldModule, declarations: [CustomRangeQuantityFieldComponent], imports: [CommonModule,
89
- ReactiveFormsModule,
90
- DaffFormFieldModule,
91
- DaffQuantityFieldModule], exports: [CustomRangeQuantityFieldComponent] }); }
92
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CustomRangeQuantityFieldModule, imports: [CommonModule,
93
- ReactiveFormsModule,
94
- DaffFormFieldModule,
95
- DaffQuantityFieldModule] }); }
96
- }
97
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CustomRangeQuantityFieldModule, decorators: [{
98
- type: NgModule,
99
- args: [{
100
- declarations: [
101
- CustomRangeQuantityFieldComponent,
102
- ],
103
- exports: [
104
- CustomRangeQuantityFieldComponent,
105
- ],
106
- imports: [
107
- CommonModule,
108
- ReactiveFormsModule,
65
+ args: [{ selector: 'select-max-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
109
66
  DaffFormFieldModule,
110
67
  DaffQuantityFieldModule,
111
- ],
112
- }]
113
- }] });
114
-
115
- class DisabledQuantityFieldModule {
116
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DisabledQuantityFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
117
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DisabledQuantityFieldModule, declarations: [DisabledQuantityFieldComponent], imports: [CommonModule,
118
- ReactiveFormsModule,
119
- DaffFormFieldModule,
120
- DaffQuantityFieldModule], exports: [DisabledQuantityFieldComponent] }); }
121
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DisabledQuantityFieldModule, imports: [CommonModule,
122
- ReactiveFormsModule,
123
- DaffFormFieldModule,
124
- DaffQuantityFieldModule] }); }
125
- }
126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DisabledQuantityFieldModule, decorators: [{
127
- type: NgModule,
128
- args: [{
129
- declarations: [
130
- DisabledQuantityFieldComponent,
131
- ],
132
- exports: [
133
- DisabledQuantityFieldComponent,
134
- ],
135
- imports: [
136
- CommonModule,
137
68
  ReactiveFormsModule,
138
- DaffFormFieldModule,
139
- DaffQuantityFieldModule,
140
- ],
141
- }]
142
- }] });
143
-
144
- class SelectMaxQuantityFieldModule {
145
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SelectMaxQuantityFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
146
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: SelectMaxQuantityFieldModule, declarations: [SelectMaxQuantityFieldComponent], imports: [CommonModule,
147
- ReactiveFormsModule,
148
- DaffFormFieldModule,
149
- DaffQuantityFieldModule], exports: [SelectMaxQuantityFieldComponent] }); }
150
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SelectMaxQuantityFieldModule, imports: [CommonModule,
151
- ReactiveFormsModule,
152
- DaffFormFieldModule,
153
- DaffQuantityFieldModule] }); }
154
- }
155
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SelectMaxQuantityFieldModule, decorators: [{
156
- type: NgModule,
157
- args: [{
158
- declarations: [
159
- SelectMaxQuantityFieldComponent,
160
- ],
161
- exports: [
162
- SelectMaxQuantityFieldComponent,
163
- ],
164
- imports: [
165
- CommonModule,
166
- ReactiveFormsModule,
167
- DaffFormFieldModule,
168
- DaffQuantityFieldModule,
169
- ],
170
- }]
69
+ ], template: "<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [selectMax]=\"15\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n" }]
171
70
  }] });
172
71
 
173
72
  const QUANTITY_FIELD_EXAMPLES = [
@@ -181,5 +80,5 @@ const QUANTITY_FIELD_EXAMPLES = [
181
80
  * Generated bundle index. Do not edit.
182
81
  */
183
82
 
184
- export { BasicQuantityFieldComponent, BasicQuantityFieldModule, CustomRangeQuantityFieldComponent, CustomRangeQuantityFieldModule, DisabledQuantityFieldComponent, DisabledQuantityFieldModule, QUANTITY_FIELD_EXAMPLES, SelectMaxQuantityFieldComponent, SelectMaxQuantityFieldModule };
83
+ export { BasicQuantityFieldComponent, CustomRangeQuantityFieldComponent, DisabledQuantityFieldComponent, QUANTITY_FIELD_EXAMPLES, SelectMaxQuantityFieldComponent };
185
84
  //# sourceMappingURL=daffodil-design-quantity-field-examples.mjs.map