@atlaskit/logo 18.0.0 → 18.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 +10 -0
- package/dist/cjs/wrapper.js +1 -0
- package/dist/es2019/wrapper.js +1 -0
- package/dist/esm/wrapper.js +1 -0
- package/dist/types/types.d.ts +3 -2
- package/dist/types-ts4.5/types.d.ts +3 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/logo
|
|
2
2
|
|
|
3
|
+
## 18.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#154600](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/154600)
|
|
8
|
+
[`d573e939cabe3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d573e939cabe3) -
|
|
9
|
+
Adds 'xxsmall' size to Logo, that maps to the same size as 'xsmall'. In a future major bump of
|
|
10
|
+
this component, the 'xsmall' size will be updated to render logos at 20px height; please migrate
|
|
11
|
+
any usages before then.
|
|
12
|
+
|
|
3
13
|
## 18.0.0
|
|
4
14
|
|
|
5
15
|
### Major Changes
|
package/dist/cjs/wrapper.js
CHANGED
|
@@ -21,6 +21,7 @@ var CSS_VAR_FILL = '--logo-fill';
|
|
|
21
21
|
var styles = {
|
|
22
22
|
root: "_1e0c1o8l _kqswh2mm _syaz1vry _lswu1xf6 _vwz4kb7n _uiztglyw _o5724jg8 _zbji1osq _3se11kw7",
|
|
23
23
|
stop: "_vc881r31",
|
|
24
|
+
xxsmall: "_4t3i7vkz",
|
|
24
25
|
xsmall: "_4t3i7vkz",
|
|
25
26
|
small: "_4t3i1tcg",
|
|
26
27
|
medium: "_4t3izwfg",
|
package/dist/es2019/wrapper.js
CHANGED
|
@@ -8,6 +8,7 @@ const CSS_VAR_FILL = '--logo-fill';
|
|
|
8
8
|
const styles = {
|
|
9
9
|
root: "_1e0c1o8l _kqswh2mm _syaz1vry _lswu1xf6 _vwz4kb7n _uiztglyw _o5724jg8 _zbji1osq _3se11kw7",
|
|
10
10
|
stop: "_vc881r31",
|
|
11
|
+
xxsmall: "_4t3i7vkz",
|
|
11
12
|
xsmall: "_4t3i7vkz",
|
|
12
13
|
small: "_4t3i1tcg",
|
|
13
14
|
medium: "_4t3izwfg",
|
package/dist/esm/wrapper.js
CHANGED
|
@@ -11,6 +11,7 @@ var CSS_VAR_FILL = '--logo-fill';
|
|
|
11
11
|
var styles = {
|
|
12
12
|
root: "_1e0c1o8l _kqswh2mm _syaz1vry _lswu1xf6 _vwz4kb7n _uiztglyw _o5724jg8 _zbji1osq _3se11kw7",
|
|
13
13
|
stop: "_vc881r31",
|
|
14
|
+
xxsmall: "_4t3i7vkz",
|
|
14
15
|
xsmall: "_4t3i7vkz",
|
|
15
16
|
small: "_4t3i1tcg",
|
|
16
17
|
medium: "_4t3izwfg",
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
type Appearance = 'brand' | 'neutral' | 'inverse';
|
|
2
|
-
type Size = '
|
|
3
|
-
|
|
2
|
+
type Size = 'xxsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
3
|
+
type BaseLogoProps = {
|
|
4
4
|
/**
|
|
5
5
|
* The size of the icon, uses the same sizing scheme as in `@atlaskit/icon`.
|
|
6
6
|
*/
|
|
@@ -27,6 +27,7 @@ export type LogoProps = {
|
|
|
27
27
|
*/
|
|
28
28
|
testId?: string;
|
|
29
29
|
};
|
|
30
|
+
export type LogoProps = BaseLogoProps;
|
|
30
31
|
/**
|
|
31
32
|
* Utility type to make an optional property required.
|
|
32
33
|
* We use this to force new logos to use the appearance prop while older ones go through the deprecation process.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
type Appearance = 'brand' | 'neutral' | 'inverse';
|
|
2
|
-
type Size = '
|
|
3
|
-
|
|
2
|
+
type Size = 'xxsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
3
|
+
type BaseLogoProps = {
|
|
4
4
|
/**
|
|
5
5
|
* The size of the icon, uses the same sizing scheme as in `@atlaskit/icon`.
|
|
6
6
|
*/
|
|
@@ -27,6 +27,7 @@ export type LogoProps = {
|
|
|
27
27
|
*/
|
|
28
28
|
testId?: string;
|
|
29
29
|
};
|
|
30
|
+
export type LogoProps = BaseLogoProps;
|
|
30
31
|
/**
|
|
31
32
|
* Utility type to make an optional property required.
|
|
32
33
|
* We use this to force new logos to use the appearance prop while older ones go through the deprecation process.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/logo",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.1.0",
|
|
4
4
|
"description": "A logo is a visual representation of a brand or product. It can be a word or an image, or a combination of both.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@atlaskit/ds-lib": "^4.0.0",
|
|
29
29
|
"@atlaskit/theme": "^18.0.0",
|
|
30
|
-
"@atlaskit/tokens": "^4.
|
|
30
|
+
"@atlaskit/tokens": "^4.9.0",
|
|
31
31
|
"@babel/runtime": "^7.0.0",
|
|
32
32
|
"@compiled/react": "^0.18.3"
|
|
33
33
|
},
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"@af/accessibility-testing": "workspace:^",
|
|
39
39
|
"@af/integration-testing": "workspace:^",
|
|
40
40
|
"@af/visual-regression": "workspace:^",
|
|
41
|
-
"@atlaskit/code": "^17.
|
|
41
|
+
"@atlaskit/code": "^17.2.0",
|
|
42
42
|
"@atlaskit/docs": "^10.0.0",
|
|
43
43
|
"@atlaskit/form": "^12.0.0",
|
|
44
|
-
"@atlaskit/link": "^3.
|
|
44
|
+
"@atlaskit/link": "^3.2.0",
|
|
45
45
|
"@atlaskit/lozenge": "^12.2.0",
|
|
46
|
-
"@atlaskit/primitives": "^14.
|
|
46
|
+
"@atlaskit/primitives": "^14.8.0",
|
|
47
47
|
"@atlaskit/section-message": "^8.2.0",
|
|
48
|
-
"@atlaskit/select": "^20.
|
|
48
|
+
"@atlaskit/select": "^20.6.0",
|
|
49
49
|
"@atlaskit/ssr": "workspace:^",
|
|
50
50
|
"@atlassian/ssr-tests": "^0.2.0",
|
|
51
51
|
"@testing-library/react": "^13.4.0",
|