@amsterdam/design-system-react 0.1.8 → 0.1.9
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/Dialog/Dialog.d.ts +9 -0
- package/dist/Dialog/Dialog.test.d.ts +1 -0
- package/dist/Dialog/index.d.ts +2 -0
- package/dist/Logo/Logo.d.ts +11 -0
- package/dist/Logo/Logo.test.d.ts +1 -0
- package/dist/Logo/brand/LogoAmsterdam.d.ts +3 -0
- package/dist/Logo/brand/LogoGgdAmsterdam.d.ts +3 -0
- package/dist/Logo/brand/LogoStadsarchief.d.ts +3 -0
- package/dist/Logo/brand/LogoStadsbankVanLening.d.ts +3 -0
- package/dist/Logo/brand/LogoVgaVerzekeringen.d.ts +3 -0
- package/dist/Logo/brand/index.d.ts +5 -0
- package/dist/Logo/index.d.ts +2 -0
- package/dist/index.cjs.js +275 -61
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +275 -63
- package/dist/index.esm.js.map +1 -1
- package/package.json +10 -10
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2+
|
|
3
|
+
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
+
*/
|
|
5
|
+
import { DialogHTMLAttributes, PropsWithChildren, ReactNode } from 'react';
|
|
6
|
+
export interface DialogProps extends PropsWithChildren<DialogHTMLAttributes<HTMLDialogElement>> {
|
|
7
|
+
actions?: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare const Dialog: import("react").ForwardRefExoticComponent<DialogProps & import("react").RefAttributes<HTMLDialogElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2+
|
|
3
|
+
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
+
*/
|
|
5
|
+
import { ForwardRefExoticComponent, RefAttributes, SVGProps } from 'react';
|
|
6
|
+
type LogoBrand = 'amsterdam' | 'ggd-amsterdam' | 'stadsarchief' | 'stadsbank-van-lening' | 'vga-verzekeringen';
|
|
7
|
+
export interface LogoProps extends SVGProps<SVGSVGElement> {
|
|
8
|
+
brand?: LogoBrand;
|
|
9
|
+
}
|
|
10
|
+
export declare const Logo: ForwardRefExoticComponent<Omit<LogoProps, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as LogoAmsterdam } from './LogoAmsterdam';
|
|
2
|
+
export { default as LogoGgdAmsterdam } from './LogoGgdAmsterdam';
|
|
3
|
+
export { default as LogoStadsarchief } from './LogoStadsarchief';
|
|
4
|
+
export { default as LogoStadsbankVanLening } from './LogoStadsbankVanLening';
|
|
5
|
+
export { default as LogoVgaVerzekeringen } from './LogoVgaVerzekeringen';
|