@utrecht/component-library-react 1.0.0-alpha.200 → 1.0.0-alpha.202
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/Code.d.ts +10 -0
- package/dist/CodeBlock.d.ts +10 -0
- package/dist/css-module/Code.d.ts +10 -0
- package/dist/css-module/CodeBlock.d.ts +10 -0
- package/dist/css-module/css-module/Code.d.ts +6 -0
- package/dist/css-module/css-module/CodeBlock.d.ts +6 -0
- package/dist/css-module/css-module/index.d.ts +2 -0
- package/dist/css-module/index.d.ts +2 -0
- package/dist/css-module/index.js +59 -19
- package/dist/css-module/index.js.map +1 -1
- package/dist/css-module/index.mjs +58 -20
- package/dist/css-module/index.mjs.map +1 -1
- package/dist/index.cjs.js +34 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +33 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/Code.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
5
|
+
*/
|
|
6
|
+
import { HTMLAttributes } from 'react';
|
|
7
|
+
export declare type CodeProps = HTMLAttributes<HTMLElement>;
|
|
8
|
+
export declare const Code: import("react").ForwardRefExoticComponent<CodeProps & {
|
|
9
|
+
children?: import("react").ReactNode;
|
|
10
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
5
|
+
*/
|
|
6
|
+
import { HTMLAttributes } from 'react';
|
|
7
|
+
export declare type CodeBlockProps = HTMLAttributes<HTMLPreElement>;
|
|
8
|
+
export declare const CodeBlock: import("react").ForwardRefExoticComponent<CodeBlockProps & {
|
|
9
|
+
children?: import("react").ReactNode;
|
|
10
|
+
} & import("react").RefAttributes<HTMLPreElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
5
|
+
*/
|
|
6
|
+
import { HTMLAttributes } from 'react';
|
|
7
|
+
export declare type CodeProps = HTMLAttributes<HTMLElement>;
|
|
8
|
+
export declare const Code: import("react").ForwardRefExoticComponent<CodeProps & {
|
|
9
|
+
children?: import("react").ReactNode;
|
|
10
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
5
|
+
*/
|
|
6
|
+
import { HTMLAttributes } from 'react';
|
|
7
|
+
export declare type CodeBlockProps = HTMLAttributes<HTMLPreElement>;
|
|
8
|
+
export declare const CodeBlock: import("react").ForwardRefExoticComponent<CodeBlockProps & {
|
|
9
|
+
children?: import("react").ReactNode;
|
|
10
|
+
} & import("react").RefAttributes<HTMLPreElement>>;
|
|
@@ -10,6 +10,8 @@ export { Button, PrimaryActionButton, SecondaryActionButton, SubtleButton } from
|
|
|
10
10
|
export { ButtonGroup } from './ButtonGroup';
|
|
11
11
|
export { ButtonLink } from './ButtonLink';
|
|
12
12
|
export { Checkbox } from './Checkbox';
|
|
13
|
+
export { Code } from './Code';
|
|
14
|
+
export { CodeBlock } from './CodeBlock';
|
|
13
15
|
export { CustomRadioButton } from './CustomRadioButton';
|
|
14
16
|
export { Document } from './Document';
|
|
15
17
|
export { DataList, DataListItem, DataListActions, DataListKey, DataListValue } from './DataList';
|
|
@@ -11,6 +11,8 @@ export { ButtonGroup } from './ButtonGroup';
|
|
|
11
11
|
export { ButtonLink } from './ButtonLink';
|
|
12
12
|
export * from './Calendar';
|
|
13
13
|
export { Checkbox } from './Checkbox';
|
|
14
|
+
export { Code } from './Code';
|
|
15
|
+
export { CodeBlock } from './CodeBlock';
|
|
14
16
|
export { CustomRadioButton } from './CustomRadioButton';
|
|
15
17
|
export { Document } from './Document';
|
|
16
18
|
export { DataList, DataListItem, DataListActions, DataListKey, DataListValue } from './DataList';
|