@noya-app/noya-designsystem 0.1.38 → 0.1.39
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/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +6 -0
- package/dist/index.css +1 -1
- package/dist/index.js +5 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/Checkbox.tsx +4 -8
package/dist/index.mjs
CHANGED
|
@@ -4145,11 +4145,12 @@ var colorSchemeStyles = {
|
|
|
4145
4145
|
secondary: "text-secondary"
|
|
4146
4146
|
};
|
|
4147
4147
|
var Checkbox = memo3(
|
|
4148
|
-
forwardRef4(function Checkbox2({ className, colorScheme = "secondary", ...props }, ref) {
|
|
4148
|
+
forwardRef4(function Checkbox2({ className, style: style5, colorScheme = "secondary", ...props }, ref) {
|
|
4149
4149
|
return /* @__PURE__ */ React6.createElement(
|
|
4150
4150
|
"div",
|
|
4151
4151
|
{
|
|
4152
|
-
className: `relative inline-flex w-[19px] h-[19px] ${colorSchemeStyles[colorScheme]} ${className ?? ""}
|
|
4152
|
+
className: `relative inline-flex w-[19px] h-[19px] ${colorSchemeStyles[colorScheme]} ${className ?? ""}`,
|
|
4153
|
+
style: style5
|
|
4153
4154
|
},
|
|
4154
4155
|
/* @__PURE__ */ React6.createElement(
|
|
4155
4156
|
"input",
|
|
@@ -4161,6 +4162,7 @@ var Checkbox = memo3(
|
|
|
4161
4162
|
h-full
|
|
4162
4163
|
peer
|
|
4163
4164
|
appearance-none
|
|
4165
|
+
m-0
|
|
4164
4166
|
rounded
|
|
4165
4167
|
bg-input-background
|
|
4166
4168
|
transition-colors
|
|
@@ -4173,10 +4175,6 @@ var Checkbox = memo3(
|
|
|
4173
4175
|
focus:ring-offset-1
|
|
4174
4176
|
focus:z-interactable
|
|
4175
4177
|
`,
|
|
4176
|
-
style: {
|
|
4177
|
-
width: "27px",
|
|
4178
|
-
...props.style
|
|
4179
|
-
},
|
|
4180
4178
|
...props
|
|
4181
4179
|
}
|
|
4182
4180
|
),
|
|
@@ -4193,10 +4191,8 @@ var Checkbox = memo3(
|
|
|
4193
4191
|
opacity-0
|
|
4194
4192
|
peer-checked:opacity-100
|
|
4195
4193
|
z-label
|
|
4194
|
+
stroke-[1.3px]
|
|
4196
4195
|
`,
|
|
4197
|
-
style: {
|
|
4198
|
-
strokeWidth: "1.3"
|
|
4199
|
-
},
|
|
4200
4196
|
viewBox: "0 0 16 16",
|
|
4201
4197
|
fill: "none",
|
|
4202
4198
|
xmlns: "http://www.w3.org/2000/svg"
|