@indico-data/design-system 1.0.11 → 1.0.13
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/lib/components/Accordion/Accordion.styles.d.ts +24 -24
- package/lib/components/Icon/Icon.stories.d.ts +2 -2
- package/lib/components/Icon/storyHelpers.d.ts +72 -72
- package/lib/components/ListTable/Header/Header.styles.d.ts +24 -24
- package/lib/components/ListTable/ListTable.styles.d.ts +24 -24
- package/lib/components/Pagination/Pagination.styles.d.ts +24 -24
- package/lib/components/basic-section/Section/Section.styles.d.ts +24 -24
- package/lib/components/basic-section/SectionBlock/SectionBlock.styles.d.ts +24 -24
- package/lib/components/basic-section/SectionBody/SectionBody.styles.d.ts +24 -24
- package/lib/components/basic-section/SectionHeader/SectionHeader.styles.d.ts +24 -24
- package/lib/components/basic-section/SectionTable/SectionTable.styles.d.ts +24 -24
- package/lib/components/buttons/Button/Button.styles.d.ts +24 -24
- package/lib/components/buttons/IconButton/IconButton.styles.d.ts +56 -56
- package/lib/components/dropdowns/BorderSelect/BorderSelect.styles.d.ts +48 -48
- package/lib/components/dropdowns/MultiCombobox/MultiCombobox.styles.d.ts +1 -1
- package/lib/components/dropdowns/Select/Select.styles.d.ts +24 -24
- package/lib/components/dropdowns/SingleCombobox/SingleCombobox.styles.d.ts +1 -1
- package/lib/components/inputs/EditableInput/EditableInput.styles.d.ts +24 -24
- package/lib/components/inputs/NumberInput/NumberInput.styles.d.ts +24 -24
- package/lib/components/inputs/SearchInput/SearchInput.styles.d.ts +24 -24
- package/lib/components/inputs/TextInput/TextInput.styles.d.ts +48 -48
- package/lib/components/loading-indicators/BarSpinner/BarSpinner.styles.d.ts +24 -24
- package/lib/components/loading-indicators/LoadingList/LoadingList.styles.d.ts +24 -24
- package/lib/components/loading-indicators/PercentageRing/PercentageRing.styles.d.ts +24 -24
- package/lib/components/user-feedback/Shrug/Shrug.styles.d.ts +24 -24
- package/lib/index.d.ts +3 -1
- package/lib/index.esm.js +7699 -7175
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +7698 -7173
- package/lib/index.js.map +1 -1
- package/lib/styles/index.d.ts +1 -0
- package/package.json +1 -1
- package/rollup.config.mjs +5 -0
- package/src/styles/globals/index.tsx +2 -2
|
@@ -10,17 +10,17 @@ export declare const StyledPercentageRing: import("styled-components").IStyledCo
|
|
|
10
10
|
accessKey?: string | undefined;
|
|
11
11
|
autoFocus?: boolean | undefined;
|
|
12
12
|
className?: string | undefined;
|
|
13
|
-
contentEditable?:
|
|
13
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
14
14
|
contextMenu?: string | undefined;
|
|
15
15
|
dir?: string | undefined;
|
|
16
|
-
draggable?: (boolean | "
|
|
16
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
17
17
|
hidden?: boolean | undefined;
|
|
18
18
|
id?: string | undefined;
|
|
19
19
|
lang?: string | undefined;
|
|
20
20
|
nonce?: string | undefined;
|
|
21
21
|
placeholder?: string | undefined;
|
|
22
22
|
slot?: string | undefined;
|
|
23
|
-
spellCheck?: (boolean | "
|
|
23
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
24
24
|
style?: import("react").CSSProperties | undefined;
|
|
25
25
|
tabIndex?: number | undefined;
|
|
26
26
|
title?: string | undefined;
|
|
@@ -50,55 +50,55 @@ export declare const StyledPercentageRing: import("styled-components").IStyledCo
|
|
|
50
50
|
results?: number | undefined;
|
|
51
51
|
security?: string | undefined;
|
|
52
52
|
unselectable?: "on" | "off" | undefined;
|
|
53
|
-
inputMode?: "
|
|
53
|
+
inputMode?: "none" | "text" | "search" | "email" | "url" | "tel" | "numeric" | "decimal" | undefined;
|
|
54
54
|
is?: string | undefined;
|
|
55
55
|
"aria-activedescendant"?: string | undefined;
|
|
56
|
-
"aria-atomic"?: (boolean | "
|
|
57
|
-
"aria-autocomplete"?: "
|
|
56
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
57
|
+
"aria-autocomplete"?: "both" | "none" | "inline" | "list" | undefined;
|
|
58
58
|
"aria-braillelabel"?: string | undefined;
|
|
59
59
|
"aria-brailleroledescription"?: string | undefined;
|
|
60
|
-
"aria-busy"?: (boolean | "
|
|
61
|
-
"aria-checked"?: boolean | "
|
|
60
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
61
|
+
"aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
62
62
|
"aria-colcount"?: number | undefined;
|
|
63
63
|
"aria-colindex"?: number | undefined;
|
|
64
64
|
"aria-colindextext"?: string | undefined;
|
|
65
65
|
"aria-colspan"?: number | undefined;
|
|
66
66
|
"aria-controls"?: string | undefined;
|
|
67
|
-
"aria-current"?: boolean | "
|
|
67
|
+
"aria-current"?: boolean | "page" | "false" | "true" | "time" | "date" | "location" | "step" | undefined;
|
|
68
68
|
"aria-describedby"?: string | undefined;
|
|
69
69
|
"aria-description"?: string | undefined;
|
|
70
70
|
"aria-details"?: string | undefined;
|
|
71
|
-
"aria-disabled"?: (boolean | "
|
|
72
|
-
"aria-dropeffect"?: "
|
|
71
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
72
|
+
"aria-dropeffect"?: "none" | "copy" | "move" | "link" | "popup" | "execute" | undefined;
|
|
73
73
|
"aria-errormessage"?: string | undefined;
|
|
74
|
-
"aria-expanded"?: (boolean | "
|
|
74
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
75
75
|
"aria-flowto"?: string | undefined;
|
|
76
|
-
"aria-grabbed"?: (boolean | "
|
|
77
|
-
"aria-haspopup"?: boolean | "
|
|
78
|
-
"aria-hidden"?: (boolean | "
|
|
79
|
-
"aria-invalid"?: boolean | "
|
|
76
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
77
|
+
"aria-haspopup"?: boolean | "listbox" | "grid" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
|
|
78
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
79
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
80
80
|
"aria-keyshortcuts"?: string | undefined;
|
|
81
81
|
"aria-label"?: string | undefined;
|
|
82
82
|
"aria-labelledby"?: string | undefined;
|
|
83
83
|
"aria-level"?: number | undefined;
|
|
84
84
|
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
85
|
-
"aria-modal"?: (boolean | "
|
|
86
|
-
"aria-multiline"?: (boolean | "
|
|
87
|
-
"aria-multiselectable"?: (boolean | "
|
|
85
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
86
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
87
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
88
88
|
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
89
89
|
"aria-owns"?: string | undefined;
|
|
90
90
|
"aria-placeholder"?: string | undefined;
|
|
91
91
|
"aria-posinset"?: number | undefined;
|
|
92
|
-
"aria-pressed"?: boolean | "
|
|
93
|
-
"aria-readonly"?: (boolean | "
|
|
94
|
-
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "
|
|
95
|
-
"aria-required"?: (boolean | "
|
|
92
|
+
"aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
93
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
94
|
+
"aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
95
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
96
96
|
"aria-roledescription"?: string | undefined;
|
|
97
97
|
"aria-rowcount"?: number | undefined;
|
|
98
98
|
"aria-rowindex"?: number | undefined;
|
|
99
99
|
"aria-rowindextext"?: string | undefined;
|
|
100
100
|
"aria-rowspan"?: number | undefined;
|
|
101
|
-
"aria-selected"?: (boolean | "
|
|
101
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
102
102
|
"aria-setsize"?: number | undefined;
|
|
103
103
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
104
104
|
"aria-valuemax"?: number | undefined;
|
|
@@ -10,17 +10,17 @@ export declare const StyledShrug: import("styled-components").IStyledComponent<"
|
|
|
10
10
|
accessKey?: string | undefined;
|
|
11
11
|
autoFocus?: boolean | undefined;
|
|
12
12
|
className?: string | undefined;
|
|
13
|
-
contentEditable?:
|
|
13
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
14
14
|
contextMenu?: string | undefined;
|
|
15
15
|
dir?: string | undefined;
|
|
16
|
-
draggable?: (boolean | "
|
|
16
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
17
17
|
hidden?: boolean | undefined;
|
|
18
18
|
id?: string | undefined;
|
|
19
19
|
lang?: string | undefined;
|
|
20
20
|
nonce?: string | undefined;
|
|
21
21
|
placeholder?: string | undefined;
|
|
22
22
|
slot?: string | undefined;
|
|
23
|
-
spellCheck?: (boolean | "
|
|
23
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
24
24
|
style?: import("react").CSSProperties | undefined;
|
|
25
25
|
tabIndex?: number | undefined;
|
|
26
26
|
title?: string | undefined;
|
|
@@ -50,55 +50,55 @@ export declare const StyledShrug: import("styled-components").IStyledComponent<"
|
|
|
50
50
|
results?: number | undefined;
|
|
51
51
|
security?: string | undefined;
|
|
52
52
|
unselectable?: "on" | "off" | undefined;
|
|
53
|
-
inputMode?: "
|
|
53
|
+
inputMode?: "none" | "text" | "search" | "email" | "url" | "tel" | "numeric" | "decimal" | undefined;
|
|
54
54
|
is?: string | undefined;
|
|
55
55
|
"aria-activedescendant"?: string | undefined;
|
|
56
|
-
"aria-atomic"?: (boolean | "
|
|
57
|
-
"aria-autocomplete"?: "
|
|
56
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
57
|
+
"aria-autocomplete"?: "both" | "none" | "inline" | "list" | undefined;
|
|
58
58
|
"aria-braillelabel"?: string | undefined;
|
|
59
59
|
"aria-brailleroledescription"?: string | undefined;
|
|
60
|
-
"aria-busy"?: (boolean | "
|
|
61
|
-
"aria-checked"?: boolean | "
|
|
60
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
61
|
+
"aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
62
62
|
"aria-colcount"?: number | undefined;
|
|
63
63
|
"aria-colindex"?: number | undefined;
|
|
64
64
|
"aria-colindextext"?: string | undefined;
|
|
65
65
|
"aria-colspan"?: number | undefined;
|
|
66
66
|
"aria-controls"?: string | undefined;
|
|
67
|
-
"aria-current"?: boolean | "
|
|
67
|
+
"aria-current"?: boolean | "page" | "false" | "true" | "time" | "date" | "location" | "step" | undefined;
|
|
68
68
|
"aria-describedby"?: string | undefined;
|
|
69
69
|
"aria-description"?: string | undefined;
|
|
70
70
|
"aria-details"?: string | undefined;
|
|
71
|
-
"aria-disabled"?: (boolean | "
|
|
72
|
-
"aria-dropeffect"?: "
|
|
71
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
72
|
+
"aria-dropeffect"?: "none" | "copy" | "move" | "link" | "popup" | "execute" | undefined;
|
|
73
73
|
"aria-errormessage"?: string | undefined;
|
|
74
|
-
"aria-expanded"?: (boolean | "
|
|
74
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
75
75
|
"aria-flowto"?: string | undefined;
|
|
76
|
-
"aria-grabbed"?: (boolean | "
|
|
77
|
-
"aria-haspopup"?: boolean | "
|
|
78
|
-
"aria-hidden"?: (boolean | "
|
|
79
|
-
"aria-invalid"?: boolean | "
|
|
76
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
77
|
+
"aria-haspopup"?: boolean | "listbox" | "grid" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
|
|
78
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
79
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
80
80
|
"aria-keyshortcuts"?: string | undefined;
|
|
81
81
|
"aria-label"?: string | undefined;
|
|
82
82
|
"aria-labelledby"?: string | undefined;
|
|
83
83
|
"aria-level"?: number | undefined;
|
|
84
84
|
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
85
|
-
"aria-modal"?: (boolean | "
|
|
86
|
-
"aria-multiline"?: (boolean | "
|
|
87
|
-
"aria-multiselectable"?: (boolean | "
|
|
85
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
86
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
87
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
88
88
|
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
89
89
|
"aria-owns"?: string | undefined;
|
|
90
90
|
"aria-placeholder"?: string | undefined;
|
|
91
91
|
"aria-posinset"?: number | undefined;
|
|
92
|
-
"aria-pressed"?: boolean | "
|
|
93
|
-
"aria-readonly"?: (boolean | "
|
|
94
|
-
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "
|
|
95
|
-
"aria-required"?: (boolean | "
|
|
92
|
+
"aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
93
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
94
|
+
"aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
95
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
96
96
|
"aria-roledescription"?: string | undefined;
|
|
97
97
|
"aria-rowcount"?: number | undefined;
|
|
98
98
|
"aria-rowindex"?: number | undefined;
|
|
99
99
|
"aria-rowindextext"?: string | undefined;
|
|
100
100
|
"aria-rowspan"?: number | undefined;
|
|
101
|
-
"aria-selected"?: (boolean | "
|
|
101
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
102
102
|
"aria-setsize"?: number | undefined;
|
|
103
103
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
104
104
|
"aria-valuemax"?: number | undefined;
|
package/lib/index.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import React, { ChangeEvent } from 'react';
|
|
|
3
3
|
import { PermafrostComponent, IconName } from '@/types';
|
|
4
4
|
import { AriaButtonProps } from '@react-types/button';
|
|
5
5
|
|
|
6
|
+
declare const GlobalStyles: () => React.JSX.Element;
|
|
7
|
+
|
|
6
8
|
type Props$i = PermafrostComponent & {
|
|
7
9
|
content: React.ReactNode;
|
|
8
10
|
header?: React.ReactNode | string;
|
|
@@ -404,4 +406,4 @@ type Props = PermafrostComponent & {
|
|
|
404
406
|
};
|
|
405
407
|
declare function Shrug(props: Props): React.ReactElement;
|
|
406
408
|
|
|
407
|
-
export { Accordion, BarSpinner, BorderSelect, Button, CirclePulse, CircleSpinner, EditableInput, Icon, IconButton, ListTable, LoadingList, MultiCombobox, NumberInput, Pagination, PercentageRing, RandomLoadingMessage, SearchInput, Section, SectionBlock, SectionBody, SectionHeader, SectionTable, Select, Shrug, SingleCombobox, TextInput };
|
|
409
|
+
export { Accordion, BarSpinner, BorderSelect, Button, CirclePulse, CircleSpinner, EditableInput, GlobalStyles, Icon, IconButton, ListTable, LoadingList, MultiCombobox, NumberInput, Pagination, PercentageRing, RandomLoadingMessage, SearchInput, Section, SectionBlock, SectionBody, SectionHeader, SectionTable, Select, Shrug, SingleCombobox, TextInput };
|