@common-origin/design-system 2.4.0 → 2.4.2

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.
@@ -1,8 +1,6 @@
1
- import React from 'react';
2
1
  import { InternalStyledProps } from './types';
3
- export declare const BaseChipStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
4
- export declare const IconContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
5
- export declare const CloseButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
2
+ export declare const StyledChip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, InternalStyledProps>> & string;
3
+ export declare const IconContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
4
+ export declare const CloseButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
6
5
  $disabled?: boolean;
7
6
  }>> & string;
8
- export declare const StyledChipWrapper: React.FC<React.PropsWithChildren<InternalStyledProps & React.HTMLAttributes<HTMLSpanElement>>>;
@@ -36,12 +36,13 @@ declare const chip: {
36
36
  };
37
37
  };
38
38
  };
39
- export declare const getVariantStylesAsObject: (variant: ChipVariant, selected?: boolean) => {
40
- backgroundColor: string;
41
- color: string;
42
- };
43
- export declare const getSizeStylesAsObject: (size: BaseChipProps["size"]) => {
44
- font: string;
45
- padding: string;
46
- };
39
+ interface StyledChipProps {
40
+ $variant: ChipVariant;
41
+ $size: BaseChipProps['size'];
42
+ $disabled?: boolean;
43
+ $clickable?: boolean;
44
+ $selected?: boolean;
45
+ }
46
+ export declare const getVariantStyles: ({ $variant, $selected }: StyledChipProps) => string;
47
+ export declare const getSizeStyles: ({ $size }: StyledChipProps) => string;
47
48
  export { chip as chipTokens };
package/dist/index.esm.js CHANGED
@@ -887,7 +887,7 @@ var AvatarInitials = styled.span.withConfig({
887
887
  },
888
888
  displayName: "Avatar__AvatarInitials",
889
889
  componentId: "sc-ezn4ax-2"
890
- })(templateObject_3$p || (templateObject_3$p = __makeTemplateObject(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: 1;\n text-transform: uppercase;\n user-select: none;\n"], ["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: 1;\n text-transform: uppercase;\n user-select: none;\n"
890
+ })(templateObject_3$q || (templateObject_3$q = __makeTemplateObject(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: 1;\n text-transform: uppercase;\n user-select: none;\n"], ["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: 1;\n text-transform: uppercase;\n user-select: none;\n"
891
891
  // Helper function to get initials from name
892
892
  ])), tokensData.base.fontFamily.body, tokensData.base.fontWeight[3], function (_a) {
893
893
  var $size = _a.$size;
@@ -953,7 +953,7 @@ var Avatar = function Avatar(_a) {
953
953
  })
954
954
  }));
955
955
  };
956
- var templateObject_1$I, templateObject_2$t, templateObject_3$p;
956
+ var templateObject_1$I, templateObject_2$t, templateObject_3$q;
957
957
 
958
958
  var _a$5 = tokensData.semantic,
959
959
  typography$2 = _a$5.typography,
@@ -1103,7 +1103,7 @@ var BadgeIndicator = styled.span.withConfig({
1103
1103
  },
1104
1104
  displayName: "Badge__BadgeIndicator",
1105
1105
  componentId: "sc-tjz4pp-1"
1106
- })(templateObject_3$o || (templateObject_3$o = __makeTemplateObject(["\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n display: ", ";\n align-items: center;\n justify-content: center;\n min-width: ", ";\n height: ", ";\n padding: ", ";\n border-radius: ", ";\n line-height: 1;\n white-space: nowrap;\n box-shadow: 0 0 0 2px ", ";\n animation: ", " 0.2s ease-out;\n \n ", "\n"], ["\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n display: ", ";\n align-items: center;\n justify-content: center;\n min-width: ", ";\n height: ", ";\n padding: ", ";\n border-radius: ", ";\n line-height: 1;\n white-space: nowrap;\n box-shadow: 0 0 0 2px ", ";\n animation: ", " 0.2s ease-out;\n \n ", "\n"])), function (props) {
1106
+ })(templateObject_3$p || (templateObject_3$p = __makeTemplateObject(["\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n display: ", ";\n align-items: center;\n justify-content: center;\n min-width: ", ";\n height: ", ";\n padding: ", ";\n border-radius: ", ";\n line-height: 1;\n white-space: nowrap;\n box-shadow: 0 0 0 2px ", ";\n animation: ", " 0.2s ease-out;\n \n ", "\n"], ["\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n display: ", ";\n align-items: center;\n justify-content: center;\n min-width: ", ";\n height: ", ";\n padding: ", ";\n border-radius: ", ";\n line-height: 1;\n white-space: nowrap;\n box-shadow: 0 0 0 2px ", ";\n animation: ", " 0.2s ease-out;\n \n ", "\n"])), function (props) {
1107
1107
  return props.$isVisible ? 'flex' : 'none';
1108
1108
  }, function (props) {
1109
1109
  return props.$isDot ? '8px' : '16px';
@@ -1164,7 +1164,7 @@ var Badge = function Badge(_a) {
1164
1164
  })]
1165
1165
  });
1166
1166
  };
1167
- var templateObject_1$G, templateObject_2$s, templateObject_3$o, templateObject_4$j;
1167
+ var templateObject_1$G, templateObject_2$s, templateObject_3$p, templateObject_4$j;
1168
1168
 
