@qualtrics/ui-react 2.23.1-alpha.1 → 2.24.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.
- package/CHANGELOG.md +14 -0
- package/dist/__node_modules/style-inject/dist/style-inject.es.js +28 -0
- package/dist/__shared/cjs/index-654986dd.js +2058 -0
- package/dist/__shared/cjs/index-81fb69c9.js +12504 -0
- package/dist/components/Accordion/Accordion.js +90 -0
- package/dist/components/Accordion/Accordion2.js +8 -0
- package/dist/components/Accordion/AccordionContext.js +13 -0
- package/dist/components/Accordion/AccordionHeader.js +72 -0
- package/dist/components/Accordion/AccordionPanel.js +30 -0
- package/dist/components/Accordion/AccordionSection.js +40 -0
- package/dist/components/Accordion/index.js +4 -0
- package/dist/components/Banner/Banner.css.js +21 -0
- package/dist/components/Banner/Banner.css.ts.vanilla.js +8 -0
- package/dist/components/Banner/Banner.js +105 -0
- package/dist/components/Banner/index.js +1 -0
- package/dist/components/BreakpointSwitch/Breakpoint.js +16 -0
- package/dist/components/BreakpointSwitch/BreakpointContext.js +9 -0
- package/dist/components/BreakpointSwitch/BreakpointSwitch.js +34 -0
- package/dist/components/BreakpointSwitch/index.js +2 -0
- package/dist/components/Button/Button.js +8 -0
- package/dist/components/Button/Button2.js +51 -0
- package/dist/components/Button/index.js +1 -0
- package/dist/components/ButtonGroup/ButtonGroup.js +40 -0
- package/dist/components/ButtonGroup/ButtonGroup2.js +8 -0
- package/dist/components/ButtonGroup/index.js +1 -0
- package/dist/components/Checkbox/Check.js +18 -0
- package/dist/components/Checkbox/Checkbox.js +54 -0
- package/dist/components/Checkbox/Checkbox2.js +8 -0
- package/dist/components/Checkbox/CheckboxField.js +42 -0
- package/dist/components/Checkbox/VisualCheckbox.js +31 -0
- package/dist/components/Checkbox/VisualCheckbox2.js +8 -0
- package/dist/components/Checkbox/index.js +2 -0
- package/dist/components/ColorPicker/Alpha.js +106 -0
- package/dist/components/ColorPicker/ColorPicker.js +306 -0
- package/dist/components/ColorPicker/ColorPicker2.js +8 -0
- package/dist/components/ColorPicker/ColorPickerFlyout.js +100 -0
- package/dist/components/ColorPicker/ColorPickerFlyoutInputs.js +204 -0
- package/dist/components/ColorPicker/Hue.js +107 -0
- package/dist/components/ColorPicker/Palette.js +137 -0
- package/dist/components/ColorPicker/Saturation.js +129 -0
- package/dist/components/ColorPicker/index.js +1 -0
- package/dist/components/ColorPicker/utils/calculateTargetId.js +43 -0
- package/dist/components/ColorPicker/utils/defaultColorPalette.js +57 -0
- package/dist/components/ColorPicker/utils/getMousePosition.js +20 -0
- package/dist/components/ColorPicker/utils/hexToHsv.js +44 -0
- package/dist/components/ColorPicker/utils/hexToRgb.js +12 -0
- package/dist/components/ColorPicker/utils/hexToRgbaString.js +10 -0
- package/dist/components/ColorPicker/utils/hsvToHex.js +58 -0
- package/dist/components/ColorPicker/utils/index.js +9 -0
- package/dist/components/ColorPicker/utils/rgbToHex.js +13 -0
- package/dist/components/ColorPicker/utils/validateHex.js +43 -0
- package/dist/components/Combobox/Combobox.js +455 -0
- package/dist/components/Combobox/Combobox2.js +8 -0
- package/dist/components/Combobox/ComboboxContext.js +9 -0
- package/dist/components/Combobox/ComboboxHeader.js +21 -0
- package/dist/components/Combobox/ComboboxIcon.js +47 -0
- package/dist/components/Combobox/ComboboxInput.js +90 -0
- package/dist/components/Combobox/ComboboxList.js +57 -0
- package/dist/components/Combobox/ComboboxOption.js +25 -0
- package/dist/components/Combobox/index.js +5 -0
- package/dist/components/ConfigPane/ConfigPane.js +176 -0
- package/dist/components/ConfigPane/ConfigPane2.js +8 -0
- package/dist/components/ConfigPane/constants.js +9 -0
- package/dist/components/ConfigPane/index.js +1 -0
- package/dist/components/Divider/Divider.js +18 -0
- package/dist/components/Divider/Divider2.js +8 -0
- package/dist/components/Divider/index.js +1 -0
- package/dist/components/Dropdown/ChildIndexContext/index.js +34 -0
- package/dist/components/Dropdown/ChildIndexContext/reach-descendants.js +178 -0
- package/dist/components/Dropdown/Dropdown.js +285 -0
- package/dist/components/Dropdown/Dropdown2.js +8 -0
- package/dist/components/Dropdown/DropdownButton.js +161 -0
- package/dist/components/Dropdown/DropdownContext.js +9 -0
- package/dist/components/Dropdown/DropdownHeader.js +32 -0
- package/dist/components/Dropdown/DropdownHeaderContext.js +9 -0
- package/dist/components/Dropdown/DropdownList.js +106 -0
- package/dist/components/Dropdown/DropdownOption.js +112 -0
- package/dist/components/Dropdown/DropdownSearch.js +108 -0
- package/dist/components/Dropdown/index.js +5 -0
- package/dist/components/FilePicker/FilePicker.js +119 -0
- package/dist/components/FilePicker/FilePicker2.js +8 -0
- package/dist/components/FilePicker/index.js +1 -0
- package/dist/components/FormField/Caption.js +8 -0
- package/dist/components/FormField/ErrorText.js +25 -0
- package/dist/components/FormField/FormField.js +64 -0
- package/dist/components/FormField/FormField2.js +8 -0
- package/dist/components/FormField/FormFieldContext.js +40 -0
- package/dist/components/FormField/HelperText.js +19 -0
- package/dist/components/FormField/ReadOnlyText.js +28 -0
- package/dist/components/FormField/index.js +3 -0
- package/dist/components/FullScreenTakeover/FullScreenTakeover.js +79 -0
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +8 -0
- package/dist/components/FullScreenTakeover/index.js +1 -0
- package/dist/components/Icon/Icon.js +52 -0
- package/dist/components/Icon/IconTypes.js +499 -0
- package/dist/components/Icon/index.js +2 -0
- package/dist/components/IconButton/IconButton.js +58 -0
- package/dist/components/IconButton/IconButton2.js +8 -0
- package/dist/components/IconButton/index.js +3 -0
- package/dist/components/InlineInput/InlineInput.js +131 -0
- package/dist/components/InlineInput/InlineInput2.js +8 -0
- package/dist/components/InlineInput/index.js +1 -0
- package/dist/components/Input/Input.js +59 -0
- package/dist/components/Input/Input2.js +8 -0
- package/dist/components/Input/InputField.js +57 -0
- package/dist/components/Input/index.js +2 -0
- package/dist/components/InputGroup/InputGroup.js +33 -0
- package/dist/components/InputGroup/InputGroup2.js +8 -0
- package/dist/components/InputGroup/InputGroupAddon.js +23 -0
- package/dist/components/InputGroup/InputGroupProvider.js +33 -0
- package/dist/components/InputGroup/index.js +2 -0
- package/dist/components/Label/Label.js +27 -0
- package/dist/components/Label/Label2.js +8 -0
- package/dist/components/Label/index.js +1 -0
- package/dist/components/Link/Link.js +25 -0
- package/dist/components/Link/Link2.js +8 -0
- package/dist/components/Link/index.js +1 -0
- package/dist/components/LoadingSpinner/LoadingSpinner.js +51 -0
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +8 -0
- package/dist/components/LoadingSpinner/index.js +1 -0
- package/dist/components/LogicEditor/ConditionContainer.js +33 -0
- package/dist/components/LogicEditor/ConditionSet.js +181 -0
- package/dist/components/LogicEditor/Controls.js +99 -0
- package/dist/components/LogicEditor/LogicEditor.js +126 -0
- package/dist/components/LogicEditor/LogicEditor2.js +8 -0
- package/dist/components/LogicEditor/LogicEditorContext.js +9 -0
- package/dist/components/LogicEditor/index.js +1 -0
- package/dist/components/LogicEditor/utils.js +140 -0
- package/dist/components/Modal/Modal.js +270 -0
- package/dist/components/Modal/Modal2.js +8 -0
- package/dist/components/Modal/ModalContext.js +9 -0
- package/dist/components/Modal/index.js +1 -0
- package/dist/components/NewMenu/BaseMenu.js +429 -0
- package/dist/components/NewMenu/Menu/Menu.js +24 -0
- package/dist/components/NewMenu/Menu/index.js +1 -0
- package/dist/components/NewMenu/NewMenu.js +8 -0
- package/dist/components/NewMenu/SelectMenu/SelectMenu.js +27 -0
- package/dist/components/NewMenu/SelectMenu/index.js +1 -0
- package/dist/components/NewMenu/index.js +3 -0
- package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +169 -0
- package/dist/components/NewMenu/parts/ArrowNav/index.js +1 -0
- package/dist/components/NewMenu/parts/MenuAnchor.js +55 -0
- package/dist/components/NewMenu/parts/MenuContext.js +9 -0
- package/dist/components/NewMenu/parts/MenuItem.js +64 -0
- package/dist/components/NewMenu/parts/MenuSearchBox.js +34 -0
- package/dist/components/NewMenu/parts/MenuSpinner.js +13 -0
- package/dist/components/NewMenu/parts/SubmenuAnchor.js +25 -0
- package/dist/components/NewMenu/parts/index.js +7 -0
- package/dist/components/NumberStepper/NumberStepper.js +284 -0
- package/dist/components/NumberStepper/NumberStepper2.js +8 -0
- package/dist/components/NumberStepper/NumberStepperContext.js +9 -0
- package/dist/components/NumberStepper/NumberStepperDecrement.js +65 -0
- package/dist/components/NumberStepper/NumberStepperIncrement.js +65 -0
- package/dist/components/NumberStepper/NumberStepperInput.js +136 -0
- package/dist/components/NumberStepper/index.js +4 -0
- package/dist/components/PageLayout/MainContent.js +17 -0
- package/dist/components/PageLayout/PageContainer.js +17 -0
- package/dist/components/PageLayout/PageHeader.js +17 -0
- package/dist/components/PageLayout/PageLayout.js +8 -0
- package/dist/components/PageLayout/index.js +3 -0
- package/dist/components/Pagination/Pagination.js +87 -0
- package/dist/components/Pagination/Pagination2.js +8 -0
- package/dist/components/Pagination/PaginationContext.js +9 -0
- package/dist/components/Pagination/PaginationNextButton.js +67 -0
- package/dist/components/Pagination/PaginationPageInput.js +125 -0
- package/dist/components/Pagination/PaginationPreviousButton.js +66 -0
- package/dist/components/Pagination/index.js +4 -0
- package/dist/components/Popover/Popover.js +126 -0
- package/dist/components/Popover/Popover2.js +8 -0
- package/dist/components/Popover/index.js +1 -0
- package/dist/components/QuickSearch/QuickSearch.js +66 -0
- package/dist/components/QuickSearch/QuickSearch2.js +8 -0
- package/dist/components/QuickSearch/QuickSearchInput.js +135 -0
- package/dist/components/QuickSearch/index.js +1 -0
- package/dist/components/Radio/Radio.js +61 -0
- package/dist/components/Radio/Radio2.js +8 -0
- package/dist/components/Radio/RadioGroup.js +34 -0
- package/dist/components/Radio/RadioGroupContext.js +9 -0
- package/dist/components/Radio/RadioOption.js +36 -0
- package/dist/components/Radio/index.js +3 -0
- package/dist/components/SearchInput/SearchInput.js +113 -0
- package/dist/components/SearchInput/SearchInput2.js +8 -0
- package/dist/components/SearchInput/index.js +3 -0
- package/dist/components/SidebarNav/ExpandCollapseButton.js +52 -0
- package/dist/components/SidebarNav/SidebarNav.js +69 -0
- package/dist/components/SidebarNav/SidebarNav2.js +8 -0
- package/dist/components/SidebarNav/SidebarNavContext.js +9 -0
- package/dist/components/SidebarNav/SidebarNavLink.js +59 -0
- package/dist/components/SidebarNav/constants.js +9 -0
- package/dist/components/SidebarNav/index.js +2 -0
- package/dist/components/Slider/RangeSlider.js +139 -0
- package/dist/components/Slider/Slider.js +137 -0
- package/dist/components/Slider/Slider2.js +8 -0
- package/dist/components/Slider/SliderButton.js +80 -0
- package/dist/components/Slider/index.js +2 -0
- package/dist/components/Switch/Switch.js +54 -0
- package/dist/components/Switch/Switch2.js +8 -0
- package/dist/components/Switch/SwitchField.js +42 -0
- package/dist/components/Switch/index.js +2 -0
- package/dist/components/Table/Table.js +18 -0
- package/dist/components/Table/Table2.js +8 -0
- package/dist/components/Table/TableBody.js +18 -0
- package/dist/components/Table/TableCell.js +18 -0
- package/dist/components/Table/TableHead.js +18 -0
- package/dist/components/Table/TableHeaderCell.js +18 -0
- package/dist/components/Table/TableRow.js +18 -0
- package/dist/components/Table/index.js +6 -0
- package/dist/components/Tabs/Tab.js +51 -0
- package/dist/components/Tabs/TabContextProvider.js +33 -0
- package/dist/components/Tabs/TabList.js +108 -0
- package/dist/components/Tabs/TabPanel.js +35 -0
- package/dist/components/Tabs/TabPanels.js +19 -0
- package/dist/components/Tabs/Tabs.js +37 -0
- package/dist/components/Tabs/Tabs2.js +8 -0
- package/dist/components/Tabs/index.js +5 -0
- package/dist/components/Tooltip/Tooltip.js +238 -0
- package/dist/components/Tooltip/Tooltip2.js +8 -0
- package/dist/components/Tooltip/index.js +1 -0
- package/dist/components/UIProvider/PortalTargetContext.js +19 -0
- package/dist/components/UIProvider/UIProvider.js +19 -0
- package/dist/components/UIProvider/index.js +2 -0
- package/dist/components/deprecated_ColorPicker/Alpha.js +90 -0
- package/dist/components/deprecated_ColorPicker/Color.js +275 -0
- package/dist/components/deprecated_ColorPicker/ColorPicker.js +128 -0
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +8 -0
- package/dist/components/deprecated_ColorPicker/DEFAULT_SWATCH_COLORS.js +4 -0
- package/dist/components/deprecated_ColorPicker/HexInput.js +66 -0
- package/dist/components/deprecated_ColorPicker/Hue.js +87 -0
- package/dist/components/deprecated_ColorPicker/Saturation.js +120 -0
- package/dist/components/deprecated_ColorPicker/Swatch.js +30 -0
- package/dist/components/deprecated_ColorPicker/index.js +4 -0
- package/dist/components/deprecated_ColorPicker/isMouseEvent.js +5 -0
- package/dist/components/deprecated_ColorPicker/useMouseDrag.js +24 -0
- package/dist/components/deprecated_NumberStepper/NumberStepper.js +195 -0
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +8 -0
- package/dist/components/deprecated_NumberStepper/NumberStepperContext.js +9 -0
- package/dist/components/deprecated_NumberStepper/NumberStepperDecrement.js +71 -0
- package/dist/components/deprecated_NumberStepper/NumberStepperIncrement.js +71 -0
- package/dist/components/deprecated_NumberStepper/NumberStepperInput.js +147 -0
- package/dist/components/deprecated_NumberStepper/index.js +6 -0
- package/dist/components/deprecated_Tabs/Tab.js +37 -0
- package/dist/components/deprecated_Tabs/TabContextProvider.js +9 -0
- package/dist/components/deprecated_Tabs/Tabs.js +131 -0
- package/dist/components/deprecated_Tabs/Tabs2.js +8 -0
- package/dist/components/deprecated_Tabs/index.js +4 -0
- package/dist/components/deprecated_Toolbar/IconButtonWithLabel.js +26 -0
- package/dist/components/deprecated_Toolbar/Toolbar.js +44 -0
- package/dist/components/deprecated_Toolbar/Toolbar2.js +8 -0
- package/dist/components/deprecated_Toolbar/ToolbarContext.js +9 -0
- package/dist/components/deprecated_Toolbar/ToolbarPanel.js +46 -0
- package/dist/components/deprecated_Toolbar/ToolbarPanels.js +140 -0
- package/dist/components/deprecated_Toolbar/ToolbarTab.js +141 -0
- package/dist/components/deprecated_Toolbar/ToolbarTabs.js +150 -0
- package/dist/components/deprecated_Toolbar/index.js +7 -0
- package/dist/components/index.js +43 -0
- package/dist/hooks/index.js +19 -0
- package/dist/hooks/useBreakpoints/index.js +1 -0
- package/dist/hooks/useBreakpoints/useBreakpoints.js +46 -0
- package/dist/hooks/useClickOutside/index.js +1 -0
- package/dist/hooks/useClickOutside/useClickOutside.js +30 -0
- package/dist/hooks/useClickOutsidePortals/index.js +1 -0
- package/dist/hooks/useClickOutsidePortals/useClickOutsidePortals.js +34 -0
- package/dist/hooks/useControllableState/index.js +1 -0
- package/dist/hooks/useControllableState/useControllableState.js +88 -0
- package/dist/hooks/useDidUpdate/index.js +1 -0
- package/dist/hooks/useDidUpdate/useDidUpdate.js +30 -0
- package/dist/hooks/useEventCallback/index.js +1 -0
- package/dist/hooks/useEventCallback/useEventCallback.js +22 -0
- package/dist/hooks/useEventListener/index.js +1 -0
- package/dist/hooks/useEventListener/useEventListener.js +40 -0
- package/dist/hooks/useFocusSequence/index.js +1 -0
- package/dist/hooks/useFocusSequence/useFocusSequence.js +123 -0
- package/dist/hooks/useId/index.js +1 -0
- package/dist/hooks/useId/useId.js +14 -0
- package/dist/hooks/useIsFocused/index.js +1 -0
- package/dist/hooks/useIsFocused/useIsFocused.js +17 -0
- package/dist/hooks/useIsHovered/index.js +1 -0
- package/dist/hooks/useIsHovered/useIsHovered.js +17 -0
- package/dist/hooks/useIsTruncated/index.js +1 -0
- package/dist/hooks/useIsTruncated/useIsTruncated.js +40 -0
- package/dist/hooks/useLatest/index.js +1 -0
- package/dist/hooks/useLatest/useLatest.js +16 -0
- package/dist/hooks/useMounted/index.js +1 -0
- package/dist/hooks/useMounted/useMounted.js +20 -0
- package/dist/hooks/useMouseDrag/index.js +1 -0
- package/dist/hooks/useMouseDrag/useMouseDrag.js +29 -0
- package/dist/hooks/useOverlay/index.js +1 -0
- package/dist/hooks/useOverlay/useOverlay.js +68 -0
- package/dist/hooks/useOverlay/useOverlay2.js +8 -0
- package/dist/hooks/usePrevious/index.js +1 -0
- package/dist/hooks/usePrevious/usePrevious.js +16 -0
- package/dist/hooks/useResponsiveValue/index.js +1 -0
- package/dist/hooks/useResponsiveValue/useResponsiveValue.js +19 -0
- package/dist/hooks/useSSRLayoutEffect/index.js +1 -0
- package/dist/hooks/useSSRLayoutEffect/useSSRLayoutEffect.js +10 -0
- package/dist/hooks/useScreenReaderAnnouncement/index.js +1 -0
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement.js +72 -0
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +8 -0
- package/dist/icons/Icon.js +8 -0
- package/dist/icons/components/ABCIcon.js +6 -0
- package/dist/icons/components/AIIcon.js +6 -0
- package/dist/icons/components/AccessibilityIcon.js +6 -0
- package/dist/icons/components/AccountIcon.js +6 -0
- package/dist/icons/components/AccountsTableIcon.js +6 -0
- package/dist/icons/components/ActionPlanningIcon.js +6 -0
- package/dist/icons/components/ActiveIcon.js +6 -0
- package/dist/icons/components/AddIcon.js +6 -0
- package/dist/icons/components/AddItemIcon.js +6 -0
- package/dist/icons/components/AddonsIcon.js +6 -0
- package/dist/icons/components/AdminGearsIcon.js +6 -0
- package/dist/icons/components/AgentLeftIcon.js +6 -0
- package/dist/icons/components/AgentPerformanceIcon.js +6 -0
- package/dist/icons/components/AgentRightIcon.js +6 -0
- package/dist/icons/components/AggregateFunctionIcon.js +6 -0
- package/dist/icons/components/AlignImageBottomIcon.js +6 -0
- package/dist/icons/components/AlignImageCenterIcon.js +6 -0
- package/dist/icons/components/AlignImageLeftIcon.js +6 -0
- package/dist/icons/components/AlignImageMiddleIcon.js +6 -0
- package/dist/icons/components/AlignImageRightIcon.js +6 -0
- package/dist/icons/components/AlignImageTopIcon.js +6 -0
- package/dist/icons/components/AlignTextBottomIcon.js +6 -0
- package/dist/icons/components/AlignTextLeftIcon.js +6 -0
- package/dist/icons/components/AlignTextRightIcon.js +6 -0
- package/dist/icons/components/AlignTextTopIcon.js +6 -0
- package/dist/icons/components/AnimationIcon.js +6 -0
- package/dist/icons/components/AreaChartIcon.js +6 -0
- package/dist/icons/components/ArrayIcon.js +6 -0
- package/dist/icons/components/ArrowDownIcon.js +6 -0
- package/dist/icons/components/ArrowLeftIcon.js +6 -0
- package/dist/icons/components/ArrowRightIcon.js +6 -0
- package/dist/icons/components/ArrowUpIcon.js +6 -0
- package/dist/icons/components/AssignUserIcon.js +6 -0
- package/dist/icons/components/AutomatedSetupIcon.js +6 -0
- package/dist/icons/components/BarChartIcon.js +6 -0
- package/dist/icons/components/BellIcon.js +6 -0
- package/dist/icons/components/BellSnoozeIcon.js +6 -0
- package/dist/icons/components/BenchmarkGraphIcon.js +6 -0
- package/dist/icons/components/BinderClipIcon.js +6 -0
- package/dist/icons/components/BinocularsIcon.js +6 -0
- package/dist/icons/components/BlogIcon.js +6 -0
- package/dist/icons/components/BookmarkFillIcon.js +6 -0
- package/dist/icons/components/BookmarkIcon.js +6 -0
- package/dist/icons/components/BooksIcon.js +6 -0
- package/dist/icons/components/BooleanIcon.js +6 -0
- package/dist/icons/components/BorderColorElement1Icon.js +6 -0
- package/dist/icons/components/BorderColorIcon.js +6 -0
- package/dist/icons/components/BranchContinueIcon.js +6 -0
- package/dist/icons/components/BranchEndIcon.js +6 -0
- package/dist/icons/components/BranchExtensionIcon.js +6 -0
- package/dist/icons/components/BubbleCashIcon.js +6 -0
- package/dist/icons/components/BubbleChartIcon.js +6 -0
- package/dist/icons/components/BubbleClockIcon.js +6 -0
- package/dist/icons/components/BubbleDotsIcon.js +6 -0
- package/dist/icons/components/BubbleHelpIcon.js +6 -0
- package/dist/icons/components/BubbleIcon.js +6 -0
- package/dist/icons/components/BubbleInfoIcon.js +6 -0
- package/dist/icons/components/BubbleTranslateIcon.js +6 -0
- package/dist/icons/components/BugsIcon.js +6 -0
- package/dist/icons/components/BusinessImpactIcon.js +6 -0
- package/dist/icons/components/ButtonIcon.js +6 -0
- package/dist/icons/components/BxLogoIcon.js +6 -0
- package/dist/icons/components/CalendarAddIcon.js +6 -0
- package/dist/icons/components/CalendarCheckIcon.js +6 -0
- package/dist/icons/components/CalendarIcon.js +6 -0
- package/dist/icons/components/CameraIcon.js +6 -0
- package/dist/icons/components/CaretDownIcon.js +6 -0
- package/dist/icons/components/CaretLeftIcon.js +6 -0
- package/dist/icons/components/CaretRightIcon.js +6 -0
- package/dist/icons/components/CaretUpIcon.js +6 -0
- package/dist/icons/components/CarryForwardChoicesIcon.js +6 -0
- package/dist/icons/components/CatalogIcon.js +6 -0
- package/dist/icons/components/CenterXIcon.js +6 -0
- package/dist/icons/components/CenterYIcon.js +6 -0
- package/dist/icons/components/Chart19Icon.js +6 -0
- package/dist/icons/components/ChartImpactIcon.js +6 -0
- package/dist/icons/components/ChartParetoIcon.js +6 -0
- package/dist/icons/components/ChartPolarIcon.js +6 -0
- package/dist/icons/components/CheckIcon.js +6 -0
- package/dist/icons/components/ChevronDownIcon.js +6 -0
- package/dist/icons/components/ChevronLeftIcon.js +6 -0
- package/dist/icons/components/ChevronRightIcon.js +6 -0
- package/dist/icons/components/ChevronSetIcon.js +6 -0
- package/dist/icons/components/ChevronSkipBackIcon.js +6 -0
- package/dist/icons/components/ChevronSkipForwardIcon.js +6 -0
- package/dist/icons/components/ChevronUpIcon.js +6 -0
- package/dist/icons/components/ClassIcon.js +6 -0
- package/dist/icons/components/ClearFormattingIcon.js +6 -0
- package/dist/icons/components/ClipboardIcon.js +6 -0
- package/dist/icons/components/ClockIcon.js +6 -0
- package/dist/icons/components/CloseCaptioningIcon.js +6 -0
- package/dist/icons/components/CloseIcon.js +6 -0
- package/dist/icons/components/ClosePanelLeftIcon.js +6 -0
- package/dist/icons/components/ClosePanelRightIcon.js +6 -0
- package/dist/icons/components/CloudyIcon.js +6 -0
- package/dist/icons/components/CoachingPrioritiesIcon.js +6 -0
- package/dist/icons/components/CodeBracketsIcon.js +6 -0
- package/dist/icons/components/CoffeeIcon.js +6 -0
- package/dist/icons/components/ColumnFilterIcon.js +6 -0
- package/dist/icons/components/ColumnsIcon.js +6 -0
- package/dist/icons/components/CommentsIcon.js +6 -0
- package/dist/icons/components/ConditionIcon.js +6 -0
- package/dist/icons/components/ConstantSumIcon.js +6 -0
- package/dist/icons/components/ContactIcon.js +6 -0
- package/dist/icons/components/ContactListIcon.js +6 -0
- package/dist/icons/components/ContactsIcon.js +6 -0
- package/dist/icons/components/ConversationAgentIcon.js +6 -0
- package/dist/icons/components/ConversationCustomerIcon.js +6 -0
- package/dist/icons/components/ConversationSilenceIcon.js +6 -0
- package/dist/icons/components/ConversionIcon.js +6 -0
- package/dist/icons/components/CopyIcon.js +6 -0
- package/dist/icons/components/CoreXMIcon.js +6 -0
- package/dist/icons/components/CreditCardIcon.js +6 -0
- package/dist/icons/components/CrossAnalyticsIcon.js +6 -0
- package/dist/icons/components/CustomMetricIcon.js +6 -0
- package/dist/icons/components/CustomerLeftIcon.js +6 -0
- package/dist/icons/components/CustomerRightIcon.js +6 -0
- package/dist/icons/components/CxLogoIcon.js +6 -0
- package/dist/icons/components/DashboardIcon.js +6 -0
- package/dist/icons/components/DataAnalysisIcon.js +6 -0
- package/dist/icons/components/DataSourceIcon.js +6 -0
- package/dist/icons/components/DatabaseIcon.js +6 -0
- package/dist/icons/components/DeadClickIcon.js +6 -0
- package/dist/icons/components/DecimalIcon.js +6 -0
- package/dist/icons/components/DefaultChoiceIcon.js +6 -0
- package/dist/icons/components/DeltaIcon.js +6 -0
- package/dist/icons/components/DeniedIcon.js +6 -0
- package/dist/icons/components/DescriptiveTextIcon.js +6 -0
- package/dist/icons/components/DesktopIcon.js +6 -0
- package/dist/icons/components/DetectedIcon.js +6 -0
- package/dist/icons/components/DiamondIcon.js +6 -0
- package/dist/icons/components/DirectoryIcon.js +6 -0
- package/dist/icons/components/DisplayLogicIcon.js +6 -0
- package/dist/icons/components/DistributionSummaryIcon.js +6 -0
- package/dist/icons/components/DocumentAlertIcon.js +6 -0
- package/dist/icons/components/DogIcon.js +6 -0
- package/dist/icons/components/DonutChartIcon.js +6 -0
- package/dist/icons/components/DownloadIcon.js +6 -0
- package/dist/icons/components/DownvoteFilledIcon.js +6 -0
- package/dist/icons/components/DownvoteIcon.js +6 -0
- package/dist/icons/components/DraftIcon.js +6 -0
- package/dist/icons/components/DragAndDropIcon.js +6 -0
- package/dist/icons/components/DragIcon.js +6 -0
- package/dist/icons/components/DrilldownIcon.js +6 -0
- package/dist/icons/components/DropIcon.js +6 -0
- package/dist/icons/components/EXCOVIDReturnToWorkIcon.js +6 -0
- package/dist/icons/components/EXCOVIDSolutionIcon.js +6 -0
- package/dist/icons/components/EditorGenericIcon.js +6 -0
- package/dist/icons/components/EffortEasyIcon.js +6 -0
- package/dist/icons/components/EffortHardIcon.js +6 -0
- package/dist/icons/components/EffortIcon.js +6 -0
- package/dist/icons/components/EffortMixedIcon.js +6 -0
- package/dist/icons/components/EffortNegativeIcon.js +6 -0
- package/dist/icons/components/EffortNeutralIcon.js +6 -0
- package/dist/icons/components/EffortPositiveIcon.js +6 -0
- package/dist/icons/components/EffortVeryEasyIcon.js +6 -0
- package/dist/icons/components/EffortVeryHardIcon.js +6 -0
- package/dist/icons/components/EllipsisHorizontalIcon.js +6 -0
- package/dist/icons/components/EllipsisVerticalIcon.js +6 -0
- package/dist/icons/components/EmojiColorAngryIcon.js +6 -0
- package/dist/icons/components/EmojiColorHappiestIcon.js +6 -0
- package/dist/icons/components/EmojiColorHappyIcon.js +6 -0
- package/dist/icons/components/EmojiColorNotGreatIcon.js +6 -0
- package/dist/icons/components/EmojiColorOKIcon.js +6 -0
- package/dist/icons/components/EmojiColorPrettyGoodIcon.js +6 -0
- package/dist/icons/components/EmojiColorSadIcon.js +6 -0
- package/dist/icons/components/EmojiColorUnhappyIcon.js +6 -0
- package/dist/icons/components/EmojiMonoAngryIcon.js +6 -0
- package/dist/icons/components/EmojiMonoHappiestIcon.js +6 -0
- package/dist/icons/components/EmojiMonoHappyIcon.js +6 -0
- package/dist/icons/components/EmojiMonoNotGreatIcon.js +6 -0
- package/dist/icons/components/EmojiMonoOKIcon.js +6 -0
- package/dist/icons/components/EmojiMonoPrettyGoodIcon.js +6 -0
- package/dist/icons/components/EmojiMonoUnhappyIcon.js +6 -0
- package/dist/icons/components/Employee360Icon.js +6 -0
- package/dist/icons/components/EmployeeAdHocIcon.js +6 -0
- package/dist/icons/components/EmployeeEngagementIcon.js +6 -0
- package/dist/icons/components/EmployeeLifecycleIcon.js +6 -0
- package/dist/icons/components/EmployeePulseIcon.js +6 -0
- package/dist/icons/components/EmptyBoxIcon.js +6 -0
- package/dist/icons/components/EnvelopeClosedIcon.js +6 -0
- package/dist/icons/components/EnvelopeOpenedIcon.js +6 -0
- package/dist/icons/components/EnvelopeOptedOutIcon.js +6 -0
- package/dist/icons/components/ErrorClickIcon.js +6 -0
- package/dist/icons/components/ErrorIcon.js +6 -0
- package/dist/icons/components/EventTriggerIcon.js +6 -0
- package/dist/icons/components/ExLogoIcon.js +6 -0
- package/dist/icons/components/ExampleProjectIcon.js +6 -0
- package/dist/icons/components/ExcludeIcon.js +6 -0
- package/dist/icons/components/ExclusiveAnswerIcon.js +6 -0
- package/dist/icons/components/ExternalLinkIcon.js +6 -0
- package/dist/icons/components/EyeDropperIcon.js +6 -0
- package/dist/icons/components/FastForwardIcon.js +6 -0
- package/dist/icons/components/FastReplyIcon.js +6 -0
- package/dist/icons/components/FeedbackIcon.js +6 -0
- package/dist/icons/components/FileAudioIcon.js +6 -0
- package/dist/icons/components/FileExcelIcon.js +6 -0
- package/dist/icons/components/FileIcon.js +6 -0
- package/dist/icons/components/FilePdfIcon.js +6 -0
- package/dist/icons/components/FilterIcon.js +6 -0
- package/dist/icons/components/FingerprintIcon.js +6 -0
- package/dist/icons/components/FireIcon.js +6 -0
- package/dist/icons/components/FlagIcon.js +6 -0
- package/dist/icons/components/FolderFullIcon.js +6 -0
- package/dist/icons/components/FolderIcon.js +6 -0
- package/dist/icons/components/FolderOpenFullIcon.js +6 -0
- package/dist/icons/components/FolderOpenIcon.js +6 -0
- package/dist/icons/components/FontSizeIcon.js +6 -0
- package/dist/icons/components/FormFieldIcon.js +6 -0
- package/dist/icons/components/GalleryIcon.js +6 -0
- package/dist/icons/components/GaugeChartIcon.js +6 -0
- package/dist/icons/components/GlobeIcon.js +6 -0
- package/dist/icons/components/GraphicSliderIcon.js +6 -0
- package/dist/icons/components/GridViewIcon.js +6 -0
- package/dist/icons/components/HamburgerMenuIcon.js +6 -0
- package/dist/icons/components/HeadphonesIcon.js +6 -0
- package/dist/icons/components/HeadsetIcon.js +6 -0
- package/dist/icons/components/HealthWellnessIcon.js +6 -0
- package/dist/icons/components/HeatMapIcon.js +6 -0
- package/dist/icons/components/HelpIcon.js +6 -0
- package/dist/icons/components/HighVolumeIcon.js +6 -0
- package/dist/icons/components/HighlightIcon.js +6 -0
- package/dist/icons/components/HistoryIcon.js +6 -0
- package/dist/icons/components/HomeIcon.js +6 -0
- package/dist/icons/components/HotspotIcon.js +6 -0
- package/dist/icons/components/HyperlinkIcon.js +6 -0
- package/dist/icons/components/IceCreamIcon.js +6 -0
- package/dist/icons/components/IgnoredIcon.js +6 -0
- package/dist/icons/components/ImageIcon.js +6 -0
- package/dist/icons/components/ImportedDataIcon.js +6 -0
- package/dist/icons/components/InactiveIcon.js +6 -0
- package/dist/icons/components/IncompleteTranslationsIcon.js +6 -0
- package/dist/icons/components/IndentMoreIcon.js +6 -0
- package/dist/icons/components/InformationIcon.js +6 -0
- package/dist/icons/components/InlineQuestionIcon.js +6 -0
- package/dist/icons/components/InsertLineIcon.js +6 -0
- package/dist/icons/components/IntegerIcon.js +6 -0
- package/dist/icons/components/IntegrationIcon.js +6 -0
- package/dist/icons/components/IntensityHighIcon.js +6 -0
- package/dist/icons/components/IntensityLowIcon.js +6 -0
- package/dist/icons/components/IntensityMediumIcon.js +6 -0
- package/dist/icons/components/InterceptIcon.js +6 -0
- package/dist/icons/components/JoinInnerIcon.js +6 -0
- package/dist/icons/components/JoinLeftOuterIcon.js +6 -0
- package/dist/icons/components/JoinOuterIcon.js +6 -0
- package/dist/icons/components/JoinRightOuterIcon.js +6 -0
- package/dist/icons/components/JourneyMapIcon.js +6 -0
- package/dist/icons/components/KeyboardIcon.js +6 -0
- package/dist/icons/components/LibrariesIcon.js +6 -0
- package/dist/icons/components/LibraryLinkIcon.js +6 -0
- package/dist/icons/components/LightBulbIcon.js +6 -0
- package/dist/icons/components/LightningBoltIcon.js +6 -0
- package/dist/icons/components/LineChartIcon.js +6 -0
- package/dist/icons/components/ListBulletsIcon.js +6 -0
- package/dist/icons/components/ListCheckedIcon.js +6 -0
- package/dist/icons/components/ListNumbersIcon.js +6 -0
- package/dist/icons/components/LocationIcon.js +6 -0
- package/dist/icons/components/LockIcon.js +6 -0
- package/dist/icons/components/LogicTreeIcon.js +6 -0
- package/dist/icons/components/LookAndFeelIcon.js +6 -0
- package/dist/icons/components/LoopAndMergeIcon.js +6 -0
- package/dist/icons/components/LowerCaseIcon.js +6 -0
- package/dist/icons/components/MailboxIcon.js +6 -0
- package/dist/icons/components/MarkerIcon.js +6 -0
- package/dist/icons/components/MatrixTableIcon.js +6 -0
- package/dist/icons/components/MaximizeIcon.js +6 -0
- package/dist/icons/components/MegaphoneIcon.js +6 -0
- package/dist/icons/components/MergeIcon.js +6 -0
- package/dist/icons/components/MetadataIcon.js +6 -0
- package/dist/icons/components/MicrophoneIcon.js +6 -0
- package/dist/icons/components/MicrophoneMuteIcon.js +6 -0
- package/dist/icons/components/MinimizeIcon.js +6 -0
- package/dist/icons/components/MobileLandscapeIcon.js +6 -0
- package/dist/icons/components/MobilePortraitIcon.js +6 -0
- package/dist/icons/components/ModelsIcon.js +6 -0
- package/dist/icons/components/MoonIcon.js +6 -0
- package/dist/icons/components/MouseThrashIcon.js +6 -0
- package/dist/icons/components/MouseTrailIcon.js +6 -0
- package/dist/icons/components/MoveIcon.js +6 -0
- package/dist/icons/components/MultipleChoiceIcon.js +6 -0
- package/dist/icons/components/MusicNoteIcon.js +6 -0
- package/dist/icons/components/NPSIcon.js +6 -0
- package/dist/icons/components/NewCustomerIcon.js +6 -0
- package/dist/icons/components/NewTemplateIcon.js +6 -0
- package/dist/icons/components/NewspaperIcon.js +6 -0
- package/dist/icons/components/NotInFlowIcon.js +6 -0
- package/dist/icons/components/NumbersIcon.js +6 -0
- package/dist/icons/components/ObjectIcon.js +6 -0
- package/dist/icons/components/OnlinePanelIcon.js +6 -0
- package/dist/icons/components/OpenPanelLeftIcon.js +6 -0
- package/dist/icons/components/OpenPanelRightIcon.js +6 -0
- package/dist/icons/components/OrgHierarchyIcon.js +6 -0
- package/dist/icons/components/OutboxIcon.js +6 -0
- package/dist/icons/components/OutdentIcon.js +6 -0
- package/dist/icons/components/PageBreakIcon.js +6 -0
- package/dist/icons/components/PagesIcon.js +6 -0
- package/dist/icons/components/PaginateFilterIcon.js +6 -0
- package/dist/icons/components/PaintBrushIcon.js +6 -0
- package/dist/icons/components/PaintBrushRoundIcon.js +6 -0
- package/dist/icons/components/PaintBucketIcon.js +6 -0
- package/dist/icons/components/PaperClipIcon.js +6 -0
- package/dist/icons/components/ParagraphIcon.js +6 -0
- package/dist/icons/components/ParticipantInviteAutomationIcon.js +6 -0
- package/dist/icons/components/ParticipantPortalIcon.js +6 -0
- package/dist/icons/components/PartlyCloudyIcon.js +6 -0
- package/dist/icons/components/PasswordLockIcon.js +6 -0
- package/dist/icons/components/PauseCircleIcon.js +6 -0
- package/dist/icons/components/PauseIcon.js +6 -0
- package/dist/icons/components/PencilIcon.js +6 -0
- package/dist/icons/components/PercentageIcon.js +6 -0
- package/dist/icons/components/PhoneIcon.js +6 -0
- package/dist/icons/components/PickGroupRankIcon.js +6 -0
- package/dist/icons/components/PieChartIcon.js +6 -0
- package/dist/icons/components/PinIcon.js +6 -0
- package/dist/icons/components/PinToIcon.js +6 -0
- package/dist/icons/components/PipedTextIcon.js +6 -0
- package/dist/icons/components/PlayIcon.js +6 -0
- package/dist/icons/components/PlaybookIcon.js +6 -0
- package/dist/icons/components/PodcastIcon.js +6 -0
- package/dist/icons/components/PointerHandCursorIcon.js +6 -0
- package/dist/icons/components/PortalConfigIcon.js +6 -0
- package/dist/icons/components/PostcardIcon.js +6 -0
- package/dist/icons/components/PowerIcon.js +6 -0
- package/dist/icons/components/PreIcon.js +6 -0
- package/dist/icons/components/PresentationIcon.js +6 -0
- package/dist/icons/components/PrinterIcon.js +6 -0
- package/dist/icons/components/Priority1Icon.js +6 -0
- package/dist/icons/components/Priority2Icon.js +6 -0
- package/dist/icons/components/Priority3Icon.js +6 -0
- package/dist/icons/components/Priority4Icon.js +6 -0
- package/dist/icons/components/PrivateDataIcon.js +6 -0
- package/dist/icons/components/ProgramIcon.js +6 -0
- package/dist/icons/components/ProjectBarIcon.js +6 -0
- package/dist/icons/components/ProjectIcon.js +6 -0
- package/dist/icons/components/PublishIcon.js +6 -0
- package/dist/icons/components/PxLogoIcon.js +6 -0
- package/dist/icons/components/QRCodeIcon.js +6 -0
- package/dist/icons/components/QuestionBlockIcon.js +6 -0
- package/dist/icons/components/QuoteBoxIcon.js +6 -0
- package/dist/icons/components/QuotesIcon.js +6 -0
- package/dist/icons/components/RSSIcon.js +6 -0
- package/dist/icons/components/RageClickIcon.js +6 -0
- package/dist/icons/components/RainyIcon.js +6 -0
- package/dist/icons/components/RaiseHandIcon.js +6 -0
- package/dist/icons/components/RecodedValuesIcon.js +6 -0
- package/dist/icons/components/RecordIcon.js +6 -0
- package/dist/icons/components/RedoIcon.js +6 -0
- package/dist/icons/components/ReferenceBlockIcon.js +6 -0
- package/dist/icons/components/RefreshIcon.js +6 -0
- package/dist/icons/components/RemoveItemIcon.js +6 -0
- package/dist/icons/components/RemoveLinkIcon.js +6 -0
- package/dist/icons/components/ReplyIcon.js +6 -0
- package/dist/icons/components/ReportIcon.js +6 -0
- package/dist/icons/components/ReputationManagementIcon.js +6 -0
- package/dist/icons/components/RetweetIcon.js +6 -0
- package/dist/icons/components/ReusableChoicesIcon.js +6 -0
- package/dist/icons/components/ReverseIcon.js +6 -0
- package/dist/icons/components/RhoIcon.js +6 -0
- package/dist/icons/components/RichTextEditorIcon.js +6 -0
- package/dist/icons/components/RiskIcon.js +6 -0
- package/dist/icons/components/RobotIcon.js +6 -0
- package/dist/icons/components/RolesIcon.js +6 -0
- package/dist/icons/components/SMSIcon.js +6 -0
- package/dist/icons/components/SatisfactionChartsIcon.js +6 -0
- package/dist/icons/components/SaveIcon.js +6 -0
- package/dist/icons/components/ScheduledIcon.js +6 -0
- package/dist/icons/components/SchemaDataIcon.js +6 -0
- package/dist/icons/components/SchemaEditorIcon.js +6 -0
- package/dist/icons/components/ScorecardIcon.js +6 -0
- package/dist/icons/components/ScreenCaptureIcon.js +6 -0
- package/dist/icons/components/SearchAddIcon.js +6 -0
- package/dist/icons/components/SearchIcon.js +6 -0
- package/dist/icons/components/SegmentIcon.js +6 -0
- package/dist/icons/components/SelectColumnIcon.js +6 -0
- package/dist/icons/components/SendIcon.js +6 -0
- package/dist/icons/components/SentenceCaseIcon.js +6 -0
- package/dist/icons/components/SentimentMixedIcon.js +6 -0
- package/dist/icons/components/SentimentNegativeIcon.js +6 -0
- package/dist/icons/components/SentimentNeutralIcon.js +6 -0
- package/dist/icons/components/SentimentPositiveIcon.js +6 -0
- package/dist/icons/components/SentimentVeryNegativeIcon.js +6 -0
- package/dist/icons/components/SentimentVeryPositiveIcon.js +6 -0
- package/dist/icons/components/SettingsIcon.js +6 -0
- package/dist/icons/components/ShareIcon.js +6 -0
- package/dist/icons/components/SharedFolderIcon.js +6 -0
- package/dist/icons/components/ShieldIcon.js +6 -0
- package/dist/icons/components/ShuffleIcon.js +6 -0
- package/dist/icons/components/SideBySideIcon.js +6 -0
- package/dist/icons/components/SignatureIcon.js +6 -0
- package/dist/icons/components/SkipBackIcon.js +6 -0
- package/dist/icons/components/SkipForwardIcon.js +6 -0
- package/dist/icons/components/SkipIcon.js +6 -0
- package/dist/icons/components/SliderIcon.js +6 -0
- package/dist/icons/components/SliderOptionsIcon.js +6 -0
- package/dist/icons/components/SmallCapsIcon.js +6 -0
- package/dist/icons/components/SocialResponseIcon.js +6 -0
- package/dist/icons/components/SortAlphabeticAscendingIcon.js +6 -0
- package/dist/icons/components/SortAlphabeticDescendingIcon.js +6 -0
- package/dist/icons/components/SortBothIcon.js +6 -0
- package/dist/icons/components/SortDownIcon.js +6 -0
- package/dist/icons/components/SortNumberAscendingIcon.js +6 -0
- package/dist/icons/components/SortNumberDescendingIcon.js +6 -0
- package/dist/icons/components/SortUpIcon.js +6 -0
- package/dist/icons/components/SparkleIcon.js +6 -0
- package/dist/icons/components/SpecialCharactersIcon.js +6 -0
- package/dist/icons/components/SpinnerIcon.js +6 -0
- package/dist/icons/components/SquareMinusIcon.js +6 -0
- package/dist/icons/components/SquarePlusIcon.js +6 -0
- package/dist/icons/components/StarFilledIcon.js +6 -0
- package/dist/icons/components/StarHalfIcon.js +6 -0
- package/dist/icons/components/StarOutlinedIcon.js +6 -0
- package/dist/icons/components/StarRankingIcon.js +6 -0
- package/dist/icons/components/StatsAnalysisIcon.js +6 -0
- package/dist/icons/components/StopRecordingIcon.js +6 -0
- package/dist/icons/components/StormyIcon.js +6 -0
- package/dist/icons/components/StrategicAccountsIcon.js +6 -0
- package/dist/icons/components/StudentIcon.js +6 -0
- package/dist/icons/components/SubscriptIcon.js +6 -0
- package/dist/icons/components/SubtractIcon.js +6 -0
- package/dist/icons/components/SuccessIcon.js +6 -0
- package/dist/icons/components/SumIcon.js +6 -0
- package/dist/icons/components/SunnyIcon.js +6 -0
- package/dist/icons/components/SuperscriptIcon.js +6 -0
- package/dist/icons/components/SurveyCompleteIcon.js +6 -0
- package/dist/icons/components/SurveyDirectorIcon.js +6 -0
- package/dist/icons/components/SurveyExpiredIcon.js +6 -0
- package/dist/icons/components/SurveyIQIcon.js +6 -0
- package/dist/icons/components/SurveyIcon.js +6 -0
- package/dist/icons/components/SurveyInviteIcon.js +6 -0
- package/dist/icons/components/TableAppendIcon.js +6 -0
- package/dist/icons/components/TableIcon.js +6 -0
- package/dist/icons/components/TabletIcon.js +6 -0
- package/dist/icons/components/TagIcon.js +6 -0
- package/dist/icons/components/TeacherIcon.js +6 -0
- package/dist/icons/components/TemplateIcon.js +6 -0
- package/dist/icons/components/TextAlignCenterIcon.js +6 -0
- package/dist/icons/components/TextAlignJustifiedIcon.js +6 -0
- package/dist/icons/components/TextAlignLeftIcon.js +6 -0
- package/dist/icons/components/TextAlignRightIcon.js +6 -0
- package/dist/icons/components/TextAnalysisIcon.js +6 -0
- package/dist/icons/components/TextBlockIcon.js +6 -0
- package/dist/icons/components/TextBoldIcon.js +6 -0
- package/dist/icons/components/TextBottomToTopIcon.js +6 -0
- package/dist/icons/components/TextColorIcon.js +6 -0
- package/dist/icons/components/TextColorLetterIcon.js +6 -0
- package/dist/icons/components/TextColorSwatchIcon.js +6 -0
- package/dist/icons/components/TextEntryIcon.js +6 -0
- package/dist/icons/components/TextItalicIcon.js +6 -0
- package/dist/icons/components/TextLeftToRightIcon.js +6 -0
- package/dist/icons/components/TextRightToLeftIcon.js +6 -0
- package/dist/icons/components/TextStrikeThroughIcon.js +6 -0
- package/dist/icons/components/TextUnderlineIcon.js +6 -0
- package/dist/icons/components/ThirdPartyQuestionIcon.js +6 -0
- package/dist/icons/components/ThreeSixtyProjectIcon.js +6 -0
- package/dist/icons/components/ThumbsDownIcon.js +6 -0
- package/dist/icons/components/ThumbsUpIcon.js +6 -0
- package/dist/icons/components/TicketsIcon.js +6 -0
- package/dist/icons/components/TimingIcon.js +6 -0
- package/dist/icons/components/ToolsIcon.js +6 -0
- package/dist/icons/components/TransactionIcon.js +6 -0
- package/dist/icons/components/TranslationIcon.js +6 -0
- package/dist/icons/components/TrashIcon.js +6 -0
- package/dist/icons/components/UndetectedIcon.js +6 -0
- package/dist/icons/components/UndoIcon.js +6 -0
- package/dist/icons/components/UnionIcon.js +6 -0
- package/dist/icons/components/UniqueLinkIcon.js +6 -0
- package/dist/icons/components/UnlinkIcon.js +6 -0
- package/dist/icons/components/UnlockIcon.js +6 -0
- package/dist/icons/components/UnpinIcon.js +6 -0
- package/dist/icons/components/UpDownIcon.js +6 -0
- package/dist/icons/components/UploadIcon.js +6 -0
- package/dist/icons/components/UpperCaseIcon.js +6 -0
- package/dist/icons/components/UpvoteFilledIcon.js +6 -0
- package/dist/icons/components/UpvoteIcon.js +6 -0
- package/dist/icons/components/UserGroupIcon.js +6 -0
- package/dist/icons/components/UserIcon.js +6 -0
- package/dist/icons/components/UserLockedIcon.js +6 -0
- package/dist/icons/components/ValidationIcon.js +6 -0
- package/dist/icons/components/VariableNamingIcon.js +6 -0
- package/dist/icons/components/VideoIcon.js +6 -0
- package/dist/icons/components/ViewOffIcon.js +6 -0
- package/dist/icons/components/ViewOnIcon.js +6 -0
- package/dist/icons/components/VocalizeDashboardIcon.js +6 -0
- package/dist/icons/components/VolumeIcon.js +6 -0
- package/dist/icons/components/VolumeLowIcon.js +6 -0
- package/dist/icons/components/VolumeMuteIcon.js +6 -0
- package/dist/icons/components/WaffleMenuIcon.js +6 -0
- package/dist/icons/components/WarningIcon.js +6 -0
- package/dist/icons/components/WebhookIcon.js +6 -0
- package/dist/icons/components/WhatsAppIcon.js +6 -0
- package/dist/icons/components/WidgetsIcon.js +6 -0
- package/dist/icons/components/WifiIcon.js +6 -0
- package/dist/icons/components/WorkflowsIcon.js +6 -0
- package/dist/icons/components/WorkingFromHomeIcon.js +6 -0
- package/dist/icons/createIconComponent.js +41 -0
- package/dist/icons/index.d.ts +1004 -0
- package/dist/icons/index.es.js +496 -0
- package/dist/icons/index.js +505 -0
- package/dist/index.d.ts +2100 -0
- package/dist/index.es.js +106 -0
- package/dist/index.js +128 -0
- package/dist/next/AdvancedTable/AdvancedTable.js +913 -0
- package/dist/next/AdvancedTable/AdvancedTable2.js +8 -0
- package/dist/next/AdvancedTable/AdvancedTableCell.js +104 -0
- package/dist/next/AdvancedTable/AdvancedTableCheckbox.js +51 -0
- package/dist/next/AdvancedTable/AdvancedTableColumnHeader.js +330 -0
- package/dist/next/AdvancedTable/AdvancedTableColumnHeaderMenu.js +141 -0
- package/dist/next/AdvancedTable/AdvancedTableColumnHeaders.js +24 -0
- package/dist/next/AdvancedTable/AdvancedTableDragPreview.js +35 -0
- package/dist/next/AdvancedTable/AdvancedTableHiddenDescription.js +20 -0
- package/dist/next/AdvancedTable/AdvancedTablePagination.js +36 -0
- package/dist/next/AdvancedTable/AdvancedTableRow.js +35 -0
- package/dist/next/AdvancedTable/AdvancedTableRowExpandButton.js +45 -0
- package/dist/next/AdvancedTable/AdvancedTableTypes.js +18 -0
- package/dist/next/AdvancedTable/index.js +3 -0
- package/dist/next/AdvancedTable/useAdvancedTableDragAndDrop.js +171 -0
- package/dist/next/AdvancedTable/useComputedWidth.js +9 -0
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput.js +133 -0
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +8 -0
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInputIconButton.js +30 -0
- package/dist/next/CollapsibleSearchInput/index.js +1 -0
- package/dist/next/Combobox/Combobox.js +85 -0
- package/dist/next/Combobox/Combobox2.js +8 -0
- package/dist/next/Combobox/ComboboxContext.js +9 -0
- package/dist/next/Combobox/ComboboxFlyout.js +53 -0
- package/dist/next/Combobox/ComboboxGroup.js +55 -0
- package/dist/next/Combobox/ComboboxGroupContext.js +19 -0
- package/dist/next/Combobox/ComboboxInput.js +154 -0
- package/dist/next/Combobox/ComboboxOption.js +76 -0
- package/dist/next/Combobox/hooks/index.js +7 -0
- package/dist/next/Combobox/hooks/useComboboxFilteredGroup/index.js +1 -0
- package/dist/next/Combobox/hooks/useComboboxFilteredGroup/useComboboxFilteredGroup.js +43 -0
- package/dist/next/Combobox/hooks/useComboboxFocusSequence/index.js +1 -0
- package/dist/next/Combobox/hooks/useComboboxFocusSequence/useComboboxFocusSequence.js +290 -0
- package/dist/next/Combobox/hooks/useComboboxLoadingState/index.js +1 -0
- package/dist/next/Combobox/hooks/useComboboxLoadingState/useComboboxLoadingState.js +56 -0
- package/dist/next/Combobox/hooks/useComboboxValue/index.js +1 -0
- package/dist/next/Combobox/hooks/useComboboxValue/useComboboxValue.js +35 -0
- package/dist/next/Combobox/hooks/useListboxFlyoutDimensions/index.js +1 -0
- package/dist/next/Combobox/hooks/useListboxFlyoutDimensions/useListboxFlyoutDimensions.js +54 -0
- package/dist/next/Combobox/hooks/useSelectedOptionScroll/index.js +1 -0
- package/dist/next/Combobox/hooks/useSelectedOptionScroll/useSelectedOptionScroll.js +32 -0
- package/dist/next/Combobox/hooks/useShouldRenderGroupHeader/index.js +1 -0
- package/dist/next/Combobox/hooks/useShouldRenderGroupHeader/useShouldRenderGroupHeader.js +28 -0
- package/dist/next/Combobox/index.js +5 -0
- package/dist/next/Combobox/utils/index.js +1 -0
- package/dist/next/Combobox/utils/nodeRegistration/index.js +1 -0
- package/dist/next/Combobox/utils/nodeRegistration/nodeRegistration.js +35 -0
- package/dist/next/Drawer/Drawer.js +134 -0
- package/dist/next/Drawer/Drawer2.js +8 -0
- package/dist/next/Drawer/index.js +1 -0
- package/dist/next/FilterAnchor/FilterAnchor.js +101 -0
- package/dist/next/FilterAnchor/FilterAnchor2.js +8 -0
- package/dist/next/FilterAnchor/index.js +1 -0
- package/dist/next/Input/Input.js +75 -0
- package/dist/next/Input/Input2.js +8 -0
- package/dist/next/Input/index.js +1 -0
- package/dist/next/Menu/Menu.js +90 -0
- package/dist/next/Menu/Menu2.js +8 -0
- package/dist/next/Menu/MenuButton.js +64 -0
- package/dist/next/Menu/MenuContext.js +39 -0
- package/dist/next/Menu/MenuItem.js +81 -0
- package/dist/next/Menu/MenuPane.js +178 -0
- package/dist/next/Menu/MenuSearch.js +37 -0
- package/dist/next/Menu/SubMenu.js +208 -0
- package/dist/next/Menu/constants.js +19 -0
- package/dist/next/Menu/index.js +5 -0
- package/dist/next/Menu/useCSSVariable.js +10 -0
- package/dist/next/Menu/useMutationObserver.js +17 -0
- package/dist/next/Menu/usePaneSearch.js +128 -0
- package/dist/next/PhoneNumberInput/PhoneNumberInput.js +121 -0
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +8 -0
- package/dist/next/PhoneNumberInput/index.js +1 -0
- package/dist/next/SplitButton/SplitButton.js +96 -0
- package/dist/next/SplitButton/SplitButton2.js +8 -0
- package/dist/next/SplitButton/SplitButtonOption.js +22 -0
- package/dist/next/SplitButton/index.js +2 -0
- package/dist/next/Stack/HStack.js +11 -0
- package/dist/next/Stack/Stack.js +95 -0
- package/dist/next/Stack/StackItem.js +37 -0
- package/dist/next/Stack/VStack.js +11 -0
- package/dist/next/Stack/index.js +3 -0
- package/dist/next/TimePicker/TimeDropdown.js +77 -0
- package/dist/next/TimePicker/TimeInput.js +86 -0
- package/dist/next/TimePicker/TimePicker.js +234 -0
- package/dist/next/TimePicker/TimePicker2.js +8 -0
- package/dist/next/TimePicker/TimePickerIcon.js +35 -0
- package/dist/next/TimePicker/index.js +1 -0
- package/dist/next/TimePicker/utils.js +176 -0
- package/dist/next/ToggleButton/ToggleButton.js +74 -0
- package/dist/next/ToggleButton/ToggleButtonGroup.js +40 -0
- package/dist/next/ToggleButton/ToggleButtonGroupContext.js +9 -0
- package/dist/next/ToggleButton/index.js +2 -0
- package/dist/next/ToggleButton/styles.js +8 -0
- package/dist/next/index.d.ts +471 -0
- package/dist/next/index.es.js +38 -0
- package/dist/next/index.js +4968 -0
- package/dist/translations-en.js +69 -0
- package/dist/utils/Flyout/Flyout.js +58 -0
- package/dist/utils/Flyout/Flyout2.js +8 -0
- package/dist/utils/Flyout/FlyoutHeader.js +24 -0
- package/dist/utils/Flyout/FlyoutOption.js +31 -0
- package/dist/utils/Flyout/index.js +3 -0
- package/dist/utils/Popper/Popper.js +191 -0
- package/dist/utils/Popper/Popper2.js +8 -0
- package/dist/utils/Popper/PopperContext.js +11 -0
- package/dist/utils/Popper/index.js +1 -0
- package/dist/utils/Portal/Portal.js +26 -0
- package/dist/utils/Portal/index.js +1 -0
- package/dist/utils/Text/Text.js +38 -0
- package/dist/utils/Text/index.js +1 -0
- package/dist/utils/TextOverflowTooltip/TextOverflowTooltip.js +50 -0
- package/dist/utils/TextOverflowTooltip/index.js +1 -0
- package/dist/utils/Translation/Translate.js +65 -0
- package/dist/utils/Translation/TranslationProvider.js +26 -0
- package/dist/utils/Translation/containsComponentOrElement.js +22 -0
- package/dist/utils/Translation/index.js +3 -0
- package/dist/utils/Translation/insertPlaceholders.js +13 -0
- package/dist/utils/Translation/useTranslation.js +50 -0
- package/dist/utils/canUseDOM/canUseDOM.js +9 -0
- package/dist/utils/canUseDOM/index.js +1 -0
- package/dist/utils/concatIds/concatIds.js +13 -0
- package/dist/utils/concatIds/index.js +1 -0
- package/dist/utils/constants.js +25 -0
- package/dist/utils/createContextUtilities/createContextUtilities.js +19 -0
- package/dist/utils/createContextUtilities/index.js +1 -0
- package/dist/utils/filterChildren/filterChildren.js +53 -0
- package/dist/utils/filterChildren/index.js +1 -0
- package/dist/utils/getSubDataTestId/getSubDataTestId.js +14 -0
- package/dist/utils/getSubDataTestId/index.js +1 -0
- package/dist/utils/index.js +16 -0
- package/dist/utils/mediaQueryManager/index.js +1 -0
- package/dist/utils/mediaQueryManager/mediaQueryManager.js +48 -0
- package/dist/utils/mergeRefs/index.js +1 -0
- package/dist/utils/mergeRefs/mergeRefs.js +27 -0
- package/dist/utils/sharedTypes.js +1 -0
- package/dist/utils/wrapAround/index.js +1 -0
- package/dist/utils/wrapAround/wrapAround.js +23 -0
- package/dist/utils/wrapEvent/index.js +1 -0
- package/dist/utils/wrapEvent/wrapEvent.js +18 -0
- package/icons/package.json +24 -0
- package/next/package.json +27 -0
- package/package.json +1 -1
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default, { forwardRef, useRef, useState } from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import styles from './InlineInput2.js';
|
|
5
|
+
import '../../utils/index.js';
|
|
6
|
+
import '../../hooks/index.js';
|
|
7
|
+
import useIsFocused from '../../hooks/useIsFocused/useIsFocused.js';
|
|
8
|
+
import useEventCallback from '../../hooks/useEventCallback/useEventCallback.js';
|
|
9
|
+
import { useDidUpdate } from '../../hooks/useDidUpdate/useDidUpdate.js';
|
|
10
|
+
import useEventListener from '../../hooks/useEventListener/useEventListener.js';
|
|
11
|
+
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
12
|
+
|
|
13
|
+
const InlineInput = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
14
|
+
let {
|
|
15
|
+
className,
|
|
16
|
+
defaultValue,
|
|
17
|
+
onChange,
|
|
18
|
+
onBlur,
|
|
19
|
+
onFocus,
|
|
20
|
+
onKeyDown,
|
|
21
|
+
onMouseDown,
|
|
22
|
+
tabIndex = 0,
|
|
23
|
+
...rest
|
|
24
|
+
} = _ref;
|
|
25
|
+
const internalRef = useRef(null);
|
|
26
|
+
const [lastVal, setLastVal] = useState(defaultValue);
|
|
27
|
+
const [isEditing, setIsEditing] = useState(false);
|
|
28
|
+
const [focusRef, isFocused] = useIsFocused();
|
|
29
|
+
const handleChange = useEventCallback(e => {
|
|
30
|
+
const newVal = e.target.innerText;
|
|
31
|
+
if (newVal !== lastVal) {
|
|
32
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
33
|
+
// @ts-ignore: Property 'value' does not exist on type 'HTMLSpanElement'
|
|
34
|
+
e.target.value = newVal;
|
|
35
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(e);
|
|
36
|
+
setLastVal(newVal);
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
const handleBlur = e => {
|
|
40
|
+
setIsEditing(false);
|
|
41
|
+
e.target.value = e.target.innerText;
|
|
42
|
+
onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
|
|
43
|
+
};
|
|
44
|
+
const handleFocus = e => {
|
|
45
|
+
setIsEditing(true);
|
|
46
|
+
e.target.value = e.target.innerText;
|
|
47
|
+
onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);
|
|
48
|
+
};
|
|
49
|
+
const handleKeyDown = e => {
|
|
50
|
+
if (e.key === 'Enter') {
|
|
51
|
+
e.preventDefault(); // Prevent form submission
|
|
52
|
+
setIsEditing(v => !v);
|
|
53
|
+
} else if (e.key === 'Escape' && isEditing) {
|
|
54
|
+
e.preventDefault(); // Prevent clearing the text in some browsers
|
|
55
|
+
e.stopPropagation(); // prevent event from closing modals or popovers
|
|
56
|
+
setIsEditing(false);
|
|
57
|
+
}
|
|
58
|
+
onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
|
|
59
|
+
};
|
|
60
|
+
const handleMouseDown = e => {
|
|
61
|
+
if (isFocused) {
|
|
62
|
+
setIsEditing(true);
|
|
63
|
+
}
|
|
64
|
+
onMouseDown === null || onMouseDown === void 0 ? void 0 : onMouseDown(e);
|
|
65
|
+
};
|
|
66
|
+
const handlePaste = e => {
|
|
67
|
+
// Strip formatting and newlines from pasted data
|
|
68
|
+
if (typeof window !== 'undefined') {
|
|
69
|
+
e.preventDefault(); // prevent paste and manually insert text after stripping formatting
|
|
70
|
+
const text = e.clipboardData.getData('text').replace(/[\n\r]/g, ' ');
|
|
71
|
+
const selection = window.getSelection();
|
|
72
|
+
const range = selection === null || selection === void 0 ? void 0 : selection.getRangeAt(0);
|
|
73
|
+
if (range && selection) {
|
|
74
|
+
range.deleteContents();
|
|
75
|
+
const textNode = document.createTextNode(text);
|
|
76
|
+
range.insertNode(textNode);
|
|
77
|
+
range.selectNodeContents(textNode);
|
|
78
|
+
range.collapse(false);
|
|
79
|
+
selection.removeAllRanges();
|
|
80
|
+
selection.addRange(range);
|
|
81
|
+
handleChange(e);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
useDidUpdate(() => {
|
|
86
|
+
if (typeof window !== 'undefined') {
|
|
87
|
+
var _window$getSelection2;
|
|
88
|
+
if (isEditing && isFocused && internalRef.current) {
|
|
89
|
+
var _window$getSelection;
|
|
90
|
+
(_window$getSelection = window.getSelection()) === null || _window$getSelection === void 0 ? void 0 : _window$getSelection.selectAllChildren(internalRef.current);
|
|
91
|
+
}
|
|
92
|
+
// Clear window selection only if it is on the InlineInput. Without this check, we would mistakenly clear the
|
|
93
|
+
// selection after focus moves from this component to an Input or another component that sets the window selection.
|
|
94
|
+
else if (internalRef.current && (_window$getSelection2 = window.getSelection()) !== null && _window$getSelection2 !== void 0 && _window$getSelection2.containsNode(internalRef.current, true)) {
|
|
95
|
+
var _window$getSelection3;
|
|
96
|
+
(_window$getSelection3 = window.getSelection()) === null || _window$getSelection3 === void 0 ? void 0 : _window$getSelection3.removeAllRanges();
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}, [isEditing, isFocused]);
|
|
100
|
+
|
|
101
|
+
// The event listener only triggers the change handler in IE 11. In IE 11, `onInput` does not trigger the change handler.
|
|
102
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
103
|
+
// @ts-ignore: `textinput` is a non-standard IE only event so TS doesn't recognize it
|
|
104
|
+
useEventListener(internalRef, 'textinput', handleChange);
|
|
105
|
+
|
|
106
|
+
// Need additional wrapper div to prevent focus from being sent to contentEditable span unintentionally
|
|
107
|
+
// stack overflow:
|
|
108
|
+
// https://stackoverflow.com/questions/34354085/clicking-outside-a-contenteditable-div-stills-give-focus-to-it
|
|
109
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
110
|
+
className: styles.container
|
|
111
|
+
}, /*#__PURE__*/React__default.createElement("span", _extends({}, rest, {
|
|
112
|
+
ref: mergeRefs(ref, internalRef, focusRef),
|
|
113
|
+
className: classNames(className, styles.inlineInput, {
|
|
114
|
+
[styles.isEditing]: isEditing
|
|
115
|
+
}),
|
|
116
|
+
contentEditable: !isFocused || isEditing,
|
|
117
|
+
suppressContentEditableWarning: !isFocused || isEditing,
|
|
118
|
+
onBlur: handleBlur,
|
|
119
|
+
onKeyDown: handleKeyDown,
|
|
120
|
+
onMouseDown: handleMouseDown,
|
|
121
|
+
onInput: handleChange,
|
|
122
|
+
onFocus: handleFocus,
|
|
123
|
+
onPaste: handlePaste,
|
|
124
|
+
role: "textbox",
|
|
125
|
+
"aria-multiline": "false",
|
|
126
|
+
"aria-readonly": isFocused && !isEditing,
|
|
127
|
+
tabIndex: tabIndex
|
|
128
|
+
}), defaultValue));
|
|
129
|
+
});
|
|
130
|
+
|
|
131
|
+
export { InlineInput as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = "._9qJwr{display:inline-block}._VebPs{color:#085caf;cursor:pointer;font-size:14px;box-sizing:border-box;padding:4px;margin:-5px;outline:0;border:1px solid transparent;border-radius:4px;background-clip:padding-box;display:block}._VebPs::-moz-selection{background-color:rgba(11,110,208,.11)}._VebPs::selection{background-color:rgba(11,110,208,.11)}._VebPs:focus,._VebPs:hover{background-color:#f5f5f5}._VebPs:focus{border:2px solid #0a3f88;padding:3px}._VebPs:focus._s5S-s{background-color:#fafafa;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 1px 8px hsla(0,0%,66.7%,.5)}";
|
|
4
|
+
var styles = {"container":"_9qJwr","inlineInput":"_VebPs","isEditing":"_s5S-s"};
|
|
5
|
+
var stylesheet="._9qJwr{display:inline-block}._VebPs{color:#085caf;cursor:pointer;font-size:14px;box-sizing:border-box;padding:4px;margin:-5px;outline:0;border:1px solid transparent;border-radius:4px;background-clip:padding-box;display:block}._VebPs::-moz-selection{background-color:rgba(11,110,208,.11)}._VebPs::selection{background-color:rgba(11,110,208,.11)}._VebPs:focus,._VebPs:hover{background-color:#f5f5f5}._VebPs:focus{border:2px solid #0a3f88;padding:3px}._VebPs:focus._s5S-s{background-color:#fafafa;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 1px 8px hsla(0,0%,66.7%,.5)}";
|
|
6
|
+
styleInject(css_248z);
|
|
7
|
+
|
|
8
|
+
export { styles as default, stylesheet };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as InlineInput } from './InlineInput.js';
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import styles from './Input2.js';
|
|
5
|
+
import { useInputGroupContext } from '../InputGroup/InputGroupProvider.js';
|
|
6
|
+
import { useFormFieldContext } from '../FormField/FormFieldContext.js';
|
|
7
|
+
import '../../utils/index.js';
|
|
8
|
+
import concatIds from '../../utils/concatIds/concatIds.js';
|
|
9
|
+
|
|
10
|
+
const Input = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
11
|
+
let {
|
|
12
|
+
className,
|
|
13
|
+
value,
|
|
14
|
+
defaultValue,
|
|
15
|
+
disabled = false,
|
|
16
|
+
full = false,
|
|
17
|
+
invalid = false,
|
|
18
|
+
multiline,
|
|
19
|
+
onChange,
|
|
20
|
+
rows = 2,
|
|
21
|
+
small = false,
|
|
22
|
+
type = 'text',
|
|
23
|
+
'aria-describedby': externalAriaDescribedBy,
|
|
24
|
+
readOnly,
|
|
25
|
+
...rest
|
|
26
|
+
} = _ref;
|
|
27
|
+
const inputGroupContext = useInputGroupContext();
|
|
28
|
+
const {
|
|
29
|
+
helperTextId: formFieldHelperTextId,
|
|
30
|
+
errorTextId: formFieldErrorTextId,
|
|
31
|
+
isReadOnly: formFieldIsReadOnly
|
|
32
|
+
} = useFormFieldContext();
|
|
33
|
+
const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId);
|
|
34
|
+
const classes = classNames(styles.input, inputGroupContext.className, inputGroupContext.inputClassName, {
|
|
35
|
+
[styles.full]: inputGroupContext.applyFull(full),
|
|
36
|
+
[styles.invalid]: invalid,
|
|
37
|
+
[styles.small]: inputGroupContext.applySmall(small),
|
|
38
|
+
[styles.multiline]: multiline
|
|
39
|
+
}, className);
|
|
40
|
+
const commonProps = {
|
|
41
|
+
...rest,
|
|
42
|
+
ref,
|
|
43
|
+
className: classes,
|
|
44
|
+
disabled,
|
|
45
|
+
defaultValue,
|
|
46
|
+
'aria-invalid': invalid,
|
|
47
|
+
onChange: disabled ? null : onChange,
|
|
48
|
+
value,
|
|
49
|
+
'aria-describedby': internalAriaDescribedby,
|
|
50
|
+
readOnly: readOnly !== null && readOnly !== void 0 ? readOnly : formFieldIsReadOnly
|
|
51
|
+
};
|
|
52
|
+
return multiline ? /*#__PURE__*/React__default.createElement("textarea", _extends({}, commonProps, {
|
|
53
|
+
rows: rows
|
|
54
|
+
})) : /*#__PURE__*/React__default.createElement("input", _extends({}, commonProps, {
|
|
55
|
+
type: type
|
|
56
|
+
}));
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
export { Input as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = "._Kk-Di{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#32363a;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._Kk-Di::-moz-placeholder{color:#515559;opacity:1}._Kk-Di::placeholder{color:#515559;opacity:1}._Kk-Di:hover{cursor:pointer;background-color:#f5f5f5}._Kk-Di:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._Kk-Di._uteCG{border-color:#b00}._Kk-Di._uteCG:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._Kk-Di:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._Kk-Di:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._Kk-Di:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._Kk-Di._PJoHv{height:auto}._Kk-Di._PJoHv::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._Kk-Di._RJqiH{display:block;width:100%}._Kk-Di._SuweI{padding:4px 8px}input._Kk-Di._SuweI{height:26px;min-height:26px}[type=number]._Kk-Di{-moz-appearance:textfield}[type=number]._Kk-Di::-webkit-inner-spin-button,[type=number]._Kk-Di::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._azGiv{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._azGiv:hover{cursor:pointer}._azGiv._bw9d-{color:#0b6ed0}._Fepqj{margin-top:4px}";
|
|
4
|
+
var styles = {"input":"_Kk-Di","invalid":"_uteCG","multiline":"_PJoHv","full":"_RJqiH","small":"_SuweI","label":"_azGiv","focused":"_bw9d-","wrappedInput":"_Fepqj"};
|
|
5
|
+
var stylesheet="._Kk-Di{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#32363a;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._Kk-Di::-moz-placeholder{color:#515559;opacity:1}._Kk-Di::placeholder{color:#515559;opacity:1}._Kk-Di:hover{cursor:pointer;background-color:#f5f5f5}._Kk-Di:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._Kk-Di._uteCG{border-color:#b00}._Kk-Di._uteCG:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._Kk-Di:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._Kk-Di:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._Kk-Di:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._Kk-Di._PJoHv{height:auto}._Kk-Di._PJoHv::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._Kk-Di._RJqiH{display:block;width:100%}._Kk-Di._SuweI{padding:4px 8px}input._Kk-Di._SuweI{height:26px;min-height:26px}[type=number]._Kk-Di{-moz-appearance:textfield}[type=number]._Kk-Di::-webkit-inner-spin-button,[type=number]._Kk-Di::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._azGiv{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._azGiv:hover{cursor:pointer}._azGiv._bw9d-{color:#0b6ed0}._Fepqj{margin-top:4px}";
|
|
6
|
+
styleInject(css_248z);
|
|
7
|
+
|
|
8
|
+
export { styles as default, stylesheet };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default, { useState } from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import styles from './Input2.js';
|
|
5
|
+
import Input from './Input.js';
|
|
6
|
+
import '../Label/index.js';
|
|
7
|
+
import { useFormFieldType } from '../FormField/FormFieldContext.js';
|
|
8
|
+
import Label from '../Label/Label.js';
|
|
9
|
+
|
|
10
|
+
const InputField = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
11
|
+
let {
|
|
12
|
+
label,
|
|
13
|
+
className,
|
|
14
|
+
style = {},
|
|
15
|
+
'data-testid': dataTestId,
|
|
16
|
+
id,
|
|
17
|
+
onFocus,
|
|
18
|
+
onBlur,
|
|
19
|
+
labelProps = {},
|
|
20
|
+
inputProps = {},
|
|
21
|
+
...rest
|
|
22
|
+
} = _ref;
|
|
23
|
+
const {
|
|
24
|
+
className: labelClassName,
|
|
25
|
+
...labelPropsWithoutClass
|
|
26
|
+
} = labelProps;
|
|
27
|
+
const {
|
|
28
|
+
className: inputClassName,
|
|
29
|
+
...inputPropsWithoutClass
|
|
30
|
+
} = inputProps;
|
|
31
|
+
const [focused, setFocused] = useState(false);
|
|
32
|
+
useFormFieldType('input');
|
|
33
|
+
function handleFocus(e) {
|
|
34
|
+
setFocused(true);
|
|
35
|
+
onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);
|
|
36
|
+
}
|
|
37
|
+
function handleBlur(e) {
|
|
38
|
+
setFocused(false);
|
|
39
|
+
onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
|
|
40
|
+
}
|
|
41
|
+
return /*#__PURE__*/React__default.createElement(Label, _extends({
|
|
42
|
+
htmlFor: id,
|
|
43
|
+
"data-testid": dataTestId,
|
|
44
|
+
className: classNames(className, styles.label, labelClassName, {
|
|
45
|
+
[styles.focused]: focused
|
|
46
|
+
}),
|
|
47
|
+
style: style
|
|
48
|
+
}, labelPropsWithoutClass), label, /*#__PURE__*/React__default.createElement(Input, _extends({
|
|
49
|
+
id: id,
|
|
50
|
+
ref: ref,
|
|
51
|
+
className: classNames(styles.wrappedInput, inputClassName),
|
|
52
|
+
onBlur: handleBlur,
|
|
53
|
+
onFocus: handleFocus
|
|
54
|
+
}, rest, inputPropsWithoutClass)));
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
export { InputField as default };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import styles from './InputGroup2.js';
|
|
5
|
+
import { InputGroupProvider } from './InputGroupProvider.js';
|
|
6
|
+
|
|
7
|
+
const InputGroup = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
8
|
+
let {
|
|
9
|
+
children,
|
|
10
|
+
className,
|
|
11
|
+
full,
|
|
12
|
+
small,
|
|
13
|
+
...rest
|
|
14
|
+
} = _ref;
|
|
15
|
+
const context = {
|
|
16
|
+
small,
|
|
17
|
+
overrideFull: true,
|
|
18
|
+
className: classNames(styles.inputGroupElement, {
|
|
19
|
+
[styles.full]: full
|
|
20
|
+
}),
|
|
21
|
+
inputClassName: styles.input
|
|
22
|
+
};
|
|
23
|
+
return /*#__PURE__*/React__default.createElement("span", _extends({}, rest, {
|
|
24
|
+
ref: ref,
|
|
25
|
+
className: classNames(className, styles.inputGroup, {
|
|
26
|
+
[styles.full]: full
|
|
27
|
+
})
|
|
28
|
+
}), /*#__PURE__*/React__default.createElement(InputGroupProvider, {
|
|
29
|
+
value: context
|
|
30
|
+
}, children));
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export { InputGroup as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = "._lnx6D{border:1px solid #898989;border-radius:4px;height:36px;min-height:36px;color:#6a6d70;fill:#6a6d70;background-color:#fafafa;font-size:14px;display:inline-flex;justify-content:center;align-items:center;line-height:1;padding:0 13px}._lnx6D._gkurm{height:26px;min-height:26px;padding:5px 8px}._tyzOs{display:flex;align-items:stretch}._tyzOs._y7oiV{width:100%}._tyzOs ._UGYLA{margin:0;position:relative;flex-shrink:0;z-index:10}._tyzOs ._UGYLA:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._tyzOs ._UGYLA:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._tyzOs ._UGYLA:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._tyzOs ._UGYLA:last-child,._tyzOs ._UGYLA:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._tyzOs ._UGYLA:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._tyzOs ._UGYLA._GXH5Y{flex-shrink:1;min-width:40px;z-index:0}._tyzOs ._UGYLA._GXH5Y._y7oiV{flex-grow:1}._tyzOs ._UGYLA:focus{z-index:20}";
|
|
4
|
+
var styles = {"addon":"_lnx6D","small":"_gkurm","inputGroup":"_tyzOs","full":"_y7oiV","inputGroupElement":"_UGYLA","input":"_GXH5Y"};
|
|
5
|
+
var stylesheet="._lnx6D{border:1px solid #898989;border-radius:4px;height:36px;min-height:36px;color:#6a6d70;fill:#6a6d70;background-color:#fafafa;font-size:14px;display:inline-flex;justify-content:center;align-items:center;line-height:1;padding:0 13px}._lnx6D._gkurm{height:26px;min-height:26px;padding:5px 8px}._tyzOs{display:flex;align-items:stretch}._tyzOs._y7oiV{width:100%}._tyzOs ._UGYLA{margin:0;position:relative;flex-shrink:0;z-index:10}._tyzOs ._UGYLA:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._tyzOs ._UGYLA:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._tyzOs ._UGYLA:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._tyzOs ._UGYLA:last-child,._tyzOs ._UGYLA:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._tyzOs ._UGYLA:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._tyzOs ._UGYLA._GXH5Y{flex-shrink:1;min-width:40px;z-index:0}._tyzOs ._UGYLA._GXH5Y._y7oiV{flex-grow:1}._tyzOs ._UGYLA:focus{z-index:20}";
|
|
6
|
+
styleInject(css_248z);
|
|
7
|
+
|
|
8
|
+
export { styles as default, stylesheet };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import styles from './InputGroup2.js';
|
|
5
|
+
import { useInputGroupContext } from './InputGroupProvider.js';
|
|
6
|
+
|
|
7
|
+
const InputGroupAddon = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
8
|
+
let {
|
|
9
|
+
children,
|
|
10
|
+
className,
|
|
11
|
+
small = false,
|
|
12
|
+
...rest
|
|
13
|
+
} = _ref;
|
|
14
|
+
const inputGroupContext = useInputGroupContext();
|
|
15
|
+
return /*#__PURE__*/React__default.createElement("span", _extends({}, rest, {
|
|
16
|
+
ref: ref,
|
|
17
|
+
className: classNames(className, styles.addon, inputGroupContext.className, {
|
|
18
|
+
[styles.small]: inputGroupContext.applySmall(small)
|
|
19
|
+
})
|
|
20
|
+
}), children);
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
export { InputGroupAddon as default };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import '../../utils/index.js';
|
|
3
|
+
import createContextUtilities from '../../utils/createContextUtilities/createContextUtilities.js';
|
|
4
|
+
|
|
5
|
+
function createContextValue(value) {
|
|
6
|
+
return {
|
|
7
|
+
className: value.className,
|
|
8
|
+
inputClassName: value.inputClassName,
|
|
9
|
+
applySmall: small => value.small || small,
|
|
10
|
+
applyFull: full => {
|
|
11
|
+
if (value.overrideFull) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
return full;
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
const {
|
|
19
|
+
Provider: InputGroupContextProvider,
|
|
20
|
+
useContext: useInputGroupContext
|
|
21
|
+
} = createContextUtilities(createContextValue({}));
|
|
22
|
+
const InputGroupProvider = _ref => {
|
|
23
|
+
let {
|
|
24
|
+
children,
|
|
25
|
+
value
|
|
26
|
+
} = _ref;
|
|
27
|
+
const context = createContextValue(value);
|
|
28
|
+
return /*#__PURE__*/React__default.createElement(InputGroupContextProvider, {
|
|
29
|
+
value: context
|
|
30
|
+
}, children);
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export { InputGroupProvider, useInputGroupContext };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import styles from './Label2.js';
|
|
5
|
+
import { useFormFieldLabel } from '../FormField/FormFieldContext.js';
|
|
6
|
+
|
|
7
|
+
const Label = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
8
|
+
let {
|
|
9
|
+
children,
|
|
10
|
+
className,
|
|
11
|
+
...rest
|
|
12
|
+
} = _ref;
|
|
13
|
+
const {
|
|
14
|
+
isFocused,
|
|
15
|
+
hasControl
|
|
16
|
+
} = useFormFieldLabel();
|
|
17
|
+
const classes = classNames(styles.label, className, {
|
|
18
|
+
[styles.control]: hasControl,
|
|
19
|
+
[styles.focused]: isFocused
|
|
20
|
+
});
|
|
21
|
+
return /*#__PURE__*/React__default.createElement("label", _extends({}, rest, {
|
|
22
|
+
ref: ref,
|
|
23
|
+
className: classes
|
|
24
|
+
}), children);
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export { Label as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = "._iR8mz{font-size:14px}._21YxX{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._B-Gvu{color:#0b6ed0}";
|
|
4
|
+
var styles = {"label":"_iR8mz","control":"_21YxX","focused":"_B-Gvu"};
|
|
5
|
+
var stylesheet="._iR8mz{font-size:14px}._21YxX{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._B-Gvu{color:#0b6ed0}";
|
|
6
|
+
styleInject(css_248z);
|
|
7
|
+
|
|
8
|
+
export { styles as default, stylesheet };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Label } from './Label.js';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import styles from './Link2.js';
|
|
5
|
+
|
|
6
|
+
const Link = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
7
|
+
let {
|
|
8
|
+
children,
|
|
9
|
+
href = '#',
|
|
10
|
+
target = '_self',
|
|
11
|
+
className,
|
|
12
|
+
...rest
|
|
13
|
+
} = _ref;
|
|
14
|
+
const classes = classNames(className, styles.link);
|
|
15
|
+
const rel = target !== '_self' ? 'noopener noreferrer' : undefined;
|
|
16
|
+
return /*#__PURE__*/React__default.createElement("a", _extends({}, rest, {
|
|
17
|
+
ref: ref,
|
|
18
|
+
href: href,
|
|
19
|
+
target: target,
|
|
20
|
+
rel: rel,
|
|
21
|
+
className: classes
|
|
22
|
+
}), children);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
export { Link as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = "._d9WUC{color:#0b6ed0;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto;text-underline-offset:3px;border-radius:1px}._d9WUC:active:focus,._d9WUC:focus{outline:none}._d9WUC:visited{color:#0854a1}._d9WUC:hover{color:#085caf}._d9WUC:active{color:#0854a1}._d9WUC.focus-visible,._d9WUC:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"link":"_d9WUC"};
|
|
5
|
+
var stylesheet="._d9WUC{color:#0b6ed0;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto;text-underline-offset:3px;border-radius:1px}._d9WUC:active:focus,._d9WUC:focus{outline:none}._d9WUC:visited{color:#0854a1}._d9WUC:hover{color:#085caf}._d9WUC:active{color:#0854a1}._d9WUC.focus-visible,._d9WUC:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
|
+
styleInject(css_248z);
|
|
7
|
+
|
|
8
|
+
export { styles as default, stylesheet };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Link } from './Link.js';
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import styles from './LoadingSpinner2.js';
|
|
5
|
+
import '../../utils/Translation/index.js';
|
|
6
|
+
import useTranslation from '../../utils/Translation/useTranslation.js';
|
|
7
|
+
|
|
8
|
+
const LoadingSpinner = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
9
|
+
let {
|
|
10
|
+
background = 'fade',
|
|
11
|
+
children,
|
|
12
|
+
className,
|
|
13
|
+
inverted = false,
|
|
14
|
+
show = false,
|
|
15
|
+
size = 'medium',
|
|
16
|
+
role = 'progressbar',
|
|
17
|
+
'aria-label': ariaLabel,
|
|
18
|
+
'aria-labelledby': ariaLabelledby,
|
|
19
|
+
'aria-live': ariaLive = 'polite',
|
|
20
|
+
'aria-hidden': ariaHidden,
|
|
21
|
+
...rest
|
|
22
|
+
} = _ref;
|
|
23
|
+
const {
|
|
24
|
+
translate
|
|
25
|
+
} = useTranslation();
|
|
26
|
+
const defaultAriaLabel = translate('loading');
|
|
27
|
+
return /*#__PURE__*/React__default.createElement("div", _extends({}, rest, {
|
|
28
|
+
ref: ref,
|
|
29
|
+
className: classNames(className, styles.spinnerContainer, {
|
|
30
|
+
[styles[size]]: !children
|
|
31
|
+
})
|
|
32
|
+
}), /*#__PURE__*/React__default.createElement("div", {
|
|
33
|
+
className: classNames(styles.spinnerComponent, styles[size], {
|
|
34
|
+
[styles.inverted]: inverted,
|
|
35
|
+
[styles.hide]: !show
|
|
36
|
+
}),
|
|
37
|
+
"data-loadingspinner": show || undefined,
|
|
38
|
+
role: role,
|
|
39
|
+
"aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : ariaLabelledby ? undefined : defaultAriaLabel,
|
|
40
|
+
"aria-labelledby": ariaLabelledby,
|
|
41
|
+
"aria-live": ariaLive,
|
|
42
|
+
"aria-hidden": ariaHidden
|
|
43
|
+
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("div", null), /*#__PURE__*/React__default.createElement("div", null), /*#__PURE__*/React__default.createElement("div", null), /*#__PURE__*/React__default.createElement("div", null), /*#__PURE__*/React__default.createElement("div", null), /*#__PURE__*/React__default.createElement("div", null), /*#__PURE__*/React__default.createElement("div", null), /*#__PURE__*/React__default.createElement("div", null), /*#__PURE__*/React__default.createElement("div", null))), /*#__PURE__*/React__default.createElement("div", {
|
|
44
|
+
className: classNames(styles.spinnerContent, {
|
|
45
|
+
[styles[background]]: show,
|
|
46
|
+
[styles.disablePointerEvents]: show
|
|
47
|
+
})
|
|
48
|
+
}, children));
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
export { LoadingSpinner as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = "._otnVc{position:relative;display:inline-block}._otnVc._wckPJ{min-height:20px;min-width:20px}._otnVc._Yy21C{min-height:25px;min-width:25px}._otnVc._pf72d{min-height:40px;min-width:40px}._otnVc._Rng1z{min-height:64px;min-width:64px}._otnVc ._BldU9{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._otnVc ._BldU9._7xf4O{visibility:hidden}._otnVc ._BldU9 div{position:absolute;transform:rotate(20deg)}._otnVc ._BldU9 div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_BldU9 .8s linear infinite}._otnVc ._BldU9 div div:nth-child(-n+9):after{content:\" \";display:block;position:absolute;top:5px;left:-1px;width:2px;height:10px;border-radius:20%;background:#000}._otnVc ._BldU9 div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._otnVc ._BldU9 div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._otnVc ._BldU9 div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._otnVc ._BldU9 div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._otnVc ._BldU9 div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._otnVc ._BldU9 div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._otnVc ._BldU9 div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._otnVc ._BldU9 div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._otnVc ._BldU9 div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._otnVc ._Rng1z div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._otnVc ._wckPJ div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._otnVc ._Yy21C div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._otnVc ._dl1Ym div div:nth-child(-n+9):after{background:#fff}._otnVc ._DD1Kv{width:100%;height:100%}._otnVc ._DD1Kv._elvtJ{pointer-events:none}._otnVc ._DD1Kv._7xf4O{opacity:0}._otnVc ._DD1Kv._fz0NU{opacity:.5}@keyframes _BldU9{0%{opacity:1}to{opacity:0}}";
|
|
4
|
+
var styles = {"spinnerContainer":"_otnVc","xs":"_wckPJ","small":"_Yy21C","medium":"_pf72d","large":"_Rng1z","spinnerComponent":"_BldU9","hide":"_7xf4O","inverted":"_dl1Ym","spinnerContent":"_DD1Kv","disablePointerEvents":"_elvtJ","fade":"_fz0NU"};
|
|
5
|
+
var stylesheet="._otnVc{position:relative;display:inline-block}._otnVc._wckPJ{min-height:20px;min-width:20px}._otnVc._Yy21C{min-height:25px;min-width:25px}._otnVc._pf72d{min-height:40px;min-width:40px}._otnVc._Rng1z{min-height:64px;min-width:64px}._otnVc ._BldU9{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._otnVc ._BldU9._7xf4O{visibility:hidden}._otnVc ._BldU9 div{position:absolute;transform:rotate(20deg)}._otnVc ._BldU9 div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_BldU9 .8s linear infinite}._otnVc ._BldU9 div div:nth-child(-n+9):after{content:\" \";display:block;position:absolute;top:5px;left:-1px;width:2px;height:10px;border-radius:20%;background:#000}._otnVc ._BldU9 div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._otnVc ._BldU9 div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._otnVc ._BldU9 div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._otnVc ._BldU9 div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._otnVc ._BldU9 div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._otnVc ._BldU9 div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._otnVc ._BldU9 div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._otnVc ._BldU9 div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._otnVc ._BldU9 div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._otnVc ._Rng1z div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._otnVc ._wckPJ div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._otnVc ._Yy21C div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._otnVc ._dl1Ym div div:nth-child(-n+9):after{background:#fff}._otnVc ._DD1Kv{width:100%;height:100%}._otnVc ._DD1Kv._elvtJ{pointer-events:none}._otnVc ._DD1Kv._7xf4O{opacity:0}._otnVc ._DD1Kv._fz0NU{opacity:.5}@keyframes _BldU9{0%{opacity:1}to{opacity:0}}";
|
|
6
|
+
styleInject(css_248z);
|
|
7
|
+
|
|
8
|
+
export { styles as default, stylesheet };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as LoadingSpinner } from './LoadingSpinner.js';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import styles from './LogicEditor2.js';
|
|
3
|
+
import { useLogicEditorContext } from './LogicEditorContext.js';
|
|
4
|
+
import { LOGIC_TYPE_CONDITION } from './utils.js';
|
|
5
|
+
|
|
6
|
+
const ConditionContainer = function ConditionContainer(_ref) {
|
|
7
|
+
let {
|
|
8
|
+
condition = {},
|
|
9
|
+
position,
|
|
10
|
+
firstFocusableElementRef,
|
|
11
|
+
conditionControls
|
|
12
|
+
} = _ref;
|
|
13
|
+
const {
|
|
14
|
+
conditionTemplate: ConditionTemplate,
|
|
15
|
+
onConditionChange
|
|
16
|
+
} = useLogicEditorContext();
|
|
17
|
+
const handleChange = value => {
|
|
18
|
+
onConditionChange({
|
|
19
|
+
id: condition.id,
|
|
20
|
+
logicType: LOGIC_TYPE_CONDITION,
|
|
21
|
+
value
|
|
22
|
+
}, position);
|
|
23
|
+
};
|
|
24
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
25
|
+
className: styles.condition
|
|
26
|
+
}, /*#__PURE__*/React__default.createElement(ConditionTemplate, {
|
|
27
|
+
value: condition.value,
|
|
28
|
+
onChange: handleChange,
|
|
29
|
+
firstFocusableElementRef: firstFocusableElementRef
|
|
30
|
+
}), conditionControls);
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export { ConditionContainer as default };
|