@oliasoft-open-source/react-ui-library 10.7.0-beta-7 → 10.7.0-beta-9

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_o0cfv_1 {
1580
+ ._layer_1f0i9_1 {
1581
1581
  border: 1px solid var(--color-border);
1582
1582
  border-radius: var(--border-radius);
1583
1583
  overflow: hidden;
@@ -1590,95 +1590,96 @@ html[data-theme='dark'] {
1590
1590
  overflow-y: auto;
1591
1591
  max-height: 40vh;
1592
1592
  }
1593
- ._layer_o0cfv_1._nested_o0cfv_14 {
1593
+ ._layer_1f0i9_1._nested_1f0i9_14 {
1594
1594
  margin: -1px 2px;
1595
1595
  }
1596
- ._fileInput_o0cfv_17 {
1596
+ ._fileInput_1f0i9_17 {
1597
1597
  opacity: 0;
1598
1598
  position: absolute;
1599
1599
  inset: 0;
1600
1600
  pointer-events: none;
1601
1601
  }
1602
- ._trigger_o0cfv_23 {
1602
+ ._trigger_1f0i9_23 {
1603
1603
  display: inline-flex;
1604
1604
  align-items: center;
1605
1605
  cursor: pointer;
1606
1606
  max-width: 100%;
1607
1607
  }
1608
- ._layer_o0cfv_1 ._trigger_o0cfv_23 {
1608
+ ._layer_1f0i9_1 ._trigger_1f0i9_23 {
1609
1609
  width: 100%;
1610
1610
  }
1611
- ._heading_o0cfv_32 {
1611
+ ._heading_1f0i9_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_o0cfv_32 ._headingIcon_o0cfv_38 {
1617
+ ._heading_1f0i9_32 ._headingIcon_1f0i9_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_o0cfv_32 ._headingIcon_o0cfv_38._clickable_o0cfv_45:hover {
1624
+ ._heading_1f0i9_32 ._headingIcon_1f0i9_38._clickable_1f0i9_45:hover {
1625
1625
  cursor: pointer;
1626
1626
  color: var(--color-text-primary-hover);
1627
1627
  }
1628
- ._option_o0cfv_49 {
1628
+ ._option_1f0i9_49 {
1629
1629
  color: inherit;
1630
1630
  display: block;
1631
1631
  position: relative;
1632
1632
  }
1633
- ._heading_o0cfv_32,
1634
- ._option_o0cfv_49,
1635
- ._layer_o0cfv_1 ._trigger_o0cfv_23 {
1633
+ ._heading_1f0i9_32,
1634
+ ._option_1f0i9_49,
1635
+ ._layer_1f0i9_1 ._trigger_1f0i9_23 {
1636
1636
  padding: var(--padding-input);
1637
1637
  border: 1px solid transparent;
1638
1638
  }
1639
- ._option_o0cfv_49,
1640
- ._layer_o0cfv_1 ._trigger_o0cfv_23 {
1639
+ ._option_1f0i9_49,
1640
+ ._layer_1f0i9_1 ._trigger_1f0i9_23 {
1641
1641
  line-height: var(--line-height);
1642
1642
  display: flex;
1643
1643
  align-items: flex-start;
1644
1644
  }
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 {
1645
+ ._option_1f0i9_49:hover,
1646
+ ._layer_1f0i9_1 ._trigger_1f0i9_23:hover,
1647
+ ._option_1f0i9_49._active_1f0i9_68,
1648
+ ._layer_1f0i9_1 ._trigger_1f0i9_23._active_1f0i9_68 {
1649
1649
  background-color: var(--color-background-listitem-hover);
1650
1650
  cursor: pointer;
1651
1651
  }
1652
- ._layer_o0cfv_1 ._trigger_o0cfv_23._disabled_o0cfv_73 {
1652
+ ._layer_1f0i9_1 ._trigger_1f0i9_23._disabled_1f0i9_73 {
1653
1653
  opacity: 0.2;
1654
1654
  }
1655
- ._option_o0cfv_49._selected_o0cfv_76,
1656
- ._layer_o0cfv_1 ._trigger_o0cfv_23._selected_o0cfv_76 {
1655
+ ._option_1f0i9_49._selected_1f0i9_76,
1656
+ ._layer_1f0i9_1 ._trigger_1f0i9_23._selected_1f0i9_76 {
1657
1657
  background-color: var(--color-background-listitem-active);
1658
1658
  }
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 {
1659
+ ._option_1f0i9_49._selected_1f0i9_76:hover,
1660
+ ._layer_1f0i9_1 ._trigger_1f0i9_23._selected_1f0i9_76:hover,
1661
+ ._option_1f0i9_49._selected_1f0i9_76._active_1f0i9_68,
1662
+ ._layer_1f0i9_1 ._trigger_1f0i9_23._selected_1f0i9_76._active_1f0i9_68 {
1663
1663
  background-color: var(--color-background-listitem-active-hover);
1664
1664
  }
1665
- ._layer_o0cfv_1 ._trigger_o0cfv_23 {
1665
+ ._layer_1f0i9_1 ._trigger_1f0i9_23 {
1666
1666
  align-items: center;
1667
1667
  }
1668
- ._optionContent_o0cfv_89 {
1668
+ ._optionContent_1f0i9_89 {
1669
1669
  flex-wrap: wrap;
1670
1670
  margin-right: auto;
1671
1671
  }
1672
- ._optionContent_o0cfv_89:has(._description_o0cfv_93) {
1672
+ ._optionContent_1f0i9_89:has(._description_1f0i9_93) {
1673
1673
  width: max-content;
1674
1674
  max-width: 100%;
1675
1675
  }
1676
- ._inline_o0cfv_97 ._optionContent_o0cfv_89 {
1676
+ ._inline_1f0i9_97 ._optionContent_1f0i9_89 {
1677
1677
  display: flex;
1678
1678
  flex-grow: 1;
1679
+ column-gap: var(--padding-input-x);
1679
1680
  }
1680
- ._icon_o0cfv_101,
1681
- ._check_o0cfv_102 {
1681
+ ._icon_1f0i9_102,
1682
+ ._check_1f0i9_103 {
1682
1683
  display: flex;
1683
1684
  flex-shrink: 1;
1684
1685
  width: var(--size-xs);
@@ -1686,121 +1687,122 @@ html[data-theme='dark'] {
1686
1687
  justify-content: center;
1687
1688
  align-items: center;
1688
1689
  }
1689
- ._icon_o0cfv_101 {
1690
+ ._icon_1f0i9_102 {
1690
1691
  margin-right: var(--padding-xs);
1691
1692
  color: var(--color-text-primary);
1692
1693
  font-size: var(--size-xs);
1693
1694
  }
1694
- ._icon_o0cfv_101:empty {
1695
+ ._icon_1f0i9_102:empty {
1695
1696
  display: none;
1696
1697
  }
1697
- ._icon_o0cfv_101 img {
1698
+ ._icon_1f0i9_102 img {
1698
1699
  max-height: 16px;
1699
1700
  max-width: 16px;
1700
1701
  width: auto;
1701
1702
  height: auto;
1702
1703
  }
1703
- ._check_o0cfv_102 {
1704
+ ._check_1f0i9_103 {
1704
1705
  width: 1em;
1705
1706
  margin: 0 -2px 0 var(--padding-xxs);
1706
1707
  color: var(--color-text-primary);
1707
1708
  }
1708
- ._label_o0cfv_129 {
1709
+ ._label_1f0i9_130 {
1709
1710
  flex: 1;
1710
1711
  min-width: 0;
1711
1712
  pointer-events: initial;
1712
1713
  }
1713
- ._label_o0cfv_129,
1714
- ._heading_o0cfv_32 {
1714
+ ._label_1f0i9_130,
1715
+ ._heading_1f0i9_32 {
1715
1716
  max-width: 100%;
1716
1717
  display: block;
1717
1718
  overflow: hidden;
1718
1719
  text-overflow: ellipsis;
1719
1720
  white-space: nowrap;
1720
1721
  }
1721
- ._description_o0cfv_93 {
1722
+ ._description_1f0i9_93 {
1722
1723
  color: #999;
1723
1724
  display: block;
1725
+ flex-shrink: 0;
1724
1726
  }
1725
- ._arrow_o0cfv_146 {
1727
+ ._arrow_1f0i9_148 {
1726
1728
  margin-left: var(--padding-xxs);
1727
1729
  display: flex;
1728
1730
  }
1729
- ._divider_o0cfv_150 {
1731
+ ._divider_1f0i9_152 {
1730
1732
  border: 0;
1731
1733
  border-top: 1px solid var(--color-border);
1732
1734
  }
1733
- ._disabled_o0cfv_73 {
1735
+ ._disabled_1f0i9_73 {
1734
1736
  pointer-events: none;
1735
1737
  cursor: not-allowed !important;
1736
1738
  }
1737
- ._buttonLabel_o0cfv_158 {
1739
+ ._buttonLabel_1f0i9_160 {
1738
1740
  white-space: nowrap;
1739
1741
  overflow: hidden;
1740
1742
  text-overflow: ellipsis;
1741
1743
  display: block;
1742
1744
  margin-right: auto;
1743
1745
  }
1744
- ._component_o0cfv_165 {
1746
+ ._component_1f0i9_167 {
1745
1747
  display: inline-flex;
1746
1748
  align-items: center;
1747
1749
  justify-content: center;
1748
1750
  cursor: pointer;
1749
1751
  }
1750
- ._right_o0cfv_171 {
1752
+ ._right_1f0i9_173 {
1751
1753
  margin-left: auto;
1752
1754
  display: flex;
1753
1755
  align-items: center;
1754
1756
  }
1755
- ._actions_o0cfv_176 {
1757
+ ._actions_1f0i9_178 {
1756
1758
  margin-left: var(--padding-xs);
1757
1759
  display: flex;
1758
1760
  align-items: center;
1759
1761
  margin-top: -2px;
1760
1762
  margin-bottom: -2px;
1761
1763
  }
1762
- ._menuPopover_o0cfv_183 {
1764
+ ._menuPopover_1f0i9_185 {
1763
1765
  outline: none;
1764
1766
  z-index: var(--zindex-dropdown) !important;
1765
1767
  transition: opacity 0.1s, transform 0.1s;
1766
1768
  }
1767
- ._menuPopover_o0cfv_183[data-entering],
1768
- ._menuPopover_o0cfv_183[data-exiting] {
1769
+ ._menuPopover_1f0i9_185[data-entering],
1770
+ ._menuPopover_1f0i9_185[data-exiting] {
1769
1771
  transform: var(--origin);
1770
1772
  opacity: 0;
1771
1773
  }
1772
- ._menuPopover_o0cfv_183[data-placement='top'] {
1774
+ ._menuPopover_1f0i9_185[data-placement='top'] {
1773
1775
  --origin: translateY(4px);
1774
1776
  }
1775
- ._menuPopover_o0cfv_183[data-placement='bottom'] {
1777
+ ._menuPopover_1f0i9_185[data-placement='bottom'] {
1776
1778
  --origin: translateY(-4px);
1777
1779
  }
1778
- ._menuPopover_o0cfv_183[data-placement='right'] {
1780
+ ._menuPopover_1f0i9_185[data-placement='right'] {
1779
1781
  --origin: translateX(-4px);
1780
1782
  }
1781
- ._menuPopover_o0cfv_183[data-placement='left'] {
1783
+ ._menuPopover_1f0i9_185[data-placement='left'] {
1782
1784
  --origin: translateX(4px);
1783
1785
  }
1784
- ._menuPopoverNested_o0cfv_205 {
1786
+ ._menuPopoverNested_1f0i9_207 {
1785
1787
  padding: 0;
1786
1788
  }
1787
- ._menuItem_o0cfv_208 {
1789
+ ._menuItem_1f0i9_210 {
1788
1790
  outline: none;
1789
1791
  cursor: pointer;
1790
1792
  }
1791
- ._menuItem_o0cfv_208[data-disabled] {
1793
+ ._menuItem_1f0i9_210[data-disabled] {
1792
1794
  opacity: 0.2;
1793
1795
  cursor: not-allowed;
1794
1796
  }
1795
- ._menuItem_o0cfv_208[data-focused],
1796
- ._menuItem_o0cfv_208[data-hovered] {
1797
+ ._menuItem_1f0i9_210[data-focused],
1798
+ ._menuItem_1f0i9_210[data-hovered] {
1797
1799
  background-color: var(--color-background-listitem-hover);
1798
1800
  }
1799
- ._menuItem_o0cfv_208[data-selected] {
1801
+ ._menuItem_1f0i9_210[data-selected] {
1800
1802
  background-color: var(--color-background-listitem-active);
1801
1803
  }
1802
- ._menuItem_o0cfv_208[data-selected][data-focused],
1803
- ._menuItem_o0cfv_208[data-selected][data-hovered] {
1804
+ ._menuItem_1f0i9_210[data-selected][data-focused],
1805
+ ._menuItem_1f0i9_210[data-selected][data-hovered] {
1804
1806
  background-color: var(--color-background-listitem-active-hover);
1805
1807
  }
1806
1808
  ._wrapper_14vly_1 {
@@ -4477,23 +4479,22 @@ tbody ._staticCell_1vfnu_133 ._staticCellContent_1vfnu_136 {
4477
4479
  display: flex;
4478
4480
  justify-content: center;
4479
4481
  }
4480
- ._unitInput_aj94u_1 {
4482
+ ._unitInput_1ogvr_1 {
4481
4483
  flex: 1 1 auto;
4482
4484
  min-width: 0;
4483
4485
  }
4484
- ._unitTriggerLabel_aj94u_5 {
4486
+ ._unitTriggerLabel_1ogvr_5 {
4485
4487
  font-weight: normal;
4486
4488
  }
4487
- ._unitValue_aj94u_8 {
4489
+ ._unitValue_1ogvr_8 {
4488
4490
  display: block;
4489
4491
  text-align: right;
4490
4492
  font-variant-numeric: tabular-nums;
4491
- padding-right: var(--padding-input-x);
4492
4493
  }
4493
- ._predefinedMenuActive_aj94u_14 input {
4494
+ ._predefinedMenuActive_1ogvr_13 input {
4494
4495
  color: var(--color-text-faint) !important;
4495
4496
  }
4496
- ._isInTable_aj94u_17 {
4497
+ ._isInTable_1ogvr_16 {
4497
4498
  height: 100%;
4498
4499
  }
4499
4500
  ._container_9tr5w_1 {
package/dist/index.js CHANGED
@@ -1016,7 +1016,6 @@ var Button = React.forwardRef(({ active = false, basic = false, colored = false,
1016
1016
  "data-error": error || null,
1017
1017
  "data-warning": warning || null,
1018
1018
  "data-testid": testId,
1019
- "data-active": active || void 0,
1020
1019
  to: url,
1021
1020
  tabIndex,
1022
1021
  ...domProps,
@@ -1057,32 +1056,32 @@ var isMenuEmpty = (menu) => {
1057
1056
  return !isValidElement(sections) && (!Array.isArray(sections) || sections.every((section) => isEmpty(section)));
1058
1057
  };
1059
1058
  var menu_module_default = {
1060
- layer: "_layer_o0cfv_1",
1061
- nested: "_nested_o0cfv_14",
1062
- fileInput: "_fileInput_o0cfv_17",
1063
- trigger: "_trigger_o0cfv_23",
1064
- heading: "_heading_o0cfv_32",
1065
- headingIcon: "_headingIcon_o0cfv_38",
1066
- clickable: "_clickable_o0cfv_45",
1067
- option: "_option_o0cfv_49",
1068
- active: "_active_o0cfv_68",
1069
- disabled: "_disabled_o0cfv_73",
1070
- selected: "_selected_o0cfv_76",
1071
- optionContent: "_optionContent_o0cfv_89",
1072
- description: "_description_o0cfv_93",
1073
- inline: "_inline_o0cfv_97",
1074
- icon: "_icon_o0cfv_101",
1075
- check: "_check_o0cfv_102",
1076
- label: "_label_o0cfv_129",
1077
- arrow: "_arrow_o0cfv_146",
1078
- divider: "_divider_o0cfv_150",
1079
- buttonLabel: "_buttonLabel_o0cfv_158",
1080
- component: "_component_o0cfv_165",
1081
- right: "_right_o0cfv_171",
1082
- actions: "_actions_o0cfv_176",
1083
- menuPopover: "_menuPopover_o0cfv_183",
1084
- menuPopoverNested: "_menuPopoverNested_o0cfv_205",
1085
- menuItem: "_menuItem_o0cfv_208"
1059
+ layer: "_layer_1f0i9_1",
1060
+ nested: "_nested_1f0i9_14",
1061
+ fileInput: "_fileInput_1f0i9_17",
1062
+ trigger: "_trigger_1f0i9_23",
1063
+ heading: "_heading_1f0i9_32",
1064
+ headingIcon: "_headingIcon_1f0i9_38",
1065
+ clickable: "_clickable_1f0i9_45",
1066
+ option: "_option_1f0i9_49",
1067
+ active: "_active_1f0i9_68",
1068
+ disabled: "_disabled_1f0i9_73",
1069
+ selected: "_selected_1f0i9_76",
1070
+ optionContent: "_optionContent_1f0i9_89",
1071
+ description: "_description_1f0i9_93",
1072
+ inline: "_inline_1f0i9_97",
1073
+ icon: "_icon_1f0i9_102",
1074
+ check: "_check_1f0i9_103",
1075
+ label: "_label_1f0i9_130",
1076
+ arrow: "_arrow_1f0i9_148",
1077
+ divider: "_divider_1f0i9_152",
1078
+ buttonLabel: "_buttonLabel_1f0i9_160",
1079
+ component: "_component_1f0i9_167",
1080
+ right: "_right_1f0i9_173",
1081
+ actions: "_actions_1f0i9_178",
1082
+ menuPopover: "_menuPopover_1f0i9_185",
1083
+ menuPopoverNested: "_menuPopoverNested_1f0i9_207",
1084
+ menuItem: "_menuItem_1f0i9_210"
1086
1085
  };
1087
1086
  //#endregion
1088
1087
  //#region src/components/menu/layer/heading.tsx
@@ -5184,11 +5183,11 @@ var safeRoundNumbers = (value) => {
5184
5183
  return !isScientificStringNum(value) ? roundByMagnitude(value) : value;
5185
5184
  };
5186
5185
  var unit_input_module_default = {
5187
- unitInput: "_unitInput_aj94u_1",
5188
- unitTriggerLabel: "_unitTriggerLabel_aj94u_5",
5189
- unitValue: "_unitValue_aj94u_8",
5190
- predefinedMenuActive: "_predefinedMenuActive_aj94u_14",
5191
- isInTable: "_isInTable_aj94u_17"
5186
+ unitInput: "_unitInput_1ogvr_1",
5187
+ unitTriggerLabel: "_unitTriggerLabel_1ogvr_5",
5188
+ unitValue: "_unitValue_1ogvr_8",
5189
+ predefinedMenuActive: "_predefinedMenuActive_1ogvr_13",
5190
+ isInTable: "_isInTable_1ogvr_16"
5192
5191
  };
5193
5192
  //#endregion
5194
5193
  //#region src/components/unit-input/unit-input.tsx
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-7",
3
+ "version": "10.7.0-beta-9",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "homepage": "https://oliasoft-open-source.gitlab.io/react-ui-library",
6
6
  "bugs": {