Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Commit 78b5476

Browse files
committed
update version
1 parent 74f4cc9 commit 78b5476

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@types/react-dom": "18.0.11",
1515
"eslint": "8.35.0",
1616
"eslint-config-next": "13.2.3",
17-
"jb-date-input-react": "^2.0.5",
17+
"jb-date-input-react": "^2.0.6",
1818
"next": "13.2.3",
1919
"react": "18.2.0",
2020
"react-dom": "18.2.0",

docs/src/components/samples/Samples.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { JBDateInputValueObject } from 'jb-date-input/dist/Types';
22
import React from 'react';
33
import { FormalTheme, SamplesSectionWrapper, SamplesTitle } from './styled';
44
import dynamic from 'next/dynamic';
5+
import { InputTypes } from 'jb-date-input';
56
const JBDateInput = dynamic(() => import('jb-date-input-react').then(module => module.default), {
67
ssr: false,
78
});
@@ -28,13 +29,12 @@ function Samples() {
2829
Samples
2930
</SamplesTitle>
3031
<JBDateInput label="simple date:"></JBDateInput>
31-
<JBDateInput label="with under box message:" message="here you can hint user"></JBDateInput>
3232
<JBDateInput label="with persian number" usePersianNumber={true}></JBDateInput>
3333
<JBDateInput label="with default value:" value="2020-08-10T08:51:23.176Z"></JBDateInput>
3434
<JBDateInput label="with min and max value:" value="2020-08-10T08:51:23.176Z" min="2020-08-05T08:51:23.176Z" max="2020-08-15T08:51:23.176Z"></JBDateInput>
3535
<JBDateInput label="with validation" validationList={validationList}></JBDateInput>
3636
<JBDateInput label="gregorian date:" inputType="GREGORIAN"></JBDateInput>
37-
<JBDateInput label="with default opened calendar date" inputType="JALALI" calendarDefaultDateView={{ year: 1350, month: 3 }}></JBDateInput>
37+
<JBDateInput label="with default opened calendar date" inputType="JALALI" calendarDefaultDateView={{ year: 1350, month: 3, dateType:InputTypes.jalali }}></JBDateInput>
3838
<JBDateInput label="with custom icon">
3939
<div slot="calendar-trigger-icon">
4040
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" viewBox="0 0 610.398 610.398">

0 commit comments

Comments
 (0)