@daffodil/design 0.39.13 → 0.42.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 (1137) 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/esm2020/atoms/progress-indicator/animation/progress-indicator-animation.mjs +8 -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/esm2020/core/article-encapsulated/article-encapsulated-mixin.mjs +12 -0
  252. package/{esm2015/core/article-encapsulated/public_api.js → esm2020/core/article-encapsulated/public_api.mjs} +0 -0
  253. package/esm2020/core/breakpoints/breakpoints.mjs +10 -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/esm2020/core/colorable/colorable.mjs +2 -0
  258. package/{esm2015/core/colorable/public_api.js → esm2020/core/colorable/public_api.mjs} +0 -0
  259. package/esm2020/core/compactable/compactable-mixin.mjs +26 -0
  260. package/esm2020/core/compactable/compactable.mjs +2 -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/esm2020/core/manage-container-layout/manage-container-layout-mixin.mjs +14 -0
  264. package/{esm2015/core/manage-container-layout/public_api.js → esm2020/core/manage-container-layout/public_api.mjs} +0 -0
  265. package/esm2020/core/mutable/mutable.mjs +2 -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/esm2020/core/sizeable/sizeable.mjs +9 -0
  277. package/esm2020/core/skeletonable/skeletonable.mjs +2 -0
  278. package/esm2020/core/statusable/statusable-mixin.mjs +32 -0
  279. package/esm2020/core/statusable/statusable.mjs +7 -0
  280. package/esm2020/core/text-alignable/text-alignable-mixin.mjs +35 -0
  281. package/esm2020/core/text-alignable/text-alignable.mjs +7 -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/esm2020/molecules/media-gallery/media-gallery-registration.interface.mjs +2 -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/esm2020/molecules/media-gallery/thumbnail/thumbnail-registration.interface.mjs +2 -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/esm2020/molecules/modal/animations/modal-animation.mjs +9 -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/esm2020/molecules/modal/modal.mjs +2 -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/esm2020/molecules/sidebar/animation/sidebar-animation.mjs +30 -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/animation/progress-indicator-animation.js +0 -8
  881. package/esm2015/atoms/progress-indicator/progress-indicator.component.js +0 -87
  882. package/esm2015/atoms/progress-indicator/progress-indicator.module.js +0 -15
  883. package/esm2015/button/examples/basic-button/basic-button.component.js +0 -23
  884. package/esm2015/button/examples/basic-button/basic-button.module.js +0 -21
  885. package/esm2015/button/examples/daffodil-design-button-examples.js +0 -12
  886. package/esm2015/button/examples/icon-button/icon-button.component.js +0 -22
  887. package/esm2015/button/examples/icon-button/icon-button.module.js +0 -21
  888. package/esm2015/button/examples/public_api.js +0 -24
  889. package/esm2015/button/examples/raised-button/raised-button.component.js +0 -23
  890. package/esm2015/button/examples/raised-button/raised-button.module.js +0 -21
  891. package/esm2015/button/examples/sizeable-button/sizeable-button.component.js +0 -21
  892. package/esm2015/button/examples/sizeable-button/sizeable-button.module.js +0 -21
  893. package/esm2015/button/examples/statusable-button/statusable-button.component.js +0 -27
  894. package/esm2015/button/examples/statusable-button/statusable-button.module.js +0 -21
  895. package/esm2015/button/examples/stroked-button/stroked-button.component.js +0 -23
  896. package/esm2015/button/examples/stroked-button/stroked-button.module.js +0 -21
  897. package/esm2015/button/examples/underline-button/underline-button.component.js +0 -23
  898. package/esm2015/button/examples/underline-button/underline-button.module.js +0 -21
  899. package/esm2015/callout/examples/callout-text-alignment/callout-text-alignment.component.js +0 -25
  900. package/esm2015/callout/examples/callout-text-alignment/callout-text-alignment.module.js +0 -24
  901. package/esm2015/callout/examples/callout-theming/callout-theming.component.js +0 -29
  902. package/esm2015/callout/examples/callout-theming/callout-theming.module.js +0 -23
  903. package/esm2015/callout/examples/callout-with-grid/callout-with-grid.component.js +0 -17
  904. package/esm2015/callout/examples/callout-with-grid/callout-with-grid.module.js +0 -24
  905. package/esm2015/callout/examples/compact-callout/compact-callout.component.js +0 -17
  906. package/esm2015/callout/examples/compact-callout/compact-callout.module.js +0 -22
  907. package/esm2015/card/examples/basic-card/basic-card.component.js +0 -17
  908. package/esm2015/card/examples/basic-card/basic-card.module.js +0 -25
  909. package/esm2015/card/examples/card-orientation/card-orientation.component.js +0 -24
  910. package/esm2015/card/examples/card-orientation/card-orientation.module.js +0 -27
  911. package/esm2015/card/examples/card-theming/card-theming.component.js +0 -31
  912. package/esm2015/card/examples/card-theming/card-theming.module.js +0 -24
  913. package/esm2015/card/examples/daffodil-design-card-examples.js +0 -11
  914. package/esm2015/card/examples/linkable-card/linkable-card.component.js +0 -29
  915. package/esm2015/card/examples/linkable-card/linkable-card.module.js +0 -27
  916. package/esm2015/card/examples/public_api.js +0 -21
  917. package/esm2015/card/examples/raised-card/raised-card.component.js +0 -27
  918. package/esm2015/card/examples/raised-card/raised-card.module.js +0 -25
  919. package/esm2015/card/examples/stroked-card/stroked-card.component.js +0 -27
  920. package/esm2015/card/examples/stroked-card/stroked-card.module.js +0 -27
  921. package/esm2015/checkbox/examples/basic-checkbox/basic-checkbox.component.js +0 -25
  922. package/esm2015/checkbox/examples/basic-checkbox/basic-checkbox.module.js +0 -23
  923. package/esm2015/checkbox/examples/checkbox-set/checkbox-set.component.js +0 -27
  924. package/esm2015/checkbox/examples/checkbox-set/checkbox-set.module.js +0 -23
  925. package/esm2015/checkbox/examples/daffodil-design-checkbox-examples.js +0 -9
  926. package/esm2015/container/examples/container-sizes/container-sizes.component.js +0 -23
  927. package/esm2015/container/examples/container-sizes/container-sizes.module.js +0 -23
  928. package/esm2015/core/article-encapsulated/article-encapsulated-mixin.js +0 -12
  929. package/esm2015/core/breakpoints/breakpoints.js +0 -10
  930. package/esm2015/core/colorable/colorable-mixin.js +0 -43
  931. package/esm2015/core/colorable/colorable.js +0 -2
  932. package/esm2015/core/compactable/compactable-mixin.js +0 -26
  933. package/esm2015/core/compactable/compactable.js +0 -2
  934. package/esm2015/core/manage-container-layout/manage-container-layout-mixin.js +0 -14
  935. package/esm2015/core/mutable/mutable.js +0 -2
  936. package/esm2015/core/prefix-suffix/prefix-suffix.module.js +0 -19
  937. package/esm2015/core/prefix-suffix/prefix.directive.js +0 -20
  938. package/esm2015/core/prefix-suffix/prefixable/prefixable.js +0 -24
  939. package/esm2015/core/prefix-suffix/suffix.directive.js +0 -20
  940. package/esm2015/core/prefix-suffix/suffixable/suffixable.js +0 -24
  941. package/esm2015/core/public_api.js +0 -13
  942. package/esm2015/core/sizeable/sizeable-mixin.js +0 -32
  943. package/esm2015/core/sizeable/sizeable.js +0 -9
  944. package/esm2015/core/skeletonable/skeletonable.js +0 -2
  945. package/esm2015/core/statusable/statusable-mixin.js +0 -33
  946. package/esm2015/core/statusable/statusable.js +0 -7
  947. package/esm2015/core/text-alignable/text-alignable-mixin.js +0 -36
  948. package/esm2015/core/text-alignable/text-alignable.js +0 -7
  949. package/esm2015/daffodil-design.js +0 -15
  950. package/esm2015/hero/examples/compact-hero/compact-hero.component.js +0 -17
  951. package/esm2015/hero/examples/compact-hero/compact-hero.module.js +0 -26
  952. package/esm2015/hero/examples/hero-text-alignment/hero-text-alignment.component.js +0 -25
  953. package/esm2015/hero/examples/hero-text-alignment/hero-text-alignment.module.js +0 -24
  954. package/esm2015/hero/examples/hero-theming/hero-theming.component.js +0 -20
  955. package/esm2015/hero/examples/hero-theming/hero-theming.module.js +0 -26
  956. package/esm2015/hero/examples/hero-with-grid/hero-with-grid.component.js +0 -17
  957. package/esm2015/hero/examples/hero-with-grid/hero-with-grid.module.js +0 -24
  958. package/esm2015/list/examples/basic-list/basic-list.component.js +0 -12
  959. package/esm2015/list/examples/basic-list/basic-list.module.js +0 -21
  960. package/esm2015/list/examples/daffodil-design-list-examples.js +0 -9
  961. package/esm2015/list/examples/icon-list/icon-list.component.js +0 -16
  962. package/esm2015/list/examples/icon-list/icon-list.module.js +0 -23
  963. package/esm2015/list/examples/list-examples.module.js +0 -24
  964. package/esm2015/list/examples/multiline-list/multiline-list.component.js +0 -12
  965. package/esm2015/list/examples/multiline-list/multiline-list.module.js +0 -23
  966. package/esm2015/list/examples/nav-list/nav-list.component.js +0 -16
  967. package/esm2015/list/examples/nav-list/nav-list.module.js +0 -23
  968. package/esm2015/loading-icon/examples/daffodil-design-loading-icon-examples.js +0 -6
  969. package/esm2015/loading-icon/examples/loading-icon-color/loading-icon-color.component.js +0 -18
  970. package/esm2015/loading-icon/examples/loading-icon-color/loading-icon-color.module.js +0 -22
  971. package/esm2015/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.js +0 -12
  972. package/esm2015/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.js +0 -19
  973. package/esm2015/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.js +0 -12
  974. package/esm2015/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.js +0 -21
  975. package/esm2015/media-gallery/examples/daffodil-design-media-gallery-examples.js +0 -7
  976. package/esm2015/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.js +0 -12
  977. package/esm2015/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.js +0 -21
  978. package/esm2015/media-gallery/examples/public_api.js +0 -4
  979. package/esm2015/modal/examples/basic-modal/basic-modal.component.js +0 -24
  980. package/esm2015/modal/examples/basic-modal/basic-modal.module.js +0 -22
  981. package/esm2015/modal/examples/basic-modal/modal-content.component.js +0 -12
  982. package/esm2015/modal/examples/daffodil-design-modal-examples.js +0 -8
  983. package/esm2015/molecules/accordion/accordion/accordion.component.js +0 -33
  984. package/esm2015/molecules/accordion/accordion-item/accordion-item.component.js +0 -52
  985. package/esm2015/molecules/accordion/accordion-item-content/accordion-item-content.directive.js +0 -18
  986. package/esm2015/molecules/accordion/accordion-item-title/accordion-item-title.directive.js +0 -18
  987. package/esm2015/molecules/accordion/accordion.module.js +0 -35
  988. package/esm2015/molecules/accordion/nav-accordion-item/nav-accordion-item.component.js +0 -72
  989. package/esm2015/molecules/accordion/public_api.js +0 -6
  990. package/esm2015/molecules/article/article/article.component.js +0 -30
  991. package/esm2015/molecules/article/article-lead/article-lead.directive.js +0 -18
  992. package/esm2015/molecules/article/article-meta/article-meta.directive.js +0 -18
  993. package/esm2015/molecules/article/article-title/article-title.directive.js +0 -18
  994. package/esm2015/molecules/article/article.module.js +0 -28
  995. package/esm2015/molecules/backdrop/backdrop/backdrop.component.js +0 -46
  996. package/esm2015/molecules/backdrop/backdrop.module.js +0 -22
  997. package/esm2015/molecules/button-set/button-set.component.js +0 -22
  998. package/esm2015/molecules/button-set/button-set.module.js +0 -15
  999. package/esm2015/molecules/callout/callout/callout.component.js +0 -75
  1000. package/esm2015/molecules/callout/callout-body/callout-body.directive.js +0 -18
  1001. package/esm2015/molecules/callout/callout-icon/callout-icon.directive.js +0 -18
  1002. package/esm2015/molecules/callout/callout-subtitle/callout-subtitle.directive.js +0 -18
  1003. package/esm2015/molecules/callout/callout-tagline/callout-tagline.directive.js +0 -18
  1004. package/esm2015/molecules/callout/callout-title/callout-title.directive.js +0 -18
  1005. package/esm2015/molecules/callout/callout.module.js +0 -34
  1006. package/esm2015/molecules/card/card/card.component.js +0 -118
  1007. package/esm2015/molecules/card/card-actions/card-actions.directive.js +0 -18
  1008. package/esm2015/molecules/card/card-content/card-content.directive.js +0 -18
  1009. package/esm2015/molecules/card/card-icon/card-icon.directive.js +0 -18
  1010. package/esm2015/molecules/card/card-image/card-image.directive.js +0 -18
  1011. package/esm2015/molecules/card/card-tagline/card-tagline.directive.js +0 -18
  1012. package/esm2015/molecules/card/card-title/card-title.directive.js +0 -18
  1013. package/esm2015/molecules/card/card.module.js +0 -37
  1014. package/esm2015/molecules/feature/feature/feature.component.js +0 -46
  1015. package/esm2015/molecules/feature/feature-icon/feature-icon.directive.js +0 -18
  1016. package/esm2015/molecules/feature/feature-subheader/feature-subheader.directive.js +0 -18
  1017. package/esm2015/molecules/feature/feature-subtitle/feature-subtitle.directive.js +0 -18
  1018. package/esm2015/molecules/feature/feature-title/feature-title.directive.js +0 -18
  1019. package/esm2015/molecules/feature/feature.module.js +0 -31
  1020. package/esm2015/molecules/hero/hero/hero.component.js +0 -76
  1021. package/esm2015/molecules/hero/hero-body/hero-body.directive.js +0 -18
  1022. package/esm2015/molecules/hero/hero-icon/hero-icon.directive.js +0 -18
  1023. package/esm2015/molecules/hero/hero-subtitle/hero-subtitle.directive.js +0 -18
  1024. package/esm2015/molecules/hero/hero-tagline/hero-tagline.directive.js +0 -18
  1025. package/esm2015/molecules/hero/hero-title/hero-title.directive.js +0 -18
  1026. package/esm2015/molecules/hero/hero.module.js +0 -34
  1027. package/esm2015/molecules/image-gallery/gallery-image/gallery-image.component.js +0 -21
  1028. package/esm2015/molecules/image-gallery/image-gallery/image-gallery.component.js +0 -16
  1029. package/esm2015/molecules/image-gallery/image-gallery.module.js +0 -24
  1030. package/esm2015/molecules/image-list/image-list.component.js +0 -22
  1031. package/esm2015/molecules/image-list/image-list.module.js +0 -19
  1032. package/esm2015/molecules/link-set/link-set/link-set.component.js +0 -44
  1033. package/esm2015/molecules/link-set/link-set-heading/link-set-heading.directive.js +0 -21
  1034. package/esm2015/molecules/link-set/link-set-item/link-set-item.component.js +0 -22
  1035. package/esm2015/molecules/link-set/link-set-subheading/link-set-subheading.directive.js +0 -21
  1036. package/esm2015/molecules/link-set/link-set.module.js +0 -28
  1037. package/esm2015/molecules/list/list/list.component.js +0 -106
  1038. package/esm2015/molecules/list/list-item/list-item.component.js +0 -46
  1039. package/esm2015/molecules/list/list-subheader/list-subheader.directive.js +0 -21
  1040. package/esm2015/molecules/list/list.module.js +0 -28
  1041. package/esm2015/molecules/media-gallery/media-gallery-registration.interface.js +0 -2
  1042. package/esm2015/molecules/media-gallery/media-gallery.component.js +0 -61
  1043. package/esm2015/molecules/media-gallery/media-gallery.module.js +0 -24
  1044. package/esm2015/molecules/media-gallery/media-renderer/media-renderer.component.js +0 -78
  1045. package/esm2015/molecules/media-gallery/registry/media-gallery.registry.js +0 -86
  1046. package/esm2015/molecules/media-gallery/thumbnail/thumbnail-registration.interface.js +0 -2
  1047. package/esm2015/molecules/media-gallery/thumbnail/thumbnail.directive.js +0 -79
  1048. package/esm2015/molecules/modal/animations/modal-animation.js +0 -9
  1049. package/esm2015/molecules/modal/modal/modal.component.js +0 -73
  1050. package/esm2015/molecules/modal/modal-actions/modal-actions.component.js +0 -12
  1051. package/esm2015/molecules/modal/modal-content/modal-content.component.js +0 -12
  1052. package/esm2015/molecules/modal/modal-header/modal-header.component.js +0 -22
  1053. package/esm2015/molecules/modal/modal-title/modal-title.directive.js +0 -18
  1054. package/esm2015/molecules/modal/modal.js +0 -2
  1055. package/esm2015/molecules/modal/modal.module.js +0 -34
  1056. package/esm2015/molecules/modal/service/modal.service.js +0 -73
  1057. package/esm2015/molecules/navbar/navbar.component.js +0 -58
  1058. package/esm2015/molecules/navbar/navbar.module.js +0 -15
  1059. package/esm2015/molecules/paginator/paginator.component.js +0 -161
  1060. package/esm2015/molecules/paginator/paginator.module.js +0 -23
  1061. package/esm2015/molecules/qty-dropdown/qty-dropdown.component.js +0 -110
  1062. package/esm2015/molecules/qty-dropdown/qty-dropdown.module.js +0 -27
  1063. package/esm2015/molecules/sidebar/animation/sidebar-animation.js +0 -30
  1064. package/esm2015/molecules/sidebar/sidebar/sidebar.component.js +0 -50
  1065. package/esm2015/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.js +0 -117
  1066. package/esm2015/molecules/sidebar/sidebar.module.js +0 -26
  1067. package/esm2015/navbar/examples/basic-navbar/basic-navbar.component.js +0 -13
  1068. package/esm2015/navbar/examples/basic-navbar/basic-navbar.module.js +0 -20
  1069. package/esm2015/navbar/examples/contained-navbar/contained-navbar.component.js +0 -13
  1070. package/esm2015/navbar/examples/contained-navbar/contained-navbar.module.js +0 -20
  1071. package/esm2015/navbar/examples/navbar-theming/navbar-theming.component.js +0 -27
  1072. package/esm2015/navbar/examples/navbar-theming/navbar-theming.module.js +0 -21
  1073. package/esm2015/navbar/examples/raised-navbar/raised-navbar.component.js +0 -13
  1074. package/esm2015/navbar/examples/raised-navbar/raised-navbar.module.js +0 -19
  1075. package/esm2015/quantity-field/examples/basic/basic-quantity-field.component.js +0 -17
  1076. package/esm2015/quantity-field/examples/basic/basic-quantity-field.module.js +0 -24
  1077. package/esm2015/quantity-field/examples/customRange/custom-range-quantity-field.component.js +0 -17
  1078. package/esm2015/quantity-field/examples/customRange/custom-range-quantity-field.module.js +0 -24
  1079. package/esm2015/quantity-field/examples/daffodil-design-quantity-field-examples.js +0 -9
  1080. package/esm2015/quantity-field/examples/disabled/disabled-quantity-field.component.js +0 -17
  1081. package/esm2015/quantity-field/examples/disabled/disabled-quantity-field.module.js +0 -24
  1082. package/esm2015/quantity-field/examples/examples.js +0 -11
  1083. package/esm2015/quantity-field/examples/public_api.js +0 -6
  1084. package/esm2015/quantity-field/examples/selectMax/select-max-quantity-field.component.js +0 -17
  1085. package/esm2015/quantity-field/examples/selectMax/select-max-quantity-field.module.js +0 -24
  1086. package/esm2015/radio/examples/basic-radio/basic-radio.component.js +0 -22
  1087. package/esm2015/radio/examples/basic-radio/basic-radio.module.js +0 -22
  1088. package/esm2015/radio/examples/daffodil-design-radio-examples.js +0 -7
  1089. package/fesm2015/daffodil-design-accordion-examples.js +0 -68
  1090. package/fesm2015/daffodil-design-accordion-examples.js.map +0 -1
  1091. package/fesm2015/daffodil-design-article-examples.js +0 -162
  1092. package/fesm2015/daffodil-design-article-examples.js.map +0 -1
  1093. package/fesm2015/daffodil-design-button-examples.js +0 -288
  1094. package/fesm2015/daffodil-design-button-examples.js.map +0 -1
  1095. package/fesm2015/daffodil-design-callout-examples.js +0 -168
  1096. package/fesm2015/daffodil-design-callout-examples.js.map +0 -1
  1097. package/fesm2015/daffodil-design-card-examples.js +0 -287
  1098. package/fesm2015/daffodil-design-card-examples.js.map +0 -1
  1099. package/fesm2015/daffodil-design-checkbox-examples.js +0 -104
  1100. package/fesm2015/daffodil-design-checkbox-examples.js.map +0 -1
  1101. package/fesm2015/daffodil-design-container-examples.js +0 -54
  1102. package/fesm2015/daffodil-design-container-examples.js.map +0 -1
  1103. package/fesm2015/daffodil-design-hero-examples.js +0 -165
  1104. package/fesm2015/daffodil-design-hero-examples.js.map +0 -1
  1105. package/fesm2015/daffodil-design-list-examples.js +0 -157
  1106. package/fesm2015/daffodil-design-list-examples.js.map +0 -1
  1107. package/fesm2015/daffodil-design-loading-icon-examples.js +0 -76
  1108. package/fesm2015/daffodil-design-loading-icon-examples.js.map +0 -1
  1109. package/fesm2015/daffodil-design-media-gallery-examples.js +0 -72
  1110. package/fesm2015/daffodil-design-media-gallery-examples.js.map +0 -1
  1111. package/fesm2015/daffodil-design-modal-examples.js +0 -63
  1112. package/fesm2015/daffodil-design-modal-examples.js.map +0 -1
  1113. package/fesm2015/daffodil-design-navbar-examples.js +0 -142
  1114. package/fesm2015/daffodil-design-navbar-examples.js.map +0 -1
  1115. package/fesm2015/daffodil-design-quantity-field-examples.js +0 -154
  1116. package/fesm2015/daffodil-design-quantity-field-examples.js.map +0 -1
  1117. package/fesm2015/daffodil-design-radio-examples.js +0 -55
  1118. package/fesm2015/daffodil-design-radio-examples.js.map +0 -1
  1119. package/fesm2015/daffodil-design.js +0 -4776
  1120. package/fesm2015/daffodil-design.js.map +0 -1
  1121. package/hero/examples/daffodil-design-hero-examples.metadata.json +0 -1
  1122. package/list/examples/daffodil-design-list-examples.metadata.json +0 -1
  1123. package/loading-icon/examples/daffodil-design-loading-icon-examples.metadata.json +0 -1
  1124. package/media-gallery/examples/daffodil-design-media-gallery-examples.metadata.json +0 -1
  1125. package/modal/examples/daffodil-design-modal-examples.metadata.json +0 -1
  1126. package/navbar/examples/daffodil-design-navbar-examples.metadata.json +0 -1
  1127. package/quantity-field/examples/basic/basic-quantity-field.component.d.ts +0 -4
  1128. package/quantity-field/examples/basic/basic-quantity-field.module.d.ts +0 -2
  1129. package/quantity-field/examples/customRange/custom-range-quantity-field.component.d.ts +0 -4
  1130. package/quantity-field/examples/customRange/custom-range-quantity-field.module.d.ts +0 -2
  1131. package/quantity-field/examples/daffodil-design-quantity-field-examples.metadata.json +0 -1
  1132. package/quantity-field/examples/disabled/disabled-quantity-field.component.d.ts +0 -4
  1133. package/quantity-field/examples/disabled/disabled-quantity-field.module.d.ts +0 -2
  1134. package/quantity-field/examples/examples.d.ts +0 -2
  1135. package/quantity-field/examples/selectMax/select-max-quantity-field.component.d.ts +0 -4
  1136. package/quantity-field/examples/selectMax/select-max-quantity-field.module.d.ts +0 -2
  1137. package/radio/examples/daffodil-design-radio-examples.metadata.json +0 -1
