@northlight/ui 2.32.4 → 2.32.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.
@@ -4819,6 +4819,11 @@
4819
4819
  bgColor: color["destructive-alt"],
4820
4820
  [$arrowBg.variable]: color["destructive-alt"]
4821
4821
  }),
4822
+ error: ({ theme: { colors: color } }) => ({
4823
+ color: "text.over.error",
4824
+ bgColor: color["destructive-alt"],
4825
+ [$arrowBg.variable]: color["destructive-alt"]
4826
+ }),
4822
4827
  ai: ({ theme: { colors: color } }) => ({
4823
4828
  bgColor: color.bg.ai.default,
4824
4829
  [$arrowBg.variable]: color.bg.ai.default
@@ -7745,12 +7750,12 @@
7745
7750
  );
7746
7751
  });
7747
7752
 
7748
- const toastIconMap = {
7753
+ const tooltipIconMap = {
7749
7754
  success: icons.CheckCircleSolid,
7750
7755
  warning: icons.AlertTriangleSolid,
7751
7756
  error: icons.AlertCircleSolid,
7752
- danger: icons.AlertCircleSolid,
7753
- info: icons.BellSolid,
7757
+ danger: icons.AlertOctagonSolid,
7758
+ info: icons.InfoSolid,
7754
7759
  ai: icons.BrightnessSolid,
7755
7760
  default: icons.HelpCircleSolid,
7756
7761
  ghost: icons.HelpCircleSolid
@@ -7799,7 +7804,7 @@
7799
7804
  "hasIcon"
7800
7805
  ]);
7801
7806
  const iconVariant = variant;
7802
- const icon = toastIconMap[iconVariant];
7807
+ const icon = tooltipIconMap[iconVariant];
7803
7808
  const TooltipContent = /* @__PURE__ */ React.createElement(react.HStack, { alignItems: "flex-start" }, hasIcon && /* @__PURE__ */ React.createElement(Icon$1, { as: icon, color: `icon.toast.${iconVariant}` }), /* @__PURE__ */ React.createElement(react.VStack, { spacing: 0, alignItems: "flex-start" }, /* @__PURE__ */ React.createElement(Label$1, { size: "sm" }, title), /* @__PURE__ */ React.createElement(
7804
7809
  P$1,
7805
7810
  {
@@ -13336,6 +13341,17 @@
13336
13341
  );
13337
13342
  });
13338
13343
 
13344
+ const toastIconMap = {
13345
+ success: icons.CheckCircleSolid,
13346
+ warning: icons.AlertTriangleSolid,
13347
+ error: icons.AlertCircleSolid,
13348
+ danger: icons.AlertCircleSolid,
13349
+ info: icons.BellSolid,
13350
+ ai: icons.BrightnessSolid,
13351
+ default: icons.HelpCircleSolid,
13352
+ ghost: icons.HelpCircleSolid
13353
+ };
13354
+
13339
13355
  var __defProp$g = Object.defineProperty;
13340
13356
  var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
13341
13357
  var __hasOwnProp$g = Object.prototype.hasOwnProperty;