@hashicorp/mds-react 0.9.1 → 0.9.2

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 (451) hide show
  1. package/components/accordion/index.d.ts +1 -1
  2. package/components/accordion/item/index.d.ts +1 -1
  3. package/components/alert/icon.d.ts +2 -2
  4. package/components/alert/index.d.ts +6 -6
  5. package/components/badge/index.d.ts +1 -1
  6. package/components/badge-count/index.d.ts +1 -1
  7. package/components/breadcrumbs/index.d.ts +2 -2
  8. package/components/breadcrumbs/item/index.d.ts +1 -1
  9. package/components/breadcrumbs/truncation-button/index.d.ts +1 -1
  10. package/components/breadcrumbs/types/index.d.ts +1 -1
  11. package/components/button/index.d.ts +2 -2
  12. package/components/card/card-thumbnail/index.d.ts +1 -1
  13. package/components/card/index.d.ts +2 -2
  14. package/components/card/types.d.ts +3 -3
  15. package/components/code-block/code-lines/index.d.ts +8 -1
  16. package/components/code-block/code-lines/utils/split-html-into-lines.d.ts +1 -1
  17. package/components/code-block/code-lines/utils/split-jsx-into-lines.d.ts +1 -1
  18. package/components/code-block/hidden-copy-content/index.d.ts +3 -3
  19. package/components/code-block/index.d.ts +1 -1
  20. package/components/combo-box-primitive/index.d.ts +0 -1
  21. package/components/dialog-primitive/index.d.ts +1 -1
  22. package/components/disclosure-primitive/index.d.ts +2 -1
  23. package/components/disclosure-primitive/use-disclosure-primitive.d.ts +2 -2
  24. package/components/dismiss-button/index.d.ts +0 -1
  25. package/components/dropdown/index.d.ts +6 -6
  26. package/components/dropdown/list-item/custom.d.ts +1 -1
  27. package/components/dropdown/list-item/index.d.ts +4 -4
  28. package/components/dropdown/list-item/interactive.d.ts +1 -1
  29. package/components/dropdown/list-item/separator.d.ts +1 -1
  30. package/components/dropdown/list-item/title.d.ts +1 -1
  31. package/components/dropdown/toggle-button/index.d.ts +2 -2
  32. package/components/flight-icon/index.d.ts +2 -2
  33. package/components/form/checkbox/index.d.ts +1 -1
  34. package/components/form/error/index.d.ts +1 -1
  35. package/components/form/field/index.d.ts +1 -1
  36. package/components/form/fieldset/index.d.ts +1 -1
  37. package/components/form/file-input/index.d.ts +1 -1
  38. package/components/form/helper-text/index.d.ts +1 -1
  39. package/components/form/label/index.d.ts +1 -1
  40. package/components/form/legend/index.d.ts +1 -1
  41. package/components/form/radio/index.d.ts +1 -1
  42. package/components/form/radio-card/group.d.ts +1 -1
  43. package/components/form/radio-card/index.d.ts +2 -2
  44. package/components/form/select/index.d.ts +1 -1
  45. package/components/form/super-select/index.d.ts +2 -2
  46. package/components/form/text-input/index.d.ts +1 -1
  47. package/components/form/textarea/index.d.ts +1 -1
  48. package/components/form/toggle/index.d.ts +1 -1
  49. package/components/hds/wrappers/tooltip.d.ts +4 -3
  50. package/components/icon-tile/index.d.ts +1 -1
  51. package/components/index.js +73 -115
  52. package/components/index.js.map +1 -1
  53. package/components/inline-link/index.d.ts +1 -1
  54. package/components/interactive/index.d.ts +4 -3
  55. package/components/legacy-button/index.d.ts +3 -3
  56. package/components/legacy-button/types.d.ts +1 -1
  57. package/components/legacy-button/utils.d.ts +1 -1
  58. package/components/menu-primitive/index.d.ts +1 -1
  59. package/components/menu-primitive/use-menu-primitive.d.ts +2 -2
  60. package/components/modal/index.d.ts +1 -1
  61. package/components/modal/use-modal.d.ts +2 -2
  62. package/components/separator/index.d.ts +1 -1
  63. package/components/standalone-link/index.d.ts +2 -2
  64. package/components/table/index.d.ts +5 -5
  65. package/components/table/td.d.ts +2 -2
  66. package/components/table/th.d.ts +2 -2
  67. package/components/table/tr.d.ts +1 -1
  68. package/components/tabs/index.d.ts +3 -3
  69. package/components/tabs/tab-panel.d.ts +1 -1
  70. package/components/tabs/tab.d.ts +2 -2
  71. package/components/tabs/use-tabs-context.d.ts +2 -2
  72. package/components/text/index.d.ts +6 -6
  73. package/components/visualizations/bar-chart/horizontal-chart/index.d.ts +0 -1
  74. package/components/visualizations/bar-chart/index.d.ts +1 -1
  75. package/components/visualizations/donut-chart/components/arc-tooltip/index.d.ts +2 -2
  76. package/components/visualizations/donut-chart/components/external-arc-label/index.d.ts +2 -2
  77. package/components/visualizations/donut-chart/components/internal-arc-label/index.d.ts +2 -2
  78. package/components/visualizations/donut-chart/index.d.ts +1 -1
  79. package/index-B9mPJh9w.js +579 -0
  80. package/index-B9mPJh9w.js.map +1 -0
  81. package/index-BHBlMMNF.js +16 -0
  82. package/index-BHBlMMNF.js.map +1 -0
  83. package/index-C4GBbW3N.js +3567 -0
  84. package/index-C4GBbW3N.js.map +1 -0
  85. package/{utils/mds-context/index.js → index-DBjAbGt7.js} +19 -20
  86. package/index-DBjAbGt7.js.map +1 -0
  87. package/index-WkGIywHj.js +767 -0
  88. package/index-WkGIywHj.js.map +1 -0
  89. package/index.js +100 -153
  90. package/index.js.map +1 -1
  91. package/package.json +1 -1
  92. package/patterns/card/newsroom-card/index.d.ts +1 -1
  93. package/patterns/card/partner-card/index.d.ts +2 -2
  94. package/patterns/card/person-card/index.d.ts +1 -1
  95. package/patterns/card/primitives.d.ts +5 -5
  96. package/patterns/card/promo-card/index.d.ts +1 -1
  97. package/patterns/card/resource-card/index.d.ts +1 -1
  98. package/patterns/card/thumbnails/index.d.ts +1 -1
  99. package/patterns/card/types.d.ts +6 -6
  100. package/patterns/card/unified-card/index.d.ts +1 -1
  101. package/patterns/copy-button/clipboard.d.ts +1 -1
  102. package/patterns/copy-button/index.d.ts +1 -1
  103. package/patterns/index.js +22 -32
  104. package/patterns/index.js.map +1 -1
  105. package/patterns/layout/index.d.ts +20 -20
  106. package/patterns/product-logo/index.d.ts +15 -15
  107. package/patterns/related-content/index.d.ts +1 -1
  108. package/patterns/related-content/types.d.ts +1 -1
  109. package/style.css +1 -0
  110. package/use-screen-size-BOnkX_K-.js +9 -0
  111. package/use-screen-size-BOnkX_K-.js.map +1 -0
  112. package/utils/i18n/index.d.ts +1 -1
  113. package/utils/index.js +7 -7
  114. package/utils/make-normalizer/index.d.ts +6 -6
  115. package/utils/mds-context/index.d.ts +1 -1
  116. package/assets/style-DD7hNwDr.css +0 -1
  117. package/components/accordion/index.js +0 -9
  118. package/components/accordion/index.js.map +0 -1
  119. package/components/accordion/item/button.js +0 -44
  120. package/components/accordion/item/button.js.map +0 -1
  121. package/components/accordion/item/index.js +0 -59
  122. package/components/accordion/item/index.js.map +0 -1
  123. package/components/accordion/style.module.scss.js +0 -24
  124. package/components/accordion/style.module.scss.js.map +0 -1
  125. package/components/alert/alert.module.scss.js +0 -29
  126. package/components/alert/alert.module.scss.js.map +0 -1
  127. package/components/alert/icon.js +0 -34
  128. package/components/alert/icon.js.map +0 -1
  129. package/components/alert/index.js +0 -97
  130. package/components/alert/index.js.map +0 -1
  131. package/components/badge/index.js +0 -53
  132. package/components/badge/index.js.map +0 -1
  133. package/components/badge/style.module.scss.js +0 -22
  134. package/components/badge/style.module.scss.js.map +0 -1
  135. package/components/badge-count/index.js +0 -29
  136. package/components/badge-count/index.js.map +0 -1
  137. package/components/badge-count/style.module.scss.js +0 -15
  138. package/components/badge-count/style.module.scss.js.map +0 -1
  139. package/components/breadcrumbs/index.js +0 -38
  140. package/components/breadcrumbs/index.js.map +0 -1
  141. package/components/breadcrumbs/item/index.js +0 -32
  142. package/components/breadcrumbs/item/index.js.map +0 -1
  143. package/components/breadcrumbs/style.module.scss.js +0 -27
  144. package/components/breadcrumbs/style.module.scss.js.map +0 -1
  145. package/components/breadcrumbs/truncation-button/index.js +0 -25
  146. package/components/breadcrumbs/truncation-button/index.js.map +0 -1
  147. package/components/button/index.js +0 -119
  148. package/components/button/index.js.map +0 -1
  149. package/components/button/styles.module.scss.js +0 -32
  150. package/components/button/styles.module.scss.js.map +0 -1
  151. package/components/card/card-thumbnail/card-thumbnail.module.css.js +0 -8
  152. package/components/card/card-thumbnail/card-thumbnail.module.css.js.map +0 -1
  153. package/components/card/card-thumbnail/index.js +0 -23
  154. package/components/card/card-thumbnail/index.js.map +0 -1
  155. package/components/card/index.js +0 -157
  156. package/components/card/index.js.map +0 -1
  157. package/components/card/styles.module.css.js +0 -29
  158. package/components/card/styles.module.css.js.map +0 -1
  159. package/components/code-block/code-block.module.scss.js +0 -34
  160. package/components/code-block/code-block.module.scss.js.map +0 -1
  161. package/components/code-block/code-lines/index.js +0 -59
  162. package/components/code-block/code-lines/index.js.map +0 -1
  163. package/components/code-block/code-lines/utils/split-html-into-lines.js +0 -19
  164. package/components/code-block/code-lines/utils/split-html-into-lines.js.map +0 -1
  165. package/components/code-block/code-lines/utils/split-jsx-into-lines.js +0 -31
  166. package/components/code-block/code-lines/utils/split-jsx-into-lines.js.map +0 -1
  167. package/components/code-block/hidden-copy-content/index.js +0 -13
  168. package/components/code-block/hidden-copy-content/index.js.map +0 -1
  169. package/components/code-block/index.js +0 -88
  170. package/components/code-block/index.js.map +0 -1
  171. package/components/code-block/utils/parse-highlighted-lines.js +0 -39
  172. package/components/code-block/utils/parse-highlighted-lines.js.map +0 -1
  173. package/components/code-block/utils/process-snippet.js +0 -20
  174. package/components/code-block/utils/process-snippet.js.map +0 -1
  175. package/components/code-block/utils/shellwords.js +0 -33
  176. package/components/code-block/utils/shellwords.js.map +0 -1
  177. package/components/combo-box-primitive/index.js +0 -302
  178. package/components/combo-box-primitive/index.js.map +0 -1
  179. package/components/dialog-primitive/dialog.module.scss.js +0 -12
  180. package/components/dialog-primitive/dialog.module.scss.js.map +0 -1
  181. package/components/dialog-primitive/index.js +0 -15
  182. package/components/dialog-primitive/index.js.map +0 -1
  183. package/components/disclosure-primitive/index.js +0 -57
  184. package/components/disclosure-primitive/index.js.map +0 -1
  185. package/components/disclosure-primitive/styles.module.css.js +0 -7
  186. package/components/disclosure-primitive/styles.module.css.js.map +0 -1
  187. package/components/disclosure-primitive/use-disclosure-primitive.js +0 -17
  188. package/components/disclosure-primitive/use-disclosure-primitive.js.map +0 -1
  189. package/components/dismiss-button/index.js +0 -22
  190. package/components/dismiss-button/index.js.map +0 -1
  191. package/components/dismiss-button/styles.module.scss.js +0 -7
  192. package/components/dismiss-button/styles.module.scss.js.map +0 -1
  193. package/components/dropdown/index.js +0 -79
  194. package/components/dropdown/index.js.map +0 -1
  195. package/components/dropdown/list-item/custom.js +0 -9
  196. package/components/dropdown/list-item/custom.js.map +0 -1
  197. package/components/dropdown/list-item/index.js +0 -14
  198. package/components/dropdown/list-item/index.js.map +0 -1
  199. package/components/dropdown/list-item/interactive.js +0 -49
  200. package/components/dropdown/list-item/interactive.js.map +0 -1
  201. package/components/dropdown/list-item/separator.js +0 -17
  202. package/components/dropdown/list-item/separator.js.map +0 -1
  203. package/components/dropdown/list-item/styles.module.css.js +0 -26
  204. package/components/dropdown/list-item/styles.module.css.js.map +0 -1
  205. package/components/dropdown/list-item/title.js +0 -9
  206. package/components/dropdown/list-item/title.js.map +0 -1
  207. package/components/dropdown/styles.module.css.js +0 -24
  208. package/components/dropdown/styles.module.css.js.map +0 -1
  209. package/components/dropdown/toggle-button/index.js +0 -54
  210. package/components/dropdown/toggle-button/index.js.map +0 -1
  211. package/components/dropdown/toggle-button/styles.module.scss.js +0 -14
  212. package/components/dropdown/toggle-button/styles.module.scss.js.map +0 -1
  213. package/components/flight-icon/flight-icon.module.css.js +0 -12
  214. package/components/flight-icon/flight-icon.module.css.js.map +0 -1
  215. package/components/flight-icon/index.js +0 -58
  216. package/components/flight-icon/index.js.map +0 -1
  217. package/components/form/checkbox/form-checkbox.module.css.js +0 -8
  218. package/components/form/checkbox/form-checkbox.module.css.js.map +0 -1
  219. package/components/form/checkbox/index.js +0 -109
  220. package/components/form/checkbox/index.js.map +0 -1
  221. package/components/form/error/form-error.module.css.js +0 -14
  222. package/components/form/error/form-error.module.css.js.map +0 -1
  223. package/components/form/error/index.js +0 -22
  224. package/components/form/error/index.js.map +0 -1
  225. package/components/form/field/form-field.module.css.js +0 -17
  226. package/components/form/field/form-field.module.css.js.map +0 -1
  227. package/components/form/field/index.js +0 -46
  228. package/components/form/field/index.js.map +0 -1
  229. package/components/form/fieldset/form-fieldset.module.css.js +0 -19
  230. package/components/form/fieldset/form-fieldset.module.css.js.map +0 -1
  231. package/components/form/fieldset/index.js +0 -65
  232. package/components/form/fieldset/index.js.map +0 -1
  233. package/components/form/file-input/form-file-input.module.scss.js +0 -7
  234. package/components/form/file-input/form-file-input.module.scss.js.map +0 -1
  235. package/components/form/file-input/index.js +0 -68
  236. package/components/form/file-input/index.js.map +0 -1
  237. package/components/form/helper-text/form-helper-text.module.css.js +0 -7
  238. package/components/form/helper-text/form-helper-text.module.css.js.map +0 -1
  239. package/components/form/helper-text/index.js +0 -22
  240. package/components/form/helper-text/index.js.map +0 -1
  241. package/components/form/indicator/form-indicator.module.css.js +0 -8
  242. package/components/form/indicator/form-indicator.module.css.js.map +0 -1
  243. package/components/form/indicator/index.js +0 -23
  244. package/components/form/indicator/index.js.map +0 -1
  245. package/components/form/label/form-label.module.css.js +0 -10
  246. package/components/form/label/form-label.module.css.js.map +0 -1
  247. package/components/form/label/index.js +0 -33
  248. package/components/form/label/index.js.map +0 -1
  249. package/components/form/legend/form-legend.module.css.js +0 -10
  250. package/components/form/legend/form-legend.module.css.js.map +0 -1
  251. package/components/form/legend/index.js +0 -19
  252. package/components/form/legend/index.js.map +0 -1
  253. package/components/form/radio/form-radio.module.scss.js +0 -8
  254. package/components/form/radio/form-radio.module.scss.js.map +0 -1
  255. package/components/form/radio/index.js +0 -100
  256. package/components/form/radio/index.js.map +0 -1
  257. package/components/form/radio-card/description.js +0 -10
  258. package/components/form/radio-card/description.js.map +0 -1
  259. package/components/form/radio-card/form-radio-card.module.css.js +0 -30
  260. package/components/form/radio-card/form-radio-card.module.css.js.map +0 -1
  261. package/components/form/radio-card/group.js +0 -31
  262. package/components/form/radio-card/group.js.map +0 -1
  263. package/components/form/radio-card/index.js +0 -67
  264. package/components/form/radio-card/index.js.map +0 -1
  265. package/components/form/radio-card/label.js +0 -10
  266. package/components/form/radio-card/label.js.map +0 -1
  267. package/components/form/select/form-select.module.css.js +0 -14
  268. package/components/form/select/form-select.module.css.js.map +0 -1
  269. package/components/form/select/index.js +0 -79
  270. package/components/form/select/index.js.map +0 -1
  271. package/components/form/super-select/form-super-select.module.css.js +0 -22
  272. package/components/form/super-select/form-super-select.module.css.js.map +0 -1
  273. package/components/form/super-select/index.js +0 -170
  274. package/components/form/super-select/index.js.map +0 -1
  275. package/components/form/text-input/index.js +0 -91
  276. package/components/form/text-input/index.js.map +0 -1
  277. package/components/form/text-input/styles.module.css.js +0 -15
  278. package/components/form/text-input/styles.module.css.js.map +0 -1
  279. package/components/form/textarea/form-textarea.module.css.js +0 -14
  280. package/components/form/textarea/form-textarea.module.css.js.map +0 -1
  281. package/components/form/textarea/index.js +0 -74
  282. package/components/form/textarea/index.js.map +0 -1
  283. package/components/form/toggle/form-toggle.module.scss.js +0 -12
  284. package/components/form/toggle/form-toggle.module.scss.js.map +0 -1
  285. package/components/form/toggle/index.js +0 -102
  286. package/components/form/toggle/index.js.map +0 -1
  287. package/components/hds/wrappers/tooltip.js +0 -51
  288. package/components/hds/wrappers/tooltip.js.map +0 -1
  289. package/components/icon-tile/index.js +0 -50
  290. package/components/icon-tile/index.js.map +0 -1
  291. package/components/icon-tile/style.module.scss.js +0 -29
  292. package/components/icon-tile/style.module.scss.js.map +0 -1
  293. package/components/inline-link/index.js +0 -33
  294. package/components/inline-link/index.js.map +0 -1
  295. package/components/inline-link/inline-link.module.css.js +0 -11
  296. package/components/inline-link/inline-link.module.css.js.map +0 -1
  297. package/components/interactive/index.js +0 -59
  298. package/components/interactive/index.js.map +0 -1
  299. package/components/legacy-button/index.js +0 -65
  300. package/components/legacy-button/index.js.map +0 -1
  301. package/components/legacy-button/utils.js +0 -39
  302. package/components/legacy-button/utils.js.map +0 -1
  303. package/components/menu-primitive/index.js +0 -68
  304. package/components/menu-primitive/index.js.map +0 -1
  305. package/components/menu-primitive/styles.module.css.js +0 -12
  306. package/components/menu-primitive/styles.module.css.js.map +0 -1
  307. package/components/menu-primitive/use-menu-primitive.js +0 -17
  308. package/components/menu-primitive/use-menu-primitive.js.map +0 -1
  309. package/components/modal/index.js +0 -61
  310. package/components/modal/index.js.map +0 -1
  311. package/components/modal/modal.module.css.js +0 -8
  312. package/components/modal/modal.module.css.js.map +0 -1
  313. package/components/modal/use-modal.js +0 -17
  314. package/components/modal/use-modal.js.map +0 -1
  315. package/components/separator/index.js +0 -15
  316. package/components/separator/index.js.map +0 -1
  317. package/components/separator/separator.module.css.js +0 -10
  318. package/components/separator/separator.module.css.js.map +0 -1
  319. package/components/standalone-link/index.js +0 -54
  320. package/components/standalone-link/index.js.map +0 -1
  321. package/components/standalone-link/styles.module.scss.js +0 -17
  322. package/components/standalone-link/styles.module.scss.js.map +0 -1
  323. package/components/table/index.js +0 -52
  324. package/components/table/index.js.map +0 -1
  325. package/components/table/table.module.scss.js +0 -33
  326. package/components/table/table.module.scss.js.map +0 -1
  327. package/components/table/td.js +0 -28
  328. package/components/table/td.js.map +0 -1
  329. package/components/table/th-button-tooltip.js +0 -24
  330. package/components/table/th-button-tooltip.js.map +0 -1
  331. package/components/table/th.js +0 -43
  332. package/components/table/th.js.map +0 -1
  333. package/components/table/tr.js +0 -9
  334. package/components/table/tr.js.map +0 -1
  335. package/components/table/utils.js +0 -28
  336. package/components/table/utils.js.map +0 -1
  337. package/components/tabs/index.js +0 -117
  338. package/components/tabs/index.js.map +0 -1
  339. package/components/tabs/tab-panel.js +0 -35
  340. package/components/tabs/tab-panel.js.map +0 -1
  341. package/components/tabs/tab.js +0 -70
  342. package/components/tabs/tab.js.map +0 -1
  343. package/components/tabs/tabs.module.scss.js +0 -22
  344. package/components/tabs/tabs.module.scss.js.map +0 -1
  345. package/components/tabs/use-tabs-context.js +0 -16
  346. package/components/tabs/use-tabs-context.js.map +0 -1
  347. package/components/text/index.js +0 -112
  348. package/components/text/index.js.map +0 -1
  349. package/components/text/style.module.scss.js +0 -9
  350. package/components/text/style.module.scss.js.map +0 -1
  351. package/components/visualizations/bar-chart/horizontal-chart/dataset-value/index.js +0 -62
  352. package/components/visualizations/bar-chart/horizontal-chart/dataset-value/index.js.map +0 -1
  353. package/components/visualizations/bar-chart/horizontal-chart/dataset-value/style.module.css.js +0 -20
  354. package/components/visualizations/bar-chart/horizontal-chart/dataset-value/style.module.css.js.map +0 -1
  355. package/components/visualizations/bar-chart/horizontal-chart/index.js +0 -104
  356. package/components/visualizations/bar-chart/horizontal-chart/index.js.map +0 -1
  357. package/components/visualizations/bar-chart/horizontal-chart/legend/index.js +0 -13
  358. package/components/visualizations/bar-chart/horizontal-chart/legend/index.js.map +0 -1
  359. package/components/visualizations/bar-chart/horizontal-chart/legend/style.module.css.js +0 -14
  360. package/components/visualizations/bar-chart/horizontal-chart/legend/style.module.css.js.map +0 -1
  361. package/components/visualizations/bar-chart/horizontal-chart/style.module.css.js +0 -28
  362. package/components/visualizations/bar-chart/horizontal-chart/style.module.css.js.map +0 -1
  363. package/components/visualizations/bar-chart/index.js +0 -37
  364. package/components/visualizations/bar-chart/index.js.map +0 -1
  365. package/components/visualizations/bar-chart/style.module.css.js +0 -12
  366. package/components/visualizations/bar-chart/style.module.css.js.map +0 -1
  367. package/components/visualizations/donut-chart/components/arc-tooltip/index.js +0 -14
  368. package/components/visualizations/donut-chart/components/arc-tooltip/index.js.map +0 -1
  369. package/components/visualizations/donut-chart/components/arc-tooltip/styles.module.css.js +0 -10
  370. package/components/visualizations/donut-chart/components/arc-tooltip/styles.module.css.js.map +0 -1
  371. package/components/visualizations/donut-chart/components/external-arc-label/index.js +0 -58
  372. package/components/visualizations/donut-chart/components/external-arc-label/index.js.map +0 -1
  373. package/components/visualizations/donut-chart/components/external-arc-label/styles.module.css.js +0 -16
  374. package/components/visualizations/donut-chart/components/external-arc-label/styles.module.css.js.map +0 -1
  375. package/components/visualizations/donut-chart/components/internal-arc-label/index.js +0 -42
  376. package/components/visualizations/donut-chart/components/internal-arc-label/index.js.map +0 -1
  377. package/components/visualizations/donut-chart/components/internal-arc-label/styles.module.css.js +0 -14
  378. package/components/visualizations/donut-chart/components/internal-arc-label/styles.module.css.js.map +0 -1
  379. package/components/visualizations/donut-chart/index.js +0 -90
  380. package/components/visualizations/donut-chart/index.js.map +0 -1
  381. package/components/visualizations/donut-chart/styles.module.css.js +0 -20
  382. package/components/visualizations/donut-chart/styles.module.css.js.map +0 -1
  383. package/hooks/use-media-query/index.js +0 -16
  384. package/hooks/use-media-query/index.js.map +0 -1
  385. package/patterns/card/newsroom-card/index.js +0 -26
  386. package/patterns/card/newsroom-card/index.js.map +0 -1
  387. package/patterns/card/newsroom-card/style.module.css.js +0 -8
  388. package/patterns/card/newsroom-card/style.module.css.js.map +0 -1
  389. package/patterns/card/partner-card/index.js +0 -42
  390. package/patterns/card/partner-card/index.js.map +0 -1
  391. package/patterns/card/partner-card/style.module.css.js +0 -12
  392. package/patterns/card/partner-card/style.module.css.js.map +0 -1
  393. package/patterns/card/person-card/index.js +0 -52
  394. package/patterns/card/person-card/index.js.map +0 -1
  395. package/patterns/card/person-card/style.module.css.js +0 -12
  396. package/patterns/card/person-card/style.module.css.js.map +0 -1
  397. package/patterns/card/primitives.js +0 -77
  398. package/patterns/card/primitives.js.map +0 -1
  399. package/patterns/card/promo-card/index.js +0 -36
  400. package/patterns/card/promo-card/index.js.map +0 -1
  401. package/patterns/card/resource-card/index.js +0 -26
  402. package/patterns/card/resource-card/index.js.map +0 -1
  403. package/patterns/card/style.module.css.js +0 -30
  404. package/patterns/card/style.module.css.js.map +0 -1
  405. package/patterns/card/thumbnails/index.js +0 -25
  406. package/patterns/card/thumbnails/index.js.map +0 -1
  407. package/patterns/card/unified-card/index.js +0 -37
  408. package/patterns/card/unified-card/index.js.map +0 -1
  409. package/patterns/copy-button/clipboard.js +0 -78
  410. package/patterns/copy-button/clipboard.js.map +0 -1
  411. package/patterns/copy-button/index.js +0 -57
  412. package/patterns/copy-button/index.js.map +0 -1
  413. package/patterns/copy-button/style.module.css.js +0 -13
  414. package/patterns/copy-button/style.module.css.js.map +0 -1
  415. package/patterns/layout/index.js +0 -47
  416. package/patterns/layout/index.js.map +0 -1
  417. package/patterns/layout/layout.module.css.js +0 -20
  418. package/patterns/layout/layout.module.css.js.map +0 -1
  419. package/patterns/product-badge/index.js +0 -22
  420. package/patterns/product-badge/index.js.map +0 -1
  421. package/patterns/product-badge/style.module.css.js +0 -8
  422. package/patterns/product-badge/style.module.css.js.map +0 -1
  423. package/patterns/product-logo/index.js +0 -130
  424. package/patterns/product-logo/index.js.map +0 -1
  425. package/patterns/product-logo/product-logo.module.css.js +0 -13
  426. package/patterns/product-logo/product-logo.module.css.js.map +0 -1
  427. package/patterns/related-content/index.js +0 -65
  428. package/patterns/related-content/index.js.map +0 -1
  429. package/patterns/related-content/style.module.css.js +0 -22
  430. package/patterns/related-content/style.module.css.js.map +0 -1
  431. package/utils/get-contrast-yiq.js +0 -13
  432. package/utils/get-contrast-yiq.js.map +0 -1
  433. package/utils/hooks/use-screen-size.js +0 -10
  434. package/utils/hooks/use-screen-size.js.map +0 -1
  435. package/utils/i18n/constants/index.js +0 -98
  436. package/utils/i18n/constants/index.js.map +0 -1
  437. package/utils/i18n/helpers/locale-provider.js +0 -9
  438. package/utils/i18n/helpers/locale-provider.js.map +0 -1
  439. package/utils/i18n/helpers/to-smart-sentence-case.js +0 -12
  440. package/utils/i18n/helpers/to-smart-sentence-case.js.map +0 -1
  441. package/utils/i18n/helpers/to-smart-title-case.js +0 -10
  442. package/utils/i18n/helpers/to-smart-title-case.js.map +0 -1
  443. package/utils/i18n/helpers/use-locale.js +0 -14
  444. package/utils/i18n/helpers/use-locale.js.map +0 -1
  445. package/utils/i18n/index.js +0 -41
  446. package/utils/i18n/index.js.map +0 -1
  447. package/utils/i18n/index2.js +0 -33
  448. package/utils/i18n/index2.js.map +0 -1
  449. package/utils/make-normalizer/index.js +0 -34
  450. package/utils/make-normalizer/index.js.map +0 -1
  451. package/utils/mds-context/index.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import type { HTMLAttributes } from 'react';
