@khanacademy/wonder-blocks-button 3.0.13 → 3.0.14

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,21 @@
1
1
  # @khanacademy/wonder-blocks-button
2
2
 
3
+ ## 3.0.14
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
+ - Updated dependencies [91cb727c]
12
+ - @khanacademy/wonder-blocks-icon@1.2.37
13
+ - @khanacademy/wonder-blocks-clickable@2.4.5
14
+ - @khanacademy/wonder-blocks-color@1.2.1
15
+ - @khanacademy/wonder-blocks-core@4.7.0
16
+ - @khanacademy/wonder-blocks-progress-spinner@1.1.40
17
+ - @khanacademy/wonder-blocks-typography@1.1.38
18
+
3
19
  ## 3.0.13
4
20
 
5
21
  ### 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-button",
3
- "version": "3.0.13",
3
+ "version": "3.0.14",
4
4
  "design": "v1",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -16,13 +16,13 @@
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
18
  "@babel/runtime": "^7.18.6",
19
- "@khanacademy/wonder-blocks-clickable": "^2.4.4",
20
- "@khanacademy/wonder-blocks-color": "^1.2.0",
21
- "@khanacademy/wonder-blocks-core": "^4.6.2",
22
- "@khanacademy/wonder-blocks-icon": "^1.2.36",
23
- "@khanacademy/wonder-blocks-progress-spinner": "^1.1.39",
19
+ "@khanacademy/wonder-blocks-clickable": "^2.4.5",
20
+ "@khanacademy/wonder-blocks-color": "^1.2.1",
21
+ "@khanacademy/wonder-blocks-core": "^4.7.0",
22
+ "@khanacademy/wonder-blocks-icon": "^1.2.37",
23
+ "@khanacademy/wonder-blocks-progress-spinner": "^1.1.40",
24
24
  "@khanacademy/wonder-blocks-spacing": "^3.0.5",
25
- "@khanacademy/wonder-blocks-typography": "^1.1.37"
25
+ "@khanacademy/wonder-blocks-typography": "^1.1.38"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "aphrodite": "^1.2.5",
@@ -31,6 +31,6 @@
31
31
  "react-router-dom": "5.3.0"
32
32
  },
33
33
  "devDependencies": {
34
- "wb-dev-build-settings": "^0.7.0"
34
+ "wb-dev-build-settings": "^0.7.1"
35
35
  }
36
36
  }
@@ -2,8 +2,8 @@
2
2
  import React from "react";
3
3
  import renderer from "react-test-renderer";
4
4
 
5
- import ButtonCore from "../components/button-core.js";
6
- import Button from "../components/button.js";
5
+ import ButtonCore from "../components/button-core";
6
+ import Button from "../components/button";
7
7
 
8
8
  const defaultHandlers = {
9
9
  onClick: () => void 0,
@@ -15,10 +15,10 @@ import {LabelMedium} from "@khanacademy/wonder-blocks-typography";
15
15
  import type {StoryComponentType} from "@storybook/react";
16
16
  import type {StyleDeclaration} from "aphrodite";
17
17
 
18
- import Button from "../button.js";
18
+ import Button from "../button";
19
19
 
20
- import ComponentInfo from "../../../../../.storybook/components/component-info.js";
21
- import ButtonArgTypes from "./button.argtypes.js";
20
+ import ComponentInfo from "../../../../../.storybook/components/component-info";
21
+ import ButtonArgTypes from "./button.argtypes";
22
22
  import {name, version} from "../../../package.json";
23
23
 
24
24
  export default {
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable ft-flow/no-unused-expressions */
3
3
  import * as React from "react";
4
4
 
5
- import Button from "../button.js";
5
+ import Button from "../button";
6
6
 
7
7
  // $FlowExpectedError[incompatible-type]: href must be used with beforeNav
8
8
  <Button beforeNav={() => Promise.resolve()}>Hello, world!</Button>;
@@ -4,7 +4,7 @@ import {MemoryRouter, Route, Switch} from "react-router-dom";
4
4
  import {render, screen, waitFor} from "@testing-library/react";
5
5
  import userEvent from "@testing-library/user-event";
6
6
 
7
- import Button from "../button.js";
7
+ import Button from "../button";
8
8
 
9
9
  describe("Button", () => {
10
10
  const {location} = window;
@@ -20,7 +20,7 @@ import type {
20
20
  ChildrenProps,
21
21
  ClickableState,
22
22
  } from "@khanacademy/wonder-blocks-clickable";
23
- import type {SharedProps} from "./button.js";
23
+ import type {SharedProps} from "./button";
24
24
 
25
25
  type Props = {|
26
26
  ...SharedProps,
@@ -5,7 +5,7 @@ import {__RouterContext} from "react-router";
5
5
  import {getClickableBehavior} from "@khanacademy/wonder-blocks-clickable";
6
6
  import type {AriaProps, StyleType} from "@khanacademy/wonder-blocks-core";
7
7
  import type {IconAsset} from "@khanacademy/wonder-blocks-icon";
8
- import ButtonCore from "./button-core.js";
8
+ import ButtonCore from "./button-core";
9
9
 
10
10
  export type SharedProps = {|
11
11
  /**
package/src/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // @flow
2
- import Button from "./components/button.js";
3
- import type {SharedProps} from "./components/button.js";
2
+ import Button from "./components/button";
3
+ import type {SharedProps} from "./components/button";
4
4
 
5
5
  export type {SharedProps as ButtonProps};
6
6
  export {Button as default};