@datability/8ui 1.2.1 → 1.2.3

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.
Files changed (79) hide show
  1. package/dist/components/assets/closed.svg +4 -0
  2. package/dist/components/assets/expand-arrow.svg +3 -0
  3. package/dist/components/assets/visibility-off.svg +5 -0
  4. package/dist/components/assets/visibility.svg +5 -0
  5. package/dist/components/blackdrop/index.scss +16 -0
  6. package/dist/components/button/index.scss +40 -0
  7. package/dist/components/chip/index.scss +32 -0
  8. package/dist/components/divider/index.scss +4 -0
  9. package/dist/components/input/extend.scss +19 -0
  10. package/dist/components/input/input-async-auto-complete/index.scss +66 -0
  11. package/dist/components/input/input-async-select/index.scss +94 -0
  12. package/dist/components/input/input-auto-complete/index.scss +53 -0
  13. package/dist/components/input/input-base/index.scss +14 -0
  14. package/dist/components/input/input-basic/index.scss +9 -0
  15. package/dist/components/input/input-checkbox/index.scss +30 -0
  16. package/dist/components/input/input-date/index.scss +102 -0
  17. package/dist/components/input/input-date-range/index.scss +101 -0
  18. package/dist/components/input/input-date-time/index.scss +179 -0
  19. package/dist/components/input/input-number/index.scss +9 -0
  20. package/dist/components/input/input-password/index.scss +22 -0
  21. package/dist/components/input/input-radio/index.scss +35 -0
  22. package/dist/components/input/input-select/index.scss +81 -0
  23. package/dist/components/input/input-switch/index.scss +84 -0
  24. package/dist/components/input/input-textarea/index.scss +10 -0
  25. package/dist/components/menu/index.scss +29 -0
  26. package/dist/components/modal/index.scss +33 -0
  27. package/dist/index.css +1 -0
  28. package/dist/index.es.js +2094 -0
  29. package/dist/index.es.js.map +1 -0
  30. package/dist/index.umd.js +8 -0
  31. package/dist/index.umd.js.map +1 -0
  32. package/dist/types/App.d.ts +2 -0
  33. package/dist/types/components/blackdrop/index.d.ts +4 -0
  34. package/dist/types/components/blackdrop/index.type.d.ts +6 -0
  35. package/dist/types/components/button/index.d.ts +4 -0
  36. package/dist/types/components/button/index.type.d.ts +12 -0
  37. package/dist/types/components/chip/index.d.ts +4 -0
  38. package/dist/types/components/chip/index.type.d.ts +9 -0
  39. package/dist/types/components/context.d.ts +8 -0
  40. package/dist/types/components/divider/index.d.ts +3 -0
  41. package/dist/types/components/index.d.ts +45 -0
  42. package/dist/types/components/input/input-async-auto-complete/index.d.ts +4 -0
  43. package/dist/types/components/input/input-async-auto-complete/index.type.d.ts +19 -0
  44. package/dist/types/components/input/input-async-select/index.d.ts +4 -0
  45. package/dist/types/components/input/input-async-select/index.type.d.ts +19 -0
  46. package/dist/types/components/input/input-auto-complete/index.d.ts +4 -0
  47. package/dist/types/components/input/input-auto-complete/index.type.d.ts +14 -0
  48. package/dist/types/components/input/input-base/index.d.ts +4 -0
  49. package/dist/types/components/input/input-base/index.type.d.ts +11 -0
  50. package/dist/types/components/input/input-basic/index.d.ts +4 -0
  51. package/dist/types/components/input/input-basic/index.type.d.ts +10 -0
  52. package/dist/types/components/input/input-checkbox/index.d.ts +4 -0
  53. package/dist/types/components/input/input-checkbox/index.type.d.ts +13 -0
  54. package/dist/types/components/input/input-date/index.d.ts +22 -0
  55. package/dist/types/components/input/input-date/index.type.d.ts +13 -0
  56. package/dist/types/components/input/input-date-range/index.d.ts +4 -0
  57. package/dist/types/components/input/input-date-range/index.type.d.ts +13 -0
  58. package/dist/types/components/input/input-date-time/index.d.ts +4 -0
  59. package/dist/types/components/input/input-date-time/index.type.d.ts +13 -0
  60. package/dist/types/components/input/input-number/index.d.ts +4 -0
  61. package/dist/types/components/input/input-number/index.type.d.ts +12 -0
  62. package/dist/types/components/input/input-password/index.d.ts +4 -0
  63. package/dist/types/components/input/input-password/index.type.d.ts +10 -0
  64. package/dist/types/components/input/input-radio/index.d.ts +4 -0
  65. package/dist/types/components/input/input-radio/index.type.d.ts +14 -0
  66. package/dist/types/components/input/input-select/index.d.ts +4 -0
  67. package/dist/types/components/input/input-select/index.type.d.ts +15 -0
  68. package/dist/types/components/input/input-switch/index.d.ts +4 -0
  69. package/dist/types/components/input/input-switch/index.type.d.ts +6 -0
  70. package/dist/types/components/input/input-textarea/index.d.ts +4 -0
  71. package/dist/types/components/input/input-textarea/index.type.d.ts +12 -0
  72. package/dist/types/components/menu/index.d.ts +4 -0
  73. package/dist/types/components/menu/index.type.d.ts +11 -0
  74. package/dist/types/components/modal/index.d.ts +4 -0
  75. package/dist/types/components/modal/index.type.d.ts +7 -0
  76. package/dist/types/index.d.ts +45 -0
  77. package/dist/types/main.d.ts +1 -0
  78. package/dist/vite.svg +1 -0
  79. package/package.json +1 -1
