@box/blueprint-web 8.5.3 → 8.6.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 (528) hide show
  1. package/lib-esm/accordion/accordion.d.ts +19 -19
  2. package/lib-esm/accordion/accordion.js +11 -11
  3. package/lib-esm/accordion/index.d.ts +2 -2
  4. package/lib-esm/accordion/types.d.ts +48 -49
  5. package/lib-esm/actionable-inline-notice/actionable-inline-notice.d.ts +2 -3
  6. package/lib-esm/actionable-inline-notice/index.d.ts +17 -18
  7. package/lib-esm/actionable-inline-notice/types.d.ts +21 -21
  8. package/lib-esm/avatar/avatar.d.ts +29 -30
  9. package/lib-esm/avatar/consts.d.ts +6 -6
  10. package/lib-esm/avatar/index.d.ts +2 -2
  11. package/lib-esm/avatar/types.d.ts +36 -36
  12. package/lib-esm/badge/base-badge.d.ts +9 -10
  13. package/lib-esm/badge/icon-badge.d.ts +7 -7
  14. package/lib-esm/badge/index.d.ts +3 -3
  15. package/lib-esm/badge/numeric-badge.d.ts +11 -11
  16. package/lib-esm/badge/status-badge.d.ts +7 -7
  17. package/lib-esm/badge/types.d.ts +15 -15
  18. package/lib-esm/badge/utils/useSingleChildCheck.d.ts +2 -2
  19. package/lib-esm/branding-styles/branding-styles.d.ts +2 -2
  20. package/lib-esm/branding-styles/index.d.ts +3 -3
  21. package/lib-esm/branding-styles/types.d.ts +4 -4
  22. package/lib-esm/branding-styles/useCustomBranding.d.ts +1 -1
  23. package/lib-esm/branding-styles/utils/createTheme.d.ts +69 -69
  24. package/lib-esm/branding-styles/utils/theme.d.ts +41 -41
  25. package/lib-esm/branding-styles/utils/variables.d.ts +117 -117
  26. package/lib-esm/button/button.d.ts +7 -8
  27. package/lib-esm/button/index.d.ts +2 -2
  28. package/lib-esm/button/types.d.ts +8 -8
  29. package/lib-esm/button-wrapper/button-wrapper.d.ts +7 -7
  30. package/lib-esm/button-wrapper/index.d.ts +1 -1
  31. package/lib-esm/card/card.d.ts +5 -6
  32. package/lib-esm/card/card.js +2 -2
  33. package/lib-esm/card/index.d.ts +2 -2
  34. package/lib-esm/card/types.d.ts +10 -10
  35. package/lib-esm/card-tooltip/card-tooltip.d.ts +12 -12
  36. package/lib-esm/card-tooltip/card-tooltip.js +9 -9
  37. package/lib-esm/card-tooltip/index.d.ts +2 -2
  38. package/lib-esm/card-tooltip/types.d.ts +30 -30
  39. package/lib-esm/checkbox/checkbox-item.d.ts +4 -5
  40. package/lib-esm/checkbox/checkbox-item.js +1 -1
  41. package/lib-esm/checkbox/index.d.ts +6 -7
  42. package/lib-esm/checkbox/types.d.ts +31 -31
  43. package/lib-esm/collapsible/collapsible-section.d.ts +9 -10
  44. package/lib-esm/collapsible/index.d.ts +2 -2
  45. package/lib-esm/collapsible/types.d.ts +11 -12
  46. package/lib-esm/combobox/chips-group.d.ts +2 -2
  47. package/lib-esm/combobox/chips-group.types.d.ts +5 -5
  48. package/lib-esm/combobox/combobox.d.ts +14 -14
  49. package/lib-esm/combobox/combobox.js +4 -4
  50. package/lib-esm/combobox/index.d.ts +2 -2
  51. package/lib-esm/combobox/types.d.ts +240 -241
  52. package/lib-esm/combobox-group/combobox-group-combobox.d.ts +2 -3
  53. package/lib-esm/combobox-group/combobox-group-context.d.ts +24 -24
  54. package/lib-esm/combobox-group/combobox-group-select.d.ts +2 -3
  55. package/lib-esm/combobox-group/combobox-group.d.ts +6 -7
  56. package/lib-esm/combobox-group/index.d.ts +2 -2
  57. package/lib-esm/combobox-group/types.d.ts +21 -22
  58. package/lib-esm/content-card/content-card-body.d.ts +3 -4
  59. package/lib-esm/content-card/content-card-footer.d.ts +2 -3
  60. package/lib-esm/content-card/content-card-image.d.ts +2 -3
  61. package/lib-esm/content-card/content-card-title.d.ts +3 -4
  62. package/lib-esm/content-card/content-card.d.ts +10 -11
  63. package/lib-esm/content-card/index.d.ts +2 -2
  64. package/lib-esm/content-card/types.d.ts +27 -28
  65. package/lib-esm/content-field/content-field.d.ts +3 -4
  66. package/lib-esm/content-field/index.d.ts +2 -2
  67. package/lib-esm/content-field/messages.d.ts +7 -7
  68. package/lib-esm/content-field/types.d.ts +35 -35
  69. package/lib-esm/data-table/cell/sticky-cell.d.ts +6 -6
  70. package/lib-esm/data-table/data-table-wrapper.d.ts +5 -5
  71. package/lib-esm/data-table/data-table.d.ts +2 -3
  72. package/lib-esm/data-table/index.d.ts +5 -6
  73. package/lib-esm/date-picker/date-picker.d.ts +2 -3
  74. package/lib-esm/date-picker/index.d.ts +2 -2
  75. package/lib-esm/date-picker/types.d.ts +35 -36
  76. package/lib-esm/divider/divider.d.ts +2 -3
  77. package/lib-esm/divider/index.d.ts +1 -1
  78. package/lib-esm/empty-state/empty-state.d.ts +23 -24
  79. package/lib-esm/empty-state/empty-state.js +8 -8
  80. package/lib-esm/empty-state/index.d.ts +2 -2
  81. package/lib-esm/empty-state/types.d.ts +19 -19
  82. package/lib-esm/ghost/ghost.d.ts +26 -27
  83. package/lib-esm/ghost/ghost.js +9 -9
  84. package/lib-esm/ghost/index.d.ts +1 -1
  85. package/lib-esm/grid-list-item/grid-list.d.ts +2 -3
  86. package/lib-esm/grid-list-item/index.d.ts +68 -69
  87. package/lib-esm/grid-list-item/index.js +50 -50
  88. package/lib-esm/grid-list-item/types.d.ts +10 -10
  89. package/lib-esm/guided-tooltip/guided-tooltip-body.d.ts +9 -10
  90. package/lib-esm/guided-tooltip/guided-tooltip-body.js +4 -4
  91. package/lib-esm/guided-tooltip/guided-tooltip-footer.d.ts +27 -28
  92. package/lib-esm/guided-tooltip/guided-tooltip-footer.js +9 -9
  93. package/lib-esm/guided-tooltip/guided-tooltip-icon.d.ts +5 -5
  94. package/lib-esm/guided-tooltip/guided-tooltip-icon.js +2 -2
  95. package/lib-esm/guided-tooltip/guided-tooltip-illustration.d.ts +5 -5
  96. package/lib-esm/guided-tooltip/guided-tooltip-illustration.js +2 -2
  97. package/lib-esm/guided-tooltip/guided-tooltip-title.d.ts +5 -5
  98. package/lib-esm/guided-tooltip/guided-tooltip-title.js +2 -2
  99. package/lib-esm/guided-tooltip/guided-tooltip.d.ts +26 -27
  100. package/lib-esm/guided-tooltip/guided-tooltip.js +11 -11
  101. package/lib-esm/guided-tooltip/index.d.ts +3 -3
  102. package/lib-esm/guided-tooltip/types.d.ts +102 -102
  103. package/lib-esm/guided-tooltip/utils/guided-tooltip-context.d.ts +10 -11
  104. package/lib-esm/icon-dual-state-button/icon-dual-state-button.d.ts +2 -3
  105. package/lib-esm/icon-dual-state-button/index.d.ts +2 -2
  106. package/lib-esm/icon-dual-state-button/types.d.ts +41 -41
  107. package/lib-esm/icon-toggle-button/icon-toggle-button.d.ts +3 -4
  108. package/lib-esm/icon-toggle-button/index.d.ts +2 -2
  109. package/lib-esm/icon-toggle-button/types.d.ts +28 -28
  110. package/lib-esm/index.css +10 -2
  111. package/lib-esm/index.d.ts +76 -76
  112. package/lib-esm/inline-notice/inline-notice.d.ts +17 -17
  113. package/lib-esm/inline-notice/inline-notice.js +2 -2
  114. package/lib-esm/inline-table/index.d.ts +2 -2
  115. package/lib-esm/inline-table/inline-table.d.ts +10 -10
  116. package/lib-esm/inline-table/types.d.ts +13 -14
  117. package/lib-esm/input-chip/index.d.ts +2 -2
  118. package/lib-esm/input-chip/input-chip.d.ts +3 -3
  119. package/lib-esm/input-chip/types.d.ts +25 -25
  120. package/lib-esm/large-list-item/index.d.ts +81 -82
  121. package/lib-esm/large-list-item/index.js +57 -57
  122. package/lib-esm/large-list-item/large-list-item-description.d.ts +3 -4
  123. package/lib-esm/large-list-item/large-list-item-snippet.d.ts +2 -3
  124. package/lib-esm/large-list-item/large-list.d.ts +2 -3
  125. package/lib-esm/large-list-item/types.d.ts +15 -15
  126. package/lib-esm/list-item/cell/action-cell.d.ts +13 -13
  127. package/lib-esm/list-item/cell/action-cell.js +5 -5
  128. package/lib-esm/list-item/cell/cell.d.ts +13 -14
  129. package/lib-esm/list-item/cell/cell.js +3 -3
  130. package/lib-esm/list-item/drop-indicator.d.ts +2 -3
  131. package/lib-esm/list-item/index.d.ts +22 -25
  132. package/lib-esm/list-item/list-item.d.ts +22 -25
  133. package/lib-esm/list-item/row.d.ts +12 -12
  134. package/lib-esm/list-item/row.js +3 -3
  135. package/lib-esm/list-item/table-body.d.ts +14 -16
  136. package/lib-esm/list-item/table-body.js +3 -3
  137. package/lib-esm/list-item/table-column.d.ts +16 -16
  138. package/lib-esm/list-item/table-column.js +3 -3
  139. package/lib-esm/list-item/table-header.d.ts +12 -12
  140. package/lib-esm/list-item/table-header.js +3 -3
  141. package/lib-esm/list-item/table.d.ts +7 -8
  142. package/lib-esm/list-item/table.js +3 -3
  143. package/lib-esm/loading-indicator/loading-indicator.d.ts +17 -17
  144. package/lib-esm/modal/index.d.ts +2 -2
  145. package/lib-esm/modal/modal-body.d.ts +5 -6
  146. package/lib-esm/modal/modal-body.js +2 -2
  147. package/lib-esm/modal/modal-close.d.ts +5 -6
  148. package/lib-esm/modal/modal-close.js +2 -2
  149. package/lib-esm/modal/modal-content.d.ts +7 -8
  150. package/lib-esm/modal/modal-content.js +2 -2
  151. package/lib-esm/modal/modal-footer.d.ts +21 -22
  152. package/lib-esm/modal/modal-footer.js +3 -3
  153. package/lib-esm/modal/modal-header.d.ts +5 -6
  154. package/lib-esm/modal/modal-header.js +2 -2
  155. package/lib-esm/modal/modal-scrollable-container.d.ts +8 -9
  156. package/lib-esm/modal/modal-scrollable-container.js +3 -3
  157. package/lib-esm/modal/modal-title.d.ts +5 -6
  158. package/lib-esm/modal/modal-title.js +2 -2
  159. package/lib-esm/modal/modal-trigger.d.ts +5 -6
  160. package/lib-esm/modal/modal-trigger.js +2 -2
  161. package/lib-esm/modal/modal.d.ts +53 -54
  162. package/lib-esm/modal/modal.js +22 -22
  163. package/lib-esm/modal/types.d.ts +55 -55
  164. package/lib-esm/navigation-menu/index.d.ts +15 -16
  165. package/lib-esm/navigation-menu/navigation-menu-content.d.ts +6 -7
  166. package/lib-esm/navigation-menu/navigation-menu-content.js +2 -2
  167. package/lib-esm/navigation-menu/navigation-menu-item.d.ts +13 -13
  168. package/lib-esm/navigation-menu/navigation-menu-item.js +8 -8
  169. package/lib-esm/navigation-menu/navigation-menu-link.d.ts +6 -6
  170. package/lib-esm/navigation-menu/navigation-menu-link.js +2 -2
  171. package/lib-esm/navigation-menu/navigation-menu-root.d.ts +9 -9
  172. package/lib-esm/navigation-menu/navigation-menu-root.js +2 -2
  173. package/lib-esm/navigation-menu/navigation-menu-separator.d.ts +1 -2
  174. package/lib-esm/navigation-menu/navigation-menu-trigger.d.ts +6 -7
  175. package/lib-esm/navigation-menu/navigation-menu-trigger.js +2 -2
  176. package/lib-esm/page/index.d.ts +16 -17
  177. package/lib-esm/page/page-content.d.ts +2 -3
  178. package/lib-esm/page/page-context.d.ts +27 -27
  179. package/lib-esm/page/page-global-header-search-container.d.ts +2 -2
  180. package/lib-esm/page/page-global-header-side-content-container.d.ts +2 -2
  181. package/lib-esm/page/page-global-header.d.ts +12 -13
  182. package/lib-esm/page/page-navigation.d.ts +2 -3
  183. package/lib-esm/page/page-root.d.ts +2 -3
  184. package/lib-esm/page/types.d.ts +23 -23
  185. package/lib-esm/page-section/index.d.ts +6 -7
  186. package/lib-esm/page-section/page-section-container.d.ts +1 -2
  187. package/lib-esm/page-section/page-section-content.d.ts +1 -2
  188. package/lib-esm/page-section/page-section-divider.d.ts +1 -2
  189. package/lib-esm/page-section/page-section-header.d.ts +1 -2
  190. package/lib-esm/page-section/page-section.d.ts +1 -2
  191. package/lib-esm/password-input/index.d.ts +2 -2
  192. package/lib-esm/password-input/password-input.d.ts +9 -10
  193. package/lib-esm/password-input/types.d.ts +16 -16
  194. package/lib-esm/primitives/base-button/base-button-context.d.ts +3 -4
  195. package/lib-esm/primitives/base-button/base-button-icon.d.ts +2 -3
  196. package/lib-esm/primitives/base-button/base-button-label.d.ts +2 -3
  197. package/lib-esm/primitives/base-button/base-button.d.ts +1 -2
  198. package/lib-esm/primitives/base-button/index.d.ts +5 -6
  199. package/lib-esm/primitives/base-button/types.d.ts +28 -28
  200. package/lib-esm/primitives/base-button/utils.d.ts +8 -8
  201. package/lib-esm/primitives/base-inline-notice/base-inline-notice-actions.d.ts +31 -32
  202. package/lib-esm/primitives/base-inline-notice/base-inline-notice-content-container.d.ts +6 -7
  203. package/lib-esm/primitives/base-inline-notice/base-inline-notice-content-container.js +3 -3
  204. package/lib-esm/primitives/base-inline-notice/base-inline-notice-content.d.ts +5 -6
  205. package/lib-esm/primitives/base-inline-notice/base-inline-notice-icon.d.ts +2 -3
  206. package/lib-esm/primitives/base-inline-notice/base-inline-notice.d.ts +2 -3
  207. package/lib-esm/primitives/base-inline-notice/index.d.ts +25 -26
  208. package/lib-esm/primitives/base-inline-notice/types.d.ts +39 -39
  209. package/lib-esm/primitives/base-text-input/base-text-input.d.ts +8 -9
  210. package/lib-esm/primitives/base-text-input/base-text-input.js +5 -5
  211. package/lib-esm/primitives/base-text-input/index.d.ts +2 -2
  212. package/lib-esm/primitives/base-text-input/types.d.ts +24 -25
  213. package/lib-esm/primitives/calendar/calendar.d.ts +2 -3
  214. package/lib-esm/primitives/calendar/calendar.js +3 -3
  215. package/lib-esm/primitives/calendar/classes.util.d.ts +7 -7
  216. package/lib-esm/primitives/calendar/from-absolute.util.d.ts +6 -6
  217. package/lib-esm/primitives/calendar/from-absolute.util.js +4 -4
  218. package/lib-esm/primitives/calendar/get-local-timezone.util.d.ts +1 -1
  219. package/lib-esm/primitives/calendar/index.d.ts +11 -11
  220. package/lib-esm/primitives/calendar/parse-absolute-to-local.util.d.ts +5 -5
  221. package/lib-esm/primitives/calendar/parse-absolute-to-local.util.js +3 -3
  222. package/lib-esm/primitives/calendar/parse-absolute.util.d.ts +7 -7
  223. package/lib-esm/primitives/calendar/parse-absolute.util.js +5 -5
  224. package/lib-esm/primitives/calendar/parse-date.util.d.ts +7 -7
  225. package/lib-esm/primitives/calendar/parse-date.util.js +4 -4
  226. package/lib-esm/primitives/calendar/to-calendar-date-time.util.d.ts +8 -8
  227. package/lib-esm/primitives/calendar/to-calendar-date-time.util.js +5 -5
  228. package/lib-esm/primitives/calendar/to-calendar-date.util.d.ts +7 -7
  229. package/lib-esm/primitives/calendar/to-calendar-date.util.js +4 -4
  230. package/lib-esm/primitives/calendar/to-zoned.util.d.ts +9 -9
  231. package/lib-esm/primitives/calendar/to-zoned.util.js +6 -6
  232. package/lib-esm/primitives/calendar/types.d.ts +17 -17
  233. package/lib-esm/primitives/chips/chip-dropdown-indicator.d.ts +1 -2
  234. package/lib-esm/primitives/chips/chip-icon.d.ts +3 -3
  235. package/lib-esm/primitives/chips/chip-label.d.ts +2 -3
  236. package/lib-esm/primitives/chips/chip-status.d.ts +2 -3
  237. package/lib-esm/primitives/chips/chip.d.ts +2 -3
  238. package/lib-esm/primitives/chips/chips-group.d.ts +2 -3
  239. package/lib-esm/primitives/chips/filter-chip/filter-chip-button.d.ts +7 -8
  240. package/lib-esm/primitives/chips/filter-chip/filter-chip-button.js +3 -3
  241. package/lib-esm/primitives/chips/filter-chip/filter-chip-group-context.d.ts +10 -11
  242. package/lib-esm/primitives/chips/filter-chip/filter-chip.d.ts +13 -14
  243. package/lib-esm/primitives/chips/filter-chip/filter-chip.js +6 -6
  244. package/lib-esm/primitives/chips/filter-chip/filter-combo-chip.d.ts +27 -27
  245. package/lib-esm/primitives/chips/filter-chip/filter-combo-chip.js +3 -3
  246. package/lib-esm/primitives/chips/filter-chip/filter-trigger-chip.d.ts +15 -16
  247. package/lib-esm/primitives/chips/filter-chip/filter-trigger-chip.js +5 -5
  248. package/lib-esm/primitives/chips/filter-chip/index.d.ts +20 -21
  249. package/lib-esm/primitives/chips/types.d.ts +26 -27
  250. package/lib-esm/primitives/context-menu/context-menu-item.d.ts +16 -17
  251. package/lib-esm/primitives/context-menu/context-menu-item.js +7 -7
  252. package/lib-esm/primitives/context-menu/context-menu-items-separator.d.ts +4 -5
  253. package/lib-esm/primitives/context-menu/context-menu-items-separator.js +2 -2
  254. package/lib-esm/primitives/context-menu/context-menu-menu-content.d.ts +10 -11
  255. package/lib-esm/primitives/context-menu/context-menu-menu-content.js +2 -2
  256. package/lib-esm/primitives/context-menu/context-menu-menu-root.d.ts +7 -7
  257. package/lib-esm/primitives/context-menu/context-menu-menu-root.js +3 -3
  258. package/lib-esm/primitives/context-menu/context-menu-menu-trigger.d.ts +7 -8
  259. package/lib-esm/primitives/context-menu/context-menu-menu-trigger.js +3 -3
  260. package/lib-esm/primitives/context-menu/context-menu-sub-menu-content.d.ts +11 -12
  261. package/lib-esm/primitives/context-menu/context-menu-sub-menu-content.js +3 -3
  262. package/lib-esm/primitives/context-menu/context-menu-sub-menu-root.d.ts +10 -10
  263. package/lib-esm/primitives/context-menu/context-menu-sub-menu-root.js +3 -3
  264. package/lib-esm/primitives/context-menu/context-menu-sub-menu-trigger.d.ts +17 -18
  265. package/lib-esm/primitives/context-menu/context-menu-sub-menu-trigger.js +8 -8
  266. package/lib-esm/primitives/context-menu/index.d.ts +26 -27
  267. package/lib-esm/primitives/date-i18n-provider/date-i18n-provider.d.ts +15 -15
  268. package/lib-esm/primitives/dropdown-menu/dropdown-menu-checkbox-item.d.ts +7 -8
  269. package/lib-esm/primitives/dropdown-menu/dropdown-menu-checkbox-item.js +3 -3
  270. package/lib-esm/primitives/dropdown-menu/dropdown-menu-content.d.ts +11 -12
  271. package/lib-esm/primitives/dropdown-menu/dropdown-menu-content.js +3 -3
  272. package/lib-esm/primitives/dropdown-menu/dropdown-menu-group.d.ts +7 -8
  273. package/lib-esm/primitives/dropdown-menu/dropdown-menu-group.js +3 -3
  274. package/lib-esm/primitives/dropdown-menu/dropdown-menu-item.d.ts +6 -7
  275. package/lib-esm/primitives/dropdown-menu/dropdown-menu-item.js +2 -2
  276. package/lib-esm/primitives/dropdown-menu/dropdown-menu-radio-group.d.ts +7 -8
  277. package/lib-esm/primitives/dropdown-menu/dropdown-menu-radio-group.js +3 -3
  278. package/lib-esm/primitives/dropdown-menu/dropdown-menu-radio-select-item.d.ts +7 -8
  279. package/lib-esm/primitives/dropdown-menu/dropdown-menu-radio-select-item.js +3 -3
  280. package/lib-esm/primitives/dropdown-menu/dropdown-menu-root.d.ts +9 -9
  281. package/lib-esm/primitives/dropdown-menu/dropdown-menu-root.js +2 -2
  282. package/lib-esm/primitives/dropdown-menu/dropdown-menu-separator.d.ts +1 -2
  283. package/lib-esm/primitives/dropdown-menu/dropdown-menu-sub-menu-content.d.ts +11 -12
  284. package/lib-esm/primitives/dropdown-menu/dropdown-menu-sub-menu-content.js +3 -3
  285. package/lib-esm/primitives/dropdown-menu/dropdown-menu-sub-menu-root.d.ts +10 -10
  286. package/lib-esm/primitives/dropdown-menu/dropdown-menu-sub-menu-root.js +3 -3
  287. package/lib-esm/primitives/dropdown-menu/dropdown-menu-sub-menu-trigger.d.ts +16 -17
  288. package/lib-esm/primitives/dropdown-menu/dropdown-menu-sub-menu-trigger.js +7 -7
  289. package/lib-esm/primitives/dropdown-menu/dropdown-menu-trigger.d.ts +7 -8
  290. package/lib-esm/primitives/dropdown-menu/dropdown-menu-trigger.js +3 -3
  291. package/lib-esm/primitives/dropdown-menu/index.d.ts +29 -30
  292. package/lib-esm/primitives/icon-button/icon-button.d.ts +1 -2
  293. package/lib-esm/primitives/icon-button/index.d.ts +2 -2
  294. package/lib-esm/primitives/icon-button/types.d.ts +42 -42
  295. package/lib-esm/primitives/icon-button/utils.d.ts +3 -3
  296. package/lib-esm/primitives/inline-error/inline-error.d.ts +3 -4
  297. package/lib-esm/primitives/inline-error/types.d.ts +4 -5
  298. package/lib-esm/primitives/link/index.d.ts +2 -2
  299. package/lib-esm/primitives/link/link.d.ts +2 -3
  300. package/lib-esm/primitives/link/types.d.ts +39 -39
  301. package/lib-esm/primitives/notification/index.d.ts +11 -12
  302. package/lib-esm/primitives/notification/notification-button.d.ts +8 -8
  303. package/lib-esm/primitives/notification/notification-provider.d.ts +39 -39
  304. package/lib-esm/primitives/notification/notification-provider.js +5 -5
  305. package/lib-esm/primitives/notification/notification.viewport.d.ts +8 -9
  306. package/lib-esm/primitives/notification/notification.viewport.js +4 -4
  307. package/lib-esm/primitives/notification/private-notification-element.d.ts +33 -33
  308. package/lib-esm/primitives/notification/private-notification-element.js +7 -7
  309. package/lib-esm/primitives/page-header/index.d.ts +2 -2
  310. package/lib-esm/primitives/page-header/page-header.d.ts +11 -12
  311. package/lib-esm/primitives/page-header/types.d.ts +8 -8
  312. package/lib-esm/primitives/popover/index.d.ts +19 -20
  313. package/lib-esm/primitives/popover/popover-anchor.d.ts +7 -8
  314. package/lib-esm/primitives/popover/popover-anchor.js +3 -3
  315. package/lib-esm/primitives/popover/popover-close.d.ts +7 -8
  316. package/lib-esm/primitives/popover/popover-close.js +3 -3
  317. package/lib-esm/primitives/popover/popover-content-container.d.ts +11 -12
  318. package/lib-esm/primitives/popover/popover-content-container.js +3 -3
  319. package/lib-esm/primitives/popover/popover-focus-utils.d.ts +1 -1
  320. package/lib-esm/primitives/popover/popover-focus-utils.js +3 -3
  321. package/lib-esm/primitives/popover/popover-footer.d.ts +6 -7
  322. package/lib-esm/primitives/popover/popover-footer.js +2 -2
  323. package/lib-esm/primitives/popover/popover-main-content.d.ts +6 -7
  324. package/lib-esm/primitives/popover/popover-main-content.js +2 -2
  325. package/lib-esm/primitives/popover/popover-overflow-context.d.ts +6 -6
  326. package/lib-esm/primitives/popover/popover-root.d.ts +9 -9
  327. package/lib-esm/primitives/popover/popover-root.js +2 -2
  328. package/lib-esm/primitives/popover/popover-trigger.d.ts +8 -9
  329. package/lib-esm/primitives/popover/popover-trigger.js +4 -4
  330. package/lib-esm/primitives/select-menu-grid/index.d.ts +12 -12
  331. package/lib-esm/primitives/select-menu-grid/select-menu-grid-option.d.ts +131 -132
  332. package/lib-esm/primitives/select-menu-grid/select-menu-grid.d.ts +2 -3
  333. package/lib-esm/primitives/select-menu-grid/types.d.ts +34 -35
  334. package/lib-esm/primitives/slot.d.ts +5 -5
  335. package/lib-esm/primitives/supplementary-fonts/get-supplementary-font-faces-config.d.ts +5 -5
  336. package/lib-esm/primitives/supplementary-fonts/get-supplementary-font-faces-config.js +2 -2
  337. package/lib-esm/primitives/supplementary-fonts/index.d.ts +4 -4
  338. package/lib-esm/primitives/supplementary-fonts/supplementary-fonts.d.ts +5 -6
  339. package/lib-esm/primitives/supplementary-fonts/types.d.ts +2 -2
  340. package/lib-esm/primitives/supplementary-fonts/useSupplementaryFonts.hook.d.ts +2 -2
  341. package/lib-esm/primitives/tabs/content-switch-tab.d.ts +2 -3
  342. package/lib-esm/primitives/tabs/default-tab.d.ts +2 -3
  343. package/lib-esm/primitives/tabs/index.d.ts +16 -17
  344. package/lib-esm/primitives/tabs/index.js +6 -6
  345. package/lib-esm/primitives/tabs/tab-list.d.ts +2 -3
  346. package/lib-esm/primitives/tabs/tab-panel.d.ts +2 -3
  347. package/lib-esm/primitives/tabs/tab.d.ts +2 -2
  348. package/lib-esm/primitives/tabs/tabs.d.ts +2 -2
  349. package/lib-esm/primitives/tabs/types.d.ts +14 -14
  350. package/lib-esm/primitives/tabs/use-tabs.d.ts +1 -1
  351. package/lib-esm/radio-group/index.d.ts +7 -8
  352. package/lib-esm/radio-group/radio-group.d.ts +2 -3
  353. package/lib-esm/radio-group/radio-item.d.ts +2 -3
  354. package/lib-esm/radio-group/types.d.ts +14 -14
  355. package/lib-esm/radio-tiles/index.d.ts +3 -3
  356. package/lib-esm/radio-tiles/radio-tiles-option.d.ts +2 -2
  357. package/lib-esm/radio-tiles/radio-tiles.context.d.ts +9 -9
  358. package/lib-esm/radio-tiles/radio-tiles.d.ts +4 -4
  359. package/lib-esm/radio-tiles/types.d.ts +48 -48
  360. package/lib-esm/search-input/index.d.ts +12 -13
  361. package/lib-esm/search-input/index.js +2 -2
  362. package/lib-esm/search-input/search-input-action-button.d.ts +5 -6
  363. package/lib-esm/search-input/search-input-controlled/index.d.ts +2 -2
  364. package/lib-esm/search-input/search-input-controlled/search-input-controlled.d.ts +2 -3
  365. package/lib-esm/search-input/search-input-controlled/types.d.ts +21 -21
  366. package/lib-esm/search-input/search-input.d.ts +9 -10
  367. package/lib-esm/search-input/search-input.js +4 -4
  368. package/lib-esm/search-input/types.d.ts +50 -50
  369. package/lib-esm/select/index.d.ts +2 -2
  370. package/lib-esm/select/select.d.ts +42 -43
  371. package/lib-esm/select/select.js +29 -29
  372. package/lib-esm/select/types.d.ts +106 -106
  373. package/lib-esm/side-panel/index.d.ts +2 -2
  374. package/lib-esm/side-panel/side-panel-close.d.ts +5 -6
  375. package/lib-esm/side-panel/side-panel-close.js +2 -2
  376. package/lib-esm/side-panel/side-panel-content.d.ts +13 -14
  377. package/lib-esm/side-panel/side-panel-content.js +4 -4
  378. package/lib-esm/side-panel/side-panel-footer.d.ts +21 -22
  379. package/lib-esm/side-panel/side-panel-footer.js +3 -3
  380. package/lib-esm/side-panel/side-panel-header.d.ts +5 -6
  381. package/lib-esm/side-panel/side-panel-header.js +2 -2
  382. package/lib-esm/side-panel/side-panel-overlay.d.ts +6 -7
  383. package/lib-esm/side-panel/side-panel-overlay.js +3 -3
  384. package/lib-esm/side-panel/side-panel-scrollable-container.d.ts +6 -7
  385. package/lib-esm/side-panel/side-panel-scrollable-container.js +3 -3
  386. package/lib-esm/side-panel/side-panel-trigger.d.ts +5 -6
  387. package/lib-esm/side-panel/side-panel-trigger.js +2 -2
  388. package/lib-esm/side-panel/side-panel.d.ts +27 -28
  389. package/lib-esm/side-panel/types.d.ts +49 -49
  390. package/lib-esm/side-panel/variant-context.d.ts +6 -6
  391. package/lib-esm/slider/index.d.ts +2 -2
  392. package/lib-esm/slider/slider-incrementer.d.ts +5 -5
  393. package/lib-esm/slider/slider-incrementer.js +18 -5
  394. package/lib-esm/slider/slider-incrementer.module.js +1 -1
  395. package/lib-esm/slider/slider-range.d.ts +5 -6
  396. package/lib-esm/slider/slider-range.js +2 -2
  397. package/lib-esm/slider/slider.d.ts +4 -5
  398. package/lib-esm/slider/slider.js +7 -2
  399. package/lib-esm/slider/slider.module.js +1 -1
  400. package/lib-esm/slider/types.d.ts +181 -181
  401. package/lib-esm/small-list-item/index.d.ts +56 -57
  402. package/lib-esm/small-list-item/index.js +38 -38
  403. package/lib-esm/small-list-item/small-list.d.ts +2 -3
  404. package/lib-esm/small-list-item/types.d.ts +8 -8
  405. package/lib-esm/split-button/SplitTriggerButton.d.ts +10 -11
  406. package/lib-esm/split-button/index.d.ts +2 -2
  407. package/lib-esm/split-button/split-button.d.ts +25 -26
  408. package/lib-esm/split-button/types.d.ts +43 -44
  409. package/lib-esm/status/consts.d.ts +4 -4
  410. package/lib-esm/status/index.d.ts +2 -2
  411. package/lib-esm/status/status.d.ts +2 -3
  412. package/lib-esm/status/types.d.ts +31 -31
  413. package/lib-esm/switch/index.d.ts +7 -8
  414. package/lib-esm/switch/switch-item.d.ts +4 -5
  415. package/lib-esm/switch/switch-item.js +1 -1
  416. package/lib-esm/switch/switch-legend.d.ts +2 -2
  417. package/lib-esm/switch/types.d.ts +31 -31
  418. package/lib-esm/text/index.d.ts +2 -2
  419. package/lib-esm/text/text.d.ts +2 -3
  420. package/lib-esm/text/types.d.ts +37 -37
  421. package/lib-esm/text-area/index.d.ts +2 -2
  422. package/lib-esm/text-area/text-area-autosize/text-area-autosize.d.ts +2 -3
  423. package/lib-esm/text-area/text-area-autosize/text-area-autosize.js +4 -4
  424. package/lib-esm/text-area/text-area-autosize/types.d.ts +21 -21
  425. package/lib-esm/text-area/text-area.d.ts +11 -12
  426. package/lib-esm/text-area/types.d.ts +19 -20
  427. package/lib-esm/text-button/index.d.ts +2 -2
  428. package/lib-esm/text-button/text-button.d.ts +1 -2
  429. package/lib-esm/text-button/types.d.ts +24 -24
  430. package/lib-esm/text-input/index.d.ts +2 -2
  431. package/lib-esm/text-input/text-input.d.ts +1 -2
  432. package/lib-esm/text-input/types.d.ts +9 -9
  433. package/lib-esm/text-toggle-button/index.d.ts +2 -2
  434. package/lib-esm/text-toggle-button/text-toggle-button.d.ts +2 -3
  435. package/lib-esm/text-toggle-button/types.d.ts +7 -7
  436. package/lib-esm/toolbar/index.d.ts +55 -56
  437. package/lib-esm/toolbar/index.js +35 -35
  438. package/lib-esm/toolbar/toolbar-button.d.ts +2 -3
  439. package/lib-esm/toolbar/toolbar-dropdown-indicator.d.ts +2 -3
  440. package/lib-esm/toolbar/toolbar-icon.d.ts +3 -3
  441. package/lib-esm/toolbar/toolbar-root.d.ts +2 -3
  442. package/lib-esm/toolbar/toolbar-separator.d.ts +2 -3
  443. package/lib-esm/toolbar/toolbar-toggle-group.d.ts +2 -3
  444. package/lib-esm/toolbar/toolbar-toggle-item.d.ts +2 -3
  445. package/lib-esm/toolbar/toolbar-trigger-button.d.ts +2 -3
  446. package/lib-esm/toolbar/types.d.ts +41 -41
  447. package/lib-esm/tooltip/index.d.ts +2 -2
  448. package/lib-esm/tooltip/tooltip.d.ts +16 -16
  449. package/lib-esm/tooltip/tooltip.js +14 -14
  450. package/lib-esm/tooltip/types.d.ts +46 -46
  451. package/lib-esm/trigger-button/index.d.ts +1 -1
  452. package/lib-esm/trigger-button/trigger-button.d.ts +28 -29
  453. package/lib-esm/trigger-button/trigger-button.js +3 -3
  454. package/lib-esm/types/input-value-props.d.ts +22 -22
  455. package/lib-esm/types/modify.d.ts +1 -1
  456. package/lib-esm/util-components/base-grid-list-item/base-grid-list-item-actions.d.ts +3 -4
  457. package/lib-esm/util-components/base-grid-list-item/base-grid-list-item-header.d.ts +2 -3
  458. package/lib-esm/util-components/base-grid-list-item/base-grid-list-item-subtitle.d.ts +3 -4
  459. package/lib-esm/util-components/base-grid-list-item/base-grid-list-item-thumbnail.d.ts +2 -3
  460. package/lib-esm/util-components/base-grid-list-item/base-grid-list-item.d.ts +3 -4
  461. package/lib-esm/util-components/base-grid-list-item/base-grid-list.d.ts +3 -4
  462. package/lib-esm/util-components/base-grid-list-item/index.d.ts +36 -37
  463. package/lib-esm/util-components/base-grid-list-item/index.js +18 -18
  464. package/lib-esm/util-components/base-grid-list-item/static-grid-list-item.d.ts +4 -5
  465. package/lib-esm/util-components/base-grid-list-item/static-grid-list.d.ts +2 -3
  466. package/lib-esm/util-components/base-grid-list-item/types.d.ts +47 -47
  467. package/lib-esm/util-components/base-grid-list-item/utils/rac-button.d.ts +14 -14
  468. package/lib-esm/util-components/base-grid-list-item/utils/rac-button.js +6 -6
  469. package/lib-esm/util-components/base-grid-list-item/utils/rac-tooltip.d.ts +7 -7
  470. package/lib-esm/util-components/base-toggle-button/base-toggle-button.d.ts +2 -3
  471. package/lib-esm/util-components/base-toggle-button/types.d.ts +17 -17
  472. package/lib-esm/util-components/focus-trap/focus-trap.d.ts +2 -2
  473. package/lib-esm/util-components/focus-trap/index.d.ts +1 -1
  474. package/lib-esm/util-components/focus-trap/types.d.ts +8 -8
  475. package/lib-esm/util-components/interactive-icon/index.d.ts +1 -1
  476. package/lib-esm/util-components/interactive-icon/interactive-icon.d.ts +2 -3
  477. package/lib-esm/util-components/interactive-icon/types.d.ts +9 -9
  478. package/lib-esm/util-components/labelable/index.d.ts +1 -1
  479. package/lib-esm/util-components/labelable/types.d.ts +15 -15
  480. package/lib-esm/util-components/labelable/useLabelable.d.ts +2 -3
  481. package/lib-esm/util-components/legend/index.d.ts +1 -1
  482. package/lib-esm/util-components/legend/legend.d.ts +2 -2
  483. package/lib-esm/util-components/legend/types.d.ts +18 -18
  484. package/lib-esm/util-components/list-checkbox/index.d.ts +1 -1
  485. package/lib-esm/util-components/list-checkbox/list-checkbox.d.ts +13 -14
  486. package/lib-esm/util-components/list-checkbox/list-checkbox.js +6 -6
  487. package/lib-esm/util-components/menu-item-sections/menu-item-sections.d.ts +18 -19
  488. package/lib-esm/util-components/menu-item-sections/menu-item-sections.js +4 -4
  489. package/lib-esm/util-components/scrollable-container/scrollable-container.d.ts +31 -31
  490. package/lib-esm/util-components/search-term-string/index.d.ts +1 -1
  491. package/lib-esm/util-components/search-term-string/search-term-string.d.ts +3 -3
  492. package/lib-esm/util-components/search-term-string/types.d.ts +4 -4
  493. package/lib-esm/util-components/text-with-info-badge/index.d.ts +1 -1
  494. package/lib-esm/util-components/text-with-info-badge/text-with-info-badge.d.ts +2 -2
  495. package/lib-esm/util-components/text-with-info-badge/types.d.ts +15 -15
  496. package/lib-esm/utils/commonTypes.d.ts +2 -2
  497. package/lib-esm/utils/composeEventHandlers.d.ts +4 -4
  498. package/lib-esm/utils/createSetRefWithCallback.d.ts +10 -10
  499. package/lib-esm/utils/debounce.d.ts +4 -4
  500. package/lib-esm/utils/filterNonHtmlProps.d.ts +2 -2
  501. package/lib-esm/utils/getButtonOptions.d.ts +7 -7
  502. package/lib-esm/utils/isDefined.d.ts +1 -1
  503. package/lib-esm/utils/keyboardUtils.d.ts +8 -8
  504. package/lib-esm/utils/ownerWindow.d.ts +1 -1
  505. package/lib-esm/utils/processString.d.ts +13 -13
  506. package/lib-esm/utils/scroll-context.d.ts +12 -12
  507. package/lib-esm/utils/switchCase.d.ts +1 -1
  508. package/lib-esm/utils/use-debounce.d.ts +1 -1
  509. package/lib-esm/utils/useBreakpoint.d.ts +17 -17
  510. package/lib-esm/utils/useBreakpoint.js +8 -8
  511. package/lib-esm/utils/useCallbackRef.d.ts +6 -6
  512. package/lib-esm/utils/useCallbackRef.js +3 -3
  513. package/lib-esm/utils/useControllableState.d.ts +8 -8
  514. package/lib-esm/utils/useEnhancedEffect.d.ts +7 -7
  515. package/lib-esm/utils/useEnhancedEffect.js +4 -4
  516. package/lib-esm/utils/useForkRef.d.ts +12 -12
  517. package/lib-esm/utils/useForkRef.js +12 -12
  518. package/lib-esm/utils/useFullTextTooltip.d.ts +16 -16
  519. package/lib-esm/utils/useIsTriggerInteractive.d.ts +4 -5
  520. package/lib-esm/utils/useIsTriggerInteractive.js +2 -2
  521. package/lib-esm/utils/useMedia.d.ts +1 -1
  522. package/lib-esm/utils/useMobile.d.ts +1 -1
  523. package/lib-esm/utils/useNamedSlots.hook.d.ts +2 -2
  524. package/lib-esm/utils/useSubMenuFocus.hook.d.ts +2 -2
  525. package/lib-esm/utils/useUniqueId.d.ts +5 -5
  526. package/lib-esm/visually-hidden/index.d.ts +1 -1
  527. package/lib-esm/visually-hidden/visually-hidden.d.ts +3 -4
  528. package/package.json +2 -2
