@alfalab/core-components-confirmation 10.4.2 → 11.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/component.d.ts → component.d.ts} +0 -0
- package/{dist/component.js → component.js} +1 -1
- package/{dist/components → components}/countdown-loader/component.d.ts +0 -0
- package/{dist/components → components}/countdown-loader/component.js +0 -0
- package/{dist/components → components}/countdown-loader/index.css +1 -1
- package/{dist/components → components}/countdown-loader/index.d.ts +0 -0
- package/{dist/components → components}/countdown-loader/index.js +0 -0
- package/{dist/components → components}/index.d.ts +0 -0
- package/{dist/components → components}/index.js +1 -1
- package/{dist/components → components}/screens/fatal-error/component.d.ts +0 -0
- package/{dist/components → components}/screens/fatal-error/component.js +0 -0
- package/{dist/components → components}/screens/fatal-error/index.css +1 -1
- package/{dist/components → components}/screens/fatal-error/index.d.ts +0 -0
- package/{dist/components → components}/screens/fatal-error/index.js +0 -0
- package/{dist/components → components}/screens/hint/component.d.ts +0 -0
- package/{dist/components → components}/screens/hint/component.js +0 -0
- package/{dist/esm/components → components}/screens/hint/index.css +1 -1
- package/{dist/components → components}/screens/hint/index.d.ts +0 -0
- package/{dist/components → components}/screens/hint/index.js +0 -0
- package/{dist/components → components}/screens/index.d.ts +0 -0
- package/{dist/components → components}/screens/index.js +1 -1
- package/{dist/components → components}/screens/initial/component.d.ts +0 -0
- package/{dist/components → components}/screens/initial/component.js +1 -1
- package/{dist/components → components}/screens/initial/countdown-section.d.ts +0 -0
- package/{dist/components → components}/screens/initial/countdown-section.js +1 -1
- package/{dist/components → components}/screens/initial/index.css +1 -1
- package/{dist/components → components}/screens/initial/index.d.ts +0 -0
- package/{dist/components → components}/screens/initial/index.js +1 -1
- package/{dist/components → components}/screens/temp-block/component.d.ts +0 -0
- package/{dist/components → components}/screens/temp-block/component.js +0 -0
- package/{dist/esm/components → components}/screens/temp-block/index.css +1 -1
- package/{dist/components → components}/screens/temp-block/index.d.ts +0 -0
- package/{dist/components → components}/screens/temp-block/index.js +0 -0
- package/{dist/context.d.ts → context.d.ts} +0 -0
- package/{dist/context.js → context.js} +0 -0
- package/{dist/countdown-section-9510bac5.d.ts → countdown-section-f4828e9f.d.ts} +0 -0
- package/{dist/countdown-section-9510bac5.js → countdown-section-f4828e9f.js} +0 -0
- package/{dist/cssm → cssm}/component.d.ts +0 -0
- package/{dist/cssm → cssm}/component.js +4 -4
- package/{dist/cssm → cssm}/components/countdown-loader/component.d.ts +0 -0
- package/{dist/cssm → cssm}/components/countdown-loader/component.js +0 -0
- package/{dist/cssm → cssm}/components/countdown-loader/index.d.ts +0 -0
- package/{dist/cssm → cssm}/components/countdown-loader/index.js +0 -0
- package/{dist/cssm → cssm}/components/countdown-loader/index.module.css +0 -0
- package/{dist/cssm → cssm}/components/index.d.ts +0 -0
- package/{dist/cssm → cssm}/components/index.js +4 -4
- package/{dist/cssm → cssm}/components/screens/fatal-error/component.d.ts +0 -0
- package/{dist/cssm → cssm}/components/screens/fatal-error/component.js +1 -1
- package/{dist/cssm → cssm}/components/screens/fatal-error/index.d.ts +0 -0
- package/{dist/cssm → cssm}/components/screens/fatal-error/index.js +1 -1
- package/{dist/cssm → cssm}/components/screens/fatal-error/index.module.css +0 -0
- package/{dist/cssm → cssm}/components/screens/hint/component.d.ts +0 -0
- package/{dist/cssm → cssm}/components/screens/hint/component.js +2 -2
- package/{dist/cssm → cssm}/components/screens/hint/index.d.ts +0 -0
- package/{dist/cssm → cssm}/components/screens/hint/index.js +2 -2
- package/{dist/cssm → cssm}/components/screens/hint/index.module.css +0 -0
- package/{dist/cssm → cssm}/components/screens/index.d.ts +0 -0
- package/{dist/cssm → cssm}/components/screens/index.js +4 -4
- package/{dist/cssm → cssm}/components/screens/initial/component.d.ts +0 -0
- package/{dist/cssm → cssm}/components/screens/initial/component.js +4 -4
- package/{dist/cssm → cssm}/components/screens/initial/countdown-section.d.ts +0 -0
- package/{dist/cssm → cssm}/components/screens/initial/countdown-section.js +2 -2
- package/{dist/cssm → cssm}/components/screens/initial/index.d.ts +0 -0
- package/{dist/cssm → cssm}/components/screens/initial/index.js +4 -4
- package/{dist/cssm → cssm}/components/screens/initial/index.module.css +0 -0
- package/{dist/cssm → cssm}/components/screens/temp-block/component.d.ts +0 -0
- package/{dist/cssm → cssm}/components/screens/temp-block/component.js +0 -0
- package/{dist/cssm → cssm}/components/screens/temp-block/index.d.ts +0 -0
- package/{dist/cssm → cssm}/components/screens/temp-block/index.js +0 -0
- package/{dist/cssm → cssm}/components/screens/temp-block/index.module.css +0 -0
- package/{dist/cssm → cssm}/context.d.ts +0 -0
- package/{dist/cssm → cssm}/context.js +0 -0
- package/{dist/cssm → cssm}/index.d.ts +0 -0
- package/{dist/cssm → cssm}/index.js +4 -4
- package/{dist/cssm → cssm}/index.module.css +0 -0
- package/{dist/cssm → cssm}/types.d.ts +0 -0
- package/{dist/cssm → cssm}/types.js +0 -0
- package/{dist/cssm → cssm}/utils.d.ts +0 -0
- package/{dist/cssm → cssm}/utils.js +0 -0
- package/{dist/cssm → cssm}/vars.css +0 -0
- package/{dist/esm → esm}/component.d.ts +0 -0
- package/{dist/esm → esm}/component.js +5 -5
- package/{dist/esm → esm}/components/countdown-loader/component.d.ts +0 -0
- package/{dist/esm → esm}/components/countdown-loader/component.js +0 -0
- package/{dist/esm → esm}/components/countdown-loader/index.css +1 -1
- package/{dist/esm → esm}/components/countdown-loader/index.d.ts +0 -0
- package/{dist/esm → esm}/components/countdown-loader/index.js +0 -0
- package/{dist/esm → esm}/components/index.d.ts +0 -0
- package/{dist/esm → esm}/components/index.js +5 -5
- package/{dist/esm → esm}/components/screens/fatal-error/component.d.ts +0 -0
- package/{dist/esm → esm}/components/screens/fatal-error/component.js +1 -1
- package/{dist/modern → esm}/components/screens/fatal-error/index.css +1 -1
- package/{dist/esm → esm}/components/screens/fatal-error/index.d.ts +0 -0
- package/{dist/esm → esm}/components/screens/fatal-error/index.js +1 -1
- package/{dist/esm → esm}/components/screens/hint/component.d.ts +0 -0
- package/{dist/esm → esm}/components/screens/hint/component.js +2 -2
- package/{dist/modern → esm}/components/screens/hint/index.css +1 -1
- package/{dist/esm → esm}/components/screens/hint/index.d.ts +0 -0
- package/{dist/esm → esm}/components/screens/hint/index.js +2 -2
- package/{dist/esm → esm}/components/screens/index.d.ts +0 -0
- package/{dist/esm → esm}/components/screens/index.js +5 -5
- package/{dist/esm → esm}/components/screens/initial/component.d.ts +0 -0
- package/{dist/esm → esm}/components/screens/initial/component.js +5 -5
- package/{dist/esm → esm}/components/screens/initial/countdown-section.d.ts +0 -0
- package/{dist/esm → esm}/components/screens/initial/countdown-section.js +3 -3
- package/{dist/modern → esm}/components/screens/initial/index.css +1 -1
- package/{dist/esm → esm}/components/screens/initial/index.d.ts +0 -0
- package/esm/components/screens/initial/index.js +11 -0
- package/{dist/esm → esm}/components/screens/temp-block/component.d.ts +0 -0
- package/{dist/esm → esm}/components/screens/temp-block/component.js +0 -0
- package/{dist/modern → esm}/components/screens/temp-block/index.css +1 -1
- package/{dist/esm → esm}/components/screens/temp-block/index.d.ts +0 -0
- package/{dist/esm → esm}/components/screens/temp-block/index.js +0 -0
- package/{dist/esm → esm}/context.d.ts +0 -0
- package/{dist/esm → esm}/context.js +0 -0
- package/{dist/esm/countdown-section-14be6f55.d.ts → esm/countdown-section-29020176.d.ts} +0 -0
- package/{dist/esm/countdown-section-14be6f55.js → esm/countdown-section-29020176.js} +2 -2
- package/{dist → esm}/index.css +1 -1
- package/{dist/esm → esm}/index.d.ts +0 -0
- package/{dist/esm → esm}/index.js +5 -5
- package/{dist/esm → esm}/types.d.ts +0 -0
- package/{dist/esm → esm}/types.js +0 -0
- package/{dist/esm → esm}/utils.d.ts +0 -0
- package/{dist/esm → esm}/utils.js +0 -0
- package/{dist/esm/index.css → index.css} +1 -1
- package/{dist/index.d.ts → index.d.ts} +0 -0
- package/{dist/index.js → index.js} +1 -1
- package/{dist/modern → modern}/component.d.ts +0 -0
- package/{dist/modern → modern}/component.js +5 -5
- package/{dist/modern → modern}/components/countdown-loader/component.d.ts +0 -0
- package/{dist/modern → modern}/components/countdown-loader/component.js +0 -0
- package/{dist/modern → modern}/components/countdown-loader/index.css +1 -1
- package/{dist/modern → modern}/components/countdown-loader/index.d.ts +0 -0
- package/{dist/modern → modern}/components/countdown-loader/index.js +0 -0
- package/{dist/modern → modern}/components/index.d.ts +0 -0
- package/{dist/modern → modern}/components/index.js +5 -5
- package/{dist/modern → modern}/components/screens/fatal-error/component.d.ts +0 -0
- package/{dist/modern → modern}/components/screens/fatal-error/component.js +1 -1
- package/{dist/esm → modern}/components/screens/fatal-error/index.css +1 -1
- package/{dist/modern → modern}/components/screens/fatal-error/index.d.ts +0 -0
- package/{dist/modern → modern}/components/screens/fatal-error/index.js +1 -1
- package/{dist/modern → modern}/components/screens/hint/component.d.ts +0 -0
- package/{dist/modern → modern}/components/screens/hint/component.js +2 -2
- package/{dist → modern}/components/screens/hint/index.css +1 -1
- package/{dist/modern → modern}/components/screens/hint/index.d.ts +0 -0
- package/{dist/modern → modern}/components/screens/hint/index.js +2 -2
- package/{dist/modern → modern}/components/screens/index.d.ts +0 -0
- package/{dist/modern → modern}/components/screens/index.js +5 -5
- package/{dist/modern → modern}/components/screens/initial/component.d.ts +0 -0
- package/{dist/modern → modern}/components/screens/initial/component.js +5 -5
- package/{dist/modern → modern}/components/screens/initial/countdown-section.d.ts +0 -0
- package/{dist/modern → modern}/components/screens/initial/countdown-section.js +3 -3
- package/{dist/esm → modern}/components/screens/initial/index.css +1 -1
- package/{dist/modern → modern}/components/screens/initial/index.d.ts +0 -0
- package/modern/components/screens/initial/index.js +11 -0
- package/{dist/modern → modern}/components/screens/temp-block/component.d.ts +0 -0
- package/{dist/modern → modern}/components/screens/temp-block/component.js +0 -0
- package/{dist → modern}/components/screens/temp-block/index.css +1 -1
- package/{dist/modern → modern}/components/screens/temp-block/index.d.ts +0 -0
- package/{dist/modern → modern}/components/screens/temp-block/index.js +0 -0
- package/{dist/modern → modern}/context.d.ts +0 -0
- package/{dist/modern → modern}/context.js +0 -0
- package/{dist/modern/countdown-section-985047d4.d.ts → modern/countdown-section-2804aa27.d.ts} +0 -0
- package/{dist/modern/countdown-section-985047d4.js → modern/countdown-section-2804aa27.js} +2 -2
- package/{dist/modern → modern}/index.css +1 -1
- package/{dist/modern → modern}/index.d.ts +0 -0
- package/{dist/modern → modern}/index.js +5 -5
- package/{dist/modern → modern}/types.d.ts +0 -0
- package/{dist/modern → modern}/types.js +0 -0
- package/{dist/modern → modern}/utils.d.ts +0 -0
- package/{dist/modern → modern}/utils.js +0 -0
- package/package.json +11 -14
- package/{dist/send-stats.js → send-stats.js} +0 -0
- package/{dist/types.d.ts → types.d.ts} +0 -0
- package/{dist/types.js → types.js} +0 -0
- package/{dist/utils.d.ts → utils.d.ts} +0 -0
- package/{dist/utils.js → utils.js} +0 -0
- package/CHANGELOG.md +0 -711
- package/dist/esm/components/screens/initial/index.js +0 -11
- package/dist/modern/components/screens/initial/index.js +0 -11
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import 'react';
|
|
2
|
+
import 'classnames';
|
|
3
|
+
import '@alfalab/hooks';
|
|
4
|
+
import '../../../utils.js';
|
|
5
|
+
import '../../../context.js';
|
|
6
|
+
import '@alfalab/core-components-code-input/esm';
|
|
7
|
+
import '@alfalab/core-components-link/esm';
|
|
8
|
+
import '../../../countdown-section-29020176.js';
|
|
9
|
+
import '@alfalab/core-components-loader/esm';
|
|
10
|
+
import '@alfalab/core-components-button/esm';
|
|
11
|
+
export { Initial } from './component.js';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,8 +2,8 @@ import React, { useContext } from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { formatMsAsMinutes } from './utils.js';
|
|
4
4
|
import { ConfirmationContext } from './context.js';
|
|
5
|
-
import { Loader } from '@alfalab/core-components-loader/
|
|
6
|
-
import { Button } from '@alfalab/core-components-button/
|
|
5
|
+
import { Loader } from '@alfalab/core-components-loader/esm';
|
|
6
|
+
import { Button } from '@alfalab/core-components-button/esm';
|
|
7
7
|
|
|
8
8
|
var styles = {"component":"confirmation__component_14opt","header":"confirmation__header_14opt","phone":"confirmation__phone_14opt","inputContainer":"confirmation__inputContainer_14opt","compact":"confirmation__compact_14opt","loaderWrap":"confirmation__loaderWrap_14opt","center":"confirmation__center_14opt","codeInput":"confirmation__codeInput_14opt","smsComeLink":"confirmation__smsComeLink_14opt","countdownContainer":"confirmation__countdownContainer_14opt","getCodeButton":"confirmation__getCodeButton_14opt","countdown":"confirmation__countdown_14opt","countdownTimer":"confirmation__countdownTimer_14opt"};
|
|
9
9
|
require('./components/screens/initial/index.css')
|
package/{dist → esm}/index.css
RENAMED
|
File without changes
|
|
@@ -5,11 +5,11 @@ import '@alfalab/hooks';
|
|
|
5
5
|
export { ONE_DAY, ONE_MINUTE, formatMsAsMinutes, useConfirmation, useCountdown } from './utils.js';
|
|
6
6
|
export { ConfirmationContext } from './context.js';
|
|
7
7
|
export { defaultTexts } from './types.js';
|
|
8
|
-
import '@alfalab/core-components-code-input/
|
|
9
|
-
import '@alfalab/core-components-link/
|
|
10
|
-
import './countdown-section-
|
|
11
|
-
import '@alfalab/core-components-loader/
|
|
12
|
-
import '@alfalab/core-components-button/
|
|
8
|
+
import '@alfalab/core-components-code-input/esm';
|
|
9
|
+
import '@alfalab/core-components-link/esm';
|
|
10
|
+
import './countdown-section-29020176.js';
|
|
11
|
+
import '@alfalab/core-components-loader/esm';
|
|
12
|
+
import '@alfalab/core-components-button/esm';
|
|
13
13
|
export { Initial } from './components/screens/initial/component.js';
|
|
14
14
|
export { Hint } from './components/screens/hint/component.js';
|
|
15
15
|
export { FatalError } from './components/screens/fatal-error/component.js';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -11,7 +11,7 @@ var context = require('./context.js');
|
|
|
11
11
|
var types = require('./types.js');
|
|
12
12
|
require('@alfalab/core-components-code-input');
|
|
13
13
|
require('@alfalab/core-components-link');
|
|
14
|
-
require('./countdown-section-
|
|
14
|
+
require('./countdown-section-f4828e9f.js');
|
|
15
15
|
require('@alfalab/core-components-loader');
|
|
16
16
|
require('@alfalab/core-components-button');
|
|
17
17
|
var components_screens_initial_component = require('./components/screens/initial/component.js');
|
|
File without changes
|
|
@@ -4,11 +4,11 @@ import { usePrevious } from '@alfalab/hooks';
|
|
|
4
4
|
import { ONE_MINUTE, ONE_DAY, useCountdown } from './utils.js';
|
|
5
5
|
import { ConfirmationContext } from './context.js';
|
|
6
6
|
import { defaultTexts } from './types.js';
|
|
7
|
-
import '@alfalab/core-components-code-input/
|
|
8
|
-
import '@alfalab/core-components-link/
|
|
9
|
-
import './countdown-section-
|
|
10
|
-
import '@alfalab/core-components-loader/
|
|
11
|
-
import '@alfalab/core-components-button/
|
|
7
|
+
import '@alfalab/core-components-code-input/modern';
|
|
8
|
+
import '@alfalab/core-components-link/modern';
|
|
9
|
+
import './countdown-section-2804aa27.js';
|
|
10
|
+
import '@alfalab/core-components-loader/modern';
|
|
11
|
+
import '@alfalab/core-components-button/modern';
|
|
12
12
|
import { Initial } from './components/screens/initial/component.js';
|
|
13
13
|
import { Hint } from './components/screens/hint/component.js';
|
|
14
14
|
import { FatalError } from './components/screens/fatal-error/component.js';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -3,11 +3,11 @@ import 'classnames';
|
|
|
3
3
|
import '@alfalab/hooks';
|
|
4
4
|
import '../utils.js';
|
|
5
5
|
import '../context.js';
|
|
6
|
-
import '@alfalab/core-components-code-input/
|
|
7
|
-
import '@alfalab/core-components-link/
|
|
8
|
-
import '../countdown-section-
|
|
9
|
-
import '@alfalab/core-components-loader/
|
|
10
|
-
import '@alfalab/core-components-button/
|
|
6
|
+
import '@alfalab/core-components-code-input/modern';
|
|
7
|
+
import '@alfalab/core-components-link/modern';
|
|
8
|
+
import '../countdown-section-2804aa27.js';
|
|
9
|
+
import '@alfalab/core-components-loader/modern';
|
|
10
|
+
import '@alfalab/core-components-button/modern';
|
|
11
11
|
export { Initial } from './screens/initial/component.js';
|
|
12
12
|
export { Hint } from './screens/hint/component.js';
|
|
13
13
|
export { FatalError } from './screens/fatal-error/component.js';
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useContext, Fragment } from 'react';
|
|
2
2
|
import '../../../utils.js';
|
|
3
3
|
import { ConfirmationContext } from '../../../context.js';
|
|
4
|
-
import { Button } from '@alfalab/core-components-button/
|
|
4
|
+
import { Button } from '@alfalab/core-components-button/modern';
|
|
5
5
|
|
|
6
6
|
var styles = {"header":"confirmation__header_hgh6v","description":"confirmation__description_hgh6v"};
|
|
7
7
|
require('./index.css')
|
|
File without changes
|
|
File without changes
|
|
@@ -2,8 +2,8 @@ import React, { useContext } from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import '../../../utils.js';
|
|
4
4
|
import { ConfirmationContext } from '../../../context.js';
|
|
5
|
-
import { Link } from '@alfalab/core-components-link/
|
|
6
|
-
import { Button } from '@alfalab/core-components-button/
|
|
5
|
+
import { Link } from '@alfalab/core-components-link/modern';
|
|
6
|
+
import { Button } from '@alfalab/core-components-button/modern';
|
|
7
7
|
|
|
8
8
|
var styles = {"center":"confirmation__center_n3v01","phoneHintWrap":"confirmation__phoneHintWrap_n3v01","hintWrap":"confirmation__hintWrap_n3v01","title":"confirmation__title_n3v01","text":"confirmation__text_n3v01","phonesWrap":"confirmation__phonesWrap_n3v01","phoneWrap":"confirmation__phoneWrap_n3v01","phoneLink":"confirmation__phoneLink_n3v01","phoneDescription":"confirmation__phoneDescription_n3v01","hintButton":"confirmation__hintButton_n3v01"};
|
|
9
9
|
require('./index.css')
|
|
File without changes
|
|
@@ -2,6 +2,6 @@ import 'react';
|
|
|
2
2
|
import 'classnames';
|
|
3
3
|
import '../../../utils.js';
|
|
4
4
|
import '../../../context.js';
|
|
5
|
-
import '@alfalab/core-components-link/
|
|
6
|
-
import '@alfalab/core-components-button/
|
|
5
|
+
import '@alfalab/core-components-link/modern';
|
|
6
|
+
import '@alfalab/core-components-button/modern';
|
|
7
7
|
export { Hint } from './component.js';
|
|
File without changes
|
|
@@ -3,11 +3,11 @@ import 'classnames';
|
|
|
3
3
|
import '@alfalab/hooks';
|
|
4
4
|
import '../../utils.js';
|
|
5
5
|
import '../../context.js';
|
|
6
|
-
import '@alfalab/core-components-code-input/
|
|
7
|
-
import '@alfalab/core-components-link/
|
|
8
|
-
import '../../countdown-section-
|
|
9
|
-
import '@alfalab/core-components-loader/
|
|
10
|
-
import '@alfalab/core-components-button/
|
|
6
|
+
import '@alfalab/core-components-code-input/modern';
|
|
7
|
+
import '@alfalab/core-components-link/modern';
|
|
8
|
+
import '../../countdown-section-2804aa27.js';
|
|
9
|
+
import '@alfalab/core-components-loader/modern';
|
|
10
|
+
import '@alfalab/core-components-button/modern';
|
|
11
11
|
export { Initial } from './initial/component.js';
|
|
12
12
|
export { Hint } from './hint/component.js';
|
|
13
13
|
export { FatalError } from './fatal-error/component.js';
|
|
File without changes
|
|
@@ -3,11 +3,11 @@ import cn from 'classnames';
|
|
|
3
3
|
import { usePrevious } from '@alfalab/hooks';
|
|
4
4
|
import '../../../utils.js';
|
|
5
5
|
import { ConfirmationContext } from '../../../context.js';
|
|
6
|
-
import { CodeInput } from '@alfalab/core-components-code-input/
|
|
7
|
-
import { Link } from '@alfalab/core-components-link/
|
|
8
|
-
import { s as styles, C as CountdownSection } from '../../../countdown-section-
|
|
9
|
-
import '@alfalab/core-components-loader/
|
|
10
|
-
import '@alfalab/core-components-button/
|
|
6
|
+
import { CodeInput } from '@alfalab/core-components-code-input/modern';
|
|
7
|
+
import { Link } from '@alfalab/core-components-link/modern';
|
|
8
|
+
import { s as styles, C as CountdownSection } from '../../../countdown-section-2804aa27.js';
|
|
9
|
+
import '@alfalab/core-components-loader/modern';
|
|
10
|
+
import '@alfalab/core-components-button/modern';
|
|
11
11
|
|
|
12
12
|
const CODE_SEND_HINT_VISIBLE_DURATION = 2000;
|
|
13
13
|
const Initial = () => {
|
|
File without changes
|
|
@@ -2,6 +2,6 @@ import 'react';
|
|
|
2
2
|
import 'classnames';
|
|
3
3
|
import '../../../utils.js';
|
|
4
4
|
import '../../../context.js';
|
|
5
|
-
export { C as CountdownSection } from '../../../countdown-section-
|
|
6
|
-
import '@alfalab/core-components-loader/
|
|
7
|
-
import '@alfalab/core-components-button/
|
|
5
|
+
export { C as CountdownSection } from '../../../countdown-section-2804aa27.js';
|
|
6
|
+
import '@alfalab/core-components-loader/modern';
|
|
7
|
+
import '@alfalab/core-components-button/modern';
|
|
File without changes
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import 'react';
|
|
2
|
+
import 'classnames';
|
|
3
|
+
import '@alfalab/hooks';
|
|
4
|
+
import '../../../utils.js';
|
|
5
|
+
import '../../../context.js';
|
|
6
|
+
import '@alfalab/core-components-code-input/modern';
|
|
7
|
+
import '@alfalab/core-components-link/modern';
|
|
8
|
+
import '../../../countdown-section-2804aa27.js';
|
|
9
|
+
import '@alfalab/core-components-loader/modern';
|
|
10
|
+
import '@alfalab/core-components-button/modern';
|
|
11
|
+
export { Initial } from './component.js';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/{dist/modern/countdown-section-985047d4.d.ts → modern/countdown-section-2804aa27.d.ts}
RENAMED
|
File without changes
|
|
@@ -2,8 +2,8 @@ import React, { useContext } from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { formatMsAsMinutes } from './utils.js';
|
|
4
4
|
import { ConfirmationContext } from './context.js';
|
|
5
|
-
import { Loader } from '@alfalab/core-components-loader/
|
|
6
|
-
import { Button } from '@alfalab/core-components-button/
|
|
5
|
+
import { Loader } from '@alfalab/core-components-loader/modern';
|
|
6
|
+
import { Button } from '@alfalab/core-components-button/modern';
|
|
7
7
|
|
|
8
8
|
var styles = {"component":"confirmation__component_14opt","header":"confirmation__header_14opt","phone":"confirmation__phone_14opt","inputContainer":"confirmation__inputContainer_14opt","compact":"confirmation__compact_14opt","loaderWrap":"confirmation__loaderWrap_14opt","center":"confirmation__center_14opt","codeInput":"confirmation__codeInput_14opt","smsComeLink":"confirmation__smsComeLink_14opt","countdownContainer":"confirmation__countdownContainer_14opt","getCodeButton":"confirmation__getCodeButton_14opt","countdown":"confirmation__countdown_14opt","countdownTimer":"confirmation__countdownTimer_14opt"};
|
|
9
9
|
require('./components/screens/initial/index.css')
|
|
File without changes
|
|
@@ -4,11 +4,11 @@ import '@alfalab/hooks';
|
|
|
4
4
|
export { ONE_DAY, ONE_MINUTE, formatMsAsMinutes, useConfirmation, useCountdown } from './utils.js';
|
|
5
5
|
export { ConfirmationContext } from './context.js';
|
|
6
6
|
export { defaultTexts } from './types.js';
|
|
7
|
-
import '@alfalab/core-components-code-input/
|
|
8
|
-
import '@alfalab/core-components-link/
|
|
9
|
-
import './countdown-section-
|
|
10
|
-
import '@alfalab/core-components-loader/
|
|
11
|
-
import '@alfalab/core-components-button/
|
|
7
|
+
import '@alfalab/core-components-code-input/modern';
|
|
8
|
+
import '@alfalab/core-components-link/modern';
|
|
9
|
+
import './countdown-section-2804aa27.js';
|
|
10
|
+
import '@alfalab/core-components-loader/modern';
|
|
11
|
+
import '@alfalab/core-components-button/modern';
|
|
12
12
|
export { Initial } from './components/screens/initial/component.js';
|
|
13
13
|
export { Hint } from './components/screens/hint/component.js';
|
|
14
14
|
export { FatalError } from './components/screens/fatal-error/component.js';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-confirmation",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.0",
|
|
4
4
|
"description": "Sms confirmation component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"main": "
|
|
8
|
-
"module": "./
|
|
9
|
-
"files": [
|
|
10
|
-
"dist"
|
|
11
|
-
],
|
|
7
|
+
"main": "index.js",
|
|
8
|
+
"module": "./esm/index.js",
|
|
12
9
|
"scripts": {
|
|
13
|
-
"postinstall": "node -e \"if (require('fs').existsSync('./
|
|
10
|
+
"postinstall": "node -e \"if (require('fs').existsSync('./send-stats.js')){require('./send-stats.js')} \""
|
|
14
11
|
},
|
|
15
12
|
"publishConfig": {
|
|
16
|
-
"access": "public"
|
|
13
|
+
"access": "public",
|
|
14
|
+
"directory": "dist"
|
|
17
15
|
},
|
|
18
16
|
"dependencies": {
|
|
19
|
-
"@alfalab/core-components-button": "^
|
|
20
|
-
"@alfalab/core-components-code-input": "^
|
|
21
|
-
"@alfalab/core-components-link": "^
|
|
22
|
-
"@alfalab/core-components-loader": "^
|
|
17
|
+
"@alfalab/core-components-button": "^6.0.0",
|
|
18
|
+
"@alfalab/core-components-code-input": "^2.0.0",
|
|
19
|
+
"@alfalab/core-components-link": "^4.0.0",
|
|
20
|
+
"@alfalab/core-components-loader": "^3.0.0",
|
|
23
21
|
"@alfalab/hooks": "^1.4.1",
|
|
24
22
|
"@alfalab/icons-glyph": "^2.16.0",
|
|
25
23
|
"@alfalab/utils": "^1.11.0",
|
|
@@ -27,6 +25,5 @@
|
|
|
27
25
|
},
|
|
28
26
|
"peerDependencies": {
|
|
29
27
|
"react": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
30
|
-
}
|
|
31
|
-
"gitHead": "4d6c8965d07839e339b370bb7c92bd7f9e24b1f3"
|
|
28
|
+
}
|
|
32
29
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|