@kjun-ui/react 0.3.2 → 0.4.1
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 +3 -3
- package/dist/index.js +3 -3
- package/dist/styles.css +455 -434
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -2148,7 +2148,7 @@ function DsCheckbox({
|
|
|
2148
2148
|
isSelected: checked,
|
|
2149
2149
|
isDisabled: disabled,
|
|
2150
2150
|
"aria-label": ariaLabel,
|
|
2151
|
-
className: "ds-choice" + (disabled ? " ds-choice--disabled" : ""),
|
|
2151
|
+
className: "kjun-choice ds-choice" + (disabled ? " ds-choice--disabled" : ""),
|
|
2152
2152
|
onChange: (next) => {
|
|
2153
2153
|
const result = Array.isArray(value) ? next ? [...value, val] : value.filter((v) => v !== val) : next;
|
|
2154
2154
|
onValueChange == null ? void 0 : onValueChange(result);
|
|
@@ -2183,7 +2183,7 @@ function DsSwitch({
|
|
|
2183
2183
|
isSelected: value,
|
|
2184
2184
|
isDisabled: disabled,
|
|
2185
2185
|
"aria-label": ariaLabel || label,
|
|
2186
|
-
className: "ds-choice" + (disabled ? " ds-choice--disabled" : ""),
|
|
2186
|
+
className: "kjun-choice ds-choice" + (disabled ? " ds-choice--disabled" : ""),
|
|
2187
2187
|
onChange: (next) => {
|
|
2188
2188
|
onValueChange == null ? void 0 : onValueChange(next);
|
|
2189
2189
|
onChange == null ? void 0 : onChange(next);
|
|
@@ -2214,7 +2214,7 @@ function DsRadio({
|
|
|
2214
2214
|
onChange
|
|
2215
2215
|
}) {
|
|
2216
2216
|
const group = (0, import_react22.useContext)(RadioContext), selected = (group ? group.value : value) === val;
|
|
2217
|
-
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("label", { className: "ds-choice" + (disabled ? " ds-choice--disabled" : ""), children: [
|
|
2217
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("label", { className: "kjun-choice ds-choice" + (disabled ? " ds-choice--disabled" : ""), children: [
|
|
2218
2218
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
2219
2219
|
"input",
|
|
2220
2220
|
{
|
package/dist/index.js
CHANGED
|
@@ -2079,7 +2079,7 @@ function DsCheckbox({
|
|
|
2079
2079
|
isSelected: checked,
|
|
2080
2080
|
isDisabled: disabled,
|
|
2081
2081
|
"aria-label": ariaLabel,
|
|
2082
|
-
className: "ds-choice" + (disabled ? " ds-choice--disabled" : ""),
|
|
2082
|
+
className: "kjun-choice ds-choice" + (disabled ? " ds-choice--disabled" : ""),
|
|
2083
2083
|
onChange: (next) => {
|
|
2084
2084
|
const result = Array.isArray(value) ? next ? [...value, val] : value.filter((v) => v !== val) : next;
|
|
2085
2085
|
onValueChange == null ? void 0 : onValueChange(result);
|
|
@@ -2114,7 +2114,7 @@ function DsSwitch({
|
|
|
2114
2114
|
isSelected: value,
|
|
2115
2115
|
isDisabled: disabled,
|
|
2116
2116
|
"aria-label": ariaLabel || label,
|
|
2117
|
-
className: "ds-choice" + (disabled ? " ds-choice--disabled" : ""),
|
|
2117
|
+
className: "kjun-choice ds-choice" + (disabled ? " ds-choice--disabled" : ""),
|
|
2118
2118
|
onChange: (next) => {
|
|
2119
2119
|
onValueChange == null ? void 0 : onValueChange(next);
|
|
2120
2120
|
onChange == null ? void 0 : onChange(next);
|
|
@@ -2145,7 +2145,7 @@ function DsRadio({
|
|
|
2145
2145
|
onChange
|
|
2146
2146
|
}) {
|
|
2147
2147
|
const group = useContext9(RadioContext), selected = (group ? group.value : value) === val;
|
|
2148
|
-
return /* @__PURE__ */ jsxs9("label", { className: "ds-choice" + (disabled ? " ds-choice--disabled" : ""), children: [
|
|
2148
|
+
return /* @__PURE__ */ jsxs9("label", { className: "kjun-choice ds-choice" + (disabled ? " ds-choice--disabled" : ""), children: [
|
|
2149
2149
|
/* @__PURE__ */ jsx12(
|
|
2150
2150
|
"input",
|
|
2151
2151
|
{
|