Skip to content

Commit

Permalink
renamed in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
uvarov-frontend committed Dec 1, 2023
1 parent da1f233 commit 5e38c50
Show file tree
Hide file tree
Showing 46 changed files with 106 additions and 106 deletions.
8 changes: 4 additions & 4 deletions docs/en/learn/additional-features/react-component.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ To create a React component named VanillaCalendar.tsx, you need to copy the code

```js
import { HTMLAttributes, useEffect, useRef, useState } from "react";
import VC, { Options } from "@uvarov.frontend/vanilla-calendar";
import "@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css";
import "@uvarov.frontend/vanilla-calendar/build/themes/dark.min.css";
import "@uvarov.frontend/vanilla-calendar/build/themes/light.min.css";
import VC, { Options } from "vanilla-calendar-pro";
import "vanilla-calendar-pro/build/vanilla-calendar.min.css";
import "vanilla-calendar-pro/build/themes/dark.min.css";
import "vanilla-calendar-pro/build/themes/light.min.css";

interface VanillaCalendarProps extends HTMLAttributes<HTMLDivElement> {
config?: Options,
Expand Down
8 changes: 4 additions & 4 deletions docs/en/learn/getting-started/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ You can edit it directly or open it in a new tab. Most pages in this documentati
You can install VanillaCalendar using NPM or Yarn.

```shell
npm install @uvarov.frontend/vanilla-calendar
npm install vanilla-calendar-pro
# or
yarn add @uvarov.frontend/vanilla-calendar
yarn add vanilla-calendar-pro
```

## Local Installation
Expand Down Expand Up @@ -47,8 +47,8 @@ VanillaCalendar is also available through a CDN. You can insert the following sc
```html
<html>
<head>
<link href="https://cdn.jsdelivr.net/npm/@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.js" defer></script>
<link href="https://cdn.jsdelivr.net/npm/vanilla-calendar-pro/build/vanilla-calendar.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/vanilla-calendar-pro/build/vanilla-calendar.min.js" defer></script>
</head>
<body>
<!-- Your content and initialization of VanillaCalendar -->
Expand Down
10 changes: 5 additions & 5 deletions docs/en/learn/getting-started/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ As an example in this documentation, an **«id»** attribute with the value **«
If you installed VanillaCalendar using NPM or Yarn, you need to import JavaScript and the necessary styles. If you connected VanillaCalendar locally or used a CDN, you can skip this step.

```js
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';
```

<Info>
Expand All @@ -35,11 +35,11 @@ import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';

```js
// Only layout calendar
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.layout.min.css';
import 'vanilla-calendar-pro/build/vanilla-calendar.layout.min.css';

// Themes
import '@uvarov.frontend/vanilla-calendar/build/themes/light.min.css';
import '@uvarov.frontend/vanilla-calendar/build/themes/dark.min.css';
import 'vanilla-calendar-pro/build/themes/light.min.css';
import 'vanilla-calendar-pro/build/themes/dark.min.css';
```

<Info>
Expand Down
8 changes: 4 additions & 4 deletions docs/ru/learn/additional-features/react-component.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

```js
import { HTMLAttributes, useEffect, useRef, useState } from "react";
import VC, { Options } from "@uvarov.frontend/vanilla-calendar";
import "@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css";
import "@uvarov.frontend/vanilla-calendar/build/themes/dark.min.css";
import "@uvarov.frontend/vanilla-calendar/build/themes/light.min.css";
import VC, { Options } from "vanilla-calendar-pro";
import "vanilla-calendar-pro/build/vanilla-calendar.min.css";
import "vanilla-calendar-pro/build/themes/dark.min.css";
import "vanilla-calendar-pro/build/themes/light.min.css";

interface VanillaCalendarProps extends HTMLAttributes<HTMLDivElement> {
config?: Options,
Expand Down
8 changes: 4 additions & 4 deletions docs/ru/learn/getting-started/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ VanillaCalendar разработан на нативном JS с использ
Вы можете установить VanillaCalendar с помощью NPM или Yarn.

```shell
npm install @uvarov.frontend/vanilla-calendar
npm install vanilla-calendar-pro
# or
yarn add @uvarov.frontend/vanilla-calendar
yarn add vanilla-calendar-pro
```

## Установка локально
Expand Down Expand Up @@ -47,8 +47,8 @@ VanillaCalendar также доступен через CDN. Вы можете в
```html
<html>
<head>
<link href="https://cdn.jsdelivr.net/npm/@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.js" defer></script>
<link href="https://cdn.jsdelivr.net/npm/vanilla-calendar-pro/build/vanilla-calendar.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/vanilla-calendar-pro/build/vanilla-calendar.min.js" defer></script>
</head>
<body>
<!-- Your content and initialization of VanillaCalendar -->
Expand Down
10 changes: 5 additions & 5 deletions docs/ru/learn/getting-started/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
Если вы установили VanillaCalendar с помощью NPM или Yarn, вам нужно импортировать JavaScript и необходимые стили. Если вы подключили VanillaCalendar локально или использовали CDN, вы можете пропустить этот шаг.

