@atlaskit/logo 17.0.0 → 18.0.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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/logo
2
2
 
3
+ ## 18.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#146780](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/146780)
8
+ [`c1fa4405cb8c6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c1fa4405cb8c6) -
9
+ Remove deprecated default prop constants.
10
+
3
11
  ## 17.0.0
4
12
 
5
13
  ### Major Changes
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.legacyDefaultLogoParams = exports.defaultLogoParams = exports.DefaultProps = void 0;
6
+ exports.legacyDefaultLogoParams = exports.defaultLogoParams = void 0;
7
7
  /**
8
8
  * These are the default parameters for LogoProps if the user does not specify values.
9
9
  */
@@ -20,25 +20,4 @@ var legacyDefaultLogoParams = exports.legacyDefaultLogoParams = {
20
20
 
21
21
  /**
22
22
  * The props for the <Wrapper /> that takes the svg and turns it into a component.
23
- */
24
-
25
- /**
26
- * In order to pass linting rules, these props were renamed to be more descriptive i.e. props renamed to LogoProps and
27
- * defaultParams to defaultLogoParams. However, this is a breaking change as it is a file with public entry points. The code
28
- * below is here to keep Logo backwards compatible.
29
- * See the ticket here: https://product-fabric.atlassian.net/browse/DSP-4086.
30
- *
31
- * Note that some consumers are accessing this using like so: import { Props } from '@atlaskit/logo/constants', this should
32
- * still work despite `LogoProps` being in a different types.tsx file.
33
- *
34
- */
35
-
36
- /**
37
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-175 Internal documentation for deprecation (no external access)} This has been renamed, please import `LogoProps` instead.
38
- */
39
- // eslint-disable-next-line @repo/internal/react/consistent-types-definitions
40
-
41
- /**
42
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-176 Internal documentation for deprecation (no external access)} This has been renamed, please import `defaultLogoParams` instead.
43
- */
44
- var DefaultProps = exports.DefaultProps = defaultLogoParams;
23
+ */
@@ -14,25 +14,4 @@ export const legacyDefaultLogoParams = {
14
14
 
15
15
  /**
16
16
  * The props for the <Wrapper /> that takes the svg and turns it into a component.
17
- */
18
-
19
- /**
20
- * In order to pass linting rules, these props were renamed to be more descriptive i.e. props renamed to LogoProps and
21
- * defaultParams to defaultLogoParams. However, this is a breaking change as it is a file with public entry points. The code
22
- * below is here to keep Logo backwards compatible.
23
- * See the ticket here: https://product-fabric.atlassian.net/browse/DSP-4086.
24
- *
25
- * Note that some consumers are accessing this using like so: import { Props } from '@atlaskit/logo/constants', this should
26
- * still work despite `LogoProps` being in a different types.tsx file.
27
- *
28
- */
29
-
30
- /**
31
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-175 Internal documentation for deprecation (no external access)} This has been renamed, please import `LogoProps` instead.
32
- */
33
- // eslint-disable-next-line @repo/internal/react/consistent-types-definitions
34
-
35
- /**
36
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-176 Internal documentation for deprecation (no external access)} This has been renamed, please import `defaultLogoParams` instead.
37
- */
38
- export const DefaultProps = defaultLogoParams;
17
+ */
@@ -14,25 +14,4 @@ export var legacyDefaultLogoParams = {
14
14
 
15
15
  /**
16
16
  * The props for the <Wrapper /> that takes the svg and turns it into a component.
17
- */
18
-
19
- /**
20
- * In order to pass linting rules, these props were renamed to be more descriptive i.e. props renamed to LogoProps and
21
- * defaultParams to defaultLogoParams. However, this is a breaking change as it is a file with public entry points. The code
22
- * below is here to keep Logo backwards compatible.
23
- * See the ticket here: https://product-fabric.atlassian.net/browse/DSP-4086.
24
- *
25
- * Note that some consumers are accessing this using like so: import { Props } from '@atlaskit/logo/constants', this should
26
- * still work despite `LogoProps` being in a different types.tsx file.
27
- *
28
- */
29
-
30
- /**
31
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-175 Internal documentation for deprecation (no external access)} This has been renamed, please import `LogoProps` instead.
32
- */
33
- // eslint-disable-next-line @repo/internal/react/consistent-types-definitions
34
-
35
- /**
36
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-176 Internal documentation for deprecation (no external access)} This has been renamed, please import `defaultLogoParams` instead.
37
- */
38
- export var DefaultProps = defaultLogoParams;
17
+ */
@@ -14,21 +14,3 @@ export declare const legacyDefaultLogoParams: {
14
14
  export type WrapperProps = LogoProps & {
15
15
  svg: string;
16
16
  };
17
- /**
18
- * In order to pass linting rules, these props were renamed to be more descriptive i.e. props renamed to LogoProps and
19
- * defaultParams to defaultLogoParams. However, this is a breaking change as it is a file with public entry points. The code
20
- * below is here to keep Logo backwards compatible.
21
- * See the ticket here: https://product-fabric.atlassian.net/browse/DSP-4086.
22
- *
23
- * Note that some consumers are accessing this using like so: import { Props } from '@atlaskit/logo/constants', this should
24
- * still work despite `LogoProps` being in a different types.tsx file.
25
- *
26
- */
27
- /**
28
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-175 Internal documentation for deprecation (no external access)} This has been renamed, please import `LogoProps` instead.
29
- */
30
- export type Props = LogoProps;
31
- /**
32
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-176 Internal documentation for deprecation (no external access)} This has been renamed, please import `defaultLogoParams` instead.
33
- */
34
- export declare const DefaultProps: Partial<LogoProps>;
@@ -14,21 +14,3 @@ export declare const legacyDefaultLogoParams: {
14
14
  export type WrapperProps = LogoProps & {
15
15
  svg: string;
16
16
  };
17
- /**
18
- * In order to pass linting rules, these props were renamed to be more descriptive i.e. props renamed to LogoProps and
19
- * defaultParams to defaultLogoParams. However, this is a breaking change as it is a file with public entry points. The code
20
- * below is here to keep Logo backwards compatible.
21
- * See the ticket here: https://product-fabric.atlassian.net/browse/DSP-4086.
22
- *
23
- * Note that some consumers are accessing this using like so: import { Props } from '@atlaskit/logo/constants', this should
24
- * still work despite `LogoProps` being in a different types.tsx file.
25
- *
26
- */
27
- /**
28
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-175 Internal documentation for deprecation (no external access)} This has been renamed, please import `LogoProps` instead.
29
- */
30
- export type Props = LogoProps;
31
- /**
32
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-176 Internal documentation for deprecation (no external access)} This has been renamed, please import `defaultLogoParams` instead.
33
- */
34
- export declare const DefaultProps: Partial<LogoProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/logo",
3
- "version": "17.0.0",
3
+ "version": "18.0.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/"