carbon-react 118.1.0 → 118.2.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 (346) hide show
  1. package/esm/__internal__/filter-object-properties/filter-object-properties.d.ts +1 -1
  2. package/esm/__internal__/input/input-presentation.style.js +1 -0
  3. package/esm/__internal__/input/input.style.js +1 -0
  4. package/esm/components/action-popover/action-popover.style.js +3 -0
  5. package/esm/components/advanced-color-picker/advanced-color-picker-cell.style.js +1 -0
  6. package/esm/components/advanced-color-picker/advanced-color-picker.style.js +1 -0
  7. package/esm/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.style.js +6 -2
  8. package/esm/components/badge/badge.style.js +1 -1
  9. package/esm/components/batch-selection/batch-selection.style.js +6 -0
  10. package/esm/components/box/box.component.d.ts +3 -0
  11. package/esm/components/box/box.component.js +4 -0
  12. package/esm/components/button/button.style.js +10 -9
  13. package/esm/components/button-bar/button-bar.style.js +19 -0
  14. package/esm/components/button-minor/button-minor.style.js +42 -40
  15. package/esm/components/button-toggle/button-toggle.component.js +2 -1
  16. package/esm/components/button-toggle/button-toggle.style.d.ts +1 -0
  17. package/esm/components/button-toggle/button-toggle.style.js +31 -13
  18. package/esm/components/button-toggle-group/button-toggle-group.style.js +21 -3
  19. package/esm/components/card/__internal__/card-context/index.d.ts +7 -0
  20. package/esm/components/card/__internal__/card-context/index.js +2 -0
  21. package/esm/components/card/card-footer/card-footer.component.js +9 -2
  22. package/esm/components/card/card-footer/card-footer.style.d.ts +2 -1
  23. package/esm/components/card/card-footer/card-footer.style.js +10 -1
  24. package/esm/components/card/card.component.d.ts +3 -2
  25. package/esm/components/card/card.component.js +10 -1
  26. package/esm/components/card/card.style.d.ts +2 -1
  27. package/esm/components/card/card.style.js +3 -1
  28. package/esm/components/carousel/carousel.component.js +1 -1
  29. package/esm/components/carousel/carousel.style.js +4 -2
  30. package/esm/components/carousel/slide/slide.style.js +2 -0
  31. package/esm/components/checkbox/checkbox.style.js +2 -0
  32. package/esm/components/date/__internal__/date-picker/day-picker.style.js +4 -0
  33. package/esm/components/date/__internal__/navbar/button.style.js +2 -0
  34. package/esm/components/dialog/dialog.style.js +5 -0
  35. package/esm/components/dismissible-box/dismissible-box.component.d.ts +1 -1
  36. package/esm/components/dismissible-box/dismissible-box.component.js +4 -1
  37. package/esm/components/drawer/drawer.style.js +1 -0
  38. package/esm/components/duelling-picklist/picklist-item/picklist-item.style.js +20 -0
  39. package/esm/components/flat-table/flat-table-row/flat-table-row.style.js +7 -0
  40. package/esm/components/flat-table/flat-table.component.js +56 -2
  41. package/esm/components/flat-table/flat-table.style.js +101 -1
  42. package/esm/components/flat-table/sort/sort.style.js +1 -0
  43. package/esm/components/icon-button/icon-button.style.js +1 -0
  44. package/esm/components/inline-inputs/inline-inputs.style.js +18 -0
  45. package/esm/components/link/link.style.js +1 -0
  46. package/esm/components/link-preview/__internal__/placeholder.component.d.ts +3 -1
  47. package/esm/components/link-preview/__internal__/placeholder.component.js +4 -1
  48. package/esm/components/link-preview/link-preview.style.js +1 -0
  49. package/esm/components/loader/loader-square.style.js +5 -0
  50. package/esm/components/loader-bar/loader-bar.style.js +1 -0
  51. package/esm/components/menu/__internal__/submenu/submenu.style.js +13 -0
  52. package/esm/components/menu/menu.style.js +13 -6
  53. package/esm/components/menu/scrollable-block/scrollable-block.style.js +15 -0
  54. package/esm/components/message/message.style.js +2 -0
  55. package/esm/components/multi-action-button/multi-action-button.style.js +4 -0
  56. package/esm/components/note/note.style.js +1 -0
  57. package/esm/components/numeral-date/numeral-date.component.js +2 -0
  58. package/esm/components/numeral-date/numeral-date.style.d.ts +1 -0
  59. package/esm/components/numeral-date/numeral-date.style.js +12 -0
  60. package/esm/components/pager/pager.component.js +5 -5
  61. package/esm/components/pager/pager.style.js +2 -0
  62. package/esm/components/pill/pill.component.d.ts +3 -1
  63. package/esm/components/pill/pill.component.js +1 -0
  64. package/esm/components/pill/pill.style.js +5 -15
  65. package/esm/components/pod/pod.style.js +6 -0
  66. package/esm/components/popover-container/popover-container.style.js +1 -0
  67. package/esm/components/portrait/portrait-gravatar.component.js +1 -1
  68. package/esm/components/portrait/portrait-initials.component.js +1 -1
  69. package/esm/components/portrait/portrait.component.js +1 -1
  70. package/esm/components/portrait/portrait.style.js +1 -3
  71. package/esm/components/profile/profile.component.js +1 -1
  72. package/esm/components/progress-tracker/progress-tracker.style.js +2 -2
  73. package/esm/components/radio-button/radio-button.style.js +1 -1
  74. package/esm/components/search/search-button.style.js +5 -0
  75. package/esm/components/search/search.style.js +7 -0
  76. package/esm/components/select/__internal__/select-list-context.d.ts +7 -0
  77. package/esm/components/select/__internal__/select-text/index.d.ts +2 -0
  78. package/esm/components/select/__internal__/select-text/index.js +1 -0
  79. package/esm/components/select/__internal__/select-text/select-text.component.d.ts +33 -0
  80. package/esm/components/select/__internal__/select-text/select-text.component.js +16 -36
  81. package/esm/components/select/__internal__/select-text/select-text.style.d.ts +6 -1
  82. package/esm/components/select/filterable-select/filterable-select.component.d.ts +65 -0
  83. package/esm/components/select/filterable-select/filterable-select.component.js +568 -102
  84. package/esm/components/select/filterable-select/index.d.ts +2 -1
  85. package/esm/components/select/filterable-select/index.js +1 -0
  86. package/esm/components/select/index.d.ts +6 -0
  87. package/esm/components/select/index.js +6 -6
  88. package/esm/components/select/list-action-button/index.d.ts +2 -0
  89. package/esm/components/select/list-action-button/index.js +1 -0
  90. package/esm/components/select/list-action-button/list-action-button.component.d.ts +7 -0
  91. package/esm/components/select/list-action-button/list-action-button.component.js +9 -6
  92. package/esm/components/select/list-action-button/list-action-button.style.d.ts +2 -0
  93. package/esm/components/select/multi-select/index.d.ts +2 -1
  94. package/esm/components/select/multi-select/index.js +1 -0
  95. package/esm/components/select/multi-select/multi-select.component.d.ts +62 -0
  96. package/esm/components/select/multi-select/multi-select.component.js +575 -104
  97. package/esm/components/select/multi-select/multi-select.style.d.ts +4 -0
  98. package/esm/components/select/multi-select/multi-select.style.js +1 -0
  99. package/esm/components/select/option/index.d.ts +2 -25
  100. package/esm/components/select/option/index.js +1 -0
  101. package/esm/components/select/option/option.component.d.ts +34 -0
  102. package/esm/components/select/option/option.component.js +399 -62
  103. package/esm/components/select/option/option.style.d.ts +6 -0
  104. package/esm/components/select/option/option.style.js +0 -5
  105. package/esm/components/select/option-group-header/index.d.ts +2 -10
  106. package/esm/components/select/option-group-header/index.js +1 -0
  107. package/esm/components/select/option-group-header/option-group-header.component.d.ts +16 -0
  108. package/esm/components/select/option-group-header/option-group-header.component.js +4 -15
  109. package/esm/components/select/option-group-header/option-group-header.style.d.ts +2 -0
  110. package/esm/components/select/option-row/index.d.ts +2 -16
  111. package/esm/components/select/option-row/index.js +1 -0
  112. package/esm/components/select/option-row/option-row.component.d.ts +42 -0
  113. package/esm/components/select/option-row/option-row.component.js +10 -40
  114. package/esm/components/select/option-row/option-row.style.d.ts +6 -0
  115. package/esm/components/select/select-list/index.d.ts +2 -0
  116. package/esm/components/select/select-list/index.js +1 -0
  117. package/esm/components/select/select-list/select-list-container.style.d.ts +6 -0
  118. package/esm/components/select/select-list/select-list-container.style.js +1 -0
  119. package/esm/components/select/select-list/select-list.component.d.ts +64 -0
  120. package/esm/components/select/select-list/select-list.component.js +69 -100
  121. package/esm/components/select/select-list/select-list.style.d.ts +12 -0
  122. package/esm/components/select/select-list/select-list.style.js +2 -2
  123. package/esm/components/select/select-textbox/index.d.ts +2 -1
  124. package/esm/components/select/select-textbox/index.js +1 -0
  125. package/esm/components/select/select-textbox/select-textbox.component.d.ts +81 -0
  126. package/esm/components/select/select-textbox/select-textbox.component.js +567 -142
  127. package/esm/components/select/select.style.d.ts +8 -0
  128. package/esm/components/select/simple-select/index.d.ts +2 -1
  129. package/esm/components/select/simple-select/index.js +1 -0
  130. package/esm/components/select/simple-select/simple-select.component.d.ts +58 -0
  131. package/esm/components/select/simple-select/simple-select.component.js +578 -111
  132. package/esm/components/select/utils/get-next-child-by-text.d.ts +5 -0
  133. package/esm/components/select/utils/get-next-child-by-text.js +20 -17
  134. package/esm/components/select/utils/get-next-index-by-key.d.ts +2 -0
  135. package/esm/components/select/utils/highlight-part-of-text.d.ts +2 -0
  136. package/esm/components/select/utils/highlight-part-of-text.js +10 -3
  137. package/esm/components/select/utils/is-expected-option.d.ts +2 -0
  138. package/esm/components/select/utils/is-expected-option.js +1 -1
  139. package/esm/components/select/utils/is-expected-value.d.ts +1 -0
  140. package/esm/components/select/utils/is-expected-value.js +1 -1
  141. package/esm/components/select/utils/is-navigation-key.d.ts +1 -0
  142. package/esm/components/select/utils/matching-text.style.d.ts +2 -0
  143. package/esm/components/select/utils/with-filter.hoc.d.ts +14 -0
  144. package/esm/components/select/utils/with-filter.hoc.js +59 -41
  145. package/esm/components/split-button/split-button-children.style.d.ts +1 -0
  146. package/esm/components/split-button/split-button-children.style.js +28 -0
  147. package/esm/components/split-button/split-button-toggle.style.js +6 -1
  148. package/esm/components/split-button/split-button.style.js +5 -2
  149. package/esm/components/switch/__internal__/switch-slider.style.js +1 -2
  150. package/esm/components/tabs/__internal__/tab-title/tab-title.component.js +1 -0
  151. package/esm/components/tabs/__internal__/tab-title/tab-title.style.js +22 -2
  152. package/esm/components/tabs/__internal__/tabs-header/tabs-header.style.js +5 -0
  153. package/esm/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.style.js +3 -0
  154. package/esm/components/text-editor/text-editor.style.js +3 -0
  155. package/esm/components/tile/tile.component.d.ts +3 -1
  156. package/esm/components/tile/tile.component.js +3 -1
  157. package/esm/components/tile/tile.style.d.ts +1 -1
  158. package/esm/components/tile/tile.style.js +4 -1
  159. package/esm/components/tile-select/tile-select.style.d.ts +1 -0
  160. package/esm/components/tile-select/tile-select.style.js +8 -0
  161. package/esm/components/tooltip/tooltip.style.js +1 -0
  162. package/esm/components/vertical-menu/vertical-menu.style.js +1 -0
  163. package/lib/__internal__/filter-object-properties/filter-object-properties.d.ts +1 -1
  164. package/lib/__internal__/input/input-presentation.style.js +1 -0
  165. package/lib/__internal__/input/input.style.js +1 -0
  166. package/lib/components/action-popover/action-popover.style.js +3 -0
  167. package/lib/components/advanced-color-picker/advanced-color-picker-cell.style.js +1 -0
  168. package/lib/components/advanced-color-picker/advanced-color-picker.style.js +1 -0
  169. package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.style.js +6 -2
  170. package/lib/components/badge/badge.style.js +1 -1
  171. package/lib/components/batch-selection/batch-selection.style.js +6 -0
  172. package/lib/components/box/box.component.d.ts +3 -0
  173. package/lib/components/box/box.component.js +4 -0
  174. package/lib/components/button/button.style.js +10 -9
  175. package/lib/components/button-bar/button-bar.style.js +19 -0
  176. package/lib/components/button-minor/button-minor.style.js +42 -40
  177. package/lib/components/button-toggle/button-toggle.component.js +2 -1
  178. package/lib/components/button-toggle/button-toggle.style.d.ts +1 -0
  179. package/lib/components/button-toggle/button-toggle.style.js +31 -13
  180. package/lib/components/button-toggle-group/button-toggle-group.style.js +21 -3
  181. package/lib/components/card/__internal__/card-context/index.d.ts +7 -0
  182. package/lib/components/card/__internal__/card-context/index.js +14 -0
  183. package/lib/components/card/__internal__/card-context/package.json +6 -0
  184. package/lib/components/card/card-footer/card-footer.component.js +14 -2
  185. package/lib/components/card/card-footer/card-footer.style.d.ts +2 -1
  186. package/lib/components/card/card-footer/card-footer.style.js +10 -1
  187. package/lib/components/card/card.component.d.ts +3 -2
  188. package/lib/components/card/card.component.js +11 -1
  189. package/lib/components/card/card.style.d.ts +2 -1
  190. package/lib/components/card/card.style.js +3 -1
  191. package/lib/components/carousel/carousel.component.js +1 -1
  192. package/lib/components/carousel/carousel.style.js +4 -2
  193. package/lib/components/carousel/slide/slide.style.js +2 -0
  194. package/lib/components/checkbox/checkbox.style.js +2 -0
  195. package/lib/components/date/__internal__/date-picker/day-picker.style.js +4 -0
  196. package/lib/components/date/__internal__/navbar/button.style.js +2 -0
  197. package/lib/components/dialog/dialog.style.js +5 -0
  198. package/lib/components/dismissible-box/dismissible-box.component.d.ts +1 -1
  199. package/lib/components/dismissible-box/dismissible-box.component.js +4 -1
  200. package/lib/components/drawer/drawer.style.js +1 -0
  201. package/lib/components/duelling-picklist/picklist-item/picklist-item.style.js +20 -0
  202. package/lib/components/flat-table/flat-table-row/flat-table-row.style.js +7 -0
  203. package/lib/components/flat-table/flat-table.component.js +60 -2
  204. package/lib/components/flat-table/flat-table.style.js +102 -1
  205. package/lib/components/flat-table/sort/sort.style.js +1 -0
  206. package/lib/components/icon-button/icon-button.style.js +1 -0
  207. package/lib/components/inline-inputs/inline-inputs.style.js +18 -0
  208. package/lib/components/link/link.style.js +1 -0
  209. package/lib/components/link-preview/__internal__/placeholder.component.d.ts +3 -1
  210. package/lib/components/link-preview/__internal__/placeholder.component.js +6 -1
  211. package/lib/components/link-preview/link-preview.style.js +1 -0
  212. package/lib/components/loader/loader-square.style.js +5 -0
  213. package/lib/components/loader-bar/loader-bar.style.js +1 -0
  214. package/lib/components/menu/__internal__/submenu/submenu.style.js +13 -0
  215. package/lib/components/menu/menu.style.js +13 -6
  216. package/lib/components/menu/scrollable-block/scrollable-block.style.js +18 -0
  217. package/lib/components/message/message.style.js +2 -0
  218. package/lib/components/multi-action-button/multi-action-button.style.js +5 -0
  219. package/lib/components/note/note.style.js +1 -0
  220. package/lib/components/numeral-date/numeral-date.component.js +2 -0
  221. package/lib/components/numeral-date/numeral-date.style.d.ts +1 -0
  222. package/lib/components/numeral-date/numeral-date.style.js +12 -0
  223. package/lib/components/pager/pager.component.js +5 -5
  224. package/lib/components/pager/pager.style.js +2 -0
  225. package/lib/components/pill/pill.component.d.ts +3 -1
  226. package/lib/components/pill/pill.component.js +1 -0
  227. package/lib/components/pill/pill.style.js +5 -15
  228. package/lib/components/pod/pod.style.js +6 -0
  229. package/lib/components/popover-container/popover-container.style.js +1 -0
  230. package/lib/components/portrait/portrait-gravatar.component.js +1 -1
  231. package/lib/components/portrait/portrait-initials.component.js +1 -1
  232. package/lib/components/portrait/portrait.component.js +1 -1
  233. package/lib/components/portrait/portrait.style.js +1 -3
  234. package/lib/components/profile/profile.component.js +1 -1
  235. package/lib/components/progress-tracker/progress-tracker.style.js +2 -2
  236. package/lib/components/radio-button/radio-button.style.js +1 -1
  237. package/lib/components/search/search-button.style.js +5 -0
  238. package/lib/components/search/search.style.js +7 -0
  239. package/lib/components/select/__internal__/select-list-context.d.ts +7 -0
  240. package/lib/components/select/__internal__/select-text/index.d.ts +2 -0
  241. package/lib/components/select/__internal__/select-text/index.js +15 -0
  242. package/lib/components/select/__internal__/select-text/package.json +6 -0
  243. package/lib/components/select/__internal__/select-text/select-text.component.d.ts +33 -0
  244. package/lib/components/select/__internal__/select-text/select-text.component.js +16 -36
  245. package/lib/components/select/__internal__/select-text/select-text.style.d.ts +6 -1
  246. package/lib/components/select/filterable-select/filterable-select.component.d.ts +65 -0
  247. package/lib/components/select/filterable-select/filterable-select.component.js +569 -103
  248. package/lib/components/select/filterable-select/index.d.ts +2 -1
  249. package/lib/components/select/filterable-select/index.js +15 -0
  250. package/lib/components/select/filterable-select/package.json +6 -0
  251. package/lib/components/select/index.d.ts +6 -0
  252. package/lib/components/select/index.js +6 -6
  253. package/lib/components/select/list-action-button/index.d.ts +2 -0
  254. package/lib/components/select/list-action-button/index.js +15 -0
  255. package/lib/components/select/list-action-button/list-action-button.component.d.ts +7 -0
  256. package/lib/components/select/list-action-button/list-action-button.component.js +9 -6
  257. package/lib/components/select/list-action-button/list-action-button.style.d.ts +2 -0
  258. package/lib/components/select/list-action-button/package.json +6 -0
  259. package/lib/components/select/multi-select/index.d.ts +2 -1
  260. package/lib/components/select/multi-select/index.js +15 -0
  261. package/lib/components/select/multi-select/multi-select.component.d.ts +62 -0
  262. package/lib/components/select/multi-select/multi-select.component.js +576 -105
  263. package/lib/components/select/multi-select/multi-select.style.d.ts +4 -0
  264. package/lib/components/select/multi-select/multi-select.style.js +1 -0
  265. package/lib/components/select/multi-select/package.json +6 -0
  266. package/lib/components/select/option/index.d.ts +2 -25
  267. package/lib/components/select/option/index.js +15 -0
  268. package/lib/components/select/option/option.component.d.ts +34 -0
  269. package/lib/components/select/option/option.component.js +399 -62
  270. package/lib/components/select/option/option.style.d.ts +6 -0
  271. package/lib/components/select/option/option.style.js +0 -8
  272. package/lib/components/select/option/package.json +6 -0
  273. package/lib/components/select/option-group-header/index.d.ts +2 -10
  274. package/lib/components/select/option-group-header/index.js +15 -0
  275. package/lib/components/select/option-group-header/option-group-header.component.d.ts +16 -0
  276. package/lib/components/select/option-group-header/option-group-header.component.js +4 -15
  277. package/lib/components/select/option-group-header/option-group-header.style.d.ts +2 -0
  278. package/lib/components/select/option-group-header/package.json +6 -0
  279. package/lib/components/select/option-row/index.d.ts +2 -16
  280. package/lib/components/select/option-row/index.js +15 -0
  281. package/lib/components/select/option-row/option-row.component.d.ts +42 -0
  282. package/lib/components/select/option-row/option-row.component.js +10 -40
  283. package/lib/components/select/option-row/option-row.style.d.ts +6 -0
  284. package/lib/components/select/option-row/package.json +6 -0
  285. package/lib/components/select/select-list/index.d.ts +2 -0
  286. package/lib/components/select/select-list/index.js +15 -0
  287. package/lib/components/select/select-list/package.json +6 -0
  288. package/lib/components/select/select-list/select-list-container.style.d.ts +6 -0
  289. package/lib/components/select/select-list/select-list-container.style.js +1 -0
  290. package/lib/components/select/select-list/select-list.component.d.ts +64 -0
  291. package/lib/components/select/select-list/select-list.component.js +69 -100
  292. package/lib/components/select/select-list/select-list.style.d.ts +12 -0
  293. package/lib/components/select/select-list/select-list.style.js +2 -2
  294. package/lib/components/select/select-textbox/index.d.ts +2 -1
  295. package/lib/components/select/select-textbox/index.js +15 -0
  296. package/lib/components/select/select-textbox/package.json +6 -0
  297. package/lib/components/select/select-textbox/select-textbox.component.d.ts +81 -0
  298. package/lib/components/select/select-textbox/select-textbox.component.js +567 -142
  299. package/lib/components/select/select.style.d.ts +8 -0
  300. package/lib/components/select/simple-select/index.d.ts +2 -1
  301. package/lib/components/select/simple-select/index.js +15 -0
  302. package/lib/components/select/simple-select/package.json +6 -0
  303. package/lib/components/select/simple-select/simple-select.component.d.ts +58 -0
  304. package/lib/components/select/simple-select/simple-select.component.js +579 -113
  305. package/lib/components/select/utils/get-next-child-by-text.d.ts +5 -0
  306. package/lib/components/select/utils/get-next-child-by-text.js +20 -17
  307. package/lib/components/select/utils/get-next-index-by-key.d.ts +2 -0
  308. package/lib/components/select/utils/highlight-part-of-text.d.ts +2 -0
  309. package/lib/components/select/utils/highlight-part-of-text.js +10 -3
  310. package/lib/components/select/utils/is-expected-option.d.ts +2 -0
  311. package/lib/components/select/utils/is-expected-option.js +1 -1
  312. package/lib/components/select/utils/is-expected-value.d.ts +1 -0
  313. package/lib/components/select/utils/is-expected-value.js +1 -1
  314. package/lib/components/select/utils/is-navigation-key.d.ts +1 -0
  315. package/lib/components/select/utils/matching-text.style.d.ts +2 -0
  316. package/lib/components/select/utils/with-filter.hoc.d.ts +14 -0
  317. package/lib/components/select/utils/with-filter.hoc.js +59 -42
  318. package/lib/components/split-button/split-button-children.style.d.ts +1 -0
  319. package/lib/components/split-button/split-button-children.style.js +30 -1
  320. package/lib/components/split-button/split-button-toggle.style.js +6 -1
  321. package/lib/components/split-button/split-button.style.js +5 -2
  322. package/lib/components/switch/__internal__/switch-slider.style.js +1 -2
  323. package/lib/components/tabs/__internal__/tab-title/tab-title.component.js +1 -0
  324. package/lib/components/tabs/__internal__/tab-title/tab-title.style.js +22 -2
  325. package/lib/components/tabs/__internal__/tabs-header/tabs-header.style.js +5 -0
  326. package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.style.js +3 -0
  327. package/lib/components/text-editor/text-editor.style.js +3 -0
  328. package/lib/components/tile/tile.component.d.ts +3 -1
  329. package/lib/components/tile/tile.component.js +3 -1
  330. package/lib/components/tile/tile.style.d.ts +1 -1
  331. package/lib/components/tile/tile.style.js +4 -1
  332. package/lib/components/tile-select/tile-select.style.d.ts +1 -0
  333. package/lib/components/tile-select/tile-select.style.js +8 -0
  334. package/lib/components/tooltip/tooltip.style.js +1 -0
  335. package/lib/components/vertical-menu/vertical-menu.style.js +1 -0
  336. package/package.json +1 -1
  337. package/esm/components/select/__internal__/select-text/select-text.d.ts +0 -36
  338. package/esm/components/select/filterable-select/filterable-select.d.ts +0 -71
  339. package/esm/components/select/multi-select/multi-select.d.ts +0 -68
  340. package/esm/components/select/select-textbox/select-textbox.d.ts +0 -72
  341. package/esm/components/select/simple-select/simple-select.d.ts +0 -64
  342. package/lib/components/select/__internal__/select-text/select-text.d.ts +0 -36
  343. package/lib/components/select/filterable-select/filterable-select.d.ts +0 -71
  344. package/lib/components/select/multi-select/multi-select.d.ts +0 -68
  345. package/lib/components/select/select-textbox/select-textbox.d.ts +0 -72
  346. package/lib/components/select/simple-select/simple-select.d.ts +0 -64
