@ainias42/react-bootstrap-mobile 1.0.4 → 1.0.5

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 (76) hide show
  1. package/dist/Components/ActionSheet/ActionSheet.d.ts +1 -1
  2. package/dist/Components/FormElements/Button/Button.d.ts +4 -1
  3. package/dist/Components/FormElements/Button/Button.stories.d.ts +8 -2
  4. package/dist/Components/Icon/BaseIcon.d.ts +15 -0
  5. package/dist/Components/Icon/DoubleIcon.d.ts +1 -1
  6. package/dist/Components/Icon/Icon.d.ts +4 -13
  7. package/dist/Components/Icon/Icon.stories.d.ts +1 -1
  8. package/dist/Components/Layout/BaseBlock.d.ts +10 -0
  9. package/dist/Components/Layout/BaseInlineBlock.d.ts +10 -0
  10. package/dist/Components/Layout/Block.d.ts +4 -10
  11. package/dist/Components/Layout/Flex.d.ts +6 -1
  12. package/dist/Components/Layout/InlineBlock.d.ts +4 -10
  13. package/dist/Components/Menu/Menu.d.ts +1 -1
  14. package/dist/Components/Menu/MenuItem.d.ts +1 -1
  15. package/dist/Components/Menu/Submenu.d.ts +1 -1
  16. package/dist/Components/Menu/useHoverMenu.d.ts +17 -0
  17. package/dist/Components/SpoilerList/Spoiler/Spoiler.d.ts +1 -1
  18. package/dist/Components/TabBar/TabBar.d.ts +1 -1
  19. package/dist/Components/Title/HoverTitle.d.ts +9 -0
  20. package/dist/Components/Title/Title.stories.d.ts +11 -0
  21. package/dist/Components/Title/withTitle.d.ts +6 -0
  22. package/dist/Components/TopBar/TopBar.d.ts +1 -1
  23. package/dist/index.css +4 -3
  24. package/dist/index.css.map +1 -1
  25. package/dist/index.d.ts +6 -0
  26. package/dist/index.js +422 -205
  27. package/dist/index.js.map +1 -1
  28. package/package.json +1 -1
  29. package/src/Components/ActionSheet/ActionSheet.tsx +12 -10
  30. package/src/Components/Colors.stories.tsx +7 -7
  31. package/src/Components/Dialog/ButtonDialog.tsx +9 -9
  32. package/src/Components/Dialog/Dialog.tsx +6 -6
  33. package/src/Components/Dialog/DialogBackground.tsx +5 -5
  34. package/src/Components/Dialog/DialogContainer.tsx +3 -3
  35. package/src/Components/ErrorBoundary.tsx +3 -3
  36. package/src/Components/FormElements/Button/Button.tsx +2 -2
  37. package/src/Components/FormElements/Error/FormError.tsx +6 -6
  38. package/src/Components/FormElements/Input/FileInput/MultipleFileInput.tsx +7 -7
  39. package/src/Components/FormElements/Input/PasswordInput/PasswordInput.tsx +2 -2
  40. package/src/Components/FormElements/SearchSelectInput/SearchSelectInput.tsx +9 -9
  41. package/src/Components/Hooks/useDelayed.ts +5 -4
  42. package/src/Components/Icon/{Icon.tsx → BaseIcon.tsx} +6 -4
  43. package/src/Components/Icon/DoubleIcon.tsx +7 -7
  44. package/src/Components/Icon/Icon.stories.tsx +3 -3
  45. package/src/Components/Icon/Icon.ts +4 -0
  46. package/src/Components/Layout/{Block.tsx → BaseBlock.tsx} +2 -3
  47. package/src/Components/Layout/{InlineBlock.tsx → BaseInlineBlock.tsx} +2 -2
  48. package/src/Components/Layout/Block.ts +4 -0
  49. package/src/Components/Layout/Flex.tsx +16 -0
  50. package/src/Components/Layout/Grid/Grid.tsx +3 -3
  51. package/src/Components/Layout/Grid/GridItem.tsx +3 -3
  52. package/src/Components/Layout/InlineBlock.ts +4 -0
  53. package/src/Components/Layout/layout.module.scss +13 -0
  54. package/src/Components/LoadingArea/LoadingArea.stories.tsx +3 -3
  55. package/src/Components/Menu/HoverMenu.stories.tsx +3 -3
  56. package/src/Components/Menu/HoverMenu.tsx +8 -28
  57. package/src/Components/Menu/Menu.tsx +4 -4
  58. package/src/Components/Menu/MenuDivider.tsx +2 -2
  59. package/src/Components/Menu/MenuItem.tsx +6 -6
  60. package/src/Components/Menu/Submenu.tsx +7 -7
  61. package/src/Components/Menu/menu.module.scss +3 -2
  62. package/src/Components/Menu/useHoverMenu.ts +36 -0
  63. package/src/Components/SizeCalculator/SizeCalculator.tsx +3 -3
  64. package/src/Components/SpoilerList/Spoiler/Spoiler.tsx +9 -9
  65. package/src/Components/SpoilerList/SpoilerList.tsx +3 -3
  66. package/src/Components/TabBar/TabBar.tsx +3 -3
  67. package/src/Components/Title/HoverTitle.tsx +97 -0
  68. package/src/Components/Title/Title.stories.tsx +95 -0
  69. package/src/Components/Title/hoverTitle.module.scss +8 -0
  70. package/src/Components/Title/withTitle.module.scss +7 -0
  71. package/src/Components/Title/withTitle.tsx +48 -0
  72. package/src/Components/TopBar/MoreButton.tsx +3 -3
  73. package/src/Components/TopBar/TopBar.tsx +6 -6
  74. package/src/WrongChildError.ts +1 -0
  75. package/src/helper/withRestrictedChildren.tsx +3 -1
  76. package/src/index.ts +6 -0
package/dist/index.js CHANGED
@@ -121,7 +121,9 @@ function withRestrictedChildren(Component, defaultAllowChildren) {
121
121
  return (
122
122
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
123
123
  // @ts-ignore
124
- default_0.createElement(Component, Object.assign({}, newProps), children)
124
+ default_0.createElement(Component, Object.assign({}, newProps, {
125
+ __allowChildren: __allowChildren
126
+ }), children)
125
127
  );
126
128
  };
127
129
  hocComponent.displayName = displayName;
