Skip to content

Commit

Permalink
fix: revert Odyssey exports changes 1e5e59
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinGhadyani-Okta committed Aug 4, 2023
1 parent 1e5e598 commit 36b111a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
16 changes: 12 additions & 4 deletions packages/odyssey-react-mui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"author": "Okta, Inc.",
"license": "Apache-2.0",
"sideEffects": false,
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/src/index.d.ts",
Expand All @@ -23,9 +22,18 @@
}
},
"exports": {
"./icons": "./dist/icons.generated/index.js",
"./labs": "./dist/labs/index.js",
".": "./dist/index.js",
"./icons": {
"types": "./dist/src/icons.generated/index.d.ts",
"default": "./dist/icons.generated/index.js"
},
"./labs": {
"types": "./dist/src/labs/index.d.ts",
"default": "./dist/labs/index.js"
},
".": {
"types": "./dist/src/index.d.ts",
"default": "./dist/index.js"
},
"./README.md": "./README.md"
},
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,23 @@
* See the License for the specific language governing permissions and limitations under the License.
*/

import type { Meta, StoryObj } from "@storybook/react";

import { Box } from "@mui/material";
import {
Button,
buttonSizeValues,
buttonTypeValues,
buttonVariantValues,
type ButtonProps,
} from "@okta/odyssey-react-mui";
import type { ButtonProps } from "@okta/odyssey-react-mui";
import { AddIcon } from "@okta/odyssey-react-mui/icons";
import { expect } from "@storybook/jest";
import { userEvent, waitFor, within } from "@storybook/testing-library";
import type { Meta, StoryObj } from "@storybook/react";

import { MuiThemeDecorator } from "../../../../.storybook/components";
import icons from "../../../../.storybook/components/iconUtils";

import { userEvent, waitFor, within } from "@storybook/testing-library";
import { expect } from "@storybook/jest";
import { axeRun } from "../../../axe-util";
import type { PlaywrightProps } from "../storybookTypes";
import { Box } from "@mui/material";

type playType = {
args: ButtonProps;
Expand Down

0 comments on commit 36b111a

Please sign in to comment.