@algolia/satellite 1.0.0-beta.17 → 1.0.0-beta.170
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/README.md +154 -8
- package/cjs/AnnouncementBadge/AnnouncementBadge.d.ts +21 -0
- package/cjs/AnnouncementBadge/AnnouncementBadge.js +51 -0
- package/cjs/AnnouncementBadge/index.d.ts +2 -0
- package/cjs/AnnouncementBadge/index.js +27 -0
- package/cjs/AutoComplete/AutoComplete.d.ts +20 -0
- package/cjs/AutoComplete/AutoComplete.js +455 -0
- package/cjs/AutoComplete/AutoComplete.tailwind.d.ts +5 -0
- package/cjs/AutoComplete/AutoComplete.tailwind.js +96 -0
- package/cjs/AutoComplete/components/AutoCompleteEmptyState.d.ts +13 -0
- package/cjs/AutoComplete/components/AutoCompleteEmptyState.js +35 -0
- package/cjs/AutoComplete/components/AutocompleteContext.d.ts +5 -0
- package/cjs/AutoComplete/components/AutocompleteContext.js +19 -0
- package/cjs/AutoComplete/components/DefaultOptionItem.d.ts +7 -0
- package/cjs/AutoComplete/components/DefaultOptionItem.js +36 -0
- package/cjs/AutoComplete/index.d.ts +7 -0
- package/cjs/AutoComplete/index.js +84 -0
- package/cjs/AutoComplete/types.d.ts +95 -0
- package/cjs/AutoComplete/types.js +5 -0
- package/cjs/AutoComplete/utils.d.ts +8 -0
- package/cjs/AutoComplete/utils.js +82 -0
- package/cjs/Avatars/ApplicationAvatar.d.ts +13 -0
- package/cjs/Avatars/ApplicationAvatar.js +34 -0
- package/cjs/Avatars/UserAvatar.d.ts +20 -0
- package/cjs/Avatars/UserAvatar.js +55 -0
- package/cjs/Avatars/index.d.ts +3 -0
- package/cjs/Avatars/index.js +39 -0
- package/cjs/Avatars/types.d.ts +17 -0
- package/cjs/Avatars/types.js +5 -0
- package/cjs/Avatars/utils.d.ts +6 -0
- package/cjs/Avatars/utils.js +55 -0
- package/cjs/Badge/Badge.d.ts +33 -0
- package/cjs/Badge/Badge.js +79 -0
- package/cjs/Badge/index.d.ts +2 -0
- package/cjs/Badge/index.js +27 -0
- package/cjs/Banners/Alert/Alert.d.ts +78 -0
- package/cjs/Banners/Alert/Alert.js +139 -0
- package/cjs/Banners/Alert/index.js +27 -0
- package/cjs/Banners/BigBertha/BigBertha.d.ts +41 -0
- package/cjs/Banners/BigBertha/BigBertha.js +61 -0
- package/cjs/Banners/BigBertha/index.d.ts +2 -0
- package/cjs/Banners/BigBertha/index.js +27 -0
- package/cjs/Banners/Promote/Promote.d.ts +51 -0
- package/cjs/Banners/Promote/Promote.js +103 -0
- package/cjs/Banners/Promote/index.d.ts +2 -0
- package/cjs/Banners/Promote/index.js +27 -0
- package/cjs/Banners/index.d.ts +3 -0
- package/cjs/Banners/index.js +38 -0
- package/cjs/Button/Button.d.ts +19 -0
- package/cjs/Button/Button.js +35 -0
- package/cjs/Button/Button.tailwind.d.ts +5 -0
- package/cjs/Button/Button.tailwind.js +153 -0
- package/cjs/Button/ButtonGroup.d.ts +18 -0
- package/cjs/Button/ButtonGroup.js +28 -0
- package/cjs/Button/IconButton.d.ts +10 -0
- package/cjs/Button/IconButton.js +26 -0
- package/cjs/Button/PolymorphicButton.d.ts +12 -0
- package/cjs/Button/PolymorphicButton.js +78 -0
- package/cjs/Button/PolymorphicIconButton.d.ts +29 -0
- package/cjs/Button/PolymorphicIconButton.js +86 -0
- package/cjs/Button/index.d.ts +5 -0
- package/cjs/Button/index.js +51 -0
- package/cjs/Button/styles.d.ts +5 -0
- package/cjs/Button/styles.js +37 -0
- package/cjs/Button/types.d.ts +33 -0
- package/cjs/Button/types.js +11 -0
- package/cjs/Card/Card.d.ts +32 -0
- package/cjs/Card/Card.js +44 -0
- package/cjs/Card/Card.tailwind.d.ts +5 -0
- package/cjs/Card/Card.tailwind.js +36 -0
- package/cjs/Card/components/CardHeader.d.ts +6 -0
- package/cjs/Card/components/CardHeader.js +27 -0
- package/cjs/Card/components/CardTitle.d.ts +6 -0
- package/cjs/Card/components/CardTitle.js +27 -0
- package/cjs/Card/index.d.ts +4 -0
- package/cjs/Card/index.js +51 -0
- package/cjs/Checkbox/Checkbox.d.ts +24 -0
- package/cjs/Checkbox/Checkbox.js +98 -0
- package/cjs/Checkbox/Checkbox.tailwind.d.ts +5 -0
- package/cjs/Checkbox/Checkbox.tailwind.js +70 -0
- package/cjs/Checkbox/index.js +27 -0
- package/cjs/ClickAwayContainer/ClickAwayContainer.d.ts +28 -0
- package/cjs/ClickAwayContainer/ClickAwayContainer.js +83 -0
- package/cjs/ClickAwayContainer/index.d.ts +1 -0
- package/cjs/ClickAwayContainer/index.js +16 -0
- package/cjs/DatePicker/DatePicker/DatePicker.d.ts +34 -0
- package/cjs/DatePicker/DatePicker/DatePicker.js +164 -0
- package/cjs/DatePicker/DatePicker/datePickerReducer.d.ts +29 -0
- package/cjs/DatePicker/DatePicker/datePickerReducer.js +50 -0
- package/cjs/DatePicker/DatePicker/index.d.ts +3 -0
- package/cjs/DatePicker/DatePicker/index.js +39 -0
- package/cjs/DatePicker/DatePicker.tailwind.d.ts +5 -0
- package/cjs/DatePicker/DatePicker.tailwind.js +184 -0
- package/cjs/DatePicker/DateRangePicker/DateRangePicker.d.ts +35 -0
- package/cjs/DatePicker/DateRangePicker/DateRangePicker.js +256 -0
- package/cjs/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +14 -0
- package/cjs/DatePicker/DateRangePicker/DateRangePickerDisplay.js +38 -0
- package/cjs/DatePicker/DateRangePicker/dateRangePickerReducer.d.ts +54 -0
- package/cjs/DatePicker/DateRangePicker/dateRangePickerReducer.js +99 -0
- package/cjs/DatePicker/DateRangePicker/dateRangePickerTimeRange.d.ts +16 -0
- package/cjs/DatePicker/DateRangePicker/dateRangePickerTimeRange.js +15 -0
- package/cjs/DatePicker/DateRangePicker/index.d.ts +4 -0
- package/cjs/DatePicker/DateRangePicker/index.js +51 -0
- package/cjs/DatePicker/components/Calendar.d.ts +17 -0
- package/cjs/DatePicker/components/Calendar.js +55 -0
- package/cjs/DatePicker/components/Display.d.ts +10 -0
- package/cjs/DatePicker/components/Display.js +24 -0
- package/cjs/DatePicker/components/Footer.d.ts +6 -0
- package/cjs/DatePicker/components/Footer.js +19 -0
- package/cjs/DatePicker/components/FooterActions.d.ts +12 -0
- package/cjs/DatePicker/components/FooterActions.js +32 -0
- package/cjs/DatePicker/components/Modal.d.ts +16 -0
- package/cjs/DatePicker/components/Modal.js +67 -0
- package/cjs/DatePicker/components/NavBar.d.ts +10 -0
- package/cjs/DatePicker/components/NavBar.js +123 -0
- package/cjs/DatePicker/components/SidePanel.d.ts +6 -0
- package/cjs/DatePicker/components/SidePanel.js +22 -0
- package/cjs/DatePicker/components/index.d.ts +12 -0
- package/cjs/DatePicker/components/index.js +48 -0
- package/cjs/DatePicker/index.d.ts +3 -0
- package/cjs/DatePicker/index.js +38 -0
- package/cjs/DatePicker/types.d.ts +26 -0
- package/cjs/DatePicker/types.js +5 -0
- package/cjs/DatePicker/utils.d.ts +3 -0
- package/cjs/DatePicker/utils.js +19 -0
- package/cjs/Dropdown/Dropdown.d.ts +49 -0
- package/cjs/Dropdown/Dropdown.js +133 -0
- package/cjs/Dropdown/DropdownButton.d.ts +11 -0
- package/cjs/Dropdown/DropdownButton.js +47 -0
- package/cjs/Dropdown/DropdownContext.d.ts +7 -0
- package/cjs/Dropdown/DropdownContext.js +16 -0
- package/cjs/Dropdown/components/DropdownButtonItem.d.ts +14 -0
- package/cjs/Dropdown/components/DropdownButtonItem.js +44 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +10 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +59 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.d.ts +7 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.js +20 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.d.ts +7 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.js +15 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.d.ts +9 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.js +36 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.d.ts +9 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.js +33 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/index.d.ts +5 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/index.js +63 -0
- package/cjs/Dropdown/components/DropdownDivider.d.ts +3 -0
- package/cjs/Dropdown/components/DropdownDivider.js +17 -0
- package/cjs/Dropdown/components/DropdownFooterItem.d.ts +8 -0
- package/cjs/Dropdown/components/DropdownFooterItem.js +29 -0
- package/cjs/Dropdown/components/DropdownLinkItem.d.ts +10 -0
- package/cjs/Dropdown/components/DropdownLinkItem.js +52 -0
- package/cjs/Dropdown/components/DropdownRadioItem.d.ts +8 -0
- package/cjs/Dropdown/components/DropdownRadioItem.js +43 -0
- package/cjs/Dropdown/components/DropdownTitle.d.ts +6 -0
- package/cjs/Dropdown/components/DropdownTitle.js +25 -0
- package/cjs/Dropdown/components/DropdownToggleItem.d.ts +11 -0
- package/cjs/Dropdown/components/DropdownToggleItem.js +46 -0
- package/cjs/Dropdown/index.d.ts +13 -0
- package/cjs/Dropdown/index.js +159 -0
- package/cjs/Dropdown/useDropdownItemProps.d.ts +21 -0
- package/cjs/Dropdown/useDropdownItemProps.js +38 -0
- package/cjs/Dropzone/Dropzone.d.ts +21 -0
- package/cjs/Dropzone/Dropzone.js +158 -0
- package/cjs/Dropzone/index.d.ts +2 -0
- package/cjs/Dropzone/index.js +27 -0
- package/cjs/EmptyState/EmptyState.d.ts +28 -0
- package/cjs/EmptyState/EmptyState.js +123 -0
- package/cjs/EmptyState/EmptyState.tailwind.d.ts +5 -0
- package/cjs/EmptyState/EmptyState.tailwind.js +15 -0
- package/cjs/EmptyState/index.d.ts +3 -0
- package/cjs/EmptyState/index.js +39 -0
- package/cjs/EmptyState/types.d.ts +50 -0
- package/cjs/EmptyState/types.js +5 -0
- package/cjs/Field/Field.d.ts +54 -0
- package/cjs/Field/Field.js +104 -0
- package/cjs/Field/FieldContext.d.ts +16 -0
- package/cjs/Field/FieldContext.js +14 -0
- package/cjs/Field/index.d.ts +5 -0
- package/cjs/Field/index.js +48 -0
- package/cjs/Field/useField.d.ts +2 -0
- package/cjs/Field/useField.js +11 -0
- package/cjs/Flag/Flag.d.ts +6 -0
- package/cjs/Flag/Flag.js +116 -0
- package/cjs/Flag/Flag.tailwind.d.ts +5 -0
- package/cjs/Flag/Flag.tailwind.js +34 -0
- package/cjs/Flag/Flags.d.ts +48 -0
- package/cjs/Flag/Flags.js +90 -0
- package/cjs/Flag/index.d.ts +4 -0
- package/cjs/Flag/index.js +51 -0
- package/cjs/Flag/types.d.ts +27 -0
- package/cjs/Flag/types.js +5 -0
- package/cjs/FlexGrid/FlexGrid.d.ts +40 -0
- package/cjs/FlexGrid/FlexGrid.js +68 -0
- package/cjs/FlexGrid/FlexGrid.tailwind.d.ts +8 -0
- package/cjs/FlexGrid/FlexGrid.tailwind.js +71 -0
- package/cjs/FlexGrid/index.d.ts +2 -0
- package/cjs/FlexGrid/index.js +27 -0
- package/cjs/HelpUnderline/HelpUnderline.d.ts +11 -0
- package/cjs/HelpUnderline/HelpUnderline.js +35 -0
- package/cjs/HelpUnderline/HelpUnderline.tailwind.d.ts +5 -0
- package/cjs/HelpUnderline/HelpUnderline.tailwind.js +21 -0
- package/cjs/HelpUnderline/index.js +27 -0
- package/cjs/Input/Input.d.ts +30 -0
- package/cjs/Input/Input.js +215 -0
- package/cjs/Input/Input.tailwind.d.ts +5 -0
- package/cjs/Input/Input.tailwind.js +123 -0
- package/cjs/Input/index.js +27 -0
- package/cjs/Insert/Insert.d.ts +45 -0
- package/cjs/Insert/Insert.js +77 -0
- package/cjs/Insert/index.d.ts +2 -0
- package/cjs/Insert/index.js +27 -0
- package/cjs/InstantSearch/InstantSearch.tailwind.d.ts +5 -0
- package/cjs/InstantSearch/InstantSearch.tailwind.js +376 -0
- package/cjs/KeyboardKey/KeyboardKey.d.ts +7 -0
- package/cjs/KeyboardKey/KeyboardKey.js +36 -0
- package/cjs/KeyboardKey/KeyboardKey.tailwind.d.ts +5 -0
- package/cjs/KeyboardKey/KeyboardKey.tailwind.js +29 -0
- package/cjs/KeyboardKey/index.d.ts +2 -0
- package/{components/Input → cjs/KeyboardKey}/index.js +5 -8
- package/cjs/Link/BaseLink.d.ts +8 -0
- package/cjs/Link/BaseLink.js +29 -0
- package/cjs/Link/ButtonLink.d.ts +9 -0
- package/cjs/Link/ButtonLink.js +37 -0
- package/cjs/Link/IconButtonLink.d.ts +9 -0
- package/cjs/Link/IconButtonLink.js +31 -0
- package/cjs/Link/Link.d.ts +13 -0
- package/cjs/Link/Link.js +52 -0
- package/cjs/Link/index.d.ts +5 -0
- package/cjs/Link/index.js +63 -0
- package/cjs/Medallion/Medallion.d.ts +12 -0
- package/cjs/Medallion/Medallion.js +39 -0
- package/cjs/Medallion/Medallion.tailwind.d.ts +5 -0
- package/cjs/Medallion/Medallion.tailwind.js +31 -0
- package/cjs/Medallion/index.d.ts +3 -0
- package/cjs/Medallion/index.js +39 -0
- package/cjs/Medallion/types.d.ts +2 -0
- package/cjs/Medallion/types.js +5 -0
- package/cjs/Modal/Modal.d.ts +56 -0
- package/cjs/Modal/Modal.js +149 -0
- package/cjs/Modal/Modal.tailwind.d.ts +5 -0
- package/cjs/Modal/Modal.tailwind.js +81 -0
- package/cjs/Modal/components/ModalFooter.d.ts +6 -0
- package/cjs/Modal/components/ModalFooter.js +32 -0
- package/cjs/Modal/components/ModalSection.d.ts +10 -0
- package/cjs/Modal/components/ModalSection.js +23 -0
- package/cjs/Modal/index.d.ts +4 -0
- package/cjs/Modal/index.js +51 -0
- package/cjs/Pagination/CompactPagination/CompactPagination.d.ts +31 -0
- package/cjs/Pagination/CompactPagination/CompactPagination.js +82 -0
- package/cjs/Pagination/CompactPagination/index.d.ts +2 -0
- package/cjs/Pagination/CompactPagination/index.js +27 -0
- package/cjs/Pagination/DotPagination/DotPagination.d.ts +15 -0
- package/cjs/Pagination/DotPagination/DotPagination.js +46 -0
- package/cjs/Pagination/DotPagination/index.d.ts +2 -0
- package/cjs/Pagination/DotPagination/index.js +27 -0
- package/cjs/Pagination/Pagination/Pagination.d.ts +22 -0
- package/cjs/Pagination/Pagination/Pagination.js +122 -0
- package/cjs/Pagination/Pagination/index.js +27 -0
- package/cjs/Pagination/index.d.ts +4 -0
- package/cjs/Pagination/index.js +51 -0
- package/cjs/Popover/Popover.d.ts +5 -0
- package/cjs/Popover/Popover.js +137 -0
- package/cjs/Popover/index.d.ts +3 -0
- package/cjs/Popover/index.js +36 -0
- package/cjs/Popover/types.d.ts +74 -0
- package/cjs/Popover/types.js +5 -0
- package/cjs/ProgressBar/ProgressBar.d.ts +16 -0
- package/cjs/ProgressBar/ProgressBar.js +57 -0
- package/cjs/ProgressBar/ProgressBar.tailwind.d.ts +5 -0
- package/cjs/ProgressBar/ProgressBar.tailwind.js +25 -0
- package/cjs/ProgressBar/index.d.ts +2 -0
- package/cjs/ProgressBar/index.js +27 -0
- package/cjs/ProgressSpinner/ProgressSpinner.d.ts +9 -0
- package/cjs/ProgressSpinner/ProgressSpinner.js +52 -0
- package/cjs/ProgressSpinner/ProgressSpinner.tailwind.d.ts +5 -0
- package/cjs/ProgressSpinner/ProgressSpinner.tailwind.js +44 -0
- package/cjs/ProgressSpinner/index.d.ts +2 -0
- package/cjs/ProgressSpinner/index.js +27 -0
- package/cjs/RadioGroup/RadioButton.d.ts +4 -0
- package/cjs/RadioGroup/RadioButton.js +29 -0
- package/cjs/RadioGroup/RadioButton.tailwind.d.ts +5 -0
- package/cjs/RadioGroup/RadioButton.tailwind.js +61 -0
- package/cjs/RadioGroup/RadioGroup.d.ts +41 -0
- package/cjs/RadioGroup/RadioGroup.js +103 -0
- package/cjs/RadioGroup/RadiogroupContext.d.ts +11 -0
- package/cjs/RadioGroup/RadiogroupContext.js +15 -0
- package/cjs/RadioGroup/index.d.ts +4 -0
- package/cjs/RadioGroup/index.js +51 -0
- package/cjs/RangeSlider/RangeSlider.d.ts +38 -0
- package/cjs/RangeSlider/RangeSlider.js +105 -0
- package/cjs/RangeSlider/index.d.ts +2 -0
- package/cjs/RangeSlider/index.js +27 -0
- package/cjs/Satellite/Satellite.d.ts +11 -0
- package/cjs/Satellite/Satellite.js +61 -0
- package/cjs/Satellite/SatelliteContext.d.ts +11 -0
- package/cjs/Satellite/SatelliteContext.js +23 -0
- package/cjs/Satellite/SatelliteRouter.d.ts +21 -0
- package/cjs/Satellite/SatelliteRouter.js +47 -0
- package/cjs/Satellite/index.d.ts +6 -0
- package/cjs/Satellite/index.js +75 -0
- package/cjs/Satellite/locale.d.ts +33 -0
- package/cjs/Satellite/locale.js +14 -0
- package/cjs/Satellite/useCreatePortal.d.ts +4 -0
- package/cjs/Satellite/useCreatePortal.js +23 -0
- package/cjs/ScrollIndicator/ScrollIndicator.d.ts +14 -0
- package/cjs/ScrollIndicator/ScrollIndicator.js +86 -0
- package/cjs/ScrollIndicator/ScrollIndicator.tailwind.d.ts +5 -0
- package/cjs/ScrollIndicator/ScrollIndicator.tailwind.js +50 -0
- package/cjs/ScrollIndicator/index.d.ts +2 -0
- package/cjs/ScrollIndicator/index.js +27 -0
- package/cjs/Select/Select.d.ts +15 -0
- package/cjs/Select/Select.js +44 -0
- package/cjs/Select/Select.tailwind.d.ts +5 -0
- package/cjs/Select/Select.tailwind.js +76 -0
- package/cjs/Select/index.js +27 -0
- package/cjs/Separator/Separator.d.ts +9 -0
- package/cjs/Separator/Separator.js +39 -0
- package/cjs/Separator/Separator.tailwind.d.ts +5 -0
- package/cjs/Separator/Separator.tailwind.js +54 -0
- package/cjs/Separator/index.d.ts +2 -0
- package/cjs/Separator/index.js +27 -0
- package/cjs/Sidebar/Sidebar.d.ts +36 -0
- package/cjs/Sidebar/Sidebar.js +61 -0
- package/cjs/Sidebar/SidebarButtonLink.d.ts +20 -0
- package/cjs/Sidebar/SidebarButtonLink.js +84 -0
- package/cjs/Sidebar/SidebarContext.d.ts +9 -0
- package/cjs/Sidebar/SidebarContext.js +15 -0
- package/cjs/Sidebar/SidebarHeader.d.ts +7 -0
- package/cjs/Sidebar/SidebarHeader.js +20 -0
- package/cjs/Sidebar/SidebarHeading.d.ts +8 -0
- package/cjs/Sidebar/SidebarHeading.js +25 -0
- package/cjs/Sidebar/SidebarLink.d.ts +9 -0
- package/cjs/Sidebar/SidebarLink.js +50 -0
- package/cjs/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.d.ts +9 -0
- package/cjs/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.js +37 -0
- package/cjs/Sidebar/SidebarLinksGroup/SidebarGroupLink.d.ts +7 -0
- package/cjs/Sidebar/SidebarLinksGroup/SidebarGroupLink.js +36 -0
- package/cjs/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +24 -0
- package/cjs/Sidebar/SidebarLinksGroup/SidebarLinksGroup.js +97 -0
- package/cjs/Sidebar/SidebarLinksGroup/index.d.ts +2 -0
- package/cjs/Sidebar/SidebarLinksGroup/index.js +16 -0
- package/cjs/Sidebar/SidebarLinksGroup/types.d.ts +10 -0
- package/cjs/Sidebar/SidebarLinksGroup/types.js +5 -0
- package/cjs/Sidebar/SidebarNav.d.ts +11 -0
- package/cjs/Sidebar/SidebarNav.js +36 -0
- package/cjs/Sidebar/index.d.ts +9 -0
- package/cjs/Sidebar/index.js +111 -0
- package/cjs/Sidebar/types.d.ts +6 -0
- package/cjs/Sidebar/types.js +5 -0
- package/cjs/Switch/Switch.d.ts +14 -0
- package/cjs/Switch/Switch.js +86 -0
- package/cjs/Switch/Switch.tailwind.d.ts +5 -0
- package/cjs/Switch/Switch.tailwind.js +25 -0
- package/cjs/Switch/SwitchOption.d.ts +8 -0
- package/cjs/Switch/SwitchOption.js +45 -0
- package/cjs/Switch/index.d.ts +3 -0
- package/cjs/Switch/index.js +39 -0
- package/cjs/Switch/types.d.ts +7 -0
- package/cjs/Switch/types.js +5 -0
- package/cjs/Switch/utils.d.ts +6 -0
- package/cjs/Switch/utils.js +18 -0
- package/cjs/Tables/DataTable/DataTable.d.ts +69 -0
- package/cjs/Tables/DataTable/DataTable.js +264 -0
- package/cjs/Tables/DataTable/DataTable.tailwind.d.ts +5 -0
- package/cjs/Tables/DataTable/DataTable.tailwind.js +23 -0
- package/cjs/Tables/DataTable/components/Body.d.ts +15 -0
- package/cjs/Tables/DataTable/components/Body.js +119 -0
- package/cjs/Tables/DataTable/components/Footer.d.ts +8 -0
- package/cjs/Tables/DataTable/components/Footer.js +63 -0
- package/cjs/Tables/DataTable/components/Header.d.ts +10 -0
- package/cjs/Tables/DataTable/components/Header.js +39 -0
- package/cjs/Tables/DataTable/components/HeaderCell.d.ts +12 -0
- package/cjs/Tables/DataTable/components/HeaderCell.js +58 -0
- package/cjs/Tables/DataTable/components/Loader.d.ts +9 -0
- package/cjs/Tables/DataTable/components/Loader.js +47 -0
- package/cjs/Tables/DataTable/components/index.d.ts +5 -0
- package/cjs/Tables/DataTable/components/index.js +60 -0
- package/cjs/Tables/DataTable/index.d.ts +3 -0
- package/cjs/Tables/DataTable/index.js +39 -0
- package/cjs/Tables/DataTable/types.d.ts +63 -0
- package/cjs/Tables/DataTable/types.js +5 -0
- package/cjs/Tables/DataTable/utils.d.ts +4 -0
- package/cjs/Tables/DataTable/utils.js +20 -0
- package/cjs/Tables/Table/Table.d.ts +28 -0
- package/cjs/Tables/Table/Table.js +60 -0
- package/cjs/Tables/Table/Table.tailwind.d.ts +5 -0
- package/cjs/Tables/Table/Table.tailwind.js +39 -0
- package/cjs/Tables/Table/components/TableFooter.d.ts +8 -0
- package/cjs/Tables/Table/components/TableFooter.js +26 -0
- package/cjs/Tables/Table/index.d.ts +3 -0
- package/cjs/Tables/Table/index.js +39 -0
- package/cjs/Tables/index.d.ts +3 -0
- package/cjs/Tables/index.js +39 -0
- package/cjs/Tabs/ContentTabs.d.ts +4 -0
- package/cjs/Tabs/ContentTabs.js +60 -0
- package/cjs/Tabs/LinkTabs.d.ts +33 -0
- package/cjs/Tabs/LinkTabs.js +75 -0
- package/cjs/Tabs/Tabs.tailwind.d.ts +5 -0
- package/cjs/Tabs/Tabs.tailwind.js +72 -0
- package/cjs/Tabs/components/LinkTab.d.ts +9 -0
- package/cjs/Tabs/components/LinkTab.js +84 -0
- package/cjs/Tabs/index.d.ts +4 -0
- package/cjs/Tabs/index.js +51 -0
- package/cjs/Tabs/types.d.ts +34 -0
- package/cjs/Tabs/types.js +5 -0
- package/cjs/Tabs/utils.d.ts +2 -0
- package/cjs/Tabs/utils.js +18 -0
- package/cjs/Tag/Tag.d.ts +48 -0
- package/cjs/Tag/Tag.js +139 -0
- package/cjs/Tag/Tag.tailwind.d.ts +5 -0
- package/cjs/Tag/Tag.tailwind.js +54 -0
- package/cjs/Tag/index.d.ts +2 -0
- package/cjs/Tag/index.js +27 -0
- package/cjs/TextArea/TextArea.d.ts +5 -0
- package/cjs/TextArea/TextArea.js +28 -0
- package/cjs/TextArea/TextArea.tailwind.d.ts +5 -0
- package/cjs/TextArea/TextArea.tailwind.js +42 -0
- package/cjs/TextArea/index.js +27 -0
- package/cjs/TextWrap/TextWrap.d.ts +8 -0
- package/cjs/TextWrap/TextWrap.js +53 -0
- package/cjs/TextWrap/index.d.ts +2 -0
- package/cjs/TextWrap/index.js +27 -0
- package/cjs/Toggle/Toggle.d.ts +14 -0
- package/cjs/Toggle/Toggle.js +75 -0
- package/cjs/Toggle/Toggle.tailwind.d.ts +5 -0
- package/cjs/Toggle/Toggle.tailwind.js +84 -0
- package/cjs/Toggle/index.d.ts +2 -0
- package/cjs/Toggle/index.js +27 -0
- package/cjs/Tooltip/OverflowTooltipWrapper.d.ts +5 -0
- package/cjs/Tooltip/OverflowTooltipWrapper.js +46 -0
- package/cjs/Tooltip/Tooltip.d.ts +24 -0
- package/cjs/Tooltip/Tooltip.js +52 -0
- package/cjs/Tooltip/Tooltip.tailwind.d.ts +5 -0
- package/cjs/Tooltip/Tooltip.tailwind.js +47 -0
- package/cjs/Tooltip/TooltipWrapper.d.ts +14 -0
- package/cjs/Tooltip/TooltipWrapper.js +82 -0
- package/{components → cjs}/Tooltip/index.d.ts +1 -0
- package/cjs/Tooltip/index.js +51 -0
- package/cjs/Tooltip/types.d.ts +65 -0
- package/cjs/Tooltip/types.js +5 -0
- package/cjs/Tooltip/utils.d.ts +1 -0
- package/cjs/Tooltip/utils.js +9 -0
- package/cjs/Typography/Typography.tailwind.d.ts +5 -0
- package/cjs/Typography/Typography.tailwind.js +170 -0
- package/cjs/UserContent/UserContent.d.ts +9 -0
- package/cjs/UserContent/UserContent.js +26 -0
- package/cjs/UserContent/UserContent.tailwind.d.ts +5 -0
- package/cjs/UserContent/UserContent.tailwind.js +141 -0
- package/cjs/index.d.ts +49 -0
- package/cjs/index.js +580 -0
- package/cjs/package.json +3 -0
- package/cjs/styles/base.tailwind.d.ts +5 -0
- package/cjs/styles/base.tailwind.js +46 -0
- package/cjs/styles/brandColors.d.ts +42 -0
- package/cjs/styles/brandColors.js +48 -0
- package/cjs/styles/colors.d.ts +110 -0
- package/cjs/styles/colors.js +116 -0
- package/cjs/styles/disabledColor.d.ts +6 -0
- package/cjs/styles/disabledColor.js +14 -0
- package/cjs/styles/helpers/icons.d.ts +15 -0
- package/cjs/styles/helpers/icons.js +39 -0
- package/cjs/styles/helpers/makePurgeCssExtractor.d.ts +7 -0
- package/cjs/styles/helpers/makePurgeCssExtractor.js +50 -0
- package/cjs/styles/helpers/makeTailwindPrefixer.d.ts +6 -0
- package/cjs/styles/helpers/makeTailwindPrefixer.js +36 -0
- package/cjs/styles/helpers/prefixTailwindClassName.d.ts +7 -0
- package/cjs/styles/helpers/prefixTailwindClassName.js +28 -0
- package/cjs/styles/helpers/satellitePrefixer.d.ts +3 -0
- package/cjs/styles/helpers/satellitePrefixer.js +8 -0
- package/cjs/styles/rgba.d.ts +8 -0
- package/cjs/styles/rgba.js +15 -0
- package/cjs/styles/tailwind.config.d.ts +2 -0
- package/cjs/styles/tailwind.config.js +146 -0
- package/cjs/styles/zIndexes.d.ts +8 -0
- package/cjs/styles/zIndexes.js +15 -0
- package/cjs/types.d.ts +27 -0
- package/cjs/types.js +5 -0
- package/cjs/utilities/overlay.tailwind.d.ts +5 -0
- package/cjs/utilities/overlay.tailwind.js +107 -0
- package/cjs/utilities/utilities.tailwind.d.ts +5 -0
- package/cjs/utilities/utilities.tailwind.js +27 -0
- package/cjs/utils/NumberUnion.d.ts +5 -0
- package/cjs/utils/NumberUnion.js +5 -0
- package/cjs/utils/clamp.d.ts +1 -0
- package/cjs/utils/clamp.js +9 -0
- package/cjs/utils/event-polyfill.d.ts +0 -0
- package/cjs/utils/event-polyfill.js +25 -0
- package/cjs/utils/formatters.d.ts +25 -0
- package/cjs/utils/formatters.js +44 -0
- package/cjs/utils/genericChangeHandler.d.ts +5 -0
- package/{utils → cjs/utils}/genericChangeHandler.js +2 -9
- package/cjs/utils/hashCode.d.ts +2 -0
- package/cjs/utils/hashCode.js +21 -0
- package/cjs/utils/index.d.ts +7 -0
- package/{utils → cjs/utils}/index.js +11 -18
- package/cjs/utils/isCssPropertySupported.d.ts +2 -0
- package/cjs/utils/isCssPropertySupported.js +15 -0
- package/cjs/utils/isNil.d.ts +19 -0
- package/cjs/utils/isNil.js +27 -0
- package/cjs/utils/isReactText.d.ts +2 -0
- package/cjs/utils/isReactText.js +9 -0
- package/cjs/utils/isRenderedChild.d.ts +8 -0
- package/cjs/utils/isRenderedChild.js +15 -0
- package/cjs/utils/matchLocation.d.ts +3 -0
- package/cjs/utils/matchLocation.js +12 -0
- package/cjs/utils/onlyText.d.ts +3 -0
- package/cjs/utils/onlyText.js +39 -0
- package/cjs/utils/parseUrl.d.ts +11 -0
- package/cjs/utils/parseUrl.js +21 -0
- package/{utils → cjs/utils}/pluralize.js +8 -9
- package/cjs/utils/prefersReducedMotion.d.ts +6 -0
- package/cjs/utils/prefersReducedMotion.js +13 -0
- package/{utils → cjs/utils}/range.js +2 -5
- package/cjs/utils/toSentenceCase.d.ts +3 -0
- package/cjs/utils/toSentenceCase.js +15 -0
- package/{utils → cjs/utils}/uniqBy.js +2 -7
- package/{utils → cjs/utils}/uniqueId.js +2 -5
- package/cjs/utils/useForwardedRef.d.ts +3 -0
- package/cjs/utils/useForwardedRef.js +24 -0
- package/cjs/utils/useLinkProps.d.ts +7 -0
- package/cjs/utils/useLinkProps.js +53 -0
- package/cjs/utils/useTriggerInputChange.d.ts +8 -0
- package/cjs/utils/useTriggerInputChange.js +27 -0
- package/esm/AnnouncementBadge/AnnouncementBadge.d.ts +21 -0
- package/esm/AnnouncementBadge/AnnouncementBadge.js +44 -0
- package/esm/AnnouncementBadge/index.d.ts +2 -0
- package/esm/AnnouncementBadge/index.js +2 -0
- package/esm/AutoComplete/AutoComplete.d.ts +20 -0
- package/esm/AutoComplete/AutoComplete.js +450 -0
- package/esm/AutoComplete/AutoComplete.tailwind.d.ts +5 -0
- package/esm/AutoComplete/AutoComplete.tailwind.js +97 -0
- package/esm/AutoComplete/components/AutoCompleteEmptyState.d.ts +13 -0
- package/esm/AutoComplete/components/AutoCompleteEmptyState.js +29 -0
- package/esm/AutoComplete/components/AutocompleteContext.d.ts +5 -0
- package/esm/AutoComplete/components/AutocompleteContext.js +13 -0
- package/esm/AutoComplete/components/DefaultOptionItem.d.ts +7 -0
- package/esm/AutoComplete/components/DefaultOptionItem.js +30 -0
- package/esm/AutoComplete/index.d.ts +7 -0
- package/esm/AutoComplete/index.js +7 -0
- package/esm/AutoComplete/types.d.ts +95 -0
- package/esm/AutoComplete/types.js +1 -0
- package/esm/AutoComplete/utils.d.ts +8 -0
- package/esm/AutoComplete/utils.js +71 -0
- package/esm/Avatars/ApplicationAvatar.d.ts +13 -0
- package/esm/Avatars/ApplicationAvatar.js +27 -0
- package/esm/Avatars/UserAvatar.d.ts +20 -0
- package/esm/Avatars/UserAvatar.js +49 -0
- package/esm/Avatars/index.d.ts +3 -0
- package/esm/Avatars/index.js +3 -0
- package/esm/Avatars/types.d.ts +17 -0
- package/esm/Avatars/types.js +1 -0
- package/esm/Avatars/utils.d.ts +6 -0
- package/esm/Avatars/utils.js +48 -0
- package/esm/Badge/Badge.d.ts +33 -0
- package/esm/Badge/Badge.js +73 -0
- package/esm/Badge/index.d.ts +2 -0
- package/esm/Badge/index.js +2 -0
- package/esm/Banners/Alert/Alert.d.ts +78 -0
- package/esm/Banners/Alert/Alert.js +133 -0
- package/esm/Banners/Alert/index.d.ts +2 -0
- package/esm/Banners/Alert/index.js +2 -0
- package/esm/Banners/BigBertha/BigBertha.d.ts +41 -0
- package/esm/Banners/BigBertha/BigBertha.js +55 -0
- package/esm/Banners/BigBertha/index.d.ts +2 -0
- package/esm/Banners/BigBertha/index.js +2 -0
- package/esm/Banners/Promote/Promote.d.ts +51 -0
- package/esm/Banners/Promote/Promote.js +97 -0
- package/esm/Banners/Promote/index.d.ts +2 -0
- package/esm/Banners/Promote/index.js +2 -0
- package/esm/Banners/index.d.ts +3 -0
- package/esm/Banners/index.js +3 -0
- package/esm/Button/Button.d.ts +19 -0
- package/esm/Button/Button.js +28 -0
- package/esm/Button/Button.tailwind.d.ts +5 -0
- package/esm/Button/Button.tailwind.js +154 -0
- package/esm/Button/ButtonGroup.d.ts +18 -0
- package/esm/Button/ButtonGroup.js +21 -0
- package/esm/Button/IconButton.d.ts +10 -0
- package/esm/Button/IconButton.js +19 -0
- package/esm/Button/PolymorphicButton.d.ts +12 -0
- package/esm/Button/PolymorphicButton.js +69 -0
- package/esm/Button/PolymorphicIconButton.d.ts +29 -0
- package/esm/Button/PolymorphicIconButton.js +81 -0
- package/esm/Button/index.d.ts +5 -0
- package/esm/Button/index.js +4 -0
- package/esm/Button/styles.d.ts +5 -0
- package/esm/Button/styles.js +30 -0
- package/esm/Button/types.d.ts +33 -0
- package/esm/Button/types.js +5 -0
- package/esm/Card/Card.d.ts +32 -0
- package/esm/Card/Card.js +37 -0
- package/esm/Card/Card.tailwind.d.ts +5 -0
- package/esm/Card/Card.tailwind.js +35 -0
- package/esm/Card/components/CardHeader.d.ts +6 -0
- package/esm/Card/components/CardHeader.js +20 -0
- package/esm/Card/components/CardTitle.d.ts +6 -0
- package/esm/Card/components/CardTitle.js +20 -0
- package/esm/Card/index.d.ts +4 -0
- package/esm/Card/index.js +4 -0
- package/esm/Checkbox/Checkbox.d.ts +24 -0
- package/esm/Checkbox/Checkbox.js +92 -0
- package/esm/Checkbox/Checkbox.tailwind.d.ts +5 -0
- package/esm/Checkbox/Checkbox.tailwind.js +70 -0
- package/esm/Checkbox/index.d.ts +2 -0
- package/esm/Checkbox/index.js +2 -0
- package/esm/ClickAwayContainer/ClickAwayContainer.d.ts +28 -0
- package/esm/ClickAwayContainer/ClickAwayContainer.js +76 -0
- package/esm/ClickAwayContainer/index.d.ts +1 -0
- package/esm/ClickAwayContainer/index.js +1 -0
- package/esm/DatePicker/DatePicker/DatePicker.d.ts +34 -0
- package/esm/DatePicker/DatePicker/DatePicker.js +159 -0
- package/esm/DatePicker/DatePicker/datePickerReducer.d.ts +29 -0
- package/esm/DatePicker/DatePicker/datePickerReducer.js +43 -0
- package/esm/DatePicker/DatePicker/index.d.ts +3 -0
- package/esm/DatePicker/DatePicker/index.js +3 -0
- package/esm/DatePicker/DatePicker.tailwind.d.ts +5 -0
- package/esm/DatePicker/DatePicker.tailwind.js +182 -0
- package/esm/DatePicker/DateRangePicker/DateRangePicker.d.ts +35 -0
- package/esm/DatePicker/DateRangePicker/DateRangePicker.js +251 -0
- package/esm/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +14 -0
- package/esm/DatePicker/DateRangePicker/DateRangePickerDisplay.js +33 -0
- package/esm/DatePicker/DateRangePicker/dateRangePickerReducer.d.ts +54 -0
- package/esm/DatePicker/DateRangePicker/dateRangePickerReducer.js +92 -0
- package/esm/DatePicker/DateRangePicker/dateRangePickerTimeRange.d.ts +16 -0
- package/esm/DatePicker/DateRangePicker/dateRangePickerTimeRange.js +9 -0
- package/esm/DatePicker/DateRangePicker/index.d.ts +4 -0
- package/esm/DatePicker/DateRangePicker/index.js +4 -0
- package/esm/DatePicker/components/Calendar.d.ts +17 -0
- package/esm/DatePicker/components/Calendar.js +48 -0
- package/esm/DatePicker/components/Display.d.ts +10 -0
- package/esm/DatePicker/components/Display.js +17 -0
- package/esm/DatePicker/components/Footer.d.ts +6 -0
- package/esm/DatePicker/components/Footer.js +12 -0
- package/esm/DatePicker/components/FooterActions.d.ts +12 -0
- package/esm/DatePicker/components/FooterActions.js +26 -0
- package/esm/DatePicker/components/Modal.d.ts +16 -0
- package/esm/DatePicker/components/Modal.js +60 -0
- package/esm/DatePicker/components/NavBar.d.ts +10 -0
- package/esm/DatePicker/components/NavBar.js +117 -0
- package/esm/DatePicker/components/SidePanel.d.ts +6 -0
- package/esm/DatePicker/components/SidePanel.js +15 -0
- package/esm/DatePicker/components/index.d.ts +12 -0
- package/esm/DatePicker/components/index.js +6 -0
- package/esm/DatePicker/index.d.ts +3 -0
- package/esm/DatePicker/index.js +3 -0
- package/esm/DatePicker/types.d.ts +26 -0
- package/esm/DatePicker/types.js +1 -0
- package/esm/DatePicker/utils.d.ts +3 -0
- package/esm/DatePicker/utils.js +12 -0
- package/esm/Dropdown/Dropdown.d.ts +49 -0
- package/esm/Dropdown/Dropdown.js +127 -0
- package/esm/Dropdown/DropdownButton.d.ts +11 -0
- package/esm/Dropdown/DropdownButton.js +40 -0
- package/esm/Dropdown/DropdownContext.d.ts +7 -0
- package/esm/Dropdown/DropdownContext.js +10 -0
- package/esm/Dropdown/components/DropdownButtonItem.d.ts +14 -0
- package/esm/Dropdown/components/DropdownButtonItem.js +38 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +10 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +53 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.d.ts +7 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.js +14 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.d.ts +7 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.js +9 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.d.ts +9 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.js +29 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.d.ts +9 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.js +26 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/index.d.ts +5 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/index.js +5 -0
- package/esm/Dropdown/components/DropdownDivider.d.ts +3 -0
- package/esm/Dropdown/components/DropdownDivider.js +10 -0
- package/esm/Dropdown/components/DropdownFooterItem.d.ts +8 -0
- package/esm/Dropdown/components/DropdownFooterItem.js +22 -0
- package/esm/Dropdown/components/DropdownLinkItem.d.ts +10 -0
- package/esm/Dropdown/components/DropdownLinkItem.js +46 -0
- package/esm/Dropdown/components/DropdownRadioItem.d.ts +8 -0
- package/esm/Dropdown/components/DropdownRadioItem.js +37 -0
- package/esm/Dropdown/components/DropdownTitle.d.ts +6 -0
- package/esm/Dropdown/components/DropdownTitle.js +18 -0
- package/esm/Dropdown/components/DropdownToggleItem.d.ts +11 -0
- package/esm/Dropdown/components/DropdownToggleItem.js +40 -0
- package/esm/Dropdown/index.d.ts +13 -0
- package/esm/Dropdown/index.js +13 -0
- package/esm/Dropdown/useDropdownItemProps.d.ts +21 -0
- package/esm/Dropdown/useDropdownItemProps.js +31 -0
- package/esm/Dropzone/Dropzone.d.ts +21 -0
- package/esm/Dropzone/Dropzone.js +152 -0
- package/esm/Dropzone/index.d.ts +2 -0
- package/esm/Dropzone/index.js +2 -0
- package/esm/EmptyState/EmptyState.d.ts +28 -0
- package/esm/EmptyState/EmptyState.js +117 -0
- package/esm/EmptyState/EmptyState.tailwind.d.ts +5 -0
- package/esm/EmptyState/EmptyState.tailwind.js +14 -0
- package/esm/EmptyState/index.d.ts +3 -0
- package/esm/EmptyState/index.js +3 -0
- package/esm/EmptyState/types.d.ts +50 -0
- package/esm/EmptyState/types.js +1 -0
- package/esm/Field/Field.d.ts +54 -0
- package/esm/Field/Field.js +98 -0
- package/esm/Field/FieldContext.d.ts +16 -0
- package/esm/Field/FieldContext.js +8 -0
- package/esm/Field/index.d.ts +5 -0
- package/esm/Field/index.js +4 -0
- package/esm/Field/useField.d.ts +2 -0
- package/esm/Field/useField.js +5 -0
- package/esm/Flag/Flag.d.ts +6 -0
- package/esm/Flag/Flag.js +110 -0
- package/esm/Flag/Flag.tailwind.d.ts +5 -0
- package/esm/Flag/Flag.tailwind.js +33 -0
- package/esm/Flag/Flags.d.ts +48 -0
- package/esm/Flag/Flags.js +83 -0
- package/esm/Flag/index.d.ts +4 -0
- package/esm/Flag/index.js +4 -0
- package/esm/Flag/types.d.ts +27 -0
- package/esm/Flag/types.js +1 -0
- package/esm/FlexGrid/FlexGrid.d.ts +40 -0
- package/esm/FlexGrid/FlexGrid.js +62 -0
- package/esm/FlexGrid/FlexGrid.tailwind.d.ts +8 -0
- package/esm/FlexGrid/FlexGrid.tailwind.js +69 -0
- package/esm/FlexGrid/index.d.ts +2 -0
- package/esm/FlexGrid/index.js +2 -0
- package/esm/HelpUnderline/HelpUnderline.d.ts +11 -0
- package/esm/HelpUnderline/HelpUnderline.js +28 -0
- package/esm/HelpUnderline/HelpUnderline.tailwind.d.ts +5 -0
- package/esm/HelpUnderline/HelpUnderline.tailwind.js +20 -0
- package/esm/HelpUnderline/index.d.ts +2 -0
- package/esm/HelpUnderline/index.js +2 -0
- package/esm/Input/Input.d.ts +30 -0
- package/esm/Input/Input.js +209 -0
- package/esm/Input/Input.tailwind.d.ts +5 -0
- package/esm/Input/Input.tailwind.js +124 -0
- package/esm/Input/index.d.ts +2 -0
- package/esm/Input/index.js +2 -0
- package/esm/Insert/Insert.d.ts +45 -0
- package/esm/Insert/Insert.js +71 -0
- package/esm/Insert/index.d.ts +2 -0
- package/esm/Insert/index.js +2 -0
- package/esm/InstantSearch/InstantSearch.tailwind.d.ts +5 -0
- package/esm/InstantSearch/InstantSearch.tailwind.js +377 -0
- package/esm/KeyboardKey/KeyboardKey.d.ts +7 -0
- package/esm/KeyboardKey/KeyboardKey.js +29 -0
- package/esm/KeyboardKey/KeyboardKey.tailwind.d.ts +5 -0
- package/esm/KeyboardKey/KeyboardKey.tailwind.js +28 -0
- package/esm/KeyboardKey/index.d.ts +2 -0
- package/esm/KeyboardKey/index.js +2 -0
- package/esm/Link/BaseLink.d.ts +8 -0
- package/esm/Link/BaseLink.js +22 -0
- package/esm/Link/ButtonLink.d.ts +9 -0
- package/esm/Link/ButtonLink.js +30 -0
- package/esm/Link/IconButtonLink.d.ts +9 -0
- package/esm/Link/IconButtonLink.js +24 -0
- package/esm/Link/Link.d.ts +13 -0
- package/esm/Link/Link.js +46 -0
- package/esm/Link/index.d.ts +5 -0
- package/esm/Link/index.js +5 -0
- package/esm/Medallion/Medallion.d.ts +12 -0
- package/esm/Medallion/Medallion.js +32 -0
- package/esm/Medallion/Medallion.tailwind.d.ts +5 -0
- package/esm/Medallion/Medallion.tailwind.js +30 -0
- package/esm/Medallion/index.d.ts +3 -0
- package/esm/Medallion/index.js +3 -0
- package/esm/Medallion/types.d.ts +2 -0
- package/esm/Medallion/types.js +1 -0
- package/esm/Modal/Modal.d.ts +56 -0
- package/esm/Modal/Modal.js +140 -0
- package/esm/Modal/Modal.tailwind.d.ts +5 -0
- package/esm/Modal/Modal.tailwind.js +79 -0
- package/esm/Modal/components/ModalFooter.d.ts +6 -0
- package/esm/Modal/components/ModalFooter.js +25 -0
- package/esm/Modal/components/ModalSection.d.ts +10 -0
- package/esm/Modal/components/ModalSection.js +16 -0
- package/esm/Modal/index.d.ts +4 -0
- package/esm/Modal/index.js +4 -0
- package/esm/Pagination/CompactPagination/CompactPagination.d.ts +31 -0
- package/esm/Pagination/CompactPagination/CompactPagination.js +76 -0
- package/esm/Pagination/CompactPagination/index.d.ts +2 -0
- package/esm/Pagination/CompactPagination/index.js +2 -0
- package/esm/Pagination/DotPagination/DotPagination.d.ts +15 -0
- package/esm/Pagination/DotPagination/DotPagination.js +39 -0
- package/esm/Pagination/DotPagination/index.d.ts +2 -0
- package/esm/Pagination/DotPagination/index.js +2 -0
- package/esm/Pagination/Pagination/Pagination.d.ts +22 -0
- package/esm/Pagination/Pagination/Pagination.js +114 -0
- package/esm/Pagination/Pagination/index.d.ts +2 -0
- package/esm/Pagination/Pagination/index.js +2 -0
- package/esm/Pagination/index.d.ts +4 -0
- package/esm/Pagination/index.js +4 -0
- package/esm/Popover/Popover.d.ts +5 -0
- package/esm/Popover/Popover.js +129 -0
- package/esm/Popover/index.d.ts +3 -0
- package/esm/Popover/index.js +3 -0
- package/esm/Popover/types.d.ts +74 -0
- package/esm/Popover/types.js +1 -0
- package/esm/ProgressBar/ProgressBar.d.ts +16 -0
- package/esm/ProgressBar/ProgressBar.js +47 -0
- package/esm/ProgressBar/ProgressBar.tailwind.d.ts +5 -0
- package/esm/ProgressBar/ProgressBar.tailwind.js +25 -0
- package/esm/ProgressBar/index.d.ts +2 -0
- package/esm/ProgressBar/index.js +2 -0
- package/esm/ProgressSpinner/ProgressSpinner.d.ts +9 -0
- package/esm/ProgressSpinner/ProgressSpinner.js +46 -0
- package/esm/ProgressSpinner/ProgressSpinner.tailwind.d.ts +5 -0
- package/esm/ProgressSpinner/ProgressSpinner.tailwind.js +43 -0
- package/esm/ProgressSpinner/index.d.ts +2 -0
- package/esm/ProgressSpinner/index.js +2 -0
- package/esm/RadioGroup/RadioButton.d.ts +4 -0
- package/esm/RadioGroup/RadioButton.js +22 -0
- package/esm/RadioGroup/RadioButton.tailwind.d.ts +5 -0
- package/esm/RadioGroup/RadioButton.tailwind.js +62 -0
- package/esm/RadioGroup/RadioGroup.d.ts +41 -0
- package/esm/RadioGroup/RadioGroup.js +97 -0
- package/esm/RadioGroup/RadiogroupContext.d.ts +11 -0
- package/esm/RadioGroup/RadiogroupContext.js +9 -0
- package/esm/RadioGroup/index.d.ts +4 -0
- package/esm/RadioGroup/index.js +4 -0
- package/esm/RangeSlider/RangeSlider.d.ts +38 -0
- package/esm/RangeSlider/RangeSlider.js +101 -0
- package/esm/RangeSlider/index.d.ts +2 -0
- package/esm/RangeSlider/index.js +2 -0
- package/esm/Satellite/Satellite.d.ts +11 -0
- package/esm/Satellite/Satellite.js +54 -0
- package/esm/Satellite/SatelliteContext.d.ts +11 -0
- package/esm/Satellite/SatelliteContext.js +16 -0
- package/esm/Satellite/SatelliteRouter.d.ts +21 -0
- package/esm/Satellite/SatelliteRouter.js +40 -0
- package/esm/Satellite/index.d.ts +6 -0
- package/esm/Satellite/index.js +6 -0
- package/esm/Satellite/locale.d.ts +33 -0
- package/esm/Satellite/locale.js +7 -0
- package/esm/Satellite/useCreatePortal.d.ts +4 -0
- package/esm/Satellite/useCreatePortal.js +17 -0
- package/esm/ScrollIndicator/ScrollIndicator.d.ts +14 -0
- package/esm/ScrollIndicator/ScrollIndicator.js +79 -0
- package/esm/ScrollIndicator/ScrollIndicator.tailwind.d.ts +5 -0
- package/esm/ScrollIndicator/ScrollIndicator.tailwind.js +50 -0
- package/esm/ScrollIndicator/index.d.ts +2 -0
- package/esm/ScrollIndicator/index.js +2 -0
- package/esm/Select/Select.d.ts +15 -0
- package/esm/Select/Select.js +37 -0
- package/esm/Select/Select.tailwind.d.ts +5 -0
- package/esm/Select/Select.tailwind.js +77 -0
- package/esm/Select/index.d.ts +2 -0
- package/esm/Select/index.js +2 -0
- package/esm/Separator/Separator.d.ts +9 -0
- package/esm/Separator/Separator.js +29 -0
- package/esm/Separator/Separator.tailwind.d.ts +5 -0
- package/esm/Separator/Separator.tailwind.js +53 -0
- package/esm/Separator/index.d.ts +2 -0
- package/esm/Separator/index.js +2 -0
- package/esm/Sidebar/Sidebar.d.ts +36 -0
- package/esm/Sidebar/Sidebar.js +54 -0
- package/esm/Sidebar/SidebarButtonLink.d.ts +20 -0
- package/esm/Sidebar/SidebarButtonLink.js +78 -0
- package/esm/Sidebar/SidebarContext.d.ts +9 -0
- package/esm/Sidebar/SidebarContext.js +9 -0
- package/esm/Sidebar/SidebarHeader.d.ts +7 -0
- package/esm/Sidebar/SidebarHeader.js +13 -0
- package/esm/Sidebar/SidebarHeading.d.ts +8 -0
- package/esm/Sidebar/SidebarHeading.js +18 -0
- package/esm/Sidebar/SidebarLink.d.ts +9 -0
- package/esm/Sidebar/SidebarLink.js +44 -0
- package/esm/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.d.ts +9 -0
- package/esm/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.js +30 -0
- package/esm/Sidebar/SidebarLinksGroup/SidebarGroupLink.d.ts +7 -0
- package/esm/Sidebar/SidebarLinksGroup/SidebarGroupLink.js +30 -0
- package/esm/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +24 -0
- package/esm/Sidebar/SidebarLinksGroup/SidebarLinksGroup.js +91 -0
- package/esm/Sidebar/SidebarLinksGroup/index.d.ts +2 -0
- package/esm/Sidebar/SidebarLinksGroup/index.js +2 -0
- package/esm/Sidebar/SidebarLinksGroup/types.d.ts +10 -0
- package/esm/Sidebar/SidebarLinksGroup/types.js +1 -0
- package/esm/Sidebar/SidebarNav.d.ts +11 -0
- package/esm/Sidebar/SidebarNav.js +29 -0
- package/esm/Sidebar/index.d.ts +9 -0
- package/esm/Sidebar/index.js +9 -0
- package/esm/Sidebar/types.d.ts +6 -0
- package/esm/Sidebar/types.js +1 -0
- package/esm/Switch/Switch.d.ts +14 -0
- package/esm/Switch/Switch.js +80 -0
- package/esm/Switch/Switch.tailwind.d.ts +5 -0
- package/esm/Switch/Switch.tailwind.js +24 -0
- package/esm/Switch/SwitchOption.d.ts +8 -0
- package/esm/Switch/SwitchOption.js +39 -0
- package/esm/Switch/index.d.ts +3 -0
- package/esm/Switch/index.js +3 -0
- package/esm/Switch/types.d.ts +7 -0
- package/esm/Switch/types.js +1 -0
- package/esm/Switch/utils.d.ts +6 -0
- package/esm/Switch/utils.js +11 -0
- package/esm/Tables/DataTable/DataTable.d.ts +69 -0
- package/esm/Tables/DataTable/DataTable.js +258 -0
- package/esm/Tables/DataTable/DataTable.tailwind.d.ts +5 -0
- package/esm/Tables/DataTable/DataTable.tailwind.js +22 -0
- package/esm/Tables/DataTable/components/Body.d.ts +15 -0
- package/esm/Tables/DataTable/components/Body.js +112 -0
- package/esm/Tables/DataTable/components/Footer.d.ts +8 -0
- package/esm/Tables/DataTable/components/Footer.js +53 -0
- package/esm/Tables/DataTable/components/Header.d.ts +10 -0
- package/esm/Tables/DataTable/components/Header.js +32 -0
- package/esm/Tables/DataTable/components/HeaderCell.d.ts +12 -0
- package/esm/Tables/DataTable/components/HeaderCell.js +52 -0
- package/esm/Tables/DataTable/components/Loader.d.ts +9 -0
- package/esm/Tables/DataTable/components/Loader.js +40 -0
- package/esm/Tables/DataTable/components/index.d.ts +5 -0
- package/esm/Tables/DataTable/components/index.js +5 -0
- package/esm/Tables/DataTable/index.d.ts +3 -0
- package/esm/Tables/DataTable/index.js +3 -0
- package/esm/Tables/DataTable/types.d.ts +63 -0
- package/esm/Tables/DataTable/types.js +1 -0
- package/esm/Tables/DataTable/utils.d.ts +4 -0
- package/esm/Tables/DataTable/utils.js +13 -0
- package/esm/Tables/Table/Table.d.ts +28 -0
- package/esm/Tables/Table/Table.js +54 -0
- package/esm/Tables/Table/Table.tailwind.d.ts +5 -0
- package/esm/Tables/Table/Table.tailwind.js +38 -0
- package/esm/Tables/Table/components/TableFooter.d.ts +8 -0
- package/esm/Tables/Table/components/TableFooter.js +19 -0
- package/esm/Tables/Table/index.d.ts +3 -0
- package/esm/Tables/Table/index.js +3 -0
- package/esm/Tables/index.d.ts +3 -0
- package/esm/Tables/index.js +3 -0
- package/esm/Tabs/ContentTabs.d.ts +4 -0
- package/esm/Tabs/ContentTabs.js +54 -0
- package/esm/Tabs/LinkTabs.d.ts +33 -0
- package/esm/Tabs/LinkTabs.js +68 -0
- package/esm/Tabs/Tabs.tailwind.d.ts +5 -0
- package/esm/Tabs/Tabs.tailwind.js +71 -0
- package/esm/Tabs/components/LinkTab.d.ts +9 -0
- package/esm/Tabs/components/LinkTab.js +78 -0
- package/esm/Tabs/index.d.ts +4 -0
- package/esm/Tabs/index.js +4 -0
- package/esm/Tabs/types.d.ts +34 -0
- package/esm/Tabs/types.js +1 -0
- package/esm/Tabs/utils.d.ts +2 -0
- package/esm/Tabs/utils.js +11 -0
- package/esm/Tag/Tag.d.ts +48 -0
- package/esm/Tag/Tag.js +133 -0
- package/esm/Tag/Tag.tailwind.d.ts +5 -0
- package/esm/Tag/Tag.tailwind.js +53 -0
- package/esm/Tag/index.d.ts +2 -0
- package/esm/Tag/index.js +2 -0
- package/esm/TextArea/TextArea.d.ts +5 -0
- package/esm/TextArea/TextArea.js +21 -0
- package/esm/TextArea/TextArea.tailwind.d.ts +5 -0
- package/esm/TextArea/TextArea.tailwind.js +43 -0
- package/esm/TextArea/index.d.ts +2 -0
- package/esm/TextArea/index.js +2 -0
- package/esm/TextWrap/TextWrap.d.ts +8 -0
- package/esm/TextWrap/TextWrap.js +47 -0
- package/esm/TextWrap/index.d.ts +2 -0
- package/esm/TextWrap/index.js +2 -0
- package/esm/Toggle/Toggle.d.ts +14 -0
- package/esm/Toggle/Toggle.js +69 -0
- package/esm/Toggle/Toggle.tailwind.d.ts +5 -0
- package/esm/Toggle/Toggle.tailwind.js +84 -0
- package/esm/Toggle/index.d.ts +2 -0
- package/esm/Toggle/index.js +2 -0
- package/esm/Tooltip/OverflowTooltipWrapper.d.ts +5 -0
- package/esm/Tooltip/OverflowTooltipWrapper.js +39 -0
- package/esm/Tooltip/Tooltip.d.ts +24 -0
- package/esm/Tooltip/Tooltip.js +45 -0
- package/esm/Tooltip/Tooltip.tailwind.d.ts +5 -0
- package/esm/Tooltip/Tooltip.tailwind.js +46 -0
- package/esm/Tooltip/TooltipWrapper.d.ts +14 -0
- package/esm/Tooltip/TooltipWrapper.js +74 -0
- package/esm/Tooltip/index.d.ts +4 -0
- package/esm/Tooltip/index.js +4 -0
- package/esm/Tooltip/types.d.ts +65 -0
- package/esm/Tooltip/types.js +1 -0
- package/esm/Tooltip/utils.d.ts +1 -0
- package/esm/Tooltip/utils.js +3 -0
- package/esm/Typography/Typography.tailwind.d.ts +5 -0
- package/esm/Typography/Typography.tailwind.js +169 -0
- package/esm/UserContent/UserContent.d.ts +9 -0
- package/esm/UserContent/UserContent.js +19 -0
- package/esm/UserContent/UserContent.tailwind.d.ts +5 -0
- package/esm/UserContent/UserContent.tailwind.js +141 -0
- package/esm/index.d.ts +49 -0
- package/esm/index.js +49 -0
- package/esm/styles/base.tailwind.d.ts +5 -0
- package/esm/styles/base.tailwind.js +45 -0
- package/esm/styles/brandColors.d.ts +42 -0
- package/esm/styles/brandColors.js +46 -0
- package/esm/styles/colors.d.ts +110 -0
- package/esm/styles/colors.js +114 -0
- package/esm/styles/disabledColor.d.ts +6 -0
- package/esm/styles/disabledColor.js +14 -0
- package/esm/styles/helpers/icons.d.ts +15 -0
- package/esm/styles/helpers/icons.js +40 -0
- package/esm/styles/helpers/makePurgeCssExtractor.d.ts +7 -0
- package/esm/styles/helpers/makePurgeCssExtractor.js +49 -0
- package/esm/styles/helpers/makeTailwindPrefixer.d.ts +6 -0
- package/esm/styles/helpers/makeTailwindPrefixer.js +34 -0
- package/esm/styles/helpers/prefixTailwindClassName.d.ts +7 -0
- package/esm/styles/helpers/prefixTailwindClassName.js +26 -0
- package/esm/styles/helpers/satellitePrefixer.d.ts +3 -0
- package/esm/styles/helpers/satellitePrefixer.js +7 -0
- package/esm/styles/rgba.d.ts +8 -0
- package/esm/styles/rgba.js +14 -0
- package/esm/styles/tailwind.config.d.ts +2 -0
- package/esm/styles/tailwind.config.js +147 -0
- package/esm/styles/zIndexes.d.ts +8 -0
- package/esm/styles/zIndexes.js +13 -0
- package/esm/types.d.ts +27 -0
- package/esm/types.js +1 -0
- package/esm/utilities/overlay.tailwind.d.ts +5 -0
- package/esm/utilities/overlay.tailwind.js +106 -0
- package/esm/utilities/utilities.tailwind.d.ts +5 -0
- package/esm/utilities/utilities.tailwind.js +25 -0
- package/esm/utils/NumberUnion.d.ts +5 -0
- package/esm/utils/NumberUnion.js +1 -0
- package/esm/utils/clamp.d.ts +1 -0
- package/esm/utils/clamp.js +3 -0
- package/esm/utils/event-polyfill.d.ts +0 -0
- package/esm/utils/event-polyfill.js +23 -0
- package/esm/utils/formatters.d.ts +25 -0
- package/esm/utils/formatters.js +36 -0
- package/esm/utils/genericChangeHandler.d.ts +5 -0
- package/esm/utils/genericChangeHandler.js +18 -0
- package/esm/utils/hashCode.d.ts +2 -0
- package/esm/utils/hashCode.js +15 -0
- package/esm/utils/index.d.ts +7 -0
- package/{utils/index.d.ts → esm/utils/index.js} +2 -2
- package/esm/utils/isCssPropertySupported.d.ts +2 -0
- package/esm/utils/isCssPropertySupported.js +9 -0
- package/esm/utils/isNil.d.ts +19 -0
- package/esm/utils/isNil.js +21 -0
- package/esm/utils/isReactText.d.ts +2 -0
- package/esm/utils/isReactText.js +3 -0
- package/esm/utils/isRenderedChild.d.ts +8 -0
- package/esm/utils/isRenderedChild.js +9 -0
- package/esm/utils/matchLocation.d.ts +3 -0
- package/esm/utils/matchLocation.js +5 -0
- package/esm/utils/onlyText.d.ts +3 -0
- package/esm/utils/onlyText.js +33 -0
- package/esm/utils/parseUrl.d.ts +11 -0
- package/esm/utils/parseUrl.js +15 -0
- package/esm/utils/pluralize.d.ts +6 -0
- package/esm/utils/pluralize.js +16 -0
- package/esm/utils/prefersReducedMotion.d.ts +6 -0
- package/esm/utils/prefersReducedMotion.js +7 -0
- package/esm/utils/range.d.ts +2 -0
- package/esm/utils/range.js +7 -0
- package/esm/utils/toSentenceCase.d.ts +3 -0
- package/esm/utils/toSentenceCase.js +9 -0
- package/esm/utils/uniqBy.d.ts +2 -0
- package/esm/utils/uniqBy.js +13 -0
- package/esm/utils/uniqueId.d.ts +2 -0
- package/esm/utils/uniqueId.js +7 -0
- package/esm/utils/useForwardedRef.d.ts +3 -0
- package/esm/utils/useForwardedRef.js +17 -0
- package/esm/utils/useLinkProps.d.ts +7 -0
- package/esm/utils/useLinkProps.js +46 -0
- package/esm/utils/useTriggerInputChange.d.ts +8 -0
- package/esm/utils/useTriggerInputChange.js +21 -0
- package/package.json +89 -49
- package/satellite.min.css +3 -0
- package/scss/colors.scss +139 -0
- package/scss/variables.scss +8 -0
- package/components/Alert/Alert.d.ts +0 -9
- package/components/Alert/Alert.js +0 -49
- package/components/Alert/index.js +0 -27
- package/components/AutoComplete/AutoComplete.d.ts +0 -66
- package/components/AutoComplete/AutoComplete.js +0 -512
- package/components/AutoComplete/index.d.ts +0 -2
- package/components/AutoComplete/index.js +0 -27
- package/components/AutoComplete/types.d.ts +0 -21
- package/components/AutoComplete/types.js +0 -1
- package/components/AutoComplete/utils.d.ts +0 -3
- package/components/AutoComplete/utils.js +0 -35
- package/components/Button/Button.d.ts +0 -13
- package/components/Button/Button.js +0 -59
- package/components/Button/LinkButton.d.ts +0 -9
- package/components/Button/LinkButton.js +0 -52
- package/components/Button/index.d.ts +0 -3
- package/components/Button/index.js +0 -40
- package/components/Card/Card.d.ts +0 -13
- package/components/Card/Card.js +0 -71
- package/components/Card/components/CardHeader.d.ts +0 -3
- package/components/Card/components/CardHeader.js +0 -25
- package/components/Card/components/CardTitle.d.ts +0 -7
- package/components/Card/components/CardTitle.js +0 -30
- package/components/Card/index.d.ts +0 -3
- package/components/Card/index.js +0 -19
- package/components/Checkbox/Checkbox.d.ts +0 -5
- package/components/Checkbox/Checkbox.js +0 -66
- package/components/Checkbox/index.js +0 -27
- package/components/Chip/Chip.d.ts +0 -9
- package/components/Chip/Chip.js +0 -77
- package/components/Chip/index.d.ts +0 -2
- package/components/Chip/index.js +0 -21
- package/components/Dropdown/Dropdown.d.ts +0 -27
- package/components/Dropdown/Dropdown.js +0 -163
- package/components/Dropdown/DropdownButton.d.ts +0 -12
- package/components/Dropdown/DropdownButton.js +0 -117
- package/components/Dropdown/components/DropdownDivider.d.ts +0 -6
- package/components/Dropdown/components/DropdownDivider.js +0 -24
- package/components/Dropdown/components/DropdownItem.d.ts +0 -10
- package/components/Dropdown/components/DropdownItem.js +0 -46
- package/components/Dropdown/components/DropdownTitle.d.ts +0 -4
- package/components/Dropdown/components/DropdownTitle.js +0 -34
- package/components/Dropdown/index.d.ts +0 -3
- package/components/Dropdown/index.js +0 -29
- package/components/HelpUnderline/HelpUnderline.d.ts +0 -10
- package/components/HelpUnderline/HelpUnderline.js +0 -39
- package/components/HelpUnderline/index.js +0 -27
- package/components/Input/Input.d.ts +0 -25
- package/components/Input/Input.js +0 -134
- package/components/LoaderIcon/LoaderIcon.d.ts +0 -7
- package/components/LoaderIcon/LoaderIcon.js +0 -65
- package/components/LoaderIcon/index.d.ts +0 -2
- package/components/LoaderIcon/index.js +0 -27
- package/components/MaterialIcon/MaterialIcon.d.ts +0 -12
- package/components/MaterialIcon/MaterialIcon.js +0 -48
- package/components/MaterialIcon/index.d.ts +0 -2
- package/components/MaterialIcon/index.js +0 -27
- package/components/Modal/Modal.d.ts +0 -30
- package/components/Modal/Modal.js +0 -207
- package/components/Modal/components/ModalFooter.d.ts +0 -4
- package/components/Modal/components/ModalFooter.js +0 -34
- package/components/Modal/components/ModalSection.d.ts +0 -6
- package/components/Modal/components/ModalSection.js +0 -38
- package/components/Modal/index.d.ts +0 -2
- package/components/Modal/index.js +0 -21
- package/components/Pagination/Pagination.d.ts +0 -12
- package/components/Pagination/Pagination.js +0 -131
- package/components/Pagination/index.js +0 -27
- package/components/RadioGroup/RadioButton.d.ts +0 -4
- package/components/RadioGroup/RadioButton.js +0 -35
- package/components/RadioGroup/RadioGroup.d.ts +0 -20
- package/components/RadioGroup/RadioGroup.js +0 -140
- package/components/RadioGroup/index.d.ts +0 -3
- package/components/RadioGroup/index.js +0 -29
- package/components/ScrollIndicator/ScrollIndicator.d.ts +0 -24
- package/components/ScrollIndicator/ScrollIndicator.js +0 -165
- package/components/ScrollIndicator/index.d.ts +0 -2
- package/components/ScrollIndicator/index.js +0 -21
- package/components/Select/Select.d.ts +0 -6
- package/components/Select/Select.js +0 -40
- package/components/Select/index.js +0 -27
- package/components/Table/Table.d.ts +0 -6
- package/components/Table/Table.js +0 -36
- package/components/Table/index.d.ts +0 -3
- package/components/Table/index.js +0 -19
- package/components/TextArea/TextArea.d.ts +0 -5
- package/components/TextArea/TextArea.js +0 -34
- package/components/TextArea/index.js +0 -27
- package/components/Tooltip/Tooltip.d.ts +0 -5
- package/components/Tooltip/Tooltip.js +0 -29
- package/components/Tooltip/TooltipWrapper.d.ts +0 -32
- package/components/Tooltip/TooltipWrapper.js +0 -164
- package/components/Tooltip/index.js +0 -40
- package/index.d.ts +0 -19
- package/index.js +0 -173
- package/nothing-to-see-here.gif +0 -0
- package/satellite.css +0 -32
- package/satellite.css.map +0 -1
- package/styles/_colors.scss +0 -147
- package/styles/_mixins.scss +0 -72
- package/styles/_variables.scss +0 -71
- package/utils/clamp.d.ts +0 -2
- package/utils/clamp.js +0 -20
- package/utils/genericChangeHandler.d.ts +0 -5
- package/utils/omit.d.ts +0 -2
- package/utils/omit.js +0 -25
- /package/{components → cjs/Banners}/Alert/index.d.ts +0 -0
- /package/{components → cjs}/Checkbox/index.d.ts +0 -0
- /package/{components → cjs}/HelpUnderline/index.d.ts +0 -0
- /package/{components → cjs}/Input/index.d.ts +0 -0
- /package/{components → cjs/Pagination}/Pagination/index.d.ts +0 -0
- /package/{components → cjs}/Select/index.d.ts +0 -0
- /package/{components → cjs}/TextArea/index.d.ts +0 -0
- /package/{utils → cjs/utils}/pluralize.d.ts +0 -0
- /package/{utils → cjs/utils}/range.d.ts +0 -0
- /package/{utils → cjs/utils}/uniqBy.d.ts +0 -0
- /package/{utils → cjs/utils}/uniqueId.d.ts +0 -0
@@ -1,134 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
4
|
-
|
5
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
6
|
-
|
7
|
-
Object.defineProperty(exports, "__esModule", {
|
8
|
-
value: true
|
9
|
-
});
|
10
|
-
exports["default"] = exports.Input = void 0;
|
11
|
-
|
12
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
13
|
-
|
14
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
15
|
-
|
16
|
-
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
17
|
-
|
18
|
-
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
19
|
-
|
20
|
-
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
21
|
-
|
22
|
-
var _getPrototypeOf3 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
23
|
-
|
24
|
-
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
25
|
-
|
26
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
27
|
-
|
28
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
29
|
-
|
30
|
-
var React = _interopRequireWildcard(require("react"));
|
31
|
-
|
32
|
-
var _classnames2 = _interopRequireDefault(require("classnames"));
|
33
|
-
|
34
|
-
var styles = {
|
35
|
-
"container": "stl-Input_container",
|
36
|
-
"small": "stl-Input_small",
|
37
|
-
"medium": "stl-Input_medium",
|
38
|
-
"withIcon": "stl-Input_withIcon",
|
39
|
-
"focused": "stl-Input_focused",
|
40
|
-
"disabled": "stl-Input_disabled",
|
41
|
-
"danger": "stl-Input_danger",
|
42
|
-
"input": "stl-Input_input",
|
43
|
-
"icon": "stl-Input_icon",
|
44
|
-
"large": "stl-Input_large"
|
45
|
-
};
|
46
|
-
|
47
|
-
var Input =
|
48
|
-
/*#__PURE__*/
|
49
|
-
function (_React$PureComponent) {
|
50
|
-
(0, _inherits2["default"])(Input, _React$PureComponent);
|
51
|
-
|
52
|
-
function Input() {
|
53
|
-
var _getPrototypeOf2;
|
54
|
-
|
55
|
-
var _this;
|
56
|
-
|
57
|
-
(0, _classCallCheck2["default"])(this, Input);
|
58
|
-
|
59
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
60
|
-
args[_key] = arguments[_key];
|
61
|
-
}
|
62
|
-
|
63
|
-
_this = (0, _possibleConstructorReturn2["default"])(this, (_getPrototypeOf2 = (0, _getPrototypeOf3["default"])(Input)).call.apply(_getPrototypeOf2, [this].concat(args)));
|
64
|
-
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "inputElement", void 0);
|
65
|
-
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "state", {
|
66
|
-
focused: false
|
67
|
-
});
|
68
|
-
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "handleFocus", function (evt) {
|
69
|
-
_this.setState({
|
70
|
-
focused: true
|
71
|
-
});
|
72
|
-
|
73
|
-
if (_this.props.onFocus) _this.props.onFocus(evt);
|
74
|
-
});
|
75
|
-
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "handleBlur", function (evt) {
|
76
|
-
_this.setState({
|
77
|
-
focused: false
|
78
|
-
});
|
79
|
-
|
80
|
-
if (_this.props.onBlur) _this.props.onBlur(evt);
|
81
|
-
});
|
82
|
-
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "handleInputRef", function (el) {
|
83
|
-
_this.inputElement = el;
|
84
|
-
if (_this.props.innerRef) _this.props.innerRef(el);
|
85
|
-
});
|
86
|
-
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "focusInput", function () {
|
87
|
-
_this.inputElement.focus();
|
88
|
-
});
|
89
|
-
return _this;
|
90
|
-
}
|
91
|
-
|
92
|
-
(0, _createClass2["default"])(Input, [{
|
93
|
-
key: "render",
|
94
|
-
value: function render() {
|
95
|
-
var _classnames;
|
96
|
-
|
97
|
-
var _this$props = this.props,
|
98
|
-
className = _this$props.className,
|
99
|
-
style = _this$props.style,
|
100
|
-
icon = _this$props.icon,
|
101
|
-
_this$props$kind = _this$props.kind,
|
102
|
-
kind = _this$props$kind === void 0 ? "large" : _this$props$kind,
|
103
|
-
rightItem = _this$props.rightItem,
|
104
|
-
disabled = _this$props.disabled,
|
105
|
-
status = _this$props.status,
|
106
|
-
innerRef = _this$props.innerRef,
|
107
|
-
inputProps = (0, _objectWithoutProperties2["default"])(_this$props, ["className", "style", "icon", "kind", "rightItem", "disabled", "status", "innerRef"]);
|
108
|
-
var focused = this.state.focused;
|
109
|
-
return React.createElement("div", {
|
110
|
-
className: (0, _classnames2["default"])(styles.container, (_classnames = {}, (0, _defineProperty2["default"])(_classnames, styles[kind], !!kind), (0, _defineProperty2["default"])(_classnames, styles.focused, focused), (0, _defineProperty2["default"])(_classnames, styles.disabled, disabled), (0, _defineProperty2["default"])(_classnames, styles.withIcon, !!icon), (0, _defineProperty2["default"])(_classnames, styles.danger, status === "danger"), _classnames), className),
|
111
|
-
style: style,
|
112
|
-
onClick: this.focusInput
|
113
|
-
}, icon && React.createElement("div", {
|
114
|
-
className: (0, _classnames2["default"])(styles.icon, kind && styles[kind])
|
115
|
-
}, icon), React.createElement("input", (0, _extends2["default"])({
|
116
|
-
className: styles.input,
|
117
|
-
ref: this.handleInputRef,
|
118
|
-
disabled: disabled,
|
119
|
-
onFocus: this.handleFocus,
|
120
|
-
onBlur: this.handleBlur
|
121
|
-
}, inputProps)), rightItem);
|
122
|
-
}
|
123
|
-
}]);
|
124
|
-
return Input;
|
125
|
-
}(React.PureComponent);
|
126
|
-
|
127
|
-
exports.Input = Input;
|
128
|
-
(0, _defineProperty2["default"])(Input, "defaultProps", {
|
129
|
-
kind: "large",
|
130
|
-
type: "text",
|
131
|
-
status: "default"
|
132
|
-
});
|
133
|
-
var _default = Input;
|
134
|
-
exports["default"] = _default;
|
@@ -1,65 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
-
|
5
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
6
|
-
|
7
|
-
Object.defineProperty(exports, "__esModule", {
|
8
|
-
value: true
|
9
|
-
});
|
10
|
-
exports["default"] = exports.LoaderIcon = void 0;
|
11
|
-
|
12
|
-
var React = _interopRequireWildcard(require("react"));
|
13
|
-
|
14
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
15
|
-
|
16
|
-
var AnimatedLoaderSvg = function AnimatedLoaderSvg(props) {
|
17
|
-
return React.createElement("svg", props, React.createElement("g", {
|
18
|
-
transform: "translate(1 1)",
|
19
|
-
strokeWidth: "2",
|
20
|
-
fill: "none",
|
21
|
-
fillRule: "evenodd"
|
22
|
-
}, React.createElement("circle", {
|
23
|
-
strokeOpacity: ".5",
|
24
|
-
cx: "18",
|
25
|
-
cy: "18",
|
26
|
-
r: "18"
|
27
|
-
}), React.createElement("path", {
|
28
|
-
d: "M36 18c0-9.94-8.06-18-18-18"
|
29
|
-
}, React.createElement("animateTransform", {
|
30
|
-
attributeName: "transform",
|
31
|
-
type: "rotate",
|
32
|
-
from: "0 18 18",
|
33
|
-
to: "360 18 18",
|
34
|
-
dur: "1s",
|
35
|
-
repeatCount: "indefinite"
|
36
|
-
}))));
|
37
|
-
};
|
38
|
-
|
39
|
-
AnimatedLoaderSvg.defaultProps = {
|
40
|
-
width: "38",
|
41
|
-
height: "38",
|
42
|
-
viewBox: "0 0 38 38",
|
43
|
-
xmlns: "http://www.w3.org/2000/svg",
|
44
|
-
stroke: "#fff"
|
45
|
-
};
|
46
|
-
var styles = {
|
47
|
-
"icon": "stl-LoaderIcon_icon"
|
48
|
-
};
|
49
|
-
|
50
|
-
var LoaderIcon = function LoaderIcon(_ref) {
|
51
|
-
var className = _ref.className,
|
52
|
-
size = _ref.size;
|
53
|
-
var style = size ? {
|
54
|
-
width: size,
|
55
|
-
height: size
|
56
|
-
} : undefined;
|
57
|
-
return React.createElement(AnimatedLoaderSvg, {
|
58
|
-
className: (0, _classnames["default"])(styles.icon, className),
|
59
|
-
style: style
|
60
|
-
});
|
61
|
-
};
|
62
|
-
|
63
|
-
exports.LoaderIcon = LoaderIcon;
|
64
|
-
var _default = LoaderIcon;
|
65
|
-
exports["default"] = _default;
|
@@ -1,27 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
4
|
-
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
6
|
-
value: true
|
7
|
-
});
|
8
|
-
var _exportNames = {};
|
9
|
-
Object.defineProperty(exports, "default", {
|
10
|
-
enumerable: true,
|
11
|
-
get: function get() {
|
12
|
-
return _LoaderIcon["default"];
|
13
|
-
}
|
14
|
-
});
|
15
|
-
|
16
|
-
var _LoaderIcon = _interopRequireWildcard(require("./LoaderIcon"));
|
17
|
-
|
18
|
-
Object.keys(_LoaderIcon).forEach(function (key) {
|
19
|
-
if (key === "default" || key === "__esModule") return;
|
20
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
21
|
-
Object.defineProperty(exports, key, {
|
22
|
-
enumerable: true,
|
23
|
-
get: function get() {
|
24
|
-
return _LoaderIcon[key];
|
25
|
-
}
|
26
|
-
});
|
27
|
-
});
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import * as React from "react";
|
2
|
-
/**
|
3
|
-
* Go on material icons website https://material.io/tools/icons/?icon=fiber_manual_record&style=baseline
|
4
|
-
* run copy(Array.from(document.querySelectorAll('.icon-item-container i[class^=baseline-]')).map(el => `"${el.classList.item(0).replace('baseline-', '')}"`).join(' | '))
|
5
|
-
*/
|
6
|
-
export declare type IconName = "3d_rotation" | "accessibility" | "accessibility_new" | "accessible" | "accessible_forward" | "account_balance" | "account_balance_wallet" | "account_box" | "account_circle" | "add_shopping_cart" | "alarm" | "alarm_add" | "alarm_off" | "alarm_on" | "all_inbox" | "all_out" | "android" | "announcement" | "arrow_right_alt" | "aspect_ratio" | "assessment" | "assignment" | "assignment_ind" | "assignment_late" | "assignment_return" | "assignment_returned" | "assignment_turned_in" | "autorenew" | "backup" | "book" | "bookmark" | "bookmark_border" | "bookmarks" | "bug_report" | "build" | "cached" | "calendar_today" | "calendar_view_day" | "camera_enhance" | "card_giftcard" | "card_membership" | "card_travel" | "change_history" | "check_circle" | "check_circle_outline" | "chrome_reader_mode" | "class" | "code" | "commute" | "compare_arrows" | "contact_support" | "copyright" | "credit_card" | "dashboard" | "date_range" | "delete" | "delete_forever" | "delete_outline" | "description" | "dns" | "done" | "done_all" | "done_outline" | "donut_large" | "donut_small" | "drag_indicator" | "eject" | "euro_symbol" | "event" | "event_seat" | "exit_to_app" | "explore" | "explore_off" | "extension" | "face" | "favorite" | "favorite_border" | "feedback" | "find_in_page" | "find_replace" | "fingerprint" | "flight_land" | "flight_takeoff" | "flip_to_back" | "flip_to_front" | "g_translate" | "gavel" | "get_app" | "gif" | "grade" | "group_work" | "help" | "help_outline" | "highlight_off" | "history" | "home" | "horizontal_split" | "hourglass_empty" | "hourglass_full" | "http" | "https" | "important_devices" | "info" | "input" | "invert_colors" | "label" | "label_important" | "label_off" | "language" | "launch" | "line_style" | "line_weight" | "list" | "lock" | "lock_open" | "loyalty" | "markunread_mailbox" | "maximize" | "minimize" | "motorcycle" | "note_add" | "offline_bolt" | "offline_pin" | "opacity" | "open_in_browser" | "open_in_new" | "open_with" | "pageview" | "pan_tool" | "payment" | "perm_camera_mic" | "perm_contact_calendar" | "perm_data_setting" | "perm_device_information" | "perm_identity" | "perm_media" | "perm_phone_msg" | "perm_scan_wifi" | "pets" | "picture_in_picture" | "picture_in_picture_alt" | "play_for_work" | "polymer" | "power_settings_new" | "pregnant_woman" | "print" | "query_builder" | "question_answer" | "receipt" | "record_voice_over" | "redeem" | "remove_shopping_cart" | "reorder" | "report_problem" | "restore" | "restore_from_trash" | "restore_page" | "room" | "rounded_corner" | "rowing" | "schedule" | "search" | "settings" | "settings_applications" | "settings_backup_restore" | "settings_bluetooth" | "settings_brightness" | "settings_cell" | "settings_ethernet" | "settings_input_antenna" | "settings_input_component" | "settings_input_composite" | "settings_input_hdmi" | "settings_input_svideo" | "settings_overscan" | "settings_phone" | "settings_power" | "settings_remote" | "settings_voice" | "shop" | "shop_two" | "shopping_basket" | "shopping_cart" | "speaker_notes" | "speaker_notes_off" | "spellcheck" | "star_rate" | "stars" | "store" | "subject" | "supervised_user_circle" | "supervisor_account" | "swap_horiz" | "swap_horizontal_circle" | "swap_vert" | "swap_vertical_circle" | "tab" | "tab_unselected" | "text_rotate_up" | "text_rotate_vertical" | "text_rotation_down" | "text_rotation_none" | "theaters" | "thumb_down" | "thumb_up" | "thumbs_up_down" | "timeline" | "toc" | "today" | "toll" | "touch_app" | "track_changes" | "translate" | "trending_down" | "trending_flat" | "trending_up" | "turned_in" | "turned_in_not" | "update" | "verified_user" | "vertical_split" | "view_agenda" | "view_array" | "view_carousel" | "view_column" | "view_day" | "view_headline" | "view_list" | "view_module" | "view_quilt" | "view_stream" | "view_week" | "visibility" | "visibility_off" | "voice_over_off" | "watch_later" | "work" | "work_off" | "work_outline" | "youtube_searched_for" | "zoom_in" | "zoom_out" | "add_alert" | "error" | "error_outline" | "notification_important" | "warning" | "4k" | "add_to_queue" | "airplay" | "album" | "art_track" | "av_timer" | "branding_watermark" | "call_to_action" | "closed_caption" | "control_camera" | "equalizer" | "explicit" | "fast_forward" | "fast_rewind" | "featured_play_list" | "featured_video" | "fiber_dvr" | "fiber_manual_record" | "fiber_new" | "fiber_pin" | "fiber_smart_record" | "forward_10" | "forward_30" | "forward_5" | "games" | "hd" | "hearing" | "high_quality" | "library_add" | "library_books" | "library_music" | "loop" | "mic" | "mic_none" | "mic_off" | "missed_video_call" | "movie" | "music_video" | "new_releases" | "not_interested" | "note" | "pause" | "pause_circle_filled" | "pause_circle_outline" | "play_arrow" | "play_circle_filled" | "play_circle_filled_white" | "play_circle_outline" | "playlist_add" | "playlist_add_check" | "playlist_play" | "queue" | "queue_music" | "queue_play_next" | "radio" | "recent_actors" | "remove_from_queue" | "repeat" | "repeat_one" | "replay" | "replay_10" | "replay_30" | "replay_5" | "shuffle" | "skip_next" | "skip_previous" | "slow_motion_video" | "snooze" | "sort_by_alpha" | "stop" | "subscriptions" | "subtitles" | "surround_sound" | "video_call" | "video_label" | "video_library" | "videocam" | "videocam_off" | "volume_down" | "volume_mute" | "volume_off" | "volume_up" | "web" | "web_asset" | "alternate_email" | "business" | "call" | "call_end" | "call_made" | "call_merge" | "call_missed" | "call_missed_outgoing" | "call_received" | "call_split" | "cancel_presentation" | "cell_wifi" | "chat" | "chat_bubble" | "chat_bubble_outline" | "clear_all" | "comment" | "contact_mail" | "contact_phone" | "contacts" | "desktop_access_disabled" | "dialer_sip" | "dialpad" | "domain_disabled" | "duo" | "email" | "forum" | "import_contacts" | "import_export" | "invert_colors_off" | "list_alt" | "live_help" | "location_off" | "location_on" | "mail_outline" | "message" | "mobile_screen_share" | "no_sim" | "pause_presentation" | "person_add_disabled" | "phone" | "phonelink_erase" | "phonelink_lock" | "phonelink_ring" | "phonelink_setup" | "portable_wifi_off" | "present_to_all" | "print_disabled" | "ring_volume" | "rss_feed" | "screen_share" | "sentiment_satisfied_alt" | "speaker_phone" | "stay_current_landscape" | "stay_current_portrait" | "stay_primary_landscape" | "stay_primary_portrait" | "stop_screen_share" | "swap_calls" | "textsms" | "unsubscribe" | "voicemail" | "vpn_key" | "add" | "add_box" | "add_circle" | "add_circle_outline" | "archive" | "backspace" | "ballot" | "block" | "clear" | "create" | "delete_sweep" | "drafts" | "file_copy" | "filter_list" | "flag" | "font_download" | "forward" | "gesture" | "how_to_reg" | "how_to_vote" | "inbox" | "link" | "link_off" | "low_priority" | "mail" | "markunread" | "move_to_inbox" | "next_week" | "outlined_flag" | "redo" | "remove" | "remove_circle" | "remove_circle_outline" | "reply" | "reply_all" | "report" | "report_off" | "save" | "save_alt" | "select_all" | "send" | "sort" | "text_format" | "unarchive" | "undo" | "waves" | "weekend" | "where_to_vote" | "access_alarm" | "access_alarms" | "access_time" | "add_alarm" | "add_to_home_screen" | "airplanemode_active" | "airplanemode_inactive" | "battery_20" | "battery_30" | "battery_50" | "battery_60" | "battery_80" | "battery_90" | "battery_alert" | "battery_charging_20" | "battery_charging_30" | "battery_charging_50" | "battery_charging_60" | "battery_charging_80" | "battery_charging_90" | "battery_charging_full" | "battery_full" | "battery_std" | "battery_unknown" | "bluetooth" | "bluetooth_connected" | "bluetooth_disabled" | "bluetooth_searching" | "brightness_auto" | "brightness_high" | "brightness_low" | "brightness_medium" | "data_usage" | "developer_mode" | "devices" | "dvr" | "gps_fixed" | "gps_not_fixed" | "gps_off" | "graphic_eq" | "location_disabled" | "location_searching" | "mobile_friendly" | "mobile_off" | "network_cell" | "network_wifi" | "nfc" | "screen_lock_landscape" | "screen_lock_portrait" | "screen_lock_rotation" | "screen_rotation" | "sd_storage" | "settings_system_daydream" | "signal_cellular_0_bar" | "signal_cellular_1_bar" | "signal_cellular_2_bar" | "signal_cellular_3_bar" | "signal_cellular_4_bar" | "signal_cellular_alt" | "signal_cellular_connected_no_internet_0_bar" | "signal_cellular_connected_no_internet_1_bar" | "signal_cellular_connected_no_internet_2_bar" | "signal_cellular_connected_no_internet_3_bar" | "signal_cellular_connected_no_internet_4_bar" | "signal_cellular_no_sim" | "signal_cellular_null" | "signal_cellular_off" | "signal_wifi_0_bar" | "signal_wifi_1_bar" | "signal_wifi_1_bar_lock" | "signal_wifi_2_bar" | "signal_wifi_2_bar_lock" | "signal_wifi_3_bar" | "signal_wifi_3_bar_lock" | "signal_wifi_4_bar" | "signal_wifi_4_bar_lock" | "signal_wifi_off" | "storage" | "usb" | "wallpaper" | "widgets" | "wifi_lock" | "wifi_tethering" | "add_comment" | "attach_file" | "attach_money" | "bar_chart" | "border_all" | "border_bottom" | "border_clear" | "border_color" | "border_horizontal" | "border_inner" | "border_left" | "border_outer" | "border_right" | "border_style" | "border_top" | "border_vertical" | "bubble_chart" | "drag_handle" | "format_align_center" | "format_align_justify" | "format_align_left" | "format_align_right" | "format_bold" | "format_clear" | "format_color_fill" | "format_color_reset" | "format_color_text" | "format_indent_decrease" | "format_indent_increase" | "format_italic" | "format_line_spacing" | "format_list_bulleted" | "format_list_numbered" | "format_list_numbered_rtl" | "format_paint" | "format_quote" | "format_shapes" | "format_size" | "format_strikethrough" | "format_textdirection_l_to_r" | "format_textdirection_r_to_l" | "format_underlined" | "functions" | "highlight" | "insert_chart" | "insert_chart_outlined" | "insert_comment" | "insert_drive_file" | "insert_emoticon" | "insert_invitation" | "insert_link" | "insert_photo" | "linear_scale" | "merge_type" | "mode_comment" | "monetization_on" | "money_off" | "multiline_chart" | "notes" | "pie_chart" | "publish" | "scatter_plot" | "score" | "short_text" | "show_chart" | "space_bar" | "strikethrough_s" | "table_chart" | "text_fields" | "title" | "vertical_align_bottom" | "vertical_align_center" | "vertical_align_top" | "wrap_text" | "attachment" | "cloud" | "cloud_circle" | "cloud_done" | "cloud_download" | "cloud_off" | "cloud_queue" | "cloud_upload" | "create_new_folder" | "folder" | "folder_open" | "folder_shared" | "cast" | "cast_connected" | "cast_for_education" | "computer" | "desktop_mac" | "desktop_windows" | "developer_board" | "device_hub" | "device_unknown" | "devices_other" | "dock" | "gamepad" | "headset" | "headset_mic" | "keyboard" | "keyboard_arrow_down" | "keyboard_arrow_left" | "keyboard_arrow_right" | "keyboard_arrow_up" | "keyboard_backspace" | "keyboard_capslock" | "keyboard_hide" | "keyboard_return" | "keyboard_tab" | "keyboard_voice" | "laptop" | "laptop_chromebook" | "laptop_mac" | "laptop_windows" | "memory" | "mouse" | "phone_android" | "phone_iphone" | "phonelink" | "phonelink_off" | "power_input" | "router" | "scanner" | "security" | "sim_card" | "smartphone" | "speaker" | "speaker_group" | "tablet" | "tablet_android" | "tablet_mac" | "toys" | "tv" | "videogame_asset" | "watch" | "add_a_photo" | "add_photo_alternate" | "add_to_photos" | "adjust" | "assistant" | "assistant_photo" | "audiotrack" | "blur_circular" | "blur_linear" | "blur_off" | "blur_on" | "brightness_1" | "brightness_2" | "brightness_3" | "brightness_4" | "brightness_5" | "brightness_6" | "brightness_7" | "broken_image" | "brush" | "burst_mode" | "camera" | "camera_alt" | "camera_front" | "camera_rear" | "camera_roll" | "center_focus_strong" | "center_focus_weak" | "collections" | "collections_bookmark" | "color_lens" | "colorize" | "compare" | "control_point" | "control_point_duplicate" | "crop" | "crop_16_9" | "crop_3_2" | "crop_5_4" | "crop_7_5" | "crop_din" | "crop_free" | "crop_landscape" | "crop_original" | "crop_portrait" | "crop_rotate" | "crop_square" | "dehaze" | "details" | "edit" | "exposure" | "exposure_neg_1" | "exposure_neg_2" | "exposure_plus_1" | "exposure_plus_2" | "exposure_zero" | "filter" | "filter_1" | "filter_2" | "filter_3" | "filter_4" | "filter_5" | "filter_6" | "filter_7" | "filter_8" | "filter_9" | "filter_9_plus" | "filter_b_and_w" | "filter_center_focus" | "filter_drama" | "filter_frames" | "filter_hdr" | "filter_none" | "filter_tilt_shift" | "filter_vintage" | "flare" | "flash_auto" | "flash_off" | "flash_on" | "flip" | "gradient" | "grain" | "grid_off" | "grid_on" | "hdr_off" | "hdr_on" | "hdr_strong" | "hdr_weak" | "healing" | "image" | "image_aspect_ratio" | "image_search" | "iso" | "landscape" | "leak_add" | "leak_remove" | "lens" | "linked_camera" | "looks" | "looks_3" | "looks_4" | "looks_5" | "looks_6" | "looks_one" | "looks_two" | "loupe" | "monochrome_photos" | "movie_creation" | "movie_filter" | "music_note" | "music_off" | "nature" | "nature_people" | "navigate_before" | "navigate_next" | "palette" | "panorama" | "panorama_fish_eye" | "panorama_horizontal" | "panorama_vertical" | "panorama_wide_angle" | "photo" | "photo_album" | "photo_camera" | "photo_filter" | "photo_library" | "photo_size_select_actual" | "photo_size_select_large" | "photo_size_select_small" | "picture_as_pdf" | "portrait" | "remove_red_eye" | "rotate_90_degrees_ccw" | "rotate_left" | "rotate_right" | "shutter_speed" | "slideshow" | "straighten" | "style" | "switch_camera" | "switch_video" | "tag_faces" | "texture" | "timelapse" | "timer" | "timer_10" | "timer_3" | "timer_off" | "tonality" | "transform" | "tune" | "view_comfy" | "view_compact" | "vignette" | "wb_auto" | "wb_cloudy" | "wb_incandescent" | "wb_iridescent" | "wb_sunny" | "360" | "add_location" | "atm" | "beenhere" | "category" | "compass_calibration" | "departure_board" | "directions" | "directions_bike" | "directions_boat" | "directions_bus" | "directions_car" | "directions_railway" | "directions_run" | "directions_subway" | "directions_transit" | "directions_walk" | "edit_attributes" | "edit_location" | "ev_station" | "fastfood" | "flight" | "hotel" | "layers" | "layers_clear" | "local_activity" | "local_airport" | "local_atm" | "local_bar" | "local_cafe" | "local_car_wash" | "local_convenience_store" | "local_dining" | "local_drink" | "local_florist" | "local_gas_station" | "local_grocery_store" | "local_hospital" | "local_hotel" | "local_laundry_service" | "local_library" | "local_mall" | "local_movies" | "local_offer" | "local_parking" | "local_pharmacy" | "local_phone" | "local_pizza" | "local_play" | "local_post_office" | "local_printshop" | "local_see" | "local_shipping" | "local_taxi" | "map" | "money" | "my_location" | "navigation" | "near_me" | "not_listed_location" | "person_pin" | "person_pin_circle" | "pin_drop" | "place" | "rate_review" | "restaurant" | "restaurant_menu" | "satellite" | "store_mall_directory" | "streetview" | "subway" | "terrain" | "traffic" | "train" | "tram" | "transfer_within_a_station" | "transit_enterexit" | "trip_origin" | "zoom_out_map" | "apps" | "arrow_back" | "arrow_back_ios" | "arrow_downward" | "arrow_drop_down" | "arrow_drop_down_circle" | "arrow_drop_up" | "arrow_forward" | "arrow_forward_ios" | "arrow_left" | "arrow_right" | "arrow_upward" | "cancel" | "check" | "chevron_left" | "chevron_right" | "close" | "expand_less" | "expand_more" | "first_page" | "fullscreen" | "fullscreen_exit" | "last_page" | "menu" | "more_horiz" | "more_vert" | "refresh" | "subdirectory_arrow_left" | "subdirectory_arrow_right" | "unfold_less" | "unfold_more" | "adb" | "airline_seat_flat" | "airline_seat_flat_angled" | "airline_seat_individual_suite" | "airline_seat_legroom_extra" | "airline_seat_legroom_normal" | "airline_seat_legroom_reduced" | "airline_seat_recline_extra" | "airline_seat_recline_normal" | "bluetooth_audio" | "confirmation_number" | "disc_full" | "drive_eta" | "enhanced_encryption" | "event_available" | "event_busy" | "event_note" | "folder_special" | "live_tv" | "mms" | "more" | "network_check" | "network_locked" | "no_encryption" | "ondemand_video" | "personal_video" | "phone_bluetooth_speaker" | "phone_callback" | "phone_forwarded" | "phone_in_talk" | "phone_locked" | "phone_missed" | "phone_paused" | "power" | "power_off" | "priority_high" | "sd_card" | "sms" | "sms_failed" | "sync" | "sync_disabled" | "sync_problem" | "system_update" | "tap_and_play" | "time_to_leave" | "tv_off" | "vibration" | "voice_chat" | "vpn_lock" | "wc" | "wifi" | "wifi_off" | "ac_unit" | "airport_shuttle" | "all_inclusive" | "beach_access" | "business_center" | "casino" | "child_care" | "child_friendly" | "fitness_center" | "free_breakfast" | "golf_course" | "hot_tub" | "kitchen" | "meeting_room" | "no_meeting_room" | "pool" | "room_service" | "rv_hookup" | "smoke_free" | "smoking_rooms" | "spa" | "cake" | "domain" | "group" | "group_add" | "location_city" | "mood" | "mood_bad" | "notifications" | "notifications_active" | "notifications_none" | "notifications_off" | "notifications_paused" | "pages" | "party_mode" | "people" | "people_outline" | "person" | "person_add" | "person_outline" | "plus_one" | "poll" | "public" | "school" | "sentiment_dissatisfied" | "sentiment_satisfied" | "sentiment_very_dissatisfied" | "sentiment_very_satisfied" | "share" | "thumb_down_alt" | "thumb_up_alt" | "whatshot" | "check_box" | "check_box_outline_blank" | "indeterminate_check_box" | "radio_button_checked" | "radio_button_unchecked" | "star" | "star_border" | "star_half" | "toggle_off" | "toggle_on";
|
7
|
-
interface Props extends React.HtmlHTMLAttributes<HTMLElement> {
|
8
|
-
size?: number | string;
|
9
|
-
icon: IconName;
|
10
|
-
}
|
11
|
-
export declare const MaterialIcon: React.SFC<Props>;
|
12
|
-
export default MaterialIcon;
|
@@ -1,48 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
4
|
-
|
5
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
6
|
-
|
7
|
-
Object.defineProperty(exports, "__esModule", {
|
8
|
-
value: true
|
9
|
-
});
|
10
|
-
exports["default"] = exports.MaterialIcon = void 0;
|
11
|
-
|
12
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
13
|
-
|
14
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread"));
|
15
|
-
|
16
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
17
|
-
|
18
|
-
var React = _interopRequireWildcard(require("react"));
|
19
|
-
|
20
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
21
|
-
|
22
|
-
var styles = {
|
23
|
-
"icon": "stl-MaterialIcon_icon"
|
24
|
-
};
|
25
|
-
/**
|
26
|
-
* Go on material icons website https://material.io/tools/icons/?icon=fiber_manual_record&style=baseline
|
27
|
-
* run copy(Array.from(document.querySelectorAll('.icon-item-container i[class^=baseline-]')).map(el => `"${el.classList.item(0).replace('baseline-', '')}"`).join(' | '))
|
28
|
-
*/
|
29
|
-
// prettier-ignore
|
30
|
-
|
31
|
-
var MaterialIcon = function MaterialIcon(_ref) {
|
32
|
-
var className = _ref.className,
|
33
|
-
style = _ref.style,
|
34
|
-
icon = _ref.icon,
|
35
|
-
size = _ref.size,
|
36
|
-
rest = (0, _objectWithoutProperties2["default"])(_ref, ["className", "style", "icon", "size"]);
|
37
|
-
var mergedStyle = style || size !== undefined ? (0, _objectSpread2["default"])({}, size ? {
|
38
|
-
fontSize: size
|
39
|
-
} : undefined, style) : undefined;
|
40
|
-
return React.createElement("i", (0, _extends2["default"])({
|
41
|
-
className: (0, _classnames["default"])(styles.icon, className),
|
42
|
-
style: mergedStyle
|
43
|
-
}, rest), icon);
|
44
|
-
};
|
45
|
-
|
46
|
-
exports.MaterialIcon = MaterialIcon;
|
47
|
-
var _default = MaterialIcon;
|
48
|
-
exports["default"] = _default;
|
@@ -1,27 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
4
|
-
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
6
|
-
value: true
|
7
|
-
});
|
8
|
-
var _exportNames = {};
|
9
|
-
Object.defineProperty(exports, "default", {
|
10
|
-
enumerable: true,
|
11
|
-
get: function get() {
|
12
|
-
return _MaterialIcon["default"];
|
13
|
-
}
|
14
|
-
});
|
15
|
-
|
16
|
-
var _MaterialIcon = _interopRequireWildcard(require("./MaterialIcon"));
|
17
|
-
|
18
|
-
Object.keys(_MaterialIcon).forEach(function (key) {
|
19
|
-
if (key === "default" || key === "__esModule") return;
|
20
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
21
|
-
Object.defineProperty(exports, key, {
|
22
|
-
enumerable: true,
|
23
|
-
get: function get() {
|
24
|
-
return _MaterialIcon[key];
|
25
|
-
}
|
26
|
-
});
|
27
|
-
});
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import * as React from "react";
|
2
|
-
export interface Props {
|
3
|
-
open?: boolean;
|
4
|
-
title?: string | JSX.Element;
|
5
|
-
animate?: boolean;
|
6
|
-
size?: "medium" | "large";
|
7
|
-
showCloseIcon?: boolean;
|
8
|
-
showTitle?: boolean;
|
9
|
-
centerY?: boolean;
|
10
|
-
onDismiss?: () => any;
|
11
|
-
}
|
12
|
-
export declare class Modal extends React.Component<Props> {
|
13
|
-
static Footer: React.FunctionComponent<React.HTMLAttributes<HTMLElement>>;
|
14
|
-
static Section: React.FunctionComponent<import("./components/ModalSection").Props>;
|
15
|
-
static defaultProps: Partial<Props>;
|
16
|
-
dialogRef: React.RefObject<HTMLDivElement>;
|
17
|
-
mouseDownEl: EventTarget | null;
|
18
|
-
componentDidMount(): void;
|
19
|
-
componentWillUnmount(): void;
|
20
|
-
componentDidUpdate(): void;
|
21
|
-
toggleBodyClass: (toggle?: boolean) => void;
|
22
|
-
handleEscape: (evt: KeyboardEvent) => void;
|
23
|
-
handleWrapperRefUpdate: (el: HTMLDivElement) => void;
|
24
|
-
handleOverlayMouseDown: (evt: MouseEvent) => EventTarget | null;
|
25
|
-
handleOverlayMouseUp: (evt: MouseEvent) => void;
|
26
|
-
handleDimiss: () => any;
|
27
|
-
renderContent: () => false | JSX.Element | undefined;
|
28
|
-
render(): React.ReactPortal;
|
29
|
-
}
|
30
|
-
export default Modal;
|
@@ -1,207 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
4
|
-
|
5
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
6
|
-
|
7
|
-
Object.defineProperty(exports, "__esModule", {
|
8
|
-
value: true
|
9
|
-
});
|
10
|
-
exports["default"] = exports.Modal = void 0;
|
11
|
-
|
12
|
-
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
13
|
-
|
14
|
-
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
15
|
-
|
16
|
-
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
17
|
-
|
18
|
-
var _getPrototypeOf3 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
19
|
-
|
20
|
-
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
21
|
-
|
22
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
23
|
-
|
24
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
25
|
-
|
26
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
27
|
-
|
28
|
-
var React = _interopRequireWildcard(require("react"));
|
29
|
-
|
30
|
-
var _reactDom = require("react-dom");
|
31
|
-
|
32
|
-
var _reactTransitionGroup = require("react-transition-group");
|
33
|
-
|
34
|
-
var _classnames2 = _interopRequireDefault(require("classnames"));
|
35
|
-
|
36
|
-
var _Card = _interopRequireDefault(require("../Card"));
|
37
|
-
|
38
|
-
var _ModalFooter = _interopRequireDefault(require("./components/ModalFooter"));
|
39
|
-
|
40
|
-
var _ModalSection = _interopRequireDefault(require("./components/ModalSection"));
|
41
|
-
|
42
|
-
var styles = {
|
43
|
-
"animationAppear": "stl-Modal_animationAppear",
|
44
|
-
"container": "stl-Modal_container",
|
45
|
-
"animationEnter": "stl-Modal_animationEnter",
|
46
|
-
"animationAppearActive": "stl-Modal_animationAppearActive",
|
47
|
-
"animationEnterActive": "stl-Modal_animationEnterActive",
|
48
|
-
"animationLeave": "stl-Modal_animationLeave",
|
49
|
-
"animationLeaveActive": "stl-Modal_animationLeaveActive",
|
50
|
-
"centerY": "stl-Modal_centerY",
|
51
|
-
"dialog": "stl-Modal_dialog",
|
52
|
-
"medium": "stl-Modal_medium",
|
53
|
-
"large": "stl-Modal_large",
|
54
|
-
"overlay": "stl-Modal_overlay",
|
55
|
-
"header": "stl-Modal_header",
|
56
|
-
"title": "stl-Modal_title",
|
57
|
-
"content": "stl-Modal_content",
|
58
|
-
"closeButton": "stl-Modal_closeButton",
|
59
|
-
"preventHtmlBodyScroll": "stl-Modal_preventHtmlBodyScroll"
|
60
|
-
};
|
61
|
-
var TRANSITION_MS = 200;
|
62
|
-
var ESCAPE_KEY_CODE = 27;
|
63
|
-
var ANIMATION_CLASSES = {
|
64
|
-
appear: styles.animationAppear,
|
65
|
-
appearActive: styles.animationAppearActive,
|
66
|
-
enter: styles.animationEnter,
|
67
|
-
enterActive: styles.animationEnterActive,
|
68
|
-
leave: styles.animationLeave,
|
69
|
-
leaveActive: styles.animationLeaveActive
|
70
|
-
};
|
71
|
-
|
72
|
-
var ModalAnimation = function ModalAnimation(props) {
|
73
|
-
return React.createElement(_reactTransitionGroup.CSSTransitionGroup, (0, _extends2["default"])({
|
74
|
-
transitionName: ANIMATION_CLASSES,
|
75
|
-
transitionAppear: true,
|
76
|
-
transitionLeaveTimeout: TRANSITION_MS,
|
77
|
-
transitionEnterTimeout: TRANSITION_MS,
|
78
|
-
transitionAppearTimeout: TRANSITION_MS
|
79
|
-
}, props));
|
80
|
-
};
|
81
|
-
|
82
|
-
var Modal =
|
83
|
-
/*#__PURE__*/
|
84
|
-
function (_React$Component) {
|
85
|
-
(0, _inherits2["default"])(Modal, _React$Component);
|
86
|
-
|
87
|
-
function Modal() {
|
88
|
-
var _getPrototypeOf2;
|
89
|
-
|
90
|
-
var _this;
|
91
|
-
|
92
|
-
(0, _classCallCheck2["default"])(this, Modal);
|
93
|
-
|
94
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
95
|
-
args[_key] = arguments[_key];
|
96
|
-
}
|
97
|
-
|
98
|
-
_this = (0, _possibleConstructorReturn2["default"])(this, (_getPrototypeOf2 = (0, _getPrototypeOf3["default"])(Modal)).call.apply(_getPrototypeOf2, [this].concat(args)));
|
99
|
-
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "dialogRef", React.createRef());
|
100
|
-
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "mouseDownEl", null);
|
101
|
-
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "toggleBodyClass", function () {
|
102
|
-
var toggle = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !!_this.props.open;
|
103
|
-
|
104
|
-
if (toggle) {
|
105
|
-
document.body.classList.add(styles.preventHtmlBodyScroll);
|
106
|
-
} else {
|
107
|
-
document.body.classList.remove(styles.preventHtmlBodyScroll);
|
108
|
-
}
|
109
|
-
});
|
110
|
-
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "handleEscape", function (evt) {
|
111
|
-
if (_this.props.open && evt.keyCode === ESCAPE_KEY_CODE && !evt.defaultPrevented) {
|
112
|
-
_this.handleDimiss();
|
113
|
-
}
|
114
|
-
});
|
115
|
-
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "handleWrapperRefUpdate", function (el) {
|
116
|
-
if (!el) return;
|
117
|
-
el.addEventListener("mouseup", _this.handleOverlayMouseUp);
|
118
|
-
el.addEventListener("mousedown", _this.handleOverlayMouseDown);
|
119
|
-
});
|
120
|
-
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "handleOverlayMouseDown", function (evt) {
|
121
|
-
return _this.mouseDownEl = evt.target;
|
122
|
-
});
|
123
|
-
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "handleOverlayMouseUp", function (evt) {
|
124
|
-
if (evt.target === _this.mouseDownEl && _this.dialogRef.current && !_this.dialogRef.current.contains(evt.target)) {
|
125
|
-
_this.handleDimiss();
|
126
|
-
}
|
127
|
-
|
128
|
-
_this.mouseDownEl = null;
|
129
|
-
});
|
130
|
-
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "handleDimiss", function () {
|
131
|
-
return _this.props.onDismiss && _this.props.onDismiss();
|
132
|
-
});
|
133
|
-
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "renderContent", function () {
|
134
|
-
var _this$props = _this.props,
|
135
|
-
title = _this$props.title,
|
136
|
-
open = _this$props.open,
|
137
|
-
showCloseIcon = _this$props.showCloseIcon,
|
138
|
-
showTitle = _this$props.showTitle,
|
139
|
-
children = _this$props.children,
|
140
|
-
_this$props$size = _this$props.size,
|
141
|
-
size = _this$props$size === void 0 ? "medium" : _this$props$size,
|
142
|
-
centerY = _this$props.centerY;
|
143
|
-
return open && React.createElement("div", null, React.createElement("div", {
|
144
|
-
className: styles.overlay
|
145
|
-
}), React.createElement("div", {
|
146
|
-
className: (0, _classnames2["default"])(styles.container, (0, _defineProperty2["default"])({}, styles.centerY, !!centerY)),
|
147
|
-
tabIndex: -1,
|
148
|
-
role: "dialog",
|
149
|
-
ref: _this.handleWrapperRefUpdate
|
150
|
-
}, React.createElement(_Card["default"], {
|
151
|
-
className: (0, _classnames2["default"])(styles.dialog, styles[size]),
|
152
|
-
fullBleed: true
|
153
|
-
}, React.createElement("div", {
|
154
|
-
ref: _this.dialogRef
|
155
|
-
}, showTitle && React.createElement("div", {
|
156
|
-
className: styles.header
|
157
|
-
}, React.createElement("h2", {
|
158
|
-
className: styles.title
|
159
|
-
}, title), showCloseIcon && React.createElement("button", {
|
160
|
-
className: styles.closeButton,
|
161
|
-
onClick: _this.handleDimiss
|
162
|
-
}, "\xD7")), React.createElement("div", {
|
163
|
-
className: styles.content
|
164
|
-
}, children)))));
|
165
|
-
});
|
166
|
-
return _this;
|
167
|
-
}
|
168
|
-
|
169
|
-
(0, _createClass2["default"])(Modal, [{
|
170
|
-
key: "componentDidMount",
|
171
|
-
value: function componentDidMount() {
|
172
|
-
document.addEventListener("keydown", this.handleEscape);
|
173
|
-
this.toggleBodyClass();
|
174
|
-
}
|
175
|
-
}, {
|
176
|
-
key: "componentWillUnmount",
|
177
|
-
value: function componentWillUnmount() {
|
178
|
-
document.removeEventListener("keydown", this.handleEscape);
|
179
|
-
this.toggleBodyClass(false);
|
180
|
-
}
|
181
|
-
}, {
|
182
|
-
key: "componentDidUpdate",
|
183
|
-
value: function componentDidUpdate() {
|
184
|
-
this.toggleBodyClass();
|
185
|
-
}
|
186
|
-
}, {
|
187
|
-
key: "render",
|
188
|
-
value: function render() {
|
189
|
-
var animate = this.props.animate;
|
190
|
-
return (0, _reactDom.createPortal)(animate ? React.createElement(ModalAnimation, null, this.renderContent()) : this.renderContent(), document.body);
|
191
|
-
}
|
192
|
-
}]);
|
193
|
-
return Modal;
|
194
|
-
}(React.Component);
|
195
|
-
|
196
|
-
exports.Modal = Modal;
|
197
|
-
(0, _defineProperty2["default"])(Modal, "Footer", _ModalFooter["default"]);
|
198
|
-
(0, _defineProperty2["default"])(Modal, "Section", _ModalSection["default"]);
|
199
|
-
(0, _defineProperty2["default"])(Modal, "defaultProps", {
|
200
|
-
open: true,
|
201
|
-
animate: true,
|
202
|
-
showCloseIcon: true,
|
203
|
-
showTitle: true,
|
204
|
-
centerY: false
|
205
|
-
});
|
206
|
-
var _default = Modal;
|
207
|
-
exports["default"] = _default;
|