@quirekit/ui 0.2.0 → 0.3.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.
Files changed (31) hide show
  1. package/dist/{catalog-Dn7izrV5.mjs → catalog-Bvw3Ac1s.mjs} +8 -1
  2. package/dist/catalog-Bvw3Ac1s.mjs.map +1 -0
  3. package/dist/{chat-1THPEdHw.mjs → chat-k_Qlgjsx.mjs} +4 -4
  4. package/dist/{chat-1THPEdHw.mjs.map → chat-k_Qlgjsx.mjs.map} +1 -1
  5. package/dist/chat.d.mts +2 -2
  6. package/dist/chat.mjs +1 -1
  7. package/dist/{code-block-BLzjRjTb.mjs → code-block-Bk3lG3Av.mjs} +2 -2
  8. package/dist/{code-block-BLzjRjTb.mjs.map → code-block-Bk3lG3Av.mjs.map} +1 -1
  9. package/dist/{html-sandbox-D9a7iXbU.mjs → html-sandbox-Dz8QJboL.mjs} +2 -2
  10. package/dist/{html-sandbox-D9a7iXbU.mjs.map → html-sandbox-Dz8QJboL.mjs.map} +1 -1
  11. package/dist/html-sandbox.mjs +1 -1
  12. package/dist/{index-DVBEYJNY.d.mts → index-BpMc3jtg.d.mts} +14 -14
  13. package/dist/{index-DVBEYJNY.d.mts.map → index-BpMc3jtg.d.mts.map} +1 -1
  14. package/dist/{index-BkzB7Lb6.d.mts → index-DNsDf3xu.d.mts} +7 -3
  15. package/dist/index-DNsDf3xu.d.mts.map +1 -0
  16. package/dist/index.d.mts +1 -1
  17. package/dist/index.mjs +3 -3
  18. package/dist/{model-BjGYjpa9.mjs → model-CzbNspoY.mjs} +3 -3
  19. package/dist/{model-BjGYjpa9.mjs.map → model-CzbNspoY.mjs.map} +1 -1
  20. package/dist/{resolve-nFmJOtS9.mjs → resolve-BAZIZ6gU.mjs} +2 -2
  21. package/dist/{resolve-nFmJOtS9.mjs.map → resolve-BAZIZ6gU.mjs.map} +1 -1
  22. package/dist/vue.d.mts +134 -134
  23. package/dist/vue.d.mts.map +1 -1
  24. package/dist/vue.mjs +5 -5
  25. package/package.json +2 -2
  26. package/src/components/icon/custom/table.ts +1 -0
  27. package/src/components/icon/metadata.ts +4 -0
  28. package/src/locale/components/icon-catalog/en.ts +1 -0
  29. package/src/locale/components/icon-catalog/zh-hans.ts +1 -0
  30. package/dist/catalog-Dn7izrV5.mjs.map +0 -1
  31. package/dist/index-BkzB7Lb6.d.mts.map +0 -1
