@uniformdev/canvas 19.142.0 → 19.142.1

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
@@ -1046,7 +1046,7 @@ interface external$i {
1046
1046
  /** @description The name of the query string parameter */
1047
1047
  name: string;
1048
1048
  /** @description The default value of the query string if it is not provided by an incoming route path */
1049
- value: string;
1049
+ value?: string;
1050
1050
  /** @description Help text for authors who might be setting up a preview value for this query string */
1051
1051
  helpText?: string;
1052
1052
  };
@@ -2211,7 +2211,7 @@ interface external$h {
2211
2211
  /** @description The name of the query string parameter */
2212
2212
  name: string;
2213
2213
  /** @description The default value of the query string if it is not provided by an incoming route path */
2214
- value: string;
2214
+ value?: string;
2215
2215
  /** @description Help text for authors who might be setting up a preview value for this query string */
2216
2216
  helpText?: string;
2217
2217
  };
@@ -3455,7 +3455,7 @@ interface external$g {
3455
3455
  /** @description The name of the query string parameter */
3456
3456
  name: string;
3457
3457
  /** @description The default value of the query string if it is not provided by an incoming route path */
3458
- value: string;
3458
+ value?: string;
3459
3459
  /** @description Help text for authors who might be setting up a preview value for this query string */
3460
3460
  helpText?: string;
3461
3461
  };
@@ -4629,7 +4629,7 @@ interface external$f {
4629
4629
  /** @description The name of the query string parameter */
4630
4630
  name: string;
4631
4631
  /** @description The default value of the query string if it is not provided by an incoming route path */
4632
- value: string;
4632
+ value?: string;
4633
4633
  /** @description Help text for authors who might be setting up a preview value for this query string */
4634
4634
  helpText?: string;
4635
4635
  };
@@ -6192,7 +6192,7 @@ interface external$e {
6192
6192
  /** @description The name of the query string parameter */
6193
6193
  name: string;
6194
6194
  /** @description The default value of the query string if it is not provided by an incoming route path */
6195
- value: string;
6195
+ value?: string;
6196
6196
  /** @description Help text for authors who might be setting up a preview value for this query string */
6197
6197
  helpText?: string;
6198
6198
  };
@@ -7300,7 +7300,7 @@ interface external$d {
7300
7300
  /** @description The name of the query string parameter */
7301
7301
  name: string;
7302
7302
  /** @description The default value of the query string if it is not provided by an incoming route path */
7303
- value: string;
7303
+ value?: string;
7304
7304
  /** @description Help text for authors who might be setting up a preview value for this query string */
7305
7305
  helpText?: string;
7306
7306
  };
@@ -8465,7 +8465,7 @@ interface external$c {
8465
8465
  /** @description The name of the query string parameter */
8466
8466
  name: string;
8467
8467
  /** @description The default value of the query string if it is not provided by an incoming route path */
8468
- value: string;
8468
+ value?: string;
8469
8469
  /** @description Help text for authors who might be setting up a preview value for this query string */
8470
8470
  helpText?: string;
8471
8471
  };
@@ -9567,7 +9567,7 @@ interface external$b {
9567
9567
  /** @description The name of the query string parameter */
9568
9568
  name: string;
9569
9569
  /** @description The default value of the query string if it is not provided by an incoming route path */
9570
- value: string;
9570
+ value?: string;
9571
9571
  /** @description Help text for authors who might be setting up a preview value for this query string */
9572
9572
  helpText?: string;
9573
9573
  };
@@ -10704,7 +10704,7 @@ interface external$a {
10704
10704
  /** @description The name of the query string parameter */
10705
10705
  name: string;
10706
10706
  /** @description The default value of the query string if it is not provided by an incoming route path */
10707
- value: string;
10707
+ value?: string;
10708
10708
  /** @description Help text for authors who might be setting up a preview value for this query string */
10709
10709
  helpText?: string;
10710
10710
  };
@@ -11841,7 +11841,7 @@ interface external$9 {
11841
11841
  /** @description The name of the query string parameter */
11842
11842
  name: string;
11843
11843
  /** @description The default value of the query string if it is not provided by an incoming route path */
11844
- value: string;
11844
+ value?: string;
11845
11845
  /** @description Help text for authors who might be setting up a preview value for this query string */
11846
11846
  helpText?: string;
11847
11847
  };
@@ -13653,7 +13653,7 @@ interface external$7 {
13653
13653
  /** @description The name of the query string parameter */
13654
13654
  name: string;
13655
13655
  /** @description The default value of the query string if it is not provided by an incoming route path */
13656
- value: string;
13656
+ value?: string;
13657
13657
  /** @description Help text for authors who might be setting up a preview value for this query string */
13658
13658
  helpText?: string;
13659
13659
  };
@@ -14761,7 +14761,7 @@ interface external$6 {
14761
14761
  /** @description The name of the query string parameter */
14762
14762
  name: string;
14763
14763
  /** @description The default value of the query string if it is not provided by an incoming route path */
14764
- value: string;
14764
+ value?: string;
14765
14765
  /** @description Help text for authors who might be setting up a preview value for this query string */
14766
14766
  helpText?: string;
14767
14767
  };