@@ -25,27 +25,32 @@ const loaderAnimation = (0, _styledComponents.keyframes)`
25
25
  const getDimentions = size => {
26
26
  let width;
27
27
  let marginRight;
28
+ let borderRadius;
28
29
 
29
30
  switch (size) {
30
31
  case "medium":
31
32
  width = "16px";
32
33
  marginRight = "8px";
34
+ borderRadius = "var(--borderRadiusCircle)";
33
35
  break;
34
36
 
35
37
  case "large":
36
38
  width = "20px";
37
39
  marginRight = "8px";
40
+ borderRadius = "var(--borderRadiusCircle)";
38
41
  break;
39
42
 
40
43
  default:
41
44
  width = "12px";
42
45
  marginRight = "6px";
46
+ borderRadius = "var(--borderRadiusCircle)";
43
47
  }
44
48
 
45
49
  return (0, _styledComponents.css)`
46
50
  width: ${width};
47
51
  height: ${width};
48
52
  margin-right: ${marginRight};
53
+ border-radius: ${borderRadius};
49
54
  `;
50
55
  };
51
56
 
@@ -49,6 +49,7 @@ const StyledLoaderBar = _styledComponents.default.div`
49
49
  size
50
50
  }) => (0, _styledComponents.css)`
51
51
  display: inline-block;
52
+ border-radius: var(--borderRadius400);
52
53
  height: ${getHeight(size)};
53
54
  width: 100%;
54
55
  background-color: var(--colorsActionMajor150);
@@ -80,6 +80,19 @@ const StyledSubmenu = _styledComponents.default.ul`
80
80
  }
