@daffodil/design 0.66.1 → 0.68.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1411) hide show
  1. package/accordion/README.md +21 -0
  2. package/accordion/accordion/accordion/accordion.component.d.ts +22 -0
  3. package/accordion/accordion/accordion-item/accordion-item.component.d.ts +32 -0
  4. package/accordion/accordion.module.d.ts +13 -0
  5. package/accordion/examples/accordion-examples.module.d.ts +9 -0
  6. package/accordion/examples/examples.d.ts +2 -0
  7. package/accordion/examples/public_api.d.ts +3 -6
  8. package/accordion/index.d.ts +1 -0
  9. package/accordion/public_api.d.ts +5 -0
  10. package/accordion/src/accordion-theme.scss +12 -0
  11. package/article/README.md +49 -0
  12. package/article/examples/article-examples.module.d.ts +1 -1
  13. package/article/index.d.ts +1 -0
  14. package/article/src/article-theme.scss +78 -0
  15. package/atoms/form/checkbox/checkbox.component.d.ts +1 -1
  16. package/atoms/form/checkbox/cva/checkbox-cva.directive.d.ts +1 -1
  17. package/atoms/form/checkbox-set/checkbox-set.component.d.ts +1 -1
  18. package/atoms/form/form-field/form-field/form-field.component.d.ts +1 -1
  19. package/atoms/form/input/input.component.d.ts +1 -1
  20. package/atoms/form/native-select/native-select.component.d.ts +1 -1
  21. package/atoms/form/quantity-field/quantity-field.component.d.ts +1 -1
  22. package/atoms/form/quantity-field/quantity-input/quantity-input.component.d.ts +1 -1
  23. package/atoms/form/quantity-field/quantity-select/quantity-select.component.d.ts +1 -1
  24. package/atoms/form/radio/cva/radio-cva.directive.d.ts +1 -1
  25. package/atoms/form/radio/radio.component.d.ts +1 -1
  26. package/atoms/form/radio-set/radio-set.component.d.ts +1 -1
  27. package/atoms/progress-indicator/progress-indicator.component.d.ts +1 -1
  28. package/button/README.md +58 -0
  29. package/button/button/button.component.d.ts +90 -0
  30. package/button/button.module.d.ts +10 -0
  31. package/button/examples/basic-button/basic-button.module.d.ts +1 -1
  32. package/button/examples/flat-button/flat-button.module.d.ts +1 -1
  33. package/button/examples/icon-button/icon-button.module.d.ts +1 -1
  34. package/button/examples/raised-button/raised-button.module.d.ts +1 -1
  35. package/button/examples/sizeable-button/sizeable-button.module.d.ts +1 -1
  36. package/button/examples/statusable-button/statusable-button.module.d.ts +1 -1
  37. package/button/examples/stroked-button/stroked-button.module.d.ts +1 -1
  38. package/button/examples/underline-button/underline-button.module.d.ts +1 -1
  39. package/button/index.d.ts +1 -0
  40. package/button/public_api.d.ts +2 -0
  41. package/button/src/button-theme-variants/button.scss +26 -0
  42. package/button/src/button-theme-variants/flat.scss +25 -0
  43. package/button/src/button-theme-variants/raised.scss +36 -0
  44. package/button/src/button-theme-variants/stroked.scss +28 -0
  45. package/button/src/button-theme.scss +574 -0
  46. package/callout/README.md +54 -0
  47. package/callout/callout/callout.component.d.ts +78 -0
  48. package/callout/examples/callout-text-alignment/callout-text-alignment.module.d.ts +5 -3
  49. package/callout/examples/callout-theming/callout-theming.module.d.ts +4 -3
  50. package/callout/examples/callout-with-grid/callout-with-grid.module.d.ts +5 -3
  51. package/callout/examples/compact-callout/compact-callout.module.d.ts +5 -3
  52. package/callout/index.d.ts +1 -0
  53. package/callout/src/callout-theme.scss +59 -0
  54. package/card/README.md +60 -0
  55. package/card/card/card.component.d.ts +66 -0
  56. package/card/examples/basic-card/basic-card.module.d.ts +5 -3
  57. package/card/examples/card-orientation/card-orientation.module.d.ts +5 -3
  58. package/card/examples/card-theming/card-theming.module.d.ts +3 -2
  59. package/card/examples/linkable-card/linkable-card.module.d.ts +4 -2
  60. package/card/examples/raised-card/raised-card.module.d.ts +4 -2
  61. package/card/examples/stroked-card/stroked-card.module.d.ts +4 -2
  62. package/card/index.d.ts +1 -0
  63. package/card/src/card-theme-variants/basic-card.scss +6 -0
  64. package/card/src/card-theme-variants/linkable-card.scss +16 -0
  65. package/card/src/card-theme.scss +170 -0
  66. package/checkbox/examples/basic-checkbox/basic-checkbox.module.d.ts +3 -2
  67. package/checkbox/examples/checkbox-set/checkbox-set.module.d.ts +3 -2
  68. package/container/README.md +18 -0
  69. package/container/container/container.component.d.ts +32 -0
  70. package/container/container.module.d.ts +8 -0
  71. package/container/examples/container-sizes/container-sizes.module.d.ts +1 -1
  72. package/container/index.d.ts +1 -0
  73. package/container/public_api.d.ts +2 -0
  74. package/core/colorable/colorable.d.ts +1 -1
  75. package/core/constructor/constructor.d.ts +1 -1
  76. package/core/public_api.d.ts +2 -1
  77. package/core/sizable/public_api.d.ts +2 -0
  78. package/core/sizable/sizable-mixin.d.ts +15 -0
  79. package/core/sizable/sizable.d.ts +23 -0
  80. package/core/statusable/statusable.d.ts +1 -1
  81. package/core/text-alignable/public_api.d.ts +2 -0
  82. package/core/text-alignable/text-alignable.d.ts +4 -1
  83. package/core/theming/services/storage/theme-storage.service.d.ts +1 -1
  84. package/esm2022/accordion/accordion/accordion/accordion.component.mjs +27 -0
  85. package/esm2022/accordion/accordion/accordion-item/accordion-item.component.mjs +54 -0
  86. package/esm2022/accordion/accordion/accordion-item-content/accordion-item-content.directive.mjs +22 -0
  87. package/esm2022/accordion/accordion/accordion-item-title/accordion-item-title.directive.mjs +22 -0
  88. package/esm2022/accordion/accordion/animation/accordion-animation-state.mjs +9 -0
  89. package/esm2022/accordion/accordion/animation/accordion-animation.mjs +18 -0
  90. package/esm2022/accordion/accordion.module.mjs +47 -0
  91. package/esm2022/accordion/daffodil-design-accordion.mjs +5 -0
  92. package/esm2022/accordion/examples/accordion-examples.module.mjs +26 -0
  93. package/esm2022/accordion/examples/basic-accordion/basic-accordion.component.mjs +12 -0
  94. package/esm2022/accordion/examples/examples.mjs +5 -0
  95. package/esm2022/accordion/examples/public_api.mjs +4 -0
  96. package/esm2022/accordion/index.mjs +2 -0
  97. package/esm2022/accordion/public_api.mjs +6 -0
  98. package/esm2022/article/article/article.component.mjs +30 -0
  99. package/esm2022/article/article-lead/article-lead.directive.mjs +22 -0
  100. package/esm2022/article/article-meta/article-meta.directive.mjs +22 -0
  101. package/esm2022/article/article-title/article-title.directive.mjs +22 -0
  102. package/esm2022/article/article.module.mjs +39 -0
  103. package/esm2022/article/daffodil-design-article.mjs +5 -0
  104. package/esm2022/article/examples/article-blockquote/article-blockquote.component.mjs +12 -0
  105. package/esm2022/article/examples/article-code-block/article-code-block.component.mjs +12 -0
  106. package/esm2022/article/examples/article-code-inline/article-code-inline.component.mjs +12 -0
  107. package/esm2022/article/examples/article-examples.module.mjs +36 -0
  108. package/esm2022/article/examples/article-headings/article-headings.component.mjs +12 -0
  109. package/esm2022/article/examples/article-hr/article-hr.component.mjs +12 -0
  110. package/esm2022/article/examples/article-lead/article-lead.component.mjs +12 -0
  111. package/esm2022/article/examples/article-link/article-link.component.mjs +12 -0
  112. package/esm2022/article/examples/article-meta/article-meta.component.mjs +12 -0
  113. package/esm2022/article/examples/article-ol/article-ol.component.mjs +12 -0
  114. package/esm2022/article/examples/article-table/article-table.component.mjs +12 -0
  115. package/esm2022/article/examples/article-ul/article-ul.component.mjs +12 -0
  116. package/esm2022/article/index.mjs +2 -0
  117. package/esm2022/article/public_api.mjs +6 -0
  118. package/esm2022/atoms/form/checkbox/checkbox.component.mjs +142 -0
  119. package/esm2022/atoms/form/checkbox/checkbox.module.mjs +39 -0
  120. package/esm2022/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +94 -0
  121. package/esm2022/atoms/form/checkbox-set/checkbox-set.component.mjs +38 -0
  122. package/esm2022/atoms/form/error-message/error-message.component.mjs +17 -0
  123. package/esm2022/atoms/form/error-message/error-message.module.mjs +20 -0
  124. package/esm2022/atoms/form/form-field/form-field/form-field.component.mjs +102 -0
  125. package/esm2022/atoms/form/form-field/form-field.module.mjs +34 -0
  126. package/esm2022/atoms/form/form-label/form-label.directive.mjs +19 -0
  127. package/esm2022/atoms/form/form-label/form-label.module.mjs +20 -0
  128. package/esm2022/atoms/form/input/input.component.mjs +59 -0
  129. package/esm2022/atoms/form/input/input.module.mjs +24 -0
  130. package/esm2022/atoms/form/native-select/native-select.component.mjs +64 -0
  131. package/esm2022/atoms/form/native-select/native-select.module.mjs +24 -0
  132. package/esm2022/atoms/form/quantity-field/quantity-field.component.mjs +134 -0
  133. package/esm2022/atoms/form/quantity-field/quantity-field.module.mjs +46 -0
  134. package/esm2022/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +97 -0
  135. package/esm2022/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +84 -0
  136. package/esm2022/atoms/form/radio/cva/radio-cva.directive.mjs +89 -0
  137. package/esm2022/atoms/form/radio/radio.component.mjs +132 -0
  138. package/esm2022/atoms/form/radio/radio.module.mjs +34 -0
  139. package/esm2022/atoms/form/radio/registry/radio-registry.mjs +54 -0
  140. package/esm2022/atoms/form/radio-set/radio-set.component.mjs +22 -0
  141. package/esm2022/atoms/progress-indicator/progress-indicator.component.mjs +81 -0
  142. package/esm2022/atoms/progress-indicator/progress-indicator.module.mjs +20 -0
  143. package/esm2022/button/button/button.component.mjs +185 -0
  144. package/esm2022/button/button.module.mjs +34 -0
  145. package/esm2022/button/daffodil-design-button.mjs +5 -0
  146. package/esm2022/button/examples/basic-button/basic-button.component.mjs +19 -0
  147. package/esm2022/button/examples/basic-button/basic-button.module.mjs +28 -0
  148. package/esm2022/button/examples/flat-button/flat-button.component.mjs +19 -0
  149. package/esm2022/button/examples/flat-button/flat-button.module.mjs +28 -0
  150. package/esm2022/button/examples/icon-button/icon-button.component.mjs +17 -0
  151. package/esm2022/button/examples/icon-button/icon-button.module.mjs +28 -0
  152. package/esm2022/button/examples/raised-button/raised-button.component.mjs +19 -0
  153. package/esm2022/button/examples/raised-button/raised-button.module.mjs +28 -0
  154. package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +17 -0
  155. package/esm2022/button/examples/sizeable-button/sizeable-button.module.mjs +28 -0
  156. package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +19 -0
  157. package/esm2022/button/examples/statusable-button/statusable-button.module.mjs +28 -0
  158. package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +19 -0
  159. package/esm2022/button/examples/stroked-button/stroked-button.module.mjs +28 -0
  160. package/esm2022/button/examples/underline-button/underline-button.component.mjs +19 -0
  161. package/esm2022/button/examples/underline-button/underline-button.module.mjs +28 -0
  162. package/esm2022/button/index.mjs +2 -0
  163. package/esm2022/button/public_api.mjs +3 -0
  164. package/esm2022/callout/callout/callout.component.mjs +67 -0
  165. package/esm2022/callout/callout-body/callout-body.directive.mjs +22 -0
  166. package/esm2022/callout/callout-icon/callout-icon.directive.mjs +22 -0
  167. package/esm2022/callout/callout-subtitle/callout-subtitle.directive.mjs +22 -0
  168. package/esm2022/callout/callout-tagline/callout-tagline.directive.mjs +22 -0
  169. package/esm2022/callout/callout-title/callout-title.directive.mjs +22 -0
  170. package/esm2022/callout/callout.module.mjs +49 -0
  171. package/esm2022/callout/daffodil-design-callout.mjs +5 -0
  172. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +29 -0
  173. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +41 -0
  174. package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +32 -0
  175. package/esm2022/callout/examples/callout-theming/callout-theming.module.mjs +37 -0
  176. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +19 -0
  177. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.module.mjs +41 -0
  178. package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +19 -0
  179. package/esm2022/callout/examples/compact-callout/compact-callout.module.mjs +37 -0
  180. package/esm2022/callout/index.mjs +2 -0
  181. package/esm2022/callout/public_api.mjs +8 -0
  182. package/esm2022/card/card/card.component.mjs +112 -0
  183. package/esm2022/card/card-actions/card-actions.directive.mjs +22 -0
  184. package/esm2022/card/card-content/card-content.directive.mjs +22 -0
  185. package/esm2022/card/card-icon/card-icon.directive.mjs +22 -0
  186. package/esm2022/card/card-image/card-image.directive.mjs +22 -0
  187. package/esm2022/card/card-tagline/card-tagline.directive.mjs +22 -0
  188. package/esm2022/card/card-title/card-title.directive.mjs +22 -0
  189. package/esm2022/card/card.module.mjs +54 -0
  190. package/esm2022/card/daffodil-design-card.mjs +5 -0
  191. package/esm2022/card/examples/basic-card/basic-card.component.mjs +19 -0
  192. package/esm2022/card/examples/basic-card/basic-card.module.mjs +40 -0
  193. package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +28 -0
  194. package/esm2022/card/examples/card-orientation/card-orientation.module.mjs +44 -0
  195. package/esm2022/card/examples/card-theming/card-theming.component.mjs +28 -0
  196. package/esm2022/card/examples/card-theming/card-theming.module.mjs +36 -0
  197. package/esm2022/card/examples/linkable-card/linkable-card.component.mjs +31 -0
  198. package/esm2022/card/examples/linkable-card/linkable-card.module.mjs +44 -0
  199. package/esm2022/card/examples/raised-card/raised-card.component.mjs +29 -0
  200. package/esm2022/card/examples/raised-card/raised-card.module.mjs +40 -0
  201. package/esm2022/card/examples/stroked-card/stroked-card.component.mjs +29 -0
  202. package/esm2022/card/examples/stroked-card/stroked-card.module.mjs +44 -0
  203. package/esm2022/card/index.mjs +2 -0
  204. package/esm2022/card/public_api.mjs +9 -0
  205. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +27 -0
  206. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +33 -0
  207. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +29 -0
  208. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.module.mjs +33 -0
  209. package/esm2022/container/container/container.component.mjs +37 -0
  210. package/esm2022/container/container.module.mjs +24 -0
  211. package/esm2022/container/daffodil-design-container.mjs +5 -0
  212. package/esm2022/container/examples/container-sizes/container-sizes.component.mjs +25 -0
  213. package/esm2022/container/examples/container-sizes/container-sizes.module.mjs +32 -0
  214. package/esm2022/container/index.mjs +2 -0
  215. package/esm2022/container/public_api.mjs +3 -0
  216. package/esm2022/core/colorable/colorable-mixin.mjs +42 -0
  217. package/esm2022/core/compactable/compactable-mixin.mjs +26 -0
  218. package/esm2022/core/focus/stack.service.mjs +71 -0
  219. package/esm2022/core/prefix-suffix/prefix-suffix.module.mjs +26 -0
  220. package/esm2022/core/prefix-suffix/prefix.directive.mjs +24 -0
  221. package/esm2022/core/prefix-suffix/prefixable/prefixable.mjs +23 -0
  222. package/esm2022/core/prefix-suffix/suffix.directive.mjs +24 -0
  223. package/esm2022/core/prefix-suffix/suffixable/suffixable.mjs +23 -0
  224. package/esm2022/core/public_api.mjs +18 -0
  225. package/esm2022/core/sizable/public_api.mjs +3 -0
  226. package/esm2022/core/sizable/sizable-mixin.mjs +31 -0
  227. package/esm2022/core/sizable/sizable.mjs +13 -0
  228. package/esm2022/core/skeletonable/skeletonable-mixin.mjs +26 -0
  229. package/esm2022/core/statusable/statusable-mixin.mjs +32 -0
  230. package/esm2022/core/text-alignable/public_api.mjs +3 -0
  231. package/esm2022/core/text-alignable/text-alignable-mixin.mjs +35 -0
  232. package/esm2022/core/text-alignable/text-alignable.mjs +7 -0
  233. package/esm2022/core/theming/services/class-setter/theme-class-setter.service.mjs +52 -0
  234. package/esm2022/core/theming/services/os-theme/ostheme.service.mjs +49 -0
  235. package/esm2022/core/theming/services/storage/theme-storage.service.mjs +67 -0
  236. package/esm2022/core/theming/services/theming.service.mjs +61 -0
  237. package/esm2022/hero/daffodil-design-hero.mjs +5 -0
  238. package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +18 -0
  239. package/esm2022/hero/examples/compact-hero/compact-hero.module.mjs +40 -0
  240. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +29 -0
  241. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +41 -0
  242. package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +22 -0
  243. package/esm2022/hero/examples/hero-theming/hero-theming.module.mjs +40 -0
  244. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +19 -0
  245. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.module.mjs +41 -0
  246. package/esm2022/hero/hero/hero.component.mjs +68 -0
  247. package/esm2022/hero/hero-body/hero-body.directive.mjs +22 -0
  248. package/esm2022/hero/hero-icon/hero-icon.directive.mjs +22 -0
  249. package/esm2022/hero/hero-subtitle/hero-subtitle.directive.mjs +22 -0
  250. package/esm2022/hero/hero-tagline/hero-tagline.directive.mjs +22 -0
  251. package/esm2022/hero/hero-title/hero-title.directive.mjs +22 -0
  252. package/esm2022/hero/hero.module.mjs +49 -0
  253. package/esm2022/hero/index.mjs +2 -0
  254. package/esm2022/hero/public_api.mjs +8 -0
  255. package/esm2022/image/daffodil-design-image.mjs +5 -0
  256. package/esm2022/image/examples/basic-image/basic-image.component.mjs +12 -0
  257. package/esm2022/image/examples/basic-image/basic-image.module.mjs +24 -0
  258. package/esm2022/image/examples/load-image/load-image.component.mjs +19 -0
  259. package/esm2022/image/examples/load-image/load-image.module.mjs +28 -0
  260. package/esm2022/image/examples/skeleton-image/skeleton-image.component.mjs +12 -0
  261. package/esm2022/image/examples/skeleton-image/skeleton-image.module.mjs +24 -0
  262. package/esm2022/image/image/image.component.mjs +125 -0
  263. package/esm2022/image/image.module.mjs +24 -0
  264. package/esm2022/image/index.mjs +2 -0
  265. package/esm2022/image/public_api.mjs +3 -0
  266. package/esm2022/input/examples/basic-input/basic-input.component.mjs +12 -0
  267. package/esm2022/input/examples/basic-input/basic-input.module.mjs +24 -0
  268. package/esm2022/input/examples/input-disabled/input-disabled.component.mjs +12 -0
  269. package/esm2022/input/examples/input-disabled/input-disabled.module.mjs +24 -0
  270. package/esm2022/input/examples/input-error/input-error.component.mjs +20 -0
  271. package/esm2022/input/examples/input-error/input-error.module.mjs +28 -0
  272. package/esm2022/input/examples/input-with-form-field/input-with-form-field.component.mjs +12 -0
  273. package/esm2022/input/examples/input-with-form-field/input-with-form-field.module.mjs +24 -0
  274. package/esm2022/link-set/daffodil-design-link-set.mjs +5 -0
  275. package/esm2022/link-set/index.mjs +2 -0
  276. package/esm2022/link-set/link-set/link-set.component.mjs +37 -0
  277. package/esm2022/link-set/link-set-heading/link-set-heading.directive.mjs +25 -0
  278. package/esm2022/link-set/link-set-item/link-set-item.component.mjs +26 -0
  279. package/esm2022/link-set/link-set-subheading/link-set-subheading.directive.mjs +25 -0
  280. package/esm2022/link-set/link-set.module.mjs +39 -0
  281. package/esm2022/link-set/public_api.mjs +6 -0
  282. package/esm2022/list/daffodil-design-list.mjs +5 -0
  283. package/esm2022/list/examples/basic-list/basic-list.component.mjs +12 -0
  284. package/esm2022/list/examples/basic-list/basic-list.module.mjs +28 -0
  285. package/esm2022/list/examples/icon-list/icon-list.component.mjs +18 -0
  286. package/esm2022/list/examples/icon-list/icon-list.module.mjs +32 -0
  287. package/esm2022/list/examples/list-examples.module.mjs +33 -0
  288. package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +12 -0
  289. package/esm2022/list/examples/multiline-list/multiline-list.module.mjs +32 -0
  290. package/esm2022/list/examples/nav-list/nav-list.component.mjs +18 -0
  291. package/esm2022/list/examples/nav-list/nav-list.module.mjs +32 -0
  292. package/esm2022/list/index.mjs +2 -0
  293. package/esm2022/list/list/list.component.mjs +110 -0
  294. package/esm2022/list/list-item/list-item.component.mjs +49 -0
  295. package/esm2022/list/list-subheader/list-subheader.directive.mjs +25 -0
  296. package/esm2022/list/list.module.mjs +40 -0
  297. package/esm2022/list/public_api.mjs +5 -0
  298. package/esm2022/loading-icon/daffodil-design-loading-icon.mjs +5 -0
  299. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +20 -0
  300. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +32 -0
  301. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +12 -0
  302. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +24 -0
  303. package/esm2022/loading-icon/index.mjs +2 -0
  304. package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +52 -0
  305. package/esm2022/loading-icon/loading-icon.module.mjs +24 -0
  306. package/esm2022/loading-icon/public_api.mjs +3 -0
  307. package/esm2022/media-gallery/daffodil-design-media-gallery.mjs +5 -0
  308. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +13 -0
  309. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +29 -0
  310. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +13 -0
  311. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +29 -0
  312. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +13 -0
  313. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.mjs +29 -0
  314. package/esm2022/media-gallery/helpers/media-gallery-registration.interface.mjs +2 -0
  315. package/esm2022/media-gallery/helpers/media-gallery-token.mjs +3 -0
  316. package/esm2022/media-gallery/index.mjs +2 -0
  317. package/esm2022/media-gallery/media-gallery/media-gallery.component.mjs +59 -0
  318. package/esm2022/media-gallery/media-gallery.module.mjs +32 -0
  319. package/esm2022/media-gallery/media-renderer/media-renderer.component.mjs +80 -0
  320. package/esm2022/media-gallery/public_api.mjs +5 -0
  321. package/esm2022/media-gallery/registry/media-gallery.registry.mjs +97 -0
  322. package/esm2022/media-gallery/thumbnail/thumbnail-compat.token.mjs +6 -0
  323. package/esm2022/media-gallery/thumbnail/thumbnail-registration.interface.mjs +2 -0
  324. package/esm2022/media-gallery/thumbnail/thumbnail.directive.mjs +88 -0
  325. package/esm2022/menu/daffodil-design-menu.mjs +5 -0
  326. package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +17 -0
  327. package/esm2022/menu/examples/basic-menu/basic-menu.module.mjs +35 -0
  328. package/esm2022/menu/examples/basic-menu/menu-content/menu-content.component.mjs +19 -0
  329. package/esm2022/menu/helpers/create-overlay.mjs +29 -0
  330. package/esm2022/menu/helpers/public_api.mjs +2 -0
  331. package/esm2022/menu/index.mjs +2 -0
  332. package/esm2022/menu/menu/menu.component.mjs +63 -0
  333. package/esm2022/menu/menu-activator/menu-activator.component.mjs +48 -0
  334. package/esm2022/menu/menu-item/menu-item.component.mjs +35 -0
  335. package/esm2022/menu/menu.module.mjs +44 -0
  336. package/esm2022/menu/public_api.mjs +7 -0
  337. package/esm2022/menu/services/menu.service.mjs +52 -0
  338. package/esm2022/modal/animations/modal-animation-state.mjs +2 -0
  339. package/esm2022/modal/animations/modal-animation.mjs +9 -0
  340. package/esm2022/modal/daffodil-design-modal.mjs +5 -0
  341. package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +21 -0
  342. package/esm2022/modal/examples/basic-modal/basic-modal.module.mjs +31 -0
  343. package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +13 -0
  344. package/esm2022/modal/index.mjs +2 -0
  345. package/esm2022/modal/modal/modal-config.mjs +2 -0
  346. package/esm2022/modal/modal/modal.component.mjs +93 -0
  347. package/esm2022/modal/modal/modal.mjs +2 -0
  348. package/esm2022/modal/modal-actions/modal-actions.component.mjs +11 -0
  349. package/esm2022/modal/modal-content/modal-content.component.mjs +11 -0
  350. package/esm2022/modal/modal-header/modal-header.component.mjs +20 -0
  351. package/esm2022/modal/modal-title/modal-title.directive.mjs +22 -0
  352. package/esm2022/modal/modal.module.mjs +50 -0
  353. package/esm2022/modal/public_api.mjs +8 -0
  354. package/esm2022/modal/service/modal.service.mjs +70 -0
  355. package/esm2022/molecules/backdrop/backdrop/backdrop.component.mjs +87 -0
  356. package/esm2022/molecules/backdrop/backdrop.module.mjs +24 -0
  357. package/esm2022/molecules/button-set/button-set.component.mjs +23 -0
  358. package/esm2022/molecules/button-set/button-set.module.mjs +20 -0
  359. package/esm2022/molecules/feature/feature/feature.component.mjs +49 -0
  360. package/esm2022/molecules/feature/feature-icon/feature-icon.directive.mjs +22 -0
  361. package/esm2022/molecules/feature/feature-subheader/feature-subheader.directive.mjs +22 -0
  362. package/esm2022/molecules/feature/feature-subtitle/feature-subtitle.directive.mjs +22 -0
  363. package/esm2022/molecules/feature/feature-title/feature-title.directive.mjs +22 -0
  364. package/esm2022/molecules/feature/feature.module.mjs +44 -0
  365. package/esm2022/molecules/image-gallery/gallery-image/gallery-image.component.mjs +25 -0
  366. package/esm2022/molecules/image-gallery/image-gallery/image-gallery.component.mjs +15 -0
  367. package/esm2022/molecules/image-gallery/image-gallery.module.mjs +33 -0
  368. package/esm2022/molecules/image-list/image-list.component.mjs +20 -0
  369. package/esm2022/molecules/image-list/image-list.module.mjs +24 -0
  370. package/esm2022/molecules/qty-dropdown/qty-dropdown.component.mjs +113 -0
  371. package/esm2022/molecules/qty-dropdown/qty-dropdown.module.mjs +40 -0
  372. package/esm2022/navbar/daffodil-design-navbar.mjs +5 -0
  373. package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +13 -0
  374. package/esm2022/navbar/examples/basic-navbar/basic-navbar.module.mjs +33 -0
  375. package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +14 -0
  376. package/esm2022/navbar/examples/contained-navbar/contained-navbar.module.mjs +33 -0
  377. package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +29 -0
  378. package/esm2022/navbar/examples/navbar-theming/navbar-theming.module.mjs +33 -0
  379. package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +13 -0
  380. package/esm2022/navbar/examples/raised-navbar/raised-navbar.module.mjs +29 -0
  381. package/esm2022/navbar/index.mjs +2 -0
  382. package/esm2022/navbar/navbar/navbar.component.mjs +50 -0
  383. package/esm2022/navbar/navbar.module.mjs +20 -0
  384. package/esm2022/navbar/public_api.mjs +3 -0
  385. package/esm2022/notification/examples/default-notification/default-notification.component.mjs +19 -0
  386. package/esm2022/notification/examples/default-notification/default-notification.module.mjs +36 -0
  387. package/esm2022/notification/examples/dismissable-notification/dismissable-notification.component.mjs +18 -0
  388. package/esm2022/notification/examples/dismissable-notification/dismissable-notification.module.mjs +36 -0
  389. package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +24 -0
  390. package/esm2022/notification/examples/notification-orientations/notification-orientations.module.mjs +40 -0
  391. package/esm2022/notification/examples/notification-status/notification-status.component.mjs +25 -0
  392. package/esm2022/notification/examples/notification-status/notification-status.module.mjs +40 -0
  393. package/esm2022/notification/notification/notification.component.mjs +95 -0
  394. package/esm2022/notification/notification-actions/notification-actions.directive.mjs +19 -0
  395. package/esm2022/notification/notification-message/notification-message.directive.mjs +19 -0
  396. package/esm2022/notification/notification-subtitle/notification-subtitle.directive.mjs +19 -0
  397. package/esm2022/notification/notification-title/notification-title.directive.mjs +19 -0
  398. package/esm2022/notification/notification.module.mjs +54 -0
  399. package/esm2022/paginator/daffodil-design-paginator.mjs +5 -0
  400. package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +19 -0
  401. package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +26 -0
  402. package/esm2022/paginator/examples/paginator-examples.module.mjs +27 -0
  403. package/esm2022/paginator/paginator/paginator.component.mjs +182 -0
  404. package/esm2022/paginator/paginator.module.mjs +32 -0
  405. package/esm2022/paginator/public_api.mjs +3 -0
  406. package/esm2022/paginator/utils/paginator-errors.mjs +3 -0
  407. package/esm2022/public_api.mjs +26 -0
  408. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +17 -0
  409. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.mjs +35 -0
  410. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +17 -0
  411. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.mjs +35 -0
  412. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +17 -0
  413. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.mjs +35 -0
  414. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +17 -0
  415. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.mjs +35 -0
  416. package/esm2022/radio/examples/basic-radio/basic-radio.component.mjs +19 -0
  417. package/esm2022/radio/examples/basic-radio/basic-radio.module.mjs +29 -0
  418. package/esm2022/sidebar/animation/sidebar-animation-state.mjs +24 -0
  419. package/esm2022/sidebar/animation/sidebar-animation-width.mjs +2 -0
  420. package/esm2022/sidebar/animation/sidebar-animation.mjs +51 -0
  421. package/esm2022/sidebar/animation/sidebar-viewport-animation-state.mjs +4 -0
  422. package/esm2022/sidebar/daffodil-design-sidebar.mjs +5 -0
  423. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +12 -0
  424. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.module.mjs +32 -0
  425. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +29 -0
  426. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.mjs +44 -0
  427. package/esm2022/sidebar/examples/public_api.mjs +15 -0
  428. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.mjs +13 -0
  429. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.mjs +32 -0
  430. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.mjs +12 -0
  431. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.mjs +28 -0
  432. package/esm2022/sidebar/helper/sidebar-mode.mjs +2 -0
  433. package/esm2022/sidebar/helper/sidebar-side.mjs +2 -0
  434. package/esm2022/sidebar/index.mjs +2 -0
  435. package/esm2022/sidebar/public_api.mjs +8 -0
  436. package/esm2022/sidebar/sidebar/is-opening.mjs +13 -0
  437. package/esm2022/sidebar/sidebar/sidebar.component.mjs +158 -0
  438. package/esm2022/sidebar/sidebar-footer/sidebar-footer.component.mjs +17 -0
  439. package/esm2022/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.mjs +22 -0
  440. package/esm2022/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.mjs +22 -0
  441. package/esm2022/sidebar/sidebar-header/sidebar-header.component.mjs +17 -0
  442. package/esm2022/sidebar/sidebar-viewport/helper/has-parent-viewport.mjs +16 -0
  443. package/esm2022/sidebar/sidebar-viewport/nav-placement.mjs +10 -0
  444. package/esm2022/sidebar/sidebar-viewport/scroll-token/scroll.token.mjs +39 -0
  445. package/esm2022/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +206 -0
  446. package/esm2022/sidebar/sidebar-viewport/utils/backdrop-interactable.mjs +5 -0
  447. package/esm2022/sidebar/sidebar-viewport/utils/content-pad.mjs +17 -0
  448. package/esm2022/sidebar/sidebar-viewport/utils/content-shift.mjs +21 -0
  449. package/esm2022/sidebar/sidebar.module.mjs +57 -0
  450. package/esm2022/tree/examples/basic-tree/basic-tree.component.mjs +39 -0
  451. package/esm2022/tree/examples/basic-tree/basic-tree.module.mjs +32 -0
  452. package/esm2022/tree/tree/tree-notifier.service.mjs +45 -0
  453. package/esm2022/tree/tree/tree.component.mjs +106 -0
  454. package/esm2022/tree/tree-item/tree-item.directive.mjs +154 -0
  455. package/esm2022/tree/tree.module.mjs +29 -0
  456. package/examples/examples.d.ts +1 -1
  457. package/fesm2022/daffodil-design-accordion-examples.mjs +45 -0
  458. package/fesm2022/daffodil-design-accordion-examples.mjs.map +1 -0
  459. package/fesm2022/daffodil-design-accordion.mjs +191 -0
  460. package/fesm2022/daffodil-design-accordion.mjs.map +1 -0
  461. package/fesm2022/daffodil-design-article-examples.mjs +145 -0
  462. package/fesm2022/daffodil-design-article-examples.mjs.map +1 -0
  463. package/fesm2022/daffodil-design-article.mjs +130 -0
  464. package/fesm2022/daffodil-design-article.mjs.map +1 -0
  465. package/fesm2022/daffodil-design-button-examples.mjs +313 -0
  466. package/fesm2022/daffodil-design-button-examples.mjs.map +1 -0
  467. package/fesm2022/daffodil-design-button.mjs +222 -0
  468. package/fesm2022/daffodil-design-button.mjs.map +1 -0
  469. package/fesm2022/daffodil-design-callout-examples.mjs +217 -0
  470. package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -0
  471. package/fesm2022/daffodil-design-callout.mjs +215 -0
  472. package/fesm2022/daffodil-design-callout.mjs.map +1 -0
  473. package/fesm2022/daffodil-design-card-examples.mjs +350 -0
  474. package/fesm2022/daffodil-design-card-examples.mjs.map +1 -0
  475. package/fesm2022/daffodil-design-card.mjs +284 -0
  476. package/fesm2022/daffodil-design-card.mjs.map +1 -0
  477. package/fesm2022/daffodil-design-checkbox-examples.mjs +121 -0
  478. package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -0
  479. package/fesm2022/daffodil-design-container-examples.mjs +64 -0
  480. package/fesm2022/daffodil-design-container-examples.mjs.map +1 -0
  481. package/fesm2022/daffodil-design-container.mjs +65 -0
  482. package/fesm2022/daffodil-design-container.mjs.map +1 -0
  483. package/fesm2022/daffodil-design-hero-examples.mjs +214 -0
  484. package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -0
  485. package/fesm2022/daffodil-design-hero.mjs +216 -0
  486. package/fesm2022/daffodil-design-hero.mjs.map +1 -0
  487. package/fesm2022/daffodil-design-image-examples.mjs +115 -0
  488. package/fesm2022/daffodil-design-image-examples.mjs.map +1 -0
  489. package/fesm2022/daffodil-design-image.mjs +152 -0
  490. package/fesm2022/daffodil-design-image.mjs.map +1 -0
  491. package/fesm2022/daffodil-design-input-examples.mjs +145 -0
  492. package/fesm2022/daffodil-design-input-examples.mjs.map +1 -0
  493. package/fesm2022/daffodil-design-link-set.mjs +147 -0
  494. package/fesm2022/daffodil-design-link-set.mjs.map +1 -0
  495. package/fesm2022/daffodil-design-list-examples.mjs +192 -0
  496. package/fesm2022/daffodil-design-list-examples.mjs.map +1 -0
  497. package/fesm2022/daffodil-design-list.mjs +220 -0
  498. package/fesm2022/daffodil-design-list.mjs.map +1 -0
  499. package/fesm2022/daffodil-design-loading-icon-examples.mjs +89 -0
  500. package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -0
  501. package/fesm2022/daffodil-design-loading-icon.mjs +80 -0
  502. package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -0
  503. package/fesm2022/daffodil-design-media-gallery-examples.mjs +118 -0
  504. package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -0
  505. package/fesm2022/daffodil-design-media-gallery.mjs +347 -0
  506. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -0
  507. package/fesm2022/daffodil-design-menu-examples.mjs +74 -0
  508. package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -0
  509. package/fesm2022/daffodil-design-menu.mjs +256 -0
  510. package/fesm2022/daffodil-design-menu.mjs.map +1 -0
  511. package/fesm2022/daffodil-design-modal-examples.mjs +66 -0
  512. package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -0
  513. package/fesm2022/daffodil-design-modal.mjs +270 -0
  514. package/fesm2022/daffodil-design-modal.mjs.map +1 -0
  515. package/fesm2022/daffodil-design-navbar-examples.mjs +176 -0
  516. package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -0
  517. package/fesm2022/daffodil-design-navbar.mjs +74 -0
  518. package/fesm2022/daffodil-design-navbar.mjs.map +1 -0
  519. package/fesm2022/daffodil-design-notification-examples.mjs +204 -0
  520. package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -0
  521. package/fesm2022/daffodil-design-notification.mjs +216 -0
  522. package/fesm2022/daffodil-design-notification.mjs.map +1 -0
  523. package/fesm2022/daffodil-design-paginator-examples.mjs +75 -0
  524. package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -0
  525. package/fesm2022/daffodil-design-paginator.mjs +220 -0
  526. package/fesm2022/daffodil-design-paginator.mjs.map +1 -0
  527. package/fesm2022/daffodil-design-quantity-field-examples.mjs +185 -0
  528. package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -0
  529. package/fesm2022/daffodil-design-radio-examples.mjs +58 -0
  530. package/fesm2022/daffodil-design-radio-examples.mjs.map +1 -0
  531. package/fesm2022/daffodil-design-sidebar-examples.mjs +187 -0
  532. package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -0
  533. package/fesm2022/daffodil-design-sidebar.mjs +670 -0
  534. package/fesm2022/daffodil-design-sidebar.mjs.map +1 -0
  535. package/fesm2022/daffodil-design-tree-examples.mjs +79 -0
  536. package/fesm2022/daffodil-design-tree-examples.mjs.map +1 -0
  537. package/fesm2022/daffodil-design-tree.mjs +446 -0
  538. package/fesm2022/daffodil-design-tree.mjs.map +1 -0
  539. package/fesm2022/daffodil-design.mjs +2675 -0
  540. package/fesm2022/daffodil-design.mjs.map +1 -0
  541. package/hero/README.md +54 -0
  542. package/hero/examples/compact-hero/compact-hero.module.d.ts +4 -3
  543. package/hero/examples/hero-text-alignment/hero-text-alignment.module.d.ts +5 -3
  544. package/hero/examples/hero-theming/hero-theming.module.d.ts +4 -3
  545. package/hero/examples/hero-with-grid/hero-with-grid.module.d.ts +5 -3
  546. package/hero/hero/hero.component.d.ts +79 -0
  547. package/hero/index.d.ts +1 -0
  548. package/hero/src/hero-theme.scss +59 -0
  549. package/image/README.md +31 -0
  550. package/image/examples/basic-image/basic-image.module.d.ts +1 -1
  551. package/image/examples/load-image/load-image.module.d.ts +1 -1
  552. package/image/examples/skeleton-image/skeleton-image.module.d.ts +1 -1
  553. package/image/image/image.component.d.ts +52 -0
  554. package/image/image.module.d.ts +8 -0
  555. package/image/index.d.ts +1 -0
  556. package/image/public_api.d.ts +2 -0
  557. package/link-set/README.md +44 -0
  558. package/link-set/index.d.ts +1 -0
  559. package/link-set/link-set/link-set.component.d.ts +32 -0
  560. package/list/README.md +69 -0
  561. package/list/examples/basic-list/basic-list.module.d.ts +1 -1
  562. package/list/examples/icon-list/icon-list.module.d.ts +1 -1
  563. package/list/examples/multiline-list/multiline-list.module.d.ts +1 -1
  564. package/list/examples/nav-list/nav-list.module.d.ts +1 -1
  565. package/list/index.d.ts +1 -0
  566. package/list/list/list.component.d.ts +71 -0
  567. package/list/list-item/list-item.component.d.ts +30 -0
  568. package/list/list.module.d.ts +11 -0
  569. package/list/src/list-theme.scss +71 -0
  570. package/loading-icon/README.md +7 -0
  571. package/loading-icon/examples/loading-icon-color/loading-icon-color.module.d.ts +4 -3
  572. package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.d.ts +1 -1
  573. package/loading-icon/index.d.ts +1 -0
  574. package/loading-icon/loading-icon/loading-icon.component.d.ts +40 -0
  575. package/loading-icon/loading-icon.module.d.ts +8 -0
  576. package/loading-icon/public_api.d.ts +2 -0
  577. package/loading-icon/src/loading-icon-theme.scss +61 -0
  578. package/media-gallery/README.md +19 -0
  579. package/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.d.ts +3 -2
  580. package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.d.ts +3 -2
  581. package/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.d.ts +3 -2
  582. package/media-gallery/index.d.ts +1 -0
  583. package/media-gallery/media-gallery/media-gallery.component.d.ts +41 -0
  584. package/media-gallery/media-gallery.module.d.ts +10 -0
  585. package/media-gallery/media-renderer/media-renderer.component.d.ts +29 -0
  586. package/media-gallery/public_api.d.ts +4 -0
  587. package/media-gallery/registry/media-gallery.registry.d.ts +34 -0
  588. package/media-gallery/src/media-gallery-theme.scss +27 -0
  589. package/media-gallery/thumbnail/thumbnail-registration.interface.d.ts +9 -0
  590. package/media-gallery/thumbnail/thumbnail.directive.d.ts +44 -0
  591. package/menu/README.md +7 -0
  592. package/menu/examples/basic-menu/basic-menu.module.d.ts +4 -3
  593. package/menu/index.d.ts +1 -0
  594. package/menu/menu/menu.component.d.ts +19 -0
  595. package/menu/menu-activator/menu-activator.component.d.ts +18 -0
  596. package/menu/menu-item/menu-item.component.d.ts +20 -0
  597. package/menu/public_api.d.ts +6 -0
  598. package/menu/services/menu.service.d.ts +24 -0
  599. package/menu/src/menu-theme.scss +25 -0
  600. package/modal/README.md +47 -0
  601. package/modal/animations/modal-animation-state.d.ts +1 -0
  602. package/modal/examples/basic-modal/basic-modal.component.d.ts +1 -1
  603. package/modal/examples/basic-modal/basic-modal.module.d.ts +3 -2
  604. package/modal/index.d.ts +1 -0
  605. package/modal/modal/modal.component.d.ts +52 -0
  606. package/modal/modal/modal.d.ts +13 -0
  607. package/modal/public_api.d.ts +8 -0
  608. package/modal/service/modal.service.d.ts +19 -0
  609. package/modal/src/modal-theme.scss +9 -0
  610. package/molecules/backdrop/animation/backdrop-animation-state.d.ts +1 -1
  611. package/molecules/backdrop/backdrop/backdrop.component.d.ts +1 -1
  612. package/molecules/feature/feature/feature.component.d.ts +2 -2
  613. package/molecules/image-gallery/gallery-image/gallery-image.component.d.ts +1 -1
  614. package/molecules/qty-dropdown/qty-dropdown.component.d.ts +1 -1
  615. package/navbar/README.md +41 -0
  616. package/navbar/examples/basic-navbar/basic-navbar.module.d.ts +4 -2
  617. package/navbar/examples/contained-navbar/contained-navbar.module.d.ts +4 -2
  618. package/navbar/examples/navbar-theming/navbar-theming.module.d.ts +3 -2
  619. package/navbar/examples/raised-navbar/raised-navbar.module.d.ts +3 -2
  620. package/navbar/index.d.ts +1 -0
  621. package/navbar/navbar/navbar.component.d.ts +40 -0
  622. package/navbar/navbar.module.d.ts +7 -0
  623. package/navbar/public_api.d.ts +2 -0
  624. package/navbar/src/navbar-theme.scss +57 -0
  625. package/notification/examples/default-notification/default-notification.module.d.ts +1 -1
  626. package/notification/examples/dismissable-notification/dismissable-notification.module.d.ts +1 -1
  627. package/notification/examples/notification-orientations/notification-orientations.module.d.ts +1 -1
  628. package/notification/examples/notification-status/notification-status.module.d.ts +1 -1
  629. package/notification/notification/notification.component.d.ts +2 -2
  630. package/notification/src/notification-theme.scss +4 -4
  631. package/package.json +1 -1
  632. package/paginator/README.md +11 -0
  633. package/paginator/examples/paginator-examples.module.d.ts +1 -1
  634. package/paginator/index.d.ts +5 -0
  635. package/paginator/paginator/paginator.component.d.ts +145 -0
  636. package/paginator/paginator.module.d.ts +10 -0
  637. package/paginator/public_api.d.ts +2 -0
  638. package/paginator/src/paginator-theme.scss +90 -0
  639. package/public_api.d.ts +0 -17
  640. package/radio/examples/basic-radio/basic-radio.component.d.ts +1 -3
  641. package/scss/state/skeleton/_mixins.scss +2 -2
  642. package/scss/theme.scss +15 -17
  643. package/scss/theming/_color-palettes.scss +1 -1
  644. package/scss/theming/_configure-theme.scss +12 -12
  645. package/scss/theming/_theme-css-variables.scss +2 -2
  646. package/scss/theming/contrast/text-contrast/text-contrast.scss +1 -1
  647. package/sidebar/README.md +135 -0
  648. package/sidebar/animation/sidebar-animation-state.d.ts +3 -0
  649. package/sidebar/animation/sidebar-animation.d.ts +15 -0
  650. package/sidebar/animation/sidebar-viewport-animation-state.d.ts +8 -0
  651. package/sidebar/examples/basic-sidebar/basic-sidebar.module.d.ts +4 -2
  652. package/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.d.ts +12 -0
  653. package/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.d.ts +13 -0
  654. package/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.d.ts +5 -0
  655. package/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.d.ts +10 -0
  656. package/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.d.ts +5 -0
  657. package/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.d.ts +9 -0
  658. package/sidebar/helper/sidebar-mode.d.ts +27 -0
  659. package/sidebar/helper/sidebar-side.d.ts +12 -0
  660. package/sidebar/index.d.ts +1 -0
  661. package/sidebar/public_api.d.ts +9 -0
  662. package/sidebar/sidebar/is-opening.d.ts +5 -0
  663. package/sidebar/sidebar/sidebar.component.d.ts +73 -0
  664. package/sidebar/sidebar-footer/sidebar-footer.component.d.ts +6 -0
  665. package/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.d.ts +9 -0
  666. package/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.d.ts +9 -0
  667. package/sidebar/sidebar-header/sidebar-header.component.d.ts +6 -0
  668. package/sidebar/sidebar-viewport/helper/has-parent-viewport.d.ts +6 -0
  669. package/sidebar/sidebar-viewport/nav-placement.d.ts +13 -0
  670. package/sidebar/sidebar-viewport/scroll-token/scroll.token.d.ts +23 -0
  671. package/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +100 -0
  672. package/sidebar/sidebar-viewport/utils/backdrop-interactable.d.ts +6 -0
  673. package/sidebar/sidebar-viewport/utils/content-pad.d.ts +7 -0
  674. package/sidebar/sidebar-viewport/utils/content-shift.d.ts +8 -0
  675. package/sidebar/sidebar.module.d.ts +15 -0
  676. package/sidebar/src/helper/_variables.scss +8 -0
  677. package/sidebar/src/sidebar-theme.scss +22 -0
  678. package/src/atoms/form/form-field/form-field/form-field-theme.scss +3 -3
  679. package/src/atoms/form/native-select/native-select-theme.scss +2 -2
  680. package/tree/interfaces/recursive-key.d.ts +1 -1
  681. package/tree/src/tree-theme.scss +4 -4
  682. package/tree/tree/tree.component.d.ts +1 -1
  683. package/tree/tree-item/tree-item.directive.d.ts +1 -1
  684. package/accordion/examples/basic-accordion/basic-accordion.module.d.ts +0 -8
  685. package/accordion/examples/nav-accordion/nav-accordion.component.d.ts +0 -5
  686. package/accordion/examples/nav-accordion/nav-accordion.module.d.ts +0 -8
  687. package/atoms/button/button.component.d.ts +0 -105
  688. package/atoms/button/button.module.d.ts +0 -10
  689. package/atoms/button/public_api.d.ts +0 -2
  690. package/atoms/container/container.component.d.ts +0 -34
  691. package/atoms/container/container.module.d.ts +0 -8
  692. package/atoms/container/public_api.d.ts +0 -2
  693. package/atoms/image/image.component.d.ts +0 -54
  694. package/atoms/image/image.module.d.ts +0 -8
  695. package/atoms/image/public_api.d.ts +0 -2
  696. package/atoms/loading-icon/loading-icon.component.d.ts +0 -42
  697. package/atoms/loading-icon/loading-icon.module.d.ts +0 -8
  698. package/atoms/loading-icon/public_api.d.ts +0 -2
  699. package/core/sizeable/sizeable-mixin.d.ts +0 -15
  700. package/core/sizeable/sizeable.d.ts +0 -16
  701. package/esm2020/accordion/examples/basic-accordion/basic-accordion.component.mjs +0 -12
  702. package/esm2020/accordion/examples/basic-accordion/basic-accordion.module.mjs +0 -24
  703. package/esm2020/accordion/examples/nav-accordion/nav-accordion.component.mjs +0 -12
  704. package/esm2020/accordion/examples/nav-accordion/nav-accordion.module.mjs +0 -24
  705. package/esm2020/accordion/examples/public_api.mjs +0 -10
  706. package/esm2020/article/examples/article-blockquote/article-blockquote.component.mjs +0 -12
  707. package/esm2020/article/examples/article-code-block/article-code-block.component.mjs +0 -12
  708. package/esm2020/article/examples/article-code-inline/article-code-inline.component.mjs +0 -12
  709. package/esm2020/article/examples/article-examples.module.mjs +0 -36
  710. package/esm2020/article/examples/article-headings/article-headings.component.mjs +0 -12
  711. package/esm2020/article/examples/article-hr/article-hr.component.mjs +0 -12
  712. package/esm2020/article/examples/article-lead/article-lead.component.mjs +0 -12
  713. package/esm2020/article/examples/article-link/article-link.component.mjs +0 -12
  714. package/esm2020/article/examples/article-meta/article-meta.component.mjs +0 -12
  715. package/esm2020/article/examples/article-ol/article-ol.component.mjs +0 -12
  716. package/esm2020/article/examples/article-table/article-table.component.mjs +0 -12
  717. package/esm2020/article/examples/article-ul/article-ul.component.mjs +0 -12
  718. package/esm2020/atoms/button/button.component.mjs +0 -189
  719. package/esm2020/atoms/button/button.module.mjs +0 -34
  720. package/esm2020/atoms/button/public_api.mjs +0 -3
  721. package/esm2020/atoms/container/container.component.mjs +0 -37
  722. package/esm2020/atoms/container/container.module.mjs +0 -24
  723. package/esm2020/atoms/container/public_api.mjs +0 -3
  724. package/esm2020/atoms/form/checkbox/checkbox.component.mjs +0 -142
  725. package/esm2020/atoms/form/checkbox/checkbox.module.mjs +0 -39
  726. package/esm2020/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +0 -94
  727. package/esm2020/atoms/form/checkbox-set/checkbox-set.component.mjs +0 -38
  728. package/esm2020/atoms/form/error-message/error-message.component.mjs +0 -17
  729. package/esm2020/atoms/form/error-message/error-message.module.mjs +0 -20
  730. package/esm2020/atoms/form/form-field/form-field/form-field.component.mjs +0 -102
  731. package/esm2020/atoms/form/form-field/form-field.module.mjs +0 -34
  732. package/esm2020/atoms/form/form-label/form-label.directive.mjs +0 -19
  733. package/esm2020/atoms/form/form-label/form-label.module.mjs +0 -20
  734. package/esm2020/atoms/form/input/input.component.mjs +0 -59
  735. package/esm2020/atoms/form/input/input.module.mjs +0 -24
  736. package/esm2020/atoms/form/native-select/native-select.component.mjs +0 -64
  737. package/esm2020/atoms/form/native-select/native-select.module.mjs +0 -24
  738. package/esm2020/atoms/form/quantity-field/quantity-field.component.mjs +0 -134
  739. package/esm2020/atoms/form/quantity-field/quantity-field.module.mjs +0 -46
  740. package/esm2020/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +0 -97
  741. package/esm2020/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +0 -84
  742. package/esm2020/atoms/form/radio/cva/radio-cva.directive.mjs +0 -89
  743. package/esm2020/atoms/form/radio/radio.component.mjs +0 -132
  744. package/esm2020/atoms/form/radio/radio.module.mjs +0 -34
  745. package/esm2020/atoms/form/radio/registry/radio-registry.mjs +0 -54
  746. package/esm2020/atoms/form/radio-set/radio-set.component.mjs +0 -22
  747. package/esm2020/atoms/image/image.component.mjs +0 -125
  748. package/esm2020/atoms/image/image.module.mjs +0 -24
  749. package/esm2020/atoms/image/public_api.mjs +0 -3
  750. package/esm2020/atoms/loading-icon/loading-icon.component.mjs +0 -52
  751. package/esm2020/atoms/loading-icon/loading-icon.module.mjs +0 -24
  752. package/esm2020/atoms/loading-icon/public_api.mjs +0 -3
  753. package/esm2020/atoms/progress-indicator/progress-indicator.component.mjs +0 -81
  754. package/esm2020/atoms/progress-indicator/progress-indicator.module.mjs +0 -20
  755. package/esm2020/button/examples/basic-button/basic-button.component.mjs +0 -18
  756. package/esm2020/button/examples/basic-button/basic-button.module.mjs +0 -28
  757. package/esm2020/button/examples/flat-button/flat-button.component.mjs +0 -18
  758. package/esm2020/button/examples/flat-button/flat-button.module.mjs +0 -28
  759. package/esm2020/button/examples/icon-button/icon-button.component.mjs +0 -17
  760. package/esm2020/button/examples/icon-button/icon-button.module.mjs +0 -28
  761. package/esm2020/button/examples/raised-button/raised-button.component.mjs +0 -18
  762. package/esm2020/button/examples/raised-button/raised-button.module.mjs +0 -28
  763. package/esm2020/button/examples/sizeable-button/sizeable-button.component.mjs +0 -17
  764. package/esm2020/button/examples/sizeable-button/sizeable-button.module.mjs +0 -28
  765. package/esm2020/button/examples/statusable-button/statusable-button.component.mjs +0 -19
  766. package/esm2020/button/examples/statusable-button/statusable-button.module.mjs +0 -28
  767. package/esm2020/button/examples/stroked-button/stroked-button.component.mjs +0 -18
  768. package/esm2020/button/examples/stroked-button/stroked-button.module.mjs +0 -28
  769. package/esm2020/button/examples/underline-button/underline-button.component.mjs +0 -18
  770. package/esm2020/button/examples/underline-button/underline-button.module.mjs +0 -28
  771. package/esm2020/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +0 -27
  772. package/esm2020/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +0 -39
  773. package/esm2020/callout/examples/callout-theming/callout-theming.component.mjs +0 -31
  774. package/esm2020/callout/examples/callout-theming/callout-theming.module.mjs +0 -36
  775. package/esm2020/callout/examples/callout-with-grid/callout-with-grid.component.mjs +0 -17
  776. package/esm2020/callout/examples/callout-with-grid/callout-with-grid.module.mjs +0 -39
  777. package/esm2020/callout/examples/compact-callout/compact-callout.component.mjs +0 -17
  778. package/esm2020/callout/examples/compact-callout/compact-callout.module.mjs +0 -35
  779. package/esm2020/card/examples/basic-card/basic-card.component.mjs +0 -17
  780. package/esm2020/card/examples/basic-card/basic-card.module.mjs +0 -38
  781. package/esm2020/card/examples/card-orientation/card-orientation.component.mjs +0 -26
  782. package/esm2020/card/examples/card-orientation/card-orientation.module.mjs +0 -42
  783. package/esm2020/card/examples/card-theming/card-theming.component.mjs +0 -28
  784. package/esm2020/card/examples/card-theming/card-theming.module.mjs +0 -35
  785. package/esm2020/card/examples/linkable-card/linkable-card.component.mjs +0 -30
  786. package/esm2020/card/examples/linkable-card/linkable-card.module.mjs +0 -42
  787. package/esm2020/card/examples/raised-card/raised-card.component.mjs +0 -28
  788. package/esm2020/card/examples/raised-card/raised-card.module.mjs +0 -38
  789. package/esm2020/card/examples/stroked-card/stroked-card.component.mjs +0 -28
  790. package/esm2020/card/examples/stroked-card/stroked-card.module.mjs +0 -42
  791. package/esm2020/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +0 -26
  792. package/esm2020/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +0 -32
  793. package/esm2020/checkbox/examples/checkbox-set/checkbox-set.component.mjs +0 -28
  794. package/esm2020/checkbox/examples/checkbox-set/checkbox-set.module.mjs +0 -32
  795. package/esm2020/container/examples/container-sizes/container-sizes.component.mjs +0 -25
  796. package/esm2020/container/examples/container-sizes/container-sizes.module.mjs +0 -32
  797. package/esm2020/core/colorable/colorable-mixin.mjs +0 -42
  798. package/esm2020/core/compactable/compactable-mixin.mjs +0 -26
  799. package/esm2020/core/focus/stack.service.mjs +0 -71
  800. package/esm2020/core/prefix-suffix/prefix-suffix.module.mjs +0 -26
  801. package/esm2020/core/prefix-suffix/prefix.directive.mjs +0 -24
  802. package/esm2020/core/prefix-suffix/prefixable/prefixable.mjs +0 -23
  803. package/esm2020/core/prefix-suffix/suffix.directive.mjs +0 -24
  804. package/esm2020/core/prefix-suffix/suffixable/suffixable.mjs +0 -23
  805. package/esm2020/core/public_api.mjs +0 -17
  806. package/esm2020/core/sizeable/sizeable-mixin.mjs +0 -31
  807. package/esm2020/core/sizeable/sizeable.mjs +0 -9
  808. package/esm2020/core/skeletonable/skeletonable-mixin.mjs +0 -26
  809. package/esm2020/core/statusable/statusable-mixin.mjs +0 -32
  810. package/esm2020/core/text-alignable/text-alignable-mixin.mjs +0 -35
  811. package/esm2020/core/text-alignable/text-alignable.mjs +0 -7
  812. package/esm2020/core/theming/services/class-setter/theme-class-setter.service.mjs +0 -52
  813. package/esm2020/core/theming/services/os-theme/ostheme.service.mjs +0 -49
  814. package/esm2020/core/theming/services/storage/theme-storage.service.mjs +0 -67
  815. package/esm2020/core/theming/services/theming.service.mjs +0 -61
  816. package/esm2020/hero/examples/compact-hero/compact-hero.component.mjs +0 -17
  817. package/esm2020/hero/examples/compact-hero/compact-hero.module.mjs +0 -39
  818. package/esm2020/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +0 -27
  819. package/esm2020/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +0 -39
  820. package/esm2020/hero/examples/hero-theming/hero-theming.component.mjs +0 -21
  821. package/esm2020/hero/examples/hero-theming/hero-theming.module.mjs +0 -39
  822. package/esm2020/hero/examples/hero-with-grid/hero-with-grid.component.mjs +0 -17
  823. package/esm2020/hero/examples/hero-with-grid/hero-with-grid.module.mjs +0 -39
  824. package/esm2020/image/examples/basic-image/basic-image.component.mjs +0 -12
  825. package/esm2020/image/examples/basic-image/basic-image.module.mjs +0 -24
  826. package/esm2020/image/examples/load-image/load-image.component.mjs +0 -19
  827. package/esm2020/image/examples/load-image/load-image.module.mjs +0 -28
  828. package/esm2020/image/examples/skeleton-image/skeleton-image.component.mjs +0 -12
  829. package/esm2020/image/examples/skeleton-image/skeleton-image.module.mjs +0 -24
  830. package/esm2020/input/examples/basic-input/basic-input.component.mjs +0 -12
  831. package/esm2020/input/examples/basic-input/basic-input.module.mjs +0 -24
  832. package/esm2020/input/examples/input-disabled/input-disabled.component.mjs +0 -12
  833. package/esm2020/input/examples/input-disabled/input-disabled.module.mjs +0 -24
  834. package/esm2020/input/examples/input-error/input-error.component.mjs +0 -20
  835. package/esm2020/input/examples/input-error/input-error.module.mjs +0 -28
  836. package/esm2020/input/examples/input-with-form-field/input-with-form-field.component.mjs +0 -12
  837. package/esm2020/input/examples/input-with-form-field/input-with-form-field.module.mjs +0 -24
  838. package/esm2020/list/examples/basic-list/basic-list.component.mjs +0 -12
  839. package/esm2020/list/examples/basic-list/basic-list.module.mjs +0 -28
  840. package/esm2020/list/examples/icon-list/icon-list.component.mjs +0 -17
  841. package/esm2020/list/examples/icon-list/icon-list.module.mjs +0 -32
  842. package/esm2020/list/examples/list-examples.module.mjs +0 -33
  843. package/esm2020/list/examples/multiline-list/multiline-list.component.mjs +0 -12
  844. package/esm2020/list/examples/multiline-list/multiline-list.module.mjs +0 -32
  845. package/esm2020/list/examples/nav-list/nav-list.component.mjs +0 -17
  846. package/esm2020/list/examples/nav-list/nav-list.module.mjs +0 -32
  847. package/esm2020/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +0 -19
  848. package/esm2020/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +0 -31
  849. package/esm2020/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +0 -12
  850. package/esm2020/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +0 -24
  851. package/esm2020/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +0 -12
  852. package/esm2020/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +0 -28
  853. package/esm2020/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +0 -12
  854. package/esm2020/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +0 -28
  855. package/esm2020/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +0 -12
  856. package/esm2020/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.mjs +0 -28
  857. package/esm2020/menu/examples/basic-menu/basic-menu.component.mjs +0 -16
  858. package/esm2020/menu/examples/basic-menu/basic-menu.module.mjs +0 -34
  859. package/esm2020/menu/examples/basic-menu/menu-content/menu-content.component.mjs +0 -19
  860. package/esm2020/modal/examples/basic-modal/basic-modal.component.mjs +0 -20
  861. package/esm2020/modal/examples/basic-modal/basic-modal.module.mjs +0 -30
  862. package/esm2020/modal/examples/basic-modal/modal-content.component.mjs +0 -12
  863. package/esm2020/molecules/accordion/accordion/accordion.component.mjs +0 -27
  864. package/esm2020/molecules/accordion/accordion-item/accordion-item.component.mjs +0 -54
  865. package/esm2020/molecules/accordion/accordion-item-content/accordion-item-content.directive.mjs +0 -22
  866. package/esm2020/molecules/accordion/accordion-item-title/accordion-item-title.directive.mjs +0 -22
  867. package/esm2020/molecules/accordion/accordion.module.mjs +0 -52
  868. package/esm2020/molecules/accordion/animation/accordion-animation-state.mjs +0 -9
  869. package/esm2020/molecules/accordion/animation/accordion-animation.mjs +0 -18
  870. package/esm2020/molecules/accordion/nav-accordion-item/nav-accordion-item.component.mjs +0 -81
  871. package/esm2020/molecules/accordion/public_api.mjs +0 -7
  872. package/esm2020/molecules/article/article/article.component.mjs +0 -30
  873. package/esm2020/molecules/article/article-lead/article-lead.directive.mjs +0 -22
  874. package/esm2020/molecules/article/article-meta/article-meta.directive.mjs +0 -22
  875. package/esm2020/molecules/article/article-title/article-title.directive.mjs +0 -22
  876. package/esm2020/molecules/article/article.module.mjs +0 -39
  877. package/esm2020/molecules/article/public_api.mjs +0 -6
  878. package/esm2020/molecules/backdrop/backdrop/backdrop.component.mjs +0 -87
  879. package/esm2020/molecules/backdrop/backdrop.module.mjs +0 -24
  880. package/esm2020/molecules/button-set/button-set.component.mjs +0 -23
  881. package/esm2020/molecules/button-set/button-set.module.mjs +0 -20
  882. package/esm2020/molecules/callout/callout/callout.component.mjs +0 -71
  883. package/esm2020/molecules/callout/callout-body/callout-body.directive.mjs +0 -22
  884. package/esm2020/molecules/callout/callout-icon/callout-icon.directive.mjs +0 -22
  885. package/esm2020/molecules/callout/callout-subtitle/callout-subtitle.directive.mjs +0 -22
  886. package/esm2020/molecules/callout/callout-tagline/callout-tagline.directive.mjs +0 -22
  887. package/esm2020/molecules/callout/callout-title/callout-title.directive.mjs +0 -22
  888. package/esm2020/molecules/callout/callout.module.mjs +0 -49
  889. package/esm2020/molecules/callout/public_api.mjs +0 -8
  890. package/esm2020/molecules/card/card/card.component.mjs +0 -113
  891. package/esm2020/molecules/card/card-actions/card-actions.directive.mjs +0 -22
  892. package/esm2020/molecules/card/card-content/card-content.directive.mjs +0 -22
  893. package/esm2020/molecules/card/card-icon/card-icon.directive.mjs +0 -22
  894. package/esm2020/molecules/card/card-image/card-image.directive.mjs +0 -22
  895. package/esm2020/molecules/card/card-tagline/card-tagline.directive.mjs +0 -22
  896. package/esm2020/molecules/card/card-title/card-title.directive.mjs +0 -22
  897. package/esm2020/molecules/card/card.module.mjs +0 -54
  898. package/esm2020/molecules/card/public_api.mjs +0 -9
  899. package/esm2020/molecules/feature/feature/feature.component.mjs +0 -49
  900. package/esm2020/molecules/feature/feature-icon/feature-icon.directive.mjs +0 -22
  901. package/esm2020/molecules/feature/feature-subheader/feature-subheader.directive.mjs +0 -22
  902. package/esm2020/molecules/feature/feature-subtitle/feature-subtitle.directive.mjs +0 -22
  903. package/esm2020/molecules/feature/feature-title/feature-title.directive.mjs +0 -22
  904. package/esm2020/molecules/feature/feature.module.mjs +0 -44
  905. package/esm2020/molecules/hero/hero/hero.component.mjs +0 -72
  906. package/esm2020/molecules/hero/hero-body/hero-body.directive.mjs +0 -22
  907. package/esm2020/molecules/hero/hero-icon/hero-icon.directive.mjs +0 -22
  908. package/esm2020/molecules/hero/hero-subtitle/hero-subtitle.directive.mjs +0 -22
  909. package/esm2020/molecules/hero/hero-tagline/hero-tagline.directive.mjs +0 -22
  910. package/esm2020/molecules/hero/hero-title/hero-title.directive.mjs +0 -22
  911. package/esm2020/molecules/hero/hero.module.mjs +0 -49
  912. package/esm2020/molecules/hero/public_api.mjs +0 -8
  913. package/esm2020/molecules/image-gallery/gallery-image/gallery-image.component.mjs +0 -25
  914. package/esm2020/molecules/image-gallery/image-gallery/image-gallery.component.mjs +0 -15
  915. package/esm2020/molecules/image-gallery/image-gallery.module.mjs +0 -33
  916. package/esm2020/molecules/image-list/image-list.component.mjs +0 -20
  917. package/esm2020/molecules/image-list/image-list.module.mjs +0 -24
  918. package/esm2020/molecules/link-set/link-set/link-set.component.mjs +0 -37
  919. package/esm2020/molecules/link-set/link-set-heading/link-set-heading.directive.mjs +0 -25
  920. package/esm2020/molecules/link-set/link-set-item/link-set-item.component.mjs +0 -26
  921. package/esm2020/molecules/link-set/link-set-subheading/link-set-subheading.directive.mjs +0 -25
  922. package/esm2020/molecules/link-set/link-set.module.mjs +0 -39
  923. package/esm2020/molecules/link-set/public_api.mjs +0 -6
  924. package/esm2020/molecules/list/list/list.component.mjs +0 -110
  925. package/esm2020/molecules/list/list-item/list-item.component.mjs +0 -49
  926. package/esm2020/molecules/list/list-subheader/list-subheader.directive.mjs +0 -25
  927. package/esm2020/molecules/list/list.module.mjs +0 -40
  928. package/esm2020/molecules/list/public_api.mjs +0 -5
  929. package/esm2020/molecules/media-gallery/media-gallery-registration.interface.mjs +0 -2
  930. package/esm2020/molecules/media-gallery/media-gallery-token.mjs +0 -3
  931. package/esm2020/molecules/media-gallery/media-gallery.component.mjs +0 -60
  932. package/esm2020/molecules/media-gallery/media-gallery.module.mjs +0 -32
  933. package/esm2020/molecules/media-gallery/media-renderer/media-renderer.component.mjs +0 -76
  934. package/esm2020/molecules/media-gallery/public_api.mjs +0 -5
  935. package/esm2020/molecules/media-gallery/registry/media-gallery.registry.mjs +0 -97
  936. package/esm2020/molecules/media-gallery/thumbnail/thumbnail-compat.token.mjs +0 -6
  937. package/esm2020/molecules/media-gallery/thumbnail/thumbnail-registration.interface.mjs +0 -2
  938. package/esm2020/molecules/media-gallery/thumbnail/thumbnail.directive.mjs +0 -88
  939. package/esm2020/molecules/menu/helpers/create-overlay.mjs +0 -29
  940. package/esm2020/molecules/menu/helpers/public_api.mjs +0 -2
  941. package/esm2020/molecules/menu/menu/menu.component.mjs +0 -63
  942. package/esm2020/molecules/menu/menu-activator/menu-activator.component.mjs +0 -48
  943. package/esm2020/molecules/menu/menu-item/menu-item.component.mjs +0 -35
  944. package/esm2020/molecules/menu/menu.module.mjs +0 -44
  945. package/esm2020/molecules/menu/public_api.mjs +0 -7
  946. package/esm2020/molecules/menu/service/menu.service.mjs +0 -52
  947. package/esm2020/molecules/modal/animations/modal-animation-state.mjs +0 -2
  948. package/esm2020/molecules/modal/animations/modal-animation.mjs +0 -9
  949. package/esm2020/molecules/modal/modal/modal-config.mjs +0 -2
  950. package/esm2020/molecules/modal/modal/modal.component.mjs +0 -93
  951. package/esm2020/molecules/modal/modal-actions/modal-actions.component.mjs +0 -11
  952. package/esm2020/molecules/modal/modal-content/modal-content.component.mjs +0 -11
  953. package/esm2020/molecules/modal/modal-header/modal-header.component.mjs +0 -20
  954. package/esm2020/molecules/modal/modal-title/modal-title.directive.mjs +0 -22
  955. package/esm2020/molecules/modal/modal.mjs +0 -2
  956. package/esm2020/molecules/modal/modal.module.mjs +0 -50
  957. package/esm2020/molecules/modal/public_api.mjs +0 -8
  958. package/esm2020/molecules/modal/service/modal.service.mjs +0 -70
  959. package/esm2020/molecules/navbar/navbar.component.mjs +0 -51
  960. package/esm2020/molecules/navbar/navbar.module.mjs +0 -20
  961. package/esm2020/molecules/navbar/public_api.mjs +0 -3
  962. package/esm2020/molecules/paginator/paginator-errors.mjs +0 -3
  963. package/esm2020/molecules/paginator/paginator.component.mjs +0 -182
  964. package/esm2020/molecules/paginator/paginator.module.mjs +0 -36
  965. package/esm2020/molecules/paginator/public_api.mjs +0 -3
  966. package/esm2020/molecules/qty-dropdown/qty-dropdown.component.mjs +0 -115
  967. package/esm2020/molecules/qty-dropdown/qty-dropdown.module.mjs +0 -40
  968. package/esm2020/molecules/sidebar/animation/sidebar-animation-state.mjs +0 -12
  969. package/esm2020/molecules/sidebar/animation/sidebar-animation-width.mjs +0 -2
  970. package/esm2020/molecules/sidebar/animation/sidebar-animation.mjs +0 -47
  971. package/esm2020/molecules/sidebar/animation/sidebar-viewport-animation-state.mjs +0 -3
  972. package/esm2020/molecules/sidebar/helper/sidebar-mode.mjs +0 -2
  973. package/esm2020/molecules/sidebar/helper/sidebar-side.mjs +0 -2
  974. package/esm2020/molecules/sidebar/public_api.mjs +0 -4
  975. package/esm2020/molecules/sidebar/sidebar/sidebar.component.mjs +0 -96
  976. package/esm2020/molecules/sidebar/sidebar-viewport/backdrop-interactable.mjs +0 -5
  977. package/esm2020/molecules/sidebar/sidebar-viewport/content-pad.mjs +0 -17
  978. package/esm2020/molecules/sidebar/sidebar-viewport/content-shift.mjs +0 -21
  979. package/esm2020/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +0 -123
  980. package/esm2020/molecules/sidebar/sidebar.module.mjs +0 -37
  981. package/esm2020/navbar/examples/basic-navbar/basic-navbar.component.mjs +0 -12
  982. package/esm2020/navbar/examples/basic-navbar/basic-navbar.module.mjs +0 -31
  983. package/esm2020/navbar/examples/contained-navbar/contained-navbar.component.mjs +0 -12
  984. package/esm2020/navbar/examples/contained-navbar/contained-navbar.module.mjs +0 -31
  985. package/esm2020/navbar/examples/navbar-theming/navbar-theming.component.mjs +0 -28
  986. package/esm2020/navbar/examples/navbar-theming/navbar-theming.module.mjs +0 -32
  987. package/esm2020/navbar/examples/raised-navbar/raised-navbar.component.mjs +0 -12
  988. package/esm2020/navbar/examples/raised-navbar/raised-navbar.module.mjs +0 -28
  989. package/esm2020/notification/examples/default-notification/default-notification.component.mjs +0 -18
  990. package/esm2020/notification/examples/default-notification/default-notification.module.mjs +0 -36
  991. package/esm2020/notification/examples/dismissable-notification/dismissable-notification.component.mjs +0 -18
  992. package/esm2020/notification/examples/dismissable-notification/dismissable-notification.module.mjs +0 -36
  993. package/esm2020/notification/examples/notification-orientations/notification-orientations.component.mjs +0 -23
  994. package/esm2020/notification/examples/notification-orientations/notification-orientations.module.mjs +0 -40
  995. package/esm2020/notification/examples/notification-status/notification-status.component.mjs +0 -24
  996. package/esm2020/notification/examples/notification-status/notification-status.module.mjs +0 -40
  997. package/esm2020/notification/notification/notification.component.mjs +0 -95
  998. package/esm2020/notification/notification-actions/notification-actions.directive.mjs +0 -19
  999. package/esm2020/notification/notification-message/notification-message.directive.mjs +0 -19
  1000. package/esm2020/notification/notification-subtitle/notification-subtitle.directive.mjs +0 -19
  1001. package/esm2020/notification/notification-title/notification-title.directive.mjs +0 -19
  1002. package/esm2020/notification/notification.module.mjs +0 -54
  1003. package/esm2020/paginator/examples/basic-paginator/basic-paginator.component.mjs +0 -19
  1004. package/esm2020/paginator/examples/link-paginator/link-paginator.component.mjs +0 -26
  1005. package/esm2020/paginator/examples/paginator-examples.module.mjs +0 -27
  1006. package/esm2020/public_api.mjs +0 -43
  1007. package/esm2020/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +0 -17
  1008. package/esm2020/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.mjs +0 -35
  1009. package/esm2020/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +0 -17
  1010. package/esm2020/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.mjs +0 -35
  1011. package/esm2020/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +0 -17
  1012. package/esm2020/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.mjs +0 -35
  1013. package/esm2020/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +0 -17
  1014. package/esm2020/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.mjs +0 -35
  1015. package/esm2020/radio/examples/basic-radio/basic-radio.component.mjs +0 -21
  1016. package/esm2020/radio/examples/basic-radio/basic-radio.module.mjs +0 -29
  1017. package/esm2020/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +0 -12
  1018. package/esm2020/sidebar/examples/basic-sidebar/basic-sidebar.module.mjs +0 -27
  1019. package/esm2020/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.component.mjs +0 -21
  1020. package/esm2020/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.module.mjs +0 -30
  1021. package/esm2020/sidebar/examples/public_api.mjs +0 -18
  1022. package/esm2020/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.component.mjs +0 -12
  1023. package/esm2020/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.module.mjs +0 -27
  1024. package/esm2020/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.component.mjs +0 -12
  1025. package/esm2020/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.module.mjs +0 -27
  1026. package/esm2020/sidebar/examples/under-sidebar/under-sidebar.component.mjs +0 -26
  1027. package/esm2020/sidebar/examples/under-sidebar/under-sidebar.module.mjs +0 -30
  1028. package/esm2020/tree/examples/basic-tree/basic-tree.component.mjs +0 -39
  1029. package/esm2020/tree/examples/basic-tree/basic-tree.module.mjs +0 -32
  1030. package/esm2020/tree/tree/tree-notifier.service.mjs +0 -45
  1031. package/esm2020/tree/tree/tree.component.mjs +0 -106
  1032. package/esm2020/tree/tree-item/tree-item.directive.mjs +0 -154
  1033. package/esm2020/tree/tree.module.mjs +0 -29
  1034. package/fesm2015/daffodil-design-accordion-examples.mjs +0 -74
  1035. package/fesm2015/daffodil-design-accordion-examples.mjs.map +0 -1
  1036. package/fesm2015/daffodil-design-article-examples.mjs +0 -145
  1037. package/fesm2015/daffodil-design-article-examples.mjs.map +0 -1
  1038. package/fesm2015/daffodil-design-button-examples.mjs +0 -312
  1039. package/fesm2015/daffodil-design-button-examples.mjs.map +0 -1
  1040. package/fesm2015/daffodil-design-callout-examples.mjs +0 -213
  1041. package/fesm2015/daffodil-design-callout-examples.mjs.map +0 -1
  1042. package/fesm2015/daffodil-design-card-examples.mjs +0 -346
  1043. package/fesm2015/daffodil-design-card-examples.mjs.map +0 -1
  1044. package/fesm2015/daffodil-design-checkbox-examples.mjs +0 -119
  1045. package/fesm2015/daffodil-design-checkbox-examples.mjs.map +0 -1
  1046. package/fesm2015/daffodil-design-container-examples.mjs +0 -64
  1047. package/fesm2015/daffodil-design-container-examples.mjs.map +0 -1
  1048. package/fesm2015/daffodil-design-hero-examples.mjs +0 -210
  1049. package/fesm2015/daffodil-design-hero-examples.mjs.map +0 -1
  1050. package/fesm2015/daffodil-design-image-examples.mjs +0 -115
  1051. package/fesm2015/daffodil-design-image-examples.mjs.map +0 -1
  1052. package/fesm2015/daffodil-design-input-examples.mjs +0 -145
  1053. package/fesm2015/daffodil-design-input-examples.mjs.map +0 -1
  1054. package/fesm2015/daffodil-design-list-examples.mjs +0 -191
  1055. package/fesm2015/daffodil-design-list-examples.mjs.map +0 -1
  1056. package/fesm2015/daffodil-design-loading-icon-examples.mjs +0 -87
  1057. package/fesm2015/daffodil-design-loading-icon-examples.mjs.map +0 -1
  1058. package/fesm2015/daffodil-design-media-gallery-examples.mjs +0 -116
  1059. package/fesm2015/daffodil-design-media-gallery-examples.mjs.map +0 -1
  1060. package/fesm2015/daffodil-design-menu-examples.mjs +0 -72
  1061. package/fesm2015/daffodil-design-menu-examples.mjs.map +0 -1
  1062. package/fesm2015/daffodil-design-modal-examples.mjs +0 -64
  1063. package/fesm2015/daffodil-design-modal-examples.mjs.map +0 -1
  1064. package/fesm2015/daffodil-design-navbar-examples.mjs +0 -172
  1065. package/fesm2015/daffodil-design-navbar-examples.mjs.map +0 -1
  1066. package/fesm2015/daffodil-design-notification-examples.mjs +0 -203
  1067. package/fesm2015/daffodil-design-notification-examples.mjs.map +0 -1
  1068. package/fesm2015/daffodil-design-notification.mjs +0 -216
  1069. package/fesm2015/daffodil-design-notification.mjs.map +0 -1
  1070. package/fesm2015/daffodil-design-paginator-examples.mjs +0 -75
  1071. package/fesm2015/daffodil-design-paginator-examples.mjs.map +0 -1
  1072. package/fesm2015/daffodil-design-quantity-field-examples.mjs +0 -185
  1073. package/fesm2015/daffodil-design-quantity-field-examples.mjs.map +0 -1
  1074. package/fesm2015/daffodil-design-radio-examples.mjs +0 -60
  1075. package/fesm2015/daffodil-design-radio-examples.mjs.map +0 -1
  1076. package/fesm2015/daffodil-design-sidebar-examples.mjs +0 -208
  1077. package/fesm2015/daffodil-design-sidebar-examples.mjs.map +0 -1
  1078. package/fesm2015/daffodil-design-tree-examples.mjs +0 -79
  1079. package/fesm2015/daffodil-design-tree-examples.mjs.map +0 -1
  1080. package/fesm2015/daffodil-design-tree.mjs +0 -441
  1081. package/fesm2015/daffodil-design-tree.mjs.map +0 -1
  1082. package/fesm2015/daffodil-design.mjs +0 -5979
  1083. package/fesm2015/daffodil-design.mjs.map +0 -1
  1084. package/fesm2020/daffodil-design-accordion-examples.mjs +0 -74
  1085. package/fesm2020/daffodil-design-accordion-examples.mjs.map +0 -1
  1086. package/fesm2020/daffodil-design-article-examples.mjs +0 -145
  1087. package/fesm2020/daffodil-design-article-examples.mjs.map +0 -1
  1088. package/fesm2020/daffodil-design-button-examples.mjs +0 -312
  1089. package/fesm2020/daffodil-design-button-examples.mjs.map +0 -1
  1090. package/fesm2020/daffodil-design-callout-examples.mjs +0 -213
  1091. package/fesm2020/daffodil-design-callout-examples.mjs.map +0 -1
  1092. package/fesm2020/daffodil-design-card-examples.mjs +0 -346
  1093. package/fesm2020/daffodil-design-card-examples.mjs.map +0 -1
  1094. package/fesm2020/daffodil-design-checkbox-examples.mjs +0 -119
  1095. package/fesm2020/daffodil-design-checkbox-examples.mjs.map +0 -1
  1096. package/fesm2020/daffodil-design-container-examples.mjs +0 -64
  1097. package/fesm2020/daffodil-design-container-examples.mjs.map +0 -1
  1098. package/fesm2020/daffodil-design-hero-examples.mjs +0 -210
  1099. package/fesm2020/daffodil-design-hero-examples.mjs.map +0 -1
  1100. package/fesm2020/daffodil-design-image-examples.mjs +0 -115
  1101. package/fesm2020/daffodil-design-image-examples.mjs.map +0 -1
  1102. package/fesm2020/daffodil-design-input-examples.mjs +0 -145
  1103. package/fesm2020/daffodil-design-input-examples.mjs.map +0 -1
  1104. package/fesm2020/daffodil-design-list-examples.mjs +0 -191
  1105. package/fesm2020/daffodil-design-list-examples.mjs.map +0 -1
  1106. package/fesm2020/daffodil-design-loading-icon-examples.mjs +0 -87
  1107. package/fesm2020/daffodil-design-loading-icon-examples.mjs.map +0 -1
  1108. package/fesm2020/daffodil-design-media-gallery-examples.mjs +0 -116
  1109. package/fesm2020/daffodil-design-media-gallery-examples.mjs.map +0 -1
  1110. package/fesm2020/daffodil-design-menu-examples.mjs +0 -72
  1111. package/fesm2020/daffodil-design-menu-examples.mjs.map +0 -1
  1112. package/fesm2020/daffodil-design-modal-examples.mjs +0 -64
  1113. package/fesm2020/daffodil-design-modal-examples.mjs.map +0 -1
  1114. package/fesm2020/daffodil-design-navbar-examples.mjs +0 -172
  1115. package/fesm2020/daffodil-design-navbar-examples.mjs.map +0 -1
  1116. package/fesm2020/daffodil-design-notification-examples.mjs +0 -203
  1117. package/fesm2020/daffodil-design-notification-examples.mjs.map +0 -1
  1118. package/fesm2020/daffodil-design-notification.mjs +0 -216
  1119. package/fesm2020/daffodil-design-notification.mjs.map +0 -1
  1120. package/fesm2020/daffodil-design-paginator-examples.mjs +0 -75
  1121. package/fesm2020/daffodil-design-paginator-examples.mjs.map +0 -1
  1122. package/fesm2020/daffodil-design-quantity-field-examples.mjs +0 -185
  1123. package/fesm2020/daffodil-design-quantity-field-examples.mjs.map +0 -1
  1124. package/fesm2020/daffodil-design-radio-examples.mjs +0 -60
  1125. package/fesm2020/daffodil-design-radio-examples.mjs.map +0 -1
  1126. package/fesm2020/daffodil-design-sidebar-examples.mjs +0 -208
  1127. package/fesm2020/daffodil-design-sidebar-examples.mjs.map +0 -1
  1128. package/fesm2020/daffodil-design-tree-examples.mjs +0 -79
  1129. package/fesm2020/daffodil-design-tree-examples.mjs.map +0 -1
  1130. package/fesm2020/daffodil-design-tree.mjs +0 -446
  1131. package/fesm2020/daffodil-design-tree.mjs.map +0 -1
  1132. package/fesm2020/daffodil-design.mjs +0 -5966
  1133. package/fesm2020/daffodil-design.mjs.map +0 -1
  1134. package/molecules/accordion/accordion/accordion.component.d.ts +0 -24
  1135. package/molecules/accordion/accordion-item/accordion-item.component.d.ts +0 -32
  1136. package/molecules/accordion/accordion.module.d.ts +0 -14
  1137. package/molecules/accordion/nav-accordion-item/nav-accordion-item.component.d.ts +0 -44
  1138. package/molecules/accordion/public_api.d.ts +0 -6
  1139. package/molecules/callout/callout/callout.component.d.ts +0 -90
  1140. package/molecules/card/card/card.component.d.ts +0 -70
  1141. package/molecules/hero/hero/hero.component.d.ts +0 -91
  1142. package/molecules/link-set/link-set/link-set.component.d.ts +0 -31
  1143. package/molecules/list/list/list.component.d.ts +0 -73
  1144. package/molecules/list/list-item/list-item.component.d.ts +0 -30
  1145. package/molecules/list/list.module.d.ts +0 -11
  1146. package/molecules/media-gallery/media-gallery.component.d.ts +0 -45
  1147. package/molecules/media-gallery/media-gallery.module.d.ts +0 -10
  1148. package/molecules/media-gallery/media-renderer/media-renderer.component.d.ts +0 -29
  1149. package/molecules/media-gallery/public_api.d.ts +0 -4
  1150. package/molecules/media-gallery/registry/media-gallery.registry.d.ts +0 -34
  1151. package/molecules/media-gallery/thumbnail/thumbnail-registration.interface.d.ts +0 -9
  1152. package/molecules/media-gallery/thumbnail/thumbnail.directive.d.ts +0 -44
  1153. package/molecules/menu/menu/menu.component.d.ts +0 -19
  1154. package/molecules/menu/menu-activator/menu-activator.component.d.ts +0 -18
  1155. package/molecules/menu/menu-item/menu-item.component.d.ts +0 -20
  1156. package/molecules/menu/public_api.d.ts +0 -6
  1157. package/molecules/menu/service/menu.service.d.ts +0 -24
  1158. package/molecules/modal/animations/modal-animation-state.d.ts +0 -1
  1159. package/molecules/modal/modal/modal.component.d.ts +0 -52
  1160. package/molecules/modal/modal.d.ts +0 -13
  1161. package/molecules/modal/public_api.d.ts +0 -8
  1162. package/molecules/modal/service/modal.service.d.ts +0 -19
  1163. package/molecules/navbar/navbar.component.d.ts +0 -44
  1164. package/molecules/navbar/navbar.module.d.ts +0 -7
  1165. package/molecules/navbar/public_api.d.ts +0 -2
  1166. package/molecules/paginator/paginator.component.d.ts +0 -147
  1167. package/molecules/paginator/paginator.module.d.ts +0 -11
  1168. package/molecules/paginator/public_api.d.ts +0 -2
  1169. package/molecules/sidebar/animation/sidebar-animation-state.d.ts +0 -2
  1170. package/molecules/sidebar/animation/sidebar-animation.d.ts +0 -11
  1171. package/molecules/sidebar/animation/sidebar-viewport-animation-state.d.ts +0 -6
  1172. package/molecules/sidebar/helper/sidebar-mode.d.ts +0 -27
  1173. package/molecules/sidebar/helper/sidebar-side.d.ts +0 -12
  1174. package/molecules/sidebar/public_api.d.ts +0 -5
  1175. package/molecules/sidebar/sidebar/sidebar.component.d.ts +0 -52
  1176. package/molecules/sidebar/sidebar-viewport/backdrop-interactable.d.ts +0 -6
  1177. package/molecules/sidebar/sidebar-viewport/content-pad.d.ts +0 -7
  1178. package/molecules/sidebar/sidebar-viewport/content-shift.d.ts +0 -8
  1179. package/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +0 -75
  1180. package/molecules/sidebar/sidebar.module.d.ts +0 -11
  1181. package/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.component.d.ts +0 -8
  1182. package/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.module.d.ts +0 -8
  1183. package/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.component.d.ts +0 -5
  1184. package/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.module.d.ts +0 -8
  1185. package/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.component.d.ts +0 -5
  1186. package/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.module.d.ts +0 -8
  1187. package/sidebar/examples/under-sidebar/under-sidebar.component.d.ts +0 -10
  1188. package/sidebar/examples/under-sidebar/under-sidebar.module.d.ts +0 -8
  1189. package/src/atoms/button/button-theme-variants/button.scss +0 -26
  1190. package/src/atoms/button/button-theme-variants/flat.scss +0 -25
  1191. package/src/atoms/button/button-theme-variants/raised.scss +0 -36
  1192. package/src/atoms/button/button-theme-variants/stroked.scss +0 -28
  1193. package/src/atoms/button/button-theme.scss +0 -574
  1194. package/src/atoms/loading-icon/loading-icon-theme.scss +0 -61
  1195. package/src/molecules/accordion/accordion-item/accordion-item-theme.scss +0 -12
  1196. package/src/molecules/article/article/article-theme.scss +0 -78
  1197. package/src/molecules/callout/callout-theme.scss +0 -59
  1198. package/src/molecules/card/card/card-theme-variants/basic-card.scss +0 -6
  1199. package/src/molecules/card/card/card-theme-variants/linkable-card.scss +0 -16
  1200. package/src/molecules/card/card/card-theme.scss +0 -170
  1201. package/src/molecules/hero/hero-theme.scss +0 -59
  1202. package/src/molecules/list/list/list-theme.scss +0 -71
  1203. package/src/molecules/media-gallery/media-gallery-theme.scss +0 -27
  1204. package/src/molecules/menu/menu-theme.scss +0 -25
  1205. package/src/molecules/modal/modal-theme.scss +0 -9
  1206. package/src/molecules/navbar/navbar-theme.scss +0 -57
  1207. package/src/molecules/paginator/paginator-theme.scss +0 -90
  1208. package/src/molecules/sidebar/helper/_variables.scss +0 -7
  1209. package/src/molecules/sidebar/sidebar/sidebar-theme.scss +0 -13
  1210. package/src/molecules/sidebar/sidebar-viewport/sidebar-viewport-theme.scss +0 -16
  1211. /package/{molecules → accordion}/accordion/accordion-item-content/accordion-item-content.directive.d.ts +0 -0
  1212. /package/{molecules → accordion}/accordion/accordion-item-title/accordion-item-title.directive.d.ts +0 -0
  1213. /package/{molecules → accordion}/accordion/animation/accordion-animation-state.d.ts +0 -0
  1214. /package/{molecules → accordion}/accordion/animation/accordion-animation.d.ts +0 -0
  1215. /package/{molecules/article → article}/article/article.component.d.ts +0 -0
  1216. /package/{molecules/article → article}/article-lead/article-lead.directive.d.ts +0 -0
  1217. /package/{molecules/article → article}/article-meta/article-meta.directive.d.ts +0 -0
  1218. /package/{molecules/article → article}/article-title/article-title.directive.d.ts +0 -0
  1219. /package/{molecules/article → article}/article.module.d.ts +0 -0
  1220. /package/{molecules/article → article}/public_api.d.ts +0 -0
  1221. /package/{src/molecules/article → article/src}/article/_stops-article-cascade.scss +0 -0
  1222. /package/{src/atoms/button → button/src}/button-theme-variants/icon.scss +0 -0
  1223. /package/{src/atoms/button → button/src}/button-theme-variants/underline.scss +0 -0
  1224. /package/{molecules/callout → callout}/callout-body/callout-body.directive.d.ts +0 -0
  1225. /package/{molecules/callout → callout}/callout-icon/callout-icon.directive.d.ts +0 -0
  1226. /package/{molecules/callout → callout}/callout-subtitle/callout-subtitle.directive.d.ts +0 -0
  1227. /package/{molecules/callout → callout}/callout-tagline/callout-tagline.directive.d.ts +0 -0
  1228. /package/{molecules/callout → callout}/callout-title/callout-title.directive.d.ts +0 -0
  1229. /package/{molecules/callout → callout}/callout.module.d.ts +0 -0
  1230. /package/{molecules/callout → callout}/public_api.d.ts +0 -0
  1231. /package/{molecules/card → card}/card-actions/card-actions.directive.d.ts +0 -0
  1232. /package/{molecules/card → card}/card-content/card-content.directive.d.ts +0 -0
  1233. /package/{molecules/card → card}/card-icon/card-icon.directive.d.ts +0 -0
  1234. /package/{molecules/card → card}/card-image/card-image.directive.d.ts +0 -0
  1235. /package/{molecules/card → card}/card-tagline/card-tagline.directive.d.ts +0 -0
  1236. /package/{molecules/card → card}/card-title/card-title.directive.d.ts +0 -0
  1237. /package/{molecules/card → card}/card.module.d.ts +0 -0
  1238. /package/{molecules/card → card}/public_api.d.ts +0 -0
  1239. /package/{src/molecules/card/card → card/src}/card-theme-variants/stroked-card.scss +0 -0
  1240. /package/{esm2020 → esm2022}/accordion/examples/daffodil-design-accordion-examples.mjs +0 -0
  1241. /package/{esm2020 → esm2022}/accordion/examples/index.mjs +0 -0
  1242. /package/{esm2020 → esm2022}/article/examples/daffodil-design-article-examples.mjs +0 -0
  1243. /package/{esm2020 → esm2022}/article/examples/examples.mjs +0 -0
  1244. /package/{esm2020 → esm2022}/article/examples/index.mjs +0 -0
  1245. /package/{esm2020 → esm2022}/article/examples/public_api.mjs +0 -0
  1246. /package/{esm2020 → esm2022}/atoms/form/checkbox/public_api.mjs +0 -0
  1247. /package/{esm2020 → esm2022}/atoms/form/core/error-state-matcher/error-state-matcher.mjs +0 -0
  1248. /package/{esm2020 → esm2022}/atoms/form/core/public_api.mjs +0 -0
  1249. /package/{esm2020 → esm2022}/atoms/form/error-message/public_api.mjs +0 -0
  1250. /package/{esm2020 → esm2022}/atoms/form/form-field/form-field-control.mjs +0 -0
  1251. /package/{esm2020 → esm2022}/atoms/form/form-field/form-field-errors.mjs +0 -0
  1252. /package/{esm2020 → esm2022}/atoms/form/form-field/public_api.mjs +0 -0
  1253. /package/{esm2020 → esm2022}/atoms/form/form-label/public_api.mjs +0 -0
  1254. /package/{esm2020 → esm2022}/atoms/form/input/public_api.mjs +0 -0
  1255. /package/{esm2020 → esm2022}/atoms/form/native-select/public_api.mjs +0 -0
  1256. /package/{esm2020 → esm2022}/atoms/form/quantity-field/public_api.mjs +0 -0
  1257. /package/{esm2020 → esm2022}/atoms/form/radio/public_api.mjs +0 -0
  1258. /package/{esm2020 → esm2022}/atoms/progress-indicator/animation/progress-indicator-animation.mjs +0 -0
  1259. /package/{esm2020 → esm2022}/atoms/progress-indicator/public_api.mjs +0 -0
  1260. /package/{esm2020 → esm2022}/button/examples/daffodil-design-button-examples.mjs +0 -0
  1261. /package/{esm2020 → esm2022}/button/examples/examples.mjs +0 -0
  1262. /package/{esm2020 → esm2022}/button/examples/index.mjs +0 -0
  1263. /package/{esm2020 → esm2022}/button/examples/public_api.mjs +0 -0
  1264. /package/{esm2020 → esm2022}/callout/examples/daffodil-design-callout-examples.mjs +0 -0
  1265. /package/{esm2020 → esm2022}/callout/examples/examples.mjs +0 -0
  1266. /package/{esm2020 → esm2022}/callout/examples/index.mjs +0 -0
  1267. /package/{esm2020 → esm2022}/callout/examples/public_api.mjs +0 -0
  1268. /package/{esm2020 → esm2022}/card/examples/daffodil-design-card-examples.mjs +0 -0
  1269. /package/{esm2020 → esm2022}/card/examples/index.mjs +0 -0
  1270. /package/{esm2020 → esm2022}/card/examples/public_api.mjs +0 -0
  1271. /package/{esm2020 → esm2022}/checkbox/examples/daffodil-design-checkbox-examples.mjs +0 -0
  1272. /package/{esm2020 → esm2022}/checkbox/examples/examples.mjs +0 -0
  1273. /package/{esm2020 → esm2022}/checkbox/examples/index.mjs +0 -0
  1274. /package/{esm2020 → esm2022}/checkbox/examples/public_api.mjs +0 -0
  1275. /package/{esm2020 → esm2022}/container/examples/daffodil-design-container-examples.mjs +0 -0
  1276. /package/{esm2020 → esm2022}/container/examples/examples.mjs +0 -0
  1277. /package/{esm2020 → esm2022}/container/examples/index.mjs +0 -0
  1278. /package/{esm2020 → esm2022}/container/examples/public_api.mjs +0 -0
  1279. /package/{esm2020 → esm2022}/core/animation/animation-state-with-params.mjs +0 -0
  1280. /package/{esm2020 → esm2022}/core/article-encapsulated/article-encapsulated-mixin.mjs +0 -0
  1281. /package/{esm2020 → esm2022}/core/article-encapsulated/public_api.mjs +0 -0
  1282. /package/{esm2020 → esm2022}/core/breakpoints/breakpoints.mjs +0 -0
  1283. /package/{esm2020 → esm2022}/core/colorable/color-in-palette.mjs +0 -0
  1284. /package/{esm2020 → esm2022}/core/colorable/colorable-enum.mjs +0 -0
  1285. /package/{esm2020 → esm2022}/core/colorable/colorable.mjs +0 -0
  1286. /package/{esm2020 → esm2022}/core/colorable/public_api.mjs +0 -0
  1287. /package/{esm2020 → esm2022}/core/compactable/compactable.mjs +0 -0
  1288. /package/{esm2020 → esm2022}/core/compactable/public_api.mjs +0 -0
  1289. /package/{esm2020 → esm2022}/core/constructor/constructor.mjs +0 -0
  1290. /package/{esm2020 → esm2022}/core/focus/focusable-elements.mjs +0 -0
  1291. /package/{esm2020 → esm2022}/core/focus/public_api.mjs +0 -0
  1292. /package/{esm2020 → esm2022}/core/lazy/lazy-component.mjs +0 -0
  1293. /package/{esm2020 → esm2022}/core/lazy/public_api.mjs +0 -0
  1294. /package/{esm2020 → esm2022}/core/manage-container-layout/manage-container-layout-mixin.mjs +0 -0
  1295. /package/{esm2020 → esm2022}/core/manage-container-layout/public_api.mjs +0 -0
  1296. /package/{esm2020 → esm2022}/core/mutable/mutable.mjs +0 -0
  1297. /package/{esm2020 → esm2022}/core/prefix-suffix/prefixable/prefixable-interface.mjs +0 -0
  1298. /package/{esm2020 → esm2022}/core/prefix-suffix/public_api.mjs +0 -0
  1299. /package/{esm2020 → esm2022}/core/prefix-suffix/suffixable/suffixable-interface.mjs +0 -0
  1300. /package/{esm2020 → esm2022}/core/skeletonable/public_api.mjs +0 -0
  1301. /package/{esm2020 → esm2022}/core/skeletonable/skeletonable.mjs +0 -0
  1302. /package/{esm2020 → esm2022}/core/statusable/public_api.mjs +0 -0
  1303. /package/{esm2020 → esm2022}/core/statusable/statusable.mjs +0 -0
  1304. /package/{esm2020 → esm2022}/core/theming/functions/computer.mjs +0 -0
  1305. /package/{esm2020 → esm2022}/core/theming/initializer.mjs +0 -0
  1306. /package/{esm2020 → esm2022}/core/theming/public_api.mjs +0 -0
  1307. /package/{esm2020 → esm2022}/core/theming/types/theme.mjs +0 -0
  1308. /package/{esm2020 → esm2022}/daffodil-design.mjs +0 -0
  1309. /package/{esm2020 → esm2022}/examples/examples.mjs +0 -0
  1310. /package/{esm2020 → esm2022}/examples/public_api.mjs +0 -0
  1311. /package/{esm2020 → esm2022}/hero/examples/daffodil-design-hero-examples.mjs +0 -0
  1312. /package/{esm2020 → esm2022}/hero/examples/examples.mjs +0 -0
  1313. /package/{esm2020 → esm2022}/hero/examples/index.mjs +0 -0
  1314. /package/{esm2020 → esm2022}/hero/examples/public_api.mjs +0 -0
  1315. /package/{esm2020 → esm2022}/image/examples/daffodil-design-image-examples.mjs +0 -0
  1316. /package/{esm2020 → esm2022}/image/examples/index.mjs +0 -0
  1317. /package/{esm2020 → esm2022}/image/examples/public_api.mjs +0 -0
  1318. /package/{esm2020 → esm2022}/input/examples/daffodil-design-input-examples.mjs +0 -0
  1319. /package/{esm2020 → esm2022}/input/examples/examples.mjs +0 -0
  1320. /package/{esm2020 → esm2022}/input/examples/index.mjs +0 -0
  1321. /package/{esm2020 → esm2022}/input/examples/public_api.mjs +0 -0
  1322. /package/{esm2020 → esm2022}/list/examples/daffodil-design-list-examples.mjs +0 -0
  1323. /package/{esm2020 → esm2022}/list/examples/examples.mjs +0 -0
  1324. /package/{esm2020 → esm2022}/list/examples/index.mjs +0 -0
  1325. /package/{esm2020 → esm2022}/list/examples/public_api.mjs +0 -0
  1326. /package/{esm2020 → esm2022}/loading-icon/examples/daffodil-design-loading-icon-examples.mjs +0 -0
  1327. /package/{esm2020 → esm2022}/loading-icon/examples/examples.mjs +0 -0
  1328. /package/{esm2020 → esm2022}/loading-icon/examples/index.mjs +0 -0
  1329. /package/{esm2020 → esm2022}/loading-icon/examples/public_api.mjs +0 -0
  1330. /package/{esm2020 → esm2022}/media-gallery/examples/daffodil-design-media-gallery-examples.mjs +0 -0
  1331. /package/{esm2020 → esm2022}/media-gallery/examples/examples.mjs +0 -0
  1332. /package/{esm2020 → esm2022}/media-gallery/examples/index.mjs +0 -0
  1333. /package/{esm2020 → esm2022}/media-gallery/examples/public_api.mjs +0 -0
  1334. /package/{esm2020 → esm2022}/menu/examples/daffodil-design-menu-examples.mjs +0 -0
  1335. /package/{esm2020 → esm2022}/menu/examples/index.mjs +0 -0
  1336. /package/{esm2020 → esm2022}/menu/examples/public_api.mjs +0 -0
  1337. /package/{esm2020 → esm2022}/modal/examples/daffodil-design-modal-examples.mjs +0 -0
  1338. /package/{esm2020 → esm2022}/modal/examples/index.mjs +0 -0
  1339. /package/{esm2020 → esm2022}/modal/examples/public_api.mjs +0 -0
  1340. /package/{esm2020 → esm2022}/molecules/backdrop/animation/backdrop-animation-state.mjs +0 -0
  1341. /package/{esm2020 → esm2022}/molecules/backdrop/animation/backdrop-animation.mjs +0 -0
  1342. /package/{esm2020 → esm2022}/molecules/backdrop/public_api.mjs +0 -0
  1343. /package/{esm2020 → esm2022}/molecules/button-set/public_api.mjs +0 -0
  1344. /package/{esm2020 → esm2022}/molecules/feature/public_api.mjs +0 -0
  1345. /package/{esm2020 → esm2022}/molecules/image-gallery/public_api.mjs +0 -0
  1346. /package/{esm2020 → esm2022}/molecules/image-list/public_api.mjs +0 -0
  1347. /package/{esm2020 → esm2022}/molecules/qty-dropdown/public_api.mjs +0 -0
  1348. /package/{esm2020 → esm2022}/navbar/examples/daffodil-design-navbar-examples.mjs +0 -0
  1349. /package/{esm2020 → esm2022}/navbar/examples/examples.mjs +0 -0
  1350. /package/{esm2020 → esm2022}/navbar/examples/index.mjs +0 -0
  1351. /package/{esm2020 → esm2022}/navbar/examples/public_api.mjs +0 -0
  1352. /package/{esm2020 → esm2022}/notification/daffodil-design-notification.mjs +0 -0
  1353. /package/{esm2020 → esm2022}/notification/examples/daffodil-design-notification-examples.mjs +0 -0
  1354. /package/{esm2020 → esm2022}/notification/examples/index.mjs +0 -0
  1355. /package/{esm2020 → esm2022}/notification/examples/public_api.mjs +0 -0
  1356. /package/{esm2020 → esm2022}/notification/public_api.mjs +0 -0
  1357. /package/{esm2020 → esm2022}/paginator/examples/daffodil-design-paginator-examples.mjs +0 -0
  1358. /package/{esm2020 → esm2022}/paginator/examples/examples.mjs +0 -0
  1359. /package/{esm2020 → esm2022}/paginator/examples/index.mjs +0 -0
  1360. /package/{esm2020 → esm2022}/paginator/examples/public_api.mjs +0 -0
  1361. /package/{esm2020 → esm2022}/quantity-field/examples/daffodil-design-quantity-field-examples.mjs +0 -0
  1362. /package/{esm2020 → esm2022}/quantity-field/examples/index.mjs +0 -0
  1363. /package/{esm2020 → esm2022}/quantity-field/examples/public_api.mjs +0 -0
  1364. /package/{esm2020 → esm2022}/radio/examples/daffodil-design-radio-examples.mjs +0 -0
  1365. /package/{esm2020 → esm2022}/radio/examples/examples.mjs +0 -0
  1366. /package/{esm2020 → esm2022}/radio/examples/index.mjs +0 -0
  1367. /package/{esm2020 → esm2022}/radio/examples/public_api.mjs +0 -0
  1368. /package/{esm2020 → esm2022}/sidebar/examples/daffodil-design-sidebar-examples.mjs +0 -0
  1369. /package/{esm2020 → esm2022}/sidebar/examples/index.mjs +0 -0
  1370. /package/{esm2020 → esm2022}/tree/daffodil-design-tree.mjs +0 -0
  1371. /package/{esm2020 → esm2022}/tree/examples/daffodil-design-tree-examples.mjs +0 -0
  1372. /package/{esm2020 → esm2022}/tree/examples/index.mjs +0 -0
  1373. /package/{esm2020 → esm2022}/tree/examples/public_api.mjs +0 -0
  1374. /package/{esm2020 → esm2022}/tree/index.mjs +0 -0
  1375. /package/{esm2020 → esm2022}/tree/interfaces/recursive-key.mjs +0 -0
  1376. /package/{esm2020 → esm2022}/tree/interfaces/tree-data.mjs +0 -0
  1377. /package/{esm2020 → esm2022}/tree/interfaces/tree-ui.mjs +0 -0
  1378. /package/{esm2020 → esm2022}/tree/public_api.mjs +0 -0
  1379. /package/{esm2020 → esm2022}/tree/utils/flatten-tree.mjs +0 -0
  1380. /package/{esm2020 → esm2022}/tree/utils/hydrate-tree.mjs +0 -0
  1381. /package/{esm2020 → esm2022}/tree/utils/transform-in-place.mjs +0 -0
  1382. /package/{esm2020 → esm2022}/tree/utils/traverse-tree.mjs +0 -0
  1383. /package/{molecules/hero → hero}/hero-body/hero-body.directive.d.ts +0 -0
  1384. /package/{molecules/hero → hero}/hero-icon/hero-icon.directive.d.ts +0 -0
  1385. /package/{molecules/hero → hero}/hero-subtitle/hero-subtitle.directive.d.ts +0 -0
  1386. /package/{molecules/hero → hero}/hero-tagline/hero-tagline.directive.d.ts +0 -0
  1387. /package/{molecules/hero → hero}/hero-title/hero-title.directive.d.ts +0 -0
  1388. /package/{molecules/hero → hero}/hero.module.d.ts +0 -0
  1389. /package/{molecules/hero → hero}/public_api.d.ts +0 -0
  1390. /package/{molecules/link-set → link-set}/link-set-heading/link-set-heading.directive.d.ts +0 -0
  1391. /package/{molecules/link-set → link-set}/link-set-item/link-set-item.component.d.ts +0 -0
  1392. /package/{molecules/link-set → link-set}/link-set-subheading/link-set-subheading.directive.d.ts +0 -0
  1393. /package/{molecules/link-set → link-set}/link-set.module.d.ts +0 -0
  1394. /package/{molecules/link-set → link-set}/public_api.d.ts +0 -0
  1395. /package/{molecules/list → list}/list-subheader/list-subheader.directive.d.ts +0 -0
  1396. /package/{molecules/list → list}/public_api.d.ts +0 -0
  1397. /package/{molecules/media-gallery → media-gallery/helpers}/media-gallery-registration.interface.d.ts +0 -0
  1398. /package/{molecules/media-gallery → media-gallery/helpers}/media-gallery-token.d.ts +0 -0
  1399. /package/{molecules/media-gallery → media-gallery}/thumbnail/thumbnail-compat.token.d.ts +0 -0
  1400. /package/{molecules/menu → menu}/helpers/create-overlay.d.ts +0 -0
  1401. /package/{molecules/menu → menu}/helpers/public_api.d.ts +0 -0
  1402. /package/{molecules/menu → menu}/menu.module.d.ts +0 -0
  1403. /package/{molecules/modal → modal}/animations/modal-animation.d.ts +0 -0
  1404. /package/{molecules/modal → modal}/modal/modal-config.d.ts +0 -0
  1405. /package/{molecules/modal → modal}/modal-actions/modal-actions.component.d.ts +0 -0
  1406. /package/{molecules/modal → modal}/modal-content/modal-content.component.d.ts +0 -0
  1407. /package/{molecules/modal → modal}/modal-header/modal-header.component.d.ts +0 -0
  1408. /package/{molecules/modal → modal}/modal-title/modal-title.directive.d.ts +0 -0
  1409. /package/{molecules/modal → modal}/modal.module.d.ts +0 -0
  1410. /package/{molecules/paginator → paginator/utils}/paginator-errors.d.ts +0 -0
  1411. /package/{molecules/sidebar → sidebar}/animation/sidebar-animation-width.d.ts +0 -0
