@activecollab/components 2.0.387 → 2.0.389
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/StepSequence/SpineStep.js +163 -0
- package/dist/cjs/components/StepSequence/SpineStep.js.map +1 -0
- package/dist/cjs/components/StepSequence/Styles.js +1 -1
- package/dist/cjs/components/StepSequence/Styles.js.map +1 -1
- package/dist/cjs/components/StepSequence/index.js +11 -0
- package/dist/cjs/components/StepSequence/index.js.map +1 -1
- package/dist/cjs/presentation/shared/SourceCodeSection.js +25 -4
- package/dist/cjs/presentation/shared/SourceCodeSection.js.map +1 -1
- package/dist/esm/components/StepSequence/SpineStep.d.ts +14 -0
- package/dist/esm/components/StepSequence/SpineStep.d.ts.map +1 -0
- package/dist/esm/components/StepSequence/SpineStep.js +157 -0
- package/dist/esm/components/StepSequence/SpineStep.js.map +1 -0
- package/dist/esm/components/StepSequence/Styles.d.ts.map +1 -1
- package/dist/esm/components/StepSequence/Styles.js +1 -1
- package/dist/esm/components/StepSequence/Styles.js.map +1 -1
- package/dist/esm/components/StepSequence/index.d.ts +1 -0
- package/dist/esm/components/StepSequence/index.d.ts.map +1 -1
- package/dist/esm/components/StepSequence/index.js +1 -0
- package/dist/esm/components/StepSequence/index.js.map +1 -1
- package/dist/esm/presentation/shared/SourceCodeSection.d.ts +2 -0
- package/dist/esm/presentation/shared/SourceCodeSection.d.ts.map +1 -1
- package/dist/esm/presentation/shared/SourceCodeSection.js +25 -4
- package/dist/esm/presentation/shared/SourceCodeSection.js.map +1 -1
- package/dist/index.js +156 -1
- 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
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { CheckIcon, CircleSlashIcon, ClockIcon, CloseIcon, EyeIcon, GitBranchIcon, GitCommitIcon, GitMergeIcon, GitPullRequestIcon, LockIcon, WarningIcon, WarningTriangleIcon } from "../Icons";
|
|
3
|
+
|
|
4
|
+
/** The fifteen states a source-code spine node can be in */
|
|
5
|
+
|
|
6
|
+
/* Glyph colours: light on a filled step, the step's own tone on an outlined
|
|
7
|
+
one — the component paints rings and lines, the caller paints glyphs. */
|
|
8
|
+
const ON_SOLID = "var(--only-white)";
|
|
9
|
+
const AMBER = "var(--color-orange)";
|
|
10
|
+
|
|
11
|
+
/* Glyphs render at an even 12px: a 13px glyph in the 22px solid circle (or
|
|
12
|
+
the 18px content box of an outlined one) leaves half-pixel margins, so the
|
|
13
|
+
browser snaps it visibly off-centre — 12px keeps every margin a whole pixel
|
|
14
|
+
and renders the 2-unit strokes of the 24-grid icons at exactly 1px. */
|
|
15
|
+
const GLYPH = 12;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* The fifteen spine states as generic `StepSequence` steps — the single
|
|
19
|
+
* source both the Spine State Explorer story and the app's source-code
|
|
20
|
+
* spine render from.
|
|
21
|
+
*
|
|
22
|
+
* A connector takes the tone of the step it points into, so `connectorTone`
|
|
23
|
+
* is only spelled out for a stage that has not been reached yet (queued /
|
|
24
|
+
* manual / locked) — there the line stays the faint neutral grey.
|
|
25
|
+
*/
|
|
26
|
+
export const SPINE_STEP = {
|
|
27
|
+
done: {
|
|
28
|
+
tone: "success",
|
|
29
|
+
fill: "solid",
|
|
30
|
+
icon: /*#__PURE__*/React.createElement(CheckIcon, {
|
|
31
|
+
fill: ON_SOLID,
|
|
32
|
+
width: GLYPH,
|
|
33
|
+
height: GLYPH
|
|
34
|
+
})
|
|
35
|
+
},
|
|
36
|
+
merged: {
|
|
37
|
+
tone: "success",
|
|
38
|
+
fill: "solid",
|
|
39
|
+
icon: /*#__PURE__*/React.createElement(GitMergeIcon, {
|
|
40
|
+
stroke: ON_SOLID,
|
|
41
|
+
width: GLYPH,
|
|
42
|
+
height: GLYPH
|
|
43
|
+
})
|
|
44
|
+
},
|
|
45
|
+
committed: {
|
|
46
|
+
tone: "success",
|
|
47
|
+
fill: "solid",
|
|
48
|
+
icon: /*#__PURE__*/React.createElement(GitCommitIcon, {
|
|
49
|
+
stroke: ON_SOLID,
|
|
50
|
+
width: GLYPH,
|
|
51
|
+
height: GLYPH
|
|
52
|
+
})
|
|
53
|
+
},
|
|
54
|
+
progress: {
|
|
55
|
+
tone: "info",
|
|
56
|
+
fill: "solid",
|
|
57
|
+
pulse: true
|
|
58
|
+
},
|
|
59
|
+
review: {
|
|
60
|
+
tone: "info",
|
|
61
|
+
fill: "solid",
|
|
62
|
+
icon: /*#__PURE__*/React.createElement(EyeIcon, {
|
|
63
|
+
fill: ON_SOLID,
|
|
64
|
+
width: GLYPH,
|
|
65
|
+
height: GLYPH
|
|
66
|
+
})
|
|
67
|
+
},
|
|
68
|
+
active: {
|
|
69
|
+
tone: "info",
|
|
70
|
+
fill: "solid",
|
|
71
|
+
icon: /*#__PURE__*/React.createElement(GitBranchIcon, {
|
|
72
|
+
stroke: ON_SOLID,
|
|
73
|
+
width: GLYPH,
|
|
74
|
+
height: GLYPH
|
|
75
|
+
})
|
|
76
|
+
},
|
|
77
|
+
queued: {
|
|
78
|
+
tone: "info",
|
|
79
|
+
fill: "outline",
|
|
80
|
+
icon: /*#__PURE__*/React.createElement(ClockIcon, {
|
|
81
|
+
fill: "var(--color-progress-blue)",
|
|
82
|
+
width: GLYPH,
|
|
83
|
+
height: GLYPH
|
|
84
|
+
}),
|
|
85
|
+
connectorTone: "neutral"
|
|
86
|
+
},
|
|
87
|
+
failed: {
|
|
88
|
+
tone: "danger",
|
|
89
|
+
fill: "solid",
|
|
90
|
+
icon: /*#__PURE__*/React.createElement(CloseIcon, {
|
|
91
|
+
fill: ON_SOLID,
|
|
92
|
+
width: GLYPH,
|
|
93
|
+
height: GLYPH
|
|
94
|
+
})
|
|
95
|
+
},
|
|
96
|
+
warning: {
|
|
97
|
+
tone: "warning",
|
|
98
|
+
fill: "solid",
|
|
99
|
+
icon: /*#__PURE__*/React.createElement(WarningIcon, {
|
|
100
|
+
fill: ON_SOLID,
|
|
101
|
+
width: GLYPH,
|
|
102
|
+
height: GLYPH
|
|
103
|
+
})
|
|
104
|
+
},
|
|
105
|
+
conflict: {
|
|
106
|
+
tone: "danger",
|
|
107
|
+
fill: "solid",
|
|
108
|
+
icon: /*#__PURE__*/React.createElement(WarningTriangleIcon, {
|
|
109
|
+
fill: ON_SOLID,
|
|
110
|
+
width: GLYPH,
|
|
111
|
+
height: GLYPH
|
|
112
|
+
})
|
|
113
|
+
},
|
|
114
|
+
skipped: {
|
|
115
|
+
tone: "neutral",
|
|
116
|
+
fill: "solid",
|
|
117
|
+
icon: /*#__PURE__*/React.createElement(CircleSlashIcon, {
|
|
118
|
+
fill: ON_SOLID,
|
|
119
|
+
width: GLYPH,
|
|
120
|
+
height: GLYPH
|
|
121
|
+
})
|
|
122
|
+
},
|
|
123
|
+
manual: {
|
|
124
|
+
tone: "warning",
|
|
125
|
+
fill: "outline",
|
|
126
|
+
icon: /*#__PURE__*/React.createElement(ClockIcon, {
|
|
127
|
+
fill: AMBER,
|
|
128
|
+
width: GLYPH,
|
|
129
|
+
height: GLYPH
|
|
130
|
+
}),
|
|
131
|
+
connectorTone: "neutral"
|
|
132
|
+
},
|
|
133
|
+
locked: {
|
|
134
|
+
tone: "warning",
|
|
135
|
+
fill: "outline",
|
|
136
|
+
icon: /*#__PURE__*/React.createElement(LockIcon, {
|
|
137
|
+
fill: AMBER,
|
|
138
|
+
width: GLYPH,
|
|
139
|
+
height: GLYPH
|
|
140
|
+
}),
|
|
141
|
+
connectorTone: "neutral"
|
|
142
|
+
},
|
|
143
|
+
draft: {
|
|
144
|
+
tone: "neutral",
|
|
145
|
+
fill: "dashed",
|
|
146
|
+
icon: /*#__PURE__*/React.createElement(GitPullRequestIcon, {
|
|
147
|
+
stroke: "var(--color-theme-600)",
|
|
148
|
+
width: GLYPH,
|
|
149
|
+
height: GLYPH
|
|
150
|
+
})
|
|
151
|
+
},
|
|
152
|
+
todo: {
|
|
153
|
+
tone: "neutral",
|
|
154
|
+
fill: "outline"
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
//# sourceMappingURL=SpineStep.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpineStep.js","names":["React","CheckIcon","CircleSlashIcon","ClockIcon","CloseIcon","EyeIcon","GitBranchIcon","GitCommitIcon","GitMergeIcon","GitPullRequestIcon","LockIcon","WarningIcon","WarningTriangleIcon","ON_SOLID","AMBER","GLYPH","SPINE_STEP","done","tone","fill","icon","createElement","width","height","merged","stroke","committed","progress","pulse","review","active","queued","connectorTone","failed","warning","conflict","skipped","manual","locked","draft","todo"],"sources":["../../../../src/components/StepSequence/SpineStep.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { IStepSequenceStep } from \"./StepSequence\";\nimport {\n CheckIcon,\n CircleSlashIcon,\n ClockIcon,\n CloseIcon,\n EyeIcon,\n GitBranchIcon,\n GitCommitIcon,\n GitMergeIcon,\n GitPullRequestIcon,\n LockIcon,\n WarningIcon,\n WarningTriangleIcon,\n} from \"../Icons\";\n\n/** The fifteen states a source-code spine node can be in */\nexport type SpineState =\n | \"done\"\n | \"merged\"\n | \"committed\"\n | \"progress\"\n | \"review\"\n | \"active\"\n | \"queued\"\n | \"failed\"\n | \"warning\"\n | \"conflict\"\n | \"skipped\"\n | \"manual\"\n | \"locked\"\n | \"draft\"\n | \"todo\";\n\n/* Glyph colours: light on a filled step, the step's own tone on an outlined\n one — the component paints rings and lines, the caller paints glyphs. */\nconst ON_SOLID = \"var(--only-white)\";\nconst AMBER = \"var(--color-orange)\";\n\n/* Glyphs render at an even 12px: a 13px glyph in the 22px solid circle (or\n the 18px content box of an outlined one) leaves half-pixel margins, so the\n browser snaps it visibly off-centre — 12px keeps every margin a whole pixel\n and renders the 2-unit strokes of the 24-grid icons at exactly 1px. */\nconst GLYPH = 12;\n\n/**\n * The fifteen spine states as generic `StepSequence` steps — the single\n * source both the Spine State Explorer story and the app's source-code\n * spine render from.\n *\n * A connector takes the tone of the step it points into, so `connectorTone`\n * is only spelled out for a stage that has not been reached yet (queued /\n * manual / locked) — there the line stays the faint neutral grey.\n */\nexport const SPINE_STEP: Record<SpineState, IStepSequenceStep> = {\n done: {\n tone: \"success\",\n fill: \"solid\",\n icon: <CheckIcon fill={ON_SOLID} width={GLYPH} height={GLYPH} />,\n },\n merged: {\n tone: \"success\",\n fill: \"solid\",\n icon: <GitMergeIcon stroke={ON_SOLID} width={GLYPH} height={GLYPH} />,\n },\n committed: {\n tone: \"success\",\n fill: \"solid\",\n icon: <GitCommitIcon stroke={ON_SOLID} width={GLYPH} height={GLYPH} />,\n },\n progress: { tone: \"info\", fill: \"solid\", pulse: true },\n review: {\n tone: \"info\",\n fill: \"solid\",\n icon: <EyeIcon fill={ON_SOLID} width={GLYPH} height={GLYPH} />,\n },\n active: {\n tone: \"info\",\n fill: \"solid\",\n icon: <GitBranchIcon stroke={ON_SOLID} width={GLYPH} height={GLYPH} />,\n },\n queued: {\n tone: \"info\",\n fill: \"outline\",\n icon: (\n <ClockIcon\n fill=\"var(--color-progress-blue)\"\n width={GLYPH}\n height={GLYPH}\n />\n ),\n connectorTone: \"neutral\",\n },\n failed: {\n tone: \"danger\",\n fill: \"solid\",\n icon: <CloseIcon fill={ON_SOLID} width={GLYPH} height={GLYPH} />,\n },\n warning: {\n tone: \"warning\",\n fill: \"solid\",\n icon: <WarningIcon fill={ON_SOLID} width={GLYPH} height={GLYPH} />,\n },\n conflict: {\n tone: \"danger\",\n fill: \"solid\",\n icon: <WarningTriangleIcon fill={ON_SOLID} width={GLYPH} height={GLYPH} />,\n },\n skipped: {\n tone: \"neutral\",\n fill: \"solid\",\n icon: <CircleSlashIcon fill={ON_SOLID} width={GLYPH} height={GLYPH} />,\n },\n manual: {\n tone: \"warning\",\n fill: \"outline\",\n icon: <ClockIcon fill={AMBER} width={GLYPH} height={GLYPH} />,\n connectorTone: \"neutral\",\n },\n locked: {\n tone: \"warning\",\n fill: \"outline\",\n icon: <LockIcon fill={AMBER} width={GLYPH} height={GLYPH} />,\n connectorTone: \"neutral\",\n },\n draft: {\n tone: \"neutral\",\n fill: \"dashed\",\n icon: (\n <GitPullRequestIcon\n stroke=\"var(--color-theme-600)\"\n width={GLYPH}\n height={GLYPH}\n />\n ),\n },\n todo: { tone: \"neutral\", fill: \"outline\" },\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAGzB,SACEC,SAAS,EACTC,eAAe,EACfC,SAAS,EACTC,SAAS,EACTC,OAAO,EACPC,aAAa,EACbC,aAAa,EACbC,YAAY,EACZC,kBAAkB,EAClBC,QAAQ,EACRC,WAAW,EACXC,mBAAmB,QACd,UAAU;;AAEjB;;AAkBA;AACA;AACA,MAAMC,QAAQ,GAAG,mBAAmB;AACpC,MAAMC,KAAK,GAAG,qBAAqB;;AAEnC;AACA;AACA;AACA;AACA,MAAMC,KAAK,GAAG,EAAE;;AAEhB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,UAAiD,GAAG;EAC/DC,IAAI,EAAE;IACJC,IAAI,EAAE,SAAS;IACfC,IAAI,EAAE,OAAO;IACbC,IAAI,eAAEpB,KAAA,CAAAqB,aAAA,CAACpB,SAAS;MAACkB,IAAI,EAAEN,QAAS;MAACS,KAAK,EAAEP,KAAM;MAACQ,MAAM,EAAER;IAAM,CAAE;EACjE,CAAC;EACDS,MAAM,EAAE;IACNN,IAAI,EAAE,SAAS;IACfC,IAAI,EAAE,OAAO;IACbC,IAAI,eAAEpB,KAAA,CAAAqB,aAAA,CAACb,YAAY;MAACiB,MAAM,EAAEZ,QAAS;MAACS,KAAK,EAAEP,KAAM;MAACQ,MAAM,EAAER;IAAM,CAAE;EACtE,CAAC;EACDW,SAAS,EAAE;IACTR,IAAI,EAAE,SAAS;IACfC,IAAI,EAAE,OAAO;IACbC,IAAI,eAAEpB,KAAA,CAAAqB,aAAA,CAACd,aAAa;MAACkB,MAAM,EAAEZ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AI,EAAE,SAAS;IAAEC,IAAI,EAAE;EAAU;AAC3C,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/StepSequence/Styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/StepSequence/Styles.ts"],"names":[],"mappings":"AA8GA,eAAO,MAAM,yBAAyB,uRAarC,CAAC;AAGF,eAAO,MAAM,kBAAkB,oEAE9B,CAAC"}
|
|
@@ -2,7 +2,7 @@ import styled, { css, keyframes } from "styled-components";
|
|
|
2
2
|
import { BoxSizingStyle } from "../BoxSizingStyle";
|
|
3
3
|
import { Trigger } from "../Trigger";
|
|
4
4
|
const StepPulse = keyframes(["0%,100%{opacity:1;}50%{opacity:0.35;}"]);
|
|
5
|
-
const StepSequenceStyle = css(["", " display:inline-flex;align-items:center;padding:6px 8px;.c-step-sequence__step--success,.c-step-sequence__connector--success{--step-sequence-surface:var(--color-sucess-green);--step-sequence-ring:var(--color-sucess-green);--step-sequence-line:var(--color-sucess-green);}.c-step-sequence__step--info,.c-step-sequence__connector--info{--step-sequence-surface:var(--color-progress-blue);--step-sequence-ring:var(--color-progress-blue);--step-sequence-line:var(--color-progress-blue);}.c-step-sequence__step--warning,.c-step-sequence__connector--warning{--step-sequence-surface:var(--color-orange);--step-sequence-ring:var(--color-orange);--step-sequence-line:var(--color-orange);}.c-step-sequence__step--danger,.c-step-sequence__connector--danger{--step-sequence-surface:var(--red-alert);--step-sequence-ring:var(--red-alert);--step-sequence-line:var(--red-alert);}.c-step-sequence__step--neutral,.c-step-sequence__connector--neutral{--step-sequence-surface:var(--color-theme-500);--step-sequence-ring:var(--color-theme-400);--step-sequence-line:var(--color-theme-400);}.c-step-sequence__step{width:22px;height:22px;border-radius:50%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex-shrink:0;svg{display:block;}}.c-step-sequence__step--solid{background:var(--step-sequence-surface);}.c-step-sequence__step--outline{background:transparent;border:2px solid var(--step-sequence-ring);}.c-step-sequence__step--dashed{background:transparent;border:2px dashed var(--step-sequence-ring);}.c-step-sequence__step--pulse > *{animation:", " 1.4s ease-in-out infinite;}.c-step-sequence__dot{width:6px;height:6px;border-radius:50%;background:var(--step-sequence-surface);}.c-step-sequence__step--solid .c-step-sequence__dot{width:
|
|
5
|
+
const StepSequenceStyle = css(["", " display:inline-flex;align-items:center;padding:6px 8px;.c-step-sequence__step--success,.c-step-sequence__connector--success{--step-sequence-surface:var(--color-sucess-green);--step-sequence-ring:var(--color-sucess-green);--step-sequence-line:var(--color-sucess-green);}.c-step-sequence__step--info,.c-step-sequence__connector--info{--step-sequence-surface:var(--color-progress-blue);--step-sequence-ring:var(--color-progress-blue);--step-sequence-line:var(--color-progress-blue);}.c-step-sequence__step--warning,.c-step-sequence__connector--warning{--step-sequence-surface:var(--color-orange);--step-sequence-ring:var(--color-orange);--step-sequence-line:var(--color-orange);}.c-step-sequence__step--danger,.c-step-sequence__connector--danger{--step-sequence-surface:var(--red-alert);--step-sequence-ring:var(--red-alert);--step-sequence-line:var(--red-alert);}.c-step-sequence__step--neutral,.c-step-sequence__connector--neutral{--step-sequence-surface:var(--color-theme-500);--step-sequence-ring:var(--color-theme-400);--step-sequence-line:var(--color-theme-400);}.c-step-sequence__step{width:22px;height:22px;border-radius:50%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex-shrink:0;svg{display:block;}}.c-step-sequence__step--solid{background:var(--step-sequence-surface);}.c-step-sequence__step--outline{background:transparent;border:2px solid var(--step-sequence-ring);}.c-step-sequence__step--dashed{background:transparent;border:2px dashed var(--step-sequence-ring);}.c-step-sequence__step--pulse > *{animation:", " 1.4s ease-in-out infinite;}.c-step-sequence__dot{width:6px;height:6px;border-radius:50%;background:var(--step-sequence-surface);}.c-step-sequence__step--solid .c-step-sequence__dot{width:8px;height:8px;background:var(--only-white);}.c-step-sequence__connector{width:13px;height:2px;flex-shrink:0;background:var(--step-sequence-line);}"], BoxSizingStyle, StepPulse);
|
|
6
6
|
export const StyledStepSequenceTrigger = styled(Trigger).withConfig({
|
|
7
7
|
displayName: "Styles__StyledStepSequenceTrigger",
|
|
8
8
|
componentId: "sc-hp7ywn-0"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.js","names":["styled","css","keyframes","BoxSizingStyle","Trigger","StepPulse","StepSequenceStyle","StyledStepSequenceTrigger","withConfig","displayName","componentId","StyledStepSequence","div"],"sources":["../../../../src/components/StepSequence/Styles.ts"],"sourcesContent":["import styled, { css, keyframes } from \"styled-components\";\n\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { Trigger } from \"../Trigger\";\n\nconst StepPulse = keyframes`\n 0%,\n 100% {\n opacity: 1;\n }\n 50% {\n opacity: 0.35;\n }\n`;\n\nconst StepSequenceStyle = css`\n ${BoxSizingStyle}\n\n display: inline-flex;\n align-items: center;\n padding: 6px 8px;\n\n /* A tone resolves to three roles: the surface a solid step is filled with,\n the ring an outlined step is drawn with and the connector line. Only\n neutral needs them to differ — its line stays the faint, unreached grey. */\n .c-step-sequence__step--success,\n .c-step-sequence__connector--success {\n --step-sequence-surface: var(--color-sucess-green);\n --step-sequence-ring: var(--color-sucess-green);\n --step-sequence-line: var(--color-sucess-green);\n }\n .c-step-sequence__step--info,\n .c-step-sequence__connector--info {\n --step-sequence-surface: var(--color-progress-blue);\n --step-sequence-ring: var(--color-progress-blue);\n --step-sequence-line: var(--color-progress-blue);\n }\n .c-step-sequence__step--warning,\n .c-step-sequence__connector--warning {\n --step-sequence-surface: var(--color-orange);\n --step-sequence-ring: var(--color-orange);\n --step-sequence-line: var(--color-orange);\n }\n .c-step-sequence__step--danger,\n .c-step-sequence__connector--danger {\n --step-sequence-surface: var(--red-alert);\n --step-sequence-ring: var(--red-alert);\n --step-sequence-line: var(--red-alert);\n }\n .c-step-sequence__step--neutral,\n .c-step-sequence__connector--neutral {\n --step-sequence-surface: var(--color-theme-500);\n --step-sequence-ring: var(--color-theme-400);\n --step-sequence-line: var(--color-theme-400);\n }\n\n .c-step-sequence__step {\n width: 22px;\n height: 22px;\n border-radius: 50%;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n\n svg {\n display: block;\n }\n }\n\n .c-step-sequence__step--solid {\n background: var(--step-sequence-surface);\n }\n .c-step-sequence__step--outline {\n background: transparent;\n border: 2px solid var(--step-sequence-ring);\n }\n .c-step-sequence__step--dashed {\n background: transparent;\n border: 2px dashed var(--step-sequence-ring);\n }\n\n .c-step-sequence__step--pulse > * {\n animation: ${StepPulse} 1.4s ease-in-out infinite;\n }\n\n .c-step-sequence__dot {\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background: var(--step-sequence-surface);\n }\n .c-step-sequence__step--solid .c-step-sequence__dot {\n width:
|
|
1
|
+
{"version":3,"file":"Styles.js","names":["styled","css","keyframes","BoxSizingStyle","Trigger","StepPulse","StepSequenceStyle","StyledStepSequenceTrigger","withConfig","displayName","componentId","StyledStepSequence","div"],"sources":["../../../../src/components/StepSequence/Styles.ts"],"sourcesContent":["import styled, { css, keyframes } from \"styled-components\";\n\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { Trigger } from \"../Trigger\";\n\nconst StepPulse = keyframes`\n 0%,\n 100% {\n opacity: 1;\n }\n 50% {\n opacity: 0.35;\n }\n`;\n\nconst StepSequenceStyle = css`\n ${BoxSizingStyle}\n\n display: inline-flex;\n align-items: center;\n padding: 6px 8px;\n\n /* A tone resolves to three roles: the surface a solid step is filled with,\n the ring an outlined step is drawn with and the connector line. Only\n neutral needs them to differ — its line stays the faint, unreached grey. */\n .c-step-sequence__step--success,\n .c-step-sequence__connector--success {\n --step-sequence-surface: var(--color-sucess-green);\n --step-sequence-ring: var(--color-sucess-green);\n --step-sequence-line: var(--color-sucess-green);\n }\n .c-step-sequence__step--info,\n .c-step-sequence__connector--info {\n --step-sequence-surface: var(--color-progress-blue);\n --step-sequence-ring: var(--color-progress-blue);\n --step-sequence-line: var(--color-progress-blue);\n }\n .c-step-sequence__step--warning,\n .c-step-sequence__connector--warning {\n --step-sequence-surface: var(--color-orange);\n --step-sequence-ring: var(--color-orange);\n --step-sequence-line: var(--color-orange);\n }\n .c-step-sequence__step--danger,\n .c-step-sequence__connector--danger {\n --step-sequence-surface: var(--red-alert);\n --step-sequence-ring: var(--red-alert);\n --step-sequence-line: var(--red-alert);\n }\n .c-step-sequence__step--neutral,\n .c-step-sequence__connector--neutral {\n --step-sequence-surface: var(--color-theme-500);\n --step-sequence-ring: var(--color-theme-400);\n --step-sequence-line: var(--color-theme-400);\n }\n\n .c-step-sequence__step {\n width: 22px;\n height: 22px;\n border-radius: 50%;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n\n svg {\n display: block;\n }\n }\n\n .c-step-sequence__step--solid {\n background: var(--step-sequence-surface);\n }\n .c-step-sequence__step--outline {\n background: transparent;\n border: 2px solid var(--step-sequence-ring);\n }\n .c-step-sequence__step--dashed {\n background: transparent;\n border: 2px dashed var(--step-sequence-ring);\n }\n\n .c-step-sequence__step--pulse > * {\n animation: ${StepPulse} 1.4s ease-in-out infinite;\n }\n\n /* Dot sizes stay even: the free space around an odd-sized dot (7px in the\n 22px solid circle) is a half-pixel per side, which browsers snap visibly\n off-centre. */\n .c-step-sequence__dot {\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background: var(--step-sequence-surface);\n }\n .c-step-sequence__step--solid .c-step-sequence__dot {\n width: 8px;\n height: 8px;\n background: var(--only-white);\n }\n\n .c-step-sequence__connector {\n width: 13px;\n height: 2px;\n flex-shrink: 0;\n background: var(--step-sequence-line);\n }\n`;\n\nexport const StyledStepSequenceTrigger = styled(Trigger)`\n ${StepSequenceStyle}\n\n border-radius: 8px;\n transition: background-color 200ms ease;\n\n &:hover {\n background-color: var(--color-theme-200);\n }\n &:focus-visible {\n outline: 2px solid var(--color-primary);\n outline-offset: 1px;\n }\n`;\nStyledStepSequenceTrigger.displayName = \"StyledStepSequenceTrigger\";\n\nexport const StyledStepSequence = styled.div`\n ${StepSequenceStyle}\n`;\nStyledStepSequence.displayName = \"StyledStepSequence\";\n"],"mappings":"AAAA,OAAOA,MAAM,IAAIC,GAAG,EAAEC,SAAS,QAAQ,mBAAmB;AAE1D,SAASC,cAAc,QAAQ,mBAAmB;AAClD,SAASC,OAAO,QAAQ,YAAY;AAEpC,MAAMC,SAAS,GAAGH,SAAS,2CAQ1B;AAED,MAAMI,iBAAiB,GAAGL,GAAG,i3DACzBE,cAAc,EAoEDE,SAAS,CAwBzB;AAED,OAAO,MAAME,yBAAyB,GAAGP,MAAM,CAACI,OAAO,CAAC,CAAAI,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,mMACpDJ,iBAAiB,CAYpB;AACDC,yBAAyB,CAACE,WAAW,GAAG,2BAA2B;AAEnE,OAAO,MAAME,kBAAkB,GAAGX,MAAM,CAACY,GAAG,CAAAJ,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,aACxCJ,iBAAiB,CACpB;AACDK,kBAAkB,CAACF,WAAW,GAAG,oBAAoB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/StepSequence/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/StepSequence/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/StepSequence/index.ts"],"sourcesContent":["export * from \"./StepSequence\";\n"],"mappings":"AAAA,cAAc,gBAAgB","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/StepSequence/index.ts"],"sourcesContent":["export * from \"./StepSequence\";\nexport * from \"./SpineStep\";\n"],"mappings":"AAAA,cAAc,gBAAgB;AAC9B,cAAc,aAAa","ignoreList":[]}
|
|
@@ -38,6 +38,8 @@ interface CodeEntry {
|
|
|
38
38
|
/** PR head → base branches, shown under the name in the history dialog. */
|
|
39
39
|
sourceBranch?: string;
|
|
40
40
|
targetBranch?: string;
|
|
41
|
+
/** True when this PR carries a closing keyword that will complete the task on merge. */
|
|
42
|
+
closing?: boolean;
|
|
41
43
|
/** Head SHA of the source branch (full); first 8 chars are shown. */
|
|
42
44
|
headSha: string;
|
|
43
45
|
contributors: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SourceCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/presentation/shared/SourceCodeSection.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,WAAW,EAAE,YAAY,EAAuB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SourceCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/presentation/shared/SourceCodeSection.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,WAAW,EAAE,YAAY,EAAuB,MAAM,OAAO,CAAC;AA6G9E,KAAK,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,MAAM,CAAC;AAU1D,UAAU,KAAK;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,UAAU,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,UAAU,YAAY;IACpB,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mEAAmE;IACnE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;+CAC2C;IAC3C,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC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CrossIcon, CheckboxBlankTogglerIcon, CheckIcon, C
|
|
|
17
17
|
import { StepSequence } from "../../components/StepSequence";
|
|
18
18
|
import { Tooltip } from "../../components/Tooltip";
|
|
19
19
|
import { Body1, Caption1, Header3 } from "../../components/Typography";
|
|
20
|
+
import { colors } from "../../utils";
|
|
20
21
|
|
|
21
22
|
/**
|
|
22
23
|
* Source Code section of a task — the shared subsystem behind the
|
|
@@ -168,6 +169,7 @@ const CODE_ENTRIES = [{
|
|
|
168
169
|
status: "open",
|
|
169
170
|
sourceBranch: "fix/rank-archive-482",
|
|
170
171
|
targetBranch: "main",
|
|
172
|
+
closing: true,
|
|
171
173
|
contributors: [{
|
|
172
174
|
initials: "DA",
|
|
173
175
|
bg: AVATAR_COLORS.green
|
|
@@ -340,6 +342,7 @@ const CODE_ENTRIES = [{
|
|
|
340
342
|
status: "merged",
|
|
341
343
|
sourceBranch: "feature/contracts-ui-34",
|
|
342
344
|
targetBranch: "main",
|
|
345
|
+
closing: true,
|
|
343
346
|
contributors: [{
|
|
344
347
|
initials: "MK",
|
|
345
348
|
bg: AVATAR_COLORS.blue
|
|
@@ -935,7 +938,7 @@ const HistoryDialog = _ref4 => {
|
|
|
935
938
|
const StyledSourceCode = styled.div.withConfig({
|
|
936
939
|
displayName: "SourceCodeSection__StyledSourceCode",
|
|
937
940
|
componentId: "sc-rvqbh5-2"
|
|
938
|
-
})(["font-family:", ";margin:0 0 16px;padding-bottom:16px;border-bottom:1px solid var(--border-primary);.sc-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px;}.sc-completed-row{display:flex;align-items:center;margin-top:8px;padding-top:8px;border-top:1px solid var(--border-primary);}.sc-add{margin-top:8px;padding-top:12px;border-top:1px solid var(--border-primary);}.sc-add .c--add-to-list-btn svg{box-sizing:content-box;}.sc-item{padding:12px 0;}.sc-item + .sc-item{border-top:1px solid var(--border-primary);}.sc-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;}.sc-main{flex:1 1 0%;min-width:0;}.sc-name{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;min-width:0;}.sc-lead{flex-shrink:0;display:inline-flex;color:var(--color-theme-600);}.sc-title{flex:0 1 auto;min-width:0;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}.sc-title.strike{text-decoration:line-through;}.sc-title.strike-link{text-decoration:line-through;}.sc-title.strike-link:hover{text-decoration:none;}.sc-sigs{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px;font-size:12px;color:var(--color-theme-600);}.sc-sig{display:inline-flex;align-items:center;gap:4px;}.sc-sha{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;}.sc-muted{color:var(--color-theme-600);}.sc-refs{display:inline-flex;align-items:center;gap:6px;}.sc-refs .ref-link{color:var(--color-primary);font-weight:500;}"], SANS);
|
|
941
|
+
})(["font-family:", ";margin:0 0 16px;padding-bottom:16px;border-bottom:1px solid var(--border-primary);.sc-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px;}.sc-completed-row{display:flex;align-items:center;margin-top:8px;padding-top:8px;border-top:1px solid var(--border-primary);}.sc-add{margin-top:8px;padding-top:12px;border-top:1px solid var(--border-primary);}.sc-add .c--add-to-list-btn svg{box-sizing:content-box;}.sc-item{padding:12px 0;}.sc-item + .sc-item{border-top:1px solid var(--border-primary);}.sc-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;}.sc-main{flex:1 1 0%;min-width:0;}.sc-name{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;min-width:0;}.sc-lead{flex-shrink:0;display:inline-flex;color:var(--color-theme-600);}.sc-title{flex:0 1 auto;min-width:0;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}.sc-title.strike{text-decoration:line-through;}.sc-title.strike-link{text-decoration:line-through;}.sc-title.strike-link:hover{text-decoration:none;}.sc-sigs{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px;font-size:12px;color:var(--color-theme-600);}.sc-sig{display:inline-flex;align-items:center;gap:4px;}.sc-closing{display:inline-flex;align-items:center;flex-shrink:0;cursor:default;}.sc-sha{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;}.sc-muted{color:var(--color-theme-600);}.sc-refs{display:inline-flex;align-items:center;gap:6px;}.sc-refs .ref-link{color:var(--color-primary);font-weight:500;}"], SANS);
|
|
939
942
|
|
|
940
943
|
/* Element name — a link that opens the object in a new tab. Keeps the row's
|
|
941
944
|
typography (inherits color + weight), turns primary on hover, link cursor. */
|
|
@@ -962,6 +965,12 @@ const CHIP_GONE_STYLE = _extends({}, CHIP_BASE_STYLE, {
|
|
|
962
965
|
backgroundColor: "var(--color-theme-200)",
|
|
963
966
|
border: "1px solid var(--border-primary)"
|
|
964
967
|
});
|
|
968
|
+
|
|
969
|
+
/* Info tone — the default (blue) InfoBox recipe: blueSky tint + solid border. */
|
|
970
|
+
const CHIP_INFO_STYLE = _extends({}, CHIP_BASE_STYLE, {
|
|
971
|
+
backgroundColor: colors.blueSky.color + "1A",
|
|
972
|
+
border: "1px solid " + colors.blueSky.color
|
|
973
|
+
});
|
|
965
974
|
const StatusChip = _ref5 => {
|
|
966
975
|
let label = _ref5.label,
|
|
967
976
|
tone = _ref5.tone,
|
|
@@ -969,8 +978,8 @@ const StatusChip = _ref5 => {
|
|
|
969
978
|
return /*#__PURE__*/React.createElement(Chip, {
|
|
970
979
|
label: label,
|
|
971
980
|
startAdornment: glyph,
|
|
972
|
-
color: tone === "done" ? "var(--color-primary)" : undefined,
|
|
973
|
-
style: tone === "done" ? CHIP_DONE_STYLE : CHIP_GONE_STYLE,
|
|
981
|
+
color: tone === "done" ? "var(--color-primary)" : tone === "info" ? colors.blueSky.lighter : undefined,
|
|
982
|
+
style: tone === "done" ? CHIP_DONE_STYLE : tone === "info" ? CHIP_INFO_STYLE : CHIP_GONE_STYLE,
|
|
974
983
|
typographyProps: {
|
|
975
984
|
variant: "Caption 1",
|
|
976
985
|
weight: "bold",
|
|
@@ -1144,7 +1153,19 @@ const CodeRow = _ref0 => {
|
|
|
1144
1153
|
rel: "noopener noreferrer"
|
|
1145
1154
|
}, entry.title)), /*#__PURE__*/React.createElement(CodeStatusChip, {
|
|
1146
1155
|
entry: entry
|
|
1147
|
-
})
|
|
1156
|
+
}), entry.kind === "pr" && entry.status === "open" && entry.closing && /*#__PURE__*/React.createElement(Tooltip, {
|
|
1157
|
+
title: "Marks the task as completed when this pull request is merged."
|
|
1158
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1159
|
+
className: "sc-closing"
|
|
1160
|
+
}, /*#__PURE__*/React.createElement(StatusChip, {
|
|
1161
|
+
label: "Closing",
|
|
1162
|
+
tone: "info",
|
|
1163
|
+
glyph: /*#__PURE__*/React.createElement(CheckIcon, {
|
|
1164
|
+
width: 12,
|
|
1165
|
+
height: 12,
|
|
1166
|
+
fill: colors.blueSky.lighter
|
|
1167
|
+
})
|
|
1168
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
1148
1169
|
className: "sc-sigs"
|
|
1149
1170
|
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
1150
1171
|
title: "Repository: " + entry.repoFull
|