@@ -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,4 @@
1
+ .DBui-divider {
2
+ border: 1px solid #9E9E9E;
3
+ width: 100%;
4
+ }
@@ -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,66 @@
1
+ @import '../extend.scss';
2
+
3
+ .DBui-wrapInputAsyncAutoComplete {
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-wrapSelectValueInputAsyncAutoComplete {
17
+ display: flex;
18
+ align-items: center;
19
+
20
+ .DBui-iconInputAsyncAutoComplete {
21
+ width: 20px;
22
+ color: #E3E3E8;
23
+ cursor: pointer;
24
+ }
25
+ }
26
+
27
+ .DBui-inputAsyncAutoComplete {
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-wrapperMenuItemInputAsyncAutoComplete {
40
+ max-height: 45vh;
41
+ overflow-y: auto;
42
+
43
+ .DBui-menuItemInputAsyncAutoComplete {
44
+ background-color: #FFFFFF;
45
+ color: #000000;
46
+ padding: 0.3em 0.5em;
47
+ cursor: pointer;
48
+
49
+ &:hover {
50
+ background-color: #FAFAFA;
51
+ }
52
+
53
+ &[data-checked='true'] {
54
+ background-color: #0045a5;
55
+ color: #FFFFFF;
56
+ }
57
+
58
+ .DBui-menuLoading,
59
+ .DBui-menuEnd {
60
+ padding: 8px;
61
+ text-align: center;
62
+ font-size: 12px;
63
+ opacity: 0.6;
64
+ }
65
+ }
66
+ }
@@ -0,0 +1,94 @@
1
+ @import '../extend.scss';
2
+
3
+ .DBui-wrapperInputAsyncSelect {
4
+ cursor: pointer;
5
+ position: relative;
6
+ height: 35px;
7
+ width: 100%;
8
+ padding: 0.3em 35px 0.3em 0.5em;
9
+ border-radius: 8px;
10
+ border: 1px solid #e3e3e8;
11
+ background-color: #ffffff;
12
+ color: #000000;
13
+ display: flex;
14
+
15
+ &[data-invalid='true'] {
16
+ border: 1px solid #eb5757;
17
+ }
18
+
19
+ &[data-disabled='true'] {
20
+ @extend .DBui-disabled;
21
+ }
22
+
23
+ .DBui-wrapperLabel {
24
+ text-overflow: ellipsis;
25
+ overflow: hidden;
26
+ display: -webkit-box;
27
+ -webkit-line-clamp: 1;
28
+ -webkit-box-orient: vertical;
29
+ }
30
+
31
+ .DBui-placeholder {
32
+ color: #c3c3c3;
33
+ }
34
+
35
+ .DBui-wrapperLabelInputAsyncSelect {
36
+ display: flex;
37
+ gap: 0.3em;
38
+ align-items: center;
39
+ width: 100%;
40
+
41
+ .DBui-clearIconInputAsyncSelect {
42
+ width: 20px;
43
+
44
+ &[data-hidden='true'] {
45
+ display: none !important;
46
+ }
47
+
48
+ &:hover {
49
+ opacity: 0.8;
50
+ }
51
+ }
52
+ }
53
+
54
+ .DBui-arrowIconInputAsyncSelect {
55
+ position: absolute;
56
+ right: 5px;
57
+ top: 50%;
58
+ transform: translateY(-50%);
59
+ transition: transform 0.2s;
60
+
61
+ &[data-checked='false'] {
62
+ transform: rotate(180deg) translateY(50%);
63
+ }
64
+ }
65
+ }
66
+
67
+ .DBui-wrapperMenuItemInputAsyncSelect {
68
+ max-height: 45vh;
69
+ overflow-y: auto;
70
+
71
+ .DBui-menuItemInputAsyncSelect {
72
+ background-color: #ffffff;
73
+ color: #000000;
74
+ padding: 0.3em 0.5em;
75
+ cursor: pointer;
76
+
77
+ &:hover {
78
+ background-color: #fafafa;
79
+ }
80
+
81
+ &[data-checked='true'] {
82
+ background-color: #0045a5;
83
+ color: #ffffff;
84
+ }
85
+
86
+ .DBui-menuLoading,
87
+ .DBui-menuEnd {
88
+ padding: 8px;
89
+ text-align: center;
90
+ font-size: 12px;
91
+ opacity: 0.6;
92
+ }
93
+ }
94
+ }
@@ -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,14 @@
1
+ .DBui-inputBase {
2
+ display: flex;
3
+ flex-direction: column;
4
+
5
+ &[data-invalid='true'] {
6
+ .DBui-inputLabel {
7
+ color: #EB5757;
8
+ }
9
+ }
10
+
11
+ .DBui-dataInvalid {
12
+ color: #EB5757;
13
+ }
14
+ }
@@ -0,0 +1,9 @@
1
+ @import '../extend.scss';
2
+
3
+ .DBui-inputBasic {
4
+ @extend .DBui-input;
5
+
6
+ &:disabled {
7
+ @extend .DBui-disabled;
8
+ }
9
+ }
@@ -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
+ }