@daffodil/design 0.66.0 → 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 +3 -2
  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,17 @@
1
+ /**
2
+ * Given a list of sidebars, compute the associated content shift.
3
+ */
4
+ export const sidebarViewportContentPadding = (sidebars, side) => sidebars.reduce((acc, sidebar) => {
5
+ if (!(sidebar.mode === "side-fixed" /* DaffSidebarModeEnum.SideFixed */ && sidebar.open)) {
6
+ return acc;
7
+ }
8
+ if (sidebar.side === side) {
9
+ return sidebar.width;
10
+ }
11
+ else {
12
+ // This component is "stateless", its possible to have two open "under" sidebars.
13
+ // As such, we defer to "left" being open by default.
14
+ return acc;
15
+ }
16
+ }, 0);
17
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC1wYWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saW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HRoZSBhc3NvY2lhdGVkIGNvbnRlbnQgc2hpZnQuXG4gKi9cbmV4cG9ydCBjb25zdCBzaWRlYmFyVmlld3BvcnRDb250ZW50UGFkZGluZyA9IChzaWRlYmFyczogUXVlcnlMaXN0PERhZmZTaWRlYmFyQ29tcG9uZW50Piwgc2lkZTogRGFmZlNpZGViYXJTaWRlKTogbnVtYmVyID0+XG4gIHNpZGViYXJzLnJlZHVjZSgoYWNjOiBudW1iZXIsIHNpZGViYXIpID0+IHtcbiAgICBpZighKHNpZGViYXIubW9kZSA9PT0gRGFmZlNpZGViYXJNb2RlRW51bS5TaWRlRml4ZWQgJiYgc2lkZWJhci5vcGVuKSkge1xuICAgICAgcmV0dXJuIGFjYztcbiAgICB9XG5cbiAgICBpZihzaWRlYmFyLnNpZGUgPT09IHNpZGUpe1xuICAgICAgcmV0dXJuIHNpZGViYXIud2lkdGg7XG4gICAgfSBlbHNlIHtcbiAgICAgIC8vIFRoaXMgY29tcG9uZW50IGlzIFwic3RhdGVsZXNzXCIsIGl0cyBwb3NzaWJsZSB0byBoYXZlIHR3byBvcGVuIFwidW5kZXJcIiBzaWRlYmFycy5cbiAgICAgIC8vIEFzIHN1Y2gsIHdlIGRlZmVyIHRvIFwibGVmdFwiIGJlaW5nIG9wZW4gYnkgZGVmYXVsdC5cbiAgICAgIHJldHVybiBhY2M7XG4gICAgfVxuICB9LCAwKTtcbiJdfQ==
@@ -0,0 +1,21 @@
1
+ export const isViewportContentShifted = (mode, open) => (mode === 'under' && open);
2
+ /**
3
+ * Given a list of sidebars, compute the associated content shift.
4
+ */
5
+ export const sidebarViewportContentShift = (sidebars) => sidebars.reduce((acc, sidebar) => {
6
+ if (!isViewportContentShifted(sidebar.mode, sidebar.open)) {
7
+ return acc;
8
+ }
9
+ if (sidebar.side === 'left') {
10
+ return sidebar.width;
11
+ }
12
+ else if (sidebar.side === 'right' && acc === 0) {
13
+ return -1 * sidebar.width;
14
+ }
15
+ else {
16
+ // This component is "stateless", its possible to have two open "under" sidebars.
17
+ // As such, we defer to "left" being open by default.
18
+ return acc;
19
+ }
20
+ }, 0);
21
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC1zaGlmdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NpZGViYXIvc3JjL3NpZGViYXItdmlld3BvcnQvdXRpbHMvY29udGVudC1zaGlmdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLQSxNQUFNLENBQUMsTUFBTSx3QkFBd0IsR0FBRyxDQUFDLElBQXFCLEVBQUUsSUFBYSxFQUFXLEVBQUUsQ0FBQyxDQUFDLElBQUksS0FBSyxPQUFPLElBQUksSUFBSSxDQUFDLENBQUM7QUFFdEg7O0dBRUc7QUFDSCxNQUFNLENBQUMsTUFBTSwyQkFBMkIsR0FBRyxDQUFDLFFBQXlDLEVBQVUsRUFBRSxDQUMvRixRQUFRLENBQUMsTUFBTSxDQUFDLENBQUMsR0FBVyxFQUFFLE9BQU8sRUFBRSxFQUFFO0lBQ3ZDLElBQUcsQ0FBQyx3QkFBd0IsQ0FBQyxPQUFPLENBQUMsSUFBSSxFQUFFLE9BQU8sQ0FBQyxJQUFJLENBQUMsRUFBRTtRQUN4RCxPQUFPLEdBQUcsQ0FBQztLQUNaO0lBRUQsSUFBRyxPQUFPLENBQUMsSUFBSSxLQUFLLE1BQU0sRUFBQztRQUN6QixPQUFPLE9BQU8sQ0FBQyxLQUFLLENBQUM7S0FDdEI7U0FBTSxJQUFJLE9BQU8sQ0FBQyxJQUFJLEtBQUssT0FBTyxJQUFJLEdBQUcsS0FBSyxDQUFDLEVBQUU7UUFDaEQsT0FBTyxDQUFDLENBQUMsR0FBRyxPQUFPLENBQUMsS0FBSyxDQUFDO0tBQzNCO1NBQU07UUFDTCxpRkFBaUY7UUFDakYscURBQXFEO1FBQ3JELE9BQ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gICAgcmV0dXJuIC0xICogc2lkZWJhci53aWR0aDtcbiAgICB9IGVsc2Uge1xuICAgICAgLy8gVGhpcyBjb21wb25lbnQgaXMgXCJzdGF0ZWxlc3NcIiwgaXRzIHBvc3NpYmxlIHRvIGhhdmUgdHdvIG9wZW4gXCJ1bmRlclwiIHNpZGViYXJzLlxuICAgICAgLy8gQXMgc3VjaCwgd2UgZGVmZXIgdG8gXCJsZWZ0XCIgYmVpbmcgb3BlbiBieSBkZWZhdWx0LlxuICAgICAgcmV0dXJuIGFjYztcbiAgICB9XG4gIH0sIDApO1xuXG5cbiJdfQ==
@@ -0,0 +1,57 @@
1
+ import { A11yModule } from '@angular/cdk/a11y';
2
+ import { CommonModule } from '@angular/common';
3
+ import { NgModule } from '@angular/core';
4
+ import { DaffBackdropModule } from '@daffodil/design';
5
+ import { DaffSidebarComponent } from './sidebar/sidebar.component';
6
+ import { DaffSidebarFooterComponent } from './sidebar-footer/sidebar-footer.component';
7
+ import { DaffSidebarHeaderActionDirective } from './sidebar-header/sidebar-header-action/sidebar-header-action.directive';
8
+ import { DaffSidebarHeaderTitleDirective } from './sidebar-header/sidebar-header-title/sidebar-header-title.directive';
9
+ import { DaffSidebarHeaderComponent } from './sidebar-header/sidebar-header.component';
10
+ import { DaffSidebarViewportComponent } from './sidebar-viewport/sidebar-viewport.component';
11
+ import * as i0 from "@angular/core";
12
+ export class DaffSidebarModule {
13
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
14
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarModule, declarations: [DaffSidebarComponent,
15
+ DaffSidebarViewportComponent,
16
+ DaffSidebarHeaderComponent,
17
+ DaffSidebarFooterComponent,
18
+ DaffSidebarHeaderTitleDirective,
19
+ DaffSidebarHeaderActionDirective], imports: [CommonModule,
20
+ A11yModule,
21
+ DaffBackdropModule], exports: [DaffSidebarComponent,
22
+ DaffSidebarViewportComponent,
23
+ DaffSidebarHeaderComponent,
24
+ DaffSidebarFooterComponent,
25
+ DaffSidebarHeaderTitleDirective,
26
+ DaffSidebarHeaderActionDirective] }); }
27
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarModule, imports: [CommonModule,
28
+ A11yModule,
29
+ DaffBackdropModule] }); }
30
+ }
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarModule, decorators: [{
32
+ type: NgModule,
33
+ args: [{
34
+ imports: [
35
+ CommonModule,
36
+ A11yModule,
37
+ DaffBackdropModule,
38
+ ],
39
+ declarations: [
40
+ DaffSidebarComponent,
41
+ DaffSidebarViewportComponent,
42
+ DaffSidebarHeaderComponent,
43
+ DaffSidebarFooterComponent,
44
+ DaffSidebarHeaderTitleDirective,
45
+ DaffSidebarHeaderActionDirective,
46
+ ],
47
+ exports: [
48
+ DaffSidebarComponent,
49
+ DaffSidebarViewportComponent,
50
+ DaffSidebarHeaderComponent,
51
+ DaffSidebarFooterComponent,
52
+ DaffSidebarHeaderTitleDirective,
53
+ DaffSidebarHeaderActionDirective,
54
+ ],
55
+ }]
56
+ }] });
57
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zaWRlYmFyL3NyYy9zaWRlYmFyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDL0MsT0FBTyxFQUFF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angeDetectionStrategy, Component, } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/router";
4
+ import * as i2 from "@daffodil/design/tree";
5
+ export class BasicTreeComponent {
6
+ constructor() {
7
+ this.tree = {
8
+ title: 'Root',
9
+ items: [
10
+ {
11
+ title: 'Example Children',
12
+ items: [
13
+ { title: 'Example Child', url: '#', id: '', items: [], data: {} },
14
+ ],
15
+ url: '#',
16
+ id: '',
17
+ data: {},
18
+ },
19
+ {
20
+ title: 'Example Link',
21
+ items: [],
22
+ url: '#',
23
+ id: '',
24
+ data: {},
25
+ },
26
+ ],
27
+ url: '',
28
+ id: '',
29
+ data: {},
30
+ };
31
+ }
32
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicTreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
33
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: BasicTreeComponent, selector: "basic-tree", ngImport: i0, template: "<ul daff-tree [tree]=\"tree\">\n\t<ng-template #daffTreeItemWithChildrenTpl let-node>\n\t\t\t<button daffTreeItem [node]=\"node\">{{ node.title }} </button>\n\t</ng-template>\n\t\n\t<ng-template #daffTreeItemTpl let-node>\n\t\t\t<a daffTreeItem [node]=\"node\" [routerLink]=\"node.url\">{{ node.title }}</a>\n\t</ng-template>\n</ul>\n\n", dependencies: [{ kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i2.DaffTreeComponent, selector: "ul[daff-tree]", inputs: ["tree"] }, { kind: "directive", type: i2.DaffTreeItemDirective, selector: "[daffTreeItem]", inputs: ["node", "selected"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
34
+ }
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicTreeComponent, decorators: [{
36
+ type: Component,
37
+ args: [{ selector: 'basic-tree', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ul daff-tree [tree]=\"tree\">\n\t<ng-template #daffTreeItemWithChildrenTpl let-node>\n\t\t\t<button daffTreeItem [node]=\"node\">{{ node.title }} </button>\n\t</ng-template>\n\t\n\t<ng-template #daffTreeItemTpl let-node>\n\t\t\t<a daffTreeItem [node]=\"node\" [routerLink]=\"node.url\">{{ node.title }}</a>\n\t</ng-template>\n</ul>\n\n" }]
38
+ }] });
39
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzaWMtdHJlZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi90cmVlL2V4YW1wbGVzL3NyYy9iYXNpYy10cmVlL2Jhc2ljLXRyZWUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vdHJlZS9leGFtcGxlcy9zcmMvYmFzaWMtdHJlZS9iYXNpYy10cmVlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxHQUNWLE1BQU0sZUFBZSxDQUFDOzs7O0FBVXZCLE1BQU0sT0FBTyxrQkFBa0I7SUFOL0I7UUFPRSxTQUFJLEdBQTBCO1lBQzVCLEtBQUssRUFBRSxNQUFNO1lBQ2IsS0FBSyxFQUFFO2dCQUNMO29CQUNFLEtBQUssRUFBRSxrQkFBa0I7b0JBQ3pCLEtBQUssRUFBRTt3QkFDTCxFQUFFLEtBQUssRUFBRSxlQUFlLEVBQUUsR0FBRyxFQUFFLEdBQUcsRUFBRSxFQUFFLEVBQUUsRUFBRSxFQUF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ZW1wbGF0ZT5cbjwvdWw+XG5cbiJdfQ==
@@ -0,0 +1,32 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { RouterModule } from '@angular/router';
3
+ import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
4
+ import { DaffTreeModule } from '@daffodil/design/tree';
5
+ import { BasicTreeComponent } from './basic-tree.component';
6
+ import * as i0 from "@angular/core";
7
+ export class BasicTreeModule {
8
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicTreeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: BasicTreeModule, declarations: [BasicTreeComponent], imports: [RouterModule,
10
+ DaffTreeModule,
11
+ FontAwesomeModule], exports: [BasicTreeComponent] }); }
12
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicTreeModule, imports: [RouterModule,
13
+ DaffTreeModule,
14
+ FontAwesomeModule] }); }
15
+ }
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicTreeModule, decorators: [{
17
+ type: NgModule,
18
+ args: [{
19
+ declarations: [
20
+ BasicTreeComponent,
21
+ ],
22
+ exports: [
23
+ BasicTreeComponent,
24
+ ],
25
+ imports: [
26
+ RouterModule,
27
+ DaffTreeModule,
28
+ FontAwesomeModule,
29
+ ],
30
+ }]
31
+ }] });
32
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzaWMtdHJlZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi90cmVlL2V4YW1wbGVzL3NyYy9iYX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ZlRyZWVNb2R1bGUgfSBmcm9tICdAZGFmZm9kaWwvZGVzaWduL3RyZWUnO1xuXG5pbXBvcnQgeyBCYXNpY1RyZWVDb21wb25lbnQgfSBmcm9tICcuL2Jhc2ljLXRyZWUuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgQmFzaWNUcmVlQ29tcG9uZW50LFxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgQmFzaWNUcmVlQ29tcG9uZW50LFxuICBdLFxuICBpbXBvcnRzOiBbXG4gICAgUm91dGVyTW9kdWxlLFxuICAgIERhZmZUcmVlTW9kdWxlLFxuICAgIEZvbnRBd2Vzb21lTW9kdWxlLFxuICBdLFxufSlcbmV4cG9ydCBjbGFzcyBCYXNpY1RyZWVNb2R1bGUgeyB9XG4iXX0=
@@ -0,0 +1,45 @@
1
+ import { __decorate } from "tslib";
2
+ import { Inject, } from '@angular/core';
3
+ import { BehaviorSubject } from 'rxjs';
4
+ /**
5
+ * This service is used by tree-items to notify their parent
6
+ * that the tree has to be re-computed.
7
+ *
8
+ * This service is a multiton associated with each tree instance.
9
+ * It follows the same lifecycle has the tree it is associated with.
10
+ */
11
+ let DaffTreeNotifierService = class DaffTreeNotifierService {
12
+ constructor() {
13
+ /**
14
+ * @docs-private
15
+ */
16
+ this._notice = new BehaviorSubject(true);
17
+ /**
18
+ * An observable that emits when the tree needs to be re-computed.
19
+ */
20
+ this.notice$ = this._notice.asObservable();
21
+ }
22
+ /**
23
+ * `notify` can be called to trigger a re-computation of the tree
24
+ * if data has changed unexpectedly and a re-render did not occur.
25
+ *
26
+ * This should be used sparingly. Instead, prefer updating `data` on the tree
27
+ * itself for performance reasons.
28
+ */
29
+ notify() {
30
+ this._notice.next(true);
31
+ }
32
+ /**
33
+ * Cleanup when the tree is destroyed.
34
+ *
35
+ * @docs-private
36
+ */
37
+ ngOnDestroy() {
38
+ this._notice.complete();
39
+ }
40
+ };
41
+ DaffTreeNotifierService = __decorate([
42
+ Inject({})
43
+ ], DaffTreeNotifierService);
44
+ export { DaffTreeNotifierService };
45
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS1ub3RpZmllci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vdHJlZS9zcmMvdHJlZS90cmVlLW5vdGlmaWVyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFDTCxNQUFNLEdBRVAsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUV2Qzs7Ozs7O0dBTUc7QUFFSSxJQUFNLHVCQUF1QixHQUE3QixNQUFNLHVCQUF1QjtJQUE3QjtRQUVMOztXQUVHO1FBQ0ssWUFBTyxHQUE2QixJQUFJLGVBQWUsQ0FBVSxJQUFJLENBQUMsQ0FBQztRQUUvRTs7V0FFRztRQUNILFlBQU8sR0FBRyxJQUFJLENBQUMsT0FBTyxDQUFDLFlBQVksRUFBRSxDQUFDO0lBcUJ4QyxDQUFDO0lBbkJDOzs7Ozs7T0FNRztJQUNILE1BQU07UUFDSixJQUFJLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUMxQixDQUFDO0lBRUQ7Ozs7T0FJRztJQUNILFdBQVc7UUFDVCxJQUFJLENBQUMsT0FBTyxDQUFDLFFBQVEsRUFBRSxDQUFDO0lBQzFCLENBQUM7Q0FDRixDQUFBO0FBL0JZLHVCQUF1QjtJQURuQyxNQUFNLENBQUMsRUFBRSxDQUFDO0dBQ0UsdUJBQXVCLENBK0JuQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XG4gIEluamVjdCxcbiAgT25EZXN0cm95LFxufSBmcm9tICdAYW5ndWxh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HVzZWQgc3BhcmluZ2x5LiBJbnN0ZWFkLCBwcmVmZXIgdXBkYXRpbmcgYGRhdGFgIG9uIHRoZSB0cmVlXG4gICAqIGl0c2VsZiBmb3IgcGVyZm9ybWFuY2UgcmVhc29ucy5cbiAgICovXG4gIG5vdGlmeSgpIHtcbiAgICB0aGlzLl9ub3RpY2UubmV4dCh0cnVlKTtcbiAgfVxuXG4gIC8qKlxuICAgKiBDbGVhbnVwIHdoZW4gdGhlIHRyZWUgaXMgZGVzdHJveWVkLlxuICAgKlxuICAgKiBAZG9jcy1wcml2YXRlXG4gICAqL1xuICBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICB0aGlzLl9ub3RpY2UuY29tcGxldGUoKTtcbiAgfVxufVxuIl19
@@ -0,0 +1,106 @@
1
+ import { ChangeDetectionStrategy, Component, ContentChild, HostBinding, Input, TemplateRef, ViewEncapsulation, } from '@angular/core';
2
+ import { DaffTreeNotifierService } from './tree-notifier.service';
3
+ import { flattenTree, } from '../utils/flatten-tree';
4
+ import { hydrateTree } from '../utils/hydrate-tree';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "./tree-notifier.service";
7
+ import * as i2 from "@angular/common";
8
+ /**
9
+ * The `DaffTreeComponent` allows you to render tree structures as interactable ui.
10
+ *
11
+ * They can be used like:
12
+ *
13
+ * ```html
14
+ * <ul daff-tree [tree]="tree">
15
+ * <ng-template #daffTreeItemWithChildrenTpl let-node>
16
+ * <button daffTreeItem [node]="node">{{ node.title }} </button>
17
+ * </ng-template>
18
+ *
19
+ * <ng-template #daffTreeItemTpl let-node>
20
+ * <a daffTreeItem [node]="node" [routerLink]="node.url">{{ node.title }}</a>
21
+ * </ng-template>
22
+ * </ul>
23
+ * ```
24
+ *
25
+ * where `tree` is a {@link DaffTreeData}.
26
+ *
27
+ */
28
+ export class DaffTreeComponent {
29
+ /**
30
+ * The tree data you would like to render.
31
+ */
32
+ get dataTree() {
33
+ return this._dataTree;
34
+ }
35
+ set dataTree(dataTree) {
36
+ if (!dataTree) {
37
+ this._dataTree = undefined;
38
+ this.tree = undefined;
39
+ this.flatTree = [];
40
+ return;
41
+ }
42
+ this._dataTree = dataTree;
43
+ this.tree = hydrateTree(this.dataTree);
44
+ this.flatTree = flattenTree(this.tree);
45
+ }
46
+ ;
47
+ constructor(notifier) {
48
+ this.notifier = notifier;
49
+ /**
50
+ * The css class of the daff-tree.
51
+ *
52
+ * @docs-private
53
+ */
54
+ this.class = true;
55
+ /**
56
+ * The internal tree element.
57
+ */
58
+ this.tree = undefined;
59
+ /**
60
+ * The flattened tree data. You can iterate through this if you want to inspect
61
+ * the resulting array structure we computed to render the tree.
62
+ */
63
+ this.flatTree = [];
64
+ /**
65
+ * @docs-private
66
+ */
67
+ this._dataTree = undefined;
68
+ }
69
+ /**
70
+ * The track-by function used to reduce tree-item re-renders
71
+ */
72
+ trackByTreeElement(index, el) {
73
+ return el.title;
74
+ }
75
+ /**
76
+ * @docs-private
77
+ */
78
+ ngOnInit() {
79
+ this.notifier.notice$.subscribe(() => {
80
+ this.flatTree = flattenTree(this.tree);
81
+ });
82
+ }
83
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffTreeComponent, deps: [{ token: i1.DaffTreeNotifierService }], target: i0.ɵɵFactoryTarget.Component }); }
84
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffTreeComponent, selector: "ul[daff-tree]", inputs: { dataTree: ["tree", "dataTree"] }, host: { properties: { "class.daff-tree": "this.class" } }, providers: [
85
+ DaffTreeNotifierService,
86
+ ], queries: [{ propertyName: "withChildrenTemplate", first: true, predicate: ["daffTreeItemWithChildrenTpl"], descendants: true, static: true }, { propertyName: "treeItemTemplate", first: true, predicate: ["daffTreeItemTpl"], descendants: true, static: true }], ngImport: i0, template: "<ng-container *ngFor=\"let node of flatTree; trackBy: trackByTreeElement\">\n\t<li [attr.aria-level]=\"node.level\">\n\t\t<ng-container \n\t\t\t*ngTemplateOutlet=\"node.hasChildren ? withChildrenTemplate : treeItemTemplate; context: { $implicit: node }\">\n\t\t</ng-container>\t\n\t</li>\n</ng-container>", styles: [".daff-tree{margin:0;padding:0;list-style:none;--tree-padding: 16px}.daff-tree-item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;position:relative;background:none;border:0;padding:8px 16px 8px 0;line-height:1.5rem;font-weight:400;text-align:left;text-decoration:none;width:100%;padding-left:calc(var(--tree-padding) * (var(--depth)))}.daff-tree-item:before{content:\"\";position:absolute;top:0;bottom:0;left:0;width:4px}.daff-tree-item:focus,.daff-tree-item:focus-visible{z-index:1}.daff-tree-item.selected{font-weight:600}.daff-tree-item__parent{position:relative}.daff-tree-item__parent:after{content:\"\";position:absolute;top:48%;right:16px;display:inline-block;border-right:2px solid currentColor;border-bottom:2px solid currentColor;width:8px;height:8px;transform:translateY(-50%) rotate(45deg);transition:transform .15s}.daff-tree-item__parent.open:after{top:56%;transform:translateY(-50%) rotate(225deg)}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
87
+ }
88
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffTreeComponent, decorators: [{
89
+ type: Component,
90
+ args: [{ selector: 'ul[daff-tree]', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
91
+ DaffTreeNotifierService,
92
+ ], template: "<ng-container *ngFor=\"let node of flatTree; trackBy: trackByTreeElement\">\n\t<li [attr.aria-level]=\"node.level\">\n\t\t<ng-container \n\t\t\t*ngTemplateOutlet=\"node.hasChildren ? withChildrenTemplate : treeItemTemplate; context: { $implicit: node }\">\n\t\t</ng-container>\t\n\t</li>\n</ng-container>", styles: [".daff-tree{margin:0;padding:0;list-style:none;--tree-padding: 16px}.daff-tree-item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;position:relative;background:none;border:0;padding:8px 16px 8px 0;line-height:1.5rem;font-weight:400;text-align:left;text-decoration:none;width:100%;padding-left:calc(var(--tree-padding) * (var(--depth)))}.daff-tree-item:before{content:\"\";position:absolute;top:0;bottom:0;left:0;width:4px}.daff-tree-item:focus,.daff-tree-item:focus-visible{z-index:1}.daff-tree-item.selected{font-weight:600}.daff-tree-item__parent{position:relative}.daff-tree-item__parent:after{content:\"\";position:absolute;top:48%;right:16px;display:inline-block;border-right:2px solid currentColor;border-bottom:2px solid currentColor;width:8px;height:8px;transform:translateY(-50%) rotate(45deg);transition:transform .15s}.daff-tree-item__parent.open:after{top:56%;transform:translateY(-50%) rotate(225deg)}\n"] }]
93
+ }], ctorParameters: () => [{ type: i1.DaffTreeNotifierService }], propDecorators: { class: [{
94
+ type: HostBinding,
95
+ args: ['class.daff-tree']
96
+ }], dataTree: [{
97
+ type: Input,
98
+ args: ['tree']
99
+ }], withChildrenTemplate: [{
100
+ type: ContentChild,
101
+ args: ['daffTreeItemWithChildrenTpl', { static: true }]
102
+ }], treeItemTemplate: [{
103
+ type: ContentChild,
104
+ args: ['daffTreeItemTpl', { static: true }]
105
+ }] } });
106
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi90cmVlL3N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ZXIsIGVsOiBhbnkpOiBhbnkge1xuICAgIHJldHVybiBlbC50aXRsZTtcbiAgfVxuXG4gIC8qKlxuICAgKiBAZG9jcy1wcml2YXRlXG4gICAqL1xuICBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgICB0aGlzLm5vdGlmaWVyLm5vdGljZSQuc3Vic2NyaWJlKCgpID0+IHtcbiAgICAgIHRoaXMuZmxhdFRyZWUgPSBmbGF0dGVuVHJlZSh0aGlzLnRyZWUpO1xuICAgIH0pO1xuICB9XG59XG4iLCI8bmctY29udGFpbmVyICpuZ0Zvcj1cImxldCBub2RlIG9mIGZsYXRUcmVlOyB0cmFja0J5OiB0cmFja0J5VHJlZUVsZW1lbnRcIj5cblx0PGxpIFthdHRyLmFyaWEtbGV2ZWxdPVwibm9kZS5sZXZlbFwiPlxuXHRcdDxuZy1jb250YWluZXIgXG5cdFx0XHQqbmdUZW1wbGF0ZU91dGxldD1cIm5vZGUuaGFzQ2hpbGRyZW4gPyB3aXRoQ2hpbGRyZW5UZW1wbGF0ZSA6IHRyZWVJdGVtVGVtcGxhdGU7IGNvbnRleHQ6IHsgJGltcGxpY2l0OiBub2RlIH1cIj5cblx0XHQ8L25nLWNvbnRhaW5lcj5cdFxuXHQ8L2xpPlxuPC9uZy1jb250YWluZXI+Il19
@@ -0,0 +1,154 @@
1
+ import { DOCUMENT } from '@angular/common';
2
+ import { Directive, HostBinding, HostListener, Inject, Input, } from '@angular/core';
3
+ import { DaffTreeNotifierService } from '../tree/tree-notifier.service';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "../tree/tree-notifier.service";
6
+ /**
7
+ * The `DaffTreeItemDirective` allows you to demarcate the elements which are
8
+ * tree-children that interact with the parent tree.
9
+ *
10
+ * They can be used like:
11
+ *
12
+ * ```html
13
+ * <ul daff-tree [tree]="tree">
14
+ * <ng-template #daffTreeItemWithChildrenTpl let-node>
15
+ * <button daffTreeItem [node]="node">{{ node.title }} </button>
16
+ * </ng-template>
17
+ *
18
+ * <ng-template #daffTreeItemTpl let-node>
19
+ * <a daffTreeItem [node]="node" [routerLink]="node.url">{{ node.title }}</a>
20
+ * </ng-template>
21
+ * </ul>
22
+ * ```
23
+ *
24
+ * where `tree` is a {@link DaffTreeData} and `daff-tree` is a {@link DaffTreeComponent}.
25
+ *
26
+ */
27
+ export class DaffTreeItemDirective {
28
+ /**
29
+ * The CSS class indicating whether or not the tree is `selected`.
30
+ */
31
+ get selectedClass() {
32
+ return this.selected;
33
+ }
34
+ ;
35
+ /**
36
+ * The {@link DaffTreeFlatNode} associated with this specific tree item.
37
+ */
38
+ get node() {
39
+ return this._node;
40
+ }
41
+ ;
42
+ set node(val) {
43
+ this._node = val;
44
+ this.id = 'tree-' + this._node.id;
45
+ this.ariaExpanded = this._node._treeRef.open ? 'true' : 'false';
46
+ this.depth = this._node.level;
47
+ this.classParent = this._node.hasChildren;
48
+ this.openClass = this._node._treeRef.open;
49
+ }
50
+ constructor(document, treeNotifier) {
51
+ this.document = document;
52
+ this.treeNotifier = treeNotifier;
53
+ /**
54
+ * The css class of the daff-tree.
55
+ *
56
+ * @docs-private
57
+ */
58
+ this.class = true;
59
+ /**
60
+ * The css class of a DaffTreeItemDirective that has children.
61
+ *
62
+ * @docs-private
63
+ */
64
+ this.classParent = false;
65
+ /**
66
+ * The CSS class indicating whether or not the tree is `open`.
67
+ */
68
+ this.openClass = false;
69
+ /**
70
+ * Whether or not the tree item is the currently active item.
71
+ * Note that there is no requirement there there only be one active item at a time.
72
+ */
73
+ this.selected = false;
74
+ }
75
+ /**
76
+ * @docs-private
77
+ */
78
+ onEscape() {
79
+ this.toggleParent(this.node);
80
+ }
81
+ /**
82
+ * @docs-private
83
+ */
84
+ onClick() {
85
+ if (this.node.hasChildren) {
86
+ this.toggleTree(this.node);
87
+ }
88
+ this.treeNotifier.notify();
89
+ }
90
+ /**
91
+ * Toggle the open state of the tree's parent.
92
+ */
93
+ toggleParent(node) {
94
+ if (node._treeRef?.parent.parent === undefined) {
95
+ return;
96
+ }
97
+ node._treeRef.parent.open = !node._treeRef.parent.open;
98
+ this.document.getElementById('tree-' + node._treeRef.parent.id).focus();
99
+ }
100
+ /**
101
+ * Toggle the open state of this specific subtree tree.
102
+ */
103
+ toggleTree(node) {
104
+ if (node._treeRef.open === false) {
105
+ node._treeRef.open = true;
106
+ }
107
+ else {
108
+ node._treeRef.open = false;
109
+ }
110
+ }
111
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffTreeItemDirective, deps: [{ token: DOCUMENT }, { token: i1.DaffTreeNotifierService }], target: i0.ɵɵFactoryTarget.Directive }); }
112
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: DaffTreeItemDirective, selector: "[daffTreeItem]", inputs: { node: "node", selected: "selected" }, host: { listeners: { "keydown.escape": "onEscape()", "click": "onClick()" }, properties: { "class.daff-tree-item": "this.class", "class.daff-tree-item__parent": "this.classParent", "attr.id": "this.id", "attr.aria-expanded": "this.ariaExpanded", "style.--depth": "this.depth", "class.selected": "this.selectedClass", "class.open": "this.openClass" } }, ngImport: i0 }); }
113
+ }
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffTreeItemDirective, decorators: [{
115
+ type: Directive,
116
+ args: [{
117
+ selector: '[daffTreeItem]',
118
+ }]
119
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
120
+ type: Inject,
121
+ args: [DOCUMENT]
122
+ }] }, { type: i1.DaffTreeNotifierService }], propDecorators: { class: [{
123
+ type: HostBinding,
124
+ args: ['class.daff-tree-item']
125
+ }], classParent: [{
126
+ type: HostBinding,
127
+ args: ['class.daff-tree-item__parent']
128
+ }], id: [{
129
+ type: HostBinding,
130
+ args: ['attr.id']
131
+ }], ariaExpanded: [{
132
+ type: HostBinding,
133
+ args: ['attr.aria-expanded']
134
+ }], depth: [{
135
+ type: HostBinding,
136
+ args: ['style.--depth']
137
+ }], selectedClass: [{
138
+ type: HostBinding,
139
+ args: ['class.selected']
140
+ }], openClass: [{
141
+ type: HostBinding,
142
+ args: ['class.open']
143
+ }], node: [{
144
+ type: Input
145
+ }], selected: [{
146
+ type: Input
147
+ }], onEscape: [{
148
+ type: HostListener,
149
+ args: ['keydown.escape']
150
+ }], onClick: [{
151
+ type: HostListener,
152
+ args: ['click']
153
+ }] } });
154
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS1pdGVtLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3RyZWUvc3JjL3RyZWUtaXRlbS90cmVlLWl0ZW0uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMzQyxPQUFPLEVBQ0wsU0FBUyxFQUNULFdBQVcsRUFDWCxZQUFZLEVBQ1osTUFBTSxFQUNOLEtBQUssR0FDTixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQzs7O0FBR3hFOzs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQW9CRztBQUlILE1BQU0sT0FBTyxxQkFBcUI7SUFzQ2hDOztPQUVHO0lBQ0gsSUFBbUMsYUFBYTtRQUM5QyxPQUFPLElBQUksQ0FBQyxRQUFRLENBQUM7SUFDdkIsQ0FBQztJQUFBLENBQUM7SUFjRjs7T0FFRztJQUNILElBQ0ksSUFBSTtRQUNOLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQztJQUNwQixDQUFDO0lBQUEsQ0FBQztJQUNGLElBQUksSUFBSSxDQUFDLEdBQXFCO1FBQz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H1cbiAgICBub2RlLl90cmVlUmVmLnBhcmVudC5vcGVuID0gIW5vZGUuX3RyZWVSZWYucGFyZW50Lm9wZW47XG4gICAgKDxEb2N1bWVudD50aGlzLmRvY3VtZW50KS5nZXRFbGVtZW50QnlJZCgndHJlZS0nICsgbm9kZS5fdHJlZVJlZi5wYXJlbnQuaWQpLmZvY3VzKCk7XG4gIH1cblxuICAvKipcbiAgICogVG9nZ2xlIHRoZSBvcGVuIHN0YXRlIG9mIHRoaXMgc3BlY2lmaWMgc3VidHJlZSB0cmVlLlxuICAgKi9cbiAgdG9nZ2xlVHJlZShub2RlOiBEYWZmVHJlZUZsYXROb2RlKSB7XG4gICAgaWYobm9kZS5fdHJlZVJlZi5vcGVuID09PSBmYWxzZSkge1xuICAgICAgbm9kZS5fdHJlZVJlZi5vcGVuID0gdHJ1ZTtcbiAgICB9IGVsc2Uge1xuICAgICAgbm9kZS5fdHJlZVJlZi5vcGVuID0gZmFsc2U7XG4gICAgfVxuICB9XG59XG4iXX0=
@@ -0,0 +1,29 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { NgModule } from '@angular/core';
3
+ import { DaffTreeComponent } from './tree/tree.component';
4
+ import { DaffTreeItemDirective } from './tree-item/tree-item.directive';
5
+ import * as i0 from "@angular/core";
6
+ export class DaffTreeModule {
7
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffTreeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
8
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffTreeModule, declarations: [DaffTreeComponent,
9
+ DaffTreeItemDirective], imports: [CommonModule], exports: [DaffTreeComponent,
10
+ DaffTreeItemDirective] }); }
11
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffTreeModule, imports: [CommonModule] }); }
12
+ }
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffTreeModule, decorators: [{
14
+ type: NgModule,
15
+ args: [{
16
+ declarations: [
17
+ DaffTreeComponent,
18
+ DaffTreeItemDirective,
19
+ ],
20
+ imports: [
21
+ CommonModule,
22
+ ],
23
+ exports: [
24
+ DaffTreeComponent,
25
+ DaffTreeItemDirective,
26
+ ],
27
+ }]
28
+ }] });
29
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi90cmVlL3NyYy90cmVlLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6QyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUMxRCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQzs7QUFleEUsTUFBTSxPQUFPLGNBQWM7aUlBQWQsY0FBYztrSUFBZCxjQUFjLGlCQVh2QixpQkFBaUI7WUFDakIscUJBQXFCLGFBR3JCLFlBQVksYUFHWixpQkFBaUI7WUFDakIscUJBQXFCO2tJQUdaLGNBQWMsWUFQdkIsWUFBWTs7MkZBT0gsY0FBYztrQkFiMUIsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUU7d0JBQ1osaUJBQWlCO3dCQUNqQixxQkFBcUI7cUJBQ3RCO29CQUNELE9BQU8sRUFBRTt3QkFDUCxZQUFZO3FCQUNiO29CQUNELE9BQU8sRUFBRTt3QkFDUCxpQkFBaUI7d0JBQ2pCLHFCQUFxQjtxQkFDdEI7aUJBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHsgRGFmZlRyZWVDb21wb25lbnQgfSBmcm9tICcuL3RyZWUvdHJlZS5jb21wb25lbnQnO1xuaW1wb3J0IHsgRGFmZlRyZWVJdGVtRGlyZWN0aXZlIH0gZnJvbSAnLi90cmVlLWl0ZW0vdHJlZS1pdGVtLmRpcmVjdGl2ZSc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1xuICAgIERhZmZUcmVlQ29tcG9uZW50LFxuICAgIERhZmZUcmVlSXRlbURpcmVjdGl2ZSxcbiAgXSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIERhZmZUcmVlQ29tcG9uZW50LFxuICAgIERhZmZUcmVlSXRlbURpcmVjdGl2ZSxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgRGFmZlRyZWVNb2R1bGUgeyB9XG4iXX0=
@@ -9,4 +9,4 @@ export interface ComponentExampleWithModule {
9
9
  /**
10
10
  * An example of a component
11
11
  */
12
- export declare type ComponentExample = ComponentExampleWithModule | Type<any>;
12
+ export type ComponentExample = ComponentExampleWithModule | Type<any>;
@@ -0,0 +1,45 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import * as i1 from '@daffodil/design/accordion';
4
+ import { DaffAccordionModule } from '@daffodil/design/accordion';
5
+ import { CommonModule } from '@angular/common';
6
+
7
+ class BasicAccordionComponent {
8
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicAccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: BasicAccordionComponent, selector: "basic-accordion", ngImport: i0, template: "<daff-accordion>\n\t<daff-accordion-item initiallyActive=\"true\">\n\t\t<h3 daffAccordionItemTitle>Details</h3>\n\t\t<div daffAccordionItemContent>\n\t\t\t\tLorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent commodo \n\t\t\t\tlacus ut sapien consectetur, et ultricies leo rutrum. Integer iaculis ultrices nunc, \n\t\t\t\tet maximus quam efficitur sed. Maecenas iaculis nisl neque, maximus sagittis libero sagittis eget.\n\t\t\t\t<a>Learn More.</a>\n\t\t</div>\n\t</daff-accordion-item>\n\t<daff-accordion-item>\n\t\t<h3 daffAccordionItemTitle>Details</h3>\n\t\t<div daffAccordionItemContent>\n\t\t\t\tLorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent commodo \n\t\t\t\tlacus ut sapien consectetur, et ultricies leo rutrum. Integer iaculis ultrices nunc, \n\t\t\t\tet maximus quam efficitur sed. Maecenas iaculis nisl neque, maximus sagittis libero sagittis eget.\n\t\t\t\t<a>Learn More.</a>\n\t\t</div>\n\t</daff-accordion-item>\n\t<daff-accordion-item>\n\t\t<h3 daffAccordionItemTitle>Details</h3>\n\t\t<div daffAccordionItemContent>\n\t\t\t\tLorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent commodo \n\t\t\t\tlacus ut sapien consectetur, et ultricies leo rutrum. Integer iaculis ultrices nunc, \n\t\t\t\tet maximus quam efficitur sed. Maecenas iaculis nisl neque, maximus sagittis libero sagittis eget.\n\t\t\t\t<a>Learn More.</a>\n\t\t</div>\n\t</daff-accordion-item>\n</daff-accordion>\n", dependencies: [{ kind: "component", type: i1.DaffAccordionComponent, selector: "daff-accordion" }, { kind: "component", type: i1.DaffAccordionItemComponent, selector: "daff-accordion-item", inputs: ["initiallyActive"] }, { kind: "directive", type: i1.DaffAccordionItemTitleDirective, selector: "[daffAccordionItemTitle]" }, { kind: "directive", type: i1.DaffAccordionItemContentDirective, selector: "[daffAccordionItemContent]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
10
+ }
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicAccordionComponent, decorators: [{
12
+ type: Component,
13
+ args: [{ selector: 'basic-accordion', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-accordion>\n\t<daff-accordion-item initiallyActive=\"true\">\n\t\t<h3 daffAccordionItemTitle>Details</h3>\n\t\t<div daffAccordionItemContent>\n\t\t\t\tLorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent commodo \n\t\t\t\tlacus ut sapien consectetur, et ultricies leo rutrum. Integer iaculis ultrices nunc, \n\t\t\t\tet maximus quam efficitur sed. Maecenas iaculis nisl neque, maximus sagittis libero sagittis eget.\n\t\t\t\t<a>Learn More.</a>\n\t\t</div>\n\t</daff-accordion-item>\n\t<daff-accordion-item>\n\t\t<h3 daffAccordionItemTitle>Details</h3>\n\t\t<div daffAccordionItemContent>\n\t\t\t\tLorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent commodo \n\t\t\t\tlacus ut sapien consectetur, et ultricies leo rutrum. Integer iaculis ultrices nunc, \n\t\t\t\tet maximus quam efficitur sed. Maecenas iaculis nisl neque, maximus sagittis libero sagittis eget.\n\t\t\t\t<a>Learn More.</a>\n\t\t</div>\n\t</daff-accordion-item>\n\t<daff-accordion-item>\n\t\t<h3 daffAccordionItemTitle>Details</h3>\n\t\t<div daffAccordionItemContent>\n\t\t\t\tLorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent commodo \n\t\t\t\tlacus ut sapien consectetur, et ultricies leo rutrum. Integer iaculis ultrices nunc, \n\t\t\t\tet maximus quam efficitur sed. Maecenas iaculis nisl neque, maximus sagittis libero sagittis eget.\n\t\t\t\t<a>Learn More.</a>\n\t\t</div>\n\t</daff-accordion-item>\n</daff-accordion>\n" }]
14
+ }] });
15
+
16
+ const ACCORDION_EXAMPLES = [
17
+ BasicAccordionComponent,
18
+ ];
19
+
20
+ class AccordionExamplesModule {
21
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: AccordionExamplesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
22
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: AccordionExamplesModule, declarations: [BasicAccordionComponent], imports: [CommonModule,
23
+ DaffAccordionModule] }); }
24
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: AccordionExamplesModule, imports: [CommonModule,
25
+ DaffAccordionModule] }); }
26
+ }
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: AccordionExamplesModule, decorators: [{
28
+ type: NgModule,
29
+ args: [{
30
+ declarations: [
31
+ ...ACCORDION_EXAMPLES,
32
+ ],
33
+ imports: [
34
+ CommonModule,
35
+ DaffAccordionModule,
36
+ ],
37
+ }]
38
+ }] });
39
+
40
+ /**
41
+ * Generated bundle index. Do not edit.
42
+ */
43
+
44
+ export { ACCORDION_EXAMPLES, AccordionExamplesModule, BasicAccordionComponent };
45
+ //# sourceMappingURL=daffodil-design-accordion-examples.mjs.map