microboard-ui-temp 0.0.8 → 0.0.10

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.
@@ -0,0 +1,22 @@
1
+ <svg width="24" height="23" viewBox="0 0 24 23" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g filter="url(#filter0_dd_4488_42225)">
3
+ <path d="M6.80084 18C6.57679 18 6.35923 18.0752 6.18305 18.2137L3.61778 20.229C2.96165 20.7445 2 20.2771 2 19.4427V3C2 2.73478 2.10536 2.48043 2.29289 2.29289C2.48043 2.10536 2.73478 2 3 2H21C21.2652 2 21.5196 2.10536 21.7071 2.29289C21.8946 2.48043 22 2.73478 22 3V17C22 17.2652 21.8946 17.5196 21.7071 17.7071C21.5196 17.8946 21.2652 18 21 18H6.80084ZM5.49106 16.2136C5.66723 16.0752 5.88478 16 6.10882 16H20V4H4V17.385L5.49106 16.2136Z" fill="#14151A"/>
4
+ <path d="M5.49106 16.2136C5.66723 16.0752 5.88478 16 6.10882 16H20V4H4V17.385L5.49106 16.2136Z" fill="white"/>
5
+ </g>
6
+ <defs>
7
+ <filter id="filter0_dd_4488_42225" x="-1" y="0" width="26" height="24.4446" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
8
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
9
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
10
+ <feOffset dy="1"/>
11
+ <feGaussianBlur stdDeviation="1"/>
12
+ <feColorMatrix type="matrix" values="0 0 0 0 0.0784314 0 0 0 0 0.0823529 0 0 0 0 0.101961 0 0 0 0.06 0"/>
13
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_4488_42225"/>
14
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
15
+ <feOffset dy="1"/>
16
+ <feGaussianBlur stdDeviation="1.5"/>
17
+ <feColorMatrix type="matrix" values="0 0 0 0 0.0784314 0 0 0 0 0.0823529 0 0 0 0 0.101961 0 0 0 0.1 0"/>
18
+ <feBlend mode="normal" in2="effect1_dropShadow_4488_42225" result="effect2_dropShadow_4488_42225"/>
19
+ <feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_4488_42225" result="shape"/>
20
+ </filter>
21
+ </defs>
22
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10.6667 14.8333H15.6667C16.1269 14.8333 16.5 15.2064 16.5 15.6667C16.5 16.1269 16.1269 16.5 15.6667 16.5H9.00001L5.66835 16.5017L0.262513 11.0958C0.106287 10.9396 0.0185242 10.7276 0.0185242 10.5067C0.0185242 10.2857 0.106287 10.0738 0.262513 9.9175L9.10001 1.07833C9.17741 1.00085 9.26931 0.939383 9.37048 0.897446C9.47164 0.855509 9.58008 0.833923 9.6896 0.833923C9.79911 0.833923 9.90755 0.855509 10.0087 0.897446C10.1099 0.939383 10.2018 1.00085 10.2792 1.07833L16.7608 7.56C16.9171 7.71627 17.0048 7.92819 17.0048 8.14916C17.0048 8.37013 16.9171 8.58206 16.7608 8.73833L10.6667 14.8333ZM12.0475 11.0958L14.9933 8.14916L9.69001 2.84583L6.74418 5.7925L12.0475 11.0958Z" fill="#14151A"/>
3
+ </svg>
package/dist/index.css CHANGED
@@ -1,3 +1,6 @@
1
+ @import "https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap";
2
+ @import "https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap";
3
+
1
4
  /* src/shared/ui-lib/Icon/Icon.module.css */