1169
1169
  var StyledBox = styled.div.withConfig({
1170
1170
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -1179,7 +1179,7 @@ var StyledBox = styled.div.withConfig({
1179
1179
  }, function (props) {
1180
1180
  return props.$flexDirection && css(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["flex-direction: ", ";"], ["flex-direction: ", ";"])), props.$flexDirection);
1181
1181
  }, function (props) {
1182
- return props.$justifyContent && css(templateObject_3$n || (templateObject_3$n = __makeTemplateObject(["justify-content: ", ";"], ["justify-content: ", ";"])), props.$justifyContent);
1182
+ return props.$justifyContent && css(templateObject_3$o || (templateObject_3$o = __makeTemplateObject(["justify-content: ", ";"], ["justify-content: ", ";"])), props.$justifyContent);
1183
1183
  }, function (props) {
1184
1184
  return props.$alignItems && css(templateObject_4$i || (templateObject_4$i = __makeTemplateObject(["align-items: ", ";"], ["align-items: ", ";"])), props.$alignItems);
1185
1185
  }, function (props) {
@@ -1399,7 +1399,7 @@ var BoxTransform = function BoxTransform(props) {
1399
1399
  }));
1400
1400
  };
1401
1401
  var Box = BoxTransform;
1402
- var templateObject_1$F, templateObject_2$r, templateObject_3$n, templateObject_4$i, templateObject_5$e, templateObject_6$c, templateObject_7$9, templateObject_8$5, templateObject_9$4, templateObject_10$3, templateObject_11$2, templateObject_12$2, templateObject_13$2, templateObject_14$1, templateObject_15$1, templateObject_16$1, templateObject_17$1, templateObject_18$1, templateObject_19$1, templateObject_20$1, templateObject_21$1, templateObject_22$1, templateObject_23$1, templateObject_24$1, templateObject_25$1, templateObject_26$1, templateObject_27$1, templateObject_28$1, templateObject_29$1, templateObject_30$1, templateObject_31$1, templateObject_32$1, templateObject_33$1, templateObject_34$1, templateObject_35$1, templateObject_36, templateObject_37, templateObject_38, templateObject_39, templateObject_40, templateObject_41, templateObject_42, templateObject_43, templateObject_44, templateObject_45, templateObject_46, templateObject_47, templateObject_48, templateObject_49;
1402
+ var templateObject_1$F, templateObject_2$r, templateObject_3$o, templateObject_4$i, templateObject_5$e, templateObject_6$c, templateObject_7$9, templateObject_8$5, templateObject_9$4, templateObject_10$3, templateObject_11$2, templateObject_12$2, templateObject_13$2, templateObject_14$1, templateObject_15$1, templateObject_16$1, templateObject_17$1, templateObject_18$1, templateObject_19$1, templateObject_20$1, templateObject_21$1, templateObject_22$1, templateObject_23$1, templateObject_24$1, templateObject_25$1, templateObject_26$1, templateObject_27$1, templateObject_28$1, templateObject_29$1, templateObject_30$1, templateObject_31$1, templateObject_32$1, templateObject_33$1, templateObject_34$1, templateObject_35$1, templateObject_36, templateObject_37, templateObject_38, templateObject_39, templateObject_40, templateObject_41, templateObject_42, templateObject_43, templateObject_44, templateObject_45, templateObject_46, templateObject_47, templateObject_48, templateObject_49;
1403
1403
 
