@commonsku/styles 1.11.5 → 1.12.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/index.es.js +6783 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.js +6982 -0
- package/dist/index.js.map +1 -0
- package/dist/styles/Accordion.d.ts +2 -0
- package/dist/styles/Accordion.d.ts.map +1 -0
- package/dist/styles/Artwork.d.ts +21 -0
- package/dist/styles/Artwork.d.ts.map +1 -0
- package/dist/styles/Avatar.d.ts +11 -0
- package/dist/styles/Avatar.d.ts.map +1 -0
- package/dist/styles/Backdrop.d.ts +6 -0
- package/dist/styles/Backdrop.d.ts.map +1 -0
- package/dist/styles/Background.d.ts +6 -0
- package/dist/styles/Background.d.ts.map +1 -0
- package/dist/styles/Badge.d.ts +5 -0
- package/dist/styles/Badge.d.ts.map +1 -0
- package/dist/styles/Box.d.ts +10 -0
- package/dist/styles/Box.d.ts.map +1 -0
- package/dist/styles/Button.d.ts +28 -0
- package/dist/styles/Button.d.ts.map +1 -0
- package/dist/styles/Collapsible.d.ts +45 -0
- package/dist/styles/Collapsible.d.ts.map +1 -0
- package/dist/styles/Datepicker.d.ts +21 -0
- package/dist/styles/Datepicker.d.ts.map +1 -0
- package/dist/styles/DropArea.d.ts +18 -0
- package/dist/styles/DropArea.d.ts.map +1 -0
- package/dist/styles/Dropdown.d.ts +25 -0
- package/dist/styles/Dropdown.d.ts.map +1 -0
- package/dist/styles/ErrorBoundary.d.ts +11 -0
- package/dist/styles/ErrorBoundary.d.ts.map +1 -0
- package/dist/styles/Feed.d.ts +11 -0
- package/dist/styles/Feed.d.ts.map +1 -0
- package/dist/styles/FlexboxGrid.d.ts +16 -0
- package/dist/styles/FlexboxGrid.d.ts.map +1 -0
- package/dist/styles/Headings.d.ts +21 -0
- package/dist/styles/Headings.d.ts.map +1 -0
- package/dist/styles/HeadlessTable.d.ts +28 -0
- package/dist/styles/HeadlessTable.d.ts.map +1 -0
- package/dist/styles/Img.d.ts +7 -0
- package/dist/styles/Img.d.ts.map +1 -0
- package/dist/styles/Input.d.ts +79 -0
- package/dist/styles/Input.d.ts.map +1 -0
- package/dist/styles/Label.d.ts +6 -0
- package/dist/styles/Label.d.ts.map +1 -0
- package/dist/styles/MultiProgress.d.ts +19 -0
- package/dist/styles/MultiProgress.d.ts.map +1 -0
- package/dist/styles/Padding.d.ts +4 -0
- package/dist/styles/Padding.d.ts.map +1 -0
- package/dist/styles/Page.d.ts +5 -0
- package/dist/styles/Page.d.ts.map +1 -0
- package/dist/styles/Popup.d.ts +23 -0
- package/dist/styles/Popup.d.ts.map +1 -0
- package/dist/styles/Product.d.ts +12 -0
- package/dist/styles/Product.d.ts.map +1 -0
- package/dist/styles/Progress.d.ts +11 -0
- package/dist/styles/Progress.d.ts.map +1 -0
- package/dist/styles/Select.d.ts +50 -0
- package/dist/styles/Select.d.ts.map +1 -0
- package/dist/styles/SharedStyles.d.ts +30 -0
- package/dist/styles/SharedStyles.d.ts.map +1 -0
- package/dist/styles/SidePanel.d.ts +40 -0
- package/dist/styles/SidePanel.d.ts.map +1 -0
- package/dist/styles/Sizer.d.ts +35 -0
- package/dist/styles/Sizer.d.ts.map +1 -0
- package/dist/styles/Sparkles.d.ts +6 -0
- package/dist/styles/Sparkles.d.ts.map +1 -0
- package/dist/styles/Spinner.d.ts +6 -0
- package/dist/styles/Spinner.d.ts.map +1 -0
- package/dist/styles/StarRating.d.ts +6 -0
- package/dist/styles/StarRating.d.ts.map +1 -0
- package/dist/styles/StateDropdown.d.ts +35 -0
- package/dist/styles/StateDropdown.d.ts.map +1 -0
- package/dist/styles/StatusDropdown.d.ts +32 -0
- package/dist/styles/StatusDropdown.d.ts.map +1 -0
- package/dist/styles/Table.d.ts +34 -0
- package/dist/styles/Table.d.ts.map +1 -0
- package/dist/styles/Tabs.d.ts +35 -0
- package/dist/styles/Tabs.d.ts.map +1 -0
- package/dist/styles/Task.d.ts +35 -0
- package/dist/styles/Task.d.ts.map +1 -0
- package/dist/styles/Text.d.ts +28 -0
- package/dist/styles/Text.d.ts.map +1 -0
- package/dist/styles/Textarea.d.ts +21 -0
- package/dist/styles/Textarea.d.ts.map +1 -0
- package/dist/styles/Theme.d.ts +107 -0
- package/dist/styles/Theme.d.ts.map +1 -0
- package/dist/styles/Toggle.d.ts +11 -0
- package/dist/styles/Toggle.d.ts.map +1 -0
- package/dist/styles/calendar/Calendar.d.ts +37 -0
- package/dist/styles/calendar/Calendar.d.ts.map +1 -0
- package/dist/styles/calendar/CalendarDayBody.d.ts +10 -0
- package/dist/styles/calendar/CalendarDayBody.d.ts.map +1 -0
- package/dist/styles/calendar/CalendarDaysBody.d.ts +26 -0
- package/dist/styles/calendar/CalendarDaysBody.d.ts.map +1 -0
- package/dist/styles/calendar/CalendarDaysHeader.d.ts +9 -0
- package/dist/styles/calendar/CalendarDaysHeader.d.ts.map +1 -0
- package/dist/styles/calendar/CalendarWrapper.d.ts +3 -0
- package/dist/styles/calendar/CalendarWrapper.d.ts.map +1 -0
- package/dist/styles/calendar/DaysBodyWrapper.d.ts +3 -0
- package/dist/styles/calendar/DaysBodyWrapper.d.ts.map +1 -0
- package/dist/styles/calendar/DaysHeaderWrapper.d.ts +3 -0
- package/dist/styles/calendar/DaysHeaderWrapper.d.ts.map +1 -0
- package/dist/styles/calendar/DefaultCalendarFooter.d.ts +6 -0
- package/dist/styles/calendar/DefaultCalendarFooter.d.ts.map +1 -0
- package/dist/styles/calendar/DefaultCalendarHeader.d.ts +8 -0
- package/dist/styles/calendar/DefaultCalendarHeader.d.ts.map +1 -0
- package/dist/styles/calendar/DraggableCalendarFooterTasks.d.ts +14 -0
- package/dist/styles/calendar/DraggableCalendarFooterTasks.d.ts.map +1 -0
- package/dist/styles/calendar/DraggableTasksCalendar.d.ts +45 -0
- package/dist/styles/calendar/DraggableTasksCalendar.d.ts.map +1 -0
- package/dist/styles/calendar/HeaderWrapper.d.ts +3 -0
- package/dist/styles/calendar/HeaderWrapper.d.ts.map +1 -0
- package/dist/styles/calendar/StyledDayBody.d.ts +8 -0
- package/dist/styles/calendar/StyledDayBody.d.ts.map +1 -0
- package/dist/styles/calendar/StyledDayText.d.ts +7 -0
- package/dist/styles/calendar/StyledDayText.d.ts.map +1 -0
- package/dist/styles/calendar/TasksCalendar.d.ts +43 -0
- package/dist/styles/calendar/TasksCalendar.d.ts.map +1 -0
- package/dist/styles/calendar/TasksCalendarDayBody.d.ts +8 -0
- package/dist/styles/calendar/TasksCalendarDayBody.d.ts.map +1 -0
- package/dist/styles/calendar/TasksCalendarFooter.d.ts +14 -0
- package/dist/styles/calendar/TasksCalendarFooter.d.ts.map +1 -0
- package/dist/styles/calendar/TasksCalendarHeader.d.ts +15 -0
- package/dist/styles/calendar/TasksCalendarHeader.d.ts.map +1 -0
- package/dist/styles/calendar/index.d.ts +18 -0
- package/dist/styles/calendar/index.d.ts.map +1 -0
- package/dist/styles/calendar/styles.d.ts +33 -0
- package/dist/styles/calendar/styles.d.ts.map +1 -0
- package/dist/styles/globalStyles.d.ts +3 -0
- package/dist/styles/globalStyles.d.ts.map +1 -0
- package/dist/styles/hooks/index.d.ts +6 -0
- package/dist/styles/hooks/index.d.ts.map +1 -0
- package/dist/styles/hooks/useCalendar.d.ts +35 -0
- package/dist/styles/hooks/useCalendar.d.ts.map +1 -0
- package/dist/styles/hooks/useDelayUnmount.d.ts +3 -0
- package/dist/styles/hooks/useDelayUnmount.d.ts.map +1 -0
- package/dist/styles/hooks/usePrefersReducedMotion.d.ts +3 -0
- package/dist/styles/hooks/usePrefersReducedMotion.d.ts.map +1 -0
- package/dist/styles/hooks/useRandomInterval.d.ts +3 -0
- package/dist/styles/hooks/useRandomInterval.d.ts.map +1 -0
- package/dist/styles/hooks/useWindowSize.d.ts +3 -0
- package/dist/styles/hooks/useWindowSize.d.ts.map +1 -0
- package/dist/styles/icons/AwaitingProofIcon.d.ts +9 -0
- package/dist/styles/icons/AwaitingProofIcon.d.ts.map +1 -0
- package/dist/styles/icons/CalendarIcon.d.ts +10 -0
- package/dist/styles/icons/CalendarIcon.d.ts.map +1 -0
- package/dist/styles/icons/ChangeRequestedIcon.d.ts +9 -0
- package/dist/styles/icons/ChangeRequestedIcon.d.ts.map +1 -0
- package/dist/styles/icons/ChatIcon.d.ts +10 -0
- package/dist/styles/icons/ChatIcon.d.ts.map +1 -0
- package/dist/styles/icons/ClientApprovedIcon.d.ts +9 -0
- package/dist/styles/icons/ClientApprovedIcon.d.ts.map +1 -0
- package/dist/styles/icons/ColumnSelectIcon.d.ts +8 -0
- package/dist/styles/icons/ColumnSelectIcon.d.ts.map +1 -0
- package/dist/styles/icons/CouponIcon.d.ts +9 -0
- package/dist/styles/icons/CouponIcon.d.ts.map +1 -0
- package/dist/styles/icons/DownArrowIcon.d.ts +10 -0
- package/dist/styles/icons/DownArrowIcon.d.ts.map +1 -0
- package/dist/styles/icons/DownloadIcon.d.ts +5 -0
- package/dist/styles/icons/DownloadIcon.d.ts.map +1 -0
- package/dist/styles/icons/FileIcon.d.ts +6 -0
- package/dist/styles/icons/FileIcon.d.ts.map +1 -0
- package/dist/styles/icons/GearIcon.d.ts +10 -0
- package/dist/styles/icons/GearIcon.d.ts.map +1 -0
- package/dist/styles/icons/InfoIcon.d.ts +10 -0
- package/dist/styles/icons/InfoIcon.d.ts.map +1 -0
- package/dist/styles/icons/Loading.d.ts +16 -0
- package/dist/styles/icons/Loading.d.ts.map +1 -0
- package/dist/styles/icons/LockIcon.d.ts +11 -0
- package/dist/styles/icons/LockIcon.d.ts.map +1 -0
- package/dist/styles/icons/NavConnectIcon.d.ts +11 -0
- package/dist/styles/icons/NavConnectIcon.d.ts.map +1 -0
- package/dist/styles/icons/NavFinanceIcon.d.ts +11 -0
- package/dist/styles/icons/NavFinanceIcon.d.ts.map +1 -0
- package/dist/styles/icons/NavManagementIcon.d.ts +11 -0
- package/dist/styles/icons/NavManagementIcon.d.ts.map +1 -0
- package/dist/styles/icons/NavProdIcon.d.ts +11 -0
- package/dist/styles/icons/NavProdIcon.d.ts.map +1 -0
- package/dist/styles/icons/NavSalesIcon.d.ts +11 -0
- package/dist/styles/icons/NavSalesIcon.d.ts.map +1 -0
- package/dist/styles/icons/NextPrevIcon.d.ts +11 -0
- package/dist/styles/icons/NextPrevIcon.d.ts.map +1 -0
- package/dist/styles/icons/NoMarketingIcon.d.ts +9 -0
- package/dist/styles/icons/NoMarketingIcon.d.ts.map +1 -0
- package/dist/styles/icons/NoteIcon.d.ts +9 -0
- package/dist/styles/icons/NoteIcon.d.ts.map +1 -0
- package/dist/styles/icons/PanelIcon.d.ts +9 -0
- package/dist/styles/icons/PanelIcon.d.ts.map +1 -0
- package/dist/styles/icons/PendingApprovalIcon.d.ts +9 -0
- package/dist/styles/icons/PendingApprovalIcon.d.ts.map +1 -0
- package/dist/styles/icons/PinIcon.d.ts +10 -0
- package/dist/styles/icons/PinIcon.d.ts.map +1 -0
- package/dist/styles/icons/ProofReceivedIcon.d.ts +9 -0
- package/dist/styles/icons/ProofReceivedIcon.d.ts.map +1 -0
- package/dist/styles/icons/ProofingCompleteIcon.d.ts +9 -0
- package/dist/styles/icons/ProofingCompleteIcon.d.ts.map +1 -0
- package/dist/styles/icons/SVG.d.ts +4 -0
- package/dist/styles/icons/SVG.d.ts.map +1 -0
- package/dist/styles/icons/TableIcon.d.ts +10 -0
- package/dist/styles/icons/TableIcon.d.ts.map +1 -0
- package/dist/styles/icons/TaskIcon.d.ts +9 -0
- package/dist/styles/icons/TaskIcon.d.ts.map +1 -0
- package/dist/styles/icons/TrashIcon.d.ts +10 -0
- package/dist/styles/icons/TrashIcon.d.ts.map +1 -0
- package/dist/styles/icons/UpArrowIcon.d.ts +10 -0
- package/dist/styles/icons/UpArrowIcon.d.ts.map +1 -0
- package/dist/styles/icons/UpDownArrowsIcon.d.ts +10 -0
- package/dist/styles/icons/UpDownArrowsIcon.d.ts.map +1 -0
- package/dist/styles/icons/YesMarketingIcon.d.ts +9 -0
- package/dist/styles/icons/YesMarketingIcon.d.ts.map +1 -0
- package/dist/styles/icons/index.d.ts +34 -0
- package/dist/styles/icons/index.d.ts.map +1 -0
- package/dist/styles/index.d.ts +45 -0
- package/dist/styles/index.d.ts.map +1 -0
- package/dist/styles/verticalScrollbarWidth.d.ts +3 -0
- package/dist/styles/verticalScrollbarWidth.d.ts.map +1 -0
- package/dist/utils/generateColor.d.ts +3 -0
- package/dist/utils/generateColor.d.ts.map +1 -0
- package/dist/utils/index.d.ts +178 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/sizes.d.ts +5 -0
- package/dist/utils/sizes.d.ts.map +1 -0
- package/dist/utils/ssr.d.ts +172 -0
- package/dist/utils/ssr.d.ts.map +1 -0
- package/package.json +4 -2
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
declare type DropdownContentProps = {
|
|
3
|
+
text?: string;
|
|
4
|
+
color?: string;
|
|
5
|
+
active?: boolean;
|
|
6
|
+
rounded?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const StatusDropdown: ({ items, text, value, row, setMenuIsOpen, disabled, ...props }: {
|
|
9
|
+
items: {
|
|
10
|
+
onClick?: any;
|
|
11
|
+
props?: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
} | undefined;
|
|
14
|
+
content: ReactNode | string | any;
|
|
15
|
+
value: string;
|
|
16
|
+
color: string;
|
|
17
|
+
}[];
|
|
18
|
+
value: {
|
|
19
|
+
onClick?: any;
|
|
20
|
+
props?: {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
} | undefined;
|
|
23
|
+
content: ReactNode | string | any;
|
|
24
|
+
value: string;
|
|
25
|
+
color: string;
|
|
26
|
+
};
|
|
27
|
+
row: any;
|
|
28
|
+
setMenuIsOpen?: any;
|
|
29
|
+
disabled?: boolean | undefined;
|
|
30
|
+
} & DropdownContentProps) => JSX.Element;
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=StatusDropdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusDropdown.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/StatusDropdown.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AAWtE,aAAK,oBAAoB,GAAG;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB,CAAA;AA6BD,eAAO,MAAM,cAAc;;kBACC,GAAG;;;;iBAAwC,SAAS,GAAC,MAAM,GAAC,GAAG;eAAS,MAAM;eAAS,MAAM;;;kBACnG,GAAG;;;;iBAAwC,SAAS,GAAC,MAAM,GAAC,GAAG;eAAS,MAAM;eAAS,MAAM;;SAC1G,GAAG;oBACQ,GAAG;;wCAqDtB,CAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SizerTypes } from './Sizer';
|
|
3
|
+
import { SharedStyleTypes } from './SharedStyles';
|
|
4
|
+
declare const Table: import("styled-components").StyledComponent<"table", any, {
|
|
5
|
+
cellPadding: 0;
|
|
6
|
+
cellSpacing: 0;
|
|
7
|
+
} & SharedStyleTypes, "cellPadding" | "cellSpacing">;
|
|
8
|
+
declare const TH: import("styled-components").StyledComponent<"th", any, SizerTypes | ({
|
|
9
|
+
clickable?: boolean | undefined;
|
|
10
|
+
sticky?: boolean | undefined;
|
|
11
|
+
stickyTop?: number | undefined;
|
|
12
|
+
} & SharedStyleTypes), never>;
|
|
13
|
+
declare const TD: import("styled-components").StyledComponent<"td", any, SizerTypes | ({
|
|
14
|
+
clickable?: boolean | undefined;
|
|
15
|
+
} & SharedStyleTypes), never>;
|
|
16
|
+
declare const TR: import("styled-components").StyledComponent<"tr", any, SizerTypes & {
|
|
17
|
+
selected?: boolean | undefined;
|
|
18
|
+
}, never>;
|
|
19
|
+
declare const THead: import("styled-components").StyledComponent<"thead", any, SizerTypes, never>;
|
|
20
|
+
declare const TBody: import("styled-components").StyledComponent<"tbody", any, SizerTypes, never>;
|
|
21
|
+
declare const ResponsiveTable: ({ parentProps, children, ...props }: React.PropsWithChildren<{
|
|
22
|
+
parentProps?: {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
style?: object | undefined;
|
|
25
|
+
} | undefined;
|
|
26
|
+
} & SharedStyleTypes>) => JSX.Element;
|
|
27
|
+
declare const THSorted: ({ children, order, iconHeight, iconStyles, hideIconOnMobile, ...props }: React.PropsWithChildren<{
|
|
28
|
+
order?: string | undefined;
|
|
29
|
+
iconHeight?: number | undefined;
|
|
30
|
+
iconStyles?: object | undefined;
|
|
31
|
+
hideIconOnMobile?: boolean | undefined;
|
|
32
|
+
}>) => JSX.Element;
|
|
33
|
+
export { Table, TD, TH, TR, THead, TBody, ResponsiveTable, THSorted };
|
|
34
|
+
//# sourceMappingURL=Table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAY,UAAU,EAAE,MAAM,SAAS,CAAC;AAE/C,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAiB/D,QAAA,MAAM,KAAK;;;oDAaV,CAAC;AAEF,QAAA,MAAM,EAAE;;;;6BAqBP,CAAC;AAEF,QAAA,MAAM,EAAE;;6BAgBP,CAAC;AAEF,QAAA,MAAM,EAAE;;SAQP,CAAC;AAEF,QAAA,MAAM,KAAK,8EAIV,CAAC;AAEF,QAAA,MAAM,KAAK,8EAIV,CAAC;AAQF,QAAA,MAAM,eAAe;;;;;qCAMpB,CAAA;AAED,QAAA,MAAM,QAAQ;;;;;kBAcb,CAAA;AAGD,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import { SharedStyleTypes } from './SharedStyles';
|
|
3
|
+
declare const tabSizes: {
|
|
4
|
+
small: import("styled-components").FlattenSimpleInterpolation;
|
|
5
|
+
medium: import("styled-components").FlattenSimpleInterpolation;
|
|
6
|
+
};
|
|
7
|
+
declare const TabBar: import("styled-components").StyledComponent<"ul", any, {
|
|
8
|
+
padded?: boolean | undefined;
|
|
9
|
+
} & SharedStyleTypes, never>;
|
|
10
|
+
declare const Tab: import("styled-components").StyledComponent<"li", any, {
|
|
11
|
+
selected?: boolean | undefined;
|
|
12
|
+
size?: "small" | "medium" | undefined;
|
|
13
|
+
} & SharedStyleTypes, never>;
|
|
14
|
+
export declare type TabType = {
|
|
15
|
+
label: string;
|
|
16
|
+
content: React.ReactNode;
|
|
17
|
+
onClick?: Function | VoidFunction;
|
|
18
|
+
};
|
|
19
|
+
declare type StateType = {
|
|
20
|
+
selectedTabIndex: number;
|
|
21
|
+
selectedTab: TabType;
|
|
22
|
+
};
|
|
23
|
+
export declare type TabsProps = {
|
|
24
|
+
tabs: TabType[];
|
|
25
|
+
selectedTabIndex?: number;
|
|
26
|
+
padded?: boolean;
|
|
27
|
+
size?: keyof typeof tabSizes;
|
|
28
|
+
};
|
|
29
|
+
declare class Tabs extends Component<TabsProps, StateType> {
|
|
30
|
+
constructor(props: TabsProps);
|
|
31
|
+
componentDidMount(): void;
|
|
32
|
+
render(): JSX.Element;
|
|
33
|
+
}
|
|
34
|
+
export { TabBar, Tab, Tabs };
|
|
35
|
+
//# sourceMappingURL=Tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Tabs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACxC,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAE/D,QAAA,MAAM,QAAQ;;;CAWb,CAAC;AAEF,QAAA,MAAM,MAAM;;4BAUX,CAAA;AAED,QAAA,MAAM,GAAG;;;4BAgBR,CAAA;AAgCD,oBAAY,OAAO,GAAG;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,OAAO,CAAC,EAAE,QAAQ,GAAC,YAAY,CAAA;CAAC,CAAC;AACjG,aAAK,SAAS,GAAG;IAAC,gBAAgB,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,OAAO,CAAA;CAAC,CAAC;AAClE,oBAAY,SAAS,GAAG;IAAE,IAAI,EAAE,OAAO,EAAE,CAAC;IAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,OAAO,QAAQ,CAAA;CAAE,CAAC;AACvH,cAAM,IAAK,SAAQ,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC;gBACpC,KAAK,EAAE,SAAS;IAQ5B,iBAAiB;IAKjB,MAAM;CAkBP;AAED,OAAO,EAAC,MAAM,EAAE,GAAG,EAAE,IAAI,EAAC,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SharedStyleTypes } from './SharedStyles';
|
|
3
|
+
declare const TaskLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
declare const TaskName: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
declare const StyledTask: import("styled-components").StyledComponent<"div", any, SharedStyleTypes, never>;
|
|
6
|
+
declare const TaskBody: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export declare type TaskProps = {
|
|
8
|
+
taskName: string;
|
|
9
|
+
date?: string;
|
|
10
|
+
done?: boolean;
|
|
11
|
+
assignee?: string;
|
|
12
|
+
taskBody: string | React.ReactNode;
|
|
13
|
+
checked?: boolean;
|
|
14
|
+
onClickCheckbox?: (checked?: boolean) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const Task: ({ taskName, date, done, assignee, taskBody, initialChecked, onClickCheckbox, ...props }: React.PropsWithChildren<TaskProps & SharedStyleTypes>) => JSX.Element;
|
|
17
|
+
declare const StyledCalendarTaskBody: import("styled-components").StyledComponent<"span", any, {
|
|
18
|
+
preWrap?: boolean | undefined;
|
|
19
|
+
}, never>;
|
|
20
|
+
export declare type CalendarTaskProps = {
|
|
21
|
+
id?: string;
|
|
22
|
+
title: string;
|
|
23
|
+
description: string | React.ReactNode;
|
|
24
|
+
date?: Date;
|
|
25
|
+
completed?: boolean;
|
|
26
|
+
colorType?: string;
|
|
27
|
+
assignee?: string;
|
|
28
|
+
checked?: boolean;
|
|
29
|
+
overdue?: boolean;
|
|
30
|
+
wordLength?: number | null;
|
|
31
|
+
onClickCheckbox?: (checked?: boolean) => any;
|
|
32
|
+
};
|
|
33
|
+
declare const CalendarTask: React.ForwardRefExoticComponent<Pick<CalendarTaskProps & SharedStyleTypes, string | number> & React.RefAttributes<HTMLInputElement>>;
|
|
34
|
+
export { Task, StyledTask, TaskLabel, TaskName, TaskBody, StyledCalendarTaskBody, CalendarTask, };
|
|
35
|
+
//# sourceMappingURL=Task.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Task.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAGlD,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAE/D,QAAA,MAAM,SAAS,oEAAoE,CAAA;AACnF,QAAA,MAAM,QAAQ,oEAA4C,CAAA;AAC1D,QAAA,MAAM,UAAU,kFAAsE,CAAA;AACtF,QAAA,MAAM,QAAQ,oEAAgC,CAAA;AAE9C,oBAAY,SAAS,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,OAAO,KAAK,GAAG,CAAC;CAC9C,CAAC;AACF,QAAA,MAAM,IAAI,4FASP,KAAK,CAAC,iBAAiB,CAAC,SAAS,GAAG,gBAAgB,CAAC,gBAqBvD,CAAA;AAED,QAAA,MAAM,sBAAsB;;SAK3B,CAAC;AAWF,oBAAY,iBAAiB,GAAG;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACtC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,eAAe,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,OAAO,KAAK,GAAG,CAAC;CAC9C,CAAC;AAEF,QAAA,MAAM,YAAY,sIA+DhB,CAAC;AAEH,OAAO,EACL,IAAI,EACJ,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,sBAAsB,EACtB,YAAY,GACb,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SharedStyleTypes } from './SharedStyles';
|
|
3
|
+
export declare const Text: import("styled-components").StyledComponent<"span", any, {
|
|
4
|
+
color?: "transparent" | "white" | "black" | "primary" | "cta" | "primary0" | "primary10" | "primary100" | "disabledButton" | "disabledButtonBorder" | "texttitle" | "textlabel" | "textbody" | "textplaceholder" | "bggray" | "bgblue" | "inputBorder" | "special1" | "special2" | "special3" | "primaryBg" | "special2Bg" | "error" | "primary2" | "primary20" | "primary200" | undefined;
|
|
5
|
+
} & SharedStyleTypes, never>;
|
|
6
|
+
export declare const Link: import("styled-components").StyledComponent<React.FC<({
|
|
7
|
+
highlight?: boolean | undefined;
|
|
8
|
+
} & Pick<Pick<any, string | number | symbol> & Partial<Pick<any, never>>, string | number | symbol> & {
|
|
9
|
+
theme?: any;
|
|
10
|
+
} & {
|
|
11
|
+
as?: "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
|
|
12
|
+
forwardedAs?: "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
|
|
13
|
+
} & SharedStyleTypes) | ({
|
|
14
|
+
highlight?: boolean | undefined;
|
|
15
|
+
} & Pick<Pick<any, string | number | symbol> & Partial<Pick<any, never>>, string | number | symbol> & {
|
|
16
|
+
theme?: any;
|
|
17
|
+
} & {
|
|
18
|
+
children?: React.ReactNode;
|
|
19
|
+
} & {
|
|
20
|
+
as?: "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
|
|
21
|
+
forwardedAs?: "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
|
|
22
|
+
} & SharedStyleTypes)>, any, {}, never>;
|
|
23
|
+
export declare const Number: React.FC<{
|
|
24
|
+
num: number;
|
|
25
|
+
commas?: boolean;
|
|
26
|
+
decimalPoints?: number;
|
|
27
|
+
} & SharedStyleTypes>;
|
|
28
|
+
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Text.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEhE,eAAO,MAAM,IAAI;;4BAQhB,CAAC;AAMF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;uCAGhB,CAAC;AAMF,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,aAAa,CAAC,EAAC,MAAM,CAAA;CAAC,GAAG,gBAAgB,CAOtG,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StyledComponentProps } from 'styled-components';
|
|
3
|
+
import { SharedStyleTypes } from './SharedStyles';
|
|
4
|
+
export declare const Textarea: import("styled-components").StyledComponent<"textarea", any, {
|
|
5
|
+
noMargin?: boolean | undefined;
|
|
6
|
+
error?: boolean | undefined;
|
|
7
|
+
} & SharedStyleTypes, never>;
|
|
8
|
+
declare type TextareaProps = StyledComponentProps<'textarea', any, {}, never>;
|
|
9
|
+
export declare const LabeledTextarea: ({ label, name, ...props }: Pick<Pick<Pick<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "form" | "slot" | "style" | "title" | "className" | "color" | "id" | "lang" | "name" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "disabled" | "value" | "autoComplete" | "maxLength" | "minLength" | "readOnly" | "required" | "cols" | "dirName" | "rows" | "wrap"> & {
|
|
10
|
+
ref?: ((instance: HTMLTextAreaElement | null) => void) | React.RefObject<HTMLTextAreaElement> | null | undefined;
|
|
11
|
+
}, "form" | "slot" | "style" | "title" | "ref" | "className" | "color" | "id" | "lang" | "name" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "disabled" | "value" | "autoComplete" | "maxLength" | "minLength" | "readOnly" | "required" | "cols" | "dirName" | "rows" | "wrap"> & Partial<Pick<Pick<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "form" | "slot" | "style" | "title" | "className" | "color" | "id" | "lang" | "name" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "disabled" | "value" | "autoComplete" | "maxLength" | "minLength" | "readOnly" | "required" | "cols" | "dirName" | "rows" | "wrap"> & {
|
|
12
|
+
ref?: ((instance: HTMLTextAreaElement | null) => void) | React.RefObject<HTMLTextAreaElement> | null | undefined;
|
|
13
|
+
}, never>>, "form" | "slot" | "style" | "title" | "ref" | "className" | "color" | "id" | "lang" | "name" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "disabled" | "value" | "autoComplete" | "maxLength" | "minLength" | "readOnly" | "required" | "cols" | "dirName" | "rows" | "wrap"> & {
|
|
14
|
+
theme?: any;
|
|
15
|
+
} & {
|
|
16
|
+
label: string;
|
|
17
|
+
name?: string | undefined;
|
|
18
|
+
noMargin?: boolean | undefined;
|
|
19
|
+
} & SharedStyleTypes) => JSX.Element;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=Textarea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAe,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAGhE,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAE/D,eAAO,MAAM,QAAQ;;;4BAoBpB,CAAC;AAEF,aAAK,aAAa,GAAG,oBAAoB,CAAC,UAAU,EAAE,GAAG,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;AAEtE,eAAO,MAAM,eAAe;;;;;;;WAAsD,MAAM;;;oCAKvF,CAAA"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const colors: {
|
|
3
|
+
white: string;
|
|
4
|
+
black: string;
|
|
5
|
+
primary: string;
|
|
6
|
+
cta: string;
|
|
7
|
+
primary0: string;
|
|
8
|
+
primary10: string;
|
|
9
|
+
primary100: string;
|
|
10
|
+
disabledButton: string;
|
|
11
|
+
disabledButtonBorder: string;
|
|
12
|
+
texttitle: string;
|
|
13
|
+
textlabel: string;
|
|
14
|
+
textbody: string;
|
|
15
|
+
textplaceholder: string;
|
|
16
|
+
bggray: string;
|
|
17
|
+
bgblue: string;
|
|
18
|
+
inputBorder: string;
|
|
19
|
+
special1: string;
|
|
20
|
+
special2: string;
|
|
21
|
+
special3: string;
|
|
22
|
+
primaryBg: string;
|
|
23
|
+
special2Bg: string;
|
|
24
|
+
transparent: string;
|
|
25
|
+
error: string;
|
|
26
|
+
primary2: string;
|
|
27
|
+
primary20: string;
|
|
28
|
+
primary200: string;
|
|
29
|
+
};
|
|
30
|
+
export declare const fonts: string[];
|
|
31
|
+
export declare const fontSizes: {
|
|
32
|
+
tiny: string;
|
|
33
|
+
small: string;
|
|
34
|
+
medium: string;
|
|
35
|
+
large: string;
|
|
36
|
+
};
|
|
37
|
+
export declare const themeOptions: {
|
|
38
|
+
colors: {
|
|
39
|
+
white: string;
|
|
40
|
+
black: string;
|
|
41
|
+
primary: string;
|
|
42
|
+
cta: string;
|
|
43
|
+
primary0: string;
|
|
44
|
+
primary10: string;
|
|
45
|
+
primary100: string;
|
|
46
|
+
disabledButton: string;
|
|
47
|
+
disabledButtonBorder: string;
|
|
48
|
+
texttitle: string;
|
|
49
|
+
textlabel: string;
|
|
50
|
+
textbody: string;
|
|
51
|
+
textplaceholder: string;
|
|
52
|
+
bggray: string;
|
|
53
|
+
bgblue: string;
|
|
54
|
+
inputBorder: string;
|
|
55
|
+
special1: string;
|
|
56
|
+
special2: string;
|
|
57
|
+
special3: string;
|
|
58
|
+
primaryBg: string;
|
|
59
|
+
special2Bg: string;
|
|
60
|
+
transparent: string;
|
|
61
|
+
error: string;
|
|
62
|
+
primary2: string;
|
|
63
|
+
primary20: string;
|
|
64
|
+
primary200: string;
|
|
65
|
+
};
|
|
66
|
+
fonts: string[];
|
|
67
|
+
fontFamily: string;
|
|
68
|
+
fontSizes: {
|
|
69
|
+
tiny: string;
|
|
70
|
+
small: string;
|
|
71
|
+
medium: string;
|
|
72
|
+
large: string;
|
|
73
|
+
};
|
|
74
|
+
space: {
|
|
75
|
+
0: string;
|
|
76
|
+
1: string;
|
|
77
|
+
2: string;
|
|
78
|
+
3: string;
|
|
79
|
+
4: string;
|
|
80
|
+
5: string;
|
|
81
|
+
6: string;
|
|
82
|
+
7: string;
|
|
83
|
+
8: string;
|
|
84
|
+
9: string;
|
|
85
|
+
10: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
export declare function getColor(color?: string, def?: string): string;
|
|
89
|
+
export declare function getFontSize(value?: string, def?: string): string;
|
|
90
|
+
export declare function getThemeColor(props: {
|
|
91
|
+
[key: string]: any;
|
|
92
|
+
}, color: string, fallbackColor?: string): string;
|
|
93
|
+
export declare function getThemeFontSize(props: {
|
|
94
|
+
[key: string]: any;
|
|
95
|
+
}, value: string, fallbackValue?: string): string;
|
|
96
|
+
export declare function getThemeFontFamily(props: {
|
|
97
|
+
[key: string]: any;
|
|
98
|
+
}, fallbackValue?: string): string;
|
|
99
|
+
export declare function getThemeProperty(props: {
|
|
100
|
+
[key: string]: any;
|
|
101
|
+
}, prop: string, value?: string, fallbackValue?: string): string;
|
|
102
|
+
declare const Theme: ({ theme, globalStyles, children }: React.PropsWithChildren<{
|
|
103
|
+
theme?: object | undefined;
|
|
104
|
+
globalStyles?: boolean | undefined;
|
|
105
|
+
}>) => JSX.Element;
|
|
106
|
+
export default Theme;
|
|
107
|
+
//# sourceMappingURL=Theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Theme.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Theme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BlB,CAAC;AACF,eAAO,MAAM,KAAK,UAAiD,CAAC;AACpE,eAAO,MAAM,SAAS;;;;;CAKrB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBxB,CAAA;AAED,wBAAgB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAG7D;AAED,wBAAgB,WAAW,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAGhE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAExG;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAE3G;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,EAAE,aAAa,SAAK,GAAG,MAAM,CAE1F;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAgB1H;AAID,QAAA,MAAM,KAAK;;;kBAUV,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SharedStyleTypes } from './SharedStyles';
|
|
3
|
+
declare const ToggleLink: import("styled-components").StyledComponent<"a", any, {
|
|
4
|
+
selected?: boolean | undefined;
|
|
5
|
+
stretch?: boolean | undefined;
|
|
6
|
+
} & SharedStyleTypes, never>;
|
|
7
|
+
declare const Toggle: (props: React.PropsWithChildren<{
|
|
8
|
+
stretch?: boolean;
|
|
9
|
+
} & SharedStyleTypes>) => JSX.Element;
|
|
10
|
+
export { Toggle, ToggleLink };
|
|
11
|
+
//# sourceMappingURL=Toggle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Toggle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAoBhE,QAAA,MAAM,UAAU;;;4BAgBZ,CAAA;AAEJ,QAAA,MAAM,MAAM,UAAW,KAAK,CAAC,iBAAiB,CAAC;IAAC,OAAO,CAAC,EAAC,OAAO,CAAA;CAAC,GAAC,gBAAgB,CAAC,gBAMlF,CAAA;AAED,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CSSObject } from 'styled-components';
|
|
3
|
+
export declare type CalendarHeaderComponentProps = {
|
|
4
|
+
onNextWeek: VoidFunction;
|
|
5
|
+
onPrevWeek: VoidFunction;
|
|
6
|
+
onNextMonth: VoidFunction;
|
|
7
|
+
onPrevMonth: VoidFunction;
|
|
8
|
+
currentMonth: Date;
|
|
9
|
+
currentWeek: number;
|
|
10
|
+
selectedDate: Date;
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
export declare type CalendarProps = {
|
|
14
|
+
components?: {
|
|
15
|
+
Header?: (props: React.PropsWithChildren<CalendarHeaderComponentProps>) => React.ReactElement;
|
|
16
|
+
Footer?: (props: React.PropsWithChildren<CalendarHeaderComponentProps>) => React.ReactElement;
|
|
17
|
+
DayBody?: (props: React.PropsWithChildren<{
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}>) => React.ReactElement;
|
|
20
|
+
};
|
|
21
|
+
showHeader?: boolean;
|
|
22
|
+
showFooter?: boolean;
|
|
23
|
+
extraProps?: {
|
|
24
|
+
dayBody?: CSSObject | {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
};
|
|
27
|
+
header?: CSSObject | {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
};
|
|
30
|
+
footer?: CSSObject | {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
declare const Calendar: ({ components, extraProps, ...props }: CalendarProps) => JSX.Element;
|
|
36
|
+
export default Calendar;
|
|
37
|
+
//# sourceMappingURL=Calendar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/Calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAU9C,oBAAY,4BAA4B,GAAG;IACvC,UAAU,EAAE,YAAY,CAAC;IACzB,UAAU,EAAE,YAAY,CAAC;IACzB,WAAW,EAAE,YAAY,CAAC;IAC1B,WAAW,EAAE,YAAY,CAAC;IAC1B,YAAY,EAAE,IAAI,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,IAAI,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB,CAAC;AAEF,oBAAY,aAAa,GAAG;IACxB,UAAU,CAAC,EAAE;QACT,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,4BAA4B,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;QAC9F,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,4BAA4B,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;QAC9F,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAE,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;KAC5F,CAAC;IACF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE;QACT,OAAO,CAAC,EAAE,SAAS,GAAG;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAE,CAAC;QAC7C,MAAM,CAAC,EAAE,SAAS,GAAG;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAE,CAAC;QAC5C,MAAM,CAAC,EAAE,SAAS,GAAG;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAE,CAAC;KAC/C,CAAC;CACL,CAAC;AACF,QAAA,MAAM,QAAQ,yCAA+C,aAAa,gBAwEzE,CAAA;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type CalendarDayBodyProps = React.PropsWithChildren<{
|
|
3
|
+
day: Date;
|
|
4
|
+
selectedDate: Date;
|
|
5
|
+
onClick: Function;
|
|
6
|
+
weekend?: boolean;
|
|
7
|
+
}>;
|
|
8
|
+
declare const CalendarDayBody: ({ day, selectedDate, onClick, children, weekend, ...props }: CalendarDayBodyProps) => JSX.Element;
|
|
9
|
+
export default CalendarDayBody;
|
|
10
|
+
//# sourceMappingURL=CalendarDayBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarDayBody.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/CalendarDayBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,aAAK,oBAAoB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAAE,GAAG,EAAE,IAAI,CAAC;IAAC,YAAY,EAAE,IAAI,CAAC;IAAC,OAAO,EAAE,QAAQ,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAE7H,QAAA,MAAM,eAAe,gEAAiE,oBAAoB,gBAqBzG,CAAA;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CSSObject } from 'styled-components';
|
|
3
|
+
declare type CalendarDaysBodyProps = {
|
|
4
|
+
days: Array<{
|
|
5
|
+
__id__: string;
|
|
6
|
+
day: Date;
|
|
7
|
+
}>;
|
|
8
|
+
currentMonth: Date;
|
|
9
|
+
selectedDate: Date;
|
|
10
|
+
onClickDay?: (day: Date) => any;
|
|
11
|
+
dayBodyProps?: CSSObject | {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
weekend?: boolean;
|
|
15
|
+
components?: {
|
|
16
|
+
DayBody?: (props: React.PropsWithChildren<{
|
|
17
|
+
day: Date;
|
|
18
|
+
selectedDate: Date;
|
|
19
|
+
onClick: React.MouseEventHandler;
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}>) => React.ReactElement;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
declare const CalendarDaysBody: ({ days, currentMonth, selectedDate, onClickDay, components, dayBodyProps, weekend, ...props }: CalendarDaysBodyProps) => JSX.Element;
|
|
25
|
+
export default CalendarDaysBody;
|
|
26
|
+
//# sourceMappingURL=CalendarDaysBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarDaysBody.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/CalendarDaysBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAM9C,aAAK,qBAAqB,GAAG;IACzB,IAAI,EAAE,KAAK,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,IAAI,CAAA;KAAC,CAAC,CAAC;IACzC,YAAY,EAAE,IAAI,CAAC;IACnB,YAAY,EAAE,IAAI,CAAC;IACnB,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,IAAI,KAAK,GAAG,CAAC;IAChC,YAAY,CAAC,EAAE,SAAS,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAClD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE;QACT,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC;YAAC,GAAG,EAAE,IAAI,CAAC;YAAC,YAAY,EAAE,IAAI,CAAC;YAAC,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC;YAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAC,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;KAC3J,CAAC;CACL,CAAC;AAEF,QAAA,MAAM,gBAAgB,kGAA8G,qBAAqB,gBAyBxJ,CAAA;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const CalendarDaysHeader: ({ currentMonth, selectedDate, weekend }: {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
currentMonth: Date;
|
|
5
|
+
selectedDate: Date;
|
|
6
|
+
weekend: boolean;
|
|
7
|
+
}) => JSX.Element;
|
|
8
|
+
export default CalendarDaysHeader;
|
|
9
|
+
//# sourceMappingURL=CalendarDaysHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarDaysHeader.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/CalendarDaysHeader.tsx"],"names":[],"mappings":";AAOA,QAAA,MAAM,kBAAkB;;kBAIL,IAAI;kBAAgB,IAAI;aAAW,OAAO;iBAqB5D,CAAA;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarWrapper.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/CalendarWrapper.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,eAAe,oEAWpB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DaysBodyWrapper.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/DaysBodyWrapper.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,eAAe,oEAQpB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DaysHeaderWrapper.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/DaysHeaderWrapper.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,iBAAiB,uGAOtB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultCalendarFooter.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/DefaultCalendarFooter.tsx"],"names":[],"mappings":";AAIA,QAAA,MAAM,qBAAqB;iBAET,MAAM;iBAMvB,CAAA;AAED,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const DefaultCalendarHeader: ({ onPrevWeek, onNextWeek, currentMonth, }: {
|
|
3
|
+
onPrevWeek: React.MouseEventHandler;
|
|
4
|
+
onNextWeek: React.MouseEventHandler;
|
|
5
|
+
currentMonth: Date;
|
|
6
|
+
}) => JSX.Element;
|
|
7
|
+
export default DefaultCalendarHeader;
|
|
8
|
+
//# sourceMappingURL=DefaultCalendarHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultCalendarHeader.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/DefaultCalendarHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,QAAA,MAAM,qBAAqB;gBAKX,KAAK,CAAC,iBAAiB;gBACvB,KAAK,CAAC,iBAAiB;kBACrB,IAAI;iBAwBrB,CAAA;AAED,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type DraggableCalendarFooterTasksProps = {
|
|
3
|
+
onNextWeek: VoidFunction;
|
|
4
|
+
onPrevWeek: VoidFunction;
|
|
5
|
+
onNextMonth: VoidFunction;
|
|
6
|
+
onPrevMonth: VoidFunction;
|
|
7
|
+
currentMonth: Date;
|
|
8
|
+
currentWeek: number;
|
|
9
|
+
selectedDate: Date;
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
};
|
|
12
|
+
export declare const DraggableCalendarFooterTasks: ({ currentWeek, tasks, }: React.PropsWithChildren<DraggableCalendarFooterTasksProps>) => JSX.Element;
|
|
13
|
+
export default DraggableCalendarFooterTasks;
|
|
14
|
+
//# sourceMappingURL=DraggableCalendarFooterTasks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DraggableCalendarFooterTasks.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/DraggableCalendarFooterTasks.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,oBAAY,iCAAiC,GAAG;IAC5C,UAAU,EAAE,YAAY,CAAC;IACzB,UAAU,EAAE,YAAY,CAAC;IACzB,WAAW,EAAE,YAAY,CAAC;IAC1B,WAAW,EAAE,YAAY,CAAC;IAC1B,YAAY,EAAE,IAAI,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,IAAI,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB,CAAC;AACF,eAAO,MAAM,4BAA4B,4BAGtC,KAAK,CAAC,iBAAiB,CAAC,iCAAiC,CAAC,gBAuB5D,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|