@qualtrics/ui-react 2.23.0 → 2.23.1-alpha.1

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 (940) hide show
  1. package/package.json +1 -1
  2. package/dist/__node_modules/style-inject/dist/style-inject.es.js +0 -28
  3. package/dist/__shared/cjs/index-10d6f3f3.js +0 -12476
  4. package/dist/__shared/cjs/index-7f78e01b.js +0 -2058
  5. package/dist/components/Accordion/Accordion.js +0 -90
  6. package/dist/components/Accordion/Accordion2.js +0 -8
  7. package/dist/components/Accordion/AccordionContext.js +0 -13
  8. package/dist/components/Accordion/AccordionHeader.js +0 -72
  9. package/dist/components/Accordion/AccordionPanel.js +0 -30
  10. package/dist/components/Accordion/AccordionSection.js +0 -40
  11. package/dist/components/Accordion/index.js +0 -4
  12. package/dist/components/Banner/Banner.css.js +0 -21
  13. package/dist/components/Banner/Banner.css.ts.vanilla.js +0 -8
  14. package/dist/components/Banner/Banner.js +0 -105
  15. package/dist/components/Banner/index.js +0 -1
  16. package/dist/components/BreakpointSwitch/Breakpoint.js +0 -16
  17. package/dist/components/BreakpointSwitch/BreakpointContext.js +0 -9
  18. package/dist/components/BreakpointSwitch/BreakpointSwitch.js +0 -34
  19. package/dist/components/BreakpointSwitch/index.js +0 -2
  20. package/dist/components/Button/Button.js +0 -8
  21. package/dist/components/Button/Button2.js +0 -51
  22. package/dist/components/Button/index.js +0 -1
  23. package/dist/components/ButtonGroup/ButtonGroup.js +0 -40
  24. package/dist/components/ButtonGroup/ButtonGroup2.js +0 -8
  25. package/dist/components/ButtonGroup/index.js +0 -1
  26. package/dist/components/Checkbox/Check.js +0 -18
  27. package/dist/components/Checkbox/Checkbox.js +0 -54
  28. package/dist/components/Checkbox/Checkbox2.js +0 -8
  29. package/dist/components/Checkbox/CheckboxField.js +0 -42
  30. package/dist/components/Checkbox/VisualCheckbox.js +0 -31
  31. package/dist/components/Checkbox/VisualCheckbox2.js +0 -8
  32. package/dist/components/Checkbox/index.js +0 -2
  33. package/dist/components/ColorPicker/Alpha.js +0 -106
  34. package/dist/components/ColorPicker/ColorPicker.js +0 -306
  35. package/dist/components/ColorPicker/ColorPicker2.js +0 -8
  36. package/dist/components/ColorPicker/ColorPickerFlyout.js +0 -100
  37. package/dist/components/ColorPicker/ColorPickerFlyoutInputs.js +0 -204
  38. package/dist/components/ColorPicker/Hue.js +0 -107
  39. package/dist/components/ColorPicker/Palette.js +0 -137
  40. package/dist/components/ColorPicker/Saturation.js +0 -129
  41. package/dist/components/ColorPicker/index.js +0 -1
  42. package/dist/components/ColorPicker/utils/calculateTargetId.js +0 -43
  43. package/dist/components/ColorPicker/utils/defaultColorPalette.js +0 -57
  44. package/dist/components/ColorPicker/utils/getMousePosition.js +0 -20
  45. package/dist/components/ColorPicker/utils/hexToHsv.js +0 -44
  46. package/dist/components/ColorPicker/utils/hexToRgb.js +0 -12
  47. package/dist/components/ColorPicker/utils/hexToRgbaString.js +0 -10
  48. package/dist/components/ColorPicker/utils/hsvToHex.js +0 -58
  49. package/dist/components/ColorPicker/utils/index.js +0 -9
  50. package/dist/components/ColorPicker/utils/rgbToHex.js +0 -13
  51. package/dist/components/ColorPicker/utils/validateHex.js +0 -43
  52. package/dist/components/Combobox/Combobox.js +0 -455
  53. package/dist/components/Combobox/Combobox2.js +0 -8
  54. package/dist/components/Combobox/ComboboxContext.js +0 -9
  55. package/dist/components/Combobox/ComboboxHeader.js +0 -21
  56. package/dist/components/Combobox/ComboboxIcon.js +0 -47
  57. package/dist/components/Combobox/ComboboxInput.js +0 -90
  58. package/dist/components/Combobox/ComboboxList.js +0 -57
  59. package/dist/components/Combobox/ComboboxOption.js +0 -25
  60. package/dist/components/Combobox/index.js +0 -5
  61. package/dist/components/ConfigPane/ConfigPane.js +0 -176
  62. package/dist/components/ConfigPane/ConfigPane2.js +0 -8
  63. package/dist/components/ConfigPane/constants.js +0 -9
  64. package/dist/components/ConfigPane/index.js +0 -1
  65. package/dist/components/Divider/Divider.js +0 -17
  66. package/dist/components/Divider/Divider2.js +0 -8
  67. package/dist/components/Divider/index.js +0 -1
  68. package/dist/components/Dropdown/ChildIndexContext/index.js +0 -34
  69. package/dist/components/Dropdown/ChildIndexContext/reach-descendants.js +0 -178
  70. package/dist/components/Dropdown/Dropdown.js +0 -285
  71. package/dist/components/Dropdown/Dropdown2.js +0 -8
  72. package/dist/components/Dropdown/DropdownButton.js +0 -161
  73. package/dist/components/Dropdown/DropdownContext.js +0 -9
  74. package/dist/components/Dropdown/DropdownHeader.js +0 -32
  75. package/dist/components/Dropdown/DropdownHeaderContext.js +0 -9
  76. package/dist/components/Dropdown/DropdownList.js +0 -106
  77. package/dist/components/Dropdown/DropdownOption.js +0 -112
  78. package/dist/components/Dropdown/DropdownSearch.js +0 -108
  79. package/dist/components/Dropdown/index.js +0 -5
  80. package/dist/components/FilePicker/FilePicker.js +0 -119
  81. package/dist/components/FilePicker/FilePicker2.js +0 -8
  82. package/dist/components/FilePicker/index.js +0 -1
  83. package/dist/components/FormField/Caption.js +0 -8
  84. package/dist/components/FormField/ErrorText.js +0 -25
  85. package/dist/components/FormField/FormField.js +0 -64
  86. package/dist/components/FormField/FormField2.js +0 -8
  87. package/dist/components/FormField/FormFieldContext.js +0 -40
  88. package/dist/components/FormField/HelperText.js +0 -19
  89. package/dist/components/FormField/ReadOnlyText.js +0 -28
  90. package/dist/components/FormField/index.js +0 -3
  91. package/dist/components/FullScreenTakeover/FullScreenTakeover.js +0 -79
  92. package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +0 -8
  93. package/dist/components/FullScreenTakeover/index.js +0 -1
  94. package/dist/components/Icon/Icon.js +0 -52
  95. package/dist/components/Icon/IconTypes.js +0 -499
  96. package/dist/components/Icon/index.js +0 -2
  97. package/dist/components/IconButton/IconButton.js +0 -58
  98. package/dist/components/IconButton/IconButton2.js +0 -8
  99. package/dist/components/IconButton/index.js +0 -3
  100. package/dist/components/InlineInput/InlineInput.js +0 -131
  101. package/dist/components/InlineInput/InlineInput2.js +0 -8
  102. package/dist/components/InlineInput/index.js +0 -1
  103. package/dist/components/Input/Input.js +0 -59
  104. package/dist/components/Input/Input2.js +0 -8
  105. package/dist/components/Input/InputField.js +0 -57
  106. package/dist/components/Input/index.js +0 -2
  107. package/dist/components/InputGroup/InputGroup.js +0 -33
  108. package/dist/components/InputGroup/InputGroup2.js +0 -8
  109. package/dist/components/InputGroup/InputGroupAddon.js +0 -23
  110. package/dist/components/InputGroup/InputGroupProvider.js +0 -33
  111. package/dist/components/InputGroup/index.js +0 -2
  112. package/dist/components/Label/Label.js +0 -27
  113. package/dist/components/Label/Label2.js +0 -8
  114. package/dist/components/Label/index.js +0 -1
  115. package/dist/components/Link/Link.js +0 -25
  116. package/dist/components/Link/Link2.js +0 -8
  117. package/dist/components/Link/index.js +0 -1
  118. package/dist/components/LoadingSpinner/LoadingSpinner.js +0 -51
  119. package/dist/components/LoadingSpinner/LoadingSpinner2.js +0 -8
  120. package/dist/components/LoadingSpinner/index.js +0 -1
  121. package/dist/components/LogicEditor/ConditionContainer.js +0 -33
  122. package/dist/components/LogicEditor/ConditionSet.js +0 -182
  123. package/dist/components/LogicEditor/Controls.js +0 -85
  124. package/dist/components/LogicEditor/LogicEditor.js +0 -115
  125. package/dist/components/LogicEditor/LogicEditor2.js +0 -8
  126. package/dist/components/LogicEditor/LogicEditorContext.js +0 -9
  127. package/dist/components/LogicEditor/index.js +0 -1
  128. package/dist/components/LogicEditor/utils.js +0 -140
  129. package/dist/components/Modal/Modal.js +0 -270
  130. package/dist/components/Modal/Modal2.js +0 -8
  131. package/dist/components/Modal/ModalContext.js +0 -9
  132. package/dist/components/Modal/index.js +0 -1
  133. package/dist/components/NewMenu/BaseMenu.js +0 -429
  134. package/dist/components/NewMenu/Menu/Menu.js +0 -24
  135. package/dist/components/NewMenu/Menu/index.js +0 -1
  136. package/dist/components/NewMenu/NewMenu.js +0 -8
  137. package/dist/components/NewMenu/SelectMenu/SelectMenu.js +0 -27
  138. package/dist/components/NewMenu/SelectMenu/index.js +0 -1
  139. package/dist/components/NewMenu/index.js +0 -3
  140. package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +0 -169
  141. package/dist/components/NewMenu/parts/ArrowNav/index.js +0 -1
  142. package/dist/components/NewMenu/parts/MenuAnchor.js +0 -55
  143. package/dist/components/NewMenu/parts/MenuContext.js +0 -9
  144. package/dist/components/NewMenu/parts/MenuItem.js +0 -64
  145. package/dist/components/NewMenu/parts/MenuSearchBox.js +0 -34
  146. package/dist/components/NewMenu/parts/MenuSpinner.js +0 -13
  147. package/dist/components/NewMenu/parts/SubmenuAnchor.js +0 -25
  148. package/dist/components/NewMenu/parts/index.js +0 -7
  149. package/dist/components/NumberStepper/NumberStepper.js +0 -284
  150. package/dist/components/NumberStepper/NumberStepper2.js +0 -8
  151. package/dist/components/NumberStepper/NumberStepperContext.js +0 -9
  152. package/dist/components/NumberStepper/NumberStepperDecrement.js +0 -65
  153. package/dist/components/NumberStepper/NumberStepperIncrement.js +0 -65
  154. package/dist/components/NumberStepper/NumberStepperInput.js +0 -136
  155. package/dist/components/NumberStepper/index.js +0 -4
  156. package/dist/components/PageLayout/MainContent.js +0 -17
  157. package/dist/components/PageLayout/PageContainer.js +0 -17
  158. package/dist/components/PageLayout/PageHeader.js +0 -17
  159. package/dist/components/PageLayout/PageLayout.js +0 -8
  160. package/dist/components/PageLayout/index.js +0 -3
  161. package/dist/components/Pagination/Pagination.js +0 -87
  162. package/dist/components/Pagination/Pagination2.js +0 -8
  163. package/dist/components/Pagination/PaginationContext.js +0 -9
  164. package/dist/components/Pagination/PaginationNextButton.js +0 -67
  165. package/dist/components/Pagination/PaginationPageInput.js +0 -125
  166. package/dist/components/Pagination/PaginationPreviousButton.js +0 -66
  167. package/dist/components/Pagination/index.js +0 -4
  168. package/dist/components/Popover/Popover.js +0 -126
  169. package/dist/components/Popover/Popover2.js +0 -8
  170. package/dist/components/Popover/index.js +0 -1
  171. package/dist/components/QuickSearch/QuickSearch.js +0 -66
  172. package/dist/components/QuickSearch/QuickSearch2.js +0 -8
  173. package/dist/components/QuickSearch/QuickSearchInput.js +0 -135
  174. package/dist/components/QuickSearch/index.js +0 -1
  175. package/dist/components/Radio/Radio.js +0 -61
  176. package/dist/components/Radio/Radio2.js +0 -8
  177. package/dist/components/Radio/RadioGroup.js +0 -34
  178. package/dist/components/Radio/RadioGroupContext.js +0 -9
  179. package/dist/components/Radio/RadioOption.js +0 -36
  180. package/dist/components/Radio/index.js +0 -3
  181. package/dist/components/SearchInput/SearchInput.js +0 -113
  182. package/dist/components/SearchInput/SearchInput2.js +0 -8
  183. package/dist/components/SearchInput/index.js +0 -3
  184. package/dist/components/SidebarNav/ExpandCollapseButton.js +0 -52
  185. package/dist/components/SidebarNav/SidebarNav.js +0 -69
  186. package/dist/components/SidebarNav/SidebarNav2.js +0 -8
  187. package/dist/components/SidebarNav/SidebarNavContext.js +0 -9
  188. package/dist/components/SidebarNav/SidebarNavLink.js +0 -59
  189. package/dist/components/SidebarNav/constants.js +0 -9
  190. package/dist/components/SidebarNav/index.js +0 -2
  191. package/dist/components/Slider/RangeSlider.js +0 -139
  192. package/dist/components/Slider/Slider.js +0 -137
  193. package/dist/components/Slider/Slider2.js +0 -8
  194. package/dist/components/Slider/SliderButton.js +0 -80
  195. package/dist/components/Slider/index.js +0 -2
  196. package/dist/components/Switch/Switch.js +0 -54
  197. package/dist/components/Switch/Switch2.js +0 -8
  198. package/dist/components/Switch/SwitchField.js +0 -42
  199. package/dist/components/Switch/index.js +0 -2
  200. package/dist/components/Table/Table.js +0 -18
  201. package/dist/components/Table/Table2.js +0 -8
  202. package/dist/components/Table/TableBody.js +0 -18
  203. package/dist/components/Table/TableCell.js +0 -18
  204. package/dist/components/Table/TableHead.js +0 -18
  205. package/dist/components/Table/TableHeaderCell.js +0 -18
  206. package/dist/components/Table/TableRow.js +0 -18
  207. package/dist/components/Table/index.js +0 -6
  208. package/dist/components/Tabs/Tab.js +0 -51
  209. package/dist/components/Tabs/TabContextProvider.js +0 -33
  210. package/dist/components/Tabs/TabList.js +0 -108
  211. package/dist/components/Tabs/TabPanel.js +0 -35
  212. package/dist/components/Tabs/TabPanels.js +0 -19
  213. package/dist/components/Tabs/Tabs.js +0 -37
  214. package/dist/components/Tabs/Tabs2.js +0 -8
  215. package/dist/components/Tabs/index.js +0 -5
  216. package/dist/components/Tooltip/Tooltip.js +0 -237
  217. package/dist/components/Tooltip/Tooltip2.js +0 -8
  218. package/dist/components/Tooltip/index.js +0 -1
  219. package/dist/components/UIProvider/PortalTargetContext.js +0 -19
  220. package/dist/components/UIProvider/UIProvider.js +0 -19
  221. package/dist/components/UIProvider/index.js +0 -2
  222. package/dist/components/deprecated_ColorPicker/Alpha.js +0 -90
  223. package/dist/components/deprecated_ColorPicker/Color.js +0 -275
  224. package/dist/components/deprecated_ColorPicker/ColorPicker.js +0 -128
  225. package/dist/components/deprecated_ColorPicker/ColorPicker2.js +0 -8
  226. package/dist/components/deprecated_ColorPicker/DEFAULT_SWATCH_COLORS.js +0 -4
  227. package/dist/components/deprecated_ColorPicker/HexInput.js +0 -66
  228. package/dist/components/deprecated_ColorPicker/Hue.js +0 -87
  229. package/dist/components/deprecated_ColorPicker/Saturation.js +0 -120
  230. package/dist/components/deprecated_ColorPicker/Swatch.js +0 -30
  231. package/dist/components/deprecated_ColorPicker/index.js +0 -4
  232. package/dist/components/deprecated_ColorPicker/isMouseEvent.js +0 -5
  233. package/dist/components/deprecated_ColorPicker/useMouseDrag.js +0 -24
  234. package/dist/components/deprecated_NumberStepper/NumberStepper.js +0 -195
  235. package/dist/components/deprecated_NumberStepper/NumberStepper2.js +0 -8
  236. package/dist/components/deprecated_NumberStepper/NumberStepperContext.js +0 -9
  237. package/dist/components/deprecated_NumberStepper/NumberStepperDecrement.js +0 -71
  238. package/dist/components/deprecated_NumberStepper/NumberStepperIncrement.js +0 -71
  239. package/dist/components/deprecated_NumberStepper/NumberStepperInput.js +0 -147
  240. package/dist/components/deprecated_NumberStepper/index.js +0 -6
  241. package/dist/components/deprecated_Tabs/Tab.js +0 -37
  242. package/dist/components/deprecated_Tabs/TabContextProvider.js +0 -9
  243. package/dist/components/deprecated_Tabs/Tabs.js +0 -131
  244. package/dist/components/deprecated_Tabs/Tabs2.js +0 -8
  245. package/dist/components/deprecated_Tabs/index.js +0 -4
  246. package/dist/components/deprecated_Toolbar/IconButtonWithLabel.js +0 -26
  247. package/dist/components/deprecated_Toolbar/Toolbar.js +0 -44
  248. package/dist/components/deprecated_Toolbar/Toolbar2.js +0 -8
  249. package/dist/components/deprecated_Toolbar/ToolbarContext.js +0 -9
  250. package/dist/components/deprecated_Toolbar/ToolbarPanel.js +0 -46
  251. package/dist/components/deprecated_Toolbar/ToolbarPanels.js +0 -140
  252. package/dist/components/deprecated_Toolbar/ToolbarTab.js +0 -141
  253. package/dist/components/deprecated_Toolbar/ToolbarTabs.js +0 -150
  254. package/dist/components/deprecated_Toolbar/index.js +0 -7
  255. package/dist/components/index.js +0 -43
  256. package/dist/hooks/index.js +0 -19
  257. package/dist/hooks/useBreakpoints/index.js +0 -1
  258. package/dist/hooks/useBreakpoints/useBreakpoints.js +0 -46
  259. package/dist/hooks/useClickOutside/index.js +0 -1
  260. package/dist/hooks/useClickOutside/useClickOutside.js +0 -30
  261. package/dist/hooks/useClickOutsidePortals/index.js +0 -1
  262. package/dist/hooks/useClickOutsidePortals/useClickOutsidePortals.js +0 -34
  263. package/dist/hooks/useControllableState/index.js +0 -1
  264. package/dist/hooks/useControllableState/useControllableState.js +0 -88
  265. package/dist/hooks/useDidUpdate/index.js +0 -1
  266. package/dist/hooks/useDidUpdate/useDidUpdate.js +0 -30
  267. package/dist/hooks/useEventCallback/index.js +0 -1
  268. package/dist/hooks/useEventCallback/useEventCallback.js +0 -22
  269. package/dist/hooks/useEventListener/index.js +0 -1
  270. package/dist/hooks/useEventListener/useEventListener.js +0 -40
  271. package/dist/hooks/useFocusSequence/index.js +0 -1
  272. package/dist/hooks/useFocusSequence/useFocusSequence.js +0 -123
  273. package/dist/hooks/useId/index.js +0 -1
  274. package/dist/hooks/useId/useId.js +0 -14
  275. package/dist/hooks/useIsFocused/index.js +0 -1
  276. package/dist/hooks/useIsFocused/useIsFocused.js +0 -17
  277. package/dist/hooks/useIsHovered/index.js +0 -1
  278. package/dist/hooks/useIsHovered/useIsHovered.js +0 -17
  279. package/dist/hooks/useIsTruncated/index.js +0 -1
  280. package/dist/hooks/useIsTruncated/useIsTruncated.js +0 -40
  281. package/dist/hooks/useLatest/index.js +0 -1
  282. package/dist/hooks/useLatest/useLatest.js +0 -16
  283. package/dist/hooks/useMounted/index.js +0 -1
  284. package/dist/hooks/useMounted/useMounted.js +0 -20
  285. package/dist/hooks/useMouseDrag/index.js +0 -1
  286. package/dist/hooks/useMouseDrag/useMouseDrag.js +0 -29
  287. package/dist/hooks/useOverlay/index.js +0 -1
  288. package/dist/hooks/useOverlay/useOverlay.js +0 -68
  289. package/dist/hooks/useOverlay/useOverlay2.js +0 -8
  290. package/dist/hooks/usePrevious/index.js +0 -1
  291. package/dist/hooks/usePrevious/usePrevious.js +0 -16
  292. package/dist/hooks/useResponsiveValue/index.js +0 -1
  293. package/dist/hooks/useResponsiveValue/useResponsiveValue.js +0 -19
  294. package/dist/hooks/useSSRLayoutEffect/index.js +0 -1
  295. package/dist/hooks/useSSRLayoutEffect/useSSRLayoutEffect.js +0 -10
  296. package/dist/hooks/useScreenReaderAnnouncement/index.js +0 -1
  297. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement.js +0 -72
  298. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +0 -8
  299. package/dist/icons/Icon.js +0 -8
  300. package/dist/icons/components/ABCIcon.js +0 -6
  301. package/dist/icons/components/AIIcon.js +0 -6
  302. package/dist/icons/components/AccessibilityIcon.js +0 -6
  303. package/dist/icons/components/AccountIcon.js +0 -6
  304. package/dist/icons/components/AccountsTableIcon.js +0 -6
  305. package/dist/icons/components/ActionPlanningIcon.js +0 -6
  306. package/dist/icons/components/ActiveIcon.js +0 -6
  307. package/dist/icons/components/AddIcon.js +0 -6
  308. package/dist/icons/components/AddItemIcon.js +0 -6
  309. package/dist/icons/components/AddonsIcon.js +0 -6
  310. package/dist/icons/components/AdminGearsIcon.js +0 -6
  311. package/dist/icons/components/AgentLeftIcon.js +0 -6
  312. package/dist/icons/components/AgentPerformanceIcon.js +0 -6
  313. package/dist/icons/components/AgentRightIcon.js +0 -6
  314. package/dist/icons/components/AggregateFunctionIcon.js +0 -6
  315. package/dist/icons/components/AlignImageBottomIcon.js +0 -6
  316. package/dist/icons/components/AlignImageCenterIcon.js +0 -6
  317. package/dist/icons/components/AlignImageLeftIcon.js +0 -6
  318. package/dist/icons/components/AlignImageMiddleIcon.js +0 -6
  319. package/dist/icons/components/AlignImageRightIcon.js +0 -6
  320. package/dist/icons/components/AlignImageTopIcon.js +0 -6
  321. package/dist/icons/components/AlignTextBottomIcon.js +0 -6
  322. package/dist/icons/components/AlignTextLeftIcon.js +0 -6
  323. package/dist/icons/components/AlignTextRightIcon.js +0 -6
  324. package/dist/icons/components/AlignTextTopIcon.js +0 -6
  325. package/dist/icons/components/AnimationIcon.js +0 -6
  326. package/dist/icons/components/AreaChartIcon.js +0 -6
  327. package/dist/icons/components/ArrayIcon.js +0 -6
  328. package/dist/icons/components/ArrowDownIcon.js +0 -6
  329. package/dist/icons/components/ArrowLeftIcon.js +0 -6
  330. package/dist/icons/components/ArrowRightIcon.js +0 -6
  331. package/dist/icons/components/ArrowUpIcon.js +0 -6
  332. package/dist/icons/components/AssignUserIcon.js +0 -6
  333. package/dist/icons/components/AutomatedSetupIcon.js +0 -6
  334. package/dist/icons/components/BarChartIcon.js +0 -6
  335. package/dist/icons/components/BellIcon.js +0 -6
  336. package/dist/icons/components/BellSnoozeIcon.js +0 -6
  337. package/dist/icons/components/BenchmarkGraphIcon.js +0 -6
  338. package/dist/icons/components/BinderClipIcon.js +0 -6
  339. package/dist/icons/components/BinocularsIcon.js +0 -6
  340. package/dist/icons/components/BlogIcon.js +0 -6
  341. package/dist/icons/components/BookmarkFillIcon.js +0 -6
  342. package/dist/icons/components/BookmarkIcon.js +0 -6
  343. package/dist/icons/components/BooksIcon.js +0 -6
  344. package/dist/icons/components/BooleanIcon.js +0 -6
  345. package/dist/icons/components/BorderColorElement1Icon.js +0 -6
  346. package/dist/icons/components/BorderColorIcon.js +0 -6
  347. package/dist/icons/components/BranchContinueIcon.js +0 -6
  348. package/dist/icons/components/BranchEndIcon.js +0 -6
  349. package/dist/icons/components/BranchExtensionIcon.js +0 -6
  350. package/dist/icons/components/BubbleCashIcon.js +0 -6
  351. package/dist/icons/components/BubbleChartIcon.js +0 -6
  352. package/dist/icons/components/BubbleClockIcon.js +0 -6
  353. package/dist/icons/components/BubbleDotsIcon.js +0 -6
  354. package/dist/icons/components/BubbleHelpIcon.js +0 -6
  355. package/dist/icons/components/BubbleIcon.js +0 -6
  356. package/dist/icons/components/BubbleInfoIcon.js +0 -6
  357. package/dist/icons/components/BubbleTranslateIcon.js +0 -6
  358. package/dist/icons/components/BugsIcon.js +0 -6
  359. package/dist/icons/components/BusinessImpactIcon.js +0 -6
  360. package/dist/icons/components/ButtonIcon.js +0 -6
  361. package/dist/icons/components/BxLogoIcon.js +0 -6
  362. package/dist/icons/components/CalendarAddIcon.js +0 -6
  363. package/dist/icons/components/CalendarCheckIcon.js +0 -6
  364. package/dist/icons/components/CalendarIcon.js +0 -6
  365. package/dist/icons/components/CameraIcon.js +0 -6
  366. package/dist/icons/components/CaretDownIcon.js +0 -6
  367. package/dist/icons/components/CaretLeftIcon.js +0 -6
  368. package/dist/icons/components/CaretRightIcon.js +0 -6
  369. package/dist/icons/components/CaretUpIcon.js +0 -6
  370. package/dist/icons/components/CarryForwardChoicesIcon.js +0 -6
  371. package/dist/icons/components/CatalogIcon.js +0 -6
  372. package/dist/icons/components/CenterXIcon.js +0 -6
  373. package/dist/icons/components/CenterYIcon.js +0 -6
  374. package/dist/icons/components/Chart19Icon.js +0 -6
  375. package/dist/icons/components/ChartImpactIcon.js +0 -6
  376. package/dist/icons/components/ChartParetoIcon.js +0 -6
  377. package/dist/icons/components/ChartPolarIcon.js +0 -6
  378. package/dist/icons/components/CheckIcon.js +0 -6
  379. package/dist/icons/components/ChevronDownIcon.js +0 -6
  380. package/dist/icons/components/ChevronLeftIcon.js +0 -6
  381. package/dist/icons/components/ChevronRightIcon.js +0 -6
  382. package/dist/icons/components/ChevronSetIcon.js +0 -6
  383. package/dist/icons/components/ChevronSkipBackIcon.js +0 -6
  384. package/dist/icons/components/ChevronSkipForwardIcon.js +0 -6
  385. package/dist/icons/components/ChevronUpIcon.js +0 -6
  386. package/dist/icons/components/ClassIcon.js +0 -6
  387. package/dist/icons/components/ClearFormattingIcon.js +0 -6
  388. package/dist/icons/components/ClipboardIcon.js +0 -6
  389. package/dist/icons/components/ClockIcon.js +0 -6
  390. package/dist/icons/components/CloseCaptioningIcon.js +0 -6
  391. package/dist/icons/components/CloseIcon.js +0 -6
  392. package/dist/icons/components/ClosePanelLeftIcon.js +0 -6
  393. package/dist/icons/components/ClosePanelRightIcon.js +0 -6
  394. package/dist/icons/components/CloudyIcon.js +0 -6
  395. package/dist/icons/components/CoachingPrioritiesIcon.js +0 -6
  396. package/dist/icons/components/CodeBracketsIcon.js +0 -6
  397. package/dist/icons/components/CoffeeIcon.js +0 -6
  398. package/dist/icons/components/ColumnFilterIcon.js +0 -6
  399. package/dist/icons/components/ColumnsIcon.js +0 -6
  400. package/dist/icons/components/CommentsIcon.js +0 -6
  401. package/dist/icons/components/ConditionIcon.js +0 -6
  402. package/dist/icons/components/ConstantSumIcon.js +0 -6
  403. package/dist/icons/components/ContactIcon.js +0 -6
  404. package/dist/icons/components/ContactListIcon.js +0 -6
  405. package/dist/icons/components/ContactsIcon.js +0 -6
  406. package/dist/icons/components/ConversationAgentIcon.js +0 -6
  407. package/dist/icons/components/ConversationCustomerIcon.js +0 -6
  408. package/dist/icons/components/ConversationSilenceIcon.js +0 -6
  409. package/dist/icons/components/ConversionIcon.js +0 -6
  410. package/dist/icons/components/CopyIcon.js +0 -6
  411. package/dist/icons/components/CoreXMIcon.js +0 -6
  412. package/dist/icons/components/CreditCardIcon.js +0 -6
  413. package/dist/icons/components/CrossAnalyticsIcon.js +0 -6
  414. package/dist/icons/components/CustomMetricIcon.js +0 -6
  415. package/dist/icons/components/CustomerLeftIcon.js +0 -6
  416. package/dist/icons/components/CustomerRightIcon.js +0 -6
  417. package/dist/icons/components/CxLogoIcon.js +0 -6
  418. package/dist/icons/components/DashboardIcon.js +0 -6
  419. package/dist/icons/components/DataAnalysisIcon.js +0 -6
  420. package/dist/icons/components/DataSourceIcon.js +0 -6
  421. package/dist/icons/components/DatabaseIcon.js +0 -6
  422. package/dist/icons/components/DeadClickIcon.js +0 -6
  423. package/dist/icons/components/DecimalIcon.js +0 -6
  424. package/dist/icons/components/DefaultChoiceIcon.js +0 -6
  425. package/dist/icons/components/DeltaIcon.js +0 -6
  426. package/dist/icons/components/DeniedIcon.js +0 -6
  427. package/dist/icons/components/DescriptiveTextIcon.js +0 -6
  428. package/dist/icons/components/DesktopIcon.js +0 -6
  429. package/dist/icons/components/DetectedIcon.js +0 -6
  430. package/dist/icons/components/DiamondIcon.js +0 -6
  431. package/dist/icons/components/DirectoryIcon.js +0 -6
  432. package/dist/icons/components/DisplayLogicIcon.js +0 -6
  433. package/dist/icons/components/DistributionSummaryIcon.js +0 -6
  434. package/dist/icons/components/DocumentAlertIcon.js +0 -6
  435. package/dist/icons/components/DogIcon.js +0 -6
  436. package/dist/icons/components/DonutChartIcon.js +0 -6
  437. package/dist/icons/components/DownloadIcon.js +0 -6
  438. package/dist/icons/components/DownvoteFilledIcon.js +0 -6
  439. package/dist/icons/components/DownvoteIcon.js +0 -6
  440. package/dist/icons/components/DraftIcon.js +0 -6
  441. package/dist/icons/components/DragAndDropIcon.js +0 -6
  442. package/dist/icons/components/DragIcon.js +0 -6
  443. package/dist/icons/components/DrilldownIcon.js +0 -6
  444. package/dist/icons/components/DropIcon.js +0 -6
  445. package/dist/icons/components/EXCOVIDReturnToWorkIcon.js +0 -6
  446. package/dist/icons/components/EXCOVIDSolutionIcon.js +0 -6
  447. package/dist/icons/components/EditorGenericIcon.js +0 -6
  448. package/dist/icons/components/EffortEasyIcon.js +0 -6
  449. package/dist/icons/components/EffortHardIcon.js +0 -6
  450. package/dist/icons/components/EffortIcon.js +0 -6
  451. package/dist/icons/components/EffortMixedIcon.js +0 -6
  452. package/dist/icons/components/EffortNegativeIcon.js +0 -6
  453. package/dist/icons/components/EffortNeutralIcon.js +0 -6
  454. package/dist/icons/components/EffortPositiveIcon.js +0 -6
  455. package/dist/icons/components/EffortVeryEasyIcon.js +0 -6
  456. package/dist/icons/components/EffortVeryHardIcon.js +0 -6
  457. package/dist/icons/components/EllipsisHorizontalIcon.js +0 -6
  458. package/dist/icons/components/EllipsisVerticalIcon.js +0 -6
  459. package/dist/icons/components/EmojiColorAngryIcon.js +0 -6
  460. package/dist/icons/components/EmojiColorHappiestIcon.js +0 -6
  461. package/dist/icons/components/EmojiColorHappyIcon.js +0 -6
  462. package/dist/icons/components/EmojiColorNotGreatIcon.js +0 -6
  463. package/dist/icons/components/EmojiColorOKIcon.js +0 -6
  464. package/dist/icons/components/EmojiColorPrettyGoodIcon.js +0 -6
  465. package/dist/icons/components/EmojiColorSadIcon.js +0 -6
  466. package/dist/icons/components/EmojiColorUnhappyIcon.js +0 -6
  467. package/dist/icons/components/EmojiMonoAngryIcon.js +0 -6
  468. package/dist/icons/components/EmojiMonoHappiestIcon.js +0 -6
  469. package/dist/icons/components/EmojiMonoHappyIcon.js +0 -6
  470. package/dist/icons/components/EmojiMonoNotGreatIcon.js +0 -6
  471. package/dist/icons/components/EmojiMonoOKIcon.js +0 -6
  472. package/dist/icons/components/EmojiMonoPrettyGoodIcon.js +0 -6
  473. package/dist/icons/components/EmojiMonoUnhappyIcon.js +0 -6
  474. package/dist/icons/components/Employee360Icon.js +0 -6
  475. package/dist/icons/components/EmployeeAdHocIcon.js +0 -6
  476. package/dist/icons/components/EmployeeEngagementIcon.js +0 -6
  477. package/dist/icons/components/EmployeeLifecycleIcon.js +0 -6
  478. package/dist/icons/components/EmployeePulseIcon.js +0 -6
  479. package/dist/icons/components/EmptyBoxIcon.js +0 -6
  480. package/dist/icons/components/EnvelopeClosedIcon.js +0 -6
  481. package/dist/icons/components/EnvelopeOpenedIcon.js +0 -6
  482. package/dist/icons/components/EnvelopeOptedOutIcon.js +0 -6
  483. package/dist/icons/components/ErrorClickIcon.js +0 -6
  484. package/dist/icons/components/ErrorIcon.js +0 -6
  485. package/dist/icons/components/EventTriggerIcon.js +0 -6
  486. package/dist/icons/components/ExLogoIcon.js +0 -6
  487. package/dist/icons/components/ExampleProjectIcon.js +0 -6
  488. package/dist/icons/components/ExcludeIcon.js +0 -6
  489. package/dist/icons/components/ExclusiveAnswerIcon.js +0 -6
  490. package/dist/icons/components/ExternalLinkIcon.js +0 -6
  491. package/dist/icons/components/EyeDropperIcon.js +0 -6
  492. package/dist/icons/components/FastForwardIcon.js +0 -6
  493. package/dist/icons/components/FastReplyIcon.js +0 -6
  494. package/dist/icons/components/FeedbackIcon.js +0 -6
  495. package/dist/icons/components/FileAudioIcon.js +0 -6
  496. package/dist/icons/components/FileExcelIcon.js +0 -6
  497. package/dist/icons/components/FileIcon.js +0 -6
  498. package/dist/icons/components/FilePdfIcon.js +0 -6
  499. package/dist/icons/components/FilterIcon.js +0 -6
  500. package/dist/icons/components/FingerprintIcon.js +0 -6
  501. package/dist/icons/components/FireIcon.js +0 -6
  502. package/dist/icons/components/FlagIcon.js +0 -6
  503. package/dist/icons/components/FolderFullIcon.js +0 -6
  504. package/dist/icons/components/FolderIcon.js +0 -6
  505. package/dist/icons/components/FolderOpenFullIcon.js +0 -6
  506. package/dist/icons/components/FolderOpenIcon.js +0 -6
  507. package/dist/icons/components/FontSizeIcon.js +0 -6
  508. package/dist/icons/components/FormFieldIcon.js +0 -6
  509. package/dist/icons/components/GalleryIcon.js +0 -6
  510. package/dist/icons/components/GaugeChartIcon.js +0 -6
  511. package/dist/icons/components/GlobeIcon.js +0 -6
  512. package/dist/icons/components/GraphicSliderIcon.js +0 -6
  513. package/dist/icons/components/GridViewIcon.js +0 -6
  514. package/dist/icons/components/HamburgerMenuIcon.js +0 -6
  515. package/dist/icons/components/HeadphonesIcon.js +0 -6
  516. package/dist/icons/components/HeadsetIcon.js +0 -6
  517. package/dist/icons/components/HealthWellnessIcon.js +0 -6
  518. package/dist/icons/components/HeatMapIcon.js +0 -6
  519. package/dist/icons/components/HelpIcon.js +0 -6
  520. package/dist/icons/components/HighVolumeIcon.js +0 -6
  521. package/dist/icons/components/HighlightIcon.js +0 -6
  522. package/dist/icons/components/HistoryIcon.js +0 -6
  523. package/dist/icons/components/HomeIcon.js +0 -6
  524. package/dist/icons/components/HotspotIcon.js +0 -6
  525. package/dist/icons/components/HyperlinkIcon.js +0 -6
  526. package/dist/icons/components/IceCreamIcon.js +0 -6
  527. package/dist/icons/components/IgnoredIcon.js +0 -6
  528. package/dist/icons/components/ImageIcon.js +0 -6
  529. package/dist/icons/components/ImportedDataIcon.js +0 -6
  530. package/dist/icons/components/InactiveIcon.js +0 -6
  531. package/dist/icons/components/IncompleteTranslationsIcon.js +0 -6
  532. package/dist/icons/components/IndentMoreIcon.js +0 -6
  533. package/dist/icons/components/InformationIcon.js +0 -6
  534. package/dist/icons/components/InlineQuestionIcon.js +0 -6
  535. package/dist/icons/components/InsertLineIcon.js +0 -6
  536. package/dist/icons/components/IntegerIcon.js +0 -6
  537. package/dist/icons/components/IntegrationIcon.js +0 -6
  538. package/dist/icons/components/IntensityHighIcon.js +0 -6
  539. package/dist/icons/components/IntensityLowIcon.js +0 -6
  540. package/dist/icons/components/IntensityMediumIcon.js +0 -6
  541. package/dist/icons/components/InterceptIcon.js +0 -6
  542. package/dist/icons/components/JoinInnerIcon.js +0 -6
  543. package/dist/icons/components/JoinLeftOuterIcon.js +0 -6
  544. package/dist/icons/components/JoinOuterIcon.js +0 -6
  545. package/dist/icons/components/JoinRightOuterIcon.js +0 -6
  546. package/dist/icons/components/JourneyMapIcon.js +0 -6
  547. package/dist/icons/components/KeyboardIcon.js +0 -6
  548. package/dist/icons/components/LibrariesIcon.js +0 -6
  549. package/dist/icons/components/LibraryLinkIcon.js +0 -6
  550. package/dist/icons/components/LightBulbIcon.js +0 -6
  551. package/dist/icons/components/LightningBoltIcon.js +0 -6
  552. package/dist/icons/components/LineChartIcon.js +0 -6
  553. package/dist/icons/components/ListBulletsIcon.js +0 -6
  554. package/dist/icons/components/ListCheckedIcon.js +0 -6
  555. package/dist/icons/components/ListNumbersIcon.js +0 -6
  556. package/dist/icons/components/LocationIcon.js +0 -6
  557. package/dist/icons/components/LockIcon.js +0 -6
  558. package/dist/icons/components/LogicTreeIcon.js +0 -6
  559. package/dist/icons/components/LookAndFeelIcon.js +0 -6
  560. package/dist/icons/components/LoopAndMergeIcon.js +0 -6
  561. package/dist/icons/components/LowerCaseIcon.js +0 -6
  562. package/dist/icons/components/MailboxIcon.js +0 -6
  563. package/dist/icons/components/MarkerIcon.js +0 -6
  564. package/dist/icons/components/MatrixTableIcon.js +0 -6
  565. package/dist/icons/components/MaximizeIcon.js +0 -6
  566. package/dist/icons/components/MegaphoneIcon.js +0 -6
  567. package/dist/icons/components/MergeIcon.js +0 -6
  568. package/dist/icons/components/MetadataIcon.js +0 -6
  569. package/dist/icons/components/MicrophoneIcon.js +0 -6
  570. package/dist/icons/components/MicrophoneMuteIcon.js +0 -6
  571. package/dist/icons/components/MinimizeIcon.js +0 -6
  572. package/dist/icons/components/MobileLandscapeIcon.js +0 -6
  573. package/dist/icons/components/MobilePortraitIcon.js +0 -6
  574. package/dist/icons/components/ModelsIcon.js +0 -6
  575. package/dist/icons/components/MoonIcon.js +0 -6
  576. package/dist/icons/components/MouseThrashIcon.js +0 -6
  577. package/dist/icons/components/MouseTrailIcon.js +0 -6
  578. package/dist/icons/components/MoveIcon.js +0 -6
  579. package/dist/icons/components/MultipleChoiceIcon.js +0 -6
  580. package/dist/icons/components/MusicNoteIcon.js +0 -6
  581. package/dist/icons/components/NPSIcon.js +0 -6
  582. package/dist/icons/components/NewCustomerIcon.js +0 -6
  583. package/dist/icons/components/NewTemplateIcon.js +0 -6
  584. package/dist/icons/components/NewspaperIcon.js +0 -6
  585. package/dist/icons/components/NotInFlowIcon.js +0 -6
  586. package/dist/icons/components/NumbersIcon.js +0 -6
  587. package/dist/icons/components/ObjectIcon.js +0 -6
  588. package/dist/icons/components/OnlinePanelIcon.js +0 -6
  589. package/dist/icons/components/OpenPanelLeftIcon.js +0 -6
  590. package/dist/icons/components/OpenPanelRightIcon.js +0 -6
  591. package/dist/icons/components/OrgHierarchyIcon.js +0 -6
  592. package/dist/icons/components/OutboxIcon.js +0 -6
  593. package/dist/icons/components/OutdentIcon.js +0 -6
  594. package/dist/icons/components/PageBreakIcon.js +0 -6
  595. package/dist/icons/components/PagesIcon.js +0 -6
  596. package/dist/icons/components/PaginateFilterIcon.js +0 -6
  597. package/dist/icons/components/PaintBrushIcon.js +0 -6
  598. package/dist/icons/components/PaintBrushRoundIcon.js +0 -6
  599. package/dist/icons/components/PaintBucketIcon.js +0 -6
  600. package/dist/icons/components/PaperClipIcon.js +0 -6
  601. package/dist/icons/components/ParagraphIcon.js +0 -6
  602. package/dist/icons/components/ParticipantInviteAutomationIcon.js +0 -6
  603. package/dist/icons/components/ParticipantPortalIcon.js +0 -6
  604. package/dist/icons/components/PartlyCloudyIcon.js +0 -6
  605. package/dist/icons/components/PasswordLockIcon.js +0 -6
  606. package/dist/icons/components/PauseCircleIcon.js +0 -6
  607. package/dist/icons/components/PauseIcon.js +0 -6
  608. package/dist/icons/components/PencilIcon.js +0 -6
  609. package/dist/icons/components/PercentageIcon.js +0 -6
  610. package/dist/icons/components/PhoneIcon.js +0 -6
  611. package/dist/icons/components/PickGroupRankIcon.js +0 -6
  612. package/dist/icons/components/PieChartIcon.js +0 -6
  613. package/dist/icons/components/PinIcon.js +0 -6
  614. package/dist/icons/components/PinToIcon.js +0 -6
  615. package/dist/icons/components/PipedTextIcon.js +0 -6
  616. package/dist/icons/components/PlayIcon.js +0 -6
  617. package/dist/icons/components/PlaybookIcon.js +0 -6
  618. package/dist/icons/components/PodcastIcon.js +0 -6
  619. package/dist/icons/components/PointerHandCursorIcon.js +0 -6
  620. package/dist/icons/components/PortalConfigIcon.js +0 -6
  621. package/dist/icons/components/PostcardIcon.js +0 -6
  622. package/dist/icons/components/PowerIcon.js +0 -6
  623. package/dist/icons/components/PreIcon.js +0 -6
  624. package/dist/icons/components/PresentationIcon.js +0 -6
  625. package/dist/icons/components/PrinterIcon.js +0 -6
  626. package/dist/icons/components/Priority1Icon.js +0 -6
  627. package/dist/icons/components/Priority2Icon.js +0 -6
  628. package/dist/icons/components/Priority3Icon.js +0 -6
  629. package/dist/icons/components/Priority4Icon.js +0 -6
  630. package/dist/icons/components/PrivateDataIcon.js +0 -6
  631. package/dist/icons/components/ProgramIcon.js +0 -6
  632. package/dist/icons/components/ProjectBarIcon.js +0 -6
  633. package/dist/icons/components/ProjectIcon.js +0 -6
  634. package/dist/icons/components/PublishIcon.js +0 -6
  635. package/dist/icons/components/PxLogoIcon.js +0 -6
  636. package/dist/icons/components/QRCodeIcon.js +0 -6
  637. package/dist/icons/components/QuestionBlockIcon.js +0 -6
  638. package/dist/icons/components/QuoteBoxIcon.js +0 -6
  639. package/dist/icons/components/QuotesIcon.js +0 -6
  640. package/dist/icons/components/RSSIcon.js +0 -6
  641. package/dist/icons/components/RageClickIcon.js +0 -6
  642. package/dist/icons/components/RainyIcon.js +0 -6
  643. package/dist/icons/components/RaiseHandIcon.js +0 -6
  644. package/dist/icons/components/RecodedValuesIcon.js +0 -6
  645. package/dist/icons/components/RecordIcon.js +0 -6
  646. package/dist/icons/components/RedoIcon.js +0 -6
  647. package/dist/icons/components/ReferenceBlockIcon.js +0 -6
  648. package/dist/icons/components/RefreshIcon.js +0 -6
  649. package/dist/icons/components/RemoveItemIcon.js +0 -6
  650. package/dist/icons/components/RemoveLinkIcon.js +0 -6
  651. package/dist/icons/components/ReplyIcon.js +0 -6
  652. package/dist/icons/components/ReportIcon.js +0 -6
  653. package/dist/icons/components/ReputationManagementIcon.js +0 -6
  654. package/dist/icons/components/RetweetIcon.js +0 -6
  655. package/dist/icons/components/ReusableChoicesIcon.js +0 -6
  656. package/dist/icons/components/ReverseIcon.js +0 -6
  657. package/dist/icons/components/RhoIcon.js +0 -6
  658. package/dist/icons/components/RichTextEditorIcon.js +0 -6
  659. package/dist/icons/components/RiskIcon.js +0 -6
  660. package/dist/icons/components/RobotIcon.js +0 -6
  661. package/dist/icons/components/RolesIcon.js +0 -6
  662. package/dist/icons/components/SMSIcon.js +0 -6
  663. package/dist/icons/components/SatisfactionChartsIcon.js +0 -6
  664. package/dist/icons/components/SaveIcon.js +0 -6
  665. package/dist/icons/components/ScheduledIcon.js +0 -6
  666. package/dist/icons/components/SchemaDataIcon.js +0 -6
  667. package/dist/icons/components/SchemaEditorIcon.js +0 -6
  668. package/dist/icons/components/ScorecardIcon.js +0 -6
  669. package/dist/icons/components/ScreenCaptureIcon.js +0 -6
  670. package/dist/icons/components/SearchAddIcon.js +0 -6
  671. package/dist/icons/components/SearchIcon.js +0 -6
  672. package/dist/icons/components/SegmentIcon.js +0 -6
  673. package/dist/icons/components/SelectColumnIcon.js +0 -6
  674. package/dist/icons/components/SendIcon.js +0 -6
  675. package/dist/icons/components/SentenceCaseIcon.js +0 -6
  676. package/dist/icons/components/SentimentMixedIcon.js +0 -6
  677. package/dist/icons/components/SentimentNegativeIcon.js +0 -6
  678. package/dist/icons/components/SentimentNeutralIcon.js +0 -6
  679. package/dist/icons/components/SentimentPositiveIcon.js +0 -6
  680. package/dist/icons/components/SentimentVeryNegativeIcon.js +0 -6
  681. package/dist/icons/components/SentimentVeryPositiveIcon.js +0 -6
  682. package/dist/icons/components/SettingsIcon.js +0 -6
  683. package/dist/icons/components/ShareIcon.js +0 -6
  684. package/dist/icons/components/SharedFolderIcon.js +0 -6
  685. package/dist/icons/components/ShieldIcon.js +0 -6
  686. package/dist/icons/components/ShuffleIcon.js +0 -6
  687. package/dist/icons/components/SideBySideIcon.js +0 -6
  688. package/dist/icons/components/SignatureIcon.js +0 -6
  689. package/dist/icons/components/SkipBackIcon.js +0 -6
  690. package/dist/icons/components/SkipForwardIcon.js +0 -6
  691. package/dist/icons/components/SkipIcon.js +0 -6
  692. package/dist/icons/components/SliderIcon.js +0 -6
  693. package/dist/icons/components/SliderOptionsIcon.js +0 -6
  694. package/dist/icons/components/SmallCapsIcon.js +0 -6
  695. package/dist/icons/components/SocialResponseIcon.js +0 -6
  696. package/dist/icons/components/SortAlphabeticAscendingIcon.js +0 -6
  697. package/dist/icons/components/SortAlphabeticDescendingIcon.js +0 -6
  698. package/dist/icons/components/SortBothIcon.js +0 -6
  699. package/dist/icons/components/SortDownIcon.js +0 -6
  700. package/dist/icons/components/SortNumberAscendingIcon.js +0 -6
  701. package/dist/icons/components/SortNumberDescendingIcon.js +0 -6
  702. package/dist/icons/components/SortUpIcon.js +0 -6
  703. package/dist/icons/components/SparkleIcon.js +0 -6
  704. package/dist/icons/components/SpecialCharactersIcon.js +0 -6
  705. package/dist/icons/components/SpinnerIcon.js +0 -6
  706. package/dist/icons/components/SquareMinusIcon.js +0 -6
  707. package/dist/icons/components/SquarePlusIcon.js +0 -6
  708. package/dist/icons/components/StarFilledIcon.js +0 -6
  709. package/dist/icons/components/StarHalfIcon.js +0 -6
  710. package/dist/icons/components/StarOutlinedIcon.js +0 -6
  711. package/dist/icons/components/StarRankingIcon.js +0 -6
  712. package/dist/icons/components/StatsAnalysisIcon.js +0 -6
  713. package/dist/icons/components/StopRecordingIcon.js +0 -6
  714. package/dist/icons/components/StormyIcon.js +0 -6
  715. package/dist/icons/components/StrategicAccountsIcon.js +0 -6
  716. package/dist/icons/components/StudentIcon.js +0 -6
  717. package/dist/icons/components/SubscriptIcon.js +0 -6
  718. package/dist/icons/components/SubtractIcon.js +0 -6
  719. package/dist/icons/components/SuccessIcon.js +0 -6
  720. package/dist/icons/components/SumIcon.js +0 -6
  721. package/dist/icons/components/SunnyIcon.js +0 -6
  722. package/dist/icons/components/SuperscriptIcon.js +0 -6
  723. package/dist/icons/components/SurveyCompleteIcon.js +0 -6
  724. package/dist/icons/components/SurveyDirectorIcon.js +0 -6
  725. package/dist/icons/components/SurveyExpiredIcon.js +0 -6
  726. package/dist/icons/components/SurveyIQIcon.js +0 -6
  727. package/dist/icons/components/SurveyIcon.js +0 -6
  728. package/dist/icons/components/SurveyInviteIcon.js +0 -6
  729. package/dist/icons/components/TableAppendIcon.js +0 -6
  730. package/dist/icons/components/TableIcon.js +0 -6
  731. package/dist/icons/components/TabletIcon.js +0 -6
  732. package/dist/icons/components/TagIcon.js +0 -6
  733. package/dist/icons/components/TeacherIcon.js +0 -6
  734. package/dist/icons/components/TemplateIcon.js +0 -6
  735. package/dist/icons/components/TextAlignCenterIcon.js +0 -6
  736. package/dist/icons/components/TextAlignJustifiedIcon.js +0 -6
  737. package/dist/icons/components/TextAlignLeftIcon.js +0 -6
  738. package/dist/icons/components/TextAlignRightIcon.js +0 -6
  739. package/dist/icons/components/TextAnalysisIcon.js +0 -6
  740. package/dist/icons/components/TextBlockIcon.js +0 -6
  741. package/dist/icons/components/TextBoldIcon.js +0 -6
  742. package/dist/icons/components/TextBottomToTopIcon.js +0 -6
  743. package/dist/icons/components/TextColorIcon.js +0 -6
  744. package/dist/icons/components/TextColorLetterIcon.js +0 -6
  745. package/dist/icons/components/TextColorSwatchIcon.js +0 -6
  746. package/dist/icons/components/TextEntryIcon.js +0 -6
  747. package/dist/icons/components/TextItalicIcon.js +0 -6
  748. package/dist/icons/components/TextLeftToRightIcon.js +0 -6
  749. package/dist/icons/components/TextRightToLeftIcon.js +0 -6
  750. package/dist/icons/components/TextStrikeThroughIcon.js +0 -6
  751. package/dist/icons/components/TextUnderlineIcon.js +0 -6
  752. package/dist/icons/components/ThirdPartyQuestionIcon.js +0 -6
  753. package/dist/icons/components/ThreeSixtyProjectIcon.js +0 -6
  754. package/dist/icons/components/ThumbsDownIcon.js +0 -6
  755. package/dist/icons/components/ThumbsUpIcon.js +0 -6
  756. package/dist/icons/components/TicketsIcon.js +0 -6
  757. package/dist/icons/components/TimingIcon.js +0 -6
  758. package/dist/icons/components/ToolsIcon.js +0 -6
  759. package/dist/icons/components/TransactionIcon.js +0 -6
  760. package/dist/icons/components/TranslationIcon.js +0 -6
  761. package/dist/icons/components/TrashIcon.js +0 -6
  762. package/dist/icons/components/UndetectedIcon.js +0 -6
  763. package/dist/icons/components/UndoIcon.js +0 -6
  764. package/dist/icons/components/UnionIcon.js +0 -6
  765. package/dist/icons/components/UniqueLinkIcon.js +0 -6
  766. package/dist/icons/components/UnlinkIcon.js +0 -6
  767. package/dist/icons/components/UnlockIcon.js +0 -6
  768. package/dist/icons/components/UnpinIcon.js +0 -6
  769. package/dist/icons/components/UpDownIcon.js +0 -6
  770. package/dist/icons/components/UploadIcon.js +0 -6
  771. package/dist/icons/components/UpperCaseIcon.js +0 -6
  772. package/dist/icons/components/UpvoteFilledIcon.js +0 -6
  773. package/dist/icons/components/UpvoteIcon.js +0 -6
  774. package/dist/icons/components/UserGroupIcon.js +0 -6
  775. package/dist/icons/components/UserIcon.js +0 -6
  776. package/dist/icons/components/UserLockedIcon.js +0 -6
  777. package/dist/icons/components/ValidationIcon.js +0 -6
  778. package/dist/icons/components/VariableNamingIcon.js +0 -6
  779. package/dist/icons/components/VideoIcon.js +0 -6
  780. package/dist/icons/components/ViewOffIcon.js +0 -6
  781. package/dist/icons/components/ViewOnIcon.js +0 -6
  782. package/dist/icons/components/VocalizeDashboardIcon.js +0 -6
  783. package/dist/icons/components/VolumeIcon.js +0 -6
  784. package/dist/icons/components/VolumeLowIcon.js +0 -6
  785. package/dist/icons/components/VolumeMuteIcon.js +0 -6
  786. package/dist/icons/components/WaffleMenuIcon.js +0 -6
  787. package/dist/icons/components/WarningIcon.js +0 -6
  788. package/dist/icons/components/WebhookIcon.js +0 -6
  789. package/dist/icons/components/WhatsAppIcon.js +0 -6
  790. package/dist/icons/components/WidgetsIcon.js +0 -6
  791. package/dist/icons/components/WifiIcon.js +0 -6
  792. package/dist/icons/components/WorkflowsIcon.js +0 -6
  793. package/dist/icons/components/WorkingFromHomeIcon.js +0 -6
  794. package/dist/icons/createIconComponent.js +0 -41
  795. package/dist/icons/index.d.ts +0 -1004
  796. package/dist/icons/index.es.js +0 -496
  797. package/dist/icons/index.js +0 -505
  798. package/dist/index.d.ts +0 -2100
  799. package/dist/index.es.js +0 -106
  800. package/dist/index.js +0 -128
  801. package/dist/next/AdvancedTable/AdvancedTable.js +0 -920
  802. package/dist/next/AdvancedTable/AdvancedTable2.js +0 -8
  803. package/dist/next/AdvancedTable/AdvancedTableCell.js +0 -104
  804. package/dist/next/AdvancedTable/AdvancedTableCheckbox.js +0 -57
  805. package/dist/next/AdvancedTable/AdvancedTableColumnHeader.js +0 -330
  806. package/dist/next/AdvancedTable/AdvancedTableColumnHeaderMenu.js +0 -141
  807. package/dist/next/AdvancedTable/AdvancedTableColumnHeaders.js +0 -24
  808. package/dist/next/AdvancedTable/AdvancedTableDragPreview.js +0 -35
  809. package/dist/next/AdvancedTable/AdvancedTableHiddenDescription.js +0 -20
  810. package/dist/next/AdvancedTable/AdvancedTablePagination.js +0 -36
  811. package/dist/next/AdvancedTable/AdvancedTableRow.js +0 -37
  812. package/dist/next/AdvancedTable/AdvancedTableRowExpandButton.js +0 -50
  813. package/dist/next/AdvancedTable/AdvancedTableTypes.js +0 -18
  814. package/dist/next/AdvancedTable/index.js +0 -3
  815. package/dist/next/AdvancedTable/useAdvancedTableDragAndDrop.js +0 -171
  816. package/dist/next/AdvancedTable/useComputedWidth.js +0 -9
  817. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput.js +0 -133
  818. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +0 -8
  819. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInputIconButton.js +0 -30
  820. package/dist/next/CollapsibleSearchInput/index.js +0 -1
  821. package/dist/next/Combobox/Combobox.js +0 -85
  822. package/dist/next/Combobox/Combobox2.js +0 -8
  823. package/dist/next/Combobox/ComboboxContext.js +0 -9
  824. package/dist/next/Combobox/ComboboxFlyout.js +0 -53
  825. package/dist/next/Combobox/ComboboxGroup.js +0 -55
  826. package/dist/next/Combobox/ComboboxGroupContext.js +0 -19
  827. package/dist/next/Combobox/ComboboxInput.js +0 -154
  828. package/dist/next/Combobox/ComboboxOption.js +0 -76
  829. package/dist/next/Combobox/hooks/index.js +0 -7
  830. package/dist/next/Combobox/hooks/useComboboxFilteredGroup/index.js +0 -1
  831. package/dist/next/Combobox/hooks/useComboboxFilteredGroup/useComboboxFilteredGroup.js +0 -43
  832. package/dist/next/Combobox/hooks/useComboboxFocusSequence/index.js +0 -1
  833. package/dist/next/Combobox/hooks/useComboboxFocusSequence/useComboboxFocusSequence.js +0 -290
  834. package/dist/next/Combobox/hooks/useComboboxLoadingState/index.js +0 -1
  835. package/dist/next/Combobox/hooks/useComboboxLoadingState/useComboboxLoadingState.js +0 -56
  836. package/dist/next/Combobox/hooks/useComboboxValue/index.js +0 -1
  837. package/dist/next/Combobox/hooks/useComboboxValue/useComboboxValue.js +0 -35
  838. package/dist/next/Combobox/hooks/useListboxFlyoutDimensions/index.js +0 -1
  839. package/dist/next/Combobox/hooks/useListboxFlyoutDimensions/useListboxFlyoutDimensions.js +0 -54
  840. package/dist/next/Combobox/hooks/useSelectedOptionScroll/index.js +0 -1
  841. package/dist/next/Combobox/hooks/useSelectedOptionScroll/useSelectedOptionScroll.js +0 -32
  842. package/dist/next/Combobox/hooks/useShouldRenderGroupHeader/index.js +0 -1
  843. package/dist/next/Combobox/hooks/useShouldRenderGroupHeader/useShouldRenderGroupHeader.js +0 -28
  844. package/dist/next/Combobox/index.js +0 -5
  845. package/dist/next/Combobox/utils/index.js +0 -1
  846. package/dist/next/Combobox/utils/nodeRegistration/index.js +0 -1
  847. package/dist/next/Combobox/utils/nodeRegistration/nodeRegistration.js +0 -35
  848. package/dist/next/Drawer/Drawer.js +0 -134
  849. package/dist/next/Drawer/Drawer2.js +0 -8
  850. package/dist/next/Drawer/index.js +0 -1
  851. package/dist/next/FilterAnchor/FilterAnchor.js +0 -101
  852. package/dist/next/FilterAnchor/FilterAnchor2.js +0 -8
  853. package/dist/next/FilterAnchor/index.js +0 -1
  854. package/dist/next/Input/Input.js +0 -75
  855. package/dist/next/Input/Input2.js +0 -8
  856. package/dist/next/Input/index.js +0 -1
  857. package/dist/next/Menu/Menu.js +0 -90
  858. package/dist/next/Menu/Menu2.js +0 -8
  859. package/dist/next/Menu/MenuButton.js +0 -64
  860. package/dist/next/Menu/MenuContext.js +0 -39
  861. package/dist/next/Menu/MenuItem.js +0 -81
  862. package/dist/next/Menu/MenuPane.js +0 -170
  863. package/dist/next/Menu/MenuSearch.js +0 -37
  864. package/dist/next/Menu/SubMenu.js +0 -202
  865. package/dist/next/Menu/constants.js +0 -19
  866. package/dist/next/Menu/index.js +0 -5
  867. package/dist/next/Menu/useMutationObserver.js +0 -17
  868. package/dist/next/Menu/usePaneSearch.js +0 -126
  869. package/dist/next/PhoneNumberInput/PhoneNumberInput.js +0 -121
  870. package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +0 -8
  871. package/dist/next/PhoneNumberInput/index.js +0 -1
  872. package/dist/next/SplitButton/SplitButton.js +0 -96
  873. package/dist/next/SplitButton/SplitButton2.js +0 -8
  874. package/dist/next/SplitButton/SplitButtonOption.js +0 -22
  875. package/dist/next/SplitButton/index.js +0 -2
  876. package/dist/next/Stack/HStack.js +0 -11
  877. package/dist/next/Stack/Stack.js +0 -95
  878. package/dist/next/Stack/StackItem.js +0 -37
  879. package/dist/next/Stack/VStack.js +0 -11
  880. package/dist/next/Stack/index.js +0 -3
  881. package/dist/next/TimePicker/TimeDropdown.js +0 -77
  882. package/dist/next/TimePicker/TimeInput.js +0 -86
  883. package/dist/next/TimePicker/TimePicker.js +0 -234
  884. package/dist/next/TimePicker/TimePicker2.js +0 -8
  885. package/dist/next/TimePicker/TimePickerIcon.js +0 -35
  886. package/dist/next/TimePicker/index.js +0 -1
  887. package/dist/next/TimePicker/utils.js +0 -176
  888. package/dist/next/ToggleButton/ToggleButton.js +0 -74
  889. package/dist/next/ToggleButton/ToggleButtonGroup.js +0 -40
  890. package/dist/next/ToggleButton/ToggleButtonGroupContext.js +0 -9
  891. package/dist/next/ToggleButton/index.js +0 -2
  892. package/dist/next/ToggleButton/styles.js +0 -8
  893. package/dist/next/index.d.ts +0 -470
  894. package/dist/next/index.es.js +0 -38
  895. package/dist/next/index.js +0 -4968
  896. package/dist/translations-en.js +0 -69
  897. package/dist/utils/Flyout/Flyout.js +0 -58
  898. package/dist/utils/Flyout/Flyout2.js +0 -8
  899. package/dist/utils/Flyout/FlyoutHeader.js +0 -24
  900. package/dist/utils/Flyout/FlyoutOption.js +0 -31
  901. package/dist/utils/Flyout/index.js +0 -3
  902. package/dist/utils/Popper/Popper.js +0 -191
  903. package/dist/utils/Popper/Popper2.js +0 -8
  904. package/dist/utils/Popper/PopperContext.js +0 -11
  905. package/dist/utils/Popper/index.js +0 -1
  906. package/dist/utils/Portal/Portal.js +0 -26
  907. package/dist/utils/Portal/index.js +0 -1
  908. package/dist/utils/Text/Text.js +0 -38
  909. package/dist/utils/Text/index.js +0 -1
  910. package/dist/utils/TextOverflowTooltip/TextOverflowTooltip.js +0 -50
  911. package/dist/utils/TextOverflowTooltip/index.js +0 -1
  912. package/dist/utils/Translation/Translate.js +0 -65
  913. package/dist/utils/Translation/TranslationProvider.js +0 -26
  914. package/dist/utils/Translation/containsComponentOrElement.js +0 -22
  915. package/dist/utils/Translation/index.js +0 -3
  916. package/dist/utils/Translation/insertPlaceholders.js +0 -13
  917. package/dist/utils/Translation/useTranslation.js +0 -50
  918. package/dist/utils/canUseDOM/canUseDOM.js +0 -9
  919. package/dist/utils/canUseDOM/index.js +0 -1
  920. package/dist/utils/concatIds/concatIds.js +0 -13
  921. package/dist/utils/concatIds/index.js +0 -1
  922. package/dist/utils/constants.js +0 -25
  923. package/dist/utils/createContextUtilities/createContextUtilities.js +0 -19
  924. package/dist/utils/createContextUtilities/index.js +0 -1
  925. package/dist/utils/filterChildren/filterChildren.js +0 -53
  926. package/dist/utils/filterChildren/index.js +0 -1
  927. package/dist/utils/getSubDataTestId/getSubDataTestId.js +0 -14
  928. package/dist/utils/getSubDataTestId/index.js +0 -1
  929. package/dist/utils/index.js +0 -16
  930. package/dist/utils/mediaQueryManager/index.js +0 -1
  931. package/dist/utils/mediaQueryManager/mediaQueryManager.js +0 -48
  932. package/dist/utils/mergeRefs/index.js +0 -1
  933. package/dist/utils/mergeRefs/mergeRefs.js +0 -27
  934. package/dist/utils/sharedTypes.js +0 -1
  935. package/dist/utils/wrapAround/index.js +0 -1
  936. package/dist/utils/wrapAround/wrapAround.js +0 -23
  937. package/dist/utils/wrapEvent/index.js +0 -1
  938. package/dist/utils/wrapEvent/wrapEvent.js +0 -18
  939. package/icons/package.json +0 -24
  940. package/next/package.json +0 -27
