@onesy/ui-react 1.0.1 → 1.0.3

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.
Files changed (174) hide show
  1. package/Accordion/Accordion.d.ts +1 -1
  2. package/Accordion/Accordion.js +2 -2
  3. package/Append/Append.d.ts +1 -1
  4. package/AreaChartItem/AreaChartItem.js +8 -8
  5. package/AudioPlayer/AudioPlayer.js +25 -25
  6. package/AudioRecorder/AudioRecorder.js +10 -10
  7. package/AutoComplete/AutoComplete.d.ts +2 -2
  8. package/AutoComplete/AutoComplete.js +2 -2
  9. package/Avatar/Avatar.js +4 -4
  10. package/Breadcrumbs/Breadcrumbs.js +2 -2
  11. package/BubbleChartItem/BubbleChartItem.js +6 -6
  12. package/Calendar/Calendar.d.ts +2 -2
  13. package/Calendar/Calendar.js +7 -7
  14. package/CalendarAvailability/CalendarAvailability.js +5 -5
  15. package/CalendarMenu/CalendarMenu.js +6 -6
  16. package/CalendarMonth/CalendarMonth.d.ts +3 -3
  17. package/CalendarMonth/CalendarMonth.js +2 -2
  18. package/CalendarViews/CalendarViews.d.ts +1 -1
  19. package/CalendarViews/CalendarViews.js +2 -2
  20. package/Carousel/Carousel.d.ts +2 -2
  21. package/Carousel/Carousel.js +2 -2
  22. package/Chart/Chart.d.ts +1 -1
  23. package/Chip/Chip.js +1 -1
  24. package/Clock/Clock.d.ts +4 -4
  25. package/Clock/Clock.js +11 -11
  26. package/ColumnChartItem/ColumnChartItem.js +6 -6
  27. package/Confirm/Confirm.js +4 -4
  28. package/Countdown/Countdown.js +4 -4
  29. package/DatePicker/DatePicker.js +3 -3
  30. package/DateTimePicker/DateTimePicker.d.ts +1 -1
  31. package/DateTimePicker/DateTimePicker.js +3 -3
  32. package/DragAndDropList/DragAndDropList.js +5 -5
  33. package/Drawing/Drawing.d.ts +1 -1
  34. package/Drawing/Drawing.js +4 -4
  35. package/DropZone/DropZone.js +1 -1
  36. package/Emojis/Emojis.js +8 -8
  37. package/FileChoose/FileChoose.d.ts +1 -1
  38. package/FileChoose/FileChoose.js +5 -5
  39. package/Frame/Frame.js +4 -4
  40. package/Grid/Grid.d.ts +1 -1
  41. package/HTMLCanvas/HTMLCanvas.js +6 -6
  42. package/ImageCrop/ImageCrop.d.ts +1 -1
  43. package/ImageCrop/ImageCrop.js +22 -22
  44. package/ImageEdit/ImageEdit.d.ts +1 -1
  45. package/ImageEdit/ImageEdit.js +23 -23
  46. package/ImageGallery/ImageGallery.js +14 -14
  47. package/Info/Info.js +1 -1
  48. package/Interaction/Interaction.d.ts +1 -1
  49. package/Keyframes/Keyframes.d.ts +1 -1
  50. package/Line/Line.d.ts +5 -5
  51. package/LineChartItem/LineChartItem.js +7 -7
  52. package/Links/Links.js +2 -2
  53. package/MainProgress/MainProgress.js +13 -13
  54. package/Medias/Medias.d.ts +1 -1
  55. package/Medias/Medias.js +1 -1
  56. package/MenuDesktop/MenuDesktop.d.ts +2 -2
  57. package/MenuDesktop/MenuDesktop.js +1 -1
  58. package/MenuItem/MenuItem.js +2 -2
  59. package/MoreOptions/MoreOptions.js +1 -1
  60. package/NavigationBar/NavigationBar.d.ts +1 -1
  61. package/NavigationItem/NavigationItem.d.ts +1 -1
  62. package/NumericTextField/NumericTextField.js +2 -2
  63. package/Page/Page.js +2 -2
  64. package/Pagination/Pagination.js +4 -4
  65. package/Parallax/Parallax.d.ts +1 -1
  66. package/Rating/Rating.js +2 -2
  67. package/RichTextEditor/RichTextEditor.js +69 -69
  68. package/ScatterChartItem/ScatterChartItem.js +6 -6
  69. package/ScreenCapture/ScreenCapture.d.ts +1 -1
  70. package/ScreenCapture/ScreenCapture.js +8 -8
  71. package/Section/Section.d.ts +1 -1
  72. package/SectionContact/SectionContact.js +3 -3
  73. package/SectionMedia/SectionMedia.js +1 -1
  74. package/Select/Select.js +2 -2
  75. package/Share/Share.js +4 -4
  76. package/Slider/Slider.d.ts +1 -1
  77. package/SmartTextField/SmartTextField.js +31 -31
  78. package/Snackbar/Snackbar.js +1 -1
  79. package/Space/Space.js +13 -13
  80. package/SpeechToText/SpeechToText.js +2 -2
  81. package/SpeedDial/SpeedDial.js +1 -1
  82. package/TableCell/TableCell.d.ts +1 -1
  83. package/TableCell/TableCell.js +1 -1
  84. package/TablePagination/TablePagination.js +4 -4
  85. package/Tabs/Tabs.js +4 -4
  86. package/TextField/TextField.js +1 -1
  87. package/TextToSpeech/TextToSpeech.js +2 -2
  88. package/TimePicker/TimePicker.d.ts +2 -2
  89. package/TimePicker/TimePicker.js +2 -2
  90. package/Timer/Timer.js +5 -5
  91. package/Transition/Transition.d.ts +1 -1
  92. package/Transitions/Transitions.d.ts +1 -1
  93. package/Tree/Tree.js +3 -3
  94. package/VideoPlayer/VideoPlayer.js +29 -29
  95. package/ViewSplit/ViewSplit.js +2 -2
  96. package/Weather/Weather.d.ts +3 -3
  97. package/Weather/Weather.js +5 -5
  98. package/Widgets/Widgets.js +2 -2
  99. package/WindowSplit/WindowSplit.js +2 -2
  100. package/esm/Accordion/Accordion.js +2 -2
  101. package/esm/AreaChartItem/AreaChartItem.js +8 -8
  102. package/esm/AudioPlayer/AudioPlayer.js +25 -25
  103. package/esm/AudioRecorder/AudioRecorder.js +10 -10
  104. package/esm/AutoComplete/AutoComplete.js +2 -2
  105. package/esm/Avatar/Avatar.js +2 -2
  106. package/esm/Breadcrumbs/Breadcrumbs.js +2 -2
  107. package/esm/BubbleChartItem/BubbleChartItem.js +6 -6
  108. package/esm/Calendar/Calendar.js +7 -7
  109. package/esm/CalendarAvailability/CalendarAvailability.js +5 -5
  110. package/esm/CalendarMenu/CalendarMenu.js +6 -6
  111. package/esm/CalendarMonth/CalendarMonth.js +2 -2
  112. package/esm/CalendarViews/CalendarViews.js +2 -2
  113. package/esm/Carousel/Carousel.js +2 -2
  114. package/esm/Chip/Chip.js +1 -1
  115. package/esm/Clock/Clock.js +11 -11
  116. package/esm/ColumnChartItem/ColumnChartItem.js +6 -6
  117. package/esm/Confirm/Confirm.js +4 -4
  118. package/esm/Countdown/Countdown.js +4 -4
  119. package/esm/DatePicker/DatePicker.js +3 -3
  120. package/esm/DateTimePicker/DateTimePicker.js +3 -3
  121. package/esm/DragAndDropList/DragAndDropList.js +5 -5
  122. package/esm/Drawing/Drawing.js +4 -4
  123. package/esm/DropZone/DropZone.js +1 -1
  124. package/esm/Emojis/Emojis.js +8 -8
  125. package/esm/FileChoose/FileChoose.js +5 -5
  126. package/esm/Frame/Frame.js +4 -4
  127. package/esm/HTMLCanvas/HTMLCanvas.js +6 -6
  128. package/esm/ImageCrop/ImageCrop.js +22 -22
  129. package/esm/ImageEdit/ImageEdit.js +23 -23
  130. package/esm/ImageGallery/ImageGallery.js +14 -14
  131. package/esm/Info/Info.js +1 -1
  132. package/esm/LineChartItem/LineChartItem.js +7 -7
  133. package/esm/Links/Links.js +2 -2
  134. package/esm/MainProgress/MainProgress.js +13 -13
  135. package/esm/Medias/Medias.js +1 -1
  136. package/esm/MenuDesktop/MenuDesktop.js +1 -1
  137. package/esm/MenuItem/MenuItem.js +2 -2
  138. package/esm/MoreOptions/MoreOptions.js +1 -1
  139. package/esm/NumericTextField/NumericTextField.js +2 -2
  140. package/esm/Page/Page.js +2 -2
  141. package/esm/Pagination/Pagination.js +4 -4
  142. package/esm/Rating/Rating.js +2 -2
  143. package/esm/RichTextEditor/RichTextEditor.js +69 -69
  144. package/esm/ScatterChartItem/ScatterChartItem.js +6 -6
  145. package/esm/ScreenCapture/ScreenCapture.js +8 -8
  146. package/esm/SectionContact/SectionContact.js +3 -3
  147. package/esm/SectionMedia/SectionMedia.js +1 -1
  148. package/esm/Select/Select.js +2 -2
  149. package/esm/Share/Share.js +4 -4
  150. package/esm/SmartTextField/SmartTextField.js +31 -31
  151. package/esm/Snackbar/Snackbar.js +1 -1
  152. package/esm/Space/Space.js +13 -13
  153. package/esm/SpeechToText/SpeechToText.js +2 -2
  154. package/esm/SpeedDial/SpeedDial.js +1 -1
  155. package/esm/TableCell/TableCell.js +1 -1
  156. package/esm/TablePagination/TablePagination.js +4 -4
  157. package/esm/Tabs/Tabs.js +4 -4
  158. package/esm/TextField/TextField.js +1 -1
  159. package/esm/TextToSpeech/TextToSpeech.js +2 -2
  160. package/esm/TimePicker/TimePicker.js +2 -2
  161. package/esm/Timer/Timer.js +5 -5
  162. package/esm/Tree/Tree.js +3 -3
  163. package/esm/VideoPlayer/VideoPlayer.js +29 -29
  164. package/esm/ViewSplit/ViewSplit.js +2 -2
  165. package/esm/Weather/Weather.js +5 -5
  166. package/esm/Widgets/Widgets.js +2 -2
  167. package/esm/WindowSplit/WindowSplit.js +2 -2
  168. package/esm/index.js +1 -1
  169. package/esm/useScroll/useScroll.js +2 -2
  170. package/package.json +1 -1
  171. package/types.d.ts +23 -23
  172. package/useForm/validate.d.ts +6 -6
  173. package/useScroll/useScroll.d.ts +1 -1
  174. package/useScroll/useScroll.js +2 -2
