Skip to content

Commit

Permalink
Removed doc for remainingChar component / forced en-US locale for sam…
Browse files Browse the repository at this point in the history
…ples (#487)
  • Loading branch information
fraincs authored Oct 10, 2024
2 parents 610c3f4 + 860ba95 commit ccdffd9
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 113 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const ComponentPreviewWrapper = memo(({ preview, toggleButton, minHeight = "13re
colorMode={localColorMode}
/>
</div>
<HopperProvider colorScheme={localColorMode}>
<HopperProvider colorScheme={localColorMode} locale="en-US">
<Card className="hd-component-preview-wrapper__card" size="sm" style={{ minHeight: minHeight }}>
{preview}
</Card>
Expand Down
70 changes: 0 additions & 70 deletions apps/docs/content/components/forms/RemainingCharacterCount.mdx

This file was deleted.

12 changes: 0 additions & 12 deletions apps/docs/examples/Preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -527,18 +527,6 @@ export const Previews: Record<string, Preview> = {
"radio/docs/radio/icons": {
component: lazy(() => import("@/../../packages/components/src/radio/docs/radio/icons.tsx"))
},
"inputs/docs/remainingCharacterCount/preview": {
component: lazy(() => import("@/../../packages/components/src/inputs/docs/remainingCharacterCount/preview.tsx"))
},
"inputs/docs/remainingCharacterCount/negative": {
component: lazy(() => import("@/../../packages/components/src/inputs/docs/remainingCharacterCount/negative.tsx"))
},
"inputs/docs/remainingCharacterCount/invalid": {
component: lazy(() => import("@/../../packages/components/src/inputs/docs/remainingCharacterCount/invalid.tsx"))
},
"inputs/docs/remainingCharacterCount/disabled": {
component: lazy(() => import("@/../../packages/components/src/inputs/docs/remainingCharacterCount/disabled.tsx"))
},
"inputs/docs/searchField/preview": {
component: lazy(() => import("@/../../packages/components/src/inputs/docs/searchField/preview.tsx"))
},
Expand Down
2 changes: 0 additions & 2 deletions apps/docs/examples/overview/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import NumberField from "./NumberField.svg";
import PasswordField from "./PasswordField.svg";
import Popover from "./Popover.svg";
import RadioGroup from "./RadioGroup.svg";
import RemainingCharacterCount from "./RemainingCharacterCount.svg";
import SearchField from "./SearchField.svg";
import Select from "./Select.svg";
import Spinner from "./Spinner.svg";
Expand Down Expand Up @@ -66,7 +65,6 @@ export const OverviewComponents: OverviewComponentsType = {
PasswordField,
Popover,
RadioGroup,
RemainingCharacterCount,
SearchField,
Select,
Spinner,
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit ccdffd9

Please sign in to comment.