@hh.ru/magritte-ui-input 8.0.0 → 9.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/index.js CHANGED
@@ -11,7 +11,6 @@ export { UncontrolledPasswordInput } from './UncontrolledPasswordInput.js';
11
11
  export { UncontrolledSearchInput } from './UncontrolledSearchInput.js';
12
12
  export { UncontrolledDateTimeInput } from './UncontrolledDateTimeInput.js';
13
13
  export { numberFormatterFactory } from './numberFormatter.js';
14
- export { ThemeProvider } from '@hh.ru/magritte-ui-theme-provider';
15
14
  export { useInputAriaProps } from './useInputAriaProps.js';
16
15
  import 'react/jsx-runtime';
17
16
  import 'react';
@@ -27,6 +26,6 @@ import './useFocus.js';
27
26
  import '@hh.ru/magritte-ui-typography';
28
27
  import '@hh.ru/magritte-common-number-formatter';
29
28
  import './useDateTimeMask.js';
30
- import './index.esm-BbHYsWD7.js';
29
+ import './index.esm-urDO9a0M.js';
31
30
  import './useUncontrolledInput.js';
32
31
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/index.mock.d.ts CHANGED
@@ -1,7 +1,5 @@
1
1
  import { ForwardRefExoticComponent } from 'react';
2
2
  export { type InputSize } from '@hh.ru/magritte-ui-input/types';
3
- declare const ThemeProvider: any;
4
- export { ThemeProvider };
5
3
  export declare const Input: ForwardRefExoticComponent<Record<string, unknown>>;
6
4
  export declare const PasswordInput: ForwardRefExoticComponent<Record<string, unknown>>;
7
5
  export declare const NumberInput: ForwardRefExoticComponent<Record<string, unknown>>;
package/index.mock.js CHANGED
@@ -1,8 +1,6 @@
1
1
  import './index.css';
2
2
  import { mockComponent } from '@hh.ru/magritte-ui-mock-component';
3
3
 
4
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
5
- const { ThemeProvider } = jest.requireActual('@hh.ru/magritte-ui-theme-provider/index');
6
4
  const Input = mockComponent('Input', undefined, {
7
5
  withChildren: false,
8
6
  });
@@ -34,5 +32,5 @@ const UncontrolledDateTimeInput = mockComponent('UncontrolledDateTimeInput', und
34
32
  withChildren: false,
35
33
  });
36
34
 
37
- export { DateTimeInput, Input, NumberInput, PasswordInput, SearchInput, ThemeProvider, UncontrolledDateTimeInput, UncontrolledInput, UncontrolledNumberInput, UncontrolledPasswordInput, UncontrolledSearchInput };
35
+ export { DateTimeInput, Input, NumberInput, PasswordInput, SearchInput, UncontrolledDateTimeInput, UncontrolledInput, UncontrolledNumberInput, UncontrolledPasswordInput, UncontrolledSearchInput };
38
36
  //# sourceMappingURL=index.mock.js.map
