@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,163 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SPINE_STEP = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _Icons = require("../Icons");
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
/** The fifteen states a source-code spine node can be in */
|
|
11
|
+
|
|
12
|
+
/* Glyph colours: light on a filled step, the step's own tone on an outlined
|
|
13
|
+
one — the component paints rings and lines, the caller paints glyphs. */
|
|
14
|
+
var ON_SOLID = "var(--only-white)";
|
|
15
|
+
var AMBER = "var(--color-orange)";
|
|
16
|
+
|
|
17
|
+
/* Glyphs render at an even 12px: a 13px glyph in the 22px solid circle (or
|
|
18
|
+
the 18px content box of an outlined one) leaves half-pixel margins, so the
|
|
19
|
+
browser snaps it visibly off-centre — 12px keeps every margin a whole pixel
|
|
20
|
+
and renders the 2-unit strokes of the 24-grid icons at exactly 1px. */
|
|
21
|
+
var GLYPH = 12;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* The fifteen spine states as generic `StepSequence` steps — the single
|
|
25
|
+
* source both the Spine State Explorer story and the app's source-code
|
|
26
|
+
* spine render from.
|
|
27
|
+
*
|
|
28
|
+
* A connector takes the tone of the step it points into, so `connectorTone`
|
|
29
|
+
* is only spelled out for a stage that has not been reached yet (queued /
|
|
30
|
+
* manual / locked) — there the line stays the faint neutral grey.
|
|
31
|
+
*/
|
|
32
|
+
var SPINE_STEP = exports.SPINE_STEP = {
|
|
33
|
+
done: {
|
|
34
|
+
tone: "success",
|
|
35
|
+
fill: "solid",
|
|
36
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icons.CheckIcon, {
|
|
37
|
+
fill: ON_SOLID,
|
|
38
|
+
width: GLYPH,
|
|
39
|
+
height: GLYPH
|
|
40
|
+
})
|
|
41
|
+
},
|
|
42
|
+
merged: {
|
|
43
|
+
tone: "success",
|
|
44
|
+
fill: "solid",
|
|
45
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icons.GitMergeIcon, {
|
|
46
|
+
stroke: ON_SOLID,
|
|
47
|
+
width: GLYPH,
|
|
48
|
+
height: GLYPH
|
|
49
|
+
})
|
|
50
|
+
},
|
|
51
|
+
committed: {
|
|
52
|
+
tone: "success",
|
|
53
|
+
fill: "solid",
|
|
54
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icons.GitCommitIcon, {
|
|
55
|
+
stroke: ON_SOLID,
|
|
56
|
+
width: GLYPH,
|
|
57
|
+
height: GLYPH
|
|
58
|
+
})
|
|
59
|
+
},
|
|
60
|
+
progress: {
|
|
61
|
+
tone: "info",
|
|
62
|
+
fill: "solid",
|
|
63
|
+
pulse: true
|
|
64
|
+
},
|
|
65
|
+
review: {
|
|
66
|
+
tone: "info",
|
|
67
|
+
fill: "solid",
|
|
68
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icons.EyeIcon, {
|
|
69
|
+
fill: ON_SOLID,
|
|
70
|
+
width: GLYPH,
|
|
71
|
+
height: GLYPH
|
|
72
|
+
})
|
|
73
|
+
},
|
|
74
|
+
active: {
|
|
75
|
+
tone: "info",
|
|
76
|
+
fill: "solid",
|
|
77
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icons.GitBranchIcon, {
|
|
78
|
+
stroke: ON_SOLID,
|
|
79
|
+
width: GLYPH,
|
|
80
|
+
height: GLYPH
|
|
81
|
+
})
|
|
82
|
+
},
|
|
83
|
+
queued: {
|
|
84
|
+
tone: "info",
|
|
85
|
+
fill: "outline",
|
|
86
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icons.ClockIcon, {
|
|
87
|
+
fill: "var(--color-progress-blue)",
|
|
88
|
+
width: GLYPH,
|
|
89
|
+
height: GLYPH
|
|
90
|
+
}),
|
|
91
|
+
connectorTone: "neutral"
|
|
92
|
+
},
|
|
93
|
+
failed: {
|
|
94
|
+
tone: "danger",
|
|
95
|
+
fill: "solid",
|
|
96
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icons.CloseIcon, {
|
|
97
|
+
fill: ON_SOLID,
|
|
98
|
+
width: GLYPH,
|
|
99
|
+
height: GLYPH
|
|
100
|
+
})
|
|
101
|
+
},
|
|
102
|
+
warning: {
|
|
103
|
+
tone: "warning",
|
|
104
|
+
fill: "solid",
|
|
105
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icons.WarningIcon, {
|
|
106
|
+
fill: ON_SOLID,
|
|
107
|
+
width: GLYPH,
|
|
108
|
+
height: GLYPH
|
|
109
|
+
})
|
|
110
|
+
},
|
|
111
|
+
conflict: {
|
|
112
|
+
tone: "danger",
|
|
113
|
+
fill: "solid",
|
|
114
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icons.WarningTriangleIcon, {
|
|
115
|
+
fill: ON_SOLID,
|
|
116
|
+
width: GLYPH,
|
|
117
|
+
height: GLYPH
|
|
118
|
+
})
|
|
119
|
+
},
|
|
120
|
+
skipped: {
|
|
121
|
+
tone: "neutral",
|
|
122
|
+
fill: "solid",
|
|
123
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icons.CircleSlashIcon, {
|
|
124
|
+
fill: ON_SOLID,
|
|
125
|
+
width: GLYPH,
|
|
126
|
+
height: GLYPH
|
|
127
|
+
})
|
|
128
|
+
},
|
|
129
|
+
manual: {
|
|
130
|
+
tone: "warning",
|
|
131
|
+
fill: "outline",
|
|
132
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icons.ClockIcon, {
|
|
133
|
+
fill: AMBER,
|
|
134
|
+
width: GLYPH,
|
|
135
|
+
height: GLYPH
|
|
136
|
+
}),
|
|
137
|
+
connectorTone: "neutral"
|
|
138
|
+
},
|
|
139
|
+
locked: {
|
|
140
|
+
tone: "warning",
|
|
141
|
+
fill: "outline",
|
|
142
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icons.LockIcon, {
|
|
143
|
+
fill: AMBER,
|
|
144
|
+
width: GLYPH,
|
|
145
|
+
height: GLYPH
|
|
146
|
+
}),
|
|
147
|
+
connectorTone: "neutral"
|
|
148
|
+
},
|
|
149
|
+
draft: {
|
|
150
|
+
tone: "neutral",
|
|
151
|
+
fill: "dashed",
|
|
152
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icons.GitPullRequestIcon, {
|
|
153
|
+
stroke: "var(--color-theme-600)",
|
|
154
|
+
width: GLYPH,
|
|
155
|
+
height: GLYPH
|
|
156
|
+
})
|
|
157
|
+
},
|
|
158
|
+
todo: {
|
|
159
|
+
tone: "neutral",
|
|
160
|
+
fill: "outline"
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
//# sourceMappingURL=SpineStep.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpineStep.js","names":["_react","_interopRequireDefault","require","_Icons","e","__esModule","default","ON_SOLID","AMBER","GLYPH","SPINE_STEP","exports","done","tone","fill","icon","createElement","CheckIcon","width","height","merged","GitMergeIcon","stroke","committed","GitCommitIcon","progress","pulse","review","EyeIcon","active","GitBranchIcon","queued","ClockIcon","connectorTone","failed","CloseIcon","warning","WarningIcon","conflict","WarningTriangleIcon","skipped","CircleSlashIcon","manual","locked","LockIcon","draft","GitPullRequestIcon","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,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AAakB,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAElB;;AAkBA;AACA;AACA,IAAMG,QAAQ,GAAG,mBAAmB;AACpC,IAAMC,KAAK,GAAG,qBAAqB;;AAEnC;AACA;AACA;AACA;AACA,IAAMC,KAAK,GAAG,EAAE;;AAEhB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,IAAMC,UAAiD,GAAAC,OAAA,CAAAD,UAAA,GAAG;EAC/DE,IAAI,EAAE;IACJC,IAAI,EAAE,SAAS;IACfC,IAAI,EAAE,OAAO;IACbC,IAAI,eAAEf,MAAA,CAAAM,OAAA,CAAAU,aAAA,CAACb,MAAA,CAAAc,SAAS;MAACH,IAAI,EAAEP,QAAS;MAACW,KAAK,EAAET,KAAM;MAACU,MAAM,EAAEV;IAAM,CAAE;EACjE,CAAC;EACDW,MAAM,EAAE;IACNP,IAAI,EAAE,SAAS;IACfC,IAAI,EAAE,OAAO;IACbC,IAA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,EAAE;EACjB,CAAC;EACDU,MAAM,EAAE;IACN9B,IAAI,EAAE,SAAS;IACfC,IAAI,EAAE,SAAS;IACfC,IAAI,eAAEf,MAAA,CAAAM,OAAA,CAAAU,aAAA,CAACb,MAAA,CAAAyC,QAAQ;MAAC9B,IAAI,EAAEN,KAAM;MAACU,KAAK,EAAET,KAAM;MAACU,MAAM,EAAEV;IAAM,CAAE,CAAC;IAC5DwB,aAAa,EAAE;EACjB,CAAC;EACDY,KAAK,EAAE;IACLhC,IAAI,EAAE,SAAS;IACfC,IAAI,EAAE,QAAQ;IACdC,IAAI,eACFf,MAAA,CAAAM,OAAA,CAAAU,aAAA,CAACb,MAAA,CAAA2C,kBAAkB;MACjBxB,MAAM,EAAC,wBAAwB;MAC/BJ,KAAK,EAAET,KAAM;MACbU,MAAM,EAAEV;IAAM,CACf;EAEL,CAAC;EACDsC,IAAI,EAAE;IAAElC,IAAI,EAAE,SAAS;IAAEC,IAAI,EAAE;EAAU;AAC3C,CAAC","ignoreList":[]}
|
|
@@ -9,7 +9,7 @@ var _BoxSizingStyle = require("../BoxSizingStyle");
|
|
|
9
9
|
var _Trigger = require("../Trigger");
|
|
10
10
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
11
11
|
var StepPulse = (0, _styledComponents.keyframes)(["0%,100%{opacity:1;}50%{opacity:0.35;}"]);
|
|
12
|
-
var StepSequenceStyle = (0, _styledComponents.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:
|
|
12
|
+
var StepSequenceStyle = (0, _styledComponents.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.BoxSizingStyle, StepPulse);
|
|
13
13
|
var StyledStepSequenceTrigger = exports.StyledStepSequenceTrigger = (0, _styledComponents.default)(_Trigger.Trigger).withConfig({
|
|
14
14
|
displayName: "Styles__StyledStepSequenceTrigger",
|
|
15
15
|
componentId: "sc-hp7ywn-0"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.js","names":["_styledComponents","_interopRequireWildcard","require","_BoxSizingStyle","_Trigger","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","StepPulse","keyframes","StepSequenceStyle","css","BoxSizingStyle","StyledStepSequenceTrigger","exports","styled","Trigger","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":["_styledComponents","_interopRequireWildcard","require","_BoxSizingStyle","_Trigger","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","StepPulse","keyframes","StepSequenceStyle","css","BoxSizingStyle","StyledStepSequenceTrigger","exports","styled","Trigger","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,IAAAA,iBAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,eAAA,GAAA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C,WAAA;AAAA,mMACpDT,iBAAiB,CAYpB;AACDG,yBAAyB,CAACK,WAAW,GAAG,2BAA2B;AAE5D,IAAME,kBAAkB,GAAAN,OAAA,CAAAM,kBAAA,GAAGL,yBAAM,CAACM,GAAG,CAAAJ,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,aACxCT,iBAAiB,CACpB;AACDU,kBAAkB,CAACF,WAAW,GAAG,oBAAoB","ignoreList":[]}
|
|
@@ -14,4 +14,15 @@ Object.keys(_StepSequence).forEach(function (key) {
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
});
|
|
17
|
+
var _SpineStep = require("./SpineStep");
|
|
18
|
+
Object.keys(_SpineStep).forEach(function (key) {
|
|
19
|
+
if (key === "default" || key === "__esModule") return;
|
|
20
|
+
if (key in exports && exports[key] === _SpineStep[key]) return;
|
|
21
|
+
Object.defineProperty(exports, key, {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function get() {
|
|
24
|
+
return _SpineStep[key];
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
});
|
|
17
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_StepSequence","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sources":["../../../../src/components/StepSequence/index.ts"],"sourcesContent":["export * from \"./StepSequence\";\n"],"mappings":";;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,aAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,aAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAT,aAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":["_StepSequence","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_SpineStep"],"sources":["../../../../src/components/StepSequence/index.ts"],"sourcesContent":["export * from \"./StepSequence\";\nexport * from \"./SpineStep\";\n"],"mappings":";;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,aAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,aAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAT,aAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,UAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,UAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,UAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAC,UAAA,CAAAL,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -20,6 +20,7 @@ var _Icons = require("../../components/Icons");
|
|
|
20
20
|
var _StepSequence = require("../../components/StepSequence");
|
|
21
21
|
var _Tooltip = require("../../components/Tooltip");
|
|
22
22
|
var _Typography = require("../../components/Typography");
|
|
23
|
+
var _utils = require("../../utils");
|
|
23
24
|
var _excluded = ["size", "bg", "initials", "alt"];
|
|
24
25
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
25
26
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
@@ -203,6 +204,7 @@ var CODE_ENTRIES = [{
|
|
|
203
204
|
status: "open",
|
|
204
205
|
sourceBranch: "fix/rank-archive-482",
|
|
205
206
|
targetBranch: "main",
|
|
207
|
+
closing: true,
|
|
206
208
|
contributors: [{
|
|
207
209
|
initials: "DA",
|
|
208
210
|
bg: _tokens.AVATAR_COLORS.green
|
|
@@ -375,6 +377,7 @@ var CODE_ENTRIES = [{
|
|
|
375
377
|
status: "merged",
|
|
376
378
|
sourceBranch: "feature/contracts-ui-34",
|
|
377
379
|
targetBranch: "main",
|
|
380
|
+
closing: true,
|
|
378
381
|
contributors: [{
|
|
379
382
|
initials: "MK",
|
|
380
383
|
bg: _tokens.AVATAR_COLORS.blue
|
|
@@ -978,7 +981,7 @@ var HistoryDialog = exports.HistoryDialog = function HistoryDialog(_ref4) {
|
|
|
978
981
|
var StyledSourceCode = _styledComponents.default.div.withConfig({
|
|
979
982
|
displayName: "SourceCodeSection__StyledSourceCode",
|
|
980
983
|
componentId: "sc-rvqbh5-2"
|
|
981
|
-
})(["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);
|
|
984
|
+
})(["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);
|
|
982
985
|
|
|
983
986
|
/* Element name — a link that opens the object in a new tab. Keeps the row's
|
|
984
987
|
typography (inherits color + weight), turns primary on hover, link cursor. */
|
|
@@ -1005,6 +1008,12 @@ var CHIP_GONE_STYLE = _objectSpread(_objectSpread({}, CHIP_BASE_STYLE), {}, {
|
|
|
1005
1008
|
backgroundColor: "var(--color-theme-200)",
|
|
1006
1009
|
border: "1px solid var(--border-primary)"
|
|
1007
1010
|
});
|
|
1011
|
+
|
|
1012
|
+
/* Info tone — the default (blue) InfoBox recipe: blueSky tint + solid border. */
|
|
1013
|
+
var CHIP_INFO_STYLE = _objectSpread(_objectSpread({}, CHIP_BASE_STYLE), {}, {
|
|
1014
|
+
backgroundColor: "".concat(_utils.colors.blueSky.color, "1A"),
|
|
1015
|
+
border: "1px solid ".concat(_utils.colors.blueSky.color)
|
|
1016
|
+
});
|
|
1008
1017
|
var StatusChip = function StatusChip(_ref5) {
|
|
1009
1018
|
var label = _ref5.label,
|
|
1010
1019
|
tone = _ref5.tone,
|
|
@@ -1012,8 +1021,8 @@ var StatusChip = function StatusChip(_ref5) {
|
|
|
1012
1021
|
return /*#__PURE__*/_react.default.createElement(_Chip.Chip, {
|
|
1013
1022
|
label: label,
|
|
1014
1023
|
startAdornment: glyph,
|
|
1015
|
-
color: tone === "done" ? "var(--color-primary)" : undefined,
|
|
1016
|
-
style: tone === "done" ? CHIP_DONE_STYLE : CHIP_GONE_STYLE,
|
|
1024
|
+
color: tone === "done" ? "var(--color-primary)" : tone === "info" ? _utils.colors.blueSky.lighter : undefined,
|
|
1025
|
+
style: tone === "done" ? CHIP_DONE_STYLE : tone === "info" ? CHIP_INFO_STYLE : CHIP_GONE_STYLE,
|
|
1017
1026
|
typographyProps: {
|
|
1018
1027
|
variant: "Caption 1",
|
|
1019
1028
|
weight: "bold",
|
|
@@ -1187,7 +1196,19 @@ var CodeRow = exports.CodeRow = function CodeRow(_ref0) {
|
|
|
1187
1196
|
rel: "noopener noreferrer"
|
|
1188
1197
|
}, entry.title)), /*#__PURE__*/_react.default.createElement(CodeStatusChip, {
|
|
1189
1198
|
entry: entry
|
|
1190
|
-
})
|
|
1199
|
+
}), entry.kind === "pr" && entry.status === "open" && entry.closing && /*#__PURE__*/_react.default.createElement(_Tooltip.Tooltip, {
|
|
1200
|
+
title: "Marks the task as completed when this pull request is merged."
|
|
1201
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
1202
|
+
className: "sc-closing"
|
|
1203
|
+
}, /*#__PURE__*/_react.default.createElement(StatusChip, {
|
|
1204
|
+
label: "Closing",
|
|
1205
|
+
tone: "info",
|
|
1206
|
+
glyph: /*#__PURE__*/_react.default.createElement(_Icons.CheckIcon, {
|
|
1207
|
+
width: 12,
|
|
1208
|
+
height: 12,
|
|
1209
|
+
fill: _utils.colors.blueSky.lighter
|
|
1210
|
+
})
|
|
1211
|
+
})))), /*#__PURE__*/_react.default.createElement("div", {
|
|
1191
1212
|
className: "sc-sigs"
|
|
1192
1213
|
}, /*#__PURE__*/_react.default.createElement(_Tooltip.Tooltip, {
|
|
1193
1214
|
title: "Repository: ".concat(entry.repoFull)
|