jclib-ui 1.0.95 → 1.0.97
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/jclib-ui.es.js +28 -38
- package/dist/jclib-ui.es.js.map +1 -1
- package/dist/jclib-ui.umd.js +9 -8
- package/dist/jclib-ui.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/jclib-ui.es.js
CHANGED
|
@@ -8066,8 +8066,6 @@ const ContainerFixed = styled.div`
|
|
|
8066
8066
|
display: grid;
|
|
8067
8067
|
place-items: center;
|
|
8068
8068
|
|
|
8069
|
-
animation: FadeIn 0.2s both;
|
|
8070
|
-
|
|
8071
8069
|
& > .mod-panel {
|
|
8072
8070
|
background-color: var(--pn-color);
|
|
8073
8071
|
border: 1px solid var(--pn-color);
|
|
@@ -19202,17 +19200,20 @@ const Container$1 = styled.div`
|
|
|
19202
19200
|
--toggle-color-white: #fff;
|
|
19203
19201
|
--toggle-color-text: var(--bs-body-color);
|
|
19204
19202
|
|
|
19205
|
-
display: flex;
|
|
19206
|
-
align-items: center;
|
|
19207
19203
|
user-select: none;
|
|
19208
19204
|
margin: 2px 0;
|
|
19209
19205
|
|
|
19210
|
-
|
|
19211
|
-
display:
|
|
19212
|
-
align-items:
|
|
19206
|
+
& > label {
|
|
19207
|
+
display: flex;
|
|
19208
|
+
align-items: flex-start;
|
|
19213
19209
|
gap: 5px;
|
|
19214
19210
|
|
|
19215
19211
|
cursor: ${(props) => !props.disabled ? "pointer" : "default"};
|
|
19212
|
+
|
|
19213
|
+
& > div {
|
|
19214
|
+
margin-top: 3px;
|
|
19215
|
+
margin-right: -5px;
|
|
19216
|
+
}
|
|
19216
19217
|
}
|
|
19217
19218
|
|
|
19218
19219
|
input {
|
|
@@ -19254,39 +19255,28 @@ function Toggle({
|
|
|
19254
19255
|
});
|
|
19255
19256
|
}
|
|
19256
19257
|
}
|
|
19257
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19258
|
-
|
|
19258
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { checked, disabled, className, ...rest, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
19259
|
+
"label",
|
|
19259
19260
|
{
|
|
19260
|
-
|
|
19261
|
-
|
|
19262
|
-
|
|
19263
|
-
|
|
19264
|
-
children:
|
|
19265
|
-
"
|
|
19266
|
-
|
|
19267
|
-
|
|
19268
|
-
|
|
19269
|
-
|
|
19270
|
-
|
|
19271
|
-
|
|
19272
|
-
|
|
19273
|
-
|
|
19274
|
-
|
|
19275
|
-
|
|
19276
|
-
|
|
19277
|
-
disabled,
|
|
19278
|
-
type: "checkbox",
|
|
19279
|
-
className: "form-check-input",
|
|
19280
|
-
checked,
|
|
19281
|
-
onChange: handleClick
|
|
19282
|
-
}
|
|
19283
|
-
),
|
|
19284
|
-
children && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "title", children })
|
|
19285
|
-
]
|
|
19286
|
-
}
|
|
19287
|
-
)
|
|
19261
|
+
style: {
|
|
19262
|
+
flexDirection: toRight ? "row-reverse" : "row",
|
|
19263
|
+
justifyContent: toRight ? "space-between" : "flex-start"
|
|
19264
|
+
},
|
|
19265
|
+
children: [
|
|
19266
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "form-switch", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19267
|
+
"input",
|
|
19268
|
+
{
|
|
19269
|
+
disabled,
|
|
19270
|
+
type: "checkbox",
|
|
19271
|
+
className: "form-check-input",
|
|
19272
|
+
checked,
|
|
19273
|
+
onChange: handleClick
|
|
19274
|
+
}
|
|
19275
|
+
) }),
|
|
19276
|
+
children && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "title", children })
|
|
19277
|
+
]
|
|
19288
19278
|
}
|
|
19289
|
-
);
|
|
19279
|
+
) });
|
|
19290
19280
|
}
|
|
19291
19281
|
const Container = styled.div`
|
|
19292
19282
|
--margin-up: 15px;
|