ods-component-lib 1.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/README.md +30 -0
- package/dist/components/antd/alert/OdsAlert.d.ts +4 -0
- package/dist/components/antd/alert/OdsAlert.styled.d.ts +4 -0
- package/dist/components/antd/alert/OtiAlert.d.ts +4 -0
- package/dist/components/antd/alert/OtiAlert.styled.d.ts +4 -0
- package/dist/components/antd/autocomplete/OdsAutoComplete.d.ts +7 -0
- package/dist/components/antd/autocomplete/OdsAutoComplete.styled.d.ts +9 -0
- package/dist/components/antd/autocomplete/OtiAutoComplete.d.ts +7 -0
- package/dist/components/antd/autocomplete/OtiAutoComplete.styled.d.ts +9 -0
- package/dist/components/antd/button/OdsButton.d.ts +24 -0
- package/dist/components/antd/button/OdsButton.styled.d.ts +11 -0
- package/dist/components/antd/button/OdsButton.test.d.ts +1 -0
- package/dist/components/antd/button/OdsDropdownButton.d.ts +9 -0
- package/dist/components/antd/button/OtiButton.d.ts +24 -0
- package/dist/components/antd/button/OtiButton.styled.d.ts +11 -0
- package/dist/components/antd/button/OtiButton.test.d.ts +1 -0
- package/dist/components/antd/button/OtiDropdownButton.d.ts +9 -0
- package/dist/components/antd/checkbox/OdsCheckbox.d.ts +16 -0
- package/dist/components/antd/checkbox/OdsCheckbox.styled.d.ts +4 -0
- package/dist/components/antd/checkbox/OdsCheckboxGroup.d.ts +18 -0
- package/dist/components/antd/checkbox/OtiCheckbox.d.ts +16 -0
- package/dist/components/antd/checkbox/OtiCheckbox.styled.d.ts +4 -0
- package/dist/components/antd/checkbox/OtiCheckboxGroup.d.ts +18 -0
- package/dist/components/antd/collapse/OdsCollapse.d.ts +4 -0
- package/dist/components/antd/collapse/OdsCollapse.styled.d.ts +4 -0
- package/dist/components/antd/collapse/OtiCollapse.d.ts +4 -0
- package/dist/components/antd/collapse/OtiCollapse.styled.d.ts +4 -0
- package/dist/components/antd/datepicker/OdsDateRangepicker.d.ts +4 -0
- package/dist/components/antd/datepicker/OdsDatepicker.d.ts +4 -0
- package/dist/components/antd/datepicker/OdsDatepicker.styled.d.ts +1 -0
- package/dist/components/antd/datepicker/OtiDateRangepicker.d.ts +4 -0
- package/dist/components/antd/datepicker/OtiDatepicker.d.ts +4 -0
- package/dist/components/antd/datepicker/OtiDatepicker.styled.d.ts +1 -0
- package/dist/components/antd/divider/OdsDivider.d.ts +4 -0
- package/dist/components/antd/divider/OdsDivider.styled.d.ts +2 -0
- package/dist/components/antd/divider/OtiDivider.d.ts +4 -0
- package/dist/components/antd/divider/OtiDivider.styled.d.ts +2 -0
- package/dist/components/antd/form/OdsBasicForm.d.ts +18 -0
- package/dist/components/antd/form/OtiBasicForm.d.ts +18 -0
- package/dist/components/antd/icon/OdsIcon.d.ts +9 -0
- package/dist/components/antd/icon/OtiIcon.d.ts +9 -0
- package/dist/components/antd/image/OdsImage.d.ts +7 -0
- package/dist/components/antd/image/OdsImagePreviewGroup.d.ts +4 -0
- package/dist/components/antd/image/OtiImage.d.ts +7 -0
- package/dist/components/antd/image/OtiImagePreviewGroup.d.ts +4 -0
- package/dist/components/antd/input/OdsInput..d.ts +4 -0
- package/dist/components/antd/input/OdsInput.styled.d.ts +7 -0
- package/dist/components/antd/input/OdsPassword.d.ts +4 -0
- package/dist/components/antd/input/OdsSearch.d.ts +4 -0
- package/dist/components/antd/input/OdsTextArea.d.ts +4 -0
- package/dist/components/antd/input/OtiInput..d.ts +4 -0
- package/dist/components/antd/input/OtiInput.styled.d.ts +7 -0
- package/dist/components/antd/input/OtiPassword.d.ts +4 -0
- package/dist/components/antd/input/OtiSearch.d.ts +4 -0
- package/dist/components/antd/input/OtiTextArea.d.ts +4 -0
- package/dist/components/antd/message/OdsMessage.d.ts +5 -0
- package/dist/components/antd/message/OtiMessage.d.ts +5 -0
- package/dist/components/antd/modal/OdsModal.d.ts +4 -0
- package/dist/components/antd/modal/OtiModal.d.ts +4 -0
- package/dist/components/antd/radio/OdsRadio.d.ts +16 -0
- package/dist/components/antd/radio/OdsRadio.styled.d.ts +5 -0
- package/dist/components/antd/radio/OdsRadioGroup.d.ts +7 -0
- package/dist/components/antd/radio/OtiRadio.d.ts +16 -0
- package/dist/components/antd/radio/OtiRadio.styled.d.ts +5 -0
- package/dist/components/antd/radio/OtiRadioGroup.d.ts +7 -0
- package/dist/components/antd/rate/OdsRate.d.ts +6 -0
- package/dist/components/antd/rate/OdsRate.styled.d.ts +2 -0
- package/dist/components/antd/rate/OtiRate.d.ts +6 -0
- package/dist/components/antd/rate/OtiRate.styled.d.ts +2 -0
- package/dist/components/antd/select/OdsSelect.d.ts +4 -0
- package/dist/components/antd/select/OdsSelect.styled.d.ts +11 -0
- package/dist/components/antd/select/OtiSelect.d.ts +4 -0
- package/dist/components/antd/select/OtiSelect.styled.d.ts +11 -0
- package/dist/components/antd/switch/OdsSwitch.d.ts +4 -0
- package/dist/components/antd/switch/OdsSwitch.styled.d.ts +2 -0
- package/dist/components/antd/switch/OtiSwitch.d.ts +4 -0
- package/dist/components/antd/switch/OtiSwitch.styled.d.ts +2 -0
- package/dist/components/antd/table/OdsTable.d.ts +3 -0
- package/dist/components/antd/table/OdsTable.styled.d.ts +10 -0
- package/dist/components/antd/table/OtiTable.d.ts +3 -0
- package/dist/components/antd/table/OtiTable.styled.d.ts +10 -0
- package/dist/components/antd/timepicker/OdsRangeTimepicker.d.ts +4 -0
- package/dist/components/antd/timepicker/OdsTimepicker.d.ts +4 -0
- package/dist/components/antd/timepicker/OdsTimepicker.styled.d.ts +5 -0
- package/dist/components/antd/timepicker/OtiRangeTimepicker.d.ts +4 -0
- package/dist/components/antd/timepicker/OtiTimepicker.d.ts +4 -0
- package/dist/components/antd/timepicker/OtiTimepicker.styled.d.ts +5 -0
- package/dist/components/devextreme/datagrid/OdsDataGrid.d.ts +22 -0
- package/dist/index.css +9 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -0
- package/dist/index.modern.js +21 -0
- package/dist/index.modern.js.map +1 -0
- package/dist/index.test.d.ts +1 -0
- package/dist/tokens/design-system-dark/build/js/variables.d.ts +233 -0
- package/dist/tokens/design-system-light/build/js/variables.d.ts +335 -0
- package/dist/tokens/theme.d.ts +4 -0
- package/dist/utils/tokenConverter.d.ts +1 -0
- package/package.json +93 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { RadioProps } from 'antd';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @param props
|
|
6
|
+
* checked : boolean
|
|
7
|
+
* defaultChecked : boolean
|
|
8
|
+
* indeterminate : boolean
|
|
9
|
+
* disabled : boolean
|
|
10
|
+
* onChange : (checked: boolean) => void
|
|
11
|
+
* classNames : Semantic DOM class
|
|
12
|
+
* styles : Semantic DOM style
|
|
13
|
+
* @returns antd styled checkbox
|
|
14
|
+
*/
|
|
15
|
+
declare function OdsRadio(props: RadioProps): React.JSX.Element;
|
|
16
|
+
export default OdsRadio;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledRadio: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").RadioProps & import("react").RefAttributes<HTMLElement>> & {
|
|
3
|
+
Group: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("antd").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
4
|
+
Button: import("react").ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & import("react").RefAttributes<any>>;
|
|
5
|
+
}, any, {}, never>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { RadioProps } from 'antd';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @param props
|
|
6
|
+
* checked : boolean
|
|
7
|
+
* defaultChecked : boolean
|
|
8
|
+
* indeterminate : boolean
|
|
9
|
+
* disabled : boolean
|
|
10
|
+
* onChange : (checked: boolean) => void
|
|
11
|
+
* classNames : Semantic DOM class
|
|
12
|
+
* styles : Semantic DOM style
|
|
13
|
+
* @returns antd styled checkbox
|
|
14
|
+
*/
|
|
15
|
+
declare function OdsRadio(props: RadioProps): React.JSX.Element;
|
|
16
|
+
export default OdsRadio;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledRadio: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").RadioProps & import("react").RefAttributes<HTMLElement>> & {
|
|
3
|
+
Group: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("antd").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
4
|
+
Button: import("react").ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & import("react").RefAttributes<any>>;
|
|
5
|
+
}, any, {}, never>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { RateProps } from "antd";
|
|
3
|
+
export declare const customIcons: Record<number, React.ReactNode>;
|
|
4
|
+
export declare const rateTooltipsDesc: string[];
|
|
5
|
+
declare function OdsRate(props: RateProps): import("react").JSX.Element;
|
|
6
|
+
export default OdsRate;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { RateProps } from "antd";
|
|
3
|
+
export declare const customIcons: Record<number, React.ReactNode>;
|
|
4
|
+
export declare const rateTooltipsDesc: string[];
|
|
5
|
+
declare function OdsRate(props: RateProps): import("react").JSX.Element;
|
|
6
|
+
export default OdsRate;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledSelect: import("styled-components").StyledComponent<(<ValueType = any, OptionType extends import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: import("antd").SelectProps<ValueType, OptionType> & {
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
} & {
|
|
5
|
+
ref?: ((instance: import("antd").RefSelectProps | null) => void) | import("react").RefObject<import("antd").RefSelectProps> | null | undefined;
|
|
6
|
+
}) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>) & {
|
|
7
|
+
SECRET_COMBOBOX_MODE_DO_NOT_USE: string;
|
|
8
|
+
Option: import("rc-select/lib/Option").OptionFC;
|
|
9
|
+
OptGroup: import("rc-select/lib/OptGroup").OptionGroupFC;
|
|
10
|
+
_InternalPanelDoNotUseOrYouWillBeFired: any;
|
|
11
|
+
}, any, {}, never>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledSelect: import("styled-components").StyledComponent<(<ValueType = any, OptionType extends import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: import("antd").SelectProps<ValueType, OptionType> & {
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
} & {
|
|
5
|
+
ref?: ((instance: import("antd").RefSelectProps | null) => void) | import("react").RefObject<import("antd").RefSelectProps> | null | undefined;
|
|
6
|
+
}) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>) & {
|
|
7
|
+
SECRET_COMBOBOX_MODE_DO_NOT_USE: string;
|
|
8
|
+
Option: import("rc-select/lib/Option").OptionFC;
|
|
9
|
+
OptGroup: import("rc-select/lib/OptGroup").OptionGroupFC;
|
|
10
|
+
_InternalPanelDoNotUseOrYouWillBeFired: any;
|
|
11
|
+
}, any, {}, never>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const StyledTable: import("styled-components").StyledComponent<import("antd/es/table/interface").RefTable & {
|
|
2
|
+
SELECTION_COLUMN: {};
|
|
3
|
+
EXPAND_COLUMN: {};
|
|
4
|
+
SELECTION_ALL: "SELECT_ALL";
|
|
5
|
+
SELECTION_INVERT: "SELECT_INVERT";
|
|
6
|
+
SELECTION_NONE: "SELECT_NONE";
|
|
7
|
+
Column: typeof import("antd/es/table/Column").default;
|
|
8
|
+
ColumnGroup: typeof import("antd/es/table/ColumnGroup").default;
|
|
9
|
+
Summary: typeof import("rc-table/lib/Footer/Summary").default;
|
|
10
|
+
}, any, {}, never>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const StyledTable: import("styled-components").StyledComponent<import("antd/es/table/interface").RefTable & {
|
|
2
|
+
SELECTION_COLUMN: {};
|
|
3
|
+
EXPAND_COLUMN: {};
|
|
4
|
+
SELECTION_ALL: "SELECT_ALL";
|
|
5
|
+
SELECTION_INVERT: "SELECT_INVERT";
|
|
6
|
+
SELECTION_NONE: "SELECT_NONE";
|
|
7
|
+
Column: typeof import("antd/es/table/Column").default;
|
|
8
|
+
ColumnGroup: typeof import("antd/es/table/ColumnGroup").default;
|
|
9
|
+
Summary: typeof import("rc-table/lib/Footer/Summary").default;
|
|
10
|
+
}, any, {}, never>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledTimepicker: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").TimePickerProps & import("react").RefAttributes<any>> & {
|
|
3
|
+
RangePicker: import("react").ForwardRefExoticComponent<import("antd").TimeRangePickerProps & import("react").RefAttributes<any>>;
|
|
4
|
+
_InternalPanelDoNotUseOrYouWillBeFired: any;
|
|
5
|
+
}, any, {}, never>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledTimepicker: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").TimePickerProps & import("react").RefAttributes<any>> & {
|
|
3
|
+
RangePicker: import("react").ForwardRefExoticComponent<import("antd").TimeRangePickerProps & import("react").RefAttributes<any>>;
|
|
4
|
+
_InternalPanelDoNotUseOrYouWillBeFired: any;
|
|
5
|
+
}, any, {}, never>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import 'devextreme/dist/css/dx.light.css';
|
|
3
|
+
export declare const dummyData: {
|
|
4
|
+
EmployeeID: number;
|
|
5
|
+
FullName: string;
|
|
6
|
+
Position: string;
|
|
7
|
+
TitleOfCourtesy: string;
|
|
8
|
+
BirthDate: string;
|
|
9
|
+
HireDate: string;
|
|
10
|
+
Address: string;
|
|
11
|
+
City: string;
|
|
12
|
+
Region: string;
|
|
13
|
+
PostalCode: string;
|
|
14
|
+
Country: string;
|
|
15
|
+
HomePhone: string;
|
|
16
|
+
Extension: string;
|
|
17
|
+
Photo: string;
|
|
18
|
+
Notes: string;
|
|
19
|
+
ReportsTo: number;
|
|
20
|
+
}[];
|
|
21
|
+
declare function OdsDataGrid(props: any): React.JSX.Element;
|
|
22
|
+
export default OdsDataGrid;
|
package/dist/index.css
ADDED
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
2
|
+
|
|
3
|
+
var React = _interopDefault(require('react'));
|
|
4
|
+
var antd = require('antd');
|
|
5
|
+
var styled = _interopDefault(require('styled-components'));
|
|
6
|
+
|
|
7
|
+
function _taggedTemplateLiteralLoose(strings, raw) {
|
|
8
|
+
if (!raw) {
|
|
9
|
+
raw = strings.slice(0);
|
|
10
|
+
}
|
|
11
|
+
strings.raw = raw;
|
|
12
|
+
return strings;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
var _templateObject;
|
|
16
|
+
var StyledButton = styled(antd.Button)(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n box-shadow: none;\n"])));
|
|
17
|
+
|
|
18
|
+
function OdsButton(props) {
|
|
19
|
+
return React.createElement(React.Fragment, null, React.createElement(StyledButton, Object.assign({}, props), props.children));
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
exports.OdsButton = OdsButton;
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/components/antd/button/OdsButton.styled.tsx","../src/components/antd/button/OdsButton.tsx"],"sourcesContent":["import {Button} from 'antd';\r\n\r\nimport styled from 'styled-components';\r\n\r\nexport const StyledButton = styled(Button)`\r\n box-shadow: none;\r\n`;\r\n","\r\n\r\nimport { BaseButtonProps } from 'antd/es/button/button';\r\nimport React from 'react';\r\nimport { StyledButton } from './OdsButton.styled';\r\n\r\n\r\n/**\r\n * \r\n * @param props \r\n * block : boolean\r\n * type : primary | ghost | dashed | link | text | default\r\n * size : large | middle | small\r\n * shape : default | circle | round\r\n * loading : boolean | {delay:number}\r\n * icon : ReactNode\r\n * htmlType : button \r\n * diabled : boolean\r\n * classNames : Semantic DOM class\r\n * styles : Semantic DOM style \r\n * onClick : (checked: boolean) => void\r\n * @returns antd styled button\r\n */\r\n\r\nexport interface IButtonProps extends BaseButtonProps{\r\n onClick?: React.MouseEventHandler<HTMLElement>;\r\n htmlType?: string;\r\n}\r\n\r\nfunction OdsButton(props:any){\r\n \r\n\r\n \r\n return(\r\n <React.Fragment>\r\n \r\n <StyledButton {...props} >{props.children}</StyledButton>\r\n \r\n </React.Fragment>\r\n )\r\n}\r\n\r\nexport default OdsButton;"],"names":["StyledButton","styled","Button","_templateObject","_taggedTemplateLiteralLoose","OdsButton","props","React","Fragment","children"],"mappings":";;;;;;;;;;;;;;;AAIO,IAAMA,YAAY,GAAGC,MAAM,CAACC,WAAM,CAAC,CAAAC,eAAA,KAAAA,eAAA,GAAAC,2BAAA,+BAEzC;;ACuBD,SAASC,SAASA,CAACC,KAAS;EAIxB,OACIC,oBAACA,KAAK,CAACC,QAAQ,QAEXD,oBAACP,YAAY,oBAAKM,KAAK,GAAIA,KAAK,CAACG,QAAQ,CAAgB,CAE5C;AAEzB;;;;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Button } from 'antd';
|
|
3
|
+
import styled from 'styled-components';
|
|
4
|
+
|
|
5
|
+
function _taggedTemplateLiteralLoose(strings, raw) {
|
|
6
|
+
if (!raw) {
|
|
7
|
+
raw = strings.slice(0);
|
|
8
|
+
}
|
|
9
|
+
strings.raw = raw;
|
|
10
|
+
return strings;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
var _templateObject;
|
|
14
|
+
var StyledButton = styled(Button)(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n box-shadow: none;\n"])));
|
|
15
|
+
|
|
16
|
+
function OdsButton(props) {
|
|
17
|
+
return React.createElement(React.Fragment, null, React.createElement(StyledButton, Object.assign({}, props), props.children));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { OdsButton };
|
|
21
|
+
//# sourceMappingURL=index.modern.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.modern.js","sources":["../src/components/antd/button/OdsButton.styled.tsx","../src/components/antd/button/OdsButton.tsx"],"sourcesContent":["import {Button} from 'antd';\r\n\r\nimport styled from 'styled-components';\r\n\r\nexport const StyledButton = styled(Button)`\r\n box-shadow: none;\r\n`;\r\n","\r\n\r\nimport { BaseButtonProps } from 'antd/es/button/button';\r\nimport React from 'react';\r\nimport { StyledButton } from './OdsButton.styled';\r\n\r\n\r\n/**\r\n * \r\n * @param props \r\n * block : boolean\r\n * type : primary | ghost | dashed | link | text | default\r\n * size : large | middle | small\r\n * shape : default | circle | round\r\n * loading : boolean | {delay:number}\r\n * icon : ReactNode\r\n * htmlType : button \r\n * diabled : boolean\r\n * classNames : Semantic DOM class\r\n * styles : Semantic DOM style \r\n * onClick : (checked: boolean) => void\r\n * @returns antd styled button\r\n */\r\n\r\nexport interface IButtonProps extends BaseButtonProps{\r\n onClick?: React.MouseEventHandler<HTMLElement>;\r\n htmlType?: string;\r\n}\r\n\r\nfunction OdsButton(props:any){\r\n \r\n\r\n \r\n return(\r\n <React.Fragment>\r\n \r\n <StyledButton {...props} >{props.children}</StyledButton>\r\n \r\n </React.Fragment>\r\n )\r\n}\r\n\r\nexport default OdsButton;"],"names":["StyledButton","styled","Button","_templateObject","_taggedTemplateLiteralLoose","OdsButton","props","React","Fragment","children"],"mappings":";;;;;;;;;;;;;AAIO,IAAMA,YAAY,GAAGC,MAAM,CAACC,MAAM,CAAC,CAAAC,eAAA,KAAAA,eAAA,GAAAC,2BAAA,+BAEzC;;ACuBD,SAASC,SAASA,CAACC,KAAS;EAIxB,OACIC,oBAACA,KAAK,CAACC,QAAQ,QAEXD,oBAACP,YAAY,oBAAKM,KAAK,GAAIA,KAAK,CAACG,QAAQ,CAAgB,CAE5C;AAEzB;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Tue, 06 Jun 2023 08:22:15 GMT
|
|
4
|
+
*/
|
|
5
|
+
export declare const darkTheme: {
|
|
6
|
+
token: {
|
|
7
|
+
blue1: string;
|
|
8
|
+
blue2: string;
|
|
9
|
+
blue3: string;
|
|
10
|
+
blue4: string;
|
|
11
|
+
blue5: string;
|
|
12
|
+
blue6: string;
|
|
13
|
+
blue7: string;
|
|
14
|
+
blue8: string;
|
|
15
|
+
blue9: string;
|
|
16
|
+
blue10: string;
|
|
17
|
+
purple1: string;
|
|
18
|
+
purple2: string;
|
|
19
|
+
purple3: string;
|
|
20
|
+
purple4: string;
|
|
21
|
+
purple5: string;
|
|
22
|
+
purple6: string;
|
|
23
|
+
purple7: string;
|
|
24
|
+
purple8: string;
|
|
25
|
+
purple9: string;
|
|
26
|
+
purple10: string;
|
|
27
|
+
cyan1: string;
|
|
28
|
+
cyan2: string;
|
|
29
|
+
cyan3: string;
|
|
30
|
+
cyan4: string;
|
|
31
|
+
cyan5: string;
|
|
32
|
+
cyan6: string;
|
|
33
|
+
cyan7: string;
|
|
34
|
+
cyan8: string;
|
|
35
|
+
cyan9: string;
|
|
36
|
+
cyan10: string;
|
|
37
|
+
green1: string;
|
|
38
|
+
green2: string;
|
|
39
|
+
green3: string;
|
|
40
|
+
green4: string;
|
|
41
|
+
green5: string;
|
|
42
|
+
green6: string;
|
|
43
|
+
green7: string;
|
|
44
|
+
green8: string;
|
|
45
|
+
green9: string;
|
|
46
|
+
green10: string;
|
|
47
|
+
magenta1: string;
|
|
48
|
+
magenta2: string;
|
|
49
|
+
magenta3: string;
|
|
50
|
+
magenta4: string;
|
|
51
|
+
magenta5: string;
|
|
52
|
+
magenta6: string;
|
|
53
|
+
magenta7: string;
|
|
54
|
+
magenta8: string;
|
|
55
|
+
magenta9: string;
|
|
56
|
+
magenta10: string;
|
|
57
|
+
red1: string;
|
|
58
|
+
red2: string;
|
|
59
|
+
red3: string;
|
|
60
|
+
red4: string;
|
|
61
|
+
red5: string;
|
|
62
|
+
red6: string;
|
|
63
|
+
red7: string;
|
|
64
|
+
red8: string;
|
|
65
|
+
red9: string;
|
|
66
|
+
red10: string;
|
|
67
|
+
orange1: string;
|
|
68
|
+
orange2: string;
|
|
69
|
+
orange3: string;
|
|
70
|
+
orange4: string;
|
|
71
|
+
orange5: string;
|
|
72
|
+
orange6: string;
|
|
73
|
+
orange7: string;
|
|
74
|
+
orange8: string;
|
|
75
|
+
orange9: string;
|
|
76
|
+
orange10: string;
|
|
77
|
+
yellow1: string;
|
|
78
|
+
yellow2: string;
|
|
79
|
+
yellow3: string;
|
|
80
|
+
yellow4: string;
|
|
81
|
+
yellow5: string;
|
|
82
|
+
yellow6: string;
|
|
83
|
+
yellow7: string;
|
|
84
|
+
yellow8: string;
|
|
85
|
+
yellow9: string;
|
|
86
|
+
yellow10: string;
|
|
87
|
+
volcano1: string;
|
|
88
|
+
volcano2: string;
|
|
89
|
+
volcano3: string;
|
|
90
|
+
volcano4: string;
|
|
91
|
+
volcano5: string;
|
|
92
|
+
volcano6: string;
|
|
93
|
+
volcano7: string;
|
|
94
|
+
volcano8: string;
|
|
95
|
+
volcano9: string;
|
|
96
|
+
volcano10: string;
|
|
97
|
+
geekblue1: string;
|
|
98
|
+
geekblue2: string;
|
|
99
|
+
geekblue3: string;
|
|
100
|
+
geekblue4: string;
|
|
101
|
+
geekblue5: string;
|
|
102
|
+
geekblue6: string;
|
|
103
|
+
geekblue7: string;
|
|
104
|
+
geekblue8: string;
|
|
105
|
+
geekblue9: string;
|
|
106
|
+
geekblue10: string;
|
|
107
|
+
lime1: string;
|
|
108
|
+
lime2: string;
|
|
109
|
+
lime3: string;
|
|
110
|
+
lime4: string;
|
|
111
|
+
lime5: string;
|
|
112
|
+
lime6: string;
|
|
113
|
+
lime7: string;
|
|
114
|
+
lime8: string;
|
|
115
|
+
lime9: string;
|
|
116
|
+
lime10: string;
|
|
117
|
+
gold1: string;
|
|
118
|
+
gold2: string;
|
|
119
|
+
gold3: string;
|
|
120
|
+
gold4: string;
|
|
121
|
+
gold5: string;
|
|
122
|
+
gold6: string;
|
|
123
|
+
gold7: string;
|
|
124
|
+
gold8: string;
|
|
125
|
+
gold9: string;
|
|
126
|
+
gold10: string;
|
|
127
|
+
colorTextBase: string;
|
|
128
|
+
colorBgBase: string;
|
|
129
|
+
colorTextLightSolid: string;
|
|
130
|
+
colorError: string;
|
|
131
|
+
colorWarning: string;
|
|
132
|
+
colorSuccess: string;
|
|
133
|
+
colorInfo: string;
|
|
134
|
+
colorText: string;
|
|
135
|
+
colorTextSecondary: string;
|
|
136
|
+
colorTextTertiary: string;
|
|
137
|
+
colorTextQuaternary: string;
|
|
138
|
+
colorFill: string;
|
|
139
|
+
colorFillSecondary: string;
|
|
140
|
+
colorFillTertiary: string;
|
|
141
|
+
colorBgContainer: string;
|
|
142
|
+
colorFillQuaternary: string;
|
|
143
|
+
colorBgLayout: string;
|
|
144
|
+
colorBgElevated: string;
|
|
145
|
+
colorBgSpotlight: string;
|
|
146
|
+
colorBorder: string;
|
|
147
|
+
colorBorderSecondary: string;
|
|
148
|
+
colorSplit: string;
|
|
149
|
+
colorPrimary: string;
|
|
150
|
+
colorPrimaryBg: string;
|
|
151
|
+
colorPrimaryBgHover: string;
|
|
152
|
+
colorPrimaryBorder: string;
|
|
153
|
+
colorPrimaryBorderHover: string;
|
|
154
|
+
colorPrimaryHover: string;
|
|
155
|
+
colorPrimaryBase: string;
|
|
156
|
+
colorPrimaryActive: string;
|
|
157
|
+
colorPrimaryTextHover: string;
|
|
158
|
+
colorPrimaryText: string;
|
|
159
|
+
colorPrimaryTextActive: string;
|
|
160
|
+
colorSuccessBg: string;
|
|
161
|
+
colorSuccessBgHover: string;
|
|
162
|
+
colorSuccessBorder: string;
|
|
163
|
+
colorSuccessBorderHover: string;
|
|
164
|
+
colorSuccessHover: string;
|
|
165
|
+
colorSuccessBase: string;
|
|
166
|
+
colorSuccessActive: string;
|
|
167
|
+
colorSuccessTextHover: string;
|
|
168
|
+
colorSuccessText: string;
|
|
169
|
+
colorSuccessTextActive: string;
|
|
170
|
+
colorWarningBg: string;
|
|
171
|
+
colorWarningBgHover: string;
|
|
172
|
+
colorWarningBorder: string;
|
|
173
|
+
colorWarningBorderHover: string;
|
|
174
|
+
colorWarningHover: string;
|
|
175
|
+
colorWarningBase: string;
|
|
176
|
+
colorWarningActive: string;
|
|
177
|
+
colorWarningTextHover: string;
|
|
178
|
+
colorWarningText: string;
|
|
179
|
+
colorWarningTextActive: string;
|
|
180
|
+
colorErrorBg: string;
|
|
181
|
+
colorErrorBgHover: string;
|
|
182
|
+
colorErrorBorder: string;
|
|
183
|
+
colorErrorBorderHover: string;
|
|
184
|
+
colorErrorHover: string;
|
|
185
|
+
colorErrorBase: string;
|
|
186
|
+
colorErrorActive: string;
|
|
187
|
+
colorErrorTextHover: string;
|
|
188
|
+
colorErrorText: string;
|
|
189
|
+
colorErrorTextActive: string;
|
|
190
|
+
colorInfoBg: string;
|
|
191
|
+
colorInfoBgHover: string;
|
|
192
|
+
colorInfoBorder: string;
|
|
193
|
+
colorInfoBorderHover: string;
|
|
194
|
+
colorInfoHover: string;
|
|
195
|
+
colorInfoBase: string;
|
|
196
|
+
colorInfoActive: string;
|
|
197
|
+
colorInfoTextHover: string;
|
|
198
|
+
colorInfoText: string;
|
|
199
|
+
colorInfoTextActive: string;
|
|
200
|
+
colorBgMask: string;
|
|
201
|
+
colorFillContent: string;
|
|
202
|
+
colorFillContentHover: string;
|
|
203
|
+
colorFillAlter: string;
|
|
204
|
+
colorBgContainerDisabled: string;
|
|
205
|
+
colorBorderBg: string;
|
|
206
|
+
colorTextPlaceholder: string;
|
|
207
|
+
colorTextDisabled: string;
|
|
208
|
+
colorTextHeading: string;
|
|
209
|
+
colorTextLabel: string;
|
|
210
|
+
colorTextDescription: string;
|
|
211
|
+
colorBgTextHover: string;
|
|
212
|
+
colorBgTextActive: string;
|
|
213
|
+
colorIcon: string;
|
|
214
|
+
colorIconHover: string;
|
|
215
|
+
colorLink: string;
|
|
216
|
+
colorLinkHover: string;
|
|
217
|
+
colorLinkActive: string;
|
|
218
|
+
colorHighlight: string;
|
|
219
|
+
controlOutline: string;
|
|
220
|
+
colorWarningOutline: string;
|
|
221
|
+
colorErrorOutline: string;
|
|
222
|
+
controlItemBgHover: string;
|
|
223
|
+
controlItemBgActive: string;
|
|
224
|
+
controlItemBgActiveHover: string;
|
|
225
|
+
controlItemBgActiveDisabled: string;
|
|
226
|
+
controlTmpOutline: string;
|
|
227
|
+
colorItemText: string;
|
|
228
|
+
colorItemTextDisabled: string;
|
|
229
|
+
tooltipBg: string;
|
|
230
|
+
segmentedBgColorSelected: string;
|
|
231
|
+
segmentedGroupBg: string;
|
|
232
|
+
};
|
|
233
|
+
};
|