@@ -1,182 +0,0 @@
1
- import React__default, { useCallback } from 'react';
2
- import classNames from 'classnames';
3
- import styles from './LogicEditor2.js';
4
- import { LOGIC_TYPE_CONDITION, LOGIC_TYPE_SET, SET_VALUE_ANY, SET_VALUE_ALL } from './utils.js';
5
- import ConditionContainer from './ConditionContainer.js';
6
- import '../Dropdown/index.js';
7
- import { useLogicEditorContext } from './LogicEditorContext.js';
8
- import Controls from './Controls.js';
9
- import '../../hooks/index.js';
10
- import '../../utils/index.js';
11
- import useEventListener from '../../hooks/useEventListener/useEventListener.js';
12
- import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
13
- import Dropdown from '../Dropdown/Dropdown.js';
14
- import DropdownButton from '../Dropdown/DropdownButton.js';
15
- import DropdownList from '../Dropdown/DropdownList.js';
16
- import DropdownOption from '../Dropdown/DropdownOption.js';
17
-
18
- const ConditionSet = function ConditionSet(_ref) {
19
- let {
20
- level,
21
- index,
22
- parent,
23
- value,
24
- firstFocusableElementRef
25
- } = _ref;
26
- const {
27
- fixedSet,
28
- onNewLogicItem,
29
- onSetChange,
30
- translations,
31
- readOnly,
32
- rootDataTestId
33
- } = useLogicEditorContext();
34
- const position = {
35
- parent,
36
- index
37
- };
38
- const conditionRef = React__default.useRef(null);
39
- const lastConnectionRef = React__default.useRef();
40
- const lastItemRef = React__default.useRef();
41
- function setupLastLine() {
42
- if (lastConnectionRef.current && conditionRef.current && lastItemRef.current) {
43
- let {
44
- height
45
- } = conditionRef.current.getBoundingClientRect();
46
- const {
47
- height: lastItemHeight
48
- } = lastItemRef.current.getBoundingClientRect();
49
- if (lastItemHeight > 52) {
50
- height -= lastItemHeight - 52;
51
- if (fixedSet) {
52
- height -= 18;
53
- }
54
- }
55
- if (fixedSet) {
56
- lastConnectionRef.current.style.height = "".concat(height - 38, "px");
57
- lastConnectionRef.current.style.top = "-".concat(height - 56, "px");
58
- } else {
59
- lastConnectionRef.current.style.height = "".concat(height - 18, "px");
60
- lastConnectionRef.current.style.top = "-".concat(height - 52, "px");
61
- }
62
- }
63
- }
64
- useEventListener(window, 'resize', setupLastLine);
65
- React__default.useLayoutEffect(setupLastLine);
66
- const handleNewLogicItem = (item, newItemIndex) => () => {
67
- onNewLogicItem(item, {
68
- parent: position,
69
- index: newItemIndex
70
- });
71
- };
72
-
73
- /**
74
- * Returns a data-testid unique to the current position in the tree.
75
- * @param prefix - A string that is injected between the root data-testid and the index list.
76
- * @returns A `-` separated string of indices where the left-most number is the root index and the right-most number is the index of the current controls menu. The string is prefixed with the root data-testid and the string passed to `prefix`;
77
- */
78
- const getDataTestId = useCallback((prefix, elementPosition) => {
79
- const indices = [elementPosition.index];
80
- let currentParent = elementPosition.parent;
81
- while (currentParent) {
82
- indices.unshift(currentParent.index);
83
- currentParent = currentParent.parent;
84
- }
85
-
86
- // Fixed sets still include a root index (which would account for a set dropdown that doesn't actually exist) so the root index is removed from the list
87
- if (fixedSet) {
88
- indices.shift();
89
- }
90
- return getSubDataTestId(rootDataTestId, "".concat(prefix, "-").concat(indices.join('-')));
91
- }, [fixedSet, rootDataTestId]);
92
- function renderControls(itemType, itemPosition, itemIndex, itemLevel, numberOfSetItems, itemId) {
93
- return /*#__PURE__*/React__default.createElement(Controls, {
94
- handleNewLogicItem: handleNewLogicItem,
95
- level: level,
96
- itemType: itemType,
97
- itemPosition: itemPosition,
98
- itemIndex: itemIndex,
99
- itemLevel: itemLevel,
100
- numberOfSetItems: numberOfSetItems,
101
- itemId: itemId,
102
- "data-testid": getDataTestId('condition-actions', itemPosition)
103
- });
104
- }
105
- const renderSetChildren = () => value.conditions.map((item, i, items) => {
106
- let itemConnectionRef;
107
- let itemRef;
108
- if (i === items.length - 1) {
109
- if (lastConnectionRef.current) {
110
- // Remove previous last-line styles
111
- lastConnectionRef.current.style.height = '';
112
- lastConnectionRef.current.style.top = '';
113
- }
114
- itemConnectionRef = lastConnectionRef;
115
- itemRef = lastItemRef;
116
- }
117
- if (item.logicType === LOGIC_TYPE_CONDITION) {
118
- const conditionPosition = {
119
- parent: position,
120
- index: i
121
- };
122
- return /*#__PURE__*/React__default.createElement("div", {
123
- role: "group",
124
- key: item.id,
125
- className: styles.branch,
126
- ref: itemRef
127
- }, (!fixedSet || value.conditions.length > 1) && /*#__PURE__*/React__default.createElement("span", {
128
- className: styles.connection,
129
- ref: itemConnectionRef
130
- }), /*#__PURE__*/React__default.createElement(ConditionContainer, {
131
- position: conditionPosition,
132
- condition: item,
133
- firstFocusableElementRef: fixedSet && firstFocusableElementRef && i === 0 ? firstFocusableElementRef : undefined,
134
- conditionControls: !readOnly ? renderControls(LOGIC_TYPE_CONDITION, conditionPosition, i + 1, level + 1, value.conditions.length, item.id) : undefined
135
- }));
136
- }
137
- if (item.logicType === LOGIC_TYPE_SET) {
138
- return /*#__PURE__*/React__default.createElement("div", {
139
- key: item.id,
140
- className: styles.branch,
141
- ref: itemRef
142
- }, /*#__PURE__*/React__default.createElement("span", {
143
- className: styles.connection,
144
- ref: itemConnectionRef
145
- }), /*#__PURE__*/React__default.createElement(ConditionSet, {
146
- value: item,
147
- level: level + 1,
148
- index: i,
149
- parent: position
150
- }));
151
- }
152
- return undefined;
153
- });
154
- return /*#__PURE__*/React__default.createElement("div", {
155
- className: classNames(styles.set, {
156
- [styles.fixedSet]: !!fixedSet
157
- })
158
- }, !fixedSet && /*#__PURE__*/React__default.createElement("div", {
159
- className: styles.setWrapper
160
- }, /*#__PURE__*/React__default.createElement(Dropdown, {
161
- disabled: readOnly,
162
- defaultValue: value.value,
163
- onChange: v => onSetChange(v, position)
164
- }, /*#__PURE__*/React__default.createElement(DropdownButton, {
165
- "data-testid": getDataTestId('set-dropdown', {
166
- parent,
167
- index
168
- }),
169
- ref: firstFocusableElementRef
170
- }), /*#__PURE__*/React__default.createElement(DropdownList, null, /*#__PURE__*/React__default.createElement(DropdownOption, {
171
- value: SET_VALUE_ANY,
172
- label: String(translations.any)
173
- }), /*#__PURE__*/React__default.createElement(DropdownOption, {
174
- value: SET_VALUE_ALL,
175
- label: String(translations.all)
176
- }))), !readOnly && renderControls(LOGIC_TYPE_SET, position, index, level, value.conditions.length, value.id)), /*#__PURE__*/React__default.createElement("div", {
177
- role: "group",
178
- ref: conditionRef
179
- }, renderSetChildren()));
180
- };
181
-
182
- export { ConditionSet as default };
@@ -1,85 +0,0 @@
1
- import React__default from 'react';
2
- import classNames from 'classnames';
3
- import styles from './LogicEditor2.js';
4
- import '../../icons/index.es.js';
5
- import { LOGIC_TYPE_CONDITION, newCondition, LOGIC_TYPE_SET, newConditionSet } from './utils.js';
6
- import '../NewMenu/index.js';
7
- import '../IconButton/index.js';
8
- import { useLogicEditorContext } from './LogicEditorContext.js';
9
- import Menu from '../NewMenu/Menu/Menu.js';
10
- import IconButton from '../IconButton/IconButton.js';
11
- import EllipsisHorizontalIcon from '../../icons/components/EllipsisHorizontalIcon.js';
12
- import MenuItem from '../NewMenu/parts/MenuItem.js';
13
- import AddItemIcon from '../../icons/components/AddItemIcon.js';
14
- import FilterIcon from '../../icons/components/FilterIcon.js';
15
- import RemoveItemIcon from '../../icons/components/RemoveItemIcon.js';
16
-
17
- const Controls = function Controls(_ref) {
18
- let {
19
- handleNewLogicItem,
20
- level,
21
- itemType,
22
- itemPosition,
23
- itemIndex,
24
- itemLevel,
25
- itemId,
26
- numberOfSetItems,
27
- 'data-testid': dataTestId
28
- } = _ref;
29
- const {
30
- translations,
31
- fixedSet,
32
- onDelete,
33
- defaultSetValue,
34
- maxNestedSets,
35
- maxConditions,
36
- controlsRef
37
- } = useLogicEditorContext();
38
- return /*#__PURE__*/React__default.createElement("div", {
39
- className: classNames({
40
- [styles.conditionControlsContainer]: itemType === LOGIC_TYPE_CONDITION
41
- })
42
- }, /*#__PURE__*/React__default.createElement(Menu, {
43
- anchor: /*#__PURE__*/React__default.createElement(IconButton, {
44
- "aria-label": translations.conditionActions,
45
- className: styles.controls,
46
- "data-testid": dataTestId
47
- }, /*#__PURE__*/React__default.createElement(EllipsisHorizontalIcon, null)),
48
- ref: node => {
49
- if (node) {
50
- controlsRef.current[itemId] = node;
51
- } else {
52
- controlsRef.current[itemId] = null;
53
- }
54
- }
55
- }, !(fixedSet && maxConditions && numberOfSetItems >= maxConditions) && /*#__PURE__*/React__default.createElement(MenuItem, {
56
- value: "add-condition",
57
- onSelect: handleNewLogicItem(newCondition(), itemType === LOGIC_TYPE_SET ? 0 : itemIndex)
58
- }, /*#__PURE__*/React__default.createElement(AddItemIcon, {
59
- "aria-hidden": "true"
60
- }), /*#__PURE__*/React__default.createElement("span", {
61
- className: styles.controlMenuItem
62
- }, translations.insertConditionBelow)), !fixedSet && level < maxNestedSets && /*#__PURE__*/React__default.createElement(MenuItem, {
63
- value: "add-set",
64
- onSelect: handleNewLogicItem(newConditionSet(defaultSetValue), itemType === LOGIC_TYPE_SET ? 0 : itemIndex)
65
- }, /*#__PURE__*/React__default.createElement(FilterIcon, {
66
- "aria-hidden": "true"
67
- }), /*#__PURE__*/React__default.createElement("span", {
68
- className: styles.controlMenuItem
69
- }, translations.insertSetBelow)), (fixedSet && numberOfSetItems > 1 || !fixedSet && itemLevel > 0) && /*#__PURE__*/React__default.createElement(MenuItem, {
70
- value: "delete",
71
- onSelect: e => {
72
- onDelete(itemPosition);
73
- // We want to move focus to the previous control
74
- // item when this one is deleted, so we need to
75
- // prevent Menu's default focus behavior
76
- e.preventDefault();
77
- }
78
- }, /*#__PURE__*/React__default.createElement(RemoveItemIcon, {
79
- "aria-hidden": "true"
80
- }), /*#__PURE__*/React__default.createElement("span", {
81
- className: styles.controlMenuItem
82
- }, translations.delete))));
83
- };
84
-
85
- export { Controls as default };
@@ -1,115 +0,0 @@
1
- import _extends from '@babel/runtime-corejs3/helpers/extends';
2
- import React__default, { useRef } from 'react';
3
- import classNames from 'classnames';
4
- import styles from './LogicEditor2.js';
5
- import ConditionSet from './ConditionSet.js';
6
- import { SET_VALUE_ANY, constructValidDefaultState, shallowCopy, getParentSet, getPreviousItemId } from './utils.js';
7
- import { LogicEditorContextProvider } from './LogicEditorContext.js';
8
- import '../../utils/index.js';
9
- import useTranslation from '../../utils/Translation/useTranslation.js';
10
-
11
- const LogicEditor = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
12
- let {
13
- className,
14
- conditionTemplate,
15
- defaultSetValue = SET_VALUE_ANY,
16
- defaultValue,
17
- fixedSet,
18
- onChange,
19
- readOnly = false,
20
- maxNestedSets = 2,
21
- maxConditions,
22
- firstFocusableElementRef,
23
- 'data-testid': dataTestId,
24
- ...rest
25
- } = _ref;
26
- const {
27
- translate
28
- } = useTranslation();
29
- const translations = {
30
- any: translate('logicEditor.any'),
31
- all: translate('logicEditor.all'),
32
- insertConditionBelow: translate('logicEditor.insertConditionBelow'),
33
- insertSetBelow: translate('logicEditor.insertSetBelow'),
34
- delete: translate('logicEditor.delete'),
35
- conditionActions: translate('logicEditor.conditionActions')
36
- };
37
- const [state, setState] = React__default.useState(constructValidDefaultState({
38
- defaultValue,
39
- defaultSetValue,
40
- fixedSet,
41
- maxNestedSets
42
- }));
43
- const classes = classNames(className, styles.editor);
44
- function update(newState) {
45
- setState(newState);
46
- onChange === null || onChange === void 0 ? void 0 : onChange(newState);
47
- }
48
- const handleNewLogicItem = (item, position) => {
49
- const newState = shallowCopy(state);
50
- const parent = getParentSet(newState, position);
51
- parent.conditions.splice(position.index, 0, item);
52
- update(newState);
53
- };
54
- const handleSetChange = (newSetValue, position) => {
55
- const rootState = shallowCopy(state);
56
- const parent = getParentSet(rootState, position);
57
- if (!position.parent) {
58
- // root set
59
- parent.value = newSetValue;
60
- } else {
61
- parent.conditions[position.index].value = newSetValue;
62
- }
63
- update(rootState);
64
- };
65
- const handleConditionChange = (newCondition, position) => {
66
- const newState = shallowCopy(state);
67
- const parent = getParentSet(newState, position);
68
- parent.conditions[position.index] = newCondition;
69
- update(newState);
70
- };
71
- const controlsRef = useRef({});
72
- const handleDelete = position => {
73
- let previousItemId = getPreviousItemId(state, position);
74
- const newState = shallowCopy(state);
75
- const parent = getParentSet(newState, position);
76
- parent.conditions.splice(position.index, 1);
77
-
78
- // If the last condition in a set was deleted, also delete the set.
79
- if (parent.conditions.length === 0) {
80
- previousItemId = getPreviousItemId(newState, position.parent);
81
- getParentSet(newState, position.parent).conditions.splice(position.parent.index, 1);
82
- }
83
- controlsRef.current[previousItemId].focus();
84
- update(newState);
85
- };
86
- return /*#__PURE__*/React__default.createElement("div", _extends({}, rest, {
87
- role: "group",
88
- className: classes,
89
- ref: ref,
90
- "data-testid": dataTestId
91
- }), /*#__PURE__*/React__default.createElement(LogicEditorContextProvider, {
92
- value: {
93
- onNewLogicItem: handleNewLogicItem,
94
- onSetChange: handleSetChange,
95
- onConditionChange: handleConditionChange,
96
- onDelete: handleDelete,
97
- defaultSetValue,
98
- fixedSet,
99
- conditionTemplate,
100
- translations,
101
- maxNestedSets,
102
- maxConditions,
103
- readOnly,
104
- rootDataTestId: dataTestId,
105
- controlsRef
106
- }
107
- }, /*#__PURE__*/React__default.createElement(ConditionSet, {
108
- value: state,
109
- level: 0,
110
- index: 0,
111
- firstFocusableElementRef: firstFocusableElementRef
112
- })));
113
- });
114
-
115
- export { LogicEditor as default };
@@ -1,8 +0,0 @@
1
- import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
-
3
- var css_248z = "._lHaOQ{width:100%}._oKKB5{display:flex;align-items:center}._i98h0{display:flex;flex-wrap:wrap;grid-gap:4px}._i98h0 :nth-last-child(2){margin-right:42px}._mu8Am{position:relative;padding-left:32px;padding-top:16px;display:flex}._oh1v2 ._mu8Am{padding-top:0;padding-left:16px}._oh1v2 ._mu8Am+._mu8Am{margin-top:16px}._65YmE{position:absolute;left:16px;top:0;height:34px;width:16px;border-left:1px solid #c2c2c2;border-bottom:1px solid #c2c2c2;border-bottom-left-radius:4px}._oh1v2 ._mu8Am:first-of-type ._65YmE{top:16px;border-bottom:none;border-bottom-left-radius:0;border-top:1px solid #c2c2c2;border-top-left-radius:4px}._oh1v2 ._65YmE{top:-16px;left:0}._oh1v2 ._mu8Am:not(:first-of-type):not(:last-of-type) ._65YmE{border-bottom-left-radius:0}._gw--7{margin-left:-46px}._as-xm{margin:0 2px 0 4px}._as-xm.focus-visible,._as-xm:focus-visible{outline-width:2px}._j7FsK{margin-left:4px}";
4
- var styles = {"set":"_lHaOQ","setWrapper":"_oKKB5","condition":"_i98h0","branch":"_mu8Am","fixedSet":"_oh1v2","connection":"_65YmE","conditionControlsContainer":"_gw--7","controls":"_as-xm","controlMenuItem":"_j7FsK"};
5
- var stylesheet="._lHaOQ{width:100%}._oKKB5{display:flex;align-items:center}._i98h0{display:flex;flex-wrap:wrap;grid-gap:4px}._i98h0 :nth-last-child(2){margin-right:42px}._mu8Am{position:relative;padding-left:32px;padding-top:16px;display:flex}._oh1v2 ._mu8Am{padding-top:0;padding-left:16px}._oh1v2 ._mu8Am+._mu8Am{margin-top:16px}._65YmE{position:absolute;left:16px;top:0;height:34px;width:16px;border-left:1px solid #c2c2c2;border-bottom:1px solid #c2c2c2;border-bottom-left-radius:4px}._oh1v2 ._mu8Am:first-of-type ._65YmE{top:16px;border-bottom:none;border-bottom-left-radius:0;border-top:1px solid #c2c2c2;border-top-left-radius:4px}._oh1v2 ._65YmE{top:-16px;left:0}._oh1v2 ._mu8Am:not(:first-of-type):not(:last-of-type) ._65YmE{border-bottom-left-radius:0}._gw--7{margin-left:-46px}._as-xm{margin:0 2px 0 4px}._as-xm.focus-visible,._as-xm:focus-visible{outline-width:2px}._j7FsK{margin-left:4px}";
6
- styleInject(css_248z);
7
-
8
- export { styles as default, stylesheet };
@@ -1,9 +0,0 @@
1
- import '../../utils/index.js';
2
- import createContextUtilities from '../../utils/createContextUtilities/createContextUtilities.js';
3
-
4
- const {
5
- Provider: LogicEditorContextProvider,
6
- useContext: useLogicEditorContext
7
- } = createContextUtilities();
8
-
9
- export { LogicEditorContextProvider, useLogicEditorContext };
@@ -1 +0,0 @@
1
- export { default as LogicEditor } from './LogicEditor.js';
@@ -1,140 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-use-before-define */
2
- const LOGIC_TYPE_CONDITION = 'condition';
3
- const LOGIC_TYPE_SET = 'set';
4
- const SET_VALUE_ANY = 'any';
5
- const SET_VALUE_ALL = 'all';
6
- function constructValidDefaultState(_ref) {
7
- let {
8
- defaultValue,
9
- defaultSetValue,
10
- fixedSet,
11
- maxNestedSets
12
- } = _ref;
13
- let clone;
14
- if (defaultValue) {
15
- clone = deepCopy(defaultValue);
16
- } else {
17
- clone = newConditionSet(defaultSetValue);
18
- }
19
- let internalMaxNestedSets = maxNestedSets;
20
- if (fixedSet) {
21
- internalMaxNestedSets = 0;
22
- }
23
- ensureFixedSetHasOneCondition(clone, fixedSet);
24
- pruneSets(clone, 0, internalMaxNestedSets);
25
- assignIdentifiersAndSetValues(clone, defaultSetValue);
26
- return clone;
27
- }
28
- function fixedSetHasNoConditions(defaultValue, fixedSet) {
29
- var _defaultValue$conditi;
30
- return fixedSet && defaultValue && (!(defaultValue !== null && defaultValue !== void 0 && defaultValue.conditions) || !((defaultValue === null || defaultValue === void 0 || (_defaultValue$conditi = defaultValue.conditions) === null || _defaultValue$conditi === void 0 ? void 0 : _defaultValue$conditi.length) >= 1));
31
- }
32
- function ensureFixedSetHasOneCondition(defaultValue, fixedSet) {
33
- if (fixedSetHasNoConditions(defaultValue, fixedSet)) {
34
- // eslint-disable-next-line no-param-reassign
35
- defaultValue.conditions = [newCondition()];
36
- }
37
- }
38
- function pruneSets(set, level, maxNestedSets) {
39
- if (level === maxNestedSets) {
40
- // eslint-disable-next-line no-param-reassign
41
- set.conditions = set.conditions.filter(condition => condition.logicType !== LOGIC_TYPE_SET);
42
- } else {
43
- set.conditions.forEach(condition => {
44
- if (condition.logicType === LOGIC_TYPE_SET) {
45
- pruneSets(condition, level + 1, maxNestedSets);
46
- }
47
- });
48
- }
49
- }
50
- function uuidv4() {
51
- return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, c => {
52
- // eslint-disable-next-line no-bitwise
53
- const r = Math.random() * 16 | 0;
54
- // eslint-disable-next-line no-bitwise
55
- const v = c === 'x' ? r : r & 0x3 | 0x8;
56
- return v.toString(16);
57
- });
58
- }
59
- function deepCopy(object) {
60
- return JSON.parse(JSON.stringify(object));
61
- }
62
- function shallowCopy(object) {
63
- return {
64
- ...object
65
- };
66
- }
67
- function newCondition() {
68
- return {
69
- id: uuidv4(),
70
- logicType: LOGIC_TYPE_CONDITION
71
- };
72
- }
73
- function newConditionSet(value) {
74
- return {
75
- id: uuidv4(),
76
- logicType: LOGIC_TYPE_SET,
77
- value,
78
- conditions: [newCondition()]
79
- };
80
- }
81
- function assignIdentifiersAndSetValues(tree, defaultSetValue) {
82
- const queue = [];
83
- queue.push(tree);
84
- while (queue.length > 0) {
85
- const node = queue.pop();
86
- if (!node.id) {
87
- node.id = uuidv4();
88
- }
89
- if (node.logicType === LOGIC_TYPE_SET && !node.value) {
90
- node.value = defaultSetValue;
91
- }
92
- if (node.conditions) {
93
- queue.push(...node.conditions);
94
- }
95
- }
96
- return tree;
97
- }
98
- function walkToRoot(position) {
99
- let root = {
100
- level: position.level,
101
- index: position.index
102
- };
103
- for (let current = position.parent; current; current = current.parent) {
104
- root = {
105
- level: current.level,
106
- index: current.index,
107
- child: {
108
- ...root
109
- }
110
- };
111
- }
112
- return root;
113
- }
114
- function getPreviousItemId(conditionRoot, position) {
115
- const parentSet = getParentSet(conditionRoot, position);
116
- if (position.index === 0) {
117
- // The previous item is the parent
118
- return parentSet.id;
119
- }
120
- // The previous item is the previous sibling's deepest child
121
- let previousIndex = position.index - 1;
122
- let previousItem = parentSet.conditions[previousIndex];
123
- while (previousItem.conditions) {
124
- previousIndex = previousItem.conditions.length - 1;
125
- previousItem = previousItem.conditions[previousIndex];
126
- }
127
- return previousItem.id;
128
- }
129
- function getParentSet(conditionRoot, position) {
130
- const positionFromRoot = walkToRoot(position);
131
- let set = conditionRoot;
132
- for (let {
133
- child
134
- } = positionFromRoot; child && child.child; child = child.child) {
135
- set = set.conditions[child.index];
136
- }
137
- return set;
138
- }
139
-
140
- export { LOGIC_TYPE_CONDITION, LOGIC_TYPE_SET, SET_VALUE_ALL, SET_VALUE_ANY, assignIdentifiersAndSetValues, constructValidDefaultState, getParentSet, getPreviousItemId, newCondition, newConditionSet, shallowCopy };