@daffodil/design 0.39.12 → 0.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1120) hide show
  1. package/accordion/examples/basic-accordion/basic-accordion.component.d.ts +3 -0
  2. package/accordion/examples/basic-accordion/basic-accordion.module.d.ts +6 -0
  3. package/accordion/examples/daffodil-design-accordion-examples.d.ts +1 -2
  4. package/accordion/examples/nav-accordion/nav-accordion.component.d.ts +3 -0
  5. package/accordion/examples/nav-accordion/nav-accordion.module.d.ts +6 -0
  6. package/accordion/examples/package.json +5 -6
  7. package/accordion/examples/public_api.d.ts +2 -0
  8. package/article/examples/article-blockquote/article-blockquote.component.d.ts +3 -0
  9. package/article/examples/article-code-block/article-code-block.component.d.ts +3 -0
  10. package/article/examples/article-code-inline/article-code-inline.component.d.ts +3 -0
  11. package/article/examples/article-examples.module.d.ts +17 -0
  12. package/article/examples/article-headings/article-headings.component.d.ts +3 -0
  13. package/article/examples/article-hr/article-hr.component.d.ts +3 -0
  14. package/article/examples/article-lead/article-lead.component.d.ts +3 -0
  15. package/article/examples/article-link/article-link.component.d.ts +3 -0
  16. package/article/examples/article-meta/article-meta.component.d.ts +3 -0
  17. package/article/examples/article-ol/article-ol.component.d.ts +3 -0
  18. package/article/examples/article-table/article-table.component.d.ts +3 -0
  19. package/article/examples/article-ul/article-ul.component.d.ts +3 -0
  20. package/article/examples/daffodil-design-article-examples.d.ts +1 -1
  21. package/article/examples/package.json +5 -6
  22. package/atoms/button/button.component.d.ts +4 -1
  23. package/atoms/button/button.module.d.ts +7 -0
  24. package/atoms/container/container.component.d.ts +3 -0
  25. package/atoms/container/container.module.d.ts +6 -0
  26. package/atoms/form/checkbox/checkbox.component.d.ts +3 -0
  27. package/atoms/form/checkbox/checkbox.module.d.ts +8 -0
  28. package/atoms/form/checkbox/cva/checkbox-cva.directive.d.ts +3 -0
  29. package/atoms/form/checkbox-set/checkbox-set.component.d.ts +3 -0
  30. package/atoms/form/error-message/error-message.component.d.ts +3 -0
  31. package/atoms/form/error-message/error-message.module.d.ts +5 -0
  32. package/atoms/form/form-field/form-field/form-field.component.d.ts +3 -0
  33. package/atoms/form/form-field/form-field.module.d.ts +8 -0
  34. package/atoms/form/input/input.component.d.ts +3 -0
  35. package/atoms/form/input/input.module.d.ts +6 -0
  36. package/atoms/form/quantity-field/quantity-field.component.d.ts +4 -1
  37. package/atoms/form/quantity-field/quantity-field.module.d.ts +11 -0
  38. package/atoms/form/quantity-field/quantity-input/quantity-input.component.d.ts +4 -1
  39. package/atoms/form/quantity-field/quantity-select/quantity-select.component.d.ts +4 -0
  40. package/atoms/form/radio/cva/radio-cva.directive.d.ts +3 -0
  41. package/atoms/form/radio/radio.component.d.ts +3 -0
  42. package/atoms/form/radio/radio.module.d.ts +8 -0
  43. package/atoms/form/radio/registry/radio-registry.d.ts +3 -0
  44. package/atoms/form/radio-set/radio-set.component.d.ts +3 -0
  45. package/atoms/form/select/select/select.component.d.ts +3 -0
  46. package/atoms/form/select/select.module.d.ts +6 -0
  47. package/atoms/image/image.component.d.ts +3 -0
  48. package/atoms/image/image.module.d.ts +6 -0
  49. package/atoms/loading-icon/loading-icon.component.d.ts +3 -0
  50. package/atoms/loading-icon/loading-icon.module.d.ts +6 -0
  51. package/atoms/progress-indicator/progress-indicator.component.d.ts +3 -0
  52. package/atoms/progress-indicator/progress-indicator.module.d.ts +6 -0
  53. package/button/examples/basic-button/basic-button.component.d.ts +3 -0
  54. package/button/examples/basic-button/basic-button.module.d.ts +7 -0
  55. package/button/examples/daffodil-design-button-examples.d.ts +1 -7
  56. package/button/examples/icon-button/icon-button.component.d.ts +3 -0
  57. package/button/examples/icon-button/icon-button.module.d.ts +7 -0
  58. package/button/examples/package.json +5 -6
  59. package/button/examples/public_api.d.ts +5 -0
  60. package/button/examples/raised-button/raised-button.component.d.ts +3 -0
  61. package/button/examples/raised-button/raised-button.module.d.ts +7 -0
  62. package/button/examples/sizeable-button/sizeable-button.component.d.ts +3 -0
  63. package/button/examples/sizeable-button/sizeable-button.module.d.ts +7 -0
  64. package/button/examples/statusable-button/statusable-button.component.d.ts +3 -0
  65. package/button/examples/statusable-button/statusable-button.module.d.ts +7 -0
  66. package/button/examples/stroked-button/stroked-button.component.d.ts +3 -0
  67. package/button/examples/stroked-button/stroked-button.module.d.ts +7 -0
  68. package/button/examples/underline-button/underline-button.component.d.ts +3 -0
  69. package/button/examples/underline-button/underline-button.module.d.ts +7 -0
  70. package/callout/examples/callout-text-alignment/callout-text-alignment.component.d.ts +3 -0
  71. package/callout/examples/callout-text-alignment/callout-text-alignment.module.d.ts +9 -0
  72. package/callout/examples/callout-theming/callout-theming.component.d.ts +3 -0
  73. package/callout/examples/callout-theming/callout-theming.module.d.ts +9 -0
  74. package/callout/examples/callout-with-grid/callout-with-grid.component.d.ts +3 -0
  75. package/callout/examples/callout-with-grid/callout-with-grid.module.d.ts +9 -0
  76. package/callout/examples/compact-callout/compact-callout.component.d.ts +3 -0
  77. package/callout/examples/compact-callout/compact-callout.module.d.ts +8 -0
  78. package/callout/examples/daffodil-design-callout-examples.d.ts +1 -0
  79. package/callout/examples/package.json +5 -6
  80. package/card/examples/basic-card/basic-card.component.d.ts +3 -0
  81. package/card/examples/basic-card/basic-card.module.d.ts +8 -0
  82. package/card/examples/card-orientation/card-orientation.component.d.ts +3 -0
  83. package/card/examples/card-orientation/card-orientation.module.d.ts +9 -0
  84. package/card/examples/card-theming/card-theming.component.d.ts +3 -0
  85. package/card/examples/card-theming/card-theming.module.d.ts +8 -0
  86. package/card/examples/daffodil-design-card-examples.d.ts +1 -6
  87. package/card/examples/linkable-card/linkable-card.component.d.ts +3 -0
  88. package/card/examples/linkable-card/linkable-card.module.d.ts +9 -0
  89. package/card/examples/package.json +5 -6
  90. package/card/examples/public_api.d.ts +4 -0
  91. package/card/examples/raised-card/raised-card.component.d.ts +3 -0
  92. package/card/examples/raised-card/raised-card.module.d.ts +8 -0
  93. package/card/examples/stroked-card/stroked-card.component.d.ts +3 -0
  94. package/card/examples/stroked-card/stroked-card.module.d.ts +9 -0
  95. package/checkbox/examples/basic-checkbox/basic-checkbox.component.d.ts +3 -0
  96. package/checkbox/examples/basic-checkbox/basic-checkbox.module.d.ts +7 -0
  97. package/checkbox/examples/checkbox-set/checkbox-set.component.d.ts +3 -0
  98. package/checkbox/examples/checkbox-set/checkbox-set.module.d.ts +7 -0
  99. package/checkbox/examples/daffodil-design-checkbox-examples.d.ts +1 -4
  100. package/checkbox/examples/package.json +5 -6
  101. package/container/examples/container-sizes/container-sizes.component.d.ts +3 -0
  102. package/container/examples/container-sizes/container-sizes.module.d.ts +8 -0
  103. package/container/examples/daffodil-design-container-examples.d.ts +1 -0
  104. package/container/examples/package.json +5 -6
  105. package/core/prefix-suffix/prefix-suffix.module.d.ts +6 -0
  106. package/core/prefix-suffix/prefix.directive.d.ts +3 -0
  107. package/core/prefix-suffix/suffix.directive.d.ts +3 -0
  108. package/core/public_api.d.ts +1 -0
  109. package/core/theming/functions/computer.d.ts +6 -0
  110. package/core/theming/initializer.d.ts +8 -0
  111. package/core/theming/public_api.d.ts +3 -0
  112. package/core/theming/services/class-setter/theme-class-setter.service.d.ts +31 -0
  113. package/core/theming/services/os-theme/ostheme.service.d.ts +20 -0
  114. package/core/theming/services/storage/theme-storage.service.d.ts +28 -0
  115. package/core/theming/services/theming.service.d.ts +33 -0
  116. package/core/theming/types/theme.d.ts +8 -0
  117. package/daff-global.scss +1 -1
  118. package/daff-theme.scss +36 -30
  119. package/daff-typography.scss +2 -0
  120. package/daff-util.scss +2 -0
  121. package/daffodil-design.d.ts +1 -11
  122. package/esm2020/accordion/examples/basic-accordion/basic-accordion.component.mjs +12 -0
  123. package/esm2020/accordion/examples/basic-accordion/basic-accordion.module.mjs +26 -0
  124. package/esm2020/accordion/examples/daffodil-design-accordion-examples.mjs +5 -0
  125. package/{esm2015/accordion/examples/index.js → esm2020/accordion/examples/index.mjs} +0 -0
  126. package/esm2020/accordion/examples/nav-accordion/nav-accordion.component.mjs +12 -0
  127. package/esm2020/accordion/examples/nav-accordion/nav-accordion.module.mjs +26 -0
  128. package/esm2020/accordion/examples/public_api.mjs +10 -0
  129. package/esm2020/article/examples/article-blockquote/article-blockquote.component.mjs +12 -0
  130. package/esm2020/article/examples/article-code-block/article-code-block.component.mjs +12 -0
  131. package/esm2020/article/examples/article-code-inline/article-code-inline.component.mjs +12 -0
  132. package/esm2020/article/examples/article-examples.module.mjs +41 -0
  133. package/esm2020/article/examples/article-headings/article-headings.component.mjs +12 -0
  134. package/esm2020/article/examples/article-hr/article-hr.component.mjs +12 -0
  135. package/esm2020/article/examples/article-lead/article-lead.component.mjs +12 -0
  136. package/esm2020/article/examples/article-link/article-link.component.mjs +12 -0
  137. package/esm2020/article/examples/article-meta/article-meta.component.mjs +12 -0
  138. package/esm2020/article/examples/article-ol/article-ol.component.mjs +12 -0
  139. package/esm2020/article/examples/article-table/article-table.component.mjs +12 -0
  140. package/esm2020/article/examples/article-ul/article-ul.component.mjs +12 -0
  141. package/esm2020/article/examples/daffodil-design-article-examples.mjs +5 -0
  142. package/{esm2015/article/examples/examples.js → esm2020/article/examples/examples.mjs} +0 -0
  143. package/{esm2015/article/examples/index.js → esm2020/article/examples/index.mjs} +0 -0
  144. package/{esm2015/article/examples/public_api.js → esm2020/article/examples/public_api.mjs} +0 -0
  145. package/esm2020/atoms/button/button.component.mjs +132 -0
  146. package/esm2020/atoms/button/button.module.mjs +32 -0
  147. package/{esm2015/atoms/button/public_api.js → esm2020/atoms/button/public_api.mjs} +0 -0
  148. package/esm2020/atoms/container/container.component.mjs +37 -0
  149. package/esm2020/atoms/container/container.module.mjs +26 -0
  150. package/{esm2015/atoms/container/public_api.js → esm2020/atoms/container/public_api.mjs} +0 -0
  151. package/esm2020/atoms/form/checkbox/checkbox.component.mjs +142 -0
  152. package/esm2020/atoms/form/checkbox/checkbox.module.mjs +41 -0
  153. package/esm2020/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +94 -0
  154. package/{esm2015/atoms/form/checkbox/public_api.js → esm2020/atoms/form/checkbox/public_api.mjs} +0 -0
  155. package/esm2020/atoms/form/checkbox-set/checkbox-set.component.mjs +38 -0
  156. package/{esm2015/atoms/form/core/error-state-matcher/error-state-matcher.js → esm2020/atoms/form/core/error-state-matcher/error-state-matcher.mjs} +0 -0
  157. package/{esm2015/atoms/form/core/public_api.js → esm2020/atoms/form/core/public_api.mjs} +0 -0
  158. package/esm2020/atoms/form/error-message/error-message.component.mjs +11 -0
  159. package/esm2020/atoms/form/error-message/error-message.module.mjs +20 -0
  160. package/{esm2015/atoms/form/error-message/public_api.js → esm2020/atoms/form/error-message/public_api.mjs} +0 -0
  161. package/esm2020/atoms/form/form-field/form-field/form-field.component.mjs +102 -0
  162. package/{esm2015/atoms/form/form-field/form-field-control.js → esm2020/atoms/form/form-field/form-field-control.mjs} +0 -0
  163. package/{esm2015/atoms/form/form-field/form-field-errors.js → esm2020/atoms/form/form-field/form-field-errors.mjs} +0 -0
  164. package/esm2020/atoms/form/form-field/form-field.module.mjs +36 -0
  165. package/{esm2015/atoms/form/form-field/public_api.js → esm2020/atoms/form/form-field/public_api.mjs} +0 -0
  166. package/esm2020/atoms/form/input/input.component.mjs +59 -0
  167. package/esm2020/atoms/form/input/input.module.mjs +26 -0
  168. package/{esm2015/atoms/form/input/public_api.js → esm2020/atoms/form/input/public_api.mjs} +0 -0
  169. package/{esm2015/atoms/form/quantity-field/public_api.js → esm2020/atoms/form/quantity-field/public_api.mjs} +0 -0
  170. package/esm2020/atoms/form/quantity-field/quantity-field.component.mjs +134 -0
  171. package/esm2020/atoms/form/quantity-field/quantity-field.module.mjs +48 -0
  172. package/esm2020/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +97 -0
  173. package/esm2020/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +84 -0
  174. package/esm2020/atoms/form/radio/cva/radio-cva.directive.mjs +89 -0
  175. package/{esm2015/atoms/form/radio/public_api.js → esm2020/atoms/form/radio/public_api.mjs} +0 -0
  176. package/esm2020/atoms/form/radio/radio.component.mjs +132 -0
  177. package/esm2020/atoms/form/radio/radio.module.mjs +36 -0
  178. package/esm2020/atoms/form/radio/registry/radio-registry.mjs +54 -0
  179. package/esm2020/atoms/form/radio-set/radio-set.component.mjs +22 -0
  180. package/{esm2015/atoms/form/select/public_api.js → esm2020/atoms/form/select/public_api.mjs} +0 -0
  181. package/esm2020/atoms/form/select/select/select.component.mjs +64 -0
  182. package/esm2020/atoms/form/select/select.module.mjs +26 -0
  183. package/esm2020/atoms/image/image.component.mjs +111 -0
  184. package/esm2020/atoms/image/image.module.mjs +29 -0
  185. package/{esm2015/atoms/image/public_api.js → esm2020/atoms/image/public_api.mjs} +0 -0
  186. package/esm2020/atoms/loading-icon/loading-icon.component.mjs +53 -0
  187. package/esm2020/atoms/loading-icon/loading-icon.module.mjs +26 -0
  188. package/{esm2015/atoms/loading-icon/public_api.js → esm2020/atoms/loading-icon/public_api.mjs} +0 -0
  189. package/{esm2015/atoms/progress-indicator/animation/progress-indicator-animation.js → esm2020/atoms/progress-indicator/animation/progress-indicator-animation.mjs} +0 -0
  190. package/esm2020/atoms/progress-indicator/progress-indicator.component.mjs +81 -0
  191. package/esm2020/atoms/progress-indicator/progress-indicator.module.mjs +22 -0
  192. package/{esm2015/atoms/progress-indicator/public_api.js → esm2020/atoms/progress-indicator/public_api.mjs} +0 -0
  193. package/esm2020/button/examples/basic-button/basic-button.component.mjs +23 -0
  194. package/esm2020/button/examples/basic-button/basic-button.module.mjs +30 -0
  195. package/esm2020/button/examples/daffodil-design-button-examples.mjs +5 -0
  196. package/esm2020/button/examples/icon-button/icon-button.component.mjs +22 -0
  197. package/esm2020/button/examples/icon-button/icon-button.module.mjs +30 -0
  198. package/{esm2015/button/examples/index.js → esm2020/button/examples/index.mjs} +0 -0
  199. package/esm2020/button/examples/public_api.mjs +25 -0
  200. package/esm2020/button/examples/raised-button/raised-button.component.mjs +23 -0
  201. package/esm2020/button/examples/raised-button/raised-button.module.mjs +30 -0
  202. package/esm2020/button/examples/sizeable-button/sizeable-button.component.mjs +21 -0
  203. package/esm2020/button/examples/sizeable-button/sizeable-button.module.mjs +30 -0
  204. package/esm2020/button/examples/statusable-button/statusable-button.component.mjs +27 -0
  205. package/esm2020/button/examples/statusable-button/statusable-button.module.mjs +30 -0
  206. package/esm2020/button/examples/stroked-button/stroked-button.component.mjs +23 -0
  207. package/esm2020/button/examples/stroked-button/stroked-button.module.mjs +30 -0
  208. package/esm2020/button/examples/underline-button/underline-button.component.mjs +23 -0
  209. package/esm2020/button/examples/underline-button/underline-button.module.mjs +30 -0
  210. package/esm2020/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +27 -0
  211. package/esm2020/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +41 -0
  212. package/esm2020/callout/examples/callout-theming/callout-theming.component.mjs +31 -0
  213. package/esm2020/callout/examples/callout-theming/callout-theming.module.mjs +38 -0
  214. package/esm2020/callout/examples/callout-with-grid/callout-with-grid.component.mjs +17 -0
  215. package/esm2020/callout/examples/callout-with-grid/callout-with-grid.module.mjs +41 -0
  216. package/esm2020/callout/examples/compact-callout/compact-callout.component.mjs +17 -0
  217. package/esm2020/callout/examples/compact-callout/compact-callout.module.mjs +37 -0
  218. package/{esm2015/callout/examples/daffodil-design-callout-examples.js → esm2020/callout/examples/daffodil-design-callout-examples.mjs} +0 -0
  219. package/{esm2015/callout/examples/examples.js → esm2020/callout/examples/examples.mjs} +0 -0
  220. package/{esm2015/callout/examples/index.js → esm2020/callout/examples/index.mjs} +0 -0
  221. package/{esm2015/callout/examples/public_api.js → esm2020/callout/examples/public_api.mjs} +0 -0
  222. package/esm2020/card/examples/basic-card/basic-card.component.mjs +17 -0
  223. package/esm2020/card/examples/basic-card/basic-card.module.mjs +40 -0
  224. package/esm2020/card/examples/card-orientation/card-orientation.component.mjs +26 -0
  225. package/esm2020/card/examples/card-orientation/card-orientation.module.mjs +44 -0
  226. package/esm2020/card/examples/card-theming/card-theming.component.mjs +32 -0
  227. package/esm2020/card/examples/card-theming/card-theming.module.mjs +37 -0
  228. package/esm2020/card/examples/daffodil-design-card-examples.mjs +5 -0
  229. package/{esm2015/card/examples/index.js → esm2020/card/examples/index.mjs} +0 -0
  230. package/esm2020/card/examples/linkable-card/linkable-card.component.mjs +30 -0
  231. package/esm2020/card/examples/linkable-card/linkable-card.module.mjs +44 -0
  232. package/esm2020/card/examples/public_api.mjs +22 -0
  233. package/esm2020/card/examples/raised-card/raised-card.component.mjs +28 -0
  234. package/esm2020/card/examples/raised-card/raised-card.module.mjs +40 -0
  235. package/esm2020/card/examples/stroked-card/stroked-card.component.mjs +28 -0
  236. package/esm2020/card/examples/stroked-card/stroked-card.module.mjs +44 -0
  237. package/esm2020/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +26 -0
  238. package/esm2020/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +34 -0
  239. package/esm2020/checkbox/examples/checkbox-set/checkbox-set.component.mjs +28 -0
  240. package/esm2020/checkbox/examples/checkbox-set/checkbox-set.module.mjs +34 -0
  241. package/esm2020/checkbox/examples/daffodil-design-checkbox-examples.mjs +5 -0
  242. package/{esm2015/checkbox/examples/examples.js → esm2020/checkbox/examples/examples.mjs} +0 -0
  243. package/{esm2015/checkbox/examples/index.js → esm2020/checkbox/examples/index.mjs} +0 -0
  244. package/{esm2015/checkbox/examples/public_api.js → esm2020/checkbox/examples/public_api.mjs} +0 -0
  245. package/esm2020/container/examples/container-sizes/container-sizes.component.mjs +25 -0
  246. package/esm2020/container/examples/container-sizes/container-sizes.module.mjs +34 -0
  247. package/{esm2015/container/examples/daffodil-design-container-examples.js → esm2020/container/examples/daffodil-design-container-examples.mjs} +0 -0
  248. package/{esm2015/container/examples/examples.js → esm2020/container/examples/examples.mjs} +0 -0
  249. package/{esm2015/container/examples/index.js → esm2020/container/examples/index.mjs} +0 -0
  250. package/{esm2015/container/examples/public_api.js → esm2020/container/examples/public_api.mjs} +0 -0
  251. package/{esm2015/core/article-encapsulated/article-encapsulated-mixin.js → esm2020/core/article-encapsulated/article-encapsulated-mixin.mjs} +0 -0
  252. package/{esm2015/core/article-encapsulated/public_api.js → esm2020/core/article-encapsulated/public_api.mjs} +0 -0
  253. package/{esm2015/core/breakpoints/breakpoints.js → esm2020/core/breakpoints/breakpoints.mjs} +0 -0
  254. package/{esm2015/core/colorable/color-in-palette.js → esm2020/core/colorable/color-in-palette.mjs} +0 -0
  255. package/{esm2015/core/colorable/colorable-enum.js → esm2020/core/colorable/colorable-enum.mjs} +0 -0
  256. package/esm2020/core/colorable/colorable-mixin.mjs +42 -0
  257. package/{esm2015/core/colorable/colorable.js → esm2020/core/colorable/colorable.mjs} +0 -0
  258. package/{esm2015/core/colorable/public_api.js → esm2020/core/colorable/public_api.mjs} +0 -0
  259. package/{esm2015/core/compactable/compactable-mixin.js → esm2020/core/compactable/compactable-mixin.mjs} +0 -0
  260. package/{esm2015/core/compactable/compactable.js → esm2020/core/compactable/compactable.mjs} +0 -0
  261. package/{esm2015/core/compactable/public_api.js → esm2020/core/compactable/public_api.mjs} +0 -0
  262. package/{esm2015/core/constructor/constructor.js → esm2020/core/constructor/constructor.mjs} +0 -0
  263. package/{esm2015/core/manage-container-layout/manage-container-layout-mixin.js → esm2020/core/manage-container-layout/manage-container-layout-mixin.mjs} +0 -0
  264. package/{esm2015/core/manage-container-layout/public_api.js → esm2020/core/manage-container-layout/public_api.mjs} +0 -0
  265. package/{esm2015/core/mutable/mutable.js → esm2020/core/mutable/mutable.mjs} +0 -0
  266. package/esm2020/core/prefix-suffix/prefix-suffix.module.mjs +26 -0
  267. package/esm2020/core/prefix-suffix/prefix.directive.mjs +24 -0
  268. package/{esm2015/core/prefix-suffix/prefixable/prefixable-interface.js → esm2020/core/prefix-suffix/prefixable/prefixable-interface.mjs} +0 -0
  269. package/esm2020/core/prefix-suffix/prefixable/prefixable.mjs +23 -0
  270. package/{esm2015/core/prefix-suffix/public_api.js → esm2020/core/prefix-suffix/public_api.mjs} +0 -0
  271. package/esm2020/core/prefix-suffix/suffix.directive.mjs +24 -0
  272. package/{esm2015/core/prefix-suffix/suffixable/suffixable-interface.js → esm2020/core/prefix-suffix/suffixable/suffixable-interface.mjs} +0 -0
  273. package/esm2020/core/prefix-suffix/suffixable/suffixable.mjs +23 -0
  274. package/esm2020/core/public_api.mjs +14 -0
  275. package/esm2020/core/sizeable/sizeable-mixin.mjs +31 -0
  276. package/{esm2015/core/sizeable/sizeable.js → esm2020/core/sizeable/sizeable.mjs} +0 -0
  277. package/{esm2015/core/skeletonable/skeletonable.js → esm2020/core/skeletonable/skeletonable.mjs} +0 -0
  278. package/esm2020/core/statusable/statusable-mixin.mjs +32 -0
  279. package/{esm2015/core/statusable/statusable.js → esm2020/core/statusable/statusable.mjs} +0 -0
  280. package/esm2020/core/text-alignable/text-alignable-mixin.mjs +35 -0
  281. package/{esm2015/core/text-alignable/text-alignable.js → esm2020/core/text-alignable/text-alignable.mjs} +0 -0
  282. package/esm2020/core/theming/functions/computer.mjs +18 -0
  283. package/esm2020/core/theming/initializer.mjs +17 -0
  284. package/esm2020/core/theming/public_api.mjs +4 -0
  285. package/esm2020/core/theming/services/class-setter/theme-class-setter.service.mjs +52 -0
  286. package/esm2020/core/theming/services/os-theme/ostheme.service.mjs +49 -0
  287. package/esm2020/core/theming/services/storage/theme-storage.service.mjs +67 -0
  288. package/esm2020/core/theming/services/theming.service.mjs +61 -0
  289. package/esm2020/core/theming/types/theme.mjs +10 -0
  290. package/esm2020/daffodil-design.mjs +5 -0
  291. package/{esm2015/examples/examples.js → esm2020/examples/examples.mjs} +0 -0
  292. package/{esm2015/examples/public_api.js → esm2020/examples/public_api.mjs} +0 -0
  293. package/esm2020/hero/examples/compact-hero/compact-hero.component.mjs +17 -0
  294. package/esm2020/hero/examples/compact-hero/compact-hero.module.mjs +41 -0
  295. package/{esm2015/hero/examples/daffodil-design-hero-examples.js → esm2020/hero/examples/daffodil-design-hero-examples.mjs} +0 -0
  296. package/{esm2015/hero/examples/examples.js → esm2020/hero/examples/examples.mjs} +0 -0
  297. package/esm2020/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +27 -0
  298. package/esm2020/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +41 -0
  299. package/esm2020/hero/examples/hero-theming/hero-theming.component.mjs +21 -0
  300. package/esm2020/hero/examples/hero-theming/hero-theming.module.mjs +41 -0
  301. package/esm2020/hero/examples/hero-with-grid/hero-with-grid.component.mjs +17 -0
  302. package/esm2020/hero/examples/hero-with-grid/hero-with-grid.module.mjs +41 -0
  303. package/{esm2015/hero/examples/index.js → esm2020/hero/examples/index.mjs} +0 -0
  304. package/{esm2015/hero/examples/public_api.js → esm2020/hero/examples/public_api.mjs} +0 -0
  305. package/esm2020/image/examples/basic-image/basic-image.component.mjs +12 -0
  306. package/esm2020/image/examples/basic-image/basic-image.module.mjs +26 -0
  307. package/esm2020/image/examples/daffodil-design-image-examples.mjs +5 -0
  308. package/esm2020/image/examples/index.mjs +2 -0
  309. package/esm2020/image/examples/load-image/load-image.component.mjs +19 -0
  310. package/esm2020/image/examples/load-image/load-image.module.mjs +30 -0
  311. package/esm2020/image/examples/public_api.mjs +9 -0
  312. package/esm2020/list/examples/basic-list/basic-list.component.mjs +12 -0
  313. package/esm2020/list/examples/basic-list/basic-list.module.mjs +30 -0
  314. package/esm2020/list/examples/daffodil-design-list-examples.mjs +5 -0
  315. package/{esm2015/list/examples/examples.js → esm2020/list/examples/examples.mjs} +0 -0
  316. package/esm2020/list/examples/icon-list/icon-list.component.mjs +17 -0
  317. package/esm2020/list/examples/icon-list/icon-list.module.mjs +34 -0
  318. package/{esm2015/list/examples/index.js → esm2020/list/examples/index.mjs} +0 -0
  319. package/esm2020/list/examples/list-examples.module.mjs +39 -0
  320. package/esm2020/list/examples/multiline-list/multiline-list.component.mjs +12 -0
  321. package/esm2020/list/examples/multiline-list/multiline-list.module.mjs +34 -0
  322. package/esm2020/list/examples/nav-list/nav-list.component.mjs +17 -0
  323. package/esm2020/list/examples/nav-list/nav-list.module.mjs +34 -0
  324. package/{esm2015/list/examples/public_api.js → esm2020/list/examples/public_api.mjs} +0 -0
  325. package/esm2020/loading-icon/examples/daffodil-design-loading-icon-examples.mjs +5 -0
  326. package/{esm2015/loading-icon/examples/examples.js → esm2020/loading-icon/examples/examples.mjs} +0 -0
  327. package/{esm2015/loading-icon/examples/index.js → esm2020/loading-icon/examples/index.mjs} +0 -0
  328. package/esm2020/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +19 -0
  329. package/esm2020/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +33 -0
  330. package/esm2020/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +12 -0
  331. package/esm2020/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +26 -0
  332. package/{esm2015/loading-icon/examples/public_api.js → esm2020/loading-icon/examples/public_api.mjs} +0 -0
  333. package/esm2020/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +12 -0
  334. package/esm2020/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +30 -0
  335. package/esm2020/media-gallery/examples/daffodil-design-media-gallery-examples.mjs +5 -0
  336. package/{esm2015/media-gallery/examples/examples.js → esm2020/media-gallery/examples/examples.mjs} +0 -0
  337. package/{esm2015/media-gallery/examples/index.js → esm2020/media-gallery/examples/index.mjs} +0 -0
  338. package/esm2020/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +12 -0
  339. package/esm2020/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +30 -0
  340. package/esm2020/media-gallery/examples/public_api.mjs +6 -0
  341. package/esm2020/modal/examples/basic-modal/basic-modal.component.mjs +20 -0
  342. package/esm2020/modal/examples/basic-modal/basic-modal.module.mjs +32 -0
  343. package/esm2020/modal/examples/basic-modal/modal-content.component.mjs +12 -0
  344. package/esm2020/modal/examples/daffodil-design-modal-examples.mjs +5 -0
  345. package/{esm2015/modal/examples/index.js → esm2020/modal/examples/index.mjs} +0 -0
  346. package/{esm2015/modal/examples/public_api.js → esm2020/modal/examples/public_api.mjs} +0 -0
  347. package/esm2020/molecules/accordion/accordion/accordion.component.mjs +27 -0
  348. package/esm2020/molecules/accordion/accordion-item/accordion-item.component.mjs +54 -0
  349. package/esm2020/molecules/accordion/accordion-item-content/accordion-item-content.directive.mjs +22 -0
  350. package/esm2020/molecules/accordion/accordion-item-title/accordion-item-title.directive.mjs +22 -0
  351. package/esm2020/molecules/accordion/accordion.module.mjs +54 -0
  352. package/{esm2015/molecules/accordion/animation/accordion-animation-state.js → esm2020/molecules/accordion/animation/accordion-animation-state.mjs} +0 -0
  353. package/{esm2015/molecules/accordion/animation/accordion-animation.js → esm2020/molecules/accordion/animation/accordion-animation.mjs} +0 -0
  354. package/esm2020/molecules/accordion/nav-accordion-item/nav-accordion-item.component.mjs +78 -0
  355. package/esm2020/molecules/accordion/public_api.mjs +7 -0
  356. package/esm2020/molecules/article/article/article.component.mjs +30 -0
  357. package/esm2020/molecules/article/article-lead/article-lead.directive.mjs +22 -0
  358. package/esm2020/molecules/article/article-meta/article-meta.directive.mjs +22 -0
  359. package/esm2020/molecules/article/article-title/article-title.directive.mjs +22 -0
  360. package/esm2020/molecules/article/article.module.mjs +41 -0
  361. package/{esm2015/molecules/article/public_api.js → esm2020/molecules/article/public_api.mjs} +0 -0
  362. package/{esm2015/molecules/backdrop/animation/backdrop-animation.js → esm2020/molecules/backdrop/animation/backdrop-animation.mjs} +0 -0
  363. package/esm2020/molecules/backdrop/backdrop/backdrop.component.mjs +52 -0
  364. package/esm2020/molecules/backdrop/backdrop.module.mjs +29 -0
  365. package/{esm2015/molecules/backdrop/public_api.js → esm2020/molecules/backdrop/public_api.mjs} +0 -0
  366. package/esm2020/molecules/button-set/button-set.component.mjs +20 -0
  367. package/esm2020/molecules/button-set/button-set.module.mjs +20 -0
  368. package/{esm2015/molecules/button-set/public_api.js → esm2020/molecules/button-set/public_api.mjs} +0 -0
  369. package/esm2020/molecules/callout/callout/callout.component.mjs +71 -0
  370. package/esm2020/molecules/callout/callout-body/callout-body.directive.mjs +22 -0
  371. package/esm2020/molecules/callout/callout-icon/callout-icon.directive.mjs +22 -0
  372. package/esm2020/molecules/callout/callout-subtitle/callout-subtitle.directive.mjs +22 -0
  373. package/esm2020/molecules/callout/callout-tagline/callout-tagline.directive.mjs +22 -0
  374. package/esm2020/molecules/callout/callout-title/callout-title.directive.mjs +22 -0
  375. package/esm2020/molecules/callout/callout.module.mjs +51 -0
  376. package/{esm2015/molecules/callout/public_api.js → esm2020/molecules/callout/public_api.mjs} +0 -0
  377. package/esm2020/molecules/card/card/card.component.mjs +113 -0
  378. package/esm2020/molecules/card/card-actions/card-actions.directive.mjs +22 -0
  379. package/esm2020/molecules/card/card-content/card-content.directive.mjs +22 -0
  380. package/esm2020/molecules/card/card-icon/card-icon.directive.mjs +22 -0
  381. package/esm2020/molecules/card/card-image/card-image.directive.mjs +22 -0
  382. package/esm2020/molecules/card/card-tagline/card-tagline.directive.mjs +22 -0
  383. package/esm2020/molecules/card/card-title/card-title.directive.mjs +22 -0
  384. package/esm2020/molecules/card/card.module.mjs +56 -0
  385. package/{esm2015/molecules/card/public_api.js → esm2020/molecules/card/public_api.mjs} +0 -0
  386. package/esm2020/molecules/feature/feature/feature.component.mjs +49 -0
  387. package/esm2020/molecules/feature/feature-icon/feature-icon.directive.mjs +22 -0
  388. package/esm2020/molecules/feature/feature-subheader/feature-subheader.directive.mjs +22 -0
  389. package/esm2020/molecules/feature/feature-subtitle/feature-subtitle.directive.mjs +22 -0
  390. package/esm2020/molecules/feature/feature-title/feature-title.directive.mjs +22 -0
  391. package/esm2020/molecules/feature/feature.module.mjs +46 -0
  392. package/{esm2015/molecules/feature/public_api.js → esm2020/molecules/feature/public_api.mjs} +0 -0
  393. package/esm2020/molecules/hero/hero/hero.component.mjs +72 -0
  394. package/esm2020/molecules/hero/hero-body/hero-body.directive.mjs +22 -0
  395. package/esm2020/molecules/hero/hero-icon/hero-icon.directive.mjs +22 -0
  396. package/esm2020/molecules/hero/hero-subtitle/hero-subtitle.directive.mjs +22 -0
  397. package/esm2020/molecules/hero/hero-tagline/hero-tagline.directive.mjs +22 -0
  398. package/esm2020/molecules/hero/hero-title/hero-title.directive.mjs +22 -0
  399. package/esm2020/molecules/hero/hero.module.mjs +51 -0
  400. package/{esm2015/molecules/hero/public_api.js → esm2020/molecules/hero/public_api.mjs} +0 -0
  401. package/esm2020/molecules/image-gallery/gallery-image/gallery-image.component.mjs +25 -0
  402. package/esm2020/molecules/image-gallery/image-gallery/image-gallery.component.mjs +15 -0
  403. package/esm2020/molecules/image-gallery/image-gallery.module.mjs +35 -0
  404. package/{esm2015/molecules/image-gallery/public_api.js → esm2020/molecules/image-gallery/public_api.mjs} +0 -0
  405. package/esm2020/molecules/image-list/image-list.component.mjs +20 -0
  406. package/esm2020/molecules/image-list/image-list.module.mjs +26 -0
  407. package/{esm2015/molecules/image-list/public_api.js → esm2020/molecules/image-list/public_api.mjs} +0 -0
  408. package/esm2020/molecules/link-set/link-set/link-set.component.mjs +37 -0
  409. package/esm2020/molecules/link-set/link-set-heading/link-set-heading.directive.mjs +25 -0
  410. package/esm2020/molecules/link-set/link-set-item/link-set-item.component.mjs +26 -0
  411. package/esm2020/molecules/link-set/link-set-subheading/link-set-subheading.directive.mjs +25 -0
  412. package/esm2020/molecules/link-set/link-set.module.mjs +41 -0
  413. package/{esm2015/molecules/link-set/public_api.js → esm2020/molecules/link-set/public_api.mjs} +0 -0
  414. package/esm2020/molecules/list/list/list.component.mjs +110 -0
  415. package/esm2020/molecules/list/list-item/list-item.component.mjs +49 -0
  416. package/esm2020/molecules/list/list-subheader/list-subheader.directive.mjs +25 -0
  417. package/esm2020/molecules/list/list.module.mjs +42 -0
  418. package/{esm2015/molecules/list/public_api.js → esm2020/molecules/list/public_api.mjs} +0 -0
  419. package/{esm2015/molecules/media-gallery/media-gallery-registration.interface.js → esm2020/molecules/media-gallery/media-gallery-registration.interface.mjs} +0 -0
  420. package/{esm2015/molecules/media-gallery/media-gallery-token.js → esm2020/molecules/media-gallery/media-gallery-token.mjs} +0 -0
  421. package/esm2020/molecules/media-gallery/media-gallery.component.mjs +59 -0
  422. package/esm2020/molecules/media-gallery/media-gallery.module.mjs +34 -0
  423. package/esm2020/molecules/media-gallery/media-renderer/media-renderer.component.mjs +76 -0
  424. package/{esm2015/molecules/media-gallery/public_api.js → esm2020/molecules/media-gallery/public_api.mjs} +0 -0
  425. package/esm2020/molecules/media-gallery/registry/media-gallery.registry.mjs +97 -0
  426. package/{esm2015/molecules/media-gallery/thumbnail/thumbnail-compat.token.js → esm2020/molecules/media-gallery/thumbnail/thumbnail-compat.token.mjs} +0 -0
  427. package/{esm2015/molecules/media-gallery/thumbnail/thumbnail-registration.interface.js → esm2020/molecules/media-gallery/thumbnail/thumbnail-registration.interface.mjs} +0 -0
  428. package/esm2020/molecules/media-gallery/thumbnail/thumbnail.directive.mjs +88 -0
  429. package/{esm2015/molecules/modal/animations/modal-animation-state.js → esm2020/molecules/modal/animations/modal-animation-state.mjs} +0 -0
  430. package/{esm2015/molecules/modal/animations/modal-animation.js → esm2020/molecules/modal/animations/modal-animation.mjs} +0 -0
  431. package/{esm2015/molecules/modal/modal/modal-config.js → esm2020/molecules/modal/modal/modal-config.mjs} +0 -0
  432. package/esm2020/molecules/modal/modal/modal.component.mjs +79 -0
  433. package/esm2020/molecules/modal/modal-actions/modal-actions.component.mjs +11 -0
  434. package/esm2020/molecules/modal/modal-content/modal-content.component.mjs +11 -0
  435. package/esm2020/molecules/modal/modal-header/modal-header.component.mjs +20 -0
  436. package/esm2020/molecules/modal/modal-title/modal-title.directive.mjs +22 -0
  437. package/{esm2015/molecules/modal/modal.js → esm2020/molecules/modal/modal.mjs} +0 -0
  438. package/esm2020/molecules/modal/modal.module.mjs +52 -0
  439. package/{esm2015/molecules/modal/public_api.js → esm2020/molecules/modal/public_api.mjs} +0 -0
  440. package/esm2020/molecules/modal/service/modal.service.mjs +70 -0
  441. package/esm2020/molecules/navbar/navbar.component.mjs +51 -0
  442. package/esm2020/molecules/navbar/navbar.module.mjs +20 -0
  443. package/{esm2015/molecules/navbar/public_api.js → esm2020/molecules/navbar/public_api.mjs} +0 -0
  444. package/{esm2015/molecules/paginator/paginator-errors.js → esm2020/molecules/paginator/paginator-errors.mjs} +0 -0
  445. package/esm2020/molecules/paginator/paginator.component.mjs +159 -0
  446. package/esm2020/molecules/paginator/paginator.module.mjs +34 -0
  447. package/{esm2015/molecules/paginator/public_api.js → esm2020/molecules/paginator/public_api.mjs} +0 -0
  448. package/{esm2015/molecules/qty-dropdown/public_api.js → esm2020/molecules/qty-dropdown/public_api.mjs} +0 -0
  449. package/esm2020/molecules/qty-dropdown/qty-dropdown.component.mjs +115 -0
  450. package/esm2020/molecules/qty-dropdown/qty-dropdown.module.mjs +42 -0
  451. package/{esm2015/molecules/sidebar/animation/sidebar-animation-state.js → esm2020/molecules/sidebar/animation/sidebar-animation-state.mjs} +0 -0
  452. package/{esm2015/molecules/sidebar/animation/sidebar-animation.js → esm2020/molecules/sidebar/animation/sidebar-animation.mjs} +0 -0
  453. package/{esm2015/molecules/sidebar/helper/sidebar-mode.js → esm2020/molecules/sidebar/helper/sidebar-mode.mjs} +0 -0
  454. package/{esm2015/molecules/sidebar/public_api.js → esm2020/molecules/sidebar/public_api.mjs} +0 -0
  455. package/esm2020/molecules/sidebar/sidebar/sidebar.component.mjs +44 -0
  456. package/esm2020/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +121 -0
  457. package/esm2020/molecules/sidebar/sidebar.module.mjs +39 -0
  458. package/esm2020/navbar/examples/basic-navbar/basic-navbar.component.mjs +12 -0
  459. package/esm2020/navbar/examples/basic-navbar/basic-navbar.module.mjs +33 -0
  460. package/esm2020/navbar/examples/contained-navbar/contained-navbar.component.mjs +12 -0
  461. package/esm2020/navbar/examples/contained-navbar/contained-navbar.module.mjs +33 -0
  462. package/{esm2015/navbar/examples/daffodil-design-navbar-examples.js → esm2020/navbar/examples/daffodil-design-navbar-examples.mjs} +0 -0
  463. package/{esm2015/navbar/examples/examples.js → esm2020/navbar/examples/examples.mjs} +0 -0
  464. package/{esm2015/navbar/examples/index.js → esm2020/navbar/examples/index.mjs} +0 -0
  465. package/esm2020/navbar/examples/navbar-theming/navbar-theming.component.mjs +28 -0
  466. package/esm2020/navbar/examples/navbar-theming/navbar-theming.module.mjs +34 -0
  467. package/{esm2015/navbar/examples/public_api.js → esm2020/navbar/examples/public_api.mjs} +0 -0
  468. package/esm2020/navbar/examples/raised-navbar/raised-navbar.component.mjs +12 -0
  469. package/esm2020/navbar/examples/raised-navbar/raised-navbar.module.mjs +30 -0
  470. package/esm2020/paginator/examples/basic-paginator/basic-paginator.component.mjs +19 -0
  471. package/esm2020/paginator/examples/daffodil-design-paginator-examples.mjs +5 -0
  472. package/esm2020/paginator/examples/examples.mjs +5 -0
  473. package/esm2020/paginator/examples/index.mjs +2 -0
  474. package/esm2020/paginator/examples/paginator-examples.module.mjs +31 -0
  475. package/esm2020/paginator/examples/public_api.mjs +4 -0
  476. package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
  477. package/esm2020/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +17 -0
  478. package/esm2020/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.mjs +37 -0
  479. package/esm2020/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +17 -0
  480. package/esm2020/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.mjs +37 -0
  481. package/esm2020/quantity-field/examples/daffodil-design-quantity-field-examples.mjs +5 -0
  482. package/esm2020/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +17 -0
  483. package/esm2020/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.mjs +37 -0
  484. package/{esm2015/quantity-field/examples/index.js → esm2020/quantity-field/examples/index.mjs} +0 -0
  485. package/esm2020/quantity-field/examples/public_api.mjs +16 -0
  486. package/esm2020/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +17 -0
  487. package/esm2020/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.mjs +37 -0
  488. package/esm2020/radio/examples/basic-radio/basic-radio.component.mjs +21 -0
  489. package/esm2020/radio/examples/basic-radio/basic-radio.module.mjs +31 -0
  490. package/esm2020/radio/examples/daffodil-design-radio-examples.mjs +5 -0
  491. package/{esm2015/radio/examples/examples.js → esm2020/radio/examples/examples.mjs} +0 -0
  492. package/{esm2015/radio/examples/index.js → esm2020/radio/examples/index.mjs} +0 -0
  493. package/{esm2015/radio/examples/public_api.js → esm2020/radio/examples/public_api.mjs} +0 -0
  494. package/fesm2015/daffodil-design-accordion-examples.mjs +78 -0
  495. package/fesm2015/daffodil-design-accordion-examples.mjs.map +1 -0
  496. package/fesm2015/daffodil-design-article-examples.mjs +150 -0
  497. package/fesm2015/daffodil-design-article-examples.mjs.map +1 -0
  498. package/fesm2015/daffodil-design-button-examples.mjs +326 -0
  499. package/fesm2015/daffodil-design-button-examples.mjs.map +1 -0
  500. package/fesm2015/daffodil-design-callout-examples.mjs +221 -0
  501. package/fesm2015/daffodil-design-callout-examples.mjs.map +1 -0
  502. package/fesm2015/daffodil-design-card-examples.mjs +362 -0
  503. package/fesm2015/daffodil-design-card-examples.mjs.map +1 -0
  504. package/fesm2015/daffodil-design-checkbox-examples.mjs +123 -0
  505. package/fesm2015/daffodil-design-checkbox-examples.mjs.map +1 -0
  506. package/fesm2015/daffodil-design-container-examples.mjs +66 -0
  507. package/fesm2015/daffodil-design-container-examples.mjs.map +1 -0
  508. package/fesm2015/daffodil-design-hero-examples.mjs +218 -0
  509. package/fesm2015/daffodil-design-hero-examples.mjs.map +1 -0
  510. package/fesm2015/daffodil-design-image-examples.mjs +89 -0
  511. package/fesm2015/daffodil-design-image-examples.mjs.map +1 -0
  512. package/fesm2015/daffodil-design-list-examples.mjs +204 -0
  513. package/fesm2015/daffodil-design-list-examples.mjs.map +1 -0
  514. package/fesm2015/daffodil-design-loading-icon-examples.mjs +91 -0
  515. package/fesm2015/daffodil-design-loading-icon-examples.mjs.map +1 -0
  516. package/fesm2015/daffodil-design-media-gallery-examples.mjs +86 -0
  517. package/fesm2015/daffodil-design-media-gallery-examples.mjs.map +1 -0
  518. package/fesm2015/daffodil-design-modal-examples.mjs +66 -0
  519. package/fesm2015/daffodil-design-modal-examples.mjs.map +1 -0
  520. package/fesm2015/daffodil-design-navbar-examples.mjs +180 -0
  521. package/fesm2015/daffodil-design-navbar-examples.mjs.map +1 -0
  522. package/fesm2015/daffodil-design-paginator-examples.mjs +57 -0
  523. package/fesm2015/daffodil-design-paginator-examples.mjs.map +1 -0
  524. package/fesm2015/daffodil-design-quantity-field-examples.mjs +193 -0
  525. package/fesm2015/daffodil-design-quantity-field-examples.mjs.map +1 -0
  526. package/fesm2015/daffodil-design-radio-examples.mjs +62 -0
  527. package/fesm2015/daffodil-design-radio-examples.mjs.map +1 -0
  528. package/fesm2015/daffodil-design.mjs +5399 -0
  529. package/fesm2015/daffodil-design.mjs.map +1 -0
  530. package/fesm2020/daffodil-design-accordion-examples.mjs +78 -0
  531. package/fesm2020/daffodil-design-accordion-examples.mjs.map +1 -0
  532. package/fesm2020/daffodil-design-article-examples.mjs +150 -0
  533. package/fesm2020/daffodil-design-article-examples.mjs.map +1 -0
  534. package/fesm2020/daffodil-design-button-examples.mjs +326 -0
  535. package/fesm2020/daffodil-design-button-examples.mjs.map +1 -0
  536. package/fesm2020/daffodil-design-callout-examples.mjs +221 -0
  537. package/fesm2020/daffodil-design-callout-examples.mjs.map +1 -0
  538. package/fesm2020/daffodil-design-card-examples.mjs +362 -0
  539. package/fesm2020/daffodil-design-card-examples.mjs.map +1 -0
  540. package/fesm2020/daffodil-design-checkbox-examples.mjs +123 -0
  541. package/fesm2020/daffodil-design-checkbox-examples.mjs.map +1 -0
  542. package/fesm2020/daffodil-design-container-examples.mjs +66 -0
  543. package/fesm2020/daffodil-design-container-examples.mjs.map +1 -0
  544. package/fesm2020/daffodil-design-hero-examples.mjs +218 -0
  545. package/fesm2020/daffodil-design-hero-examples.mjs.map +1 -0
  546. package/fesm2020/daffodil-design-image-examples.mjs +89 -0
  547. package/fesm2020/daffodil-design-image-examples.mjs.map +1 -0
  548. package/fesm2020/daffodil-design-list-examples.mjs +204 -0
  549. package/fesm2020/daffodil-design-list-examples.mjs.map +1 -0
  550. package/fesm2020/daffodil-design-loading-icon-examples.mjs +91 -0
  551. package/fesm2020/daffodil-design-loading-icon-examples.mjs.map +1 -0
  552. package/fesm2020/daffodil-design-media-gallery-examples.mjs +86 -0
  553. package/fesm2020/daffodil-design-media-gallery-examples.mjs.map +1 -0
  554. package/fesm2020/daffodil-design-modal-examples.mjs +66 -0
  555. package/fesm2020/daffodil-design-modal-examples.mjs.map +1 -0
  556. package/fesm2020/daffodil-design-navbar-examples.mjs +180 -0
  557. package/fesm2020/daffodil-design-navbar-examples.mjs.map +1 -0
  558. package/fesm2020/daffodil-design-paginator-examples.mjs +57 -0
  559. package/fesm2020/daffodil-design-paginator-examples.mjs.map +1 -0
  560. package/fesm2020/daffodil-design-quantity-field-examples.mjs +193 -0
  561. package/fesm2020/daffodil-design-quantity-field-examples.mjs.map +1 -0
  562. package/fesm2020/daffodil-design-radio-examples.mjs +62 -0
  563. package/fesm2020/daffodil-design-radio-examples.mjs.map +1 -0
  564. package/fesm2020/daffodil-design.mjs +5384 -0
  565. package/fesm2020/daffodil-design.mjs.map +1 -0
  566. package/hero/examples/compact-hero/compact-hero.component.d.ts +3 -0
  567. package/hero/examples/compact-hero/compact-hero.module.d.ts +9 -0
  568. package/hero/examples/daffodil-design-hero-examples.d.ts +1 -0
  569. package/hero/examples/hero-text-alignment/hero-text-alignment.component.d.ts +3 -0
  570. package/hero/examples/hero-text-alignment/hero-text-alignment.module.d.ts +9 -0
  571. package/hero/examples/hero-theming/hero-theming.component.d.ts +3 -0
  572. package/hero/examples/hero-theming/hero-theming.module.d.ts +9 -0
  573. package/hero/examples/hero-with-grid/hero-with-grid.component.d.ts +3 -0
  574. package/hero/examples/hero-with-grid/hero-with-grid.module.d.ts +9 -0
  575. package/hero/examples/package.json +5 -6
  576. package/image/examples/basic-image/basic-image.component.d.ts +5 -0
  577. package/image/examples/basic-image/basic-image.module.d.ts +8 -0
  578. package/image/examples/daffodil-design-image-examples.d.ts +5 -0
  579. package/image/examples/index.d.ts +1 -0
  580. package/image/examples/load-image/load-image.component.d.ts +7 -0
  581. package/image/examples/load-image/load-image.module.d.ts +9 -0
  582. package/image/examples/package.json +10 -0
  583. package/image/examples/public_api.d.ts +2 -0
  584. package/list/examples/basic-list/basic-list.component.d.ts +3 -0
  585. package/list/examples/basic-list/basic-list.module.d.ts +7 -0
  586. package/list/examples/daffodil-design-list-examples.d.ts +1 -4
  587. package/list/examples/icon-list/icon-list.component.d.ts +3 -0
  588. package/list/examples/icon-list/icon-list.module.d.ts +8 -0
  589. package/list/examples/list-examples.module.d.ts +9 -0
  590. package/list/examples/multiline-list/multiline-list.component.d.ts +3 -0
  591. package/list/examples/multiline-list/multiline-list.module.d.ts +8 -0
  592. package/list/examples/nav-list/nav-list.component.d.ts +3 -0
  593. package/list/examples/nav-list/nav-list.module.d.ts +8 -0
  594. package/list/examples/package.json +5 -6
  595. package/loading-icon/examples/daffodil-design-loading-icon-examples.d.ts +1 -1
  596. package/loading-icon/examples/loading-icon-color/loading-icon-color.component.d.ts +3 -0
  597. package/loading-icon/examples/loading-icon-color/loading-icon-color.module.d.ts +7 -0
  598. package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.d.ts +3 -0
  599. package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.d.ts +6 -0
  600. package/loading-icon/examples/package.json +5 -6
  601. package/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.d.ts +3 -0
  602. package/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.d.ts +6 -0
  603. package/media-gallery/examples/daffodil-design-media-gallery-examples.d.ts +1 -2
  604. package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.d.ts +3 -0
  605. package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.d.ts +6 -0
  606. package/media-gallery/examples/package.json +5 -6
  607. package/media-gallery/examples/public_api.d.ts +2 -0
  608. package/modal/examples/basic-modal/basic-modal.component.d.ts +3 -0
  609. package/modal/examples/basic-modal/basic-modal.module.d.ts +7 -0
  610. package/modal/examples/basic-modal/modal-content.component.d.ts +3 -0
  611. package/modal/examples/daffodil-design-modal-examples.d.ts +1 -3
  612. package/modal/examples/package.json +5 -6
  613. package/molecules/accordion/accordion/accordion.component.d.ts +3 -0
  614. package/molecules/accordion/accordion-item/accordion-item.component.d.ts +3 -0
  615. package/molecules/accordion/accordion-item-content/accordion-item-content.directive.d.ts +3 -0
  616. package/molecules/accordion/accordion-item-title/accordion-item-title.directive.d.ts +3 -0
  617. package/molecules/accordion/accordion.module.d.ts +12 -0
  618. package/molecules/accordion/nav-accordion-item/nav-accordion-item.component.d.ts +3 -0
  619. package/molecules/accordion/public_api.d.ts +1 -0
  620. package/molecules/article/article/article.component.d.ts +3 -0
  621. package/molecules/article/article-lead/article-lead.directive.d.ts +3 -0
  622. package/molecules/article/article-meta/article-meta.directive.d.ts +3 -0
  623. package/molecules/article/article-title/article-title.directive.d.ts +3 -0
  624. package/molecules/article/article.module.d.ts +9 -0
  625. package/molecules/backdrop/backdrop/backdrop.component.d.ts +3 -0
  626. package/molecules/backdrop/backdrop.module.d.ts +6 -0
  627. package/molecules/button-set/button-set.component.d.ts +3 -0
  628. package/molecules/button-set/button-set.module.d.ts +5 -0
  629. package/molecules/callout/callout/callout.component.d.ts +3 -0
  630. package/molecules/callout/callout-body/callout-body.directive.d.ts +3 -0
  631. package/molecules/callout/callout-icon/callout-icon.directive.d.ts +3 -0
  632. package/molecules/callout/callout-subtitle/callout-subtitle.directive.d.ts +3 -0
  633. package/molecules/callout/callout-tagline/callout-tagline.directive.d.ts +3 -0
  634. package/molecules/callout/callout-title/callout-title.directive.d.ts +3 -0
  635. package/molecules/callout/callout.module.d.ts +11 -0
  636. package/molecules/card/card/card.component.d.ts +3 -0
  637. package/molecules/card/card-actions/card-actions.directive.d.ts +3 -0
  638. package/molecules/card/card-content/card-content.directive.d.ts +3 -0
  639. package/molecules/card/card-icon/card-icon.directive.d.ts +3 -0
  640. package/molecules/card/card-image/card-image.directive.d.ts +3 -0
  641. package/molecules/card/card-tagline/card-tagline.directive.d.ts +3 -0
  642. package/molecules/card/card-title/card-title.directive.d.ts +3 -0
  643. package/molecules/card/card.module.d.ts +12 -0
  644. package/molecules/feature/feature/feature.component.d.ts +3 -0
  645. package/molecules/feature/feature-icon/feature-icon.directive.d.ts +3 -0
  646. package/molecules/feature/feature-subheader/feature-subheader.directive.d.ts +3 -0
  647. package/molecules/feature/feature-subtitle/feature-subtitle.directive.d.ts +3 -0
  648. package/molecules/feature/feature-title/feature-title.directive.d.ts +3 -0
  649. package/molecules/feature/feature.module.d.ts +10 -0
  650. package/molecules/hero/hero/hero.component.d.ts +3 -0
  651. package/molecules/hero/hero-body/hero-body.directive.d.ts +3 -0
  652. package/molecules/hero/hero-icon/hero-icon.directive.d.ts +3 -0
  653. package/molecules/hero/hero-subtitle/hero-subtitle.directive.d.ts +3 -0
  654. package/molecules/hero/hero-tagline/hero-tagline.directive.d.ts +3 -0
  655. package/molecules/hero/hero-title/hero-title.directive.d.ts +3 -0
  656. package/molecules/hero/hero.module.d.ts +11 -0
  657. package/molecules/image-gallery/gallery-image/gallery-image.component.d.ts +3 -0
  658. package/molecules/image-gallery/image-gallery/image-gallery.component.d.ts +3 -0
  659. package/molecules/image-gallery/image-gallery.module.d.ts +8 -0
  660. package/molecules/image-list/image-list.component.d.ts +3 -0
  661. package/molecules/image-list/image-list.module.d.ts +6 -0
  662. package/molecules/link-set/link-set/link-set.component.d.ts +3 -0
  663. package/molecules/link-set/link-set-heading/link-set-heading.directive.d.ts +3 -0
  664. package/molecules/link-set/link-set-item/link-set-item.component.d.ts +3 -0
  665. package/molecules/link-set/link-set-subheading/link-set-subheading.directive.d.ts +3 -0
  666. package/molecules/link-set/link-set.module.d.ts +9 -0
  667. package/molecules/list/list/list.component.d.ts +4 -1
  668. package/molecules/list/list-item/list-item.component.d.ts +3 -0
  669. package/molecules/list/list-subheader/list-subheader.directive.d.ts +3 -0
  670. package/molecules/list/list.module.d.ts +9 -0
  671. package/molecules/media-gallery/media-gallery.component.d.ts +3 -0
  672. package/molecules/media-gallery/media-gallery.module.d.ts +8 -0
  673. package/molecules/media-gallery/media-renderer/media-renderer.component.d.ts +3 -0
  674. package/molecules/media-gallery/registry/media-gallery.registry.d.ts +3 -0
  675. package/molecules/media-gallery/thumbnail/thumbnail.directive.d.ts +3 -0
  676. package/molecules/modal/modal/modal.component.d.ts +3 -0
  677. package/molecules/modal/modal-actions/modal-actions.component.d.ts +3 -0
  678. package/molecules/modal/modal-content/modal-content.component.d.ts +3 -0
  679. package/molecules/modal/modal-header/modal-header.component.d.ts +3 -0
  680. package/molecules/modal/modal-title/modal-title.directive.d.ts +3 -0
  681. package/molecules/modal/modal.module.d.ts +12 -0
  682. package/molecules/modal/service/modal.service.d.ts +3 -0
  683. package/molecules/navbar/navbar.component.d.ts +3 -0
  684. package/molecules/navbar/navbar.module.d.ts +5 -0
  685. package/molecules/paginator/paginator.component.d.ts +3 -0
  686. package/molecules/paginator/paginator.module.d.ts +8 -0
  687. package/molecules/qty-dropdown/qty-dropdown.component.d.ts +3 -0
  688. package/molecules/qty-dropdown/qty-dropdown.module.d.ts +10 -0
  689. package/molecules/sidebar/sidebar/sidebar.component.d.ts +3 -0
  690. package/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +3 -0
  691. package/molecules/sidebar/sidebar.module.d.ts +9 -0
  692. package/navbar/examples/basic-navbar/basic-navbar.component.d.ts +3 -0
  693. package/navbar/examples/basic-navbar/basic-navbar.module.d.ts +7 -0
  694. package/navbar/examples/contained-navbar/contained-navbar.component.d.ts +3 -0
  695. package/navbar/examples/contained-navbar/contained-navbar.module.d.ts +7 -0
  696. package/navbar/examples/daffodil-design-navbar-examples.d.ts +1 -0
  697. package/navbar/examples/navbar-theming/navbar-theming.component.d.ts +3 -0
  698. package/navbar/examples/navbar-theming/navbar-theming.module.d.ts +8 -0
  699. package/navbar/examples/package.json +5 -6
  700. package/navbar/examples/raised-navbar/raised-navbar.component.d.ts +3 -0
  701. package/navbar/examples/raised-navbar/raised-navbar.module.d.ts +7 -0
  702. package/package.json +163 -15
  703. package/paginator/examples/basic-paginator/basic-paginator.component.d.ts +8 -0
  704. package/paginator/examples/daffodil-design-paginator-examples.d.ts +5 -0
  705. package/paginator/examples/examples.d.ts +2 -0
  706. package/paginator/examples/index.d.ts +1 -0
  707. package/paginator/examples/package.json +10 -0
  708. package/paginator/examples/paginator-examples.module.d.ts +9 -0
  709. package/paginator/examples/public_api.d.ts +3 -0
  710. package/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.d.ts +7 -0
  711. package/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.d.ts +10 -0
  712. package/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.d.ts +7 -0
  713. package/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.d.ts +10 -0
  714. package/quantity-field/examples/daffodil-design-quantity-field-examples.d.ts +1 -4
  715. package/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.d.ts +7 -0
  716. package/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.d.ts +10 -0
  717. package/quantity-field/examples/package.json +5 -6
  718. package/quantity-field/examples/public_api.d.ts +10 -5
  719. package/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.d.ts +7 -0
  720. package/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.d.ts +10 -0
  721. package/radio/examples/basic-radio/basic-radio.component.d.ts +3 -0
  722. package/radio/examples/basic-radio/basic-radio.module.d.ts +7 -0
  723. package/radio/examples/daffodil-design-radio-examples.d.ts +1 -2
  724. package/radio/examples/package.json +5 -6
  725. package/src/atoms/button/README.md +53 -0
  726. package/src/atoms/container/README.md +18 -0
  727. package/src/atoms/form/README.md +0 -0
  728. package/src/atoms/form/checkbox/README.md +0 -0
  729. package/src/atoms/form/checkbox-set/README.md +0 -0
  730. package/src/atoms/form/error-message/README.md +11 -0
  731. package/src/atoms/form/form-field/README.md +36 -0
  732. package/src/atoms/form/form-label/README.md +0 -0
  733. package/src/atoms/form/input/README.md +11 -0
  734. package/src/atoms/form/quantity-field/README.md +24 -0
  735. package/src/atoms/form/radio/README.md +55 -0
  736. package/src/atoms/form/radio-set/README.md +0 -0
  737. package/src/atoms/form/select/README.md +13 -0
  738. package/src/atoms/image/README.md +31 -0
  739. package/src/atoms/loading-icon/README.md +7 -0
  740. package/src/atoms/progress-indicator/README.md +2 -0
  741. package/src/molecules/accordion/README.md +21 -0
  742. package/src/molecules/article/README.md +49 -0
  743. package/src/molecules/backdrop/README.md +13 -0
  744. package/src/molecules/button-set/README.md +13 -0
  745. package/src/molecules/callout/README.md +54 -0
  746. package/src/molecules/card/README.md +60 -0
  747. package/src/molecules/feature/README.md +48 -0
  748. package/src/molecules/hero/README.md +54 -0
  749. package/src/molecules/image-gallery/README.md +31 -0
  750. package/src/molecules/image-list/README.md +14 -0
  751. package/src/molecules/link-set/README.md +44 -0
  752. package/src/molecules/list/README.md +69 -0
  753. package/src/molecules/media-gallery/README.md +19 -0
  754. package/src/molecules/modal/README.md +47 -0
  755. package/src/molecules/navbar/README.md +41 -0
  756. package/src/molecules/paginator/README.md +11 -0
  757. package/src/molecules/qty-dropdown/README.md +0 -0
  758. package/src/molecules/sidebar/README.md +10 -0
  759. package/src/scss/README.md +7 -0
  760. package/accordion/examples/daffodil-design-accordion-examples.metadata.json +0 -1
  761. package/article/examples/daffodil-design-article-examples.metadata.json +0 -1
  762. package/bundles/daffodil-design-accordion-examples.umd.js +0 -91
  763. package/bundles/daffodil-design-accordion-examples.umd.js.map +0 -1
  764. package/bundles/daffodil-design-accordion-examples.umd.min.js +0 -2
  765. package/bundles/daffodil-design-accordion-examples.umd.min.js.map +0 -1
  766. package/bundles/daffodil-design-article-examples.umd.js +0 -530
  767. package/bundles/daffodil-design-article-examples.umd.js.map +0 -1
  768. package/bundles/daffodil-design-article-examples.umd.min.js +0 -2
  769. package/bundles/daffodil-design-article-examples.umd.min.js.map +0 -1
  770. package/bundles/daffodil-design-button-examples.umd.js +0 -298
  771. package/bundles/daffodil-design-button-examples.umd.js.map +0 -1
  772. package/bundles/daffodil-design-button-examples.umd.min.js +0 -2
  773. package/bundles/daffodil-design-button-examples.umd.min.js.map +0 -1
  774. package/bundles/daffodil-design-callout-examples.umd.js +0 -195
  775. package/bundles/daffodil-design-callout-examples.umd.js.map +0 -1
  776. package/bundles/daffodil-design-callout-examples.umd.min.js +0 -2
  777. package/bundles/daffodil-design-callout-examples.umd.min.js.map +0 -1
  778. package/bundles/daffodil-design-card-examples.umd.js +0 -321
  779. package/bundles/daffodil-design-card-examples.umd.js.map +0 -1
  780. package/bundles/daffodil-design-card-examples.umd.min.js +0 -2
  781. package/bundles/daffodil-design-card-examples.umd.min.js.map +0 -1
  782. package/bundles/daffodil-design-checkbox-examples.umd.js +0 -123
  783. package/bundles/daffodil-design-checkbox-examples.umd.js.map +0 -1
  784. package/bundles/daffodil-design-checkbox-examples.umd.min.js +0 -2
  785. package/bundles/daffodil-design-checkbox-examples.umd.min.js.map +0 -1
  786. package/bundles/daffodil-design-container-examples.umd.js +0 -65
  787. package/bundles/daffodil-design-container-examples.umd.js.map +0 -1
  788. package/bundles/daffodil-design-container-examples.umd.min.js +0 -2
  789. package/bundles/daffodil-design-container-examples.umd.min.js.map +0 -1
  790. package/bundles/daffodil-design-hero-examples.umd.js +0 -192
  791. package/bundles/daffodil-design-hero-examples.umd.js.map +0 -1
  792. package/bundles/daffodil-design-hero-examples.umd.min.js +0 -2
  793. package/bundles/daffodil-design-hero-examples.umd.min.js.map +0 -1
  794. package/bundles/daffodil-design-list-examples.umd.js +0 -509
  795. package/bundles/daffodil-design-list-examples.umd.js.map +0 -1
  796. package/bundles/daffodil-design-list-examples.umd.min.js +0 -2
  797. package/bundles/daffodil-design-list-examples.umd.min.js.map +0 -1
  798. package/bundles/daffodil-design-loading-icon-examples.umd.js +0 -94
  799. package/bundles/daffodil-design-loading-icon-examples.umd.js.map +0 -1
  800. package/bundles/daffodil-design-loading-icon-examples.umd.min.js +0 -2
  801. package/bundles/daffodil-design-loading-icon-examples.umd.min.js.map +0 -1
  802. package/bundles/daffodil-design-media-gallery-examples.umd.js +0 -95
  803. package/bundles/daffodil-design-media-gallery-examples.umd.js.map +0 -1
  804. package/bundles/daffodil-design-media-gallery-examples.umd.min.js +0 -2
  805. package/bundles/daffodil-design-media-gallery-examples.umd.min.js.map +0 -1
  806. package/bundles/daffodil-design-modal-examples.umd.js +0 -80
  807. package/bundles/daffodil-design-modal-examples.umd.js.map +0 -1
  808. package/bundles/daffodil-design-modal-examples.umd.min.js +0 -2
  809. package/bundles/daffodil-design-modal-examples.umd.min.js.map +0 -1
  810. package/bundles/daffodil-design-navbar-examples.umd.js +0 -177
  811. package/bundles/daffodil-design-navbar-examples.umd.js.map +0 -1
  812. package/bundles/daffodil-design-navbar-examples.umd.min.js +0 -2
  813. package/bundles/daffodil-design-navbar-examples.umd.min.js.map +0 -1
  814. package/bundles/daffodil-design-quantity-field-examples.umd.js +0 -183
  815. package/bundles/daffodil-design-quantity-field-examples.umd.js.map +0 -1
  816. package/bundles/daffodil-design-quantity-field-examples.umd.min.js +0 -2
  817. package/bundles/daffodil-design-quantity-field-examples.umd.min.js.map +0 -1
  818. package/bundles/daffodil-design-radio-examples.umd.js +0 -68
  819. package/bundles/daffodil-design-radio-examples.umd.js.map +0 -1
  820. package/bundles/daffodil-design-radio-examples.umd.min.js +0 -2
  821. package/bundles/daffodil-design-radio-examples.umd.min.js.map +0 -1
  822. package/bundles/daffodil-design.umd.js +0 -5781
  823. package/bundles/daffodil-design.umd.js.map +0 -1
  824. package/bundles/daffodil-design.umd.min.js +0 -16
  825. package/bundles/daffodil-design.umd.min.js.map +0 -1
  826. package/button/examples/daffodil-design-button-examples.metadata.json +0 -1
  827. package/callout/examples/daffodil-design-callout-examples.metadata.json +0 -1
  828. package/card/examples/daffodil-design-card-examples.metadata.json +0 -1
  829. package/checkbox/examples/daffodil-design-checkbox-examples.metadata.json +0 -1
  830. package/container/examples/daffodil-design-container-examples.metadata.json +0 -1
  831. package/daffodil-design.metadata.json +0 -1
  832. package/esm2015/accordion/examples/basic-accordion/basic-accordion.component.js +0 -12
  833. package/esm2015/accordion/examples/basic-accordion/basic-accordion.module.js +0 -19
  834. package/esm2015/accordion/examples/daffodil-design-accordion-examples.js +0 -7
  835. package/esm2015/accordion/examples/nav-accordion/nav-accordion.component.js +0 -12
  836. package/esm2015/accordion/examples/nav-accordion/nav-accordion.module.js +0 -19
  837. package/esm2015/accordion/examples/public_api.js +0 -9
  838. package/esm2015/article/examples/article-blockquote/article-blockquote.component.js +0 -12
  839. package/esm2015/article/examples/article-code-block/article-code-block.component.js +0 -12
  840. package/esm2015/article/examples/article-code-inline/article-code-inline.component.js +0 -12
  841. package/esm2015/article/examples/article-examples.module.js +0 -21
  842. package/esm2015/article/examples/article-headings/article-headings.component.js +0 -12
  843. package/esm2015/article/examples/article-hr/article-hr.component.js +0 -12
  844. package/esm2015/article/examples/article-lead/article-lead.component.js +0 -12
  845. package/esm2015/article/examples/article-link/article-link.component.js +0 -12
  846. package/esm2015/article/examples/article-meta/article-meta.component.js +0 -12
  847. package/esm2015/article/examples/article-ol/article-ol.component.js +0 -12
  848. package/esm2015/article/examples/article-table/article-table.component.js +0 -12
  849. package/esm2015/article/examples/article-ul/article-ul.component.js +0 -12
  850. package/esm2015/article/examples/daffodil-design-article-examples.js +0 -6
  851. package/esm2015/atoms/button/button.component.js +0 -134
  852. package/esm2015/atoms/button/button.module.js +0 -22
  853. package/esm2015/atoms/container/container.component.js +0 -46
  854. package/esm2015/atoms/container/container.module.js +0 -19
  855. package/esm2015/atoms/form/checkbox/checkbox.component.js +0 -131
  856. package/esm2015/atoms/form/checkbox/checkbox.module.js +0 -28
  857. package/esm2015/atoms/form/checkbox/cva/checkbox-cva.directive.js +0 -89
  858. package/esm2015/atoms/form/checkbox-set/checkbox-set.component.js +0 -34
  859. package/esm2015/atoms/form/error-message/error-message.component.js +0 -12
  860. package/esm2015/atoms/form/error-message/error-message.module.js +0 -15
  861. package/esm2015/atoms/form/form-field/form-field/form-field.component.js +0 -100
  862. package/esm2015/atoms/form/form-field/form-field.module.js +0 -24
  863. package/esm2015/atoms/form/input/input.component.js +0 -56
  864. package/esm2015/atoms/form/input/input.module.js +0 -19
  865. package/esm2015/atoms/form/quantity-field/quantity-field.component.js +0 -120
  866. package/esm2015/atoms/form/quantity-field/quantity-field.module.js +0 -31
  867. package/esm2015/atoms/form/quantity-field/quantity-input/quantity-input.component.js +0 -100
  868. package/esm2015/atoms/form/quantity-field/quantity-select/quantity-select.component.js +0 -80
  869. package/esm2015/atoms/form/radio/cva/radio-cva.directive.js +0 -84
  870. package/esm2015/atoms/form/radio/radio.component.js +0 -122
  871. package/esm2015/atoms/form/radio/radio.module.js +0 -25
  872. package/esm2015/atoms/form/radio/registry/radio-registry.js +0 -52
  873. package/esm2015/atoms/form/radio-set/radio-set.component.js +0 -24
  874. package/esm2015/atoms/form/select/select/select.component.js +0 -60
  875. package/esm2015/atoms/form/select/select.module.js +0 -19
  876. package/esm2015/atoms/image/image.component.js +0 -109
  877. package/esm2015/atoms/image/image.module.js +0 -22
  878. package/esm2015/atoms/loading-icon/loading-icon.component.js +0 -59
  879. package/esm2015/atoms/loading-icon/loading-icon.module.js +0 -19
  880. package/esm2015/atoms/progress-indicator/progress-indicator.component.js +0 -87
  881. package/esm2015/atoms/progress-indicator/progress-indicator.module.js +0 -15
  882. package/esm2015/button/examples/basic-button/basic-button.component.js +0 -23
  883. package/esm2015/button/examples/basic-button/basic-button.module.js +0 -21
  884. package/esm2015/button/examples/daffodil-design-button-examples.js +0 -12
  885. package/esm2015/button/examples/icon-button/icon-button.component.js +0 -22
  886. package/esm2015/button/examples/icon-button/icon-button.module.js +0 -21
  887. package/esm2015/button/examples/public_api.js +0 -24
  888. package/esm2015/button/examples/raised-button/raised-button.component.js +0 -23
  889. package/esm2015/button/examples/raised-button/raised-button.module.js +0 -21
  890. package/esm2015/button/examples/sizeable-button/sizeable-button.component.js +0 -21
  891. package/esm2015/button/examples/sizeable-button/sizeable-button.module.js +0 -21
  892. package/esm2015/button/examples/statusable-button/statusable-button.component.js +0 -27
  893. package/esm2015/button/examples/statusable-button/statusable-button.module.js +0 -21
  894. package/esm2015/button/examples/stroked-button/stroked-button.component.js +0 -23
  895. package/esm2015/button/examples/stroked-button/stroked-button.module.js +0 -21
  896. package/esm2015/button/examples/underline-button/underline-button.component.js +0 -23
  897. package/esm2015/button/examples/underline-button/underline-button.module.js +0 -21
  898. package/esm2015/callout/examples/callout-text-alignment/callout-text-alignment.component.js +0 -25
  899. package/esm2015/callout/examples/callout-text-alignment/callout-text-alignment.module.js +0 -24
  900. package/esm2015/callout/examples/callout-theming/callout-theming.component.js +0 -29
  901. package/esm2015/callout/examples/callout-theming/callout-theming.module.js +0 -23
  902. package/esm2015/callout/examples/callout-with-grid/callout-with-grid.component.js +0 -17
  903. package/esm2015/callout/examples/callout-with-grid/callout-with-grid.module.js +0 -24
  904. package/esm2015/callout/examples/compact-callout/compact-callout.component.js +0 -17
  905. package/esm2015/callout/examples/compact-callout/compact-callout.module.js +0 -22
  906. package/esm2015/card/examples/basic-card/basic-card.component.js +0 -17
  907. package/esm2015/card/examples/basic-card/basic-card.module.js +0 -25
  908. package/esm2015/card/examples/card-orientation/card-orientation.component.js +0 -24
  909. package/esm2015/card/examples/card-orientation/card-orientation.module.js +0 -27
  910. package/esm2015/card/examples/card-theming/card-theming.component.js +0 -31
  911. package/esm2015/card/examples/card-theming/card-theming.module.js +0 -24
  912. package/esm2015/card/examples/daffodil-design-card-examples.js +0 -11
  913. package/esm2015/card/examples/linkable-card/linkable-card.component.js +0 -29
  914. package/esm2015/card/examples/linkable-card/linkable-card.module.js +0 -27
  915. package/esm2015/card/examples/public_api.js +0 -21
  916. package/esm2015/card/examples/raised-card/raised-card.component.js +0 -27
  917. package/esm2015/card/examples/raised-card/raised-card.module.js +0 -25
  918. package/esm2015/card/examples/stroked-card/stroked-card.component.js +0 -27
  919. package/esm2015/card/examples/stroked-card/stroked-card.module.js +0 -27
  920. package/esm2015/checkbox/examples/basic-checkbox/basic-checkbox.component.js +0 -25
  921. package/esm2015/checkbox/examples/basic-checkbox/basic-checkbox.module.js +0 -23
  922. package/esm2015/checkbox/examples/checkbox-set/checkbox-set.component.js +0 -27
  923. package/esm2015/checkbox/examples/checkbox-set/checkbox-set.module.js +0 -23
  924. package/esm2015/checkbox/examples/daffodil-design-checkbox-examples.js +0 -9
  925. package/esm2015/container/examples/container-sizes/container-sizes.component.js +0 -23
  926. package/esm2015/container/examples/container-sizes/container-sizes.module.js +0 -23
  927. package/esm2015/core/colorable/colorable-mixin.js +0 -43
  928. package/esm2015/core/prefix-suffix/prefix-suffix.module.js +0 -19
  929. package/esm2015/core/prefix-suffix/prefix.directive.js +0 -20
  930. package/esm2015/core/prefix-suffix/prefixable/prefixable.js +0 -24
  931. package/esm2015/core/prefix-suffix/suffix.directive.js +0 -20
  932. package/esm2015/core/prefix-suffix/suffixable/suffixable.js +0 -24
  933. package/esm2015/core/public_api.js +0 -13
  934. package/esm2015/core/sizeable/sizeable-mixin.js +0 -32
  935. package/esm2015/core/statusable/statusable-mixin.js +0 -33
  936. package/esm2015/core/text-alignable/text-alignable-mixin.js +0 -36
  937. package/esm2015/daffodil-design.js +0 -15
  938. package/esm2015/hero/examples/compact-hero/compact-hero.component.js +0 -17
  939. package/esm2015/hero/examples/compact-hero/compact-hero.module.js +0 -26
  940. package/esm2015/hero/examples/hero-text-alignment/hero-text-alignment.component.js +0 -25
  941. package/esm2015/hero/examples/hero-text-alignment/hero-text-alignment.module.js +0 -24
  942. package/esm2015/hero/examples/hero-theming/hero-theming.component.js +0 -20
  943. package/esm2015/hero/examples/hero-theming/hero-theming.module.js +0 -26
  944. package/esm2015/hero/examples/hero-with-grid/hero-with-grid.component.js +0 -17
  945. package/esm2015/hero/examples/hero-with-grid/hero-with-grid.module.js +0 -24
  946. package/esm2015/list/examples/basic-list/basic-list.component.js +0 -12
  947. package/esm2015/list/examples/basic-list/basic-list.module.js +0 -21
  948. package/esm2015/list/examples/daffodil-design-list-examples.js +0 -9
  949. package/esm2015/list/examples/icon-list/icon-list.component.js +0 -16
  950. package/esm2015/list/examples/icon-list/icon-list.module.js +0 -23
  951. package/esm2015/list/examples/list-examples.module.js +0 -24
  952. package/esm2015/list/examples/multiline-list/multiline-list.component.js +0 -12
  953. package/esm2015/list/examples/multiline-list/multiline-list.module.js +0 -23
  954. package/esm2015/list/examples/nav-list/nav-list.component.js +0 -16
  955. package/esm2015/list/examples/nav-list/nav-list.module.js +0 -23
  956. package/esm2015/loading-icon/examples/daffodil-design-loading-icon-examples.js +0 -6
  957. package/esm2015/loading-icon/examples/loading-icon-color/loading-icon-color.component.js +0 -18
  958. package/esm2015/loading-icon/examples/loading-icon-color/loading-icon-color.module.js +0 -22
  959. package/esm2015/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.js +0 -12
  960. package/esm2015/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.js +0 -19
  961. package/esm2015/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.js +0 -12
  962. package/esm2015/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.js +0 -21
  963. package/esm2015/media-gallery/examples/daffodil-design-media-gallery-examples.js +0 -7
  964. package/esm2015/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.js +0 -12
  965. package/esm2015/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.js +0 -21
  966. package/esm2015/media-gallery/examples/public_api.js +0 -4
  967. package/esm2015/modal/examples/basic-modal/basic-modal.component.js +0 -24
  968. package/esm2015/modal/examples/basic-modal/basic-modal.module.js +0 -22
  969. package/esm2015/modal/examples/basic-modal/modal-content.component.js +0 -12
  970. package/esm2015/modal/examples/daffodil-design-modal-examples.js +0 -8
  971. package/esm2015/molecules/accordion/accordion/accordion.component.js +0 -33
  972. package/esm2015/molecules/accordion/accordion-item/accordion-item.component.js +0 -52
  973. package/esm2015/molecules/accordion/accordion-item-content/accordion-item-content.directive.js +0 -18
  974. package/esm2015/molecules/accordion/accordion-item-title/accordion-item-title.directive.js +0 -18
  975. package/esm2015/molecules/accordion/accordion.module.js +0 -35
  976. package/esm2015/molecules/accordion/nav-accordion-item/nav-accordion-item.component.js +0 -72
  977. package/esm2015/molecules/accordion/public_api.js +0 -6
  978. package/esm2015/molecules/article/article/article.component.js +0 -30
  979. package/esm2015/molecules/article/article-lead/article-lead.directive.js +0 -18
  980. package/esm2015/molecules/article/article-meta/article-meta.directive.js +0 -18
  981. package/esm2015/molecules/article/article-title/article-title.directive.js +0 -18
  982. package/esm2015/molecules/article/article.module.js +0 -28
  983. package/esm2015/molecules/backdrop/backdrop/backdrop.component.js +0 -46
  984. package/esm2015/molecules/backdrop/backdrop.module.js +0 -22
  985. package/esm2015/molecules/button-set/button-set.component.js +0 -22
  986. package/esm2015/molecules/button-set/button-set.module.js +0 -15
  987. package/esm2015/molecules/callout/callout/callout.component.js +0 -75
  988. package/esm2015/molecules/callout/callout-body/callout-body.directive.js +0 -18
  989. package/esm2015/molecules/callout/callout-icon/callout-icon.directive.js +0 -18
  990. package/esm2015/molecules/callout/callout-subtitle/callout-subtitle.directive.js +0 -18
  991. package/esm2015/molecules/callout/callout-tagline/callout-tagline.directive.js +0 -18
  992. package/esm2015/molecules/callout/callout-title/callout-title.directive.js +0 -18
  993. package/esm2015/molecules/callout/callout.module.js +0 -34
  994. package/esm2015/molecules/card/card/card.component.js +0 -118
  995. package/esm2015/molecules/card/card-actions/card-actions.directive.js +0 -18
  996. package/esm2015/molecules/card/card-content/card-content.directive.js +0 -18
  997. package/esm2015/molecules/card/card-icon/card-icon.directive.js +0 -18
  998. package/esm2015/molecules/card/card-image/card-image.directive.js +0 -18
  999. package/esm2015/molecules/card/card-tagline/card-tagline.directive.js +0 -18
  1000. package/esm2015/molecules/card/card-title/card-title.directive.js +0 -18
  1001. package/esm2015/molecules/card/card.module.js +0 -37
  1002. package/esm2015/molecules/feature/feature/feature.component.js +0 -46
  1003. package/esm2015/molecules/feature/feature-icon/feature-icon.directive.js +0 -18
  1004. package/esm2015/molecules/feature/feature-subheader/feature-subheader.directive.js +0 -18
  1005. package/esm2015/molecules/feature/feature-subtitle/feature-subtitle.directive.js +0 -18
  1006. package/esm2015/molecules/feature/feature-title/feature-title.directive.js +0 -18
  1007. package/esm2015/molecules/feature/feature.module.js +0 -31
  1008. package/esm2015/molecules/hero/hero/hero.component.js +0 -76
  1009. package/esm2015/molecules/hero/hero-body/hero-body.directive.js +0 -18
  1010. package/esm2015/molecules/hero/hero-icon/hero-icon.directive.js +0 -18
  1011. package/esm2015/molecules/hero/hero-subtitle/hero-subtitle.directive.js +0 -18
  1012. package/esm2015/molecules/hero/hero-tagline/hero-tagline.directive.js +0 -18
  1013. package/esm2015/molecules/hero/hero-title/hero-title.directive.js +0 -18
  1014. package/esm2015/molecules/hero/hero.module.js +0 -34
  1015. package/esm2015/molecules/image-gallery/gallery-image/gallery-image.component.js +0 -21
  1016. package/esm2015/molecules/image-gallery/image-gallery/image-gallery.component.js +0 -16
  1017. package/esm2015/molecules/image-gallery/image-gallery.module.js +0 -24
  1018. package/esm2015/molecules/image-list/image-list.component.js +0 -22
  1019. package/esm2015/molecules/image-list/image-list.module.js +0 -19
  1020. package/esm2015/molecules/link-set/link-set/link-set.component.js +0 -44
  1021. package/esm2015/molecules/link-set/link-set-heading/link-set-heading.directive.js +0 -21
  1022. package/esm2015/molecules/link-set/link-set-item/link-set-item.component.js +0 -22
  1023. package/esm2015/molecules/link-set/link-set-subheading/link-set-subheading.directive.js +0 -21
  1024. package/esm2015/molecules/link-set/link-set.module.js +0 -28
  1025. package/esm2015/molecules/list/list/list.component.js +0 -106
  1026. package/esm2015/molecules/list/list-item/list-item.component.js +0 -46
  1027. package/esm2015/molecules/list/list-subheader/list-subheader.directive.js +0 -21
  1028. package/esm2015/molecules/list/list.module.js +0 -28
  1029. package/esm2015/molecules/media-gallery/media-gallery.component.js +0 -61
  1030. package/esm2015/molecules/media-gallery/media-gallery.module.js +0 -24
  1031. package/esm2015/molecules/media-gallery/media-renderer/media-renderer.component.js +0 -78
  1032. package/esm2015/molecules/media-gallery/registry/media-gallery.registry.js +0 -86
  1033. package/esm2015/molecules/media-gallery/thumbnail/thumbnail.directive.js +0 -79
  1034. package/esm2015/molecules/modal/modal/modal.component.js +0 -73
  1035. package/esm2015/molecules/modal/modal-actions/modal-actions.component.js +0 -12
  1036. package/esm2015/molecules/modal/modal-content/modal-content.component.js +0 -12
  1037. package/esm2015/molecules/modal/modal-header/modal-header.component.js +0 -22
  1038. package/esm2015/molecules/modal/modal-title/modal-title.directive.js +0 -18
  1039. package/esm2015/molecules/modal/modal.module.js +0 -34
  1040. package/esm2015/molecules/modal/service/modal.service.js +0 -73
  1041. package/esm2015/molecules/navbar/navbar.component.js +0 -58
  1042. package/esm2015/molecules/navbar/navbar.module.js +0 -15
  1043. package/esm2015/molecules/paginator/paginator.component.js +0 -161
  1044. package/esm2015/molecules/paginator/paginator.module.js +0 -23
  1045. package/esm2015/molecules/qty-dropdown/qty-dropdown.component.js +0 -110
  1046. package/esm2015/molecules/qty-dropdown/qty-dropdown.module.js +0 -27
  1047. package/esm2015/molecules/sidebar/sidebar/sidebar.component.js +0 -50
  1048. package/esm2015/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.js +0 -117
  1049. package/esm2015/molecules/sidebar/sidebar.module.js +0 -26
  1050. package/esm2015/navbar/examples/basic-navbar/basic-navbar.component.js +0 -13
  1051. package/esm2015/navbar/examples/basic-navbar/basic-navbar.module.js +0 -20
  1052. package/esm2015/navbar/examples/contained-navbar/contained-navbar.component.js +0 -13
  1053. package/esm2015/navbar/examples/contained-navbar/contained-navbar.module.js +0 -20
  1054. package/esm2015/navbar/examples/navbar-theming/navbar-theming.component.js +0 -27
  1055. package/esm2015/navbar/examples/navbar-theming/navbar-theming.module.js +0 -21
  1056. package/esm2015/navbar/examples/raised-navbar/raised-navbar.component.js +0 -13
  1057. package/esm2015/navbar/examples/raised-navbar/raised-navbar.module.js +0 -19
  1058. package/esm2015/quantity-field/examples/basic/basic-quantity-field.component.js +0 -17
  1059. package/esm2015/quantity-field/examples/basic/basic-quantity-field.module.js +0 -24
  1060. package/esm2015/quantity-field/examples/customRange/custom-range-quantity-field.component.js +0 -17
  1061. package/esm2015/quantity-field/examples/customRange/custom-range-quantity-field.module.js +0 -24
  1062. package/esm2015/quantity-field/examples/daffodil-design-quantity-field-examples.js +0 -9
  1063. package/esm2015/quantity-field/examples/disabled/disabled-quantity-field.component.js +0 -17
  1064. package/esm2015/quantity-field/examples/disabled/disabled-quantity-field.module.js +0 -24
  1065. package/esm2015/quantity-field/examples/examples.js +0 -11
  1066. package/esm2015/quantity-field/examples/public_api.js +0 -6
  1067. package/esm2015/quantity-field/examples/selectMax/select-max-quantity-field.component.js +0 -17
  1068. package/esm2015/quantity-field/examples/selectMax/select-max-quantity-field.module.js +0 -24
  1069. package/esm2015/radio/examples/basic-radio/basic-radio.component.js +0 -22
  1070. package/esm2015/radio/examples/basic-radio/basic-radio.module.js +0 -22
  1071. package/esm2015/radio/examples/daffodil-design-radio-examples.js +0 -7
  1072. package/fesm2015/daffodil-design-accordion-examples.js +0 -68
  1073. package/fesm2015/daffodil-design-accordion-examples.js.map +0 -1
  1074. package/fesm2015/daffodil-design-article-examples.js +0 -162
  1075. package/fesm2015/daffodil-design-article-examples.js.map +0 -1
  1076. package/fesm2015/daffodil-design-button-examples.js +0 -288
  1077. package/fesm2015/daffodil-design-button-examples.js.map +0 -1
  1078. package/fesm2015/daffodil-design-callout-examples.js +0 -168
  1079. package/fesm2015/daffodil-design-callout-examples.js.map +0 -1
  1080. package/fesm2015/daffodil-design-card-examples.js +0 -287
  1081. package/fesm2015/daffodil-design-card-examples.js.map +0 -1
  1082. package/fesm2015/daffodil-design-checkbox-examples.js +0 -104
  1083. package/fesm2015/daffodil-design-checkbox-examples.js.map +0 -1
  1084. package/fesm2015/daffodil-design-container-examples.js +0 -54
  1085. package/fesm2015/daffodil-design-container-examples.js.map +0 -1
  1086. package/fesm2015/daffodil-design-hero-examples.js +0 -165
  1087. package/fesm2015/daffodil-design-hero-examples.js.map +0 -1
  1088. package/fesm2015/daffodil-design-list-examples.js +0 -157
  1089. package/fesm2015/daffodil-design-list-examples.js.map +0 -1
  1090. package/fesm2015/daffodil-design-loading-icon-examples.js +0 -76
  1091. package/fesm2015/daffodil-design-loading-icon-examples.js.map +0 -1
  1092. package/fesm2015/daffodil-design-media-gallery-examples.js +0 -72
  1093. package/fesm2015/daffodil-design-media-gallery-examples.js.map +0 -1
  1094. package/fesm2015/daffodil-design-modal-examples.js +0 -63
  1095. package/fesm2015/daffodil-design-modal-examples.js.map +0 -1
  1096. package/fesm2015/daffodil-design-navbar-examples.js +0 -142
  1097. package/fesm2015/daffodil-design-navbar-examples.js.map +0 -1
  1098. package/fesm2015/daffodil-design-quantity-field-examples.js +0 -154
  1099. package/fesm2015/daffodil-design-quantity-field-examples.js.map +0 -1
  1100. package/fesm2015/daffodil-design-radio-examples.js +0 -55
  1101. package/fesm2015/daffodil-design-radio-examples.js.map +0 -1
  1102. package/fesm2015/daffodil-design.js +0 -4776
  1103. package/fesm2015/daffodil-design.js.map +0 -1
  1104. package/hero/examples/daffodil-design-hero-examples.metadata.json +0 -1
  1105. package/list/examples/daffodil-design-list-examples.metadata.json +0 -1
  1106. package/loading-icon/examples/daffodil-design-loading-icon-examples.metadata.json +0 -1
  1107. package/media-gallery/examples/daffodil-design-media-gallery-examples.metadata.json +0 -1
  1108. package/modal/examples/daffodil-design-modal-examples.metadata.json +0 -1
  1109. package/navbar/examples/daffodil-design-navbar-examples.metadata.json +0 -1
  1110. package/quantity-field/examples/basic/basic-quantity-field.component.d.ts +0 -4
  1111. package/quantity-field/examples/basic/basic-quantity-field.module.d.ts +0 -2
  1112. package/quantity-field/examples/customRange/custom-range-quantity-field.component.d.ts +0 -4
  1113. package/quantity-field/examples/customRange/custom-range-quantity-field.module.d.ts +0 -2
  1114. package/quantity-field/examples/daffodil-design-quantity-field-examples.metadata.json +0 -1
  1115. package/quantity-field/examples/disabled/disabled-quantity-field.component.d.ts +0 -4
  1116. package/quantity-field/examples/disabled/disabled-quantity-field.module.d.ts +0 -2
  1117. package/quantity-field/examples/examples.d.ts +0 -2
  1118. package/quantity-field/examples/selectMax/select-max-quantity-field.component.d.ts +0 -4
  1119. package/quantity-field/examples/selectMax/select-max-quantity-field.module.d.ts +0 -2
  1120. package/radio/examples/daffodil-design-radio-examples.metadata.json +0 -1