81
81
  `}
82
82
 
83
+ ${!inFullscreenView && (0, _styledComponents.css)`
84
+ border-bottom-right-radius: var(--borderRadius100);
85
+ border-bottom-left-radius: var(--borderRadius100);
86
+
87
+ ${_menu.StyledMenuItem}:last-child a,
88
+ ${_menu.StyledMenuItem}:last-child button,
89
+ ${_menu.StyledMenuItem}:last-child > span,
90
+ ${_menu.StyledMenuItem}:last-child > div {
91
+ border-bottom-left-radius: var(--borderRadius100);
92
+ border-bottom-right-radius: var(--borderRadius100);
93
+ }
94
+ `}
95
+
83
96
  display: block;
84
97
  list-style: none;
85
98
  margin: 0;
@@ -38,12 +38,16 @@ const StyledMenuWrapper = _styledComponents.default.ul`
38
38
  display: inline-block;
39
39
  vertical-align: bottom;
40
40
  background-color: ${_menu.default[menuType].background};
41
-
42
41
  ${menuType === "dark" && (0, _styledComponents.css)`
43
- color: ${_menu.default[menuType].color};
42
+ display: inline-block;
43
+ vertical-align: bottom;
44
+ background-color: ${_menu.default[menuType].background};
45
+
46
+ ${menuType === "dark" && (0, _styledComponents.css)`
47
+ color: ${_menu.default[menuType].color};
48
+ `}
44
49
  `}
