nexaas-ui-components 1.0.40 → 1.0.41

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/index.cjs CHANGED
@@ -108,7 +108,7 @@ var variants = {
108
108
  text: "shadow-button bg-surface border-[0.5px] border-rose-500 text-rose-500 hover:bg-rose-50 hover:text-rose-600 active:bg-rose-100 active:text-rose-600 disabled:bg-surface disabled:border-[0.5px] disabled:border-rose-700 disabled:opacity-50 active:shadow-none"
109
109
  },
110
110
  link: {
111
- text: "shadow-button text-left text-blue-700 hover:text-blue-800 hover:underline active:text-blue-900 disabled:text-blue-700 disabled:no-underline shadow-none font-normal"
111
+ text: "shadow-button text-left text-blue-500 hover:text-blue-700 hover:underline active:text-blue-800 disabled:text-blue-500 disabled:no-underline shadow-none font-normal"
112
112
  },
113
113
  dangerOutline: {
114
114
  text: "shadow-button text-dangerous-500 bg-surface border-[0.5px] border-dangerous-500 hover:bg-dangerous-100 hover:text-dangerous-600 active:bg-dangerous-500 active:text-white disabled:opacity-50 disabled:bg-white disabled:text-dangerous-500 active:shadow-none"
@@ -1713,16 +1713,7 @@ var FilterOptions = ({
1713
1713
  ),
1714
1714
  children: option == null ? void 0 : option.description
1715
1715
  }
1716
- ),
1717
- isSelected ? /* @__PURE__ */ jsxRuntime.jsx(
1718
- "span",
1719
- {
1720
- className: clsx9__default.default(
1721
- "absolute inset-y-0 text-white right-0 flex items-center pr-4"
1722
- ),
1723
- children: /* @__PURE__ */ jsxRuntime.jsx("i", { className: "uil uil-check text-lg" })
1724
- }
1725
- ) : null
1716
+ )
1726
1717
  ]
1727
1718
  }
1728
1719
  )
@@ -1822,7 +1813,14 @@ var FilterOptions = ({
1822
1813
  react.ListboxOptions,
1823
1814
  {
1824
1815
  static: true,
1825
- className: "max-h-60 w-full overflow-x-hidden overflow-y-auto bg-white text-p-md focus:outline-none sm:text-sm relative",
1816
+ className: clsx9__default.default(
1817
+ "max-h-60 w-full overflow-x-hidden overflow-y-auto bg-white text-p-md focus:outline-none sm:text-sm relative",
1818
+ {
1819
+ "pr-2": options.some(
1820
+ (option) => option.description
1821
+ ) ? options.length > 3 : options.length > 4
1822
+ }
1823
+ ),
1826
1824
  children: [
1827
1825
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mr-1 sticky top-0 z-30", children: [
1828
1826
  showFilter && /* @__PURE__ */ jsxRuntime.jsx(
@@ -1904,7 +1902,7 @@ var FilterOptions = ({
1904
1902
  isMulti && onSelectAll && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-r pr-2 border-neutral-300", children: /* @__PURE__ */ jsxRuntime.jsx(
1905
1903
  Button,
1906
1904
  {
1907
- variant: "secondary",
1905
+ variant: "link",
1908
1906
  size: "xxs",
1909
1907
  onClick: () => {
1910
1908
  onSelectAll();
@@ -1918,7 +1916,7 @@ var FilterOptions = ({
1918
1916
  onClear && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mr-1", children: /* @__PURE__ */ jsxRuntime.jsx(
1919
1917
  Button,
1920
1918
  {
1921
- variant: "secondary",
1919
+ variant: "link",
1922
1920
  size: "xxs",
1923
1921
  onClick: () => {
1924
1922
  if (onClear) {