@gooddata/sdk-ui-kit 11.55.0-alpha.0 → 11.55.0-alpha.2
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/esm/@ui/UiChip/ChipActionButton.d.ts +3 -0
- package/esm/@ui/UiChip/ChipActionButton.d.ts.map +1 -0
- package/esm/@ui/UiChip/ChipActionButton.js +8 -0
- package/esm/@ui/UiChip/ChipContent.d.ts +1 -1
- package/esm/@ui/UiChip/ChipContent.d.ts.map +1 -1
- package/esm/@ui/UiChip/ChipContent.js +6 -4
- package/esm/@ui/UiChip/ChipDeleteButton.d.ts +1 -1
- package/esm/@ui/UiChip/ChipDeleteButton.d.ts.map +1 -1
- package/esm/@ui/UiChip/ChipDeleteButton.js +2 -2
- package/esm/@ui/UiChip/UiChip.d.ts +1 -1
- package/esm/@ui/UiChip/UiChip.d.ts.map +1 -1
- package/esm/@ui/UiChip/UiChip.js +8 -5
- package/esm/@ui/UiChip/types.d.ts +19 -1
- package/esm/@ui/UiChip/types.d.ts.map +1 -1
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuInteractiveItem.d.ts +1 -1
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuInteractiveItem.d.ts.map +1 -1
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuInteractiveItem.js +2 -2
- package/esm/@ui/UiMenu/types.d.ts +1 -0
- package/esm/@ui/UiMenu/types.d.ts.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelectSelectionStatus.d.ts.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelectSelectionStatus.js +27 -5
- package/esm/ParameterControl/ParameterControlButton.d.ts +3 -2
- package/esm/ParameterControl/ParameterControlButton.d.ts.map +1 -1
- package/esm/ParameterControl/ParameterControlButton.js +5 -2
- package/esm/Timezone/TimezoneSelect.d.ts +1 -1
- package/esm/Timezone/TimezoneSelect.d.ts.map +1 -1
- package/esm/Timezone/TimezoneSelect.js +10 -1
- package/esm/sdk-ui-kit.d.ts +15 -5
- package/package.json +17 -19
- package/src/@ui/UiChip/UiChip.scss +110 -15
- package/styles/css/main.css +86 -13
- package/styles/css/main.css.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-kit",
|
|
3
|
-
"version": "11.55.0-alpha.
|
|
3
|
+
"version": "11.55.0-alpha.2",
|
|
4
4
|
"description": "GoodData SDK - UI Building Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@lezer/highlight": "~1.2.3",
|
|
52
52
|
"@tanstack/react-virtual": "^3.11.1",
|
|
53
53
|
"@types/mdast": "^4.0.4",
|
|
54
|
-
"@types/unist": "
|
|
54
|
+
"@types/unist": "3.0.3",
|
|
55
55
|
"classnames": "2.5.1",
|
|
56
56
|
"copy-to-clipboard": "^3.3.3",
|
|
57
57
|
"cron-parser": "5.9.0",
|
|
@@ -78,21 +78,21 @@
|
|
|
78
78
|
"unified": "^11.0.5",
|
|
79
79
|
"uuid": "11.1.1",
|
|
80
80
|
"yaml": "2.8.3",
|
|
81
|
-
"@gooddata/sdk-backend-spi": "11.55.0-alpha.
|
|
82
|
-
"@gooddata/sdk-model": "11.55.0-alpha.
|
|
83
|
-
"@gooddata/sdk-ui": "11.55.0-alpha.
|
|
84
|
-
"@gooddata/
|
|
85
|
-
"@gooddata/
|
|
81
|
+
"@gooddata/sdk-backend-spi": "11.55.0-alpha.2",
|
|
82
|
+
"@gooddata/sdk-model": "11.55.0-alpha.2",
|
|
83
|
+
"@gooddata/sdk-ui": "11.55.0-alpha.2",
|
|
84
|
+
"@gooddata/util": "11.55.0-alpha.2",
|
|
85
|
+
"@gooddata/sdk-ui-theme-provider": "11.55.0-alpha.2"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@microsoft/api-documenter": "7.30.10",
|
|
89
|
-
"@microsoft/api-extractor": "
|
|
89
|
+
"@microsoft/api-extractor": "7.58.12",
|
|
90
90
|
"@testing-library/dom": "10.4.1",
|
|
91
91
|
"@testing-library/react": "16.3.0",
|
|
92
92
|
"@testing-library/user-event": "14.6.1",
|
|
93
|
-
"@types/debounce-promise": "
|
|
93
|
+
"@types/debounce-promise": "3.1.9",
|
|
94
94
|
"@types/kefir": "3.8.11",
|
|
95
|
-
"@types/lodash-es": "
|
|
95
|
+
"@types/lodash-es": "4.17.12",
|
|
96
96
|
"@types/node": "24.12.0",
|
|
97
97
|
"@types/raf": "3.4.3",
|
|
98
98
|
"@types/react": "19.1.11",
|
|
@@ -106,10 +106,8 @@
|
|
|
106
106
|
"@vitest/eslint-plugin": "1.6.19",
|
|
107
107
|
"dependency-cruiser": "17.3.10",
|
|
108
108
|
"eslint": "^9.39.2",
|
|
109
|
-
"eslint-import-resolver-typescript": "4.4.4",
|
|
110
109
|
"eslint-plugin-headers": "1.3.3",
|
|
111
110
|
"eslint-plugin-import-esm": "1.2.1",
|
|
112
|
-
"eslint-plugin-import-x": "4.16.1",
|
|
113
111
|
"eslint-plugin-jsdoc": "62.1.0",
|
|
114
112
|
"eslint-plugin-no-barrel-files": "1.2.2",
|
|
115
113
|
"eslint-plugin-no-only-tests": "3.3.0",
|
|
@@ -118,7 +116,7 @@
|
|
|
118
116
|
"eslint-plugin-sonarjs": "3.0.6",
|
|
119
117
|
"happy-dom": "20.9.0",
|
|
120
118
|
"kefir": "3.8.8",
|
|
121
|
-
"npm-run-all": "
|
|
119
|
+
"npm-run-all": "4.1.5",
|
|
122
120
|
"oxfmt": "0.52.0",
|
|
123
121
|
"oxlint": "1.51.0",
|
|
124
122
|
"oxlint-tsgolint": "0.15.0",
|
|
@@ -126,16 +124,16 @@
|
|
|
126
124
|
"react": "19.1.1",
|
|
127
125
|
"react-dom": "19.1.1",
|
|
128
126
|
"sass": "1.70.0",
|
|
129
|
-
"stylelint": "
|
|
127
|
+
"stylelint": "16.26.1",
|
|
130
128
|
"svgo": "2.8.3",
|
|
131
129
|
"typescript": "5.9.3",
|
|
132
130
|
"vitest": "4.1.8",
|
|
133
131
|
"vitest-dom": "0.1.1",
|
|
134
|
-
"@gooddata/eslint-config": "11.55.0-alpha.
|
|
135
|
-
"@gooddata/oxlint-config": "11.55.0-alpha.
|
|
136
|
-
"@gooddata/reference-workspace": "11.55.0-alpha.
|
|
137
|
-
"@gooddata/
|
|
138
|
-
"@gooddata/
|
|
132
|
+
"@gooddata/eslint-config": "11.55.0-alpha.2",
|
|
133
|
+
"@gooddata/oxlint-config": "11.55.0-alpha.2",
|
|
134
|
+
"@gooddata/reference-workspace": "11.55.0-alpha.2",
|
|
135
|
+
"@gooddata/stylelint-config": "11.55.0-alpha.2",
|
|
136
|
+
"@gooddata/sdk-backend-mockingbird": "11.55.0-alpha.2"
|
|
139
137
|
},
|
|
140
138
|
"peerDependencies": {
|
|
141
139
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -7,9 +7,13 @@ $box-shadow: var(--gd-button-dropShadow, 0 -1px 0 0) var(--gd-palette-complement
|
|
|
7
7
|
|
|
8
8
|
$active-background-color: var(--gd-palette-complementary-2);
|
|
9
9
|
|
|
10
|
-
$
|
|
11
|
-
$
|
|
12
|
-
$
|
|
10
|
+
$delete-border-color: var(--gd-palette-error-base-t50);
|
|
11
|
+
$delete-background-color: var(--gd-palette-error-lightest);
|
|
12
|
+
$delete-box-shadow: var(--gd-button-dropShadow, 0 -1px 0 0) var(--gd-palette-error-base-t50) inset;
|
|
13
|
+
|
|
14
|
+
$action-border-color: var(--gd-palette-complementary-4);
|
|
15
|
+
$action-background-color: var(--gd-palette-complementary-2);
|
|
16
|
+
$action-box-shadow: var(--gd-button-dropShadow, 0 -1px 0 0) var(--gd-palette-complementary-5-t40) inset;
|
|
13
17
|
|
|
14
18
|
.gd-ui-kit-chip {
|
|
15
19
|
$root: &;
|
|
@@ -50,6 +54,15 @@ $action-box-shadow: var(--gd-button-dropShadow, 0 -1px 0 0) var(--gd-palette-err
|
|
|
50
54
|
#{$root}__trigger--isDeletable:not(:disabled) {
|
|
51
55
|
border-right: 1px solid $border-color;
|
|
52
56
|
}
|
|
57
|
+
#{$root}__trigger--isDeletable#{$root}__trigger--variant-inactive:not(:disabled) {
|
|
58
|
+
border-right: 1px dashed $border-color;
|
|
59
|
+
}
|
|
60
|
+
#{$root}__trigger--isActionable:not(:disabled) {
|
|
61
|
+
border-right: 1px solid $border-color;
|
|
62
|
+
}
|
|
63
|
+
#{$root}__trigger--isActionable#{$root}__trigger--variant-inactive:not(:disabled) {
|
|
64
|
+
border-right: 1px dashed $border-color;
|
|
65
|
+
}
|
|
53
66
|
|
|
54
67
|
&:has(#{$root}__trigger--isLocked:hover) {
|
|
55
68
|
&::after {
|
|
@@ -64,45 +77,94 @@ $action-box-shadow: var(--gd-button-dropShadow, 0 -1px 0 0) var(--gd-palette-err
|
|
|
64
77
|
}
|
|
65
78
|
|
|
66
79
|
&:has(#{$root}__delete:hover) {
|
|
80
|
+
border-color: $delete-border-color;
|
|
81
|
+
background-color: $delete-background-color;
|
|
82
|
+
|
|
83
|
+
&::after {
|
|
84
|
+
box-shadow: $delete-box-shadow;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
#{$root}__trigger:not(#{$root}__trigger--isLocked:disabled) {
|
|
88
|
+
border-color: $delete-border-color;
|
|
89
|
+
border-right: 1px solid $delete-border-color;
|
|
90
|
+
}
|
|
91
|
+
#{$root}__trigger#{$root}__trigger--variant-inactive:not(#{$root}__trigger--isLocked:disabled) {
|
|
92
|
+
border-right: 1px dashed $delete-border-color;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
#{$root}__trigger--isActive {
|
|
96
|
+
background-color: $delete-background-color;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&:has(#{$root}__action:hover) {
|
|
67
101
|
border-color: $action-border-color;
|
|
68
102
|
background-color: $action-background-color;
|
|
69
103
|
|
|
70
104
|
&::after {
|
|
71
|
-
content: "";
|
|
72
|
-
border-radius: inherit;
|
|
73
105
|
box-shadow: $action-box-shadow;
|
|
74
|
-
position: absolute;
|
|
75
|
-
width: 100%;
|
|
76
|
-
height: 100%;
|
|
77
|
-
left: 0;
|
|
78
|
-
top: 0;
|
|
79
|
-
pointer-events: none;
|
|
80
106
|
}
|
|
81
107
|
|
|
82
108
|
#{$root}__trigger:not(#{$root}__trigger--isLocked:disabled) {
|
|
83
109
|
border-color: $action-border-color;
|
|
84
110
|
border-right: 1px solid $action-border-color;
|
|
85
111
|
}
|
|
112
|
+
#{$root}__trigger#{$root}__trigger--variant-inactive:not(#{$root}__trigger--isLocked:disabled) {
|
|
113
|
+
border-right: 1px dashed $action-border-color;
|
|
114
|
+
}
|
|
86
115
|
|
|
87
116
|
#{$root}__trigger--isActive {
|
|
88
117
|
background-color: $action-background-color;
|
|
89
118
|
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&:has(#{$root}__delete:hover),
|
|
122
|
+
&:has(#{$root}__action:hover) {
|
|
123
|
+
&::after {
|
|
124
|
+
content: "";
|
|
125
|
+
border-radius: inherit;
|
|
126
|
+
position: absolute;
|
|
127
|
+
width: 100%;
|
|
128
|
+
height: 100%;
|
|
129
|
+
left: 0;
|
|
130
|
+
top: 0;
|
|
131
|
+
pointer-events: none;
|
|
132
|
+
}
|
|
90
133
|
|
|
91
134
|
#{$root}__delete {
|
|
92
135
|
color: var(--gd-palette-error-base);
|
|
93
136
|
}
|
|
137
|
+
#{$root}__action {
|
|
138
|
+
color: var(--gd-palette-complementary-2);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&--variant-inactive {
|
|
143
|
+
border-style: dashed;
|
|
94
144
|
}
|
|
95
145
|
|
|
96
146
|
#{$root}__trigger--isDeletable {
|
|
97
147
|
border-right: 1px solid transparent;
|
|
98
148
|
}
|
|
99
|
-
|
|
149
|
+
#{$root}__trigger--isDeletable#{$root}__trigger--variant-inactive {
|
|
150
|
+
border-right: 1px dashed transparent;
|
|
151
|
+
}
|
|
100
152
|
#{$root}__trigger--hasIconAfter#{$root}__trigger--isDeletable {
|
|
101
153
|
padding-right: 3px;
|
|
102
154
|
}
|
|
155
|
+
#{$root}__trigger--isActionable {
|
|
156
|
+
border-right: 1px solid transparent;
|
|
157
|
+
}
|
|
158
|
+
#{$root}__trigger--isActionable#{$root}__trigger--variant-inactive {
|
|
159
|
+
border-right: 1px dashed transparent;
|
|
160
|
+
}
|
|
161
|
+
#{$root}__trigger--hasIconAfter#{$root}__trigger--isActionable {
|
|
162
|
+
padding-right: 3px;
|
|
163
|
+
}
|
|
103
164
|
|
|
104
165
|
&__trigger,
|
|
105
|
-
&__delete
|
|
166
|
+
&__delete,
|
|
167
|
+
&__action {
|
|
106
168
|
color: var(--gd-palette-complementary-7);
|
|
107
169
|
background-color: transparent;
|
|
108
170
|
border-radius: var(--gd-button-borderRadius);
|
|
@@ -129,11 +191,19 @@ $action-box-shadow: var(--gd-button-dropShadow, 0 -1px 0 0) var(--gd-palette-err
|
|
|
129
191
|
border-radius: $border-radius 0 0 $border-radius;
|
|
130
192
|
border-right: 1px solid transparent;
|
|
131
193
|
|
|
194
|
+
&--variant-inactive {
|
|
195
|
+
border-right: 1px dashed transparent;
|
|
196
|
+
color: var(--gd-palette-complementary-6);
|
|
197
|
+
}
|
|
198
|
+
|
|
132
199
|
&--isActive {
|
|
133
200
|
color: var(--gd-palette-complementary-8);
|
|
134
201
|
background-color: $active-background-color;
|
|
135
202
|
border-right: 1px solid $border-color;
|
|
136
203
|
}
|
|
204
|
+
&--isActive#{$root}__trigger--variant-inactive {
|
|
205
|
+
border-right: 1px dashed $border-color;
|
|
206
|
+
}
|
|
137
207
|
|
|
138
208
|
&--isLocked {
|
|
139
209
|
cursor: default;
|
|
@@ -147,7 +217,7 @@ $action-box-shadow: var(--gd-button-dropShadow, 0 -1px 0 0) var(--gd-palette-err
|
|
|
147
217
|
}
|
|
148
218
|
}
|
|
149
219
|
|
|
150
|
-
&:not(&:disabled) {
|
|
220
|
+
&:not(&:disabled):not(#{$root}__trigger--variant-inactive) {
|
|
151
221
|
&:hover,
|
|
152
222
|
&:focus,
|
|
153
223
|
&:active {
|
|
@@ -159,7 +229,7 @@ $action-box-shadow: var(--gd-button-dropShadow, 0 -1px 0 0) var(--gd-palette-err
|
|
|
159
229
|
}
|
|
160
230
|
}
|
|
161
231
|
|
|
162
|
-
&:not(&--isDeletable) {
|
|
232
|
+
&:not(&--isDeletable):not(&--isActionable) {
|
|
163
233
|
border-radius: $border-radius;
|
|
164
234
|
border: none;
|
|
165
235
|
}
|
|
@@ -183,6 +253,24 @@ $action-box-shadow: var(--gd-button-dropShadow, 0 -1px 0 0) var(--gd-palette-err
|
|
|
183
253
|
}
|
|
184
254
|
}
|
|
185
255
|
|
|
256
|
+
&__action {
|
|
257
|
+
flex-shrink: 0;
|
|
258
|
+
border-radius: 0 $border-radius $border-radius 0;
|
|
259
|
+
padding: 0 7px 0 3px;
|
|
260
|
+
|
|
261
|
+
&:not(&:disabled) {
|
|
262
|
+
&:hover,
|
|
263
|
+
&:focus,
|
|
264
|
+
&:active {
|
|
265
|
+
svg {
|
|
266
|
+
color: var(--gd-palette-complementary-2);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
color: var(--gd-palette-complementary-8);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
186
274
|
&__label {
|
|
187
275
|
transition: var(--gd-transition-all);
|
|
188
276
|
white-space: nowrap;
|
|
@@ -242,4 +330,11 @@ $action-box-shadow: var(--gd-button-dropShadow, 0 -1px 0 0) var(--gd-palette-err
|
|
|
242
330
|
justify-content: center;
|
|
243
331
|
transition: var(--gd-transition-all);
|
|
244
332
|
}
|
|
333
|
+
|
|
334
|
+
&__icon-action {
|
|
335
|
+
display: flex;
|
|
336
|
+
align-items: center;
|
|
337
|
+
justify-content: center;
|
|
338
|
+
transition: var(--gd-transition-all);
|
|
339
|
+
}
|
|
245
340
|
}
|
package/styles/css/main.css
CHANGED
|
@@ -1154,6 +1154,15 @@
|
|
|
1154
1154
|
.gd-ui-kit-chip:has(.gd-ui-kit-chip__trigger:hover) .gd-ui-kit-chip__trigger--isDeletable:not(:disabled) {
|
|
1155
1155
|
border-right: 1px solid var(--gd-palette-complementary-4);
|
|
1156
1156
|
}
|
|
1157
|
+
.gd-ui-kit-chip:has(.gd-ui-kit-chip__trigger:hover) .gd-ui-kit-chip__trigger--isDeletable.gd-ui-kit-chip__trigger--variant-inactive:not(:disabled) {
|
|
1158
|
+
border-right: 1px dashed var(--gd-palette-complementary-4);
|
|
1159
|
+
}
|
|
1160
|
+
.gd-ui-kit-chip:has(.gd-ui-kit-chip__trigger:hover) .gd-ui-kit-chip__trigger--isActionable:not(:disabled) {
|
|
1161
|
+
border-right: 1px solid var(--gd-palette-complementary-4);
|
|
1162
|
+
}
|
|
1163
|
+
.gd-ui-kit-chip:has(.gd-ui-kit-chip__trigger:hover) .gd-ui-kit-chip__trigger--isActionable.gd-ui-kit-chip__trigger--variant-inactive:not(:disabled) {
|
|
1164
|
+
border-right: 1px dashed var(--gd-palette-complementary-4);
|
|
1165
|
+
}
|
|
1157
1166
|
.gd-ui-kit-chip:has(.gd-ui-kit-chip__trigger:hover):has(.gd-ui-kit-chip__trigger--isLocked:hover)::after {
|
|
1158
1167
|
content: none;
|
|
1159
1168
|
}
|
|
@@ -1166,9 +1175,38 @@
|
|
|
1166
1175
|
background-color: var(--gd-palette-error-lightest);
|
|
1167
1176
|
}
|
|
1168
1177
|
.gd-ui-kit-chip:has(.gd-ui-kit-chip__delete:hover)::after {
|
|
1178
|
+
box-shadow: var(--gd-button-dropShadow, 0 -1px 0 0) var(--gd-palette-error-base-t50) inset;
|
|
1179
|
+
}
|
|
1180
|
+
.gd-ui-kit-chip:has(.gd-ui-kit-chip__delete:hover) .gd-ui-kit-chip__trigger:not(.gd-ui-kit-chip__trigger--isLocked:disabled) {
|
|
1181
|
+
border-color: var(--gd-palette-error-base-t50);
|
|
1182
|
+
border-right: 1px solid var(--gd-palette-error-base-t50);
|
|
1183
|
+
}
|
|
1184
|
+
.gd-ui-kit-chip:has(.gd-ui-kit-chip__delete:hover) .gd-ui-kit-chip__trigger.gd-ui-kit-chip__trigger--variant-inactive:not(.gd-ui-kit-chip__trigger--isLocked:disabled) {
|
|
1185
|
+
border-right: 1px dashed var(--gd-palette-error-base-t50);
|
|
1186
|
+
}
|
|
1187
|
+
.gd-ui-kit-chip:has(.gd-ui-kit-chip__delete:hover) .gd-ui-kit-chip__trigger--isActive {
|
|
1188
|
+
background-color: var(--gd-palette-error-lightest);
|
|
1189
|
+
}
|
|
1190
|
+
.gd-ui-kit-chip:has(.gd-ui-kit-chip__action:hover) {
|
|
1191
|
+
border-color: var(--gd-palette-complementary-4);
|
|
1192
|
+
background-color: var(--gd-palette-complementary-2);
|
|
1193
|
+
}
|
|
1194
|
+
.gd-ui-kit-chip:has(.gd-ui-kit-chip__action:hover)::after {
|
|
1195
|
+
box-shadow: var(--gd-button-dropShadow, 0 -1px 0 0) var(--gd-palette-complementary-5-t40) inset;
|
|
1196
|
+
}
|
|
1197
|
+
.gd-ui-kit-chip:has(.gd-ui-kit-chip__action:hover) .gd-ui-kit-chip__trigger:not(.gd-ui-kit-chip__trigger--isLocked:disabled) {
|
|
1198
|
+
border-color: var(--gd-palette-complementary-4);
|
|
1199
|
+
border-right: 1px solid var(--gd-palette-complementary-4);
|
|
1200
|
+
}
|
|
1201
|
+
.gd-ui-kit-chip:has(.gd-ui-kit-chip__action:hover) .gd-ui-kit-chip__trigger.gd-ui-kit-chip__trigger--variant-inactive:not(.gd-ui-kit-chip__trigger--isLocked:disabled) {
|
|
1202
|
+
border-right: 1px dashed var(--gd-palette-complementary-4);
|
|
1203
|
+
}
|
|
1204
|
+
.gd-ui-kit-chip:has(.gd-ui-kit-chip__action:hover) .gd-ui-kit-chip__trigger--isActive {
|
|
1205
|
+
background-color: var(--gd-palette-complementary-2);
|
|
1206
|
+
}
|
|
1207
|
+
.gd-ui-kit-chip:has(.gd-ui-kit-chip__delete:hover)::after, .gd-ui-kit-chip:has(.gd-ui-kit-chip__action:hover)::after {
|
|
1169
1208
|
content: "";
|
|
1170
1209
|
border-radius: inherit;
|
|
1171
|
-
box-shadow: var(--gd-button-dropShadow, 0 -1px 0 0) var(--gd-palette-error-base-t50) inset;
|
|
1172
1210
|
position: absolute;
|
|
1173
1211
|
width: 100%;
|
|
1174
1212
|
height: 100%;
|
|
@@ -1176,23 +1214,34 @@
|
|
|
1176
1214
|
top: 0;
|
|
1177
1215
|
pointer-events: none;
|
|
1178
1216
|
}
|
|
1179
|
-
.gd-ui-kit-chip:has(.gd-ui-kit-chip__delete:hover) .gd-ui-kit-
|
|
1180
|
-
|
|
1181
|
-
border-right: 1px solid var(--gd-palette-error-base-t50);
|
|
1217
|
+
.gd-ui-kit-chip:has(.gd-ui-kit-chip__delete:hover) .gd-ui-kit-chip__delete, .gd-ui-kit-chip:has(.gd-ui-kit-chip__action:hover) .gd-ui-kit-chip__delete {
|
|
1218
|
+
color: var(--gd-palette-error-base);
|
|
1182
1219
|
}
|
|
1183
|
-
.gd-ui-kit-chip:has(.gd-ui-kit-chip__delete:hover) .gd-ui-kit-
|
|
1184
|
-
|
|
1220
|
+
.gd-ui-kit-chip:has(.gd-ui-kit-chip__delete:hover) .gd-ui-kit-chip__action, .gd-ui-kit-chip:has(.gd-ui-kit-chip__action:hover) .gd-ui-kit-chip__action {
|
|
1221
|
+
color: var(--gd-palette-complementary-2);
|
|
1185
1222
|
}
|
|
1186
|
-
.gd-ui-kit-chip
|
|
1187
|
-
|
|
1223
|
+
.gd-ui-kit-chip--variant-inactive {
|
|
1224
|
+
border-style: dashed;
|
|
1188
1225
|
}
|
|
1189
1226
|
.gd-ui-kit-chip .gd-ui-kit-chip__trigger--isDeletable {
|
|
1190
1227
|
border-right: 1px solid transparent;
|
|
1191
1228
|
}
|
|
1229
|
+
.gd-ui-kit-chip .gd-ui-kit-chip__trigger--isDeletable.gd-ui-kit-chip__trigger--variant-inactive {
|
|
1230
|
+
border-right: 1px dashed transparent;
|
|
1231
|
+
}
|
|
1192
1232
|
.gd-ui-kit-chip .gd-ui-kit-chip__trigger--hasIconAfter.gd-ui-kit-chip__trigger--isDeletable {
|
|
1193
1233
|
padding-right: 3px;
|
|
1194
1234
|
}
|
|
1195
|
-
.gd-ui-kit-
|
|
1235
|
+
.gd-ui-kit-chip .gd-ui-kit-chip__trigger--isActionable {
|
|
1236
|
+
border-right: 1px solid transparent;
|
|
1237
|
+
}
|
|
1238
|
+
.gd-ui-kit-chip .gd-ui-kit-chip__trigger--isActionable.gd-ui-kit-chip__trigger--variant-inactive {
|
|
1239
|
+
border-right: 1px dashed transparent;
|
|
1240
|
+
}
|
|
1241
|
+
.gd-ui-kit-chip .gd-ui-kit-chip__trigger--hasIconAfter.gd-ui-kit-chip__trigger--isActionable {
|
|
1242
|
+
padding-right: 3px;
|
|
1243
|
+
}
|
|
1244
|
+
.gd-ui-kit-chip__trigger, .gd-ui-kit-chip__delete, .gd-ui-kit-chip__action {
|
|
1196
1245
|
color: var(--gd-palette-complementary-7);
|
|
1197
1246
|
background-color: transparent;
|
|
1198
1247
|
border-radius: var(--gd-button-borderRadius);
|
|
@@ -1209,7 +1258,7 @@
|
|
|
1209
1258
|
padding: 0 10px;
|
|
1210
1259
|
border: none;
|
|
1211
1260
|
}
|
|
1212
|
-
.gd-ui-kit-chip__trigger:disabled, .gd-ui-kit-chip__delete:disabled {
|
|
1261
|
+
.gd-ui-kit-chip__trigger:disabled, .gd-ui-kit-chip__delete:disabled, .gd-ui-kit-chip__action:disabled {
|
|
1213
1262
|
cursor: default;
|
|
1214
1263
|
color: var(--gd-palette-complementary-5);
|
|
1215
1264
|
}
|
|
@@ -1217,11 +1266,18 @@
|
|
|
1217
1266
|
border-radius: 20px 0 0 20px;
|
|
1218
1267
|
border-right: 1px solid transparent;
|
|
1219
1268
|
}
|
|
1269
|
+
.gd-ui-kit-chip__trigger--variant-inactive {
|
|
1270
|
+
border-right: 1px dashed transparent;
|
|
1271
|
+
color: var(--gd-palette-complementary-6);
|
|
1272
|
+
}
|
|
1220
1273
|
.gd-ui-kit-chip__trigger--isActive {
|
|
1221
1274
|
color: var(--gd-palette-complementary-8);
|
|
1222
1275
|
background-color: var(--gd-palette-complementary-2);
|
|
1223
1276
|
border-right: 1px solid var(--gd-palette-complementary-4);
|
|
1224
1277
|
}
|
|
1278
|
+
.gd-ui-kit-chip__trigger--isActive.gd-ui-kit-chip__trigger--variant-inactive {
|
|
1279
|
+
border-right: 1px dashed var(--gd-palette-complementary-4);
|
|
1280
|
+
}
|
|
1225
1281
|
.gd-ui-kit-chip__trigger--isLocked {
|
|
1226
1282
|
cursor: default;
|
|
1227
1283
|
color: var(--gd-palette-complementary-7);
|
|
@@ -1232,13 +1288,13 @@
|
|
|
1232
1288
|
color: var(--gd-palette-complementary-7);
|
|
1233
1289
|
border: none;
|
|
1234
1290
|
}
|
|
1235
|
-
.gd-ui-kit-chip__trigger:not(.gd-ui-kit-chip__trigger:disabled):hover, .gd-ui-kit-chip__trigger:not(.gd-ui-kit-chip__trigger:disabled):focus, .gd-ui-kit-chip__trigger:not(.gd-ui-kit-chip__trigger:disabled):active {
|
|
1291
|
+
.gd-ui-kit-chip__trigger:not(.gd-ui-kit-chip__trigger:disabled):not(.gd-ui-kit-chip__trigger--variant-inactive):hover, .gd-ui-kit-chip__trigger:not(.gd-ui-kit-chip__trigger:disabled):not(.gd-ui-kit-chip__trigger--variant-inactive):focus, .gd-ui-kit-chip__trigger:not(.gd-ui-kit-chip__trigger:disabled):not(.gd-ui-kit-chip__trigger--variant-inactive):active {
|
|
1236
1292
|
color: var(--gd-palette-complementary-8);
|
|
1237
1293
|
}
|
|
1238
|
-
.gd-ui-kit-chip__trigger:not(.gd-ui-kit-chip__trigger:disabled):hover svg, .gd-ui-kit-chip__trigger:not(.gd-ui-kit-chip__trigger:disabled):focus svg, .gd-ui-kit-chip__trigger:not(.gd-ui-kit-chip__trigger:disabled):active svg {
|
|
1294
|
+
.gd-ui-kit-chip__trigger:not(.gd-ui-kit-chip__trigger:disabled):not(.gd-ui-kit-chip__trigger--variant-inactive):hover svg, .gd-ui-kit-chip__trigger:not(.gd-ui-kit-chip__trigger:disabled):not(.gd-ui-kit-chip__trigger--variant-inactive):focus svg, .gd-ui-kit-chip__trigger:not(.gd-ui-kit-chip__trigger:disabled):not(.gd-ui-kit-chip__trigger--variant-inactive):active svg {
|
|
1239
1295
|
color: var(--gd-palette-primary-base);
|
|
1240
1296
|
}
|
|
1241
|
-
.gd-ui-kit-chip__trigger:not(.gd-ui-kit-chip__trigger--isDeletable) {
|
|
1297
|
+
.gd-ui-kit-chip__trigger:not(.gd-ui-kit-chip__trigger--isDeletable):not(.gd-ui-kit-chip__trigger--isActionable) {
|
|
1242
1298
|
border-radius: 20px;
|
|
1243
1299
|
border: none;
|
|
1244
1300
|
}
|
|
@@ -1253,6 +1309,17 @@
|
|
|
1253
1309
|
.gd-ui-kit-chip__delete:not(.gd-ui-kit-chip__delete:disabled):hover svg, .gd-ui-kit-chip__delete:not(.gd-ui-kit-chip__delete:disabled):focus svg, .gd-ui-kit-chip__delete:not(.gd-ui-kit-chip__delete:disabled):active svg {
|
|
1254
1310
|
color: var(--gd-palette-error-base);
|
|
1255
1311
|
}
|
|
1312
|
+
.gd-ui-kit-chip__action {
|
|
1313
|
+
flex-shrink: 0;
|
|
1314
|
+
border-radius: 0 20px 20px 0;
|
|
1315
|
+
padding: 0 7px 0 3px;
|
|
1316
|
+
}
|
|
1317
|
+
.gd-ui-kit-chip__action:not(.gd-ui-kit-chip__action:disabled):hover, .gd-ui-kit-chip__action:not(.gd-ui-kit-chip__action:disabled):focus, .gd-ui-kit-chip__action:not(.gd-ui-kit-chip__action:disabled):active {
|
|
1318
|
+
color: var(--gd-palette-complementary-8);
|
|
1319
|
+
}
|
|
1320
|
+
.gd-ui-kit-chip__action:not(.gd-ui-kit-chip__action:disabled):hover svg, .gd-ui-kit-chip__action:not(.gd-ui-kit-chip__action:disabled):focus svg, .gd-ui-kit-chip__action:not(.gd-ui-kit-chip__action:disabled):active svg {
|
|
1321
|
+
color: var(--gd-palette-complementary-2);
|
|
1322
|
+
}
|
|
1256
1323
|
.gd-ui-kit-chip__label {
|
|
1257
1324
|
transition: var(--gd-transition-all);
|
|
1258
1325
|
white-space: nowrap;
|
|
@@ -1302,6 +1369,12 @@
|
|
|
1302
1369
|
justify-content: center;
|
|
1303
1370
|
transition: var(--gd-transition-all);
|
|
1304
1371
|
}
|
|
1372
|
+
.gd-ui-kit-chip__icon-action {
|
|
1373
|
+
display: flex;
|
|
1374
|
+
align-items: center;
|
|
1375
|
+
justify-content: center;
|
|
1376
|
+
transition: var(--gd-transition-all);
|
|
1377
|
+
}
|
|
1305
1378
|
|
|
1306
1379
|
/* ==========================================================================
|
|
1307
1380
|
Variables
|