package/index.mock.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.mock.js","sources":["../src/index.mock.ts"],"sourcesContent":["import { ForwardRefExoticComponent } from 'react';\n\nimport { mockComponent } from '@hh.ru/magritte-ui-mock-component';\n\nexport { type InputSize } from '@hh.ru/magritte-ui-input/types';\n\n// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\nconst { ThemeProvider } = jest.requireActual('@hh.ru/magritte-ui-theme-provider/index');\n\nexport { ThemeProvider };\n\nexport const Input: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent('Input', undefined, {\n withChildren: false,\n});\n\nexport const PasswordInput: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'PasswordInput',\n undefined,\n {\n withChildren: false,\n }\n);\n\nexport const NumberInput: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent('NumberInput', undefined, {\n withChildren: false,\n});\n\nexport const SearchInput: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent('SearchInput', undefined, {\n withChildren: false,\n});\n\nexport const DateTimeInput: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'DateTimeInput',\n undefined,\n {\n withChildren: false,\n }\n);\n\nexport const UncontrolledInput: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'UncontrolledInput',\n undefined,\n {\n withChildren: false,\n }\n);\n\nexport const UncontrolledPasswordInput: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'UncontrolledPasswordInput',\n undefined,\n {\n withChildren: false,\n }\n);\n\nexport const UncontrolledNumberInput: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'UncontrolledNumberInput',\n undefined,\n {\n withChildren: false,\n }\n);\n\nexport const UncontrolledSearchInput: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'UncontrolledSearchInput',\n undefined,\n {\n withChildren: false,\n }\n);\n\nexport const UncontrolledDateTimeInput: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'UncontrolledDateTimeInput',\n undefined,\n {\n withChildren: false,\n }\n);\n"],"names":[],"mappings":";;AAMA;AACM,MAAA,EAAE,aAAa,EAAE,GAAG,IAAI,CAAC,aAAa,CAAC,yCAAyC,EAAE;MAI3E,KAAK,GAAuD,aAAa,CAAC,OAAO,EAAE,SAAS,EAAE;AACvG,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA,EAAE;MAEU,aAAa,GAAuD,aAAa,CAC1F,eAAe,EACf,SAAS,EACT;AACI,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA,EACH;MAEW,WAAW,GAAuD,aAAa,CAAC,aAAa,EAAE,SAAS,EAAE;AACnH,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA,EAAE;MAEU,WAAW,GAAuD,aAAa,CAAC,aAAa,EAAE,SAAS,EAAE;AACnH,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA,EAAE;MAEU,aAAa,GAAuD,aAAa,CAC1F,eAAe,EACf,SAAS,EACT;AACI,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA,EACH;MAEW,iBAAiB,GAAuD,aAAa,CAC9F,mBAAmB,EACnB,SAAS,EACT;AACI,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA,EACH;MAEW,yBAAyB,GAAuD,aAAa,CACtG,2BAA2B,EAC3B,SAAS,EACT;AACI,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA,EACH;MAEW,uBAAuB,GAAuD,aAAa,CACpG,yBAAyB,EACzB,SAAS,EACT;AACI,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA,EACH;MAEW,uBAAuB,GAAuD,aAAa,CACpG,yBAAyB,EACzB,SAAS,EACT;AACI,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA,EACH;MAEW,yBAAyB,GAAuD,aAAa,CACtG,2BAA2B,EAC3B,SAAS,EACT;AACI,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA;;;;"}
1
+ {"version":3,"file":"index.mock.js","sources":["../src/index.mock.ts"],"sourcesContent":["import { ForwardRefExoticComponent } from 'react';\n\nimport { mockComponent } from '@hh.ru/magritte-ui-mock-component';\n\nexport { type InputSize } from '@hh.ru/magritte-ui-input/types';\n\nexport const Input: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent('Input', undefined, {\n withChildren: false,\n});\n\nexport const PasswordInput: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'PasswordInput',\n undefined,\n {\n withChildren: false,\n }\n);\n\nexport const NumberInput: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent('NumberInput', undefined, {\n withChildren: false,\n});\n\nexport const SearchInput: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent('SearchInput', undefined, {\n withChildren: false,\n});\n\nexport const DateTimeInput: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'DateTimeInput',\n undefined,\n {\n withChildren: false,\n }\n);\n\nexport const UncontrolledInput: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'UncontrolledInput',\n undefined,\n {\n withChildren: false,\n }\n);\n\nexport const UncontrolledPasswordInput: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'UncontrolledPasswordInput',\n undefined,\n {\n withChildren: false,\n }\n);\n\nexport const UncontrolledNumberInput: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'UncontrolledNumberInput',\n undefined,\n {\n withChildren: false,\n }\n);\n\nexport const UncontrolledSearchInput: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'UncontrolledSearchInput',\n undefined,\n {\n withChildren: false,\n }\n);\n\nexport const UncontrolledDateTimeInput: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'UncontrolledDateTimeInput',\n undefined,\n {\n withChildren: false,\n }\n);\n"],"names":[],"mappings":";;MAMa,KAAK,GAAuD,aAAa,CAAC,OAAO,EAAE,SAAS,EAAE;AACvG,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA,EAAE;MAEU,aAAa,GAAuD,aAAa,CAC1F,eAAe,EACf,SAAS,EACT;AACI,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA,EACH;MAEW,WAAW,GAAuD,aAAa,CAAC,aAAa,EAAE,SAAS,EAAE;AACnH,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA,EAAE;MAEU,WAAW,GAAuD,aAAa,CAAC,aAAa,EAAE,SAAS,EAAE;AACnH,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA,EAAE;MAEU,aAAa,GAAuD,aAAa,CAC1F,eAAe,EACf,SAAS,EACT;AACI,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA,EACH;MAEW,iBAAiB,GAAuD,aAAa,CAC9F,mBAAmB,EACnB,SAAS,EACT;AACI,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA,EACH;MAEW,yBAAyB,GAAuD,aAAa,CACtG,2BAA2B,EAC3B,SAAS,EACT;AACI,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA,EACH;MAEW,uBAAuB,GAAuD,aAAa,CACpG,yBAAyB,EACzB,SAAS,EACT;AACI,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA,EACH;MAEW,uBAAuB,GAAuD,aAAa,CACpG,yBAAyB,EACzB,SAAS,EACT;AACI,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA,EACH;MAEW,yBAAyB,GAAuD,aAAa,CACtG,2BAA2B,EAC3B,SAAS,EACT;AACI,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA;;;;"}
@@ -1,4 +1,4 @@
1
1
  import './index.css';
