@obosbbl/grunnmuren-react 1.14.2 → 1.14.4
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
interface CampaignProps<T extends React.ElementType> {
|
|
2
|
+
export interface CampaignProps<T extends React.ElementType> {
|
|
3
3
|
/** @default div */
|
|
4
4
|
as?: T;
|
|
5
5
|
body: React.ReactElement;
|
|
@@ -13,10 +13,12 @@ interface CampaignProps<T extends React.ElementType> {
|
|
|
13
13
|
*/
|
|
14
14
|
rightAlignBody?: boolean;
|
|
15
15
|
}
|
|
16
|
-
interface CampaignBodyProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
16
|
+
export interface CampaignBodyProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
17
17
|
}
|
|
18
|
-
|
|
18
|
+
export declare const CampaignBody: import("react").ForwardRefExoticComponent<CampaignBodyProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
19
|
+
export interface CampaignImageProps extends React.ComponentPropsWithoutRef<'img'> {
|
|
19
20
|
}
|
|
21
|
+
export declare const CampaignImage: import("react").ForwardRefExoticComponent<CampaignImageProps & import("react").RefAttributes<HTMLImageElement>>;
|
|
20
22
|
declare const Campaign: import("react").ForwardRefExoticComponent<Omit<CampaignProps<import("react").ElementType<any>> & Omit<Omit<any, "ref">, keyof CampaignProps<T>>, "ref"> & import("react").RefAttributes<HTMLDivElement>> & {
|
|
21
23
|
Body: import("react").ForwardRefExoticComponent<CampaignBodyProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
22
24
|
Image: import("react").ForwardRefExoticComponent<CampaignImageProps & import("react").RefAttributes<HTMLImageElement>>;
|
|
@@ -6,7 +6,7 @@ export interface TextFieldProps extends React.ComponentPropsWithoutRef<'input'>
|
|
|
6
6
|
/** Error message for the form control */
|
|
7
7
|
error?: string;
|
|
8
8
|
/** Label for the form control */
|
|
9
|
-
label:
|
|
9
|
+
label: React.ReactNode;
|
|
10
10
|
/** React node on the left (ex. icon, text, component) */
|
|
11
11
|
leftAddon?: React.ReactNode;
|
|
12
12
|
/** React node on the left (ex. icon, text, component) */
|
package/dist/grunnmuren.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@obosbbl/grunnmuren-react",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.4",
|
|
4
4
|
"description": "OBOS Grunnmuren design system React components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -17,30 +17,30 @@
|
|
|
17
17
|
],
|
|
18
18
|
"types": "./dist/index.d.ts",
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@storybook/addon-controls": "7.
|
|
21
|
-
"@storybook/addon-docs": "7.
|
|
22
|
-
"@storybook/addon-styling": "1.3.
|
|
23
|
-
"@storybook/builder-vite": "7.0
|
|
24
|
-
"@storybook/react": "7.
|
|
25
|
-
"@storybook/react-vite": "7.0
|
|
26
|
-
"@types/react": "18.2.
|
|
20
|
+
"@storybook/addon-controls": "7.4.0",
|
|
21
|
+
"@storybook/addon-docs": "7.4.0",
|
|
22
|
+
"@storybook/addon-styling": "1.3.7",
|
|
23
|
+
"@storybook/builder-vite": "7.4.0",
|
|
24
|
+
"@storybook/react": "7.4.0",
|
|
25
|
+
"@storybook/react-vite": "7.4.0",
|
|
26
|
+
"@types/react": "18.2.21",
|
|
27
27
|
"@types/react-dom": "18.2.7",
|
|
28
|
-
"@vitejs/plugin-react": "4.0.
|
|
29
|
-
"autoprefixer": "10.4.
|
|
30
|
-
"postcss": "8.4.
|
|
28
|
+
"@vitejs/plugin-react": "4.0.4",
|
|
29
|
+
"autoprefixer": "10.4.15",
|
|
30
|
+
"postcss": "8.4.29",
|
|
31
31
|
"react": "18.2.0",
|
|
32
32
|
"react-dom": "18.2.0",
|
|
33
33
|
"require-from-string": "2.0.2",
|
|
34
34
|
"rimraf": "5.0.1",
|
|
35
|
-
"storybook": "7.
|
|
35
|
+
"storybook": "7.4.0",
|
|
36
36
|
"tailwindcss": "3.3.3",
|
|
37
|
-
"type-fest": "3.
|
|
38
|
-
"vite": "4.4.
|
|
37
|
+
"type-fest": "4.3.1",
|
|
38
|
+
"vite": "4.4.9",
|
|
39
39
|
"@obosbbl/grunnmuren-tailwind": "0.9.1"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@react-hookz/web": "23.1.0",
|
|
43
|
-
"clsx": "
|
|
43
|
+
"clsx": "2.0.0",
|
|
44
44
|
"react-collapsed": "4.0.4",
|
|
45
45
|
"react-merge-refs": "2.0.2",
|
|
46
46
|
"@obosbbl/grunnmuren-icons": "^0.6.0"
|