@khanacademy/wonder-blocks-cell 2.2.14 → 2.2.15

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,19 @@
1
1
  # @khanacademy/wonder-blocks-cell
2
2
 
3
+ ## 2.2.15
4
+
5
+ ### Patch Changes
6
+
7
+ - 91cb727c: Remove file extensions from imports
8
+ - Updated dependencies [91cb727c]
9
+ - Updated dependencies [91cb727c]
10
+ - Updated dependencies [91cb727c]
11
+ - @khanacademy/wonder-blocks-clickable@2.4.5
12
+ - @khanacademy/wonder-blocks-color@1.2.1
13
+ - @khanacademy/wonder-blocks-core@4.7.0
14
+ - @khanacademy/wonder-blocks-layout@1.4.16
15
+ - @khanacademy/wonder-blocks-typography@1.1.38
16
+
3
17
  ## 2.2.14
4
18
 
5
19
  ### Patch Changes
@@ -1,2 +1,2 @@
1
1
  // @flow
2
- export * from "../src/index.js";
2
+ export * from "../src/index";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-cell",
3
- "version": "2.2.14",
3
+ "version": "2.2.15",
4
4
  "design": "v1",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -14,19 +14,19 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@babel/runtime": "^7.18.6",
17
- "@khanacademy/wonder-blocks-clickable": "^2.4.4",
18
- "@khanacademy/wonder-blocks-color": "^1.2.0",
19
- "@khanacademy/wonder-blocks-core": "^4.6.2",
20
- "@khanacademy/wonder-blocks-layout": "^1.4.15",
17
+ "@khanacademy/wonder-blocks-clickable": "^2.4.5",
18
+ "@khanacademy/wonder-blocks-color": "^1.2.1",
19
+ "@khanacademy/wonder-blocks-core": "^4.7.0",
20
+ "@khanacademy/wonder-blocks-layout": "^1.4.16",
21
21
  "@khanacademy/wonder-blocks-spacing": "^3.0.5",
22
- "@khanacademy/wonder-blocks-typography": "^1.1.37"
22
+ "@khanacademy/wonder-blocks-typography": "^1.1.38"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "aphrodite": "^1.2.5",
26
26
  "react": "16.14.0"
27
27
  },
28
28
  "devDependencies": {
29
- "wb-dev-build-settings": "^0.7.0"
29
+ "wb-dev-build-settings": "^0.7.1"
30
30
  },
31
31
  "author": "",
32
32
  "license": "MIT"
@@ -12,13 +12,11 @@ import type {StoryComponentType} from "@storybook/react";
12
12
 
13
13
  import type {IconAsset} from "@khanacademy/wonder-blocks-icon";
14
14
 
15
- import ComponentInfo from "../../../../../.storybook/components/component-info.js";
15
+ import ComponentInfo from "../../../../../.storybook/components/component-info";
16
16
  import {name, version} from "../../../package.json";
17
- import CompactCellArgTypes, {
18
- AccessoryMappings,
19
- } from "./compact-cell.argtypes.js";
17
+ import CompactCellArgTypes, {AccessoryMappings} from "./compact-cell.argtypes";
20
18
 
21
- import CompactCell from "../compact-cell.js";
19
+ import CompactCell from "../compact-cell";
22
20
 
