@pantograph/vue 0.29.10 → 0.30.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.
- package/README.md +31 -0
- package/dist/ActionButton/index.js +1 -1
- package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-BirQtM-L.js → ActionButton.vue_vue_type_script_setup_true_lang-7KKRWq3t.js} +1 -1
- package/dist/Alert/index.js +2 -2
- package/dist/Avatar/index.js +4 -4
- package/dist/{Avatar.vue_vue_type_style_index_0_lang-WNM5RizH.js → Avatar.vue_vue_type_style_index_0_lang-CzFkAcKT.js} +8 -8
- package/dist/AvatarGroup/index.js +3 -3
- package/dist/Badge/index.js +1 -1
- package/dist/{Badge.vue_vue_type_script_setup_true_lang-C9t0NzDO.js → Badge.vue_vue_type_script_setup_true_lang-CxBSrreK.js} +2 -2
- package/dist/{BaseBadge.model-D4ZfMIfM.js → BaseBadge.model-CahZXsyM.js} +2 -2
- package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-CaREpCrW.js → BaseBadge.vue_vue_type_style_index_0_lang-DAiX2m7y.js} +1 -1
- package/dist/{BaseButton.vue_vue_type_style_index_0_lang-D4laMdCu.js → BaseButton.vue_vue_type_style_index_0_lang-qkW0olhp.js} +2 -2
- package/dist/Blanket/index.d.ts +1 -0
- package/dist/Blanket/index.js +1 -0
- package/dist/Blanket/index.umd.cjs +1 -0
- package/dist/Button/index.js +1 -1
- package/dist/{Button.vue_vue_type_script_setup_true_lang-DKCZ8sIM.js → Button.vue_vue_type_script_setup_true_lang-BtiJfT68.js} +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/Checkbox/index.js +3 -3
- package/dist/{Checkbox.vue_vue_type_style_index_0_lang-C1cexmHb.js → Checkbox.vue_vue_type_style_index_0_lang-u9Jw1VwG.js} +4 -4
- package/dist/CheckboxGroup/index.js +2 -2
- package/dist/Chip/index.js +4 -4
- package/dist/{Chip.vue_vue_type_style_index_0_lang-C_oc1u6F.js → Chip.vue_vue_type_style_index_0_lang-CmXECWtq.js} +5 -5
- package/dist/ChipGroup/index.js +1 -1
- package/dist/ColorPicker/index.js +2 -2
- package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-BdtNZJle.js → ColorPicker.vue_vue_type_style_index_0_lang-BbPbMX-k.js} +2 -2
- package/dist/ColorSwatch/index.js +2 -2
- package/dist/ColorSwatchGroup/index.js +1 -1
- package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-C6Cpd56O.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-B3fzpT99.js} +1 -1
- package/dist/ColorTrigger/index.js +2 -2
- package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-DyEf8Mdc.js → ColorTrigger.vue_vue_type_style_index_0_lang-BkJ15M1P.js} +1 -1
- package/dist/Combobox/index.js +8 -8
- package/dist/Comment/index.js +6 -6
- package/dist/ComponentMap-BOa7P0Pi.js +1 -0
- package/dist/{ComponentMap-BK05GoCW.js → ComponentMap-ezeVsRku.js} +3 -0
- package/dist/ComponentMap.d.ts +1 -1
- package/dist/DataTable/index.js +501 -484
- package/dist/DataTable/index.umd.cjs +1 -1
- package/dist/DropZone/index.js +1 -1
- package/dist/FloatButton/index.js +1 -1
- package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-CwJd-eoe.js → FloatButton.vue_vue_type_script_setup_true_lang-CxiLfXCr.js} +1 -1
- package/dist/GOPicker/index.js +5 -5
- package/dist/GraphicalObject/index.js +1 -1
- package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-ALNbGV5E.js → GraphicalObject.vue_vue_type_script_setup_true_lang-DBKQk4LJ.js} +2 -2
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton.vue_vue_type_script_setup_true_lang-DA1tKZlh.js → IconButton.vue_vue_type_script_setup_true_lang-DsSD_y63.js} +1 -1
- package/dist/Image/index.js +2 -2
- package/dist/{Image.vue_vue_type_style_index_0_lang-CGJDPbsL.js → Image.vue_vue_type_style_index_0_lang-CQv-I6_G.js} +2 -2
- package/dist/IndentLevel/index.js +2 -2
- package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-CpdbrYYm.js → IndentLevel.vue_vue_type_style_index_0_lang-BUUUBn2Z.js} +3 -3
- package/dist/Indicator/index.js +1 -1
- package/dist/{Indicator.vue_vue_type_script_setup_true_lang-B3vNEjtZ.js → Indicator.vue_vue_type_script_setup_true_lang-BYE7yX5H.js} +2 -2
- package/dist/Pagination/index.js +1 -1
- package/dist/Progress/index.js +2 -2
- package/dist/Progress/index.umd.cjs +1 -1
- package/dist/Progress/types.d.ts +1 -0
- package/dist/{Progress.vue_vue_type_style_index_0_lang-BC4gif2s.js → Progress.vue_vue_type_style_index_0_lang-Ba_Fby6M.js} +83 -81
- package/dist/Progress.vue_vue_type_style_index_0_lang-D_g_XsJ4.js +1 -0
- package/dist/ScrollContainer/index.js +2 -2
- package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-C9L-FJn7.js → ScrollContainer.vue_vue_type_style_index_0_lang-CRjnv1ii.js} +2 -2
- package/dist/Select/index.js +2 -2
- package/dist/{Select.vue_vue_type_style_index_0_lang-DclfpQrG.js → Select.vue_vue_type_style_index_0_lang-7Tq97moQ.js} +4 -4
- package/dist/Skeleton/index.js +2 -2
- package/dist/{Skeleton.vue_vue_type_style_index_0_lang-DeNnx4lD.js → Skeleton.vue_vue_type_style_index_0_lang-DOsf2SEN.js} +2 -2
- package/dist/Steps/Steps.model.d.ts +4 -0
- package/dist/Steps/index.d.ts +1 -0
- package/dist/Steps/index.js +1 -0
- package/dist/Steps/index.umd.cjs +1 -0
- package/dist/Tabs/index.js +3 -3
- package/dist/Toast/Toast.d.ts +49 -0
- package/dist/Toast/Toast.model.d.ts +2 -0
- package/dist/Toast/index.d.ts +5 -0
- package/dist/Toast/index.js +155 -0
- package/dist/Toast/index.umd.cjs +1 -0
- package/dist/Tree/index.js +1 -1
- package/dist/Upload/index.js +5 -5
- package/dist/Upload/index.umd.cjs +1 -1
- package/dist/{index-C3LNCbQ5.js → index-AwKp_D1S.js} +6 -6
- package/dist/{index-D8GuRo14.js → index-BCPptNhu.js} +4 -4
- package/dist/{index-B8dAvINP.js → index-BdPkHVwS.js} +3 -3
- package/dist/index.d.ts +4 -2
- package/dist/index.js +169 -165
- package/dist/index.umd.cjs +1 -1
- package/dist/nuxt/index.js +1 -1
- package/dist/nuxt/index.umd.cjs +1 -1
- package/dist/nuxt.d.ts +1 -1
- package/dist/resolver/index.js +1 -1
- package/dist/resolver/index.umd.cjs +1 -1
- package/dist/style/index.css +1 -1
- package/dist/use/index.js +1000 -10
- package/dist/use/index.umd.cjs +1 -1
- package/package.json +32 -10
- package/dist/ComponentMap-CFe_xZkg.js +0 -1
- package/dist/Progress.vue_vue_type_style_index_0_lang-W1BPGdwn.js +0 -1
- package/dist/index-Df56IKmZ.js +0 -1
- package/dist/index-GER6p6JJ.js +0 -398
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="./public/logo.svg" alt="Pantograph Logo" width="160" />
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# @pantograph/vue
|
|
6
|
+
|
|
7
|
+
Pantograph's Vue 3 component library, built with TypeScript and token-based design. Ready to use in your apps with light/dark token switching and simple, consistent APIs.
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
```bash
|
|
11
|
+
npm i @pantograph/vue
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Quick usage
|
|
15
|
+
```vue
|
|
16
|
+
<script setup>
|
|
17
|
+
import { Button } from '@pantograph/vue'
|
|
18
|
+
import '@pantograph/style'
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<template>
|
|
22
|
+
<Button>Click me</Button>
|
|
23
|
+
</template>
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Documentation
|
|
27
|
+
For full documentation and live examples, visit the Pantograph docs:
|
|
28
|
+
|
|
29
|
+
- Docs: [Introduction & Stories](https://panto.stg.bounteco.com/story/src-story-introduction-story-js)
|
|
30
|
+
|
|
31
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as t } from "../ActionButton.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as t } from "../ActionButton.vue_vue_type_script_setup_true_lang-7KKRWq3t.js";
|
|
2
2
|
import { installComponent as o } from "@pantograph/utils-vue";
|
|
3
3
|
import { getComponentName as n } from "@pantograph/utils";
|
|
4
4
|
const r = o(t, n("ActionButton"));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as c, useAttrs as l, computed as m, ref as u, createBlock as f, openBlock as d, mergeProps as y, createSlots as B, renderList as b, withCtx as g, renderSlot as _, normalizeProps as v, guardReactiveProps as k } from "vue";
|
|
2
2
|
import { omit as I } from "es-toolkit";
|
|
3
|
-
import { _ as O } from "./BaseButton.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as O } from "./BaseButton.vue_vue_type_style_index_0_lang-qkW0olhp.js";
|
|
4
4
|
import { getComponentOptions as h } from "@pantograph/utils";
|
|
5
5
|
const A = /* @__PURE__ */ c({
|
|
6
6
|
...h("ActionButton", !1),
|
package/dist/Alert/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as h, useSlots as A, computed as N, createElementBlock as c, openBlock as n, normalizeStyle as P, normalizeClass as t, unref as o, createBlock as S, createCommentVNode as p, createElementVNode as V, createSlots as z, withCtx as w, renderSlot as i, createTextVNode as f, toDisplayString as g, createVNode as u, normalizeProps as E, guardReactiveProps as I } from "vue";
|
|
2
2
|
import { getComponentOptions as L, getBemBlock as T, generateVariantClassList as D, normCls as r, getBemElement as a, getComponentName as M } from "@pantograph/utils";
|
|
3
3
|
import { cva as O } from "class-variance-authority";
|
|
4
|
-
import { _ as R } from "../IconButton.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as j } from "../GraphicalObject.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as R } from "../IconButton.vue_vue_type_script_setup_true_lang-DsSD_y63.js";
|
|
5
|
+
import { _ as j } from "../GraphicalObject.vue_vue_type_script_setup_true_lang-DBKQk4LJ.js";
|
|
6
6
|
import { Link as q } from "../Link/index.js";
|
|
7
7
|
import { installComponent as F } from "@pantograph/utils-vue";
|
|
8
8
|
const G = ["info", "success", "danger", "warning", "hint"], H = /* @__PURE__ */ h({
|
package/dist/Avatar/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as a } from "../Avatar.vue_vue_type_style_index_0_lang-
|
|
2
|
-
import {
|
|
1
|
+
import { _ as a } from "../Avatar.vue_vue_type_style_index_0_lang-CzFkAcKT.js";
|
|
2
|
+
import { c as A, b as p, A as v, a as f } from "../Avatar.vue_vue_type_style_index_0_lang-CzFkAcKT.js";
|
|
3
3
|
import { installComponent as t } from "@pantograph/utils-vue";
|
|
4
4
|
import { getComponentName as r } from "@pantograph/utils";
|
|
5
5
|
const m = t(a, r("Avatar"));
|
|
6
6
|
export {
|
|
7
7
|
a as Avatar,
|
|
8
|
-
|
|
8
|
+
A as AvatarOnlineAlignments,
|
|
9
9
|
m as AvatarPlugin,
|
|
10
|
-
|
|
10
|
+
p as AvatarShapes,
|
|
11
11
|
v as AvatarSizes,
|
|
12
12
|
f as AvatarStrokes,
|
|
13
13
|
a as default
|
|
@@ -5,8 +5,8 @@ import { cva as D } from "class-variance-authority";
|
|
|
5
5
|
import { flattenChildren as Y, installComponent as Z } from "@pantograph/utils-vue";
|
|
6
6
|
import { HoverCard as ee } from "./HoverCard/index.js";
|
|
7
7
|
import "./Icon/index.js";
|
|
8
|
-
import { _ as te } from "./Indicator.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { B as se } from "./BaseBadge.model-
|
|
8
|
+
import { _ as te } from "./Indicator.vue_vue_type_script_setup_true_lang-BYE7yX5H.js";
|
|
9
|
+
import { B as se } from "./BaseBadge.model-CahZXsyM.js";
|
|
10
10
|
import { _ as ae } from "./Icon.vue_vue_type_style_index_0_lang-CD9EvvB5.js";
|
|
11
11
|
const [oe, re] = J("AvatarGroup"), ne = /* @__PURE__ */ O({
|
|
12
12
|
...j("AvatarGroup"),
|
|
@@ -189,13 +189,13 @@ const [oe, re] = J("AvatarGroup"), ne = /* @__PURE__ */ O({
|
|
|
189
189
|
}
|
|
190
190
|
});
|
|
191
191
|
export {
|
|
192
|
-
|
|
192
|
+
w as A,
|
|
193
193
|
le as _,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
194
|
+
E as a,
|
|
195
|
+
N as b,
|
|
196
|
+
V as c,
|
|
197
|
+
ne as d,
|
|
198
|
+
Ae as e,
|
|
199
199
|
oe as i,
|
|
200
200
|
re as p
|
|
201
201
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as p, e, i, p as u } from "../Avatar.vue_vue_type_style_index_0_lang-CzFkAcKT.js";
|
|
2
2
|
import "@pantograph/utils-vue";
|
|
3
3
|
import "@pantograph/utils";
|
|
4
4
|
export {
|
|
5
5
|
p as AvatarGroup,
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
e as AvatarGroupPlugin,
|
|
7
|
+
i as injectAvatarGroupContext,
|
|
8
8
|
u as provideAvatarGroupContext
|
|
9
9
|
};
|
package/dist/Badge/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as o } from "../Badge.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as o } from "../Badge.vue_vue_type_script_setup_true_lang-CxBSrreK.js";
|
|
2
2
|
import { installComponent as a } from "@pantograph/utils-vue";
|
|
3
3
|
import { getComponentName as m } from "@pantograph/utils";
|
|
4
4
|
const r = a(o, m("Badge"));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as y, useAttrs as C, computed as n, createBlock as b, openBlock as B, mergeProps as _, createSlots as $, renderList as k, withCtx as S, renderSlot as h, normalizeProps as v, guardReactiveProps as O } from "vue";
|
|
2
2
|
import { omit as P } from "es-toolkit";
|
|
3
|
-
import { _ as w } from "./BaseBadge.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as w } from "./BaseBadge.vue_vue_type_style_index_0_lang-DAiX2m7y.js";
|
|
4
4
|
import { getComponentOptions as x } from "@pantograph/utils";
|
|
5
|
-
import { B as e, a as t } from "./BaseBadge.model-
|
|
5
|
+
import { B as e, a as t } from "./BaseBadge.model-CahZXsyM.js";
|
|
6
6
|
import { getCssCoreColor as r } from "@pantograph/tokens";
|
|
7
7
|
const R = /* @__PURE__ */ y({
|
|
8
8
|
...x("Badge", !1),
|
|
@@ -2,7 +2,7 @@ import { defineComponent as O, useSlots as I, computed as p, createBlock as E, o
|
|
|
2
2
|
import { getComponentOptions as w, getBemBlock as F, generateVariantClassList as o, isEmptyLikeLodash as G, normCls as M } from "@pantograph/utils";
|
|
3
3
|
import { cva as P } from "class-variance-authority";
|
|
4
4
|
import { isEmptyElement as b } from "@pantograph/utils-vue";
|
|
5
|
-
import {
|
|
5
|
+
import { b as v, c as B } from "./BaseBadge.model-CahZXsyM.js";
|
|
6
6
|
import "./Icon/index.js";
|
|
7
7
|
import { useConfig as T } from "./ConfigProvider/index.js";
|
|
8
8
|
import { _ as V } from "./Icon.vue_vue_type_style_index_0_lang-CD9EvvB5.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as M, computed as p, useSlots as Q, ref as x, watch as U, createBlock as m, openBlock as u, unref as r, mergeProps as W, withCtx as v, createElementBlock as X, Fragment as Y, createCommentVNode as T, renderSlot as I, createVNode as Z, createTextVNode as ee, toDisplayString as oe, normalizeClass as te, h as ne } from "vue";
|
|
2
2
|
import { _ as S } from "./Icon.vue_vue_type_style_index_0_lang-CD9EvvB5.js";
|
|
3
3
|
import { _ as ae } from "./Spinner.vue_vue_type_style_index_0_lang-BCf2tJzR.js";
|
|
4
|
-
import { _ as ie } from "./Badge.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as ie } from "./Badge.vue_vue_type_script_setup_true_lang-CxBSrreK.js";
|
|
5
5
|
import { Primitive as re } from "reka-ui";
|
|
6
|
-
import {
|
|
6
|
+
import { B as F, a as _, b as P, c as $, i as se } from "./index-AwKp_D1S.js";
|
|
7
7
|
import { useConfig as le } from "./ConfigProvider/index.js";
|
|
8
8
|
import { useFormInput as ce, isEmptyElement as pe } from "@pantograph/utils-vue";
|
|
9
9
|
import { getBemBlock as ue, generateVariantClassList as a, getComponentOptions as me, normCls as fe, getBemElement as de } from "@pantograph/utils";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
package/dist/Button/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as t } from "../Button.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as t } from "../Button.vue_vue_type_script_setup_true_lang-BtiJfT68.js";
|
|
2
2
|
import { installComponent as o } from "@pantograph/utils-vue";
|
|
3
3
|
import { getComponentName as n } from "@pantograph/utils";
|
|
4
4
|
const e = o(t, n("Button"));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as c, useAttrs as l, computed as m, ref as u, createBlock as f, openBlock as d, mergeProps as y, createSlots as B, renderList as b, withCtx as g, renderSlot as _, normalizeProps as v, guardReactiveProps as k } from "vue";
|
|
2
2
|
import { omit as I } from "es-toolkit";
|
|
3
|
-
import { _ as O } from "./BaseButton.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as O } from "./BaseButton.vue_vue_type_style_index_0_lang-qkW0olhp.js";
|
|
4
4
|
import { getComponentOptions as h } from "@pantograph/utils";
|
|
5
5
|
const F = /* @__PURE__ */ c({
|
|
6
6
|
...h("Button", !1),
|
package/dist/Checkbox/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as o } from "../Checkbox.vue_vue_type_style_index_0_lang-
|
|
2
|
-
import {
|
|
1
|
+
import { _ as o } from "../Checkbox.vue_vue_type_style_index_0_lang-u9Jw1VwG.js";
|
|
2
|
+
import { C as p, u as c, a as h } from "../Checkbox.vue_vue_type_style_index_0_lang-u9Jw1VwG.js";
|
|
3
3
|
import { installComponent as e } from "@pantograph/utils-vue";
|
|
4
4
|
import { getComponentName as a } from "@pantograph/utils";
|
|
5
5
|
const m = e(o, a("Checkbox"));
|
|
6
6
|
export {
|
|
7
7
|
o as Checkbox,
|
|
8
8
|
m as CheckboxPlugin,
|
|
9
|
-
|
|
9
|
+
p as CheckboxSizes,
|
|
10
10
|
o as default,
|
|
11
11
|
c as useColoredPantographCheckbox,
|
|
12
12
|
h as useColoredPantographCheckboxGroup
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as t, c as x, i as c, p as i } from "../Checkbox.vue_vue_type_style_index_0_lang-u9Jw1VwG.js";
|
|
2
2
|
import "@pantograph/utils-vue";
|
|
3
3
|
import "@pantograph/utils";
|
|
4
4
|
export {
|
|
5
5
|
t as CheckboxGroup,
|
|
6
6
|
x as CheckboxGroupPlugin,
|
|
7
|
-
|
|
7
|
+
c as injectCheckboxGroupContext,
|
|
8
8
|
i as provideCheckboxGroupContext
|
|
9
9
|
};
|
package/dist/Chip/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as o } from "../Chip.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ as o } from "../Chip.vue_vue_type_style_index_0_lang-CmXECWtq.js";
|
|
2
2
|
import { installComponent as i } from "@pantograph/utils-vue";
|
|
3
3
|
import { getComponentName as p } from "@pantograph/utils";
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
4
|
+
import { a as e, C as n } from "../index-BCPptNhu.js";
|
|
5
|
+
const r = i(o, p("Chip"));
|
|
6
6
|
export {
|
|
7
7
|
o as Chip,
|
|
8
8
|
e as ChipColors,
|
|
9
|
-
|
|
9
|
+
r as ChipPlugin,
|
|
10
10
|
n as ChipSizes,
|
|
11
11
|
o as default
|
|
12
12
|
};
|
|
@@ -2,7 +2,7 @@ import { defineComponent as q, computed as n, useSlots as F, createElementBlock
|
|
|
2
2
|
import { getComponentOptions as Q, getBemBlock as U, generateVariantClassList as p, normCls as d, getBemElement as h } from "@pantograph/utils";
|
|
3
3
|
import { cva as W } from "class-variance-authority";
|
|
4
4
|
import "./Icon/index.js";
|
|
5
|
-
import { i as X,
|
|
5
|
+
import { i as X, a as Y, C as Z } from "./index-BCPptNhu.js";
|
|
6
6
|
import { isEmptyElement as B } from "@pantograph/utils-vue";
|
|
7
7
|
import { _ as $ } from "./Icon.vue_vue_type_style_index_0_lang-CD9EvvB5.js";
|
|
8
8
|
const ne = /* @__PURE__ */ q({
|
|
@@ -73,13 +73,13 @@ const ne = /* @__PURE__ */ q({
|
|
|
73
73
|
}
|
|
74
74
|
})()
|
|
75
75
|
})), R = () => {
|
|
76
|
-
var P,
|
|
76
|
+
var P, E;
|
|
77
77
|
const e = (P = l.overlayActions) == null ? void 0 : P.call(l, t.value), i = !B(e), c = S.value && i;
|
|
78
78
|
if ((I.value || c) && !s.readonly) {
|
|
79
79
|
const u = [];
|
|
80
80
|
if (c && u.push(e), I.value) {
|
|
81
|
-
const
|
|
82
|
-
B(
|
|
81
|
+
const b = (E = l.close) == null ? void 0 : E.call(l, t.value);
|
|
82
|
+
B(b) ? u.push(
|
|
83
83
|
V($, {
|
|
84
84
|
onClick: (m) => {
|
|
85
85
|
s.closeTrigger === "click" && v(m);
|
|
@@ -91,7 +91,7 @@ const ne = /* @__PURE__ */ q({
|
|
|
91
91
|
icon: D.value,
|
|
92
92
|
class: d(h(a, "close_icon"), s.closeIconCls)
|
|
93
93
|
})
|
|
94
|
-
) : u.push(
|
|
94
|
+
) : u.push(b);
|
|
95
95
|
}
|
|
96
96
|
return V(
|
|
97
97
|
"div",
|
package/dist/ChipGroup/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as o } from "../ColorPicker.vue_vue_type_style_index_0_lang-
|
|
2
|
-
import { i as p, p as C } from "../ColorPicker.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ as o } from "../ColorPicker.vue_vue_type_style_index_0_lang-BbPbMX-k.js";
|
|
2
|
+
import { i as p, p as C } from "../ColorPicker.vue_vue_type_style_index_0_lang-BbPbMX-k.js";
|
|
3
3
|
import { installComponent as r } from "@pantograph/utils-vue";
|
|
4
4
|
import { getComponentName as e } from "@pantograph/utils";
|
|
5
5
|
const n = r(o, e("ColorPicker"));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { onUnmounted as d0, defineComponent as $t, onMounted as zt, onBeforeUnmount as c0, createElementBlock as Te, openBlock as K, normalizeClass as G, unref as _, createElementVNode as Ne, ref as en, computed as te, watch as h0, reactive as p0, createVNode as Wn, createCommentVNode as Bn, createBlock as nn, isRef as b0, Fragment as m0, renderList as g0 } from "vue";
|
|
2
|
-
import { _ as x0 } from "./ActionButton.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as x0 } from "./ActionButton.vue_vue_type_script_setup_true_lang-7KKRWq3t.js";
|
|
3
3
|
import { _ as Zn } from "./Input.vue_vue_type_script_setup_true_lang-DW0Xc_1z.js";
|
|
4
|
-
import { _ as M0 } from "./Select.vue_vue_type_style_index_0_lang-
|
|
4
|
+
import { _ as M0 } from "./Select.vue_vue_type_style_index_0_lang-7Tq97moQ.js";
|
|
5
5
|
import { useVModel as Un } from "@pantograph/utils-vue";
|
|
6
6
|
import { createContext as y0 } from "reka-ui";
|
|
7
7
|
import { normCls as be, getBemElement as me, getBemBlock as v0, getComponentOptions as k0, getBemModifier as Jn } from "@pantograph/utils";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as B, computed as s, useSlots as b, createBlock as u, openBlock as n, resolveDynamicComponent as P, mergeProps as c, unref as f, withCtx as i, createElementBlock as _, createCommentVNode as y, renderSlot as l, normalizeProps as r, createSlots as $, renderList as I, guardReactiveProps as k, createElementVNode as E } from "vue";
|
|
2
|
-
import { _ as L } from "../GraphicalObject.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as L } from "../GraphicalObject.vue_vue_type_script_setup_true_lang-DBKQk4LJ.js";
|
|
3
3
|
import { omit as N } from "es-toolkit";
|
|
4
4
|
import { getComponentOptions as O, getBemBlock as V, generateVariantClassList as a, normCls as D, getComponentName as j } from "@pantograph/utils";
|
|
5
5
|
import { cva as M } from "class-variance-authority";
|
|
6
|
-
import { _ as R } from "../IconButton.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as R } from "../IconButton.vue_vue_type_script_setup_true_lang-DsSD_y63.js";
|
|
7
7
|
import { installComponent as T } from "@pantograph/utils-vue";
|
|
8
8
|
const C = ["sm", "md"], q = ["color", "remover", "custom-picker"], A = {
|
|
9
9
|
key: 1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as o } from "../ColorSwatchGroup.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ as o } from "../ColorSwatchGroup.vue_vue_type_style_index_0_lang-B3fzpT99.js";
|
|
2
2
|
import { installComponent as r } from "@pantograph/utils-vue";
|
|
3
3
|
import { getComponentName as t } from "@pantograph/utils";
|
|
4
4
|
const n = r(o, t("ColorSwatchGroup"));
|
|
@@ -6,7 +6,7 @@ import { isString as S, pick as w, omit as te } from "es-toolkit";
|
|
|
6
6
|
import { getComponentOptions as re, getBemBlock as se, generateVariantClassList as le, normCls as h, getBemElement as I } from "@pantograph/utils";
|
|
7
7
|
import { cva as ae } from "class-variance-authority";
|
|
8
8
|
import { _ as ne } from "./index--fAgg2DC.js";
|
|
9
|
-
import { _ as ie } from "./ColorPicker.vue_vue_type_style_index_0_lang-
|
|
9
|
+
import { _ as ie } from "./ColorPicker.vue_vue_type_style_index_0_lang-BbPbMX-k.js";
|
|
10
10
|
import { i as z } from "./isObject-vmP43YLW.js";
|
|
11
11
|
const ke = /* @__PURE__ */ T({
|
|
12
12
|
...re("ColorSwatchGroup"),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as o } from "../ColorTrigger.vue_vue_type_style_index_0_lang-
|
|
2
|
-
import { C as n } from "../ColorTrigger.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ as o } from "../ColorTrigger.vue_vue_type_style_index_0_lang-BkJ15M1P.js";
|
|
2
|
+
import { C as n } from "../ColorTrigger.vue_vue_type_style_index_0_lang-BkJ15M1P.js";
|
|
3
3
|
import { installComponent as r } from "@pantograph/utils-vue";
|
|
4
4
|
import { getComponentName as e } from "@pantograph/utils";
|
|
5
5
|
const g = r(o, e("ColorTrigger"));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as I, computed as i, useSlots as S, useAttrs as _, createElementBlock as k, openBlock as l, mergeProps as y, unref as o, createVNode as h, createBlock as w, createCommentVNode as O, normalizeProps as m, guardReactiveProps as f, createSlots as $, renderList as P, withCtx as u, renderSlot as d } from "vue";
|
|
2
|
-
import { _ as T } from "./GraphicalObject.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as T } from "./GraphicalObject.vue_vue_type_script_setup_true_lang-DBKQk4LJ.js";
|
|
3
3
|
import { useFormInput as V } from "@pantograph/utils-vue";
|
|
4
4
|
import { getComponentOptions as G, getBemBlock as L, generateVariantClassList as a, normCls as N } from "@pantograph/utils";
|
|
5
5
|
import { cva as j } from "class-variance-authority";
|
package/dist/Combobox/index.js
CHANGED
|
@@ -8,29 +8,29 @@ import { cva as dt } from "class-variance-authority";
|
|
|
8
8
|
import "../Icon/index.js";
|
|
9
9
|
import "../Avatar/index.js";
|
|
10
10
|
import "../GraphicalObject/index.js";
|
|
11
|
-
import { _ as gt,
|
|
11
|
+
import { _ as gt, d as no } from "../Avatar.vue_vue_type_style_index_0_lang-CzFkAcKT.js";
|
|
12
12
|
import { GraphicalObjectGroup as ro } from "../GraphicalObjectGroup/index.js";
|
|
13
|
-
import { _ as so } from "../index-
|
|
14
|
-
import { _ as io } from "../Chip.vue_vue_type_style_index_0_lang-
|
|
13
|
+
import { _ as so } from "../index-BCPptNhu.js";
|
|
14
|
+
import { _ as io } from "../Chip.vue_vue_type_style_index_0_lang-CmXECWtq.js";
|
|
15
15
|
import "../Input/index.js";
|
|
16
16
|
import { whenever as uo, refDebounced as co } from "@vueuse/core";
|
|
17
17
|
import { _ as po } from "../Input.vue_vue_type_script_setup_true_lang-DW0Xc_1z.js";
|
|
18
18
|
import { _ as We } from "../Icon.vue_vue_type_style_index_0_lang-CD9EvvB5.js";
|
|
19
19
|
import { g as go, a as mo } from "../MenuItem.vue_vue_type_style_index_0_lang-ByicYJot.js";
|
|
20
20
|
import { i as J } from "../isArray-QlWcxgml.js";
|
|
21
|
-
import { _ as mt } from "../GraphicalObject.vue_vue_type_script_setup_true_lang-
|
|
21
|
+
import { _ as mt } from "../GraphicalObject.vue_vue_type_script_setup_true_lang-DBKQk4LJ.js";
|
|
22
22
|
import "../ScrollContainer/index.js";
|
|
23
23
|
import "../Empty/index.js";
|
|
24
|
-
import { f as fo, _ as vo, a as yo } from "../index-
|
|
24
|
+
import { f as fo, _ as vo, a as yo } from "../index-BdPkHVwS.js";
|
|
25
25
|
import "../MenuItem/index.js";
|
|
26
26
|
import "../Checkbox/index.js";
|
|
27
|
-
import { _ as ho } from "../Checkbox.vue_vue_type_style_index_0_lang-
|
|
28
|
-
import { _ as _o } from "../Skeleton.vue_vue_type_style_index_0_lang-
|
|
27
|
+
import { _ as ho } from "../Checkbox.vue_vue_type_style_index_0_lang-u9Jw1VwG.js";
|
|
28
|
+
import { _ as _o } from "../Skeleton.vue_vue_type_style_index_0_lang-DOsf2SEN.js";
|
|
29
29
|
import { _ as bo } from "../Divider.vue_vue_type_style_index_0_lang-GfWcHNix.js";
|
|
30
30
|
import { a as rt } from "../index-D2tZoezA.js";
|
|
31
31
|
import { useConfig as Co } from "../ConfigProvider/index.js";
|
|
32
32
|
import { h as st } from "../head-E4xQy0iK.js";
|
|
33
|
-
import { _ as ko } from "../ScrollContainer.vue_vue_type_style_index_0_lang-
|
|
33
|
+
import { _ as ko } from "../ScrollContainer.vue_vue_type_style_index_0_lang-CRjnv1ii.js";
|
|
34
34
|
import { _ as xo } from "../Empty.vue_vue_type_style_index_0_lang-DnH-eKDp.js";
|
|
35
35
|
const [Ge, So] = Ht("Combobox"), w = oo("combobox"), ft = lo(w, "value-placeholder"), Fe = x(w, "option"), vt = ["sm", "md", "lg"], Po = ["error", "warning", "success"], He = /* @__PURE__ */ _e({
|
|
36
36
|
...be("ComboboxInput"),
|
package/dist/Comment/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as $, ref as v, createElementBlock as j, createCommentVNode as A, unref as n, openBlock as B, normalizeClass as E, createBlock as x, withModifiers as I, createVNode as g, Fragment as fe, renderList as Y, withCtx as O, createTextVNode as le, toDisplayString as J, h as _, useSlots as Q, createElementVNode as K, mergeProps as L, isRef as re, createSlots as ae, renderSlot as W, normalizeProps as Z, guardReactiveProps as ee, computed as G, normalizeStyle as Ce, onMounted as ye, onBeforeUnmount as he } from "vue";
|
|
2
2
|
import { useVModel as oe, isEmptyElement as T, useFormInput as ge, useInputDataStates as ve, installComponent as N } from "@pantograph/utils-vue";
|
|
3
|
-
import { _ as pe } from "../Avatar.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { _ as _e } from "../Badge.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as pe } from "../Avatar.vue_vue_type_style_index_0_lang-CzFkAcKT.js";
|
|
4
|
+
import { _ as _e } from "../Badge.vue_vue_type_script_setup_true_lang-CxBSrreK.js";
|
|
5
5
|
import { cva as Be } from "class-variance-authority";
|
|
6
6
|
import "../GraphicalObject/index.js";
|
|
7
7
|
import "../Icon/index.js";
|
|
8
8
|
import { getComponentOptions as M, normCls as h, getBemElement as C, getBemBlock as be, generateVariantClassList as Re, getPxSize as Pe, getComponentName as U } from "@pantograph/utils";
|
|
9
|
-
import { _ as z } from "../IconButton.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { _ as Se } from "../ActionButton.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as z } from "../IconButton.vue_vue_type_script_setup_true_lang-DsSD_y63.js";
|
|
10
|
+
import { _ as Se } from "../ActionButton.vue_vue_type_script_setup_true_lang-7KKRWq3t.js";
|
|
11
11
|
import { UploadList as ke, UploadTrigger as xe } from "../Upload/index.js";
|
|
12
12
|
import { createContext as Te } from "reka-ui";
|
|
13
|
-
import { _ as Oe } from "../GraphicalObject.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { _ as Oe } from "../GraphicalObject.vue_vue_type_script_setup_true_lang-DBKQk4LJ.js";
|
|
14
14
|
import { _ as X } from "../Icon.vue_vue_type_style_index_0_lang-CD9EvvB5.js";
|
|
15
15
|
import { _ as Ee } from "../index--fAgg2DC.js";
|
|
16
16
|
import { _ as $e, a as ie } from "../MenuItem.vue_vue_type_style_index_0_lang-ByicYJot.js";
|
|
17
17
|
import Me from "../GOPicker/index.js";
|
|
18
18
|
import { Combobox as we } from "../Combobox/index.js";
|
|
19
19
|
import { _ as De } from "../Divider.vue_vue_type_style_index_0_lang-GfWcHNix.js";
|
|
20
|
-
import { _ as Ae } from "../ScrollContainer.vue_vue_type_style_index_0_lang-
|
|
20
|
+
import { _ as Ae } from "../ScrollContainer.vue_vue_type_style_index_0_lang-CRjnv1ii.js";
|
|
21
21
|
import { _ as ze } from "../Shortcut.vue_vue_type_style_index_0_lang-DTdKfRum.js";
|
|
22
22
|
const Fe = /* @__PURE__ */ $({
|
|
23
23
|
...M("CommentActions"),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=["ActionButton","Alert","Avatar","AvatarGroup","Badge","Blanket","Button","ButtonGroup","Card","Checkbox","CheckboxGroup","Chip","ChipGroup","ColorPicker","ColorSwatch","ColorSwatchGroup","ColorTrigger","Combobox","ComboboxInput","Comment","CommentAction","CommentReaction","CommentMention","CommentEditor","CommentTrigger","ConfigProvider","DataTable","Divider","DropZone","Empty","FloatButton","Form","FormItem","FormValidation","GOPicker","GraphicalObject","GraphicalObjectGroup","HoverCard","Icon","IconButton","Image","IndentLevel","Indicator","Input","InputNumber","Kbd","Label","Link","Menu","MenuItem","Pagination","Popover","Progress","RadioGroup","RadioGroupItem","ScrollContainer","Segmented","Select","SelectOption","SelectLabel","Shortcut","Skeleton","Spinner","Steps","Step","SubMenu","Switch","Table","Th","Td","Tr","TBody","THead","TFoot","Tabs","TabList","TabTrigger","TabContent","Textarea","Tooltip","Tree","TreeNode","Upload","UploadList","UploadTrigger"];exports.components=o;
|
package/dist/ComponentMap.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const components: readonly ["ActionButton", "Alert", "Avatar", "AvatarGroup", "Badge", "Button", "ButtonGroup", "Card", "Checkbox", "CheckboxGroup", "Chip", "ChipGroup", "ColorPicker", "ColorSwatch", "ColorSwatchGroup", "ColorTrigger", "Combobox", "ComboboxInput", "Comment", "CommentAction", "CommentReaction", "CommentMention", "CommentEditor", "CommentTrigger", "ConfigProvider", "DataTable", "Divider", "DropZone", "Empty", "FloatButton", "Form", "FormItem", "FormValidation", "GOPicker", "GraphicalObject", "GraphicalObjectGroup", "HoverCard", "Icon", "IconButton", "Image", "IndentLevel", "Indicator", "Input", "InputNumber", "Kbd", "Label", "Link", "Menu", "MenuItem", "Pagination", "Popover", "Progress", "RadioGroup", "RadioGroupItem", "ScrollContainer", "Segmented", "Select", "SelectOption", "SelectLabel", "Shortcut", "Skeleton", "Spinner", "SubMenu", "Switch", "Table", "Th", "Td", "Tr", "TBody", "THead", "TFoot", "Tabs", "TabList", "TabTrigger", "TabContent", "Textarea", "Tooltip", "Tree", "TreeNode", "Upload", "UploadList", "UploadTrigger"];
|
|
1
|
+
export declare const components: readonly ["ActionButton", "Alert", "Avatar", "AvatarGroup", "Badge", "Blanket", "Button", "ButtonGroup", "Card", "Checkbox", "CheckboxGroup", "Chip", "ChipGroup", "ColorPicker", "ColorSwatch", "ColorSwatchGroup", "ColorTrigger", "Combobox", "ComboboxInput", "Comment", "CommentAction", "CommentReaction", "CommentMention", "CommentEditor", "CommentTrigger", "ConfigProvider", "DataTable", "Divider", "DropZone", "Empty", "FloatButton", "Form", "FormItem", "FormValidation", "GOPicker", "GraphicalObject", "GraphicalObjectGroup", "HoverCard", "Icon", "IconButton", "Image", "IndentLevel", "Indicator", "Input", "InputNumber", "Kbd", "Label", "Link", "Menu", "MenuItem", "Pagination", "Popover", "Progress", "RadioGroup", "RadioGroupItem", "ScrollContainer", "Segmented", "Select", "SelectOption", "SelectLabel", "Shortcut", "Skeleton", "Spinner", "Steps", "Step", "SubMenu", "Switch", "Table", "Th", "Td", "Tr", "TBody", "THead", "TFoot", "Tabs", "TabList", "TabTrigger", "TabContent", "Textarea", "Tooltip", "Tree", "TreeNode", "Upload", "UploadList", "UploadTrigger"];
|
|
2
2
|
export default components;
|
|
3
3
|
export type Components = (typeof components)[number];
|