@activecollab/components 2.0.518 → 2.0.519
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/cjs/components/Collapse/Styles.js +2 -2
- package/dist/cjs/components/Collapse/Styles.js.map +1 -1
- package/dist/cjs/components/Nav/Styles.js +3 -1
- package/dist/cjs/components/Nav/Styles.js.map +1 -1
- package/dist/esm/components/Collapse/Styles.d.ts.map +1 -1
- package/dist/esm/components/Collapse/Styles.js +2 -2
- package/dist/esm/components/Collapse/Styles.js.map +1 -1
- package/dist/esm/components/Nav/Styles.d.ts.map +1 -1
- package/dist/esm/components/Nav/Styles.js +3 -1
- package/dist/esm/components/Nav/Styles.js.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
9
9
|
var StyledCollapse = exports.StyledCollapse = _styledComponents.default.div.withConfig({
|
|
10
10
|
displayName: "Styles__StyledCollapse",
|
|
11
11
|
componentId: "sc-1ov56au-0"
|
|
12
|
-
})(["display:grid;grid-template-rows:", ";transition:grid-template-rows ", "ms cubic-bezier(0,0,0.2,1);@media (prefers-reduced-motion:reduce){transition:none;}"], function (_ref) {
|
|
12
|
+
})(["display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:", ";transition:grid-template-rows ", "ms cubic-bezier(0,0,0.2,1);@media (prefers-reduced-motion:reduce){transition:none;}"], function (_ref) {
|
|
13
13
|
var $open = _ref.$open;
|
|
14
14
|
return $open ? "1fr" : "0fr";
|
|
15
15
|
}, function (_ref2) {
|
|
@@ -19,7 +19,7 @@ var StyledCollapse = exports.StyledCollapse = _styledComponents.default.div.with
|
|
|
19
19
|
var StyledCollapseContent = exports.StyledCollapseContent = _styledComponents.default.div.withConfig({
|
|
20
20
|
displayName: "Styles__StyledCollapseContent",
|
|
21
21
|
componentId: "sc-1ov56au-1"
|
|
22
|
-
})(["min-height:0;", ""], function (_ref3) {
|
|
22
|
+
})(["min-height:0;min-width:0;", ""], function (_ref3) {
|
|
23
23
|
var $clip = _ref3.$clip;
|
|
24
24
|
return $clip === "vertical" ? "clip-path: inset(0 -100vw);" : "overflow: hidden;";
|
|
25
25
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.js","names":["_styledComponents","_interopRequireDefault","require","e","__esModule","default","StyledCollapse","exports","styled","div","withConfig","displayName","componentId","_ref","$open","_ref2","$duration","StyledCollapseContent","_ref3","$clip"],"sources":["../../../../src/components/Collapse/Styles.ts"],"sourcesContent":["import styled from \"styled-components\";\n\nexport const StyledCollapse = styled.div<{ $open: boolean; $duration: number }>`\n display: grid;\n grid-template-rows: ${({ $open }) => ($open ? \"1fr\" : \"0fr\")};\n transition: grid-template-rows ${({ $duration }) => $duration}ms\n cubic-bezier(0, 0, 0.2, 1);\n\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n`;\n\nexport const StyledCollapseContent = styled.div<{ $clip: \"both\" | \"vertical\" }>`\n min-height: 0;\n ${({ $clip }) =>\n $clip === \"vertical\" ? \"clip-path: inset(0 -100vw);\" : \"overflow: hidden;\"}\n`;\n"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAuC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEhC,IAAMG,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAGE,yBAAM,CAACC,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"Styles.js","names":["_styledComponents","_interopRequireDefault","require","e","__esModule","default","StyledCollapse","exports","styled","div","withConfig","displayName","componentId","_ref","$open","_ref2","$duration","StyledCollapseContent","_ref3","$clip"],"sources":["../../../../src/components/Collapse/Styles.ts"],"sourcesContent":["import styled from \"styled-components\";\n\nexport const StyledCollapse = styled.div<{ $open: boolean; $duration: number }>`\n display: grid;\n /* Long content, such as a title that does not wrap, shrinks to the column and never widens the page. */\n grid-template-columns: minmax(0, 1fr);\n grid-template-rows: ${({ $open }) => ($open ? \"1fr\" : \"0fr\")};\n transition: grid-template-rows ${({ $duration }) => $duration}ms\n cubic-bezier(0, 0, 0.2, 1);\n\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n`;\n\nexport const StyledCollapseContent = styled.div<{ $clip: \"both\" | \"vertical\" }>`\n min-height: 0;\n min-width: 0;\n ${({ $clip }) =>\n $clip === \"vertical\" ? \"clip-path: inset(0 -100vw);\" : \"overflow: hidden;\"}\n`;\n"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAuC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEhC,IAAMG,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAGE,yBAAM,CAACC,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,uMAIhB,UAAAC,IAAA;EAAA,IAAGC,KAAK,GAAAD,IAAA,CAALC,KAAK;EAAA,OAAQA,KAAK,GAAG,KAAK,GAAG,KAAK;AAAA,CAAC,EAC3B,UAAAC,KAAA;EAAA,IAAGC,SAAS,GAAAD,KAAA,CAATC,SAAS;EAAA,OAAOA,SAAS;AAAA,EAM9D;AAEM,IAAMC,qBAAqB,GAAAV,OAAA,CAAAU,qBAAA,GAAGT,yBAAM,CAACC,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,sCAG3C,UAAAM,KAAA;EAAA,IAAGC,KAAK,GAAAD,KAAA,CAALC,KAAK;EAAA,OACRA,KAAK,KAAK,UAAU,GAAG,6BAA6B,GAAG,mBAAmB;AAAA,EAC7E","ignoreList":[]}
|
|
@@ -40,7 +40,7 @@ StyledNavList.displayName = "StyledNavList";
|
|
|
40
40
|
var StyledNavListItem = exports.StyledNavListItem = _styledComponents.default.li.withConfig({
|
|
41
41
|
displayName: "Styles__StyledNavListItem",
|
|
42
42
|
componentId: "sc-1khiypw-2"
|
|
43
|
-
})(["", " color:var(--color-theme-700);font-size:15px;display:flex;align-items:center;font-weight:500;padding:0 10px;flex-shrink:0;&:hover,&:hover *{", "}", " &::after{content:\"\";", " bottom:0;left:50%;transform:translateX(-50%);height:3px;transition:width 0.3s ease,background-color 0.3s ease;}", " ", " ", " ", ""], {
|
|
43
|
+
})(["", " color:var(--color-theme-700);font-size:15px;display:flex;align-items:center;font-weight:500;padding:0 10px;flex-shrink:0;&:hover,&:hover *{", "}", " & :focus-visible{outline:none;}&:has(:focus-visible),&:has(:focus-visible) *{", "}&::after{content:\"\";", " bottom:0;left:50%;transform:translateX(-50%);height:3px;transition:width 0.3s ease,background-color 0.3s ease;}", " ", " ", " ", ""], {
|
|
44
44
|
"position": "relative",
|
|
45
45
|
"cursor": "default",
|
|
46
46
|
"userSelect": "none",
|
|
@@ -54,6 +54,8 @@ var StyledNavListItem = exports.StyledNavListItem = _styledComponents.default.li
|
|
|
54
54
|
return !props.$active && !props.$disabled && (0, _styledComponents.css)(["", ""], {
|
|
55
55
|
"cursor": "pointer"
|
|
56
56
|
});
|
|
57
|
+
}, {
|
|
58
|
+
"color": "var(--color-primary)"
|
|
57
59
|
}, {
|
|
58
60
|
"position": "absolute",
|
|
59
61
|
"margin": "auto",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.js","names":["_styledComponents","_interopRequireWildcard","require","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","StyledNav","exports","styled","nav","withConfig","displayName","componentId","props","$align","css","$role","StyledNavList","ul","StyledNavListItem","li","$disabled","$active","StyledNavAsSelect","div","StyledNavAsMoreTarget"],"sources":["../../../../src/components/Nav/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\nimport tw from \"twin.macro\";\n\nimport { NavAlignType, NavRoleType } from \"./Nav\";\n\ninterface StyledNavProps {\n $align?: NavAlignType;\n $role?: NavRoleType;\n}\n\nexport const StyledNav = styled.nav<StyledNavProps>`\n ${tw`tw-flex`}\n height: 100%;\n width: 100%;\n overflow: clip visible;\n\n ${(props) =>\n props.$align === \"left\" &&\n css`\n ${tw`tw-justify-start`}\n `}\n\n ${(props) =>\n props.$align === \"center\" &&\n css`\n ${tw`tw-justify-center`}\n `}\n\n ${(props) =>\n props.$align === \"right\" &&\n css`\n ${tw`tw-justify-end`}\n `}\n\n ${(props) =>\n props.$role === \"light\" &&\n css`\n height: auto;\n `}\n`;\n\nStyledNav.displayName = \"StyledNav\";\n\nexport const StyledNavList = styled.ul`\n ${tw`tw-flex tw-list-none tw-m-0 tw-p-0`}\n overflow: clip visible;\n`;\n\nStyledNavList.displayName = \"StyledNavList\";\n\ninterface StyledNavListItemProps {\n $active?: boolean;\n $disabled?: boolean;\n $role?: NavRoleType;\n $asMore?: boolean;\n}\n\nexport const StyledNavListItem = styled.li<StyledNavListItemProps>`\n ${tw`tw-text-sm tw-cursor-default tw-relative tw-select-none`}\n color: var(--color-theme-700);\n font-size: 15px;\n display: flex;\n align-items: center;\n font-weight: 500;\n padding: 0 10px;\n flex-shrink: 0;\n\n &:hover,\n &:hover * {\n ${(props) =>\n !props.$disabled &&\n css`\n ${tw`tw-text-primary`}\n `}\n }\n\n ${(props) =>\n !props.$active &&\n !props.$disabled &&\n css`\n ${tw`tw-cursor-pointer`}\n `}\n\n &::after {\n content: \"\";\n ${tw`tw-absolute tw-block tw-m-auto tw-w-0 tw-bg-transparent`}\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n height: 3px;\n transition: width 0.3s ease, background-color 0.3s ease;\n }\n\n ${(props) =>\n props.$active &&\n css`\n ${tw`tw-pointer-events-none`}\n &::after {\n ${tw`tw-w-full tw-bg-primary`}\n }\n `}\n\n ${(props) =>\n props.$disabled &&\n css`\n ${tw`tw-select-none tw-cursor-not-allowed tw-opacity-50`}\n `}\n\n ${(props) =>\n props.$role === \"light\" &&\n css`\n ${tw`tw-text-sm`}\n color: var(--color-theme-800);\n font-weight: 400;\n padding: 0 8px;\n\n &::after {\n bottom: -4px;\n height: 2px;\n }\n `}\n\n ${(props) =>\n props.$active &&\n css`\n ${tw`tw-text-primary`}\n & * {\n ${tw`tw-text-primary`}\n }\n `}\n`;\n\nStyledNavListItem.displayName = \"StyledNavListItem\";\n\nexport const StyledNavAsSelect = styled.div<{ $active: boolean }>`\n padding: 0 10px;\n height: 100%;\n display: flex;\n align-items: center;\n gap: 4px;\n\n svg {\n color: var(--color-primary);\n top: 1px;\n position: relative;\n }\n\n ${(props) =>\n props.$active &&\n css`\n ${tw`tw-text-primary`}\n & * {\n ${tw`tw-text-primary`}\n }\n `}\n`;\n\nStyledNavAsSelect.displayName = \"StyledNavAsSelect\";\n\nexport const StyledNavAsMoreTarget = styled.div<{\n $role?: NavRoleType;\n}>`\n padding: 0 10px;\n height: 100%;\n display: flex;\n align-items: center;\n\n ${(props) =>\n props.$role === \"light\" &&\n css`\n padding: 0;\n `}\n`;\n\nStyledNavAsMoreTarget.displayName = \"StyledNavAsMoreTarget\";\n"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,uBAAA,CAAAC,OAAA;AAAgD,SAAAD,wBAAAE,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAJ,uBAAA,YAAAA,wBAAAE,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA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AAEDT,SAAS,CAACK,WAAW,GAAG,WAAW;AAE5B,IAAMM,aAAa,GAAAV,OAAA,CAAAU,aAAA,GAAGT,yBAAM,CAACU,EAAE,CAAAR,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,oCAChC;EAAA;EAAA;EAAA;EAAA;AAAmC,CAAC,CAEzC;AAEDK,aAAa,CAACN,WAAW,GAAG,eAAe;AASpC,IAAMQ,iBAAiB,GAAAZ,OAAA,CAAAY,iBAAA,GAAGX,yBAAM,CAACY,EAAE,CAAAV,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"Styles.js","names":["_styledComponents","_interopRequireWildcard","require","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","StyledNav","exports","styled","nav","withConfig","displayName","componentId","props","$align","css","$role","StyledNavList","ul","StyledNavListItem","li","$disabled","$active","StyledNavAsSelect","div","StyledNavAsMoreTarget"],"sources":["../../../../src/components/Nav/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\nimport tw from \"twin.macro\";\n\nimport { NavAlignType, NavRoleType } from \"./Nav\";\n\ninterface StyledNavProps {\n $align?: NavAlignType;\n $role?: NavRoleType;\n}\n\nexport const StyledNav = styled.nav<StyledNavProps>`\n ${tw`tw-flex`}\n height: 100%;\n width: 100%;\n overflow: clip visible;\n\n ${(props) =>\n props.$align === \"left\" &&\n css`\n ${tw`tw-justify-start`}\n `}\n\n ${(props) =>\n props.$align === \"center\" &&\n css`\n ${tw`tw-justify-center`}\n `}\n\n ${(props) =>\n props.$align === \"right\" &&\n css`\n ${tw`tw-justify-end`}\n `}\n\n ${(props) =>\n props.$role === \"light\" &&\n css`\n height: auto;\n `}\n`;\n\nStyledNav.displayName = \"StyledNav\";\n\nexport const StyledNavList = styled.ul`\n ${tw`tw-flex tw-list-none tw-m-0 tw-p-0`}\n overflow: clip visible;\n`;\n\nStyledNavList.displayName = \"StyledNavList\";\n\ninterface StyledNavListItemProps {\n $active?: boolean;\n $disabled?: boolean;\n $role?: NavRoleType;\n $asMore?: boolean;\n}\n\nexport const StyledNavListItem = styled.li<StyledNavListItemProps>`\n ${tw`tw-text-sm tw-cursor-default tw-relative tw-select-none`}\n color: var(--color-theme-700);\n font-size: 15px;\n display: flex;\n align-items: center;\n font-weight: 500;\n padding: 0 10px;\n flex-shrink: 0;\n\n &:hover,\n &:hover * {\n ${(props) =>\n !props.$disabled &&\n css`\n ${tw`tw-text-primary`}\n `}\n }\n\n ${(props) =>\n !props.$active &&\n !props.$disabled &&\n css`\n ${tw`tw-cursor-pointer`}\n `}\n\n /* The keyboard focus looks like the hover: the browser ring would be cut by the clipped bar. */\n & :focus-visible {\n outline: none;\n }\n\n &:has(:focus-visible),\n &:has(:focus-visible) * {\n ${tw`tw-text-primary`}\n }\n\n &::after {\n content: \"\";\n ${tw`tw-absolute tw-block tw-m-auto tw-w-0 tw-bg-transparent`}\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n height: 3px;\n transition: width 0.3s ease, background-color 0.3s ease;\n }\n\n ${(props) =>\n props.$active &&\n css`\n ${tw`tw-pointer-events-none`}\n &::after {\n ${tw`tw-w-full tw-bg-primary`}\n }\n `}\n\n ${(props) =>\n props.$disabled &&\n css`\n ${tw`tw-select-none tw-cursor-not-allowed tw-opacity-50`}\n `}\n\n ${(props) =>\n props.$role === \"light\" &&\n css`\n ${tw`tw-text-sm`}\n color: var(--color-theme-800);\n font-weight: 400;\n padding: 0 8px;\n\n &::after {\n bottom: -4px;\n height: 2px;\n }\n `}\n\n ${(props) =>\n props.$active &&\n css`\n ${tw`tw-text-primary`}\n & * {\n ${tw`tw-text-primary`}\n }\n `}\n`;\n\nStyledNavListItem.displayName = \"StyledNavListItem\";\n\nexport const StyledNavAsSelect = styled.div<{ $active: boolean }>`\n padding: 0 10px;\n height: 100%;\n display: flex;\n align-items: center;\n gap: 4px;\n\n svg {\n color: var(--color-primary);\n top: 1px;\n position: relative;\n }\n\n ${(props) =>\n props.$active &&\n css`\n ${tw`tw-text-primary`}\n & * {\n ${tw`tw-text-primary`}\n }\n `}\n`;\n\nStyledNavAsSelect.displayName = \"StyledNavAsSelect\";\n\nexport const StyledNavAsMoreTarget = styled.div<{\n $role?: NavRoleType;\n}>`\n padding: 0 10px;\n height: 100%;\n display: flex;\n align-items: center;\n\n ${(props) =>\n props.$role === \"light\" &&\n css`\n padding: 0;\n `}\n`;\n\nStyledNavAsMoreTarget.displayName = \"StyledNavAsMoreTarget\";\n"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,uBAAA,CAAAC,OAAA;AAAgD,SAAAD,wBAAAE,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAJ,uBAAA,YAAAA,wBAAAE,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,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,cAAAM,EAAA,IAAAd,CAAA,gBAAAc,EAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,EAAA,OAAAP,CAAA,IAAAD,CAAA,GAAAW,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAnB,CAAA,EAAAc,EAAA,OAAAP,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,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O,QACvBD,qBAAG,iBAEF;AAAA,EACJ;AAEDU,qBAAqB,CAACd,WAAW,GAAG,uBAAuB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Collapse/Styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;WAAuB,OAAO;eAAa,MAAM;
|
|
1
|
+
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Collapse/Styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;WAAuB,OAAO;eAAa,MAAM;SAW3E,CAAC;AAEF,eAAO,MAAM,qBAAqB;WAAuB,MAAM,GAAG,UAAU;SAK3E,CAAC"}
|
|
@@ -2,7 +2,7 @@ import styled from "styled-components";
|
|
|
2
2
|
export const StyledCollapse = styled.div.withConfig({
|
|
3
3
|
displayName: "Styles__StyledCollapse",
|
|
4
4
|
componentId: "sc-1ov56au-0"
|
|
5
|
-
})(["display:grid;grid-template-rows:", ";transition:grid-template-rows ", "ms cubic-bezier(0,0,0.2,1);@media (prefers-reduced-motion:reduce){transition:none;}"], _ref => {
|
|
5
|
+
})(["display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:", ";transition:grid-template-rows ", "ms cubic-bezier(0,0,0.2,1);@media (prefers-reduced-motion:reduce){transition:none;}"], _ref => {
|
|
6
6
|
let $open = _ref.$open;
|
|
7
7
|
return $open ? "1fr" : "0fr";
|
|
8
8
|
}, _ref2 => {
|
|
@@ -12,7 +12,7 @@ export const StyledCollapse = styled.div.withConfig({
|
|
|
12
12
|
export const StyledCollapseContent = styled.div.withConfig({
|
|
13
13
|
displayName: "Styles__StyledCollapseContent",
|
|
14
14
|
componentId: "sc-1ov56au-1"
|
|
15
|
-
})(["min-height:0;", ""], _ref3 => {
|
|
15
|
+
})(["min-height:0;min-width:0;", ""], _ref3 => {
|
|
16
16
|
let $clip = _ref3.$clip;
|
|
17
17
|
return $clip === "vertical" ? "clip-path: inset(0 -100vw);" : "overflow: hidden;";
|
|
18
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.js","names":["styled","StyledCollapse","div","withConfig","displayName","componentId","_ref","$open","_ref2","$duration","StyledCollapseContent","_ref3","$clip"],"sources":["../../../../src/components/Collapse/Styles.ts"],"sourcesContent":["import styled from \"styled-components\";\n\nexport const StyledCollapse = styled.div<{ $open: boolean; $duration: number }>`\n display: grid;\n grid-template-rows: ${({ $open }) => ($open ? \"1fr\" : \"0fr\")};\n transition: grid-template-rows ${({ $duration }) => $duration}ms\n cubic-bezier(0, 0, 0.2, 1);\n\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n`;\n\nexport const StyledCollapseContent = styled.div<{ $clip: \"both\" | \"vertical\" }>`\n min-height: 0;\n ${({ $clip }) =>\n $clip === \"vertical\" ? \"clip-path: inset(0 -100vw);\" : \"overflow: hidden;\"}\n`;\n"],"mappings":"AAAA,OAAOA,MAAM,MAAM,mBAAmB;AAEtC,OAAO,MAAMC,cAAc,GAAGD,MAAM,CAACE,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"Styles.js","names":["styled","StyledCollapse","div","withConfig","displayName","componentId","_ref","$open","_ref2","$duration","StyledCollapseContent","_ref3","$clip"],"sources":["../../../../src/components/Collapse/Styles.ts"],"sourcesContent":["import styled from \"styled-components\";\n\nexport const StyledCollapse = styled.div<{ $open: boolean; $duration: number }>`\n display: grid;\n /* Long content, such as a title that does not wrap, shrinks to the column and never widens the page. */\n grid-template-columns: minmax(0, 1fr);\n grid-template-rows: ${({ $open }) => ($open ? \"1fr\" : \"0fr\")};\n transition: grid-template-rows ${({ $duration }) => $duration}ms\n cubic-bezier(0, 0, 0.2, 1);\n\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n`;\n\nexport const StyledCollapseContent = styled.div<{ $clip: \"both\" | \"vertical\" }>`\n min-height: 0;\n min-width: 0;\n ${({ $clip }) =>\n $clip === \"vertical\" ? \"clip-path: inset(0 -100vw);\" : \"overflow: hidden;\"}\n`;\n"],"mappings":"AAAA,OAAOA,MAAM,MAAM,mBAAmB;AAEtC,OAAO,MAAMC,cAAc,GAAGD,MAAM,CAACE,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,uMAIhBC,IAAA;EAAA,IAAGC,KAAK,GAAAD,IAAA,CAALC,KAAK;EAAA,OAAQA,KAAK,GAAG,KAAK,GAAG,KAAK;AAAA,CAAC,EAC3BC,KAAA;EAAA,IAAGC,SAAS,GAAAD,KAAA,CAATC,SAAS;EAAA,OAAOA,SAAS;AAAA,EAM9D;AAED,OAAO,MAAMC,qBAAqB,GAAGV,MAAM,CAACE,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,sCAG3CM,KAAA;EAAA,IAAGC,KAAK,GAAAD,KAAA,CAALC,KAAK;EAAA,OACRA,KAAK,KAAK,UAAU,GAAG,6BAA6B,GAAG,mBAAmB;AAAA,EAC7E","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Nav/Styles.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAElD,UAAU,cAAc;IACtB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,eAAO,MAAM,SAAS,gFA6BrB,CAAC;AAIF,eAAO,MAAM,aAAa,mEAGzB,CAAC;AAIF,UAAU,sBAAsB;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Nav/Styles.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAElD,UAAU,cAAc;IACtB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,eAAO,MAAM,SAAS,gFA6BrB,CAAC;AAIF,eAAO,MAAM,aAAa,mEAGzB,CAAC;AAIF,UAAU,sBAAsB;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,iBAAiB,uFAmF7B,CAAC;AAIF,eAAO,MAAM,iBAAiB;aAAyB,OAAO;SAqB7D,CAAC;AAIF,eAAO,MAAM,qBAAqB;YACxB,WAAW;SAYpB,CAAC"}
|
|
@@ -25,7 +25,7 @@ StyledNavList.displayName = "StyledNavList";
|
|
|
25
25
|
export const StyledNavListItem = styled.li.withConfig({
|
|
26
26
|
displayName: "Styles__StyledNavListItem",
|
|
27
27
|
componentId: "sc-1khiypw-2"
|
|
28
|
-
})(["", " color:var(--color-theme-700);font-size:15px;display:flex;align-items:center;font-weight:500;padding:0 10px;flex-shrink:0;&:hover,&:hover *{", "}", " &::after{content:\"\";", " bottom:0;left:50%;transform:translateX(-50%);height:3px;transition:width 0.3s ease,background-color 0.3s ease;}", " ", " ", " ", ""], {
|
|
28
|
+
})(["", " color:var(--color-theme-700);font-size:15px;display:flex;align-items:center;font-weight:500;padding:0 10px;flex-shrink:0;&:hover,&:hover *{", "}", " & :focus-visible{outline:none;}&:has(:focus-visible),&:has(:focus-visible) *{", "}&::after{content:\"\";", " bottom:0;left:50%;transform:translateX(-50%);height:3px;transition:width 0.3s ease,background-color 0.3s ease;}", " ", " ", " ", ""], {
|
|
29
29
|
"position": "relative",
|
|
30
30
|
"cursor": "default",
|
|
31
31
|
"userSelect": "none",
|
|
@@ -36,6 +36,8 @@ export const StyledNavListItem = styled.li.withConfig({
|
|
|
36
36
|
}), props => !props.$active && !props.$disabled && css(["", ""], {
|
|
37
37
|
"cursor": "pointer"
|
|
38
38
|
}), {
|
|
39
|
+
"color": "var(--color-primary)"
|
|
40
|
+
}, {
|
|
39
41
|
"position": "absolute",
|
|
40
42
|
"margin": "auto",
|
|
41
43
|
"display": "block",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.js","names":["styled","css","StyledNav","nav","withConfig","displayName","componentId","props","$align","$role","StyledNavList","ul","StyledNavListItem","li","$disabled","$active","StyledNavAsSelect","div","StyledNavAsMoreTarget"],"sources":["../../../../src/components/Nav/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\nimport tw from \"twin.macro\";\n\nimport { NavAlignType, NavRoleType } from \"./Nav\";\n\ninterface StyledNavProps {\n $align?: NavAlignType;\n $role?: NavRoleType;\n}\n\nexport const StyledNav = styled.nav<StyledNavProps>`\n ${tw`tw-flex`}\n height: 100%;\n width: 100%;\n overflow: clip visible;\n\n ${(props) =>\n props.$align === \"left\" &&\n css`\n ${tw`tw-justify-start`}\n `}\n\n ${(props) =>\n props.$align === \"center\" &&\n css`\n ${tw`tw-justify-center`}\n `}\n\n ${(props) =>\n props.$align === \"right\" &&\n css`\n ${tw`tw-justify-end`}\n `}\n\n ${(props) =>\n props.$role === \"light\" &&\n css`\n height: auto;\n `}\n`;\n\nStyledNav.displayName = \"StyledNav\";\n\nexport const StyledNavList = styled.ul`\n ${tw`tw-flex tw-list-none tw-m-0 tw-p-0`}\n overflow: clip visible;\n`;\n\nStyledNavList.displayName = \"StyledNavList\";\n\ninterface StyledNavListItemProps {\n $active?: boolean;\n $disabled?: boolean;\n $role?: NavRoleType;\n $asMore?: boolean;\n}\n\nexport const StyledNavListItem = styled.li<StyledNavListItemProps>`\n ${tw`tw-text-sm tw-cursor-default tw-relative tw-select-none`}\n color: var(--color-theme-700);\n font-size: 15px;\n display: flex;\n align-items: center;\n font-weight: 500;\n padding: 0 10px;\n flex-shrink: 0;\n\n &:hover,\n &:hover * {\n ${(props) =>\n !props.$disabled &&\n css`\n ${tw`tw-text-primary`}\n `}\n }\n\n ${(props) =>\n !props.$active &&\n !props.$disabled &&\n css`\n ${tw`tw-cursor-pointer`}\n `}\n\n &::after {\n content: \"\";\n ${tw`tw-absolute tw-block tw-m-auto tw-w-0 tw-bg-transparent`}\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n height: 3px;\n transition: width 0.3s ease, background-color 0.3s ease;\n }\n\n ${(props) =>\n props.$active &&\n css`\n ${tw`tw-pointer-events-none`}\n &::after {\n ${tw`tw-w-full tw-bg-primary`}\n }\n `}\n\n ${(props) =>\n props.$disabled &&\n css`\n ${tw`tw-select-none tw-cursor-not-allowed tw-opacity-50`}\n `}\n\n ${(props) =>\n props.$role === \"light\" &&\n css`\n ${tw`tw-text-sm`}\n color: var(--color-theme-800);\n font-weight: 400;\n padding: 0 8px;\n\n &::after {\n bottom: -4px;\n height: 2px;\n }\n `}\n\n ${(props) =>\n props.$active &&\n css`\n ${tw`tw-text-primary`}\n & * {\n ${tw`tw-text-primary`}\n }\n `}\n`;\n\nStyledNavListItem.displayName = \"StyledNavListItem\";\n\nexport const StyledNavAsSelect = styled.div<{ $active: boolean }>`\n padding: 0 10px;\n height: 100%;\n display: flex;\n align-items: center;\n gap: 4px;\n\n svg {\n color: var(--color-primary);\n top: 1px;\n position: relative;\n }\n\n ${(props) =>\n props.$active &&\n css`\n ${tw`tw-text-primary`}\n & * {\n ${tw`tw-text-primary`}\n }\n `}\n`;\n\nStyledNavAsSelect.displayName = \"StyledNavAsSelect\";\n\nexport const StyledNavAsMoreTarget = styled.div<{\n $role?: NavRoleType;\n}>`\n padding: 0 10px;\n height: 100%;\n display: flex;\n align-items: center;\n\n ${(props) =>\n props.$role === \"light\" &&\n css`\n padding: 0;\n `}\n`;\n\nStyledNavAsMoreTarget.displayName = \"StyledNavAsMoreTarget\";\n"],"mappings":"AAAA,OAAOA,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAU/C,OAAO,MAAMC,SAAS,GAAGF,MAAM,CAACG,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,8EAC7B;EAAA;AAAQ,CAAC,EAKVC,KAAK,IACNA,KAAK,CAACC,MAAM,KAAK,MAAM,IACvBP,GAAG,WACG;EAAA;AAAiB,CAAC,CACvB,EAEAM,KAAK,IACNA,KAAK,CAACC,MAAM,KAAK,QAAQ,IACzBP,GAAG,WACG;EAAA;AAAkB,CAAC,CACxB,EAEAM,KAAK,IACNA,KAAK,CAACC,MAAM,KAAK,OAAO,IACxBP,GAAG,WACG;EAAA;AAAe,CAAC,CACrB,EAEAM,KAAK,IACNA,KAAK,CAACE,KAAK,KAAK,OAAO,IACvBR,GAAG,kBAEF,CACJ;AAEDC,SAAS,CAACG,WAAW,GAAG,WAAW;AAEnC,OAAO,MAAMK,aAAa,GAAGV,MAAM,CAACW,EAAE,CAAAP,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,oCAChC;EAAA;EAAA;EAAA;EAAA;AAAmC,CAAC,CAEzC;AAEDI,aAAa,CAACL,WAAW,GAAG,eAAe;AAS3C,OAAO,MAAMO,iBAAiB,GAAGZ,MAAM,CAACa,EAAE,CAAAT,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"Styles.js","names":["styled","css","StyledNav","nav","withConfig","displayName","componentId","props","$align","$role","StyledNavList","ul","StyledNavListItem","li","$disabled","$active","StyledNavAsSelect","div","StyledNavAsMoreTarget"],"sources":["../../../../src/components/Nav/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\nimport tw from \"twin.macro\";\n\nimport { NavAlignType, NavRoleType } from \"./Nav\";\n\ninterface StyledNavProps {\n $align?: NavAlignType;\n $role?: NavRoleType;\n}\n\nexport const StyledNav = styled.nav<StyledNavProps>`\n ${tw`tw-flex`}\n height: 100%;\n width: 100%;\n overflow: clip visible;\n\n ${(props) =>\n props.$align === \"left\" &&\n css`\n ${tw`tw-justify-start`}\n `}\n\n ${(props) =>\n props.$align === \"center\" &&\n css`\n ${tw`tw-justify-center`}\n `}\n\n ${(props) =>\n props.$align === \"right\" &&\n css`\n ${tw`tw-justify-end`}\n `}\n\n ${(props) =>\n props.$role === \"light\" &&\n css`\n height: auto;\n `}\n`;\n\nStyledNav.displayName = \"StyledNav\";\n\nexport const StyledNavList = styled.ul`\n ${tw`tw-flex tw-list-none tw-m-0 tw-p-0`}\n overflow: clip visible;\n`;\n\nStyledNavList.displayName = \"StyledNavList\";\n\ninterface StyledNavListItemProps {\n $active?: boolean;\n $disabled?: boolean;\n $role?: NavRoleType;\n $asMore?: boolean;\n}\n\nexport const StyledNavListItem = styled.li<StyledNavListItemProps>`\n ${tw`tw-text-sm tw-cursor-default tw-relative tw-select-none`}\n color: var(--color-theme-700);\n font-size: 15px;\n display: flex;\n align-items: center;\n font-weight: 500;\n padding: 0 10px;\n flex-shrink: 0;\n\n &:hover,\n &:hover * {\n ${(props) =>\n !props.$disabled &&\n css`\n ${tw`tw-text-primary`}\n `}\n }\n\n ${(props) =>\n !props.$active &&\n !props.$disabled &&\n css`\n ${tw`tw-cursor-pointer`}\n `}\n\n /* The keyboard focus looks like the hover: the browser ring would be cut by the clipped bar. */\n & :focus-visible {\n outline: none;\n }\n\n &:has(:focus-visible),\n &:has(:focus-visible) * {\n ${tw`tw-text-primary`}\n }\n\n &::after {\n content: \"\";\n ${tw`tw-absolute tw-block tw-m-auto tw-w-0 tw-bg-transparent`}\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n height: 3px;\n transition: width 0.3s ease, background-color 0.3s ease;\n }\n\n ${(props) =>\n props.$active &&\n css`\n ${tw`tw-pointer-events-none`}\n &::after {\n ${tw`tw-w-full tw-bg-primary`}\n }\n `}\n\n ${(props) =>\n props.$disabled &&\n css`\n ${tw`tw-select-none tw-cursor-not-allowed tw-opacity-50`}\n `}\n\n ${(props) =>\n props.$role === \"light\" &&\n css`\n ${tw`tw-text-sm`}\n color: var(--color-theme-800);\n font-weight: 400;\n padding: 0 8px;\n\n &::after {\n bottom: -4px;\n height: 2px;\n }\n `}\n\n ${(props) =>\n props.$active &&\n css`\n ${tw`tw-text-primary`}\n & * {\n ${tw`tw-text-primary`}\n }\n `}\n`;\n\nStyledNavListItem.displayName = \"StyledNavListItem\";\n\nexport const StyledNavAsSelect = styled.div<{ $active: boolean }>`\n padding: 0 10px;\n height: 100%;\n display: flex;\n align-items: center;\n gap: 4px;\n\n svg {\n color: var(--color-primary);\n top: 1px;\n position: relative;\n }\n\n ${(props) =>\n props.$active &&\n css`\n ${tw`tw-text-primary`}\n & * {\n ${tw`tw-text-primary`}\n }\n `}\n`;\n\nStyledNavAsSelect.displayName = \"StyledNavAsSelect\";\n\nexport const StyledNavAsMoreTarget = styled.div<{\n $role?: NavRoleType;\n}>`\n padding: 0 10px;\n height: 100%;\n display: flex;\n align-items: center;\n\n ${(props) =>\n props.$role === \"light\" &&\n css`\n padding: 0;\n `}\n`;\n\nStyledNavAsMoreTarget.displayName = \"StyledNavAsMoreTarget\";\n"],"mappings":"AAAA,OAAOA,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAU/C,OAAO,MAAMC,SAAS,GAAGF,MAAM,CAACG,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,8EAC7B;EAAA;AAAQ,CAAC,EAKVC,KAAK,IACNA,KAAK,CAACC,MAAM,KAAK,MAAM,IACvBP,GAAG,WACG;EAAA;AAAiB,CAAC,CACvB,EAEAM,KAAK,IACNA,KAAK,CAACC,MAAM,KAAK,QAAQ,IACzBP,GAAG,WACG;EAAA;AAAkB,CAAC,CACxB,EAEAM,KAAK,IACNA,KAAK,CAACC,MAAM,KAAK,OA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AmB;AAEnD,OAAO,MAAMW,iBAAiB,GAAGhB,MAAM,CAACiB,GAAG,CAAAb,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,0IAatCC,KAAK,IACNA,KAAK,CAACQ,OAAO,IACbd,GAAG,qBACG;EAAA;AAAgB,CAAC,EAEf;EAAA;AAAgB,CAAC,CAExB,CACJ;AAEDe,iBAAiB,CAACX,WAAW,GAAG,mBAAmB;AAEnD,OAAO,MAAMa,qBAAqB,GAAGlB,MAAM,CAACiB,GAAG,CAAAb,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,wEAQ1CC,KAAK,IACNA,KAAK,CAACE,KAAK,KAAK,OAAO,IACvBR,GAAG,gBAEF,CACJ;AAEDiB,qBAAqB,CAACb,WAAW,GAAG,uBAAuB","ignoreList":[]}
|
package/dist/index.js
CHANGED
|
@@ -22252,7 +22252,7 @@
|
|
|
22252
22252
|
var StyledNavListItem = styled__default["default"].li.withConfig({
|
|
22253
22253
|
displayName: "Styles__StyledNavListItem",
|
|
22254
22254
|
componentId: "sc-1khiypw-2"
|
|
22255
|
-
})(["", " color:var(--color-theme-700);font-size:15px;display:flex;align-items:center;font-weight:500;padding:0 10px;flex-shrink:0;&:hover,&:hover *{", "}", " &::after{content:\"\";", " bottom:0;left:50%;transform:translateX(-50%);height:3px;transition:width 0.3s ease,background-color 0.3s ease;}", " ", " ", " ", ""], {
|
|
22255
|
+
})(["", " color:var(--color-theme-700);font-size:15px;display:flex;align-items:center;font-weight:500;padding:0 10px;flex-shrink:0;&:hover,&:hover *{", "}", " & :focus-visible{outline:none;}&:has(:focus-visible),&:has(:focus-visible) *{", "}&::after{content:\"\";", " bottom:0;left:50%;transform:translateX(-50%);height:3px;transition:width 0.3s ease,background-color 0.3s ease;}", " ", " ", " ", ""], {
|
|
22256
22256
|
"position": "relative",
|
|
22257
22257
|
"cursor": "default",
|
|
22258
22258
|
"userSelect": "none",
|
|
@@ -22266,6 +22266,8 @@
|
|
|
22266
22266
|
return !props.$active && !props.$disabled && styled.css(["", ""], {
|
|
22267
22267
|
"cursor": "pointer"
|
|
22268
22268
|
});
|
|
22269
|
+
}, {
|
|
22270
|
+
"color": "var(--color-primary)"
|
|
22269
22271
|
}, {
|
|
22270
22272
|
"position": "absolute",
|
|
22271
22273
|
"margin": "auto",
|
|
@@ -35353,7 +35355,7 @@
|
|
|
35353
35355
|
var StyledCollapse = styled__default["default"].div.withConfig({
|
|
35354
35356
|
displayName: "Styles__StyledCollapse",
|
|
35355
35357
|
componentId: "sc-1ov56au-0"
|
|
35356
|
-
})(["display:grid;grid-template-rows:", ";transition:grid-template-rows ", "ms cubic-bezier(0,0,0.2,1);@media (prefers-reduced-motion:reduce){transition:none;}"], function (_ref) {
|
|
35358
|
+
})(["display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:", ";transition:grid-template-rows ", "ms cubic-bezier(0,0,0.2,1);@media (prefers-reduced-motion:reduce){transition:none;}"], function (_ref) {
|
|
35357
35359
|
var $open = _ref.$open;
|
|
35358
35360
|
return $open ? "1fr" : "0fr";
|
|
35359
35361
|
}, function (_ref2) {
|
|
@@ -35363,7 +35365,7 @@
|
|
|
35363
35365
|
var StyledCollapseContent = styled__default["default"].div.withConfig({
|
|
35364
35366
|
displayName: "Styles__StyledCollapseContent",
|
|
35365
35367
|
componentId: "sc-1ov56au-1"
|
|
35366
|
-
})(["min-height:0;", ""], function (_ref3) {
|
|
35368
|
+
})(["min-height:0;min-width:0;", ""], function (_ref3) {
|
|
35367
35369
|
var $clip = _ref3.$clip;
|
|
35368
35370
|
return $clip === "vertical" ? "clip-path: inset(0 -100vw);" : "overflow: hidden;";
|
|
35369
35371
|
});
|