@@ -17054,7 +17054,7 @@ interface external$5 {
17054
17054
  /** @description The name of the query string parameter */
17055
17055
  name: string;
17056
17056
  /** @description The default value of the query string if it is not provided by an incoming route path */
17057
- value: string;
17057
+ value?: string;
17058
17058
  /** @description Help text for authors who might be setting up a preview value for this query string */
17059
17059
  helpText?: string;
17060
17060
  };
@@ -19259,7 +19259,7 @@ interface external$4 {
19259
19259
  /** @description The name of the query string parameter */
19260
19260
  name: string;
19261
19261
  /** @description The default value of the query string if it is not provided by an incoming route path */
19262
- value: string;
19262
+ value?: string;
19263
19263
  /** @description Help text for authors who might be setting up a preview value for this query string */
19264
19264
  helpText?: string;
19265
19265
  };
@@ -21407,7 +21407,7 @@ interface external$3 {
21407
21407
  /** @description The name of the query string parameter */
21408
21408
  name: string;
21409
21409
  /** @description The default value of the query string if it is not provided by an incoming route path */
21410
- value: string;
21410
+ value?: string;
21411
21411
  /** @description Help text for authors who might be setting up a preview value for this query string */
21412
21412
  helpText?: string;
21413
21413
  };
@@ -22299,6 +22299,7 @@ type UpdateFeatureFlagsMessage = {
22299
22299
  type UpdateContextualEditingStateInternalMessage = {
22300
22300
  type: 'update-contextual-editing-state-internal';
22301
22301
  state: {
22302
+ previewMode: 'editor' | 'preview';
22302
22303
  selectedComponentReference?: {
22303
22304
  id: string;
22304
22305
  slotName?: string;
@@ -22831,7 +22832,7 @@ declare const createUniformApiEnhancer: ({ apiUrl }: {
22831
22832
  isSearchHit?: boolean | undefined;
22832
22833
  queryStrings?: {
22833
22834
  name: string;
22834
- value: string;
22835
+ value?: string | undefined;
22835
22836
  helpText?: string | undefined;
22836
22837
  }[] | undefined;
22837
22838
  previewValue?: string | undefined;
package/dist/index.d.ts CHANGED
@@ -1046,7 +1046,7 @@ interface external$i {
1046
1046
  /** @description The name of the query string parameter */
1047
1047
  name: string;
1048
1048
  /** @description The default value of the query string if it is not provided by an incoming route path */
1049
- value: string;
1049
+ value?: string;
1050
1050
  /** @description Help text for authors who might be setting up a preview value for this query string */
1051
1051
  helpText?: string;
1052
1052
  };
@@ -2211,7 +2211,7 @@ interface external$h {
2211
2211
  /** @description The name of the query string parameter */
2212
2212
  name: string;
2213
2213
  /** @description The default value of the query string if it is not provided by an incoming route path */
2214
- value: string;
2214
+ value?: string;
2215
2215
  /** @description Help text for authors who might be setting up a preview value for this query string */
2216
2216
  helpText?: string;
2217
2217
  };
@@ -3455,7 +3455,7 @@ interface external$g {
3455
3455
  /** @description The name of the query string parameter */
3456
3456
  name: string;
3457
3457
  /** @description The default value of the query string if it is not provided by an incoming route path */
3458
- value: string;
3458
+ value?: string;
3459
3459
  /** @description Help text for authors who might be setting up a preview value for this query string */
3460
3460
  helpText?: string;
3461
3461
  };
@@ -4629,7 +4629,7 @@ interface external$f {
4629
4629
  /** @description The name of the query string parameter */
4630
4630
  name: string;
4631
4631
  /** @description The default value of the query string if it is not provided by an incoming route path */
4632
- value: string;
4632
+ value?: string;
4633
4633
  /** @description Help text for authors who might be setting up a preview value for this query string */
4634
4634
  helpText?: string;
4635
4635
  };
@@ -6192,7 +6192,7 @@ interface external$e {
6192
6192
  /** @description The name of the query string parameter */
6193
6193
  name: string;
6194
6194
  /** @description The default value of the query string if it is not provided by an incoming route path */
6195
- value: string;
6195
+ value?: string;
6196
6196
  /** @description Help text for authors who might be setting up a preview value for this query string */
6197
6197
  helpText?: string;
6198
6198
  };
@@ -7300,7 +7300,7 @@ interface external$d {
7300
7300
  /** @description The name of the query string parameter */
7301
7301
  name: string;
7302
7302
  /** @description The default value of the query string if it is not provided by an incoming route path */
7303
- value: string;
7303
+ value?: string;
7304
7304
  /** @description Help text for authors who might be setting up a preview value for this query string */
7305
7305
  helpText?: string;
7306
7306
  };
@@ -8465,7 +8465,7 @@ interface external$c {
8465
8465
  /** @description The name of the query string parameter */
8466
8466
  name: string;
8467
8467
  /** @description The default value of the query string if it is not provided by an incoming route path */
8468
- value: string;
8468
+ value?: string;
8469
8469
  /** @description Help text for authors who might be setting up a preview value for this query string */
8470
8470
  helpText?: string;
8471
8471
  };
@@ -9567,7 +9567,7 @@ interface external$b {
9567
9567
  /** @description The name of the query string parameter */
9568
9568
  name: string;
9569
9569
  /** @description The default value of the query string if it is not provided by an incoming route path */
9570
- value: string;
9570
+ value?: string;
9571
9571
  /** @description Help text for authors who might be setting up a preview value for this query string */
9572
9572
  helpText?: string;
9573
9573
  };
@@ -10704,7 +10704,7 @@ interface external$a {
10704
10704
  /** @description The name of the query string parameter */
10705
10705
  name: string;
10706
10706
  /** @description The default value of the query string if it is not provided by an incoming route path */
10707
- value: string;
10707
+ value?: string;
10708
10708
  /** @description Help text for authors who might be setting up a preview value for this query string */
10709
10709
  helpText?: string;
10710
10710
  };
@@ -11841,7 +11841,7 @@ interface external$9 {
11841
11841
  /** @description The name of the query string parameter */
11842
11842
  name: string;
11843
11843
  /** @description The default value of the query string if it is not provided by an incoming route path */
11844
- value: string;
11844
+ value?: string;
11845
11845
  /** @description Help text for authors who might be setting up a preview value for this query string */
11846
11846
  helpText?: string;
11847
11847
  };
@@ -13653,7 +13653,7 @@ interface external$7 {
13653
13653
  /** @description The name of the query string parameter */
13654
13654
  name: string;
13655
13655
  /** @description The default value of the query string if it is not provided by an incoming route path */
13656
- value: string;
13656
+ value?: string;
13657
13657
  /** @description Help text for authors who might be setting up a preview value for this query string */
13658
13658
  helpText?: string;
13659
13659
  };
@@ -14761,7 +14761,7 @@ interface external$6 {
14761
14761
  /** @description The name of the query string parameter */
14762
14762
  name: string;
14763
14763
  /** @description The default value of the query string if it is not provided by an incoming route path */
14764
- value: string;
14764
+ value?: string;
14765
14765
  /** @description Help text for authors who might be setting up a preview value for this query string */
14766
14766
  helpText?: string;
14767
14767
  };
@@ -17054,7 +17054,7 @@ interface external$5 {
17054
17054
  /** @description The name of the query string parameter */
17055
17055
  name: string;
17056
17056
  /** @description The default value of the query string if it is not provided by an incoming route path */
17057
- value: string;
17057
+ value?: string;
17058
17058
  /** @description Help text for authors who might be setting up a preview value for this query string */
17059
17059
  helpText?: string;
17060
17060
  };
@@ -19259,7 +19259,7 @@ interface external$4 {
19259
19259
  /** @description The name of the query string parameter */
19260
19260
  name: string;
19261
19261
  /** @description The default value of the query string if it is not provided by an incoming route path */
19262
- value: string;
19262
+ value?: string;
19263
19263
  /** @description Help text for authors who might be setting up a preview value for this query string */
19264
19264
  helpText?: string;
19265
19265
  };
@@ -21407,7 +21407,7 @@ interface external$3 {
21407
21407
  /** @description The name of the query string parameter */
21408
21408
  name: string;
21409
21409
  /** @description The default value of the query string if it is not provided by an incoming route path */
21410
- value: string;
21410
+ value?: string;
21411
21411
  /** @description Help text for authors who might be setting up a preview value for this query string */
21412
21412
  helpText?: string;
21413
21413
  };
@@ -22299,6 +22299,7 @@ type UpdateFeatureFlagsMessage = {
22299
22299
  type UpdateContextualEditingStateInternalMessage = {
22300
22300
  type: 'update-contextual-editing-state-internal';
22301
22301
  state: {
22302
+ previewMode: 'editor' | 'preview';
22302
22303
  selectedComponentReference?: {
22303
22304
  id: string;
22304
22305
  slotName?: string;
@@ -22831,7 +22832,7 @@ declare const createUniformApiEnhancer: ({ apiUrl }: {
22831
22832
  isSearchHit?: boolean | undefined;
22832
22833
  queryStrings?: {
22833
22834
  name: string;
22834
- value: string;
22835
+ value?: string | undefined;
22835
22836
  helpText?: string | undefined;
22836
22837
  }[] | undefined;
22837
22838
  previewValue?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas",
3
- "version": "19.142.0",
3
+ "version": "19.142.1",
4
4
  "description": "Common functionality and types for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -38,8 +38,8 @@
38
38
  "pusher-js": "8.2.0"
39
39
  },
40
40
  "dependencies": {
41
- "@uniformdev/assets": "19.142.0",
42
- "@uniformdev/context": "19.142.0",
41
+ "@uniformdev/assets": "19.142.1",
42
+ "@uniformdev/context": "19.142.1",
43
43
  "immer": "10.0.4"
44
44
  },
45
45
  "files": [
@@ -48,5 +48,5 @@
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
- "gitHead": "468077a132e42dbe08f94ab1784c787000d29458"
51
+ "gitHead": "e158ea370c3f68625a3ea743298ec9ae4d2fc391"
52
52
  }