├── .github └── workflows │ └── nextjs.yml ├── .gitignore ├── .npmignore ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── docs ├── .babelrc ├── .eslintrc.json ├── .gitignore ├── README.md ├── next.config.js ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── next.svg │ ├── thirteen.svg │ └── vercel.svg ├── src │ ├── components │ │ ├── about-section │ │ │ ├── AboutSection.tsx │ │ │ └── styled.ts │ │ ├── installation │ │ │ ├── Installation.tsx │ │ │ └── styled.ts │ │ ├── intro-section │ │ │ ├── IntroSection.tsx │ │ │ └── styled.ts │ │ └── samples │ │ │ ├── Samples.tsx │ │ │ └── styled.ts │ ├── fonts │ │ ├── Quicksand │ │ │ └── Quicksand-VariableFont_wght.ttf │ │ ├── Vazir │ │ │ ├── Vazirmatn[wght].ttf │ │ │ └── Vazirmatn[wght].woff2 │ │ └── font.ts │ ├── pages │ │ ├── _app.tsx │ │ ├── _document.tsx │ │ ├── api │ │ │ └── hello.ts │ │ └── index.tsx │ ├── styles │ │ └── globals.css │ ├── types │ │ └── fonts.d.ts │ └── utils │ │ └── helpers │ │ └── layout-helper.ts └── tsconfig.json ├── index.js ├── lib └── JBDateInput.tsx ├── package.json ├── tsconfig.json └── workflows └── nextjs.yml /.github/workflows/nextjs.yml: -------------------------------------------------------------------------------- 1 | # Sample workflow for building and deploying a Next.js site to GitHub Pages 2 | # 3 | # To get started with Next.js see: https://nextjs.org/docs/getting-started 4 | # 5 | name: Deploy Next.js site to Pages 6 | on: 7 | # Runs on pushes targeting the default branch 8 | push: 9 | branches: ["main"] 10 | 11 | # Allows you to run this workflow manually from the Actions tab 12 | workflow_dispatch: 13 | 14 | # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages 15 | permissions: 16 | contents: read 17 | pages: write 18 | id-token: write 19 | 20 | # Allow one concurrent deployment 21 | concurrency: 22 | group: "pages" 23 | cancel-in-progress: true 24 | 25 | jobs: 26 | # Build job 27 | build: 28 | runs-on: ubuntu-latest 29 | defaults: 30 | run: 31 | working-directory: ./docs 32 | steps: 33 | - name: Checkout 34 | uses: actions/checkout@v3 35 | - name: see file list 36 | run: | 37 | ls 38 | - name: Detect package manager 39 | id: detect-package-manager 40 | run: | 41 | if [ -f "${{ github.workspace }}/yarn.lock" ]; then 42 | echo "manager=yarn" >> $GITHUB_OUTPUT 43 | echo "command=install" >> $GITHUB_OUTPUT 44 | echo "runner=yarn" >> $GITHUB_OUTPUT 45 | exit 0 46 | elif [ -f "${{ github.workspace }}/package.json" ]; then 47 | echo "manager=npm" >> $GITHUB_OUTPUT 48 | echo "command=ci" >> $GITHUB_OUTPUT 49 | echo "runner=npx --no-install" >> $GITHUB_OUTPUT 50 | exit 0 51 | else 52 | echo "Unable to determine packager manager" 53 | exit 1 54 | fi 55 | - name: Setup Node 56 | uses: actions/setup-node@v3 57 | with: 58 | node-version: "16" 59 | cache: ${{ steps.detect-package-manager.outputs.manager }} 60 | cache-dependency-path: ./docs/package-lock.json 61 | - name: Setup Pages 62 | uses: actions/configure-pages@v2 63 | with: 64 | # Automatically inject basePath in your Next.js configuration file and disable 65 | # server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized). 66 | # 67 | # You may remove this line if you want to manage the configuration yourself. 68 | static_site_generator: next 69 | - name: Restore cache 70 | uses: actions/cache@v3 71 | with: 72 | path: | 73 | .next/cache 74 | # Generate a new cache whenever packages or source files change. 75 | key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} 76 | # If source files changed but packages didn't, rebuild from a prior cache. 77 | restore-keys: | 78 | ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}- 79 | - name: Install dependencies 80 | run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }} 81 | - name: Build with Next.js 82 | run: ${{ steps.detect-package-manager.outputs.runner }} next build 83 | - name: Static HTML export with Next.js 84 | run: ${{ steps.detect-package-manager.outputs.runner }} next export 85 | - name: Upload artifact 86 | uses: actions/upload-pages-artifact@v1 87 | with: 88 | path: ./docs/out 89 | 90 | # Deployment job 91 | deploy: 92 | environment: 93 | name: github-pages 94 | url: ${{ steps.deployment.outputs.page_url }} 95 | runs-on: ubuntu-latest 96 | needs: build 97 | steps: 98 | - name: Deploy to GitHub Pages 99 | id: deployment 100 | uses: actions/deploy-pages@v1 101 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | docs/ -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | #changelog 2 | ## [3.0.0] - 2024-7-2 3 | ### Breaking changes: 4 | - refactor validation to standard jb design system validation tool 5 | - disable overflow handler by default add add `overflowHandler` prop so user can enable it when needed 6 | 7 | ## [2.6.2] - 2024-2-20 8 | ### fixed 9 | - - fix value change on arrow key. move it from base on `valueType` to base on `inputType` due to month and day boundary validation 10 | ## [2.6.1] - 2024-2-20 11 | ### fixed 12 | - fix optional value 13 | ## [2.6.0] - 2024-2-20 14 | ### new features 15 | - add `gregorianMonthList` and `jalaliMonthList` prop to easily customize month names. 16 | ## [2.4.0] - 2023-11-12 17 | ### new features 18 | - add Date to valid type for min & max date restriction input 19 | ## [2.3.0] - 2023-11-12 20 | ### new features 21 | - add placeholder support when input is empty 22 | ## [2.2.0] - 2023-10-20 23 | ### new features 24 | - add support for `Date` type value 25 | ## [2.1.1] - 2023-10-17 26 | ### fixed 27 | - fix value PropType to accept `null` value type 28 | ## [2.1.0] - 2023-3-7 29 | ### new features 30 | - add `JBDateInputEventType` to event type for better event.target detection in typescript 31 | ## [2.0.21] - 2023-3-30 32 | ### fixed 33 | - fix mandatory React children props 34 | ## [2.0.20] - 2023-3-30 35 | ### fixed 36 | - fix trigger button bug by updating jb-date-input to v3.7.13 37 | ## [2.0.2] - 2023-3-8 38 | ### fixed 39 | - fix typescript problems 40 | ## [2.0.0] - 2023-3-7 41 | ### new features 42 | - convert to typescript 43 | ## [1.8.0] - 2023-3-7 44 | ### new features 45 | - add auto detect for page rtl or ltr direction. 46 | ### fixed 47 | - fix swipe direction base on page direction in rtl pages. 48 | 49 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | We as members, contributors, and leaders pledge to make participation in our 6 | community a harassment-free experience for everyone, regardless of age, body 7 | size, visible or invisible disability, ethnicity, sex characteristics, gender 8 | identity and expression, level of experience, education, socio-economic status, 9 | nationality, personal appearance, race, religion, or sexual identity 10 | and orientation. 11 | 12 | We pledge to act and interact in ways that contribute to an open, welcoming, 13 | diverse, inclusive, and healthy community. 14 | 15 | ## Our Standards 16 | 17 | Examples of behavior that contributes to a positive environment for our 18 | community include: 19 | 20 | * Demonstrating empathy and kindness toward other people 21 | * Being respectful of differing opinions, viewpoints, and experiences 22 | * Giving and gracefully accepting constructive feedback 23 | * Accepting responsibility and apologizing to those affected by our mistakes, 24 | and learning from the experience 25 | * Focusing on what is best not just for us as individuals, but for the 26 | overall community 27 | 28 | Examples of unacceptable behavior include: 29 | 30 | * The use of sexualized language or imagery, and sexual attention or 31 | advances of any kind 32 | * Trolling, insulting or derogatory comments, and personal or political attacks 33 | * Public or private harassment 34 | * Publishing others' private information, such as a physical or email 35 | address, without their explicit permission 36 | * Other conduct which could reasonably be considered inappropriate in a 37 | professional setting 38 | 39 | ## Enforcement Responsibilities 40 | 41 | Community leaders are responsible for clarifying and enforcing our standards of 42 | acceptable behavior and will take appropriate and fair corrective action in 43 | response to any behavior that they deem inappropriate, threatening, offensive, 44 | or harmful. 45 | 46 | Community leaders have the right and responsibility to remove, edit, or reject 47 | comments, commits, code, wiki edits, issues, and other contributions that are 48 | not aligned to this Code of Conduct, and will communicate reasons for moderation 49 | decisions when appropriate. 50 | 51 | ## Scope 52 | 53 | This Code of Conduct applies within all community spaces, and also applies when 54 | an individual is officially representing the community in public spaces. 55 | Examples of representing our community include using an official e-mail address, 56 | posting via an official social media account, or acting as an appointed 57 | representative at an online or offline event. 58 | 59 | ## Enforcement 60 | 61 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 62 | reported to the community leaders responsible for enforcement at 63 | . 64 | All complaints will be reviewed and investigated promptly and fairly. 65 | 66 | All community leaders are obligated to respect the privacy and security of the 67 | reporter of any incident. 68 | 69 | ## Enforcement Guidelines 70 | 71 | Community leaders will follow these Community Impact Guidelines in determining 72 | the consequences for any action they deem in violation of this Code of Conduct: 73 | 74 | ### 1. Correction 75 | 76 | **Community Impact**: Use of inappropriate language or other behavior deemed 77 | unprofessional or unwelcome in the community. 78 | 79 | **Consequence**: A private, written warning from community leaders, providing 80 | clarity around the nature of the violation and an explanation of why the 81 | behavior was inappropriate. A public apology may be requested. 82 | 83 | ### 2. Warning 84 | 85 | **Community Impact**: A violation through a single incident or series 86 | of actions. 87 | 88 | **Consequence**: A warning with consequences for continued behavior. No 89 | interaction with the people involved, including unsolicited interaction with 90 | those enforcing the Code of Conduct, for a specified period of time. This 91 | includes avoiding interactions in community spaces as well as external channels 92 | like social media. Violating these terms may lead to a temporary or 93 | permanent ban. 94 | 95 | ### 3. Temporary Ban 96 | 97 | **Community Impact**: A serious violation of community standards, including 98 | sustained inappropriate behavior. 99 | 100 | **Consequence**: A temporary ban from any sort of interaction or public 101 | communication with the community for a specified period of time. No public or 102 | private interaction with the people involved, including unsolicited interaction 103 | with those enforcing the Code of Conduct, is allowed during this period. 104 | Violating these terms may lead to a permanent ban. 105 | 106 | ### 4. Permanent Ban 107 | 108 | **Community Impact**: Demonstrating a pattern of violation of community 109 | standards, including sustained inappropriate behavior, harassment of an 110 | individual, or aggression toward or disparagement of classes of individuals. 111 | 112 | **Consequence**: A permanent ban from any sort of public interaction within 113 | the community. 114 | 115 | ## Attribution 116 | 117 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], 118 | version 2.0, available at 119 | https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. 120 | 121 | Community Impact Guidelines were inspired by [Mozilla's code of conduct 122 | enforcement ladder](https://github.com/mozilla/diversity). 123 | 124 | [homepage]: https://www.contributor-covenant.org 125 | 126 | For answers to common questions about this code of conduct, see the FAQ at 127 | https://www.contributor-covenant.org/faq. Translations are available at 128 | https://www.contributor-covenant.org/translations. 129 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 javad 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # jb-date-input-react 2 | 3 | [![GitHub license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://raw.githubusercontent.com/javadbat/jb-date-input-react/master/LICENSE) 4 | [![NPM Downloads](https://img.shields.io/npm/dw/jb-date-input-react)](https://www.npmjs.com/package/jb-date-input-react) 5 | 6 | > [!WARNING] 7 | > this package is deprecated and moved to [jb-date-input/react](https://github.com/javadbat/jb-date-input/tree/main/react) 8 | 9 | react component date input (picker) to get date (jalali & gregorian) from user. 10 | this component is a simple react component that use [jb-date-input](https://github.com/javadbat/jb-date-input) inside and its just a simple wrapper for it so i suggest you to read jb-date-input document too for more updated document. 11 | 12 | - support jalali date as well as gregorian date 13 | 14 | - support keyboard arrow key and fast date input with keyboard 15 | 16 | - customizable style with css variables 17 | 18 | - can set min and max date value 19 | 20 | - web component so it can be used in every framework and even purejs project 21 | 22 | - responsive and mobile friendly (support swipe in touch devices and handle virtual keyboard) 23 | 24 | - support typescript 25 | 26 | - good typing experience for desktop user 27 | 28 | - it use your page font by default. 29 | 30 | - customizable month names so you can change it for afghan or any other locals 31 | 32 | - have 3 value type so you can get inputted value in gregorian, jalali or timestamp base on your project need 33 | 34 | - customizable value format so you can get your value in standard iso format or custom format like `1400/12/08` or `1400_12_08` 35 | 36 | - support `esm` import build for modern `ECMA Script` nodejs app. 37 | 38 | Demo & Sample 39 | in github: 40 | in codepen: 41 | in codeSandBox: [codeSandbox preview](https://3f63dj.csb.app/samples/jb-date-input) for just see the demo and [codeSandbox editor](https://codesandbox.io/p/sandbox/jb-design-system-3f63dj?file=%2Fsrc%2Fsamples%2FJBDateInput.tsx) if you want to see and play with code 42 | 43 | ## instructions 44 | 45 | ### getting started 46 | 47 | #### using npm 48 | 49 | 1- install package: 50 | 51 | ```command 52 | npm i jb-date-input-react 53 | ``` 54 | 55 | 2- import package in your jsx file: 56 | 57 | ```js 58 | import {JBDateInput} from 'jb-date-input-react'; 59 | ``` 60 | 61 | 3- use it in your jsx file like any other tag: 62 | 63 | ```jsx 64 | 65 | ``` 66 | 67 | ## format 68 | 69 | default format of date input is 'YYYY-MM-DDTHH:mm:ss.SSS[Z]' that compatible and exact format of `new Date().toISOString()` 70 | you can change it however you need and `[Z]` mean the exact Z character that used in ISO standard format `YYYY-MM-DDTHH:mm:ss.SSSZ[Z]` => `2012-06-21T00:00:00.000+3:30Z` 71 | you can change format by format attribute: 72 | 73 | ```jsx 74 | 75 | 76 | 77 | ``` 78 | 79 | ## valueType 80 | 81 | we have 3 value type: 82 | 83 | ```jsx 84 | 85 | 86 | 87 | ``` 88 | 89 | ## min and max date limit 90 | 91 | you can set minimum date and maximum date range for your app in string or Date type 92 | 93 | ```jsx 94 | 95 | 96 | ``` 97 | ## placeholder 98 | 99 | you can set placeholder to show it to user when input is empty. to doing so just set `placeholder` attribute in JSX DOM: 100 | 101 | ```jsx 102 | 103 | 104 | ``` 105 | ## custom validation 106 | 107 | beside of min and max you can also set your own custom validation like any other jb react components family to achive this you must create a array of validations and pass it to validationList props. 108 | 109 | ```js 110 | const validationList = [ 111 | { 112 | validator:/^13.*$/g, 113 | message:'تاریخ باید تنها در قرن 13 شمسی باشد' 114 | }, 115 | { 116 | validator:({text, inputObject, valueObject, valueText})=>{ 117 | //you can use raw imputed text or formatted text in expected value in arguments 118 | //you have access to both jalali and gregorian date object here in valueObject 119 | //inputObject is a object contain imputed day & month & year unprocessed base on format so it have value before date imputed completely 120 | // remember valueObject and valueText are both empty and null when date is incomplete 121 | //if you want to validate incomplete date you can use inputText 122 | return valueObject.jalali.day == 15; 123 | }, 124 | message:'باید تاریخ حتما 15 ماه انتخاب شود' 125 | } 126 | ]; 127 | 128 | ``` 129 | ```jsx 130 | 131 | ``` 132 | 133 | 134 | remember your min and max date must be in the same format and valueType of your value. 135 | to trigger validation and check is the element has a valid value: 136 | 137 | ```jsx 138 | // if in triggerInputValidation(showError) show error was false, in case of error,component wont show the error itself and the function will return if the data is valid or not 139 | const MyForm = (props) => { 140 | 141 | const dateElementRef = useRef(null); 142 | const [validationResult, setValidationResult] = useState(); 143 | return( 144 |
145 | 146 | 147 | 148 |
149 | ) 150 | }; 151 | 152 | ``` 153 | 154 | ## events 155 | - onSelect 156 | ```js 157 | {console.log(event.target.value)}}> 158 | ``` 159 | - onChange 160 | ```js 161 | {console.log(event.target.value)}}> 162 | ``` 163 | 164 | - onKeyup 165 | ```js 166 | {console.log(event.target.value)}}> 167 | ``` 168 | 169 | ## date input type 170 | 171 | jb-calendar support both jalali and gregorian(miladi) calendar input type. like value-type that let you determine how you want to provide/expect data to/from JBDateInput you can specify how user must fill the date input. 172 | to achive this you have to set `inputType` props or set `inputType` object to component directly using your elements ref. 173 | to set it as props you can set value like this: 174 | 175 | ```jsx 176 | 177 | 178 | ``` 179 | and for doing it with direct DOM assignment you can use following js code: 180 | 181 | ```js 182 | //to show gregorian calendar 183 | const elementRef = React.createRef(); 184 | //set ref to element ... 185 | elementRef.current.inputType = "GREGORIAN" 186 | elementRef.current.inputType = "JALALI" 187 | ``` 188 | ## set default date for calendar when opened 189 | 190 | when date input value is empty we show today year and month in opened calendar by default but you can change it to another date. for example you want user fill they birthdate you can set it to 20 years ago so user can pick his/her birthday easier and faster. to doing so all you have to do is to use `calendarDefaultDateView`function like this: 191 | 192 | ```jsx 193 | 194 | ``` 195 | ## show persian number 196 | if you want to show persian number instead of English number char you just have to set `showPersianNumber` prop like this: 197 | ```jsx 198 | 199 | ``` 200 | ## customize calendar button trigger 201 | 202 | you can change calendar icon base on your own need to doing so you just have to put your custom html inside the react component with `slot="calendar-trigger-icon"` like below: 203 | 204 | ```jsx 205 | 206 |
207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 |
225 |
226 | ``` 227 | ## Change Month List 228 | 229 | you may want to change the default month list for both of Jalali and Gregorian calendars base on your country month labels. here how you can do it: 230 | 231 | ```jsx 232 | document.querySelector('jb-date-input').setMonthList('GREGORIAN',['1','2','3','4','5','6','7','8','9','10','11','12']); 233 | 234 | 235 | ``` 236 | ## overflow handler 237 | 238 | sometimes you place date input inside modal or end of the pages so when user open the input picker it overflow the page and some part of picker will be invisible. 239 | to fix this we add a feature called `overflowHandler` by set this to `SLIDE` the picker will move, on mouse enter it's territory so user can easily pick date 240 | ```jsx 241 | 242 | //if you want to check your overflow base on another dom and not window for example when you put date input in a modal 243 |
244 | 245 |
246 | ``` 247 | 248 | ### set custom style 249 | 250 | in some cases in your project you need to change defualt style of react-component for example you need zero margin or different border-radius and etc. 251 | if you want to set a custom style to this react-component all you need is to set css variable in parent scope of react-component. 252 | #### usage example: 253 | 254 | ```css 255 | body{ 256 | /* if you need more margin */ 257 | --jb-date-input-margin: 16px 32px 258 | /* if you dont waant rounded corner */ 259 | --jb-date-input-border-radius:0px; 260 | /* if you want different text color*/ 261 | --jb-date-input-value-color:red; 262 | } 263 | ``` 264 | #### variable list 265 | this list may be outdated so i suggest you to read [jb-date-input](https://github.com/javadbat/jb-date-input) doc for more updated list of styles 266 | 267 | | css variable name | description | 268 | | ------------- | ------------- | 269 | | --jb-date-input-margin | web-component margin default is `0 12px` | 270 | | --jb-date-input-border-radius | web-component border-radius default is `16px` | 271 | | --jb-date-input-border-color | border color of select in normal mode | 272 | | --jb-date-input-border-color-focus | border color when user focus on input | 273 | | --jb-date-input-bgcolor | background color of input | 274 | | --jb-date-input-message-box-display | default is block but if you set it to none message box will be hidden | 275 | | --jb-date-input-message-box-color | change color of message under box | 276 | | --jb-date-input-message-box-color-error | change color of message under box | 277 | | --jb-date-input-message-box-font-size | font-size of message box under the input box | 278 | | --jb-date-input-message-box-font-weight | font-weight of message box under the input box | 279 | | --jb-date-input-message-box-padding | font-size of message box under the input box | 280 | | --jb-date-input-text-align | text align of input | 281 | | --jb-date-input-box-height | height of input box | 282 | | --jb-date-input-border-width | general border width default is `1px` | 283 | | --jb-date-input-border-bottom-width | border bottom width default is `3px` | 284 | | --jb-date-input-label-font-size | font size of date input label default is `0.8em` | 285 | | --jb-date-input-label-margin | change label margin default is `0 4px` | 286 | | --jb-date-input-label-weight | label font-weight default is normal | 287 | | --jb-date-input-placeholder-color | input placeholder color default is `initial` | 288 | | --jb-date-input-placeholder-font-size | place holder font size default is `1.1em` | 289 | | --jb-date-input-value-color | date input value color default is `#1f1735` | 290 | | --jb-date-input-value-font-size | date input value font-size | 291 | | --jb-date-input-calender-wrapper-bg-color | calender background color default color is `#fff` | 292 | | --jb-date-input-calendar-wrapper-z-index | opend calendar `z-index` is `10` but you can change it to number you want | 293 | | --jb-date-input-calender-wrapper-border-radius| calendar border radius default is `24px` | 294 | | --jb-date-input-input-margin | input margin default is `4px 0` | 295 | | --jb-date-input-box-shadow | input box-shadow default is none | 296 | | --jb-date-input-box-shadow-focus | input box-shadow when input is focused default is none | 297 | 298 | 299 | ## add custom element in input box 300 | 301 | in jb-input you can put icon or any other custom html DOM in input box. to doing so you just have to place custom element in `JBDateInput` tag and add `slot="start-section"` or `slot="end-section"` to place it before or after input field. 302 | ```jsx 303 | 304 |
after
305 |
before
306 |
307 | ``` 308 | 309 | ## Other Related Docs: 310 | 311 | - see [jb-date-input](https://github.com/javadbat/jb-date-input) if you want to use this component as a web-component 312 | 313 | - see [All JB Design system Component List](https://github.com/javadbat/design-system/blob/master/docs/component-list.md) for more components 314 | 315 | - use [Contribution Guide](https://github.com/javadbat/design-system/blob/master/docs/contribution-guide.md) if you want to contribute in this component. -------------------------------------------------------------------------------- /docs/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["next/babel"], 3 | "plugins": [["styled-components", { "ssr": true, "displayName": true }]] 4 | } -------------------------------------------------------------------------------- /docs/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals", 3 | "rules": { 4 | "indent": ["warn", 2] 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # next.js 12 | /.next/ 13 | /out/ 14 | 15 | # production 16 | /build 17 | 18 | # misc 19 | .DS_Store 20 | *.pem 21 | 22 | # debug 23 | npm-debug.log* 24 | yarn-debug.log* 25 | yarn-error.log* 26 | .pnpm-debug.log* 27 | 28 | # local env files 29 | .env*.local 30 | 31 | # vercel 32 | .vercel 33 | 34 | # typescript 35 | *.tsbuildinfo 36 | next-env.d.ts 37 | -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- 1 | This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). 2 | 3 | ## Getting Started 4 | 5 | First, run the development server: 6 | 7 | ```bash 8 | npm run dev 9 | # or 10 | yarn dev 11 | # or 12 | pnpm dev 13 | ``` 14 | 15 | Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. 16 | 17 | You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. 18 | 19 | [API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`. 20 | 21 | The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. 22 | 23 | This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. 24 | 25 | ## Learn More 26 | 27 | To learn more about Next.js, take a look at the following resources: 28 | 29 | - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. 30 | - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. 31 | 32 | You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! 33 | 34 | ## Deploy on Vercel 35 | 36 | The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. 37 | 38 | Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. 39 | -------------------------------------------------------------------------------- /docs/next.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('next').NextConfig} */ 2 | const nextConfig = { 3 | reactStrictMode: true, 4 | basePath: '/jb-date-input-react', 5 | webpack: (config, options) => { 6 | config.module.rules.push({ 7 | test: /\.(eot|woff|woff2|ttf)([\?]?.*)$/, 8 | type: 'asset/resource', 9 | }); 10 | 11 | return config 12 | }, 13 | } 14 | 15 | module.exports = nextConfig 16 | -------------------------------------------------------------------------------- /docs/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jb-date-input-demo", 3 | "version": "0.1.0", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "jb-date-input-demo", 9 | "version": "0.1.0", 10 | "dependencies": { 11 | "@types/node": "18.14.6", 12 | "@types/react": "18.0.28", 13 | "@types/react-dom": "18.0.11", 14 | "eslint": "8.35.0", 15 | "eslint-config-next": "13.2.3", 16 | "jb-calendar": "^4.0.3", 17 | "jb-date-input": "^3.13.0", 18 | "jb-date-input-react": "^5.0.0", 19 | "next": "13.2.3", 20 | "react": "18.2.0", 21 | "react-dom": "18.2.0", 22 | "react-syntax-highlighter": "^15.5.0", 23 | "styled-breakpoints": "^11.1.1", 24 | "styled-components": "^5.3.8", 25 | "typescript": "4.9.5" 26 | }, 27 | "devDependencies": { 28 | "@types/react-syntax-highlighter": "^15.5.6", 29 | "@types/styled-components": "^5.1.26", 30 | "babel-plugin-styled-components": "^2.0.7" 31 | } 32 | }, 33 | "node_modules/@babel/code-frame": { 34 | "version": "7.18.6", 35 | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", 36 | "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", 37 | "dependencies": { 38 | "@babel/highlight": "^7.18.6" 39 | }, 40 | "engines": { 41 | "node": ">=6.9.0" 42 | } 43 | }, 44 | "node_modules/@babel/generator": { 45 | "version": "7.21.1", 46 | "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.21.1.tgz", 47 | "integrity": "sha512-1lT45bAYlQhFn/BHivJs43AiW2rg3/UbLyShGfF3C0KmHvO5fSghWd5kBJy30kpRRucGzXStvnnCFniCR2kXAA==", 48 | "dependencies": { 49 | "@babel/types": "^7.21.0", 50 | "@jridgewell/gen-mapping": "^0.3.2", 51 | "@jridgewell/trace-mapping": "^0.3.17", 52 | "jsesc": "^2.5.1" 53 | }, 54 | "engines": { 55 | "node": ">=6.9.0" 56 | } 57 | }, 58 | "node_modules/@babel/helper-annotate-as-pure": { 59 | "version": "7.18.6", 60 | "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz", 61 | "integrity": "sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==", 62 | "dependencies": { 63 | "@babel/types": "^7.18.6" 64 | }, 65 | "engines": { 66 | "node": ">=6.9.0" 67 | } 68 | }, 69 | "node_modules/@babel/helper-environment-visitor": { 70 | "version": "7.18.9", 71 | "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz", 72 | "integrity": "sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==", 73 | "engines": { 74 | "node": ">=6.9.0" 75 | } 76 | }, 77 | "node_modules/@babel/helper-function-name": { 78 | "version": "7.21.0", 79 | "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.21.0.tgz", 80 | "integrity": "sha512-HfK1aMRanKHpxemaY2gqBmL04iAPOPRj7DxtNbiDOrJK+gdwkiNRVpCpUJYbUT+aZyemKN8brqTOxzCaG6ExRg==", 81 | "dependencies": { 82 | "@babel/template": "^7.20.7", 83 | "@babel/types": "^7.21.0" 84 | }, 85 | "engines": { 86 | "node": ">=6.9.0" 87 | } 88 | }, 89 | "node_modules/@babel/helper-hoist-variables": { 90 | "version": "7.18.6", 91 | "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz", 92 | "integrity": "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==", 93 | "dependencies": { 94 | "@babel/types": "^7.18.6" 95 | }, 96 | "engines": { 97 | "node": ">=6.9.0" 98 | } 99 | }, 100 | "node_modules/@babel/helper-module-imports": { 101 | "version": "7.18.6", 102 | "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz", 103 | "integrity": "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==", 104 | "dependencies": { 105 | "@babel/types": "^7.18.6" 106 | }, 107 | "engines": { 108 | "node": ">=6.9.0" 109 | } 110 | }, 111 | "node_modules/@babel/helper-split-export-declaration": { 112 | "version": "7.18.6", 113 | "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz", 114 | "integrity": "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==", 115 | "dependencies": { 116 | "@babel/types": "^7.18.6" 117 | }, 118 | "engines": { 119 | "node": ">=6.9.0" 120 | } 121 | }, 122 | "node_modules/@babel/helper-string-parser": { 123 | "version": "7.19.4", 124 | "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz", 125 | "integrity": "sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==", 126 | "engines": { 127 | "node": ">=6.9.0" 128 | } 129 | }, 130 | "node_modules/@babel/helper-validator-identifier": { 131 | "version": "7.19.1", 132 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", 133 | "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", 134 | "engines": { 135 | "node": ">=6.9.0" 136 | } 137 | }, 138 | "node_modules/@babel/highlight": { 139 | "version": "7.18.6", 140 | "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", 141 | "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", 142 | "dependencies": { 143 | "@babel/helper-validator-identifier": "^7.18.6", 144 | "chalk": "^2.0.0", 145 | "js-tokens": "^4.0.0" 146 | }, 147 | "engines": { 148 | "node": ">=6.9.0" 149 | } 150 | }, 151 | "node_modules/@babel/highlight/node_modules/ansi-styles": { 152 | "version": "3.2.1", 153 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 154 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 155 | "dependencies": { 156 | "color-convert": "^1.9.0" 157 | }, 158 | "engines": { 159 | "node": ">=4" 160 | } 161 | }, 162 | "node_modules/@babel/highlight/node_modules/chalk": { 163 | "version": "2.4.2", 164 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", 165 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", 166 | "dependencies": { 167 | "ansi-styles": "^3.2.1", 168 | "escape-string-regexp": "^1.0.5", 169 | "supports-color": "^5.3.0" 170 | }, 171 | "engines": { 172 | "node": ">=4" 173 | } 174 | }, 175 | "node_modules/@babel/highlight/node_modules/color-convert": { 176 | "version": "1.9.3", 177 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", 178 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", 179 | "dependencies": { 180 | "color-name": "1.1.3" 181 | } 182 | }, 183 | "node_modules/@babel/highlight/node_modules/color-name": { 184 | "version": "1.1.3", 185 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 186 | "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" 187 | }, 188 | "node_modules/@babel/highlight/node_modules/escape-string-regexp": { 189 | "version": "1.0.5", 190 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 191 | "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", 192 | "engines": { 193 | "node": ">=0.8.0" 194 | } 195 | }, 196 | "node_modules/@babel/highlight/node_modules/has-flag": { 197 | "version": "3.0.0", 198 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 199 | "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", 200 | "engines": { 201 | "node": ">=4" 202 | } 203 | }, 204 | "node_modules/@babel/highlight/node_modules/supports-color": { 205 | "version": "5.5.0", 206 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 207 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 208 | "dependencies": { 209 | "has-flag": "^3.0.0" 210 | }, 211 | "engines": { 212 | "node": ">=4" 213 | } 214 | }, 215 | "node_modules/@babel/parser": { 216 | "version": "7.21.2", 217 | "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.2.tgz", 218 | "integrity": "sha512-URpaIJQwEkEC2T9Kn+Ai6Xe/02iNaVCuT/PtoRz3GPVJVDpPd7mLo+VddTbhCRU9TXqW5mSrQfXZyi8kDKOVpQ==", 219 | "bin": { 220 | "parser": "bin/babel-parser.js" 221 | }, 222 | "engines": { 223 | "node": ">=6.0.0" 224 | } 225 | }, 226 | "node_modules/@babel/runtime": { 227 | "version": "7.21.0", 228 | "license": "MIT", 229 | "dependencies": { 230 | "regenerator-runtime": "^0.13.11" 231 | }, 232 | "engines": { 233 | "node": ">=6.9.0" 234 | } 235 | }, 236 | "node_modules/@babel/template": { 237 | "version": "7.20.7", 238 | "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.20.7.tgz", 239 | "integrity": "sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==", 240 | "dependencies": { 241 | "@babel/code-frame": "^7.18.6", 242 | "@babel/parser": "^7.20.7", 243 | "@babel/types": "^7.20.7" 244 | }, 245 | "engines": { 246 | "node": ">=6.9.0" 247 | } 248 | }, 249 | "node_modules/@babel/traverse": { 250 | "version": "7.21.2", 251 | "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.21.2.tgz", 252 | "integrity": "sha512-ts5FFU/dSUPS13tv8XiEObDu9K+iagEKME9kAbaP7r0Y9KtZJZ+NGndDvWoRAYNpeWafbpFeki3q9QoMD6gxyw==", 253 | "dependencies": { 254 | "@babel/code-frame": "^7.18.6", 255 | "@babel/generator": "^7.21.1", 256 | "@babel/helper-environment-visitor": "^7.18.9", 257 | "@babel/helper-function-name": "^7.21.0", 258 | "@babel/helper-hoist-variables": "^7.18.6", 259 | "@babel/helper-split-export-declaration": "^7.18.6", 260 | "@babel/parser": "^7.21.2", 261 | "@babel/types": "^7.21.2", 262 | "debug": "^4.1.0", 263 | "globals": "^11.1.0" 264 | }, 265 | "engines": { 266 | "node": ">=6.9.0" 267 | } 268 | }, 269 | "node_modules/@babel/traverse/node_modules/globals": { 270 | "version": "11.12.0", 271 | "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", 272 | "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", 273 | "engines": { 274 | "node": ">=4" 275 | } 276 | }, 277 | "node_modules/@babel/types": { 278 | "version": "7.21.2", 279 | "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.2.tgz", 280 | "integrity": "sha512-3wRZSs7jiFaB8AjxiiD+VqN5DTG2iRvJGQ+qYFrs/654lg6kGTQWIOFjlBo5RaXuAZjBmP3+OQH4dmhqiiyYxw==", 281 | "dependencies": { 282 | "@babel/helper-string-parser": "^7.19.4", 283 | "@babel/helper-validator-identifier": "^7.19.1", 284 | "to-fast-properties": "^2.0.0" 285 | }, 286 | "engines": { 287 | "node": ">=6.9.0" 288 | } 289 | }, 290 | "node_modules/@emotion/is-prop-valid": { 291 | "version": "1.2.0", 292 | "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz", 293 | "integrity": "sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg==", 294 | "dependencies": { 295 | "@emotion/memoize": "^0.8.0" 296 | } 297 | }, 298 | "node_modules/@emotion/memoize": { 299 | "version": "0.8.0", 300 | "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz", 301 | "integrity": "sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA==" 302 | }, 303 | "node_modules/@emotion/stylis": { 304 | "version": "0.8.5", 305 | "resolved": "https://registry.npmjs.org/@emotion/stylis/-/stylis-0.8.5.tgz", 306 | "integrity": "sha512-h6KtPihKFn3T9fuIrwvXXUOwlx3rfUvfZIcP5a6rh8Y7zjE3O06hT5Ss4S/YI1AYhuZ1kjaE/5EaOOI2NqSylQ==" 307 | }, 308 | "node_modules/@emotion/unitless": { 309 | "version": "0.7.5", 310 | "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.7.5.tgz", 311 | "integrity": "sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==" 312 | }, 313 | "node_modules/@eslint/eslintrc": { 314 | "version": "2.0.0", 315 | "license": "MIT", 316 | "dependencies": { 317 | "ajv": "^6.12.4", 318 | "debug": "^4.3.2", 319 | "espree": "^9.4.0", 320 | "globals": "^13.19.0", 321 | "ignore": "^5.2.0", 322 | "import-fresh": "^3.2.1", 323 | "js-yaml": "^4.1.0", 324 | "minimatch": "^3.1.2", 325 | "strip-json-comments": "^3.1.1" 326 | }, 327 | "engines": { 328 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 329 | }, 330 | "funding": { 331 | "url": "https://opencollective.com/eslint" 332 | } 333 | }, 334 | "node_modules/@eslint/js": { 335 | "version": "8.35.0", 336 | "license": "MIT", 337 | "engines": { 338 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 339 | } 340 | }, 341 | "node_modules/@humanwhocodes/config-array": { 342 | "version": "0.11.8", 343 | "license": "Apache-2.0", 344 | "dependencies": { 345 | "@humanwhocodes/object-schema": "^1.2.1", 346 | "debug": "^4.1.1", 347 | "minimatch": "^3.0.5" 348 | }, 349 | "engines": { 350 | "node": ">=10.10.0" 351 | } 352 | }, 353 | "node_modules/@humanwhocodes/module-importer": { 354 | "version": "1.0.1", 355 | "license": "Apache-2.0", 356 | "engines": { 357 | "node": ">=12.22" 358 | }, 359 | "funding": { 360 | "type": "github", 361 | "url": "https://github.com/sponsors/nzakas" 362 | } 363 | }, 364 | "node_modules/@humanwhocodes/object-schema": { 365 | "version": "1.2.1", 366 | "license": "BSD-3-Clause" 367 | }, 368 | "node_modules/@jridgewell/gen-mapping": { 369 | "version": "0.3.2", 370 | "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", 371 | "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", 372 | "dependencies": { 373 | "@jridgewell/set-array": "^1.0.1", 374 | "@jridgewell/sourcemap-codec": "^1.4.10", 375 | "@jridgewell/trace-mapping": "^0.3.9" 376 | }, 377 | "engines": { 378 | "node": ">=6.0.0" 379 | } 380 | }, 381 | "node_modules/@jridgewell/resolve-uri": { 382 | "version": "3.1.0", 383 | "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", 384 | "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", 385 | "engines": { 386 | "node": ">=6.0.0" 387 | } 388 | }, 389 | "node_modules/@jridgewell/set-array": { 390 | "version": "1.1.2", 391 | "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", 392 | "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", 393 | "engines": { 394 | "node": ">=6.0.0" 395 | } 396 | }, 397 | "node_modules/@jridgewell/sourcemap-codec": { 398 | "version": "1.4.14", 399 | "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", 400 | "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" 401 | }, 402 | "node_modules/@jridgewell/trace-mapping": { 403 | "version": "0.3.17", 404 | "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz", 405 | "integrity": "sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==", 406 | "dependencies": { 407 | "@jridgewell/resolve-uri": "3.1.0", 408 | "@jridgewell/sourcemap-codec": "1.4.14" 409 | } 410 | }, 411 | "node_modules/@next/env": { 412 | "version": "13.2.3", 413 | "license": "MIT" 414 | }, 415 | "node_modules/@next/eslint-plugin-next": { 416 | "version": "13.2.3", 417 | "license": "MIT", 418 | "dependencies": { 419 | "glob": "7.1.7" 420 | } 421 | }, 422 | "node_modules/@next/swc-android-arm-eabi": { 423 | "version": "13.2.3", 424 | "resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-13.2.3.tgz", 425 | "integrity": "sha512-mykdVaAXX/gm+eFO2kPeVjnOCKwanJ9mV2U0lsUGLrEdMUifPUjiXKc6qFAIs08PvmTMOLMNnUxqhGsJlWGKSw==", 426 | "cpu": [ 427 | "arm" 428 | ], 429 | "optional": true, 430 | "os": [ 431 | "android" 432 | ], 433 | "engines": { 434 | "node": ">= 10" 435 | } 436 | }, 437 | "node_modules/@next/swc-android-arm64": { 438 | "version": "13.2.3", 439 | "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-13.2.3.tgz", 440 | "integrity": "sha512-8XwHPpA12gdIFtope+n9xCtJZM3U4gH4vVTpUwJ2w1kfxFmCpwQ4xmeGSkR67uOg80yRMuF0h9V1ueo05sws5w==", 441 | "cpu": [ 442 | "arm64" 443 | ], 444 | "optional": true, 445 | "os": [ 446 | "android" 447 | ], 448 | "engines": { 449 | "node": ">= 10" 450 | } 451 | }, 452 | "node_modules/@next/swc-darwin-arm64": { 453 | "version": "13.2.3", 454 | "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.2.3.tgz", 455 | "integrity": "sha512-TXOubiFdLpMfMtaRu1K5d1I9ipKbW5iS2BNbu8zJhoqrhk3Kp7aRKTxqFfWrbliAHhWVE/3fQZUYZOWSXVQi1w==", 456 | "cpu": [ 457 | "arm64" 458 | ], 459 | "optional": true, 460 | "os": [ 461 | "darwin" 462 | ], 463 | "engines": { 464 | "node": ">= 10" 465 | } 466 | }, 467 | "node_modules/@next/swc-darwin-x64": { 468 | "version": "13.2.3", 469 | "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.2.3.tgz", 470 | "integrity": "sha512-GZctkN6bJbpjlFiS5pylgB2pifHvgkqLAPumJzxnxkf7kqNm6rOGuNjsROvOWVWXmKhrzQkREO/WPS2aWsr/yw==", 471 | "cpu": [ 472 | "x64" 473 | ], 474 | "optional": true, 475 | "os": [ 476 | "darwin" 477 | ], 478 | "engines": { 479 | "node": ">= 10" 480 | } 481 | }, 482 | "node_modules/@next/swc-freebsd-x64": { 483 | "version": "13.2.3", 484 | "resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-13.2.3.tgz", 485 | "integrity": "sha512-rK6GpmMt/mU6MPuav0/M7hJ/3t8HbKPCELw/Uqhi4732xoq2hJ2zbo2FkYs56y6w0KiXrIp4IOwNB9K8L/q62g==", 486 | "cpu": [ 487 | "x64" 488 | ], 489 | "optional": true, 490 | "os": [ 491 | "freebsd" 492 | ], 493 | "engines": { 494 | "node": ">= 10" 495 | } 496 | }, 497 | "node_modules/@next/swc-linux-arm-gnueabihf": { 498 | "version": "13.2.3", 499 | "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-13.2.3.tgz", 500 | "integrity": "sha512-yeiCp/Odt1UJ4KUE89XkeaaboIDiVFqKP4esvoLKGJ0fcqJXMofj4ad3tuQxAMs3F+qqrz9MclqhAHkex1aPZA==", 501 | "cpu": [ 502 | "arm" 503 | ], 504 | "optional": true, 505 | "os": [ 506 | "linux" 507 | ], 508 | "engines": { 509 | "node": ">= 10" 510 | } 511 | }, 512 | "node_modules/@next/swc-linux-arm64-gnu": { 513 | "version": "13.2.3", 514 | "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.2.3.tgz", 515 | "integrity": "sha512-/miIopDOUsuNlvjBjTipvoyjjaxgkOuvlz+cIbbPcm1eFvzX2ltSfgMgty15GuOiR8Hub4FeTSiq3g2dmCkzGA==", 516 | "cpu": [ 517 | "arm64" 518 | ], 519 | "optional": true, 520 | "os": [ 521 | "linux" 522 | ], 523 | "engines": { 524 | "node": ">= 10" 525 | } 526 | }, 527 | "node_modules/@next/swc-linux-arm64-musl": { 528 | "version": "13.2.3", 529 | "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.2.3.tgz", 530 | "integrity": "sha512-sujxFDhMMDjqhruup8LLGV/y+nCPi6nm5DlFoThMJFvaaKr/imhkXuk8uCTq4YJDbtRxnjydFv2y8laBSJVC2g==", 531 | "cpu": [ 532 | "arm64" 533 | ], 534 | "optional": true, 535 | "os": [ 536 | "linux" 537 | ], 538 | "engines": { 539 | "node": ">= 10" 540 | } 541 | }, 542 | "node_modules/@next/swc-linux-x64-gnu": { 543 | "version": "13.2.3", 544 | "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.2.3.tgz", 545 | "integrity": "sha512-w5MyxPknVvC9LVnMenAYMXMx4KxPwXuJRMQFvY71uXg68n7cvcas85U5zkdrbmuZ+JvsO5SIG8k36/6X3nUhmQ==", 546 | "cpu": [ 547 | "x64" 548 | ], 549 | "optional": true, 550 | "os": [ 551 | "linux" 552 | ], 553 | "engines": { 554 | "node": ">= 10" 555 | } 556 | }, 557 | "node_modules/@next/swc-linux-x64-musl": { 558 | "version": "13.2.3", 559 | "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.2.3.tgz", 560 | "integrity": "sha512-CTeelh8OzSOVqpzMFMFnVRJIFAFQoTsI9RmVJWW/92S4xfECGcOzgsX37CZ8K982WHRzKU7exeh7vYdG/Eh4CA==", 561 | "cpu": [ 562 | "x64" 563 | ], 564 | "optional": true, 565 | "os": [ 566 | "linux" 567 | ], 568 | "engines": { 569 | "node": ">= 10" 570 | } 571 | }, 572 | "node_modules/@next/swc-win32-arm64-msvc": { 573 | "version": "13.2.3", 574 | "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.2.3.tgz", 575 | "integrity": "sha512-7N1KBQP5mo4xf52cFCHgMjzbc9jizIlkTepe9tMa2WFvEIlKDfdt38QYcr9mbtny17yuaIw02FXOVEytGzqdOQ==", 576 | "cpu": [ 577 | "arm64" 578 | ], 579 | "optional": true, 580 | "os": [ 581 | "win32" 582 | ], 583 | "engines": { 584 | "node": ">= 10" 585 | } 586 | }, 587 | "node_modules/@next/swc-win32-ia32-msvc": { 588 | "version": "13.2.3", 589 | "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.2.3.tgz", 590 | "integrity": "sha512-LzWD5pTSipUXTEMRjtxES/NBYktuZdo7xExJqGDMnZU8WOI+v9mQzsmQgZS/q02eIv78JOCSemqVVKZBGCgUvA==", 591 | "cpu": [ 592 | "ia32" 593 | ], 594 | "optional": true, 595 | "os": [ 596 | "win32" 597 | ], 598 | "engines": { 599 | "node": ">= 10" 600 | } 601 | }, 602 | "node_modules/@next/swc-win32-x64-msvc": { 603 | "version": "13.2.3", 604 | "cpu": [ 605 | "x64" 606 | ], 607 | "license": "MIT", 608 | "optional": true, 609 | "os": [ 610 | "win32" 611 | ], 612 | "engines": { 613 | "node": ">= 10" 614 | } 615 | }, 616 | "node_modules/@nodelib/fs.scandir": { 617 | "version": "2.1.5", 618 | "license": "MIT", 619 | "dependencies": { 620 | "@nodelib/fs.stat": "2.0.5", 621 | "run-parallel": "^1.1.9" 622 | }, 623 | "engines": { 624 | "node": ">= 8" 625 | } 626 | }, 627 | "node_modules/@nodelib/fs.stat": { 628 | "version": "2.0.5", 629 | "license": "MIT", 630 | "engines": { 631 | "node": ">= 8" 632 | } 633 | }, 634 | "node_modules/@nodelib/fs.walk": { 635 | "version": "1.2.8", 636 | "license": "MIT", 637 | "dependencies": { 638 | "@nodelib/fs.scandir": "2.1.5", 639 | "fastq": "^1.6.0" 640 | }, 641 | "engines": { 642 | "node": ">= 8" 643 | } 644 | }, 645 | "node_modules/@pkgr/utils": { 646 | "version": "2.3.1", 647 | "license": "MIT", 648 | "dependencies": { 649 | "cross-spawn": "^7.0.3", 650 | "is-glob": "^4.0.3", 651 | "open": "^8.4.0", 652 | "picocolors": "^1.0.0", 653 | "tiny-glob": "^0.2.9", 654 | "tslib": "^2.4.0" 655 | }, 656 | "engines": { 657 | "node": "^12.20.0 || ^14.18.0 || >=16.0.0" 658 | }, 659 | "funding": { 660 | "url": "https://opencollective.com/unts" 661 | } 662 | }, 663 | "node_modules/@rushstack/eslint-patch": { 664 | "version": "1.2.0", 665 | "license": "MIT" 666 | }, 667 | "node_modules/@swc/helpers": { 668 | "version": "0.4.14", 669 | "license": "MIT", 670 | "dependencies": { 671 | "tslib": "^2.4.0" 672 | } 673 | }, 674 | "node_modules/@types/hast": { 675 | "version": "2.3.4", 676 | "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.4.tgz", 677 | "integrity": "sha512-wLEm0QvaoawEDoTRwzTXp4b4jpwiJDvR5KMnFnVodm3scufTlBOWRD6N1OBf9TZMhjlNsSfcO5V+7AF4+Vy+9g==", 678 | "dependencies": { 679 | "@types/unist": "*" 680 | } 681 | }, 682 | "node_modules/@types/hoist-non-react-statics": { 683 | "version": "3.3.1", 684 | "resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.1.tgz", 685 | "integrity": "sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA==", 686 | "dev": true, 687 | "dependencies": { 688 | "@types/react": "*", 689 | "hoist-non-react-statics": "^3.3.0" 690 | } 691 | }, 692 | "node_modules/@types/json5": { 693 | "version": "0.0.29", 694 | "license": "MIT" 695 | }, 696 | "node_modules/@types/node": { 697 | "version": "18.14.6", 698 | "license": "MIT" 699 | }, 700 | "node_modules/@types/prop-types": { 701 | "version": "15.7.5", 702 | "license": "MIT" 703 | }, 704 | "node_modules/@types/react": { 705 | "version": "18.0.28", 706 | "license": "MIT", 707 | "dependencies": { 708 | "@types/prop-types": "*", 709 | "@types/scheduler": "*", 710 | "csstype": "^3.0.2" 711 | } 712 | }, 713 | "node_modules/@types/react-dom": { 714 | "version": "18.0.11", 715 | "license": "MIT", 716 | "dependencies": { 717 | "@types/react": "*" 718 | } 719 | }, 720 | "node_modules/@types/react-syntax-highlighter": { 721 | "version": "15.5.6", 722 | "resolved": "https://registry.npmjs.org/@types/react-syntax-highlighter/-/react-syntax-highlighter-15.5.6.tgz", 723 | "integrity": "sha512-i7wFuLbIAFlabTeD2I1cLjEOrG/xdMa/rpx2zwzAoGHuXJDhSqp9BSfDlMHSh9JSuNfxHk9eEmMX6D55GiyjGg==", 724 | "dev": true, 725 | "dependencies": { 726 | "@types/react": "*" 727 | } 728 | }, 729 | "node_modules/@types/scheduler": { 730 | "version": "0.16.2", 731 | "license": "MIT" 732 | }, 733 | "node_modules/@types/styled-components": { 734 | "version": "5.1.26", 735 | "resolved": "https://registry.npmjs.org/@types/styled-components/-/styled-components-5.1.26.tgz", 736 | "integrity": "sha512-KuKJ9Z6xb93uJiIyxo/+ksS7yLjS1KzG6iv5i78dhVg/X3u5t1H7juRWqVmodIdz6wGVaIApo1u01kmFRdJHVw==", 737 | "dev": true, 738 | "dependencies": { 739 | "@types/hoist-non-react-statics": "*", 740 | "@types/react": "*", 741 | "csstype": "^3.0.2" 742 | } 743 | }, 744 | "node_modules/@types/unist": { 745 | "version": "2.0.6", 746 | "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.6.tgz", 747 | "integrity": "sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==" 748 | }, 749 | "node_modules/@typescript-eslint/parser": { 750 | "version": "5.54.1", 751 | "license": "BSD-2-Clause", 752 | "dependencies": { 753 | "@typescript-eslint/scope-manager": "5.54.1", 754 | "@typescript-eslint/types": "5.54.1", 755 | "@typescript-eslint/typescript-estree": "5.54.1", 756 | "debug": "^4.3.4" 757 | }, 758 | "engines": { 759 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 760 | }, 761 | "funding": { 762 | "type": "opencollective", 763 | "url": "https://opencollective.com/typescript-eslint" 764 | }, 765 | "peerDependencies": { 766 | "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" 767 | }, 768 | "peerDependenciesMeta": { 769 | "typescript": { 770 | "optional": true 771 | } 772 | } 773 | }, 774 | "node_modules/@typescript-eslint/scope-manager": { 775 | "version": "5.54.1", 776 | "license": "MIT", 777 | "dependencies": { 778 | "@typescript-eslint/types": "5.54.1", 779 | "@typescript-eslint/visitor-keys": "5.54.1" 780 | }, 781 | "engines": { 782 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 783 | }, 784 | "funding": { 785 | "type": "opencollective", 786 | "url": "https://opencollective.com/typescript-eslint" 787 | } 788 | }, 789 | "node_modules/@typescript-eslint/types": { 790 | "version": "5.54.1", 791 | "license": "MIT", 792 | "engines": { 793 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 794 | }, 795 | "funding": { 796 | "type": "opencollective", 797 | "url": "https://opencollective.com/typescript-eslint" 798 | } 799 | }, 800 | "node_modules/@typescript-eslint/typescript-estree": { 801 | "version": "5.54.1", 802 | "license": "BSD-2-Clause", 803 | "dependencies": { 804 | "@typescript-eslint/types": "5.54.1", 805 | "@typescript-eslint/visitor-keys": "5.54.1", 806 | "debug": "^4.3.4", 807 | "globby": "^11.1.0", 808 | "is-glob": "^4.0.3", 809 | "semver": "^7.3.7", 810 | "tsutils": "^3.21.0" 811 | }, 812 | "engines": { 813 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 814 | }, 815 | "funding": { 816 | "type": "opencollective", 817 | "url": "https://opencollective.com/typescript-eslint" 818 | }, 819 | "peerDependenciesMeta": { 820 | "typescript": { 821 | "optional": true 822 | } 823 | } 824 | }, 825 | "node_modules/@typescript-eslint/visitor-keys": { 826 | "version": "5.54.1", 827 | "license": "MIT", 828 | "dependencies": { 829 | "@typescript-eslint/types": "5.54.1", 830 | "eslint-visitor-keys": "^3.3.0" 831 | }, 832 | "engines": { 833 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 834 | }, 835 | "funding": { 836 | "type": "opencollective", 837 | "url": "https://opencollective.com/typescript-eslint" 838 | } 839 | }, 840 | "node_modules/acorn": { 841 | "version": "8.8.2", 842 | "license": "MIT", 843 | "bin": { 844 | "acorn": "bin/acorn" 845 | }, 846 | "engines": { 847 | "node": ">=0.4.0" 848 | } 849 | }, 850 | "node_modules/acorn-jsx": { 851 | "version": "5.3.2", 852 | "license": "MIT", 853 | "peerDependencies": { 854 | "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" 855 | } 856 | }, 857 | "node_modules/ajv": { 858 | "version": "6.12.6", 859 | "license": "MIT", 860 | "dependencies": { 861 | "fast-deep-equal": "^3.1.1", 862 | "fast-json-stable-stringify": "^2.0.0", 863 | "json-schema-traverse": "^0.4.1", 864 | "uri-js": "^4.2.2" 865 | }, 866 | "funding": { 867 | "type": "github", 868 | "url": "https://github.com/sponsors/epoberezkin" 869 | } 870 | }, 871 | "node_modules/ansi-regex": { 872 | "version": "5.0.1", 873 | "license": "MIT", 874 | "engines": { 875 | "node": ">=8" 876 | } 877 | }, 878 | "node_modules/ansi-styles": { 879 | "version": "4.3.0", 880 | "license": "MIT", 881 | "dependencies": { 882 | "color-convert": "^2.0.1" 883 | }, 884 | "engines": { 885 | "node": ">=8" 886 | }, 887 | "funding": { 888 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 889 | } 890 | }, 891 | "node_modules/argparse": { 892 | "version": "2.0.1", 893 | "license": "Python-2.0" 894 | }, 895 | "node_modules/aria-query": { 896 | "version": "5.1.3", 897 | "license": "Apache-2.0", 898 | "dependencies": { 899 | "deep-equal": "^2.0.5" 900 | } 901 | }, 902 | "node_modules/array-includes": { 903 | "version": "3.1.6", 904 | "license": "MIT", 905 | "dependencies": { 906 | "call-bind": "^1.0.2", 907 | "define-properties": "^1.1.4", 908 | "es-abstract": "^1.20.4", 909 | "get-intrinsic": "^1.1.3", 910 | "is-string": "^1.0.7" 911 | }, 912 | "engines": { 913 | "node": ">= 0.4" 914 | }, 915 | "funding": { 916 | "url": "https://github.com/sponsors/ljharb" 917 | } 918 | }, 919 | "node_modules/array-union": { 920 | "version": "2.1.0", 921 | "license": "MIT", 922 | "engines": { 923 | "node": ">=8" 924 | } 925 | }, 926 | "node_modules/array.prototype.flat": { 927 | "version": "1.3.1", 928 | "license": "MIT", 929 | "dependencies": { 930 | "call-bind": "^1.0.2", 931 | "define-properties": "^1.1.4", 932 | "es-abstract": "^1.20.4", 933 | "es-shim-unscopables": "^1.0.0" 934 | }, 935 | "engines": { 936 | "node": ">= 0.4" 937 | }, 938 | "funding": { 939 | "url": "https://github.com/sponsors/ljharb" 940 | } 941 | }, 942 | "node_modules/array.prototype.flatmap": { 943 | "version": "1.3.1", 944 | "license": "MIT", 945 | "dependencies": { 946 | "call-bind": "^1.0.2", 947 | "define-properties": "^1.1.4", 948 | "es-abstract": "^1.20.4", 949 | "es-shim-unscopables": "^1.0.0" 950 | }, 951 | "engines": { 952 | "node": ">= 0.4" 953 | }, 954 | "funding": { 955 | "url": "https://github.com/sponsors/ljharb" 956 | } 957 | }, 958 | "node_modules/array.prototype.tosorted": { 959 | "version": "1.1.1", 960 | "license": "MIT", 961 | "dependencies": { 962 | "call-bind": "^1.0.2", 963 | "define-properties": "^1.1.4", 964 | "es-abstract": "^1.20.4", 965 | "es-shim-unscopables": "^1.0.0", 966 | "get-intrinsic": "^1.1.3" 967 | } 968 | }, 969 | "node_modules/ast-types-flow": { 970 | "version": "0.0.7", 971 | "license": "ISC" 972 | }, 973 | "node_modules/available-typed-arrays": { 974 | "version": "1.0.5", 975 | "license": "MIT", 976 | "engines": { 977 | "node": ">= 0.4" 978 | }, 979 | "funding": { 980 | "url": "https://github.com/sponsors/ljharb" 981 | } 982 | }, 983 | "node_modules/axe-core": { 984 | "version": "4.6.3", 985 | "license": "MPL-2.0", 986 | "engines": { 987 | "node": ">=4" 988 | } 989 | }, 990 | "node_modules/axobject-query": { 991 | "version": "3.1.1", 992 | "license": "Apache-2.0", 993 | "dependencies": { 994 | "deep-equal": "^2.0.5" 995 | } 996 | }, 997 | "node_modules/babel-plugin-styled-components": { 998 | "version": "2.0.7", 999 | "resolved": "https://registry.npmjs.org/babel-plugin-styled-components/-/babel-plugin-styled-components-2.0.7.tgz", 1000 | "integrity": "sha512-i7YhvPgVqRKfoQ66toiZ06jPNA3p6ierpfUuEWxNF+fV27Uv5gxBkf8KZLHUCc1nFA9j6+80pYoIpqCeyW3/bA==", 1001 | "dependencies": { 1002 | "@babel/helper-annotate-as-pure": "^7.16.0", 1003 | "@babel/helper-module-imports": "^7.16.0", 1004 | "babel-plugin-syntax-jsx": "^6.18.0", 1005 | "lodash": "^4.17.11", 1006 | "picomatch": "^2.3.0" 1007 | }, 1008 | "peerDependencies": { 1009 | "styled-components": ">= 2" 1010 | } 1011 | }, 1012 | "node_modules/babel-plugin-syntax-jsx": { 1013 | "version": "6.18.0", 1014 | "resolved": "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz", 1015 | "integrity": "sha512-qrPaCSo9c8RHNRHIotaufGbuOBN8rtdC4QrrFFc43vyWCCz7Kl7GL1PGaXtMGQZUXrkCjNEgxDfmAuAabr/rlw==" 1016 | }, 1017 | "node_modules/balanced-match": { 1018 | "version": "1.0.2", 1019 | "license": "MIT" 1020 | }, 1021 | "node_modules/brace-expansion": { 1022 | "version": "1.1.11", 1023 | "license": "MIT", 1024 | "dependencies": { 1025 | "balanced-match": "^1.0.0", 1026 | "concat-map": "0.0.1" 1027 | } 1028 | }, 1029 | "node_modules/braces": { 1030 | "version": "3.0.2", 1031 | "license": "MIT", 1032 | "dependencies": { 1033 | "fill-range": "^7.0.1" 1034 | }, 1035 | "engines": { 1036 | "node": ">=8" 1037 | } 1038 | }, 1039 | "node_modules/call-bind": { 1040 | "version": "1.0.2", 1041 | "license": "MIT", 1042 | "dependencies": { 1043 | "function-bind": "^1.1.1", 1044 | "get-intrinsic": "^1.0.2" 1045 | }, 1046 | "funding": { 1047 | "url": "https://github.com/sponsors/ljharb" 1048 | } 1049 | }, 1050 | "node_modules/callsites": { 1051 | "version": "3.1.0", 1052 | "license": "MIT", 1053 | "engines": { 1054 | "node": ">=6" 1055 | } 1056 | }, 1057 | "node_modules/camelize": { 1058 | "version": "1.0.1", 1059 | "resolved": "https://registry.npmjs.org/camelize/-/camelize-1.0.1.tgz", 1060 | "integrity": "sha512-dU+Tx2fsypxTgtLoE36npi3UqcjSSMNYfkqgmoEhtZrraP5VWq0K7FkWVTYa8eMPtnU/G2txVsfdCJTn9uzpuQ==", 1061 | "funding": { 1062 | "url": "https://github.com/sponsors/ljharb" 1063 | } 1064 | }, 1065 | "node_modules/caniuse-lite": { 1066 | "version": "1.0.30001462", 1067 | "funding": [ 1068 | { 1069 | "type": "opencollective", 1070 | "url": "https://opencollective.com/browserslist" 1071 | }, 1072 | { 1073 | "type": "tidelift", 1074 | "url": "https://tidelift.com/funding/github/npm/caniuse-lite" 1075 | } 1076 | ], 1077 | "license": "CC-BY-4.0" 1078 | }, 1079 | "node_modules/chalk": { 1080 | "version": "4.1.2", 1081 | "license": "MIT", 1082 | "dependencies": { 1083 | "ansi-styles": "^4.1.0", 1084 | "supports-color": "^7.1.0" 1085 | }, 1086 | "engines": { 1087 | "node": ">=10" 1088 | }, 1089 | "funding": { 1090 | "url": "https://github.com/chalk/chalk?sponsor=1" 1091 | } 1092 | }, 1093 | "node_modules/character-entities": { 1094 | "version": "1.2.4", 1095 | "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-1.2.4.tgz", 1096 | "integrity": "sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==", 1097 | "funding": { 1098 | "type": "github", 1099 | "url": "https://github.com/sponsors/wooorm" 1100 | } 1101 | }, 1102 | "node_modules/character-entities-legacy": { 1103 | "version": "1.1.4", 1104 | "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz", 1105 | "integrity": "sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==", 1106 | "funding": { 1107 | "type": "github", 1108 | "url": "https://github.com/sponsors/wooorm" 1109 | } 1110 | }, 1111 | "node_modules/character-reference-invalid": { 1112 | "version": "1.1.4", 1113 | "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz", 1114 | "integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==", 1115 | "funding": { 1116 | "type": "github", 1117 | "url": "https://github.com/sponsors/wooorm" 1118 | } 1119 | }, 1120 | "node_modules/client-only": { 1121 | "version": "0.0.1", 1122 | "license": "MIT" 1123 | }, 1124 | "node_modules/color-convert": { 1125 | "version": "2.0.1", 1126 | "license": "MIT", 1127 | "dependencies": { 1128 | "color-name": "~1.1.4" 1129 | }, 1130 | "engines": { 1131 | "node": ">=7.0.0" 1132 | } 1133 | }, 1134 | "node_modules/color-name": { 1135 | "version": "1.1.4", 1136 | "license": "MIT" 1137 | }, 1138 | "node_modules/comma-separated-tokens": { 1139 | "version": "1.0.8", 1140 | "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz", 1141 | "integrity": "sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw==", 1142 | "funding": { 1143 | "type": "github", 1144 | "url": "https://github.com/sponsors/wooorm" 1145 | } 1146 | }, 1147 | "node_modules/concat-map": { 1148 | "version": "0.0.1", 1149 | "license": "MIT" 1150 | }, 1151 | "node_modules/cross-spawn": { 1152 | "version": "7.0.3", 1153 | "license": "MIT", 1154 | "dependencies": { 1155 | "path-key": "^3.1.0", 1156 | "shebang-command": "^2.0.0", 1157 | "which": "^2.0.1" 1158 | }, 1159 | "engines": { 1160 | "node": ">= 8" 1161 | } 1162 | }, 1163 | "node_modules/css-color-keywords": { 1164 | "version": "1.0.0", 1165 | "resolved": "https://registry.npmjs.org/css-color-keywords/-/css-color-keywords-1.0.0.tgz", 1166 | "integrity": "sha512-FyyrDHZKEjXDpNJYvVsV960FiqQyXc/LlYmsxl2BcdMb2WPx0OGRVgTg55rPSyLSNMqP52R9r8geSp7apN3Ofg==", 1167 | "engines": { 1168 | "node": ">=4" 1169 | } 1170 | }, 1171 | "node_modules/css-to-react-native": { 1172 | "version": "3.2.0", 1173 | "resolved": "https://registry.npmjs.org/css-to-react-native/-/css-to-react-native-3.2.0.tgz", 1174 | "integrity": "sha512-e8RKaLXMOFii+02mOlqwjbD00KSEKqblnpO9e++1aXS1fPQOpS1YoqdVHBqPjHNoxeF2mimzVqawm2KCbEdtHQ==", 1175 | "dependencies": { 1176 | "camelize": "^1.0.0", 1177 | "css-color-keywords": "^1.0.0", 1178 | "postcss-value-parser": "^4.0.2" 1179 | } 1180 | }, 1181 | "node_modules/csstype": { 1182 | "version": "3.1.1", 1183 | "license": "MIT" 1184 | }, 1185 | "node_modules/damerau-levenshtein": { 1186 | "version": "1.0.8", 1187 | "license": "BSD-2-Clause" 1188 | }, 1189 | "node_modules/date-fns": { 1190 | "version": "2.29.3", 1191 | "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.29.3.tgz", 1192 | "integrity": "sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA==", 1193 | "engines": { 1194 | "node": ">=0.11" 1195 | }, 1196 | "funding": { 1197 | "type": "opencollective", 1198 | "url": "https://opencollective.com/date-fns" 1199 | } 1200 | }, 1201 | "node_modules/date-fns-jalali": { 1202 | "version": "2.28.0-1", 1203 | "resolved": "https://registry.npmjs.org/date-fns-jalali/-/date-fns-jalali-2.28.0-1.tgz", 1204 | "integrity": "sha512-wjIvkU5zTif1Rgr/bBUezVZFB/KyKMrCQahi/hYzKYG3B/d/Fmai+eTqs9tazpHEKECMzdkCVkDZYEK6Je6jAQ==", 1205 | "engines": { 1206 | "node": ">=0.11" 1207 | } 1208 | }, 1209 | "node_modules/debug": { 1210 | "version": "4.3.4", 1211 | "license": "MIT", 1212 | "dependencies": { 1213 | "ms": "2.1.2" 1214 | }, 1215 | "engines": { 1216 | "node": ">=6.0" 1217 | }, 1218 | "peerDependenciesMeta": { 1219 | "supports-color": { 1220 | "optional": true 1221 | } 1222 | } 1223 | }, 1224 | "node_modules/deep-equal": { 1225 | "version": "2.2.0", 1226 | "license": "MIT", 1227 | "dependencies": { 1228 | "call-bind": "^1.0.2", 1229 | "es-get-iterator": "^1.1.2", 1230 | "get-intrinsic": "^1.1.3", 1231 | "is-arguments": "^1.1.1", 1232 | "is-array-buffer": "^3.0.1", 1233 | "is-date-object": "^1.0.5", 1234 | "is-regex": "^1.1.4", 1235 | "is-shared-array-buffer": "^1.0.2", 1236 | "isarray": "^2.0.5", 1237 | "object-is": "^1.1.5", 1238 | "object-keys": "^1.1.1", 1239 | "object.assign": "^4.1.4", 1240 | "regexp.prototype.flags": "^1.4.3", 1241 | "side-channel": "^1.0.4", 1242 | "which-boxed-primitive": "^1.0.2", 1243 | "which-collection": "^1.0.1", 1244 | "which-typed-array": "^1.1.9" 1245 | }, 1246 | "funding": { 1247 | "url": "https://github.com/sponsors/ljharb" 1248 | } 1249 | }, 1250 | "node_modules/deep-is": { 1251 | "version": "0.1.4", 1252 | "license": "MIT" 1253 | }, 1254 | "node_modules/define-lazy-prop": { 1255 | "version": "2.0.0", 1256 | "license": "MIT", 1257 | "engines": { 1258 | "node": ">=8" 1259 | } 1260 | }, 1261 | "node_modules/define-properties": { 1262 | "version": "1.2.0", 1263 | "license": "MIT", 1264 | "dependencies": { 1265 | "has-property-descriptors": "^1.0.0", 1266 | "object-keys": "^1.1.1" 1267 | }, 1268 | "engines": { 1269 | "node": ">= 0.4" 1270 | }, 1271 | "funding": { 1272 | "url": "https://github.com/sponsors/ljharb" 1273 | } 1274 | }, 1275 | "node_modules/dir-glob": { 1276 | "version": "3.0.1", 1277 | "license": "MIT", 1278 | "dependencies": { 1279 | "path-type": "^4.0.0" 1280 | }, 1281 | "engines": { 1282 | "node": ">=8" 1283 | } 1284 | }, 1285 | "node_modules/doctrine": { 1286 | "version": "3.0.0", 1287 | "license": "Apache-2.0", 1288 | "dependencies": { 1289 | "esutils": "^2.0.2" 1290 | }, 1291 | "engines": { 1292 | "node": ">=6.0.0" 1293 | } 1294 | }, 1295 | "node_modules/emoji-regex": { 1296 | "version": "9.2.2", 1297 | "license": "MIT" 1298 | }, 1299 | "node_modules/enhanced-resolve": { 1300 | "version": "5.12.0", 1301 | "license": "MIT", 1302 | "dependencies": { 1303 | "graceful-fs": "^4.2.4", 1304 | "tapable": "^2.2.0" 1305 | }, 1306 | "engines": { 1307 | "node": ">=10.13.0" 1308 | } 1309 | }, 1310 | "node_modules/es-abstract": { 1311 | "version": "1.21.1", 1312 | "license": "MIT", 1313 | "dependencies": { 1314 | "available-typed-arrays": "^1.0.5", 1315 | "call-bind": "^1.0.2", 1316 | "es-set-tostringtag": "^2.0.1", 1317 | "es-to-primitive": "^1.2.1", 1318 | "function-bind": "^1.1.1", 1319 | "function.prototype.name": "^1.1.5", 1320 | "get-intrinsic": "^1.1.3", 1321 | "get-symbol-description": "^1.0.0", 1322 | "globalthis": "^1.0.3", 1323 | "gopd": "^1.0.1", 1324 | "has": "^1.0.3", 1325 | "has-property-descriptors": "^1.0.0", 1326 | "has-proto": "^1.0.1", 1327 | "has-symbols": "^1.0.3", 1328 | "internal-slot": "^1.0.4", 1329 | "is-array-buffer": "^3.0.1", 1330 | "is-callable": "^1.2.7", 1331 | "is-negative-zero": "^2.0.2", 1332 | "is-regex": "^1.1.4", 1333 | "is-shared-array-buffer": "^1.0.2", 1334 | "is-string": "^1.0.7", 1335 | "is-typed-array": "^1.1.10", 1336 | "is-weakref": "^1.0.2", 1337 | "object-inspect": "^1.12.2", 1338 | "object-keys": "^1.1.1", 1339 | "object.assign": "^4.1.4", 1340 | "regexp.prototype.flags": "^1.4.3", 1341 | "safe-regex-test": "^1.0.0", 1342 | "string.prototype.trimend": "^1.0.6", 1343 | "string.prototype.trimstart": "^1.0.6", 1344 | "typed-array-length": "^1.0.4", 1345 | "unbox-primitive": "^1.0.2", 1346 | "which-typed-array": "^1.1.9" 1347 | }, 1348 | "engines": { 1349 | "node": ">= 0.4" 1350 | }, 1351 | "funding": { 1352 | "url": "https://github.com/sponsors/ljharb" 1353 | } 1354 | }, 1355 | "node_modules/es-get-iterator": { 1356 | "version": "1.1.3", 1357 | "license": "MIT", 1358 | "dependencies": { 1359 | "call-bind": "^1.0.2", 1360 | "get-intrinsic": "^1.1.3", 1361 | "has-symbols": "^1.0.3", 1362 | "is-arguments": "^1.1.1", 1363 | "is-map": "^2.0.2", 1364 | "is-set": "^2.0.2", 1365 | "is-string": "^1.0.7", 1366 | "isarray": "^2.0.5", 1367 | "stop-iteration-iterator": "^1.0.0" 1368 | }, 1369 | "funding": { 1370 | "url": "https://github.com/sponsors/ljharb" 1371 | } 1372 | }, 1373 | "node_modules/es-set-tostringtag": { 1374 | "version": "2.0.1", 1375 | "license": "MIT", 1376 | "dependencies": { 1377 | "get-intrinsic": "^1.1.3", 1378 | "has": "^1.0.3", 1379 | "has-tostringtag": "^1.0.0" 1380 | }, 1381 | "engines": { 1382 | "node": ">= 0.4" 1383 | } 1384 | }, 1385 | "node_modules/es-shim-unscopables": { 1386 | "version": "1.0.0", 1387 | "license": "MIT", 1388 | "dependencies": { 1389 | "has": "^1.0.3" 1390 | } 1391 | }, 1392 | "node_modules/es-to-primitive": { 1393 | "version": "1.2.1", 1394 | "license": "MIT", 1395 | "dependencies": { 1396 | "is-callable": "^1.1.4", 1397 | "is-date-object": "^1.0.1", 1398 | "is-symbol": "^1.0.2" 1399 | }, 1400 | "engines": { 1401 | "node": ">= 0.4" 1402 | }, 1403 | "funding": { 1404 | "url": "https://github.com/sponsors/ljharb" 1405 | } 1406 | }, 1407 | "node_modules/escape-string-regexp": { 1408 | "version": "4.0.0", 1409 | "license": "MIT", 1410 | "engines": { 1411 | "node": ">=10" 1412 | }, 1413 | "funding": { 1414 | "url": "https://github.com/sponsors/sindresorhus" 1415 | } 1416 | }, 1417 | "node_modules/eslint": { 1418 | "version": "8.35.0", 1419 | "license": "MIT", 1420 | "dependencies": { 1421 | "@eslint/eslintrc": "^2.0.0", 1422 | "@eslint/js": "8.35.0", 1423 | "@humanwhocodes/config-array": "^0.11.8", 1424 | "@humanwhocodes/module-importer": "^1.0.1", 1425 | "@nodelib/fs.walk": "^1.2.8", 1426 | "ajv": "^6.10.0", 1427 | "chalk": "^4.0.0", 1428 | "cross-spawn": "^7.0.2", 1429 | "debug": "^4.3.2", 1430 | "doctrine": "^3.0.0", 1431 | "escape-string-regexp": "^4.0.0", 1432 | "eslint-scope": "^7.1.1", 1433 | "eslint-utils": "^3.0.0", 1434 | "eslint-visitor-keys": "^3.3.0", 1435 | "espree": "^9.4.0", 1436 | "esquery": "^1.4.2", 1437 | "esutils": "^2.0.2", 1438 | "fast-deep-equal": "^3.1.3", 1439 | "file-entry-cache": "^6.0.1", 1440 | "find-up": "^5.0.0", 1441 | "glob-parent": "^6.0.2", 1442 | "globals": "^13.19.0", 1443 | "grapheme-splitter": "^1.0.4", 1444 | "ignore": "^5.2.0", 1445 | "import-fresh": "^3.0.0", 1446 | "imurmurhash": "^0.1.4", 1447 | "is-glob": "^4.0.0", 1448 | "is-path-inside": "^3.0.3", 1449 | "js-sdsl": "^4.1.4", 1450 | "js-yaml": "^4.1.0", 1451 | "json-stable-stringify-without-jsonify": "^1.0.1", 1452 | "levn": "^0.4.1", 1453 | "lodash.merge": "^4.6.2", 1454 | "minimatch": "^3.1.2", 1455 | "natural-compare": "^1.4.0", 1456 | "optionator": "^0.9.1", 1457 | "regexpp": "^3.2.0", 1458 | "strip-ansi": "^6.0.1", 1459 | "strip-json-comments": "^3.1.0", 1460 | "text-table": "^0.2.0" 1461 | }, 1462 | "bin": { 1463 | "eslint": "bin/eslint.js" 1464 | }, 1465 | "engines": { 1466 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 1467 | }, 1468 | "funding": { 1469 | "url": "https://opencollective.com/eslint" 1470 | } 1471 | }, 1472 | "node_modules/eslint-config-next": { 1473 | "version": "13.2.3", 1474 | "license": "MIT", 1475 | "dependencies": { 1476 | "@next/eslint-plugin-next": "13.2.3", 1477 | "@rushstack/eslint-patch": "^1.1.3", 1478 | "@typescript-eslint/parser": "^5.42.0", 1479 | "eslint-import-resolver-node": "^0.3.6", 1480 | "eslint-import-resolver-typescript": "^3.5.2", 1481 | "eslint-plugin-import": "^2.26.0", 1482 | "eslint-plugin-jsx-a11y": "^6.5.1", 1483 | "eslint-plugin-react": "^7.31.7", 1484 | "eslint-plugin-react-hooks": "^4.5.0" 1485 | }, 1486 | "peerDependencies": { 1487 | "eslint": "^7.23.0 || ^8.0.0", 1488 | "typescript": ">=3.3.1" 1489 | }, 1490 | "peerDependenciesMeta": { 1491 | "typescript": { 1492 | "optional": true 1493 | } 1494 | } 1495 | }, 1496 | "node_modules/eslint-import-resolver-node": { 1497 | "version": "0.3.7", 1498 | "license": "MIT", 1499 | "dependencies": { 1500 | "debug": "^3.2.7", 1501 | "is-core-module": "^2.11.0", 1502 | "resolve": "^1.22.1" 1503 | } 1504 | }, 1505 | "node_modules/eslint-import-resolver-node/node_modules/debug": { 1506 | "version": "3.2.7", 1507 | "license": "MIT", 1508 | "dependencies": { 1509 | "ms": "^2.1.1" 1510 | } 1511 | }, 1512 | "node_modules/eslint-import-resolver-typescript": { 1513 | "version": "3.5.3", 1514 | "license": "ISC", 1515 | "dependencies": { 1516 | "debug": "^4.3.4", 1517 | "enhanced-resolve": "^5.10.0", 1518 | "get-tsconfig": "^4.2.0", 1519 | "globby": "^13.1.2", 1520 | "is-core-module": "^2.10.0", 1521 | "is-glob": "^4.0.3", 1522 | "synckit": "^0.8.4" 1523 | }, 1524 | "engines": { 1525 | "node": "^14.18.0 || >=16.0.0" 1526 | }, 1527 | "funding": { 1528 | "url": "https://opencollective.com/unts/projects/eslint-import-resolver-ts" 1529 | }, 1530 | "peerDependencies": { 1531 | "eslint": "*", 1532 | "eslint-plugin-import": "*" 1533 | } 1534 | }, 1535 | "node_modules/eslint-import-resolver-typescript/node_modules/globby": { 1536 | "version": "13.1.3", 1537 | "license": "MIT", 1538 | "dependencies": { 1539 | "dir-glob": "^3.0.1", 1540 | "fast-glob": "^3.2.11", 1541 | "ignore": "^5.2.0", 1542 | "merge2": "^1.4.1", 1543 | "slash": "^4.0.0" 1544 | }, 1545 | "engines": { 1546 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 1547 | }, 1548 | "funding": { 1549 | "url": "https://github.com/sponsors/sindresorhus" 1550 | } 1551 | }, 1552 | "node_modules/eslint-import-resolver-typescript/node_modules/slash": { 1553 | "version": "4.0.0", 1554 | "license": "MIT", 1555 | "engines": { 1556 | "node": ">=12" 1557 | }, 1558 | "funding": { 1559 | "url": "https://github.com/sponsors/sindresorhus" 1560 | } 1561 | }, 1562 | "node_modules/eslint-module-utils": { 1563 | "version": "2.7.4", 1564 | "license": "MIT", 1565 | "dependencies": { 1566 | "debug": "^3.2.7" 1567 | }, 1568 | "engines": { 1569 | "node": ">=4" 1570 | }, 1571 | "peerDependenciesMeta": { 1572 | "eslint": { 1573 | "optional": true 1574 | } 1575 | } 1576 | }, 1577 | "node_modules/eslint-module-utils/node_modules/debug": { 1578 | "version": "3.2.7", 1579 | "license": "MIT", 1580 | "dependencies": { 1581 | "ms": "^2.1.1" 1582 | } 1583 | }, 1584 | "node_modules/eslint-plugin-import": { 1585 | "version": "2.27.5", 1586 | "license": "MIT", 1587 | "dependencies": { 1588 | "array-includes": "^3.1.6", 1589 | "array.prototype.flat": "^1.3.1", 1590 | "array.prototype.flatmap": "^1.3.1", 1591 | "debug": "^3.2.7", 1592 | "doctrine": "^2.1.0", 1593 | "eslint-import-resolver-node": "^0.3.7", 1594 | "eslint-module-utils": "^2.7.4", 1595 | "has": "^1.0.3", 1596 | "is-core-module": "^2.11.0", 1597 | "is-glob": "^4.0.3", 1598 | "minimatch": "^3.1.2", 1599 | "object.values": "^1.1.6", 1600 | "resolve": "^1.22.1", 1601 | "semver": "^6.3.0", 1602 | "tsconfig-paths": "^3.14.1" 1603 | }, 1604 | "engines": { 1605 | "node": ">=4" 1606 | }, 1607 | "peerDependencies": { 1608 | "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" 1609 | } 1610 | }, 1611 | "node_modules/eslint-plugin-import/node_modules/debug": { 1612 | "version": "3.2.7", 1613 | "license": "MIT", 1614 | "dependencies": { 1615 | "ms": "^2.1.1" 1616 | } 1617 | }, 1618 | "node_modules/eslint-plugin-import/node_modules/doctrine": { 1619 | "version": "2.1.0", 1620 | "license": "Apache-2.0", 1621 | "dependencies": { 1622 | "esutils": "^2.0.2" 1623 | }, 1624 | "engines": { 1625 | "node": ">=0.10.0" 1626 | } 1627 | }, 1628 | "node_modules/eslint-plugin-import/node_modules/semver": { 1629 | "version": "6.3.0", 1630 | "license": "ISC", 1631 | "bin": { 1632 | "semver": "bin/semver.js" 1633 | } 1634 | }, 1635 | "node_modules/eslint-plugin-jsx-a11y": { 1636 | "version": "6.7.1", 1637 | "license": "MIT", 1638 | "dependencies": { 1639 | "@babel/runtime": "^7.20.7", 1640 | "aria-query": "^5.1.3", 1641 | "array-includes": "^3.1.6", 1642 | "array.prototype.flatmap": "^1.3.1", 1643 | "ast-types-flow": "^0.0.7", 1644 | "axe-core": "^4.6.2", 1645 | "axobject-query": "^3.1.1", 1646 | "damerau-levenshtein": "^1.0.8", 1647 | "emoji-regex": "^9.2.2", 1648 | "has": "^1.0.3", 1649 | "jsx-ast-utils": "^3.3.3", 1650 | "language-tags": "=1.0.5", 1651 | "minimatch": "^3.1.2", 1652 | "object.entries": "^1.1.6", 1653 | "object.fromentries": "^2.0.6", 1654 | "semver": "^6.3.0" 1655 | }, 1656 | "engines": { 1657 | "node": ">=4.0" 1658 | }, 1659 | "peerDependencies": { 1660 | "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" 1661 | } 1662 | }, 1663 | "node_modules/eslint-plugin-jsx-a11y/node_modules/semver": { 1664 | "version": "6.3.0", 1665 | "license": "ISC", 1666 | "bin": { 1667 | "semver": "bin/semver.js" 1668 | } 1669 | }, 1670 | "node_modules/eslint-plugin-react": { 1671 | "version": "7.32.2", 1672 | "license": "MIT", 1673 | "dependencies": { 1674 | "array-includes": "^3.1.6", 1675 | "array.prototype.flatmap": "^1.3.1", 1676 | "array.prototype.tosorted": "^1.1.1", 1677 | "doctrine": "^2.1.0", 1678 | "estraverse": "^5.3.0", 1679 | "jsx-ast-utils": "^2.4.1 || ^3.0.0", 1680 | "minimatch": "^3.1.2", 1681 | "object.entries": "^1.1.6", 1682 | "object.fromentries": "^2.0.6", 1683 | "object.hasown": "^1.1.2", 1684 | "object.values": "^1.1.6", 1685 | "prop-types": "^15.8.1", 1686 | "resolve": "^2.0.0-next.4", 1687 | "semver": "^6.3.0", 1688 | "string.prototype.matchall": "^4.0.8" 1689 | }, 1690 | "engines": { 1691 | "node": ">=4" 1692 | }, 1693 | "peerDependencies": { 1694 | "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" 1695 | } 1696 | }, 1697 | "node_modules/eslint-plugin-react-hooks": { 1698 | "version": "4.6.0", 1699 | "license": "MIT", 1700 | "engines": { 1701 | "node": ">=10" 1702 | }, 1703 | "peerDependencies": { 1704 | "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" 1705 | } 1706 | }, 1707 | "node_modules/eslint-plugin-react/node_modules/doctrine": { 1708 | "version": "2.1.0", 1709 | "license": "Apache-2.0", 1710 | "dependencies": { 1711 | "esutils": "^2.0.2" 1712 | }, 1713 | "engines": { 1714 | "node": ">=0.10.0" 1715 | } 1716 | }, 1717 | "node_modules/eslint-plugin-react/node_modules/resolve": { 1718 | "version": "2.0.0-next.4", 1719 | "license": "MIT", 1720 | "dependencies": { 1721 | "is-core-module": "^2.9.0", 1722 | "path-parse": "^1.0.7", 1723 | "supports-preserve-symlinks-flag": "^1.0.0" 1724 | }, 1725 | "bin": { 1726 | "resolve": "bin/resolve" 1727 | }, 1728 | "funding": { 1729 | "url": "https://github.com/sponsors/ljharb" 1730 | } 1731 | }, 1732 | "node_modules/eslint-plugin-react/node_modules/semver": { 1733 | "version": "6.3.0", 1734 | "license": "ISC", 1735 | "bin": { 1736 | "semver": "bin/semver.js" 1737 | } 1738 | }, 1739 | "node_modules/eslint-scope": { 1740 | "version": "7.1.1", 1741 | "license": "BSD-2-Clause", 1742 | "dependencies": { 1743 | "esrecurse": "^4.3.0", 1744 | "estraverse": "^5.2.0" 1745 | }, 1746 | "engines": { 1747 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 1748 | } 1749 | }, 1750 | "node_modules/eslint-utils": { 1751 | "version": "3.0.0", 1752 | "license": "MIT", 1753 | "dependencies": { 1754 | "eslint-visitor-keys": "^2.0.0" 1755 | }, 1756 | "engines": { 1757 | "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" 1758 | }, 1759 | "funding": { 1760 | "url": "https://github.com/sponsors/mysticatea" 1761 | }, 1762 | "peerDependencies": { 1763 | "eslint": ">=5" 1764 | } 1765 | }, 1766 | "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { 1767 | "version": "2.1.0", 1768 | "license": "Apache-2.0", 1769 | "engines": { 1770 | "node": ">=10" 1771 | } 1772 | }, 1773 | "node_modules/eslint-visitor-keys": { 1774 | "version": "3.3.0", 1775 | "license": "Apache-2.0", 1776 | "engines": { 1777 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 1778 | } 1779 | }, 1780 | "node_modules/espree": { 1781 | "version": "9.4.1", 1782 | "license": "BSD-2-Clause", 1783 | "dependencies": { 1784 | "acorn": "^8.8.0", 1785 | "acorn-jsx": "^5.3.2", 1786 | "eslint-visitor-keys": "^3.3.0" 1787 | }, 1788 | "engines": { 1789 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 1790 | }, 1791 | "funding": { 1792 | "url": "https://opencollective.com/eslint" 1793 | } 1794 | }, 1795 | "node_modules/esquery": { 1796 | "version": "1.5.0", 1797 | "license": "BSD-3-Clause", 1798 | "dependencies": { 1799 | "estraverse": "^5.1.0" 1800 | }, 1801 | "engines": { 1802 | "node": ">=0.10" 1803 | } 1804 | }, 1805 | "node_modules/esrecurse": { 1806 | "version": "4.3.0", 1807 | "license": "BSD-2-Clause", 1808 | "dependencies": { 1809 | "estraverse": "^5.2.0" 1810 | }, 1811 | "engines": { 1812 | "node": ">=4.0" 1813 | } 1814 | }, 1815 | "node_modules/estraverse": { 1816 | "version": "5.3.0", 1817 | "license": "BSD-2-Clause", 1818 | "engines": { 1819 | "node": ">=4.0" 1820 | } 1821 | }, 1822 | "node_modules/esutils": { 1823 | "version": "2.0.3", 1824 | "license": "BSD-2-Clause", 1825 | "engines": { 1826 | "node": ">=0.10.0" 1827 | } 1828 | }, 1829 | "node_modules/fast-deep-equal": { 1830 | "version": "3.1.3", 1831 | "license": "MIT" 1832 | }, 1833 | "node_modules/fast-glob": { 1834 | "version": "3.2.12", 1835 | "license": "MIT", 1836 | "dependencies": { 1837 | "@nodelib/fs.stat": "^2.0.2", 1838 | "@nodelib/fs.walk": "^1.2.3", 1839 | "glob-parent": "^5.1.2", 1840 | "merge2": "^1.3.0", 1841 | "micromatch": "^4.0.4" 1842 | }, 1843 | "engines": { 1844 | "node": ">=8.6.0" 1845 | } 1846 | }, 1847 | "node_modules/fast-glob/node_modules/glob-parent": { 1848 | "version": "5.1.2", 1849 | "license": "ISC", 1850 | "dependencies": { 1851 | "is-glob": "^4.0.1" 1852 | }, 1853 | "engines": { 1854 | "node": ">= 6" 1855 | } 1856 | }, 1857 | "node_modules/fast-json-stable-stringify": { 1858 | "version": "2.1.0", 1859 | "license": "MIT" 1860 | }, 1861 | "node_modules/fast-levenshtein": { 1862 | "version": "2.0.6", 1863 | "license": "MIT" 1864 | }, 1865 | "node_modules/fastq": { 1866 | "version": "1.15.0", 1867 | "license": "ISC", 1868 | "dependencies": { 1869 | "reusify": "^1.0.4" 1870 | } 1871 | }, 1872 | "node_modules/fault": { 1873 | "version": "1.0.4", 1874 | "resolved": "https://registry.npmjs.org/fault/-/fault-1.0.4.tgz", 1875 | "integrity": "sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==", 1876 | "dependencies": { 1877 | "format": "^0.2.0" 1878 | }, 1879 | "funding": { 1880 | "type": "github", 1881 | "url": "https://github.com/sponsors/wooorm" 1882 | } 1883 | }, 1884 | "node_modules/file-entry-cache": { 1885 | "version": "6.0.1", 1886 | "license": "MIT", 1887 | "dependencies": { 1888 | "flat-cache": "^3.0.4" 1889 | }, 1890 | "engines": { 1891 | "node": "^10.12.0 || >=12.0.0" 1892 | } 1893 | }, 1894 | "node_modules/fill-range": { 1895 | "version": "7.0.1", 1896 | "license": "MIT", 1897 | "dependencies": { 1898 | "to-regex-range": "^5.0.1" 1899 | }, 1900 | "engines": { 1901 | "node": ">=8" 1902 | } 1903 | }, 1904 | "node_modules/find-up": { 1905 | "version": "5.0.0", 1906 | "license": "MIT", 1907 | "dependencies": { 1908 | "locate-path": "^6.0.0", 1909 | "path-exists": "^4.0.0" 1910 | }, 1911 | "engines": { 1912 | "node": ">=10" 1913 | }, 1914 | "funding": { 1915 | "url": "https://github.com/sponsors/sindresorhus" 1916 | } 1917 | }, 1918 | "node_modules/flat-cache": { 1919 | "version": "3.0.4", 1920 | "license": "MIT", 1921 | "dependencies": { 1922 | "flatted": "^3.1.0", 1923 | "rimraf": "^3.0.2" 1924 | }, 1925 | "engines": { 1926 | "node": "^10.12.0 || >=12.0.0" 1927 | } 1928 | }, 1929 | "node_modules/flatted": { 1930 | "version": "3.2.7", 1931 | "license": "ISC" 1932 | }, 1933 | "node_modules/for-each": { 1934 | "version": "0.3.3", 1935 | "license": "MIT", 1936 | "dependencies": { 1937 | "is-callable": "^1.1.3" 1938 | } 1939 | }, 1940 | "node_modules/format": { 1941 | "version": "0.2.2", 1942 | "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz", 1943 | "integrity": "sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==", 1944 | "engines": { 1945 | "node": ">=0.4.x" 1946 | } 1947 | }, 1948 | "node_modules/fs.realpath": { 1949 | "version": "1.0.0", 1950 | "license": "ISC" 1951 | }, 1952 | "node_modules/function-bind": { 1953 | "version": "1.1.1", 1954 | "license": "MIT" 1955 | }, 1956 | "node_modules/function.prototype.name": { 1957 | "version": "1.1.5", 1958 | "license": "MIT", 1959 | "dependencies": { 1960 | "call-bind": "^1.0.2", 1961 | "define-properties": "^1.1.3", 1962 | "es-abstract": "^1.19.0", 1963 | "functions-have-names": "^1.2.2" 1964 | }, 1965 | "engines": { 1966 | "node": ">= 0.4" 1967 | }, 1968 | "funding": { 1969 | "url": "https://github.com/sponsors/ljharb" 1970 | } 1971 | }, 1972 | "node_modules/functions-have-names": { 1973 | "version": "1.2.3", 1974 | "license": "MIT", 1975 | "funding": { 1976 | "url": "https://github.com/sponsors/ljharb" 1977 | } 1978 | }, 1979 | "node_modules/get-intrinsic": { 1980 | "version": "1.2.0", 1981 | "license": "MIT", 1982 | "dependencies": { 1983 | "function-bind": "^1.1.1", 1984 | "has": "^1.0.3", 1985 | "has-symbols": "^1.0.3" 1986 | }, 1987 | "funding": { 1988 | "url": "https://github.com/sponsors/ljharb" 1989 | } 1990 | }, 1991 | "node_modules/get-symbol-description": { 1992 | "version": "1.0.0", 1993 | "license": "MIT", 1994 | "dependencies": { 1995 | "call-bind": "^1.0.2", 1996 | "get-intrinsic": "^1.1.1" 1997 | }, 1998 | "engines": { 1999 | "node": ">= 0.4" 2000 | }, 2001 | "funding": { 2002 | "url": "https://github.com/sponsors/ljharb" 2003 | } 2004 | }, 2005 | "node_modules/get-tsconfig": { 2006 | "version": "4.4.0", 2007 | "license": "MIT", 2008 | "funding": { 2009 | "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" 2010 | } 2011 | }, 2012 | "node_modules/glob": { 2013 | "version": "7.1.7", 2014 | "license": "ISC", 2015 | "dependencies": { 2016 | "fs.realpath": "^1.0.0", 2017 | "inflight": "^1.0.4", 2018 | "inherits": "2", 2019 | "minimatch": "^3.0.4", 2020 | "once": "^1.3.0", 2021 | "path-is-absolute": "^1.0.0" 2022 | }, 2023 | "engines": { 2024 | "node": "*" 2025 | }, 2026 | "funding": { 2027 | "url": "https://github.com/sponsors/isaacs" 2028 | } 2029 | }, 2030 | "node_modules/glob-parent": { 2031 | "version": "6.0.2", 2032 | "license": "ISC", 2033 | "dependencies": { 2034 | "is-glob": "^4.0.3" 2035 | }, 2036 | "engines": { 2037 | "node": ">=10.13.0" 2038 | } 2039 | }, 2040 | "node_modules/globals": { 2041 | "version": "13.20.0", 2042 | "license": "MIT", 2043 | "dependencies": { 2044 | "type-fest": "^0.20.2" 2045 | }, 2046 | "engines": { 2047 | "node": ">=8" 2048 | }, 2049 | "funding": { 2050 | "url": "https://github.com/sponsors/sindresorhus" 2051 | } 2052 | }, 2053 | "node_modules/globalthis": { 2054 | "version": "1.0.3", 2055 | "license": "MIT", 2056 | "dependencies": { 2057 | "define-properties": "^1.1.3" 2058 | }, 2059 | "engines": { 2060 | "node": ">= 0.4" 2061 | }, 2062 | "funding": { 2063 | "url": "https://github.com/sponsors/ljharb" 2064 | } 2065 | }, 2066 | "node_modules/globalyzer": { 2067 | "version": "0.1.0", 2068 | "license": "MIT" 2069 | }, 2070 | "node_modules/globby": { 2071 | "version": "11.1.0", 2072 | "license": "MIT", 2073 | "dependencies": { 2074 | "array-union": "^2.1.0", 2075 | "dir-glob": "^3.0.1", 2076 | "fast-glob": "^3.2.9", 2077 | "ignore": "^5.2.0", 2078 | "merge2": "^1.4.1", 2079 | "slash": "^3.0.0" 2080 | }, 2081 | "engines": { 2082 | "node": ">=10" 2083 | }, 2084 | "funding": { 2085 | "url": "https://github.com/sponsors/sindresorhus" 2086 | } 2087 | }, 2088 | "node_modules/globrex": { 2089 | "version": "0.1.2", 2090 | "license": "MIT" 2091 | }, 2092 | "node_modules/gopd": { 2093 | "version": "1.0.1", 2094 | "license": "MIT", 2095 | "dependencies": { 2096 | "get-intrinsic": "^1.1.3" 2097 | }, 2098 | "funding": { 2099 | "url": "https://github.com/sponsors/ljharb" 2100 | } 2101 | }, 2102 | "node_modules/graceful-fs": { 2103 | "version": "4.2.10", 2104 | "license": "ISC" 2105 | }, 2106 | "node_modules/grapheme-splitter": { 2107 | "version": "1.0.4", 2108 | "license": "MIT" 2109 | }, 2110 | "node_modules/has": { 2111 | "version": "1.0.3", 2112 | "license": "MIT", 2113 | "dependencies": { 2114 | "function-bind": "^1.1.1" 2115 | }, 2116 | "engines": { 2117 | "node": ">= 0.4.0" 2118 | } 2119 | }, 2120 | "node_modules/has-bigints": { 2121 | "version": "1.0.2", 2122 | "license": "MIT", 2123 | "funding": { 2124 | "url": "https://github.com/sponsors/ljharb" 2125 | } 2126 | }, 2127 | "node_modules/has-flag": { 2128 | "version": "4.0.0", 2129 | "license": "MIT", 2130 | "engines": { 2131 | "node": ">=8" 2132 | } 2133 | }, 2134 | "node_modules/has-property-descriptors": { 2135 | "version": "1.0.0", 2136 | "license": "MIT", 2137 | "dependencies": { 2138 | "get-intrinsic": "^1.1.1" 2139 | }, 2140 | "funding": { 2141 | "url": "https://github.com/sponsors/ljharb" 2142 | } 2143 | }, 2144 | "node_modules/has-proto": { 2145 | "version": "1.0.1", 2146 | "license": "MIT", 2147 | "engines": { 2148 | "node": ">= 0.4" 2149 | }, 2150 | "funding": { 2151 | "url": "https://github.com/sponsors/ljharb" 2152 | } 2153 | }, 2154 | "node_modules/has-symbols": { 2155 | "version": "1.0.3", 2156 | "license": "MIT", 2157 | "engines": { 2158 | "node": ">= 0.4" 2159 | }, 2160 | "funding": { 2161 | "url": "https://github.com/sponsors/ljharb" 2162 | } 2163 | }, 2164 | "node_modules/has-tostringtag": { 2165 | "version": "1.0.0", 2166 | "license": "MIT", 2167 | "dependencies": { 2168 | "has-symbols": "^1.0.2" 2169 | }, 2170 | "engines": { 2171 | "node": ">= 0.4" 2172 | }, 2173 | "funding": { 2174 | "url": "https://github.com/sponsors/ljharb" 2175 | } 2176 | }, 2177 | "node_modules/hast-util-parse-selector": { 2178 | "version": "2.2.5", 2179 | "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-2.2.5.tgz", 2180 | "integrity": "sha512-7j6mrk/qqkSehsM92wQjdIgWM2/BW61u/53G6xmC8i1OmEdKLHbk419QKQUjz6LglWsfqoiHmyMRkP1BGjecNQ==", 2181 | "funding": { 2182 | "type": "opencollective", 2183 | "url": "https://opencollective.com/unified" 2184 | } 2185 | }, 2186 | "node_modules/hastscript": { 2187 | "version": "6.0.0", 2188 | "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-6.0.0.tgz", 2189 | "integrity": "sha512-nDM6bvd7lIqDUiYEiu5Sl/+6ReP0BMk/2f4U/Rooccxkj0P5nm+acM5PrGJ/t5I8qPGiqZSE6hVAwZEdZIvP4w==", 2190 | "dependencies": { 2191 | "@types/hast": "^2.0.0", 2192 | "comma-separated-tokens": "^1.0.0", 2193 | "hast-util-parse-selector": "^2.0.0", 2194 | "property-information": "^5.0.0", 2195 | "space-separated-tokens": "^1.0.0" 2196 | }, 2197 | "funding": { 2198 | "type": "opencollective", 2199 | "url": "https://opencollective.com/unified" 2200 | } 2201 | }, 2202 | "node_modules/highlight.js": { 2203 | "version": "10.7.3", 2204 | "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.3.tgz", 2205 | "integrity": "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==", 2206 | "engines": { 2207 | "node": "*" 2208 | } 2209 | }, 2210 | "node_modules/hoist-non-react-statics": { 2211 | "version": "3.3.2", 2212 | "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", 2213 | "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", 2214 | "dependencies": { 2215 | "react-is": "^16.7.0" 2216 | } 2217 | }, 2218 | "node_modules/ignore": { 2219 | "version": "5.2.4", 2220 | "license": "MIT", 2221 | "engines": { 2222 | "node": ">= 4" 2223 | } 2224 | }, 2225 | "node_modules/import-fresh": { 2226 | "version": "3.3.0", 2227 | "license": "MIT", 2228 | "dependencies": { 2229 | "parent-module": "^1.0.0", 2230 | "resolve-from": "^4.0.0" 2231 | }, 2232 | "engines": { 2233 | "node": ">=6" 2234 | }, 2235 | "funding": { 2236 | "url": "https://github.com/sponsors/sindresorhus" 2237 | } 2238 | }, 2239 | "node_modules/imurmurhash": { 2240 | "version": "0.1.4", 2241 | "license": "MIT", 2242 | "engines": { 2243 | "node": ">=0.8.19" 2244 | } 2245 | }, 2246 | "node_modules/inflight": { 2247 | "version": "1.0.6", 2248 | "license": "ISC", 2249 | "dependencies": { 2250 | "once": "^1.3.0", 2251 | "wrappy": "1" 2252 | } 2253 | }, 2254 | "node_modules/inherits": { 2255 | "version": "2.0.4", 2256 | "license": "ISC" 2257 | }, 2258 | "node_modules/internal-slot": { 2259 | "version": "1.0.5", 2260 | "license": "MIT", 2261 | "dependencies": { 2262 | "get-intrinsic": "^1.2.0", 2263 | "has": "^1.0.3", 2264 | "side-channel": "^1.0.4" 2265 | }, 2266 | "engines": { 2267 | "node": ">= 0.4" 2268 | } 2269 | }, 2270 | "node_modules/is-alphabetical": { 2271 | "version": "1.0.4", 2272 | "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-1.0.4.tgz", 2273 | "integrity": "sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==", 2274 | "funding": { 2275 | "type": "github", 2276 | "url": "https://github.com/sponsors/wooorm" 2277 | } 2278 | }, 2279 | "node_modules/is-alphanumerical": { 2280 | "version": "1.0.4", 2281 | "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz", 2282 | "integrity": "sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==", 2283 | "dependencies": { 2284 | "is-alphabetical": "^1.0.0", 2285 | "is-decimal": "^1.0.0" 2286 | }, 2287 | "funding": { 2288 | "type": "github", 2289 | "url": "https://github.com/sponsors/wooorm" 2290 | } 2291 | }, 2292 | "node_modules/is-arguments": { 2293 | "version": "1.1.1", 2294 | "license": "MIT", 2295 | "dependencies": { 2296 | "call-bind": "^1.0.2", 2297 | "has-tostringtag": "^1.0.0" 2298 | }, 2299 | "engines": { 2300 | "node": ">= 0.4" 2301 | }, 2302 | "funding": { 2303 | "url": "https://github.com/sponsors/ljharb" 2304 | } 2305 | }, 2306 | "node_modules/is-array-buffer": { 2307 | "version": "3.0.2", 2308 | "license": "MIT", 2309 | "dependencies": { 2310 | "call-bind": "^1.0.2", 2311 | "get-intrinsic": "^1.2.0", 2312 | "is-typed-array": "^1.1.10" 2313 | }, 2314 | "funding": { 2315 | "url": "https://github.com/sponsors/ljharb" 2316 | } 2317 | }, 2318 | "node_modules/is-bigint": { 2319 | "version": "1.0.4", 2320 | "license": "MIT", 2321 | "dependencies": { 2322 | "has-bigints": "^1.0.1" 2323 | }, 2324 | "funding": { 2325 | "url": "https://github.com/sponsors/ljharb" 2326 | } 2327 | }, 2328 | "node_modules/is-boolean-object": { 2329 | "version": "1.1.2", 2330 | "license": "MIT", 2331 | "dependencies": { 2332 | "call-bind": "^1.0.2", 2333 | "has-tostringtag": "^1.0.0" 2334 | }, 2335 | "engines": { 2336 | "node": ">= 0.4" 2337 | }, 2338 | "funding": { 2339 | "url": "https://github.com/sponsors/ljharb" 2340 | } 2341 | }, 2342 | "node_modules/is-callable": { 2343 | "version": "1.2.7", 2344 | "license": "MIT", 2345 | "engines": { 2346 | "node": ">= 0.4" 2347 | }, 2348 | "funding": { 2349 | "url": "https://github.com/sponsors/ljharb" 2350 | } 2351 | }, 2352 | "node_modules/is-core-module": { 2353 | "version": "2.11.0", 2354 | "license": "MIT", 2355 | "dependencies": { 2356 | "has": "^1.0.3" 2357 | }, 2358 | "funding": { 2359 | "url": "https://github.com/sponsors/ljharb" 2360 | } 2361 | }, 2362 | "node_modules/is-date-object": { 2363 | "version": "1.0.5", 2364 | "license": "MIT", 2365 | "dependencies": { 2366 | "has-tostringtag": "^1.0.0" 2367 | }, 2368 | "engines": { 2369 | "node": ">= 0.4" 2370 | }, 2371 | "funding": { 2372 | "url": "https://github.com/sponsors/ljharb" 2373 | } 2374 | }, 2375 | "node_modules/is-decimal": { 2376 | "version": "1.0.4", 2377 | "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.4.tgz", 2378 | "integrity": "sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==", 2379 | "funding": { 2380 | "type": "github", 2381 | "url": "https://github.com/sponsors/wooorm" 2382 | } 2383 | }, 2384 | "node_modules/is-docker": { 2385 | "version": "2.2.1", 2386 | "license": "MIT", 2387 | "bin": { 2388 | "is-docker": "cli.js" 2389 | }, 2390 | "engines": { 2391 | "node": ">=8" 2392 | }, 2393 | "funding": { 2394 | "url": "https://github.com/sponsors/sindresorhus" 2395 | } 2396 | }, 2397 | "node_modules/is-extglob": { 2398 | "version": "2.1.1", 2399 | "license": "MIT", 2400 | "engines": { 2401 | "node": ">=0.10.0" 2402 | } 2403 | }, 2404 | "node_modules/is-glob": { 2405 | "version": "4.0.3", 2406 | "license": "MIT", 2407 | "dependencies": { 2408 | "is-extglob": "^2.1.1" 2409 | }, 2410 | "engines": { 2411 | "node": ">=0.10.0" 2412 | } 2413 | }, 2414 | "node_modules/is-hexadecimal": { 2415 | "version": "1.0.4", 2416 | "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz", 2417 | "integrity": "sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==", 2418 | "funding": { 2419 | "type": "github", 2420 | "url": "https://github.com/sponsors/wooorm" 2421 | } 2422 | }, 2423 | "node_modules/is-map": { 2424 | "version": "2.0.2", 2425 | "license": "MIT", 2426 | "funding": { 2427 | "url": "https://github.com/sponsors/ljharb" 2428 | } 2429 | }, 2430 | "node_modules/is-negative-zero": { 2431 | "version": "2.0.2", 2432 | "license": "MIT", 2433 | "engines": { 2434 | "node": ">= 0.4" 2435 | }, 2436 | "funding": { 2437 | "url": "https://github.com/sponsors/ljharb" 2438 | } 2439 | }, 2440 | "node_modules/is-number": { 2441 | "version": "7.0.0", 2442 | "license": "MIT", 2443 | "engines": { 2444 | "node": ">=0.12.0" 2445 | } 2446 | }, 2447 | "node_modules/is-number-object": { 2448 | "version": "1.0.7", 2449 | "license": "MIT", 2450 | "dependencies": { 2451 | "has-tostringtag": "^1.0.0" 2452 | }, 2453 | "engines": { 2454 | "node": ">= 0.4" 2455 | }, 2456 | "funding": { 2457 | "url": "https://github.com/sponsors/ljharb" 2458 | } 2459 | }, 2460 | "node_modules/is-path-inside": { 2461 | "version": "3.0.3", 2462 | "license": "MIT", 2463 | "engines": { 2464 | "node": ">=8" 2465 | } 2466 | }, 2467 | "node_modules/is-regex": { 2468 | "version": "1.1.4", 2469 | "license": "MIT", 2470 | "dependencies": { 2471 | "call-bind": "^1.0.2", 2472 | "has-tostringtag": "^1.0.0" 2473 | }, 2474 | "engines": { 2475 | "node": ">= 0.4" 2476 | }, 2477 | "funding": { 2478 | "url": "https://github.com/sponsors/ljharb" 2479 | } 2480 | }, 2481 | "node_modules/is-set": { 2482 | "version": "2.0.2", 2483 | "license": "MIT", 2484 | "funding": { 2485 | "url": "https://github.com/sponsors/ljharb" 2486 | } 2487 | }, 2488 | "node_modules/is-shared-array-buffer": { 2489 | "version": "1.0.2", 2490 | "license": "MIT", 2491 | "dependencies": { 2492 | "call-bind": "^1.0.2" 2493 | }, 2494 | "funding": { 2495 | "url": "https://github.com/sponsors/ljharb" 2496 | } 2497 | }, 2498 | "node_modules/is-string": { 2499 | "version": "1.0.7", 2500 | "license": "MIT", 2501 | "dependencies": { 2502 | "has-tostringtag": "^1.0.0" 2503 | }, 2504 | "engines": { 2505 | "node": ">= 0.4" 2506 | }, 2507 | "funding": { 2508 | "url": "https://github.com/sponsors/ljharb" 2509 | } 2510 | }, 2511 | "node_modules/is-symbol": { 2512 | "version": "1.0.4", 2513 | "license": "MIT", 2514 | "dependencies": { 2515 | "has-symbols": "^1.0.2" 2516 | }, 2517 | "engines": { 2518 | "node": ">= 0.4" 2519 | }, 2520 | "funding": { 2521 | "url": "https://github.com/sponsors/ljharb" 2522 | } 2523 | }, 2524 | "node_modules/is-typed-array": { 2525 | "version": "1.1.10", 2526 | "license": "MIT", 2527 | "dependencies": { 2528 | "available-typed-arrays": "^1.0.5", 2529 | "call-bind": "^1.0.2", 2530 | "for-each": "^0.3.3", 2531 | "gopd": "^1.0.1", 2532 | "has-tostringtag": "^1.0.0" 2533 | }, 2534 | "engines": { 2535 | "node": ">= 0.4" 2536 | }, 2537 | "funding": { 2538 | "url": "https://github.com/sponsors/ljharb" 2539 | } 2540 | }, 2541 | "node_modules/is-weakmap": { 2542 | "version": "2.0.1", 2543 | "license": "MIT", 2544 | "funding": { 2545 | "url": "https://github.com/sponsors/ljharb" 2546 | } 2547 | }, 2548 | "node_modules/is-weakref": { 2549 | "version": "1.0.2", 2550 | "license": "MIT", 2551 | "dependencies": { 2552 | "call-bind": "^1.0.2" 2553 | }, 2554 | "funding": { 2555 | "url": "https://github.com/sponsors/ljharb" 2556 | } 2557 | }, 2558 | "node_modules/is-weakset": { 2559 | "version": "2.0.2", 2560 | "license": "MIT", 2561 | "dependencies": { 2562 | "call-bind": "^1.0.2", 2563 | "get-intrinsic": "^1.1.1" 2564 | }, 2565 | "funding": { 2566 | "url": "https://github.com/sponsors/ljharb" 2567 | } 2568 | }, 2569 | "node_modules/is-wsl": { 2570 | "version": "2.2.0", 2571 | "license": "MIT", 2572 | "dependencies": { 2573 | "is-docker": "^2.0.0" 2574 | }, 2575 | "engines": { 2576 | "node": ">=8" 2577 | } 2578 | }, 2579 | "node_modules/isarray": { 2580 | "version": "2.0.5", 2581 | "license": "MIT" 2582 | }, 2583 | "node_modules/isexe": { 2584 | "version": "2.0.0", 2585 | "license": "ISC" 2586 | }, 2587 | "node_modules/jb-calendar": { 2588 | "version": "4.1.5", 2589 | "resolved": "https://registry.npmjs.org/jb-calendar/-/jb-calendar-4.1.5.tgz", 2590 | "integrity": "sha512-4F2Nyq5zE4FoCHYFoKfhyTrWbIfFNY/nOXen97T3aoe3ERYDOkgYCjjhaHDWoswdxsyRd6FKe4eBli4lSqm9wQ==", 2591 | "dependencies": { 2592 | "date-fns": "^2.28.0", 2593 | "date-fns-jalali": "^2.28.0-1" 2594 | } 2595 | }, 2596 | "node_modules/jb-date-input": { 2597 | "version": "3.13.0", 2598 | "resolved": "https://registry.npmjs.org/jb-date-input/-/jb-date-input-3.13.0.tgz", 2599 | "integrity": "sha512-/fA3V8lYm0X5Lvzu38nalJWrmJZW5MyvB/5vZm2RNa2PkwGJ0EWWmnh+GHBt7tcfxv8uXzDt0tH4cbzPnOqeeg==", 2600 | "dependencies": { 2601 | "date-fns": "^2.28.0", 2602 | "date-fns-jalali": "^2.28.0-0", 2603 | "jb-calendar": "^4.1.1" 2604 | } 2605 | }, 2606 | "node_modules/jb-date-input-react": { 2607 | "version": "5.0.0", 2608 | "resolved": "https://registry.npmjs.org/jb-date-input-react/-/jb-date-input-react-5.0.0.tgz", 2609 | "integrity": "sha512-QGadytIZiit2jDa8l8X2PXHFe57Pz7bYOjD265xD52UQ4fobL8uePQ0riQ0bkt1X+i6agpseu8oBK+TYrowyww==", 2610 | "dependencies": { 2611 | "jb-date-input": ">=5.0.0" 2612 | } 2613 | }, 2614 | "node_modules/jb-date-input-react/node_modules/jb-date-input": { 2615 | "version": "5.0.0", 2616 | "resolved": "https://registry.npmjs.org/jb-date-input/-/jb-date-input-5.0.0.tgz", 2617 | "integrity": "sha512-sECIU+51XTu2N5YAeiHy2jWhUyWNAl+xUjeOmDNzhMIiiNAvR8i9is12ZbUEJiMK//qa1ugjwFnzbdAQ+4b81A==", 2618 | "dependencies": { 2619 | "date-fns": "^2.28.0", 2620 | "date-fns-jalali": "^2.28.0-1", 2621 | "jb-calendar": ">=4.1.5", 2622 | "jb-input": ">=3.1.0", 2623 | "jb-popover": ">=1.0.0", 2624 | "jb-validation": ">=0.0.2" 2625 | } 2626 | }, 2627 | "node_modules/jb-input": { 2628 | "version": "3.1.0", 2629 | "resolved": "https://registry.npmjs.org/jb-input/-/jb-input-3.1.0.tgz", 2630 | "integrity": "sha512-Tqttp5HsfOjuA0Zh0JN0qcbAdjtshvJ70sdhZkMcljdSnwF/JsR7lvf98ly5LZAcW9AwqloYgfY0i1j6JtOzHA==", 2631 | "dependencies": { 2632 | "jb-validation": ">=0.0.2" 2633 | } 2634 | }, 2635 | "node_modules/jb-popover": { 2636 | "version": "1.0.0", 2637 | "resolved": "https://registry.npmjs.org/jb-popover/-/jb-popover-1.0.0.tgz", 2638 | "integrity": "sha512-JPYMDRFAEuCaslL6E96gUmv9vekVJD4bjEPe9riosR+2k7MgjcIEA0Njr6U0ogYTDcTF4nl4sZmfYEpF6W/BXA==" 2639 | }, 2640 | "node_modules/jb-validation": { 2641 | "version": "0.0.2", 2642 | "resolved": "https://registry.npmjs.org/jb-validation/-/jb-validation-0.0.2.tgz", 2643 | "integrity": "sha512-8ntPKnv/J320n+y30OyAvNSvtOCmC9w3L4nStdk133SNfv7gA+lAF9DMjzfU8wdKxP2HPgpWmKPYEI1RtProJQ==" 2644 | }, 2645 | "node_modules/js-sdsl": { 2646 | "version": "4.3.0", 2647 | "license": "MIT", 2648 | "funding": { 2649 | "type": "opencollective", 2650 | "url": "https://opencollective.com/js-sdsl" 2651 | } 2652 | }, 2653 | "node_modules/js-tokens": { 2654 | "version": "4.0.0", 2655 | "license": "MIT" 2656 | }, 2657 | "node_modules/js-yaml": { 2658 | "version": "4.1.0", 2659 | "license": "MIT", 2660 | "dependencies": { 2661 | "argparse": "^2.0.1" 2662 | }, 2663 | "bin": { 2664 | "js-yaml": "bin/js-yaml.js" 2665 | } 2666 | }, 2667 | "node_modules/jsesc": { 2668 | "version": "2.5.2", 2669 | "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", 2670 | "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", 2671 | "bin": { 2672 | "jsesc": "bin/jsesc" 2673 | }, 2674 | "engines": { 2675 | "node": ">=4" 2676 | } 2677 | }, 2678 | "node_modules/json-schema-traverse": { 2679 | "version": "0.4.1", 2680 | "license": "MIT" 2681 | }, 2682 | "node_modules/json-stable-stringify-without-jsonify": { 2683 | "version": "1.0.1", 2684 | "license": "MIT" 2685 | }, 2686 | "node_modules/json5": { 2687 | "version": "1.0.2", 2688 | "license": "MIT", 2689 | "dependencies": { 2690 | "minimist": "^1.2.0" 2691 | }, 2692 | "bin": { 2693 | "json5": "lib/cli.js" 2694 | } 2695 | }, 2696 | "node_modules/jsx-ast-utils": { 2697 | "version": "3.3.3", 2698 | "license": "MIT", 2699 | "dependencies": { 2700 | "array-includes": "^3.1.5", 2701 | "object.assign": "^4.1.3" 2702 | }, 2703 | "engines": { 2704 | "node": ">=4.0" 2705 | } 2706 | }, 2707 | "node_modules/language-subtag-registry": { 2708 | "version": "0.3.22", 2709 | "license": "CC0-1.0" 2710 | }, 2711 | "node_modules/language-tags": { 2712 | "version": "1.0.5", 2713 | "license": "MIT", 2714 | "dependencies": { 2715 | "language-subtag-registry": "~0.3.2" 2716 | } 2717 | }, 2718 | "node_modules/levn": { 2719 | "version": "0.4.1", 2720 | "license": "MIT", 2721 | "dependencies": { 2722 | "prelude-ls": "^1.2.1", 2723 | "type-check": "~0.4.0" 2724 | }, 2725 | "engines": { 2726 | "node": ">= 0.8.0" 2727 | } 2728 | }, 2729 | "node_modules/locate-path": { 2730 | "version": "6.0.0", 2731 | "license": "MIT", 2732 | "dependencies": { 2733 | "p-locate": "^5.0.0" 2734 | }, 2735 | "engines": { 2736 | "node": ">=10" 2737 | }, 2738 | "funding": { 2739 | "url": "https://github.com/sponsors/sindresorhus" 2740 | } 2741 | }, 2742 | "node_modules/lodash": { 2743 | "version": "4.17.21", 2744 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", 2745 | "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" 2746 | }, 2747 | "node_modules/lodash.merge": { 2748 | "version": "4.6.2", 2749 | "license": "MIT" 2750 | }, 2751 | "node_modules/loose-envify": { 2752 | "version": "1.4.0", 2753 | "license": "MIT", 2754 | "dependencies": { 2755 | "js-tokens": "^3.0.0 || ^4.0.0" 2756 | }, 2757 | "bin": { 2758 | "loose-envify": "cli.js" 2759 | } 2760 | }, 2761 | "node_modules/lowlight": { 2762 | "version": "1.20.0", 2763 | "resolved": "https://registry.npmjs.org/lowlight/-/lowlight-1.20.0.tgz", 2764 | "integrity": "sha512-8Ktj+prEb1RoCPkEOrPMYUN/nCggB7qAWe3a7OpMjWQkh3l2RD5wKRQ+o8Q8YuI9RG/xs95waaI/E6ym/7NsTw==", 2765 | "dependencies": { 2766 | "fault": "^1.0.0", 2767 | "highlight.js": "~10.7.0" 2768 | }, 2769 | "funding": { 2770 | "type": "github", 2771 | "url": "https://github.com/sponsors/wooorm" 2772 | } 2773 | }, 2774 | "node_modules/lru-cache": { 2775 | "version": "6.0.0", 2776 | "license": "ISC", 2777 | "dependencies": { 2778 | "yallist": "^4.0.0" 2779 | }, 2780 | "engines": { 2781 | "node": ">=10" 2782 | } 2783 | }, 2784 | "node_modules/merge2": { 2785 | "version": "1.4.1", 2786 | "license": "MIT", 2787 | "engines": { 2788 | "node": ">= 8" 2789 | } 2790 | }, 2791 | "node_modules/micromatch": { 2792 | "version": "4.0.5", 2793 | "license": "MIT", 2794 | "dependencies": { 2795 | "braces": "^3.0.2", 2796 | "picomatch": "^2.3.1" 2797 | }, 2798 | "engines": { 2799 | "node": ">=8.6" 2800 | } 2801 | }, 2802 | "node_modules/minimatch": { 2803 | "version": "3.1.2", 2804 | "license": "ISC", 2805 | "dependencies": { 2806 | "brace-expansion": "^1.1.7" 2807 | }, 2808 | "engines": { 2809 | "node": "*" 2810 | } 2811 | }, 2812 | "node_modules/minimist": { 2813 | "version": "1.2.8", 2814 | "license": "MIT", 2815 | "funding": { 2816 | "url": "https://github.com/sponsors/ljharb" 2817 | } 2818 | }, 2819 | "node_modules/ms": { 2820 | "version": "2.1.2", 2821 | "license": "MIT" 2822 | }, 2823 | "node_modules/nanoid": { 2824 | "version": "3.3.4", 2825 | "license": "MIT", 2826 | "bin": { 2827 | "nanoid": "bin/nanoid.cjs" 2828 | }, 2829 | "engines": { 2830 | "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" 2831 | } 2832 | }, 2833 | "node_modules/natural-compare": { 2834 | "version": "1.4.0", 2835 | "license": "MIT" 2836 | }, 2837 | "node_modules/next": { 2838 | "version": "13.2.3", 2839 | "license": "MIT", 2840 | "dependencies": { 2841 | "@next/env": "13.2.3", 2842 | "@swc/helpers": "0.4.14", 2843 | "caniuse-lite": "^1.0.30001406", 2844 | "postcss": "8.4.14", 2845 | "styled-jsx": "5.1.1" 2846 | }, 2847 | "bin": { 2848 | "next": "dist/bin/next" 2849 | }, 2850 | "engines": { 2851 | "node": ">=14.6.0" 2852 | }, 2853 | "optionalDependencies": { 2854 | "@next/swc-android-arm-eabi": "13.2.3", 2855 | "@next/swc-android-arm64": "13.2.3", 2856 | "@next/swc-darwin-arm64": "13.2.3", 2857 | "@next/swc-darwin-x64": "13.2.3", 2858 | "@next/swc-freebsd-x64": "13.2.3", 2859 | "@next/swc-linux-arm-gnueabihf": "13.2.3", 2860 | "@next/swc-linux-arm64-gnu": "13.2.3", 2861 | "@next/swc-linux-arm64-musl": "13.2.3", 2862 | "@next/swc-linux-x64-gnu": "13.2.3", 2863 | "@next/swc-linux-x64-musl": "13.2.3", 2864 | "@next/swc-win32-arm64-msvc": "13.2.3", 2865 | "@next/swc-win32-ia32-msvc": "13.2.3", 2866 | "@next/swc-win32-x64-msvc": "13.2.3" 2867 | }, 2868 | "peerDependencies": { 2869 | "@opentelemetry/api": "^1.4.0", 2870 | "fibers": ">= 3.1.0", 2871 | "node-sass": "^6.0.0 || ^7.0.0", 2872 | "react": "^18.2.0", 2873 | "react-dom": "^18.2.0", 2874 | "sass": "^1.3.0" 2875 | }, 2876 | "peerDependenciesMeta": { 2877 | "@opentelemetry/api": { 2878 | "optional": true 2879 | }, 2880 | "fibers": { 2881 | "optional": true 2882 | }, 2883 | "node-sass": { 2884 | "optional": true 2885 | }, 2886 | "sass": { 2887 | "optional": true 2888 | } 2889 | } 2890 | }, 2891 | "node_modules/object-assign": { 2892 | "version": "4.1.1", 2893 | "license": "MIT", 2894 | "engines": { 2895 | "node": ">=0.10.0" 2896 | } 2897 | }, 2898 | "node_modules/object-inspect": { 2899 | "version": "1.12.3", 2900 | "license": "MIT", 2901 | "funding": { 2902 | "url": "https://github.com/sponsors/ljharb" 2903 | } 2904 | }, 2905 | "node_modules/object-is": { 2906 | "version": "1.1.5", 2907 | "license": "MIT", 2908 | "dependencies": { 2909 | "call-bind": "^1.0.2", 2910 | "define-properties": "^1.1.3" 2911 | }, 2912 | "engines": { 2913 | "node": ">= 0.4" 2914 | }, 2915 | "funding": { 2916 | "url": "https://github.com/sponsors/ljharb" 2917 | } 2918 | }, 2919 | "node_modules/object-keys": { 2920 | "version": "1.1.1", 2921 | "license": "MIT", 2922 | "engines": { 2923 | "node": ">= 0.4" 2924 | } 2925 | }, 2926 | "node_modules/object.assign": { 2927 | "version": "4.1.4", 2928 | "license": "MIT", 2929 | "dependencies": { 2930 | "call-bind": "^1.0.2", 2931 | "define-properties": "^1.1.4", 2932 | "has-symbols": "^1.0.3", 2933 | "object-keys": "^1.1.1" 2934 | }, 2935 | "engines": { 2936 | "node": ">= 0.4" 2937 | }, 2938 | "funding": { 2939 | "url": "https://github.com/sponsors/ljharb" 2940 | } 2941 | }, 2942 | "node_modules/object.entries": { 2943 | "version": "1.1.6", 2944 | "license": "MIT", 2945 | "dependencies": { 2946 | "call-bind": "^1.0.2", 2947 | "define-properties": "^1.1.4", 2948 | "es-abstract": "^1.20.4" 2949 | }, 2950 | "engines": { 2951 | "node": ">= 0.4" 2952 | } 2953 | }, 2954 | "node_modules/object.fromentries": { 2955 | "version": "2.0.6", 2956 | "license": "MIT", 2957 | "dependencies": { 2958 | "call-bind": "^1.0.2", 2959 | "define-properties": "^1.1.4", 2960 | "es-abstract": "^1.20.4" 2961 | }, 2962 | "engines": { 2963 | "node": ">= 0.4" 2964 | }, 2965 | "funding": { 2966 | "url": "https://github.com/sponsors/ljharb" 2967 | } 2968 | }, 2969 | "node_modules/object.hasown": { 2970 | "version": "1.1.2", 2971 | "license": "MIT", 2972 | "dependencies": { 2973 | "define-properties": "^1.1.4", 2974 | "es-abstract": "^1.20.4" 2975 | }, 2976 | "funding": { 2977 | "url": "https://github.com/sponsors/ljharb" 2978 | } 2979 | }, 2980 | "node_modules/object.values": { 2981 | "version": "1.1.6", 2982 | "license": "MIT", 2983 | "dependencies": { 2984 | "call-bind": "^1.0.2", 2985 | "define-properties": "^1.1.4", 2986 | "es-abstract": "^1.20.4" 2987 | }, 2988 | "engines": { 2989 | "node": ">= 0.4" 2990 | }, 2991 | "funding": { 2992 | "url": "https://github.com/sponsors/ljharb" 2993 | } 2994 | }, 2995 | "node_modules/once": { 2996 | "version": "1.4.0", 2997 | "license": "ISC", 2998 | "dependencies": { 2999 | "wrappy": "1" 3000 | } 3001 | }, 3002 | "node_modules/open": { 3003 | "version": "8.4.2", 3004 | "license": "MIT", 3005 | "dependencies": { 3006 | "define-lazy-prop": "^2.0.0", 3007 | "is-docker": "^2.1.1", 3008 | "is-wsl": "^2.2.0" 3009 | }, 3010 | "engines": { 3011 | "node": ">=12" 3012 | }, 3013 | "funding": { 3014 | "url": "https://github.com/sponsors/sindresorhus" 3015 | } 3016 | }, 3017 | "node_modules/optionator": { 3018 | "version": "0.9.1", 3019 | "license": "MIT", 3020 | "dependencies": { 3021 | "deep-is": "^0.1.3", 3022 | "fast-levenshtein": "^2.0.6", 3023 | "levn": "^0.4.1", 3024 | "prelude-ls": "^1.2.1", 3025 | "type-check": "^0.4.0", 3026 | "word-wrap": "^1.2.3" 3027 | }, 3028 | "engines": { 3029 | "node": ">= 0.8.0" 3030 | } 3031 | }, 3032 | "node_modules/p-limit": { 3033 | "version": "3.1.0", 3034 | "license": "MIT", 3035 | "dependencies": { 3036 | "yocto-queue": "^0.1.0" 3037 | }, 3038 | "engines": { 3039 | "node": ">=10" 3040 | }, 3041 | "funding": { 3042 | "url": "https://github.com/sponsors/sindresorhus" 3043 | } 3044 | }, 3045 | "node_modules/p-locate": { 3046 | "version": "5.0.0", 3047 | "license": "MIT", 3048 | "dependencies": { 3049 | "p-limit": "^3.0.2" 3050 | }, 3051 | "engines": { 3052 | "node": ">=10" 3053 | }, 3054 | "funding": { 3055 | "url": "https://github.com/sponsors/sindresorhus" 3056 | } 3057 | }, 3058 | "node_modules/parent-module": { 3059 | "version": "1.0.1", 3060 | "license": "MIT", 3061 | "dependencies": { 3062 | "callsites": "^3.0.0" 3063 | }, 3064 | "engines": { 3065 | "node": ">=6" 3066 | } 3067 | }, 3068 | "node_modules/parse-entities": { 3069 | "version": "2.0.0", 3070 | "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-2.0.0.tgz", 3071 | "integrity": "sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==", 3072 | "dependencies": { 3073 | "character-entities": "^1.0.0", 3074 | "character-entities-legacy": "^1.0.0", 3075 | "character-reference-invalid": "^1.0.0", 3076 | "is-alphanumerical": "^1.0.0", 3077 | "is-decimal": "^1.0.0", 3078 | "is-hexadecimal": "^1.0.0" 3079 | }, 3080 | "funding": { 3081 | "type": "github", 3082 | "url": "https://github.com/sponsors/wooorm" 3083 | } 3084 | }, 3085 | "node_modules/path-exists": { 3086 | "version": "4.0.0", 3087 | "license": "MIT", 3088 | "engines": { 3089 | "node": ">=8" 3090 | } 3091 | }, 3092 | "node_modules/path-is-absolute": { 3093 | "version": "1.0.1", 3094 | "license": "MIT", 3095 | "engines": { 3096 | "node": ">=0.10.0" 3097 | } 3098 | }, 3099 | "node_modules/path-key": { 3100 | "version": "3.1.1", 3101 | "license": "MIT", 3102 | "engines": { 3103 | "node": ">=8" 3104 | } 3105 | }, 3106 | "node_modules/path-parse": { 3107 | "version": "1.0.7", 3108 | "license": "MIT" 3109 | }, 3110 | "node_modules/path-type": { 3111 | "version": "4.0.0", 3112 | "license": "MIT", 3113 | "engines": { 3114 | "node": ">=8" 3115 | } 3116 | }, 3117 | "node_modules/picocolors": { 3118 | "version": "1.0.0", 3119 | "license": "ISC" 3120 | }, 3121 | "node_modules/picomatch": { 3122 | "version": "2.3.1", 3123 | "license": "MIT", 3124 | "engines": { 3125 | "node": ">=8.6" 3126 | }, 3127 | "funding": { 3128 | "url": "https://github.com/sponsors/jonschlinkert" 3129 | } 3130 | }, 3131 | "node_modules/postcss": { 3132 | "version": "8.4.14", 3133 | "funding": [ 3134 | { 3135 | "type": "opencollective", 3136 | "url": "https://opencollective.com/postcss/" 3137 | }, 3138 | { 3139 | "type": "tidelift", 3140 | "url": "https://tidelift.com/funding/github/npm/postcss" 3141 | } 3142 | ], 3143 | "license": "MIT", 3144 | "dependencies": { 3145 | "nanoid": "^3.3.4", 3146 | "picocolors": "^1.0.0", 3147 | "source-map-js": "^1.0.2" 3148 | }, 3149 | "engines": { 3150 | "node": "^10 || ^12 || >=14" 3151 | } 3152 | }, 3153 | "node_modules/postcss-value-parser": { 3154 | "version": "4.2.0", 3155 | "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", 3156 | "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" 3157 | }, 3158 | "node_modules/prelude-ls": { 3159 | "version": "1.2.1", 3160 | "license": "MIT", 3161 | "engines": { 3162 | "node": ">= 0.8.0" 3163 | } 3164 | }, 3165 | "node_modules/prismjs": { 3166 | "version": "1.29.0", 3167 | "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.29.0.tgz", 3168 | "integrity": "sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==", 3169 | "engines": { 3170 | "node": ">=6" 3171 | } 3172 | }, 3173 | "node_modules/prop-types": { 3174 | "version": "15.8.1", 3175 | "license": "MIT", 3176 | "dependencies": { 3177 | "loose-envify": "^1.4.0", 3178 | "object-assign": "^4.1.1", 3179 | "react-is": "^16.13.1" 3180 | } 3181 | }, 3182 | "node_modules/property-information": { 3183 | "version": "5.6.0", 3184 | "resolved": "https://registry.npmjs.org/property-information/-/property-information-5.6.0.tgz", 3185 | "integrity": "sha512-YUHSPk+A30YPv+0Qf8i9Mbfe/C0hdPXk1s1jPVToV8pk8BQtpw10ct89Eo7OWkutrwqvT0eicAxlOg3dOAu8JA==", 3186 | "dependencies": { 3187 | "xtend": "^4.0.0" 3188 | }, 3189 | "funding": { 3190 | "type": "github", 3191 | "url": "https://github.com/sponsors/wooorm" 3192 | } 3193 | }, 3194 | "node_modules/punycode": { 3195 | "version": "2.3.0", 3196 | "license": "MIT", 3197 | "engines": { 3198 | "node": ">=6" 3199 | } 3200 | }, 3201 | "node_modules/queue-microtask": { 3202 | "version": "1.2.3", 3203 | "funding": [ 3204 | { 3205 | "type": "github", 3206 | "url": "https://github.com/sponsors/feross" 3207 | }, 3208 | { 3209 | "type": "patreon", 3210 | "url": "https://www.patreon.com/feross" 3211 | }, 3212 | { 3213 | "type": "consulting", 3214 | "url": "https://feross.org/support" 3215 | } 3216 | ], 3217 | "license": "MIT" 3218 | }, 3219 | "node_modules/react": { 3220 | "version": "18.2.0", 3221 | "license": "MIT", 3222 | "dependencies": { 3223 | "loose-envify": "^1.1.0" 3224 | }, 3225 | "engines": { 3226 | "node": ">=0.10.0" 3227 | } 3228 | }, 3229 | "node_modules/react-dom": { 3230 | "version": "18.2.0", 3231 | "license": "MIT", 3232 | "dependencies": { 3233 | "loose-envify": "^1.1.0", 3234 | "scheduler": "^0.23.0" 3235 | }, 3236 | "peerDependencies": { 3237 | "react": "^18.2.0" 3238 | } 3239 | }, 3240 | "node_modules/react-is": { 3241 | "version": "16.13.1", 3242 | "license": "MIT" 3243 | }, 3244 | "node_modules/react-syntax-highlighter": { 3245 | "version": "15.5.0", 3246 | "resolved": "https://registry.npmjs.org/react-syntax-highlighter/-/react-syntax-highlighter-15.5.0.tgz", 3247 | "integrity": "sha512-+zq2myprEnQmH5yw6Gqc8lD55QHnpKaU8TOcFeC/Lg/MQSs8UknEA0JC4nTZGFAXC2J2Hyj/ijJ7NlabyPi2gg==", 3248 | "dependencies": { 3249 | "@babel/runtime": "^7.3.1", 3250 | "highlight.js": "^10.4.1", 3251 | "lowlight": "^1.17.0", 3252 | "prismjs": "^1.27.0", 3253 | "refractor": "^3.6.0" 3254 | }, 3255 | "peerDependencies": { 3256 | "react": ">= 0.14.0" 3257 | } 3258 | }, 3259 | "node_modules/refractor": { 3260 | "version": "3.6.0", 3261 | "resolved": "https://registry.npmjs.org/refractor/-/refractor-3.6.0.tgz", 3262 | "integrity": "sha512-MY9W41IOWxxk31o+YvFCNyNzdkc9M20NoZK5vq6jkv4I/uh2zkWcfudj0Q1fovjUQJrNewS9NMzeTtqPf+n5EA==", 3263 | "dependencies": { 3264 | "hastscript": "^6.0.0", 3265 | "parse-entities": "^2.0.0", 3266 | "prismjs": "~1.27.0" 3267 | }, 3268 | "funding": { 3269 | "type": "github", 3270 | "url": "https://github.com/sponsors/wooorm" 3271 | } 3272 | }, 3273 | "node_modules/refractor/node_modules/prismjs": { 3274 | "version": "1.27.0", 3275 | "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.27.0.tgz", 3276 | "integrity": "sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA==", 3277 | "engines": { 3278 | "node": ">=6" 3279 | } 3280 | }, 3281 | "node_modules/regenerator-runtime": { 3282 | "version": "0.13.11", 3283 | "license": "MIT" 3284 | }, 3285 | "node_modules/regexp.prototype.flags": { 3286 | "version": "1.4.3", 3287 | "license": "MIT", 3288 | "dependencies": { 3289 | "call-bind": "^1.0.2", 3290 | "define-properties": "^1.1.3", 3291 | "functions-have-names": "^1.2.2" 3292 | }, 3293 | "engines": { 3294 | "node": ">= 0.4" 3295 | }, 3296 | "funding": { 3297 | "url": "https://github.com/sponsors/ljharb" 3298 | } 3299 | }, 3300 | "node_modules/regexpp": { 3301 | "version": "3.2.0", 3302 | "license": "MIT", 3303 | "engines": { 3304 | "node": ">=8" 3305 | }, 3306 | "funding": { 3307 | "url": "https://github.com/sponsors/mysticatea" 3308 | } 3309 | }, 3310 | "node_modules/resolve": { 3311 | "version": "1.22.1", 3312 | "license": "MIT", 3313 | "dependencies": { 3314 | "is-core-module": "^2.9.0", 3315 | "path-parse": "^1.0.7", 3316 | "supports-preserve-symlinks-flag": "^1.0.0" 3317 | }, 3318 | "bin": { 3319 | "resolve": "bin/resolve" 3320 | }, 3321 | "funding": { 3322 | "url": "https://github.com/sponsors/ljharb" 3323 | } 3324 | }, 3325 | "node_modules/resolve-from": { 3326 | "version": "4.0.0", 3327 | "license": "MIT", 3328 | "engines": { 3329 | "node": ">=4" 3330 | } 3331 | }, 3332 | "node_modules/reusify": { 3333 | "version": "1.0.4", 3334 | "license": "MIT", 3335 | "engines": { 3336 | "iojs": ">=1.0.0", 3337 | "node": ">=0.10.0" 3338 | } 3339 | }, 3340 | "node_modules/rimraf": { 3341 | "version": "3.0.2", 3342 | "license": "ISC", 3343 | "dependencies": { 3344 | "glob": "^7.1.3" 3345 | }, 3346 | "bin": { 3347 | "rimraf": "bin.js" 3348 | }, 3349 | "funding": { 3350 | "url": "https://github.com/sponsors/isaacs" 3351 | } 3352 | }, 3353 | "node_modules/run-parallel": { 3354 | "version": "1.2.0", 3355 | "funding": [ 3356 | { 3357 | "type": "github", 3358 | "url": "https://github.com/sponsors/feross" 3359 | }, 3360 | { 3361 | "type": "patreon", 3362 | "url": "https://www.patreon.com/feross" 3363 | }, 3364 | { 3365 | "type": "consulting", 3366 | "url": "https://feross.org/support" 3367 | } 3368 | ], 3369 | "license": "MIT", 3370 | "dependencies": { 3371 | "queue-microtask": "^1.2.2" 3372 | } 3373 | }, 3374 | "node_modules/safe-regex-test": { 3375 | "version": "1.0.0", 3376 | "license": "MIT", 3377 | "dependencies": { 3378 | "call-bind": "^1.0.2", 3379 | "get-intrinsic": "^1.1.3", 3380 | "is-regex": "^1.1.4" 3381 | }, 3382 | "funding": { 3383 | "url": "https://github.com/sponsors/ljharb" 3384 | } 3385 | }, 3386 | "node_modules/scheduler": { 3387 | "version": "0.23.0", 3388 | "license": "MIT", 3389 | "dependencies": { 3390 | "loose-envify": "^1.1.0" 3391 | } 3392 | }, 3393 | "node_modules/semver": { 3394 | "version": "7.3.8", 3395 | "license": "ISC", 3396 | "dependencies": { 3397 | "lru-cache": "^6.0.0" 3398 | }, 3399 | "bin": { 3400 | "semver": "bin/semver.js" 3401 | }, 3402 | "engines": { 3403 | "node": ">=10" 3404 | } 3405 | }, 3406 | "node_modules/shallowequal": { 3407 | "version": "1.1.0", 3408 | "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz", 3409 | "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==" 3410 | }, 3411 | "node_modules/shebang-command": { 3412 | "version": "2.0.0", 3413 | "license": "MIT", 3414 | "dependencies": { 3415 | "shebang-regex": "^3.0.0" 3416 | }, 3417 | "engines": { 3418 | "node": ">=8" 3419 | } 3420 | }, 3421 | "node_modules/shebang-regex": { 3422 | "version": "3.0.0", 3423 | "license": "MIT", 3424 | "engines": { 3425 | "node": ">=8" 3426 | } 3427 | }, 3428 | "node_modules/side-channel": { 3429 | "version": "1.0.4", 3430 | "license": "MIT", 3431 | "dependencies": { 3432 | "call-bind": "^1.0.0", 3433 | "get-intrinsic": "^1.0.2", 3434 | "object-inspect": "^1.9.0" 3435 | }, 3436 | "funding": { 3437 | "url": "https://github.com/sponsors/ljharb" 3438 | } 3439 | }, 3440 | "node_modules/slash": { 3441 | "version": "3.0.0", 3442 | "license": "MIT", 3443 | "engines": { 3444 | "node": ">=8" 3445 | } 3446 | }, 3447 | "node_modules/source-map-js": { 3448 | "version": "1.0.2", 3449 | "license": "BSD-3-Clause", 3450 | "engines": { 3451 | "node": ">=0.10.0" 3452 | } 3453 | }, 3454 | "node_modules/space-separated-tokens": { 3455 | "version": "1.1.5", 3456 | "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz", 3457 | "integrity": "sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA==", 3458 | "funding": { 3459 | "type": "github", 3460 | "url": "https://github.com/sponsors/wooorm" 3461 | } 3462 | }, 3463 | "node_modules/stop-iteration-iterator": { 3464 | "version": "1.0.0", 3465 | "license": "MIT", 3466 | "dependencies": { 3467 | "internal-slot": "^1.0.4" 3468 | }, 3469 | "engines": { 3470 | "node": ">= 0.4" 3471 | } 3472 | }, 3473 | "node_modules/string.prototype.matchall": { 3474 | "version": "4.0.8", 3475 | "license": "MIT", 3476 | "dependencies": { 3477 | "call-bind": "^1.0.2", 3478 | "define-properties": "^1.1.4", 3479 | "es-abstract": "^1.20.4", 3480 | "get-intrinsic": "^1.1.3", 3481 | "has-symbols": "^1.0.3", 3482 | "internal-slot": "^1.0.3", 3483 | "regexp.prototype.flags": "^1.4.3", 3484 | "side-channel": "^1.0.4" 3485 | }, 3486 | "funding": { 3487 | "url": "https://github.com/sponsors/ljharb" 3488 | } 3489 | }, 3490 | "node_modules/string.prototype.trimend": { 3491 | "version": "1.0.6", 3492 | "license": "MIT", 3493 | "dependencies": { 3494 | "call-bind": "^1.0.2", 3495 | "define-properties": "^1.1.4", 3496 | "es-abstract": "^1.20.4" 3497 | }, 3498 | "funding": { 3499 | "url": "https://github.com/sponsors/ljharb" 3500 | } 3501 | }, 3502 | "node_modules/string.prototype.trimstart": { 3503 | "version": "1.0.6", 3504 | "license": "MIT", 3505 | "dependencies": { 3506 | "call-bind": "^1.0.2", 3507 | "define-properties": "^1.1.4", 3508 | "es-abstract": "^1.20.4" 3509 | }, 3510 | "funding": { 3511 | "url": "https://github.com/sponsors/ljharb" 3512 | } 3513 | }, 3514 | "node_modules/strip-ansi": { 3515 | "version": "6.0.1", 3516 | "license": "MIT", 3517 | "dependencies": { 3518 | "ansi-regex": "^5.0.1" 3519 | }, 3520 | "engines": { 3521 | "node": ">=8" 3522 | } 3523 | }, 3524 | "node_modules/strip-bom": { 3525 | "version": "3.0.0", 3526 | "license": "MIT", 3527 | "engines": { 3528 | "node": ">=4" 3529 | } 3530 | }, 3531 | "node_modules/strip-json-comments": { 3532 | "version": "3.1.1", 3533 | "license": "MIT", 3534 | "engines": { 3535 | "node": ">=8" 3536 | }, 3537 | "funding": { 3538 | "url": "https://github.com/sponsors/sindresorhus" 3539 | } 3540 | }, 3541 | "node_modules/styled-breakpoints": { 3542 | "version": "11.1.1", 3543 | "resolved": "https://registry.npmjs.org/styled-breakpoints/-/styled-breakpoints-11.1.1.tgz", 3544 | "integrity": "sha512-KUpoMNPoNji5zyB/AyrY+KO/eHj87smfGMOgrAM8cH/fN2wtEW9tnwzPlQimxMyma0Y849XUnChbJBk2zws9Ig==", 3545 | "peerDependencies": { 3546 | "@emotion/react": "^11.0.0", 3547 | "react": "^18.x.x", 3548 | "styled-components": "^5.0.0" 3549 | }, 3550 | "peerDependenciesMeta": { 3551 | "@emotion/react": { 3552 | "optional": true 3553 | }, 3554 | "react": { 3555 | "optional": true 3556 | }, 3557 | "styled-components": { 3558 | "optional": true 3559 | } 3560 | } 3561 | }, 3562 | "node_modules/styled-components": { 3563 | "version": "5.3.8", 3564 | "resolved": "https://registry.npmjs.org/styled-components/-/styled-components-5.3.8.tgz", 3565 | "integrity": "sha512-6jQrlvaJQ16uWVVO0rBfApaTPItkqaG32l3746enNZzpMDxMvzmHzj8rHUg39bvVtom0Y8o8ZzWuchEXKGjVsg==", 3566 | "dependencies": { 3567 | "@babel/helper-module-imports": "^7.0.0", 3568 | "@babel/traverse": "^7.4.5", 3569 | "@emotion/is-prop-valid": "^1.1.0", 3570 | "@emotion/stylis": "^0.8.4", 3571 | "@emotion/unitless": "^0.7.4", 3572 | "babel-plugin-styled-components": ">= 1.12.0", 3573 | "css-to-react-native": "^3.0.0", 3574 | "hoist-non-react-statics": "^3.0.0", 3575 | "shallowequal": "^1.1.0", 3576 | "supports-color": "^5.5.0" 3577 | }, 3578 | "engines": { 3579 | "node": ">=10" 3580 | }, 3581 | "funding": { 3582 | "type": "opencollective", 3583 | "url": "https://opencollective.com/styled-components" 3584 | }, 3585 | "peerDependencies": { 3586 | "react": ">= 16.8.0", 3587 | "react-dom": ">= 16.8.0", 3588 | "react-is": ">= 16.8.0" 3589 | } 3590 | }, 3591 | "node_modules/styled-components/node_modules/has-flag": { 3592 | "version": "3.0.0", 3593 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 3594 | "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", 3595 | "engines": { 3596 | "node": ">=4" 3597 | } 3598 | }, 3599 | "node_modules/styled-components/node_modules/supports-color": { 3600 | "version": "5.5.0", 3601 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 3602 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 3603 | "dependencies": { 3604 | "has-flag": "^3.0.0" 3605 | }, 3606 | "engines": { 3607 | "node": ">=4" 3608 | } 3609 | }, 3610 | "node_modules/styled-jsx": { 3611 | "version": "5.1.1", 3612 | "license": "MIT", 3613 | "dependencies": { 3614 | "client-only": "0.0.1" 3615 | }, 3616 | "engines": { 3617 | "node": ">= 12.0.0" 3618 | }, 3619 | "peerDependencies": { 3620 | "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0" 3621 | }, 3622 | "peerDependenciesMeta": { 3623 | "@babel/core": { 3624 | "optional": true 3625 | }, 3626 | "babel-plugin-macros": { 3627 | "optional": true 3628 | } 3629 | } 3630 | }, 3631 | "node_modules/supports-color": { 3632 | "version": "7.2.0", 3633 | "license": "MIT", 3634 | "dependencies": { 3635 | "has-flag": "^4.0.0" 3636 | }, 3637 | "engines": { 3638 | "node": ">=8" 3639 | } 3640 | }, 3641 | "node_modules/supports-preserve-symlinks-flag": { 3642 | "version": "1.0.0", 3643 | "license": "MIT", 3644 | "engines": { 3645 | "node": ">= 0.4" 3646 | }, 3647 | "funding": { 3648 | "url": "https://github.com/sponsors/ljharb" 3649 | } 3650 | }, 3651 | "node_modules/synckit": { 3652 | "version": "0.8.5", 3653 | "license": "MIT", 3654 | "dependencies": { 3655 | "@pkgr/utils": "^2.3.1", 3656 | "tslib": "^2.5.0" 3657 | }, 3658 | "engines": { 3659 | "node": "^14.18.0 || >=16.0.0" 3660 | }, 3661 | "funding": { 3662 | "url": "https://opencollective.com/unts" 3663 | } 3664 | }, 3665 | "node_modules/tapable": { 3666 | "version": "2.2.1", 3667 | "license": "MIT", 3668 | "engines": { 3669 | "node": ">=6" 3670 | } 3671 | }, 3672 | "node_modules/text-table": { 3673 | "version": "0.2.0", 3674 | "license": "MIT" 3675 | }, 3676 | "node_modules/tiny-glob": { 3677 | "version": "0.2.9", 3678 | "license": "MIT", 3679 | "dependencies": { 3680 | "globalyzer": "0.1.0", 3681 | "globrex": "^0.1.2" 3682 | } 3683 | }, 3684 | "node_modules/to-fast-properties": { 3685 | "version": "2.0.0", 3686 | "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", 3687 | "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", 3688 | "engines": { 3689 | "node": ">=4" 3690 | } 3691 | }, 3692 | "node_modules/to-regex-range": { 3693 | "version": "5.0.1", 3694 | "license": "MIT", 3695 | "dependencies": { 3696 | "is-number": "^7.0.0" 3697 | }, 3698 | "engines": { 3699 | "node": ">=8.0" 3700 | } 3701 | }, 3702 | "node_modules/tsconfig-paths": { 3703 | "version": "3.14.2", 3704 | "license": "MIT", 3705 | "dependencies": { 3706 | "@types/json5": "^0.0.29", 3707 | "json5": "^1.0.2", 3708 | "minimist": "^1.2.6", 3709 | "strip-bom": "^3.0.0" 3710 | } 3711 | }, 3712 | "node_modules/tslib": { 3713 | "version": "2.5.0", 3714 | "license": "0BSD" 3715 | }, 3716 | "node_modules/tsutils": { 3717 | "version": "3.21.0", 3718 | "license": "MIT", 3719 | "dependencies": { 3720 | "tslib": "^1.8.1" 3721 | }, 3722 | "engines": { 3723 | "node": ">= 6" 3724 | }, 3725 | "peerDependencies": { 3726 | "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" 3727 | } 3728 | }, 3729 | "node_modules/tsutils/node_modules/tslib": { 3730 | "version": "1.14.1", 3731 | "license": "0BSD" 3732 | }, 3733 | "node_modules/type-check": { 3734 | "version": "0.4.0", 3735 | "license": "MIT", 3736 | "dependencies": { 3737 | "prelude-ls": "^1.2.1" 3738 | }, 3739 | "engines": { 3740 | "node": ">= 0.8.0" 3741 | } 3742 | }, 3743 | "node_modules/type-fest": { 3744 | "version": "0.20.2", 3745 | "license": "(MIT OR CC0-1.0)", 3746 | "engines": { 3747 | "node": ">=10" 3748 | }, 3749 | "funding": { 3750 | "url": "https://github.com/sponsors/sindresorhus" 3751 | } 3752 | }, 3753 | "node_modules/typed-array-length": { 3754 | "version": "1.0.4", 3755 | "license": "MIT", 3756 | "dependencies": { 3757 | "call-bind": "^1.0.2", 3758 | "for-each": "^0.3.3", 3759 | "is-typed-array": "^1.1.9" 3760 | }, 3761 | "funding": { 3762 | "url": "https://github.com/sponsors/ljharb" 3763 | } 3764 | }, 3765 | "node_modules/typescript": { 3766 | "version": "4.9.5", 3767 | "license": "Apache-2.0", 3768 | "bin": { 3769 | "tsc": "bin/tsc", 3770 | "tsserver": "bin/tsserver" 3771 | }, 3772 | "engines": { 3773 | "node": ">=4.2.0" 3774 | } 3775 | }, 3776 | "node_modules/unbox-primitive": { 3777 | "version": "1.0.2", 3778 | "license": "MIT", 3779 | "dependencies": { 3780 | "call-bind": "^1.0.2", 3781 | "has-bigints": "^1.0.2", 3782 | "has-symbols": "^1.0.3", 3783 | "which-boxed-primitive": "^1.0.2" 3784 | }, 3785 | "funding": { 3786 | "url": "https://github.com/sponsors/ljharb" 3787 | } 3788 | }, 3789 | "node_modules/uri-js": { 3790 | "version": "4.4.1", 3791 | "license": "BSD-2-Clause", 3792 | "dependencies": { 3793 | "punycode": "^2.1.0" 3794 | } 3795 | }, 3796 | "node_modules/which": { 3797 | "version": "2.0.2", 3798 | "license": "ISC", 3799 | "dependencies": { 3800 | "isexe": "^2.0.0" 3801 | }, 3802 | "bin": { 3803 | "node-which": "bin/node-which" 3804 | }, 3805 | "engines": { 3806 | "node": ">= 8" 3807 | } 3808 | }, 3809 | "node_modules/which-boxed-primitive": { 3810 | "version": "1.0.2", 3811 | "license": "MIT", 3812 | "dependencies": { 3813 | "is-bigint": "^1.0.1", 3814 | "is-boolean-object": "^1.1.0", 3815 | "is-number-object": "^1.0.4", 3816 | "is-string": "^1.0.5", 3817 | "is-symbol": "^1.0.3" 3818 | }, 3819 | "funding": { 3820 | "url": "https://github.com/sponsors/ljharb" 3821 | } 3822 | }, 3823 | "node_modules/which-collection": { 3824 | "version": "1.0.1", 3825 | "license": "MIT", 3826 | "dependencies": { 3827 | "is-map": "^2.0.1", 3828 | "is-set": "^2.0.1", 3829 | "is-weakmap": "^2.0.1", 3830 | "is-weakset": "^2.0.1" 3831 | }, 3832 | "funding": { 3833 | "url": "https://github.com/sponsors/ljharb" 3834 | } 3835 | }, 3836 | "node_modules/which-typed-array": { 3837 | "version": "1.1.9", 3838 | "license": "MIT", 3839 | "dependencies": { 3840 | "available-typed-arrays": "^1.0.5", 3841 | "call-bind": "^1.0.2", 3842 | "for-each": "^0.3.3", 3843 | "gopd": "^1.0.1", 3844 | "has-tostringtag": "^1.0.0", 3845 | "is-typed-array": "^1.1.10" 3846 | }, 3847 | "engines": { 3848 | "node": ">= 0.4" 3849 | }, 3850 | "funding": { 3851 | "url": "https://github.com/sponsors/ljharb" 3852 | } 3853 | }, 3854 | "node_modules/word-wrap": { 3855 | "version": "1.2.3", 3856 | "license": "MIT", 3857 | "engines": { 3858 | "node": ">=0.10.0" 3859 | } 3860 | }, 3861 | "node_modules/wrappy": { 3862 | "version": "1.0.2", 3863 | "license": "ISC" 3864 | }, 3865 | "node_modules/xtend": { 3866 | "version": "4.0.2", 3867 | "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", 3868 | "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", 3869 | "engines": { 3870 | "node": ">=0.4" 3871 | } 3872 | }, 3873 | "node_modules/yallist": { 3874 | "version": "4.0.0", 3875 | "license": "ISC" 3876 | }, 3877 | "node_modules/yocto-queue": { 3878 | "version": "0.1.0", 3879 | "license": "MIT", 3880 | "engines": { 3881 | "node": ">=10" 3882 | }, 3883 | "funding": { 3884 | "url": "https://github.com/sponsors/sindresorhus" 3885 | } 3886 | } 3887 | } 3888 | } 3889 | -------------------------------------------------------------------------------- /docs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jb-date-input-demo", 3 | "version": "0.1.0", 4 | "private": true, 5 | "scripts": { 6 | "dev": "next dev", 7 | "build": "next build", 8 | "start": "next start", 9 | "lint": "next lint" 10 | }, 11 | "dependencies": { 12 | "@types/node": "18.14.6", 13 | "@types/react": "18.0.28", 14 | "@types/react-dom": "18.0.11", 15 | "eslint": "8.35.0", 16 | "eslint-config-next": "13.2.3", 17 | "jb-calendar": "^4.0.3", 18 | "jb-date-input": "^3.13.0", 19 | "jb-date-input-react": "^5.0.0", 20 | "next": "13.2.3", 21 | "react": "18.2.0", 22 | "react-dom": "18.2.0", 23 | "react-syntax-highlighter": "^15.5.0", 24 | "styled-breakpoints": "^11.1.1", 25 | "styled-components": "^5.3.8", 26 | "typescript": "4.9.5" 27 | }, 28 | "devDependencies": { 29 | "@types/react-syntax-highlighter": "^15.5.6", 30 | "@types/styled-components": "^5.1.26", 31 | "babel-plugin-styled-components": "^2.0.7" 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /docs/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javadbat/jb-date-input-react/394a7ad7b0a727d0584a51becb7ad2001190e8df/docs/public/favicon.ico -------------------------------------------------------------------------------- /docs/public/next.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/public/thirteen.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/public/vercel.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/src/components/about-section/AboutSection.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { AboutSectionWrapper, AboutTitle, Description } from './styled'; 3 | 4 | function AboutSection() { 5 | return ( 6 | 7 | About 8 | this component is the ReactJS superset for orginal jb-date-input web component that let you use it in Reactjs. 9 | 10 | ); 11 | } 12 | 13 | export default AboutSection; -------------------------------------------------------------------------------- /docs/src/components/about-section/styled.ts: -------------------------------------------------------------------------------- 1 | import styled from "styled-components"; 2 | 3 | export const AboutSectionWrapper = styled.section` 4 | padding: 32px 16px; 5 | `; 6 | export const AboutTitle = styled.h2` 7 | font-size: 2rem; 8 | color:#101010; 9 | text-align: center; 10 | `; 11 | export const Description = styled.p` 12 | text-align: center; 13 | `; -------------------------------------------------------------------------------- /docs/src/components/installation/Installation.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import SyntaxHighlighter from 'react-syntax-highlighter'; 3 | import { coldarkCold } from 'react-syntax-highlighter/dist/cjs/styles/prism'; 4 | import { CodeBox, InstallationSectionWrapper, InstallationTitle } from './styled'; 5 | function Installation() { 6 | return ( 7 | 8 | Installation 9 |

