@daffodil/design 0.66.1 → 0.67.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1411) hide show
  1. package/accordion/README.md +21 -0
  2. package/accordion/accordion/accordion/accordion.component.d.ts +22 -0
  3. package/accordion/accordion/accordion-item/accordion-item.component.d.ts +32 -0
  4. package/accordion/accordion.module.d.ts +13 -0
  5. package/accordion/examples/accordion-examples.module.d.ts +9 -0
  6. package/accordion/examples/examples.d.ts +2 -0
  7. package/accordion/examples/public_api.d.ts +3 -6
  8. package/accordion/index.d.ts +1 -0
  9. package/accordion/public_api.d.ts +5 -0
  10. package/accordion/src/accordion-theme.scss +12 -0
  11. package/article/README.md +49 -0
  12. package/article/examples/article-examples.module.d.ts +1 -1
  13. package/article/index.d.ts +1 -0
  14. package/article/src/article-theme.scss +78 -0
  15. package/atoms/form/checkbox/checkbox.component.d.ts +1 -1
  16. package/atoms/form/checkbox/cva/checkbox-cva.directive.d.ts +1 -1
  17. package/atoms/form/checkbox-set/checkbox-set.component.d.ts +1 -1
  18. package/atoms/form/form-field/form-field/form-field.component.d.ts +1 -1
  19. package/atoms/form/input/input.component.d.ts +1 -1
  20. package/atoms/form/native-select/native-select.component.d.ts +1 -1
  21. package/atoms/form/quantity-field/quantity-field.component.d.ts +1 -1
  22. package/atoms/form/quantity-field/quantity-input/quantity-input.component.d.ts +1 -1
  23. package/atoms/form/quantity-field/quantity-select/quantity-select.component.d.ts +1 -1
  24. package/atoms/form/radio/cva/radio-cva.directive.d.ts +1 -1
  25. package/atoms/form/radio/radio.component.d.ts +1 -1
  26. package/atoms/form/radio-set/radio-set.component.d.ts +1 -1
  27. package/atoms/progress-indicator/progress-indicator.component.d.ts +1 -1
  28. package/button/README.md +58 -0
  29. package/button/button/button.component.d.ts +90 -0
  30. package/button/button.module.d.ts +10 -0
  31. package/button/examples/basic-button/basic-button.module.d.ts +1 -1
  32. package/button/examples/flat-button/flat-button.module.d.ts +1 -1
  33. package/button/examples/icon-button/icon-button.module.d.ts +1 -1
  34. package/button/examples/raised-button/raised-button.module.d.ts +1 -1
  35. package/button/examples/sizeable-button/sizeable-button.module.d.ts +1 -1
  36. package/button/examples/statusable-button/statusable-button.module.d.ts +1 -1
  37. package/button/examples/stroked-button/stroked-button.module.d.ts +1 -1
  38. package/button/examples/underline-button/underline-button.module.d.ts +1 -1
  39. package/button/index.d.ts +1 -0
  40. package/button/public_api.d.ts +2 -0
  41. package/button/src/button-theme-variants/button.scss +26 -0
  42. package/button/src/button-theme-variants/flat.scss +25 -0
  43. package/button/src/button-theme-variants/raised.scss +36 -0
  44. package/button/src/button-theme-variants/stroked.scss +28 -0
  45. package/button/src/button-theme.scss +574 -0
  46. package/callout/README.md +54 -0
  47. package/callout/callout/callout.component.d.ts +78 -0
  48. package/callout/examples/callout-text-alignment/callout-text-alignment.module.d.ts +5 -3
  49. package/callout/examples/callout-theming/callout-theming.module.d.ts +4 -3
  50. package/callout/examples/callout-with-grid/callout-with-grid.module.d.ts +5 -3
  51. package/callout/examples/compact-callout/compact-callout.module.d.ts +5 -3
  52. package/callout/index.d.ts +1 -0
  53. package/callout/src/callout-theme.scss +59 -0
  54. package/card/README.md +60 -0
  55. package/card/card/card.component.d.ts +66 -0
  56. package/card/examples/basic-card/basic-card.module.d.ts +5 -3
  57. package/card/examples/card-orientation/card-orientation.module.d.ts +5 -3
  58. package/card/examples/card-theming/card-theming.module.d.ts +3 -2
  59. package/card/examples/linkable-card/linkable-card.module.d.ts +4 -2
  60. package/card/examples/raised-card/raised-card.module.d.ts +4 -2
  61. package/card/examples/stroked-card/stroked-card.module.d.ts +4 -2
  62. package/card/index.d.ts +1 -0
  63. package/card/src/card-theme-variants/basic-card.scss +6 -0
  64. package/card/src/card-theme-variants/linkable-card.scss +16 -0
  65. package/card/src/card-theme.scss +170 -0
  66. package/checkbox/examples/basic-checkbox/basic-checkbox.module.d.ts +3 -2
  67. package/checkbox/examples/checkbox-set/checkbox-set.module.d.ts +3 -2
  68. package/container/README.md +18 -0
  69. package/container/container/container.component.d.ts +32 -0
  70. package/container/container.module.d.ts +8 -0
  71. package/container/examples/container-sizes/container-sizes.module.d.ts +1 -1
  72. package/container/index.d.ts +1 -0
  73. package/container/public_api.d.ts +2 -0
  74. package/core/colorable/colorable.d.ts +1 -1
  75. package/core/constructor/constructor.d.ts +1 -1
  76. package/core/public_api.d.ts +2 -1
  77. package/core/sizable/public_api.d.ts +2 -0
  78. package/core/sizable/sizable-mixin.d.ts +15 -0
  79. package/core/sizable/sizable.d.ts +23 -0
  80. package/core/statusable/statusable.d.ts +1 -1
  81. package/core/text-alignable/public_api.d.ts +2 -0
  82. package/core/text-alignable/text-alignable.d.ts +4 -1
  83. package/core/theming/services/storage/theme-storage.service.d.ts +1 -1
  84. package/esm2022/accordion/accordion/accordion/accordion.component.mjs +27 -0
  85. package/esm2022/accordion/accordion/accordion-item/accordion-item.component.mjs +54 -0
  86. package/esm2022/accordion/accordion/accordion-item-content/accordion-item-content.directive.mjs +22 -0
  87. package/esm2022/accordion/accordion/accordion-item-title/accordion-item-title.directive.mjs +22 -0
  88. package/esm2022/accordion/accordion/animation/accordion-animation-state.mjs +9 -0
  89. package/esm2022/accordion/accordion/animation/accordion-animation.mjs +18 -0
  90. package/esm2022/accordion/accordion.module.mjs +47 -0
  91. package/esm2022/accordion/daffodil-design-accordion.mjs +5 -0
  92. package/esm2022/accordion/examples/accordion-examples.module.mjs +26 -0
  93. package/esm2022/accordion/examples/basic-accordion/basic-accordion.component.mjs +12 -0
  94. package/esm2022/accordion/examples/examples.mjs +5 -0
  95. package/esm2022/accordion/examples/public_api.mjs +4 -0
  96. package/esm2022/accordion/index.mjs +2 -0
  97. package/esm2022/accordion/public_api.mjs +6 -0
  98. package/esm2022/article/article/article.component.mjs +30 -0
  99. package/esm2022/article/article-lead/article-lead.directive.mjs +22 -0
  100. package/esm2022/article/article-meta/article-meta.directive.mjs +22 -0
  101. package/esm2022/article/article-title/article-title.directive.mjs +22 -0
  102. package/esm2022/article/article.module.mjs +39 -0
  103. package/esm2022/article/daffodil-design-article.mjs +5 -0
  104. package/esm2022/article/examples/article-blockquote/article-blockquote.component.mjs +12 -0
  105. package/esm2022/article/examples/article-code-block/article-code-block.component.mjs +12 -0
  106. package/esm2022/article/examples/article-code-inline/article-code-inline.component.mjs +12 -0
  107. package/esm2022/article/examples/article-examples.module.mjs +36 -0
  108. package/esm2022/article/examples/article-headings/article-headings.component.mjs +12 -0
  109. package/esm2022/article/examples/article-hr/article-hr.component.mjs +12 -0
  110. package/esm2022/article/examples/article-lead/article-lead.component.mjs +12 -0
  111. package/esm2022/article/examples/article-link/article-link.component.mjs +12 -0
  112. package/esm2022/article/examples/article-meta/article-meta.component.mjs +12 -0
  113. package/esm2022/article/examples/article-ol/article-ol.component.mjs +12 -0
  114. package/esm2022/article/examples/article-table/article-table.component.mjs +12 -0
  115. package/esm2022/article/examples/article-ul/article-ul.component.mjs +12 -0
  116. package/esm2022/article/index.mjs +2 -0
  117. package/esm2022/article/public_api.mjs +6 -0
  118. package/esm2022/atoms/form/checkbox/checkbox.component.mjs +142 -0
  119. package/esm2022/atoms/form/checkbox/checkbox.module.mjs +39 -0
  120. package/esm2022/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +94 -0
  121. package/esm2022/atoms/form/checkbox-set/checkbox-set.component.mjs +38 -0
  122. package/esm2022/atoms/form/error-message/error-message.component.mjs +17 -0
  123. package/esm2022/atoms/form/error-message/error-message.module.mjs +20 -0
  124. package/esm2022/atoms/form/form-field/form-field/form-field.component.mjs +102 -0
  125. package/esm2022/atoms/form/form-field/form-field.module.mjs +34 -0
  126. package/esm2022/atoms/form/form-label/form-label.directive.mjs +19 -0
  127. package/esm2022/atoms/form/form-label/form-label.module.mjs +20 -0
  128. package/esm2022/atoms/form/input/input.component.mjs +59 -0
  129. package/esm2022/atoms/form/input/input.module.mjs +24 -0
  130. package/esm2022/atoms/form/native-select/native-select.component.mjs +64 -0
  131. package/esm2022/atoms/form/native-select/native-select.module.mjs +24 -0
  132. package/esm2022/atoms/form/quantity-field/quantity-field.component.mjs +134 -0
  133. package/esm2022/atoms/form/quantity-field/quantity-field.module.mjs +46 -0
  134. package/esm2022/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +97 -0
  135. package/esm2022/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +84 -0
  136. package/esm2022/atoms/form/radio/cva/radio-cva.directive.mjs +89 -0
  137. package/esm2022/atoms/form/radio/radio.component.mjs +132 -0
  138. package/esm2022/atoms/form/radio/radio.module.mjs +34 -0
  139. package/esm2022/atoms/form/radio/registry/radio-registry.mjs +54 -0
  140. package/esm2022/atoms/form/radio-set/radio-set.component.mjs +22 -0
  141. package/esm2022/atoms/progress-indicator/progress-indicator.component.mjs +81 -0
  142. package/esm2022/atoms/progress-indicator/progress-indicator.module.mjs +20 -0
  143. package/esm2022/button/button/button.component.mjs +185 -0
  144. package/esm2022/button/button.module.mjs +34 -0
  145. package/esm2022/button/daffodil-design-button.mjs +5 -0
  146. package/esm2022/button/examples/basic-button/basic-button.component.mjs +19 -0
  147. package/esm2022/button/examples/basic-button/basic-button.module.mjs +28 -0
  148. package/esm2022/button/examples/flat-button/flat-button.component.mjs +19 -0
  149. package/esm2022/button/examples/flat-button/flat-button.module.mjs +28 -0
  150. package/esm2022/button/examples/icon-button/icon-button.component.mjs +17 -0
  151. package/esm2022/button/examples/icon-button/icon-button.module.mjs +28 -0
  152. package/esm2022/button/examples/raised-button/raised-button.component.mjs +19 -0
  153. package/esm2022/button/examples/raised-button/raised-button.module.mjs +28 -0
  154. package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +17 -0
  155. package/esm2022/button/examples/sizeable-button/sizeable-button.module.mjs +28 -0
  156. package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +19 -0
  157. package/esm2022/button/examples/statusable-button/statusable-button.module.mjs +28 -0
  158. package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +19 -0
  159. package/esm2022/button/examples/stroked-button/stroked-button.module.mjs +28 -0
  160. package/esm2022/button/examples/underline-button/underline-button.component.mjs +19 -0
  161. package/esm2022/button/examples/underline-button/underline-button.module.mjs +28 -0
  162. package/esm2022/button/index.mjs +2 -0
  163. package/esm2022/button/public_api.mjs +3 -0
  164. package/esm2022/callout/callout/callout.component.mjs +67 -0
  165. package/esm2022/callout/callout-body/callout-body.directive.mjs +22 -0
  166. package/esm2022/callout/callout-icon/callout-icon.directive.mjs +22 -0
  167. package/esm2022/callout/callout-subtitle/callout-subtitle.directive.mjs +22 -0
  168. package/esm2022/callout/callout-tagline/callout-tagline.directive.mjs +22 -0
  169. package/esm2022/callout/callout-title/callout-title.directive.mjs +22 -0
  170. package/esm2022/callout/callout.module.mjs +49 -0
  171. package/esm2022/callout/daffodil-design-callout.mjs +5 -0
  172. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +29 -0
  173. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +41 -0
  174. package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +32 -0
  175. package/esm2022/callout/examples/callout-theming/callout-theming.module.mjs +37 -0
  176. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +19 -0
  177. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.module.mjs +41 -0
  178. package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +19 -0
  179. package/esm2022/callout/examples/compact-callout/compact-callout.module.mjs +37 -0
  180. package/esm2022/callout/index.mjs +2 -0
  181. package/esm2022/callout/public_api.mjs +8 -0
  182. package/esm2022/card/card/card.component.mjs +112 -0
  183. package/esm2022/card/card-actions/card-actions.directive.mjs +22 -0
  184. package/esm2022/card/card-content/card-content.directive.mjs +22 -0
  185. package/esm2022/card/card-icon/card-icon.directive.mjs +22 -0
  186. package/esm2022/card/card-image/card-image.directive.mjs +22 -0
  187. package/esm2022/card/card-tagline/card-tagline.directive.mjs +22 -0
  188. package/esm2022/card/card-title/card-title.directive.mjs +22 -0
  189. package/esm2022/card/card.module.mjs +54 -0
  190. package/esm2022/card/daffodil-design-card.mjs +5 -0
  191. package/esm2022/card/examples/basic-card/basic-card.component.mjs +19 -0
  192. package/esm2022/card/examples/basic-card/basic-card.module.mjs +40 -0
  193. package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +28 -0
  194. package/esm2022/card/examples/card-orientation/card-orientation.module.mjs +44 -0
  195. package/esm2022/card/examples/card-theming/card-theming.component.mjs +28 -0
  196. package/esm2022/card/examples/card-theming/card-theming.module.mjs +36 -0
  197. package/esm2022/card/examples/linkable-card/linkable-card.component.mjs +31 -0
  198. package/esm2022/card/examples/linkable-card/linkable-card.module.mjs +44 -0
  199. package/esm2022/card/examples/raised-card/raised-card.component.mjs +29 -0
  200. package/esm2022/card/examples/raised-card/raised-card.module.mjs +40 -0
  201. package/esm2022/card/examples/stroked-card/stroked-card.component.mjs +29 -0
  202. package/esm2022/card/examples/stroked-card/stroked-card.module.mjs +44 -0
  203. package/esm2022/card/index.mjs +2 -0
  204. package/esm2022/card/public_api.mjs +9 -0
  205. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +27 -0
  206. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +33 -0
  207. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +29 -0
  208. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.module.mjs +33 -0
  209. package/esm2022/container/container/container.component.mjs +37 -0
  210. package/esm2022/container/container.module.mjs +24 -0
  211. package/esm2022/container/daffodil-design-container.mjs +5 -0
  212. package/esm2022/container/examples/container-sizes/container-sizes.component.mjs +25 -0
  213. package/esm2022/container/examples/container-sizes/container-sizes.module.mjs +32 -0
  214. package/esm2022/container/index.mjs +2 -0
  215. package/esm2022/container/public_api.mjs +3 -0
  216. package/esm2022/core/colorable/colorable-mixin.mjs +42 -0
  217. package/esm2022/core/compactable/compactable-mixin.mjs +26 -0
  218. package/esm2022/core/focus/stack.service.mjs +71 -0
  219. package/esm2022/core/prefix-suffix/prefix-suffix.module.mjs +26 -0
  220. package/esm2022/core/prefix-suffix/prefix.directive.mjs +24 -0
  221. package/esm2022/core/prefix-suffix/prefixable/prefixable.mjs +23 -0
  222. package/esm2022/core/prefix-suffix/suffix.directive.mjs +24 -0
  223. package/esm2022/core/prefix-suffix/suffixable/suffixable.mjs +23 -0
  224. package/esm2022/core/public_api.mjs +18 -0
  225. package/esm2022/core/sizable/public_api.mjs +3 -0
  226. package/esm2022/core/sizable/sizable-mixin.mjs +31 -0
  227. package/esm2022/core/sizable/sizable.mjs +13 -0
  228. package/esm2022/core/skeletonable/skeletonable-mixin.mjs +26 -0
  229. package/esm2022/core/statusable/statusable-mixin.mjs +32 -0
  230. package/esm2022/core/text-alignable/public_api.mjs +3 -0
  231. package/esm2022/core/text-alignable/text-alignable-mixin.mjs +35 -0
  232. package/esm2022/core/text-alignable/text-alignable.mjs +7 -0
  233. package/esm2022/core/theming/services/class-setter/theme-class-setter.service.mjs +52 -0
  234. package/esm2022/core/theming/services/os-theme/ostheme.service.mjs +49 -0
  235. package/esm2022/core/theming/services/storage/theme-storage.service.mjs +67 -0
  236. package/esm2022/core/theming/services/theming.service.mjs +61 -0
  237. package/esm2022/hero/daffodil-design-hero.mjs +5 -0
  238. package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +18 -0
  239. package/esm2022/hero/examples/compact-hero/compact-hero.module.mjs +40 -0
  240. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +29 -0
  241. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +41 -0
  242. package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +22 -0
  243. package/esm2022/hero/examples/hero-theming/hero-theming.module.mjs +40 -0
  244. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +19 -0
  245. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.module.mjs +41 -0
  246. package/esm2022/hero/hero/hero.component.mjs +68 -0
  247. package/esm2022/hero/hero-body/hero-body.directive.mjs +22 -0
  248. package/esm2022/hero/hero-icon/hero-icon.directive.mjs +22 -0
  249. package/esm2022/hero/hero-subtitle/hero-subtitle.directive.mjs +22 -0
  250. package/esm2022/hero/hero-tagline/hero-tagline.directive.mjs +22 -0
  251. package/esm2022/hero/hero-title/hero-title.directive.mjs +22 -0
  252. package/esm2022/hero/hero.module.mjs +49 -0
  253. package/esm2022/hero/index.mjs +2 -0
  254. package/esm2022/hero/public_api.mjs +8 -0
  255. package/esm2022/image/daffodil-design-image.mjs +5 -0
  256. package/esm2022/image/examples/basic-image/basic-image.component.mjs +12 -0
  257. package/esm2022/image/examples/basic-image/basic-image.module.mjs +24 -0
  258. package/esm2022/image/examples/load-image/load-image.component.mjs +19 -0
  259. package/esm2022/image/examples/load-image/load-image.module.mjs +28 -0
  260. package/esm2022/image/examples/skeleton-image/skeleton-image.component.mjs +12 -0
  261. package/esm2022/image/examples/skeleton-image/skeleton-image.module.mjs +24 -0
  262. package/esm2022/image/image/image.component.mjs +125 -0
  263. package/esm2022/image/image.module.mjs +24 -0
  264. package/esm2022/image/index.mjs +2 -0
  265. package/esm2022/image/public_api.mjs +3 -0
  266. package/esm2022/input/examples/basic-input/basic-input.component.mjs +12 -0
  267. package/esm2022/input/examples/basic-input/basic-input.module.mjs +24 -0
  268. package/esm2022/input/examples/input-disabled/input-disabled.component.mjs +12 -0
  269. package/esm2022/input/examples/input-disabled/input-disabled.module.mjs +24 -0
  270. package/esm2022/input/examples/input-error/input-error.component.mjs +20 -0
  271. package/esm2022/input/examples/input-error/input-error.module.mjs +28 -0
  272. package/esm2022/input/examples/input-with-form-field/input-with-form-field.component.mjs +12 -0
  273. package/esm2022/input/examples/input-with-form-field/input-with-form-field.module.mjs +24 -0
  274. package/esm2022/link-set/daffodil-design-link-set.mjs +5 -0
  275. package/esm2022/link-set/index.mjs +2 -0
  276. package/esm2022/link-set/link-set/link-set.component.mjs +37 -0
  277. package/esm2022/link-set/link-set-heading/link-set-heading.directive.mjs +25 -0
  278. package/esm2022/link-set/link-set-item/link-set-item.component.mjs +26 -0
  279. package/esm2022/link-set/link-set-subheading/link-set-subheading.directive.mjs +25 -0
  280. package/esm2022/link-set/link-set.module.mjs +39 -0
  281. package/esm2022/link-set/public_api.mjs +6 -0
  282. package/esm2022/list/daffodil-design-list.mjs +5 -0
  283. package/esm2022/list/examples/basic-list/basic-list.component.mjs +12 -0
  284. package/esm2022/list/examples/basic-list/basic-list.module.mjs +28 -0
  285. package/esm2022/list/examples/icon-list/icon-list.component.mjs +18 -0
  286. package/esm2022/list/examples/icon-list/icon-list.module.mjs +32 -0
  287. package/esm2022/list/examples/list-examples.module.mjs +33 -0
  288. package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +12 -0
  289. package/esm2022/list/examples/multiline-list/multiline-list.module.mjs +32 -0
  290. package/esm2022/list/examples/nav-list/nav-list.component.mjs +18 -0
  291. package/esm2022/list/examples/nav-list/nav-list.module.mjs +32 -0
  292. package/esm2022/list/index.mjs +2 -0
  293. package/esm2022/list/list/list.component.mjs +110 -0
  294. package/esm2022/list/list-item/list-item.component.mjs +49 -0
  295. package/esm2022/list/list-subheader/list-subheader.directive.mjs +25 -0
  296. package/esm2022/list/list.module.mjs +40 -0
  297. package/esm2022/list/public_api.mjs +5 -0
  298. package/esm2022/loading-icon/daffodil-design-loading-icon.mjs +5 -0
  299. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +20 -0
  300. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +32 -0
  301. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +12 -0
  302. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +24 -0
  303. package/esm2022/loading-icon/index.mjs +2 -0
  304. package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +52 -0
  305. package/esm2022/loading-icon/loading-icon.module.mjs +24 -0
  306. package/esm2022/loading-icon/public_api.mjs +3 -0
  307. package/esm2022/media-gallery/daffodil-design-media-gallery.mjs +5 -0
  308. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +13 -0
  309. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +29 -0
  310. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +13 -0
  311. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +29 -0
  312. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +13 -0
  313. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.mjs +29 -0
  314. package/esm2022/media-gallery/helpers/media-gallery-registration.interface.mjs +2 -0
  315. package/esm2022/media-gallery/helpers/media-gallery-token.mjs +3 -0
  316. package/esm2022/media-gallery/index.mjs +2 -0
  317. package/esm2022/media-gallery/media-gallery/media-gallery.component.mjs +59 -0
  318. package/esm2022/media-gallery/media-gallery.module.mjs +32 -0
  319. package/esm2022/media-gallery/media-renderer/media-renderer.component.mjs +80 -0
  320. package/esm2022/media-gallery/public_api.mjs +5 -0
  321. package/esm2022/media-gallery/registry/media-gallery.registry.mjs +97 -0
  322. package/esm2022/media-gallery/thumbnail/thumbnail-compat.token.mjs +6 -0
  323. package/esm2022/media-gallery/thumbnail/thumbnail-registration.interface.mjs +2 -0
  324. package/esm2022/media-gallery/thumbnail/thumbnail.directive.mjs +88 -0
  325. package/esm2022/menu/daffodil-design-menu.mjs +5 -0
  326. package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +17 -0
  327. package/esm2022/menu/examples/basic-menu/basic-menu.module.mjs +35 -0
  328. package/esm2022/menu/examples/basic-menu/menu-content/menu-content.component.mjs +19 -0
  329. package/esm2022/menu/helpers/create-overlay.mjs +29 -0
  330. package/esm2022/menu/helpers/public_api.mjs +2 -0
  331. package/esm2022/menu/index.mjs +2 -0
  332. package/esm2022/menu/menu/menu.component.mjs +63 -0
  333. package/esm2022/menu/menu-activator/menu-activator.component.mjs +48 -0
  334. package/esm2022/menu/menu-item/menu-item.component.mjs +35 -0
  335. package/esm2022/menu/menu.module.mjs +44 -0
  336. package/esm2022/menu/public_api.mjs +7 -0
  337. package/esm2022/menu/services/menu.service.mjs +52 -0
  338. package/esm2022/modal/animations/modal-animation-state.mjs +2 -0
  339. package/esm2022/modal/animations/modal-animation.mjs +9 -0
  340. package/esm2022/modal/daffodil-design-modal.mjs +5 -0
  341. package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +21 -0
  342. package/esm2022/modal/examples/basic-modal/basic-modal.module.mjs +31 -0
  343. package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +13 -0
  344. package/esm2022/modal/index.mjs +2 -0
  345. package/esm2022/modal/modal/modal-config.mjs +2 -0
  346. package/esm2022/modal/modal/modal.component.mjs +93 -0
  347. package/esm2022/modal/modal/modal.mjs +2 -0
  348. package/esm2022/modal/modal-actions/modal-actions.component.mjs +11 -0
  349. package/esm2022/modal/modal-content/modal-content.component.mjs +11 -0
  350. package/esm2022/modal/modal-header/modal-header.component.mjs +20 -0
  351. package/esm2022/modal/modal-title/modal-title.directive.mjs +22 -0
  352. package/esm2022/modal/modal.module.mjs +50 -0
  353. package/esm2022/modal/public_api.mjs +8 -0
  354. package/esm2022/modal/service/modal.service.mjs +70 -0
  355. package/esm2022/molecules/backdrop/backdrop/backdrop.component.mjs +87 -0
  356. package/esm2022/molecules/backdrop/backdrop.module.mjs +24 -0
  357. package/esm2022/molecules/button-set/button-set.component.mjs +23 -0
  358. package/esm2022/molecules/button-set/button-set.module.mjs +20 -0
  359. package/esm2022/molecules/feature/feature/feature.component.mjs +49 -0
  360. package/esm2022/molecules/feature/feature-icon/feature-icon.directive.mjs +22 -0
  361. package/esm2022/molecules/feature/feature-subheader/feature-subheader.directive.mjs +22 -0
  362. package/esm2022/molecules/feature/feature-subtitle/feature-subtitle.directive.mjs +22 -0
  363. package/esm2022/molecules/feature/feature-title/feature-title.directive.mjs +22 -0
  364. package/esm2022/molecules/feature/feature.module.mjs +44 -0
  365. package/esm2022/molecules/image-gallery/gallery-image/gallery-image.component.mjs +25 -0
  366. package/esm2022/molecules/image-gallery/image-gallery/image-gallery.component.mjs +15 -0
  367. package/esm2022/molecules/image-gallery/image-gallery.module.mjs +33 -0
  368. package/esm2022/molecules/image-list/image-list.component.mjs +20 -0
  369. package/esm2022/molecules/image-list/image-list.module.mjs +24 -0
  370. package/esm2022/molecules/qty-dropdown/qty-dropdown.component.mjs +113 -0
  371. package/esm2022/molecules/qty-dropdown/qty-dropdown.module.mjs +40 -0
  372. package/esm2022/navbar/daffodil-design-navbar.mjs +5 -0
  373. package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +13 -0
  374. package/esm2022/navbar/examples/basic-navbar/basic-navbar.module.mjs +33 -0
  375. package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +14 -0
  376. package/esm2022/navbar/examples/contained-navbar/contained-navbar.module.mjs +33 -0
  377. package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +29 -0
  378. package/esm2022/navbar/examples/navbar-theming/navbar-theming.module.mjs +33 -0
  379. package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +13 -0
  380. package/esm2022/navbar/examples/raised-navbar/raised-navbar.module.mjs +29 -0
  381. package/esm2022/navbar/index.mjs +2 -0
  382. package/esm2022/navbar/navbar/navbar.component.mjs +50 -0
  383. package/esm2022/navbar/navbar.module.mjs +20 -0
  384. package/esm2022/navbar/public_api.mjs +3 -0
  385. package/esm2022/notification/examples/default-notification/default-notification.component.mjs +19 -0
  386. package/esm2022/notification/examples/default-notification/default-notification.module.mjs +36 -0
  387. package/esm2022/notification/examples/dismissable-notification/dismissable-notification.component.mjs +18 -0
  388. package/esm2022/notification/examples/dismissable-notification/dismissable-notification.module.mjs +36 -0
  389. package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +24 -0
  390. package/esm2022/notification/examples/notification-orientations/notification-orientations.module.mjs +40 -0
  391. package/esm2022/notification/examples/notification-status/notification-status.component.mjs +25 -0
  392. package/esm2022/notification/examples/notification-status/notification-status.module.mjs +40 -0
  393. package/esm2022/notification/notification/notification.component.mjs +95 -0
  394. package/esm2022/notification/notification-actions/notification-actions.directive.mjs +19 -0
  395. package/esm2022/notification/notification-message/notification-message.directive.mjs +19 -0
  396. package/esm2022/notification/notification-subtitle/notification-subtitle.directive.mjs +19 -0
  397. package/esm2022/notification/notification-title/notification-title.directive.mjs +19 -0
  398. package/esm2022/notification/notification.module.mjs +54 -0
  399. package/esm2022/paginator/daffodil-design-paginator.mjs +5 -0
  400. package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +19 -0
  401. package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +26 -0
  402. package/esm2022/paginator/examples/paginator-examples.module.mjs +27 -0
  403. package/esm2022/paginator/paginator/paginator.component.mjs +182 -0
  404. package/esm2022/paginator/paginator.module.mjs +32 -0
  405. package/esm2022/paginator/public_api.mjs +3 -0
  406. package/esm2022/paginator/utils/paginator-errors.mjs +3 -0
  407. package/esm2022/public_api.mjs +26 -0
  408. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +17 -0
  409. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.mjs +35 -0
  410. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +17 -0
  411. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.mjs +35 -0
  412. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +17 -0
  413. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.mjs +35 -0
  414. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +17 -0
  415. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.mjs +35 -0
  416. package/esm2022/radio/examples/basic-radio/basic-radio.component.mjs +19 -0
  417. package/esm2022/radio/examples/basic-radio/basic-radio.module.mjs +29 -0
  418. package/esm2022/sidebar/animation/sidebar-animation-state.mjs +24 -0
  419. package/esm2022/sidebar/animation/sidebar-animation-width.mjs +2 -0
  420. package/esm2022/sidebar/animation/sidebar-animation.mjs +51 -0
  421. package/esm2022/sidebar/animation/sidebar-viewport-animation-state.mjs +4 -0
  422. package/esm2022/sidebar/daffodil-design-sidebar.mjs +5 -0
  423. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +12 -0
  424. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.module.mjs +32 -0
  425. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +29 -0
  426. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.mjs +44 -0
  427. package/esm2022/sidebar/examples/public_api.mjs +15 -0
  428. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.mjs +13 -0
  429. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.mjs +32 -0
  430. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.mjs +12 -0
  431. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.mjs +28 -0
  432. package/esm2022/sidebar/helper/sidebar-mode.mjs +2 -0
  433. package/esm2022/sidebar/helper/sidebar-side.mjs +2 -0
  434. package/esm2022/sidebar/index.mjs +2 -0
  435. package/esm2022/sidebar/public_api.mjs +8 -0
  436. package/esm2022/sidebar/sidebar/is-opening.mjs +13 -0
  437. package/esm2022/sidebar/sidebar/sidebar.component.mjs +158 -0
  438. package/esm2022/sidebar/sidebar-footer/sidebar-footer.component.mjs +17 -0
  439. package/esm2022/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.mjs +22 -0
  440. package/esm2022/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.mjs +22 -0
  441. package/esm2022/sidebar/sidebar-header/sidebar-header.component.mjs +17 -0
  442. package/esm2022/sidebar/sidebar-viewport/helper/has-parent-viewport.mjs +16 -0
  443. package/esm2022/sidebar/sidebar-viewport/nav-placement.mjs +10 -0
  444. package/esm2022/sidebar/sidebar-viewport/scroll-token/scroll.token.mjs +39 -0
  445. package/esm2022/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +206 -0
  446. package/esm2022/sidebar/sidebar-viewport/utils/backdrop-interactable.mjs +5 -0
  447. package/esm2022/sidebar/sidebar-viewport/utils/content-pad.mjs +17 -0
  448. package/esm2022/sidebar/sidebar-viewport/utils/content-shift.mjs +21 -0
  449. package/esm2022/sidebar/sidebar.module.mjs +57 -0
  450. package/esm2022/tree/examples/basic-tree/basic-tree.component.mjs +39 -0
  451. package/esm2022/tree/examples/basic-tree/basic-tree.module.mjs +32 -0
  452. package/esm2022/tree/tree/tree-notifier.service.mjs +45 -0
  453. package/esm2022/tree/tree/tree.component.mjs +106 -0
  454. package/esm2022/tree/tree-item/tree-item.directive.mjs +154 -0
  455. package/esm2022/tree/tree.module.mjs +29 -0
  456. package/examples/examples.d.ts +1 -1
  457. package/fesm2022/daffodil-design-accordion-examples.mjs +45 -0
  458. package/fesm2022/daffodil-design-accordion-examples.mjs.map +1 -0
  459. package/fesm2022/daffodil-design-accordion.mjs +191 -0
  460. package/fesm2022/daffodil-design-accordion.mjs.map +1 -0
  461. package/fesm2022/daffodil-design-article-examples.mjs +145 -0
  462. package/fesm2022/daffodil-design-article-examples.mjs.map +1 -0
  463. package/fesm2022/daffodil-design-article.mjs +130 -0
  464. package/fesm2022/daffodil-design-article.mjs.map +1 -0
  465. package/fesm2022/daffodil-design-button-examples.mjs +313 -0
  466. package/fesm2022/daffodil-design-button-examples.mjs.map +1 -0
  467. package/fesm2022/daffodil-design-button.mjs +222 -0
  468. package/fesm2022/daffodil-design-button.mjs.map +1 -0
  469. package/fesm2022/daffodil-design-callout-examples.mjs +217 -0
  470. package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -0
  471. package/fesm2022/daffodil-design-callout.mjs +215 -0
  472. package/fesm2022/daffodil-design-callout.mjs.map +1 -0
  473. package/fesm2022/daffodil-design-card-examples.mjs +350 -0
  474. package/fesm2022/daffodil-design-card-examples.mjs.map +1 -0
  475. package/fesm2022/daffodil-design-card.mjs +284 -0
  476. package/fesm2022/daffodil-design-card.mjs.map +1 -0
  477. package/fesm2022/daffodil-design-checkbox-examples.mjs +121 -0
  478. package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -0
  479. package/fesm2022/daffodil-design-container-examples.mjs +64 -0
  480. package/fesm2022/daffodil-design-container-examples.mjs.map +1 -0
  481. package/fesm2022/daffodil-design-container.mjs +65 -0
  482. package/fesm2022/daffodil-design-container.mjs.map +1 -0
  483. package/fesm2022/daffodil-design-hero-examples.mjs +214 -0
  484. package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -0
  485. package/fesm2022/daffodil-design-hero.mjs +216 -0
  486. package/fesm2022/daffodil-design-hero.mjs.map +1 -0
  487. package/fesm2022/daffodil-design-image-examples.mjs +115 -0
  488. package/fesm2022/daffodil-design-image-examples.mjs.map +1 -0
  489. package/fesm2022/daffodil-design-image.mjs +152 -0
  490. package/fesm2022/daffodil-design-image.mjs.map +1 -0
  491. package/fesm2022/daffodil-design-input-examples.mjs +145 -0
  492. package/fesm2022/daffodil-design-input-examples.mjs.map +1 -0
  493. package/fesm2022/daffodil-design-link-set.mjs +147 -0
  494. package/fesm2022/daffodil-design-link-set.mjs.map +1 -0
  495. package/fesm2022/daffodil-design-list-examples.mjs +192 -0
  496. package/fesm2022/daffodil-design-list-examples.mjs.map +1 -0
  497. package/fesm2022/daffodil-design-list.mjs +220 -0
  498. package/fesm2022/daffodil-design-list.mjs.map +1 -0
  499. package/fesm2022/daffodil-design-loading-icon-examples.mjs +89 -0
  500. package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -0
  501. package/fesm2022/daffodil-design-loading-icon.mjs +80 -0
  502. package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -0
  503. package/fesm2022/daffodil-design-media-gallery-examples.mjs +118 -0
  504. package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -0
  505. package/fesm2022/daffodil-design-media-gallery.mjs +347 -0
  506. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -0
  507. package/fesm2022/daffodil-design-menu-examples.mjs +74 -0
  508. package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -0
  509. package/fesm2022/daffodil-design-menu.mjs +256 -0
  510. package/fesm2022/daffodil-design-menu.mjs.map +1 -0
  511. package/fesm2022/daffodil-design-modal-examples.mjs +66 -0
  512. package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -0
  513. package/fesm2022/daffodil-design-modal.mjs +270 -0
  514. package/fesm2022/daffodil-design-modal.mjs.map +1 -0
  515. package/fesm2022/daffodil-design-navbar-examples.mjs +176 -0
  516. package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -0
  517. package/fesm2022/daffodil-design-navbar.mjs +74 -0
  518. package/fesm2022/daffodil-design-navbar.mjs.map +1 -0
  519. package/fesm2022/daffodil-design-notification-examples.mjs +204 -0
  520. package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -0
  521. package/fesm2022/daffodil-design-notification.mjs +216 -0
  522. package/fesm2022/daffodil-design-notification.mjs.map +1 -0
  523. package/fesm2022/daffodil-design-paginator-examples.mjs +75 -0
  524. package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -0
  525. package/fesm2022/daffodil-design-paginator.mjs +220 -0
  526. package/fesm2022/daffodil-design-paginator.mjs.map +1 -0
  527. package/fesm2022/daffodil-design-quantity-field-examples.mjs +185 -0
  528. package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -0
  529. package/fesm2022/daffodil-design-radio-examples.mjs +58 -0
  530. package/fesm2022/daffodil-design-radio-examples.mjs.map +1 -0
  531. package/fesm2022/daffodil-design-sidebar-examples.mjs +187 -0
  532. package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -0
  533. package/fesm2022/daffodil-design-sidebar.mjs +670 -0
  534. package/fesm2022/daffodil-design-sidebar.mjs.map +1 -0
  535. package/fesm2022/daffodil-design-tree-examples.mjs +79 -0
  536. package/fesm2022/daffodil-design-tree-examples.mjs.map +1 -0
  537. package/fesm2022/daffodil-design-tree.mjs +446 -0
  538. package/fesm2022/daffodil-design-tree.mjs.map +1 -0
  539. package/fesm2022/daffodil-design.mjs +2675 -0
  540. package/fesm2022/daffodil-design.mjs.map +1 -0
  541. package/hero/README.md +54 -0
  542. package/hero/examples/compact-hero/compact-hero.module.d.ts +4 -3
  543. package/hero/examples/hero-text-alignment/hero-text-alignment.module.d.ts +5 -3
  544. package/hero/examples/hero-theming/hero-theming.module.d.ts +4 -3
  545. package/hero/examples/hero-with-grid/hero-with-grid.module.d.ts +5 -3
  546. package/hero/hero/hero.component.d.ts +79 -0
  547. package/hero/index.d.ts +1 -0
  548. package/hero/src/hero-theme.scss +59 -0
  549. package/image/README.md +31 -0
  550. package/image/examples/basic-image/basic-image.module.d.ts +1 -1
  551. package/image/examples/load-image/load-image.module.d.ts +1 -1
  552. package/image/examples/skeleton-image/skeleton-image.module.d.ts +1 -1
  553. package/image/image/image.component.d.ts +52 -0
  554. package/image/image.module.d.ts +8 -0
  555. package/image/index.d.ts +1 -0
  556. package/image/public_api.d.ts +2 -0
  557. package/link-set/README.md +44 -0
  558. package/link-set/index.d.ts +1 -0
  559. package/link-set/link-set/link-set.component.d.ts +32 -0
  560. package/list/README.md +69 -0
  561. package/list/examples/basic-list/basic-list.module.d.ts +1 -1
  562. package/list/examples/icon-list/icon-list.module.d.ts +1 -1
  563. package/list/examples/multiline-list/multiline-list.module.d.ts +1 -1
  564. package/list/examples/nav-list/nav-list.module.d.ts +1 -1
  565. package/list/index.d.ts +1 -0
  566. package/list/list/list.component.d.ts +71 -0
  567. package/list/list-item/list-item.component.d.ts +30 -0
  568. package/list/list.module.d.ts +11 -0
  569. package/list/src/list-theme.scss +71 -0
  570. package/loading-icon/README.md +7 -0
  571. package/loading-icon/examples/loading-icon-color/loading-icon-color.module.d.ts +4 -3
  572. package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.d.ts +1 -1
  573. package/loading-icon/index.d.ts +1 -0
  574. package/loading-icon/loading-icon/loading-icon.component.d.ts +40 -0
  575. package/loading-icon/loading-icon.module.d.ts +8 -0
  576. package/loading-icon/public_api.d.ts +2 -0
  577. package/loading-icon/src/loading-icon-theme.scss +61 -0
  578. package/media-gallery/README.md +19 -0
  579. package/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.d.ts +3 -2
  580. package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.d.ts +3 -2
  581. package/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.d.ts +3 -2
  582. package/media-gallery/index.d.ts +1 -0
  583. package/media-gallery/media-gallery/media-gallery.component.d.ts +41 -0
  584. package/media-gallery/media-gallery.module.d.ts +10 -0
  585. package/media-gallery/media-renderer/media-renderer.component.d.ts +29 -0
  586. package/media-gallery/public_api.d.ts +4 -0
  587. package/media-gallery/registry/media-gallery.registry.d.ts +34 -0
  588. package/media-gallery/src/media-gallery-theme.scss +27 -0
  589. package/media-gallery/thumbnail/thumbnail-registration.interface.d.ts +9 -0
  590. package/media-gallery/thumbnail/thumbnail.directive.d.ts +44 -0
  591. package/menu/README.md +7 -0
  592. package/menu/examples/basic-menu/basic-menu.module.d.ts +4 -3
  593. package/menu/index.d.ts +1 -0
  594. package/menu/menu/menu.component.d.ts +19 -0
  595. package/menu/menu-activator/menu-activator.component.d.ts +18 -0
  596. package/menu/menu-item/menu-item.component.d.ts +20 -0
  597. package/menu/public_api.d.ts +6 -0
  598. package/menu/services/menu.service.d.ts +24 -0
  599. package/menu/src/menu-theme.scss +25 -0
  600. package/modal/README.md +47 -0
  601. package/modal/animations/modal-animation-state.d.ts +1 -0
  602. package/modal/examples/basic-modal/basic-modal.component.d.ts +1 -1
  603. package/modal/examples/basic-modal/basic-modal.module.d.ts +3 -2
  604. package/modal/index.d.ts +1 -0
  605. package/modal/modal/modal.component.d.ts +52 -0
  606. package/modal/modal/modal.d.ts +13 -0
  607. package/modal/public_api.d.ts +8 -0
  608. package/modal/service/modal.service.d.ts +19 -0
  609. package/modal/src/modal-theme.scss +9 -0
  610. package/molecules/backdrop/animation/backdrop-animation-state.d.ts +1 -1
  611. package/molecules/backdrop/backdrop/backdrop.component.d.ts +1 -1
  612. package/molecules/feature/feature/feature.component.d.ts +2 -2
  613. package/molecules/image-gallery/gallery-image/gallery-image.component.d.ts +1 -1
  614. package/molecules/qty-dropdown/qty-dropdown.component.d.ts +1 -1
  615. package/navbar/README.md +41 -0
  616. package/navbar/examples/basic-navbar/basic-navbar.module.d.ts +4 -2
  617. package/navbar/examples/contained-navbar/contained-navbar.module.d.ts +4 -2
  618. package/navbar/examples/navbar-theming/navbar-theming.module.d.ts +3 -2
  619. package/navbar/examples/raised-navbar/raised-navbar.module.d.ts +3 -2
  620. package/navbar/index.d.ts +1 -0
  621. package/navbar/navbar/navbar.component.d.ts +40 -0
  622. package/navbar/navbar.module.d.ts +7 -0
  623. package/navbar/public_api.d.ts +2 -0
  624. package/navbar/src/navbar-theme.scss +57 -0
  625. package/notification/examples/default-notification/default-notification.module.d.ts +1 -1
  626. package/notification/examples/dismissable-notification/dismissable-notification.module.d.ts +1 -1
  627. package/notification/examples/notification-orientations/notification-orientations.module.d.ts +1 -1
  628. package/notification/examples/notification-status/notification-status.module.d.ts +1 -1
  629. package/notification/notification/notification.component.d.ts +2 -2
  630. package/notification/src/notification-theme.scss +4 -4
  631. package/package.json +1 -1
  632. package/paginator/README.md +11 -0
  633. package/paginator/examples/paginator-examples.module.d.ts +1 -1
  634. package/paginator/index.d.ts +5 -0
  635. package/paginator/paginator/paginator.component.d.ts +145 -0
  636. package/paginator/paginator.module.d.ts +10 -0
  637. package/paginator/public_api.d.ts +2 -0
  638. package/paginator/src/paginator-theme.scss +90 -0
  639. package/public_api.d.ts +0 -17
  640. package/radio/examples/basic-radio/basic-radio.component.d.ts +1 -3
  641. package/scss/state/skeleton/_mixins.scss +2 -2
  642. package/scss/theme.scss +15 -17
  643. package/scss/theming/_color-palettes.scss +1 -1
  644. package/scss/theming/_configure-theme.scss +12 -12
  645. package/scss/theming/_theme-css-variables.scss +2 -2
  646. package/scss/theming/contrast/text-contrast/text-contrast.scss +1 -1
  647. package/sidebar/README.md +135 -0
  648. package/sidebar/animation/sidebar-animation-state.d.ts +3 -0
  649. package/sidebar/animation/sidebar-animation.d.ts +15 -0
  650. package/sidebar/animation/sidebar-viewport-animation-state.d.ts +8 -0
  651. package/sidebar/examples/basic-sidebar/basic-sidebar.module.d.ts +4 -2
  652. package/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.d.ts +12 -0
  653. package/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.d.ts +13 -0
  654. package/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.d.ts +5 -0
  655. package/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.d.ts +10 -0
  656. package/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.d.ts +5 -0
  657. package/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.d.ts +9 -0
  658. package/sidebar/helper/sidebar-mode.d.ts +27 -0
  659. package/sidebar/helper/sidebar-side.d.ts +12 -0
  660. package/sidebar/index.d.ts +1 -0
  661. package/sidebar/public_api.d.ts +9 -0
  662. package/sidebar/sidebar/is-opening.d.ts +5 -0
  663. package/sidebar/sidebar/sidebar.component.d.ts +73 -0
  664. package/sidebar/sidebar-footer/sidebar-footer.component.d.ts +6 -0
  665. package/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.d.ts +9 -0
  666. package/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.d.ts +9 -0
  667. package/sidebar/sidebar-header/sidebar-header.component.d.ts +6 -0
  668. package/sidebar/sidebar-viewport/helper/has-parent-viewport.d.ts +6 -0
  669. package/sidebar/sidebar-viewport/nav-placement.d.ts +13 -0
  670. package/sidebar/sidebar-viewport/scroll-token/scroll.token.d.ts +23 -0
  671. package/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +100 -0
  672. package/sidebar/sidebar-viewport/utils/backdrop-interactable.d.ts +6 -0
  673. package/sidebar/sidebar-viewport/utils/content-pad.d.ts +7 -0
  674. package/sidebar/sidebar-viewport/utils/content-shift.d.ts +8 -0
  675. package/sidebar/sidebar.module.d.ts +15 -0
  676. package/sidebar/src/helper/_variables.scss +8 -0
  677. package/sidebar/src/sidebar-theme.scss +22 -0
  678. package/src/atoms/form/form-field/form-field/form-field-theme.scss +3 -3
  679. package/src/atoms/form/native-select/native-select-theme.scss +2 -2
  680. package/tree/interfaces/recursive-key.d.ts +1 -1
  681. package/tree/src/tree-theme.scss +4 -4
  682. package/tree/tree/tree.component.d.ts +1 -1
  683. package/tree/tree-item/tree-item.directive.d.ts +1 -1
  684. package/accordion/examples/basic-accordion/basic-accordion.module.d.ts +0 -8
  685. package/accordion/examples/nav-accordion/nav-accordion.component.d.ts +0 -5
  686. package/accordion/examples/nav-accordion/nav-accordion.module.d.ts +0 -8
  687. package/atoms/button/button.component.d.ts +0 -105
  688. package/atoms/button/button.module.d.ts +0 -10
  689. package/atoms/button/public_api.d.ts +0 -2
  690. package/atoms/container/container.component.d.ts +0 -34
  691. package/atoms/container/container.module.d.ts +0 -8
  692. package/atoms/container/public_api.d.ts +0 -2
  693. package/atoms/image/image.component.d.ts +0 -54
  694. package/atoms/image/image.module.d.ts +0 -8
  695. package/atoms/image/public_api.d.ts +0 -2
  696. package/atoms/loading-icon/loading-icon.component.d.ts +0 -42
  697. package/atoms/loading-icon/loading-icon.module.d.ts +0 -8
  698. package/atoms/loading-icon/public_api.d.ts +0 -2
  699. package/core/sizeable/sizeable-mixin.d.ts +0 -15
  700. package/core/sizeable/sizeable.d.ts +0 -16
  701. package/esm2020/accordion/examples/basic-accordion/basic-accordion.component.mjs +0 -12
  702. package/esm2020/accordion/examples/basic-accordion/basic-accordion.module.mjs +0 -24
  703. package/esm2020/accordion/examples/nav-accordion/nav-accordion.component.mjs +0 -12
  704. package/esm2020/accordion/examples/nav-accordion/nav-accordion.module.mjs +0 -24
  705. package/esm2020/accordion/examples/public_api.mjs +0 -10
  706. package/esm2020/article/examples/article-blockquote/article-blockquote.component.mjs +0 -12
  707. package/esm2020/article/examples/article-code-block/article-code-block.component.mjs +0 -12
  708. package/esm2020/article/examples/article-code-inline/article-code-inline.component.mjs +0 -12
  709. package/esm2020/article/examples/article-examples.module.mjs +0 -36
  710. package/esm2020/article/examples/article-headings/article-headings.component.mjs +0 -12
  711. package/esm2020/article/examples/article-hr/article-hr.component.mjs +0 -12
  712. package/esm2020/article/examples/article-lead/article-lead.component.mjs +0 -12
  713. package/esm2020/article/examples/article-link/article-link.component.mjs +0 -12
  714. package/esm2020/article/examples/article-meta/article-meta.component.mjs +0 -12
  715. package/esm2020/article/examples/article-ol/article-ol.component.mjs +0 -12
  716. package/esm2020/article/examples/article-table/article-table.component.mjs +0 -12
  717. package/esm2020/article/examples/article-ul/article-ul.component.mjs +0 -12
  718. package/esm2020/atoms/button/button.component.mjs +0 -189
  719. package/esm2020/atoms/button/button.module.mjs +0 -34
  720. package/esm2020/atoms/button/public_api.mjs +0 -3
  721. package/esm2020/atoms/container/container.component.mjs +0 -37
  722. package/esm2020/atoms/container/container.module.mjs +0 -24
  723. package/esm2020/atoms/container/public_api.mjs +0 -3
  724. package/esm2020/atoms/form/checkbox/checkbox.component.mjs +0 -142
  725. package/esm2020/atoms/form/checkbox/checkbox.module.mjs +0 -39
  726. package/esm2020/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +0 -94
  727. package/esm2020/atoms/form/checkbox-set/checkbox-set.component.mjs +0 -38
  728. package/esm2020/atoms/form/error-message/error-message.component.mjs +0 -17
  729. package/esm2020/atoms/form/error-message/error-message.module.mjs +0 -20
  730. package/esm2020/atoms/form/form-field/form-field/form-field.component.mjs +0 -102
  731. package/esm2020/atoms/form/form-field/form-field.module.mjs +0 -34
  732. package/esm2020/atoms/form/form-label/form-label.directive.mjs +0 -19
  733. package/esm2020/atoms/form/form-label/form-label.module.mjs +0 -20
  734. package/esm2020/atoms/form/input/input.component.mjs +0 -59
  735. package/esm2020/atoms/form/input/input.module.mjs +0 -24
  736. package/esm2020/atoms/form/native-select/native-select.component.mjs +0 -64
  737. package/esm2020/atoms/form/native-select/native-select.module.mjs +0 -24
  738. package/esm2020/atoms/form/quantity-field/quantity-field.component.mjs +0 -134
  739. package/esm2020/atoms/form/quantity-field/quantity-field.module.mjs +0 -46
  740. package/esm2020/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +0 -97
  741. package/esm2020/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +0 -84
  742. package/esm2020/atoms/form/radio/cva/radio-cva.directive.mjs +0 -89
  743. package/esm2020/atoms/form/radio/radio.component.mjs +0 -132
  744. package/esm2020/atoms/form/radio/radio.module.mjs +0 -34
  745. package/esm2020/atoms/form/radio/registry/radio-registry.mjs +0 -54
  746. package/esm2020/atoms/form/radio-set/radio-set.component.mjs +0 -22
  747. package/esm2020/atoms/image/image.component.mjs +0 -125
  748. package/esm2020/atoms/image/image.module.mjs +0 -24
  749. package/esm2020/atoms/image/public_api.mjs +0 -3
  750. package/esm2020/atoms/loading-icon/loading-icon.component.mjs +0 -52
  751. package/esm2020/atoms/loading-icon/loading-icon.module.mjs +0 -24
  752. package/esm2020/atoms/loading-icon/public_api.mjs +0 -3
  753. package/esm2020/atoms/progress-indicator/progress-indicator.component.mjs +0 -81
  754. package/esm2020/atoms/progress-indicator/progress-indicator.module.mjs +0 -20
  755. package/esm2020/button/examples/basic-button/basic-button.component.mjs +0 -18
  756. package/esm2020/button/examples/basic-button/basic-button.module.mjs +0 -28
  757. package/esm2020/button/examples/flat-button/flat-button.component.mjs +0 -18
  758. package/esm2020/button/examples/flat-button/flat-button.module.mjs +0 -28
  759. package/esm2020/button/examples/icon-button/icon-button.component.mjs +0 -17
  760. package/esm2020/button/examples/icon-button/icon-button.module.mjs +0 -28
  761. package/esm2020/button/examples/raised-button/raised-button.component.mjs +0 -18
  762. package/esm2020/button/examples/raised-button/raised-button.module.mjs +0 -28
  763. package/esm2020/button/examples/sizeable-button/sizeable-button.component.mjs +0 -17
  764. package/esm2020/button/examples/sizeable-button/sizeable-button.module.mjs +0 -28
  765. package/esm2020/button/examples/statusable-button/statusable-button.component.mjs +0 -19
  766. package/esm2020/button/examples/statusable-button/statusable-button.module.mjs +0 -28
  767. package/esm2020/button/examples/stroked-button/stroked-button.component.mjs +0 -18
  768. package/esm2020/button/examples/stroked-button/stroked-button.module.mjs +0 -28
  769. package/esm2020/button/examples/underline-button/underline-button.component.mjs +0 -18
  770. package/esm2020/button/examples/underline-button/underline-button.module.mjs +0 -28
  771. package/esm2020/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +0 -27
  772. package/esm2020/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +0 -39
  773. package/esm2020/callout/examples/callout-theming/callout-theming.component.mjs +0 -31
  774. package/esm2020/callout/examples/callout-theming/callout-theming.module.mjs +0 -36
  775. package/esm2020/callout/examples/callout-with-grid/callout-with-grid.component.mjs +0 -17
  776. package/esm2020/callout/examples/callout-with-grid/callout-with-grid.module.mjs +0 -39
  777. package/esm2020/callout/examples/compact-callout/compact-callout.component.mjs +0 -17
  778. package/esm2020/callout/examples/compact-callout/compact-callout.module.mjs +0 -35
  779. package/esm2020/card/examples/basic-card/basic-card.component.mjs +0 -17
  780. package/esm2020/card/examples/basic-card/basic-card.module.mjs +0 -38
  781. package/esm2020/card/examples/card-orientation/card-orientation.component.mjs +0 -26
  782. package/esm2020/card/examples/card-orientation/card-orientation.module.mjs +0 -42
  783. package/esm2020/card/examples/card-theming/card-theming.component.mjs +0 -28
  784. package/esm2020/card/examples/card-theming/card-theming.module.mjs +0 -35
  785. package/esm2020/card/examples/linkable-card/linkable-card.component.mjs +0 -30
  786. package/esm2020/card/examples/linkable-card/linkable-card.module.mjs +0 -42
  787. package/esm2020/card/examples/raised-card/raised-card.component.mjs +0 -28
  788. package/esm2020/card/examples/raised-card/raised-card.module.mjs +0 -38
  789. package/esm2020/card/examples/stroked-card/stroked-card.component.mjs +0 -28
  790. package/esm2020/card/examples/stroked-card/stroked-card.module.mjs +0 -42
  791. package/esm2020/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +0 -26
  792. package/esm2020/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +0 -32
  793. package/esm2020/checkbox/examples/checkbox-set/checkbox-set.component.mjs +0 -28
  794. package/esm2020/checkbox/examples/checkbox-set/checkbox-set.module.mjs +0 -32
  795. package/esm2020/container/examples/container-sizes/container-sizes.component.mjs +0 -25
  796. package/esm2020/container/examples/container-sizes/container-sizes.module.mjs +0 -32
  797. package/esm2020/core/colorable/colorable-mixin.mjs +0 -42
  798. package/esm2020/core/compactable/compactable-mixin.mjs +0 -26
  799. package/esm2020/core/focus/stack.service.mjs +0 -71
  800. package/esm2020/core/prefix-suffix/prefix-suffix.module.mjs +0 -26
  801. package/esm2020/core/prefix-suffix/prefix.directive.mjs +0 -24
  802. package/esm2020/core/prefix-suffix/prefixable/prefixable.mjs +0 -23
  803. package/esm2020/core/prefix-suffix/suffix.directive.mjs +0 -24
  804. package/esm2020/core/prefix-suffix/suffixable/suffixable.mjs +0 -23
  805. package/esm2020/core/public_api.mjs +0 -17
  806. package/esm2020/core/sizeable/sizeable-mixin.mjs +0 -31
  807. package/esm2020/core/sizeable/sizeable.mjs +0 -9
  808. package/esm2020/core/skeletonable/skeletonable-mixin.mjs +0 -26
  809. package/esm2020/core/statusable/statusable-mixin.mjs +0 -32
  810. package/esm2020/core/text-alignable/text-alignable-mixin.mjs +0 -35
  811. package/esm2020/core/text-alignable/text-alignable.mjs +0 -7
  812. package/esm2020/core/theming/services/class-setter/theme-class-setter.service.mjs +0 -52
  813. package/esm2020/core/theming/services/os-theme/ostheme.service.mjs +0 -49
  814. package/esm2020/core/theming/services/storage/theme-storage.service.mjs +0 -67
  815. package/esm2020/core/theming/services/theming.service.mjs +0 -61
  816. package/esm2020/hero/examples/compact-hero/compact-hero.component.mjs +0 -17
  817. package/esm2020/hero/examples/compact-hero/compact-hero.module.mjs +0 -39
  818. package/esm2020/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +0 -27
  819. package/esm2020/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +0 -39
  820. package/esm2020/hero/examples/hero-theming/hero-theming.component.mjs +0 -21
  821. package/esm2020/hero/examples/hero-theming/hero-theming.module.mjs +0 -39
  822. package/esm2020/hero/examples/hero-with-grid/hero-with-grid.component.mjs +0 -17
  823. package/esm2020/hero/examples/hero-with-grid/hero-with-grid.module.mjs +0 -39
  824. package/esm2020/image/examples/basic-image/basic-image.component.mjs +0 -12
  825. package/esm2020/image/examples/basic-image/basic-image.module.mjs +0 -24
  826. package/esm2020/image/examples/load-image/load-image.component.mjs +0 -19
  827. package/esm2020/image/examples/load-image/load-image.module.mjs +0 -28
  828. package/esm2020/image/examples/skeleton-image/skeleton-image.component.mjs +0 -12
  829. package/esm2020/image/examples/skeleton-image/skeleton-image.module.mjs +0 -24
  830. package/esm2020/input/examples/basic-input/basic-input.component.mjs +0 -12
  831. package/esm2020/input/examples/basic-input/basic-input.module.mjs +0 -24
  832. package/esm2020/input/examples/input-disabled/input-disabled.component.mjs +0 -12
  833. package/esm2020/input/examples/input-disabled/input-disabled.module.mjs +0 -24
  834. package/esm2020/input/examples/input-error/input-error.component.mjs +0 -20
  835. package/esm2020/input/examples/input-error/input-error.module.mjs +0 -28
  836. package/esm2020/input/examples/input-with-form-field/input-with-form-field.component.mjs +0 -12
  837. package/esm2020/input/examples/input-with-form-field/input-with-form-field.module.mjs +0 -24
  838. package/esm2020/list/examples/basic-list/basic-list.component.mjs +0 -12
  839. package/esm2020/list/examples/basic-list/basic-list.module.mjs +0 -28
  840. package/esm2020/list/examples/icon-list/icon-list.component.mjs +0 -17
  841. package/esm2020/list/examples/icon-list/icon-list.module.mjs +0 -32
  842. package/esm2020/list/examples/list-examples.module.mjs +0 -33
  843. package/esm2020/list/examples/multiline-list/multiline-list.component.mjs +0 -12
  844. package/esm2020/list/examples/multiline-list/multiline-list.module.mjs +0 -32
  845. package/esm2020/list/examples/nav-list/nav-list.component.mjs +0 -17
  846. package/esm2020/list/examples/nav-list/nav-list.module.mjs +0 -32
  847. package/esm2020/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +0 -19
  848. package/esm2020/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +0 -31
  849. package/esm2020/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +0 -12
  850. package/esm2020/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +0 -24
  851. package/esm2020/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +0 -12
  852. package/esm2020/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +0 -28
  853. package/esm2020/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +0 -12
  854. package/esm2020/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +0 -28
  855. package/esm2020/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +0 -12
  856. package/esm2020/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.mjs +0 -28
  857. package/esm2020/menu/examples/basic-menu/basic-menu.component.mjs +0 -16
  858. package/esm2020/menu/examples/basic-menu/basic-menu.module.mjs +0 -34
  859. package/esm2020/menu/examples/basic-menu/menu-content/menu-content.component.mjs +0 -19
  860. package/esm2020/modal/examples/basic-modal/basic-modal.component.mjs +0 -20
  861. package/esm2020/modal/examples/basic-modal/basic-modal.module.mjs +0 -30
  862. package/esm2020/modal/examples/basic-modal/modal-content.component.mjs +0 -12
  863. package/esm2020/molecules/accordion/accordion/accordion.component.mjs +0 -27
  864. package/esm2020/molecules/accordion/accordion-item/accordion-item.component.mjs +0 -54
  865. package/esm2020/molecules/accordion/accordion-item-content/accordion-item-content.directive.mjs +0 -22
  866. package/esm2020/molecules/accordion/accordion-item-title/accordion-item-title.directive.mjs +0 -22
  867. package/esm2020/molecules/accordion/accordion.module.mjs +0 -52
  868. package/esm2020/molecules/accordion/animation/accordion-animation-state.mjs +0 -9
  869. package/esm2020/molecules/accordion/animation/accordion-animation.mjs +0 -18
  870. package/esm2020/molecules/accordion/nav-accordion-item/nav-accordion-item.component.mjs +0 -81
  871. package/esm2020/molecules/accordion/public_api.mjs +0 -7
  872. package/esm2020/molecules/article/article/article.component.mjs +0 -30
  873. package/esm2020/molecules/article/article-lead/article-lead.directive.mjs +0 -22
  874. package/esm2020/molecules/article/article-meta/article-meta.directive.mjs +0 -22
  875. package/esm2020/molecules/article/article-title/article-title.directive.mjs +0 -22
  876. package/esm2020/molecules/article/article.module.mjs +0 -39
  877. package/esm2020/molecules/article/public_api.mjs +0 -6
  878. package/esm2020/molecules/backdrop/backdrop/backdrop.component.mjs +0 -87
  879. package/esm2020/molecules/backdrop/backdrop.module.mjs +0 -24
  880. package/esm2020/molecules/button-set/button-set.component.mjs +0 -23
  881. package/esm2020/molecules/button-set/button-set.module.mjs +0 -20
  882. package/esm2020/molecules/callout/callout/callout.component.mjs +0 -71
  883. package/esm2020/molecules/callout/callout-body/callout-body.directive.mjs +0 -22
  884. package/esm2020/molecules/callout/callout-icon/callout-icon.directive.mjs +0 -22
  885. package/esm2020/molecules/callout/callout-subtitle/callout-subtitle.directive.mjs +0 -22
  886. package/esm2020/molecules/callout/callout-tagline/callout-tagline.directive.mjs +0 -22
  887. package/esm2020/molecules/callout/callout-title/callout-title.directive.mjs +0 -22
  888. package/esm2020/molecules/callout/callout.module.mjs +0 -49
  889. package/esm2020/molecules/callout/public_api.mjs +0 -8
  890. package/esm2020/molecules/card/card/card.component.mjs +0 -113
  891. package/esm2020/molecules/card/card-actions/card-actions.directive.mjs +0 -22
  892. package/esm2020/molecules/card/card-content/card-content.directive.mjs +0 -22
  893. package/esm2020/molecules/card/card-icon/card-icon.directive.mjs +0 -22
  894. package/esm2020/molecules/card/card-image/card-image.directive.mjs +0 -22
  895. package/esm2020/molecules/card/card-tagline/card-tagline.directive.mjs +0 -22
  896. package/esm2020/molecules/card/card-title/card-title.directive.mjs +0 -22
  897. package/esm2020/molecules/card/card.module.mjs +0 -54
  898. package/esm2020/molecules/card/public_api.mjs +0 -9
  899. package/esm2020/molecules/feature/feature/feature.component.mjs +0 -49
  900. package/esm2020/molecules/feature/feature-icon/feature-icon.directive.mjs +0 -22
  901. package/esm2020/molecules/feature/feature-subheader/feature-subheader.directive.mjs +0 -22
  902. package/esm2020/molecules/feature/feature-subtitle/feature-subtitle.directive.mjs +0 -22
  903. package/esm2020/molecules/feature/feature-title/feature-title.directive.mjs +0 -22
  904. package/esm2020/molecules/feature/feature.module.mjs +0 -44
  905. package/esm2020/molecules/hero/hero/hero.component.mjs +0 -72
  906. package/esm2020/molecules/hero/hero-body/hero-body.directive.mjs +0 -22
  907. package/esm2020/molecules/hero/hero-icon/hero-icon.directive.mjs +0 -22
  908. package/esm2020/molecules/hero/hero-subtitle/hero-subtitle.directive.mjs +0 -22
  909. package/esm2020/molecules/hero/hero-tagline/hero-tagline.directive.mjs +0 -22
  910. package/esm2020/molecules/hero/hero-title/hero-title.directive.mjs +0 -22
  911. package/esm2020/molecules/hero/hero.module.mjs +0 -49
  912. package/esm2020/molecules/hero/public_api.mjs +0 -8
  913. package/esm2020/molecules/image-gallery/gallery-image/gallery-image.component.mjs +0 -25
  914. package/esm2020/molecules/image-gallery/image-gallery/image-gallery.component.mjs +0 -15
  915. package/esm2020/molecules/image-gallery/image-gallery.module.mjs +0 -33
  916. package/esm2020/molecules/image-list/image-list.component.mjs +0 -20
  917. package/esm2020/molecules/image-list/image-list.module.mjs +0 -24
  918. package/esm2020/molecules/link-set/link-set/link-set.component.mjs +0 -37
  919. package/esm2020/molecules/link-set/link-set-heading/link-set-heading.directive.mjs +0 -25
  920. package/esm2020/molecules/link-set/link-set-item/link-set-item.component.mjs +0 -26
  921. package/esm2020/molecules/link-set/link-set-subheading/link-set-subheading.directive.mjs +0 -25
  922. package/esm2020/molecules/link-set/link-set.module.mjs +0 -39
  923. package/esm2020/molecules/link-set/public_api.mjs +0 -6
  924. package/esm2020/molecules/list/list/list.component.mjs +0 -110
  925. package/esm2020/molecules/list/list-item/list-item.component.mjs +0 -49
  926. package/esm2020/molecules/list/list-subheader/list-subheader.directive.mjs +0 -25
  927. package/esm2020/molecules/list/list.module.mjs +0 -40
  928. package/esm2020/molecules/list/public_api.mjs +0 -5
  929. package/esm2020/molecules/media-gallery/media-gallery-registration.interface.mjs +0 -2
  930. package/esm2020/molecules/media-gallery/media-gallery-token.mjs +0 -3
  931. package/esm2020/molecules/media-gallery/media-gallery.component.mjs +0 -60
  932. package/esm2020/molecules/media-gallery/media-gallery.module.mjs +0 -32
  933. package/esm2020/molecules/media-gallery/media-renderer/media-renderer.component.mjs +0 -76
  934. package/esm2020/molecules/media-gallery/public_api.mjs +0 -5
  935. package/esm2020/molecules/media-gallery/registry/media-gallery.registry.mjs +0 -97
  936. package/esm2020/molecules/media-gallery/thumbnail/thumbnail-compat.token.mjs +0 -6
  937. package/esm2020/molecules/media-gallery/thumbnail/thumbnail-registration.interface.mjs +0 -2
  938. package/esm2020/molecules/media-gallery/thumbnail/thumbnail.directive.mjs +0 -88
  939. package/esm2020/molecules/menu/helpers/create-overlay.mjs +0 -29
  940. package/esm2020/molecules/menu/helpers/public_api.mjs +0 -2
  941. package/esm2020/molecules/menu/menu/menu.component.mjs +0 -63
  942. package/esm2020/molecules/menu/menu-activator/menu-activator.component.mjs +0 -48
  943. package/esm2020/molecules/menu/menu-item/menu-item.component.mjs +0 -35
  944. package/esm2020/molecules/menu/menu.module.mjs +0 -44
  945. package/esm2020/molecules/menu/public_api.mjs +0 -7
  946. package/esm2020/molecules/menu/service/menu.service.mjs +0 -52
  947. package/esm2020/molecules/modal/animations/modal-animation-state.mjs +0 -2
  948. package/esm2020/molecules/modal/animations/modal-animation.mjs +0 -9
  949. package/esm2020/molecules/modal/modal/modal-config.mjs +0 -2
  950. package/esm2020/molecules/modal/modal/modal.component.mjs +0 -93
  951. package/esm2020/molecules/modal/modal-actions/modal-actions.component.mjs +0 -11
  952. package/esm2020/molecules/modal/modal-content/modal-content.component.mjs +0 -11
  953. package/esm2020/molecules/modal/modal-header/modal-header.component.mjs +0 -20
  954. package/esm2020/molecules/modal/modal-title/modal-title.directive.mjs +0 -22
  955. package/esm2020/molecules/modal/modal.mjs +0 -2
  956. package/esm2020/molecules/modal/modal.module.mjs +0 -50
  957. package/esm2020/molecules/modal/public_api.mjs +0 -8
  958. package/esm2020/molecules/modal/service/modal.service.mjs +0 -70
  959. package/esm2020/molecules/navbar/navbar.component.mjs +0 -51
  960. package/esm2020/molecules/navbar/navbar.module.mjs +0 -20
  961. package/esm2020/molecules/navbar/public_api.mjs +0 -3
  962. package/esm2020/molecules/paginator/paginator-errors.mjs +0 -3
  963. package/esm2020/molecules/paginator/paginator.component.mjs +0 -182
  964. package/esm2020/molecules/paginator/paginator.module.mjs +0 -36
  965. package/esm2020/molecules/paginator/public_api.mjs +0 -3
  966. package/esm2020/molecules/qty-dropdown/qty-dropdown.component.mjs +0 -115
  967. package/esm2020/molecules/qty-dropdown/qty-dropdown.module.mjs +0 -40
  968. package/esm2020/molecules/sidebar/animation/sidebar-animation-state.mjs +0 -12
  969. package/esm2020/molecules/sidebar/animation/sidebar-animation-width.mjs +0 -2
  970. package/esm2020/molecules/sidebar/animation/sidebar-animation.mjs +0 -47
  971. package/esm2020/molecules/sidebar/animation/sidebar-viewport-animation-state.mjs +0 -3
  972. package/esm2020/molecules/sidebar/helper/sidebar-mode.mjs +0 -2
  973. package/esm2020/molecules/sidebar/helper/sidebar-side.mjs +0 -2
  974. package/esm2020/molecules/sidebar/public_api.mjs +0 -4
  975. package/esm2020/molecules/sidebar/sidebar/sidebar.component.mjs +0 -96
  976. package/esm2020/molecules/sidebar/sidebar-viewport/backdrop-interactable.mjs +0 -5
  977. package/esm2020/molecules/sidebar/sidebar-viewport/content-pad.mjs +0 -17
  978. package/esm2020/molecules/sidebar/sidebar-viewport/content-shift.mjs +0 -21
  979. package/esm2020/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +0 -123
  980. package/esm2020/molecules/sidebar/sidebar.module.mjs +0 -37
  981. package/esm2020/navbar/examples/basic-navbar/basic-navbar.component.mjs +0 -12
  982. package/esm2020/navbar/examples/basic-navbar/basic-navbar.module.mjs +0 -31
  983. package/esm2020/navbar/examples/contained-navbar/contained-navbar.component.mjs +0 -12
  984. package/esm2020/navbar/examples/contained-navbar/contained-navbar.module.mjs +0 -31
  985. package/esm2020/navbar/examples/navbar-theming/navbar-theming.component.mjs +0 -28
  986. package/esm2020/navbar/examples/navbar-theming/navbar-theming.module.mjs +0 -32
  987. package/esm2020/navbar/examples/raised-navbar/raised-navbar.component.mjs +0 -12
  988. package/esm2020/navbar/examples/raised-navbar/raised-navbar.module.mjs +0 -28
  989. package/esm2020/notification/examples/default-notification/default-notification.component.mjs +0 -18
  990. package/esm2020/notification/examples/default-notification/default-notification.module.mjs +0 -36
  991. package/esm2020/notification/examples/dismissable-notification/dismissable-notification.component.mjs +0 -18
  992. package/esm2020/notification/examples/dismissable-notification/dismissable-notification.module.mjs +0 -36
  993. package/esm2020/notification/examples/notification-orientations/notification-orientations.component.mjs +0 -23
  994. package/esm2020/notification/examples/notification-orientations/notification-orientations.module.mjs +0 -40
  995. package/esm2020/notification/examples/notification-status/notification-status.component.mjs +0 -24
  996. package/esm2020/notification/examples/notification-status/notification-status.module.mjs +0 -40
  997. package/esm2020/notification/notification/notification.component.mjs +0 -95
  998. package/esm2020/notification/notification-actions/notification-actions.directive.mjs +0 -19
  999. package/esm2020/notification/notification-message/notification-message.directive.mjs +0 -19
  1000. package/esm2020/notification/notification-subtitle/notification-subtitle.directive.mjs +0 -19
  1001. package/esm2020/notification/notification-title/notification-title.directive.mjs +0 -19
  1002. package/esm2020/notification/notification.module.mjs +0 -54
  1003. package/esm2020/paginator/examples/basic-paginator/basic-paginator.component.mjs +0 -19
  1004. package/esm2020/paginator/examples/link-paginator/link-paginator.component.mjs +0 -26
  1005. package/esm2020/paginator/examples/paginator-examples.module.mjs +0 -27
  1006. package/esm2020/public_api.mjs +0 -43
  1007. package/esm2020/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +0 -17
  1008. package/esm2020/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.mjs +0 -35
  1009. package/esm2020/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +0 -17
  1010. package/esm2020/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.mjs +0 -35
  1011. package/esm2020/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +0 -17
  1012. package/esm2020/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.mjs +0 -35
  1013. package/esm2020/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +0 -17
  1014. package/esm2020/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.mjs +0 -35
  1015. package/esm2020/radio/examples/basic-radio/basic-radio.component.mjs +0 -21
  1016. package/esm2020/radio/examples/basic-radio/basic-radio.module.mjs +0 -29
  1017. package/esm2020/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +0 -12
  1018. package/esm2020/sidebar/examples/basic-sidebar/basic-sidebar.module.mjs +0 -27
  1019. package/esm2020/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.component.mjs +0 -21
  1020. package/esm2020/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.module.mjs +0 -30
  1021. package/esm2020/sidebar/examples/public_api.mjs +0 -18
  1022. package/esm2020/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.component.mjs +0 -12
  1023. package/esm2020/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.module.mjs +0 -27
  1024. package/esm2020/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.component.mjs +0 -12
  1025. package/esm2020/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.module.mjs +0 -27
  1026. package/esm2020/sidebar/examples/under-sidebar/under-sidebar.component.mjs +0 -26
  1027. package/esm2020/sidebar/examples/under-sidebar/under-sidebar.module.mjs +0 -30
  1028. package/esm2020/tree/examples/basic-tree/basic-tree.component.mjs +0 -39
  1029. package/esm2020/tree/examples/basic-tree/basic-tree.module.mjs +0 -32
  1030. package/esm2020/tree/tree/tree-notifier.service.mjs +0 -45
  1031. package/esm2020/tree/tree/tree.component.mjs +0 -106
  1032. package/esm2020/tree/tree-item/tree-item.directive.mjs +0 -154
  1033. package/esm2020/tree/tree.module.mjs +0 -29
  1034. package/fesm2015/daffodil-design-accordion-examples.mjs +0 -74
  1035. package/fesm2015/daffodil-design-accordion-examples.mjs.map +0 -1
  1036. package/fesm2015/daffodil-design-article-examples.mjs +0 -145
  1037. package/fesm2015/daffodil-design-article-examples.mjs.map +0 -1
  1038. package/fesm2015/daffodil-design-button-examples.mjs +0 -312
  1039. package/fesm2015/daffodil-design-button-examples.mjs.map +0 -1
  1040. package/fesm2015/daffodil-design-callout-examples.mjs +0 -213
  1041. package/fesm2015/daffodil-design-callout-examples.mjs.map +0 -1
  1042. package/fesm2015/daffodil-design-card-examples.mjs +0 -346
  1043. package/fesm2015/daffodil-design-card-examples.mjs.map +0 -1
  1044. package/fesm2015/daffodil-design-checkbox-examples.mjs +0 -119
  1045. package/fesm2015/daffodil-design-checkbox-examples.mjs.map +0 -1
  1046. package/fesm2015/daffodil-design-container-examples.mjs +0 -64
  1047. package/fesm2015/daffodil-design-container-examples.mjs.map +0 -1
  1048. package/fesm2015/daffodil-design-hero-examples.mjs +0 -210
  1049. package/fesm2015/daffodil-design-hero-examples.mjs.map +0 -1
  1050. package/fesm2015/daffodil-design-image-examples.mjs +0 -115
  1051. package/fesm2015/daffodil-design-image-examples.mjs.map +0 -1
  1052. package/fesm2015/daffodil-design-input-examples.mjs +0 -145
  1053. package/fesm2015/daffodil-design-input-examples.mjs.map +0 -1
  1054. package/fesm2015/daffodil-design-list-examples.mjs +0 -191
  1055. package/fesm2015/daffodil-design-list-examples.mjs.map +0 -1
  1056. package/fesm2015/daffodil-design-loading-icon-examples.mjs +0 -87
  1057. package/fesm2015/daffodil-design-loading-icon-examples.mjs.map +0 -1
  1058. package/fesm2015/daffodil-design-media-gallery-examples.mjs +0 -116
  1059. package/fesm2015/daffodil-design-media-gallery-examples.mjs.map +0 -1
  1060. package/fesm2015/daffodil-design-menu-examples.mjs +0 -72
  1061. package/fesm2015/daffodil-design-menu-examples.mjs.map +0 -1
  1062. package/fesm2015/daffodil-design-modal-examples.mjs +0 -64
  1063. package/fesm2015/daffodil-design-modal-examples.mjs.map +0 -1
  1064. package/fesm2015/daffodil-design-navbar-examples.mjs +0 -172
  1065. package/fesm2015/daffodil-design-navbar-examples.mjs.map +0 -1
  1066. package/fesm2015/daffodil-design-notification-examples.mjs +0 -203
  1067. package/fesm2015/daffodil-design-notification-examples.mjs.map +0 -1
  1068. package/fesm2015/daffodil-design-notification.mjs +0 -216
  1069. package/fesm2015/daffodil-design-notification.mjs.map +0 -1
  1070. package/fesm2015/daffodil-design-paginator-examples.mjs +0 -75
  1071. package/fesm2015/daffodil-design-paginator-examples.mjs.map +0 -1
  1072. package/fesm2015/daffodil-design-quantity-field-examples.mjs +0 -185
  1073. package/fesm2015/daffodil-design-quantity-field-examples.mjs.map +0 -1
  1074. package/fesm2015/daffodil-design-radio-examples.mjs +0 -60
  1075. package/fesm2015/daffodil-design-radio-examples.mjs.map +0 -1
  1076. package/fesm2015/daffodil-design-sidebar-examples.mjs +0 -208
  1077. package/fesm2015/daffodil-design-sidebar-examples.mjs.map +0 -1
  1078. package/fesm2015/daffodil-design-tree-examples.mjs +0 -79
  1079. package/fesm2015/daffodil-design-tree-examples.mjs.map +0 -1
  1080. package/fesm2015/daffodil-design-tree.mjs +0 -441
  1081. package/fesm2015/daffodil-design-tree.mjs.map +0 -1
  1082. package/fesm2015/daffodil-design.mjs +0 -5979
  1083. package/fesm2015/daffodil-design.mjs.map +0 -1
  1084. package/fesm2020/daffodil-design-accordion-examples.mjs +0 -74
  1085. package/fesm2020/daffodil-design-accordion-examples.mjs.map +0 -1
  1086. package/fesm2020/daffodil-design-article-examples.mjs +0 -145
  1087. package/fesm2020/daffodil-design-article-examples.mjs.map +0 -1
  1088. package/fesm2020/daffodil-design-button-examples.mjs +0 -312
  1089. package/fesm2020/daffodil-design-button-examples.mjs.map +0 -1
  1090. package/fesm2020/daffodil-design-callout-examples.mjs +0 -213
  1091. package/fesm2020/daffodil-design-callout-examples.mjs.map +0 -1
  1092. package/fesm2020/daffodil-design-card-examples.mjs +0 -346
  1093. package/fesm2020/daffodil-design-card-examples.mjs.map +0 -1
  1094. package/fesm2020/daffodil-design-checkbox-examples.mjs +0 -119
  1095. package/fesm2020/daffodil-design-checkbox-examples.mjs.map +0 -1
  1096. package/fesm2020/daffodil-design-container-examples.mjs +0 -64
  1097. package/fesm2020/daffodil-design-container-examples.mjs.map +0 -1
  1098. package/fesm2020/daffodil-design-hero-examples.mjs +0 -210
  1099. package/fesm2020/daffodil-design-hero-examples.mjs.map +0 -1
  1100. package/fesm2020/daffodil-design-image-examples.mjs +0 -115
  1101. package/fesm2020/daffodil-design-image-examples.mjs.map +0 -1
  1102. package/fesm2020/daffodil-design-input-examples.mjs +0 -145
  1103. package/fesm2020/daffodil-design-input-examples.mjs.map +0 -1
  1104. package/fesm2020/daffodil-design-list-examples.mjs +0 -191
  1105. package/fesm2020/daffodil-design-list-examples.mjs.map +0 -1
  1106. package/fesm2020/daffodil-design-loading-icon-examples.mjs +0 -87
  1107. package/fesm2020/daffodil-design-loading-icon-examples.mjs.map +0 -1
  1108. package/fesm2020/daffodil-design-media-gallery-examples.mjs +0 -116
  1109. package/fesm2020/daffodil-design-media-gallery-examples.mjs.map +0 -1
  1110. package/fesm2020/daffodil-design-menu-examples.mjs +0 -72
  1111. package/fesm2020/daffodil-design-menu-examples.mjs.map +0 -1
  1112. package/fesm2020/daffodil-design-modal-examples.mjs +0 -64
  1113. package/fesm2020/daffodil-design-modal-examples.mjs.map +0 -1
  1114. package/fesm2020/daffodil-design-navbar-examples.mjs +0 -172
  1115. package/fesm2020/daffodil-design-navbar-examples.mjs.map +0 -1
  1116. package/fesm2020/daffodil-design-notification-examples.mjs +0 -203
  1117. package/fesm2020/daffodil-design-notification-examples.mjs.map +0 -1
  1118. package/fesm2020/daffodil-design-notification.mjs +0 -216
  1119. package/fesm2020/daffodil-design-notification.mjs.map +0 -1
  1120. package/fesm2020/daffodil-design-paginator-examples.mjs +0 -75
  1121. package/fesm2020/daffodil-design-paginator-examples.mjs.map +0 -1
  1122. package/fesm2020/daffodil-design-quantity-field-examples.mjs +0 -185
  1123. package/fesm2020/daffodil-design-quantity-field-examples.mjs.map +0 -1
  1124. package/fesm2020/daffodil-design-radio-examples.mjs +0 -60
  1125. package/fesm2020/daffodil-design-radio-examples.mjs.map +0 -1
  1126. package/fesm2020/daffodil-design-sidebar-examples.mjs +0 -208
  1127. package/fesm2020/daffodil-design-sidebar-examples.mjs.map +0 -1
  1128. package/fesm2020/daffodil-design-tree-examples.mjs +0 -79
  1129. package/fesm2020/daffodil-design-tree-examples.mjs.map +0 -1
  1130. package/fesm2020/daffodil-design-tree.mjs +0 -446
  1131. package/fesm2020/daffodil-design-tree.mjs.map +0 -1
  1132. package/fesm2020/daffodil-design.mjs +0 -5966
  1133. package/fesm2020/daffodil-design.mjs.map +0 -1
  1134. package/molecules/accordion/accordion/accordion.component.d.ts +0 -24
  1135. package/molecules/accordion/accordion-item/accordion-item.component.d.ts +0 -32
  1136. package/molecules/accordion/accordion.module.d.ts +0 -14
  1137. package/molecules/accordion/nav-accordion-item/nav-accordion-item.component.d.ts +0 -44
  1138. package/molecules/accordion/public_api.d.ts +0 -6
  1139. package/molecules/callout/callout/callout.component.d.ts +0 -90
  1140. package/molecules/card/card/card.component.d.ts +0 -70
  1141. package/molecules/hero/hero/hero.component.d.ts +0 -91
  1142. package/molecules/link-set/link-set/link-set.component.d.ts +0 -31
  1143. package/molecules/list/list/list.component.d.ts +0 -73
  1144. package/molecules/list/list-item/list-item.component.d.ts +0 -30
  1145. package/molecules/list/list.module.d.ts +0 -11
  1146. package/molecules/media-gallery/media-gallery.component.d.ts +0 -45
  1147. package/molecules/media-gallery/media-gallery.module.d.ts +0 -10
  1148. package/molecules/media-gallery/media-renderer/media-renderer.component.d.ts +0 -29
  1149. package/molecules/media-gallery/public_api.d.ts +0 -4
  1150. package/molecules/media-gallery/registry/media-gallery.registry.d.ts +0 -34
  1151. package/molecules/media-gallery/thumbnail/thumbnail-registration.interface.d.ts +0 -9
  1152. package/molecules/media-gallery/thumbnail/thumbnail.directive.d.ts +0 -44
  1153. package/molecules/menu/menu/menu.component.d.ts +0 -19
  1154. package/molecules/menu/menu-activator/menu-activator.component.d.ts +0 -18
  1155. package/molecules/menu/menu-item/menu-item.component.d.ts +0 -20
  1156. package/molecules/menu/public_api.d.ts +0 -6
  1157. package/molecules/menu/service/menu.service.d.ts +0 -24
  1158. package/molecules/modal/animations/modal-animation-state.d.ts +0 -1
  1159. package/molecules/modal/modal/modal.component.d.ts +0 -52
  1160. package/molecules/modal/modal.d.ts +0 -13
  1161. package/molecules/modal/public_api.d.ts +0 -8
  1162. package/molecules/modal/service/modal.service.d.ts +0 -19
  1163. package/molecules/navbar/navbar.component.d.ts +0 -44
  1164. package/molecules/navbar/navbar.module.d.ts +0 -7
  1165. package/molecules/navbar/public_api.d.ts +0 -2
  1166. package/molecules/paginator/paginator.component.d.ts +0 -147
  1167. package/molecules/paginator/paginator.module.d.ts +0 -11
  1168. package/molecules/paginator/public_api.d.ts +0 -2
  1169. package/molecules/sidebar/animation/sidebar-animation-state.d.ts +0 -2
  1170. package/molecules/sidebar/animation/sidebar-animation.d.ts +0 -11
  1171. package/molecules/sidebar/animation/sidebar-viewport-animation-state.d.ts +0 -6
  1172. package/molecules/sidebar/helper/sidebar-mode.d.ts +0 -27
  1173. package/molecules/sidebar/helper/sidebar-side.d.ts +0 -12
  1174. package/molecules/sidebar/public_api.d.ts +0 -5
  1175. package/molecules/sidebar/sidebar/sidebar.component.d.ts +0 -52
  1176. package/molecules/sidebar/sidebar-viewport/backdrop-interactable.d.ts +0 -6
  1177. package/molecules/sidebar/sidebar-viewport/content-pad.d.ts +0 -7
  1178. package/molecules/sidebar/sidebar-viewport/content-shift.d.ts +0 -8
  1179. package/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +0 -75
  1180. package/molecules/sidebar/sidebar.module.d.ts +0 -11
  1181. package/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.component.d.ts +0 -8
  1182. package/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.module.d.ts +0 -8
  1183. package/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.component.d.ts +0 -5
  1184. package/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.module.d.ts +0 -8
  1185. package/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.component.d.ts +0 -5
  1186. package/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.module.d.ts +0 -8
  1187. package/sidebar/examples/under-sidebar/under-sidebar.component.d.ts +0 -10
  1188. package/sidebar/examples/under-sidebar/under-sidebar.module.d.ts +0 -8
  1189. package/src/atoms/button/button-theme-variants/button.scss +0 -26
  1190. package/src/atoms/button/button-theme-variants/flat.scss +0 -25
  1191. package/src/atoms/button/button-theme-variants/raised.scss +0 -36
  1192. package/src/atoms/button/button-theme-variants/stroked.scss +0 -28
  1193. package/src/atoms/button/button-theme.scss +0 -574
  1194. package/src/atoms/loading-icon/loading-icon-theme.scss +0 -61
  1195. package/src/molecules/accordion/accordion-item/accordion-item-theme.scss +0 -12
  1196. package/src/molecules/article/article/article-theme.scss +0 -78
  1197. package/src/molecules/callout/callout-theme.scss +0 -59
  1198. package/src/molecules/card/card/card-theme-variants/basic-card.scss +0 -6
  1199. package/src/molecules/card/card/card-theme-variants/linkable-card.scss +0 -16
  1200. package/src/molecules/card/card/card-theme.scss +0 -170
  1201. package/src/molecules/hero/hero-theme.scss +0 -59
  1202. package/src/molecules/list/list/list-theme.scss +0 -71
  1203. package/src/molecules/media-gallery/media-gallery-theme.scss +0 -27
  1204. package/src/molecules/menu/menu-theme.scss +0 -25
  1205. package/src/molecules/modal/modal-theme.scss +0 -9
  1206. package/src/molecules/navbar/navbar-theme.scss +0 -57
  1207. package/src/molecules/paginator/paginator-theme.scss +0 -90
  1208. package/src/molecules/sidebar/helper/_variables.scss +0 -7
  1209. package/src/molecules/sidebar/sidebar/sidebar-theme.scss +0 -13
  1210. package/src/molecules/sidebar/sidebar-viewport/sidebar-viewport-theme.scss +0 -16
  1211. /package/{molecules → accordion}/accordion/accordion-item-content/accordion-item-content.directive.d.ts +0 -0
  1212. /package/{molecules → accordion}/accordion/accordion-item-title/accordion-item-title.directive.d.ts +0 -0
  1213. /package/{molecules → accordion}/accordion/animation/accordion-animation-state.d.ts +0 -0
  1214. /package/{molecules → accordion}/accordion/animation/accordion-animation.d.ts +0 -0
  1215. /package/{molecules/article → article}/article/article.component.d.ts +0 -0
  1216. /package/{molecules/article → article}/article-lead/article-lead.directive.d.ts +0 -0
  1217. /package/{molecules/article → article}/article-meta/article-meta.directive.d.ts +0 -0
  1218. /package/{molecules/article → article}/article-title/article-title.directive.d.ts +0 -0
  1219. /package/{molecules/article → article}/article.module.d.ts +0 -0
  1220. /package/{molecules/article → article}/public_api.d.ts +0 -0
  1221. /package/{src/molecules/article → article/src}/article/_stops-article-cascade.scss +0 -0
  1222. /package/{src/atoms/button → button/src}/button-theme-variants/icon.scss +0 -0
  1223. /package/{src/atoms/button → button/src}/button-theme-variants/underline.scss +0 -0
  1224. /package/{molecules/callout → callout}/callout-body/callout-body.directive.d.ts +0 -0
  1225. /package/{molecules/callout → callout}/callout-icon/callout-icon.directive.d.ts +0 -0
  1226. /package/{molecules/callout → callout}/callout-subtitle/callout-subtitle.directive.d.ts +0 -0
  1227. /package/{molecules/callout → callout}/callout-tagline/callout-tagline.directive.d.ts +0 -0
  1228. /package/{molecules/callout → callout}/callout-title/callout-title.directive.d.ts +0 -0
  1229. /package/{molecules/callout → callout}/callout.module.d.ts +0 -0
  1230. /package/{molecules/callout → callout}/public_api.d.ts +0 -0
  1231. /package/{molecules/card → card}/card-actions/card-actions.directive.d.ts +0 -0
  1232. /package/{molecules/card → card}/card-content/card-content.directive.d.ts +0 -0
  1233. /package/{molecules/card → card}/card-icon/card-icon.directive.d.ts +0 -0
  1234. /package/{molecules/card → card}/card-image/card-image.directive.d.ts +0 -0
  1235. /package/{molecules/card → card}/card-tagline/card-tagline.directive.d.ts +0 -0
  1236. /package/{molecules/card → card}/card-title/card-title.directive.d.ts +0 -0
  1237. /package/{molecules/card → card}/card.module.d.ts +0 -0
  1238. /package/{molecules/card → card}/public_api.d.ts +0 -0
  1239. /package/{src/molecules/card/card → card/src}/card-theme-variants/stroked-card.scss +0 -0
  1240. /package/{esm2020 → esm2022}/accordion/examples/daffodil-design-accordion-examples.mjs +0 -0
  1241. /package/{esm2020 → esm2022}/accordion/examples/index.mjs +0 -0
  1242. /package/{esm2020 → esm2022}/article/examples/daffodil-design-article-examples.mjs +0 -0
  1243. /package/{esm2020 → esm2022}/article/examples/examples.mjs +0 -0
  1244. /package/{esm2020 → esm2022}/article/examples/index.mjs +0 -0
  1245. /package/{esm2020 → esm2022}/article/examples/public_api.mjs +0 -0
  1246. /package/{esm2020 → esm2022}/atoms/form/checkbox/public_api.mjs +0 -0
  1247. /package/{esm2020 → esm2022}/atoms/form/core/error-state-matcher/error-state-matcher.mjs +0 -0
  1248. /package/{esm2020 → esm2022}/atoms/form/core/public_api.mjs +0 -0
  1249. /package/{esm2020 → esm2022}/atoms/form/error-message/public_api.mjs +0 -0
  1250. /package/{esm2020 → esm2022}/atoms/form/form-field/form-field-control.mjs +0 -0
  1251. /package/{esm2020 → esm2022}/atoms/form/form-field/form-field-errors.mjs +0 -0
  1252. /package/{esm2020 → esm2022}/atoms/form/form-field/public_api.mjs +0 -0
  1253. /package/{esm2020 → esm2022}/atoms/form/form-label/public_api.mjs +0 -0
  1254. /package/{esm2020 → esm2022}/atoms/form/input/public_api.mjs +0 -0
  1255. /package/{esm2020 → esm2022}/atoms/form/native-select/public_api.mjs +0 -0
  1256. /package/{esm2020 → esm2022}/atoms/form/quantity-field/public_api.mjs +0 -0
  1257. /package/{esm2020 → esm2022}/atoms/form/radio/public_api.mjs +0 -0
  1258. /package/{esm2020 → esm2022}/atoms/progress-indicator/animation/progress-indicator-animation.mjs +0 -0
  1259. /package/{esm2020 → esm2022}/atoms/progress-indicator/public_api.mjs +0 -0
  1260. /package/{esm2020 → esm2022}/button/examples/daffodil-design-button-examples.mjs +0 -0
  1261. /package/{esm2020 → esm2022}/button/examples/examples.mjs +0 -0
  1262. /package/{esm2020 → esm2022}/button/examples/index.mjs +0 -0
  1263. /package/{esm2020 → esm2022}/button/examples/public_api.mjs +0 -0
  1264. /package/{esm2020 → esm2022}/callout/examples/daffodil-design-callout-examples.mjs +0 -0
  1265. /package/{esm2020 → esm2022}/callout/examples/examples.mjs +0 -0
  1266. /package/{esm2020 → esm2022}/callout/examples/index.mjs +0 -0
  1267. /package/{esm2020 → esm2022}/callout/examples/public_api.mjs +0 -0
  1268. /package/{esm2020 → esm2022}/card/examples/daffodil-design-card-examples.mjs +0 -0
  1269. /package/{esm2020 → esm2022}/card/examples/index.mjs +0 -0
  1270. /package/{esm2020 → esm2022}/card/examples/public_api.mjs +0 -0
  1271. /package/{esm2020 → esm2022}/checkbox/examples/daffodil-design-checkbox-examples.mjs +0 -0
  1272. /package/{esm2020 → esm2022}/checkbox/examples/examples.mjs +0 -0
  1273. /package/{esm2020 → esm2022}/checkbox/examples/index.mjs +0 -0
  1274. /package/{esm2020 → esm2022}/checkbox/examples/public_api.mjs +0 -0
  1275. /package/{esm2020 → esm2022}/container/examples/daffodil-design-container-examples.mjs +0 -0
  1276. /package/{esm2020 → esm2022}/container/examples/examples.mjs +0 -0
  1277. /package/{esm2020 → esm2022}/container/examples/index.mjs +0 -0
  1278. /package/{esm2020 → esm2022}/container/examples/public_api.mjs +0 -0
  1279. /package/{esm2020 → esm2022}/core/animation/animation-state-with-params.mjs +0 -0
  1280. /package/{esm2020 → esm2022}/core/article-encapsulated/article-encapsulated-mixin.mjs +0 -0
  1281. /package/{esm2020 → esm2022}/core/article-encapsulated/public_api.mjs +0 -0
  1282. /package/{esm2020 → esm2022}/core/breakpoints/breakpoints.mjs +0 -0
  1283. /package/{esm2020 → esm2022}/core/colorable/color-in-palette.mjs +0 -0
  1284. /package/{esm2020 → esm2022}/core/colorable/colorable-enum.mjs +0 -0
  1285. /package/{esm2020 → esm2022}/core/colorable/colorable.mjs +0 -0
  1286. /package/{esm2020 → esm2022}/core/colorable/public_api.mjs +0 -0
  1287. /package/{esm2020 → esm2022}/core/compactable/compactable.mjs +0 -0
  1288. /package/{esm2020 → esm2022}/core/compactable/public_api.mjs +0 -0
  1289. /package/{esm2020 → esm2022}/core/constructor/constructor.mjs +0 -0
  1290. /package/{esm2020 → esm2022}/core/focus/focusable-elements.mjs +0 -0
  1291. /package/{esm2020 → esm2022}/core/focus/public_api.mjs +0 -0
  1292. /package/{esm2020 → esm2022}/core/lazy/lazy-component.mjs +0 -0
  1293. /package/{esm2020 → esm2022}/core/lazy/public_api.mjs +0 -0
  1294. /package/{esm2020 → esm2022}/core/manage-container-layout/manage-container-layout-mixin.mjs +0 -0
  1295. /package/{esm2020 → esm2022}/core/manage-container-layout/public_api.mjs +0 -0
  1296. /package/{esm2020 → esm2022}/core/mutable/mutable.mjs +0 -0
  1297. /package/{esm2020 → esm2022}/core/prefix-suffix/prefixable/prefixable-interface.mjs +0 -0
  1298. /package/{esm2020 → esm2022}/core/prefix-suffix/public_api.mjs +0 -0
  1299. /package/{esm2020 → esm2022}/core/prefix-suffix/suffixable/suffixable-interface.mjs +0 -0
  1300. /package/{esm2020 → esm2022}/core/skeletonable/public_api.mjs +0 -0
  1301. /package/{esm2020 → esm2022}/core/skeletonable/skeletonable.mjs +0 -0
  1302. /package/{esm2020 → esm2022}/core/statusable/public_api.mjs +0 -0
  1303. /package/{esm2020 → esm2022}/core/statusable/statusable.mjs +0 -0
  1304. /package/{esm2020 → esm2022}/core/theming/functions/computer.mjs +0 -0
  1305. /package/{esm2020 → esm2022}/core/theming/initializer.mjs +0 -0
  1306. /package/{esm2020 → esm2022}/core/theming/public_api.mjs +0 -0
  1307. /package/{esm2020 → esm2022}/core/theming/types/theme.mjs +0 -0
  1308. /package/{esm2020 → esm2022}/daffodil-design.mjs +0 -0
  1309. /package/{esm2020 → esm2022}/examples/examples.mjs +0 -0
  1310. /package/{esm2020 → esm2022}/examples/public_api.mjs +0 -0
  1311. /package/{esm2020 → esm2022}/hero/examples/daffodil-design-hero-examples.mjs +0 -0
  1312. /package/{esm2020 → esm2022}/hero/examples/examples.mjs +0 -0
  1313. /package/{esm2020 → esm2022}/hero/examples/index.mjs +0 -0
  1314. /package/{esm2020 → esm2022}/hero/examples/public_api.mjs +0 -0
  1315. /package/{esm2020 → esm2022}/image/examples/daffodil-design-image-examples.mjs +0 -0
  1316. /package/{esm2020 → esm2022}/image/examples/index.mjs +0 -0
  1317. /package/{esm2020 → esm2022}/image/examples/public_api.mjs +0 -0
  1318. /package/{esm2020 → esm2022}/input/examples/daffodil-design-input-examples.mjs +0 -0
  1319. /package/{esm2020 → esm2022}/input/examples/examples.mjs +0 -0
  1320. /package/{esm2020 → esm2022}/input/examples/index.mjs +0 -0
  1321. /package/{esm2020 → esm2022}/input/examples/public_api.mjs +0 -0
  1322. /package/{esm2020 → esm2022}/list/examples/daffodil-design-list-examples.mjs +0 -0
  1323. /package/{esm2020 → esm2022}/list/examples/examples.mjs +0 -0
  1324. /package/{esm2020 → esm2022}/list/examples/index.mjs +0 -0
  1325. /package/{esm2020 → esm2022}/list/examples/public_api.mjs +0 -0
  1326. /package/{esm2020 → esm2022}/loading-icon/examples/daffodil-design-loading-icon-examples.mjs +0 -0
  1327. /package/{esm2020 → esm2022}/loading-icon/examples/examples.mjs +0 -0
  1328. /package/{esm2020 → esm2022}/loading-icon/examples/index.mjs +0 -0
  1329. /package/{esm2020 → esm2022}/loading-icon/examples/public_api.mjs +0 -0
  1330. /package/{esm2020 → esm2022}/media-gallery/examples/daffodil-design-media-gallery-examples.mjs +0 -0
  1331. /package/{esm2020 → esm2022}/media-gallery/examples/examples.mjs +0 -0
  1332. /package/{esm2020 → esm2022}/media-gallery/examples/index.mjs +0 -0
  1333. /package/{esm2020 → esm2022}/media-gallery/examples/public_api.mjs +0 -0
  1334. /package/{esm2020 → esm2022}/menu/examples/daffodil-design-menu-examples.mjs +0 -0
  1335. /package/{esm2020 → esm2022}/menu/examples/index.mjs +0 -0
  1336. /package/{esm2020 → esm2022}/menu/examples/public_api.mjs +0 -0
  1337. /package/{esm2020 → esm2022}/modal/examples/daffodil-design-modal-examples.mjs +0 -0
  1338. /package/{esm2020 → esm2022}/modal/examples/index.mjs +0 -0
  1339. /package/{esm2020 → esm2022}/modal/examples/public_api.mjs +0 -0
  1340. /package/{esm2020 → esm2022}/molecules/backdrop/animation/backdrop-animation-state.mjs +0 -0
  1341. /package/{esm2020 → esm2022}/molecules/backdrop/animation/backdrop-animation.mjs +0 -0
  1342. /package/{esm2020 → esm2022}/molecules/backdrop/public_api.mjs +0 -0
  1343. /package/{esm2020 → esm2022}/molecules/button-set/public_api.mjs +0 -0
  1344. /package/{esm2020 → esm2022}/molecules/feature/public_api.mjs +0 -0
  1345. /package/{esm2020 → esm2022}/molecules/image-gallery/public_api.mjs +0 -0
  1346. /package/{esm2020 → esm2022}/molecules/image-list/public_api.mjs +0 -0
  1347. /package/{esm2020 → esm2022}/molecules/qty-dropdown/public_api.mjs +0 -0
  1348. /package/{esm2020 → esm2022}/navbar/examples/daffodil-design-navbar-examples.mjs +0 -0
  1349. /package/{esm2020 → esm2022}/navbar/examples/examples.mjs +0 -0
  1350. /package/{esm2020 → esm2022}/navbar/examples/index.mjs +0 -0
  1351. /package/{esm2020 → esm2022}/navbar/examples/public_api.mjs +0 -0
  1352. /package/{esm2020 → esm2022}/notification/daffodil-design-notification.mjs +0 -0
  1353. /package/{esm2020 → esm2022}/notification/examples/daffodil-design-notification-examples.mjs +0 -0
  1354. /package/{esm2020 → esm2022}/notification/examples/index.mjs +0 -0
  1355. /package/{esm2020 → esm2022}/notification/examples/public_api.mjs +0 -0
  1356. /package/{esm2020 → esm2022}/notification/public_api.mjs +0 -0
  1357. /package/{esm2020 → esm2022}/paginator/examples/daffodil-design-paginator-examples.mjs +0 -0
  1358. /package/{esm2020 → esm2022}/paginator/examples/examples.mjs +0 -0
  1359. /package/{esm2020 → esm2022}/paginator/examples/index.mjs +0 -0
  1360. /package/{esm2020 → esm2022}/paginator/examples/public_api.mjs +0 -0
  1361. /package/{esm2020 → esm2022}/quantity-field/examples/daffodil-design-quantity-field-examples.mjs +0 -0
  1362. /package/{esm2020 → esm2022}/quantity-field/examples/index.mjs +0 -0
  1363. /package/{esm2020 → esm2022}/quantity-field/examples/public_api.mjs +0 -0
  1364. /package/{esm2020 → esm2022}/radio/examples/daffodil-design-radio-examples.mjs +0 -0
  1365. /package/{esm2020 → esm2022}/radio/examples/examples.mjs +0 -0
  1366. /package/{esm2020 → esm2022}/radio/examples/index.mjs +0 -0
  1367. /package/{esm2020 → esm2022}/radio/examples/public_api.mjs +0 -0
  1368. /package/{esm2020 → esm2022}/sidebar/examples/daffodil-design-sidebar-examples.mjs +0 -0
  1369. /package/{esm2020 → esm2022}/sidebar/examples/index.mjs +0 -0
  1370. /package/{esm2020 → esm2022}/tree/daffodil-design-tree.mjs +0 -0
  1371. /package/{esm2020 → esm2022}/tree/examples/daffodil-design-tree-examples.mjs +0 -0
  1372. /package/{esm2020 → esm2022}/tree/examples/index.mjs +0 -0
  1373. /package/{esm2020 → esm2022}/tree/examples/public_api.mjs +0 -0
  1374. /package/{esm2020 → esm2022}/tree/index.mjs +0 -0
  1375. /package/{esm2020 → esm2022}/tree/interfaces/recursive-key.mjs +0 -0
  1376. /package/{esm2020 → esm2022}/tree/interfaces/tree-data.mjs +0 -0
  1377. /package/{esm2020 → esm2022}/tree/interfaces/tree-ui.mjs +0 -0
  1378. /package/{esm2020 → esm2022}/tree/public_api.mjs +0 -0
  1379. /package/{esm2020 → esm2022}/tree/utils/flatten-tree.mjs +0 -0
  1380. /package/{esm2020 → esm2022}/tree/utils/hydrate-tree.mjs +0 -0
  1381. /package/{esm2020 → esm2022}/tree/utils/transform-in-place.mjs +0 -0
  1382. /package/{esm2020 → esm2022}/tree/utils/traverse-tree.mjs +0 -0
  1383. /package/{molecules/hero → hero}/hero-body/hero-body.directive.d.ts +0 -0
  1384. /package/{molecules/hero → hero}/hero-icon/hero-icon.directive.d.ts +0 -0
  1385. /package/{molecules/hero → hero}/hero-subtitle/hero-subtitle.directive.d.ts +0 -0
  1386. /package/{molecules/hero → hero}/hero-tagline/hero-tagline.directive.d.ts +0 -0
  1387. /package/{molecules/hero → hero}/hero-title/hero-title.directive.d.ts +0 -0
  1388. /package/{molecules/hero → hero}/hero.module.d.ts +0 -0
  1389. /package/{molecules/hero → hero}/public_api.d.ts +0 -0
  1390. /package/{molecules/link-set → link-set}/link-set-heading/link-set-heading.directive.d.ts +0 -0
  1391. /package/{molecules/link-set → link-set}/link-set-item/link-set-item.component.d.ts +0 -0
  1392. /package/{molecules/link-set → link-set}/link-set-subheading/link-set-subheading.directive.d.ts +0 -0
  1393. /package/{molecules/link-set → link-set}/link-set.module.d.ts +0 -0
  1394. /package/{molecules/link-set → link-set}/public_api.d.ts +0 -0
  1395. /package/{molecules/list → list}/list-subheader/list-subheader.directive.d.ts +0 -0
  1396. /package/{molecules/list → list}/public_api.d.ts +0 -0
  1397. /package/{molecules/media-gallery → media-gallery/helpers}/media-gallery-registration.interface.d.ts +0 -0
  1398. /package/{molecules/media-gallery → media-gallery/helpers}/media-gallery-token.d.ts +0 -0
  1399. /package/{molecules/media-gallery → media-gallery}/thumbnail/thumbnail-compat.token.d.ts +0 -0
  1400. /package/{molecules/menu → menu}/helpers/create-overlay.d.ts +0 -0
  1401. /package/{molecules/menu → menu}/helpers/public_api.d.ts +0 -0
  1402. /package/{molecules/menu → menu}/menu.module.d.ts +0 -0
  1403. /package/{molecules/modal → modal}/animations/modal-animation.d.ts +0 -0
  1404. /package/{molecules/modal → modal}/modal/modal-config.d.ts +0 -0
  1405. /package/{molecules/modal → modal}/modal-actions/modal-actions.component.d.ts +0 -0
  1406. /package/{molecules/modal → modal}/modal-content/modal-content.component.d.ts +0 -0
  1407. /package/{molecules/modal → modal}/modal-header/modal-header.component.d.ts +0 -0
  1408. /package/{molecules/modal → modal}/modal-title/modal-title.directive.d.ts +0 -0
  1409. /package/{molecules/modal → modal}/modal.module.d.ts +0 -0
  1410. /package/{molecules/paginator → paginator/utils}/paginator-errors.d.ts +0 -0
  1411. /package/{molecules/sidebar → sidebar}/animation/sidebar-animation-width.d.ts +0 -0
