scorer-ui-kit 2.1.0-beta.7 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Filters/atoms/DateTimeBlock.d.ts +1 -1
- package/dist/helpers/index.d.ts +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +641 -767
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +643 -769
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ interface IProps {
|
|
|
7
7
|
setDateCallback?: (date: Date) => void;
|
|
8
8
|
setTimeCallback?: (date: Date) => void;
|
|
9
9
|
allowAfterMidnight?: boolean;
|
|
10
|
-
|
|
10
|
+
isTimeRangeValid?: boolean;
|
|
11
11
|
}
|
|
12
12
|
declare const DateTimeBlock: React.FC<IProps>;
|
|
13
13
|
export default DateTimeBlock;
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -10,11 +10,11 @@ declare const getTextTimeUnit: (value: number, unit: ITimeUnit) => "Second" | "S
|
|
|
10
10
|
* Helper for adding appropriate text to a time number
|
|
11
11
|
* Default is hours
|
|
12
12
|
*/
|
|
13
|
-
declare const getShortTextTimeUnit: (value: number, unit: string) => "
|
|
13
|
+
declare const getShortTextTimeUnit: (value: number, unit: string) => "hr" | "sec" | "secs" | "min" | "mins" | "hrs";
|
|
14
14
|
export declare const isTimeUnit: (value: any) => boolean;
|
|
15
15
|
declare const getTopLevelPath: (pathname: string) => string;
|
|
16
16
|
declare const getImageType: (img: HTMLImageElement) => string;
|
|
17
17
|
declare const isValidImage: (file: File) => boolean;
|
|
18
18
|
declare const uniqueID: () => string;
|
|
19
|
-
declare const
|
|
20
|
-
export { clamp, isValidImage, getImageType, getTextTimeUnit, isInsideRange, getShortTextTimeUnit, getTopLevelPath, uniqueID,
|
|
19
|
+
declare const isNotNumber: (value: string) => boolean;
|
|
20
|
+
export { clamp, isValidImage, getImageType, getTextTimeUnit, isInsideRange, getShortTextTimeUnit, getTopLevelPath, uniqueID, isNotNumber };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import defaultTheme from './themes/light/light';
|
|
2
2
|
import { AlertBar, Notification, INotificationProps, AlertWrapper } from './Alerts';
|
|
3
3
|
import { Form, Button, ButtonWithIcon, ButtonWithLoading, IconButton, IconButtonData, ActionButtons, SmallInput, Input, Label, Switch, Checkbox, PasswordField, TextField, TextArea, TextAreaField, SliderInput, ISliderMark, DurationSlider, PercentageSlider, InputFileButton, DropArea, CropTool, AvatarUploader, SelectField, SelectWrapper, AreaUploadManager, RadioButton } from './Form';
|
|
4
4
|
import { DatePicker, DateInterval, isDateInterval, IFilterDatePicker, FilterDropdownContainer, FilterButton, FilterDropdown, SortDropdown, FilterLayout, FilterInputs, ISearchFilter, IFilterDropdownExt, FiltersResults, IFilterLabel, FilterBar, IFilterDropdownConfig, IFilterType, IFilterItem, IFilterValue, IFilterResult, isFilterItem } from './Filters';
|
|
@@ -18,7 +18,7 @@ import Spinner from './Indicators/Spinner';
|
|
|
18
18
|
import WebRTCClient from './WebRTCClient';
|
|
19
19
|
import { MainMenu, TopBar, Content, Layout, MainContainer, SidebarBox, SidebarLink, SidebarHeading, Logo, SidebarLinkHeading, BackLink, Sidebar, GlobalUI, INotificationItem, INotificationsHistory, ICustomDrawer } from './Global';
|
|
20
20
|
import { Tabs, TabContext, Tab, TabList, TabContent, TabWithIcon, TabsWithIconBar, ITabIcon } from './Tabs';
|
|
21
|
-
export {
|
|
21
|
+
export { defaultTheme, AlertBar, Notification, AlertWrapper, LineUI, LineUIVideo, LineUIRTC, LineSetContext, LineReducer, Form, Button, ButtonWithIcon, ButtonWithLoading, IconButton, ActionButtons, Input, SmallInput, Label, Switch, Checkbox, PasswordField, TextField, TextArea, TextAreaField, SliderInput, DurationSlider, PercentageSlider, InputFileButton, DropArea, CropTool, AvatarUploader, SelectField, SelectWrapper, AreaUploadManager, RadioButton, ConfirmationModal, DatePicker, FilterDropdownContainer, FilterButton, FilterDropdown, SortDropdown, FilterLayout, FilterInputs, FiltersResults, FilterBar, isFilterItem, isDateInterval, Icon, IconSVGs, StatusIcon, IntroductionText, PageHeader, PageTitle, MultilineContent, Controls, PTZProvider, PTZContext, PTZReducer, usePTZ, TypeTable, TableRowThumbnail, TableHeaderTitle, EditCell, useInterval, useTo, useTitle, useCopyToClipboard, useClickOutside, usePoll, useMediaModal, useThemeToggle, resetButtonStyles, Spinner, WebRTCClient, MainMenu, TopBar, MainContainer, Layout, Content, SidebarBox, SidebarLink, SidebarHeading, Logo, SidebarLinkHeading, BackLink, Sidebar, GlobalUI, Tabs, TabContext, Tab, TabList, TabContent, TabWithIcon, TabsWithIconBar, CameraPanels, CameraPanelWrapper, Tag, TagList, TagListWrapper, MediaBox, BasicSearchInput, DebouncedSearcher, ActionsBar, NotificationProvider, useNotification, ModalContext, ModalProvider, useModal };
|
|
22
22
|
/**
|
|
23
23
|
* Values based on colors.feedback from theme
|
|
24
24
|
*/
|