@fluidattacks/design 3.1.4 → 3.1.5
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/package.json +14 -1
- package/types/components/@core/constants.d.ts +2 -0
- package/types/components/@core/index.d.ts +5 -0
- package/types/components/@core/styles.d.ts +6 -0
- package/types/components/@core/types.d.ts +181 -0
- package/types/components/@core/utils.d.ts +11 -0
- package/types/components/@core/variants/utils.d.ts +59 -0
- package/types/components/accordion/accordion-content/index.d.ts +3 -0
- package/types/components/accordion/index.d.ts +4 -0
- package/types/components/accordion/types.d.ts +36 -0
- package/types/components/alert/index.d.ts +4 -0
- package/types/components/alert/styles.d.ts +9 -0
- package/types/components/alert/types.d.ts +23 -0
- package/types/components/button/index.d.ts +4 -0
- package/types/components/button/styles.d.ts +9 -0
- package/types/components/button/types.d.ts +30 -0
- package/types/components/card/card-header/index.d.ts +3 -0
- package/types/components/card/card-with-image/index.d.ts +4 -0
- package/types/components/card/card-with-input/index.d.ts +3 -0
- package/types/components/card/card-with-input/styles.d.ts +8 -0
- package/types/components/card/card-with-selector/index.d.ts +3 -0
- package/types/components/card/card-with-switch/index.d.ts +3 -0
- package/types/components/card/index.d.ts +6 -0
- package/types/components/card/types.d.ts +121 -0
- package/types/components/carousel/index.d.ts +4 -0
- package/types/components/carousel/styles.d.ts +10 -0
- package/types/components/carousel/types.d.ts +19 -0
- package/types/components/checkbox/index.d.ts +3 -0
- package/types/components/checkbox/styles.d.ts +2 -0
- package/types/components/checkbox/types.d.ts +17 -0
- package/types/components/cloud-image/index.d.ts +5 -0
- package/types/components/cloud-image/types.d.ts +18 -0
- package/types/components/code-snippet/index.d.ts +3 -0
- package/types/components/code-snippet/location-code/index.d.ts +5 -0
- package/types/components/code-snippet/styles.d.ts +3 -0
- package/types/components/code-snippet/types.d.ts +22 -0
- package/types/components/colors/index.d.ts +10 -0
- package/types/components/confirm-dialog/index.d.ts +11 -0
- package/types/components/confirm-dialog/types.d.ts +13 -0
- package/types/components/container/index.d.ts +4 -0
- package/types/components/container/styles.d.ts +9 -0
- package/types/components/container/types.d.ts +22 -0
- package/types/components/content-card/category-tag/index.d.ts +5 -0
- package/types/components/content-card/event-date/index.d.ts +4 -0
- package/types/components/content-card/index.d.ts +3 -0
- package/types/components/content-card/styles.d.ts +2 -0
- package/types/components/content-card/types.d.ts +33 -0
- package/types/components/content-card-carousel/index.d.ts +3 -0
- package/types/components/content-card-carousel/scroll-buttons/index.d.ts +6 -0
- package/types/components/content-card-carousel/styles.d.ts +3 -0
- package/types/components/content-card-carousel/types.d.ts +16 -0
- package/types/components/divider/index.d.ts +3 -0
- package/types/components/divider/types.d.ts +11 -0
- package/types/components/empty-state/empty-button/index.d.ts +8 -0
- package/types/components/empty-state/index.d.ts +3 -0
- package/types/components/empty-state/styles.d.ts +8 -0
- package/types/components/empty-state/types.d.ts +35 -0
- package/types/components/file-preview/index.d.ts +3 -0
- package/types/components/file-preview/styles.d.ts +6 -0
- package/types/components/file-preview/types.d.ts +20 -0
- package/types/components/file-preview/utils.d.ts +5 -0
- package/types/components/form/index.d.ts +4 -0
- package/types/components/form/styles.d.ts +2 -0
- package/types/components/form/types.d.ts +21 -0
- package/types/components/grid-container/index.d.ts +4 -0
- package/types/components/grid-container/styles.d.ts +12 -0
- package/types/components/grid-container/types.d.ts +17 -0
- package/types/components/grid-layout/styles.d.ts +12 -0
- package/types/components/group-selector/index.d.ts +3 -0
- package/types/components/group-selector/option-container/index.d.ts +4 -0
- package/types/components/group-selector/styles.d.ts +7 -0
- package/types/components/group-selector/types.d.ts +44 -0
- package/types/components/icon/index.d.ts +3 -0
- package/types/components/icon/styles.d.ts +15 -0
- package/types/components/icon/types.d.ts +35 -0
- package/types/components/icon-button/index.d.ts +3 -0
- package/types/components/icon-button/styles.d.ts +9 -0
- package/types/components/icon-button/types.d.ts +22 -0
- package/types/components/indicator-card/index.d.ts +5 -0
- package/types/components/indicator-card/types.d.ts +30 -0
- package/types/components/info-sidebar/index.d.ts +4 -0
- package/types/components/info-sidebar/types.d.ts +32 -0
- package/types/components/inputs/fields/combobox/index.d.ts +4 -0
- package/types/components/inputs/fields/combobox/option/index.d.ts +3 -0
- package/types/components/inputs/fields/combobox/styles.d.ts +3 -0
- package/types/components/inputs/fields/combobox/types.d.ts +40 -0
- package/types/components/inputs/fields/date/calendar/cell/index.d.ts +3 -0
- package/types/components/inputs/fields/date/calendar/grid/index.d.ts +3 -0
- package/types/components/inputs/fields/date/calendar/header/index.d.ts +3 -0
- package/types/components/inputs/fields/date/calendar/index.d.ts +6 -0
- package/types/components/inputs/fields/date/calendar/styles.d.ts +13 -0
- package/types/components/inputs/fields/date/index.d.ts +3 -0
- package/types/components/inputs/fields/date/types.d.ts +32 -0
- package/types/components/inputs/fields/date-range/calendar/index.d.ts +6 -0
- package/types/components/inputs/fields/date-range/index.d.ts +4 -0
- package/types/components/inputs/fields/date-range/styles.d.ts +5 -0
- package/types/components/inputs/fields/date-time/calendar/index.d.ts +9 -0
- package/types/components/inputs/fields/date-time/calendar/styles.d.ts +3 -0
- package/types/components/inputs/fields/date-time/index.d.ts +4 -0
- package/types/components/inputs/fields/editable/index.d.ts +5 -0
- package/types/components/inputs/fields/editable/types.d.ts +19 -0
- package/types/components/inputs/fields/input/index.d.ts +3 -0
- package/types/components/inputs/fields/input-file/index.d.ts +3 -0
- package/types/components/inputs/fields/input-file/styles.d.ts +6 -0
- package/types/components/inputs/fields/input-tags/index.d.ts +3 -0
- package/types/components/inputs/fields/input-tags/styles.d.ts +2 -0
- package/types/components/inputs/fields/number/index.d.ts +3 -0
- package/types/components/inputs/fields/number-range/index.d.ts +3 -0
- package/types/components/inputs/fields/phone/index.d.ts +3 -0
- package/types/components/inputs/fields/phone/styles.d.ts +6 -0
- package/types/components/inputs/fields/text-area/index.d.ts +3 -0
- package/types/components/inputs/index.d.ts +14 -0
- package/types/components/inputs/label/index.d.ts +3 -0
- package/types/components/inputs/outline-container/index.d.ts +4 -0
- package/types/components/inputs/styles.d.ts +3 -0
- package/types/components/inputs/types.d.ts +108 -0
- package/types/components/inputs/utils/action-button/index.d.ts +3 -0
- package/types/components/inputs/utils/calendar-button/index.d.ts +8 -0
- package/types/components/inputs/utils/date-selector/index.d.ts +3 -0
- package/types/components/inputs/utils/date-time-field/index.d.ts +4 -0
- package/types/components/inputs/utils/dialog/index.d.ts +4 -0
- package/types/components/inputs/utils/number-field/index.d.ts +6 -0
- package/types/components/inputs/utils/popover/index.d.ts +4 -0
- package/types/components/inputs/utils/styles.d.ts +17 -0
- package/types/components/inputs/utils/types.d.ts +77 -0
- package/types/components/inputs/utils.d.ts +3 -0
- package/types/components/interactive-card/icon/index.d.ts +5 -0
- package/types/components/interactive-card/index.d.ts +3 -0
- package/types/components/interactive-card/styles.d.ts +3 -0
- package/types/components/interactive-card/types.d.ts +20 -0
- package/types/components/language-selector/index.d.ts +3 -0
- package/types/components/language-selector/item-list/index.d.ts +3 -0
- package/types/components/language-selector/styles.d.ts +5 -0
- package/types/components/language-selector/types.d.ts +37 -0
- package/types/components/link/index.d.ts +5 -0
- package/types/components/link/styles.d.ts +8 -0
- package/types/components/link/types.d.ts +22 -0
- package/types/components/list-item/index.d.ts +4 -0
- package/types/components/list-item/styles.d.ts +3 -0
- package/types/components/list-item/types.d.ts +28 -0
- package/types/components/little-flag/index.d.ts +4 -0
- package/types/components/little-flag/styles.d.ts +6 -0
- package/types/components/little-flag/types.d.ts +15 -0
- package/types/components/loading/index.d.ts +4 -0
- package/types/components/loading/styles.d.ts +9 -0
- package/types/components/loading/types.d.ts +15 -0
- package/types/components/logo/index.d.ts +3 -0
- package/types/components/logo/types.d.ts +12 -0
- package/types/components/logo-carousel/index.d.ts +3 -0
- package/types/components/logo-carousel/styles.d.ts +4 -0
- package/types/components/logo-carousel/types.d.ts +11 -0
- package/types/components/logo-carousel/utils.d.ts +2 -0
- package/types/components/lottie/index.d.ts +3 -0
- package/types/components/lottie/styles.d.ts +41 -0
- package/types/components/lottie/types.d.ts +11 -0
- package/types/components/menu/index.d.ts +4 -0
- package/types/components/menu/types.d.ts +31 -0
- package/types/components/message-banner/index.d.ts +3 -0
- package/types/components/message-banner/styles.d.ts +2 -0
- package/types/components/message-banner/types.d.ts +26 -0
- package/types/components/message-banner/utils.d.ts +7 -0
- package/types/components/modal/index.d.ts +5 -0
- package/types/components/modal/modal-confirm/index.d.ts +3 -0
- package/types/components/modal/modal-footer/index.d.ts +3 -0
- package/types/components/modal/modal-header/index.d.ts +3 -0
- package/types/components/modal/styles.d.ts +16 -0
- package/types/components/modal/types.d.ts +87 -0
- package/types/components/notification/index.d.ts +3 -0
- package/types/components/notification/styles.d.ts +7 -0
- package/types/components/notification/types.d.ts +16 -0
- package/types/components/notification/utils.d.ts +4 -0
- package/types/components/notification-sign/index.d.ts +3 -0
- package/types/components/notification-sign/styles.d.ts +9 -0
- package/types/components/notification-sign/types.d.ts +16 -0
- package/types/components/number-input/index.d.ts +5 -0
- package/types/components/number-input/styles.d.ts +3 -0
- package/types/components/number-input/types.d.ts +17 -0
- package/types/components/oauth-selector/index.d.ts +5 -0
- package/types/components/oauth-selector/option-container/index.d.ts +3 -0
- package/types/components/oauth-selector/types.d.ts +45 -0
- package/types/components/plan-card/index.d.ts +3 -0
- package/types/components/plan-card/recommended-tag/index.d.ts +2 -0
- package/types/components/plan-card/styles.d.ts +3 -0
- package/types/components/plan-card/types.d.ts +47 -0
- package/types/components/plan-card/utils.d.ts +5 -0
- package/types/components/pop-up/description/index.d.ts +5 -0
- package/types/components/pop-up/index.d.ts +4 -0
- package/types/components/pop-up/types.d.ts +58 -0
- package/types/components/premium-feature/index.d.ts +3 -0
- package/types/components/premium-feature/styles.d.ts +2 -0
- package/types/components/premium-feature/types.d.ts +14 -0
- package/types/components/priority-score/index.d.ts +3 -0
- package/types/components/priority-score/types.d.ts +9 -0
- package/types/components/progress/index.d.ts +4 -0
- package/types/components/progress/styles.d.ts +6 -0
- package/types/components/progress/types.d.ts +12 -0
- package/types/components/progress/utils.d.ts +2 -0
- package/types/components/progress-bar/index.d.ts +3 -0
- package/types/components/progress-bar/styles.d.ts +13 -0
- package/types/components/progress-bar/types.d.ts +24 -0
- package/types/components/radio-button/index.d.ts +3 -0
- package/types/components/radio-button/styles.d.ts +5 -0
- package/types/components/radio-button/types.d.ts +14 -0
- package/types/components/scroll-button/index.d.ts +4 -0
- package/types/components/scroll-button/styles.d.ts +4 -0
- package/types/components/scroll-button/types.d.ts +11 -0
- package/types/components/search/index.d.ts +3 -0
- package/types/components/search/styles.d.ts +4 -0
- package/types/components/search/types.d.ts +10 -0
- package/types/components/search-bar/index.d.ts +3 -0
- package/types/components/search-bar/item-searching/index.d.ts +3 -0
- package/types/components/search-bar/styles.d.ts +15 -0
- package/types/components/search-bar/types.d.ts +29 -0
- package/types/components/search-bar/utils.d.ts +4 -0
- package/types/components/severity-badge/index.d.ts +3 -0
- package/types/components/severity-badge/types.d.ts +26 -0
- package/types/components/severity-badge/utils.d.ts +3 -0
- package/types/components/severity-overview/badge/index.d.ts +3 -0
- package/types/components/severity-overview/index.d.ts +3 -0
- package/types/components/severity-overview/types.d.ts +40 -0
- package/types/components/severity-overview/utils.d.ts +3 -0
- package/types/components/show-on-hover/index.d.ts +3 -0
- package/types/components/show-on-hover/styles.d.ts +2 -0
- package/types/components/show-on-hover/types.d.ts +12 -0
- package/types/components/slide-out-menu/index.d.ts +4 -0
- package/types/components/slide-out-menu/menu-item/index.d.ts +3 -0
- package/types/components/slide-out-menu/styles.d.ts +2 -0
- package/types/components/slide-out-menu/types.d.ts +43 -0
- package/types/components/slider/index.d.ts +3 -0
- package/types/components/slider/styles.d.ts +7 -0
- package/types/components/slider/thumb/index.d.ts +3 -0
- package/types/components/slider/types.d.ts +13 -0
- package/types/components/slider/utils.d.ts +2 -0
- package/types/components/step-lapse/index.d.ts +3 -0
- package/types/components/step-lapse/styles.d.ts +8 -0
- package/types/components/step-lapse/types.d.ts +44 -0
- package/types/components/table-button/index.d.ts +3 -0
- package/types/components/table-button/styles.d.ts +2 -0
- package/types/components/table-button/types.d.ts +16 -0
- package/types/components/tabs/fixed-tabs/index.d.ts +3 -0
- package/types/components/tabs/index.d.ts +5 -0
- package/types/components/tabs/styles.d.ts +4 -0
- package/types/components/tabs/tab/index.d.ts +4 -0
- package/types/components/tabs/types.d.ts +48 -0
- package/types/components/tag/index.d.ts +4 -0
- package/types/components/tag/styles.d.ts +7 -0
- package/types/components/tag/types.d.ts +32 -0
- package/types/components/timeline/card/index.d.ts +3 -0
- package/types/components/timeline/index.d.ts +4 -0
- package/types/components/timeline/styles.d.ts +3 -0
- package/types/components/timeline/types.d.ts +21 -0
- package/types/components/toggle/index.d.ts +4 -0
- package/types/components/toggle/styles.d.ts +4 -0
- package/types/components/toggle/types.d.ts +28 -0
- package/types/components/toggle-buttons/index.d.ts +3 -0
- package/types/components/toggle-buttons/styles.d.ts +3 -0
- package/types/components/toggle-buttons/types.d.ts +13 -0
- package/types/components/tooltip/index.d.ts +4 -0
- package/types/components/tooltip/styles.d.ts +7 -0
- package/types/components/tooltip/types.d.ts +29 -0
- package/types/components/tour/index.d.ts +6 -0
- package/types/components/tour/types.d.ts +14 -0
- package/types/components/typography/heading/index.d.ts +3 -0
- package/types/components/typography/index.d.ts +4 -0
- package/types/components/typography/span/index.d.ts +3 -0
- package/types/components/typography/styles.d.ts +26 -0
- package/types/components/typography/text/index.d.ts +3 -0
- package/types/components/typography/types.d.ts +27 -0
- package/types/components/web-form/index.d.ts +5 -0
- package/types/components/web-form/styles.d.ts +4 -0
- package/types/components/web-form/types.d.ts +15 -0
- package/types/hooks/index.d.ts +8 -0
- package/types/hooks/use-carousel.d.ts +6 -0
- package/types/hooks/use-click-outside.d.ts +2 -0
- package/types/hooks/use-cloudinary-image.d.ts +13 -0
- package/types/hooks/use-debounced-callback.d.ts +4 -0
- package/types/hooks/use-modal.d.ts +11 -0
- package/types/hooks/use-search.d.ts +5 -0
- package/types/index.d.ts +67 -0
- package/types/utils/date.d.ts +3 -0
- package/types/utils/open-url.d.ts +1 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ButtonHTMLAttributes } from "react";
|
|
2
|
+
import type { IBorderModifiable, IDisplayModifiable, IIconModifiable, IPaddingModifiable } from "components/@core/types";
|
|
3
|
+
import type { TVariant } from "components/button/styles";
|
|
4
|
+
import type { TPlace } from "components/tooltip/types";
|
|
5
|
+
/**
|
|
6
|
+
* IconButton component props.
|
|
7
|
+
* @interface IIconButtonProps
|
|
8
|
+
* @extends ButtonHTMLAttributes<HTMLButtonElement>
|
|
9
|
+
* @extends IBorderModifiable
|
|
10
|
+
* @extends IDisplayModifiable
|
|
11
|
+
* @extends IIconModifiable
|
|
12
|
+
* @extends IPaddingModifiable
|
|
13
|
+
* @property {string} [tooltip] - Tooltip text.
|
|
14
|
+
* @property {string} [tooltipPlace] - Tooltip placement.
|
|
15
|
+
* @property {TVariant} [variant] - Variant
|
|
16
|
+
*/
|
|
17
|
+
interface IIconButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, Pick<IDisplayModifiable, "height" | "justify" | "width">, Pick<IPaddingModifiable, "px" | "py">, IBorderModifiable, IIconModifiable {
|
|
18
|
+
tooltip?: string;
|
|
19
|
+
tooltipPlace?: TPlace;
|
|
20
|
+
variant?: TVariant;
|
|
21
|
+
}
|
|
22
|
+
export type { IIconButtonProps };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PropsWithChildren } from "react";
|
|
2
|
+
import type { IIndicatorCardProps } from "./types";
|
|
3
|
+
declare const IndicatorCard: ({ description, height, leftIconName, children, rightIconName, title, tooltipId, tooltipTip, tooltipPlace, variant, width, }: Readonly<PropsWithChildren<IIndicatorCardProps>>) => JSX.Element;
|
|
4
|
+
export type { IIndicatorCardProps };
|
|
5
|
+
export { IndicatorCard };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { IconName } from "@fortawesome/free-solid-svg-icons";
|
|
2
|
+
import type { TPlace } from "components/tooltip/types";
|
|
3
|
+
type TVariant = "centered" | "left-aligned";
|
|
4
|
+
/**
|
|
5
|
+
* Indicator card component props.
|
|
6
|
+
* @interface IIndicatorCardProps
|
|
7
|
+
* @property { string } [description] - Description of the indicator card.
|
|
8
|
+
* @property { string } [height] - Height of the indicator card.
|
|
9
|
+
* @property { IconName } [leftIconName] - Name of the left icon.
|
|
10
|
+
* @property { IconName } [rightIconName] - Name of the right icon.
|
|
11
|
+
* @property { string } [title] - Title of the indicator card.
|
|
12
|
+
* @property { string } [tooltipId] - Id of the tooltip.
|
|
13
|
+
* @property { string } [tooltipTip] - Tip of the tooltip.
|
|
14
|
+
* @property { TPlace } [tooltipPlace] - Place of the tooltip.
|
|
15
|
+
* @property { TVariant } [variant] - Variant of the indicator card.
|
|
16
|
+
* @property { string } [width] - Width of the indicator card.
|
|
17
|
+
*/
|
|
18
|
+
interface IIndicatorCardProps {
|
|
19
|
+
description?: string;
|
|
20
|
+
height?: string;
|
|
21
|
+
leftIconName?: IconName;
|
|
22
|
+
rightIconName?: IconName;
|
|
23
|
+
title?: string;
|
|
24
|
+
tooltipId?: string;
|
|
25
|
+
tooltipTip?: string;
|
|
26
|
+
tooltipPlace?: TPlace;
|
|
27
|
+
variant?: TVariant;
|
|
28
|
+
width?: string;
|
|
29
|
+
}
|
|
30
|
+
export type { IIndicatorCardProps };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { IIconModifiable } from "components/@core";
|
|
2
|
+
import { ITabProps } from "components/tabs/types";
|
|
3
|
+
/**
|
|
4
|
+
* Button empty state props.
|
|
5
|
+
* @interface IButtonProps
|
|
6
|
+
* @extends IIconModifiable
|
|
7
|
+
* @property { string } [id] - Button id.
|
|
8
|
+
* @property { string } [text] - Button text.
|
|
9
|
+
* @property { Function } [onClick] - Button click handler.
|
|
10
|
+
*/
|
|
11
|
+
interface IButtonProps extends Partial<IIconModifiable> {
|
|
12
|
+
id?: string;
|
|
13
|
+
onClick?: () => void;
|
|
14
|
+
text?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Info sidebar component props.
|
|
18
|
+
* @interface IInfoSidebarProps
|
|
19
|
+
* @property { IButtonProps[] } [actions] - Sidebar actions.
|
|
20
|
+
* @property { React.ReactNode } [header] - Sidebar header.
|
|
21
|
+
* @property { string } title - Sidebar title.
|
|
22
|
+
* @property { ITabProps[] } tabs - Sidebar tabs.
|
|
23
|
+
* @property { IButtonProps[] } [footer] - Sidebar footer.
|
|
24
|
+
*/
|
|
25
|
+
interface IInfoSidebarProps {
|
|
26
|
+
actions?: IButtonProps[];
|
|
27
|
+
header?: React.ReactNode;
|
|
28
|
+
title: string;
|
|
29
|
+
tabs: ITabProps[];
|
|
30
|
+
footer?: IButtonProps[];
|
|
31
|
+
}
|
|
32
|
+
export type { IInfoSidebarProps };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const StyledDropdown: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
|
|
2
|
+
declare const StyledOption: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;
|
|
3
|
+
export { StyledDropdown, StyledOption };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { Key } from "react-aria";
|
|
2
|
+
import type { ComboBoxState } from "react-stately";
|
|
3
|
+
import type { IOutlineContainerProps } from "../../types";
|
|
4
|
+
/**
|
|
5
|
+
* Props for the item component.
|
|
6
|
+
* @interface IItem
|
|
7
|
+
* @property { string } name - The name of the item.
|
|
8
|
+
* @property { string } value - The value of the item.
|
|
9
|
+
*/
|
|
10
|
+
interface IItem {
|
|
11
|
+
name: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Props for the option component.
|
|
16
|
+
* @interface IOptionProps
|
|
17
|
+
* @property { IItem } item - The item to be rendered as an option.
|
|
18
|
+
* @property { ComboBoxState<T> } state - The state of the ComboBox.
|
|
19
|
+
*/
|
|
20
|
+
interface IOptionProps<T> {
|
|
21
|
+
item: IItem;
|
|
22
|
+
state: ComboBoxState<T>;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Props for the Select component.
|
|
26
|
+
* @interface IComboBoxProps
|
|
27
|
+
* @property { boolean } [disabled] - Whether the Select is disabled.
|
|
28
|
+
* @property { string } name - The name of the Select.
|
|
29
|
+
* @property { IItem[] } items - The items to be rendered as options.
|
|
30
|
+
* @property { Function } onChange - The callback function to be called when the value of the Select changes.
|
|
31
|
+
* @property { string } value - The value of the Select.
|
|
32
|
+
*/
|
|
33
|
+
interface IComboBoxProps extends Partial<Omit<IOutlineContainerProps, "maxLength" | "value">> {
|
|
34
|
+
disabled?: boolean;
|
|
35
|
+
name: string;
|
|
36
|
+
items: IItem[];
|
|
37
|
+
onChange: (key: Key | null) => void;
|
|
38
|
+
value: string;
|
|
39
|
+
}
|
|
40
|
+
export type { IItem, IOptionProps, IComboBoxProps };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const TitleContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
declare const YearSwitch: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
+
}>, never>, never>> & string;
|
|
5
|
+
declare const WeekDaysTr: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, never>> & string;
|
|
6
|
+
declare const DayHeaderTh: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, never>> & string;
|
|
7
|
+
declare const DayItemTd: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, never>> & string;
|
|
8
|
+
declare const DotIconContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
9
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
+
}>, never>, never>> & string;
|
|
11
|
+
declare const CaretButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
12
|
+
declare const FooterContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
13
|
+
export { CaretButton, DayItemTd, DayHeaderTh, DotIconContainer, FooterContainer, TitleContainer, WeekDaysTr, YearSwitch, };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from "react";
|
|
2
|
+
import type { AriaCalendarCellProps, AriaCalendarGridProps, CalendarAria, DateValue } from "react-aria";
|
|
3
|
+
import type { CalendarState, DatePickerStateOptions, DateRangePickerStateOptions, RangeCalendarState } from "react-stately";
|
|
4
|
+
/**
|
|
5
|
+
* Calendar state props.
|
|
6
|
+
* @interface ICalendarState
|
|
7
|
+
* @property {CalendarState | RangeCalendarState} state - Calendar state.
|
|
8
|
+
*/
|
|
9
|
+
interface ICalendarState {
|
|
10
|
+
state: CalendarState | RangeCalendarState;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Date component props.
|
|
14
|
+
* @interface IDateProps
|
|
15
|
+
* @extends InputHTMLAttributes<HTMLInputElement>
|
|
16
|
+
* @property {string} [error] - Error message of the date input.
|
|
17
|
+
* @property {string} [label] - Label of the date input.
|
|
18
|
+
* @property {string} name - Name of the date input.
|
|
19
|
+
* @property {string} [tooltip] - Tooltip of the date input.
|
|
20
|
+
*/
|
|
21
|
+
interface IDateProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
22
|
+
error?: string;
|
|
23
|
+
label?: string;
|
|
24
|
+
name: string;
|
|
25
|
+
tooltip?: string;
|
|
26
|
+
}
|
|
27
|
+
type TInputDateProps = IDateProps & Omit<DatePickerStateOptions<DateValue>, "label">;
|
|
28
|
+
type TGridProps = AriaCalendarGridProps & ICalendarState;
|
|
29
|
+
type TCellProps = AriaCalendarCellProps & ICalendarState;
|
|
30
|
+
type THeaderProps = ICalendarState & Pick<CalendarAria, "nextButtonProps" | "prevButtonProps" | "title">;
|
|
31
|
+
type TInputDateRangeProps = IDateProps & Omit<DateRangePickerStateOptions, "label">;
|
|
32
|
+
export type { IDateProps, TInputDateProps, TCellProps, TGridProps, THeaderProps, TInputDateRangeProps, };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { TInputDateRangeProps } from "../date/types";
|
|
2
|
+
declare const InputDateRange: import("react").ForwardRefExoticComponent<Readonly<TInputDateRangeProps> & import("react").RefAttributes<HTMLInputElement>>;
|
|
3
|
+
export type { TInputDateRangeProps };
|
|
4
|
+
export { InputDateRange };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const DateSelectorOutline: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
2
|
+
$disabled?: boolean;
|
|
3
|
+
$show?: boolean;
|
|
4
|
+
}>> & string;
|
|
5
|
+
export { DateSelectorOutline };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TimeValue } from "react-aria";
|
|
2
|
+
import type { CalendarStateOptions, DatePickerState } from "react-stately";
|
|
3
|
+
declare const Calendar: ({ handleTimeChange, onClose, props, timeState, }: Readonly<{
|
|
4
|
+
handleTimeChange: (selectedValue: TimeValue | null) => void;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
props: Omit<CalendarStateOptions, "createCalendar" | "locale">;
|
|
7
|
+
timeState: DatePickerState;
|
|
8
|
+
}>) => JSX.Element;
|
|
9
|
+
export { Calendar };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const TimeOutlineContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
declare const OutlineContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export { OutlineContainer, TimeOutlineContainer };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PropsWithChildren } from "react";
|
|
2
|
+
import type { IEditableProps } from "./types";
|
|
3
|
+
declare const Editable: ({ children, currentValue, externalLink, isEditing, label, name, tooltip, }: Readonly<PropsWithChildren<IEditableProps>>) => JSX.Element;
|
|
4
|
+
export type { IEditableProps };
|
|
5
|
+
export { Editable };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Editable component props.
|
|
3
|
+
* @interface IEditableProps
|
|
4
|
+
* @property {string} [currentValue] - The current value of the editable field.
|
|
5
|
+
* @property {string} [externalLink] - The external link associated with the editable field.
|
|
6
|
+
* @property {boolean} isEditing - Indicates whether the editable field is being edited.
|
|
7
|
+
* @property {string} label - The label for the editable field.
|
|
8
|
+
* @property {string} name - The name of the editable field.
|
|
9
|
+
* @property {string} [tooltip] - The tooltip text for the editable field.
|
|
10
|
+
*/
|
|
11
|
+
interface IEditableProps {
|
|
12
|
+
currentValue?: string;
|
|
13
|
+
externalLink?: string;
|
|
14
|
+
isEditing: boolean;
|
|
15
|
+
label: string;
|
|
16
|
+
name: string;
|
|
17
|
+
tooltip?: string;
|
|
18
|
+
}
|
|
19
|
+
export type { IEditableProps };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IStyledTextProps } from "components/typography/styles";
|
|
2
|
+
declare const StyledInputText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../../@core").IPaddingModifiable | keyof import("../../../@core").IMarginModifiable | keyof import("../../../@core").IPositionModifiable | keyof import("../../../@core").IBorderModifiable | keyof import("../../../@core").IDisplayModifiable | keyof import("../../../@core").ITextModifiable | keyof import("../../../@core").IInteractionModifiable> & import("../../../@core").IBorderModifiable & import("../../../@core").IDisplayModifiable & import("../../../@core").IInteractionModifiable & import("../../../@core").IMarginModifiable & import("../../../@core").IPaddingModifiable & import("../../../@core").IPositionModifiable & import("../../../@core").ITextModifiable, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
|
|
4
|
+
}, keyof IStyledTextProps> & IStyledTextProps, IStyledTextProps>> & string;
|
|
5
|
+
declare const FileInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>> & string;
|
|
6
|
+
export { StyledInputText, FileInput };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const StyledPhoneInputContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
declare const StyledCountrySelector: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
3
|
+
declare const StyledDropdown: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
|
|
4
|
+
declare const StyledCountryItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;
|
|
5
|
+
declare const StyledCountryName: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
6
|
+
export { StyledCountryName, StyledCountrySelector, StyledCountryItem, StyledDropdown, StyledPhoneInputContainer, };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ComboBox } from "./fields/combobox";
|
|
2
|
+
import { InputDate } from "./fields/date";
|
|
3
|
+
import { InputDateRange } from "./fields/date-range";
|
|
4
|
+
import { InputDateTime } from "./fields/date-time";
|
|
5
|
+
import { Editable } from "./fields/editable";
|
|
6
|
+
import { Input } from "./fields/input";
|
|
7
|
+
import { InputFile } from "./fields/input-file";
|
|
8
|
+
import { InputTags } from "./fields/input-tags";
|
|
9
|
+
import { InputNumber } from "./fields/number";
|
|
10
|
+
import { InputNumberRange } from "./fields/number-range";
|
|
11
|
+
import { PhoneInput } from "./fields/phone";
|
|
12
|
+
import { TextArea } from "./fields/text-area";
|
|
13
|
+
import { OutlineContainer } from "./outline-container";
|
|
14
|
+
export { OutlineContainer, PhoneInput, ComboBox, Input, InputDate, InputDateRange, InputDateTime, InputFile, InputNumber, InputTags, InputNumberRange, TextArea, Editable, };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PropsWithChildren } from "react";
|
|
2
|
+
import type { IOutlineContainerProps } from "../types";
|
|
3
|
+
declare const OutlineContainer: ({ children, error, helpLink, helpLinkText, helpText, htmlFor, label, maxLength, required, tooltip, value, weight, }: Readonly<PropsWithChildren<IOutlineContainerProps>>) => JSX.Element;
|
|
4
|
+
export { OutlineContainer };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const StyledOutlineContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
declare const StyledTextInputContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export { StyledOutlineContainer, StyledTextInputContainer };
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { InputHTMLAttributes, TextareaHTMLAttributes } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Label component props.
|
|
4
|
+
* @interface ILabelProps
|
|
5
|
+
* @property {string} htmlFor - The htmlFor of the input.
|
|
6
|
+
* @property {string | JSX.Element} [label] - The label of the input.
|
|
7
|
+
* @property {boolean} [required] - Whether the input is required.
|
|
8
|
+
* @property {string} [tooltip] - The tooltip of the input.
|
|
9
|
+
* @property {string} [weight] - The weight of the label.
|
|
10
|
+
*/
|
|
11
|
+
interface ILabelProps {
|
|
12
|
+
htmlFor: string;
|
|
13
|
+
label?: string | JSX.Element;
|
|
14
|
+
required?: boolean;
|
|
15
|
+
tooltip?: string;
|
|
16
|
+
weight?: "bold" | "normal";
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Outline container component props.
|
|
20
|
+
* @interface IOutlineContainerProps
|
|
21
|
+
* @extends ILabelProps
|
|
22
|
+
* @property {string} [error] - The error message of the input.
|
|
23
|
+
* @property {string} [helpLink] - The help link of the input.
|
|
24
|
+
* @property {string} [helpLinkText] - The help link text of the input.
|
|
25
|
+
* @property {string} [helpText] - The help text of the input.
|
|
26
|
+
* @property {number} [maxLength] - The max length of the input.
|
|
27
|
+
*/
|
|
28
|
+
interface IOutlineContainerProps extends ILabelProps {
|
|
29
|
+
error?: string;
|
|
30
|
+
helpLink?: string;
|
|
31
|
+
helpLinkText?: string;
|
|
32
|
+
helpText?: string;
|
|
33
|
+
maxLength?: number;
|
|
34
|
+
value?: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Input text component props.
|
|
38
|
+
* @interface IInputProps
|
|
39
|
+
* @extends InputHTMLAttributes<HTMLInputElement>
|
|
40
|
+
* @extends IOutlineContainerProps
|
|
41
|
+
* @property {boolean} [hasIcon] - Whether the input has an icon.
|
|
42
|
+
* @property {string} name - The name of the input.
|
|
43
|
+
* @property {boolean} [maskValue] - Whether the input has a mask value.
|
|
44
|
+
* @property {string[]} [suggestions] - The suggestions of the input.
|
|
45
|
+
*/
|
|
46
|
+
interface IInputProps extends InputHTMLAttributes<HTMLInputElement>, Partial<Omit<IOutlineContainerProps, "maxLength" | "value">> {
|
|
47
|
+
hasIcon?: boolean;
|
|
48
|
+
name: string;
|
|
49
|
+
maskValue?: boolean;
|
|
50
|
+
suggestions?: string[];
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Text area component props.
|
|
54
|
+
* @interface ITextAreaProps
|
|
55
|
+
* @extends TextareaHTMLAttributes<HTMLTextAreaElement>
|
|
56
|
+
* @extends IOutlineContainerProps
|
|
57
|
+
* @property {string} name - The name of the text area.
|
|
58
|
+
* @property {boolean} [maskValue] - Whether the input has a mask value.
|
|
59
|
+
*/
|
|
60
|
+
interface ITextAreaProps extends TextareaHTMLAttributes<HTMLTextAreaElement>, Partial<Omit<IOutlineContainerProps, "value">> {
|
|
61
|
+
name: string;
|
|
62
|
+
maskValue?: boolean;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Input number component props.
|
|
66
|
+
* @interface IInputNumberProps
|
|
67
|
+
* @extends InputHTMLAttributes<HTMLInputElement>
|
|
68
|
+
* @extends IOutlineContainerProps
|
|
69
|
+
* @property {number} [decimalPlaces] - The decimal places of the input.
|
|
70
|
+
* @property {string} name - The name of the input.
|
|
71
|
+
*/
|
|
72
|
+
interface IInputNumberProps extends InputHTMLAttributes<HTMLInputElement>, Partial<Omit<IOutlineContainerProps, "value">> {
|
|
73
|
+
decimalPlaces?: number;
|
|
74
|
+
name: string;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Input number range component props.
|
|
78
|
+
* @interface IInputNumberRangeProps
|
|
79
|
+
* @property {boolean} [disabled] - Whether the input is disabled.
|
|
80
|
+
* @property {string} [error] - The error message of the input.
|
|
81
|
+
* @property {string} name - The name of the input.
|
|
82
|
+
* @property {string} [label] - The label of the input.
|
|
83
|
+
* @property {IInputNumberProps} propsMin - The props of the minimum input.
|
|
84
|
+
* @property {IInputNumberProps} propsMax - The props of the maximum input.
|
|
85
|
+
* @property {boolean} [required] - Whether the input is required.
|
|
86
|
+
* @property {string} [tooltip] - The tooltip of the input.
|
|
87
|
+
*/
|
|
88
|
+
interface IInputNumberRangeProps {
|
|
89
|
+
disabled?: boolean;
|
|
90
|
+
error?: string;
|
|
91
|
+
name: string;
|
|
92
|
+
label?: string;
|
|
93
|
+
propsMin: IInputNumberProps;
|
|
94
|
+
propsMax: IInputNumberProps;
|
|
95
|
+
required?: boolean;
|
|
96
|
+
tooltip?: string;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Input number component props.
|
|
100
|
+
* @interface IInputNumberProps
|
|
101
|
+
* @extends InputHTMLAttributes<HTMLInputElement>
|
|
102
|
+
* @extends IOutlineContainerProps
|
|
103
|
+
* @property {Function} [onRemove] - The function to remove the tag.
|
|
104
|
+
*/
|
|
105
|
+
interface IInputTagProps extends InputHTMLAttributes<HTMLInputElement>, Partial<Omit<IOutlineContainerProps, "value">> {
|
|
106
|
+
onRemove?: (tag: string) => void;
|
|
107
|
+
}
|
|
108
|
+
export type { ILabelProps, IOutlineContainerProps, IInputProps, ITextAreaProps, IInputNumberProps, IInputNumberRangeProps, IInputTagProps, };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { IconName } from "@fortawesome/free-solid-svg-icons";
|
|
2
|
+
import type { AriaButtonOptions } from "react-aria";
|
|
3
|
+
declare const Button: ({ disabled, icon, props, }: Readonly<{
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
icon: IconName;
|
|
6
|
+
props: AriaButtonOptions<"button">;
|
|
7
|
+
}>) => JSX.Element;
|
|
8
|
+
export { Button };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { TDateFieldProps, TTimeFieldProps } from "../types";
|
|
2
|
+
declare const DateField: ({ disabled, error, props, }: Readonly<TDateFieldProps>) => JSX.Element;
|
|
3
|
+
declare const TimeField: (props: Readonly<TTimeFieldProps>) => JSX.Element;
|
|
4
|
+
export { DateField, TimeField };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Ref } from "react";
|
|
2
|
+
import type { IInputNumberProps } from "../../types";
|
|
3
|
+
declare const NumberField: ({ error, decimalPlaces, disabled, max, min, name, placeholder, ref, required, value, ...props }: Readonly<IInputNumberProps & {
|
|
4
|
+
ref: Ref<HTMLInputElement>;
|
|
5
|
+
}>) => JSX.Element;
|
|
6
|
+
export { NumberField };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PropsWithChildren } from "react";
|
|
2
|
+
import type { IPopoverProps } from "../types";
|
|
3
|
+
declare const Popover: ({ className, children, isFilter, popoverRef, state, triggerRef, ...props }: Readonly<PropsWithChildren<IPopoverProps>>) => JSX.Element;
|
|
4
|
+
export { Popover };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IActionButtonProps } from "./types";
|
|
2
|
+
declare const StyledButtonAction: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import("components/@core").IPaddingModifiable | keyof import("components/@core").IMarginModifiable | keyof import("components/@core").IPositionModifiable | keyof import("components/@core").IBorderModifiable | keyof import("components/@core").IDisplayModifiable | keyof import("components/@core").ITextModifiable | keyof import("components/@core").IInteractionModifiable> & import("components/@core").IBorderModifiable & import("components/@core").IDisplayModifiable & import("components/@core").IInteractionModifiable & import("components/@core").IMarginModifiable & import("components/@core").IPaddingModifiable & import("components/@core").IPositionModifiable & import("components/@core").ITextModifiable, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
4
|
+
}, {
|
|
5
|
+
$margin: IActionButtonProps["margin"];
|
|
6
|
+
}>> & string;
|
|
7
|
+
declare const DialogContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
8
|
+
declare const CalendarButtonAction: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
9
|
+
$disabled: boolean;
|
|
10
|
+
$focus: boolean;
|
|
11
|
+
$header: boolean;
|
|
12
|
+
}>> & string;
|
|
13
|
+
declare const InputDateBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
14
|
+
declare const TimeOutlineContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
15
|
+
declare const TimePickerContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
16
|
+
declare const DayPeriodButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
17
|
+
export { StyledButtonAction, CalendarButtonAction, DayPeriodButton, DialogContainer, InputDateBox, TimeOutlineContainer, TimePickerContainer, };
|