@@ -0,0 +1,32 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { NgModule } from '@angular/core';
3
+ import { DaffMediaGalleryComponent } from './media-gallery/media-gallery.component';
4
+ import { DaffMediaRendererComponent } from './media-renderer/media-renderer.component';
5
+ import { DaffThumbnailDirective } from './thumbnail/thumbnail.directive';
6
+ import * as i0 from "@angular/core";
7
+ export class DaffMediaGalleryModule {
8
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMediaGalleryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffMediaGalleryModule, declarations: [DaffMediaGalleryComponent,
10
+ DaffThumbnailDirective,
11
+ DaffMediaRendererComponent], imports: [CommonModule], exports: [DaffThumbnailDirective,
12
+ DaffMediaGalleryComponent] }); }
13
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMediaGalleryModule, imports: [CommonModule] }); }
14
+ }
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMediaGalleryModule, decorators: [{
16
+ type: NgModule,
17
+ args: [{
18
+ declarations: [
19
+ DaffMediaGalleryComponent,
20
+ DaffThumbnailDirective,
21
+ DaffMediaRendererComponent,
22
+ ],
23
+ imports: [
24
+ CommonModule,
25
+ ],
26
+ exports: [
27
+ DaffThumbnailDirective,
28
+ DaffMediaGalleryComponent,
29
+ ],
30
+ }]
31
+ }] });
32
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVkaWEtZ2FsbGVyeS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9tZWRpYS1nYWxsZXJ5L3NyYy9tZWRpYS1nYWxsZXJ5Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6QyxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSx5Q0FBeUMsQ0FBQztBQUNwRixPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSwyQ0FBMkMsQ0FBQztBQUN2RixPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQzs7QUFnQnpFLE1BQU0sT0FBTyxzQkFBc0I7a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VyZXJDb21wb25lbnQsXG4gIF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBEYWZmVGh1bWJuYWlsRGlyZWN0aXZlLFxuICAgIERhZmZNZWRpYUdhbGxlcnlDb21wb25lbnQsXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIERhZmZNZWRpYUdhbGxlcnlNb2R1bGUge31cbiJdfQ==
@@ -0,0 +1,80 @@
1
+ import { Component, ComponentFactoryResolver, ViewChild, ViewContainerRef, TemplateRef, ChangeDetectionStrategy, Inject, } from '@angular/core';
2
+ import { Subject } from 'rxjs';
3
+ import { takeUntil } from 'rxjs/operators';
4
+ import { DAFF_MEDIA_GALLERY_TOKEN } from '../helpers/media-gallery-token';
5
+ import { DaffMediaGalleryRegistry } from '../registry/media-gallery.registry';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "../registry/media-gallery.registry";
8
+ /**
9
+ * Dynamically renders the selected `DaffThumbnailDirective` in a `daff-media-gallery` any time the selected thumbnail
10
+ * changes.
11
+ */
12
+ export class DaffMediaRendererComponent {
13
+ constructor(componentFactoryResolver, registry, gallery) {
14
+ this.componentFactoryResolver = componentFactoryResolver;
15
+ this.registry = registry;
16
+ this.gallery = gallery;
17
+ /**
18
+ * Private tracker for indicating when the component is destroyed.
19
+ */
20
+ this._destroy$ = new Subject();
21
+ }
22
+ ngOnInit() {
23
+ this.registry.galleries[this.gallery.name]
24
+ .pipe(takeUntil(this._destroy$))
25
+ .subscribe((gallery) => {
26
+ /**
27
+ * Clear out the slot for the dynamically rendered thumbnail
28
+ */
29
+ this.slot.clear();
30
+ const _selectedThumbnail = gallery.thumbnails.filter(media => media.selected).shift();
31
+ /**
32
+ * If there's no selected media, render nothing.
33
+ */
34
+ if (!_selectedThumbnail) {
35
+ return;
36
+ }
37
+ const _selectedThumbnailComponent = _selectedThumbnail.component;
38
+ /**
39
+ * Create the component to insert.
40
+ */
41
+ const component = this.componentFactoryResolver.resolveComponentFactory(_selectedThumbnailComponent.constructor);
42
+ const componentRef = this.slot.createComponent(component);
43
+ /**
44
+ * Fill the component with it's values from the original component
45
+ */
46
+ component.inputs.forEach(input => {
47
+ componentRef.instance[input.propName] = _selectedThumbnailComponent[input.propName];
48
+ });
49
+ /**
50
+ * Trigger a change detection on the component tree, outside the cycle to address
51
+ * the fact that the component was created outside a typical CD loop.
52
+ */
53
+ componentRef.changeDetectorRef.detectChanges();
54
+ });
55
+ }
56
+ /**
57
+ * Used to unsubscribe from the dynamic component.
58
+ */
59
+ ngOnDestroy() {
60
+ this._destroy$.next(true);
61
+ this._destroy$.unsubscribe();
62
+ }
63
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMediaRendererComponent, deps: [{ token: i0.ComponentFactoryResolver }, { token: i1.DaffMediaGalleryRegistry }, { token: DAFF_MEDIA_GALLERY_TOKEN }], target: i0.ɵɵFactoryTarget.Component }); }
64
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffMediaRendererComponent, selector: "daff-media-renderer", viewQueries: [{ propertyName: "slot", first: true, predicate: TemplateRef, descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: '<ng-template></ng-template>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
65
+ }
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMediaRendererComponent, decorators: [{
67
+ type: Component,
68
+ args: [{
69
+ selector: 'daff-media-renderer',
70
+ template: '<ng-template></ng-template>',
71
+ changeDetection: ChangeDetectionStrategy.OnPush,
72
+ }]
73
+ }], ctorParameters: () => [{ type: i0.ComponentFactoryResolver }, { type: i1.DaffMediaGalleryRegistry }, { type: undefined, decorators: [{
74
+ type: Inject,
75
+ args: [DAFF_MEDIA_GALLERY_TOKEN]
76
+ }] }], propDecorators: { slot: [{
77
+ type: ViewChild,
78
+ args: [TemplateRef, { static: true, read: ViewContainerRef }]
79
+ }] } });
80
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVkaWEtcmVuZGVyZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vbWVkaWEtZ2FsbGVyeS9zcmMvbWVkaWEtcmVuZGVyZXIvbWVkaWEtcmVuZGVyZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBRVQsd0JBQXdCLEVBRXhCLFNBQVMsRUFDVCxnQkFBZ0IsRUFDaEIsV0FBVyxFQUNYLHVCQUF1QixFQUV2QixNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUMvQixPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFHM0MsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFDMUUsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sb0NBQW9DLENBQUM7OztBQUU5RTs7O0dBR0c7QUFNSCxNQUFNLE9BQU8sMEJBQTBCO0lBT3JDLFlBQ1Usd0JBQWtELEVBQ2xELFFBQWtDLEVBQ0EsT0FBcUM7UUFGdkUsNkJBQXdCLEdBQXhCLHdCQUF3QixDQUEwQjtRQUNsRCxhQUFRLEdBQVIsUUFBUSxDQUEwQjtRQUNBLFlBQU8sR0FBUCxPQUFPLENBQThCO1FBUmpGOztXQUVHO1FBQ0ssY0FBUyxHQUFHLElBQUksT0FBTyxFQUFFLENBQUM7SUFNL0IsQ0FBQztJQVFKLFF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lkZSBhIHR5cGljYWwgQ0QgbG9vcC5cbiAgICAgICAgICovXG4gICAgICAgIGNvbXBvbmVudFJlZi5jaGFuZ2VEZXRlY3RvclJlZi5kZXRlY3RDaGFuZ2VzKCk7XG4gICAgICB9KTtcbiAgfVxuXG4gIC8qKlxuICAgKiBVc2VkIHRvIHVuc3Vic2NyaWJlIGZyb20gdGhlIGR5bmFtaWMgY29tcG9uZW50LlxuICAgKi9cbiAgbmdPbkRlc3Ryb3koKSB7XG4gICAgdGhpcy5fZGVzdHJveSQubmV4dCh0cnVlKTtcbiAgICB0aGlzLl9kZXN0cm95JC51bnN1YnNjcmliZSgpO1xuICB9XG59XG5cbiJdfQ==
@@ -0,0 +1,5 @@
1
+ export * from './media-gallery/media-gallery.component';
2
+ export * from './media-gallery.module';
3
+ export * from './thumbnail/thumbnail.directive';
4
+ export { daffThumbnailCompatToken } from './thumbnail/thumbnail-compat.token';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL21lZGlhLWdhbGxlcnkvc3JjL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5Q0FBeUMsQ0FBQztBQUN4RCxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMsaUNBQWlDLENBQUM7QUFFaEQsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sb0NBQW9DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL21lZGlhLWdhbGxlcnkvbWVkaWEtZ2FsbGVyeS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9tZWRpYS1nYWxsZXJ5Lm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL3RodW1ibmFpbC90aHVtYm5haWwuZGlyZWN0aXZlJztcblxuZXhwb3J0IHsgZGFmZlRodW1ibmFpbENvbXBhdFRva2VuIH0gZnJvbSAnLi90aHVtYm5haWwvdGh1bWJuYWlsLWNvbXBhdC50b2tlbic7XG4iXX0=
@@ -0,0 +1,97 @@
1
+ import { Injectable } from '@angular/core';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export const isGallery = (element) => !('gallery' in element);
5
+ export class DaffMediaGalleryRegistry {
6
+ constructor() {
7
+ this.galleries = {};
8
+ }
9
+ /**
10
+ * @description
11
+ * Adds a media element to the internal registry.
12
+ */
13
+ add(gallery, thumbnail) {
14
+ if (this.galleries[gallery.name]) {
15
+ let newGallery = this.galleries[gallery.name].getValue();
16
+ if (thumbnail) {
17
+ newGallery = {
18
+ ...newGallery,
19
+ thumbnails: [
20
+ ...newGallery.thumbnails.filter(t => t !== thumbnail),
21
+ thumbnail,
22
+ ],
23
+ };
24
+ }
25
+ this.galleries[gallery.name].next(newGallery);
26
+ }
27
+ else {
28
+ this.galleries[gallery.name] = new BehaviorSubject({
29
+ gallery,
30
+ thumbnails: thumbnail ? [thumbnail] : [],
31
+ });
32
+ }
33
+ if (this.galleries[gallery.name].getValue().thumbnails.length === 1) {
34
+ thumbnail.select();
35
+ }
36
+ }
37
+ /**
38
+ * @description
39
+ * Removes a thumbnail or gallery from the internal registry.
40
+ */
41
+ remove(element) {
42
+ if (isGallery(element)) {
43
+ this.removeGallery(element);
44
+ }
45
+ else {
46
+ this.removeThumbnail(element);
47
+ }
48
+ }
49
+ removeThumbnail(thumbnail) {
50
+ if (!this.galleries[thumbnail.gallery.name]) {
51
+ return;
52
+ }
53
+ const gallery = this.galleries[thumbnail.gallery.name].getValue();
54
+ const index = gallery.thumbnails.indexOf(thumbnail);
55
+ if (index === -1) {
56
+ return;
57
+ }
58
+ this.galleries[thumbnail.gallery.name].next({
59
+ ...gallery,
60
+ thumbnails: [
61
+ ...gallery.thumbnails.slice(0, index),
62
+ ...gallery.thumbnails.slice(index + 1),
63
+ ],
64
+ });
65
+ }
66
+ removeGallery(gallery) {
67
+ delete this.galleries[gallery.name];
68
+ }
69
+ /**
70
+ * @description
71
+ * Selects a media element for a given gallery.
72
+ */
73
+ select(thumbnail) {
74
+ if (!this.galleries[thumbnail.gallery.name]) {
75
+ return;
76
+ }
77
+ const gallery = this.galleries[thumbnail.gallery.name].getValue();
78
+ const index = gallery.thumbnails.indexOf(thumbnail);
79
+ if (thumbnail.selected || index === -1) {
80
+ return;
81
+ }
82
+ this.galleries[thumbnail.gallery.name].next({
83
+ ...gallery,
84
+ thumbnails: [
85
+ ...gallery.thumbnails.filter(m => m !== thumbnail).map(m => m.deselect()),
86
+ thumbnail.select(),
87
+ ],
88
+ });
89
+ }
90
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMediaGalleryRegistry, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
91
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMediaGalleryRegistry, providedIn: 'root' }); }
92
+ }
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMediaGalleryRegistry, decorators: [{
94
+ type: Injectable,
95
+ args: [{ providedIn: 'root' }]
96
+ }] });
97
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVkaWEtZ2FsbGVyeS5yZWdpc3RyeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL21lZGlhLWdhbGxlcnkvc3JjL3JlZ2lzdHJ5L21lZGlhLWdhbGxlcnkucmVnaXN0cnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUF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FpbC5zZWxlY3RlZCB8fCBpbmRleCA9PT0gLTEpe1xuXHQgICAgcmV0dXJuO1xuXHQgIH1cblxuXHQgIHRoaXMuZ2FsbGVyaWVzW3RodW1ibmFpbC5nYWxsZXJ5Lm5hbWVdLm5leHQoe1xuXHQgICAgLi4uZ2FsbGVyeSxcblx0ICAgIHRodW1ibmFpbHM6IFtcblx0ICAgICAgLi4uZ2FsbGVyeS50aHVtYm5haWxzLmZpbHRlcihtID0+IG0gIT09IHRodW1ibmFpbCkubWFwKG0gPT4gbS5kZXNlbGVjdCgpKSxcblx0ICAgICAgdGh1bWJuYWlsLnNlbGVjdCgpLFxuXHQgICAgXSxcblx0ICB9KTtcbiAgfVxufVxuIl19
@@ -0,0 +1,6 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ /**
3
+ * A multi provider injection token that marks a component as renderable for the `DaffMediaRendererComponent`.
4
+ */
5
+ export const daffThumbnailCompatToken = new InjectionToken('thumbnailCompatToken');
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGh1bWJuYWlsLWNvbXBhdC50b2tlbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL21lZGlhLWdhbGxlcnkvc3JjL3RodW1ibmFpbC90aHVtYm5haWwtY29tcGF0LnRva2VuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFL0M7O0dBRUc7QUFDSCxNQUFNLENBQUMsTUFBTSx3QkFBd0IsR0FBRyxJQUFJLGNBQWMsQ0FBVSxzQkFBc0IsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0aW9uVG9rZW4gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuLyoqXG4gKiBBIG11bHRpIHByb3Z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1ibmFpbFJlZ2lzdHJhdGlvbjtcbn1cbiJdfQ==
@@ -0,0 +1,88 @@
1
+ import { Directive, Inject, Type, HostBinding, HostListener, Output, EventEmitter, ChangeDetectorRef, } from '@angular/core';
2
+ import { daffThumbnailCompatToken } from './thumbnail-compat.token';
3
+ import { DAFF_MEDIA_GALLERY_TOKEN } from '../helpers/media-gallery-token';
4
+ import { DaffMediaGalleryRegistry } from '../registry/media-gallery.registry';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../registry/media-gallery.registry";
7
+ /**
8
+ * A directive marking thumbnails for the `DaffMediaRendererComponent`. Needs to be wrapped in a `daff-media-gallery` component
9
+ * and needs to be placed on a component that is provided as a `daffThumbnailCompatToken`.
10
+ */
11
+ export class DaffThumbnailDirective {
12
+ /**
13
+ * Adds a class for styling a selected thumbnail
14
+ */
15
+ get selectedClass() {
16
+ return this.selected;
17
+ }
18
+ ;
19
+ constructor(component, cd, registry, gallery) {
20
+ this.component = component;
21
+ this.cd = cd;
22
+ this.registry = registry;
23
+ this.gallery = gallery;
24
+ /**
25
+ * Adds a class for styling a thumbnail
26
+ */
27
+ this.class = true;
28
+ /**
29
+ * A prop for determining whether or not the media element is selected.
30
+ */
31
+ this.selected = false;
32
+ /**
33
+ * An event that fires after the media element becomes selected.
34
+ */
35
+ this.becameSelected = new EventEmitter();
36
+ }
37
+ /**
38
+ * Adds a click event to trigger selection of the media element.
39
+ *
40
+ * @param event: MouseEvent
41
+ */
42
+ onClick($event) {
43
+ this.registry.select(this);
44
+ }
45
+ ngOnInit() {
46
+ this.registry.add(this.gallery, this);
47
+ }
48
+ ngOnDestroy() {
49
+ this.registry.remove(this);
50
+ }
51
+ select() {
52
+ this.selected = true;
53
+ this.becameSelected.emit();
54
+ this.cd.markForCheck();
55
+ return this;
56
+ }
57
+ deselect() {
58
+ this.selected = false;
59
+ this.cd.markForCheck();
60
+ return this;
61
+ }
62
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffThumbnailDirective, deps: [{ token: daffThumbnailCompatToken }, { token: i0.ChangeDetectorRef }, { token: i1.DaffMediaGalleryRegistry }, { token: DAFF_MEDIA_GALLERY_TOKEN }], target: i0.ɵɵFactoryTarget.Directive }); }
63
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: DaffThumbnailDirective, selector: "[daffThumbnail]", outputs: { becameSelected: "becameSelected" }, host: { listeners: { "click": "onClick($event)" }, properties: { "class.daff-thumbnail--selected": "this.selectedClass", "class.daff-thumbnail": "this.class" } }, ngImport: i0 }); }
64
+ }
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffThumbnailDirective, decorators: [{
66
+ type: Directive,
67
+ args: [{
68
+ selector: '[daffThumbnail]',
69
+ }]
70
+ }], ctorParameters: () => [{ type: i0.Type, decorators: [{
71
+ type: Inject,
72
+ args: [daffThumbnailCompatToken]
73
+ }] }, { type: i0.ChangeDetectorRef }, { type: i1.DaffMediaGalleryRegistry }, { type: undefined, decorators: [{
74
+ type: Inject,
75
+ args: [DAFF_MEDIA_GALLERY_TOKEN]
76
+ }] }], propDecorators: { selectedClass: [{
77
+ type: HostBinding,
78
+ args: ['class.daff-thumbnail--selected']
79
+ }], class: [{
80
+ type: HostBinding,
81
+ args: ['class.daff-thumbnail']
82
+ }], becameSelected: [{
83
+ type: Output
84
+ }], onClick: [{
85
+ type: HostListener,
86
+ args: ['click', ['$event']]
87
+ }] } });
88
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGh1bWJuYWlsLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL21lZGlhLWdhbGxlcnkvc3JjL3RodW1ibmFpbC90aHVtYm5haW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 */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFmZm9kaWwtZGVzaWduLW1lbnUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9tZW51L3NyYy9kYWZmb2RpbC1kZXNpZ24tbWVudS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -0,0 +1,17 @@
1
+ import { ChangeDetectionStrategy, Component, } from '@angular/core';
2
+ import { MenuContentComponent } from './menu-content/menu-content.component';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@daffodil/design/button";
5
+ import * as i2 from "@daffodil/design/menu";
6
+ export class BasicMenuComponent {
7
+ constructor() {
8
+ this.menu = MenuContentComponent;
9
+ }
10
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
11
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: BasicMenuComponent, selector: "basic-menu", ngImport: i0, template: "<button daff-button color=\"theme\" [daffMenuActivator]=\"menu\">\n\tMenu\n</button>", dependencies: [{ kind: "component", type: i1.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["color", "size", "status", "loading", "tabindex", "disabled"] }, { kind: "directive", type: i2.DaffMenuActivatorDirective, selector: "[daffMenuActivator]", inputs: ["daffMenuActivator"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
12
+ }
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicMenuComponent, decorators: [{
14
+ type: Component,
15
+ args: [{ selector: 'basic-menu', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button daff-button color=\"theme\" [daffMenuActivator]=\"menu\">\n\tMenu\n</button>" }]
16
+ }] });
17
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzaWMtbWVudS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9tZW51L2V4YW1wbGVzL3NyYy9iYXNpYy1tZW51L2Jhc2ljLW1lbnUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vbWVudS9leGFtcGxlcy9zcmMvYmFzaWMtbWVudS9iYXNpYy1tZW51LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxHQUNWLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHVDQUF1QyxDQUFDOzs7O0FBUTdFLE1BQU0sT0FBTyxrQkFBa0I7SUFOL0I7UUFPUyxTQUFJLEdBQUcsb0JBQW9CLENBQUM7S0FDcEM7aUlBRlksa0JBQWtCO3FIQUFsQixrQkFBa0Isa0RDYi9CLHNGQUVTOzsyRkRXSSxrQkFBa0I7a0JBTjlCLFNBQVM7K0JBRUUsWUFBWSxtQkFFTCx1QkFBdUIsQ0FBQyxNQUFNIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksXG4gIENvbXBvbmVudCxcbn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7IE1lbnVDb250ZW50Q29tcG9uZW50IH0gZnJvbSAnLi9tZW51LWNvbnRlbnQvbWVudS1jb250ZW50LmNvbXBvbmVudCc7XG5cbkBDb21wb25lbnQoe1xuICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQGFuZ3VsYXItZXNsaW50L2NvbXBvbmVudC1zZWxlY3RvclxuICBzZWxlY3RvcjogJ2Jhc2ljLW1lbnUnLFxuICB0ZW1wbGF0ZVVybDogJy4vYmFzaWMtbWVudS5jb21wb25lbnQuaHRtbCcsXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxufSlcbmV4cG9ydCBjbGFzcyBCYXNpY01lbnVDb21wb25lbnQge1xuICBwdWJsaWMgbWVudSA9IE1lbnVDb250ZW50Q29tcG9uZW50O1xufVxuIiwiPGJ1dHRvbiBkYWZmLWJ1dHRvbiBjb2xvcj1cInRoZW1lXCIgW2RhZmZNZW51QWN0aXZhdG9yXT1cIm1lbnVcIj5cblx0TWVudVxuPC9idXR0b24+Il19
@@ -0,0 +1,35 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
3
+ import { DaffButtonModule } from '@daffodil/design/button';
4
+ import { DaffMenuModule } from '@daffodil/design/menu';
5
+ import { BasicMenuComponent } from './basic-menu.component';
6
+ import { MenuContentComponent } from './menu-content/menu-content.component';
7
+ import * as i0 from "@angular/core";
8
+ export class BasicMenuComponentModule {
9
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicMenuComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
10
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: BasicMenuComponentModule, declarations: [BasicMenuComponent,
11
+ MenuContentComponent], imports: [DaffButtonModule,
12
+ DaffMenuModule,
13
+ FontAwesomeModule], exports: [BasicMenuComponent] }); }
14
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicMenuComponentModule, imports: [DaffButtonModule,
15
+ DaffMenuModule,
16
+ FontAwesomeModule] }); }
17
+ }
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicMenuComponentModule, decorators: [{
19
+ type: NgModule,
20
+ args: [{
21
+ declarations: [
22
+ BasicMenuComponent,
23
+ MenuContentComponent,
24
+ ],
25
+ exports: [
26
+ BasicMenuComponent,
27
+ ],
28
+ imports: [
29
+ DaffButtonModule,
30
+ DaffMenuModule,
31
+ FontAwesomeModule,
32
+ ],
33
+ }]
34
+ }] });
35
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzaWMtbWVudS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9tZW51L2V4YW1wbGVzL3NyYy9iYXNpYy1tZW51L2Jhc2ljLW1lbnUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sa0NBQWtDLENBQUM7QUFFckUsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDM0QsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHVCQU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IE1lbnVDb250ZW50Q29tcG9uZW50IH0gZnJvbSAnLi9tZW51LWNvbnRlbnQvbWVudS1jb250ZW50LmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1xuICAgIEJhc2ljTWVudUNvbXBvbmVudCxcbiAgICBNZW51Q29udGVudENvbXBvbmVudCxcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIEJhc2ljTWVudUNvbXBvbmVudCxcbiAgXSxcbiAgaW1wb3J0czogW1xuICAgIERhZmZCdXR0b25Nb2R1bGUsXG4gICAgRGFmZk1lbnVNb2R1bGUsXG4gICAgRm9udEF3ZXNvbWVNb2R1bGUsXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIEJhc2ljTWVudUNvbXBvbmVudE1vZHVsZSB7IH1cbiJdfQ==
@@ -0,0 +1,19 @@
1
+ import { ChangeDetectionStrategy, Component, } from '@angular/core';
2
+ import { faEnvelope, faInfo, faUser, } from '@fortawesome/free-solid-svg-icons';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@daffodil/design/menu";
5
+ import * as i2 from "@fortawesome/angular-fontawesome";
6
+ export class MenuContentComponent {
7
+ constructor() {
8
+ this.faUser = faUser;
9
+ this.faInfo = faInfo;
10
+ this.faEnvelope = faEnvelope;
11
+ }
12
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: MenuContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
13
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: MenuContentComponent, selector: "menu-content", ngImport: i0, template: "<daff-menu>\n <a href=\"#\" daff-menu-item>\n <fa-icon [icon]=\"faUser\" [fixedWidth]=\"true\"></fa-icon> My Account\n </a>\n <a href=\"#\" daff-menu-item>\n <fa-icon [icon]=\"faInfo\" [fixedWidth]=\"true\"></fa-icon> Help\n </a>\n <button daff-menu-item>\n <fa-icon [icon]=\"faEnvelope\" [fixedWidth]=\"true\"></fa-icon> Contact Us\n </button>\n</daff-menu>", dependencies: [{ kind: "component", type: i1.DaffMenuComponent, selector: "daff-menu" }, { kind: "component", type: i1.DaffMenuItemComponent, selector: "a[daff-menu-item],button[daff-menu-item]" }, { kind: "component", type: i2.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14
+ }
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: MenuContentComponent, decorators: [{
16
+ type: Component,
17
+ args: [{ selector: 'menu-content', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-menu>\n <a href=\"#\" daff-menu-item>\n <fa-icon [icon]=\"faUser\" [fixedWidth]=\"true\"></fa-icon> My Account\n </a>\n <a href=\"#\" daff-menu-item>\n <fa-icon [icon]=\"faInfo\" [fixedWidth]=\"true\"></fa-icon> Help\n </a>\n <button daff-menu-item>\n <fa-icon [icon]=\"faEnvelope\" [fixedWidth]=\"true\"></fa-icon> Contact Us\n </button>\n</daff-menu>" }]
18
+ }] });
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1jb250ZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL21lbnUvZXhhbXBsZXMvc3JjL2Jhc2ljLW1lbnUvbWVudS1jb250ZW50L21lbnUtY29udGVudC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9tZW51L2V4YW1wbGVzL3NyYy9iYXNpYy1tZW51L21lbnUtY29udGV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J0IGNsYXNzIE1lbnVDb250ZW50Q29tcG9uZW50IHtcbiAgZmFVc2VyID0gZmFVc2VyO1xuICBmYUluZm8gPSBmYUluZm87XG4gIGZhRW52ZWxvcGUgPSBmYUVudmVsb3BlO1xufVxuIiwiPGRhZmYtbWVudT5cbiAgPGEgaHJlZj1cIiNcIiBkYWZmLW1lbnUtaXRlbT5cbiAgICA8ZmEtaWNvbiBbaWNvbl09XCJmYVVzZXJcIiBbZml4ZWRXaWR0aF09XCJ0cnVlXCI+PC9mYS1pY29uPiBNeSBBY2NvdW50XG4gIDwvYT5cbiAgPGEgaHJlZj1cIiNcIiBkYWZmLW1lbnUtaXRlbT5cbiAgICA8ZmEtaWNvbiBbaWNvbl09XCJmYUluZm9cIiBbZml4ZWRXaWR0aF09XCJ0cnVlXCI+PC9mYS1pY29uPiBIZWxwXG4gIDwvYT5cbiAgPGJ1dHRvbiBkYWZmLW1lbnUtaXRlbT5cbiAgICA8ZmEtaWNvbiBbaWNvbl09XCJmYUVudmVsb3BlXCIgW2ZpeGVkV2lkdGhdPVwidHJ1ZVwiPjwvZmEtaWNvbj4gQ29udGFjdCBVc1xuICA8L2J1dHRvbj5cbjwvZGFmZi1tZW51PiJdfQ==
@@ -0,0 +1,29 @@
1
+ export function daffMenuCreateOverlay(overlay, element, config = {}) {
2
+ return overlay.create({
3
+ hasBackdrop: true,
4
+ backdropClass: 'cdk-overlay-transparent-backdrop',
5
+ scrollStrategy: overlay.scrollStrategies.block(),
6
+ disposeOnNavigation: true,
7
+ positionStrategy: overlay
8
+ .position()
9
+ .flexibleConnectedTo(element)
10
+ .withPositions([
11
+ {
12
+ originX: 'start',
13
+ originY: 'bottom',
14
+ overlayX: 'start',
15
+ overlayY: 'top',
16
+ offsetY: 0,
17
+ },
18
+ {
19
+ originX: 'start',
20
+ originY: 'top',
21
+ overlayX: 'start',
22
+ overlayY: 'bottom',
23
+ },
24
+ ]),
25
+ ...config,
26
+ });
27
+ }
28
+ ;
29
+ //# sourceMapping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mZpZyxcbiAgfSk7XG59O1xuIl19
@@ -0,0 +1,2 @@
1
+ export { daffMenuCreateOverlay } from './create-overlay';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL21lbnUvc3JjL2hlbHBlcnMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IGRhZmZNZW51Q3JlYXRlT3ZlcmxheSB9IGZyb20gJy4vY3JlYXRlLW92ZXJsYXknO1xuIl19
@@ -0,0 +1,2 @@
1
+ export * from './public_api';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9tZW51L3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
@@ -0,0 +1,63 @@
1
+ import { ConfigurableFocusTrapFactory, } from '@angular/cdk/a11y';
2
+ import { ChangeDetectionStrategy, Component, ElementRef, HostBinding, NgZone, } from '@angular/core';
3
+ import { filter, fromEvent, } from 'rxjs';
4
+ import { daffFocusableElementsSelector } from '@daffodil/design';
5
+ import { DaffMenuService } from '../services/menu.service';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@angular/cdk/a11y";
8
+ import * as i2 from "../services/menu.service";
9
+ export class DaffMenuComponent {
10
+ constructor(_focusTrapFactory, _ngZone, _elementRef, menuService) {
11
+ this._focusTrapFactory = _focusTrapFactory;
12
+ this._ngZone = _ngZone;
13
+ this._elementRef = _elementRef;
14
+ this.menuService = menuService;
15
+ this.class = true;
16
+ this.tabindex = 0;
17
+ this.role = 'menu';
18
+ /**
19
+ * Listen to `keydown` events outside the zone so that change detection is not run every
20
+ * time a key is pressed. Instead we re-enter the zone only if the `ESC` key is pressed.
21
+ *
22
+ */
23
+ this._ngZone.runOutsideAngular(() => {
24
+ fromEvent(this._elementRef.nativeElement, 'keyup')
25
+ .pipe(filter((event) => event.key === 'Escape'))
26
+ .subscribe((event) => this._ngZone.run(() => {
27
+ this.menuService.close();
28
+ event.stopPropagation();
29
+ }));
30
+ });
31
+ }
32
+ ngAfterContentInit() {
33
+ this._focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement);
34
+ }
35
+ ngAfterViewInit() {
36
+ const focusableChild = this._elementRef.nativeElement.querySelector(daffFocusableElementsSelector);
37
+ if (focusableChild) {
38
+ focusableChild.focus();
39
+ }
40
+ else {
41
+ // There's a timing condition when computing HostBindings afterContentInit
42
+ // so to allow the menu to be focused, we manually set the tabindex.
43
+ this._elementRef.nativeElement.tabIndex = 0;
44
+ this._elementRef.nativeElement.focus();
45
+ }
46
+ }
47
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMenuComponent, deps: [{ token: i1.ConfigurableFocusTrapFactory }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i2.DaffMenuService }], target: i0.ɵɵFactoryTarget.Component }); }
48
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffMenuComponent, selector: "daff-menu", host: { properties: { "class.daff-menu": "this.class", "tabindex": "this.tabindex", "attr.role": "this.role" } }, ngImport: i0, template: '<ng-content select="[daff-menu-item]"></ng-content>', isInline: true, styles: [":host{display:block;min-width:112px;max-width:320px;border-radius:4px;padding:8px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
49
+ }
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMenuComponent, decorators: [{
51
+ type: Component,
52
+ args: [{ selector: 'daff-menu', template: '<ng-content select="[daff-menu-item]"></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;min-width:112px;max-width:320px;border-radius:4px;padding:8px}\n"] }]
53
+ }], ctorParameters: () => [{ type: i1.ConfigurableFocusTrapFactory }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i2.DaffMenuService }], propDecorators: { class: [{
54
+ type: HostBinding,
55
+ args: ['class.daff-menu']
56
+ }], tabindex: [{
57
+ type: HostBinding,
58
+ args: ['tabindex']
59
+ }], role: [{
60
+ type: HostBinding,
61
+ args: ['attr.role']
62
+ }] } });
63
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9tZW51L3NyYy9tZW51L21lbnUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCw0QkFBNEIsR0FFN0IsTUFBTSxtQkFBbUIsQ0FBQztBQUMzQixPQUFPLEVBR0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxVQUFVLEVBQ1YsV0FBVyxFQUNYLE1BQU0sR0FDUCxNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQ0wsTUFBTSxFQUNOLFNBQVMsR0FDVixNQUFNLE1BQU0sQ0FBQztBQUVkLE9BQU8sRUFBRSw2QkFBNkIsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBRWpFLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUF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