carbon-react 102.10.0 → 102.12.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 (523) hide show
  1. package/lib/__internal__/DeprecationWarning.d.ts +10 -0
  2. package/lib/__internal__/character-count/character-count.component.d.ts +26 -0
  3. package/lib/__internal__/character-count/character-count.style.d.ts +2 -0
  4. package/lib/__internal__/character-count/index.d.ts +1 -0
  5. package/lib/__internal__/checkable-input/checkable-input-svg-wrapper.style.d.ts +2 -0
  6. package/lib/__internal__/checkable-input/checkable-input.component.d.ts +75 -0
  7. package/lib/__internal__/checkable-input/checkable-input.style.d.ts +2 -0
  8. package/lib/__internal__/checkable-input/hidden-checkable-input.component.d.ts +41 -0
  9. package/lib/__internal__/checkable-input/hidden-checkable-input.style.d.ts +2 -0
  10. package/lib/__internal__/date/index.d.ts +1 -0
  11. package/lib/__internal__/field-help/field-help.component.d.ts +15 -0
  12. package/lib/__internal__/field-help/field-help.style.d.ts +2 -0
  13. package/lib/__internal__/fieldset/fieldset.component.d.ts +35 -0
  14. package/lib/__internal__/fieldset/fieldset.style.d.ts +3 -0
  15. package/lib/__internal__/filter-object-properties/filter-object-properties.d.ts +1 -0
  16. package/lib/__internal__/filter-object-properties/index.d.ts +1 -0
  17. package/lib/__internal__/focus-trap/focus-trap-utils.d.ts +4 -0
  18. package/lib/__internal__/focus-trap/focus-trap.component.d.ts +22 -0
  19. package/lib/__internal__/focus-trap/index.d.ts +1 -0
  20. package/lib/__internal__/form-field/form-field.component.d.ts +63 -0
  21. package/lib/__internal__/form-field/form-field.style.d.ts +3 -0
  22. package/lib/__internal__/full-screen-heading/full-screen-heading.component.d.ts +3 -0
  23. package/lib/__internal__/full-screen-heading/full-screen-heading.style.d.ts +3 -0
  24. package/lib/__internal__/full-screen-heading/index.d.ts +1 -0
  25. package/lib/__internal__/i18n-context/index.d.ts +2 -0
  26. package/lib/__internal__/input/extract-props/extract-props.d.ts +1 -0
  27. package/lib/__internal__/input/extract-props/index.d.ts +1 -0
  28. package/lib/__internal__/input/input-presentation.component.d.ts +28 -0
  29. package/lib/__internal__/input/input-presentation.style.d.ts +9 -0
  30. package/lib/__internal__/input/input-sizes.style.d.ts +34 -0
  31. package/lib/__internal__/input/input.component.d.ts +3 -0
  32. package/lib/__internal__/input/input.style.d.ts +2 -0
  33. package/lib/__internal__/input-behaviour/index.d.ts +2 -0
  34. package/lib/__internal__/input-behaviour/input-behaviour.component.d.ts +11 -0
  35. package/lib/__internal__/input-behaviour/input-group-behaviour.component.d.ts +13 -0
  36. package/lib/__internal__/input-behaviour/useInputBehaviour.d.ts +11 -0
  37. package/lib/__internal__/input-icon-toggle/input-icon-toggle.component.d.ts +38 -0
  38. package/lib/__internal__/input-icon-toggle/input-icon-toggle.style.d.ts +5 -0
  39. package/lib/__internal__/label/icon-wrapper.style.d.ts +2 -0
  40. package/lib/__internal__/label/label.component.d.ts +66 -0
  41. package/lib/__internal__/label/label.style.d.ts +3 -0
  42. package/lib/__internal__/popover/index.d.ts +1 -0
  43. package/lib/__internal__/popover/popover.component.d.ts +22 -0
  44. package/lib/__internal__/sticky-footer/index.d.ts +1 -0
  45. package/lib/__internal__/sticky-footer/sticky-footer.component.d.ts +15 -0
  46. package/lib/__internal__/sticky-footer/sticky-footer.style.d.ts +2 -0
  47. package/lib/__internal__/utils/ether/ether.d.ts +19 -0
  48. package/lib/__internal__/utils/ether/index.d.ts +1 -0
  49. package/lib/__internal__/utils/helpers/browser/browser.d.ts +17 -0
  50. package/lib/__internal__/utils/helpers/browser/index.d.ts +1 -0
  51. package/lib/__internal__/utils/helpers/browser-type-check/browser-type-check.d.ts +7 -0
  52. package/lib/__internal__/utils/helpers/browser-type-check/index.d.ts +1 -0
  53. package/lib/__internal__/utils/helpers/events/composedPath.d.ts +2 -0
  54. package/lib/__internal__/utils/helpers/events/events.d.ts +32 -0
  55. package/lib/__internal__/utils/helpers/events/index.d.ts +1 -0
  56. package/lib/__internal__/utils/helpers/guid/__spec__.d.ts +1 -0
  57. package/lib/__internal__/utils/helpers/guid/guid.d.ts +2 -0
  58. package/lib/__internal__/utils/helpers/immutable/__spec__.d.ts +1 -0
  59. package/lib/__internal__/utils/helpers/immutable/immutable.d.ts +4 -0
  60. package/lib/__internal__/utils/helpers/tags/index.d.ts +1 -0
  61. package/lib/__internal__/utils/helpers/tags/tags-specs/index.d.ts +1 -0
  62. package/lib/__internal__/utils/helpers/tags/tags-specs/tags-specs.d.ts +2 -0
  63. package/lib/__internal__/utils/helpers/tags/tags.d.ts +9 -0
  64. package/lib/__internal__/utils/helpers/with-unique-id-props/index.d.ts +1 -0
  65. package/lib/__internal__/utils/logger/index.d.ts +1 -0
  66. package/lib/__internal__/utils/logger/logger.d.ts +9 -0
  67. package/lib/__internal__/validations/validation-icon.component.d.ts +41 -0
  68. package/lib/__internal__/validations/validation-icon.style.d.ts +2 -0
  69. package/lib/__spec_helper__/enzyme-snapshot-helper.d.ts +2 -0
  70. package/lib/__spec_helper__/expect.d.ts +1 -0
  71. package/lib/__spec_helper__/index.d.ts +1 -0
  72. package/lib/__spec_helper__/mock-date-helper.d.ts +1 -0
  73. package/lib/__spec_helper__/mock-resize-observer.d.ts +2 -0
  74. package/lib/__spec_helper__/test-utils.d.ts +33 -0
  75. package/lib/components/accordion/accordion-group/accordion-group.component.d.ts +10 -0
  76. package/lib/components/accordion/accordion.component.d.ts +3 -0
  77. package/lib/components/accordion/accordion.style.d.ts +10 -0
  78. package/lib/components/action-popover/action-popover-context.d.ts +3 -0
  79. package/lib/components/action-popover/action-popover-divider/action-popover-divider.component.d.ts +2 -0
  80. package/lib/components/action-popover/action-popover-item/action-popover-item.component.d.ts +42 -0
  81. package/lib/components/action-popover/action-popover-menu/action-popover-menu.component.d.ts +3 -0
  82. package/lib/components/action-popover/action-popover-menu-button/action-popover-menu-button.component.d.ts +19 -0
  83. package/lib/components/action-popover/action-popover.component.d.ts +38 -0
  84. package/lib/components/action-popover/action-popover.style.d.ts +31 -0
  85. package/lib/components/advanced-color-picker/advanced-color-picker-cell.style.d.ts +4 -0
  86. package/lib/components/advanced-color-picker/advanced-color-picker.component.d.ts +55 -0
  87. package/lib/components/advanced-color-picker/advanced-color-picker.style.d.ts +53 -0
  88. package/lib/components/alert/alert.component.d.ts +50 -0
  89. package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.d.ts +3 -0
  90. package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.style.d.ts +2 -0
  91. package/lib/components/anchor-navigation/anchor-navigation.component.d.ts +12 -0
  92. package/lib/components/anchor-navigation/anchor-navigation.style.d.ts +3 -0
  93. package/lib/components/anchor-navigation/anchor-section-divider/anchor-section-divider.style.d.ts +4 -0
  94. package/lib/components/app-wrapper/app-wrapper.component.d.ts +21 -0
  95. package/lib/components/app-wrapper/app-wrapper.style.d.ts +2 -0
  96. package/lib/components/badge/badge.component.d.ts +14 -0
  97. package/lib/components/badge/badge.style.d.ts +6 -0
  98. package/lib/components/batch-selection/batch-selection.component.d.ts +22 -0
  99. package/lib/components/batch-selection/batch-selection.style.d.ts +2 -0
  100. package/lib/components/box/box.component.d.ts +7 -0
  101. package/lib/components/button/button-types.style.d.ts +9 -0
  102. package/lib/components/button/button.component.d.ts +17 -0
  103. package/lib/components/button/button.config.d.ts +3 -0
  104. package/lib/components/button/button.style.d.ts +9 -0
  105. package/lib/components/button-bar/button-bar.component.d.ts +16 -0
  106. package/lib/components/button-bar/button-bar.config.d.ts +2 -0
  107. package/lib/components/button-bar/button-bar.style.d.ts +5 -0
  108. package/lib/components/button-toggle/button-toggle-icon.component.d.ts +9 -0
  109. package/lib/components/button-toggle/button-toggle-input.component.d.ts +3 -0
  110. package/lib/components/button-toggle/button-toggle.component.d.ts +48 -0
  111. package/lib/components/button-toggle/button-toggle.style.d.ts +5 -0
  112. package/lib/components/button-toggle-group/__definition__.d.ts +2 -0
  113. package/lib/components/button-toggle-group/__definition__.js +50 -0
  114. package/lib/components/button-toggle-group/button-toggle-group.component.d.ts +86 -0
  115. package/lib/components/button-toggle-group/button-toggle-group.style.d.ts +2 -0
  116. package/lib/components/button-toggle-group/documentation/index.d.ts +1 -0
  117. package/lib/components/carbon-provider/carbon-provider.component.d.ts +12 -0
  118. package/lib/components/card/card-column/card-column.component.d.ts +17 -0
  119. package/lib/components/card/card-column/card-column.style.d.ts +2 -0
  120. package/lib/components/card/card-footer/card-footer.component.d.ts +9 -0
  121. package/lib/components/card/card-footer/card-footer.style.d.ts +2 -0
  122. package/lib/components/card/card-row/card-row.component.d.ts +13 -0
  123. package/lib/components/card/card-row/card-row.style.d.ts +2 -0
  124. package/lib/components/card/card.component.d.ts +27 -0
  125. package/lib/components/card/card.config.d.ts +2 -0
  126. package/lib/components/card/card.style.d.ts +2 -0
  127. package/lib/components/carousel/carousel.component.d.ts +36 -0
  128. package/lib/components/carousel/carousel.style.d.ts +16 -0
  129. package/lib/components/carousel/slide/slide.component.d.ts +8 -0
  130. package/lib/components/carousel/slide/slide.style.d.ts +1 -0
  131. package/lib/components/carousel/slide.config.d.ts +2 -0
  132. package/lib/components/checkbox/checkbox-group.component.d.ts +20 -0
  133. package/lib/components/checkbox/checkbox-svg.component.d.ts +2 -0
  134. package/lib/components/checkbox/checkbox.component.d.ts +109 -0
  135. package/lib/components/checkbox/checkbox.style.d.ts +3 -0
  136. package/lib/components/confirm/confirm.component.d.ts +117 -0
  137. package/lib/components/confirm/confirm.config.d.ts +1 -0
  138. package/lib/components/confirm/confirm.style.d.ts +2 -0
  139. package/lib/components/content/content.component.d.ts +23 -0
  140. package/lib/components/content/content.style.d.ts +3 -0
  141. package/lib/components/date/date-picker.component.d.ts +22 -0
  142. package/lib/components/date/date.component.d.ts +57 -0
  143. package/lib/components/date/date.style.d.ts +2 -0
  144. package/lib/components/date/day-picker.style.d.ts +2 -0
  145. package/lib/components/date/navbar/button.style.d.ts +4 -0
  146. package/lib/components/date/navbar/index.d.ts +1 -0
  147. package/lib/components/date/navbar/navbar.component.d.ts +13 -0
  148. package/lib/components/date/navbar/navbar.style.d.ts +2 -0
  149. package/lib/components/date/weekday/abbr.style.d.ts +2 -0
  150. package/lib/components/date/weekday/index.d.ts +1 -0
  151. package/lib/components/date/weekday/weekday.component.d.ts +15 -0
  152. package/lib/components/date/weekday/weekday.style.d.ts +2 -0
  153. package/lib/components/date-range/date-range.component.d.ts +39 -0
  154. package/lib/components/date-range/date-range.style.d.ts +2 -0
  155. package/lib/components/decimal/decimal.component.d.ts +81 -0
  156. package/lib/components/definition-list/__internal__/dl.context.d.ts +3 -0
  157. package/lib/components/definition-list/dd.component.d.ts +8 -0
  158. package/lib/components/definition-list/definition-list.style.d.ts +5 -0
  159. package/lib/components/definition-list/dl.component.d.ts +12 -0
  160. package/lib/components/definition-list/dt.component.d.ts +8 -0
  161. package/lib/components/detail/detail.component.d.ts +17 -0
  162. package/lib/components/detail/detail.style.d.ts +5 -0
  163. package/lib/components/dialog/dialog.component.d.ts +81 -0
  164. package/lib/components/dialog/dialog.config.d.ts +2 -0
  165. package/lib/components/dialog/dialog.style.d.ts +4 -0
  166. package/lib/components/dialog-full-screen/content.style.d.ts +2 -0
  167. package/lib/components/dialog-full-screen/dialog-full-screen.component.d.ts +78 -0
  168. package/lib/components/dialog-full-screen/dialog-full-screen.style.d.ts +2 -0
  169. package/lib/components/dismissible-box/dismissible-box.component.d.ts +11 -0
  170. package/lib/components/dismissible-box/dismissible-box.style.d.ts +3 -0
  171. package/lib/components/draggable/draggable-container.component.d.ts +13 -0
  172. package/lib/components/draggable/draggable-item.component.d.ts +19 -0
  173. package/lib/components/draggable/draggable-item.style.d.ts +4 -0
  174. package/lib/components/drawer/drawer.component.d.ts +39 -0
  175. package/lib/components/drawer/drawer.style.d.ts +10 -0
  176. package/lib/components/duelling-picklist/duelling-picklist.component.d.ts +21 -0
  177. package/lib/components/duelling-picklist/duelling-picklist.context.d.ts +3 -0
  178. package/lib/components/duelling-picklist/duelling-picklist.style.d.ts +7 -0
  179. package/lib/components/duelling-picklist/picklist/picklist.component.d.ts +18 -0
  180. package/lib/components/duelling-picklist/picklist/picklist.style.d.ts +5 -0
  181. package/lib/components/duelling-picklist/picklist-divider/picklist-divider.component.d.ts +2 -0
  182. package/lib/components/duelling-picklist/picklist-divider/picklist-divider.style.d.ts +2 -0
  183. package/lib/components/duelling-picklist/picklist-group/picklist-group.component.d.ts +3 -0
  184. package/lib/components/duelling-picklist/picklist-group/picklist-group.style.d.ts +5 -0
  185. package/lib/components/duelling-picklist/picklist-item/picklist-item.component.d.ts +3 -0
  186. package/lib/components/duelling-picklist/picklist-item/picklist-item.style.d.ts +5 -0
  187. package/lib/components/duelling-picklist/picklist-placeholder/picklist-placeholder.component.d.ts +10 -0
  188. package/lib/components/fieldset/fieldset.component.d.ts +14 -0
  189. package/lib/components/fieldset/fieldset.style.d.ts +3 -0
  190. package/lib/components/flat-table/cell-sizes.style.d.ts +40 -0
  191. package/lib/components/flat-table/flat-table-body/flat-table-body.component.d.ts +3 -0
  192. package/lib/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.d.ts +12 -0
  193. package/lib/components/flat-table/flat-table-cell/flat-table-cell.component.d.ts +38 -0
  194. package/lib/components/flat-table/flat-table-cell/flat-table-cell.style.d.ts +2 -0
  195. package/lib/components/flat-table/flat-table-checkbox/flat-table-checkbox.component.d.ts +26 -0
  196. package/lib/components/flat-table/flat-table-checkbox/flat-table-checkbox.style.d.ts +2 -0
  197. package/lib/components/flat-table/flat-table-head/flat-table-head.component.d.ts +10 -0
  198. package/lib/components/flat-table/flat-table-head/flat-table-head.style.d.ts +2 -0
  199. package/lib/components/flat-table/flat-table-header/flat-table-header.component.d.ts +33 -0
  200. package/lib/components/flat-table/flat-table-header/flat-table-header.style.d.ts +2 -0
  201. package/lib/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.d.ts +22 -0
  202. package/lib/components/flat-table/flat-table-row/flat-table-row.component.d.ts +3 -0
  203. package/lib/components/flat-table/flat-table-row/flat-table-row.style.d.ts +2 -0
  204. package/lib/components/flat-table/flat-table-row-header/flat-table-row-header.component.d.ts +30 -0
  205. package/lib/components/flat-table/flat-table-row-header/flat-table-row-header.style.d.ts +2 -0
  206. package/lib/components/flat-table/flat-table.component.d.ts +43 -0
  207. package/lib/components/flat-table/flat-table.config.d.ts +2 -0
  208. package/lib/components/flat-table/flat-table.style.d.ts +4 -0
  209. package/lib/components/flat-table/sort/sort.component.d.ts +14 -0
  210. package/lib/components/flat-table/sort/sort.style.d.ts +2 -0
  211. package/lib/components/form/__internal__/form-summary.component.d.ts +10 -0
  212. package/lib/components/form/__internal__/form-summary.style.d.ts +3 -0
  213. package/lib/components/form/form.component.d.ts +20 -0
  214. package/lib/components/form/form.config.d.ts +1 -0
  215. package/lib/components/form/form.style.d.ts +5 -0
  216. package/lib/components/grid/grid-container/grid-container.component.d.ts +5 -0
  217. package/lib/components/grid/grid-container/grid-container.style.d.ts +2 -0
  218. package/lib/components/grid/grid-item/grid-item.component.d.ts +25 -0
  219. package/lib/components/grid/grid-item/grid-item.style.d.ts +2 -0
  220. package/lib/components/grouped-character/grouped-character.component.d.ts +23 -0
  221. package/lib/components/grouped-character/grouped-character.utils.d.ts +2 -0
  222. package/lib/components/heading/heading.component.d.ts +71 -0
  223. package/lib/components/heading/heading.style.d.ts +16 -0
  224. package/lib/components/help/help.component.d.ts +45 -0
  225. package/lib/components/help/help.config.d.ts +1 -0
  226. package/lib/components/help/help.style.d.ts +2 -0
  227. package/lib/components/hr/hr.component.d.ts +13 -0
  228. package/lib/components/hr/hr.style.d.ts +2 -0
  229. package/lib/components/i18n-provider/i18n-provider.component.d.ts +102 -0
  230. package/lib/components/icon/icon-config.d.ts +26 -0
  231. package/lib/components/icon/icon-unicodes.d.ts +247 -0
  232. package/lib/components/icon/icon.component.d.ts +3 -0
  233. package/lib/components/icon/icon.style.d.ts +2 -0
  234. package/lib/components/icon-button/icon-button.component.d.ts +3 -0
  235. package/lib/components/icon-button/icon-button.style.d.ts +4 -0
  236. package/lib/components/image/image.component.d.ts +2 -0
  237. package/lib/components/inline-inputs/inline-inputs.component.d.ts +22 -0
  238. package/lib/components/inline-inputs/inline-inputs.config.d.ts +1 -0
  239. package/lib/components/inline-inputs/inline-inputs.style.d.ts +4 -0
  240. package/lib/components/link/link.component.d.ts +3 -0
  241. package/lib/components/link/link.config.d.ts +2 -0
  242. package/lib/components/link/link.style.d.ts +2 -0
  243. package/lib/components/link-preview/__internal__/placeholder.component.d.ts +2 -0
  244. package/lib/components/link-preview/link-preview.component.d.ts +29 -0
  245. package/lib/components/link-preview/link-preview.style.d.ts +6 -0
  246. package/lib/components/loader/loader-square.style.d.ts +2 -0
  247. package/lib/components/loader/loader.component.d.ts +23 -0
  248. package/lib/components/loader/loader.config.d.ts +1 -0
  249. package/lib/components/loader/loader.style.d.ts +2 -0
  250. package/lib/components/loader-bar/loader-bar.component.d.ts +11 -0
  251. package/lib/components/loader-bar/loader-bar.config.d.ts +1 -0
  252. package/lib/components/loader-bar/loader-bar.style.d.ts +4 -0
  253. package/lib/components/menu/__internal__/keyboard-navigation/index.d.ts +2 -0
  254. package/lib/components/menu/__internal__/spec-helper/index.d.ts +2 -0
  255. package/lib/components/menu/__internal__/submenu/submenu.component.d.ts +3 -0
  256. package/lib/components/menu/__internal__/submenu/submenu.context.d.ts +3 -0
  257. package/lib/components/menu/__internal__/submenu/submenu.style.d.ts +2 -0
  258. package/lib/components/menu/__internal__/submenu/submenu.style.js +8 -40
  259. package/lib/components/menu/menu-divider/menu-divider.component.d.ts +3 -0
  260. package/lib/components/menu/menu-divider/menu-divider.style.d.ts +2 -0
  261. package/lib/components/menu/menu-divider/menu-divider.style.js +1 -1
  262. package/lib/components/menu/menu-full-screen/menu-full-screen.component.d.ts +17 -0
  263. package/lib/components/menu/menu-full-screen/menu-full-screen.component.js +14 -2
  264. package/lib/components/menu/menu-full-screen/menu-full-screen.style.d.ts +2 -0
  265. package/lib/components/menu/menu-full-screen/menu-full-screen.style.js +2 -10
  266. package/lib/components/menu/menu-item/menu-item.component.d.ts +24 -0
  267. package/lib/components/menu/menu-item/menu-item.style.d.ts +2 -0
  268. package/lib/components/menu/menu-item/menu-item.style.js +26 -92
  269. package/lib/components/menu/menu-segment-title/menu-segment-title.component.d.ts +3 -0
  270. package/lib/components/menu/menu-segment-title/menu-segment-title.style.d.ts +2 -0
  271. package/lib/components/menu/menu-segment-title/menu-segment-title.style.js +2 -10
  272. package/lib/components/menu/menu.component.d.ts +11 -0
  273. package/lib/components/menu/menu.component.js +1 -1
  274. package/lib/components/menu/menu.context.d.ts +5 -0
  275. package/lib/components/menu/menu.context.js +3 -1
  276. package/lib/components/menu/menu.d.ts +3 -2
  277. package/lib/components/menu/menu.style.d.ts +2 -0
  278. package/lib/components/menu/menu.style.js +1 -2
  279. package/lib/components/menu/scrollable-block/scrollable-block.component.d.ts +15 -0
  280. package/lib/components/menu/scrollable-block/scrollable-block.component.js +7 -1
  281. package/lib/components/menu/scrollable-block/scrollable-block.style.d.ts +2 -0
  282. package/lib/components/menu/scrollable-block/scrollable-block.style.js +1 -7
  283. package/lib/components/menu/submenu-block/submenu-block.component.d.ts +12 -0
  284. package/lib/components/menu/submenu-block/submenu-block.style.d.ts +2 -0
  285. package/lib/components/menu/submenu-block/submenu-block.style.js +4 -6
  286. package/lib/components/message/message-content/message-content.component.d.ts +22 -0
  287. package/lib/components/message/message-content/message-content.style.d.ts +2 -0
  288. package/lib/components/message/message.component.d.ts +29 -0
  289. package/lib/components/message/message.style.d.ts +2 -0
  290. package/lib/components/message/type-icon/type-icon.component.d.ts +18 -0
  291. package/lib/components/message/type-icon/type-icon.style.d.ts +2 -0
  292. package/lib/components/modal/__internal__/modal-manager.d.ts +9 -0
  293. package/lib/components/modal/modal.component.d.ts +35 -0
  294. package/lib/components/modal/modal.style.d.ts +2 -0
  295. package/lib/components/mount-in-app/__spec__.d.ts +1 -0
  296. package/lib/components/multi-action-button/multi-action-button.component.d.ts +37 -0
  297. package/lib/components/multi-action-button/multi-action-button.config.d.ts +3 -0
  298. package/lib/components/multi-action-button/multi-action-button.style.d.ts +2 -0
  299. package/lib/components/multi-step-wizard/__spec__.d.ts +1 -0
  300. package/lib/components/multi-step-wizard/multi-step-wizard.d.ts +87 -0
  301. package/lib/components/multi-step-wizard/multi-step-wizard.style.d.ts +2 -0
  302. package/lib/components/multi-step-wizard/step/__spec__.d.ts +1 -0
  303. package/lib/components/multi-step-wizard/step/step.d.ts +160 -0
  304. package/lib/components/multi-step-wizard/step/step.style.d.ts +11 -0
  305. package/lib/components/navigation-bar/navigation-bar.component.d.ts +13 -0
  306. package/lib/components/navigation-bar/navigation-bar.component.js +1 -1
  307. package/lib/components/navigation-bar/navigation-bar.d.ts +1 -1
  308. package/lib/components/navigation-bar/navigation-bar.style.d.ts +2 -0
  309. package/lib/components/navigation-bar/navigation-bar.style.js +15 -2
  310. package/lib/components/note/__internal__/status-with-tooltip/index.d.ts +1 -0
  311. package/lib/components/note/__internal__/status-with-tooltip/status.component.d.ts +3 -0
  312. package/lib/components/note/__internal__/status-with-tooltip/status.style.d.ts +2 -0
  313. package/lib/components/note/note.component.d.ts +30 -0
  314. package/lib/components/note/note.style.d.ts +6 -0
  315. package/lib/components/number/number.component.d.ts +10 -0
  316. package/lib/components/numeral-date/numeral-date.component.d.ts +111 -0
  317. package/lib/components/numeral-date/numeral-date.style.d.ts +2 -0
  318. package/lib/components/pager/__internal__/pager-navigation-link.component.d.ts +20 -0
  319. package/lib/components/pager/__internal__/pager-navigation.component.d.ts +32 -0
  320. package/lib/components/pager/pager.component.d.ts +49 -0
  321. package/lib/components/pager/pager.style.d.ts +11 -0
  322. package/lib/components/pages/page/page.component.d.ts +13 -0
  323. package/lib/components/pages/page/page.style.d.ts +2 -0
  324. package/lib/components/pages/pages.component.d.ts +20 -0
  325. package/lib/components/pages/pages.config.d.ts +2 -0
  326. package/lib/components/pages/pages.style.d.ts +2 -0
  327. package/lib/components/pill/pill.component.d.ts +39 -0
  328. package/lib/components/pill/pill.style.config.d.ts +27 -0
  329. package/lib/components/pill/pill.style.d.ts +2 -0
  330. package/lib/components/pod/pod.component.d.ts +3 -0
  331. package/lib/components/pod/pod.config.d.ts +3 -0
  332. package/lib/components/pod/pod.style.d.ts +13 -0
  333. package/lib/components/popover-container/popover-container.component.d.ts +57 -0
  334. package/lib/components/popover-container/popover-container.style.d.ts +8 -0
  335. package/lib/components/portal/portal.style.d.ts +3 -0
  336. package/lib/components/portrait/portrait-gravatar.component.d.ts +24 -0
  337. package/lib/components/portrait/portrait-initials.component.d.ts +8 -0
  338. package/lib/components/portrait/portrait.component.d.ts +55 -0
  339. package/lib/components/portrait/portrait.config.d.ts +44 -0
  340. package/lib/components/portrait/portrait.style.d.ts +10 -0
  341. package/lib/components/preview/preview.component.d.ts +16 -0
  342. package/lib/components/preview/preview.style.d.ts +3 -0
  343. package/lib/components/profile/profile.component.d.ts +21 -0
  344. package/lib/components/profile/profile.config.d.ts +95 -0
  345. package/lib/components/profile/profile.style.d.ts +6 -0
  346. package/lib/components/progress-tracker/progress-tracker.component.d.ts +27 -0
  347. package/lib/components/progress-tracker/progress-tracker.config.d.ts +3 -0
  348. package/lib/components/progress-tracker/progress-tracker.style.d.ts +5 -0
  349. package/lib/components/radio-button/radio-button-group.component.d.ts +26 -0
  350. package/lib/components/radio-button/radio-button-group.style.d.ts +2 -0
  351. package/lib/components/radio-button/radio-button-mapper.component.d.ts +22 -0
  352. package/lib/components/radio-button/radio-button-svg.component.d.ts +3 -0
  353. package/lib/components/radio-button/radio-button.component.d.ts +5 -0
  354. package/lib/components/radio-button/radio-button.style.d.ts +2 -0
  355. package/lib/components/row/column/column.component.d.ts +30 -0
  356. package/lib/components/row/column/column.style.d.ts +2 -0
  357. package/lib/components/row/row.component.d.ts +24 -0
  358. package/lib/components/row/row.config.d.ts +11 -0
  359. package/lib/components/row/row.style.d.ts +2 -0
  360. package/lib/components/scrollable-list/as-scrollable-list-item.wrapper.d.ts +2 -0
  361. package/lib/components/scrollable-list/index.d.ts +4 -0
  362. package/lib/components/scrollable-list/scrollable-list-item.component.d.ts +2 -0
  363. package/lib/components/scrollable-list/scrollable-list.component.d.ts +44 -0
  364. package/lib/components/scrollable-list/scrollable-list.context.d.ts +3 -0
  365. package/lib/components/scrollable-list/scrollable-list.style.d.ts +2 -0
  366. package/lib/components/scrollable-list/test-utils.d.ts +2 -0
  367. package/lib/components/search/search.component.d.ts +68 -0
  368. package/lib/components/search/search.style.d.ts +4 -0
  369. package/lib/components/select/filterable-select/filterable-select.component.d.ts +3 -0
  370. package/lib/components/select/list-action-button/list-action-button.component.d.ts +3 -0
  371. package/lib/components/select/list-action-button/list-action-button.style.d.ts +2 -0
  372. package/lib/components/select/multi-select/multi-select.component.d.ts +3 -0
  373. package/lib/components/select/multi-select/multi-select.style.d.ts +2 -0
  374. package/lib/components/select/option/option.component.d.ts +3 -0
  375. package/lib/components/select/option/option.style.d.ts +2 -0
  376. package/lib/components/select/option-group-header/option-group-header.component.d.ts +12 -0
  377. package/lib/components/select/option-group-header/option-group-header.style.d.ts +2 -0
  378. package/lib/components/select/option-row/option-row.component.d.ts +3 -0
  379. package/lib/components/select/option-row/option-row.style.d.ts +2 -0
  380. package/lib/components/select/select-list/select-list-container.style.d.ts +2 -0
  381. package/lib/components/select/select-list/select-list.component.d.ts +3 -0
  382. package/lib/components/select/select-list/select-list.style.d.ts +6 -0
  383. package/lib/components/select/select-list/update-list-scroll.d.ts +1 -0
  384. package/lib/components/select/select-textbox/select-textbox.component.d.ts +43 -0
  385. package/lib/components/select/select.style.d.ts +2 -0
  386. package/lib/components/select/simple-select/simple-select.component.d.ts +3 -0
  387. package/lib/components/select/utils/get-next-child-by-text.d.ts +4 -0
  388. package/lib/components/select/utils/get-next-index-by-key.d.ts +1 -0
  389. package/lib/components/select/utils/highlight-part-of-text.d.ts +1 -0
  390. package/lib/components/select/utils/is-expected-option.d.ts +1 -0
  391. package/lib/components/select/utils/is-expected-value.d.ts +1 -0
  392. package/lib/components/select/utils/matching-text.style.d.ts +2 -0
  393. package/lib/components/select/utils/with-filter.hoc.d.ts +4 -0
  394. package/lib/components/settings-row/settings-row.component.d.ts +19 -0
  395. package/lib/components/settings-row/settings-row.style.d.ts +3 -0
  396. package/lib/components/show-edit-pod/delete-button.style.d.ts +3 -0
  397. package/lib/components/show-edit-pod/show-edit-pod.component.d.ts +52 -0
  398. package/lib/components/show-edit-pod/show-edit-pod.config.d.ts +2 -0
  399. package/lib/components/show-edit-pod/show-edit-pod.style.d.ts +3 -0
  400. package/lib/components/sidebar/__internal__/sidebar-header/__definition__.d.ts +2 -0
  401. package/lib/components/sidebar/__internal__/sidebar-header/__definition__.js +25 -0
  402. package/lib/components/sidebar/__internal__/sidebar-header/index.d.ts +1 -0
  403. package/lib/components/sidebar/__internal__/sidebar-header/sidebar-header.component.d.ts +13 -0
  404. package/lib/components/sidebar/__internal__/sidebar-header/sidebar-header.style.d.ts +2 -0
  405. package/lib/components/sidebar/sidebar.component.d.ts +4 -0
  406. package/lib/components/sidebar/sidebar.config.d.ts +11 -0
  407. package/lib/components/sidebar/sidebar.style.d.ts +2 -0
  408. package/lib/components/simple-color-picker/color-sample-box/color-sample-box.component.d.ts +13 -0
  409. package/lib/components/simple-color-picker/color-sample-box/color-sample-box.style.d.ts +2 -0
  410. package/lib/components/simple-color-picker/color-sample-box/index.d.ts +1 -0
  411. package/lib/components/simple-color-picker/simple-color/index.d.ts +1 -0
  412. package/lib/components/simple-color-picker/simple-color/simple-color.component.d.ts +3 -0
  413. package/lib/components/simple-color-picker/simple-color/simple-color.style.d.ts +2 -0
  414. package/lib/components/simple-color-picker/simple-color-input/simple-color-input.style.d.ts +2 -0
  415. package/lib/components/simple-color-picker/simple-color-picker.component.d.ts +22 -0
  416. package/lib/components/simple-color-picker/simple-color-picker.style.d.ts +2 -0
  417. package/lib/components/simple-color-picker/tick-icon/tick-icon.style.d.ts +3 -0
  418. package/lib/components/split-button/split-button-children.style.d.ts +2 -0
  419. package/lib/components/split-button/split-button-toggle.style.d.ts +8 -0
  420. package/lib/components/split-button/split-button.component.d.ts +41 -0
  421. package/lib/components/split-button/split-button.config.d.ts +4 -0
  422. package/lib/components/split-button/split-button.style.d.ts +2 -0
  423. package/lib/components/step-sequence/step-sequence-item/index.d.ts +1 -0
  424. package/lib/components/step-sequence/step-sequence-item/step-sequence-item-content.style.d.ts +2 -0
  425. package/lib/components/step-sequence/step-sequence-item/step-sequence-item-hidden-label.style.d.ts +2 -0
  426. package/lib/components/step-sequence/step-sequence-item/step-sequence-item-indicator.style.d.ts +2 -0
  427. package/lib/components/step-sequence/step-sequence-item/step-sequence-item.component.d.ts +17 -0
  428. package/lib/components/step-sequence/step-sequence-item/step-sequence-item.style.d.ts +2 -0
  429. package/lib/components/step-sequence/step-sequence.component.d.ts +13 -0
  430. package/lib/components/step-sequence/step-sequence.config.d.ts +2 -0
  431. package/lib/components/step-sequence/step-sequence.style.d.ts +2 -0
  432. package/lib/components/switch/__internal__/switch-slider-panel.style.d.ts +2 -0
  433. package/lib/components/switch/__internal__/switch-slider.component.d.ts +24 -0
  434. package/lib/components/switch/__internal__/switch-slider.style.d.ts +2 -0
  435. package/lib/components/switch/switch.component.d.ts +123 -0
  436. package/lib/components/switch/switch.style.d.ts +2 -0
  437. package/lib/components/tabs/__internal__/tab-title/tab-title.component.d.ts +3 -0
  438. package/lib/components/tabs/__internal__/tab-title/tab-title.style.d.ts +4 -0
  439. package/lib/components/tabs/__internal__/tab-title/tab-title.style.js +3 -5
  440. package/lib/components/tabs/__internal__/tabs-header/tabs-header.component.d.ts +24 -0
  441. package/lib/components/tabs/__internal__/tabs-header/tabs-header.style.d.ts +6 -0
  442. package/lib/components/tabs/tab/tab.component.d.ts +40 -0
  443. package/lib/components/tabs/tab/tab.style.d.ts +2 -0
  444. package/lib/components/tabs/tabs.component.d.ts +42 -0
  445. package/lib/components/tabs/tabs.component.js +1 -10
  446. package/lib/components/tabs/tabs.style.d.ts +2 -0
  447. package/lib/components/text-editor/__internal__/decorators/index.d.ts +2 -0
  448. package/lib/components/text-editor/__internal__/decorators/link-decorator.d.ts +7 -0
  449. package/lib/components/text-editor/__internal__/editor-counter/editor-counter.component.d.ts +18 -0
  450. package/lib/components/text-editor/__internal__/editor-counter/editor-counter.style.d.ts +2 -0
  451. package/lib/components/text-editor/__internal__/editor-link/editor-link.component.d.ts +15 -0
  452. package/lib/components/text-editor/__internal__/editor-link/editor-link.style.d.ts +3 -0
  453. package/lib/components/text-editor/__internal__/label-wrapper/label-wrapper.component.d.ts +17 -0
  454. package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.d.ts +3 -0
  455. package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.style.d.ts +4 -0
  456. package/lib/components/text-editor/__internal__/toolbar/toolbar.component.d.ts +18 -0
  457. package/lib/components/text-editor/__internal__/toolbar/toolbar.style.d.ts +3 -0
  458. package/lib/components/text-editor/__internal__/utils/index.d.ts +1 -0
  459. package/lib/components/text-editor/__internal__/utils/utils.d.ts +27 -0
  460. package/lib/components/text-editor/text-editor.component.d.ts +6 -0
  461. package/lib/components/text-editor/text-editor.style.d.ts +3 -0
  462. package/lib/components/textarea/textarea.component.d.ts +129 -0
  463. package/lib/components/textarea/textarea.style.d.ts +2 -0
  464. package/lib/components/textbox/__internal__/prefix.style.d.ts +2 -0
  465. package/lib/components/textbox/textbox.component.d.ts +193 -0
  466. package/lib/components/tile/tile-footer/tile-footer.component.d.ts +13 -0
  467. package/lib/components/tile/tile-footer/tile-footer.style.d.ts +2 -0
  468. package/lib/components/tile/tile-footer/tile-footer.style.js +3 -4
  469. package/lib/components/tile/tile.component.d.ts +12 -0
  470. package/lib/components/tile/tile.config.d.ts +2 -0
  471. package/lib/components/tile/tile.style.d.ts +2 -0
  472. package/lib/components/tile/tile.style.js +6 -6
  473. package/lib/components/tile-select/__internal__/accordion/accordion.component.d.ts +16 -0
  474. package/lib/components/tile-select/__internal__/accordion/accordion.style.d.ts +2 -0
  475. package/lib/components/tile-select/__internal__/accordion/index.d.ts +1 -0
  476. package/lib/components/tile-select/tile-select-group.component.d.ts +19 -0
  477. package/lib/components/tile-select/tile-select.component.d.ts +60 -0
  478. package/lib/components/tile-select/tile-select.style.d.ts +15 -0
  479. package/lib/components/toast/toast.component.d.ts +44 -0
  480. package/lib/components/toast/toast.config.d.ts +1 -0
  481. package/lib/components/toast/toast.style.d.ts +7 -0
  482. package/lib/components/tooltip/tooltip-pointer.style.d.ts +2 -0
  483. package/lib/components/tooltip/tooltip.component.d.ts +3 -0
  484. package/lib/components/tooltip/tooltip.config.d.ts +1 -0
  485. package/lib/components/tooltip/tooltip.style.d.ts +2 -0
  486. package/lib/components/typography/list.component.d.ts +25 -0
  487. package/lib/components/typography/typography.component.d.ts +15 -0
  488. package/lib/components/vertical-divider/vertical-divider.component.d.ts +10 -0
  489. package/lib/components/vertical-divider/vertical-divider.style.d.ts +2 -0
  490. package/lib/hooks/__internal__/useCharacterCount/index.d.ts +2 -0
  491. package/lib/hooks/__internal__/useInputAccessibility/useInputAccessibility.d.ts +15 -0
  492. package/lib/hooks/__internal__/useLocale/index.d.ts +1 -0
  493. package/lib/style/__spec__.d.ts +1 -0
  494. package/lib/style/color-config/index.js +2 -1
  495. package/lib/style/design-tokens/carbon-scoped-tokens-provider/carbon-scoped-tokens-provider.component.d.ts +6 -0
  496. package/lib/style/design-tokens/carbon-scoped-tokens-provider/index.d.ts +1 -0
  497. package/lib/style/design-tokens/debug-theme.util.d.ts +2 -0
  498. package/lib/style/design-tokens/generate-css-variables.util.d.ts +2 -0
  499. package/lib/style/themes/aegean/aegean-theme.config.d.ts +23 -0
  500. package/lib/style/themes/base/base-theme.config.d.ts +657 -0
  501. package/lib/style/themes/base/base-theme.config.js +37 -1
  502. package/lib/style/themes/base/index.d.ts +2 -2
  503. package/lib/style/themes/medium/index.d.ts +2 -0
  504. package/lib/style/themes/mint/mint-theme.config.d.ts +22 -0
  505. package/lib/style/themes/mint/mint-theme.config.js +1 -1
  506. package/lib/style/themes/none/none-theme.config.d.ts +4 -0
  507. package/lib/style/themes/sage/index.d.ts +572 -0
  508. package/lib/style/themes/small/index.d.ts +2 -0
  509. package/lib/style/themes/test-utils.d.ts +1 -0
  510. package/lib/style/utils/add-hex-symbols.d.ts +2 -0
  511. package/lib/style/utils/at-opacity.d.ts +2 -0
  512. package/lib/style/utils/color.d.ts +8 -0
  513. package/lib/style/utils/filter-out-styled-system-spacing-props.d.ts +4 -0
  514. package/lib/style/utils/filter-styled-system-margin-props.d.ts +1 -0
  515. package/lib/style/utils/filter-styled-system-padding-props.d.ts +1 -0
  516. package/lib/style/utils/get-rgb-values.d.ts +3 -0
  517. package/lib/style/utils/index.d.ts +4 -0
  518. package/lib/style/utils/merge-deep.d.ts +12 -0
  519. package/lib/style/utils/mix.d.ts +2 -0
  520. package/lib/style/utils/shade.d.ts +2 -0
  521. package/lib/style/utils/tint.d.ts +2 -0
  522. package/lib/style/utils/width.d.ts +4 -0
  523. package/package.json +19 -8