package/Tree/Tree.js CHANGED
@@ -18,7 +18,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
18
18
  const react_1 = __importDefault(require("react"));
19
19
  const utils_1 = require("@onesy/utils");
20
20
  const style_react_1 = require("@onesy/style-react");
21
- const IconMaterialExpandMoreW100_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialExpandMoreW100"));
21
+ const IconMaterialExpandMoreW100_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialExpandMoreW100"));
22
22
  const Checkbox_1 = __importDefault(require("../Checkbox"));
23
23
  const Surface_1 = __importDefault(require("../Surface"));
24
24
  const Type_1 = __importDefault(require("../Type"));
@@ -55,7 +55,6 @@ const useStyle = (0, style_react_1.style)(theme => ({
55
55
  lineHeight: '1.15',
56
56
  margin: '0',
57
57
  position: 'relative',
58
- color: 'inherit',
59
58
  padding: `${theme.methods.space.value(0.25, 'px')} ${theme.methods.space.value(1, 'px')}`,
60
59
  borderRadius: `${theme.shape.radius.unit * 0.5}px`
61
60
  },
@@ -69,6 +68,7 @@ const useStyle = (0, style_react_1.style)(theme => ({
69
68
  height: '14px',
70
69
  borderLeft: '2px solid',
71
70
  borderBottom: '2px solid',
71
+ color: theme.palette.color.neutral['90'],
72
72
  borderColor: theme.palette.light ? theme.palette.color.neutral['90'] : theme.palette.color.neutral['20'],
73
73
  borderBottomLeftRadius: '6px',
74
74
  transform: `rotateY(${theme.direction === 'ltr' ? 0 : 180}deg)`
@@ -133,7 +133,7 @@ const Tree = react_1.default.forwardRef((props_, ref) => {
133
133
  ids: {
134
134
  middle: react_1.default.useId()
135
135
  },
136
- inProgressTransition: react_1.default.useRef()
136
+ inProgressTransition: react_1.default.useRef(null)
137
137
  };
138
138
  const styles = {
139
139
  root: {}
@@ -19,18 +19,18 @@ const react_1 = __importDefault(require("react"));
19
19
  const utils_1 = require("@onesy/utils");
20
20
  const style_react_1 = require("@onesy/style-react");
21
21
  const date_1 = require("@onesy/date");
22
- const IconMaterialPlayArrowW100_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialPlayArrowW100"));
23
- const IconMaterialPauseW100_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialPauseW100"));
24
- const IconMaterialForwardMediaW100_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialForwardMediaW100"));
25
- const IconMaterialVolumeDownAltW100_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialVolumeDownAltW100"));
26
- const IconMaterialVolumeOffW100_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialVolumeOffW100"));
27
- const IconMaterialFullscreenW100_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialFullscreenW100"));
28
- const IconMaterialFullscreenExitW100_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialFullscreenExitW100"));
29
- const IconMaterialSettingsW100_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialSettingsW100"));
30
- const IconMaterialTuneW100_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialTuneW100"));
31
- const IconMaterialSlowMotionVideoW100_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialSlowMotionVideoW100"));
32
- const IconMaterialPictureInPictureAltW100_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialPictureInPictureAltW100"));
33
- const IconMaterialArrowBackIosW100_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialArrowBackIosW100"));
22
+ const IconMaterialPlayArrowW100_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialPlayArrowW100"));
23
+ const IconMaterialPauseW100_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialPauseW100"));
24
+ const IconMaterialForwardMediaW100_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialForwardMediaW100"));
25
+ const IconMaterialVolumeDownAltW100_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialVolumeDownAltW100"));
26
+ const IconMaterialVolumeOffW100_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialVolumeOffW100"));
27
+ const IconMaterialFullscreenW100_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialFullscreenW100"));
28
+ const IconMaterialFullscreenExitW100_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialFullscreenExitW100"));
29
+ const IconMaterialSettingsW100_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialSettingsW100"));
30
+ const IconMaterialTuneW100_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialTuneW100"));
31
+ const IconMaterialSlowMotionVideoW100_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialSlowMotionVideoW100"));
32
+ const IconMaterialPictureInPictureAltW100_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialPictureInPictureAltW100"));
33
+ const IconMaterialArrowBackIosW100_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialArrowBackIosW100"));
34
34
  const Line_1 = __importDefault(require("../Line"));
35
35
  const Surface_1 = __importDefault(require("../Surface"));
36
36
  const Slider_1 = __importDefault(require("../Slider"));
@@ -190,25 +190,25 @@ const VideoPlayer = react_1.default.forwardRef((props_, ref) => {
190
190
  const [playbackSpeed, setPlaybackSpeed] = react_1.default.useState(1);
191
191
  const [openMenu, setOpenMenu] = react_1.default.useState();
192
192
  const refs = {
193
- root: react_1.default.useRef(undefined),
194
- video: react_1.default.useRef(),
195
- controls: react_1.default.useRef(undefined),
196
- duration: react_1.default.useRef(undefined),
197
- time: react_1.default.useRef(undefined),
198
- play: react_1.default.useRef(undefined),
199
- updating: react_1.default.useRef(undefined),
200
- onPlay: react_1.default.useRef(undefined),
201
- onPause: react_1.default.useRef(undefined),
202
- onTimeChange: react_1.default.useRef(undefined),
203
- onBackward: react_1.default.useRef(undefined),
204
- onForward: react_1.default.useRef(undefined),
205
- onStop: react_1.default.useRef(undefined),
206
- startMediaSession: react_1.default.useRef(undefined),
207
- updateMediaSession: react_1.default.useRef(undefined),
208
- startMediaSessionOnPlay: react_1.default.useRef(undefined),
193
+ root: react_1.default.useRef(null),
194
+ video: react_1.default.useRef(null),
195
+ controls: react_1.default.useRef(null),
196
+ duration: react_1.default.useRef(null),
197
+ time: react_1.default.useRef(null),
198
+ play: react_1.default.useRef(null),
199
+ updating: react_1.default.useRef(null),
200
+ onPlay: react_1.default.useRef(null),
201
+ onPause: react_1.default.useRef(null),
202
+ onTimeChange: react_1.default.useRef(null),
203
+ onBackward: react_1.default.useRef(null),
204
+ onForward: react_1.default.useRef(null),
205
+ onStop: react_1.default.useRef(null),
206
+ startMediaSession: react_1.default.useRef(null),
207
+ updateMediaSession: react_1.default.useRef(null),
208
+ startMediaSessionOnPlay: react_1.default.useRef(null),
209
209
  fullScreen: react_1.default.useRef(fullScreen),
210
210
  mouseMoved: react_1.default.useRef(mouseMoved),
211
- timeoutMouseMoved: react_1.default.useRef(undefined)
211
+ timeoutMouseMoved: react_1.default.useRef(null)
212
212
  };
213
213
  refs.duration.current = duration;
214
214
  refs.time.current = time;
@@ -18,8 +18,8 @@ const jsx_runtime_1 = require("react/jsx-runtime");
18
18
  const react_1 = __importDefault(require("react"));
19
19
  const utils_1 = require("@onesy/utils");
20
20
  const style_react_1 = require("@onesy/style-react");
21
- const IconMaterialSwapHorizW100_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialSwapHorizW100"));
22
- const IconMaterialSwapVertW100_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialSwapVertW100"));
21
+ const IconMaterialSwapHorizW100_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialSwapHorizW100"));
22
+ const IconMaterialSwapVertW100_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialSwapVertW100"));
23
23
  const Line_1 = __importDefault(require("../Line"));
24
24
  const Divider_1 = __importDefault(require("../Divider"));
25
25
  const IconButton_1 = __importDefault(require("../IconButton"));
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
3
  import { ISize, IElementReference, IPropsAny } from '../types';
4
- export declare type TWeatherDayTime = 'day' | 'night';
5
- export declare type TWeather = 'clear' | 'partly clear' | 'rainy' | 'partly rainy' | 'snowy' | 'partly snowy';
6
- export declare type TTemperature = number;
4
+ export type TWeatherDayTime = 'day' | 'night';
5
+ export type TWeather = 'clear' | 'partly clear' | 'rainy' | 'partly rainy' | 'snowy' | 'partly snowy';
6
+ export type TTemperature = number;
7
7
  export interface IWeather extends ISurface {
8
8
  size?: ISize;
9
9
  shadow?: boolean;
@@ -18,11 +18,11 @@ const jsx_runtime_1 = require("react/jsx-runtime");
18
18
  const react_1 = __importDefault(require("react"));
19
19
  const utils_1 = require("@onesy/utils");
20
20
  const style_react_1 = require("@onesy/style-react");
21
- const IconMaterialCircleW100Filled_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialCircleW100Filled"));
22
- const IconMaterialNightlightW100Filled_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialNightlightW100Filled"));
23
- const IconMaterialCloudW100Filled_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialCloudW100Filled"));
24
- const IconMaterialRainyW100Filled_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialRainyW100Filled"));
25
- const IconMaterialCloudySnowingW100Filled_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialCloudySnowingW100Filled"));
21
+ const IconMaterialCircleW100Filled_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialCircleW100Filled"));
22
+ const IconMaterialNightlightW100Filled_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialNightlightW100Filled"));
23
+ const IconMaterialCloudW100Filled_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialCloudW100Filled"));
24
+ const IconMaterialRainyW100Filled_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialRainyW100Filled"));
25
+ const IconMaterialCloudySnowingW100Filled_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialCloudySnowingW100Filled"));
26
26
  const Surface_1 = __importDefault(require("../Surface"));
27
27
  const Type_1 = __importDefault(require("../Type"));
28
28
  const Fade_1 = __importDefault(require("../Fade"));
@@ -18,8 +18,8 @@ const jsx_runtime_1 = require("react/jsx-runtime");
18
18
  const react_1 = __importDefault(require("react"));
19
19
  const utils_1 = require("@onesy/utils");
20
20
  const style_react_1 = require("@onesy/style-react");
21
- const IconMaterialCloseW100_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialCloseW100"));
22
- const IconMaterialWidgetsW100_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialWidgetsW100"));
21
+ const IconMaterialCloseW100_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialCloseW100"));
22
+ const IconMaterialWidgetsW100_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialWidgetsW100"));
23
23
  const SpeedDial_1 = __importDefault(require("../SpeedDial"));
24
24
  const SpeedDialItem_1 = __importDefault(require("../SpeedDialItem"));
25
25
  const Transition_1 = __importDefault(require("../Transition"));
@@ -18,8 +18,8 @@ const jsx_runtime_1 = require("react/jsx-runtime");
18
18
  const react_1 = __importDefault(require("react"));
19
19
  const utils_1 = require("@onesy/utils");
20
20
  const style_react_1 = require("@onesy/style-react");
21
- const IconMaterialSwapHorizW100_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialSwapHorizW100"));
22
- const IconMaterialSwapVertW100_1 = __importDefault(require("@amaui/icons-material-rounded-react/IconMaterialSwapVertW100"));
21
+ const IconMaterialSwapHorizW100_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialSwapHorizW100"));
22
+ const IconMaterialSwapVertW100_1 = __importDefault(require("@onesy/icons-material-rounded-react/IconMaterialSwapVertW100"));
23
23
  const Line_1 = __importDefault(require("../Line"));
24
24
  const Divider_1 = __importDefault(require("../Divider"));
25
25
  const IconButton_1 = __importDefault(require("../IconButton"));
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import React from 'react';
8
8
  import { is } from '@onesy/utils';
9
9
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
10
- import IconMaterialExpandMore from '@amaui/icons-material-rounded-react/IconMaterialExpandMoreW100';
10
+ import IconMaterialExpandMore from '@onesy/icons-material-rounded-react/IconMaterialExpandMoreW100';
11
11
  import SurfaceElement from '../Surface';
12
12
  import FadeElement from '../Fade';
13
13
  import ExpandElement from '../Expand';
@@ -205,7 +205,7 @@ const Accordion = /*#__PURE__*/React.forwardRef((props_, ref) => {
205
205
  button: React.useId(),
206
206
  data: React.useId()
207
207
  },
208
- expandInProgress: React.useRef()
208
+ expandInProgress: React.useRef(null)
209
209
  };
210
210
  const {
211
211
  classes
@@ -72,15 +72,15 @@ const AreaChartItem = /*#__PURE__*/React.forwardRef((props_, ref) => {
72
72
  classes
73
73
  } = useStyle();
74
74
  const refs = {
75
- minMax: React.useRef(undefined),
76
- smooth: React.useRef(undefined),
77
- theme: React.useRef(undefined),
78
- path: React.useRef(),
79
- pathBackground: React.useRef(),
75
+ minMax: React.useRef(null),
76
+ smooth: React.useRef(null),
77
+ theme: React.useRef(null),
78
+ path: React.useRef(null),
79
+ pathBackground: React.useRef(null),
80
80
  pathStyle: React.useRef({}),
81
- animate: React.useRef(undefined),
82
- animateTimeout: React.useRef(),
83
- init: React.useRef(undefined)
81
+ animate: React.useRef(null),
82
+ animateTimeout: React.useRef(null),
83
+ init: React.useRef(null)
84
84
  };
85
85
  const keys = React.useMemo(() => {
86
86
  const result = [];
@@ -8,15 +8,15 @@ import React from 'react';
8
8
  import { clamp, getLeadingZerosNumber, is, isEnvironment } from '@onesy/utils';
9
9
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
10
10
  import { duration as durationMethod } from '@onesy/date';
11
- import IconMaterialPlayArrow from '@amaui/icons-material-rounded-react/IconMaterialPlayArrowW100';
12
- import IconMaterialPause from '@amaui/icons-material-rounded-react/IconMaterialPauseW100';
13
- import IconMaterialForwardMedia from '@amaui/icons-material-rounded-react/IconMaterialForwardMediaW100';
14
- import IconMaterialVolumeDownAlt from '@amaui/icons-material-rounded-react/IconMaterialVolumeDownAltW100';
15
- import IconMaterialVolumeOff from '@amaui/icons-material-rounded-react/IconMaterialVolumeOffW100';
16
- import IconMaterialSettings from '@amaui/icons-material-rounded-react/IconMaterialSettingsW100';
17
- import IconMaterialTune from '@amaui/icons-material-rounded-react/IconMaterialTuneW100';
18
- import IconMaterialSlowMotionVideo from '@amaui/icons-material-rounded-react/IconMaterialSlowMotionVideoW100';
19
- import IconMaterialArrowBackIos from '@amaui/icons-material-rounded-react/IconMaterialArrowBackIosW100';
11
+ import IconMaterialPlayArrow from '@onesy/icons-material-rounded-react/IconMaterialPlayArrowW100';
12
+ import IconMaterialPause from '@onesy/icons-material-rounded-react/IconMaterialPauseW100';
13
+ import IconMaterialForwardMedia from '@onesy/icons-material-rounded-react/IconMaterialForwardMediaW100';
14
+ import IconMaterialVolumeDownAlt from '@onesy/icons-material-rounded-react/IconMaterialVolumeDownAltW100';
15
+ import IconMaterialVolumeOff from '@onesy/icons-material-rounded-react/IconMaterialVolumeOffW100';
16
+ import IconMaterialSettings from '@onesy/icons-material-rounded-react/IconMaterialSettingsW100';
17
+ import IconMaterialTune from '@onesy/icons-material-rounded-react/IconMaterialTuneW100';
18
+ import IconMaterialSlowMotionVideo from '@onesy/icons-material-rounded-react/IconMaterialSlowMotionVideoW100';
19
+ import IconMaterialArrowBackIos from '@onesy/icons-material-rounded-react/IconMaterialArrowBackIosW100';
20
20
  import LineElement from '../Line';
21
21
  import SurfaceElement from '../Surface';
22
22
  import SliderElement from '../Slider';
@@ -188,22 +188,22 @@ const AudioPlayer = /*#__PURE__*/React.forwardRef((props_, ref) => {
188
188
  const [playbackSpeed, setPlaybackSpeed] = React.useState(1);
189
189
  const [openMenu, setOpenMenu] = React.useState();
190
190
  const refs = {
191
- root: React.useRef(undefined),
192
- audio: React.useRef(),
193
- controls: React.useRef(undefined),
194
- duration: React.useRef(undefined),
195
- time: React.useRef(undefined),
196
- play: React.useRef(undefined),
197
- updating: React.useRef(undefined),
198
- onPlay: React.useRef(undefined),
199
- onPause: React.useRef(undefined),
200
- onTimeChange: React.useRef(undefined),
201
- onBackward: React.useRef(undefined),
202
- onForward: React.useRef(undefined),
203
- onStop: React.useRef(undefined),
204
- startMediaSession: React.useRef(undefined),
205
- updateMediaSession: React.useRef(undefined),
206
- startMediaSessionOnPlay: React.useRef(undefined)
191
+ root: React.useRef(null),
192
+ audio: React.useRef(null),
193
+ controls: React.useRef(null),
194
+ duration: React.useRef(null),
195
+ time: React.useRef(null),
196
+ play: React.useRef(null),
197
+ updating: React.useRef(null),
198
+ onPlay: React.useRef(null),
199
+ onPause: React.useRef(null),
200
+ onTimeChange: React.useRef(null),
201
+ onBackward: React.useRef(null),
202
+ onForward: React.useRef(null),
203
+ onStop: React.useRef(null),
204
+ startMediaSession: React.useRef(null),
205
+ updateMediaSession: React.useRef(null),
206
+ startMediaSessionOnPlay: React.useRef(null)
207
207
  };
208
208
  refs.duration.current = duration;
209
209
  refs.time.current = time;
@@ -8,11 +8,11 @@ import React from 'react';
8
8
  import { getLeadingZerosNumber, is, isEnvironment } from '@onesy/utils';
9
9
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
10
10
  import { OnesyDate, duration } from '@onesy/date';
11
- import IconMaterialMic from '@amaui/icons-material-rounded-react/IconMaterialMicW100';
12
- import IconMaterialSend from '@amaui/icons-material-rounded-react/IconMaterialSendW100';
13
- import IconMaterialPlayArrow from '@amaui/icons-material-rounded-react/IconMaterialPlayArrowW100';
14
- import IconMaterialPause from '@amaui/icons-material-rounded-react/IconMaterialPauseW100';
15
- import IconMaterialStop from '@amaui/icons-material-rounded-react/IconMaterialStopW100';
11
+ import IconMaterialMic from '@onesy/icons-material-rounded-react/IconMaterialMicW100';
12
+ import IconMaterialSend from '@onesy/icons-material-rounded-react/IconMaterialSendW100';
13
+ import IconMaterialPlayArrow from '@onesy/icons-material-rounded-react/IconMaterialPlayArrowW100';
14
+ import IconMaterialPause from '@onesy/icons-material-rounded-react/IconMaterialPauseW100';
15
+ import IconMaterialStop from '@onesy/icons-material-rounded-react/IconMaterialStopW100';
16
16
  import LineElement from '../Line';
17
17
  import FadeElement from '../Fade';
18
18
  import TypeElement from '../Type';
@@ -100,14 +100,14 @@ const AudioRecorder = /*#__PURE__*/React.forwardRef((props_, ref) => {
100
100
  classes
101
101
  } = useStyle();
102
102
  const refs = {
103
- root: React.useRef(undefined),
104
- mediaRecorder: React.useRef(),
103
+ root: React.useRef(null),
104
+ mediaRecorder: React.useRef(null),
105
105
  mediaRecorderBytes: React.useRef([]),
106
106
  start: React.useRef(0),
107
107
  valuePaused: React.useRef(0),
108
- value: React.useRef(undefined),
109
- animationFrame: React.useRef(undefined),
110
- onData: React.useRef(undefined)
108
+ value: React.useRef(null),
109
+ animationFrame: React.useRef(null),
110
+ onData: React.useRef(null)
111
111
  };
112
112
  refs.onData.current = onData;
113
113
  const supported = isEnvironment('browser') && window.navigator.mediaDevices?.getUserMedia;
@@ -7,8 +7,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import React from 'react';
8
8
  import { getObjectValue, is, isEnvironment } from '@onesy/utils';
9
9
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
10
- import IconMaterialClose from '@amaui/icons-material-rounded-react/IconMaterialCloseW100';
11
- import IconMaterialArrowDropDown from '@amaui/icons-material-rounded-react/IconMaterialArrowDropDownW100';
10
+ import IconMaterialClose from '@onesy/icons-material-rounded-react/IconMaterialCloseW100';
11
+ import IconMaterialArrowDropDown from '@onesy/icons-material-rounded-react/IconMaterialArrowDropDownW100';
12
12
  import MenuElement from '../Menu';
13
13
  import ChipElement from '../Chip';
14
14
  import TypeElement from '../Type';
@@ -5,11 +5,11 @@ const _excluded = ["tonal", "version", "size", "color", "image", "alt", "square"
5
5
  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; }
6
6
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
7
  import React from 'react';
8
+ import { stringToColor } from '@onesy/utils';
8
9
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
9
10
  import ButtonElement from '../Button';
10
11
  import TypeElement from '../Type';
11
12
  import { staticClassName } from '../utils';
12
- import { stringToColor } from '@onesy/utils';
13
13
  const useStyle = styleMethod(theme => ({
14
14
  root: {
15
15
  '&.onesy-Button-root': {
@@ -81,7 +81,7 @@ const Avatar = /*#__PURE__*/React.forwardRef((props_, ref) => {
81
81
  if (size === 'small') typeProps.size = '0.75rem';else if (size === 'regular') typeProps.size = '1rem';else if (size === 'large') typeProps.size = '1.25rem';else if (!['small', 'regular', 'large'].includes(size)) typeProps.size = `${size * 0.4 / 16}rem`;
82
82
  children = /*#__PURE__*/React.createElement(Type, _extends({}, typeProps, TypeProps), children);
83
83
  }
84
- const color = color_ === 'auto' ? stringToColor(children_) : color_;
84
+ const color = color_ === 'auto' ? stringToColor(children_ || '') : color_;
85
85
  return /*#__PURE__*/React.createElement(Button, _extends({
86
86
  ref: ref,
87
87
  tonal: tonal,
@@ -7,8 +7,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import React from 'react';
8
8
  import { clamp, is, unique } from '@onesy/utils';
9
9
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
10
- import IconMaterialNavigateNext from '@amaui/icons-material-rounded-react/IconMaterialNavigateNextW100';
11
- import IconMaterialMoreHoriz from '@amaui/icons-material-rounded-react/IconMaterialMoreHorizW100';
10
+ import IconMaterialNavigateNext from '@onesy/icons-material-rounded-react/IconMaterialNavigateNextW100';
11
+ import IconMaterialMoreHoriz from '@onesy/icons-material-rounded-react/IconMaterialMoreHorizW100';
12
12
  import LineElement from '../Line';
13
13
  import TypeElement from '../Type';
14
14
  import IconButtonElement from '../IconButton';
@@ -58,13 +58,13 @@ const BubbleChartItem = /*#__PURE__*/React.forwardRef((props_, ref) => {
58
58
  classes
59
59
  } = useStyle();
60
60
  const refs = {
61
- minMax: React.useRef(undefined),
62
- theme: React.useRef(undefined),
63
- path: React.useRef(),
61
+ minMax: React.useRef(null),
62
+ theme: React.useRef(null),
63
+ path: React.useRef(null),
64
64
  pathStyle: React.useRef({}),
65
- animate: React.useRef(undefined),
66
- animateTimeout: React.useRef(),
67
- init: React.useRef(undefined)
65
+ animate: React.useRef(null),
66
+ animateTimeout: React.useRef(null),
67
+ init: React.useRef(null)
68
68
  };
69
69
  const keys = React.useMemo(() => {
70
70
  const result = [];
@@ -8,9 +8,9 @@ import React from 'react';
8
8
  import { clamp, is, isEnvironment, Try } from '@onesy/utils';
9
9
  import { classNames, style, useOnesyTheme } from '@onesy/style-react';
10
10
  import { OnesyDate, add, remove, format, set } from '@onesy/date';
11
- import IconMaterialNavigateBefore from '@amaui/icons-material-rounded-react/IconMaterialNavigateBeforeW100';
12
- import IconMaterialNavigateNext from '@amaui/icons-material-rounded-react/IconMaterialNavigateNextW100';
13
- import IconMaterialArrowDropDown from '@amaui/icons-material-rounded-react/IconMaterialArrowDropDownW100';
11
+ import IconMaterialNavigateBefore from '@onesy/icons-material-rounded-react/IconMaterialNavigateBeforeW100';
12
+ import IconMaterialNavigateNext from '@onesy/icons-material-rounded-react/IconMaterialNavigateNextW100';
13
+ import IconMaterialArrowDropDown from '@onesy/icons-material-rounded-react/IconMaterialArrowDropDownW100';
14
14
  import SurfaceElement from '../Surface';
15
15
  import LineElement from '../Line';
16
16
  import FadeElement from '../Fade';
@@ -192,10 +192,10 @@ const Calendar = /*#__PURE__*/React.forwardRef((props__, ref) => {
192
192
  classes
193
193
  } = useStyle();
194
194
  const refs = {
195
- root: React.useRef(undefined),
196
- month: React.useRef(undefined),
197
- year: React.useRef(undefined),
198
- inProgressTransition: React.useRef()
195
+ root: React.useRef(null),
196
+ month: React.useRef(null),
197
+ year: React.useRef(null),
198
+ inProgressTransition: React.useRef(null)
199
199
  };
200
200
  const [value, setValue] = React.useState(() => {
201
201
  const valueResult = (valueDefault !== undefined ? valueDefault : value_) || now && (range ? [new OnesyDate(), new OnesyDate()] : [new OnesyDate()]);
@@ -8,11 +8,11 @@ import React from 'react';
8
8
  import { capitalize, cleanValue, is, textToInnerHTML } from '@onesy/utils';
9
9
  import { style as styleMethod, classNames, useOnesyTheme, colors } from '@onesy/style-react';
10
10
  import { OnesyDate, add, endOf, format, remove, set, startOf } from '@onesy/date';
11
- import IconMaterialEdit from '@amaui/icons-material-rounded-react/IconMaterialEditW100';
12
- import IconMaterialKeyboardArrowDown from '@amaui/icons-material-rounded-react/IconMaterialKeyboardArrowDownW100';
13
- import IconMaterialArrowForwardIos from '@amaui/icons-material-rounded-react/IconMaterialArrowForwardIosW100';
14
- import IconMaterialArrowBackIosNew from '@amaui/icons-material-rounded-react/IconMaterialArrowBackIosNewW100';
15
- import IconMaterialDelete from '@amaui/icons-material-rounded-react/IconMaterialDeleteW100';
11
+ import IconMaterialEdit from '@onesy/icons-material-rounded-react/IconMaterialEditW100';
12
+ import IconMaterialKeyboardArrowDown from '@onesy/icons-material-rounded-react/IconMaterialKeyboardArrowDownW100';
13
+ import IconMaterialArrowForwardIos from '@onesy/icons-material-rounded-react/IconMaterialArrowForwardIosW100';
14
+ import IconMaterialArrowBackIosNew from '@onesy/icons-material-rounded-react/IconMaterialArrowBackIosNewW100';
15
+ import IconMaterialDelete from '@onesy/icons-material-rounded-react/IconMaterialDeleteW100';
16
16
  import CalendarWeekElement from '../CalendarWeek';
17
17
  import SelectElement from '../Select';
18
18
  import ButtonElement from '../Button';
@@ -8,12 +8,12 @@ import React from 'react';
8
8
  import { hash, is } from '@onesy/utils';
9
9
  import { classNames, style, useOnesyTheme } from '@onesy/style-react';
10
10
  import { OnesyDate, add, diff, format, is as isDate } from '@onesy/date';
11
- import IconMaterialScheduleRounded from '@amaui/icons-material-rounded-react/IconMaterialScheduleW100';
12
- import IconMaterialWbSunnyRounded from '@amaui/icons-material-rounded-react/IconMaterialWbSunnyW100';
13
- import IconMaterialWbTwilightRounded from '@amaui/icons-material-rounded-react/IconMaterialWbTwilightW100';
14
- import IconMaterialCounter7Rounded from '@amaui/icons-material-rounded-react/IconMaterialCounter7W100';
15
- import IconMaterialCalendarMonthRounded from '@amaui/icons-material-rounded-react/IconMaterialCalendarMonthW100';
16
- import IconMaterialDeleteRounded from '@amaui/icons-material-rounded-react/IconMaterialDeleteW100';
11
+ import IconMaterialScheduleRounded from '@onesy/icons-material-rounded-react/IconMaterialScheduleW100';
12
+ import IconMaterialWbSunnyRounded from '@onesy/icons-material-rounded-react/IconMaterialWbSunnyW100';
13
+ import IconMaterialWbTwilightRounded from '@onesy/icons-material-rounded-react/IconMaterialWbTwilightW100';
14
+ import IconMaterialCounter7Rounded from '@onesy/icons-material-rounded-react/IconMaterialCounter7W100';
15
+ import IconMaterialCalendarMonthRounded from '@onesy/icons-material-rounded-react/IconMaterialCalendarMonthW100';
16
+ import IconMaterialDeleteRounded from '@onesy/icons-material-rounded-react/IconMaterialDeleteW100';
17
17
  import MenuElement from '../Menu';
18
18
  import CalendarElement from '../Calendar';
19
19
  import LineElement from '../Line';
@@ -232,8 +232,8 @@ const CalendarMonth = /*#__PURE__*/React.forwardRef((props__, ref) => {
232
232
  id: React.useRef(`${month.year} ${month.month}`),
233
233
  previous: React.useRef(month),
234
234
  previousTheme: React.useRef(theme.palette.light),
235
- move: React.useRef(),
236
- noTransition: React.useRef(undefined)
235
+ move: React.useRef(null),
236
+ noTransition: React.useRef(null)
237
237
  };
238
238
  const weekStartDay = !['Monday', 'Sunday'].includes(weekStartDay_) ? 'Monday' : weekStartDay_;
239
239
 
@@ -8,8 +8,8 @@ import React from 'react';
8
8
  import { capitalize, is } from '@onesy/utils';
9
9
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
10
10
  import { add, OnesyDate, endOf, format, remove, startOf } from '@onesy/date';
11
- import IconMaterialArrowBackIosNew from '@amaui/icons-material-rounded-react/IconMaterialArrowBackIosNewW100';
12
- import IconMaterialArrowForwardIos from '@amaui/icons-material-rounded-react/IconMaterialArrowForwardIosW100';
11
+ import IconMaterialArrowBackIosNew from '@onesy/icons-material-rounded-react/IconMaterialArrowBackIosNewW100';
12
+ import IconMaterialArrowForwardIos from '@onesy/icons-material-rounded-react/IconMaterialArrowForwardIosW100';
13
13
  import CalendarWeekElement from '../CalendarWeek';
14
14
  import CalendarMonthElement from '../CalendarMonth';
15
15
  import IconButtonElement from '../IconButton';
@@ -7,8 +7,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import React from 'react';
8
8
  import { is, unique, clamp, debounce, equalDeep, isEnvironment } from '@onesy/utils';
9
9
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
10
- import IconMaterialNavigateBefore from '@amaui/icons-material-rounded-react/IconMaterialNavigateBeforeW100';
11
- import IconMaterialNavigateNext from '@amaui/icons-material-rounded-react/IconMaterialNavigateNextW100';
10
+ import IconMaterialNavigateBefore from '@onesy/icons-material-rounded-react/IconMaterialNavigateBeforeW100';
11
+ import IconMaterialNavigateNext from '@onesy/icons-material-rounded-react/IconMaterialNavigateNextW100';
12
12
  import LineElement from '../Line';
13
13
  import FadeElement from '../Fade';
14
14
  import IconButtonElement from '../IconButton';
package/esm/Chip/Chip.js CHANGED
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import React from 'react';
8
8
  import { is } from '@onesy/utils';
9
9
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
10
- import IconMaterialClose from '@amaui/icons-material-rounded-react/IconMaterialCloseW100';
10
+ import IconMaterialClose from '@onesy/icons-material-rounded-react/IconMaterialCloseW100';
11
11
  import ButtonElement from '../Button';
12
12
  import { IconDoneAnimated } from '../Buttons/Buttons';
13
13
  import { staticClassName } from '../utils';
@@ -71,17 +71,17 @@ const Clock = /*#__PURE__*/React.forwardRef((props__, ref) => {
71
71
  const [selecting, setSelecting] = React.useState((selectingDefault !== undefined ? selectingDefault : selecting_) || 'hour');
72
72
  const [mouseDown, setMouseDown] = React.useState(false);
73
73
  const refs = {
74
- root: React.useRef(undefined),
75
- middle: React.useRef(undefined),
76
- mouseDown: React.useRef(undefined),
77
- value: React.useRef(),
78
- selecting: React.useRef(),
79
- autoNext: React.useRef(),
80
- hour: React.useRef(),
81
- minute: React.useRef(),
82
- second: React.useRef(),
83
- format: React.useRef(),
84
- dayTime: React.useRef(undefined),
74
+ root: React.useRef(null),
75
+ middle: React.useRef(null),
76
+ mouseDown: React.useRef(null),
77
+ value: React.useRef(null),
78
+ selecting: React.useRef(null),
79
+ autoNext: React.useRef(null),
80
+ hour: React.useRef(null),
81
+ minute: React.useRef(null),
82
+ second: React.useRef(null),
83
+ format: React.useRef(null),
84
+ dayTime: React.useRef(null),
85
85
  previous: React.useRef(selecting)
86
86
  };
87
87
  refs.mouseDown.current = mouseDown;
@@ -54,13 +54,13 @@ const ColumnChartItem = /*#__PURE__*/React.forwardRef((props_, ref) => {
54
54
  classes
55
55
  } = useStyle();
56
56
  const refs = {
57
- minMax: React.useRef(undefined),
58
- theme: React.useRef(undefined),
59
- path: React.useRef(),
57
+ minMax: React.useRef(null),
58
+ theme: React.useRef(null),
59
+ path: React.useRef(null),
60
60
  pathStyle: React.useRef({}),
61
- animate: React.useRef(undefined),
62
- animateTimeout: React.useRef(),
63
- init: React.useRef(undefined)
61
+ animate: React.useRef(null),
62
+ animateTimeout: React.useRef(null),
63
+ init: React.useRef(null)
64
64
  };
65
65
  const keys = React.useMemo(() => {
66
66
  const result = [];
@@ -62,11 +62,11 @@ const Confirm = /*#__PURE__*/React.forwardRef((props_, ref) => {
62
62
  const [openModal, setOpenModal] = React.useState(false);
63
63
  const refs = {
64
64
  value: React.useRef({}),
65
- modal: React.useRef(),
66
- props: React.useRef(undefined),
65
+ modal: React.useRef(null),
66
+ props: React.useRef(null),
67
67
  promise: {
68
- resolve: React.useRef(undefined),
69
- reject: React.useRef(undefined)
68
+ resolve: React.useRef(null),
69
+ reject: React.useRef(null)
70
70
  }
71
71
  };
72
72
  refs.props.current = props;
@@ -8,10 +8,10 @@ import React from 'react';
8
8
  import { clamp, getLeadingZerosNumber, is } from '@onesy/utils';
9
9
  import { OnesyDate, duration } from '@onesy/date';
10
10
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
11
- import IconMaterialAvTimer from '@amaui/icons-material-rounded-react/IconMaterialAvTimerW100';
12
- import IconMaterialPlayArrow from '@amaui/icons-material-rounded-react/IconMaterialPlayArrowW100';
13
- import IconMaterialPause from '@amaui/icons-material-rounded-react/IconMaterialPauseW100';
14
- import IconMaterialStop from '@amaui/icons-material-rounded-react/IconMaterialStopW100';
11
+ import IconMaterialAvTimer from '@onesy/icons-material-rounded-react/IconMaterialAvTimerW100';
12
+ import IconMaterialPlayArrow from '@onesy/icons-material-rounded-react/IconMaterialPlayArrowW100';
13
+ import IconMaterialPause from '@onesy/icons-material-rounded-react/IconMaterialPauseW100';
14
+ import IconMaterialStop from '@onesy/icons-material-rounded-react/IconMaterialStopW100';
15
15
  import FadeElement from '../Fade';
16
16
  import TypeElement from '../Type';
17
17
  import TooltipElement from '../Tooltip';
@@ -8,9 +8,9 @@ import React from 'react';
8
8
  import { is, unique } from '@onesy/utils';
9
9
  import { OnesyDate, endOf, format, is as isOnesyDate, startOf } from '@onesy/date';
10
10
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
11
- import IconMaterialCalendarToday from '@amaui/icons-material-rounded-react/IconMaterialCalendarTodayW100Filled';
12
- import IconMaterialEdit from '@amaui/icons-material-rounded-react/IconMaterialEditW100';
13
- import IconMaterialClose from '@amaui/icons-material-rounded-react/IconMaterialCloseW100';
11
+ import IconMaterialCalendarToday from '@onesy/icons-material-rounded-react/IconMaterialCalendarTodayW100Filled';
12
+ import IconMaterialEdit from '@onesy/icons-material-rounded-react/IconMaterialEditW100';
13
+ import IconMaterialClose from '@onesy/icons-material-rounded-react/IconMaterialCloseW100';
14
14
  import IconButtonElement from '../IconButton';
15
15
  import ButtonElement from '../Button';
16
16
  import AdvancedTextFieldElement from '../AdvancedTextField';