@wirecore/wirelayer-vue 0.9.0 → 0.9.2
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 +5 -0
- package/dist/{ContextMenu-CBE9YnDW.js → ContextMenu-DC--vmIf.js} +1 -1
- package/dist/components/DatePicker/DatePickerDayTable.vue.d.ts.map +1 -1
- package/dist/components/Stepper/Stepper.vue.d.ts +4 -1
- package/dist/components/Stepper/Stepper.vue.d.ts.map +1 -1
- package/dist/data-table.js +1 -1
- package/dist/index.js +6 -3
- package/llms-full.txt +7 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -8,8 +8,13 @@ Around 180 accessible Vue 3 components on Ark UI and Tailwind CSS v4 – forms,
|
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
|
11
|
+
With npm, pnpm, Yarn or Bun:
|
|
12
|
+
|
|
11
13
|
```sh
|
|
14
|
+
npm install @wirecore/wirelayer-vue
|
|
12
15
|
pnpm add @wirecore/wirelayer-vue
|
|
16
|
+
yarn add @wirecore/wirelayer-vue
|
|
17
|
+
bun add @wirecore/wirelayer-vue
|
|
13
18
|
```
|
|
14
19
|
|
|
15
20
|
## Usage
|
|
@@ -854,7 +854,7 @@ var Et = ["aria-label"], Dt = [
|
|
|
854
854
|
visibleRange: i.visibleRange
|
|
855
855
|
}).selected;
|
|
856
856
|
function p(e, t) {
|
|
857
|
-
e instanceof KeyboardEvent && e.key !== "Enter" && e.key !== " " || f(t) && (e.preventDefault(), s.value.clearValue({ focus: !1 }));
|
|
857
|
+
e instanceof KeyboardEvent && e.key !== "Enter" && e.key !== " " || f(t) && (e.preventDefault(), s.value.clearValue({ focus: !1 }), s.value.setFocusedValue(t));
|
|
858
858
|
}
|
|
859
859
|
function h(e) {
|
|
860
860
|
let t = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePickerDayTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePickerDayTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DatePickerDayTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePickerDayTable.vue"],"names":[],"mappings":"AA0HA,OAAO,EAAoC,KAAK,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC3F,OAAO,EAIH,KAAK,gBAAgB,EACxB,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,SAAS,EAAE,EAAE,CAAC;IACrB,wFAAwF;IACxF,YAAY,CAAC,EAAE;QAAE,KAAK,EAAE,SAAS,CAAC;QAAC,GAAG,EAAE,SAAS,CAAA;KAAE,CAAC;IACpD,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAChC,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,KAAK,WAAW,GAAG;IAAE,GAAG,CAAC,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,gBAAgB,GAAG,OAAO,CAAA;CAAE,CAAC;AAqOjF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -2,7 +2,10 @@ import { type RecipeClasses, stepper as stepperRecipe } from '@wirecore/wirelaye
|
|
|
2
2
|
export interface StepperItem {
|
|
3
3
|
label: string;
|
|
4
4
|
description?: string;
|
|
5
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* The step is busy (e.g. saving): a spinner instead of its number, aria-busy on the step – and while it is the
|
|
7
|
+
* current one, "Next" shows the spinner too and ignores clicks
|
|
8
|
+
*/
|
|
6
9
|
loading?: boolean;
|
|
7
10
|
}
|
|
8
11
|
export interface StepperProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stepper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/Stepper.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Stepper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/Stepper.vue"],"names":[],"mappings":"AA+HA,OAAO,EAAE,KAAK,aAAa,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAS3F,MAAM,WAAW,WAAW;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IACzB,KAAK,EAAE,SAAS,WAAW,EAAE,CAAC;IAC9B,8EAA8E;IAC9E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8DAA8D;IAC9D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,4DAA4D;IAC5D,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IACzC,oDAAoD;IACpD,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,oDAAoD;IACpD,cAAc,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAClC,uEAAuE;IACvE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,aAAa,CAAC,CAAC;CACjD;AAeD,KAAK,WAAW,GAAG;IAAE,IAAI,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC;IAAC,SAAS,IAAI,OAAO,CAAA;CAAE,CAAC;AA0TrF,QAAA,MAAM,UAAU;;;;;;;;;yBAlVU,MAAM,KAAK,OAAO;;6EAsV1C,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
package/dist/data-table.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, i as t, n } from "./recipes-BlM9aKyt.js";
|
|
2
|
-
import { _ as r, g as i, i as a, n as o, r as s, t as c, v as l, y as u } from "./ContextMenu-
|
|
2
|
+
import { _ as r, g as i, i as a, n as o, r as s, t as c, v as l, y as u } from "./ContextMenu-DC--vmIf.js";
|
|
3
3
|
import { t as d } from "./Button-BpMOPs8b.js";
|
|
4
4
|
import { t as ee } from "./Checkbox-DS2qfQK1.js";
|
|
5
5
|
import { n as f, t as p } from "./Input-C5dyvZfJ.js";
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, i as t, n, r, t as i } from "./recipes-BlM9aKyt.js";
|
|
2
|
-
import { S as a, _ as o, a as s, b as c, c as l, d as u, f as d, g as f, h as p, i as m, l as h, m as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C, v as w, x as T, y as E } from "./ContextMenu-
|
|
2
|
+
import { S as a, _ as o, a as s, b as c, c as l, d as u, f as d, g as f, h as p, i as m, l as h, m as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C, v as w, x as T, y as E } from "./ContextMenu-DC--vmIf.js";
|
|
3
3
|
import { t as D } from "./attrs-KNjeRUCf.js";
|
|
4
4
|
import { t as O } from "./Button-BpMOPs8b.js";
|
|
5
5
|
import { t as k } from "./Checkbox-DS2qfQK1.js";
|
|
@@ -6496,10 +6496,13 @@ var Fp = [
|
|
|
6496
6496
|
})]),
|
|
6497
6497
|
_: 1
|
|
6498
6498
|
}), B(Z(hd).NextTrigger, { "as-child": "" }, {
|
|
6499
|
-
default: $(() => [B(O, {
|
|
6499
|
+
default: $(() => [B(O, {
|
|
6500
|
+
disabled: t.linear && !e.isStepValid(e.value),
|
|
6501
|
+
loading: t.items[e.value]?.loading
|
|
6502
|
+
}, {
|
|
6500
6503
|
default: $(() => [z(X(e.value === e.count - 1 ? t.finishLabel ?? Z(u).finish : Z(u).next), 1)]),
|
|
6501
6504
|
_: 2
|
|
6502
|
-
}, 1032, ["disabled"])]),
|
|
6505
|
+
}, 1032, ["disabled", "loading"])]),
|
|
6503
6506
|
_: 2
|
|
6504
6507
|
}, 1024)], 2))]),
|
|
6505
6508
|
_: 1
|
package/llms-full.txt
CHANGED
|
@@ -6561,14 +6561,17 @@ In Storybook, the **Accessibility** panel also shows the axe results of the curr
|
|
|
6561
6561
|
|
|
6562
6562
|
### Installation
|
|
6563
6563
|
|
|
6564
|
-
The packages are published on npm:
|
|
6564
|
+
The packages are published on npm – install them with npm, pnpm, Yarn or Bun:
|
|
6565
6565
|
|
|
6566
6566
|
```sh
|
|
6567
|
-
|
|
6568
|
-
pnpm add @wirecore/wirelayer-
|
|
6569
|
-
|
|
6567
|
+
npm install @wirecore/wirelayer-vue
|
|
6568
|
+
pnpm add @wirecore/wirelayer-vue
|
|
6569
|
+
yarn add @wirecore/wirelayer-vue
|
|
6570
|
+
bun add @wirecore/wirelayer-vue
|
|
6570
6571
|
```
|
|
6571
6572
|
|
|
6573
|
+
The same for `@wirecore/wirelayer-react` and `@wirecore/wirelayer-native` (React Native / Expo).
|
|
6574
|
+
|
|
6572
6575
|
### Adding the styles
|
|
6573
6576
|
|
|
6574
6577
|
Tailwind CSS v4.1 or newer is required. The library ships the theme, the fonts and the classes of the components:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecore/wirelayer-vue",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"description": "WireLayer components for Vue 3",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -166,8 +166,8 @@
|
|
|
166
166
|
"@ark-ui/vue": "^5.39.3",
|
|
167
167
|
"@internationalized/date": "^3.12.4",
|
|
168
168
|
"@lucide/vue": "^1.59.0",
|
|
169
|
-
"@wirecore/wirelayer-recipes": "^0.8.
|
|
170
|
-
"@wirecore/wirelayer-tokens": "^0.5.
|
|
169
|
+
"@wirecore/wirelayer-recipes": "^0.8.1",
|
|
170
|
+
"@wirecore/wirelayer-tokens": "^0.5.1"
|
|
171
171
|
},
|
|
172
172
|
"devDependencies": {
|
|
173
173
|
"@storybook/addon-a11y": "^10.6.2",
|