@atlaskit/editor-shared-styles 4.3.14 → 4.3.16

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/editor-shared-styles
2
2
 
3
+ ## 4.3.16
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 4.3.15
10
+
11
+ ### Patch Changes
12
+
13
+ - [`1351b0fb49e7d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1351b0fb49e7d) -
14
+ Support branded Claude and ChatGPT contributor tags, use the ChatGPT Presence artwork, and assign
15
+ Claude and ChatGPT their fixed orange and gray diff colours.
16
+
3
17
  ## 4.3.14
4
18
 
5
19
  ### Patch Changes
package/dist/cjs/utils.js CHANGED
@@ -9,13 +9,15 @@ var _getAgentColor = require("@atlaskit/agent-color/get-agent-color");
9
9
  var _fg = require("@atlaskit/platform-feature-flags/fg");
10
10
  var _consts = require("./consts");
11
11
  /**
12
- * Agent types with a fixed participant colour instead of an identity-derived colour.
12
+ * Agent types and brands with a fixed participant colour instead of an identity-derived colour.
13
13
  *
14
- * Claude uses orange, which is `participantColors[7]`. The palette's numbered positions also
15
- * back the telepointer CSS classes, so preserve this position when editing the palette.
14
+ * Claude uses orange and ChatGPT uses gray. The palette's numbered positions also back the
15
+ * telepointer CSS classes, so preserve these positions when editing the palette.
16
16
  */
17
17
  var AGENT_PARTICIPANT_COLOR_OVERRIDES = {
18
18
  claude: 7,
19
+ chatgpt: 9,
20
+ rovo: 4,
19
21
  rovo_chat: 4
20
22
  };
21
23
 
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { akEditorBlockquoteBorderColor, akEditorBreakoutPadding, akEditorCodeBackground, akEditorCodeBlockPadding, akEditorCodeFontFamily, akEditorCodeInlinePadding, akEditorContextPanelWidth, akEditorDefaultLayoutWidth, akEditorDeleteBackground, akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorDeleteIconColor, akEditorFloatingDialogZIndex, akEditorFloatingOverlapPanelZIndex, akEditorFloatingPanelZIndex, akEditorFullPageMaxWidth, akEditorFullPageDefaultFontSize, akEditorFullPageDenseFontSize, akEditorFullWidthLayoutWidth, akEditorMaxWidthLayoutWidth, akEditorFullWidthLayoutLineLength, akEditorMaxLayoutWidth, akEditorGridLineZIndex, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout, akEditorMediaResizeHandlerPadding, akEditorMediaResizeHandlerPaddingWide, akEditorMenuZIndex, akEditorStickyHeaderZIndex, akEditorMobileBreakoutPoint, akEditorSelectedBoldBoxShadow, akEditorSelectedBorderColor, akEditorSelectedBorderBoldSize, akEditorSelectedBorderSize, akEditorSelectedBorder, akEditorSelectedBoxShadow, akEditorSelectedBlanketOpacity, akEditorSmallZIndex, akEditorShadowZIndex, akEditorSubtleAccent, akEditorSwoopCubicBezier, akEditorTableBorder, akEditorTableBorderRadius, akEditorTableBorderSelected, akEditorTableCellBackgroundOpacity, akEditorTableCellMinWidth, akEditorTableCellOnStickyHeaderZIndex, akEditorTableHeaderCellBackground, akEditorTableHeaderCellBackgroundDark, akEditorTableLegacyCellMinWidth, akEditorTableNumberColumnWidth, akEditorTableToolbar, akEditorTableToolbarSize, akEditorUnitZIndex, akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorWideLayoutWidth, akLayoutGutterOffset, akRichMediaResizeZIndex, avatarColors, participantColors, blockNodesVerticalMargin, scaledBlockNodesVerticalMargin, breakoutWideScaleRatio, editorFontSize, gridMediumMaxWidth, relativeSize, relativeFontSizeToBase16, relativeSizeToBaseFontSize, DEFAULT_EMBED_CARD_HEIGHT, DEFAULT_EMBED_CARD_WIDTH, akEditorLineHeight, akEditorRuleBorderRadius, akEditorSelectedNodeClassName, akEditorToolbarKeylineHeight, MAX_BROWSER_SCROLLBAR_HEIGHT, VIEWPORT_SIZES, akEditorMobileMaxWidth, getTableCellBackgroundDarkModeColors, ATLASSIAN_NAVIGATION_HEIGHT, FULL_PAGE_EDITOR_TOOLBAR_HEIGHT, akEditorFullPageToolbarHeight, akEditorTableCellBlanketSelected, akEditorTableCellBlanketDeleted, akEditorWrappedNodeZIndex, layoutBreakpointWidth } from '../consts/consts';
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { overflowShadow } from '../overflow-shadow/overflow-shadow';
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { scrollbarStyles } from '../scrollbar-styles';
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { SelectionStyle } from '../selection/types';
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { getSelectionStyles, hideNativeBrowserTextSelectionStyles } from '../selection/utils';
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { shortcutStyle } from '../shortcut/shortcut';
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { getHashCode, getParticipantColor } from '../utils';
@@ -3,13 +3,15 @@ import { fg } from '@atlaskit/platform-feature-flags/fg';
3
3
  import { participantColors } from './consts';
4
4
 
5
5
  /**
6
- * Agent types with a fixed participant colour instead of an identity-derived colour.
6
+ * Agent types and brands with a fixed participant colour instead of an identity-derived colour.
7
7
  *
8
- * Claude uses orange, which is `participantColors[7]`. The palette's numbered positions also
9
- * back the telepointer CSS classes, so preserve this position when editing the palette.
8
+ * Claude uses orange and ChatGPT uses gray. The palette's numbered positions also back the
9
+ * telepointer CSS classes, so preserve these positions when editing the palette.
10
10
  */
11
11
  const AGENT_PARTICIPANT_COLOR_OVERRIDES = {
12
12
  claude: 7,
13
+ chatgpt: 9,
14
+ rovo: 4,
13
15
  rovo_chat: 4
14
16
  };
15
17
 
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { akEditorBlockquoteBorderColor, akEditorBreakoutPadding, akEditorCodeBackground, akEditorCodeBlockPadding, akEditorCodeFontFamily, akEditorCodeInlinePadding, akEditorContextPanelWidth, akEditorDefaultLayoutWidth, akEditorDeleteBackground, akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorDeleteIconColor, akEditorFloatingDialogZIndex, akEditorFloatingOverlapPanelZIndex, akEditorFloatingPanelZIndex, akEditorFullPageMaxWidth, akEditorFullPageDefaultFontSize, akEditorFullPageDenseFontSize, akEditorFullWidthLayoutWidth, akEditorMaxWidthLayoutWidth, akEditorFullWidthLayoutLineLength, akEditorMaxLayoutWidth, akEditorGridLineZIndex, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout, akEditorMediaResizeHandlerPadding, akEditorMediaResizeHandlerPaddingWide, akEditorMenuZIndex, akEditorStickyHeaderZIndex, akEditorMobileBreakoutPoint, akEditorSelectedBoldBoxShadow, akEditorSelectedBorderColor, akEditorSelectedBorderBoldSize, akEditorSelectedBorderSize, akEditorSelectedBorder, akEditorSelectedBoxShadow, akEditorSelectedBlanketOpacity, akEditorSmallZIndex, akEditorShadowZIndex, akEditorSubtleAccent, akEditorSwoopCubicBezier, akEditorTableBorder, akEditorTableBorderRadius, akEditorTableBorderSelected, akEditorTableCellBackgroundOpacity, akEditorTableCellMinWidth, akEditorTableCellOnStickyHeaderZIndex, akEditorTableHeaderCellBackground, akEditorTableHeaderCellBackgroundDark, akEditorTableLegacyCellMinWidth, akEditorTableNumberColumnWidth, akEditorTableToolbar, akEditorTableToolbarSize, akEditorUnitZIndex, akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorWideLayoutWidth, akLayoutGutterOffset, akRichMediaResizeZIndex, avatarColors, participantColors, blockNodesVerticalMargin, scaledBlockNodesVerticalMargin, breakoutWideScaleRatio, editorFontSize, gridMediumMaxWidth, relativeSize, relativeFontSizeToBase16, relativeSizeToBaseFontSize, DEFAULT_EMBED_CARD_HEIGHT, DEFAULT_EMBED_CARD_WIDTH, akEditorLineHeight, akEditorRuleBorderRadius, akEditorSelectedNodeClassName, akEditorToolbarKeylineHeight, MAX_BROWSER_SCROLLBAR_HEIGHT, VIEWPORT_SIZES, akEditorMobileMaxWidth, getTableCellBackgroundDarkModeColors, ATLASSIAN_NAVIGATION_HEIGHT, FULL_PAGE_EDITOR_TOOLBAR_HEIGHT, akEditorFullPageToolbarHeight, akEditorTableCellBlanketSelected, akEditorTableCellBlanketDeleted, akEditorWrappedNodeZIndex, layoutBreakpointWidth } from '../consts/consts';
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { overflowShadow } from '../overflow-shadow/overflow-shadow';
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { scrollbarStyles } from '../scrollbar-styles';
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { SelectionStyle } from '../selection/types';
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { getSelectionStyles, hideNativeBrowserTextSelectionStyles } from '../selection/utils';
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { shortcutStyle } from '../shortcut/shortcut';
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { getHashCode, getParticipantColor } from '../utils';
package/dist/esm/utils.js CHANGED
@@ -3,13 +3,15 @@ import { fg } from '@atlaskit/platform-feature-flags/fg';
3
3
  import { participantColors } from './consts';
4
4
 
5
5
  /**
6
- * Agent types with a fixed participant colour instead of an identity-derived colour.
6
+ * Agent types and brands with a fixed participant colour instead of an identity-derived colour.
7
7
  *
8
- * Claude uses orange, which is `participantColors[7]`. The palette's numbered positions also
9
- * back the telepointer CSS classes, so preserve this position when editing the palette.
8
+ * Claude uses orange and ChatGPT uses gray. The palette's numbered positions also back the
9
+ * telepointer CSS classes, so preserve these positions when editing the palette.
10
10
  */
11
11
  var AGENT_PARTICIPANT_COLOR_OVERRIDES = {
12
12
  claude: 7,
13
+ chatgpt: 9,
14
+ rovo: 4,
13
15
  rovo_chat: 4
14
16
  };
15
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-shared-styles",
3
- "version": "4.3.14",
3
+ "version": "4.3.16",
4
4
  "description": "Style values used in the editor/renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -31,7 +31,7 @@
31
31
  "dependencies": {
32
32
  "@atlaskit/agent-color": "^0.2.0",
33
33
  "@atlaskit/platform-feature-flags": "^2.2.0",
34
- "@atlaskit/tmp-editor-statsig": "^200.0.0",
34
+ "@atlaskit/tmp-editor-statsig": "^201.0.0",
35
35
  "@atlaskit/tokens": "^18.2.0",
36
36
  "@babel/runtime": "^7.0.0",
37
37
  "@emotion/react": "^11.7.1"