@hashicorp/design-system-components 1.6.0 → 1.7.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 (283) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/addon/components/hds/alert/description.hbs +4 -0
  3. package/addon/components/hds/alert/index.hbs +4 -0
  4. package/addon/components/hds/alert/index.js +5 -0
  5. package/addon/components/hds/alert/title.hbs +4 -0
  6. package/addon/components/hds/avatar/index.hbs +4 -0
  7. package/addon/components/hds/badge/index.hbs +4 -0
  8. package/addon/components/hds/badge/index.js +5 -0
  9. package/addon/components/hds/badge-count/index.hbs +4 -0
  10. package/addon/components/hds/badge-count/index.js +5 -0
  11. package/addon/components/hds/breadcrumb/index.hbs +4 -0
  12. package/addon/components/hds/breadcrumb/index.js +5 -0
  13. package/addon/components/hds/breadcrumb/item.hbs +4 -0
  14. package/addon/components/hds/breadcrumb/item.js +5 -0
  15. package/addon/components/hds/breadcrumb/truncation.hbs +4 -0
  16. package/addon/components/hds/button/index.hbs +4 -0
  17. package/addon/components/hds/button/index.js +5 -0
  18. package/addon/components/hds/button-set/index.hbs +4 -0
  19. package/addon/components/hds/card/container.hbs +4 -0
  20. package/addon/components/hds/card/container.js +5 -0
  21. package/addon/components/hds/disclosure/index.hbs +4 -0
  22. package/addon/components/hds/disclosure/index.js +5 -0
  23. package/addon/components/hds/dismiss-button/index.hbs +4 -0
  24. package/addon/components/hds/dropdown/index.hbs +4 -0
  25. package/addon/components/hds/dropdown/index.js +5 -0
  26. package/addon/components/hds/dropdown/list-item/copy-item.hbs +4 -0
  27. package/addon/components/hds/dropdown/list-item/copy-item.js +5 -0
  28. package/addon/components/hds/dropdown/list-item/description.hbs +4 -0
  29. package/addon/components/hds/dropdown/list-item/description.js +5 -0
  30. package/addon/components/hds/dropdown/list-item/generic.hbs +4 -0
  31. package/addon/components/hds/dropdown/list-item/interactive.hbs +4 -0
  32. package/addon/components/hds/dropdown/list-item/interactive.js +5 -0
  33. package/addon/components/hds/dropdown/list-item/separator.hbs +4 -0
  34. package/addon/components/hds/dropdown/list-item/title.hbs +4 -0
  35. package/addon/components/hds/dropdown/list-item/title.js +5 -0
  36. package/addon/components/hds/dropdown/toggle/button.hbs +4 -0
  37. package/addon/components/hds/dropdown/toggle/button.js +5 -0
  38. package/addon/components/hds/dropdown/toggle/icon.hbs +4 -0
  39. package/addon/components/hds/dropdown/toggle/icon.js +5 -0
  40. package/addon/components/hds/empty-state/body.hbs +4 -0
  41. package/addon/components/hds/empty-state/footer.hbs +4 -0
  42. package/addon/components/hds/empty-state/header.hbs +4 -0
  43. package/addon/components/hds/empty-state/index.hbs +4 -0
  44. package/addon/components/hds/flyout/body.hbs +4 -0
  45. package/addon/components/hds/flyout/description.hbs +4 -0
  46. package/addon/components/hds/flyout/header.hbs +4 -0
  47. package/addon/components/hds/flyout/index.hbs +4 -0
  48. package/addon/components/hds/flyout/index.js +5 -0
  49. package/addon/components/hds/form/checkbox/base.hbs +4 -0
  50. package/addon/components/hds/form/checkbox/field.hbs +4 -0
  51. package/addon/components/hds/form/checkbox/group.hbs +4 -0
  52. package/addon/components/hds/form/error/index.hbs +4 -0
  53. package/addon/components/hds/form/error/index.js +5 -0
  54. package/addon/components/hds/form/error/message.hbs +4 -0
  55. package/addon/components/hds/form/field/index.hbs +4 -0
  56. package/addon/components/hds/form/field/index.js +5 -0
  57. package/addon/components/hds/form/fieldset/index.hbs +4 -0
  58. package/addon/components/hds/form/fieldset/index.js +5 -0
  59. package/addon/components/hds/form/helper-text/index.hbs +4 -0
  60. package/addon/components/hds/form/helper-text/index.js +5 -0
  61. package/addon/components/hds/form/indicator/index.hbs +4 -0
  62. package/addon/components/hds/form/indicator/index.js +5 -0
  63. package/addon/components/hds/form/label/index.hbs +4 -0
  64. package/addon/components/hds/form/label/index.js +5 -0
  65. package/addon/components/hds/form/legend/index.hbs +4 -0
  66. package/addon/components/hds/form/legend/index.js +5 -0
  67. package/addon/components/hds/form/radio/base.hbs +4 -0
  68. package/addon/components/hds/form/radio/field.hbs +4 -0
  69. package/addon/components/hds/form/radio/group.hbs +4 -0
  70. package/addon/components/hds/form/radio-card/description.hbs +4 -0
  71. package/addon/components/hds/form/radio-card/group.hbs +4 -0
  72. package/addon/components/hds/form/radio-card/index.hbs +4 -0
  73. package/addon/components/hds/form/radio-card/index.js +5 -0
  74. package/addon/components/hds/form/radio-card/label.hbs +4 -0
  75. package/addon/components/hds/form/select/base.hbs +4 -0
  76. package/addon/components/hds/form/select/base.js +5 -0
  77. package/addon/components/hds/form/select/field.hbs +4 -0
  78. package/addon/components/hds/form/text-input/base.hbs +4 -0
  79. package/addon/components/hds/form/text-input/base.js +5 -0
  80. package/addon/components/hds/form/text-input/field.hbs +4 -0
  81. package/addon/components/hds/form/textarea/base.hbs +4 -0
  82. package/addon/components/hds/form/textarea/base.js +5 -0
  83. package/addon/components/hds/form/textarea/field.hbs +4 -0
  84. package/addon/components/hds/form/toggle/base.hbs +4 -0
  85. package/addon/components/hds/form/toggle/base.js +5 -0
  86. package/addon/components/hds/form/toggle/field.hbs +4 -0
  87. package/addon/components/hds/form/toggle/group.hbs +4 -0
  88. package/addon/components/hds/form/utils/getElementId.js +5 -0
  89. package/addon/components/hds/form/utils/setAriaDescribedBy.js +5 -0
  90. package/addon/components/hds/icon-tile/index.hbs +4 -0
  91. package/addon/components/hds/icon-tile/index.js +5 -0
  92. package/addon/components/hds/interactive/index.js +5 -0
  93. package/addon/components/hds/link/inline.js +5 -0
  94. package/addon/components/hds/link/standalone.js +5 -0
  95. package/addon/components/hds/modal/body.hbs +4 -0
  96. package/addon/components/hds/modal/footer.hbs +4 -0
  97. package/addon/components/hds/modal/header.hbs +4 -0
  98. package/addon/components/hds/modal/index.hbs +4 -0
  99. package/addon/components/hds/modal/index.js +5 -0
  100. package/addon/components/hds/pagination/compact/index.hbs +4 -0
  101. package/addon/components/hds/pagination/compact/index.js +5 -0
  102. package/addon/components/hds/pagination/info/index.hbs +4 -0
  103. package/addon/components/hds/pagination/info/index.js +5 -0
  104. package/addon/components/hds/pagination/nav/arrow.hbs +4 -0
  105. package/addon/components/hds/pagination/nav/arrow.js +5 -0
  106. package/addon/components/hds/pagination/nav/ellipsis.hbs +4 -0
  107. package/addon/components/hds/pagination/nav/number.hbs +4 -0
  108. package/addon/components/hds/pagination/nav/number.js +5 -0
  109. package/addon/components/hds/pagination/numbered/index.hbs +5 -0
  110. package/addon/components/hds/pagination/numbered/index.js +5 -0
  111. package/addon/components/hds/pagination/size-selector/index.hbs +7 -1
  112. package/addon/components/hds/pagination/size-selector/index.js +17 -0
  113. package/addon/components/hds/stepper/step/indicator.hbs +4 -0
  114. package/addon/components/hds/stepper/step/indicator.js +5 -0
  115. package/addon/components/hds/stepper/task/indicator.hbs +4 -0
  116. package/addon/components/hds/stepper/task/indicator.js +5 -0
  117. package/addon/components/hds/table/index.hbs +13 -5
  118. package/addon/components/hds/table/index.js +60 -5
  119. package/addon/components/hds/table/td.hbs +4 -0
  120. package/addon/components/hds/table/td.js +5 -0
  121. package/addon/components/hds/table/th-sort.hbs +4 -0
  122. package/addon/components/hds/table/th-sort.js +22 -9
  123. package/addon/components/hds/table/th.hbs +4 -0
  124. package/addon/components/hds/table/th.js +5 -0
  125. package/addon/components/hds/table/tr.hbs +4 -0
  126. package/addon/components/hds/tabs/index.hbs +4 -0
  127. package/addon/components/hds/tabs/index.js +5 -0
  128. package/addon/components/hds/tabs/panel.hbs +4 -0
  129. package/addon/components/hds/tabs/panel.js +5 -0
  130. package/addon/components/hds/tabs/tab.hbs +4 -0
  131. package/addon/components/hds/tabs/tab.js +5 -0
  132. package/addon/components/hds/tag/index.hbs +4 -0
  133. package/addon/components/hds/tag/index.js +5 -0
  134. package/addon/components/hds/toast/index.hbs +4 -0
  135. package/addon/components/hds/yield/index.hbs +4 -0
  136. package/addon/helpers/hds-link-to-models.js +5 -0
  137. package/addon/helpers/hds-link-to-query.js +5 -0
  138. package/app/components/hds/alert/description.js +5 -0
  139. package/app/components/hds/alert/index.js +5 -0
  140. package/app/components/hds/alert/title.js +5 -0
  141. package/app/components/hds/avatar/index.js +5 -0
  142. package/app/components/hds/badge/index.js +5 -0
  143. package/app/components/hds/badge-count/index.js +5 -0
  144. package/app/components/hds/breadcrumb/index.js +5 -0
  145. package/app/components/hds/breadcrumb/item.js +5 -0
  146. package/app/components/hds/breadcrumb/truncation.js +5 -0
  147. package/app/components/hds/button/index.js +5 -0
  148. package/app/components/hds/button-set/index.js +5 -0
  149. package/app/components/hds/card/container.js +5 -0
  150. package/app/components/hds/disclosure/index.js +5 -0
  151. package/app/components/hds/dismiss-button/index.js +5 -0
  152. package/app/components/hds/dropdown/index.js +5 -0
  153. package/app/components/hds/dropdown/list-item/copy-item.js +5 -0
  154. package/app/components/hds/dropdown/list-item/description.js +5 -0
  155. package/app/components/hds/dropdown/list-item/generic.js +5 -0
  156. package/app/components/hds/dropdown/list-item/interactive.js +5 -0
  157. package/app/components/hds/dropdown/list-item/separator.js +5 -0
  158. package/app/components/hds/dropdown/list-item/title.js +5 -0
  159. package/app/components/hds/dropdown/toggle/button.js +5 -0
  160. package/app/components/hds/dropdown/toggle/icon.js +5 -0
  161. package/app/components/hds/empty-state/body.js +5 -0
  162. package/app/components/hds/empty-state/footer.js +5 -0
  163. package/app/components/hds/empty-state/header.js +5 -0
  164. package/app/components/hds/empty-state/index.js +5 -0
  165. package/app/components/hds/flyout/body.js +5 -0
  166. package/app/components/hds/flyout/description.js +5 -0
  167. package/app/components/hds/flyout/header.js +5 -0
  168. package/app/components/hds/flyout/index.js +5 -0
  169. package/app/components/hds/form/checkbox/base.js +5 -0
  170. package/app/components/hds/form/checkbox/field.js +5 -0
  171. package/app/components/hds/form/checkbox/group.js +5 -0
  172. package/app/components/hds/form/error/index.js +5 -0
  173. package/app/components/hds/form/error/message.js +5 -0
  174. package/app/components/hds/form/field/index.js +5 -0
  175. package/app/components/hds/form/fieldset/index.js +5 -0
  176. package/app/components/hds/form/helper-text/index.js +5 -0
  177. package/app/components/hds/form/indicator/index.js +5 -0
  178. package/app/components/hds/form/label/index.js +5 -0
  179. package/app/components/hds/form/legend/index.js +5 -0
  180. package/app/components/hds/form/radio/base.js +5 -0
  181. package/app/components/hds/form/radio/field.js +5 -0
  182. package/app/components/hds/form/radio/group.js +5 -0
  183. package/app/components/hds/form/radio-card/description.js +5 -0
  184. package/app/components/hds/form/radio-card/group.js +5 -0
  185. package/app/components/hds/form/radio-card/index.js +5 -0
  186. package/app/components/hds/form/radio-card/label.js +5 -0
  187. package/app/components/hds/form/select/base.js +5 -0
  188. package/app/components/hds/form/select/field.js +5 -0
  189. package/app/components/hds/form/text-input/base.js +5 -0
  190. package/app/components/hds/form/text-input/field.js +5 -0
  191. package/app/components/hds/form/textarea/base.js +5 -0
  192. package/app/components/hds/form/textarea/field.js +5 -0
  193. package/app/components/hds/form/toggle/base.js +5 -0
  194. package/app/components/hds/form/toggle/field.js +5 -0
  195. package/app/components/hds/form/toggle/group.js +5 -0
  196. package/app/components/hds/icon-tile/index.js +5 -0
  197. package/app/components/hds/interactive/index.js +5 -0
  198. package/app/components/hds/link/inline.js +5 -0
  199. package/app/components/hds/link/standalone.js +5 -0
  200. package/app/components/hds/modal/body.js +5 -0
  201. package/app/components/hds/modal/footer.js +5 -0
  202. package/app/components/hds/modal/header.js +5 -0
  203. package/app/components/hds/modal/index.js +5 -0
  204. package/app/components/hds/pagination/compact/index.js +5 -0
  205. package/app/components/hds/pagination/info.js +5 -0
  206. package/app/components/hds/pagination/nav/arrow.js +5 -0
  207. package/app/components/hds/pagination/nav/ellipsis.js +5 -0
  208. package/app/components/hds/pagination/nav/number.js +5 -0
  209. package/app/components/hds/pagination/numbered/index.js +5 -0
  210. package/app/components/hds/pagination/size-selector.js +5 -0
  211. package/app/components/hds/stepper/step/indicator.js +5 -0
  212. package/app/components/hds/stepper/task/indicator.js +5 -0
  213. package/app/components/hds/table/index.js +5 -0
  214. package/app/components/hds/table/td.js +5 -0
  215. package/app/components/hds/table/th-sort.js +5 -0
  216. package/app/components/hds/table/th.js +5 -0
  217. package/app/components/hds/table/tr.js +5 -0
  218. package/app/components/hds/tabs/index.js +5 -0
  219. package/app/components/hds/tabs/panel.js +5 -0
  220. package/app/components/hds/tabs/tab.js +5 -0
  221. package/app/components/hds/tag/index.js +5 -0
  222. package/app/components/hds/toast/index.js +5 -0
  223. package/app/components/hds/yield/index.js +5 -0
  224. package/app/helpers/hds-link-to-models.js +5 -0
  225. package/app/helpers/hds-link-to-query.js +5 -0
  226. package/app/styles/@hashicorp/design-system-components.scss +5 -0
  227. package/app/styles/@hashicorp/design-system-power-select-overrides.scss +5 -0
  228. package/app/styles/components/alert.scss +5 -0
  229. package/app/styles/components/avatar.scss +5 -0
  230. package/app/styles/components/badge-count.scss +5 -0
  231. package/app/styles/components/badge.scss +5 -0
  232. package/app/styles/components/breadcrumb.scss +5 -0
  233. package/app/styles/components/button-set.scss +5 -0
  234. package/app/styles/components/button.scss +5 -0
  235. package/app/styles/components/card/container.scss +5 -0
  236. package/app/styles/components/card/index.scss +5 -0
  237. package/app/styles/components/disclosure.scss +5 -0
  238. package/app/styles/components/dismiss-button.scss +5 -0
  239. package/app/styles/components/dropdown.scss +5 -0
  240. package/app/styles/components/empty-state.scss +5 -0
  241. package/app/styles/components/flyout.scss +5 -0
  242. package/app/styles/components/form/checkbox.scss +5 -0
  243. package/app/styles/components/form/error.scss +5 -0
  244. package/app/styles/components/form/field.scss +5 -0
  245. package/app/styles/components/form/group.scss +5 -0
  246. package/app/styles/components/form/helper-text.scss +5 -0
  247. package/app/styles/components/form/index.scss +5 -0
  248. package/app/styles/components/form/indicator.scss +5 -0
  249. package/app/styles/components/form/label.scss +5 -0
  250. package/app/styles/components/form/legend.scss +5 -0
  251. package/app/styles/components/form/radio-card.scss +5 -0
  252. package/app/styles/components/form/radio.scss +5 -0
  253. package/app/styles/components/form/select.scss +5 -0
  254. package/app/styles/components/form/text-input.scss +5 -0
  255. package/app/styles/components/form/textarea.scss +5 -0
  256. package/app/styles/components/form/toggle.scss +5 -0
  257. package/app/styles/components/icon-tile.scss +5 -0
  258. package/app/styles/components/link/index.scss +5 -0
  259. package/app/styles/components/link/inline.scss +5 -0
  260. package/app/styles/components/link/standalone.scss +5 -0
  261. package/app/styles/components/modal.scss +5 -0
  262. package/app/styles/components/pagination.scss +39 -26
  263. package/app/styles/components/stepper/index.scss +5 -0
  264. package/app/styles/components/stepper/step-indicator.scss +5 -0
  265. package/app/styles/components/stepper/task-indicator.scss +5 -0
  266. package/app/styles/components/table.scss +36 -15
  267. package/app/styles/components/tabs.scss +10 -0
  268. package/app/styles/components/tag.scss +5 -0
  269. package/app/styles/components/toast.scss +5 -0
  270. package/app/styles/mixins/_focus-ring.scss +5 -0
  271. package/blueprints/hds-component/files/addon/components/hds/__name__/index.hbs +4 -0
  272. package/blueprints/hds-component/files/addon/components/hds/__name__/index.js +5 -0
  273. package/blueprints/hds-component/files/app/components/hds/__name__/index.js +5 -0
  274. package/blueprints/hds-component/files/app/styles/components/__name__.scss +5 -0
  275. package/blueprints/hds-component/index.js +5 -0
  276. package/blueprints/hds-component-test/files/tests/dummy/app/routes/components/__name__.js +5 -0
  277. package/blueprints/hds-component-test/files/tests/dummy/app/styles/pages/__dummyCSSFileName__.scss +5 -0
  278. package/blueprints/hds-component-test/files/tests/dummy/app/templates/components/__name__.hbs +6 -2
  279. package/blueprints/hds-component-test/files/tests/integration/components/hds/__name__/index-test.js +5 -0
  280. package/blueprints/hds-component-test/index.js +6 -1
  281. package/config/environment.js +5 -0
  282. package/index.js +5 -0
  283. package/package.json +29 -29
