@protonradio/proton-ui 0.1.36 → 0.1.38
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/proton-ui.es.js +8 -7
- package/dist/proton-ui.es.js.map +1 -1
- package/dist/proton-ui.umd.js +1 -1
- package/dist/proton-ui.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/proton-ui.es.js
CHANGED
|
@@ -7831,20 +7831,18 @@ function Wd({ item: t, state: e }) {
|
|
|
7831
7831
|
e,
|
|
7832
7832
|
n
|
|
7833
7833
|
);
|
|
7834
|
-
return /* @__PURE__ */ D.
|
|
7834
|
+
return /* @__PURE__ */ D.jsx(
|
|
7835
7835
|
"li",
|
|
7836
7836
|
{
|
|
7837
7837
|
...r,
|
|
7838
7838
|
className: le(
|
|
7839
7839
|
"proton-ListBox__item",
|
|
7840
7840
|
i && "proton-ListBox__item--focused",
|
|
7841
|
-
l && "proton-ListBox__item--selected"
|
|
7841
|
+
l && "proton-ListBox__item--selected",
|
|
7842
|
+
o && "proton-ListBox__item--disabled"
|
|
7842
7843
|
),
|
|
7843
7844
|
ref: n,
|
|
7844
|
-
children:
|
|
7845
|
-
t.rendered,
|
|
7846
|
-
l ? /* @__PURE__ */ D.jsx("span", { children: "✓" }) : null
|
|
7847
|
-
]
|
|
7845
|
+
children: t.rendered
|
|
7848
7846
|
}
|
|
7849
7847
|
);
|
|
7850
7848
|
}
|
|
@@ -7909,7 +7907,10 @@ function Gd(t) {
|
|
|
7909
7907
|
t.isDisabled && "proton-Select--disabled"
|
|
7910
7908
|
),
|
|
7911
7909
|
children: [
|
|
7912
|
-
t.label
|
|
7910
|
+
t.label ? /* @__PURE__ */ D.jsx("div", { ...l, className: "proton-Select__label", children: t.label }) : (
|
|
7911
|
+
// If no label is provided, render an invisible label for a11y
|
|
7912
|
+
/* @__PURE__ */ D.jsx("div", { ...l })
|
|
7913
|
+
),
|
|
7913
7914
|
/* @__PURE__ */ D.jsx(
|
|
7914
7915
|
ud,
|
|
7915
7916
|
{
|