@nurix/ui-component-library 1.1.4-stage.115 → 1.1.4-stage.116

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.js CHANGED
@@ -8076,8 +8076,8 @@ var NAVIGATION_TOKENS = {
8076
8076
  // Same padding across states to prevent layout shift on selection.
8077
8077
  topBase: "justify-center gap-2 px-3 py-2 rounded-xl relative",
8078
8078
  topBaseSelected: "justify-center gap-2 px-3 py-2 rounded-xl relative",
8079
- topLabelSelected: "text-base font-semibold leading-6 text-fg-brand",
8080
- topLabelUnselected: "text-base font-semibold leading-6 text-fg-grey-primary",
8079
+ topLabelSelected: "text-base font-semibold leading-6 text-fg-brand shrink-0",
8080
+ topLabelUnselected: "text-base font-semibold leading-6 text-fg-grey-primary shrink-0",
8081
8081
  // 1.5px brand underline (selected).
8082
8082
  topHighlight: "pointer-events-none absolute bottom-0 left-0 right-0 h-[1.5px] rounded-sm bg-token-brand-primary",
8083
8083
  // Interaction layers specific to top tab.
@@ -8090,8 +8090,8 @@ var NAVIGATION_TOKENS = {
8090
8090
  // Reserved 1.5px transparent border prevents layout shift on selection.
8091
8091
  sideBase: "w-full justify-start gap-2 px-2.5 py-2 rounded-full border-[1.5px] border-transparent",
8092
8092
  sideSelected: "bg-token-white border-token-xlight shadow-sm",
8093
- sideLabelSelected: "text-sm font-semibold leading-5 text-fg-black",
8094
- sideLabelUnselected: "text-sm font-semibold leading-5 text-fg-grey-secondary",
8093
+ sideLabelSelected: "text-sm font-semibold leading-5 text-fg-black truncate text-left",
8094
+ sideLabelUnselected: "text-sm font-semibold leading-5 text-fg-grey-secondary truncate text-left",
8095
8095
  sideHoverUnselected: "hover:bg-interaction-hov-solid-primary",
8096
8096
  sideHoverSelected: "hover:bg-interaction-hov-solid-primary",
8097
8097
  sidePressedUnselected: "active:bg-interaction-pressed-solid",
@@ -8100,8 +8100,8 @@ var NAVIGATION_TOKENS = {
8100
8100
  // Figma: brand-secondary bg for active, xs/medium label.
8101
8101
  sectionBase: "w-full justify-start gap-2 px-2.5 py-2 rounded-full",
8102
8102
  sectionSelected: "bg-token-brand-secondary",
8103
- sectionLabelSelected: "text-xs font-medium leading-4 text-fg-brand",
8104
- sectionLabelUnselected: "text-xs font-medium leading-4 text-fg-grey-secondary",
8103
+ sectionLabelSelected: "text-xs font-medium leading-4 text-fg-brand truncate text-left",
8104
+ sectionLabelUnselected: "text-xs font-medium leading-4 text-fg-grey-secondary truncate text-left",
8105
8105
  sectionHoverUnselected: "hover:bg-interaction-hov-solid-primary",
8106
8106
  sectionHoverSelected: "hover:bg-interaction-hov-solid-primary",
8107
8107
  sectionPressedUnselected: "active:bg-interaction-pressed-solid",
@@ -8116,7 +8116,7 @@ var NAVIGATION_TOKENS = {
8116
8116
  // narrow pill, the longer labels clipped past their neighbours).
8117
8117
  groupSide: "flex w-full flex-col items-stretch gap-1",
8118
8118
  groupSection: "flex w-full flex-col items-stretch gap-1",
8119
- labelBase: "shrink-0"
8119
+ labelBase: "min-w-0"
8120
8120
  },
8121
8121
  // --- ListNavigation ---
8122
8122
  listNav: {
@@ -10705,7 +10705,7 @@ var import_lucide_react10 = require("lucide-react");
10705
10705
  // src/toast/variables.ts
10706
10706
  var TOAST_TOKENS = {
10707
10707
  // Outer container — Figma: bg-white, border-light, rounded-16, min-w-400, max-w-800
10708
- root: "relative bg-token-white border border-token-light rounded-[16px] overflow-hidden flex flex-col items-start min-w-[400px] max-w-[800px]",
10708
+ root: "relative bg-token-white border border-token-light rounded-[16px] overflow-hidden flex flex-col items-start min-w-[320px] max-w-[600px]",
10709
10709
  // Inner content row — Figma: px-16 py-12, gap-12, items-center, full width
10710
10710
  innerRow: "flex gap-3 items-center px-4 py-3 w-full",
10711
10711
  icon: {
@@ -10749,7 +10749,7 @@ var Toaster = ({
10749
10749
  import_sonner.Toaster,
10750
10750
  {
10751
10751
  position,
10752
- toastOptions: { unstyled: true, classNames: { toast: "w-[600px]" } },
10752
+ toastOptions: { unstyled: true, classNames: { toast: "w-fit" } },
10753
10753
  ...props
10754
10754
  }
10755
10755
  );
@@ -16100,7 +16100,6 @@ var Popover = React44.forwardRef(
16100
16100
  {
16101
16101
  ref: triggerRef,
16102
16102
  onClick: () => setOpen(!open),
16103
- className: "inline-block",
16104
16103
  children: trigger
16105
16104
  }
16106
16105
  ),
package/dist/index.mjs CHANGED
@@ -7972,8 +7972,8 @@ var NAVIGATION_TOKENS = {
7972
7972
  // Same padding across states to prevent layout shift on selection.
7973
7973
  topBase: "justify-center gap-2 px-3 py-2 rounded-xl relative",
7974
7974
  topBaseSelected: "justify-center gap-2 px-3 py-2 rounded-xl relative",
7975
- topLabelSelected: "text-base font-semibold leading-6 text-fg-brand",
7976
- topLabelUnselected: "text-base font-semibold leading-6 text-fg-grey-primary",
7975
+ topLabelSelected: "text-base font-semibold leading-6 text-fg-brand shrink-0",
7976
+ topLabelUnselected: "text-base font-semibold leading-6 text-fg-grey-primary shrink-0",
7977
7977
  // 1.5px brand underline (selected).
7978
7978
  topHighlight: "pointer-events-none absolute bottom-0 left-0 right-0 h-[1.5px] rounded-sm bg-token-brand-primary",
7979
7979
  // Interaction layers specific to top tab.
@@ -7986,8 +7986,8 @@ var NAVIGATION_TOKENS = {
7986
7986
  // Reserved 1.5px transparent border prevents layout shift on selection.
7987
7987
  sideBase: "w-full justify-start gap-2 px-2.5 py-2 rounded-full border-[1.5px] border-transparent",
7988
7988
  sideSelected: "bg-token-white border-token-xlight shadow-sm",
7989
- sideLabelSelected: "text-sm font-semibold leading-5 text-fg-black",
7990
- sideLabelUnselected: "text-sm font-semibold leading-5 text-fg-grey-secondary",
7989
+ sideLabelSelected: "text-sm font-semibold leading-5 text-fg-black truncate text-left",
7990
+ sideLabelUnselected: "text-sm font-semibold leading-5 text-fg-grey-secondary truncate text-left",
7991
7991
  sideHoverUnselected: "hover:bg-interaction-hov-solid-primary",
7992
7992
  sideHoverSelected: "hover:bg-interaction-hov-solid-primary",
7993
7993
  sidePressedUnselected: "active:bg-interaction-pressed-solid",
@@ -7996,8 +7996,8 @@ var NAVIGATION_TOKENS = {
7996
7996
  // Figma: brand-secondary bg for active, xs/medium label.
7997
7997
  sectionBase: "w-full justify-start gap-2 px-2.5 py-2 rounded-full",
7998
7998
  sectionSelected: "bg-token-brand-secondary",
7999
- sectionLabelSelected: "text-xs font-medium leading-4 text-fg-brand",
8000
- sectionLabelUnselected: "text-xs font-medium leading-4 text-fg-grey-secondary",
7999
+ sectionLabelSelected: "text-xs font-medium leading-4 text-fg-brand truncate text-left",
8000
+ sectionLabelUnselected: "text-xs font-medium leading-4 text-fg-grey-secondary truncate text-left",
8001
8001
  sectionHoverUnselected: "hover:bg-interaction-hov-solid-primary",
8002
8002
  sectionHoverSelected: "hover:bg-interaction-hov-solid-primary",
8003
8003
  sectionPressedUnselected: "active:bg-interaction-pressed-solid",
@@ -8012,7 +8012,7 @@ var NAVIGATION_TOKENS = {
8012
8012
  // narrow pill, the longer labels clipped past their neighbours).
8013
8013
  groupSide: "flex w-full flex-col items-stretch gap-1",
8014
8014
  groupSection: "flex w-full flex-col items-stretch gap-1",
8015
- labelBase: "shrink-0"
8015
+ labelBase: "min-w-0"
8016
8016
  },
8017
8017
  // --- ListNavigation ---
8018
8018
  listNav: {
@@ -10601,7 +10601,7 @@ import { ChevronRight, CircleCheck, CircleAlert, ThumbsUp } from "lucide-react";
10601
10601
  // src/toast/variables.ts
10602
10602
  var TOAST_TOKENS = {
10603
10603
  // Outer container — Figma: bg-white, border-light, rounded-16, min-w-400, max-w-800
10604
- root: "relative bg-token-white border border-token-light rounded-[16px] overflow-hidden flex flex-col items-start min-w-[400px] max-w-[800px]",
10604
+ root: "relative bg-token-white border border-token-light rounded-[16px] overflow-hidden flex flex-col items-start min-w-[320px] max-w-[600px]",
10605
10605
  // Inner content row — Figma: px-16 py-12, gap-12, items-center, full width
10606
10606
  innerRow: "flex gap-3 items-center px-4 py-3 w-full",
10607
10607
  icon: {
@@ -10645,7 +10645,7 @@ var Toaster = ({
10645
10645
  SonnerToaster,
10646
10646
  {
10647
10647
  position,
10648
- toastOptions: { unstyled: true, classNames: { toast: "w-[600px]" } },
10648
+ toastOptions: { unstyled: true, classNames: { toast: "w-fit" } },
10649
10649
  ...props
10650
10650
  }
10651
10651
  );
@@ -16012,7 +16012,6 @@ var Popover = React44.forwardRef(
16012
16012
  {
16013
16013
  ref: triggerRef,
16014
16014
  onClick: () => setOpen(!open),
16015
- className: "inline-block",
16016
16015
  children: trigger
16017
16016
  }
16018
16017
  ),
package/dist/styles.css CHANGED
@@ -752,9 +752,6 @@
752
752
  .lego-land .w-\[520px\] {
753
753
  width: 520px;
754
754
  }
755
- .lego-land .w-\[600px\] {
756
- width: 600px;
757
- }
758
755
  .lego-land .w-\[620px\] {
759
756
  width: 620px;
760
757
  }
@@ -803,8 +800,8 @@
803
800
  .lego-land .max-w-\[472px\] {
804
801
  max-width: 472px;
805
802
  }
806
- .lego-land .max-w-\[800px\] {
807
- max-width: 800px;
803
+ .lego-land .max-w-\[600px\] {
804
+ max-width: 600px;
808
805
  }
809
806
  .lego-land .max-w-full {
810
807
  max-width: 100%;
@@ -851,8 +848,8 @@
851
848
  .lego-land .min-w-\[196px\] {
852
849
  min-width: 196px;
853
850
  }
854
- .lego-land .min-w-\[400px\] {
855
- min-width: 400px;
851
+ .lego-land .min-w-\[320px\] {
852
+ min-width: 320px;
856
853
  }
857
854
  .lego-land .min-w-\[var\(--radix-select-trigger-width\)\] {
858
855
  min-width: var(--radix-select-trigger-width);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nurix/ui-component-library",
3
- "version": "1.1.4-stage.115",
3
+ "version": "1.1.4-stage.116",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",