2
- export { M as MASKITO_DEFAULT_OPTIONS, m as maskitoDateOptionsGenerator, a as maskitoDateTimeOptionsGenerator, b as maskitoTimeOptionsGenerator, u as useMaskito } from './index.esm-BbHYsWD7.js';
2
+ export { M as MASKITO_DEFAULT_OPTIONS, m as maskitoDateOptionsGenerator, a as maskitoDateTimeOptionsGenerator, b as maskitoTimeOptionsGenerator, u as useMaskito } from './index.esm-urDO9a0M.js';
3
3
  import 'react';
4
4
  //# sourceMappingURL=maskito-exports.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hh.ru/magritte-ui-input",
3
- "version": "8.0.0",
3
+ "version": "9.0.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -29,13 +29,12 @@
29
29
  "@hh.ru/magritte-common-text-selection": "0.1.7",
30
30
  "@hh.ru/magritte-common-use-disabled": "1.0.12",
31
31
  "@hh.ru/magritte-common-use-multiple-refs": "1.1.7",
32
- "@hh.ru/magritte-design-tokens": "22.0.0",
32
+ "@hh.ru/magritte-design-tokens": "22.1.0",
33
33
  "@hh.ru/magritte-ui-breakpoint": "5.0.3",
34
- "@hh.ru/magritte-ui-form-helper": "1.0.42",
35
- "@hh.ru/magritte-ui-icon": "11.0.14",
34
+ "@hh.ru/magritte-ui-form-helper": "2.0.0",
35
+ "@hh.ru/magritte-ui-icon": "12.0.0",
36
36
  "@hh.ru/magritte-ui-mock-component": "1.1.4",
37
- "@hh.ru/magritte-ui-theme-provider": "1.1.51",
38
- "@hh.ru/magritte-ui-typography": "3.0.47"
37
+ "@hh.ru/magritte-ui-typography": "4.0.0"
39
38
  },
40
39
  "devDependencies": {
41
40
  "@maskito/core": "2.4.0",
@@ -45,5 +44,5 @@
45
44
  "publishConfig": {
46
45
  "access": "public"
47
46
  },
48
- "gitHead": "52463f1d519348dca8eb38014a272f152a30b42e"
47
+ "gitHead": "a823b2d582e812bf99b5fdf32058a93eaa59076b"
49
48
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
  import { useMemo } from 'react';
3
- import { M as MASKITO_DEFAULT_OPTIONS, a as maskitoDateTimeOptionsGenerator, m as maskitoDateOptionsGenerator, b as maskitoTimeOptionsGenerator, u as useMaskito } from './index.esm-BbHYsWD7.js';
3
+ import { M as MASKITO_DEFAULT_OPTIONS, a as maskitoDateTimeOptionsGenerator, m as maskitoDateOptionsGenerator, b as maskitoTimeOptionsGenerator, u as useMaskito } from './index.esm-urDO9a0M.js';
4
4
 
5
5
  /**
6
6
  * Округление времени (в формате 00:00) до ближайшего заданного шага