@itcase/ui 1.0.81 → 1.0.83
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/components/Accordion.js +23 -7
- package/dist/components/Badge.js +3 -7
- package/dist/components/Button.js +1 -1
- package/dist/components/Cell.js +59 -55
- package/dist/components/Choice.js +5 -3
- package/dist/components/ContextMenu.js +1 -1
- package/dist/components/DatePicker.js +6 -2
- package/dist/components/Dropdown.js +1 -1
- package/dist/components/Label.js +14 -3
- package/dist/components/Search.js +6 -23
- package/dist/components/Select.js +4 -1
- package/dist/components/Tab.js +103 -104
- package/dist/constants/componentProps/borderColor.js +1 -1
- package/dist/constants/componentProps/fill.js +1 -1
- package/dist/constants/componentProps/textColor.js +1 -1
- package/dist/constants/componentProps/textColorHover.js +1 -1
- package/dist/css/components/Accordion/Accordion.css +4 -3
- package/dist/css/components/Avatar/Avatar.css +1 -1
- package/dist/css/components/Badge/Badge.css +1 -18
- package/dist/css/components/Button/Button.css +3 -14
- package/dist/css/components/Cell/Cell.css +12 -22
- package/dist/css/components/Chips/Chips.css +1 -2
- package/dist/css/components/Choice/Choice.css +1 -1
- package/dist/css/components/Code/Code.css +1 -1
- package/dist/css/components/ContextMenu/ContextMenu.css +2 -7
- package/dist/css/components/ContextMenu/css/__item/context-menu__item.css +1 -2
- package/dist/css/components/DatePicker/DatePicker.css +3 -0
- package/dist/css/components/Divider/Divider.css +24 -42
- package/dist/css/components/Dot/Dot.css +5 -9
- package/dist/css/components/Flex/Flex.css +2 -2
- package/dist/css/components/Flex/css/__item/flex__item_shape.css +1 -1
- package/dist/css/components/Grid/Grid.css +4 -2
- package/dist/css/components/Group/Group.css +1 -1
- package/dist/css/components/Icon/Icon.css +1 -1
- package/dist/css/components/Label/Label.css +1 -1
- package/dist/css/components/Modal/Modal.css +1 -1
- package/dist/css/components/Notification/Notification.css +7 -7
- package/dist/css/components/Notification/css/__item/notification__item_set_float.css +2 -2
- package/dist/css/components/Notification/css/__item/notification__item_set_form.css +2 -2
- package/dist/css/components/Notification/css/__item/notification__item_set_toast.css +2 -2
- package/dist/css/components/Notification/css/__item/notification__item_set_top.css +1 -1
- package/dist/css/components/Pagination/Pagination.css +14 -14
- package/dist/css/components/Pagination/css/__item/pagination__item.css +14 -14
- package/dist/css/components/RadioButton/RadioButton.css +2 -2
- package/dist/css/components/Search/Search.css +2 -3
- package/dist/css/components/Search/css/search-input/search-input.css +0 -1
- package/dist/css/components/Search/css/search-input/search-input_shape.css +1 -1
- package/dist/css/components/Segmented/Segmented.css +1 -1
- package/dist/css/components/Select/Select.css +33 -5
- package/dist/css/components/Select/css/__menu/select__menu-list-item_size.css +15 -0
- package/dist/css/components/Select/css/__menu/select__menu.css +5 -4
- package/dist/css/components/Select/css/__placeholder/select__placeholder.css +1 -0
- package/dist/css/components/Tab/Tab.css +31 -25
- package/dist/css/components/Textarea/Textarea.css +6 -6
- package/dist/css/components/Tile/Tile.css +2 -2
- package/dist/css/styles/border-color/border-color.css +2 -1
- package/dist/css/styles/fill/fill.css +19 -15
- package/dist/css/styles/text-color/text-color.css +2 -2
- package/package.json +1 -1
|
@@ -5,6 +5,35 @@
|
|
|
5
5
|
align-content: center;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
+
.tab-group {
|
|
9
|
+
position: relative;
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-flow: row wrap;
|
|
12
|
+
align-items: stretch;
|
|
13
|
+
& .tab {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-flow: column nowrap;
|
|
16
|
+
justify-content: flex-end;
|
|
17
|
+
&__wrapper {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex: 1;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
align-items: center;
|
|
22
|
+
gap: 4px;
|
|
23
|
+
}
|
|
24
|
+
&__label {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex: 1;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
div.tab-reset {
|
|
31
|
+
& .tab__wrapper {
|
|
32
|
+
padding: 0;
|
|
33
|
+
gap: 0;
|
|
34
|
+
margin: 0;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
8
37
|
.tab {
|
|
9
38
|
@each $val in flex-start, flex-end, center, space-between, space-around, space-evenly {
|
|
10
39
|
&_justify-content_$(val) {
|
|
@@ -17,7 +46,7 @@
|
|
|
17
46
|
.tab {
|
|
18
47
|
&_shape {
|
|
19
48
|
&_rounded {
|
|
20
|
-
border-radius: 12px;
|
|
49
|
+
border-radius: var(--tab-shape-rounded, 12px);
|
|
21
50
|
}
|
|
22
51
|
&_circular {
|
|
23
52
|
border-radius: 50%;
|
|
@@ -26,7 +55,7 @@
|
|
|
26
55
|
}
|
|
27
56
|
.tab {
|
|
28
57
|
&_size {
|
|
29
|
-
@each $size in normal, compact {
|
|
58
|
+
@each $size in normal, compact, xxs, xs, s, m, l, xl, xxl, {
|
|
30
59
|
&_$(size) {
|
|
31
60
|
^^&__wrapper {
|
|
32
61
|
padding: var(--tab-size-$(size)-padding);
|
|
@@ -36,29 +65,6 @@
|
|
|
36
65
|
}
|
|
37
66
|
}
|
|
38
67
|
}
|
|
39
|
-
.tab-group {
|
|
40
|
-
position: relative;
|
|
41
|
-
display: flex;
|
|
42
|
-
align-items: stretch;
|
|
43
|
-
flex-flow: row wrap;
|
|
44
|
-
& .tab {
|
|
45
|
-
display: flex;
|
|
46
|
-
flex-flow: column nowrap;
|
|
47
|
-
justify-content: flex-end;
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
&__wrapper {
|
|
50
|
-
display: flex;
|
|
51
|
-
flex: 1;
|
|
52
|
-
justify-content: center;
|
|
53
|
-
align-items: center;
|
|
54
|
-
gap: 4px;
|
|
55
|
-
}
|
|
56
|
-
&__label {
|
|
57
|
-
flex: 1;
|
|
58
|
-
display: flex;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
68
|
:root {
|
|
63
69
|
--tab-size-normal-padding: 10px;
|
|
64
70
|
--tab-size-normal-gap: 10px;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.textarea {
|
|
2
2
|
width: 100%;
|
|
3
3
|
min-width: 100%;
|
|
4
|
-
min-height: 160px;
|
|
5
|
-
max-height: 160px;
|
|
6
|
-
padding: 16px 16px;
|
|
4
|
+
min-height: var(--textarea-min-height, 160px);
|
|
5
|
+
max-height: var(--textarea-max-height, 160px);
|
|
6
|
+
padding: var(--textarea-padding, 16px 16px);
|
|
7
|
+
padding: 0;
|
|
8
|
+
margin: 0;
|
|
9
|
+
border: none;
|
|
7
10
|
z-index: 1;
|
|
8
11
|
outline: 0;
|
|
9
12
|
resize: none;
|
|
10
|
-
border: none;
|
|
11
13
|
appearance: none;
|
|
12
|
-
padding: 0;
|
|
13
|
-
margin: 0;
|
|
14
14
|
&:read-only {
|
|
15
15
|
color: var(--color-surface-text-tertiary);
|
|
16
16
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
.tile {
|
|
7
7
|
&_shape {
|
|
8
8
|
&_rounded {
|
|
9
|
-
border-radius: 12px;
|
|
9
|
+
border-radius: var(--tile-shape-rounded, 12px);
|
|
10
10
|
}
|
|
11
11
|
&_circular {
|
|
12
12
|
border-radius: 50%;
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
.tile {
|
|
32
32
|
&_type {
|
|
33
33
|
&_icon {
|
|
34
|
-
padding: 16px;
|
|
34
|
+
padding: var(--tile-type-icon-padding, 16px);
|
|
35
35
|
^^&__icon {
|
|
36
36
|
margin: 0 0 16px 0;
|
|
37
37
|
}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
@each $type in accent, primary, secondary, tertiary, surface, success, error {
|
|
3
3
|
&_$(type) {
|
|
4
4
|
&-border {
|
|
5
|
-
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, active,
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, active,
|
|
6
|
+
disabled, hover, invert {
|
|
6
7
|
&-$(color) {
|
|
7
8
|
border-width: 1px;
|
|
8
9
|
border-color: var(--color-$(type)-border-$(color));
|
|
@@ -1,21 +1,13 @@
|
|
|
1
1
|
.fill {
|
|
2
|
-
@each $type in accent, primary, secondary, tertiary, surface, success, error, info,
|
|
2
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error, info, gradient,
|
|
3
|
+
warning {
|
|
3
4
|
&_$(type) {
|
|
4
|
-
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
5
|
-
&-$(color) {
|
|
6
|
-
background: var(--color-$(type)-$(color));
|
|
7
|
-
@each $alpha in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 75, 80, 85, 90, 95 {
|
|
8
|
-
&$(alpha) {
|
|
9
|
-
background: var(--color-$(type)-$(color)-$(alpha));
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
5
|
&-item {
|
|
15
|
-
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled,
|
|
6
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled,
|
|
7
|
+
hover {
|
|
16
8
|
&-$(color) {
|
|
17
9
|
background: var(--color-$(type)-item-$(color));
|
|
18
|
-
@each $alpha in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 75, 80, 85, 90, 95
|
|
10
|
+
@each $alpha in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 75, 80, 85, 90, 95 {
|
|
19
11
|
&$(alpha) {
|
|
20
12
|
background: var(--color-$(type)-item-$(color)-$(alpha));
|
|
21
13
|
}
|
|
@@ -23,13 +15,25 @@
|
|
|
23
15
|
}
|
|
24
16
|
}
|
|
25
17
|
}
|
|
18
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled,
|
|
19
|
+
hover {
|
|
20
|
+
&-$(color) {
|
|
21
|
+
background: var(--color-$(type)-$(color));
|
|
22
|
+
@each $alpha in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 75, 80, 85, 90, 95 {
|
|
23
|
+
&$(alpha) {
|
|
24
|
+
background: var(--color-$(type)-$(color)-$(alpha));
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
26
29
|
}
|
|
27
30
|
}
|
|
28
|
-
@each $type in accent, primary, secondary, tertiary, quaternary, quinary, surface, success, error,
|
|
31
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, quinary, surface, success, error,
|
|
32
|
+
info, warning {
|
|
29
33
|
&_$(type) {
|
|
30
34
|
&-primary {
|
|
31
35
|
background: var(--color-$(type)-primary);
|
|
32
|
-
@each $opacity in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 75, 80, 85, 90, 95
|
|
36
|
+
@each $opacity in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 75, 80, 85, 90, 95 {
|
|
33
37
|
&$(alpha) {
|
|
34
38
|
background: var(--color-$(type)-primary$(opacity));
|
|
35
39
|
}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
@each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning {
|
|
3
3
|
&_$(type) {
|
|
4
4
|
&-text {
|
|
5
|
-
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled,
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled,
|
|
6
|
+
hover, invert {
|
|
6
7
|
&-$(color) {
|
|
7
8
|
color: var(--color-$(type)-text-$(color));
|
|
8
9
|
}
|
|
@@ -11,4 +12,3 @@
|
|
|
11
12
|
}
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
|
-
|