@oliasoft-open-source/react-ui-library 10.7.0-beta-6 → 10.7.0-beta-8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/global.css CHANGED
@@ -1577,7 +1577,7 @@ html[data-theme='dark'] {
1577
1577
  ._actionComponentContainer_1t7vd_14._active_1t7vd_36 {
1578
1578
  color: var(--color-text-primary-active);
1579
1579
  }
1580
- ._layer_1hkuy_1 {
1580
+ ._layer_o0cfv_1 {
1581
1581
  border: 1px solid var(--color-border);
1582
1582
  border-radius: var(--border-radius);
1583
1583
  overflow: hidden;
@@ -1590,107 +1590,95 @@ html[data-theme='dark'] {
1590
1590
  overflow-y: auto;
1591
1591
  max-height: 40vh;
1592
1592
  }
1593
- ._layer_1hkuy_1._nested_1hkuy_14 {
1593
+ ._layer_o0cfv_1._nested_o0cfv_14 {
1594
1594
  margin: -1px 2px;
1595
1595
  }
1596
- ._fileInput_1hkuy_17 {
1596
+ ._fileInput_o0cfv_17 {
1597
1597
  opacity: 0;
1598
1598
  position: absolute;
1599
1599
  inset: 0;
1600
1600
  pointer-events: none;
1601
1601
  }
1602
- ._trigger_1hkuy_23 {
1602
+ ._trigger_o0cfv_23 {
1603
1603
  display: inline-flex;
1604
1604
  align-items: center;
1605
1605
  cursor: pointer;
1606
1606
  max-width: 100%;
1607
1607
  }
1608
- ._layer_1hkuy_1 ._trigger_1hkuy_23 {
1608
+ ._layer_o0cfv_1 ._trigger_o0cfv_23 {
1609
1609
  width: 100%;
1610
1610
  }
1611
- ._heading_1hkuy_32 {
1611
+ ._heading_o0cfv_32 {
1612
1612
  color: var(--color-text-muted);
1613
1613
  letter-spacing: var(--letter-spacing-wide);
1614
1614
  text-transform: uppercase;
1615
1615
  font-weight: bold;
1616
1616
  }
1617
- ._heading_1hkuy_32 ._headingIcon_1hkuy_38 {
1617
+ ._heading_o0cfv_32 ._headingIcon_o0cfv_38 {
1618
1618
  float: right;
1619
1619
  color: inherit;
1620
1620
  display: flex;
1621
1621
  align-items: center;
1622
1622
  height: var(--line-height);
1623
1623
  }
1624
- ._heading_1hkuy_32 ._headingIcon_1hkuy_38._clickable_1hkuy_45:hover {
1624
+ ._heading_o0cfv_32 ._headingIcon_o0cfv_38._clickable_o0cfv_45:hover {
1625
1625
  cursor: pointer;
1626
1626
  color: var(--color-text-primary-hover);
1627
1627
  }
1628
- ._option_1hkuy_49 {
1628
+ ._option_o0cfv_49 {
1629
1629
  color: inherit;
1630
1630
  display: block;
1631
1631
  position: relative;
1632
1632
  }
1633
- ._heading_1hkuy_32,
1634
- ._option_1hkuy_49,
1635
- ._layer_1hkuy_1 ._trigger_1hkuy_23 {
1633
+ ._heading_o0cfv_32,
1634
+ ._option_o0cfv_49,
1635
+ ._layer_o0cfv_1 ._trigger_o0cfv_23 {
1636
1636
  padding: var(--padding-input);
1637
- border: solid transparent;
1638
- border-width: 1px 0;
1637
+ border: 1px solid transparent;
1639
1638
  }
1640
- ._option_1hkuy_49,
1641
- ._layer_1hkuy_1 ._trigger_1hkuy_23 {
1639
+ ._option_o0cfv_49,
1640
+ ._layer_o0cfv_1 ._trigger_o0cfv_23 {
1642
1641
  line-height: var(--line-height);
1643
1642
  display: flex;
1644
1643
  align-items: flex-start;
1645
1644
  }
1646
- ._option_1hkuy_49:hover,
1647
- ._layer_1hkuy_1 ._trigger_1hkuy_23:hover,
1648
- ._option_1hkuy_49._active_1hkuy_69,
1649
- ._layer_1hkuy_1 ._trigger_1hkuy_23._active_1hkuy_69 {
1645
+ ._option_o0cfv_49:hover,
1646
+ ._layer_o0cfv_1 ._trigger_o0cfv_23:hover,
1647
+ ._option_o0cfv_49._active_o0cfv_68,
1648
+ ._layer_o0cfv_1 ._trigger_o0cfv_23._active_o0cfv_68 {
1650
1649
  background-color: var(--color-background-listitem-hover);
1651
1650
  cursor: pointer;
1652
1651
  }
1653
- ._layer_1hkuy_1 ._trigger_1hkuy_23._disabled_1hkuy_74 {
1652
+ ._layer_o0cfv_1 ._trigger_o0cfv_23._disabled_o0cfv_73 {
1654
1653
  opacity: 0.2;
1655
1654
  }
1656
- ._option_1hkuy_49._selected_1hkuy_77,
1657
- ._layer_1hkuy_1 ._trigger_1hkuy_23._selected_1hkuy_77 {
1655
+ ._option_o0cfv_49._selected_o0cfv_76,
1656
+ ._layer_o0cfv_1 ._trigger_o0cfv_23._selected_o0cfv_76 {
1658
1657
  background-color: var(--color-background-listitem-active);
1659
1658
  }
1660
- ._layer_1hkuy_1 ._trigger_1hkuy_23 {
1659
+ ._option_o0cfv_49._selected_o0cfv_76:hover,
1660
+ ._layer_o0cfv_1 ._trigger_o0cfv_23._selected_o0cfv_76:hover,
1661
+ ._option_o0cfv_49._selected_o0cfv_76._active_o0cfv_68,
1662
+ ._layer_o0cfv_1 ._trigger_o0cfv_23._selected_o0cfv_76._active_o0cfv_68 {
1663
+ background-color: var(--color-background-listitem-active-hover);
1664
+ }
1665
+ ._layer_o0cfv_1 ._trigger_o0cfv_23 {
1661
1666
  align-items: center;
1662
1667
  }
1663
- ._optionContent_1hkuy_84 {
1668
+ ._optionContent_o0cfv_89 {
1664
1669
  flex-wrap: wrap;
1665
1670
  margin-right: auto;
1666
1671
  }
1667
- ._optionContent_1hkuy_84:has(._description_1hkuy_88) {
1672
+ ._optionContent_o0cfv_89:has(._description_o0cfv_93) {
1668
1673
  width: max-content;
1669
1674
  max-width: 100%;
1670
1675
  }
1671
- ._inline_1hkuy_92 ._optionContent_1hkuy_84 {
1676
+ ._inline_o0cfv_97 ._optionContent_o0cfv_89 {
1672
1677
  display: flex;
1673
- justify-content: space-between;
1674
- column-gap: var(--padding);
1675
1678
  flex-grow: 1;
1676
1679
  }
1677
- ._alignRight_1hkuy_98 ._optionContent_1hkuy_84 {
1678
- margin-right: 0;
1679
- margin-left: auto;
1680
- text-align: right;
1681
- }
1682
- ._alignRight_1hkuy_98 ._label_1hkuy_103 {
1683
- margin-right: 0;
1684
- }
1685
- ._alignRight_1hkuy_98 ._right_1hkuy_106 {
1686
- margin-left: 0;
1687
- }
1688
- ._alignRight_1hkuy_98._inline_1hkuy_92 ._optionContent_1hkuy_84 {
1689
- justify-content: flex-end;
1690
- column-gap: var(--padding-input-x);
1691
- }
1692
- ._icon_1hkuy_113,
1693
- ._check_1hkuy_114 {
1680
+ ._icon_o0cfv_101,
1681
+ ._check_o0cfv_102 {
1694
1682
  display: flex;
1695
1683
  flex-shrink: 1;
1696
1684
  width: var(--size-xs);
@@ -1698,118 +1686,123 @@ html[data-theme='dark'] {
1698
1686
  justify-content: center;
1699
1687
  align-items: center;
1700
1688
  }
1701
- ._icon_1hkuy_113 {
1689
+ ._icon_o0cfv_101 {
1702
1690
  margin-right: var(--padding-xs);
1703
1691
  color: var(--color-text-primary);
1704
1692
  font-size: var(--size-xs);
1705
1693
  }
1706
- ._icon_1hkuy_113:empty {
1694
+ ._icon_o0cfv_101:empty {
1707
1695
  display: none;
1708
1696
  }
1709
- ._icon_1hkuy_113 img {
1697
+ ._icon_o0cfv_101 img {
1710
1698
  max-height: 16px;
1711
1699
  max-width: 16px;
1712
1700
  width: auto;
1713
1701
  height: auto;
1714
1702
  }
1715
- ._check_1hkuy_114 {
1703
+ ._check_o0cfv_102 {
1716
1704
  width: 1em;
1717
1705
  margin: 0 -2px 0 var(--padding-xxs);
1718
1706
  color: var(--color-text-primary);
1719
1707
  }
1720
- ._label_1hkuy_103 {
1721
- margin-right: auto;
1708
+ ._label_o0cfv_129 {
1709
+ flex: 1;
1710
+ min-width: 0;
1722
1711
  pointer-events: initial;
1723
1712
  }
1724
- ._label_1hkuy_103,
1725
- ._heading_1hkuy_32 {
1713
+ ._label_o0cfv_129,
1714
+ ._heading_o0cfv_32 {
1726
1715
  max-width: 100%;
1727
1716
  display: block;
1728
1717
  overflow: hidden;
1729
1718
  text-overflow: ellipsis;
1730
1719
  white-space: nowrap;
1731
1720
  }
1732
- ._description_1hkuy_88 {
1721
+ ._description_o0cfv_93 {
1733
1722
  color: #999;
1734
1723
  display: block;
1735
1724
  }
1736
- ._arrow_1hkuy_157 {
1725
+ ._arrow_o0cfv_146 {
1737
1726
  margin-left: var(--padding-xxs);
1738
1727
  display: flex;
1739
1728
  }
1740
- ._divider_1hkuy_161 {
1729
+ ._divider_o0cfv_150 {
1741
1730
  border: 0;
1742
1731
  border-top: 1px solid var(--color-border);
1743
1732
  }
1744
- ._disabled_1hkuy_74 {
1733
+ ._disabled_o0cfv_73 {
1745
1734
  pointer-events: none;
1746
1735
  cursor: not-allowed !important;
1747
1736
  }
1748
- ._buttonLabel_1hkuy_169 {
1737
+ ._buttonLabel_o0cfv_158 {
1749
1738
  white-space: nowrap;
1750
1739
  overflow: hidden;
1751
1740
  text-overflow: ellipsis;
1752
1741
  display: block;
1753
1742
  margin-right: auto;
1754
1743
  }
1755
- ._component_1hkuy_176 {
1744
+ ._component_o0cfv_165 {
1756
1745
  display: inline-flex;
1757
1746
  align-items: center;
1758
1747
  justify-content: center;
1759
1748
  cursor: pointer;
1760
1749
  }
1761
- ._right_1hkuy_106 {
1750
+ ._right_o0cfv_171 {
1762
1751
  margin-left: auto;
1763
1752
  display: flex;
1764
1753
  align-items: center;
1765
1754
  }
1766
- ._actions_1hkuy_187 {
1755
+ ._actions_o0cfv_176 {
1767
1756
  margin-left: var(--padding-xs);
1768
1757
  display: flex;
1769
1758
  align-items: center;
1770
1759
  margin-top: -2px;
1771
1760
  margin-bottom: -2px;
1772
1761
  }
1773
- ._menuPopover_1hkuy_194 {
1762
+ ._menuPopover_o0cfv_183 {
1774
1763
  outline: none;
1775
1764
  z-index: var(--zindex-dropdown) !important;
1776
1765
  transition: opacity 0.1s, transform 0.1s;
1777
1766
  }
1778
- ._menuPopover_1hkuy_194[data-entering],
1779
- ._menuPopover_1hkuy_194[data-exiting] {
1767
+ ._menuPopover_o0cfv_183[data-entering],
1768
+ ._menuPopover_o0cfv_183[data-exiting] {
1780
1769
  transform: var(--origin);
1781
1770
  opacity: 0;
1782
1771
  }
1783
- ._menuPopover_1hkuy_194[data-placement='top'] {
1772
+ ._menuPopover_o0cfv_183[data-placement='top'] {
1784
1773
  --origin: translateY(4px);
1785
1774
  }
1786
- ._menuPopover_1hkuy_194[data-placement='bottom'] {
1775
+ ._menuPopover_o0cfv_183[data-placement='bottom'] {
1787
1776
  --origin: translateY(-4px);
1788
1777
  }
1789
- ._menuPopover_1hkuy_194[data-placement='right'] {
1778
+ ._menuPopover_o0cfv_183[data-placement='right'] {
1790
1779
  --origin: translateX(-4px);
1791
1780
  }
1792
- ._menuPopover_1hkuy_194[data-placement='left'] {
1781
+ ._menuPopover_o0cfv_183[data-placement='left'] {
1793
1782
  --origin: translateX(4px);
1794
1783
  }
1795
- ._menuPopoverNested_1hkuy_216 {
1784
+ ._menuPopoverNested_o0cfv_205 {
1796
1785
  padding: 0;
1797
1786
  }
1798
- ._menuItem_1hkuy_219 {
1787
+ ._menuItem_o0cfv_208 {
1799
1788
  outline: none;
1800
1789
  cursor: pointer;
1801
1790
  }
1802
- ._menuItem_1hkuy_219[data-disabled] {
1791
+ ._menuItem_o0cfv_208[data-disabled] {
1803
1792
  opacity: 0.2;
1804
1793
  cursor: not-allowed;
1805
1794
  }
1806
- ._menuItem_1hkuy_219[data-focused],
1807
- ._menuItem_1hkuy_219[data-hovered] {
1795
+ ._menuItem_o0cfv_208[data-focused],
1796
+ ._menuItem_o0cfv_208[data-hovered] {
1808
1797
  background-color: var(--color-background-listitem-hover);
1809
1798
  }
1810
- ._menuItem_1hkuy_219[data-selected] {
1799
+ ._menuItem_o0cfv_208[data-selected] {
1811
1800
  background-color: var(--color-background-listitem-active);
1812
1801
  }
1802
+ ._menuItem_o0cfv_208[data-selected][data-focused],
1803
+ ._menuItem_o0cfv_208[data-selected][data-hovered] {
1804
+ background-color: var(--color-background-listitem-active-hover);
1805
+ }
1813
1806
  ._wrapper_14vly_1 {
1814
1807
  display: inline-flex;
1815
1808
  position: relative;
@@ -2628,90 +2621,90 @@ html[data-theme='dark'] {
2628
2621
  height: 100%;
2629
2622
  align-items: stretch;
2630
2623
  }
2631
- ._inputInTable_1xd1g_1 {
2624
+ ._inputInTable_1w4lm_1 {
2632
2625
  background-color: transparent;
2633
2626
  border-radius: inherit !important;
2634
2627
  height: var(--size);
2635
2628
  min-height: 100%;
2636
2629
  }
2637
- ._inputInTable_1xd1g_1:not(:hover):not([data-error]):not([data-warning]) {
2630
+ ._inputInTable_1w4lm_1:not(:hover):not([data-error]):not([data-warning]) {
2638
2631
  border-color: transparent;
2639
2632
  }
2640
- ._inputInTable_1xd1g_1:not(:focus) {
2633
+ ._inputInTable_1w4lm_1:not(:focus) {
2641
2634
  box-shadow: none;
2642
2635
  }
2643
- ._inputHover_1xd1g_13 {
2636
+ ._inputHover_1w4lm_13 {
2644
2637
  position: relative;
2645
2638
  border-color: var(--color-border-hover);
2646
2639
  z-index: 2;
2647
2640
  }
2648
- ._inputFocus_1xd1g_18 {
2641
+ ._inputFocus_1w4lm_18 {
2649
2642
  position: relative;
2650
2643
  outline: none !important;
2651
2644
  border-color: var(--color-border-focus) !important;
2652
2645
  box-shadow: var(--shadow-focus);
2653
2646
  z-index: 3;
2654
2647
  }
2655
- ._controlFocusVisible_1xd1g_25 {
2648
+ ._controlFocusVisible_1w4lm_25 {
2656
2649
  outline: none;
2657
2650
  box-shadow: var(--shadow-focus);
2658
2651
  }
2659
- ._inputError_1xd1g_29,
2660
- ._inputWarning_1xd1g_30 {
2652
+ ._inputError_1w4lm_29,
2653
+ ._inputWarning_1w4lm_30 {
2661
2654
  position: relative;
2662
2655
  }
2663
- ._inputError_1xd1g_29 {
2656
+ ._inputError_1w4lm_29 {
2664
2657
  z-index: 2;
2665
2658
  border-color: var(--color-border-error);
2666
2659
  color: var(--color-text-error) !important;
2667
2660
  background-color: var(--color-background-error-muted);
2668
2661
  }
2669
- ._inputError_1xd1g_29:hover {
2662
+ ._inputError_1w4lm_29:hover {
2670
2663
  border-color: var(--color-border-error-hover) !important;
2671
2664
  }
2672
- ._inputError_1xd1g_29:focus {
2665
+ ._inputError_1w4lm_29:focus {
2673
2666
  position: relative;
2674
2667
  outline: none !important;
2675
2668
  border-color: var(--color-border-focus) !important;
2676
2669
  box-shadow: var(--shadow-focus);
2677
2670
  z-index: 3;
2678
2671
  }
2679
- ._inputWarning_1xd1g_30 {
2672
+ ._inputWarning_1w4lm_30 {
2680
2673
  z-index: 1;
2681
2674
  border-color: var(--color-border-warning);
2682
2675
  color: var(--color-text-warning) !important;
2683
2676
  background-color: var(--color-background-warning-muted);
2684
2677
  }
2685
- ._inputWarning_1xd1g_30:hover {
2678
+ ._inputWarning_1w4lm_30:hover {
2686
2679
  border-color: var(--color-border-warning-hover) !important;
2687
2680
  }
2688
- ._inputWarning_1xd1g_30:focus {
2681
+ ._inputWarning_1w4lm_30:focus {
2689
2682
  position: relative;
2690
2683
  outline: none !important;
2691
2684
  border-color: var(--color-border-focus) !important;
2692
2685
  box-shadow: var(--shadow-focus);
2693
2686
  z-index: 3;
2694
2687
  }
2695
- ._inputDisabled_1xd1g_65 {
2688
+ ._inputDisabled_1w4lm_65 {
2696
2689
  pointer-events: none;
2697
2690
  background-color: var(--color-background-disabled);
2698
2691
  color: var(--color-text-muted);
2699
2692
  box-shadow: none;
2700
2693
  }
2701
- ._hideScrollbars_1xd1g_71 {
2694
+ ._hideScrollbars_1w4lm_71 {
2702
2695
  /* Firefox */
2703
2696
  scrollbar-width: none;
2704
2697
  /* IE 10+ */
2705
2698
  -ms-overflow-style: none;
2706
2699
  /* Chrome, Safari and Opera */
2707
2700
  }
2708
- ._hideScrollbars_1xd1g_71::-webkit-scrollbar {
2701
+ ._hideScrollbars_1w4lm_71::-webkit-scrollbar {
2709
2702
  display: none;
2710
2703
  }
2711
- ._wrapper_1xd1g_81 {
2704
+ ._wrapper_1w4lm_81 {
2712
2705
  position: relative;
2713
2706
  }
2714
- ._input_1xd1g_1 {
2707
+ ._input_1w4lm_1 {
2715
2708
  margin: 0;
2716
2709
  outline: 0;
2717
2710
  text-align: left;
@@ -2731,93 +2724,93 @@ html[data-theme='dark'] {
2731
2724
  position: relative;
2732
2725
  font-variant-numeric: tabular-nums;
2733
2726
  }
2734
- ._input_1xd1g_1::placeholder {
2727
+ ._input_1w4lm_1::placeholder {
2735
2728
  color: var(--color-text-placeholder);
2736
2729
  }
2737
- ._input_1xd1g_1._isInTable_1xd1g_107 {
2730
+ ._input_1w4lm_1._isInTable_1w4lm_107 {
2738
2731
  background-color: transparent;
2739
2732
  border-radius: inherit !important;
2740
2733
  height: var(--size);
2741
2734
  min-height: 100%;
2742
2735
  }
2743
- ._input_1xd1g_1._isInTable_1xd1g_107:not(:hover):not([data-error]):not([data-warning]) {
2736
+ ._input_1w4lm_1._isInTable_1w4lm_107:not(:hover):not([data-error]):not([data-warning]) {
2744
2737
  border-color: transparent;
2745
2738
  }
2746
- ._input_1xd1g_1._isInTable_1xd1g_107:not(:focus) {
2739
+ ._input_1w4lm_1._isInTable_1w4lm_107:not(:focus) {
2747
2740
  box-shadow: none;
2748
2741
  }
2749
- ._input_1xd1g_1:hover {
2742
+ ._input_1w4lm_1:hover {
2750
2743
  position: relative;
2751
2744
  border-color: var(--color-border-hover);
2752
2745
  z-index: 2;
2753
2746
  }
2754
- ._input_1xd1g_1:focus {
2747
+ ._input_1w4lm_1:focus {
2755
2748
  position: relative;
2756
2749
  outline: none !important;
2757
2750
  border-color: var(--color-border-focus) !important;
2758
2751
  box-shadow: var(--shadow-focus);
2759
2752
  z-index: 3;
2760
2753
  }
2761
- ._input_1xd1g_1._small_1xd1g_131 {
2754
+ ._input_1w4lm_1._small_1w4lm_131 {
2762
2755
  font-size: var(--font-size-sm);
2763
2756
  height: var(--size-sm);
2764
2757
  padding: var(--padding-input-sm);
2765
2758
  line-height: var(--size-sm);
2766
2759
  }
2767
- ._input_1xd1g_1[data-warning] {
2760
+ ._input_1w4lm_1[data-warning] {
2768
2761
  position: relative;
2769
2762
  z-index: 1;
2770
2763
  border-color: var(--color-border-warning);
2771
2764
  color: var(--color-text-warning) !important;
2772
2765
  background-color: var(--color-background-warning-muted);
2773
2766
  }
2774
- ._input_1xd1g_1[data-warning]:hover {
2767
+ ._input_1w4lm_1[data-warning]:hover {
2775
2768
  border-color: var(--color-border-warning-hover) !important;
2776
2769
  }
2777
- ._input_1xd1g_1[data-warning]:focus {
2770
+ ._input_1w4lm_1[data-warning]:focus {
2778
2771
  position: relative;
2779
2772
  outline: none !important;
2780
2773
  border-color: var(--color-border-focus) !important;
2781
2774
  box-shadow: var(--shadow-focus);
2782
2775
  z-index: 3;
2783
2776
  }
2784
- ._input_1xd1g_1[data-error] {
2777
+ ._input_1w4lm_1[data-error] {
2785
2778
  position: relative;
2786
2779
  z-index: 2;
2787
2780
  border-color: var(--color-border-error);
2788
2781
  color: var(--color-text-error) !important;
2789
2782
  background-color: var(--color-background-error-muted);
2790
2783
  }
2791
- ._input_1xd1g_1[data-error]:hover {
2784
+ ._input_1w4lm_1[data-error]:hover {
2792
2785
  border-color: var(--color-border-error-hover) !important;
2793
2786
  }
2794
- ._input_1xd1g_1[data-error]:focus {
2787
+ ._input_1w4lm_1[data-error]:focus {
2795
2788
  position: relative;
2796
2789
  outline: none !important;
2797
2790
  border-color: var(--color-border-focus) !important;
2798
2791
  box-shadow: var(--shadow-focus);
2799
2792
  z-index: 3;
2800
2793
  }
2801
- ._input_1xd1g_1[disabled] {
2794
+ ._input_1w4lm_1[disabled] {
2802
2795
  pointer-events: none;
2803
2796
  background-color: var(--color-background-disabled);
2804
2797
  color: var(--color-text-muted);
2805
2798
  box-shadow: none;
2806
2799
  }
2807
- ._input_1xd1g_1._right_1xd1g_177 {
2800
+ ._input_1w4lm_1._right_1w4lm_177 {
2808
2801
  text-align: right;
2809
2802
  }
2810
- ._groupOrderFirst_1xd1g_180 ._input_1xd1g_1,
2811
- ._groupOrderMiddle_1xd1g_181 ._input_1xd1g_1 {
2803
+ ._groupOrderFirst_1w4lm_180 ._input_1w4lm_1,
2804
+ ._groupOrderMiddle_1w4lm_181 ._input_1w4lm_1 {
2812
2805
  border-top-right-radius: 0 !important;
2813
2806
  border-bottom-right-radius: 0 !important;
2814
2807
  }
2815
- ._groupOrderLast_1xd1g_185 ._input_1xd1g_1,
2816
- ._groupOrderMiddle_1xd1g_181 ._input_1xd1g_1 {
2808
+ ._groupOrderLast_1w4lm_185 ._input_1w4lm_1,
2809
+ ._groupOrderMiddle_1w4lm_181 ._input_1w4lm_1 {
2817
2810
  border-top-left-radius: 0 !important;
2818
2811
  border-bottom-left-radius: 0 !important;
2819
2812
  }
2820
- ._slot_1xd1g_190 {
2813
+ ._slot_1w4lm_190 {
2821
2814
  position: absolute;
2822
2815
  top: 1px;
2823
2816
  bottom: 1px;
@@ -2827,33 +2820,32 @@ html[data-theme='dark'] {
2827
2820
  overflow: hidden;
2828
2821
  pointer-events: none;
2829
2822
  }
2830
- ._slot_1xd1g_190 button {
2823
+ ._slot_1w4lm_190 button {
2831
2824
  min-height: 0;
2832
2825
  border-radius: 0;
2833
- line-height: 1;
2834
2826
  }
2835
- ._slot_1xd1g_190 > * {
2827
+ :where(._slot_1w4lm_190 > *) {
2836
2828
  pointer-events: auto;
2837
2829
  }
2838
- ._slotLeft_1xd1g_208 {
2830
+ ._slotLeft_1w4lm_207 {
2839
2831
  left: 1px;
2840
2832
  border-top-left-radius: calc(var(--border-radius) - 1px);
2841
2833
  border-bottom-left-radius: calc(var(--border-radius) - 1px);
2842
2834
  }
2843
- ._slotRight_1xd1g_213 {
2835
+ ._slotRight_1w4lm_212 {
2844
2836
  right: 1px;
2845
2837
  border-top-right-radius: calc(var(--border-radius) - 1px);
2846
2838
  border-bottom-right-radius: calc(var(--border-radius) - 1px);
2847
2839
  }
2848
- ._groupOrderFirst_1xd1g_180 ._slotRight_1xd1g_213,
2849
- ._groupOrderMiddle_1xd1g_181 ._slotRight_1xd1g_213 {
2840
+ ._groupOrderFirst_1w4lm_180 ._slotRight_1w4lm_212,
2841
+ ._groupOrderMiddle_1w4lm_181 ._slotRight_1w4lm_212 {
2850
2842
  border-radius: 0;
2851
2843
  }
2852
- ._groupOrderLast_1xd1g_185 ._slotLeft_1xd1g_208,
2853
- ._groupOrderMiddle_1xd1g_181 ._slotLeft_1xd1g_208 {
2844
+ ._groupOrderLast_1w4lm_185 ._slotLeft_1w4lm_207,
2845
+ ._groupOrderMiddle_1w4lm_181 ._slotLeft_1w4lm_207 {
2854
2846
  border-radius: 0;
2855
2847
  }
2856
- ._icon_1xd1g_226 {
2848
+ ._icon_1w4lm_225 {
2857
2849
  aspect-ratio: 1;
2858
2850
  display: flex;
2859
2851
  align-items: center;
@@ -4485,14 +4477,23 @@ tbody ._staticCell_1vfnu_133 ._staticCellContent_1vfnu_136 {
4485
4477
  display: flex;
4486
4478
  justify-content: center;
4487
4479
  }
4488
- ._unitInput_yuqdd_1 {
4480
+ ._unitInput_aj94u_1 {
4489
4481
  flex: 1 1 auto;
4490
4482
  min-width: 0;
4491
4483
  }
4492
- ._predefinedMenuActive_yuqdd_5 input {
4484
+ ._unitTriggerLabel_aj94u_5 {
4485
+ font-weight: normal;
4486
+ }
4487
+ ._unitValue_aj94u_8 {
4488
+ display: block;
4489
+ text-align: right;
4490
+ font-variant-numeric: tabular-nums;
4491
+ padding-right: var(--padding-input-x);
4492
+ }
4493
+ ._predefinedMenuActive_aj94u_14 input {
4493
4494
  color: var(--color-text-faint) !important;
4494
4495
  }
4495
- ._isInTable_yuqdd_8 {
4496
+ ._isInTable_aj94u_17 {
4496
4497
  height: 100%;
4497
4498
  }
4498
4499
  ._container_9tr5w_1 {
package/dist/index.d.ts CHANGED
@@ -315,7 +315,6 @@ export declare interface IButtonProps {
315
315
  small?: boolean;
316
316
  styles?: string;
317
317
  width?: TStringOrNumber;
318
- fontWeight?: default_2.CSSProperties['fontWeight'];
319
318
  title?: string;
320
319
  type?: TButtonType | string;
321
320
  error?: string;
@@ -964,7 +963,6 @@ export declare interface IMenuMenu {
964
963
  title?: string;
965
964
  colored?: boolean | string;
966
965
  basic?: boolean;
967
- fontWeight?: default_2.CSSProperties['fontWeight'];
968
966
  small?: boolean;
969
967
  label?: ReactNode | string;
970
968
  component?: ReactNode;
@@ -1005,7 +1003,6 @@ export declare interface IMenuSection {
1005
1003
  selected?: boolean;
1006
1004
  disabled?: boolean;
1007
1005
  inline?: boolean;
1008
- align?: 'left' | 'right';
1009
1006
  title?: string;
1010
1007
  download?: boolean;
1011
1008
  onChange?: TChangeEventHandler;
package/dist/index.js CHANGED
@@ -979,7 +979,7 @@ var ButtonTooltipWrapper = ({ children, tooltip = null }) => {
979
979
  children
980
980
  });
981
981
  };
982
- var Button = React.forwardRef(({ active = false, basic = false, colored = false, disabled = false, ignoreDisabledContext = false, groupOrder, icon = null, rightIcon = null, label = "", loading = false, name, pill = false, round = false, small = false, styles = "", width = "", fontWeight, title = "", type = ButtonType.BUTTON, onClick = () => {}, error, warning, testId, tooltip, inverted = false, component: Component = "button", url, tabIndex, ...domProps }, ref) => {
982
+ var Button = React.forwardRef(({ active = false, basic = false, colored = false, disabled = false, ignoreDisabledContext = false, groupOrder, icon = null, rightIcon = null, label = "", loading = false, name, pill = false, round = false, small = false, styles = "", width = "", title = "", type = ButtonType.BUTTON, onClick = () => {}, error, warning, testId, tooltip, inverted = false, component: Component = "button", url, tabIndex, ...domProps }, ref) => {
983
983
  const disabledContext = useContext(DisabledContext);
984
984
  const isInTable = useIsInTable();
985
985
  const color = (() => {
@@ -1012,14 +1012,10 @@ var Button = React.forwardRef(({ active = false, basic = false, colored = false,
1012
1012
  name: name !== null && name !== void 0 ? name : "",
1013
1013
  onClick,
1014
1014
  ...title ? { title } : {},
1015
- style: {
1016
- width,
1017
- fontWeight
1018
- },
1015
+ style: { width },
1019
1016
  "data-error": error || null,
1020
1017
  "data-warning": warning || null,
1021
1018
  "data-testid": testId,
1022
- "data-active": active || void 0,
1023
1019
  to: url,
1024
1020
  tabIndex,
1025
1021
  ...domProps,
@@ -1060,33 +1056,32 @@ var isMenuEmpty = (menu) => {
1060
1056
  return !isValidElement(sections) && (!Array.isArray(sections) || sections.every((section) => isEmpty(section)));
1061
1057
  };
1062
1058
  var menu_module_default = {
1063
- layer: "_layer_1hkuy_1",
1064
- nested: "_nested_1hkuy_14",
1065
- fileInput: "_fileInput_1hkuy_17",
1066
- trigger: "_trigger_1hkuy_23",
1067
- heading: "_heading_1hkuy_32",
1068
- headingIcon: "_headingIcon_1hkuy_38",
1069
- clickable: "_clickable_1hkuy_45",
1070
- option: "_option_1hkuy_49",
1071
- active: "_active_1hkuy_69",
1072
- disabled: "_disabled_1hkuy_74",
1073
- selected: "_selected_1hkuy_77",
1074
- optionContent: "_optionContent_1hkuy_84",
1075
- description: "_description_1hkuy_88",
1076
- inline: "_inline_1hkuy_92",
1077
- alignRight: "_alignRight_1hkuy_98",
1078
- label: "_label_1hkuy_103",
1079
- right: "_right_1hkuy_106",
1080
- icon: "_icon_1hkuy_113",
1081
- check: "_check_1hkuy_114",
1082
- arrow: "_arrow_1hkuy_157",
1083
- divider: "_divider_1hkuy_161",
1084
- buttonLabel: "_buttonLabel_1hkuy_169",
1085
- component: "_component_1hkuy_176",
1086
- actions: "_actions_1hkuy_187",
1087
- menuPopover: "_menuPopover_1hkuy_194",
1088
- menuPopoverNested: "_menuPopoverNested_1hkuy_216",
1089
- menuItem: "_menuItem_1hkuy_219"
1059
+ layer: "_layer_o0cfv_1",
1060
+ nested: "_nested_o0cfv_14",
1061
+ fileInput: "_fileInput_o0cfv_17",
1062
+ trigger: "_trigger_o0cfv_23",
1063
+ heading: "_heading_o0cfv_32",
1064
+ headingIcon: "_headingIcon_o0cfv_38",
1065
+ clickable: "_clickable_o0cfv_45",
1066
+ option: "_option_o0cfv_49",
1067
+ active: "_active_o0cfv_68",
1068
+ disabled: "_disabled_o0cfv_73",
1069
+ selected: "_selected_o0cfv_76",
1070
+ optionContent: "_optionContent_o0cfv_89",
1071
+ description: "_description_o0cfv_93",
1072
+ inline: "_inline_o0cfv_97",
1073
+ icon: "_icon_o0cfv_101",
1074
+ check: "_check_o0cfv_102",
1075
+ label: "_label_o0cfv_129",
1076
+ arrow: "_arrow_o0cfv_146",
1077
+ divider: "_divider_o0cfv_150",
1078
+ buttonLabel: "_buttonLabel_o0cfv_158",
1079
+ component: "_component_o0cfv_165",
1080
+ right: "_right_o0cfv_171",
1081
+ actions: "_actions_o0cfv_176",
1082
+ menuPopover: "_menuPopover_o0cfv_183",
1083
+ menuPopoverNested: "_menuPopoverNested_o0cfv_205",
1084
+ menuItem: "_menuItem_o0cfv_208"
1090
1085
  };
1091
1086
  //#endregion
1092
1087
  //#region src/components/menu/layer/heading.tsx
@@ -1107,7 +1102,7 @@ var getTextValue$1 = (label) => {
1107
1102
  if (typeof label === "string" || typeof label === "number") return String(label);
1108
1103
  return "";
1109
1104
  };
1110
- var Option$2 = ({ actions, label, url, onClick, description, icon, selected, closeOnOptionClick = true, close, disabled, inline, align, title, upload, uploadType, onChange, testId }) => {
1105
+ var Option$2 = ({ actions, label, url, onClick, description, icon, selected, closeOnOptionClick = true, close, disabled, inline, title, upload, uploadType, onChange, testId }) => {
1111
1106
  const fileInputRef = useRef(null);
1112
1107
  const handleClick = (evt) => {
1113
1108
  if (disabled) {
@@ -1140,7 +1135,7 @@ var Option$2 = ({ actions, label, url, onClick, description, icon, selected, clo
1140
1135
  }
1141
1136
  };
1142
1137
  return /* @__PURE__ */ jsxs(MenuItem, {
1143
- className: cx(menu_module_default.menuItem, menu_module_default.option, inline && menu_module_default.inline, align === "right" && menu_module_default.alignRight, selected && menu_module_default.selected),
1138
+ className: cx(menu_module_default.menuItem, menu_module_default.option, inline && menu_module_default.inline, selected && menu_module_default.selected),
1144
1139
  textValue: getTextValue$1(label),
1145
1140
  href: url,
1146
1141
  isDisabled: disabled,
@@ -1235,7 +1230,6 @@ var Section$1 = ({ section, closeOnOptionClick, close }) => {
1235
1230
  close,
1236
1231
  disabled: (section === null || section === void 0 ? void 0 : section.disabled) || disabledContext,
1237
1232
  inline: section === null || section === void 0 ? void 0 : section.inline,
1238
- align: section === null || section === void 0 ? void 0 : section.align,
1239
1233
  title: section === null || section === void 0 ? void 0 : section.title,
1240
1234
  upload: section === null || section === void 0 ? void 0 : section.upload,
1241
1235
  uploadType: section === null || section === void 0 ? void 0 : section.uploadType,
@@ -1406,7 +1400,7 @@ var Badge = ({ children, color = "", textColor: textColorProp = "", title = null
1406
1400
  };
1407
1401
  //#endregion
1408
1402
  //#region src/components/menu/trigger/button.tsx
1409
- var Button$1 = React.forwardRef(({ trigger, label, colored, basic, fontWeight, small, width, disabled, groupOrder, loading, error, warning, active, tabIndex, testId, ...domProps }, ref) => {
1403
+ var Button$1 = React.forwardRef(({ trigger, label, colored, basic, small, width, disabled, groupOrder, loading, error, warning, active, tabIndex, testId, ...domProps }, ref) => {
1410
1404
  const disabledContext = useContext(DisabledContext);
1411
1405
  const isDropdown = trigger === TriggerType.DROP_DOWN_BUTTON;
1412
1406
  return /* @__PURE__ */ jsx(Button, {
@@ -1417,7 +1411,6 @@ var Button$1 = React.forwardRef(({ trigger, label, colored, basic, fontWeight, s
1417
1411
  }),
1418
1412
  colored,
1419
1413
  basic,
1420
- fontWeight,
1421
1414
  small,
1422
1415
  width,
1423
1416
  groupOrder,
@@ -1500,7 +1493,7 @@ var withBadge = (children, { isNested, badgeTitle, badgeDot }) => !isNested && (
1500
1493
  * Renders the menu trigger control only (Button / Text / Component).
1501
1494
  * OverlayTriggerChild owns the Pressable host — do not wrap a focus shell here.
1502
1495
  */
1503
- var Trigger$1 = React.forwardRef(({ active, disabled, loading, width, trigger, label, title, colored, basic, fontWeight, small, isNested, component, groupOrder, isOpen, error, warning, testId, selected, tabIndex, ...domProps }, ref) => {
1496
+ var Trigger$1 = React.forwardRef(({ active, disabled, loading, width, trigger, label, title, colored, basic, small, isNested, component, groupOrder, isOpen, error, warning, testId, selected, tabIndex, ...domProps }, ref) => {
1504
1497
  const isButtonTrigger = trigger === TriggerType.BUTTON || trigger === TriggerType.DROP_DOWN_BUTTON;
1505
1498
  const isComponentTrigger = trigger === TriggerType.COMPONENT;
1506
1499
  if (isButtonTrigger) return /* @__PURE__ */ jsx(Button$1, {
@@ -1509,7 +1502,6 @@ var Trigger$1 = React.forwardRef(({ active, disabled, loading, width, trigger, l
1509
1502
  label: label !== null && label !== void 0 ? label : "",
1510
1503
  colored,
1511
1504
  basic,
1512
- fontWeight,
1513
1505
  small,
1514
1506
  width,
1515
1507
  disabled,
@@ -1550,7 +1542,7 @@ var Menu = ({ menu, width, disabled = false, badgeTitle, badgeDot = false, loadi
1550
1542
  const disabledContext = useContext(DisabledContext);
1551
1543
  const triggerRef = useRef(null);
1552
1544
  const [internalOpen, setInternalOpen] = useState(false);
1553
- const { label, title, trigger, colored, basic, fontWeight, small, sections, component, placement, showAllButton } = menu;
1545
+ const { label, title, trigger, colored, basic, small, sections, component, placement, showAllButton } = menu;
1554
1546
  const isControlled = isBoolean(openProp) && isFunction(setOpenProp);
1555
1547
  const isOpen = isControlled ? openProp : internalOpen;
1556
1548
  const isDisabled = disabled || isMenuEmpty(menu) || disabledContext;
@@ -1596,7 +1588,6 @@ var Menu = ({ menu, width, disabled = false, badgeTitle, badgeDot = false, loadi
1596
1588
  title,
1597
1589
  colored,
1598
1590
  basic,
1599
- fontWeight,
1600
1591
  small,
1601
1592
  component,
1602
1593
  groupOrder,
@@ -2728,10 +2719,12 @@ var InputGroup = ({ children, small = false, width = "100%", isInTable: isInTabl
2728
2719
  //#endregion
2729
2720
  //#region src/hooks/use-element-width.ts
2730
2721
  var useElementWidth = (enabled = true) => {
2731
- const ref = useRef(null);
2722
+ const [element, setElement] = useState(null);
2732
2723
  const [width, setWidth] = useState(null);
2724
+ const ref = useCallback((node) => {
2725
+ setElement(node);
2726
+ }, []);
2733
2727
  useLayoutEffect(() => {
2734
- const element = ref.current;
2735
2728
  if (!enabled || !element) {
2736
2729
  setWidth(null);
2737
2730
  return;
@@ -2742,30 +2735,30 @@ var useElementWidth = (enabled = true) => {
2742
2735
  const observer = new ResizeObserver(measure);
2743
2736
  observer.observe(element);
2744
2737
  return () => observer.disconnect();
2745
- }, [enabled]);
2738
+ }, [enabled, element]);
2746
2739
  return [ref, width];
2747
2740
  };
2748
2741
  var input_module_default = {
2749
- inputInTable: "_inputInTable_1xd1g_1",
2750
- inputHover: "_inputHover_1xd1g_13",
2751
- inputFocus: "_inputFocus_1xd1g_18",
2752
- controlFocusVisible: "_controlFocusVisible_1xd1g_25",
2753
- inputError: "_inputError_1xd1g_29",
2754
- inputWarning: "_inputWarning_1xd1g_30",
2755
- inputDisabled: "_inputDisabled_1xd1g_65",
2756
- hideScrollbars: "_hideScrollbars_1xd1g_71",
2757
- wrapper: "_wrapper_1xd1g_81",
2758
- input: "_input_1xd1g_1",
2759
- isInTable: "_isInTable_1xd1g_107",
2760
- small: "_small_1xd1g_131",
2761
- right: "_right_1xd1g_177",
2762
- groupOrderFirst: "_groupOrderFirst_1xd1g_180",
2763
- groupOrderMiddle: "_groupOrderMiddle_1xd1g_181",
2764
- groupOrderLast: "_groupOrderLast_1xd1g_185",
2765
- slot: "_slot_1xd1g_190",
2766
- slotLeft: "_slotLeft_1xd1g_208",
2767
- slotRight: "_slotRight_1xd1g_213",
2768
- icon: "_icon_1xd1g_226"
2742
+ inputInTable: "_inputInTable_1w4lm_1",
2743
+ inputHover: "_inputHover_1w4lm_13",
2744
+ inputFocus: "_inputFocus_1w4lm_18",
2745
+ controlFocusVisible: "_controlFocusVisible_1w4lm_25",
2746
+ inputError: "_inputError_1w4lm_29",
2747
+ inputWarning: "_inputWarning_1w4lm_30",
2748
+ inputDisabled: "_inputDisabled_1w4lm_65",
2749
+ hideScrollbars: "_hideScrollbars_1w4lm_71",
2750
+ wrapper: "_wrapper_1w4lm_81",
2751
+ input: "_input_1w4lm_1",
2752
+ isInTable: "_isInTable_1w4lm_107",
2753
+ small: "_small_1w4lm_131",
2754
+ right: "_right_1w4lm_177",
2755
+ groupOrderFirst: "_groupOrderFirst_1w4lm_180",
2756
+ groupOrderMiddle: "_groupOrderMiddle_1w4lm_181",
2757
+ groupOrderLast: "_groupOrderLast_1w4lm_185",
2758
+ slot: "_slot_1w4lm_190",
2759
+ slotLeft: "_slotLeft_1w4lm_207",
2760
+ slotRight: "_slotRight_1w4lm_212",
2761
+ icon: "_icon_1w4lm_225"
2769
2762
  };
2770
2763
  //#endregion
2771
2764
  //#region src/components/input/input.tsx
@@ -2828,8 +2821,8 @@ var Input = forwardRef(({ error = null, tooltip = null, isInTable: isInTableProp
2828
2821
  className: cx(input_module_default.input, right ? input_module_default.right : "", small ? input_module_default.small : "", isInTable ? input_module_default.isInTable : ""),
2829
2822
  style: {
2830
2823
  width,
2831
- ...leftSlotWidth !== null && { paddingLeft: leftSlotWidth },
2832
- ...rightSlotWidth !== null && { paddingRight: rightSlotWidth }
2824
+ ...leftSlotWidth ? { paddingLeft: leftSlotWidth } : null,
2825
+ ...rightSlotWidth ? { paddingRight: rightSlotWidth } : null
2833
2826
  },
2834
2827
  "data-error": error || null,
2835
2828
  "data-warning": warning || null,
@@ -5190,9 +5183,11 @@ var safeRoundNumbers = (value) => {
5190
5183
  return !isScientificStringNum(value) ? roundByMagnitude(value) : value;
5191
5184
  };
5192
5185
  var unit_input_module_default = {
5193
- unitInput: "_unitInput_yuqdd_1",
5194
- predefinedMenuActive: "_predefinedMenuActive_yuqdd_5",
5195
- isInTable: "_isInTable_yuqdd_8"
5186
+ unitInput: "_unitInput_aj94u_1",
5187
+ unitTriggerLabel: "_unitTriggerLabel_aj94u_5",
5188
+ unitValue: "_unitValue_aj94u_8",
5189
+ predefinedMenuActive: "_predefinedMenuActive_aj94u_14",
5190
+ isInTable: "_isInTable_aj94u_17"
5196
5191
  };
5197
5192
  //#endregion
5198
5193
  //#region src/components/unit-input/unit-input.tsx
@@ -5465,20 +5460,25 @@ var UnitInput = ({ name, placeholder = "", disabled = false, disabledUnit = fals
5465
5460
  tabIndex: -1,
5466
5461
  menu: {
5467
5462
  trigger: TriggerType.DROP_DOWN_BUTTON,
5468
- label: displayUnitLabel,
5463
+ label: /* @__PURE__ */ jsx("span", {
5464
+ className: unit_input_module_default.unitTriggerLabel,
5465
+ children: displayUnitLabel
5466
+ }),
5469
5467
  colored: Color.MUTED,
5470
5468
  basic: true,
5471
- fontWeight: "normal",
5472
5469
  placement: "bottom-end",
5473
5470
  small,
5474
5471
  sections: alternativeUnits.map(([value = "", altUnit = "", label]) => {
5475
5472
  const displayUnit = label || altUnit || "";
5476
5473
  const safeValue = isValidNum(value) ? value : "";
5474
+ const displayValue = enableCosmeticRounding ? safeRoundNumbers(safeValue) : safeValue;
5477
5475
  return {
5478
5476
  type: "Option",
5479
- label: enableCosmeticRounding ? safeRoundNumbers(safeValue) : safeValue,
5477
+ label: /* @__PURE__ */ jsx("span", {
5478
+ className: unit_input_module_default.unitValue,
5479
+ children: displayValue
5480
+ }),
5480
5481
  inline: true,
5481
- align: "right",
5482
5482
  onClick: (evt) => {
5483
5483
  evt.stopPropagation();
5484
5484
  onClickUnit(value, altUnit);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/react-ui-library",
3
- "version": "10.7.0-beta-6",
3
+ "version": "10.7.0-beta-8",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "homepage": "https://oliasoft-open-source.gitlab.io/react-ui-library",
6
6
  "bugs": {