@@ -1,120 +0,0 @@
1
- import { coerceNumberProperty } from '@angular/cdk/coercion';
2
- import { Component, Input, ChangeDetectionStrategy, Optional, Self, ViewChild, ChangeDetectorRef, } from '@angular/core';
3
- import { NgControl, } from '@angular/forms';
4
- import { DaffFormFieldControl } from '../form-field/form-field-control';
5
- import { DaffQuantityInputComponent } from './quantity-input/quantity-input.component';
6
- import { DaffQuantitySelectComponent } from './quantity-select/quantity-select.component';
7
- export class DaffQuantityFieldComponent {
8
- constructor(ngControl, cd) {
9
- this.ngControl = ngControl;
10
- this.cd = cd;
11
- /**
12
- * @docs
13
- * The minimum valid value of the quantity field.
14
- * Must be greater than or equal to 1.
15
- */
16
- this.min = 1;
17
- /**
18
- * @docs
19
- * The maximum valid value of the quantity field.
20
- * Must be greater than min.
21
- */
22
- this.max = 500;
23
- /**
24
- * @docs
25
- * The range of numbers acceptable in a quantity dropdown
26
- * before it becomes an input element.
27
- */
28
- this.selectMax = 10;
29
- this.focused = false;
30
- this.disabled = false;
31
- this._quantity = 1;
32
- this._inputHasBeenShown = false;
33
- if (this.ngControl != null) {
34
- this.ngControl.valueAccessor = this;
35
- }
36
- }
37
- get quantity() {
38
- return this._quantity;
39
- }
40
- set quantity(value) {
41
- this._quantity = coerceNumberProperty(value, 1);
42
- }
43
- /**
44
- * Returns the lesser of max and selectMax.
45
- */
46
- get _maxFloor() {
47
- return Math.min(this.max, this.selectMax);
48
- }
49
- get controlType() {
50
- // TODO: use enum
51
- return this.showInputField
52
- ? 'native-input'
53
- : 'native-select';
54
- }
55
- get showInputField() {
56
- const ret = this._inputHasBeenShown || (this.ngControl
57
- ? this.ngControl.value >= this.selectMax
58
- : this.quantity >= this.selectMax);
59
- if (ret) {
60
- this._inputHasBeenShown = true;
61
- }
62
- return ret;
63
- }
64
- get showSelectField() {
65
- return !this.showInputField;
66
- }
67
- onChange(quantity) { }
68
- ;
69
- onTouched(quantity) { }
70
- ;
71
- writeValue(quantity) {
72
- this.quantity = quantity;
73
- this.cd.markForCheck();
74
- }
75
- registerOnChange(fn) {
76
- this.onChange = fn;
77
- }
78
- registerOnTouched(fn) {
79
- this.onTouched = fn;
80
- }
81
- setDisabledState(isDisabled) {
82
- this.disabled = isDisabled;
83
- }
84
- focus() {
85
- if (this.select) {
86
- this.select.focus();
87
- }
88
- if (this.input) {
89
- this.input.focus();
90
- }
91
- this.focused = true;
92
- }
93
- }
94
- DaffQuantityFieldComponent.decorators = [
95
- { type: Component, args: [{
96
- selector: 'daff-quantity-field',
97
- template: "<daff-quantity-select\n *ngIf=\"showSelectField\"\n [min]=\"min\" [max]=\"_maxFloor\" [extendable]=\"max > selectMax\">\n</daff-quantity-select>\n<daff-quantity-input\n *ngIf=\"showInputField\"\n [min]=\"min\" [max]=\"max\">\n</daff-quantity-input>\n",
98
- providers: [
99
- {
100
- provide: DaffFormFieldControl,
101
- // eslint-disable-next-line @typescript-eslint/no-use-before-define
102
- useExisting: DaffQuantityFieldComponent,
103
- },
104
- ],
105
- changeDetection: ChangeDetectionStrategy.OnPush
106
- },] }
107
- ];
108
- /** @nocollapse */
109
- DaffQuantityFieldComponent.ctorParameters = () => [
110
- { type: NgControl, decorators: [{ type: Optional }, { type: Self }] },
111
- { type: ChangeDetectorRef }
112
- ];
113
- DaffQuantityFieldComponent.propDecorators = {
114
- input: [{ type: ViewChild, args: [DaffQuantityInputComponent,] }],
115
- select: [{ type: ViewChild, args: [DaffQuantitySelectComponent,] }],
116
- min: [{ type: Input }],
117
- max: [{ type: Input }],
118
- selectMax: [{ type: Input }]
119
- };
120
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVhbnRpdHktZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL2F0b21zL2Zvcm0vcXVhbnRpdHktZmllbGQvcXVhbnRpdHktZmllbGQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzdELE9BQU8sRUFDTCxTQUFTLEVBQ1QsS0FBSyxFQUNMLHVCQUF1QixFQUN2QixRQUFRLEVBQ1IsSUFBSSxFQUNKLFNBQVMsRUFDVCxpQkFBaUIsR0FDbEIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUVMLFNBQVMsR0FDVixNQUFNLGdCQUFnQixDQUFDO0FBRXhCLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGtDQUFrQyxDQUFDO0FBQ3hF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ICAgICB0aGlzLm5nQ29udHJvbC52YWx1ZUFjY2Vzc29yID0gdGhpcztcbiAgICB9XG4gIH1cblxuICBwcml2YXRlIG9uQ2hhbmdlKHF1YW50aXR5OiBudW1iZXIpOiB2b2lkIHt9O1xuICBwcml2YXRlIG9uVG91Y2hlZChxdWFudGl0eTogbnVtYmVyKTogdm9pZCB7fTtcblxuICB3cml0ZVZhbHVlKHF1YW50aXR5OiBudW1iZXIpOiB2b2lkIHtcbiAgICB0aGlzLnF1YW50aXR5ID0gcXVhbnRpdHk7XG4gICAgdGhpcy5jZC5tYXJrRm9yQ2hlY2soKTtcbiAgfVxuXG4gIHJlZ2lzdGVyT25DaGFuZ2UoZm46IChxdWFudGl0eTogbnVtYmVyKSA9PiB2b2lkKTogdm9pZCB7XG4gICAgdGhpcy5vbkNoYW5nZSA9IGZuO1xuICB9XG5cbiAgcmVnaXN0ZXJPblRvdWNoZWQoZm46IGFueSk6IHZvaWQge1xuICAgIHRoaXMub25Ub3VjaGVkID0gZm47XG4gIH1cblxuICBzZXREaXNhYmxlZFN0YXRlKGlzRGlzYWJsZWQ6IGJvb2xlYW4pOiB2b2lkIHtcbiAgICB0aGlzLmRpc2FibGVkID0gaXNEaXNhYmxlZDtcbiAgfVxuXG4gIGZvY3VzKCkge1xuICAgIGlmKHRoaXMuc2VsZWN0KSB7XG4gICAgICB0aGlzLnNlbGVjdC5mb2N1cygpO1xuICAgIH1cbiAgICBpZih0aGlzLmlucHV0KSB7XG4gICAgICB0aGlzLmlucHV0LmZvY3VzKCk7XG4gICAgfVxuICAgIHRoaXMuZm9jdXNlZCA9IHRydWU7XG4gIH1cbn1cbiJdfQ==
@@ -1,31 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { NgModule } from '@angular/core';
3
- import { ReactiveFormsModule } from '@angular/forms';
4
- import { DaffInputModule } from '../input/public_api';
5
- import { DaffNativeSelectModule } from '../select/public_api';
6
- import { DaffQuantityFieldComponent } from './quantity-field.component';
7
- import { DaffQuantityInputComponent } from './quantity-input/quantity-input.component';
8
- import { DaffQuantitySelectComponent } from './quantity-select/quantity-select.component';
9
- export class DaffQuantityFieldModule {
10
- }
11
- DaffQuantityFieldModule.decorators = [
12
- { type: NgModule, args: [{
13
- declarations: [
14
- DaffQuantityFieldComponent,
15
- DaffQuantityInputComponent,
16
- DaffQuantitySelectComponent,
17
- ],
18
- imports: [
19
- CommonModule,
20
- DaffNativeSelectModule,
21
- DaffInputModule,
22
- ReactiveFormsModule,
23
- ],
24
- exports: [
25
- DaffQuantityFieldComponent,
26
- DaffQuantityInputComponent,
27
- DaffQuantitySelectComponent,
28
- ],
29
- },] }
30
- ];
31
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVhbnRpdHktZmllbGQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL2F0b21zL2Zvcm0vcXVhbnRpdHktZmllbGQvcXVhbnRpdHktZmllbGQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRXJELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUN0RCxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUM5RCxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUN4RSxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSwyQ0FBMkMsQ0FBQztBQUN2RixPQUFPLEVBQUUsMk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VhbnRpdHktc2VsZWN0LmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1xuICAgIERhZmZRdWFudGl0eUZpZWxkQ29tcG9uZW50LFxuICAgIERhZmZRdWFudGl0eUlucHV0Q29tcG9uZW50LFxuICAgIERhZmZRdWFudGl0eVNlbGVjdENvbXBvbmVudCxcbiAgXSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBEYWZmTmF0aXZlU2VsZWN0TW9kdWxlLFxuICAgIERhZmZJbnB1dE1vZHVsZSxcbiAgICBSZWFjdGl2ZUZvcm1zTW9kdWxlLFxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgRGFmZlF1YW50aXR5RmllbGRDb21wb25lbnQsXG4gICAgRGFmZlF1YW50aXR5SW5wdXRDb21wb25lbnQsXG4gICAgRGFmZlF1YW50aXR5U2VsZWN0Q29tcG9uZW50LFxuICBdLFxufSlcbmV4cG9ydCBjbGFzcyBEYWZmUXVhbnRpdHlGaWVsZE1vZHVsZSB7IH1cbiJdfQ==
@@ -1,100 +0,0 @@
1
- import { coerceNumberProperty } from '@angular/cdk/coercion';
2
- import { Component, Input, ViewChild, ChangeDetectionStrategy, ChangeDetectorRef, } from '@angular/core';
3
- import { FormControl, NgControl, } from '@angular/forms';
4
- import { Subject } from 'rxjs';
5
- import { takeUntil } from 'rxjs/operators';
6
- import { DaffInputComponent } from '../../input/public_api';
7
- export class DaffQuantityInputComponent {
8
- constructor(ngControl, changeDetectorRef) {
9
- this.ngControl = ngControl;
10
- this.changeDetectorRef = changeDetectorRef;
11
- /**
12
- * @docs
13
- * The minimum number for the quantity input field
14
- */
15
- this.min = 1;
16
- /**
17
- * @docs
18
- * The maximum number for the quantity input field
19
- */
20
- this.max = 10;
21
- /**
22
- * A new control for the nested native input.
23
- * We don't bind the native input directly to the inherited form control
24
- * to avoid triggering updates on the input event.
25
- * Instead, we listen for the change event and manually patch form control values.
26
- */
27
- this._inputControl = new FormControl();
28
- // TODO: should this not use this.input as the source of truth for focused?
29
- this.focused = false;
30
- this._destroyed = new Subject();
31
- }
32
- get value() {
33
- return this.ngControl.control.value;
34
- }
35
- set value(value) {
36
- const val = Math.min(Math.round(coerceNumberProperty(value)), this.max);
37
- this.ngControl.control.patchValue(val);
38
- this._inputControl.patchValue(val);
39
- this.changeDetectorRef.markForCheck();
40
- }
41
- get disabled() {
42
- return this.ngControl.control.disabled;
43
- }
44
- ngOnInit() {
45
- this._inputControl.patchValue(this.ngControl.control.value);
46
- this.setInputDisabled();
47
- this.ngControl.statusChanges.pipe(takeUntil(this._destroyed)).subscribe(() => {
48
- this.setInputDisabled();
49
- });
50
- }
51
- ngOnDestroy() {
52
- this._destroyed.next(true);
53
- }
54
- focus() {
55
- this.focused = true;
56
- this.input.focus();
57
- }
58
- onFocus() {
59
- this.focused = true;
60
- this.ngControl.control.markAsTouched();
61
- }
62
- onBlur() {
63
- // TODO: this.focused = false ?
64
- if (this.value === null || this.value === undefined) {
65
- this.value = 1;
66
- this.changeDetectorRef.markForCheck();
67
- }
68
- }
69
- /**
70
- * Callback function fired when the value changes.
71
- * Used to pass the value back up to the ngControl.
72
- */
73
- onValueChange(e) {
74
- this.value = e.target.value;
75
- }
76
- setInputDisabled() {
77
- // eslint-disable-next-line @typescript-eslint/no-unused-expressions
78
- this.ngControl.disabled
79
- ? this._inputControl.disable()
80
- : this._inputControl.enable();
81
- }
82
- }
83
- DaffQuantityInputComponent.decorators = [
84
- { type: Component, args: [{
85
- selector: 'daff-quantity-input',
86
- template: "<input daff-input\n type=\"number\"\n [attr.max]=\"max\"\n [attr.min]=\"min\"\n [attr.step]=\"1\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n (change)=\"onValueChange($event)\"\n [formControl]=\"_inputControl\"\n>\n",
87
- changeDetection: ChangeDetectionStrategy.OnPush
88
- },] }
89
- ];
90
- /** @nocollapse */
91
- DaffQuantityInputComponent.ctorParameters = () => [
92
- { type: NgControl },
93
- { type: ChangeDetectorRef }
94
- ];
95
- DaffQuantityInputComponent.propDecorators = {
96
- input: [{ type: ViewChild, args: [DaffInputComponent,] }],
97
- min: [{ type: Input }],
98
- max: [{ type: Input }]
99
- };
100
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVhbnRpdHktaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL2F0b21zL2Zvcm0vcXVhbnRpdHktZmllbGQvcXVhbnRpdHktaW5wdXQvcXVhbnRpdHktaW5wdXQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzdELE9BQU8sRUFDTCxTQUFTLEVBQ1QsS0FBSyxFQUNMLFNBQVMsRUFDVCx1QkFBdUIsRUFDdkIsaUJBQWlCLEdBR2xCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFDTCxXQUFXLEVBQ1gsU0FBUyxHQUNWLE1BQU0sZ0JBQWdCLENBQUM7QUFDeEIsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUMvQixPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFM0MsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFPNUQsTUFBTSxPQUFPLDBCQUEwQjtJQXdDckMsWUFDUyxTQUFvQixFQUNuQixpQkFBb0M7UUFEckMsY0FBUyxHQUFULFNBQVMsQ0FBVztRQUNuQixzQkFBaUIsR0FBakIsaUJBQWlCLENBQW1CO1FBdkM5Qzs7O1dBR0c7UUFDTSxRQUFHLEdBQUcsQ0FBQyxDQUFDO1FB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ategy, ChangeDetectorRef, ViewChild, } from '@angular/core';
2
- import { NgControl } from '@angular/forms';
3
- import { DaffNativeSelectComponent } from '../../select/public_api';
4
- /**
5
- * Create an array of numbers from min to max, not including max.
6
- */
7
- export const makeValueArray = (min, max, increment) => Array(max - min).fill(0).map((x, i) => (i * increment) + min);
8
- export class DaffQuantitySelectComponent {
9
- constructor(ngControl, changeDetectorRef) {
10
- this.ngControl = ngControl;
11
- this.changeDetectorRef = changeDetectorRef;
12
- /**
13
- * @docs
14
- * The minimum number selectable.
15
- */
16
- this.min = 1;
17
- /**
18
- * @docs
19
- * The maximum number selectable;
20
- */
21
- this.max = 10;
22
- /**
23
- * @docs
24
- * Property used to determine whether or not the DaffQuantitySelectComponent is
25
- * used in a situation whether the `max` isn't a true max.
26
- */
27
- this.extendable = true;
28
- /**
29
- * The amount to increment between "min" and "max".
30
- */
31
- this.increment = 1;
32
- this._value = 1;
33
- }
34
- get value() {
35
- return this._value;
36
- }
37
- set value(value) {
38
- this._value = value;
39
- this.ngControl.control.patchValue(this._value);
40
- this.changeDetectorRef.markForCheck();
41
- }
42
- /**
43
- * Callback function fired when the value changes.
44
- * Used to pass the value back up to the ngControl.
45
- */
46
- onValueChange(e) {
47
- this.value = e.target.value;
48
- }
49
- get focused() {
50
- return this.select.focused;
51
- }
52
- focus() {
53
- this.select.focus();
54
- }
55
- /**
56
- * A helper function for easily making options for the `select`.
57
- */
58
- get valueArray() {
59
- return makeValueArray(this.min, this.max, this.increment);
60
- }
61
- }
62
- DaffQuantitySelectComponent.decorators = [
63
- { type: Component, args: [{
64
- selector: 'daff-quantity-select',
65
- template: "<select daff-native-select [formControl]=\"ngControl.control\">\n <option *ngFor=\"let item of valueArray\" [value]=\"item\">{{ item }}</option>\n <option [value]=\"max\" *ngIf=\"extendable\">{{ max }}+</option>\n <option [value]=\"max\" *ngIf=\"!extendable\">{{ max }}</option>\n</select>\n",
66
- changeDetection: ChangeDetectionStrategy.OnPush
67
- },] }
68
- ];
69
- /** @nocollapse */
70
- DaffQuantitySelectComponent.ctorParameters = () => [
71
- { type: NgControl },
72
- { type: ChangeDetectorRef }
73
- ];
74
- DaffQuantitySelectComponent.propDecorators = {
75
- select: [{ type: ViewChild, args: [DaffNativeSelectComponent,] }],
76
- min: [{ type: Input }],
77
- max: [{ type: Input }],
78
- extendable: [{ type: Input }]
79
- };
80
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVhbnRpdHktc2VsZWN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9hdG9tcy9mb3JtL3F1YW50aXR5LWZpZWxkL3F1YW50aXR5LXNlbGVjdC9xdWFudGl0eS1zZWxlY3QuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsS0FBSyxFQUNMLHVCQUF1QixFQUN2QixpQkFBaUIsRUFDakIsU0FBUyxHQUNWLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUUzQyxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUVwRTs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLGNBQWMsR0FBRyxDQUFDLEdBQVcsRUFBRSxHQUFXLEVBQUUsU0FBaUIsRUFBRSxFQUFFLENBQzVFLEtBQUssQ0FBQyxHQUFHLEdBQUcsR0FBRyxDQUFDLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsQ0FBQyxHQUFHLFNBQVMsQ0FBQyxHQUFHLEdBQUcsQ0FBQyxD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GlzLl92YWx1ZSA9IHZhbHVlO1xuICAgIHRoaXMubmdDb250cm9sLmNvbnRyb2wucGF0Y2hWYWx1ZSh0aGlzLl92YWx1ZSk7XG4gICAgdGhpcy5jaGFuZ2VEZXRlY3RvclJlZi5tYXJrRm9yQ2hlY2soKTtcbiAgfVxuXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBuZ0NvbnRyb2w6IE5nQ29udHJvbCwgcHJpdmF0ZSBjaGFuZ2VEZXRlY3RvclJlZjogQ2hhbmdlRGV0ZWN0b3JSZWYpIHt9XG5cbiAgLyoqXG4gICAqIENhbGxiYWNrIGZ1bmN0aW9uIGZpcmVkIHdoZW4gdGhlIHZhbHVlIGNoYW5nZXMuXG4gICAqIFVzZWQgdG8gcGFzcyB0aGUgdmFsdWUgYmFjayB1cCB0byB0aGUgbmdDb250cm9sLlxuICAgKi9cbiAgb25WYWx1ZUNoYW5nZShlKSB7XG4gICAgdGhpcy52YWx1ZSA9IGUudGFyZ2V0LnZhbHVlO1xuICB9XG5cbiAgZ2V0IGZvY3VzZWQoKSB7XG4gICAgcmV0dXJuIHRoaXMuc2VsZWN0LmZvY3VzZWQ7XG4gIH1cblxuICBmb2N1cygpIHtcbiAgICB0aGlzLnNlbGVjdC5mb2N1cygpO1xuICB9XG5cbiAgLyoqXG4gICAqIEEgaGVscGVyIGZ1bmN0aW9uIGZvciBlYXNpbHkgbWFraW5nIG9wdGlvbnMgZm9yIHRoZSBgc2VsZWN0YC5cbiAgICovXG4gIGdldCB2YWx1ZUFycmF5KCkge1xuICAgIHJldHVybiBtYWtlVmFsdWVBcnJheSh0aGlzLm1pbiwgdGhpcy5tYXgsIHRoaXMuaW5jcmVtZW50KTtcbiAgfVxufVxuIl19
@@ -1,84 +0,0 @@
1
- import { Directive, Input, Self, Optional, } from '@angular/core';
2
- import { NgControl, } from '@angular/forms';
3
- import { DaffRadioComponent } from '../radio.component';
4
- import { DaffRadioRegistry } from '../registry/radio-registry';
5
- /**
6
- * ControlValueAccessor functionality for the DaffRadio
7
- */
8
- export class DaffRadioControlValueAccessorDirective {
9
- constructor(_control, _registry, _radio) {
10
- this._control = _control;
11
- this._registry = _registry;
12
- this._radio = _radio;
13
- if (this._control != null) {
14
- this._control.valueAccessor = this;
15
- }
16
- }
17
- ngOnInit() {
18
- this.writeValue(this._control.value);
19
- this._registry.add(this._control, this);
20
- this._radio.selectionChange.subscribe(value => value ? this._onChange() : null);
21
- }
22
- /**
23
- *
24
- * writeValue function from the CVA interface
25
- */
26
- writeValue(value) {
27
- // the this._onChange null check here is necessary because of an ongoing bug in angular forms
28
- // where writeValue can be called before the component initializes: https://github.com/angular/angular/issues/29218
29
- if (this.value === value && this._onChange) {
30
- this._onChange();
31
- this.fireSelect();
32
- }
33
- }
34
- /**
35
- * registerOnChange implemented from the CVA interface
36
- */
37
- registerOnChange(fn) {
38
- this._onChange = () => {
39
- fn(this.value);
40
- this._registry.select(this);
41
- };
42
- }
43
- /**
44
- * registerOnTouch implemented from the CVA interface
45
- */
46
- registerOnTouched(fn) {
47
- this._onTouched = fn;
48
- }
49
- /**
50
- * sets the disabled state.
51
- */
52
- setDisabledState(isDisabled) {
53
- this._radio.disabled = isDisabled;
54
- }
55
- /**
56
- calls select function for the radio
57
- */
58
- fireSelect() {
59
- this._radio.select();
60
- }
61
- /**
62
- calls deselect function for the radio
63
- */
64
- fireDeselect() {
65
- this._radio.deselect();
66
- }
67
- }
68
- DaffRadioControlValueAccessorDirective.decorators = [
69
- { type: Directive, args: [{
70
- // eslint-disable-next-line @angular-eslint/directive-selector
71
- selector: 'daff-radio[ngModel], daff-radio[formControl], daff-radio[formControlName]',
72
- },] }
73
- ];
74
- /** @nocollapse */
75
- DaffRadioControlValueAccessorDirective.ctorParameters = () => [
76
- { type: NgControl, decorators: [{ type: Optional }, { type: Self }] },
77
- { type: DaffRadioRegistry },
78
- { type: DaffRadioComponent }
79
- ];
80
- DaffRadioControlValueAccessorDirective.propDecorators = {
81
- value: [{ type: Input }],
82
- name: [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Zm47XG4gIH1cblxuICAvKipcbiAgICogc2V0cyB0aGUgZGlzYWJsZWQgc3RhdGUuXG4gICAqL1xuICBzZXREaXNhYmxlZFN0YXRlPyhpc0Rpc2FibGVkOiBib29sZWFuKTogdm9pZCB7XG4gICAgdGhpcy5fcmFkaW8uZGlzYWJsZWQgPSBpc0Rpc2FibGVkO1xuICB9XG5cbiAgLyoqXG4gICAgY2FsbHMgc2VsZWN0IGZ1bmN0aW9uIGZvciB0aGUgcmFkaW9cbiAgICovXG4gIGZpcmVTZWxlY3QoKSB7XG4gICAgdGhpcy5fcmFkaW8uc2VsZWN0KCk7XG4gIH1cblxuICAvKipcbiAgICBjYWxscyBkZXNlbGVjdCBmdW5jdGlvbiBmb3IgdGhlIHJhZGlvXG4gICAqL1xuICBmaXJlRGVzZWxlY3QoKSB7XG4gICAgdGhpcy5fcmFkaW8uZGVzZWxlY3QoKTtcbiAgfVxufVxuIl19
@@ -1,122 +0,0 @@
1
- import { Component, Input, HostBinding, ChangeDetectionStrategy, Optional, Output, EventEmitter, } from '@angular/core';
2
- import { DaffRadioSetComponent } from '../radio-set/radio-set.component';
3
- let radioUniqueId = 0;
4
- export class DaffRadioComponent {
5
- constructor(radioset) {
6
- this.radioset = radioset;
7
- /**
8
- * @docs-private
9
- */
10
- this.role = 'radio';
11
- /**
12
- * @docs-private
13
- */
14
- this._checked = false;
15
- /**
16
- * Output event of selection being changed
17
- */
18
- this.selectionChange = new EventEmitter();
19
- /**
20
- * The id of the radio. It is uniquely generated but can be overwritten by the user. Must be unique.
21
- */
22
- this.id = 'daff-radio-' + radioUniqueId;
23
- /**
24
- * Name of the Radio
25
- */
26
- this.name = '';
27
- /**
28
- * Used for aria-label. Default to name if user does not input a label.
29
- */
30
- // eslint-disable-next-line @angular-eslint/no-input-rename
31
- this.label = this.name;
32
- this.disabled = false;
33
- this.focused = false;
34
- radioUniqueId++;
35
- }
36
- /**
37
- * @docs-private
38
- */
39
- get focusClass() {
40
- return this.focused === true;
41
- }
42
- ;
43
- /**
44
- * @docs-private
45
- */
46
- get disabledClass() {
47
- return this.disabled === true;
48
- }
49
- ;
50
- /**
51
- * The checked property of the radio
52
- */
53
- get checked() {
54
- return this._checked;
55
- }
56
- set checked(value) {
57
- if (this._checked !== value) {
58
- this._checked = value;
59
- this.selectionChange.emit(this.value);
60
- }
61
- }
62
- /**
63
- * @docs-private
64
- */
65
- ngOnInit() {
66
- this.name = this.radioset ? this.radioset.name : this.name;
67
- }
68
- /**
69
- * updates Focus styling
70
- */
71
- onFocus() {
72
- this.focused = true;
73
- }
74
- /**
75
- * updates Blur styling
76
- */
77
- onBlur() {
78
- this.focused = false;
79
- }
80
- /**
81
- * toggles checked attribute on
82
- */
83
- select() {
84
- this.checked = true;
85
- }
86
- /**
87
- * toggles checked attribute off
88
- */
89
- deselect() {
90
- this.checked = false;
91
- }
92
- onChange() {
93
- this.select();
94
- }
95
- ;
96
- }
97
- DaffRadioComponent.decorators = [
98
- { type: Component, args: [{
99
- // eslint-disable-next-line @angular-eslint/component-selector
100
- selector: 'daff-radio',
101
- template: "<input type=\"radio\" \n[attr.checked]=\"checked ? '' : null\" \n[attr.id]=\"id\" \n[attr.name]=\"name\" \n[attr.aria-label]=\"label\"\n[attr.aria-labelledby]=\"labelledby\"\n[attr.value]=\"value\"\n[attr.disabled] = \"disabled ? '' : null\" \n(change)=\"onChange()\"\n(blur)=\"onBlur()\"\n(focus)=\"onFocus()\"/>\n<label [attr.for]=\"id\">\n <ng-content></ng-content>\n</label>",
102
- changeDetection: ChangeDetectionStrategy.OnPush,
103
- styles: [""]
104
- },] }
105
- ];
106
- /** @nocollapse */
107
- DaffRadioComponent.ctorParameters = () => [
108
- { type: DaffRadioSetComponent, decorators: [{ type: Optional }] }
109
- ];
110
- DaffRadioComponent.propDecorators = {
111
- role: [{ type: HostBinding, args: ['attr.role',] }],
112
- focusClass: [{ type: HostBinding, args: ['class.focused',] }],
113
- disabledClass: [{ type: HostBinding, args: ['class.disabled',] }],
114
- selectionChange: [{ type: Output }],
115
- checked: [{ type: Input }],
116
- value: [{ type: Input }],
117
- id: [{ type: Input }],
118
- name: [{ type: Input }],
119
- label: [{ type: Input, args: ['aria-label',] }],
120
- labelledby: [{ type: Input, args: ['aria-labelledby',] }]
121
- };
122
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL2F0b21zL2Zvcm0vcmFkaW8vcmFkaW8uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBRVQsS0FBSyxFQUNMLFdBQVcsRUFDWCx1QkFBdUIsRUFFdkIsUUFBUSxFQUNSLE1BQU0sRUFDTixZQUFZLEdBQ2IsTUFBTSxlQUFlLENBQUM7QUFHdkIsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sa0NBQWtDLENBQUM7QUFFekUsSUFBSSxhQUFhLEdBQUcsQ0FBQyxDQUFDO0FBUXRCLE1BQU0sT0FBTyxrQkFBa0I7SUF3RTdCLFlBQWdDLFFBQStCO1FBQS9CLGFBQVEsR0FBUixRQUFRLENBQXVCO1FBdEUvRDs7V0FFRztRQUN1QixTQUFJLEdBQUcsT0FBTyxDQUFDO1FBY3pDOztXQUVHO1FBQ0gsYUFBUSxHQUFHLEtBQUssQ0FBQztRQUNqQjs7V0FFRztRQUNPLG9CQUFlLEdBQTBCLElBQUksWUFBWSxFQUFFLENBQUM7UUFvQnZFOztXQUVHO1FBQ00sT0FBRSxHQUFXLGFBQWEsR0FBRyxhQUFhLENBQUM7UUFFcEQ7O1dBRUc7UUFDTSxTQUFJLEdBQUcsRUFBRSxDQUFDO1FBRWxCOztXQUVHO1FBQ0gsMkRBQTJEO1FBQ3RDLFVBQUssR0FBVyxJQUFJ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mXG4gICAqL1xuICBkZXNlbGVjdCgpOiB2b2lkIHtcbiAgICB0aGlzLmNoZWNrZWQgPSBmYWxzZTtcbiAgfVxuICBvbkNoYW5nZSgpIHtcbiAgICB0aGlzLnNlbGVjdCgpO1xuICB9O1xufVxuIl19
@@ -1,25 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { NgModule } from '@angular/core';
3
- import { DaffRadioSetComponent } from '../radio-set/radio-set.component';
4
- import { DaffRadioControlValueAccessorDirective } from './cva/radio-cva.directive';
5
- import { DaffRadioComponent } from './radio.component';
6
- export class DaffRadioModule {
7
- }
8
- DaffRadioModule.decorators = [
9
- { type: NgModule, args: [{
10
- exports: [
11
- DaffRadioComponent,
12
- DaffRadioSetComponent,
13
- DaffRadioControlValueAccessorDirective,
14
- ],
15
- declarations: [
16
- DaffRadioControlValueAccessorDirective,
17
- DaffRadioComponent,
18
- DaffRadioSetComponent,
19
- ],
20
- imports: [
21
- CommonModule,
22
- ],
23
- },] }
24
- ];
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL2F0b21zL2Zvcm0vcmFkaW8vcmFkaW8ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLGtDQUFrQyxDQUFDO0FBQ3pFLE9BQU8sRUFBRSxzQ0FBc0MsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ25GLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLG1CQUF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