@youversion/design-system-components 1.11.0 → 1.12.1
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/CHANGELOG.md +25 -0
- package/dist/index.es.js +2437 -2094
- package/dist/index.umd.js +2 -2
- package/dist/src/DataTable/DataTable.d.ts +16 -7
- package/dist/src/DataTable/DataTable.d.ts.map +1 -1
- package/dist/src/DataTable/DataTable.stories.d.ts +96 -58
- package/dist/src/DataTable/DataTable.stories.d.ts.map +1 -1
- package/dist/src/DataTable/DataTableCellContent.d.ts.map +1 -1
- package/dist/src/SideNav/SideNav.d.ts +55 -7
- package/dist/src/SideNav/SideNav.d.ts.map +1 -1
- package/dist/src/SideNav/SideNav.stories.d.ts +1 -0
- package/dist/src/SideNav/SideNav.stories.d.ts.map +1 -1
- package/dist/src/SideNav/SideNavContent.d.ts +15 -0
- package/dist/src/SideNav/SideNavContent.d.ts.map +1 -0
- package/dist/src/SideNav/SideNavFooter.d.ts +14 -7
- package/dist/src/SideNav/SideNavFooter.d.ts.map +1 -1
- package/dist/src/SideNav/SideNavGroup.d.ts +15 -0
- package/dist/src/SideNav/SideNavGroup.d.ts.map +1 -0
- package/dist/src/SideNav/SideNavGroupDivider.d.ts +21 -0
- package/dist/src/SideNav/SideNavGroupDivider.d.ts.map +1 -0
- package/dist/src/SideNav/SideNavGroupLabel.d.ts +16 -0
- package/dist/src/SideNav/SideNavGroupLabel.d.ts.map +1 -0
- package/dist/src/SideNav/SideNavHeader.d.ts +14 -7
- package/dist/src/SideNav/SideNavHeader.d.ts.map +1 -1
- package/dist/src/SideNav/SideNavItem.d.ts +40 -12
- package/dist/src/SideNav/SideNavItem.d.ts.map +1 -1
- package/dist/src/SideNav/SideNavItemIcon.d.ts +32 -0
- package/dist/src/SideNav/SideNavItemIcon.d.ts.map +1 -0
- package/dist/src/SideNav/SideNavItems.d.ts +25 -7
- package/dist/src/SideNav/SideNavItems.d.ts.map +1 -1
- package/dist/src/SideNav/index.d.ts +3 -0
- package/dist/src/SideNav/index.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/package.json +4 -3
- package/dist/src/DataTable/DataTableContainer.d.ts +0 -26
- package/dist/src/DataTable/DataTableContainer.d.ts.map +0 -1
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactElement } from 'react';
|
|
2
|
-
type CellAlign = 'start' | 'center' | 'end';
|
|
3
|
-
type CellType = 'button' | 'custom' | 'link' | 'text' | 'percentage';
|
|
2
|
+
export type CellAlign = 'start' | 'center' | 'end';
|
|
3
|
+
export type CellType = 'button' | 'custom' | 'link' | 'text' | 'percentage';
|
|
4
|
+
export type ValueType = string | boolean | number | null | undefined;
|
|
4
5
|
export type SortingOrder = 'asc' | 'desc';
|
|
5
|
-
export type DataItem = Record<string,
|
|
6
|
+
export type DataItem = Record<string, ValueType>;
|
|
7
|
+
export interface RowItem extends DataItem {
|
|
8
|
+
imageUrl?: string;
|
|
9
|
+
width?: string;
|
|
10
|
+
}
|
|
6
11
|
export type DataTableColumn = {
|
|
7
12
|
customRender?: (value: string, dataItem: DataItem) => ReactElement;
|
|
8
13
|
dataIndex: keyof DataItem;
|
|
@@ -122,8 +127,10 @@ export declare const DataTable: import("react").ForwardRefExoticComponent<HTMLAt
|
|
|
122
127
|
isStriped?: boolean | undefined;
|
|
123
128
|
/** Sets the min table height. Is useful when the table is loading. */
|
|
124
129
|
minHeight?: string | undefined;
|
|
125
|
-
/**
|
|
126
|
-
|
|
130
|
+
/** Component to display in a cell, if no data received. */
|
|
131
|
+
noDataComponent?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
132
|
+
/** String to display in a cell, if no data received. */
|
|
133
|
+
noDataText?: string | undefined;
|
|
127
134
|
/** Display IconLinkButton after the content of the last column if that click handler provided.
|
|
128
135
|
* Takes rowIndex as a parameter.
|
|
129
136
|
*/
|
|
@@ -145,9 +152,11 @@ export declare const DataTable: import("react").ForwardRefExoticComponent<HTMLAt
|
|
|
145
152
|
*/
|
|
146
153
|
rowHoverStyles?: string | undefined;
|
|
147
154
|
/** Required. Array of objects which define table rows. */
|
|
148
|
-
rowItems: Array<
|
|
155
|
+
rowItems: Array<RowItem>;
|
|
156
|
+
/** Defines the amount of rows displayed per page. */
|
|
157
|
+
rowsPerPage?: number | undefined;
|
|
149
158
|
/** ClassNames which can be used for styling <Pagination /> element selected page. */
|
|
150
|
-
|
|
159
|
+
selectedPaginationClassNames?: string | undefined;
|
|
151
160
|
/** Object with info for correct sort by colllumn settings. */
|
|
152
161
|
sortSettings?: SortSettings | undefined;
|
|
153
162
|
/** Array with one or two values, which specifies striped rows styles.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../src/DataTable/DataTable.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../src/DataTable/DataTable.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAc,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAcjE,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AACnD,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,YAAY,CAAC;AAE5E,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;AACrE,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,MAAM,CAAC;AAE1C,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;AAEjD,MAAM,WAAW,OAAQ,SAAQ,QAAQ;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,KAAK,YAAY,CAAC;IACnE,SAAS,EAAE,MAAM,QAAQ,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACvC,KAAK,CAAC,EAAE;QACN,KAAK,CAAC,EAAE,SAAS,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB,CAAC;AACF,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAE3D,KAAK,cAAc,GAAG;IACpB,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,sBAAsB,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IAC1D,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,YAAY,CAAC;IACpB,MAAM,EAAE,MAAM,QAAQ,CAAC;CACxB,CAAC;AAiGF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AAEH,eAAO,MAAM,SAAS;IA3JpB,6DAA6D;aACpD,MAAM,eAAe,CAAC;IAC/B;;OAEG;gCACwB,MAAM,QAAQ,SAAS,YAAY,KAAK,IAAI;IACvE,gCAAgC;;IAEhC,sEAAsE;;IAEtE;;;OAGG;;IAEH;;;OAGG;;IAEH,yFAAyF;;IAEzF,mCAAmC;;IAEnC;;;;OAIG;;IAEH,sEAAsE;;IAEtE,2DAA2D;;IAE3D,wDAAwD;;IAExD;;OAEG;oCAC4B,MAAM,KAAK,IAAI;IAC9C,sEAAsE;;IAEtE,iFAAiF;;IAEjF;;;;;OAKG;;IAEH;;;OAGG;;IAEH,0DAA0D;cAChD,MAAM,OAAO,CAAC;IACxB,qDAAqD;;IAErD,qFAAqF;;IAErF,8DAA8D;;IAE9D;;;;;;OAMG;;IAEH,kEAAkE;;IAElE,kEAAkE;;IAElE,gEAAgE;;IAEhE,gEAAgE;;IAEhE,8DAA8D;;IAE9D,kEAAkE;;IAElE,gEAAgE;;IAEhE,0EAA0E;;IAE1E,sGAAsG;;oDAoUvG,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { SortingOrder, SortSettings } from './DataTable';
|
|
3
3
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
|
|
4
4
|
columns: import("./DataTable").DataTableColumn[];
|
|
5
5
|
handleSort?: ((columnIndex: string, order: SortingOrder) => void) | undefined;
|
|
@@ -11,7 +11,8 @@ declare const _default: import("@storybook/types").ComponentAnnotations<import("
|
|
|
11
11
|
isRowsBordered?: boolean | undefined;
|
|
12
12
|
isStriped?: boolean | undefined;
|
|
13
13
|
minHeight?: string | undefined;
|
|
14
|
-
|
|
14
|
+
noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
15
|
+
noDataText?: string | undefined;
|
|
15
16
|
onLinkButtonClick?: ((rowIndex: number) => void) | undefined;
|
|
16
17
|
outerClassNames?: string | undefined;
|
|
17
18
|
paginationClassNames?: string | undefined;
|
|
@@ -21,8 +22,9 @@ declare const _default: import("@storybook/types").ComponentAnnotations<import("
|
|
|
21
22
|
totalRowsCount: number;
|
|
22
23
|
} | undefined;
|
|
23
24
|
rowHoverStyles?: string | undefined;
|
|
24
|
-
rowItems:
|
|
25
|
-
|
|
25
|
+
rowItems: import("./DataTable").RowItem[];
|
|
26
|
+
rowsPerPage?: number | undefined;
|
|
27
|
+
selectedPaginationClassNames?: string | undefined;
|
|
26
28
|
sortSettings?: SortSettings | undefined;
|
|
27
29
|
stripedRowsStyles?: string[] | undefined;
|
|
28
30
|
tableClassNames?: string | undefined;
|
|
@@ -47,7 +49,8 @@ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import
|
|
|
47
49
|
isRowsBordered?: boolean | undefined;
|
|
48
50
|
isStriped?: boolean | undefined;
|
|
49
51
|
minHeight?: string | undefined;
|
|
50
|
-
|
|
52
|
+
noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
53
|
+
noDataText?: string | undefined;
|
|
51
54
|
onLinkButtonClick?: ((rowIndex: number) => void) | undefined;
|
|
52
55
|
outerClassNames?: string | undefined;
|
|
53
56
|
paginationClassNames?: string | undefined;
|
|
@@ -57,8 +60,9 @@ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import
|
|
|
57
60
|
totalRowsCount: number;
|
|
58
61
|
} | undefined;
|
|
59
62
|
rowHoverStyles?: string | undefined;
|
|
60
|
-
rowItems:
|
|
61
|
-
|
|
63
|
+
rowItems: import("./DataTable").RowItem[];
|
|
64
|
+
rowsPerPage?: number | undefined;
|
|
65
|
+
selectedPaginationClassNames?: string | undefined;
|
|
62
66
|
sortSettings?: SortSettings | undefined;
|
|
63
67
|
stripedRowsStyles?: string[] | undefined;
|
|
64
68
|
tableClassNames?: string | undefined;
|
|
@@ -82,7 +86,8 @@ export declare const WithStatsStyles: import("@storybook/types").AnnotatedStoryF
|
|
|
82
86
|
isRowsBordered?: boolean | undefined;
|
|
83
87
|
isStriped?: boolean | undefined;
|
|
84
88
|
minHeight?: string | undefined;
|
|
85
|
-
|
|
89
|
+
noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
90
|
+
noDataText?: string | undefined;
|
|
86
91
|
onLinkButtonClick?: ((rowIndex: number) => void) | undefined;
|
|
87
92
|
outerClassNames?: string | undefined;
|
|
88
93
|
paginationClassNames?: string | undefined;
|
|
@@ -92,8 +97,9 @@ export declare const WithStatsStyles: import("@storybook/types").AnnotatedStoryF
|
|
|
92
97
|
totalRowsCount: number;
|
|
93
98
|
} | undefined;
|
|
94
99
|
rowHoverStyles?: string | undefined;
|
|
95
|
-
rowItems:
|
|
96
|
-
|
|
100
|
+
rowItems: import("./DataTable").RowItem[];
|
|
101
|
+
rowsPerPage?: number | undefined;
|
|
102
|
+
selectedPaginationClassNames?: string | undefined;
|
|
97
103
|
sortSettings?: SortSettings | undefined;
|
|
98
104
|
stripedRowsStyles?: string[] | undefined;
|
|
99
105
|
tableClassNames?: string | undefined;
|
|
@@ -117,7 +123,8 @@ export declare const WithClassicStyles: import("@storybook/types").AnnotatedStor
|
|
|
117
123
|
isRowsBordered?: boolean | undefined;
|
|
118
124
|
isStriped?: boolean | undefined;
|
|
119
125
|
minHeight?: string | undefined;
|
|
120
|
-
|
|
126
|
+
noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
127
|
+
noDataText?: string | undefined;
|
|
121
128
|
onLinkButtonClick?: ((rowIndex: number) => void) | undefined;
|
|
122
129
|
outerClassNames?: string | undefined;
|
|
123
130
|
paginationClassNames?: string | undefined;
|
|
@@ -127,8 +134,9 @@ export declare const WithClassicStyles: import("@storybook/types").AnnotatedStor
|
|
|
127
134
|
totalRowsCount: number;
|
|
128
135
|
} | undefined;
|
|
129
136
|
rowHoverStyles?: string | undefined;
|
|
130
|
-
rowItems:
|
|
131
|
-
|
|
137
|
+
rowItems: import("./DataTable").RowItem[];
|
|
138
|
+
rowsPerPage?: number | undefined;
|
|
139
|
+
selectedPaginationClassNames?: string | undefined;
|
|
132
140
|
sortSettings?: SortSettings | undefined;
|
|
133
141
|
stripedRowsStyles?: string[] | undefined;
|
|
134
142
|
tableClassNames?: string | undefined;
|
|
@@ -152,7 +160,8 @@ export declare const WithLinkButton: import("@storybook/types").AnnotatedStoryFn
|
|
|
152
160
|
isRowsBordered?: boolean | undefined;
|
|
153
161
|
isStriped?: boolean | undefined;
|
|
154
162
|
minHeight?: string | undefined;
|
|
155
|
-
|
|
163
|
+
noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
164
|
+
noDataText?: string | undefined;
|
|
156
165
|
onLinkButtonClick?: ((rowIndex: number) => void) | undefined;
|
|
157
166
|
outerClassNames?: string | undefined;
|
|
158
167
|
paginationClassNames?: string | undefined;
|
|
@@ -162,8 +171,9 @@ export declare const WithLinkButton: import("@storybook/types").AnnotatedStoryFn
|
|
|
162
171
|
totalRowsCount: number;
|
|
163
172
|
} | undefined;
|
|
164
173
|
rowHoverStyles?: string | undefined;
|
|
165
|
-
rowItems:
|
|
166
|
-
|
|
174
|
+
rowItems: import("./DataTable").RowItem[];
|
|
175
|
+
rowsPerPage?: number | undefined;
|
|
176
|
+
selectedPaginationClassNames?: string | undefined;
|
|
167
177
|
sortSettings?: SortSettings | undefined;
|
|
168
178
|
stripedRowsStyles?: string[] | undefined;
|
|
169
179
|
tableClassNames?: string | undefined;
|
|
@@ -187,7 +197,8 @@ export declare const WithBorder: import("@storybook/types").AnnotatedStoryFn<imp
|
|
|
187
197
|
isRowsBordered?: boolean | undefined;
|
|
188
198
|
isStriped?: boolean | undefined;
|
|
189
199
|
minHeight?: string | undefined;
|
|
190
|
-
|
|
200
|
+
noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
201
|
+
noDataText?: string | undefined;
|
|
191
202
|
onLinkButtonClick?: ((rowIndex: number) => void) | undefined;
|
|
192
203
|
outerClassNames?: string | undefined;
|
|
193
204
|
paginationClassNames?: string | undefined;
|
|
@@ -197,8 +208,9 @@ export declare const WithBorder: import("@storybook/types").AnnotatedStoryFn<imp
|
|
|
197
208
|
totalRowsCount: number;
|
|
198
209
|
} | undefined;
|
|
199
210
|
rowHoverStyles?: string | undefined;
|
|
200
|
-
rowItems:
|
|
201
|
-
|
|
211
|
+
rowItems: import("./DataTable").RowItem[];
|
|
212
|
+
rowsPerPage?: number | undefined;
|
|
213
|
+
selectedPaginationClassNames?: string | undefined;
|
|
202
214
|
sortSettings?: SortSettings | undefined;
|
|
203
215
|
stripedRowsStyles?: string[] | undefined;
|
|
204
216
|
tableClassNames?: string | undefined;
|
|
@@ -222,7 +234,8 @@ export declare const WithColumnBorders: import("@storybook/types").AnnotatedStor
|
|
|
222
234
|
isRowsBordered?: boolean | undefined;
|
|
223
235
|
isStriped?: boolean | undefined;
|
|
224
236
|
minHeight?: string | undefined;
|
|
225
|
-
|
|
237
|
+
noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
238
|
+
noDataText?: string | undefined;
|
|
226
239
|
onLinkButtonClick?: ((rowIndex: number) => void) | undefined;
|
|
227
240
|
outerClassNames?: string | undefined;
|
|
228
241
|
paginationClassNames?: string | undefined;
|
|
@@ -232,8 +245,9 @@ export declare const WithColumnBorders: import("@storybook/types").AnnotatedStor
|
|
|
232
245
|
totalRowsCount: number;
|
|
233
246
|
} | undefined;
|
|
234
247
|
rowHoverStyles?: string | undefined;
|
|
235
|
-
rowItems:
|
|
236
|
-
|
|
248
|
+
rowItems: import("./DataTable").RowItem[];
|
|
249
|
+
rowsPerPage?: number | undefined;
|
|
250
|
+
selectedPaginationClassNames?: string | undefined;
|
|
237
251
|
sortSettings?: SortSettings | undefined;
|
|
238
252
|
stripedRowsStyles?: string[] | undefined;
|
|
239
253
|
tableClassNames?: string | undefined;
|
|
@@ -257,7 +271,8 @@ export declare const WithRowBorders: import("@storybook/types").AnnotatedStoryFn
|
|
|
257
271
|
isRowsBordered?: boolean | undefined;
|
|
258
272
|
isStriped?: boolean | undefined;
|
|
259
273
|
minHeight?: string | undefined;
|
|
260
|
-
|
|
274
|
+
noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
275
|
+
noDataText?: string | undefined;
|
|
261
276
|
onLinkButtonClick?: ((rowIndex: number) => void) | undefined;
|
|
262
277
|
outerClassNames?: string | undefined;
|
|
263
278
|
paginationClassNames?: string | undefined;
|
|
@@ -267,8 +282,9 @@ export declare const WithRowBorders: import("@storybook/types").AnnotatedStoryFn
|
|
|
267
282
|
totalRowsCount: number;
|
|
268
283
|
} | undefined;
|
|
269
284
|
rowHoverStyles?: string | undefined;
|
|
270
|
-
rowItems:
|
|
271
|
-
|
|
285
|
+
rowItems: import("./DataTable").RowItem[];
|
|
286
|
+
rowsPerPage?: number | undefined;
|
|
287
|
+
selectedPaginationClassNames?: string | undefined;
|
|
272
288
|
sortSettings?: SortSettings | undefined;
|
|
273
289
|
stripedRowsStyles?: string[] | undefined;
|
|
274
290
|
tableClassNames?: string | undefined;
|
|
@@ -292,7 +308,8 @@ export declare const WithoutHoverableRows: import("@storybook/types").AnnotatedS
|
|
|
292
308
|
isRowsBordered?: boolean | undefined;
|
|
293
309
|
isStriped?: boolean | undefined;
|
|
294
310
|
minHeight?: string | undefined;
|
|
295
|
-
|
|
311
|
+
noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
312
|
+
noDataText?: string | undefined;
|
|
296
313
|
onLinkButtonClick?: ((rowIndex: number) => void) | undefined;
|
|
297
314
|
outerClassNames?: string | undefined;
|
|
298
315
|
paginationClassNames?: string | undefined;
|
|
@@ -302,8 +319,9 @@ export declare const WithoutHoverableRows: import("@storybook/types").AnnotatedS
|
|
|
302
319
|
totalRowsCount: number;
|
|
303
320
|
} | undefined;
|
|
304
321
|
rowHoverStyles?: string | undefined;
|
|
305
|
-
rowItems:
|
|
306
|
-
|
|
322
|
+
rowItems: import("./DataTable").RowItem[];
|
|
323
|
+
rowsPerPage?: number | undefined;
|
|
324
|
+
selectedPaginationClassNames?: string | undefined;
|
|
307
325
|
sortSettings?: SortSettings | undefined;
|
|
308
326
|
stripedRowsStyles?: string[] | undefined;
|
|
309
327
|
tableClassNames?: string | undefined;
|
|
@@ -327,7 +345,8 @@ export declare const WithCustomHoverStyles: import("@storybook/types").Annotated
|
|
|
327
345
|
isRowsBordered?: boolean | undefined;
|
|
328
346
|
isStriped?: boolean | undefined;
|
|
329
347
|
minHeight?: string | undefined;
|
|
330
|
-
|
|
348
|
+
noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
349
|
+
noDataText?: string | undefined;
|
|
331
350
|
onLinkButtonClick?: ((rowIndex: number) => void) | undefined;
|
|
332
351
|
outerClassNames?: string | undefined;
|
|
333
352
|
paginationClassNames?: string | undefined;
|
|
@@ -337,8 +356,9 @@ export declare const WithCustomHoverStyles: import("@storybook/types").Annotated
|
|
|
337
356
|
totalRowsCount: number;
|
|
338
357
|
} | undefined;
|
|
339
358
|
rowHoverStyles?: string | undefined;
|
|
340
|
-
rowItems:
|
|
341
|
-
|
|
359
|
+
rowItems: import("./DataTable").RowItem[];
|
|
360
|
+
rowsPerPage?: number | undefined;
|
|
361
|
+
selectedPaginationClassNames?: string | undefined;
|
|
342
362
|
sortSettings?: SortSettings | undefined;
|
|
343
363
|
stripedRowsStyles?: string[] | undefined;
|
|
344
364
|
tableClassNames?: string | undefined;
|
|
@@ -362,7 +382,8 @@ export declare const WithOrderedRows: import("@storybook/types").AnnotatedStoryF
|
|
|
362
382
|
isRowsBordered?: boolean | undefined;
|
|
363
383
|
isStriped?: boolean | undefined;
|
|
364
384
|
minHeight?: string | undefined;
|
|
365
|
-
|
|
385
|
+
noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
386
|
+
noDataText?: string | undefined;
|
|
366
387
|
onLinkButtonClick?: ((rowIndex: number) => void) | undefined;
|
|
367
388
|
outerClassNames?: string | undefined;
|
|
368
389
|
paginationClassNames?: string | undefined;
|
|
@@ -372,8 +393,9 @@ export declare const WithOrderedRows: import("@storybook/types").AnnotatedStoryF
|
|
|
372
393
|
totalRowsCount: number;
|
|
373
394
|
} | undefined;
|
|
374
395
|
rowHoverStyles?: string | undefined;
|
|
375
|
-
rowItems:
|
|
376
|
-
|
|
396
|
+
rowItems: import("./DataTable").RowItem[];
|
|
397
|
+
rowsPerPage?: number | undefined;
|
|
398
|
+
selectedPaginationClassNames?: string | undefined;
|
|
377
399
|
sortSettings?: SortSettings | undefined;
|
|
378
400
|
stripedRowsStyles?: string[] | undefined;
|
|
379
401
|
tableClassNames?: string | undefined;
|
|
@@ -397,7 +419,8 @@ export declare const WithImages: import("@storybook/types").AnnotatedStoryFn<imp
|
|
|
397
419
|
isRowsBordered?: boolean | undefined;
|
|
398
420
|
isStriped?: boolean | undefined;
|
|
399
421
|
minHeight?: string | undefined;
|
|
400
|
-
|
|
422
|
+
noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
423
|
+
noDataText?: string | undefined;
|
|
401
424
|
onLinkButtonClick?: ((rowIndex: number) => void) | undefined;
|
|
402
425
|
outerClassNames?: string | undefined;
|
|
403
426
|
paginationClassNames?: string | undefined;
|
|
@@ -407,8 +430,9 @@ export declare const WithImages: import("@storybook/types").AnnotatedStoryFn<imp
|
|
|
407
430
|
totalRowsCount: number;
|
|
408
431
|
} | undefined;
|
|
409
432
|
rowHoverStyles?: string | undefined;
|
|
410
|
-
rowItems:
|
|
411
|
-
|
|
433
|
+
rowItems: import("./DataTable").RowItem[];
|
|
434
|
+
rowsPerPage?: number | undefined;
|
|
435
|
+
selectedPaginationClassNames?: string | undefined;
|
|
412
436
|
sortSettings?: SortSettings | undefined;
|
|
413
437
|
stripedRowsStyles?: string[] | undefined;
|
|
414
438
|
tableClassNames?: string | undefined;
|
|
@@ -432,7 +456,8 @@ export declare const WithOrderAndImages: import("@storybook/types").AnnotatedSto
|
|
|
432
456
|
isRowsBordered?: boolean | undefined;
|
|
433
457
|
isStriped?: boolean | undefined;
|
|
434
458
|
minHeight?: string | undefined;
|
|
435
|
-
|
|
459
|
+
noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
460
|
+
noDataText?: string | undefined;
|
|
436
461
|
onLinkButtonClick?: ((rowIndex: number) => void) | undefined;
|
|
437
462
|
outerClassNames?: string | undefined;
|
|
438
463
|
paginationClassNames?: string | undefined;
|
|
@@ -442,8 +467,9 @@ export declare const WithOrderAndImages: import("@storybook/types").AnnotatedSto
|
|
|
442
467
|
totalRowsCount: number;
|
|
443
468
|
} | undefined;
|
|
444
469
|
rowHoverStyles?: string | undefined;
|
|
445
|
-
rowItems:
|
|
446
|
-
|
|
470
|
+
rowItems: import("./DataTable").RowItem[];
|
|
471
|
+
rowsPerPage?: number | undefined;
|
|
472
|
+
selectedPaginationClassNames?: string | undefined;
|
|
447
473
|
sortSettings?: SortSettings | undefined;
|
|
448
474
|
stripedRowsStyles?: string[] | undefined;
|
|
449
475
|
tableClassNames?: string | undefined;
|
|
@@ -467,7 +493,8 @@ export declare const WithStripedRows: import("@storybook/types").AnnotatedStoryF
|
|
|
467
493
|
isRowsBordered?: boolean | undefined;
|
|
468
494
|
isStriped?: boolean | undefined;
|
|
469
495
|
minHeight?: string | undefined;
|
|
470
|
-
|
|
496
|
+
noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
497
|
+
noDataText?: string | undefined;
|
|
471
498
|
onLinkButtonClick?: ((rowIndex: number) => void) | undefined;
|
|
472
499
|
outerClassNames?: string | undefined;
|
|
473
500
|
paginationClassNames?: string | undefined;
|
|
@@ -477,8 +504,9 @@ export declare const WithStripedRows: import("@storybook/types").AnnotatedStoryF
|
|
|
477
504
|
totalRowsCount: number;
|
|
478
505
|
} | undefined;
|
|
479
506
|
rowHoverStyles?: string | undefined;
|
|
480
|
-
rowItems:
|
|
481
|
-
|
|
507
|
+
rowItems: import("./DataTable").RowItem[];
|
|
508
|
+
rowsPerPage?: number | undefined;
|
|
509
|
+
selectedPaginationClassNames?: string | undefined;
|
|
482
510
|
sortSettings?: SortSettings | undefined;
|
|
483
511
|
stripedRowsStyles?: string[] | undefined;
|
|
484
512
|
tableClassNames?: string | undefined;
|
|
@@ -502,7 +530,8 @@ export declare const WithCustomStripesStyles: import("@storybook/types").Annotat
|
|
|
502
530
|
isRowsBordered?: boolean | undefined;
|
|
503
531
|
isStriped?: boolean | undefined;
|
|
504
532
|
minHeight?: string | undefined;
|
|
505
|
-
|
|
533
|
+
noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
534
|
+
noDataText?: string | undefined;
|
|
506
535
|
onLinkButtonClick?: ((rowIndex: number) => void) | undefined;
|
|
507
536
|
outerClassNames?: string | undefined;
|
|
508
537
|
paginationClassNames?: string | undefined;
|
|
@@ -512,8 +541,9 @@ export declare const WithCustomStripesStyles: import("@storybook/types").Annotat
|
|
|
512
541
|
totalRowsCount: number;
|
|
513
542
|
} | undefined;
|
|
514
543
|
rowHoverStyles?: string | undefined;
|
|
515
|
-
rowItems:
|
|
516
|
-
|
|
544
|
+
rowItems: import("./DataTable").RowItem[];
|
|
545
|
+
rowsPerPage?: number | undefined;
|
|
546
|
+
selectedPaginationClassNames?: string | undefined;
|
|
517
547
|
sortSettings?: SortSettings | undefined;
|
|
518
548
|
stripedRowsStyles?: string[] | undefined;
|
|
519
549
|
tableClassNames?: string | undefined;
|
|
@@ -537,7 +567,8 @@ export declare const WithCustomNoDataCells: import("@storybook/types").Annotated
|
|
|
537
567
|
isRowsBordered?: boolean | undefined;
|
|
538
568
|
isStriped?: boolean | undefined;
|
|
539
569
|
minHeight?: string | undefined;
|
|
540
|
-
|
|
570
|
+
noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
571
|
+
noDataText?: string | undefined;
|
|
541
572
|
onLinkButtonClick?: ((rowIndex: number) => void) | undefined;
|
|
542
573
|
outerClassNames?: string | undefined;
|
|
543
574
|
paginationClassNames?: string | undefined;
|
|
@@ -547,8 +578,9 @@ export declare const WithCustomNoDataCells: import("@storybook/types").Annotated
|
|
|
547
578
|
totalRowsCount: number;
|
|
548
579
|
} | undefined;
|
|
549
580
|
rowHoverStyles?: string | undefined;
|
|
550
|
-
rowItems:
|
|
551
|
-
|
|
581
|
+
rowItems: import("./DataTable").RowItem[];
|
|
582
|
+
rowsPerPage?: number | undefined;
|
|
583
|
+
selectedPaginationClassNames?: string | undefined;
|
|
552
584
|
sortSettings?: SortSettings | undefined;
|
|
553
585
|
stripedRowsStyles?: string[] | undefined;
|
|
554
586
|
tableClassNames?: string | undefined;
|
|
@@ -572,7 +604,8 @@ export declare const WithBolderHeaders: import("@storybook/types").AnnotatedStor
|
|
|
572
604
|
isRowsBordered?: boolean | undefined;
|
|
573
605
|
isStriped?: boolean | undefined;
|
|
574
606
|
minHeight?: string | undefined;
|
|
575
|
-
|
|
607
|
+
noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
608
|
+
noDataText?: string | undefined;
|
|
576
609
|
onLinkButtonClick?: ((rowIndex: number) => void) | undefined;
|
|
577
610
|
outerClassNames?: string | undefined;
|
|
578
611
|
paginationClassNames?: string | undefined;
|
|
@@ -582,8 +615,9 @@ export declare const WithBolderHeaders: import("@storybook/types").AnnotatedStor
|
|
|
582
615
|
totalRowsCount: number;
|
|
583
616
|
} | undefined;
|
|
584
617
|
rowHoverStyles?: string | undefined;
|
|
585
|
-
rowItems:
|
|
586
|
-
|
|
618
|
+
rowItems: import("./DataTable").RowItem[];
|
|
619
|
+
rowsPerPage?: number | undefined;
|
|
620
|
+
selectedPaginationClassNames?: string | undefined;
|
|
587
621
|
sortSettings?: SortSettings | undefined;
|
|
588
622
|
stripedRowsStyles?: string[] | undefined;
|
|
589
623
|
tableClassNames?: string | undefined;
|
|
@@ -607,7 +641,8 @@ export declare const WithPagination: import("@storybook/types").AnnotatedStoryFn
|
|
|
607
641
|
isRowsBordered?: boolean | undefined;
|
|
608
642
|
isStriped?: boolean | undefined;
|
|
609
643
|
minHeight?: string | undefined;
|
|
610
|
-
|
|
644
|
+
noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
645
|
+
noDataText?: string | undefined;
|
|
611
646
|
onLinkButtonClick?: ((rowIndex: number) => void) | undefined;
|
|
612
647
|
outerClassNames?: string | undefined;
|
|
613
648
|
paginationClassNames?: string | undefined;
|
|
@@ -617,8 +652,9 @@ export declare const WithPagination: import("@storybook/types").AnnotatedStoryFn
|
|
|
617
652
|
totalRowsCount: number;
|
|
618
653
|
} | undefined;
|
|
619
654
|
rowHoverStyles?: string | undefined;
|
|
620
|
-
rowItems:
|
|
621
|
-
|
|
655
|
+
rowItems: import("./DataTable").RowItem[];
|
|
656
|
+
rowsPerPage?: number | undefined;
|
|
657
|
+
selectedPaginationClassNames?: string | undefined;
|
|
622
658
|
sortSettings?: SortSettings | undefined;
|
|
623
659
|
stripedRowsStyles?: string[] | undefined;
|
|
624
660
|
tableClassNames?: string | undefined;
|
|
@@ -642,7 +678,8 @@ export declare const WithCustomViewMoreButton: import("@storybook/types").Annota
|
|
|
642
678
|
isRowsBordered?: boolean | undefined;
|
|
643
679
|
isStriped?: boolean | undefined;
|
|
644
680
|
minHeight?: string | undefined;
|
|
645
|
-
|
|
681
|
+
noDataComponent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
682
|
+
noDataText?: string | undefined;
|
|
646
683
|
onLinkButtonClick?: ((rowIndex: number) => void) | undefined;
|
|
647
684
|
outerClassNames?: string | undefined;
|
|
648
685
|
paginationClassNames?: string | undefined;
|
|
@@ -652,8 +689,9 @@ export declare const WithCustomViewMoreButton: import("@storybook/types").Annota
|
|
|
652
689
|
totalRowsCount: number;
|
|
653
690
|
} | undefined;
|
|
654
691
|
rowHoverStyles?: string | undefined;
|
|
655
|
-
rowItems:
|
|
656
|
-
|
|
692
|
+
rowItems: import("./DataTable").RowItem[];
|
|
693
|
+
rowsPerPage?: number | undefined;
|
|
694
|
+
selectedPaginationClassNames?: string | undefined;
|
|
657
695
|
sortSettings?: SortSettings | undefined;
|
|
658
696
|
stripedRowsStyles?: string[] | undefined;
|
|
659
697
|
tableClassNames?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.stories.d.ts","sourceRoot":"","sources":["../../../src/DataTable/DataTable.stories.tsx"],"names":[],"mappings":";AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"DataTable.stories.d.ts","sourceRoot":"","sources":["../../../src/DataTable/DataTable.stories.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAuB,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqJ9E,wBAS4B;AAkD5B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGzC,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAyB,CAAC;AAOtD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGnD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGhD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAG5C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGnD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGhD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGtD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGvD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGjD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAK5C,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAMpD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGjD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAMzD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AASvD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGnD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAShD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTableCellContent.d.ts","sourceRoot":"","sources":["../../../src/DataTable/DataTableCellContent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAExD,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,eAAe,CAAC;IACxB,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,wBAAgB,oBAAoB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,yBAAyB,
|
|
1
|
+
{"version":3,"file":"DataTableCellContent.d.ts","sourceRoot":"","sources":["../../../src/DataTable/DataTableCellContent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAExD,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,eAAe,CAAC;IACxB,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,wBAAgB,oBAAoB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,yBAAyB,sBA2DnF"}
|
|
@@ -1,10 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* ```tsx
|
|
5
|
+
* import { SideNav, SideNavFooter, SideNavHeader, SideNavItem, SideNavItems } from '@youversion/design-system-components';
|
|
6
|
+
*
|
|
7
|
+
* function ExampleComponent() {
|
|
8
|
+
* return (
|
|
9
|
+
* <SideNav>
|
|
10
|
+
* <SideNavHeader>Header</SideNavHeader>
|
|
11
|
+
* <SideNavContent>
|
|
12
|
+
* <SideNavGroup>
|
|
13
|
+
* <SideNavGroupLabel>Content</SideNavGroupLabel>
|
|
14
|
+
* <SideNavItems>
|
|
15
|
+
* <SideNavItem
|
|
16
|
+
* icon={{
|
|
17
|
+
* filled: <Chart />,
|
|
18
|
+
* outlined: <ChartStroked />,
|
|
19
|
+
* }}
|
|
20
|
+
* isActive={true}
|
|
21
|
+
* >
|
|
22
|
+
* Insights
|
|
23
|
+
* </SideNavItem>
|
|
24
|
+
* <SideNavItem
|
|
25
|
+
* icon={{
|
|
26
|
+
* filled: <Pin />,
|
|
27
|
+
* outlined: <PinStroked />,
|
|
28
|
+
}}
|
|
29
|
+
>
|
|
30
|
+
Your Content
|
|
31
|
+
</SideNavItem>
|
|
32
|
+
<SideNavItem icon={<PaperAirplaneStroked />}>Posts</SideNavItem>
|
|
33
|
+
<SideNavItem
|
|
34
|
+
icon={{
|
|
35
|
+
filled: <CheckmarkBoxStackFilled />,
|
|
36
|
+
outlined: <CheckmarkBoxStackStroked />,
|
|
37
|
+
}}
|
|
38
|
+
>
|
|
39
|
+
Plans Portal
|
|
40
|
+
</SideNavItem>
|
|
41
|
+
</SideNavItems>
|
|
42
|
+
</SideNavGroup>
|
|
43
|
+
</SideNavContent>
|
|
44
|
+
* <SideNavFooter>Footer</SideNavFooter>
|
|
45
|
+
* </SideNav>
|
|
46
|
+
* );
|
|
47
|
+
* }
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
interface SideNavVisibilityState {
|
|
51
|
+
close: () => void;
|
|
52
|
+
isOpen: boolean;
|
|
7
53
|
}
|
|
8
|
-
export declare const SideNav: import("react").ForwardRefExoticComponent<
|
|
54
|
+
export declare const SideNav: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
55
|
+
state: SideNavVisibilityState;
|
|
56
|
+
}, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
57
|
export {};
|
|
10
58
|
//# sourceMappingURL=SideNav.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideNav.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNav.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SideNav.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNav.tsx"],"names":[],"mappings":";AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH,UAAU,sBAAsB;IAC9B,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,OAAO;WAGT,sBAAsB;0DA0B/B,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare const meta: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
|
2
2
|
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
|
3
3
|
export declare const WithDisabledItem: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
|
4
|
+
export declare const WithScrollableContent: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
|
4
5
|
export default meta;
|
|
5
6
|
//# sourceMappingURL=SideNav.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideNav.stories.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNav.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SideNav.stories.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNav.stories.tsx"],"names":[],"mappings":"AA6BA,QAAA,MAAM,IAAI,oIAGD,CAAC;AAuIV,eAAO,MAAM,OAAO,gIAAoB,CAAC;AAwDzC,eAAO,MAAM,gBAAgB,gIAAmC,CAAC;AAyCjE,eAAO,MAAM,qBAAqB,gIAAwC,CAAC;AAG3E,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* ```tsx
|
|
5
|
+
* import { SideNavContent } from '@youversion/design-system-components';
|
|
6
|
+
*
|
|
7
|
+
* function ExampleComponent() {
|
|
8
|
+
* return (
|
|
9
|
+
* <SideNavContent>Content</SideNavContent>
|
|
10
|
+
* );
|
|
11
|
+
* }
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare const SideNavContent: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
|
+
//# sourceMappingURL=SideNavContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SideNavContent.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNavContent.tsx"],"names":[],"mappings":";AAIA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,2MAW1B,CAAC"}
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* ```tsx
|
|
5
|
+
* import { SideNavFooter } from '@youversion/design-system-components';
|
|
6
|
+
*
|
|
7
|
+
* function ExampleComponent() {
|
|
8
|
+
* return (
|
|
9
|
+
* <SideNavFooter>Footer</SideNavFooter>
|
|
10
|
+
* );
|
|
11
|
+
* }
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare const SideNavFooter: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
15
|
//# sourceMappingURL=SideNavFooter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideNavFooter.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNavFooter.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SideNavFooter.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNavFooter.tsx"],"names":[],"mappings":";AAIA;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,aAAa,2MA0BxB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* ```tsx
|
|
5
|
+
* import { SideNavGroup } from '@youversion/design-system-components';
|
|
6
|
+
*
|
|
7
|
+
* function ExampleComponent() {
|
|
8
|
+
* return (
|
|
9
|
+
* <SideNavGroup>Group Info</SideNavGroup>
|
|
10
|
+
* );
|
|
11
|
+
* }
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare const SideNavGroup: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
|
+
//# sourceMappingURL=SideNavGroup.d.ts.map
|