@activecollab/components 2.0.388 → 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/index.js CHANGED
@@ -27876,7 +27876,7 @@
27876
27876
  };
27877
27877
 
27878
27878
  var StepPulse = styled.keyframes(["0%,100%{opacity:1;}50%{opacity:0.35;}"]);
27879
- var StepSequenceStyle = styled.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:7px;height:7px;background:var(--only-white);}.c-step-sequence__connector{width:13px;height:2px;flex-shrink:0;background:var(--step-sequence-line);}"], BoxSizingStyle, StepPulse);
27879
+ var StepSequenceStyle = styled.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);
27880
27880
  var StyledStepSequenceTrigger = styled__default["default"](Trigger).withConfig({
27881
27881
  displayName: "Styles__StyledStepSequenceTrigger",
27882
27882
  componentId: "sc-hp7ywn-0"
@@ -27931,6 +27931,160 @@
27931
27931
  };
27932
27932
  StepSequence.displayName = "StepSequence";
27933
27933
 
27934
+ /** The fifteen states a source-code spine node can be in */
27935
+
27936
+ /* Glyph colours: light on a filled step, the step's own tone on an outlined
27937
+ one — the component paints rings and lines, the caller paints glyphs. */
27938
+ var ON_SOLID = "var(--only-white)";
27939
+ var AMBER = "var(--color-orange)";
27940
+
27941
+ /* Glyphs render at an even 12px: a 13px glyph in the 22px solid circle (or
27942
+ the 18px content box of an outlined one) leaves half-pixel margins, so the
27943
+ browser snaps it visibly off-centre — 12px keeps every margin a whole pixel
27944
+ and renders the 2-unit strokes of the 24-grid icons at exactly 1px. */
27945
+ var GLYPH = 12;
27946
+
27947
+ /**
27948
+ * The fifteen spine states as generic `StepSequence` steps — the single
27949
+ * source both the Spine State Explorer story and the app's source-code
27950
+ * spine render from.
27951
+ *
27952
+ * A connector takes the tone of the step it points into, so `connectorTone`
27953
+ * is only spelled out for a stage that has not been reached yet (queued /
27954
+ * manual / locked) — there the line stays the faint neutral grey.
27955
+ */
27956
+ var SPINE_STEP = {
27957
+ done: {
27958
+ tone: "success",
27959
+ fill: "solid",
27960
+ icon: /*#__PURE__*/React__default["default"].createElement(CheckIcon$1, {
27961
+ fill: ON_SOLID,
27962
+ width: GLYPH,
27963
+ height: GLYPH
27964
+ })
27965
+ },
27966
+ merged: {
27967
+ tone: "success",
27968
+ fill: "solid",
27969
+ icon: /*#__PURE__*/React__default["default"].createElement(GitMergeIcon$1, {
27970
+ stroke: ON_SOLID,
27971
+ width: GLYPH,
27972
+ height: GLYPH
27973
+ })
27974
+ },
27975
+ committed: {
27976
+ tone: "success",
27977
+ fill: "solid",
27978
+ icon: /*#__PURE__*/React__default["default"].createElement(GitCommitIcon$1, {
27979
+ stroke: ON_SOLID,
27980
+ width: GLYPH,
27981
+ height: GLYPH
27982
+ })
27983
+ },
27984
+ progress: {
27985
+ tone: "info",
27986
+ fill: "solid",
27987
+ pulse: true
27988
+ },
27989
+ review: {
27990
+ tone: "info",
27991
+ fill: "solid",
27992
+ icon: /*#__PURE__*/React__default["default"].createElement(EyeIcon$1, {
27993
+ fill: ON_SOLID,
27994
+ width: GLYPH,
27995
+ height: GLYPH
27996
+ })
27997
+ },
27998
+ active: {
27999
+ tone: "info",
28000
+ fill: "solid",
28001
+ icon: /*#__PURE__*/React__default["default"].createElement(GitBranchIcon$1, {
28002
+ stroke: ON_SOLID,
28003
+ width: GLYPH,
28004
+ height: GLYPH
28005
+ })
28006
+ },
28007
+ queued: {
28008
+ tone: "info",
28009
+ fill: "outline",
28010
+ icon: /*#__PURE__*/React__default["default"].createElement(ClockIcon$1, {
28011
+ fill: "var(--color-progress-blue)",
28012
+ width: GLYPH,
28013
+ height: GLYPH
28014
+ }),
28015
+ connectorTone: "neutral"
28016
+ },
28017
+ failed: {
28018
+ tone: "danger",
28019
+ fill: "solid",
28020
+ icon: /*#__PURE__*/React__default["default"].createElement(CloseIcon$1, {
28021
+ fill: ON_SOLID,
28022
+ width: GLYPH,
28023
+ height: GLYPH
28024
+ })
28025
+ },
28026
+ warning: {
28027
+ tone: "warning",
28028
+ fill: "solid",
28029
+ icon: /*#__PURE__*/React__default["default"].createElement(WarningIcon$1, {
28030
+ fill: ON_SOLID,
28031
+ width: GLYPH,
28032
+ height: GLYPH
28033
+ })
28034
+ },
28035
+ conflict: {
28036
+ tone: "danger",
28037
+ fill: "solid",
28038
+ icon: /*#__PURE__*/React__default["default"].createElement(WarningTriangleIcon$1, {
28039
+ fill: ON_SOLID,
28040
+ width: GLYPH,
28041
+ height: GLYPH
28042
+ })
28043
+ },
28044
+ skipped: {
28045
+ tone: "neutral",
28046
+ fill: "solid",
28047
+ icon: /*#__PURE__*/React__default["default"].createElement(CircleSlashIcon$1, {
28048
+ fill: ON_SOLID,
28049
+ width: GLYPH,
28050
+ height: GLYPH
28051
+ })
28052
+ },
28053
+ manual: {
28054
+ tone: "warning",
28055
+ fill: "outline",
28056
+ icon: /*#__PURE__*/React__default["default"].createElement(ClockIcon$1, {
28057
+ fill: AMBER,
28058
+ width: GLYPH,
28059
+ height: GLYPH
28060
+ }),
28061
+ connectorTone: "neutral"
28062
+ },
28063
+ locked: {
28064
+ tone: "warning",
28065
+ fill: "outline",
28066
+ icon: /*#__PURE__*/React__default["default"].createElement(LockIcon$1, {
28067
+ fill: AMBER,
28068
+ width: GLYPH,
28069
+ height: GLYPH
28070
+ }),
28071
+ connectorTone: "neutral"
28072
+ },
28073
+ draft: {
28074
+ tone: "neutral",
28075
+ fill: "dashed",
28076
+ icon: /*#__PURE__*/React__default["default"].createElement(GitPullRequestIcon$1, {
28077
+ stroke: "var(--color-theme-600)",
28078
+ width: GLYPH,
28079
+ height: GLYPH
28080
+ })
28081
+ },
28082
+ todo: {
28083
+ tone: "neutral",
28084
+ fill: "outline"
28085
+ }
28086
+ };
28087
+
27934
28088
  /**
27935
28089
  * StackedCard — shared constants and the class/token contract.
27936
28090
  *
@@ -29217,6 +29371,7 @@
29217
29371
  exports.RocketSmallIcon = RocketSmallIcon$1;
29218
29372
  exports.RoundedRectangleIcon = RoundedRectangleIcon$1;
29219
29373
  exports.SHIFT_STEP_MULTIPLIER = SHIFT_STEP_MULTIPLIER;
29374
+ exports.SPINE_STEP = SPINE_STEP;
29220
29375
  exports.STACKED_CARD_CONTROL_CLASS = STACKED_CARD_CONTROL_CLASS;
29221
29376
  exports.STACKED_CARD_COVER_RATIO = STACKED_CARD_COVER_RATIO;
29222
29377
  exports.STACKED_CARD_FIXED_ATTR = STACKED_CARD_FIXED_ATTR;