@liner-fe/prism 2.9.47 → 2.9.48
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/lib/index.d.ts +0 -1
- package/lib/index.js +3 -3
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -336,7 +336,6 @@ declare const IconButton: react.ForwardRefExoticComponent<IconButtonProps & reac
|
|
|
336
336
|
|
|
337
337
|
interface CheckboxProps extends React.ComponentPropsWithoutRef<typeof Checkbox$1.Root> {
|
|
338
338
|
label?: string;
|
|
339
|
-
labelComponent?: ReactNode;
|
|
340
339
|
description?: string;
|
|
341
340
|
}
|
|
342
341
|
declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLButtonElement>>;
|
package/lib/index.js
CHANGED
|
@@ -1739,10 +1739,10 @@ Label.displayName = "Label";
|
|
|
1739
1739
|
import { IconCheckMark } from "@liner-fe/icon";
|
|
1740
1740
|
import { Fragment as Fragment4, jsx as jsx15, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
1741
1741
|
var Checkbox = forwardRef12(
|
|
1742
|
-
({ className, label,
|
|
1742
|
+
({ className, label, description, ...props }, ref) => {
|
|
1743
1743
|
const CheckboxWrapper = /* @__PURE__ */ __name(({ children }) => label ? /* @__PURE__ */ jsxs6(Label, { position: "right", htmlFor: props.id, children: [
|
|
1744
|
-
|
|
1745
|
-
label,
|
|
1744
|
+
/* @__PURE__ */ jsxs6("div", { className: style_module_default9["label-wrapper"], children: [
|
|
1745
|
+
/* @__PURE__ */ jsx15(Paragraph, { type: "normal", weight: "medium", size: 3, children: label }),
|
|
1746
1746
|
description && /* @__PURE__ */ jsx15(Paragraph, { className: style_module_default9.description, size: 3, type: "normal", weight: "regular", children: description })
|
|
1747
1747
|
] }),
|
|
1748
1748
|
children
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liner-fe/prism",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.48",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"dependencies": {
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"react": "^18.2.0",
|
|
18
18
|
"react-dom": "^18.2.0",
|
|
19
19
|
"recoil": "^0.5.2",
|
|
20
|
-
"@liner-fe/design-token": "^2.5.35",
|
|
21
20
|
"@liner-fe/design-token-primitive": "^0.2.34",
|
|
21
|
+
"@liner-fe/design-token": "^2.5.35",
|
|
22
22
|
"@liner-fe/icon": "^0.2.42",
|
|
23
23
|
"@liner-fe/illust": "^0.2.10"
|
|
24
24
|
},
|