@hashicorp/design-system-components 4.7.0 → 4.9.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 (223) hide show
  1. package/declarations/components/hds/alert/index.d.ts +1 -1
  2. package/declarations/components/hds/alert/index.d.ts.map +1 -1
  3. package/declarations/components/hds/app-header/home-link.d.ts +19 -0
  4. package/declarations/components/hds/app-header/home-link.d.ts.map +1 -0
  5. package/declarations/components/hds/app-header/index.d.ts +32 -0
  6. package/declarations/components/hds/app-header/index.d.ts.map +1 -0
  7. package/declarations/components/hds/app-header/menu-button.d.ts +19 -0
  8. package/declarations/components/hds/app-header/menu-button.d.ts.map +1 -0
  9. package/declarations/components/hds/application-state/footer.d.ts +7 -17
  10. package/declarations/components/hds/application-state/footer.d.ts.map +1 -1
  11. package/declarations/components/hds/application-state/header.d.ts +6 -3
  12. package/declarations/components/hds/application-state/header.d.ts.map +1 -1
  13. package/declarations/components/hds/application-state/index.d.ts +12 -3
  14. package/declarations/components/hds/application-state/index.d.ts.map +1 -1
  15. package/declarations/components/hds/application-state/media.d.ts +14 -0
  16. package/declarations/components/hds/application-state/media.d.ts.map +1 -0
  17. package/declarations/components/hds/application-state/types.d.ts +10 -0
  18. package/declarations/components/hds/application-state/types.d.ts.map +1 -0
  19. package/declarations/components/hds/badge-count/index.d.ts +1 -2
  20. package/declarations/components/hds/badge-count/index.d.ts.map +1 -1
  21. package/declarations/components/hds/breadcrumb/index.d.ts +18 -4
  22. package/declarations/components/hds/breadcrumb/index.d.ts.map +1 -1
  23. package/declarations/components/hds/breadcrumb/item.d.ts +26 -5
  24. package/declarations/components/hds/breadcrumb/item.d.ts.map +1 -1
  25. package/declarations/components/hds/breadcrumb/truncation.d.ts +15 -3
  26. package/declarations/components/hds/breadcrumb/truncation.d.ts.map +1 -1
  27. package/declarations/components/hds/code-block/copy-button.d.ts +17 -1
  28. package/declarations/components/hds/code-block/copy-button.d.ts.map +1 -1
  29. package/declarations/components/hds/code-block/description.d.ts +14 -1
  30. package/declarations/components/hds/code-block/description.d.ts.map +1 -1
  31. package/declarations/components/hds/code-block/index.d.ts +48 -6
  32. package/declarations/components/hds/code-block/index.d.ts.map +1 -1
  33. package/declarations/components/hds/code-block/title.d.ts +14 -1
  34. package/declarations/components/hds/code-block/title.d.ts.map +1 -1
  35. package/declarations/components/hds/code-block/types.d.ts +16 -0
  36. package/declarations/components/hds/code-block/types.d.ts.map +1 -0
  37. package/declarations/components/hds/copy/snippet/index.d.ts +1 -2
  38. package/declarations/components/hds/copy/snippet/index.d.ts.map +1 -1
  39. package/declarations/components/hds/dropdown/footer.d.ts +16 -1
  40. package/declarations/components/hds/dropdown/footer.d.ts.map +1 -1
  41. package/declarations/components/hds/dropdown/header.d.ts +16 -1
  42. package/declarations/components/hds/dropdown/header.d.ts.map +1 -1
  43. package/declarations/components/hds/dropdown/index.d.ts +56 -7
  44. package/declarations/components/hds/dropdown/index.d.ts.map +1 -1
  45. package/declarations/components/hds/dropdown/list-item/checkbox.d.ts +18 -3
  46. package/declarations/components/hds/dropdown/list-item/checkbox.d.ts.map +1 -1
  47. package/declarations/components/hds/dropdown/list-item/checkmark.d.ts +19 -3
  48. package/declarations/components/hds/dropdown/list-item/checkmark.d.ts.map +1 -1
  49. package/declarations/components/hds/dropdown/list-item/copy-item.d.ts +17 -5
  50. package/declarations/components/hds/dropdown/list-item/copy-item.d.ts.map +1 -1
  51. package/declarations/components/hds/dropdown/list-item/description.d.ts +13 -3
  52. package/declarations/components/hds/dropdown/list-item/description.d.ts.map +1 -1
  53. package/declarations/components/hds/dropdown/list-item/generic.d.ts +13 -1
  54. package/declarations/components/hds/dropdown/list-item/generic.d.ts.map +1 -1
  55. package/declarations/components/hds/dropdown/list-item/interactive.d.ts +23 -6
  56. package/declarations/components/hds/dropdown/list-item/interactive.d.ts.map +1 -1
  57. package/declarations/components/hds/dropdown/list-item/radio.d.ts +18 -3
  58. package/declarations/components/hds/dropdown/list-item/radio.d.ts.map +1 -1
  59. package/declarations/components/hds/dropdown/list-item/separator.d.ts +10 -1
  60. package/declarations/components/hds/dropdown/list-item/separator.d.ts.map +1 -1
  61. package/declarations/components/hds/dropdown/list-item/title.d.ts +13 -3
  62. package/declarations/components/hds/dropdown/list-item/title.d.ts.map +1 -1
  63. package/declarations/components/hds/dropdown/list-item/types.d.ts +10 -0
  64. package/declarations/components/hds/dropdown/list-item/types.d.ts.map +1 -0
  65. package/declarations/components/hds/dropdown/toggle/button.d.ts +34 -11
  66. package/declarations/components/hds/dropdown/toggle/button.d.ts.map +1 -1
  67. package/declarations/components/hds/dropdown/toggle/chevron.d.ts +9 -1
  68. package/declarations/components/hds/dropdown/toggle/chevron.d.ts.map +1 -1
  69. package/declarations/components/hds/dropdown/toggle/icon.d.ts +27 -8
  70. package/declarations/components/hds/dropdown/toggle/icon.d.ts.map +1 -1
  71. package/declarations/components/hds/dropdown/toggle/types.d.ts +20 -0
  72. package/declarations/components/hds/dropdown/toggle/types.d.ts.map +1 -0
  73. package/declarations/components/hds/dropdown/types.d.ts +12 -0
  74. package/declarations/components/hds/dropdown/types.d.ts.map +1 -0
  75. package/declarations/components/hds/flyout/index.d.ts.map +1 -1
  76. package/declarations/components/hds/flyout/types.d.ts +4 -0
  77. package/declarations/components/hds/flyout/types.d.ts.map +1 -1
  78. package/declarations/components/hds/form/checkbox/base.d.ts +1 -1
  79. package/declarations/components/hds/form/checkbox/base.d.ts.map +1 -1
  80. package/declarations/components/hds/icon/index.d.ts +37 -0
  81. package/declarations/components/hds/icon/index.d.ts.map +1 -0
  82. package/declarations/components/hds/icon/types.d.ts +29 -0
  83. package/declarations/components/hds/icon/types.d.ts.map +1 -0
  84. package/declarations/components/hds/icon-tile/index.d.ts +1 -1
  85. package/declarations/components/hds/icon-tile/index.d.ts.map +1 -1
  86. package/declarations/components/hds/link/standalone.d.ts +1 -1
  87. package/declarations/components/hds/link/standalone.d.ts.map +1 -1
  88. package/declarations/components/hds/menu-primitive/index.d.ts +32 -9
  89. package/declarations/components/hds/menu-primitive/index.d.ts.map +1 -1
  90. package/declarations/components/hds/modal/index.d.ts.map +1 -1
  91. package/declarations/components/hds/popover-primitive/index.d.ts.map +1 -1
  92. package/declarations/components/hds/segmented-group/index.d.ts +27 -1
  93. package/declarations/components/hds/segmented-group/index.d.ts.map +1 -1
  94. package/declarations/components/hds/side-nav/index.d.ts +1 -0
  95. package/declarations/components/hds/side-nav/index.d.ts.map +1 -1
  96. package/declarations/components/hds/tooltip-button/index.d.ts +23 -5
  97. package/declarations/components/hds/tooltip-button/index.d.ts.map +1 -1
  98. package/declarations/components/hds/tooltip-button/types.d.ts +20 -0
  99. package/declarations/components/hds/tooltip-button/types.d.ts.map +1 -0
  100. package/declarations/components.d.ts +17 -1
  101. package/declarations/components.d.ts.map +1 -1
  102. package/declarations/modifiers/hds-tooltip.d.ts +24 -8
  103. package/declarations/modifiers/hds-tooltip.d.ts.map +1 -1
  104. package/declarations/template-registry.d.ts +92 -0
  105. package/declarations/template-registry.d.ts.map +1 -1
  106. package/dist/_app_/components/hds/app-header/home-link.js +1 -0
  107. package/dist/_app_/components/hds/app-header/index.js +1 -0
  108. package/dist/_app_/components/hds/app-header/menu-button.js +1 -0
  109. package/dist/_app_/components/hds/application-state/media.js +1 -0
  110. package/dist/_app_/components/hds/icon/index.js +1 -0
  111. package/dist/components/hds/alert/index.js.map +1 -1
  112. package/dist/components/hds/app-header/home-link.js +25 -0
  113. package/dist/components/hds/app-header/home-link.js.map +1 -0
  114. package/dist/components/hds/app-header/index.js +88 -0
  115. package/dist/components/hds/app-header/index.js.map +1 -0
  116. package/dist/components/hds/app-header/menu-button.js +26 -0
  117. package/dist/components/hds/app-header/menu-button.js.map +1 -0
  118. package/dist/components/hds/application-state/footer.js +5 -31
  119. package/dist/components/hds/application-state/footer.js.map +1 -1
  120. package/dist/components/hds/application-state/header.js +9 -5
  121. package/dist/components/hds/application-state/header.js.map +1 -1
  122. package/dist/components/hds/application-state/index.js +21 -5
  123. package/dist/components/hds/application-state/index.js.map +1 -1
  124. package/dist/components/hds/application-state/media.js +16 -0
  125. package/dist/components/hds/application-state/media.js.map +1 -0
  126. package/dist/components/hds/application-state/types.js +13 -0
  127. package/dist/components/hds/application-state/types.js.map +1 -0
  128. package/dist/components/hds/badge-count/index.js.map +1 -1
  129. package/dist/components/hds/breadcrumb/index.js +3 -3
  130. package/dist/components/hds/breadcrumb/index.js.map +1 -1
  131. package/dist/components/hds/breadcrumb/item.js +3 -3
  132. package/dist/components/hds/breadcrumb/item.js.map +1 -1
  133. package/dist/components/hds/breadcrumb/truncation.js +1 -1
  134. package/dist/components/hds/breadcrumb/truncation.js.map +1 -1
  135. package/dist/components/hds/code-block/copy-button.js +8 -2
  136. package/dist/components/hds/code-block/copy-button.js.map +1 -1
  137. package/dist/components/hds/code-block/description.js +8 -2
  138. package/dist/components/hds/code-block/description.js.map +1 -1
  139. package/dist/components/hds/code-block/index.js +12 -10
  140. package/dist/components/hds/code-block/index.js.map +1 -1
  141. package/dist/components/hds/code-block/title.js +8 -2
  142. package/dist/components/hds/code-block/title.js.map +1 -1
  143. package/dist/components/hds/code-block/types.js +19 -0
  144. package/dist/components/hds/code-block/types.js.map +1 -0
  145. package/dist/components/hds/copy/snippet/index.js.map +1 -1
  146. package/dist/components/hds/dialog-primitive/header.js.map +1 -1
  147. package/dist/components/hds/dropdown/footer.js +8 -2
  148. package/dist/components/hds/dropdown/footer.js.map +1 -1
  149. package/dist/components/hds/dropdown/header.js +8 -2
  150. package/dist/components/hds/dropdown/header.js.map +1 -1
  151. package/dist/components/hds/dropdown/index.js +13 -10
  152. package/dist/components/hds/dropdown/index.js.map +1 -1
  153. package/dist/components/hds/dropdown/list-item/checkbox.js +1 -1
  154. package/dist/components/hds/dropdown/list-item/checkbox.js.map +1 -1
  155. package/dist/components/hds/dropdown/list-item/checkmark.js +2 -2
  156. package/dist/components/hds/dropdown/list-item/checkmark.js.map +1 -1
  157. package/dist/components/hds/dropdown/list-item/copy-item.js +4 -4
  158. package/dist/components/hds/dropdown/list-item/copy-item.js.map +1 -1
  159. package/dist/components/hds/dropdown/list-item/description.js +2 -2
  160. package/dist/components/hds/dropdown/list-item/description.js.map +1 -1
  161. package/dist/components/hds/dropdown/list-item/generic.js +8 -2
  162. package/dist/components/hds/dropdown/list-item/generic.js.map +1 -1
  163. package/dist/components/hds/dropdown/list-item/interactive.js +7 -6
  164. package/dist/components/hds/dropdown/list-item/interactive.js.map +1 -1
  165. package/dist/components/hds/dropdown/list-item/radio.js +1 -1
  166. package/dist/components/hds/dropdown/list-item/radio.js.map +1 -1
  167. package/dist/components/hds/dropdown/list-item/separator.js +8 -2
  168. package/dist/components/hds/dropdown/list-item/separator.js.map +1 -1
  169. package/dist/components/hds/dropdown/list-item/title.js +2 -2
  170. package/dist/components/hds/dropdown/list-item/title.js.map +1 -1
  171. package/dist/components/hds/dropdown/list-item/types.js +13 -0
  172. package/dist/components/hds/dropdown/list-item/types.js.map +1 -0
  173. package/dist/components/hds/dropdown/toggle/button.js +11 -10
  174. package/dist/components/hds/dropdown/toggle/button.js.map +1 -1
  175. package/dist/components/hds/dropdown/toggle/chevron.js +8 -2
  176. package/dist/components/hds/dropdown/toggle/chevron.js.map +1 -1
  177. package/dist/components/hds/dropdown/toggle/icon.js +10 -9
  178. package/dist/components/hds/dropdown/toggle/icon.js.map +1 -1
  179. package/dist/components/hds/dropdown/toggle/types.js +23 -0
  180. package/dist/components/hds/dropdown/toggle/types.js.map +1 -0
  181. package/dist/components/hds/dropdown/types.js +15 -0
  182. package/dist/components/hds/dropdown/types.js.map +1 -0
  183. package/dist/components/hds/flyout/index.js.map +1 -1
  184. package/dist/components/hds/flyout/types.js +5 -0
  185. package/dist/components/hds/flyout/types.js.map +1 -1
  186. package/dist/components/hds/form/checkbox/base.js.map +1 -1
  187. package/dist/components/hds/icon/index.js +89 -0
  188. package/dist/components/hds/icon/index.js.map +1 -0
  189. package/dist/components/hds/icon/types.js +31 -0
  190. package/dist/components/hds/icon/types.js.map +1 -0
  191. package/dist/components/hds/icon-tile/index.js.map +1 -1
  192. package/dist/components/hds/link/standalone.js.map +1 -1
  193. package/dist/components/hds/menu-primitive/index.js +13 -7
  194. package/dist/components/hds/menu-primitive/index.js.map +1 -1
  195. package/dist/components/hds/modal/index.js.map +1 -1
  196. package/dist/components/hds/popover-primitive/index.js.map +1 -1
  197. package/dist/components/hds/segmented-group/index.js +8 -2
  198. package/dist/components/hds/segmented-group/index.js.map +1 -1
  199. package/dist/components/hds/side-nav/base.js +1 -1
  200. package/dist/components/hds/side-nav/base.js.map +1 -1
  201. package/dist/components/hds/side-nav/header/index.js +1 -1
  202. package/dist/components/hds/side-nav/header/index.js.map +1 -1
  203. package/dist/components/hds/side-nav/index.js +6 -1
  204. package/dist/components/hds/side-nav/index.js.map +1 -1
  205. package/dist/components/hds/tooltip-button/index.js +8 -8
  206. package/dist/components/hds/tooltip-button/index.js.map +1 -1
  207. package/dist/components/hds/tooltip-button/types.js +23 -0
  208. package/dist/components/hds/tooltip-button/types.js.map +1 -0
  209. package/dist/components.js +16 -0
  210. package/dist/components.js.map +1 -1
  211. package/dist/modifiers/hds-tooltip.js +42 -27
  212. package/dist/modifiers/hds-tooltip.js.map +1 -1
  213. package/dist/styles/@hashicorp/design-system-components.css +714 -58
  214. package/dist/styles/@hashicorp/design-system-components.scss +2 -0
  215. package/dist/styles/components/app-frame.scss +13 -0
  216. package/dist/styles/components/app-header.scss +106 -0
  217. package/dist/styles/components/application-state.scss +56 -15
  218. package/dist/styles/components/icon.scss +41 -0
  219. package/dist/styles/components/side-nav/header.scss +13 -41
  220. package/dist/styles/components/side-nav/main.scss +29 -1
  221. package/dist/styles/components/side-nav/toggle-button.scss +6 -1
  222. package/dist/styles/mixins/_interactive-dark-theme.scss +106 -0
  223. package/package.json +9 -2