run the following command in terminal

10 | 11 | npm i jb-date-input-react 12 | 13 |
14 | 15 | ); 16 | } 17 | 18 | export default Installation; -------------------------------------------------------------------------------- /docs/src/components/installation/styled.ts: -------------------------------------------------------------------------------- 1 | import SyntaxHighlighter from "react-syntax-highlighter"; 2 | import styled from "styled-components"; 3 | 4 | export const InstallationSectionWrapper = styled.section` 5 | display: flex; 6 | align-items: center; 7 | flex-direction: column; 8 | `; 9 | export const InstallationTitle = styled.h2` 10 | font-size: 2rem; 11 | color:#101010; 12 | text-align: center; 13 | `; 14 | export const CodeBox = styled(SyntaxHighlighter)` 15 | max-width: 400px; 16 | width: calc(100% - 64px); 17 | `; -------------------------------------------------------------------------------- /docs/src/components/intro-section/IntroSection.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import { ComponentName, ComponentSubtitle, IntroWrapper } from './styled'; 3 | import dynamic from 'next/dynamic'; 4 | 5 | function IntroSection() { 6 | const JBDateInput = dynamic(() => import('jb-date-input-react').then(module => module.JBDateInput), { 7 | ssr: false, 8 | }); 9 | return ( 10 | 11 | JBDateInputReact 12 | ReactJs Jalali Date Picker 13 | کامپوننت تقویم شمسی برای ریاکت 14 | {} 15 | 16 | ); 17 | } 18 | 19 | export default IntroSection; -------------------------------------------------------------------------------- /docs/src/components/intro-section/styled.ts: -------------------------------------------------------------------------------- 1 | import styled from "styled-components"; 2 | import {down} from 'styled-breakpoints'; 3 | 4 | export const IntroWrapper = styled.section` 5 | padding: 64px 32px; 6 | display: flex; 7 | flex-direction: column; 8 | justify-content:center ; 9 | align-items: center; 10 | ${down("lg")}{ 11 | max-width: calc(100% - 16px); 12 | padding: 32px 0; 13 | } 14 | `; 15 | export const ComponentName= styled.h1` 16 | font-size: 5rem; 17 | font-weight: 800; 18 | color:#010101; 19 | text-align: center; 20 | ${down("lg")}{ 21 | font-size: 2rem; 22 | word-break: break-all; 23 | } 24 | `; 25 | export const ComponentSubtitle = styled.h2` 26 | color:#404040; 27 | `; -------------------------------------------------------------------------------- /docs/src/components/samples/Samples.tsx: -------------------------------------------------------------------------------- 1 | import React, { useEffect } from 'react'; 2 | import { FormalTheme, RTLJBDateInput, SamplesSectionWrapper, SamplesTitle, SamplesWrapper } from './styled'; 3 | import dynamic from 'next/dynamic'; 4 | import { JBDateInputValueObject, ValidationItem, ValidationValue } from 'jb-date-input-react'; 5 | enum InputTypes { 6 | jalali = 'JALALI', 7 | gregorian = 'GREGORIAN' 8 | } 9 | const JBDateInput = dynamic(() => import('jb-date-input-react').then(module => module.JBDateInput), { 10 | ssr: false, 11 | }); 12 | const validationList:ValidationItem[] = [ 13 | { 14 | validator: /^13.*$/g, 15 | message: 'تاریخ باید تنها در قرن 13 شمسی باشد' 16 | }, 17 | { 18 | validator: ({text,inputObject,valueObject,valueText}) => { 19 | //you can use raw inputted text or formatted text in expected value in arguments 20 | //you have access to both jalali and gregorian date object here in valueObject 21 | // remember valueObject and valueText are both empty and null when date is incomplete 22 | //if you want to validate incomplete date you can use inputtedText 23 | return valueObject.jalali.day == 15; 24 | }, 25 | message: 'باید تاریخ حتما 15 ماه انتخاب شود' 26 | } 27 | ]; 28 | function Samples() { 29 | return ( 30 | 31 | 32 | Samples 33 | 34 | 35 | { } 36 | { } 37 | { } 38 | { } 39 | { } 40 | { } 41 | { } 42 | { } 43 | 44 |
45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 |
63 |
64 | 65 |
a
66 |
b
67 |
68 | 69 | { } 70 |
71 | 72 | 73 |
74 | ); 75 | } 76 | 77 | export default Samples; -------------------------------------------------------------------------------- /docs/src/components/samples/styled.ts: -------------------------------------------------------------------------------- 1 | import styled from "styled-components"; 2 | import dynamic from 'next/dynamic'; 3 | const JBDateInput = dynamic(() => import('jb-date-input-react').then(module => module.JBDateInput), { 4 | ssr: false, 5 | }); 6 | export const SamplesSectionWrapper = styled.section` 7 | display: flex; 8 | align-items: center; 9 | flex-direction: column; 10 | `; 11 | export const SamplesTitle = styled.h2` 12 | font-size: 2rem; 13 | color:#101010; 14 | text-align: center; 15 | `; 16 | export const SamplesWrapper = styled.div` 17 | max-width: 400px; 18 | width: calc(100% - 32px); 19 | display: flex; 20 | flex-direction: column; 21 | gap:1rem; 22 | jb-date-input{ 23 | width: 100%; 24 | } 25 | `; 26 | export const FormalTheme = styled(JBDateInput)` 27 | --jb-input-border-radius:0; 28 | --jb-input-border-color:#888; 29 | --jb-input-border-color-focus:#000; 30 | --jb-input-bgcolor:#fff; 31 | --jb-input-message-box-color:blue; 32 | --jb-input-border-bottom-width:1px; 33 | --jb-input-label-font-size :1.3em; 34 | --jb-input-value-color:#434343; 35 | --jb-input-value-font-size:1.3em; 36 | --jb-input-calender-wrapper-bg-color:#fefefe; 37 | --jb-input-calender-wrapper-border-radius:0; 38 | --jb-calendar-arrow-button-border-radius:0; 39 | `; 40 | export const RTLJBDateInput = styled(JBDateInput)` 41 | direction: rtl; 42 | `; -------------------------------------------------------------------------------- /docs/src/fonts/Quicksand/Quicksand-VariableFont_wght.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javadbat/jb-date-input-react/394a7ad7b0a727d0584a51becb7ad2001190e8df/docs/src/fonts/Quicksand/Quicksand-VariableFont_wght.ttf -------------------------------------------------------------------------------- /docs/src/fonts/Vazir/Vazirmatn[wght].ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javadbat/jb-date-input-react/394a7ad7b0a727d0584a51becb7ad2001190e8df/docs/src/fonts/Vazir/Vazirmatn[wght].ttf -------------------------------------------------------------------------------- /docs/src/fonts/Vazir/Vazirmatn[wght].woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javadbat/jb-date-input-react/394a7ad7b0a727d0584a51becb7ad2001190e8df/docs/src/fonts/Vazir/Vazirmatn[wght].woff2 -------------------------------------------------------------------------------- /docs/src/fonts/font.ts: -------------------------------------------------------------------------------- 1 | import { createGlobalStyle } from "styled-components"; 2 | // 3 | import QuicksandVariable from './Quicksand/Quicksand-VariableFont_wght.ttf'; 4 | import VazirVariable from './Vazir/Vazirmatn[wght].woff2'; 5 | 6 | export const CommonFontsStyles = createGlobalStyle` 7 | @font-face { 8 | font-family: "vazir"; 9 | src: url(${VazirVariable}) format('woff2'); 10 | font-display: swap; 11 | font-smooth: always; 12 | // use font for only persian language 13 | unicode-range: U+0600-06FF, U+FB8A, U+067E, U+0686, U+06AF, U+200C; 14 | } 15 | @font-face { 16 | font-family: "quicksand"; 17 | src: url(${QuicksandVariable}) format('truetype'); 18 | }; 19 | `; -------------------------------------------------------------------------------- /docs/src/pages/_app.tsx: -------------------------------------------------------------------------------- 1 | import { CommonFontsStyles } from '@/fonts/font'; 2 | import '@/styles/globals.css'; 3 | import type { AppProps } from 'next/app'; 4 | import { Fragment } from 'react'; 5 | 6 | export default function App({ Component, pageProps }: AppProps) { 7 | return ( 8 | 9 | 10 | 11 | 12 | ); 13 | } 14 | -------------------------------------------------------------------------------- /docs/src/pages/_document.tsx: -------------------------------------------------------------------------------- 1 | import { Html, Head, Main, NextScript } from 'next/document' 2 | 3 | export default function Document() { 4 | return ( 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | ); 13 | } 14 | -------------------------------------------------------------------------------- /docs/src/pages/api/hello.ts: -------------------------------------------------------------------------------- 1 | // Next.js API route support: https://nextjs.org/docs/api-routes/introduction 2 | import type { NextApiRequest, NextApiResponse } from 'next' 3 | 4 | type Data = { 5 | name: string 6 | } 7 | 8 | export default function handler( 9 | req: NextApiRequest, 10 | res: NextApiResponse 11 | ) { 12 | res.status(200).json({ name: 'John Doe' }) 13 | } 14 | -------------------------------------------------------------------------------- /docs/src/pages/index.tsx: -------------------------------------------------------------------------------- 1 | import Head from 'next/head'; 2 | import Image from 'next/image'; 3 | import { fixMobileHeightVH } from '@/utils/helpers/layout-helper'; 4 | import { useEffect } from 'react'; 5 | import IntroSection from '@/components/intro-section/IntroSection'; 6 | import AboutSection from '@/components/about-section/AboutSection'; 7 | import Installation from '@/components/installation/Installation'; 8 | import Samples from '@/components/samples/Samples'; 9 | 10 | export default function Home() { 11 | 12 | useEffect(() => { 13 | fixMobileHeightVH(); 14 | }, []); 15 | return ( 16 | <> 17 | 18 | کامپوننت تقویم شمسی برای Reactjs 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 |
29 | 30 | ); 31 | } 32 | -------------------------------------------------------------------------------- /docs/src/styles/globals.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --p-color:#00448C; 3 | --p-color-light:#0849A2; 4 | } 5 | body,html{ 6 | width: 100%; 7 | height: calc(var(--vh, 1vh) * 100); 8 | margin: 0; 9 | padding: 0; 10 | font-family: "vazir", "quicksand"; 11 | } 12 | #__next,main{ 13 | width: 100%; 14 | height: 100%; 15 | } -------------------------------------------------------------------------------- /docs/src/types/fonts.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.woff'; 2 | declare module '*.woff2'; 3 | declare module '*.ttf'; -------------------------------------------------------------------------------- /docs/src/utils/helpers/layout-helper.ts: -------------------------------------------------------------------------------- 1 | export function fixMobileHeightVH() { 2 | // First we get the viewport height and we multiple it by 1% to get a value for a vh unit 3 | const vh = window.innerHeight * 0.01; 4 | // Then we set the value in the --vh custom property to the root of the document 5 | document.documentElement.style.setProperty('--vh', `${vh}px`); 6 | window.addEventListener('resize', () => { 7 | // We execute the same script as before 8 | const vh = window.innerHeight * 0.01; 9 | document.documentElement.style.setProperty('--vh', `${vh}px`); 10 | }); 11 | } -------------------------------------------------------------------------------- /docs/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "lib": ["dom", "dom.iterable", "esnext"], 5 | "allowJs": true, 6 | "skipLibCheck": true, 7 | "strict": true, 8 | "forceConsistentCasingInFileNames": true, 9 | "noEmit": true, 10 | "esModuleInterop": true, 11 | "module": "esnext", 12 | "moduleResolution": "node", 13 | "resolveJsonModule": true, 14 | "isolatedModules": true, 15 | "jsx": "preserve", 16 | "incremental": true, 17 | "baseUrl": ".", 18 | "paths": { 19 | "@/*": ["./src/*"] 20 | }, 21 | "typeRoots" : ["node_modules/@types", "src/types"], 22 | }, 23 | "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], 24 | "exclude": ["node_modules"] 25 | } 26 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | export * from './dist/JBDateInput.js'; -------------------------------------------------------------------------------- /lib/JBDateInput.tsx: -------------------------------------------------------------------------------- 1 | import React, { useEffect, useRef, useState, useImperativeHandle, useCallback, MutableRefObject, RefObject, ReactNode, forwardRef, DetailedHTMLProps, HTMLAttributes } from 'react'; 2 | import 'jb-date-input'; 3 | // eslint-disable-next-line no-duplicate-imports 4 | import { JBDateInputWebComponent,type ValidationValue, type JBDateInputValueObject, type InputType } from 'jb-date-input'; 5 | import { type ValidationItem } from 'jb-validation'; 6 | import { useEvent } from '../../../common/hooks/use-event.js'; 7 | // re-export imported types for easier use for user 8 | export {type JBDateInputValueObject, type ValidationItem, type ValidationValue, InputType }; 9 | declare global { 10 | // eslint-disable-next-line @typescript-eslint/no-namespace 11 | namespace JSX { 12 | interface IntrinsicElements { 13 | 'jb-date-input': JBDateInputType; 14 | } 15 | interface JBDateInputType extends DetailedHTMLProps, JBDateInputWebComponent> { 16 | class?: string, 17 | label?: string, 18 | name?: string, 19 | "value-type"?: string, 20 | "input-type"?: string, 21 | // ref:React.RefObject, 22 | } 23 | } 24 | } 25 | export type JBDateInputEventType = T & { 26 | target: JBDateInputWebComponent 27 | } 28 | export type JBDateInputProps = { 29 | label?: string, 30 | style?: string, 31 | name?: string, 32 | min?: string | null | undefined | Date, 33 | max?: string | null | undefined | Date, 34 | message?: string | null | undefined, 35 | format?: string, 36 | className?: string, 37 | onKeyup?: (e: JBDateInputEventType) => void, 38 | onChange?: (e: JBDateInputEventType) => void, 39 | onSelect?: (e: JBDateInputEventType) => void, 40 | valueType?: 'GREGORIAN' | 'JALALI' | 'TIME_STAMP', 41 | inputType?: 'GREGORIAN' | 'JALALI', 42 | direction?: 'ltr' | 'rtl', 43 | value?: string | Date | null | undefined, 44 | validationList?: ValidationItem[], 45 | required?: boolean, 46 | calendarDefaultDateView?: { year: number, month: number, dateType?: InputType }, 47 | showPersianNumber?: boolean, 48 | placeholder?: string | null | undefined, 49 | jalaliMonthList?: string[] | null | undefined, 50 | gregorianMonthList?: string[] | null | undefined, 51 | overflowHandler?:"NONE" | "SLIDE", 52 | overflowRef?:RefObject | null | MutableRefObject, 53 | children?: ReactNode | ReactNode[], 54 | } 55 | 56 | export const JBDateInput = forwardRef((props: JBDateInputProps, ref) => { 57 | const element = useRef(null); 58 | const [refChangeCount, refChangeCountSetter] = useState(0); 59 | const onFormatChangeCallBackQueueRef = useRef<(() => void)[]>([]); 60 | useImperativeHandle( 61 | ref, 62 | () => (element ? element.current : {}), 63 | [element], 64 | ); 65 | useEffect(() => { 66 | refChangeCountSetter(refChangeCount + 1); 67 | }, [element.current]); 68 | const onchange = useCallback((e: JBDateInputEventType) => { 69 | if (props.onChange) { 70 | props.onChange(e); 71 | } 72 | }, [props.onChange]); 73 | const onKeyup = useCallback((e: JBDateInputEventType) => { 74 | if (props.onKeyup) { 75 | props.onKeyup(e); 76 | } 77 | }, [props.onKeyup]); 78 | const onSelect = useCallback((e: JBDateInputEventType) => { 79 | if (props.onSelect) { 80 | props.onSelect(e); 81 | } 82 | }, [props.onSelect]); 83 | useEvent(element.current, 'change', onchange, true); 84 | useEvent(element.current, 'keyup', onKeyup, true); 85 | useEvent(element.current, 'select', onSelect, true); 86 | useEffect(() => { 87 | if (props.format) { 88 | if (props.format !== element.current?.valueFormat) { 89 | element.current?.setAttribute('format', props.format); 90 | } 91 | if (onFormatChangeCallBackQueueRef.current.length > 0) { 92 | onFormatChangeCallBackQueueRef.current.forEach((callBack: () => void) => { 93 | callBack(); 94 | }); 95 | onFormatChangeCallBackQueueRef.current = []; 96 | } 97 | 98 | } 99 | }, [props.format]); 100 | useEffect(() => { 101 | if (props.max) { 102 | if (props.format && props.format !== element.current?.valueFormat) { 103 | onFormatChangeCallBackQueueRef.current.push(() => { 104 | if (props.max) { element.current?.setMaxDate(props.max); } 105 | }); 106 | } else { 107 | element.current?.setMaxDate(props.max); 108 | } 109 | } 110 | 111 | }, [props.max]); 112 | useEffect(() => { 113 | if (props.min) { 114 | if (props.format && props.format !== element.current?.valueFormat) { 115 | onFormatChangeCallBackQueueRef.current.push(() => { 116 | props.min && element.current?.setMinDate(props.min); 117 | }); 118 | } else { 119 | element.current?.setMinDate(props.min); 120 | } 121 | } 122 | }, [props.min]); 123 | useEffect(() => { 124 | if (element.current && props.value) { 125 | element.current.value = props.value; 126 | } 127 | }, [props.value]); 128 | useEffect(() => { 129 | if (element.current) { 130 | element.current.setAttribute("message",props.message || ""); 131 | } 132 | }, [props.message]); 133 | useEffect(() => { 134 | if (element.current && Array.isArray(props.jalaliMonthList)) { 135 | element.current.setMonthList("JALALI", props.jalaliMonthList); 136 | } 137 | }, [props.jalaliMonthList]); 138 | useEffect(() => { 139 | if (element.current && Array.isArray(props.gregorianMonthList)) { 140 | element.current.setMonthList("GREGORIAN", props.gregorianMonthList); 141 | } 142 | }, [props.gregorianMonthList]); 143 | useEffect(() => { 144 | if (element.current && props.placeholder !== undefined) { 145 | element.current.placeholder = props.placeholder; 146 | } 147 | }, [props.placeholder]); 148 | useEffect(() => { 149 | if (element.current && props.overflowHandler !== undefined) { 150 | element.current.elements.popover.overflowHandler = props.overflowHandler; 151 | } 152 | }, [props.overflowHandler]); 153 | useEffect(() => { 154 | if (element.current && props.overflowRef !== undefined) { 155 | element.current.elements.popover.overflowDom = props.overflowRef.current; 156 | } 157 | }, [props.overflowRef]); 158 | useEffect(() => { 159 | if (element.current) { 160 | if (typeof props.style == "string") { 161 | element.current.setAttribute("style", props.style); 162 | } 163 | } 164 | }, [props.style]); 165 | useEffect(() => { 166 | if (element.current && Array.isArray(props.validationList)) { 167 | element.current.validation.list = props.validationList; 168 | } 169 | }, [props.validationList]); 170 | useEffect(() => { 171 | if (element.current && props.direction) { 172 | element.current.setAttribute('direction', props.direction); 173 | } 174 | }, [props.direction]); 175 | useEffect(() => { 176 | if (element.current) { 177 | if (props.required) { 178 | element.current.required = true; 179 | } else { 180 | element.current.required = false; 181 | } 182 | } 183 | 184 | }, [props.required,element.current]); 185 | useEffect(() => { 186 | if (typeof props.calendarDefaultDateView == "object" && props.calendarDefaultDateView.year && props.calendarDefaultDateView.month) { 187 | element.current?.setCalendarDefaultDateView(props.calendarDefaultDateView.year, props.calendarDefaultDateView.month, props.calendarDefaultDateView.dateType); 188 | } 189 | }, [props.calendarDefaultDateView]); 190 | useEffect(() => { 191 | if (props.showPersianNumber) { 192 | element.current?.setAttribute('show-persian-number', 'true'); 193 | } else { 194 | element.current?.removeAttribute('show-persian-number'); 195 | } 196 | }, [props.showPersianNumber]); 197 | return ( 198 | 199 | {props.children} 200 | 201 | ); 202 | }); 203 | JBDateInput.displayName = "JBDateInput"; 204 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jb-date-input-react", 3 | "description": "jalali date input react component", 4 | "type": "module", 5 | "author": { 6 | "name": "mohammad javad bathaei", 7 | "email": "javadbat@gmail.com" 8 | }, 9 | "keywords": [ 10 | "jb", 11 | "jb-date-input", 12 | "jb-date-input-react", 13 | "calendar", 14 | "jalali calendar", 15 | "jalali date", 16 | "date picker", 17 | "shamsi", 18 | "jalali", 19 | "react component", 20 | "react" 21 | ], 22 | "version": "5.1.1", 23 | "bugs": "https://github.com/javadbat/jb-date-input-react/issues", 24 | "license": "MIT", 25 | "files": [ 26 | "LICENSE", 27 | "README.md", 28 | "lib/", 29 | "dist/" 30 | ], 31 | "main": "index.js", 32 | "module": "index.js", 33 | "homepage": "https://github.com/javadbat/jb-date-input-react", 34 | "types": "./dist/react-component/jb-date-input/lib/JBDateInput.d.ts", 35 | "repository": { 36 | "type": "git", 37 | "url": "https://github.com/javadbat/jb-date-input-react" 38 | }, 39 | "dependencies": { 40 | "jb-date-input": ">=5.1.0" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": "." 4 | }, 5 | "include": [ 6 | "../../common/scripts/**/*.ts", 7 | "../../common/hooks/**/*.ts", 8 | "../../common/hooks/**/*.js", 9 | "lib/**/*.ts", 10 | "lib/**/*.tsx" 11 | ], 12 | "exclude": [ 13 | "node_modules", 14 | "**/*.spec.ts", 15 | "dist", 16 | ], 17 | "extends":"../tsconfig-react.json" 18 | } -------------------------------------------------------------------------------- /workflows/nextjs.yml: -------------------------------------------------------------------------------- 1 | # Sample workflow for building and deploying a Next.js site to GitHub Pages 2 | # 3 | # To get started with Next.js see: https://nextjs.org/docs/getting-started 4 | # 5 | name: Deploy Next.js site to Pages 6 | 7 | on: 8 | # Runs on pushes targeting the default branch 9 | push: 10 | branches: ["main"] 11 | 12 | # Allows you to run this workflow manually from the Actions tab 13 | workflow_dispatch: 14 | 15 | # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages 16 | permissions: 17 | contents: read 18 | pages: write 19 | id-token: write 20 | 21 | # Allow one concurrent deployment 22 | concurrency: 23 | group: "pages" 24 | cancel-in-progress: true 25 | 26 | jobs: 27 | # Build job 28 | build: 29 | runs-on: ubuntu-latest 30 | steps: 31 | - name: Checkout 32 | uses: actions/checkout@v3 33 | - name: Detect package manager 34 | id: detect-package-manager 35 | run: | 36 | if [ -f "${{ github.workspace }}/yarn.lock" ]; then 37 | echo "manager=yarn" >> $GITHUB_OUTPUT 38 | echo "command=install" >> $GITHUB_OUTPUT 39 | echo "runner=yarn" >> $GITHUB_OUTPUT 40 | exit 0 41 | elif [ -f "${{ github.workspace }}/package.json" ]; then 42 | echo "manager=npm" >> $GITHUB_OUTPUT 43 | echo "command=ci" >> $GITHUB_OUTPUT 44 | echo "runner=npx --no-install" >> $GITHUB_OUTPUT 45 | exit 0 46 | else 47 | echo "Unable to determine packager manager" 48 | exit 1 49 | fi 50 | - name: Setup Node 51 | uses: actions/setup-node@v3 52 | with: 53 | node-version: "16" 54 | cache: ${{ steps.detect-package-manager.outputs.manager }} 55 | - name: Setup Pages 56 | uses: actions/configure-pages@v2 57 | with: 58 | # Automatically inject basePath in your Next.js configuration file and disable 59 | # server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized). 60 | # 61 | # You may remove this line if you want to manage the configuration yourself. 62 | static_site_generator: next 63 | - name: Restore cache 64 | uses: actions/cache@v3 65 | with: 66 | path: | 67 | .next/cache 68 | # Generate a new cache whenever packages or source files change. 69 | key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} 70 | # If source files changed but packages didn't, rebuild from a prior cache. 71 | restore-keys: | 72 | ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}- 73 | - name: Install dependencies 74 | run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }} 75 | - name: Build with Next.js 76 | run: ${{ steps.detect-package-manager.outputs.runner }} next build 77 | - name: Static HTML export with Next.js 78 | run: ${{ steps.detect-package-manager.outputs.runner }} next export 79 | - name: Upload artifact 80 | uses: actions/upload-pages-artifact@v1 81 | with: 82 | path: ./out 83 | 84 | # Deployment job 85 | deploy: 86 | environment: 87 | name: github-pages 88 | url: ${{ steps.deployment.outputs.page_url }} 89 | runs-on: ubuntu-latest 90 | needs: build 91 | steps: 92 | - name: Deploy to GitHub Pages 93 | id: deployment 94 | uses: actions/deploy-pages@v1 95 | --------------------------------------------------------------------------------