@kubex/zinc 1.1.146 → 1.1.148

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.
@@ -7081,6 +7081,15 @@
7081
7081
  "default": "\"Cancel\"",
7082
7082
  "attribute": "cancelText"
7083
7083
  },
7084
+ {
7085
+ "kind": "field",
7086
+ "name": "closeText",
7087
+ "type": {
7088
+ "text": "string"
7089
+ },
7090
+ "default": "\"Close\"",
7091
+ "attribute": "closeText"
7092
+ },
7084
7093
  {
7085
7094
  "kind": "field",
7086
7095
  "name": "hideIcon",
@@ -7328,6 +7337,14 @@
7328
7337
  "default": "\"Cancel\"",
7329
7338
  "fieldName": "cancelText"
7330
7339
  },
7340
+ {
7341
+ "name": "closeText",
7342
+ "type": {
7343
+ "text": "string"
7344
+ },
7345
+ "default": "\"Close\"",
7346
+ "fieldName": "closeText"
7347
+ },
7331
7348
  {
7332
7349
  "name": "hide-icon",
7333
7350
  "type": {
@@ -36304,6 +36321,10 @@
36304
36321
  {
36305
36322
  "description": "The tallest the editor grows before its body scrolls. Defaults to `100dvh`.",
36306
36323
  "name": "--remarkd-editor-max-height"
36324
+ },
36325
+ {
36326
+ "description": "The shortest the body renders while empty. Defaults to `10rem`.",
36327
+ "name": "--remarkd-editor-min-height"
36307
36328
  }
36308
36329
  ],
36309
36330
  "cssParts": [
@@ -38081,7 +38102,7 @@
38081
38102
  "tagNameWithoutPrefix": "remarkd-editor",
38082
38103
  "tagName": "zn-remarkd-editor",
38083
38104
  "customElement": true,
38084
- "jsDoc": "/**\n * @summary A Notion-style block editor for remarkd content. Blocks render inline; click one to edit its source.\n * @documentation https://zinc.style/components/remarkd-editor\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n * @dependency zn-button-group\n * @dependency zn-dropdown\n * @dependency zn-icon\n * @dependency zn-file\n * @dependency zn-menu\n * @dependency zn-menu-item\n * @dependency zn-slash-menu\n *\n * @event zn-input - Emitted on each keystroke while editing a block.\n * @event zn-change - Emitted when a block edit is committed and the value changes.\n *\n * @csspart base - The component's base wrapper.\n * @csspart toolbar - The always-visible block-insert and inline-formatting toolbar.\n * @csspart raw-toggle - The button that switches between the block view and the raw source view.\n * @csspart block - A rendered block wrapper.\n * @csspart rendered - The rendered remarkd output of a block.\n * @csspart conditional - A labelled wrapper for an ifdef/ifndef/ifeval/iftrue/iffalse/ifempty/ifnempty range.\n * @csspart variable - A chip rendered for a document attribute, title, or bracket line.\n * @csspart input - The textarea shown while editing a block.\n * @csspart raw - The full-document textarea shown in raw source mode.\n * @csspart slash-menu - The `zn-slash-menu` opened by typing \"/\" in an empty block.\n * @csspart image-controls - The caption / alignment / size panel shown when an image block is clicked.\n * @csspart include - The chip rendered in place of an `include::` directive.\n * @csspart include-picker - The inline Include picker opened from the toolbar or \"/include\".\n *\n * @cssproperty --remarkd-editor-max-height - The tallest the editor grows before its body scrolls. Defaults to `100dvh`.\n */",
38105
+ "jsDoc": "/**\n * @summary A Notion-style block editor for remarkd content. Blocks render inline; click one to edit its source.\n * @documentation https://zinc.style/components/remarkd-editor\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n * @dependency zn-button-group\n * @dependency zn-dropdown\n * @dependency zn-icon\n * @dependency zn-file\n * @dependency zn-menu\n * @dependency zn-menu-item\n * @dependency zn-slash-menu\n *\n * @event zn-input - Emitted on each keystroke while editing a block.\n * @event zn-change - Emitted when a block edit is committed and the value changes.\n *\n * @csspart base - The component's base wrapper.\n * @csspart toolbar - The always-visible block-insert and inline-formatting toolbar.\n * @csspart raw-toggle - The button that switches between the block view and the raw source view.\n * @csspart block - A rendered block wrapper.\n * @csspart rendered - The rendered remarkd output of a block.\n * @csspart conditional - A labelled wrapper for an ifdef/ifndef/ifeval/iftrue/iffalse/ifempty/ifnempty range.\n * @csspart variable - A chip rendered for a document attribute, title, or bracket line.\n * @csspart input - The textarea shown while editing a block.\n * @csspart raw - The full-document textarea shown in raw source mode.\n * @csspart slash-menu - The `zn-slash-menu` opened by typing \"/\" in an empty block.\n * @csspart image-controls - The caption / alignment / size panel shown when an image block is clicked.\n * @csspart include - The chip rendered in place of an `include::` directive.\n * @csspart include-picker - The inline Include picker opened from the toolbar or \"/include\".\n *\n * @cssproperty --remarkd-editor-max-height - The tallest the editor grows before its body scrolls. Defaults to `100dvh`.\n * @cssproperty --remarkd-editor-min-height - The shortest the body renders while empty. Defaults to `10rem`.\n */",
38085
38106
  "documentation": "https://zinc.style/components/remarkd-editor",
38086
38107
  "status": "experimental",
38087
38108
  "since": "1.0",
@@ -53472,7 +53493,7 @@
53472
53493
  "package": {
53473
53494
  "name": "@kubex/zinc",
53474
53495
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
53475
- "version": "1.1.146",
53496
+ "version": "1.1.148",
53476
53497
  "author": "",
53477
53498
  "license": "MIT"
53478
53499
  }
@@ -1002,6 +1002,7 @@
1002
1002
  { "name": "content", "values": [] },
1003
1003
  { "name": "confirmText", "values": [] },
1004
1004
  { "name": "cancelText", "values": [] },
1005
+ { "name": "closeText", "values": [] },
1005
1006
  { "name": "hide-icon", "values": [] },
1006
1007
  {
1007
1008
  "name": "show-loading",
@@ -3665,7 +3666,7 @@
3665
3666
  },
3666
3667
  {
3667
3668
  "name": "zn-remarkd-editor",
3668
- "description": "A Notion-style block editor for remarkd content. Blocks render inline; click one to edit its source.\n---\n\n\n### **Events:**\n - **zn-input** - Emitted on each keystroke while editing a block.\n- **zn-change** - Emitted when a block edit is committed and the value changes.\n\n### **Methods:**\n - **focus()** - Starts editing the first block, or a new block if the document is empty.\n- **blur()** - Commits any in-progress block or raw edit.\n\n### **CSS Properties:**\n - **--remarkd-editor-max-height** - The tallest the editor grows before its body scrolls. Defaults to `100dvh`. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **toolbar** - The always-visible block-insert and inline-formatting toolbar.\n- **raw-toggle** - The button that switches between the block view and the raw source view.\n- **block** - A rendered block wrapper.\n- **rendered** - The rendered remarkd output of a block.\n- **conditional** - A labelled wrapper for an ifdef/ifndef/ifeval/iftrue/iffalse/ifempty/ifnempty range.\n- **variable** - A chip rendered for a document attribute, title, or bracket line.\n- **input** - The textarea shown while editing a block.\n- **raw** - The full-document textarea shown in raw source mode.\n- **slash-menu** - The `zn-slash-menu` opened by typing \"/\" in an empty block.\n- **image-controls** - The caption / alignment / size panel shown when an image block is clicked.\n- **include** - The chip rendered in place of an `include::` directive.\n- **include-picker** - The inline Include picker opened from the toolbar or \"/include\".",
3669
+ "description": "A Notion-style block editor for remarkd content. Blocks render inline; click one to edit its source.\n---\n\n\n### **Events:**\n - **zn-input** - Emitted on each keystroke while editing a block.\n- **zn-change** - Emitted when a block edit is committed and the value changes.\n\n### **Methods:**\n - **focus()** - Starts editing the first block, or a new block if the document is empty.\n- **blur()** - Commits any in-progress block or raw edit.\n\n### **CSS Properties:**\n - **--remarkd-editor-max-height** - The tallest the editor grows before its body scrolls. Defaults to `100dvh`. _(default: undefined)_\n- **--remarkd-editor-min-height** - The shortest the body renders while empty. Defaults to `10rem`. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **toolbar** - The always-visible block-insert and inline-formatting toolbar.\n- **raw-toggle** - The button that switches between the block view and the raw source view.\n- **block** - A rendered block wrapper.\n- **rendered** - The rendered remarkd output of a block.\n- **conditional** - A labelled wrapper for an ifdef/ifndef/ifeval/iftrue/iffalse/ifempty/ifnempty range.\n- **variable** - A chip rendered for a document attribute, title, or bracket line.\n- **input** - The textarea shown while editing a block.\n- **raw** - The full-document textarea shown in raw source mode.\n- **slash-menu** - The `zn-slash-menu` opened by typing \"/\" in an empty block.\n- **image-controls** - The caption / alignment / size panel shown when an image block is clicked.\n- **include** - The chip rendered in place of an `include::` directive.\n- **include-picker** - The inline Include picker opened from the toolbar or \"/include\".",
3669
3670
  "attributes": [
3670
3671
  {
3671
3672
  "name": "slash-recent-key",