@bwui/vue 0.1.12 → 0.1.13

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/dist/pages.js CHANGED
@@ -17,7 +17,7 @@ export const Homepage = defineComponent({
17
17
  h(SkipLink),
18
18
  h('header', { class: 'bw-shell-marketing__header' }, [
19
19
  h(Cluster, { style: { justifyContent: 'space-between', padding: 'var(--bw-space-4) var(--bw-space-6)' } }, () => [
20
- h('strong', { class: 'bw-text-title-md' }, props.brand),
20
+ h('strong', { class: 'bw-heading-lg' }, props.brand),
21
21
  h('nav', { class: 'bw-cluster', 'aria-label': 'Primary' }, [
22
22
  h(ButtonLink, { href: '#features', variant: 'ghost' }, () => 'Features'),
23
23
  h(ButtonLink, { href: '/gallery/landing', variant: 'ghost' }, () => 'Landing'),
@@ -30,7 +30,7 @@ export const Homepage = defineComponent({
30
30
  h('section', { class: 'bw-hero', style: { padding: 'var(--bw-space-12) var(--bw-space-6)' } }, [
31
31
  h(Stack, { style: { maxWidth: '40rem' } }, () => [
32
32
  h('h1', { class: 'bw-text-display-md' }, props.title),
33
- h('p', { class: 'bw-text-body-lg', style: { color: 'var(--bw-color-fg-muted)' } }, props.description),
33
+ h('p', { class: 'bw-body-lg', style: { color: 'var(--bw-color-fg-muted)' } }, props.description),
34
34
  h(Cluster, () => [
35
35
  h(ButtonLink, { href: '/gallery/forms', variant: 'primary', size: 'lg' }, () => 'Get started'),
36
36
  h(ButtonLink, { href: '/gallery/landing', variant: 'ghost', size: 'lg' }, () => 'See landing'),
@@ -42,9 +42,9 @@ export const Homepage = defineComponent({
42
42
  style: { padding: 'var(--bw-space-10) var(--bw-space-6)', background: 'var(--bw-color-surface-2)' },
43
43
  }, [
44
44
  h('div', { class: 'bw-grid' }, [
45
- h(Card, () => [h('h2', { class: 'bw-text-title-sm' }, 'Tokens'), h('p', 'One --bw-* source.')]),
46
- h(Card, () => [h('h2', { class: 'bw-text-title-sm' }, 'Components'), h('p', 'Same chrome on every stack.')]),
47
- h(Card, () => [h('h2', { class: 'bw-text-title-sm' }, 'Gallery'), h('p', 'Homepage, landing, forms.')]),
45
+ h(Card, () => [h('h2', { class: 'bw-heading-md' }, 'Tokens'), h('p', 'One --bw-* source.')]),
46
+ h(Card, () => [h('h2', { class: 'bw-heading-md' }, 'Components'), h('p', 'Same chrome on every stack.')]),
47
+ h(Card, () => [h('h2', { class: 'bw-heading-md' }, 'Gallery'), h('p', 'Homepage, landing, forms.')]),
48
48
  ]),
49
49
  ]),
50
50
  ]),
@@ -66,14 +66,14 @@ export const Landing = defineComponent({
66
66
  h(SkipLink),
67
67
  h('header', { style: { padding: 'var(--bw-space-4) var(--bw-space-6)' } }, [
68
68
  h(Cluster, { style: { justifyContent: 'space-between' } }, () => [
69
- h('strong', { class: 'bw-text-title-md' }, props.brand),
69
+ h('strong', { class: 'bw-heading-lg' }, props.brand),
70
70
  h(ThemeToggle),
71
71
  ]),
72
72
  ]),
73
73
  h('main', { id: 'main', style: { padding: 'var(--bw-space-12) var(--bw-space-6)' } }, [
74
74
  h(Stack, { class: 'bw-centre', style: { textAlign: 'center' } }, () => [
75
75
  h('h1', { class: 'bw-text-display-sm' }, props.title),
76
- h('p', { class: 'bw-text-body-lg', style: { color: 'var(--bw-color-fg-muted)' } }, props.description),
76
+ h('p', { class: 'bw-body-lg', style: { color: 'var(--bw-color-fg-muted)' } }, props.description),
77
77
  h(Cluster, { style: { justifyContent: 'center' } }, () => [
78
78
  h(ButtonLink, { href: '/gallery/forms', variant: 'primary', size: 'lg' }, () => 'Start free'),
79
79
  h(ButtonLink, { href: '/gallery/homepage', variant: 'ghost', size: 'lg' }, () => 'Back to homepage'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bwui/vue",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "Vue 3 adapter for Brickwork: typed components bound to the Brickwork token substrate and bw-* class contract.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -25,8 +25,8 @@
25
25
  "vue": "^3.4.0"
26
26
  },
27
27
  "dependencies": {
28
- "@bwui/css": "0.1.12",
29
- "@bwui/tokens": "0.1.12"
28
+ "@bwui/css": "0.1.13",
29
+ "@bwui/tokens": "0.1.13"
30
30
  },
31
31
  "devDependencies": {
32
32
  "typescript": "^5",
package/src/pages.ts CHANGED
@@ -35,7 +35,7 @@ export const Homepage = defineComponent({
35
35
  h(SkipLink),
36
36
  h('header', { class: 'bw-shell-marketing__header' }, [
37
37
  h(Cluster, { style: { justifyContent: 'space-between', padding: 'var(--bw-space-4) var(--bw-space-6)' } }, () => [
38
- h('strong', { class: 'bw-text-title-md' }, props.brand),
38
+ h('strong', { class: 'bw-heading-lg' }, props.brand),
39
39
  h('nav', { class: 'bw-cluster', 'aria-label': 'Primary' }, [
40
40
  h(ButtonLink, { href: '#features', variant: 'ghost' }, () => 'Features'),
41
41
  h(ButtonLink, { href: '/gallery/landing', variant: 'ghost' }, () => 'Landing'),
@@ -48,7 +48,7 @@ export const Homepage = defineComponent({
48
48
  h('section', { class: 'bw-hero', style: { padding: 'var(--bw-space-12) var(--bw-space-6)' } }, [
49
49
  h(Stack, { style: { maxWidth: '40rem' } }, () => [
50
50
  h('h1', { class: 'bw-text-display-md' }, props.title),
51
- h('p', { class: 'bw-text-body-lg', style: { color: 'var(--bw-color-fg-muted)' } }, props.description),
51
+ h('p', { class: 'bw-body-lg', style: { color: 'var(--bw-color-fg-muted)' } }, props.description),
52
52
  h(Cluster, () => [
53
53
  h(ButtonLink, { href: '/gallery/forms', variant: 'primary', size: 'lg' }, () => 'Get started'),
54
54
  h(ButtonLink, { href: '/gallery/landing', variant: 'ghost', size: 'lg' }, () => 'See landing'),
@@ -63,9 +63,9 @@ export const Homepage = defineComponent({
63
63
  },
64
64
  [
65
65
  h('div', { class: 'bw-grid' }, [
66
- h(Card, () => [h('h2', { class: 'bw-text-title-sm' }, 'Tokens'), h('p', 'One --bw-* source.')]),
67
- h(Card, () => [h('h2', { class: 'bw-text-title-sm' }, 'Components'), h('p', 'Same chrome on every stack.')]),
68
- h(Card, () => [h('h2', { class: 'bw-text-title-sm' }, 'Gallery'), h('p', 'Homepage, landing, forms.')]),
66
+ h(Card, () => [h('h2', { class: 'bw-heading-md' }, 'Tokens'), h('p', 'One --bw-* source.')]),
67
+ h(Card, () => [h('h2', { class: 'bw-heading-md' }, 'Components'), h('p', 'Same chrome on every stack.')]),
68
+ h(Card, () => [h('h2', { class: 'bw-heading-md' }, 'Gallery'), h('p', 'Homepage, landing, forms.')]),
69
69
  ]),
70
70
  ],
71
71
  ),
@@ -89,14 +89,14 @@ export const Landing = defineComponent({
89
89
  h(SkipLink),
90
90
  h('header', { style: { padding: 'var(--bw-space-4) var(--bw-space-6)' } }, [
91
91
  h(Cluster, { style: { justifyContent: 'space-between' } }, () => [
92
- h('strong', { class: 'bw-text-title-md' }, props.brand),
92
+ h('strong', { class: 'bw-heading-lg' }, props.brand),
93
93
  h(ThemeToggle),
94
94
  ]),
95
95
  ]),
96
96
  h('main', { id: 'main', style: { padding: 'var(--bw-space-12) var(--bw-space-6)' } }, [
97
97
  h(Stack, { class: 'bw-centre', style: { textAlign: 'center' } }, () => [
98
98
  h('h1', { class: 'bw-text-display-sm' }, props.title),
99
- h('p', { class: 'bw-text-body-lg', style: { color: 'var(--bw-color-fg-muted)' } }, props.description),
99
+ h('p', { class: 'bw-body-lg', style: { color: 'var(--bw-color-fg-muted)' } }, props.description),
100
100
  h(Cluster, { style: { justifyContent: 'center' } }, () => [
101
101
  h(ButtonLink, { href: '/gallery/forms', variant: 'primary', size: 'lg' }, () => 'Start free'),
102
102
  h(ButtonLink, { href: '/gallery/homepage', variant: 'ghost', size: 'lg' }, () => 'Back to homepage'),