@alfalab/core-components-pattern-lock 1.0.1 → 1.0.2

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/Component.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var utils = require('./utils-b2ef848f.js');
3
+ var utils = require('./utils-a2a5e3e1.js');
4
4
  var React = require('react');
5
5
  var reactCanvasPatternLock = require('react-canvas-pattern-lock');
6
6
  var cn = require('classnames');
@@ -12,7 +12,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
12
12
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
13
13
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
14
14
 
15
- var styles = {"component":"pattern-lock__component_1b6u2","hidden":"pattern-lock__hidden_1b6u2","error":"pattern-lock__error_1b6u2"};
15
+ var styles = {"component":"pattern-lock__component_188cp","hidden":"pattern-lock__hidden_188cp","error":"pattern-lock__error_188cp"};
16
16
  require('./index.css')
17
17
 
18
18
  var PatternLock = React.forwardRef(function (_a, ref) {
package/esm/Component.js CHANGED
@@ -1,11 +1,11 @@
1
- import { _ as __rest, g as getSizes, a as getTheme, b as getColorByToken, c as __assign, d as getDefaultObserveTarget } from './utils-addea6bf.js';
1
+ import { _ as __rest, g as getSizes, a as getTheme, b as getColorByToken, c as __assign, d as getDefaultObserveTarget } from './utils-30ae747f.js';
2
2
  import React, { forwardRef, useState, useEffect } from 'react';
3
3
  import { ReactCanvasPatternLock } from 'react-canvas-pattern-lock';
4
4
  import cn from 'classnames';
5
5
  import { Gap } from '@alfalab/core-components-gap/esm';
6
6
  import { THEME_STATE, OBSERVE_OPTIONS, OBSERVABLE_TOKENS } from './consts.js';
7
7
 
8
- var styles = {"component":"pattern-lock__component_1b6u2","hidden":"pattern-lock__hidden_1b6u2","error":"pattern-lock__error_1b6u2"};
8
+ var styles = {"component":"pattern-lock__component_188cp","hidden":"pattern-lock__hidden_188cp","error":"pattern-lock__error_188cp"};
9
9
  require('./index.css')
10
10
 
11
11
  var PatternLock = forwardRef(function (_a, ref) {
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: osr8s */
1
+ /* hash: hkuo5 */
2
2
  :root {
3
3
  --color-light-text-negative: #d91d0b;
4
4
  }
@@ -18,18 +18,18 @@
18
18
  :root {
19
19
  --pattern-lock-max-width: 500px;
20
20
  }
21
- .pattern-lock__component_1b6u2 {
21
+ .pattern-lock__component_188cp {
22
22
  max-width: var(--pattern-lock-max-width);
23
23
  margin: var(--gap-xs) 0 var(--gap-xl) 0
24
24
  }
25
- .pattern-lock__component_1b6u2 canvas {
25
+ .pattern-lock__component_188cp canvas {
26
26
  display: block;
27
27
  margin: 0 auto;
28
28
  }
29
- .pattern-lock__hidden_1b6u2 {
29
+ .pattern-lock__hidden_188cp {
30
30
  visibility: hidden;
31
31
  }
32
- .pattern-lock__error_1b6u2 {
32
+ .pattern-lock__error_188cp {
33
33
  font-size: 16px;
34
34
  line-height: 24px;
35
35
  font-weight: 400;
package/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export { PatternLock } from './Component.js';
2
2
  export { THEME_STATE } from './consts.js';
3
- import './utils-addea6bf.js';
3
+ import './utils-30ae747f.js';
4
4
  import 'react';
5
5
  import 'react-canvas-pattern-lock';
6
6
  import 'classnames';
File without changes
File without changes
package/esm/utils.js CHANGED
@@ -1,2 +1,2 @@
1
- export { b as getColorByToken, d as getDefaultObserveTarget, g as getSizes, a as getTheme } from './utils-addea6bf.js';
1
+ export { b as getColorByToken, d as getDefaultObserveTarget, g as getSizes, a as getTheme } from './utils-30ae747f.js';
2
2
  import './consts.js';
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: osr8s */
1
+ /* hash: hkuo5 */
2
2
  :root {
3
3
  --color-light-text-negative: #d91d0b;
4
4
  }
@@ -18,18 +18,18 @@
18
18
  :root {
19
19
  --pattern-lock-max-width: 500px;
20
20
  }
21
- .pattern-lock__component_1b6u2 {
21
+ .pattern-lock__component_188cp {
22
22
  max-width: var(--pattern-lock-max-width);
23
23
  margin: var(--gap-xs) 0 var(--gap-xl) 0
24
24
  }
25
- .pattern-lock__component_1b6u2 canvas {
25
+ .pattern-lock__component_188cp canvas {
26
26
  display: block;
27
27
  margin: 0 auto;
28
28
  }
29
- .pattern-lock__hidden_1b6u2 {
29
+ .pattern-lock__hidden_188cp {
30
30
  visibility: hidden;
31
31
  }
32
- .pattern-lock__error_1b6u2 {
32
+ .pattern-lock__error_188cp {
33
33
  font-size: 16px;
34
34
  line-height: 24px;
35
35
  font-weight: 400;
package/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  var Component = require('./Component.js');
4
4
  var consts = require('./consts.js');
5
- require('./utils-b2ef848f.js');
5
+ require('./utils-a2a5e3e1.js');
6
6
  require('react');
7
7
  require('react-canvas-pattern-lock');
8
8
  require('classnames');
@@ -5,7 +5,7 @@ import { Gap } from '@alfalab/core-components-gap/modern';
5
5
  import { THEME_STATE, OBSERVE_OPTIONS, OBSERVABLE_TOKENS } from './consts.js';
6
6
  import { getSizes, getTheme, getColorByToken, getDefaultObserveTarget } from './utils.js';
7
7
 
8
- const styles = {"component":"pattern-lock__component_1b6u2","hidden":"pattern-lock__hidden_1b6u2","error":"pattern-lock__error_1b6u2"};
8
+ const styles = {"component":"pattern-lock__component_188cp","hidden":"pattern-lock__hidden_188cp","error":"pattern-lock__error_188cp"};
9
9
  require('./index.css')
10
10
 
11
11
  const PatternLock = forwardRef(({ observeTokens = false, observerParams = {}, justifyNodes = 'space-between', className, error, dataTestId, ...restProps }, ref) => {
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: osr8s */
1
+ /* hash: hkuo5 */
2
2
  :root {
3
3
  --color-light-text-negative: #d91d0b;
4
4
  }
@@ -18,18 +18,18 @@
18
18
  :root {
19
19
  --pattern-lock-max-width: 500px;
20
20
  }
21
- .pattern-lock__component_1b6u2 {
21
+ .pattern-lock__component_188cp {
22
22
  max-width: var(--pattern-lock-max-width);
23
23
  margin: var(--gap-xs) 0 var(--gap-xl) 0
24
24
  }
25
- .pattern-lock__component_1b6u2 canvas {
25
+ .pattern-lock__component_188cp canvas {
26
26
  display: block;
27
27
  margin: 0 auto;
28
28
  }
29
- .pattern-lock__hidden_1b6u2 {
29
+ .pattern-lock__hidden_188cp {
30
30
  visibility: hidden;
31
31
  }
32
- .pattern-lock__error_1b6u2 {
32
+ .pattern-lock__error_188cp {
33
33
  font-size: 16px;
34
34
  line-height: 24px;
35
35
  font-weight: 400;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-pattern-lock",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Pattern lock",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -15,7 +15,7 @@
15
15
  "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
16
16
  },
17
17
  "dependencies": {
18
- "@alfalab/core-components-gap": "^1.0.1",
18
+ "@alfalab/core-components-gap": "^1.1.0",
19
19
  "react-canvas-pattern-lock": "^1.0.0",
20
20
  "react-merge-refs": "^1.1.0",
21
21
  "classnames": "^2.3.1"
File without changes
File without changes
package/utils.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var utils = require('./utils-b2ef848f.js');
3
+ var utils = require('./utils-a2a5e3e1.js');
4
4
  require('./consts.js');
5
5
 
6
6