@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
@@ -12,42 +12,42 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
12
12
  import React from 'react';
13
13
  import { is, isEnvironment, parse } from '@onesy/utils';
14
14
  import { classNames, colors, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
15
- import IconMaterialFormatItalic from '@amaui/icons-material-rounded-react/IconMaterialFormatItalicW100';
16
- import IconMaterialFormatUnderlined from '@amaui/icons-material-rounded-react/IconMaterialFormatUnderlinedW100';
17
- import IconMaterialFormatBold from '@amaui/icons-material-rounded-react/IconMaterialFormatBoldW100';
18
- import IconMaterialContentCopy from '@amaui/icons-material-rounded-react/IconMaterialContentCopyW100';
19
- import IconMaterialContentCut from '@amaui/icons-material-rounded-react/IconMaterialContentCutW100';
20
- import IconMaterialContentPaste from '@amaui/icons-material-rounded-react/IconMaterialContentPasteW100';
21
- import IconMaterialFormatAlignLeft from '@amaui/icons-material-rounded-react/IconMaterialFormatAlignLeftW100';
22
- import IconMaterialFormatAlignCenter from '@amaui/icons-material-rounded-react/IconMaterialFormatAlignCenterW100';
23
- import IconMaterialFormatAlignRight from '@amaui/icons-material-rounded-react/IconMaterialFormatAlignRightW100';
24
- import IconMaterialFormatAlignJustify from '@amaui/icons-material-rounded-react/IconMaterialFormatAlignJustifyW100';
25
- import IconMaterialStrikethroughS from '@amaui/icons-material-rounded-react/IconMaterialStrikethroughSW100';
26
- import IconMaterialUndo from '@amaui/icons-material-rounded-react/IconMaterialUndoW100';
27
- import IconMaterialRedo from '@amaui/icons-material-rounded-react/IconMaterialRedoW100';
28
- import IconMaterialFormatClear from '@amaui/icons-material-rounded-react/IconMaterialFormatClearW100';
29
- import IconMaterialSuperscript from '@amaui/icons-material-rounded-react/IconMaterialSuperscriptW100';
30
- import IconMaterialSubscript from '@amaui/icons-material-rounded-react/IconMaterialSubscriptW100';
31
- import IconMaterialFormatIndentIncrease from '@amaui/icons-material-rounded-react/IconMaterialFormatIndentIncreaseW100';
32
- import IconMaterialFormatIndentDecrease from '@amaui/icons-material-rounded-react/IconMaterialFormatIndentDecreaseW100';
33
- import IconMaterialFormatListNumbered from '@amaui/icons-material-rounded-react/IconMaterialFormatListNumberedW100';
34
- import IconMaterialFormatListBulleted from '@amaui/icons-material-rounded-react/IconMaterialFormatListBulletedW100';
35
- import IconMaterialHorizontalRule from '@amaui/icons-material-rounded-react/IconMaterialHorizontalRuleW100';
36
- import IconMaterialFormatColorText from '@amaui/icons-material-rounded-react/IconMaterialFormatColorTextW100';
37
- import IconMaterialFormatColorFill from '@amaui/icons-material-rounded-react/IconMaterialFormatColorFillW100';
38
- import IconMaterialAddLink from '@amaui/icons-material-rounded-react/IconMaterialAddLinkW100';
39
- import IconMaterialLinkOff from '@amaui/icons-material-rounded-react/IconMaterialLinkOffW100';
40
- import IconMaterialImage from '@amaui/icons-material-rounded-react/IconMaterialImageW100';
41
- import IconMaterialFormatQuote from '@amaui/icons-material-rounded-react/IconMaterialFormatQuoteW100';
42
- import IconMaterialVideocam from '@amaui/icons-material-rounded-react/IconMaterialVideocamW100';
43
- import IconMaterialPlayArrow from '@amaui/icons-material-rounded-react/IconMaterialPlayArrowW100';
44
- import IconMaterialCode from '@amaui/icons-material-rounded-react/IconMaterialCodeW100';
45
- import IconMaterialDeleteSweep from '@amaui/icons-material-rounded-react/IconMaterialDeleteSweepW100';
46
- import IconMaterialSelectAll from '@amaui/icons-material-rounded-react/IconMaterialSelectAllW100';
47
- import IconMaterialPrint from '@amaui/icons-material-rounded-react/IconMaterialPrintW100';
48
- import IconMaterialDownload from '@amaui/icons-material-rounded-react/IconMaterialDownloadW100';
49
- import IconMaterialTable from '@amaui/icons-material-rounded-react/IconMaterialTableW100';
50
- import IconMaterialDraw from '@amaui/icons-material-rounded-react/IconMaterialDrawW100';
15
+ import IconMaterialFormatItalic from '@onesy/icons-material-rounded-react/IconMaterialFormatItalicW100';
16
+ import IconMaterialFormatUnderlined from '@onesy/icons-material-rounded-react/IconMaterialFormatUnderlinedW100';
17
+ import IconMaterialFormatBold from '@onesy/icons-material-rounded-react/IconMaterialFormatBoldW100';
18
+ import IconMaterialContentCopy from '@onesy/icons-material-rounded-react/IconMaterialContentCopyW100';
19
+ import IconMaterialContentCut from '@onesy/icons-material-rounded-react/IconMaterialContentCutW100';
20
+ import IconMaterialContentPaste from '@onesy/icons-material-rounded-react/IconMaterialContentPasteW100';
21
+ import IconMaterialFormatAlignLeft from '@onesy/icons-material-rounded-react/IconMaterialFormatAlignLeftW100';
22
+ import IconMaterialFormatAlignCenter from '@onesy/icons-material-rounded-react/IconMaterialFormatAlignCenterW100';
23
+ import IconMaterialFormatAlignRight from '@onesy/icons-material-rounded-react/IconMaterialFormatAlignRightW100';
24
+ import IconMaterialFormatAlignJustify from '@onesy/icons-material-rounded-react/IconMaterialFormatAlignJustifyW100';
25
+ import IconMaterialStrikethroughS from '@onesy/icons-material-rounded-react/IconMaterialStrikethroughSW100';
26
+ import IconMaterialUndo from '@onesy/icons-material-rounded-react/IconMaterialUndoW100';
27
+ import IconMaterialRedo from '@onesy/icons-material-rounded-react/IconMaterialRedoW100';
28
+ import IconMaterialFormatClear from '@onesy/icons-material-rounded-react/IconMaterialFormatClearW100';
29
+ import IconMaterialSuperscript from '@onesy/icons-material-rounded-react/IconMaterialSuperscriptW100';
30
+ import IconMaterialSubscript from '@onesy/icons-material-rounded-react/IconMaterialSubscriptW100';
31
+ import IconMaterialFormatIndentIncrease from '@onesy/icons-material-rounded-react/IconMaterialFormatIndentIncreaseW100';
32
+ import IconMaterialFormatIndentDecrease from '@onesy/icons-material-rounded-react/IconMaterialFormatIndentDecreaseW100';
33
+ import IconMaterialFormatListNumbered from '@onesy/icons-material-rounded-react/IconMaterialFormatListNumberedW100';
34
+ import IconMaterialFormatListBulleted from '@onesy/icons-material-rounded-react/IconMaterialFormatListBulletedW100';
35
+ import IconMaterialHorizontalRule from '@onesy/icons-material-rounded-react/IconMaterialHorizontalRuleW100';
36
+ import IconMaterialFormatColorText from '@onesy/icons-material-rounded-react/IconMaterialFormatColorTextW100';
37
+ import IconMaterialFormatColorFill from '@onesy/icons-material-rounded-react/IconMaterialFormatColorFillW100';
38
+ import IconMaterialAddLink from '@onesy/icons-material-rounded-react/IconMaterialAddLinkW100';
39
+ import IconMaterialLinkOff from '@onesy/icons-material-rounded-react/IconMaterialLinkOffW100';
40
+ import IconMaterialImage from '@onesy/icons-material-rounded-react/IconMaterialImageW100';
41
+ import IconMaterialFormatQuote from '@onesy/icons-material-rounded-react/IconMaterialFormatQuoteW100';
42
+ import IconMaterialVideocam from '@onesy/icons-material-rounded-react/IconMaterialVideocamW100';
43
+ import IconMaterialPlayArrow from '@onesy/icons-material-rounded-react/IconMaterialPlayArrowW100';
44
+ import IconMaterialCode from '@onesy/icons-material-rounded-react/IconMaterialCodeW100';
45
+ import IconMaterialDeleteSweep from '@onesy/icons-material-rounded-react/IconMaterialDeleteSweepW100';
46
+ import IconMaterialSelectAll from '@onesy/icons-material-rounded-react/IconMaterialSelectAllW100';
47
+ import IconMaterialPrint from '@onesy/icons-material-rounded-react/IconMaterialPrintW100';
48
+ import IconMaterialDownload from '@onesy/icons-material-rounded-react/IconMaterialDownloadW100';
49
+ import IconMaterialTable from '@onesy/icons-material-rounded-react/IconMaterialTableW100';
50
+ import IconMaterialDraw from '@onesy/icons-material-rounded-react/IconMaterialDrawW100';
51
51
  import TypeElement from '../Type';
52
52
  import TooltipElement from '../Tooltip';
53
53
  import FadeElement from '../Fade';
@@ -341,43 +341,43 @@ const RichTextEditor = /*#__PURE__*/React.forwardRef((props__, ref) => {
341
341
  const [selected, setSelected] = React.useState([]);
342
342
  const [selection, setSelection] = React.useState();
343
343
  const refs = {
344
- root: React.useRef(undefined),
345
- value: React.useRef(undefined),
346
- range: React.useRef(undefined),
347
- inputValues: React.useRef(undefined),
348
- open: React.useRef(undefined),
349
- props: React.useRef(undefined),
350
- selected: React.useRef(undefined),
351
- miniMenu: React.useRef(undefined),
352
- miniMenuInclude: React.useRef(undefined),
344
+ root: React.useRef(null),
345
+ value: React.useRef(null),
346
+ range: React.useRef(null),
347
+ inputValues: React.useRef(null),
348
+ open: React.useRef(null),
349
+ props: React.useRef(null),
350
+ selected: React.useRef(null),
351
+ miniMenu: React.useRef(null),
352
+ miniMenuInclude: React.useRef(null),
353
353
  miniMenuElements: {
354
- color: React.useRef(undefined),
355
- colorPalette: React.useRef(undefined),
356
- background: React.useRef(undefined),
357
- backgroundPalette: React.useRef(undefined),
358
- linkAdd: React.useRef(undefined),
359
- linkAddInput: React.useRef(undefined),
360
- linkRemove: React.useRef(undefined)
354
+ color: React.useRef(null),
355
+ colorPalette: React.useRef(null),
356
+ background: React.useRef(null),
357
+ backgroundPalette: React.useRef(null),
358
+ linkAdd: React.useRef(null),
359
+ linkAddInput: React.useRef(null),
360
+ linkRemove: React.useRef(null)
361
361
  },
362
362
  elements: {
363
- color: React.useRef(undefined),
364
- background: React.useRef(undefined),
365
- linkAdd: React.useRef(undefined),
366
- linkRemove: React.useRef(undefined),
367
- quote: React.useRef(undefined),
368
- image: React.useRef(undefined),
369
- video: React.useRef(undefined),
370
- videoYoutube: React.useRef(undefined),
371
- table: React.useRef(undefined),
372
- drawing: React.useRef(undefined),
373
- drawingSvg: React.useRef(undefined),
374
- drawingSize: React.useRef(undefined),
375
- drawingSelect: React.useRef(undefined),
376
- drawingPalette: React.useRef(undefined),
377
- code: React.useRef(undefined)
363
+ color: React.useRef(null),
364
+ background: React.useRef(null),
365
+ linkAdd: React.useRef(null),
366
+ linkRemove: React.useRef(null),
367
+ quote: React.useRef(null),
368
+ image: React.useRef(null),
369
+ video: React.useRef(null),
370
+ videoYoutube: React.useRef(null),
371
+ table: React.useRef(null),
372
+ drawing: React.useRef(null),
373
+ drawingSvg: React.useRef(null),
374
+ drawingSize: React.useRef(null),
375
+ drawingSelect: React.useRef(null),
376
+ drawingPalette: React.useRef(null),
377
+ code: React.useRef(null)
378
378
  },
379
- rootDocument: React.useRef(),
380
- rootWindow: React.useRef()
379
+ rootDocument: React.useRef(null),
380
+ rootWindow: React.useRef(null)
381
381
  };
382
382
  refs.inputValues.current = inputValues;
383
383
  refs.open.current = open;
@@ -54,13 +54,13 @@ const ScatterChartItem = /*#__PURE__*/React.forwardRef((props_, ref) => {
54
54
  classes
55
55
  } = useStyle();
56
56
  const refs = {
57
- minMax: React.useRef(undefined),
58
- path: React.useRef(undefined),
59
- theme: React.useRef(undefined),
57
+ minMax: React.useRef(null),
58
+ path: React.useRef(null),
59
+ theme: 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 = [];
@@ -7,10 +7,10 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import React from 'react';
8
8
  import { canvasCrop, download, is, isEnvironment, isOS, wait } from '@onesy/utils';
9
9
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
10
- import IconMaterialFitScreen from '@amaui/icons-material-rounded-react/IconMaterialFitScreenW100';
11
- import IconMaterialDocumentScanner from '@amaui/icons-material-rounded-react/IconMaterialDocumentScannerW100';
12
- import IconMaterialCropFree from '@amaui/icons-material-rounded-react/IconMaterialCropFreeW100';
13
- import IconMaterialDownload from '@amaui/icons-material-rounded-react/IconMaterialDownloadW100';
10
+ import IconMaterialFitScreen from '@onesy/icons-material-rounded-react/IconMaterialFitScreenW100';
11
+ import IconMaterialDocumentScanner from '@onesy/icons-material-rounded-react/IconMaterialDocumentScannerW100';
12
+ import IconMaterialCropFree from '@onesy/icons-material-rounded-react/IconMaterialCropFreeW100';
13
+ import IconMaterialDownload from '@onesy/icons-material-rounded-react/IconMaterialDownloadW100';
14
14
  import TooltipElement from '../Tooltip';
15
15
  import SurfaceElement from '../Surface';
16
16
  import TextFieldElement from '../TextField';
@@ -88,10 +88,10 @@ const ScreenCapture = /*#__PURE__*/React.forwardRef((props_, ref) => {
88
88
  const [canvasSelectorValue, setCanvasSelectorValue] = React.useState();
89
89
  const [supported, setSupported] = React.useState(true);
90
90
  const refs = {
91
- root: React.useRef(undefined),
92
- canvas: React.useRef(undefined),
93
- canvasSelectorValue: React.useRef(undefined),
94
- element: React.useRef()
91
+ root: React.useRef(null),
92
+ canvas: React.useRef(null),
93
+ canvasSelectorValue: React.useRef(null),
94
+ element: React.useRef(null)
95
95
  };
96
96
  const touch = useMediaQuery('(pointer: coarse)', {
97
97
  element: refs.root.current
@@ -7,9 +7,9 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import React from 'react';
8
8
  import { is, textToInnerHTML } from '@onesy/utils';
9
9
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
10
- import IconMaterialMap from '@amaui/icons-material-rounded-react/IconMaterialMapW100';
11
- import IconMaterialCall from '@amaui/icons-material-rounded-react/IconMaterialCallW100';
12
- import IconMaterialMail from '@amaui/icons-material-rounded-react/IconMaterialMailW100';
10
+ import IconMaterialMap from '@onesy/icons-material-rounded-react/IconMaterialMapW100';
11
+ import IconMaterialCall from '@onesy/icons-material-rounded-react/IconMaterialCallW100';
12
+ import IconMaterialMail from '@onesy/icons-material-rounded-react/IconMaterialMailW100';
13
13
  import LineElement from '../Line';
14
14
  import PropertiesElement from '../Properties';
15
15
  import SectionElement from '../Section/Section';
@@ -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 { cleanValue, is } from '@onesy/utils';
9
9
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
10
- import IconMaterialDraft from '@amaui/icons-material-rounded-react/IconMaterialDraftW100';
10
+ import IconMaterialDraft from '@onesy/icons-material-rounded-react/IconMaterialDraftW100';
11
11
  import AudioPlayerElement from '../AudioPlayer';
12
12
  import ImageElement from '../Image';
13
13
  import InteractionElement from '../Interaction';
@@ -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, unique } 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 ListItemElement from '../ListItem';
13
13
  import TypeElement from '../Type';
14
14
  import MenuElement from '../Menu';
@@ -7,10 +7,10 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import React from 'react';
8
8
  import { clamp, copyToClipboard, is, isEnvironment } from '@onesy/utils';
9
9
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
10
- import IconMaterialLink from '@amaui/icons-material-rounded-react/IconMaterialLinkW100';
11
- import IconMaterialMail from '@amaui/icons-material-rounded-react/IconMaterialMailW100';
12
- import IconMaterialPrint from '@amaui/icons-material-rounded-react/IconMaterialPrintW100';
13
- import IconMaterialMoreHoriz from '@amaui/icons-material-rounded-react/IconMaterialMoreHorizW100';
10
+ import IconMaterialLink from '@onesy/icons-material-rounded-react/IconMaterialLinkW100';
11
+ import IconMaterialMail from '@onesy/icons-material-rounded-react/IconMaterialMailW100';
12
+ import IconMaterialPrint from '@onesy/icons-material-rounded-react/IconMaterialPrintW100';
13
+ import IconMaterialMoreHoriz from '@onesy/icons-material-rounded-react/IconMaterialMoreHorizW100';
14
14
  import LineElement from '../Line';
15
15
  import IconElement from '../Icon';
16
16
  import TypeElement from '../Type';
@@ -10,13 +10,13 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
10
10
  import React from 'react';
11
11
  import { innerHTMLToText, is, isEnvironment, parse, stringToColor, textToInnerHTML } from '@onesy/utils';
12
12
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
13
- import IconMaterialFormatItalic from '@amaui/icons-material-rounded-react/IconMaterialFormatItalicW100';
14
- import IconMaterialFormatUnderlined from '@amaui/icons-material-rounded-react/IconMaterialFormatUnderlinedW100';
15
- import IconMaterialStrikethroughS from '@amaui/icons-material-rounded-react/IconMaterialStrikethroughSW100';
16
- import IconMaterialFormatBold from '@amaui/icons-material-rounded-react/IconMaterialFormatBoldW100';
17
- import IconMaterialAddLink from '@amaui/icons-material-rounded-react/IconMaterialAddLinkW100';
18
- import IconMaterialLinkOff from '@amaui/icons-material-rounded-react/IconMaterialLinkOffW100';
19
- import IconMaterialFormatClear from '@amaui/icons-material-rounded-react/IconMaterialFormatClearW100';
13
+ import IconMaterialFormatItalic from '@onesy/icons-material-rounded-react/IconMaterialFormatItalicW100';
14
+ import IconMaterialFormatUnderlined from '@onesy/icons-material-rounded-react/IconMaterialFormatUnderlinedW100';
15
+ import IconMaterialStrikethroughS from '@onesy/icons-material-rounded-react/IconMaterialStrikethroughSW100';
16
+ import IconMaterialFormatBold from '@onesy/icons-material-rounded-react/IconMaterialFormatBoldW100';
17
+ import IconMaterialAddLink from '@onesy/icons-material-rounded-react/IconMaterialAddLinkW100';
18
+ import IconMaterialLinkOff from '@onesy/icons-material-rounded-react/IconMaterialLinkOffW100';
19
+ import IconMaterialFormatClear from '@onesy/icons-material-rounded-react/IconMaterialFormatClearW100';
20
20
  import TextFieldElement from '../TextField/TextField';
21
21
  import LineElement from '../Line';
22
22
  import ListElement from '../List';
@@ -159,35 +159,35 @@ const SmartTextField = /*#__PURE__*/React.forwardRef((props_, ref) => {
159
159
  const [open, setOpen] = React.useState({});
160
160
  const [inputValues, setInputValues] = React.useState({});
161
161
  const refs = {
162
- root: React.useRef(undefined),
163
- input: React.useRef(undefined),
164
- searchElement: React.useRef(undefined),
165
- error: React.useRef(undefined),
166
- search: React.useRef(undefined),
167
- open: React.useRef(undefined),
168
- openMenu: React.useRef(undefined),
169
- selectionMenu: React.useRef(undefined),
170
- caret: React.useRef(undefined),
171
- value: React.useRef(undefined),
162
+ root: React.useRef(null),
163
+ input: React.useRef(null),
164
+ searchElement: React.useRef(null),
165
+ error: React.useRef(null),
166
+ search: React.useRef(null),
167
+ open: React.useRef(null),
168
+ openMenu: React.useRef(null),
169
+ selectionMenu: React.useRef(null),
170
+ caret: React.useRef(null),
171
+ value: React.useRef(null),
172
172
  version: React.useRef(version),
173
173
  optionsMention: React.useRef(optionsMention),
174
174
  validateMeta: React.useRef({}),
175
- range: React.useRef(undefined),
176
- inputValues: React.useRef(undefined),
177
- miniMenu: React.useRef(undefined),
175
+ range: React.useRef(null),
176
+ inputValues: React.useRef(null),
177
+ miniMenu: React.useRef(null),
178
178
  miniMenuElements: {
179
- color: React.useRef(undefined),
180
- colorPalette: React.useRef(undefined),
181
- background: React.useRef(undefined),
182
- backgroundPalette: React.useRef(undefined),
183
- linkAdd: React.useRef(undefined),
184
- linkAddInput: React.useRef(undefined),
185
- linkRemove: React.useRef(undefined)
179
+ color: React.useRef(null),
180
+ colorPalette: React.useRef(null),
181
+ background: React.useRef(null),
182
+ backgroundPalette: React.useRef(null),
183
+ linkAdd: React.useRef(null),
184
+ linkAddInput: React.useRef(null),
185
+ linkRemove: React.useRef(null)
186
186
  },
187
- textSelected: React.useRef(undefined),
188
- textSelection: React.useRef(undefined),
189
- rootDocument: React.useRef(),
190
- rootWindow: React.useRef(),
187
+ textSelected: React.useRef(null),
188
+ textSelection: React.useRef(null),
189
+ rootDocument: React.useRef(null),
190
+ rootWindow: React.useRef(null),
191
191
  edit: React.useRef(edit),
192
192
  multiline: React.useRef(multiline),
193
193
  readOnly: React.useRef(readOnly),
@@ -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, getID, 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';
10
+ import IconMaterialClose from '@onesy/icons-material-rounded-react/IconMaterialCloseW100';
11
11
  import GrowElement from '../Grow';
12
12
  import TypeElement from '../Type';
13
13
  import SurfaceElement from '../Surface';
@@ -9,19 +9,19 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
9
9
  import React from 'react';
10
10
  import { clamp, cleanValue, copy, getID, is, isEnvironment, lighten, numberWithCommas, textToInnerHTML } from '@onesy/utils';
11
11
  import { classNames, style, useOnesyTheme } from '@onesy/style-react';
12
- import IconMaterialCheckCircle from '@amaui/icons-material-rounded-react/IconMaterialCheckCircleW100';
13
- import IconMaterialUngroup from '@amaui/icons-material-rounded-react/IconMaterialUngroupW100';
14
- import IconMaterialAdGroup from '@amaui/icons-material-rounded-react/IconMaterialAdGroupW100';
15
- import IconMaterialContentCopy from '@amaui/icons-material-rounded-react/IconMaterialContentCopyW100';
16
- import IconMaterialFlipToFront from '@amaui/icons-material-rounded-react/IconMaterialFlipToFrontW100';
17
- import IconMaterialFlipToBack from '@amaui/icons-material-rounded-react/IconMaterialFlipToBackW100';
18
- import IconMaterialKeyboardArrowDown from '@amaui/icons-material-rounded-react/IconMaterialKeyboardArrowDownW100';
19
- import IconMaterialKeyboardArrowUp from '@amaui/icons-material-rounded-react/IconMaterialKeyboardArrowUpW100';
20
- import IconMaterialSettings from '@amaui/icons-material-rounded-react/IconMaterialSettingsW100';
21
- import IconMaterialKeyboardArrowLeft from '@amaui/icons-material-rounded-react/IconMaterialKeyboardArrowLeftW100';
22
- import IconMaterialMenuOpen from '@amaui/icons-material-rounded-react/IconMaterialMenuOpenW100';
23
- import IconMaterialAdd from '@amaui/icons-material-rounded-react/IconMaterialAddW100';
24
- import IconMaterialClose from '@amaui/icons-material-rounded-react/IconMaterialCloseW100';
12
+ import IconMaterialCheckCircle from '@onesy/icons-material-rounded-react/IconMaterialCheckCircleW100';
13
+ import IconMaterialUngroup from '@onesy/icons-material-rounded-react/IconMaterialUngroupW100';
14
+ import IconMaterialAdGroup from '@onesy/icons-material-rounded-react/IconMaterialAdGroupW100';
15
+ import IconMaterialContentCopy from '@onesy/icons-material-rounded-react/IconMaterialContentCopyW100';
16
+ import IconMaterialFlipToFront from '@onesy/icons-material-rounded-react/IconMaterialFlipToFrontW100';
17
+ import IconMaterialFlipToBack from '@onesy/icons-material-rounded-react/IconMaterialFlipToBackW100';
18
+ import IconMaterialKeyboardArrowDown from '@onesy/icons-material-rounded-react/IconMaterialKeyboardArrowDownW100';
19
+ import IconMaterialKeyboardArrowUp from '@onesy/icons-material-rounded-react/IconMaterialKeyboardArrowUpW100';
20
+ import IconMaterialSettings from '@onesy/icons-material-rounded-react/IconMaterialSettingsW100';
21
+ import IconMaterialKeyboardArrowLeft from '@onesy/icons-material-rounded-react/IconMaterialKeyboardArrowLeftW100';
22
+ import IconMaterialMenuOpen from '@onesy/icons-material-rounded-react/IconMaterialMenuOpenW100';
23
+ import IconMaterialAdd from '@onesy/icons-material-rounded-react/IconMaterialAddW100';
24
+ import IconMaterialClose from '@onesy/icons-material-rounded-react/IconMaterialCloseW100';
25
25
  import Icon from '../Icon';
26
26
  import LineElement from '../Line';
27
27
  import CheckboxElement from '../Checkbox';
@@ -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, isEnvironment } from '@onesy/utils';
9
9
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
10
- import IconMaterialStop from '@amaui/icons-material-rounded-react/IconMaterialStopW100';
11
- import IconMaterialSpeechToText from '@amaui/icons-material-rounded-react/IconMaterialSpeechToTextW100';
10
+ import IconMaterialStop from '@onesy/icons-material-rounded-react/IconMaterialStopW100';
11
+ import IconMaterialSpeechToText from '@onesy/icons-material-rounded-react/IconMaterialSpeechToTextW100';
12
12
  import LineElement from '../Line';
13
13
  import TooltipElement from '../Tooltip';
14
14
  import IconButtonElement from '../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, clamp, isBrowser, 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';
10
+ import IconMaterialClose from '@onesy/icons-material-rounded-react/IconMaterialCloseW100';
11
11
  import ZoomElement from '../Zoom';
12
12
  import FadeElement from '../Fade';
13
13
  import FabElement from '../Fab';
@@ -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 { clamp, is } from '@onesy/utils';
9
9
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
10
- import IconMaterialArrowDownwardAlt from '@amaui/icons-material-rounded-react/IconMaterialArrowDownwardAltW100';
10
+ import IconMaterialArrowDownwardAlt from '@onesy/icons-material-rounded-react/IconMaterialArrowDownwardAltW100';
11
11
  import LineElement from '../Line';
12
12
  import IconButtonElement from '../IconButton';
13
13
  import TypeElement from '../Type';
@@ -7,10 +7,10 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import React from 'react';
8
8
  import { clamp, is } from '@onesy/utils';
9
9
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
10
- import IconMaterialLastPage from '@amaui/icons-material-rounded-react/IconMaterialLastPageW100';
11
- import IconMaterialFirstPage from '@amaui/icons-material-rounded-react/IconMaterialFirstPageW100';
12
- import IconMaterialNavigateNext from '@amaui/icons-material-rounded-react/IconMaterialNavigateNextW100';
13
- import IconMaterialNavigateBefore from '@amaui/icons-material-rounded-react/IconMaterialNavigateBeforeW100';
10
+ import IconMaterialLastPage from '@onesy/icons-material-rounded-react/IconMaterialLastPageW100';
11
+ import IconMaterialFirstPage from '@onesy/icons-material-rounded-react/IconMaterialFirstPageW100';
12
+ import IconMaterialNavigateNext from '@onesy/icons-material-rounded-react/IconMaterialNavigateNextW100';
13
+ import IconMaterialNavigateBefore from '@onesy/icons-material-rounded-react/IconMaterialNavigateBeforeW100';
14
14
  import LineElement from '../Line';
15
15
  import TypeElement from '../Type';
16
16
  import SelectElement from '../Select';
package/esm/Tabs/Tabs.js CHANGED
@@ -7,10 +7,10 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import React from 'react';
8
8
  import { is, wait } from '@onesy/utils';
9
9
  import { style as styleMethod, classNames, useOnesyTheme } from '@onesy/style-react';
10
- import IconMaterialExpandLess from '@amaui/icons-material-rounded-react/IconMaterialExpandLessW100';
11
- import IconMaterialExpandMore from '@amaui/icons-material-rounded-react/IconMaterialExpandMoreW100';
12
- import IconMaterialNavigateNext from '@amaui/icons-material-rounded-react/IconMaterialNavigateNextW100';
13
- import IconMaterialNavigateBefore from '@amaui/icons-material-rounded-react/IconMaterialNavigateBeforeW100';
10
+ import IconMaterialExpandLess from '@onesy/icons-material-rounded-react/IconMaterialExpandLessW100';
11
+ import IconMaterialExpandMore from '@onesy/icons-material-rounded-react/IconMaterialExpandMoreW100';
12
+ import IconMaterialNavigateNext from '@onesy/icons-material-rounded-react/IconMaterialNavigateNextW100';
13
+ import IconMaterialNavigateBefore from '@onesy/icons-material-rounded-react/IconMaterialNavigateBeforeW100';
14
14
  import SurfaceElement from '../Surface';
15
15
  import LineElement from '../Line';
16
16
  import IconButtonElement from '../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 { clamp, is, isEnvironment, unique } 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 TypeElement from '../Type';
12
12
  import LineElement from '../Line';
13
13
  import useMediaQuery from '../useMediaQuery';
@@ -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, isEnvironment, wait } from '@onesy/utils';
9
9
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
10
- import IconMaterialPause from '@amaui/icons-material-rounded-react/IconMaterialPauseW100';
11
- import IconMaterialTextToSpeech from '@amaui/icons-material-rounded-react/IconMaterialTextToSpeechW100';
10
+ import IconMaterialPause from '@onesy/icons-material-rounded-react/IconMaterialPauseW100';
11
+ import IconMaterialTextToSpeech from '@onesy/icons-material-rounded-react/IconMaterialTextToSpeechW100';
12
12
  import LineElement from '../Line';
13
13
  import TooltipElement from '../Tooltip';
14
14
  import IconButtonElement from '../IconButton';
@@ -8,8 +8,8 @@ import React from 'react';
8
8
  import { is, unique } from '@onesy/utils';
9
9
  import { OnesyDate, format as formatDate, set, is as isOnesyDate } from '@onesy/date';
10
10
  import { classNames, style as styleMethod, useOnesyTheme } from '@onesy/style-react';
11
- import IconMaterialSchedule from '@amaui/icons-material-rounded-react/IconMaterialScheduleW100';
12
- import IconMaterialKeyboardAlt from '@amaui/icons-material-rounded-react/IconMaterialKeyboardAltW100';
11
+ import IconMaterialSchedule from '@onesy/icons-material-rounded-react/IconMaterialScheduleW100';
12
+ import IconMaterialKeyboardAlt from '@onesy/icons-material-rounded-react/IconMaterialKeyboardAltW100';
13
13
  import IconButtonElement from '../IconButton';
14
14
  import AdvancedTextFieldElement from '../AdvancedTextField';
15
15
  import ModalElement from '../Modal';
@@ -8,11 +8,11 @@ import React from 'react';
8
8
  import { is, getLeadingZerosNumber } 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 IconMaterialTimer from '@amaui/icons-material-rounded-react/IconMaterialTimerW100';
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';
15
- import IconMaterialFlag from '@amaui/icons-material-rounded-react/IconMaterialFlagW100';
11
+ import IconMaterialTimer from '@onesy/icons-material-rounded-react/IconMaterialTimerW100';
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
+ import IconMaterialFlag from '@onesy/icons-material-rounded-react/IconMaterialFlagW100';
16
16
  import FadeElement from '../Fade';
17
17
  import ExpandElement from '../Expand';
18
18
  import TypeElement from '../Type';
package/esm/Tree/Tree.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 { clamp, is, isEnvironment } 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 CheckboxElement from '../Checkbox';
12
12
  import SurfaceElement from '../Surface';
13
13
  import TypeElement from '../Type';
@@ -44,7 +44,6 @@ const useStyle = styleMethod(theme => ({
44
44
  lineHeight: '1.15',
45
45
  margin: '0',
46
46
  position: 'relative',
47
- color: 'inherit',
48
47
  padding: `${theme.methods.space.value(0.25, 'px')} ${theme.methods.space.value(1, 'px')}`,
49
48
  borderRadius: `${theme.shape.radius.unit * 0.5}px`
50
49
  },
@@ -58,6 +57,7 @@ const useStyle = styleMethod(theme => ({
58
57
  height: '14px',
59
58
  borderLeft: '2px solid',
60
59
  borderBottom: '2px solid',
60
+ color: theme.palette.color.neutral['90'],
61
61
  borderColor: theme.palette.light ? theme.palette.color.neutral['90'] : theme.palette.color.neutral['20'],
62
62
  borderBottomLeftRadius: '6px',
63
63
  transform: `rotateY(${theme.direction === 'ltr' ? 0 : 180}deg)`
@@ -166,7 +166,7 @@ const Tree = /*#__PURE__*/React.forwardRef((props_, ref) => {
166
166
  ids: {
167
167
  middle: React.useId()
168
168
  },
169
- inProgressTransition: React.useRef()
169
+ inProgressTransition: React.useRef(null)
170
170
  };
171
171
  const styles = {
172
172
  root: {}