@@ -1,42 +1,42 @@
1
- import { type ButtonProps as AriakitButtonProps } from '@ariakit/react';
2
- import { type FunctionComponent, type PropsWithChildren, type SVGProps } from 'react';
3
- export declare const IconButtonSizes: readonly ["x-small", "small", "large"];
4
- export type IconButtonSize = (typeof IconButtonSizes)[number];
5
- interface IconButtonCommonProps extends AriakitButtonProps {
6
- /**
7
- * Accessible label for the button.
8
- */
9
- 'aria-label': NonNullable<AriakitButtonProps['aria-label']>;
10
- /**
11
- * Icon that will be rendered.
12
- */
13
- icon: FunctionComponent<PropsWithChildren<SVGProps<SVGSVGElement>>>;
14
- }
15
- export declare const IconButtonVariants: readonly ["default", "high-contrast", "icon-logo", "small-utility"];
16
- export type IconButtonVariant = (typeof IconButtonVariants)[number];
17
- export interface IconButtonVariantsProps extends IconButtonCommonProps {
18
- /**
19
- * The variant of the button.
20
- *
21
- * @default 'default'
22
- */
23
- variant?: Exclude<IconButtonVariant, 'small-utility'>;
24
- /**
25
- * Size of the button.
26
- *
27
- * @default 'small'
28
- */
29
- size?: IconButtonSize;
30
- }
31
- export interface IconButtonSmallUtilityVariantProps extends IconButtonCommonProps {
32
- /**
33
- * The variant of the button.
34
- */
35
- variant: Extract<IconButtonVariant, 'small-utility'>;
36
- /**
37
- * The only acceptable size for the 'small-utility' variant is 'small'.
38
- */
39
- size: Extract<IconButtonSize, 'small'>;
40
- }
41
- export type IconButtonProps = IconButtonVariantsProps | IconButtonSmallUtilityVariantProps;
42
- export {};
1
+ import { type ButtonProps as AriakitButtonProps } from '@ariakit/react';
2
+ import { type FunctionComponent, type PropsWithChildren, type SVGProps } from 'react';
3
+ export declare const IconButtonSizes: readonly ["x-small", "small", "large"];
4
+ export type IconButtonSize = (typeof IconButtonSizes)[number];
5
+ interface IconButtonCommonProps extends AriakitButtonProps {
6
+ /**
7
+ * Accessible label for the button.
8
+ */
9
+ 'aria-label': NonNullable<AriakitButtonProps['aria-label']>;
10
+ /**
11
+ * Icon that will be rendered.
12
+ */
13
+ icon: FunctionComponent<PropsWithChildren<SVGProps<SVGSVGElement>>>;
14
+ }
15
+ export declare const IconButtonVariants: readonly ["default", "high-contrast", "icon-logo", "small-utility"];
16
+ export type IconButtonVariant = (typeof IconButtonVariants)[number];
17
+ export interface IconButtonVariantsProps extends IconButtonCommonProps {
18
+ /**
19
+ * The variant of the button.
20
+ *
21
+ * @default 'default'
22
+ */
23
+ variant?: Exclude<IconButtonVariant, 'small-utility'>;
24
+ /**
25
+ * Size of the button.
26
+ *
27
+ * @default 'small'
28
+ */
29
+ size?: IconButtonSize;
30
+ }
31
+ export interface IconButtonSmallUtilityVariantProps extends IconButtonCommonProps {
32
+ /**
33
+ * The variant of the button.
34
+ */
35
+ variant: Extract<IconButtonVariant, 'small-utility'>;
36
+ /**
37
+ * The only acceptable size for the 'small-utility' variant is 'small'.
38
+ */
39
+ size: Extract<IconButtonSize, 'small'>;
40
+ }
41
+ export type IconButtonProps = IconButtonVariantsProps | IconButtonSmallUtilityVariantProps;
42
+ export {};
@@ -1,3 +1,3 @@
1
- import { type IconButtonProps } from './types';
2
- declare const iconSizeMap: Record<NonNullable<IconButtonProps['size']>, string>;
3
- export { iconSizeMap };
1
+ import { type IconButtonProps } from './types';
2
+ declare const iconSizeMap: Record<NonNullable<IconButtonProps['size']>, string>;
3
+ export { iconSizeMap };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
- import { type InlineErrorProps } from './types';
3
- /** Renders an inline error message and icon, used to show error state in form elements. */
4
- export declare const InlineError: import("react").ForwardRefExoticComponent<Omit<InlineErrorProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
1
+ import { type InlineErrorProps } from './types';
2
+ /** Renders an inline error message and icon, used to show error state in form elements. */
3
+ export declare const InlineError: import("react").ForwardRefExoticComponent<Omit<InlineErrorProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- export interface InlineErrorProps extends Omit<React.ComponentProps<'span'>, 'children'> {
3
- /** Error message */
4
- children: React.ReactNode;
5
- }
1
+ export interface InlineErrorProps extends Omit<React.ComponentProps<'span'>, 'children'> {
2
+ /** Error message */
3
+ children: React.ReactNode;
4
+ }
@@ -1,2 +1,2 @@
1
- export { Link } from './link';
2
- export { type LinkProps } from './types';
1
+ export { Link } from './link';
2
+ export { type LinkProps } from './types';
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- import { type LinkProps } from './types';
3
- export declare const Link: import("react").ForwardRefExoticComponent<Omit<LinkProps<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>>, "ref"> & import("react").RefAttributes<unknown>>;
1
+ import { type LinkProps } from './types';
2
+ export declare const Link: import("react").ForwardRefExoticComponent<Omit<LinkProps<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>>, "ref"> & import("react").RefAttributes<unknown>>;
@@ -1,39 +1,39 @@
1
- import type React from 'react';
2
- export interface LinkOwnProps<E extends React.ElementType> {
3
- /** The content to display in the Link. */
4
- children?: React.ReactNode;
5
- /**
6
- * Controls whether text inside the link inherits font properties from parent or uses default style.
7
- *
8
- * Useful when Link is within the block of the text, to apply the same style for whole content.
9
- *
10
- * When property is falsy, link uses default style.
11
- *
12
- * @default false
13
- * */
14
- inheritFont?: boolean;
15
- /**
16
- * Changes the appearance of the link.
17
- * Currently supported variants:
18
- * - 'inline' (default)
19
- * - 'standalone' - displayed without the underline decoration
20
- *
21
- * @default 'inline'
22
- */
23
- variant?: 'inline' | 'standalone';
24
- /** The component used for the root node. Either a string to use a HTML element or a component.
25
- * @default 'a'
26
- */
27
- as?: E;
28
- /**
29
- * Whether or not the link should display the external link icon.
30
- *
31
- * Note that this does not add any functionality to the link. It is purely visual.
32
- * So, if you want to open the link in a new tab and prevent security vulnerabilities, you should use the `target="_blank"` and `rel="noopener noreferrer"` attributes.
33
- *
34
- * @default false
35
- */
36
- isExternal?: boolean;
37
- }
38
- export type PolymorphicLinkRef<E extends React.ElementType> = React.ComponentPropsWithRef<E>['ref'];
39
- export type LinkProps<E extends React.ElementType> = LinkOwnProps<E> & Omit<React.ComponentProps<E>, keyof LinkOwnProps<E>>;
1
+ import type React from 'react';
2
+ export interface LinkOwnProps<E extends React.ElementType> {
3
+ /** The content to display in the Link. */
4
+ children?: React.ReactNode;
5
+ /**
6
+ * Controls whether text inside the link inherits font properties from parent or uses default style.
7
+ *
8
+ * Useful when Link is within the block of the text, to apply the same style for whole content.
9
+ *
10
+ * When property is falsy, link uses default style.
11
+ *
12
+ * @default false
13
+ * */
14
+ inheritFont?: boolean;
15
+ /**
16
+ * Changes the appearance of the link.
17
+ * Currently supported variants:
18
+ * - 'inline' (default)
19
+ * - 'standalone' - displayed without the underline decoration
20
+ *
21
+ * @default 'inline'
22
+ */
23
+ variant?: 'inline' | 'standalone';
24
+ /** The component used for the root node. Either a string to use a HTML element or a component.
25
+ * @default 'a'
26
+ */
27
+ as?: E;
28
+ /**
29
+ * Whether or not the link should display the external link icon.
30
+ *
31
+ * Note that this does not add any functionality to the link. It is purely visual.
32
+ * So, if you want to open the link in a new tab and prevent security vulnerabilities, you should use the `target="_blank"` and `rel="noopener noreferrer"` attributes.
33
+ *
34
+ * @default false
35
+ */
36
+ isExternal?: boolean;
37
+ }
38
+ export type PolymorphicLinkRef<E extends React.ElementType> = React.ComponentPropsWithRef<E>['ref'];
39
+ export type LinkProps<E extends React.ElementType> = LinkOwnProps<E> & Omit<React.ComponentProps<E>, keyof LinkOwnProps<E>>;
@@ -1,12 +1,11 @@
1
- /// <reference types="react" />
2
- export { type NotificationButtonProps } from './notification-button';
3
- export { useNotification, type NotificationProviderProps } from './notification-provider';
4
- export { type NotificationViewportProps } from './notification.viewport';
5
- export declare const Notification: {
6
- Provider: import("react").FC<import("react").PropsWithChildren<import("@radix-ui/react-toast").ToastProviderProps>>;
7
- Button: {
8
- (props: import("./notification-button").NotificationButtonProps): import("react/jsx-runtime").JSX.Element;
9
- displayName: string;
10
- };
11
- Viewport: import("react").ForwardRefExoticComponent<import("@radix-ui/react-toast").ToastViewportProps & import("react").RefAttributes<HTMLOListElement>>;
12
- };
1
+ export { type NotificationButtonProps } from './notification-button';
2
+ export { useNotification, type NotificationProviderProps } from './notification-provider';
3
+ export { type NotificationViewportProps } from './notification.viewport';
4
+ export declare const Notification: {
5
+ Provider: import("react").FC<import("react").PropsWithChildren<import("@radix-ui/react-toast").ToastProviderProps>>;
6
+ Button: {
7
+ (props: import("./notification-button").NotificationButtonProps): import("react/jsx-runtime").JSX.Element;
8
+ displayName: string;
9
+ };
10
+ Viewport: import("react").ForwardRefExoticComponent<import("@radix-ui/react-toast").ToastViewportProps & import("react").RefAttributes<HTMLOListElement>>;
11
+ };
@@ -1,8 +1,8 @@
1
- import { type ButtonProps } from '../../button';
2
- export type NotificationButtonProps = ButtonProps & {
3
- ariaLabel: string;
4
- };
5
- export declare const NotificationButton: {
6
- (props: NotificationButtonProps): import("react/jsx-runtime").JSX.Element;
7
- displayName: string;
8
- };
1
+ import { type ButtonProps } from '../../button';
2
+ export type NotificationButtonProps = ButtonProps & {
3
+ ariaLabel: string;
4
+ };
5
+ export declare const NotificationButton: {
6
+ (props: NotificationButtonProps): import("react/jsx-runtime").JSX.Element;
7
+ displayName: string;
8
+ };
@@ -1,39 +1,39 @@
1
- import * as Toast from '@radix-ui/react-toast';
2
- import * as React from 'react';
3
- import { type PrivateNotificationElementProps } from './private-notification-element';
4
- export type NotificationProviderProps = Toast.ToastProviderProps;
5
- interface NotificationContextType {
6
- /**
7
- * Creates notification based on passed arguments.
8
- * @returns string, which is notification `id`.
9
- */
10
- addNotification: (args: PrivateNotificationElementProps) => string;
11
- /**
12
- * map of active notifications, where key is notification `id`.
13
- */
14
- notifications: Map<string, PrivateNotificationElementProps>;
15
- /**
16
- * Removes notification with given `id`.
17
- * @param id string
18
- */
19
- removeNotification: (id: string) => void;
20
- /**
21
- * Removes all notifications.
22
- */
23
- removeAllNotifications: () => void;
24
- /**
25
- * updates notification with given `id`.
26
- * @param id string
27
- * @param newProps - new properties of notification
28
- */
29
- updateNotification: (id: string, newProps: PrivateNotificationElementProps) => void;
30
- }
31
- export declare const useNotification: () => NotificationContextType;
32
- /**
33
- * A wrapper for notifications. It must be provided by the application.
34
- *
35
- * It provides a NotificationContext, which should be used with useNotification hook.
36
- * useNotification hook provides access to store, and methods to interact with it.
37
- */
38
- export declare const NotificationProvider: React.FC<React.PropsWithChildren<NotificationProviderProps>>;
39
- export {};
1
+ import * as Toast from '@radix-ui/react-toast';
2
+ import * as React from 'react';
3
+ import { type PrivateNotificationElementProps } from './private-notification-element';
4
+ export type NotificationProviderProps = Toast.ToastProviderProps;
5
+ interface NotificationContextType {
6
+ /**
7
+ * Creates notification based on passed arguments.
8
+ * @returns string, which is notification `id`.
9
+ */
10
+ addNotification: (args: PrivateNotificationElementProps) => string;
11
+ /**
12
+ * map of active notifications, where key is notification `id`.
13
+ */
14
+ notifications: Map<string, PrivateNotificationElementProps>;
15
+ /**
16
+ * Removes notification with given `id`.
17
+ * @param id string
18
+ */
19
+ removeNotification: (id: string) => void;
20
+ /**
21
+ * Removes all notifications.
22
+ */
23
+ removeAllNotifications: () => void;
24
+ /**
25
+ * updates notification with given `id`.
26
+ * @param id string
27
+ * @param newProps - new properties of notification
28
+ */
29
+ updateNotification: (id: string, newProps: PrivateNotificationElementProps) => void;
30
+ }
31
+ export declare const useNotification: () => NotificationContextType;
32
+ /**
33
+ * A wrapper for notifications. It must be provided by the application.
34
+ *
35
+ * It provides a NotificationContext, which should be used with useNotification hook.
36
+ * useNotification hook provides access to store, and methods to interact with it.
37
+ */
38
+ export declare const NotificationProvider: React.FC<React.PropsWithChildren<NotificationProviderProps>>;
39
+ export {};
@@ -14,11 +14,11 @@ const useNotification = () => {
14
14
  }
