@astryx-vue/lab 0.0.0-stage → 0.1.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 astryx-vue contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,36 @@
1
- # Temporary Holding Version
1
+ # @astryx-vue/lab
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Vue 3 ports of the Astryx lab components (`@astryxdesign/lab`). This is an unofficial port, not affiliated with Meta.
4
+
5
+ **This package is canary-only.** Its `package.json` carries `"publishConfig": { "tag": "canary" }` plus `"astryxVue": { "canaryOnly": true }`, so it publishes to the npm `canary` dist-tag only — there is no stable release. Lab components are experiments: their props and markup can change or disappear in any canary build.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ pnpm add @astryx-vue/lab@canary @astryx-vue/core vue
11
+ ```
12
+
13
+ Each component imports its own stylesheet, so a bundler that understands `import './x.css'` is enough. If you prefer loading everything at once, import the package stylesheet once:
14
+
15
+ ```js
16
+ import '@astryx-vue/lab/lab.css'
17
+ ```
18
+
19
+ Or pick single files: `@astryx-vue/lab/styles/stat.css`, `.../log-stream.css`, and so on.
20
+
21
+ ## Components
22
+
23
+ | Component | What it is |
24
+ | --- | --- |
25
+ | `Stat` | KPI/metric display: label, big tabular value, optional sentiment-aware delta, description, trend slot. |
26
+ | `CircularProgress` | Ring-shaped progress indicator, determinate or indeterminate. |
27
+ | `InfoTip` | Small "i" button that reveals a tooltip on hover, keyboard focus, and tap. |
28
+ | `SVGIcon` | CSS-variable-driven SVG icon with variations (linear, bold, twotone, bulk, broken), path roles, and mask-based gaps. |
29
+ | `LogStream` | Streaming log viewer with level accents, expandable detail rows, follow-scroll tailing, and a terminal variant. |
30
+ | `ListInput` | Editable records with custom input columns, validation, and reordering. |
31
+ | `MobileTokenizer` | Touch-friendly multi-select with search and creation in a bottom sheet. |
32
+ | `TransferList` | Dual-panel selection with search, grouping, and reordering. |
33
+
34
+ ## Documentation
35
+
36
+ See the [Lab documentation](https://astryx-vue.pages.dev/lab/) for bilingual guides, prop tables, and interactive examples.
package/css.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ declare const stylesheet: string
2
+
3
+ export default stylesheet