@qualtrics/ui-react 2.23.1-alpha.1 → 2.23.1-alpha.2
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/dist/__node_modules/style-inject/dist/style-inject.es.js +28 -0
- package/dist/__shared/cjs/index-d609f942.js +2058 -0
- package/dist/__shared/cjs/index-da3cbfe3.js +12502 -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 +920 -0
- package/dist/next/AdvancedTable/AdvancedTable2.js +8 -0
- package/dist/next/AdvancedTable/AdvancedTableCell.js +104 -0
- package/dist/next/AdvancedTable/AdvancedTableCheckbox.js +57 -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 +37 -0
- package/dist/next/AdvancedTable/AdvancedTableRowExpandButton.js +50 -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 +126 -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 +4988 -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,80 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default, { useState } from 'react';
|
|
3
|
+
import styles from './Slider2.js';
|
|
4
|
+
import '../Tooltip/index.js';
|
|
5
|
+
import '../../hooks/index.js';
|
|
6
|
+
import useMounted from '../../hooks/useMounted/useMounted.js';
|
|
7
|
+
import useEventListener from '../../hooks/useEventListener/useEventListener.js';
|
|
8
|
+
import Tooltip from '../Tooltip/Tooltip.js';
|
|
9
|
+
|
|
10
|
+
const buttonOffset = -10;
|
|
11
|
+
const SliderButton = _ref => {
|
|
12
|
+
let {
|
|
13
|
+
buttonPosition = 0,
|
|
14
|
+
onMouseMove,
|
|
15
|
+
onKeyDown,
|
|
16
|
+
value = '0',
|
|
17
|
+
'aria-label': ariaLabel,
|
|
18
|
+
'aria-labelledby': ariaLabelledBy,
|
|
19
|
+
'aria-describedby': ariaDescribedBy,
|
|
20
|
+
'aria-valuemin': ariaValueMin,
|
|
21
|
+
'aria-valuemax': ariaValueMax,
|
|
22
|
+
'aria-valuenow': ariaValueNow,
|
|
23
|
+
...rest
|
|
24
|
+
} = _ref;
|
|
25
|
+
const isMounted = useMounted();
|
|
26
|
+
const [isDragging, setIsDragging] = useState(false);
|
|
27
|
+
const handleMouseDown = e => {
|
|
28
|
+
if (e.button === 0) {
|
|
29
|
+
setIsDragging(true);
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
const handleMouseUp = e => {
|
|
33
|
+
if (isMounted.current && e.button === 0) {
|
|
34
|
+
setIsDragging(false);
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
// Update value when mouse moves
|
|
39
|
+
const handleMouseMove = e => {
|
|
40
|
+
if (isMounted.current && typeof onMouseMove === 'function') {
|
|
41
|
+
onMouseMove(e);
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
// Add/remove mouse handlers when dragging starts/stops
|
|
46
|
+
const options = {
|
|
47
|
+
isDisabled: !isDragging
|
|
48
|
+
};
|
|
49
|
+
useEventListener(window, 'mousemove', handleMouseMove, options);
|
|
50
|
+
useEventListener(window, 'mouseup', handleMouseUp, options);
|
|
51
|
+
const anchorButton = /*#__PURE__*/React__default.createElement("div", _extends({}, rest, {
|
|
52
|
+
className: styles.button,
|
|
53
|
+
style: {
|
|
54
|
+
left: "calc(".concat(buttonPosition, "% + ").concat(buttonOffset, "px")
|
|
55
|
+
},
|
|
56
|
+
onMouseDown: handleMouseDown,
|
|
57
|
+
onKeyDown: onKeyDown,
|
|
58
|
+
"aria-label": ariaLabel,
|
|
59
|
+
"aria-labelledby": ariaLabelledBy,
|
|
60
|
+
"aria-describedby": ariaDescribedBy,
|
|
61
|
+
"aria-valuemin": ariaValueMin,
|
|
62
|
+
"aria-valuemax": ariaValueMax,
|
|
63
|
+
"aria-valuenow": ariaValueNow,
|
|
64
|
+
"aria-valuetext": value,
|
|
65
|
+
role: "slider",
|
|
66
|
+
tabIndex: 0
|
|
67
|
+
}));
|
|
68
|
+
const [showTooltip, setShowTooltip] = useState(false);
|
|
69
|
+
return /*#__PURE__*/React__default.createElement(Tooltip, {
|
|
70
|
+
show: showTooltip,
|
|
71
|
+
onShowChange: shouldShowTooltip => setShowTooltip(isDragging || shouldShowTooltip)
|
|
72
|
+
// forces rerender of popper on button position change
|
|
73
|
+
,
|
|
74
|
+
unstable_contentKey: String(buttonPosition),
|
|
75
|
+
placement: "bottom",
|
|
76
|
+
content: value
|
|
77
|
+
}, anchorButton);
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export { SliderButton as default };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import styles from './Switch2.js';
|
|
5
|
+
import { useFormFieldContext } from '../FormField/FormFieldContext.js';
|
|
6
|
+
import '../../utils/index.js';
|
|
7
|
+
import concatIds from '../../utils/concatIds/concatIds.js';
|
|
8
|
+
|
|
9
|
+
const Switch = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
10
|
+
let {
|
|
11
|
+
id,
|
|
12
|
+
className,
|
|
13
|
+
checked,
|
|
14
|
+
defaultChecked,
|
|
15
|
+
disabled = false,
|
|
16
|
+
onChange,
|
|
17
|
+
value,
|
|
18
|
+
inputProps,
|
|
19
|
+
'aria-label': ariaLabel,
|
|
20
|
+
'aria-labelledby': ariaLabelledBy,
|
|
21
|
+
'aria-describedby': externalAriaDescribedBy,
|
|
22
|
+
tabIndex,
|
|
23
|
+
...rest
|
|
24
|
+
} = _ref;
|
|
25
|
+
const {
|
|
26
|
+
helperTextId: formFieldHelperTextId,
|
|
27
|
+
errorTextId: formFieldErrorTextId
|
|
28
|
+
} = useFormFieldContext();
|
|
29
|
+
const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId, inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-describedby']);
|
|
30
|
+
return /*#__PURE__*/React__default.createElement("span", _extends({}, rest, {
|
|
31
|
+
ref: ref,
|
|
32
|
+
className: classNames(className, styles.switch, {
|
|
33
|
+
[styles.disabled]: disabled
|
|
34
|
+
})
|
|
35
|
+
}), /*#__PURE__*/React__default.createElement("input", _extends({}, inputProps, {
|
|
36
|
+
className: classNames(styles.input, inputProps === null || inputProps === void 0 ? void 0 : inputProps.className),
|
|
37
|
+
type: "checkbox",
|
|
38
|
+
role: "switch",
|
|
39
|
+
id: id !== null && id !== void 0 ? id : inputProps === null || inputProps === void 0 ? void 0 : inputProps.id,
|
|
40
|
+
checked: checked !== null && checked !== void 0 ? checked : inputProps === null || inputProps === void 0 ? void 0 : inputProps.checked,
|
|
41
|
+
defaultChecked: defaultChecked !== null && defaultChecked !== void 0 ? defaultChecked : inputProps === null || inputProps === void 0 ? void 0 : inputProps.defaultChecked,
|
|
42
|
+
disabled: disabled !== null && disabled !== void 0 ? disabled : inputProps === null || inputProps === void 0 ? void 0 : inputProps.disabled,
|
|
43
|
+
onChange: disabled ? undefined : onChange !== null && onChange !== void 0 ? onChange : inputProps === null || inputProps === void 0 ? void 0 : inputProps.onChange,
|
|
44
|
+
value: value !== null && value !== void 0 ? value : inputProps === null || inputProps === void 0 ? void 0 : inputProps.value,
|
|
45
|
+
"aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-label'],
|
|
46
|
+
"aria-labelledby": ariaLabelledBy !== null && ariaLabelledBy !== void 0 ? ariaLabelledBy : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-labelledby'],
|
|
47
|
+
"aria-describedby": internalAriaDescribedby,
|
|
48
|
+
tabIndex: tabIndex !== null && tabIndex !== void 0 ? tabIndex : inputProps === null || inputProps === void 0 ? void 0 : inputProps.tabIndex
|
|
49
|
+
})), /*#__PURE__*/React__default.createElement("span", {
|
|
50
|
+
className: styles.slider
|
|
51
|
+
}));
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
export { Switch as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = "._RTvr7{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._RTvr7._pcmBS{cursor:not-allowed}._9yjCq{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._9yjCq:disabled{cursor:not-allowed}._9yjCq:disabled~._AgnWj{opacity:.4}._9yjCq:checked~._AgnWj{background-color:#0b6ed0}._9yjCq:checked~._AgnWj:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._9yjCq:hover:not(:disabled):not(:checked)~._AgnWj{background-color:#6a6a6a}._9yjCq:hover:not(:disabled):checked~._AgnWj{background-color:#085caf}._9yjCq:hover:not(:disabled):checked~._AgnWj:before{border-color:#085caf}._AgnWj{width:32px;background-color:#898989;border-radius:34px}._AgnWj,._AgnWj:before{height:16px;transition:.2s}._AgnWj:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._ZnNMG{color:#32363a;display:flex;align-items:center;cursor:pointer}._0AXCW{cursor:auto;color:hsla(0,0%,53.7%,.4)}._rKa34{margin-right:12px;flex-shrink:0}._9yjCq.focus-visible~._AgnWj,._9yjCq:focus-visible~._AgnWj{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"switch":"_RTvr7","disabled":"_pcmBS","input":"_9yjCq","slider":"_AgnWj","label":"_ZnNMG","labelDisabled":"_0AXCW","wrappedInput":"_rKa34"};
|
|
5
|
+
var stylesheet="._RTvr7{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._RTvr7._pcmBS{cursor:not-allowed}._9yjCq{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._9yjCq:disabled{cursor:not-allowed}._9yjCq:disabled~._AgnWj{opacity:.4}._9yjCq:checked~._AgnWj{background-color:#0b6ed0}._9yjCq:checked~._AgnWj:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._9yjCq:hover:not(:disabled):not(:checked)~._AgnWj{background-color:#6a6a6a}._9yjCq:hover:not(:disabled):checked~._AgnWj{background-color:#085caf}._9yjCq:hover:not(:disabled):checked~._AgnWj:before{border-color:#085caf}._AgnWj{width:32px;background-color:#898989;border-radius:34px}._AgnWj,._AgnWj:before{height:16px;transition:.2s}._AgnWj:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._ZnNMG{color:#32363a;display:flex;align-items:center;cursor:pointer}._0AXCW{cursor:auto;color:hsla(0,0%,53.7%,.4)}._rKa34{margin-right:12px;flex-shrink:0}._9yjCq.focus-visible~._AgnWj,._9yjCq:focus-visible~._AgnWj{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
|
+
if(typeof window !== 'undefined' || typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
|
+
|
|
8
|
+
export { styles as default, stylesheet };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import styles from './Switch2.js';
|
|
5
|
+
import Switch from './Switch.js';
|
|
6
|
+
import '../Label/index.js';
|
|
7
|
+
import Label from '../Label/Label.js';
|
|
8
|
+
|
|
9
|
+
const SwitchField = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
10
|
+
let {
|
|
11
|
+
id,
|
|
12
|
+
label,
|
|
13
|
+
className,
|
|
14
|
+
checked,
|
|
15
|
+
defaultChecked,
|
|
16
|
+
disabled,
|
|
17
|
+
onChange,
|
|
18
|
+
value,
|
|
19
|
+
inputProps,
|
|
20
|
+
'aria-describedby': ariaDescribedBy,
|
|
21
|
+
...rest
|
|
22
|
+
} = _ref;
|
|
23
|
+
return /*#__PURE__*/React__default.createElement(Label, _extends({}, rest, {
|
|
24
|
+
ref: ref,
|
|
25
|
+
htmlFor: id,
|
|
26
|
+
className: classNames(className, styles.label, {
|
|
27
|
+
[styles.labelDisabled]: disabled
|
|
28
|
+
})
|
|
29
|
+
}), /*#__PURE__*/React__default.createElement(Switch, {
|
|
30
|
+
inputProps: inputProps,
|
|
31
|
+
className: styles.wrappedInput,
|
|
32
|
+
id: id,
|
|
33
|
+
checked: checked,
|
|
34
|
+
defaultChecked: defaultChecked,
|
|
35
|
+
onChange: onChange,
|
|
36
|
+
disabled: disabled,
|
|
37
|
+
value: value,
|
|
38
|
+
"aria-describedby": ariaDescribedBy
|
|
39
|
+
}), label);
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export { SwitchField as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import styles from './Table2.js';
|
|
5
|
+
|
|
6
|
+
const Table = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
7
|
+
let {
|
|
8
|
+
children,
|
|
9
|
+
className,
|
|
10
|
+
...rest
|
|
11
|
+
} = _ref;
|
|
12
|
+
return /*#__PURE__*/React__default.createElement("table", _extends({}, rest, {
|
|
13
|
+
ref: ref,
|
|
14
|
+
className: classNames(className, styles.table)
|
|
15
|
+
}), children);
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { Table as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = "._QIXT9{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none}._QIXT9 ._8lPfk:first-child,._QIXT9 ._qcGe-:first-child{padding-left:16px}._Lnmzs{font-size:12px}._8lPfk{padding:12px 8px;text-align:left;font-weight:700}._DjSza ._yWt-d{border-top:1px solid #ededed}._DjSza ._yWt-d:hover{background-color:#fafafa}._yWt-d{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed}._qcGe-{padding:16px 8px;word-break:break-word;text-align:left}";
|
|
4
|
+
var styles = {"table":"_QIXT9","tableCell":"_qcGe-","tableHeaderCell":"_8lPfk","tableHead":"_Lnmzs","tableBody":"_DjSza","tableRow":"_yWt-d"};
|
|
5
|
+
var stylesheet="._QIXT9{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none}._QIXT9 ._8lPfk:first-child,._QIXT9 ._qcGe-:first-child{padding-left:16px}._Lnmzs{font-size:12px}._8lPfk{padding:12px 8px;text-align:left;font-weight:700}._DjSza ._yWt-d{border-top:1px solid #ededed}._DjSza ._yWt-d:hover{background-color:#fafafa}._yWt-d{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed}._qcGe-{padding:16px 8px;word-break:break-word;text-align:left}";
|
|
6
|
+
if(typeof window !== 'undefined' || typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
|
+
|
|
8
|
+
export { styles as default, stylesheet };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import styles from './Table2.js';
|
|
5
|
+
|
|
6
|
+
const TableBody = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
7
|
+
let {
|
|
8
|
+
children,
|
|
9
|
+
className,
|
|
10
|
+
...rest
|
|
11
|
+
} = _ref;
|
|
12
|
+
return /*#__PURE__*/React__default.createElement("tbody", _extends({}, rest, {
|
|
13
|
+
ref: ref,
|
|
14
|
+
className: classNames(className, styles.tableBody)
|
|
15
|
+
}), children);
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { TableBody as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import styles from './Table2.js';
|
|
5
|
+
|
|
6
|
+
const TableCell = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
7
|
+
let {
|
|
8
|
+
children,
|
|
9
|
+
className,
|
|
10
|
+
...rest
|
|
11
|
+
} = _ref;
|
|
12
|
+
return /*#__PURE__*/React__default.createElement("td", _extends({}, rest, {
|
|
13
|
+
ref: ref,
|
|
14
|
+
className: classNames(className, styles.tableCell)
|
|
15
|
+
}), children);
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { TableCell as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import styles from './Table2.js';
|
|
5
|
+
|
|
6
|
+
const TableHead = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
7
|
+
let {
|
|
8
|
+
children,
|
|
9
|
+
className,
|
|
10
|
+
...rest
|
|
11
|
+
} = _ref;
|
|
12
|
+
return /*#__PURE__*/React__default.createElement("thead", _extends({}, rest, {
|
|
13
|
+
ref: ref,
|
|
14
|
+
className: classNames(className, styles.tableHead)
|
|
15
|
+
}), children);
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { TableHead as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import styles from './Table2.js';
|
|
5
|
+
|
|
6
|
+
const TableHeaderCell = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
7
|
+
let {
|
|
8
|
+
children,
|
|
9
|
+
className,
|
|
10
|
+
...rest
|
|
11
|
+
} = _ref;
|
|
12
|
+
return /*#__PURE__*/React__default.createElement("th", _extends({}, rest, {
|
|
13
|
+
ref: ref,
|
|
14
|
+
className: classNames(className, styles.tableHeaderCell)
|
|
15
|
+
}), children);
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { TableHeaderCell as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import styles from './Table2.js';
|
|
5
|
+
|
|
6
|
+
const TableRow = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
7
|
+
let {
|
|
8
|
+
children,
|
|
9
|
+
className,
|
|
10
|
+
...rest
|
|
11
|
+
} = _ref;
|
|
12
|
+
return /*#__PURE__*/React__default.createElement("tr", _extends({}, rest, {
|
|
13
|
+
ref: ref,
|
|
14
|
+
className: classNames(className, styles.tableRow)
|
|
15
|
+
}), children);
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { TableRow as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as Table } from './Table.js';
|
|
2
|
+
export { default as TableBody } from './TableBody.js';
|
|
3
|
+
export { default as TableCell } from './TableCell.js';
|
|
4
|
+
export { default as TableHead } from './TableHead.js';
|
|
5
|
+
export { default as TableHeaderCell } from './TableHeaderCell.js';
|
|
6
|
+
export { default as TableRow } from './TableRow.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 { useTabContext } from './TabContextProvider.js';
|
|
5
|
+
import styles from './Tabs2.js';
|
|
6
|
+
import '../../utils/index.js';
|
|
7
|
+
import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
|
|
8
|
+
import Text from '../../utils/Text/Text.js';
|
|
9
|
+
|
|
10
|
+
const Tab = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
11
|
+
let {
|
|
12
|
+
'aria-label': ariaLabel,
|
|
13
|
+
className,
|
|
14
|
+
children,
|
|
15
|
+
value,
|
|
16
|
+
...rest
|
|
17
|
+
} = _ref;
|
|
18
|
+
const {
|
|
19
|
+
activeTab,
|
|
20
|
+
setActiveTab,
|
|
21
|
+
rootId,
|
|
22
|
+
rootTestId,
|
|
23
|
+
isTabListFocused
|
|
24
|
+
} = useTabContext();
|
|
25
|
+
const tabId = getSubDataTestId(rootId, "tab-".concat(value));
|
|
26
|
+
const tabTestId = getSubDataTestId(rootTestId, "tab-".concat(value));
|
|
27
|
+
const isSelected = activeTab === value;
|
|
28
|
+
const onClick = React__default.useCallback(() => {
|
|
29
|
+
setActiveTab(value);
|
|
30
|
+
}, [value, setActiveTab]);
|
|
31
|
+
return /*#__PURE__*/React__default.createElement(Text, {
|
|
32
|
+
lightTheme: true,
|
|
33
|
+
asChild: true
|
|
34
|
+
}, /*#__PURE__*/React__default.createElement("button", _extends({}, rest, {
|
|
35
|
+
id: tabId,
|
|
36
|
+
"data-testid": tabTestId,
|
|
37
|
+
role: "tab",
|
|
38
|
+
className: classNames(styles.tab, className, {
|
|
39
|
+
[styles.selected]: isSelected
|
|
40
|
+
}),
|
|
41
|
+
"aria-selected": isSelected,
|
|
42
|
+
"aria-controls": "".concat(rootId, "-tabpanel-").concat(value),
|
|
43
|
+
"aria-label": ariaLabel,
|
|
44
|
+
onClick: onClick,
|
|
45
|
+
ref: ref,
|
|
46
|
+
tabIndex: !isTabListFocused && isSelected ? 0 : -1,
|
|
47
|
+
type: "button"
|
|
48
|
+
}), children));
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
export { Tab 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
|
+
const {
|
|
6
|
+
Provider: TabCtxProvider,
|
|
7
|
+
useContext: useTabContext
|
|
8
|
+
} = createContextUtilities();
|
|
9
|
+
// For now the provider props are identical to the contents of the context.
|
|
10
|
+
|
|
11
|
+
const TabContextProvider = _ref => {
|
|
12
|
+
let {
|
|
13
|
+
activeTab,
|
|
14
|
+
setActiveTab,
|
|
15
|
+
rootId,
|
|
16
|
+
rootTestId,
|
|
17
|
+
children,
|
|
18
|
+
isTabListFocused,
|
|
19
|
+
setIsTabListFocused
|
|
20
|
+
} = _ref;
|
|
21
|
+
return /*#__PURE__*/React__default.createElement(TabCtxProvider, {
|
|
22
|
+
value: {
|
|
23
|
+
activeTab,
|
|
24
|
+
setActiveTab,
|
|
25
|
+
rootId,
|
|
26
|
+
rootTestId,
|
|
27
|
+
isTabListFocused,
|
|
28
|
+
setIsTabListFocused
|
|
29
|
+
}
|
|
30
|
+
}, children);
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export { TabContextProvider, useTabContext };
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default, { useRef, useState, useMemo } from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import Tab from './Tab.js';
|
|
5
|
+
import styles from './Tabs2.js';
|
|
6
|
+
import { useTabContext } from './TabContextProvider.js';
|
|
7
|
+
import '../../utils/index.js';
|
|
8
|
+
import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
|
|
9
|
+
import wrapAround from '../../utils/wrapAround/wrapAround.js';
|
|
10
|
+
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
11
|
+
|
|
12
|
+
const TabsList = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
13
|
+
let {
|
|
14
|
+
'aria-label': ariaLabel,
|
|
15
|
+
'aria-labelledby': ariaLabelledBy,
|
|
16
|
+
children,
|
|
17
|
+
className,
|
|
18
|
+
isFullWidth = false,
|
|
19
|
+
...rest
|
|
20
|
+
} = _ref;
|
|
21
|
+
const {
|
|
22
|
+
rootId,
|
|
23
|
+
rootTestId,
|
|
24
|
+
isTabListFocused,
|
|
25
|
+
setIsTabListFocused
|
|
26
|
+
} = useTabContext();
|
|
27
|
+
const tabListId = getSubDataTestId(rootId, "tablist");
|
|
28
|
+
const tabListTestId = getSubDataTestId(rootTestId, "tablist");
|
|
29
|
+
const tabListRef = useRef(null);
|
|
30
|
+
// We use this map of tab element to index to allow constant time index
|
|
31
|
+
// lookup when we handle an event from a child tab
|
|
32
|
+
const tabButtonsElementToIndexMapRef = useRef(new Map());
|
|
33
|
+
const tabButtonsArrayRef = useRef([]);
|
|
34
|
+
const [focusedTabElement, setFocusedTabElement] = useState();
|
|
35
|
+
const focusedIndex = useMemo(() => {
|
|
36
|
+
if (focusedTabElement) {
|
|
37
|
+
return tabButtonsElementToIndexMapRef.current.get(focusedTabElement);
|
|
38
|
+
}
|
|
39
|
+
return -1;
|
|
40
|
+
}, [focusedTabElement, tabButtonsElementToIndexMapRef]);
|
|
41
|
+
const focusTabAtIndex = index => {
|
|
42
|
+
const tabRefsLength = tabButtonsArrayRef.current.length;
|
|
43
|
+
const wrappedIndex = wrapAround(index, 0, tabRefsLength - 1);
|
|
44
|
+
const newFocusedElement = tabButtonsArrayRef.current[wrappedIndex];
|
|
45
|
+
newFocusedElement.focus();
|
|
46
|
+
setFocusedTabElement(newFocusedElement);
|
|
47
|
+
};
|
|
48
|
+
return /*#__PURE__*/React__default.createElement("div", _extends({}, rest, {
|
|
49
|
+
id: tabListId,
|
|
50
|
+
onFocus: e => {
|
|
51
|
+
setIsTabListFocused(true);
|
|
52
|
+
if (e.target.tagName === 'BUTTON') {
|
|
53
|
+
const event = e;
|
|
54
|
+
const role = event.target.getAttribute('role');
|
|
55
|
+
// Only handle focus events for immediate tab children
|
|
56
|
+
if (role === 'tab' && event.target.parentElement === tabListRef.current) {
|
|
57
|
+
setFocusedTabElement(event.target);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
onBlur: () => {
|
|
62
|
+
setIsTabListFocused(false);
|
|
63
|
+
setFocusedTabElement(undefined);
|
|
64
|
+
},
|
|
65
|
+
onKeyDown: e => {
|
|
66
|
+
if (isTabListFocused) {
|
|
67
|
+
if (e.key === 'ArrowRight') {
|
|
68
|
+
focusTabAtIndex(focusedIndex + 1);
|
|
69
|
+
} else if (e.key === 'ArrowLeft') {
|
|
70
|
+
focusTabAtIndex(focusedIndex - 1);
|
|
71
|
+
} else if (e.key === 'Home') {
|
|
72
|
+
e.preventDefault();
|
|
73
|
+
tabButtonsArrayRef.current[0].focus();
|
|
74
|
+
} else if (e.key === 'End') {
|
|
75
|
+
e.preventDefault();
|
|
76
|
+
tabButtonsArrayRef.current[tabButtonsArrayRef.current.length - 1].focus();
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"data-testid": tabListTestId,
|
|
81
|
+
className: classNames(styles.tablist, className, {
|
|
82
|
+
[styles.grow]: isFullWidth
|
|
83
|
+
}),
|
|
84
|
+
role: "tablist",
|
|
85
|
+
"aria-label": ariaLabel,
|
|
86
|
+
"aria-labelledby": ariaLabelledBy,
|
|
87
|
+
ref: mergeRefs(ref, tabListRef),
|
|
88
|
+
tabIndex: -1 // Needed to satisfy the jsx-a11y/interactive-supports-focus rule
|
|
89
|
+
}), React__default.Children.map(children, (child, index) => {
|
|
90
|
+
if ((child === null || child === void 0 ? void 0 : child.type) === Tab) {
|
|
91
|
+
var _child$props$value;
|
|
92
|
+
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
93
|
+
value: (_child$props$value = child.props.value) !== null && _child$props$value !== void 0 ? _child$props$value : index,
|
|
94
|
+
ref: mergeRefs(child === null || child === void 0 ? void 0 : child.ref, node => {
|
|
95
|
+
// Store a reverse node/index map for
|
|
96
|
+
// constant time index lookups from event handlers
|
|
97
|
+
if (node) {
|
|
98
|
+
tabButtonsElementToIndexMapRef.current.set(node, index);
|
|
99
|
+
tabButtonsArrayRef.current[index] = node;
|
|
100
|
+
}
|
|
101
|
+
})
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
return child;
|
|
105
|
+
}));
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
export { TabsList as default };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import classNames from 'classnames';
|
|
3
|
+
import React__default from 'react';
|
|
4
|
+
import { useTabContext } from './TabContextProvider.js';
|
|
5
|
+
import styles from './Tabs2.js';
|
|
6
|
+
import '../../utils/index.js';
|
|
7
|
+
import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
|
|
8
|
+
|
|
9
|
+
const TabPanel = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
10
|
+
let {
|
|
11
|
+
value,
|
|
12
|
+
children,
|
|
13
|
+
className,
|
|
14
|
+
...rest
|
|
15
|
+
} = _ref;
|
|
16
|
+
const {
|
|
17
|
+
activeTab,
|
|
18
|
+
rootId,
|
|
19
|
+
rootTestId
|
|
20
|
+
} = useTabContext();
|
|
21
|
+
const tabPanelId = getSubDataTestId(rootId, "tabpanel-".concat(value));
|
|
22
|
+
const tabPanelTestId = getSubDataTestId(rootTestId, "tabpanel-".concat(value));
|
|
23
|
+
return /*#__PURE__*/React__default.createElement("div", _extends({}, rest, {
|
|
24
|
+
ref: ref,
|
|
25
|
+
"data-testid": tabPanelTestId,
|
|
26
|
+
id: tabPanelId,
|
|
27
|
+
role: "tabpanel",
|
|
28
|
+
"aria-labelledby": "".concat(rootId, "-tab-").concat(value),
|
|
29
|
+
className: classNames(styles.tabpanel, className, {
|
|
30
|
+
[styles.inactive]: value !== activeTab
|
|
31
|
+
})
|
|
32
|
+
}), children);
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
export { TabPanel as default };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import TabPanel from './TabPanel.js';
|
|
3
|
+
|
|
4
|
+
const TabPanels = _ref => {
|
|
5
|
+
let {
|
|
6
|
+
children
|
|
7
|
+
} = _ref;
|
|
8
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, React.Children.map(children, (c, index) => {
|
|
9
|
+
const child = c;
|
|
10
|
+
if (child && child.type === TabPanel) {
|
|
11
|
+
return /*#__PURE__*/React.cloneElement(child, {
|
|
12
|
+
value: child.props.value || index
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
return child;
|
|
16
|
+
}));
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export { TabPanels as default };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import React__default, { useState } from 'react';
|
|
3
|
+
import { TabContextProvider } from './TabContextProvider.js';
|
|
4
|
+
import '../../hooks/index.js';
|
|
5
|
+
import useControllableState from '../../hooks/useControllableState/useControllableState.js';
|
|
6
|
+
import useId from '../../hooks/useId/useId.js';
|
|
7
|
+
|
|
8
|
+
const Tabs = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
9
|
+
let {
|
|
10
|
+
activeTab: externalActiveTab,
|
|
11
|
+
initialActiveTab = 0,
|
|
12
|
+
'data-testid': rootTestId,
|
|
13
|
+
children,
|
|
14
|
+
className,
|
|
15
|
+
onChange,
|
|
16
|
+
id,
|
|
17
|
+
...rest
|
|
18
|
+
} = _ref;
|
|
19
|
+
const [internalActiveTab, setInternalActiveTab] = useControllableState(initialActiveTab, onChange, externalActiveTab);
|
|
20
|
+
const [isTabListFocused, setIsTabListFocused] = useState(false);
|
|
21
|
+
const rootId = useId(id);
|
|
22
|
+
return /*#__PURE__*/React__default.createElement("div", _extends({}, rest, {
|
|
23
|
+
id: rootId,
|
|
24
|
+
"data-testid": rootTestId,
|
|
25
|
+
ref: ref,
|
|
26
|
+
className: className
|
|
27
|
+
}), /*#__PURE__*/React__default.createElement(TabContextProvider, {
|
|
28
|
+
activeTab: internalActiveTab,
|
|
29
|
+
setActiveTab: setInternalActiveTab,
|
|
30
|
+
rootId: rootId,
|
|
31
|
+
rootTestId: rootTestId,
|
|
32
|
+
isTabListFocused: isTabListFocused,
|
|
33
|
+
setIsTabListFocused: setIsTabListFocused
|
|
34
|
+
}, children));
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export { Tabs as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = "._KkOkd{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._KkOkd._RFLIe ._cn5Qj{flex:1 1 0px;max-width:none}._cn5Qj{background:inherit;font-family:inherit;font-size:100%;line-height:1.15;margin:0;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-transform:none;text-align:center;color:#6a6d70;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border:none;border-bottom:2px solid transparent;border-radius:1px;display:block;outline:none;cursor:pointer}._cn5Qj:hover{color:#32363a}._cn5Qj._yFQyg{border-bottom-color:#0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._9XIMV{padding-top:32px}._9XIMV._7AiPp{display:none}._cn5Qj.focus-visible,._cn5Qj:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"tablist":"_KkOkd","grow":"_RFLIe","tab":"_cn5Qj","selected":"_yFQyg","tabpanel":"_9XIMV","inactive":"_7AiPp"};
|
|
5
|
+
var stylesheet="._KkOkd{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._KkOkd._RFLIe ._cn5Qj{flex:1 1 0px;max-width:none}._cn5Qj{background:inherit;font-family:inherit;font-size:100%;line-height:1.15;margin:0;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-transform:none;text-align:center;color:#6a6d70;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border:none;border-bottom:2px solid transparent;border-radius:1px;display:block;outline:none;cursor:pointer}._cn5Qj:hover{color:#32363a}._cn5Qj._yFQyg{border-bottom-color:#0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._9XIMV{padding-top:32px}._9XIMV._7AiPp{display:none}._cn5Qj.focus-visible,._cn5Qj:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
|
+
if(typeof window !== 'undefined' || typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
|
+
|
|
8
|
+
export { styles as default, stylesheet };
|