@supernova-studio/client 0.55.3 → 0.55.5

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.mjs CHANGED
@@ -6447,6 +6447,7 @@ var DTOUser = z230.object({
6447
6447
  var DTOUserGetResponse = z230.object({
6448
6448
  user: DTOUser
6449
6449
  });
6450
+ var DTOUserProfileUpdate = UserProfileUpdate;
6450
6451
 
6451
6452
  // src/api/dto/users/authenticated-user.ts
6452
6453
  var DTOUserOnboardingDepartment = UserOnboardingDepartment;
@@ -6549,6 +6550,12 @@ var UsersEndpoint = class {
6549
6550
  delete(uid) {
6550
6551
  return this.requestExecutor.json(`/users/${uid}`, DTOAuthenticatedUserResponse, { method: "DELETE" });
6551
6552
  }
6553
+ updateProfile(uid, body) {
6554
+ return this.requestExecutor.json(`/users/${uid}/profile`, DTOAuthenticatedUserResponse, {
6555
+ method: "PUT",
6556
+ body
6557
+ });
6558
+ }
6552
6559
  };
6553
6560
 
6554
6561
  // src/api/endpoints/workspace-invites.ts
@@ -10753,6 +10760,149 @@ var blocks = [
10753
10760
  isEditorPresentationDifferent: false,
10754
10761
  showBlockHeaderInEditor: false
10755
10762
  }
10763
+ },
10764
+ {
10765
+ id: "io.supernova.block.figma-components",
10766
+ name: "Figma component",
10767
+ description: "Display Figma component variants or group of components.",
10768
+ category: "Components",
10769
+ icon: "https://cdn-assets.supernova.io/blocks/icons/component-checklist.svg",
10770
+ searchKeywords: ["variants", "properties"],
10771
+ item: {
10772
+ properties: [
10773
+ {
10774
+ id: "figmaComponent",
10775
+ name: "Figma component",
10776
+ type: "FigmaComponent",
10777
+ options: {
10778
+ renderLayoutAs: "Grid"
10779
+ },
10780
+ variantOptions: {
10781
+ canvas: {
10782
+ renderLayoutAs: "Canvas"
10783
+ }
10784
+ }
10785
+ }
10786
+ ],
10787
+ appearance: {
10788
+ isBordered: true,
10789
+ hasBackground: false
10790
+ },
10791
+ variants: [
10792
+ {
10793
+ id: "grid",
10794
+ name: "Grid",
10795
+ image: "tbd",
10796
+ description: "Components or variants will be rendered individually in a grid layout",
10797
+ layout: {
10798
+ type: "Column",
10799
+ children: ["figmaComponent"],
10800
+ columnAlign: "Start",
10801
+ columnResizing: "Fill",
10802
+ gap: "Medium"
10803
+ },
10804
+ maxColumns: 4,
10805
+ defaultColumns: 1,
10806
+ appearance: {}
10807
+ },
10808
+ {
10809
+ id: "canvas",
10810
+ name: "Canvas",
10811
+ image: "tbd",
10812
+ description: "Components or variants will be rendered on a single canvas",
10813
+ layout: {
10814
+ type: "Column",
10815
+ children: ["figmaComponent"],
10816
+ columnAlign: "Start",
10817
+ columnResizing: "Fill",
10818
+ gap: "Medium"
10819
+ },
10820
+ maxColumns: 4,
10821
+ defaultColumns: 1,
10822
+ appearance: {}
10823
+ }
10824
+ ],
10825
+ defaultVariantKey: "grid"
10826
+ },
10827
+ behavior: {
10828
+ dataType: "FigmaComponent",
10829
+ entities: {
10830
+ selectionType: "Entity",
10831
+ maxSelected: 0
10832
+ }
10833
+ },
10834
+ editorOptions: {
10835
+ onboarding: {
10836
+ helpText: "Display Figma component variants or group of components.",
10837
+ documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/token/tokens/general-84NRgxGl#section-token-group-09"
10838
+ }
10839
+ },
10840
+ appearance: {
10841
+ isBordered: true,
10842
+ hasBackground: false,
10843
+ isEditorPresentationDifferent: false,
10844
+ showBlockHeaderInEditor: false
10845
+ }
10846
+ },
10847
+ {
10848
+ id: "io.supernova.block.figma-components-propstable",
10849
+ name: "Figma component properties",
10850
+ description: "Display properties based on Figma component data.",
10851
+ category: "Components",
10852
+ icon: "https://cdn-assets.supernova.io/blocks/icons/component-checklist.svg",
10853
+ searchKeywords: ["variants", "properties", "props", "table"],
10854
+ item: {
10855
+ properties: [
10856
+ {
10857
+ id: "figmaComponent",
10858
+ name: "Figma component",
10859
+ type: "FigmaComponent",
10860
+ options: {
10861
+ renderLayoutAs: "PropsTable"
10862
+ }
10863
+ }
10864
+ ],
10865
+ appearance: {
10866
+ isBordered: true,
10867
+ hasBackground: false
10868
+ },
10869
+ variants: [
10870
+ {
10871
+ id: "default",
10872
+ name: "Default",
10873
+ layout: {
10874
+ type: "Column",
10875
+ children: ["figmaComponent"],
10876
+ columnAlign: "Start",
10877
+ columnResizing: "Fill",
10878
+ gap: "Medium"
10879
+ },
10880
+ maxColumns: 1,
10881
+ defaultColumns: 1,
10882
+ appearance: {}
10883
+ }
10884
+ ],
10885
+ defaultVariantKey: "default"
10886
+ },
10887
+ behavior: {
10888
+ dataType: "FigmaComponent",
10889
+ entities: {
10890
+ selectionType: "Entity",
10891
+ maxSelected: 1
10892
+ }
10893
+ },
10894
+ editorOptions: {
10895
+ onboarding: {
10896
+ helpText: "Display properties based on Figma component data.",
10897
+ documentationLink: ""
10898
+ }
10899
+ },
10900
+ appearance: {
10901
+ isBordered: true,
10902
+ hasBackground: false,
10903
+ isEditorPresentationDifferent: false,
10904
+ showBlockHeaderInEditor: false
10905
+ }
10756
10906
  }
10757
10907
  ];
10758
10908
 
@@ -11676,6 +11826,7 @@ export {
11676
11826
  DTOUserOnboardingDepartment,
11677
11827
  DTOUserOnboardingJobLevel,
11678
11828
  DTOUserProfile,
11829
+ DTOUserProfileUpdate,
11679
11830
  DTOUserProfileUpdatePayload,
11680
11831
  DTOUserProfileUpdateResponse,
11681
11832
  DTOUserSource,