scorer-ui-kit 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/package.json +1 -1
  2. package/dist/Alerts/atom/AlertBar.d.ts +0 -16
  3. package/dist/Alerts/atom/Notification.d.ts +0 -22
  4. package/dist/Alerts/index.d.ts +0 -5
  5. package/dist/CameraPanels/atoms/MediaStream.d.ts +0 -14
  6. package/dist/CameraPanels/atoms/PanelMetaData.d.ts +0 -11
  7. package/dist/CameraPanels/index.d.ts +0 -6
  8. package/dist/CameraPanels/molecules/CameraPanel.d.ts +0 -14
  9. package/dist/CameraPanels/organisms/CameraPanels.d.ts +0 -7
  10. package/dist/Filters/FilterTypes.d.ts +0 -51
  11. package/dist/Filters/atoms/DateTimeBlock.d.ts +0 -12
  12. package/dist/Filters/atoms/FilterButton.d.ts +0 -10
  13. package/dist/Filters/atoms/FilterDropHandler.d.ts +0 -13
  14. package/dist/Filters/atoms/FilterDropdownContainer.d.ts +0 -7
  15. package/dist/Filters/atoms/LoadingBox.d.ts +0 -6
  16. package/dist/Filters/index.d.ts +0 -11
  17. package/dist/Filters/molecules/DatePicker.d.ts +0 -22
  18. package/dist/Filters/molecules/DropdownDatePicker.d.ts +0 -13
  19. package/dist/Filters/molecules/FilterDropdown.d.ts +0 -21
  20. package/dist/Filters/molecules/FilterInputs.d.ts +0 -12
  21. package/dist/Filters/molecules/FiltersResults.d.ts +0 -21
  22. package/dist/Filters/molecules/SortDropdown.d.ts +0 -16
  23. package/dist/Filters/organisms/FilterBar.d.ts +0 -21
  24. package/dist/Form/Form.d.ts +0 -7
  25. package/dist/Form/atoms/Button.d.ts +0 -9
  26. package/dist/Form/atoms/ButtonWithIcon.d.ts +0 -8
  27. package/dist/Form/atoms/ButtonWithLoading.d.ts +0 -8
  28. package/dist/Form/atoms/Checkbox.d.ts +0 -15
  29. package/dist/Form/atoms/CropArea.d.ts +0 -7
  30. package/dist/Form/atoms/DropArea.d.ts +0 -8
  31. package/dist/Form/atoms/FilterOption.d.ts +0 -12
  32. package/dist/Form/atoms/IconButton.d.ts +0 -8
  33. package/dist/Form/atoms/Input.d.ts +0 -12
  34. package/dist/Form/atoms/InputFileButton.d.ts +0 -11
  35. package/dist/Form/atoms/Label.d.ts +0 -12
  36. package/dist/Form/atoms/RadioButton.d.ts +0 -8
  37. package/dist/Form/atoms/SelectField.d.ts +0 -16
  38. package/dist/Form/atoms/SliderInput.d.ts +0 -22
  39. package/dist/Form/atoms/SmallInput.d.ts +0 -10
  40. package/dist/Form/atoms/Switch.d.ts +0 -19
  41. package/dist/Form/atoms/TextArea.d.ts +0 -9
  42. package/dist/Form/index.d.ts +0 -38
  43. package/dist/Form/molecules/ActionButtons.d.ts +0 -9
  44. package/dist/Form/molecules/CropTool.d.ts +0 -18
  45. package/dist/Form/molecules/DurationSlider.d.ts +0 -11
  46. package/dist/Form/molecules/PasswordField.d.ts +0 -11
  47. package/dist/Form/molecules/PercentageSlider.d.ts +0 -15
  48. package/dist/Form/molecules/TextAreaField.d.ts +0 -11
  49. package/dist/Form/molecules/TextField.d.ts +0 -12
  50. package/dist/Form/organisms/AreaUploadManager.d.ts +0 -13
  51. package/dist/Form/organisms/AvatarUploader.d.ts +0 -19
  52. package/dist/Global/atoms/CloseButton.d.ts +0 -8
  53. package/dist/Global/atoms/ContextItem.d.ts +0 -16
  54. package/dist/Global/atoms/DrawerBottomMenu.d.ts +0 -9
  55. package/dist/Global/atoms/Layout.d.ts +0 -13
  56. package/dist/Global/atoms/MobileLogoLink.d.ts +0 -8
  57. package/dist/Global/atoms/MobileNavbarContent.d.ts +0 -6
  58. package/dist/Global/atoms/NavigationItem.d.ts +0 -15
  59. package/dist/Global/atoms/NotificationItem.d.ts +0 -4
  60. package/dist/Global/index.d.ts +0 -80
  61. package/dist/Global/molecules/MobileUserMenu.d.ts +0 -7
  62. package/dist/Global/molecules/NotificationsHistory.d.ts +0 -4
  63. package/dist/Global/molecules/Sidebar.d.ts +0 -17
  64. package/dist/Global/molecules/TopBar.d.ts +0 -4
  65. package/dist/Global/molecules/UserMenu.d.ts +0 -7
  66. package/dist/Global/organisms/MainMenu.d.ts +0 -4
  67. package/dist/Global/organisms/MobileMenu.d.ts +0 -7
  68. package/dist/Global/organisms/MobileNavbar.d.ts +0 -9
  69. package/dist/Global/templates/GlobalUI.d.ts +0 -9
  70. package/dist/Icons/Icon.d.ts +0 -14
  71. package/dist/Icons/StatusIcon.d.ts +0 -9
  72. package/dist/Indicators/Spinner.d.ts +0 -8
  73. package/dist/LineUI/Contexts.d.ts +0 -8
  74. package/dist/LineUI/Control.d.ts +0 -5
  75. package/dist/LineUI/HandleUnit.d.ts +0 -23
  76. package/dist/LineUI/LineReducer.d.ts +0 -41
  77. package/dist/LineUI/LineSet.d.ts +0 -14
  78. package/dist/LineUI/LineUI.d.ts +0 -14
  79. package/dist/LineUI/LineUIRTC.d.ts +0 -18
  80. package/dist/LineUI/LineUIVideo.d.ts +0 -18
  81. package/dist/LineUI/LineUnit.d.ts +0 -20
  82. package/dist/LineUI/index.d.ts +0 -61
  83. package/dist/Misc/atoms/ActionsBar.d.ts +0 -16
  84. package/dist/Misc/atoms/BasicSearchInput.d.ts +0 -13
  85. package/dist/Misc/atoms/BigIconsSummary.d.ts +0 -9
  86. package/dist/Misc/atoms/MediaBox.d.ts +0 -21
  87. package/dist/Misc/atoms/Tag.d.ts +0 -14
  88. package/dist/Misc/index.d.ts +0 -9
  89. package/dist/Misc/molecules/DebouncedSearcher.d.ts +0 -8
  90. package/dist/Misc/molecules/TagList.d.ts +0 -8
  91. package/dist/Modals/ConfirmationModal.d.ts +0 -14
  92. package/dist/Modals/Modal.d.ts +0 -13
  93. package/dist/Modals/index.d.ts +0 -3
  94. package/dist/PTZControl/atoms/Down.d.ts +0 -5
  95. package/dist/PTZControl/atoms/Left.d.ts +0 -5
  96. package/dist/PTZControl/atoms/Right.d.ts +0 -5
  97. package/dist/PTZControl/atoms/Up.d.ts +0 -5
  98. package/dist/PTZControl/atoms/ZoomIn.d.ts +0 -5
  99. package/dist/PTZControl/atoms/ZoomOut.d.ts +0 -5
  100. package/dist/PTZControl/index.d.ts +0 -5
  101. package/dist/PTZControl/molecules/Base.d.ts +0 -5
  102. package/dist/PTZControl/molecules/ZoomBase.d.ts +0 -5
  103. package/dist/PTZControl/organisms/Controls.d.ts +0 -6
  104. package/dist/PTZControl/state/PTZProvider.d.ts +0 -30
  105. package/dist/PTZControl/state/PTZReducer.d.ts +0 -56
  106. package/dist/PTZControl/state/usePTZ.d.ts +0 -26
  107. package/dist/Pages/atoms/IntroductionText.d.ts +0 -5
  108. package/dist/Pages/atoms/PageTitle.d.ts +0 -11
  109. package/dist/Pages/index.d.ts +0 -5
  110. package/dist/Pages/molecules/MultilineContent.d.ts +0 -9
  111. package/dist/Pages/molecules/PageHeader.d.ts +0 -12
  112. package/dist/Tables/atoms/TableHeaderTitle.d.ts +0 -12
  113. package/dist/Tables/atoms/TableRowThumbnail.d.ts +0 -14
  114. package/dist/Tables/atoms/TypeTableCell.d.ts +0 -16
  115. package/dist/Tables/atoms/TypeTableDeviceStatus.d.ts +0 -8
  116. package/dist/Tables/atoms/TypeTableRow.d.ts +0 -14
  117. package/dist/Tables/index.d.ts +0 -55
  118. package/dist/Tables/molecules/EditCell.d.ts +0 -12
  119. package/dist/Tables/molecules/TypeTableHeader.d.ts +0 -18
  120. package/dist/Tables/organisms/TypeTable.d.ts +0 -21
  121. package/dist/Tabs/TabContent.d.ts +0 -7
  122. package/dist/Tabs/TabList.d.ts +0 -8
  123. package/dist/Tabs/Tabs.d.ts +0 -9
  124. package/dist/Tabs/atoms/MobileTab.d.ts +0 -11
  125. package/dist/Tabs/atoms/Tab.d.ts +0 -7
  126. package/dist/Tabs/atoms/TabWithIcon.d.ts +0 -9
  127. package/dist/Tabs/index.d.ts +0 -8
  128. package/dist/Tabs/molecules/TabsWithIconBar.d.ts +0 -12
  129. package/dist/WebRTCClient.d.ts +0 -13
  130. package/dist/common/index.d.ts +0 -5
  131. package/dist/context/ModalContext.d.ts +0 -10
  132. package/dist/context/NotificationContext.d.ts +0 -11
  133. package/dist/context/index.d.ts +0 -3
  134. package/dist/fonts/index.d.ts +0 -2
  135. package/dist/helpers/cropToolHelpers.d.ts +0 -50
  136. package/dist/helpers/index.d.ts +0 -19
  137. package/dist/hooks/index.d.ts +0 -13
  138. package/dist/hooks/useBreakpoints.d.ts +0 -15
  139. package/dist/hooks/useClickOutside.d.ts +0 -2
  140. package/dist/hooks/useCopyToClipboard.d.ts +0 -3
  141. package/dist/hooks/useInterval.d.ts +0 -1
  142. package/dist/hooks/useMediaModal.d.ts +0 -10
  143. package/dist/hooks/useMediaQuery.d.ts +0 -4
  144. package/dist/hooks/useMenu.d.ts +0 -14
  145. package/dist/hooks/useModal.d.ts +0 -19
  146. package/dist/hooks/useNotification.d.ts +0 -1
  147. package/dist/hooks/usePoll.d.ts +0 -1
  148. package/dist/hooks/useTitle.d.ts +0 -1
  149. package/dist/hooks/useTo.d.ts +0 -1
  150. package/dist/index.d.ts +0 -31
  151. package/dist/index.js +0 -14548
  152. package/dist/index.js.map +0 -1
  153. package/dist/index.modern.js +0 -14433
  154. package/dist/index.modern.js.map +0 -1
  155. package/dist/index.test.d.ts +0 -1
  156. package/dist/svg/AvatarPlaceholder.d.ts +0 -3
  157. package/dist/svg/Invalid.d.ts +0 -3
  158. package/dist/svg/LogoMark.d.ts +0 -3
  159. package/dist/svg/LogoText.d.ts +0 -3
  160. package/dist/svg/PasswordHide.d.ts +0 -3
  161. package/dist/svg/PasswordShow.d.ts +0 -3
  162. package/dist/svg/Required.d.ts +0 -3
  163. package/dist/svg/Success.d.ts +0 -3
  164. package/dist/svg/checkmark.d.ts +0 -3
  165. package/dist/svg/index.d.ts +0 -9
  166. package/dist/svg/input.d.ts +0 -2
  167. package/dist/themes/common.d.ts +0 -99
  168. package/dist/themes/dark/colors.d.ts +0 -24
  169. package/dist/themes/dark/custom.d.ts +0 -139
  170. package/dist/themes/dark/dark.d.ts +0 -1051
  171. package/dist/themes/dark/styles.d.ts +0 -301
  172. package/dist/themes/dark/typography.d.ts +0 -485
  173. package/dist/themes/light/colors.d.ts +0 -41
  174. package/dist/themes/light/custom.d.ts +0 -139
  175. package/dist/themes/light/light.d.ts +0 -1612
  176. package/dist/themes/light/styles.d.ts +0 -536
  177. package/dist/themes/light/typography.d.ts +0 -794
  178. package/dist/themes/themeFallbackHelper.d.ts +0 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scorer-ui-kit",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "SCORER UI Components",