@@ -204,9 +206,9 @@ const ViewWithoutListeners = withMemo(function ViewWithoutListeners(_a) {
204
206
 
205
207
  ;// ./src/Components/Layout/layout.module.scss
206
208
  // extracted by mini-css-extract-plugin
207
- /* harmony default export */ const layout_module = ({"flex":"flex__Xtdxj","horizontal":"horizontal__HAxyH","grow":"grow__GRH5E","weight0":"weight0__mAhm_","weight1":"weight1__Gvlqz","weight2":"weight2__KF4_k","weight3":"weight3__fZi1h","weight4":"weight4__SUChB","weight5":"weight5__fgiwz","weight6":"weight6__tBvFt","center":"center__JNiHZ","block":"block__OUDP2","inlineBlock":"inlineBlock__C1O3Y","inline":"inline__uUoNu"});
208
- ;// ./src/Components/Layout/Block.tsx
209
- var Block_rest = undefined && undefined.__rest || function (s, e) {
209
+ /* harmony default export */ const layout_module = ({"flex":"flex__Xtdxj","horizontal":"horizontal__HAxyH","unaligned":"unaligned__jkwMg","fillWidth":"fillWidth__LDtNS","fillHeight":"fillHeight__pkb_S","grow":"grow__GRH5E","weight0":"weight0__mAhm_","weight1":"weight1__Gvlqz","weight2":"weight2__KF4_k","weight3":"weight3__fZi1h","weight4":"weight4__SUChB","weight5":"weight5__fgiwz","weight6":"weight6__tBvFt","center":"center__JNiHZ","block":"block__OUDP2","inlineBlock":"inlineBlock__C1O3Y","inline":"inline__uUoNu"});
210
+ ;// ./src/Components/Layout/BaseBlock.tsx
211
+ var BaseBlock_rest = undefined && undefined.__rest || function (s, e) {
210
212
  var t = {};
211
213
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
212
214
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -219,7 +221,7 @@ var Block_rest = undefined && undefined.__rest || function (s, e) {
219
221
 
220
222
 
221
223
 
222
- const Block = withMemo(function Block(_a) {
224
+ const BaseBlock = withMemo(function Block(_a) {
223
225
  // Variables
224
226
  var {
225
227
  children,
@@ -227,7 +229,7 @@ const Block = withMemo(function Block(_a) {
227
229
  className,
228
230
  ref
229
231
  } = _a,
230
- props = Block_rest(_a, ["children", "as", "className", "ref"]);
232
+ props = BaseBlock_rest(_a, ["children", "as", "className", "ref"]);
231
233
  // Refs
232
234
  // States
233
235
  // Selectors
@@ -409,7 +411,7 @@ class ErrorBoundary extends Component {
409
411
  if (error instanceof Error) {
410
412
  stack = error.stack;
411
413
  }
412
- return default_0.createElement(Block, null, default_0.createElement(HeadingMemo, null, message), !!stack && showStack && default_0.createElement(tmp, {
414
+ return default_0.createElement(BaseBlock, null, default_0.createElement(HeadingMemo, null, message), !!stack && showStack && default_0.createElement(tmp, {
413
415
  style: {
414
416
  whiteSpace: 'pre'
415
417
  }
@@ -493,6 +495,99 @@ function useWindow() {
493
495
  var _a;
494
496
  return (_a = useContext(WindowContext)) !== null && _a !== void 0 ? _a : typeof window !== 'undefined' ? window : undefined;
495
497
  }
498
+ ;// external "@fortawesome/react-fontawesome"
499
+
500
+ ;// ./src/Components/Icon/icon.module.scss
501
+ // extracted by mini-css-extract-plugin
502
+ /* harmony default export */ const icon_module = ({"margin":"margin__Oq6ib","imgIcon":"imgIcon__B6ZP0","doubleIconContainer":"doubleIconContainer__TzWce","secondIcon":"secondIcon__YwXe_"});
503
+ ;// ./src/Components/Icon/BaseIcon.tsx
504
+ var BaseIcon_rest = undefined && undefined.__rest || function (s, e) {
505
+ var t = {};
506
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
507
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
508
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
509
+ }
510
+ return t;
511
+ };
512
+
513
+
514
+
515
+
516
+
517
+ const BaseIcon = withMemo(function BaseIcon(_a) {
518
+ // Variables
519
+ var {
520
+ icon,
521
+ alt,
522
+ className,
523
+ noMargin = true,
524
+ style,
525
+ ref
526
+ } = _a,
527
+ props = BaseIcon_rest(_a, ["icon", "alt", "className", "noMargin", "style", "ref"]);
528
+ // States
529
+ // Refs
530
+ // Callbacks
531
+ // Effects
532
+ // Other
533
+ if (!alt && typeof icon === 'string') {
534
+ alt = icon;
535
+ }
536
+ // Render Functions
537
+ if (typeof icon === 'string' && (icon.includes('.') || icon.startsWith('data:'))) {
538
+ return createElement("img", {
539
+ src: icon,
540
+ alt: alt,
541
+ className: default_1(icon_module.imgIcon, className, {
542
+ [icon_module.margin]: !noMargin
543
+ }),
544
+ style: style,
545
+ ref: ref
546
+ });
547
+ }
548
+ return createElement(FontAwesomeIcon, Object.assign({}, props, {
549
+ icon: icon,
550
+ className: default_1(className, {
551
+ [icon_module.margin]: !noMargin
552
+ }),
553
+ style: style,
554
+ ref: ref
555
+ }));
556
+ });
557
+ ;// ./src/Components/Layout/BaseInlineBlock.tsx
558
+ var BaseInlineBlock_rest = undefined && undefined.__rest || function (s, e) {
559
+ var t = {};
560
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
561
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
562
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
563
+ }
564
+ return t;
565
+ };
566
+
567
+
568
+
569
+
570
+
571
+ const BaseInlineBlock = withMemo(function BaseInlineBlock(_a) {
572
+ // Variables
573
+ var {
574
+ children,
575
+ as = 'span',
576
+ className
577
+ } = _a,
578
+ props = BaseInlineBlock_rest(_a, ["children", "as", "className"]);
579
+ // Refs
580
+ // States
581
+ // Selectors
582
+ // Callbacks
583
+ // Effects
584
+ // Other
585
+ // Render Functions
586
+ return createElement(ViewWithoutListeners, Object.assign({}, props, {
587
+ className: default_1(layout_module.inlineBlock, className),
588
+ as: as
589
+ }), children);
590
+ });
496
591
  ;// ./src/Components/Hooks/useComposedRef.ts
497
592
 
498
593
  function useComposedRef(...refs) {
@@ -823,9 +918,15 @@ const Flex = withMemo(function Flex(_a) {
823
918
  className,
824
919
  horizontal = false,
825
920
  ref,
826
- grow = false
921
+ grow = false,
922
+ unaligned = false,
923
+ fill = false,
924
+ fillWidth = fill,
925
+ fillHeight = fill,
926
+ gap,
927
+ style
827
928
  } = _a,
828
- props = Flex_rest(_a, ["children", "as", "className", "horizontal", "ref", "grow"]);
929
+ props = Flex_rest(_a, ["children", "as", "className", "horizontal", "ref", "grow", "unaligned", "fill", "fillWidth", "fillHeight", "gap", "style"]);
829
930
  // States
830
931
  // Refs
831
932
  // Callbacks
@@ -836,105 +937,18 @@ const Flex = withMemo(function Flex(_a) {
836
937
  className: default_1(className, layout_module.flex, {
837
938
  [layout_module.horizontal]: horizontal,
838
939
  [layout_module.grow]: grow,
839
- [layout_module.weight1]: grow
940
+ [layout_module.weight1]: grow,
941
+ [layout_module.unaligned]: unaligned,
942
+ [layout_module.fillWidth]: fillWidth,
943
+ [layout_module.fillHeight]: fillHeight
840
944
  }),
945
+ style: Object.assign({
946
+ gap
947
+ }, style),
841
948
  as: as,
842
949
  ref: ref
843
950
  }, props), children);
844
951
  });
845
- ;// external "@fortawesome/react-fontawesome"
846
-
847
- ;// ./src/Components/Icon/icon.module.scss
848
- // extracted by mini-css-extract-plugin
849
- /* harmony default export */ const icon_module = ({"margin":"margin__Oq6ib","imgIcon":"imgIcon__B6ZP0","doubleIconContainer":"doubleIconContainer__TzWce","secondIcon":"secondIcon__YwXe_"});
850
- ;// ./src/Components/Icon/Icon.tsx
851
- var Icon_rest = undefined && undefined.__rest || function (s, e) {
852
- var t = {};
853
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
854
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
855
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
856
- }
857
- return t;
858
- };
859
-
860
-
861
-
862
-
863
-
864
- const Icon = withMemo(function Icon(_a) {
865
- // Variables
866
- var {
867
- icon,
868
- alt,
869
- className,
870
- noMargin = true,
871
- style,
872
- title
873
- } = _a,
874
- props = Icon_rest(_a, ["icon", "alt", "className", "noMargin", "style", "title"]);
875
- // States
876
- // Refs
877
- // Callbacks
878
- // Effects
879
- // Other
880
- if (!alt && typeof icon === 'string') {
881
- alt = icon;
882
- }
883
- // Render Functions
884
- if (typeof icon === 'string' && (icon.includes('.') || icon.startsWith('data:'))) {
885
- return createElement("img", {
886
- src: icon,
887
- alt: alt,
888
- className: default_1(icon_module.imgIcon, className, {
889
- [icon_module.margin]: !noMargin
890
- }),
891
- style: style,
892
- title: title
893
- });
894
- }
895
- return createElement(FontAwesomeIcon, Object.assign({}, props, {
896
- icon: icon,
897
- className: default_1(className, {
898
- [icon_module.margin]: !noMargin
899
- }),
900
- style: style,
901
- title: title
902
- }));
903
- });
904
- ;// ./src/Components/Layout/InlineBlock.tsx
905
- var InlineBlock_rest = undefined && undefined.__rest || function (s, e) {
906
- var t = {};
907
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
908
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
909
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
910
- }
911
- return t;
912
- };
913
-
914
-
915
-
916
-
917
-
918
- const InlineBlock = withMemo(function InlineBlock(_a) {
919
- // Variables
920
- var {
921
- children,
922
- as = 'span',
923
- className
924
- } = _a,
925
- props = InlineBlock_rest(_a, ["children", "as", "className"]);
926
- // Refs
927
- // States
928
- // Selectors
929
- // Callbacks
930
- // Effects
931
- // Other
932
- // Render Functions
933
- return createElement(ViewWithoutListeners, Object.assign({}, props, {
934
- className: default_1(layout_module.inlineBlock, className),
935
- as: as
936
- }), children);
937
- });
938
952
  ;// external "@fortawesome/free-solid-svg-icons"
939
953
 
940
954
  ;// ./src/scss/baseClasses.module.scss
@@ -995,9 +1009,9 @@ const ActionSheet = withMemo(function ActionSheet({
995
1009
  }),
996
1010
  onClick: onActionClick,
997
1011
  onClickData: action
998
- }, createElement(InlineBlock, {
1012
+ }, createElement(BaseInlineBlock, {
999
1013
  className: actionSheet_module.actionIcon
1000
- }, action.icon ? createElement(Icon, {
1014
+ }, action.icon ? createElement(BaseIcon, {
1001
1015
  icon: action.icon
1002
1016
  }) : null), createElement(tmp, {
1003
1017
  className: actionSheet_module.actionName
@@ -1013,15 +1027,15 @@ const ActionSheet = withMemo(function ActionSheet({
1013
1027
  className: baseClasses_module.fullHeight
1014
1028
  }, createElement(Flex, {
1015
1029
  className: actionSheet_module.content
1016
- }, title ? createElement(Block, {
1030
+ }, title ? createElement(BaseBlock, {
1017
1031
  className: actionSheet_module.title
1018
1032
  }, createElement(tmp, null, title)) : null, actions.map(renderAction), createElement(Clickable, {
1019
1033
  className: actionSheet_module.cancel,
1020
1034
  onClick: () => console.log('Cancel clicked'),
1021
1035
  __allowChildren: "all"
1022
- }, createElement(InlineBlock, {
1036
+ }, createElement(BaseInlineBlock, {
1023
1037
  className: actionSheet_module.actionIcon
1024
- }, createElement(Icon, {
1038
+ }, createElement(BaseIcon, {
1025
1039
  icon: faTimes
1026
1040
  })), cancelText))));
1027
1041
  });
@@ -1096,15 +1110,15 @@ function ButtonDialog({
1096
1110
  // Effects
1097
1111
  // Other
1098
1112
  // Render Functions
1099
- return createElement(Block, {
1113
+ return createElement(BaseBlock, {
1100
1114
  className: default_1(buttonDialog_module.buttonDialog, className),
1101
1115
  style: style
1102
- }, !!title && createElement(Block, null, createElement(tmp, {
1116
+ }, !!title && createElement(BaseBlock, null, createElement(tmp, {
1103
1117
  size: TEXT_SIZE.large,
1104
1118
  className: buttonDialog_module.title
1105
- }, title)), createElement(Block, null, createElement(tmp, {
1119
+ }, title)), createElement(BaseBlock, null, createElement(tmp, {
1106
1120
  className: buttonDialog_module.message
1107
- }, message)), extraContent, createElement(Block, {
1121
+ }, message)), extraContent, createElement(BaseBlock, {
1108
1122
  className: buttonDialog_module.buttonContainer
1109
1123
  }, buttons.map((b, i) => {
1110
1124
  var _a;
@@ -1228,7 +1242,7 @@ function Dialog({
1228
1242
  if (isClosed) {
1229
1243
  return null;
1230
1244
  }
1231
- return createElement(Block, {
1245
+ return createElement(BaseBlock, {
1232
1246
  className: default_1(dialog_module.dialogContainer, className),
1233
1247
  __allowChildren: "all",
1234
1248
  style: style
@@ -1236,7 +1250,7 @@ function Dialog({
1236
1250
  onClick: onCurtainClick,
1237
1251
  className: dialog_module.closeCurtain,
1238
1252
  interactable: closable
1239
- }), createElement(InlineBlock, {
1253
+ }), createElement(BaseInlineBlock, {
1240
1254
  __allowChildren: "all",
1241
1255
  className: dialog_module.dialog
1242
1256
  }, Children.map(children, child => {
@@ -1318,7 +1332,7 @@ const DialogBackground = withMemo(function DialogBackground({
1318
1332
  // Effects
1319
1333
  // Other
1320
1334
  // Render Functions
1321
- return createElement(Block, {
1335
+ return createElement(BaseBlock, {
1322
1336
  __allowChildren: "all",
1323
1337
  className: default_1(dialogBackground_module.dialogBackground, className),
1324
1338
  style: style
@@ -1327,7 +1341,7 @@ const DialogBackground = withMemo(function DialogBackground({
1327
1341
  className: dialogBackground_module.title
1328
1342
  }, !!title && createElement(Grow, null, createElement(HeadingMemo, null, title)), !!onClose && createElement(Clickable, {
1329
1343
  onClick: onClose
1330
- }, createElement(Icon, {
1344
+ }, createElement(BaseIcon, {
1331
1345
  size: "lg",
1332
1346
  icon: faCircleXmark
1333
1347
  }))), children);
@@ -1395,7 +1409,7 @@ const DialogContainer = withMemo(function DialogContainer({
1395
1409
  // Render Functions
1396
1410
  return createElement(DialogProvider, {
1397
1411
  value: showDialog
1398
- }, children, createElement(Block, {
1412
+ }, children, createElement(BaseBlock, {
1399
1413
  className: dialogClassName
1400
1414
  }, dialogs.map(d => {
1401
1415
  const DialogComponent = d.component;
@@ -1732,7 +1746,7 @@ function useDelayed(callback, dependencies, delay = 100, maxDelay = undefined) {
1732
1746
  const maxDelayTimeout = useRef(undefined);
1733
1747
  // eslint-disable-next-line react-hooks/exhaustive-deps
1734
1748
  const realCB = useCallback(callback, dependencies);
1735
- const func = useCallback((...newArgs) => {
1749
+ return useCallback((...newArgs) => {
1736
1750
  argsRef.current = newArgs;
1737
1751
  const triggerFunc = () => {
1738
1752
  clearTimeout(mayDelayTimeoutRef.current);
@@ -1741,19 +1755,21 @@ function useDelayed(callback, dependencies, delay = 100, maxDelay = undefined) {
1741
1755
  maxDelayTimeout.current = undefined;
1742
1756
  if (argsRef.current !== undefined) {
1743
1757
  realCB(...argsRef.current);
1758
+ argsRef.current = undefined;
1744
1759
  }
1745
1760
  };
1746
1761
  if (timeoutRef.current) {
1747
1762
  clearTimeout(timeoutRef.current);
1748
1763
  }
1749
- timeoutRef.current = setTimeout(triggerFunc, delay);
1764
+ timeoutRef.current = setTimeout(() => {
1765
+ triggerFunc();
1766
+ }, delay);
1750
1767
  if (maxDelay && maxDelayTimeout.current === undefined) {
1751
1768
  maxDelayTimeout.current = setTimeout(() => {
1752
1769
  triggerFunc();
1753
1770
  }, maxDelay);
1754
1771
  }
1755
1772
  }, [delay, maxDelay, realCB]);
1756
- return func;
1757
1773
  }
1758
1774
  ;// ./src/Components/Hooks/useDelayedEffect.ts
1759
1775
 
@@ -1983,17 +1999,238 @@ const DoubleIcon = withMemo(function DoubleIcon(_a) {
1983
1999
  // Effects
1984
2000
  // Other
1985
2001
  // RenderFunctions
1986
- return default_0.createElement(InlineBlock, {
2002
+ return default_0.createElement(BaseInlineBlock, {
1987
2003
  className: icon_module.doubleIconContainer
1988
- }, default_0.createElement(Icon, Object.assign({}, otherProps, {
2004
+ }, default_0.createElement(BaseIcon, Object.assign({}, otherProps, {
1989
2005
  color: color
1990
- })), default_0.createElement(Icon, {
2006
+ })), default_0.createElement(BaseIcon, {
1991
2007
  icon: secondIcon,
1992
2008
  size: "xs",
1993
2009
  className: icon_module.secondIcon,
1994
2010
  color: secondIconColor !== null && secondIconColor !== void 0 ? secondIconColor : color
1995
2011
  }));
1996
2012
  });
2013
+ ;// ./src/Components/Title/hoverTitle.module.scss
2014
+ // extracted by mini-css-extract-plugin
2015
+ /* harmony default export */ const hoverTitle_module = ({"title":"title__I36WU"});
2016
+ ;// ./src/Components/Title/HoverTitle.tsx
2017
+
2018
+
2019
+
2020
+
2021
+
2022
+
2023
+ const HoverTitle = withMemo(function HoverTitle({
2024
+ children,
2025
+ baseElement,
2026
+ isOpen,
2027
+ onClose
2028
+ }) {
2029
+ // Refs
2030
+ const titleRef = useRef(null);
2031
+ // States/Variables/Selectors
2032
+ const [top, setTop] = useState(0);
2033
+ const [left, setLeft] = useState(0);
2034
+ const window = useWindow();
2035
+ // Callbacks
2036
+ // Effects
2037
+ useEffect(() => {
2038
+ if (!isOpen) {
2039
+ return undefined;
2040
+ }
2041
+ const listener = e => {
2042
+ var _a;
2043
+ if (!((_a = titleRef.current) === null || _a === void 0 ? void 0 : _a.contains(e.target))) {
2044
+ onClose();
2045
+ }
2046
+ };
2047
+ window === null || window === void 0 ? void 0 : window.addEventListener('mousedown', listener, {
2048
+ capture: true
2049
+ });
2050
+ window === null || window === void 0 ? void 0 : window.addEventListener('touchstart', listener, {
2051
+ capture: true
2052
+ });
2053
+ return () => {
2054
+ window === null || window === void 0 ? void 0 : window.removeEventListener('mousedown', listener, {
2055
+ capture: true
2056
+ });
2057
+ window === null || window === void 0 ? void 0 : window.removeEventListener('touchstart', listener, {
2058
+ capture: true
2059
+ });
2060
+ };
2061
+ }, [isOpen, onClose, window]);
2062
+ useClientLayoutEffect(() => {
2063
+ if (!titleRef.current || !baseElement.current || !isOpen) {
2064
+ return undefined;
2065
+ }
2066
+ const titleElement = titleRef.current;
2067
+ const base = baseElement.current;
2068
+ const updateInnerPositions = () => {
2069
+ var _a, _b;
2070
+ const computedStyleElement = base.getBoundingClientRect();
2071
+ const computedStyleTitle = getComputedStyle(titleElement);
2072
+ const height = Number.parseFloat(computedStyleTitle.height);
2073
+ let newY = computedStyleElement.top - height;
2074
+ if (newY < 0) {
2075
+ newY = computedStyleElement.top + computedStyleElement.height;
2076
+ }
2077
+ setTop(Math.min((_a = window === null || window === void 0 ? void 0 : window.innerHeight) !== null && _a !== void 0 ? _a : 1600, newY));
2078
+ const width = Number.parseFloat(computedStyleTitle.width);
2079
+ let newX = computedStyleElement.left;
2080
+ if (newX > ((_b = window === null || window === void 0 ? void 0 : window.innerWidth) !== null && _b !== void 0 ? _b : 0) - width) {
2081
+ newX -= width;
2082
+ }
2083
+ setLeft(Math.max(0, newX));
2084
+ };
2085
+ const observer = new ResizeObserver(() => {
2086
+ updateInnerPositions();
2087
+ });
2088
+ observer.observe(titleElement);
2089
+ observer.observe(base);
2090
+ updateInnerPositions();
2091
+ return () => {
2092
+ observer.disconnect();
2093
+ };
2094
+ }, [window, baseElement, isOpen]);
2095
+ // Other
2096
+ // RenderFunctions
2097
+ if (!isOpen || !children) {
2098
+ return null;
2099
+ }
2100
+ return default_0.createElement(BaseInlineBlock, {
2101
+ ref: titleRef,
2102
+ style: {
2103
+ top,
2104
+ left
2105
+ },
2106
+ className: hoverTitle_module.title
2107
+ }, children);
2108
+ });
2109
+ ;// ./src/Components/Menu/useHoverMenu.ts
2110
+
2111
+ function useHoverMenu({
2112
+ openToSide,
2113
+ ref
2114
+ }) {
2115
+ const [isOpen, setIsOpen] = useState(false);
2116
+ const [position, setPosition] = useState({
2117
+ x: 0,
2118
+ y: 0
2119
+ });
2120
+ const [offset, setOffset] = useState({
2121
+ x: 0,
2122
+ y: 0
2123
+ });
2124
+ // Dispatch
2125
+ // Callbacks
2126
+ const recalculatePosition = useCallback(() => {
2127
+ if (!ref.current) {
2128
+ return;
2129
+ }
2130
+ const {
2131
+ top,
2132
+ left,
2133
+ bottom,
2134
+ right,
2135
+ width,
2136
+ height
2137
+ } = ref.current.getBoundingClientRect();
2138
+ if (openToSide) {
2139
+ setPosition({
2140
+ x: right,
2141
+ y: top
2142
+ });
2143
+ setOffset({
2144
+ x: width,
2145
+ y: -height
2146
+ });
2147
+ } else {
2148
+ setPosition({
2149
+ x: left,
2150
+ y: bottom
2151
+ });
2152
+ setOffset({
2153
+ x: -width,
2154
+ y: height
2155
+ });
2156
+ }
2157
+ }, [openToSide, ref]);
2158
+ const close = useCallback(() => {
2159
+ setIsOpen(false);
2160
+ }, []);
2161
+ const open = useCallback(() => {
2162
+ recalculatePosition();
2163
+ setIsOpen(true);
2164
+ }, [recalculatePosition]);
2165
+ return {
2166
+ isOpen,
2167
+ position,
2168
+ open,
2169
+ close,
2170
+ offset
2171
+ };
2172
+ }
2173
+ ;// ./src/Components/Title/withTitle.tsx
2174
+ var withTitle_rest = undefined && undefined.__rest || function (s, e) {
2175
+ var t = {};
2176
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
2177
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
2178
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
2179
+ }
2180
+ return t;
2181
+ };
2182
+
2183
+
2184
+
2185
+
2186
+
2187
+
2188
+ function withTitle(Comp) {
2189
+ return withMemo(_a => {
2190
+ var {
2191
+ title,
2192
+ ref
2193
+ } = _a,
2194
+ otherProps = withTitle_rest(_a, ["title", "ref"]);
2195
+ const titleRef = useRef(null);
2196
+ const composedRef = useComposedRef(titleRef, ref);
2197
+ const titleElement = typeof title === 'string' ? default_0.createElement(tmp, {
2198
+ size: TEXT_SIZE.small
2199
+ }, title.trim()) : title;
2200
+ const {
2201
+ isOpen,
2202
+ position,
2203
+ offset,
2204
+ open,
2205
+ close
2206
+ } = useHoverMenu({
2207
+ ref: titleRef
2208
+ });
2209
+ useEffect(() => {
2210
+ const element = titleRef.current;
2211
+ if (!element || !title) {
2212
+ return undefined;
2213
+ }
2214
+ element.addEventListener('mouseenter', open);
2215
+ element.addEventListener('mouseleave', close);
2216
+ return () => {
2217
+ element.removeEventListener('mouseenter', open);
2218
+ element.removeEventListener('mouseleave', close);
2219
+ };
2220
+ }, [close, open, title]);
2221
+ return default_0.createElement(default_0.Fragment, null, default_0.createElement(Comp, Object.assign({}, otherProps, {
2222
+ ref: composedRef
2223
+ })), default_0.createElement(HoverTitle, {
2224
+ baseElement: titleRef,
2225
+ isOpen: isOpen,
2226
+ onClose: close
2227
+ }, titleElement));
2228
+ });
2229
+ }
2230
+ ;// ./src/Components/Icon/Icon.ts
2231
+
2232
+
2233
+ const Icon = withTitle(BaseIcon);
1997
2234
  ;// ./src/Components/Image/image.module.scss
1998
2235
  // extracted by mini-css-extract-plugin
1999
2236
  /* harmony default export */ const image_module = ({"image":"image__L7PA6"});
@@ -2085,6 +2322,14 @@ function InViewport({
2085
2322
  }
2086
2323
  const InViewportMemo = withMemo(InViewport);
2087
2324
 
2325
+ ;// ./src/Components/Layout/Block.ts
2326
+
2327
+
2328
+ const Block = withTitle(BaseBlock);
2329
+ ;// ./src/Components/Layout/InlineBlock.ts
2330
+
2331
+
2332
+ const InlineBlock = withTitle(BaseInlineBlock);
2088
2333
  ;// ./src/Components/LoadingCircle/loadingCircle.module.scss
2089
2334
  // extracted by mini-css-extract-plugin
2090
2335
  /* harmony default export */ const loadingCircle_module = ({"loadingCircle":"loadingCircle__XRvFa","spinner":"spinner__xIW3U","loadingCircleRotate":"loadingCircleRotate__DF8JT"});
@@ -2253,9 +2498,9 @@ const MenuItem = withMemo(function MenuItem(_a) {
2253
2498
  onMouseEnter: onMouseEnterInner,
2254
2499
  onMouseLeave: onMouseLeaveInner,
2255
2500
  __allowChildren: "all"
2256
- }), default_0.createElement(Block, {
2501
+ }), default_0.createElement(BaseBlock, {
2257
2502
  className: default_1(menu_module.itemChildren)
2258
- }, !!icon && default_0.createElement(Icon, {
2503
+ }, !!icon && default_0.createElement(BaseIcon, {
2259
2504
  icon: icon,
2260
2505
  color: iconColor,
2261
2506
  className: menu_module.icon
@@ -2374,7 +2619,7 @@ const Menu = withMemo(withRenderBrowserOnly(function Menu({
2374
2619
  }
2375
2620
  return createElement(Fragment, null, createPortal(createElement(MenuCloseContextProvider, {
2376
2621
  value: onClose
2377
- }, createElement(Block, {
2622
+ }, createElement(BaseBlock, {
2378
2623
  className: default_1(className, menu_module.menu),
2379
2624
  style: Object.assign(Object.assign({}, style), {
2380
2625
  top: innerY,
@@ -2403,6 +2648,7 @@ const Menu = withMemo(withRenderBrowserOnly(function Menu({
2403
2648
 
2404
2649
 
2405
2650
 
2651
+
2406
2652
  const HoverMenu = withMemo(function HoverMenu({
2407
2653
  children,
2408
2654
  items,
@@ -2415,57 +2661,22 @@ const HoverMenu = withMemo(function HoverMenu({
2415
2661
  // Refs
2416
2662
  // States/Variables/Selectors
2417
2663
  const hoverItemRef = useRef(null);
2418
- const [isOpen, setIsOpen] = useState(false);
2419
- const [position, setPosition] = useState({
2420
- x: 0,
2421
- y: 0
2422
- });
2423
- const [offset, setOffset] = useState({
2424
- x: 0,
2425
- y: 0
2664
+ const {
2665
+ isOpen,
2666
+ position,
2667
+ offset,
2668
+ open,
2669
+ close
2670
+ } = useHoverMenu({
2671
+ ref: hoverItemRef,
2672
+ openToSide
2426
2673
  });
2427
2674
  // Dispatch
2428
2675
  // Callbacks
2429
- const recalculatePosition = useCallback(() => {
2430
- if (!hoverItemRef.current) {
2431
- return;
2432
- }
2433
- const {
2434
- top,
2435
- left,
2436
- bottom,
2437
- right,
2438
- width,
2439
- height
2440
- } = hoverItemRef.current.getBoundingClientRect();
2441
- if (openToSide) {
2442
- setPosition({
2443
- x: right,
2444
- y: top
2445
- });
2446
- setOffset({
2447
- x: width,
2448
- y: -height
2449
- });
2450
- } else {
2451
- setPosition({
2452
- x: left,
2453
- y: bottom
2454
- });
2455
- setOffset({
2456
- x: -width,
2457
- y: height
2458
- });
2459
- }
2460
- }, [openToSide]);
2461
- const close = useCallback(() => {
2462
- setIsOpen(false);
2676
+ const innerOnClose = useCallback(() => {
2677
+ close();
2463
2678
  onClose === null || onClose === void 0 ? void 0 : onClose();
2464
- }, [onClose]);
2465
- const open = useCallback(() => {
2466
- recalculatePosition();
2467
- setIsOpen(true);
2468
- }, [recalculatePosition]);
2679
+ }, [onClose, close]);
2469
2680
  const onClickInner = useCallback(() => {
2470
2681
  if ((onClick === null || onClick === void 0 ? void 0 : onClick()) !== false) {
2471
2682
  open();
@@ -2476,7 +2687,7 @@ const HoverMenu = withMemo(function HoverMenu({
2476
2687
  // RenderFunctions
2477
2688
  return default_0.createElement(Clickable, {
2478
2689
  onMouseEnter: open,
2479
- onMouseLeave: close,
2690
+ onMouseLeave: innerOnClose,
2480
2691
  useReactOnMouseLeave: true,
2481
2692
  onClick: onClickInner,
2482
2693
  className: default_1(menu_module.hoverMenu, {
@@ -2489,7 +2700,7 @@ const HoverMenu = withMemo(function HoverMenu({
2489
2700
  x: position.x,
2490
2701
  y: position.y,
2491
2702
  isOpen: true,
2492
- onClose: close,
2703
+ onClose: innerOnClose,
2493
2704
  offsetX: offset.x,
2494
2705
  offsetY: offset.y,
2495
2706
  className: default_1({
@@ -2510,7 +2721,7 @@ const MenuDivider = withMemo(function MenuDivider() {
2510
2721
  // Effects
2511
2722
  // Other
2512
2723
  // RenderFunctions
2513
- return default_0.createElement(Block, {
2724
+ return default_0.createElement(BaseBlock, {
2514
2725
  className: menu_module.divider
2515
2726
  });
2516
2727
  });
@@ -2595,13 +2806,13 @@ const Submenu = withMemo(function Submenu({
2595
2806
  ref: submenuRef,
2596
2807
  className: default_1(menu_module.itemChildren),
2597
2808
  horizontal: true
2598
- }, !!icon && default_0.createElement(Icon, {
2809
+ }, !!icon && default_0.createElement(BaseIcon, {
2599
2810
  icon: icon,
2600
2811
  color: iconColor,
2601
2812
  className: menu_module.icon
2602
- }), default_0.createElement(Grow, null, default_0.createElement(tmp, null, label)), default_0.createElement(Icon, {
2813
+ }), default_0.createElement(Grow, null, default_0.createElement(tmp, null, label)), default_0.createElement(BaseIcon, {
2603
2814
  icon: faChevronRight
2604
- })), default_0.createElement(Block, {
2815
+ })), default_0.createElement(BaseBlock, {
2605
2816
  className: menu_module.container,
2606
2817
  __allowChildren: "all",
2607
2818
  ref: containerRef
@@ -2655,7 +2866,7 @@ function SizeCalculator({
2655
2866
  }, [onSize]);
2656
2867
  // Other
2657
2868
  // Render Functions
2658
- return createElement(InlineBlock, {
2869
+ return createElement(BaseInlineBlock, {
2659
2870
  ref: ref,
2660
2871
  __allowChildren: "all",
2661
2872
  style: {
@@ -2715,7 +2926,7 @@ const Spoiler = withMemo(function Spoiler(_a) {
2715
2926
  // Selectors
2716
2927
  // Callbacks
2717
2928
  const onClickListener = useListener('onClick', listenerProps);
2718
- const toggleOpen = useCallback(ev => {
2929
+ const toggleOpen = useCallback(_ => {
2719
2930
  if (open !== undefined) {
2720
2931
  onClickListener === null || onClickListener === void 0 ? void 0 : onClickListener(!open);
2721
2932
  } else {
@@ -2752,12 +2963,12 @@ const Spoiler = withMemo(function Spoiler(_a) {
2752
2963
  horizontal: true
2753
2964
  }, createElement(Grow, {
2754
2965
  __allowChildren: "all"
2755
- }, titleComponent), icon ? createElement(Icon, {
2966
+ }, titleComponent), icon ? createElement(BaseIcon, {
2756
2967
  icon: icon,
2757
2968
  className: spoiler_module.icon
2758
- }) : null)), createElement(Block, {
2969
+ }) : null)), createElement(BaseBlock, {
2759
2970
  className: spoiler_module.bodyContainer
2760
- }, createElement(Block, {
2971
+ }, createElement(BaseBlock, {
2761
2972
  __allowChildren: "all",
2762
2973
  className: spoiler_module.body
2763
2974
  }, children)));
@@ -2811,7 +3022,7 @@ const SpoilerList = withMemo(function SpoilerList({
2811
3022
  // Effects
2812
3023
  // Other
2813
3024
  // Render Functions
2814
- return createElement(Block, {
3025
+ return createElement(BaseBlock, {
2815
3026
  className: default_1(className),
2816
3027
  style: style
2817
3028
  }, data.map(item => createElement(Spoiler, Object.assign({
@@ -2896,7 +3107,7 @@ function getButtonComponents(buttons, activeTab, onSelect) {
2896
3107
  active: isActive,
2897
3108
  onClickData: index,
2898
3109
  onClick: onSelect
2899
- }, createElement(Inline, null, button.icon ? createElement(Icon, {
3110
+ }, createElement(Inline, null, button.icon ? createElement(BaseIcon, {
2900
3111
  icon: button.icon,
2901
3112
  className: tabBar_module.buttonIcon
2902
3113
  }) : null, button.title ? createElement(tmp, {
@@ -3260,10 +3471,10 @@ const MoreButton = withMemo(function MoreButton({
3260
3471
  disabled: disabled,
3261
3472
  className: className,
3262
3473
  style: style
3263
- }, createElement(Icon, {
3474
+ }, createElement(BaseIcon, {
3264
3475
  icon: faEllipsisH,
3265
3476
  className: baseClasses_module.materialHidden
3266
- }), createElement(Icon, {
3477
+ }), createElement(BaseIcon, {
3267
3478
  icon: faEllipsisV,
3268
3479
  className: baseClasses_module.flatHidden
3269
3480
  }));
@@ -3305,7 +3516,7 @@ function TopBar_getButtonComponents(buttons) {
3305
3516
  }
3306
3517
  let child = button.title;
3307
3518
  if (button.icon) {
3308
- child = createElement(Icon, {
3519
+ child = createElement(BaseIcon, {
3309
3520
  icon: button.icon
3310
3521
  });
3311
3522
  }
@@ -3403,7 +3614,7 @@ const TopBar = withMemo(function TopBar(_a) {
3403
3614
  grow: true,
3404
3615
  className: default_1(topBar_module.buttonContainer, topBar_module.left),
3405
3616
  horizontal: true
3406
- }, leftButtonComponents), createElement(Block, {
3617
+ }, leftButtonComponents), createElement(BaseBlock, {
3407
3618
  className: topBar_module.titleContainer
3408
3619
  }, createElement(tmp, {
3409
3620
  className: topBar_module.title
@@ -3453,7 +3664,7 @@ var Button_rest = undefined && undefined.__rest || function (s, e) {
3453
3664
 
3454
3665
 
3455
3666
 
3456
- const Button = withMemo(function Button(_a) {
3667
+ const Button = withTitle(function Button(_a) {
3457
3668
  var {
3458
3669
  children,
3459
3670
  className,
@@ -3512,13 +3723,13 @@ const FormError = withMemo(function FormError({
3512
3723
  return null;
3513
3724
  }
3514
3725
  if (inline) {
3515
- return default_0.createElement(InlineBlock, {
3726
+ return default_0.createElement(BaseInlineBlock, {
3516
3727
  className: formError_module.error
3517
3728
  }, default_0.createElement(tmp, {
3518
3729
  size: TEXT_SIZE.small
3519
3730
  }, error));
3520
3731
  }
3521
- return default_0.createElement(Block, {
3732
+ return default_0.createElement(BaseBlock, {
3522
3733
  className: formError_module.error
3523
3734
  }, default_0.createElement(tmp, {
3524
3735
  size: TEXT_SIZE.small
@@ -4011,9 +4222,9 @@ const MultipleFileInput = withMemo(function MultipleImageInput(_a) {
4011
4222
  className: default_1(fileInput_module.previewImage)
4012
4223
  });
4013
4224
  }
4014
- return createElement(Block, {
4225
+ return createElement(BaseBlock, {
4015
4226
  className: fileInput_module.previewText
4016
- }, createElement(Icon, {
4227
+ }, createElement(BaseIcon, {
4017
4228
  icon: faFile,
4018
4229
  className: fileInput_module.previewTextIcon
4019
4230
  }), createElement(tmp, null, file.name));
@@ -4045,7 +4256,7 @@ const MultipleFileInput = withMemo(function MultipleImageInput(_a) {
4045
4256
  className: fileInput_module.previewRemove,
4046
4257
  onClick: removeFile,
4047
4258
  onClickData: index
4048
- }, createElement(Icon, {
4259
+ }, createElement(BaseIcon, {
4049
4260
  icon: faTimesCircle
4050
4261
  }))));
4051
4262
  }), createElement(Grow, {
@@ -4060,7 +4271,7 @@ const MultipleFileInput = withMemo(function MultipleImageInput(_a) {
4060
4271
  onDropData: maxFiles,
4061
4272
  onClick: clickOnFile,
4062
4273
  __allowChildren: "html"
4063
- }, createElement(Icon, {
4274
+ }, createElement(BaseIcon, {
4064
4275
  icon: faPlus
4065
4276
  }), createElement("input", Object.assign({}, props, {
4066
4277
  ref: inputRef,
@@ -4528,7 +4739,7 @@ const PasswordInput = withMemo(function PasswordInput(_a) {
4528
4739
  onClick: toggleVisible,
4529
4740
  className: passwordInput_module.showButton,
4530
4741
  interactable: false
4531
- }, default_0.createElement(Icon, {
4742
+ }, default_0.createElement(BaseIcon, {
4532
4743
  icon: isVisible ? faEye : faEyeSlash
4533
4744
  })));
4534
4745
  });
@@ -5056,7 +5267,7 @@ const SearchSelectInput = withMemo(function SearchSelectInput({
5056
5267
  if (!option) {
5057
5268
  return null;
5058
5269
  }
5059
- const element = (_a = renderSelectedOption === null || renderSelectedOption === void 0 ? void 0 : renderSelectedOption(option)) !== null && _a !== void 0 ? _a : createElement(InlineBlock, {
5270
+ const element = (_a = renderSelectedOption === null || renderSelectedOption === void 0 ? void 0 : renderSelectedOption(option)) !== null && _a !== void 0 ? _a : createElement(BaseInlineBlock, {
5060
5271
  className: seachSelectInput_module.tag
5061
5272
  }, createElement(tmp, {
5062
5273
  size: TEXT_SIZE.xSmall
@@ -5073,7 +5284,7 @@ const SearchSelectInput = withMemo(function SearchSelectInput({
5073
5284
  const renderSelectableOption = (opt, index) => {
5074
5285
  var _a;
5075
5286
  const isActive = index === selectedIndex;
5076
- const element = (_a = renderSelectableOptions === null || renderSelectableOptions === void 0 ? void 0 : renderSelectableOptions(opt, isActive, index, selectedIndex)) !== null && _a !== void 0 ? _a : createElement(Block, {
5287
+ const element = (_a = renderSelectableOptions === null || renderSelectableOptions === void 0 ? void 0 : renderSelectableOptions(opt, isActive, index, selectedIndex)) !== null && _a !== void 0 ? _a : createElement(BaseBlock, {
5077
5288
  className: default_1(seachSelectInput_module.selectableOption, {
5078
5289
  [seachSelectInput_module.active]: index === selectedIndex
5079
5290
  })
@@ -5096,7 +5307,7 @@ const SearchSelectInput = withMemo(function SearchSelectInput({
5096
5307
  }, label) : null, createElement(Flex, {
5097
5308
  className: seachSelectInput_module.inputContainer,
5098
5309
  horizontal: true
5099
- }, createElement(InlineBlock, null, values.map(renderOption)), createElement(Grow, {
5310
+ }, createElement(BaseInlineBlock, null, values.map(renderOption)), createElement(Grow, {
5100
5311
  __allowChildren: "html"
5101
5312
  }, createElement("input", {
5102
5313
  ref: inputRef,
@@ -5107,7 +5318,7 @@ const SearchSelectInput = withMemo(function SearchSelectInput({
5107
5318
  onChange: onChange,
5108
5319
  onKeyDown: onKeyPress,
5109
5320
  onFocus: onFocus
5110
- }))), createElement(InlineBlock, {
5321
+ }))), createElement(BaseInlineBlock, {
5111
5322
  className: seachSelectInput_module.selectableOptionContainer,
5112
5323
  style: suggestionsPosition
5113
5324
  }, selectableOptions.map(renderSelectableOption)))
@@ -5145,7 +5356,7 @@ const Grid = withMemo(function Grid({
5145
5356
  // Effects
5146
5357
  // Other
5147
5358
  // Render Functions
5148
- return createElement(Block, {
5359
+ return createElement(BaseBlock, {
5149
5360
  ref: ref,
5150
5361
  style: appliedStyle,
5151
5362
  className: default_1(grid_module.grid, className, {
@@ -5268,7 +5479,7 @@ function GridItem({
5268
5479
  // Effects
5269
5480
  // Other
5270
5481
  // Render Functions
5271
- return createElement(InlineBlock, {
5482
+ return createElement(BaseInlineBlock, {
5272
5483
  style: style,
5273
5484
  className: default_1(...classes.map(name => grid_module[name]), grid_module.item, className),
5274
5485
  __allowChildren: __allowChildren
@@ -5395,6 +5606,12 @@ const GridItemMemo = withMemo(GridItem);
5395
5606
 
5396
5607
 
5397
5608
 
5398
- export { ActionSheet, AlertDialog, Block, BreakpointNames, Breakpoints, Button, ButtonDialogMemo as ButtonDialog, ButtonType, CONTAINER_CLASSES, Card, Characters, Checkbox, Clickable, ColorInput, ColorInputController, ConfirmDialog, Container, DialogMemo as Dialog, DialogBackground, DialogContainer, DialogProvider, DoubleIcon, DragItemMemo as DragItem, DropArea, ErrorBoundary, FileInput, FileInputController, Flavor, Flex, FormError, FullScreen, Grid, GridItemMemo as GridItem, Grow, HeadingMemo as Heading, HiddenInput, HookForm, HoverMenu, Icon, Image, InViewportMemo as InViewport, Inline, InlineBlock, Input, InputController, LoadingArea, LoadingCircle, MENU_CONTAINER_CLASS, Menu, MenuCloseContextProvider, MenuDivider, MenuItem, MoreButton, MultipleFileInput, MultipleFileInputController, PasswordInput, PasswordInputController, RESTRICT_CHILDREN, SearchSelectInput, Select, SelectController, SendFormContext, Size, SizeCalculatorMemo as SizeCalculator, Slider, SliderController, Spoiler, SpoilerList, Submenu, Switch, SwitchController, TEXT_PRIO, TEXT_SIZE, TabBar, TabBarButton, Table_tmp as Table, tmp as Text, Textarea, TextareaController, Toast, ToastContainerMemo as ToastContainer, ToastContext, TopBar, TopBarButton, View, ViewWithoutListeners, WindowContext, WrongChildError, memoComparator, nonEmptyString, treeshakeTest, useAlertDialog, useBreakpoint, useBreakpointSelect, useClientLayoutEffect, useComposedRef, useConfirmDialog, useDebounced, useDeepShallow, useDelayed, useDelayedEffect, useDelayedState, useDialog, useInViewport, useKeyListener, useKeyPressed, useKeyUpListener, useListener, useListenerWithExtractedProps, useMenu, useMenuClose, useMousePosition, useOnChangeDone, useOnMount, useOnce, useRerender, useSendFormContext, useSharedSelectedColor, useSpoilerGroup, useStrictEnabled, useToast, useWindow, useWindowDimensions, useYupResolver, withHookController, withMemo, withRenderBrowserOnly, withRestrictedChildren };
5609
+
5610
+
5611
+
5612
+
5613
+
5614
+
5615
+ export { ActionSheet, AlertDialog, BaseBlock, BaseIcon, BaseInlineBlock, Block, BreakpointNames, Breakpoints, Button, ButtonDialogMemo as ButtonDialog, ButtonType, CONTAINER_CLASSES, Card, Characters, Checkbox, Clickable, ColorInput, ColorInputController, ConfirmDialog, Container, DialogMemo as Dialog, DialogBackground, DialogContainer, DialogProvider, DoubleIcon, DragItemMemo as DragItem, DropArea, ErrorBoundary, FileInput, FileInputController, Flavor, Flex, FormError, FullScreen, Grid, GridItemMemo as GridItem, Grow, HeadingMemo as Heading, HiddenInput, HookForm, HoverMenu, HoverTitle, Icon, Image, InViewportMemo as InViewport, Inline, InlineBlock, Input, InputController, LoadingArea, LoadingCircle, MENU_CONTAINER_CLASS, Menu, MenuCloseContextProvider, MenuDivider, MenuItem, MoreButton, MultipleFileInput, MultipleFileInputController, PasswordInput, PasswordInputController, RESTRICT_CHILDREN, SearchSelectInput, Select, SelectController, SendFormContext, Size, SizeCalculatorMemo as SizeCalculator, Slider, SliderController, Spoiler, SpoilerList, Submenu, Switch, SwitchController, TEXT_PRIO, TEXT_SIZE, TabBar, TabBarButton, Table_tmp as Table, tmp as Text, Textarea, TextareaController, Toast, ToastContainerMemo as ToastContainer, ToastContext, TopBar, TopBarButton, View, ViewWithoutListeners, WindowContext, WrongChildError, memoComparator, nonEmptyString, treeshakeTest, useAlertDialog, useBreakpoint, useBreakpointSelect, useClientLayoutEffect, useComposedRef, useConfirmDialog, useDebounced, useDeepShallow, useDelayed, useDelayedEffect, useDelayedState, useDialog, useHoverMenu, useInViewport, useKeyListener, useKeyPressed, useKeyUpListener, useListener, useListenerWithExtractedProps, useMenu, useMenuClose, useMousePosition, useOnChangeDone, useOnMount, useOnce, useRerender, useSendFormContext, useSharedSelectedColor, useSpoilerGroup, useStrictEnabled, useToast, useWindow, useWindowDimensions, useYupResolver, withHookController, withMemo, withRenderBrowserOnly, withRestrictedChildren, withTitle };
5399
5616
 
5400
5617
  //# sourceMappingURL=index.js.map