@synergy-design-system/mcp 2.1.0 → 2.3.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/CHANGELOG.md +26 -0
- package/metadata/checksum.txt +1 -1
- package/metadata/packages/components/components/syn-alert/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-alert/component.ts +0 -7
- package/metadata/packages/components/components/syn-badge/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-badge/component.ts +0 -7
- package/metadata/packages/components/components/syn-breadcrumb/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-breadcrumb/component.ts +0 -7
- package/metadata/packages/components/components/syn-breadcrumb-item/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-breadcrumb-item/component.ts +0 -7
- package/metadata/packages/components/components/syn-button/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-button/component.ts +0 -7
- package/metadata/packages/components/components/syn-button-group/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-button-group/component.ts +0 -7
- package/metadata/packages/components/components/syn-card/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-card/component.ts +0 -7
- package/metadata/packages/components/components/syn-checkbox/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-checkbox/component.ts +0 -7
- package/metadata/packages/components/components/syn-combobox/component.angular.ts +84 -13
- package/metadata/packages/components/components/syn-combobox/component.custom.styles.ts +87 -0
- package/metadata/packages/components/components/syn-combobox/component.react.ts +11 -2
- package/metadata/packages/components/components/syn-combobox/component.styles.ts +0 -35
- package/metadata/packages/components/components/syn-combobox/component.ts +682 -163
- package/metadata/packages/components/components/syn-combobox/component.vue +50 -7
- package/metadata/packages/components/components/syn-details/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-details/component.ts +0 -7
- package/metadata/packages/components/components/syn-dialog/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-dialog/component.ts +0 -7
- package/metadata/packages/components/components/syn-divider/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-divider/component.ts +0 -7
- package/metadata/packages/components/components/syn-drawer/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-drawer/component.ts +0 -7
- package/metadata/packages/components/components/syn-dropdown/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-dropdown/component.ts +0 -7
- package/metadata/packages/components/components/syn-icon/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-icon/component.ts +0 -7
- package/metadata/packages/components/components/syn-icon-button/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-icon-button/component.ts +0 -7
- package/metadata/packages/components/components/syn-input/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-input/component.ts +0 -7
- package/metadata/packages/components/components/syn-menu/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-menu/component.ts +0 -7
- package/metadata/packages/components/components/syn-menu-item/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-menu-item/component.ts +0 -7
- package/metadata/packages/components/components/syn-menu-label/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-menu-label/component.ts +0 -7
- package/metadata/packages/components/components/syn-option/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-option/component.ts +2 -7
- package/metadata/packages/components/components/syn-popup/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-popup/component.ts +0 -7
- package/metadata/packages/components/components/syn-progress-bar/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-progress-bar/component.ts +0 -7
- package/metadata/packages/components/components/syn-progress-ring/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-progress-ring/component.ts +0 -7
- package/metadata/packages/components/components/syn-radio/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-radio/component.ts +0 -7
- package/metadata/packages/components/components/syn-radio-button/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-radio-button/component.ts +0 -7
- package/metadata/packages/components/components/syn-radio-group/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-radio-group/component.ts +0 -7
- package/metadata/packages/components/components/syn-resize-observer/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-resize-observer/component.ts +0 -7
- package/metadata/packages/components/components/syn-select/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-select/component.ts +0 -7
- package/metadata/packages/components/components/syn-spinner/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-spinner/component.ts +0 -7
- package/metadata/packages/components/components/syn-switch/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-switch/component.ts +0 -7
- package/metadata/packages/components/components/syn-tab/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-tab/component.ts +0 -7
- package/metadata/packages/components/components/syn-tab-group/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-tab-group/component.ts +0 -7
- package/metadata/packages/components/components/syn-tab-panel/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-tab-panel/component.ts +0 -7
- package/metadata/packages/components/components/syn-tag/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-tag/component.ts +0 -7
- package/metadata/packages/components/components/syn-textarea/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-textarea/component.ts +0 -7
- package/metadata/packages/components/components/syn-tooltip/component.styles.ts +0 -7
- package/metadata/packages/components/components/syn-tooltip/component.ts +0 -7
- package/metadata/packages/components/static/CHANGELOG.md +21 -0
- package/metadata/packages/components/static/LIMITATIONS.md +58 -0
- package/metadata/packages/components/static/README.md +0 -61
- package/metadata/packages/tokens/CHANGELOG.md +2 -0
- package/metadata/packages/tokens/dark.css +1 -1
- package/metadata/packages/tokens/index.js +1 -1
- package/metadata/packages/tokens/light.css +1 -1
- package/metadata/packages/tokens/sick2018_dark.css +1 -1
- package/metadata/packages/tokens/sick2018_light.css +1 -1
- package/metadata/packages/tokens/sick2025_dark.css +1 -1
- package/metadata/packages/tokens/sick2025_light.css +1 -1
- package/metadata/static/components/syn-combobox/docs.md +135 -1
- package/package.json +5 -5
|
@@ -6,12 +6,15 @@
|
|
|
6
6
|
// ---------------------------------------------------------------------
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* @summary
|
|
9
|
+
* @summary A combobox component that combines the functionality of a text input with a dropdown listbox,
|
|
10
|
+
* allowing users to either select from predefined options or enter custom values (when not restricted).
|
|
11
|
+
*
|
|
10
12
|
* @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-combobox--docs
|
|
11
13
|
* @status stable
|
|
12
14
|
*
|
|
13
15
|
* @dependency syn-icon
|
|
14
16
|
* @dependency syn-popup
|
|
17
|
+
* @dependency syn-tag
|
|
15
18
|
*
|
|
16
19
|
* @slot - The listbox options. Must be `<syn-option>` elements.
|
|
17
20
|
* You can use `<syn-optgroup>`'s to group items visually.
|
|
@@ -41,7 +44,7 @@
|
|
|
41
44
|
* @csspart form-control-label - The label's wrapper.
|
|
42
45
|
* @csspart form-control-input - The combobox's wrapper.
|
|
43
46
|
* @csspart form-control-help-text - The help text's wrapper.
|
|
44
|
-
* @csspart combobox - The container
|
|
47
|
+
* @csspart combobox - The container that wraps the prefix, combobox, clear icon, and expand button.
|
|
45
48
|
* @csspart prefix - The container that wraps the prefix slot.
|
|
46
49
|
* @csspart suffix - The container that wraps the suffix slot.
|
|
47
50
|
* @csspart display-input - The element that displays the selected option's label,
|
|
@@ -54,6 +57,12 @@
|
|
|
54
57
|
* @csspart popup - The popup's exported `popup` part.
|
|
55
58
|
* Use this to target the tooltip's popup container.
|
|
56
59
|
* @csspart no-results - The container that wraps the "no results" message.
|
|
60
|
+
* @csspart tags - The container that houses option tags when `multiple` is used.
|
|
61
|
+
* @csspart tag - The individual tags that represent each selected option in `multiple`.
|
|
62
|
+
* @csspart tag__base - The tag's base part.
|
|
63
|
+
* @csspart tag__content - The tag's content part.
|
|
64
|
+
* @csspart tag__remove-button - The tag's remove button.
|
|
65
|
+
* @csspart tag__remove-button__base - The tag's remove button base part.
|
|
57
66
|
*
|
|
58
67
|
* @animation combobox.show - The animation to use when showing the combobox.
|
|
59
68
|
* @animation combobox.hide - The animation to use when hiding the combobox.
|
|
@@ -88,11 +97,6 @@ const props = defineProps<{
|
|
|
88
97
|
*/
|
|
89
98
|
name?: SynCombobox['name'];
|
|
90
99
|
|
|
91
|
-
/**
|
|
92
|
-
* The current value of the combobox, submitted as a name/value pair with form data.
|
|
93
|
-
*/
|
|
94
|
-
value?: SynCombobox['value'];
|
|
95
|
-
|
|
96
100
|
/**
|
|
97
101
|
* The combobox's size.
|
|
98
102
|
*/
|
|
@@ -154,9 +158,16 @@ The form must be in the same document or shadow root for this to work.
|
|
|
154
158
|
/**
|
|
155
159
|
* When set to `true`, restricts the combobox to only allow selection from the available options.
|
|
156
160
|
Users will not be able to enter custom values that are not present in the list.
|
|
161
|
+
This will always be true, if `multiple` is active.
|
|
157
162
|
*/
|
|
158
163
|
restricted?: SynCombobox['restricted'];
|
|
159
164
|
|
|
165
|
+
/**
|
|
166
|
+
* Allows more than one option to be selected.
|
|
167
|
+
If `multiple` is set, the combobox will always be `restricted` to the available options
|
|
168
|
+
*/
|
|
169
|
+
multiple?: SynCombobox['multiple'];
|
|
170
|
+
|
|
160
171
|
/**
|
|
161
172
|
* A function that customizes the rendered option.
|
|
162
173
|
* The first argument is the option, the second
|
|
@@ -173,6 +184,38 @@ The default filter method is a case- and diacritic-insensitive string comparison
|
|
|
173
184
|
*/
|
|
174
185
|
filter?: SynCombobox['filter'];
|
|
175
186
|
|
|
187
|
+
/**
|
|
188
|
+
* The delimiter to use when setting the value when `multiple` is enabled.
|
|
189
|
+
The default is a space ' ', but you can set it to a comma or other character(s).
|
|
190
|
+
*/
|
|
191
|
+
delimiter?: SynCombobox['delimiter'];
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* The maximum number of selected options to show when `multiple` is true.
|
|
195
|
+
* After the maximum, "+n" will be shown to
|
|
196
|
+
indicate the number of additional items that are selected.
|
|
197
|
+
* Set to 0 to remove the limit.
|
|
198
|
+
*/
|
|
199
|
+
maxOptionsVisible?: SynCombobox['maxOptionsVisible'];
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* A function that customizes the tags to be rendered when `multiple` is true.
|
|
203
|
+
* The first argument is the option, the second
|
|
204
|
+
is the current tag's index.
|
|
205
|
+
* The function should return either a Lit TemplateResult or a string containing trusted HTML of the symbol to render at
|
|
206
|
+
the specified value.
|
|
207
|
+
*/
|
|
208
|
+
getTag?: SynCombobox['getTag'];
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* The current value of the combobox, submitted as a name/value pair with form data.
|
|
212
|
+
* When `multiple` is enabled, the
|
|
213
|
+
value attribute will be a list of values separated by the delimiter, based on the options selected, and the value property will
|
|
214
|
+
be an array.
|
|
215
|
+
* **For this reason, values must not contain the delimiter character.**
|
|
216
|
+
*/
|
|
217
|
+
value?: SynCombobox['value'];
|
|
218
|
+
|
|
176
219
|
/**
|
|
177
220
|
* Support for two way data binding
|
|
178
221
|
*/
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { animateTo, shimKeyframesHeightAuto, stopAnimations } from '../../internal/animate.js';
|
|
10
3
|
import { classMap } from 'lit/directives/class-map.js';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { animateTo, stopAnimations } from '../../internal/animate.js';
|
|
10
3
|
import { blurActiveElement } from '../../internal/closeActiveElement.js';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { property } from 'lit/decorators.js';
|
|
10
3
|
import { watch } from '../../internal/watch.js';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { animateTo, stopAnimations } from '../../internal/animate.js';
|
|
10
3
|
import { blurActiveElement } from '../../internal/closeActiveElement.js';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { animateTo, stopAnimations } from '../../internal/animate.js';
|
|
10
3
|
import { classMap } from 'lit/directives/class-map.js';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { getIconLibrary, type IconLibrary, unwatchIcon, watchIcon } from './library.js';
|
|
10
3
|
import { html } from 'lit';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { classMap } from 'lit/directives/class-map.js';
|
|
10
3
|
import { html, literal } from 'lit/static-html.js';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { classMap } from 'lit/directives/class-map.js';
|
|
10
3
|
import { defaultValue } from '../../internal/default-value.js';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { html } from 'lit';
|
|
10
3
|
import { query } from 'lit/decorators.js';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { classMap } from 'lit/directives/class-map.js';
|
|
10
3
|
import { getTextContent, HasSlotController } from '../../internal/slot.js';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
export default css`
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { html } from 'lit';
|
|
10
3
|
import SynDivider from '../divider/divider.component.js';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { classMap } from 'lit/directives/class-map.js';
|
|
10
3
|
import { html } from 'lit';
|
|
@@ -18,6 +11,7 @@ import styles from './option.styles.js';
|
|
|
18
11
|
import customStyles from './option.custom.styles.js';
|
|
19
12
|
import { delimiterToWhiteSpace } from './utility.js';
|
|
20
13
|
import type { CSSResultGroup } from 'lit';
|
|
14
|
+
import { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';
|
|
21
15
|
|
|
22
16
|
/**
|
|
23
17
|
* @summary Options define the selectable items within various form controls such as [select](/components/select).
|
|
@@ -37,6 +31,7 @@ import type { CSSResultGroup } from 'lit';
|
|
|
37
31
|
* @csspart prefix - The container that wraps the prefix.
|
|
38
32
|
* @csspart suffix - The container that wraps the suffix.
|
|
39
33
|
*/
|
|
34
|
+
@enableDefaultSettings('SynOption')
|
|
40
35
|
export default class SynOption extends SynergyElement {
|
|
41
36
|
static styles: CSSResultGroup = [componentStyles, styles, customStyles];
|
|
42
37
|
static dependencies = { 'syn-icon': SynIcon };
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { arrow, autoUpdate, computePosition, flip, offset, platform, shift, size } from '@floating-ui/dom';
|
|
10
3
|
import { classMap } from 'lit/directives/class-map.js';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { classMap } from 'lit/directives/class-map.js';
|
|
10
3
|
import { html } from 'lit';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { html } from 'lit';
|
|
10
3
|
import { LocalizeController } from '../../utilities/localize.js';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { classMap } from 'lit/directives/class-map.js';
|
|
10
3
|
import { html } from 'lit';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
import buttonStyles from '../button/button.styles.js';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { classMap } from 'lit/directives/class-map.js';
|
|
10
3
|
import { HasSlotController } from '../../internal/slot.js';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { classMap } from 'lit/directives/class-map.js';
|
|
10
3
|
import {
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { html } from 'lit';
|
|
10
3
|
import { property } from 'lit/decorators.js';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { animateTo, stopAnimations } from '../../internal/animate.js';
|
|
10
3
|
import { classMap } from 'lit/directives/class-map.js';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { html } from 'lit';
|
|
10
3
|
import { LocalizeController } from '../../utilities/localize.js';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { css } from 'lit';
|
|
10
3
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ---------------------------------------------------------------------
|
|
3
|
-
* 🔒 AUTOGENERATED BY VENDORISM
|
|
4
|
-
* Removing this comment will prevent it from being managed by it.
|
|
5
|
-
* ---------------------------------------------------------------------
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* eslint-disable */
|
|
9
2
|
import { classMap } from 'lit/directives/class-map.js';
|
|
10
3
|
import { defaultValue } from '../../internal/default-value.js';
|