@utrecht/component-library-react 3.1.0 → 4.1.0
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/.jest-test-results.json +1 -1
- package/dist/Blockquote.d.ts +11 -0
- package/dist/Checkbox.d.ts +1 -0
- package/dist/FormFieldTextbox.d.ts +14 -0
- package/dist/RichText.d.ts +7 -0
- package/dist/Textbox.d.ts +2 -1
- package/dist/css-module/Blockquote.d.ts +11 -0
- package/dist/css-module/Calendar.js +1 -1
- package/dist/css-module/Calendar.js.map +1 -1
- package/dist/css-module/Calendar.mjs +1 -1
- package/dist/css-module/Calendar.mjs.map +1 -1
- package/dist/css-module/Checkbox.d.ts +1 -0
- package/dist/css-module/FormFieldTextbox.d.ts +14 -0
- package/dist/css-module/RichText.d.ts +7 -0
- package/dist/css-module/Textbox.d.ts +2 -1
- package/dist/css-module/VegaVisualization.js +1 -1
- package/dist/css-module/VegaVisualization.js.map +1 -1
- package/dist/css-module/VegaVisualization.mjs +1 -1
- package/dist/css-module/VegaVisualization.mjs.map +1 -1
- package/dist/css-module/css-module/Accordion.d.ts +1 -1
- package/dist/css-module/css-module/Alert.d.ts +1 -1
- package/dist/css-module/css-module/AlertDialog.d.ts +1 -1
- package/dist/css-module/css-module/Article.d.ts +1 -1
- package/dist/css-module/css-module/Backdrop.d.ts +1 -1
- package/dist/css-module/css-module/BadgeCounter.d.ts +1 -1
- package/dist/css-module/css-module/BadgeList.d.ts +1 -1
- package/dist/css-module/css-module/Blockquote.d.ts +6 -0
- package/dist/css-module/css-module/BreadcrumbNav.d.ts +1 -1
- package/dist/css-module/css-module/Button.d.ts +1 -1
- package/dist/css-module/css-module/ButtonGroup.d.ts +1 -1
- package/dist/css-module/css-module/ButtonLink.d.ts +1 -1
- package/dist/css-module/css-module/Calendar.d.ts +1 -1
- package/dist/css-module/css-module/Checkbox.d.ts +2 -2
- package/dist/css-module/css-module/Code.d.ts +1 -1
- package/dist/css-module/css-module/CodeBlock.d.ts +1 -1
- package/dist/css-module/css-module/ColorSample.d.ts +1 -1
- package/dist/css-module/css-module/ColumnLayout.d.ts +1 -1
- package/dist/css-module/css-module/Combobox.d.ts +1 -1
- package/dist/css-module/css-module/CurrencyData.d.ts +1 -1
- package/dist/css-module/css-module/DataBadge.d.ts +1 -1
- package/dist/css-module/css-module/DataList.d.ts +1 -1
- package/dist/css-module/css-module/DataPlaceholder.d.ts +1 -1
- package/dist/css-module/css-module/Document.d.ts +1 -1
- package/dist/css-module/css-module/Drawer.d.ts +1 -1
- package/dist/css-module/css-module/Emphasis.d.ts +1 -1
- package/dist/css-module/css-module/Fieldset.d.ts +1 -1
- package/dist/css-module/css-module/FieldsetLegend.d.ts +1 -1
- package/dist/css-module/css-module/Figure.d.ts +1 -1
- package/dist/css-module/css-module/FigureCaption.d.ts +1 -1
- package/dist/css-module/css-module/FormField.d.ts +1 -1
- package/dist/css-module/css-module/FormFieldDescription.d.ts +1 -1
- package/dist/css-module/css-module/FormFieldErrorMessage.d.ts +1 -1
- package/dist/css-module/css-module/FormFieldTextbox.d.ts +9 -0
- package/dist/css-module/css-module/FormLabel.d.ts +1 -1
- package/dist/css-module/css-module/FormToggle.d.ts +1 -1
- package/dist/css-module/css-module/HTMLContent.d.ts +1 -1
- package/dist/css-module/css-module/Heading.d.ts +6 -6
- package/dist/css-module/css-module/Heading1.d.ts +1 -1
- package/dist/css-module/css-module/Heading2.d.ts +1 -1
- package/dist/css-module/css-module/Heading3.d.ts +1 -1
- package/dist/css-module/css-module/Heading4.d.ts +1 -1
- package/dist/css-module/css-module/Heading5.d.ts +1 -1
- package/dist/css-module/css-module/Heading6.d.ts +1 -1
- package/dist/css-module/css-module/HeadingGroup.d.ts +1 -1
- package/dist/css-module/css-module/IBANData.d.ts +1 -1
- package/dist/css-module/css-module/Icon.d.ts +1 -1
- package/dist/css-module/css-module/Image.d.ts +1 -1
- package/dist/css-module/css-module/IndexCharNav.d.ts +1 -1
- package/dist/css-module/css-module/Link.d.ts +1 -1
- package/dist/css-module/css-module/LinkButton.d.ts +1 -1
- package/dist/css-module/css-module/LinkList.d.ts +1 -1
- package/dist/css-module/css-module/LinkSocial.d.ts +1 -1
- package/dist/css-module/css-module/ListSocial.d.ts +1 -1
- package/dist/css-module/css-module/Listbox.d.ts +1 -1
- package/dist/css-module/css-module/Logo.d.ts +1 -1
- package/dist/css-module/css-module/Mark.d.ts +1 -1
- package/dist/css-module/css-module/MultilineData.d.ts +1 -1
- package/dist/css-module/css-module/NavBar.d.ts +1 -1
- package/dist/css-module/css-module/NavList.d.ts +1 -1
- package/dist/css-module/css-module/NumberData.d.ts +1 -1
- package/dist/css-module/css-module/OrderedList.d.ts +1 -1
- package/dist/css-module/css-module/OrderedListItem.d.ts +1 -1
- package/dist/css-module/css-module/Page.d.ts +1 -1
- package/dist/css-module/css-module/PageContent.d.ts +1 -1
- package/dist/css-module/css-module/PageFooter.d.ts +1 -1
- package/dist/css-module/css-module/PageHeader.d.ts +1 -1
- package/dist/css-module/css-module/Paragraph.d.ts +1 -1
- package/dist/css-module/css-module/PreHeading.d.ts +1 -1
- package/dist/css-module/css-module/PreserveData.d.ts +1 -1
- package/dist/css-module/css-module/RadioButton.d.ts +1 -1
- package/dist/css-module/css-module/RichText.d.ts +6 -0
- package/dist/css-module/css-module/Select.d.ts +1 -1
- package/dist/css-module/css-module/Separator.d.ts +1 -1
- package/dist/css-module/css-module/SkipLink.d.ts +1 -1
- package/dist/css-module/css-module/SpotlightSection.d.ts +1 -1
- package/dist/css-module/css-module/StatusBadge.d.ts +1 -1
- package/dist/css-module/css-module/Strong.d.ts +1 -1
- package/dist/css-module/css-module/Surface.d.ts +1 -1
- package/dist/css-module/css-module/Table.d.ts +1 -1
- package/dist/css-module/css-module/TableContainer.d.ts +1 -1
- package/dist/css-module/css-module/Textarea.d.ts +1 -1
- package/dist/css-module/css-module/Textbox.d.ts +1 -1
- package/dist/css-module/css-module/URLData.d.ts +1 -1
- package/dist/css-module/css-module/UnorderedList.d.ts +1 -1
- package/dist/css-module/css-module/UnorderedListItem.d.ts +1 -1
- package/dist/css-module/css-module/VegaVisualization.d.ts +1 -1
- package/dist/css-module/css-module/index.d.ts +6 -0
- package/dist/css-module/index.d.ts +6 -0
- package/dist/css-module/index.js +540 -387
- package/dist/css-module/index.js.map +1 -1
- package/dist/css-module/index.mjs +538 -388
- package/dist/css-module/index.mjs.map +1 -1
- package/dist/index.cjs.js +456 -309
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.esm.js +454 -310
- package/dist/index.esm.js.map +1 -1
- package/package.json +111 -18
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { BlockquoteHTMLAttributes, ReactNode } from 'react';
|
|
6
|
+
export interface BlockquoteProps extends BlockquoteHTMLAttributes<HTMLQuoteElement> {
|
|
7
|
+
attribution?: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare const Blockquote: import("react").ForwardRefExoticComponent<BlockquoteProps & {
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
} & import("react").RefAttributes<HTMLQuoteElement>>;
|
package/dist/Checkbox.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { InputHTMLAttributes } from 'react';
|
|
2
2
|
export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'readOnly'> {
|
|
3
3
|
appearance?: string;
|
|
4
|
+
indeterminate?: boolean;
|
|
4
5
|
invalid?: boolean;
|
|
5
6
|
}
|
|
6
7
|
export declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode, Ref } from 'react';
|
|
2
|
+
import type { FormFieldProps } from './FormField';
|
|
3
|
+
import { TextboxProps } from './Textbox';
|
|
4
|
+
export interface FormFieldTextboxProps extends Omit<FormFieldProps, 'type'>, Pick<TextboxProps, 'autoComplete' | 'defaultValue' | 'disabled' | 'inputRequired' | 'invalid' | 'list' | 'max' | 'maxLength' | 'min' | 'minLength' | 'name' | 'pattern' | 'placeholder' | 'readOnly' | 'required' | 'size' | 'step' | 'value' | 'type'> {
|
|
5
|
+
description?: ReactNode;
|
|
6
|
+
errorMessage?: ReactNode;
|
|
7
|
+
inputDir?: TextboxProps['dir'];
|
|
8
|
+
inputRef?: Ref<HTMLInputElement>;
|
|
9
|
+
label: ReactNode;
|
|
10
|
+
status?: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare const FormFieldTextbox: import("react").ForwardRefExoticComponent<FormFieldTextboxProps & {
|
|
13
|
+
children?: ReactNode;
|
|
14
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2024 Yolijn van der Kolk
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export type RichTextProps = HTMLAttributes<HTMLDivElement>;
|
|
7
|
+
export declare const RichText: import("react").ForwardRefExoticComponent<RichTextProps & import("react").RefAttributes<HTMLHRElement>>;
|
package/dist/Textbox.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { InputHTMLAttributes } from 'react';
|
|
2
2
|
export type TextboxTypes = 'date' | 'datetime-local' | 'email' | 'month' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url' | 'week';
|
|
3
3
|
export interface TextboxProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
+
inputRequired?: boolean;
|
|
4
5
|
invalid?: boolean;
|
|
5
|
-
type?: TextboxTypes;
|
|
6
|
+
type?: string | TextboxTypes;
|
|
6
7
|
}
|
|
7
8
|
export declare const Textbox: import("react").ForwardRefExoticComponent<TextboxProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { BlockquoteHTMLAttributes, ReactNode } from 'react';
|
|
6
|
+
export interface BlockquoteProps extends BlockquoteHTMLAttributes<HTMLQuoteElement> {
|
|
7
|
+
attribution?: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare const Blockquote: import("react").ForwardRefExoticComponent<BlockquoteProps & {
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
} & import("react").RefAttributes<HTMLQuoteElement>>;
|
|
@@ -16,7 +16,7 @@ function styleInject(css, ref) {
|
|
|
16
16
|
if ( ref === void 0 ) ref = {};
|
|
17
17
|
var insertAt = ref.insertAt;
|
|
18
18
|
|
|
19
|
-
if (
|
|
19
|
+
if (typeof document === 'undefined') { return; }
|
|
20
20
|
|
|
21
21
|
var head = document.head || document.getElementsByTagName('head')[0];
|
|
22
22
|
var style = document.createElement('style');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,SAAS,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE;AAC/B,EAAE,KAAK,GAAG,KAAK,KAAK,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC;AACjC,EAAE,IAAI,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;AAC9B;AACA,EAAE,
|
|
1
|
+
{"version":3,"file":"Calendar.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,SAAS,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE;AAC/B,EAAE,KAAK,GAAG,KAAK,KAAK,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC;AACjC,EAAE,IAAI,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;AAC9B;AACA,EAAE,IAAY,OAAO,QAAQ,KAAK,WAAW,EAAE,EAAE,OAAO,EAAE;AAC1D;AACA,EAAE,IAAI,IAAI,GAAG,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;AACvE,EAAE,IAAI,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;AAC9C,EAAE,KAAK,CAAC,IAAI,GAAG,UAAU,CAAC;AAC1B;AACA,EAAE,IAAI,QAAQ,KAAK,KAAK,EAAE;AAC1B,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE;AACzB,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;AAChD,KAAK,MAAM;AACX,MAAM,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC9B,KAAK;AACL,GAAG,MAAM;AACT,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5B,GAAG;AACH;AACA,EAAE,IAAI,KAAK,CAAC,UAAU,EAAE;AACxB,IAAI,KAAK,CAAC,UAAU,CAAC,OAAO,GAAG,GAAG,CAAC;AACnC,GAAG,MAAM;AACT,IAAI,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;AACpD,GAAG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -14,7 +14,7 @@ function styleInject(css, ref) {
|
|
|
14
14
|
if ( ref === void 0 ) ref = {};
|
|
15
15
|
var insertAt = ref.insertAt;
|
|
16
16
|
|
|
17
|
-
if (
|
|
17
|
+
if (typeof document === 'undefined') { return; }
|
|
18
18
|
|
|
19
19
|
var head = document.head || document.getElementsByTagName('head')[0];
|
|
20
20
|
var style = document.createElement('style');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar.mjs","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA,SAAS,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE;AAC/B,EAAE,KAAK,GAAG,KAAK,KAAK,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC;AACjC,EAAE,IAAI,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;AAC9B;AACA,EAAE,
|
|
1
|
+
{"version":3,"file":"Calendar.mjs","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA,SAAS,WAAW,CAAC,GAAG,EAAE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { InputHTMLAttributes } from 'react';
|
|
2
2
|
export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'readOnly'> {
|
|
3
3
|
appearance?: string;
|
|
4
|
+
indeterminate?: boolean;
|
|
4
5
|
invalid?: boolean;
|
|
5
6
|
}
|
|
6
7
|
export declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode, Ref } from 'react';
|
|
2
|
+
import type { FormFieldProps } from './FormField';
|
|
3
|
+
import { TextboxProps } from './Textbox';
|
|
4
|
+
export interface FormFieldTextboxProps extends Omit<FormFieldProps, 'type'>, Pick<TextboxProps, 'autoComplete' | 'defaultValue' | 'disabled' | 'inputRequired' | 'invalid' | 'list' | 'max' | 'maxLength' | 'min' | 'minLength' | 'name' | 'pattern' | 'placeholder' | 'readOnly' | 'required' | 'size' | 'step' | 'value' | 'type'> {
|
|
5
|
+
description?: ReactNode;
|
|
6
|
+
errorMessage?: ReactNode;
|
|
7
|
+
inputDir?: TextboxProps['dir'];
|
|
8
|
+
inputRef?: Ref<HTMLInputElement>;
|
|
9
|
+
label: ReactNode;
|
|
10
|
+
status?: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare const FormFieldTextbox: import("react").ForwardRefExoticComponent<FormFieldTextboxProps & {
|
|
13
|
+
children?: ReactNode;
|
|
14
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2024 Yolijn van der Kolk
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export type RichTextProps = HTMLAttributes<HTMLDivElement>;
|
|
7
|
+
export declare const RichText: import("react").ForwardRefExoticComponent<RichTextProps & import("react").RefAttributes<HTMLHRElement>>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { InputHTMLAttributes } from 'react';
|
|
2
2
|
export type TextboxTypes = 'date' | 'datetime-local' | 'email' | 'month' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url' | 'week';
|
|
3
3
|
export interface TextboxProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
+
inputRequired?: boolean;
|
|
4
5
|
invalid?: boolean;
|
|
5
|
-
type?: TextboxTypes;
|
|
6
|
+
type?: string | TextboxTypes;
|
|
6
7
|
}
|
|
7
8
|
export declare const Textbox: import("react").ForwardRefExoticComponent<TextboxProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -10,7 +10,7 @@ function styleInject(css, ref) {
|
|
|
10
10
|
if ( ref === void 0 ) ref = {};
|
|
11
11
|
var insertAt = ref.insertAt;
|
|
12
12
|
|
|
13
|
-
if (
|
|
13
|
+
if (typeof document === 'undefined') { return; }
|
|
14
14
|
|
|
15
15
|
var head = document.head || document.getElementsByTagName('head')[0];
|
|
16
16
|
var style = document.createElement('style');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VegaVisualization.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;;;AAAA,SAAS,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE;AAC/B,EAAE,KAAK,GAAG,KAAK,KAAK,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC;AACjC,EAAE,IAAI,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;AAC9B;AACA,EAAE,
|
|
1
|
+
{"version":3,"file":"VegaVisualization.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;;;AAAA,SAAS,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE;AAC/B,EAAE,KAAK,GAAG,KAAK,KAAK,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC;AACjC,EAAE,IAAI,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;AAC9B;AACA,EAAE,IAAY,OAAO,QAAQ,KAAK,WAAW,EAAE,EAAE,OAAO,EAAE;AAC1D;AACA,EAAE,IAAI,IAAI,GAAG,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;AACvE,EAAE,IAAI,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;AAC9C,EAAE,KAAK,CAAC,IAAI,GAAG,UAAU,CAAC;AAC1B;AACA,EAAE,IAAI,QAAQ,KAAK,KAAK,EAAE;AAC1B,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE;AACzB,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;AAChD,KAAK,MAAM;AACX,MAAM,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC9B,KAAK;AACL,GAAG,MAAM;AACT,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5B,GAAG;AACH;AACA,EAAE,IAAI,KAAK,CAAC,UAAU,EAAE;AACxB,IAAI,KAAK,CAAC,UAAU,CAAC,OAAO,GAAG,GAAG,CAAC;AACnC,GAAG,MAAM;AACT,IAAI,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;AACpD,GAAG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -8,7 +8,7 @@ function styleInject(css, ref) {
|
|
|
8
8
|
if ( ref === void 0 ) ref = {};
|
|
9
9
|
var insertAt = ref.insertAt;
|
|
10
10
|
|
|
11
|
-
if (
|
|
11
|
+
if (typeof document === 'undefined') { return; }
|
|
12
12
|
|
|
13
13
|
var head = document.head || document.getElementsByTagName('head')[0];
|
|
14
14
|
var style = document.createElement('style');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VegaVisualization.mjs","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;AAAA,SAAS,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE;AAC/B,EAAE,KAAK,GAAG,KAAK,KAAK,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC;AACjC,EAAE,IAAI,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;AAC9B;AACA,EAAE,
|
|
1
|
+
{"version":3,"file":"VegaVisualization.mjs","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;AAAA,SAAS,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE;AAC/B,EAAE,KAAK,GAAG,KAAK,KAAK,CAAC,GAAG,GAAG,GAAG,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recht/calendar-css/src/index.scss';
|
|
6
6
|
export type { CalendarProps } from '../Calendar/index';
|
|
7
7
|
export { Calendar } from '../Calendar/index';
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* @license EUPL-1.2
|
|
3
3
|
* Copyright (c) 2021 Robbert Broersma
|
|
4
4
|
*/
|
|
5
|
-
import '
|
|
6
|
-
import '
|
|
5
|
+
import '@utrecht/custom-checkbox-css/src/index.scss';
|
|
6
|
+
import '@utrecht/checkbox-css/src/index.scss';
|
|
7
7
|
export * from '../Checkbox';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* @license EUPL-1.2
|
|
3
3
|
* Copyright (c) 2021 Robbert Broersma
|
|
4
4
|
*/
|
|
5
|
-
import '
|
|
6
|
-
import '
|
|
7
|
-
import '
|
|
8
|
-
import '
|
|
9
|
-
import '
|
|
10
|
-
import '
|
|
5
|
+
import '@utrecht/heading-1-css/src/index.scss';
|
|
6
|
+
import '@utrecht/heading-2-css/src/index.scss';
|
|
7
|
+
import '@utrecht/heading-3-css/src/index.scss';
|
|
8
|
+
import '@utrecht/heading-4-css/src/index.scss';
|
|
9
|
+
import '@utrecht/heading-5-css/src/index.scss';
|
|
10
|
+
import '@utrecht/heading-6-css/src/index.scss';
|
|
11
11
|
export * from '../Heading';
|