@obosbbl/grunnmuren-react 1.4.4 → 1.4.6
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/grunnmuren.es.js +3 -3
- package/package.json +2 -2
package/dist/grunnmuren.es.js
CHANGED
|
@@ -242,7 +242,7 @@ const AccordionItem = (props) => {
|
|
|
242
242
|
onChange
|
|
243
243
|
}, collapseContext),
|
|
244
244
|
children: /* @__PURE__ */ jsx("div", __spreadValues({
|
|
245
|
-
className: cx(className, "border-b-gray-concrete
|
|
245
|
+
className: cx(className, "border-b-gray-concrete rounded-sm border-b-2 border-l-4 border-solid", collapseContext.isExpanded ? "border-l-green-dark" : "border-l-green")
|
|
246
246
|
}, rest))
|
|
247
247
|
});
|
|
248
248
|
};
|
|
@@ -642,12 +642,12 @@ const Chip = (props) => {
|
|
|
642
642
|
const chipVariation = color && chipVariations[color];
|
|
643
643
|
const iconColor = color && iconColors[color];
|
|
644
644
|
return /* @__PURE__ */ jsxs("div", {
|
|
645
|
-
className: cx("inline-flex items-center overflow-hidden rounded-lg border-2 font-
|
|
645
|
+
className: cx("inline-flex items-center gap-0.5 overflow-hidden rounded-lg border-2 text-sm font-semibold", chipVariation, className),
|
|
646
646
|
children: [icon && /* @__PURE__ */ jsx("div", {
|
|
647
647
|
className: cx("px-3 py-2", iconColor),
|
|
648
648
|
children: icon
|
|
649
649
|
}), /* @__PURE__ */ jsx("div", {
|
|
650
|
-
className: cx("flex-1 py-2 px-
|
|
650
|
+
className: cx("flex-1 py-2 px-4", {
|
|
651
651
|
"bg-white": variant === "outline"
|
|
652
652
|
}),
|
|
653
653
|
children
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@obosbbl/grunnmuren-react",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.6",
|
|
4
4
|
"description": "OBOS Grunnmuren design system React components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@storybook/builder-webpack5": "6.5.12",
|
|
26
26
|
"@storybook/manager-webpack5": "6.5.12",
|
|
27
27
|
"@storybook/react": "6.5.12",
|
|
28
|
-
"@types/react": "18.0.
|
|
28
|
+
"@types/react": "18.0.21",
|
|
29
29
|
"@types/react-dom": "18.0.6",
|
|
30
30
|
"@vitejs/plugin-react": "1.3.2",
|
|
31
31
|
"postcss": "8.4.16",
|