@alfalab/core-components-confirmation 13.4.0 → 13.4.1

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.
Files changed (60) hide show
  1. package/components/base-confirmation/component.js +1 -1
  2. package/components/base-confirmation/index.css +2 -2
  3. package/components/countdown-loader/component.js +1 -1
  4. package/components/countdown-loader/index.css +2 -2
  5. package/components/header/component.js +1 -1
  6. package/components/header/index.css +4 -4
  7. package/components/screens/fatal-error/component.js +1 -1
  8. package/components/screens/fatal-error/index.css +6 -6
  9. package/components/screens/hint/component.js +1 -1
  10. package/components/screens/hint/index.css +12 -12
  11. package/components/screens/initial/component.js +2 -2
  12. package/components/screens/initial/countdown-section.js +1 -1
  13. package/components/screens/initial/index.css +17 -17
  14. package/components/screens/temp-block/component.js +1 -1
  15. package/components/screens/temp-block/index.css +7 -7
  16. package/{countdown-section-b2892ef2.js → countdown-section-c7b95621.js} +1 -1
  17. package/cssm/components/screens/initial/component.js +1 -1
  18. package/esm/components/base-confirmation/component.js +1 -1
  19. package/esm/components/base-confirmation/index.css +2 -2
  20. package/esm/components/countdown-loader/component.js +1 -1
  21. package/esm/components/countdown-loader/index.css +2 -2
  22. package/esm/components/header/component.js +1 -1
  23. package/esm/components/header/index.css +4 -4
  24. package/esm/components/screens/fatal-error/component.js +1 -1
  25. package/esm/components/screens/fatal-error/index.css +6 -6
  26. package/esm/components/screens/hint/component.js +1 -1
  27. package/esm/components/screens/hint/index.css +12 -12
  28. package/esm/components/screens/initial/component.js +2 -2
  29. package/esm/components/screens/initial/countdown-section.js +1 -1
  30. package/esm/components/screens/initial/index.css +17 -17
  31. package/esm/components/screens/temp-block/component.js +1 -1
  32. package/esm/components/screens/temp-block/index.css +7 -7
  33. package/esm/{countdown-section-128b6ff2.js → countdown-section-b0eafcff.js} +1 -1
  34. package/esm/mobile/component.mobile.js +1 -1
  35. package/esm/mobile/mobile.css +2 -2
  36. package/mobile/component.mobile.js +1 -1
  37. package/mobile/mobile.css +2 -2
  38. package/modern/components/base-confirmation/component.js +1 -1
  39. package/modern/components/base-confirmation/index.css +2 -2
  40. package/modern/components/countdown-loader/component.js +1 -1
  41. package/modern/components/countdown-loader/index.css +2 -2
  42. package/modern/components/header/component.js +1 -1
  43. package/modern/components/header/index.css +4 -4
  44. package/modern/components/screens/fatal-error/component.js +1 -1
  45. package/modern/components/screens/fatal-error/index.css +6 -6
  46. package/modern/components/screens/hint/component.js +1 -1
  47. package/modern/components/screens/hint/index.css +12 -12
  48. package/modern/components/screens/initial/component.js +2 -2
  49. package/modern/components/screens/initial/countdown-section.js +1 -1
  50. package/modern/components/screens/initial/index.css +17 -17
  51. package/modern/components/screens/temp-block/component.js +1 -1
  52. package/modern/components/screens/temp-block/index.css +7 -7
  53. package/modern/{countdown-section-bae1eefc.js → countdown-section-0eefd440.js} +1 -1
  54. package/modern/mobile/component.mobile.js +1 -1
  55. package/modern/mobile/mobile.css +2 -2
  56. package/package.json +3 -3
  57. package/src/components/screens/initial/component.tsx +1 -1
  58. /package/{countdown-section-b2892ef2.d.ts → countdown-section-c7b95621.d.ts} +0 -0
  59. /package/esm/{countdown-section-128b6ff2.d.ts → countdown-section-b0eafcff.d.ts} +0 -0
  60. /package/modern/{countdown-section-bae1eefc.d.ts → countdown-section-0eefd440.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- /* hash: 1ympr */
1
+ /* hash: w04ue */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -31,23 +31,23 @@
31
31
  --confirmation-text-color: var(--color-light-text-primary)
32
32
 
33
33
  /* header */
34
- } .confirmation__component_1j55i {
34
+ } .confirmation__component_1ifyu {
35
35
  display: flex;
36
36
  flex-direction: column;
37
- } .confirmation__center_1j55i {
37
+ } .confirmation__center_1ifyu {
38
38
  align-items: center;
39
39
  text-align: center;
40
- } .confirmation__typographyTheme_1j55i.confirmation__typographyTheme_1j55i {
40
+ } .confirmation__typographyTheme_1ifyu.confirmation__typographyTheme_1ifyu {
41
41
  font-size: var(--confirmation-text-font-size);
42
42
  line-height: var(--confirmation-text-line-height);
43
43
  font-weight: var(--confirmation-text-font-weight);
44
44
  font-family: var(--confirmation-text-font-family);
45
45
  color: var(--confirmation-text-color);
46
- } .confirmation__description_1j55i.confirmation__description_1j55i {
46
+ } .confirmation__description_1ifyu.confirmation__description_1ifyu {
47
47
  margin-bottom: var(--gap-xs);
48
- } .confirmation__countdownWrap_1j55i {
48
+ } .confirmation__countdownWrap_1ifyu {
49
49
  display: flex;
50
50
  align-items: center;
51
- } .confirmation__loader_1j55i {
51
+ } .confirmation__loader_1ifyu {
52
52
  margin-right: var(--gap-xs);
53
53
  }
