@kubex/zinc 1.1.140 → 1.1.141

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.
@@ -25979,6 +25979,25 @@
25979
25979
  "kind": "method",
25980
25980
  "name": "handleDisabledChange"
25981
25981
  },
25982
+ {
25983
+ "kind": "method",
25984
+ "name": "isRendered",
25985
+ "privacy": "private",
25986
+ "static": true,
25987
+ "return": {
25988
+ "type": {
25989
+ "text": "boolean"
25990
+ }
25991
+ },
25992
+ "parameters": [
25993
+ {
25994
+ "name": "el",
25995
+ "type": {
25996
+ "text": "Element"
25997
+ }
25998
+ }
25999
+ ]
26000
+ },
25982
26001
  {
25983
26002
  "kind": "method",
25984
26003
  "name": "handleSlotChange",
@@ -40581,6 +40600,11 @@
40581
40600
  "privacy": "private",
40582
40601
  "description": "Clears the search query and shows all options"
40583
40602
  },
40603
+ {
40604
+ "kind": "method",
40605
+ "name": "updateOptGroupSeparators",
40606
+ "privacy": "private"
40607
+ },
40584
40608
  {
40585
40609
  "kind": "method",
40586
40610
  "name": "commitFreeText",
@@ -53134,7 +53158,7 @@
53134
53158
  "package": {
53135
53159
  "name": "@kubex/zinc",
53136
53160
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
53137
- "version": "1.1.140",
53161
+ "version": "1.1.141",
53138
53162
  "author": "",
53139
53163
  "license": "MIT"
53140
53164
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@kubex/zinc",
4
- "version": "1.1.140",
4
+ "version": "1.1.141",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
package/dist/zn.d.ts CHANGED
@@ -2637,6 +2637,12 @@ declare module "components/opt-group/opt-group.component" {
2637
2637
  handleDisabledChange(): void;
2638
2638
  /** @internal - Updates visibility of the group based on whether any child options are visible. */
2639
2639
  updateVisibility(): void;
2640
+ /**
2641
+ * @internal - Marks the group as the first visible one so it doesn't draw a separator against the top of the
2642
+ * listbox. Structural `:first-child` can't see that earlier siblings were hidden by a search filter.
2643
+ */
2644
+ updateSeparator(): void;
2645
+ private static isRendered;
2640
2646
  render(): import("lit-html").TemplateResult<1>;
2641
2647
  private handleSlotChange;
2642
2648
  private propagateDisabled;
@@ -2936,6 +2942,7 @@ declare module "components/select/select.component" {
2936
2942
  private filterOptions;
2937
2943
  /** Clears the search query and shows all options */
2938
2944
  private clearSearch;
2945
+ private updateOptGroupSeparators;
2939
2946
  /**
2940
2947
  * Commits the current typed text as a selected value when `free-text` is enabled. A selected `<zn-option>`
2941
2948
  * (value = label = trimmed text) is created in the light DOM so the value flows through the existing
@@ -2981,6 +2988,7 @@ declare module "components/select/select.component" {
2981
2988
  */
2982
2989
  private _renderSelectedRemoteItems;
2983
2990
  private handleInvalid;
2991
+ protected updated(_changedProperties: PropertyValues): void;
2984
2992
  protected firstUpdated(_changedProperties: PropertyValues): void;
2985
2993
  handleDisabledChange(): void;
2986
2994
  handleSrcChange(): void;