Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit 8faddb5

Browse files
More knossos fixes (#163)
* More knossos fixes * rev navrow changes * actually fix build * Fix image border radius * Remove non-shared utilities * remove another func
1 parent 03967d4 commit 8faddb5

21 files changed

Lines changed: 255 additions & 734 deletions

docs/components/categories.md

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,45 +2,15 @@
22

33
<DemoContainer>
44
<Categories
5-
:categories="[{
6-
name: 'magic',
7-
icon: '<svg viewBox=\'0 0 24 24\' fill=\'none\' stroke=\'currentColor\' stroke-width=\'2\' stroke-linecap=\'round\' stroke-linejoin=\'round\'><path d=\'M15 4V2\'></path><path d=\'M15 16v-2\'></path><path d=\'M8 9h2\'></path><path d=\'M20 9h2\'></path><path d=\'M17.8 11.8 19 13\'></path><path d=\'M15 9h0\'></path><path d=\'M17.8 6.2 19 5\'></path><path d=\'m3 21 9-9\'></path><path d=\'M12.2 6.2 11 5\'></path></svg>',
8-
},
9-
{
10-
icon: '<svg viewBox=\'0 0 24 24\' fill=\'none\' stroke=\'currentColor\' stroke-width=\'2\' stroke-linecap=\'round\' stroke-linejoin=\'round\'><rect x=\'2\' y=\'7\' width=\'20\' height=\'14\' rx=\'2\' ry=\'2\'/><path d=\'M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16\'/></svg>',
11-
name: 'utility',
12-
},
13-
{
14-
icon: '<svg xmlns=\'http://www.w3.org/2000/svg\' xml:space=\'preserve\' fill-rule=\'evenodd\' stroke-linecap=\'round\' stroke-linejoin=\'round\' clip-rule=\'evenodd\' viewBox=\'0 0 24 24\'>\n <path fill=\'none\' d=\'M0 0h24v24H0z\'/>\n <path fill=\'none\' stroke=\'currentColor\' stroke-width=\'23\' d=\'m820 761-85.6-87.6c-4.6-4.7-10.4-9.6-25.9 1-19.9 13.6-8.4 21.9-5.2 25.4 8.2 9 84.1 89 97.2 104 2.5 2.8-20.3-22.5-6.5-39.7 5.4-7 18-12 26-3 6.5 7.3 10.7 18-3.4 29.7-24.7 20.4-102 82.4-127 103-12.5 10.3-28.5 2.3-35.8-6-7.5-8.9-30.6-34.6-51.3-58.2-5.5-6.3-4.1-19.6 2.3-25 35-30.3 91.9-73.8 111.9-90.8\' transform=\'matrix(.08671 0 0 .0867 -49.8 -56)\'/>\n</svg>',
15-
name: 'fabric',
16-
},
17-
{
18-
icon: '<svg xml:space=\'preserve\' fill-rule=\'evenodd\' stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-miterlimit=\'1.5\' clip-rule=\'evenodd\' viewBox=\'0 0 24 24\'>\n <path fill=\'none\' d=\'M0 0h24v24H0z\'></path>\n <path fill=\'none\' stroke=\'currentColor\' stroke-width=\'2\' d=\'M2 7.5h8v-2h12v2s-7 3.4-7 6 3.1 3.1 3.1 3.1l.9 3.9H5l1-4.1s3.8.1 4-2.9c.2-2.7-6.5-.7-8-6Z\'></path>\n</svg>',
19-
name: 'forge'
20-
}]"
5+
:categories="['magic', 'utlity', 'fabric', 'forge']"
216
type="mod"
227
class="tags"
238
/>
249
</DemoContainer>
2510