1404
1404
  var add = {
1405
1405
  path: "M13 11H19V13H13V19H11V13H5V11H11V5H13V11Z",
@@ -1697,12 +1697,12 @@ var button = tokensData.component.button,
1697
1697
  // Base styles shared between button and link
1698
1698
  var baseButtonStyles = "\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: ".concat(tokensData.semantic.spacing.layout.xs, ";\n height: max-content;\n cursor: pointer;\n border: none;\n text-decoration: none;\n transition: ").concat(semantic$f.motion.hover, ";\n white-space: nowrap;\n user-select: none;\n \n &:focus {\n outline: ").concat(button.focus.outline, ";\n outline-offset: ").concat(button.focus.outlineOffset, ";\n }\n\n &:disabled {\n cursor: not-allowed;\n }\n");
1699
1699
  // Dynamic variant styles using component tokens
1700
- var getVariantStyles = function getVariantStyles(_a) {
1700
+ var getVariantStyles$1 = function getVariantStyles(_a) {
1701
1701
  var $variant = _a.$variant;
1702
1702
  return "\n background-color: ".concat($variant === 'primary' ? button.primary.backgroundColor : $variant === 'secondary' ? button.variants.secondary.backgroundColor : button.variants.naked.backgroundColor, ";\n color: ").concat($variant === 'primary' ? button.primary.textColor : $variant === 'secondary' ? button.variants.secondary.textColor : button.variants.naked.textColor, ";\n \n &:hover:not(:disabled) {\n background-color: ").concat($variant === 'primary' ? button.hover.backgroundColor : $variant === 'secondary' ? button.variants.secondary.hover.backgroundColor : button.variants.naked.hover.backgroundColor, ";\n }\n\n &:active:not(:disabled) {\n background-color: ").concat($variant === 'primary' ? button.active.backgroundColor : $variant === 'secondary' ? button.variants.secondary.active.backgroundColor : button.variants.naked.active.backgroundColor, ";\n }\n\n &:disabled {\n background-color: ").concat($variant === 'primary' ? button.disabled.backgroundColor : $variant === 'secondary' ? button.variants.secondary.disabled.backgroundColor : button.variants.naked.disabled.backgroundColor, ";\n color: ").concat($variant === 'primary' ? button.disabled.textColor : $variant === 'secondary' ? button.variants.secondary.disabled.textColor : button.variants.naked.disabled.textColor, ";\n }\n");
1703
1703
  };
1704
1704
  // Dynamic size styles using component tokens
1705
- var getSizeStyles$2 = function getSizeStyles(_a) {
1705
+ var getSizeStyles$3 = function getSizeStyles(_a) {
1706
1706
  var $size = _a.$size;
1707
1707
  switch ($size) {
1708
1708
  case 'small':
@@ -1721,7 +1721,7 @@ var StyledButton = styled.button.withConfig({
1721
1721
  },
1722
1722
  displayName: "Button__StyledButton",
1723
1723
  componentId: "sc-1eiuum9-0"
1724
- })(templateObject_1$D || (templateObject_1$D = __makeTemplateObject(["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"], ["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"])), baseButtonStyles, button.primary.borderRadius, getVariantStyles, getSizeStyles$2);
1724
+ })(templateObject_1$D || (templateObject_1$D = __makeTemplateObject(["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"], ["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"])), baseButtonStyles, button.primary.borderRadius, getVariantStyles$1, getSizeStyles$3);
1725
1725
  var StyledLink = styled.a.withConfig({
1726
1726
  shouldForwardProp: function shouldForwardProp(prop) {
1727
1727
  return !prop.startsWith('$');
@@ -1730,7 +1730,7 @@ var StyledLink = styled.a.withConfig({
1730
1730
  componentId: "sc-1eiuum9-1"
1731
1731
  })(templateObject_2$q || (templateObject_2$q = __makeTemplateObject(["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"], ["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"
1732
1732
  // Helper function to get icon size based on button size
1733
- ])), baseButtonStyles, button.primary.borderRadius, getVariantStyles, getSizeStyles$2);
1733
+ ])), baseButtonStyles, button.primary.borderRadius, getVariantStyles$1, getSizeStyles$3);
1734
1734
  // Helper function to get icon size based on button size
1735
1735
  var getIconSize = function getIconSize(buttonSize) {
1736
1736
  switch (buttonSize) {
@@ -1856,7 +1856,7 @@ var getColorStyles = function getColorStyles(color, variant) {
1856
1856
  borderColor: 'transparent'
1857
1857
  };
1858
1858
  };
1859
- var getSizeStyles$1 = function getSizeStyles(size) {
1859
+ var getSizeStyles$2 = function getSizeStyles(size) {
1860
1860
  if (size === 'small') {
1861
1861
  return {
1862
1862
  height: '24px',
@@ -1945,7 +1945,7 @@ var CategoryBadge = function CategoryBadge(_a) {
1945
1945
  var hasClickHandler = Boolean(onClick);
1946
1946
  var isClickable = hasClickHandler && !disabled;
1947
1947
  var colorStyles = getColorStyles(color, variant);
1948
- var sizeStyles = getSizeStyles$1(size);
1948
+ var sizeStyles = getSizeStyles$2(size);
1949
1949
  var cssProps = {
1950
1950
  '--category-badge-bg': colorStyles.backgroundColor,
1951
1951
  '--category-badge-color': colorStyles.color,
@@ -1994,66 +1994,56 @@ CategoryBadge.displayName = 'CategoryBadge';
1994
1994
  var templateObject_1$C;
1995
1995
 
1996
1996
  var chip = tokensData.component.chip;
1997
- // Helper function to get variant styles as objects for CSS custom properties
1998
- var getVariantStylesAsObject = function getVariantStylesAsObject(variant, selected) {
1997
+ // Helper function to get variant styles matching Button's approach
1998
+ var getVariantStyles = function getVariantStyles(_a) {
1999
+ var $variant = _a.$variant,
2000
+ $selected = _a.$selected;
1999
2001
  // Boolean chips with selected state get special background
2000
- if (selected) {
2001
- return {
2002
- backgroundColor: tokensData.semantic.color.background['interactive-subtle'],
2003
- color: chip["default"].textColor
2004
- };
2002
+ if ($selected) {
2003
+ return "\n background-color: ".concat(tokensData.semantic.color.background['interactive-subtle'], ";\n color: ").concat(chip["default"].textColor, ";\n ");
2005
2004
  }
2006
- switch (variant) {
2005
+ switch ($variant) {
2007
2006
  case 'emphasis':
2008
- return {
2009
- backgroundColor: chip.variants.emphasis.backgroundColor,
2010
- color: chip.variants.emphasis.textColor
2011
- };
2007
+ return "\n background-color: ".concat(chip.variants.emphasis.backgroundColor, ";\n color: ").concat(chip.variants.emphasis.textColor, ";\n ");
2012
2008
  case 'subtle':
2013
- return {
2014
- backgroundColor: chip.variants.subtle.backgroundColor,
2015
- color: chip.variants.subtle.textColor
2016
- };
2009
+ return "\n background-color: ".concat(chip.variants.subtle.backgroundColor, ";\n color: ").concat(chip.variants.subtle.textColor, ";\n ");
2017
2010
  case 'interactive':
2018
- return {
2019
- backgroundColor: chip.variants.interactive.backgroundColor,
2020
- color: chip.variants.interactive.textColor
2021
- };
2011
+ return "\n background-color: ".concat(chip.variants.interactive.backgroundColor, ";\n color: ").concat(chip.variants.interactive.textColor, ";\n ");
2022
2012
  case 'default':
2023
2013
  default:
2024
- return {
2025
- backgroundColor: chip["default"].backgroundColor,
2026
- color: chip["default"].textColor
2027
- };
2014
+ return "\n background-color: ".concat(chip["default"].backgroundColor, ";\n color: ").concat(chip["default"].textColor, ";\n ");
2028
2015
  }
2029
2016
  };
2030
- // Helper function to get size styles as objects for CSS custom properties
2031
- var getSizeStylesAsObject = function getSizeStylesAsObject(size) {
2032
- switch (size) {
2017
+ // Helper function to get size styles matching Button's approach
2018
+ var getSizeStyles$1 = function getSizeStyles(_a) {
2019
+ var $size = _a.$size;
2020
+ switch ($size) {
2033
2021
  case 'small':
2034
- return {
2035
- font: chip.sizes.small.font,
2036
- padding: chip.sizes.small.padding
2037
- };
2022
+ return "\n font: ".concat(chip.sizes.small.font, ";\n padding: ").concat(chip.sizes.small.padding, ";\n ");
2038
2023
  case 'medium':
2039
2024
  default:
2040
- return {
2041
- font: chip.sizes.medium.font,
2042
- padding: chip.sizes.medium.padding
2043
- };
2025
+ return "\n font: ".concat(chip.sizes.medium.font, ";\n padding: ").concat(chip.sizes.medium.padding, ";\n ");
2044
2026
  }
2045
2027
  };
2046
2028
 
2047
- // Base styled component using CSS variables to avoid prop leaking
2048
- var BaseChipStyled = styled.span.withConfig({
2029
+ // Base styled component using direct prop interpolation like Button
2030
+ var StyledChip = styled.span.withConfig({
2049
2031
  shouldForwardProp: function shouldForwardProp(prop) {
2050
2032
  return !prop.startsWith('$');
2051
2033
  },
2052
- displayName: "ChipBase__BaseChipStyled",
2034
+ displayName: "ChipBase__StyledChip",
2053
2035
  componentId: "sc-moa6zc-0"
2054
- })(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n height: max-content;\n border-radius: 12px;\n box-sizing: border-box;\n user-select: none;\n white-space: nowrap;\n transition: width ", ";\n \n /* Use CSS custom properties set by wrapper */\n background-color: var(--chip-bg-color);\n color: var(--chip-text-color);\n font: var(--chip-font);\n padding: var(--chip-padding);\n opacity: var(--chip-opacity, 1);\n cursor: var(--chip-cursor, default);\n \n &:hover {\n opacity: var(--chip-hover-opacity, var(--chip-opacity, 1));\n }\n \n &:active {\n opacity: var(--chip-active-opacity, var(--chip-opacity, 1));\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n height: max-content;\n border-radius: 12px;\n box-sizing: border-box;\n user-select: none;\n white-space: nowrap;\n transition: width ", ";\n \n /* Use CSS custom properties set by wrapper */\n background-color: var(--chip-bg-color);\n color: var(--chip-text-color);\n font: var(--chip-font);\n padding: var(--chip-padding);\n opacity: var(--chip-opacity, 1);\n cursor: var(--chip-cursor, default);\n \n &:hover {\n opacity: var(--chip-hover-opacity, var(--chip-opacity, 1));\n }\n \n &:active {\n opacity: var(--chip-active-opacity, var(--chip-opacity, 1));\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n"
2036
+ })(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n height: max-content;\n border-radius: 12px;\n box-sizing: border-box;\n user-select: none;\n white-space: nowrap;\n transition: width ", ", background-color ", ";\n cursor: ", ";\n opacity: ", ";\n \n ", "\n ", "\n \n &:hover {\n opacity: ", ";\n }\n \n &:active {\n opacity: ", ";\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n height: max-content;\n border-radius: 12px;\n box-sizing: border-box;\n user-select: none;\n white-space: nowrap;\n transition: width ", ", background-color ", ";\n cursor: ", ";\n opacity: ", ";\n \n ", "\n ", "\n \n &:hover {\n opacity: ", ";\n }\n \n &:active {\n opacity: ", ";\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n"
2055
2037
  // Icon container for selected indicator or leading icons
2056
- ])), tokensData.semantic.motion.interactive, chip.variants.interactive.backgroundColor);
2038
+ ])), tokensData.semantic.motion.interactive, tokensData.semantic.motion.hover, function (props) {
2039
+ return props.$disabled ? 'not-allowed' : props.$clickable ? 'pointer' : 'default';
2040
+ }, function (props) {
2041
+ return props.$disabled ? '0.6' : '1';
2042
+ }, getVariantStyles, getSizeStyles$1, function (props) {
2043
+ return props.$disabled ? '0.6' : props.$clickable ? '0.8' : '1';
2044
+ }, function (props) {
2045
+ return props.$disabled ? '0.6' : props.$clickable ? '0.9' : '1';
2046
+ }, chip.variants.interactive.backgroundColor);
2057
2047
  // Icon container for selected indicator or leading icons
2058
2048
  var IconContainer = styled.span.withConfig({
2059
2049
  displayName: "ChipBase__IconContainer",
@@ -2068,44 +2058,12 @@ var CloseButton = styled.button.withConfig({
2068
2058
  },
2069
2059
  displayName: "ChipBase__CloseButton",
2070
2060
  componentId: "sc-moa6zc-2"
2071
- })(templateObject_3$m || (templateObject_3$m = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-left: ", ";\n background: transparent;\n border: none;\n padding: 0;\n cursor: ", ";\n opacity: ", ";\n color: inherit;\n transition: ", ";\n \n &:hover:not(:disabled) {\n opacity: 0.7;\n }\n \n &:active:not(:disabled) {\n opacity: 0.9;\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n border-radius: 2px;\n }\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-left: ", ";\n background: transparent;\n border: none;\n padding: 0;\n cursor: ", ";\n opacity: ", ";\n color: inherit;\n transition: ", ";\n \n &:hover:not(:disabled) {\n opacity: 0.7;\n }\n \n &:active:not(:disabled) {\n opacity: 0.9;\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n border-radius: 2px;\n }\n"
2072
- // Wrapper component that applies styles via CSS custom properties
2073
- ])), tokensData.semantic.spacing.layout.sm, function (props) {
2061
+ })(templateObject_3$n || (templateObject_3$n = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-left: ", ";\n background: transparent;\n border: none;\n padding: 0;\n cursor: ", ";\n opacity: ", ";\n color: inherit;\n transition: ", ";\n \n &:hover:not(:disabled) {\n opacity: 0.7;\n }\n \n &:active:not(:disabled) {\n opacity: 0.9;\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n border-radius: 2px;\n }\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-left: ", ";\n background: transparent;\n border: none;\n padding: 0;\n cursor: ", ";\n opacity: ", ";\n color: inherit;\n transition: ", ";\n \n &:hover:not(:disabled) {\n opacity: 0.7;\n }\n \n &:active:not(:disabled) {\n opacity: 0.9;\n }\n \n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n border-radius: 2px;\n }\n"])), tokensData.semantic.spacing.layout.sm, function (props) {
2074
2062
  return props.$disabled ? 'not-allowed' : 'pointer';
2075
2063
  }, function (props) {
2076
2064
  return props.$disabled ? '0.6' : '1';
2077
2065
  }, tokensData.semantic.motion.transition.fast, chip.variants.interactive.backgroundColor);
2078
- // Wrapper component that applies styles via CSS custom properties
2079
- var StyledChipWrapper = function StyledChipWrapper(_a) {
2080
- var $variant = _a.$variant,
2081
- $size = _a.$size,
2082
- $disabled = _a.$disabled,
2083
- $clickable = _a.$clickable,
2084
- $selected = _a.$selected,
2085
- children = _a.children,
2086
- style = _a.style,
2087
- htmlProps = __rest(_a, ["$variant", "$size", "$disabled", "$clickable", "$selected", "children", "style"]);
2088
- // Get styles for variant and size
2089
- var variantStyles = getVariantStylesAsObject($variant, $selected);
2090
- var sizeStyles = getSizeStylesAsObject($size);
2091
- // Create CSS custom properties object
2092
- var cssProps = {
2093
- '--chip-bg-color': variantStyles.backgroundColor,
2094
- '--chip-text-color': variantStyles.color,
2095
- '--chip-font': sizeStyles.font,
2096
- '--chip-padding': sizeStyles.padding,
2097
- '--chip-opacity': $disabled ? '0.6' : '1',
2098
- '--chip-cursor': $disabled ? 'not-allowed' : $clickable ? 'pointer' : 'default',
2099
- '--chip-hover-opacity': $disabled ? '0.6' : $clickable ? '0.8' : '1',
2100
- '--chip-active-opacity': $disabled ? '0.6' : $clickable ? '0.9' : '1'
2101
- };
2102
- return jsx(BaseChipStyled, __assign({
2103
- style: __assign(__assign({}, cssProps), style)
2104
- }, htmlProps, {
2105
- children: children
2106
- }));
2107
- };
2108
- var templateObject_1$B, templateObject_2$p, templateObject_3$m;
2066
+ var templateObject_1$B, templateObject_2$p, templateObject_3$n;
2109
2067
 
2110
2068
  /**
2111
2069
  * Chip - Compact element for displaying tags, categories, and labels
@@ -2152,7 +2110,7 @@ var Chip = function Chip(_a) {
2152
2110
  handleClick();
2153
2111
  }
2154
2112
  };
2155
- return jsx(StyledChipWrapper, __assign({
2113
+ return jsx(StyledChip, __assign({
2156
2114
  "$variant": normalizedVariant,
2157
2115
  "$size": size,
2158
2116
  "$disabled": disabled || undefined,
@@ -2232,7 +2190,7 @@ var FilterChip = function FilterChip(_a) {
2232
2190
  };
2233
2191
  // Generate accessible label for close button
2234
2192
  var closeButtonLabel = typeof children === 'string' ? "Remove ".concat(children) : 'Remove filter';
2235
- return jsxs(StyledChipWrapper, __assign({
2193
+ return jsxs(StyledChip, __assign({
2236
2194
  "$variant": "subtle",
2237
2195
  "$size": size,
2238
2196
  "$disabled": disabled || undefined,
@@ -2306,7 +2264,7 @@ var BooleanChip = function BooleanChip(_a) {
2306
2264
  handleClick();
2307
2265
  }
2308
2266
  };
2309
- return jsxs(StyledChipWrapper, __assign({
2267
+ return jsxs(StyledChip, __assign({
2310
2268
  "$variant": "subtle",
2311
2269
  "$size": size,
2312
2270
  "$disabled": disabled || undefined,
@@ -2377,7 +2335,7 @@ var ImageLink = styled.a.withConfig({
2377
2335
  var ImageButton = styled.button.withConfig({
2378
2336
  displayName: "Picture__ImageButton",
2379
2337
  componentId: "sc-11d9tei-2"
2380
- })(templateObject_3$l || (templateObject_3$l = __makeTemplateObject(["\n border: none;\n background: none;\n padding: 0;\n cursor: pointer;\n display: block;\n width: 100%;\n transition: opacity ", " ", ";\n \n &:hover {\n opacity: 0.8;\n }\n"], ["\n border: none;\n background: none;\n padding: 0;\n cursor: pointer;\n display: block;\n width: 100%;\n transition: opacity ", " ", ";\n \n &:hover {\n opacity: 0.8;\n }\n"])), base$b.duration.normal, base$b.easing.easeInOut);
2338
+ })(templateObject_3$m || (templateObject_3$m = __makeTemplateObject(["\n border: none;\n background: none;\n padding: 0;\n cursor: pointer;\n display: block;\n width: 100%;\n transition: opacity ", " ", ";\n \n &:hover {\n opacity: 0.8;\n }\n"], ["\n border: none;\n background: none;\n padding: 0;\n cursor: pointer;\n display: block;\n width: 100%;\n transition: opacity ", " ", ";\n \n &:hover {\n opacity: 0.8;\n }\n"])), base$b.duration.normal, base$b.easing.easeInOut);
2381
2339
  var StyledImage = styled.img.withConfig({
2382
2340
  displayName: "Picture__StyledImage",
2383
2341
  componentId: "sc-11d9tei-3"
@@ -2411,7 +2369,7 @@ var Picture = function Picture(_a) {
2411
2369
  }) : image
2412
2370
  });
2413
2371
  };
2414
- var templateObject_1$z, templateObject_2$o, templateObject_3$l, templateObject_4$h;
2372
+ var templateObject_1$z, templateObject_2$o, templateObject_3$m, templateObject_4$h;
2415
2373
 
2416
2374
  var _a$4 = tokensData.semantic,
2417
2375
  typography$1 = _a$4.typography,
@@ -2706,7 +2664,7 @@ var ProgressBarContainer = styled.div.withConfig({
2706
2664
  },
2707
2665
  displayName: "ProgressBar__ProgressBarContainer",
2708
2666
  componentId: "sc-1nco33q-0"
2709
- })(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n background-color: ", ";\n border-radius: ", ";\n overflow: hidden;\n\n ", "\n\n ", "\n"], ["\n background-color: ", ";\n border-radius: ", ";\n overflow: hidden;\n\n ", "\n\n ", "\n"])), tokensData.semantic.color.background.disabled, tokensData.base.border.radius[1], function (props) {
2667
+ })(templateObject_3$l || (templateObject_3$l = __makeTemplateObject(["\n background-color: ", ";\n border-radius: ", ";\n overflow: hidden;\n\n ", "\n\n ", "\n"], ["\n background-color: ", ";\n border-radius: ", ";\n overflow: hidden;\n\n ", "\n\n ", "\n"])), tokensData.semantic.color.background.disabled, tokensData.base.border.radius[1], function (props) {
2710
2668
  return props.$variant === 'horizontal' && css(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n width: 100%;\n height: ", ";\n "], ["\n width: 100%;\n height: ", ";\n "])), props.$height ? tokensData.component.progressBar.sizes[props.$height].height : tokensData.component.progressBar.sizes.md.height);
2711
2669
  }, function (props) {
2712
2670
  return props.$variant === 'vertical' && css(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n width: ", ";\n height: 100%;\n "], ["\n width: ", ";\n height: 100%;\n "])), props.$width ? tokensData.component.progressBar.sizes[props.$width].height : tokensData.component.progressBar.sizes.md.height);
@@ -2762,7 +2720,7 @@ var ProgressBar = function ProgressBar(_a) {
2762
2720
  })
2763
2721
  });
2764
2722
  };
2765
- var templateObject_1$v, templateObject_2$n, templateObject_3$k, templateObject_4$g, templateObject_5$d, templateObject_6$b, templateObject_7$8;
2723
+ var templateObject_1$v, templateObject_2$n, templateObject_3$l, templateObject_4$g, templateObject_5$d, templateObject_6$b, templateObject_7$8;
2766
2724
 
2767
2725
  var StyledDivider$1 = styled.div.withConfig({
2768
2726
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -3007,7 +2965,7 @@ var StyledStatusBadge = styled.span.withConfig({
3007
2965
  var ScreenReaderOnly = styled.span.withConfig({
3008
2966
  displayName: "StatusBadge__ScreenReaderOnly",
3009
2967
  componentId: "sc-1paksgb-1"
3010
- })(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n"], ["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n"
2968
+ })(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n"], ["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n"
3011
2969
  /**
3012
2970
  * StatusBadge component for displaying transaction or task status
3013
2971
  *
@@ -3096,7 +3054,7 @@ var StatusBadge = function StatusBadge(_a) {
3096
3054
  });
3097
3055
  };
3098
3056
  StatusBadge.displayName = 'StatusBadge';
3099
- var templateObject_1$s, templateObject_2$m, templateObject_3$j;
3057
+ var templateObject_1$s, templateObject_2$m, templateObject_3$k;
3100
3058
 
3101
3059
  var semantic$c = tokensData.semantic;
3102
3060
  var StyledTag = styled.span.withConfig({
@@ -3201,7 +3159,7 @@ var StyledIconWrapper = styled.div.withConfig({
3201
3159
  var StyledBalanceSection = styled.div.withConfig({
3202
3160
  displayName: "AccountCard__StyledBalanceSection",
3203
3161
  componentId: "sc-1erp7zn-2"
3204
- })(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), tokensData.semantic.spacing.layout.lg);
3162
+ })(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), tokensData.semantic.spacing.layout.lg);
3205
3163
  var StyledTrendSection = styled.div.withConfig({
3206
3164
  displayName: "AccountCard__StyledTrendSection",
3207
3165
  componentId: "sc-1erp7zn-3"
@@ -3310,7 +3268,7 @@ var AccountCard = function AccountCard(_a) {
3310
3268
  })
3311
3269
  }), jsxs(Stack, {
3312
3270
  direction: "column",
3313
- gap: "xs",
3271
+ gap: "none",
3314
3272
  children: [jsx(Typography, {
3315
3273
  variant: "h4",
3316
3274
  children: accountName
@@ -3374,7 +3332,7 @@ var AccountCard = function AccountCard(_a) {
3374
3332
  })
3375
3333
  });
3376
3334
  };
3377
- var templateObject_1$q, templateObject_2$l, templateObject_3$i, templateObject_4$f, templateObject_5$c, templateObject_6$a;
3335
+ var templateObject_1$q, templateObject_2$l, templateObject_3$j, templateObject_4$f, templateObject_5$c, templateObject_6$a;
3378
3336
 
3379
3337
  var semantic$b = tokensData.semantic,
3380
3338
  base$9 = tokensData.base;
@@ -3383,7 +3341,7 @@ var fadeIn$1 = keyframes(templateObject_2$k || (templateObject_2$k = __makeTempl
3383
3341
  var StyledOverlay$1 = styled.div.withConfig({
3384
3342
  displayName: "ActionSheet__StyledOverlay",
3385
3343
  componentId: "sc-regbol-0"
3386
- })(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\n position: fixed;\n inset: 0;\n background-color: rgba(0, 0, 0, 0.5);\n z-index: 9999;\n animation: ", " 0.2s ease-out;\n"], ["\n position: fixed;\n inset: 0;\n background-color: rgba(0, 0, 0, 0.5);\n z-index: 9999;\n animation: ", " 0.2s ease-out;\n"])), fadeIn$1);
3344
+ })(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n position: fixed;\n inset: 0;\n background-color: rgba(0, 0, 0, 0.5);\n z-index: 9999;\n animation: ", " 0.2s ease-out;\n"], ["\n position: fixed;\n inset: 0;\n background-color: rgba(0, 0, 0, 0.5);\n z-index: 9999;\n animation: ", " 0.2s ease-out;\n"])), fadeIn$1);
3387
3345
  var StyledActionSheet = styled.div.withConfig({
3388
3346
  displayName: "ActionSheet__StyledActionSheet",
3389
3347
  componentId: "sc-regbol-1"
@@ -3628,7 +3586,7 @@ var ActionSheet = function ActionSheet(_a) {
3628
3586
  })]
3629
3587
  }), document.body);
3630
3588
  };
3631
- var templateObject_1$p, templateObject_2$k, templateObject_3$h, templateObject_4$e, templateObject_5$b, templateObject_6$9, templateObject_7$7, templateObject_8$4, templateObject_9$3, templateObject_10$2;
3589
+ var templateObject_1$p, templateObject_2$k, templateObject_3$i, templateObject_4$e, templateObject_5$b, templateObject_6$9, templateObject_7$7, templateObject_8$4, templateObject_9$3, templateObject_10$2;
3632
3590
 
3633
3591
  var semantic$a = tokensData.semantic,
3634
3592
  base$8 = tokensData.base;
@@ -3692,7 +3650,7 @@ var StyledIconContainer$1 = styled.div.withConfig({
3692
3650
  var StyledContent$1 = styled.div.withConfig({
3693
3651
  displayName: "Alert__StyledContent",
3694
3652
  componentId: "sc-18tq5d-2"
3695
- })(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: ", ";\n min-width: 0; /* Allow text wrapping */\n"], ["\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: ", ";\n min-width: 0; /* Allow text wrapping */\n"])), semantic$a.spacing.layout.xs);
3653
+ })(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: ", ";\n min-width: 0; /* Allow text wrapping */\n"], ["\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: ", ";\n min-width: 0; /* Allow text wrapping */\n"])), semantic$a.spacing.layout.xs);
3696
3654
  var StyledTitle = styled.span.withConfig({
3697
3655
  displayName: "Alert__StyledTitle",
3698
3656
  componentId: "sc-18tq5d-3"
@@ -3776,9 +3734,9 @@ var Alert = function Alert(_a) {
3776
3734
  }));
3777
3735
  };
3778
3736
  Alert.displayName = 'Alert';
3779
- var templateObject_1$o, templateObject_2$j, templateObject_3$g, templateObject_4$d, templateObject_5$a, templateObject_6$8, templateObject_7$6;
3737
+ var templateObject_1$o, templateObject_2$j, templateObject_3$h, templateObject_4$d, templateObject_5$a, templateObject_6$8, templateObject_7$6;
3780
3738
 
3781
- var _a$3, _b$1, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
3739
+ var _a$3, _b$1, _c, _d, _e, _f;
3782
3740
  var BreadcrumbNavStyled = styled.nav.withConfig({
3783
3741
  displayName: "Breadcrumbs__BreadcrumbNavStyled",
3784
3742
  componentId: "sc-7ouzg5-0"
@@ -3786,7 +3744,11 @@ var BreadcrumbNavStyled = styled.nav.withConfig({
3786
3744
  var BreadcrumbStyled = styled.li.withConfig({
3787
3745
  displayName: "Breadcrumbs__BreadcrumbStyled",
3788
3746
  componentId: "sc-7ouzg5-1"
3789
- })(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n text-transform: uppercase;\n display: inline-block;\n margin-right: ", ";\n padding: ", ";\n position: relative;\n\n &:not(:last-of-type)::before {\n content: '';\n background-image: url('/assets/icons/caret.svg');\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center;\n background-color: transparent;\n opacity: 0.5;\n display: inline-block;\n width: ", ";\n height: ", ";\n right: -", ";\n position: absolute;\n }\n\n &:last-of-type a {\n text-decoration: none;\n color: ", ";\n }\n\n &:last-of-type p {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 180px;\n }\n\n > a {\n text-decoration: underline;\n color: ", ";\n }\n"], ["\n text-transform: uppercase;\n display: inline-block;\n margin-right: ", ";\n padding: ", ";\n position: relative;\n\n &:not(:last-of-type)::before {\n content: '';\n background-image: url('/assets/icons/caret.svg');\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center;\n background-color: transparent;\n opacity: 0.5;\n display: inline-block;\n width: ", ";\n height: ", ";\n right: -", ";\n position: absolute;\n }\n\n &:last-of-type a {\n text-decoration: none;\n color: ", ";\n }\n\n &:last-of-type p {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 180px;\n }\n\n > a {\n text-decoration: underline;\n color: ", ";\n }\n"])), ((_d = (_c = tokensData.base) === null || _c === void 0 ? void 0 : _c.spacing) === null || _d === void 0 ? void 0 : _d['2']) || '0.5rem', ((_f = (_e = tokensData.base) === null || _e === void 0 ? void 0 : _e.spacing) === null || _f === void 0 ? void 0 : _f['2']) || '0.5rem', ((_h = (_g = tokensData.base) === null || _g === void 0 ? void 0 : _g.spacing) === null || _h === void 0 ? void 0 : _h['4']) || '1rem', ((_k = (_j = tokensData.base) === null || _j === void 0 ? void 0 : _j.spacing) === null || _k === void 0 ? void 0 : _k['4']) || '1rem', ((_m = (_l = tokensData.base) === null || _l === void 0 ? void 0 : _l.spacing) === null || _m === void 0 ? void 0 : _m['3']) || '0.75rem', tokensData.semantic.color.text.subdued, tokensData.semantic.color.text["default"]);
3747
+ })(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n text-transform: uppercase;\n display: inline-flex;\n align-items: center;\n gap: ", ";\n padding: ", ";\n\n &:last-of-type a {\n text-decoration: none;\n color: ", ";\n }\n\n &:last-of-type p {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 180px;\n }\n\n > a {\n display: inline-flex;\n align-items: center;\n text-decoration: underline;\n color: ", ";\n }\n"], ["\n text-transform: uppercase;\n display: inline-flex;\n align-items: center;\n gap: ", ";\n padding: ", ";\n\n &:last-of-type a {\n text-decoration: none;\n color: ", ";\n }\n\n &:last-of-type p {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 180px;\n }\n\n > a {\n display: inline-flex;\n align-items: center;\n text-decoration: underline;\n color: ", ";\n }\n"])), ((_d = (_c = tokensData.base) === null || _c === void 0 ? void 0 : _c.spacing) === null || _d === void 0 ? void 0 : _d['2']) || '0.5rem', ((_f = (_e = tokensData.base) === null || _e === void 0 ? void 0 : _e.spacing) === null || _f === void 0 ? void 0 : _f['2']) || '0.5rem', tokensData.semantic.color.text.subdued, tokensData.semantic.color.text["default"]);
3748
+ var BreadcrumbSeparator = styled.span.withConfig({
3749
+ displayName: "Breadcrumbs__BreadcrumbSeparator",
3750
+ componentId: "sc-7ouzg5-2"
3751
+ })(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n opacity: 0.5;\n"], ["\n display: inline-flex;\n align-items: center;\n opacity: 0.5;\n"])));
3790
3752
  var isInternalUrl = function isInternalUrl(url) {
3791
3753
  return url.startsWith('/') && !url.startsWith('http');
3792
3754
  };
@@ -3798,34 +3760,43 @@ var Breadcrumbs = function Breadcrumbs(_a) {
3798
3760
  "aria-label": "breadcrumb",
3799
3761
  children: jsx("ol", {
3800
3762
  children: breadcrumbs.map(function (breadcrumb, index) {
3801
- return jsx(BreadcrumbStyled, {
3802
- children: index === breadcrumbs.length - 1 ? jsx(Typography, {
3803
- variant: "caption",
3804
- children: breadcrumb.label
3805
- }) : LinkComponent && isInternalUrl(breadcrumb.url) ? jsx(LinkComponent, {
3806
- href: breadcrumb.url,
3807
- children: jsx(Typography, {
3808
- variant: "caption",
3809
- children: breadcrumb.label
3810
- })
3811
- }) : jsx("a", __assign({
3812
- href: breadcrumb.url
3813
- }, !isInternalUrl(breadcrumb.url) && {
3814
- target: "_blank",
3815
- rel: "noopener noreferrer"
3816
- }, {
3817
- children: jsx(Typography, {
3763
+ return jsxs(React.Fragment, {
3764
+ children: [jsx(BreadcrumbStyled, {
3765
+ children: index === breadcrumbs.length - 1 ? jsx(Typography, {
3818
3766
  variant: "caption",
3819
3767
  children: breadcrumb.label
3768
+ }) : LinkComponent && isInternalUrl(breadcrumb.url) ? jsx(LinkComponent, {
3769
+ href: breadcrumb.url,
3770
+ children: jsx(Typography, {
3771
+ variant: "caption",
3772
+ children: breadcrumb.label
3773
+ })
3774
+ }) : jsx("a", __assign({
3775
+ href: breadcrumb.url
3776
+ }, !isInternalUrl(breadcrumb.url) && {
3777
+ target: "_blank",
3778
+ rel: "noopener noreferrer"
3779
+ }, {
3780
+ children: jsx(Typography, {
3781
+ variant: "caption",
3782
+ children: breadcrumb.label
3783
+ })
3784
+ }))
3785
+ }), index < breadcrumbs.length - 1 && jsx(BreadcrumbSeparator, {
3786
+ "aria-hidden": "true",
3787
+ children: jsx(Icon, {
3788
+ name: "arrowRight",
3789
+ size: "xs",
3790
+ iconColor: "subdued"
3820
3791
  })
3821
- }))
3792
+ })]
3822
3793
  }, index);
3823
3794
  })
3824
3795
  })
3825
3796
  })
3826
3797
  });
3827
3798
  };
3828
- var templateObject_1$n, templateObject_2$i;
3799
+ var templateObject_1$n, templateObject_2$i, templateObject_3$g;
3829
3800
 
3830
3801
  var CardSmallStyled = styled.div.withConfig({
3831
3802
  displayName: "CardSmall__CardSmallStyled",
@@ -4668,8 +4639,8 @@ var Dropdown = function Dropdown(_a) {
4668
4639
  focusedIndex = _e[0],
4669
4640
  setFocusedIndex = _e[1];
4670
4641
  var dropdownRef = useRef(null);
4671
- // Generate unique ID for accessibility
4672
- var dropdownId = useRef("dropdown-".concat(Math.random().toString(36).substr(2, 9))).current;
4642
+ // Generate unique ID for accessibility (SSR-safe)
4643
+ var dropdownId = useId();
4673
4644
  var selectedOption = options.find(function (option) {
4674
4645
  return option.id === value;
4675
4646
  });