includio-cms 0.6.0 → 0.6.2

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.
Files changed (49) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/ROADMAP.md +20 -4
  3. package/dist/admin/client/admin/admin-layout.svelte +18 -4
  4. package/dist/admin/client/collection/collection-entries.svelte +43 -1
  5. package/dist/admin/client/collection/table-toolbar.svelte +64 -1
  6. package/dist/admin/client/collection/table-toolbar.svelte.d.ts +11 -0
  7. package/dist/admin/components/fields/field-renderer.svelte +3 -2
  8. package/dist/admin/components/fields/field-renderer.svelte.d.ts +1 -0
  9. package/dist/admin/components/fields/object-field.svelte +5 -5
  10. package/dist/admin/components/fields/object-field.svelte.d.ts +1 -1
  11. package/dist/admin/components/fields/text-field-wrapper.svelte +5 -3
  12. package/dist/admin/components/layout/layout-renderer.svelte +81 -107
  13. package/dist/admin/components/layout/layout-renderer.svelte.d.ts +1 -0
  14. package/dist/admin/components/tiptap/InlineBlockNodeView.svelte +13 -6
  15. package/dist/admin/components/tiptap/content-editor.svelte +11 -2
  16. package/dist/admin/context/remotes.d.ts +1 -1
  17. package/dist/admin/context/remotes.js +0 -1
  18. package/dist/admin/styles/admin.css +2 -1
  19. package/dist/ai-claude/index.js +10 -4
  20. package/dist/cli/index.js +10 -3
  21. package/dist/cli/install-peers.d.ts +3 -0
  22. package/dist/cli/install-peers.js +52 -0
  23. package/dist/core/fields/fieldSchemaToTs.js +2 -0
  24. package/dist/core/fields/layoutUtils.d.ts +30 -3
  25. package/dist/core/fields/layoutUtils.js +145 -17
  26. package/dist/core/server/generator/generator.js +21 -10
  27. package/dist/entity/index.d.ts +26 -0
  28. package/dist/entity/index.js +113 -0
  29. package/dist/paraglide/messages/_index.d.ts +36 -3
  30. package/dist/paraglide/messages/_index.js +71 -3
  31. package/dist/paraglide/messages/en.d.ts +5 -0
  32. package/dist/paraglide/messages/en.js +14 -0
  33. package/dist/paraglide/messages/pl.d.ts +5 -0
  34. package/dist/paraglide/messages/pl.js +14 -0
  35. package/dist/types/layout.d.ts +8 -0
  36. package/dist/updates/0.6.0/index.d.ts +2 -0
  37. package/dist/updates/0.6.0/index.js +20 -0
  38. package/dist/updates/0.6.1/index.d.ts +2 -0
  39. package/dist/updates/0.6.1/index.js +9 -0
  40. package/dist/updates/0.6.2/index.d.ts +2 -0
  41. package/dist/updates/0.6.2/index.js +8 -0
  42. package/dist/updates/index.js +4 -1
  43. package/package.json +20 -6
  44. package/dist/paraglide/messages/hello_world.d.ts +0 -5
  45. package/dist/paraglide/messages/hello_world.js +0 -33
  46. package/dist/paraglide/messages/login_hello.d.ts +0 -16
  47. package/dist/paraglide/messages/login_hello.js +0 -34
  48. package/dist/paraglide/messages/login_please_login.d.ts +0 -16
  49. package/dist/paraglide/messages/login_please_login.js +0 -34
@@ -0,0 +1,8 @@
1
+ export const update = {
2
+ version: '0.6.2',
3
+ date: '2026-03-11',
4
+ description: 'Admin hydration fix',
5
+ features: [],
6
+ fixes: ['Admin hydration — replace boundary pending with onMount preloader, type-only remotes import'],
7
+ breakingChanges: []
8
+ };
@@ -20,7 +20,10 @@ import { update as update055 } from './0.5.5/index.js';
20
20
  import { update as update056 } from './0.5.6/index.js';
21
21
  import { update as update057 } from './0.5.7/index.js';
22
22
  import { update as update058 } from './0.5.8/index.js';
