@fluidattacks/design 6.16.0 → 6.16.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/@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 +2 -2
- package/dist/components/alert/index.js +1 -1
- package/dist/components/alert/index.stories.d.ts +3 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/components/card-container/index.js +1 -1
- package/dist/components/carousel/index.js +2 -2
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/circular-progress/index.js +1 -1
- package/dist/components/cloud-image/index.js +2 -2
- package/dist/components/code-snippet/index.js +2 -2
- package/dist/components/colors/index.js +1 -1
- package/dist/components/conditions-dialog/index.js +2 -2
- package/dist/components/confirm-dialog/index.js +2 -2
- 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 +2 -2
- 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/context/types.d.ts +0 -6
- package/dist/components/filters/filters-menu/index.js +2 -2
- package/dist/components/filters/hooks.d.ts +1 -2
- package/dist/components/filters/index.js +2 -2
- package/dist/components/filters/options-menu/include-exclude/index.js +1 -1
- package/dist/components/filters/options-menu/index.js +2 -2
- package/dist/components/filters/options-menu/index.test.d.ts +1 -0
- package/dist/components/filters/options-menu/options/index.js +2 -2
- package/dist/components/filters/options-menu/options/types.d.ts +1 -0
- package/dist/components/filters/options-menu/single-select/index.d.ts +3 -0
- package/dist/components/filters/options-menu/single-select/index.js +8 -0
- package/dist/components/filters/options-menu/single-select/index.test.d.ts +1 -0
- package/dist/components/filters/options-menu/single-select/styles.d.ts +13 -0
- package/dist/components/filters/options-menu/single-select/types.d.ts +15 -0
- package/dist/components/filters/search/no-matches/index.js +1 -1
- package/dist/components/form/index.js +4 -4
- package/dist/components/form/inner-form/index.js +2 -2
- 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 +2 -2
- package/dist/components/info-sidebar/index.js +1 -1
- package/dist/components/inputs/fields/combobox/field/index.js +2 -2
- package/dist/components/inputs/fields/combobox/index.js +2 -2
- package/dist/components/inputs/fields/combobox/option/index.js +2 -2
- package/dist/components/inputs/fields/date/calendar/cell/index.js +2 -2
- package/dist/components/inputs/fields/date/calendar/grid/index.js +2 -2
- package/dist/components/inputs/fields/date/calendar/header/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/index.js +2 -2
- package/dist/components/inputs/fields/date/index.js +2 -2
- package/dist/components/inputs/fields/date-range/calendar/index.js +2 -2
- package/dist/components/inputs/fields/date-range/index.js +2 -2
- package/dist/components/inputs/fields/date-range/index.stories.d.ts +3 -2
- package/dist/components/inputs/fields/date-time/calendar/index.js +2 -2
- package/dist/components/inputs/fields/date-time/index.js +2 -2
- package/dist/components/inputs/fields/editable/index.js +2 -2
- package/dist/components/inputs/fields/input-array/field/index.js +1 -1
- package/dist/components/inputs/fields/input-array/index.js +2 -2
- package/dist/components/inputs/fields/input-file/default/index.js +2 -2
- package/dist/components/inputs/fields/input-file/dropzone/index.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/components/inputs/utils/date-selector/index.js +1 -1
- package/dist/components/inputs/utils/date-time-field/index.js +2 -2
- package/dist/components/inputs/utils/dialog/index.js +2 -2
- package/dist/components/inputs/utils/number-field/index.js +2 -2
- package/dist/components/inputs/utils/popover/index.js +2 -2
- package/dist/components/item-card-db/index.js +2 -2
- package/dist/components/language-switcher/index.js +2 -2
- package/dist/components/language-switcher/language-option/index.js +1 -1
- package/dist/components/language-switcher/spinner/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 +2 -2
- 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 +2 -2
- package/dist/components/modal/columns-modal/search-panel/index.js +1 -1
- package/dist/components/modal/footer/index.js +2 -2
- package/dist/components/modal/header/index.js +2 -2
- package/dist/components/modal/index.js +2 -2
- 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/option-card/index.js +1 -1
- package/dist/components/package-card/index.js +2 -2
- package/dist/components/paginator-db/btn/index.js +1 -1
- package/dist/components/paginator-db/dropdown/index.js +2 -2
- 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 +2 -2
- package/dist/components/premium-feature/index.js +1 -1
- package/dist/components/priority-cards/card/index.js +2 -2
- package/dist/components/priority-cards/index.js +2 -2
- 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 +2 -2
- package/dist/components/scroll-button/index.js +1 -1
- package/dist/components/search/index.js +2 -2
- package/dist/components/search-dropdown/index.js +2 -2
- 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 +2 -2
- package/dist/components/severity-overview/badge/index.js +2 -2
- 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 +2 -2
- package/dist/components/slide-out-menu/menu-item/index.js +1 -1
- package/dist/components/slider/index.js +2 -2
- package/dist/components/slider/thumb/index.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/components/table/table-column-toggle/index.js +2 -2
- package/dist/components/table/table-content/head/index.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/components/tour/index.js +2 -2
- 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 +2 -2
- package/dist/{components-BM8vLUDH.mjs → components-DfWcK6Xh.mjs} +4598 -4398
- 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-carousel.test.d.ts +1 -0
- package/dist/index.js +31 -31
- package/dist/utils/index.js +1 -1
- package/dist/{vendor-Drh0tBdw.mjs → vendor-DsCv0rGr.mjs} +11496 -11085
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as e, f as t, g as n, h as o, bo as b, bp as i, bA as p, bB as r, bC as B, bD as d, bE as C, bF as g, bG as m, bT as f } from "../../components-
|
|
1
|
+
import { B as e, f as t, g as n, h as o, bo as b, bp as i, bA as p, bB as r, bC as B, bD as d, bE as C, bF as g, bG as m, bT as f } from "../../components-DfWcK6Xh.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as BaseButtonComponent,
|
|
4
4
|
t as BaseComponent,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../vendor-
|
|
2
|
+
import "../../vendor-DsCv0rGr.mjs";
|
|
3
3
|
import "styled-components";
|
|
4
|
-
import { c as t } from "../../components-
|
|
4
|
+
import { c as t } from "../../components-DfWcK6Xh.mjs";
|
|
5
5
|
export {
|
|
6
6
|
t as AdvisoriesCard
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-vite';
|
|
1
|
+
import { Meta, StoryFn } from '@storybook/react-vite';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
import { IAlertProps } from '.';
|
|
4
4
|
declare const config: Meta;
|
|
@@ -8,5 +8,6 @@ declare const Warning: import('storybook/internal/csf').AnnotatedStoryFn<import(
|
|
|
8
8
|
declare const Info: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, Readonly<React.PropsWithChildren<IAlertProps>>>;
|
|
9
9
|
declare const CustomAlert: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, Readonly<React.PropsWithChildren<IAlertProps>>>;
|
|
10
10
|
declare const BulletListAlert: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, Readonly<React.PropsWithChildren<IAlertProps>>>;
|
|
11
|
-
|
|
11
|
+
declare const ParentControlled: StoryFn;
|
|
12
|
+
export { ErrorState, Success, Warning, Info, CustomAlert, BulletListAlert, ParentControlled, };
|
|
12
13
|
export default config;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { p as d } from "../../../components-
|
|
4
|
-
import "../../../vendor-
|
|
3
|
+
import { p as d } from "../../../components-DfWcK6Xh.mjs";
|
|
4
|
+
import "../../../vendor-DsCv0rGr.mjs";
|
|
5
5
|
import "styled-components";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../vendor-
|
|
2
|
+
import "../../../vendor-DsCv0rGr.mjs";
|
|
3
3
|
import "styled-components";
|
|
4
|
-
import { Y as p } from "../../../components-
|
|
4
|
+
import { Y as p } from "../../../components-DfWcK6Xh.mjs";
|
|
5
5
|
export {
|
|
6
6
|
p as IndicatorCard
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { u as a } from "../../components-
|
|
4
|
-
import "../../vendor-
|
|
3
|
+
import { u as a } from "../../components-DfWcK6Xh.mjs";
|
|
4
|
+
import "../../vendor-DsCv0rGr.mjs";
|
|
5
5
|
import "nuqs";
|
|
6
6
|
export {
|
|
7
7
|
a as Carousel
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../vendor-
|
|
2
|
+
import "../../vendor-DsCv0rGr.mjs";
|
|
3
3
|
import "react";
|
|
4
|
-
import { M as a } from "../../components-
|
|
4
|
+
import { M as a } from "../../components-DfWcK6Xh.mjs";
|
|
5
5
|
import "nuqs";
|
|
6
6
|
export {
|
|
7
7
|
a as CloudImage
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../vendor-
|
|
2
|
+
import "../../vendor-DsCv0rGr.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import { x as e } from "../../components-
|
|
5
|
+
import { x as e } from "../../components-DfWcK6Xh.mjs";
|
|
6
6
|
export {
|
|
7
7
|
e as CodeSnippet
|
|
8
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { bM as s } from "../../components-
|
|
4
|
-
import "../../vendor-
|
|
3
|
+
import { bM as s } from "../../components-DfWcK6Xh.mjs";
|
|
4
|
+
import "../../vendor-DsCv0rGr.mjs";
|
|
5
5
|
import "nuqs";
|
|
6
6
|
export {
|
|
7
7
|
s as useConditionsDialog
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { bN as a } from "../../components-
|
|
4
|
-
import "../../vendor-
|
|
3
|
+
import { bN as a } from "../../components-DfWcK6Xh.mjs";
|
|
4
|
+
import "../../vendor-DsCv0rGr.mjs";
|
|
5
5
|
import "nuqs";
|
|
6
6
|
export {
|
|
7
7
|
a as useConfirmDialog
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../vendor-
|
|
2
|
+
import "../../vendor-DsCv0rGr.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import { I as a } from "../../components-
|
|
5
|
+
import { I as a } from "../../components-DfWcK6Xh.mjs";
|
|
6
6
|
export {
|
|
7
7
|
a as Dropdown
|
|
8
8
|
};
|
|
@@ -3,21 +3,17 @@ import { TFilterValues, TSetFilterValues } from '../../../hooks/use-filters';
|
|
|
3
3
|
/**
|
|
4
4
|
* Interface for the search state.
|
|
5
5
|
* @interface ISearchState
|
|
6
|
-
* @property { boolean } includeSearch - Whether to include a search bar.
|
|
7
6
|
* @property { string } previousValue - The previous value of the filter.
|
|
8
7
|
*/
|
|
9
8
|
interface ISearchState {
|
|
10
|
-
includeSearch: boolean;
|
|
11
9
|
previousValue: string;
|
|
12
10
|
}
|
|
13
11
|
/**
|
|
14
12
|
* Interface for the scroll state.
|
|
15
13
|
* @interface IScrollState
|
|
16
|
-
* @property { string } height - The height of the scroll.
|
|
17
14
|
* @property { React.RefObject<HTMLDivElement> } ref - The reference to the scroll element.
|
|
18
15
|
*/
|
|
19
16
|
interface IScrollState {
|
|
20
|
-
height: string;
|
|
21
17
|
ref: React.RefObject<HTMLDivElement>;
|
|
22
18
|
}
|
|
23
19
|
/**
|
|
@@ -46,7 +42,6 @@ type TSetSearchValues = React.Dispatch<React.SetStateAction<TSearchValues>>;
|
|
|
46
42
|
* @property { TFilterValues } values - The values of the filters.
|
|
47
43
|
* @property { TSetFilterValues } setValues - The function to set the values of the filters.
|
|
48
44
|
* @property { Function } updateSearch - The function to update the search state.
|
|
49
|
-
* @property { Function } updateScrollHeight - The function to update the scroll height.
|
|
50
45
|
*/
|
|
51
46
|
interface IFiltersContext {
|
|
52
47
|
id: string;
|
|
@@ -58,7 +53,6 @@ interface IFiltersContext {
|
|
|
58
53
|
values: TFilterValues;
|
|
59
54
|
setValues: TSetFilterValues;
|
|
60
55
|
updateSearch: (updates: Readonly<Partial<ISearchState>>) => void;
|
|
61
|
-
updateScrollHeight: (height: string) => void;
|
|
62
56
|
/** Side requested by chip navigation; auto-opens that includeExclude dropdown. */
|
|
63
57
|
navMode: TIncludeExcludeMode | null;
|
|
64
58
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../vendor-
|
|
2
|
+
import "../../../vendor-DsCv0rGr.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import { cm as s } from "../../../components-
|
|
5
|
+
import { cm as s } from "../../../components-DfWcK6Xh.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
export {
|
|
8
8
|
s as FiltersMenu
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { ICalendarState, IScrollState, ISearchState } from './context/types';
|
|
2
|
-
declare const useFilterSearchState: (
|
|
2
|
+
declare const useFilterSearchState: () => {
|
|
3
3
|
searchState: ISearchState;
|
|
4
4
|
updateSearch: (updates: Readonly<Partial<ISearchState>>) => void;
|
|
5
5
|
};
|
|
6
6
|
declare const useFilterScrollState: () => {
|
|
7
7
|
scrollState: IScrollState;
|
|
8
|
-
updateScrollHeight: (height: string) => void;
|
|
9
8
|
};
|
|
10
9
|
declare const useFilterCalendarState: () => {
|
|
11
10
|
calendarState: ICalendarState;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../vendor-
|
|
4
|
-
import { a, Q as e, by as p } from "../../components-
|
|
3
|
+
import "../../vendor-DsCv0rGr.mjs";
|
|
4
|
+
import { a, Q as e, by as p } from "../../components-DfWcK6Xh.mjs";
|
|
5
5
|
export {
|
|
6
6
|
a as ActiveFilters,
|
|
7
7
|
e as Filters,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../vendor-
|
|
2
|
+
import "../../../vendor-DsCv0rGr.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "styled-components";
|
|
5
|
-
import { cq as e } from "../../../components-
|
|
5
|
+
import { cq as e } from "../../../components-DfWcK6Xh.mjs";
|
|
6
6
|
export {
|
|
7
7
|
e as OptionsMenu
|
|
8
8
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../../vendor-
|
|
2
|
+
import "../../../../vendor-DsCv0rGr.mjs";
|
|
3
3
|
import "react";
|
|
4
|
-
import { co as s, cp as a } from "../../../../components-
|
|
4
|
+
import { co as s, cp as a } from "../../../../components-DfWcK6Xh.mjs";
|
|
5
5
|
import "styled-components";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
export {
|
|
@@ -23,6 +23,7 @@ interface IRendererConfig {
|
|
|
23
23
|
onRangeChange?: (index: number) => (value: string) => void;
|
|
24
24
|
onRangeNumberChange?: (index: number) => (event: Readonly<ChangeEvent<HTMLInputElement>>) => void;
|
|
25
25
|
ref: (node: Readonly<Element | null>) => void;
|
|
26
|
+
totalSize: number;
|
|
26
27
|
updateCalendarState: (isOpen: boolean) => void;
|
|
27
28
|
minValue?: number | string;
|
|
28
29
|
maxValue?: number | string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const StyledOption: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, "as" | "forwardedAs"> & {
|
|
2
|
+
as?: import('styled-components').WebTarget | undefined;
|
|
3
|
+
forwardedAs?: import('styled-components').WebTarget | undefined;
|
|
4
|
+
}, "ref"> & {
|
|
5
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
6
|
+
}, never> & Partial<Pick<Omit<import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, "as" | "forwardedAs"> & {
|
|
7
|
+
as?: import('styled-components').WebTarget | undefined;
|
|
8
|
+
forwardedAs?: import('styled-components').WebTarget | undefined;
|
|
9
|
+
}, "ref"> & {
|
|
10
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
11
|
+
}, never>>> & string;
|
|
12
|
+
declare const StyledFloatingDropdown: 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;
|
|
13
|
+
export { StyledFloatingDropdown, StyledOption };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IFilterItem } from '../../types';
|
|
2
|
+
/** Props for the SingleSelectSearch component. */
|
|
3
|
+
interface ISingleSelectSearchProps {
|
|
4
|
+
/** Stable name used for the aria labels and the popover id. */
|
|
5
|
+
name: string;
|
|
6
|
+
/** The full list of selectable items. */
|
|
7
|
+
items: ReadonlyArray<IFilterItem>;
|
|
8
|
+
/** The selected item value, if any. */
|
|
9
|
+
selected: string | null;
|
|
10
|
+
/** Placeholder text shown when nothing is selected. */
|
|
11
|
+
placeholder: string;
|
|
12
|
+
/** Called with the picked item value; the returned handler applies it. */
|
|
13
|
+
onSelect: (value: string) => VoidFunction;
|
|
14
|
+
}
|
|
15
|
+
export type { ISingleSelectSearchProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { D as s,
|
|
2
|
+
import { D as s, aJ as t, aK as m, aF as l, aL as n } from "../../vendor-DsCv0rGr.mjs";
|
|
3
3
|
import "styled-components";
|
|
4
|
-
import { R as
|
|
4
|
+
import { R as p, $ as u } from "../../components-DfWcK6Xh.mjs";
|
|
5
5
|
export {
|
|
6
6
|
s as Controller,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
p as Form,
|
|
8
|
+
u as InnerForm,
|
|
9
9
|
t as useController,
|
|
10
10
|
m as useFieldArray,
|
|
11
11
|
l as useFormContext,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "styled-components";
|
|
4
|
-
import {
|
|
4
|
+
import { cs as p, ct as a } from "../../../components-DfWcK6Xh.mjs";
|
|
5
5
|
export {
|
|
6
6
|
p as OptionBoxContainer,
|
|
7
7
|
a as OptionContainer
|