@leav/ui 0.0.1-alpha-5 → 0.0.1-alpha-6
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/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.d.ts +0 -1
- package/dist/components/AttributesSelectionList/sharedComponents.d.ts +75 -78
- package/dist/components/ErrorDisplay/ErrorDisplay.js +3 -3
- package/dist/components/ErrorDisplay/ErrorDisplay.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.d.ts +0 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.d.ts +0 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.d.ts +0 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.d.ts +0 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.d.ts +0 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.d.ts +0 -1
- package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.d.ts +0 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.d.ts +0 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.d.ts +0 -1
- package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.d.ts +0 -1
- package/dist/components/RecordCard/RecordCard.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.d.ts +25 -27
- package/package.json +2 -3
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
/// <reference types="trusted-types" />
|
|
4
1
|
export declare const TextAttribute: import("styled-components").IStyledComponent<"web", {
|
|
5
2
|
ref?: import("react").LegacyRef<HTMLSpanElement>;
|
|
6
3
|
key?: import("react").Key;
|
|
@@ -11,17 +8,17 @@ export declare const TextAttribute: import("styled-components").IStyledComponent
|
|
|
11
8
|
accessKey?: string;
|
|
12
9
|
autoFocus?: boolean;
|
|
13
10
|
className?: string;
|
|
14
|
-
contentEditable?: (boolean | "
|
|
11
|
+
contentEditable?: (boolean | "true" | "false") | "inherit";
|
|
15
12
|
contextMenu?: string;
|
|
16
13
|
dir?: string;
|
|
17
|
-
draggable?: boolean | "
|
|
14
|
+
draggable?: boolean | "true" | "false";
|
|
18
15
|
hidden?: boolean;
|
|
19
16
|
id?: string;
|
|
20
17
|
lang?: string;
|
|
21
18
|
nonce?: string;
|
|
22
19
|
placeholder?: string;
|
|
23
20
|
slot?: string;
|
|
24
|
-
spellCheck?: boolean | "
|
|
21
|
+
spellCheck?: boolean | "true" | "false";
|
|
25
22
|
style?: import("react").CSSProperties;
|
|
26
23
|
tabIndex?: number;
|
|
27
24
|
title?: string;
|
|
@@ -51,53 +48,53 @@ export declare const TextAttribute: import("styled-components").IStyledComponent
|
|
|
51
48
|
results?: number;
|
|
52
49
|
security?: string;
|
|
53
50
|
unselectable?: "on" | "off";
|
|
54
|
-
inputMode?: "
|
|
51
|
+
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
55
52
|
is?: string;
|
|
56
53
|
children?: import("react").ReactNode;
|
|
57
54
|
"aria-activedescendant"?: string;
|
|
58
|
-
"aria-atomic"?: boolean | "
|
|
59
|
-
"aria-autocomplete"?: "
|
|
60
|
-
"aria-busy"?: boolean | "
|
|
61
|
-
"aria-checked"?: boolean | "
|
|
55
|
+
"aria-atomic"?: boolean | "true" | "false";
|
|
56
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both";
|
|
57
|
+
"aria-busy"?: boolean | "true" | "false";
|
|
58
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed";
|
|
62
59
|
"aria-colcount"?: number;
|
|
63
60
|
"aria-colindex"?: number;
|
|
64
61
|
"aria-colspan"?: number;
|
|
65
62
|
"aria-controls"?: string;
|
|
66
|
-
"aria-current"?: boolean | "time" | "
|
|
63
|
+
"aria-current"?: boolean | "time" | "true" | "false" | "step" | "page" | "location" | "date";
|
|
67
64
|
"aria-describedby"?: string;
|
|
68
65
|
"aria-details"?: string;
|
|
69
|
-
"aria-disabled"?: boolean | "
|
|
70
|
-
"aria-dropeffect"?: "
|
|
66
|
+
"aria-disabled"?: boolean | "true" | "false";
|
|
67
|
+
"aria-dropeffect"?: "none" | "link" | "copy" | "execute" | "move" | "popup";
|
|
71
68
|
"aria-errormessage"?: string;
|
|
72
|
-
"aria-expanded"?: boolean | "
|
|
69
|
+
"aria-expanded"?: boolean | "true" | "false";
|
|
73
70
|
"aria-flowto"?: string;
|
|
74
|
-
"aria-grabbed"?: boolean | "
|
|
75
|
-
"aria-haspopup"?: boolean | "
|
|
76
|
-
"aria-hidden"?: boolean | "
|
|
77
|
-
"aria-invalid"?: boolean | "
|
|
71
|
+
"aria-grabbed"?: boolean | "true" | "false";
|
|
72
|
+
"aria-haspopup"?: boolean | "tree" | "dialog" | "menu" | "true" | "false" | "grid" | "listbox";
|
|
73
|
+
"aria-hidden"?: boolean | "true" | "false";
|
|
74
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
78
75
|
"aria-keyshortcuts"?: string;
|
|
79
76
|
"aria-label"?: string;
|
|
80
77
|
"aria-labelledby"?: string;
|
|
81
78
|
"aria-level"?: number;
|
|
82
79
|
"aria-live"?: "off" | "assertive" | "polite";
|
|
83
|
-
"aria-modal"?: boolean | "
|
|
84
|
-
"aria-multiline"?: boolean | "
|
|
85
|
-
"aria-multiselectable"?: boolean | "
|
|
80
|
+
"aria-modal"?: boolean | "true" | "false";
|
|
81
|
+
"aria-multiline"?: boolean | "true" | "false";
|
|
82
|
+
"aria-multiselectable"?: boolean | "true" | "false";
|
|
86
83
|
"aria-orientation"?: "horizontal" | "vertical";
|
|
87
84
|
"aria-owns"?: string;
|
|
88
85
|
"aria-placeholder"?: string;
|
|
89
86
|
"aria-posinset"?: number;
|
|
90
|
-
"aria-pressed"?: boolean | "
|
|
91
|
-
"aria-readonly"?: boolean | "
|
|
92
|
-
"aria-relevant"?: "
|
|
93
|
-
"aria-required"?: boolean | "
|
|
87
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed";
|
|
88
|
+
"aria-readonly"?: boolean | "true" | "false";
|
|
89
|
+
"aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
90
|
+
"aria-required"?: boolean | "true" | "false";
|
|
94
91
|
"aria-roledescription"?: string;
|
|
95
92
|
"aria-rowcount"?: number;
|
|
96
93
|
"aria-rowindex"?: number;
|
|
97
94
|
"aria-rowspan"?: number;
|
|
98
|
-
"aria-selected"?: boolean | "
|
|
95
|
+
"aria-selected"?: boolean | "true" | "false";
|
|
99
96
|
"aria-setsize"?: number;
|
|
100
|
-
"aria-sort"?: "
|
|
97
|
+
"aria-sort"?: "none" | "other" | "ascending" | "descending";
|
|
101
98
|
"aria-valuemax"?: number;
|
|
102
99
|
"aria-valuemin"?: number;
|
|
103
100
|
"aria-valuenow"?: number;
|
|
@@ -276,17 +273,17 @@ export declare const SmallText: import("styled-components").IStyledComponent<"we
|
|
|
276
273
|
accessKey?: string;
|
|
277
274
|
autoFocus?: boolean;
|
|
278
275
|
className?: string;
|
|
279
|
-
contentEditable?: (boolean | "
|
|
276
|
+
contentEditable?: (boolean | "true" | "false") | "inherit";
|
|
280
277
|
contextMenu?: string;
|
|
281
278
|
dir?: string;
|
|
282
|
-
draggable?: boolean | "
|
|
279
|
+
draggable?: boolean | "true" | "false";
|
|
283
280
|
hidden?: boolean;
|
|
284
281
|
id?: string;
|
|
285
282
|
lang?: string;
|
|
286
283
|
nonce?: string;
|
|
287
284
|
placeholder?: string;
|
|
288
285
|
slot?: string;
|
|
289
|
-
spellCheck?: boolean | "
|
|
286
|
+
spellCheck?: boolean | "true" | "false";
|
|
290
287
|
style?: import("react").CSSProperties;
|
|
291
288
|
tabIndex?: number;
|
|
292
289
|
title?: string;
|
|
@@ -316,53 +313,53 @@ export declare const SmallText: import("styled-components").IStyledComponent<"we
|
|
|
316
313
|
results?: number;
|
|
317
314
|
security?: string;
|
|
318
315
|
unselectable?: "on" | "off";
|
|
319
|
-
inputMode?: "
|
|
316
|
+
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
320
317
|
is?: string;
|
|
321
318
|
children?: import("react").ReactNode;
|
|
322
319
|
"aria-activedescendant"?: string;
|
|
323
|
-
"aria-atomic"?: boolean | "
|
|
324
|
-
"aria-autocomplete"?: "
|
|
325
|
-
"aria-busy"?: boolean | "
|
|
326
|
-
"aria-checked"?: boolean | "
|
|
320
|
+
"aria-atomic"?: boolean | "true" | "false";
|
|
321
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both";
|
|
322
|
+
"aria-busy"?: boolean | "true" | "false";
|
|
323
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed";
|
|
327
324
|
"aria-colcount"?: number;
|
|
328
325
|
"aria-colindex"?: number;
|
|
329
326
|
"aria-colspan"?: number;
|
|
330
327
|
"aria-controls"?: string;
|
|
331
|
-
"aria-current"?: boolean | "time" | "
|
|
328
|
+
"aria-current"?: boolean | "time" | "true" | "false" | "step" | "page" | "location" | "date";
|
|
332
329
|
"aria-describedby"?: string;
|
|
333
330
|
"aria-details"?: string;
|
|
334
|
-
"aria-disabled"?: boolean | "
|
|
335
|
-
"aria-dropeffect"?: "
|
|
331
|
+
"aria-disabled"?: boolean | "true" | "false";
|
|
332
|
+
"aria-dropeffect"?: "none" | "link" | "copy" | "execute" | "move" | "popup";
|
|
336
333
|
"aria-errormessage"?: string;
|
|
337
|
-
"aria-expanded"?: boolean | "
|
|
334
|
+
"aria-expanded"?: boolean | "true" | "false";
|
|
338
335
|
"aria-flowto"?: string;
|
|
339
|
-
"aria-grabbed"?: boolean | "
|
|
340
|
-
"aria-haspopup"?: boolean | "
|
|
341
|
-
"aria-hidden"?: boolean | "
|
|
342
|
-
"aria-invalid"?: boolean | "
|
|
336
|
+
"aria-grabbed"?: boolean | "true" | "false";
|
|
337
|
+
"aria-haspopup"?: boolean | "tree" | "dialog" | "menu" | "true" | "false" | "grid" | "listbox";
|
|
338
|
+
"aria-hidden"?: boolean | "true" | "false";
|
|
339
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
343
340
|
"aria-keyshortcuts"?: string;
|
|
344
341
|
"aria-label"?: string;
|
|
345
342
|
"aria-labelledby"?: string;
|
|
346
343
|
"aria-level"?: number;
|
|
347
344
|
"aria-live"?: "off" | "assertive" | "polite";
|
|
348
|
-
"aria-modal"?: boolean | "
|
|
349
|
-
"aria-multiline"?: boolean | "
|
|
350
|
-
"aria-multiselectable"?: boolean | "
|
|
345
|
+
"aria-modal"?: boolean | "true" | "false";
|
|
346
|
+
"aria-multiline"?: boolean | "true" | "false";
|
|
347
|
+
"aria-multiselectable"?: boolean | "true" | "false";
|
|
351
348
|
"aria-orientation"?: "horizontal" | "vertical";
|
|
352
349
|
"aria-owns"?: string;
|
|
353
350
|
"aria-placeholder"?: string;
|
|
354
351
|
"aria-posinset"?: number;
|
|
355
|
-
"aria-pressed"?: boolean | "
|
|
356
|
-
"aria-readonly"?: boolean | "
|
|
357
|
-
"aria-relevant"?: "
|
|
358
|
-
"aria-required"?: boolean | "
|
|
352
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed";
|
|
353
|
+
"aria-readonly"?: boolean | "true" | "false";
|
|
354
|
+
"aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
355
|
+
"aria-required"?: boolean | "true" | "false";
|
|
359
356
|
"aria-roledescription"?: string;
|
|
360
357
|
"aria-rowcount"?: number;
|
|
361
358
|
"aria-rowindex"?: number;
|
|
362
359
|
"aria-rowspan"?: number;
|
|
363
|
-
"aria-selected"?: boolean | "
|
|
360
|
+
"aria-selected"?: boolean | "true" | "false";
|
|
364
361
|
"aria-setsize"?: number;
|
|
365
|
-
"aria-sort"?: "
|
|
362
|
+
"aria-sort"?: "none" | "other" | "ascending" | "descending";
|
|
366
363
|
"aria-valuemax"?: number;
|
|
367
364
|
"aria-valuemin"?: number;
|
|
368
365
|
"aria-valuenow"?: number;
|
|
@@ -549,17 +546,17 @@ export declare const CustomForm: import("styled-components").IStyledComponent<"w
|
|
|
549
546
|
accessKey?: string;
|
|
550
547
|
autoFocus?: boolean;
|
|
551
548
|
className?: string;
|
|
552
|
-
contentEditable?: (boolean | "
|
|
549
|
+
contentEditable?: (boolean | "true" | "false") | "inherit";
|
|
553
550
|
contextMenu?: string;
|
|
554
551
|
dir?: string;
|
|
555
|
-
draggable?: boolean | "
|
|
552
|
+
draggable?: boolean | "true" | "false";
|
|
556
553
|
hidden?: boolean;
|
|
557
554
|
id?: string;
|
|
558
555
|
lang?: string;
|
|
559
556
|
nonce?: string;
|
|
560
557
|
placeholder?: string;
|
|
561
558
|
slot?: string;
|
|
562
|
-
spellCheck?: boolean | "
|
|
559
|
+
spellCheck?: boolean | "true" | "false";
|
|
563
560
|
style?: import("react").CSSProperties;
|
|
564
561
|
tabIndex?: number;
|
|
565
562
|
title?: string;
|
|
@@ -589,53 +586,53 @@ export declare const CustomForm: import("styled-components").IStyledComponent<"w
|
|
|
589
586
|
results?: number;
|
|
590
587
|
security?: string;
|
|
591
588
|
unselectable?: "on" | "off";
|
|
592
|
-
inputMode?: "
|
|
589
|
+
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
593
590
|
is?: string;
|
|
594
591
|
children?: import("react").ReactNode;
|
|
595
592
|
"aria-activedescendant"?: string;
|
|
596
|
-
"aria-atomic"?: boolean | "
|
|
597
|
-
"aria-autocomplete"?: "
|
|
598
|
-
"aria-busy"?: boolean | "
|
|
599
|
-
"aria-checked"?: boolean | "
|
|
593
|
+
"aria-atomic"?: boolean | "true" | "false";
|
|
594
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both";
|
|
595
|
+
"aria-busy"?: boolean | "true" | "false";
|
|
596
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed";
|
|
600
597
|
"aria-colcount"?: number;
|
|
601
598
|
"aria-colindex"?: number;
|
|
602
599
|
"aria-colspan"?: number;
|
|
603
600
|
"aria-controls"?: string;
|
|
604
|
-
"aria-current"?: boolean | "time" | "
|
|
601
|
+
"aria-current"?: boolean | "time" | "true" | "false" | "step" | "page" | "location" | "date";
|
|
605
602
|
"aria-describedby"?: string;
|
|
606
603
|
"aria-details"?: string;
|
|
607
|
-
"aria-disabled"?: boolean | "
|
|
608
|
-
"aria-dropeffect"?: "
|
|
604
|
+
"aria-disabled"?: boolean | "true" | "false";
|
|
605
|
+
"aria-dropeffect"?: "none" | "link" | "copy" | "execute" | "move" | "popup";
|
|
609
606
|
"aria-errormessage"?: string;
|
|
610
|
-
"aria-expanded"?: boolean | "
|
|
607
|
+
"aria-expanded"?: boolean | "true" | "false";
|
|
611
608
|
"aria-flowto"?: string;
|
|
612
|
-
"aria-grabbed"?: boolean | "
|
|
613
|
-
"aria-haspopup"?: boolean | "
|
|
614
|
-
"aria-hidden"?: boolean | "
|
|
615
|
-
"aria-invalid"?: boolean | "
|
|
609
|
+
"aria-grabbed"?: boolean | "true" | "false";
|
|
610
|
+
"aria-haspopup"?: boolean | "tree" | "dialog" | "menu" | "true" | "false" | "grid" | "listbox";
|
|
611
|
+
"aria-hidden"?: boolean | "true" | "false";
|
|
612
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
616
613
|
"aria-keyshortcuts"?: string;
|
|
617
614
|
"aria-label"?: string;
|
|
618
615
|
"aria-labelledby"?: string;
|
|
619
616
|
"aria-level"?: number;
|
|
620
617
|
"aria-live"?: "off" | "assertive" | "polite";
|
|
621
|
-
"aria-modal"?: boolean | "
|
|
622
|
-
"aria-multiline"?: boolean | "
|
|
623
|
-
"aria-multiselectable"?: boolean | "
|
|
618
|
+
"aria-modal"?: boolean | "true" | "false";
|
|
619
|
+
"aria-multiline"?: boolean | "true" | "false";
|
|
620
|
+
"aria-multiselectable"?: boolean | "true" | "false";
|
|
624
621
|
"aria-orientation"?: "horizontal" | "vertical";
|
|
625
622
|
"aria-owns"?: string;
|
|
626
623
|
"aria-placeholder"?: string;
|
|
627
624
|
"aria-posinset"?: number;
|
|
628
|
-
"aria-pressed"?: boolean | "
|
|
629
|
-
"aria-readonly"?: boolean | "
|
|
630
|
-
"aria-relevant"?: "
|
|
631
|
-
"aria-required"?: boolean | "
|
|
625
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed";
|
|
626
|
+
"aria-readonly"?: boolean | "true" | "false";
|
|
627
|
+
"aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
628
|
+
"aria-required"?: boolean | "true" | "false";
|
|
632
629
|
"aria-roledescription"?: string;
|
|
633
630
|
"aria-rowcount"?: number;
|
|
634
631
|
"aria-rowindex"?: number;
|
|
635
632
|
"aria-rowspan"?: number;
|
|
636
|
-
"aria-selected"?: boolean | "
|
|
633
|
+
"aria-selected"?: boolean | "true" | "false";
|
|
637
634
|
"aria-setsize"?: number;
|
|
638
|
-
"aria-sort"?: "
|
|
635
|
+
"aria-sort"?: "none" | "other" | "ascending" | "descending";
|
|
639
636
|
"aria-valuemax"?: number;
|
|
640
637
|
"aria-valuemin"?: number;
|
|
641
638
|
"aria-valuenow"?: number;
|
|
@@ -4,13 +4,13 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
4
4
|
// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
5
5
|
import { CloseCircleFilled, FrownOutlined, MinusCircleFilled } from '@ant-design/icons';
|
|
6
6
|
import { Button, Result } from 'antd';
|
|
7
|
-
import {
|
|
7
|
+
import { useNavigate } from 'react-router-dom';
|
|
8
8
|
import { useSharedTranslation } from '../../hooks/useSharedTranslation';
|
|
9
9
|
import { ErrorDisplayTypes } from '../../constants';
|
|
10
10
|
function ErrorDisplay({ message, actionButton, showActionButton = true, type = ErrorDisplayTypes.ERROR }) {
|
|
11
11
|
const { t, i18n } = useSharedTranslation();
|
|
12
|
-
const
|
|
13
|
-
const _handleBackHomeClick = () =>
|
|
12
|
+
const navigate = useNavigate();
|
|
13
|
+
const _handleBackHomeClick = () => navigate('/');
|
|
14
14
|
const BackHomeButton = (_jsx(Button, Object.assign({ type: "primary", onClick: _handleBackHomeClick }, { children: t('global.go_back_home') })));
|
|
15
15
|
const errorByType = {
|
|
16
16
|
[ErrorDisplayTypes.ERROR]: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorDisplay.js","sourceRoot":"","sources":["../../../src/components/ErrorDisplay/ErrorDisplay.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,iBAAiB,EAAE,aAAa,EAAE,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AACtF,OAAO,EAAC,MAAM,EAAE,MAAM,EAAC,MAAM,MAAM,CAAC;AAEpC,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"ErrorDisplay.js","sourceRoot":"","sources":["../../../src/components/ErrorDisplay/ErrorDisplay.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,iBAAiB,EAAE,aAAa,EAAE,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AACtF,OAAO,EAAC,MAAM,EAAE,MAAM,EAAC,MAAM,MAAM,CAAC;AAEpC,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AASlD,SAAS,YAAY,CAAC,EAClB,OAAO,EACP,YAAY,EACZ,gBAAgB,GAAG,IAAI,EACvB,IAAI,GAAG,iBAAiB,CAAC,KAAK,EACpB;IACV,MAAM,EAAC,CAAC,EAAE,IAAI,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACzC,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE/B,MAAM,oBAAoB,GAAG,GAAG,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;IAEjD,MAAM,cAAc,GAAG,CACnB,KAAC,MAAM,kBAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAE,oBAAoB,gBAC/C,CAAC,CAAC,qBAAqB,CAAC,IACpB,CACZ,CAAC;IAEF,MAAM,WAAW,GAAG;QAChB,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE;YACvB,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,mBAAmB;YAC3E,IAAI,EAAE,KAAC,iBAAiB,IAAC,KAAK,EAAC,KAAK,GAAG;YACvC,OAAO,EAAE,EAAE;YACX,YAAY,EAAE,IAAI;SACrB;QACD,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,EAAE;YAClC,KAAK,EAAE,CAAC,CAAC,qBAAqB,CAAC;YAC/B,IAAI,EAAE,KAAC,iBAAiB,IAAC,KAAK,EAAC,KAAK,GAAG;YACvC,OAAO,EAAE,CAAC,CAAC,6BAA6B,CAAC;YACzC,YAAY,EAAE,gBAAgB,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI;SACzD;QACD,CAAC,iBAAiB,CAAC,cAAc,CAAC,EAAE;YAChC,KAAK,EAAE,CAAC,CAAC,sBAAsB,CAAC;YAChC,IAAI,EAAE,KAAC,aAAa,KAAG;YACvB,OAAO,EAAE,EAAE;YACX,YAAY,EAAE,gBAAgB,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI;SACzD;KACJ,CAAC;IAEF,OAAO,CACH,KAAC,MAAM,IACH,KAAK,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC,KAAK,EAC9B,QAAQ,EAAE,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,WAAW,CAAC,IAAI,CAAC,CAAC,OAAO,EAC9C,MAAM,EAAC,OAAO,EACd,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC,IAAI,EAC5B,KAAK,EAAE,YAAY,aAAZ,YAAY,cAAZ,YAAY,GAAI,WAAW,CAAC,IAAI,CAAC,CAAC,YAAY,GACvD,CACL,CAAC;AACN,CAAC;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
/// <reference types="trusted-types" />
|
|
4
2
|
import { IRecordIdentityWhoAmI } from '../../../../types/records';
|
|
5
3
|
interface IRecordSummaryProps {
|
|
6
4
|
record: IRecordIdentityWhoAmI;
|
|
@@ -27,17 +25,17 @@ export declare const Wrapper: import("styled-components").IStyledComponent<"web"
|
|
|
27
25
|
suppressHydrationWarning?: boolean;
|
|
28
26
|
accessKey?: string;
|
|
29
27
|
autoFocus?: boolean;
|
|
30
|
-
contentEditable?: (boolean | "
|
|
28
|
+
contentEditable?: (boolean | "true" | "false") | "inherit";
|
|
31
29
|
contextMenu?: string;
|
|
32
30
|
dir?: string;
|
|
33
|
-
draggable?: boolean | "
|
|
31
|
+
draggable?: boolean | "true" | "false";
|
|
34
32
|
hidden?: boolean;
|
|
35
33
|
id?: string;
|
|
36
34
|
lang?: string;
|
|
37
35
|
nonce?: string;
|
|
38
36
|
placeholder?: string;
|
|
39
37
|
slot?: string;
|
|
40
|
-
spellCheck?: boolean | "
|
|
38
|
+
spellCheck?: boolean | "true" | "false";
|
|
41
39
|
tabIndex?: number;
|
|
42
40
|
title?: string;
|
|
43
41
|
translate?: "yes" | "no";
|
|
@@ -66,53 +64,53 @@ export declare const Wrapper: import("styled-components").IStyledComponent<"web"
|
|
|
66
64
|
results?: number;
|
|
67
65
|
security?: string;
|
|
68
66
|
unselectable?: "on" | "off";
|
|
69
|
-
inputMode?: "
|
|
67
|
+
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
70
68
|
is?: string;
|
|
71
69
|
children?: import("react").ReactNode;
|
|
72
70
|
"aria-activedescendant"?: string;
|
|
73
|
-
"aria-atomic"?: boolean | "
|
|
74
|
-
"aria-autocomplete"?: "
|
|
75
|
-
"aria-busy"?: boolean | "
|
|
76
|
-
"aria-checked"?: boolean | "
|
|
71
|
+
"aria-atomic"?: boolean | "true" | "false";
|
|
72
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both";
|
|
73
|
+
"aria-busy"?: boolean | "true" | "false";
|
|
74
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed";
|
|
77
75
|
"aria-colcount"?: number;
|
|
78
76
|
"aria-colindex"?: number;
|
|
79
77
|
"aria-colspan"?: number;
|
|
80
78
|
"aria-controls"?: string;
|
|
81
|
-
"aria-current"?: boolean | "time" | "
|
|
79
|
+
"aria-current"?: boolean | "time" | "true" | "false" | "step" | "page" | "location" | "date";
|
|
82
80
|
"aria-describedby"?: string;
|
|
83
81
|
"aria-details"?: string;
|
|
84
|
-
"aria-disabled"?: boolean | "
|
|
85
|
-
"aria-dropeffect"?: "
|
|
82
|
+
"aria-disabled"?: boolean | "true" | "false";
|
|
83
|
+
"aria-dropeffect"?: "none" | "link" | "copy" | "execute" | "move" | "popup";
|
|
86
84
|
"aria-errormessage"?: string;
|
|
87
|
-
"aria-expanded"?: boolean | "
|
|
85
|
+
"aria-expanded"?: boolean | "true" | "false";
|
|
88
86
|
"aria-flowto"?: string;
|
|
89
|
-
"aria-grabbed"?: boolean | "
|
|
90
|
-
"aria-haspopup"?: boolean | "
|
|
91
|
-
"aria-hidden"?: boolean | "
|
|
92
|
-
"aria-invalid"?: boolean | "
|
|
87
|
+
"aria-grabbed"?: boolean | "true" | "false";
|
|
88
|
+
"aria-haspopup"?: boolean | "tree" | "dialog" | "menu" | "true" | "false" | "grid" | "listbox";
|
|
89
|
+
"aria-hidden"?: boolean | "true" | "false";
|
|
90
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
93
91
|
"aria-keyshortcuts"?: string;
|
|
94
92
|
"aria-label"?: string;
|
|
95
93
|
"aria-labelledby"?: string;
|
|
96
94
|
"aria-level"?: number;
|
|
97
95
|
"aria-live"?: "off" | "assertive" | "polite";
|
|
98
|
-
"aria-modal"?: boolean | "
|
|
99
|
-
"aria-multiline"?: boolean | "
|
|
100
|
-
"aria-multiselectable"?: boolean | "
|
|
96
|
+
"aria-modal"?: boolean | "true" | "false";
|
|
97
|
+
"aria-multiline"?: boolean | "true" | "false";
|
|
98
|
+
"aria-multiselectable"?: boolean | "true" | "false";
|
|
101
99
|
"aria-orientation"?: "horizontal" | "vertical";
|
|
102
100
|
"aria-owns"?: string;
|
|
103
101
|
"aria-placeholder"?: string;
|
|
104
102
|
"aria-posinset"?: number;
|
|
105
|
-
"aria-pressed"?: boolean | "
|
|
106
|
-
"aria-readonly"?: boolean | "
|
|
107
|
-
"aria-relevant"?: "
|
|
108
|
-
"aria-required"?: boolean | "
|
|
103
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed";
|
|
104
|
+
"aria-readonly"?: boolean | "true" | "false";
|
|
105
|
+
"aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
106
|
+
"aria-required"?: boolean | "true" | "false";
|
|
109
107
|
"aria-roledescription"?: string;
|
|
110
108
|
"aria-rowcount"?: number;
|
|
111
109
|
"aria-rowindex"?: number;
|
|
112
110
|
"aria-rowspan"?: number;
|
|
113
|
-
"aria-selected"?: boolean | "
|
|
111
|
+
"aria-selected"?: boolean | "true" | "false";
|
|
114
112
|
"aria-setsize"?: number;
|
|
115
|
-
"aria-sort"?: "
|
|
113
|
+
"aria-sort"?: "none" | "other" | "ascending" | "descending";
|
|
116
114
|
"aria-valuemax"?: number;
|
|
117
115
|
"aria-valuemin"?: number;
|
|
118
116
|
"aria-valuenow"?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leav/ui",
|
|
3
|
-
"version": "0.0.1-alpha-
|
|
3
|
+
"version": "0.0.1-alpha-6",
|
|
4
4
|
"description": "Shared React components and hooks",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prepublishOnly": "yarn build",
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
"jest": "29.0.3",
|
|
43
43
|
"jest-environment-jsdom": "29.3.1",
|
|
44
44
|
"jest-styled-components": "7.1.1",
|
|
45
|
-
"react-router-dom": "5.3.3",
|
|
46
45
|
"ts-jest": "29.0.1",
|
|
47
46
|
"tsc-alias": "1.8.8",
|
|
48
47
|
"typescript": "4.8.3"
|
|
@@ -57,7 +56,6 @@
|
|
|
57
56
|
"react-dom": "18.2.0",
|
|
58
57
|
"react-i18next": "12",
|
|
59
58
|
"react-icons": ">=4",
|
|
60
|
-
"react-router-dom": "5.3.3",
|
|
61
59
|
"styled-components": ">=5.3"
|
|
62
60
|
},
|
|
63
61
|
"stableVersion": "1.0.0",
|
|
@@ -73,6 +71,7 @@
|
|
|
73
71
|
"react-beautiful-dnd": "13.1.1",
|
|
74
72
|
"react-icons": "4.7.1",
|
|
75
73
|
"react-markdown": "9.0.1",
|
|
74
|
+
"react-router-dom": "6.22.0",
|
|
76
75
|
"react-table": "7.8.0",
|
|
77
76
|
"react-table-sticky": "1.1.3",
|
|
78
77
|
"uuid": "9.0.1",
|