@astryx-vue/cli 0.4.3 → 0.4.4

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.
Files changed (2) hide show
  1. package/dist/index.js +70 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -633,7 +633,7 @@ const catalog = {
633
633
  {
634
634
  "name": "@astryx-vue/core",
635
635
  "directory": "packages/core",
636
- "version": "0.6.0",
636
+ "version": "0.7.0",
637
637
  "description": "Vue 3 components for the unofficial astryx-vue port of Astryx. Not affiliated with Meta.",
638
638
  "canary": false,
639
639
  "published": true
@@ -641,7 +641,7 @@ const catalog = {
641
641
  {
642
642
  "name": "@astryx-vue/charts",
643
643
  "directory": "packages/charts",
644
- "version": "0.1.1",
644
+ "version": "0.1.2",
645
645
  "description": "Astryx charts for Vue — a config-model data visualization layer (d3-based).",
646
646
  "canary": false,
647
647
  "published": true
@@ -649,7 +649,7 @@ const catalog = {
649
649
  {
650
650
  "name": "@astryx-vue/lab",
651
651
  "directory": "packages/lab",
652
- "version": "0.2.0",
652
+ "version": "0.2.1",
653
653
  "description": "Astryx lab components for Vue 3 — experimental components that may change. Ships only under the canary dist-tag.",
654
654
  "canary": true,
655
655
  "published": true
@@ -657,7 +657,7 @@ const catalog = {
657
657
  {
658
658
  "name": "@astryx-vue/richtext",
659
659
  "directory": "packages/richtext",
660
- "version": "0.6.0",
660
+ "version": "0.7.0",
661
661
  "description": "Astryx rich text for Vue — Lexical nodes and lossless Markdown import/export. Not affiliated with Meta.",
662
662
  "canary": false,
663
663
  "published": true
@@ -665,7 +665,7 @@ const catalog = {
665
665
  {
666
666
  "name": "@astryx-vue/themes",
667
667
  "directory": "packages/themes",
668
- "version": "0.6.0",
668
+ "version": "0.7.0",
669
669
  "description": "CSS themes for the unofficial astryx-vue port of Astryx. Not affiliated with Meta.",
670
670
  "canary": false,
671
671
  "published": true
@@ -59260,6 +59260,70 @@ const catalog = {
59260
59260
  "zh": "https://astryx-vue.pages.dev/components/lightbox"
59261
59261
  }
59262
59262
  },
59263
+ {
59264
+ "slug": "drawer",
59265
+ "name": "Drawer",
59266
+ "package": "@astryx-vue/core",
59267
+ "kind": "component",
59268
+ "title": {
59269
+ "en": "Drawer",
59270
+ "zh": "抽屉"
59271
+ },
59272
+ "group": "Overlay",
59273
+ "groupTitle": {
59274
+ "en": "Overlay",
59275
+ "zh": "浮层"
59276
+ },
59277
+ "importPath": "@astryx-vue/core/Drawer",
59278
+ "exportName": "Drawer",
59279
+ "summary": {
59280
+ "en": "`Drawer` is a panel that slides in from one side of the screen, for filters, details, or a short form. It shares the dialog's modal machinery: page scrolling is locked, focus stays inside, and closing returns focus to whatever opened it.",
59281
+ "zh": "`Drawer` 是从屏幕一侧滑出的面板,用来放筛选、详情或一小段表单。它和弹窗共用同一套模态机制:打开时锁住页面滚动、把焦点关在面板里、关闭后把焦点还给打开它的元素。"
59282
+ },
59283
+ "usage": {
59284
+ "en": "`Drawer` is a panel that slides in from one side of the screen, for filters, details, or a short form. It shares the dialog's modal machinery: page scrolling is locked, focus stays inside, and closing returns focus to whatever opened it.\n\n`placement` picks the edge, `end` by default. `purpose` decides how it closes: `info` allows Escape and a scrim click, `form` allows only Escape, `required` allows neither.\n\n```vue\n<script setup lang=\"ts\">\nimport { Button } from '@astryx-vue/core/Button'\nimport { Drawer, DrawerHeader } from '@astryx-vue/core/Drawer'\nimport { ref } from 'vue'\n\nconst isOpen = ref(false)\n<\/script>\n\n<template>\n <Button @click=\"isOpen = true\">\n Open filters\n </Button>\n <Drawer :is-open=\"isOpen\" label=\"Filters\" @open-change=\"isOpen = $event\">\n <DrawerHeader title=\"Filters\" subtitle=\"Narrow the list\" @open-change=\"isOpen = false\" />\n <p>Category, price range and availability go here.</p>\n </Drawer>\n</template>\n```\n\n<drawerOverview />",
59285
+ "zh": "`Drawer` 是从屏幕一侧滑出的面板,用来放筛选、详情或一小段表单。它和弹窗共用同一套模态机制:打开时锁住页面滚动、把焦点关在面板里、关闭后把焦点还给打开它的元素。\n\n`placement` 决定贴哪一边,默认 `end`(中文界面是右边)。`purpose` 决定怎么关:`info` 允许 Escape 和点遮罩,`form` 只允许 Escape,`required` 两者都不允许。\n\n```vue\n<script setup lang=\"ts\">\nimport { Button } from '@astryx-vue/core/Button'\nimport { Drawer, DrawerHeader } from '@astryx-vue/core/Drawer'\nimport { ref } from 'vue'\n\nconst isOpen = ref(false)\n<\/script>\n\n<template>\n <Button @click=\"isOpen = true\">\n 打开筛选\n </Button>\n <Drawer :is-open=\"isOpen\" label=\"筛选\" @open-change=\"isOpen = $event\">\n <DrawerHeader title=\"筛选\" subtitle=\"缩小列表范围\" @open-change=\"isOpen = false\" />\n <p>分类、价格区间和是否有货放在这里。</p>\n </Drawer>\n</template>\n```\n\n<drawerOverview />"
59286
+ },
59287
+ "practices": {
59288
+ "en": [],
59289
+ "zh": []
59290
+ },
59291
+ "props": {
59292
+ "en": [],
59293
+ "zh": []
59294
+ },
59295
+ "slots": {
59296
+ "en": [],
59297
+ "zh": []
59298
+ },
59299
+ "events": {
59300
+ "en": [],
59301
+ "zh": []
59302
+ },
59303
+ "notes": {
59304
+ "en": [{
59305
+ "heading": "Title row",
59306
+ "text": "`DrawerHeader` gives you a title, a subtitle, and start/end slots. The close button appears when someone listens for `open-change`; pass `has-close-button` to decide it yourself."
59307
+ }],
59308
+ "zh": [{
59309
+ "heading": "标题行",
59310
+ "text": "`DrawerHeader` 提供标题、副标题、行首和行尾插槽。关闭按钮默认在有人监听 `open-change` 时出现;想写死就传 `has-close-button`。"
59311
+ }]
59312
+ },
59313
+ "examples": [],
59314
+ "anatomy": {
59315
+ "en": [],
59316
+ "zh": []
59317
+ },
59318
+ "accessibility": {
59319
+ "en": [],
59320
+ "zh": []
59321
+ },
59322
+ "docsUrl": {
59323
+ "en": "https://astryx-vue.pages.dev/en/components/drawer",
59324
+ "zh": "https://astryx-vue.pages.dev/components/drawer"
59325
+ }
59326
+ },
59263
59327
  {
59264
59328
  "slug": "list",
59265
59329
  "name": "List",
@@ -82736,7 +82800,7 @@ function wantsJson(argv) {
82736
82800
  }
82737
82801
  //#endregion
82738
82802
  //#region package.json
82739
- var version = "0.4.3";
82803
+ var version = "0.4.4";
82740
82804
  //#endregion
82741
82805
  //#region src/envelope.ts
82742
82806
  function successEnvelope(type, data, packageName) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astryx-vue/cli",
3
3
  "type": "module",
4
- "version": "0.4.3",
4
+ "version": "0.4.4",
5
5
  "description": "Agent-friendly CLI for the unofficial astryx-vue port of Astryx. Not affiliated with Meta.",
6
6
  "author": "ShenQingchuan",
7
7
  "license": "MIT",