45
50
  `}
46
-
47
51
  ${_verticalDivider.StyledDivider} {
48
52
  position: relative;
49
53
  top: -1px;
@@ -54,7 +58,11 @@ exports.StyledMenuWrapper = StyledMenuWrapper;
54
58
  const StyledMenuItem = _styledComponents.default.li`
55
59
  ${_styledSystem.layout}
56
60
  ${_styledSystem.flexbox}
57
-
61
+
62
+ ${_link.StyledLink} a:focus, ${_link.StyledLink} button:focus {
63
+ border-radius: var(--borderRadius000);
64
+ }
65
+
58
66
  ${({
59
67
  inSubmenu
60
68
  }) => (0, _styledComponents.css)`
@@ -62,8 +70,7 @@ const StyledMenuItem = _styledComponents.default.li`
62
70
  display: list-item;
63
71
  `}
64
72
  `}
65
-
66
- ${({
73
+ ${({
67
74
  inFullscreenView
68
75
  }) => inFullscreenView && (0, _styledComponents.css)`
69
76
  padding-top: 16px;
@@ -11,6 +11,12 @@ var _menuItem = _interopRequireDefault(require("../menu-item/menu-item.style"));
11
11
 
12
12
  var _menu = _interopRequireDefault(require("../menu.config"));
13
13
 
14
+ var _box = _interopRequireDefault(require("../../box/box.component"));
15
+
16
+ var _menu2 = require("../menu.style");
17
+
18
+ var _link = require("../../link/link.style");
19
+
14
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
21
 
16
22
  function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
@@ -25,6 +31,18 @@ const StyledScrollableBlock = _styledComponents.default.li`
25
31
  && ${_menuItem.default} {
26
32
  background-color: ${variant === "default" ? _menu.default[menuType].submenuItemBackground : _menu.default[menuType].alternate};
27
33
  }
34
+
35
+ ${_box.default} {
36
+ border-radius: var(--borderRadius000);
37
+ border-bottom-left-radius: var(--borderRadius100);
38
+
39
+ ${_menu2.StyledMenuItem}:last-child ${_link.StyledLink},
40
+ ${_menu2.StyledMenuItem}:last-child a,
41
+ ${_menu2.StyledMenuItem}:last-child button {
42
+ border-bottom-left-radius: var(--borderRadius100);
43
+ border-bottom-right-radius: var(--borderRadius000);
44
+ }
45
+ }
28
46
  `}
29
47
  `;
30
48
  var _default = StyledScrollableBlock;
@@ -30,6 +30,8 @@ const MessageStyle = _styledComponents.default.div`
30
30
  display: flex;
31
31
  justify-content: flex-start;
32
32
  align-content: center;
33
+ border-radius: var(--borderRadius100);
34
+ overflow: hidden;
33
35
  border: 1px solid ${({
34
36
  variant
35
37
  }) => variant && messageVariants[variant]};
@@ -17,6 +17,8 @@ var _icon = _interopRequireDefault(require("../icon/icon.style"));
17
17
 
18
18
  var _width = _interopRequireDefault(require("../../style/utils/width"));
19
19
 
20
+ var _splitButtonChildren = require("../split-button/split-button-children.style");
21
+
20
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
23
 
22
24
  function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
@@ -91,12 +93,15 @@ const StyledButtonChildrenContainer = _styledComponents.default.div`
91
93
  white-space: nowrap;
92
94
  z-index: ${theme.zIndex.popover};
93
95
  box-shadow: var(--boxShadow100);
96
+ border-radius: var(--borderRadius100);
94
97
 
95
98
  ${_icon.default} {
96
99
  margin-left: 0;
97
100
  left: 8px;
98
101
  }
99
102
 
103
+ ${_splitButtonChildren.borderRadiusStyling}
104
+
100
105
  ${_button.default} {
101
106
  border: 1px solid var(--colorsActionMajorTransparent);
102
107
  display: flex;
@@ -132,6 +132,7 @@ const StyledNote = _styledComponents.default.div`
132
132
  }) => (0, _styledComponents.css)`
133
133
  background-color: var(--colorsUtilityYang100);
134
134
  border: 1px solid var(--colorsUtilityMajor100);
135
+ border-radius: var(--borderRadius100);
135
136
  display: flex;
136
137
  flex-direction: column;
137
138
  padding: 24px;
@@ -227,6 +227,7 @@ const NumeralDate = ({
227
227
  onKeyPress: onKeyPress,
228
228
  "data-component": "numeral-date"
229
229
  }, dateFormat.map((datePart, index) => {
230
+ const isStart = index === 0;
230
231
  const isEnd = index === dateFormat.length - 1;
231
232
  const isMiddle = index === 1;
232
233
  const validation = error || warning || info;
@@ -261,6 +262,7 @@ const NumeralDate = ({
261
262
  }, /*#__PURE__*/_react.default.createElement(_numeralDate.StyledDateField, {
262
263
  key: datePart,
263
264
  isYearInput: datePart.length === 4,
265
+ isStart: isStart,
264
266
  isMiddle: isMiddle,
265
267
  isEnd: isEnd,
266
268
  hasValidationIcon: hasValidationIcon
@@ -1,4 +1,5 @@
1
1
  interface StyledDateFieldProps {
2
+ isStart?: boolean;
2
3
  isEnd?: boolean;
3
4
  isMiddle?: boolean;
4
5
  isYearInput?: boolean;
@@ -37,6 +37,7 @@ const StyledNumeralDate = _styledComponents.default.div`
37
37
  exports.StyledNumeralDate = StyledNumeralDate;
38
38
  const StyledDateField = _styledComponents.default.div`
39
39
  ${({
40
+ isStart,
40
41
  isYearInput,
41
42
  isEnd,
42
43
  hasValidationIcon,
@@ -48,6 +49,17 @@ const StyledDateField = _styledComponents.default.div`
48
49
  position: relative;
49
50
  width: ${yearInputOrError ? "78px;" : "58px;"};
50
51
  text-align: center;
52
+ border-radius: var(--borderRadius000);
53
+
54
+ ${isStart && (0, _styledComponents.css)`
55
+ border-top-left-radius: var(--borderRadius050);
56
+ border-bottom-left-radius: var(--borderRadius050);
57
+ `}
58
+
59
+ ${isEnd && (0, _styledComponents.css)`
60
+ border-top-right-radius: var(--borderRadius050);
61
+ border-bottom-right-radius: var(--borderRadius050);
62
+ `}
51
63
 
52
64
  ${(isMiddle || isEnd) && (0, _styledComponents.css)`
53
65
  margin-left: -1px;
@@ -121,12 +121,12 @@ const Pager = ({
121
121
  onPrevious(e);
122
122
  }
123
123
  }, [page, onPrevious]);
124
- const handleOnPagination = (0, _react.useCallback)(e => {
125
- setValue(e.target.value);
126
- setCurrentPageSize(+e.target.value);
127
- onPagination(1, +e.target.value, "page-select");
124
+ const handleOnPagination = (0, _react.useCallback)(selectedValue => {
125
+ setValue(selectedValue);
126
+ setCurrentPageSize(+selectedValue);
127
+ onPagination(1, +selectedValue, "page-select");
128
128
  }, [onPagination]);
129
- const handleKeyDown = (0, _react.useCallback)(e => _events.default.isEnterKey(e) && handleOnPagination(e), [handleOnPagination]);
129
+ const handleKeyDown = (0, _react.useCallback)(e => _events.default.isEnterKey(e) && handleOnPagination(e.target.value), [handleOnPagination]);
130
130
 
131
131
  const sizeSelector = () => {
132
132
  return /*#__PURE__*/_react.default.createElement(_pager.StyledSelectContainer, null, /*#__PURE__*/_react.default.createElement(_select.Select, {
@@ -51,6 +51,8 @@ const StyledPagerContainer = _styledComponents.default.div`
51
51
  }) => (0, _styledComponents.css)`
52
52
  border-width: 1px 1px 1px 1px;
53
53
  border-style: none solid solid solid;
54
+ border-bottom-left-radius: var(--borderRadius100);
55
+ border-bottom-right-radius: var(--borderRadius100);
54
56
  border-color: var(--colorsUtilityMajor100);
55
57
  background-color: ${variant === "alternate" ? "var(--colorsUtilityMajor040)" : "var(--colorsUtilityMajor010)"};
56
58
  `}
@@ -14,11 +14,13 @@ export interface PillProps extends StyledPillProps {
14
14
  /** Callback function for when the pill is clicked. */
15
15
  onClick?: (ev: React.MouseEvent<HTMLSpanElement>) => void;
16
16
  /** Callback function for when the remove icon is clicked. */
17
- onDelete?: (ev: React.KeyboardEvent<HTMLButtonElement> | React.MouseEvent<HTMLButtonElement>) => void;
17
+ onDelete?: (ev?: React.KeyboardEvent<HTMLButtonElement> | React.MouseEvent<HTMLButtonElement>) => void;
18
18
  /** Sets the type of pill in use. */
19
19
  pillRole?: "tag" | "status";
20
20
  /** Sets custom aria-label attribute on the remove button */
21
21
  ariaLabelOfRemoveButton?: string;
22
+ /** @private @ignore title attribute passed down to underlying element */
23
+ title?: string;
22
24
  }
23
25
  export declare const Pill: ({ wrapText, borderColor, colorVariant, children, fill, maxWidth, onClick, onDelete, pillRole, size, ariaLabelOfRemoveButton, ...rest }: PillProps) => JSX.Element;
24
26
  export default Pill;
@@ -262,6 +262,7 @@ Pill.propTypes = {
262
262
  "smallOverlay": _propTypes.default.number.isRequired
263
263
  })
264
264
  }),
265
+ "title": _propTypes.default.string,
265
266
  "wrapText": _propTypes.default.bool
266
267
  };
267
268
  var _default = Pill;
@@ -80,7 +80,6 @@ const StyledPill = _styledComponents.default.span`
80
80
  }
81
81
 
82
82
  return (0, _styledComponents.css)`
83
- border-radius: 12px;
84
83
  font-size: 10px;
85
84
  letter-spacing: 0.7px;
86
85
  font-weight: 600;
@@ -90,6 +89,7 @@ const StyledPill = _styledComponents.default.span`
90
89
  align-items: center;
91
90
  justify-content: center;
92
91
  border: 2px solid ${pillColor};
92
+ border-radius: var(--borderRadius025);
93
93
  height: auto;
94
94
  ${!wrapText && (0, _styledComponents.css)`
95
95
  white-space: nowrap;
@@ -135,7 +135,7 @@ const StyledPill = _styledComponents.default.span`
135
135
  ${isDeletable && (0, _styledComponents.css)`
136
136
  button {
137
137
  -webkit-appearance: none;
138
- border-radius: 0 6px 6px 0;
138
+ border-radius: var(--borderRadius000);
139
139
  border: none;
140
140
  bottom: 0;
141
141
  font-size: 100%;
@@ -150,6 +150,9 @@ const StyledPill = _styledComponents.default.span`
150
150
  outline: none;
151
151
  box-shadow: 0 0 0 3px var(--colorsSemanticFocus500);
152
152
  background-color: ${buttonFocusColor};
153
+ border-radius: var(--borderRadius000) var(--borderRadius025)
154
+ var(--borderRadius025) var(--borderRadius000);
155
+
153
156
  & {
154
157
  color: ${contentColor};
155
158
  }
@@ -195,7 +198,6 @@ const StyledPill = _styledComponents.default.span`
195
198
 
196
199
  button {
197
200
  padding: 0;
198
- border-radius: 0 8px 8px 0;
199
201
  line-height: 14px;
200
202
 
201
203
  ${addStyleToPillIcon("7px")}
@@ -204,12 +206,10 @@ const StyledPill = _styledComponents.default.span`
204
206
 
205
207
  ${size === "M" && (0, _styledComponents.css)`
206
208
  padding: 0 32px 0 11px;
207
- border-radius: 12px;
208
209
 
209
210
  button {
210
211
  width: 24px;
211
212
  padding: 0;
212
- border-radius: 0 10px 10px 0;
213
213
  line-height: 15px;
214
214
 
215
215
  ${addStyleToPillIcon("10px")}
@@ -218,12 +218,10 @@ const StyledPill = _styledComponents.default.span`
218
218
 
219
219
  ${size === "L" && (0, _styledComponents.css)`
220
220
  padding: 0 36px 0 15px;
221
- border-radius: 13px;
222
221
 
223
222
  button {
224
223
  width: 28px;
225
224
  padding: 0;
226
- border-radius: 0 11px 11px 0;
227
225
  line-height: 16px;
228
226
 
229
227
  ${addStyleToPillIcon("12px")}
@@ -232,12 +230,10 @@ const StyledPill = _styledComponents.default.span`
232
230
 
233
231
  ${size === "XL" && (0, _styledComponents.css)`
234
232
  padding: 0 41px 0 19px;
235
- border-radius: 15px;
236
233
 
237
234
  button {
238
235
  width: 32px;
239
236
  padding: 0;
240
- border-radius: 0 12px 12px 0;
241
237
  line-height: 18px;
242
238
 
243
239
  ${addStyleToPillIcon("13px")}
@@ -256,34 +252,28 @@ const StyledPill = _styledComponents.default.span`
256
252
 
257
253
  ${size === "M" && (0, _styledComponents.css)`
258
254
  padding: 0 11px;
259
- border-radius: 12px;
260
255
 
261
256
  button {
262
257
  width: 24px;
263
258
  padding: 0;
264
- border-radius: 0 8px 8px 0;
265
259
  }
266
260
  `}
267
261
 
268
262
  ${size === "L" && (0, _styledComponents.css)`
269
263
  padding: 0 15px;
270
- border-radius: 13px;
271
264
 
272
265
  button {
273
266
  width: 28px;
274
267
  padding: 0;
275
- border-radius: 0 10px 10px 0;
276
268
  }
277
269
  `}
278
270
 
279
271
  ${size === "XL" && (0, _styledComponents.css)`
280
272
  padding: 0 19px;
281
- border-radius: 15px;
282
273
 
283
274
  button {
284
275
  width: 32px;
285
276
  padding: 0;
286
- border-radius: 0 12px 12px 0;
287
277
  }
288
278
  `}
289
279
  `}
@@ -60,6 +60,7 @@ const StyledBlock = _styledComponents.default.div`
60
60
  isFocused
61
61
  }) => (0, _styledComponents.css)`
62
62
  box-sizing: border-box;
63
+ border-radius: var(--borderRadius100);
63
64
  display: flex;
64
65
  flex-direction: column;
65
66
  background-color: ${blockBackgrounds[variant]};
@@ -135,6 +136,8 @@ const StyledFooter = _styledComponents.default.div`
135
136
  softDelete
136
137
  }) => (0, _styledComponents.css)`
137
138
  background-color: var(--colorsUtilityMajor025);
139
+ border-bottom-left-radius: var(--borderRadius100);
140
+ border-bottom-right-radius: var(--borderRadius100);
138
141
  box-shadow: inset 0px 1px 1px 0 rgba(0, 0, 0, 0.1);
139
142
  color: var(--colorsUtilityYin090);
140
143
  padding: ${footerPaddings[size]};
@@ -195,6 +198,7 @@ const StyledEditAction = _styledComponents.default.a`
195
198
  display: flex;
196
199
  align-items: center;
197
200
  justify-content: center;
201
+ border-radius: var(--borderRadius100);
198
202
 
199
203
  ${_icon.default} {
200
204
  top: -2px;
@@ -252,6 +256,7 @@ const StyledDeleteButton = (0, _styledComponents.default)(_iconButton.default)`
252
256
  box-sizing: border-box;
253
257
  height: ${`${actionButtonSizes[size]}px`};
254
258
  width: ${`${actionButtonSizes[size]}px`};
259
+ border-radius: var(--borderRadius100);
255
260
 
256
261
  ${_icon.default} {
257
262
  top: -2px;
@@ -300,6 +305,7 @@ const StyledUndoButton = (0, _styledComponents.default)(_iconButton.default)`
300
305
  box-sizing: border-box;
301
306
  height: ${`${actionButtonSizes[size]}px`};
302
307
  width: ${`${actionButtonSizes[size]}px`};
308
+ border-radius: var(--borderRadius100);
303
309
 
304
310
  ${_icon.default} {
305
311
  top: -2px;
@@ -33,6 +33,7 @@ const PopoverContainerContentStyle = _styledComponents.default.div`
33
33
  ${_styledSystem.padding}
34
34
 
35
35
  background: var(--colorsUtilityYang100);
36
+ border-radius: var(--borderRadius100);
36
37
  box-shadow: var(--boxShadow100);
37
38
  min-width: 300px;
38
39
  position: absolute;
@@ -21,7 +21,7 @@ const PortraitGravatar = ({
21
21
  gravatarEmail,
22
22
  size,
23
23
  alt,
24
- shape = "square",
24
+ shape = "circle",
25
25
  errorCallback
26
26
  }) => {
27
27
  const gravatarSrc = () => {
@@ -24,7 +24,7 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
24
24
  const PortraitInitials = ({
25
25
  initials,
26
26
  size,
27
- shape = "square",
27
+ shape = "circle",
28
28
  darkBackground,
29
29
  alt
30
30
  }) => {
@@ -35,7 +35,7 @@ const Portrait = ({
35
35
  gravatar,
36
36
  iconType = "individual",
37
37
  initials,
38
- shape = "square",
38
+ shape = "circle",
39
39
  size = "M",
40
40
  src,
41
41
  onClick,
@@ -47,7 +47,7 @@ function stylingForShape({
47
47
  }) {
48
48
  let cssString = "overflow: hidden;";
49
49
  if (shape === "square") cssString += "border-radius: 0px;";
50
- if (shape === "circle") cssString += "border-radius: 50%;";
50
+ if (shape === "circle") cssString += "border-radius: var(--borderRadiusCircle);";
51
51
  return (0, _styledComponents.css)`
52
52
  ${cssString}
53
53
  `;
@@ -69,7 +69,6 @@ function stylingForIcon({
69
69
  return (0, _styledComponents.css)`
70
70
  background-color: ${backgroundColor};
71
71
  color: ${color};
72
-
73
72
  ::before {
74
73
  font-size: ${params === null || params === void 0 ? void 0 : params.iconDimensions}px;
75
74
  }
@@ -90,7 +89,6 @@ const StyledPortraitInitials = _styledComponents.default.div`
90
89
  ${stylingForSize}
91
90
  ${stylingForShape}
92
91
  outline: 1px solid var(--colorsUtilityMajor200);
93
-
94
92
  /* Styling for safari. This ensures that there is no outline on the component but that a border is still present
95
93
  to achieve the same styling as Chrome and Firefox */
96
94
  @media not all and (min-resolution: 0.001dpcm) {
@@ -47,7 +47,7 @@ const Profile = ({
47
47
  alt: getInitials(),
48
48
  initials: getInitials(),
49
49
  size: size,
50
- shape: "square",
50
+ shape: "circle",
51
51
  "data-element": "user-image"
52
52
  });
53
53
  }
@@ -73,7 +73,7 @@ const StyledProgressBar = _styledComponents.default.span`
73
73
  progress,
74
74
  error
75
75
  })};
76
- border-radius: 25px;
76
+ border-radius: var(--borderRadius400);
77
77
  overflow-x: hidden;
78
78
  height: ${getHeight(size)};
79
79
  width: 100%;
@@ -124,7 +124,7 @@ const InnerBar = _styledComponents.default.span`
124
124
  progress,
125
125
  error
126
126
  })};
127
- border-radius: 25px;
127
+ border-radius: var(--borderRadius400);
128
128
  width: calc(${length} * ${progress && progress / 100});
129
129
  min-width: 2px;
130
130
  height: ${getHeight(size)};
@@ -54,7 +54,7 @@ const RadioButtonStyle = (0, _styledComponents.default)(_checkbox.default)`
54
54
  }
55
55
 
56
56
  ${_checkableInputSvgWrapper.default}, svg {
57
- border-radius: 50%;
57
+ border-radius: var(--borderRadiusCircle);
58
58
  }
59
59
 
60
60
  ${_checkableInput.StyledCheckableInput},
@@ -29,6 +29,11 @@ const StyledSearchButton = _styledComponents.default.div`
29
29
  & ${_button.default} {
30
30
  background-color: var(--colorsActionMajor500);
31
31
  border-color: var(--colorsActionMajorTransparent);
32
+ border-bottom-left-radius: var(--borderRadius000);
33
+ border-top-left-radius: var(--borderRadius000);
34
+ border-bottom-right-radius: var(--borderRadius050);
35
+ border-top-right-radius: var(--borderRadius050);
36
+
32
37
  :hover {
33
38
  background: var(--colorsActionMajor600);
34
39
  border-color: var(--colorsActionMajorTransparent);
@@ -73,6 +73,7 @@ const StyledSearch = _styledComponents.default.div`
73
73
  }
74
74
  `}
75
75
 
76
+
76
77
  ${_input.default} {
77
78
  ::-moz-placeholder {
78
79
  color: var(--colorsUtilityYin055);
@@ -99,6 +100,12 @@ const StyledSearch = _styledComponents.default.div`
99
100
 
100
101
  ${_inputPresentation.default} {
101
102
  background-color: ${searchHasValue || isFocused ? "var(--colorsUtilityYang100)" : "transparent"};
103
+
104
+ ${showSearchButton && (0, _styledComponents.css)`
105
+ border-top-right-radius: var(--borderRadius000);
106
+ border-bottom-right-radius: var(--borderRadius000);
107
+ `}
108
+
102
109
  flex: 1;
103
110
  font-size: 14px;
104
111
  font-weight: 700;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ declare type SelectListContextProps = {
3
+ currentOptionsListIndex?: number;
4
+ multiselectValues?: (string | Record<string, unknown>)[];
5
+ };
6
+ declare const SelectListContext: React.Context<SelectListContextProps>;
7
+ export default SelectListContext;
@@ -0,0 +1,2 @@
1
+ export { default } from "./select-text.component";
2
+ export type { SelectTextProps } from "./select-text.component";
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "default", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _selectText.default;
10
+ }
11
+ });
12
+
13
+ var _selectText = _interopRequireDefault(require("./select-text.component"));
14
+
15
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "../../../../../esm/components/select/__internal__/select-text/index.js",
4
+ "main": "./index.js",
5
+ "types": "./index.d.ts"
6
+ }
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ export interface SelectTextProps {
3
+ /** If true the Component will be disabled */
4
+ disabled?: boolean;
5
+ /** Value to be displayed */
6
+ formattedValue?: string;
7
+ /** Label id passed from Select component */
8
+ labelId?: string;
9
+ /** If true, the list is displayed */
10
+ isOpen?: boolean;
11
+ /** Callback function for when the Select Textbox loses it's focus. */
12
+ onBlur?: (ev: React.FocusEvent<HTMLElement>) => void;
13
+ /** Callback function for when the component is clicked. */
14
+ onClick?: (ev: React.MouseEvent<HTMLElement>) => void;
15
+ /** Callback function for when the Select Textbox is focused. */
16
+ onFocus?: (ev: React.FocusEvent<HTMLElement>) => void;
17
+ /** Callback function for when the key is pressed when focused on Select Text. */
18
+ onKeyDown?: (ev: React.KeyboardEvent<HTMLElement>) => void;
19
+ /** Callback function for when the left mouse key is pressed when focused on Select Text. */
20
+ onMouseDown?: (ev: React.MouseEvent<HTMLElement>) => void;
21
+ /** Placeholder string to be displayed when formattedValue is empty */
22
+ placeholder?: string;
23
+ /** If true the Component will be read-only */
24
+ readOnly?: boolean;
25
+ /** If true the component has no border and a transparent background */
26
+ transparent?: boolean;
27
+ /** Id of the Select Text element */
28
+ textId?: string;
29
+ /** Component size */
30
+ size?: "small" | "medium" | "large";
31
+ }
32
+ declare const SelectText: ({ disabled, formattedValue, onClick, onKeyDown, onMouseDown, placeholder, readOnly, textId, transparent, size, }: SelectTextProps) => JSX.Element;
33
+ export default SelectText;