15
15
  return value;
16
16
  };
17
- /**
18
- * A wrapper for notifications. It must be provided by the application.
19
- *
20
- * It provides a NotificationContext, which should be used with useNotification hook.
21
- * useNotification hook provides access to store, and methods to interact with it.
17
+ /**
18
+ * A wrapper for notifications. It must be provided by the application.
19
+ *
20
+ * It provides a NotificationContext, which should be used with useNotification hook.
21
+ * useNotification hook provides access to store, and methods to interact with it.
22
22
  */
23
23
  const NotificationProvider = props => {
24
24
  const {
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
- import { type ToastViewportProps } from '@radix-ui/react-toast';
3
- export type NotificationViewportProps = ToastViewportProps;
4
- /**
5
- * Renders container with Notifications.
6
- *
7
- * Based on Radix-UI [Viewport](https://www.radix-ui.com/docs/primitives/components/toast#viewport).
8
- */
9
- export declare const NotificationViewport: import("react").ForwardRefExoticComponent<ToastViewportProps & import("react").RefAttributes<HTMLOListElement>>;
1
+ import { type ToastViewportProps } from '@radix-ui/react-toast';
2
+ export type NotificationViewportProps = ToastViewportProps;
3
+ /**
4
+ * Renders container with Notifications.
5
+ *
6
+ * Based on Radix-UI [Viewport](https://www.radix-ui.com/docs/primitives/components/toast#viewport).
7
+ */
8
+ export declare const NotificationViewport: import("react").ForwardRefExoticComponent<ToastViewportProps & import("react").RefAttributes<HTMLOListElement>>;
@@ -6,10 +6,10 @@ import { useNotification } from './notification-provider.js';
6
6
  import styles from './notification.module.js';
7
7
  import { PrivateNotificationElement } from './private-notification-element.js';
8
8
 
9
- /**
10
- * Renders container with Notifications.
11
- *
12
- * Based on Radix-UI [Viewport](https://www.radix-ui.com/docs/primitives/components/toast#viewport).
9
+ /**
10
+ * Renders container with Notifications.
11
+ *
12
+ * Based on Radix-UI [Viewport](https://www.radix-ui.com/docs/primitives/components/toast#viewport).
13
13
  */
14
14
  const NotificationViewport = /*#__PURE__*/forwardRef((props, forwardedRef) => {
15
15
  const {
@@ -1,33 +1,33 @@
1
- import * as Toast from '@radix-ui/react-toast';
2
- import { type ToastProps } from '@radix-ui/react-toast';
3
- import { type ReactNode } from 'react';
4
- import { type StyledText } from '../../utils/commonTypes';
5
- export interface PrivateNotificationElementProps extends ToastProps {
6
- /** Governs the icon type and background color for the notification */
7
- variant: 'info' | 'success' | 'warning' | 'error';
8
- /** [radix-ui doc](https://www.radix-ui.com/docs/primitives/components/toast#sensitivity).
9
- * For toasts that are the result of a user action, choose foreground.
10
- * Toasts generated from background tasks should use background */
11
- sensitivity: Toast.ToastProps['type'];
12
- /** Aria label for the type icon */
13
- typeIconAriaLabel: string;
14
- /** Aria label for the close button */
15
- closeButtonAriaLabel: string;
16
- /** The main text of the notification. */
17
- styledText: StyledText;
18
- /** What to do on close. This is provided by addNotification by default */
19
- onClose?: () => void;
20
- /** The state of the notification. This is provided by addNotification by default */
21
- open?: boolean;
22
- /** This props should be Notification.Buttons only */
23
- children?: ReactNode;
24
- }
25
- /**
26
- * A base component mounted on a page when addNotification is invoked.
27
- *
28
- * It's based on Radix-UI toast
29
- * * [Radix-UI link](https://www.radix-ui.com/docs/primitives/components/toast)
30
- *
31
- * **IMPORTANT**: Must be placed inside a single <b><NotificationProvider></b> singleton component provided by the app
32
- */
33
- export declare function PrivateNotificationElement(props: PrivateNotificationElementProps): import("react/jsx-runtime").JSX.Element;
1
+ import * as Toast from '@radix-ui/react-toast';
2
+ import { type ToastProps } from '@radix-ui/react-toast';
3
+ import { type ReactNode } from 'react';
4
+ import { type StyledText } from '../../utils/commonTypes';
5
+ export interface PrivateNotificationElementProps extends ToastProps {
6
+ /** Governs the icon type and background color for the notification */
7
+ variant: 'info' | 'success' | 'warning' | 'error';
8
+ /** [radix-ui doc](https://www.radix-ui.com/docs/primitives/components/toast#sensitivity).
9
+ * For toasts that are the result of a user action, choose foreground.
10
+ * Toasts generated from background tasks should use background */
11
+ sensitivity: Toast.ToastProps['type'];
12
+ /** Aria label for the type icon */
13
+ typeIconAriaLabel: string;
14
+ /** Aria label for the close button */
15
+ closeButtonAriaLabel: string;
16
+ /** The main text of the notification. */
17
+ styledText: StyledText;
18
+ /** What to do on close. This is provided by addNotification by default */
19
+ onClose?: () => void;
20
+ /** The state of the notification. This is provided by addNotification by default */
21
+ open?: boolean;
22
+ /** This props should be Notification.Buttons only */
23
+ children?: ReactNode;
24
+ }
25
+ /**
26
+ * A base component mounted on a page when addNotification is invoked.
27
+ *
28
+ * It's based on Radix-UI toast
29
+ * * [Radix-UI link](https://www.radix-ui.com/docs/primitives/components/toast)
30
+ *
31
+ * **IMPORTANT**: Must be placed inside a single <b><NotificationProvider></b> singleton component provided by the app
32
+ */
33
+ export declare function PrivateNotificationElement(props: PrivateNotificationElementProps): import("react/jsx-runtime").JSX.Element;
@@ -35,13 +35,13 @@ const getIcon = (iconLabel, variant) => {
35
35
  }
36
36
  return null;
37
37
  };
38
- /**
39
- * A base component mounted on a page when addNotification is invoked.
40
- *
41
- * It's based on Radix-UI toast
42
- * * [Radix-UI link](https://www.radix-ui.com/docs/primitives/components/toast)
43
- *
44
- * **IMPORTANT**: Must be placed inside a single <b><NotificationProvider></b> singleton component provided by the app
38
+ /**
39
+ * A base component mounted on a page when addNotification is invoked.
40
+ *
41
+ * It's based on Radix-UI toast
42
+ * * [Radix-UI link](https://www.radix-ui.com/docs/primitives/components/toast)
43
+ *
44
+ * **IMPORTANT**: Must be placed inside a single <b><NotificationProvider></b> singleton component provided by the app
45
45
  */
46
46
  function PrivateNotificationElement(props) {
47
47
  const {
@@ -1,2 +1,2 @@
1
- export { PageHeader } from './page-header';
2
- export { type PageHeaderProps } from './types';
1
+ export { PageHeader } from './page-header';
2
+ export { type PageHeaderProps } from './types';
@@ -1,12 +1,11 @@
1
- /// <reference types="react" />
2
- import { type PageHeaderProps } from './types';
3
- export declare const PageHeaderRoot: import("react").ForwardRefExoticComponent<Omit<PageHeaderProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
4
- export declare const PageHeaderCorner: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
5
- export declare const PageHeadeStartElements: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
6
- export declare const PageHeaderEndElements: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
7
- export declare const PageHeader: {
8
- Root: import("react").ForwardRefExoticComponent<Omit<PageHeaderProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
9
- StartElements: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
10
- EndElements: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
11
- Corner: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
12
- };
1
+ import { type PageHeaderProps } from './types';
2
+ export declare const PageHeaderRoot: import("react").ForwardRefExoticComponent<Omit<PageHeaderProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
3
+ export declare const PageHeaderCorner: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
4
+ export declare const PageHeadeStartElements: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
5
+ export declare const PageHeaderEndElements: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
6
+ export declare const PageHeader: {
7
+ Root: import("react").ForwardRefExoticComponent<Omit<PageHeaderProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
8
+ StartElements: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
9
+ EndElements: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
10
+ Corner: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
11
+ };
@@ -1,8 +1,8 @@
1
- import type React from 'react';
2
- export interface PageHeaderProps extends React.ComponentPropsWithRef<'header'> {
3
- variant: 'default' | 'inline';
4
- /** When true the header will have `position: sticky`
5
- * @default true
6
- */
7
- sticky?: boolean;
8
- }
1
+ import type React from 'react';
2
+ export interface PageHeaderProps extends React.ComponentPropsWithRef<'header'> {
3
+ variant: 'default' | 'inline';
4
+ /** When true the header will have `position: sticky`
5
+ * @default true
6
+ */
7
+ sticky?: boolean;
8
+ }
@@ -1,20 +1,19 @@
1
- /// <reference types="react" />
2
- export declare const Popover: {
3
- Root: {
4
- (props: import("@radix-ui/react-popover").PopoverProps): import("react/jsx-runtime").JSX.Element;
5
- displayName: string;
6
- };
7
- Trigger: import("react").ForwardRefExoticComponent<import("@radix-ui/react-popover").PopoverTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
8
- Anchor: import("react").ForwardRefExoticComponent<import("@radix-ui/react-popover").PopoverAnchorProps & import("react").RefAttributes<HTMLDivElement>>;
9
- ContentContainer: import("react").ForwardRefExoticComponent<import("./popover-content-container").PopoverContentContainerProps & import("react").RefAttributes<HTMLDivElement>>;
10
- MainContent: import("react").ForwardRefExoticComponent<import("@radix-ui/react-popover").PopoverContentProps & import("react").RefAttributes<HTMLDivElement>>;
11
- Footer: import("react").ForwardRefExoticComponent<import("@radix-ui/react-popover").PopoverContentProps & import("react").RefAttributes<HTMLDivElement>>;
12
- Close: import("react").ForwardRefExoticComponent<import("@radix-ui/react-popover").PopoverCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
13
- };
14
- export { type PopoverCloseProps } from './popover-close';
15
- export { type PopoverContentContainerProps } from './popover-content-container';
16
- export { type PopoverFooterProps } from './popover-footer';
17
- export { type PopoverMainContentProps } from './popover-main-content';
18
- export { type PopoverRootProps } from './popover-root';
19
- export { type PopoverTriggerProps } from './popover-trigger';
20
- export { type PopoverAnchorProps } from './popover-anchor';
1
+ export declare const Popover: {
2
+ Root: {
3
+ (props: import("./popover-root").PopoverRootProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ Trigger: import("react").ForwardRefExoticComponent<import("@radix-ui/react-popover").PopoverTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
7
+ Anchor: import("react").ForwardRefExoticComponent<import("@radix-ui/react-popover").PopoverAnchorProps & import("react").RefAttributes<HTMLDivElement>>;
8
+ ContentContainer: import("react").ForwardRefExoticComponent<import("./popover-content-container").PopoverContentContainerProps & import("react").RefAttributes<HTMLDivElement>>;
9
+ MainContent: import("react").ForwardRefExoticComponent<import("@radix-ui/react-popover").PopoverContentProps & import("react").RefAttributes<HTMLDivElement>>;
10
+ Footer: import("react").ForwardRefExoticComponent<import("@radix-ui/react-popover").PopoverContentProps & import("react").RefAttributes<HTMLDivElement>>;
11
+ Close: import("react").ForwardRefExoticComponent<import("@radix-ui/react-popover").PopoverCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
12
+ };
13
+ export { type PopoverCloseProps } from './popover-close';
14
+ export { type PopoverContentContainerProps } from './popover-content-container';
15
+ export { type PopoverFooterProps } from './popover-footer';
16
+ export { type PopoverMainContentProps } from './popover-main-content';
17
+ export { type PopoverRootProps } from './popover-root';
18
+ export { type PopoverTriggerProps } from './popover-trigger';
19
+ export { type PopoverAnchorProps } from './popover-anchor';
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
- import * as PopoverPrimitive from '@radix-ui/react-popover';
3
- export type PopoverAnchorProps = PopoverPrimitive.PopoverAnchorProps;
4
- /**
5
- * An optional element to position the `Popover.Content` against.
6
- * @see https://www.radix-ui.com/docs/primitives/components/popover#anchor
7
- */
8
- export declare const PopoverAnchor: import("react").ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & import("react").RefAttributes<HTMLDivElement>>;
1
+ import * as PopoverPrimitive from '@radix-ui/react-popover';
2
+ export type PopoverAnchorProps = PopoverPrimitive.PopoverAnchorProps;
3
+ /**
4
+ * An optional element to position the `Popover.Content` against.
5
+ * @see https://www.radix-ui.com/docs/primitives/components/popover#anchor
6
+ */
7
+ export declare const PopoverAnchor: import("react").ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -2,9 +2,9 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import * as RadixPopover from '@radix-ui/react-popover';
3
3
  import { forwardRef } from 'react';
4
4
 
5
- /**
6
- * An optional element to position the `Popover.Content` against.
7
- * @see https://www.radix-ui.com/docs/primitives/components/popover#anchor
5
+ /**
6
+ * An optional element to position the `Popover.Content` against.
7
+ * @see https://www.radix-ui.com/docs/primitives/components/popover#anchor
8
8
  */
9
9
  const PopoverAnchor = /*#__PURE__*/forwardRef((props, forwardedRef) => {
10
10
  const {