2
2
  interface AccordionProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /**
4
4
  * optional class name to add to the accordion
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import type { HTMLAttributes } from 'react';
2
2
  interface AccordionItemProps extends HTMLAttributes<HTMLDivElement> {
3
3
  ariaLabel?: string;
4
4
  isOpen?: boolean;
@@ -1,5 +1,5 @@
1
- import { AlertColor, AlertProps } from '.';
2
- import { FlightIconName } from '../flight-icon';
1
+ import type { AlertColor, AlertProps } from '.';
2
+ import type { FlightIconName } from '../flight-icon';
3
3
  interface IconProps {
4
4
  icon?: FlightIconName | false;
5
5
  color: AlertColor;
@@ -1,7 +1,7 @@
1
- import { StandaloneLinkProps } from '../standalone-link';
2
- import { HTMLAttributes, PropsWithChildren, ReactNode } from 'react';
3
- import { ButtonProps } from '../button';
4
- import { FlightIconName } from '../flight-icon';
1
+ import { type StandaloneLinkProps } from '../standalone-link';
2
+ import type { HTMLAttributes, PropsWithChildren, ReactNode } from 'react';
3
+ import type { ButtonProps } from '../button';
4
+ import type { FlightIconName } from '../flight-icon';
5
5
  type AlertColor = 'neutral' | 'highlight' | 'success' | 'warning' | 'critical';
6
6
  interface CommonAlertProps extends HTMLAttributes<HTMLDivElement> {
7
7
  /**
@@ -51,11 +51,11 @@ declare const AlertActions: {
51
51
  displayName: string;
52
52
  };
53
53
  declare const AlertButton: {
54
- ({ ...props }: Exclude<ButtonProps, 'size'>): import("react/jsx-runtime").JSX.Element;
54
+ ({ ...props }: Exclude<ButtonProps, "size">): import("react/jsx-runtime").JSX.Element;
55
55
  displayName: string;
56
56
  };
57
57
  declare const AlertStandaloneLink: {
58
- ({ ...props }: Exclude<StandaloneLinkProps, 'size'>): import("react/jsx-runtime").JSX.Element;
58
+ ({ ...props }: Exclude<StandaloneLinkProps, "size">): import("react/jsx-runtime").JSX.Element;
59
59
  displayName: string;
60
60
  };
61
61
  export { Alert, AlertActions, AlertButton, AlertStandaloneLink };
@@ -1,4 +1,4 @@
1
- import { FlightIconName } from '../flight-icon';
1
+ import type { FlightIconName } from '../flight-icon';
2
2
  declare const BADGE_SIZES: readonly ["small", "medium", "large"];
3
3
  type BadgeSize = (typeof BADGE_SIZES)[number];
4
4
  declare const BADGE_TYPES: readonly ["filled", "inverted", "outlined"];
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import type { HTMLAttributes } from 'react';
2
2
  interface BadgeCountProps extends HTMLAttributes<HTMLDivElement> {
3
3
  size?: 'small' | 'medium' | 'large';
4
4
  type?: 'filled' | 'inverted' | 'outlined';
@@ -1,7 +1,7 @@
1
- import { BreadcrumbProps, BreadcrumbTruncationProps } from './types';
1
+ import type { BreadcrumbProps, BreadcrumbTruncationProps } from './types';
2
2
  declare const Breadcrumbs: {
3
3
  Root: ({ itemsCanWrap, ariaLabel, children, className, ...rest }: BreadcrumbProps) => import("react/jsx-runtime").JSX.Element;
4
- Item: ({ maxWidth, current, icon, text, url, ...rest }: import('./types').BreadcrumbItemProps) => import("react/jsx-runtime").JSX.Element;
4
+ Item: ({ maxWidth, current, icon, text, url, ...rest }: import("./types").BreadcrumbItemProps) => import("react/jsx-runtime").JSX.Element;
5
5
  Truncation: ({ ariaLabel, children, ...rest }: BreadcrumbTruncationProps) => import("react/jsx-runtime").JSX.Element;
6
6
  };
7
7
  export { Breadcrumbs };
@@ -1,2 +1,2 @@
1
- import { BreadcrumbItemProps } from '../types';
1
+ import type { BreadcrumbItemProps } from '../types';
2
2
  export declare const Item: ({ maxWidth, current, icon, text, url, ...rest }: BreadcrumbItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  export declare const TruncationButton: ({ ariaLabel, }: {
2
- ariaLabel?: string | undefined;
2
+ ariaLabel?: string;
3
3
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes, LiHTMLAttributes, ReactNode } from 'react';
1
+ import type { HTMLAttributes, LiHTMLAttributes, ReactNode } from 'react';
2
2
  export interface BreadcrumbProps extends HTMLAttributes<HTMLElement> {
3
3
  /**
4
4
  * This controls if the Breadcrumb Items can wrap if they don’t fit within the container.
@@ -1,4 +1,4 @@
1
- import { ForwardRefExoticComponent } from 'react';
1
+ import type { ForwardRefExoticComponent } from 'react';
2
2
  export declare const BUTTON_SIZES: readonly ["small", "medium", "large"];
3
3
  export type ButtonSize = (typeof BUTTON_SIZES)[number];
4
4
  export declare const BUTTON_ICON_POSITIONS: readonly ["leading", "trailing"];
@@ -27,5 +27,5 @@ interface ButtonPrimitiveProps {
27
27
  export interface ButtonProps extends Omit<ButtonPrimitiveProps, 'color'> {
28
28
  color?: ButtonColor;
29
29
  }
30
- export declare const Button: ForwardRefExoticComponent<ButtonProps & import('react').RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
30
+ export declare const Button: ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
31
31
  export {};
@@ -1,2 +1,2 @@
1
- import { CardThumbnailProps } from '../types';
1
+ import type { CardThumbnailProps } from '../types';
2
2
  export declare const CardThumbnail: ({ alt, aspectRatio, src, }: CardThumbnailProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,3 @@
1
- import { CardProps } from './types';
2
- declare const Card: import('react').ForwardRefExoticComponent<CardProps & import('react').RefAttributes<HTMLDivElement>>;
1
+ import type { CardProps } from './types';
2
+ declare const Card: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
3
3
  export { Card };
@@ -1,6 +1,6 @@
1
- import { BadgeProps } from '../badge';
2
- import { ReactNode } from 'react';
3
- import { StandaloneLinkProps } from '../standalone-link';
1
+ import type { BadgeProps } from '../badge';
2
+ import type { ReactNode } from 'react';
3
+ import type { StandaloneLinkProps } from '../standalone-link';
4
4
  interface CardPropsBase {
5
5
  className?: string;
6
6
  ctaLabel?: string;
@@ -1,4 +1,11 @@
1
- import { ReactNode } from 'react';
1
+ /**
2
+ * Note: lines of code are expected to be stable. If we need to work with
3
+ * dynamic code blocks in the future, we could assign random unique IDs
4
+ * to each line during the `linesOfCode` `useMemo` function.
5
+ *
6
+ * For now, we disable react/no-array-index key for the entire file.
7
+ */
8
+ import { type ReactNode } from 'react';
2
9
  interface CodeLinesProps {
3
10
  value: ReactNode;
4
11
  hasLineNumbers?: boolean;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  /**
3
3
  * Given a string of HTML, split it on newlines,
4
4
  * and return an array of React <span> elements,
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  /**
3
3
  * Given an array of React children,
4
4
  * split the array on newlines, grouping consecutive
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- declare const HiddenCopyContent: import('react').ForwardRefExoticComponent<{
1
+ import { type ReactNode } from 'react';
2
+ declare const HiddenCopyContent: import("react").ForwardRefExoticComponent<{
3
3
  code: ReactNode;
4
- } & import('react').RefAttributes<HTMLPreElement>>;
4
+ } & import("react").RefAttributes<HTMLPreElement>>;
5
5
  export { HiddenCopyContent };
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  /**
3
3
  * ALERT: This component is a combination of logic from the official HashiCorp
4
4
  * Design System CodeBlock component and the CodeBlock component written by the
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type TComboBoxItem = {
3
2
  id: string;
4
3
  value: string;
@@ -1,4 +1,4 @@
1
- import { DetailedHTMLProps, DialogHTMLAttributes } from 'react';
1
+ import type { DetailedHTMLProps, DialogHTMLAttributes } from 'react';
2
2
  interface OverlayProps {
3
3
  className?: string;
4
4
  }
@@ -1,4 +1,5 @@
1
- import { PropsWithChildren, HTMLAttributes } from 'react';
1
+ import type { PropsWithChildren } from 'react';
2
+ import { type HTMLAttributes } from 'react';
2
3
  interface DisclosurePrimitiveProviderProps extends HTMLAttributes<HTMLDivElement> {
3
4
  /**
4
5
  * Callback fired when the disclosure is closed (optional)
@@ -1,4 +1,4 @@
1
- import { MouseEventHandler } from 'react';
1
+ import { type MouseEventHandler } from 'react';
2
2
  export interface DisclosurePrimitiveContextState {
3
3
  isOpen: boolean;
4
4
  onClickToggle: MouseEventHandler<HTMLButtonElement>;
@@ -7,5 +7,5 @@ export interface DisclosurePrimitiveContextState {
7
7
  containsInteractive: boolean;
8
8
  ariaLabel: string;
9
9
  }
10
- export declare const DisclosurePrimitiveContext: import('react').Context<DisclosurePrimitiveContextState | undefined>;
10
+ export declare const DisclosurePrimitiveContext: import("react").Context<DisclosurePrimitiveContextState | undefined>;
11
11
  export declare function useDisclosurePrimitive(): DisclosurePrimitiveContextState;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface DismissButtonProps {
3
2
  ariaLabel?: string;
4
3
  onClick: React.MouseEventHandler<HTMLButtonElement>;
@@ -1,5 +1,5 @@
1
- import { DropdownToggleButtonProps } from './toggle-button';
2
- import { HTMLAttributes, ReactNode } from 'react';
1
+ import type { DropdownToggleButtonProps } from './toggle-button';
2
+ import type { HTMLAttributes, ReactNode } from 'react';
3
3
  interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
4
4
  /**
5
5
  * If true, container is given full width styles. (Added by web presence team)
@@ -51,19 +51,19 @@ declare const Dropdown: {
51
51
  };
52
52
  ListItem: {
53
53
  Interactive: {
54
- ({ text, color, icon, isLoading, trailingIcon, ...rest }: import('./list-item/interactive').ListItemInteractiveProps): import("react/jsx-runtime").JSX.Element;
54
+ ({ text, color, icon, isLoading, trailingIcon, ...rest }: import("./list-item/interactive").ListItemInteractiveProps): import("react/jsx-runtime").JSX.Element;
55
55
  displayName: string;
56
56
  };
57
57
  Title: {
58
- ({ text, ...rest }: import('./list-item/title').ListItemTitleProps): import("react/jsx-runtime").JSX.Element;
58
+ ({ text, ...rest }: import("./list-item/title").ListItemTitleProps): import("react/jsx-runtime").JSX.Element;
59
59
  displayName: string;
60
60
  };
61
61
  Separator: {
62
- (props: import('./list-item/separator').ListItemSeparatorProps): import("react/jsx-runtime").JSX.Element;
62
+ (props: import("./list-item/separator").ListItemSeparatorProps): import("react/jsx-runtime").JSX.Element;
63
63
  displayName: string;
64
64
  };
65
65
  Custom: {
66
- ({ children }: import('./list-item/custom').ListItemCustomProps): import("react/jsx-runtime").JSX.Element;
66
+ ({ children }: import("./list-item/custom").ListItemCustomProps): import("react/jsx-runtime").JSX.Element;
67
67
  displayName: string;
68
68
  };
69
69
  };
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  interface ListItemCustomProps {
3
3
  children: ReactNode;
4
4
  }
@@ -1,18 +1,18 @@
1
1
  declare const ListItem: {
2
2
  Interactive: {
3
- ({ text, color, icon, isLoading, trailingIcon, ...rest }: import('./interactive').ListItemInteractiveProps): import("react/jsx-runtime").JSX.Element;
3
+ ({ text, color, icon, isLoading, trailingIcon, ...rest }: import("./interactive").ListItemInteractiveProps): import("react/jsx-runtime").JSX.Element;
4
4
  displayName: string;
5
5
  };
6
6
  Title: {
7
- ({ text, ...rest }: import('./title').ListItemTitleProps): import("react/jsx-runtime").JSX.Element;
7
+ ({ text, ...rest }: import("./title").ListItemTitleProps): import("react/jsx-runtime").JSX.Element;
8
8
  displayName: string;
9
9
  };
10
10
  Separator: {
11
- (props: import('./separator').ListItemSeparatorProps): import("react/jsx-runtime").JSX.Element;
11
+ (props: import("./separator").ListItemSeparatorProps): import("react/jsx-runtime").JSX.Element;
12
12
  displayName: string;
13
13
  };
14
14
  Custom: {
15
- ({ children }: import('./custom').ListItemCustomProps): import("react/jsx-runtime").JSX.Element;
15
+ ({ children }: import("./custom").ListItemCustomProps): import("react/jsx-runtime").JSX.Element;
16
16
  displayName: string;
17
17
  };
18
18
  };
@@ -1,4 +1,4 @@
1
- import { InteractiveProps } from '../../interactive';
1
+ import { type InteractiveProps } from '../../interactive';
2
2
  interface ListItemInteractiveProps extends Omit<InteractiveProps, 'children'> {
3
3
  /**
4
4
  * Text to be used in the item. If no text value is defined, an error will be thrown.
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import type { HTMLAttributes } from 'react';
2
2
  type ListItemSeparatorProps = Omit<HTMLAttributes<HTMLLIElement>, 'className' | 'aria-hidden' | 'role'>;
3
3
  declare const ListItemSeparator: {
4
4
  (props: ListItemSeparatorProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import type { HTMLAttributes } from 'react';
2
2
  interface ListItemTitleProps extends Omit<HTMLAttributes<HTMLLIElement>, 'className'> {
3
3
  text: string;
4
4
  }
@@ -1,5 +1,5 @@
1
- import { FlightIconName } from '../../flight-icon';
2
- import { ButtonHTMLAttributes } from 'react';
1
+ import type { FlightIconName } from '../../flight-icon';
2
+ import type { ButtonHTMLAttributes } from 'react';
3
3
  interface DropdownToggleButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
4
4
  /**
5
5
  * Text of the ToggleButton. If no text value is defined, an error will be thrown.
@@ -1,5 +1,5 @@
1
- import { SVGProps } from 'react';
2
- import { IconName } from '@hashicorp/flight-icons/svg';
1
+ import { type SVGProps } from 'react';
2
+ import type { IconName } from '@hashicorp/flight-icons/svg';
3
3
  declare const FLIGHT_ICON_SIZES: readonly [12, 16, 24, 32];
4
4
  type FlightIconSize = (typeof FLIGHT_ICON_SIZES)[number];
5
5
  type FlightIconName = IconName | (string & Record<never, never>);
@@ -1,4 +1,4 @@
1
- import { ComponentProps, HTMLProps, ReactNode } from 'react';
1
+ import { type ComponentProps, type HTMLProps, type ReactNode } from 'react';
2
2
  import { Fieldset } from '../fieldset';
3
3
  interface CheckboxBaseProps {
4
4
  id?: string;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  interface ErrorMessageProps {
3
3
  children: ReactNode;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  interface FieldProps {
3
3
  badgeText?: string;
4
4
  id: string;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  interface FieldsetProps {
3
3
  isRequired?: boolean;
4
4
  isOptional?: boolean;
@@ -1,4 +1,4 @@
1
- import { HTMLProps, ReactNode } from 'react';
1
+ import type { HTMLProps, ReactNode } from 'react';
2
2
  interface FileInputBaseProps {
3
3
  isRequired?: boolean;
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  interface HelperTextProps {
3
3
  children: ReactNode;
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  interface LabelProps {
3
3
  badgeText?: string;
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  interface LegendProps {
3
3
  className?: string;
4
4
  isRequired?: boolean;
@@ -1,4 +1,4 @@
1
- import { ComponentProps, HTMLProps, ReactNode } from 'react';
1
+ import { type ComponentProps, type HTMLProps, type ReactNode } from 'react';
2
2
  import { Fieldset } from '../fieldset';
3
3
  interface RadioBaseProps {
4
4
  id: string;
@@ -1,5 +1,5 @@
1
1
  import { Fieldset } from '../fieldset';
2
- import { ComponentProps, ReactNode } from 'react';
2
+ import type { ComponentProps, ReactNode } from 'react';
3
3
  export interface RadioCardGroupProps extends ComponentProps<typeof Fieldset> {
4
4
  children: ReactNode;
5
5
  legend: ReactNode;
@@ -1,6 +1,6 @@
1
1
  import { RadioCardGroup } from './group';
2
- import { HTMLProps, ReactNode } from 'react';
3
- import { BadgeProps } from '../../badge';
2
+ import type { HTMLProps, ReactNode } from 'react';
3
+ import type { BadgeProps } from '../../badge';
4
4
  export declare const DEFAULT_CONTROL_POSITION = "bottom";
5
5
  export declare const DEFAULT_ALIGNMENT = "left";
6
6
  export declare const CONTROL_POSITIONS: readonly ["bottom", "left"];
@@ -1,4 +1,4 @@
1
- import { HTMLProps, ReactNode } from 'react';
1
+ import type { HTMLProps, ReactNode } from 'react';
2
2
  interface SelectFieldProps {
3
3
  isInvalid?: boolean;
4
4
  isLoading?: boolean;
@@ -1,5 +1,5 @@
1
- import { TComboBoxItem, ComboBoxSearchInputProps } from '../../combo-box-primitive';
2
- import { FieldProps } from '../field';
1
+ import type { TComboBoxItem, ComboBoxSearchInputProps } from '../../combo-box-primitive';
2
+ import type { FieldProps } from '../field';
3
3
  type SuperSelectSearchInputProps = ComboBoxSearchInputProps;
4
4
  interface SuperSelectOptionProps extends TComboBoxItem {
5
5
  isLoading?: boolean;
@@ -1,4 +1,4 @@
1
- import { HTMLInputTypeAttribute, HTMLProps, ReactNode } from 'react';
1
+ import type { HTMLInputTypeAttribute, HTMLProps, ReactNode } from 'react';
2
2
  interface TextInputBaseProps {
3
3
  /**
4
4
  * Sets the native HTML `type` of the `<input>`.
@@ -1,4 +1,4 @@
1
- import { HTMLProps, ReactNode } from 'react';
1
+ import type { HTMLProps, ReactNode } from 'react';
2
2
  interface TextAreaFieldProps {
3
3
  isInvalid?: boolean;
4
4
  isLoading?: boolean;
@@ -1,4 +1,4 @@
1
- import { ReactNode, HTMLProps, ComponentProps } from 'react';
1
+ import type { ReactNode, HTMLProps, ComponentProps } from 'react';
2
2
  import { Fieldset } from '../fieldset';
3
3
  interface ToggleBaseProps {
4
4
  id?: string;
@@ -1,6 +1,7 @@
1
- import { TippyProps } from '@tippyjs/react';
2
- import { Plugin } from 'tippy.js';
3
- import { ReactElement } from 'react';
1
+ import { type TippyProps } from '@tippyjs/react';
2
+ import { type Plugin } from 'tippy.js';
3
+ import type { ReactElement } from 'react';
4
+ import 'tippy.js/dist/svg-arrow.css';
4
5
  export interface TooltipProps {
5
6
  options?: TippyProps;
6
7
  children: TippyProps['children'];
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import type { HTMLAttributes } from 'react';
2
2
  type BaseProps = {
3
3
  size: 'small' | 'medium' | 'large';
4
4
  iconSecondary?: string;