Skip to content

Commit

Permalink
Updated: Number Input Updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arifulislam5577 committed Feb 26, 2024
1 parent e78994e commit 435a64c
Show file tree
Hide file tree
Showing 53 changed files with 455 additions and 2,547 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"css.lint.unknownAtRules": "ignore",
"cSpell.words": ["Nuxt"]
"cSpell.words": ["embla", "Nuxt"]
}
46 changes: 2 additions & 44 deletions app/components/ComponentsList.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use client'
import { CloudArrowUp, DotsThree, HouseLine, Phone, SignIn, User } from 'phosphor-react'
import { ChangeEvent, useState } from 'react'
import { useState } from 'react'
import { CustomizedBarSizeWithAxisData } from '../docs/components/barChart/variant/CustomizedBarSizeWithAxisData'
import { DefaultRadio } from '../docs/components/radio/variant/DefaultRadio'
import { Button, CheckboxGroup, DatePicker, Modal, Pagination, Slider, Tabs, Tooltip } from '../src'
import { Button, DatePicker, Modal, Pagination, Slider, Tabs, Tooltip } from '../src'

export const SliderComponent = () => {
return (
Expand Down Expand Up @@ -57,48 +57,6 @@ export const BarChartComponent = () => {
</div>
)
}
export const CheckboxGroupComponent = () => {
const [selected, setSelected] = useState('')
const handleOptionChange = (e: ChangeEvent<HTMLInputElement>) => {
setSelected(e.target.value)
}
return (
<div className="scale-50">
<form className="space-y-4 p-5">
<CheckboxGroup
title="Paypal"
description="Payment with paypal and get 10% discount"
checkboxType="circle"
img="/images/company/paypal.png"
imgShape="circle"
value="paypal"
selected={selected}
onOptionChange={handleOptionChange}
/>
<CheckboxGroup
title="Stripe"
description="Payment with stripe and get 10% discount"
checkboxType="circle"
img="/images/company/stripe.png"
imgShape="circle"
value="stripe"
selected={selected}
onOptionChange={handleOptionChange}
/>
<CheckboxGroup
title="Visa"
description="Payment with Visa and get 10% discount"
checkboxType="circle"
img="/images/company/Visa.png"
imgShape="circle"
value="Visa"
selected={selected}
onOptionChange={handleOptionChange}
/>
</form>
</div>
)
}
export const DatePickerComponent = () => {
return (
<div className="mx-auto flex w-3/5 scale-75">
Expand Down
4 changes: 2 additions & 2 deletions app/docs/components/accordion/variant/DefaultAccordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const DefaultAccordion = () => {
<Accordion>
<Accordion.Panel>
<Accordion.Container>
<Accordion.Title>Q. What is the of the Keep React?</Accordion.Title>
<Accordion.Title>Q. What is the purpose of the Keep React?</Accordion.Title>
<Accordion.Icon />
</Accordion.Container>
<Accordion.Content>
Expand All @@ -28,7 +28,7 @@ export const AccordionComponent = () => {
<Accordion>
<Accordion.Panel>
<Accordion.Container>
<Accordion.Title>Q. What is the of the Keep React?</Accordion.Title>
<Accordion.Title>Q. What is the purpose of the Keep React?</Accordion.Title>
<Accordion.Icon />
</Accordion.Container>
<Accordion.Content>
Expand Down
69 changes: 0 additions & 69 deletions app/docs/components/checkboxGroup/CheckboxGroup.mdx

This file was deleted.

93 changes: 0 additions & 93 deletions app/docs/components/checkboxGroup/CheckboxGroupApi.ts

This file was deleted.

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

This file was deleted.

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

This file was deleted.

113 changes: 0 additions & 113 deletions app/docs/components/checkboxGroup/variant/CheckboxGroupWithAvatar.tsx

This file was deleted.

Loading

0 comments on commit 435a64c

Please sign in to comment.