scorer-ui-kit 2.1.2 → 2.2.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/Global/atoms/Layout.d.ts +1 -0
- package/dist/Global/templates/GlobalUI.d.ts +1 -0
- package/dist/Layouts/atoms/FullWidthContentBlock.d.ts +3 -0
- package/dist/Layouts/index.d.ts +22 -0
- package/dist/Layouts/molecules/UtilityHeader.d.ts +4 -0
- package/dist/Layouts/organisms/ContentLayout.d.ts +8 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.js +510 -384
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +503 -381
- package/dist/index.modern.js.map +1 -1
- package/dist/theme/ThemeVariables.d.ts +2 -0
- package/dist/theme/variables/Layout.d.ts +1 -0
- package/package.json +1 -1
- /package/dist/{themes → theme}/common.d.ts +0 -0
- /package/dist/{themes/light/light.d.ts → theme/index.d.ts} +0 -0
- /package/dist/{themes/light → theme/legacy}/colors.d.ts +0 -0
- /package/dist/{themes/light → theme/legacy}/custom.d.ts +0 -0
- /package/dist/{themes/light → theme/legacy}/styles.d.ts +0 -0
- /package/dist/{themes/light → theme/legacy}/typography.d.ts +0 -0
|
@@ -10,4 +10,5 @@ export declare const MainContainer: import("styled-components").StyledComponent<
|
|
|
10
10
|
export declare const ContentArea: import("styled-components").StyledComponent<"div", any, {
|
|
11
11
|
maxWidth?: string | undefined;
|
|
12
12
|
paddingOverride?: string | undefined;
|
|
13
|
+
legacyLayout?: boolean | undefined;
|
|
13
14
|
}, never>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import ContentLayout from './organisms/ContentLayout';
|
|
3
|
+
import FullWidthContentBlock from './atoms/FullWidthContentBlock';
|
|
4
|
+
import UtilityHeader from './molecules/UtilityHeader';
|
|
5
|
+
interface IBreadcrumb {
|
|
6
|
+
text: string;
|
|
7
|
+
href: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IUtilityHeader {
|
|
10
|
+
$iconInGutter?: boolean;
|
|
11
|
+
backLink?: string;
|
|
12
|
+
showBreadcrumbs?: boolean;
|
|
13
|
+
breadcrumbs?: IBreadcrumb[];
|
|
14
|
+
showShareLink?: boolean;
|
|
15
|
+
shareLink?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface IHeaderContent {
|
|
18
|
+
UtilityHeaderOptions?: IUtilityHeader;
|
|
19
|
+
PageHeaderArea?: React.ReactNode | React.FC;
|
|
20
|
+
TabsElementArea?: React.ReactNode | React.FC;
|
|
21
|
+
}
|
|
22
|
+
export { ContentLayout, FullWidthContentBlock, UtilityHeader };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IHeaderContent } from "..";
|
|
3
|
+
interface IContentLayout {
|
|
4
|
+
layout?: 'default' | 'fullscreen' | 'dashboard';
|
|
5
|
+
HeaderContent?: IHeaderContent;
|
|
6
|
+
}
|
|
7
|
+
declare const ContentLayout: React.FC<IContentLayout>;
|
|
8
|
+
export default ContentLayout;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import defaultTheme from './
|
|
1
|
+
import defaultTheme from './theme';
|
|
2
|
+
import ThemeVariables from './theme/ThemeVariables';
|
|
2
3
|
import { AlertBar, Notification, INotificationProps, AlertWrapper } from './Alerts';
|
|
3
4
|
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, SplitButton, ISplitButtonProps } from './Form';
|
|
4
5
|
import { DatePicker, DateInterval, isDateInterval, IFilterDatePicker, FilterDropdownContainer, FilterButton, FilterDropdown, SortDropdown, FilterLayout, FilterInputs, ISearchFilter, IFilterDropdownExt, FiltersResults, IFilterLabel, FilterBar, IFilterDropdownConfig, IFilterType, IFilterItem, IFilterValue, IFilterResult, isFilterItem } from './Filters';
|
|
@@ -16,9 +17,10 @@ import { NotificationProvider, ModalContext, ModalProvider } from './context';
|
|
|
16
17
|
import { resetButtonStyles } from './common';
|
|
17
18
|
import Spinner from './Indicators/Spinner';
|
|
18
19
|
import WebRTCClient from './WebRTCClient';
|
|
20
|
+
import { ContentLayout, FullWidthContentBlock, UtilityHeader, IHeaderContent, IUtilityHeader } from './Layouts';
|
|
19
21
|
import { MainMenu, TopBar, Content, Layout, MainContainer, SidebarBox, SidebarLink, SidebarHeading, Logo, SidebarLinkHeading, BackLink, Sidebar, GlobalUI, INotificationItem, INotificationsHistory, ICustomDrawer } from './Global';
|
|
20
22
|
import { Tabs, TabContext, Tab, TabList, TabContent, TabWithIcon, TabsWithIconBar, ITabIcon } from './Tabs';
|
|
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, SplitButton, 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, Pagination, NotificationProvider, useNotification, ModalContext, ModalProvider, useModal };
|
|
23
|
+
export { defaultTheme, ThemeVariables, 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, SplitButton, 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, ContentLayout, FullWidthContentBlock, UtilityHeader, Tabs, TabContext, Tab, TabList, TabContent, TabWithIcon, TabsWithIconBar, CameraPanels, CameraPanelWrapper, Tag, TagList, TagListWrapper, MediaBox, BasicSearchInput, DebouncedSearcher, ActionsBar, Pagination, NotificationProvider, useNotification, ModalContext, ModalProvider, useModal };
|
|
22
24
|
/**
|
|
23
25
|
* Values based on colors.feedback from theme
|
|
24
26
|
*/
|
|
@@ -26,4 +28,4 @@ export declare type IFeedbackColor = 'error' | 'warning' | 'info' | 'success' |
|
|
|
26
28
|
export declare type ITimeUnit = 'seconds' | 'minutes' | 'hours';
|
|
27
29
|
export declare type IMediaType = 'img' | 'video';
|
|
28
30
|
export declare type IStatusDot = 'caution' | 'danger' | 'good' | 'neutral' | 'highlight';
|
|
29
|
-
export type { IModal, INotificationProps, IconButtonData, ITag, ITagList, ISliderMark, INotificationItem, INotificationsHistory, ICustomDrawer, ISearchFilter, IFilterDropdownExt, IFilterLabel, IFilterDropdownConfig, ITabIcon, IFilterType, IFilterItem, IFilterValue, IFilterResult, DateInterval, IFilterDatePicker, ICameraPanel, IMediaStream, IPanelMetaData, IActionsButton, ISplitButtonProps, IItemsOption, IPagination, };
|
|
31
|
+
export type { IModal, INotificationProps, IconButtonData, ITag, ITagList, ISliderMark, INotificationItem, INotificationsHistory, ICustomDrawer, ISearchFilter, IFilterDropdownExt, IFilterLabel, IFilterDropdownConfig, ITabIcon, IFilterType, IFilterItem, IFilterValue, IFilterResult, DateInterval, IFilterDatePicker, ICameraPanel, IMediaStream, IPanelMetaData, IActionsButton, ISplitButtonProps, IItemsOption, IPagination, IHeaderContent, IUtilityHeader };
|