@nurix/ui-component-library 1.1.4-stage.121 → 1.1.4-stage.122

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
@@ -1110,11 +1110,12 @@ declare const SurfaceFooter: React$1.ForwardRefExoticComponent<SurfaceFooterProp
1110
1110
  * Figma 6249:35100 — Side Panel.
1111
1111
  * - sm: 420px wide
1112
1112
  * - md: 620px wide
1113
+ * - lg: 900px wide (Figma 6553:165)
1113
1114
  */
1114
- type SidePanelSize = "sm" | "md";
1115
+ type SidePanelSize = "sm" | "md" | "lg";
1115
1116
  interface SidePanelProps extends React$1.HTMLAttributes<HTMLDivElement> {
1116
1117
  /**
1117
- * Width preset. `sm` = 420px, `md` = 620px.
1118
+ * Width preset. `sm` = 420px, `md` = 620px, `lg` = 900px.
1118
1119
  * @default "sm"
1119
1120
  */
1120
1121
  size?: SidePanelSize;
@@ -1139,8 +1140,9 @@ interface SidePanelProps extends React$1.HTMLAttributes<HTMLDivElement> {
1139
1140
  *
1140
1141
  * The panel is a plain shell — the consumer is responsible for positioning
1141
1142
  * (e.g., `fixed right-0 top-0`), slide-in animation, and the overlay. This
1142
- * matches the Figma spec at 6249:35100, which shows just the geometry: a
1143
- * 420px / 620px wide white surface with 16px radius on its inner edge.
1143
+ * matches the Figma spec at 6249:35100 / 6553:165, which shows just the
1144
+ * geometry: a 420px / 620px / 900px wide white surface with 16px radius on
1145
+ * its inner edge.
1144
1146
  */
1145
1147
  declare const SidePanel: React$1.ForwardRefExoticComponent<SidePanelProps & React$1.RefAttributes<HTMLDivElement>>;
1146
1148
 
package/dist/index.d.ts CHANGED
@@ -1110,11 +1110,12 @@ declare const SurfaceFooter: React$1.ForwardRefExoticComponent<SurfaceFooterProp
1110
1110
  * Figma 6249:35100 — Side Panel.
1111
1111
  * - sm: 420px wide
1112
1112
  * - md: 620px wide
1113
+ * - lg: 900px wide (Figma 6553:165)
1113
1114
  */
1114
- type SidePanelSize = "sm" | "md";
1115
+ type SidePanelSize = "sm" | "md" | "lg";
1115
1116
  interface SidePanelProps extends React$1.HTMLAttributes<HTMLDivElement> {
1116
1117
  /**
1117
- * Width preset. `sm` = 420px, `md` = 620px.
1118
+ * Width preset. `sm` = 420px, `md` = 620px, `lg` = 900px.
1118
1119
  * @default "sm"
1119
1120
  */
1120
1121
  size?: SidePanelSize;
@@ -1139,8 +1140,9 @@ interface SidePanelProps extends React$1.HTMLAttributes<HTMLDivElement> {
1139
1140
  *
1140
1141
  * The panel is a plain shell — the consumer is responsible for positioning
1141
1142
  * (e.g., `fixed right-0 top-0`), slide-in animation, and the overlay. This
1142
- * matches the Figma spec at 6249:35100, which shows just the geometry: a
1143
- * 420px / 620px wide white surface with 16px radius on its inner edge.
1143
+ * matches the Figma spec at 6249:35100 / 6553:165, which shows just the
1144
+ * geometry: a 420px / 620px / 900px wide white surface with 16px radius on
1145
+ * its inner edge.
1144
1146
  */
1145
1147
  declare const SidePanel: React$1.ForwardRefExoticComponent<SidePanelProps & React$1.RefAttributes<HTMLDivElement>>;
1146
1148
 
package/dist/index.js CHANGED
@@ -10701,7 +10701,8 @@ var SIDE_PANEL_TOKENS = {
10701
10701
  base: "bg-token-white h-full overflow-hidden flex flex-col",
10702
10702
  size: {
10703
10703
  sm: "w-[420px]",
10704
- md: "w-[620px]"
10704
+ md: "w-[620px]",
10705
+ lg: "w-[900px]"
10705
10706
  },
10706
10707
  side: {
10707
10708
  // Panel anchored to the RIGHT edge of the viewport — its LEFT edge is
@@ -16052,50 +16053,34 @@ function JsonEditor({
16052
16053
  {
16053
16054
  open: isOpen,
16054
16055
  onOpenChange: setIsOpen,
16056
+ size: "wide",
16055
16057
  title: label,
16056
16058
  showCancel: false,
16057
16059
  confirmLabel: "Close",
16058
16060
  onConfirm: () => setIsOpen(false),
16059
- className: "w-[85vw] max-w-[85vw] h-[85vh]",
16060
- children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flex flex-col overflow-hidden h-full", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex-1 min-h-0 flex flex-col rounded-[16px] border border-token-xlight overflow-hidden bg-token-white", children: [
16061
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex-none flex items-center justify-between px-3 py-1.5 bg-token-light-grey rounded-t-xl", children: [
16062
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "text-xs font-semibold leading-4 text-fg-grey-secondary uppercase select-none" }),
16061
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "rounded-[16px] border border-token-xlight overflow-hidden bg-token-white", children: [
16062
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex items-center justify-between px-3 py-1.5 bg-token-light-grey rounded-t-xl", children: [
16063
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "text-xs font-semibold leading-4 text-fg-grey-secondary uppercase select-none", children: label }),
16063
16064
  /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex items-center gap-0.5", children: [
16064
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
16065
- ToolbarButton,
16066
- {
16067
- onClick: formatExpandedJson,
16068
- title: "Format JSON",
16069
- children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react19.WandSparkles, { className: "size-3" })
16070
- }
16071
- ),
16065
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ToolbarButton, { onClick: formatExpandedJson, title: "Format JSON", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react19.WandSparkles, { className: "size-3" }) }),
16072
16066
  /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Divider, {}),
16073
16067
  /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ToolbarButton, { onClick: copyToClipboard, title: "Copy JSON", children: copied ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react19.Check, { className: "size-3 text-fg-success" }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react19.Copy, { className: "size-3" }) })
