@dillingerstaffing/strand-vue 0.4.0 → 0.4.1

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/README.md +58 -0
  2. package/package.json +21 -5
package/README.md ADDED
@@ -0,0 +1,58 @@
1
+ # @dillingerstaffing/strand-vue
2
+
3
+ Vue 3 component library built on the [Strand Design Language](https://github.com/dillingerstaffing/strand/blob/main/DESIGN_LANGUAGE.md). 31 components. Zero-runtime CSS. WCAG 2.2 AA.
4
+
5
+ ## Quick Start
6
+
7
+ ```bash
8
+ npm install @dillingerstaffing/strand @dillingerstaffing/strand-vue
9
+ ```
10
+
11
+ Import CSS in your app entry point:
12
+
13
+ ```css
14
+ @import '@dillingerstaffing/strand/css/reset.css';
15
+ @import '@dillingerstaffing/strand/css/tokens.css';
16
+ @import '@dillingerstaffing/strand/css/base.css';
17
+ @import '@dillingerstaffing/strand-vue/css/strand-ui.css';
18
+ ```
19
+
20
+ Use components:
21
+
22
+ ```vue
23
+ <script setup>
24
+ import { Button, Card, Stack, Input } from '@dillingerstaffing/strand-vue'
25
+ </script>
26
+
27
+ <template>
28
+ <Card variant="elevated" padding="lg">
29
+ <Stack :gap="4">
30
+ <Input placeholder="Enter your email" />
31
+ <Button variant="primary">Get Started</Button>
32
+ </Stack>
33
+ </Card>
34
+ </template>
35
+ ```
36
+
37
+ ## Components
38
+
39
+ 31 components across 5 categories. Every component includes all interaction states, keyboard navigation, ARIA compliance, and `prefers-reduced-motion` support.
40
+
41
+ **Input:** Button, Input, Textarea, Select, Checkbox, Radio, Switch, Slider, FormField
42
+ **Display:** Card, Badge, Avatar, Tag, Table, DataReadout
43
+ **Layout:** Stack, Grid, Container, Divider, Section
44
+ **Navigation:** Link, Tabs, Breadcrumb, Nav
45
+ **Feedback:** Toast, Alert, Dialog, Tooltip, Progress, Spinner, Skeleton
46
+
47
+ ## Same CSS, Different Framework
48
+
49
+ This package produces identical visual output to [@dillingerstaffing/strand-ui](https://www.npmjs.com/package/@dillingerstaffing/strand-ui) (Preact/React). Same CSS classes, same ARIA attributes, same design tokens. The only difference is the framework binding.
50
+
51
+ ## Links
52
+
53
+ - [GitHub](https://github.com/dillingerstaffing/strand)
54
+ - [Design Language](https://github.com/dillingerstaffing/strand/blob/main/DESIGN_LANGUAGE.md)
55
+ - [HTML Reference (CSS-only API)](https://github.com/dillingerstaffing/strand/blob/main/HTML_REFERENCE.md)
56
+ - [Documentation](https://dillingerstaffing.com/labs/strand)
57
+
58
+ Created by [Dillinger Staffing](https://dillingerstaffing.com)
package/package.json CHANGED
@@ -1,10 +1,21 @@
1
1
  {
2
2
  "name": "@dillingerstaffing/strand-vue",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Strand UI - Vue 3 component library built on the Strand Design Language",
5
5
  "author": "Dillinger Staffing <engineering@dillingerstaffing.com> (https://dillingerstaffing.com)",
6
6
  "license": "MIT",
7
- "keywords": ["design-system", "ui-components", "vue", "vue3", "css-custom-properties", "design-tokens", "accessibility", "wcag", "aria", "component-library"],
7
+ "keywords": [
8
+ "design-system",
9
+ "ui-components",
10
+ "vue",
11
+ "vue3",
12
+ "css-custom-properties",
13
+ "design-tokens",
14
+ "accessibility",
15
+ "wcag",
16
+ "aria",
17
+ "component-library"
18
+ ],
8
19
  "homepage": "https://dillingerstaffing.com/labs/strand",
9
20
  "repository": {
10
21
  "type": "git",
@@ -26,8 +37,13 @@
26
37
  "./css/strand-ui.css": "./dist/css/strand-ui.css"
27
38
  },
28
39
  "style": "./dist/css/strand-ui.css",
29
- "files": ["dist/", "src/"],
30
- "sideEffects": ["dist/css/*.css"],
40
+ "files": [
41
+ "dist/",
42
+ "src/"
43
+ ],
44
+ "sideEffects": [
45
+ "dist/css/*.css"
46
+ ],
31
47
  "scripts": {
32
48
  "build": "vite build && cp ../../HTML_REFERENCE.md ./HTML_REFERENCE.md",
33
49
  "test": "vitest run"
@@ -36,7 +52,7 @@
36
52
  "vue": "^3.4.0"
37
53
  },
38
54
  "dependencies": {
39
- "@dillingerstaffing/strand": "workspace:^"
55
+ "@dillingerstaffing/strand": "^0.4.0"
40
56
  },
41
57
  "devDependencies": {
42
58
  "@testing-library/jest-dom": "^6.6.0",