@activecollab/components 2.0.471 → 2.0.473

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.
@@ -11,12 +11,12 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
11
11
  var StyledPillIcon = exports.StyledPillIcon = _styledComponents.default.span.withConfig({
12
12
  displayName: "Styles__StyledPillIcon",
13
13
  componentId: "sc-14yhio0-0"
14
- })(["display:inline-flex;flex-shrink:0;color:var(--color-theme-600);transition:opacity 0.2s ease,color 0.2s ease;svg{width:18px;height:18px;fill:currentColor;}"]);
14
+ })(["display:inline-flex;flex-shrink:0;color:var(--color-theme-600);svg{width:18px;height:18px;fill:currentColor;}"]);
15
15
  StyledPillIcon.displayName = "StyledPillIcon";
16
16
  var StyledPillPlaceholder = exports.StyledPillPlaceholder = _styledComponents.default.span.withConfig({
17
17
  displayName: "Styles__StyledPillPlaceholder",
18
18
  componentId: "sc-14yhio0-1"
19
- })(["overflow:hidden;text-overflow:ellipsis;transition:opacity 0.2s ease;"]);
19
+ })(["overflow:hidden;text-overflow:ellipsis;"]);
20
20
  StyledPillPlaceholder.displayName = "StyledPillPlaceholder";
21
21
  var activeStyle = (0, _styledComponents.css)(["background-color:var(--pill-background-active);color:var(--color-primary);", "{color:var(--color-primary);}"], StyledPillIcon);
22
22
  var hoverTextStyle = (0, _styledComponents.css)(["color:var(--color-theme-900);", "{color:var(--color-theme-900);}"], StyledPillIcon);