@@ -6,7 +6,7 @@ import { Typography } from '@alfalab/core-components-typography/modern';
6
6
  import { ConfirmationContext } from './context.js';
7
7
  import { formatMsAsMinutes } from './utils.js';
8
8
 
9
- const styles = {"component":"confirmation__component_qmwm4","typographyTheme":"confirmation__typographyTheme_qmwm4","phone":"confirmation__phone_qmwm4","compact":"confirmation__compact_qmwm4","loaderWrap":"confirmation__loaderWrap_qmwm4","left":"confirmation__left_qmwm4","center":"confirmation__center_qmwm4","codeInput":"confirmation__codeInput_qmwm4","smsComeLink":"confirmation__smsComeLink_qmwm4","countdownContainer":"confirmation__countdownContainer_qmwm4","countdownMobile":"confirmation__countdownMobile_qmwm4","countdownLoaderMobile":"confirmation__countdownLoaderMobile_qmwm4","getCodeButton":"confirmation__getCodeButton_qmwm4","getCodeButtonMobile":"confirmation__getCodeButtonMobile_qmwm4","containerInput":"confirmation__containerInput_qmwm4"};
9
+ const styles = {"component":"confirmation__component_84m2v","typographyTheme":"confirmation__typographyTheme_84m2v","phone":"confirmation__phone_84m2v","compact":"confirmation__compact_84m2v","loaderWrap":"confirmation__loaderWrap_84m2v","left":"confirmation__left_84m2v","center":"confirmation__center_84m2v","codeInput":"confirmation__codeInput_84m2v","smsComeLink":"confirmation__smsComeLink_84m2v","countdownContainer":"confirmation__countdownContainer_84m2v","countdownMobile":"confirmation__countdownMobile_84m2v","countdownLoaderMobile":"confirmation__countdownLoaderMobile_84m2v","getCodeButton":"confirmation__getCodeButton_84m2v","getCodeButtonMobile":"confirmation__getCodeButtonMobile_84m2v","containerInput":"confirmation__containerInput_84m2v"};
10
10
  require('./components/screens/initial/index.css')
11
11
 
12
12
  const CountdownSection = ({ codeSendHintVisible, timePassed, processing, mobile, handleSmsRetryClick, }) => {
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { BaseConfirmation } from '../components/base-confirmation/component.js';
4
4
 
5
- const styles = {"container":"confirmation__container_5a2ms"};
5
+ const styles = {"container":"confirmation__container_1cyfg"};
6
6
  require('./mobile.css')
7
7
 
8
8
  const ConfirmationMobile = ({ className, ...resProps }) => (React.createElement(BaseConfirmation, { mobile: true, className: cn(className, styles.container), ...resProps }));
@@ -1,4 +1,4 @@
1
- /* hash: ro48 */
2
- .confirmation__container_5a2ms {
1
+ /* hash: 1v2q4 */
2
+ .confirmation__container_1cyfg {
3
3
  max-width: 288px;
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-confirmation",
3
- "version": "13.4.0",
3
+ "version": "13.4.1",
4
4
  "description": "Sms confirmation component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -11,9 +11,9 @@
11
11
  "directory": "dist"
12
12
  },
13
13
  "dependencies": {
14
- "@alfalab/core-components-button": "^11.3.0",
14
+ "@alfalab/core-components-button": "^11.4.0",
15
15
  "@alfalab/core-components-code-input": "^3.3.0",
16
- "@alfalab/core-components-link": "^5.2.0",
16
+ "@alfalab/core-components-link": "^5.2.1",
17
17
  "@alfalab/core-components-spinner": "^3.3.0",
18
18
  "@alfalab/core-components-typography": "^4.5.0",
19
19
  "@alfalab/core-components-mq": "^4.2.0",
@@ -134,7 +134,7 @@ export const Initial: FC<InitialProps> = ({ mobile }) => {
134
134
 
135
135
  if (mobile) {
136
136
  return (
137
- <ButtonMobile onClick={handleSmsHintLinkClick} view='link' size='xs'>
137
+ <ButtonMobile onClick={handleSmsHintLinkClick} view='transparent' size='xs'>
138
138
  {texts.linkToHint}
139
139
  </ButtonMobile>
140
140
  );