@harpercollins/harpercollins-design-system 1.8.66 → 1.8.68
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/cjs/index.cjs +60 -54
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/types/src/components/index.d.ts +2 -1
- package/dist/cjs/types/src/components/layout/Grid/Grid.d.ts +2 -0
- package/dist/cjs/types/src/components/layout/Grid/index.d.ts +2 -0
- package/dist/cjs/types/src/utils/utils.d.ts +2 -2
- package/dist/esm/index.js +58 -52
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/index.d.ts +2 -1
- package/dist/esm/types/src/components/layout/Grid/Grid.d.ts +2 -0
- package/dist/esm/types/src/components/layout/Grid/index.d.ts +2 -0
- package/dist/esm/types/src/utils/utils.d.ts +2 -2
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
|
@@ -32,4 +32,5 @@ import List from "./data-display/List/List";
|
|
|
32
32
|
import ListItem from "./data-display/List/ListItem";
|
|
33
33
|
import ListItemDecorator from "./data-display/List/ListItemDecorator";
|
|
34
34
|
import ListItemButton from "./data-display/List/ListItemButton";
|
|
35
|
-
|
|
35
|
+
import Grid from "./layout/Grid";
|
|
36
|
+
export { Accordion, AppBar, Autocomplete, AutocompleteSelectMultiple, Badge, Box, Breadcrumb, Button, Chip, Divider, Drawer, DropDownMenu, Heading, Icon, IconButton, Input, Grid, Layout, List, ListItemButton, ListItem, ListItemDecorator, LoadingSpinner, Logo, ProgressBar, ProgressCircle, ReadMore, RelativeTime, StatusIcon, Table, Tabs, TextBlock, TextField, ToastMessages, Tooltip, };
|
|
@@ -12,7 +12,7 @@ export declare const formatDate: (dateString: string | null | undefined, format?
|
|
|
12
12
|
*/
|
|
13
13
|
export declare const formatNumber: (number: number | string | null | undefined) => string;
|
|
14
14
|
/**
|
|
15
|
-
* Format text
|
|
15
|
+
* Format text
|
|
16
16
|
* @param text
|
|
17
17
|
* @returns The formatted text
|
|
18
18
|
*/
|
|
@@ -24,4 +24,4 @@ export declare const formatText: (text: string | null | undefined) => string;
|
|
|
24
24
|
* @param currency - The currency to format the value to
|
|
25
25
|
* @returns The formatted currency value
|
|
26
26
|
* */
|
|
27
|
-
export declare const formatCurrency: (value: number | string | null | undefined, locale?: string,
|
|
27
|
+
export declare const formatCurrency: (value: number | string | null | undefined, locale?: string | undefined, options?: Intl.NumberFormatOptions) => string;
|