package/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # @hashicorp/design-system-components
2
2
 
3
+ ## 1.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1201](https://github.com/hashicorp/design-system/pull/1201) [`5b11fe34c`](https://github.com/hashicorp/design-system/commit/5b11fe34c5dec1f96b75ee20d77f83d92bc4e962) Thanks [@KristinLBradley](https://github.com/KristinLBradley)! - Add @label argument to Pagination::SizeSelector component and associated @sizeSelectorLabel argument to Pagination::Numbered component to make Pagination::SizeSelector label text customizeable.
8
+
9
+ - [#1160](https://github.com/hashicorp/design-system/pull/1160) [`b71c0c07f`](https://github.com/hashicorp/design-system/commit/b71c0c07fa809819eef3e0bb090af51aec563918) Thanks [@MelSumner](https://github.com/MelSumner)! - Added new custom sort feature support to table component:
10
+
11
+ - Adds `sortingFunction` support in `@columns` declaration
12
+ - Adds `sortedMessageText` support for custom sorting message
13
+ - Updates the `aria-sort` to fallback to "none" instead of "null" (per spec)
14
+ - Adds support for the `{{each}}` loop's `key` to be defined with `identityKey` (optional; falls back to the Ember default if none is provided)
15
+
16
+ ### Patch Changes
17
+
18
+ - [#1217](https://github.com/hashicorp/design-system/pull/1217) [`c021b0527`](https://github.com/hashicorp/design-system/commit/c021b052707d8dca7cb7375dfa84f1e9e9b8ec87) Thanks [@alex-ju](https://github.com/alex-ju)! - Update `ember-cli` to `4.10.0` alongside other patch and minor dependency updates
19
+
20
+ - [#1208](https://github.com/hashicorp/design-system/pull/1208) [`583f7559d`](https://github.com/hashicorp/design-system/commit/583f7559d9d66fc5da3cb5e8174258b334c85058) Thanks [@MelSumner](https://github.com/MelSumner)! - Updates table styles to include scoped row support
21
+
22
+ - [#1226](https://github.com/hashicorp/design-system/pull/1226) [`2b0a028b8`](https://github.com/hashicorp/design-system/commit/2b0a028b89835abfd419c2ed93a4a393f2852cd0) Thanks [@didoo](https://github.com/didoo)! - Changed inner logic for `ThSort` arguments
23
+
24
+ - [#1181](https://github.com/hashicorp/design-system/pull/1181) [`2ef00f654`](https://github.com/hashicorp/design-system/commit/2ef00f6549f5c41332b8da66d862c40f64548af1) Thanks [@KristinLBradley](https://github.com/KristinLBradley)! - Add a style to prevent accidental display of hidden `Hds::Tabs::Panel`
25
+
26
+ - [#1204](https://github.com/hashicorp/design-system/pull/1204) [`fcbaff90b`](https://github.com/hashicorp/design-system/commit/fcbaff90b514962c50363c8a985d88b520048636) Thanks [@KristinLBradley](https://github.com/KristinLBradley)! - \* Scope group layout styles to nested child components.
27
+ - Fix bug with --token-pagination-child-spacing-vertical value so that it adds "px" unit.
28
+ - Updated dependencies [[`fcbaff90b`](https://github.com/hashicorp/design-system/commit/fcbaff90b514962c50363c8a985d88b520048636)]:
29
+ - @hashicorp/design-system-tokens@1.4.1
30
+
31
+ ## 1.6.1
32
+
33
+ ### Patch Changes
34
+
35
+ - [#1193](https://github.com/hashicorp/design-system/pull/1191) [`0f76e60`](https://github.com/hashicorp/design-system/commit/0f76e60f6eb4293dc5ba1ffb75f72d7f981a8e88) Thanks [@fivetanley](https://github.com/fivetanley)! - Fix `Hds::Table` compile error for Ember 3.28 or lower
36
+
3
37
  ## 1.6.0
4
38
 
5
39
  ### Minor Changes
@@ -1 +1,5 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <div class="hds-alert__description" ...attributes>{{yield}}</div>
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <div
2
6
  class={{this.classNames}}
3
7
  role={{this.role}}
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
  import { action } from '@ember/object';
3
8
  import { assert } from '@ember/debug';
@@ -1 +1,5 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <div class="hds-alert__title" ...attributes>{{yield}}</div>
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <div class="hds-avatar" ...attributes aria-hidden="true">
2
6
  {{#if @src}}
3
7
  <img src={{@src}} alt="" role="none" />
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <div class={{this.classNames}} ...attributes>
2
6
  {{#if @icon}}
3
7
  <div class="hds-badge__icon">
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
  import { assert } from '@ember/debug';
3
8
 
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <div class={{this.classNames}} ...attributes>
2
6
  {{@text}}
3
7
  </div>
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
  import { assert } from '@ember/debug';
3
8
 
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <nav class={{this.classNames}} aria-label="breadcrumbs" ...attributes>
2
6
  <ol class="hds-breadcrumb__list" {{did-insert this.didInsert}}>
3
7
  {{yield}}
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
 
3
8
  const NOOP = () => {};
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <li class="hds-breadcrumb__item" style={{this.itemStyle}} ...attributes>
2
6
  {{#if @current}}
3
7
  <div class="hds-breadcrumb__current">
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
  import { htmlSafe } from '@ember/template';
3
8
  import { assert } from '@ember/debug';
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <li class="hds-breadcrumb__item hds-breadcrumb__item--is-truncation" ...attributes>
2
6
  <Hds::Disclosure>
3
7
  <:toggle as |t|>
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <Hds::Interactive
2
6
  class={{this.classNames}}
3
7
  @current-when={{@current-when}}
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
  import { assert } from '@ember/debug';
3
8
 
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <div class="hds-button-set" ...attributes>
2
6
  {{yield}}
3
7
  </div>
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <div class={{this.classNames}} ...attributes>
2
6
  {{yield}}
3
7
  </div>
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
  import { assert } from '@ember/debug';
3
8
 
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  {{! template-lint-disable no-invalid-interactive }}
2
6
  <div
3
7
  class="hds-disclosure"
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
  import { tracked } from '@glimmer/tracking';
3
8
  import { action } from '@ember/object';
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <button class="hds-dismiss-button" type="button" aria-label="Dismiss" ...attributes>
2
6
  <FlightIcon @name="x" @size="16" @isInlineBlock={{false}} />
3
7
  </button>
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <Hds::Disclosure class="hds-dropdown" @onClose={{@onClose}} ...attributes>
2
6
  <:toggle as |t|>
3
7
  {{yield
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
  import { assert } from '@ember/debug';
3
8
 
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <li class={{this.classNames}} ...attributes>
2
6
  {{#if @copyItemTitle}}
3
7
  <div
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
  import { assert } from '@ember/debug';
3
8
  import { tracked } from '@glimmer/tracking';
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <li class={{this.classNames}} ...attributes>
2
6
  {{this.text}}
3
7
  </li>
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
  import { assert } from '@ember/debug';
3
8
 
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <li class="hds-dropdown-list-item hds-dropdown-list-item--generic" ...attributes>
2
6
  {{yield}}
3
7
  </li>
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <li class={{this.classNames}}>
2
6
  {{#if @isLoading}}
3
7
  <div class="hds-dropdown-list-item__interactive-loading-wrapper" ...attributes>
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
  import { assert } from '@ember/debug';
3
8
 
@@ -1 +1,5 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <li class="hds-dropdown-list-item hds-dropdown-list-item--separator" role="separator" ...attributes></li>
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <li class={{this.classNames}} ...attributes>
2
6
  {{this.text}}
3
7
  </li>
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
  import { assert } from '@ember/debug';
3
8
 
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  {{!
2
6
  // >>>>>>>>>>> WARNING <<<<<<<<<<
3
7
  //
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
  import { assert } from '@ember/debug';
3
8
 
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <button
2
6
  class={{this.classNames}}
3
7
  aria-label={{this.text}}
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
  import { assert } from '@ember/debug';
3
8
 
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <div class="hds-empty-state__body" ...attributes>
2
6
  {{yield}}
3
7
  </div>
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <div class="hds-empty-state__footer" ...attributes>
2
6
  {{yield}}
3
7
  </div>
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <div class="hds-empty-state__header" ...attributes>
2
6
  {{yield}}
3
7
  </div>
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <div class="hds-empty-state" ...attributes>
2
6
  {{yield
3
7
  (hash
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <div class="hds-flyout__body" ...attributes>
2
6
  {{yield}}
3
7
  </div>
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <div class="hds-flyout__description hds-typography-body-200" ...attributes>
2
6
  {{yield}}
3
7
  </div>
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <div class="hds-flyout__header" ...attributes>
2
6
  {{#if @icon}}
3
7
  <FlightIcon class="hds-flyout__icon" @name={{@icon}} @size="24" @isInlineBlock={{false}} />
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <dialog
2
6
  class={{this.classNames}}
3
7
  ...attributes
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
  import { action } from '@ember/object';
3
8
  import { assert } from '@ember/debug';
@@ -1 +1,5 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <input type="checkbox" class="hds-form-checkbox" ...attributes value={{@value}} />
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <Hds::Form::Field
2
6
  @layout="flag"
3
7
  @contextualClass={{@contextualClass}}
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <Hds::Form::Fieldset
2
6
  @layout={{@layout}}
3
7
  @name={{@name}}
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <div class={{this.classNames}} id={{this.id}} {{did-insert this.onInsert}} ...attributes>
2
6
  <FlightIcon class="hds-form-error__icon" @name="alert-diamond-fill" />
3
7
  <div class="hds-form-error__content">
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
  export const ID_PREFIX = 'error-';
3
8
 
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <p class="hds-form-error__message" ...attributes>
2
6
  {{yield}}
3
7
  </p>
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <div class={{this.classNames}} {{did-insert this.setAriaDescribedBy}} ...attributes>
2
6
  {{yield
3
7
  (hash
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
  import { tracked } from '@glimmer/tracking';
3
8
  import { assert } from '@ember/debug';
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <fieldset class={{this.classNames}} id={{this.id}} {{did-insert this.setAriaDescribedBy}} ...attributes>
2
6
  {{yield
3
7
  (hash
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
  import { tracked } from '@glimmer/tracking';
3
8
  import { action } from '@ember/object';
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <div class={{this.classNames}} id={{this.id}} {{did-insert this.onInsert}} ...attributes>
2
6
  {{yield}}
3
7
  </div>
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
  export const ID_PREFIX = 'helper-text-';
3
8
 
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  {{#if @isOptional}}
2
6
  <span aria-hidden="true" class={{this.classNames}}>(Optional)</span>
3
7
  {{/if}}
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
 
3
8
  export default class HdsFormIndicatorIndexComponent extends Component {
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <label class={{this.classNames}} for={{@controlId}} ...attributes>
2
6
  {{yield}}
3
7
  <Hds::Form::Indicator @isRequired={{@isRequired}} @isOptional={{@isOptional}} />
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
 
3
8
  export default class HdsFormLabelIndexComponent extends Component {
@@ -1,3 +1,7 @@
1
+ {{!
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: MPL-2.0
4
+ }}
1
5
  <legend class={{this.classNames}} ...attributes>
2
6
  {{yield}}
3
7
  <Hds::Form::Indicator @isRequired={{@isRequired}} @isOptional={{@isOptional}} />
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
1
6
  import Component from '@glimmer/component';
2
7
 
3
8
  export default class HdsFormLegendIndexComponent extends Component {