@@ -0,0 +1,158 @@
1
+ import { ConfigurableFocusTrapFactory, } from '@angular/cdk/a11y';
2
+ import { DOCUMENT } from '@angular/common';
3
+ import { Component, NgZone, ElementRef, Output, EventEmitter, HostBinding, ChangeDetectionStrategy, Input, HostListener, Inject, } from '@angular/core';
4
+ import { fromEvent } from 'rxjs';
5
+ import { filter } from 'rxjs/operators';
6
+ import { daffFocusableElementsSelector, DaffFocusStackService, } from '@daffodil/design';
7
+ import { isOpening } from './is-opening';
8
+ import { daffSidebarAnimations } from '../animation/sidebar-animation';
9
+ import { getAnimationState, } from '../animation/sidebar-animation-state';
10
+ import { getSidebarAnimationWidth } from '../animation/sidebar-animation-width';
11
+ import * as i0 from "@angular/core";
12
+ import * as i1 from "@angular/cdk/a11y";
13
+ import * as i2 from "@daffodil/design";
14
+ /**
15
+ * DaffSidebarComponent is heavily based upon the work done by the @angular/components
16
+ * team on `mat-drawer` and `mat-sidenav`. `daff-sidebar` is intended to be
17
+ * a simplified version (with a different design) of `mat-drawer`.
18
+ */
19
+ export class DaffSidebarComponent {
20
+ /**
21
+ * @docs-private
22
+ *
23
+ * The CSS classes set.
24
+ */
25
+ get classes() {
26
+ return {
27
+ 'daff-sidebar': true,
28
+ [this.side]: true,
29
+ [this.mode]: true,
30
+ };
31
+ }
32
+ ;
33
+ /**
34
+ * The animation state of the sidebar.
35
+ */
36
+ get transformSidebar() {
37
+ return {
38
+ value: getAnimationState(this.open, this.mode),
39
+ params: { width: getSidebarAnimationWidth(this.side, this.width) },
40
+ };
41
+ }
42
+ /**
43
+ * The width of the sidebar.
44
+ */
45
+ get width() {
46
+ return this._elementRef.nativeElement.offsetWidth;
47
+ }
48
+ constructor(_elementRef, _ngZone, _focusTrapFactory, _focusStack, _doc) {
49
+ this._elementRef = _elementRef;
50
+ this._ngZone = _ngZone;
51
+ this._focusTrapFactory = _focusTrapFactory;
52
+ this._focusStack = _focusStack;
53
+ this._doc = _doc;
54
+ /**
55
+ * Event fired when `ESC` key is pressed when the sidebar has focus
56
+ */
57
+ this.escapePressed = new EventEmitter();
58
+ /**
59
+ * What side of the viewport to show the sidebar on.
60
+ */
61
+ this.side = 'left';
62
+ /**
63
+ * The mode of the sidebar.
64
+ */
65
+ this.mode = 'side';
66
+ /**
67
+ * Whether or not the sidebar is open.
68
+ */
69
+ this.open = false;
70
+ /**
71
+ * Listen to `keydown` events outside the zone so that change detection is not run every
72
+ * time a key is pressed. Instead we re-enter the zone only if the `ESC` key is pressed.
73
+ *
74
+ */
75
+ this._ngZone.runOutsideAngular(() => {
76
+ fromEvent(this._elementRef.nativeElement, 'keydown').pipe(filter(event => event.key === 'Escape')).subscribe(event => this._ngZone.run(() => {
77
+ this.escapePressed.emit();
78
+ event.stopPropagation();
79
+ }));
80
+ });
81
+ }
82
+ /**
83
+ * Animation event that can be used to hook into when the transformSidebar
84
+ * animation begins. This is used in sidebar to determine when to show the
85
+ * visibility of the sidebar so that the animation does not jump as the element is shown.
86
+ */
87
+ onAnimationStart(e) {
88
+ if (e.toState === 'open' || e.toState === 'under-open' || e.toState === 'side-fixed-open') {
89
+ this._elementRef.nativeElement.style.visibility = 'visible';
90
+ }
91
+ }
92
+ /**
93
+ * Animation event that can be used to hook into when the
94
+ * transformSidebar animation is complete.
95
+ */
96
+ onAnimationComplete(e) {
97
+ if (isOpening(e.fromState, e.toState)) {
98
+ this._focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement);
99
+ const focusableChild = this._elementRef.nativeElement.querySelector(daffFocusableElementsSelector);
100
+ this._focusStack.push(this._doc.activeElement);
101
+ if (focusableChild) {
102
+ focusableChild.focus();
103
+ }
104
+ else {
105
+ this._elementRef.nativeElement.tabIndex = 0;
106
+ this._elementRef.nativeElement.focus();
107
+ }
108
+ }
109
+ else {
110
+ if (this._focusTrap) {
111
+ this._focusTrap.destroy();
112
+ this._focusTrap = undefined;
113
+ this._focusStack.pop();
114
+ }
115
+ }
116
+ /**
117
+ * This is used in sidebar to determine when to hide the visibility
118
+ * of the sidebar so that the animation does not jump as the element is hidden.
119
+ */
120
+ if (e.toState === 'closed' || e.toState === 'under-closed' || e.toState === 'side-fixed-closed') {
121
+ this._elementRef.nativeElement.style.visibility = 'hidden';
122
+ }
123
+ }
124
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1.ConfigurableFocusTrapFactory }, { token: i2.DaffFocusStackService }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component }); }
125
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffSidebarComponent, selector: "daff-sidebar", inputs: { side: "side", mode: "mode", open: "open" }, outputs: { escapePressed: "escapePressed" }, host: { listeners: { "@transformSidebar.start": "onAnimationStart($event)", "@transformSidebar.done": "onAnimationComplete($event)" }, properties: { "class": "this.classes", "@transformSidebar": "this.transformSidebar" } }, ngImport: i0, template: "<ng-content select=\"daff-sidebar-header\"></ng-content>\n<div class=\"daff-sidebar__body\">\n\t<ng-content></ng-content>\n</div>\n<ng-content select=\"daff-sidebar-footer\"></ng-content>", styles: [":host{display:flex;flex-direction:column;width:240px;flex-shrink:0;overflow-y:auto}:host.side-fixed{position:fixed;bottom:0;z-index:5;top:var(--daff-sidebar-side-fixed-top-shift);height:calc(100dvh - var(--daff-sidebar-side-fixed-top-shift))}:host.side-fixed.left{left:0}:host.side-fixed.right{right:0}:host.over,:host.under{position:fixed;top:0;bottom:0}:host.over.left,:host.under.left{left:0}:host.over.right,:host.under.right{right:0}:host.over{z-index:7}:host.under{z-index:2}:host-context(daff-sidebar-viewport daff-sidebar-viewport).side-fixed{position:sticky}:host-context(.daff-sidebar-viewport.beside).side-fixed{top:0;height:100%}.daff-sidebar__body{flex-grow:1;height:100%;overflow-y:auto}\n"], animations: [
126
+ daffSidebarAnimations.transformSidebar,
127
+ ], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
128
+ }
129
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarComponent, decorators: [{
130
+ type: Component,
131
+ args: [{ selector: 'daff-sidebar', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
132
+ daffSidebarAnimations.transformSidebar,
133
+ ], template: "<ng-content select=\"daff-sidebar-header\"></ng-content>\n<div class=\"daff-sidebar__body\">\n\t<ng-content></ng-content>\n</div>\n<ng-content select=\"daff-sidebar-footer\"></ng-content>", styles: [":host{display:flex;flex-direction:column;width:240px;flex-shrink:0;overflow-y:auto}:host.side-fixed{position:fixed;bottom:0;z-index:5;top:var(--daff-sidebar-side-fixed-top-shift);height:calc(100dvh - var(--daff-sidebar-side-fixed-top-shift))}:host.side-fixed.left{left:0}:host.side-fixed.right{right:0}:host.over,:host.under{position:fixed;top:0;bottom:0}:host.over.left,:host.under.left{left:0}:host.over.right,:host.under.right{right:0}:host.over{z-index:7}:host.under{z-index:2}:host-context(daff-sidebar-viewport daff-sidebar-viewport).side-fixed{position:sticky}:host-context(.daff-sidebar-viewport.beside).side-fixed{top:0;height:100%}.daff-sidebar__body{flex-grow:1;height:100%;overflow-y:auto}\n"] }]
134
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i1.ConfigurableFocusTrapFactory }, { type: i2.DaffFocusStackService }, { type: undefined, decorators: [{
135
+ type: Inject,
136
+ args: [DOCUMENT]
137
+ }] }], propDecorators: { classes: [{
138
+ type: HostBinding,
139
+ args: ['class']
140
+ }], transformSidebar: [{
141
+ type: HostBinding,
142
+ args: ['@transformSidebar']
143
+ }], escapePressed: [{
144
+ type: Output
145
+ }], side: [{
146
+ type: Input
147
+ }], mode: [{
148
+ type: Input
149
+ }], open: [{
150
+ type: Input
151
+ }], onAnimationStart: [{
152
+ type: HostListener,
153
+ args: ['@transformSidebar.start', ['$event']]
154
+ }], onAnimationComplete: [{
155
+ type: HostListener,
156
+ args: ['@transformSidebar.done', ['$event']]
157
+ }] } });
158
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zaWRlYmFyL3NyYy9zaWRlYmFyL3NpZGViYXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc2lkZWJhci9zcmMvc2lkZWJhci9zaWRlYmFyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFFTCw0QkFBNEIsR0FDN0IsTUFBTSxtQkFBbUIsQ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zcz1cImRhZmYtc2lkZWJhcl9fYm9keVwiPlxuXHQ8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48L2Rpdj5cbjxuZy1jb250ZW50IHNlbGVjdD1cImRhZmYtc2lkZWJhci1mb290ZXJcIj48L25nLWNvbnRlbnQ+Il19
@@ -0,0 +1,17 @@
1
+ import { Component, HostBinding, ChangeDetectionStrategy, } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class DaffSidebarFooterComponent {
4
+ constructor() {
5
+ this.class = true;
6
+ }
7
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffSidebarFooterComponent, selector: "daff-sidebar-footer", host: { properties: { "class.daff-sidebar-footer": "this.class" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block;width:100%;flex-grow:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarFooterComponent, decorators: [{
11
+ type: Component,
12
+ args: [{ selector: 'daff-sidebar-footer', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;width:100%;flex-grow:0}\n"] }]
13
+ }], propDecorators: { class: [{
14
+ type: HostBinding,
15
+ args: ['class.daff-sidebar-footer']
16
+ }] } });
17
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci1mb290ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc2lkZWJhci9zcmMvc2l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
+ import * as i0 from "@angular/core";
3
+ export class DaffSidebarHeaderActionDirective {
4
+ constructor() {
5
+ /**
6
+ * @docs-private
7
+ */
8
+ this.class = true;
9
+ }
10
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarHeaderActionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
11
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: DaffSidebarHeaderActionDirective, selector: "[daffSidebarHeaderAction]", host: { properties: { "class.daff-sidebar-header__action": "this.class" } }, ngImport: i0 }); }
12
+ }
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarHeaderActionDirective, decorators: [{
14
+ type: Directive,
15
+ args: [{
16
+ selector: '[daffSidebarHeaderAction]',
17
+ }]
18
+ }], propDecorators: { class: [{
19
+ type: HostBinding,
20
+ args: ['class.daff-sidebar-header__action']
21
+ }] } });
22
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci1oZWFkZXItYWN0aW9uLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NpZGViYXIvc3JjL3NpZGViYXItaGVhZGVyL3NpZGViYXItaGVhZGVyLWFjdGlvbi9zaWRlYmFyLWhlYWRlci1hY3Rpb24uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsV0FBVyxHQUNaLE1BQU0sZUFBZSxDQUFDOztBQUt2QixNQUFNLE9BQU8sZ0NBQWdDO0lBSDdDO1FBSUU7O1dBRUc7UUFDK0MsVUFBSyxHQUFHLElBQUksQ0FBQztLQUNoRTtpSUFMWSxnQ0FBZ0M7cUhBQWhDLGdDQUFnQzs7MkZBQWhDLGdDQUFnQztrQkFINUMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsMkJBQTJCO2lCQUN0Qzs4QkFLbUQsS0FBSztzQkFBdEQsV0FBVzt1QkFBQyxtQ0FBbUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICBEaXJlY3RpdmUsXG4gIEhvc3RCaW5kaW5nLFxufSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQERpcmVjdGl2ZSh7XG4gIHNlbGVjdG9yOiAnW2RhZmZTaWRlYmFySGVhZGVyQWN0aW9uXScsXG59KVxuZXhwb3J0IGNsYXNzIERhZmZTaWRlYmFySGVhZGVyQWN0aW9uRGlyZWN0aXZlIHtcbiAgLyoqXG4gICAqIEBkb2NzLXByaXZhdGVcbiAgICovXG4gIEBIb3N0QmluZGluZygnY2xhc3MuZGFmZi1zaWRlYmFyLWhlYWRlcl9fYWN0aW9uJykgY2xhc3MgPSB0cnVlO1xufVxuIl19
@@ -0,0 +1,22 @@
1
+ import { Directive, HostBinding, } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class DaffSidebarHeaderTitleDirective {
4
+ constructor() {
5
+ /**
6
+ * @docs-private
7
+ */
8
+ this.class = true;
9
+ }
10
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarHeaderTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
11
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: DaffSidebarHeaderTitleDirective, selector: "[daffSidebarHeaderTitle]", host: { properties: { "class.daff-sidebar-header__title": "this.class" } }, ngImport: i0 }); }
12
+ }
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarHeaderTitleDirective, decorators: [{
14
+ type: Directive,
15
+ args: [{
16
+ selector: '[daffSidebarHeaderTitle]',
17
+ }]
18
+ }], propDecorators: { class: [{
19
+ type: HostBinding,
20
+ args: ['class.daff-sidebar-header__title']
21
+ }] } });
22
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci1oZWFkZXItdGl0bGUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc2lkZWJhci9zcmMvc2lkZWJhci1oZWFkZXIvc2lkZWJhci1oZWFkZXItdGl0bGUvc2lkZWJhci1oZWFkZXItdGl0bGUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsV0FBVyxHQUNaLE1BQU0sZUFBZSxDQUFDOztBQUt2QixNQUFNLE9BQU8sK0JBQStCO0lBSDVDO1FBSUU7O1dBRUc7UUFDOEMsVUFBSyxHQUFHLElBQUksQ0FBQztLQUMvRDtpSUFMWSwrQkFBK0I7cUhBQS9CLCtCQUErQjs7MkZBQS9CLCtCQUErQjtrQkFIM0MsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsMEJBQTBCO2lCQUNyQzs4QkFLa0QsS0FBSztzQkFBckQsV0FBVzt1QkFBQyxrQ0FBa0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICBEaXJlY3RpdmUsXG4gIEhvc3RCaW5kaW5nLFxufSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQERpcmVjdGl2ZSh7XG4gIHNlbGVjdG9yOiAnW2RhZmZTaWRlYmFySGVhZGVyVGl0bGVdJyxcbn0pXG5leHBvcnQgY2xhc3MgRGFmZlNpZGViYXJIZWFkZXJUaXRsZURpcmVjdGl2ZSB7XG4gIC8qKlxuICAgKiBAZG9jcy1wcml2YXRlXG4gICAqL1xuICBASG9zdEJpbmRpbmcoJ2NsYXNzLmRhZmYtc2lkZWJhci1oZWFkZXJfX3RpdGxlJykgY2xhc3MgPSB0cnVlO1xufVxuIl19
@@ -0,0 +1,17 @@
1
+ import { Component, HostBinding, ChangeDetectionStrategy, ViewEncapsulation, } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class DaffSidebarHeaderComponent {
4
+ constructor() {
5
+ this.class = true;
6
+ }
7
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffSidebarHeaderComponent, selector: "daff-sidebar-header", host: { properties: { "class.daff-sidebar-header": "this.class" } }, ngImport: i0, template: "<ng-content select=\"[daffSidebarHeaderAction]\"></ng-content>\n<ng-content select=\"[daffSidebarHeaderTitle]\"></ng-content>\n<ng-content></ng-content>", styles: [".daff-sidebar-header{display:flex;align-items:center;position:relative;width:100%}.daff-sidebar-header__action{position:absolute}.daff-sidebar-header__title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;line-height:1rem;font-weight:500}.daff-sidebar-header__action+.daff-sidebar-header__title{margin:0 0 0 29px}.daff-sidebar .daff-sidebar-header{padding:16px}.daff-sidebar .daff-sidebar-header__action{position:absolute;left:0;right:initial;top:0}.daff-sidebar.right .daff-sidebar-header__action{left:initial;right:0}.daff-sidebar.right .daff-sidebar-header__title{margin:0 29px 0 0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarHeaderComponent, decorators: [{
11
+ type: Component,
12
+ args: [{ selector: 'daff-sidebar-header', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"[daffSidebarHeaderAction]\"></ng-content>\n<ng-content select=\"[daffSidebarHeaderTitle]\"></ng-content>\n<ng-content></ng-content>", styles: [".daff-sidebar-header{display:flex;align-items:center;position:relative;width:100%}.daff-sidebar-header__action{position:absolute}.daff-sidebar-header__title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;line-height:1rem;font-weight:500}.daff-sidebar-header__action+.daff-sidebar-header__title{margin:0 0 0 29px}.daff-sidebar .daff-sidebar-header{padding:16px}.daff-sidebar .daff-sidebar-header__action{position:absolute;left:0;right:initial;top:0}.daff-sidebar.right .daff-sidebar-header__action{left:initial;right:0}.daff-sidebar.right .daff-sidebar-header__title{margin:0 29px 0 0}\n"] }]
13
+ }], propDecorators: { class: [{
14
+ type: HostBinding,
15
+ args: ['class.daff-sidebar-header']
16
+ }] } });
17
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci1oZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc2lkZWJhci9zcmMvc2lkZWJhci1oZWFkZXIvc2lkZWJhci1oZWFkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc2lkZWJhci9zcmMvc2lkZWJhci1oZWFkZXIvc2lkZWJhci1oZWFkZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxXQUFXLEVBQ1gsdUJBQXVCLEVBQ3ZCLGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQzs7QUFVdkIsTUFBTSxPQUFPLDBCQUEwQjtJQVJ2QztR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GVdXCI+PC9uZy1jb250ZW50PlxuPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PiJdfQ==
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Fallback function for determining whether or not a viewport has a parent viewport.
3
+ * This is really only used in the Daffodil docs when the injector heirarchy
4
+ * doesn't act as anticipated as a result of custom elements.
5
+ */
6
+ export const hasParentViewport = (element) => {
7
+ let currentElement = element.parentElement;
8
+ while (currentElement !== null) {
9
+ if (currentElement.tagName === 'DAFF-SIDEBAR-VIEWPORT') {
10
+ return true;
11
+ }
12
+ currentElement = currentElement.parentElement;
13
+ }
14
+ return false;
15
+ };
16
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFzLXBhcmVudC12aWV3cG9ydC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NpZGViYXIvc3JjL3NpZGViYXItdmlld3BvcnQvaGVscGVyL2hhcy1wYXJlbnQtdmlld3BvcnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7R0FJRztBQUNILE1BQU0sQ0FBQyxNQUFNLGlCQUFpQixHQUFHLENBQUMsT0FBb0IsRUFBRSxFQUFFO0lBQ3hELElBQUksY0FBYyxHQUFHLE9BQU8sQ0FBQyxhQUFhLENBQUM7SUFFM0MsT0FBTyxjQUFjLEtBQUssSUFBSSxFQUFFO1FBQzlCLElBQUksY0FBYyxDQUFDLE9BQU8sS0FBSyx1QkFBdUIsRUFBRTtZQUN0RCxPQUFPLElBQUksQ0FBQztTQUNiO1FBQ0QsY0FBYyxHQUFHLGNBQWMsQ0FBQyxhQUFhLENBQUM7S0FDL0M7SUFFRCxPQUFPLEtBQUssQ0FBQztBQUNmLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRmFsbGJhY2sgZnVuY3Rpb24gZm9yIGRldGVybWluaW5nIHdoZXRoZXIgb3Igbm90IGEgdmlld3BvcnQgaGFzIGEgcGFyZW50IHZpZXdwb3J0LlxuICogVGhpcyBpcyByZWFsbHkgb25seSB1c2VkIGluIHRoZSBEYWZmb2RpbCBkb2NzIHdoZW4gdGhlIGluamVjdG9yIGhlaXJhcmNoeVxuICogZG9lc24ndCBhY3QgYXMgYW50aWNpcGF0ZWQgYXMgYSByZXN1bHQgb2YgY3VzdG9tIGVsZW1lbnRzLlxuICovXG5leHBvcnQgY29uc3QgaGFzUGFyZW50Vmlld3BvcnQgPSAoZWxlbWVudDogSFRNTEVsZW1lbnQpID0+IHtcbiAgbGV0IGN1cnJlbnRFbGVtZW50ID0gZWxlbWVudC5wYXJlbnRFbGVtZW50O1xuXG4gIHdoaWxlIChjdXJyZW50RWxlbWVudCAhPT0gbnVsbCkge1xuICAgIGlmIChjdXJyZW50RWxlbWVudC50YWdOYW1lID09PSAnREFGRi1TSURFQkFSLVZJRVdQT1JUJykge1xuICAgICAgcmV0dXJuIHRydWU7XG4gICAgfVxuICAgIGN1cnJlbnRFbGVtZW50ID0gY3VycmVudEVsZW1lbnQucGFyZW50RWxlbWVudDtcbiAgfVxuXG4gIHJldHVybiBmYWxzZTtcbn07XG4iXX0=
@@ -0,0 +1,10 @@
1
+ /**
2
+ * The placement of the nav in relation to the sidebar.
3
+ * See {@link DaffNavPlacement }
4
+ */
5
+ export var DaffNavPlacementEnum;
6
+ (function (DaffNavPlacementEnum) {
7
+ DaffNavPlacementEnum["ABOVE"] = "above";
8
+ DaffNavPlacementEnum["BESIDE"] = "beside";
9
+ })(DaffNavPlacementEnum || (DaffNavPlacementEnum = {}));
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2LXBsYWNlbWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NpZGViYXIvc3JjL3NpZGViYXItdmlld3BvcnQvbmF2LXBsYWNlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNQTs7O0dBR0c7QUFDSCxNQUFNLENBQU4sSUFBWSxvQkFHWDtBQUhELFdBQVksb0JBQW9CO0lBQzlCLHVDQUFlLENBQUE7SUFDZix5Q0FBaUIsQ0FBQTtBQUNuQixDQUFDLEVBSFcsb0JBQW9CLEtBQXBCLG9CQUFvQixRQUcvQiIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogVGhlIHBsYWNlbWVudCBvZiB0aGUgbmF2IGluIHJlbGF0aW9uIHRvIHRoZSBzaWRlYmFyLlxuICogU2VlIHtAbGluayBEYWZmTmF2UGxhY2VtZW50RW51bSB9XG4gKi9cbmV4cG9ydCB0eXBlIERhZmZOYXZQbGFjZW1lbnQgPSAnYWJvdmUnIHwgJ2Jlc2lkZSc7XG5cbi8qKlxuICogVGhlIHBsYWNlbWVudCBvZiB0aGUgbmF2IGluIHJlbGF0aW9uIHRvIHRoZSBzaWRlYmFyLlxuICogU2VlIHtAbGluayBEYWZmTmF2UGxhY2VtZW50IH1cbiAqL1xuZXhwb3J0IGVudW0gRGFmZk5hdlBsYWNlbWVudEVudW0ge1xuICBBQk9WRSA9ICdhYm92ZScsXG4gIEJFU0lERSA9ICdiZXNpZGUnLFxufVxuIl19
@@ -0,0 +1,39 @@
1
+ import { DOCUMENT } from '@angular/common';
2
+ import { ElementRef, InjectionToken, inject, } from '@angular/core';
3
+ /**
4
+ * An injection token that can be used within a sidebar to determine
5
+ * what to do enabling and disabling scrolling. By default, the body
6
+ * is the element where scrolling is controlled.
7
+ */
8
+ export const DAFF_SIDEBAR_SCROLL_TOKEN = new InjectionToken('DAFF_SIDEBAR_SCROLL_TOKEN', {
9
+ providedIn: 'root',
10
+ factory: () => {
11
+ const document = inject(DOCUMENT);
12
+ return {
13
+ enable: () => {
14
+ document.body.style.overflow = null;
15
+ },
16
+ disable: () => {
17
+ document.body.style.overflow = 'hidden';
18
+ },
19
+ };
20
+ },
21
+ });
22
+ /**
23
+ * A factory function that return a DaffSidebarScroll
24
+ * for the current sidebar viewport.
25
+ *
26
+ * See the providers of {@link DaffSidebarViewportComponent}
27
+ */
28
+ export const daffSidebarViewportScrollFactory = () => {
29
+ const element = inject(ElementRef).nativeElement;
30
+ return {
31
+ enable: () => {
32
+ element.style.overflow = null;
33
+ },
34
+ disable: () => {
35
+ element.style.overflow = 'hidden';
36
+ },
37
+ };
38
+ };
39
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Nyb2xsLnRva2VuLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc2lkZWJhci9zcmMvc2lkZWJhci12aWV3cG9ydC9zY3JvbGwtdG9rZW4vc2Nyb2xsLnRva2VuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMzQyxPQUFPLEVBQ0wsVUFBVSxFQUNWLGNBQWMsRUFDZCxNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFZdkI7Ozs7R0FJRztBQUNILE1BQU0sQ0FBQyxNQUFNLHlCQUF5QixHQUFHLElBQUksY0FBYyxDQUFvQiwyQkFBMkIsRUFBRTtJQUMxRyxVQUFVLEVBQUUsTUFBTTtJQUNsQixPQUFPLEVBQUUsR0FBRyxFQUFFO1FBQ1osTUFBTSxRQUFRLEdBQUcsTUFBTSxDQUFDLFFBQVEsQ0FBQyxDQUFDO1FBQ2xDLE9BQU87WUFDTCxNQUFNLEVBQUUsR0FBRyxFQUFFO2dCQUNYLFFBQVEsQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLFFBQVEsR0FBRyxJQUFJLENBQUM7WUFDdEMsQ0FBQztZQUNELE9BQU8sRUFBRSxHQUFHLEVBQ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TaWRlYmFyU2Nyb2xsID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGluamVjdChFbGVtZW50UmVmKS5uYXRpdmVFbGVtZW50O1xuICByZXR1cm4ge1xuICAgIGVuYWJsZTogKCkgPT4ge1xuICAgICAgZWxlbWVudC5zdHlsZS5vdmVyZmxvdyA9IG51bGw7XG4gICAgfSxcbiAgICBkaXNhYmxlOiAoKSA9PiB7XG4gICAgICBlbGVtZW50LnN0eWxlLm92ZXJmbG93ID0gJ2hpZGRlbic7XG4gICAgfSxcbiAgfTtcbn07XG4iXX0=
@@ -0,0 +1,206 @@
1
+ import { Component, Output, EventEmitter, ChangeDetectionStrategy, ChangeDetectorRef, ContentChildren, QueryList, ElementRef, Input, HostBinding, Inject, SkipSelf, Optional, } from '@angular/core';
2
+ import { hasParentViewport } from './helper/has-parent-viewport';
3
+ import { DaffNavPlacementEnum, } from './nav-placement';
4
+ import { DAFF_SIDEBAR_SCROLL_TOKEN, daffSidebarViewportScrollFactory, } from './scroll-token/scroll.token';
5
+ import { sidebarViewportBackdropInteractable } from './utils/backdrop-interactable';
6
+ import { sidebarViewportContentPadding } from './utils/content-pad';
7
+ import { isViewportContentShifted, sidebarViewportContentShift, } from './utils/content-shift';
8
+ import { DaffSidebarAnimationStates, daffSidebarAnimations, } from '../animation/sidebar-animation';
9
+ import { getSidebarViewportAnimationState, } from '../animation/sidebar-viewport-animation-state';
10
+ import { DaffSidebarComponent } from '../sidebar/sidebar.component';
11
+ import * as i0 from "@angular/core";
12
+ import * as i1 from "@daffodil/design";
13
+ /**
14
+ * The DaffSidebarViewport is the "holder" of sidebars throughout an entire application.
15
+ * It's generally only used once, like
16
+ *
17
+ * ```html
18
+ * <daff-sidebar-viewport>
19
+ * <daff-sidebar></daff-sidebar>
20
+ * <p>Some Content</p>
21
+ * </daff-sidebar-viewport>
22
+ * ```
23
+ *
24
+ * Importantly, its possible for there to be multiple sidebars of many modes
25
+ * at the same time. @see {@link DaffSidebarMode }
26
+ *
27
+ * Since this is a functional component, it's possible to have multiple "open" sidebars
28
+ * at the same time. As a result, this component attempts to gracefully handle these situations.
29
+ * However, importantly, there can only be one sidebar of each mode, on each side, at any given time.
30
+ * If this is violated, this component will throw an exception.
31
+ */
32
+ export class DaffSidebarViewportComponent {
33
+ get classes() {
34
+ return {
35
+ 'daff-sidebar-viewport': true,
36
+ [this.navPlacement]: true,
37
+ };
38
+ }
39
+ ;
40
+ get isNavOnSide() {
41
+ return this.navPlacement === DaffNavPlacementEnum.BESIDE;
42
+ }
43
+ onContentAnimationStart(e) {
44
+ if (e.toState === 'open') {
45
+ this._elementRef.nativeElement.style.overflow = 'hidden';
46
+ }
47
+ }
48
+ onContentAnimationDone(e) {
49
+ if (e.toState === 'closed') {
50
+ this._elementRef.nativeElement.style.overflow = null;
51
+ }
52
+ }
53
+ constructor(cdRef, _elementRef, bodyScroll, parentViewport, scroll) {
54
+ this.cdRef = cdRef;
55
+ this._elementRef = _elementRef;
56
+ this.bodyScroll = bodyScroll;
57
+ this.parentViewport = parentViewport;
58
+ this.scroll = scroll;
59
+ this.hostClass = true;
60
+ /**
61
+ * The placement of the nav in relation to the sidebar. The default is set to `top`.
62
+ * Note that this is really only available when there is a `side-fixed` sidebar.
63
+ */
64
+ this.navPlacement = DaffNavPlacementEnum.ABOVE;
65
+ /**
66
+ * The number of pixels that the main content of the page should be shifted to
67
+ * right when there are child sidebars.
68
+ */
69
+ this._shift = '0px';
70
+ /**
71
+ * The left padding on the content when left side-fixed sidebars are open.
72
+ */
73
+ this._contentPadLeft = 0;
74
+ /**
75
+ * The left padding on the nav when left side-fixed sidebars are open.
76
+ */
77
+ this._navPadLeft = 0;
78
+ /**
79
+ * The right padding on the content when right side-fixed sidebars are open.
80
+ */
81
+ this._contentPadRight = 0;
82
+ /**
83
+ * The right padding on the content when right side-fixed sidebars are open.
84
+ */
85
+ this._navPadRight = 0;
86
+ /**
87
+ * Whether or not the backdrop is interactable
88
+ */
89
+ this._backdropInteractable = false;
90
+ /**
91
+ * The animation state
92
+ */
93
+ this._animationState = { value: DaffSidebarAnimationStates.CLOSED, params: { shift: '0px' } };
94
+ /**
95
+ * Event fired when the backdrop is clicked. This is often used to close the sidebar.
96
+ */
97
+ this.backdropClicked = new EventEmitter();
98
+ }
99
+ ngAfterContentChecked() {
100
+ const nextShift = sidebarViewportContentShift(this.sidebars) + 'px';
101
+ if (this._shift !== nextShift) {
102
+ this._shift = nextShift;
103
+ this.updateAnimationState();
104
+ this.cdRef.markForCheck();
105
+ }
106
+ const nextBackdropInteractable = sidebarViewportBackdropInteractable(this.sidebars);
107
+ if (this._backdropInteractable !== nextBackdropInteractable) {
108
+ this._backdropInteractable = nextBackdropInteractable;
109
+ this.updateAnimationState();
110
+ this.cdRef.markForCheck();
111
+ if (nextBackdropInteractable) {
112
+ if (!this.parentViewport && !hasParentViewport(this._elementRef.nativeElement)) {
113
+ this.bodyScroll.disable();
114
+ }
115
+ else {
116
+ this.scroll.disable();
117
+ }
118
+ }
119
+ else { //if we are hiding the sidebars
120
+ if (!this.parentViewport && !hasParentViewport(this._elementRef.nativeElement)) {
121
+ this.bodyScroll.enable();
122
+ }
123
+ else {
124
+ this.scroll.enable();
125
+ }
126
+ }
127
+ }
128
+ ;
129
+ const nextLeftPadding = sidebarViewportContentPadding(this.sidebars, 'left');
130
+ if (this._contentPadLeft !== nextLeftPadding) {
131
+ this._contentPadLeft = nextLeftPadding;
132
+ this._navPadLeft = this.isNavOnSide ? this._contentPadLeft : null;
133
+ this.updateAnimationState();
134
+ this.cdRef.markForCheck();
135
+ }
136
+ const nextRightPadding = sidebarViewportContentPadding(this.sidebars, 'right');
137
+ if (this._contentPadRight !== nextRightPadding) {
138
+ this._contentPadRight = nextRightPadding;
139
+ this._navPadRight = this.isNavOnSide ? this._contentPadRight : null;
140
+ this.updateAnimationState();
141
+ this.cdRef.markForCheck();
142
+ }
143
+ }
144
+ /**
145
+ * @docs-private
146
+ *
147
+ * Updates the animation state of the viewport depending upon the state
148
+ * of all sidebars within the viewport.
149
+ */
150
+ updateAnimationState() {
151
+ this._animationState = {
152
+ value: getSidebarViewportAnimationState(this.sidebars.reduce((acc, sidebar) => acc || isViewportContentShifted(sidebar.mode, sidebar.open), false)),
153
+ params: { shift: this._shift },
154
+ };
155
+ }
156
+ /**
157
+ * @docs-private
158
+ * The called when the backdrop of the viewport is clicked upon.
159
+ */
160
+ _backdropClicked() {
161
+ this.backdropClicked.emit();
162
+ }
163
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarViewportComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: DAFF_SIDEBAR_SCROLL_TOKEN, skipSelf: true }, { token: DaffSidebarViewportComponent, optional: true, skipSelf: true }, { token: DAFF_SIDEBAR_SCROLL_TOKEN }], target: i0.ɵɵFactoryTarget.Component }); }
164
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: { navPlacement: "navPlacement" }, outputs: { backdropClicked: "backdropClicked" }, host: { properties: { "class.daff-sidebar-viewport": "this.hostClass", "class": "this.classes" } }, providers: [
165
+ { provide: DAFF_SIDEBAR_SCROLL_TOKEN, useFactory: daffSidebarViewportScrollFactory },
166
+ ], queries: [{ propertyName: "sidebars", predicate: DaffSidebarComponent }], ngImport: i0, template: "<ng-content select=\"daff-sidebar:not([side=right])\"></ng-content>\n\n<daff-backdrop\n [@transformContent]=\"_animationState\"\n class=\"daff-sidebar-viewport__backdrop\"\n [interactable]=\"_backdropInteractable\"\n (backdropClicked)=\"_backdropClicked()\">\n</daff-backdrop>\n\n<div class=\"daff-sidebar-viewport__nav\"\n [@transformContent]=\"_animationState\"\n [style.padding-left.px]=\"_navPadLeft\"\n [style.padding-right.px]=\"_navPadRight\">\n <ng-content select=\"[daff-sidebar-viewport-nav]\"></ng-content>\n</div>\n\n<div class=\"daff-sidebar-viewport__content\"\n [@transformContent]=\"_animationState\"\n (@transformContent.start)=\"onContentAnimationStart($event)\"\n (@transformContent.done)=\"onContentAnimationDone($event)\">\n <div class=\"daff-sidebar-viewport__inner\"\n [style.padding-left.px]=\"_contentPadLeft\"\n [style.padding-right.px]=\"_contentPadRight\">\n <ng-content></ng-content>\n </div>\n</div>\n\n<ng-content select=\"daff-sidebar[side=right]\"></ng-content>\n", styles: [":host{display:flex;min-height:100dvh;position:relative;width:100%;z-index:1}.daff-sidebar-viewport__content{flex:0 1 auto;width:100%;z-index:3;height:100%}.daff-sidebar-viewport__nav{position:fixed;top:0;width:100%;z-index:4}.daff-sidebar-viewport__nav:empty{display:none}.daff-sidebar-viewport__nav:not(:empty)+.daff-sidebar-viewport__content{margin-top:var(--daff-sidebar-side-fixed-top-shift)}.daff-sidebar-viewport__backdrop{height:100%;position:absolute;width:100%;pointer-events:auto;z-index:6}:host-context(daff-sidebar-viewport daff-sidebar-viewport){transform:translate(0);min-height:auto}:host-context(daff-sidebar-viewport daff-sidebar-viewport) .daff-sidebar-viewport__inner{padding-left:0!important;padding-right:0!important}\n"], dependencies: [{ kind: "component", type: i1.DaffBackdropComponent, selector: "daff-backdrop", inputs: ["transparent", "interactable", "fullscreen"], outputs: ["backdropClicked"] }], animations: [
167
+ daffSidebarAnimations.transformContent,
168
+ ], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
169
+ }
170
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarViewportComponent, decorators: [{
171
+ type: Component,
172
+ args: [{ selector: 'daff-sidebar-viewport', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
173
+ daffSidebarAnimations.transformContent,
174
+ ], providers: [
175
+ { provide: DAFF_SIDEBAR_SCROLL_TOKEN, useFactory: daffSidebarViewportScrollFactory },
176
+ ], template: "<ng-content select=\"daff-sidebar:not([side=right])\"></ng-content>\n\n<daff-backdrop\n [@transformContent]=\"_animationState\"\n class=\"daff-sidebar-viewport__backdrop\"\n [interactable]=\"_backdropInteractable\"\n (backdropClicked)=\"_backdropClicked()\">\n</daff-backdrop>\n\n<div class=\"daff-sidebar-viewport__nav\"\n [@transformContent]=\"_animationState\"\n [style.padding-left.px]=\"_navPadLeft\"\n [style.padding-right.px]=\"_navPadRight\">\n <ng-content select=\"[daff-sidebar-viewport-nav]\"></ng-content>\n</div>\n\n<div class=\"daff-sidebar-viewport__content\"\n [@transformContent]=\"_animationState\"\n (@transformContent.start)=\"onContentAnimationStart($event)\"\n (@transformContent.done)=\"onContentAnimationDone($event)\">\n <div class=\"daff-sidebar-viewport__inner\"\n [style.padding-left.px]=\"_contentPadLeft\"\n [style.padding-right.px]=\"_contentPadRight\">\n <ng-content></ng-content>\n </div>\n</div>\n\n<ng-content select=\"daff-sidebar[side=right]\"></ng-content>\n", styles: [":host{display:flex;min-height:100dvh;position:relative;width:100%;z-index:1}.daff-sidebar-viewport__content{flex:0 1 auto;width:100%;z-index:3;height:100%}.daff-sidebar-viewport__nav{position:fixed;top:0;width:100%;z-index:4}.daff-sidebar-viewport__nav:empty{display:none}.daff-sidebar-viewport__nav:not(:empty)+.daff-sidebar-viewport__content{margin-top:var(--daff-sidebar-side-fixed-top-shift)}.daff-sidebar-viewport__backdrop{height:100%;position:absolute;width:100%;pointer-events:auto;z-index:6}:host-context(daff-sidebar-viewport daff-sidebar-viewport){transform:translate(0);min-height:auto}:host-context(daff-sidebar-viewport daff-sidebar-viewport) .daff-sidebar-viewport__inner{padding-left:0!important;padding-right:0!important}\n"] }]
177
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{
178
+ type: Inject,
179
+ args: [DAFF_SIDEBAR_SCROLL_TOKEN]
180
+ }, {
181
+ type: SkipSelf
182
+ }] }, { type: undefined, decorators: [{
183
+ type: Inject,
184
+ args: [DaffSidebarViewportComponent]
185
+ }, {
186
+ type: SkipSelf
187
+ }, {
188
+ type: Optional
189
+ }] }, { type: undefined, decorators: [{
190
+ type: Inject,
191
+ args: [DAFF_SIDEBAR_SCROLL_TOKEN]
192
+ }] }], propDecorators: { hostClass: [{
193
+ type: HostBinding,
194
+ args: ['class.daff-sidebar-viewport']
195
+ }], classes: [{
196
+ type: HostBinding,
197
+ args: ['class']
198
+ }], navPlacement: [{
199
+ type: Input
200
+ }], sidebars: [{
201
+ type: ContentChildren,
202
+ args: [DaffSidebarComponent, { descendants: false }]
203
+ }], backdropClicked: [{
204
+ type: Output
205
+ }] } });
206
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci12aWV3cG9ydC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zaWRlYmFyL3NyYy9zaWRlYmFyLXZpZXdwb3J0L3NpZGViYXItdmlld3BvcnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc2lkZWJhci9zcmMvc2lkZWJhci12aWV3cG9ydC9zaWRlYmFyLXZpZXdwb3J0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsTUFBTSxFQUNOLFlBQVksRUFDWix1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLGVBQWUsRUFDZixTQUFTLEVBRVQsVUFBVSxFQUNWLEtBQUssRUFDTCxXQUFXLEVBQ1gsTUFBTSxFQUNOLFFBQVEsRUFDUixRQUFRLEdBQ1QsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFDakUsT0FBTyxFQUVMLG9CQUFvQixHQUNyQixNQUFNLGlCQUFpQixDQUFDO0FBQ3pCLE9BQU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XG4gIFtAdHJhbnNmb3JtQ29udGVudF09XCJfYW5pbWF0aW9uU3RhdGVcIlxuICBbc3R5bGUucGFkZGluZy1sZWZ0LnB4XT1cIl9uYXZQYWRMZWZ0XCJcbiAgW3N0eWxlLnBhZGRpbmctcmlnaHQucHhdPVwiX25hdlBhZFJpZ2h0XCI+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2RhZmYtc2lkZWJhci12aWV3cG9ydC1uYXZdXCI+PC9uZy1jb250ZW50PlxuPC9kaXY+XG5cbjxkaXYgY2xhc3M9XCJkYWZmLXNpZGViYXItdmlld3BvcnRfX2NvbnRlbnRcIlxuICBbQHRyYW5zZm9ybUNvbnRlbnRdPVwiX2FuaW1hdGlvblN0YXRlXCJcbiAgKEB0cmFuc2Zvcm1Db250ZW50LnN0YXJ0KT1cIm9uQ29udGVudEFuaW1hdGlvblN0YXJ0KCRldmVudClcIlxuICAoQHRyYW5zZm9ybUNvbnRlbnQuZG9uZSk9XCJvbkNvbnRlbnRBbmltYXRpb25Eb25lKCRldmVudClcIj5cbiAgPGRpdiBjbGFzcz1cImRhZmYtc2lkZWJhci12aWV3cG9ydF9faW5uZXJcIlxuICAgIFtzdHlsZS5wYWRkaW5nLWxlZnQucHhdPVwiX2NvbnRlbnRQYWRMZWZ0XCJcbiAgICBbc3R5bGUucGFkZGluZy1yaWdodC5weF09XCJfY29udGVudFBhZFJpZ2h0XCI+XG4gICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gIDwvZGl2PlxuPC9kaXY+XG5cbjxuZy1jb250ZW50IHNlbGVjdD1cImRhZmYtc2lkZWJhcltzaWRlPXJpZ2h0XVwiPjwvbmctY29udGVudD5cbiJdfQ==
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Determines, given a list of sidebars, whether or not the backdrop is interactable (typically clickable).
3
+ */
4
+ export const sidebarViewportBackdropInteractable = (sidebars) => sidebars.reduce((acc, sidebar) => ((sidebar.mode === 'over' || sidebar.mode === 'under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