uibee 3.2.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/alert/alert.d.ts +15 -0
- package/dist/components/alert/alert.js +29 -0
- package/dist/components/badge/badge.d.ts +16 -0
- package/dist/components/badge/badge.js +26 -0
- package/dist/components/buttons/button.d.ts +25 -0
- package/dist/components/buttons/button.js +44 -0
- package/dist/components/code/code.d.ts +23 -0
- package/dist/components/code/code.js +39 -0
- package/dist/components/confirm/confirmPopup.d.ts +23 -0
- package/dist/components/confirm/confirmPopup.js +52 -0
- package/dist/components/container/accordion.d.ts +25 -0
- package/dist/components/container/accordion.js +41 -0
- package/dist/components/container/card.d.ts +13 -0
- package/dist/components/container/card.js +10 -0
- package/dist/components/container/expandableCard.d.ts +32 -0
- package/dist/components/container/expandableCard.js +70 -0
- package/dist/components/container/glassCard.d.ts +13 -0
- package/dist/components/container/glassCard.js +10 -0
- package/dist/components/container/highlight.d.ts +10 -0
- package/dist/components/container/highlight.js +10 -0
- package/dist/components/container/iconBubble.d.ts +25 -0
- package/dist/components/container/iconBubble.js +21 -0
- package/dist/components/container/leftBarPanel.d.ts +15 -0
- package/dist/components/container/leftBarPanel.js +10 -0
- package/dist/components/container/page.d.ts +15 -0
- package/dist/components/container/page.js +16 -0
- package/dist/components/container/pulseDot.d.ts +12 -0
- package/dist/components/container/pulseDot.js +23 -0
- package/dist/components/container/statCard.d.ts +18 -0
- package/dist/components/container/statCard.js +25 -0
- package/dist/components/container/tabs.d.ts +35 -0
- package/dist/components/container/tabs.js +36 -0
- package/dist/components/empty/emptyState.d.ts +19 -0
- package/dist/components/empty/emptyState.js +27 -0
- package/dist/components/footer/footer.d.ts +49 -0
- package/dist/components/footer/footer.js +109 -0
- package/dist/components/footer/loginContent.d.ts +18 -0
- package/dist/components/footer/loginContent.js +138 -0
- package/dist/components/inputs/checkbox.d.ts +20 -0
- package/dist/components/inputs/checkbox.js +76 -0
- package/dist/components/inputs/fileInput.d.ts +19 -0
- package/dist/components/inputs/fileInput.js +108 -0
- package/dist/components/inputs/input.d.ts +16 -0
- package/dist/components/inputs/input.js +157 -0
- package/dist/components/inputs/multiSelect.d.ts +37 -0
- package/dist/components/inputs/multiSelect.js +99 -0
- package/dist/components/inputs/radio.d.ts +20 -0
- package/dist/components/inputs/radio.js +70 -0
- package/dist/components/inputs/range.d.ts +14 -0
- package/dist/components/inputs/range.js +60 -0
- package/dist/components/inputs/searchInput.d.ts +11 -0
- package/dist/components/inputs/searchInput.js +56 -0
- package/dist/components/inputs/select.d.ts +42 -0
- package/dist/components/inputs/select.js +164 -0
- package/dist/components/inputs/shared/colorPickerPopup.js +293 -0
- package/dist/components/inputs/shared/dateTimePickerPopup.js +225 -0
- package/dist/components/inputs/shared/fieldWrapper.js +33 -0
- package/dist/components/inputs/shared/index.js +6 -0
- package/dist/components/inputs/shared/inputError.js +17 -0
- package/dist/components/inputs/shared/inputInfo.js +13 -0
- package/dist/components/inputs/shared/inputLabel.js +19 -0
- package/dist/components/inputs/switch.d.ts +14 -0
- package/dist/components/inputs/switch.js +37 -0
- package/dist/components/inputs/tagInput.d.ts +31 -0
- package/dist/components/inputs/tagInput.js +72 -0
- package/dist/components/inputs/textarea.d.ts +14 -0
- package/dist/components/inputs/textarea.js +76 -0
- package/dist/components/inputs/toggle.d.ts +21 -0
- package/dist/components/inputs/toggle.js +33 -0
- package/dist/components/login/loginPage.d.ts +15 -0
- package/dist/components/login/loginPage.js +80 -0
- package/dist/components/logo/logo.d.ts +9 -0
- package/dist/components/logo/logo.js +138 -0
- package/dist/components/logo/logoSmall.d.ts +4 -0
- package/dist/components/logo/logoSmall.js +56 -0
- package/dist/components/markdownrender/markdownRender.d.ts +16 -0
- package/dist/components/markdownrender/markdownRender.js +59 -0
- package/dist/components/modal/modal.d.ts +22 -0
- package/dist/components/modal/modal.js +59 -0
- package/dist/components/navbar/bubble.js +36 -0
- package/dist/components/navbar/navbar.d.ts +50 -0
- package/dist/components/navbar/navbar.js +99 -0
- package/dist/components/navbar/navbarDropdown.d.ts +15 -0
- package/dist/components/navbar/navbarDropdown.js +63 -0
- package/dist/components/navbar/navbarItem.d.ts +23 -0
- package/dist/components/navbar/navbarItem.js +38 -0
- package/dist/components/sidebar/sidebar.d.ts +34 -0
- package/dist/components/sidebar/sidebar.js +135 -0
- package/dist/components/spinner/spinner.d.ts +11 -0
- package/dist/components/spinner/spinner.js +16 -0
- package/dist/components/table/body.js +253 -0
- package/dist/components/table/constants.js +58 -0
- package/dist/components/table/empty.js +24 -0
- package/dist/components/table/format.js +39 -0
- package/dist/components/table/header.js +109 -0
- package/dist/components/table/menu.d.ts +18 -0
- package/dist/components/table/menu.js +76 -0
- package/dist/components/table/pagination.d.ts +14 -0
- package/dist/components/table/pagination.js +130 -0
- package/dist/components/table/skeleton.js +39 -0
- package/dist/components/table/table.d.ts +7 -0
- package/dist/components/table/table.js +213 -0
- package/dist/components/table/types.d.ts +52 -0
- package/dist/components/table/utils.js +9 -0
- package/dist/components/toast/toastItem.js +61 -0
- package/dist/components/toast/toaster.d.ts +13 -0
- package/dist/components/toast/toaster.js +117 -0
- package/dist/components/toggle/language.d.ts +10 -0
- package/dist/components/toggle/language.js +34 -0
- package/dist/components/toggle/theme.d.ts +8 -0
- package/dist/components/toggle/theme.js +135 -0
- package/dist/components/version/version.d.ts +13 -0
- package/dist/components/version/version.js +19 -0
- package/dist/components/vulnerability/constants.d.ts +4 -0
- package/dist/components/vulnerability/constants.js +17 -0
- package/dist/components/vulnerability/severityPill.d.ts +15 -0
- package/dist/components/vulnerability/severityPill.js +20 -0
- package/dist/{style.css → globals.css} +155 -226
- package/dist/hooks/useClickOutside.d.ts +6 -0
- package/dist/{useClickOutside-Cmp-RsP3.js → hooks/useClickOutside.js} +1 -1
- package/dist/hooks/useDarkMode.d.ts +4 -0
- package/dist/hooks/useDarkMode.js +19 -0
- package/dist/hooks/useVisibility.d.ts +7 -0
- package/dist/hooks/useVisibility.js +25 -0
- package/dist/icons/icons.d.ts +420 -0
- package/dist/{icons-lZYQ6Vlr.js → icons/icons.js} +1 -1
- package/dist/src/components/index.d.ts +51 -901
- package/dist/src/components/index.js +49 -4160
- package/dist/src/hooks/index.d.ts +3 -14
- package/dist/src/hooks/index.js +3 -42
- package/dist/src/icons/index.d.ts +1 -419
- package/dist/src/icons/index.js +1 -1
- package/dist/src/styles/index.js +1 -1
- package/dist/src/utils/index.d.ts +5 -37
- package/dist/src/utils/index.js +5 -124
- package/dist/utils/auth/callback.d.ts +14 -0
- package/dist/utils/auth/callback.js +53 -0
- package/dist/utils/auth/getDomain.js +6 -0
- package/dist/utils/auth/login.d.ts +12 -0
- package/dist/utils/auth/login.js +17 -0
- package/dist/utils/auth/logout.d.ts +10 -0
- package/dist/utils/auth/logout.js +20 -0
- package/dist/utils/auth/token.d.ts +10 -0
- package/dist/utils/auth/token.js +30 -0
- package/dist/utils/logoConsoleOutput/logoConsoleOutput.d.ts +4 -0
- package/dist/utils/logoConsoleOutput/logoConsoleOutput.js +11 -0
- package/package.json +1 -1
- package/src/components/buttons/button.tsx +2 -0
- package/src/components/footer/footer.tsx +65 -28
- package/src/components/index.ts +0 -1
- package/src/components/inputs/checkbox.tsx +2 -0
- package/src/components/inputs/input.tsx +2 -0
- package/src/components/inputs/radio.tsx +2 -0
- package/src/components/inputs/range.tsx +2 -0
- package/src/components/inputs/shared/colorPickerPopup.tsx +2 -0
- package/src/components/inputs/shared/dateTimePickerPopup.tsx +2 -0
- package/src/components/inputs/textarea.tsx +2 -0
- package/src/components/inputs/toggle.tsx +2 -0
- package/src/components/sidebar/sidebar.tsx +37 -10
- package/src/components/toast/toastItem.tsx +2 -0
- package/src/globals.css +6 -1
- package/tsdown.config.ts +1 -0
|
@@ -1,901 +1,51 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
className?: string;
|
|
53
|
-
options: CheckboxOption[];
|
|
54
|
-
value?: (string | number)[];
|
|
55
|
-
onChange?: (value: (string | number)[]) => void;
|
|
56
|
-
textSize?: 'sm' | 'md';
|
|
57
|
-
};
|
|
58
|
-
declare function Checkbox(props: CheckboxProps): import("react").JSX.Element;
|
|
59
|
-
//#endregion
|
|
60
|
-
//#region src/components/inputs/select.d.ts
|
|
61
|
-
type Option$1 = {
|
|
62
|
-
value: string | number;
|
|
63
|
-
label: string;
|
|
64
|
-
image?: string;
|
|
65
|
-
};
|
|
66
|
-
type SelectProps = {
|
|
67
|
-
label?: string;
|
|
68
|
-
name: string;
|
|
69
|
-
value?: string | number | null;
|
|
70
|
-
onChange?: (value: string | number | null) => void;
|
|
71
|
-
options: Option$1[];
|
|
72
|
-
error?: string;
|
|
73
|
-
className?: string;
|
|
74
|
-
disabled?: boolean;
|
|
75
|
-
required?: boolean;
|
|
76
|
-
placeholder?: string;
|
|
77
|
-
info?: string;
|
|
78
|
-
description?: string;
|
|
79
|
-
clearable?: boolean;
|
|
80
|
-
searchable?: boolean;
|
|
81
|
-
textSize?: 'sm' | 'md';
|
|
82
|
-
};
|
|
83
|
-
declare function Select({
|
|
84
|
-
label,
|
|
85
|
-
name,
|
|
86
|
-
value,
|
|
87
|
-
onChange,
|
|
88
|
-
options,
|
|
89
|
-
error,
|
|
90
|
-
className,
|
|
91
|
-
disabled,
|
|
92
|
-
required,
|
|
93
|
-
placeholder,
|
|
94
|
-
info,
|
|
95
|
-
description,
|
|
96
|
-
clearable,
|
|
97
|
-
searchable,
|
|
98
|
-
textSize
|
|
99
|
-
}: SelectProps): import("react").JSX.Element;
|
|
100
|
-
//#endregion
|
|
101
|
-
//#region src/components/inputs/tagInput.d.ts
|
|
102
|
-
type TagInputProps = {
|
|
103
|
-
label?: string;
|
|
104
|
-
name: string;
|
|
105
|
-
value?: string[];
|
|
106
|
-
onChange?: (value: string[]) => void;
|
|
107
|
-
placeholder?: string;
|
|
108
|
-
error?: string;
|
|
109
|
-
className?: string;
|
|
110
|
-
disabled?: boolean;
|
|
111
|
-
required?: boolean;
|
|
112
|
-
info?: string;
|
|
113
|
-
description?: string;
|
|
114
|
-
textSize?: 'sm' | 'md';
|
|
115
|
-
};
|
|
116
|
-
declare function TagInput({
|
|
117
|
-
label,
|
|
118
|
-
name,
|
|
119
|
-
value,
|
|
120
|
-
onChange,
|
|
121
|
-
placeholder,
|
|
122
|
-
error,
|
|
123
|
-
className,
|
|
124
|
-
disabled,
|
|
125
|
-
required,
|
|
126
|
-
info,
|
|
127
|
-
description,
|
|
128
|
-
textSize
|
|
129
|
-
}: TagInputProps): import("react").JSX.Element;
|
|
130
|
-
//#endregion
|
|
131
|
-
//#region src/components/inputs/multiSelect.d.ts
|
|
132
|
-
type Option = {
|
|
133
|
-
label: string;
|
|
134
|
-
value: string;
|
|
135
|
-
};
|
|
136
|
-
type MultiSelectProps = {
|
|
137
|
-
label?: string;
|
|
138
|
-
name: string;
|
|
139
|
-
options: Option[];
|
|
140
|
-
value?: string[];
|
|
141
|
-
onChange?: (value: string[]) => void;
|
|
142
|
-
placeholder?: string;
|
|
143
|
-
error?: string;
|
|
144
|
-
className?: string;
|
|
145
|
-
disabled?: boolean;
|
|
146
|
-
required?: boolean;
|
|
147
|
-
info?: string;
|
|
148
|
-
description?: string;
|
|
149
|
-
textSize?: 'sm' | 'md';
|
|
150
|
-
};
|
|
151
|
-
declare function MultiSelect({
|
|
152
|
-
label,
|
|
153
|
-
name,
|
|
154
|
-
options,
|
|
155
|
-
value,
|
|
156
|
-
onChange,
|
|
157
|
-
placeholder,
|
|
158
|
-
error,
|
|
159
|
-
className,
|
|
160
|
-
disabled,
|
|
161
|
-
required,
|
|
162
|
-
info,
|
|
163
|
-
description,
|
|
164
|
-
textSize
|
|
165
|
-
}: MultiSelectProps): import("react").JSX.Element;
|
|
166
|
-
//#endregion
|
|
167
|
-
//#region src/components/inputs/switch.d.ts
|
|
168
|
-
type SwitchProps = Omit<React.ComponentProps<'input'>, 'name'> & {
|
|
169
|
-
name: string;
|
|
170
|
-
label?: string;
|
|
171
|
-
error?: string;
|
|
172
|
-
info?: string;
|
|
173
|
-
description?: string;
|
|
174
|
-
className?: string;
|
|
175
|
-
switchOnly?: boolean;
|
|
176
|
-
textSize?: 'sm' | 'md';
|
|
177
|
-
};
|
|
178
|
-
declare function Switch(props: SwitchProps): import("react").JSX.Element;
|
|
179
|
-
//#endregion
|
|
180
|
-
//#region src/components/inputs/radio.d.ts
|
|
181
|
-
type RadioOption = {
|
|
182
|
-
label: string;
|
|
183
|
-
value: string | number;
|
|
184
|
-
};
|
|
185
|
-
type RadioProps = Omit<React.ComponentProps<'input'>, 'name' | 'onChange' | 'value'> & {
|
|
186
|
-
name: string;
|
|
187
|
-
label?: string;
|
|
188
|
-
error?: string;
|
|
189
|
-
info?: string;
|
|
190
|
-
description?: string;
|
|
191
|
-
className?: string;
|
|
192
|
-
options: RadioOption[];
|
|
193
|
-
value?: string | number | null;
|
|
194
|
-
onChange?: (value: string | number) => void;
|
|
195
|
-
textSize?: 'sm' | 'md';
|
|
196
|
-
};
|
|
197
|
-
declare function Radio(props: RadioProps): import("react").JSX.Element;
|
|
198
|
-
//#endregion
|
|
199
|
-
//#region src/components/inputs/range.d.ts
|
|
200
|
-
type RangeProps = Omit<React.ComponentProps<'input'>, 'name'> & {
|
|
201
|
-
name: string;
|
|
202
|
-
label?: string;
|
|
203
|
-
error?: string;
|
|
204
|
-
className?: string;
|
|
205
|
-
info?: string;
|
|
206
|
-
description?: string;
|
|
207
|
-
showValue?: boolean;
|
|
208
|
-
textSize?: 'sm' | 'md';
|
|
209
|
-
};
|
|
210
|
-
declare function Range(props: RangeProps): import("react").JSX.Element;
|
|
211
|
-
//#endregion
|
|
212
|
-
//#region src/components/logo/logo.d.ts
|
|
213
|
-
interface LogoProps {
|
|
214
|
-
className?: string;
|
|
215
|
-
}
|
|
216
|
-
declare function Logo({
|
|
217
|
-
className
|
|
218
|
-
}: LogoProps): import("react").JSX.Element;
|
|
219
|
-
//#endregion
|
|
220
|
-
//#region src/components/logo/logoSmall.d.ts
|
|
221
|
-
declare function LogoSmall(): import("react").JSX.Element;
|
|
222
|
-
//#endregion
|
|
223
|
-
//#region src/components/toggle/theme.d.ts
|
|
224
|
-
declare function ThemeToggle({
|
|
225
|
-
className
|
|
226
|
-
}: {
|
|
227
|
-
className?: string;
|
|
228
|
-
}): import("react").JSX.Element;
|
|
229
|
-
//#endregion
|
|
230
|
-
//#region src/components/toggle/language.d.ts
|
|
231
|
-
declare function LanguageToggle({
|
|
232
|
-
language
|
|
233
|
-
}: {
|
|
234
|
-
language?: Language;
|
|
235
|
-
}): import("react").JSX.Element;
|
|
236
|
-
//#endregion
|
|
237
|
-
//#region src/components/navbar/navbar.d.ts
|
|
238
|
-
type NavbarProps = {
|
|
239
|
-
children: React$1.ReactNode;
|
|
240
|
-
bubble?: {
|
|
241
|
-
lang?: BubbleContent;
|
|
242
|
-
theme?: BubbleContent;
|
|
243
|
-
login?: BubbleContent;
|
|
244
|
-
};
|
|
245
|
-
className?: string;
|
|
246
|
-
disableLanguageToggle?: boolean;
|
|
247
|
-
disableThemeToggle?: boolean;
|
|
248
|
-
innerClassName?: string;
|
|
249
|
-
lang?: Language;
|
|
250
|
-
loginPath: string;
|
|
251
|
-
logoutPath: string;
|
|
252
|
-
onlyLogo?: boolean;
|
|
253
|
-
profilePath?: string;
|
|
254
|
-
theme?: string;
|
|
255
|
-
token?: string | null;
|
|
256
|
-
};
|
|
257
|
-
type BubbleContent = {
|
|
258
|
-
condition: boolean;
|
|
259
|
-
href: string;
|
|
260
|
-
className: string;
|
|
261
|
-
text: string;
|
|
262
|
-
fill: string;
|
|
263
|
-
stroke: string;
|
|
264
|
-
x: string;
|
|
265
|
-
hide: boolean;
|
|
266
|
-
handleHide: (event: React$1.MouseEvent<SVGSVGElement, MouseEvent>) => void;
|
|
267
|
-
};
|
|
268
|
-
declare function Navbar({
|
|
269
|
-
children,
|
|
270
|
-
bubble,
|
|
271
|
-
className,
|
|
272
|
-
disableLanguageToggle,
|
|
273
|
-
disableThemeToggle,
|
|
274
|
-
innerClassName,
|
|
275
|
-
lang,
|
|
276
|
-
loginPath,
|
|
277
|
-
logoutPath,
|
|
278
|
-
onlyLogo,
|
|
279
|
-
profilePath,
|
|
280
|
-
token
|
|
281
|
-
}: NavbarProps): React$1.JSX.Element;
|
|
282
|
-
//#endregion
|
|
283
|
-
//#region src/components/navbar/navbarItem.d.ts
|
|
284
|
-
type NavItemProps = {
|
|
285
|
-
href: string;
|
|
286
|
-
children: ReactNode;
|
|
287
|
-
external?: boolean;
|
|
288
|
-
target?: string;
|
|
289
|
-
rel?: string;
|
|
290
|
-
title?: string;
|
|
291
|
-
icon?: ReactNode;
|
|
292
|
-
};
|
|
293
|
-
declare function NavItem({
|
|
294
|
-
href,
|
|
295
|
-
children,
|
|
296
|
-
external,
|
|
297
|
-
target,
|
|
298
|
-
rel,
|
|
299
|
-
title,
|
|
300
|
-
icon
|
|
301
|
-
}: NavItemProps): import("react").JSX.Element;
|
|
302
|
-
//#endregion
|
|
303
|
-
//#region src/components/navbar/navbarDropdown.d.ts
|
|
304
|
-
type NavDropdownProps = {
|
|
305
|
-
children: ReactNode;
|
|
306
|
-
title: string;
|
|
307
|
-
className?: string;
|
|
308
|
-
};
|
|
309
|
-
declare function NavDropdown({
|
|
310
|
-
children,
|
|
311
|
-
title,
|
|
312
|
-
className
|
|
313
|
-
}: NavDropdownProps): React$1.JSX.Element;
|
|
314
|
-
//#endregion
|
|
315
|
-
//#region src/components/footer/footer.d.ts
|
|
316
|
-
type Lang = 'no' | 'en';
|
|
317
|
-
type BilingualString = string | {
|
|
318
|
-
no: string;
|
|
319
|
-
en: string;
|
|
320
|
-
};
|
|
321
|
-
type FooterColumn = {
|
|
322
|
-
heading: BilingualString;
|
|
323
|
-
items: {
|
|
324
|
-
label: BilingualString;
|
|
325
|
-
href?: string;
|
|
326
|
-
}[];
|
|
327
|
-
};
|
|
328
|
-
type FooterSocialLink = {
|
|
329
|
-
title: string;
|
|
330
|
-
href: string;
|
|
331
|
-
icon: ReactNode;
|
|
332
|
-
hoverClass?: string;
|
|
333
|
-
};
|
|
334
|
-
type FooterProps = {
|
|
335
|
-
logo: ReactNode;
|
|
336
|
-
sponsor?: {
|
|
337
|
-
node: ReactNode;
|
|
338
|
-
label?: BilingualString;
|
|
339
|
-
};
|
|
340
|
-
columns?: FooterColumn[];
|
|
341
|
-
socialLinks?: FooterSocialLink[];
|
|
342
|
-
copyright: BilingualString;
|
|
343
|
-
version?: {
|
|
344
|
-
tag: string;
|
|
345
|
-
href: string;
|
|
346
|
-
};
|
|
347
|
-
lang?: Lang;
|
|
348
|
-
className?: string;
|
|
349
|
-
};
|
|
350
|
-
declare function Footer({
|
|
351
|
-
logo,
|
|
352
|
-
sponsor,
|
|
353
|
-
columns,
|
|
354
|
-
socialLinks,
|
|
355
|
-
copyright,
|
|
356
|
-
version,
|
|
357
|
-
lang,
|
|
358
|
-
className
|
|
359
|
-
}: FooterProps): import("react").JSX.Element;
|
|
360
|
-
//#endregion
|
|
361
|
-
//#region src/components/footer/loginContent.d.ts
|
|
362
|
-
declare const loginAddress: FooterColumn;
|
|
363
|
-
declare const loginEmail: (email: string) => FooterColumn;
|
|
364
|
-
declare const loginCopyright: {
|
|
365
|
-
readonly no: "Login - Linjeforeningen for IT, NO 811 940 372";
|
|
366
|
-
readonly en: "Login - Association for IT, NO 811 940 372";
|
|
367
|
-
};
|
|
368
|
-
declare const loginSponsor: {
|
|
369
|
-
readonly label: {
|
|
370
|
-
readonly no: "Hovedsamarbeidspartner";
|
|
371
|
-
readonly en: "Main partner";
|
|
372
|
-
};
|
|
373
|
-
};
|
|
374
|
-
declare const loginSocialLinks: FooterSocialLink[];
|
|
375
|
-
//#endregion
|
|
376
|
-
//#region src/components/container/page.d.ts
|
|
377
|
-
type PageContainerProps = {
|
|
378
|
-
title: string;
|
|
379
|
-
children: React.ReactNode;
|
|
380
|
-
className?: string;
|
|
381
|
-
innerClassName?: string;
|
|
382
|
-
};
|
|
383
|
-
declare function PageContainer({
|
|
384
|
-
title,
|
|
385
|
-
children,
|
|
386
|
-
className,
|
|
387
|
-
innerClassName
|
|
388
|
-
}: PageContainerProps): import("react").JSX.Element;
|
|
389
|
-
//#endregion
|
|
390
|
-
//#region src/components/container/highlight.d.ts
|
|
391
|
-
declare function Highlight({
|
|
392
|
-
children,
|
|
393
|
-
className
|
|
394
|
-
}: {
|
|
395
|
-
children: React.ReactNode;
|
|
396
|
-
className?: string;
|
|
397
|
-
}): import("react").JSX.Element;
|
|
398
|
-
//#endregion
|
|
399
|
-
//#region src/components/container/leftBarPanel.d.ts
|
|
400
|
-
type LeftBarPanelProps = {
|
|
401
|
-
color: string;
|
|
402
|
-
children: ReactNode;
|
|
403
|
-
className?: string;
|
|
404
|
-
};
|
|
405
|
-
declare function LeftBarPanel({
|
|
406
|
-
color,
|
|
407
|
-
children,
|
|
408
|
-
className
|
|
409
|
-
}: LeftBarPanelProps): import("react").JSX.Element;
|
|
410
|
-
//#endregion
|
|
411
|
-
//#region src/components/container/card.d.ts
|
|
412
|
-
type CardProps = {
|
|
413
|
-
children: ReactNode;
|
|
414
|
-
className?: string;
|
|
415
|
-
};
|
|
416
|
-
declare function Card({
|
|
417
|
-
children,
|
|
418
|
-
className
|
|
419
|
-
}: CardProps): import("react").JSX.Element;
|
|
420
|
-
//#endregion
|
|
421
|
-
//#region src/components/container/iconBubble.d.ts
|
|
422
|
-
declare const tones: {
|
|
423
|
-
readonly amber: "bg-amber-500/10 text-amber-400";
|
|
424
|
-
readonly blue: "bg-sky-500/10 text-sky-400";
|
|
425
|
-
readonly emerald: "bg-emerald-500/10 text-emerald-400";
|
|
426
|
-
readonly rose: "bg-rose-500/10 text-rose-400";
|
|
427
|
-
readonly slate: "bg-login-600 text-login-100";
|
|
428
|
-
readonly violet: "bg-violet-500/10 text-violet-400";
|
|
429
|
-
readonly orange: "bg-login/10 text-login";
|
|
430
|
-
};
|
|
431
|
-
type IconBubbleProps = {
|
|
432
|
-
icon: ElementType;
|
|
433
|
-
tone?: keyof typeof tones;
|
|
434
|
-
size?: 'sm' | 'md' | 'lg';
|
|
435
|
-
};
|
|
436
|
-
type IconBubbleTone = keyof typeof tones;
|
|
437
|
-
declare function IconBubble({
|
|
438
|
-
icon: Icon,
|
|
439
|
-
tone,
|
|
440
|
-
size
|
|
441
|
-
}: IconBubbleProps): import("react").JSX.Element;
|
|
442
|
-
//#endregion
|
|
443
|
-
//#region src/components/container/statCard.d.ts
|
|
444
|
-
type StatCardProps = {
|
|
445
|
-
label: string;
|
|
446
|
-
value: string;
|
|
447
|
-
icon: ElementType;
|
|
448
|
-
tone?: IconBubbleTone;
|
|
449
|
-
};
|
|
450
|
-
declare function StatCard({
|
|
451
|
-
label,
|
|
452
|
-
value,
|
|
453
|
-
icon,
|
|
454
|
-
tone
|
|
455
|
-
}: StatCardProps): import("react").JSX.Element;
|
|
456
|
-
//#endregion
|
|
457
|
-
//#region src/components/container/tabs.d.ts
|
|
458
|
-
type Tab = {
|
|
459
|
-
id: string;
|
|
460
|
-
label: ReactNode;
|
|
461
|
-
};
|
|
462
|
-
type TabsProps = {
|
|
463
|
-
tabs: Tab[];
|
|
464
|
-
defaultTab?: string;
|
|
465
|
-
activeTab?: string;
|
|
466
|
-
onTabChange?: (id: string) => void;
|
|
467
|
-
children: ReactNode;
|
|
468
|
-
className?: string;
|
|
469
|
-
};
|
|
470
|
-
type TabPanelProps = {
|
|
471
|
-
id: string;
|
|
472
|
-
activeTab: string;
|
|
473
|
-
children: ReactNode;
|
|
474
|
-
};
|
|
475
|
-
declare function Tabs({
|
|
476
|
-
tabs,
|
|
477
|
-
defaultTab,
|
|
478
|
-
activeTab: controlledTab,
|
|
479
|
-
onTabChange,
|
|
480
|
-
children,
|
|
481
|
-
className
|
|
482
|
-
}: TabsProps): import("react").JSX.Element;
|
|
483
|
-
declare function TabPanel({
|
|
484
|
-
id,
|
|
485
|
-
activeTab,
|
|
486
|
-
children
|
|
487
|
-
}: TabPanelProps): import("react").JSX.Element | null;
|
|
488
|
-
//#endregion
|
|
489
|
-
//#region src/components/container/accordion.d.ts
|
|
490
|
-
type AccordionProps = {
|
|
491
|
-
title: ReactNode;
|
|
492
|
-
children: ReactNode;
|
|
493
|
-
defaultOpen?: boolean;
|
|
494
|
-
className?: string;
|
|
495
|
-
};
|
|
496
|
-
type AccordionGroupProps = {
|
|
497
|
-
children: ReactNode;
|
|
498
|
-
className?: string;
|
|
499
|
-
};
|
|
500
|
-
declare function AccordionGroup({
|
|
501
|
-
children,
|
|
502
|
-
className
|
|
503
|
-
}: AccordionGroupProps): import("react").JSX.Element;
|
|
504
|
-
declare function Accordion({
|
|
505
|
-
title,
|
|
506
|
-
children,
|
|
507
|
-
defaultOpen,
|
|
508
|
-
className
|
|
509
|
-
}: AccordionProps): import("react").JSX.Element;
|
|
510
|
-
//#endregion
|
|
511
|
-
//#region src/components/container/pulseDot.d.ts
|
|
512
|
-
type PulseDotVariant = 'online' | 'offline' | 'warning' | 'unknown';
|
|
513
|
-
type PulseDotProps = {
|
|
514
|
-
variant?: PulseDotVariant;
|
|
515
|
-
size?: 'sm' | 'md' | 'lg';
|
|
516
|
-
};
|
|
517
|
-
declare function PulseDot({
|
|
518
|
-
variant,
|
|
519
|
-
size
|
|
520
|
-
}: PulseDotProps): import("react").JSX.Element;
|
|
521
|
-
//#endregion
|
|
522
|
-
//#region src/components/version/version.d.ts
|
|
523
|
-
type VersionTagProps = {
|
|
524
|
-
version?: string;
|
|
525
|
-
url?: string;
|
|
526
|
-
className?: string;
|
|
527
|
-
};
|
|
528
|
-
declare function VersionTag({
|
|
529
|
-
version,
|
|
530
|
-
url,
|
|
531
|
-
className
|
|
532
|
-
}: VersionTagProps): import("react").JSX.Element | undefined;
|
|
533
|
-
//#endregion
|
|
534
|
-
//#region src/components/login/loginPage.d.ts
|
|
535
|
-
declare function LoginPage({
|
|
536
|
-
title,
|
|
537
|
-
description,
|
|
538
|
-
redirectPath,
|
|
539
|
-
version,
|
|
540
|
-
btg,
|
|
541
|
-
handleSubmit,
|
|
542
|
-
guestRedirectPath,
|
|
543
|
-
guestText
|
|
544
|
-
}: LoginPageProps): import("react").JSX.Element;
|
|
545
|
-
//#endregion
|
|
546
|
-
//#region src/components/toast/toaster.d.ts
|
|
547
|
-
declare function toast(message: string, type: ToastType, duration?: number): void;
|
|
548
|
-
declare namespace toast {
|
|
549
|
-
var info: (message: string, duration?: number) => void;
|
|
550
|
-
var success: (message: string, duration?: number) => void;
|
|
551
|
-
var warning: (message: string, duration?: number) => void;
|
|
552
|
-
var error: (message: string, duration?: number) => void;
|
|
553
|
-
}
|
|
554
|
-
declare function Toaster(): import("react").JSX.Element;
|
|
555
|
-
//#endregion
|
|
556
|
-
//#region src/components/buttons/button.d.ts
|
|
557
|
-
type ButtonProps = {
|
|
558
|
-
text?: string;
|
|
559
|
-
className?: string;
|
|
560
|
-
icon?: string | JSX.Element;
|
|
561
|
-
path?: string;
|
|
562
|
-
type?: 'button' | 'submit' | 'reset';
|
|
563
|
-
variant?: 'primary' | 'secondary' | 'warning' | 'danger' | 'success' | 'info';
|
|
564
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
565
|
-
disabled?: boolean;
|
|
566
|
-
};
|
|
567
|
-
declare function Button({
|
|
568
|
-
text,
|
|
569
|
-
className,
|
|
570
|
-
icon,
|
|
571
|
-
path,
|
|
572
|
-
variant,
|
|
573
|
-
type,
|
|
574
|
-
onClick,
|
|
575
|
-
disabled
|
|
576
|
-
}: ButtonProps): JSX.Element;
|
|
577
|
-
//#endregion
|
|
578
|
-
//#region src/components/alert/alert.d.ts
|
|
579
|
-
type AlertProps = {
|
|
580
|
-
children: ReactNode;
|
|
581
|
-
variant?: 'warning' | 'info';
|
|
582
|
-
className?: string;
|
|
583
|
-
};
|
|
584
|
-
declare function Alert({
|
|
585
|
-
children,
|
|
586
|
-
variant,
|
|
587
|
-
className
|
|
588
|
-
}: AlertProps): import("react").JSX.Element;
|
|
589
|
-
//#endregion
|
|
590
|
-
//#region src/components/table/types.d.ts
|
|
591
|
-
type TableColor = 'green' | 'yellow' | 'red' | 'blue' | 'gray' | 'orange' | 'purple';
|
|
592
|
-
type Column<T extends Record<string, unknown> = Record<string, unknown>> = {
|
|
593
|
-
key: keyof T & string;
|
|
594
|
-
label?: string;
|
|
595
|
-
sortable?: boolean;
|
|
596
|
-
width?: string;
|
|
597
|
-
align?: 'left' | 'center' | 'right';
|
|
598
|
-
highlight?: Record<string, TableColor>;
|
|
599
|
-
render?: (value: unknown, row: T) => ReactNode;
|
|
600
|
-
truncate?: boolean;
|
|
601
|
-
};
|
|
602
|
-
type SortState = {
|
|
603
|
-
column: string;
|
|
604
|
-
order: 'asc' | 'desc';
|
|
605
|
-
};
|
|
606
|
-
type Density = 'compact' | 'comfortable' | 'spacious';
|
|
607
|
-
type TableVariant = 'original' | 'modern';
|
|
608
|
-
type TableProps<T extends Record<string, unknown> = Record<string, unknown>> = {
|
|
609
|
-
data: T[];
|
|
610
|
-
columns: Column<T>[];
|
|
611
|
-
idKey?: keyof T & string;
|
|
612
|
-
variant?: TableVariant;
|
|
613
|
-
density?: Density;
|
|
614
|
-
striped?: boolean;
|
|
615
|
-
className?: string;
|
|
616
|
-
loading?: boolean;
|
|
617
|
-
loadingRows?: number;
|
|
618
|
-
emptyState?: ReactNode;
|
|
619
|
-
redirectPath?: string | {
|
|
620
|
-
path: string;
|
|
621
|
-
key?: string;
|
|
622
|
-
};
|
|
623
|
-
onRowClick?: (row: T, id: string) => void;
|
|
624
|
-
renderExpandedRow?: (row: T) => ReactNode;
|
|
625
|
-
selectable?: boolean;
|
|
626
|
-
selectedIds?: string[];
|
|
627
|
-
onSelectionChange?: (ids: string[]) => void;
|
|
628
|
-
urlState?: boolean;
|
|
629
|
-
sort?: SortState;
|
|
630
|
-
onSort?: (sort: SortState) => void;
|
|
631
|
-
pageSize?: number;
|
|
632
|
-
totalRows?: number;
|
|
633
|
-
page?: number;
|
|
634
|
-
onPageChange?: (page: number) => void;
|
|
635
|
-
hidePagination?: boolean;
|
|
636
|
-
menuItems?: (row: T, id: string) => ReactNode;
|
|
637
|
-
};
|
|
638
|
-
//#endregion
|
|
639
|
-
//#region src/components/table/menu.d.ts
|
|
640
|
-
declare function MenuButton({
|
|
641
|
-
icon,
|
|
642
|
-
text,
|
|
643
|
-
hotKey,
|
|
644
|
-
onClick,
|
|
645
|
-
className
|
|
646
|
-
}: {
|
|
647
|
-
icon: React$1.ReactNode;
|
|
648
|
-
text: string;
|
|
649
|
-
hotKey?: string;
|
|
650
|
-
onClick: () => void;
|
|
651
|
-
className?: string;
|
|
652
|
-
}): React$1.JSX.Element;
|
|
653
|
-
//#endregion
|
|
654
|
-
//#region src/components/table/table.d.ts
|
|
655
|
-
declare function Table<T extends Record<string, unknown> = Record<string, unknown>>(props: TableProps<T>): import("react").JSX.Element;
|
|
656
|
-
//#endregion
|
|
657
|
-
//#region src/components/table/pagination.d.ts
|
|
658
|
-
type PaginationProps = {
|
|
659
|
-
totalRows: number;
|
|
660
|
-
pageSize: number;
|
|
661
|
-
variant?: TableVariant;
|
|
662
|
-
urlState?: boolean;
|
|
663
|
-
page?: number;
|
|
664
|
-
onPageChange?: (page: number) => void;
|
|
665
|
-
};
|
|
666
|
-
declare function Pagination(props: PaginationProps): import("react").JSX.Element;
|
|
667
|
-
//#endregion
|
|
668
|
-
//#region src/components/markdownrender/markdownRender.d.ts
|
|
669
|
-
declare function MarkdownRender({
|
|
670
|
-
MDstr,
|
|
671
|
-
components,
|
|
672
|
-
className,
|
|
673
|
-
size
|
|
674
|
-
}: {
|
|
675
|
-
MDstr: string;
|
|
676
|
-
components?: Components;
|
|
677
|
-
className?: string;
|
|
678
|
-
size?: 'sm' | 'base' | 'lg' | 'xl';
|
|
679
|
-
}): import("react").JSX.Element;
|
|
680
|
-
//#endregion
|
|
681
|
-
//#region src/components/confirm/confirmPopup.d.ts
|
|
682
|
-
type ConfirmPopupProps = {
|
|
683
|
-
isOpen: boolean;
|
|
684
|
-
header: string;
|
|
685
|
-
description?: string;
|
|
686
|
-
confirmText?: string;
|
|
687
|
-
cancelText?: string;
|
|
688
|
-
onConfirm: () => void;
|
|
689
|
-
onCancel: () => void;
|
|
690
|
-
variant?: 'danger' | 'warning' | 'default';
|
|
691
|
-
};
|
|
692
|
-
declare function ConfirmPopup({
|
|
693
|
-
isOpen,
|
|
694
|
-
header,
|
|
695
|
-
description,
|
|
696
|
-
confirmText,
|
|
697
|
-
cancelText,
|
|
698
|
-
onConfirm,
|
|
699
|
-
onCancel,
|
|
700
|
-
variant
|
|
701
|
-
}: ConfirmPopupProps): import("react").JSX.Element | null;
|
|
702
|
-
//#endregion
|
|
703
|
-
//#region src/components/vulnerability/constants.d.ts
|
|
704
|
-
type SeverityLevel = 'critical' | 'high' | 'medium' | 'low' | 'unknown';
|
|
705
|
-
//#endregion
|
|
706
|
-
//#region src/components/vulnerability/severityPill.d.ts
|
|
707
|
-
type SeverityPillProps = {
|
|
708
|
-
severity: SeverityLevel;
|
|
709
|
-
count: number;
|
|
710
|
-
compact?: boolean;
|
|
711
|
-
};
|
|
712
|
-
declare function SeverityPill({
|
|
713
|
-
severity,
|
|
714
|
-
count,
|
|
715
|
-
compact
|
|
716
|
-
}: SeverityPillProps): import("react").JSX.Element | null;
|
|
717
|
-
//#endregion
|
|
718
|
-
//#region src/components/inputs/toggle.d.ts
|
|
719
|
-
type ToggleOption<T> = {
|
|
720
|
-
value: T;
|
|
721
|
-
label?: string;
|
|
722
|
-
text?: string;
|
|
723
|
-
icon?: React.ReactNode;
|
|
724
|
-
};
|
|
725
|
-
type ToggleProps<T> = {
|
|
726
|
-
value: T;
|
|
727
|
-
onChange: (value: T) => void;
|
|
728
|
-
left: ToggleOption<T>;
|
|
729
|
-
right: ToggleOption<T>;
|
|
730
|
-
};
|
|
731
|
-
declare function Toggle<T>({
|
|
732
|
-
value,
|
|
733
|
-
onChange,
|
|
734
|
-
left,
|
|
735
|
-
right
|
|
736
|
-
}: ToggleProps<T>): import("react").JSX.Element;
|
|
737
|
-
//#endregion
|
|
738
|
-
//#region src/components/inputs/fileInput.d.ts
|
|
739
|
-
type FileInputProps = {
|
|
740
|
-
name: string;
|
|
741
|
-
label?: string;
|
|
742
|
-
accept?: string;
|
|
743
|
-
multiple?: boolean;
|
|
744
|
-
onChange: (files: File[]) => void;
|
|
745
|
-
className?: string;
|
|
746
|
-
};
|
|
747
|
-
declare function FileInput({
|
|
748
|
-
name,
|
|
749
|
-
label,
|
|
750
|
-
accept,
|
|
751
|
-
multiple,
|
|
752
|
-
onChange,
|
|
753
|
-
className
|
|
754
|
-
}: FileInputProps): import("react").JSX.Element;
|
|
755
|
-
//#endregion
|
|
756
|
-
//#region src/components/container/glassCard.d.ts
|
|
757
|
-
type GlassCardProps = {
|
|
758
|
-
children: ReactNode;
|
|
759
|
-
className?: string;
|
|
760
|
-
};
|
|
761
|
-
declare function GlassCard({
|
|
762
|
-
children,
|
|
763
|
-
className
|
|
764
|
-
}: GlassCardProps): import("react").JSX.Element;
|
|
765
|
-
//#endregion
|
|
766
|
-
//#region src/components/container/expandableCard.d.ts
|
|
767
|
-
type PulseVariant = 'online' | 'offline' | 'warning' | 'unknown';
|
|
768
|
-
type ExpandableCardProps = {
|
|
769
|
-
icon: ElementType;
|
|
770
|
-
iconTone?: IconBubbleTone;
|
|
771
|
-
title: string;
|
|
772
|
-
subtitle?: ReactNode;
|
|
773
|
-
pulse?: {
|
|
774
|
-
variant: PulseVariant;
|
|
775
|
-
label: string;
|
|
776
|
-
};
|
|
777
|
-
trailing?: ReactNode;
|
|
778
|
-
isExpanded: boolean;
|
|
779
|
-
onToggle: () => void;
|
|
780
|
-
children?: ReactNode;
|
|
781
|
-
};
|
|
782
|
-
declare function ExpandableCard({
|
|
783
|
-
icon,
|
|
784
|
-
iconTone,
|
|
785
|
-
title,
|
|
786
|
-
subtitle,
|
|
787
|
-
pulse,
|
|
788
|
-
trailing,
|
|
789
|
-
isExpanded,
|
|
790
|
-
onToggle,
|
|
791
|
-
children
|
|
792
|
-
}: ExpandableCardProps): import("react").JSX.Element;
|
|
793
|
-
//#endregion
|
|
794
|
-
//#region src/components/modal/modal.d.ts
|
|
795
|
-
type ModalSize = 'sm' | 'md' | 'lg';
|
|
796
|
-
type ModalProps = {
|
|
797
|
-
isOpen: boolean;
|
|
798
|
-
onClose: () => void;
|
|
799
|
-
title?: string;
|
|
800
|
-
children: ReactNode;
|
|
801
|
-
footer?: ReactNode;
|
|
802
|
-
size?: ModalSize;
|
|
803
|
-
};
|
|
804
|
-
declare function Modal({
|
|
805
|
-
isOpen,
|
|
806
|
-
onClose,
|
|
807
|
-
title,
|
|
808
|
-
children,
|
|
809
|
-
footer,
|
|
810
|
-
size
|
|
811
|
-
}: ModalProps): import("react").JSX.Element | null;
|
|
812
|
-
//#endregion
|
|
813
|
-
//#region src/components/sidebar/sidebar.d.ts
|
|
814
|
-
type SidebarSubItem = {
|
|
815
|
-
name: string;
|
|
816
|
-
path: string;
|
|
817
|
-
};
|
|
818
|
-
type SidebarItem = {
|
|
819
|
-
name: string;
|
|
820
|
-
path: string;
|
|
821
|
-
icon: ElementType;
|
|
822
|
-
status?: ReactNode;
|
|
823
|
-
items?: SidebarSubItem[];
|
|
824
|
-
};
|
|
825
|
-
type SidebarProps = {
|
|
826
|
-
items: SidebarItem[];
|
|
827
|
-
header?: ReactNode;
|
|
828
|
-
bottomAction?: (expanded: boolean) => ReactNode;
|
|
829
|
-
mobile?: boolean;
|
|
830
|
-
initialExpanded?: boolean;
|
|
831
|
-
};
|
|
832
|
-
declare function Sidebar({
|
|
833
|
-
items,
|
|
834
|
-
header,
|
|
835
|
-
bottomAction,
|
|
836
|
-
mobile,
|
|
837
|
-
initialExpanded
|
|
838
|
-
}: SidebarProps): import("react").JSX.Element;
|
|
839
|
-
//#endregion
|
|
840
|
-
//#region src/components/badge/badge.d.ts
|
|
841
|
-
type BadgeVariant = 'default' | 'success' | 'warning' | 'danger' | 'info' | 'amber' | 'violet' | 'blue' | 'emerald' | 'orange';
|
|
842
|
-
type BadgeProps = {
|
|
843
|
-
text: string;
|
|
844
|
-
variant?: BadgeVariant;
|
|
845
|
-
size?: 'sm' | 'md';
|
|
846
|
-
className?: string;
|
|
847
|
-
};
|
|
848
|
-
declare function Badge({
|
|
849
|
-
text,
|
|
850
|
-
variant,
|
|
851
|
-
size,
|
|
852
|
-
className
|
|
853
|
-
}: BadgeProps): import("react").JSX.Element;
|
|
854
|
-
//#endregion
|
|
855
|
-
//#region src/components/empty/emptyState.d.ts
|
|
856
|
-
type EmptyStateProps = {
|
|
857
|
-
icon?: ElementType;
|
|
858
|
-
title: string;
|
|
859
|
-
description?: string;
|
|
860
|
-
action?: ReactNode;
|
|
861
|
-
className?: string;
|
|
862
|
-
};
|
|
863
|
-
declare function EmptyState({
|
|
864
|
-
icon: Icon,
|
|
865
|
-
title,
|
|
866
|
-
description,
|
|
867
|
-
action,
|
|
868
|
-
className
|
|
869
|
-
}: EmptyStateProps): import("react").JSX.Element;
|
|
870
|
-
//#endregion
|
|
871
|
-
//#region src/components/spinner/spinner.d.ts
|
|
872
|
-
type SpinnerProps = {
|
|
873
|
-
size?: 'sm' | 'md' | 'lg';
|
|
874
|
-
className?: string;
|
|
875
|
-
};
|
|
876
|
-
declare function Spinner({
|
|
877
|
-
size,
|
|
878
|
-
className
|
|
879
|
-
}: SpinnerProps): import("react").JSX.Element;
|
|
880
|
-
//#endregion
|
|
881
|
-
//#region src/components/code/code.d.ts
|
|
882
|
-
type CodeProps = {
|
|
883
|
-
children: ReactNode;
|
|
884
|
-
className?: string;
|
|
885
|
-
};
|
|
886
|
-
declare function Code({
|
|
887
|
-
children,
|
|
888
|
-
className
|
|
889
|
-
}: CodeProps): import("react").JSX.Element;
|
|
890
|
-
type CodeBlockProps = {
|
|
891
|
-
code: string;
|
|
892
|
-
language?: string;
|
|
893
|
-
className?: string;
|
|
894
|
-
};
|
|
895
|
-
declare function CodeBlock({
|
|
896
|
-
code,
|
|
897
|
-
language,
|
|
898
|
-
className
|
|
899
|
-
}: CodeBlockProps): import("react").JSX.Element;
|
|
900
|
-
//#endregion
|
|
901
|
-
export { Accordion, AccordionGroup, Alert, Badge, type BilingualString, Button, Card, Checkbox, Code, CodeBlock, type Column, ConfirmPopup, type Density, EmptyState, ExpandableCard, FileInput, Footer, type FooterColumn, type FooterProps, type FooterSocialLink, type FooterSocialLink as LoginSocialLinkData, GlassCard, Highlight, IconBubble, Input, type Lang, LanguageToggle, LeftBarPanel, LoginPage, Logo, LogoSmall, MarkdownRender, MenuButton, Modal, MultiSelect, NavDropdown, NavItem, Navbar, PageContainer, Pagination, PulseDot, Radio, Range, SearchInput, Select, SeverityPill, Sidebar, type SidebarItem, type SidebarSubItem, type SortState, Spinner, StatCard, Switch, TabPanel, Table, type TableColor, type TableProps, type TableVariant, Tabs, TagInput, Textarea, ThemeToggle, Toaster, Toggle, VersionTag, loginAddress, loginCopyright, loginEmail, loginSocialLinks, loginSponsor, toast };
|
|
1
|
+
import Input from "../../components/inputs/input.js";
|
|
2
|
+
import SearchInput from "../../components/inputs/searchInput.js";
|
|
3
|
+
import Textarea from "../../components/inputs/textarea.js";
|
|
4
|
+
import Checkbox from "../../components/inputs/checkbox.js";
|
|
5
|
+
import Select from "../../components/inputs/select.js";
|
|
6
|
+
import TagInput from "../../components/inputs/tagInput.js";
|
|
7
|
+
import MultiSelect from "../../components/inputs/multiSelect.js";
|
|
8
|
+
import Switch from "../../components/inputs/switch.js";
|
|
9
|
+
import Radio from "../../components/inputs/radio.js";
|
|
10
|
+
import Range from "../../components/inputs/range.js";
|
|
11
|
+
import Logo from "../../components/logo/logo.js";
|
|
12
|
+
import LogoSmall from "../../components/logo/logoSmall.js";
|
|
13
|
+
import ThemeToggle from "../../components/toggle/theme.js";
|
|
14
|
+
import LanguageToggle from "../../components/toggle/language.js";
|
|
15
|
+
import Navbar from "../../components/navbar/navbar.js";
|
|
16
|
+
import NavItem from "../../components/navbar/navbarItem.js";
|
|
17
|
+
import NavDropdown from "../../components/navbar/navbarDropdown.js";
|
|
18
|
+
import Footer, { BilingualString, FooterColumn, FooterProps, FooterSocialLink, Lang } from "../../components/footer/footer.js";
|
|
19
|
+
import { loginAddress, loginCopyright, loginEmail, loginSocialLinks, loginSponsor } from "../../components/footer/loginContent.js";
|
|
20
|
+
import PageContainer from "../../components/container/page.js";
|
|
21
|
+
import Highlight from "../../components/container/highlight.js";
|
|
22
|
+
import LeftBarPanel from "../../components/container/leftBarPanel.js";
|
|
23
|
+
import Card from "../../components/container/card.js";
|
|
24
|
+
import IconBubble from "../../components/container/iconBubble.js";
|
|
25
|
+
import StatCard from "../../components/container/statCard.js";
|
|
26
|
+
import { TabPanel, Tabs } from "../../components/container/tabs.js";
|
|
27
|
+
import Accordion, { AccordionGroup } from "../../components/container/accordion.js";
|
|
28
|
+
import PulseDot from "../../components/container/pulseDot.js";
|
|
29
|
+
import VersionTag from "../../components/version/version.js";
|
|
30
|
+
import LoginPage from "../../components/login/loginPage.js";
|
|
31
|
+
import Toaster, { toast } from "../../components/toast/toaster.js";
|
|
32
|
+
import Button from "../../components/buttons/button.js";
|
|
33
|
+
import Alert from "../../components/alert/alert.js";
|
|
34
|
+
import { Column, Density, SortState, TableColor, TableProps, TableVariant } from "../../components/table/types.js";
|
|
35
|
+
import { MenuButton } from "../../components/table/menu.js";
|
|
36
|
+
import { Table } from "../../components/table/table.js";
|
|
37
|
+
import Pagination from "../../components/table/pagination.js";
|
|
38
|
+
import MarkdownRender from "../../components/markdownrender/markdownRender.js";
|
|
39
|
+
import ConfirmPopup from "../../components/confirm/confirmPopup.js";
|
|
40
|
+
import SeverityPill from "../../components/vulnerability/severityPill.js";
|
|
41
|
+
import Toggle from "../../components/inputs/toggle.js";
|
|
42
|
+
import FileInput from "../../components/inputs/fileInput.js";
|
|
43
|
+
import GlassCard from "../../components/container/glassCard.js";
|
|
44
|
+
import ExpandableCard from "../../components/container/expandableCard.js";
|
|
45
|
+
import Modal from "../../components/modal/modal.js";
|
|
46
|
+
import Sidebar, { SidebarItem, SidebarSubItem } from "../../components/sidebar/sidebar.js";
|
|
47
|
+
import Badge from "../../components/badge/badge.js";
|
|
48
|
+
import EmptyState from "../../components/empty/emptyState.js";
|
|
49
|
+
import Spinner from "../../components/spinner/spinner.js";
|
|
50
|
+
import { Code, CodeBlock } from "../../components/code/code.js";
|
|
51
|
+
export { Accordion, AccordionGroup, Alert, Badge, type BilingualString, Button, Card, Checkbox, Code, CodeBlock, type Column, ConfirmPopup, type Density, EmptyState, ExpandableCard, FileInput, Footer, type FooterColumn, type FooterProps, type FooterSocialLink, GlassCard, Highlight, IconBubble, Input, type Lang, LanguageToggle, LeftBarPanel, LoginPage, type FooterSocialLink as LoginSocialLinkData, Logo, LogoSmall, MarkdownRender, MenuButton, Modal, MultiSelect, NavDropdown, NavItem, Navbar, PageContainer, Pagination, PulseDot, Radio, Range, SearchInput, Select, SeverityPill, Sidebar, type SidebarItem, type SidebarSubItem, type SortState, Spinner, StatCard, Switch, TabPanel, Table, type TableColor, type TableProps, type TableVariant, Tabs, TagInput, Textarea, ThemeToggle, Toaster, Toggle, VersionTag, loginAddress, loginCopyright, loginEmail, loginSocialLinks, loginSponsor, toast };
|