@fluidattacks/design 6.5.0 → 6.7.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.
- package/dist/assets/index.css +1 -1
- package/dist/components/@core/index.js +1 -1
- 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/drawer/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 +3 -2
- package/dist/components/filters/index.js +1 -1
- package/dist/components/filters/index.stories.d.ts +2 -1
- package/dist/components/filters/options-menu/include-exclude/index.js +1 -1
- 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/filters/types.d.ts +13 -2
- package/dist/components/filters/utils.d.ts +1 -0
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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.js +1 -1
- 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 +1 -1
- 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-control/index.js +1 -1
- package/dist/components/segmented-progress-bar/index.js +1 -1
- 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 +1 -1
- 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/summary-card/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.d.ts +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/tag/index.stories.d.ts +5 -7
- package/dist/components/tag/index.test.d.ts +1 -0
- package/dist/components/tag/styles.d.ts +6 -2
- package/dist/components/tag/types.d.ts +7 -0
- 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/truncated-list/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-BrzTiKVh.mjs → components-DySh5Dve.mjs} +3389 -3300
- package/dist/globals/design-tokens-css/index.js +1 -1
- package/dist/globals/designs-provider/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/use-click-outside.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "../../vendor-Drh0tBdw.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import { aH as e } from "../../components-
|
|
5
|
+
import { aH as e } from "../../components-DySh5Dve.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
export {
|
|
8
8
|
e as Search
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "../../vendor-Drh0tBdw.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import { aI as a } from "../../components-
|
|
5
|
+
import { aI as a } from "../../components-DySh5Dve.mjs";
|
|
6
6
|
export {
|
|
7
7
|
a as SearchDropdown
|
|
8
8
|
};
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import { aK as a } from "../../vendor-Drh0tBdw.mjs";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import { aQ as s } from "../../components-
|
|
5
|
+
import { aQ as s } from "../../components-DySh5Dve.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
export {
|
|
8
8
|
s as Slider,
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "../../../../vendor-Drh0tBdw.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import { cH as a } from "../../../../components-
|
|
5
|
+
import { cH as a } from "../../../../components-DySh5Dve.mjs";
|
|
6
6
|
export {
|
|
7
7
|
a as PaginationDropdown
|
|
8
8
|
};
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "../../../vendor-Drh0tBdw.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import { cE as a } from "../../../components-
|
|
5
|
+
import { cE as a } from "../../../components-DySh5Dve.mjs";
|
|
6
6
|
export {
|
|
7
7
|
a as Body
|
|
8
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../../vendor-Drh0tBdw.mjs";
|
|
3
3
|
import "react";
|
|
4
|
-
import { cB as l } from "../../../components-
|
|
4
|
+
import { cB as l } from "../../../components-DySh5Dve.mjs";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
import "styled-components";
|
|
7
7
|
import "react-router";
|
|
@@ -3,7 +3,7 @@ import "../../../../vendor-Drh0tBdw.mjs";
|
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
import "styled-components";
|
|
6
|
-
import { cD as e } from "../../../../components-
|
|
6
|
+
import { cD as e } from "../../../../components-DySh5Dve.mjs";
|
|
7
7
|
export {
|
|
8
8
|
e as Head
|
|
9
9
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ITagProps, TTagVariant } from './types';
|
|
2
|
-
declare const Tag: ({ disabled, icon, iconColor, iconType, id, filterId, filterValues, fontSize, href, linkLabel, onBodyClick, onClose, priority, tagTitle, tagLabel, truncate, variant, }: Readonly<ITagProps>) => JSX.Element;
|
|
2
|
+
declare const Tag: ({ disabled, dot, icon, iconColor, iconType, id, filterId, filterValues, fontSize, href, linkLabel, onBodyClick, onClose, priority, selected, tagTitle, tagLabel, truncate, variant, }: Readonly<ITagProps>) => JSX.Element;
|
|
3
3
|
export type { ITagProps, TTagVariant };
|
|
4
4
|
export { Tag };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-vite';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
import { ITagProps } from '.';
|
|
1
|
+
import { Meta, StoryFn } from '@storybook/react-vite';
|
|
4
2
|
declare const config: Meta;
|
|
5
|
-
declare const Default:
|
|
6
|
-
declare const
|
|
7
|
-
declare const
|
|
8
|
-
export { Default,
|
|
3
|
+
declare const Default: StoryFn;
|
|
4
|
+
declare const Selectable: StoryFn;
|
|
5
|
+
declare const Dismissible: StoryFn;
|
|
6
|
+
export { Default, Selectable, Dismissible };
|
|
9
7
|
export default config;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { TTagVariant } from './types';
|
|
2
2
|
interface IStyledTag {
|
|
3
|
-
$clickable?: boolean;
|
|
4
3
|
$fontSize?: string;
|
|
4
|
+
$interactive?: boolean;
|
|
5
|
+
$selectable?: boolean;
|
|
6
|
+
$selected?: boolean;
|
|
5
7
|
$variant: TTagVariant;
|
|
6
8
|
}
|
|
7
9
|
declare const StyledTag: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof IStyledTag> & IStyledTag, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof IStyledTag> & IStyledTag, never>>> & string;
|
|
8
|
-
|
|
10
|
+
declare const StyledTagContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>> & string;
|
|
11
|
+
declare const StyledDot: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>> & string;
|
|
12
|
+
export { StyledDot, StyledTag, StyledTagContent };
|
|
@@ -7,11 +7,16 @@ type TTagPriority = "default" | "high" | "low" | "medium";
|
|
|
7
7
|
* @extends IIconModifiable
|
|
8
8
|
* @extends HTMLAttributes<HTMLSpanElement>
|
|
9
9
|
* @property { boolean } [disabled] - Whether the tag is disabled.
|
|
10
|
+
* @property { boolean } [dot] - Whether to render a status dot before the label.
|
|
10
11
|
* @property { string } [filterValues] - The filter values for the tag.
|
|
11
12
|
* @property { string } [fontSize] - The font size for the tag.
|
|
12
13
|
* @property { string } [href] - The href for the tag.
|
|
13
14
|
* @property { string } [linkLabel] - The link label for the tag.
|
|
14
15
|
* @property { Function } [onClose] - Function handler for close button click.
|
|
16
|
+
* @property { boolean } [selected] - Controlled selected state for Selectable tags.
|
|
17
|
+
* When boolean together with onBodyClick, applies Selectable visuals (outline / filled).
|
|
18
|
+
* Without onBodyClick the value is ignored for chrome. Omit on filter chips that only
|
|
19
|
+
* use onBodyClick for focus.
|
|
15
20
|
* @property { string } [tagTitle] - The title for the tag.
|
|
16
21
|
* @property { string } [tagLabel] - The label for the tag.
|
|
17
22
|
* @property { boolean } [truncate] - Whether the tag should truncate its content.
|
|
@@ -20,6 +25,7 @@ type TTagPriority = "default" | "high" | "low" | "medium";
|
|
|
20
25
|
*/
|
|
21
26
|
interface ITagProps extends Partial<Pick<IIconModifiable, "icon" | "iconColor" | "iconType">>, React.HTMLAttributes<HTMLSpanElement> {
|
|
22
27
|
disabled?: boolean;
|
|
28
|
+
dot?: boolean;
|
|
23
29
|
filterValues?: string;
|
|
24
30
|
filterId?: string;
|
|
25
31
|
fontSize?: string;
|
|
@@ -27,6 +33,7 @@ interface ITagProps extends Partial<Pick<IIconModifiable, "icon" | "iconColor" |
|
|
|
27
33
|
linkLabel?: string;
|
|
28
34
|
onBodyClick?: () => void;
|
|
29
35
|
onClose?: () => void;
|
|
36
|
+
selected?: boolean;
|
|
30
37
|
tagTitle?: string;
|
|
31
38
|
tagLabel: string;
|
|
32
39
|
truncate?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../vendor-Drh0tBdw.mjs";
|
|
3
3
|
import "react";
|
|
4
|
-
import { b5 as s, ba as b, bc as e } from "../../components-
|
|
4
|
+
import { b5 as s, ba as b, bc as e } from "../../components-DySh5Dve.mjs";
|
|
5
5
|
export {
|
|
6
6
|
s as Tour,
|
|
7
7
|
b as baseStep,
|