@acmekit/dashboard 2.13.19 → 2.13.20
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/app.js +5 -2
- package/dist/app.mjs +5 -2
- package/dist/en.json +3 -0
- package/package.json +9 -9
- package/src/components/layout/main-layout/main-layout.tsx +2 -2
- package/src/components/table/table-cells/shipping-option/admin-only-cell/admin-only-cell.tsx +1 -1
- package/src/i18n/translations/$schema.json +9 -0
- package/src/i18n/translations/en.json +3 -0
package/dist/app.js
CHANGED
|
@@ -26664,6 +26664,7 @@ var en_default = {
|
|
|
26664
26664
|
removed: "Removed",
|
|
26665
26665
|
remaining: "Left",
|
|
26666
26666
|
admin: "Admin",
|
|
26667
|
+
client: "Client",
|
|
26667
26668
|
store: "Store",
|
|
26668
26669
|
details: "Details",
|
|
26669
26670
|
items_one: "{{count}} item",
|
|
@@ -26886,6 +26887,8 @@ var en_default = {
|
|
|
26886
26887
|
extensions: "Extensions"
|
|
26887
26888
|
},
|
|
26888
26889
|
main: {
|
|
26890
|
+
organization: "Organization",
|
|
26891
|
+
settings: "Settings",
|
|
26889
26892
|
store: "Store",
|
|
26890
26893
|
storeSettings: "Store settings"
|
|
26891
26894
|
},
|
|
@@ -112616,7 +112619,7 @@ var Header = () => {
|
|
|
112616
112619
|
weight: "plus",
|
|
112617
112620
|
leading: "compact",
|
|
112618
112621
|
className: "truncate",
|
|
112619
|
-
children: t3("app.nav.main.
|
|
112622
|
+
children: t3("app.nav.main.organization", "Organization")
|
|
112620
112623
|
}
|
|
112621
112624
|
) }),
|
|
112622
112625
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_icons10.EllipsisHorizontal, { className: "text-ui-fg-muted" })
|
|
@@ -112626,7 +112629,7 @@ var Header = () => {
|
|
|
112626
112629
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_ui14.DropdownMenu.Content, { className: "w-[var(--radix-dropdown-menu-trigger-width)] min-w-0", children: [
|
|
112627
112630
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_ui14.DropdownMenu.Item, { className: "gap-x-2", asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_react_router_dom9.Link, { to: "/settings", children: [
|
|
112628
112631
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_icons10.CogSixTooth, { className: "text-ui-fg-subtle" }),
|
|
112629
|
-
t3("app.nav.main.
|
|
112632
|
+
t3("app.nav.main.settings", "Settings")
|
|
112630
112633
|
] }) }),
|
|
112631
112634
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_ui14.DropdownMenu.Separator, {}),
|
|
112632
112635
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Logout2, {})
|
package/dist/app.mjs
CHANGED
|
@@ -8955,6 +8955,7 @@ var en_default = {
|
|
|
8955
8955
|
removed: "Removed",
|
|
8956
8956
|
remaining: "Left",
|
|
8957
8957
|
admin: "Admin",
|
|
8958
|
+
client: "Client",
|
|
8958
8959
|
store: "Store",
|
|
8959
8960
|
details: "Details",
|
|
8960
8961
|
items_one: "{{count}} item",
|
|
@@ -9177,6 +9178,8 @@ var en_default = {
|
|
|
9177
9178
|
extensions: "Extensions"
|
|
9178
9179
|
},
|
|
9179
9180
|
main: {
|
|
9181
|
+
organization: "Organization",
|
|
9182
|
+
settings: "Settings",
|
|
9180
9183
|
store: "Store",
|
|
9181
9184
|
storeSettings: "Store settings"
|
|
9182
9185
|
},
|
|
@@ -94953,7 +94956,7 @@ var Header = () => {
|
|
|
94953
94956
|
weight: "plus",
|
|
94954
94957
|
leading: "compact",
|
|
94955
94958
|
className: "truncate",
|
|
94956
|
-
children: t2("app.nav.main.
|
|
94959
|
+
children: t2("app.nav.main.organization", "Organization")
|
|
94957
94960
|
}
|
|
94958
94961
|
) }),
|
|
94959
94962
|
/* @__PURE__ */ jsx17(EllipsisHorizontal2, { className: "text-ui-fg-muted" })
|
|
@@ -94963,7 +94966,7 @@ var Header = () => {
|
|
|
94963
94966
|
/* @__PURE__ */ jsxs10(DropdownMenu3.Content, { className: "w-[var(--radix-dropdown-menu-trigger-width)] min-w-0", children: [
|
|
94964
94967
|
/* @__PURE__ */ jsx17(DropdownMenu3.Item, { className: "gap-x-2", asChild: true, children: /* @__PURE__ */ jsxs10(Link3, { to: "/settings", children: [
|
|
94965
94968
|
/* @__PURE__ */ jsx17(CogSixTooth, { className: "text-ui-fg-subtle" }),
|
|
94966
|
-
t2("app.nav.main.
|
|
94969
|
+
t2("app.nav.main.settings", "Settings")
|
|
94967
94970
|
] }) }),
|
|
94968
94971
|
/* @__PURE__ */ jsx17(DropdownMenu3.Separator, {}),
|
|
94969
94972
|
/* @__PURE__ */ jsx17(Logout2, {})
|
package/dist/en.json
CHANGED
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"removed": "Removed",
|
|
40
40
|
"remaining": "Left",
|
|
41
41
|
"admin": "Admin",
|
|
42
|
+
"client": "Client",
|
|
42
43
|
"store": "Store",
|
|
43
44
|
"details": "Details",
|
|
44
45
|
"items_one": "{{count}} item",
|
|
@@ -261,6 +262,8 @@
|
|
|
261
262
|
"extensions": "Extensions"
|
|
262
263
|
},
|
|
263
264
|
"main": {
|
|
265
|
+
"organization": "Organization",
|
|
266
|
+
"settings": "Settings",
|
|
264
267
|
"store": "Store",
|
|
265
268
|
"storeSettings": "Store settings"
|
|
266
269
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acmekit/dashboard",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.20",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"generate:static": "node ./scripts/generate-currencies.js && prettier --write ./src/lib/currencies.ts",
|
|
6
6
|
"dev": "../../../node_modules/.bin/vite",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"dist"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@acmekit/admin-shared": "2.13.
|
|
43
|
-
"@acmekit/icons": "2.13.
|
|
44
|
-
"@acmekit/js-sdk": "2.13.
|
|
45
|
-
"@acmekit/ui": "4.1.
|
|
42
|
+
"@acmekit/admin-shared": "2.13.20",
|
|
43
|
+
"@acmekit/icons": "2.13.20",
|
|
44
|
+
"@acmekit/js-sdk": "2.13.20",
|
|
45
|
+
"@acmekit/ui": "4.1.16",
|
|
46
46
|
"@ariakit/react": "^0.4.15",
|
|
47
47
|
"@babel/runtime": "^7.26.10",
|
|
48
48
|
"@dnd-kit/core": "^6.1.0",
|
|
@@ -80,10 +80,10 @@
|
|
|
80
80
|
"zod": "3.25.76"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
|
-
"@acmekit/admin-shared": "2.13.
|
|
84
|
-
"@acmekit/admin-vite-plugin": "2.13.
|
|
85
|
-
"@acmekit/types": "2.13.
|
|
86
|
-
"@acmekit/ui-preset": "2.13.
|
|
83
|
+
"@acmekit/admin-shared": "2.13.20",
|
|
84
|
+
"@acmekit/admin-vite-plugin": "2.13.20",
|
|
85
|
+
"@acmekit/types": "2.13.20",
|
|
86
|
+
"@acmekit/ui-preset": "2.13.20"
|
|
87
87
|
},
|
|
88
88
|
"packageManager": "yarn@3.2.1"
|
|
89
89
|
}
|
|
@@ -107,7 +107,7 @@ const Header = () => {
|
|
|
107
107
|
leading="compact"
|
|
108
108
|
className="truncate"
|
|
109
109
|
>
|
|
110
|
-
{t("app.nav.main.
|
|
110
|
+
{t("app.nav.main.organization", "Organization")}
|
|
111
111
|
</Text>
|
|
112
112
|
</div>
|
|
113
113
|
<EllipsisHorizontal className="text-ui-fg-muted" />
|
|
@@ -116,7 +116,7 @@ const Header = () => {
|
|
|
116
116
|
<DropdownMenu.Item className="gap-x-2" asChild>
|
|
117
117
|
<Link to="/settings">
|
|
118
118
|
<CogSixTooth className="text-ui-fg-subtle" />
|
|
119
|
-
{t("app.nav.main.
|
|
119
|
+
{t("app.nav.main.settings", "Settings")}
|
|
120
120
|
</Link>
|
|
121
121
|
</DropdownMenu.Item>
|
|
122
122
|
<DropdownMenu.Separator />
|
package/src/components/table/table-cells/shipping-option/admin-only-cell/admin-only-cell.tsx
CHANGED
|
@@ -9,7 +9,7 @@ export const AdminOnlyCell = ({ adminOnly }: AdminOnlyCellProps) => {
|
|
|
9
9
|
const { t } = useTranslation()
|
|
10
10
|
|
|
11
11
|
const color = adminOnly ? "blue" : "green"
|
|
12
|
-
const text = adminOnly ? t("general.admin") : t("general.
|
|
12
|
+
const text = adminOnly ? t("general.admin") : t("general.client")
|
|
13
13
|
|
|
14
14
|
return <StatusCell color={color}>{text}</StatusCell>
|
|
15
15
|
}
|
|
@@ -122,6 +122,9 @@
|
|
|
122
122
|
"admin": {
|
|
123
123
|
"type": "string"
|
|
124
124
|
},
|
|
125
|
+
"client": {
|
|
126
|
+
"type": "string"
|
|
127
|
+
},
|
|
125
128
|
"store": {
|
|
126
129
|
"type": "string"
|
|
127
130
|
},
|
|
@@ -1014,6 +1017,12 @@
|
|
|
1014
1017
|
"main": {
|
|
1015
1018
|
"type": "object",
|
|
1016
1019
|
"properties": {
|
|
1020
|
+
"organization": {
|
|
1021
|
+
"type": "string"
|
|
1022
|
+
},
|
|
1023
|
+
"settings": {
|
|
1024
|
+
"type": "string"
|
|
1025
|
+
},
|
|
1017
1026
|
"store": {
|
|
1018
1027
|
"type": "string"
|
|
1019
1028
|
},
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"removed": "Removed",
|
|
40
40
|
"remaining": "Left",
|
|
41
41
|
"admin": "Admin",
|
|
42
|
+
"client": "Client",
|
|
42
43
|
"store": "Store",
|
|
43
44
|
"details": "Details",
|
|
44
45
|
"items_one": "{{count}} item",
|
|
@@ -261,6 +262,8 @@
|
|
|
261
262
|
"extensions": "Extensions"
|
|
262
263
|
},
|
|
263
264
|
"main": {
|
|
265
|
+
"organization": "Organization",
|
|
266
|
+
"settings": "Settings",
|
|
264
267
|
"store": "Store",
|
|
265
268
|
"storeSettings": "Store settings"
|
|
266
269
|
},
|