{children}
{children}
-} - -export default Object.assign(Input, { - Desc: InputDesc, - Label: InputLabel, - Control: Object.assign(InputControl, { - Message: InputControlMessage, - Icon: InputControlIcon - }) -}); \ No newline at end of file diff --git a/src/components/quote/Quote.stories.tsx b/src/components/quote/Quote.stories.tsx index d3c6a0a0..5db7aadb 100644 --- a/src/components/quote/Quote.stories.tsx +++ b/src/components/quote/Quote.stories.tsx @@ -51,7 +51,6 @@ export const QuoteWithLogo: QuoteStory = { gradient: true, borderColor: "secondary", firstGradientColor: "secondary", - gradientPosition: "bottom-left", inlineBorder: true } } @@ -74,7 +73,6 @@ export const QuoteWithoutLogo: QuoteStory = { borderColor: "secondary", firstGradientColor: "secondary", gradient: true, - gradientPosition: "bottom-left", inlineBorder: true } } diff --git a/src/components/tooltip/Tooltip.tsx b/src/components/tooltip/Tooltip.tsx index 721ec3ec..230c9587 100644 --- a/src/components/tooltip/Tooltip.tsx +++ b/src/components/tooltip/Tooltip.tsx @@ -1,4 +1,4 @@ -import React, {cloneElement, ReactElement, ReactNode} from "react"; +import React, {ReactElement, ReactNode} from "react"; import {getChild, getPositionAroundTarget} from "../../utils/utils"; import "./Tooltip.style.scss" diff --git a/src/index.ts b/src/index.ts index dc6e29d4..f282a727 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,7 +7,6 @@ export { default as Col} from "./components/col/Col" export { default as Container} from "./components/container/Container" export { default as Dropdown} from "./components/dropdown/Dropdown" export { default as Text} from "./components/Text/Text" -export { default as Input } from "./components/input/Input"; export { default as ListGroup} from "./components/list-group/ListGroup" export { default as Menu} from "./components/menu/Menu" export { default as Popover} from "./components/popover/Popover" diff --git a/src/styles/_helpers.scss b/src/styles/_helpers.scss index c3f6750f..9818bac5 100644 --- a/src/styles/_helpers.scss +++ b/src/styles/_helpers.scss @@ -21,7 +21,7 @@ outline: none; } - &:active { + &:active, &--active, &:focus, &:focus-visible { border: 1px solid borderColor($color, true); } } diff --git a/src/utils/utils.ts b/src/utils/utils.ts index 076fe32f..9c517248 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -1,4 +1,4 @@ -import React, {CSSProperties, ReactNode, useState} from "react"; +import React, {CSSProperties, ReactNode} from "react"; import mergeProps from "merge-props"; import {Code0Component, Code0ComponentProps} from "./types";