23
21
  export default {
24
22
  title: "Cell / CompactCell",
@@ -1,5 +1,5 @@
1
1
  // @flow
2
- import CompactCellArgTypes from "./compact-cell.argtypes.js";
2
+ import CompactCellArgTypes from "./compact-cell.argtypes";
3
3
 
4
4
  export default {
5
5
  ...CompactCellArgTypes,
@@ -10,11 +10,11 @@ import Icon, {icons} from "@khanacademy/wonder-blocks-icon";
10
10
 
11
11
  import type {StoryComponentType} from "@storybook/react";
12
12
 
13
- import ComponentInfo from "../../../../../.storybook/components/component-info.js";
13
+ import ComponentInfo from "../../../../../.storybook/components/component-info";
14
14
  import {name, version} from "../../../package.json";
15
- import DetailCellArgTypes from "./detail-cell.argtypes.js";
15
+ import DetailCellArgTypes from "./detail-cell.argtypes";
16
16
 
17
- import DetailCell from "../detail-cell.js";
17
+ import DetailCell from "../detail-cell";
18
18
 
19
19
  export default {
20
20
  title: "Cell / DetailCell",
@@ -5,7 +5,7 @@ import {render, screen} from "@testing-library/react";
5
5
  import Icon, {icons} from "@khanacademy/wonder-blocks-icon";
6
6
  import {HeadingMedium} from "@khanacademy/wonder-blocks-typography";
7
7
 
8
- import CompactCell from "../compact-cell.js";
8
+ import CompactCell from "../compact-cell";
9
9
 
10
10
  describe("CompactCell", () => {
11
11
  it("should render the default CompactCell component", () => {
@@ -4,7 +4,7 @@ import {render, screen} from "@testing-library/react";
4
4
 
5
5
  import {HeadingMedium} from "@khanacademy/wonder-blocks-typography";
6
6
 
7
- import DetailCell from "../detail-cell.js";
7
+ import DetailCell from "../detail-cell";
8
8
 
9
9
  describe("DetailCell", () => {
10
10
  it("should render the default DetailCell component", () => {
@@ -3,9 +3,9 @@ import * as React from "react";
3
3
 
4
4
  import {LabelMedium} from "@khanacademy/wonder-blocks-typography";
5
5
 
6
- import CellCore from "./internal/cell-core.js";
6
+ import CellCore from "./internal/cell-core";
7
7
 
8
- import type {CellProps} from "../util/types.js";
8
+ import type {CellProps} from "../util/types";
9
9
 
10
10
  /**
11
11
  * `CompactCell` is the simplest form of the Cell. It is a compacted-height Cell
@@ -7,10 +7,10 @@ import {Strut} from "@khanacademy/wonder-blocks-layout";
7
7
  import Spacing from "@khanacademy/wonder-blocks-spacing";
8
8
  import {LabelSmall, LabelMedium} from "@khanacademy/wonder-blocks-typography";
9
9
 
10
- import CellCore from "./internal/cell-core.js";
11
- import {CellMeasurements} from "./internal/common.js";
10
+ import CellCore from "./internal/cell-core";
11
+ import {CellMeasurements} from "./internal/common";
12
12
 
13
- import type {CellProps, TypographyText} from "../util/types.js";
13
+ import type {CellProps, TypographyText} from "../util/types";
14
14
 
15
15
  type SubtitleProps = {|
16
16
  subtitle?: TypographyText,
@@ -2,7 +2,7 @@
2
2
  import * as React from "react";
3
3
  import {render, screen} from "@testing-library/react";
4
4
 
5
- import CellCore from "../cell-core.js";
5
+ import CellCore from "../cell-core";
6
6
 
7
7
  describe("CellCore", () => {
8
8
  it("should render the CellCore component", () => {
@@ -1,6 +1,6 @@
1
1
  // @flow
2
2
 
3
- import {getHorizontalRuleStyles} from "../common.js";
3
+ import {getHorizontalRuleStyles} from "../common";
4
4
 
5
5
  describe("getHorizontalRuleStyles", () => {
6
6
  it("should get 'inset' styles as an array", () => {
@@ -11,9 +11,9 @@ import {Strut} from "@khanacademy/wonder-blocks-layout";
11
11
  import Spacing from "@khanacademy/wonder-blocks-spacing";
12
12
 
13
13
  import type {ClickableState} from "@khanacademy/wonder-blocks-clickable";
14
- import {CellMeasurements, getHorizontalRuleStyles} from "./common.js";
14
+ import {CellMeasurements, getHorizontalRuleStyles} from "./common";
15
15
 
16
- import type {CellProps, TypographyText} from "../../util/types.js";
16
+ import type {CellProps, TypographyText} from "../../util/types";
17
17
 
18
18
  type LeftAccessoryProps = {|
19
19
  leftAccessory?: CellProps["leftAccessory"],
@@ -5,7 +5,7 @@ import Color from "@khanacademy/wonder-blocks-color";
5
5
  import Spacing from "@khanacademy/wonder-blocks-spacing";
6
6
 
7
7
  import type {StyleType} from "@khanacademy/wonder-blocks-core";
8
- import type {HorizontalRuleVariant} from "../../util/types.js";
8
+ import type {HorizontalRuleVariant} from "../../util/types";
9
9
 
10
10
  export const CellMeasurements = {
11
11
  cellMinHeight: Spacing.xxLarge_48,
package/src/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // @flow
2
- import CompactCell from "./components/compact-cell.js";
3
- import DetailCell from "./components/detail-cell.js";
2
+ import CompactCell from "./components/compact-cell";
3
+ import DetailCell from "./components/detail-cell";
4
4
 
5
5
  export {CompactCell, DetailCell};