@fluidattacks/design 4.14.3 → 4.14.4
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/@core/index.js +3 -3
- package/dist/components/accordion/accordion-content/index.js +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/advanced-badge/index.js +1 -1
- package/dist/components/advisories-card/index.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/card/card-header/index.js +1 -1
- package/dist/components/card/card-with-image/index.js +1 -1
- package/dist/components/card/card-with-input/index.js +1 -1
- package/dist/components/card/card-with-options/index.js +1 -1
- package/dist/components/card/card-with-selector/index.js +1 -1
- package/dist/components/card/card-with-switch/index.js +1 -1
- package/dist/components/card/index.js +1 -1
- package/dist/components/card/indicator-card/index.js +1 -1
- package/dist/components/card-container/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/circular-progress/index.js +1 -1
- package/dist/components/cloud-image/index.js +1 -1
- package/dist/components/code-snippet/index.js +1 -1
- package/dist/components/colors/index.js +1 -1
- package/dist/components/conditions-dialog/index.js +1 -1
- package/dist/components/confirm-dialog/index.js +1 -1
- package/dist/components/container/index.js +1 -1
- package/dist/components/copy-button/index.js +1 -1
- package/dist/components/divider/index.js +1 -1
- package/dist/components/dropdown/index.js +1 -1
- package/dist/components/empty-state/empty-button/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/fa-tag/index.js +1 -1
- package/dist/components/file-preview/index.js +1 -1
- package/dist/components/filters/active-filters/active-filter/index.js +1 -1
- package/dist/components/filters/active-filters/index.js +1 -1
- package/dist/components/filters/context/index.js +1 -1
- package/dist/components/filters/filters-menu/index.js +1 -1
- package/dist/components/filters/index.js +2 -2
- package/dist/components/filters/options-menu/index.js +1 -1
- package/dist/components/filters/options-menu/options/index.js +1 -1
- package/dist/components/filters/search/no-matches/index.js +1 -1
- package/dist/components/form/index.js +1 -1
- package/dist/components/form/inner-form/index.js +1 -1
- package/dist/components/grid-container/index.js +1 -1
- package/dist/components/group-selector/index.js +1 -1
- package/dist/components/group-selector/option-container/index.js +1 -1
- package/dist/components/icon/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/indicator-card-db/index.js +1 -1
- package/dist/components/info-sidebar/index.js +1 -1
- package/dist/components/inputs/fields/combobox/field/index.js +1 -1
- package/dist/components/inputs/fields/combobox/index.js +1 -1
- package/dist/components/inputs/fields/combobox/option/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/cell/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/grid/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/header/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/index.js +1 -1
- package/dist/components/inputs/fields/date/index.js +1 -1
- package/dist/components/inputs/fields/date-range/calendar/index.js +1 -1
- package/dist/components/inputs/fields/date-range/index.js +1 -1
- package/dist/components/inputs/fields/date-time/calendar/index.js +1 -1
- package/dist/components/inputs/fields/date-time/index.js +1 -1
- package/dist/components/inputs/fields/editable/index.js +1 -1
- package/dist/components/inputs/fields/input-array/field/index.js +1 -1
- package/dist/components/inputs/fields/input-array/index.js +1 -1
- package/dist/components/inputs/fields/input-file/default/index.js +1 -1
- package/dist/components/inputs/fields/input-file/dropzone/index.js +1 -1
- package/dist/components/inputs/fields/input-file/index.js +1 -1
- package/dist/components/inputs/fields/input-section/index.js +1 -1
- package/dist/components/inputs/fields/input-tags/field/index.js +1 -1
- package/dist/components/inputs/fields/input-tags/index.js +1 -1
- package/dist/components/inputs/fields/number/index.js +1 -1
- package/dist/components/inputs/fields/number-range/index.js +1 -1
- package/dist/components/inputs/fields/phone/index.js +1 -1
- package/dist/components/inputs/fields/text-area/index.js +1 -1
- package/dist/components/inputs/fields/text-input/index.js +1 -1
- package/dist/components/inputs/index.js +3 -3
- package/dist/components/inputs/label/index.js +1 -1
- package/dist/components/inputs/outline-container/index.js +1 -1
- package/dist/components/inputs/utils/action-button/index.js +1 -1
- package/dist/components/inputs/utils/calendar-button/index.js +1 -1
- package/dist/components/inputs/utils/date-selector/index.js +1 -1
- package/dist/components/inputs/utils/date-time-field/index.js +1 -1
- package/dist/components/inputs/utils/dialog/index.js +1 -1
- package/dist/components/inputs/utils/number-field/index.js +1 -1
- package/dist/components/inputs/utils/popover/index.js +2 -2
- package/dist/components/item-card-db/index.js +1 -1
- package/dist/components/layout/categories/buttons/index.js +1 -1
- package/dist/components/layout/categories/column/index.js +1 -1
- package/dist/components/layout/categories/gap/index.js +1 -1
- package/dist/components/layout/categories/row/index.js +1 -1
- package/dist/components/layout/index.js +4 -4
- package/dist/components/link/index.js +1 -1
- package/dist/components/list-item/index.js +1 -1
- package/dist/components/little-flag/index.js +1 -1
- package/dist/components/loading/index.js +1 -1
- package/dist/components/logo/index.js +1 -1
- package/dist/components/lottie/index.js +1 -1
- package/dist/components/menu/index.js +1 -1
- package/dist/components/message-banner/index.js +1 -1
- package/dist/components/modal/columns-modal/index.js +1 -1
- package/dist/components/modal/columns-modal/preview-panel/index.js +1 -1
- package/dist/components/modal/columns-modal/search-panel/index.js +1 -1
- package/dist/components/modal/footer/index.js +1 -1
- package/dist/components/modal/header/index.js +1 -1
- package/dist/components/modal/index.js +1 -1
- package/dist/components/modal/modal-confirm/index.js +1 -1
- package/dist/components/notification/index.js +1 -1
- package/dist/components/notification-sign/index.js +1 -1
- package/dist/components/oauth-selector/index.js +1 -1
- package/dist/components/oauth-selector/option-container/index.js +1 -1
- package/dist/components/package-card/index.d.ts +3 -0
- package/dist/components/package-card/index.js +8 -0
- package/dist/components/package-card/index.stories.d.ts +7 -0
- package/dist/components/package-card/styles.d.ts +8 -0
- package/dist/components/package-card/types.d.ts +35 -0
- package/dist/components/paginator-db/btn/index.js +1 -1
- package/dist/components/paginator-db/dropdown/index.js +1 -1
- package/dist/components/paginator-db/index.js +1 -1
- package/dist/components/pop-up/description/index.js +1 -1
- package/dist/components/pop-up/index.js +1 -1
- package/dist/components/premium-feature/index.js +1 -1
- package/dist/components/priority-cards/card/index.js +1 -1
- package/dist/components/priority-cards/index.js +1 -1
- package/dist/components/priority-score/index.js +1 -1
- package/dist/components/progress-bar/index.js +1 -1
- package/dist/components/progress-indicator/in-progress-icon/index.js +1 -1
- package/dist/components/progress-indicator/index.js +1 -1
- package/dist/components/progress-indicator/step/index.js +1 -1
- package/dist/components/radio-button/index.js +1 -1
- package/dist/components/rank-position/icon/index.js +2 -2
- package/dist/components/rank-position/index.js +1 -1
- package/dist/components/rules-card/index.js +1 -1
- package/dist/components/scroll-button/index.js +1 -1
- package/dist/components/search/index.js +1 -1
- package/dist/components/search-dropdown/index.js +1 -1
- package/dist/components/segmented-progress-bar/index.js +2 -2
- package/dist/components/severity-badge/index.js +1 -1
- package/dist/components/severity-indicator/index.js +1 -1
- package/dist/components/severity-overview/badge/index.js +1 -1
- package/dist/components/severity-overview/index.js +2 -2
- package/dist/components/show-on-hover/index.js +1 -1
- package/dist/components/slide-out-menu/index.js +1 -1
- package/dist/components/slide-out-menu/menu-item/index.js +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/thumb/index.js +1 -1
- package/dist/components/step-lapse/index.js +1 -1
- package/dist/components/table/context/index.js +1 -1
- package/dist/components/table/export-csv/index.js +1 -1
- package/dist/components/table/index.js +1 -1
- package/dist/components/table/pagination/pagination-control/index.js +1 -1
- package/dist/components/table/pagination/pagination-dropdown/index.js +1 -1
- package/dist/components/table/pagination/pagination-size/index.js +1 -1
- package/dist/components/table/sort-icon/index.js +1 -1
- package/dist/components/table/table-body/index.js +1 -1
- package/dist/components/table/table-column-toggle/index.js +1 -1
- package/dist/components/table/table-content/head/index.js +1 -1
- package/dist/components/table/table-content/index.js +1 -1
- package/dist/components/table/table-footer/footer-content/index.js +1 -1
- package/dist/components/table/table-footer/index.js +1 -1
- package/dist/components/table/table-options/caption-content/index.js +1 -1
- package/dist/components/table/table-options/controls-content/index.js +1 -1
- package/dist/components/table/table-options/highlighted-content/index.js +1 -1
- package/dist/components/table/table-options/index.js +1 -1
- package/dist/components/table/wrapper/index.js +1 -1
- package/dist/components/table-button/index.js +1 -1
- package/dist/components/table-content/index.js +1 -1
- package/dist/components/table-content/item-content/index.js +1 -1
- package/dist/components/table-of-contents/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/tab/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/timeline/card/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toggle/index.js +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tour/index.js +1 -1
- package/dist/components/tree/index.js +1 -1
- package/dist/components/typography/heading/index.js +1 -1
- package/dist/components/typography/index.js +1 -1
- package/dist/components/typography/span/index.js +1 -1
- package/dist/components/typography/text/index.js +1 -1
- package/dist/components/weaknesses-card/index.js +1 -1
- package/dist/{components-CoeZW1uk.mjs → components-DHVnPnLl.mjs} +2807 -2646
- package/dist/context/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +115 -114
- package/dist/next/index.js +1 -1
- package/dist/utils/index.js +7 -7
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../../../../vendor-ZNO6ui6E.mjs";
|
|
3
3
|
import "react";
|
|
4
|
-
import { a0 as m } from "../../../../../components-
|
|
4
|
+
import { a0 as m } from "../../../../../components-DHVnPnLl.mjs";
|
|
5
5
|
export {
|
|
6
6
|
m as DropzoneInputFile
|
|
7
7
|
};
|
|
@@ -3,7 +3,7 @@ import "../../../../vendor-ZNO6ui6E.mjs";
|
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
import "styled-components";
|
|
6
|
-
import {
|
|
6
|
+
import { b9 as n } from "../../../../components-DHVnPnLl.mjs";
|
|
7
7
|
export {
|
|
8
8
|
n as PhoneInput
|
|
9
9
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as e, a2 as s, a5 as n, at as u, au as p, av as r, aw as I, ax as o, ay as b, az as i, aA as m, aB as x, b2 as
|
|
1
|
+
import { P as e, a2 as s, a5 as n, at as u, au as p, av as r, aw as I, ax as o, ay as b, az as i, aA as m, aB as x, b2 as g, b9 as T, bS as l, bU as A } from "../../components-DHVnPnLl.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as ComboBox,
|
|
4
4
|
s as Editable,
|
|
@@ -12,8 +12,8 @@ export {
|
|
|
12
12
|
i as InputNumberRange,
|
|
13
13
|
m as InputSection,
|
|
14
14
|
x as InputTags,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
g as OutlineContainer,
|
|
16
|
+
T as PhoneInput,
|
|
17
17
|
l as TextArea,
|
|
18
18
|
A as TextInput
|
|
19
19
|
};
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "../../../../vendor-ZNO6ui6E.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import { V as p,
|
|
5
|
+
import { V as p, bW as a } from "../../../../components-DHVnPnLl.mjs";
|
|
6
6
|
export {
|
|
7
7
|
p as DateField,
|
|
8
8
|
a as TimeField
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "../../../../vendor-ZNO6ui6E.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import { aW as e } from "../../../../components-
|
|
5
|
+
import { aW as e } from "../../../../components-DHVnPnLl.mjs";
|
|
6
6
|
export {
|
|
7
7
|
e as NumberField
|
|
8
8
|
};
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../../vendor-ZNO6ui6E.mjs";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import {
|
|
5
|
+
import { bb as b } from "../../../../components-DHVnPnLl.mjs";
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
b as Popover
|
|
8
8
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { q as t, r, s, M as
|
|
1
|
+
import { q as t, r, s, M as n, ae as b, bn as e } from "../../components-DHVnPnLl.mjs";
|
|
2
2
|
export {
|
|
3
3
|
t as ButtonToolbarCenter,
|
|
4
4
|
r as ButtonToolbarRow,
|
|
5
5
|
s as ButtonToolbarStartRow,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
n as Col,
|
|
7
|
+
b as Gap,
|
|
8
|
+
e as Row
|
|
9
9
|
};
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "../../../vendor-ZNO6ui6E.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import { aj as a } from "../../../components-
|
|
5
|
+
import { aj as a } from "../../../components-DHVnPnLl.mjs";
|
|
6
6
|
export {
|
|
7
7
|
a as Header
|
|
8
8
|
};
|
|
@@ -3,7 +3,7 @@ import "../../vendor-ZNO6ui6E.mjs";
|
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
import "styled-components";
|
|
6
|
-
import { O as l, aQ as s, aR as d, aS as M } from "../../components-
|
|
6
|
+
import { O as l, aQ as s, aR as d, aS as M } from "../../components-DHVnPnLl.mjs";
|
|
7
7
|
export {
|
|
8
8
|
l as ColumnsModal,
|
|
9
9
|
s as Modal,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "styled-components";
|
|
4
|
-
import { aX as p, a_ as e } from "../../components-
|
|
4
|
+
import { aX as p, a_ as e } from "../../components-DHVnPnLl.mjs";
|
|
5
5
|
export {
|
|
6
6
|
p as OAuthSelector,
|
|
7
7
|
e as OptionContainer
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { IPackageCardProps } from './types';
|
|
4
|
+
declare const config: Meta;
|
|
5
|
+
declare const Default: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, React.PropsWithChildren<IPackageCardProps>>;
|
|
6
|
+
export { Default };
|
|
7
|
+
export default config;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const IconChip: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$bgColor"> & {
|
|
2
|
+
$bgColor: string;
|
|
3
|
+
}, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$bgColor"> & {
|
|
4
|
+
$bgColor: string;
|
|
5
|
+
}, never>>> & string;
|
|
6
|
+
declare const HorizontalDivider: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
7
|
+
declare const StatDivider: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
8
|
+
export { HorizontalDivider, IconChip, StatDivider };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ComponentType, ReactNode } from 'react';
|
|
2
|
+
import { TSeverityBadgeVariant } from '../severity-badge';
|
|
3
|
+
type TPackageCardSize = "md" | "lg";
|
|
4
|
+
/**
|
|
5
|
+
* Interface for the package card props.
|
|
6
|
+
* @interface IPackageCardProps
|
|
7
|
+
* @property {string} ecosystem - The ecosystem of the package (e.g. npm, PyPI).
|
|
8
|
+
* @property {string} packageName - The name of the package.
|
|
9
|
+
* @property {string} href - The href of the package detail page.
|
|
10
|
+
* @property {string} [indx] - Position hint used to round the card corners in a list.
|
|
11
|
+
* @property {number} totalVersions - Total number of tracked versions.
|
|
12
|
+
* @property {number} vulnerableCount - Number of vulnerable versions.
|
|
13
|
+
* @property {number} safeCount - Number of safe versions.
|
|
14
|
+
* @property {number} malwareCount - Number of versions flagged as malware.
|
|
15
|
+
* @property {TSeverityBadgeVariant} [severity] - Highest severity among affecting advisories.
|
|
16
|
+
* @property {TPackageCardSize} [size] - Card size that controls all text sizes (md or lg).
|
|
17
|
+
* @property {ComponentType<{ children: ReactNode; href: string }>} [Link] - Optional Link component for navigation.
|
|
18
|
+
*/
|
|
19
|
+
interface IPackageCardProps {
|
|
20
|
+
ecosystem: string;
|
|
21
|
+
href: string;
|
|
22
|
+
indx?: string;
|
|
23
|
+
malwareCount: number;
|
|
24
|
+
packageName: string;
|
|
25
|
+
safeCount: number;
|
|
26
|
+
severity?: TSeverityBadgeVariant;
|
|
27
|
+
size?: TPackageCardSize;
|
|
28
|
+
totalVersions: number;
|
|
29
|
+
vulnerableCount: number;
|
|
30
|
+
Link?: ComponentType<{
|
|
31
|
+
children: ReactNode;
|
|
32
|
+
href: string;
|
|
33
|
+
}>;
|
|
34
|
+
}
|
|
35
|
+
export type { IPackageCardProps, TPackageCardSize };
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "../../../vendor-ZNO6ui6E.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import {
|
|
5
|
+
import { b8 as a } from "../../../components-DHVnPnLl.mjs";
|
|
6
6
|
export {
|
|
7
7
|
a as PaginatorDbDropdown
|
|
8
8
|
};
|