Skip to content

Commit

Permalink
Fixed: Component Issue Fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arifulislam5577 committed Mar 4, 2024
1 parent 057021e commit 690b547
Show file tree
Hide file tree
Showing 50 changed files with 15 additions and 1,246 deletions.
2 changes: 1 addition & 1 deletion app/components/TopProgressBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Suspense } from 'react'
const TopProgressBar = () => {
return (
<Suspense>
<ProgressBar height="2px" color="#1B4DFF" options={{ showSpinner: false }} />
<ProgressBar height="2px" color="#1B4DFF" options={{ showSpinner: false }} shallowRouting />
</Suspense>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const AccordionOpenPanelCode = `
'use client'
import { Accordion } from 'keep-react'
const AccordionOpenPanel = () => {
export const AccordionComponent = () => {
return (
<Accordion openFirstPanel={true} className="space-y-4">
<Accordion.Panel>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const BreadcrumbDividerIcon = () => {

const BreadcrumbDividerIconCode = `
'use client'
import { Breadcrumb } from "keep-react"
import { Breadcrumb } from 'keep-react'
export const BreadcrumbComponent = () => {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ const BreadcrumbWithBorder = () => {
}

const BreadcrumbWithBorderCode = `
import { Breadcrumb } from "keep-react";
'use client'
import { Breadcrumb } from 'keep-react'
export const BreadcrumbComponent = () => {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const ButtonGroupComponent = () => {
</span>
Profile
</Button>
<Button position="middle">
<Button position="center">
<span className="pr-2">
<Gear size={24} />
</span>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client'
import { Button } from '../../../../src'
import { ChatCircleDots, Cube, Gear } from 'phosphor-react'
import { Button } from '../../../../src'

const ButtonGroupWithOnlyIcon = () => {
return (
Expand All @@ -23,7 +23,7 @@ const ButtonGroupWithOnlyIconCode = `
import { Button } from 'keep-react'
import { ChatCircleDots, Cube, Gear } from 'phosphor-react'
const ButtonGroupWithOnlyIcon = () => {
export const ButtonGroupComponent = () => {
return (
<Button.Group>
<Button position="start" shape="icon">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export const ButtonGroupComponent = () => {
<Button position="center">Settings</Button>
<Button position="end">Messages</Button>
</Button.Group>
);
};
)
}
`

export { DefaultButtonGroup, DefaultButtonGroupCode }
2 changes: 1 addition & 1 deletion app/docs/components/checkbox/variant/CheckboxVariant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const CheckboxVariantCode = `
'use client'
import { Checkbox, Label } from 'keep-react'
const CheckboxVariant = () => {
export const CheckboxComponent = () => {
return (
<>
<fieldset className="flex items-center gap-2">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const DefaultNumberInput = () => {
<NumberInput.Button>
<Minus size={16} color="#455468" />
</NumberInput.Button>
<NumberInput.Input defaultValue={12} />
<NumberInput.Input defaultValue={0} />
<NumberInput.Button>
<Plus size={16} color="#455468" />
</NumberInput.Button>
Expand All @@ -27,7 +27,7 @@ export const NumberInputComponent = () => {
<NumberInput.Button>
<Minus size={16} color="#455468" />
</NumberInput.Button>
<NumberInput.Input defaultValue={12} />
<NumberInput.Input defaultValue={0} />
<NumberInput.Button>
<Plus size={16} color="#455468" />
</NumberInput.Button>
Expand Down
50 changes: 0 additions & 50 deletions app/docs/components/play/Play.mdx

This file was deleted.

44 changes: 0 additions & 44 deletions app/docs/components/play/PlayApi.ts

This file was deleted.

7 changes: 0 additions & 7 deletions app/docs/components/play/index.tsx

This file was deleted.

19 changes: 0 additions & 19 deletions app/docs/components/play/page.tsx

This file was deleted.

37 changes: 0 additions & 37 deletions app/docs/components/play/variant/CustomizePlay.tsx

This file was deleted.

33 changes: 0 additions & 33 deletions app/docs/components/play/variant/DefaultPlay.tsx

This file was deleted.

57 changes: 0 additions & 57 deletions app/docs/components/play/variant/PlayColorVariant.tsx

This file was deleted.

Loading

0 comments on commit 690b547

Please sign in to comment.