@lumx/react 3.12.1-alpha.4 → 3.12.1-alpha.6

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/package.json CHANGED
@@ -6,8 +6,8 @@
6
6
  "url": "https://github.com/lumapps/design-system/issues"
7
7
  },
8
8
  "dependencies": {
9
- "@lumx/core": "^3.12.1-alpha.4",
10
- "@lumx/icons": "^3.12.1-alpha.4",
9
+ "@lumx/core": "^3.12.1-alpha.6",
10
+ "@lumx/icons": "^3.12.1-alpha.6",
11
11
  "@popperjs/core": "^2.5.4",
12
12
  "body-scroll-lock": "^3.1.5",
13
13
  "classnames": "^2.3.2",
@@ -110,5 +110,5 @@
110
110
  "build:storybook": "storybook build"
111
111
  },
112
112
  "sideEffects": false,
113
- "version": "3.12.1-alpha.4"
113
+ "version": "3.12.1-alpha.6"
114
114
  }
@@ -2,7 +2,6 @@ import {
2
2
  ColorPalette,
3
3
  ColorVariant,
4
4
  FlexBox,
5
- Heading,
6
5
  Icon,
7
6
  Text,
8
7
  Link,
@@ -145,7 +144,9 @@ export const AllColors = {
145
144
  };
146
145
 
147
146
  /**
148
- * Check how link inherit the parent typography & color
147
+ * Check how link inherit parent typography & color.
148
+ * Typography should be inherited.
149
+ * Color should not.
149
150
  */
150
151
  export const ParentTypographyAndColor = {
151
152
  args: {
@@ -45,7 +45,7 @@ describe(`<${Link.displayName}>`, () => {
45
45
 
46
46
  it('should render typography', () => {
47
47
  const { link } = setup({ href: 'https://google.com', typography: Typography.title });
48
- expect(link.className).toBe('lumx-link lumx-typography-title');
48
+ expect(link.className).toBe('lumx-link lumx-link--has-typography lumx-typography-title');
49
49
  });
50
50
 
51
51
  it('should render a button', () => {