tyrell-components 1.0.0-RC14 → 1.0.0-RC16
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/README.md +53 -53
- package/css/tyrell-theme.css +32 -4
- package/css/tyrell.css +10 -15
- package/dist/tyrell-colors-static.css +1 -316
- package/dist/tyrell-theme.css +1 -1443
- package/dist/tyrell.css +1 -1390
- package/dist/tyrell.js +1 -1
- package/lib/base/ty-component.d.ts +14 -0
- package/lib/base/ty-component.d.ts.map +1 -0
- package/lib/base/ty-component.js +223 -196
- package/lib/base/ty-component.js.map +1 -0
- package/lib/components/button.d.ts +1 -1
- package/lib/components/button.d.ts.map +1 -0
- package/lib/components/button.js +267 -259
- package/lib/components/button.js.map +1 -0
- package/lib/components/calendar-month.d.ts +2 -2
- package/lib/components/calendar-month.d.ts.map +1 -0
- package/lib/components/calendar-month.js +440 -416
- package/lib/components/calendar-month.js.map +1 -0
- package/lib/components/calendar-navigation.d.ts +11 -0
- package/lib/components/calendar-navigation.d.ts.map +1 -0
- package/lib/components/calendar-navigation.js +272 -261
- package/lib/components/calendar-navigation.js.map +1 -0
- package/lib/components/calendar.d.ts +31 -3
- package/lib/components/calendar.d.ts.map +1 -0
- package/lib/components/calendar.js +785 -603
- package/lib/components/calendar.js.map +1 -0
- package/lib/components/checkbox.d.ts +1 -1
- package/lib/components/checkbox.d.ts.map +1 -0
- package/lib/components/checkbox.js +273 -272
- package/lib/components/checkbox.js.map +1 -0
- package/lib/components/copy.d.ts +1 -1
- package/lib/components/copy.d.ts.map +1 -0
- package/lib/components/copy.js +287 -278
- package/lib/components/copy.js.map +1 -0
- package/lib/components/date-picker.d.ts +16 -10
- package/lib/components/date-picker.d.ts.map +1 -0
- package/lib/components/date-picker.js +1068 -1122
- package/lib/components/date-picker.js.map +1 -0
- package/lib/components/dropdown.d.ts +403 -0
- package/lib/components/dropdown.d.ts.map +1 -0
- package/lib/components/dropdown.js +1315 -0
- package/lib/components/dropdown.js.map +1 -0
- package/lib/components/file-upload.d.ts +4 -0
- package/lib/components/file-upload.js +418 -404
- package/lib/components/icon.d.ts.map +1 -0
- package/lib/components/icon.js +141 -141
- package/lib/components/icon.js.map +1 -0
- package/lib/components/input.d.ts +1 -1
- package/lib/components/input.d.ts.map +1 -0
- package/lib/components/input.js +593 -596
- package/lib/components/input.js.map +1 -0
- package/lib/components/modal.d.ts +2 -8
- package/lib/components/modal.d.ts.map +1 -0
- package/lib/components/modal.js +309 -319
- package/lib/components/modal.js.map +1 -0
- package/lib/components/multiselect.d.ts +389 -0
- package/lib/components/multiselect.d.ts.map +1 -0
- package/lib/components/multiselect.js +1301 -0
- package/lib/components/multiselect.js.map +1 -0
- package/lib/components/option.d.ts.map +1 -0
- package/lib/components/option.js +167 -167
- package/lib/components/option.js.map +1 -0
- package/lib/components/popup.d.ts.map +1 -0
- package/lib/components/popup.js +236 -233
- package/lib/components/popup.js.map +1 -0
- package/lib/components/radio.d.ts +17 -2
- package/lib/components/radio.js +437 -406
- package/lib/components/resize-observer.d.ts.map +1 -0
- package/lib/components/resize-observer.js +67 -67
- package/lib/components/resize-observer.js.map +1 -0
- package/lib/components/scroll-container.d.ts +3 -2
- package/lib/components/scroll-container.d.ts.map +1 -0
- package/lib/components/scroll-container.js +289 -294
- package/lib/components/scroll-container.js.map +1 -0
- package/lib/components/select.d.ts +85 -18
- package/lib/components/select.js +1647 -1529
- package/lib/components/selected-tags.d.ts +1 -1
- package/lib/components/selected-tags.js +188 -182
- package/lib/components/step.d.ts.map +1 -0
- package/lib/components/step.js +62 -62
- package/lib/components/step.js.map +1 -0
- package/lib/components/switch.d.ts +1 -1
- package/lib/components/switch.js +214 -213
- package/lib/components/tab.d.ts +49 -1
- package/lib/components/tab.d.ts.map +1 -0
- package/lib/components/tab.js +203 -62
- package/lib/components/tab.js.map +1 -0
- package/lib/components/tabs.d.ts +15 -2
- package/lib/components/tabs.d.ts.map +1 -0
- package/lib/components/tabs.js +576 -496
- package/lib/components/tabs.js.map +1 -0
- package/lib/components/tag.d.ts +5 -8
- package/lib/components/tag.d.ts.map +1 -0
- package/lib/components/tag.js +235 -235
- package/lib/components/tag.js.map +1 -0
- package/lib/components/textarea.d.ts +5 -4
- package/lib/components/textarea.d.ts.map +1 -0
- package/lib/components/textarea.js +458 -456
- package/lib/components/textarea.js.map +1 -0
- package/lib/components/tooltip.d.ts +4 -3
- package/lib/components/tooltip.d.ts.map +1 -0
- package/lib/components/tooltip.js +293 -283
- package/lib/components/tooltip.js.map +1 -0
- package/lib/components/wizard.d.ts +5 -4
- package/lib/components/wizard.d.ts.map +1 -0
- package/lib/components/wizard.js +359 -395
- package/lib/components/wizard.js.map +1 -0
- package/lib/icons/fontawesome/brands.d.ts.map +1 -0
- package/lib/icons/fontawesome/brands.js.map +1 -0
- package/lib/icons/fontawesome/regular.d.ts.map +1 -0
- package/lib/icons/fontawesome/regular.js.map +1 -0
- package/lib/icons/fontawesome/solid.d.ts.map +1 -0
- package/lib/icons/fontawesome/solid.js.map +1 -0
- package/lib/icons/heroicons/micro.d.ts.map +1 -0
- package/lib/icons/heroicons/micro.js +392 -392
- package/lib/icons/heroicons/micro.js.map +1 -0
- package/lib/icons/heroicons/mini.d.ts.map +1 -0
- package/lib/icons/heroicons/mini.js +382 -382
- package/lib/icons/heroicons/mini.js.map +1 -0
- package/lib/icons/heroicons/outline.d.ts.map +1 -0
- package/lib/icons/heroicons/outline.js +337 -337
- package/lib/icons/heroicons/outline.js.map +1 -0
- package/lib/icons/heroicons/solid.d.ts.map +1 -0
- package/lib/icons/heroicons/solid.js +407 -407
- package/lib/icons/heroicons/solid.js.map +1 -0
- package/lib/icons/lucide.d.ts.map +1 -0
- package/lib/icons/lucide.js +22843 -22843
- package/lib/icons/lucide.js.map +1 -0
- package/lib/icons/material/filled.d.ts.map +1 -0
- package/lib/icons/material/filled.js +9653 -9653
- package/lib/icons/material/filled.js.map +1 -0
- package/lib/icons/material/outlined.d.ts.map +1 -0
- package/lib/icons/material/outlined.js +10271 -10271
- package/lib/icons/material/outlined.js.map +1 -0
- package/lib/icons/material/round.d.ts.map +1 -0
- package/lib/icons/material/round.js +10495 -10495
- package/lib/icons/material/round.js.map +1 -0
- package/lib/icons/material/sharp.d.ts.map +1 -0
- package/lib/icons/material/sharp.js +9905 -9905
- package/lib/icons/material/sharp.js.map +1 -0
- package/lib/icons/material/two-tone.d.ts.map +1 -0
- package/lib/icons/material/two-tone.js +12792 -12792
- package/lib/icons/material/two-tone.js.map +1 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +21 -21
- package/lib/index.js.map +1 -0
- package/lib/styles/button.d.ts.map +1 -0
- package/lib/styles/button.js +200 -302
- package/lib/styles/button.js.map +1 -0
- package/lib/styles/calendar-month.d.ts +3 -0
- package/lib/styles/calendar-month.d.ts.map +1 -0
- package/lib/styles/calendar-month.js +141 -185
- package/lib/styles/calendar-month.js.map +1 -0
- package/lib/styles/calendar-navigation.d.ts +1 -1
- package/lib/styles/calendar-navigation.d.ts.map +1 -0
- package/lib/styles/calendar-navigation.js +100 -86
- package/lib/styles/calendar-navigation.js.map +1 -0
- package/lib/styles/calendar.d.ts +3 -2
- package/lib/styles/calendar.d.ts.map +1 -0
- package/lib/styles/calendar.js +83 -9
- package/lib/styles/calendar.js.map +1 -0
- package/lib/styles/checkbox.js +62 -77
- package/lib/styles/copy.d.ts.map +1 -0
- package/lib/styles/copy.js +71 -91
- package/lib/styles/copy.js.map +1 -0
- package/lib/styles/custom-scrollbar.js +80 -100
- package/lib/styles/date-picker.d.ts.map +1 -0
- package/lib/styles/date-picker.js +295 -335
- package/lib/styles/date-picker.js.map +1 -0
- package/lib/styles/dropdown.d.ts +12 -0
- package/lib/styles/dropdown.d.ts.map +1 -0
- package/lib/styles/dropdown.js +725 -0
- package/lib/styles/dropdown.js.map +1 -0
- package/lib/styles/field-size.d.ts +6 -0
- package/lib/styles/field-size.js +91 -0
- package/lib/styles/file-upload.js +139 -169
- package/lib/styles/icon.d.ts.map +1 -0
- package/lib/styles/icon.js +92 -156
- package/lib/styles/icon.js.map +1 -0
- package/lib/styles/input.d.ts.map +1 -0
- package/lib/styles/input.js +125 -241
- package/lib/styles/input.js.map +1 -0
- package/lib/styles/modal.d.ts.map +1 -0
- package/lib/styles/modal.js +67 -102
- package/lib/styles/modal.js.map +1 -0
- package/lib/styles/multiselect.d.ts +6 -0
- package/lib/styles/multiselect.d.ts.map +1 -0
- package/lib/styles/multiselect.js +568 -0
- package/lib/styles/multiselect.js.map +1 -0
- package/lib/styles/option.d.ts +1 -1
- package/lib/styles/option.d.ts.map +1 -0
- package/lib/styles/option.js +47 -67
- package/lib/styles/option.js.map +1 -0
- package/lib/styles/popup.d.ts +1 -1
- package/lib/styles/popup.d.ts.map +1 -0
- package/lib/styles/popup.js +37 -65
- package/lib/styles/popup.js.map +1 -0
- package/lib/styles/radio.js +75 -96
- package/lib/styles/resize-observer.d.ts.map +1 -0
- package/lib/styles/resize-observer.js +2 -5
- package/lib/styles/resize-observer.js.map +1 -0
- package/lib/styles/scroll-container.d.ts +1 -1
- package/lib/styles/scroll-container.d.ts.map +1 -0
- package/lib/styles/scroll-container.js +101 -131
- package/lib/styles/scroll-container.js.map +1 -0
- package/lib/styles/select-base.js +596 -773
- package/lib/styles/select.d.ts +1 -1
- package/lib/styles/select.js +146 -228
- package/lib/styles/step.d.ts +1 -1
- package/lib/styles/step.d.ts.map +1 -0
- package/lib/styles/step.js +15 -30
- package/lib/styles/step.js.map +1 -0
- package/lib/styles/switch.js +37 -55
- package/lib/styles/tab.d.ts +1 -1
- package/lib/styles/tab.d.ts.map +1 -0
- package/lib/styles/tab.js +86 -29
- package/lib/styles/tab.js.map +1 -0
- package/lib/styles/tabs.d.ts +1 -1
- package/lib/styles/tabs.d.ts.map +1 -0
- package/lib/styles/tabs.js +190 -180
- package/lib/styles/tabs.js.map +1 -0
- package/lib/styles/tag.d.ts.map +1 -0
- package/lib/styles/tag.js +137 -191
- package/lib/styles/tag.js.map +1 -0
- package/lib/styles/textarea.d.ts +1 -1
- package/lib/styles/textarea.d.ts.map +1 -0
- package/lib/styles/textarea.js +205 -271
- package/lib/styles/textarea.js.map +1 -0
- package/lib/styles/tooltip.d.ts.map +1 -0
- package/lib/styles/tooltip.js +3 -3
- package/lib/styles/tooltip.js.map +1 -0
- package/lib/styles/wizard.d.ts +9 -5
- package/lib/styles/wizard.d.ts.map +1 -0
- package/lib/styles/wizard.js +301 -245
- package/lib/styles/wizard.js.map +1 -0
- package/lib/types/common.d.ts +4 -2
- package/lib/types/common.d.ts.map +1 -0
- package/lib/types/common.js +6 -5
- package/lib/types/common.js.map +1 -0
- package/lib/utils/calendar-utils.d.ts.map +1 -0
- package/lib/utils/calendar-utils.js +100 -100
- package/lib/utils/calendar-utils.js.map +1 -0
- package/lib/utils/custom-scrollbar.js +272 -272
- package/lib/utils/flavor-sheet.js +14 -14
- package/lib/utils/icon-registry.d.ts.map +1 -0
- package/lib/utils/icon-registry.js +127 -127
- package/lib/utils/icon-registry.js.map +1 -0
- package/lib/utils/loader-registry.js +3 -3
- package/lib/utils/locale.d.ts.map +1 -0
- package/lib/utils/locale.js +34 -34
- package/lib/utils/locale.js.map +1 -0
- package/lib/utils/mobile.js +1 -1
- package/lib/utils/number-format.d.ts.map +1 -0
- package/lib/utils/number-format.js +54 -54
- package/lib/utils/number-format.js.map +1 -0
- package/lib/utils/parse-boolean.d.ts +39 -0
- package/lib/utils/parse-boolean.d.ts.map +1 -0
- package/lib/utils/parse-boolean.js +23 -0
- package/lib/utils/parse-boolean.js.map +1 -0
- package/lib/utils/positioning.d.ts.map +1 -0
- package/lib/utils/positioning.js +212 -212
- package/lib/utils/positioning.js.map +1 -0
- package/lib/utils/property-capture.d.ts.map +1 -0
- package/lib/utils/property-capture.js +36 -36
- package/lib/utils/property-capture.js.map +1 -0
- package/lib/utils/property-manager.d.ts +1 -1
- package/lib/utils/property-manager.d.ts.map +1 -0
- package/lib/utils/property-manager.js +127 -125
- package/lib/utils/property-manager.js.map +1 -0
- package/lib/utils/resize-observer.d.ts.map +1 -0
- package/lib/utils/resize-observer.js +23 -23
- package/lib/utils/resize-observer.js.map +1 -0
- package/lib/utils/scroll-lock.d.ts.map +1 -0
- package/lib/utils/scroll-lock.js +57 -57
- package/lib/utils/scroll-lock.js.map +1 -0
- package/lib/utils/styles.d.ts.map +1 -0
- package/lib/utils/styles.js +17 -17
- package/lib/utils/styles.js.map +1 -0
- package/lib/utils/validity.d.ts +26 -0
- package/lib/utils/validity.js +53 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.d.ts.map +1 -0
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -0
- package/package.json +28 -7
|
@@ -73,13 +73,10 @@ export declare class TySelect extends TyComponent<SelectState> {
|
|
|
73
73
|
visual: boolean;
|
|
74
74
|
default: boolean;
|
|
75
75
|
};
|
|
76
|
-
|
|
76
|
+
noClear: {
|
|
77
77
|
type: "boolean";
|
|
78
78
|
visual: boolean;
|
|
79
79
|
default: boolean;
|
|
80
|
-
aliases: {
|
|
81
|
-
"not-clearable": boolean;
|
|
82
|
-
};
|
|
83
80
|
};
|
|
84
81
|
externalSearch: {
|
|
85
82
|
type: "boolean";
|
|
@@ -106,11 +103,10 @@ export declare class TySelect extends TyComponent<SelectState> {
|
|
|
106
103
|
};
|
|
107
104
|
coerce: (v: any) => "none" | "slug";
|
|
108
105
|
};
|
|
109
|
-
|
|
110
|
-
type: "
|
|
106
|
+
notSearchable: {
|
|
107
|
+
type: "boolean";
|
|
111
108
|
visual: boolean;
|
|
112
|
-
default:
|
|
113
|
-
coerce: (v: any) => "auto" | "always" | "never";
|
|
109
|
+
default: boolean;
|
|
114
110
|
};
|
|
115
111
|
align: {
|
|
116
112
|
type: "string";
|
|
@@ -127,7 +123,7 @@ export declare class TySelect extends TyComponent<SelectState> {
|
|
|
127
123
|
size: {
|
|
128
124
|
type: "string";
|
|
129
125
|
visual: boolean;
|
|
130
|
-
default:
|
|
126
|
+
default: Size;
|
|
131
127
|
validate: (v: any) => boolean;
|
|
132
128
|
coerce: (v: any) => any;
|
|
133
129
|
};
|
|
@@ -142,6 +138,11 @@ export declare class TySelect extends TyComponent<SelectState> {
|
|
|
142
138
|
visual: boolean;
|
|
143
139
|
default: string;
|
|
144
140
|
};
|
|
141
|
+
"selected-label": {
|
|
142
|
+
type: "string";
|
|
143
|
+
visual: boolean;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
145
146
|
"no-options-message": {
|
|
146
147
|
type: "string";
|
|
147
148
|
visual: boolean;
|
|
@@ -170,11 +171,12 @@ export declare class TySelect extends TyComponent<SelectState> {
|
|
|
170
171
|
private _externalSearch;
|
|
171
172
|
private _allowCreate;
|
|
172
173
|
private _createTransform;
|
|
173
|
-
private
|
|
174
|
+
private _notSearchable;
|
|
174
175
|
private _loading;
|
|
175
176
|
private _scrollLockId;
|
|
176
177
|
private _size;
|
|
177
178
|
private _availableLabel;
|
|
179
|
+
private _selectedLabel;
|
|
178
180
|
private _noOptionsMessage;
|
|
179
181
|
private _state;
|
|
180
182
|
private _stubClickHandler;
|
|
@@ -208,6 +210,29 @@ export declare class TySelect extends TyComponent<SelectState> {
|
|
|
208
210
|
private parseValue;
|
|
209
211
|
/** Initialize component state from the value property / pre-selected children. */
|
|
210
212
|
private initializeState;
|
|
213
|
+
/**
|
|
214
|
+
* Declarative init: no `value` attribute, but markup pre-marked one or more
|
|
215
|
+
* options `selected` — native <select> semantics. This is the ONE place
|
|
216
|
+
* selection is read FROM the DOM rather than treated as a rendering of
|
|
217
|
+
* state (see getSelectedValues()): it seeds initial state, once. After
|
|
218
|
+
* this, `value` rules — flipping an option's `selected` property later
|
|
219
|
+
* does nothing, same as native.
|
|
220
|
+
*
|
|
221
|
+
* Called from initializeState() at connect AND from the child observer:
|
|
222
|
+
* a real HTML parser upgrades a custom element the moment its start tag is
|
|
223
|
+
* seen, BEFORE its children exist — `<ty-select>` connects with zero
|
|
224
|
+
* `<ty-option>` children when it's part of the page's own markup (as
|
|
225
|
+
* opposed to an already-built fragment attached via innerHTML/appendChild,
|
|
226
|
+
* where children exist at connect). Calling this only at connect would
|
|
227
|
+
* silently miss every option parsed after that instant, which is the
|
|
228
|
+
* common case for markup that is literally in the page's initial HTML.
|
|
229
|
+
*
|
|
230
|
+
* Safe to call repeatedly: no-ops once `value` has ever been explicitly
|
|
231
|
+
* set (attribute or property) or state is already non-empty — including
|
|
232
|
+
* after a real `.clear()`, which removes `selected` from every option via
|
|
233
|
+
* syncSelectedTags, so there is nothing left here to (re-)seed from.
|
|
234
|
+
*/
|
|
235
|
+
private resolveDeclarativeSelection;
|
|
211
236
|
/**
|
|
212
237
|
* Get all option elements from the component (ty-option preferred, ty-tag accepted)
|
|
213
238
|
*/
|
|
@@ -223,7 +248,15 @@ export declare class TySelect extends TyComponent<SelectState> {
|
|
|
223
248
|
*/
|
|
224
249
|
private deselectTag;
|
|
225
250
|
/**
|
|
226
|
-
* Get array of currently selected values
|
|
251
|
+
* Get the array of currently selected values.
|
|
252
|
+
*
|
|
253
|
+
* Reads STATE (`_state.selectedValues`), not the DOM: `value` is the
|
|
254
|
+
* selection, and an option's `selected` attribute is a rendering of it
|
|
255
|
+
* (written by syncSelectedTags below), never the other way round. This
|
|
256
|
+
* matters whenever options don't fully reflect the selection — external
|
|
257
|
+
* search legitimately has a selected value with no matching option
|
|
258
|
+
* present; a DOM scan would report empty and desync .value, `required`
|
|
259
|
+
* validation and the click-toggle logic from what's actually selected.
|
|
227
260
|
*/
|
|
228
261
|
private getSelectedValues;
|
|
229
262
|
private syncSelectedTags;
|
|
@@ -299,6 +332,13 @@ export declare class TySelect extends TyComponent<SelectState> {
|
|
|
299
332
|
private blockSearchClick;
|
|
300
333
|
private handleSearchInput;
|
|
301
334
|
private handleKeyboard;
|
|
335
|
+
/**
|
|
336
|
+
* Next tag index in `direction` (-1/1) that isn't disabled, wrapping
|
|
337
|
+
* around — mirrors handleTagClick's disabled check so keyboard nav can
|
|
338
|
+
* never land on/select what a click already refuses to. Returns -1 if
|
|
339
|
+
* every tag is disabled (or there are none).
|
|
340
|
+
*/
|
|
341
|
+
private nextEnabledTagIndex;
|
|
302
342
|
private filterTags;
|
|
303
343
|
private updateTagVisibility;
|
|
304
344
|
private updateOptionsVisibility;
|
|
@@ -316,6 +356,13 @@ export declare class TySelect extends TyComponent<SelectState> {
|
|
|
316
356
|
private fireCloseEvent;
|
|
317
357
|
private dispatchChangeEvent;
|
|
318
358
|
protected render(): void;
|
|
359
|
+
/**
|
|
360
|
+
* Patch label, required marker and disabled/compact state onto the
|
|
361
|
+
* already-built shadow DOM. renderDesktop/renderMobile only write markup on
|
|
362
|
+
* first render, so without this toggling `required`, `label`, `disabled` or
|
|
363
|
+
* `compact` after connect never showed up.
|
|
364
|
+
*/
|
|
365
|
+
private syncFieldChrome;
|
|
319
366
|
/**
|
|
320
367
|
* Reflect constraint validation to the owning <form> via ElementInternals.
|
|
321
368
|
* Without this `required` is only cosmetic — form.checkValidity() (and a
|
|
@@ -339,10 +386,30 @@ export declare class TySelect extends TyComponent<SelectState> {
|
|
|
339
386
|
private handleMobileStubKeydown;
|
|
340
387
|
private handleMobileTagClick;
|
|
341
388
|
private updateMobileSelectedState;
|
|
389
|
+
/** "Label (n)" with the count in its own muted span — same shape for both
|
|
390
|
+
sections, and re-reads the label so selected-label/available-label
|
|
391
|
+
changes after first render show up. */
|
|
392
|
+
private setMobileSectionTitle;
|
|
393
|
+
/**
|
|
394
|
+
* Hand the dialog's spare vertical space to one section or the other. Only
|
|
395
|
+
* one can own it: on a phone there isn't enough height for two scrollable
|
|
396
|
+
* lists to both be usefully tall, so tapping a header trades the space
|
|
397
|
+
* rather than splitting it. Selecting from the list hands it back to
|
|
398
|
+
* "available" — you're still picking, so that's the list you want open.
|
|
399
|
+
*/
|
|
400
|
+
private expandMobileSection;
|
|
401
|
+
/**
|
|
402
|
+
* The selected values as dismissible chips, pinned above the available
|
|
403
|
+
* list so a long list can never scroll the current selection out of sight.
|
|
404
|
+
* Rebuilt wholesale: the strip is small, and diffing it would have to
|
|
405
|
+
* track chip identity for the sake of a handful of nodes.
|
|
406
|
+
*/
|
|
407
|
+
private renderMobileSelectedChips;
|
|
342
408
|
/**
|
|
343
|
-
* Should the popup show a search row? external-search
|
|
344
|
-
* the
|
|
345
|
-
*
|
|
409
|
+
* Should the popup show a search row? external-search/allow-create pin it
|
|
410
|
+
* on (the input is the only way to get a query out at all), not-searchable
|
|
411
|
+
* forces it off, and otherwise it follows the list: shown once there are
|
|
412
|
+
* more options than fit without scrolling.
|
|
346
413
|
*/
|
|
347
414
|
private shouldShowSearch;
|
|
348
415
|
/**
|
|
@@ -396,12 +463,12 @@ export declare class TySelect extends TyComponent<SelectState> {
|
|
|
396
463
|
set loading(value: boolean);
|
|
397
464
|
get readonly(): boolean;
|
|
398
465
|
set readonly(value: boolean);
|
|
399
|
-
get
|
|
400
|
-
set
|
|
466
|
+
get noClear(): boolean;
|
|
467
|
+
set noClear(value: boolean);
|
|
401
468
|
get required(): boolean;
|
|
402
469
|
set required(value: boolean);
|
|
403
|
-
get
|
|
404
|
-
set
|
|
470
|
+
get notSearchable(): boolean;
|
|
471
|
+
set notSearchable(value: boolean);
|
|
405
472
|
get externalSearch(): boolean;
|
|
406
473
|
set externalSearch(value: boolean);
|
|
407
474
|
get debounce(): number;
|