spoko-design-system 1.2.2 → 1.3.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.
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
name: Claude Code
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
issue_comment:
|
|
5
|
+
types: [created]
|
|
6
|
+
pull_request_review_comment:
|
|
7
|
+
types: [created]
|
|
8
|
+
issues:
|
|
9
|
+
types: [opened, assigned]
|
|
10
|
+
pull_request_review:
|
|
11
|
+
types: [submitted]
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
claude:
|
|
15
|
+
if: |
|
|
16
|
+
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
|
|
17
|
+
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
|
|
18
|
+
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
|
|
19
|
+
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
permissions:
|
|
22
|
+
contents: write
|
|
23
|
+
pull-requests: write
|
|
24
|
+
issues: write
|
|
25
|
+
id-token: write
|
|
26
|
+
actions: read
|
|
27
|
+
steps:
|
|
28
|
+
- name: Checkout repository
|
|
29
|
+
uses: actions/checkout@v4
|
|
30
|
+
with:
|
|
31
|
+
fetch-depth: 1
|
|
32
|
+
|
|
33
|
+
- name: Run Claude Code
|
|
34
|
+
id: claude
|
|
35
|
+
uses: anthropics/claude-code-action@v1
|
|
36
|
+
with:
|
|
37
|
+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [1.3.0](https://github.com/polo-blue/sds/compare/v1.2.2...v1.3.0) (2025-10-05)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* add Claude Code GitHub Action workflow ([eba488f](https://github.com/polo-blue/sds/commit/eba488fe781ebb3e7676dc7e6dfd30cf3130798a))
|
|
6
|
+
|
|
1
7
|
## [1.2.2](https://github.com/polo-blue/sds/compare/v1.2.1...v1.2.2) (2025-10-05)
|
|
2
8
|
|
|
3
9
|
## [1.2.1](https://github.com/polo-blue/sds/compare/v1.2.0...v1.2.1) (2025-10-05)
|
package/package.json
CHANGED
package/src/components/Badge.vue
CHANGED
|
@@ -2,19 +2,22 @@
|
|
|
2
2
|
const props = defineProps({
|
|
3
3
|
badge: {
|
|
4
4
|
type: String,
|
|
5
|
-
required:
|
|
5
|
+
required: false,
|
|
6
6
|
default: '',
|
|
7
7
|
},
|
|
8
8
|
class: {
|
|
9
9
|
type: String,
|
|
10
|
-
required:
|
|
10
|
+
required: false,
|
|
11
11
|
default: 'bg-gray',
|
|
12
12
|
},
|
|
13
13
|
});
|
|
14
14
|
</script>
|
|
15
15
|
|
|
16
16
|
<template>
|
|
17
|
-
<div
|
|
17
|
+
<div
|
|
18
|
+
class="badge"
|
|
19
|
+
:class="props.class"
|
|
20
|
+
>
|
|
18
21
|
{{ props.badge }}
|
|
19
22
|
</div>
|
|
20
23
|
</template>
|
|
@@ -47,7 +47,10 @@ const getBadgeColor = (badge: string | BadgeObject): string => {
|
|
|
47
47
|
</script>
|
|
48
48
|
|
|
49
49
|
<template>
|
|
50
|
-
<div
|
|
50
|
+
<div
|
|
51
|
+
v-if="props.badges && props.badges.length > 0"
|
|
52
|
+
class="absolute z-2"
|
|
53
|
+
>
|
|
51
54
|
<Badge
|
|
52
55
|
v-for="(badge, index) in props.badges"
|
|
53
56
|
:key="index"
|
|
@@ -39,9 +39,19 @@ const isLast = (index: number) => {
|
|
|
39
39
|
<template>
|
|
40
40
|
<nav>
|
|
41
41
|
<ul class="breadcrumbs-base">
|
|
42
|
-
<li
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
<li
|
|
43
|
+
v-if="props.showBack"
|
|
44
|
+
class="breadcrumb-item"
|
|
45
|
+
>
|
|
46
|
+
<button
|
|
47
|
+
class="breadcrumb-back-btn"
|
|
48
|
+
:title="props.textBack"
|
|
49
|
+
onclick="history.back()"
|
|
50
|
+
>
|
|
51
|
+
<span
|
|
52
|
+
class="block px-3"
|
|
53
|
+
i-bx-bx-arrow-back
|
|
54
|
+
/>
|
|
45
55
|
</button>
|
|
46
56
|
</li>
|
|
47
57
|
</ul>
|
|
@@ -50,7 +60,10 @@ const isLast = (index: number) => {
|
|
|
50
60
|
itemscope
|
|
51
61
|
itemtype="https://schema.org/BreadcrumbList"
|
|
52
62
|
>
|
|
53
|
-
<li
|
|
63
|
+
<li
|
|
64
|
+
v-if="props.showHome"
|
|
65
|
+
class="breadcrumb-item"
|
|
66
|
+
>
|
|
54
67
|
<a
|
|
55
68
|
href="/"
|
|
56
69
|
class="breadcrumb-link flex items-center px-3 sm:px-0 py-4.25 sm:py-1 hover:text-brand-secondary whitespace-nowrap translate-y-0 text-sm my-auto"
|
|
@@ -58,7 +71,10 @@ const isLast = (index: number) => {
|
|
|
58
71
|
itemprop="item"
|
|
59
72
|
i-carbon-home
|
|
60
73
|
/>
|
|
61
|
-
<meta
|
|
74
|
+
<meta
|
|
75
|
+
itemprop="position"
|
|
76
|
+
content="1"
|
|
77
|
+
/>
|
|
62
78
|
</li>
|
|
63
79
|
<li
|
|
64
80
|
v-for="(crumb, index) in breadcrumbs"
|