@protonradio/proton-ui 0.1.17 → 0.1.18
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 +10 -10
- 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
|
@@ -2030,7 +2030,7 @@ function aa(e) {
|
|
|
2030
2030
|
return /* @__PURE__ */ V.jsx(
|
|
2031
2031
|
"div",
|
|
2032
2032
|
{
|
|
2033
|
-
className: "ButtonGroup",
|
|
2033
|
+
className: "proton-ButtonGroup",
|
|
2034
2034
|
"data-value": t.selectedValue,
|
|
2035
2035
|
...n,
|
|
2036
2036
|
children: /* @__PURE__ */ V.jsx(ur.Provider, { value: t, children: e.children })
|
|
@@ -2044,8 +2044,8 @@ aa.Option = function(t) {
|
|
|
2044
2044
|
"label",
|
|
2045
2045
|
{
|
|
2046
2046
|
className: sr(
|
|
2047
|
-
"ButtonGroup__option",
|
|
2048
|
-
s && "ButtonGroup__option--selected"
|
|
2047
|
+
"proton-ButtonGroup__option",
|
|
2048
|
+
s && "proton-ButtonGroup__option--selected"
|
|
2049
2049
|
),
|
|
2050
2050
|
"data-selected": s || void 0,
|
|
2051
2051
|
children: [
|
|
@@ -2073,19 +2073,19 @@ function ia(e) {
|
|
|
2073
2073
|
"label",
|
|
2074
2074
|
{
|
|
2075
2075
|
className: sr(
|
|
2076
|
-
"Switch",
|
|
2077
|
-
e.isDisabled && "Switch--disabled",
|
|
2078
|
-
i.isSelected && "Switch--on"
|
|
2076
|
+
"proton-Switch",
|
|
2077
|
+
e.isDisabled && "proton-Switch--disabled",
|
|
2078
|
+
i.isSelected && "proton-Switch--on"
|
|
2079
2079
|
),
|
|
2080
2080
|
"data-on": i.isSelected || void 0,
|
|
2081
2081
|
"data-disabled": e.isDisabled || void 0,
|
|
2082
2082
|
"aria-label": e.label || void 0,
|
|
2083
2083
|
children: [
|
|
2084
2084
|
/* @__PURE__ */ V.jsx(ar, { children: /* @__PURE__ */ V.jsx("input", { ...s, ref: t }) }),
|
|
2085
|
-
e.label && /* @__PURE__ */ V.jsx("div", { className: "Switch__label", children: e.label }),
|
|
2086
|
-
/* @__PURE__ */ V.jsxs("div", { className: "Switch__wrapper", children: [
|
|
2087
|
-
/* @__PURE__ */ V.jsx("div", { className: "Switch__toggle", children: /* @__PURE__ */ V.jsx("div", { className: "Switch__slider" }) }),
|
|
2088
|
-
/* @__PURE__ */ V.jsx("div", { className: "Switch__description", children: e.children })
|
|
2085
|
+
e.label && /* @__PURE__ */ V.jsx("div", { className: "proton-Switch__label", children: e.label }),
|
|
2086
|
+
/* @__PURE__ */ V.jsxs("div", { className: "proton-Switch__wrapper", children: [
|
|
2087
|
+
/* @__PURE__ */ V.jsx("div", { className: "proton-Switch__toggle", children: /* @__PURE__ */ V.jsx("div", { className: "proton-Switch__slider" }) }),
|
|
2088
|
+
/* @__PURE__ */ V.jsx("div", { className: "proton-Switch__description", children: e.children })
|
|
2089
2089
|
] })
|
|
2090
2090
|
]
|
|
2091
2091
|
}
|