@kubex/zinc 1.1.165 → 1.1.167

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.
@@ -37697,6 +37697,24 @@
37697
37697
  }
37698
37698
  ]
37699
37699
  },
37700
+ {
37701
+ "kind": "method",
37702
+ "name": "isListTab",
37703
+ "privacy": "private",
37704
+ "return": {
37705
+ "type": {
37706
+ "text": "boolean"
37707
+ }
37708
+ },
37709
+ "parameters": [
37710
+ {
37711
+ "name": "e",
37712
+ "type": {
37713
+ "text": "KeyboardEvent"
37714
+ }
37715
+ }
37716
+ ]
37717
+ },
37700
37718
  {
37701
37719
  "kind": "field",
37702
37720
  "name": "handleRawKeydown",
@@ -53931,7 +53949,7 @@
53931
53949
  "package": {
53932
53950
  "name": "@kubex/zinc",
53933
53951
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
53934
- "version": "1.1.165",
53952
+ "version": "1.1.167",
53935
53953
  "author": "",
53936
53954
  "license": "MIT"
53937
53955
  }
@@ -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.165",
4
+ "version": "1.1.167",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
package/dist/zn.d.ts CHANGED
@@ -9322,6 +9322,19 @@ declare module "components/remarkd-editor/list-continuation" {
9322
9322
  * newline — no list line, a selection, or the caret before the marker.
9323
9323
  */
9324
9324
  export function continueList(value: string, start: number, end: number): TextEdit | null;
9325
+ /** A textarea edit that keeps a selection: the new value and the selected range in it. */
9326
+ export interface RangeEdit {
9327
+ value: string;
9328
+ start: number;
9329
+ end: number;
9330
+ }
9331
+ /**
9332
+ * What Tab (or Shift+Tab when `outdent`) does on the list items the selection touches: nests
9333
+ * each one level deeper or shallower, renumbering the ordered items that follow. Null when no
9334
+ * list item is touched, so Tab keeps its default. Items already at the limit are left as they
9335
+ * are, but the key is still claimed.
9336
+ */
9337
+ export function indentList(value: string, start: number, end: number, outdent: boolean): RangeEdit | null;
9325
9338
  }
9326
9339
  declare module "internal/toolbar-overflow" {
9327
9340
  import type { ReactiveController, ReactiveControllerHost } from 'lit';
@@ -9560,6 +9573,7 @@ declare module "components/remarkd-editor/remarkd-editor.component" {
9560
9573
  */
9561
9574
  private finishedDraft;
9562
9575
  private isPlainEnter;
9576
+ private isListTab;
9563
9577
  private handleRawKeydown;
9564
9578
  /** Whether the block being edited is nothing but the slash command. */
9565
9579
  private isSlashBlock;