@meith/theme-clubhouse 0.15.0 → 0.16.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/package.json +4 -4
- package/src/copy.ts +1 -0
- package/src/messages/en.json +1 -0
- package/src/slots/post-actions.tsx +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meith/theme-clubhouse",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "A sports club theme for Meith — GAA, soccer, basketball — painted from the club's own two colours.",
|
|
5
5
|
"license": "LGPL-3.0-or-later",
|
|
6
6
|
"repository": {
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@meith/theme-default": "^0.
|
|
24
|
-
"@meith/
|
|
25
|
-
"@meith/
|
|
23
|
+
"@meith/theme-default": "^0.16.0",
|
|
24
|
+
"@meith/theme-kit": "^0.16.0",
|
|
25
|
+
"@meith/ui": "^0.16.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": "^19.2.0"
|
package/src/copy.ts
CHANGED
|
@@ -133,6 +133,7 @@ export function paginationCopy(t: Translator): SlotCopy {
|
|
|
133
133
|
export function postActionsCopy(t: Translator): SlotCopy {
|
|
134
134
|
return copyFor(t, [
|
|
135
135
|
'clubhouse.postActions.edit',
|
|
136
|
+
'clubhouse.postActions.history',
|
|
136
137
|
'clubhouse.postActions.moderate',
|
|
137
138
|
'clubhouse.postActions.postActions',
|
|
138
139
|
'clubhouse.postActions.quote',
|
package/src/messages/en.json
CHANGED
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
"clubhouse.pagination.pagination": "Pagination",
|
|
65
65
|
"clubhouse.pagination.previous": "Previous",
|
|
66
66
|
"clubhouse.postActions.edit": "Edit",
|
|
67
|
+
"clubhouse.postActions.history": "History",
|
|
67
68
|
"clubhouse.postActions.moderate": "Moderate",
|
|
68
69
|
"clubhouse.postActions.postActions": "Post actions",
|
|
69
70
|
"clubhouse.postActions.quote": "Quote",
|
|
@@ -21,6 +21,7 @@ export function PostActions({
|
|
|
21
21
|
const reader: Action[] = [
|
|
22
22
|
actions.quoteHref === null ? null : { href: actions.quoteHref, label: c('quote') },
|
|
23
23
|
actions.editHref === null ? null : { href: actions.editHref, label: c('edit') },
|
|
24
|
+
actions.historyHref == null ? null : { href: actions.historyHref, label: c('history') },
|
|
24
25
|
actions.rateHref === null ? null : { href: actions.rateHref, label: c('rate') },
|
|
25
26
|
actions.reportHref === null ? null : { href: actions.reportHref, label: c('report') },
|
|
26
27
|
].filter((action): action is Action => action !== null)
|