@amsterdam/design-system-react 0.1.3 → 0.1.5
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 +22 -7
- package/dist/Accordion/Accordion.d.ts +17 -0
- package/dist/Accordion/AccordionContext.d.ts +8 -0
- package/dist/Accordion/AccordionSection.d.ts +12 -0
- package/dist/Accordion/index.d.ts +3 -0
- package/dist/Accordion/useFocusWithArrow.test.d.ts +1 -0
- package/dist/Accordion/useFocusWithArrows.d.ts +24 -0
- package/dist/Blockquote/Blockquote.d.ts +15 -0
- package/dist/Blockquote/index.d.ts +2 -0
- package/dist/Breadcrumb/Breadcrumb.d.ts +11 -0
- package/dist/{Textbox/Textbox.test.d.ts → Breadcrumb/Breadcrumb.test.d.ts} +1 -1
- package/dist/Breadcrumb/index.d.ts +2 -0
- package/dist/Checkbox/Checkbox.d.ts +12 -0
- package/dist/Checkbox/Checkbox.test.d.ts +1 -0
- package/dist/Checkbox/index.d.ts +2 -0
- package/dist/Footer/Footer.d.ts +23 -0
- package/dist/Footer/Footer.test.d.ts +1 -0
- package/dist/Footer/index.d.ts +1 -0
- package/dist/Grid/GridCell.d.ts +18 -0
- package/dist/Grid/PageGrid.d.ts +10 -0
- package/dist/Grid/index.d.ts +4 -0
- package/dist/Heading/Heading.d.ts +17 -3
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Link/Link.d.ts +12 -6
- package/dist/OrderedList/OrderedList.d.ts +17 -0
- package/dist/OrderedList/OrderedList.test.d.ts +1 -0
- package/dist/OrderedList/index.d.ts +2 -0
- package/dist/PageHeading/PageHeading.d.ts +15 -0
- package/dist/PageHeading/PageHeading.test.d.ts +1 -0
- package/dist/PageHeading/index.d.ts +2 -0
- package/dist/PageMenu/PageMenu.d.ts +20 -0
- package/dist/PageMenu/PageMenu.test.d.ts +1 -0
- package/dist/PageMenu/index.d.ts +2 -0
- package/dist/Paragraph/Paragraph.d.ts +7 -1
- package/dist/Testula/Testula.d.ts +8 -0
- package/dist/Testula/Testula.test.d.ts +1 -0
- package/dist/Testula/index.d.ts +2 -0
- package/dist/TopTaskLink/TopTaskLink.d.ts +10 -0
- package/dist/TopTaskLink/TopTaskLink.test.d.ts +1 -0
- package/dist/TopTaskLink/index.d.ts +1 -0
- package/dist/UnorderedList/UnorderedList.d.ts +17 -0
- package/dist/UnorderedList/UnorderedList.test.d.ts +1 -0
- package/dist/UnorderedList/index.d.ts +2 -0
- package/dist/VisuallyHidden/VisuallyHidden.d.ts +8 -0
- package/dist/VisuallyHidden/VisuallyHidden.test.d.ts +1 -0
- package/dist/VisuallyHidden/index.d.ts +1 -0
- package/dist/index.cjs.js +689 -61
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +20 -7
- package/dist/index.esm.js +678 -63
- package/dist/index.esm.js.map +1 -1
- package/dist/tsconfig.test.tsbuildinfo +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/unstyled/index.d.ts +22 -0
- package/package.json +21 -22
- package/dist/Details/Details.d.ts +0 -13
- package/dist/Details/index.d.ts +0 -2
- package/dist/Icon.d.ts +0 -13
- package/dist/Link.d.ts +0 -14
- package/dist/List.d.ts +0 -8
- package/dist/RadioButton/RadioButton.d.ts +0 -12
- package/dist/RadioButton/index.d.ts +0 -1
- package/dist/Textbox/Textbox.d.ts +0 -7
- package/dist/Textbox/index.d.ts +0 -1
- /package/dist/{Icon.test.d.ts → Accordion/Accordion.test.d.ts} +0 -0
- /package/dist/{Link.test.d.ts → Accordion/AccordionSection.test.d.ts} +0 -0
- /package/dist/{List.test.d.ts → Blockquote/Blockquote.test.d.ts} +0 -0
package/dist/Details/index.d.ts
DELETED
package/dist/Icon.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2021 Gemeente Utrecht
|
|
4
|
-
* Copyright (c) 2021 Robbert Broersma
|
|
5
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
6
|
-
*/
|
|
7
|
-
import { HTMLAttributes } from 'react';
|
|
8
|
-
export interface IconProps extends HTMLAttributes<HTMLSpanElement> {
|
|
9
|
-
size?: 'small' | 'medium' | 'large';
|
|
10
|
-
}
|
|
11
|
-
export declare const Icon: import("react").ForwardRefExoticComponent<IconProps & {
|
|
12
|
-
children?: import("react").ReactNode;
|
|
13
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
package/dist/Link.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2021 Gemeente Utrecht
|
|
4
|
-
* Copyright (c) 2021 Robbert Broersma
|
|
5
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
6
|
-
*/
|
|
7
|
-
import { AnchorHTMLAttributes } from 'react';
|
|
8
|
-
export interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
9
|
-
variant?: 'standalone' | 'inList' | 'inline';
|
|
10
|
-
icon?: Function;
|
|
11
|
-
}
|
|
12
|
-
export declare const Link: import("react").ForwardRefExoticComponent<LinkProps & {
|
|
13
|
-
children?: import("react").ReactNode;
|
|
14
|
-
} & import("react").RefAttributes<HTMLAnchorElement>>;
|
package/dist/List.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
import { HTMLAttributes } from 'react';
|
|
6
|
-
export declare const List: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLUListElement> & {
|
|
7
|
-
children?: import("react").ReactNode;
|
|
8
|
-
} & import("react").RefAttributes<HTMLUListElement>>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
5
|
-
*/
|
|
6
|
-
import { InputHTMLAttributes } from 'react';
|
|
7
|
-
export type RadioButtonProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
8
|
-
invalid?: boolean;
|
|
9
|
-
};
|
|
10
|
-
export declare const RadioButton: import("react").ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & {
|
|
11
|
-
invalid?: boolean | undefined;
|
|
12
|
-
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { RadioButton } from './RadioButton';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { InputHTMLAttributes } from 'react';
|
|
2
|
-
export type TextboxTypes = 'number' | 'text';
|
|
3
|
-
export interface TextboxProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
-
invalid?: boolean;
|
|
5
|
-
type?: TextboxTypes;
|
|
6
|
-
}
|
|
7
|
-
export declare const Textbox: import("react").ForwardRefExoticComponent<TextboxProps & import("react").RefAttributes<HTMLInputElement>>;
|
package/dist/Textbox/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Textbox } from './Textbox';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|