```js
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';
```

<Info>
Expand All @@ -35,11 +35,11 @@ import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';

```js
// Only layout calendar
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.layout.min.css';
import 'vanilla-calendar-pro/build/vanilla-calendar.layout.min.css';

// Themes
import '@uvarov.frontend/vanilla-calendar/build/themes/light.min.css';
import '@uvarov.frontend/vanilla-calendar/build/themes/dark.min.css';
import 'vanilla-calendar-pro/build/themes/light.min.css';
import 'vanilla-calendar-pro/build/themes/dark.min.css';
```

<Info>
Expand Down
4 changes: 2 additions & 2 deletions examples/action-handlers-change-of-time.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
4 changes: 2 additions & 2 deletions examples/action-handlers-click-a-day-ranged.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
4 changes: 2 additions & 2 deletions examples/action-handlers-click-a-day.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
actions: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
type: 'month',
Expand Down
4 changes: 2 additions & 2 deletions examples/action-handlers-click-on-the-arrows.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
actions: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
4 changes: 2 additions & 2 deletions examples/action-handlers-click-on-the-week-number.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
type: 'year',
Expand Down
4 changes: 2 additions & 2 deletions examples/action-handlers-get-and-change-every-day.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
actions: {
Expand Down
4 changes: 2 additions & 2 deletions examples/additional-features-date-picker-in-input-div.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

// start irrelevant code
document.querySelector('#calendar-input-div').style.display = 'flex';
Expand Down
4 changes: 2 additions & 2 deletions examples/additional-features-date-picker-in-input-multiple.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

// start irrelevant code
document.querySelector('#calendar-input').style.display = 'flex';
Expand Down
4 changes: 2 additions & 2 deletions examples/additional-features-date-picker-in-input.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

// start irrelevant code
document.querySelector('#calendar-input').style.display = 'flex';
Expand Down
4 changes: 2 additions & 2 deletions examples/additional-features-enable-time-picker-12.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
4 changes: 2 additions & 2 deletions examples/additional-features-enable-time-picker-24.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
4 changes: 2 additions & 2 deletions examples/additional-features-enable-time-picker-control.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
4 changes: 2 additions & 2 deletions examples/additional-features-enable-time-picker-your-time.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
4 changes: 2 additions & 2 deletions examples/customization-and-modification-css-classes.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
CSSClasses: {
Expand Down
4 changes: 2 additions & 2 deletions examples/customization-and-modification-dom-popups.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
4 changes: 2 additions & 2 deletions examples/customization-and-modification-dom-templates.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
DOMTemplates: {
Expand Down
4 changes: 2 additions & 2 deletions examples/customization-and-modification-themes-dark.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
4 changes: 2 additions & 2 deletions examples/customization-and-modification-themes-light.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
4 changes: 2 additions & 2 deletions examples/date-management-other-today.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
date: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
4 changes: 2 additions & 2 deletions examples/date-range-disable-days.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
4 changes: 2 additions & 2 deletions examples/date-range-enable-days.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
4 changes: 2 additions & 2 deletions examples/date-range-maximum-and-minimum-date-to-display.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
date: {
Expand Down
4 changes: 2 additions & 2 deletions examples/date-range-start-and-end-of-existing-dates.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
date: {
Expand Down
4 changes: 2 additions & 2 deletions examples/internationalization-assign-manually.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
4 changes: 2 additions & 2 deletions examples/internationalization-iso-8601.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
4 changes: 2 additions & 2 deletions examples/internationalization-locale.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
4 changes: 2 additions & 2 deletions examples/internationalization-week-numbers.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VanillaCalendar from '@uvarov.frontend/vanilla-calendar';
import '@uvarov.frontend/vanilla-calendar/build/vanilla-calendar.min.css';
import VanillaCalendar from 'vanilla-calendar-pro';
import 'vanilla-calendar-pro/build/vanilla-calendar.min.css';

const options = {
settings: {
Expand Down
Loading

0 comments on commit 5e38c50

Please sign in to comment.