5
5
  "author": "Josh Lipps",
6
6
  "license": "MIT",
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { AlertType } from '..';
3
- export declare const AlertWrapper: import("styled-components").StyledComponent<"div", any, {
4
- type: AlertType;
5
- }, never>;
6
- export interface IAlert {
7
- alertMessage?: string;
8
- alertType: AlertType;
9
- }
10
- interface Props {
11
- type?: AlertType;
12
- message?: string;
13
- hideCloseButton?: boolean;
14
- }
15
- declare const AlertBar: React.FC<Props>;
16
- export default AlertBar;
@@ -1,22 +0,0 @@
1
- import React from 'react';
2
- import { AlertType } from '..';
3
- export declare const IconNames: {
4
- error: string;
5
- warning: string;
6
- success: string;
7
- info: string;
8
- neutral: string;
9
- };
10
- export declare type INotificationProps = {
11
- id?: string;
12
- type: AlertType;
13
- message: string;
14
- actionTextButton?: string;
15
- isPinned?: boolean;
16
- closeNow?: boolean;
17
- icon?: string;
18
- onTextButtonClick?: () => void;
19
- closeCallback?: () => void;
20
- };
21
- declare const Notification: React.FC<INotificationProps>;
22
- export default Notification;
@@ -1,5 +0,0 @@
1
- import AlertBar, { AlertWrapper } from './atom/AlertBar';
2
- import Notification, { INotificationProps } from './atom/Notification';
3
- export { AlertBar, Notification, AlertWrapper, };
4
- export declare type AlertType = 'error' | 'warning' | 'info' | 'success' | 'neutral';
5
- export type { INotificationProps };
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { IFeedbackColor } from '../..';
3
- import { IMediaModal } from '../../Misc/atoms/MediaBox';
4
- export interface IMediaStream extends IMediaModal {
5
- isEmptyWithIcon?: boolean;
6
- emptyIcon?: string;
7
- status?: IFeedbackColor;
8
- noticeMessage?: string;
9
- noticeTitle?: string;
10
- noticeIcon?: string;
11
- hasNotice?: boolean;
12
- }
13
- declare const MediaStream: React.FC<IMediaStream>;
14
- export default MediaStream;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- export interface IPanelMetaData {
3
- deviceIcon?: string;
4
- leftSubTitle?: string;
5
- leftTitle?: string;
6
- rightTitle?: string;
7
- rightSubTitle?: string;
8
- hideIcon?: boolean;
9
- }
10
- declare const PanelMetaData: React.FC<IPanelMetaData>;
11
- export default PanelMetaData;
@@ -1,6 +0,0 @@
1
- import CameraPanels from "./organisms/CameraPanels";
2
- import CameraPanel, { ICameraPanel, CameraPanelWrapper } from "./molecules/CameraPanel";
3
- import MediaStream, { IMediaStream } from "./atoms/MediaStream";
4
- import PanelMetaData, { IPanelMetaData } from "./atoms/PanelMetaData";
5
- export { CameraPanels, CameraPanel, PanelMetaData, MediaStream, CameraPanelWrapper };
6
- export type { ICameraPanel, IMediaStream, IPanelMetaData };
@@ -1,14 +0,0 @@
1
- import React, { ReactElement } from 'react';
2
- import { IMediaStream } from '../atoms/MediaStream';
3
- import { IPanelMetaData } from '../atoms/PanelMetaData';
4
- export declare const CameraPanelWrapper: import("styled-components").StyledComponent<"div", any, {
5
- hasOnClick: boolean;
6
- }, never>;
7
- export interface ICameraPanel {
8
- streamProps: IMediaStream;
9
- panelMetaData?: IPanelMetaData;
10
- customBottom?: ReactElement;
11
- panelOnClick?: () => void;
12
- }
13
- declare const NewComponent: React.FC<ICameraPanel>;
14
- export default NewComponent;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { ICameraPanel } from '../molecules/CameraPanel';
3
- interface ICameraPanels {
4
- panels: ICameraPanel[];
5
- }
6
- declare const CameraPanels: React.FC<ICameraPanels>;
7
- export default CameraPanels;
@@ -1,51 +0,0 @@
1
- import { IInputOptionsType } from '../Form';
2
- import { IBasicSearchInput } from '../Misc/atoms/BasicSearchInput';
3
- import { DateInterval } from './molecules/DatePicker';
4
- import { IDropdownDatePicker } from './molecules/DropdownDatePicker';
5
- import { IFilterDropdown } from './molecules/FilterDropdown';
6
- declare type IFilterItem = {
7
- text: string;
8
- value: string | number;
9
- };
10
- declare type IFilterValue = IFilterItem | IFilterItem[] | null;
11
- declare type IFilterType = 'search' | 'dropdown' | 'datepicker';
12
- declare const isFilterItem: (item: any) => item is IFilterItem;
13
- interface IFilterResult {
14
- id: string;
15
- type: IFilterType;
16
- selected: IFilterItem | IFilterItem[] | DateInterval | Date | null;
17
- }
18
- interface ISearchFilter extends IBasicSearchInput {
19
- id: string;
20
- canHide?: boolean;
21
- showFieldText?: string;
22
- selected?: IFilterItem;
23
- }
24
- interface IFilterDropdownExt extends IFilterDropdown {
25
- id: string;
26
- canHide?: boolean;
27
- }
28
- interface IFilterDatePicker extends IDropdownDatePicker {
29
- id: string;
30
- canHide?: boolean;
31
- name?: string;
32
- }
33
- interface IFilterDropdownConfig {
34
- id: string;
35
- canHide?: boolean;
36
- buttonIcon: string;
37
- buttonText: string;
38
- list: IFilterItem[];
39
- selected?: IFilterValue;
40
- disabled?: boolean;
41
- optionType?: IInputOptionsType;
42
- isLoading?: boolean;
43
- loadingText?: string;
44
- hasOptionsFilter?: boolean;
45
- searchPlaceholder?: string;
46
- maxDisplayedItems?: number;
47
- searchResultText?: string;
48
- name?: string;
49
- }
50
- export { isFilterItem };
51
- export type { IFilterType, IFilterItem, IFilterResult, IFilterValue, ISearchFilter, IFilterDropdownExt, IFilterDatePicker, IFilterDropdownConfig };
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- interface IProps {
3
- title: string;
4
- hasDate: boolean;
5
- hasTime: boolean;
6
- date?: Date;
7
- setDateCallback?: (date: Date) => void;
8
- setTimeCallback?: (date: Date) => void;
9
- allowAfterMidnight?: boolean;
10
- }
11
- declare const DateTimeBlock: React.FC<IProps>;
12
- export default DateTimeBlock;
@@ -1,10 +0,0 @@
1
- import React, { ButtonHTMLAttributes } from 'react';
2
- interface OwnProps {
3
- icon: string;
4
- hasFlipArrow?: boolean;
5
- isSortAscending?: boolean;
6
- isOpen?: boolean;
7
- }
8
- declare type IFilterButton = OwnProps & ButtonHTMLAttributes<HTMLButtonElement>;
9
- declare const FilterButton: React.FC<IFilterButton>;
10
- export default FilterButton;
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- interface IFilterDropHandler {
3
- buttonIcon: string;
4
- buttonText: string;
5
- disabled?: boolean;
6
- minWidth?: number;
7
- minHeight?: number;
8
- isSortAscending?: boolean;
9
- onToggleOpenCallback?: (isOpen: boolean) => void;
10
- onCloseCallback?: () => void;
11
- }
12
- declare const FilterDropHandler: React.FC<IFilterDropHandler>;
13
- export default FilterDropHandler;
@@ -1,7 +0,0 @@
1
- import React, { HTMLAttributes } from 'react';
2
- interface IProps {
3
- height?: string;
4
- }
5
- declare type Props = IProps & HTMLAttributes<HTMLDivElement>;
6
- declare const FilterDropdownContainer: React.FC<Props>;
7
- export default FilterDropdownContainer;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- interface ILoadingBox {
3
- loadingText?: string;
4
- }
5
- declare const LoadingBox: React.FC<ILoadingBox>;
6
- export default LoadingBox;
@@ -1,11 +0,0 @@
1
- import DatePicker, { DateInterval, isDateInterval } from './molecules/DatePicker';
2
- import FilterDropdownContainer from './atoms/FilterDropdownContainer';
3
- import FilterButton from './atoms/FilterButton';
4
- import FilterDropdown from './molecules/FilterDropdown';
5
- import SortDropdown from './molecules/SortDropdown';
6
- import FilterInputs, { IFilterInputs } from './molecules/FilterInputs';
7
- import FiltersResults, { IFilterLabel } from './molecules/FiltersResults';
8
- import FilterBar from './organisms/FilterBar';
9
- import { IFilterType, IFilterItem, IFilterResult, IFilterValue, ISearchFilter, IFilterDropdownExt, IFilterDropdownConfig, IFilterDatePicker, isFilterItem } from './FilterTypes';
10
- export { DatePicker, FilterDropdownContainer, FilterButton, FilterDropdown, SortDropdown, FilterInputs, FiltersResults, FilterBar, isFilterItem, isDateInterval, };
11
- export type { ISearchFilter, IFilterInputs, IFilterDropdownExt, IFilterLabel, IFilterDropdownConfig, IFilterType, IFilterItem, IFilterResult, IFilterValue, DateInterval, IFilterDatePicker };
@@ -1,22 +0,0 @@
1
- import React from 'react';
2
- declare type DateMode = "single" | "interval";
3
- declare type TimeMode = "off" | "single" | "interval";
4
- export declare const isDateInterval: (value: any) => value is DateInterval;
5
- export interface DateInterval {
6
- start: Date;
7
- end: Date;
8
- }
9
- export interface IDatePicker {
10
- initialValue?: Date | DateInterval;
11
- dateMode?: DateMode;
12
- timeMode?: TimeMode;
13
- hasEmptyValue?: boolean;
14
- dateTimeTextUpper?: string;
15
- dateTimeTextLower?: string;
16
- timeZoneTitle?: string;
17
- timeZoneValueTitle?: string;
18
- updateCallback?: (data: DateInterval | Date) => void;
19
- lang?: 'en' | 'ja';
20
- }
21
- declare const DatePicker: React.FC<IDatePicker>;
22
- export default DatePicker;
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { DateInterval, IDatePicker } from './DatePicker';
3
- export interface IDropdownDatePicker extends IDatePicker {
4
- buttonIcon: string;
5
- buttonText: string;
6
- disabled?: boolean;
7
- selected?: DateInterval | Date | null;
8
- onCloseCallback?: (value: DateInterval | Date | null) => void;
9
- onUpdateCallback?: (value: DateInterval | Date | null) => void;
10
- onToggleCallback?: (value: DateInterval | Date | null, isOpen: boolean) => void;
11
- }
12
- declare const DropdownDatePicker: React.FC<IDropdownDatePicker>;
13
- export default DropdownDatePicker;
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import { IInputOptionsType } from '../../Form';
3
- import { IFilterItem, IFilterValue } from '../FilterTypes';
4
- export interface IFilterDropdown {
5
- buttonIcon: string;
6
- buttonText: string;
7
- list: IFilterItem[];
8
- selected: IFilterValue;
9
- disabled?: boolean;
10
- optionType?: IInputOptionsType;
11
- isLoading?: boolean;
12
- loadingText?: string;
13
- hasOptionsFilter?: boolean;
14
- searchPlaceholder?: string;
15
- maxDisplayedItems?: number;
16
- searchResultText?: string;
17
- emptyResultText?: string;
18
- onSelect: (newSelection: IFilterValue) => void;
19
- }
20
- declare const FilterDropdown: React.FC<IFilterDropdown>;
21
- export default FilterDropdown;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import { IFilterDatePicker, IFilterDropdownExt, ISearchFilter } from '../FilterTypes';
3
- export interface IFilterInputs {
4
- searchFilters?: ISearchFilter[];
5
- dropdownFilters?: IFilterDropdownExt[];
6
- datePickerFilters?: IFilterDatePicker[];
7
- hasShowMore?: boolean;
8
- showMoreText?: string;
9
- showLessText?: string;
10
- }
11
- declare const FilterInputs: React.FC<IFilterInputs>;
12
- export default FilterInputs;
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import { IFilterItem, IFilterType } from '../FilterTypes';
3
- import { DateInterval } from './DatePicker';
4
- export interface IFilterLabel {
5
- filterId: string;
6
- item: IFilterItem | Date | DateInterval;
7
- type: IFilterType;
8
- icon?: string;
9
- filterName?: string;
10
- }
11
- interface IFilterResults {
12
- labelLists: IFilterLabel[];
13
- totalResults: number;
14
- resultTextTemplate?: string;
15
- clearText?: string;
16
- resultsDateFormat?: string;
17
- onRemoveFilter?: (filterId: string, type: IFilterType, item: IFilterItem | Date | DateInterval) => void;
18
- onClearAll?: () => void;
19
- }
20
- declare const FiltersResults: React.FC<IFilterResults>;
21
- export default FiltersResults;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { IFilterItem } from '../FilterTypes';
3
- export interface ISortDropdown {
4
- buttonText: string;
5
- list: IFilterItem[];
6
- disabled?: boolean;
7
- isLoading?: boolean;
8
- loadingText?: string;
9
- ascendingText?: string;
10
- descendingText?: string;
11
- isSortAscending?: boolean;
12
- selected: IFilterItem;
13
- onSelect: (newSort: IFilterItem, isSortAscending: boolean) => void;
14
- }
15
- declare const SortDropdown: React.FC<ISortDropdown>;
16
- export default SortDropdown;
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import { IFilterResult, IFilterDropdownConfig } from '../FilterTypes';
3
- import { ISearchFilter, IFilterDatePicker } from '../FilterTypes';
4
- interface IFilterBar {
5
- filtersTitle?: string;
6
- searchersConfig?: ISearchFilter[];
7
- dropdownsConfig?: IFilterDropdownConfig[];
8
- datePickersConfig?: IFilterDatePicker[];
9
- hasShowMore?: boolean;
10
- showMoreText?: string;
11
- showLessText?: string;
12
- resultTextTemplate?: string;
13
- totalResults: number;
14
- clearText?: string;
15
- isLoading?: boolean;
16
- singleFilter?: boolean;
17
- resultsDateFormat?: string;
18
- onChangeCallback?: (currentSelected: IFilterResult[]) => void;
19
- }
20
- declare const FilterBar: React.FC<IFilterBar>;
21
- export default FilterBar;
@@ -1,7 +0,0 @@
1
- import React, { FormHTMLAttributes } from 'react';
2
- interface OwnProps {
3
- spacing?: string;
4
- }
5
- declare type Props = OwnProps & FormHTMLAttributes<HTMLFormElement>;
6
- declare const Form: React.FC<Props>;
7
- export default Form;
@@ -1,9 +0,0 @@
1
- import React, { ButtonHTMLAttributes } from 'react';
2
- import { TypeButtonSizes, TypeButtonDesigns } from '..';
3
- interface OwnProps {
4
- size?: TypeButtonSizes;
5
- design?: TypeButtonDesigns;
6
- }
7
- declare type Props = OwnProps & ButtonHTMLAttributes<HTMLButtonElement>;
8
- declare const Button: React.FC<Props>;
9
- export default Button;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { IButtonProps } from '..';
3
- export interface IButtonWithIcon extends IButtonProps {
4
- icon: string;
5
- position?: 'left' | 'right';
6
- }
7
- declare const ButtonWithIcon: React.FC<IButtonWithIcon>;
8
- export default ButtonWithIcon;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { IButtonProps } from '..';
3
- interface IProps extends IButtonProps {
4
- position?: 'left' | 'right';
5
- loading: boolean;
6
- }
7
- declare const ButtonWithLoading: React.FC<IProps>;
8
- export default ButtonWithLoading;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- declare enum CheckboxState {
3
- Off = "off",
4
- On = "on",
5
- Indeterminate = "indeterminate"
6
- }
7
- interface IProps {
8
- checked?: boolean;
9
- disabled?: boolean;
10
- indeterminate?: boolean;
11
- onChangeCallback?: (checked: boolean, indeterminate?: boolean) => void;
12
- }
13
- declare const Checkbox: React.FC<IProps>;
14
- export default Checkbox;
15
- export { CheckboxState };
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- interface ICropArea {
3
- isResizable: boolean;
4
- hasAspectRatio: boolean;
5
- }
6
- declare const CropArea: React.FC<ICropArea>;
7
- export default CropArea;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- interface IDropArea {
3
- height?: string;
4
- text?: string;
5
- dropCallback?: (newFiles: FileList) => void;
6
- }
7
- declare const DropArea: React.FC<IDropArea>;
8
- export default DropArea;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import { IInputOptionsType } from '..';
3
- interface IFilterOption {
4
- title: string;
5
- value?: string | number;
6
- optionType?: IInputOptionsType;
7
- selected?: boolean;
8
- disabled?: boolean;
9
- onClick?: () => void;
10
- }
11
- declare const FilterOption: React.FC<IFilterOption>;
12
- export default FilterOption;
@@ -1,8 +0,0 @@
1
- import React, { ButtonHTMLAttributes } from 'react';
2
- import { IconProps } from '../../Icons/Icon';
3
- interface OwnProps {
4
- hoverColor?: ISvgIcons['color'];
5
- }
6
- export declare type IconButtonData = OwnProps & IconProps & ButtonHTMLAttributes<HTMLButtonElement>;
7
- declare const IconButton: React.FC<IconButtonData>;
8
- export default IconButton;
@@ -1,12 +0,0 @@
1
- import React, { InputHTMLAttributes } from 'react';
2
- import { TypeFieldState } from '..';
3
- interface OwnProps {
4
- fieldState?: TypeFieldState;
5
- feedbackMessage?: string;
6
- actionCallback?: () => void;
7
- actionIcon?: string;
8
- postfix?: string;
9
- }
10
- export declare type InputProps = OwnProps & InputHTMLAttributes<HTMLInputElement>;
11
- declare const Input: React.FC<InputProps>;
12
- export default Input;
@@ -1,11 +0,0 @@
1
- import React, { InputHTMLAttributes } from 'react';
2
- import { TypeButtonSizes, TypeButtonDesigns } from '..';
3
- interface OwnProps {
4
- text: string;
5
- buttonSize?: TypeButtonSizes;
6
- buttonDesign?: TypeButtonDesigns;
7
- inputCallback: (newFiles: FileList) => void;
8
- }
9
- declare type IFileInput = OwnProps & InputHTMLAttributes<HTMLInputElement>;
10
- declare const InputFileButton: React.FC<IFileInput>;
11
- export default InputFileButton;
@@ -1,12 +0,0 @@
1
- import React, { LabelHTMLAttributes } from 'react';
2
- export declare const StyledLabel: import("styled-components").StyledComponent<"label", any, {
3
- rightAlign: boolean;
4
- }, never>;
5
- interface OwnProps {
6
- htmlFor: string;
7
- labelText: string;
8
- rightAlign?: boolean;
9
- }
10
- declare type Props = OwnProps & LabelHTMLAttributes<HTMLLabelElement>;
11
- declare const Label: React.FC<Props>;
12
- export default Label;
@@ -1,8 +0,0 @@
1
- import React, { InputHTMLAttributes } from 'react';
2
- interface OwnProps {
3
- currentChecked?: number | string;
4
- onChangeCallback?: (value: number | string) => void;
5
- }
6
- declare type IRadioButton = OwnProps & InputHTMLAttributes<HTMLInputElement>;
7
- declare const RadioButton: React.FC<IRadioButton>;
8
- export default RadioButton;
@@ -1,16 +0,0 @@
1
- import React, { SelectHTMLAttributes } from 'react';
2
- export declare const SelectWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
3
- interface ILabel {
4
- htmlFor: string;
5
- text: string;
6
- isSameRow?: boolean;
7
- }
8
- interface OwnProps {
9
- label?: ILabel;
10
- isCompact?: boolean;
11
- placeholder?: string;
12
- changeCallback?: (value: string) => void;
13
- }
14
- declare type ISelect = OwnProps & SelectHTMLAttributes<HTMLSelectElement>;
15
- declare const SelectField: React.FC<ISelect>;
16
- export default SelectField;
@@ -1,22 +0,0 @@
1
- import React, { InputHTMLAttributes } from 'react';
2
- import { IFeedbackColor } from '../../index';
3
- export declare type IMartAlignment = 'left' | 'center' | 'right';
4
- export interface ISliderMark {
5
- value: number;
6
- label?: string;
7
- }
8
- interface ISliderOwnProps {
9
- min?: number;
10
- max: number;
11
- step?: number;
12
- marks?: ISliderMark[];
13
- defaultValue?: number;
14
- value?: number;
15
- thumbColor?: IFeedbackColor;
16
- onlyMarkSelect?: boolean;
17
- inputCallback?: (value: number) => void;
18
- onChangeCallback?: (value: number) => void;
19
- }
20
- export declare type ISlider = ISliderOwnProps & InputHTMLAttributes<HTMLInputElement>;
21
- declare const SliderInput: React.FC<ISlider>;
22
- export default SliderInput;
@@ -1,10 +0,0 @@
1
- import React, { InputHTMLAttributes } from 'react';
2
- import { TypeFieldState } from '..';
3
- interface OwnProps {
4
- fieldState?: TypeFieldState;
5
- label: string;
6
- unit?: string;
7
- }
8
- declare type Props = OwnProps & InputHTMLAttributes<HTMLInputElement>;
9
- declare const SmallInput: React.FC<Props>;
10
- export default SmallInput;
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- declare enum SwitchPosition {
3
- Off = 0,
4
- On = 1,
5
- Neutral = 2,
6
- Locked = 3
7
- }
8
- declare type TypeSwitchState = 'default' | 'loading' | 'locked' | 'disabled' | 'failure';
9
- interface IProps {
10
- labelText?: string;
11
- leftTheme?: string;
12
- rightTheme?: string;
13
- state?: TypeSwitchState;
14
- checked?: boolean;
15
- onChangeCallback?: (checked: boolean, indeterminate?: boolean) => void;
16
- }
17
- declare const Switch: React.FC<IProps>;
18
- export default Switch;
19
- export { SwitchPosition };
@@ -1,9 +0,0 @@
1
- import React, { TextareaHTMLAttributes } from 'react';
2
- import { TypeFieldState } from '..';
3
- interface OwnProps {
4
- fieldState: TypeFieldState;
5
- feedbackMessage?: string;
6
- }
7
- declare type Props = OwnProps & TextareaHTMLAttributes<HTMLTextAreaElement>;
8
- declare const TextArea: React.FC<Props>;
9
- export default TextArea;
@@ -1,38 +0,0 @@
1
- import Button from './atoms/Button';
2
- import ButtonWithIcon from './atoms/ButtonWithIcon';
3
- import ButtonWithLoading from './atoms/ButtonWithLoading';
4
- import IconButton, { IconButtonData } from './atoms/IconButton';
5
- import ActionButtons from './molecules/ActionButtons';
6
- import Input from './atoms/Input';
7
- import SmallInput from './atoms/SmallInput';
8
- import Label from './atoms/Label';
9
- import Switch from './atoms/Switch';
10
- import Checkbox from './atoms/Checkbox';
11
- import RadioButton from './atoms/RadioButton';
12
- import TextArea from './atoms/TextArea';
13
- import SelectField, { SelectWrapper } from './atoms/SelectField';
14
- import SliderInput, { ISliderMark } from './atoms/SliderInput';
15
- import InputFileButton from './atoms/InputFileButton';
16
- import DurationSlider from './molecules/DurationSlider';
17
- import PercentageSlider from './molecules/PercentageSlider';
18
- import PasswordField from './molecules/PasswordField';
19
- import TextField from './molecules/TextField';
20
- import TextAreaField from './molecules/TextAreaField';
21
- import DropArea from './atoms/DropArea';
22
- import CropTool from './molecules/CropTool';
23
- import AvatarUploader from './organisms/AvatarUploader';
24
- import AreaUploadManager from './organisms/AreaUploadManager';
25
- import Form from './Form';
26
- import { ButtonHTMLAttributes } from 'react';
27
- export { Form, Button, ButtonWithIcon, ButtonWithLoading, IconButton, ActionButtons, SmallInput, Input, Label, Checkbox, Switch, PasswordField, TextField, TextArea, TextAreaField, SliderInput, DurationSlider, PercentageSlider, InputFileButton, AvatarUploader, DropArea, CropTool, SelectField, SelectWrapper, AreaUploadManager, RadioButton, };
28
- export declare type TypeFieldState = 'default' | 'disabled' | 'required' | 'valid' | 'invalid' | 'processing';
29
- export declare type TypeButtonDesigns = 'primary' | 'secondary' | 'danger';
30
- export declare type TypeButtonSizes = 'xsmall' | 'small' | 'normal' | 'large';
31
- export declare type ISelectSizes = 'small' | 'normal';
32
- export declare type IInputOptionsType = "text" | "checkbox" | "radio";
33
- interface ButtonProps {
34
- size?: TypeButtonSizes;
35
- design?: TypeButtonDesigns;
36
- }
37
- export declare type IButtonProps = ButtonProps & ButtonHTMLAttributes<HTMLButtonElement>;
38
- export type { IconButtonData, ISliderMark };