@utrecht/component-library-react 2.0.0 → 3.0.1-alpha.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/LICENSE.txt +287 -0
- package/dist/.jest-test-results.json +1 -1
- package/dist/Calendar.js +0 -2
- package/dist/Calendar.js.map +1 -1
- package/dist/Calendar.mjs +0 -2
- package/dist/Calendar.mjs.map +1 -1
- package/dist/LinkList.d.ts +19 -0
- package/dist/NavBar.d.ts +8 -0
- package/dist/NavList.d.ts +24 -0
- package/dist/css-module/Calendar.js +0 -2
- package/dist/css-module/Calendar.js.map +1 -1
- package/dist/css-module/Calendar.mjs +0 -2
- package/dist/css-module/Calendar.mjs.map +1 -1
- package/dist/css-module/LinkList.d.ts +19 -0
- package/dist/css-module/NavBar.d.ts +8 -0
- package/dist/css-module/NavList.d.ts +24 -0
- package/dist/css-module/css-module/LinkList.d.ts +6 -0
- package/dist/css-module/css-module/NavBar.d.ts +6 -0
- package/dist/css-module/css-module/NavList.d.ts +6 -0
- 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 +498 -377
- package/dist/css-module/index.js.map +1 -1
- package/dist/css-module/index.mjs +493 -378
- package/dist/css-module/index.mjs.map +1 -1
- package/dist/index.cjs.js +391 -279
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.esm.js +386 -280
- package/dist/index.esm.js.map +1 -1
- package/package.json +23 -24
package/dist/Calendar.js
CHANGED
|
@@ -301,11 +301,9 @@ function createCalendar(today) {
|
|
|
301
301
|
var start = dateFns.startOfWeek(dateFns.startOfMonth(today), {
|
|
302
302
|
weekStartsOn: 1 /* Monday */
|
|
303
303
|
});
|
|
304
|
-
|
|
305
304
|
var end = dateFns.endOfWeek(dateFns.addWeeks(start, 5), {
|
|
306
305
|
weekStartsOn: 1 /* Monday */
|
|
307
306
|
});
|
|
308
|
-
|
|
309
307
|
return dateFns.eachDayOfInterval({
|
|
310
308
|
start: start,
|
|
311
309
|
end: end
|
package/dist/Calendar.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Calendar.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/Calendar.mjs
CHANGED
|
@@ -299,11 +299,9 @@ function createCalendar(today) {
|
|
|
299
299
|
var start = startOfWeek(startOfMonth(today), {
|
|
300
300
|
weekStartsOn: 1 /* Monday */
|
|
301
301
|
});
|
|
302
|
-
|
|
303
302
|
var end = endOfWeek(addWeeks(start, 5), {
|
|
304
303
|
weekStartsOn: 1 /* Monday */
|
|
305
304
|
});
|
|
306
|
-
|
|
307
305
|
return eachDayOfInterval({
|
|
308
306
|
start: start,
|
|
309
307
|
end: end
|
package/dist/Calendar.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Calendar.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2023 Gemeente Utrecht
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes, PropsWithChildren, ReactNode } from 'react';
|
|
6
|
+
import type { LinkProps } from './Link';
|
|
7
|
+
export interface LinkListLinkProps extends LinkProps {
|
|
8
|
+
icon?: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export declare const LinkListLink: import("react").ForwardRefExoticComponent<LinkListLinkProps & {
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
} & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
13
|
+
export interface LinkListProps extends Omit<HTMLAttributes<HTMLUListElement>, 'children'> {
|
|
14
|
+
icon?: () => ReactNode;
|
|
15
|
+
links?: PropsWithChildren<LinkListLinkProps>[];
|
|
16
|
+
}
|
|
17
|
+
export declare const LinkList: import("react").ForwardRefExoticComponent<LinkListProps & {
|
|
18
|
+
children?: ReactNode;
|
|
19
|
+
} & import("react").RefAttributes<HTMLUListElement>>;
|
package/dist/NavBar.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
|
+
export interface NavBarProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
appearance?: undefined | string | 'center';
|
|
4
|
+
}
|
|
5
|
+
export declare const NavBar: {
|
|
6
|
+
({ appearance, children }: PropsWithChildren<NavBarProps>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import type { LinkProps } from './Link';
|
|
3
|
+
import type { LinkButtonProps } from './LinkButton';
|
|
4
|
+
export interface NavListProps {
|
|
5
|
+
appearance?: undefined | string | 'center';
|
|
6
|
+
}
|
|
7
|
+
export declare const NavList: {
|
|
8
|
+
({ appearance, children }: PropsWithChildren<NavListProps>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
export interface NavListLinkProps extends LinkProps {
|
|
12
|
+
center?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const NavListLink: {
|
|
15
|
+
({ center, children, ...restProps }: PropsWithChildren<NavListLinkProps>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
export interface NavListLinkButtonProps extends LinkButtonProps {
|
|
19
|
+
center?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare const NavListLinkButton: {
|
|
22
|
+
({ center, children, ...restProps }: PropsWithChildren<NavListLinkButtonProps>): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
displayName: string;
|
|
24
|
+
};
|
|
@@ -331,11 +331,9 @@ function createCalendar(today) {
|
|
|
331
331
|
var start = dateFns.startOfWeek(dateFns.startOfMonth(today), {
|
|
332
332
|
weekStartsOn: 1 /* Monday */
|
|
333
333
|
});
|
|
334
|
-
|
|
335
334
|
var end = dateFns.endOfWeek(dateFns.addWeeks(start, 5), {
|
|
336
335
|
weekStartsOn: 1 /* Monday */
|
|
337
336
|
});
|
|
338
|
-
|
|
339
337
|
return dateFns.eachDayOfInterval({
|
|
340
338
|
start: start,
|
|
341
339
|
end: end
|
|
@@ -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,IAAI,CAAC,GAAG,IAAI,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
|
|
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,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -329,11 +329,9 @@ function createCalendar(today) {
|
|
|
329
329
|
var start = startOfWeek(startOfMonth(today), {
|
|
330
330
|
weekStartsOn: 1 /* Monday */
|
|
331
331
|
});
|
|
332
|
-
|
|
333
332
|
var end = endOfWeek(addWeeks(start, 5), {
|
|
334
333
|
weekStartsOn: 1 /* Monday */
|
|
335
334
|
});
|
|
336
|
-
|
|
337
335
|
return eachDayOfInterval({
|
|
338
336
|
start: start,
|
|
339
337
|
end: end
|
|
@@ -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,IAAI,CAAC,GAAG,IAAI,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
|
|
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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2023 Gemeente Utrecht
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes, PropsWithChildren, ReactNode } from 'react';
|
|
6
|
+
import type { LinkProps } from './Link';
|
|
7
|
+
export interface LinkListLinkProps extends LinkProps {
|
|
8
|
+
icon?: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export declare const LinkListLink: import("react").ForwardRefExoticComponent<LinkListLinkProps & {
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
} & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
13
|
+
export interface LinkListProps extends Omit<HTMLAttributes<HTMLUListElement>, 'children'> {
|
|
14
|
+
icon?: () => ReactNode;
|
|
15
|
+
links?: PropsWithChildren<LinkListLinkProps>[];
|
|
16
|
+
}
|
|
17
|
+
export declare const LinkList: import("react").ForwardRefExoticComponent<LinkListProps & {
|
|
18
|
+
children?: ReactNode;
|
|
19
|
+
} & import("react").RefAttributes<HTMLUListElement>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
|
+
export interface NavBarProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
appearance?: undefined | string | 'center';
|
|
4
|
+
}
|
|
5
|
+
export declare const NavBar: {
|
|
6
|
+
({ appearance, children }: PropsWithChildren<NavBarProps>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import type { LinkProps } from './Link';
|
|
3
|
+
import type { LinkButtonProps } from './LinkButton';
|
|
4
|
+
export interface NavListProps {
|
|
5
|
+
appearance?: undefined | string | 'center';
|
|
6
|
+
}
|
|
7
|
+
export declare const NavList: {
|
|
8
|
+
({ appearance, children }: PropsWithChildren<NavListProps>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
export interface NavListLinkProps extends LinkProps {
|
|
12
|
+
center?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const NavListLink: {
|
|
15
|
+
({ center, children, ...restProps }: PropsWithChildren<NavListLinkProps>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
export interface NavListLinkButtonProps extends LinkButtonProps {
|
|
19
|
+
center?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare const NavListLinkButton: {
|
|
22
|
+
({ center, children, ...restProps }: PropsWithChildren<NavListLinkButtonProps>): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
displayName: string;
|
|
24
|
+
};
|
|
@@ -94,6 +94,8 @@ export { Link } from './Link';
|
|
|
94
94
|
export type { LinkButtonProps } from '../LinkButton';
|
|
95
95
|
export { LinkButton } from './LinkButton';
|
|
96
96
|
export type { LinkSocialProps } from '../LinkSocial';
|
|
97
|
+
export { LinkList, LinkListLink } from './LinkList';
|
|
98
|
+
export type { LinkListProps, LinkListLinkProps } from './LinkList';
|
|
97
99
|
export { LinkSocial } from './LinkSocial';
|
|
98
100
|
export type { ListSocialProps, ListSocialItemProps } from '../ListSocial';
|
|
99
101
|
export { ListSocial, ListSocialItem } from './ListSocial';
|
|
@@ -105,6 +107,10 @@ export type { MarkProps } from '../Mark';
|
|
|
105
107
|
export { Mark } from './Mark';
|
|
106
108
|
export type { MultilineDataProps } from '../MultilineData';
|
|
107
109
|
export { MultilineData } from './MultilineData';
|
|
110
|
+
export type { NavBarProps } from './NavBar';
|
|
111
|
+
export { NavBar } from './NavBar';
|
|
112
|
+
export type { NavListProps, NavListLinkProps, NavListLinkButtonProps } from './NavList';
|
|
113
|
+
export { NavList, NavListLink, NavListLinkButton } from './NavList';
|
|
108
114
|
export type { NumberDataProps } from '../NumberData';
|
|
109
115
|
export { NumberData } from './NumberData';
|
|
110
116
|
export type { OrderedListProps } from '../OrderedList';
|
|
@@ -96,6 +96,8 @@ export type { LinkButtonProps } from './LinkButton';
|
|
|
96
96
|
export { LinkButton } from './LinkButton';
|
|
97
97
|
export type { LinkSocialProps } from './LinkSocial';
|
|
98
98
|
export { LinkSocial } from './LinkSocial';
|
|
99
|
+
export type { LinkListProps, LinkListLinkProps } from './LinkList';
|
|
100
|
+
export { LinkList, LinkListLink } from './LinkList';
|
|
99
101
|
export type { ListSocialProps, ListSocialItemProps } from './ListSocial';
|
|
100
102
|
export { ListSocial, ListSocialItem } from './ListSocial';
|
|
101
103
|
export type { LogoProps } from './Logo';
|
|
@@ -106,6 +108,10 @@ export type { MarkProps } from './Mark';
|
|
|
106
108
|
export { Mark } from './Mark';
|
|
107
109
|
export type { MultilineDataProps } from './MultilineData';
|
|
108
110
|
export { MultilineData } from './MultilineData';
|
|
111
|
+
export type { NavBarProps } from './NavBar';
|
|
112
|
+
export { NavBar } from './NavBar';
|
|
113
|
+
export type { NavListProps, NavListLinkProps, NavListLinkButtonProps } from './NavList';
|
|
114
|
+
export { NavList, NavListLink, NavListLinkButton } from './NavList';
|
|
109
115
|
export type { NumberDataProps } from './NumberData';
|
|
110
116
|
export { NumberData } from './NumberData';
|
|
111
117
|
export type { OrderedListProps } from './OrderedList';
|