digitinary-ui 1.0.258 → 1.0.260
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/all.scss.d.ts +5 -0
- package/dist/types/jsx.d.ts +13 -0
- package/package.json +1 -1
- package/dist/components/Accordion/style.scss +0 -110
- package/dist/components/ActionDropdown/style.scss +0 -97
- package/dist/components/Alert/style.scss +0 -244
- package/dist/components/ArenaDatePicker/style.scss +0 -451
- package/dist/components/ArenaDateRange/style.scss +0 -284
- package/dist/components/ArenaLabel/style.scss +0 -23
- package/dist/components/BarChart/style.scss +0 -28
- package/dist/components/Button/style.scss +0 -950
- package/dist/components/Card/style.scss +0 -34
- package/dist/components/Carousel/style.scss +0 -154
- package/dist/components/Checkbox/style.scss +0 -112
- package/dist/components/Chip/style.scss +0 -239
- package/dist/components/Chips/style.scss +0 -173
- package/dist/components/CounterComponent/style.scss +0 -101
- package/dist/components/Date/style.scss +0 -612
- package/dist/components/DateRange/style.scss +0 -305
- package/dist/components/Dialog/style.scss +0 -169
- package/dist/components/DonutChart/style.scss +0 -118
- package/dist/components/DoubleBarChart/style.scss +0 -25
- package/dist/components/DropDown/style.scss +0 -318
- package/dist/components/EllipsisMenu/style.scss +0 -153
- package/dist/components/FieldArray/style.scss +0 -31
- package/dist/components/FileUploader/style.scss +0 -147
- package/dist/components/FileUploaderV2/style.scss +0 -245
- package/dist/components/GaugeChart/style.scss +0 -51
- package/dist/components/GridSystem/style.scss +0 -27
- package/dist/components/HelperText/style.scss +0 -18
- package/dist/components/Input/style.scss +0 -228
- package/dist/components/InputRange/style.scss +0 -105
- package/dist/components/JsonField/style.scss +0 -178
- package/dist/components/Label/style.scss +0 -17
- package/dist/components/LineChart/style.scss +0 -28
- package/dist/components/Loader/style.scss +0 -86
- package/dist/components/MultiSelectWithChips/style.scss +0 -17
- package/dist/components/NewDate/style.scss +0 -378
- package/dist/components/NoDataFallback/style.scss +0 -19
- package/dist/components/Overlay/style.scss +0 -12
- package/dist/components/Pagination/style.scss +0 -205
- package/dist/components/PaginationV2/style.scss +0 -108
- package/dist/components/PhoneNumber/style.scss +0 -1278
- package/dist/components/PieChart/style.scss +0 -62
- package/dist/components/Radio/style.scss +0 -157
- package/dist/components/RadioGroup/style.scss +0 -53
- package/dist/components/SectionHead/style.scss +0 -41
- package/dist/components/SelectGroup/style.scss +0 -513
- package/dist/components/SelectGroupV2/style.scss +0 -495
- package/dist/components/SideDrawer/style.scss +0 -119
- package/dist/components/SideDrawerV2/style.scss +0 -56
- package/dist/components/SimpleCollapseSection/style.scss +0 -59
- package/dist/components/SimpleLabelValue/style.scss +0 -29
- package/dist/components/StackedBarChart/style.scss +0 -3
- package/dist/components/Status/style.scss +0 -97
- package/dist/components/Stepper/Step/style.scss +0 -127
- package/dist/components/Stepper/style.scss +0 -12
- package/dist/components/Switch/style.scss +0 -123
- package/dist/components/Table/style.scss +0 -179
- package/dist/components/TableV2/style.scss +0 -238
- package/dist/components/TextArea/style.scss +0 -265
- package/dist/components/TimeTracker/style.scss +0 -145
- package/dist/components/Toast/style.scss +0 -98
- package/dist/components/Tooltip/style.scss +0 -122
- package/dist/components/ViewDocuments/style.scss +0 -62
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// In a file named `jsx.d.ts` in your project's root or a suitable directory
|
|
2
|
+
declare namespace JSX {
|
|
3
|
+
interface IntrinsicElements {
|
|
4
|
+
// Define the types for HTML tags
|
|
5
|
+
div: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
6
|
+
span: React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>;
|
|
7
|
+
|
|
8
|
+
// Define the types for custom components
|
|
9
|
+
SVG: React.SVGProps<SVGSVGElement>;
|
|
10
|
+
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
package/package.json
CHANGED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
@import '../../Global/global';
|
|
2
|
-
|
|
3
|
-
.accordion-container {
|
|
4
|
-
border-top: none;
|
|
5
|
-
border-top-left-radius: 0;
|
|
6
|
-
border-top-right-radius: 0;
|
|
7
|
-
border-bottom-left-radius: 0;
|
|
8
|
-
border-bottom-right-radius: 0;
|
|
9
|
-
|
|
10
|
-
&.disabled {
|
|
11
|
-
background-color: var(--primary-disabled);
|
|
12
|
-
color: var(--text-color-tertiary);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&.expanded {
|
|
16
|
-
border-bottom: 0.0625rem solid $border-color-neutral;
|
|
17
|
-
|
|
18
|
-
.accordion-header {
|
|
19
|
-
border-bottom: 0.0625rem solid $border-color-neutral;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&.expanded + .accordion {
|
|
24
|
-
border-top: 0.0625rem solid $border-color-neutral;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&:first-of-type {
|
|
28
|
-
border-top-left-radius: 0;
|
|
29
|
-
border-top-right-radius: 0;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&:last-of-type {
|
|
33
|
-
border-bottom-left-radius: 0;
|
|
34
|
-
border-bottom-right-radius: 0;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.accordion-header {
|
|
39
|
-
cursor: pointer;
|
|
40
|
-
padding: 20px 20px;
|
|
41
|
-
white-space: nowrap;
|
|
42
|
-
overflow: hidden;
|
|
43
|
-
text-overflow: ellipsis;
|
|
44
|
-
padding-inline-end: 2.5rem;
|
|
45
|
-
position: relative;
|
|
46
|
-
color: var(--text-color-primary);
|
|
47
|
-
border: 0.0625rem solid $border-color-neutral;
|
|
48
|
-
background-color: var(--background-color-white-primary);
|
|
49
|
-
font-family: Cairo;
|
|
50
|
-
font-size: 18px;
|
|
51
|
-
font-weight: 600;
|
|
52
|
-
line-height: 25px;
|
|
53
|
-
text-align: start;
|
|
54
|
-
|
|
55
|
-
&:focus {
|
|
56
|
-
outline: none;
|
|
57
|
-
border-radius: inherit;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&:focus:not(:focus-visible) {
|
|
61
|
-
outline: none;
|
|
62
|
-
box-shadow: none;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.iconContainer {
|
|
66
|
-
position: absolute;
|
|
67
|
-
inset-inline-end: 1rem;
|
|
68
|
-
top: 50%;
|
|
69
|
-
transform: translateY(-50%);
|
|
70
|
-
display: flex;
|
|
71
|
-
align-items: center;
|
|
72
|
-
justify-content: center;
|
|
73
|
-
|
|
74
|
-
svg {
|
|
75
|
-
path {
|
|
76
|
-
fill: var(--icon-color-main);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.dropdownIcon {
|
|
82
|
-
width: 1.5rem;
|
|
83
|
-
height: 1.5rem;
|
|
84
|
-
transition: transform 0.3s ease;
|
|
85
|
-
|
|
86
|
-
&.rotateFlip {
|
|
87
|
-
transform: rotate(180deg);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&.disabled {
|
|
91
|
-
path {
|
|
92
|
-
fill: var(--primary-disabled);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.accordion-details {
|
|
99
|
-
display: none;
|
|
100
|
-
background-color: var(--background-color-white-primary);
|
|
101
|
-
border: 0.0625rem solid $border-color-neutral;
|
|
102
|
-
padding: 1rem;
|
|
103
|
-
border-bottom: 0px;
|
|
104
|
-
|
|
105
|
-
&.expanded {
|
|
106
|
-
display: block;
|
|
107
|
-
border-bottom-left-radius: 0;
|
|
108
|
-
border-bottom-right-radius: 0;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
.actions-menu-container {
|
|
2
|
-
position: absolute;
|
|
3
|
-
z-index: 3;
|
|
4
|
-
width: fit-content;
|
|
5
|
-
|
|
6
|
-
.triangle-container {
|
|
7
|
-
width: 100%;
|
|
8
|
-
display: flex;
|
|
9
|
-
justify-content: end;
|
|
10
|
-
position: relative;
|
|
11
|
-
|
|
12
|
-
html[dir='rtl'] &,
|
|
13
|
-
html[lang='ar'] & {
|
|
14
|
-
justify-content: start;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.triangle {
|
|
18
|
-
height: 11px;
|
|
19
|
-
width: 11px;
|
|
20
|
-
border: 1px solid var(--background-color-gray-50);
|
|
21
|
-
rotate: 45deg;
|
|
22
|
-
z-index: -1;
|
|
23
|
-
position: absolute;
|
|
24
|
-
|
|
25
|
-
right: 30px;
|
|
26
|
-
left: auto;
|
|
27
|
-
|
|
28
|
-
html[dir='rtl'] &,
|
|
29
|
-
html[lang='ar'] & {
|
|
30
|
-
right: auto;
|
|
31
|
-
left: 12px;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.actions-list {
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-direction: column;
|
|
39
|
-
border: 1px solid var(--background-color-gray-50);
|
|
40
|
-
z-index: 3;
|
|
41
|
-
border-radius: 5px;
|
|
42
|
-
background-color: var(--background-color-white-primary);
|
|
43
|
-
overflow: overlay;
|
|
44
|
-
min-width: 120px;
|
|
45
|
-
text-align: left;
|
|
46
|
-
direction: ltr;
|
|
47
|
-
|
|
48
|
-
html[dir='rtl'] &,
|
|
49
|
-
html[lang='ar'] & {
|
|
50
|
-
text-align: right;
|
|
51
|
-
direction: rtl;
|
|
52
|
-
|
|
53
|
-
transform: rotateY(180deg);
|
|
54
|
-
|
|
55
|
-
.dropdown-item {
|
|
56
|
-
transform: rotateY(180deg);
|
|
57
|
-
text-align: right;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&::-webkit-scrollbar {
|
|
62
|
-
width: 3px;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&::-webkit-scrollbar-track {
|
|
66
|
-
background: rgb(226, 227, 229);
|
|
67
|
-
border-radius: 5px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&::-webkit-scrollbar-thumb {
|
|
71
|
-
background-color: rgb(129, 129, 129);
|
|
72
|
-
border-radius: 5px;
|
|
73
|
-
border: 2px solid rgb(129, 129, 129);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.dropdown-item {
|
|
78
|
-
&:hover {
|
|
79
|
-
background-color: var(--background-color-gray-40);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
text-align: left;
|
|
83
|
-
|
|
84
|
-
html[dir='rtl'] &,
|
|
85
|
-
html[lang='ar'] & {
|
|
86
|
-
text-align: right;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.action-dropdown-container {
|
|
92
|
-
.more-square-button {
|
|
93
|
-
border: none;
|
|
94
|
-
background-color: #ffffff00;
|
|
95
|
-
cursor: pointer;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
@import '../../Global/global';
|
|
2
|
-
|
|
3
|
-
.alertContainer {
|
|
4
|
-
width: 100%;
|
|
5
|
-
padding: 0.9375rem 1.25rem;
|
|
6
|
-
border-radius: 0.3125rem;
|
|
7
|
-
column-gap: 0.625rem;
|
|
8
|
-
font-size: 0.875rem;
|
|
9
|
-
position: relative;
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
transition:
|
|
13
|
-
opacity 0.5s,
|
|
14
|
-
max-height 0.5s ease,
|
|
15
|
-
padding 0.5s ease;
|
|
16
|
-
opacity: 1;
|
|
17
|
-
height: fit-content;
|
|
18
|
-
max-height: fit-content;
|
|
19
|
-
overflow: hidden;
|
|
20
|
-
display: grid;
|
|
21
|
-
grid-template-columns: 20px auto;
|
|
22
|
-
&.exit {
|
|
23
|
-
opacity: 0;
|
|
24
|
-
max-height: 0;
|
|
25
|
-
padding: 0 1.25rem;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.alertIcon {
|
|
29
|
-
min-width: 1.25rem;
|
|
30
|
-
min-height: 1.25rem;
|
|
31
|
-
margin-top: 0.25rem;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
+ .alertContent {
|
|
35
|
-
margin-inline-start: 2rem;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.alertIcon {
|
|
39
|
-
&.success {
|
|
40
|
-
&.default {
|
|
41
|
-
path {
|
|
42
|
-
fill: var(--black);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&.outlined {
|
|
47
|
-
path {
|
|
48
|
-
fill: var(--alert-success);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&.filled {
|
|
53
|
-
path {
|
|
54
|
-
fill: var(--white);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
&.natural {
|
|
59
|
-
&.default {
|
|
60
|
-
path {
|
|
61
|
-
fill: var(--black);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
&.outlined {
|
|
65
|
-
path {
|
|
66
|
-
fill: var(--alert-natural);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
&.filled {
|
|
70
|
-
path {
|
|
71
|
-
fill: var(--white);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
&.info {
|
|
76
|
-
&.default {
|
|
77
|
-
path {
|
|
78
|
-
fill: var(--black);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&.outlined {
|
|
83
|
-
path {
|
|
84
|
-
fill: var(--alert-info);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
&.filled {
|
|
89
|
-
path {
|
|
90
|
-
fill: var(--white);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
&.warning {
|
|
96
|
-
&.default {
|
|
97
|
-
path {
|
|
98
|
-
fill: var(--black);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
&.outlined {
|
|
103
|
-
path {
|
|
104
|
-
fill: var(--alert-warning);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
&.filled {
|
|
109
|
-
path {
|
|
110
|
-
fill: var(--white);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&.error {
|
|
116
|
-
&.default {
|
|
117
|
-
path {
|
|
118
|
-
fill: var(--black);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
&.outlined {
|
|
123
|
-
path {
|
|
124
|
-
fill: var(--alert-error);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
&.filled {
|
|
129
|
-
path {
|
|
130
|
-
fill: var(--white);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.alertContent {
|
|
137
|
-
min-height: 1.125rem;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.actionContainer {
|
|
141
|
-
display: flex;
|
|
142
|
-
column-gap: 0.625rem;
|
|
143
|
-
width: fit-content;
|
|
144
|
-
height: fit-content;
|
|
145
|
-
position: absolute;
|
|
146
|
-
top: 1.125rem;
|
|
147
|
-
inset-inline-end: 1rem;
|
|
148
|
-
|
|
149
|
-
.closeIcon {
|
|
150
|
-
cursor: pointer;
|
|
151
|
-
|
|
152
|
-
&:focus:not(:focus-visible) {
|
|
153
|
-
outline: none;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
&.success {
|
|
159
|
-
&.default {
|
|
160
|
-
background: var(--alert-light-success);
|
|
161
|
-
color: var(--black);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
&.outlined {
|
|
165
|
-
background: transparent;
|
|
166
|
-
color: var(--alert-success);
|
|
167
|
-
border: 1px solid var(--alert-success);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
&.filled {
|
|
171
|
-
background: var(--alert-success);
|
|
172
|
-
color: var(--white);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
&.natural {
|
|
176
|
-
&.default {
|
|
177
|
-
background: var(--alert-natural);
|
|
178
|
-
color: var(--black);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
&.outlined {
|
|
182
|
-
background: transparent;
|
|
183
|
-
color: var(--alert-natural);
|
|
184
|
-
border: 1px solid var(--alert-natural);
|
|
185
|
-
}
|
|
186
|
-
&.filled {
|
|
187
|
-
background: var(--alert-natural);
|
|
188
|
-
color: var(--white);
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
&.info {
|
|
192
|
-
&.default {
|
|
193
|
-
background: var(--alert-light-info);
|
|
194
|
-
color: var(--black);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
&.outlined {
|
|
198
|
-
background: transparent;
|
|
199
|
-
color: var(--alert-info);
|
|
200
|
-
border: 1px solid var(--alert-info);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
&.filled {
|
|
204
|
-
background: var(--alert-info);
|
|
205
|
-
color: var(--white);
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
&.warning {
|
|
210
|
-
&.default {
|
|
211
|
-
background: var(--alert-light-warning);
|
|
212
|
-
color: var(--black);
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
&.outlined {
|
|
216
|
-
background: transparent;
|
|
217
|
-
color: var(--alert-warning);
|
|
218
|
-
border: 1px solid var(--alert-warning);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
&.filled {
|
|
222
|
-
background: var(--alert-warning);
|
|
223
|
-
color: var(--white);
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
&.error {
|
|
228
|
-
&.default {
|
|
229
|
-
background: var(--alert-light-error);
|
|
230
|
-
color: var(--black);
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
&.outlined {
|
|
234
|
-
background: transparent;
|
|
235
|
-
color: var(--alert-error);
|
|
236
|
-
border: 1px solid var(--alert-error);
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
&.filled {
|
|
240
|
-
background: var(--alert-error);
|
|
241
|
-
color: var(--white);
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}
|