@indico-data/design-system 1.0.12 → 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.
Files changed (33) hide show
  1. package/lib/components/Accordion/Accordion.styles.d.ts +24 -24
  2. package/lib/components/Icon/Icon.stories.d.ts +2 -2
  3. package/lib/components/Icon/storyHelpers.d.ts +72 -72
  4. package/lib/components/ListTable/Header/Header.styles.d.ts +24 -24
  5. package/lib/components/ListTable/ListTable.styles.d.ts +24 -24
  6. package/lib/components/Pagination/Pagination.styles.d.ts +24 -24
  7. package/lib/components/basic-section/Section/Section.styles.d.ts +24 -24
  8. package/lib/components/basic-section/SectionBlock/SectionBlock.styles.d.ts +24 -24
  9. package/lib/components/basic-section/SectionBody/SectionBody.styles.d.ts +24 -24
  10. package/lib/components/basic-section/SectionHeader/SectionHeader.styles.d.ts +24 -24
  11. package/lib/components/basic-section/SectionTable/SectionTable.styles.d.ts +24 -24
  12. package/lib/components/buttons/Button/Button.styles.d.ts +24 -24
  13. package/lib/components/buttons/IconButton/IconButton.styles.d.ts +56 -56
  14. package/lib/components/dropdowns/BorderSelect/BorderSelect.styles.d.ts +48 -48
  15. package/lib/components/dropdowns/MultiCombobox/MultiCombobox.styles.d.ts +1 -1
  16. package/lib/components/dropdowns/Select/Select.styles.d.ts +24 -24
  17. package/lib/components/dropdowns/SingleCombobox/SingleCombobox.styles.d.ts +1 -1
  18. package/lib/components/inputs/EditableInput/EditableInput.styles.d.ts +24 -24
  19. package/lib/components/inputs/NumberInput/NumberInput.styles.d.ts +24 -24
  20. package/lib/components/inputs/SearchInput/SearchInput.styles.d.ts +24 -24
  21. package/lib/components/inputs/TextInput/TextInput.styles.d.ts +48 -48
  22. package/lib/components/loading-indicators/BarSpinner/BarSpinner.styles.d.ts +24 -24
  23. package/lib/components/loading-indicators/LoadingList/LoadingList.styles.d.ts +24 -24
  24. package/lib/components/loading-indicators/PercentageRing/PercentageRing.styles.d.ts +24 -24
  25. package/lib/components/user-feedback/Shrug/Shrug.styles.d.ts +24 -24
  26. package/lib/index.d.ts +3 -1
  27. package/lib/index.esm.js +7699 -7175
  28. package/lib/index.esm.js.map +1 -1
  29. package/lib/index.js +7698 -7173
  30. package/lib/index.js.map +1 -1
  31. package/lib/styles/index.d.ts +1 -0
  32. package/package.json +1 -1
  33. package/rollup.config.mjs +5 -0
@@ -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?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
13
+ contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
14
14
  contextMenu?: string | undefined;
15
15
  dir?: string | undefined;
16
- draggable?: (boolean | "true" | "false") | undefined;
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 | "true" | "false") | undefined;
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?: "search" | "text" | "none" | "email" | "url" | "tel" | "numeric" | "decimal" | undefined;
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 | "true" | "false") | undefined;
57
- "aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
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 | "true" | "false") | undefined;
61
- "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
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 | "time" | "date" | "location" | "true" | "false" | "step" | "page" | undefined;
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 | "true" | "false") | undefined;
72
- "aria-dropeffect"?: "link" | "none" | "popup" | "copy" | "execute" | "move" | undefined;
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 | "true" | "false") | undefined;
74
+ "aria-expanded"?: (boolean | "false" | "true") | undefined;
75
75
  "aria-flowto"?: string | undefined;
76
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
77
- "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
78
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
79
- "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
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 | "true" | "false") | undefined;
86
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
87
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
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 | "true" | "false" | "mixed" | undefined;
93
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
94
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
95
- "aria-required"?: (boolean | "true" | "false") | undefined;
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 | "true" | "false") | undefined;
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?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
13
+ contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
14
14
  contextMenu?: string | undefined;
15
15
  dir?: string | undefined;
16
- draggable?: (boolean | "true" | "false") | undefined;
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 | "true" | "false") | undefined;
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?: "search" | "text" | "none" | "email" | "url" | "tel" | "numeric" | "decimal" | undefined;
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 | "true" | "false") | undefined;
57
- "aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
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 | "true" | "false") | undefined;
61
- "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
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 | "time" | "date" | "location" | "true" | "false" | "step" | "page" | undefined;
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 | "true" | "false") | undefined;
72
- "aria-dropeffect"?: "link" | "none" | "popup" | "copy" | "execute" | "move" | undefined;
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 | "true" | "false") | undefined;
74
+ "aria-expanded"?: (boolean | "false" | "true") | undefined;
75
75
  "aria-flowto"?: string | undefined;
76
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
77
- "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
78
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
79
- "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
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 | "true" | "false") | undefined;
86
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
87
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
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 | "true" | "false" | "mixed" | undefined;
93
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
94
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
95
- "aria-required"?: (boolean | "true" | "false") | undefined;
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 | "true" | "false") | undefined;
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 };