@fremtind/jkl-loader-react
Advanced tools
Comparing version 12.0.0 to 12.0.1
@@ -47,4 +47,4 @@ "use strict"; | ||
const compact = density === "compact"; | ||
return /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("jkl-skeleton-input", className), ...rest }, /* @__PURE__ */ import_react.default.createElement(import_SkeletonLabel.SkeletonLabel, { density, ...labelProps }), Array.from(Array(checkboxes)).map((_, index) => /* @__PURE__ */ import_react.default.createElement("div", { key: `jkl-skeleton-checkbox-${index}`, className: "jkl-skeleton-input__checkbox" }, /* @__PURE__ */ import_react.default.createElement(import_SkeletonElement.SkeletonElement, { width: compact ? 22 : 24, height: compact ? 22 : 24 }), /* @__PURE__ */ import_react.default.createElement(import_SkeletonElement.SkeletonElement, { width: compact ? 201 : 216, height: compact ? 22 : 24, ...inputProps })))); | ||
return /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("jkl-skeleton-input", className), ...rest }, /* @__PURE__ */ import_react.default.createElement(import_SkeletonLabel.SkeletonLabel, { density, ...labelProps }), Array.from(Array(checkboxes)).map((_, index) => /* @__PURE__ */ import_react.default.createElement("div", { key: "jkl-skeleton-checkbox-".concat(index), className: "jkl-skeleton-input__checkbox" }, /* @__PURE__ */ import_react.default.createElement(import_SkeletonElement.SkeletonElement, { width: compact ? 22 : 24, height: compact ? 22 : 24 }), /* @__PURE__ */ import_react.default.createElement(import_SkeletonElement.SkeletonElement, { width: compact ? 201 : 216, height: compact ? 22 : 24, ...inputProps })))); | ||
}; | ||
//# sourceMappingURL=SkeletonCheckboxGroup.js.map |
@@ -40,3 +40,3 @@ "use strict"; | ||
{ | ||
className: (0, import_classnames.default)("jkl-skeleton-element", `jkl-skeleton-element--${shape}`, className), | ||
className: (0, import_classnames.default)("jkl-skeleton-element", "jkl-skeleton-element--".concat(shape), className), | ||
style: { width, height, ...style }, | ||
@@ -43,0 +43,0 @@ ...rest |
@@ -47,3 +47,3 @@ "use strict"; | ||
const compact = density === "compact"; | ||
return /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("jkl-skeleton-input", className), ...rest }, /* @__PURE__ */ import_react.default.createElement(import_SkeletonLabel.SkeletonLabel, { density, ...labelProps }), Array.from(Array(radioButtons)).map((_, index) => /* @__PURE__ */ import_react.default.createElement("div", { key: `jkl-skeleton-checkbox-${index}`, className: "jkl-skeleton-input__checkbox" }, /* @__PURE__ */ import_react.default.createElement( | ||
return /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("jkl-skeleton-input", className), ...rest }, /* @__PURE__ */ import_react.default.createElement(import_SkeletonLabel.SkeletonLabel, { density, ...labelProps }), Array.from(Array(radioButtons)).map((_, index) => /* @__PURE__ */ import_react.default.createElement("div", { key: "jkl-skeleton-checkbox-".concat(index), className: "jkl-skeleton-input__checkbox" }, /* @__PURE__ */ import_react.default.createElement( | ||
import_SkeletonElement.SkeletonElement, | ||
@@ -50,0 +50,0 @@ { |
@@ -14,3 +14,3 @@ import cn from "classnames"; | ||
const compact = density === "compact"; | ||
return /* @__PURE__ */ React.createElement("div", { className: cn("jkl-skeleton-input", className), ...rest }, /* @__PURE__ */ React.createElement(SkeletonLabel, { density, ...labelProps }), Array.from(Array(checkboxes)).map((_, index) => /* @__PURE__ */ React.createElement("div", { key: `jkl-skeleton-checkbox-${index}`, className: "jkl-skeleton-input__checkbox" }, /* @__PURE__ */ React.createElement(SkeletonElement, { width: compact ? 22 : 24, height: compact ? 22 : 24 }), /* @__PURE__ */ React.createElement(SkeletonElement, { width: compact ? 201 : 216, height: compact ? 22 : 24, ...inputProps })))); | ||
return /* @__PURE__ */ React.createElement("div", { className: cn("jkl-skeleton-input", className), ...rest }, /* @__PURE__ */ React.createElement(SkeletonLabel, { density, ...labelProps }), Array.from(Array(checkboxes)).map((_, index) => /* @__PURE__ */ React.createElement("div", { key: "jkl-skeleton-checkbox-".concat(index), className: "jkl-skeleton-input__checkbox" }, /* @__PURE__ */ React.createElement(SkeletonElement, { width: compact ? 22 : 24, height: compact ? 22 : 24 }), /* @__PURE__ */ React.createElement(SkeletonElement, { width: compact ? 201 : 216, height: compact ? 22 : 24, ...inputProps })))); | ||
}; | ||
@@ -17,0 +17,0 @@ export { |
@@ -7,3 +7,3 @@ import cn from "classnames"; | ||
{ | ||
className: cn("jkl-skeleton-element", `jkl-skeleton-element--${shape}`, className), | ||
className: cn("jkl-skeleton-element", "jkl-skeleton-element--".concat(shape), className), | ||
style: { width, height, ...style }, | ||
@@ -10,0 +10,0 @@ ...rest |
@@ -14,3 +14,3 @@ import cn from "classnames"; | ||
const compact = density === "compact"; | ||
return /* @__PURE__ */ React.createElement("div", { className: cn("jkl-skeleton-input", className), ...rest }, /* @__PURE__ */ React.createElement(SkeletonLabel, { density, ...labelProps }), Array.from(Array(radioButtons)).map((_, index) => /* @__PURE__ */ React.createElement("div", { key: `jkl-skeleton-checkbox-${index}`, className: "jkl-skeleton-input__checkbox" }, /* @__PURE__ */ React.createElement( | ||
return /* @__PURE__ */ React.createElement("div", { className: cn("jkl-skeleton-input", className), ...rest }, /* @__PURE__ */ React.createElement(SkeletonLabel, { density, ...labelProps }), Array.from(Array(radioButtons)).map((_, index) => /* @__PURE__ */ React.createElement("div", { key: "jkl-skeleton-checkbox-".concat(index), className: "jkl-skeleton-input__checkbox" }, /* @__PURE__ */ React.createElement( | ||
SkeletonElement, | ||
@@ -17,0 +17,0 @@ { |
{ | ||
"name": "@fremtind/jkl-loader-react", | ||
"version": "12.0.0", | ||
"version": "12.0.1", | ||
"publishConfig": { | ||
@@ -40,4 +40,4 @@ "access": "public" | ||
"dependencies": { | ||
"@fremtind/jkl-core": "^13.0.0", | ||
"@fremtind/jkl-loader": "^11.0.0", | ||
"@fremtind/jkl-core": "^13.0.1", | ||
"@fremtind/jkl-loader": "^11.0.1", | ||
"classnames": "^2.3.2" | ||
@@ -58,3 +58,3 @@ }, | ||
}, | ||
"gitHead": "dc186201b35de12936fd8944b5ff713437312239" | ||
"gitHead": "a3f698343dbc966239d274bb0b55b193c5c23a9e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
87947
Updated@fremtind/jkl-core@^13.0.1
Updated@fremtind/jkl-loader@^11.0.1