@oliasoft-open-source/react-ui-library 10.8.0-beta-2 → 10.8.0-beta-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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_1dlok_1 {
1580
+ ._layer_19h1u_1 {
1581
1581
  border: 1px solid var(--color-border);
1582
1582
  border-radius: var(--border-radius);
1583
1583
  overflow: hidden;
@@ -1590,96 +1590,96 @@ html[data-theme='dark'] {
1590
1590
  overflow-y: auto;
1591
1591
  max-height: 40vh;
1592
1592
  }
1593
- ._layer_1dlok_1._nested_1dlok_14 {
1593
+ ._layer_19h1u_1._nested_19h1u_14 {
1594
1594
  margin: -1px 2px;
1595
1595
  }
1596
- ._fileInput_1dlok_17 {
1596
+ ._fileInput_19h1u_17 {
1597
1597
  opacity: 0;
1598
1598
  position: absolute;
1599
1599
  inset: 0;
1600
1600
  pointer-events: none;
1601
1601
  }
1602
- ._trigger_1dlok_23 {
1602
+ ._trigger_19h1u_23 {
1603
1603
  display: inline-flex;
1604
1604
  align-items: center;
1605
1605
  cursor: pointer;
1606
1606
  max-width: 100%;
1607
1607
  }
1608
- ._layer_1dlok_1 ._trigger_1dlok_23 {
1608
+ ._layer_19h1u_1 ._trigger_19h1u_23 {
1609
1609
  width: 100%;
1610
1610
  }
1611
- ._heading_1dlok_32 {
1611
+ ._heading_19h1u_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_1dlok_32 ._headingIcon_1dlok_38 {
1617
+ ._heading_19h1u_32 ._headingIcon_19h1u_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_1dlok_32 ._headingIcon_1dlok_38._clickable_1dlok_45:hover {
1624
+ ._heading_19h1u_32 ._headingIcon_19h1u_38._clickable_19h1u_45:hover {
1625
1625
  cursor: pointer;
1626
1626
  color: var(--color-text-primary-hover);
1627
1627
  }
1628
- ._option_1dlok_49 {
1628
+ ._option_19h1u_49 {
1629
1629
  color: inherit;
1630
1630
  display: block;
1631
1631
  position: relative;
1632
1632
  }
1633
- ._heading_1dlok_32,
1634
- ._option_1dlok_49,
1635
- ._layer_1dlok_1 ._trigger_1dlok_23 {
1633
+ ._heading_19h1u_32,
1634
+ ._option_19h1u_49,
1635
+ ._layer_19h1u_1 ._trigger_19h1u_23 {
1636
1636
  padding: var(--padding-input);
1637
1637
  border: 1px solid transparent;
1638
1638
  }
1639
- ._option_1dlok_49,
1640
- ._layer_1dlok_1 ._trigger_1dlok_23 {
1639
+ ._option_19h1u_49,
1640
+ ._layer_19h1u_1 ._trigger_19h1u_23 {
1641
1641
  line-height: var(--line-height);
1642
1642
  display: flex;
1643
1643
  align-items: flex-start;
1644
1644
  }
1645
- ._option_1dlok_49:hover,
1646
- ._layer_1dlok_1 ._trigger_1dlok_23:hover,
1647
- ._option_1dlok_49._active_1dlok_68,
1648
- ._layer_1dlok_1 ._trigger_1dlok_23._active_1dlok_68 {
1645
+ ._option_19h1u_49:hover,
1646
+ ._layer_19h1u_1 ._trigger_19h1u_23:hover,
1647
+ ._option_19h1u_49._active_19h1u_68,
1648
+ ._layer_19h1u_1 ._trigger_19h1u_23._active_19h1u_68 {
1649
1649
  background-color: var(--color-background-listitem-hover);
1650
1650
  cursor: pointer;
1651
1651
  }
1652
- ._layer_1dlok_1 ._trigger_1dlok_23._disabled_1dlok_73 {
1652
+ ._layer_19h1u_1 ._trigger_19h1u_23._disabled_19h1u_73 {
1653
1653
  opacity: 0.2;
1654
1654
  }
1655
- ._option_1dlok_49._selected_1dlok_76,
1656
- ._layer_1dlok_1 ._trigger_1dlok_23._selected_1dlok_76 {
1655
+ ._option_19h1u_49._selected_19h1u_76,
1656
+ ._layer_19h1u_1 ._trigger_19h1u_23._selected_19h1u_76 {
1657
1657
  background-color: var(--color-background-listitem-active);
1658
1658
  }
1659
- ._option_1dlok_49._selected_1dlok_76:hover,
1660
- ._layer_1dlok_1 ._trigger_1dlok_23._selected_1dlok_76:hover,
1661
- ._option_1dlok_49._selected_1dlok_76._active_1dlok_68,
1662
- ._layer_1dlok_1 ._trigger_1dlok_23._selected_1dlok_76._active_1dlok_68 {
1659
+ ._option_19h1u_49._selected_19h1u_76:hover,
1660
+ ._layer_19h1u_1 ._trigger_19h1u_23._selected_19h1u_76:hover,
1661
+ ._option_19h1u_49._selected_19h1u_76._active_19h1u_68,
1662
+ ._layer_19h1u_1 ._trigger_19h1u_23._selected_19h1u_76._active_19h1u_68 {
1663
1663
  background-color: var(--color-background-listitem-active-hover);
1664
1664
  }
1665
- ._layer_1dlok_1 ._trigger_1dlok_23 {
1665
+ ._layer_19h1u_1 ._trigger_19h1u_23 {
1666
1666
  align-items: center;
1667
1667
  }
1668
- ._optionContent_1dlok_89 {
1668
+ ._optionContent_19h1u_89 {
1669
1669
  flex-wrap: wrap;
1670
1670
  margin-right: auto;
1671
1671
  }
1672
- ._optionContent_1dlok_89:has(._description_1dlok_93) {
1672
+ ._optionContent_19h1u_89:has(._description_19h1u_93) {
1673
1673
  width: max-content;
1674
1674
  max-width: 100%;
1675
1675
  }
1676
- ._inline_1dlok_97 ._optionContent_1dlok_89 {
1676
+ ._inline_19h1u_97 ._optionContent_19h1u_89 {
1677
1677
  display: flex;
1678
1678
  flex-grow: 1;
1679
1679
  column-gap: var(--padding-input-x);
1680
1680
  }
1681
- ._icon_1dlok_102,
1682
- ._check_1dlok_103 {
1681
+ ._icon_19h1u_102,
1682
+ ._check_19h1u_103 {
1683
1683
  display: flex;
1684
1684
  flex-shrink: 1;
1685
1685
  width: var(--size-xs);
@@ -1687,136 +1687,139 @@ html[data-theme='dark'] {
1687
1687
  justify-content: center;
1688
1688
  align-items: center;
1689
1689
  }
1690
- ._icon_1dlok_102 {
1690
+ ._icon_19h1u_102 {
1691
1691
  margin-right: var(--padding-xs);
1692
1692
  color: var(--color-text-primary);
1693
1693
  font-size: var(--size-xs);
1694
1694
  }
1695
- ._icon_1dlok_102:empty {
1695
+ ._icon_19h1u_102:empty {
1696
1696
  display: none;
1697
1697
  }
1698
- ._icon_1dlok_102 img {
1698
+ ._icon_19h1u_102 img {
1699
1699
  max-height: 16px;
1700
1700
  max-width: 16px;
1701
1701
  width: auto;
1702
1702
  height: auto;
1703
1703
  }
1704
- ._check_1dlok_103 {
1704
+ ._check_19h1u_103 {
1705
1705
  width: 1em;
1706
1706
  margin: 0 -2px 0 var(--padding-xxs);
1707
1707
  color: var(--color-text-primary);
1708
1708
  }
1709
- ._label_1dlok_130 {
1709
+ ._label_19h1u_130 {
1710
1710
  flex: 1;
1711
1711
  min-width: 0;
1712
1712
  pointer-events: initial;
1713
1713
  }
1714
- ._label_1dlok_130,
1715
- ._heading_1dlok_32 {
1714
+ ._label_19h1u_130,
1715
+ ._heading_19h1u_32 {
1716
1716
  max-width: 100%;
1717
1717
  display: block;
1718
1718
  overflow: hidden;
1719
1719
  text-overflow: ellipsis;
1720
1720
  white-space: nowrap;
1721
1721
  }
1722
- ._description_1dlok_93 {
1722
+ ._description_19h1u_93 {
1723
1723
  color: #999;
1724
1724
  display: block;
1725
1725
  flex-shrink: 0;
1726
1726
  }
1727
- ._arrow_1dlok_148 {
1727
+ ._arrow_19h1u_148 {
1728
1728
  margin-left: var(--padding-xxs);
1729
1729
  display: flex;
1730
1730
  }
1731
- ._divider_1dlok_152 {
1731
+ ._divider_19h1u_152 {
1732
1732
  border: 0;
1733
1733
  border-top: 1px solid var(--color-border);
1734
1734
  }
1735
- ._disabled_1dlok_73 {
1735
+ ._disabled_19h1u_73 {
1736
1736
  pointer-events: none;
1737
1737
  cursor: not-allowed !important;
1738
1738
  }
1739
- ._buttonLabel_1dlok_160 {
1739
+ ._buttonLabel_19h1u_160 {
1740
1740
  white-space: nowrap;
1741
1741
  overflow: hidden;
1742
1742
  text-overflow: ellipsis;
1743
1743
  display: block;
1744
1744
  margin-right: auto;
1745
1745
  }
1746
- ._component_1dlok_167 {
1746
+ ._component_19h1u_167 {
1747
1747
  display: inline-flex;
1748
1748
  align-items: center;
1749
1749
  justify-content: center;
1750
1750
  cursor: pointer;
1751
1751
  }
1752
- ._right_1dlok_173 {
1752
+ ._right_19h1u_173 {
1753
1753
  margin-left: auto;
1754
1754
  display: flex;
1755
1755
  align-items: center;
1756
1756
  }
1757
- ._actions_1dlok_178 {
1757
+ ._actions_19h1u_178 {
1758
1758
  margin-left: var(--padding-xs);
1759
1759
  display: flex;
1760
1760
  align-items: center;
1761
1761
  margin-top: -2px;
1762
1762
  margin-bottom: -2px;
1763
1763
  }
1764
- ._menuPopover_1dlok_185 {
1764
+ ._menuPopover_19h1u_185 {
1765
1765
  outline: none;
1766
1766
  z-index: var(--zindex-dropdown) !important;
1767
1767
  transition: opacity 0.1s, transform 0.1s;
1768
1768
  }
1769
- ._menuPopover_1dlok_185[data-entering],
1770
- ._menuPopover_1dlok_185[data-exiting] {
1769
+ ._menuPopover_19h1u_185[data-entering],
1770
+ ._menuPopover_19h1u_185[data-exiting] {
1771
1771
  transform: var(--origin);
1772
1772
  opacity: 0;
1773
1773
  }
1774
- ._menuPopover_1dlok_185[data-placement='top'] {
1774
+ ._menuPopover_19h1u_185[data-placement='top'] {
1775
1775
  --origin: translateY(4px);
1776
1776
  }
1777
- ._menuPopover_1dlok_185[data-placement='bottom'] {
1777
+ ._menuPopover_19h1u_185[data-placement='bottom'] {
1778
1778
  --origin: translateY(-4px);
1779
1779
  }
1780
- ._menuPopover_1dlok_185[data-placement='right'] {
1780
+ ._menuPopover_19h1u_185[data-placement='right'] {
1781
1781
  --origin: translateX(-4px);
1782
1782
  }
1783
- ._menuPopover_1dlok_185[data-placement='left'] {
1783
+ ._menuPopover_19h1u_185[data-placement='left'] {
1784
1784
  --origin: translateX(4px);
1785
1785
  }
1786
- ._menuPopoverNested_1dlok_207 {
1786
+ ._menuPopoverNested_19h1u_207 {
1787
1787
  padding: 0;
1788
1788
  }
1789
- ._menuItem_1dlok_210 {
1789
+ ._menuItem_19h1u_210 {
1790
1790
  outline: none;
1791
1791
  cursor: pointer;
1792
1792
  }
1793
- ._menuItem_1dlok_210[data-disabled] {
1793
+ ._menuItem_19h1u_210[data-disabled] {
1794
1794
  opacity: 0.2;
1795
1795
  cursor: not-allowed;
1796
1796
  }
1797
- ._menuItem_1dlok_210[data-focused],
1798
- ._menuItem_1dlok_210[data-hovered] {
1797
+ ._menuItem_19h1u_210[data-focused],
1798
+ ._menuItem_19h1u_210[data-hovered] {
1799
1799
  background-color: var(--color-background-listitem-hover);
1800
1800
  }
1801
- ._menuItem_1dlok_210[data-selected] {
1801
+ ._menuItem_19h1u_210[data-selected] {
1802
1802
  background-color: var(--color-background-listitem-active);
1803
1803
  }
1804
- ._menuItem_1dlok_210[data-selected][data-focused],
1805
- ._menuItem_1dlok_210[data-selected][data-hovered] {
1804
+ ._menuItem_19h1u_210[data-selected][data-focused],
1805
+ ._menuItem_19h1u_210[data-selected][data-hovered] {
1806
1806
  background-color: var(--color-background-listitem-active-hover);
1807
1807
  }
1808
- ._overlayScope_1dlok_229 {
1808
+ ._overlayScope_19h1u_229 {
1809
1809
  display: contents;
1810
1810
  }
1811
- ._noResults_1dlok_232 {
1811
+ ._noResults_19h1u_232 {
1812
1812
  padding: var(--padding-input);
1813
1813
  color: var(--color-text-muted);
1814
1814
  }
1815
- ._searchInput_1dlok_236 {
1815
+ ._searchField_19h1u_236:not([data-empty]) ._searchInput_19h1u_236 {
1816
+ width: auto;
1817
+ }
1818
+ ._searchInput_19h1u_236 {
1816
1819
  appearance: none;
1817
1820
  }
1818
- ._searchInput_1dlok_236::-webkit-search-cancel-button,
1819
- ._searchInput_1dlok_236::-webkit-search-decoration {
1821
+ ._searchInput_19h1u_236::-webkit-search-cancel-button,
1822
+ ._searchInput_19h1u_236::-webkit-search-decoration {
1820
1823
  display: none;
1821
1824
  }
1822
1825
  ._inputInTable_c2rg4_1 {
package/dist/index.js CHANGED
@@ -1058,35 +1058,36 @@ var isMenuEmpty = (menu) => {
1058
1058
  return !isValidElement(sections) && (!Array.isArray(sections) || sections.every((section) => isEmpty(section)));
1059
1059
  };
1060
1060
  var menu_module_default = {
1061
- layer: "_layer_1dlok_1",
1062
- nested: "_nested_1dlok_14",
1063
- fileInput: "_fileInput_1dlok_17",
1064
- trigger: "_trigger_1dlok_23",
1065
- heading: "_heading_1dlok_32",
1066
- headingIcon: "_headingIcon_1dlok_38",
1067
- clickable: "_clickable_1dlok_45",
1068
- option: "_option_1dlok_49",
1069
- active: "_active_1dlok_68",
1070
- disabled: "_disabled_1dlok_73",
1071
- selected: "_selected_1dlok_76",
1072
- optionContent: "_optionContent_1dlok_89",
1073
- description: "_description_1dlok_93",
1074
- inline: "_inline_1dlok_97",
1075
- icon: "_icon_1dlok_102",
1076
- check: "_check_1dlok_103",
1077
- label: "_label_1dlok_130",
1078
- arrow: "_arrow_1dlok_148",
1079
- divider: "_divider_1dlok_152",
1080
- buttonLabel: "_buttonLabel_1dlok_160",
1081
- component: "_component_1dlok_167",
1082
- right: "_right_1dlok_173",
1083
- actions: "_actions_1dlok_178",
1084
- menuPopover: "_menuPopover_1dlok_185",
1085
- menuPopoverNested: "_menuPopoverNested_1dlok_207",
1086
- menuItem: "_menuItem_1dlok_210",
1087
- overlayScope: "_overlayScope_1dlok_229",
1088
- noResults: "_noResults_1dlok_232",
1089
- searchInput: "_searchInput_1dlok_236"
1061
+ layer: "_layer_19h1u_1",
1062
+ nested: "_nested_19h1u_14",
1063
+ fileInput: "_fileInput_19h1u_17",
1064
+ trigger: "_trigger_19h1u_23",
1065
+ heading: "_heading_19h1u_32",
1066
+ headingIcon: "_headingIcon_19h1u_38",
1067
+ clickable: "_clickable_19h1u_45",
1068
+ option: "_option_19h1u_49",
1069
+ active: "_active_19h1u_68",
1070
+ disabled: "_disabled_19h1u_73",
1071
+ selected: "_selected_19h1u_76",
1072
+ optionContent: "_optionContent_19h1u_89",
1073
+ description: "_description_19h1u_93",
1074
+ inline: "_inline_19h1u_97",
1075
+ icon: "_icon_19h1u_102",
1076
+ check: "_check_19h1u_103",
1077
+ label: "_label_19h1u_130",
1078
+ arrow: "_arrow_19h1u_148",
1079
+ divider: "_divider_19h1u_152",
1080
+ buttonLabel: "_buttonLabel_19h1u_160",
1081
+ component: "_component_19h1u_167",
1082
+ right: "_right_19h1u_173",
1083
+ actions: "_actions_19h1u_178",
1084
+ menuPopover: "_menuPopover_19h1u_185",
1085
+ menuPopoverNested: "_menuPopoverNested_19h1u_207",
1086
+ menuItem: "_menuItem_19h1u_210",
1087
+ overlayScope: "_overlayScope_19h1u_229",
1088
+ noResults: "_noResults_19h1u_232",
1089
+ searchField: "_searchField_19h1u_236",
1090
+ searchInput: "_searchInput_19h1u_236"
1090
1091
  };
1091
1092
  //#endregion
1092
1093
  //#region src/components/menu/layer/heading.tsx
@@ -1544,7 +1545,7 @@ var SearchTrigger = forwardRef(({ label, placeholder, searchValue, isOpen, disab
1544
1545
  "aria-label": ariaLabel,
1545
1546
  isDisabled: disabled,
1546
1547
  onKeyDown: handleKeyDown,
1547
- className: trigger_module_default.triggerInputContainer,
1548
+ className: cx(trigger_module_default.triggerInputContainer, menu_module_default.searchField),
1548
1549
  children: [
1549
1550
  showLabel && /* @__PURE__ */ jsx("span", {
1550
1551
  className: trigger_module_default.selectedSingleValue,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/react-ui-library",
3
- "version": "10.8.0-beta-2",
3
+ "version": "10.8.0-beta-3",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "homepage": "https://oliasoft-open-source.gitlab.io/react-ui-library",
6
6
  "bugs": {