@atlaskit/share 6.1.0 → 6.1.1

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,11 @@
1
1
  # @atlaskit/share
2
2
 
3
+ ## 6.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 6.1.0
4
10
 
5
11
  ### Minor Changes
@@ -15,7 +15,7 @@ var _templateObject;
15
15
  */
16
16
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
17
17
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/design-system/no-css-tagged-template-expression -- Ignored via go/DSP-18766
18
- var formWrapperStyle = exports.formWrapperStyle = (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t[class^='FormHeader__FormHeaderWrapper'] {\n\t\th1:first-child {\n\t\t\tfont: ", ";\n\t\t\tmargin-top: ", ";\n\n\t\t\t> span {\n\t\t\t\t/* jira has a class override font settings on h1 > span in gh-custom-field-pickers.css */\n\t\t\t\tfont-size: inherit !important;\n\t\t\t\tline-height: inherit !important;\n\t\t\t\tletter-spacing: inherit !important;\n\t\t\t}\n\t\t}\n\t}\n\n\t[class^='FormSection__FormSectionWrapper'] {\n\t\tmargin-top: ", ";\n\t}\n\n\t[class^='FormFooter__FormFooterWrapper'] {\n\t\tjustify-content: space-between;\n\t\tmargin-top: ", ";\n\t\tmargin-bottom: ", ";\n\t}\n\n\t[class^='Field__FieldWrapper']:not(:first-child) {\n\t\tmargin-top: ", ";\n\t}\n"])), "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)", "var(--ds-space-300, 24px)", "var(--ds-space-0, 0px)", "var(--ds-space-150, 12px)", "var(--ds-space-300, 24px)", "var(--ds-space-150, 12px)");
18
+ var formWrapperStyle = exports.formWrapperStyle = (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t[class^='FormHeader__FormHeaderWrapper'] {\n\t\th1:first-child {\n\t\t\tfont: ", ";\n\t\t\tmargin-top: ", ";\n\n\t\t\t> span {\n\t\t\t\t/* jira has a class override font settings on h1 > span in gh-custom-field-pickers.css */\n\t\t\t\tfont-size: inherit !important;\n\t\t\t\tline-height: inherit !important;\n\t\t\t\tletter-spacing: inherit !important;\n\t\t\t}\n\t\t}\n\t}\n\n\t[class^='FormSection__FormSectionWrapper'] {\n\t\tmargin-top: ", ";\n\t}\n\n\t[class^='FormFooter__FormFooterWrapper'] {\n\t\tjustify-content: space-between;\n\t\tmargin-top: ", ";\n\t\tmargin-bottom: ", ";\n\t}\n\n\t[class^='Field__FieldWrapper']:not(:first-child) {\n\t\tmargin-top: ", ";\n\t}\n"])), "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)", "var(--ds-space-300, 24px)", "var(--ds-space-0, 0px)", "var(--ds-space-150, 12px)", "var(--ds-space-300, 24px)", "var(--ds-space-150, 12px)");
19
19
  var IntegrationForm = exports.IntegrationForm = function IntegrationForm(_ref) {
20
20
  var Content = _ref.Content,
21
21
  _ref$onIntegrationClo = _ref.onIntegrationClose,
@@ -90,7 +90,7 @@ var integrationIconWrapperStyles = (0, _react2.css)({
90
90
  var requiredFieldInfoStyles = (0, _react2.css)({
91
91
  marginBottom: "var(--ds-space-200, 16px)",
92
92
  color: "var(--ds-text-subtle, ".concat(_colors.N300, ")"),
93
- font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
93
+ font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
94
94
  });
95
95
  var menuGroupContainerStyles = (0, _primitives.xcss)({
96
96
  color: 'color.text',
@@ -1,4 +1,4 @@
1
- ._11c81vlj{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
1
+ ._11c81o8v{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
2
2
  ._2rkoglpi{border-radius:var(--ds-border-radius,4px)}
3
3
  ._18zrutpp{padding-inline:var(--ds-space-150,9pt)}
4
4
  ._195g10v4{margin-inline:var(--ds-space-negative-300,-24px)}
@@ -53,7 +53,7 @@ var styles = {
53
53
  formFieldStyles: "_otyrutpp",
54
54
  integrationWrapperStyles: "_1e0c1txw _4cvr1h6o",
55
55
  integrationIconWrapperStyles: "_otyr196n _2hwx1b66",
56
- requiredFieldInfoStyles: "_11c81vlj _otyrpxbi _syaz1n3s",
56
+ requiredFieldInfoStyles: "_11c81o8v _otyrpxbi _syaz1n3s",
57
57
  menuGroupContainerStyles: "_2rkoglpi _1moux0bf _195g10v4 _syaz1fxt _4cvr1y6m _1bsb1w81"
58
58
  };
59
59
  var integrationTabText = function integrationTabText(integrationName) {
@@ -13,7 +13,7 @@ var buildAttributes = function buildAttributes() {
13
13
  var attributes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
14
14
  return _objectSpread({
15
15
  packageName: "@atlaskit/share",
16
- packageVersion: "6.1.0"
16
+ packageVersion: "6.1.1"
17
17
  }, attributes);
18
18
  };
19
19
  var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
@@ -10,7 +10,7 @@ import { css, jsx } from '@emotion/react';
10
10
  export const formWrapperStyle = css`
11
11
  [class^='FormHeader__FormHeaderWrapper'] {
12
12
  h1:first-child {
13
- font: ${"var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"};
13
+ font: ${"var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"};
14
14
  margin-top: ${"var(--ds-space-300, 24px)"};
15
15
 
16
16
  > span {
@@ -74,7 +74,7 @@ const integrationIconWrapperStyles = css({
74
74
  const requiredFieldInfoStyles = css({
75
75
  marginBottom: "var(--ds-space-200, 16px)",
76
76
  color: `var(--ds-text-subtle, ${N300})`,
77
- font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
77
+ font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
78
78
  });
79
79
  const menuGroupContainerStyles = xcss({
80
80
  color: 'color.text',
@@ -1,4 +1,4 @@
1
- ._11c81vlj{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
1
+ ._11c81o8v{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
2
2
  ._2rkoglpi{border-radius:var(--ds-border-radius,4px)}
3
3
  ._18zrutpp{padding-inline:var(--ds-space-150,9pt)}
4
4
  ._195g10v4{margin-inline:var(--ds-space-negative-300,-24px)}
@@ -34,7 +34,7 @@ const styles = {
34
34
  formFieldStyles: "_otyrutpp",
35
35
  integrationWrapperStyles: "_1e0c1txw _4cvr1h6o",
36
36
  integrationIconWrapperStyles: "_otyr196n _2hwx1b66",
37
- requiredFieldInfoStyles: "_11c81vlj _otyrpxbi _syaz1n3s",
37
+ requiredFieldInfoStyles: "_11c81o8v _otyrpxbi _syaz1n3s",
38
38
  menuGroupContainerStyles: "_2rkoglpi _1moux0bf _195g10v4 _syaz1fxt _4cvr1y6m _1bsb1w81"
39
39
  };
40
40
  const integrationTabText = integrationName => /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.shareInIntegrationButtonText, {
@@ -1,7 +1,7 @@
1
1
  import { isEmail, isExternalUser, isGroup, isTeam, isUser } from '@atlaskit/smart-user-picker';
2
2
  const buildAttributes = (attributes = {}) => ({
3
3
  packageName: "@atlaskit/share",
4
- packageVersion: "6.1.0",
4
+ packageVersion: "6.1.1",
5
5
  ...attributes
6
6
  });
7
7
  const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
@@ -9,7 +9,7 @@ import React from 'react';
9
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
10
  import { css, jsx } from '@emotion/react';
11
11
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/design-system/no-css-tagged-template-expression -- Ignored via go/DSP-18766
12
- export var formWrapperStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t[class^='FormHeader__FormHeaderWrapper'] {\n\t\th1:first-child {\n\t\t\tfont: ", ";\n\t\t\tmargin-top: ", ";\n\n\t\t\t> span {\n\t\t\t\t/* jira has a class override font settings on h1 > span in gh-custom-field-pickers.css */\n\t\t\t\tfont-size: inherit !important;\n\t\t\t\tline-height: inherit !important;\n\t\t\t\tletter-spacing: inherit !important;\n\t\t\t}\n\t\t}\n\t}\n\n\t[class^='FormSection__FormSectionWrapper'] {\n\t\tmargin-top: ", ";\n\t}\n\n\t[class^='FormFooter__FormFooterWrapper'] {\n\t\tjustify-content: space-between;\n\t\tmargin-top: ", ";\n\t\tmargin-bottom: ", ";\n\t}\n\n\t[class^='Field__FieldWrapper']:not(:first-child) {\n\t\tmargin-top: ", ";\n\t}\n"])), "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)", "var(--ds-space-300, 24px)", "var(--ds-space-0, 0px)", "var(--ds-space-150, 12px)", "var(--ds-space-300, 24px)", "var(--ds-space-150, 12px)");
12
+ export var formWrapperStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t[class^='FormHeader__FormHeaderWrapper'] {\n\t\th1:first-child {\n\t\t\tfont: ", ";\n\t\t\tmargin-top: ", ";\n\n\t\t\t> span {\n\t\t\t\t/* jira has a class override font settings on h1 > span in gh-custom-field-pickers.css */\n\t\t\t\tfont-size: inherit !important;\n\t\t\t\tline-height: inherit !important;\n\t\t\t\tletter-spacing: inherit !important;\n\t\t\t}\n\t\t}\n\t}\n\n\t[class^='FormSection__FormSectionWrapper'] {\n\t\tmargin-top: ", ";\n\t}\n\n\t[class^='FormFooter__FormFooterWrapper'] {\n\t\tjustify-content: space-between;\n\t\tmargin-top: ", ";\n\t\tmargin-bottom: ", ";\n\t}\n\n\t[class^='Field__FieldWrapper']:not(:first-child) {\n\t\tmargin-top: ", ";\n\t}\n"])), "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)", "var(--ds-space-300, 24px)", "var(--ds-space-0, 0px)", "var(--ds-space-150, 12px)", "var(--ds-space-300, 24px)", "var(--ds-space-150, 12px)");
13
13
  export var IntegrationForm = function IntegrationForm(_ref) {
14
14
  var Content = _ref.Content,
15
15
  _ref$onIntegrationClo = _ref.onIntegrationClose,
@@ -83,7 +83,7 @@ var integrationIconWrapperStyles = css({
83
83
  var requiredFieldInfoStyles = css({
84
84
  marginBottom: "var(--ds-space-200, 16px)",
85
85
  color: "var(--ds-text-subtle, ".concat(N300, ")"),
86
- font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
86
+ font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
87
87
  });
88
88
  var menuGroupContainerStyles = xcss({
89
89
  color: 'color.text',
@@ -1,4 +1,4 @@
1
- ._11c81vlj{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
1
+ ._11c81o8v{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
2
2
  ._2rkoglpi{border-radius:var(--ds-border-radius,4px)}
3
3
  ._18zrutpp{padding-inline:var(--ds-space-150,9pt)}
4
4
  ._195g10v4{margin-inline:var(--ds-space-negative-300,-24px)}
@@ -43,7 +43,7 @@ var styles = {
43
43
  formFieldStyles: "_otyrutpp",
44
44
  integrationWrapperStyles: "_1e0c1txw _4cvr1h6o",
45
45
  integrationIconWrapperStyles: "_otyr196n _2hwx1b66",
46
- requiredFieldInfoStyles: "_11c81vlj _otyrpxbi _syaz1n3s",
46
+ requiredFieldInfoStyles: "_11c81o8v _otyrpxbi _syaz1n3s",
47
47
  menuGroupContainerStyles: "_2rkoglpi _1moux0bf _195g10v4 _syaz1fxt _4cvr1y6m _1bsb1w81"
48
48
  };
49
49
  var integrationTabText = function integrationTabText(integrationName) {
@@ -6,7 +6,7 @@ var buildAttributes = function buildAttributes() {
6
6
  var attributes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
7
7
  return _objectSpread({
8
8
  packageName: "@atlaskit/share",
9
- packageVersion: "6.1.0"
9
+ packageVersion: "6.1.1"
10
10
  }, attributes);
11
11
  };
12
12
  var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/share",
3
- "version": "6.1.0",
3
+ "version": "6.1.1",
4
4
  "description": "Fabric Share Element",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -56,7 +56,7 @@
56
56
  "@atlaskit/spinner": "^18.0.0",
57
57
  "@atlaskit/tabs": "^18.0.0",
58
58
  "@atlaskit/textarea": "^8.0.0",
59
- "@atlaskit/theme": "^17.0.0",
59
+ "@atlaskit/theme": "^18.0.0",
60
60
  "@atlaskit/tokens": "^4.3.0",
61
61
  "@atlaskit/tooltip": "^20.0.0",
62
62
  "@atlaskit/ufo": "^0.4.0",
@@ -73,7 +73,7 @@
73
73
  "react": "^18.2.0"
74
74
  },
75
75
  "devDependencies": {
76
- "@atlaskit/editor-test-helpers": "^22.0.0",
76
+ "@atlaskit/editor-test-helpers": "^22.1.0",
77
77
  "@atlaskit/flag": "^16.1.0",
78
78
  "@atlassian/feature-flags-test-utils": "^0.3.0",
79
79
  "@testing-library/react": "^13.4.0",