matcha-theme 20.65.0 → 20.67.0
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/components/matcha-chip.scss +63 -70
- package/package.json +1 -1
|
@@ -13,80 +13,73 @@ matcha-chip{
|
|
|
13
13
|
overflow: hidden;
|
|
14
14
|
user-select: none;
|
|
15
15
|
|
|
16
|
+
&.matcha-chip-disabled {
|
|
17
|
+
opacity: 0.4;
|
|
18
|
+
pointer-events: none;
|
|
19
|
+
cursor: default;
|
|
20
|
+
}
|
|
16
21
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
&.matcha-chip-disabled {
|
|
21
|
-
opacity: 0.4;
|
|
22
|
-
pointer-events: none;
|
|
23
|
-
cursor: default;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&:not(.matcha-chip-disabled) {
|
|
27
|
-
cursor: pointer;
|
|
28
|
-
}
|
|
22
|
+
&:not(.matcha-chip-disabled) {
|
|
23
|
+
cursor: pointer;
|
|
29
24
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.matcha-chip-content {
|
|
28
|
+
display: inline-flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
text-overflow: ellipsis;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.matcha-chip-remove {
|
|
35
|
+
display: inline-flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
width: 18px;
|
|
39
|
+
height: 18px;
|
|
40
|
+
margin-left: 8px;
|
|
41
|
+
margin-right: -4px;
|
|
42
|
+
padding: 0;
|
|
43
|
+
border: none;
|
|
44
|
+
background: transparent;
|
|
45
|
+
border-radius: 50%;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
outline: none;
|
|
48
|
+
transition: opacity 0.2s;
|
|
49
|
+
|
|
50
|
+
&:hover {
|
|
51
|
+
opacity: 1;
|
|
36
52
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
align-items: center;
|
|
41
|
-
justify-content: center;
|
|
42
|
-
width: 18px;
|
|
43
|
-
height: 18px;
|
|
44
|
-
margin-left: 8px;
|
|
45
|
-
margin-right: -4px;
|
|
46
|
-
padding: 0;
|
|
47
|
-
border: none;
|
|
48
|
-
background: transparent;
|
|
49
|
-
border-radius: 50%;
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
outline: none;
|
|
52
|
-
transition: opacity 0.2s;
|
|
53
|
-
|
|
54
|
-
&:hover {
|
|
55
|
-
opacity: 1;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&:focus {
|
|
59
|
-
opacity: 1;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&[disabled] {
|
|
63
|
-
cursor: default;
|
|
64
|
-
opacity: 0.4;
|
|
65
|
-
}
|
|
53
|
+
|
|
54
|
+
&:focus {
|
|
55
|
+
opacity: 1;
|
|
66
56
|
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
color: inherit;
|
|
57
|
+
|
|
58
|
+
&[disabled] {
|
|
59
|
+
cursor: default;
|
|
60
|
+
opacity: 0.4;
|
|
72
61
|
}
|
|
73
|
-
|
|
74
|
-
|
|
62
|
+
}
|
|
75
63
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
64
|
+
.matcha-chip-remove-icon {
|
|
65
|
+
font-size: 18px;
|
|
66
|
+
line-height: 18px;
|
|
67
|
+
color: inherit;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.matcha-chip-list-wrapper {
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-wrap: wrap;
|
|
73
|
+
gap: 8px;
|
|
74
|
+
align-items: center;
|
|
75
|
+
|
|
76
|
+
&.matcha-chip-list-vertical {
|
|
77
|
+
flex-direction: column;
|
|
78
|
+
align-items: flex-start;
|
|
87
79
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.matcha-chip-list-disabled {
|
|
83
|
+
opacity: 0.6;
|
|
84
|
+
pointer-events: none;
|
|
85
|
+
}
|