@obosbbl/grunnmuren-react 1.4.7 → 1.4.9

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.
@@ -3,7 +3,7 @@ export interface RadioGroupProps extends Omit<React.ComponentPropsWithoutRef<'di
3
3
  /** The value of the radio button to be initially selected. For uncontrolled usage */
4
4
  defaultValue?: string;
5
5
  /** Help text for the radio group. */
6
- description?: string;
6
+ description?: React.ReactNode;
7
7
  /** The `name` attribute for the radio buttons. */
8
8
  name: string;
9
9
  /** The label for the radio group. */
@@ -2,7 +2,7 @@
2
2
  export interface TextAreaProps extends React.ComponentPropsWithoutRef<'textarea'> {
3
3
  children?: never;
4
4
  /** Help text for the form control */
5
- description?: string;
5
+ description?: React.ReactNode;
6
6
  /** Error message for the form control */
7
7
  error?: string;
8
8
  /** Label for the form control */
@@ -2,7 +2,7 @@
2
2
  export interface TextFieldProps extends React.ComponentPropsWithoutRef<'input'> {
3
3
  children?: never;
4
4
  /** Help text for the form control */
5
- description?: string;
5
+ description?: React.ReactNode;
6
6
  /** Error message for the form control */
7
7
  error?: string;
8
8
  /** Label for the form control */
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ title: string;
4
+ parameters: {
5
+ layout: string;
6
+ };
7
+ };
8
+ export default _default;
9
+ export declare function Icons(): JSX.Element;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ declare const metadata: {
3
+ title: string;
4
+ parameters: {
5
+ layout: string;
6
+ };
7
+ };
8
+ export default metadata;
9
+ export declare const Default: () => JSX.Element;
10
+ export declare const Prose: () => JSX.Element;
@@ -1317,7 +1317,7 @@ const StepListItem = (props) => {
1317
1317
  const StepListBullet = (props) => {
1318
1318
  return /* @__PURE__ */ jsx("span", __spreadValues({
1319
1319
  "aria-hidden": true,
1320
- className: "text-green border-gray-light after:bg-gray-light grid h-10 w-10 flex-none place-content-center rounded-full border-2 text-sm font-bold after:absolute after:left-5 after:top-10 after:bottom-0 after:w-0.5 group-last:after:hidden md:h-20 md:w-20 md:text-xl md:after:left-10 md:after:top-20"
1320
+ className: "text-green border-gray-light after:bg-gray-light grid h-10 w-10 flex-none place-content-center justify-items-center rounded-full border-2 text-sm font-bold after:absolute after:left-5 after:top-10 after:bottom-0 after:w-0.5 group-last:after:hidden md:h-20 md:w-20 md:text-xl md:after:left-10 md:after:top-20"
1321
1321
  }, props));
1322
1322
  };
1323
1323
  StepList.Item = StepListItem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@obosbbl/grunnmuren-react",
3
- "version": "1.4.7",
3
+ "version": "1.4.9",
4
4
  "description": "OBOS Grunnmuren design system React components",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -17,8 +17,8 @@
17
17
  ],
18
18
  "types": "./dist/index.d.ts",
19
19
  "devDependencies": {
20
- "@babel/core": "7.19.1",
21
- "@obosbbl/grunnmuren-tailwind": "0.7.0",
20
+ "@babel/core": "7.19.3",
21
+ "@obosbbl/grunnmuren-tailwind": "0.7.2",
22
22
  "@storybook/addon-controls": "6.5.12",
23
23
  "@storybook/addon-docs": "6.5.12",
24
24
  "@storybook/addon-postcss": "2.0.0",
@@ -28,7 +28,7 @@
28
28
  "@types/react": "18.0.21",
29
29
  "@types/react-dom": "18.0.6",
30
30
  "@vitejs/plugin-react": "1.3.2",
31
- "postcss": "8.4.16",
31
+ "postcss": "8.4.17",
32
32
  "react": "18.2.0",
33
33
  "react-dom": "18.2.0",
34
34
  "require-from-string": "2.0.2",
@@ -45,7 +45,7 @@
45
45
  "react-use": "17.4.0"
46
46
  },
47
47
  "peerDependencies": {
48
- "@obosbbl/grunnmuren-tailwind": "^0.7.0",
48
+ "@obosbbl/grunnmuren-tailwind": "^0.7.2",
49
49
  "react": "^18"
50
50
  },
51
51
  "peerDependenciesMeta": {