@onesy/ui-react 1.0.172 → 1.0.174
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/Accordion/Accordion.js +93 -74
- package/AdvancedTextField/AdvancedTextField.js +7 -6
- package/Append/Append.js +24 -19
- package/AreaChart/AreaChart.js +15 -17
- package/AreaChartItem/AreaChartItem.js +63 -58
- package/AudioPlayer/AudioPlayer.js +180 -148
- package/AudioRecorder/AudioRecorder.js +104 -59
- package/AutoComplete/AutoComplete.js +135 -125
- package/AutoCompleteCountry/AutoCompleteCountry.js +10 -11
- package/AutoCompleteCurrency/AutoCompleteCurrency.js +4 -5
- package/Avatar/Avatar.js +11 -8
- package/AvatarGroup/AvatarGroup.js +21 -20
- package/Backdrop/Backdrop.js +30 -21
- package/Badge/Badge.js +18 -17
- package/Banner/Banner.js +15 -12
- package/BottomAppBar/BottomAppBar.js +14 -14
- package/BottomSheet/BottomSheet.js +9 -11
- package/Box/Box.js +12 -12
- package/Breadcrumbs/Breadcrumbs.js +38 -34
- package/BubbleChart/BubbleChart.js +159 -134
- package/BubbleChartItem/BubbleChartItem.js +48 -43
- package/Button/Button.js +46 -39
- package/Buttons/Buttons.d.ts +1 -1
- package/Buttons/Buttons.js +34 -28
- package/Calendar/Calendar.js +357 -315
- package/CalendarAvailability/CalendarAvailability.js +351 -298
- package/CalendarMenu/CalendarMenu.js +93 -79
- package/CalendarMonth/CalendarMonth.js +113 -102
- package/CalendarViews/CalendarViews.js +138 -115
- package/CalendarWeek/CalendarWeek.js +180 -158
- package/Card/Card.js +16 -15
- package/CardButton/CardButton.js +11 -10
- package/CardFooter/CardFooter.js +12 -12
- package/CardHeader/CardHeader.js +13 -13
- package/CardImage/CardImage.js +10 -12
- package/CardMain/CardMain.js +12 -12
- package/Carousel/Carousel.js +140 -124
- package/Chart/Chart.js +438 -393
- package/Checkbox/Checkbox.js +46 -43
- package/Chip/Chip.js +12 -11
- package/Chips/Chips.js +20 -20
- package/ClickListener/ClickListener.js +19 -15
- package/Clock/Clock.js +38 -36
- package/ColorTextField/ColorTextField.js +33 -27
- package/ColumnChart/ColumnChart.js +16 -17
- package/ColumnChartItem/ColumnChartItem.js +35 -31
- package/Confirm/Confirm.js +51 -35
- package/Container/Container.js +9 -6
- package/CookieBanner/CookieBanner.js +55 -41
- package/Countdown/Countdown.js +163 -123
- package/DatePicker/DatePicker.js +236 -197
- package/DateRangePicker/DateRangePicker.js +9 -11
- package/DateTimePicker/DateTimePicker.js +127 -103
- package/DateTimeRangePicker/DateTimeRangePicker.js +9 -11
- package/Divider/Divider.js +25 -21
- package/DonutChart/DonutChart.js +9 -11
- package/DragAndDropList/DragAndDropList.js +8 -4
- package/Drawing/Drawing.js +369 -312
- package/DropZone/DropZone.js +20 -15
- package/Emojis/Emojis.js +95 -85
- package/Expand/Expand.js +78 -70
- package/Fab/Fab.js +4 -6
- package/Fade/Fade.js +64 -58
- package/FileChoose/FileChoose.js +69 -60
- package/Focus/Focus.js +19 -16
- package/Form/Form.js +69 -57
- package/FormRow/FormRow.js +49 -38
- package/Forms/Forms.js +13 -13
- package/Frame/Frame.js +62 -54
- package/Grid/Grid.js +15 -12
- package/Grow/Grow.js +60 -52
- package/HTMLCanvas/HTMLCanvas.js +88 -74
- package/IFrame/IFrame.js +33 -27
- package/Icon/Icon.js +14 -14
- package/IconButton/IconButton.js +12 -14
- package/Image/Image.js +19 -15
- package/ImageCrop/ImageCrop.js +96 -87
- package/ImageEdit/ImageEdit.js +355 -290
- package/ImageGallery/ImageGallery.js +104 -86
- package/ImageList/ImageList.js +16 -11
- package/ImageListItem/ImageListItem.js +9 -6
- package/ImageListItemBox/ImageListItemBox.js +12 -12
- package/Info/Info.js +38 -27
- package/Interaction/Interaction.js +57 -68
- package/Keyframes/Keyframes.js +11 -9
- package/Label/Label.js +59 -50
- package/Labels/Labels.js +30 -26
- package/Line/Line.js +10 -7
- package/LineChart/LineChart.js +16 -17
- package/LineChartItem/LineChartItem.js +30 -26
- package/LinearMeter/LinearMeter.js +92 -87
- package/LinearProgress/LinearProgress.js +27 -22
- package/Link/Link.js +7 -8
- package/Links/Links.js +128 -118
- package/List/List.js +23 -21
- package/ListItem/ListItem.js +68 -58
- package/ListSubheader/ListSubheader.js +9 -11
- package/MainProgress/MainProgress.js +14 -12
- package/MainProgressMaterial/MainProgressMaterial.js +16 -14
- package/Markdown/Markdown.js +6 -5
- package/Masonry/Masonry.js +26 -22
- package/Medias/Medias.js +95 -93
- package/Menu/Menu.js +51 -45
- package/MenuDesktop/MenuDesktop.js +141 -130
- package/MenuItem/MenuItem.js +75 -64
- package/Meta/Meta.js +21 -19
- package/Modal/Modal.js +52 -39
- package/ModalFooter/ModalFooter.js +12 -12
- package/ModalHeader/ModalHeader.js +12 -12
- package/ModalIcon/ModalIcon.js +55 -13
- package/ModalMain/ModalMain.js +12 -12
- package/ModalText/ModalText.js +12 -12
- package/ModalTitle/ModalTitle.js +12 -12
- package/MoreOptions/MoreOptions.js +14 -12
- package/Move/Move.js +9 -6
- package/NavigationBar/NavigationBar.js +7 -6
- package/NavigationDrawer/NavigationDrawer.js +7 -6
- package/NavigationItem/NavigationItem.js +58 -48
- package/NavigationRail/NavigationRail.js +25 -22
- package/NotFound/NotFound.js +21 -18
- package/NumericTextField/NumericTextField.js +14 -9
- package/Page/Page.js +50 -38
- package/PageTransition/PageTransition.js +8 -7
- package/Pagination/Pagination.js +41 -31
- package/PaginationItem/PaginationItem.js +20 -18
- package/Parallax/Parallax.js +4 -3
- package/Path/Path.js +9 -11
- package/PieChart/PieChart.js +96 -79
- package/Placeholder/Placeholder.js +15 -12
- package/Portal/Portal.js +41 -18
- package/Properties/Properties.js +17 -18
- package/Property/Property.js +24 -17
- package/Radio/Radio.js +25 -21
- package/Radios/Radios.js +30 -26
- package/Rating/Rating.js +36 -31
- package/Reset/Reset.js +4 -1
- package/Reveal/Reveal.js +17 -13
- package/RichTextEditor/RichTextEditor.js +1011 -824
- package/RoundMeter/RoundMeter.js +98 -93
- package/RoundProgress/RoundProgress.js +36 -32
- package/ScatterChart/ScatterChart.js +15 -17
- package/ScatterChartItem/ScatterChartItem.js +36 -34
- package/ScreenCapture/ScreenCapture.js +57 -43
- package/Section/Section.js +66 -56
- package/SectionAction/SectionAction.js +17 -13
- package/SectionBoxes/SectionBoxes.js +75 -67
- package/SectionCards/SectionCards.js +86 -76
- package/SectionCarousel/SectionCarousel.js +72 -65
- package/SectionContact/SectionContact.js +65 -58
- package/SectionImageGallery/SectionImageGallery.js +13 -10
- package/SectionLogos/SectionLogos.js +34 -30
- package/SectionMedia/SectionMedia.js +41 -34
- package/SectionReviews/SectionReviews.js +76 -67
- package/SectionTextMedia/SectionTextMedia.js +64 -57
- package/SectionTimeline/SectionTimeline.js +46 -43
- package/SectionWatch/SectionWatch.js +12 -9
- package/Select/Select.js +163 -151
- package/Share/Share.js +165 -151
- package/Slide/Slide.js +29 -26
- package/Slider/Slider.js +87 -81
- package/SmartTextField/SmartTextField.js +453 -361
- package/Snackbar/Snackbar.js +48 -38
- package/Snackbars/Snackbars.js +43 -40
- package/Space/Space.js +731 -630
- package/SpeechToText/SpeechToText.js +20 -14
- package/SpeedDial/SpeedDial.js +84 -65
- package/SpeedDialItem/SpeedDialItem.js +22 -19
- package/SpyScroll/SpyScroll.js +16 -12
- package/Step/Step.js +29 -27
- package/Stepper/Stepper.js +42 -41
- package/Surface/Surface.js +7 -7
- package/Switch/Switch.js +49 -41
- package/Tab/Tab.js +40 -35
- package/Table/Table.js +19 -16
- package/TableBody/TableBody.js +14 -14
- package/TableCell/TableCell.js +37 -30
- package/TableFooter/TableFooter.js +13 -13
- package/TableHead/TableHead.js +25 -21
- package/TableHeader/TableHeader.js +14 -14
- package/TablePagination/TablePagination.js +67 -49
- package/TableRow/TableRow.js +14 -14
- package/Tabs/Tabs.js +55 -49
- package/Text/Text.js +17 -13
- package/TextField/TextField.js +135 -111
- package/TextToSpeech/TextToSpeech.js +20 -14
- package/TimePicker/TimePicker.js +196 -160
- package/TimeRangePicker/TimeRangePicker.js +9 -11
- package/Timeline/Timeline.js +13 -13
- package/TimelineItem/TimelineItem.js +29 -24
- package/Timer/Timer.js +137 -94
- package/ToggleButton/ToggleButton.js +10 -12
- package/ToggleButtons/ToggleButtons.js +9 -11
- package/Tooltip/Tooltip.js +63 -54
- package/TopAppBar/TopAppBar.js +32 -25
- package/Transition/Transition.js +11 -9
- package/Tree/Tree.js +73 -61
- package/Type/Type.js +7 -6
- package/VideoPlayer/VideoPlayer.js +207 -170
- package/ViewSplit/ViewSplit.js +49 -40
- package/Watch/Watch.js +204 -187
- package/Weather/Weather.js +58 -49
- package/Whiteboard/Whiteboard.js +28 -24
- package/Widgets/Widgets.js +60 -54
- package/WindowSplit/WindowSplit.js +59 -52
- package/Zoom/Zoom.js +60 -52
- package/esm/Accordion/Accordion.js +93 -74
- package/esm/AdvancedTextField/AdvancedTextField.js +7 -6
- package/esm/Append/Append.js +24 -19
- package/esm/AreaChart/AreaChart.js +15 -17
- package/esm/AreaChartItem/AreaChartItem.js +63 -58
- package/esm/AudioPlayer/AudioPlayer.js +180 -148
- package/esm/AudioRecorder/AudioRecorder.js +104 -59
- package/esm/AutoComplete/AutoComplete.js +135 -125
- package/esm/AutoCompleteCountry/AutoCompleteCountry.js +10 -11
- package/esm/AutoCompleteCurrency/AutoCompleteCurrency.js +4 -5
- package/esm/Avatar/Avatar.js +11 -8
- package/esm/AvatarGroup/AvatarGroup.js +18 -17
- package/esm/Backdrop/Backdrop.js +30 -21
- package/esm/Badge/Badge.js +18 -17
- package/esm/Banner/Banner.js +15 -12
- package/esm/BottomAppBar/BottomAppBar.js +14 -14
- package/esm/BottomSheet/BottomSheet.js +9 -11
- package/esm/Box/Box.js +12 -12
- package/esm/Breadcrumbs/Breadcrumbs.js +37 -33
- package/esm/BubbleChart/BubbleChart.js +159 -134
- package/esm/BubbleChartItem/BubbleChartItem.js +48 -43
- package/esm/Button/Button.js +45 -38
- package/esm/Buttons/Buttons.js +33 -28
- package/esm/Calendar/Calendar.js +357 -315
- package/esm/CalendarAvailability/CalendarAvailability.js +348 -295
- package/esm/CalendarMenu/CalendarMenu.js +93 -79
- package/esm/CalendarMonth/CalendarMonth.js +113 -102
- package/esm/CalendarViews/CalendarViews.js +138 -115
- package/esm/CalendarWeek/CalendarWeek.js +177 -155
- package/esm/Card/Card.js +16 -15
- package/esm/CardButton/CardButton.js +11 -10
- package/esm/CardFooter/CardFooter.js +12 -12
- package/esm/CardHeader/CardHeader.js +13 -13
- package/esm/CardImage/CardImage.js +10 -12
- package/esm/CardMain/CardMain.js +12 -12
- package/esm/Carousel/Carousel.js +140 -124
- package/esm/Chart/Chart.js +433 -388
- package/esm/Checkbox/Checkbox.js +46 -43
- package/esm/Chip/Chip.js +12 -11
- package/esm/Chips/Chips.js +20 -20
- package/esm/ClickListener/ClickListener.js +19 -15
- package/esm/Clock/Clock.js +38 -36
- package/esm/ColorTextField/ColorTextField.js +33 -27
- package/esm/ColumnChart/ColumnChart.js +16 -17
- package/esm/ColumnChartItem/ColumnChartItem.js +35 -31
- package/esm/Confirm/Confirm.js +51 -35
- package/esm/Container/Container.js +9 -6
- package/esm/CookieBanner/CookieBanner.js +55 -41
- package/esm/Countdown/Countdown.js +163 -123
- package/esm/DatePicker/DatePicker.js +236 -197
- package/esm/DateRangePicker/DateRangePicker.js +9 -11
- package/esm/DateTimePicker/DateTimePicker.js +127 -103
- package/esm/DateTimeRangePicker/DateTimeRangePicker.js +9 -11
- package/esm/Divider/Divider.js +25 -21
- package/esm/DonutChart/DonutChart.js +9 -11
- package/esm/DragAndDropList/DragAndDropList.js +8 -4
- package/esm/Drawing/Drawing.js +368 -311
- package/esm/DropZone/DropZone.js +20 -15
- package/esm/Emojis/Emojis.js +95 -85
- package/esm/Expand/Expand.js +77 -69
- package/esm/Fab/Fab.js +4 -6
- package/esm/Fade/Fade.js +64 -58
- package/esm/FileChoose/FileChoose.js +69 -60
- package/esm/Focus/Focus.js +19 -16
- package/esm/Form/Form.js +69 -57
- package/esm/FormRow/FormRow.js +49 -38
- package/esm/Forms/Forms.js +13 -13
- package/esm/Frame/Frame.js +62 -54
- package/esm/Grid/Grid.js +13 -10
- package/esm/Grow/Grow.js +60 -52
- package/esm/HTMLCanvas/HTMLCanvas.js +88 -74
- package/esm/IFrame/IFrame.js +33 -27
- package/esm/Icon/Icon.js +14 -14
- package/esm/IconButton/IconButton.js +12 -14
- package/esm/Image/Image.js +19 -15
- package/esm/ImageCrop/ImageCrop.js +96 -87
- package/esm/ImageEdit/ImageEdit.js +355 -290
- package/esm/ImageGallery/ImageGallery.js +104 -86
- package/esm/ImageList/ImageList.js +16 -11
- package/esm/ImageListItem/ImageListItem.js +9 -6
- package/esm/ImageListItemBox/ImageListItemBox.js +12 -12
- package/esm/Info/Info.js +38 -27
- package/esm/Interaction/Interaction.js +57 -68
- package/esm/Keyframes/Keyframes.js +11 -9
- package/esm/Label/Label.js +59 -50
- package/esm/Labels/Labels.js +30 -26
- package/esm/Line/Line.js +10 -7
- package/esm/LineChart/LineChart.js +16 -17
- package/esm/LineChartItem/LineChartItem.js +30 -26
- package/esm/LinearMeter/LinearMeter.js +92 -87
- package/esm/LinearProgress/LinearProgress.js +27 -22
- package/esm/Link/Link.js +7 -8
- package/esm/Links/Links.js +125 -115
- package/esm/List/List.js +23 -21
- package/esm/ListItem/ListItem.js +68 -58
- package/esm/ListSubheader/ListSubheader.js +9 -11
- package/esm/MainProgress/MainProgress.js +14 -12
- package/esm/MainProgressMaterial/MainProgressMaterial.js +16 -14
- package/esm/Markdown/Markdown.js +6 -5
- package/esm/Masonry/Masonry.js +26 -22
- package/esm/Medias/Medias.js +95 -93
- package/esm/Menu/Menu.js +51 -45
- package/esm/MenuDesktop/MenuDesktop.js +139 -128
- package/esm/MenuItem/MenuItem.js +75 -64
- package/esm/Meta/Meta.js +21 -19
- package/esm/Modal/Modal.js +52 -39
- package/esm/ModalFooter/ModalFooter.js +12 -12
- package/esm/ModalHeader/ModalHeader.js +12 -12
- package/esm/ModalIcon/ModalIcon.js +55 -13
- package/esm/ModalMain/ModalMain.js +12 -12
- package/esm/ModalText/ModalText.js +12 -12
- package/esm/ModalTitle/ModalTitle.js +12 -12
- package/esm/MoreOptions/MoreOptions.js +14 -12
- package/esm/Move/Move.js +9 -6
- package/esm/NavigationBar/NavigationBar.js +7 -6
- package/esm/NavigationDrawer/NavigationDrawer.js +7 -6
- package/esm/NavigationItem/NavigationItem.js +58 -48
- package/esm/NavigationRail/NavigationRail.js +25 -22
- package/esm/NotFound/NotFound.js +21 -18
- package/esm/NumericTextField/NumericTextField.js +14 -9
- package/esm/Page/Page.js +50 -38
- package/esm/PageTransition/PageTransition.js +8 -7
- package/esm/Pagination/Pagination.js +41 -31
- package/esm/PaginationItem/PaginationItem.js +20 -18
- package/esm/Parallax/Parallax.js +4 -3
- package/esm/Path/Path.js +9 -11
- package/esm/PieChart/PieChart.js +96 -79
- package/esm/Placeholder/Placeholder.js +15 -12
- package/esm/Portal/Portal.js +41 -18
- package/esm/Properties/Properties.js +17 -18
- package/esm/Property/Property.js +24 -17
- package/esm/Radio/Radio.js +25 -21
- package/esm/Radios/Radios.js +30 -26
- package/esm/Rating/Rating.js +35 -30
- package/esm/Reset/Reset.js +4 -1
- package/esm/Reveal/Reveal.js +17 -13
- package/esm/RichTextEditor/RichTextEditor.js +1011 -824
- package/esm/RoundMeter/RoundMeter.js +98 -93
- package/esm/RoundProgress/RoundProgress.js +36 -32
- package/esm/ScatterChart/ScatterChart.js +15 -17
- package/esm/ScatterChartItem/ScatterChartItem.js +36 -34
- package/esm/ScreenCapture/ScreenCapture.js +57 -43
- package/esm/Section/Section.js +66 -56
- package/esm/SectionAction/SectionAction.js +17 -13
- package/esm/SectionBoxes/SectionBoxes.js +75 -67
- package/esm/SectionCards/SectionCards.js +86 -76
- package/esm/SectionCarousel/SectionCarousel.js +72 -65
- package/esm/SectionContact/SectionContact.js +65 -58
- package/esm/SectionImageGallery/SectionImageGallery.js +13 -10
- package/esm/SectionLogos/SectionLogos.js +34 -30
- package/esm/SectionMedia/SectionMedia.js +41 -34
- package/esm/SectionReviews/SectionReviews.js +74 -65
- package/esm/SectionTextMedia/SectionTextMedia.js +64 -57
- package/esm/SectionTimeline/SectionTimeline.js +46 -43
- package/esm/SectionWatch/SectionWatch.js +12 -9
- package/esm/Select/Select.js +161 -149
- package/esm/Share/Share.js +165 -151
- package/esm/Slide/Slide.js +28 -25
- package/esm/Slider/Slider.js +86 -80
- package/esm/SmartTextField/SmartTextField.js +450 -358
- package/esm/Snackbar/Snackbar.js +48 -38
- package/esm/Snackbars/Snackbars.js +40 -37
- package/esm/Space/Space.js +731 -630
- package/esm/SpeechToText/SpeechToText.js +20 -14
- package/esm/SpeedDial/SpeedDial.js +84 -65
- package/esm/SpeedDialItem/SpeedDialItem.js +22 -19
- package/esm/SpyScroll/SpyScroll.js +16 -12
- package/esm/Step/Step.js +29 -27
- package/esm/Stepper/Stepper.js +42 -41
- package/esm/Surface/Surface.js +7 -7
- package/esm/Switch/Switch.js +49 -41
- package/esm/Tab/Tab.js +40 -35
- package/esm/Table/Table.js +19 -16
- package/esm/TableBody/TableBody.js +14 -14
- package/esm/TableCell/TableCell.js +37 -30
- package/esm/TableFooter/TableFooter.js +13 -13
- package/esm/TableHead/TableHead.js +25 -21
- package/esm/TableHeader/TableHeader.js +14 -14
- package/esm/TablePagination/TablePagination.js +67 -49
- package/esm/TableRow/TableRow.js +14 -14
- package/esm/Tabs/Tabs.js +55 -49
- package/esm/Text/Text.js +17 -13
- package/esm/TextField/TextField.js +129 -105
- package/esm/TextToSpeech/TextToSpeech.js +20 -14
- package/esm/TimePicker/TimePicker.js +196 -160
- package/esm/TimeRangePicker/TimeRangePicker.js +9 -11
- package/esm/Timeline/Timeline.js +13 -13
- package/esm/TimelineItem/TimelineItem.js +29 -24
- package/esm/Timer/Timer.js +137 -94
- package/esm/ToggleButton/ToggleButton.js +10 -12
- package/esm/ToggleButtons/ToggleButtons.js +9 -11
- package/esm/Tooltip/Tooltip.js +62 -53
- package/esm/TopAppBar/TopAppBar.js +32 -25
- package/esm/Transition/Transition.js +11 -9
- package/esm/Tree/Tree.js +73 -61
- package/esm/Type/Type.js +7 -6
- package/esm/VideoPlayer/VideoPlayer.js +207 -170
- package/esm/ViewSplit/ViewSplit.js +49 -40
- package/esm/Watch/Watch.js +204 -187
- package/esm/Weather/Weather.js +58 -49
- package/esm/Whiteboard/Whiteboard.js +28 -24
- package/esm/Widgets/Widgets.js +57 -51
- package/esm/WindowSplit/WindowSplit.js +59 -52
- package/esm/Zoom/Zoom.js +60 -52
- package/esm/index.js +1 -1
- package/index.js +1 -1
- package/package.json +3 -3
package/Share/Share.js
CHANGED
|
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
9
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
10
|
var _compilerRuntime = require("react/compiler-runtime");
|
|
12
11
|
var _react = _interopRequireDefault(require("react"));
|
|
13
12
|
var _utils = require("@onesy/utils");
|
|
@@ -27,14 +26,15 @@ var _BottomSheet = _interopRequireDefault(require("../BottomSheet"));
|
|
|
27
26
|
var _List = _interopRequireDefault(require("../List"));
|
|
28
27
|
var _useMediaQuery = _interopRequireDefault(require("../useMediaQuery"));
|
|
29
28
|
var _utils2 = require("../utils");
|
|
29
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
30
30
|
const _excluded = ["version", "position", "size", "name", "description", "url", "include", "exclude", "visible", "order", "openIn", "start", "end", "startMore", "itemProps", "endMore", "render", "onOpen", "MenuItemProps", "IconFacebook", "IconX", "IconLinkedin", "IconPinterest", "IconReddit", "IconWhatsapp", "IconViber", "IconCopy", "IconEmail", "IconPrint", "IconMore", "Component", "className"];
|
|
31
31
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
32
32
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
33
|
-
const IconCustomFacebook =
|
|
34
|
-
const $ = (0, _compilerRuntime.c)(
|
|
33
|
+
const IconCustomFacebook = props => {
|
|
34
|
+
const $ = (0, _compilerRuntime.c)(3);
|
|
35
35
|
let t0;
|
|
36
36
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
37
|
-
t0 = /*#__PURE__*/
|
|
37
|
+
t0 = /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
38
38
|
d: "m374.244 285.825 14.105-91.961h-88.233v-59.677c0-25.159 12.325-49.682 51.845-49.682h40.116V6.214S355.67 0 320.864 0c-72.67 0-120.165 44.042-120.165 123.775v70.089h-80.777v91.961h80.777v222.31A320.565 320.565 0 0 0 250.408 512c16.911 0 33.511-1.324 49.708-3.865v-222.31h74.128Z"
|
|
39
39
|
});
|
|
40
40
|
$[0] = t0;
|
|
@@ -42,25 +42,25 @@ const IconCustomFacebook = /*#__PURE__*/_react.default.forwardRef((props, ref) =
|
|
|
42
42
|
t0 = $[0];
|
|
43
43
|
}
|
|
44
44
|
let t1;
|
|
45
|
-
if ($[1] !== props
|
|
46
|
-
t1 = /*#__PURE__*/
|
|
47
|
-
ref: ref,
|
|
45
|
+
if ($[1] !== props) {
|
|
46
|
+
t1 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, _objectSpread(_objectSpread({
|
|
48
47
|
name: "Facebook",
|
|
49
48
|
viewBox: "0 0 512 512"
|
|
50
|
-
}, props),
|
|
49
|
+
}, props), {}, {
|
|
50
|
+
children: t0
|
|
51
|
+
}));
|
|
51
52
|
$[1] = props;
|
|
52
|
-
$[2] =
|
|
53
|
-
$[3] = t1;
|
|
53
|
+
$[2] = t1;
|
|
54
54
|
} else {
|
|
55
|
-
t1 = $[
|
|
55
|
+
t1 = $[2];
|
|
56
56
|
}
|
|
57
57
|
return t1;
|
|
58
|
-
}
|
|
59
|
-
const IconCustomX =
|
|
60
|
-
const $ = (0, _compilerRuntime.c)(
|
|
58
|
+
};
|
|
59
|
+
const IconCustomX = props => {
|
|
60
|
+
const $ = (0, _compilerRuntime.c)(3);
|
|
61
61
|
let t0;
|
|
62
62
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
63
|
-
t0 = /*#__PURE__*/
|
|
63
|
+
t0 = /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
64
64
|
d: "M714.163 519.284 1160.89 0h-105.86L667.137 450.887 357.328 0H0l468.492 681.821L0 1226.37h105.866l409.625-476.152 327.181 476.152H1200L714.137 519.284h.026ZM569.165 687.828l-47.468-67.894-377.686-540.24h162.604l304.797 435.991 47.468 67.894 396.2 566.721H892.476L569.165 687.854v-.026Z"
|
|
65
65
|
});
|
|
66
66
|
$[0] = t0;
|
|
@@ -68,25 +68,25 @@ const IconCustomX = /*#__PURE__*/_react.default.forwardRef((props, ref) => {
|
|
|
68
68
|
t0 = $[0];
|
|
69
69
|
}
|
|
70
70
|
let t1;
|
|
71
|
-
if ($[1] !== props
|
|
72
|
-
t1 = /*#__PURE__*/
|
|
73
|
-
ref: ref,
|
|
71
|
+
if ($[1] !== props) {
|
|
72
|
+
t1 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, _objectSpread(_objectSpread({
|
|
74
73
|
name: "X",
|
|
75
74
|
viewBox: "0 0 1200 1227"
|
|
76
|
-
}, props),
|
|
75
|
+
}, props), {}, {
|
|
76
|
+
children: t0
|
|
77
|
+
}));
|
|
77
78
|
$[1] = props;
|
|
78
|
-
$[2] =
|
|
79
|
-
$[3] = t1;
|
|
79
|
+
$[2] = t1;
|
|
80
80
|
} else {
|
|
81
|
-
t1 = $[
|
|
81
|
+
t1 = $[2];
|
|
82
82
|
}
|
|
83
83
|
return t1;
|
|
84
|
-
}
|
|
85
|
-
const IconCustomLinkedin =
|
|
86
|
-
const $ = (0, _compilerRuntime.c)(
|
|
84
|
+
};
|
|
85
|
+
const IconCustomLinkedin = props => {
|
|
86
|
+
const $ = (0, _compilerRuntime.c)(3);
|
|
87
87
|
let t0;
|
|
88
88
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
89
|
-
t0 = /*#__PURE__*/
|
|
89
|
+
t0 = /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
90
90
|
d: "M51.326 185.85h90.011v270.872H51.326V185.85zM96.934 55.278C66.127 55.278 46 75.503 46 102.049c0 26 19.538 46.813 49.756 46.813h.574c31.396 0 50.948-20.814 50.948-46.813-.589-26.546-19.551-46.771-50.344-46.771zm265.405 124.209c-47.779 0-69.184 26.28-81.125 44.71V185.85h-90.038c1.192 25.411 0 270.872 0 270.872h90.038V305.448c0-8.102.589-16.174 2.958-21.978 6.519-16.174 21.333-32.923 46.182-32.923 32.602 0 45.622 24.851 45.622 61.248v144.926H466V301.398c0-83.199-44.402-121.911-103.661-121.911z"
|
|
91
91
|
});
|
|
92
92
|
$[0] = t0;
|
|
@@ -94,25 +94,25 @@ const IconCustomLinkedin = /*#__PURE__*/_react.default.forwardRef((props, ref) =
|
|
|
94
94
|
t0 = $[0];
|
|
95
95
|
}
|
|
96
96
|
let t1;
|
|
97
|
-
if ($[1] !== props
|
|
98
|
-
t1 = /*#__PURE__*/
|
|
99
|
-
ref: ref,
|
|
97
|
+
if ($[1] !== props) {
|
|
98
|
+
t1 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, _objectSpread(_objectSpread({
|
|
100
99
|
name: "Linkedin",
|
|
101
100
|
viewBox: "0 0 512 512"
|
|
102
|
-
}, props),
|
|
101
|
+
}, props), {}, {
|
|
102
|
+
children: t0
|
|
103
|
+
}));
|
|
103
104
|
$[1] = props;
|
|
104
|
-
$[2] =
|
|
105
|
-
$[3] = t1;
|
|
105
|
+
$[2] = t1;
|
|
106
106
|
} else {
|
|
107
|
-
t1 = $[
|
|
107
|
+
t1 = $[2];
|
|
108
108
|
}
|
|
109
109
|
return t1;
|
|
110
|
-
}
|
|
111
|
-
const IconCustomPinterest =
|
|
112
|
-
const $ = (0, _compilerRuntime.c)(
|
|
110
|
+
};
|
|
111
|
+
const IconCustomPinterest = props => {
|
|
112
|
+
const $ = (0, _compilerRuntime.c)(3);
|
|
113
113
|
let t0;
|
|
114
114
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
115
|
-
t0 = /*#__PURE__*/
|
|
115
|
+
t0 = /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
116
116
|
d: "M30.374 4.622c-13.586 0-20.437 9.74-20.437 17.864 0 4.918 1.862 9.293 5.855 10.922.655.27 1.242.01 1.432-.715.132-.5.445-1.766.584-2.295.191-.717.117-.967-.412-1.594-1.151-1.357-1.888-3.115-1.888-5.607 0-7.226 5.407-13.695 14.079-13.695 7.679 0 11.898 4.692 11.898 10.957 0 8.246-3.649 15.205-9.065 15.205-2.992 0-5.23-2.473-4.514-5.508.859-3.623 2.524-7.531 2.524-10.148 0-2.34-1.257-4.292-3.856-4.292-3.058 0-5.515 3.164-5.515 7.401 0 2.699.912 4.525.912 4.525l-3.678 15.582c-1.092 4.625-.164 10.293-.085 10.865.046.34.482.422.68.166.281-.369 3.925-4.865 5.162-9.359.351-1.271 2.011-7.859 2.011-7.859.994 1.896 3.898 3.562 6.986 3.562 9.191 0 15.428-8.379 15.428-19.595.001-8.483-7.183-16.382-18.101-16.382z"
|
|
117
117
|
});
|
|
118
118
|
$[0] = t0;
|
|
@@ -120,25 +120,25 @@ const IconCustomPinterest = /*#__PURE__*/_react.default.forwardRef((props, ref)
|
|
|
120
120
|
t0 = $[0];
|
|
121
121
|
}
|
|
122
122
|
let t1;
|
|
123
|
-
if ($[1] !== props
|
|
124
|
-
t1 = /*#__PURE__*/
|
|
125
|
-
ref: ref,
|
|
123
|
+
if ($[1] !== props) {
|
|
124
|
+
t1 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, _objectSpread(_objectSpread({
|
|
126
125
|
name: "Pinterest",
|
|
127
126
|
viewBox: "0 0 56.693 56.693"
|
|
128
|
-
}, props),
|
|
127
|
+
}, props), {}, {
|
|
128
|
+
children: t0
|
|
129
|
+
}));
|
|
129
130
|
$[1] = props;
|
|
130
|
-
$[2] =
|
|
131
|
-
$[3] = t1;
|
|
131
|
+
$[2] = t1;
|
|
132
132
|
} else {
|
|
133
|
-
t1 = $[
|
|
133
|
+
t1 = $[2];
|
|
134
134
|
}
|
|
135
135
|
return t1;
|
|
136
|
-
}
|
|
137
|
-
const IconCustomReddit =
|
|
138
|
-
const $ = (0, _compilerRuntime.c)(
|
|
136
|
+
};
|
|
137
|
+
const IconCustomReddit = props => {
|
|
138
|
+
const $ = (0, _compilerRuntime.c)(3);
|
|
139
139
|
let t0;
|
|
140
140
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
141
|
-
t0 = /*#__PURE__*/
|
|
141
|
+
t0 = /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
142
142
|
d: "M53.048 28.446a5.696 5.696 0 0 0-5.69-5.69 5.647 5.647 0 0 0-3.75 1.419c-3.763-2.408-8.784-3.925-14.322-4.089l3.389-11.59 8.32 1.546c0 .068-.014.132-.01.2a3.6 3.6 0 0 0 3.774 3.408 3.6 3.6 0 0 0 3.407-3.774 3.6 3.6 0 0 0-3.774-3.408 3.587 3.587 0 0 0-2.945 1.84l-.003-.001-10.026-1.863-3.993 13.64c-5.552.147-10.589 1.656-14.368 4.059a5.647 5.647 0 0 0-3.715-1.387 5.697 5.697 0 0 0-5.69 5.69c0 1.94.999 3.73 2.617 4.774a10.124 10.124 0 0 0-.155 1.73c0 8.212 9.956 14.894 22.194 14.894S50.5 43.162 50.5 34.949c0-.568-.052-1.128-.145-1.68a5.69 5.69 0 0 0 2.692-4.823zM17.76 32.318a3.496 3.496 0 1 1 6.993.002 3.496 3.496 0 0 1-6.993-.002zm18.79 9.458c-.104.108-2.613 2.661-8.283 2.661-5.7 0-7.98-2.588-8.073-2.698a.894.894 0 0 1 1.352-1.168c.052.056 1.954 2.079 6.72 2.079 4.85 0 6.976-2.095 6.998-2.115a.895.895 0 0 1 1.286 1.24zm-.695-5.961a3.496 3.496 0 1 1-.003-6.992 3.496 3.496 0 0 1 .003 6.992z"
|
|
143
143
|
});
|
|
144
144
|
$[0] = t0;
|
|
@@ -146,29 +146,29 @@ const IconCustomReddit = /*#__PURE__*/_react.default.forwardRef((props, ref) =>
|
|
|
146
146
|
t0 = $[0];
|
|
147
147
|
}
|
|
148
148
|
let t1;
|
|
149
|
-
if ($[1] !== props
|
|
150
|
-
t1 = /*#__PURE__*/
|
|
151
|
-
ref: ref,
|
|
149
|
+
if ($[1] !== props) {
|
|
150
|
+
t1 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, _objectSpread(_objectSpread({
|
|
152
151
|
name: "Reddit",
|
|
153
152
|
viewBox: "0 0 56.7 56.7"
|
|
154
|
-
}, props),
|
|
153
|
+
}, props), {}, {
|
|
154
|
+
children: t0
|
|
155
|
+
}));
|
|
155
156
|
$[1] = props;
|
|
156
|
-
$[2] =
|
|
157
|
-
$[3] = t1;
|
|
157
|
+
$[2] = t1;
|
|
158
158
|
} else {
|
|
159
|
-
t1 = $[
|
|
159
|
+
t1 = $[2];
|
|
160
160
|
}
|
|
161
161
|
return t1;
|
|
162
|
-
}
|
|
163
|
-
const IconCustomWhatsapp =
|
|
164
|
-
const $ = (0, _compilerRuntime.c)(
|
|
162
|
+
};
|
|
163
|
+
const IconCustomWhatsapp = props => {
|
|
164
|
+
const $ = (0, _compilerRuntime.c)(4);
|
|
165
165
|
let t0;
|
|
166
166
|
let t1;
|
|
167
167
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
168
|
-
t0 = /*#__PURE__*/
|
|
168
|
+
t0 = /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
169
169
|
d: "M46.38 10.714C41.73 6.057 35.544 3.492 28.954 3.489c-13.579 0-24.63 11.05-24.636 24.633a24.589 24.589 0 0 0 3.289 12.316L4.112 53.204l13.06-3.426a24.614 24.614 0 0 0 11.772 2.999h.01c13.577 0 24.63-11.052 24.635-24.635.002-6.582-2.558-12.772-7.209-17.428zM28.954 48.616h-.009a20.445 20.445 0 0 1-10.421-2.854l-.748-.444-7.75 2.033 2.07-7.555-.488-.775a20.427 20.427 0 0 1-3.13-10.897c.004-11.29 9.19-20.474 20.484-20.474a20.336 20.336 0 0 1 14.476 6.005 20.352 20.352 0 0 1 5.991 14.485c-.004 11.29-9.19 20.476-20.475 20.476z"
|
|
170
170
|
});
|
|
171
|
-
t1 = /*#__PURE__*/
|
|
171
|
+
t1 = /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
172
172
|
d: "M40.185 33.281c-.615-.308-3.642-1.797-4.206-2.003-.564-.205-.975-.308-1.385.308-.41.617-1.59 2.003-1.949 2.414-.359.41-.718.462-1.334.154-.615-.308-2.599-.958-4.95-3.055-1.83-1.632-3.065-3.648-3.424-4.264-.36-.617-.038-.95.27-1.257.277-.276.615-.719.923-1.078.308-.36.41-.616.616-1.027.205-.41.102-.77-.052-1.078-.153-.308-1.384-3.338-1.897-4.57-.5-1.2-1.008-1.038-1.385-1.057-.359-.018-.77-.022-1.18-.022s-1.077.154-1.642.77c-.564.616-2.154 2.106-2.154 5.135 0 3.03 2.206 5.957 2.513 6.368.308.41 4.341 6.628 10.516 9.294a35.341 35.341 0 0 0 3.509 1.297c1.474.469 2.816.402 3.877.244 1.183-.177 3.642-1.49 4.155-2.927.513-1.438.513-2.67.359-2.927-.154-.257-.564-.41-1.18-.719z"
|
|
173
173
|
});
|
|
174
174
|
$[0] = t0;
|
|
@@ -178,25 +178,25 @@ const IconCustomWhatsapp = /*#__PURE__*/_react.default.forwardRef((props, ref) =
|
|
|
178
178
|
t1 = $[1];
|
|
179
179
|
}
|
|
180
180
|
let t2;
|
|
181
|
-
if ($[2] !== props
|
|
182
|
-
t2 = /*#__PURE__*/
|
|
183
|
-
ref: ref,
|
|
181
|
+
if ($[2] !== props) {
|
|
182
|
+
t2 = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Icon.default, _objectSpread(_objectSpread({
|
|
184
183
|
name: "Whatsapp",
|
|
185
184
|
viewBox: "0 0 56.693 56.693"
|
|
186
|
-
}, props),
|
|
185
|
+
}, props), {}, {
|
|
186
|
+
children: [t0, t1]
|
|
187
|
+
}));
|
|
187
188
|
$[2] = props;
|
|
188
|
-
$[3] =
|
|
189
|
-
$[4] = t2;
|
|
189
|
+
$[3] = t2;
|
|
190
190
|
} else {
|
|
191
|
-
t2 = $[
|
|
191
|
+
t2 = $[3];
|
|
192
192
|
}
|
|
193
193
|
return t2;
|
|
194
|
-
}
|
|
195
|
-
const IconCustomViber =
|
|
196
|
-
const $ = (0, _compilerRuntime.c)(
|
|
194
|
+
};
|
|
195
|
+
const IconCustomViber = props => {
|
|
196
|
+
const $ = (0, _compilerRuntime.c)(3);
|
|
197
197
|
let t0;
|
|
198
198
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
199
|
-
t0 = /*#__PURE__*/
|
|
199
|
+
t0 = /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
200
200
|
d: "M57.4 4h-15C21.2 4 3.9 21.3 3.9 42.5c0 14.1 7.6 27 20 33.8v15.2c0 2.5 2 4.5 4.5 4.5 1.2 0 2.4-.5 3.2-1.3L45.3 81h12.1c21.2 0 38.5-17.3 38.5-38.5S78.7 4 57.4 4zm-9.1 16.7c.2-.1.2-.2.9-.2h.6c.6 0 1.5.1 2 .1 2.4.3 4 .6 6.3 1.7 2.2 1 3.6 2 5.4 3.8 1.7 1.7 2.7 3 3.7 5 1.4 2.8 2.2 6.1 2.4 9.8 0 1.3 0 1.4-.2 1.6-.2.2-.4.3-.7.3-.3 0-.5-.2-.7-.4-.1-.2-.1-.3-.2-1.3-.1-1.6-.2-2.6-.4-3.8-.9-4.9-3.3-8.8-7.1-11.6-3.1-2.3-5.9-3.2-10.3-3.5-1.4-.1-1.5-.1-1.7-.3-.2-.1-.3-.4-.3-.6.1-.2.1-.4.3-.6zm7.6 8.9c-1.5-.9-3.9-1.6-5.9-1.7-.6-.1-.9-.1-1.1-.4-.3-.3-.3-.7-.1-1 .1-.2.4-.5 2.3-.2 4.4.6 7.8 2.6 10 5.8 1.2 1.8 2 3.9 2.3 6.2.1.7.1 2.2 0 2.5 0 .1-.3.4-.4.5-.2.1-.6.1-.8-.1-.2-.1-.5-.2-.5-1.5 0-2-.5-4.1-1.4-5.7-1.1-1.8-2.6-3.3-4.4-4.4zm1.3 10.3c-.2.2-.8.2-1.1 0-.2-.2-.3-.3-.3-.9-.1-1.1-.3-1.8-.6-2.5-.7-1.5-2-2.3-4.2-2.6-.9-.1-1-.2-1.2-.4-.2-.2-.2-.4-.2-.7.1-.3.2-.5.4-.6.2-.1.2-.1.4-.1h.4c.3 0 .9.1 1.2.1 1.4.3 2.4.8 3.3 1.6 1.2 1.1 1.8 2.3 2.1 4.2.2 1.5.1 1.7-.2 1.9zm13.6 19c-.3.7-.9 1.6-1.3 2.2-.8 1.1-1.8 2.2-2.7 2.9-.2.2-.4.3-.5.4-.2.1-.3.2-.4.3-.8.5-1.4.9-2.1 1.1-.5.2-1 .2-1.6.3h-.5c-.9 0-1.5-.2-2.7-.7-1-.4-2.1-.9-3.2-1.4l-.3-.1-3-1.5c-.1-.1-.3-.1-.4-.2-.9-.5-1.9-1.1-2.8-1.6l-.3-.1-.1-.1C42.7 56.6 37.5 51.9 33 46c-.4-.6-.8-1.1-1.2-1.7-.2-.3-.4-.5-.6-.8l-.6-.8c-.3-.5-.7-1-1-1.5l-.1-.1-.9-1.5-.1-.1c-1.5-2.5-2.7-5.1-3.7-7.7-1-2.8-1.3-4.4-.2-6.4.5-.8 2.2-2.4 3.4-3.3 2.1-1.5 3-2.1 3.9-2.2.6-.1 1.7-.1 2.4.2.3.1.8.4 1.1.5 1.7 1.1 5.7 6.3 7 8.7.9 1.7 1.1 2.9.8 4-.3 1.1-.9 1.7-2.7 3.2-.4.3-.8.6-1.1.9l-.2.2-.8-.6.5.5.2.2c-.1.2-.3.7-.3 1.1 0 .9.7 2.9 1.7 4.6.8 1.2 2.2 2.8 3.6 4.1 1.6 1.5 3.1 2.5 4.7 3.2 1.8.9 3 1.2 3.6.9.1-.1.2-.1.3-.2.1-.1.5-.5 1.2-1.4.9-1.1 1.4-1.7 2.1-2 .2-.1.4-.2.7-.3 1.3-.4 2.6-.3 4 .3.9.5 2.7 1.5 3.9 2.4 1.5 1 4.9 3.7 5.4 4.3.6.7.9 1.5.9 2.4.3.4.1 1.1-.1 1.8z"
|
|
201
201
|
});
|
|
202
202
|
$[0] = t0;
|
|
@@ -204,20 +204,20 @@ const IconCustomViber = /*#__PURE__*/_react.default.forwardRef((props, ref) => {
|
|
|
204
204
|
t0 = $[0];
|
|
205
205
|
}
|
|
206
206
|
let t1;
|
|
207
|
-
if ($[1] !== props
|
|
208
|
-
t1 = /*#__PURE__*/
|
|
209
|
-
ref: ref,
|
|
207
|
+
if ($[1] !== props) {
|
|
208
|
+
t1 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, _objectSpread(_objectSpread({
|
|
210
209
|
name: "Viber",
|
|
211
210
|
viewBox: "0 0 100 100"
|
|
212
|
-
}, props),
|
|
211
|
+
}, props), {}, {
|
|
212
|
+
children: t0
|
|
213
|
+
}));
|
|
213
214
|
$[1] = props;
|
|
214
|
-
$[2] =
|
|
215
|
-
$[3] = t1;
|
|
215
|
+
$[2] = t1;
|
|
216
216
|
} else {
|
|
217
|
-
t1 = $[
|
|
217
|
+
t1 = $[2];
|
|
218
218
|
}
|
|
219
219
|
return t1;
|
|
220
|
-
}
|
|
220
|
+
};
|
|
221
221
|
const useStyle = (0, _styleReact.style)(theme => ({
|
|
222
222
|
root: {},
|
|
223
223
|
version_fixed: {
|
|
@@ -291,7 +291,7 @@ const useStyle = (0, _styleReact.style)(theme => ({
|
|
|
291
291
|
}), {
|
|
292
292
|
name: 'onesy-Share'
|
|
293
293
|
});
|
|
294
|
-
const Share =
|
|
294
|
+
const Share = props_ => {
|
|
295
295
|
var _theme$ui, _theme$ui2, _theme$elements, _theme$elements2, _theme$elements3, _theme$elements4, _theme$elements5, _theme$elements6, _theme$elements7, _theme$elements8;
|
|
296
296
|
const theme = (0, _styleReact.useOnesyTheme)();
|
|
297
297
|
const l = theme.l;
|
|
@@ -485,92 +485,106 @@ const Share = /*#__PURE__*/_react.default.forwardRef((props_, ref) => {
|
|
|
485
485
|
if (['top', 'bottom'].includes(position)) other.direction = other.direction || 'row';
|
|
486
486
|
const menuItemsMoreOptions = moreOptions.map(item_5 => ({
|
|
487
487
|
value: item_5,
|
|
488
|
-
start: /*#__PURE__*/
|
|
488
|
+
start: /*#__PURE__*/(0, _jsxRuntime.jsx)(item_5.Icon, {
|
|
489
489
|
color: item_5.color,
|
|
490
490
|
size: "small"
|
|
491
491
|
}),
|
|
492
492
|
startAlign: 'center',
|
|
493
|
-
primary: /*#__PURE__*/
|
|
494
|
-
version: "b3"
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
493
|
+
primary: /*#__PURE__*/(0, _jsxRuntime.jsx)(Type, {
|
|
494
|
+
version: "b3",
|
|
495
|
+
children: item_5.name
|
|
496
|
+
})
|
|
497
|
+
})).map((item_6, index_0) => /*#__PURE__*/(0, _jsxRuntime.jsx)(MenuItem, _objectSpread(_objectSpread(_objectSpread({
|
|
498
498
|
onClick: event_0 => onClick(item_6.value, event_0),
|
|
499
499
|
noBackground: true,
|
|
500
500
|
menuCloseOnClick: true,
|
|
501
501
|
button: true
|
|
502
|
-
}, item_6, itemProps === null || itemProps === void 0 ? void 0 : itemProps(item_6, index_0), MenuItemProps)));
|
|
502
|
+
}, item_6), itemProps === null || itemProps === void 0 ? void 0 : itemProps(item_6, index_0)), MenuItemProps), index_0));
|
|
503
503
|
if (version === 'menu-items') return menuItemsMoreOptions;
|
|
504
504
|
const AppendProps = {};
|
|
505
505
|
if (position === 'start') AppendProps.position = 'right';
|
|
506
506
|
if (position === 'end') AppendProps.position = 'left';
|
|
507
507
|
if (position === 'top') AppendProps.position = 'bottom';
|
|
508
508
|
if (position === 'bottom') AppendProps.position = 'top';
|
|
509
|
-
return /*#__PURE__*/
|
|
510
|
-
ref: ref,
|
|
509
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(Line, _objectSpread(_objectSpread({
|
|
511
510
|
gap: 0,
|
|
512
511
|
className: (0, _styleReact.classNames)([(0, _utils2.staticClassName)('Share', theme) && [`onesy-Share-root`, `onesy-Share-version-${version}`, `onesy-Share-size-${size}`], classes.root, classes[`version_${version}`], ['fixed', 'absolute'].includes(version) && classes[`position_${position}`]])
|
|
513
|
-
}, other),
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
})
|
|
512
|
+
}, other), {}, {
|
|
513
|
+
children: [[...(start || []), ...visibleOptions, ...(end || [])].map((item_7, index_1) => {
|
|
514
|
+
const itemProps_ = {
|
|
515
|
+
onClick: event_1 => onClick(item_7, event_1)
|
|
516
|
+
};
|
|
517
|
+
if ((0, _utils.is)('function', render)) return render(item_7.name, itemProps_);
|
|
518
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Tooltip, _objectSpread(_objectSpread({
|
|
519
|
+
label: item_7.name === l('Copy') && copied ? l('Copied!') : item_7.title || `${l('Share to')} ${item_7.name}`
|
|
520
|
+
}, AppendProps), {}, {
|
|
521
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(Line, _objectSpread(_objectSpread({
|
|
522
|
+
onClick: event_2 => onClick(item_7, event_2)
|
|
523
|
+
}, itemProps_), {}, {
|
|
524
|
+
className: (0, _styleReact.classNames)([(0, _utils2.staticClassName)('Share', theme) && ['onesy-Share-item', 'onesy-Share-visible'], itemProps_ === null || itemProps_ === void 0 ? void 0 : itemProps_.className, classes.item, classes[`item_size_${size}`]]),
|
|
525
|
+
style: _objectSpread({
|
|
526
|
+
color: theme.methods.palette.color.text(item_7.color),
|
|
527
|
+
backgroundColor: item_7.color
|
|
528
|
+
}, itemProps_ === null || itemProps_ === void 0 ? void 0 : itemProps_.style),
|
|
529
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(Interaction, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(item_7.Icon, {
|
|
530
|
+
size: "regular"
|
|
531
|
+
})]
|
|
532
|
+
}), index_1)
|
|
533
|
+
}));
|
|
534
|
+
}), !!(moreOptions !== null && moreOptions !== void 0 && moreOptions.length) && !mobile && /*#__PURE__*/(0, _jsxRuntime.jsx)(Menu, _objectSpread(_objectSpread({
|
|
535
|
+
menuItems: [...(startMore || []), ...menuItemsMoreOptions, ...(endMore || [])],
|
|
536
|
+
alignment: "start"
|
|
537
|
+
}, AppendProps), {}, {
|
|
538
|
+
ListProps: {
|
|
539
|
+
size: 'small',
|
|
540
|
+
style: {
|
|
541
|
+
maxHeight: 240,
|
|
542
|
+
overflowY: 'auto'
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Line, {
|
|
546
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Tooltip, _objectSpread(_objectSpread({
|
|
547
|
+
name: optionMore.title || l('More')
|
|
548
|
+
}, AppendProps), {}, {
|
|
549
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(Line, {
|
|
550
|
+
className: (0, _styleReact.classNames)([(0, _utils2.staticClassName)('Share', theme) && ['onesy-Share-item', 'onesy-Share-visible'], classes.item, classes[`item_size_${size}`]]),
|
|
551
|
+
style: {
|
|
552
|
+
color: theme.methods.palette.color.text(optionMore.color),
|
|
553
|
+
backgroundColor: optionMore.color
|
|
554
|
+
},
|
|
555
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(Interaction, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(optionMore.Icon, {
|
|
556
|
+
size: "regular"
|
|
557
|
+
})]
|
|
558
|
+
})
|
|
559
|
+
}))
|
|
560
|
+
})
|
|
561
|
+
})), !!(moreOptions !== null && moreOptions !== void 0 && moreOptions.length) && mobile && /*#__PURE__*/(0, _jsxRuntime.jsx)(Tooltip, _objectSpread(_objectSpread({
|
|
562
|
+
name: optionMore.title || l('More')
|
|
563
|
+
}, AppendProps), {}, {
|
|
564
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(Line, {
|
|
565
|
+
onClick: onOpenBottomSheet,
|
|
566
|
+
className: (0, _styleReact.classNames)(['onesy-Share-item', 'onesy-Share-visible', classes.item, classes[`item_size_${size}`]]),
|
|
567
|
+
style: {
|
|
568
|
+
color: theme.methods.palette.color.text(optionMore.color),
|
|
569
|
+
backgroundColor: optionMore.color
|
|
570
|
+
},
|
|
571
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(Interaction, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(optionMore.Icon, {
|
|
572
|
+
size: "regular"
|
|
573
|
+
})]
|
|
574
|
+
})
|
|
575
|
+
})), /*#__PURE__*/(0, _jsxRuntime.jsx)(BottomSheet, {
|
|
576
|
+
open: open,
|
|
577
|
+
onClose: onCloseBottomSheet,
|
|
578
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(List, {
|
|
579
|
+
menu: true,
|
|
580
|
+
noBackground: true,
|
|
581
|
+
SurfaceProps: {
|
|
582
|
+
elevation: false
|
|
583
|
+
},
|
|
584
|
+
children: menuItemsMoreOptions
|
|
585
|
+
})
|
|
586
|
+
})]
|
|
587
|
+
}));
|
|
588
|
+
};
|
|
575
589
|
Share.displayName = 'onesy-Share';
|
|
576
590
|
var _default = exports.default = Share;
|
package/Slide/Slide.js
CHANGED
|
@@ -5,21 +5,22 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
8
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
10
|
var _react = _interopRequireDefault(require("react"));
|
|
12
11
|
var _utils = require("@onesy/utils");
|
|
13
12
|
var _styleReact = require("@onesy/style-react");
|
|
14
13
|
var _ = require("..");
|
|
15
|
-
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
const _excluded = ["ref", "in", "prefix", "run", "append", "add", "enter", "exit", "enterOnAdd", "exitOnAdd", "noAbruption", "removeOnExited", "duration", "onTransition", "onAppended", "onAdd", "onAdding", "onAdded", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "onRemoved", "root", "min", "direction", "timing_function", "addTransition", "delay", "className", "style", "children"];
|
|
16
16
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
17
17
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
18
|
-
const Slide =
|
|
18
|
+
const Slide = props_ => {
|
|
19
19
|
var _theme$ui, _theme$ui2;
|
|
20
20
|
const theme = (0, _styleReact.useOnesyTheme)();
|
|
21
21
|
const props = _objectSpread(_objectSpread(_objectSpread({}, theme === null || theme === void 0 || (_theme$ui = theme.ui) === null || _theme$ui === void 0 || (_theme$ui = _theme$ui.elements) === null || _theme$ui === void 0 || (_theme$ui = _theme$ui.all) === null || _theme$ui === void 0 || (_theme$ui = _theme$ui.props) === null || _theme$ui === void 0 ? void 0 : _theme$ui.default), theme === null || theme === void 0 || (_theme$ui2 = theme.ui) === null || _theme$ui2 === void 0 || (_theme$ui2 = _theme$ui2.elements) === null || _theme$ui2 === void 0 || (_theme$ui2 = _theme$ui2.onesySlide) === null || _theme$ui2 === void 0 || (_theme$ui2 = _theme$ui2.props) === null || _theme$ui2 === void 0 ? void 0 : _theme$ui2.default), props_);
|
|
22
22
|
const {
|
|
23
|
+
ref,
|
|
23
24
|
in: inProp,
|
|
24
25
|
prefix,
|
|
25
26
|
run,
|
|
@@ -142,7 +143,7 @@ const Slide = /*#__PURE__*/_react.default.forwardRef((props_, ref) => {
|
|
|
142
143
|
return `${((0, _utils.is)('simple', duration) ? duration : duration[status_0]) || properties[property]}ms`;
|
|
143
144
|
};
|
|
144
145
|
const timingFunction = status_1 => ((0, _utils.is)('simple', timing_function) ? timing_function : timing_function[status_1]) || theme.transitions.timing_function.standard;
|
|
145
|
-
return /*#__PURE__*/
|
|
146
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_.Transition, _objectSpread(_objectSpread({
|
|
146
147
|
append: true,
|
|
147
148
|
removeOnExited: true,
|
|
148
149
|
onAppended: element => {
|
|
@@ -162,27 +163,29 @@ const Slide = /*#__PURE__*/_react.default.forwardRef((props_, ref) => {
|
|
|
162
163
|
onExit: element_1 => {
|
|
163
164
|
refs.rect.current = element_1 === null || element_1 === void 0 ? void 0 : element_1.getBoundingClientRect();
|
|
164
165
|
}
|
|
165
|
-
}, props),
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
if (
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
if (
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
if (
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
}
|
|
166
|
+
}, props), {}, {
|
|
167
|
+
children: (status_2, ref_) => {
|
|
168
|
+
var _children$props, _props;
|
|
169
|
+
return /*#__PURE__*/_react.default.cloneElement(children, _objectSpread(_objectSpread({}, other), {}, {
|
|
170
|
+
ref: item => {
|
|
171
|
+
refs.root.current = item;
|
|
172
|
+
if (ref) {
|
|
173
|
+
if ((0, _utils.is)('function', ref)) ref(item);else ref.current = item;
|
|
174
|
+
}
|
|
175
|
+
if (ref_) {
|
|
176
|
+
if ((0, _utils.is)('function', ref_)) ref_(item);else ref_.current = item;
|
|
177
|
+
}
|
|
178
|
+
if (children.ref) {
|
|
179
|
+
if ((0, _utils.is)('function', children.ref)) children.ref(item);else children.ref.current = item;
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
className: (0, _styleReact.classNames)([className, children === null || children === void 0 || (_children$props = children.props) === null || _children$props === void 0 ? void 0 : _children$props.className]),
|
|
183
|
+
style: _objectSpread(_objectSpread(_objectSpread({
|
|
184
|
+
transition: `transform ${duration(status_2)} ${timingFunction(status_2)} ${addTransition ? `, ${addTransition}` : ''}`
|
|
185
|
+
}, styles(status_2)), children === null || children === void 0 || (_props = children.props) === null || _props === void 0 ? void 0 : _props.style), style)
|
|
186
|
+
}));
|
|
187
|
+
}
|
|
188
|
+
}));
|
|
189
|
+
};
|
|
187
190
|
Slide.displayName = 'onesy-Slide';
|
|
188
191
|
var _default = exports.default = Slide;
|