23
- export const updates = [update0065, update0066, update0067, update0068, update0069, update010, update011, update012, update013, update014, update015, update020, update022, update050, update051, update052, update053, update054, update055, update056, update057, update058];
23
+ import { update as update060 } from './0.6.0/index.js';
24
+ import { update as update061 } from './0.6.1/index.js';
25
+ import { update as update062 } from './0.6.2/index.js';
26
+ export const updates = [update0065, update0066, update0067, update0068, update0069, update010, update011, update012, update013, update014, update015, update020, update022, update050, update051, update052, update053, update054, update055, update056, update057, update058, update060, update061, update062];
24
27
  export const getUpdatesFrom = (fromVersion) => {
25
28
  const fromParts = fromVersion.split('.').map(Number);
26
29
  return updates.filter((update) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "includio-cms",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",
@@ -49,6 +49,10 @@
49
49
  "types": "./dist/core/index.d.ts",
50
50
  "node": "./dist/core/index.js"
51
51
  },
52
+ "./entity": {
53
+ "types": "./dist/entity/index.d.ts",
54
+ "node": "./dist/entity/index.js"
55
+ },
52
56
  "./types": {
53
57
  "types": "./dist/types/index.d.ts",
54
58
  "svelte": "./dist/types/index.js",
@@ -145,11 +149,21 @@
145
149
  "zod": "^4.0.0"
146
150
  },
147
151
  "peerDependenciesMeta": {
148
- "runed": { "optional": true },
149
- "svelte-tiptap": { "optional": true },
150
- "paneforge": { "optional": true },
151
- "svelte-sonner": { "optional": true },
152
- "embla-carousel-svelte": { "optional": true }
152
+ "runed": {
153
+ "optional": true
154
+ },
155
+ "svelte-tiptap": {
156
+ "optional": true
157
+ },
158
+ "paneforge": {
159
+ "optional": true
160
+ },
161
+ "svelte-sonner": {
162
+ "optional": true
163
+ },
164
+ "embla-carousel-svelte": {
165
+ "optional": true
166
+ }
153
167
  },
154
168
  "devDependencies": {
155
169
  "@chromatic-com/storybook": "^5.0.1",
@@ -1,5 +0,0 @@
1
- export function hello_world(inputs: {
2
- name: NonNullable<unknown>;
3
- }, options?: {
4
- locale?: "en" | "pl";
5
- }): string;
@@ -1,33 +0,0 @@
1
- /* eslint-disable */
2
- import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
-
4
- const en_hello_world = /** @type {(inputs: { name: NonNullable<unknown> }) => string} */ (i) => {
5
- return `Hello, ${i.name} from en!`
6
- };
7
-
8
- const pl_hello_world = /** @type {(inputs: { name: NonNullable<unknown> }) => string} */ (i) => {
9
- return `Hello, ${i.name} from pl!`
10
- };
11
-
12
- /**
13
- * This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
14
- *
15
- * - Changing this function will be over-written by the next build.
16
- *
17
- * - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
18
- * use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
19
- *
20
- * @param {{ name: NonNullable<unknown> }} inputs
21
- * @param {{ locale?: "en" | "pl" }} options
22
- * @returns {string}
23
- */
24
- /* @__NO_SIDE_EFFECTS__ */
25
- export const hello_world = (inputs, options = {}) => {
26
- if (experimentalMiddlewareLocaleSplitting && isServer === false) {
27
- return /** @type {any} */ (globalThis).__paraglide_ssr.hello_world(inputs)
28
- }
29
- const locale = options.locale ?? getLocale()
30
- trackMessageCall("hello_world", locale)
31
- if (locale === "en") return en_hello_world(inputs)
32
- return pl_hello_world(inputs)
33
- };
@@ -1,16 +0,0 @@
1
- export { login_hello as login.hello };
2
- /**
3
- * This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
4
- *
5
- * - Changing this function will be over-written by the next build.
6
- *
7
- * - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
8
- * use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
9
- *
10
- * @param {{}} inputs
11
- * @param {{ locale?: "en" | "pl" }} options
12
- * @returns {string}
13
- */
14
- declare function login_hello(inputs?: {}, options?: {
15
- locale?: "en" | "pl";
16
- }): string;
@@ -1,34 +0,0 @@
1
- /* eslint-disable */
2
- import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
-
4
- const en_login_hello = /** @type {(inputs: {}) => string} */ () => {
5
- return `Welcome back`
6
- };
7
-
8
- const pl_login_hello = /** @type {(inputs: {}) => string} */ () => {
9
- return `Witaj ponownie`
10
- };
11
-
12
- /**
13
- * This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
14
- *
15
- * - Changing this function will be over-written by the next build.
16
- *
17
- * - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
18
- * use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
19
- *
20
- * @param {{}} inputs
21
- * @param {{ locale?: "en" | "pl" }} options
22
- * @returns {string}
23
- */
24
- /* @__NO_SIDE_EFFECTS__ */
25
- const login_hello = (inputs = {}, options = {}) => {
26
- if (experimentalMiddlewareLocaleSplitting && isServer === false) {
27
- return /** @type {any} */ (globalThis).__paraglide_ssr.login_hello(inputs)
28
- }
29
- const locale = options.locale ?? getLocale()
30
- trackMessageCall("login_hello", locale)
31
- if (locale === "en") return en_login_hello(inputs)
32
- return pl_login_hello(inputs)
33
- };
34
- export { login_hello as "login.hello" }
@@ -1,16 +0,0 @@
1
- export { login_please_login as login.please_login };
2
- /**
3
- * This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
4
- *
5
- * - Changing this function will be over-written by the next build.
6
- *
7
- * - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
8
- * use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
9
- *
10
- * @param {{}} inputs
11
- * @param {{ locale?: "en" | "pl" }} options
12
- * @returns {string}
13
- */
14
- declare function login_please_login(inputs?: {}, options?: {
15
- locale?: "en" | "pl";
16
- }): string;
@@ -1,34 +0,0 @@
1
- /* eslint-disable */
2
- import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
-
4
- const en_login_please_login = /** @type {(inputs: {}) => string} */ () => {
5
- return `Login to your account`
6
- };
7
-
8
- const pl_login_please_login = /** @type {(inputs: {}) => string} */ () => {
9
- return `Zaloguj się na swoje konto`
10
- };
11
-
12
- /**
13
- * This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
14
- *
15
- * - Changing this function will be over-written by the next build.
16
- *
17
- * - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
18
- * use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
19
- *
20
- * @param {{}} inputs
21
- * @param {{ locale?: "en" | "pl" }} options
22
- * @returns {string}
23
- */
24
- /* @__NO_SIDE_EFFECTS__ */
25
- const login_please_login = (inputs = {}, options = {}) => {
26
- if (experimentalMiddlewareLocaleSplitting && isServer === false) {
27
- return /** @type {any} */ (globalThis).__paraglide_ssr.login_please_login(inputs)
28
- }
29
- const locale = options.locale ?? getLocale()
30
- trackMessageCall("login_please_login", locale)
31
- if (locale === "en") return en_login_please_login(inputs)
32
- return pl_login_please_login(inputs)
33
- };
34
- export { login_please_login as "login.please_login" }