@uniformdev/canvas 20.72.2-alpha.3 → 20.72.3-alpha.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.
package/dist/index.d.mts CHANGED
@@ -6,7 +6,7 @@ import { EndpointOut, EndpointHeadersOut, EndpointTransformationOut } from 'svix
6
6
  import { Quirks, StorageCommands, PersonalizedVariant, VariationMatchMetadata, TestVariant } from '@uniformdev/context';
7
7
  import { Options as Options$1 } from 'p-retry';
8
8
  import { Options } from 'p-throttle';
9
- import { RichTextBuiltInElement as RichTextBuiltInElement$1, RichTextBuiltInFormat as RichTextBuiltInFormat$1, RichTextParamConfiguration as RichTextParamConfiguration$1, ParameterRichTextValue } from '@uniformdev/richtext';
9
+ import { LinkAttributesConfiguration, RichTextBuiltInElement as RichTextBuiltInElement$1, RichTextBuiltInFormat as RichTextBuiltInFormat$1, RichTextParamConfiguration as RichTextParamConfiguration$1, ParameterRichTextValue } from '@uniformdev/richtext';
10
10
 
11
11
  interface paths$n {
12
12
  "/api/v1/canvas-definitions": {
@@ -11210,17 +11210,24 @@ type LinkParameterType = 'projectMapNode' | 'url' | 'tel' | 'email';
11210
11210
  type LinkTypeConfiguration = Partial<Record<LinkParameterType, boolean>>;
11211
11211
  interface LinkParamConfiguration extends ParamTypeConfigConventions {
11212
11212
  linkTypes?: LinkTypeConfiguration;
11213
+ /** Optional anchor (fragment) toggle and custom attribute config for links. */
11214
+ linkAttributes?: LinkAttributesConfiguration;
11213
11215
  }
11214
11216
  type ProjectMapLinkParamValue = {
11215
11217
  type: 'projectMapNode';
11216
11218
  projectMapId: string;
11217
11219
  nodeId: string;
11220
+ /** Captured path + optional `#fragment`. After a node rename only the fragment survives; the path segment is replaced by the live node path. */
11218
11221
  path: string;
11219
11222
  dynamicInputValues?: Record<string, string>;
11223
+ /** Custom attributes for this link, governed by the field's linkAttributes.entries config. */
11224
+ attributes?: Record<string, string>;
11220
11225
  };
11221
11226
  type NonProjectMapLinkParamValue = {
11222
11227
  type: Exclude<LinkParameterType, 'projectMapNode'>;
11223
11228
  path: string;
11229
+ /** Custom attributes for this link, governed by the field's linkAttributes.entries config. */
11230
+ attributes?: Record<string, string>;
11224
11231
  };
11225
11232
  type LinkParamValue = ProjectMapLinkParamValue | NonProjectMapLinkParamValue | undefined;
11226
11233
 
@@ -14812,7 +14819,7 @@ declare function hasReferencedVariables(value: string | undefined): number;
14812
14819
  */
14813
14820
  declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable') => void | false): number;
14814
14821
 
14815
- declare const version = "20.72.1";
14822
+ declare const version = "20.72.2";
14816
14823
 
14817
14824
  /** API client to enable managing workflow definitions */
14818
14825
  declare class WorkflowClient extends ApiClient {
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@ import { EndpointOut, EndpointHeadersOut, EndpointTransformationOut } from 'svix
6
6
  import { Quirks, StorageCommands, PersonalizedVariant, VariationMatchMetadata, TestVariant } from '@uniformdev/context';
7
7
  import { Options as Options$1 } from 'p-retry';
8
8
  import { Options } from 'p-throttle';
9
- import { RichTextBuiltInElement as RichTextBuiltInElement$1, RichTextBuiltInFormat as RichTextBuiltInFormat$1, RichTextParamConfiguration as RichTextParamConfiguration$1, ParameterRichTextValue } from '@uniformdev/richtext';
9
+ import { LinkAttributesConfiguration, RichTextBuiltInElement as RichTextBuiltInElement$1, RichTextBuiltInFormat as RichTextBuiltInFormat$1, RichTextParamConfiguration as RichTextParamConfiguration$1, ParameterRichTextValue } from '@uniformdev/richtext';
10
10
 
11
11
  interface paths$n {
12
12
  "/api/v1/canvas-definitions": {
@@ -11210,17 +11210,24 @@ type LinkParameterType = 'projectMapNode' | 'url' | 'tel' | 'email';
11210
11210
  type LinkTypeConfiguration = Partial<Record<LinkParameterType, boolean>>;
11211
11211
  interface LinkParamConfiguration extends ParamTypeConfigConventions {
11212
11212
  linkTypes?: LinkTypeConfiguration;
11213
+ /** Optional anchor (fragment) toggle and custom attribute config for links. */
11214
+ linkAttributes?: LinkAttributesConfiguration;
11213
11215
  }
11214
11216
  type ProjectMapLinkParamValue = {
11215
11217
  type: 'projectMapNode';
11216
11218
  projectMapId: string;
11217
11219
  nodeId: string;
11220
+ /** Captured path + optional `#fragment`. After a node rename only the fragment survives; the path segment is replaced by the live node path. */
11218
11221
  path: string;
11219
11222
  dynamicInputValues?: Record<string, string>;
11223
+ /** Custom attributes for this link, governed by the field's linkAttributes.entries config. */
11224
+ attributes?: Record<string, string>;
11220
11225
  };
11221
11226
  type NonProjectMapLinkParamValue = {
11222
11227
  type: Exclude<LinkParameterType, 'projectMapNode'>;
11223
11228
  path: string;
11229
+ /** Custom attributes for this link, governed by the field's linkAttributes.entries config. */
11230
+ attributes?: Record<string, string>;
11224
11231
  };
11225
11232
  type LinkParamValue = ProjectMapLinkParamValue | NonProjectMapLinkParamValue | undefined;
11226
11233
 
@@ -14812,7 +14819,7 @@ declare function hasReferencedVariables(value: string | undefined): number;
14812
14819
  */
14813
14820
  declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable') => void | false): number;
14814
14821
 
14815
- declare const version = "20.72.1";
14822
+ declare const version = "20.72.2";
14816
14823
 
14817
14824
  /** API client to enable managing workflow definitions */
14818
14825
  declare class WorkflowClient extends ApiClient {
package/dist/index.esm.js CHANGED
@@ -3373,7 +3373,7 @@ function handleRichTextNodeBinding(object, options) {
3373
3373
  import { ApiClientError as ApiClientError2 } from "@uniformdev/context/api";
3374
3374
 
3375
3375
  // src/.version.ts
3376
- var version = "20.72.1";
3376
+ var version = "20.72.2";
3377
3377
 
3378
3378
  // src/WorkflowClient.ts
3379
3379
  import { ApiClient as ApiClient17 } from "@uniformdev/context/api";
package/dist/index.js CHANGED
@@ -3582,7 +3582,7 @@ function handleRichTextNodeBinding(object, options) {
3582
3582
  var import_api19 = require("@uniformdev/context/api");
3583
3583
 
3584
3584
  // src/.version.ts
3585
- var version = "20.72.1";
3585
+ var version = "20.72.2";
3586
3586
 
3587
3587
  // src/WorkflowClient.ts
3588
3588
  var import_api18 = require("@uniformdev/context/api");
package/dist/index.mjs CHANGED
@@ -3373,7 +3373,7 @@ function handleRichTextNodeBinding(object, options) {
3373
3373
  import { ApiClientError as ApiClientError2 } from "@uniformdev/context/api";
3374
3374
 
3375
3375
  // src/.version.ts
3376
- var version = "20.72.1";
3376
+ var version = "20.72.2";
3377
3377
 
3378
3378
  // src/WorkflowClient.ts
3379
3379
  import { ApiClient as ApiClient17 } from "@uniformdev/context/api";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas",
3
- "version": "20.72.2-alpha.3+a1f072e7b4",
3
+ "version": "20.72.3-alpha.2+36e92d30ab",
4
4
  "description": "Common functionality and types for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -36,9 +36,9 @@
36
36
  "svix": "1.96.0"
37
37
  },
38
38
  "dependencies": {
39
- "@uniformdev/assets": "20.72.2-alpha.3+a1f072e7b4",
40
- "@uniformdev/context": "20.72.2-alpha.3+a1f072e7b4",
41
- "@uniformdev/richtext": "20.72.2-alpha.3+a1f072e7b4",
39
+ "@uniformdev/assets": "20.72.3-alpha.2+36e92d30ab",
40
+ "@uniformdev/context": "20.72.3-alpha.2+36e92d30ab",
41
+ "@uniformdev/richtext": "20.72.3-alpha.2+36e92d30ab",
42
42
  "immer": "11.1.8",
43
43
  "p-limit": "6.2.0",
44
44
  "p-retry": "6.2.1",
@@ -50,5 +50,5 @@
50
50
  "publishConfig": {
51
51
  "access": "public"
52
52
  },
53
- "gitHead": "a1f072e7b42ac4b3c694ebdd2e75216efd74a9c2"
53
+ "gitHead": "36e92d30ab1b97fc68cf16fc22c6f7865ac8ba97"
54
54
  }