@@ -0,0 +1,159 @@
1
+ import { Component, Input, Output, EventEmitter, HostBinding, ElementRef, ChangeDetectionStrategy, Renderer2, } from '@angular/core';
2
+ import { faChevronRight, faChevronLeft, } from '@fortawesome/free-solid-svg-icons';
3
+ import { daffColorMixin, } from '../../core/colorable/public_api';
4
+ import { DaffPaginatorNumberOfPagesErrorMessage, DaffPaginatorPageOutOfRangeErrorMessage, } from './paginator-errors';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@fortawesome/angular-fontawesome";
7
+ import * as i2 from "@angular/common";
8
+ /**
9
+ * An _elementRef and an instance of renderer2 are needed for the Colorable mixin
10
+ */
11
+ class DaffPaginatorBase {
12
+ constructor(_elementRef, _renderer) {
13
+ this._elementRef = _elementRef;
14
+ this._renderer = _renderer;
15
+ }
16
+ }
17
+ const _daffPaginatorBase = daffColorMixin(DaffPaginatorBase);
18
+ const visiblePageRange = 2;
19
+ /**
20
+ * @inheritdoc
21
+ */
22
+ export class DaffPaginatorComponent extends _daffPaginatorBase {
23
+ constructor(elementRef, renderer) {
24
+ super(elementRef, renderer);
25
+ this.elementRef = elementRef;
26
+ this.renderer = renderer;
27
+ /**
28
+ * @docs-private
29
+ */
30
+ this.class = true;
31
+ /**
32
+ * @docs-private
33
+ */
34
+ this.role = 'navigation';
35
+ /**
36
+ * @docs-private
37
+ */
38
+ this.faChevronRight = faChevronRight;
39
+ /**
40
+ * @docs-private
41
+ */
42
+ this.faChevronLeft = faChevronLeft;
43
+ /**
44
+ * Emits when the current page changes with the new current page.
45
+ */
46
+ this.notifyPageChange = new EventEmitter();
47
+ const ariaLabel = elementRef.nativeElement.attributes['aria-label'];
48
+ this._paginatorId = ariaLabel ? ariaLabel.nodeValue : null;
49
+ }
50
+ /**
51
+ * @docs-private
52
+ */
53
+ ngOnChanges() {
54
+ if (this.numberOfPages < 1) {
55
+ throw new Error(DaffPaginatorNumberOfPagesErrorMessage);
56
+ }
57
+ else if (this.numberOfPages < this.currentPage) {
58
+ throw new Error(DaffPaginatorPageOutOfRangeErrorMessage);
59
+ }
60
+ this._numberOfPagesArray = this.numberOfPages < 2 ? [] : Array(this.numberOfPages - 2).fill(this.numberOfPages - 2).map((x, i) => i + 2);
61
+ }
62
+ /**
63
+ * Emits the previous page number through notifyPageChange Output.
64
+ *
65
+ * @docs-private
66
+ */
67
+ _onNotifyPrevPageChange() {
68
+ this.notifyPageChange.emit(this.currentPage - 1);
69
+ }
70
+ /**
71
+ * Emits the next page number through notifyPageChange Output.
72
+ *
73
+ * @docs-private
74
+ */
75
+ _onNotifyNextPageChange() {
76
+ this.notifyPageChange.emit(this.currentPage + 1);
77
+ }
78
+ /**
79
+ * Emits a pageNumber to notifyPageChange Output.
80
+ *
81
+ * @docs-private
82
+ * @param pageNumber a page number
83
+ */
84
+ _onNotifyPageChange(pageNumber) {
85
+ this.notifyPageChange.emit(pageNumber);
86
+ }
87
+ /**
88
+ * A simple function that determines if the given page number is the current page number.
89
+ *
90
+ * @docs-private
91
+ * @param page a page number
92
+ */
93
+ _isSelected(page) {
94
+ return page === this.currentPage;
95
+ }
96
+ /**
97
+ * Determines when ellipsis after the first page number should show.
98
+ *
99
+ * @docs-private
100
+ */
101
+ _showFirstEllipsis() {
102
+ return this.currentPage >= visiblePageRange + 2;
103
+ }
104
+ /**
105
+ * Determines when ellipsis before the final page number should show.
106
+ *
107
+ * @docs-private
108
+ */
109
+ _showLastEllipsis() {
110
+ return this.currentPage < (this.numberOfPages - visiblePageRange);
111
+ }
112
+ /**
113
+ * Determines if the given page number should be shown. The two additional 'or' conditionals are needed
114
+ * so the paginator retains the same total width at the extreme page numbers (1 and numberOfPages).
115
+ *
116
+ * @docs-private
117
+ * @param pageNumber page number to check.
118
+ */
119
+ _showNumber(pageNumber) {
120
+ return Math.abs(this.currentPage - pageNumber) < visiblePageRange
121
+ || (this.currentPage <= visiblePageRange && pageNumber <= 2 * visiblePageRange)
122
+ || (this.currentPage > this.numberOfPages - visiblePageRange && pageNumber > this.numberOfPages - 2 * visiblePageRange);
123
+ }
124
+ /**
125
+ * Determines when the Previous button should be disabled.
126
+ *
127
+ * @docs-private
128
+ */
129
+ _disablePrev() {
130
+ return this.currentPage === 1;
131
+ }
132
+ /**
133
+ * Determines when the Next button should be disabled.
134
+ *
135
+ * @docs-private
136
+ */
137
+ _disableNext() {
138
+ return this.currentPage === this.numberOfPages;
139
+ }
140
+ }
141
+ /** @nocollapse */ /** @nocollapse */ DaffPaginatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaginatorComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
142
+ /** @nocollapse */ /** @nocollapse */ DaffPaginatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffPaginatorComponent, selector: "daff-paginator", inputs: { color: "color", numberOfPages: "numberOfPages", currentPage: "currentPage" }, outputs: { notifyPageChange: "notifyPageChange" }, host: { properties: { "class.daff-paginator": "this.class", "attr.role": "this.role" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<button type=\"button\" class=\"daff-paginator__previous\"\n [disabled]=\"_disablePrev()\"\n tabindex=\"0\"\n attr.aria-label=\"Go to Previous Page of {{_paginatorId}} Paginator\"\n (click)=\"_onNotifyPrevPageChange()\">\n <fa-icon [icon]=\"faChevronLeft\"></fa-icon> Previous\n</button>\n\n<button type=\"button\" class=\"daff-paginator__page-link\"\n [class.selected]=\"_isSelected(1)\"\n tabindex=\"0\"\n attr.aria-label=\"Go to Page 1 of {{_paginatorId}} Paginator\"\n (click)=\"_onNotifyPageChange(1)\">\n 1\n</button>\n\n<span class=\"daff-paginator__ellipsis\" *ngIf=\"_showFirstEllipsis()\">...</span>\n\n<ng-container *ngFor=\"let pageNumber of _numberOfPagesArray\">\n <button type=\"button\" class=\"daff-paginator__page-link\"\n [class.selected]=\"_isSelected(pageNumber)\"\n tabindex=\"0\"\n attr.aria-label=\"Go to Page {{pageNumber}} of {{_paginatorId}} Paginator\"\n aria-current=\"_isSelected(pageNumber)\"\n *ngIf=\"_showNumber(pageNumber)\"\n (click)=\"_onNotifyPageChange(pageNumber)\">\n {{ pageNumber }}\n </button>\n</ng-container>\n\n<span class=\"daff-paginator__ellipsis\" *ngIf=\"_showLastEllipsis()\">...</span>\n\n<button type=\"button\" class=\"daff-paginator__page-link\"\n [class.selected]=\"_isSelected(numberOfPages)\"\n tabindex=\"0\"\n attr.aria-label=\"Go To Page {{numberOfPages}} of {{_paginatorId}} Paginator\"\n (click)=\"_onNotifyPageChange(numberOfPages)\"\n *ngIf=\"!(numberOfPages < 2)\">\n {{ numberOfPages }}\n</button>\n\n<button class=\"daff-paginator__next\"\n [disabled]=\"_disableNext()\"\n tabindex=\"0\"\n attr.aria-label=\"Go to Next Page of {{_paginatorId}} Paginator\"\n (click)=\"_onNotifyNextPageChange()\">\n Next <fa-icon [icon]=\"faChevronRight\"></fa-icon>\n</button>\n", styles: [":host{display:flex}.daff-paginator__previous,.daff-paginator__next{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;-webkit-appearance:none;appearance:none;background:transparent;border:0;border-radius:3px;display:flex;line-height:1em;padding:5px 10px}.daff-paginator__previous fa-icon{margin-right:10px}.daff-paginator__next fa-icon{margin-left:10px}.daff-paginator__ellipsis{padding:5px 10px}.daff-paginator__page-link{cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;border-radius:3px;display:inline-block;margin:0 5px;padding:5px 10px;transition:background .15s ease}\n"], components: [{ type: i1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
143
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaginatorComponent, decorators: [{
144
+ type: Component,
145
+ args: [{ selector: 'daff-paginator', inputs: ['color'], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button type=\"button\" class=\"daff-paginator__previous\"\n [disabled]=\"_disablePrev()\"\n tabindex=\"0\"\n attr.aria-label=\"Go to Previous Page of {{_paginatorId}} Paginator\"\n (click)=\"_onNotifyPrevPageChange()\">\n <fa-icon [icon]=\"faChevronLeft\"></fa-icon> Previous\n</button>\n\n<button type=\"button\" class=\"daff-paginator__page-link\"\n [class.selected]=\"_isSelected(1)\"\n tabindex=\"0\"\n attr.aria-label=\"Go to Page 1 of {{_paginatorId}} Paginator\"\n (click)=\"_onNotifyPageChange(1)\">\n 1\n</button>\n\n<span class=\"daff-paginator__ellipsis\" *ngIf=\"_showFirstEllipsis()\">...</span>\n\n<ng-container *ngFor=\"let pageNumber of _numberOfPagesArray\">\n <button type=\"button\" class=\"daff-paginator__page-link\"\n [class.selected]=\"_isSelected(pageNumber)\"\n tabindex=\"0\"\n attr.aria-label=\"Go to Page {{pageNumber}} of {{_paginatorId}} Paginator\"\n aria-current=\"_isSelected(pageNumber)\"\n *ngIf=\"_showNumber(pageNumber)\"\n (click)=\"_onNotifyPageChange(pageNumber)\">\n {{ pageNumber }}\n </button>\n</ng-container>\n\n<span class=\"daff-paginator__ellipsis\" *ngIf=\"_showLastEllipsis()\">...</span>\n\n<button type=\"button\" class=\"daff-paginator__page-link\"\n [class.selected]=\"_isSelected(numberOfPages)\"\n tabindex=\"0\"\n attr.aria-label=\"Go To Page {{numberOfPages}} of {{_paginatorId}} Paginator\"\n (click)=\"_onNotifyPageChange(numberOfPages)\"\n *ngIf=\"!(numberOfPages < 2)\">\n {{ numberOfPages }}\n</button>\n\n<button class=\"daff-paginator__next\"\n [disabled]=\"_disableNext()\"\n tabindex=\"0\"\n attr.aria-label=\"Go to Next Page of {{_paginatorId}} Paginator\"\n (click)=\"_onNotifyNextPageChange()\">\n Next <fa-icon [icon]=\"faChevronRight\"></fa-icon>\n</button>\n", styles: [":host{display:flex}.daff-paginator__previous,.daff-paginator__next{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;-webkit-appearance:none;appearance:none;background:transparent;border:0;border-radius:3px;display:flex;line-height:1em;padding:5px 10px}.daff-paginator__previous fa-icon{margin-right:10px}.daff-paginator__next fa-icon{margin-left:10px}.daff-paginator__ellipsis{padding:5px 10px}.daff-paginator__page-link{cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;border-radius:3px;display:inline-block;margin:0 5px;padding:5px 10px;transition:background .15s ease}\n"] }]
146
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { class: [{
147
+ type: HostBinding,
148
+ args: ['class.daff-paginator']
149
+ }], role: [{
150
+ type: HostBinding,
151
+ args: ['attr.role']
152
+ }], numberOfPages: [{
153
+ type: Input
154
+ }], currentPage: [{
155
+ type: Input
156
+ }], notifyPageChange: [{
157
+ type: Output
158
+ }] } });
159
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnaW5hdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvcGFnaW5hdG9yL3BhZ2luYXRvci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvbW9sZWN1bGVzL3BhZ2luYXRvci9wYWdpbmF0b3IuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxLQUFLLEVBQ0wsTUFBTSxFQUNOLFlBQVksRUFDWixXQUFXLEVBQ1gsVUFBVSxFQUVWLHVCQUF1QixFQUN2QixTQUFTLEdBRVYsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUNMLGNBQWMsRUFDZCxhQUFhLEdBQ2QsTUFBTSxtQ0FBbUMsQ0FBQztBQUUzQyxPQUFPLEVBQ0wsY0FBYyxHQUdmLE1BQU0saUNBQWlDLENBQUM7QUFDekMsT0FBTyxFQUNMLHNDQUFzQyxFQUN0Qyx1Q0FBdUMsR0FDeEMsTUFBTSxvQkFBb0IsQ0FBQzs7OztBQUU1Qjs7R0FFRztBQUNILE1BQU0saUJBQWlCO0lBQ3JCLFlBQW1CLFdBQXVCLEVBQVMsU0FBb0I7UUFBcEQsZ0JBQVcsR0FBWCxXQUFXLENBQVk7UUFBUyxjQUFTLEdBQVQsU0FBUyxDQUFXO0lBQUcsQ0FBQztDQUM1RTtBQUV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mEtaWNvbj5cbjwvYnV0dG9uPlxuIl19
@@ -0,0 +1,34 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { NgModule } from '@angular/core';
3
+ import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
4
+ import { DaffButtonModule } from '../../atoms/button/public_api';
5
+ import { DaffPaginatorComponent } from './paginator.component';
6
+ import * as i0 from "@angular/core";
7
+ export class DaffPaginatorModule {
8
+ }
9
+ /** @nocollapse */ /** @nocollapse */ DaffPaginatorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaginatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
+ /** @nocollapse */ /** @nocollapse */ DaffPaginatorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaginatorModule, declarations: [DaffPaginatorComponent], imports: [CommonModule,
11
+ FontAwesomeModule,
12
+ DaffButtonModule], exports: [DaffPaginatorComponent] });
13
+ /** @nocollapse */ /** @nocollapse */ DaffPaginatorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaginatorModule, imports: [[
14
+ CommonModule,
15
+ FontAwesomeModule,
16
+ DaffButtonModule,
17
+ ]] });
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaginatorModule, decorators: [{
19
+ type: NgModule,
20
+ args: [{
21
+ imports: [
22
+ CommonModule,
23
+ FontAwesomeModule,
24
+ DaffButtonModule,
25
+ ],
26
+ declarations: [
27
+ DaffPaginatorComponent,
28
+ ],
29
+ exports: [
30
+ DaffPaginatorComponent,
31
+ ],
32
+ }]
33
+ }] });
34
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnaW5hdG9yLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3V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b250QXdlc29tZU1vZHVsZSB9IGZyb20gJ0Bmb3J0YXdlc29tZS9hbmd1bGFyLWZvbnRhd2Vzb21lJztcblxuaW1wb3J0IHsgRGFmZkJ1dHRvbk1vZHVsZSB9IGZyb20gJy4uLy4uL2F0b21zL2J1dHRvbi9wdWJsaWNfYXBpJztcbmltcG9ydCB7IERhZmZQYWdpbmF0b3JDb21wb25lbnQgfSBmcm9tICcuL3BhZ2luYXRvci5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIEZvbnRBd2Vzb21lTW9kdWxlLFxuICAgIERhZmZCdXR0b25Nb2R1bGUsXG4gIF0sXG4gIGRlY2xhcmF0aW9uczogW1xuICAgIERhZmZQYWdpbmF0b3JDb21wb25lbnQsXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBEYWZmUGFnaW5hdG9yQ29tcG9uZW50LFxuICBdLFxufSlcbmV4cG9ydCBjbGFzcyBEYWZmUGFnaW5hdG9yTW9kdWxlIHt9XG4iXX0=
@@ -0,0 +1,115 @@
1
+ import { Component, Input, Renderer2, Output, EventEmitter, } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../../atoms/form/form-field/form-field/form-field.component";
4
+ import * as i2 from "../../atoms/form/select/select/select.component";
5
+ import * as i3 from "../../atoms/form/input/input.component";
6
+ import * as i4 from "@angular/common";
7
+ import * as i5 from "@angular/forms";
8
+ /**
9
+ * @deprecated See {@link DaffQuantityFieldComponent}
10
+ */
11
+ // ChangeDetection is ignored because this component is deprecated and will be removed
12
+ // eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
13
+ export class DaffQtyDropdownComponent {
14
+ constructor(renderer) {
15
+ this.renderer = renderer;
16
+ this.dropdownRange = 9;
17
+ this.qtyChanged = new EventEmitter();
18
+ /**
19
+ * @docs-private
20
+ */
21
+ this.onChange = (qty) => { };
22
+ /**
23
+ * @docs-private
24
+ */
25
+ this.onTouched = () => { };
26
+ }
27
+ /**
28
+ * @docs-private
29
+ */
30
+ ngOnInit() {
31
+ this.dropdownItemCounter = Array.from(Array(this.dropdownRange), (x, i) => i);
32
+ if (!this.qty) {
33
+ this.qty = 1;
34
+ }
35
+ }
36
+ /**
37
+ * @docs-private
38
+ */
39
+ writeValue(qty) {
40
+ this.qty = qty;
41
+ this.onChange(this.qty);
42
+ }
43
+ /**
44
+ * @docs-private
45
+ */
46
+ registerOnChange(fn) {
47
+ this.onChange = fn;
48
+ }
49
+ /**
50
+ * @docs-private
51
+ */
52
+ registerOnTouched(fn) {
53
+ this.onTouched = fn;
54
+ }
55
+ /**
56
+ * @docs-private
57
+ */
58
+ setDisabledState(isDisabled) {
59
+ if (this.inputHasBeenShown) {
60
+ this.renderer.setProperty(document.getElementById('input_' + this.id), 'disabled', isDisabled);
61
+ }
62
+ else {
63
+ this.renderer.setProperty(document.getElementById('select_' + this.id), 'disabled', isDisabled);
64
+ }
65
+ }
66
+ /**
67
+ * @docs-private
68
+ */
69
+ get showQtyInputField() {
70
+ if (!this.isQtyOutsideDropdownRange() && !this.inputHasBeenShown) {
71
+ return false;
72
+ }
73
+ else {
74
+ this.inputHasBeenShown = true;
75
+ return true;
76
+ }
77
+ }
78
+ /**
79
+ * @docs-private
80
+ */
81
+ onChangedWrapper(value) {
82
+ value = parseInt(value, 10);
83
+ if (value === 10) {
84
+ this.selectInput();
85
+ }
86
+ this.qtyChanged.emit(value);
87
+ this.onChange(value);
88
+ }
89
+ isQtyOutsideDropdownRange() {
90
+ return this.qty > this.dropdownRange;
91
+ }
92
+ selectInput() {
93
+ // TODO: readdress this method
94
+ // why are we binding `this`?
95
+ // why use `setTimeout` instead of angular patterns?
96
+ const that = this;
97
+ setTimeout(() => {
98
+ const input = document.getElementById('input_' + that.id);
99
+ input?.select();
100
+ });
101
+ }
102
+ }
103
+ /** @nocollapse */ /** @nocollapse */ DaffQtyDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffQtyDropdownComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
104
+ /** @nocollapse */ /** @nocollapse */ DaffQtyDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffQtyDropdownComponent, selector: "daff-qty-dropdown", inputs: { qty: "qty", id: "id" }, outputs: { qtyChanged: "qtyChanged" }, ngImport: i0, template: "<daff-form-field class=\"daff-qty-dropdown\">\n <select daff-native-select *ngIf=\"!showQtyInputField\" id=\"select_{{id}}\" [(ngModel)]=\"qty\" (ngModelChange)=\"onChangedWrapper(qty)\" (blur)=\"onTouched()\">\n <option *ngFor=\"let item of dropdownItemCounter\" [value]=\"item+1\">{{ item+1 }}</option>\n <option value=\"10\">10+</option>\n </select>\n <input daff-input id=\"input_{{id}}\" class=\"daff-qty-dropdown__input\" [(ngModel)]=\"qty\" (ngModelChange)=\"onChangedWrapper(qty)\" (blur)=\"onTouched()\" *ngIf=\"showQtyInputField\">\n</daff-form-field>", styles: [".daff-qty-dropdown__input{width:50px}\n"], components: [{ type: i1.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { type: i2.DaffNativeSelectComponent, selector: "select[daff-native-select]", inputs: ["formSubmitted"] }, { type: i3.DaffInputComponent, selector: "input[daff-input]", inputs: ["formSubmitted"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i5.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }] });
105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffQtyDropdownComponent, decorators: [{
106
+ type: Component,
107
+ args: [{ selector: 'daff-qty-dropdown', template: "<daff-form-field class=\"daff-qty-dropdown\">\n <select daff-native-select *ngIf=\"!showQtyInputField\" id=\"select_{{id}}\" [(ngModel)]=\"qty\" (ngModelChange)=\"onChangedWrapper(qty)\" (blur)=\"onTouched()\">\n <option *ngFor=\"let item of dropdownItemCounter\" [value]=\"item+1\">{{ item+1 }}</option>\n <option value=\"10\">10+</option>\n </select>\n <input daff-input id=\"input_{{id}}\" class=\"daff-qty-dropdown__input\" [(ngModel)]=\"qty\" (ngModelChange)=\"onChangedWrapper(qty)\" (blur)=\"onTouched()\" *ngIf=\"showQtyInputField\">\n</daff-form-field>", styles: [".daff-qty-dropdown__input{width:50px}\n"] }]
108
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { qty: [{
109
+ type: Input
110
+ }], id: [{
111
+ type: Input
112
+ }], qtyChanged: [{
113
+ type: Output
114
+ }] } });
115
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXR5LWRyb3Bkb3duLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvcXR5LWRyb3Bkb3duL3F0eS1kcm9wZG93bi5jb21wb25lbnQ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dNb2RlbENoYW5nZSk9XCJvbkNoYW5nZWRXcmFwcGVyKHF0eSlcIiAoYmx1cik9XCJvblRvdWNoZWQoKVwiICpuZ0lmPVwic2hvd1F0eUlucHV0RmllbGRcIj5cbjwvZGFmZi1mb3JtLWZpZWxkPiJdfQ==
@@ -0,0 +1,42 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { NgModule } from '@angular/core';
3
+ import { FormsModule } from '@angular/forms';
4
+ import { DaffFormFieldModule } from '../../atoms/form/form-field/form-field.module';
5
+ import { DaffInputModule } from '../../atoms/form/input/input.module';
6
+ import { DaffNativeSelectModule } from '../../atoms/form/select/select.module';
7
+ import { DaffQtyDropdownComponent } from './qty-dropdown.component';
8
+ import * as i0 from "@angular/core";
9
+ export class DaffQtyDropdownModule {
10
+ }
11
+ /** @nocollapse */ /** @nocollapse */ DaffQtyDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffQtyDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12
+ /** @nocollapse */ /** @nocollapse */ DaffQtyDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffQtyDropdownModule, declarations: [DaffQtyDropdownComponent], imports: [CommonModule,
13
+ FormsModule,
14
+ DaffFormFieldModule,
15
+ DaffNativeSelectModule,
16
+ DaffInputModule], exports: [DaffQtyDropdownComponent] });
17
+ /** @nocollapse */ /** @nocollapse */ DaffQtyDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffQtyDropdownModule, imports: [[
18
+ CommonModule,
19
+ FormsModule,
20
+ DaffFormFieldModule,
21
+ DaffNativeSelectModule,
22
+ DaffInputModule,
23
+ ]] });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffQtyDropdownModule, decorators: [{
25
+ type: NgModule,
26
+ args: [{
27
+ imports: [
28
+ CommonModule,
29
+ FormsModule,
30
+ DaffFormFieldModule,
31
+ DaffNativeSelectModule,
32
+ DaffInputModule,
33
+ ],
34
+ declarations: [
35
+ DaffQtyDropdownComponent,
36
+ ],
37
+ exports: [
38
+ DaffQtyDropdownComponent,
39
+ ],
40
+ }]
41
+ }] });
42
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXR5LWRyb3Bkb3duLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvcXR5LWRyb3Bkb3duL3F0eS1kcm9wZG93bi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRTdDLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLCtDQUErQyxDQUFDO0FBQ3BGLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQztBQUN0RSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUMvRSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQzs7QUFpQnBFLE1BQU0sT0FBTyxxQkFBcUI7O3dKQUFyQixxQkFBcUI7eUpBQXJCLHFCQUFxQixpQkFOOUIsd0JBQXdCLGFBUHhCLFlBQVk7UUFDWixXQUFXO1FBQ1gsbUJBQW1CO1FBQ25CLHNCQUFzQjtRQUN0QixlQUFlLGFBTWYsd0JBQXdCO3lK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AgICBGb3Jtc01vZHVsZSxcbiAgICBEYWZmRm9ybUZpZWxkTW9kdWxlLFxuICAgIERhZmZOYXRpdmVTZWxlY3RNb2R1bGUsXG4gICAgRGFmZklucHV0TW9kdWxlLFxuICBdLFxuICBkZWNsYXJhdGlvbnM6IFtcbiAgICBEYWZmUXR5RHJvcGRvd25Db21wb25lbnQsXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBEYWZmUXR5RHJvcGRvd25Db21wb25lbnQsXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIERhZmZRdHlEcm9wZG93bk1vZHVsZSB7IH1cbiJdfQ==
@@ -0,0 +1,44 @@
1
+ import { Component, ViewEncapsulation, NgZone, ElementRef, Output, EventEmitter, HostBinding, ChangeDetectionStrategy, } from '@angular/core';
2
+ import { fromEvent } from 'rxjs';
3
+ import { filter } from 'rxjs/operators';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * DaffSidebar is heavily based upon the work done by the @angular/material2
7
+ * team on `mat-drawer` and `mat-sidenav`. `daff-sidebar` is intended to be
8
+ * a simplified version (with a different design) of `mat-drawer` which
9
+ * follows a stricter "dumb" component pattern than `mat-drawer`
10
+ */
11
+ export class DaffSidebarComponent {
12
+ constructor(_elementRef, _ngZone) {
13
+ this._elementRef = _elementRef;
14
+ this._ngZone = _ngZone;
15
+ this.class = true;
16
+ /**
17
+ * Event fired when `ESC` key is pressed when the sidebar has focus
18
+ */
19
+ this.escapePressed = new EventEmitter();
20
+ /**
21
+ * Listen to `keydown` events outside the zone so that change detection is not run every
22
+ * time a key is pressed. Instead we re-enter the zone only if the `ESC` key is pressed.
23
+ *
24
+ */
25
+ this._ngZone.runOutsideAngular(() => {
26
+ fromEvent(this._elementRef.nativeElement, 'keydown').pipe(filter(event => event.key === 'Escape')).subscribe(event => this._ngZone.run(() => {
27
+ this.escapePressed.emit();
28
+ event.stopPropagation();
29
+ }));
30
+ });
31
+ }
32
+ }
33
+ /** @nocollapse */ /** @nocollapse */ DaffSidebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffSidebarComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
34
+ /** @nocollapse */ /** @nocollapse */ DaffSidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffSidebarComponent, selector: "daff-sidebar", outputs: { escapePressed: "escapePressed" }, host: { properties: { "class.daff-sidebar": "this.class" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block}.daff-sidebar{display:block;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffSidebarComponent, decorators: [{
36
+ type: Component,
37
+ args: [{ selector: 'daff-sidebar', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}.daff-sidebar{display:block;height:100%}\n"] }]
38
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { class: [{
39
+ type: HostBinding,
40
+ args: ['class.daff-sidebar']
41
+ }], escapePressed: [{
42
+ type: Output
43
+ }] } });
44
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvbW9sZWN1bGVzL3NpZGViYXIvc2lkZWJhci9zaWRlYmFyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULGlCQUFpQixFQUNqQixNQUFNLEVBQ04sVUF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nQ8S2V5Ym9hcmRFdmVudD4odGhpcy5fZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCAna2V5ZG93bicpLnBpcGUoXG4gICAgICAgIGZpbHRlcihldmVudCA9PiBldmVudC5rZXkgPT09ICdFc2NhcGUnKSxcbiAgICAgICkuc3Vic2NyaWJlKGV2ZW50ID0+IHRoaXMuX25nWm9uZS5ydW4oKCkgPT4ge1xuICAgICAgICB0aGlzLmVzY2FwZVByZXNzZWQuZW1pdCgpO1xuICAgICAgICBldmVudC5zdG9wUHJvcGFnYXRpb24oKTtcbiAgICAgIH0pKTtcbiAgICB9KTtcbiAgfVxufVxuIl19
@@ -0,0 +1,121 @@
1
+ import { Component, Output, EventEmitter, Input, ChangeDetectionStrategy, ContentChild, ChangeDetectorRef, } from '@angular/core';
2
+ import { daffSidebarAnimations } from '../animation/sidebar-animation';
3
+ import { getAnimationState } from '../animation/sidebar-animation-state';
4
+ import { DaffSidebarComponent } from '../sidebar/sidebar.component';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../../backdrop/backdrop/backdrop.component";
7
+ import * as i2 from "@angular/cdk/a11y";
8
+ import * as i3 from "@angular/common";
9
+ export class DaffSidebarViewportComponent {
10
+ constructor(ref) {
11
+ this.ref = ref;
12
+ /**
13
+ * Internal tracking variable for the state of sidebar viewport.
14
+ *
15
+ * @docs-private
16
+ */
17
+ this._opened = false;
18
+ /**
19
+ * @docs-private
20
+ */
21
+ this._mode = 'side';
22
+ /**
23
+ * Input state for whether or not the backdrop is
24
+ * "visible" to the human eye
25
+ */
26
+ // eslint-disable-next-line @typescript-eslint/no-inferrable-types
27
+ this.backdropIsVisible = true;
28
+ /**
29
+ * Event fired when the backdrop is clicked
30
+ * This is often used to close the sidebar
31
+ */
32
+ this.backdropClicked = new EventEmitter();
33
+ }
34
+ /**
35
+ * The mode to put the sidebar in
36
+ */
37
+ get mode() {
38
+ return this._mode;
39
+ }
40
+ set mode(value) {
41
+ this._mode = value;
42
+ this._animationState = getAnimationState(this.opened, this.animationsEnabled);
43
+ }
44
+ /**
45
+ * Property for the "opened" state of the sidebar
46
+ */
47
+ get opened() {
48
+ return this._opened;
49
+ }
50
+ set opened(value) {
51
+ this._opened = value;
52
+ this._animationState = getAnimationState(value, this.animationsEnabled);
53
+ }
54
+ /**
55
+ * @docs-private
56
+ */
57
+ get animationsEnabled() {
58
+ return (this.mode === 'over' || this.mode === 'push') ? true : false;
59
+ }
60
+ /**
61
+ * @docs-private
62
+ */
63
+ ngOnInit() {
64
+ this._animationState = getAnimationState(this.opened, this.animationsEnabled);
65
+ }
66
+ /**
67
+ * @docs-private
68
+ */
69
+ ngAfterViewInit() {
70
+ if (this.sidebar) {
71
+ this.sidebar.escapePressed.subscribe(() => {
72
+ this.onEscape();
73
+ });
74
+ }
75
+ }
76
+ /**
77
+ * @docs-private
78
+ */
79
+ _backdropClicked() {
80
+ this.backdropClicked.emit();
81
+ }
82
+ /**
83
+ * @docs-private
84
+ */
85
+ get hasBackdrop() {
86
+ return (this.mode === 'over' || this.mode === 'push');
87
+ }
88
+ /**
89
+ * @docs-private
90
+ */
91
+ onEscape() {
92
+ if (this.hasBackdrop) {
93
+ this.opened = false;
94
+ this.ref.markForCheck();
95
+ }
96
+ }
97
+ }
98
+ /** @nocollapse */ /** @nocollapse */ DaffSidebarViewportComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffSidebarViewportComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
99
+ /** @nocollapse */ /** @nocollapse */ DaffSidebarViewportComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: { mode: "mode", backdropIsVisible: "backdropIsVisible", opened: "opened" }, outputs: { backdropClicked: "backdropClicked" }, queries: [{ propertyName: "sidebar", first: true, predicate: DaffSidebarComponent, descendants: true }], ngImport: i0, template: "<div class=\"daff-sidebar-viewport {{ mode }}\">\n <div class=\"daff-sidebar-viewport__sidebar\" [@transformSidebar]=\"_animationState\" [cdkTrapFocus]=\"opened && (mode === 'over' || mode === 'push')\">\n <ng-content select=\"daff-sidebar\" (escapePressed)=\"onEscape($event)\"></ng-content>\n </div>\n\n <daff-backdrop \n class=\"daff-sidebar-viewport__backdrop\" \n *ngIf=\"hasBackdrop && _opened\"\n [transparent]=\"!backdropIsVisible\" \n (backdropClicked)=\"_backdropClicked()\"></daff-backdrop>\n\n <div class=\"daff-sidebar-viewport__content\" [@transformContent]=\"_animationState\">\n <ng-content></ng-content>\n </div>\n</div>", styles: [".daff-sidebar-viewport{display:flex;min-height:100%;position:relative;width:100%;z-index:1}.daff-sidebar-viewport__content{flex:0 1 auto;width:100%;will-change:transform;z-index:2}.daff-sidebar-viewport__sidebar{flex-shrink:0;width:250px;will-change:transform,visibility;z-index:4}.daff-sidebar-viewport__backdrop{cursor:pointer;height:100%;position:absolute;width:100%;z-index:3}.daff-sidebar-viewport.push>.daff-sidebar-viewport__sidebar{bottom:0;height:100%;left:0;position:absolute;top:0;transform:translate(-250px);visibility:hidden}.daff-sidebar-viewport.push>.daff-sidebar-viewport__content{transform:translate(250px)}.daff-sidebar-viewport.over>.daff-sidebar-viewport__sidebar{bottom:0;height:100%;left:0;position:absolute;top:0;transform:translate(-250px);visibility:hidden}\n"], components: [{ type: i1.DaffBackdropComponent, selector: "daff-backdrop", inputs: ["transparent", "fullscreen"], outputs: ["backdropClicked"] }], directives: [{ type: i2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [
100
+ daffSidebarAnimations.transformSidebar,
101
+ daffSidebarAnimations.transformContent,
102
+ ], changeDetection: i0.ChangeDetectionStrategy.OnPush });
103
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffSidebarViewportComponent, decorators: [{
104
+ type: Component,
105
+ args: [{ selector: 'daff-sidebar-viewport', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
106
+ daffSidebarAnimations.transformSidebar,
107
+ daffSidebarAnimations.transformContent,
108
+ ], template: "<div class=\"daff-sidebar-viewport {{ mode }}\">\n <div class=\"daff-sidebar-viewport__sidebar\" [@transformSidebar]=\"_animationState\" [cdkTrapFocus]=\"opened && (mode === 'over' || mode === 'push')\">\n <ng-content select=\"daff-sidebar\" (escapePressed)=\"onEscape($event)\"></ng-content>\n </div>\n\n <daff-backdrop \n class=\"daff-sidebar-viewport__backdrop\" \n *ngIf=\"hasBackdrop && _opened\"\n [transparent]=\"!backdropIsVisible\" \n (backdropClicked)=\"_backdropClicked()\"></daff-backdrop>\n\n <div class=\"daff-sidebar-viewport__content\" [@transformContent]=\"_animationState\">\n <ng-content></ng-content>\n </div>\n</div>", styles: [".daff-sidebar-viewport{display:flex;min-height:100%;position:relative;width:100%;z-index:1}.daff-sidebar-viewport__content{flex:0 1 auto;width:100%;will-change:transform;z-index:2}.daff-sidebar-viewport__sidebar{flex-shrink:0;width:250px;will-change:transform,visibility;z-index:4}.daff-sidebar-viewport__backdrop{cursor:pointer;height:100%;position:absolute;width:100%;z-index:3}.daff-sidebar-viewport.push>.daff-sidebar-viewport__sidebar{bottom:0;height:100%;left:0;position:absolute;top:0;transform:translate(-250px);visibility:hidden}.daff-sidebar-viewport.push>.daff-sidebar-viewport__content{transform:translate(250px)}.daff-sidebar-viewport.over>.daff-sidebar-viewport__sidebar{bottom:0;height:100%;left:0;position:absolute;top:0;transform:translate(-250px);visibility:hidden}\n"] }]
109
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { sidebar: [{
110
+ type: ContentChild,
111
+ args: [DaffSidebarComponent]
112
+ }], mode: [{
113
+ type: Input
114
+ }], backdropIsVisible: [{
115
+ type: Input
116
+ }], opened: [{
117
+ type: Input
118
+ }], backdropClicked: [{
119
+ type: Output
120
+ }] } });
121
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci12aWV3cG9ydC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvbW9sZWN1bGVzL3NpZGViYXIvc2lkZWJhci12aWV3cG9ydC9zaWRlYmFyLXZpZXdwb3J0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvc2lkZWJhci9zaWRlYmFyLXZpZXdwb3J0L3NpZGViYXItdmlld3BvcnQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxNQUFNLEVBQ04sWUFBWSxFQUNaLEtBQUssRUFDTCx1QkFBdUIsRUFFdkIsWUFBWSxFQUNaLGlCQUFpQixHQUVsQixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUN2RSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQztBQUV6RSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQzs7Ozs7QUFZcEUsTUFBTSxPQUFPLDRCQUE0QjtJQUV2QyxZQUFvQixHQUFzQjtRQUF0QixRQUFHLEdBQUgsR0FBRyxDQUFtQjtRQVcxQzs7OztXQUlHO1FBQ0gsWUFBTyxHQUFHLEtBQUssQ0FBQztRQUVoQjs7V0FFRztRQUNILFVBQUssR0FBb0IsTUFBTSxDQUFDO1FBY2hDOzs7V0FHRztRQUNILGtFQUFrRTtRQUN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