package/dist/vue.mjs CHANGED
@@ -1,8 +1,8 @@
1
- import { a as getQuireKitEditorIconGroups, g as resolveQuireKitLocale, h as quireKitDefaultLocale, i as quireKitEditorIconData, t as getQuireKitEditorIconCatalog } from "./catalog-Dn7izrV5.mjs";
2
- import { C as themeVariableReferences, S as resolveQuireKitToolbarVisibleUnits, _ as quireDocumentColorRows, a as createQuireSelectionGesture, b as resolveToolbarNavigationTarget, c as resolveQuireRecentEmojis, d as getQuireKitFileUploadErrorMessage, f as parseQuireColor, h as layoutQuireCommentRail, i as tableQuickGridSize, l as createQuireEmojiCatalog, m as serializeQuireColor, n as moveTableGridSelection, o as createQuireSelectionHandles, r as normalizeTableSize, s as filterQuireEmojis, t as isTableGridCellHighlighted, u as createQuireEmojiGroups, v as resolveQuireKitToolbarEntrySpan, x as resolveToolbarTabStop } from "./model-BjGYjpa9.mjs";
3
- import { a as useQuireKitLocale, c as quireKitIconRegistryKey, i as quireKitLocaleKey, l as _sfc_main$13, n as _sfc_main$39, o as useQuireKitMessages, r as _sfc_main$37, s as _sfc_main$86, t as _sfc_main$38 } from "./code-block-BLzjRjTb.mjs";
4
- import { $ as _sfc_main$34, A as _sfc_main$180, B as useMenuLayerClass, C as _sfc_main$73, Ct as _sfc_main$87, D as _sfc_main$225, E as _sfc_main$226, F as _sfc_main$109, G as _sfc_main$99, H as anchoredSurfaceStyle, I as _sfc_main$108, J as keyLabel, K as _sfc_main$206, L as _sfc_main$110, M as _sfc_main$103, N as _sfc_main$107, O as _sfc_main$224, P as _sfc_main$104, Q as _sfc_main$40, R as _sfc_main$111, S as _sfc_main$4, St as _sfc_main$76, T as _sfc_main$307, U as _sfc_main$105, V as resolveViewportMenuContentStyle, W as _sfc_main$106, X as useFieldLabel, Y as provideFieldLabel, Z as useModalPortal, _ as _sfc_main$35, _t as provideQuireInheritedThemePortals, a as _sfc_main$28, at as useImagePreviewGroup, b as _sfc_main$306, bt as provideQuireOverlayHost, c as _sfc_main$193, ct as _sfc_main$126, d as _sfc_main$25, dt as _sfc_main$91, et as _sfc_main$7, f as _sfc_main$24, ft as quireImagePreviewToolbarPresets, g as _sfc_main$20, gt as _sfc_main$305, h as _sfc_main$21, ht as _sfc_main$303, i as _sfc_main$26, it as useHorizontalScroll, j as guardRadioReadOnlyKey, k as _sfc_main$184, l as _sfc_main$33, lt as _sfc_main$89, m as _sfc_main$19, mt as _sfc_main$63, n as _sfc_main$29, nt as scrollLeftIcon, o as _sfc_main$30, ot as _sfc_main$6, p as _sfc_main$32, pt as useModalSurfaceOwner, q as chordText, r as _sfc_main$23, rt as scrollRightIcon, s as _sfc_main$22, st as _sfc_main$190, t as _sfc_main$27, tt as _sfc_main$304, u as _sfc_main$31, ut as imagePreviewGroupKey, v as assertChoiceValues, vt as quireKitThemeKey, w as _sfc_main$230, x as _sfc_main$15, xt as useQuireOverlayHost, y as useChoiceState, yt as useQuireKitTheme, z as provideSubmenuSiblings } from "./chat-1THPEdHw.mjs";
5
- import { n as _sfc_main$161, r as _sfc_main$201, t as _sfc_main$85 } from "./html-sandbox-D9a7iXbU.mjs";
1
+ import { a as getQuireKitEditorIconGroups, g as resolveQuireKitLocale, h as quireKitDefaultLocale, i as quireKitEditorIconData, t as getQuireKitEditorIconCatalog } from "./catalog-Bvw3Ac1s.mjs";
2
+ import { C as themeVariableReferences, S as resolveQuireKitToolbarVisibleUnits, _ as quireDocumentColorRows, a as createQuireSelectionGesture, b as resolveToolbarNavigationTarget, c as resolveQuireRecentEmojis, d as getQuireKitFileUploadErrorMessage, f as parseQuireColor, h as layoutQuireCommentRail, i as tableQuickGridSize, l as createQuireEmojiCatalog, m as serializeQuireColor, n as moveTableGridSelection, o as createQuireSelectionHandles, r as normalizeTableSize, s as filterQuireEmojis, t as isTableGridCellHighlighted, u as createQuireEmojiGroups, v as resolveQuireKitToolbarEntrySpan, x as resolveToolbarTabStop } from "./model-CzbNspoY.mjs";
3
+ import { a as useQuireKitLocale, c as quireKitIconRegistryKey, i as quireKitLocaleKey, l as _sfc_main$13, n as _sfc_main$39, o as useQuireKitMessages, r as _sfc_main$37, s as _sfc_main$86, t as _sfc_main$38 } from "./code-block-Bk3lG3Av.mjs";
4
+ import { $ as _sfc_main$34, A as _sfc_main$180, B as useMenuLayerClass, C as _sfc_main$73, Ct as _sfc_main$87, D as _sfc_main$225, E as _sfc_main$226, F as _sfc_main$109, G as _sfc_main$99, H as anchoredSurfaceStyle, I as _sfc_main$108, J as keyLabel, K as _sfc_main$206, L as _sfc_main$110, M as _sfc_main$103, N as _sfc_main$107, O as _sfc_main$224, P as _sfc_main$104, Q as _sfc_main$40, R as _sfc_main$111, S as _sfc_main$4, St as _sfc_main$76, T as _sfc_main$307, U as _sfc_main$105, V as resolveViewportMenuContentStyle, W as _sfc_main$106, X as useFieldLabel, Y as provideFieldLabel, Z as useModalPortal, _ as _sfc_main$35, _t as provideQuireInheritedThemePortals, a as _sfc_main$28, at as useImagePreviewGroup, b as _sfc_main$306, bt as provideQuireOverlayHost, c as _sfc_main$193, ct as _sfc_main$126, d as _sfc_main$25, dt as _sfc_main$91, et as _sfc_main$7, f as _sfc_main$24, ft as quireImagePreviewToolbarPresets, g as _sfc_main$20, gt as _sfc_main$305, h as _sfc_main$21, ht as _sfc_main$303, i as _sfc_main$26, it as useHorizontalScroll, j as guardRadioReadOnlyKey, k as _sfc_main$184, l as _sfc_main$33, lt as _sfc_main$89, m as _sfc_main$19, mt as _sfc_main$63, n as _sfc_main$29, nt as scrollLeftIcon, o as _sfc_main$30, ot as _sfc_main$6, p as _sfc_main$32, pt as useModalSurfaceOwner, q as chordText, r as _sfc_main$23, rt as scrollRightIcon, s as _sfc_main$22, st as _sfc_main$190, t as _sfc_main$27, tt as _sfc_main$304, u as _sfc_main$31, ut as imagePreviewGroupKey, v as assertChoiceValues, vt as quireKitThemeKey, w as _sfc_main$230, x as _sfc_main$15, xt as useQuireOverlayHost, y as useChoiceState, yt as useQuireKitTheme, z as provideSubmenuSiblings } from "./chat-k_Qlgjsx.mjs";
5
+ import { n as _sfc_main$161, r as _sfc_main$201, t as _sfc_main$85 } from "./html-sandbox-Dz8QJboL.mjs";
6
6
  import { ColorPicker, useColorPickerContext } from "@ark-ui/vue/color-picker";