@@ -0,0 +1,160 @@
1
+ export default Step;
2
+ /**
3
+ * A Step widget.
4
+ * This widget is part of MultiStepWizard and it is a wrapper for a step element that is passed to MultiStepWizard.
5
+ *
6
+ * == How to use a Step Widget in a component:
7
+ * See MultiStepWizard widget
8
+ *
9
+ * @class Step
10
+ * @constructor
11
+ */
12
+ declare class Step extends React.Component<any, any, any> {
13
+ constructor(props: Readonly<any>);
14
+ constructor(props: any, context?: any);
15
+ /**
16
+ * Completes the step's wizard and triggers the custom submit event handler of the step's wizard
17
+ *
18
+ * @method handleOnSubmit
19
+ * @return {void}
20
+ */
21
+ handleOnSubmit: (ev: any) => void;
22
+ /**
23
+ * Triggers the custom next event handler of the step's wizard
24
+ *
25
+ * @method handleOnNext
26
+ * @return {void}
27
+ */
28
+ handleOnNext: (ev: any) => void;
29
+ /**
30
+ * Triggers the custom back event handler of the step's wizard
31
+ *
32
+ * @method handleOnBack
33
+ * @return {void}
34
+ */
35
+ handleOnBack: (ev: any) => void;
36
+ /**
37
+ * Gets the step's wizard
38
+ *
39
+ * @method wizard
40
+ * @return {Object}
41
+ */
42
+ get wizard(): Object;
43
+ /**
44
+ * Gets the current step number
45
+ *
46
+ * @method currentStepNumber
47
+ * @return {Number}
48
+ */
49
+ get currentStepNumber(): number;
50
+ /**
51
+ * Checks if the step is the first step
52
+ *
53
+ * @method isFirstStep
54
+ * @return {Boolean}
55
+ */
56
+ get isFirstStep(): boolean;
57
+ /**
58
+ * Checks if the step is the last step
59
+ *
60
+ * @method isLastStep
61
+ * @return {Boolean}
62
+ */
63
+ get isLastStep(): boolean;
64
+ /**
65
+ * Checks if step component should be disabled.
66
+ *
67
+ * @method stepDisabled
68
+ * @return {Boolean}
69
+ */
70
+ get stepDisabled(): boolean;
71
+ /**
72
+ * Checks if step has been processed.
73
+ *
74
+ * @method stepProcessed
75
+ * @return {Boolean}
76
+ */
77
+ get stepProcessed(): boolean;
78
+ /**
79
+ * Checks if all steps are completed
80
+ *
81
+ * @method stepsCompleted
82
+ * @return {Boolean}
83
+ */
84
+ get stepsCompleted(): boolean;
85
+ /**
86
+ * Returns the computed HTML for the step.
87
+ *
88
+ * @method stepHTML
89
+ * @return {Object} JSX
90
+ */
91
+ get stepHTML(): Object;
92
+ /**
93
+ * Returns the computed HTML for the buttons.
94
+ *
95
+ * @method buttonHTML
96
+ * @return {Object} JSX
97
+ */
98
+ get buttonHTML(): Object;
99
+ /**
100
+ * Returns the computed HTML for the step indicator.
101
+ *
102
+ * @method indicatorHTML
103
+ * @return {Object} JSX
104
+ */
105
+ get indicatorHTML(): Object;
106
+ /**
107
+ * Returns the step indicator status.
108
+ *
109
+ * @method indicatorStatus
110
+ * @return {Boolean}
111
+ */
112
+ get indicatorStatus(): boolean;
113
+ /**
114
+ * Returns the computed HTML for the extra buttons.
115
+ *
116
+ * @method extraButtonHTML
117
+ * @return {Object} JSX
118
+ */
119
+ get extraButtonHTML(): Object;
120
+ /**
121
+ * Main class getter
122
+ *
123
+ * @method mainClasses
124
+ * @return {String}
125
+ */
126
+ get mainClasses(): string;
127
+ }
128
+ declare namespace Step {
129
+ namespace propTypes {
130
+ const stepNumber: number;
131
+ const defaultButton: boolean;
132
+ const onNext: Function;
133
+ const onBack: Function;
134
+ const extraButtons: any[];
135
+ const enabled: boolean;
136
+ const className: string;
137
+ const children: Node;
138
+ }
139
+ namespace defaultProps {
140
+ const children_1: null;
141
+ export { children_1 as children };
142
+ const className_1: string;
143
+ export { className_1 as className };
144
+ const defaultButton_1: boolean;
145
+ export { defaultButton_1 as defaultButton };
146
+ const enabled_1: boolean;
147
+ export { enabled_1 as enabled };
148
+ const extraButtons_1: never[];
149
+ export { extraButtons_1 as extraButtons };
150
+ const onBack_1: null;
151
+ export { onBack_1 as onBack };
152
+ const onNext_1: null;
153
+ export { onNext_1 as onNext };
154
+ }
155
+ namespace contextTypes {
156
+ const wizard: PropTypes.Requireable<object>;
157
+ }
158
+ }
159
+ import React from "react";
160
+ import PropTypes from "prop-types";
@@ -0,0 +1,11 @@
1
+ export const StyledStep: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export const StyledStepContent: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export const StyledStepButton: import("styled-components").StyledComponent<typeof Button, any, {}, never>;
4
+ export const StyledStepIndicatorBar: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export const StyledStepIndicatorBackground: import("styled-components").StyledComponent<"div", any, {}, never>;
6
+ export const StyledStepIndicatorIconContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
7
+ export const StepIndicatorIconPlaceholder: import("styled-components").StyledComponent<"div", any, {}, never>;
8
+ export const StepIndicatorIconContent: import("styled-components").StyledComponent<"div", any, {}, never>;
9
+ export const StyledStepIndicatorIcon: import("styled-components").StyledComponent<typeof Icon, any, {}, never>;
10
+ import Button from "../../button";
11
+ import Icon from "../../icon";
@@ -0,0 +1,13 @@
1
+ export default NavigationBar;
2
+ declare function NavigationBar({ navigationType, isLoading, children, ariaLabel, stickyOffset, stickyPosition, ...props }: {
3
+ [x: string]: any;
4
+ navigationType?: string | undefined;
5
+ isLoading?: boolean | undefined;
6
+ children: any;
7
+ ariaLabel: any;
8
+ stickyOffset?: string | undefined;
9
+ stickyPosition: any;
10
+ }): JSX.Element;
11
+ declare namespace NavigationBar {
12
+ const propTypes: any;
13
+ }
@@ -46,7 +46,7 @@ NavigationBar.propTypes = {
46
46
  ariaLabel: _propTypes.default.string,
47
47
 
48
48
  /** Color scheme of navigation component */
49
- navigationType: _propTypes.default.oneOf(["light", "dark"]),
49
+ navigationType: _propTypes.default.oneOf(["light", "dark", "white", "black"]),
50
50
 
51
51
  /** If 'true' the children will not be visible */
52
52
  isLoading: _propTypes.default.bool,
@@ -4,7 +4,7 @@ import { SpaceProps } from "styled-system";
4
4
  export interface NavigationBarProps extends SpaceProps {
5
5
  children?: React.ReactNode;
6
6
  ariaLabel?: string;
7
- navigationType?: "light" | "dark";
7
+ navigationType?: "light" | "dark" | "white" | "black";
8
8
  isLoading?: boolean;
9
9
  stickyPosition?: "top" | "bottom";
10
10
  stickyOffset?: string;
@@ -0,0 +1,2 @@
1
+ export default StyledNavigationBar;
2
+ declare const StyledNavigationBar: import("styled-components").StyledComponent<"nav", any, {}, never>;
@@ -62,14 +62,27 @@ const StyledNavigationBar = _styledComponents.default.nav`
62
62
  theme
63
63
  }) => (0, _styledComponents.css)`
64
64
  min-height: 40px;
65
- background-color: ${theme.navigationBar.light.background};
66
- border-bottom: 1px solid ${theme.navigationBar.light.borderBottom};
65
+
66
+ ${navigationType === "light" && (0, _styledComponents.css)`
67
+ background-color: ${theme.navigationBar.light.background};
68
+ border-bottom: 1px solid ${theme.navigationBar.light.borderBottom};
69
+ `}
67
70
 
68
71
  ${navigationType === "dark" && (0, _styledComponents.css)`
69
72
  background-color: ${theme.navigationBar.dark.background};
70
73
  border-bottom: 1px solid ${theme.navigationBar.dark.borderBottom};
71
74
  color: ${theme.colors.white};
72
75
  `}
76
+
77
+ ${navigationType === "black" && (0, _styledComponents.css)`
78
+ background-color: ${theme.navigationBar.black.background};
79
+ color: ${theme.colors.white};
80
+ `}
81
+
82
+ ${navigationType === "white" && (0, _styledComponents.css)`
83
+ background-color: ${theme.colors.white};
84
+ border-bottom: 1px solid ${theme.navigationBar.white.borderBottom};
85
+ `}
73
86
  `}
74
87
  `;
75
88
  StyledNavigationBar.defaultProps = {
@@ -0,0 +1 @@
1
+ export { default } from "./status.component";
@@ -0,0 +1,3 @@
1
+ export default StatusIcon;
2
+ declare const StatusIcon: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
3
+ import React from "react";
@@ -0,0 +1,2 @@
1
+ export default StyledStatusIconWrapper;
2
+ declare const StyledStatusIconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,30 @@
1
+ export default Note;
2
+ declare function Note({ noteContent, width, inlineControl, title, name, createdDate, status, previews, onLinkAdded, ...rest }: {
3
+ [x: string]: any;
4
+ noteContent: any;
5
+ width?: number | undefined;
6
+ inlineControl: any;
7
+ title: any;
8
+ name: any;
9
+ createdDate: any;
10
+ status: any;
11
+ previews: any;
12
+ onLinkAdded: any;
13
+ }): JSX.Element;
14
+ declare namespace Note {
15
+ namespace propTypes {
16
+ const noteContent: PropTypes.Validator<object>;
17
+ const width: PropTypes.Requireable<number>;
18
+ const inlineControl: PropTypes.Requireable<PropTypes.ReactNodeLike>;
19
+ const title: PropTypes.Requireable<string>;
20
+ const name: PropTypes.Requireable<string>;
21
+ const createdDate: PropTypes.Validator<string>;
22
+ const status: PropTypes.Requireable<PropTypes.InferProps<{
23
+ text: PropTypes.Validator<string>;
24
+ timeStamp: PropTypes.Validator<string>;
25
+ }>>;
26
+ const previews: PropTypes.Requireable<PropTypes.ReactNodeLike[]>;
27
+ const onLinkAdded: PropTypes.Requireable<(...args: any[]) => any>;
28
+ }
29
+ }
30
+ import PropTypes from "prop-types";
@@ -0,0 +1,6 @@
1
+ export const StyledNote: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export const StyledNoteContent: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export const StyledInlineControl: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export const StyledTitle: import("styled-components").StyledComponent<"header", any, {}, never>;
5
+ export const StyledFooter: import("styled-components").StyledComponent<"div", any, {}, never>;
6
+ export const StyledFooterContent: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,10 @@
1
+ export default Number;
2
+ declare function Number({ onChange, onKeyDown, value, ...rest }: {
3
+ [x: string]: any;
4
+ onChange: any;
5
+ onKeyDown: any;
6
+ value: any;
7
+ }): JSX.Element;
8
+ declare namespace Number {
9
+ const propTypes: any;
10
+ }
@@ -0,0 +1,111 @@
1
+ export default NumeralDate;
2
+ declare function NumeralDate({ dateFormat, defaultValue, disabled, error, warning, "data-component": dataComponent, "data-element": dataElement, "data-role": dataRole, info, id, name, onBlur, onChange, value, validationOnLabel, label, labelInline, labelWidth, labelAlign, labelHelp, labelSpacing, fieldHelp, adaptiveLabelBreakpoint, required, readOnly, size, enableInternalError, enableInternalWarning, tooltipPosition, helpAriaLabel, ...rest }: {
3
+ [x: string]: any;
4
+ dateFormat?: string[] | undefined;
5
+ defaultValue: any;
6
+ disabled: any;
7
+ error?: string | undefined;
8
+ warning?: string | undefined;
9
+ "data-component": any;
10
+ "data-element": any;
11
+ "data-role": any;
12
+ info: any;
13
+ id: any;
14
+ name: any;
15
+ onBlur: any;
16
+ onChange: any;
17
+ value: any;
18
+ validationOnLabel?: boolean | undefined;
19
+ label: any;
20
+ labelInline: any;
21
+ labelWidth: any;
22
+ labelAlign: any;
23
+ labelHelp: any;
24
+ labelSpacing: any;
25
+ fieldHelp: any;
26
+ adaptiveLabelBreakpoint: any;
27
+ required: any;
28
+ readOnly: any;
29
+ size: any;
30
+ enableInternalError: any;
31
+ enableInternalWarning: any;
32
+ tooltipPosition: any;
33
+ helpAriaLabel: any;
34
+ }): JSX.Element;
35
+ declare namespace NumeralDate {
36
+ const propTypes: {
37
+ /** Identifier used for testing purposes, applied to the root element of the component. */
38
+ "data-component": PropTypes.Requireable<string>;
39
+ /** Identifier used for testing purposes, applied to the root element of the component. */
40
+ "data-element": PropTypes.Requireable<string>;
41
+ /** Identifier used for testing purposes, applied to the root element of the component. */
42
+ "data-role": PropTypes.Requireable<string>;
43
+ /** If true, the component will be disabled */
44
+ disabled: PropTypes.Requireable<boolean>;
45
+ /** If true, the component will be read-only */
46
+ readOnly: PropTypes.Requireable<boolean>;
47
+ /** Array of strings to define custom input layout.
48
+ Allowed formats:
49
+ ['dd', 'mm', 'yyyy'],
50
+ ['mm', 'dd', 'yyyy'],
51
+ ['dd', 'mm'],
52
+ ['mm', 'dd'],
53
+ ['mm', 'yyyy'] */
54
+ dateFormat: (props: any, propName: any, componentName: any) => Error | null;
55
+ /** Default value for use in uncontrolled mode */
56
+ defaultValue: PropTypes.Requireable<object>;
57
+ /** Value for use in controlled mode */
58
+ value: PropTypes.Requireable<object>;
59
+ /** Indicate that error has occurred
60
+ Pass string to display icon, tooltip and red border
61
+ Pass true boolean to only display red border */
62
+ error: PropTypes.Requireable<string | boolean>;
63
+ /** Indicate that warning has occurred
64
+ Pass string to display icon, tooltip and orange border
65
+ Pass true boolean to only display orange border */
66
+ warning: PropTypes.Requireable<string | boolean>;
67
+ /** Indicate additional information
68
+ Pass string to display icon, tooltip and blue border
69
+ Pass true boolean to only display blue border */
70
+ info: PropTypes.Requireable<string | boolean>;
71
+ /** Blur event handler */
72
+ onBlur: PropTypes.Requireable<(...args: any[]) => any>;
73
+ /** Change event handler */
74
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
75
+ /** `id` for events */
76
+ id: PropTypes.Requireable<string>;
77
+ /** `name` for events */
78
+ name: PropTypes.Requireable<string>;
79
+ /** When true, validation icon will be placed on label instead of being placed on the input */
80
+ validationOnLabel: PropTypes.Requireable<boolean>;
81
+ /** When true, enables the internal errors to be displayed */
82
+ enableInternalError: PropTypes.Requireable<boolean>;
83
+ /** When true, enables the internal warnings to be displayed */
84
+ enableInternalWarning: PropTypes.Requireable<boolean>;
85
+ /** Label */
86
+ label: PropTypes.Requireable<string>;
87
+ /** Text applied to label help tooltip */
88
+ labelHelp: PropTypes.Requireable<PropTypes.ReactNodeLike>;
89
+ /** When true, label is placed in line with an input */
90
+ labelInline: PropTypes.Requireable<boolean>;
91
+ /** Label alignment. Works only when labelInline is true */
92
+ labelAlign: PropTypes.Requireable<string>;
93
+ /** Width of a label in percentage. Works only when labelInline is true */
94
+ labelWidth: PropTypes.Requireable<number>;
95
+ /** Spacing between label and a field for inline label, given number will be multiplied by base spacing unit (8) */
96
+ labelSpacing: PropTypes.Requireable<number>;
97
+ /** Help content to be displayed under an input */
98
+ fieldHelp: PropTypes.Requireable<PropTypes.ReactNodeLike>;
99
+ /** Breakpoint for adaptive label (inline labels change to top aligned). Enables the adaptive behaviour when set */
100
+ adaptiveLabelBreakpoint: PropTypes.Requireable<number>;
101
+ /** Flag to configure component as mandatory */
102
+ required: PropTypes.Requireable<boolean>;
103
+ /** Size of an input */
104
+ size: PropTypes.Requireable<string>;
105
+ /** Overrides the default tooltip position */
106
+ tooltipPosition: PropTypes.Requireable<string>;
107
+ /** Aria label for rendered help component */
108
+ helpAriaLabel: PropTypes.Requireable<string>;
109
+ };
110
+ }
111
+ import PropTypes from "prop-types";
@@ -0,0 +1,2 @@
1
+ export const StyledNumeralDate: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export const StyledDateField: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,20 @@
1
+ export default PagerNavigationLink;
2
+ declare function PagerNavigationLink({ type, currentPage, pageCount, pageSize, onClick, onPagination, }: {
3
+ type: any;
4
+ currentPage: any;
5
+ pageCount: any;
6
+ pageSize: any;
7
+ onClick: any;
8
+ onPagination: any;
9
+ }): JSX.Element;
10
+ declare namespace PagerNavigationLink {
11
+ namespace propTypes {
12
+ const type: PropTypes.Validator<string>;
13
+ const currentPage: PropTypes.Validator<string | number>;
14
+ const pageCount: PropTypes.Validator<string | number>;
15
+ const pageSize: PropTypes.Validator<string | number>;
16
+ const onClick: PropTypes.Requireable<(...args: any[]) => any>;
17
+ const onPagination: PropTypes.Requireable<(...args: any[]) => any>;
18
+ }
19
+ }
20
+ import PropTypes from "prop-types";
@@ -0,0 +1,32 @@
1
+ export default PagerNavigation;
2
+ declare function PagerNavigation({ pageSize, currentPage, setCurrentPage, onNext, onPrevious, onFirst, onLast, onPagination, pageCount, showFirstAndLastButtons, showPreviousAndNextButtons, showPageCount, }: {
3
+ pageSize: any;
4
+ currentPage: any;
5
+ setCurrentPage: any;
6
+ onNext: any;
7
+ onPrevious: any;
8
+ onFirst: any;
9
+ onLast: any;
10
+ onPagination: any;
11
+ pageCount: any;
12
+ showFirstAndLastButtons?: boolean | undefined;
13
+ showPreviousAndNextButtons?: boolean | undefined;
14
+ showPageCount?: boolean | undefined;
15
+ }): JSX.Element;
16
+ declare namespace PagerNavigation {
17
+ namespace propTypes {
18
+ const currentPage: PropTypes.Validator<string | number>;
19
+ const pageSize: PropTypes.Requireable<string | number>;
20
+ const pageCount: PropTypes.Requireable<string | number>;
21
+ const setCurrentPage: PropTypes.Requireable<(...args: any[]) => any>;
22
+ const onFirst: PropTypes.Requireable<(...args: any[]) => any>;
23
+ const onPrevious: PropTypes.Requireable<(...args: any[]) => any>;
24
+ const onNext: PropTypes.Requireable<(...args: any[]) => any>;
25
+ const onLast: PropTypes.Requireable<(...args: any[]) => any>;
26
+ const onPagination: PropTypes.Requireable<(...args: any[]) => any>;
27
+ const showFirstAndLastButtons: PropTypes.Requireable<boolean>;
28
+ const showPreviousAndNextButtons: PropTypes.Requireable<boolean>;
29
+ const showPageCount: PropTypes.Requireable<boolean>;
30
+ }
31
+ }
32
+ import PropTypes from "prop-types";
@@ -0,0 +1,49 @@
1
+ export default Pager;
2
+ declare function Pager({ currentPage, pageSizeSelectionOptions, pageSize, showPageSizeSelection, totalRecords, onPagination, onNext, onFirst, onPrevious, onLast, showPageSizeLabelBefore, showPageSizeLabelAfter, showTotalRecords, showFirstAndLastButtons, showPreviousAndNextButtons, showPageCount, variant, ...rest }: {
3
+ [x: string]: any;
4
+ currentPage?: number | undefined;
5
+ pageSizeSelectionOptions?: {
6
+ id: string;
7
+ name: number;
8
+ }[] | undefined;
9
+ pageSize?: number | undefined;
10
+ showPageSizeSelection?: boolean | undefined;
11
+ totalRecords?: number | undefined;
12
+ onPagination: any;
13
+ onNext: any;
14
+ onFirst: any;
15
+ onPrevious: any;
16
+ onLast: any;
17
+ showPageSizeLabelBefore?: boolean | undefined;
18
+ showPageSizeLabelAfter?: boolean | undefined;
19
+ showTotalRecords?: boolean | undefined;
20
+ showFirstAndLastButtons?: boolean | undefined;
21
+ showPreviousAndNextButtons?: boolean | undefined;
22
+ showPageCount?: boolean | undefined;
23
+ variant?: string | undefined;
24
+ }): JSX.Element;
25
+ declare namespace Pager {
26
+ namespace propTypes {
27
+ const onPagination: PropTypes.Validator<(...args: any[]) => any>;
28
+ const onNext: PropTypes.Requireable<(...args: any[]) => any>;
29
+ const onFirst: PropTypes.Requireable<(...args: any[]) => any>;
30
+ const onPrevious: PropTypes.Requireable<(...args: any[]) => any>;
31
+ const onLast: PropTypes.Requireable<(...args: any[]) => any>;
32
+ const currentPage: PropTypes.Requireable<string | number>;
33
+ const totalRecords: PropTypes.Requireable<string | number>;
34
+ const pageSize: PropTypes.Requireable<string | number>;
35
+ const pageSizeSelectionOptions: PropTypes.Requireable<(PropTypes.InferProps<{
36
+ id: PropTypes.Requireable<string>;
37
+ name: PropTypes.Requireable<string | number>;
38
+ }> | null | undefined)[]>;
39
+ const showPageSizeSelection: PropTypes.Requireable<boolean>;
40
+ const showPageSizeLabelBefore: PropTypes.Requireable<boolean>;
41
+ const showPageSizeLabelAfter: PropTypes.Requireable<boolean>;
42
+ const showTotalRecords: PropTypes.Requireable<boolean>;
43
+ const showFirstAndLastButtons: PropTypes.Requireable<boolean>;
44
+ const showPreviousAndNextButtons: PropTypes.Requireable<boolean>;
45
+ const showPageCount: PropTypes.Requireable<boolean>;
46
+ const variant: PropTypes.Requireable<string>;
47
+ }
48
+ }
49
+ import PropTypes from "prop-types";
@@ -0,0 +1,11 @@
1
+ export const StyledPagerContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export const StyledPagerSizeOptions: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export const StyledPagerSizeOptionsInner: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export const StyledPagerNavigation: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export const StyledPagerNavInner: import("styled-components").StyledComponent<"div", any, {}, never>;
6
+ export const StyledPagerLinkStyles: import("styled-components").StyledComponent<"button", any, {
7
+ type: "button";
8
+ }, "type">;
9
+ export const StyledPagerNoSelect: import("styled-components").StyledComponent<"span", any, {}, never>;
10
+ export const StyledPagerSummary: import("styled-components").StyledComponent<"div", any, {}, never>;
11
+ export const StyledSelectContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,13 @@
1
+ export default Page;
2
+ declare function Page({ title, children, ...props }: {
3
+ [x: string]: any;
4
+ title: any;
5
+ children: any;
6
+ }): JSX.Element;
7
+ declare namespace Page {
8
+ namespace propTypes {
9
+ const title: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
10
+ const children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
11
+ }
12
+ }
13
+ import PropTypes from "prop-types";
@@ -0,0 +1,2 @@
1
+ export const StyledPage: import("styled-components").StyledComponent<"article", any, {}, never>;
2
+ export const StyledPageContent: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,20 @@
1
+ export default Pages;
2
+ export { Page };
3
+ declare function Pages({ pageIndex: incomingPageIndex, initialpageIndex, transition, children, ...props }: {
4
+ [x: string]: any;
5
+ pageIndex: any;
6
+ initialpageIndex?: number | undefined;
7
+ transition?: string | undefined;
8
+ children: any;
9
+ }): JSX.Element;
10
+ declare namespace Pages {
11
+ namespace propTypes {
12
+ const className: PropTypes.Requireable<string>;
13
+ const initialpageIndex: PropTypes.Requireable<string | number>;
14
+ const pageIndex: PropTypes.Requireable<string | number>;
15
+ const children: PropTypes.Requireable<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
16
+ const transition: PropTypes.Requireable<string>;
17
+ }
18
+ }
19
+ import Page from "./page/page.component";
20
+ import PropTypes from "prop-types";
@@ -0,0 +1,2 @@
1
+ export const slideAnimation: import("styled-components").FlattenSimpleInterpolation;
2
+ export const fadeAnimation: import("styled-components").FlattenSimpleInterpolation;
@@ -0,0 +1,2 @@
1
+ export const PagesWrapperStyle: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export const PagesContent: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,39 @@
1
+ export default Pill;
2
+ declare function Pill({ fill, onDelete, colorVariant, borderColor, pillRole, children, size, onClick, ...rest }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ onDelete: any;
6
+ colorVariant: any;
7
+ borderColor: any;
8
+ pillRole: any;
9
+ children: any;
10
+ size: any;
11
+ onClick: any;
12
+ }): JSX.Element;
13
+ declare namespace Pill {
14
+ namespace propTypes {
15
+ const colorVariant: PropTypes.Requireable<string>;
16
+ const borderColor: PropTypes.Requireable<string>;
17
+ const children: PropTypes.Validator<string>;
18
+ const fill: PropTypes.Requireable<boolean>;
19
+ const pillRole: PropTypes.Requireable<string>;
20
+ const onClick: PropTypes.Requireable<(...args: any[]) => any>;
21
+ const onDelete: PropTypes.Requireable<(...args: any[]) => any>;
22
+ const size: PropTypes.Requireable<string>;
23
+ }
24
+ namespace defaultProps {
25
+ const colorVariant_1: string;
26
+ export { colorVariant_1 as colorVariant };
27
+ const fill_1: boolean;
28
+ export { fill_1 as fill };
29
+ const onClick_1: null;
30
+ export { onClick_1 as onClick };
31
+ const onDelete_1: null;
32
+ export { onDelete_1 as onDelete };
33
+ const pillRole_1: string;
34
+ export { pillRole_1 as pillRole };
35
+ const size_1: string;
36
+ export { size_1 as size };
37
+ }
38
+ }
39
+ import PropTypes from "prop-types";
@@ -0,0 +1,27 @@
1
+ declare function _default(theme: any): {
2
+ status: {
3
+ neutral: {
4
+ varietyColor: string;
5
+ buttonFocus: string;
6
+ };
7
+ negative: {
8
+ varietyColor: string;
9
+ buttonFocus: string;
10
+ };
11
+ warning: {
12
+ varietyColor: string;
13
+ buttonFocus: string;
14
+ };
15
+ positive: {
16
+ varietyColor: string;
17
+ buttonFocus: string;
18
+ };
19
+ };
20
+ tag: {
21
+ primary: {
22
+ varietyColor: any;
23
+ buttonFocus: any;
24
+ };
25
+ };
26
+ };
27
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export default PillStyle;
2
+ declare const PillStyle: import("styled-components").StyledComponent<"span", any, {}, never>;