Skip to content

Commit

Permalink
fix: move Drawer from labs to Odyssey OKTA-700393
Browse files Browse the repository at this point in the history
  • Loading branch information
benlister-okta committed Mar 29, 2024
1 parent b5d84db commit 247b30a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ import styled from "@emotion/styled";
import { useTranslation } from "react-i18next";
import { Drawer as MuiDrawer } from "@mui/material";

import type { HtmlProps } from "../HtmlProps";
import { Button } from "../Button";
import { CloseIcon } from "../icons.generated";
import { Heading5 } from "../Typography";
import type { HtmlProps } from "./HtmlProps";
import { Button } from "./Button";
import { CloseIcon } from "./icons.generated";
import { Heading5 } from "./Typography";
import {
useOdysseyDesignTokens,
DesignTokens,
} from "../OdysseyDesignTokensContext";
} from "./OdysseyDesignTokensContext";

export const variantValues = ["temporary", "persistent"] as const;

Expand Down
1 change: 1 addition & 0 deletions packages/odyssey-react-mui/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export * from "./createShadowRootElement";
export * from "./createUniqueId";
export * from "./DataTable";
export * from "./Dialog";
export * from "./Drawer";
export * from "./Fieldset";
export * from "./FieldComponentProps";
export * from "./Form";
Expand Down
1 change: 0 additions & 1 deletion packages/odyssey-react-mui/src/labs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export * from "./datePickerTheme";
/** @deprecated Will be removed in a future Odyssey version in lieu of the one shipping with DataTable */
export * from "./DataTablePagination";
export * from "./DataFilters";
export * from "./Drawer";
export * from "./FileUpload";
export * from "./materialReactTableTypes";
/** @deprecated Will be removed in a future Odyssey version in lieu of DataTable */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@

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

import {
Drawer,
DrawerProps,
variantValues,
} from "@okta/odyssey-react-mui/labs";
import { Drawer, DrawerProps, variantValues } from "@okta/odyssey-react-mui";

import { Accordion, Box, Button } from "@okta/odyssey-react-mui";
import { useCallback, useState } from "react";
Expand Down

0 comments on commit 247b30a

Please sign in to comment.