uibee 2.17.5 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/README.md +34 -0
  2. package/dist/icons-lZYQ6Vlr.js +125 -0
  3. package/dist/src/components/index.d.ts +706 -30
  4. package/dist/src/components/index.js +3243 -44
  5. package/dist/src/hooks/index.d.ts +15 -3
  6. package/dist/src/hooks/index.js +44 -3
  7. package/dist/src/icons/index.d.ts +420 -0
  8. package/dist/src/icons/index.js +3 -0
  9. package/dist/src/styles/index.d.ts +1 -1
  10. package/dist/src/styles/index.js +2 -1
  11. package/dist/src/utils/index.d.ts +38 -5
  12. package/dist/src/utils/index.js +125 -6
  13. package/dist/{src/globals.css → style.css} +890 -678
  14. package/dist/useClickOutside-Cmp-RsP3.js +13 -0
  15. package/index.d.ts +0 -1
  16. package/package.json +22 -23
  17. package/src/components/alert/alert.tsx +20 -18
  18. package/src/components/buttons/button.tsx +28 -35
  19. package/src/components/confirm/confirmPopup.tsx +15 -17
  20. package/src/components/container/accordion.tsx +54 -0
  21. package/src/components/container/glassCard.tsx +14 -0
  22. package/src/components/container/iconBubble.tsx +30 -0
  23. package/src/components/container/leftBarPanel.tsx +15 -0
  24. package/src/components/container/pulseDot.tsx +31 -0
  25. package/src/components/container/statCard.tsx +24 -0
  26. package/src/components/container/tabs.tsx +64 -0
  27. package/src/components/footer/footer.tsx +124 -0
  28. package/src/components/footer/loginContent.tsx +70 -0
  29. package/src/components/index.ts +15 -0
  30. package/src/components/inputs/checkbox.tsx +4 -4
  31. package/src/components/inputs/input.tsx +11 -13
  32. package/src/components/inputs/multiSelect.tsx +144 -0
  33. package/src/components/inputs/radio.tsx +4 -4
  34. package/src/components/inputs/range.tsx +6 -5
  35. package/src/components/inputs/searchInput.tsx +1 -1
  36. package/src/components/inputs/select.tsx +19 -18
  37. package/src/components/inputs/shared/colorPickerPopup.tsx +5 -5
  38. package/src/components/inputs/shared/dateTimePickerPopup.tsx +9 -9
  39. package/src/components/inputs/shared/inputError.tsx +1 -1
  40. package/src/components/inputs/switch.tsx +7 -7
  41. package/src/components/inputs/tagInput.tsx +6 -7
  42. package/src/components/inputs/textarea.tsx +8 -10
  43. package/src/components/inputs/toggle.tsx +6 -6
  44. package/src/components/table/body.tsx +6 -6
  45. package/src/components/table/format.ts +1 -1
  46. package/src/components/table/header.tsx +1 -1
  47. package/src/components/table/pagination.tsx +17 -31
  48. package/src/components/table/table.tsx +2 -2
  49. package/src/components/version/version.tsx +1 -1
  50. package/src/components/vulnerability/constants.ts +6 -6
  51. package/src/components/vulnerability/severityPill.tsx +6 -7
  52. package/src/hooks/index.ts +1 -0
  53. package/src/hooks/useClickOutside.ts +5 -22
  54. package/src/icons/icons.tsx +431 -0
  55. package/src/icons/index.ts +2 -0
  56. package/src/index.ts +0 -1
  57. package/src/types/hooks.d.ts +8 -2
  58. package/src/utils/index.ts +1 -1
  59. package/src/utils/logoConsoleOutput/logoConsoleOutput.ts +31 -0
  60. package/tsconfig.json +3 -2
  61. package/tsdown.config.ts +26 -0
  62. package/Readme.md +0 -29
  63. package/bun.lock +0 -662
  64. package/dist/src/components/alert/alert.d.ts +0 -8
  65. package/dist/src/components/alert/alert.js +0 -15
  66. package/dist/src/components/buttons/button.d.ts +0 -13
  67. package/dist/src/components/buttons/button.js +0 -30
  68. package/dist/src/components/confirm/confirmPopup.d.ts +0 -12
  69. package/dist/src/components/confirm/confirmPopup.js +0 -18
  70. package/dist/src/components/container/highlight.d.ts +0 -4
  71. package/dist/src/components/container/highlight.js +0 -4
  72. package/dist/src/components/container/page.d.ts +0 -8
  73. package/dist/src/components/container/page.js +0 -4
  74. package/dist/src/components/inputs/checkbox.d.ts +0 -17
  75. package/dist/src/components/inputs/checkbox.js +0 -37
  76. package/dist/src/components/inputs/input.d.ts +0 -12
  77. package/dist/src/components/inputs/input.js +0 -124
  78. package/dist/src/components/inputs/radio.d.ts +0 -17
  79. package/dist/src/components/inputs/radio.js +0 -27
  80. package/dist/src/components/inputs/range.d.ts +0 -11
  81. package/dist/src/components/inputs/range.js +0 -22
  82. package/dist/src/components/inputs/searchInput.d.ts +0 -6
  83. package/dist/src/components/inputs/searchInput.js +0 -42
  84. package/dist/src/components/inputs/select.d.ts +0 -23
  85. package/dist/src/components/inputs/select.js +0 -70
  86. package/dist/src/components/inputs/shared/colorPickerPopup.d.ts +0 -8
  87. package/dist/src/components/inputs/shared/colorPickerPopup.js +0 -191
  88. package/dist/src/components/inputs/shared/dateTimePickerPopup.d.ts +0 -9
  89. package/dist/src/components/inputs/shared/dateTimePickerPopup.js +0 -128
  90. package/dist/src/components/inputs/shared/fieldWrapper.d.ts +0 -14
  91. package/dist/src/components/inputs/shared/fieldWrapper.js +0 -8
  92. package/dist/src/components/inputs/shared/index.d.ts +0 -5
  93. package/dist/src/components/inputs/shared/index.js +0 -5
  94. package/dist/src/components/inputs/shared/inputError.d.ts +0 -6
  95. package/dist/src/components/inputs/shared/inputError.js +0 -6
  96. package/dist/src/components/inputs/shared/inputInfo.d.ts +0 -5
  97. package/dist/src/components/inputs/shared/inputInfo.js +0 -5
  98. package/dist/src/components/inputs/shared/inputLabel.d.ts +0 -9
  99. package/dist/src/components/inputs/shared/inputLabel.js +0 -4
  100. package/dist/src/components/inputs/switch.d.ts +0 -11
  101. package/dist/src/components/inputs/switch.js +0 -14
  102. package/dist/src/components/inputs/tagInput.d.ts +0 -15
  103. package/dist/src/components/inputs/tagInput.js +0 -40
  104. package/dist/src/components/inputs/textarea.d.ts +0 -11
  105. package/dist/src/components/inputs/textarea.js +0 -36
  106. package/dist/src/components/inputs/toggle.d.ts +0 -14
  107. package/dist/src/components/inputs/toggle.js +0 -12
  108. package/dist/src/components/login/loginPage.d.ts +0 -2
  109. package/dist/src/components/login/loginPage.js +0 -18
  110. package/dist/src/components/logo/logo.d.ts +0 -5
  111. package/dist/src/components/logo/logo.js +0 -6
  112. package/dist/src/components/logo/logoSmall.d.ts +0 -1
  113. package/dist/src/components/logo/logoSmall.js +0 -6
  114. package/dist/src/components/markdownrender/markdownRender.d.ts +0 -7
  115. package/dist/src/components/markdownrender/markdownRender.js +0 -26
  116. package/dist/src/components/navbar/bubble.d.ts +0 -14
  117. package/dist/src/components/navbar/bubble.js +0 -8
  118. package/dist/src/components/navbar/navbar.d.ts +0 -34
  119. package/dist/src/components/navbar/navbar.js +0 -36
  120. package/dist/src/components/navbar/navbarDropdown.d.ts +0 -7
  121. package/dist/src/components/navbar/navbarDropdown.js +0 -19
  122. package/dist/src/components/navbar/navbarItem.d.ts +0 -11
  123. package/dist/src/components/navbar/navbarItem.js +0 -12
  124. package/dist/src/components/table/body.d.ts +0 -15
  125. package/dist/src/components/table/body.js +0 -116
  126. package/dist/src/components/table/format.d.ts +0 -1
  127. package/dist/src/components/table/format.js +0 -27
  128. package/dist/src/components/table/header.d.ts +0 -8
  129. package/dist/src/components/table/header.js +0 -47
  130. package/dist/src/components/table/menu.d.ts +0 -17
  131. package/dist/src/components/table/menu.js +0 -30
  132. package/dist/src/components/table/pagination.d.ts +0 -6
  133. package/dist/src/components/table/pagination.js +0 -86
  134. package/dist/src/components/table/table.d.ts +0 -14
  135. package/dist/src/components/table/table.js +0 -14
  136. package/dist/src/components/toast/toastItem.d.ts +0 -2
  137. package/dist/src/components/toast/toastItem.js +0 -38
  138. package/dist/src/components/toast/toaster.d.ts +0 -9
  139. package/dist/src/components/toast/toaster.js +0 -86
  140. package/dist/src/components/toggle/language.d.ts +0 -4
  141. package/dist/src/components/toggle/language.js +0 -29
  142. package/dist/src/components/toggle/theme.d.ts +0 -3
  143. package/dist/src/components/toggle/theme.js +0 -30
  144. package/dist/src/components/version/version.d.ts +0 -7
  145. package/dist/src/components/version/version.js +0 -12
  146. package/dist/src/components/vulnerability/constants.d.ts +0 -4
  147. package/dist/src/components/vulnerability/constants.js +0 -14
  148. package/dist/src/components/vulnerability/severityPill.d.ts +0 -8
  149. package/dist/src/components/vulnerability/severityPill.js +0 -8
  150. package/dist/src/hooks/useClickOutside.d.ts +0 -2
  151. package/dist/src/hooks/useClickOutside.js +0 -27
  152. package/dist/src/hooks/useDarkMode.d.ts +0 -1
  153. package/dist/src/hooks/useDarkMode.js +0 -17
  154. package/dist/src/hooks/useVisibility.d.ts +0 -4
  155. package/dist/src/hooks/useVisibility.js +0 -23
  156. package/dist/src/index.d.ts +0 -5
  157. package/dist/src/index.js +0 -5
  158. package/dist/src/scripts/buildCss.d.ts +0 -1
  159. package/dist/src/scripts/buildCss.js +0 -22
  160. package/dist/src/scripts/index.d.ts +0 -1
  161. package/dist/src/scripts/index.js +0 -1
  162. package/dist/src/scripts/rewriteAlias.d.ts +0 -1
  163. package/dist/src/scripts/rewriteAlias.js +0 -31
  164. package/dist/src/utils/LogoConsoleOutput/LogoConsoleOutput.d.ts +0 -1
  165. package/dist/src/utils/LogoConsoleOutput/LogoConsoleOutput.js +0 -44
  166. package/dist/src/utils/auth/callback.d.ts +0 -2
  167. package/dist/src/utils/auth/callback.js +0 -63
  168. package/dist/src/utils/auth/getDomain.d.ts +0 -2
  169. package/dist/src/utils/auth/getDomain.js +0 -6
  170. package/dist/src/utils/auth/login.d.ts +0 -3
  171. package/dist/src/utils/auth/login.js +0 -14
  172. package/dist/src/utils/auth/logout.d.ts +0 -3
  173. package/dist/src/utils/auth/logout.js +0 -18
  174. package/dist/src/utils/auth/token.d.ts +0 -3
  175. package/dist/src/utils/auth/token.js +0 -33
  176. package/dist/tailwind.config.d.ts +0 -3
  177. package/dist/tailwind.config.js +0 -7
  178. package/src/scripts/buildCss.ts +0 -25
  179. package/src/scripts/index.ts +0 -1
  180. package/src/scripts/rewriteAlias.ts +0 -39
  181. package/src/utils/LogoConsoleOutput/LogoConsoleOutput.ts +0 -61
