@datability/8ui 1.0.0 → 1.1.1
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 +1 -3
- package/dist/components/assets/closed.svg +4 -0
- package/dist/components/assets/expand-arrow.svg +3 -0
- package/dist/components/assets/visibility-off.svg +5 -0
- package/dist/components/assets/visibility.svg +5 -0
- package/dist/components/blackdrop/index.scss +16 -0
- package/dist/components/button/index.scss +40 -0
- package/dist/components/chip/index.scss +32 -0
- package/dist/components/divider/index.scss +4 -0
- package/dist/components/input/extend.scss +19 -0
- package/dist/components/input/input-auto-complete/index.scss +53 -0
- package/dist/components/input/input-base/index.scss +14 -0
- package/dist/components/input/input-basic/index.scss +9 -0
- package/dist/components/input/input-checkbox/index.scss +30 -0
- package/dist/components/input/input-date/index.scss +102 -0
- package/dist/components/input/input-date-range/index.scss +101 -0
- package/dist/components/input/input-date-time/index.scss +179 -0
- package/dist/components/input/input-number/index.scss +9 -0
- package/dist/components/input/input-password/index.scss +22 -0
- package/dist/components/input/input-radio/index.scss +35 -0
- package/dist/components/input/input-select/index.scss +81 -0
- package/dist/components/input/input-switch/index.scss +84 -0
- package/dist/components/input/input-textarea/index.scss +10 -0
- package/dist/components/menu/index.scss +30 -0
- package/dist/components/modal/index.scss +33 -0
- package/dist/{assets/index-QxCDX2bt.css → index.css} +1 -1
- package/dist/index.es.js +1827 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.umd.js +8 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/types/App.d.ts +2 -0
- package/dist/types/components/blackdrop/index.d.ts +4 -0
- package/dist/types/components/blackdrop/index.type.d.ts +6 -0
- package/dist/types/components/button/index.d.ts +4 -0
- package/dist/types/components/button/index.type.d.ts +12 -0
- package/dist/types/components/chip/index.d.ts +4 -0
- package/dist/types/components/chip/index.type.d.ts +9 -0
- package/dist/types/components/context.d.ts +8 -0
- package/dist/types/components/divider/index.d.ts +3 -0
- package/dist/types/components/index.d.ts +41 -0
- package/dist/types/components/input/input-auto-complete/index.d.ts +4 -0
- package/dist/types/components/input/input-auto-complete/index.type.d.ts +12 -0
- package/dist/types/components/input/input-base/index.d.ts +4 -0
- package/dist/types/components/input/input-base/index.type.d.ts +11 -0
- package/dist/types/components/input/input-basic/index.d.ts +4 -0
- package/dist/types/components/input/input-basic/index.type.d.ts +8 -0
- package/dist/types/components/input/input-checkbox/index.d.ts +4 -0
- package/dist/types/components/input/input-checkbox/index.type.d.ts +11 -0
- package/dist/types/components/input/input-date/index.d.ts +22 -0
- package/dist/types/components/input/input-date/index.type.d.ts +11 -0
- package/dist/types/components/input/input-date-range/index.d.ts +4 -0
- package/dist/types/components/input/input-date-range/index.type.d.ts +11 -0
- package/dist/types/components/input/input-date-time/index.d.ts +4 -0
- package/dist/types/components/input/input-date-time/index.type.d.ts +11 -0
- package/dist/types/components/input/input-number/index.d.ts +4 -0
- package/dist/types/components/input/input-number/index.type.d.ts +10 -0
- package/dist/types/components/input/input-password/index.d.ts +4 -0
- package/dist/types/components/input/input-password/index.type.d.ts +8 -0
- package/dist/types/components/input/input-radio/index.d.ts +4 -0
- package/dist/types/components/input/input-radio/index.type.d.ts +12 -0
- package/dist/types/components/input/input-select/index.d.ts +4 -0
- package/dist/types/components/input/input-select/index.type.d.ts +14 -0
- package/dist/types/components/input/input-switch/index.d.ts +4 -0
- package/dist/types/components/input/input-switch/index.type.d.ts +4 -0
- package/dist/types/components/input/input-textarea/index.d.ts +4 -0
- package/dist/types/components/input/input-textarea/index.type.d.ts +10 -0
- package/dist/types/components/menu/index.d.ts +4 -0
- package/dist/types/components/menu/index.type.d.ts +11 -0
- package/dist/types/components/modal/index.d.ts +4 -0
- package/dist/types/components/modal/index.type.d.ts +7 -0
- package/dist/types/index.d.ts +41 -0
- package/dist/types/main.d.ts +1 -0
- package/package.json +17 -14
- package/dist/assets/index-BYmsRLQS.js +0 -48
- package/dist/index.html +0 -14
package/README.md
CHANGED
|
@@ -9,9 +9,7 @@ Currently, two official plugins are available:
|
|
|
9
9
|
|
|
10
10
|
## React Compiler
|
|
11
11
|
|
|
12
|
-
The React Compiler is enabled on this template.
|
|
13
|
-
|
|
14
|
-
Note: This will impact Vite dev & build performances.
|
|
12
|
+
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).
|
|
15
13
|
|
|
16
14
|
## Expanding the ESLint configuration
|
|
17
15
|
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M18 6L6 18" stroke="#B1B1B1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M6 6L18 18" stroke="#B1B1B1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M4.21967 8.46967C4.51256 8.17678 4.98744 8.17678 5.28033 8.46967L12 15.1893L18.7197 8.46967C19.0126 8.17678 19.4874 8.17678 19.7803 8.46967C20.0732 8.76256 20.0732 9.23744 19.7803 9.53033L12.5303 16.7803C12.2374 17.0732 11.7626 17.0732 11.4697 16.7803L4.21967 9.53033C3.92678 9.23744 3.92678 8.76256 4.21967 8.46967Z" fill="#B1B1B1"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="19" height="20" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g opacity="0.2">
|
|
3
|
+
<path d="M4.00187 3.07082C3.94973 3.01204 3.88644 2.9642 3.81567 2.93006C3.7449 2.89592 3.66806 2.87617 3.5896 2.87195C3.51114 2.86773 3.43263 2.87912 3.35861 2.90547C3.28458 2.93182 3.21653 2.97259 3.15838 3.02544C3.10023 3.07828 3.05315 3.14214 3.01987 3.21331C2.98658 3.28448 2.96775 3.36156 2.96447 3.44006C2.96119 3.51856 2.97353 3.59693 3.00076 3.67064C3.02799 3.74434 3.06958 3.8119 3.12312 3.86941L4.55109 5.44062C1.85546 7.09496 0.696165 9.64511 0.644954 9.76089C0.611194 9.83683 0.59375 9.919 0.59375 10.0021C0.59375 10.0852 0.611194 10.1674 0.644954 10.2433C0.67093 10.3019 1.29956 11.6958 2.6971 13.0933C4.55925 14.9547 6.91124 15.9389 9.49999 15.9389C10.8305 15.9464 12.1475 15.6725 13.3646 15.1351L14.9974 16.9319C15.0495 16.9907 15.1128 17.0385 15.1836 17.0727C15.2543 17.1068 15.3312 17.1266 15.4096 17.1308C15.4881 17.135 15.5666 17.1236 15.6406 17.0973C15.7147 17.0709 15.7827 17.0301 15.8409 16.9773C15.899 16.9244 15.9461 16.8606 15.9794 16.7894C16.0127 16.7182 16.0315 16.6412 16.0348 16.5627C16.0381 16.4842 16.0257 16.4058 15.9985 16.3321C15.9713 16.2584 15.9297 16.1908 15.8761 16.1333L4.00187 3.07082ZM10.6073 12.1025C10.1416 12.3475 9.6077 12.4309 9.08944 12.3396C8.57118 12.2483 8.09793 11.9874 7.74399 11.598C7.39006 11.2085 7.17549 10.7126 7.13398 10.188C7.09246 9.66336 7.22636 9.13982 7.51464 8.69957L10.6073 12.1025ZM18.355 10.2433C18.3239 10.3131 17.572 11.9778 15.8791 13.4941C15.7624 13.5988 15.6091 13.6531 15.4525 13.6452C15.296 13.6373 15.1489 13.5677 15.0434 13.4518L7.52577 5.18234C7.45386 5.10342 7.40455 5.00657 7.38305 4.90199C7.36155 4.79741 7.36864 4.68896 7.40359 4.58807C7.43853 4.48718 7.50004 4.39759 7.58162 4.32871C7.66321 4.25984 7.76186 4.21424 7.86718 4.19671C8.40687 4.1076 8.953 4.06317 9.49999 4.06386C12.0887 4.06386 14.4407 5.048 16.3029 6.91015C17.7004 8.30769 18.3291 9.70226 18.355 9.76089C18.3888 9.83683 18.4062 9.919 18.4062 10.0021C18.4062 10.0852 18.3888 10.1674 18.355 10.2433Z" fill="#1B1C1E"/>
|
|
4
|
+
</g>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="19" height="20" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g opacity="0.2">
|
|
3
|
+
<path d="M18.355 9.75953C18.3291 9.7009 17.7004 8.30633 16.3029 6.90879C14.4407 5.04664 12.0887 4.0625 9.49999 4.0625C6.91124 4.0625 4.55925 5.04664 2.6971 6.90879C1.29956 8.30633 0.667962 9.70313 0.644954 9.75953C0.611194 9.83547 0.59375 9.91764 0.59375 10.0007C0.59375 10.0838 0.611194 10.166 0.644954 10.242C0.67093 10.3006 1.29956 11.6944 2.6971 13.092C4.55925 14.9534 6.91124 15.9375 9.49999 15.9375C12.0887 15.9375 14.4407 14.9534 16.3029 13.092C17.7004 11.6944 18.3291 10.3006 18.355 10.242C18.3888 10.166 18.4062 10.0838 18.4062 10.0007C18.4062 9.91764 18.3888 9.83547 18.355 9.75953ZM9.49999 12.9688C8.91283 12.9688 8.33885 12.7946 7.85064 12.4684C7.36244 12.1422 6.98192 11.6786 6.75723 11.1361C6.53253 10.5936 6.47374 9.99671 6.58829 9.42083C6.70284 8.84494 6.98558 8.31596 7.40077 7.90078C7.81596 7.48559 8.34494 7.20284 8.92082 7.08829C9.4967 6.97374 10.0936 7.03253 10.6361 7.25723C11.1786 7.48193 11.6422 7.86244 11.9684 8.35065C12.2946 8.83886 12.4687 9.41284 12.4687 10C12.4687 10.7874 12.156 11.5425 11.5992 12.0992C11.0425 12.656 10.2874 12.9688 9.49999 12.9688Z" fill="#1B1C1E"/>
|
|
4
|
+
</g>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.DBui-blackdrop {
|
|
2
|
+
opacity: 1;
|
|
3
|
+
transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
4
|
+
position: fixed;
|
|
5
|
+
z-index: var(--z-index-backdrop);
|
|
6
|
+
left: 0;
|
|
7
|
+
top: 0;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
11
|
+
|
|
12
|
+
&[data-hidden='true'] {
|
|
13
|
+
opacity: 0;
|
|
14
|
+
visibility: hidden;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
.DBui-button {
|
|
2
|
+
transition: opacity 0.3s;
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
gap: 0.5em;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
padding: 0.4em 1em;
|
|
9
|
+
border-radius: 0.3em;
|
|
10
|
+
border: 1px solid #03287E;
|
|
11
|
+
background-color: #03287E;
|
|
12
|
+
color: #FFFFFF;
|
|
13
|
+
|
|
14
|
+
&:hover {
|
|
15
|
+
opacity: 0.8;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:disabled {
|
|
19
|
+
cursor: not-allowed;
|
|
20
|
+
opacity: 0.5;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.DBui-loaderSpinButton {
|
|
24
|
+
width: 30px;
|
|
25
|
+
height: 30px;
|
|
26
|
+
border: 3px solid #aaaaae;
|
|
27
|
+
border-bottom-color: #FFFFFF;
|
|
28
|
+
border-radius: 50%;
|
|
29
|
+
animation: rotation 1s linear infinite;
|
|
30
|
+
|
|
31
|
+
@keyframes rotation {
|
|
32
|
+
0% {
|
|
33
|
+
transform: rotate(0deg);
|
|
34
|
+
}
|
|
35
|
+
100% {
|
|
36
|
+
transform: rotate(360deg);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.DBui-chip {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
width: fit-content;
|
|
5
|
+
padding: 0.4em 0.5em;
|
|
6
|
+
border-radius: 0.3em;
|
|
7
|
+
border: 1px solid #03287E;
|
|
8
|
+
background-color: #618aea;
|
|
9
|
+
gap: 0.5em;
|
|
10
|
+
|
|
11
|
+
&[data-checked='true'] {
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
|
|
14
|
+
&:hover {
|
|
15
|
+
opacity: 0.5;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.DBui-chipIcon {
|
|
20
|
+
width: 20px;
|
|
21
|
+
height: 20px;
|
|
22
|
+
|
|
23
|
+
&[data-checked='true'] {
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
|
|
26
|
+
&:hover {
|
|
27
|
+
opacity: 0.5;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Disable
|
|
2
|
+
.DBui-disabled {
|
|
3
|
+
cursor: not-allowed;
|
|
4
|
+
background-color: #FAFAFA;
|
|
5
|
+
color: #000000;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.DBui-input {
|
|
9
|
+
width: 100%;
|
|
10
|
+
padding: 0.3em 0.5em;
|
|
11
|
+
border-radius: 0.3em;
|
|
12
|
+
border: 1px solid #E3E3E8;
|
|
13
|
+
background-color: #FFFFFF;
|
|
14
|
+
color: #000000;
|
|
15
|
+
|
|
16
|
+
&[data-invalid='true'] {
|
|
17
|
+
border: 1px solid #EB5757;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
@import '../extend.scss';
|
|
2
|
+
|
|
3
|
+
.DBui-wrapInputAutoComplete {
|
|
4
|
+
@extend .DBui-input;
|
|
5
|
+
|
|
6
|
+
padding: 0.4em 0.5em;
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
gap: 0.3em;
|
|
10
|
+
height: 36px;
|
|
11
|
+
|
|
12
|
+
&[data-disabled='true'] {
|
|
13
|
+
@extend .DBui-disabled;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.DBui-wrapSelectValueInputAutoComplete {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
|
|
20
|
+
.DBui-iconInputAutoComplete {
|
|
21
|
+
width: 20px;
|
|
22
|
+
color: #E3E3E8;
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.DBui-inputAutoComplete {
|
|
28
|
+
border: none;
|
|
29
|
+
background-color: #FFFFFF;
|
|
30
|
+
align-items: center;
|
|
31
|
+
width: 100%;
|
|
32
|
+
|
|
33
|
+
&:disabled {
|
|
34
|
+
@extend .DBui-disabled;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.DBui-menuItemInputAutoComplete {
|
|
40
|
+
background-color: #FFFFFF;
|
|
41
|
+
color: #000000;
|
|
42
|
+
padding: 0.3em 0.5em;
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
|
|
45
|
+
&:hover {
|
|
46
|
+
background-color: #FAFAFA;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&[data-checked='true'] {
|
|
50
|
+
background-color: #0045a5;
|
|
51
|
+
color: #FFFFFF;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@import '../extend.scss';
|
|
2
|
+
|
|
3
|
+
.DBui-wrapInputCheckboxList {
|
|
4
|
+
display: flex;
|
|
5
|
+
width: 100%;
|
|
6
|
+
gap: 1em;
|
|
7
|
+
|
|
8
|
+
.DBui-wrapInputCheckbox {
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
gap: 0.3em;
|
|
12
|
+
|
|
13
|
+
.DBui-labelCheckbox {
|
|
14
|
+
&[data-invalid='true'] {
|
|
15
|
+
color: #EB5757;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.DBui-inputCheckbox {
|
|
20
|
+
width: 100%;
|
|
21
|
+
border-radius: 0.3em;
|
|
22
|
+
width: 18px;
|
|
23
|
+
height: 18px;
|
|
24
|
+
|
|
25
|
+
&:disabled {
|
|
26
|
+
@extend .DBui-disabled;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
@import '../extend.scss';
|
|
2
|
+
|
|
3
|
+
.DBui-inputDate {
|
|
4
|
+
@extend .DBui-input;
|
|
5
|
+
height: 35px;
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
|
|
10
|
+
&[data-disabled='true'] {
|
|
11
|
+
@extend .DBui-disabled;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.DBui-clearIconInputDate {
|
|
15
|
+
width: 20px;
|
|
16
|
+
|
|
17
|
+
&[data-hidden='true'] {
|
|
18
|
+
display: none !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:hover {
|
|
22
|
+
opacity: 0.8;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.DBui-inputDateWrapperCalendar {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
gap: 0.3em;
|
|
31
|
+
padding: 2em 0;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
align-items: center;
|
|
34
|
+
|
|
35
|
+
.DBui-inputDateRowMonthYear,
|
|
36
|
+
.DBui-inputDateRowHeaderDay,
|
|
37
|
+
.DBui-inputDateRowDay {
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: row;
|
|
40
|
+
gap: 0.8em;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.DBui-inputDateRowMonthYear {
|
|
44
|
+
gap: 0.5em;
|
|
45
|
+
margin-left: 0.5em;
|
|
46
|
+
align-items: center;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.DBui-inputDateRowHeaderDay,
|
|
50
|
+
.DBui-inputDateRowDay {
|
|
51
|
+
|
|
52
|
+
.DBui-inputDateHeader,
|
|
53
|
+
.DBui-inputDateDay {
|
|
54
|
+
width: 30px;
|
|
55
|
+
height: 30px;
|
|
56
|
+
text-align: center;
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
justify-content: center;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.DBui-inputDateDay {
|
|
63
|
+
cursor: not-allowed;
|
|
64
|
+
|
|
65
|
+
&[data-hidden-hover='false'] {
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
|
|
68
|
+
&:hover {
|
|
69
|
+
background-color: #03287E;
|
|
70
|
+
border-radius: 100%;
|
|
71
|
+
color: #FFFFFF;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&[data-checked='true'] {
|
|
76
|
+
background-color: #03287E;
|
|
77
|
+
color: #FFFFFF;
|
|
78
|
+
border-radius: 100%;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.DBui-inputDateRowMonthYearSelected {
|
|
85
|
+
cursor: pointer;
|
|
86
|
+
text-align: center;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.DBui-inputDateRowMonthYearOption {
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
padding: 0.5em 1em;
|
|
92
|
+
|
|
93
|
+
&:hover {
|
|
94
|
+
background-color: #03287E;
|
|
95
|
+
color: #FFFFFF;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&[data-checked='true'] {
|
|
99
|
+
background-color: #03287E;
|
|
100
|
+
color: #FFFFFF;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
@import '../extend.scss';
|
|
2
|
+
|
|
3
|
+
.DBui-inputDateRange {
|
|
4
|
+
@extend .DBui-input;
|
|
5
|
+
height: 35px;
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
|
|
10
|
+
&[data-disabled='true'] {
|
|
11
|
+
@extend .DBui-disabled;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.DBui-clearIconInputDateRange {
|
|
15
|
+
width: 20px;
|
|
16
|
+
|
|
17
|
+
&[data-hidden='true'] {
|
|
18
|
+
display: none !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:hover {
|
|
22
|
+
opacity: 0.8;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.DBui-inputDateRangeWrapperCalendar {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
gap: 0.3em;
|
|
31
|
+
padding: 2em 0;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
align-items: center;
|
|
34
|
+
|
|
35
|
+
.DBui-inputDateRangeRowMonthYear,
|
|
36
|
+
.DBui-inputDateRangeRowHeaderDay,
|
|
37
|
+
.DBui-inputDateRangeRowDay {
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: row;
|
|
40
|
+
gap: 0.8em;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.DBui-inputDateRangeRowMonthYear {
|
|
44
|
+
gap: 0.5em;
|
|
45
|
+
margin-left: 0.5em;
|
|
46
|
+
align-items: center;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.DBui-inputDateRangeRowHeaderDay,
|
|
50
|
+
.DBui-inputDateRangeRowDay {
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
|
|
53
|
+
.DBui-inputDateRangeHeader,
|
|
54
|
+
.DBui-inputDateRangeDay {
|
|
55
|
+
width: 30px;
|
|
56
|
+
height: 30px;
|
|
57
|
+
text-align: center;
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.DBui-inputDateRangeDay {
|
|
64
|
+
|
|
65
|
+
&[data-hidden-hover='false'] {
|
|
66
|
+
|
|
67
|
+
&:hover {
|
|
68
|
+
background-color: #03287E;
|
|
69
|
+
border-radius: 100%;
|
|
70
|
+
color: #FFFFFF;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&[data-checked='true'] {
|
|
75
|
+
background-color: #03287E;
|
|
76
|
+
color: #FFFFFF;
|
|
77
|
+
border-radius: 100%;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.DBui-inputDateRangeRowMonthYearSelected {
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
text-align: center;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.DBui-inputDateRangeRowMonthYearOption {
|
|
89
|
+
cursor: pointer;
|
|
90
|
+
padding: 0.5em 1em;
|
|
91
|
+
|
|
92
|
+
&:hover {
|
|
93
|
+
background-color: #03287E;
|
|
94
|
+
color: #FFFFFF;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&[data-checked='true'] {
|
|
98
|
+
background-color: #03287E;
|
|
99
|
+
color: #FFFFFF;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
@import '../extend.scss';
|
|
2
|
+
|
|
3
|
+
.DBui-inputDateTime {
|
|
4
|
+
@extend .DBui-input;
|
|
5
|
+
height: 35px;
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
|
|
10
|
+
&[data-disabled='true'] {
|
|
11
|
+
@extend .DBui-disabled;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.DBui-clearIconInputDateTime {
|
|
15
|
+
width: 20px;
|
|
16
|
+
|
|
17
|
+
&[data-hidden='true'] {
|
|
18
|
+
display: none !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:hover {
|
|
22
|
+
opacity: 0.8;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.DBui-inputDateTimeWrapperCalendar {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
padding: 3em 1em;
|
|
31
|
+
gap: 0.8em;
|
|
32
|
+
|
|
33
|
+
@media (max-width: 425px) {
|
|
34
|
+
padding: 2.5em 0;
|
|
35
|
+
width: 99vw;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.DBui-inputDateTimeWrapperYearMonthDayTime {
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: row;
|
|
41
|
+
gap: 0.3em;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
align-items: center;
|
|
44
|
+
|
|
45
|
+
@media (max-width: 425px) {
|
|
46
|
+
gap: 0.2em;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.DBui-inputDateTimeWrapperYearMonthDay {
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-direction: column;
|
|
52
|
+
gap: 0.3em;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
align-items: center;
|
|
55
|
+
border-right: 1px solid gray;
|
|
56
|
+
padding-right: 0.5em;
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
.DBui-inputDateTimeRowMonthYear,
|
|
60
|
+
.DBui-inputDateTimeRowHeaderDay,
|
|
61
|
+
.DBui-inputDateTimeRowDay {
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-direction: row;
|
|
64
|
+
gap: 0.8em;
|
|
65
|
+
|
|
66
|
+
@media (max-width: 425px) {
|
|
67
|
+
gap: 0.2em;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.DBui-inputDateTimeRowMonthYear {
|
|
72
|
+
gap: 0.5em;
|
|
73
|
+
margin-left: 0.5em;
|
|
74
|
+
align-items: center;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.DBui-inputDateTimeRowHeaderDay,
|
|
78
|
+
.DBui-inputDateTimeRowDay {
|
|
79
|
+
|
|
80
|
+
.DBui-inputDateTimeHeader,
|
|
81
|
+
.DBui-inputDateTimeDay {
|
|
82
|
+
width: 30px;
|
|
83
|
+
height: 30px;
|
|
84
|
+
text-align: center;
|
|
85
|
+
display: flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
justify-content: center;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.DBui-inputDateTimeDay {
|
|
91
|
+
|
|
92
|
+
cursor: not-allowed;
|
|
93
|
+
|
|
94
|
+
&[data-hidden-hover='false'] {
|
|
95
|
+
cursor: pointer;
|
|
96
|
+
|
|
97
|
+
&:hover {
|
|
98
|
+
background-color: #03287E;
|
|
99
|
+
border-radius: 100%;
|
|
100
|
+
color: #FFFFFF;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&[data-checked='true'] {
|
|
105
|
+
background-color: #03287E;
|
|
106
|
+
color: #FFFFFF;
|
|
107
|
+
border-radius: 100%;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.DBui-inputDateTimeWrapperHourMin {
|
|
114
|
+
padding: 0 0.3em;
|
|
115
|
+
align-self: flex-end;
|
|
116
|
+
flex-direction: column;
|
|
117
|
+
display: flex;
|
|
118
|
+
|
|
119
|
+
@media (max-width: 425px) {
|
|
120
|
+
padding: 0 0.2em;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.DBui-inputDateTimeWrapperHourMinOptions {
|
|
124
|
+
max-height: 200px;
|
|
125
|
+
overflow-y: scroll;
|
|
126
|
+
-ms-overflow-style: none;
|
|
127
|
+
/* IE and Edge */
|
|
128
|
+
scrollbar-width: none;
|
|
129
|
+
/* Firefox */
|
|
130
|
+
|
|
131
|
+
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
132
|
+
&::-webkit-scrollbar {
|
|
133
|
+
display: none;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
p {
|
|
137
|
+
padding: 0.5em;
|
|
138
|
+
cursor: pointer;
|
|
139
|
+
|
|
140
|
+
&:hover {
|
|
141
|
+
background-color: #03287E;
|
|
142
|
+
color: #FFFFFF;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&[data-checked='true'] {
|
|
146
|
+
background-color: #03287E;
|
|
147
|
+
color: #FFFFFF;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.DBui-inputDateTimeWrapperButton {
|
|
155
|
+
display: flex;
|
|
156
|
+
gap: 0.5em;
|
|
157
|
+
justify-content: flex-end;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.DBui-inputDateTimeRowMonthYearSelected {
|
|
162
|
+
cursor: pointer;
|
|
163
|
+
text-align: center;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.DBui-inputDateTimeRowMonthYearOption {
|
|
167
|
+
cursor: pointer;
|
|
168
|
+
padding: 0.5em 1em;
|
|
169
|
+
|
|
170
|
+
&:hover {
|
|
171
|
+
background-color: #03287E;
|
|
172
|
+
color: #FFFFFF;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
&[data-checked='true'] {
|
|
176
|
+
background-color: #03287E;
|
|
177
|
+
color: #FFFFFF;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@import '../extend.scss';
|
|
2
|
+
|
|
3
|
+
.DBui-wrapInputPassword {
|
|
4
|
+
width: 100%;
|
|
5
|
+
position: relative;
|
|
6
|
+
|
|
7
|
+
.DBui-inputPassword {
|
|
8
|
+
@extend .DBui-input;
|
|
9
|
+
|
|
10
|
+
padding-right: 1em;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.DBui-inputPasswordIcon {
|
|
14
|
+
position: absolute;
|
|
15
|
+
right: 5px;
|
|
16
|
+
top: 50%;
|
|
17
|
+
transform: translateY(-50%);
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
width: 1.5em;
|
|
20
|
+
height: 1.5em;
|
|
21
|
+
}
|
|
22
|
+
}
|