@fluid-topics/ft-combobox 2.2.35 → 2.2.37

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.
@@ -16,6 +16,7 @@ export interface FtComboboxProperties {
16
16
  suggestionsProviderDebouncerTimeout?: number;
17
17
  canOfferNewValue?: boolean;
18
18
  multiValued?: boolean;
19
+ clearable?: boolean;
19
20
  maxValues?: number;
20
21
  maxLength?: number;
21
22
  labels: string[];
@@ -185,6 +185,26 @@ export const styles = css `
185
185
  color: ${FtComboboxCssVariables.iconColor};
186
186
  }
187
187
 
188
+ .ft-combobox--clear-button {
189
+ align-self: center;
190
+ display: flex;
191
+ align-items: center;
192
+ justify-content: center;
193
+ flex-shrink: 0;
194
+ margin: 4px 0 0 4px;
195
+ padding: 4px;
196
+ border: none;
197
+ border-radius: 50%;
198
+ background: none;
199
+ cursor: pointer;
200
+ color: ${FtComboboxCssVariables.iconColor};
201
+ }
202
+
203
+ .ft-combobox--clear-button:focus-visible {
204
+ outline: 2px solid ${FtComboboxCssVariables.colorPrimary};
205
+ outline-offset: 0;
206
+ }
207
+
188
208
  .ft-combobox--with-icon {
189
209
  ${setVariable(FtInputLabelCssVariables.labelMaxWidth, `calc(100% - ${FtIconCssVariables.size} - ${FtComboboxCssVariables.horizontalSpacing})`)};
190
210
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-combobox",
3
- "version": "2.2.35",
3
+ "version": "2.2.37",
4
4
  "description": "A",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,18 +19,18 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-chip": "2.2.35",
23
- "@fluid-topics/ft-i18n": "2.2.35",
24
- "@fluid-topics/ft-icon": "2.2.35",
25
- "@fluid-topics/ft-input-label": "2.2.35",
26
- "@fluid-topics/ft-ripple": "2.2.35",
27
- "@fluid-topics/ft-text-field": "2.2.35",
28
- "@fluid-topics/ft-typography": "2.2.35",
29
- "@fluid-topics/ft-wc-utils": "2.2.35",
22
+ "@fluid-topics/ft-chip": "2.2.37",
23
+ "@fluid-topics/ft-i18n": "2.2.37",
24
+ "@fluid-topics/ft-icon": "2.2.37",
25
+ "@fluid-topics/ft-input-label": "2.2.37",
26
+ "@fluid-topics/ft-ripple": "2.2.37",
27
+ "@fluid-topics/ft-text-field": "2.2.37",
28
+ "@fluid-topics/ft-typography": "2.2.37",
29
+ "@fluid-topics/ft-wc-utils": "2.2.37",
30
30
  "lit": "3.3.3"
31
31
  },
32
32
  "devDependencies": {
33
- "@fluid-topics/ft-wc-test-utils": "2.2.35"
33
+ "@fluid-topics/ft-wc-test-utils": "2.2.37"
34
34
  },
35
- "gitHead": "040e8142a897fe04b0ecceb7b2de59d1e6ec3fb7"
35
+ "gitHead": "d63a6da53ab8005823b5ab9da20c144de93f45a8"
36
36
  }