@@ -1,30 +1,706 @@
1
- export { default as Input } from './inputs/input';
2
- export { default as SearchInput } from './inputs/searchInput';
3
- export { default as Textarea } from './inputs/textarea';
4
- export { default as Checkbox } from './inputs/checkbox';
5
- export { default as Select } from './inputs/select';
6
- export { default as TagInput } from './inputs/tagInput';
7
- export { default as Switch } from './inputs/switch';
8
- export { default as Radio } from './inputs/radio';
9
- export { default as Range } from './inputs/range';
10
- export { default as Logo } from './logo/logo';
11
- export { default as LogoSmall } from './logo/logoSmall';
12
- export { default as ThemeToggle } from './toggle/theme';
13
- export { default as LanguageToggle } from './toggle/language';
14
- export { default as Navbar } from './navbar/navbar';
15
- export { default as NavItem } from './navbar/navbarItem';
16
- export { default as NavDropdown } from './navbar/navbarDropdown';
17
- export { default as PageContainer } from './container/page';
18
- export { default as Highlight } from './container/highlight';
19
- export { default as VersionTag } from './version/version';
20
- export { default as LoginPage } from './login/loginPage';
21
- export { default as Toaster, toast } from './toast/toaster';
22
- export { default as Button } from './buttons/button';
23
- export { default as Alert } from './alert/alert';
24
- export { MenuButton } from './table/menu';
25
- export { default as Table } from './table/table';
26
- export { default as Pagination } from './table/pagination';
27
- export { default as MarkdownRender } from './markdownrender/markdownRender';
28
- export { default as ConfirmPopup } from './confirm/confirmPopup';
29
- export { default as SeverityPill } from './vulnerability/severityPill';
30
- export { default as Toggle } from './inputs/toggle';
1
+ import React$1, { ElementType, JSX, ReactNode } from "react";
2
+ import { Components } from "react-markdown";
3
+ import { Column, Language, LoginPageProps, ToastType } from "uibee/components";
4
+
5
+ //#region src/components/inputs/input.d.ts
6
+ type InputProps = Omit<React.ComponentProps<'input'>, 'name'> & {
7
+ name: string;
8
+ label?: string;
9
+ error?: string;
10
+ className?: string;
11
+ icon?: JSX.Element;
12
+ info?: string;
13
+ description?: string;
14
+ textSize?: 'sm' | 'md';
15
+ };
16
+ declare function Input(props: InputProps): JSX.Element;
17
+ //#endregion
18
+ //#region src/components/inputs/searchInput.d.ts
19
+ interface SearchInputProps {
20
+ placeholder?: string;
21
+ variant?: 'default' | 'minimal';
22
+ }
23
+ declare function SearchInput({
24
+ placeholder,
25
+ variant
26
+ }: SearchInputProps): import("react").JSX.Element;
27
+ //#endregion
28
+ //#region src/components/inputs/textarea.d.ts
29
+ type TextareaProps = Omit<React.ComponentProps<'textarea'>, 'name'> & {
30
+ name: string;
31
+ label?: string;
32
+ error?: string;
33
+ className?: string;
34
+ info?: string;
35
+ description?: string;
36
+ type?: 'markdown' | 'json' | 'text';
37
+ textSize?: 'sm' | 'md';
38
+ };
39
+ declare function Textarea(props: TextareaProps): import("react").JSX.Element;
40
+ //#endregion
41
+ //#region src/components/inputs/checkbox.d.ts
42
+ type CheckboxOption = {
43
+ label: string;
44
+ value: string | number;
45
+ };
46
+ type CheckboxProps = Omit<React.ComponentProps<'input'>, 'name' | 'onChange' | 'value'> & {
47
+ name: string;
48
+ label?: string;
49
+ error?: string;
50
+ info?: string;
51
+ description?: string;
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/glassCard.d.ts
412
+ type GlassCardProps = {
413
+ children: ReactNode;
414
+ className?: string;
415
+ };
416
+ declare function GlassCard({
417
+ children,
418
+ className
419
+ }: GlassCardProps): 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/menu.d.ts
591
+ declare function MenuButton({
592
+ icon,
593
+ text,
594
+ hotKey,
595
+ onClick,
596
+ className
597
+ }: {
598
+ icon: React$1.ReactNode;
599
+ text: string;
600
+ hotKey?: string;
601
+ onClick: () => void;
602
+ className?: string;
603
+ }): React$1.JSX.Element;
604
+ //#endregion
605
+ //#region src/components/table/table.d.ts
606
+ type TableProps = {
607
+ data: object[];
608
+ columns: Column[];
609
+ menuItems?: (data: object, id: string) => React.ReactNode;
610
+ redirectPath?: string | {
611
+ path: string;
612
+ key?: string;
613
+ };
614
+ variant?: 'default' | 'minimal';
615
+ idKey?: string;
616
+ };
617
+ declare function Table({
618
+ data,
619
+ columns,
620
+ menuItems,
621
+ redirectPath,
622
+ variant,
623
+ idKey
624
+ }: TableProps): import("react").JSX.Element;
625
+ //#endregion
626
+ //#region src/components/table/pagination.d.ts
627
+ type PaginationProps = {
628
+ pageSize?: number;
629
+ totalRows?: number;
630
+ };
631
+ declare function Pagination({
632
+ pageSize,
633
+ totalRows
634
+ }: PaginationProps): import("react").JSX.Element;
635
+ //#endregion
636
+ //#region src/components/markdownrender/markdownRender.d.ts
637
+ declare function MarkdownRender({
638
+ MDstr,
639
+ components,
640
+ className,
641
+ size
642
+ }: {
643
+ MDstr: string;
644
+ components?: Components;
645
+ className?: string;
646
+ size?: 'sm' | 'base' | 'lg' | 'xl';
647
+ }): import("react").JSX.Element;
648
+ //#endregion
649
+ //#region src/components/confirm/confirmPopup.d.ts
650
+ type ConfirmPopupProps = {
651
+ isOpen: boolean;
652
+ header: string;
653
+ description?: string;
654
+ confirmText?: string;
655
+ cancelText?: string;
656
+ onConfirm: () => void;
657
+ onCancel: () => void;
658
+ variant?: 'danger' | 'warning' | 'default';
659
+ };
660
+ declare function ConfirmPopup({
661
+ isOpen,
662
+ header,
663
+ description,
664
+ confirmText,
665
+ cancelText,
666
+ onConfirm,
667
+ onCancel,
668
+ variant
669
+ }: ConfirmPopupProps): import("react").JSX.Element | null;
670
+ //#endregion
671
+ //#region src/components/vulnerability/constants.d.ts
672
+ type SeverityLevel = 'critical' | 'high' | 'medium' | 'low' | 'unknown';
673
+ //#endregion
674
+ //#region src/components/vulnerability/severityPill.d.ts
675
+ type SeverityPillProps = {
676
+ severity: SeverityLevel;
677
+ count: number;
678
+ compact?: boolean;
679
+ };
680
+ declare function SeverityPill({
681
+ severity,
682
+ count,
683
+ compact
684
+ }: SeverityPillProps): import("react").JSX.Element | null;
685
+ //#endregion
686
+ //#region src/components/inputs/toggle.d.ts
687
+ type ToggleOption<T> = {
688
+ value: T;
689
+ label?: string;
690
+ text?: string;
691
+ icon?: React.ReactNode;
692
+ };
693
+ type ToggleProps<T> = {
694
+ value: T;
695
+ onChange: (value: T) => void;
696
+ left: ToggleOption<T>;
697
+ right: ToggleOption<T>;
698
+ };
699
+ declare function Toggle<T>({
700
+ value,
701
+ onChange,
702
+ left,
703
+ right
704
+ }: ToggleProps<T>): import("react").JSX.Element;
705
+ //#endregion
706
+ export { Accordion, AccordionGroup, Alert, type BilingualString, Button, Checkbox, ConfirmPopup, Footer, type FooterColumn, type FooterProps, type FooterSocialLink, type FooterSocialLink as LoginSocialLinkData, GlassCard, Highlight, IconBubble, Input, type Lang, LanguageToggle, LeftBarPanel, LoginPage, Logo, LogoSmall, MarkdownRender, MenuButton, MultiSelect, NavDropdown, NavItem, Navbar, PageContainer, Pagination, PulseDot, Radio, Range, SearchInput, Select, SeverityPill, StatCard, Switch, TabPanel, Table, Tabs, TagInput, Textarea, ThemeToggle, Toaster, Toggle, VersionTag, loginAddress, loginCopyright, loginEmail, loginSocialLinks, loginSponsor, toast };