@obosbbl/grunnmuren-react 1.4.8 → 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 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@obosbbl/grunnmuren-react",
3
- "version": "1.4.8",
3
+ "version": "1.4.9",
4
4
  "description": "OBOS Grunnmuren design system React components",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -18,7 +18,7 @@
18
18
  "types": "./dist/index.d.ts",
19
19
  "devDependencies": {
20
20
  "@babel/core": "7.19.3",
21
- "@obosbbl/grunnmuren-tailwind": "0.7.1",
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",
@@ -45,7 +45,7 @@
45
45
  "react-use": "17.4.0"
46
46
  },
47
47
  "peerDependencies": {
48
- "@obosbbl/grunnmuren-tailwind": "^0.7.1",
48
+ "@obosbbl/grunnmuren-tailwind": "^0.7.2",
49
49
  "react": "^18"
50
50
  },
51
51
  "peerDependenciesMeta": {