@public-ui/hydrate 3.0.2-d721ede5369345abe032367b7d05a7c5a20dca9b.0 → 3.0.2-rc.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/dist/index.js +9 -31
- package/dist/index.mjs +9 -31
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -17414,15 +17414,8 @@ const CustomSuggestionsToggleFc = ({ onClick, disabled }) => {
|
|
|
17414
17414
|
hAsync(KolIconTag, { _icons: "codicon codicon-triangle-down", _label: translate('kol-dropdown') })));
|
|
17415
17415
|
};
|
|
17416
17416
|
|
|
17417
|
-
const CustomSuggestionsOptionFc = ({ index, ref, selected, onClick, onMouseOver, onFocus, onKeyDown, option
|
|
17418
|
-
|
|
17419
|
-
if (!(searchTerm === null || searchTerm === void 0 ? void 0 : searchTerm.trim()))
|
|
17420
|
-
return text;
|
|
17421
|
-
const regex = new RegExp(`(${searchTerm.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')})`, 'gi');
|
|
17422
|
-
const parts = text.split(regex);
|
|
17423
|
-
return parts.map((part, partIndex) => (regex.test(part) ? hAsync("mark", { key: partIndex }, part) : part));
|
|
17424
|
-
};
|
|
17425
|
-
return (hAsync("li", { id: `option-${index}`, key: `-${index}`, ref: ref, "data-index": index, tabIndex: -1, role: "option", "aria-selected": selected ? 'true' : undefined, onClick: onClick, onMouseOver: onMouseOver, onFocus: onFocus, class: "kol-custom-suggestions-option", onKeyDown: onKeyDown }, highlightSearchTerm(String(option), searchTerm || '')));
|
|
17417
|
+
const CustomSuggestionsOptionFc = ({ index, ref, selected, onClick, onMouseOver, onFocus, onKeyDown, option }) => {
|
|
17418
|
+
return (hAsync("li", { id: `option-${index}`, key: `-${index}`, ref: ref, "data-index": index, tabIndex: -1, role: "option", "aria-selected": selected ? 'true' : undefined, onClick: onClick, onMouseOver: onMouseOver, onFocus: onFocus, class: "kol-custom-suggestions-option", onKeyDown: onKeyDown }, option));
|
|
17426
17419
|
};
|
|
17427
17420
|
|
|
17428
17421
|
const CustomSuggestionsOptionsGroupFc = ({ blockSuggestionMouseOver, onKeyDown, style }, children) => {
|
|
@@ -17530,7 +17523,7 @@ class KolCombobox {
|
|
|
17530
17523
|
render() {
|
|
17531
17524
|
return (hAsync(FormFieldStateWrapper, Object.assign({ key: '44bc85c62caa382896b635dbc743f16d24863644' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: 'fd4b270034c88219b2f7f7eae2591334906ece02', state: this.state }, hAsync("div", { key: 'd4510edc466749cef9b6291afd9c282c77b88f8f', class: "kol-combobox__group" }, hAsync(InputStateWrapper, Object.assign({ key: 'ddc7d75b247724e081da3b8360238e271110cdca' }, this.getInputProps())), hAsync(CustomSuggestionsToggleFc, { key: '4531ca610c2f04d45072823222cac12c49c3ab74', onClick: this.toggleListbox.bind(this), disabled: this.state._disabled })), this._isOpen && !(this.state._disabled === true) && (hAsync(CustomSuggestionsOptionsGroupFc, { key: 'd995a87095216c4f1cf32b8e6c789dffffcf2572', blockSuggestionMouseOver: this.blockSuggestionMouseOver, onKeyDown: this.handleKeyDownDropdown.bind(this) }, Array.isArray(this._filteredSuggestions) &&
|
|
17532
17525
|
this._filteredSuggestions.length > 0 &&
|
|
17533
|
-
this._filteredSuggestions.map((option, index) => (hAsync(CustomSuggestionsOptionFc, { index: index, option: option,
|
|
17526
|
+
this._filteredSuggestions.map((option, index) => (hAsync(CustomSuggestionsOptionFc, { index: index, option: option, ref: (el) => {
|
|
17534
17527
|
if (el)
|
|
17535
17528
|
this.refSuggestions[index] = el;
|
|
17536
17529
|
}, selected: this.state._value === option, onClick: () => {
|
|
@@ -25935,7 +25928,7 @@ class KolSingleSelect {
|
|
|
25935
25928
|
(_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
25936
25929
|
}, class: clsx('kol-single-select__delete', {
|
|
25937
25930
|
'kol-single-select__delete--disabled': this.state._disabled,
|
|
25938
|
-
}) })), hAsync(CustomSuggestionsToggleFc, { key: '6ed5dfdd0465c0aa15745ed3b0210eec01f769e2', onClick: this.toggleListbox.bind(this), disabled: this.state._disabled })), this._isOpen && !(this.state._disabled === true) && (hAsync(CustomSuggestionsOptionsGroupFc, { key: 'f6caab6259e0928ecdff02385e690ff6aba9bbb4', blockSuggestionMouseOver: this.blockSuggestionMouseOver, onKeyDown: this.handleKeyDownDropdown.bind(this), style: { '--visible-options': `${(_a = this._rows) !== null && _a !== void 0 ? _a : 5}` } }, Array.isArray(this._filteredOptions) && this._filteredOptions.length > 0 ? (this._filteredOptions.map((option, index) => (hAsync(CustomSuggestionsOptionFc, { index: index, option: option.label,
|
|
25931
|
+
}) })), hAsync(CustomSuggestionsToggleFc, { key: '6ed5dfdd0465c0aa15745ed3b0210eec01f769e2', onClick: this.toggleListbox.bind(this), disabled: this.state._disabled })), this._isOpen && !(this.state._disabled === true) && (hAsync(CustomSuggestionsOptionsGroupFc, { key: 'f6caab6259e0928ecdff02385e690ff6aba9bbb4', blockSuggestionMouseOver: this.blockSuggestionMouseOver, onKeyDown: this.handleKeyDownDropdown.bind(this), style: { '--visible-options': `${(_a = this._rows) !== null && _a !== void 0 ? _a : 5}` } }, Array.isArray(this._filteredOptions) && this._filteredOptions.length > 0 ? (this._filteredOptions.map((option, index) => (hAsync(CustomSuggestionsOptionFc, { index: index, option: option.label, ref: (el) => {
|
|
25939
25932
|
if (el)
|
|
25940
25933
|
this.refOptions[index] = el;
|
|
25941
25934
|
}, selected: this._value === option.value, onClick: (event) => {
|
|
@@ -26412,9 +26405,6 @@ var KolSplitButtonDefaultStyle0 = defaultStyleCss$9;
|
|
|
26412
26405
|
class KolSplitButton {
|
|
26413
26406
|
constructor(hostRef) {
|
|
26414
26407
|
registerInstance(this, hostRef);
|
|
26415
|
-
this.catchPrimaryRef = (ref) => {
|
|
26416
|
-
this.primaryButtonWcRef = ref;
|
|
26417
|
-
};
|
|
26418
26408
|
this.clickButtonHandler = {
|
|
26419
26409
|
onClick: (event) => {
|
|
26420
26410
|
var _a, _b;
|
|
@@ -26422,6 +26412,9 @@ class KolSplitButton {
|
|
|
26422
26412
|
if (typeof ((_a = this._on) === null || _a === void 0 ? void 0 : _a.onClick) === 'function') {
|
|
26423
26413
|
(_b = this._on) === null || _b === void 0 ? void 0 : _b.onClick(event, this._value);
|
|
26424
26414
|
}
|
|
26415
|
+
else {
|
|
26416
|
+
this.toggleDropdown();
|
|
26417
|
+
}
|
|
26425
26418
|
},
|
|
26426
26419
|
};
|
|
26427
26420
|
this.clickToggleHandler = {
|
|
@@ -26436,9 +26429,7 @@ class KolSplitButton {
|
|
|
26436
26429
|
this.handleOnClose = () => {
|
|
26437
26430
|
this.state = Object.assign(Object.assign({}, this.state), { _show: false });
|
|
26438
26431
|
};
|
|
26439
|
-
this._accessKey = undefined;
|
|
26440
26432
|
this._ariaControls = undefined;
|
|
26441
|
-
this._ariaDescription = undefined;
|
|
26442
26433
|
this._ariaExpanded = undefined;
|
|
26443
26434
|
this._ariaSelected = undefined;
|
|
26444
26435
|
this._customClass = undefined;
|
|
@@ -26450,7 +26441,6 @@ class KolSplitButton {
|
|
|
26450
26441
|
this._name = undefined;
|
|
26451
26442
|
this._on = undefined;
|
|
26452
26443
|
this._role = undefined;
|
|
26453
|
-
this._shortKey = undefined;
|
|
26454
26444
|
this._syncValueBySelector = undefined;
|
|
26455
26445
|
this._tooltipAlign = 'top';
|
|
26456
26446
|
this._type = 'button';
|
|
@@ -26460,19 +26450,12 @@ class KolSplitButton {
|
|
|
26460
26450
|
_show: false,
|
|
26461
26451
|
};
|
|
26462
26452
|
}
|
|
26463
|
-
async getValue() {
|
|
26464
|
-
return this._value;
|
|
26465
|
-
}
|
|
26466
|
-
async kolFocus() {
|
|
26467
|
-
var _a;
|
|
26468
|
-
await ((_a = this.primaryButtonWcRef) === null || _a === void 0 ? void 0 : _a.kolFocus());
|
|
26469
|
-
}
|
|
26470
26453
|
render() {
|
|
26471
26454
|
const i18nDropdownLabel = 'kol-split-button-dropdown-label';
|
|
26472
|
-
return (hAsync("div", { key: '
|
|
26455
|
+
return (hAsync("div", { key: 'adfeb36fc1c13115648cab2c692dcf28ede4f663', class: "kol-split-button" }, hAsync("div", { key: '6ddddfa00a901d7a1c02a242384ba6478955c13b', class: "kol-split-button__root" }, hAsync(KolButtonWcTag, { key: '73295b6c589ee559c4e301c6685568e0aa6359de', class: clsx('kol-split-button__button', {
|
|
26473
26456
|
[this._variant]: this._variant !== 'custom',
|
|
26474
26457
|
[this._customClass]: this._variant === 'custom' && typeof this._customClass === 'string' && this._customClass.length > 0,
|
|
26475
|
-
}),
|
|
26458
|
+
}), _ariaControls: this._ariaControls, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _icons: this._icons, _hideLabel: this._hideLabel, _label: this._label, _name: this._name, _on: this.clickButtonHandler, _role: this._role, _syncValueBySelector: this._syncValueBySelector, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _buttonVariant: this._variant }), hAsync("div", { key: '29f15b767934692234c76d6738696ea225488d24', class: "kol-split-button__horizontal-line" }), hAsync(KolButtonWcTag, { key: '689696759403849639ec892383aad2d055ac1482', class: "kol-split-button__secondary-button", _disabled: this._disabled, _hideLabel: true, _icons: "codicon codicon-triangle-down", _label: this.state._show ? translate(`${i18nDropdownLabel}-close`) : translate(`${i18nDropdownLabel}-open`), _on: this.clickToggleHandler })), hAsync(KolPopoverWcTag, { key: 'ba4151408b5ea8295eaee3f680ccd394e081464b', _show: this.state._show, _on: { onClose: this.handleOnClose }, _align: "bottom" }, hAsync("slot", { key: '88c02a85478c3cedae8272e2f3f4848bbf031488' }))));
|
|
26476
26459
|
}
|
|
26477
26460
|
async closePopup() {
|
|
26478
26461
|
this.handleOnClose();
|
|
@@ -26486,9 +26469,7 @@ class KolSplitButton {
|
|
|
26486
26469
|
"$flags$": 57,
|
|
26487
26470
|
"$tagName$": "kol-split-button",
|
|
26488
26471
|
"$members$": {
|
|
26489
|
-
"_accessKey": [1, "_access-key"],
|
|
26490
26472
|
"_ariaControls": [1, "_aria-controls"],
|
|
26491
|
-
"_ariaDescription": [1, "_aria-description"],
|
|
26492
26473
|
"_ariaExpanded": [4, "_aria-expanded"],
|
|
26493
26474
|
"_ariaSelected": [4, "_aria-selected"],
|
|
26494
26475
|
"_customClass": [1, "_custom-class"],
|
|
@@ -26500,15 +26481,12 @@ class KolSplitButton {
|
|
|
26500
26481
|
"_name": [1],
|
|
26501
26482
|
"_on": [16],
|
|
26502
26483
|
"_role": [1],
|
|
26503
|
-
"_shortKey": [1, "_short-key"],
|
|
26504
26484
|
"_syncValueBySelector": [1, "_sync-value-by-selector"],
|
|
26505
26485
|
"_tooltipAlign": [1, "_tooltip-align"],
|
|
26506
26486
|
"_type": [1],
|
|
26507
26487
|
"_value": [8],
|
|
26508
26488
|
"_variant": [1],
|
|
26509
26489
|
"state": [32],
|
|
26510
|
-
"getValue": [64],
|
|
26511
|
-
"kolFocus": [64],
|
|
26512
26490
|
"closePopup": [64]
|
|
26513
26491
|
},
|
|
26514
26492
|
"$listeners$": undefined,
|
package/dist/index.mjs
CHANGED
|
@@ -17410,15 +17410,8 @@ const CustomSuggestionsToggleFc = ({ onClick, disabled }) => {
|
|
|
17410
17410
|
hAsync(KolIconTag, { _icons: "codicon codicon-triangle-down", _label: translate('kol-dropdown') })));
|
|
17411
17411
|
};
|
|
17412
17412
|
|
|
17413
|
-
const CustomSuggestionsOptionFc = ({ index, ref, selected, onClick, onMouseOver, onFocus, onKeyDown, option
|
|
17414
|
-
|
|
17415
|
-
if (!(searchTerm === null || searchTerm === void 0 ? void 0 : searchTerm.trim()))
|
|
17416
|
-
return text;
|
|
17417
|
-
const regex = new RegExp(`(${searchTerm.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')})`, 'gi');
|
|
17418
|
-
const parts = text.split(regex);
|
|
17419
|
-
return parts.map((part, partIndex) => (regex.test(part) ? hAsync("mark", { key: partIndex }, part) : part));
|
|
17420
|
-
};
|
|
17421
|
-
return (hAsync("li", { id: `option-${index}`, key: `-${index}`, ref: ref, "data-index": index, tabIndex: -1, role: "option", "aria-selected": selected ? 'true' : undefined, onClick: onClick, onMouseOver: onMouseOver, onFocus: onFocus, class: "kol-custom-suggestions-option", onKeyDown: onKeyDown }, highlightSearchTerm(String(option), searchTerm || '')));
|
|
17413
|
+
const CustomSuggestionsOptionFc = ({ index, ref, selected, onClick, onMouseOver, onFocus, onKeyDown, option }) => {
|
|
17414
|
+
return (hAsync("li", { id: `option-${index}`, key: `-${index}`, ref: ref, "data-index": index, tabIndex: -1, role: "option", "aria-selected": selected ? 'true' : undefined, onClick: onClick, onMouseOver: onMouseOver, onFocus: onFocus, class: "kol-custom-suggestions-option", onKeyDown: onKeyDown }, option));
|
|
17422
17415
|
};
|
|
17423
17416
|
|
|
17424
17417
|
const CustomSuggestionsOptionsGroupFc = ({ blockSuggestionMouseOver, onKeyDown, style }, children) => {
|
|
@@ -17526,7 +17519,7 @@ class KolCombobox {
|
|
|
17526
17519
|
render() {
|
|
17527
17520
|
return (hAsync(FormFieldStateWrapper, Object.assign({ key: '44bc85c62caa382896b635dbc743f16d24863644' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: 'fd4b270034c88219b2f7f7eae2591334906ece02', state: this.state }, hAsync("div", { key: 'd4510edc466749cef9b6291afd9c282c77b88f8f', class: "kol-combobox__group" }, hAsync(InputStateWrapper, Object.assign({ key: 'ddc7d75b247724e081da3b8360238e271110cdca' }, this.getInputProps())), hAsync(CustomSuggestionsToggleFc, { key: '4531ca610c2f04d45072823222cac12c49c3ab74', onClick: this.toggleListbox.bind(this), disabled: this.state._disabled })), this._isOpen && !(this.state._disabled === true) && (hAsync(CustomSuggestionsOptionsGroupFc, { key: 'd995a87095216c4f1cf32b8e6c789dffffcf2572', blockSuggestionMouseOver: this.blockSuggestionMouseOver, onKeyDown: this.handleKeyDownDropdown.bind(this) }, Array.isArray(this._filteredSuggestions) &&
|
|
17528
17521
|
this._filteredSuggestions.length > 0 &&
|
|
17529
|
-
this._filteredSuggestions.map((option, index) => (hAsync(CustomSuggestionsOptionFc, { index: index, option: option,
|
|
17522
|
+
this._filteredSuggestions.map((option, index) => (hAsync(CustomSuggestionsOptionFc, { index: index, option: option, ref: (el) => {
|
|
17530
17523
|
if (el)
|
|
17531
17524
|
this.refSuggestions[index] = el;
|
|
17532
17525
|
}, selected: this.state._value === option, onClick: () => {
|
|
@@ -25931,7 +25924,7 @@ class KolSingleSelect {
|
|
|
25931
25924
|
(_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
25932
25925
|
}, class: clsx('kol-single-select__delete', {
|
|
25933
25926
|
'kol-single-select__delete--disabled': this.state._disabled,
|
|
25934
|
-
}) })), hAsync(CustomSuggestionsToggleFc, { key: '6ed5dfdd0465c0aa15745ed3b0210eec01f769e2', onClick: this.toggleListbox.bind(this), disabled: this.state._disabled })), this._isOpen && !(this.state._disabled === true) && (hAsync(CustomSuggestionsOptionsGroupFc, { key: 'f6caab6259e0928ecdff02385e690ff6aba9bbb4', blockSuggestionMouseOver: this.blockSuggestionMouseOver, onKeyDown: this.handleKeyDownDropdown.bind(this), style: { '--visible-options': `${(_a = this._rows) !== null && _a !== void 0 ? _a : 5}` } }, Array.isArray(this._filteredOptions) && this._filteredOptions.length > 0 ? (this._filteredOptions.map((option, index) => (hAsync(CustomSuggestionsOptionFc, { index: index, option: option.label,
|
|
25927
|
+
}) })), hAsync(CustomSuggestionsToggleFc, { key: '6ed5dfdd0465c0aa15745ed3b0210eec01f769e2', onClick: this.toggleListbox.bind(this), disabled: this.state._disabled })), this._isOpen && !(this.state._disabled === true) && (hAsync(CustomSuggestionsOptionsGroupFc, { key: 'f6caab6259e0928ecdff02385e690ff6aba9bbb4', blockSuggestionMouseOver: this.blockSuggestionMouseOver, onKeyDown: this.handleKeyDownDropdown.bind(this), style: { '--visible-options': `${(_a = this._rows) !== null && _a !== void 0 ? _a : 5}` } }, Array.isArray(this._filteredOptions) && this._filteredOptions.length > 0 ? (this._filteredOptions.map((option, index) => (hAsync(CustomSuggestionsOptionFc, { index: index, option: option.label, ref: (el) => {
|
|
25935
25928
|
if (el)
|
|
25936
25929
|
this.refOptions[index] = el;
|
|
25937
25930
|
}, selected: this._value === option.value, onClick: (event) => {
|
|
@@ -26408,9 +26401,6 @@ var KolSplitButtonDefaultStyle0 = defaultStyleCss$9;
|
|
|
26408
26401
|
class KolSplitButton {
|
|
26409
26402
|
constructor(hostRef) {
|
|
26410
26403
|
registerInstance(this, hostRef);
|
|
26411
|
-
this.catchPrimaryRef = (ref) => {
|
|
26412
|
-
this.primaryButtonWcRef = ref;
|
|
26413
|
-
};
|
|
26414
26404
|
this.clickButtonHandler = {
|
|
26415
26405
|
onClick: (event) => {
|
|
26416
26406
|
var _a, _b;
|
|
@@ -26418,6 +26408,9 @@ class KolSplitButton {
|
|
|
26418
26408
|
if (typeof ((_a = this._on) === null || _a === void 0 ? void 0 : _a.onClick) === 'function') {
|
|
26419
26409
|
(_b = this._on) === null || _b === void 0 ? void 0 : _b.onClick(event, this._value);
|
|
26420
26410
|
}
|
|
26411
|
+
else {
|
|
26412
|
+
this.toggleDropdown();
|
|
26413
|
+
}
|
|
26421
26414
|
},
|
|
26422
26415
|
};
|
|
26423
26416
|
this.clickToggleHandler = {
|
|
@@ -26432,9 +26425,7 @@ class KolSplitButton {
|
|
|
26432
26425
|
this.handleOnClose = () => {
|
|
26433
26426
|
this.state = Object.assign(Object.assign({}, this.state), { _show: false });
|
|
26434
26427
|
};
|
|
26435
|
-
this._accessKey = undefined;
|
|
26436
26428
|
this._ariaControls = undefined;
|
|
26437
|
-
this._ariaDescription = undefined;
|
|
26438
26429
|
this._ariaExpanded = undefined;
|
|
26439
26430
|
this._ariaSelected = undefined;
|
|
26440
26431
|
this._customClass = undefined;
|
|
@@ -26446,7 +26437,6 @@ class KolSplitButton {
|
|
|
26446
26437
|
this._name = undefined;
|
|
26447
26438
|
this._on = undefined;
|
|
26448
26439
|
this._role = undefined;
|
|
26449
|
-
this._shortKey = undefined;
|
|
26450
26440
|
this._syncValueBySelector = undefined;
|
|
26451
26441
|
this._tooltipAlign = 'top';
|
|
26452
26442
|
this._type = 'button';
|
|
@@ -26456,19 +26446,12 @@ class KolSplitButton {
|
|
|
26456
26446
|
_show: false,
|
|
26457
26447
|
};
|
|
26458
26448
|
}
|
|
26459
|
-
async getValue() {
|
|
26460
|
-
return this._value;
|
|
26461
|
-
}
|
|
26462
|
-
async kolFocus() {
|
|
26463
|
-
var _a;
|
|
26464
|
-
await ((_a = this.primaryButtonWcRef) === null || _a === void 0 ? void 0 : _a.kolFocus());
|
|
26465
|
-
}
|
|
26466
26449
|
render() {
|
|
26467
26450
|
const i18nDropdownLabel = 'kol-split-button-dropdown-label';
|
|
26468
|
-
return (hAsync("div", { key: '
|
|
26451
|
+
return (hAsync("div", { key: 'adfeb36fc1c13115648cab2c692dcf28ede4f663', class: "kol-split-button" }, hAsync("div", { key: '6ddddfa00a901d7a1c02a242384ba6478955c13b', class: "kol-split-button__root" }, hAsync(KolButtonWcTag, { key: '73295b6c589ee559c4e301c6685568e0aa6359de', class: clsx('kol-split-button__button', {
|
|
26469
26452
|
[this._variant]: this._variant !== 'custom',
|
|
26470
26453
|
[this._customClass]: this._variant === 'custom' && typeof this._customClass === 'string' && this._customClass.length > 0,
|
|
26471
|
-
}),
|
|
26454
|
+
}), _ariaControls: this._ariaControls, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _icons: this._icons, _hideLabel: this._hideLabel, _label: this._label, _name: this._name, _on: this.clickButtonHandler, _role: this._role, _syncValueBySelector: this._syncValueBySelector, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _buttonVariant: this._variant }), hAsync("div", { key: '29f15b767934692234c76d6738696ea225488d24', class: "kol-split-button__horizontal-line" }), hAsync(KolButtonWcTag, { key: '689696759403849639ec892383aad2d055ac1482', class: "kol-split-button__secondary-button", _disabled: this._disabled, _hideLabel: true, _icons: "codicon codicon-triangle-down", _label: this.state._show ? translate(`${i18nDropdownLabel}-close`) : translate(`${i18nDropdownLabel}-open`), _on: this.clickToggleHandler })), hAsync(KolPopoverWcTag, { key: 'ba4151408b5ea8295eaee3f680ccd394e081464b', _show: this.state._show, _on: { onClose: this.handleOnClose }, _align: "bottom" }, hAsync("slot", { key: '88c02a85478c3cedae8272e2f3f4848bbf031488' }))));
|
|
26472
26455
|
}
|
|
26473
26456
|
async closePopup() {
|
|
26474
26457
|
this.handleOnClose();
|
|
@@ -26482,9 +26465,7 @@ class KolSplitButton {
|
|
|
26482
26465
|
"$flags$": 57,
|
|
26483
26466
|
"$tagName$": "kol-split-button",
|
|
26484
26467
|
"$members$": {
|
|
26485
|
-
"_accessKey": [1, "_access-key"],
|
|
26486
26468
|
"_ariaControls": [1, "_aria-controls"],
|
|
26487
|
-
"_ariaDescription": [1, "_aria-description"],
|
|
26488
26469
|
"_ariaExpanded": [4, "_aria-expanded"],
|
|
26489
26470
|
"_ariaSelected": [4, "_aria-selected"],
|
|
26490
26471
|
"_customClass": [1, "_custom-class"],
|
|
@@ -26496,15 +26477,12 @@ class KolSplitButton {
|
|
|
26496
26477
|
"_name": [1],
|
|
26497
26478
|
"_on": [16],
|
|
26498
26479
|
"_role": [1],
|
|
26499
|
-
"_shortKey": [1, "_short-key"],
|
|
26500
26480
|
"_syncValueBySelector": [1, "_sync-value-by-selector"],
|
|
26501
26481
|
"_tooltipAlign": [1, "_tooltip-align"],
|
|
26502
26482
|
"_type": [1],
|
|
26503
26483
|
"_value": [8],
|
|
26504
26484
|
"_variant": [1],
|
|
26505
26485
|
"state": [32],
|
|
26506
|
-
"getValue": [64],
|
|
26507
|
-
"kolFocus": [64],
|
|
26508
26486
|
"closePopup": [64]
|
|
26509
26487
|
},
|
|
26510
26488
|
"$listeners$": undefined,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/hydrate",
|
|
3
|
-
"version": "3.0.2-
|
|
3
|
+
"version": "3.0.2-rc.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": {
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
],
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"rimraf": "6.0.1",
|
|
49
|
-
"@public-ui/components": "3.0.2-
|
|
49
|
+
"@public-ui/components": "3.0.2-rc.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@public-ui/components": "3.0.2-
|
|
52
|
+
"@public-ui/components": "3.0.2-rc.0"
|
|
53
53
|
},
|
|
54
54
|
"sideEffects": false,
|
|
55
55
|
"type": "commonjs",
|