@@ -36,7 +36,7 @@ var compactStyle = (0, _styledComponents.css)(["", "{display:none;}"], StyledPil
36
36
  var StyledPillButton = exports.StyledPillButton = _styledComponents.default.button.withConfig({
37
37
  displayName: "Styles__StyledPillButton",
38
38
  componentId: "sc-14yhio0-2"
39
- })(["", " ", " display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;max-width:100%;height:", ";margin:0;padding:0 ", ";border:none;border-radius:var(--ac-br-rounded);font-size:0.875rem;font-weight:500;line-height:1;white-space:nowrap;color:", ";cursor:pointer;user-select:none;transition:background-color 0.2s ease,color 0.2s ease,border-color 0.2s ease;&:focus{outline:none;}&:disabled{cursor:default;opacity:50%;pointer-events:none;}", " ", " ", " ", " ", " ", " &[aria-haspopup][aria-expanded=\"true\"],.c-pill-host:hover &[aria-haspopup][aria-expanded=\"true\"]{", "}"], _FontStyle.FontStyle, _BoxSizingStyle.BoxSizingStyle, function (props) {
39
+ })(["", " ", " display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;max-width:100%;height:", ";margin:0;padding:0 ", ";border:none;border-radius:var(--ac-br-rounded);font-size:0.875rem;font-weight:500;line-height:1;white-space:nowrap;color:", ";cursor:pointer;user-select:none;&:focus{outline:none;}&:disabled{cursor:default;opacity:50%;pointer-events:none;}", " ", " ", " ", " ", " ", " &[aria-haspopup][aria-expanded=\"true\"],.c-pill-host:hover &[aria-haspopup][aria-expanded=\"true\"]{", "}"], _FontStyle.FontStyle, _BoxSizingStyle.BoxSizingStyle, function (props) {
40
40
  return props.$size === "small" ? "24px" : "26px";
41
41
  }, function (props) {
42
42
  return props.$inset === "tight" ? "6px" : "10px";
@@ -1 +1 @@
1
- {"version":3,"file":"Styles.js","names":["_styledComponents","_interopRequireWildcard","require","_BoxSizingStyle","_FontStyle","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","StyledPillIcon","exports","styled","span","withConfig","displayName","componentId","StyledPillPlaceholder","activeStyle","css","hoverTextStyle","toneStyle","tone","compactStyle","StyledPillButton","button","FontStyle","BoxSizingStyle","props","$size","$inset","$empty","$tone","$iconOnly","$compact","$active"],"sources":["../../../../src/components/PillButton/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { PillButtonProps } from \"./PillButton\";\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { FontStyle } from \"../FontStyle\";\n\ninterface StyledPillButtonProps {\n $tone: NonNullable<PillButtonProps[\"tone\"]>;\n $active: boolean;\n $empty: boolean;\n $iconOnly: boolean;\n $compact: PillButtonProps[\"compact\"];\n $size: NonNullable<PillButtonProps[\"size\"]>;\n $inset: NonNullable<PillButtonProps[\"inset\"]>;\n}\n\nexport const StyledPillIcon = styled.span`\n display: inline-flex;\n flex-shrink: 0;\n color: var(--color-theme-600);\n transition: opacity 0.2s ease, color 0.2s ease;\n\n svg {\n width: 18px;\n height: 18px;\n fill: currentColor;\n }\n`;\n\nStyledPillIcon.displayName = \"StyledPillIcon\";\n\nexport const StyledPillPlaceholder = styled.span`\n overflow: hidden;\n text-overflow: ellipsis;\n transition: opacity 0.2s ease;\n`;\n\nStyledPillPlaceholder.displayName = \"StyledPillPlaceholder\";\n\nconst activeStyle = css`\n background-color: var(--pill-background-active);\n color: var(--color-primary);\n\n ${StyledPillIcon} {\n color: var(--color-primary);\n }\n`;\n\nconst hoverTextStyle = css`\n color: var(--color-theme-900);\n\n ${StyledPillIcon} {\n color: var(--color-theme-900);\n }\n`;\n\nconst toneStyle = (tone: StyledPillButtonProps[\"$tone\"]) => {\n switch (tone) {\n case \"alternate\":\n return css`\n background-color: var(--color-theme-300);\n\n &:hover,\n &:focus-visible {\n background-color: var(--color-theme-400);\n ${hoverTextStyle}\n }\n `;\n case \"ghost\":\n return css`\n background-color: transparent;\n\n .c-pill-host:hover &.c-pill-button--ghost,\n &:focus-visible {\n background-color: var(--pill-background);\n }\n\n .c-pill-host:hover &.c-pill-button--ghost:hover,\n &:hover {\n background-color: var(--pill-background-hover);\n ${hoverTextStyle}\n }\n `;\n case \"outlined\":\n return css`\n background-color: transparent;\n border: 1px solid var(--color-theme-700);\n\n &:hover,\n &:focus-visible {\n border-color: var(--color-primary);\n color: var(--color-primary);\n\n ${StyledPillIcon} {\n color: var(--color-primary);\n }\n }\n `;\n default:\n return css`\n background-color: var(--pill-background);\n\n &:hover,\n &:focus-visible {\n background-color: var(--pill-background-hover);\n ${hoverTextStyle}\n }\n `;\n }\n};\n\nconst compactStyle = css`\n ${StyledPillPlaceholder} {\n display: none;\n }\n`;\n\nexport const StyledPillButton = styled.button<StyledPillButtonProps>`\n ${FontStyle}\n ${BoxSizingStyle}\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n flex-shrink: 0;\n max-width: 100%;\n height: ${(props) => (props.$size === \"small\" ? \"24px\" : \"26px\")};\n margin: 0;\n padding: 0 ${(props) => (props.$inset === \"tight\" ? \"6px\" : \"10px\")};\n border: none;\n border-radius: var(--ac-br-rounded);\n font-size: 0.875rem;\n font-weight: 500;\n line-height: 1;\n white-space: nowrap;\n color: ${(props) =>\n props.$empty ? \"var(--color-theme-700)\" : \"var(--color-theme-800)\"};\n cursor: pointer;\n user-select: none;\n transition: background-color 0.2s ease, color 0.2s ease,\n border-color 0.2s ease;\n\n &:focus {\n outline: none;\n }\n\n &:disabled {\n cursor: default;\n opacity: 50%;\n pointer-events: none;\n }\n\n ${(props) => toneStyle(props.$tone)}\n\n ${(props) =>\n props.$tone === \"ghost\" &&\n props.$empty &&\n css`\n ${StyledPillIcon}, ${StyledPillPlaceholder} {\n opacity: 0;\n }\n\n .c-pill-host:hover &.c-pill-button--ghost,\n &:hover,\n &:focus-visible,\n &[aria-expanded=\"true\"] {\n ${StyledPillIcon}, ${StyledPillPlaceholder} {\n opacity: 1;\n }\n }\n `}\n\n ${(props) =>\n props.$iconOnly &&\n css`\n width: 36px;\n padding: 0;\n\n ${StyledPillIcon} svg {\n width: 16px;\n height: 16px;\n }\n `}\n\n ${(props) => props.$compact === true && compactStyle}\n\n ${(props) =>\n props.$compact === \"mobile\" &&\n css`\n @media (max-width: 768px) {\n ${compactStyle}\n }\n `}\n\n /* An active pill keeps its look on hover and focus. */\n ${(props) =>\n props.$active &&\n css`\n &,\n &:hover,\n &:focus-visible {\n ${activeStyle}\n }\n `}\n\n /* Last, so an open trigger shows the active look in every tone. */\n &[aria-haspopup][aria-expanded=\"true\"],\n .c-pill-host:hover &[aria-haspopup][aria-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,UAACJ,KAAK;EAAA,OACNA,KAAK,CAACI,KAAK,KAAK,OAAO,IACvBJ,KAAK,CAACG,MAAM,QACZZ,qBAAG,+IACCT,cAAc,EAAKO,qBAAqB,EAQtCP,cAAc,EAAKO,qBAAqB,CAI7C;AAAA,GAED,UAACW,KAAK;EAAA,OACNA,KAAK,CAACK,SAAS,QACfd,qBAAG,8DAICT,cAAc,CAIjB;AAAA,GAED,UAACkB,KAAK;EAAA,OAAKA,KAAK,CAACM,QAAQ,KAAK,IAAI,IAAIX,YAAY;AAAA,GAElD,UAACK,KAAK;EAAA,OACNA,KAAK,CAACM,QAAQ,KAAK,QAAQ,QAC3Bf,qBAAG,sCAEGI,YAAY,CAEjB;AAAA,GAGD,UAACK,KAAK;EAAA,OACNA,KAAK,CAACO,OAAO,QACbhB,qBAAG,uCAIGD,WAAW,CAEhB;AAAA,GAKCA,WAAW,CAEhB;AAEDM,gBAAgB,CAACT,WAAW,GAAG,kBAAkB","ignoreList":[]}
1
+ {"version":3,"file":"Styles.js","names":["_styledComponents","_interopRequireWildcard","require","_BoxSizingStyle","_FontStyle","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","StyledPillIcon","exports","styled","span","withConfig","displayName","componentId","StyledPillPlaceholder","activeStyle","css","hoverTextStyle","toneStyle","tone","compactStyle","StyledPillButton","button","FontStyle","BoxSizingStyle","props","$size","$inset","$empty","$tone","$iconOnly","$compact","$active"],"sources":["../../../../src/components/PillButton/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { PillButtonProps } from \"./PillButton\";\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { FontStyle } from \"../FontStyle\";\n\ninterface StyledPillButtonProps {\n $tone: NonNullable<PillButtonProps[\"tone\"]>;\n $active: boolean;\n $empty: boolean;\n $iconOnly: boolean;\n $compact: PillButtonProps[\"compact\"];\n $size: NonNullable<PillButtonProps[\"size\"]>;\n $inset: NonNullable<PillButtonProps[\"inset\"]>;\n}\n\nexport const StyledPillIcon = styled.span`\n display: inline-flex;\n flex-shrink: 0;\n color: var(--color-theme-600);\n\n svg {\n width: 18px;\n height: 18px;\n fill: currentColor;\n }\n`;\n\nStyledPillIcon.displayName = \"StyledPillIcon\";\n\nexport const StyledPillPlaceholder = styled.span`\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n\nStyledPillPlaceholder.displayName = \"StyledPillPlaceholder\";\n\nconst activeStyle = css`\n background-color: var(--pill-background-active);\n color: var(--color-primary);\n\n ${StyledPillIcon} {\n color: var(--color-primary);\n }\n`;\n\nconst hoverTextStyle = css`\n color: var(--color-theme-900);\n\n ${StyledPillIcon} {\n color: var(--color-theme-900);\n }\n`;\n\nconst toneStyle = (tone: StyledPillButtonProps[\"$tone\"]) => {\n switch (tone) {\n case \"alternate\":\n return css`\n background-color: var(--color-theme-300);\n\n &:hover,\n &:focus-visible {\n background-color: var(--color-theme-400);\n ${hoverTextStyle}\n }\n `;\n case \"ghost\":\n return css`\n background-color: transparent;\n\n .c-pill-host:hover &.c-pill-button--ghost,\n &:focus-visible {\n background-color: var(--pill-background);\n }\n\n .c-pill-host:hover &.c-pill-button--ghost:hover,\n &:hover {\n background-color: var(--pill-background-hover);\n ${hoverTextStyle}\n }\n `;\n case \"outlined\":\n return css`\n background-color: transparent;\n border: 1px solid var(--color-theme-700);\n\n &:hover,\n &:focus-visible {\n border-color: var(--color-primary);\n color: var(--color-primary);\n\n ${StyledPillIcon} {\n color: var(--color-primary);\n }\n }\n `;\n default:\n return css`\n background-color: var(--pill-background);\n\n &:hover,\n &:focus-visible {\n background-color: var(--pill-background-hover);\n ${hoverTextStyle}\n }\n `;\n }\n};\n\nconst compactStyle = css`\n ${StyledPillPlaceholder} {\n display: none;\n }\n`;\n\nexport const StyledPillButton = styled.button<StyledPillButtonProps>`\n ${FontStyle}\n ${BoxSizingStyle}\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n flex-shrink: 0;\n max-width: 100%;\n height: ${(props) => (props.$size === \"small\" ? \"24px\" : \"26px\")};\n margin: 0;\n padding: 0 ${(props) => (props.$inset === \"tight\" ? \"6px\" : \"10px\")};\n border: none;\n border-radius: var(--ac-br-rounded);\n font-size: 0.875rem;\n font-weight: 500;\n line-height: 1;\n white-space: nowrap;\n color: ${(props) =>\n props.$empty ? \"var(--color-theme-700)\" : \"var(--color-theme-800)\"};\n cursor: pointer;\n user-select: none;\n\n &:focus {\n outline: none;\n }\n\n &:disabled {\n cursor: default;\n opacity: 50%;\n pointer-events: none;\n }\n\n ${(props) => toneStyle(props.$tone)}\n\n ${(props) =>\n props.$tone === \"ghost\" &&\n props.$empty &&\n css`\n ${StyledPillIcon}, ${StyledPillPlaceholder} {\n opacity: 0;\n }\n\n .c-pill-host:hover &.c-pill-button--ghost,\n &:hover,\n &:focus-visible,\n &[aria-expanded=\"true\"] {\n ${StyledPillIcon}, ${StyledPillPlaceholder} {\n opacity: 1;\n }\n }\n `}\n\n ${(props) =>\n props.$iconOnly &&\n css`\n width: 36px;\n padding: 0;\n\n ${StyledPillIcon} svg {\n width: 16px;\n height: 16px;\n }\n `}\n\n ${(props) => props.$compact === true && compactStyle}\n\n ${(props) =>\n props.$compact === \"mobile\" &&\n css`\n @media (max-width: 768px) {\n ${compactStyle}\n }\n `}\n\n /* An active pill keeps its look on hover and focus. */\n ${(props) =>\n props.$active &&\n css`\n &,\n &:hover,\n &:focus-visible {\n ${activeStyle}\n }\n `}\n\n /* Last, so an open trigger shows the active look in every tone. */\n &[aria-haspopup][aria-expanded=\"true\"],\n .c-pill-host:hover &[aria-haspopup][aria-expanded=\"true\"] {\n ${activeStyle}\n }\n`;\n\nStyledPillButton.displayName = \"StyledPillButton\";\n"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,uBAAA,CAAAC,OAAA;AAGA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAAyC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CAACK,SAAS,QACfd,qBAAG,8DAICT,cAAc,CAIjB;AAAA,GAED,UAACkB,KAAK;EAAA,OAAKA,KAAK,CAACM,QAAQ,KAAK,IAAI,IAAIX,YAAY;AAAA,GAElD,UAACK,KAAK;EAAA,OACNA,KAAK,CAACM,QAAQ,KAAK,QAAQ,QAC3Bf,qBAAG,sCAEGI,YAAY,CAEjB;AAAA,GAGD,UAACK,KAAK;EAAA,OACNA,KAAK,CAACO,OAAO,QACbhB,qBAAG,uCAIGD,WAAW,CAEhB;AAAA,GAKCA,WAAW,CAEhB;AAEDM,gBAAgB,CAACT,WAAW,GAAG,kBAAkB","ignoreList":[]}
@@ -12,7 +12,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
12
12
  var StyledSignifier = exports.StyledSignifier = _styledComponents.default.div.withConfig({
13
13
  displayName: "Styles__StyledSignifier",
14
14
  componentId: "sc-1idn4je-0"
15
- })(["", " ", " ", " cursor:default;", " ", ""], {
15
+ })(["", " ", " ", " ", " ", ""], {
16
16
  "display": "inline-flex",
17
17
  "alignItems": "center",
18
18
  "color": "var(--color-theme-800)"
@@ -1 +1 @@
1
- {"version":3,"file":"Styles.js","names":["_reactTransitionGroup","require","_styledComponents","_interopRequireWildcard","_BoxSizingStyle","_FontStyle","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","StyledSignifier","exports","styled","div","withConfig","displayName","componentId","FontStyle","BoxSizingStyle","props","$direction","css","StyledSignifierTransition","CSSTransition","StyledIcon","svg"],"sources":["../../../../src/components/Signifier/Styles.ts"],"sourcesContent":["import { CSSTransition } from \"react-transition-group\";\n\nimport styled, { css } from \"styled-components\";\nimport tw from \"twin.macro\";\n\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { FontStyle } from \"../FontStyle\";\n\nexport const StyledSignifier = styled.div<{ $direction: string }>`\n ${tw`tw-inline-flex tw-items-center tw-text-theme-800`}\n ${FontStyle}\n ${BoxSizingStyle}\n\n cursor: default;\n\n ${(props) =>\n props.$direction === \"c-signifier--top\" &&\n css`\n --signifier-in: 60%;\n --signifier-out: -60%;\n `}\n\n ${(props) =>\n props.$direction === \"c-signifier--bottom\" &&\n css`\n --signifier-in: -60%;\n --signifier-out: 60%;\n `}\n`;\nStyledSignifier.displayName = \"StyledSignifier\";\n\nexport const StyledSignifierTransition = styled(CSSTransition)`\n &.c-signifier--animate-enter {\n opacity: 0;\n transform: translateY(var(--signifier-in));\n }\n &.c-signifier--animate-enter-active {\n opacity: 1;\n transform: translateY(0%);\n transition-duration: 300ms;\n }\n &.c-signifier--animate-exit {\n transform: translateY(0%);\n opacity: 1;\n }\n &.c-signifier--animate-exit-active {\n transform: translateY(var(--signifier-out));\n opacity: 0;\n transition-duration: 300ms;\n }\n`;\nStyledSignifierTransition.displayName = \"StyledSignifierTransition\";\n\nexport const StyledIcon = styled.svg`\n ${tw`tw-text-xs tw-mr-1`}\n`;\nStyledIcon.displayName = \"StyledIcon\";\n"],"mappings":";;;;;;AAAA,IAAAA,qBAAA,GAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAC,uBAAA,CAAAF,OAAA;AAGA,IAAAG,eAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AAAyC,SAAAE,wBAAAG,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAL,uBAAA,YAAAA,wBAAAG,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAA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C,WAAA;AAAA,aAC9B;EAAA;EAAA;EAAA;AAAmB,CAAC,CACzB;AACDQ,UAAU,CAACT,WAAW,GAAG,YAAY","ignoreList":[]}
1
+ {"version":3,"file":"Styles.js","names":["_reactTransitionGroup","require","_styledComponents","_interopRequireWildcard","_BoxSizingStyle","_FontStyle","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","StyledSignifier","exports","styled","div","withConfig","displayName","componentId","FontStyle","BoxSizingStyle","props","$direction","css","StyledSignifierTransition","CSSTransition","StyledIcon","svg"],"sources":["../../../../src/components/Signifier/Styles.ts"],"sourcesContent":["import { CSSTransition } from \"react-transition-group\";\n\nimport styled, { css } from \"styled-components\";\nimport tw from \"twin.macro\";\n\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { FontStyle } from \"../FontStyle\";\n\nexport const StyledSignifier = styled.div<{ $direction: string }>`\n ${tw`tw-inline-flex tw-items-center tw-text-theme-800`}\n ${FontStyle}\n ${BoxSizingStyle}\n\n ${(props) =>\n props.$direction === \"c-signifier--top\" &&\n css`\n --signifier-in: 60%;\n --signifier-out: -60%;\n `}\n\n ${(props) =>\n props.$direction === \"c-signifier--bottom\" &&\n css`\n --signifier-in: -60%;\n --signifier-out: 60%;\n `}\n`;\nStyledSignifier.displayName = \"StyledSignifier\";\n\nexport const StyledSignifierTransition = styled(CSSTransition)`\n &.c-signifier--animate-enter {\n opacity: 0;\n transform: translateY(var(--signifier-in));\n }\n &.c-signifier--animate-enter-active {\n opacity: 1;\n transform: translateY(0%);\n transition-duration: 300ms;\n }\n &.c-signifier--animate-exit {\n transform: translateY(0%);\n opacity: 1;\n }\n &.c-signifier--animate-exit-active {\n transform: translateY(var(--signifier-out));\n opacity: 0;\n transition-duration: 300ms;\n }\n`;\nStyledSignifierTransition.displayName = \"StyledSignifierTransition\";\n\nexport const StyledIcon = styled.svg`\n ${tw`tw-text-xs tw-mr-1`}\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CAC/C;AAED,eAAO,MAAM,cAAc,qEAW1B,CAAC;AAIF,eAAO,MAAM,qBAAqB,qEAIjC,CAAC;AAkFF,eAAO,MAAM,gBAAgB,0FA6F5B,CAAC"}
1
+ {"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/PillButton/Styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAI/C,UAAU,qBAAqB;IAC7B,KAAK,EAAE,WAAW,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;IAC5C,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;IACrC,KAAK,EAAE,WAAW,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;IAC5C,MAAM,EAAE,WAAW,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC;CAC/C;AAED,eAAO,MAAM,cAAc,qEAU1B,CAAC;AAIF,eAAO,MAAM,qBAAqB,qEAGjC,CAAC;AAkFF,eAAO,MAAM,gBAAgB,0FA2F5B,CAAC"}
@@ -4,12 +4,12 @@ import { FontStyle } from "../FontStyle";
4
4
  export const StyledPillIcon = styled.span.withConfig({
5
5
  displayName: "Styles__StyledPillIcon",
6
6
  componentId: "sc-14yhio0-0"
7
- })(["display:inline-flex;flex-shrink:0;color:var(--color-theme-600);transition:opacity 0.2s ease,color 0.2s ease;svg{width:18px;height:18px;fill:currentColor;}"]);
7
+ })(["display:inline-flex;flex-shrink:0;color:var(--color-theme-600);svg{width:18px;height:18px;fill:currentColor;}"]);
8
8
  StyledPillIcon.displayName = "StyledPillIcon";
9
9
  export const StyledPillPlaceholder = styled.span.withConfig({
10
10
  displayName: "Styles__StyledPillPlaceholder",
11
11
  componentId: "sc-14yhio0-1"
12
- })(["overflow:hidden;text-overflow:ellipsis;transition:opacity 0.2s ease;"]);
12
+ })(["overflow:hidden;text-overflow:ellipsis;"]);
13
13
  StyledPillPlaceholder.displayName = "StyledPillPlaceholder";
14
14
  const activeStyle = css(["background-color:var(--pill-background-active);color:var(--color-primary);", "{color:var(--color-primary);}"], StyledPillIcon);
15
15
  const hoverTextStyle = css(["color:var(--color-theme-900);", "{color:var(--color-theme-900);}"], StyledPillIcon);
@@ -29,6 +29,6 @@ const compactStyle = css(["", "{display:none;}"], StyledPillPlaceholder);
29
29
  export const StyledPillButton = styled.button.withConfig({
30
30
  displayName: "Styles__StyledPillButton",
31
31
  componentId: "sc-14yhio0-2"
32
- })(["", " ", " display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;max-width:100%;height:", ";margin:0;padding:0 ", ";border:none;border-radius:var(--ac-br-rounded);font-size:0.875rem;font-weight:500;line-height:1;white-space:nowrap;color:", ";cursor:pointer;user-select:none;transition:background-color 0.2s ease,color 0.2s ease,border-color 0.2s ease;&:focus{outline:none;}&:disabled{cursor:default;opacity:50%;pointer-events:none;}", " ", " ", " ", " ", " ", " &[aria-haspopup][aria-expanded=\"true\"],.c-pill-host:hover &[aria-haspopup][aria-expanded=\"true\"]{", "}"], FontStyle, BoxSizingStyle, props => props.$size === "small" ? "24px" : "26px", props => props.$inset === "tight" ? "6px" : "10px", props => props.$empty ? "var(--color-theme-700)" : "var(--color-theme-800)", props => toneStyle(props.$tone), props => props.$tone === "ghost" && props.$empty && css(["", ",", "{opacity:0;}.c-pill-host:hover &.c-pill-button--ghost,&:hover,&:focus-visible,&[aria-expanded=\"true\"]{", ",", "{opacity:1;}}"], StyledPillIcon, StyledPillPlaceholder, StyledPillIcon, StyledPillPlaceholder), props => props.$iconOnly && css(["width:36px;padding:0;", " svg{width:16px;height:16px;}"], StyledPillIcon), props => props.$compact === true && compactStyle, props => props.$compact === "mobile" && css(["@media (max-width:768px){", "}"], compactStyle), props => props.$active && css(["&,&:hover,&:focus-visible{", "}"], activeStyle), activeStyle);
32
+ })(["", " ", " display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;max-width:100%;height:", ";margin:0;padding:0 ", ";border:none;border-radius:var(--ac-br-rounded);font-size:0.875rem;font-weight:500;line-height:1;white-space:nowrap;color:", ";cursor:pointer;user-select:none;&:focus{outline:none;}&:disabled{cursor:default;opacity:50%;pointer-events:none;}", " ", " ", " ", " ", " ", " &[aria-haspopup][aria-expanded=\"true\"],.c-pill-host:hover &[aria-haspopup][aria-expanded=\"true\"]{", "}"], FontStyle, BoxSizingStyle, props => props.$size === "small" ? "24px" : "26px", props => props.$inset === "tight" ? "6px" : "10px", props => props.$empty ? "var(--color-theme-700)" : "var(--color-theme-800)", props => toneStyle(props.$tone), props => props.$tone === "ghost" && props.$empty && css(["", ",", "{opacity:0;}.c-pill-host:hover &.c-pill-button--ghost,&:hover,&:focus-visible,&[aria-expanded=\"true\"]{", ",", "{opacity:1;}}"], StyledPillIcon, StyledPillPlaceholder, StyledPillIcon, StyledPillPlaceholder), props => props.$iconOnly && css(["width:36px;padding:0;", " svg{width:16px;height:16px;}"], StyledPillIcon), props => props.$compact === true && compactStyle, props => props.$compact === "mobile" && css(["@media (max-width:768px){", "}"], compactStyle), props => props.$active && css(["&,&:hover,&:focus-visible{", "}"], activeStyle), activeStyle);
33
33
  StyledPillButton.displayName = "StyledPillButton";
34
34
  //# sourceMappingURL=Styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Styles.js","names":["styled","css","BoxSizingStyle","FontStyle","StyledPillIcon","span","withConfig","displayName","componentId","StyledPillPlaceholder","activeStyle","hoverTextStyle","toneStyle","tone","compactStyle","StyledPillButton","button","props","$size","$inset","$empty","$tone","$iconOnly","$compact","$active"],"sources":["../../../../src/components/PillButton/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { PillButtonProps } from \"./PillButton\";\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { FontStyle } from \"../FontStyle\";\n\ninterface StyledPillButtonProps {\n $tone: NonNullable<PillButtonProps[\"tone\"]>;\n $active: boolean;\n $empty: boolean;\n $iconOnly: boolean;\n $compact: PillButtonProps[\"compact\"];\n $size: NonNullable<PillButtonProps[\"size\"]>;\n $inset: NonNullable<PillButtonProps[\"inset\"]>;\n}\n\nexport const StyledPillIcon = styled.span`\n display: inline-flex;\n flex-shrink: 0;\n color: var(--color-theme-600);\n transition: opacity 0.2s ease, color 0.2s ease;\n\n svg {\n width: 18px;\n height: 18px;\n fill: currentColor;\n }\n`;\n\nStyledPillIcon.displayName = \"StyledPillIcon\";\n\nexport const StyledPillPlaceholder = styled.span`\n overflow: hidden;\n text-overflow: ellipsis;\n transition: opacity 0.2s ease;\n`;\n\nStyledPillPlaceholder.displayName = \"StyledPillPlaceholder\";\n\nconst activeStyle = css`\n background-color: var(--pill-background-active);\n color: var(--color-primary);\n\n ${StyledPillIcon} {\n color: var(--color-primary);\n }\n`;\n\nconst hoverTextStyle = css`\n color: var(--color-theme-900);\n\n ${StyledPillIcon} {\n color: var(--color-theme-900);\n }\n`;\n\nconst toneStyle = (tone: StyledPillButtonProps[\"$tone\"]) => {\n switch (tone) {\n case \"alternate\":\n return css`\n background-color: var(--color-theme-300);\n\n &:hover,\n &:focus-visible {\n background-color: var(--color-theme-400);\n ${hoverTextStyle}\n }\n `;\n case \"ghost\":\n return css`\n background-color: transparent;\n\n .c-pill-host:hover &.c-pill-button--ghost,\n &:focus-visible {\n background-color: var(--pill-background);\n }\n\n .c-pill-host:hover &.c-pill-button--ghost:hover,\n &:hover {\n background-color: var(--pill-background-hover);\n ${hoverTextStyle}\n }\n `;\n case \"outlined\":\n return css`\n background-color: transparent;\n border: 1px solid var(--color-theme-700);\n\n &:hover,\n &:focus-visible {\n border-color: var(--color-primary);\n color: var(--color-primary);\n\n ${StyledPillIcon} {\n color: var(--color-primary);\n }\n }\n `;\n default:\n return css`\n background-color: var(--pill-background);\n\n &:hover,\n &:focus-visible {\n background-color: var(--pill-background-hover);\n ${hoverTextStyle}\n }\n `;\n }\n};\n\nconst compactStyle = css`\n ${StyledPillPlaceholder} {\n display: none;\n }\n`;\n\nexport const StyledPillButton = styled.button<StyledPillButtonProps>`\n ${FontStyle}\n ${BoxSizingStyle}\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n flex-shrink: 0;\n max-width: 100%;\n height: ${(props) => (props.$size === \"small\" ? \"24px\" : \"26px\")};\n margin: 0;\n padding: 0 ${(props) => (props.$inset === \"tight\" ? \"6px\" : \"10px\")};\n border: none;\n border-radius: var(--ac-br-rounded);\n font-size: 0.875rem;\n font-weight: 500;\n line-height: 1;\n white-space: nowrap;\n color: ${(props) =>\n props.$empty ? \"var(--color-theme-700)\" : \"var(--color-theme-800)\"};\n cursor: pointer;\n user-select: none;\n transition: background-color 0.2s ease, color 0.2s ease,\n border-color 0.2s ease;\n\n &:focus {\n outline: none;\n }\n\n &:disabled {\n cursor: default;\n opacity: 50%;\n pointer-events: none;\n }\n\n ${(props) => toneStyle(props.$tone)}\n\n ${(props) =>\n props.$tone === \"ghost\" &&\n props.$empty &&\n css`\n ${StyledPillIcon}, ${StyledPillPlaceholder} {\n opacity: 0;\n }\n\n .c-pill-host:hover &.c-pill-button--ghost,\n &:hover,\n &:focus-visible,\n &[aria-expanded=\"true\"] {\n ${StyledPillIcon}, ${StyledPillPlaceholder} {\n opacity: 1;\n }\n }\n `}\n\n ${(props) =>\n props.$iconOnly &&\n css`\n width: 36px;\n padding: 0;\n\n ${StyledPillIcon} svg {\n width: 16px;\n height: 16px;\n }\n `}\n\n ${(props) => props.$compact === true && compactStyle}\n\n ${(props) =>\n props.$compact === \"mobile\" &&\n css`\n @media (max-width: 768px) {\n ${compactStyle}\n }\n `}\n\n /* An active pill keeps its look on hover and focus. */\n ${(props) =>\n props.$active &&\n css`\n &,\n &:hover,\n &:focus-visible {\n ${activeStyle}\n }\n `}\n\n /* Last, so an open trigger shows the active look in every tone. */\n &[aria-haspopup][aria-expanded=\"true\"],\n .c-pill-host:hover &[aria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,KAAK,CAACG,MAAM,GAAG,wBAAwB,GAAG,wBAAwB,EAgBjEH,KAAK,IAAKL,SAAS,CAACK,KAAK,CAACI,KAAK,CAAC,EAEhCJ,KAAK,IACNA,KAAK,CAACI,KAAK,KAAK,OAAO,IACvBJ,KAAK,CAACG,MAAM,IACZnB,GAAG,8IACCG,cAAc,EAAKK,qBAAqB,EAQtCL,cAAc,EAAKK,qBAAqB,CAI7C,EAEAQ,KAAK,IACNA,KAAK,CAACK,SAAS,IACfrB,GAAG,6DAICG,cAAc,CAIjB,EAEAa,KAAK,IAAKA,KAAK,CAACM,QAAQ,KAAK,IAAI,IAAIT,YAAY,EAEjDG,KAAK,IACNA,KAAK,CAACM,QAAQ,KAAK,QAAQ,IAC3BtB,GAAG,qCAEGa,YAAY,CAEjB,EAGAG,KAAK,IACNA,KAAK,CAACO,OAAO,IACbvB,GAAG,sCAIGS,WAAW,CAEhB,EAKCA,WAAW,CAEhB;AAEDK,gBAAgB,CAACR,WAAW,GAAG,kBAAkB","ignoreList":[]}
1
+ {"version":3,"file":"Styles.js","names":["styled","css","BoxSizingStyle","FontStyle","StyledPillIcon","span","withConfig","displayName","componentId","StyledPillPlaceholder","activeStyle","hoverTextStyle","toneStyle","tone","compactStyle","StyledPillButton","button","props","$size","$inset","$empty","$tone","$iconOnly","$compact","$active"],"sources":["../../../../src/components/PillButton/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { PillButtonProps } from \"./PillButton\";\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { FontStyle } from \"../FontStyle\";\n\ninterface StyledPillButtonProps {\n $tone: NonNullable<PillButtonProps[\"tone\"]>;\n $active: boolean;\n $empty: boolean;\n $iconOnly: boolean;\n $compact: PillButtonProps[\"compact\"];\n $size: NonNullable<PillButtonProps[\"size\"]>;\n $inset: NonNullable<PillButtonProps[\"inset\"]>;\n}\n\nexport const StyledPillIcon = styled.span`\n display: inline-flex;\n flex-shrink: 0;\n color: var(--color-theme-600);\n\n svg {\n width: 18px;\n height: 18px;\n fill: currentColor;\n }\n`;\n\nStyledPillIcon.displayName = \"StyledPillIcon\";\n\nexport const StyledPillPlaceholder = styled.span`\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n\nStyledPillPlaceholder.displayName = \"StyledPillPlaceholder\";\n\nconst activeStyle = css`\n background-color: var(--pill-background-active);\n color: var(--color-primary);\n\n ${StyledPillIcon} {\n color: var(--color-primary);\n }\n`;\n\nconst hoverTextStyle = css`\n color: var(--color-theme-900);\n\n ${StyledPillIcon} {\n color: var(--color-theme-900);\n }\n`;\n\nconst toneStyle = (tone: StyledPillButtonProps[\"$tone\"]) => {\n switch (tone) {\n case \"alternate\":\n return css`\n background-color: var(--color-theme-300);\n\n &:hover,\n &:focus-visible {\n background-color: var(--color-theme-400);\n ${hoverTextStyle}\n }\n `;\n case \"ghost\":\n return css`\n background-color: transparent;\n\n .c-pill-host:hover &.c-pill-button--ghost,\n &:focus-visible {\n background-color: var(--pill-background);\n }\n\n .c-pill-host:hover &.c-pill-button--ghost:hover,\n &:hover {\n background-color: var(--pill-background-hover);\n ${hoverTextStyle}\n }\n `;\n case \"outlined\":\n return css`\n background-color: transparent;\n border: 1px solid var(--color-theme-700);\n\n &:hover,\n &:focus-visible {\n border-color: var(--color-primary);\n color: var(--color-primary);\n\n ${StyledPillIcon} {\n color: var(--color-primary);\n }\n }\n `;\n default:\n return css`\n background-color: var(--pill-background);\n\n &:hover,\n &:focus-visible {\n background-color: var(--pill-background-hover);\n ${hoverTextStyle}\n }\n `;\n }\n};\n\nconst compactStyle = css`\n ${StyledPillPlaceholder} {\n display: none;\n }\n`;\n\nexport const StyledPillButton = styled.button<StyledPillButtonProps>`\n ${FontStyle}\n ${BoxSizingStyle}\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n flex-shrink: 0;\n max-width: 100%;\n height: ${(props) => (props.$size === \"small\" ? \"24px\" : \"26px\")};\n margin: 0;\n padding: 0 ${(props) => (props.$inset === \"tight\" ? \"6px\" : \"10px\")};\n border: none;\n border-radius: var(--ac-br-rounded);\n font-size: 0.875rem;\n font-weight: 500;\n line-height: 1;\n white-space: nowrap;\n color: ${(props) =>\n props.$empty ? \"var(--color-theme-700)\" : \"var(--color-theme-800)\"};\n cursor: pointer;\n user-select: none;\n\n &:focus {\n outline: none;\n }\n\n &:disabled {\n cursor: default;\n opacity: 50%;\n pointer-events: none;\n }\n\n ${(props) => toneStyle(props.$tone)}\n\n ${(props) =>\n props.$tone === \"ghost\" &&\n props.$empty &&\n css`\n ${StyledPillIcon}, ${StyledPillPlaceholder} {\n opacity: 0;\n }\n\n .c-pill-host:hover &.c-pill-button--ghost,\n &:hover,\n &:focus-visible,\n &[aria-expanded=\"true\"] {\n ${StyledPillIcon}, ${StyledPillPlaceholder} {\n opacity: 1;\n }\n }\n `}\n\n ${(props) =>\n props.$iconOnly &&\n css`\n width: 36px;\n padding: 0;\n\n ${StyledPillIcon} svg {\n width: 16px;\n height: 16px;\n }\n `}\n\n ${(props) => props.$compact === true && compactStyle}\n\n ${(props) =>\n props.$compact === \"mobile\" &&\n css`\n @media (max-width: 768px) {\n ${compactStyle}\n }\n `}\n\n /* An active pill keeps its look on hover and focus. */\n ${(props) =>\n props.$active &&\n css`\n &,\n &:hover,\n &:focus-visible {\n ${activeStyle}\n }\n `}\n\n /* Last, so an open trigger shows the active look in every tone. */\n &[aria-haspopup][aria-expanded=\"true\"],\n .c-pill-host:hover &[aria-haspopup][aria-expanded=\"true\"] {\n ${activeStyle}\n }\n`;\n\nStyledPillButton.displayName = \"StyledPillButton\";\n"],"mappings":"AAAA,OAAOA,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAG/C,SAASC,cAAc,QAAQ,mBAAmB;AAClD,SAASC,SAAS,QAAQ,cAAc;AAYxC,OAAO,MAAMC,cAAc,GAAGJ,MAAM,CAACK,IAAI,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,qHAUxC;AAEDJ,cAAc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AAc,CAIjB,EAEAa,KAAK,IAAKA,KAAK,CAACM,QAAQ,KAAK,IAAI,IAAIT,YAAY,EAEjDG,KAAK,IACNA,KAAK,CAACM,QAAQ,KAAK,QAAQ,IAC3BtB,GAAG,qCAEGa,YAAY,CAEjB,EAGAG,KAAK,IACNA,KAAK,CAACO,OAAO,IACbvB,GAAG,sCAIGS,WAAW,CAEhB,EAKCA,WAAW,CAEhB;AAEDK,gBAAgB,CAACR,WAAW,GAAG,kBAAkB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Signifier/Styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAQvD,eAAO,MAAM,eAAe;gBAA4B,MAAM;SAoB7D,CAAC;AAGF,eAAO,MAAM,yBAAyB,mFAmBrC,CAAC;AAGF,eAAO,MAAM,UAAU,oEAEtB,CAAC"}
1
+ {"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Signifier/Styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAQvD,eAAO,MAAM,eAAe;gBAA4B,MAAM;SAkB7D,CAAC;AAGF,eAAO,MAAM,yBAAyB,mFAmBrC,CAAC;AAGF,eAAO,MAAM,UAAU,oEAEtB,CAAC"}
@@ -5,7 +5,7 @@ import { FontStyle } from "../FontStyle";
5
5
  export const StyledSignifier = styled.div.withConfig({
6
6
  displayName: "Styles__StyledSignifier",
7
7
  componentId: "sc-1idn4je-0"
8
- })(["", " ", " ", " cursor:default;", " ", ""], {
8
+ })(["", " ", " ", " ", " ", ""], {
9
9
  "display": "inline-flex",
10
10
  "alignItems": "center",
11
11
  "color": "var(--color-theme-800)"
@@ -1 +1 @@
1
- {"version":3,"file":"Styles.js","names":["CSSTransition","styled","css","BoxSizingStyle","FontStyle","StyledSignifier","div","withConfig","displayName","componentId","props","$direction","StyledSignifierTransition","StyledIcon","svg"],"sources":["../../../../src/components/Signifier/Styles.ts"],"sourcesContent":["import { CSSTransition } from \"react-transition-group\";\n\nimport styled, { css } from \"styled-components\";\nimport tw from \"twin.macro\";\n\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { FontStyle } from \"../FontStyle\";\n\nexport const StyledSignifier = styled.div<{ $direction: string }>`\n ${tw`tw-inline-flex tw-items-center tw-text-theme-800`}\n ${FontStyle}\n ${BoxSizingStyle}\n\n cursor: default;\n\n ${(props) =>\n props.$direction === \"c-signifier--top\" &&\n css`\n --signifier-in: 60%;\n --signifier-out: -60%;\n `}\n\n ${(props) =>\n props.$direction === \"c-signifier--bottom\" &&\n css`\n --signifier-in: -60%;\n --signifier-out: 60%;\n `}\n`;\nStyledSignifier.displayName = \"StyledSignifier\";\n\nexport const StyledSignifierTransition = styled(CSSTransition)`\n &.c-signifier--animate-enter {\n opacity: 0;\n transform: translateY(var(--signifier-in));\n }\n &.c-signifier--animate-enter-active {\n opacity: 1;\n transform: translateY(0%);\n transition-duration: 300ms;\n }\n &.c-signifier--animate-exit {\n transform: translateY(0%);\n opacity: 1;\n }\n &.c-signifier--animate-exit-active {\n transform: translateY(var(--signifier-out));\n opacity: 0;\n transition-duration: 300ms;\n }\n`;\nStyledSignifierTransition.displayName = \"StyledSignifierTransition\";\n\nexport const StyledIcon = styled.svg`\n ${tw`tw-text-xs tw-mr-1`}\n`;\nStyledIcon.displayName = \"StyledIcon\";\n"],"mappings":"AAAA,SAASA,aAAa,QAAQ,wBAAwB;AAEtD,OAAOC,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAG/C,SAASC,cAAc,QAAQ,mBAAmB;AAClD,SAASC,SAAS,QAAQ,cAAc;AAExC,OAAO,MAAMC,eAAe,GAAGJ,MAAM,CAACK,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,gDACnC;EAAA;EAAA;EAAA;AAAiD,CAAC,EACpDL,SAAS,EACTD,cAAc,EAIbO,KAAK,IACNA,KAAK,CAACC,UAAU,KAAK,kBAAkB,IACvCT,GAAG,8CAGF,EAEAQ,KAAK,IACNA,KAAK,CAACC,UAAU,KAAK,qBAAqB,IAC1CT,GAAG,8CAGF,CACJ;AACDG,eAAe,CAACG,WAAW,GAAG,iBAAiB;AAE/C,OAAO,MAAMI,yBAAyB,GAAGX,MAAM,CAACD,aAAa,CAAC,CAAAO,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,+WAmB7D;AACDG,yBAAyB,CAACJ,WAAW,GAAG,2BAA2B;AAEnE,OAAO,MAAMK,UAAU,GAAGZ,MAAM,CAACa,GAAG,CAAAP,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,aAC9B;EAAA;EAAA;EAAA;AAAmB,CAAC,CACzB;AACDI,UAAU,CAACL,WAAW,GAAG,YAAY","ignoreList":[]}
1
+ {"version":3,"file":"Styles.js","names":["CSSTransition","styled","css","BoxSizingStyle","FontStyle","StyledSignifier","div","withConfig","displayName","componentId","props","$direction","StyledSignifierTransition","StyledIcon","svg"],"sources":["../../../../src/components/Signifier/Styles.ts"],"sourcesContent":["import { CSSTransition } from \"react-transition-group\";\n\nimport styled, { css } from \"styled-components\";\nimport tw from \"twin.macro\";\n\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { FontStyle } from \"../FontStyle\";\n\nexport const StyledSignifier = styled.div<{ $direction: string }>`\n ${tw`tw-inline-flex tw-items-center tw-text-theme-800`}\n ${FontStyle}\n ${BoxSizingStyle}\n\n ${(props) =>\n props.$direction === \"c-signifier--top\" &&\n css`\n --signifier-in: 60%;\n --signifier-out: -60%;\n `}\n\n ${(props) =>\n props.$direction === \"c-signifier--bottom\" &&\n css`\n --signifier-in: -60%;\n --signifier-out: 60%;\n `}\n`;\nStyledSignifier.displayName = \"StyledSignifier\";\n\nexport const StyledSignifierTransition = styled(CSSTransition)`\n &.c-signifier--animate-enter {\n opacity: 0;\n transform: translateY(var(--signifier-in));\n }\n &.c-signifier--animate-enter-active {\n opacity: 1;\n transform: translateY(0%);\n transition-duration: 300ms;\n }\n &.c-signifier--animate-exit {\n transform: translateY(0%);\n opacity: 1;\n }\n &.c-signifier--animate-exit-active {\n transform: translateY(var(--signifier-out));\n opacity: 0;\n transition-duration: 300ms;\n }\n`;\nStyledSignifierTransition.displayName = \"StyledSignifierTransition\";\n\nexport const StyledIcon = styled.svg`\n ${tw`tw-text-xs tw-mr-1`}\n`;\nStyledIcon.displayName = \"StyledIcon\";\n"],"mappings":"AAAA,SAASA,aAAa,QAAQ,wBAAwB;AAEtD,OAAOC,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAG/C,SAASC,cAAc,QAAQ,mBAAmB;AAClD,SAASC,SAAS,QAAQ,cAAc;AAExC,OAAO,MAAMC,eAAe,GAAGJ,MAAM,CAACK,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,iCACnC;EAAA;EAAA;EAAA;AAAiD,CAAC,EACpDL,SAAS,EACTD,cAAc,EAEbO,KAAK,IACNA,KAAK,CAACC,UAAU,KAAK,kBAAkB,IACvCT,GAAG,8CAGF,EAEAQ,KAAK,IACNA,KAAK,CAACC,UAAU,KAAK,qBAAqB,IAC1CT,GAAG,8CAGF,CACJ;AACDG,eAAe,CAACG,WAAW,GAAG,iBAAiB;AAE/C,OAAO,MAAMI,yBAAyB,GAAGX,MAAM,CAACD,aAAa,CAAC,CAAAO,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,+WAmB7D;AACDG,yBAAyB,CAACJ,WAAW,GAAG,2BAA2B;AAEnE,OAAO,MAAMK,UAAU,GAAGZ,MAAM,CAACa,GAAG,CAAAP,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,aAC9B;EAAA;EAAA;EAAA;AAAmB,CAAC,CACzB;AACDI,UAAU,CAACL,WAAW,GAAG,YAAY","ignoreList":[]}
package/dist/index.js CHANGED
@@ -20295,7 +20295,7 @@
20295
20295
  var StyledSignifier = styled__default["default"].div.withConfig({
20296
20296
  displayName: "Styles__StyledSignifier",
20297
20297
  componentId: "sc-1idn4je-0"
20298
- })(["", " ", " ", " cursor:default;", " ", ""], {
20298
+ })(["", " ", " ", " ", " ", ""], {
20299
20299
  "display": "inline-flex",
20300
20300
  "alignItems": "center",
20301
20301
  "color": "var(--color-theme-800)"
@@ -27201,12 +27201,12 @@
27201
27201
  var StyledPillIcon = styled__default["default"].span.withConfig({
27202
27202
  displayName: "Styles__StyledPillIcon",
27203
27203
  componentId: "sc-14yhio0-0"
27204
- })(["display:inline-flex;flex-shrink:0;color:var(--color-theme-600);transition:opacity 0.2s ease,color 0.2s ease;svg{width:18px;height:18px;fill:currentColor;}"]);
27204
+ })(["display:inline-flex;flex-shrink:0;color:var(--color-theme-600);svg{width:18px;height:18px;fill:currentColor;}"]);
27205
27205
  StyledPillIcon.displayName = "StyledPillIcon";
27206
27206
  var StyledPillPlaceholder = styled__default["default"].span.withConfig({
27207
27207
  displayName: "Styles__StyledPillPlaceholder",
27208
27208
  componentId: "sc-14yhio0-1"
27209
- })(["overflow:hidden;text-overflow:ellipsis;transition:opacity 0.2s ease;"]);
27209
+ })(["overflow:hidden;text-overflow:ellipsis;"]);
27210
27210
  StyledPillPlaceholder.displayName = "StyledPillPlaceholder";
27211
27211
  var activeStyle = styled.css(["background-color:var(--pill-background-active);color:var(--color-primary);", "{color:var(--color-primary);}"], StyledPillIcon);
27212
27212
  var hoverTextStyle = styled.css(["color:var(--color-theme-900);", "{color:var(--color-theme-900);}"], StyledPillIcon);
@@ -27226,7 +27226,7 @@
27226
27226
  var StyledPillButton = styled__default["default"].button.withConfig({
27227
27227
  displayName: "Styles__StyledPillButton",
27228
27228
  componentId: "sc-14yhio0-2"
27229
- })(["", " ", " display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;max-width:100%;height:", ";margin:0;padding:0 ", ";border:none;border-radius:var(--ac-br-rounded);font-size:0.875rem;font-weight:500;line-height:1;white-space:nowrap;color:", ";cursor:pointer;user-select:none;transition:background-color 0.2s ease,color 0.2s ease,border-color 0.2s ease;&:focus{outline:none;}&:disabled{cursor:default;opacity:50%;pointer-events:none;}", " ", " ", " ", " ", " ", " &[aria-haspopup][aria-expanded=\"true\"],.c-pill-host:hover &[aria-haspopup][aria-expanded=\"true\"]{", "}"], FontStyle, BoxSizingStyle, function (props) {
27229
+ })(["", " ", " display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;max-width:100%;height:", ";margin:0;padding:0 ", ";border:none;border-radius:var(--ac-br-rounded);font-size:0.875rem;font-weight:500;line-height:1;white-space:nowrap;color:", ";cursor:pointer;user-select:none;&:focus{outline:none;}&:disabled{cursor:default;opacity:50%;pointer-events:none;}", " ", " ", " ", " ", " ", " &[aria-haspopup][aria-expanded=\"true\"],.c-pill-host:hover &[aria-haspopup][aria-expanded=\"true\"]{", "}"], FontStyle, BoxSizingStyle, function (props) {
27230
27230
  return props.$size === "small" ? "24px" : "26px";
27231
27231
  }, function (props) {
27232
27232
  return props.$inset === "tight" ? "6px" : "10px";