@atlaskit/mention 24.2.15 → 24.2.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,12 @@
1
1
  # @atlaskit/mention
2
2
 
3
+ ## 24.2.16
4
+
5
+ ### Patch Changes
6
+
7
+ - [`6fb79942fc3a5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6fb79942fc3a5) -
8
+ Internal changes to how borders are applied.
9
+
3
10
  ## 24.2.15
4
11
 
5
12
  ### Patch Changes
package/compass.yml CHANGED
@@ -7,7 +7,7 @@ ownerId: 'ari:cloud:teams::team/8c518cea-39e4-4a9e-976b-2eec1db07eb2'
7
7
  fields:
8
8
  tier: 2
9
9
  links:
10
- - name: null
10
+ - name: ''
11
11
  type: REPOSITORY
12
12
  url: 'https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/elements/mention/'
13
13
  - name: ''
@@ -52,7 +52,7 @@ var PrimitiveMention = /*#__PURE__*/(0, _react2.forwardRef)(function (_ref2, ref
52
52
  ref: ref
53
53
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
54
54
  ,
55
- css: (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t\tdisplay: inline;\n\t\t\t\t\tborder: 1px solid ", ";\n\t\t\t\t\tbackground: ", ";\n\t\t\t\t\tcolor: ", ";\n\t\t\t\t\tborder-radius: 20px;\n\t\t\t\t\tcursor: pointer;\n\t\t\t\t\tpadding: 0 0.3em 2px 0.23em;\n\t\t\t\t\tline-height: 1.714;\n\t\t\t\t\tfont-size: 1em;\n\t\t\t\t\tfont-weight: ", ";\n\t\t\t\t\tword-break: break-word;\n\t\t\t\t\t&:hover {\n\t\t\t\t\t\tbackground: ", ";\n\t\t\t\t\t}\n\t\t\t\t\t&:active {\n\t\t\t\t\t\tbackground: ", ";\n\t\t\t\t\t}\n\t\t\t\t"])), getStyle({
55
+ css: (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t\tdisplay: inline;\n\t\t\t\t\tborder: ", " solid ", ";\n\t\t\t\t\tbackground: ", ";\n\t\t\t\t\tcolor: ", ";\n\t\t\t\t\tborder-radius: 20px;\n\t\t\t\t\tcursor: pointer;\n\t\t\t\t\tpadding: 0 0.3em 2px 0.23em;\n\t\t\t\t\tline-height: 1.714;\n\t\t\t\t\tfont-size: 1em;\n\t\t\t\t\tfont-weight: ", ";\n\t\t\t\t\tword-break: break-word;\n\t\t\t\t\t&:hover {\n\t\t\t\t\t\tbackground: ", ";\n\t\t\t\t\t}\n\t\t\t\t\t&:active {\n\t\t\t\t\t\tbackground: ", ";\n\t\t\t\t\t}\n\t\t\t\t"])), "var(--ds-border-width, 1px)", getStyle({
56
56
  mentionType: mentionType
57
57
  }, 'borderColor'), getStyle({
58
58
  mentionType: mentionType
@@ -48,7 +48,7 @@ const PrimitiveMention = /*#__PURE__*/forwardRef(({
48
48
  ,
49
49
  css: css`
50
50
  display: inline;
51
- border: 1px solid ${getStyle({
51
+ border: ${"var(--ds-border-width, 1px)"} solid ${getStyle({
52
52
  mentionType
53
53
  }, 'borderColor')};
54
54
  background: ${getStyle({
@@ -45,7 +45,7 @@ var PrimitiveMention = /*#__PURE__*/forwardRef(function (_ref2, ref) {
45
45
  ref: ref
46
46
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
47
47
  ,
48
- css: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\t\t\t\tdisplay: inline;\n\t\t\t\t\tborder: 1px solid ", ";\n\t\t\t\t\tbackground: ", ";\n\t\t\t\t\tcolor: ", ";\n\t\t\t\t\tborder-radius: 20px;\n\t\t\t\t\tcursor: pointer;\n\t\t\t\t\tpadding: 0 0.3em 2px 0.23em;\n\t\t\t\t\tline-height: 1.714;\n\t\t\t\t\tfont-size: 1em;\n\t\t\t\t\tfont-weight: ", ";\n\t\t\t\t\tword-break: break-word;\n\t\t\t\t\t&:hover {\n\t\t\t\t\t\tbackground: ", ";\n\t\t\t\t\t}\n\t\t\t\t\t&:active {\n\t\t\t\t\t\tbackground: ", ";\n\t\t\t\t\t}\n\t\t\t\t"])), getStyle({
48
+ css: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\t\t\t\tdisplay: inline;\n\t\t\t\t\tborder: ", " solid ", ";\n\t\t\t\t\tbackground: ", ";\n\t\t\t\t\tcolor: ", ";\n\t\t\t\t\tborder-radius: 20px;\n\t\t\t\t\tcursor: pointer;\n\t\t\t\t\tpadding: 0 0.3em 2px 0.23em;\n\t\t\t\t\tline-height: 1.714;\n\t\t\t\t\tfont-size: 1em;\n\t\t\t\t\tfont-weight: ", ";\n\t\t\t\t\tword-break: break-word;\n\t\t\t\t\t&:hover {\n\t\t\t\t\t\tbackground: ", ";\n\t\t\t\t\t}\n\t\t\t\t\t&:active {\n\t\t\t\t\t\tbackground: ", ";\n\t\t\t\t\t}\n\t\t\t\t"])), "var(--ds-border-width, 1px)", getStyle({
49
49
  mentionType: mentionType
50
50
  }, 'borderColor'), getStyle({
51
51
  mentionType: mentionType
package/package.json CHANGED
@@ -1,15 +1,4 @@
1
1
  {
2
- "af:exports": {
3
- ".": "./src/index.ts",
4
- "./element": "./src/element.ts",
5
- "./i18n": "./src/i18n.ts",
6
- "./item": "./src/item.ts",
7
- "./resource": "./src/resource.ts",
8
- "./shared-styles": "./src/shared-styles.ts",
9
- "./team-resource": "./src/team-resource.ts",
10
- "./typeahead": "./src/typeahead.ts",
11
- "./types": "./src/types.ts"
12
- },
13
2
  "atlaskit:src": "src/index.ts",
14
3
  "atlassian": {
15
4
  "team": "Search Platform: Search Experience",
@@ -35,7 +24,7 @@
35
24
  "@atlaskit/avatar": "^25.1.0",
36
25
  "@atlaskit/focus-ring": "^3.0.0",
37
26
  "@atlaskit/heading": "^5.2.0",
38
- "@atlaskit/icon": "^28.1.0",
27
+ "@atlaskit/icon": "^28.2.0",
39
28
  "@atlaskit/lozenge": "^13.0.0",
40
29
  "@atlaskit/platform-feature-flags": "^1.1.0",
41
30
  "@atlaskit/primitives": "^14.14.0",
@@ -115,5 +104,5 @@
115
104
  ]
116
105
  }
117
106
  },
118
- "version": "24.2.15"
107
+ "version": "24.2.16"
119
108
  }