@algolia/satellite 2.0.0-rc.6 → 2.1.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Actions/Accordion/Accordion.d.ts +1 -1
- package/dist/cjs/Actions/Accordion/Accordion.js +3 -3
- package/dist/cjs/Actions/Button/Button.d.ts +1 -1
- package/dist/cjs/Actions/Button/Button.js +1 -1
- package/dist/cjs/Actions/Button/PolymorphicButton.d.ts +1 -1
- package/dist/cjs/Actions/Button/PolymorphicButton.js +3 -3
- package/dist/cjs/Actions/Button/PolymorphicIconButton.d.ts +2 -2
- package/dist/cjs/Actions/Button/PolymorphicIconButton.js +4 -4
- package/dist/cjs/Actions/Button/styles.js +1 -1
- package/dist/cjs/Actions/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/cjs/Actions/ButtonGroup/ButtonGroup.js +2 -2
- package/dist/cjs/Actions/ButtonLink/ButtonLink.d.ts +2 -2
- package/dist/cjs/Actions/ButtonLink/ButtonLink.js +4 -4
- package/dist/cjs/Actions/IconButton/IconButton.d.ts +2 -2
- package/dist/cjs/Actions/IconButton/IconButton.js +2 -2
- package/dist/cjs/Actions/IconButtonLink/IconButtonLink.d.ts +2 -2
- package/dist/cjs/Actions/IconButtonLink/IconButtonLink.js +3 -3
- package/dist/cjs/Actions/SegmentedControl/SegmentedControl.d.ts +3 -3
- package/dist/cjs/Actions/SegmentedControl/SegmentedControl.js +11 -9
- package/dist/cjs/Actions/SegmentedControl/SegmentedControlOption.js +3 -3
- package/dist/cjs/Actions/ToggleButton/ToggleButton.d.ts +1 -1
- package/dist/cjs/Actions/ToggleButton/ToggleButton.js +1 -1
- package/dist/cjs/Actions/ToggleButton/ToggleButtonBase.d.ts +1 -1
- package/dist/cjs/Actions/ToggleButton/ToggleButtonBase.js +3 -3
- package/dist/cjs/Actions/ToggleGroup/ToggleGroup.d.ts +2 -7
- package/dist/cjs/Actions/ToggleGroup/ToggleGroup.js +3 -8
- package/dist/cjs/Fields/AutoComplete/AutoComplete.d.ts +1 -1
- package/dist/cjs/Fields/AutoComplete/AutoComplete.js +10 -10
- package/dist/cjs/Fields/AutoComplete/components/AutoCompleteContext.d.ts +1 -1
- package/dist/cjs/Fields/AutoComplete/components/AutoCompleteEmptyState.d.ts +1 -1
- package/dist/cjs/Fields/AutoComplete/components/AutoCompleteEmptyState.js +4 -4
- package/dist/cjs/Fields/AutoComplete/components/DefaultOptionItem.d.ts +1 -1
- package/dist/cjs/Fields/AutoComplete/components/DefaultOptionItem.js +1 -1
- package/dist/cjs/Fields/AutoComplete/utils.js +1 -1
- package/dist/cjs/Fields/Checkbox/Checkbox.d.ts +2 -2
- package/dist/cjs/Fields/Checkbox/Checkbox.js +6 -6
- package/dist/cjs/Fields/DateInput/DateInput.d.ts +7 -8
- package/dist/cjs/Fields/DateInput/DateInput.js +7 -7
- package/dist/cjs/Fields/DatePicker/DatePicker/DatePicker.d.ts +3 -5
- package/dist/cjs/Fields/DatePicker/DatePicker/DatePicker.js +13 -17
- package/dist/cjs/Fields/DatePicker/DateRangePicker/DateRangePicker.d.ts +14 -4
- package/dist/cjs/Fields/DatePicker/DateRangePicker/DateRangePicker.js +27 -27
- package/dist/cjs/Fields/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +3 -3
- package/dist/cjs/Fields/DatePicker/DateRangePicker/DateRangePickerDisplay.js +4 -4
- package/dist/cjs/Fields/DatePicker/DateRangePicker/dateRangePickerReducer.js +2 -10
- package/dist/cjs/Fields/DatePicker/components/Calendar.d.ts +1 -1
- package/dist/cjs/Fields/DatePicker/components/Display.js +2 -2
- package/dist/cjs/Fields/DatePicker/components/Footer.js +1 -1
- package/dist/cjs/Fields/DatePicker/components/FooterActions.d.ts +1 -1
- package/dist/cjs/Fields/DatePicker/components/FooterActions.js +2 -2
- package/dist/cjs/Fields/DatePicker/components/NavBar.d.ts +2 -2
- package/dist/cjs/Fields/DatePicker/components/NavBar.js +4 -4
- package/dist/cjs/Fields/DatePicker/components/Popover.js +2 -2
- package/dist/cjs/Fields/DatePicker/components/SidePanel.js +1 -1
- package/dist/cjs/Fields/DatePicker/utils.d.ts +8 -0
- package/dist/cjs/Fields/DatePicker/utils.js +13 -1
- package/dist/cjs/Fields/DateRangeInput/DateRangeInput.d.ts +51 -0
- package/dist/cjs/Fields/DateRangeInput/DateRangeInput.js +231 -0
- package/dist/cjs/Fields/DateRangeInput/index.d.ts +2 -0
- package/dist/cjs/Fields/DateRangeInput/index.js +12 -0
- package/dist/cjs/Fields/Dropzone/Dropzone.d.ts +1 -1
- package/dist/cjs/Fields/Dropzone/Dropzone.js +8 -8
- package/dist/cjs/Fields/Field/Field.d.ts +3 -3
- package/dist/cjs/Fields/Field/Field.js +6 -6
- package/dist/cjs/Fields/FilePicker/FilePicker.d.ts +3 -3
- package/dist/cjs/Fields/FilePicker/FilePicker.js +7 -7
- package/dist/cjs/Fields/Form/Form.d.ts +6 -1
- package/dist/cjs/Fields/Form/Form.js +11 -5
- package/dist/cjs/Fields/Form/FormContext.d.ts +1 -1
- package/dist/cjs/Fields/Form/stories/AsynchronousValidation.js +8 -8
- package/dist/cjs/Fields/Form/stories/Complex.js +18 -18
- package/dist/cjs/Fields/Form/stories/DependentFieldsValidation.js +4 -4
- package/dist/cjs/Fields/Form/stories/DirtyFields.js +6 -6
- package/dist/cjs/Fields/Form/stories/DynamicFieldsValidation.js +5 -5
- package/dist/cjs/Fields/Form/stories/ExtraErrors.js +4 -4
- package/dist/cjs/Fields/Form/stories/FieldArrays.js +11 -11
- package/dist/cjs/Fields/Form/stories/JSONForms.js +13 -13
- package/dist/cjs/Fields/Form/stories/MultiStep.js +7 -7
- package/dist/cjs/Fields/Form/stories/ValidationStrategies.js +5 -5
- package/dist/cjs/Fields/Input/Input.d.ts +1 -1
- package/dist/cjs/Fields/Input/Input.js +9 -9
- package/dist/cjs/Fields/RadioGroup/RadioButton.d.ts +5 -0
- package/dist/cjs/Fields/RadioGroup/RadioButton.js +7 -2
- package/dist/cjs/Fields/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/cjs/Fields/RadioGroup/RadioGroup.js +5 -5
- package/dist/cjs/Fields/RadioGroup/RadioGroupContext.d.ts +1 -1
- package/dist/cjs/Fields/RadioGroup/RadioGroupItem.js +2 -2
- package/dist/cjs/Fields/RangeSlider/RangeSlider.d.ts +1 -1
- package/dist/cjs/Fields/RangeSlider/RangeSlider.js +5 -5
- package/dist/cjs/Fields/Select/Select.d.ts +1 -1
- package/dist/cjs/Fields/Select/Select.js +4 -4
- package/dist/cjs/Fields/Switch/Switch.d.ts +2 -2
- package/dist/cjs/Fields/Switch/Switch.js +3 -3
- package/dist/cjs/Fields/TextArea/TextArea.d.ts +1 -1
- package/dist/cjs/Fields/TextArea/TextArea.js +4 -4
- package/dist/cjs/Fields/index.d.ts +1 -0
- package/dist/cjs/Fields/index.js +11 -0
- package/dist/cjs/Helpers/ClickAwayContainer/ClickAwayContainer.d.ts +2 -0
- package/dist/cjs/Helpers/ClickAwayContainer/ClickAwayContainer.js +2 -0
- package/dist/cjs/Helpers/CodeEditor/CodeEditor.d.ts +28 -0
- package/dist/cjs/Helpers/CodeEditor/CodeEditor.js +56 -0
- package/dist/cjs/Helpers/CodeEditor/index.d.ts +1 -0
- package/dist/cjs/Helpers/CodeEditor/index.js +24 -0
- package/dist/cjs/Helpers/CodeEditor/theme.d.ts +24 -0
- package/dist/cjs/Helpers/CodeEditor/theme.js +59 -0
- package/dist/cjs/Helpers/HelpUnderline/HelpUnderline.d.ts +1 -1
- package/dist/cjs/Helpers/HelpUnderline/HelpUnderline.js +3 -3
- package/dist/cjs/Helpers/TextWrap/TextWrap.d.ts +1 -1
- package/dist/cjs/Helpers/TextWrap/TextWrap.js +3 -3
- package/dist/cjs/Helpers/UserContent/UserContent.d.ts +1 -1
- package/dist/cjs/Helpers/UserContent/UserContent.js +2 -2
- package/dist/cjs/Helpers/index.d.ts +1 -2
- package/dist/cjs/Helpers/index.js +8 -19
- package/dist/cjs/Icons/index.d.ts +1 -1
- package/dist/cjs/Icons/index.js +6 -0
- package/dist/cjs/Icons/utils.js +1 -1
- package/dist/cjs/Indicators/AnnouncementBadge/AnnouncementBadge.d.ts +1 -1
- package/dist/cjs/Indicators/AnnouncementBadge/AnnouncementBadge.js +3 -3
- package/dist/cjs/{Avatars → Indicators/Avatars}/ApplicationAvatar/ApplicationAvatar.d.ts +2 -2
- package/dist/cjs/{Avatars → Indicators/Avatars}/ApplicationAvatar/ApplicationAvatar.js +3 -3
- package/dist/cjs/{Avatars → Indicators/Avatars}/UserAvatar/UserAvatar.d.ts +2 -2
- package/dist/cjs/{Avatars → Indicators/Avatars}/UserAvatar/UserAvatar.js +5 -5
- package/dist/cjs/{Avatars → Indicators/Avatars}/utils.js +2 -2
- package/dist/cjs/Indicators/Badge/Badge.d.ts +1 -1
- package/dist/cjs/Indicators/Badge/Badge.js +3 -3
- package/dist/cjs/Indicators/Banners/Alert/Alert.d.ts +1 -1
- package/dist/cjs/Indicators/Banners/Alert/Alert.js +4 -4
- package/dist/cjs/Indicators/Banners/Promote/Promote.d.ts +1 -1
- package/dist/cjs/Indicators/Banners/Promote/Promote.js +5 -5
- package/dist/cjs/Indicators/Banners/SystemNotification/SystemNotification.d.ts +1 -1
- package/dist/cjs/Indicators/Banners/SystemNotification/SystemNotification.js +3 -3
- package/dist/cjs/Indicators/EmptyState/EmptyState.d.ts +1 -1
- package/dist/cjs/Indicators/EmptyState/EmptyState.js +5 -5
- package/dist/cjs/Indicators/KeyboardKey/KeyboardKey.d.ts +1 -1
- package/dist/cjs/Indicators/KeyboardKey/KeyboardKey.js +3 -3
- package/dist/{esm/Helpers → cjs/Indicators}/Medallion/Medallion.d.ts +2 -2
- package/dist/cjs/{Helpers → Indicators}/Medallion/Medallion.js +2 -2
- package/dist/cjs/Indicators/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/cjs/Indicators/ProgressBar/ProgressBar.js +4 -4
- package/dist/cjs/Indicators/ProgressSpinner/ProgressSpinner.d.ts +1 -1
- package/dist/cjs/Indicators/ProgressSpinner/ProgressSpinner.js +2 -2
- package/dist/cjs/Indicators/ScrollIndicator/ScrollIndicator.d.ts +1 -1
- package/dist/cjs/Indicators/ScrollIndicator/ScrollIndicator.js +2 -2
- package/dist/cjs/{Helpers → Indicators}/Separator/Separator.d.ts +1 -1
- package/dist/cjs/{Helpers → Indicators}/Separator/Separator.js +2 -2
- package/dist/cjs/Indicators/Skeleton/Skeleton.d.ts +1 -1
- package/dist/cjs/Indicators/Skeleton/Skeleton.js +3 -3
- package/dist/cjs/Indicators/Tag/Tag.d.ts +1 -1
- package/dist/cjs/Indicators/Tag/Tag.js +6 -6
- package/dist/cjs/Indicators/Toast/Toast.js +7 -7
- package/dist/cjs/Indicators/Toast/Toasts.d.ts +1 -1
- package/dist/cjs/Indicators/Toast/Toasts.js +4 -4
- package/dist/cjs/Indicators/index.d.ts +4 -1
- package/dist/cjs/Indicators/index.js +44 -11
- package/dist/cjs/Layout/Card/Card.d.ts +1 -1
- package/dist/cjs/Layout/Card/Card.js +2 -2
- package/dist/cjs/Layout/Card/components/CardHeader.js +1 -1
- package/dist/cjs/Layout/Card/components/CardTitle.js +1 -1
- package/dist/cjs/Layout/CollapsibleCard/CollapsibleCard.d.ts +58 -0
- package/dist/cjs/Layout/CollapsibleCard/CollapsibleCard.js +69 -0
- package/dist/cjs/{Indicators/EmptyState/EmptyState.tailwind.d.ts → Layout/CollapsibleCard/CollapsibleCard.tailwind.d.ts} +2 -2
- package/dist/cjs/Layout/CollapsibleCard/CollapsibleCard.tailwind.js +44 -0
- package/dist/cjs/Layout/CollapsibleCard/index.d.ts +2 -0
- package/dist/cjs/Layout/CollapsibleCard/index.js +12 -0
- package/dist/cjs/Layout/FlexGrid/FlexGrid.d.ts +1 -1
- package/dist/cjs/Layout/FlexGrid/FlexGrid.js +3 -3
- package/dist/cjs/Layout/Insert/Insert.d.ts +1 -1
- package/dist/cjs/Layout/Insert/Insert.js +4 -4
- package/dist/cjs/Layout/Sidebar/Sidebar.d.ts +1 -1
- package/dist/cjs/Layout/Sidebar/Sidebar.js +5 -5
- package/dist/cjs/Layout/Sidebar/SidebarButtonLink.js +4 -4
- package/dist/cjs/Layout/Sidebar/SidebarHeader.js +1 -1
- package/dist/cjs/Layout/Sidebar/SidebarHeading.js +1 -1
- package/dist/cjs/Layout/Sidebar/SidebarLink.js +3 -3
- package/dist/cjs/Layout/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.js +1 -1
- package/dist/cjs/Layout/Sidebar/SidebarLinksGroup/SidebarGroupLink.js +3 -3
- package/dist/cjs/Layout/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +1 -1
- package/dist/cjs/Layout/Sidebar/SidebarLinksGroup/SidebarLinksGroup.js +3 -3
- package/dist/cjs/Layout/Sidebar/SidebarNav.js +1 -1
- package/dist/cjs/Layout/Tables/DataTable/DataTable.d.ts +2 -2
- package/dist/cjs/Layout/Tables/DataTable/DataTable.js +11 -11
- package/dist/cjs/Layout/Tables/DataTable/components/Body.d.ts +2 -2
- package/dist/cjs/Layout/Tables/DataTable/components/Body.js +3 -3
- package/dist/cjs/Layout/Tables/DataTable/components/Footer.d.ts +1 -1
- package/dist/cjs/Layout/Tables/DataTable/components/Footer.js +2 -2
- package/dist/cjs/Layout/Tables/DataTable/components/Header.d.ts +1 -1
- package/dist/cjs/Layout/Tables/DataTable/components/HeaderCell.d.ts +1 -1
- package/dist/cjs/Layout/Tables/DataTable/components/HeaderCell.js +2 -2
- package/dist/cjs/Layout/Tables/DataTable/components/Loader.d.ts +1 -1
- package/dist/cjs/Layout/Tables/DataTable/components/Loader.js +2 -2
- package/dist/cjs/Layout/Tables/Table/Table.d.ts +1 -1
- package/dist/cjs/Layout/Tables/Table/Table.js +2 -2
- package/dist/cjs/Layout/Tables/Table/components/TableFooter.js +1 -1
- package/dist/cjs/Layout/index.d.ts +1 -0
- package/dist/cjs/Layout/index.js +11 -0
- package/dist/cjs/Navigation/Link/BaseLink.js +2 -2
- package/dist/cjs/Navigation/Link/Link.d.ts +1 -1
- package/dist/cjs/Navigation/Link/Link.js +4 -4
- package/dist/cjs/Navigation/Pagination/CompactPagination/CompactPagination.d.ts +1 -1
- package/dist/cjs/Navigation/Pagination/CompactPagination/CompactPagination.js +5 -5
- package/dist/cjs/Navigation/Pagination/DotPagination/DotPagination.d.ts +2 -2
- package/dist/cjs/Navigation/Pagination/DotPagination/DotPagination.js +3 -3
- package/dist/cjs/Navigation/Pagination/Pagination/Pagination.d.ts +1 -1
- package/dist/cjs/Navigation/Pagination/Pagination/Pagination.js +6 -6
- package/dist/cjs/Navigation/Stepper/Step.js +4 -4
- package/dist/cjs/Navigation/Stepper/Stepper.d.ts +5 -0
- package/dist/cjs/Navigation/Stepper/Stepper.js +7 -2
- package/dist/cjs/Navigation/Tabs/ContentTabs/ContentTabs.d.ts +6 -1
- package/dist/cjs/Navigation/Tabs/ContentTabs/ContentTabs.js +8 -3
- package/dist/cjs/Navigation/Tabs/LinkTabs/LinkTabs.d.ts +2 -2
- package/dist/cjs/Navigation/Tabs/LinkTabs/LinkTabs.js +4 -4
- package/dist/cjs/Navigation/Tabs/components/LinkTab.d.ts +1 -1
- package/dist/cjs/Navigation/Tabs/components/LinkTab.js +4 -4
- package/dist/cjs/Navigation/Tabs/utils.js +1 -1
- package/dist/cjs/Overlay/MenuButton/MenuButton.d.ts +18 -9
- package/dist/cjs/Overlay/MenuButton/MenuButton.js +1 -1
- package/dist/cjs/Overlay/MenuButton/components/Content.d.ts +1 -1
- package/dist/cjs/Overlay/MenuButton/components/Content.js +9 -6
- package/dist/cjs/Overlay/MenuButton/components/CustomTrigger.d.ts +2 -2
- package/dist/cjs/Overlay/MenuButton/components/CustomTrigger.js +4 -2
- package/dist/cjs/Overlay/MenuButton/components/DefaultTrigger.js +3 -3
- package/dist/cjs/Overlay/MenuButton/components/Divider.d.ts +2 -1
- package/dist/cjs/Overlay/MenuButton/components/Divider.js +7 -4
- package/dist/cjs/Overlay/MenuButton/components/Label.d.ts +3 -2
- package/dist/cjs/Overlay/MenuButton/components/Label.js +8 -8
- package/dist/cjs/Overlay/MenuButton/components/collapsible/CollapsibleItem.d.ts +4 -2
- package/dist/cjs/Overlay/MenuButton/components/collapsible/CollapsibleItem.js +7 -5
- package/dist/cjs/Overlay/MenuButton/components/items/Item.d.ts +14 -3
- package/dist/cjs/Overlay/MenuButton/components/items/Item.js +7 -4
- package/dist/cjs/Overlay/MenuButton/components/items/LinkItem.d.ts +5 -5
- package/dist/cjs/Overlay/MenuButton/components/items/LinkItem.js +9 -7
- package/dist/cjs/Overlay/MenuButton/components/items/RadioItem.d.ts +7 -4
- package/dist/cjs/Overlay/MenuButton/components/items/RadioItem.js +8 -6
- package/dist/cjs/Overlay/MenuButton/components/items/ToggleItem.js +7 -5
- package/dist/cjs/Overlay/MenuButton/useMenuItemProps.js +1 -1
- package/dist/cjs/Overlay/Modal/Modal.d.ts +2 -2
- package/dist/cjs/Overlay/Modal/Modal.js +7 -7
- package/dist/cjs/Overlay/Modal/components/ModalFooter.js +2 -2
- package/dist/cjs/Overlay/Modal/components/ModalSection.js +1 -1
- package/dist/cjs/Overlay/OverflowTooltipWrapper/OverflowTooltipWrapper.d.ts +2 -2
- package/dist/cjs/Overlay/OverflowTooltipWrapper/OverflowTooltipWrapper.js +5 -5
- package/dist/cjs/Overlay/Popover/Popover.d.ts +1 -1
- package/dist/cjs/Overlay/Popover/Popover.js +6 -6
- package/dist/cjs/Overlay/Tooltip/Tooltip.d.ts +1 -1
- package/dist/cjs/Overlay/Tooltip/Tooltip.js +2 -2
- package/dist/cjs/Overlay/TooltipWrapper/TooltipWrapper.d.ts +1 -1
- package/dist/cjs/Overlay/TooltipWrapper/TooltipWrapper.js +5 -5
- package/dist/cjs/Overlay/TooltipWrapper/types.d.ts +1 -1
- package/dist/cjs/Satellite/SatelliteRouter.js +1 -1
- package/dist/cjs/Satellite/locale.d.ts +3 -2
- package/dist/cjs/Typography/Typography.tailwind.js +2 -3
- package/dist/cjs/index.d.ts +0 -1
- package/dist/cjs/index.js +0 -12
- package/dist/cjs/styles/tailwind.config.js +4 -1
- package/dist/cjs/utils/isCssPropertySupported.d.ts +1 -1
- package/dist/cjs/utils/useLinkProps.js +1 -1
- package/dist/esm/Actions/Accordion/Accordion.d.ts +1 -1
- package/dist/esm/Actions/Accordion/Accordion.js +3 -3
- package/dist/esm/Actions/Button/Button.d.ts +1 -1
- package/dist/esm/Actions/Button/Button.js +1 -1
- package/dist/esm/Actions/Button/PolymorphicButton.d.ts +1 -1
- package/dist/esm/Actions/Button/PolymorphicButton.js +3 -3
- package/dist/esm/Actions/Button/PolymorphicIconButton.d.ts +2 -2
- package/dist/esm/Actions/Button/PolymorphicIconButton.js +4 -4
- package/dist/esm/Actions/Button/styles.js +1 -1
- package/dist/esm/Actions/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/esm/Actions/ButtonGroup/ButtonGroup.js +2 -2
- package/dist/esm/Actions/ButtonLink/ButtonLink.d.ts +2 -2
- package/dist/esm/Actions/ButtonLink/ButtonLink.js +4 -4
- package/dist/esm/Actions/IconButton/IconButton.d.ts +2 -2
- package/dist/esm/Actions/IconButton/IconButton.js +2 -2
- package/dist/esm/Actions/IconButtonLink/IconButtonLink.d.ts +2 -2
- package/dist/esm/Actions/IconButtonLink/IconButtonLink.js +3 -3
- package/dist/esm/Actions/SegmentedControl/SegmentedControl.d.ts +3 -3
- package/dist/esm/Actions/SegmentedControl/SegmentedControl.js +12 -10
- package/dist/esm/Actions/SegmentedControl/SegmentedControlOption.js +3 -3
- package/dist/esm/Actions/ToggleButton/ToggleButton.d.ts +1 -1
- package/dist/esm/Actions/ToggleButton/ToggleButton.js +1 -1
- package/dist/esm/Actions/ToggleButton/ToggleButtonBase.d.ts +1 -1
- package/dist/esm/Actions/ToggleButton/ToggleButtonBase.js +3 -3
- package/dist/esm/Actions/ToggleGroup/ToggleGroup.d.ts +2 -7
- package/dist/esm/Actions/ToggleGroup/ToggleGroup.js +3 -9
- package/dist/esm/Fields/AutoComplete/AutoComplete.d.ts +1 -1
- package/dist/esm/Fields/AutoComplete/AutoComplete.js +10 -10
- package/dist/esm/Fields/AutoComplete/components/AutoCompleteContext.d.ts +1 -1
- package/dist/esm/Fields/AutoComplete/components/AutoCompleteEmptyState.d.ts +1 -1
- package/dist/esm/Fields/AutoComplete/components/AutoCompleteEmptyState.js +3 -3
- package/dist/esm/Fields/AutoComplete/components/DefaultOptionItem.d.ts +1 -1
- package/dist/esm/Fields/AutoComplete/components/DefaultOptionItem.js +1 -1
- package/dist/esm/Fields/AutoComplete/utils.js +1 -1
- package/dist/esm/Fields/Checkbox/Checkbox.d.ts +2 -2
- package/dist/esm/Fields/Checkbox/Checkbox.js +6 -6
- package/dist/esm/Fields/DateInput/DateInput.d.ts +7 -8
- package/dist/esm/Fields/DateInput/DateInput.js +7 -7
- package/dist/esm/Fields/DatePicker/DatePicker/DatePicker.d.ts +3 -5
- package/dist/esm/Fields/DatePicker/DatePicker/DatePicker.js +7 -11
- package/dist/esm/Fields/DatePicker/DateRangePicker/DateRangePicker.d.ts +14 -4
- package/dist/esm/Fields/DatePicker/DateRangePicker/DateRangePicker.js +22 -22
- package/dist/esm/Fields/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +3 -3
- package/dist/esm/Fields/DatePicker/DateRangePicker/DateRangePickerDisplay.js +3 -3
- package/dist/esm/Fields/DatePicker/DateRangePicker/dateRangePickerReducer.js +2 -10
- package/dist/esm/Fields/DatePicker/components/Calendar.d.ts +1 -1
- package/dist/esm/Fields/DatePicker/components/Display.js +2 -2
- package/dist/esm/Fields/DatePicker/components/Footer.js +1 -1
- package/dist/esm/Fields/DatePicker/components/FooterActions.d.ts +1 -1
- package/dist/esm/Fields/DatePicker/components/FooterActions.js +2 -2
- package/dist/esm/Fields/DatePicker/components/NavBar.d.ts +2 -2
- package/dist/esm/Fields/DatePicker/components/NavBar.js +4 -4
- package/dist/esm/Fields/DatePicker/components/Popover.js +2 -2
- package/dist/esm/Fields/DatePicker/components/SidePanel.js +1 -1
- package/dist/esm/Fields/DatePicker/utils.d.ts +8 -0
- package/dist/esm/Fields/DatePicker/utils.js +12 -1
- package/dist/esm/Fields/DateRangeInput/DateRangeInput.d.ts +51 -0
- package/dist/esm/Fields/DateRangeInput/DateRangeInput.js +225 -0
- package/dist/esm/Fields/DateRangeInput/index.d.ts +2 -0
- package/dist/esm/Fields/DateRangeInput/index.js +1 -0
- package/dist/esm/Fields/Dropzone/Dropzone.d.ts +1 -1
- package/dist/esm/Fields/Dropzone/Dropzone.js +8 -8
- package/dist/esm/Fields/Field/Field.d.ts +3 -3
- package/dist/esm/Fields/Field/Field.js +6 -6
- package/dist/esm/Fields/FilePicker/FilePicker.d.ts +3 -3
- package/dist/esm/Fields/FilePicker/FilePicker.js +7 -7
- package/dist/esm/Fields/Form/Form.d.ts +6 -1
- package/dist/esm/Fields/Form/Form.js +11 -5
- package/dist/esm/Fields/Form/FormContext.d.ts +1 -1
- package/dist/esm/Fields/Form/stories/AsynchronousValidation.js +4 -4
- package/dist/esm/Fields/Form/stories/Complex.js +10 -10
- package/dist/esm/Fields/Form/stories/DependentFieldsValidation.js +4 -4
- package/dist/esm/Fields/Form/stories/DirtyFields.js +6 -6
- package/dist/esm/Fields/Form/stories/DynamicFieldsValidation.js +5 -5
- package/dist/esm/Fields/Form/stories/ExtraErrors.js +4 -4
- package/dist/esm/Fields/Form/stories/FieldArrays.js +7 -7
- package/dist/esm/Fields/Form/stories/JSONForms.js +13 -13
- package/dist/esm/Fields/Form/stories/MultiStep.js +7 -7
- package/dist/esm/Fields/Form/stories/ValidationStrategies.js +5 -5
- package/dist/esm/Fields/Input/Input.d.ts +1 -1
- package/dist/esm/Fields/Input/Input.js +9 -9
- package/dist/esm/Fields/RadioGroup/RadioButton.d.ts +5 -0
- package/dist/esm/Fields/RadioGroup/RadioButton.js +7 -2
- package/dist/esm/Fields/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/esm/Fields/RadioGroup/RadioGroup.js +5 -5
- package/dist/esm/Fields/RadioGroup/RadioGroupContext.d.ts +1 -1
- package/dist/esm/Fields/RadioGroup/RadioGroupItem.js +2 -2
- package/dist/esm/Fields/RangeSlider/RangeSlider.d.ts +1 -1
- package/dist/esm/Fields/RangeSlider/RangeSlider.js +5 -5
- package/dist/esm/Fields/Select/Select.d.ts +1 -1
- package/dist/esm/Fields/Select/Select.js +4 -4
- package/dist/esm/Fields/Switch/Switch.d.ts +2 -2
- package/dist/esm/Fields/Switch/Switch.js +3 -3
- package/dist/esm/Fields/TextArea/TextArea.d.ts +1 -1
- package/dist/esm/Fields/TextArea/TextArea.js +4 -4
- package/dist/esm/Fields/index.d.ts +1 -0
- package/dist/esm/Fields/index.js +1 -0
- package/dist/esm/Helpers/ClickAwayContainer/ClickAwayContainer.d.ts +2 -0
- package/dist/esm/Helpers/ClickAwayContainer/ClickAwayContainer.js +2 -0
- package/dist/esm/Helpers/CodeEditor/CodeEditor.d.ts +28 -0
- package/dist/esm/Helpers/CodeEditor/CodeEditor.js +44 -0
- package/dist/esm/Helpers/CodeEditor/index.d.ts +1 -0
- package/dist/esm/Helpers/CodeEditor/index.js +1 -0
- package/dist/esm/Helpers/CodeEditor/theme.d.ts +24 -0
- package/dist/esm/Helpers/CodeEditor/theme.js +53 -0
- package/dist/esm/Helpers/HelpUnderline/HelpUnderline.d.ts +1 -1
- package/dist/esm/Helpers/HelpUnderline/HelpUnderline.js +3 -3
- package/dist/esm/Helpers/TextWrap/TextWrap.d.ts +1 -1
- package/dist/esm/Helpers/TextWrap/TextWrap.js +3 -3
- package/dist/esm/Helpers/UserContent/UserContent.d.ts +1 -1
- package/dist/esm/Helpers/UserContent/UserContent.js +2 -2
- package/dist/esm/Helpers/index.d.ts +1 -2
- package/dist/esm/Helpers/index.js +1 -2
- package/dist/esm/Icons/index.d.ts +1 -1
- package/dist/esm/Icons/index.js +1 -1
- package/dist/esm/Icons/utils.js +1 -1
- package/dist/esm/Indicators/AnnouncementBadge/AnnouncementBadge.d.ts +1 -1
- package/dist/esm/Indicators/AnnouncementBadge/AnnouncementBadge.js +3 -3
- package/dist/esm/{Avatars → Indicators/Avatars}/ApplicationAvatar/ApplicationAvatar.d.ts +2 -2
- package/dist/esm/{Avatars → Indicators/Avatars}/ApplicationAvatar/ApplicationAvatar.js +3 -3
- package/dist/esm/{Avatars → Indicators/Avatars}/UserAvatar/UserAvatar.d.ts +2 -2
- package/dist/esm/{Avatars → Indicators/Avatars}/UserAvatar/UserAvatar.js +5 -5
- package/dist/esm/{Avatars → Indicators/Avatars}/utils.js +3 -2
- package/dist/esm/Indicators/Badge/Badge.d.ts +1 -1
- package/dist/esm/Indicators/Badge/Badge.js +3 -3
- package/dist/esm/Indicators/Banners/Alert/Alert.d.ts +1 -1
- package/dist/esm/Indicators/Banners/Alert/Alert.js +4 -4
- package/dist/esm/Indicators/Banners/Promote/Promote.d.ts +1 -1
- package/dist/esm/Indicators/Banners/Promote/Promote.js +5 -5
- package/dist/esm/Indicators/Banners/SystemNotification/SystemNotification.d.ts +1 -1
- package/dist/esm/Indicators/Banners/SystemNotification/SystemNotification.js +3 -3
- package/dist/esm/Indicators/EmptyState/EmptyState.d.ts +1 -1
- package/dist/esm/Indicators/EmptyState/EmptyState.js +5 -5
- package/dist/esm/Indicators/KeyboardKey/KeyboardKey.d.ts +1 -1
- package/dist/esm/Indicators/KeyboardKey/KeyboardKey.js +3 -3
- package/dist/{cjs/Helpers → esm/Indicators}/Medallion/Medallion.d.ts +2 -2
- package/dist/esm/{Helpers → Indicators}/Medallion/Medallion.js +2 -2
- package/dist/esm/Indicators/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/esm/Indicators/ProgressBar/ProgressBar.js +4 -4
- package/dist/esm/Indicators/ProgressSpinner/ProgressSpinner.d.ts +1 -1
- package/dist/esm/Indicators/ProgressSpinner/ProgressSpinner.js +2 -2
- package/dist/esm/Indicators/ScrollIndicator/ScrollIndicator.d.ts +1 -1
- package/dist/esm/Indicators/ScrollIndicator/ScrollIndicator.js +2 -2
- package/dist/esm/{Helpers → Indicators}/Separator/Separator.d.ts +1 -1
- package/dist/esm/{Helpers → Indicators}/Separator/Separator.js +2 -2
- package/dist/esm/Indicators/Skeleton/Skeleton.d.ts +1 -1
- package/dist/esm/Indicators/Skeleton/Skeleton.js +3 -3
- package/dist/esm/Indicators/Tag/Tag.d.ts +1 -1
- package/dist/esm/Indicators/Tag/Tag.js +6 -6
- package/dist/esm/Indicators/Toast/Toast.js +7 -7
- package/dist/esm/Indicators/Toast/Toasts.d.ts +1 -1
- package/dist/esm/Indicators/Toast/Toasts.js +4 -4
- package/dist/esm/Indicators/index.d.ts +4 -1
- package/dist/esm/Indicators/index.js +5 -2
- package/dist/esm/Layout/Card/Card.d.ts +1 -1
- package/dist/esm/Layout/Card/Card.js +2 -2
- package/dist/esm/Layout/Card/components/CardHeader.js +1 -1
- package/dist/esm/Layout/Card/components/CardTitle.js +1 -1
- package/dist/esm/Layout/CollapsibleCard/CollapsibleCard.d.ts +58 -0
- package/dist/esm/Layout/CollapsibleCard/CollapsibleCard.js +59 -0
- package/dist/esm/Layout/CollapsibleCard/CollapsibleCard.tailwind.d.ts +5 -0
- package/dist/esm/Layout/CollapsibleCard/CollapsibleCard.tailwind.js +43 -0
- package/dist/esm/Layout/CollapsibleCard/index.d.ts +2 -0
- package/dist/esm/Layout/CollapsibleCard/index.js +1 -0
- package/dist/esm/Layout/FlexGrid/FlexGrid.d.ts +1 -1
- package/dist/esm/Layout/FlexGrid/FlexGrid.js +3 -3
- package/dist/esm/Layout/Insert/Insert.d.ts +1 -1
- package/dist/esm/Layout/Insert/Insert.js +4 -4
- package/dist/esm/Layout/Sidebar/Sidebar.d.ts +1 -1
- package/dist/esm/Layout/Sidebar/Sidebar.js +5 -5
- package/dist/esm/Layout/Sidebar/SidebarButtonLink.js +4 -4
- package/dist/esm/Layout/Sidebar/SidebarHeader.js +1 -1
- package/dist/esm/Layout/Sidebar/SidebarHeading.js +1 -1
- package/dist/esm/Layout/Sidebar/SidebarLink.js +3 -3
- package/dist/esm/Layout/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.js +1 -1
- package/dist/esm/Layout/Sidebar/SidebarLinksGroup/SidebarGroupLink.js +3 -3
- package/dist/esm/Layout/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +1 -1
- package/dist/esm/Layout/Sidebar/SidebarLinksGroup/SidebarLinksGroup.js +3 -3
- package/dist/esm/Layout/Sidebar/SidebarNav.js +1 -1
- package/dist/esm/Layout/Tables/DataTable/DataTable.d.ts +2 -2
- package/dist/esm/Layout/Tables/DataTable/DataTable.js +6 -6
- package/dist/esm/Layout/Tables/DataTable/components/Body.d.ts +2 -2
- package/dist/esm/Layout/Tables/DataTable/components/Body.js +3 -3
- package/dist/esm/Layout/Tables/DataTable/components/Footer.d.ts +1 -1
- package/dist/esm/Layout/Tables/DataTable/components/Footer.js +2 -2
- package/dist/esm/Layout/Tables/DataTable/components/Header.d.ts +1 -1
- package/dist/esm/Layout/Tables/DataTable/components/HeaderCell.d.ts +1 -1
- package/dist/esm/Layout/Tables/DataTable/components/HeaderCell.js +2 -2
- package/dist/esm/Layout/Tables/DataTable/components/Loader.d.ts +1 -1
- package/dist/esm/Layout/Tables/DataTable/components/Loader.js +2 -2
- package/dist/esm/Layout/Tables/Table/Table.d.ts +1 -1
- package/dist/esm/Layout/Tables/Table/Table.js +2 -2
- package/dist/esm/Layout/Tables/Table/components/TableFooter.js +1 -1
- package/dist/esm/Layout/index.d.ts +1 -0
- package/dist/esm/Layout/index.js +1 -0
- package/dist/esm/Navigation/Link/BaseLink.js +2 -2
- package/dist/esm/Navigation/Link/Link.d.ts +1 -1
- package/dist/esm/Navigation/Link/Link.js +4 -4
- package/dist/esm/Navigation/Pagination/CompactPagination/CompactPagination.d.ts +1 -1
- package/dist/esm/Navigation/Pagination/CompactPagination/CompactPagination.js +5 -5
- package/dist/esm/Navigation/Pagination/DotPagination/DotPagination.d.ts +2 -2
- package/dist/esm/Navigation/Pagination/DotPagination/DotPagination.js +3 -3
- package/dist/esm/Navigation/Pagination/Pagination/Pagination.d.ts +1 -1
- package/dist/esm/Navigation/Pagination/Pagination/Pagination.js +6 -6
- package/dist/esm/Navigation/Stepper/Step.js +4 -4
- package/dist/esm/Navigation/Stepper/Stepper.d.ts +5 -0
- package/dist/esm/Navigation/Stepper/Stepper.js +7 -2
- package/dist/esm/Navigation/Tabs/ContentTabs/ContentTabs.d.ts +6 -1
- package/dist/esm/Navigation/Tabs/ContentTabs/ContentTabs.js +9 -3
- package/dist/esm/Navigation/Tabs/LinkTabs/LinkTabs.d.ts +2 -2
- package/dist/esm/Navigation/Tabs/LinkTabs/LinkTabs.js +4 -4
- package/dist/esm/Navigation/Tabs/components/LinkTab.d.ts +1 -1
- package/dist/esm/Navigation/Tabs/components/LinkTab.js +4 -4
- package/dist/esm/Navigation/Tabs/utils.js +1 -1
- package/dist/esm/Overlay/MenuButton/MenuButton.d.ts +18 -9
- package/dist/esm/Overlay/MenuButton/MenuButton.js +1 -1
- package/dist/esm/Overlay/MenuButton/components/Content.d.ts +1 -1
- package/dist/esm/Overlay/MenuButton/components/Content.js +9 -6
- package/dist/esm/Overlay/MenuButton/components/CustomTrigger.d.ts +2 -2
- package/dist/esm/Overlay/MenuButton/components/CustomTrigger.js +5 -2
- package/dist/esm/Overlay/MenuButton/components/DefaultTrigger.js +3 -3
- package/dist/esm/Overlay/MenuButton/components/Divider.d.ts +2 -1
- package/dist/esm/Overlay/MenuButton/components/Divider.js +7 -4
- package/dist/esm/Overlay/MenuButton/components/Label.d.ts +3 -2
- package/dist/esm/Overlay/MenuButton/components/Label.js +8 -5
- package/dist/esm/Overlay/MenuButton/components/collapsible/CollapsibleItem.d.ts +4 -2
- package/dist/esm/Overlay/MenuButton/components/collapsible/CollapsibleItem.js +8 -6
- package/dist/esm/Overlay/MenuButton/components/items/Item.d.ts +14 -3
- package/dist/esm/Overlay/MenuButton/components/items/Item.js +7 -4
- package/dist/esm/Overlay/MenuButton/components/items/LinkItem.d.ts +5 -5
- package/dist/esm/Overlay/MenuButton/components/items/LinkItem.js +10 -7
- package/dist/esm/Overlay/MenuButton/components/items/RadioItem.d.ts +7 -4
- package/dist/esm/Overlay/MenuButton/components/items/RadioItem.js +8 -6
- package/dist/esm/Overlay/MenuButton/components/items/ToggleItem.js +8 -6
- package/dist/esm/Overlay/MenuButton/useMenuItemProps.js +1 -1
- package/dist/esm/Overlay/Modal/Modal.d.ts +2 -2
- package/dist/esm/Overlay/Modal/Modal.js +7 -7
- package/dist/esm/Overlay/Modal/components/ModalFooter.js +2 -2
- package/dist/esm/Overlay/Modal/components/ModalSection.js +1 -1
- package/dist/esm/Overlay/OverflowTooltipWrapper/OverflowTooltipWrapper.d.ts +2 -2
- package/dist/esm/Overlay/OverflowTooltipWrapper/OverflowTooltipWrapper.js +5 -5
- package/dist/esm/Overlay/Popover/Popover.d.ts +1 -1
- package/dist/esm/Overlay/Popover/Popover.js +6 -6
- package/dist/esm/Overlay/Tooltip/Tooltip.d.ts +1 -1
- package/dist/esm/Overlay/Tooltip/Tooltip.js +2 -2
- package/dist/esm/Overlay/TooltipWrapper/TooltipWrapper.d.ts +1 -1
- package/dist/esm/Overlay/TooltipWrapper/TooltipWrapper.js +5 -5
- package/dist/esm/Overlay/TooltipWrapper/types.d.ts +1 -1
- package/dist/esm/Satellite/SatelliteRouter.js +1 -1
- package/dist/esm/Satellite/locale.d.ts +3 -2
- package/dist/esm/Typography/Typography.tailwind.js +3 -4
- package/dist/esm/index.d.ts +0 -1
- package/dist/esm/index.js +0 -1
- package/dist/esm/styles/tailwind.config.js +4 -1
- package/dist/esm/utils/isCssPropertySupported.d.ts +1 -1
- package/dist/esm/utils/useLinkProps.js +1 -1
- package/dist/satellite.min.css +1 -1
- package/package.json +12 -4
- package/dist/cjs/Indicators/EmptyState/EmptyState.tailwind.js +0 -15
- package/dist/cjs/Overlay/Dropdown/components/DropdownToggleItem.d.ts +0 -0
- package/dist/cjs/Overlay/Dropdown/components/DropdownToggleItem.js +0 -1
- package/dist/esm/Indicators/EmptyState/EmptyState.tailwind.d.ts +0 -5
- package/dist/esm/Indicators/EmptyState/EmptyState.tailwind.js +0 -14
- package/dist/esm/Overlay/Dropdown/components/DropdownToggleItem.d.ts +0 -0
- package/dist/esm/Overlay/Dropdown/components/DropdownToggleItem.js +0 -0
- /package/dist/cjs/{Avatars → Indicators/Avatars}/index.d.ts +0 -0
- /package/dist/cjs/{Avatars → Indicators/Avatars}/index.js +0 -0
- /package/dist/cjs/{Avatars → Indicators/Avatars}/types.d.ts +0 -0
- /package/dist/cjs/{Avatars → Indicators/Avatars}/types.js +0 -0
- /package/dist/cjs/{Avatars → Indicators/Avatars}/utils.d.ts +0 -0
- /package/dist/cjs/{Helpers → Indicators}/Medallion/Medallion.tailwind.d.ts +0 -0
- /package/dist/cjs/{Helpers → Indicators}/Medallion/Medallion.tailwind.js +0 -0
- /package/dist/cjs/{Helpers → Indicators}/Medallion/index.d.ts +0 -0
- /package/dist/cjs/{Helpers → Indicators}/Medallion/index.js +0 -0
- /package/dist/cjs/{Helpers → Indicators}/Medallion/types.d.ts +0 -0
- /package/dist/cjs/{Helpers → Indicators}/Medallion/types.js +0 -0
- /package/dist/cjs/{Helpers → Indicators}/Separator/Separator.tailwind.d.ts +0 -0
- /package/dist/cjs/{Helpers → Indicators}/Separator/Separator.tailwind.js +0 -0
- /package/dist/cjs/{Helpers → Indicators}/Separator/index.d.ts +0 -0
- /package/dist/cjs/{Helpers → Indicators}/Separator/index.js +0 -0
- /package/dist/esm/{Avatars → Indicators/Avatars}/index.d.ts +0 -0
- /package/dist/esm/{Avatars → Indicators/Avatars}/index.js +0 -0
- /package/dist/esm/{Avatars → Indicators/Avatars}/types.d.ts +0 -0
- /package/dist/esm/{Avatars → Indicators/Avatars}/types.js +0 -0
- /package/dist/esm/{Avatars → Indicators/Avatars}/utils.d.ts +0 -0
- /package/dist/esm/{Helpers → Indicators}/Medallion/Medallion.tailwind.d.ts +0 -0
- /package/dist/esm/{Helpers → Indicators}/Medallion/Medallion.tailwind.js +0 -0
- /package/dist/esm/{Helpers → Indicators}/Medallion/index.d.ts +0 -0
- /package/dist/esm/{Helpers → Indicators}/Medallion/index.js +0 -0
- /package/dist/esm/{Helpers → Indicators}/Medallion/types.d.ts +0 -0
- /package/dist/esm/{Helpers → Indicators}/Medallion/types.js +0 -0
- /package/dist/esm/{Helpers → Indicators}/Separator/Separator.tailwind.d.ts +0 -0
- /package/dist/esm/{Helpers → Indicators}/Separator/Separator.tailwind.js +0 -0
- /package/dist/esm/{Helpers → Indicators}/Separator/index.d.ts +0 -0
- /package/dist/esm/{Helpers → Indicators}/Separator/index.js +0 -0
@@ -10,12 +10,12 @@ import { useState } from "react";
|
|
10
10
|
import { Controller, useForm } from "react-hook-form";
|
11
11
|
import * as yup from "yup";
|
12
12
|
import { z } from "zod";
|
13
|
-
import { CalendarIcon, CreditCardIcon, LockIcon } from "../../../Icons";
|
14
|
-
import stl from "../../../styles/helpers/satellitePrefixer";
|
15
|
-
import { Field } from "../../Field";
|
16
|
-
import { Input } from "../../Input";
|
17
|
-
import { Form, FormErrorMessage, FormReset, FormSubmit } from "../Form";
|
18
13
|
import { useFormikAutoFocusOnError } from "./utils/useFormikAutoFocusOnError";
|
14
|
+
import { Field } from "./../../Field";
|
15
|
+
import { Form, FormErrorMessage, FormReset, FormSubmit } from "./../Form";
|
16
|
+
import { Input } from "./../../Input";
|
17
|
+
import { CalendarIcon, CreditCardIcon, LockIcon } from "./../../../Icons";
|
18
|
+
import stl from "./../../../styles/helpers/satellitePrefixer";
|
19
19
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
20
20
|
var initialFormData = {
|
21
21
|
cardOwner: "",
|
@@ -39,6 +39,6 @@ export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>,
|
|
39
39
|
/**
|
40
40
|
* The `Input` component is a flexible, user-friendly component for efficient text and number entry across forms and applications.
|
41
41
|
*
|
42
|
-
* See the [Input documentation page](https://satellite.algolia.com/
|
42
|
+
* See the [Input documentation page](https://satellite.algolia.com/8261d6576/p/93137a-input) for more information.
|
43
43
|
*/
|
44
44
|
export declare const Input: import("react").ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>;
|
@@ -8,14 +8,14 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
8
8
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
9
9
|
import cx from "clsx";
|
10
10
|
import { forwardRef, Fragment, useEffect, useState } from "react";
|
11
|
-
import { IconButton } from "
|
12
|
-
import {
|
13
|
-
import {
|
14
|
-
import
|
15
|
-
import
|
16
|
-
import {
|
17
|
-
import {
|
18
|
-
import {
|
11
|
+
import { IconButton } from "./../../Actions";
|
12
|
+
import { useField } from "./../Field";
|
13
|
+
import { CheckIcon, ChevronDownIcon, ChevronUpIcon, SearchIcon as SearchBaseIcon, XIcon } from "./../../Icons";
|
14
|
+
import { useLocale } from "./../../Satellite";
|
15
|
+
import stl from "./../../styles/helpers/satellitePrefixer";
|
16
|
+
import { isNil } from "./../../utils/isNil";
|
17
|
+
import { useForwardedRef } from "./../../utils/useForwardedRef";
|
18
|
+
import { useTriggerInputChange } from "./../../utils/useTriggerInputChange";
|
19
19
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
20
20
|
var DEFAULT_INPUT_LOCALE = {
|
21
21
|
clearInput: "Clear input",
|
@@ -52,7 +52,7 @@ var ValidatedIcon = function ValidatedIcon() {
|
|
52
52
|
/**
|
53
53
|
* The `Input` component is a flexible, user-friendly component for efficient text and number entry across forms and applications.
|
54
54
|
*
|
55
|
-
* See the [Input documentation page](https://satellite.algolia.com/
|
55
|
+
* See the [Input documentation page](https://satellite.algolia.com/8261d6576/p/93137a-input) for more information.
|
56
56
|
*/
|
57
57
|
export var Input = /*#__PURE__*/forwardRef(function (_ref, externalRef) {
|
58
58
|
var _inputProps$id;
|
@@ -33,6 +33,11 @@ export declare type RadioButtonProps = HTMLAttributes<HTMLInputElement> & {
|
|
33
33
|
*/
|
34
34
|
disabled?: InputHTMLAttributes<HTMLInputElement>["disabled"];
|
35
35
|
};
|
36
|
+
/**
|
37
|
+
* The `RadioButton` component is a control that allows single selection from a set of options.
|
38
|
+
*
|
39
|
+
* See the [Radio Button documentation page](https://satellite.algolia.com/8261d6576/p/50ec00-radio-buttongroup) for more information.
|
40
|
+
*/
|
36
41
|
export declare const RadioButton: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLInputElement> & {
|
37
42
|
/**
|
38
43
|
* The value of the `RadioButton`.
|
@@ -7,9 +7,14 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
7
7
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
8
8
|
import cx from "clsx";
|
9
9
|
import { forwardRef } from "react";
|
10
|
-
import
|
11
|
-
import
|
10
|
+
import { useField } from "./../Field";
|
11
|
+
import stl from "./../../styles/helpers/satellitePrefixer";
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
13
|
+
/**
|
14
|
+
* The `RadioButton` component is a control that allows single selection from a set of options.
|
15
|
+
*
|
16
|
+
* See the [Radio Button documentation page](https://satellite.algolia.com/8261d6576/p/50ec00-radio-buttongroup) for more information.
|
17
|
+
*/
|
13
18
|
export var RadioButton = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
14
19
|
var className = _ref.className,
|
15
20
|
_ref$required = _ref.required,
|
@@ -45,6 +45,6 @@ export declare type RadioGroupComponent = ForwardRefExoticComponent<RadioGroupPr
|
|
45
45
|
/**
|
46
46
|
* The `RadioGroup` component presents mutually exclusive options, allowing users to make a single selection from a list.
|
47
47
|
*
|
48
|
-
* See the [Radio Group documentation page](https://satellite.algolia.com/
|
48
|
+
* See the [Radio Group documentation page](https://satellite.algolia.com/8261d6576/p/50ec00-radio-buttongroup) for more information.
|
49
49
|
*/
|
50
50
|
export declare const RadioGroup: RadioGroupComponent;
|
@@ -3,12 +3,12 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
var _templateObject, _templateObject2, _templateObject3;
|
4
4
|
import cx from "clsx";
|
5
5
|
import { Children, cloneElement, forwardRef, isValidElement, useState } from "react";
|
6
|
-
import { Card } from "../../Layout";
|
7
|
-
import stl from "../../styles/helpers/satellitePrefixer";
|
8
|
-
import { uniqueId } from "../../utils/uniqueId";
|
9
|
-
import { useField } from "../Field";
|
10
6
|
import { RadioGroupContext } from "./RadioGroupContext";
|
11
7
|
import { RadioGroupItem } from "./RadioGroupItem";
|
8
|
+
import { useField } from "./../Field";
|
9
|
+
import { Card } from "./../../Layout";
|
10
|
+
import stl from "./../../styles/helpers/satellitePrefixer";
|
11
|
+
import { uniqueId } from "./../../utils/uniqueId";
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
13
13
|
// This function is used to clone the children of the `RadioGroup` component
|
14
14
|
// and pass the `childIndex` prop to the `RadioGroupItem` children.
|
@@ -33,7 +33,7 @@ function applyChildIndexRecursively(children) {
|
|
33
33
|
/**
|
34
34
|
* The `RadioGroup` component presents mutually exclusive options, allowing users to make a single selection from a list.
|
35
35
|
*
|
36
|
-
* See the [Radio Group documentation page](https://satellite.algolia.com/
|
36
|
+
* See the [Radio Group documentation page](https://satellite.algolia.com/8261d6576/p/50ec00-radio-buttongroup) for more information.
|
37
37
|
*/
|
38
38
|
export var RadioGroup = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
39
39
|
var id = _ref.id,
|
@@ -3,10 +3,10 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
3
3
|
var _templateObject, _templateObject2, _templateObject3;
|
4
4
|
var _excluded = ["value", "disabled", "required", "children"];
|
5
5
|
import { useMemo } from "react";
|
6
|
-
import stl from "../../styles/helpers/satellitePrefixer";
|
7
|
-
import { uniqueId } from "../../utils/uniqueId";
|
8
6
|
import { RadioButton } from "./RadioButton";
|
9
7
|
import { useRadioGroupContext } from "./RadioGroupContext";
|
8
|
+
import stl from "./../../styles/helpers/satellitePrefixer";
|
9
|
+
import { uniqueId } from "./../../utils/uniqueId";
|
10
10
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
11
11
|
export var RadioGroupItem = function RadioGroupItem(_ref) {
|
12
12
|
var value = _ref.value,
|
@@ -67,7 +67,7 @@ declare const RangeSliderInternal: <Value extends RangeSliderValue = number>({ i
|
|
67
67
|
/**
|
68
68
|
* The `RangeSlider` component is an input field where users select one or two numeric values within a given range (minimum and maximum values).
|
69
69
|
*
|
70
|
-
* See the [Range Slider documentation page](https://satellite.algolia.com/
|
70
|
+
* See the [Range Slider documentation page](https://satellite.algolia.com/8261d6576/p/48659a-range-slider) for more information.
|
71
71
|
*/
|
72
72
|
export declare const RangeSlider: (<Value extends RangeSliderValue>(props: RangeSliderProps<Value> & {
|
73
73
|
/**
|
@@ -8,10 +8,10 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
8
8
|
import { SliderRange, Root as SliderRoot, SliderThumb, SliderTrack } from "@radix-ui/react-slider";
|
9
9
|
import cx from "clsx";
|
10
10
|
import { forwardRef, useRef } from "react";
|
11
|
-
import
|
12
|
-
import
|
13
|
-
import
|
14
|
-
import {
|
11
|
+
import { useField } from "./../Field";
|
12
|
+
import colors from "./../../styles/colors";
|
13
|
+
import stl from "./../../styles/helpers/satellitePrefixer";
|
14
|
+
import { mergeRefs } from "./../../utils/mergeRefs";
|
15
15
|
|
16
16
|
// Prevents unwanted number narrowing
|
17
17
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
@@ -113,7 +113,7 @@ var RangeSliderInternal = function RangeSliderInternal(_ref2, ref) {
|
|
113
113
|
/**
|
114
114
|
* The `RangeSlider` component is an input field where users select one or two numeric values within a given range (minimum and maximum values).
|
115
115
|
*
|
116
|
-
* See the [Range Slider documentation page](https://satellite.algolia.com/
|
116
|
+
* See the [Range Slider documentation page](https://satellite.algolia.com/8261d6576/p/48659a-range-slider) for more information.
|
117
117
|
*/
|
118
118
|
export var RangeSlider = /*#__PURE__*/forwardRef(RangeSliderInternal);
|
119
119
|
RangeSlider.displayName = "RangeSlider";
|
@@ -9,6 +9,6 @@ export interface SelectProps extends SelectHTMLAttributes<HTMLSelectElement> {
|
|
9
9
|
/**
|
10
10
|
* The `Select` component provides a dropdown menu, allowing users to choose one option from a list.
|
11
11
|
*
|
12
|
-
* See the [Select documentation page](https://satellite.algolia.com/
|
12
|
+
* See the [Select documentation page](https://satellite.algolia.com/8261d6576/p/09d443-select) for more information.
|
13
13
|
*/
|
14
14
|
export declare const Select: import("react").ForwardRefExoticComponent<SelectProps & import("react").RefAttributes<HTMLSelectElement>>;
|
@@ -7,9 +7,9 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
7
7
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
8
8
|
import cx from "clsx";
|
9
9
|
import { forwardRef, Fragment } from "react";
|
10
|
-
import {
|
11
|
-
import
|
12
|
-
import
|
10
|
+
import { useField } from "./../Field";
|
11
|
+
import { CheckIcon, XIcon } from "./../../Icons";
|
12
|
+
import stl from "./../../styles/helpers/satellitePrefixer";
|
13
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
14
14
|
var VARIANT_CLASSNAMES = {
|
15
15
|
small: stl(_templateObject || (_templateObject = _taggedTemplateLiteral(["select-input-small"]))),
|
@@ -30,7 +30,7 @@ var ValidatedIcon = function ValidatedIcon() {
|
|
30
30
|
/**
|
31
31
|
* The `Select` component provides a dropdown menu, allowing users to choose one option from a list.
|
32
32
|
*
|
33
|
-
* See the [Select documentation page](https://satellite.algolia.com/
|
33
|
+
* See the [Select documentation page](https://satellite.algolia.com/8261d6576/p/09d443-select) for more information.
|
34
34
|
*/
|
35
35
|
export var Select = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
36
36
|
var _props$id;
|
@@ -29,9 +29,9 @@ export declare type SwitchProps = Omit<HTMLAttributes<HTMLInputElement>, "childr
|
|
29
29
|
/**
|
30
30
|
* The `Switch` component is used to view or switch between enabled or disabled states.
|
31
31
|
*
|
32
|
-
* See the [Switch documentation page](https://satellite.algolia.com/
|
32
|
+
* See the [Switch documentation page](https://satellite.algolia.com/8261d6576/p/10fc77-switch) for more information.
|
33
33
|
*/
|
34
|
-
export declare const Switch: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLInputElement>, "children" | "
|
34
|
+
export declare const Switch: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLInputElement>, "children" | "onChange" | "defaultChecked"> & Pick<InputHTMLAttributes<HTMLInputElement>, "autoFocus"> & {
|
35
35
|
/**
|
36
36
|
* Whether the `Toggle` is decorative.
|
37
37
|
* Decorative toggles are not using an input element.
|
@@ -8,13 +8,13 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
8
8
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
9
9
|
import cx from "clsx";
|
10
10
|
import { forwardRef, useState } from "react";
|
11
|
-
import
|
12
|
-
import
|
11
|
+
import { useField } from "./../Field";
|
12
|
+
import stl from "./../../styles/helpers/satellitePrefixer";
|
13
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
14
14
|
/**
|
15
15
|
* The `Switch` component is used to view or switch between enabled or disabled states.
|
16
16
|
*
|
17
|
-
* See the [Switch documentation page](https://satellite.algolia.com/
|
17
|
+
* See the [Switch documentation page](https://satellite.algolia.com/8261d6576/p/10fc77-switch) for more information.
|
18
18
|
*/
|
19
19
|
export var Switch = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
20
20
|
var _inputProps$id;
|
@@ -21,6 +21,6 @@ export declare type TextareaStatus = "default" | "validated" | "invalid";
|
|
21
21
|
/**
|
22
22
|
* The `TextArea` component is a multiline input field for extensive text, ideal for detailed feedback, descriptions, or comments.
|
23
23
|
*
|
24
|
-
* See the [Text Area documentation page](https://satellite.algolia.com/
|
24
|
+
* See the [Text Area documentation page](https://satellite.algolia.com/8261d6576/p/0170e9-text-area) for more information.
|
25
25
|
*/
|
26
26
|
export declare const TextArea: import("react").ForwardRefExoticComponent<TextAreaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
|
@@ -7,9 +7,9 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
7
7
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
8
8
|
import cx from "clsx";
|
9
9
|
import { forwardRef, Fragment } from "react";
|
10
|
-
import {
|
11
|
-
import
|
12
|
-
import
|
10
|
+
import { useField } from "./../Field";
|
11
|
+
import { CheckIcon, XIcon } from "./../../Icons";
|
12
|
+
import stl from "./../../styles/helpers/satellitePrefixer";
|
13
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
14
14
|
var STATUS_CLASSNAMES = {
|
15
15
|
"default": "",
|
@@ -30,7 +30,7 @@ var ValidatedIcon = function ValidatedIcon() {
|
|
30
30
|
/**
|
31
31
|
* The `TextArea` component is a multiline input field for extensive text, ideal for detailed feedback, descriptions, or comments.
|
32
32
|
*
|
33
|
-
* See the [Text Area documentation page](https://satellite.algolia.com/
|
33
|
+
* See the [Text Area documentation page](https://satellite.algolia.com/8261d6576/p/0170e9-text-area) for more information.
|
34
34
|
*/
|
35
35
|
export var TextArea = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
36
36
|
var _textareaProps$id;
|
package/dist/esm/Fields/index.js
CHANGED
@@ -24,6 +24,8 @@ export declare type ClickAwayContainerProps = PropsWithChildren<{
|
|
24
24
|
* but it's not the case when using portals.
|
25
25
|
* This component allows click-away functionality even when portals are involved.
|
26
26
|
*
|
27
|
+
* See the [Click Away Container documentation page](https://satellite.algolia.com/8261d6576/p/281cd4-click-away-container) for more information.
|
28
|
+
*
|
27
29
|
* @deprecated This component is deprecated and will be removed in a future version.
|
28
30
|
* Please use the Popover component, which provides built-in click-away behavior and is more accessible.
|
29
31
|
*/
|
@@ -17,6 +17,8 @@ var AWAY_EVENTS = ["mousedown", "touchstart", "focusin"];
|
|
17
17
|
* but it's not the case when using portals.
|
18
18
|
* This component allows click-away functionality even when portals are involved.
|
19
19
|
*
|
20
|
+
* See the [Click Away Container documentation page](https://satellite.algolia.com/8261d6576/p/281cd4-click-away-container) for more information.
|
21
|
+
*
|
20
22
|
* @deprecated This component is deprecated and will be removed in a future version.
|
21
23
|
* Please use the Popover component, which provides built-in click-away behavior and is more accessible.
|
22
24
|
*/
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import type { EditorProps as MonacoEditorProps } from "@monaco-editor/react";
|
2
|
+
export declare const CODE_EDITOR_DEFAULT_OPTIONS: {
|
3
|
+
automaticLayout: boolean;
|
4
|
+
folding: boolean;
|
5
|
+
fontFamily: string;
|
6
|
+
fontLigatures: boolean;
|
7
|
+
fontSize: number;
|
8
|
+
lineHeight: number;
|
9
|
+
links: boolean;
|
10
|
+
minimap: {
|
11
|
+
enabled: boolean;
|
12
|
+
};
|
13
|
+
quickSuggestions: boolean;
|
14
|
+
readOnly: boolean;
|
15
|
+
scrollBeyondLastLine: boolean;
|
16
|
+
selectOnLineNumbers: boolean;
|
17
|
+
showUnused: boolean;
|
18
|
+
suggest: {};
|
19
|
+
wordWrapColumn: number;
|
20
|
+
};
|
21
|
+
declare type EditorProps = Omit<MonacoEditorProps, "theme">;
|
22
|
+
/**
|
23
|
+
* The `CodeEditor` component is used to display and edit code snippets.
|
24
|
+
*
|
25
|
+
* See the [Code Editor documentation page](https://satellite.algolia.com/8261d6576/p/70a7aa-code-editor) for more information.
|
26
|
+
*/
|
27
|
+
export declare const CodeEditor: (props: EditorProps) => import("react/jsx-runtime").JSX.Element;
|
28
|
+
export { useMonaco as useCodeEditor } from "@monaco-editor/react";
|
@@ -0,0 +1,44 @@
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
4
|
+
import { Editor } from "@monaco-editor/react";
|
5
|
+
import { theme } from "./theme";
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
7
|
+
export var CODE_EDITOR_DEFAULT_OPTIONS = {
|
8
|
+
automaticLayout: true,
|
9
|
+
folding: true,
|
10
|
+
fontFamily: "monospace",
|
11
|
+
fontLigatures: true,
|
12
|
+
fontSize: 14,
|
13
|
+
lineHeight: 32,
|
14
|
+
links: true,
|
15
|
+
minimap: {
|
16
|
+
enabled: false
|
17
|
+
},
|
18
|
+
quickSuggestions: true,
|
19
|
+
readOnly: false,
|
20
|
+
scrollBeyondLastLine: false,
|
21
|
+
selectOnLineNumbers: true,
|
22
|
+
showUnused: true,
|
23
|
+
suggest: {},
|
24
|
+
wordWrapColumn: 120
|
25
|
+
};
|
26
|
+
/**
|
27
|
+
* The `CodeEditor` component is used to display and edit code snippets.
|
28
|
+
*
|
29
|
+
* See the [Code Editor documentation page](https://satellite.algolia.com/8261d6576/p/70a7aa-code-editor) for more information.
|
30
|
+
*/
|
31
|
+
export var CodeEditor = function CodeEditor(props) {
|
32
|
+
var handleEditorDidMount = function handleEditorDidMount(editor, monaco) {
|
33
|
+
var _props$onMount;
|
34
|
+
(_props$onMount = props.onMount) === null || _props$onMount === void 0 || _props$onMount.call(props, editor, monaco);
|
35
|
+
monaco.editor.defineTheme("satellite", theme);
|
36
|
+
monaco.editor.setTheme("satellite");
|
37
|
+
};
|
38
|
+
return /*#__PURE__*/_jsx(Editor, _objectSpread(_objectSpread({
|
39
|
+
options: CODE_EDITOR_DEFAULT_OPTIONS
|
40
|
+
}, props), {}, {
|
41
|
+
onMount: handleEditorDidMount
|
42
|
+
}));
|
43
|
+
};
|
44
|
+
export { useMonaco as useCodeEditor } from "@monaco-editor/react";
|
@@ -0,0 +1 @@
|
|
1
|
+
export { CODE_EDITOR_DEFAULT_OPTIONS as EXPERIMENTAL_CODE_EDITOR_DEFAULT_OPTIONS, CodeEditor as ExperimentalCodeEditor, useCodeEditor as useExperimentalCodeEditor, } from "./CodeEditor";
|
@@ -0,0 +1 @@
|
|
1
|
+
export { CODE_EDITOR_DEFAULT_OPTIONS as EXPERIMENTAL_CODE_EDITOR_DEFAULT_OPTIONS, CodeEditor as ExperimentalCodeEditor, useCodeEditor as useExperimentalCodeEditor } from "./CodeEditor";
|
@@ -0,0 +1,24 @@
|
|
1
|
+
export declare const theme: {
|
2
|
+
base: string;
|
3
|
+
inherit: boolean;
|
4
|
+
rules: {
|
5
|
+
token: string;
|
6
|
+
foreground: string;
|
7
|
+
}[];
|
8
|
+
colors: {
|
9
|
+
"editor.foreground": string;
|
10
|
+
"editor.background": string;
|
11
|
+
"editorCursor.foreground": string;
|
12
|
+
"editorIndentGuide.background": string;
|
13
|
+
"editorIndentGuide.activeBackground": string;
|
14
|
+
"minimap.background": string;
|
15
|
+
"editor.selectionBackground": string;
|
16
|
+
"editor.selectionForeground": string;
|
17
|
+
"editor.lineHighlightBackground": string;
|
18
|
+
"editor.lineHighlightBorder": string;
|
19
|
+
"editorLineNumber.foreground": string;
|
20
|
+
"editorWarning.foreground": string;
|
21
|
+
"editorOverviewRuler.warningForeground": string;
|
22
|
+
"editorMarkerNavigationWarning.background": string;
|
23
|
+
};
|
24
|
+
};
|
@@ -0,0 +1,53 @@
|
|
1
|
+
export var theme = {
|
2
|
+
base: "vs-dark",
|
3
|
+
inherit: true,
|
4
|
+
rules: [{
|
5
|
+
token: "string",
|
6
|
+
foreground: "DC9F77"
|
7
|
+
}, {
|
8
|
+
token: "number",
|
9
|
+
foreground: "77dc85"
|
10
|
+
}, {
|
11
|
+
token: "keyword",
|
12
|
+
foreground: "569cd6"
|
13
|
+
}, {
|
14
|
+
token: "keyword.control",
|
15
|
+
foreground: "569cd6"
|
16
|
+
}, {
|
17
|
+
token: "keyword.operator",
|
18
|
+
foreground: "d4d4d4"
|
19
|
+
}, {
|
20
|
+
token: "comment",
|
21
|
+
foreground: "6A9955"
|
22
|
+
}, {
|
23
|
+
token: "constant.language",
|
24
|
+
foreground: "569cd6"
|
25
|
+
}, {
|
26
|
+
token: "constant.numeric",
|
27
|
+
foreground: "b5cea8"
|
28
|
+
}, {
|
29
|
+
token: "string.regexp",
|
30
|
+
foreground: "d16969"
|
31
|
+
}],
|
32
|
+
colors: {
|
33
|
+
"editor.foreground": "#e3e3e3",
|
34
|
+
"editor.background": "#00000000",
|
35
|
+
"editorCursor.foreground": "#FFFFFF",
|
36
|
+
"editorIndentGuide.background": "#FFFFFF10",
|
37
|
+
"editorIndentGuide.activeBackground": "#FFFFFF40",
|
38
|
+
// Minimap
|
39
|
+
"minimap.background": "#00000000",
|
40
|
+
// Selection
|
41
|
+
"editor.selectionBackground": "#FFFFFF20",
|
42
|
+
"editor.selectionForeground": "#FFFFFF",
|
43
|
+
// Highlight
|
44
|
+
"editor.lineHighlightBackground": "#FFFFFF20",
|
45
|
+
"editor.lineHighlightBorder": "#FFFFFF00",
|
46
|
+
// Line Number
|
47
|
+
// 'editorIndentGuide.background' // Color of the editor indentation guides.
|
48
|
+
"editorLineNumber.foreground": "#FFFFFF20",
|
49
|
+
"editorWarning.foreground": "#efc300",
|
50
|
+
"editorOverviewRuler.warningForeground": "#efc300",
|
51
|
+
"editorMarkerNavigationWarning.background": "#efc300"
|
52
|
+
}
|
53
|
+
};
|
@@ -18,6 +18,6 @@ export declare type HelpUnderlineProps = {
|
|
18
18
|
/**
|
19
19
|
* The `HelpUnderline` component is used to display a help underline with a tooltip.
|
20
20
|
*
|
21
|
-
* See the [Help Underline documentation page](https://satellite.algolia.com/
|
21
|
+
* See the [Help Underline documentation page](https://satellite.algolia.com/8261d6576/p/94b89c-help-underline) for more information.
|
22
22
|
*/
|
23
23
|
export declare const HelpUnderline: FC<HelpUnderlineProps>;
|
@@ -6,13 +6,13 @@ var _excluded = ["className", "children", "tooltipClassName", "tooltipContent"];
|
|
6
6
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
7
7
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
8
8
|
import cx from "clsx";
|
9
|
-
import { TooltipWrapper } from "
|
10
|
-
import stl from "
|
9
|
+
import { TooltipWrapper } from "./../../Overlay";
|
10
|
+
import stl from "./../../styles/helpers/satellitePrefixer";
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
12
12
|
/**
|
13
13
|
* The `HelpUnderline` component is used to display a help underline with a tooltip.
|
14
14
|
*
|
15
|
-
* See the [Help Underline documentation page](https://satellite.algolia.com/
|
15
|
+
* See the [Help Underline documentation page](https://satellite.algolia.com/8261d6576/p/94b89c-help-underline) for more information.
|
16
16
|
*/
|
17
17
|
export var HelpUnderline = function HelpUnderline(_ref) {
|
18
18
|
var className = _ref.className,
|
@@ -12,6 +12,6 @@ export interface TextWrapProps extends HTMLAttributes<HTMLSpanElement> {
|
|
12
12
|
/**
|
13
13
|
* The `TextWrap` component is used to wrap text and truncate it with an ellipsis if it overflows.
|
14
14
|
*
|
15
|
-
* See the [Text Wrap documentation page](https://satellite.algolia.com/
|
15
|
+
* See the [Text Wrap documentation page](https://satellite.algolia.com/8261d6576/p/4274c8-text-wrap) for more information.
|
16
16
|
*/
|
17
17
|
export declare const TextWrap: FC<TextWrapProps>;
|
@@ -7,8 +7,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
7
7
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
8
8
|
import { Fragment } from "react";
|
9
9
|
import { Children, cloneElement, isValidElement } from "react";
|
10
|
-
import stl from "
|
11
|
-
import { isCssPropertySupported } from "
|
10
|
+
import stl from "./../../styles/helpers/satellitePrefixer";
|
11
|
+
import { isCssPropertySupported } from "./../../utils/isCssPropertySupported";
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
13
13
|
var BASE_STYLES = isCssPropertySupported("overflowWrap", "anywhere") ? {
|
14
14
|
whiteSpace: "normal",
|
@@ -37,7 +37,7 @@ var recursivelyApplyWhiteSpace = function recursivelyApplyWhiteSpace(children) {
|
|
37
37
|
/**
|
38
38
|
* The `TextWrap` component is used to wrap text and truncate it with an ellipsis if it overflows.
|
39
39
|
*
|
40
|
-
* See the [Text Wrap documentation page](https://satellite.algolia.com/
|
40
|
+
* See the [Text Wrap documentation page](https://satellite.algolia.com/8261d6576/p/4274c8-text-wrap) for more information.
|
41
41
|
*/
|
42
42
|
export var TextWrap = function TextWrap(_ref) {
|
43
43
|
var children = _ref.children,
|
@@ -17,6 +17,6 @@ export interface UserContentProps {
|
|
17
17
|
/**
|
18
18
|
* The `UserContent` component is used to style user generated content that comes as HTML, often from a markdown source.
|
19
19
|
*
|
20
|
-
* See the [User Content documentation page](https://satellite.algolia.com/
|
20
|
+
* See the [User Content documentation page](https://satellite.algolia.com/8261d6576/p/57eb4b-user-content) for more information.
|
21
21
|
*/
|
22
22
|
export declare const UserContent: FC<UserContentProps>;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
2
2
|
var _templateObject;
|
3
3
|
import cx from "clsx";
|
4
|
-
import stl from "
|
4
|
+
import stl from "./../../styles/helpers/satellitePrefixer";
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
6
6
|
/**
|
7
7
|
* The `UserContent` component is used to style user generated content that comes as HTML, often from a markdown source.
|
8
8
|
*
|
9
|
-
* See the [User Content documentation page](https://satellite.algolia.com/
|
9
|
+
* See the [User Content documentation page](https://satellite.algolia.com/8261d6576/p/57eb4b-user-content) for more information.
|
10
10
|
*/
|
11
11
|
export var UserContent = function UserContent(_ref) {
|
12
12
|
var className = _ref.className,
|
@@ -17,4 +17,4 @@ export { QueryBreakdownIcon } from "./QueryBreakdownIcon";
|
|
17
17
|
export { BulbIcon } from "./BulbIcon";
|
18
18
|
export { TestingIcon } from "./TestingIcon";
|
19
19
|
export { RocketIcon } from "./RocketIcon";
|
20
|
-
export { ActivityIcon, AirplayIcon, AlertCircleIcon, AlertOctagonIcon, AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, AnchorIcon, ApertureIcon, ArchiveIcon, ArrowDownCircleIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftCircleIcon, ArrowLeftIcon, ArrowRightCircleIcon, ArrowRightIcon, ArrowUpCircleIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, AwardIcon, BanIcon, BarChart2Icon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BlocksIcon, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BookOpenIcon, BoxIcon, BriefcaseIcon, CalendarIcon, CameraIcon, CameraOffIcon, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, ChevronUpIcon, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, CodeIcon, CodepenIcon, CodesandboxIcon, CoffeeIcon, ColumnsIcon, CommandIcon, CompassIcon, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, DatabaseIcon, DeleteIcon, DiscIcon, DivideCircleIcon, DivideIcon, DivideSquareIcon, DollarSignIcon, DownloadCloudIcon, DownloadIcon, DribbbleIcon, DropletIcon, Edit2Icon, Edit3Icon, EditIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FigmaIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileSearchIcon, FileTextIcon, FilmIcon, FilterIcon, FlagIcon, FlaskConicalIcon, FolderIcon, FolderMinusIcon, FolderPlusIcon, FramerIcon, FrownIcon, GiftIcon, GitBranchIcon, GitCommitIcon, GithubIcon, GitlabIcon, GitMergeIcon, GitPullRequestIcon, GlobeIcon, HardDriveIcon, HashIcon, HeadphonesIcon, HeartIcon, HelpCircleIcon, HexagonIcon, HomeIcon, ImageIcon, ImageOffIcon, InboxIcon, InfoIcon, InstagramIcon, ItalicIcon, KeyIcon, Landmark, LayersIcon, LayoutGridIcon, LayoutIcon, LifeBuoyIcon, Link2Icon, LinkedinIcon, LinkIcon, ListIcon, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MapIcon, MapPinIcon, Maximize2Icon, MaximizeIcon, MehIcon, MenuIcon, MergeIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, Minimize2Icon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MousePointerIcon, MoveIcon, MusicIcon, Navigation2Icon, NavigationIcon, OctagonIcon, PackageIcon, PaperclipIcon, PauseCircleIcon, PauseIcon, PenToolIcon, PercentIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneOffIcon, PhoneOutgoingIcon, PieChartIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, PowerIcon, PrinterIcon, RadioIcon, RefreshCcwIcon, RefreshCwIcon, RepeatIcon, RewindIcon, RotateCcwIcon, RotateCwIcon, RssIcon, SaveIcon, ScissorsIcon, SearchIcon, SearchXIcon, SendIcon, ServerCogIcon, ServerCrashIcon, ServerIcon, SettingsIcon, Share2Icon, ShareIcon, ShieldIcon, ShieldOffIcon, ShoppingBagIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, SkipBackIcon, SkipForwardIcon, SlackIcon, SlidersIcon, SmartphoneIcon, SmileIcon, SparklesIcon, SpeakerIcon, SquareIcon, StarIcon, StopCircleIcon, SunIcon, SunriseIcon, SunsetIcon, TableIcon, TabletIcon, TagIcon, TargetIcon, TerminalIcon, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, ToggleLeftIcon, ToggleRightIcon, Trash2Icon, TrashIcon, TrelloIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TruckIcon, TvIcon, TwitchIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UploadCloudIcon, UploadIcon, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UsersIcon, UserXIcon, VideoIcon, VideoOffIcon, VoicemailIcon, Volume1Icon, Volume2Icon, VolumeIcon, VolumeXIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, WrenchIcon, XCircleIcon, XIcon, XOctagonIcon, XSquareIcon, YoutubeIcon, ZapIcon, ZapOffIcon, ZoomInIcon, ZoomOutIcon, } from "lucide-react";
|
20
|
+
export { ActivityIcon, AirplayIcon, AlertCircleIcon, AlertOctagonIcon, AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, AnchorIcon, ApertureIcon, ArchiveIcon, ArrowDownCircleIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftCircleIcon, ArrowLeftIcon, ArrowRightCircleIcon, ArrowRightIcon, ArrowUpCircleIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, AwardIcon, BanIcon, BarChart2Icon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BlocksIcon, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BookOpenIcon, BoxIcon, BriefcaseIcon, CalendarIcon, CameraIcon, CameraOffIcon, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, ChevronUpIcon, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, CodeIcon, CodepenIcon, CodesandboxIcon, CoffeeIcon, ColumnsIcon, CommandIcon, CompassIcon, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, DatabaseIcon, DeleteIcon, DiscIcon, DivideCircleIcon, DivideIcon, DivideSquareIcon, DollarSignIcon, DownloadCloudIcon, DownloadIcon, DribbbleIcon, DropletIcon, Edit2Icon, Edit3Icon, EditIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FigmaIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileSearchIcon, FileTextIcon, FilmIcon, FilterIcon, FlagIcon, FlaskConicalIcon, FolderIcon, FolderMinusIcon, FolderPlusIcon, FramerIcon, FrownIcon, GiftIcon, GitBranchIcon, GitCommitIcon, GithubIcon, GitlabIcon, GitMergeIcon, GitPullRequestIcon, GlobeIcon, HardDriveIcon, HashIcon, HeadphonesIcon, HeartIcon, HelpCircleIcon, HexagonIcon, HomeIcon, ImageIcon, ImageOffIcon, InboxIcon, InfoIcon, InstagramIcon, ItalicIcon, KeyIcon, Landmark, LayersIcon, LayoutGridIcon, LayoutIcon, LifeBuoyIcon, Link2Icon, LinkedinIcon, LinkIcon, ListIcon, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MapIcon, MapPinIcon, Maximize2Icon, MaximizeIcon, MehIcon, MenuIcon, MergeIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, Minimize2Icon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MousePointerIcon, MoveIcon, MusicIcon, Navigation2Icon, NavigationIcon, OctagonIcon, PackageIcon, PaperclipIcon, PauseCircleIcon, PauseIcon, PenToolIcon, PercentIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneOffIcon, PhoneOutgoingIcon, PieChartIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, PowerIcon, PrinterIcon, PuzzleIcon, RadioIcon, RefreshCcwIcon, RefreshCwIcon, RepeatIcon, RewindIcon, RotateCcwIcon, RotateCwIcon, RssIcon, SaveIcon, ScissorsIcon, SearchIcon, SearchXIcon, SendIcon, ServerCogIcon, ServerCrashIcon, ServerIcon, SettingsIcon, Share2Icon, ShareIcon, ShieldIcon, ShieldOffIcon, ShoppingBagIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, SkipBackIcon, SkipForwardIcon, SlackIcon, SlidersIcon, SmartphoneIcon, SmileIcon, SparklesIcon, SpeakerIcon, SquareIcon, StarIcon, StopCircleIcon, SunIcon, SunriseIcon, SunsetIcon, TableIcon, TabletIcon, TagIcon, TargetIcon, TerminalIcon, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, ToggleLeftIcon, ToggleRightIcon, Trash2Icon, TrashIcon, TrelloIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TruckIcon, TvIcon, TwitchIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UploadCloudIcon, UploadIcon, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UsersIcon, UserXIcon, VideoIcon, VideoOffIcon, VoicemailIcon, Volume1Icon, Volume2Icon, VolumeIcon, VolumeXIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, WrenchIcon, XCircleIcon, XIcon, XOctagonIcon, XSquareIcon, YoutubeIcon, ZapIcon, ZapOffIcon, ZoomInIcon, ZoomOutIcon, } from "lucide-react";
|