@@ -71,7 +71,7 @@ export default class HdsAlertComponent extends Component<HdsAlertSignature> {
71
71
  * @type {string}
72
72
  * @description ensures that the correct icon size is used. Automatically calculated.
73
73
  */
74
- get iconSize(): '16' | '24';
74
+ get iconSize(): FlightIconSignature['Args']['size'];
75
75
  /**
76
76
  * Get the class names to apply to the component.
77
77
  * @method Alert#classNames
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/alert/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAM3C,OAAO,EAAE,mBAAmB,EAAsB,MAAM,YAAY,CAAC;AAErE,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,KAAK,kBAAkB,MAAM,WAAW,CAAC;AAChD,OAAO,KAAK,0BAA0B,MAAM,oBAAoB,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAEhG,eAAO,MAAM,KAAK,EAAE,MAAM,EAAsC,CAAC;AACjE,eAAO,MAAM,aAAa,8BAA8B,CAAC;AACzD,eAAO,MAAM,MAAM,EAAE,MAAM,EAAuC,CAAC;AAEnE,eAAO,MAAM,uBAAuB;;;;;;CAM1B,CAAC;AAMX,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE;QACJ,IAAI,EAAE,aAAa,CAAC;QACpB,KAAK,CAAC,EAAE,cAAc,CAAC;QACvB,IAAI,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC;QAEnD,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,I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CAAC;gBAC3C,cAAc,CAAC,EAAE,aAAa,CAC5B,OAAO,0BAA0B,EACjC,MAAM,CACP,CAAC;gBACF,MAAM,CAAC,EAAE,aAAa,CAAC,OAAO,kBAAkB,EAAE,MAAM,CAAC,CAAC;aAC3D;SACF,CAAC;KACH,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,SAAS,CAAC,iBAAiB,CAAC;IAChE,IAAI,SAAW;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;gBAErB,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC;IAW3D;;;;;OAKG;IACH,IAAI,KAAK,IAAI,cAAc,CAW1B;IAED;;;;;OAKG;IACH,IAAI,IAAI,IAAI,mBAAmB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,GAAG,KAAK,CAwBtD;IAED;;;;OAIG;IAEH,IAAI,SAAS,IAAI,CAAC,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC,GAAG,KAAK,CAQrE;IAED;;;;OAIG;IACH,IAAI,QAAQ,IAAI,mBAAmB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAMlD;IAED;;;;OAIG;IACH,IAAI,UAAU,IAAI,MAAM,CAUvB;IAGD,SAAS,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;CAsFzC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+ import Component from '@glimmer/component';
6
+ import type { FlightIconSignature } from '@hashicorp/ember-flight-icons/components/flight-icon';
7
+ import type { HdsInteractiveSignature } from '../interactive/';
8
+ export interface HdsAppHeaderHomeLinkSignature {
9
+ Args: HdsInteractiveSignature['Args'] & {
10
+ icon: FlightIconSignature['Args']['name'];
11
+ color?: string;
12
+ ariaLabel: string;
13
+ };
14
+ Element: HdsInteractiveSignature['Element'];
15
+ }
16
+ export default class HdsAppHeaderHomeLinkComponent extends Component<HdsAppHeaderHomeLinkSignature> {
17
+ get ariaLabel(): string;
18
+ }
19
+ //# sourceMappingURL=home-link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"home-link.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/app-header/home-link.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAG3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAChG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAE/D,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,uBAAuB,CAAC,MAAM,CAAC,GAAG;QACtC,IAAI,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;QAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,OAAO,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC;CAC7C;AAED,MAAM,CAAC,OAAO,OAAO,6BAA8B,SAAQ,SAAS,CAAC,6BAA6B,CAAC;IACjG,IAAI,SAAS,IAAI,MAAM,CAStB;CAqBF"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+ import Component from '@glimmer/component';
6
+ export interface HdsAppHeaderSignature {
7
+ Args: {
8
+ breakpoint?: string;
9
+ };
10
+ Blocks: {
11
+ logo?: [];
12
+ globalActions?: [];
13
+ utilityActions?: [];
14
+ };
15
+ Element: HTMLDivElement;
16
+ }
17
+ export default class HdsAppHeaderComponent extends Component<HdsAppHeaderSignature> {
18
+ isOpen: boolean;
19
+ isDesktop: boolean;
20
+ desktopMQ: MediaQueryList;
21
+ menuContentId: string;
22
+ desktopMQVal: string;
23
+ constructor(owner: unknown, args: Record<string, never>);
24
+ addEventListeners(): void;
25
+ removeEventListeners(): void;
26
+ get showItems(): boolean;
27
+ get classNames(): string;
28
+ escapePress(event: KeyboardEvent): void;
29
+ onClickToggle(): void;
30
+ updateDesktopVariable(event: MediaQueryListEvent): void;
31
+ }
32
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/app-header/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAM3C,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE;QACJ,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,MAAM,EAAE;QACN,IAAI,CAAC,EAAE,EAAE,CAAC;QACV,aAAa,CAAC,EAAE,EAAE,CAAC;QACnB,cAAc,CAAC,EAAE,EAAE,CAAC;KACrB,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,SAAS,CAAC,qBAAqB,CAAC;IACxE,MAAM,UAAS;IACf,SAAS,UAAQ;IAC1B,SAAS,EAAE,cAAc,CAAC;IAG1B,aAAa,SAAuC;IAEpD,YAAY,SAIR;gBAEQ,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC;IASvD,iBAAiB,IAAI,IAAI;IAYzB,oBAAoB,IAAI,IAAI;IAU5B,IAAI,SAAS,IAAI,OAAO,CAEvB;IAGD,IAAI,UAAU,IAAI,MAAM,CAUvB;IAGD,WAAW,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAOvC,aAAa,IAAI,IAAI;IAKrB,qBAAqB,CAAC,KAAK,EAAE,mBAAmB,GAAG,IAAI;CAkDxD"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+ import Component from '@glimmer/component';
6
+ import type { HdsButtonSignature } from '../button/';
7
+ export interface HdsAppHeaderMenuButtonSignature {
8
+ Args: {
9
+ isOpen?: boolean;
10
+ menuContentId: string;
11
+ onClickToggle?: () => void;
12
+ };
13
+ Element: HdsButtonSignature['Element'];
14
+ }
15
+ export default class HdsAppHeaderMenuButtonComponent extends Component<HdsAppHeaderMenuButtonSignature> {
16
+ get icon(): 'x' | 'menu';
17
+ onClick(): void;
18
+ }
19
+ //# sourceMappingURL=menu-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu-button.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/app-header/menu-button.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAG3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD,MAAM,WAAW,+BAA+B;IAC9C,IAAI,EAAE;QACJ,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,aAAa,EAAE,MAAM,CAAC;QACtB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;KAC5B,CAAC;IACF,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;CACxC;AAED,MAAM,CAAC,OAAO,OAAO,+BAAgC,SAAQ,SAAS,CAAC,+BAA+B,CAAC;IACrG,IAAI,IAAI,IAAI,GAAG,GAAG,MAAM,CAEvB;IAGD,OAAO,IAAI,IAAI;CAqBhB"}
@@ -2,9 +2,11 @@
2
2
  * Copyright (c) HashiCorp, Inc.
3
3
  * SPDX-License-Identifier: MPL-2.0
4
4
  */
5
- import Component from '@glimmer/component';
5
+ /// <reference types="ember-source/types/stable/@ember/component/template-only" />
6
6
  import type { ComponentLike } from '@glint/template';
7
7
  import type { HdsLinkStandaloneSignature } from '../link/standalone';
8
+ import type { HdsButtonSignature } from '../button';
9
+ import type { HdsDropdownSignature } from 'src/components/hds/dropdown';
8
10
  export interface HdsApplicationStateFooterSignature {
9
11
  Args: {
10
12
  hasDivider?: boolean;
@@ -12,26 +14,14 @@ export interface HdsApplicationStateFooterSignature {
12
14
  Blocks: {
13
15
  default?: [
14
16
  {
17
+ Button?: ComponentLike<HdsButtonSignature>;
18
+ Dropdown?: ComponentLike<HdsDropdownSignature>;
15
19
  LinkStandalone?: ComponentLike<HdsLinkStandaloneSignature>;
16
20
  }
17
21
  ];
18
22
  };
19
23
  Element: HTMLDivElement;
20
24
  }
21
- export default class HdsApplicationStateFooterComponent extends Component<HdsApplicationStateFooterSignature> {
22
- /**
23
- * Indicate if the footer should have a top border or not.
24
- *
25
- * @param hasDivider
26
- * @type {boolean}
27
- * @default false
28
- */
29
- get hasDivider(): boolean;
30
- /**
31
- * Get the class names to apply to the component.
32
- * @method classNames
33
- * @return {string} The "class" attribute to apply to the component.
34
- */
35
- get classNames(): string;
36
- }
25
+ declare const HdsApplicationStateFooterComponent: import("@ember/component/template-only").TemplateOnlyComponent<HdsApplicationStateFooterSignature>;
26
+ export default HdsApplicationStateFooterComponent;
37
27
  //# sourceMappingURL=footer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/application-state/footer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAC3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAErE,MAAM,WAAW,kCAAkC;IACjD,IAAI,EAAE;QACJ,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,MAAM,EAAE;QACN,OAAO,CAAC,EAAE;YACR;gBACE,cAAc,CAAC,EAAE,aAAa,CAAC,0BAA0B,CAAC,CAAC;aAC5D;SACF,CAAC;KACH,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,OAAO,kCAAmC,SAAQ,SAAS,CAAC,kCAAkC,CAAC;IAC3G;;;;;;OAMG;IACH,IAAI,UAAU,IAAI,OAAO,CAExB;IAED;;;;OAIG;IACH,IAAI,UAAU,IAAI,MAAM,CASvB;CAeF"}
1
+ {"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/application-state/footer.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAExE,MAAM,WAAW,kCAAkC;IACjD,IAAI,EAAE;QACJ,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,MAAM,EAAE;QACN,OAAO,CAAC,EAAE;YACR;gBACE,MAAM,CAAC,EAAE,aAAa,CAAC,kBAAkB,CAAC,CAAC;gBAC3C,QAAQ,CAAC,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAC;gBAC/C,cAAc,CAAC,EAAE,aAAa,CAAC,0BAA0B,CAAC,CAAC;aAC5D;SACF,CAAC;KACH,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,QAAA,MAAM,kCAAkC,oGACqB,CAAC;AAE9D,eAAe,kCAAkC,CAAC"}
@@ -2,16 +2,19 @@
2
2
  * Copyright (c) HashiCorp, Inc.
3
3
  * SPDX-License-Identifier: MPL-2.0
4
4
  */
5
- /// <reference types="ember-source/types/stable/@ember/component/template-only" />
5
+ import Component from '@glimmer/component';
6
6
  import type { FlightIconSignature } from '@hashicorp/ember-flight-icons/components/flight-icon';
7
+ import type { HdsTextDisplaySignature } from '../text/display';
7
8
  export interface HdsApplicationStateHeaderSignature {
8
9
  Args: {
9
10
  title?: string;
11
+ titleTag?: HdsTextDisplaySignature['Args']['tag'];
10
12
  errorCode?: string;
11
13
  icon?: FlightIconSignature['Args']['name'];
12
14
  };
13
15
  Element: HTMLDivElement;
14
16
  }
15
- declare const HdsApplicationStateHeaderComponent: import("@ember/component/template-only").TemplateOnlyComponent<HdsApplicationStateHeaderSignature>;
16
- export default HdsApplicationStateHeaderComponent;
17
+ export default class HdsApplicationStateHeaderComponent extends Component<HdsApplicationStateHeaderSignature> {
18
+ get titleTag(): keyof HTMLElementTagNameMap;
19
+ }
17
20
  //# sourceMappingURL=header.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/application-state/header.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAEhG,MAAM,WAAW,kCAAkC;IACjD,IAAI,EAAE;QACJ,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,IAAI,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;KAC5C,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,QAAA,MAAM,kCAAkC,oGACqB,CAAC;AAE9D,eAAe,kCAAkC,CAAC"}
1
+ {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/application-state/header.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAE3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAChG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,MAAM,WAAW,kCAAkC;IACjD,IAAI,EAAE;QACJ,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,uBAAuB,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC;QAClD,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,IAAI,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;KAC5C,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,OAAO,kCAAmC,SAAQ,SAAS,CAAC,kCAAkC,CAAC;IAC3G,IAAI,QAAQ,gCAEX;CAgDF"}
@@ -2,15 +2,22 @@
2
2
  * Copyright (c) HashiCorp, Inc.
3
3
  * SPDX-License-Identifier: MPL-2.0
4
4
  */
5
- /// <reference types="ember-source/types/stable/@ember/component/template-only" />
5
+ import Component from '@glimmer/component';
6
6
  import type { ComponentLike } from '@glint/template';
7
+ import type { HdsApplicationStateAligns } from './types';
8
+ import type { HdsApplicationStateMediaSignature } from './media';
7
9
  import type { HdsApplicationStateHeaderSignature } from './header';
8
10
  import type { HdsApplicationStateBodySignature } from './body';
9
11
  import type { HdsApplicationStateFooterSignature } from './footer';
12
+ export declare const ALIGNS: string[];
10
13
  export interface HdsApplicationStateSignature {
14
+ Args: {
15
+ align?: HdsApplicationStateAligns;
16
+ };
11
17
  Blocks: {
12
18
  default: [
13
19
  {
20
+ Media?: ComponentLike<HdsApplicationStateMediaSignature>;
14
21
  Header?: ComponentLike<HdsApplicationStateHeaderSignature>;
15
22
  Body?: ComponentLike<HdsApplicationStateBodySignature>;
16
23
  Footer?: ComponentLike<HdsApplicationStateFooterSignature>;
@@ -19,6 +26,8 @@ export interface HdsApplicationStateSignature {
19
26
  };
20
27
  Element: HTMLDivElement;
21
28
  }
22
- declare const HdsApplicationStateComponent: import("@ember/component/template-only").TemplateOnlyComponent<HdsApplicationStateSignature>;
23
- export default HdsApplicationStateComponent;
29
+ export default class HdsApplicationStateComponent extends Component<HdsApplicationStateSignature> {
30
+ get align(): HdsApplicationStateAligns;
31
+ get classNames(): string;
32
+ }
24
33
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/application-state/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,UAAU,CAAC;AACnE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,QAAQ,CAAC;AAC/D,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,UAAU,CAAC;AAEnE,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE;QACN,OAAO,EAAE;YACP;gBACE,MAAM,CAAC,EAAE,aAAa,CAAC,kCAAkC,CAAC,CAAC;gBAC3D,IAAI,CAAC,EAAE,aAAa,CAAC,gCAAgC,CAAC,CAAC;gBACvD,MAAM,CAAC,EAAE,aAAa,CAAC,kCAAkC,CAAC,CAAC;aAC5D;SACF,CAAC;KACH,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,QAAA,MAAM,4BAA4B,8FACqB,CAAC;AAExD,eAAe,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/application-state/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAI3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AACzD,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,SAAS,CAAC;AACjE,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,UAAU,CAAC;AACnE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,QAAQ,CAAC;AAC/D,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,UAAU,CAAC;AAEnE,eAAO,MAAM,MAAM,EAAE,MAAM,EAAkD,CAAC;AAC9E,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE;QACJ,KAAK,CAAC,EAAE,yBAAyB,CAAC;KACnC,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE;YACP;gBACE,KAAK,CAAC,EAAE,aAAa,CAAC,iCAAiC,CAAC,CAAC;gBACzD,MAAM,CAAC,EAAE,aAAa,CAAC,kCAAkC,CAAC,CAAC;gBAC3D,IAAI,CAAC,EAAE,aAAa,CAAC,gCAAgC,CAAC,CAAC;gBACvD,MAAM,CAAC,EAAE,aAAa,CAAC,kCAAkC,CAAC,CAAC;aAC5D;SACF,CAAC;KACH,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,OAAO,4BAA6B,SAAQ,SAAS,CAAC,4BAA4B,CAAC;IAC/F,IAAI,KAAK,IAAI,yBAAyB,CAarC;IAED,IAAI,UAAU,IAAI,MAAM,CAOvB;CAkBF"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+ /// <reference types="ember-source/types/stable/@ember/component/template-only" />
6
+ export interface HdsApplicationStateMediaSignature {
7
+ Blocks: {
8
+ default: [];
9
+ };
10
+ Element: HTMLDivElement;
11
+ }
12
+ declare const HdsApplicationStateMediaComponent: import("@ember/component/template-only").TemplateOnlyComponent<HdsApplicationStateMediaSignature>;
13
+ export default HdsApplicationStateMediaComponent;
14
+ //# sourceMappingURL=media.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/application-state/media.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,MAAM,WAAW,iCAAiC;IAChD,MAAM,EAAE;QACN,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,QAAA,MAAM,iCAAiC,mGACqB,CAAC;AAE7D,eAAe,iCAAiC,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+ export declare enum HdsApplicationStateAlignValues {
6
+ Left = "left",
7
+ Center = "center"
8
+ }
9
+ export type HdsApplicationStateAligns = `${HdsApplicationStateAlignValues}`;
10
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/application-state/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,oBAAY,8BAA8B;IACxC,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AACD,MAAM,MAAM,yBAAyB,GAAG,GAAG,8BAA8B,EAAE,CAAC"}
@@ -11,7 +11,7 @@ export declare const COLORS: string[];
11
11
  export declare const DEFAULT_SIZE = HdsBadgeCountSizeValues.Medium;
12
12
  export declare const DEFAULT_TYPE = HdsBadgeCountTypeValues.Filled;
13
13
  export declare const DEFAULT_COLOR = HdsBadgeCountColorValues.Neutral;
14
- interface HdsBadgeCountSignature {
14
+ export interface HdsBadgeCountSignature {
15
15
  Args: {
16
16
  size?: HdsBadgeCountSizes;
17
17
  type?: HdsBadgeCountTypes;
@@ -55,5 +55,4 @@ export default class HdsBadgeCountComponent extends Component<HdsBadgeCountSigna
55
55
  */
56
56
  get classNames(): string;
57
57
  }
58
- export {};
59
58
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/badge-count/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAG3C,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,YAAY,CAAC;AAEpB,eAAO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AAC;AACxE,eAAO,MAAM,YAAY,iCAAiC,CAAC;AAC3D,eAAO,MAAM,YAAY,iCAAiC,CAAC;AAC3D,eAAO,MAAM,aAAa,mCAAmC,CAAC;AAE9D,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE;QACJ,IAAI,CAAC,EAAE,kBAAkB,CAAC;QAC1B,IAAI,CAAC,EAAE,kBAAkB,CAAC;QAC1B,KAAK,CAAC,EAAE,mBAAmB,CAAC;QAC5B,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,SAAS,CAAC,sBAAsB,CAAC;IACnF;;;;;;;OAOG;IACH,IAAI,IAAI,IAAI,kBAAkB,CAW7B;IAED;;;;;;;OAOG;IACH,IAAI,IAAI,IAAI,kBAAkB,CAW7B;IAED;;;;;;;OAOG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAW/B;IAED;;;;OAIG;IACH,IAAI,UAAU,IAAI,MAAM,CAavB;CAaF"}
@@ -1,11 +1,26 @@
1
- export default class HdsBreadcrumbComponent extends Component<any> {
2
- constructor(owner: unknown, args: any);
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+ import Component from '@glimmer/component';
6
+ export interface HdsBreadcrumbSignature {
7
+ Args: {
8
+ ariaLabel?: string;
9
+ itemsCanWrap?: boolean;
10
+ didInsert?: () => void;
11
+ };
12
+ Blocks: {
13
+ default: [];
14
+ };
15
+ Element: HTMLElement;
16
+ }
17
+ export default class HdsBreadcrumbComponent extends Component<HdsBreadcrumbSignature> {
3
18
  /**
4
19
  * @param onDidInsert
5
20
  * @type {function}
6
21
  * @default () => {}
7
22
  */
8
- get didInsert(): Function;
23
+ get didInsert(): () => void;
9
24
  /**
10
25
  * @param itemsCanWrap
11
26
  * @type {boolean}
@@ -25,5 +40,4 @@ export default class HdsBreadcrumbComponent extends Component<any> {
25
40
  */
26
41
  get classNames(): string;
27
42
  }
28
- import Component from '@glimmer/component';
29
43
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/breadcrumb/index.js"],"names":[],"mappings":"AASA;IAuEi9I,uCAAwU;IAtEvxJ;;;;OAIG;IACH,0BAQC;IAED;;;;OAIG;IACH,4BAEC;IAED;;;;OAIG;IACH,wBAEC;IAED;;;;OAIG;IACH,yBASC;CAsBF;sBA1EqB,oBAAoB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/breadcrumb/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAE3C,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE;QACJ,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;KACxB,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;IACF,OAAO,EAAE,WAAW,CAAC;CACtB;AAID,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,SAAS,CAAC,sBAAsB,CAAC;IACnF;;;;OAIG;IACH,IAAI,SAAS,IAAI,MAAM,IAAI,CAQ1B;IAED;;;;OAIG;IACH,IAAI,YAAY,IAAI,OAAO,CAE1B;IAED;;;;OAIG;IACH,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED;;;;OAIG;IACH,IAAI,UAAU,IAAI,MAAM,CASvB;CAqBF"}
@@ -1,18 +1,40 @@
1
- export default class HdsBreadcrumbItemComponent extends Component<any> {
2
- constructor(owner: unknown, args: any);
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+ import Component from '@glimmer/component';
6
+ import type { SafeString } from '@ember/template/-private/handlebars';
7
+ import type { FlightIconSignature } from '@hashicorp/ember-flight-icons/components/flight-icon';
8
+ export interface HdsBreadcrumbItemSignature {
9
+ Args: {
10
+ current?: boolean;
11
+ maxWidth?: string;
12
+ text: string;
13
+ isRouteExternal?: boolean;
14
+ icon?: FlightIconSignature['Args']['name'];
15
+ route?: string;
16
+ models?: Array<string | number>;
17
+ model?: string | number;
18
+ query?: Record<string, string>;
19
+ 'current-when'?: string;
20
+ replace?: boolean;
21
+ };
22
+ Element: HTMLLIElement;
23
+ }
24
+ export default class HdsBreadcrumbItemComponent extends Component<HdsBreadcrumbItemSignature> {
3
25
  /**
4
26
  * @param maxWidth
5
27
  * @type {string}
6
28
  * @default undefined
7
29
  * @description A parameter that can be applied to an "item" to limit its max-width
8
30
  */
9
- get maxWidth(): string;
31
+ get maxWidth(): string | undefined;
10
32
  /**
11
33
  * Get the inline style to apply to the item.
12
34
  * @method BreadcrumbItem#itemStyle
13
35
  * @return {string} The "style" attribute to apply to the item.
14
36
  */
15
- get itemStyle(): string;
37
+ get itemStyle(): SafeString | undefined;
16
38
  /**
17
39
  * Get the class names to apply to the component.
18
40
  * @method BreadcrumbItem#classNames
@@ -20,5 +42,4 @@ export default class HdsBreadcrumbItemComponent extends Component<any> {
20
42
  */
21
43
  get classNames(): string;
22
44
  }
23
- import Component from '@glimmer/component';
24
45
  //# sourceMappingURL=item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/breadcrumb/item.js"],"names":[],"mappings":"AASA;IAoJ0rC,uCAAwU;IAnJhgD;;;;;OAKG;IACH,uBAaC;IAED;;;;OAIG;IACH,wBAMC;IAED;;;;OAIG;IACH,yBAIC;CAuGF;sBAvJqB,oBAAoB"}
1
+ {"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/breadcrumb/item.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAG3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAEhG,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE;QACJ,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,IAAI,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;QAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;QAChC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC/B,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB,CAAC;IACF,OAAO,EAAE,aAAa,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,OAAO,0BAA2B,SAAQ,SAAS,CAAC,0BAA0B,CAAC;IAC3F;;;;;OAKG;IACH,IAAI,QAAQ,IAAI,MAAM,GAAG,SAAS,CAajC;IAED;;;;OAIG;IACH,IAAI,SAAS,IAAI,UAAU,GAAG,SAAS,CAMtC;IAED;;;;OAIG;IACH,IAAI,UAAU,IAAI,MAAM,CAIvB;CAsGF"}
@@ -1,5 +1,18 @@
1
- export default class HdsBreadcrumbTruncationComponent extends Component<any> {
2
- constructor(owner: unknown, args: any);
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+ import Component from '@glimmer/component';
6
+ export interface HdsBreadcrumbTruncationSignature {
7
+ Args: {
8
+ ariaLabel?: string;
9
+ };
10
+ Blocks: {
11
+ default: [];
12
+ };
13
+ Element: HTMLLIElement;
14
+ }
15
+ export default class HdsBreadcrumbTruncationComponent extends Component<HdsBreadcrumbTruncationSignature> {
3
16
  /**
4
17
  * @param ariaLabel
5
18
  * @type {string}
@@ -7,5 +20,4 @@ export default class HdsBreadcrumbTruncationComponent extends Component<any> {
7
20
  */
8
21
  get ariaLabel(): string;
9
22
  }
10
- import Component from '@glimmer/component';
11
23
  //# sourceMappingURL=truncation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"truncation.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/breadcrumb/truncation.js"],"names":[],"mappings":"AAOA;IA4D8yI,uCAAwU;IA3DpnJ;;;;OAIG;IACH,wBAEC;CAmDF;sBA7DqB,oBAAoB"}
1
+ {"version":3,"file":"truncation.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/breadcrumb/truncation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAE3C,MAAM,WAAW,gCAAgC;IAC/C,IAAI,EAAE;QACJ,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;IACF,OAAO,EAAE,aAAa,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,OAAO,gCAAiC,SAAQ,SAAS,CAAC,gCAAgC,CAAC;IACvG;;;;OAIG;IACH,IAAI,SAAS,IAAI,MAAM,CAEtB;CAkDF"}
@@ -1,2 +1,18 @@
1
- export {};
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+ /// <reference types="ember-source/types/stable/@ember/component/template-only" />
6
+ import type { HdsCopyButtonSignature } from '../copy/button';
7
+ export interface HdsCodeBlockCopyButtonSignature {
8
+ Args: {
9
+ targetToCopy?: HdsCopyButtonSignature['Args']['targetToCopy'];
10
+ };
11
+ Blocks: {
12
+ default: [];
13
+ };
14
+ Element: HdsCopyButtonSignature['Element'];
15
+ }
16
+ declare const HdsCodeBlockCopyButtonComponent: import("@ember/component/template-only").TemplateOnlyComponent<HdsCodeBlockCopyButtonSignature>;
17
+ export default HdsCodeBlockCopyButtonComponent;
2
18
  //# sourceMappingURL=copy-button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"copy-button.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/code-block/copy-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"copy-button.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/code-block/copy-button.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAE7D,MAAM,WAAW,+BAA+B;IAC9C,IAAI,EAAE;QACJ,YAAY,CAAC,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC,cAAc,CAAC,CAAC;KAC/D,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;IACF,OAAO,EAAE,sBAAsB,CAAC,SAAS,CAAC,CAAC;CAC5C;AAED,QAAA,MAAM,+BAA+B,iGACqB,CAAC;AAE3D,eAAe,+BAA+B,CAAC"}
@@ -1,2 +1,15 @@
1
- export {};
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+ /// <reference types="ember-source/types/stable/@ember/component/template-only" />
6
+ import type { HdsTextBodySignature } from '../text/body';
7
+ export interface HdsCodeBlockDescriptionSignature {
8
+ Blocks: {
9
+ default: [];
10
+ };
11
+ Element: HdsTextBodySignature['Element'];
12
+ }
13
+ declare const HdsCodeBlockDescriptionComponent: import("@ember/component/template-only").TemplateOnlyComponent<HdsCodeBlockDescriptionSignature>;
14
+ export default HdsCodeBlockDescriptionComponent;
2
15
  //# sourceMappingURL=description.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"description.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/code-block/description.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"description.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/code-block/description.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,gCAAgC;IAC/C,MAAM,EAAE;QACN,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;IACF,OAAO,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;CAC1C;AAED,QAAA,MAAM,gCAAgC,kGACqB,CAAC;AAE5D,eAAe,gCAAgC,CAAC"}
@@ -1,6 +1,49 @@
1
- export default class HdsCodeBlockIndexComponent extends Component<any> {
2
- constructor(owner: unknown, args: any);
3
- prismCode: string;
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+ import Component from '@glimmer/component';
6
+ import type { SafeString } from '@ember/template/-private/handlebars';
7
+ import type { ComponentLike } from '@glint/template';
8
+ import type { HdsCodeBlockTitleSignature } from './title';
9
+ import type { HdsCodeBlockDescriptionSignature } from './description';
10
+ import type { HdsCodeBlockLanguages } from './types.ts';
11
+ import 'prismjs/plugins/line-numbers/prism-line-numbers';
12
+ import 'prismjs/plugins/line-highlight/prism-line-highlight';
13
+ import 'prismjs/components/prism-bash';
14
+ import 'prismjs/components/prism-go';
15
+ import 'prismjs/components/prism-hcl';
16
+ import 'prismjs/components/prism-json';
17
+ import 'prismjs/components/prism-log';
18
+ import 'prismjs/components/prism-ruby';
19
+ import 'prismjs/components/prism-shell-session';
20
+ import 'prismjs/components/prism-yaml';
21
+ import 'prismjs/components/prism-markup-templating';
22
+ import 'prismjs/components/prism-handlebars';
23
+ export declare const LANGUAGES: string[];
24
+ export interface HdsCodeBlockSignature {
25
+ Args: {
26
+ hasCopyButton?: boolean;
27
+ hasLineNumbers?: boolean;
28
+ hasLineWrapping?: boolean;
29
+ highlightLines?: string;
30
+ isStandalone?: boolean;
31
+ language?: HdsCodeBlockLanguages;
32
+ maxHeight?: string;
33
+ value: string;
34
+ };
35
+ Blocks: {
36
+ default: [
37
+ {
38
+ Title?: ComponentLike<HdsCodeBlockTitleSignature>;
39
+ Description?: ComponentLike<HdsCodeBlockDescriptionSignature>;
40
+ }
41
+ ];
42
+ };
43
+ Element: HTMLDivElement;
44
+ }
45
+ export default class HdsCodeBlockComponent extends Component<HdsCodeBlockSignature> {
46
+ prismCode: SafeString;
4
47
  /**
5
48
  * Generates a unique ID for the code content
6
49
  *
@@ -19,7 +62,7 @@ export default class HdsCodeBlockIndexComponent extends Component<any> {
19
62
  * @default undefined
20
63
  * @description name of coding language used within CodeBlock for syntax highlighting
21
64
  */
22
- get language(): string;
65
+ get language(): HdsCodeBlockLanguages | undefined;
23
66
  /**
24
67
  * @param hasLineNumbers
25
68
  * @type {boolean}
@@ -41,7 +84,7 @@ export default class HdsCodeBlockIndexComponent extends Component<any> {
41
84
  * @description Make text content wrap on multiple lines
42
85
  */
43
86
  get hasLineWrapping(): boolean;
44
- setPrismCode(element: any): void;
87
+ setPrismCode(element: HTMLElement): void;
45
88
  /**
46
89
  * Get the class names to apply to the component.
47
90
  * @method classNames
@@ -49,5 +92,4 @@ export default class HdsCodeBlockIndexComponent extends Component<any> {
49
92
  */
50
93
  get classNames(): string;
51
94
  }
52
- import Component from '@glimmer/component';
53
95
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/code-block/index.js"],"names":[],"mappings":"AAiCA;IA0KU,uCAKQ;IA9KhB,kBAAwB;IAExB;;;;OAIG;IACH,kBAAwC;IAExC;;;;OAIG;IACH,mBAaC;IAED;;;;;OAKG;IACH,uBAEC;IAED;;;;;OAKG;IACH,8BAEC;IAED;;;;;OAKG;IACH,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AAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE;YACP;gBACE,KAAK,CAAC,EAAE,aAAa,CAAC,0BAA0B,CAAC,CAAC;gBAClD,WAAW,CAAC,EAAE,aAAa,CAAC,gCAAgC,CAAC,CAAC;aAC/D;SACF,CAAC;KACH,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,SAAS,CAAC,qBAAqB,CAAC;IACxE,SAAS,EAAE,UAAU,CAAgB;IAE9C;;;;OAIG;IACH,SAAS,SAA+B;IAExC;;;;OAIG;IACH,IAAI,IAAI,IAAI,MAAM,CAajB;IAED;;;;;OAKG;IACH,IAAI,QAAQ,IAAI,qBAAqB,GAAG,SAAS,CAEhD;IAED;;;;;OAKG;IACH,IAAI,cAAc,IAAI,OAAO,CAE5B;IAED;;;;;OAKG;IACH,IAAI,YAAY,IAAI,OAAO,CAE1B;IAED;;;;;OAKG;IACH,IAAI,eAAe,IAAI,OAAO,CAE7B;IAGD,YAAY,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI;IAiCxC;;;;OAIG;IACH,IAAI,UAAU,IAAI,MAAM,CAuBvB;CAsDF"}
@@ -1,2 +1,15 @@
1
- export {};
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+ /// <reference types="ember-source/types/stable/@ember/component/template-only" />
6
+ import type { HdsTextBodySignature } from '../text/body';
7
+ export interface HdsCodeBlockTitleSignature {
8
+ Blocks: {
9
+ default: [];
10
+ };
11
+ Element: HdsTextBodySignature['Element'];
12
+ }
13
+ declare const HdsCodeBlockTitleComponent: import("@ember/component/template-only").TemplateOnlyComponent<HdsCodeBlockTitleSignature>;
14
+ export default HdsCodeBlockTitleComponent;
2
15
  //# sourceMappingURL=title.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/code-block/title.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/code-block/title.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE;QACN,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;IACF,OAAO,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;CAC1C;AAED,QAAA,MAAM,0BAA0B,4FACqB,CAAC;AAEtD,eAAe,0BAA0B,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+ export declare enum HdsCodeBlockLanguageValues {
6
+ Bash = "bash",
7
+ Go = "go",
8
+ Hcl = "hcl",
9
+ Json = "json",
10
+ Log = "log",
11
+ Ruby = "ruby",
12
+ ShellSession = "shell-session",
13
+ Yaml = "yaml"
14
+ }
15
+ export type HdsCodeBlockLanguages = `${HdsCodeBlockLanguageValues}`;
16
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/code-block/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,oBAAY,0BAA0B;IACpC,IAAI,SAAS;IACb,EAAE,OAAO;IACT,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,YAAY,kBAAkB;IAC9B,IAAI,SAAS;CACd;AAED,MAAM,MAAM,qBAAqB,GAAG,GAAG,0BAA0B,EAAE,CAAC"}
@@ -13,7 +13,7 @@ export declare const DEFAULT_ICON = "clipboard-copy";
13
13
  export declare const SUCCESS_ICON = "clipboard-checked";
14
14
  export declare const ERROR_ICON = "clipboard-x";
15
15
  export declare const DEFAULT_STATUS = "idle";
16
- interface HdsCopySnippetSignature {
16
+ export interface HdsCopySnippetSignature {
17
17
  Args: {
18
18
  color?: HdsCopySnippetColors;
19
19
  isFullWidth?: boolean;
@@ -70,5 +70,4 @@ export default class HdsCopySnippetComponent extends Component<HdsCopySnippetSig
70
70
  onError(args: HdsClipboardModifierSignature['Args']['Named']['onError']): void;
71
71
  resetStatusDelayed(): void;
72
72
  }
73
- export {};
74
73
  //# sourceMappingURL=index.d.ts.map