7
7
  import { Comment, Fragment, Teleport, cloneVNode, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createStaticVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, guardReactiveProps, h, inject, isMemoSame, isVNode, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, onUpdated, openBlock, provide, reactive, readonly, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toHandlers, toRef, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, vShow, watch, watchEffect, watchPostEffect, withCtx, withDirectives, withKeys, withModifiers } from "vue";
8
8
  import { ark } from "@ark-ui/vue/factory";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quirekit/ui",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "Wang Yishuai (王一帅)"
@@ -73,7 +73,7 @@
73
73
  "@internationalized/date": "3.12.3",
74
74
  "@tanstack/vue-table": "8.21.3",
75
75
  "vee-validate": "4.15.1",
76
- "@quirekit/html-sandbox": "0.2.0"
76
+ "@quirekit/html-sandbox": "0.3.0"
77
77
  },
78
78
  "scripts": {
79
79
  "build": "pnpm icons:generate && tsdown --config tsdown.config.ts",
@@ -22,6 +22,7 @@ export const tableIconSvg = Object.freeze({
22
22
  tableAlignTop: "<svg data-icon-style=\"lucide-custom\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"1\"/><path d=\"M7 7h10M7 11h10\"/></svg>",
23
23
  tableAlignCenter: "<svg data-icon-style=\"lucide-custom\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"1\"/><path d=\"M7 10h10M7 14h10\"/></svg>",
24
24
  tableAlignBottom: "<svg data-icon-style=\"lucide-custom\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"1\"/><path d=\"M7 13h10M7 17h10\"/></svg>",
25
+ tableAlignGeneral: "<svg data-icon-style=\"lucide-custom\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"1\"/><path d=\"M7 8h6M11 12h6M7 16h6\"/></svg>",
25
26
  tableRowHeight: "<svg data-icon-style=\"lucide-custom\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"3\" y=\"7\" width=\"11\" height=\"10\" rx=\"1\"/><path d=\"M19 4v16M16.5 6.5 19 4l2.5 2.5M16.5 17.5 19 20l2.5-2.5\"/></svg>",
26
27
  tableStyle: "<svg data-icon-style=\"lucide-custom\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"3\" y=\"3\" width=\"18\" height=\"6\" fill=\"currentColor\" fill-opacity=\".35\" stroke=\"none\"/><rect x=\"3\" y=\"15\" width=\"18\" height=\"6\" fill=\"currentColor\" fill-opacity=\".15\" stroke=\"none\"/><rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"1\"/><path d=\"M3 9h18M3 15h18\"/></svg>",
27
28
  tableInsert: "<svg data-icon-style=\"lucide-custom\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"3\" y=\"3\" width=\"12\" height=\"12\" rx=\"1\"/><path d=\"M3 9h12M9 3v12M18 14v7M14.5 17.5h7\"/></svg>",
@@ -1676,6 +1676,10 @@ export const quireKitEditorIconGroups = [
1676
1676
  "name": "tableAlignBottom",
1677
1677
  "upstream": "custom"
1678
1678
  },
1679
+ {
1680
+ "name": "tableAlignGeneral",
1681
+ "upstream": "custom"
1682
+ },
1679
1683
  {
1680
1684
  "name": "tableDistributeRows",
1681
1685
  "upstream": "align-vertical-distribute-center"
@@ -466,6 +466,7 @@ export const en: Messages = {
466
466
  tableAlignTop: "Align cell top",
467
467
  tableAlignCenter: "Center cell vertically",
468
468
  tableAlignBottom: "Align cell bottom",
469
+ tableAlignGeneral: "General cell alignment",
469
470
  tableDistributeRows: "Distribute rows",
470
471
  tableDistributeColumns: "Distribute columns",
471
472
  tableRowHeight: "Row height",
@@ -466,6 +466,7 @@ export const zhCN: Messages = {
466
466
  tableAlignTop: "单元格顶端对齐",
467
467
  tableAlignCenter: "单元格垂直居中",
468
468
  tableAlignBottom: "单元格底端对齐",
469
+ tableAlignGeneral: "单元格常规对齐",
469
470
  tableDistributeRows: "平均分布行",
470
471
  tableDistributeColumns: "平均分布列",
471
472
  tableRowHeight: "行高",