@itcase/ui 1.0.9 → 1.0.11
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/Modal-375ef8c3.js +234 -0
- package/dist/components/Chips.js +2 -0
- package/dist/components/Choice.js +118 -0
- package/dist/components/DatePicker.js +9452 -0
- package/dist/components/DateRangePicker.js +218 -0
- package/dist/components/Dot.js +67 -0
- package/dist/components/FormField.js +2 -1
- package/dist/components/Group.js +5 -1
- package/dist/components/Input.js +2 -0
- package/dist/components/Logo.js +4 -4
- package/dist/components/Modal.js +20 -224
- package/dist/components/RangeSlider.js +7 -1978
- package/dist/components/Scrollbar.js +5 -3826
- package/dist/components/Search.js +1 -1
- package/dist/components/Select.js +349 -270
- package/dist/components/Tab.js +0 -1
- package/dist/css/components/Choice/Choice.css +67 -0
- package/dist/css/components/DatePicker/DatePicker.css +898 -0
- package/dist/css/components/DateRangePicker/DateRangePicker.css +1021 -0
- package/dist/css/components/Dot/Dot.css +23 -0
- package/dist/css/components/Modal/Modal.css +11 -26
- package/dist/css/components/Select/Select.css +11 -4
- package/dist/css/components/Select/css/__menu/select__menu.css +7 -3
- package/dist/css/styles/fill/fill.css +4 -4
- package/dist/css/styles/fill/fill_active.css +5 -5
- package/dist/defineProperty-72768a50.js +157 -0
- package/dist/index-738f53f6.js +787 -0
- package/dist/typeof-6dd323c6.js +13 -0
- package/package.json +4 -1
- package/dist/objectWithoutProperties-ea190611.js +0 -188
package/dist/components/Tab.js
CHANGED
|
@@ -135,7 +135,6 @@ function Tab(props) {
|
|
|
135
135
|
});
|
|
136
136
|
var _useStyles = useStyles.useStyles(props),
|
|
137
137
|
tab = _useStyles.styles;
|
|
138
|
-
console.log(tabConfig.appearance);
|
|
139
138
|
return /*#__PURE__*/React__default.default.createElement("div", {
|
|
140
139
|
className: clsx__default.default('tab', isActive && 'tab_state_active', isHover && 'tab_state_hover', appearance && ("fill_" + tabConfig.appearance[appearance].fillClass).replace(/([A-Z])/g, '-$1').toLowerCase(), appearance && ("fill_hover_" + tabConfig.appearance[appearance].fillHoverClass).replace(/([A-Z])/g, '-$1').toLowerCase(), className, sizeClass, fillClass, fillHoverClass, fillActiveClass, fillActiveHoverClass, fillDisabledClass, shapeClass, typeClass, widthClass, set && "tab_set_" + set, justifyContentClass),
|
|
141
140
|
style: tab,
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
.choice {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
&__wrapper {
|
|
5
|
+
position: relative;
|
|
6
|
+
display: flex;
|
|
7
|
+
^&__item {
|
|
8
|
+
min-width: 80px;
|
|
9
|
+
position: relative;
|
|
10
|
+
display: flex;
|
|
11
|
+
border-top: 0;
|
|
12
|
+
border-left: 0;
|
|
13
|
+
border-bottom: 0;
|
|
14
|
+
&last-child {
|
|
15
|
+
border-right: 0;
|
|
16
|
+
}
|
|
17
|
+
&_state_active {
|
|
18
|
+
}
|
|
19
|
+
& input {
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 100%;
|
|
22
|
+
position: absolute;
|
|
23
|
+
left: 0;
|
|
24
|
+
top: 0;
|
|
25
|
+
right: 0;
|
|
26
|
+
bottom: 0;
|
|
27
|
+
z-index: 2;
|
|
28
|
+
opacity: 0%;
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
border: 0;
|
|
31
|
+
margin: 0;
|
|
32
|
+
}
|
|
33
|
+
&-label {
|
|
34
|
+
width: 100%;
|
|
35
|
+
text-align: center;
|
|
36
|
+
position: relative;
|
|
37
|
+
display: block;
|
|
38
|
+
z-index: 3;
|
|
39
|
+
transition: color 0.5s ease;
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
.choice {
|
|
46
|
+
&_shape {
|
|
47
|
+
&_rounded {
|
|
48
|
+
border-radius: 8px;
|
|
49
|
+
}
|
|
50
|
+
&_circular {
|
|
51
|
+
border-radius: 50%;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
.choice {
|
|
56
|
+
&_size {
|
|
57
|
+
@each $size in normal, compact {
|
|
58
|
+
&_$(size) {
|
|
59
|
+
^^&__item {
|
|
60
|
+
&-label {
|
|
61
|
+
padding: var(--choice-item-size-$(size)-padding, 10px 16px);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|