@utrecht/component-library-react 1.0.0-alpha.1 → 1.0.0-alpha.101
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/README.md +48 -48
- package/dist/{Article.d.ts → cjs/Article.d.ts} +1 -2
- package/dist/{Article.js → cjs/Article.js} +12 -6
- package/dist/{Backdrop.d.ts → cjs/Backdrop.d.ts} +0 -0
- package/dist/{Backdrop.js → cjs/Backdrop.js} +12 -6
- package/dist/cjs/Button.d.ts +24 -0
- package/dist/cjs/Button.js +43 -0
- package/dist/cjs/ButtonLink.d.ts +11 -0
- package/dist/cjs/ButtonLink.js +47 -0
- package/dist/{Checkbox.d.ts → cjs/Checkbox.d.ts} +1 -2
- package/dist/cjs/Checkbox.js +25 -0
- package/dist/cjs/CustomRadioButton.d.ts +11 -0
- package/dist/cjs/CustomRadioButton.js +29 -0
- package/dist/{Document.d.ts → cjs/Document.d.ts} +0 -0
- package/dist/{Document.js → cjs/Document.js} +12 -6
- package/dist/{Fieldset.d.ts → cjs/Fieldset.d.ts} +1 -2
- package/dist/cjs/Fieldset.js +25 -0
- package/dist/{FieldsetLegend.d.ts → cjs/FieldsetLegend.d.ts} +1 -2
- package/dist/cjs/FieldsetLegend.js +25 -0
- package/dist/{FormField.d.ts → cjs/FormField.d.ts} +1 -2
- package/dist/cjs/FormField.js +25 -0
- package/dist/{FormFieldDescription.d.ts → cjs/FormFieldDescription.d.ts} +1 -2
- package/dist/cjs/FormFieldDescription.js +25 -0
- package/dist/{FormLabel.d.ts → cjs/FormLabel.d.ts} +1 -2
- package/dist/cjs/FormLabel.js +25 -0
- package/dist/{HTMLContent.d.ts → cjs/HTMLContent.d.ts} +0 -0
- package/dist/cjs/HTMLContent.js +29 -0
- package/dist/{Heading1.d.ts → cjs/Heading1.d.ts} +1 -2
- package/dist/{Heading1.js → cjs/Heading1.js} +12 -6
- package/dist/{Heading2.d.ts → cjs/Heading2.d.ts} +1 -2
- package/dist/{Heading2.js → cjs/Heading2.js} +12 -6
- package/dist/{Heading3.d.ts → cjs/Heading3.d.ts} +1 -2
- package/dist/{Heading3.js → cjs/Heading3.js} +12 -6
- package/dist/{Heading4.d.ts → cjs/Heading4.d.ts} +1 -2
- package/dist/{Heading4.js → cjs/Heading4.js} +12 -6
- package/dist/{Heading5.d.ts → cjs/Heading5.d.ts} +1 -2
- package/dist/{Heading5.js → cjs/Heading5.js} +12 -6
- package/dist/{Heading6.d.ts → cjs/Heading6.d.ts} +1 -2
- package/dist/{Heading6.js → cjs/Heading6.js} +12 -6
- package/dist/{Link.d.ts → cjs/Link.d.ts} +1 -2
- package/dist/{Link.js → cjs/Link.js} +12 -6
- package/dist/{OrderedList.d.ts → cjs/OrderedList.d.ts} +1 -2
- package/dist/cjs/OrderedList.js +29 -0
- package/dist/{OrderedListItem.d.ts → cjs/OrderedListItem.d.ts} +1 -2
- package/dist/cjs/OrderedListItem.js +29 -0
- package/dist/{Page.d.ts → cjs/Page.d.ts} +0 -0
- package/dist/{Page.js → cjs/Page.js} +12 -6
- package/dist/{PageContent.d.ts → cjs/PageContent.d.ts} +2 -3
- package/dist/cjs/PageContent.js +34 -0
- package/dist/{PageFooter.d.ts → cjs/PageFooter.d.ts} +0 -0
- package/dist/cjs/PageFooter.js +29 -0
- package/dist/{PageHeader.d.ts → cjs/PageHeader.d.ts} +0 -0
- package/dist/cjs/PageHeader.js +29 -0
- package/dist/{Paragraph.d.ts → cjs/Paragraph.d.ts} +1 -2
- package/dist/cjs/Paragraph.js +29 -0
- package/dist/{RadioButton.d.ts → cjs/RadioButton.d.ts} +1 -2
- package/dist/cjs/RadioButton.js +25 -0
- package/dist/{Select.d.ts → cjs/Select.d.ts} +2 -3
- package/dist/cjs/Select.js +31 -0
- package/dist/{Separator.d.ts → cjs/Separator.d.ts} +1 -2
- package/dist/{Separator.js → cjs/Separator.js} +12 -6
- package/dist/{Surface.d.ts → cjs/Surface.d.ts} +0 -0
- package/dist/{Surface.js → cjs/Surface.js} +12 -6
- package/dist/{Table.d.ts → cjs/Table.d.ts} +1 -2
- package/dist/{Table.js → cjs/Table.js} +12 -6
- package/dist/{TableBody.d.ts → cjs/TableBody.d.ts} +1 -2
- package/dist/cjs/TableBody.js +29 -0
- package/dist/{TableCaption.d.ts → cjs/TableCaption.d.ts} +1 -2
- package/dist/cjs/TableCaption.js +29 -0
- package/dist/{TableCell.d.ts → cjs/TableCell.d.ts} +1 -2
- package/dist/cjs/TableCell.js +29 -0
- package/dist/{TableFooter.d.ts → cjs/TableFooter.d.ts} +1 -2
- package/dist/cjs/TableFooter.js +29 -0
- package/dist/{TableHeader.d.ts → cjs/TableHeader.d.ts} +1 -2
- package/dist/cjs/TableHeader.js +29 -0
- package/dist/{TableHeaderCell.d.ts → cjs/TableHeaderCell.d.ts} +1 -2
- package/dist/cjs/TableHeaderCell.js +29 -0
- package/dist/{TableRow.d.ts → cjs/TableRow.d.ts} +1 -2
- package/dist/{TableRow.js → cjs/TableRow.js} +12 -6
- package/dist/{Textarea.d.ts → cjs/Textarea.d.ts} +1 -2
- package/dist/cjs/Textarea.js +25 -0
- package/dist/{Textbox.d.ts → cjs/Textbox.d.ts} +1 -2
- package/dist/cjs/Textbox.js +25 -0
- package/dist/{URLValue.d.ts → cjs/URLValue.d.ts} +0 -0
- package/dist/{URLValue.js → cjs/URLValue.js} +12 -6
- package/dist/{UnorderedList.d.ts → cjs/UnorderedList.d.ts} +1 -2
- package/dist/cjs/UnorderedList.js +29 -0
- package/dist/{UnorderedListItem.d.ts → cjs/UnorderedListItem.d.ts} +0 -0
- package/dist/cjs/UnorderedListItem.js +29 -0
- package/dist/{index.d.ts → cjs/index.d.ts} +3 -1
- package/dist/cjs/index.js +99 -0
- package/dist/cjs/tsconfig.tsbuildinfo +6101 -0
- package/package.json +340 -15
- package/dist/Button.d.ts +0 -6
- package/dist/Button.js +0 -19
- package/dist/Checkbox.js +0 -19
- package/dist/Fieldset.js +0 -19
- package/dist/FieldsetLegend.js +0 -19
- package/dist/FormField.js +0 -19
- package/dist/FormFieldDescription.js +0 -19
- package/dist/FormLabel.js +0 -19
- package/dist/HTMLContent.js +0 -23
- package/dist/OrderedList.js +0 -23
- package/dist/OrderedListItem.js +0 -23
- package/dist/PageContent.js +0 -28
- package/dist/PageFooter.js +0 -23
- package/dist/PageHeader.js +0 -23
- package/dist/Paragraph.js +0 -23
- package/dist/RadioButton.js +0 -19
- package/dist/Select.js +0 -25
- package/dist/TableBody.js +0 -23
- package/dist/TableCaption.js +0 -23
- package/dist/TableCell.js +0 -23
- package/dist/TableFooter.js +0 -23
- package/dist/TableHeader.js +0 -23
- package/dist/TableHeaderCell.js +0 -23
- package/dist/Textarea.js +0 -19
- package/dist/Textbox.js +0 -19
- package/dist/UnorderedList.js +0 -23
- package/dist/UnorderedListItem.js +0 -23
- package/dist/index.js +0 -46
- package/dist/tsconfig.tsbuildinfo +0 -2533
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.RadioButton = void 0;
|
|
18
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
+
const clsx_1 = __importDefault(require("clsx"));
|
|
20
|
+
const react_1 = require("react");
|
|
21
|
+
exports.RadioButton = react_1.forwardRef((_a, ref) => {
|
|
22
|
+
var { checked, disabled, invalid, required, className } = _a, restProps = __rest(_a, ["checked", "disabled", "invalid", "required", "className"]);
|
|
23
|
+
return (jsx_runtime_1.jsx("input", Object.assign({}, restProps, { ref: ref, type: "radio", className: clsx_1.default('utrecht-radio-button', 'utrecht-radio-button--html-input', checked && 'utrecht-radio-button--checked', disabled && 'utrecht-radio-button--disabled', invalid && 'utrecht-radio-button--invalid', required && 'utrecht-radio-button--required', className), disabled: disabled, required: required }), void 0));
|
|
24
|
+
});
|
|
25
|
+
exports.RadioButton.displayName = 'RadioButton';
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { OptionHTMLAttributes, SelectHTMLAttributes } from 'react';
|
|
2
|
-
interface SelectProps extends SelectHTMLAttributes<HTMLSelectElement> {
|
|
2
|
+
export interface SelectProps extends SelectHTMLAttributes<HTMLSelectElement> {
|
|
3
3
|
invalid?: boolean;
|
|
4
4
|
}
|
|
5
5
|
export declare const Select: import("react").ForwardRefExoticComponent<SelectProps & import("react").RefAttributes<HTMLSelectElement>>;
|
|
6
|
-
interface SelectOptionProps extends OptionHTMLAttributes<HTMLOptionElement> {
|
|
6
|
+
export interface SelectOptionProps extends OptionHTMLAttributes<HTMLOptionElement> {
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
invalid?: boolean;
|
|
9
9
|
value?: string;
|
|
10
10
|
}
|
|
11
11
|
export declare const SelectOption: import("react").ForwardRefExoticComponent<SelectOptionProps & import("react").RefAttributes<HTMLOptionElement>>;
|
|
12
|
-
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.SelectOption = exports.Select = void 0;
|
|
18
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
+
const clsx_1 = __importDefault(require("clsx"));
|
|
20
|
+
const react_1 = require("react");
|
|
21
|
+
exports.Select = react_1.forwardRef((_a, ref) => {
|
|
22
|
+
var { disabled, invalid, required, className, children } = _a, restProps = __rest(_a, ["disabled", "invalid", "required", "className", "children"]);
|
|
23
|
+
const noscript = true;
|
|
24
|
+
return (jsx_runtime_1.jsx("select", Object.assign({}, restProps, { ref: ref, "aria-invalid": invalid || undefined, disabled: disabled, required: noscript ? required : false, "aria-required": noscript ? undefined : required, className: clsx_1.default('utrecht-select', disabled && 'utrecht-select--disabled', invalid && 'utrecht-select--invalid', required && 'utrecht-select--required', className) }, { children: children }), void 0));
|
|
25
|
+
});
|
|
26
|
+
exports.Select.displayName = 'Select';
|
|
27
|
+
exports.SelectOption = react_1.forwardRef((_a, ref) => {
|
|
28
|
+
var { disabled, invalid, value, children, className } = _a, restProps = __rest(_a, ["disabled", "invalid", "value", "children", "className"]);
|
|
29
|
+
return (jsx_runtime_1.jsx("option", Object.assign({}, restProps, { ref: ref, disabled: disabled, value: value, className: clsx_1.default('utrecht-select__option', disabled && 'utrecht-select__option--disabled', invalid && 'utrecht-select__option--invalid', className) }, { children: children }), void 0));
|
|
30
|
+
});
|
|
31
|
+
exports.SelectOption.displayName = 'SelectOption';
|
|
@@ -3,6 +3,5 @@
|
|
|
3
3
|
* Copyright (c) 2021 Robbert Broersma
|
|
4
4
|
*/
|
|
5
5
|
import { HTMLAttributes } from 'react';
|
|
6
|
-
declare type SeparatorProps = HTMLAttributes<HTMLHRElement>;
|
|
6
|
+
export declare type SeparatorProps = HTMLAttributes<HTMLHRElement>;
|
|
7
7
|
export declare const Separator: import("react").ForwardRefExoticComponent<SeparatorProps & import("react").RefAttributes<HTMLHRElement>>;
|
|
8
|
-
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
3
|
var t = {};
|
|
3
4
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -9,16 +10,21 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
9
10
|
}
|
|
10
11
|
return t;
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.Separator = void 0;
|
|
18
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
13
19
|
/**
|
|
14
20
|
* @license EUPL-1.2
|
|
15
21
|
* Copyright (c) 2021 Robbert Broersma
|
|
16
22
|
*/
|
|
17
|
-
|
|
18
|
-
|
|
23
|
+
const clsx_1 = __importDefault(require("clsx"));
|
|
24
|
+
const react_1 = require("react");
|
|
19
25
|
// Do not pass `children` along with `restProps` and use _children as it's unused
|
|
20
|
-
|
|
26
|
+
exports.Separator = react_1.forwardRef((_a, ref) => {
|
|
21
27
|
var { className, children: _children } = _a, restProps = __rest(_a, ["className", "children"]);
|
|
22
|
-
return (
|
|
28
|
+
return (jsx_runtime_1.jsx("hr", Object.assign({}, restProps, { ref: ref, className: clsx_1.default('utrecht-separator', className) }), void 0));
|
|
23
29
|
});
|
|
24
|
-
Separator.displayName = '
|
|
30
|
+
exports.Separator.displayName = 'Separator';
|
|
File without changes
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
3
|
var t = {};
|
|
3
4
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -9,15 +10,20 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
9
10
|
}
|
|
10
11
|
return t;
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.Surface = void 0;
|
|
18
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
13
19
|
/**
|
|
14
20
|
* @license EUPL-1.2
|
|
15
21
|
* Copyright (c) 2021 Robbert Broersma
|
|
16
22
|
*/
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
23
|
+
const clsx_1 = __importDefault(require("clsx"));
|
|
24
|
+
const react_1 = require("react");
|
|
25
|
+
exports.Surface = react_1.forwardRef((_a, ref) => {
|
|
20
26
|
var { children, className } = _a, restProps = __rest(_a, ["children", "className"]);
|
|
21
|
-
return (
|
|
27
|
+
return (jsx_runtime_1.jsx("div", Object.assign({}, restProps, { ref: ref, className: clsx_1.default('utrecht-surface', className) }, { children: children }), void 0));
|
|
22
28
|
});
|
|
23
|
-
Surface.displayName = '
|
|
29
|
+
exports.Surface.displayName = 'Surface';
|
|
@@ -3,6 +3,5 @@
|
|
|
3
3
|
* Copyright (c) 2022 Robbert Broersma
|
|
4
4
|
*/
|
|
5
5
|
import { TableHTMLAttributes } from 'react';
|
|
6
|
-
declare type TableProps = TableHTMLAttributes<HTMLTableElement>;
|
|
6
|
+
export declare type TableProps = TableHTMLAttributes<HTMLTableElement>;
|
|
7
7
|
export declare const Table: import("react").ForwardRefExoticComponent<TableProps & import("react").RefAttributes<HTMLTableElement>>;
|
|
8
|
-
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
3
|
var t = {};
|
|
3
4
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -9,15 +10,20 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
9
10
|
}
|
|
10
11
|
return t;
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.Table = void 0;
|
|
18
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
13
19
|
/**
|
|
14
20
|
* @license EUPL-1.2
|
|
15
21
|
* Copyright (c) 2022 Robbert Broersma
|
|
16
22
|
*/
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
23
|
+
const clsx_1 = __importDefault(require("clsx"));
|
|
24
|
+
const react_1 = require("react");
|
|
25
|
+
exports.Table = react_1.forwardRef((_a, ref) => {
|
|
20
26
|
var { children, className } = _a, restProps = __rest(_a, ["children", "className"]);
|
|
21
|
-
return (
|
|
27
|
+
return (jsx_runtime_1.jsx("table", Object.assign({}, restProps, { ref: ref, className: clsx_1.default('utrecht-table', className) }, { children: children }), void 0));
|
|
22
28
|
});
|
|
23
|
-
Table.displayName = '
|
|
29
|
+
exports.Table.displayName = 'Table';
|
|
@@ -3,6 +3,5 @@
|
|
|
3
3
|
* Copyright (c) 2022 Robbert Broersma
|
|
4
4
|
*/
|
|
5
5
|
import { HTMLAttributes } from 'react';
|
|
6
|
-
declare type TableBodyProps = HTMLAttributes<HTMLTableSectionElement>;
|
|
6
|
+
export declare type TableBodyProps = HTMLAttributes<HTMLTableSectionElement>;
|
|
7
7
|
export declare const TableBody: import("react").ForwardRefExoticComponent<TableBodyProps & import("react").RefAttributes<HTMLTableSectionElement>>;
|
|
8
|
-
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.TableBody = void 0;
|
|
18
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
+
/**
|
|
20
|
+
* @license EUPL-1.2
|
|
21
|
+
* Copyright (c) 2022 Robbert Broersma
|
|
22
|
+
*/
|
|
23
|
+
const clsx_1 = __importDefault(require("clsx"));
|
|
24
|
+
const react_1 = require("react");
|
|
25
|
+
exports.TableBody = react_1.forwardRef((_a, ref) => {
|
|
26
|
+
var { children, className } = _a, restProps = __rest(_a, ["children", "className"]);
|
|
27
|
+
return (jsx_runtime_1.jsx("tbody", Object.assign({}, restProps, { ref: ref, className: clsx_1.default('utrecht-table__body', className) }, { children: children }), void 0));
|
|
28
|
+
});
|
|
29
|
+
exports.TableBody.displayName = 'TableBody';
|
|
@@ -3,6 +3,5 @@
|
|
|
3
3
|
* Copyright (c) 2022 Robbert Broersma
|
|
4
4
|
*/
|
|
5
5
|
import { HTMLAttributes } from 'react';
|
|
6
|
-
declare type TableCaptionProps = HTMLAttributes<HTMLTableCaptionElement>;
|
|
6
|
+
export declare type TableCaptionProps = HTMLAttributes<HTMLTableCaptionElement>;
|
|
7
7
|
export declare const TableCaption: import("react").ForwardRefExoticComponent<TableCaptionProps & import("react").RefAttributes<HTMLTableCaptionElement>>;
|
|
8
|
-
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.TableCaption = void 0;
|
|
18
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
+
/**
|
|
20
|
+
* @license EUPL-1.2
|
|
21
|
+
* Copyright (c) 2022 Robbert Broersma
|
|
22
|
+
*/
|
|
23
|
+
const clsx_1 = __importDefault(require("clsx"));
|
|
24
|
+
const react_1 = require("react");
|
|
25
|
+
exports.TableCaption = react_1.forwardRef((_a, ref) => {
|
|
26
|
+
var { children, className } = _a, restProps = __rest(_a, ["children", "className"]);
|
|
27
|
+
return (jsx_runtime_1.jsx("caption", Object.assign({}, restProps, { ref: ref, className: clsx_1.default('utrecht-table__caption', className) }, { children: children }), void 0));
|
|
28
|
+
});
|
|
29
|
+
exports.TableCaption.displayName = 'TableCaption';
|
|
@@ -3,6 +3,5 @@
|
|
|
3
3
|
* Copyright (c) 2022 Robbert Broersma
|
|
4
4
|
*/
|
|
5
5
|
import { TdHTMLAttributes } from 'react';
|
|
6
|
-
declare type TableCellProps = TdHTMLAttributes<HTMLTableCellElement>;
|
|
6
|
+
export declare type TableCellProps = TdHTMLAttributes<HTMLTableCellElement>;
|
|
7
7
|
export declare const TableCell: import("react").ForwardRefExoticComponent<TableCellProps & import("react").RefAttributes<HTMLTableCellElement>>;
|
|
8
|
-
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.TableCell = void 0;
|
|
18
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
+
/**
|
|
20
|
+
* @license EUPL-1.2
|
|
21
|
+
* Copyright (c) 2022 Robbert Broersma
|
|
22
|
+
*/
|
|
23
|
+
const clsx_1 = __importDefault(require("clsx"));
|
|
24
|
+
const react_1 = require("react");
|
|
25
|
+
exports.TableCell = react_1.forwardRef((_a, ref) => {
|
|
26
|
+
var { children, className } = _a, restProps = __rest(_a, ["children", "className"]);
|
|
27
|
+
return (jsx_runtime_1.jsx("td", Object.assign({}, restProps, { ref: ref, className: clsx_1.default('utrecht-table__cell', className) }, { children: children }), void 0));
|
|
28
|
+
});
|
|
29
|
+
exports.TableCell.displayName = 'TableCell';
|
|
@@ -3,6 +3,5 @@
|
|
|
3
3
|
* Copyright (c) 2022 Robbert Broersma
|
|
4
4
|
*/
|
|
5
5
|
import { HTMLAttributes } from 'react';
|
|
6
|
-
declare type TableFooterProps = HTMLAttributes<HTMLTableSectionElement>;
|
|
6
|
+
export declare type TableFooterProps = HTMLAttributes<HTMLTableSectionElement>;
|
|
7
7
|
export declare const TableFooter: import("react").ForwardRefExoticComponent<TableFooterProps & import("react").RefAttributes<HTMLTableSectionElement>>;
|
|
8
|
-
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.TableFooter = void 0;
|
|
18
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
+
/**
|
|
20
|
+
* @license EUPL-1.2
|
|
21
|
+
* Copyright (c) 2022 Robbert Broersma
|
|
22
|
+
*/
|
|
23
|
+
const clsx_1 = __importDefault(require("clsx"));
|
|
24
|
+
const react_1 = require("react");
|
|
25
|
+
exports.TableFooter = react_1.forwardRef((_a, ref) => {
|
|
26
|
+
var { children, className } = _a, restProps = __rest(_a, ["children", "className"]);
|
|
27
|
+
return (jsx_runtime_1.jsx("tfoot", Object.assign({}, restProps, { ref: ref, className: clsx_1.default('utrecht-table__footer', className) }, { children: children }), void 0));
|
|
28
|
+
});
|
|
29
|
+
exports.TableFooter.displayName = 'TableFooter';
|
|
@@ -3,6 +3,5 @@
|
|
|
3
3
|
* Copyright (c) 2022 Robbert Broersma
|
|
4
4
|
*/
|
|
5
5
|
import { HTMLAttributes } from 'react';
|
|
6
|
-
declare type TableHeaderProps = HTMLAttributes<HTMLTableSectionElement>;
|
|
6
|
+
export declare type TableHeaderProps = HTMLAttributes<HTMLTableSectionElement>;
|
|
7
7
|
export declare const TableHeader: import("react").ForwardRefExoticComponent<TableHeaderProps & import("react").RefAttributes<HTMLTableSectionElement>>;
|
|
8
|
-
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.TableHeader = void 0;
|
|
18
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
+
/**
|
|
20
|
+
* @license EUPL-1.2
|
|
21
|
+
* Copyright (c) 2022 Robbert Broersma
|
|
22
|
+
*/
|
|
23
|
+
const clsx_1 = __importDefault(require("clsx"));
|
|
24
|
+
const react_1 = require("react");
|
|
25
|
+
exports.TableHeader = react_1.forwardRef((_a, ref) => {
|
|
26
|
+
var { children, className } = _a, restProps = __rest(_a, ["children", "className"]);
|
|
27
|
+
return (jsx_runtime_1.jsx("thead", Object.assign({}, restProps, { ref: ref, className: clsx_1.default('utrecht-table__header', className) }, { children: children }), void 0));
|
|
28
|
+
});
|
|
29
|
+
exports.TableHeader.displayName = 'TableHeader';
|
|
@@ -3,6 +3,5 @@
|
|
|
3
3
|
* Copyright (c) 2022 Robbert Broersma
|
|
4
4
|
*/
|
|
5
5
|
import { ThHTMLAttributes } from 'react';
|
|
6
|
-
declare type TableHeaderCellProps = ThHTMLAttributes<HTMLTableCellElement>;
|
|
6
|
+
export declare type TableHeaderCellProps = ThHTMLAttributes<HTMLTableCellElement>;
|
|
7
7
|
export declare const TableHeaderCell: import("react").ForwardRefExoticComponent<TableHeaderCellProps & import("react").RefAttributes<HTMLTableCellElement>>;
|
|
8
|
-
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.TableHeaderCell = void 0;
|
|
18
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
+
/**
|
|
20
|
+
* @license EUPL-1.2
|
|
21
|
+
* Copyright (c) 2022 Robbert Broersma
|
|
22
|
+
*/
|
|
23
|
+
const clsx_1 = __importDefault(require("clsx"));
|
|
24
|
+
const react_1 = require("react");
|
|
25
|
+
exports.TableHeaderCell = react_1.forwardRef((_a, ref) => {
|
|
26
|
+
var { children, className } = _a, restProps = __rest(_a, ["children", "className"]);
|
|
27
|
+
return (jsx_runtime_1.jsx("th", Object.assign({}, restProps, { ref: ref, className: clsx_1.default('utrecht-table__header-cell', className) }, { children: children }), void 0));
|
|
28
|
+
});
|
|
29
|
+
exports.TableHeaderCell.displayName = 'TableHeaderCell';
|
|
@@ -3,6 +3,5 @@
|
|
|
3
3
|
* Copyright (c) 2022 Robbert Broersma
|
|
4
4
|
*/
|
|
5
5
|
import { HTMLAttributes } from 'react';
|
|
6
|
-
declare type TableRowProps = HTMLAttributes<HTMLTableRowElement>;
|
|
6
|
+
export declare type TableRowProps = HTMLAttributes<HTMLTableRowElement>;
|
|
7
7
|
export declare const TableRow: import("react").ForwardRefExoticComponent<TableRowProps & import("react").RefAttributes<HTMLTableRowElement>>;
|
|
8
|
-
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
3
|
var t = {};
|
|
3
4
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -9,15 +10,20 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
9
10
|
}
|
|
10
11
|
return t;
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.TableRow = void 0;
|
|
18
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
13
19
|
/**
|
|
14
20
|
* @license EUPL-1.2
|
|
15
21
|
* Copyright (c) 2022 Robbert Broersma
|
|
16
22
|
*/
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
23
|
+
const clsx_1 = __importDefault(require("clsx"));
|
|
24
|
+
const react_1 = require("react");
|
|
25
|
+
exports.TableRow = react_1.forwardRef((_a, ref) => {
|
|
20
26
|
var { children, className } = _a, restProps = __rest(_a, ["children", "className"]);
|
|
21
|
-
return (
|
|
27
|
+
return (jsx_runtime_1.jsx("tr", Object.assign({}, restProps, { ref: ref, className: clsx_1.default('utrecht-table__row', className) }, { children: children }), void 0));
|
|
22
28
|
});
|
|
23
|
-
TableRow.displayName = '
|
|
29
|
+
exports.TableRow.displayName = 'TableRow';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TextareaHTMLAttributes } from 'react';
|
|
2
|
-
interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
2
|
+
export interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
3
3
|
invalid?: boolean;
|
|
4
4
|
}
|
|
5
5
|
export declare const Textarea: import("react").ForwardRefExoticComponent<TextareaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
6
|
-
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.Textarea = void 0;
|
|
18
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
+
const clsx_1 = __importDefault(require("clsx"));
|
|
20
|
+
const react_1 = require("react");
|
|
21
|
+
exports.Textarea = react_1.forwardRef((_a, ref) => {
|
|
22
|
+
var { disabled, invalid, readOnly, required, className } = _a, restProps = __rest(_a, ["disabled", "invalid", "readOnly", "required", "className"]);
|
|
23
|
+
return (jsx_runtime_1.jsx("textarea", Object.assign({}, restProps, { ref: ref, className: clsx_1.default('utrecht-textarea', 'utrecht-textarea--html-textarea', disabled && 'utrecht-textarea--disabled', invalid && 'utrecht-textarea--invalid', readOnly && 'utrecht-textarea--readonly', required && 'utrecht-textarea--required', className), disabled: disabled, readOnly: readOnly, required: required, "aria-invalid": invalid || undefined }), void 0));
|
|
24
|
+
});
|
|
25
|
+
exports.Textarea.displayName = 'Textarea';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { InputHTMLAttributes } from 'react';
|
|
2
2
|
export declare type TextboxTypes = 'email' | 'number' | 'password' | 'tel' | 'text' | 'url';
|
|
3
|
-
interface TextboxProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
+
export interface TextboxProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
4
4
|
invalid?: boolean;
|
|
5
5
|
type?: TextboxTypes;
|
|
6
6
|
}
|
|
7
7
|
export declare const Textbox: import("react").ForwardRefExoticComponent<TextboxProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
8
|
-
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.Textbox = void 0;
|
|
18
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
+
const clsx_1 = __importDefault(require("clsx"));
|
|
20
|
+
const react_1 = require("react");
|
|
21
|
+
exports.Textbox = react_1.forwardRef((_a, ref) => {
|
|
22
|
+
var { disabled, invalid, readOnly, required, className, type = 'text', maxLength, inputMode } = _a, restProps = __rest(_a, ["disabled", "invalid", "readOnly", "required", "className", "type", "maxLength", "inputMode"]);
|
|
23
|
+
return (jsx_runtime_1.jsx("input", Object.assign({}, restProps, { ref: ref, type: type, className: clsx_1.default('utrecht-textbox', 'utrecht-textbox--html-input', disabled && 'utrecht-textbox--disabled', invalid && 'utrecht-textbox--invalid', readOnly && 'utrecht-textbox--readonly', required && 'utrecht-textbox--required', className), maxLength: maxLength, disabled: disabled, readOnly: readOnly, required: required, "aria-invalid": invalid || undefined, inputMode: inputMode || (type === 'number' ? 'numeric' : undefined) }), void 0));
|
|
24
|
+
});
|
|
25
|
+
exports.Textbox.displayName = 'Textbox';
|
|
File without changes
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
3
|
var t = {};
|
|
3
4
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -9,15 +10,20 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
9
10
|
}
|
|
10
11
|
return t;
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.URLValue = void 0;
|
|
18
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
13
19
|
/**
|
|
14
20
|
* @license EUPL-1.2
|
|
15
21
|
* Copyright (c) 2021 Robbert Broersma
|
|
16
22
|
*/
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
23
|
+
const clsx_1 = __importDefault(require("clsx"));
|
|
24
|
+
const react_1 = require("react");
|
|
25
|
+
exports.URLValue = react_1.forwardRef((_a, ref) => {
|
|
20
26
|
var { children, className } = _a, restProps = __rest(_a, ["children", "className"]);
|
|
21
|
-
return (
|
|
27
|
+
return (jsx_runtime_1.jsx("bdi", Object.assign({}, restProps, { ref: ref, className: clsx_1.default('utrecht-url', className) }, { children: children }), void 0));
|
|
22
28
|
});
|
|
23
|
-
URLValue.displayName = '
|
|
29
|
+
exports.URLValue.displayName = 'URLValue';
|
|
@@ -3,6 +3,5 @@
|
|
|
3
3
|
* Copyright (c) 2021 Robbert Broersma
|
|
4
4
|
*/
|
|
5
5
|
import { HTMLAttributes } from 'react';
|
|
6
|
-
declare type UnorderedListProps = HTMLAttributes<HTMLUListElement>;
|
|
6
|
+
export declare type UnorderedListProps = HTMLAttributes<HTMLUListElement>;
|
|
7
7
|
export declare const UnorderedList: import("react").ForwardRefExoticComponent<UnorderedListProps & import("react").RefAttributes<HTMLUListElement>>;
|
|
8
|
-
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.UnorderedList = void 0;
|
|
18
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
+
/**
|
|
20
|
+
* @license EUPL-1.2
|
|
21
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
22
|
+
*/
|
|
23
|
+
const clsx_1 = __importDefault(require("clsx"));
|
|
24
|
+
const react_1 = require("react");
|
|
25
|
+
exports.UnorderedList = react_1.forwardRef((_a, ref) => {
|
|
26
|
+
var { children, className } = _a, restProps = __rest(_a, ["children", "className"]);
|
|
27
|
+
return (jsx_runtime_1.jsx("ul", Object.assign({}, restProps, { ref: ref, className: clsx_1.default('utrecht-unordered-list', className) }, { children: children }), void 0));
|
|
28
|
+
});
|
|
29
|
+
exports.UnorderedList.displayName = 'UnorderedList';
|
|
File without changes
|