@raketa-cloud/admin 1.7.2 → 1.7.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raketa-cloud/admin",
3
- "version": "1.7.2",
3
+ "version": "1.7.4",
4
4
  "main": "src/index.js",
5
5
  "files": [
6
6
  "src/",
@@ -12,20 +12,20 @@
12
12
  "prepare": "npx tailwindcss -i ./src/styles/application.css -o ./dist/application.css"
13
13
  },
14
14
  "devDependencies": {
15
- "@babel/core": "7.28.4",
16
- "@babel/preset-env": "7.28.3",
17
- "@babel/preset-typescript": "7.27.1",
15
+ "@babel/core": "7.28.6",
16
+ "@babel/preset-env": "7.28.6",
17
+ "@babel/preset-typescript": "7.28.5",
18
18
  "@repo/typescript-config": "*",
19
19
  "@tailwindcss/forms": "0.5.7",
20
20
  "@tailwindcss/typography": "0.5.13",
21
- "@types/node": "24.4.0",
22
- "jest": "30.1.3",
21
+ "@types/node": "24.10.1",
22
+ "jest": "30.2.0",
23
23
  "tailwindcss": "3.4.4",
24
- "typescript": "5.9.2"
24
+ "typescript": "5.9.3"
25
25
  },
26
26
  "dependencies": {
27
27
  "ejs": "3.1.10",
28
- "graphql-request": "7.2.0"
28
+ "graphql-request": "7.4.0"
29
29
  },
30
30
  "overrides": {
31
31
  "error-ex": "1.3.4"
@@ -1,11 +1,14 @@
1
- <h1 class="heading-1 flex items-center gap-2">
2
- <%= resource.title %>
1
+ <div class="flex flex-col pb-4">
2
+ <h1 class="heading-1 flex items-center gap-2">
3
+ <%= resource.title %>
3
4
 
4
- <% if (resource.visibility !== "private") { %>
5
- <a href="<%= _context.remoteConfig.resourceUrl(resource, _context.resourceConfig.articleType, _context.locale) %>" target="_blank">
6
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6 text-raketa-primary">
7
- <path stroke-linecap="round" stroke-linejoin="round" d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25" />
8
- </svg>
9
- </a>
10
- <% } %>
11
- </h1>
5
+ <% if (resource.visibility !== "private") { %>
6
+ <a href="<%= _context.remoteConfig.resourceUrl(resource, _context.resourceConfig.articleType, _context.locale) %>" target="_blank">
7
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6 text-raketa-primary">
8
+ <path stroke-linecap="round" stroke-linejoin="round" d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25" />
9
+ </svg>
10
+ </a>
11
+ <% } %>
12
+ </h1>
13
+ <a href="<%= _context.remoteConfig.resourceUrl(resource, _context.resourceConfig.articleType, _context.locale) %>" target="_blank" class="btn-text"><%= _context.remoteConfig.resourceUrl(resource, _context.resourceConfig.articleType, _context.locale) %></a>
14
+ </div>
@@ -1,12 +1,14 @@
1
- <h1 class="heading-1 flex items-center gap-2">
2
- <%= resource.title %>
3
-
4
- <% if (resource.visibility !== "private") { %>
5
- <a href="<%= _context.remoteConfig.resourceUrl(resource, _context.resourceConfig.eventType, _context.locale) %>" target="_blank">
6
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6 text-raketa-primary">
7
- <path stroke-linecap="round" stroke-linejoin="round" d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25" />
8
- </svg>
9
- </a>
10
- <% } %>
11
- </h1>
1
+ <div class="flex flex-col pb-4">
2
+ <h1 class="heading-1 flex items-center gap-2">
3
+ <%= resource.title %>
12
4
 
5
+ <% if (resource.visibility !== "private") { %>
6
+ <a href="<%= _context.remoteConfig.resourceUrl(resource, _context.resourceConfig.eventType, _context.locale) %>" target="_blank">
7
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6 text-raketa-primary">
8
+ <path stroke-linecap="round" stroke-linejoin="round" d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25" />
9
+ </svg>
10
+ </a>
11
+ <% } %>
12
+ </h1>
13
+ <a href="<%= _context.remoteConfig.resourceUrl(resource, _context.resourceConfig.eventType, _context.locale) %>" target="_blank" class="btn-text"><%= _context.remoteConfig.resourceUrl(resource, _context.resourceConfig.eventType, _context.locale) %></a>
14
+ </div>
@@ -1,12 +1,14 @@
1
- <h1 class="heading-1 flex items-center gap-2">
2
- <%= resource.title %>
3
-
4
- <% if (resource.visibility !== "private") { %>
5
- <a href="<%= _context.remoteConfig.resourceUrl(resource, _context.resourceConfig.pageType, _context.locale) %>" target="_blank">
6
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6 text-raketa-primary">
7
- <path stroke-linecap="round" stroke-linejoin="round" d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25" />
8
- </svg>
9
- </a>
10
- <% } %>
11
- </h1>
1
+ <div class="flex flex-col pb-4">
2
+ <h1 class="heading-1 flex items-center gap-2">
3
+ <%= resource.title %>
12
4
 
5
+ <% if (resource.visibility !== "private") { %>
6
+ <a href="<%= _context.remoteConfig.resourceUrl(resource, _context.resourceConfig.pageType, _context.locale) %>" target="_blank">
7
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6 text-raketa-primary">
8
+ <path stroke-linecap="round" stroke-linejoin="round" d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25" />
9
+ </svg>
10
+ </a>
11
+ <% } %>
12
+ </h1>
13
+ <a href="<%= _context.remoteConfig.resourceUrl(resource, _context.resourceConfig.pageType, _context.locale) %>" target="_blank" class="btn-text"><%= _context.remoteConfig.resourceUrl(resource, _context.resourceConfig.pageType, _context.locale) %></a>
14
+ </div>
@@ -11,7 +11,7 @@
11
11
  <%- f.field('resource.meta.title', { label: "Meta title", hint: "Used for both meta and OpenGraph" }) %>
12
12
  <%- f.field('resource.meta.description', { as: "textarea", label: "Meta description", hint: "Used for both meta and OpenGraph" }) %>
13
13
 
14
- <raketa-image-picker name="resource[image]" value="<%= JSON.stringify(resource.meta?.image || {}) %>" label="OpenGraph image"></raketa-image-picker>
14
+ <raketa-image-picker name="resource[meta][image]" value="<%= JSON.stringify(resource.meta?.image || {}) %>" label="OpenGraph image"></raketa-image-picker>
15
15
 
16
16
  <div class="form-actions">
17
17
  <div class="btn-toolbar">
@@ -21,4 +21,4 @@
21
21
  </form>
22
22
  <% }) %>
23
23
  </div>
24
- </div>
24
+ </div>