2611
```vue
2712
<Categories
28-
:categories="[{
29-
name: 'magic',
30-
icon: '<svg viewBox=\'0 0 24 24\' fill=\'none\' stroke=\'currentColor\' stroke-width=\'2\' stroke-linecap=\'round\' stroke-linejoin=\'round\'><path d=\'M15 4V2\'></path><path d=\'M15 16v-2\'></path><path d=\'M8 9h2\'></path><path d=\'M20 9h2\'></path><path d=\'M17.8 11.8 19 13\'></path><path d=\'M15 9h0\'></path><path d=\'M17.8 6.2 19 5\'></path><path d=\'m3 21 9-9\'></path><path d=\'M12.2 6.2 11 5\'></path></svg>',
31-
},
32-
{
33-
icon: '<svg viewBox=\'0 0 24 24\' fill=\'none\' stroke=\'currentColor\' stroke-width=\'2\' stroke-linecap=\'round\' stroke-linejoin=\'round\'><rect x=\'2\' y=\'7\' width=\'20\' height=\'14\' rx=\'2\' ry=\'2\'/><path d=\'M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16\'/></svg>',
34-
name: 'utility',
35-
},
36-
{
37-
icon: '<svg xmlns=\'http://www.w3.org/2000/svg\' xml:space=\'preserve\' fill-rule=\'evenodd\' stroke-linecap=\'round\' stroke-linejoin=\'round\' clip-rule=\'evenodd\' viewBox=\'0 0 24 24\'>\n <path fill=\'none\' d=\'M0 0h24v24H0z\'/>\n <path fill=\'none\' stroke=\'currentColor\' stroke-width=\'23\' d=\'m820 761-85.6-87.6c-4.6-4.7-10.4-9.6-25.9 1-19.9 13.6-8.4 21.9-5.2 25.4 8.2 9 84.1 89 97.2 104 2.5 2.8-20.3-22.5-6.5-39.7 5.4-7 18-12 26-3 6.5 7.3 10.7 18-3.4 29.7-24.7 20.4-102 82.4-127 103-12.5 10.3-28.5 2.3-35.8-6-7.5-8.9-30.6-34.6-51.3-58.2-5.5-6.3-4.1-19.6 2.3-25 35-30.3 91.9-73.8 111.9-90.8\' transform=\'matrix(.08671 0 0 .0867 -49.8 -56)\'/>\n</svg>',
38-
name: 'fabric',
39-
},
40-
{
41-
icon: '<svg xml:space=\'preserve\' fill-rule=\'evenodd\' stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-miterlimit=\'1.5\' clip-rule=\'evenodd\' viewBox=\'0 0 24 24\'>\n <path fill=\'none\' d=\'M0 0h24v24H0z\'></path>\n <path fill=\'none\' stroke=\'currentColor\' stroke-width=\'2\' d=\'M2 7.5h8v-2h12v2s-7 3.4-7 6 3.1 3.1 3.1 3.1l.9 3.9H5l1-4.1s3.8.1 4-2.9c.2-2.7-6.5-.7-8-6Z\'></path>\n</svg>',
42-
name: 'forge'
43-
}]"
13+
:categories="['magic', 'utlity', 'fabric', 'forge']"
4414
type="mod"
4515
class="tags"
4616
/>

docs/components/checkbox.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const value = ref(false)
88

99
<DemoContainer>
1010
<Checkbox v-model="value">Test</Checkbox>
11+
Value: {{ value }}
1112
</DemoContainer>
1213

1314
```vue

docs/components/modal.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22
:::raw
33

44
<DemoContainer>
5-
<Button :action="() => this.$refs.reportModal.show()">Show Report Modal</Button>
65
<Button :action="() => this.$refs.confirmModal.show()">Show Confirm Modal</Button>
7-
<ReportModal
8-
ref="reportModal"
9-
itemType="project"
10-
:reportTypes="['cringitude', 'rudeness', 'notgamer', 'windowsuser']"
11-
>
12-
</ReportModal>
136
<ConfirmModal
147
ref="confirmModal"
158
title="Are you sure you want to delete this version?"
@@ -23,10 +16,14 @@
2316
:::
2417

2518
```vue
26-
<Button :action="() => this.$refs.reportModal.modal.show()">Show Modal</Button>
27-
<ReportModal
28-
ref="reportModal"
29-
itemType="project"
30-
:reportTypes="['cringitude', 'rudeness', 'notgamer', 'windowsuser']"
31-
/>
19+
<Button :action="() => this.$refs.confirmModal.show()">Show Confirm Modal</Button>
20+
<ConfirmModal
21+
ref="confirmModal"
22+
title="Are you sure you want to delete this version?"
23+
description="This will remove this version forever (like really forever)."
24+
:has-to-type="true"
25+
proceed-label="Delete"
26+
confirmationText="Hello"
27+
>
28+
</ConfirmModal>
3229
```

0 commit comments

Comments
 (0)