@activecollab/components 2.0.495 → 2.0.497
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/List/Styles.js +1 -1
- package/dist/cjs/components/List/Styles.js.map +1 -1
- package/dist/cjs/components/Window/Style.js +1 -1
- package/dist/cjs/components/Window/Style.js.map +1 -1
- package/dist/cjs/presentation/shared/MockAvatar.js +52 -0
- package/dist/cjs/presentation/shared/MockAvatar.js.map +1 -0
- package/dist/cjs/presentation/shared/headers.js +6 -1
- package/dist/cjs/presentation/shared/headers.js.map +1 -1
- package/dist/cjs/presentation/shared/index.js +15 -0
- package/dist/cjs/presentation/shared/index.js.map +1 -1
- package/dist/esm/components/List/Styles.d.ts.map +1 -1
- package/dist/esm/components/List/Styles.js +1 -1
- package/dist/esm/components/List/Styles.js.map +1 -1
- package/dist/esm/components/Window/Style.d.ts.map +1 -1
- package/dist/esm/components/Window/Style.js +1 -1
- package/dist/esm/components/Window/Style.js.map +1 -1
- package/dist/esm/presentation/shared/MockAvatar.d.ts +21 -0
- package/dist/esm/presentation/shared/MockAvatar.d.ts.map +1 -0
- package/dist/esm/presentation/shared/MockAvatar.js +45 -0
- package/dist/esm/presentation/shared/MockAvatar.js.map +1 -0
- package/dist/esm/presentation/shared/headers.d.ts +1 -1
- package/dist/esm/presentation/shared/headers.d.ts.map +1 -1
- package/dist/esm/presentation/shared/headers.js +7 -2
- package/dist/esm/presentation/shared/headers.js.map +1 -1
- package/dist/esm/presentation/shared/index.d.ts +1 -0
- package/dist/esm/presentation/shared/index.d.ts.map +1 -1
- package/dist/esm/presentation/shared/index.js +1 -0
- package/dist/esm/presentation/shared/index.js.map +1 -1
- package/dist/index.js +2 -2
- 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
|
@@ -11,7 +11,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
11
11
|
var StyledList = exports.StyledList = _styledComponents.default.ul.withConfig({
|
|
12
12
|
displayName: "Styles__StyledList",
|
|
13
13
|
componentId: "sc-dv1w0m-0"
|
|
14
|
-
})(["list-style-type:none;margin:0;padding:0;"]);
|
|
14
|
+
})(["list-style-type:none;margin:0;padding:0;&:focus-visible{outline:none;}"]);
|
|
15
15
|
StyledList.displayName = "StyledList";
|
|
16
16
|
var StyledListItem = exports.StyledListItem = _styledComponents.default.li.withConfig({
|
|
17
17
|
displayName: "Styles__StyledListItem",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.js","names":["_styledComponents","_interopRequireDefault","require","_BoxSizingStyle","_FontStyle","e","__esModule","default","StyledList","exports","styled","ul","withConfig","displayName","componentId","StyledListItem","li","BoxSizingStyle","FontStyle","StyledListSeparator","div"],"sources":["../../../../src/components/List/Styles.ts"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { FontStyle } from \"../FontStyle\";\n\nexport const StyledList = styled.ul`\n list-style-type: none;\n margin: 0;\n padding: 0;\n`;\n\nStyledList.displayName = \"StyledList\";\n\nexport const StyledListItem = styled.li`\n ${BoxSizingStyle}\n ${FontStyle}\n\n display: flex;\n flex-direction: row;\n align-items: center;\n cursor: pointer;\n padding: 0 1rem;\n margin: 0.25rem 0;\n font-size: 0.875rem;\n user-select: none;\n\n color: var(--color-theme-900);\n line-height: 28px;\n\n > svg:first-child {\n margin-right: 8px;\n }\n\n &:hover,\n &:focus-visible {\n background-color: var(--color-theme-200);\n outline: none;\n }\n`;\n\nStyledListItem.displayName = \"StyledListItem\";\n\nexport const StyledListSeparator = styled.div`\n border-top: 1px solid var(--border-primary);\n margin: 12px 16px;\n height: 1px;\n`;\n\nStyledListSeparator.displayName = \"StyledListSeparator\";\n"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAAyC,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAElC,IAAMG,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAGE,yBAAM,CAACC,EAAE,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"Styles.js","names":["_styledComponents","_interopRequireDefault","require","_BoxSizingStyle","_FontStyle","e","__esModule","default","StyledList","exports","styled","ul","withConfig","displayName","componentId","StyledListItem","li","BoxSizingStyle","FontStyle","StyledListSeparator","div"],"sources":["../../../../src/components/List/Styles.ts"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { FontStyle } from \"../FontStyle\";\n\nexport const StyledList = styled.ul`\n list-style-type: none;\n margin: 0;\n padding: 0;\n\n // The list is where a focus lock parks the focus before the reader picks an item, so it takes the focus\n // without taking the ring with it. The item that the reader lands on carries the ring instead.\n &:focus-visible {\n outline: none;\n }\n`;\n\nStyledList.displayName = \"StyledList\";\n\nexport const StyledListItem = styled.li`\n ${BoxSizingStyle}\n ${FontStyle}\n\n display: flex;\n flex-direction: row;\n align-items: center;\n cursor: pointer;\n padding: 0 1rem;\n margin: 0.25rem 0;\n font-size: 0.875rem;\n user-select: none;\n\n color: var(--color-theme-900);\n line-height: 28px;\n\n > svg:first-child {\n margin-right: 8px;\n }\n\n &:hover,\n &:focus-visible {\n background-color: var(--color-theme-200);\n outline: none;\n }\n`;\n\nStyledListItem.displayName = \"StyledListItem\";\n\nexport const StyledListSeparator = styled.div`\n border-top: 1px solid var(--border-primary);\n margin: 12px 16px;\n height: 1px;\n`;\n\nStyledListSeparator.displayName = \"StyledListSeparator\";\n"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAAyC,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAElC,IAAMG,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAGE,yBAAM,CAACC,EAAE,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,8EAUlC;AAEDN,UAAU,CAACK,WAAW,GAAG,YAAY;AAE9B,IAAME,cAAc,GAAAN,OAAA,CAAAM,cAAA,GAAGL,yBAAM,CAACM,EAAE,CAAAJ,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,yTACnCG,8BAAc,EACdC,oBAAS,CAuBZ;AAEDH,cAAc,CAACF,WAAW,GAAG,gBAAgB;AAEtC,IAAMM,mBAAmB,GAAAV,OAAA,CAAAU,mBAAA,GAAGT,yBAAM,CAACU,GAAG,CAAAR,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,+EAI5C;AAEDK,mBAAmB,CAACN,WAAW,GAAG,qBAAqB","ignoreList":[]}
|
|
@@ -11,6 +11,6 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
11
11
|
var StyledWindow = exports.StyledWindow = _styledComponents.default.div.withConfig({
|
|
12
12
|
displayName: "Style__StyledWindow",
|
|
13
13
|
componentId: "sc-rnlftg-0"
|
|
14
|
-
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], _FontStyle.FontStyle, _BoxSizingStyle.BoxSizingStyle);
|
|
14
|
+
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;&:focus-visible{outline:none;}"], _FontStyle.FontStyle, _BoxSizingStyle.BoxSizingStyle);
|
|
15
15
|
StyledWindow.displayName = "StyledWindow";
|
|
16
16
|
//# sourceMappingURL=Style.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Style.js","names":["_styledComponents","_interopRequireDefault","require","_BoxSizingStyle","_FontStyle","e","__esModule","default","StyledWindow","exports","styled","div","withConfig","displayName","componentId","FontStyle","BoxSizingStyle"],"sources":["../../../../src/components/Window/Style.ts"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { FontStyle } from \"../FontStyle\";\n\nexport const StyledWindow = styled.div`\n ${FontStyle}\n ${BoxSizingStyle}\n\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n`;\n\nStyledWindow.displayName = \"StyledWindow\";\n"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAAyC,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAElC,IAAMG,YAAY,GAAAC,OAAA,CAAAD,YAAA,GAAGE,yBAAM,CAACC,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"Style.js","names":["_styledComponents","_interopRequireDefault","require","_BoxSizingStyle","_FontStyle","e","__esModule","default","StyledWindow","exports","styled","div","withConfig","displayName","componentId","FontStyle","BoxSizingStyle"],"sources":["../../../../src/components/Window/Style.ts"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { FontStyle } from \"../FontStyle\";\n\nexport const StyledWindow = styled.div`\n ${FontStyle}\n ${BoxSizingStyle}\n\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n\n // The window is the focus lock's own node, and it covers the viewport, so a ring on it frames the whole\n // page rather than anything the reader can act on. The content it holds carries the ring instead.\n &:focus-visible {\n outline: none;\n }\n`;\n\nStyledWindow.displayName = \"StyledWindow\";\n"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAAyC,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAElC,IAAMG,YAAY,GAAAC,OAAA,CAAAD,YAAA,GAAGE,yBAAM,CAACC,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,8FAClCC,oBAAS,EACTC,8BAAc,CAajB;AAEDR,YAAY,CAACK,WAAW,GAAG,cAAc","ignoreList":[]}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.MockAvatarGroup = exports.MockAvatar = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
|
+
var _RoundAvatar = require("./RoundAvatar");
|
|
10
|
+
var _AvatarGroup = require("../../components/AvatarGroup");
|
|
11
|
+
var _excluded = ["size", "bg", "initials", "alt"];
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
14
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
15
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
16
|
+
/**
|
|
17
|
+
* An initials avatar for the DS `AvatarGroup`. The app feeds that group real
|
|
18
|
+
* user images; the mocks have none, so this stands in for DS `Avatar` while
|
|
19
|
+
* honouring AvatarGroup's cloneElement contract — it injects `size`, `alt` and
|
|
20
|
+
* `style` (the overlap margin and the paper ring) — so the grouping, overlap
|
|
21
|
+
* and "+N" overflow behave exactly as they do in the app.
|
|
22
|
+
*/
|
|
23
|
+
var MockAvatar = exports.MockAvatar = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
24
|
+
var _ref$size = _ref.size,
|
|
25
|
+
size = _ref$size === void 0 ? 20 : _ref$size,
|
|
26
|
+
bg = _ref.bg,
|
|
27
|
+
initials = _ref.initials,
|
|
28
|
+
alt = _ref.alt,
|
|
29
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
30
|
+
return (
|
|
31
|
+
/*#__PURE__*/
|
|
32
|
+
// `...rest` carries the props AvatarGroup and its Tooltip inject via
|
|
33
|
+
// cloneElement — `style` (overlap margin + paper ring) and the hover handlers
|
|
34
|
+
// (`onMouseOver` / `onMouseLeave`) — plus the forwarded `ref`, all of which
|
|
35
|
+
// must reach the DOM node for the tooltip to open.
|
|
36
|
+
_react.default.createElement(_RoundAvatar.RoundAvatar, _extends({
|
|
37
|
+
ref: ref,
|
|
38
|
+
$bg: bg,
|
|
39
|
+
$size: size,
|
|
40
|
+
$bordered: false
|
|
41
|
+
}, rest), initials)
|
|
42
|
+
);
|
|
43
|
+
});
|
|
44
|
+
MockAvatar.displayName = "MockAvatar";
|
|
45
|
+
|
|
46
|
+
/** DS `AvatarGroup` without its default padding, as the app strips it with
|
|
47
|
+
`tw-p-0` (`tw-` classes do not run in this Storybook). */
|
|
48
|
+
var MockAvatarGroup = exports.MockAvatarGroup = (0, _styledComponents.default)(_AvatarGroup.AvatarGroup).withConfig({
|
|
49
|
+
displayName: "MockAvatar__MockAvatarGroup",
|
|
50
|
+
componentId: "sc-mgfb0r-0"
|
|
51
|
+
})(["&&{padding:0;}"]);
|
|
52
|
+
//# sourceMappingURL=MockAvatar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MockAvatar.js","names":["_react","_interopRequireDefault","require","_styledComponents","_RoundAvatar","_AvatarGroup","_excluded","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutProperties","o","i","_objectWithoutPropertiesLoose","getOwnPropertySymbols","indexOf","propertyIsEnumerable","MockAvatar","exports","React","forwardRef","_ref","ref","_ref$size","size","bg","initials","alt","rest","createElement","RoundAvatar","$bg","$size","$bordered","displayName","MockAvatarGroup","styled","AvatarGroup","withConfig","componentId"],"sources":["../../../../src/presentation/shared/MockAvatar.tsx"],"sourcesContent":["import React from \"react\";\n\nimport styled from \"styled-components\";\n\nimport { RoundAvatar } from \"./RoundAvatar\";\nimport { AvatarGroup } from \"../../components/AvatarGroup\";\n\n/**\n * An initials avatar for the DS `AvatarGroup`. The app feeds that group real\n * user images; the mocks have none, so this stands in for DS `Avatar` while\n * honouring AvatarGroup's cloneElement contract — it injects `size`, `alt` and\n * `style` (the overlap margin and the paper ring) — so the grouping, overlap\n * and \"+N\" overflow behave exactly as they do in the app.\n */\nexport const MockAvatar = React.forwardRef<\n HTMLDivElement,\n {\n size?: number;\n bg: string;\n initials: string;\n /** Injected by AvatarGroup for the tooltip label; not rendered here. */\n alt?: string;\n } & React.HTMLAttributes<HTMLDivElement>\n // `alt` is pulled out only so it is not spread onto the <div> (invalid DOM\n // attribute); AvatarGroup has already read it for the tooltip label.\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n>(({ size = 20, bg, initials, alt, ...rest }, ref) => (\n // `...rest` carries the props AvatarGroup and its Tooltip inject via\n // cloneElement — `style` (overlap margin + paper ring) and the hover handlers\n // (`onMouseOver` / `onMouseLeave`) — plus the forwarded `ref`, all of which\n // must reach the DOM node for the tooltip to open.\n <RoundAvatar ref={ref} $bg={bg} $size={size} $bordered={false} {...rest}>\n {initials}\n </RoundAvatar>\n));\n\nMockAvatar.displayName = \"MockAvatar\";\n\n/** DS `AvatarGroup` without its default padding, as the app strips it with\n `tw-p-0` (`tw-` classes do not run in this Storybook). */\nexport const MockAvatarGroup = styled(AvatarGroup)`\n && {\n padding: 0;\n }\n`;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAA2D,IAAAI,SAAA;AAAA,SAAAL,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SAAA,CAAAC,MAAA,EAAAT,CAAA,UAAAU,CAAA,GAAAF,SAAA,CAAAR,CAAA,YAAAW,CAAA,IAAAD,CAAA,OAAAE,cAAA,CAAAC,IAAA,CAAAH,CAAA,EAAAC,CAAA,MAAAJ,CAAA,CAAAI,CAAA,IAAAD,CAAA,CAAAC,CAAA,aAAAJ,CAAA,KAAAJ,QAAA,CAAAW,KAAA,OAAAN,SAAA;AAAA,SAAAO,yBAAAf,CAAA,EAAAU,CAAA,gBAAAV,CAAA,iBAAAgB,CAAA,EAAAL,CAAA,EAAAM,CAAA,GAAAC,6BAAA,CAAAlB,CAAA,EAAAU,CAAA,OAAAN,MAAA,CAAAe,qBAAA,QAAAZ,CAAA,GAAAH,MAAA,CAAAe,qBAAA,CAAAnB,CAAA,QA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WAAW,GAAG,YAAY;;AAErC;AACA;AACO,IAAMC,eAAe,GAAAjB,OAAA,CAAAiB,eAAA,GAAG,IAAAC,yBAAM,EAACC,wBAAW,CAAC,CAAAC,UAAA;EAAAJ,WAAA;EAAAK,WAAA;AAAA,sBAIjD","ignoreList":[]}
|
|
@@ -268,7 +268,12 @@ var TabHeader = exports.TabHeader = function TabHeader(_ref3) {
|
|
|
268
268
|
}, /*#__PURE__*/_react.default.createElement(_IconButton.IconButton, {
|
|
269
269
|
variant: "text gray",
|
|
270
270
|
active: activeView === "timeline"
|
|
271
|
-
}, /*#__PURE__*/_react.default.createElement(_Icons.ViewTimelineIcon, null))), /*#__PURE__*/_react.default.createElement(
|
|
271
|
+
}, /*#__PURE__*/_react.default.createElement(_Icons.ViewTimelineIcon, null))), /*#__PURE__*/_react.default.createElement(_Tooltip.Tooltip, {
|
|
272
|
+
title: "Calendar view"
|
|
273
|
+
}, /*#__PURE__*/_react.default.createElement(_IconButton.IconButton, {
|
|
274
|
+
variant: "text gray",
|
|
275
|
+
active: activeView === "calendar"
|
|
276
|
+
}, /*#__PURE__*/_react.default.createElement(_Icons.ViewGridIcon, null))), /*#__PURE__*/_react.default.createElement("span", {
|
|
272
277
|
className: "vertical-separator"
|
|
273
278
|
}), /*#__PURE__*/_react.default.createElement(_Tooltip.Tooltip, {
|
|
274
279
|
title: "Add New"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headers.js","names":["_react","_interopRequireWildcard","require","_styledComponents","_interopRequireDefault","_ProjectOptionsMenu","_RoundAvatar","_tokens","_Button","_GlobalAddButton","_CounterButton","_Header","_IconButton","_Icons","_Menu","_Nav","_ProgressPie","_Tooltip","_Typography","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","a","_arrayLikeToArray","toString","slice","constructor","name","Array","from","test","length","l","Symbol","iterator","u","next","done","push","value","return","isArray","LEADER_GOLD","StyledPageHeader","styled","div","withConfig","displayName","componentId","SM","MD","PageHeader","exports","_ref","title","children","_ref$back","back","createElement","className","IconButton","variant","ArrowLeftIcon","Title2","Header2","StyledProjectHeaderChildren","PROJECT_MEMBERS","initials","color","AVATAR_COLORS","blue","leader","purple","orange","StyledPeopleMenu","TRANSITION","PeoplePopover","_useState","useState","_useState2","open","setOpen","Menu","onOpen","onClose","position","target","CounterButton","label","String","icon","PeopleIcon","active","onClearAll","undefined","MenuHeader","rightElement","type","size","AddCrossTinyIcon","Caption1","weight","map","member","key","RoundAvatar","$bg","$bordered","Body2","CrownSelectedIcon","style","fill","Tooltip","CrownBlankIcon","CloseSmallIcon","ProjectPageHeader","_ref2","_ref2$title","_ref2$sourceModuleLoa","sourceModuleLoaded","initialConnectedRepositories","canManageProjectRepositories","ProgressPie","radius","progress","progressColor","backgroundColor","InfoIcon","ProjectOptionsMenu","NAV_TABS","StyledTabHeader","Header","StyledTabControls","TabHeader","_ref3","_ref3$activeView","activeView","_ref3$showBatchEdit","showBatchEdit","beforeFilter","_useState3","_useState4","setActive","Nav","onSelect","index","Item","Fragment","EditMultipleIcon","Button","FilterIcon","ViewListIcon","transform","ViewTimelineIcon","GlobalAddButton"],"sources":["../../../../src/presentation/shared/headers.tsx"],"sourcesContent":["import React, { ReactElement, ReactNode, useState } from \"react\";\n\nimport styled from \"styled-components\";\n\nimport { Repository } from \"./ConnectRepositoryDialog\";\nimport { ProjectOptionsMenu } from \"./ProjectOptionsMenu\";\nimport { RoundAvatar } from \"./RoundAvatar\";\nimport { AVATAR_COLORS, MD, SM, TRANSITION } from \"./tokens\";\nimport { Button } from \"../../components/Button\";\nimport { GlobalAddButton } from \"../../components/Button/GlobalAddButton\";\nimport { CounterButton } from \"../../components/CounterButton\";\nimport { Header } from \"../../components/Header\";\nimport { IconButton } from \"../../components/IconButton\";\nimport {\n AddCrossTinyIcon,\n ArrowLeftIcon,\n CloseSmallIcon,\n CrownBlankIcon,\n CrownSelectedIcon,\n EditMultipleIcon,\n FilterIcon,\n InfoIcon,\n PeopleIcon,\n ViewListIcon,\n ViewTimelineIcon,\n} from \"../../components/Icons\";\nimport { Menu, MenuHeader } from \"../../components/Menu\";\nimport { Item, Nav } from \"../../components/Nav\";\nimport { ProgressPie } from \"../../components/ProgressPie\";\nimport { Tooltip } from \"../../components/Tooltip\";\nimport { Body2, Caption1, Header2, Title2 } from \"../../components/Typography\";\n\n/** Gold used for the project-leader cues (a data colour, not a theme token). */\nconst LEADER_GOLD = \"#FFCC6B\";\n\n/* ------------------------------------------------------------------ */\n/* Page header row (mirrors PageHeader.jsx) */\n/* ------------------------------------------------------------------ */\n\nconst StyledPageHeader = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 12px 0;\n width: 100%;\n height: 40px;\n flex-shrink: 0;\n\n .page-header-left {\n display: flex;\n align-items: center;\n width: 100%;\n max-width: 100%;\n\n @media (min-width: ${SM}) {\n min-width: 0;\n }\n }\n\n /* back button spacing (tw-shrink-0 tw-mr-1 md:tw-mr-2) */\n .back-button {\n flex-shrink: 0;\n margin-right: 4px;\n\n @media (min-width: ${MD}) {\n margin-right: 8px;\n }\n }\n\n .page-title-desktop {\n display: none;\n margin-right: 8px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n\n @media (min-width: ${MD}) {\n display: block;\n }\n }\n\n .page-title-mobile {\n display: block;\n margin-right: 8px;\n font-weight: 300;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n @media (min-width: ${MD}) {\n display: none;\n }\n }\n\n .page-header-children {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n }\n\n /* spacer that keeps the header clear of the absolutely positioned\n top-right controls, same as in the app (tw-w-52) */\n .page-header-spacer {\n display: none;\n height: 100%;\n width: 208px;\n flex-shrink: 0;\n\n @media (min-width: ${SM}) {\n display: flex;\n }\n }\n`;\n\nexport interface PageHeaderProps {\n title: string;\n children?: ReactNode;\n back?: boolean;\n}\n\n/** Generic page header (title + optional controls), mirrors PageHeader.jsx. */\nexport const PageHeader = ({\n title,\n children,\n back = false,\n}: PageHeaderProps): ReactElement => (\n <StyledPageHeader>\n <div className=\"page-header-left\">\n {back ? (\n <IconButton variant=\"text gray\" className=\"back-button\">\n <ArrowLeftIcon />\n </IconButton>\n ) : null}\n <Title2 className=\"page-title-desktop\">{title}</Title2>\n <Header2 className=\"page-title-mobile\">{title}</Header2>\n <div className=\"page-header-children\">{children}</div>\n </div>\n <div className=\"page-header-spacer\" />\n </StyledPageHeader>\n);\n\nPageHeader.displayName = \"PageHeader\";\n\n/* ------------------------------------------------------------------ */\n/* Project page header (mirrors ProjectPage.js Page.Header children) */\n/* ------------------------------------------------------------------ */\n\nconst StyledProjectHeaderChildren = styled.div`\n display: flex;\n align-items: center;\n gap: 8px;\n\n .project-progress {\n display: flex;\n align-items: center;\n margin-left: 4px;\n }\n`;\n\n/* People popover (mirrors the project header People dropdown): a header row\n (\"People\" + add button), a \"Members\" section and a row per member. The\n project leader shows a gold crown; other members reveal a \"set as leader\"\n crown and a remove button on hover. Clicks are no-ops. */\ninterface ProjectMember {\n name: string;\n initials: string;\n color: string;\n leader?: boolean;\n}\n\nconst PROJECT_MEMBERS: ProjectMember[] = [\n {\n name: \"Theo Brandt\",\n initials: \"TB\",\n color: AVATAR_COLORS.blue,\n leader: true,\n },\n { name: \"Iris Calloway\", initials: \"IC\", color: AVATAR_COLORS.purple },\n { name: \"Account Director\", initials: \"AD\", color: \"#8A8F98\" },\n { name: \"Grace Bennett\", initials: \"GB\", color: AVATAR_COLORS.orange },\n];\n\nconst StyledPeopleMenu = styled.div`\n width: 256px;\n\n .members-label {\n display: block;\n margin: 8px 0;\n padding: 0 16px;\n }\n\n .member-row {\n position: relative;\n display: flex;\n align-items: center;\n min-height: 40px;\n margin: 0 8px;\n padding: 2px 8px;\n border-radius: 4px;\n cursor: default;\n transition: background-color ${TRANSITION};\n }\n\n .member-row:hover {\n background-color: var(--color-theme-200);\n }\n\n /* gold left bar on the project-leader row */\n .member-row.leader::before {\n content: \"\";\n position: absolute;\n top: 4px;\n bottom: 4px;\n left: 0;\n width: 4px;\n border-radius: 4px;\n background-color: ${LEADER_GOLD};\n }\n\n /* gold ring on the leader's avatar */\n .member-row.leader .member-avatar {\n outline: 2px solid ${LEADER_GOLD};\n outline-offset: -2px;\n }\n\n .member-name {\n flex: 1;\n margin-left: 12px;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n\n .member-right {\n display: flex;\n align-items: center;\n gap: 2px;\n flex-shrink: 0;\n margin-left: 8px;\n }\n\n .leader-crown {\n flex-shrink: 0;\n }\n\n /* member actions (set-as-leader / remove) appear on hover, like the app */\n .member-options {\n display: none;\n align-items: center;\n gap: 2px;\n }\n\n .member-row:hover .member-options {\n display: flex;\n }\n`;\n\nconst PeoplePopover = (): ReactElement => {\n const [open, setOpen] = useState(false);\n return (\n <Menu\n open={open}\n onOpen={() => setOpen(true)}\n onClose={() => setOpen(false)}\n position=\"bottom-end\"\n target={\n <CounterButton\n label={String(PROJECT_MEMBERS.length)}\n icon={<PeopleIcon />}\n active={open}\n onClearAll={() => undefined}\n />\n }\n >\n <StyledPeopleMenu>\n <MenuHeader\n title=\"People\"\n rightElement={\n <IconButton\n type=\"button\"\n variant=\"text gray\"\n size=\"small\"\n aria-label=\"Add People\"\n >\n <AddCrossTinyIcon />\n </IconButton>\n }\n />\n <Caption1 weight=\"bold\" className=\"members-label\">\n Members\n </Caption1>\n {PROJECT_MEMBERS.map((member) => (\n <div\n className={member.leader ? \"member-row leader\" : \"member-row\"}\n key={member.name}\n >\n <RoundAvatar\n className=\"member-avatar\"\n $bg={member.color}\n $bordered={false}\n >\n {member.initials}\n </RoundAvatar>\n <Body2 className=\"member-name\">{member.name}</Body2>\n <span className=\"member-right\">\n {member.leader && (\n <CrownSelectedIcon\n className=\"leader-crown\"\n style={{ fill: LEADER_GOLD }}\n />\n )}\n <span className=\"member-options\">\n {!member.leader && (\n <Tooltip title=\"Set as Project Leader\">\n <IconButton type=\"button\" variant=\"text gray\" size=\"small\">\n <CrownBlankIcon />\n </IconButton>\n </Tooltip>\n )}\n <Tooltip title=\"Remove from Project\">\n <IconButton type=\"button\" variant=\"text gray\" size=\"small\">\n <CloseSmallIcon />\n </IconButton>\n </Tooltip>\n </span>\n </span>\n </div>\n ))}\n </StyledPeopleMenu>\n </Menu>\n );\n};\n\nexport interface ProjectPageHeaderProps {\n title?: string;\n /** When the `source` module is loaded, the \"...\" menu shows a Repositories\n * section (connected repositories + Connect Repository). */\n sourceModuleLoaded?: boolean;\n /** Repositories already connected to the project (seeds the count + submenu). */\n initialConnectedRepositories?: Repository[];\n /** Whether the current user can manage the project's repositories. */\n canManageProjectRepositories?: boolean;\n}\n\n/** The project page header: back arrow, title, progress, info, people, options. */\nexport const ProjectPageHeader = ({\n title = \"#131: Ime projekta\",\n sourceModuleLoaded = false,\n initialConnectedRepositories,\n canManageProjectRepositories,\n}: ProjectPageHeaderProps): ReactElement => (\n <StyledPageHeader>\n <div className=\"page-header-left\">\n <IconButton variant=\"text gray\" className=\"back-button\">\n <ArrowLeftIcon />\n </IconButton>\n <Title2 className=\"page-title-desktop\">{title}</Title2>\n <Header2 className=\"page-title-mobile\">{title}</Header2>\n <div className=\"page-header-children\">\n <StyledProjectHeaderChildren>\n <span className=\"project-progress\">\n <ProgressPie\n radius={11}\n progress={64}\n progressColor=\"var(--color-secondary)\"\n backgroundColor=\"var(--color-theme-300)\"\n />\n </span>\n <Tooltip title=\"Project Info\">\n <IconButton variant=\"text gray\">\n <InfoIcon />\n </IconButton>\n </Tooltip>\n <PeoplePopover />\n <ProjectOptionsMenu\n sourceModuleLoaded={sourceModuleLoaded}\n initialConnectedRepositories={initialConnectedRepositories}\n canManageProjectRepositories={canManageProjectRepositories}\n />\n </StyledProjectHeaderChildren>\n </div>\n </div>\n <div className=\"page-header-spacer\" />\n </StyledPageHeader>\n);\n\nProjectPageHeader.displayName = \"ProjectPageHeader\";\n\n/* ------------------------------------------------------------------ */\n/* Tab bar (mirrors the <Header> with <Nav> on ProjectPage.js) */\n/* ------------------------------------------------------------------ */\n\nconst NAV_TABS = [\"Tasks\", \"Discussions\", \"Files\", \"Notes\", \"Activity\"];\n\nconst StyledTabHeader = styled(Header)`\n justify-content: space-between;\n align-items: center;\n margin-bottom: 16px;\n min-height: 64px;\n flex-shrink: 0;\n`;\n\nconst StyledTabControls = styled.div`\n display: flex;\n align-items: center;\n flex-shrink: 0;\n gap: 4px;\n\n .vertical-separator {\n width: 1px;\n height: 24px;\n background-color: var(--color-theme-400);\n margin: 0 8px;\n }\n\n .filter-button {\n display: flex;\n align-items: center;\n gap: 6px;\n }\n`;\n\nexport interface TabHeaderProps {\n /** Which view-mode toggle is highlighted as active. */\n activeView?: \"list\" | \"column\" | \"timeline\";\n /** Batch edit is a list/board affordance; views without it pass `false`. */\n showBatchEdit?: boolean;\n /**\n * A view's own control, placed after the tabs and before Filter — the slot\n * the timeline's Settings gear moves into once the outline (and the gear it\n * normally lives in) is hidden below the lg breakpoint.\n */\n beforeFilter?: ReactNode;\n}\n\n/** The Tasks/Discussions/… tab bar plus the right-hand view toolbar. */\nexport const TabHeader = ({\n activeView = \"list\",\n showBatchEdit = true,\n beforeFilter,\n}: TabHeaderProps): ReactElement => {\n const [active, setActive] = useState(0);\n return (\n <StyledTabHeader>\n <Nav onSelect={setActive}>\n {NAV_TABS.map((label, index) => (\n <Item active={index === active} key={label} name={label}>\n <Body2 color=\"secondary\" weight=\"medium\">\n {label}\n </Body2>\n </Item>\n ))}\n </Nav>\n <StyledTabControls>\n {showBatchEdit ? (\n <>\n <Tooltip title=\"Batch Edit\">\n <IconButton variant=\"text gray\">\n <EditMultipleIcon />\n </IconButton>\n </Tooltip>\n <span className=\"vertical-separator\" />\n </>\n ) : null}\n {beforeFilter}\n <Button variant=\"text gray\" className=\"filter-button\">\n <FilterIcon />\n Filter\n </Button>\n <Tooltip title=\"List view\">\n <IconButton variant=\"text gray\" active={activeView === \"list\"}>\n <ViewListIcon />\n </IconButton>\n </Tooltip>\n <Tooltip title=\"Column view\">\n <IconButton variant=\"text gray\" active={activeView === \"column\"}>\n <ViewListIcon style={{ transform: \"rotate(90deg)\" }} />\n </IconButton>\n </Tooltip>\n <Tooltip title=\"Timeline view\">\n <IconButton variant=\"text gray\" active={activeView === \"timeline\"}>\n <ViewTimelineIcon />\n </IconButton>\n </Tooltip>\n <span className=\"vertical-separator\" />\n <Tooltip title=\"Add New\">\n <GlobalAddButton />\n </Tooltip>\n </StyledTabControls>\n </StyledTabHeader>\n );\n};\n\nTabHeader.displayName = \"TabHeader\";\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAC,sBAAA,CAAAF,OAAA;AAGA,IAAAG,mBAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,gBAAA,GAAAP,OAAA;AACA,IAAAQ,cAAA,GAAAR,OAAA;AACA,IAAAS,OAAA,GAAAT,OAAA;AACA,IAAAU,WAAA,GAAAV,OAAA;AACA,IAAAW,MAAA,GAAAX,OAAA;AAaA,IAAAY,KAAA,GAAAZ,OAAA;AACA,IAAAa,IAAA,GAAAb,OAAA;AACA,IAAAc,YAAA,GAAAd,OAAA;AACA,IAAAe,QAAA,GAAAf,OAAA;AACA,IAAAgB,WAAA,GAAAhB,OAAA;AAA+E,SAAAE,uBAAAe,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAlB,wBAAAkB,CAAA,EAAAG,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OA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Components","_interopRequireDefault","_ProjectOptionsMenu","_RoundAvatar","_tokens","_Button","_GlobalAddButton","_CounterButton","_Header","_IconButton","_Icons","_Menu","_Nav","_ProgressPie","_Tooltip","_Typography","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","a","_arrayLikeToArray","toString","slice","constructor","name","Array","from","test","length","l","Symbol","iterator","u","next","done","push","value","return","isArray","LEADER_GOLD","StyledPageHeader","styled","div","withConfig","displayName","componentId","SM","MD","PageHeader","exports","_ref","title","children","_ref$back","back","createElement","className","IconButton","variant","ArrowLeftIcon","Title2","Header2","StyledProjectHeaderChildren","PROJECT_MEMBERS","initials","color","AVATAR_COLORS","blue","leader","purple","orange","StyledPeopleMenu","TRANSITION","PeoplePopover","_useState","useState","_useState2","open","setOpen","Menu","onOpen","onClose","position","target","CounterButton","label","String","icon","PeopleIcon","active","onClearAll","undefined","MenuHeader","rightElement","type","size","AddCrossTinyIcon","Caption1","weight","map","member","key","RoundAvatar","$bg","$bordered","Body2","CrownSelectedIcon","style","fill","Tooltip","CrownBlankIcon","CloseSmallIcon","ProjectPageHeader","_ref2","_ref2$title","_ref2$sourceModuleLoa","sourceModuleLoaded","initialConnectedRepositories","canManageProjectRepositories","ProgressPie","radius","progress","progressColor","backgroundColor","InfoIcon","ProjectOptionsMenu","NAV_TABS","StyledTabHeader","Header","StyledTabControls","TabHeader","_ref3","_ref3$activeView","activeView","_ref3$showBatchEdit","showBatchEdit","beforeFilter","_useState3","_useState4","setActive","Nav","onSelect","index","Item","Fragment","EditMultipleIcon","Button","FilterIcon","ViewListIcon","transform","ViewTimelineIcon","ViewGridIcon","GlobalAddButton"],"sources":["../../../../src/presentation/shared/headers.tsx"],"sourcesContent":["import React, { ReactElement, ReactNode, useState } from \"react\";\n\nimport styled from \"styled-components\";\n\nimport { Repository } from \"./ConnectRepositoryDialog\";\nimport { ProjectOptionsMenu } from \"./ProjectOptionsMenu\";\nimport { RoundAvatar } from \"./RoundAvatar\";\nimport { AVATAR_COLORS, MD, SM, TRANSITION } from \"./tokens\";\nimport { Button } from \"../../components/Button\";\nimport { GlobalAddButton } from \"../../components/Button/GlobalAddButton\";\nimport { CounterButton } from \"../../components/CounterButton\";\nimport { Header } from \"../../components/Header\";\nimport { IconButton } from \"../../components/IconButton\";\nimport {\n AddCrossTinyIcon,\n ArrowLeftIcon,\n CloseSmallIcon,\n CrownBlankIcon,\n CrownSelectedIcon,\n EditMultipleIcon,\n FilterIcon,\n InfoIcon,\n PeopleIcon,\n ViewGridIcon,\n ViewListIcon,\n ViewTimelineIcon,\n} from \"../../components/Icons\";\nimport { Menu, MenuHeader } from \"../../components/Menu\";\nimport { Item, Nav } from \"../../components/Nav\";\nimport { ProgressPie } from \"../../components/ProgressPie\";\nimport { Tooltip } from \"../../components/Tooltip\";\nimport { Body2, Caption1, Header2, Title2 } from \"../../components/Typography\";\n\n/** Gold used for the project-leader cues (a data colour, not a theme token). */\nconst LEADER_GOLD = \"#FFCC6B\";\n\n/* ------------------------------------------------------------------ */\n/* Page header row (mirrors PageHeader.jsx) */\n/* ------------------------------------------------------------------ */\n\nconst StyledPageHeader = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 12px 0;\n width: 100%;\n height: 40px;\n flex-shrink: 0;\n\n .page-header-left {\n display: flex;\n align-items: center;\n width: 100%;\n max-width: 100%;\n\n @media (min-width: ${SM}) {\n min-width: 0;\n }\n }\n\n /* back button spacing (tw-shrink-0 tw-mr-1 md:tw-mr-2) */\n .back-button {\n flex-shrink: 0;\n margin-right: 4px;\n\n @media (min-width: ${MD}) {\n margin-right: 8px;\n }\n }\n\n .page-title-desktop {\n display: none;\n margin-right: 8px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n\n @media (min-width: ${MD}) {\n display: block;\n }\n }\n\n .page-title-mobile {\n display: block;\n margin-right: 8px;\n font-weight: 300;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n @media (min-width: ${MD}) {\n display: none;\n }\n }\n\n .page-header-children {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n }\n\n /* spacer that keeps the header clear of the absolutely positioned\n top-right controls, same as in the app (tw-w-52) */\n .page-header-spacer {\n display: none;\n height: 100%;\n width: 208px;\n flex-shrink: 0;\n\n @media (min-width: ${SM}) {\n display: flex;\n }\n }\n`;\n\nexport interface PageHeaderProps {\n title: string;\n children?: ReactNode;\n back?: boolean;\n}\n\n/** Generic page header (title + optional controls), mirrors PageHeader.jsx. */\nexport const PageHeader = ({\n title,\n children,\n back = false,\n}: PageHeaderProps): ReactElement => (\n <StyledPageHeader>\n <div className=\"page-header-left\">\n {back ? (\n <IconButton variant=\"text gray\" className=\"back-button\">\n <ArrowLeftIcon />\n </IconButton>\n ) : null}\n <Title2 className=\"page-title-desktop\">{title}</Title2>\n <Header2 className=\"page-title-mobile\">{title}</Header2>\n <div className=\"page-header-children\">{children}</div>\n </div>\n <div className=\"page-header-spacer\" />\n </StyledPageHeader>\n);\n\nPageHeader.displayName = \"PageHeader\";\n\n/* ------------------------------------------------------------------ */\n/* Project page header (mirrors ProjectPage.js Page.Header children) */\n/* ------------------------------------------------------------------ */\n\nconst StyledProjectHeaderChildren = styled.div`\n display: flex;\n align-items: center;\n gap: 8px;\n\n .project-progress {\n display: flex;\n align-items: center;\n margin-left: 4px;\n }\n`;\n\n/* People popover (mirrors the project header People dropdown): a header row\n (\"People\" + add button), a \"Members\" section and a row per member. The\n project leader shows a gold crown; other members reveal a \"set as leader\"\n crown and a remove button on hover. Clicks are no-ops. */\ninterface ProjectMember {\n name: string;\n initials: string;\n color: string;\n leader?: boolean;\n}\n\nconst PROJECT_MEMBERS: ProjectMember[] = [\n {\n name: \"Theo Brandt\",\n initials: \"TB\",\n color: AVATAR_COLORS.blue,\n leader: true,\n },\n { name: \"Iris Calloway\", initials: \"IC\", color: AVATAR_COLORS.purple },\n { name: \"Account Director\", initials: \"AD\", color: \"#8A8F98\" },\n { name: \"Grace Bennett\", initials: \"GB\", color: AVATAR_COLORS.orange },\n];\n\nconst StyledPeopleMenu = styled.div`\n width: 256px;\n\n .members-label {\n display: block;\n margin: 8px 0;\n padding: 0 16px;\n }\n\n .member-row {\n position: relative;\n display: flex;\n align-items: center;\n min-height: 40px;\n margin: 0 8px;\n padding: 2px 8px;\n border-radius: 4px;\n cursor: default;\n transition: background-color ${TRANSITION};\n }\n\n .member-row:hover {\n background-color: var(--color-theme-200);\n }\n\n /* gold left bar on the project-leader row */\n .member-row.leader::before {\n content: \"\";\n position: absolute;\n top: 4px;\n bottom: 4px;\n left: 0;\n width: 4px;\n border-radius: 4px;\n background-color: ${LEADER_GOLD};\n }\n\n /* gold ring on the leader's avatar */\n .member-row.leader .member-avatar {\n outline: 2px solid ${LEADER_GOLD};\n outline-offset: -2px;\n }\n\n .member-name {\n flex: 1;\n margin-left: 12px;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n\n .member-right {\n display: flex;\n align-items: center;\n gap: 2px;\n flex-shrink: 0;\n margin-left: 8px;\n }\n\n .leader-crown {\n flex-shrink: 0;\n }\n\n /* member actions (set-as-leader / remove) appear on hover, like the app */\n .member-options {\n display: none;\n align-items: center;\n gap: 2px;\n }\n\n .member-row:hover .member-options {\n display: flex;\n }\n`;\n\nconst PeoplePopover = (): ReactElement => {\n const [open, setOpen] = useState(false);\n return (\n <Menu\n open={open}\n onOpen={() => setOpen(true)}\n onClose={() => setOpen(false)}\n position=\"bottom-end\"\n target={\n <CounterButton\n label={String(PROJECT_MEMBERS.length)}\n icon={<PeopleIcon />}\n active={open}\n onClearAll={() => undefined}\n />\n }\n >\n <StyledPeopleMenu>\n <MenuHeader\n title=\"People\"\n rightElement={\n <IconButton\n type=\"button\"\n variant=\"text gray\"\n size=\"small\"\n aria-label=\"Add People\"\n >\n <AddCrossTinyIcon />\n </IconButton>\n }\n />\n <Caption1 weight=\"bold\" className=\"members-label\">\n Members\n </Caption1>\n {PROJECT_MEMBERS.map((member) => (\n <div\n className={member.leader ? \"member-row leader\" : \"member-row\"}\n key={member.name}\n >\n <RoundAvatar\n className=\"member-avatar\"\n $bg={member.color}\n $bordered={false}\n >\n {member.initials}\n </RoundAvatar>\n <Body2 className=\"member-name\">{member.name}</Body2>\n <span className=\"member-right\">\n {member.leader && (\n <CrownSelectedIcon\n className=\"leader-crown\"\n style={{ fill: LEADER_GOLD }}\n />\n )}\n <span className=\"member-options\">\n {!member.leader && (\n <Tooltip title=\"Set as Project Leader\">\n <IconButton type=\"button\" variant=\"text gray\" size=\"small\">\n <CrownBlankIcon />\n </IconButton>\n </Tooltip>\n )}\n <Tooltip title=\"Remove from Project\">\n <IconButton type=\"button\" variant=\"text gray\" size=\"small\">\n <CloseSmallIcon />\n </IconButton>\n </Tooltip>\n </span>\n </span>\n </div>\n ))}\n </StyledPeopleMenu>\n </Menu>\n );\n};\n\nexport interface ProjectPageHeaderProps {\n title?: string;\n /** When the `source` module is loaded, the \"...\" menu shows a Repositories\n * section (connected repositories + Connect Repository). */\n sourceModuleLoaded?: boolean;\n /** Repositories already connected to the project (seeds the count + submenu). */\n initialConnectedRepositories?: Repository[];\n /** Whether the current user can manage the project's repositories. */\n canManageProjectRepositories?: boolean;\n}\n\n/** The project page header: back arrow, title, progress, info, people, options. */\nexport const ProjectPageHeader = ({\n title = \"#131: Ime projekta\",\n sourceModuleLoaded = false,\n initialConnectedRepositories,\n canManageProjectRepositories,\n}: ProjectPageHeaderProps): ReactElement => (\n <StyledPageHeader>\n <div className=\"page-header-left\">\n <IconButton variant=\"text gray\" className=\"back-button\">\n <ArrowLeftIcon />\n </IconButton>\n <Title2 className=\"page-title-desktop\">{title}</Title2>\n <Header2 className=\"page-title-mobile\">{title}</Header2>\n <div className=\"page-header-children\">\n <StyledProjectHeaderChildren>\n <span className=\"project-progress\">\n <ProgressPie\n radius={11}\n progress={64}\n progressColor=\"var(--color-secondary)\"\n backgroundColor=\"var(--color-theme-300)\"\n />\n </span>\n <Tooltip title=\"Project Info\">\n <IconButton variant=\"text gray\">\n <InfoIcon />\n </IconButton>\n </Tooltip>\n <PeoplePopover />\n <ProjectOptionsMenu\n sourceModuleLoaded={sourceModuleLoaded}\n initialConnectedRepositories={initialConnectedRepositories}\n canManageProjectRepositories={canManageProjectRepositories}\n />\n </StyledProjectHeaderChildren>\n </div>\n </div>\n <div className=\"page-header-spacer\" />\n </StyledPageHeader>\n);\n\nProjectPageHeader.displayName = \"ProjectPageHeader\";\n\n/* ------------------------------------------------------------------ */\n/* Tab bar (mirrors the <Header> with <Nav> on ProjectPage.js) */\n/* ------------------------------------------------------------------ */\n\nconst NAV_TABS = [\"Tasks\", \"Discussions\", \"Files\", \"Notes\", \"Activity\"];\n\nconst StyledTabHeader = styled(Header)`\n justify-content: space-between;\n align-items: center;\n margin-bottom: 16px;\n min-height: 64px;\n flex-shrink: 0;\n`;\n\nconst StyledTabControls = styled.div`\n display: flex;\n align-items: center;\n flex-shrink: 0;\n gap: 4px;\n\n .vertical-separator {\n width: 1px;\n height: 24px;\n background-color: var(--color-theme-400);\n margin: 0 8px;\n }\n\n .filter-button {\n display: flex;\n align-items: center;\n gap: 6px;\n }\n`;\n\nexport interface TabHeaderProps {\n /** Which view-mode toggle is highlighted as active. */\n activeView?: \"list\" | \"column\" | \"timeline\" | \"calendar\";\n /** Batch edit is a list/board affordance; views without it pass `false`. */\n showBatchEdit?: boolean;\n /**\n * A view's own control, placed after the tabs and before Filter — the slot\n * the timeline's Settings gear moves into once the outline (and the gear it\n * normally lives in) is hidden below the lg breakpoint.\n */\n beforeFilter?: ReactNode;\n}\n\n/** The Tasks/Discussions/… tab bar plus the right-hand view toolbar. */\nexport const TabHeader = ({\n activeView = \"list\",\n showBatchEdit = true,\n beforeFilter,\n}: TabHeaderProps): ReactElement => {\n const [active, setActive] = useState(0);\n return (\n <StyledTabHeader>\n <Nav onSelect={setActive}>\n {NAV_TABS.map((label, index) => (\n <Item active={index === active} key={label} name={label}>\n <Body2 color=\"secondary\" weight=\"medium\">\n {label}\n </Body2>\n </Item>\n ))}\n </Nav>\n <StyledTabControls>\n {showBatchEdit ? (\n <>\n <Tooltip title=\"Batch Edit\">\n <IconButton variant=\"text gray\">\n <EditMultipleIcon />\n </IconButton>\n </Tooltip>\n <span className=\"vertical-separator\" />\n </>\n ) : null}\n {beforeFilter}\n <Button variant=\"text gray\" className=\"filter-button\">\n <FilterIcon />\n Filter\n </Button>\n <Tooltip title=\"List view\">\n <IconButton variant=\"text gray\" active={activeView === \"list\"}>\n <ViewListIcon />\n </IconButton>\n </Tooltip>\n <Tooltip title=\"Column view\">\n <IconButton variant=\"text gray\" active={activeView === \"column\"}>\n <ViewListIcon style={{ transform: \"rotate(90deg)\" }} />\n </IconButton>\n </Tooltip>\n <Tooltip title=\"Timeline view\">\n <IconButton variant=\"text gray\" active={activeView === \"timeline\"}>\n <ViewTimelineIcon />\n </IconButton>\n </Tooltip>\n <Tooltip title=\"Calendar view\">\n <IconButton variant=\"text gray\" active={activeView === \"calendar\"}>\n <ViewGridIcon />\n </IconButton>\n </Tooltip>\n <span className=\"vertical-separator\" />\n <Tooltip title=\"Add New\">\n <GlobalAddButton />\n </Tooltip>\n </StyledTabControls>\n </StyledTabHeader>\n );\n};\n\nTabHeader.displayName = \"TabHeader\";\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAC,sBAAA,CAAAF,OAAA;AAGA,IAAAG,mBAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,gBAAA,GAAAP,OAAA;AACA,IAAAQ,cAAA,GAAAR,OAAA;AACA,IAAAS,OAAA,GAAAT,OAAA;AACA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AmK,gBAAgB,MAAE,CACT,CACL,CAAC,eACVhL,MAAA,CAAAqB,OAAA,CAAA4D,aAAA,CAAChE,QAAA,CAAAsH,OAAO;IAAC1D,KAAK,EAAC;EAAe,gBAC5B7E,MAAA,CAAAqB,OAAA,CAAA4D,aAAA,CAACrE,WAAA,CAAAuE,UAAU;IAACC,OAAO,EAAC,WAAW;IAAC+B,MAAM,EAAE4C,UAAU,KAAK;EAAW,gBAChE/J,MAAA,CAAAqB,OAAA,CAAA4D,aAAA,CAACpE,MAAA,CAAAoK,YAAY,MAAE,CACL,CACL,CAAC,eACVjL,MAAA,CAAAqB,OAAA,CAAA4D,aAAA;IAAMC,SAAS,EAAC;EAAoB,CAAE,CAAC,eACvClF,MAAA,CAAAqB,OAAA,CAAA4D,aAAA,CAAChE,QAAA,CAAAsH,OAAO;IAAC1D,KAAK,EAAC;EAAS,gBACtB7E,MAAA,CAAAqB,OAAA,CAAA4D,aAAA,CAACxE,gBAAA,CAAAyK,eAAe,MAAE,CACX,CACQ,CACJ,CAAC;AAEtB,CAAC;AAEDtB,SAAS,CAACtF,WAAW,GAAG,WAAW","ignoreList":[]}
|
|
@@ -6,6 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
var _exportNames = {
|
|
7
7
|
MainLogo: true,
|
|
8
8
|
RoundAvatar: true,
|
|
9
|
+
MockAvatar: true,
|
|
10
|
+
MockAvatarGroup: true,
|
|
9
11
|
PresentationShell: true,
|
|
10
12
|
StyledPagePaper: true,
|
|
11
13
|
PageHeader: true,
|
|
@@ -339,6 +341,18 @@ Object.defineProperty(exports, "MessageFeedback", {
|
|
|
339
341
|
return _MessageFeedback.MessageFeedback;
|
|
340
342
|
}
|
|
341
343
|
});
|
|
344
|
+
Object.defineProperty(exports, "MockAvatar", {
|
|
345
|
+
enumerable: true,
|
|
346
|
+
get: function get() {
|
|
347
|
+
return _MockAvatar.MockAvatar;
|
|
348
|
+
}
|
|
349
|
+
});
|
|
350
|
+
Object.defineProperty(exports, "MockAvatarGroup", {
|
|
351
|
+
enumerable: true,
|
|
352
|
+
get: function get() {
|
|
353
|
+
return _MockAvatar.MockAvatarGroup;
|
|
354
|
+
}
|
|
355
|
+
});
|
|
342
356
|
Object.defineProperty(exports, "NEGATIVE_FEEDBACK_OPTIONS", {
|
|
343
357
|
enumerable: true,
|
|
344
358
|
get: function get() {
|
|
@@ -803,6 +817,7 @@ Object.keys(_tokens).forEach(function (key) {
|
|
|
803
817
|
});
|
|
804
818
|
var _MainLogo = require("./MainLogo");
|
|
805
819
|
var _RoundAvatar = require("./RoundAvatar");
|
|
820
|
+
var _MockAvatar = require("./MockAvatar");
|
|
806
821
|
var _PresentationShell = require("./PresentationShell");
|
|
807
822
|
var _headers = require("./headers");
|
|
808
823
|
var _PageStickyHeader = require("./PageStickyHeader");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_tokens","require","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_MainLogo","_RoundAvatar","_PresentationShell","_headers","_PageStickyHeader","_ProjectOptionsMenu","_PortfolioOptionsMenu","_dashboardWidgets","_FloatingControls","_StatusIndicator","_ToastHost","_MessageDialog","_MessageFeedback","_HelpAndSupportMenu","_LinkingCommandsButton","_LinkBranchOrPullRequestDialog","_ConnectRepositoryDialog","_WebhookLogsDialog","_SourceCodeSection","_SuggestSubtasksButton","_TaskOptionsMenu","_UserMenu","_UserDetailsDialog","_TwoFactorShield","_TwoFactorDialogs","_settings","_systemSettingsDialog","_selfHostedSettings","_selfHostedUpgrade","_FeatureAvailability","_portfolioDetails"],"sources":["../../../../src/presentation/shared/index.ts"],"sourcesContent":["/**\n * Shared building blocks for the Presentation mock-ups (`Presentation/*`\n * stories). The application shell, page headers, tab bar and small widgets are\n * defined once here and reused by the List view, Column view, Task sheet and\n * empty-page stories so the chrome stays identical and in one place.\n */\nexport * from \"./tokens\";\nexport { MainLogo } from \"./MainLogo\";\nexport { RoundAvatar } from \"./RoundAvatar\";\nexport { PresentationShell, StyledPagePaper } from \"./PresentationShell\";\nexport type { PresentationShellProps } from \"./PresentationShell\";\nexport { PageHeader, ProjectPageHeader, TabHeader } from \"./headers\";\nexport { PageStickyHeader, usePageStickyCover } from \"./PageStickyHeader\";\nexport type { PageStickyHeaderProps } from \"./PageStickyHeader\";\nexport type {\n PageHeaderProps,\n ProjectPageHeaderProps,\n TabHeaderProps,\n} from \"./headers\";\nexport { ProjectOptionsMenu } from \"./ProjectOptionsMenu\";\nexport { PortfolioOptionsMenu } from \"./PortfolioOptionsMenu\";\nexport type { PortfolioOptionsMenuProps } from \"./PortfolioOptionsMenu\";\nexport {\n WidgetGrid,\n WidgetGroupBy,\n StatWidget,\n WidgetRankedList,\n OverviewWidget,\n AreaChartWidget,\n DailyDeltaChartWidget,\n LeaderboardWidget,\n StackedBarChartWidget,\n CHART_SERIES_COLORS,\n OVERVIEW_SECTION_COLORS,\n PERIOD_OPTIONS,\n PeriodPicker,\n CurrencyPicker,\n} from \"./dashboardWidgets\";\nexport type {\n WidgetGroupByProps,\n StatWidgetProps,\n RankedListItem,\n OverviewSectionData,\n OverviewWidgetProps,\n AreaChartWidgetProps,\n DailyDeltaPoint,\n DailyDeltaChartWidgetProps,\n LeaderboardRowData,\n LeaderboardWidgetProps,\n StackedBarColumn,\n StackedBarChartWidgetProps,\n PeriodPickerProps,\n CurrencyPickerProps,\n} from \"./dashboardWidgets\";\n\nexport type { ProjectOptionsMenuProps } from \"./ProjectOptionsMenu\";\nexport { FloatingControls } from \"./FloatingControls\";\nexport { StatusIndicator } from \"./StatusIndicator\";\nexport type { StatusIndicatorProps } from \"./StatusIndicator\";\nexport { ToastHost } from \"./ToastHost\";\nexport {\n MessageDialog,\n DocLinkContext,\n messageComponents,\n} from \"./MessageDialog\";\nexport type {\n MessageDialogProps,\n MessageDialogSize,\n OpenArticleHandler,\n} from \"./MessageDialog\";\nexport {\n MessageFeedback,\n POSITIVE_FEEDBACK_OPTIONS,\n NEGATIVE_FEEDBACK_OPTIONS,\n} from \"./MessageFeedback\";\nexport type {\n MessageFeedbackProps,\n MessageFeedbackResult,\n FeedbackOption,\n FeedbackSentiment,\n} from \"./MessageFeedback\";\nexport { HelpAndSupportMenu } from \"./HelpAndSupportMenu\";\nexport type { HelpAndSupportMenuProps } from \"./HelpAndSupportMenu\";\nexport { LinkingCommandsButton } from \"./LinkingCommandsButton\";\nexport { LinkBranchOrPullRequestDialog } from \"./LinkBranchOrPullRequestDialog\";\nexport type { LinkBranchOrPullRequestDialogProps } from \"./LinkBranchOrPullRequestDialog\";\nexport {\n ConnectRepositoryDialog,\n RepositorySelect,\n buildRepoOptions,\n CONNECTIONS,\n PROJECT_REPOSITORIES,\n CONNECTABLE_REPOSITORIES,\n} from \"./ConnectRepositoryDialog\";\nexport type {\n ConnectRepositoryDialogProps,\n RepositorySelectProps,\n Connection,\n ConnectionService,\n Repository,\n} from \"./ConnectRepositoryDialog\";\nexport {\n WebhookLogsDialog,\n WEBHOOK_CONNECTIONS,\n WEBHOOK_REPOSITORIES,\n} from \"./WebhookLogsDialog\";\nexport type {\n WebhookLogsDialogProps,\n WebhookConnection,\n WebhookRepository,\n WebhookLog,\n} from \"./WebhookLogsDialog\";\nexport {\n SourceCodeSection,\n IssueRow,\n CodeRow,\n Spine,\n HistoryDialog,\n CompletedHeader,\n} from \"./SourceCodeSection\";\nexport type {\n IssueEntry,\n CodeEntry,\n Stage,\n HistoryEvent,\n StageState,\n CodeStatus,\n SectionVariant,\n} from \"./SourceCodeSection\";\nexport { SuggestSubtasksButton } from \"./SuggestSubtasksButton\";\nexport { TaskOptionsMenu, TaskListOptionsMenu } from \"./TaskOptionsMenu\";\nexport type {\n TaskOptionsMenuProps,\n TaskListOptionsMenuProps,\n} from \"./TaskOptionsMenu\";\nexport { UserMenu } from \"./UserMenu\";\nexport type { UserMenuProps, UserMenuVariant } from \"./UserMenu\";\nexport {\n UserDetailsDialog,\n USER_DETAILS_AVATAR_SIZE,\n} from \"./UserDetailsDialog\";\nexport type {\n UserDetailsDialogProps,\n UserDetailsAvatar,\n} from \"./UserDetailsDialog\";\nexport { TwoFactorShield } from \"./TwoFactorShield\";\nexport type { TwoFactorShieldProps } from \"./TwoFactorShield\";\nexport { BackupCodesDialogs, CreateLoginCodeDialogs } from \"./TwoFactorDialogs\";\nexport type {\n BackupCodesDialogsProps,\n CreateLoginCodeDialogsProps,\n} from \"./TwoFactorDialogs\";\nexport {\n SettingsHeader,\n SettingsContent,\n SettingGroup,\n StyledSettingRow,\n RowText,\n SettingRow,\n SettingCount,\n SettingValue,\n} from \"./settings\";\nexport type {\n SettingsHeaderProps,\n SettingGroupProps,\n SettingRowProps,\n} from \"./settings\";\nexport {\n SystemSettingsDialog,\n SYSTEM_SETTINGS_GROUPS,\n} from \"./systemSettingsDialog\";\nexport type {\n SystemSettingsDialogProps,\n SystemSettingsSectionId,\n} from \"./systemSettingsDialog\";\nexport {\n SelfHostedSettingsDialog,\n ExpandableSettingRow,\n StatusDot,\n okStatus,\n SettingExpandCard,\n CommandCode,\n OtherSectionRows,\n CronJobsBody,\n EmailLogLink,\n} from \"./selfHostedSettings\";\nexport type {\n SelfHostedSettingsDialogProps,\n ExpandableSettingRowProps,\n SettingStatus,\n OtherSectionRowsProps,\n SectionRowState,\n CronJobsBodyProps,\n} from \"./selfHostedSettings\";\nexport {\n CommandBlock,\n ReleaseNotesHtml,\n LogPanel,\n TokenSetupDialog,\n TokenMissingPanel,\n TokenStrip,\n UpToDatePanel,\n UpdateAvailablePanel,\n SupportExpiredPanel,\n CheckFailedPanel,\n PreflightGate,\n UpgradeConsole,\n SendToSupportDialog,\n MaintenanceScreen,\n formatDate,\n} from \"./selfHostedUpgrade\";\nexport type {\n TokenSource,\n TokenInfo,\n CheckErrorCode,\n CheckError,\n ReleaseNote,\n UpgradeStatus,\n PreflightStatus,\n PreflightCheck,\n PreflightResult,\n UpgradeDriver,\n RunStepKey,\n RunStatus,\n ProgressUnit,\n RunError,\n LogLevel,\n LogEntry,\n UpgradeRun,\n TokenSetupDialogProps,\n PreflightGateProps,\n UpdateAvailablePanelProps,\n TokenVerifyError,\n TokenVerifyState,\n UpgradeConsoleProps,\n SendToSupportDialogProps,\n SendToSupportState,\n MaintenanceScreenProps,\n} from \"./selfHostedUpgrade\";\nexport {\n FeatureAvailability,\n DEFAULT_FEATURE_AVAILABILITY,\n} from \"./FeatureAvailability\";\nexport type {\n FeatureAvailabilityProps,\n AvailabilityRow,\n AvailabilityMark,\n AvailabilityStatus,\n} from \"./FeatureAvailability\";\nexport {\n PORTFOLIO_TYPES,\n VISIBILITY_OPTIONS,\n DEFAULT_PORTFOLIO_FORM_VALUES,\n LEADERS_LIST,\n CATEGORIES,\n CLIENTS,\n contextFieldLabel,\n leaderShortName,\n defaultPortfolioName,\n isPortfolioDetailsValid,\n sampleProjectOptionIds,\n PortfolioDetailsFields,\n EditPortfolioDialog,\n ProjectsPicker,\n PICKER_PROJECTS,\n} from \"./portfolioDetails\";\nexport type {\n PortfolioKind,\n PortfolioVisibility,\n GroupBy,\n PortfolioFormValues,\n PickerLeader,\n PortfolioDetailsFieldsProps,\n EditPortfolioDialogProps,\n PickerProject,\n ProjectsPickerProps,\n} from \"./portfolioDetails\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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B,iBAAA,GAAArB,OAAA;AACA,IAAAsB,gBAAA,GAAAtB,OAAA;AAEA,IAAAuB,UAAA,GAAAvB,OAAA;AACA,IAAAwB,cAAA,GAAAxB,OAAA;AAUA,IAAAyB,gBAAA,GAAAzB,OAAA;AAWA,IAAA0B,mBAAA,GAAA1B,OAAA;AAEA,IAAA2B,sBAAA,GAAA3B,OAAA;AACA,IAAA4B,8BAAA,GAAA5B,OAAA;AAEA,IAAA6B,wBAAA,GAAA7B,OAAA;AAeA,IAAA8B,kBAAA,GAAA9B,OAAA;AAWA,IAAA+B,kBAAA,GAAA/B,OAAA;AAiBA,IAAAgC,sBAAA,GAAAhC,OAAA;AACA,IAAAiC,gBAAA,GAAAjC,OAAA;AAKA,IAAAkC,SAAA,GAAAlC,OAAA;AAEA,IAAAmC,kBAAA,GAAAnC,OAAA;AAQA,IAAAoC,gBAAA,GAAApC,OAAA;AAEA,IAAAqC,iBAAA,GAAArC,OAAA;AAKA,IAAAsC,SAAA,GAAAtC,OAAA;AAeA,IAAAuC,qBAAA,GAAAvC,OAAA;AAQA,IAAAwC,mBAAA,GAAAxC,OAAA;AAmBA,IAAAyC,kBAAA,GAAAzC,OAAA;AA6CA,IAAA0C,oBAAA,GAAA1C,OAAA;AAUA,IAAA2C,iBAAA,GAAA3C,OAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":["_tokens","require","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_MainLogo","_RoundAvatar","_MockAvatar","_PresentationShell","_headers","_PageStickyHeader","_ProjectOptionsMenu","_PortfolioOptionsMenu","_dashboardWidgets","_FloatingControls","_StatusIndicator","_ToastHost","_MessageDialog","_MessageFeedback","_HelpAndSupportMenu","_LinkingCommandsButton","_LinkBranchOrPullRequestDialog","_ConnectRepositoryDialog","_WebhookLogsDialog","_SourceCodeSection","_SuggestSubtasksButton","_TaskOptionsMenu","_UserMenu","_UserDetailsDialog","_TwoFactorShield","_TwoFactorDialogs","_settings","_systemSettingsDialog","_selfHostedSettings","_selfHostedUpgrade","_FeatureAvailability","_portfolioDetails"],"sources":["../../../../src/presentation/shared/index.ts"],"sourcesContent":["/**\n * Shared building blocks for the Presentation mock-ups (`Presentation/*`\n * stories). The application shell, page headers, tab bar and small widgets are\n * defined once here and reused by the List view, Column view, Task sheet and\n * empty-page stories so the chrome stays identical and in one place.\n */\nexport * from \"./tokens\";\nexport { MainLogo } from \"./MainLogo\";\nexport { RoundAvatar } from \"./RoundAvatar\";\nexport { MockAvatar, MockAvatarGroup } from \"./MockAvatar\";\nexport { PresentationShell, StyledPagePaper } from \"./PresentationShell\";\nexport type { PresentationShellProps } from \"./PresentationShell\";\nexport { PageHeader, ProjectPageHeader, TabHeader } from \"./headers\";\nexport { PageStickyHeader, usePageStickyCover } from \"./PageStickyHeader\";\nexport type { PageStickyHeaderProps } from \"./PageStickyHeader\";\nexport type {\n PageHeaderProps,\n ProjectPageHeaderProps,\n TabHeaderProps,\n} from \"./headers\";\nexport { ProjectOptionsMenu } from \"./ProjectOptionsMenu\";\nexport { PortfolioOptionsMenu } from \"./PortfolioOptionsMenu\";\nexport type { PortfolioOptionsMenuProps } from \"./PortfolioOptionsMenu\";\nexport {\n WidgetGrid,\n WidgetGroupBy,\n StatWidget,\n WidgetRankedList,\n OverviewWidget,\n AreaChartWidget,\n DailyDeltaChartWidget,\n LeaderboardWidget,\n StackedBarChartWidget,\n CHART_SERIES_COLORS,\n OVERVIEW_SECTION_COLORS,\n PERIOD_OPTIONS,\n PeriodPicker,\n CurrencyPicker,\n} from \"./dashboardWidgets\";\nexport type {\n WidgetGroupByProps,\n StatWidgetProps,\n RankedListItem,\n OverviewSectionData,\n OverviewWidgetProps,\n AreaChartWidgetProps,\n DailyDeltaPoint,\n DailyDeltaChartWidgetProps,\n LeaderboardRowData,\n LeaderboardWidgetProps,\n StackedBarColumn,\n StackedBarChartWidgetProps,\n PeriodPickerProps,\n CurrencyPickerProps,\n} from \"./dashboardWidgets\";\n\nexport type { ProjectOptionsMenuProps } from \"./ProjectOptionsMenu\";\nexport { FloatingControls } from \"./FloatingControls\";\nexport { StatusIndicator } from \"./StatusIndicator\";\nexport type { StatusIndicatorProps } from \"./StatusIndicator\";\nexport { ToastHost } from \"./ToastHost\";\nexport {\n MessageDialog,\n DocLinkContext,\n messageComponents,\n} from \"./MessageDialog\";\nexport type {\n MessageDialogProps,\n MessageDialogSize,\n OpenArticleHandler,\n} from \"./MessageDialog\";\nexport {\n MessageFeedback,\n POSITIVE_FEEDBACK_OPTIONS,\n NEGATIVE_FEEDBACK_OPTIONS,\n} from \"./MessageFeedback\";\nexport type {\n MessageFeedbackProps,\n MessageFeedbackResult,\n FeedbackOption,\n FeedbackSentiment,\n} from \"./MessageFeedback\";\nexport { HelpAndSupportMenu } from \"./HelpAndSupportMenu\";\nexport type { HelpAndSupportMenuProps } from \"./HelpAndSupportMenu\";\nexport { LinkingCommandsButton } from \"./LinkingCommandsButton\";\nexport { LinkBranchOrPullRequestDialog } from \"./LinkBranchOrPullRequestDialog\";\nexport type { LinkBranchOrPullRequestDialogProps } from \"./LinkBranchOrPullRequestDialog\";\nexport {\n ConnectRepositoryDialog,\n RepositorySelect,\n buildRepoOptions,\n CONNECTIONS,\n PROJECT_REPOSITORIES,\n CONNECTABLE_REPOSITORIES,\n} from \"./ConnectRepositoryDialog\";\nexport type {\n ConnectRepositoryDialogProps,\n RepositorySelectProps,\n Connection,\n ConnectionService,\n Repository,\n} from \"./ConnectRepositoryDialog\";\nexport {\n WebhookLogsDialog,\n WEBHOOK_CONNECTIONS,\n WEBHOOK_REPOSITORIES,\n} from \"./WebhookLogsDialog\";\nexport type {\n WebhookLogsDialogProps,\n WebhookConnection,\n WebhookRepository,\n WebhookLog,\n} from \"./WebhookLogsDialog\";\nexport {\n SourceCodeSection,\n IssueRow,\n CodeRow,\n Spine,\n HistoryDialog,\n CompletedHeader,\n} from \"./SourceCodeSection\";\nexport type {\n IssueEntry,\n CodeEntry,\n Stage,\n HistoryEvent,\n StageState,\n CodeStatus,\n SectionVariant,\n} from \"./SourceCodeSection\";\nexport { SuggestSubtasksButton } from \"./SuggestSubtasksButton\";\nexport { TaskOptionsMenu, TaskListOptionsMenu } from \"./TaskOptionsMenu\";\nexport type {\n TaskOptionsMenuProps,\n TaskListOptionsMenuProps,\n} from \"./TaskOptionsMenu\";\nexport { UserMenu } from \"./UserMenu\";\nexport type { UserMenuProps, UserMenuVariant } from \"./UserMenu\";\nexport {\n UserDetailsDialog,\n USER_DETAILS_AVATAR_SIZE,\n} from \"./UserDetailsDialog\";\nexport type {\n UserDetailsDialogProps,\n UserDetailsAvatar,\n} from \"./UserDetailsDialog\";\nexport { TwoFactorShield } from \"./TwoFactorShield\";\nexport type { TwoFactorShieldProps } from \"./TwoFactorShield\";\nexport { BackupCodesDialogs, CreateLoginCodeDialogs } from \"./TwoFactorDialogs\";\nexport type {\n BackupCodesDialogsProps,\n CreateLoginCodeDialogsProps,\n} from \"./TwoFactorDialogs\";\nexport {\n SettingsHeader,\n SettingsContent,\n SettingGroup,\n StyledSettingRow,\n RowText,\n SettingRow,\n SettingCount,\n SettingValue,\n} from \"./settings\";\nexport type {\n SettingsHeaderProps,\n SettingGroupProps,\n SettingRowProps,\n} from \"./settings\";\nexport {\n SystemSettingsDialog,\n SYSTEM_SETTINGS_GROUPS,\n} from \"./systemSettingsDialog\";\nexport type {\n SystemSettingsDialogProps,\n SystemSettingsSectionId,\n} from \"./systemSettingsDialog\";\nexport {\n SelfHostedSettingsDialog,\n ExpandableSettingRow,\n StatusDot,\n okStatus,\n SettingExpandCard,\n CommandCode,\n OtherSectionRows,\n CronJobsBody,\n EmailLogLink,\n} from \"./selfHostedSettings\";\nexport type {\n SelfHostedSettingsDialogProps,\n ExpandableSettingRowProps,\n SettingStatus,\n OtherSectionRowsProps,\n SectionRowState,\n CronJobsBodyProps,\n} from \"./selfHostedSettings\";\nexport {\n CommandBlock,\n ReleaseNotesHtml,\n LogPanel,\n TokenSetupDialog,\n TokenMissingPanel,\n TokenStrip,\n UpToDatePanel,\n UpdateAvailablePanel,\n SupportExpiredPanel,\n CheckFailedPanel,\n PreflightGate,\n UpgradeConsole,\n SendToSupportDialog,\n MaintenanceScreen,\n formatDate,\n} from \"./selfHostedUpgrade\";\nexport type {\n TokenSource,\n TokenInfo,\n CheckErrorCode,\n CheckError,\n ReleaseNote,\n UpgradeStatus,\n PreflightStatus,\n PreflightCheck,\n PreflightResult,\n UpgradeDriver,\n RunStepKey,\n RunStatus,\n ProgressUnit,\n RunError,\n LogLevel,\n LogEntry,\n UpgradeRun,\n TokenSetupDialogProps,\n PreflightGateProps,\n UpdateAvailablePanelProps,\n TokenVerifyError,\n TokenVerifyState,\n UpgradeConsoleProps,\n SendToSupportDialogProps,\n SendToSupportState,\n MaintenanceScreenProps,\n} from \"./selfHostedUpgrade\";\nexport {\n FeatureAvailability,\n DEFAULT_FEATURE_AVAILABILITY,\n} from \"./FeatureAvailability\";\nexport type {\n FeatureAvailabilityProps,\n AvailabilityRow,\n AvailabilityMark,\n AvailabilityStatus,\n} from \"./FeatureAvailability\";\nexport {\n PORTFOLIO_TYPES,\n VISIBILITY_OPTIONS,\n DEFAULT_PORTFOLIO_FORM_VALUES,\n LEADERS_LIST,\n CATEGORIES,\n CLIENTS,\n contextFieldLabel,\n leaderShortName,\n defaultPortfolioName,\n isPortfolioDetailsValid,\n sampleProjectOptionIds,\n PortfolioDetailsFields,\n EditPortfolioDialog,\n ProjectsPicker,\n PICKER_PROJECTS,\n} from \"./portfolioDetails\";\nexport type {\n PortfolioKind,\n PortfolioVisibility,\n GroupBy,\n PortfolioFormValues,\n PickerLeader,\n PortfolioDetailsFieldsProps,\n EditPortfolioDialogProps,\n PickerProject,\n ProjectsPickerProps,\n} from \"./portfolioDetails\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
|
|
1
|
-
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/List/Styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/List/Styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU,mEAUtB,CAAC;AAIF,eAAO,MAAM,cAAc,mEAyB1B,CAAC;AAIF,eAAO,MAAM,mBAAmB,oEAI/B,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { FontStyle } from "../FontStyle";
|
|
|
4
4
|
export const StyledList = styled.ul.withConfig({
|
|
5
5
|
displayName: "Styles__StyledList",
|
|
6
6
|
componentId: "sc-dv1w0m-0"
|
|
7
|
-
})(["list-style-type:none;margin:0;padding:0;"]);
|
|
7
|
+
})(["list-style-type:none;margin:0;padding:0;&:focus-visible{outline:none;}"]);
|
|
8
8
|
StyledList.displayName = "StyledList";
|
|
9
9
|
export const StyledListItem = styled.li.withConfig({
|
|
10
10
|
displayName: "Styles__StyledListItem",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.js","names":["styled","BoxSizingStyle","FontStyle","StyledList","ul","withConfig","displayName","componentId","StyledListItem","li","StyledListSeparator","div"],"sources":["../../../../src/components/List/Styles.ts"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { FontStyle } from \"../FontStyle\";\n\nexport const StyledList = styled.ul`\n list-style-type: none;\n margin: 0;\n padding: 0;\n`;\n\nStyledList.displayName = \"StyledList\";\n\nexport const StyledListItem = styled.li`\n ${BoxSizingStyle}\n ${FontStyle}\n\n display: flex;\n flex-direction: row;\n align-items: center;\n cursor: pointer;\n padding: 0 1rem;\n margin: 0.25rem 0;\n font-size: 0.875rem;\n user-select: none;\n\n color: var(--color-theme-900);\n line-height: 28px;\n\n > svg:first-child {\n margin-right: 8px;\n }\n\n &:hover,\n &:focus-visible {\n background-color: var(--color-theme-200);\n outline: none;\n }\n`;\n\nStyledListItem.displayName = \"StyledListItem\";\n\nexport const StyledListSeparator = styled.div`\n border-top: 1px solid var(--border-primary);\n margin: 12px 16px;\n height: 1px;\n`;\n\nStyledListSeparator.displayName = \"StyledListSeparator\";\n"],"mappings":"AAAA,OAAOA,MAAM,MAAM,mBAAmB;AAEtC,SAASC,cAAc,QAAQ,mBAAmB;AAClD,SAASC,SAAS,QAAQ,cAAc;AAExC,OAAO,MAAMC,UAAU,GAAGH,MAAM,CAACI,EAAE,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"Styles.js","names":["styled","BoxSizingStyle","FontStyle","StyledList","ul","withConfig","displayName","componentId","StyledListItem","li","StyledListSeparator","div"],"sources":["../../../../src/components/List/Styles.ts"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { FontStyle } from \"../FontStyle\";\n\nexport const StyledList = styled.ul`\n list-style-type: none;\n margin: 0;\n padding: 0;\n\n // The list is where a focus lock parks the focus before the reader picks an item, so it takes the focus\n // without taking the ring with it. The item that the reader lands on carries the ring instead.\n &:focus-visible {\n outline: none;\n }\n`;\n\nStyledList.displayName = \"StyledList\";\n\nexport const StyledListItem = styled.li`\n ${BoxSizingStyle}\n ${FontStyle}\n\n display: flex;\n flex-direction: row;\n align-items: center;\n cursor: pointer;\n padding: 0 1rem;\n margin: 0.25rem 0;\n font-size: 0.875rem;\n user-select: none;\n\n color: var(--color-theme-900);\n line-height: 28px;\n\n > svg:first-child {\n margin-right: 8px;\n }\n\n &:hover,\n &:focus-visible {\n background-color: var(--color-theme-200);\n outline: none;\n }\n`;\n\nStyledListItem.displayName = \"StyledListItem\";\n\nexport const StyledListSeparator = styled.div`\n border-top: 1px solid var(--border-primary);\n margin: 12px 16px;\n height: 1px;\n`;\n\nStyledListSeparator.displayName = \"StyledListSeparator\";\n"],"mappings":"AAAA,OAAOA,MAAM,MAAM,mBAAmB;AAEtC,SAASC,cAAc,QAAQ,mBAAmB;AAClD,SAASC,SAAS,QAAQ,cAAc;AAExC,OAAO,MAAMC,UAAU,GAAGH,MAAM,CAACI,EAAE,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,8EAUlC;AAEDJ,UAAU,CAACG,WAAW,GAAG,YAAY;AAErC,OAAO,MAAME,cAAc,GAAGR,MAAM,CAACS,EAAE,CAAAJ,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,yTACnCN,cAAc,EACdC,SAAS,CAuBZ;AAEDM,cAAc,CAACF,WAAW,GAAG,gBAAgB;AAE7C,OAAO,MAAMI,mBAAmB,GAAGV,MAAM,CAACW,GAAG,CAAAN,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,+EAI5C;AAEDG,mBAAmB,CAACJ,WAAW,GAAG,qBAAqB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Style.d.ts","sourceRoot":"","sources":["../../../../src/components/Window/Style.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"Style.d.ts","sourceRoot":"","sources":["../../../../src/components/Window/Style.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY,oEAexB,CAAC"}
|
|
@@ -4,6 +4,6 @@ import { FontStyle } from "../FontStyle";
|
|
|
4
4
|
export const StyledWindow = styled.div.withConfig({
|
|
5
5
|
displayName: "Style__StyledWindow",
|
|
6
6
|
componentId: "sc-rnlftg-0"
|
|
7
|
-
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
|
|
7
|
+
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;&:focus-visible{outline:none;}"], FontStyle, BoxSizingStyle);
|
|
8
8
|
StyledWindow.displayName = "StyledWindow";
|
|
9
9
|
//# sourceMappingURL=Style.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Style.js","names":["styled","BoxSizingStyle","FontStyle","StyledWindow","div","withConfig","displayName","componentId"],"sources":["../../../../src/components/Window/Style.ts"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { FontStyle } from \"../FontStyle\";\n\nexport const StyledWindow = styled.div`\n ${FontStyle}\n ${BoxSizingStyle}\n\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n`;\n\nStyledWindow.displayName = \"StyledWindow\";\n"],"mappings":"AAAA,OAAOA,MAAM,MAAM,mBAAmB;AAEtC,SAASC,cAAc,QAAQ,mBAAmB;AAClD,SAASC,SAAS,QAAQ,cAAc;AAExC,OAAO,MAAMC,YAAY,GAAGH,MAAM,CAACI,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"Style.js","names":["styled","BoxSizingStyle","FontStyle","StyledWindow","div","withConfig","displayName","componentId"],"sources":["../../../../src/components/Window/Style.ts"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { FontStyle } from \"../FontStyle\";\n\nexport const StyledWindow = styled.div`\n ${FontStyle}\n ${BoxSizingStyle}\n\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n\n // The window is the focus lock's own node, and it covers the viewport, so a ring on it frames the whole\n // page rather than anything the reader can act on. The content it holds carries the ring instead.\n &:focus-visible {\n outline: none;\n }\n`;\n\nStyledWindow.displayName = \"StyledWindow\";\n"],"mappings":"AAAA,OAAOA,MAAM,MAAM,mBAAmB;AAEtC,SAASC,cAAc,QAAQ,mBAAmB;AAClD,SAASC,SAAS,QAAQ,cAAc;AAExC,OAAO,MAAMC,YAAY,GAAGH,MAAM,CAACI,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,8FAClCL,SAAS,EACTD,cAAc,CAajB;AAEDE,YAAY,CAACG,WAAW,GAAG,cAAc","ignoreList":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* An initials avatar for the DS `AvatarGroup`. The app feeds that group real
|
|
4
|
+
* user images; the mocks have none, so this stands in for DS `Avatar` while
|
|
5
|
+
* honouring AvatarGroup's cloneElement contract — it injects `size`, `alt` and
|
|
6
|
+
* `style` (the overlap margin and the paper ring) — so the grouping, overlap
|
|
7
|
+
* and "+N" overflow behave exactly as they do in the app.
|
|
8
|
+
*/
|
|
9
|
+
export declare const MockAvatar: React.ForwardRefExoticComponent<{
|
|
10
|
+
size?: number;
|
|
11
|
+
bg: string;
|
|
12
|
+
initials: string;
|
|
13
|
+
/** Injected by AvatarGroup for the tooltip label; not rendered here. */
|
|
14
|
+
alt?: string;
|
|
15
|
+
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
/** DS `AvatarGroup` without its default padding, as the app strips it with
|
|
17
|
+
`tw-p-0` (`tw-` classes do not run in this Storybook). */
|
|
18
|
+
export declare const MockAvatarGroup: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("../..").AvatarGroupsProps & {
|
|
19
|
+
children?: React.ReactNode | undefined;
|
|
20
|
+
} & React.RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
21
|
+
//# sourceMappingURL=MockAvatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MockAvatar.d.ts","sourceRoot":"","sources":["../../../../src/presentation/shared/MockAvatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B;;;;;;GAMG;AACH,eAAO,MAAM,UAAU;WAGZ,MAAM;QACT,MAAM;cACA,MAAM;IAChB,wEAAwE;UAClE,MAAM;+EAad,CAAC;AAIH;6DAC6D;AAC7D,eAAO,MAAM,eAAe;;yDAI3B,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
|
+
const _excluded = ["size", "bg", "initials", "alt"];
|
|
4
|
+
import React from "react";
|
|
5
|
+
import styled from "styled-components";
|
|
6
|
+
import { RoundAvatar } from "./RoundAvatar";
|
|
7
|
+
import { AvatarGroup } from "../../components/AvatarGroup";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* An initials avatar for the DS `AvatarGroup`. The app feeds that group real
|
|
11
|
+
* user images; the mocks have none, so this stands in for DS `Avatar` while
|
|
12
|
+
* honouring AvatarGroup's cloneElement contract — it injects `size`, `alt` and
|
|
13
|
+
* `style` (the overlap margin and the paper ring) — so the grouping, overlap
|
|
14
|
+
* and "+N" overflow behave exactly as they do in the app.
|
|
15
|
+
*/
|
|
16
|
+
export const MockAvatar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
17
|
+
let _ref$size = _ref.size,
|
|
18
|
+
size = _ref$size === void 0 ? 20 : _ref$size,
|
|
19
|
+
bg = _ref.bg,
|
|
20
|
+
initials = _ref.initials,
|
|
21
|
+
alt = _ref.alt,
|
|
22
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
23
|
+
return (
|
|
24
|
+
/*#__PURE__*/
|
|
25
|
+
// `...rest` carries the props AvatarGroup and its Tooltip inject via
|
|
26
|
+
// cloneElement — `style` (overlap margin + paper ring) and the hover handlers
|
|
27
|
+
// (`onMouseOver` / `onMouseLeave`) — plus the forwarded `ref`, all of which
|
|
28
|
+
// must reach the DOM node for the tooltip to open.
|
|
29
|
+
React.createElement(RoundAvatar, _extends({
|
|
30
|
+
ref: ref,
|
|
31
|
+
$bg: bg,
|
|
32
|
+
$size: size,
|
|
33
|
+
$bordered: false
|
|
34
|
+
}, rest), initials)
|
|
35
|
+
);
|
|
36
|
+
});
|
|
37
|
+
MockAvatar.displayName = "MockAvatar";
|
|
38
|
+
|
|
39
|
+
/** DS `AvatarGroup` without its default padding, as the app strips it with
|
|
40
|
+
`tw-p-0` (`tw-` classes do not run in this Storybook). */
|
|
41
|
+
export const MockAvatarGroup = styled(AvatarGroup).withConfig({
|
|
42
|
+
displayName: "MockAvatar__MockAvatarGroup",
|
|
43
|
+
componentId: "sc-mgfb0r-0"
|
|
44
|
+
})(["&&{padding:0;}"]);
|
|
45
|
+
//# sourceMappingURL=MockAvatar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MockAvatar.js","names":["React","styled","RoundAvatar","AvatarGroup","MockAvatar","forwardRef","_ref","ref","_ref$size","size","bg","initials","alt","rest","_objectWithoutPropertiesLoose","_excluded","createElement","_extends","$bg","$size","$bordered","displayName","MockAvatarGroup","withConfig","componentId"],"sources":["../../../../src/presentation/shared/MockAvatar.tsx"],"sourcesContent":["import React from \"react\";\n\nimport styled from \"styled-components\";\n\nimport { RoundAvatar } from \"./RoundAvatar\";\nimport { AvatarGroup } from \"../../components/AvatarGroup\";\n\n/**\n * An initials avatar for the DS `AvatarGroup`. The app feeds that group real\n * user images; the mocks have none, so this stands in for DS `Avatar` while\n * honouring AvatarGroup's cloneElement contract — it injects `size`, `alt` and\n * `style` (the overlap margin and the paper ring) — so the grouping, overlap\n * and \"+N\" overflow behave exactly as they do in the app.\n */\nexport const MockAvatar = React.forwardRef<\n HTMLDivElement,\n {\n size?: number;\n bg: string;\n initials: string;\n /** Injected by AvatarGroup for the tooltip label; not rendered here. */\n alt?: string;\n } & React.HTMLAttributes<HTMLDivElement>\n // `alt` is pulled out only so it is not spread onto the <div> (invalid DOM\n // attribute); AvatarGroup has already read it for the tooltip label.\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n>(({ size = 20, bg, initials, alt, ...rest }, ref) => (\n // `...rest` carries the props AvatarGroup and its Tooltip inject via\n // cloneElement — `style` (overlap margin + paper ring) and the hover handlers\n // (`onMouseOver` / `onMouseLeave`) — plus the forwarded `ref`, all of which\n // must reach the DOM node for the tooltip to open.\n <RoundAvatar ref={ref} $bg={bg} $size={size} $bordered={false} {...rest}>\n {initials}\n </RoundAvatar>\n));\n\nMockAvatar.displayName = \"MockAvatar\";\n\n/** DS `AvatarGroup` without its default padding, as the app strips it with\n `tw-p-0` (`tw-` classes do not run in this Storybook). */\nexport const MockAvatarGroup = styled(AvatarGroup)`\n && {\n padding: 0;\n }\n`;\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,MAAM,MAAM,mBAAmB;AAEtC,SAASC,WAAW,QAAQ,eAAe;AAC3C,SAASC,WAAW,QAAQ,8BAA8B;;AAE1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,UAAU,gBAAGJ,KAAK,CAACK,UAAU,CAYxC,CAAAC,IAAA,EAA4CC,GAAG;EAAA,IAAAC,SAAA,GAAAF,IAAA,CAA5CG,IAAI;IAAJA,IAAI,GAAAD,SAAA,cAAG,EAAE,GAAAA,SAAA;IAAEE,EAAE,GAAAJ,IAAA,CAAFI,EAAE;IAAEC,QAAQ,GAAAL,IAAA,CAARK,QAAQ;IAAEC,GAAG,GAAAN,IAAA,CAAHM,GAAG;IAAKC,IAAI,GAAAC,6BAAA,CAAAR,IAAA,EAAAS,SAAA;EAAA;IAAA;IACxC;IACA;IACA;IACA;IACAf,KAAA,CAAAgB,aAAA,CAACd,WAAW,EAAAe,QAAA;MAACV,GAAG,EAAEA,GAAI;MAACW,GAAG,EAAER,EAAG;MAACS,KAAK,EAAEV,IAAK;MAACW,SAAS,EAAE;IAAM,GAAKP,IAAI,GACpEF,QACU;EAAC;AAAA,CACf,CAAC;AAEFP,UAAU,CAACiB,WAAW,GAAG,YAAY;;AAErC;AACA;AACA,OAAO,MAAMC,eAAe,GAAGrB,MAAM,CAACE,WAAW,CAAC,CAAAoB,UAAA;EAAAF,WAAA;EAAAG,WAAA;AAAA,sBAIjD","ignoreList":[]}
|
|
@@ -27,7 +27,7 @@ export declare const ProjectPageHeader: {
|
|
|
27
27
|
};
|
|
28
28
|
export interface TabHeaderProps {
|
|
29
29
|
/** Which view-mode toggle is highlighted as active. */
|
|
30
|
-
activeView?: "list" | "column" | "timeline";
|
|
30
|
+
activeView?: "list" | "column" | "timeline" | "calendar";
|
|
31
31
|
/** Batch edit is a list/board affordance; views without it pass `false`. */
|
|
32
32
|
showBatchEdit?: boolean;
|
|
33
33
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headers.d.ts","sourceRoot":"","sources":["../../../../src/presentation/shared/headers.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,YAAY,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAIjE,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"headers.d.ts","sourceRoot":"","sources":["../../../../src/presentation/shared/headers.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,YAAY,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAIjE,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AA+GvD,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,+EAA+E;AAC/E,eAAO,MAAM,UAAU;iCAIpB,eAAe,GAAG,YAAY;;CAchC,CAAC;AAmMF,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;iEAC6D;IAC7D,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,iFAAiF;IACjF,4BAA4B,CAAC,EAAE,UAAU,EAAE,CAAC;IAC5C,sEAAsE;IACtE,4BAA4B,CAAC,EAAE,OAAO,CAAC;CACxC;AAED,mFAAmF;AACnF,eAAO,MAAM,iBAAiB;iGAK3B,sBAAsB,GAAG,YAAY;;CAkCvC,CAAC;AAsCF,MAAM,WAAW,cAAc;IAC7B,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,UAAU,GAAG,UAAU,CAAC;IACzD,4EAA4E;IAC5E,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B;AAED,wEAAwE;AACxE,eAAO,MAAM,SAAS;mDAInB,cAAc,GAAG,YAAY;;CAwD/B,CAAC"}
|
|
@@ -8,7 +8,7 @@ import { GlobalAddButton } from "../../components/Button/GlobalAddButton";
|
|
|
8
8
|
import { CounterButton } from "../../components/CounterButton";
|
|
9
9
|
import { Header } from "../../components/Header";
|
|
10
10
|
import { IconButton } from "../../components/IconButton";
|
|
11
|
-
import { AddCrossTinyIcon, ArrowLeftIcon, CloseSmallIcon, CrownBlankIcon, CrownSelectedIcon, EditMultipleIcon, FilterIcon, InfoIcon, PeopleIcon, ViewListIcon, ViewTimelineIcon } from "../../components/Icons";
|
|
11
|
+
import { AddCrossTinyIcon, ArrowLeftIcon, CloseSmallIcon, CrownBlankIcon, CrownSelectedIcon, EditMultipleIcon, FilterIcon, InfoIcon, PeopleIcon, ViewGridIcon, ViewListIcon, ViewTimelineIcon } from "../../components/Icons";
|
|
12
12
|
import { Menu, MenuHeader } from "../../components/Menu";
|
|
13
13
|
import { Item, Nav } from "../../components/Nav";
|
|
14
14
|
import { ProgressPie } from "../../components/ProgressPie";
|
|
@@ -243,7 +243,12 @@ export const TabHeader = _ref3 => {
|
|
|
243
243
|
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
244
244
|
variant: "text gray",
|
|
245
245
|
active: activeView === "timeline"
|
|
246
|
-
}, /*#__PURE__*/React.createElement(ViewTimelineIcon, null))), /*#__PURE__*/React.createElement(
|
|
246
|
+
}, /*#__PURE__*/React.createElement(ViewTimelineIcon, null))), /*#__PURE__*/React.createElement(Tooltip, {
|
|
247
|
+
title: "Calendar view"
|
|
248
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
249
|
+
variant: "text gray",
|
|
250
|
+
active: activeView === "calendar"
|
|
251
|
+
}, /*#__PURE__*/React.createElement(ViewGridIcon, null))), /*#__PURE__*/React.createElement("span", {
|
|
247
252
|
className: "vertical-separator"
|
|
248
253
|
}), /*#__PURE__*/React.createElement(Tooltip, {
|
|
249
254
|
title: "Add New"
|