16074
16068
  ] })
16075
16069
  ] }),
16076
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
16077
- DialogBody,
16070
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
16071
+ Ft,
16078
16072
  {
16079
- scrollable: true,
16080
- className: "flex-1 min-h-0 p-0 overflow-hidden",
16081
- children: [
16082
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "h-full min-h-[50vh] overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
16083
- Ft,
16084
- {
16085
- height: "100%",
16086
- language,
16087
- value,
16088
- onChange: handleChange,
16089
- onMount: handleExpandedMount,
16090
- options: MONACO_OPTIONS_DIALOG,
16091
- theme: "vs"
16092
- }
16093
- ) }),
16094
- hasErrors && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ErrorBar, { errors })
16095
- ]
16073
+ height: "500px",
16074
+ language,
16075
+ value,
16076
+ onChange: handleChange,
16077
+ onMount: handleExpandedMount,
16078
+ options: MONACO_OPTIONS_DIALOG,
16079
+ theme: "vs"
16096
16080
  }
16097
- )
16098
- ] }) })
16081
+ ),
16082
+ hasErrors && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ErrorBar, { errors })
16083
+ ] })
16099
16084
  }
16100
16085
  )
16101
16086
  ] });
package/dist/index.mjs CHANGED
@@ -10595,7 +10595,8 @@ var SIDE_PANEL_TOKENS = {
10595
10595
  base: "bg-token-white h-full overflow-hidden flex flex-col",
10596
10596
  size: {
10597
10597
  sm: "w-[420px]",
10598
- md: "w-[620px]"
10598
+ md: "w-[620px]",
10599
+ lg: "w-[900px]"
10599
10600
  },
10600
10601
  side: {
10601
10602
  // Panel anchored to the RIGHT edge of the viewport — its LEFT edge is
@@ -15962,50 +15963,34 @@ function JsonEditor({
15962
15963
  {
15963
15964
  open: isOpen,
15964
15965
  onOpenChange: setIsOpen,
15966
+ size: "wide",
15965
15967
  title: label,
15966
15968
  showCancel: false,
15967
15969
  confirmLabel: "Close",
15968
15970
  onConfirm: () => setIsOpen(false),
15969
- className: "w-[85vw] max-w-[85vw] h-[85vh]",
15970
- children: /* @__PURE__ */ jsx37("div", { className: "flex flex-col overflow-hidden h-full", children: /* @__PURE__ */ jsxs27("div", { className: "flex-1 min-h-0 flex flex-col rounded-[16px] border border-token-xlight overflow-hidden bg-token-white", children: [
15971
- /* @__PURE__ */ jsxs27("div", { className: "flex-none flex items-center justify-between px-3 py-1.5 bg-token-light-grey rounded-t-xl", children: [
15972
- /* @__PURE__ */ jsx37("span", { className: "text-xs font-semibold leading-4 text-fg-grey-secondary uppercase select-none" }),
15971
+ children: /* @__PURE__ */ jsxs27("div", { className: "rounded-[16px] border border-token-xlight overflow-hidden bg-token-white", children: [
15972
+ /* @__PURE__ */ jsxs27("div", { className: "flex items-center justify-between px-3 py-1.5 bg-token-light-grey rounded-t-xl", children: [
15973
+ /* @__PURE__ */ jsx37("span", { className: "text-xs font-semibold leading-4 text-fg-grey-secondary uppercase select-none", children: label }),
15973
15974
  /* @__PURE__ */ jsxs27("div", { className: "flex items-center gap-0.5", children: [
15974
- /* @__PURE__ */ jsx37(
15975
- ToolbarButton,
15976
- {
15977
- onClick: formatExpandedJson,
15978
- title: "Format JSON",
15979
- children: /* @__PURE__ */ jsx37(WandSparkles, { className: "size-3" })
15980
- }
15981
- ),
15975
+ /* @__PURE__ */ jsx37(ToolbarButton, { onClick: formatExpandedJson, title: "Format JSON", children: /* @__PURE__ */ jsx37(WandSparkles, { className: "size-3" }) }),
15982
15976
  /* @__PURE__ */ jsx37(Divider, {}),
15983
15977
  /* @__PURE__ */ jsx37(ToolbarButton, { onClick: copyToClipboard, title: "Copy JSON", children: copied ? /* @__PURE__ */ jsx37(Check8, { className: "size-3 text-fg-success" }) : /* @__PURE__ */ jsx37(Copy, { className: "size-3" }) })
15984
15978
  ] })
15985
15979
  ] }),
15986
- /* @__PURE__ */ jsxs27(
15987
- DialogBody,
15980
+ /* @__PURE__ */ jsx37(
15981
+ Ft,
15988
15982
  {
15989
- scrollable: true,
15990
- className: "flex-1 min-h-0 p-0 overflow-hidden",
15991
- children: [
15992
- /* @__PURE__ */ jsx37("div", { className: "h-full min-h-[50vh] overflow-hidden", children: /* @__PURE__ */ jsx37(
15993
- Ft,
15994
- {
15995
- height: "100%",
15996
- language,
15997
- value,
15998
- onChange: handleChange,
15999
- onMount: handleExpandedMount,
16000
- options: MONACO_OPTIONS_DIALOG,
16001
- theme: "vs"
16002
- }
16003
- ) }),
16004
- hasErrors && /* @__PURE__ */ jsx37(ErrorBar, { errors })
16005
- ]
15983
+ height: "500px",
15984
+ language,
15985
+ value,
15986
+ onChange: handleChange,
15987
+ onMount: handleExpandedMount,
15988
+ options: MONACO_OPTIONS_DIALOG,
15989
+ theme: "vs"
16006
15990
  }
16007
- )
16008
- ] }) })
15991
+ ),
15992
+ hasErrors && /* @__PURE__ */ jsx37(ErrorBar, { errors })
15993
+ ] })
16009
15994
  }
16010
15995
  )
16011
15996
  ] });
package/dist/styles.css CHANGED
@@ -569,9 +569,6 @@
569
569
  .lego-land .h-\[50px\] {
570
570
  height: 50px;
571
571
  }
572
- .lego-land .h-\[85vh\] {
573
- height: 85vh;
574
- }
575
572
  .lego-land .h-\[172px\] {
576
573
  height: 172px;
577
574
  }
@@ -629,9 +626,6 @@
629
626
  .lego-land .min-h-\[32px\] {
630
627
  min-height: 32px;
631
628
  }
632
- .lego-land .min-h-\[50vh\] {
633
- min-height: 50vh;
634
- }
635
629
  .lego-land .min-h-\[60px\] {
636
630
  min-height: 60px;
637
631
  }
@@ -716,9 +710,6 @@
716
710
  .lego-land .w-\[76px\] {
717
711
  width: 76px;
718
712
  }
719
- .lego-land .w-\[85vw\] {
720
- width: 85vw;
721
- }
722
713
  .lego-land .w-\[88px\] {
723
714
  width: 88px;
724
715
  }
@@ -767,6 +758,9 @@
767
758
  .lego-land .w-\[620px\] {
768
759
  width: 620px;
769
760
  }
761
+ .lego-land .w-\[900px\] {
762
+ width: 900px;
763
+ }
770
764
  .lego-land .w-\[960px\] {
771
765
  width: 960px;
772
766
  }
@@ -800,9 +794,6 @@
800
794
  .lego-land .max-w-\[80\%\] {
801
795
  max-width: 80%;
802
796
  }
803
- .lego-land .max-w-\[85vw\] {
804
- max-width: 85vw;
805
- }
806
797
  .lego-land .max-w-\[125px\] {
807
798
  max-width: 125px;
808
799
  }
@@ -878,9 +869,6 @@
878
869
  .lego-land .flex-1 {
879
870
  flex: 1;
880
871
  }
881
- .lego-land .flex-none {
882
- flex: none;
883
- }
884
872
  .lego-land .shrink-0 {
885
873
  flex-shrink: 0;
886
874
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nurix/ui-component-library",
3
- "version": "1.1.4-stage.121",
3
+ "version": "1.1.4-stage.122",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",