@aveonline/ui-react 1.19.5 → 1.19.6
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 +126 -126
- package/dist/components/molecules/CardHistory/CardHistory.d.ts +1 -1
- package/dist/components/molecules/CardHistory/ICardHistory.d.ts +8 -6
- package/dist/components/molecules/DateInputPicker/Atoms/PluginEspecialDates.d.ts +1 -1
- package/dist/components/molecules/DateInputPicker/IDateInputPicker.d.ts +2 -0
- package/dist/components/molecules/Selectable/select.d.ts +27 -0
- package/dist/components/molecules/Table/ITable.d.ts +6 -1
- package/dist/components/molecules/Table/Table.d.ts +1 -1
- package/dist/components/molecules/Table/atoms/IPagination.d.ts +8 -4
- package/dist/components/molecules/Table/atoms/Pagination.d.ts +2 -1
- package/dist/index.css +1 -1
- package/dist/reset.css +273 -273
- package/dist/tailwind.config.js +242 -242
- package/dist/tailwind.css +1 -1
- package/dist/tokens.css +160 -160
- package/dist/ui-react.mjs +6045 -5954
- package/dist/ui-react.umd.js +83 -83
- package/dist/vite-env.d.ts +2 -2
- package/package.json +111 -111
package/README.md
CHANGED
|
@@ -1,126 +1,126 @@
|
|
|
1
|
-
<div align="center">
|
|
2
|
-
<img height="100" src="https://user-images.githubusercontent.com/38017835/197309416-fd4390a0-cfb6-41f3-ac26-10d067d92a25.png">
|
|
3
|
-
<h1 align="center">ui ecosystem react</h1>
|
|
4
|
-
<p>The home base for Aveonline design system, ui-react provides essential design resources for our developers to use in the Aveonline-branded interfaces that they create.</p>
|
|
5
|
-
<a href="https://ui-aveonline.netlify.app/">Go Storybook</a>
|
|
6
|
-
</div>
|
|
7
|
-
|
|
8
|
-
## Before started
|
|
9
|
-
|
|
10
|
-
For usage with tailwind config, install:
|
|
11
|
-
|
|
12
|
-
```shell
|
|
13
|
-
npm i @tailwindcss/forms -D
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Getting started
|
|
17
|
-
|
|
18
|
-
Working with all config from this library or only components availables
|
|
19
|
-
|
|
20
|
-
```shell
|
|
21
|
-
npm i @aveonline/ui-react
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Usage with tailwind
|
|
25
|
-
|
|
26
|
-
Import things into your JS app from the `@aveonline/ui-react` package.
|
|
27
|
-
|
|
28
|
-
```ts
|
|
29
|
-
import { Button } from '@aveonline/ui-react'
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
`tailwind.config.js`
|
|
33
|
-
|
|
34
|
-
```ts
|
|
35
|
-
/** @type {import('tailwindcss').Config} */
|
|
36
|
-
|
|
37
|
-
const tailwindConfig = require('@aveonline/ui-react/tailwind.config.js')
|
|
38
|
-
const { content, ...all } = tailwindConfig
|
|
39
|
-
|
|
40
|
-
const config = {
|
|
41
|
-
content: [
|
|
42
|
-
...content,
|
|
43
|
-
'./pages/**/*.{ts,tsx}',
|
|
44
|
-
'./components/**/*.{ts,tsx}',
|
|
45
|
-
'./node_modules/@aveonline/ui-react/dist/*.{mjs,js}'
|
|
46
|
-
],
|
|
47
|
-
...all
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
module.exports = config
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
## Usage css
|
|
54
|
-
|
|
55
|
-
Import things into your JS app from the `@aveonline/ui-react` package.
|
|
56
|
-
|
|
57
|
-
```css
|
|
58
|
-
/* global.css or tailwind.css local */
|
|
59
|
-
@tailwind base;
|
|
60
|
-
@tailwind components;
|
|
61
|
-
@tailwind utilities;
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
```ts
|
|
65
|
-
// import this lines at main.ts or root
|
|
66
|
-
import './global.css' // Reference tailwind local
|
|
67
|
-
import '@aveonline/ui-react/reset.css' // Only not usage tailwind
|
|
68
|
-
import '@aveonline/ui-react/tokens.css' // Required
|
|
69
|
-
import '@aveonline/ui-react/tailwind.css' // Required
|
|
70
|
-
import '@aveonline/ui-react/index.css' // Required
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
## Example usage
|
|
74
|
-
|
|
75
|
-
```html
|
|
76
|
-
<!-- Class from library -->
|
|
77
|
-
<div class="bg-letter-default">
|
|
78
|
-
<p class="text-letter-subdued">Hello human</p>
|
|
79
|
-
</div>
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
## Developing @aveonline/ui-react
|
|
83
|
-
|
|
84
|
-
Developing locally against Storybook is easy; run `npm run storybook`.
|
|
85
|
-
|
|
86
|
-
```shell
|
|
87
|
-
npm i
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
Tests
|
|
91
|
-
|
|
92
|
-
Run `npm run test` to execute all unit test components.
|
|
93
|
-
|
|
94
|
-
We use `vitest` and `testing-library/react` for unit/integration tests and [Chromatic](https://www.chromaticqa.com/) for visual regression testing.
|
|
95
|
-
|
|
96
|
-
Open Storybook
|
|
97
|
-
|
|
98
|
-
```shell
|
|
99
|
-
npm run dev
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
ui-react production
|
|
103
|
-
|
|
104
|
-
```shell
|
|
105
|
-
npm run build
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
Storybook production
|
|
109
|
-
|
|
110
|
-
```shell
|
|
111
|
-
npm run build:storybook
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
Run test
|
|
115
|
-
|
|
116
|
-
```shell
|
|
117
|
-
npm run test
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
Run regression testing
|
|
121
|
-
|
|
122
|
-
- [Join](https://www.chromatic.com/library?appId=6362f0c0f36774d17ed0c3a0&inviteToken=4adce6358a9b439f8b636d0599e6db4b)
|
|
123
|
-
|
|
124
|
-
```shell
|
|
125
|
-
npm run chromatic
|
|
126
|
-
```
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img height="100" src="https://user-images.githubusercontent.com/38017835/197309416-fd4390a0-cfb6-41f3-ac26-10d067d92a25.png">
|
|
3
|
+
<h1 align="center">ui ecosystem react</h1>
|
|
4
|
+
<p>The home base for Aveonline design system, ui-react provides essential design resources for our developers to use in the Aveonline-branded interfaces that they create.</p>
|
|
5
|
+
<a href="https://ui-aveonline.netlify.app/">Go Storybook</a>
|
|
6
|
+
</div>
|
|
7
|
+
|
|
8
|
+
## Before started
|
|
9
|
+
|
|
10
|
+
For usage with tailwind config, install:
|
|
11
|
+
|
|
12
|
+
```shell
|
|
13
|
+
npm i @tailwindcss/forms -D
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Getting started
|
|
17
|
+
|
|
18
|
+
Working with all config from this library or only components availables
|
|
19
|
+
|
|
20
|
+
```shell
|
|
21
|
+
npm i @aveonline/ui-react
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Usage with tailwind
|
|
25
|
+
|
|
26
|
+
Import things into your JS app from the `@aveonline/ui-react` package.
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
import { Button } from '@aveonline/ui-react'
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
`tailwind.config.js`
|
|
33
|
+
|
|
34
|
+
```ts
|
|
35
|
+
/** @type {import('tailwindcss').Config} */
|
|
36
|
+
|
|
37
|
+
const tailwindConfig = require('@aveonline/ui-react/tailwind.config.js')
|
|
38
|
+
const { content, ...all } = tailwindConfig
|
|
39
|
+
|
|
40
|
+
const config = {
|
|
41
|
+
content: [
|
|
42
|
+
...content,
|
|
43
|
+
'./pages/**/*.{ts,tsx}',
|
|
44
|
+
'./components/**/*.{ts,tsx}',
|
|
45
|
+
'./node_modules/@aveonline/ui-react/dist/*.{mjs,js}'
|
|
46
|
+
],
|
|
47
|
+
...all
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
module.exports = config
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Usage css
|
|
54
|
+
|
|
55
|
+
Import things into your JS app from the `@aveonline/ui-react` package.
|
|
56
|
+
|
|
57
|
+
```css
|
|
58
|
+
/* global.css or tailwind.css local */
|
|
59
|
+
@tailwind base;
|
|
60
|
+
@tailwind components;
|
|
61
|
+
@tailwind utilities;
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
```ts
|
|
65
|
+
// import this lines at main.ts or root
|
|
66
|
+
import './global.css' // Reference tailwind local
|
|
67
|
+
import '@aveonline/ui-react/reset.css' // Only not usage tailwind
|
|
68
|
+
import '@aveonline/ui-react/tokens.css' // Required
|
|
69
|
+
import '@aveonline/ui-react/tailwind.css' // Required
|
|
70
|
+
import '@aveonline/ui-react/index.css' // Required
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Example usage
|
|
74
|
+
|
|
75
|
+
```html
|
|
76
|
+
<!-- Class from library -->
|
|
77
|
+
<div class="bg-letter-default">
|
|
78
|
+
<p class="text-letter-subdued">Hello human</p>
|
|
79
|
+
</div>
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Developing @aveonline/ui-react
|
|
83
|
+
|
|
84
|
+
Developing locally against Storybook is easy; run `npm run storybook`.
|
|
85
|
+
|
|
86
|
+
```shell
|
|
87
|
+
npm i
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Tests
|
|
91
|
+
|
|
92
|
+
Run `npm run test` to execute all unit test components.
|
|
93
|
+
|
|
94
|
+
We use `vitest` and `testing-library/react` for unit/integration tests and [Chromatic](https://www.chromaticqa.com/) for visual regression testing.
|
|
95
|
+
|
|
96
|
+
Open Storybook
|
|
97
|
+
|
|
98
|
+
```shell
|
|
99
|
+
npm run dev
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
ui-react production
|
|
103
|
+
|
|
104
|
+
```shell
|
|
105
|
+
npm run build
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
Storybook production
|
|
109
|
+
|
|
110
|
+
```shell
|
|
111
|
+
npm run build:storybook
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Run test
|
|
115
|
+
|
|
116
|
+
```shell
|
|
117
|
+
npm run test
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Run regression testing
|
|
121
|
+
|
|
122
|
+
- [Join](https://www.chromatic.com/library?appId=6362f0c0f36774d17ed0c3a0&inviteToken=4adce6358a9b439f8b636d0599e6db4b)
|
|
123
|
+
|
|
124
|
+
```shell
|
|
125
|
+
npm run chromatic
|
|
126
|
+
```
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ICardHistory } from './ICardHistory';
|
|
3
|
-
declare function CardHistory({ description, date, hour, badge, state, size, variant, dropdown, children }: ICardHistory): JSX.Element;
|
|
3
|
+
declare function CardHistory({ description, date, dimension, hour, badge, state, size, variant, dropdown, children }: ICardHistory): JSX.Element;
|
|
4
4
|
export default CardHistory;
|
|
@@ -1,20 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { IChildren } from '../../../types';
|
|
2
3
|
import { IBadge } from '../..';
|
|
3
4
|
interface IDropdownCardHistory extends IChildren {
|
|
4
5
|
isActive?: boolean;
|
|
5
|
-
title?: string;
|
|
6
|
-
description?: string;
|
|
6
|
+
title?: JSX.Element | string;
|
|
7
|
+
description?: JSX.Element | string;
|
|
7
8
|
}
|
|
8
9
|
interface ICardHistory extends IChildren {
|
|
9
|
-
description?: string;
|
|
10
|
-
date?: string;
|
|
11
|
-
hour?: string;
|
|
10
|
+
description?: JSX.Element | string;
|
|
11
|
+
date?: JSX.Element | string;
|
|
12
|
+
hour?: JSX.Element | string;
|
|
12
13
|
badge?: Omit<IBadge, 'children'> & {
|
|
13
|
-
title?: string;
|
|
14
|
+
title?: string | JSX.Element;
|
|
14
15
|
};
|
|
15
16
|
size?: 'sm' | 'md';
|
|
16
17
|
state?: 'active' | 'default';
|
|
17
18
|
variant?: 'default' | 'critical';
|
|
18
19
|
dropdown?: IDropdownCardHistory;
|
|
20
|
+
dimension?: 'sm' | 'md' | 'lg' | 'xl';
|
|
19
21
|
}
|
|
20
22
|
export type { ICardHistory, IDropdownCardHistory };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IPluginEspecialDates } from '../IDateInputPicker';
|
|
3
|
-
declare function MyPlugin({ functionCumpustonPlugin, initialValue }: IPluginEspecialDates): JSX.Element;
|
|
3
|
+
declare function MyPlugin({ functionCumpustonPlugin, initialValue, isMobile }: IPluginEspecialDates): JSX.Element;
|
|
4
4
|
export default MyPlugin;
|
|
@@ -37,6 +37,8 @@ interface ICustomRangeInput {
|
|
|
37
37
|
interface IPluginEspecialDates {
|
|
38
38
|
functionCumpustonPlugin: (value: string | null, setValuesInput: Array<string> | Array<DateObject> | null) => void;
|
|
39
39
|
initialValue: string | null;
|
|
40
|
+
position?: string;
|
|
41
|
+
isMobile?: boolean;
|
|
40
42
|
}
|
|
41
43
|
interface IItemSpecialDates {
|
|
42
44
|
name: string;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { GroupBase } from 'react-select'
|
|
2
|
+
import { IOptionSelectButton, ITooltipSelect } from '../..'
|
|
3
|
+
|
|
4
|
+
declare module 'react-select/dist/declarations/src/Select' {
|
|
5
|
+
export interface Props<
|
|
6
|
+
Option,
|
|
7
|
+
IsMulti extends boolean,
|
|
8
|
+
Group extends GroupBase<Option>
|
|
9
|
+
> {
|
|
10
|
+
/**
|
|
11
|
+
* Our prop for control icon tooltip inside component atom Control
|
|
12
|
+
*/
|
|
13
|
+
iconTooltip?: ITooltipSelect
|
|
14
|
+
/**
|
|
15
|
+
* Our prop for control click first element - SelectButton
|
|
16
|
+
*/
|
|
17
|
+
addButton?: ((value: IOptionSelectButton) => void) | undefined
|
|
18
|
+
/**
|
|
19
|
+
* Our prop for verify inside atom SingleValue show ui
|
|
20
|
+
*/
|
|
21
|
+
hasLabelPlaceholder?: boolean
|
|
22
|
+
/**
|
|
23
|
+
* Our prop for verify dropdown indicator - default true
|
|
24
|
+
*/
|
|
25
|
+
isActiveDropdownIndicator?: boolean
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -22,7 +22,12 @@ interface IPropsTable<T> {
|
|
|
22
22
|
classNameContainerTable?: string;
|
|
23
23
|
classNameContainer?: string;
|
|
24
24
|
emptyDataTable?: IEmptyState;
|
|
25
|
-
valueRow?: (value:
|
|
25
|
+
valueRow?: (value: object) => void;
|
|
26
|
+
totalRows?: {
|
|
27
|
+
id: string;
|
|
28
|
+
text: string;
|
|
29
|
+
}[];
|
|
30
|
+
isLoading?: boolean;
|
|
26
31
|
}
|
|
27
32
|
declare type IEmptyState = {
|
|
28
33
|
title: string;
|
|
@@ -6,5 +6,5 @@ import { IPropsTable } from './ITable';
|
|
|
6
6
|
* part of data set, a data table lets merchants view details from the entire set. This helps merchants compare and
|
|
7
7
|
* analyze the data.
|
|
8
8
|
*/
|
|
9
|
-
declare function Table<T>({ searchFilter, defaultData, columns, placeholder, hasPagination, paginationOptionList, sortTable, sortItem, rowItemSelected, optionDropdown, stateEmpty, titleSortTable, classNameContainer, classNameContainerTable, classNameTable, emptyDataTable, valueRow }: IPropsTable<T>): JSX.Element;
|
|
9
|
+
declare function Table<T>({ searchFilter, defaultData, columns, placeholder, hasPagination, paginationOptionList, sortTable, sortItem, rowItemSelected, optionDropdown, stateEmpty, titleSortTable, classNameContainer, classNameContainerTable, classNameTable, emptyDataTable, valueRow, totalRows, isLoading }: IPropsTable<T>): JSX.Element;
|
|
10
10
|
export default Table;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
import { RowData, Table } from '@tanstack/react-table';
|
|
2
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
3
|
+
interface IPagination<T extends RowData> {
|
|
2
4
|
pageIndex: number;
|
|
3
5
|
getPageCount: number;
|
|
4
6
|
pageSize: number;
|
|
5
7
|
setPageSize: (value: number) => void;
|
|
6
|
-
previousPage: () => void;
|
|
7
8
|
getCanPreviousPage: boolean;
|
|
8
|
-
nextPage: () => void;
|
|
9
9
|
getCanNextPage: boolean;
|
|
10
10
|
paginationOptionList?: Array<number>;
|
|
11
|
-
|
|
11
|
+
table: Table<T>;
|
|
12
|
+
actualPage: number;
|
|
13
|
+
setActualPage: Dispatch<SetStateAction<number>>;
|
|
14
|
+
isMobile: boolean;
|
|
15
|
+
}
|
|
12
16
|
export type { IPagination };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { RowData } from '@tanstack/react-table';
|
|
2
3
|
import type { IPagination } from './IPagination';
|
|
3
|
-
declare function Pagination({ pageIndex, getPageCount, pageSize, setPageSize,
|
|
4
|
+
declare function Pagination<T extends RowData>({ pageIndex, getPageCount, pageSize, setPageSize, getCanPreviousPage, getCanNextPage, paginationOptionList, table, actualPage, setActualPage, isMobile }: IPagination<T>): JSX.Element;
|
|
4
5
|
export default Pagination;
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[type=radio]:checked{background-image:url("data:image/svg+xml;utf8,%3Csvg%20viewBox%3D'0%200%2016%2016'%20fill%3D'%232C6ECB'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Ccircle%20cx%3D'8'%20cy%3D'8'%20r%3D'4'%2F%3E%3C%2Fsvg%3E")}[type=radio]:checked:disabled{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}[type=checkbox]:checked:disabled{background-image:url("data:image/svg+xml;utf8, %3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20width%3D%2220%22%20height%3D%2220%22%20rx%3D%224%22%20fill%3D%22white%22%20fill-opacity%3D%220.01%22%2F%3E%0A%3Cg%20clip-path%3D%22url(%23clip0_1575_10817)%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M14.72%206.23998C14.8872%206.4057%2014.9862%206.62814%2014.9973%206.8633C15.0084%207.09847%2014.9309%207.32924%2014.78%207.50998L9.41%2013.71C9.33315%2013.797%209.23949%2013.8675%209.13466%2013.9174C9.02982%2013.9672%208.91598%2013.9953%208.8%2014C8.68415%2014.0029%208.56899%2013.9813%208.46213%2013.9364C8.35526%2013.8916%208.2591%2013.8247%208.18%2013.74L5.25%2010.64C5.10033%2010.4603%205.01837%2010.2338%205.01837%209.99998C5.01837%209.76613%205.10033%209.53967%205.25%209.35998C5.32761%209.27734%205.42134%209.21148%205.52539%209.16646C5.62945%209.12143%205.74162%209.09821%205.855%209.09821C5.96837%209.09821%206.08055%209.12143%206.1846%209.16646C6.28865%209.21148%206.38238%209.27734%206.46%209.35998L8.75%2011.79L13.52%206.28998C13.5932%206.20432%2013.6834%206.13468%2013.7847%206.0854C13.8861%206.03613%2013.9965%206.00827%2014.1091%206.00358C14.2217%205.99889%2014.3341%206.01746%2014.4392%206.05813C14.5443%206.09881%2014.6399%206.16071%2014.72%206.23998V6.23998Z%22%20fill%3D%22%23D6D6D6%22%2F%3E%0A%3C%2Fg%3E%0A%3Cdefs%3E%0A%3CclipPath%20id%3D%22clip0_1575_10817%22%3E%0A%3Crect%20width%3D%2210%22%20height%3D%2210%22%20fill%3D%22white%22%20transform%3D%22translate(5%205)%22%2F%3E%0A%3C%2FclipPath%3E%0A%3C%2Fdefs%3E%0A%3C%2Fsvg%3E%0A%0A")}.ui__spinner{animation:ui__spinner_rotation 1.5s linear infinite}@keyframes ui__spinner_rotation{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.table--tbody tr:first-child>td{border-color:transparent!important}.table--tbody tr:last-child td:first-child{border-radius:0 0 0 10px}.table--tbody tr:last-child td:last-child{border-radius:0 0 10px}.scrollStyle-scrollbar-customized-scrollbar::-webkit-scrollbar{background-color:#fff!important;height:8px!important;width:5px!important}.scrollStyle-scrollbar-customized-scrollbar::-webkit-scrollbar-thumb{background:gray!important}.rmdp-day{color:#4a4f54!important}.rmdp-day.rmdp-range.start{background:#007aff!important;border:transparent!important;color:#fff!important}.rmdp-range{background-color:#ddeaf7!important;border:transparent!important;box-shadow:none!important;color:#4a4f54!important}.rmdp-day.rmdp-range.end{background:#007aff!important;border:transparent!important;color:#fff!important}.rmdp-week-day{color:#797c81!important}.rmdp-day.rmdp-selected span:not(.highlight){border-radius:4px!important}.rmdp-day.rmdp-today span{background-color:var(--colors-action-primary-pressed)!important}
|
|
1
|
+
[type=radio]:checked{background-image:url("data:image/svg+xml;utf8,%3Csvg%20viewBox%3D'0%200%2016%2016'%20fill%3D'%232C6ECB'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Ccircle%20cx%3D'8'%20cy%3D'8'%20r%3D'4'%2F%3E%3C%2Fsvg%3E")}[type=radio]:checked:disabled{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}[type=checkbox]:checked:disabled{background-image:url("data:image/svg+xml;utf8, %3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20width%3D%2220%22%20height%3D%2220%22%20rx%3D%224%22%20fill%3D%22white%22%20fill-opacity%3D%220.01%22%2F%3E%0A%3Cg%20clip-path%3D%22url(%23clip0_1575_10817)%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M14.72%206.23998C14.8872%206.4057%2014.9862%206.62814%2014.9973%206.8633C15.0084%207.09847%2014.9309%207.32924%2014.78%207.50998L9.41%2013.71C9.33315%2013.797%209.23949%2013.8675%209.13466%2013.9174C9.02982%2013.9672%208.91598%2013.9953%208.8%2014C8.68415%2014.0029%208.56899%2013.9813%208.46213%2013.9364C8.35526%2013.8916%208.2591%2013.8247%208.18%2013.74L5.25%2010.64C5.10033%2010.4603%205.01837%2010.2338%205.01837%209.99998C5.01837%209.76613%205.10033%209.53967%205.25%209.35998C5.32761%209.27734%205.42134%209.21148%205.52539%209.16646C5.62945%209.12143%205.74162%209.09821%205.855%209.09821C5.96837%209.09821%206.08055%209.12143%206.1846%209.16646C6.28865%209.21148%206.38238%209.27734%206.46%209.35998L8.75%2011.79L13.52%206.28998C13.5932%206.20432%2013.6834%206.13468%2013.7847%206.0854C13.8861%206.03613%2013.9965%206.00827%2014.1091%206.00358C14.2217%205.99889%2014.3341%206.01746%2014.4392%206.05813C14.5443%206.09881%2014.6399%206.16071%2014.72%206.23998V6.23998Z%22%20fill%3D%22%23D6D6D6%22%2F%3E%0A%3C%2Fg%3E%0A%3Cdefs%3E%0A%3CclipPath%20id%3D%22clip0_1575_10817%22%3E%0A%3Crect%20width%3D%2210%22%20height%3D%2210%22%20fill%3D%22white%22%20transform%3D%22translate(5%205)%22%2F%3E%0A%3C%2FclipPath%3E%0A%3C%2Fdefs%3E%0A%3C%2Fsvg%3E%0A%0A")}.ui__spinner{animation:ui__spinner_rotation 1.5s linear infinite}@keyframes ui__spinner_rotation{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.table--tbody tr:first-child>td{border-color:transparent!important}.table--tbody tr:last-child td:first-child{border-radius:0 0 0 10px}.table--tbody tr:last-child td:last-child{border-radius:0 0 10px}.scrollStyle-scrollbar-customized-scrollbar::-webkit-scrollbar{background-color:#fff!important;height:8px!important;width:5px!important}.scrollStyle-scrollbar-customized-scrollbar::-webkit-scrollbar-thumb{background:gray!important}.rmdp-day{color:#4a4f54!important}.rmdp-day.rmdp-range.start{background:#007aff!important;border:transparent!important;color:#fff!important}.rmdp-range{background-color:#ddeaf7!important;border:transparent!important;box-shadow:none!important;color:#4a4f54!important}.rmdp-day.rmdp-range.end{background:#007aff!important;border:transparent!important;color:#fff!important}.rmdp-week-day{color:#797c81!important}.rmdp-day.rmdp-selected span:not(.highlight){border-radius:4px!important}.rmdp-day.rmdp-today span{background-color:var(--colors-action-primary-pressed)!important}@media (max-width:768px){.rmdp-day-picker{flex-direction:column}}.rmdp-calendar-container-mobile{background-color:#0009;bottom:0;left:0;right:0;top:0}.rmdp-calendar-container-mobile .rmdp-mobile.rmdp-wrapper{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.rmdp-mobile.rmdp-wrapper{border:1px solid #cfd8e2;box-shadow:unset}.rmdp-mobile .rmdp-header,.rmdp-mobile .rmdp-panel-header{font-size:16px;height:30px;padding-bottom:15px}.rmdp-mobile .rmdp-arrow-container{height:26px;width:26px}.rmdp-mobile .rmdp-arrow{height:3px;margin-top:6px;padding:3px;width:3px}.rmdp-mobile .rmdp-up i{margin-top:10px}.rmdp-mobile .rmdp-left i{margin-left:4px;margin-top:7px}.rmdp-mobile .rmdp-right i{margin-left:-2px;margin-top:7px}.rmdp-rtl.rmdp-mobile .rmdp-right i{margin-left:5px}.rmdp-rtl.rmdp-mobile .rmdp-left i{margin-left:-1px}.rmdp-mobile .rmdp-day,.rmdp-mobile .rmdp-week-day{height:38px;width:38px}.rmdp-mobile .rmdp-day span{font-size:15px}.rmdp-mobile .dvdr{margin:0 10px}.rmdp-mobile .ok{bottom:0;position:absolute}.rmdp-mobile .rmdp-week-day{margin-bottom:3px;margin-top:10px}.rmdp-mobile .only.rmdp-month-picker,.rmdp-mobile .only.rmdp-year-picker{margin:15px 0}.rmdp-mobile .rmdp-action-button{font-size:13px;margin:15px 3px 0}.rmdp-mobile .rmdp-action-buttons{align-items:center;display:flex;justify-content:flex-end;padding:0 10px}.rmdp-mobile .rmdp-rtl .rmdp-action-button{float:left;margin-left:10px;margin-right:unset}.rmdp-mobile .rmdp-action-button:focus{outline:none}.rmdp-mobile .rmdp-header{margin-left:10px;margin-right:10px;margin-top:15px}.rmdp-mobile .rmdp-panel-header{margin-top:20px}.rmdp-mobile .rmdp-day-picker{margin-left:5px;margin-right:5px}.rmdp-mobile .rmdp-action-button{margin-bottom:15px}@media (max-width:420px){.rmdp-mobile .rmdp-day,.rmdp-mobile .rmdp-week-day{height:32px;width:32px}.rmdp-mobile .only.rmdp-month-picker,.rmdp-mobile .only.rmdp-year-picker{width:250px}.rmdp-mobile .rmdp-header,.rmdp-mobile .rmdp-panel-header{height:20px}.rmdp-mobile .rmdp-day span{font-size:14px}.rmdp-mobile .rmdp-day-picker{padding:10px 5px}.rmdp-mobile.rmdp-single .rmdp-day-picker{padding:10px}.rmdp-mobile .rmdp-arrow-container{height:20px;margin:0 12px;width:20px}.rmdp-mobile .rmdp-arrow{height:3px;margin-top:6px;padding:2px;width:3px}.rmdp-mobile .rmdp-action-button{font-size:13px;padding:5px}.rmdp-mobile .rmdp-action-button:first-child{padding-right:10px}.rmdp-mobile .rmdp-panel-header{padding-bottom:20px}.rmdp-mobile .rmdp-left i,.rmdp-mobile .rmdp-right i{margin-top:6px}.rmdp-mobile .rmdp-up i{margin-top:8px}.rmdp-mobile .rmdp-down i{margin-top:4px}.rmdp-mobile .rmdp-header{margin-left:5px;margin-right:5px;margin-top:10px}.rmdp-mobile .rmdp-panel-header{margin-top:15px}.rmdp-mobile .rmdp-header,.rmdp-mobile .rmdp-panel-header{font-size:14px}.rmdp-mobile .rmdp-day-picker{margin-left:5px;margin-right:5px}.rmdp-mobile .rmdp-action-button{font-size:12px;margin-bottom:10px}}@media (max-height:450px){.rmdp-mobile .rmdp-header,.rmdp-mobile .rmdp-panel-header{font-size:12px;height:9px;line-height:15px}.rmdp-mobile .rmdp-day,.rmdp-mobile .rmdp-week-day{height:22px;width:22px}.rmdp-mobile .rmdp-time-picker{min-width:130px!important;padding:0}.rmdp-mobile .rmdp-time-picker div input{font-size:12px;padding:2px}.rmdp-mobile .rmdp-day span{font-size:12px}.rmdp-mobile .rmdp-month-picker .rmdp-day span,.rmdp-mobile .rmdp-week-day{font-size:10px}.rmdp-mobile .rmdp-day-picker{padding:0 7px}.rmdp-mobile .rmdp-panel-body{margin:5px 0;padding:0}.rmdp-mobile .rmdp-panel-body li{font-size:11px;margin:5px}.rmdp-mobile .rmdp-action-button{font-size:9px;margin:10px 5px;padding:0 5px}.rmdp-mobile .rmdp-action-button:first-child{margin-right:10px}.rmdp-mobile .rmdp-arrow-container{height:16px;margin:0 3px;width:16px}.rmdp-mobile .rmdp-arrow{height:2px;margin-top:3px;padding:2px;width:2px}.rmdp-mobile .only.rmdp-month-picker,.rmdp-mobile .only.rmdp-year-picker{height:160px}.rmdp-mobile .dvdr,.rmdp-mobile .rmdp-time-picker div input{margin:0}.rmdp-mobile .rmdp-week-day{margin-top:0}.rmdp-mobile .rmdp-left i{margin-left:4px;margin-top:4px}.rmdp-mobile .rmdp-right i{margin-left:0;margin-top:4px}.rmdp-mobile .rmdp-up i{margin-top:5px}.rmdp-mobile .rmdp-header{margin-left:5px;margin-right:5px;margin-top:10px}.rmdp-mobile .rmdp-panel-header{margin-top:13px}.rmdp-mobile .rmdp-day-picker{margin-left:0;margin-right:0}.rmdp-mobile .rmdp-action-button{margin-bottom:10px}}
|