2
5
  .icon_zNwsNQ {
3
6
  max-width: 24px;
@@ -13658,3 +13661,206 @@ audio::-webkit-media-controls-enclosure {
13658
13661
  margin-top: 20px;
13659
13662
  font-size: 12px;
13660
13663
  }
13664
+
13665
+ /* node_modules/microboard-temp/dist/microboard.css */
13666
+ :root {
13667
+ --background-surface-default: #fff;
13668
+ --background-button-secondary: #fff;
13669
+ --background-button-secondary-hover: #f7f7f8;
13670
+ --background-badge-purple-disabled: #f7f1fd;
13671
+ --background-badge-gray: #e9eaec;
13672
+ --background-accent-purple: #924fe8;
13673
+ --border-action-normal: #dedfe3;
13674
+ --border-action-focus: #924fe8;
13675
+ --border-select-primary: #924fe8;
13676
+ --text-base-primary: #14151a;
13677
+ --text-base-secondary: #0f132499;
13678
+ --text-base-quaternary: #0a0f2940;
13679
+ --text-accent-purple: #9859e9;
13680
+ --icon-base-primary: #14151a;
13681
+ --icon-base-secondary: #696b76;
13682
+ --icon-accent-purple: #924fe8;
13683
+ --absolute-position-panel-padding: 12px;
13684
+ }
13685
+
13686
+ * {
13687
+ box-sizing: border-box;
13688
+ background: none;
13689
+ border: none;
13690
+ margin: 0;
13691
+ padding: 0;
13692
+ font-family: inherit;
13693
+ }
13694
+
13695
+ html {
13696
+ font-size: 62.5%;
13697
+ }
13698
+
13699
+ body {
13700
+ color: var(--text-base-primary);
13701
+ font-optical-sizing: auto;
13702
+ font-family: Manrope, sans-serif;
13703
+ font-size: 1.6rem;
13704
+ font-style: normal;
13705
+ }
13706
+
13707
+ html, body {
13708
+ overscroll-behavior-x: none;
13709
+ -webkit-user-select: none;
13710
+ }
13711
+
13712
+ input:-webkit-autofill {
13713
+ -webkit-box-shadow: inset 0 0 0 30px #fff !important;
13714
+ }
13715
+
13716
+ input:-webkit-autofill:hover {
13717
+ -webkit-box-shadow: inset 0 0 0 30px #fff !important;
13718
+ }
13719
+
13720
+ input:-webkit-autofill:focus {
13721
+ -webkit-box-shadow: inset 0 0 0 30px #fff !important;
13722
+ }
13723
+
13724
+ input:-webkit-autofill:active {
13725
+ -webkit-box-shadow: inset 0 0 0 30px #fff !important;
13726
+ }
13727
+
13728
+ .microboard-quickAddButton {
13729
+ transform-origin: 50%;
13730
+ z-index: 2;
13731
+ position: absolute;
13732
+ background-color: #93aff6;
13733
+ border: 1px solid #fff;
13734
+ border-radius: 50%;
13735
+ margin: auto;
13736
+ padding: 14px;
13737
+ transition: transform .2s, border 0s .2s;
13738
+ transform: translate(-50%, -50%)scale(.25);
13739
+ }
13740
+
13741
+ .microboard-invisible {
13742
+ display: none;
13743
+ }
13744
+
13745
+ .microboard-quickAddButtonActive {
13746
+ background-color: #924fe8;
13747
+ border: none;
13748
+ transform: translate(-50%, -50%)scale(1);
13749
+ }
13750
+
13751
+ .microboard-quickAddButton:after {
13752
+ content: "";
13753
+ opacity: 1;
13754
+ position: absolute;
13755
+ border-radius: 50%;
13756
+ transition: all .2s .2s;
13757
+ inset: 0;
13758
+ transform: scale(4);
13759
+ }
13760
+
13761
+ .microboard-quickAddButtonActive:after {
13762
+ opacity: 0;
13763
+ transform: none;
13764
+ }
13765
+
13766
+ .microboard-quickAddButton:before {
13767
+ content: "";
13768
+ --quick-add-button-width: 17px;
13769
+ --quick-add-button-height: 10px;
13770
+ width: var(--quick-add-button-width);
13771
+ height: var(--quick-add-button-height);
13772
+ opacity: 0;
13773
+ transform-origin: 50%;
13774
+ position: absolute;
13775
+ background: url("data:image/svg+xml;utf8,<svg width=\"var(--quick-add-button-width)\" height=\"var(--quick-add-button-height)\" viewBox=\"0 0 17 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M16.7593 5.00009L10.5339 9.58329L9.68819 8.30677L12.9245 5.83329H0.0415039V4.16663H12.9241L9.68819 1.69341L10.5339 0.416626L16.7593 5.00009Z\" fill=\"white\"/></svg>") no-repeat;
13776
+ transition: opacity .2s;
13777
+ top: 35%;
13778
+ left: 20%;
13779
+ }
13780
+
13781
+ .microboard-quickAddButtonActive:before {
13782
+ opacity: 1;
13783
+ }
13784
+
13785
+ .microboard-quickAddButton.microboard-left:before {
13786
+ rotate: 180deg;
13787
+ }
13788
+
13789
+ .microboard-quickAddButton.microboard-right:before {
13790
+ rotate: none;
13791
+ }
13792
+
13793
+ .microboard-quickAddButton.microboard-top:before {
13794
+ rotate: 270deg;
13795
+ }
13796
+
13797
+ .microboard-quickAddButton.microboard-bottom:before {
13798
+ rotate: 90deg;
13799
+ }
13800
+
13801
+ /* src/index.css */
13802
+ :root {
13803
+ --background-surface-default: #fff;
13804
+ --background-button-secondary: #fff;
13805
+ --background-button-secondary-hover: #f7f7f8;
13806
+ --background-badge-purple-disabled: #f7f1fd;
13807
+ --background-badge-gray: #e9eaec;
13808
+ --background-accent-purple: #924fe8;
13809
+ --border-action-normal: #dedfe3;
13810
+ --border-action-focus: #924fe8;
13811
+ --border-select-primary: #924fe8;
13812
+ --text-base-primary: #14151a;
13813
+ --text-base-secondary: #0f132499;
13814
+ --text-base-quaternary: #0a0f2940;
13815
+ --text-accent-purple: #9859e9;
13816
+ --icon-base-primary: #14151a;
13817
+ --icon-base-secondary: #696b76;
13818
+ --icon-accent-purple: #924fe8;
13819
+ --absolute-position-panel-padding: 12px;
13820
+ }
13821
+
13822
+ * {
13823
+ box-sizing: border-box;
13824
+ background: none;
13825
+ border: none;
13826
+ margin: 0;
13827
+ padding: 0;
13828
+ font-family: inherit;
13829
+ }
13830
+
13831
+ :focus {
13832
+ outline: none;
13833
+ }
13834
+
13835
+ html {
13836
+ font-size: 62.5%;
13837
+ }
13838
+
13839
+ body {
13840
+ color: var(--text-base-primary);
13841
+ font-optical-sizing: auto;
13842
+ font-family: Manrope, sans-serif;
13843
+ font-size: 1.6rem;
13844
+ font-style: normal;
13845
+ }
13846
+
13847
+ html, body {
13848
+ overscroll-behavior-x: none;
13849
+ -webkit-user-select: none;
13850
+ }
13851
+
13852
+ input:-webkit-autofill {
13853
+ -webkit-box-shadow: inset 0 0 0 30px #fff !important;
13854
+ }
13855
+
13856
+ input:-webkit-autofill:hover {
13857
+ -webkit-box-shadow: inset 0 0 0 30px #fff !important;
13858
+ }
13859
+
13860
+ input:-webkit-autofill:focus {
13861
+ -webkit-box-shadow: inset 0 0 0 30px #fff !important;
13862
+ }
13863
+
13864
+ input:-webkit-autofill:active {
13865
+ -webkit-box-shadow: inset 0 0 0 30px #fff !important;
13866
+ }
package/dist/index.js CHANGED
@@ -302044,9 +302044,11 @@ var UiButton = import_react115.forwardRef(({
302044
302044
  tooltipVariant = "primary",
302045
302045
  hideTooltip,
302046
302046
  loading,
302047
+ id: id3,
302047
302048
  ...props
302048
302049
  }, ref4) => {
302049
302050
  return /* @__PURE__ */ import_react115.default.createElement("button", {
302051
+ id: id3,
302050
302052
  className: clsx_default(UiButton_module_default.button, active2 && UiButton_module_default.active, UiButton_module_default[variant], UiButton_module_default[size9], {
302051
302053
  [UiButton_module_default.topRounded]: rounded === "top",
302052
302054
  [UiButton_module_default.bottomRounded]: rounded === "bottom",
@@ -307885,12 +307887,6 @@ function getConfiguredI18n() {
307885
307887
  // src/App/BoardsList.ts
307886
307888
  function getI18n2() {
307887
307889
  const i18nInstance2 = getConfiguredI18n();
307888
- console.log("getI18n called, instance:", i18nInstance2);
307889
- if (i18nInstance2) {
307890
- console.log("i18n instance isInitialized:", i18nInstance2.isInitialized);
307891
- console.log("i18n instance language:", i18nInstance2.language);
307892
- console.log("i18n instance resources:", i18nInstance2.store?.data);
307893
- }
307894
307890
  return i18nInstance2 || {
307895
307891
  t: (key) => {
307896
307892
  console.log("Using fallback i18n for key:", key);
@@ -417645,6 +417641,60 @@ function createApp(isHistory = true) {
417645
417641
  }
417646
417642
  return app;
417647
417643
  }
417644
+ // src/features/Cursors/pencil.svg
417645
+ var pencil_default = "./pencil-mbyxd0mh.svg";
417646
+
417647
+ // src/features/Cursors/sticker/sticker-purple.svg
417648
+ var sticker_purple_default = "./sticker-purple-qh4w2cns.svg";
417649
+
417650
+ // src/features/Cursors/sticker/sticker-pink.svg
417651
+ var sticker_pink_default = "./sticker-pink-e59wtt01.svg";
417652
+
417653
+ // src/features/Cursors/sticker/sticker-sky-blue.svg
417654
+ var sticker_sky_blue_default = "./sticker-sky-blue-ad56zjq5.svg";
417655
+
417656
+ // src/features/Cursors/sticker/sticker-blue.svg
417657
+ var sticker_blue_default = "./sticker-blue-enpdz9sw.svg";
417658
+
417659
+ // src/features/Cursors/sticker/sticker-green.svg
417660
+ var sticker_green_default = "./sticker-green-29z5e7dv.svg";
417661
+
417662
+ // src/features/Cursors/sticker/sticker-light-green.svg
417663
+ var sticker_light_green_default = "./sticker-light-green-rj4f4nmr.svg";
417664
+
417665
+ // src/features/Cursors/sticker/sticker-orange.svg
417666
+ var sticker_orange_default = "./sticker-orange-9zk2829b.svg";
417667
+
417668
+ // src/features/Cursors/sticker/sticker-yellow.svg
417669
+ var sticker_yellow_default = "./sticker-yellow-m9f3hb2w.svg";
417670
+
417671
+ // src/features/Cursors/sticker/sticker-light-gray.svg
417672
+ var sticker_light_gray_default = "./sticker-light-gray-z49z7yh4.svg";
417673
+
417674
+ // src/features/Cursors/sticker/sticker-gray.svg
417675
+ var sticker_gray_default = "./sticker-gray-h045k8ra.svg";
417676
+
417677
+ // src/features/Cursors/eraser.svg
417678
+ var eraser_default = "./eraser-egm0xqb8.svg";
417679
+
417680
+ // src/features/Cursors/comment.svg
417681
+ var comment_default = "./comment-y7mmptsd.svg";
417682
+
417683
+ // src/features/Cursors/customCursors.ts
417684
+ var { cursorsMap: cursorsMap2 } = conf;
417685
+ cursorsMap2["eraser"] = `url(${eraser_default}) -10 10, auto`;
417686
+ cursorsMap2["pen"] = `url(${pencil_default}) 1 24, auto`;
417687
+ cursorsMap2["comment"] = `url(${comment_default}) 1 24, auto`;
417688
+ cursorsMap2["sticker-purple"] = `url(${sticker_purple_default}) 12 12, auto`;
417689
+ cursorsMap2["sticker-pink"] = `url(${sticker_pink_default}) 12 12, auto`;
417690
+ cursorsMap2["sticker-sky-blue"] = `url(${sticker_sky_blue_default}) 12 12, auto`;
417691
+ cursorsMap2["sticker-blue"] = `url(${sticker_blue_default}) 12 12, auto`;
417692
+ cursorsMap2["sticker-green"] = `url(${sticker_green_default}) 12 12, auto`;
417693
+ cursorsMap2["sticker-light-green"] = `url(${sticker_light_green_default}) 12 12, auto`;
417694
+ cursorsMap2["sticker-orange"] = `url(${sticker_orange_default}) 12 12, auto`;
417695
+ cursorsMap2["sticker-yellow"] = `url(${sticker_yellow_default}) 12 12, auto`;
417696
+ cursorsMap2["sticker-light-gray"] = `url(${sticker_light_gray_default}) 12 12, auto`;
417697
+ cursorsMap2["sticker-gray"] = `url(${sticker_gray_default}) 12 12, auto`;
417648
417698
  export {
417649
417699
  initInter,
417650
417700
  createApp
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M17.4956 10.7475L13.4 6.65092V5.64988L12.5464 6.50344L2.64645 16.4034L2.5 16.5499V16.757V21V21.5H3H7.242H7.44909L7.59554 21.3536L17.4955 11.4546L17.8491 11.1011L17.4956 10.7475ZM13.9604 5.09052L13.607 5.44408L13.9604 5.79754L18.2024 10.0395L18.5559 10.393L18.9095 10.0396L21.0315 7.91863L21.0316 7.91849C21.3128 7.6372 21.4708 7.25574 21.4708 6.85799C21.4708 6.46024 21.3128 6.07878 21.0316 5.79749L21.0316 5.79744L18.2026 2.96844L18.2025 2.96839C17.9212 2.68718 17.5397 2.52921 17.142 2.52921C16.7443 2.52921 16.3628 2.68718 16.0815 2.96839L16.0814 2.96852L13.9604 5.09052Z" fill="#14151A" stroke="white"/>
3
+ </svg>
@@ -0,0 +1,27 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_113_6759)">
3
+ <g filter="url(#filter0_d_113_6759)">
4
+ <mask id="path-1-outside-1_113_6759" maskUnits="userSpaceOnUse" x="2" y="2" width="20" height="20" fill="black">
5
+ <rect fill="white" x="2" y="2" width="20" height="20"/>
6
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z"/>
7
+ </mask>
8
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" fill="rgb(205, 250, 255)"/>
9
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" stroke="white" stroke-width="2" mask="url(#path-1-outside-1_113_6759)"/>
10
+ </g>
11
+ </g>
12
+ <defs>
13
+ <filter id="filter0_d_113_6759" x="0" y="1" width="24" height="24" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
14
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
15
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
16
+ <feOffset dy="1"/>
17
+ <feGaussianBlur stdDeviation="1"/>
18
+ <feComposite in2="hardAlpha" operator="out"/>
19
+ <feColorMatrix type="matrix" values="0 0 0 0 0.0784314 0 0 0 0 0.0823529 0 0 0 0 0.101961 0 0 0 0.05 0"/>
20
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_113_6759"/>
21
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_113_6759" result="shape"/>
22
+ </filter>
23
+ <clipPath id="clip0_113_6759">
24
+ <rect width="24" height="24" fill="white"/>
25
+ </clipPath>
26
+ </defs>
27
+ </svg>
@@ -0,0 +1,27 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_113_6759)">
3
+ <g filter="url(#filter0_d_113_6759)">
4
+ <mask id="path-1-outside-1_113_6759" maskUnits="userSpaceOnUse" x="2" y="2" width="20" height="20" fill="black">
5
+ <rect fill="white" x="2" y="2" width="20" height="20"/>
6
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z"/>
7
+ </mask>
8
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" fill="rgb(156, 156, 156)"/>
9
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" stroke="white" stroke-width="2" mask="url(#path-1-outside-1_113_6759)"/>
10
+ </g>
11
+ </g>
12
+ <defs>
13
+ <filter id="filter0_d_113_6759" x="0" y="1" width="24" height="24" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
14
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
15
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
16
+ <feOffset dy="1"/>
17
+ <feGaussianBlur stdDeviation="1"/>
18
+ <feComposite in2="hardAlpha" operator="out"/>
19
+ <feColorMatrix type="matrix" values="0 0 0 0 0.0784314 0 0 0 0 0.0823529 0 0 0 0 0.101961 0 0 0 0.05 0"/>
20
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_113_6759"/>
21
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_113_6759" result="shape"/>
22
+ </filter>
23
+ <clipPath id="clip0_113_6759">
24
+ <rect width="24" height="24" fill="white"/>
25
+ </clipPath>
26
+ </defs>
27
+ </svg>
@@ -0,0 +1,27 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_113_6759)">
3
+ <g filter="url(#filter0_d_113_6759)">
4
+ <mask id="path-1-outside-1_113_6759" maskUnits="userSpaceOnUse" x="2" y="2" width="20" height="20" fill="black">
5
+ <rect fill="white" x="2" y="2" width="20" height="20"/>
6
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z"/>
7
+ </mask>
8
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" fill="rgb(203, 232, 150)"/>
9
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" stroke="white" stroke-width="2" mask="url(#path-1-outside-1_113_6759)"/>
10
+ </g>
11
+ </g>
12
+ <defs>
13
+ <filter id="filter0_d_113_6759" x="0" y="1" width="24" height="24" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
14
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
15
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
16
+ <feOffset dy="1"/>
17
+ <feGaussianBlur stdDeviation="1"/>
18
+ <feComposite in2="hardAlpha" operator="out"/>
19
+ <feColorMatrix type="matrix" values="0 0 0 0 0.0784314 0 0 0 0 0.0823529 0 0 0 0 0.101961 0 0 0 0.05 0"/>
20
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_113_6759"/>
21
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_113_6759" result="shape"/>
22
+ </filter>
23
+ <clipPath id="clip0_113_6759">
24
+ <rect width="24" height="24" fill="white"/>
25
+ </clipPath>
26
+ </defs>
27
+ </svg>
@@ -0,0 +1,27 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_113_6759)">
3
+ <g filter="url(#filter0_d_113_6759)">
4
+ <mask id="path-1-outside-1_113_6759" maskUnits="userSpaceOnUse" x="2" y="2" width="20" height="20" fill="black">
5
+ <rect fill="white" x="2" y="2" width="20" height="20"/>
6
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z"/>
7
+ </mask>
8
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" fill="rgb(231, 232, 238)"/>
9
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" stroke="white" stroke-width="2" mask="url(#path-1-outside-1_113_6759)"/>
10
+ </g>
11
+ </g>
12
+ <defs>
13
+ <filter id="filter0_d_113_6759" x="0" y="1" width="24" height="24" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
14
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
15
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
16
+ <feOffset dy="1"/>
17
+ <feGaussianBlur stdDeviation="1"/>
18
+ <feComposite in2="hardAlpha" operator="out"/>
19
+ <feColorMatrix type="matrix" values="0 0 0 0 0.0784314 0 0 0 0 0.0823529 0 0 0 0 0.101961 0 0 0 0.05 0"/>
20
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_113_6759"/>
21
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_113_6759" result="shape"/>
22
+ </filter>
23
+ <clipPath id="clip0_113_6759">
24
+ <rect width="24" height="24" fill="white"/>
25
+ </clipPath>
26
+ </defs>
27
+ </svg>
@@ -0,0 +1,27 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_113_6759)">
3
+ <g filter="url(#filter0_d_113_6759)">
4
+ <mask id="path-1-outside-1_113_6759" maskUnits="userSpaceOnUse" x="2" y="2" width="20" height="20" fill="black">
5
+ <rect fill="white" x="2" y="2" width="20" height="20"/>
6
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z"/>
7
+ </mask>
8
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" fill="rgb(180, 241, 198)"/>
9
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" stroke="white" stroke-width="2" mask="url(#path-1-outside-1_113_6759)"/>
10
+ </g>
11
+ </g>
12
+ <defs>
13
+ <filter id="filter0_d_113_6759" x="0" y="1" width="24" height="24" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
14
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
15
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
16
+ <feOffset dy="1"/>
17
+ <feGaussianBlur stdDeviation="1"/>
18
+ <feComposite in2="hardAlpha" operator="out"/>
19
+ <feColorMatrix type="matrix" values="0 0 0 0 0.0784314 0 0 0 0 0.0823529 0 0 0 0 0.101961 0 0 0 0.05 0"/>
20
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_113_6759"/>
21
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_113_6759" result="shape"/>
22
+ </filter>
23
+ <clipPath id="clip0_113_6759">
24
+ <rect width="24" height="24" fill="white"/>
25
+ </clipPath>
26
+ </defs>
27
+ </svg>
@@ -0,0 +1,27 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_113_6759)">
3
+ <g filter="url(#filter0_d_113_6759)">
4
+ <mask id="path-1-outside-1_113_6759" maskUnits="userSpaceOnUse" x="2" y="2" width="20" height="20" fill="black">
5
+ <rect fill="white" x="2" y="2" width="20" height="20"/>
6
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z"/>
7
+ </mask>
8
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" fill="rgb(255, 180, 126)"/>
9
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" stroke="white" stroke-width="2" mask="url(#path-1-outside-1_113_6759)"/>
10
+ </g>
11
+ </g>
12
+ <defs>
13
+ <filter id="filter0_d_113_6759" x="0" y="1" width="24" height="24" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
14
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
15
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
16
+ <feOffset dy="1"/>
17
+ <feGaussianBlur stdDeviation="1"/>
18
+ <feComposite in2="hardAlpha" operator="out"/>
19
+ <feColorMatrix type="matrix" values="0 0 0 0 0.0784314 0 0 0 0 0.0823529 0 0 0 0 0.101961 0 0 0 0.05 0"/>
20
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_113_6759"/>
21
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_113_6759" result="shape"/>
22
+ </filter>
23
+ <clipPath id="clip0_113_6759">
24
+ <rect width="24" height="24" fill="white"/>
25
+ </clipPath>
26
+ </defs>
27
+ </svg>
@@ -0,0 +1,27 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_113_6759)">
3
+ <g filter="url(#filter0_d_113_6759)">
4
+ <mask id="path-1-outside-1_113_6759" maskUnits="userSpaceOnUse" x="2" y="2" width="20" height="20" fill="black">
5
+ <rect fill="white" x="2" y="2" width="20" height="20"/>
6
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z"/>
7
+ </mask>
8
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" fill="rgb(255, 209, 211)"/>
9
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" stroke="white" stroke-width="2" mask="url(#path-1-outside-1_113_6759)"/>
10
+ </g>
11
+ </g>
12
+ <defs>
13
+ <filter id="filter0_d_113_6759" x="0" y="1" width="24" height="24" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
14
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
15
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
16
+ <feOffset dy="1"/>
17
+ <feGaussianBlur stdDeviation="1"/>
18
+ <feComposite in2="hardAlpha" operator="out"/>
19
+ <feColorMatrix type="matrix" values="0 0 0 0 0.0784314 0 0 0 0 0.0823529 0 0 0 0 0.101961 0 0 0 0.05 0"/>
20
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_113_6759"/>
21
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_113_6759" result="shape"/>
22
+ </filter>
23
+ <clipPath id="clip0_113_6759">
24
+ <rect width="24" height="24" fill="white"/>
25
+ </clipPath>
26
+ </defs>
27
+ </svg>
@@ -0,0 +1,27 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_113_6759)">
3
+ <g filter="url(#filter0_d_113_6759)">
4
+ <mask id="path-1-outside-1_113_6759" maskUnits="userSpaceOnUse" x="2" y="2" width="20" height="20" fill="black">
5
+ <rect fill="white" x="2" y="2" width="20" height="20"/>
6
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z"/>
7
+ </mask>
8
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" fill="rgb(233, 208, 255)"/>
9
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" stroke="white" stroke-width="2" mask="url(#path-1-outside-1_113_6759)"/>
10
+ </g>
11
+ </g>
12
+ <defs>
13
+ <filter id="filter0_d_113_6759" x="0" y="1" width="24" height="24" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
14
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
15
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
16
+ <feOffset dy="1"/>
17
+ <feGaussianBlur stdDeviation="1"/>
18
+ <feComposite in2="hardAlpha" operator="out"/>
19
+ <feColorMatrix type="matrix" values="0 0 0 0 0.0784314 0 0 0 0 0.0823529 0 0 0 0 0.101961 0 0 0 0.05 0"/>
20
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_113_6759"/>
21
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_113_6759" result="shape"/>
22
+ </filter>
23
+ <clipPath id="clip0_113_6759">
24
+ <rect width="24" height="24" fill="white"/>
25
+ </clipPath>
26
+ </defs>
27
+ </svg>
@@ -0,0 +1,27 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_113_6759)">
3
+ <g filter="url(#filter0_d_113_6759)">
4
+ <mask id="path-1-outside-1_113_6759" maskUnits="userSpaceOnUse" x="2" y="2" width="20" height="20" fill="black">
5
+ <rect fill="white" x="2" y="2" width="20" height="20"/>
6
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z"/>
7
+ </mask>
8
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" fill="rgb(206, 228, 255)"/>
9
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" stroke="white" stroke-width="2" mask="url(#path-1-outside-1_113_6759)"/>
10
+ </g>
11
+ </g>
12
+ <defs>
13
+ <filter id="filter0_d_113_6759" x="0" y="1" width="24" height="24" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
14
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
15
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
16
+ <feOffset dy="1"/>
17
+ <feGaussianBlur stdDeviation="1"/>
18
+ <feComposite in2="hardAlpha" operator="out"/>
19
+ <feColorMatrix type="matrix" values="0 0 0 0 0.0784314 0 0 0 0 0.0823529 0 0 0 0 0.101961 0 0 0 0.05 0"/>
20
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_113_6759"/>
21
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_113_6759" result="shape"/>
22
+ </filter>
23
+ <clipPath id="clip0_113_6759">
24
+ <rect width="24" height="24" fill="white"/>
25
+ </clipPath>
26
+ </defs>
27
+ </svg>
@@ -0,0 +1,27 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_113_6759)">
3
+ <g filter="url(#filter0_d_113_6759)">
4
+ <mask id="path-1-outside-1_113_6759" maskUnits="userSpaceOnUse" x="2" y="2" width="20" height="20" fill="black">
5
+ <rect fill="white" x="2" y="2" width="20" height="20"/>
6
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z"/>
7
+ </mask>
8
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" fill="rgb(255, 235, 163)"/>
9
+ <path d="M21 16L15.997 21H3.998C3.73402 21.0005 3.48062 20.8962 3.29349 20.71C3.10636 20.5239 3.00079 20.271 3 20.007V3.993C3 3.445 3.445 3 3.993 3H20.007C20.555 3 21 3.447 21 3.999V16Z" stroke="white" stroke-width="2" mask="url(#path-1-outside-1_113_6759)"/>
10
+ </g>
11
+ </g>
12
+ <defs>
13
+ <filter id="filter0_d_113_6759" x="0" y="1" width="24" height="24" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
14
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
15
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
16
+ <feOffset dy="1"/>
17
+ <feGaussianBlur stdDeviation="1"/>
18
+ <feComposite in2="hardAlpha" operator="out"/>
19
+ <feColorMatrix type="matrix" values="0 0 0 0 0.0784314 0 0 0 0 0.0823529 0 0 0 0 0.101961 0 0 0 0.05 0"/>
20
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_113_6759"/>
21
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_113_6759" result="shape"/>
22
+ </filter>
23
+ <clipPath id="clip0_113_6759">
24
+ <rect width="24" height="24" fill="white"/>
25
+ </clipPath>
26
+ </defs>
27
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-ui-temp",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "type": "module",
@@ -6,12 +6,6 @@ import { Storage } from "./Storage";
6
6
 
7
7
  function getI18n() {
8
8
  const i18nInstance = getConfiguredI18n();
9
- console.log("getI18n called, instance:", i18nInstance);
10
- if (i18nInstance) {
11
- console.log("i18n instance isInitialized:", i18nInstance.isInitialized);
12
- console.log("i18n instance language:", i18nInstance.language);
13
- console.log("i18n instance resources:", i18nInstance.store?.data);
14
- }
15
9
  return (
16
10
  i18nInstance || {
17
11
  t: (key: string) => {
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export { App, createApp } from "App/App";
2
2
  export { initInter } from "initI18N";
3
- // import "features/Cursors";
4
- // import "./index.css";
3
+ import "features/Cursors";
4
+ import "./index.css";
@@ -1,10 +1,13 @@
1
1
  import clsx from "clsx";
2
- import React, { CSSProperties, forwardRef, ReactNode } from "react";
2
+ import React, { ButtonHTMLAttributes, CSSProperties, forwardRef, ReactNode } from "react";
3
3
  import style from "./UiButton.module.css";
4
4
  import { Tooltip } from "shared/ui-lib/Tooltip/Tooltip";
5
5
  import { Loader } from "./Loader";
6
-
7
- type CommonUiButtonProps = {
6
+ type CommonUiButtonProps = Omit<
7
+ ButtonHTMLAttributes<HTMLButtonElement>,
8
+ "size"
9
+ > & {
10
+ id?: string,
8
11
  active?: boolean;
9
12
  disabled?: boolean;
10
13
  tooltip?: string;
@@ -42,9 +45,9 @@ type CommonUiButtonProps = {
42
45
  radius?: "xl" | "md" | "sm";
43
46
  className?: string;
44
47
  toolTipStyle?: CSSProperties;
48
+ hideTooltip?: boolean;
45
49
  children: ReactNode;
46
50
  loading?: boolean;
47
- [key: string]: unknown;
48
51
  };
49
52
 
50
53
  export const UiButton = forwardRef<HTMLButtonElement, CommonUiButtonProps>(
@@ -65,12 +68,14 @@ export const UiButton = forwardRef<HTMLButtonElement, CommonUiButtonProps>(
65
68
  tooltipVariant = "primary",
66
69
  hideTooltip,
67
70
  loading,
71
+ id,
68
72
  ...props
69
73
  },
70
74
  ref,
71
75
  ) => {
72
76
  return (
73
77
  <button
78
+ id={id}
74
79
  className={clsx(
75
80
  style.button,
76
81
  active && style.active,