@indico-data/design-system 1.0.4 → 1.0.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/.eslintrc.js +1 -1
- package/lib/components/Accordion/Accordion.d.ts +9 -0
- package/lib/components/Accordion/Accordion.stories.d.ts +25 -0
- package/lib/components/Accordion/Accordion.styles.d.ts +276 -0
- package/lib/components/Accordion/index.d.ts +1 -0
- package/lib/components/Icon/Icon.d.ts +16 -0
- package/lib/components/Icon/Icon.stories.d.ts +41 -0
- package/lib/components/Icon/faIcons.d.ts +76 -0
- package/lib/components/Icon/index.d.ts +1 -0
- package/lib/components/Icon/indicons.d.ts +127 -0
- package/lib/components/Icon/storyHelpers.d.ts +822 -0
- package/lib/components/ListTable/Header/Header.d.ts +21 -0
- package/lib/components/ListTable/Header/Header.styles.d.ts +274 -0
- package/lib/components/ListTable/Header/index.d.ts +1 -0
- package/lib/components/ListTable/ListTable.d.ts +41 -0
- package/lib/components/ListTable/ListTable.stories.d.ts +54 -0
- package/lib/components/ListTable/ListTable.styles.d.ts +274 -0
- package/lib/components/ListTable/index.d.ts +1 -0
- package/lib/components/ListTable/mock-data/index.d.ts +1 -0
- package/lib/components/ListTable/mock-data/mock-data.d.ts +54 -0
- package/lib/components/Pagination/Pagination.d.ts +19 -0
- package/lib/components/Pagination/Pagination.stories.d.ts +18 -0
- package/lib/components/Pagination/Pagination.styles.d.ts +274 -0
- package/lib/components/Pagination/index.d.ts +1 -0
- package/lib/components/basic-section/Section/Section.d.ts +8 -0
- package/lib/components/basic-section/Section/Section.stories.d.ts +14 -0
- package/lib/components/basic-section/Section/Section.styles.d.ts +274 -0
- package/lib/components/basic-section/Section/index.d.ts +1 -0
- package/lib/components/basic-section/SectionBlock/SectionBlock.d.ts +9 -0
- package/lib/components/basic-section/SectionBlock/SectionBlock.styles.d.ts +274 -0
- package/lib/components/basic-section/SectionBlock/index.d.ts +1 -0
- package/lib/components/basic-section/SectionBody/SectionBody.d.ts +7 -0
- package/lib/components/basic-section/SectionBody/SectionBody.stories.d.ts +11 -0
- package/lib/components/basic-section/SectionBody/SectionBody.styles.d.ts +274 -0
- package/lib/components/basic-section/SectionBody/index.d.ts +1 -0
- package/lib/components/basic-section/SectionHeader/SectionHeader.d.ts +14 -0
- package/lib/components/basic-section/SectionHeader/SectionHeader.stories.d.ts +20 -0
- package/lib/components/basic-section/SectionHeader/SectionHeader.styles.d.ts +274 -0
- package/lib/components/basic-section/SectionHeader/index.d.ts +1 -0
- package/lib/components/basic-section/SectionTable/SectionTable.d.ts +2 -0
- package/lib/components/basic-section/SectionTable/SectionTable.styles.d.ts +274 -0
- package/lib/components/basic-section/SectionTable/index.d.ts +1 -0
- package/lib/components/basic-section/index.d.ts +5 -0
- package/lib/components/buttons/Button/Button.d.ts +21 -0
- package/lib/components/buttons/Button/Button.stories.d.ts +25 -0
- package/lib/components/buttons/Button/Button.styles.d.ts +284 -0
- package/lib/components/buttons/Button/index.d.ts +1 -0
- package/lib/components/buttons/IconButton/IconButton.d.ts +33 -0
- package/lib/components/buttons/IconButton/IconButton.stories.d.ts +43 -0
- package/lib/components/buttons/IconButton/IconButton.styles.d.ts +571 -0
- package/lib/components/buttons/IconButton/index.d.ts +1 -0
- package/lib/components/buttons/commonStyles.d.ts +9 -0
- package/lib/components/buttons/index.d.ts +2 -0
- package/lib/components/buttons/types.d.ts +2 -0
- package/lib/components/dropdowns/BorderSelect/BorderSelect.d.ts +19 -0
- package/lib/components/dropdowns/BorderSelect/BorderSelect.stories.d.ts +32 -0
- package/lib/components/dropdowns/BorderSelect/BorderSelect.styles.d.ts +546 -0
- package/lib/components/dropdowns/BorderSelect/index.d.ts +1 -0
- package/lib/components/dropdowns/MultiCombobox/MultiCombobox.d.ts +23 -0
- package/lib/components/dropdowns/MultiCombobox/MultiCombobox.stories.d.ts +46 -0
- package/lib/components/dropdowns/MultiCombobox/MultiCombobox.styles.d.ts +86 -0
- package/lib/components/dropdowns/MultiCombobox/index.d.ts +1 -0
- package/lib/components/dropdowns/Select/Select.d.ts +19 -0
- package/lib/components/dropdowns/Select/Select.stories.d.ts +35 -0
- package/lib/components/dropdowns/Select/Select.styles.d.ts +274 -0
- package/lib/components/dropdowns/Select/index.d.ts +1 -0
- package/lib/components/dropdowns/SingleCombobox/SingleCombobox.d.ts +20 -0
- package/lib/components/dropdowns/SingleCombobox/SingleCombobox.stories.d.ts +32 -0
- package/lib/components/dropdowns/SingleCombobox/SingleCombobox.styles.d.ts +86 -0
- package/lib/components/dropdowns/SingleCombobox/index.d.ts +1 -0
- package/lib/components/dropdowns/commonStyles.d.ts +1 -0
- package/lib/components/dropdowns/index.d.ts +4 -0
- package/lib/components/dropdowns/types.d.ts +46 -0
- package/lib/components/dropdowns/useCombobox.d.ts +25 -0
- package/lib/components/dropdowns/utils.d.ts +21 -0
- package/lib/components/index.d.ts +10 -0
- package/lib/components/inputs/EditableInput/EditableInput.d.ts +13 -0
- package/lib/components/inputs/EditableInput/EditableInput.stories.d.ts +15 -0
- package/lib/components/inputs/EditableInput/EditableInput.styles.d.ts +274 -0
- package/lib/components/inputs/EditableInput/index.d.ts +1 -0
- package/lib/components/inputs/NumberInput/NumberInput.d.ts +23 -0
- package/lib/components/inputs/NumberInput/NumberInput.stories.d.ts +28 -0
- package/lib/components/inputs/NumberInput/NumberInput.styles.d.ts +274 -0
- package/lib/components/inputs/NumberInput/index.d.ts +1 -0
- package/lib/components/inputs/SearchInput/SearchInput.d.ts +18 -0
- package/lib/components/inputs/SearchInput/SearchInput.stories.d.ts +27 -0
- package/lib/components/inputs/SearchInput/SearchInput.styles.d.ts +274 -0
- package/lib/components/inputs/SearchInput/index.d.ts +1 -0
- package/lib/components/inputs/TextInput/TextInput.d.ts +24 -0
- package/lib/components/inputs/TextInput/TextInput.stories.d.ts +62 -0
- package/lib/components/inputs/TextInput/TextInput.styles.d.ts +546 -0
- package/lib/components/inputs/TextInput/index.d.ts +1 -0
- package/lib/components/inputs/index.d.ts +4 -0
- package/lib/components/inputs/inputsCommon.styles.d.ts +4 -0
- package/lib/components/loading-indicators/BarSpinner/BarSpinner.d.ts +7 -0
- package/lib/components/loading-indicators/BarSpinner/BarSpinner.stories.d.ts +10 -0
- package/lib/components/loading-indicators/BarSpinner/BarSpinner.styles.d.ts +274 -0
- package/lib/components/loading-indicators/BarSpinner/index.d.ts +1 -0
- package/lib/components/loading-indicators/CirclePulse/CirclePulse.d.ts +10 -0
- package/lib/components/loading-indicators/CirclePulse/CirclePulse.stories.d.ts +12 -0
- package/lib/components/loading-indicators/CirclePulse/CirclePulse.styles.d.ts +8 -0
- package/lib/components/loading-indicators/CirclePulse/index.d.ts +1 -0
- package/lib/components/loading-indicators/CircleSpinner/CircleSpinner.d.ts +12 -0
- package/lib/components/loading-indicators/CircleSpinner/CircleSpinner.stories.d.ts +10 -0
- package/lib/components/loading-indicators/CircleSpinner/index.d.ts +1 -0
- package/lib/components/loading-indicators/LoadingList/LoadingList.d.ts +2 -0
- package/lib/components/loading-indicators/LoadingList/LoadingList.stories.d.ts +11 -0
- package/lib/components/loading-indicators/LoadingList/LoadingList.styles.d.ts +274 -0
- package/lib/components/loading-indicators/LoadingList/index.d.ts +1 -0
- package/lib/components/loading-indicators/PercentageRing/PercentageRing.d.ts +13 -0
- package/lib/components/loading-indicators/PercentageRing/PercentageRing.stories.d.ts +10 -0
- package/lib/components/loading-indicators/PercentageRing/PercentageRing.styles.d.ts +274 -0
- package/lib/components/loading-indicators/PercentageRing/index.d.ts +1 -0
- package/lib/components/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.d.ts +2 -0
- package/lib/components/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.stories.d.ts +11 -0
- package/lib/components/loading-indicators/RandomLoadingMessage/index.d.ts +1 -0
- package/lib/components/loading-indicators/RandomLoadingMessage/random-messages.d.ts +2 -0
- package/lib/components/loading-indicators/index.d.ts +6 -0
- package/lib/components/user-feedback/Shrug/Shrug.d.ts +14 -0
- package/lib/components/user-feedback/Shrug/Shrug.stories.d.ts +31 -0
- package/lib/components/user-feedback/Shrug/Shrug.styles.d.ts +274 -0
- package/lib/components/user-feedback/Shrug/index.d.ts +1 -0
- package/lib/components/user-feedback/index.d.ts +1 -0
- package/lib/index.d.ts +407 -0
- package/lib/index.esm.js +34337 -34165
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +34337 -34164
- package/lib/index.js.map +1 -1
- package/lib/styles/globals/buttons.d.ts +2 -0
- package/lib/styles/globals/forms.d.ts +2 -0
- package/lib/styles/globals/index.d.ts +2 -0
- package/lib/styles/globals/layout.d.ts +2 -0
- package/lib/styles/globals/lists.d.ts +2 -0
- package/lib/styles/globals/margin-padding.d.ts +2 -0
- package/lib/styles/globals/media.d.ts +2 -0
- package/lib/styles/globals/tables.d.ts +2 -0
- package/lib/styles/globals/typography.d.ts +2 -0
- package/lib/styles/globals/utility-classes.d.ts +2 -0
- package/lib/tokens/animation.d.ts +4 -0
- package/lib/tokens/breakpoints.d.ts +10 -0
- package/lib/tokens/colors.d.ts +130 -0
- package/lib/tokens/index.d.ts +8 -0
- package/lib/tokens/margin.d.ts +4 -0
- package/lib/tokens/numbers.d.ts +10 -0
- package/lib/tokens/padding.d.ts +4 -0
- package/lib/tokens/spacings.d.ts +5 -0
- package/lib/tokens/typography.d.ts +49 -0
- package/lib/types.d.ts +206 -0
- package/package.json +7 -1
- package/rollup.config.mjs +1 -1
- package/src/components/Accordion/Accordion.tsx +1 -1
- package/src/components/Icon/Icon.stories.tsx +2 -1
- package/src/components/Icon/Icon.tsx +1 -3
- package/src/components/Icon/index.ts +0 -1
- package/src/components/Icon/storyHelpers.tsx +2 -1
- package/src/components/ListTable/Header/Header.tsx +3 -1
- package/src/components/ListTable/ListTable.tsx +6 -1
- package/src/components/basic-section/SectionTable/SectionTable.tsx +3 -1
- package/src/components/buttons/Button/Button.tsx +1 -1
- package/src/components/buttons/IconButton/IconButton.tsx +4 -1
- package/src/components/dropdowns/Select/Select.tsx +1 -1
- package/src/components/dropdowns/SingleCombobox/SingleCombobox.tsx +1 -1
- package/src/components/index.ts +17 -9
- package/src/components/inputs/EditableInput/EditableInput.tsx +1 -1
- package/src/components/inputs/NumberInput/NumberInput.tsx +2 -1
- package/src/components/inputs/SearchInput/SearchInput.tsx +1 -1
- package/src/components/user-feedback/Shrug/Shrug.tsx +2 -1
- package/src/index.ts +28 -1
- package/src/types.ts +10 -0
- package/tsconfig.json +16 -4
package/.eslintrc.js
CHANGED
|
@@ -24,7 +24,7 @@ module.exports = {
|
|
|
24
24
|
ecmaVersion: 'latest',
|
|
25
25
|
sourceType: 'module',
|
|
26
26
|
},
|
|
27
|
-
plugins: ['@typescript-eslint', 'react'],
|
|
27
|
+
plugins: ['@typescript-eslint', 'react', 'react-hooks'],
|
|
28
28
|
rules: {
|
|
29
29
|
'no-debugger': 'error',
|
|
30
30
|
'no-console': ['error', { allow: ['warn', 'error', 'info'] }],
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PermafrostComponent } from '@/types';
|
|
3
|
+
type Props = PermafrostComponent & {
|
|
4
|
+
content: React.ReactNode;
|
|
5
|
+
header?: React.ReactNode | string;
|
|
6
|
+
open?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const Accordion: (props: Props) => React.JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryObj } from '@storybook/react';
|
|
3
|
+
import { Accordion } from './Accordion';
|
|
4
|
+
declare const meta: {
|
|
5
|
+
component: (props: import("../../types").PermafrostComponent & {
|
|
6
|
+
content: React.ReactNode;
|
|
7
|
+
header?: React.ReactNode;
|
|
8
|
+
open?: boolean | undefined;
|
|
9
|
+
}) => React.JSX.Element;
|
|
10
|
+
title: string;
|
|
11
|
+
argTypes: {};
|
|
12
|
+
decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
|
|
13
|
+
id?: string | undefined;
|
|
14
|
+
className?: string | undefined;
|
|
15
|
+
'data-cy'?: string | undefined;
|
|
16
|
+
'data-testid'?: string | undefined;
|
|
17
|
+
content: React.ReactNode;
|
|
18
|
+
header?: React.ReactNode;
|
|
19
|
+
open?: boolean | undefined;
|
|
20
|
+
}>) => React.JSX.Element)[];
|
|
21
|
+
};
|
|
22
|
+
export default meta;
|
|
23
|
+
type Story = StoryObj<typeof Accordion>;
|
|
24
|
+
export declare const Normal: Story;
|
|
25
|
+
export declare const WithHeader: Story;
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
export declare const StyledAccordion: import("styled-components").IStyledComponent<"web", {
|
|
4
|
+
ref?: import("react").LegacyRef<HTMLDetailsElement> | undefined;
|
|
5
|
+
key?: import("react").Key | null | undefined;
|
|
6
|
+
open?: boolean | undefined;
|
|
7
|
+
onToggle?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
8
|
+
defaultChecked?: boolean | undefined;
|
|
9
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
10
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
11
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
12
|
+
accessKey?: string | undefined;
|
|
13
|
+
autoFocus?: boolean | undefined;
|
|
14
|
+
className?: string | undefined;
|
|
15
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
16
|
+
contextMenu?: string | undefined;
|
|
17
|
+
dir?: string | undefined;
|
|
18
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
19
|
+
hidden?: boolean | undefined;
|
|
20
|
+
id?: string | undefined;
|
|
21
|
+
lang?: string | undefined;
|
|
22
|
+
nonce?: string | undefined;
|
|
23
|
+
placeholder?: string | undefined;
|
|
24
|
+
slot?: string | undefined;
|
|
25
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
26
|
+
style?: import("react").CSSProperties | undefined;
|
|
27
|
+
tabIndex?: number | undefined;
|
|
28
|
+
title?: string | undefined;
|
|
29
|
+
translate?: "yes" | "no" | undefined;
|
|
30
|
+
radioGroup?: string | undefined;
|
|
31
|
+
role?: import("react").AriaRole | undefined;
|
|
32
|
+
about?: string | undefined;
|
|
33
|
+
content?: string | undefined;
|
|
34
|
+
datatype?: string | undefined;
|
|
35
|
+
inlist?: any;
|
|
36
|
+
prefix?: string | undefined;
|
|
37
|
+
property?: string | undefined;
|
|
38
|
+
rel?: string | undefined;
|
|
39
|
+
resource?: string | undefined;
|
|
40
|
+
rev?: string | undefined;
|
|
41
|
+
typeof?: string | undefined;
|
|
42
|
+
vocab?: string | undefined;
|
|
43
|
+
autoCapitalize?: string | undefined;
|
|
44
|
+
autoCorrect?: string | undefined;
|
|
45
|
+
autoSave?: string | undefined;
|
|
46
|
+
color?: string | undefined;
|
|
47
|
+
itemProp?: string | undefined;
|
|
48
|
+
itemScope?: boolean | undefined;
|
|
49
|
+
itemType?: string | undefined;
|
|
50
|
+
itemID?: string | undefined;
|
|
51
|
+
itemRef?: string | undefined;
|
|
52
|
+
results?: number | undefined;
|
|
53
|
+
security?: string | undefined;
|
|
54
|
+
unselectable?: "on" | "off" | undefined;
|
|
55
|
+
inputMode?: "search" | "text" | "none" | "email" | "url" | "tel" | "numeric" | "decimal" | undefined;
|
|
56
|
+
is?: string | undefined;
|
|
57
|
+
"aria-activedescendant"?: string | undefined;
|
|
58
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
59
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
60
|
+
"aria-braillelabel"?: string | undefined;
|
|
61
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
62
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
63
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
64
|
+
"aria-colcount"?: number | undefined;
|
|
65
|
+
"aria-colindex"?: number | undefined;
|
|
66
|
+
"aria-colindextext"?: string | undefined;
|
|
67
|
+
"aria-colspan"?: number | undefined;
|
|
68
|
+
"aria-controls"?: string | undefined;
|
|
69
|
+
"aria-current"?: boolean | "time" | "date" | "location" | "true" | "false" | "step" | "page" | undefined;
|
|
70
|
+
"aria-describedby"?: string | undefined;
|
|
71
|
+
"aria-description"?: string | undefined;
|
|
72
|
+
"aria-details"?: string | undefined;
|
|
73
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
74
|
+
"aria-dropeffect"?: "link" | "none" | "popup" | "copy" | "execute" | "move" | undefined;
|
|
75
|
+
"aria-errormessage"?: string | undefined;
|
|
76
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
77
|
+
"aria-flowto"?: string | undefined;
|
|
78
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
79
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
|
|
80
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
81
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
82
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
83
|
+
"aria-label"?: string | undefined;
|
|
84
|
+
"aria-labelledby"?: string | undefined;
|
|
85
|
+
"aria-level"?: number | undefined;
|
|
86
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
87
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
88
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
89
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
90
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
91
|
+
"aria-owns"?: string | undefined;
|
|
92
|
+
"aria-placeholder"?: string | undefined;
|
|
93
|
+
"aria-posinset"?: number | undefined;
|
|
94
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
95
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
96
|
+
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
97
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
98
|
+
"aria-roledescription"?: string | undefined;
|
|
99
|
+
"aria-rowcount"?: number | undefined;
|
|
100
|
+
"aria-rowindex"?: number | undefined;
|
|
101
|
+
"aria-rowindextext"?: string | undefined;
|
|
102
|
+
"aria-rowspan"?: number | undefined;
|
|
103
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
104
|
+
"aria-setsize"?: number | undefined;
|
|
105
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
106
|
+
"aria-valuemax"?: number | undefined;
|
|
107
|
+
"aria-valuemin"?: number | undefined;
|
|
108
|
+
"aria-valuenow"?: number | undefined;
|
|
109
|
+
"aria-valuetext"?: string | undefined;
|
|
110
|
+
children?: import("react").ReactNode;
|
|
111
|
+
dangerouslySetInnerHTML?: {
|
|
112
|
+
__html: string | TrustedHTML;
|
|
113
|
+
} | undefined;
|
|
114
|
+
onCopy?: import("react").ClipboardEventHandler<HTMLDetailsElement> | undefined;
|
|
115
|
+
onCopyCapture?: import("react").ClipboardEventHandler<HTMLDetailsElement> | undefined;
|
|
116
|
+
onCut?: import("react").ClipboardEventHandler<HTMLDetailsElement> | undefined;
|
|
117
|
+
onCutCapture?: import("react").ClipboardEventHandler<HTMLDetailsElement> | undefined;
|
|
118
|
+
onPaste?: import("react").ClipboardEventHandler<HTMLDetailsElement> | undefined;
|
|
119
|
+
onPasteCapture?: import("react").ClipboardEventHandler<HTMLDetailsElement> | undefined;
|
|
120
|
+
onCompositionEnd?: import("react").CompositionEventHandler<HTMLDetailsElement> | undefined;
|
|
121
|
+
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLDetailsElement> | undefined;
|
|
122
|
+
onCompositionStart?: import("react").CompositionEventHandler<HTMLDetailsElement> | undefined;
|
|
123
|
+
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLDetailsElement> | undefined;
|
|
124
|
+
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLDetailsElement> | undefined;
|
|
125
|
+
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLDetailsElement> | undefined;
|
|
126
|
+
onFocus?: import("react").FocusEventHandler<HTMLDetailsElement> | undefined;
|
|
127
|
+
onFocusCapture?: import("react").FocusEventHandler<HTMLDetailsElement> | undefined;
|
|
128
|
+
onBlur?: import("react").FocusEventHandler<HTMLDetailsElement> | undefined;
|
|
129
|
+
onBlurCapture?: import("react").FocusEventHandler<HTMLDetailsElement> | undefined;
|
|
130
|
+
onChange?: import("react").FormEventHandler<HTMLDetailsElement> | undefined;
|
|
131
|
+
onChangeCapture?: import("react").FormEventHandler<HTMLDetailsElement> | undefined;
|
|
132
|
+
onBeforeInput?: import("react").FormEventHandler<HTMLDetailsElement> | undefined;
|
|
133
|
+
onBeforeInputCapture?: import("react").FormEventHandler<HTMLDetailsElement> | undefined;
|
|
134
|
+
onInput?: import("react").FormEventHandler<HTMLDetailsElement> | undefined;
|
|
135
|
+
onInputCapture?: import("react").FormEventHandler<HTMLDetailsElement> | undefined;
|
|
136
|
+
onReset?: import("react").FormEventHandler<HTMLDetailsElement> | undefined;
|
|
137
|
+
onResetCapture?: import("react").FormEventHandler<HTMLDetailsElement> | undefined;
|
|
138
|
+
onSubmit?: import("react").FormEventHandler<HTMLDetailsElement> | undefined;
|
|
139
|
+
onSubmitCapture?: import("react").FormEventHandler<HTMLDetailsElement> | undefined;
|
|
140
|
+
onInvalid?: import("react").FormEventHandler<HTMLDetailsElement> | undefined;
|
|
141
|
+
onInvalidCapture?: import("react").FormEventHandler<HTMLDetailsElement> | undefined;
|
|
142
|
+
onLoad?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
143
|
+
onLoadCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
144
|
+
onError?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
145
|
+
onErrorCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
146
|
+
onKeyDown?: import("react").KeyboardEventHandler<HTMLDetailsElement> | undefined;
|
|
147
|
+
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLDetailsElement> | undefined;
|
|
148
|
+
onKeyPress?: import("react").KeyboardEventHandler<HTMLDetailsElement> | undefined;
|
|
149
|
+
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLDetailsElement> | undefined;
|
|
150
|
+
onKeyUp?: import("react").KeyboardEventHandler<HTMLDetailsElement> | undefined;
|
|
151
|
+
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLDetailsElement> | undefined;
|
|
152
|
+
onAbort?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
153
|
+
onAbortCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
154
|
+
onCanPlay?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
155
|
+
onCanPlayCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
156
|
+
onCanPlayThrough?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
157
|
+
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
158
|
+
onDurationChange?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
159
|
+
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
160
|
+
onEmptied?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
161
|
+
onEmptiedCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
162
|
+
onEncrypted?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
163
|
+
onEncryptedCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
164
|
+
onEnded?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
165
|
+
onEndedCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
166
|
+
onLoadedData?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
167
|
+
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
168
|
+
onLoadedMetadata?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
169
|
+
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
170
|
+
onLoadStart?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
171
|
+
onLoadStartCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
172
|
+
onPause?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
173
|
+
onPauseCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
174
|
+
onPlay?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
175
|
+
onPlayCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
176
|
+
onPlaying?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
177
|
+
onPlayingCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
178
|
+
onProgress?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
179
|
+
onProgressCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
180
|
+
onRateChange?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
181
|
+
onRateChangeCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
182
|
+
onResize?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
183
|
+
onResizeCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
184
|
+
onSeeked?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
185
|
+
onSeekedCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
186
|
+
onSeeking?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
187
|
+
onSeekingCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
188
|
+
onStalled?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
189
|
+
onStalledCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
190
|
+
onSuspend?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
191
|
+
onSuspendCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
192
|
+
onTimeUpdate?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
193
|
+
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
194
|
+
onVolumeChange?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
195
|
+
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
196
|
+
onWaiting?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
197
|
+
onWaitingCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
198
|
+
onAuxClick?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
199
|
+
onAuxClickCapture?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
200
|
+
onClick?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
201
|
+
onClickCapture?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
202
|
+
onContextMenu?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
203
|
+
onContextMenuCapture?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
204
|
+
onDoubleClick?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
205
|
+
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
206
|
+
onDrag?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
|
|
207
|
+
onDragCapture?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
|
|
208
|
+
onDragEnd?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
|
|
209
|
+
onDragEndCapture?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
|
|
210
|
+
onDragEnter?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
|
|
211
|
+
onDragEnterCapture?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
|
|
212
|
+
onDragExit?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
|
|
213
|
+
onDragExitCapture?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
|
|
214
|
+
onDragLeave?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
|
|
215
|
+
onDragLeaveCapture?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
|
|
216
|
+
onDragOver?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
|
|
217
|
+
onDragOverCapture?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
|
|
218
|
+
onDragStart?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
|
|
219
|
+
onDragStartCapture?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
|
|
220
|
+
onDrop?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
|
|
221
|
+
onDropCapture?: import("react").DragEventHandler<HTMLDetailsElement> | undefined;
|
|
222
|
+
onMouseDown?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
223
|
+
onMouseDownCapture?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
224
|
+
onMouseEnter?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
225
|
+
onMouseLeave?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
226
|
+
onMouseMove?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
227
|
+
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
228
|
+
onMouseOut?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
229
|
+
onMouseOutCapture?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
230
|
+
onMouseOver?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
231
|
+
onMouseOverCapture?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
232
|
+
onMouseUp?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
233
|
+
onMouseUpCapture?: import("react").MouseEventHandler<HTMLDetailsElement> | undefined;
|
|
234
|
+
onSelect?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
235
|
+
onSelectCapture?: import("react").ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
236
|
+
onTouchCancel?: import("react").TouchEventHandler<HTMLDetailsElement> | undefined;
|
|
237
|
+
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLDetailsElement> | undefined;
|
|
238
|
+
onTouchEnd?: import("react").TouchEventHandler<HTMLDetailsElement> | undefined;
|
|
239
|
+
onTouchEndCapture?: import("react").TouchEventHandler<HTMLDetailsElement> | undefined;
|
|
240
|
+
onTouchMove?: import("react").TouchEventHandler<HTMLDetailsElement> | undefined;
|
|
241
|
+
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLDetailsElement> | undefined;
|
|
242
|
+
onTouchStart?: import("react").TouchEventHandler<HTMLDetailsElement> | undefined;
|
|
243
|
+
onTouchStartCapture?: import("react").TouchEventHandler<HTMLDetailsElement> | undefined;
|
|
244
|
+
onPointerDown?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
245
|
+
onPointerDownCapture?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
246
|
+
onPointerMove?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
247
|
+
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
248
|
+
onPointerUp?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
249
|
+
onPointerUpCapture?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
250
|
+
onPointerCancel?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
251
|
+
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
252
|
+
onPointerEnter?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
253
|
+
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
254
|
+
onPointerLeave?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
255
|
+
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
256
|
+
onPointerOver?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
257
|
+
onPointerOverCapture?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
258
|
+
onPointerOut?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
259
|
+
onPointerOutCapture?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
260
|
+
onGotPointerCapture?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
261
|
+
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
262
|
+
onLostPointerCapture?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
263
|
+
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDetailsElement> | undefined;
|
|
264
|
+
onScroll?: import("react").UIEventHandler<HTMLDetailsElement> | undefined;
|
|
265
|
+
onScrollCapture?: import("react").UIEventHandler<HTMLDetailsElement> | undefined;
|
|
266
|
+
onWheel?: import("react").WheelEventHandler<HTMLDetailsElement> | undefined;
|
|
267
|
+
onWheelCapture?: import("react").WheelEventHandler<HTMLDetailsElement> | undefined;
|
|
268
|
+
onAnimationStart?: import("react").AnimationEventHandler<HTMLDetailsElement> | undefined;
|
|
269
|
+
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDetailsElement> | undefined;
|
|
270
|
+
onAnimationEnd?: import("react").AnimationEventHandler<HTMLDetailsElement> | undefined;
|
|
271
|
+
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDetailsElement> | undefined;
|
|
272
|
+
onAnimationIteration?: import("react").AnimationEventHandler<HTMLDetailsElement> | undefined;
|
|
273
|
+
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDetailsElement> | undefined;
|
|
274
|
+
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDetailsElement> | undefined;
|
|
275
|
+
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDetailsElement> | undefined;
|
|
276
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Accordion } from './Accordion';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PermafrostComponent, IconName } from '@/types';
|
|
3
|
+
type Props = PermafrostComponent & {
|
|
4
|
+
ariaLabel?: string;
|
|
5
|
+
fill?: string;
|
|
6
|
+
name: IconName;
|
|
7
|
+
size?: [string | number] | [string | number, string | number];
|
|
8
|
+
style?: any;
|
|
9
|
+
onClick?(): void;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Generic icon component, hidden from Assistive Technology by default.
|
|
13
|
+
* If icon should be available to AT, pass the desired name into the `ariaLabel` prop.
|
|
14
|
+
*/
|
|
15
|
+
export declare function Icon({ style, ...props }: Props): React.ReactElement | null;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StoryObj } from '@storybook/react';
|
|
3
|
+
import { Icon } from './Icon';
|
|
4
|
+
declare const meta: {
|
|
5
|
+
component: typeof Icon;
|
|
6
|
+
title: string;
|
|
7
|
+
argTypes: {
|
|
8
|
+
ariaLabel: {
|
|
9
|
+
control: {
|
|
10
|
+
disable: boolean;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
size: {
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
name: {
|
|
17
|
+
control: {
|
|
18
|
+
type: string;
|
|
19
|
+
options: ("search" | "split" | "address" | "form" | "label" | "menu" | "output" | "time" | "filter" | "text" | "indico-o-white" | "account" | "api-doc" | "arrow-dots" | "arrow-down" | "arrow-up-circle" | "arrows-cursor" | "branch" | "check-circle" | "check" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "classification-document" | "classification-image" | "classification-page" | "classify-and-unbundle" | "clipboard" | "coffee-1" | "coffee-2" | "coffee-fail" | "coffeecup" | "coffeesteam" | "company-name" | "confidence-bar-1" | "confidence-bar-2" | "confidence-bar-3" | "confidence-bar-4" | "confidence-bars" | "configure" | "crowdlabel" | "currency" | "dashboard" | "data-and-access" | "database" | "date" | "draggable" | "droplet" | "edit" | "education" | "ellipsis" | "elmos-fire" | "email" | "enterprise" | "extraction" | "eye" | "file" | "fileHappy" | "filter-outline" | "folder" | "gallery" | "graphiql" | "happy" | "help-solid" | "help" | "highlight" | "highlight-outline" | "indico-logo-white" | "indico-o" | "info" | "kabob" | "key" | "layout-complex" | "layout-simple" | "location" | "lock" | "model-import" | "model-starter" | "moon" | "moonbow" | "no-format" | "object-detection" | "organizations" | "page-thumbnail" | "pay-as-you-go" | "person" | "phone" | "pin" | "plus" | "pointer" | "popup" | "price" | "radio-button" | "recruiter" | "regex" | "reject" | "repair" | "research" | "retrain" | "sad" | "shrug" | "signature" | "sort-down" | "step-forward" | "sun" | "surround" | "surround-outline" | "swagger" | "thumbs-down" | "thumbs-up" | "trash" | "unlock" | "upload" | "url" | "user" | "wand" | "warning" | "workflows" | "x-close" | "zoom-in" | "zoom-out" | "fa-dot-circle" | "fa-file" | "fa-file-alt" | "fa-file-pdf" | "fa-file-word" | "fa-check-square" | "fa-square" | "fa-angle-double-left" | "fa-arrow-circle-right" | "fa-arrow-down" | "fa-arrow-left" | "fa-arrow-right" | "fa-arrow-up" | "fa-ban" | "fa-caret-down" | "fa-caret-up" | "fa-chart-bar" | "fa-check" | "fa-check-circle" | "fa-circle-notch" | "fa-clipboard" | "fa-clock" | "fa-clone" | "fa-cloud" | "fa-cog" | "fa-cogs" | "fa-coins" | "fa-cube" | "fa-cut" | "fa-download" | "fa-exclamation-circle" | "fa-exclamation-triangle" | "fa-external-link-alt" | "fa-eye-dropper" | "fa-file-download" | "fa-file-export" | "fa-file-upload" | "fa-filter" | "fa-ghost" | "fa-hat-wizard" | "fa-info-circle" | "fa-key" | "fa-keyboard" | "fa-layer-group" | "fa-pencil-alt" | "fa-plus" | "fa-plus-square" | "fa-question-circle" | "fa-robot" | "fa-search" | "fa-sign-out-alt" | "fa-sliders-h" | "fa-sync-alt" | "fa-tag" | "fa-times" | "fa-times-circle" | "fa-tint" | "fa-toggle-off" | "fa-toggle-on" | "fa-trash" | "fa-trash-alt" | "fa-undo" | "fa-user" | "fa-users" | "fa-mouse-pointer" | "fa-step-forward" | "fa-search-minus" | "fa-search-plus" | "fa-table" | "fa-image" | "fa-link" | "fa-list")[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
|
|
24
|
+
id?: string | undefined;
|
|
25
|
+
className?: string | undefined;
|
|
26
|
+
'data-cy'?: string | undefined;
|
|
27
|
+
'data-testid'?: string | undefined;
|
|
28
|
+
ariaLabel?: string | undefined;
|
|
29
|
+
fill?: string | undefined;
|
|
30
|
+
name: "search" | "split" | "address" | "form" | "label" | "menu" | "output" | "time" | "filter" | "text" | "indico-o-white" | "account" | "api-doc" | "arrow-dots" | "arrow-down" | "arrow-up-circle" | "arrows-cursor" | "branch" | "check-circle" | "check" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "classification-document" | "classification-image" | "classification-page" | "classify-and-unbundle" | "clipboard" | "coffee-1" | "coffee-2" | "coffee-fail" | "coffeecup" | "coffeesteam" | "company-name" | "confidence-bar-1" | "confidence-bar-2" | "confidence-bar-3" | "confidence-bar-4" | "confidence-bars" | "configure" | "crowdlabel" | "currency" | "dashboard" | "data-and-access" | "database" | "date" | "draggable" | "droplet" | "edit" | "education" | "ellipsis" | "elmos-fire" | "email" | "enterprise" | "extraction" | "eye" | "file" | "fileHappy" | "filter-outline" | "folder" | "gallery" | "graphiql" | "happy" | "help-solid" | "help" | "highlight" | "highlight-outline" | "indico-logo-white" | "indico-o" | "info" | "kabob" | "key" | "layout-complex" | "layout-simple" | "location" | "lock" | "model-import" | "model-starter" | "moon" | "moonbow" | "no-format" | "object-detection" | "organizations" | "page-thumbnail" | "pay-as-you-go" | "person" | "phone" | "pin" | "plus" | "pointer" | "popup" | "price" | "radio-button" | "recruiter" | "regex" | "reject" | "repair" | "research" | "retrain" | "sad" | "shrug" | "signature" | "sort-down" | "step-forward" | "sun" | "surround" | "surround-outline" | "swagger" | "thumbs-down" | "thumbs-up" | "trash" | "unlock" | "upload" | "url" | "user" | "wand" | "warning" | "workflows" | "x-close" | "zoom-in" | "zoom-out" | "fa-dot-circle" | "fa-file" | "fa-file-alt" | "fa-file-pdf" | "fa-file-word" | "fa-check-square" | "fa-square" | "fa-angle-double-left" | "fa-arrow-circle-right" | "fa-arrow-down" | "fa-arrow-left" | "fa-arrow-right" | "fa-arrow-up" | "fa-ban" | "fa-caret-down" | "fa-caret-up" | "fa-chart-bar" | "fa-check" | "fa-check-circle" | "fa-circle-notch" | "fa-clipboard" | "fa-clock" | "fa-clone" | "fa-cloud" | "fa-cog" | "fa-cogs" | "fa-coins" | "fa-cube" | "fa-cut" | "fa-download" | "fa-exclamation-circle" | "fa-exclamation-triangle" | "fa-external-link-alt" | "fa-eye-dropper" | "fa-file-download" | "fa-file-export" | "fa-file-upload" | "fa-filter" | "fa-ghost" | "fa-hat-wizard" | "fa-info-circle" | "fa-key" | "fa-keyboard" | "fa-layer-group" | "fa-pencil-alt" | "fa-plus" | "fa-plus-square" | "fa-question-circle" | "fa-robot" | "fa-search" | "fa-sign-out-alt" | "fa-sliders-h" | "fa-sync-alt" | "fa-tag" | "fa-times" | "fa-times-circle" | "fa-tint" | "fa-toggle-off" | "fa-toggle-on" | "fa-trash" | "fa-trash-alt" | "fa-undo" | "fa-user" | "fa-users" | "fa-mouse-pointer" | "fa-step-forward" | "fa-search-minus" | "fa-search-plus" | "fa-table" | "fa-image" | "fa-link" | "fa-list";
|
|
31
|
+
size?: [string | number] | [string | number, string | number] | undefined;
|
|
32
|
+
style?: any;
|
|
33
|
+
onClick?: (() => void) | undefined;
|
|
34
|
+
}>) => React.JSX.Element)[];
|
|
35
|
+
};
|
|
36
|
+
export default meta;
|
|
37
|
+
type Story = StoryObj<typeof Icon>;
|
|
38
|
+
export declare const General: Story;
|
|
39
|
+
export declare const Indicon: Story;
|
|
40
|
+
export declare const FontAwesome: Story;
|
|
41
|
+
export declare const SizeSpecified: Story;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const faIcons: {
|
|
3
|
+
'fa-dot-circle': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
4
|
+
'fa-file': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
5
|
+
'fa-file-alt': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
6
|
+
'fa-file-pdf': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
7
|
+
'fa-file-word': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
8
|
+
'fa-check-square': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
9
|
+
'fa-square': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
10
|
+
'fa-angle-double-left': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
11
|
+
'fa-arrow-circle-right': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
12
|
+
'fa-arrow-down': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
13
|
+
'fa-arrow-left': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
14
|
+
'fa-arrow-right': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
15
|
+
'fa-arrow-up': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
16
|
+
'fa-ban': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
17
|
+
'fa-caret-down': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
18
|
+
'fa-caret-up': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
19
|
+
'fa-chart-bar': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
20
|
+
'fa-check': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
21
|
+
'fa-check-circle': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
22
|
+
'fa-circle-notch': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
23
|
+
'fa-clipboard': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
24
|
+
'fa-clock': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
25
|
+
'fa-clone': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
26
|
+
'fa-cloud': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
27
|
+
'fa-cog': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
28
|
+
'fa-cogs': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
29
|
+
'fa-coins': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
30
|
+
'fa-cube': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
31
|
+
'fa-cut': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
32
|
+
'fa-download': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
33
|
+
'fa-exclamation-circle': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
34
|
+
'fa-exclamation-triangle': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
35
|
+
'fa-external-link-alt': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
36
|
+
'fa-eye-dropper': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
37
|
+
'fa-file-download': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
38
|
+
'fa-file-export': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
39
|
+
'fa-file-upload': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
40
|
+
'fa-filter': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
41
|
+
'fa-ghost': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
42
|
+
'fa-hat-wizard': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
43
|
+
'fa-info-circle': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
44
|
+
'fa-key': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
45
|
+
'fa-keyboard': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
46
|
+
'fa-layer-group': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
47
|
+
'fa-pencil-alt': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
48
|
+
'fa-plus': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
49
|
+
'fa-plus-square': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
50
|
+
'fa-question-circle': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
51
|
+
'fa-robot': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
52
|
+
'fa-search': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
53
|
+
'fa-sign-out-alt': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
54
|
+
'fa-sliders-h': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
55
|
+
'fa-sync-alt': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
56
|
+
'fa-tag': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
57
|
+
'fa-times': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
58
|
+
'fa-times-circle': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
59
|
+
'fa-tint': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
60
|
+
'fa-toggle-off': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
61
|
+
'fa-toggle-on': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
62
|
+
'fa-trash': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
63
|
+
'fa-trash-alt': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
64
|
+
'fa-undo': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
65
|
+
'fa-user': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
66
|
+
'fa-users': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
67
|
+
'fa-mouse-pointer': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
68
|
+
'fa-step-forward': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
69
|
+
'fa-search-minus': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
70
|
+
'fa-search-plus': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
71
|
+
'fa-table': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
72
|
+
'fa-image': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
73
|
+
'fa-link': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
74
|
+
'fa-list': React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
75
|
+
};
|
|
76
|
+
export { faIcons };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Icon } from './Icon';
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const indicons: {
|
|
3
|
+
'indico-o-white': React.JSX.Element;
|
|
4
|
+
account: React.JSX.Element;
|
|
5
|
+
address: React.JSX.Element;
|
|
6
|
+
'api-doc': React.JSX.Element;
|
|
7
|
+
'arrow-dots': React.JSX.Element;
|
|
8
|
+
'arrow-down': React.JSX.Element;
|
|
9
|
+
'arrow-up-circle': React.JSX.Element;
|
|
10
|
+
'arrows-cursor': React.JSX.Element;
|
|
11
|
+
branch: React.JSX.Element;
|
|
12
|
+
'check-circle': React.JSX.Element;
|
|
13
|
+
check: React.JSX.Element;
|
|
14
|
+
checkbox: React.JSX.Element;
|
|
15
|
+
'chevron-down': React.JSX.Element;
|
|
16
|
+
'chevron-left': React.JSX.Element;
|
|
17
|
+
'chevron-right': React.JSX.Element;
|
|
18
|
+
'chevron-up': React.JSX.Element;
|
|
19
|
+
'classification-document': React.JSX.Element;
|
|
20
|
+
'classification-image': React.JSX.Element;
|
|
21
|
+
'classification-page': React.JSX.Element;
|
|
22
|
+
'classify-and-unbundle': React.JSX.Element;
|
|
23
|
+
clipboard: React.JSX.Element;
|
|
24
|
+
'coffee-1': React.JSX.Element;
|
|
25
|
+
'coffee-2': React.JSX.Element;
|
|
26
|
+
'coffee-fail': React.JSX.Element;
|
|
27
|
+
coffeecup: React.JSX.Element;
|
|
28
|
+
coffeesteam: React.JSX.Element;
|
|
29
|
+
'company-name': React.JSX.Element;
|
|
30
|
+
'confidence-bar-1': React.JSX.Element;
|
|
31
|
+
'confidence-bar-2': React.JSX.Element;
|
|
32
|
+
'confidence-bar-3': React.JSX.Element;
|
|
33
|
+
'confidence-bar-4': React.JSX.Element;
|
|
34
|
+
'confidence-bars': React.JSX.Element;
|
|
35
|
+
configure: React.JSX.Element;
|
|
36
|
+
crowdlabel: React.JSX.Element;
|
|
37
|
+
currency: React.JSX.Element;
|
|
38
|
+
dashboard: React.JSX.Element;
|
|
39
|
+
'data-and-access': React.JSX.Element;
|
|
40
|
+
database: React.JSX.Element;
|
|
41
|
+
date: React.JSX.Element;
|
|
42
|
+
draggable: React.JSX.Element;
|
|
43
|
+
droplet: React.JSX.Element;
|
|
44
|
+
edit: React.JSX.Element;
|
|
45
|
+
education: React.JSX.Element;
|
|
46
|
+
ellipsis: React.JSX.Element;
|
|
47
|
+
'elmos-fire': React.JSX.Element;
|
|
48
|
+
email: React.JSX.Element;
|
|
49
|
+
enterprise: React.JSX.Element;
|
|
50
|
+
extraction: React.JSX.Element;
|
|
51
|
+
eye: React.JSX.Element;
|
|
52
|
+
file: React.JSX.Element;
|
|
53
|
+
fileHappy: React.JSX.Element;
|
|
54
|
+
filter: React.JSX.Element;
|
|
55
|
+
'filter-outline': React.JSX.Element;
|
|
56
|
+
folder: React.JSX.Element;
|
|
57
|
+
form: React.JSX.Element;
|
|
58
|
+
gallery: React.JSX.Element;
|
|
59
|
+
graphiql: React.JSX.Element;
|
|
60
|
+
happy: React.JSX.Element;
|
|
61
|
+
'help-solid': React.JSX.Element;
|
|
62
|
+
help: React.JSX.Element;
|
|
63
|
+
highlight: React.JSX.Element;
|
|
64
|
+
'highlight-outline': React.JSX.Element;
|
|
65
|
+
'indico-logo-white': React.JSX.Element;
|
|
66
|
+
'indico-o': React.JSX.Element;
|
|
67
|
+
info: React.JSX.Element;
|
|
68
|
+
kabob: React.JSX.Element;
|
|
69
|
+
key: React.JSX.Element;
|
|
70
|
+
label: React.JSX.Element;
|
|
71
|
+
'layout-complex': React.JSX.Element;
|
|
72
|
+
'layout-simple': React.JSX.Element;
|
|
73
|
+
location: React.JSX.Element;
|
|
74
|
+
lock: React.JSX.Element;
|
|
75
|
+
menu: React.JSX.Element;
|
|
76
|
+
'model-import': React.JSX.Element;
|
|
77
|
+
'model-starter': React.JSX.Element;
|
|
78
|
+
moon: React.JSX.Element;
|
|
79
|
+
moonbow: React.JSX.Element;
|
|
80
|
+
'no-format': React.JSX.Element;
|
|
81
|
+
'object-detection': React.JSX.Element;
|
|
82
|
+
organizations: React.JSX.Element;
|
|
83
|
+
output: React.JSX.Element;
|
|
84
|
+
'page-thumbnail': React.JSX.Element;
|
|
85
|
+
'pay-as-you-go': React.JSX.Element;
|
|
86
|
+
person: React.JSX.Element;
|
|
87
|
+
phone: React.JSX.Element;
|
|
88
|
+
pin: React.JSX.Element;
|
|
89
|
+
plus: React.JSX.Element;
|
|
90
|
+
pointer: React.JSX.Element;
|
|
91
|
+
popup: React.JSX.Element;
|
|
92
|
+
price: React.JSX.Element;
|
|
93
|
+
'radio-button': React.JSX.Element;
|
|
94
|
+
recruiter: React.JSX.Element;
|
|
95
|
+
regex: React.JSX.Element;
|
|
96
|
+
reject: React.JSX.Element;
|
|
97
|
+
repair: React.JSX.Element;
|
|
98
|
+
research: React.JSX.Element;
|
|
99
|
+
retrain: React.JSX.Element;
|
|
100
|
+
sad: React.JSX.Element;
|
|
101
|
+
search: React.JSX.Element;
|
|
102
|
+
shrug: React.JSX.Element;
|
|
103
|
+
signature: React.JSX.Element;
|
|
104
|
+
'sort-down': React.JSX.Element;
|
|
105
|
+
split: React.JSX.Element;
|
|
106
|
+
'step-forward': React.JSX.Element;
|
|
107
|
+
sun: React.JSX.Element;
|
|
108
|
+
surround: React.JSX.Element;
|
|
109
|
+
'surround-outline': React.JSX.Element;
|
|
110
|
+
swagger: React.JSX.Element;
|
|
111
|
+
text: React.JSX.Element;
|
|
112
|
+
'thumbs-down': React.JSX.Element;
|
|
113
|
+
'thumbs-up': React.JSX.Element;
|
|
114
|
+
time: React.JSX.Element;
|
|
115
|
+
trash: React.JSX.Element;
|
|
116
|
+
unlock: React.JSX.Element;
|
|
117
|
+
upload: React.JSX.Element;
|
|
118
|
+
url: React.JSX.Element;
|
|
119
|
+
user: React.JSX.Element;
|
|
120
|
+
wand: React.JSX.Element;
|
|
121
|
+
warning: React.JSX.Element;
|
|
122
|
+
workflows: React.JSX.Element;
|
|
123
|
+
'x-close': React.JSX.Element;
|
|
124
|
+
'zoom-in': React.JSX.Element;
|
|
125
|
+
'zoom-out': React.JSX.Element;
|
|
126
|
+
};
|
|
127
|
+
export { indicons };
|