@atlaskit/lozenge 11.14.0 → 12.1.0
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 +27 -0
- package/dist/cjs/Lozenge/index.js +6 -2
- package/dist/cjs/compiled/index.compiled.css +1 -1
- package/dist/cjs/compiled/index.js +5 -3
- package/dist/es2019/Lozenge/index.js +6 -2
- package/dist/es2019/compiled/index.compiled.css +1 -1
- package/dist/es2019/compiled/index.js +5 -3
- package/dist/esm/Lozenge/index.js +6 -2
- package/dist/esm/compiled/index.compiled.css +1 -1
- package/dist/esm/compiled/index.js +5 -3
- package/package.json +11 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @atlaskit/lozenge
|
|
2
2
|
|
|
3
|
+
## 12.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#117377](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/117377)
|
|
8
|
+
[`f6fa74e4221cd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f6fa74e4221cd) -
|
|
9
|
+
[ux] We are increasing the letter spacing behind a feature flag. If testing successful, this
|
|
10
|
+
change will be made available in a later release.
|
|
11
|
+
|
|
12
|
+
## 12.0.0
|
|
13
|
+
|
|
14
|
+
### Major Changes
|
|
15
|
+
|
|
16
|
+
- [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
|
|
17
|
+
[`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
|
|
18
|
+
This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the
|
|
19
|
+
status of only supporting React 18 going forward. No explicit breaking change to React support has
|
|
20
|
+
been made in this release, but this is to signify going forward, breaking changes for React 16 or
|
|
21
|
+
React 17 may come via non-major semver releases.
|
|
22
|
+
|
|
23
|
+
Please refer this community post for more details:
|
|
24
|
+
https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies
|
|
29
|
+
|
|
3
30
|
## 11.14.0
|
|
4
31
|
|
|
5
32
|
### Minor Changes
|
|
@@ -145,6 +145,10 @@ var textStyles = (0, _react2.css)({
|
|
|
145
145
|
textTransform: 'uppercase',
|
|
146
146
|
whiteSpace: 'nowrap'
|
|
147
147
|
});
|
|
148
|
+
var customLetterspacingStyles = (0, _react2.css)({
|
|
149
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
150
|
+
letterSpacing: 0.165
|
|
151
|
+
});
|
|
148
152
|
/**
|
|
149
153
|
* __Lozenge__
|
|
150
154
|
*
|
|
@@ -177,7 +181,7 @@ var Lozenge = /*#__PURE__*/(0, _react.memo)(function (_ref) {
|
|
|
177
181
|
css: [styles.container, styles.background[appearanceStyle][appearanceType], appearanceStyle === 'subtle' && !(0, _platformFeatureFlags.fg)('visual-refresh_drop_5') && styles.border.subtle[appearanceType], appearanceStyle === 'subtle' && (0, _platformFeatureFlags.fg)('visual-refresh_drop_5') && styles.outline.subtle[appearanceType], appearanceStyle === 'subtle' && (0, _platformFeatureFlags.fg)('visual-refresh_drop_5') && styles.containerSubtle],
|
|
178
182
|
"data-testid": testId
|
|
179
183
|
}, (0, _react2.jsx)("span", {
|
|
180
|
-
css: [textStyles, styles.text[appearanceStyle]],
|
|
184
|
+
css: [textStyles, (0, _platformFeatureFlags.fg)('platform-lozenge-custom-letterspacing') && customLetterspacingStyles, styles.text[appearanceStyle]],
|
|
181
185
|
style: {
|
|
182
186
|
color: style === null || style === void 0 ? void 0 : style.color,
|
|
183
187
|
// to negate paddingInline specified on Box above
|
|
@@ -198,7 +202,7 @@ var Lozenge = /*#__PURE__*/(0, _react.memo)(function (_ref) {
|
|
|
198
202
|
xcss: baseStylesOld,
|
|
199
203
|
testId: testId
|
|
200
204
|
}, (0, _react2.jsx)("span", {
|
|
201
|
-
css: [textStyles, textColorsOld[appearanceStyle][appearanceType]],
|
|
205
|
+
css: [textStyles, (0, _platformFeatureFlags.fg)('platform-lozenge-custom-letterspacing') && customLetterspacingStyles, textColorsOld[appearanceStyle][appearanceType]],
|
|
202
206
|
style: {
|
|
203
207
|
color: style === null || style === void 0 ? void 0 : style.color,
|
|
204
208
|
// to negate paddingInline specified on Box above
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
._18m915vq{overflow-y:hidden}
|
|
18
18
|
._1bto1l2s{text-overflow:ellipsis}
|
|
19
19
|
._1cwg1n1a{outline-offset:-1px}
|
|
20
|
+
._1dyz9vsi{letter-spacing:.165px}
|
|
20
21
|
._1e0c116y{display:inline-flex}
|
|
21
22
|
._1kz6184x{block-size:min-content}
|
|
22
23
|
._1p1dangw{text-transform:uppercase}
|
|
@@ -32,7 +33,6 @@
|
|
|
32
33
|
._bfhkxmjf{background-color:#f9c84e}
|
|
33
34
|
._bozg1b66{padding-inline-start:var(--ds-space-050,4px)}
|
|
34
35
|
._ect41sbm{font-family:var(--ds-font-family-body,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
35
|
-
._ect41vq6{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif}
|
|
36
36
|
._k48pmoej{font-weight:var(--ds-font-weight-bold,700)}
|
|
37
37
|
._kqswpfqs{position:static}
|
|
38
38
|
._o5721q9c{white-space:nowrap}
|
|
@@ -32,7 +32,8 @@ var stylesOld = {
|
|
|
32
32
|
|
|
33
33
|
// NOTE: This is isolated to avoid breaking the bounded `stylesOld` interface as they do not fall within the Design System.
|
|
34
34
|
var stylesOldUnbounded = {
|
|
35
|
-
text: "_1reo15vq _18m915vq
|
|
35
|
+
text: "_1reo15vq _18m915vq _ect41sbm _1wyb1skh _zg8l4jg8 _k48pmoej _vwz47vkz _1bto1l2s _1p1dangw _o5721q9c",
|
|
36
|
+
customLetterspacing: "_1dyz9vsi"
|
|
36
37
|
};
|
|
37
38
|
var backgroundColorsOld = {
|
|
38
39
|
bold: {
|
|
@@ -61,6 +62,7 @@ var stylesNew = {
|
|
|
61
62
|
container: "_2rko1l7b _1reo15vq _18m915vq _1e0c116y _vchhusvi _kqswpfqs _1kz6184x _bozg1b66 _y4ti1b66",
|
|
62
63
|
containerSubtle: "_1cwg1n1a",
|
|
63
64
|
text: "_1reo15vq _18m915vq _ect41sbm _1wyb1skh _zg8l4jg8 _k48pmoej _vwz47vkz _1bto1l2s _1p1dangw _o5721q9c",
|
|
65
|
+
customLetterspacing: "_1dyz9vsi",
|
|
64
66
|
'bg.bold.default': "_bfhk1fkg",
|
|
65
67
|
'bg.bold.inprogress': "_bfhk1ymo",
|
|
66
68
|
'bg.bold.moved': "_bfhkxmjf",
|
|
@@ -129,7 +131,7 @@ var Lozenge = /*#__PURE__*/(0, _react.memo)(function (_ref) {
|
|
|
129
131
|
maxWidth: maxWidthIsPc ? '100%' : "calc(".concat(maxWidthValue, " - ", "var(--ds-space-100, 8px)", ")")
|
|
130
132
|
},
|
|
131
133
|
"data-testid": testId && "".concat(testId, "--text"),
|
|
132
|
-
className: (0, _runtime.ax)([stylesNew.text, stylesNew["text.".concat(appearanceStyle)]])
|
|
134
|
+
className: (0, _runtime.ax)([stylesNew.text, (0, _platformFeatureFlags.fg)('platform-lozenge-custom-letterspacing') && stylesNew.customLetterspacing, stylesNew["text.".concat(appearanceStyle)]])
|
|
133
135
|
}, children));
|
|
134
136
|
}
|
|
135
137
|
return /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
@@ -149,7 +151,7 @@ var Lozenge = /*#__PURE__*/(0, _react.memo)(function (_ref) {
|
|
|
149
151
|
maxWidth: maxWidthIsPc ? '100%' : "calc(".concat(maxWidthValue, " - ", "var(--ds-space-100, 8px)", ")")
|
|
150
152
|
},
|
|
151
153
|
"data-testid": testId && "".concat(testId, "--text"),
|
|
152
|
-
className: (0, _runtime.ax)([stylesOldUnbounded.text, stylesOld["text.".concat(appearanceStyle, ".").concat(appearanceType)]])
|
|
154
|
+
className: (0, _runtime.ax)([stylesOldUnbounded.text, (0, _platformFeatureFlags.fg)('platform-lozenge-custom-letterspacing') && stylesOldUnbounded.customLetterspacing, stylesOld["text.".concat(appearanceStyle, ".").concat(appearanceType)]])
|
|
153
155
|
}, children));
|
|
154
156
|
});
|
|
155
157
|
Lozenge.displayName = 'Lozenge';
|
|
@@ -138,6 +138,10 @@ const textStyles = css({
|
|
|
138
138
|
textTransform: 'uppercase',
|
|
139
139
|
whiteSpace: 'nowrap'
|
|
140
140
|
});
|
|
141
|
+
const customLetterspacingStyles = css({
|
|
142
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
143
|
+
letterSpacing: 0.165
|
|
144
|
+
});
|
|
141
145
|
/**
|
|
142
146
|
* __Lozenge__
|
|
143
147
|
*
|
|
@@ -168,7 +172,7 @@ const Lozenge = /*#__PURE__*/memo(({
|
|
|
168
172
|
css: [styles.container, styles.background[appearanceStyle][appearanceType], appearanceStyle === 'subtle' && !fg('visual-refresh_drop_5') && styles.border.subtle[appearanceType], appearanceStyle === 'subtle' && fg('visual-refresh_drop_5') && styles.outline.subtle[appearanceType], appearanceStyle === 'subtle' && fg('visual-refresh_drop_5') && styles.containerSubtle],
|
|
169
173
|
"data-testid": testId
|
|
170
174
|
}, jsx("span", {
|
|
171
|
-
css: [textStyles, styles.text[appearanceStyle]],
|
|
175
|
+
css: [textStyles, fg('platform-lozenge-custom-letterspacing') && customLetterspacingStyles, styles.text[appearanceStyle]],
|
|
172
176
|
style: {
|
|
173
177
|
color: style === null || style === void 0 ? void 0 : style.color,
|
|
174
178
|
// to negate paddingInline specified on Box above
|
|
@@ -189,7 +193,7 @@ const Lozenge = /*#__PURE__*/memo(({
|
|
|
189
193
|
xcss: baseStylesOld,
|
|
190
194
|
testId: testId
|
|
191
195
|
}, jsx("span", {
|
|
192
|
-
css: [textStyles, textColorsOld[appearanceStyle][appearanceType]],
|
|
196
|
+
css: [textStyles, fg('platform-lozenge-custom-letterspacing') && customLetterspacingStyles, textColorsOld[appearanceStyle][appearanceType]],
|
|
193
197
|
style: {
|
|
194
198
|
color: style === null || style === void 0 ? void 0 : style.color,
|
|
195
199
|
// to negate paddingInline specified on Box above
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
._18m915vq{overflow-y:hidden}
|
|
18
18
|
._1bto1l2s{text-overflow:ellipsis}
|
|
19
19
|
._1cwg1n1a{outline-offset:-1px}
|
|
20
|
+
._1dyz9vsi{letter-spacing:.165px}
|
|
20
21
|
._1e0c116y{display:inline-flex}
|
|
21
22
|
._1kz6184x{block-size:min-content}
|
|
22
23
|
._1p1dangw{text-transform:uppercase}
|
|
@@ -32,7 +33,6 @@
|
|
|
32
33
|
._bfhkxmjf{background-color:#f9c84e}
|
|
33
34
|
._bozg1b66{padding-inline-start:var(--ds-space-050,4px)}
|
|
34
35
|
._ect41sbm{font-family:var(--ds-font-family-body,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
35
|
-
._ect41vq6{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif}
|
|
36
36
|
._k48pmoej{font-weight:var(--ds-font-weight-bold,700)}
|
|
37
37
|
._kqswpfqs{position:static}
|
|
38
38
|
._o5721q9c{white-space:nowrap}
|
|
@@ -23,7 +23,8 @@ const stylesOld = {
|
|
|
23
23
|
|
|
24
24
|
// NOTE: This is isolated to avoid breaking the bounded `stylesOld` interface as they do not fall within the Design System.
|
|
25
25
|
const stylesOldUnbounded = {
|
|
26
|
-
text: "_1reo15vq _18m915vq
|
|
26
|
+
text: "_1reo15vq _18m915vq _ect41sbm _1wyb1skh _zg8l4jg8 _k48pmoej _vwz47vkz _1bto1l2s _1p1dangw _o5721q9c",
|
|
27
|
+
customLetterspacing: "_1dyz9vsi"
|
|
27
28
|
};
|
|
28
29
|
const backgroundColorsOld = {
|
|
29
30
|
bold: {
|
|
@@ -52,6 +53,7 @@ const stylesNew = {
|
|
|
52
53
|
container: "_2rko1l7b _1reo15vq _18m915vq _1e0c116y _vchhusvi _kqswpfqs _1kz6184x _bozg1b66 _y4ti1b66",
|
|
53
54
|
containerSubtle: "_1cwg1n1a",
|
|
54
55
|
text: "_1reo15vq _18m915vq _ect41sbm _1wyb1skh _zg8l4jg8 _k48pmoej _vwz47vkz _1bto1l2s _1p1dangw _o5721q9c",
|
|
56
|
+
customLetterspacing: "_1dyz9vsi",
|
|
55
57
|
'bg.bold.default': "_bfhk1fkg",
|
|
56
58
|
'bg.bold.inprogress': "_bfhk1ymo",
|
|
57
59
|
'bg.bold.moved': "_bfhkxmjf",
|
|
@@ -116,7 +118,7 @@ const Lozenge = /*#__PURE__*/memo(({
|
|
|
116
118
|
maxWidth: maxWidthIsPc ? '100%' : `calc(${maxWidthValue} - ${"var(--ds-space-100, 8px)"})`
|
|
117
119
|
},
|
|
118
120
|
"data-testid": testId && `${testId}--text`,
|
|
119
|
-
className: ax([stylesNew.text, stylesNew[`text.${appearanceStyle}`]])
|
|
121
|
+
className: ax([stylesNew.text, fg('platform-lozenge-custom-letterspacing') && stylesNew.customLetterspacing, stylesNew[`text.${appearanceStyle}`]])
|
|
120
122
|
}, children));
|
|
121
123
|
}
|
|
122
124
|
return /*#__PURE__*/React.createElement(Box, {
|
|
@@ -136,7 +138,7 @@ const Lozenge = /*#__PURE__*/memo(({
|
|
|
136
138
|
maxWidth: maxWidthIsPc ? '100%' : `calc(${maxWidthValue} - ${"var(--ds-space-100, 8px)"})`
|
|
137
139
|
},
|
|
138
140
|
"data-testid": testId && `${testId}--text`,
|
|
139
|
-
className: ax([stylesOldUnbounded.text, stylesOld[`text.${appearanceStyle}.${appearanceType}`]])
|
|
141
|
+
className: ax([stylesOldUnbounded.text, fg('platform-lozenge-custom-letterspacing') && stylesOldUnbounded.customLetterspacing, stylesOld[`text.${appearanceStyle}.${appearanceType}`]])
|
|
140
142
|
}, children));
|
|
141
143
|
});
|
|
142
144
|
Lozenge.displayName = 'Lozenge';
|
|
@@ -138,6 +138,10 @@ var textStyles = css({
|
|
|
138
138
|
textTransform: 'uppercase',
|
|
139
139
|
whiteSpace: 'nowrap'
|
|
140
140
|
});
|
|
141
|
+
var customLetterspacingStyles = css({
|
|
142
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
143
|
+
letterSpacing: 0.165
|
|
144
|
+
});
|
|
141
145
|
/**
|
|
142
146
|
* __Lozenge__
|
|
143
147
|
*
|
|
@@ -170,7 +174,7 @@ var Lozenge = /*#__PURE__*/memo(function (_ref) {
|
|
|
170
174
|
css: [styles.container, styles.background[appearanceStyle][appearanceType], appearanceStyle === 'subtle' && !fg('visual-refresh_drop_5') && styles.border.subtle[appearanceType], appearanceStyle === 'subtle' && fg('visual-refresh_drop_5') && styles.outline.subtle[appearanceType], appearanceStyle === 'subtle' && fg('visual-refresh_drop_5') && styles.containerSubtle],
|
|
171
175
|
"data-testid": testId
|
|
172
176
|
}, jsx("span", {
|
|
173
|
-
css: [textStyles, styles.text[appearanceStyle]],
|
|
177
|
+
css: [textStyles, fg('platform-lozenge-custom-letterspacing') && customLetterspacingStyles, styles.text[appearanceStyle]],
|
|
174
178
|
style: {
|
|
175
179
|
color: style === null || style === void 0 ? void 0 : style.color,
|
|
176
180
|
// to negate paddingInline specified on Box above
|
|
@@ -191,7 +195,7 @@ var Lozenge = /*#__PURE__*/memo(function (_ref) {
|
|
|
191
195
|
xcss: baseStylesOld,
|
|
192
196
|
testId: testId
|
|
193
197
|
}, jsx("span", {
|
|
194
|
-
css: [textStyles, textColorsOld[appearanceStyle][appearanceType]],
|
|
198
|
+
css: [textStyles, fg('platform-lozenge-custom-letterspacing') && customLetterspacingStyles, textColorsOld[appearanceStyle][appearanceType]],
|
|
195
199
|
style: {
|
|
196
200
|
color: style === null || style === void 0 ? void 0 : style.color,
|
|
197
201
|
// to negate paddingInline specified on Box above
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
._18m915vq{overflow-y:hidden}
|
|
18
18
|
._1bto1l2s{text-overflow:ellipsis}
|
|
19
19
|
._1cwg1n1a{outline-offset:-1px}
|
|
20
|
+
._1dyz9vsi{letter-spacing:.165px}
|
|
20
21
|
._1e0c116y{display:inline-flex}
|
|
21
22
|
._1kz6184x{block-size:min-content}
|
|
22
23
|
._1p1dangw{text-transform:uppercase}
|
|
@@ -32,7 +33,6 @@
|
|
|
32
33
|
._bfhkxmjf{background-color:#f9c84e}
|
|
33
34
|
._bozg1b66{padding-inline-start:var(--ds-space-050,4px)}
|
|
34
35
|
._ect41sbm{font-family:var(--ds-font-family-body,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
35
|
-
._ect41vq6{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif}
|
|
36
36
|
._k48pmoej{font-weight:var(--ds-font-weight-bold,700)}
|
|
37
37
|
._kqswpfqs{position:static}
|
|
38
38
|
._o5721q9c{white-space:nowrap}
|
|
@@ -23,7 +23,8 @@ var stylesOld = {
|
|
|
23
23
|
|
|
24
24
|
// NOTE: This is isolated to avoid breaking the bounded `stylesOld` interface as they do not fall within the Design System.
|
|
25
25
|
var stylesOldUnbounded = {
|
|
26
|
-
text: "_1reo15vq _18m915vq
|
|
26
|
+
text: "_1reo15vq _18m915vq _ect41sbm _1wyb1skh _zg8l4jg8 _k48pmoej _vwz47vkz _1bto1l2s _1p1dangw _o5721q9c",
|
|
27
|
+
customLetterspacing: "_1dyz9vsi"
|
|
27
28
|
};
|
|
28
29
|
var backgroundColorsOld = {
|
|
29
30
|
bold: {
|
|
@@ -52,6 +53,7 @@ var stylesNew = {
|
|
|
52
53
|
container: "_2rko1l7b _1reo15vq _18m915vq _1e0c116y _vchhusvi _kqswpfqs _1kz6184x _bozg1b66 _y4ti1b66",
|
|
53
54
|
containerSubtle: "_1cwg1n1a",
|
|
54
55
|
text: "_1reo15vq _18m915vq _ect41sbm _1wyb1skh _zg8l4jg8 _k48pmoej _vwz47vkz _1bto1l2s _1p1dangw _o5721q9c",
|
|
56
|
+
customLetterspacing: "_1dyz9vsi",
|
|
55
57
|
'bg.bold.default': "_bfhk1fkg",
|
|
56
58
|
'bg.bold.inprogress': "_bfhk1ymo",
|
|
57
59
|
'bg.bold.moved': "_bfhkxmjf",
|
|
@@ -120,7 +122,7 @@ var Lozenge = /*#__PURE__*/memo(function (_ref) {
|
|
|
120
122
|
maxWidth: maxWidthIsPc ? '100%' : "calc(".concat(maxWidthValue, " - ", "var(--ds-space-100, 8px)", ")")
|
|
121
123
|
},
|
|
122
124
|
"data-testid": testId && "".concat(testId, "--text"),
|
|
123
|
-
className: ax([stylesNew.text, stylesNew["text.".concat(appearanceStyle)]])
|
|
125
|
+
className: ax([stylesNew.text, fg('platform-lozenge-custom-letterspacing') && stylesNew.customLetterspacing, stylesNew["text.".concat(appearanceStyle)]])
|
|
124
126
|
}, children));
|
|
125
127
|
}
|
|
126
128
|
return /*#__PURE__*/React.createElement(Box, {
|
|
@@ -140,7 +142,7 @@ var Lozenge = /*#__PURE__*/memo(function (_ref) {
|
|
|
140
142
|
maxWidth: maxWidthIsPc ? '100%' : "calc(".concat(maxWidthValue, " - ", "var(--ds-space-100, 8px)", ")")
|
|
141
143
|
},
|
|
142
144
|
"data-testid": testId && "".concat(testId, "--text"),
|
|
143
|
-
className: ax([stylesOldUnbounded.text, stylesOld["text.".concat(appearanceStyle, ".").concat(appearanceType)]])
|
|
145
|
+
className: ax([stylesOldUnbounded.text, fg('platform-lozenge-custom-letterspacing') && stylesOldUnbounded.customLetterspacing, stylesOld["text.".concat(appearanceStyle, ".").concat(appearanceType)]])
|
|
144
146
|
}, children));
|
|
145
147
|
});
|
|
146
148
|
Lozenge.displayName = 'Lozenge';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/lozenge",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.1.0",
|
|
4
4
|
"description": "A lozenge is a visual indicator used to highlight an item's status for quick recognition.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,25 +39,25 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
42
|
-
"@atlaskit/css": "^0.
|
|
42
|
+
"@atlaskit/css": "^0.10.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
|
-
"@atlaskit/primitives": "^
|
|
45
|
-
"@atlaskit/theme": "^
|
|
46
|
-
"@atlaskit/tokens": "^
|
|
44
|
+
"@atlaskit/primitives": "^14.1.0",
|
|
45
|
+
"@atlaskit/theme": "^17.0.0",
|
|
46
|
+
"@atlaskit/tokens": "^4.2.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"@compiled/react": "^0.18.2",
|
|
49
49
|
"@emotion/react": "^11.7.1"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"react": "^
|
|
52
|
+
"react": "^18.2.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@af/accessibility-testing": "*",
|
|
56
56
|
"@af/integration-testing": "*",
|
|
57
57
|
"@af/visual-regression": "*",
|
|
58
58
|
"@atlaskit/docs": "*",
|
|
59
|
-
"@atlaskit/ds-lib": "^
|
|
60
|
-
"@atlaskit/heading": "^
|
|
59
|
+
"@atlaskit/ds-lib": "^4.0.0",
|
|
60
|
+
"@atlaskit/heading": "^5.1.0",
|
|
61
61
|
"@atlaskit/link": "*",
|
|
62
62
|
"@atlaskit/section-message": "*",
|
|
63
63
|
"@atlaskit/ssr": "*",
|
|
@@ -95,6 +95,9 @@
|
|
|
95
95
|
},
|
|
96
96
|
"visual-refresh_drop_5": {
|
|
97
97
|
"type": "boolean"
|
|
98
|
+
},
|
|
99
|
+
"platform-lozenge-custom-letterspacing": {
|
|
100
|
+
"type": "boolean"
|
|
98
101
|
}
|
|
99
102
|
},
|
|
100
103
|
"homepage": "https://atlassian.design/components/lozenge/"
|