mimir-ui-kit 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +91 -91
- package/dist/assets/fonts/11d5bc9f0cad36d1.woff2 +0 -0
- package/dist/assets/fonts/1a738bfdbc1e4d9d.woff +0 -0
- package/dist/assets/fonts/242d04bef81519ae.woff2 +0 -0
- package/dist/assets/fonts/3b9f59412b17ff93.woff +0 -0
- package/dist/assets/fonts/3cdd7fabbe89d2b9.woff +0 -0
- package/dist/assets/fonts/43b748f250df0f08.woff +0 -0
- package/dist/assets/fonts/585d10920d676fcd.woff2 +0 -0
- package/dist/assets/fonts/63611593e008a77c.woff2 +0 -0
- package/dist/assets/fonts/badaa6d1837432de.woff +0 -0
- package/dist/assets/fonts/cac2ba46e8c8adc9.woff2 +0 -0
- package/dist/assets/fonts/d080ae18fd04e52c.woff2 +0 -0
- package/dist/assets/fonts/e51d2feb30084bc2.woff2 +0 -0
- package/dist/assets/fonts/ee3db32f0aadef5d.woff2 +0 -0
- package/dist/assets/fonts/f4d681a788c6d497.woff2 +0 -0
- package/dist/assets/styles/index.css +0 -1
- package/dist/components/Button/Button.stories.d.ts +0 -12
- package/dist/components/Button/constants.d.ts +0 -16
- package/dist/components/Button/constants.js +0 -5
- package/dist/components/Button/index.d.ts +0 -36
- package/dist/components/Button/index.js +0 -30
- package/dist/components/Input/Input.stories.d.ts +0 -12
- package/dist/components/Input/constants.d.ts +0 -10
- package/dist/components/Input/constants.js +0 -5
- package/dist/components/Input/index.d.ts +0 -37
- package/dist/components/Input/index.js +0 -84
- package/dist/components/InputPhoneNumber/Input.stories.d.ts +0 -7
- package/dist/components/InputPhoneNumber/index.d.ts +0 -311
- package/dist/components/InputPhoneNumber/index.js +0 -28
- package/dist/components/InputPhoneNumber/utils.d.ts +0 -2
- package/dist/components/InputPhoneNumber/utils.js +0 -9
- package/dist/components/index.d.ts +0 -5
- package/dist/components/index.js +0 -14
- package/dist/hooks/index.d.ts +0 -0
- package/dist/hooks/index.js +0 -1
- package/dist/index-DIxK0V-G.js +0 -44
- package/dist/index.css +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -16
- package/dist/index2.css +0 -1
- package/dist/utils/getLog.d.ts +0 -1
- package/dist/utils/getLog.js +0 -4
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.js +0 -4
package/package.json
CHANGED
@@ -1,91 +1,91 @@
|
|
1
|
-
{
|
2
|
-
"name": "mimir-ui-kit",
|
3
|
-
"private": false,
|
4
|
-
"version": "0.0.
|
5
|
-
"type": "module",
|
6
|
-
"main": "dist/index.js",
|
7
|
-
"types": "dist/index.d.ts",
|
8
|
-
"files": [
|
9
|
-
"dist"
|
10
|
-
],
|
11
|
-
"sideEffects": [
|
12
|
-
"**/*.{css,scss}"
|
13
|
-
],
|
14
|
-
"scripts": {
|
15
|
-
"dev": "vite",
|
16
|
-
"build": "tsc --p ./tsconfig-build.json && vite build",
|
17
|
-
"pre-build": "npm run build",
|
18
|
-
"ts:check": "tsc -b",
|
19
|
-
"lint:eslint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
20
|
-
"lint:prettier": "npx prettier . --write",
|
21
|
-
"lint:stylelint": "stylelint '**/*{.css,.scss}'",
|
22
|
-
"lint:stylelint:fix": "stylelint '**/*{.css,.scss}' --fix",
|
23
|
-
"preview": "vite preview",
|
24
|
-
"storybook": "storybook dev -p 6006",
|
25
|
-
"build-storybook": "storybook build",
|
26
|
-
"prepare": "husky"
|
27
|
-
},
|
28
|
-
"devDependencies": {
|
29
|
-
"@chromatic-com/storybook": "^1.6.1",
|
30
|
-
"@headlessui/react": "^2.1.2",
|
31
|
-
"@laynezh/vite-plugin-lib-assets": "^0.5.23",
|
32
|
-
"@storybook/addon-essentials": "^8.1.11",
|
33
|
-
"@storybook/addon-interactions": "^8.1.11",
|
34
|
-
"@storybook/addon-links": "^8.1.11",
|
35
|
-
"@storybook/addon-onboarding": "^8.1.11",
|
36
|
-
"@storybook/blocks": "^8.1.11",
|
37
|
-
"@storybook/react": "^8.1.11",
|
38
|
-
"@storybook/react-vite": "^8.1.11",
|
39
|
-
"@storybook/test": "^8.1.11",
|
40
|
-
"@types/node": "^20.14.10",
|
41
|
-
"@types/react": "^18.3.3",
|
42
|
-
"@types/react-dom": "^18.3.0",
|
43
|
-
"@typescript-eslint/eslint-plugin": "^7.13.1",
|
44
|
-
"@typescript-eslint/parser": "^7.13.1",
|
45
|
-
"@vitejs/plugin-react": "^4.3.1",
|
46
|
-
"classnames": "^2.5.1",
|
47
|
-
"eslint": "^8.57.0",
|
48
|
-
"eslint-config-prettier": "9.1.0",
|
49
|
-
"eslint-plugin-react-hooks": "^4.6.2",
|
50
|
-
"eslint-plugin-react-refresh": "^0.4.7",
|
51
|
-
"eslint-plugin-storybook": "^0.8.0",
|
52
|
-
"glob": "10.3.10",
|
53
|
-
"husky": "^9.0.11",
|
54
|
-
"lint-staged": "^15.2.7",
|
55
|
-
"prettier": "^3.3.2",
|
56
|
-
"react": "^18.3.1",
|
57
|
-
"react-dom": "^18.3.1",
|
58
|
-
"sass": "^1.77.7",
|
59
|
-
"storybook": "^8.1.11",
|
60
|
-
"stylelint": "^16.6.1",
|
61
|
-
"stylelint-config-idiomatic-order": "^10.0.0",
|
62
|
-
"stylelint-config-rational-order": "^0.1.2",
|
63
|
-
"stylelint-config-standard": "^36.0.1",
|
64
|
-
"stylelint-order": "^6.0.4",
|
65
|
-
"stylelint-prettier": "^5.0.0",
|
66
|
-
"stylelint-scss": "^6.4.0",
|
67
|
-
"typescript": "^5.2.2",
|
68
|
-
"vite": "^5.3.1",
|
69
|
-
"vite-plugin-dts": "^3.9.1",
|
70
|
-
"vite-plugin-lib-inject-css": "^2.1.1"
|
71
|
-
},
|
72
|
-
"peerDependencies": {
|
73
|
-
"@headlessui/react": "^2.1.2",
|
74
|
-
"react": "^18.3.1",
|
75
|
-
"react-dom": "^18.3.1"
|
76
|
-
},
|
77
|
-
"husky": {
|
78
|
-
"hooks": {
|
79
|
-
"pre-commit": "lint-staged"
|
80
|
-
}
|
81
|
-
},
|
82
|
-
"lint-staged": {
|
83
|
-
"**/*.{ts,tsx}": [
|
84
|
-
"eslint",
|
85
|
-
"prettier --write"
|
86
|
-
],
|
87
|
-
"**/*.{css,scss}": [
|
88
|
-
"stylelint --fix"
|
89
|
-
]
|
90
|
-
}
|
91
|
-
}
|
1
|
+
{
|
2
|
+
"name": "mimir-ui-kit",
|
3
|
+
"private": false,
|
4
|
+
"version": "0.0.10",
|
5
|
+
"type": "module",
|
6
|
+
"main": "dist/index.js",
|
7
|
+
"types": "dist/index.d.ts",
|
8
|
+
"files": [
|
9
|
+
"dist"
|
10
|
+
],
|
11
|
+
"sideEffects": [
|
12
|
+
"**/*.{css,scss}"
|
13
|
+
],
|
14
|
+
"scripts": {
|
15
|
+
"dev": "vite",
|
16
|
+
"build": "tsc --p ./tsconfig-build.json && vite build",
|
17
|
+
"pre-build": "npm run build",
|
18
|
+
"ts:check": "tsc -b",
|
19
|
+
"lint:eslint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
20
|
+
"lint:prettier": "npx prettier . --write",
|
21
|
+
"lint:stylelint": "stylelint '**/*{.css,.scss}'",
|
22
|
+
"lint:stylelint:fix": "stylelint '**/*{.css,.scss}' --fix",
|
23
|
+
"preview": "vite preview",
|
24
|
+
"storybook": "storybook dev -p 6006",
|
25
|
+
"build-storybook": "storybook build",
|
26
|
+
"prepare": "husky"
|
27
|
+
},
|
28
|
+
"devDependencies": {
|
29
|
+
"@chromatic-com/storybook": "^1.6.1",
|
30
|
+
"@headlessui/react": "^2.1.2",
|
31
|
+
"@laynezh/vite-plugin-lib-assets": "^0.5.23",
|
32
|
+
"@storybook/addon-essentials": "^8.1.11",
|
33
|
+
"@storybook/addon-interactions": "^8.1.11",
|
34
|
+
"@storybook/addon-links": "^8.1.11",
|
35
|
+
"@storybook/addon-onboarding": "^8.1.11",
|
36
|
+
"@storybook/blocks": "^8.1.11",
|
37
|
+
"@storybook/react": "^8.1.11",
|
38
|
+
"@storybook/react-vite": "^8.1.11",
|
39
|
+
"@storybook/test": "^8.1.11",
|
40
|
+
"@types/node": "^20.14.10",
|
41
|
+
"@types/react": "^18.3.3",
|
42
|
+
"@types/react-dom": "^18.3.0",
|
43
|
+
"@typescript-eslint/eslint-plugin": "^7.13.1",
|
44
|
+
"@typescript-eslint/parser": "^7.13.1",
|
45
|
+
"@vitejs/plugin-react": "^4.3.1",
|
46
|
+
"classnames": "^2.5.1",
|
47
|
+
"eslint": "^8.57.0",
|
48
|
+
"eslint-config-prettier": "9.1.0",
|
49
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
50
|
+
"eslint-plugin-react-refresh": "^0.4.7",
|
51
|
+
"eslint-plugin-storybook": "^0.8.0",
|
52
|
+
"glob": "10.3.10",
|
53
|
+
"husky": "^9.0.11",
|
54
|
+
"lint-staged": "^15.2.7",
|
55
|
+
"prettier": "^3.3.2",
|
56
|
+
"react": "^18.3.1",
|
57
|
+
"react-dom": "^18.3.1",
|
58
|
+
"sass": "^1.77.7",
|
59
|
+
"storybook": "^8.1.11",
|
60
|
+
"stylelint": "^16.6.1",
|
61
|
+
"stylelint-config-idiomatic-order": "^10.0.0",
|
62
|
+
"stylelint-config-rational-order": "^0.1.2",
|
63
|
+
"stylelint-config-standard": "^36.0.1",
|
64
|
+
"stylelint-order": "^6.0.4",
|
65
|
+
"stylelint-prettier": "^5.0.0",
|
66
|
+
"stylelint-scss": "^6.4.0",
|
67
|
+
"typescript": "^5.2.2",
|
68
|
+
"vite": "^5.3.1",
|
69
|
+
"vite-plugin-dts": "^3.9.1",
|
70
|
+
"vite-plugin-lib-inject-css": "^2.1.1"
|
71
|
+
},
|
72
|
+
"peerDependencies": {
|
73
|
+
"@headlessui/react": "^2.1.2",
|
74
|
+
"react": "^18.3.1",
|
75
|
+
"react-dom": "^18.3.1"
|
76
|
+
},
|
77
|
+
"husky": {
|
78
|
+
"hooks": {
|
79
|
+
"pre-commit": "lint-staged"
|
80
|
+
}
|
81
|
+
},
|
82
|
+
"lint-staged": {
|
83
|
+
"**/*.{ts,tsx}": [
|
84
|
+
"eslint",
|
85
|
+
"prettier --write"
|
86
|
+
],
|
87
|
+
"**/*.{css,scss}": [
|
88
|
+
"stylelint --fix"
|
89
|
+
]
|
90
|
+
}
|
91
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
@font-face{font-family:Montserrat;src:url(../fonts/585d10920d676fcd.woff2) format("woff2"),url(../fonts/3b9f59412b17ff93.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:Montserrat;src:url(../fonts/f4d681a788c6d497.woff2) format("woff2"),url(../fonts/43b748f250df0f08.woff) format("woff");font-weight:700;font-style:normal}@font-face{font-family:Montserrat;src:url(../fonts/ee3db32f0aadef5d.woff2) format("woff2"),url(../fonts/1a738bfdbc1e4d9d.woff) format("woff");font-weight:300;font-style:normal}@font-face{font-family:Montserrat;src:url(../fonts/e51d2feb30084bc2.woff2) format("woff2"),url(../fonts/badaa6d1837432de.woff) format("woff");font-weight:500;font-style:normal}@font-face{font-family:Montserrat;src:url(../fonts/63611593e008a77c.woff2) format("woff2"),url(../fonts/3cdd7fabbe89d2b9.woff) format("woff");font-weight:600;font-style:normal}@font-face{font-family:Inter;src:url(../fonts/d080ae18fd04e52c.woff2) format("woff2");font-weight:400;font-style:normal;font-variant-numeric:slashed-zero}@font-face{font-family:Inter;src:url(../fonts/11d5bc9f0cad36d1.woff2) format("woff2");font-weight:700;font-style:normal;font-variant-numeric:slashed-zero}@font-face{font-family:Inter;src:url(../fonts/242d04bef81519ae.woff2) format("woff2");font-weight:500;font-style:normal;font-variant-numeric:slashed-zero}@font-face{font-family:Inter;src:url(../fonts/cac2ba46e8c8adc9.woff2) format("woff2");font-weight:600;font-style:normal;font-variant-numeric:slashed-zero}@supports (font-variation-settings: normal){:root{font-family:InterVariable,sans-serif}}*{margin:0;padding:0;border:0;outline:none}*,:after,:before{box-sizing:border-box}:active,:focus{outline:0}a,a:visited,a:hover{text-decoration:none}a:active,a:focus{outline:0}aside,footer,header,nav{display:block}body,html{width:100%;height:100%;font-size:100%;line-height:1}button,input,textarea,select{font-family:inherit}input::-ms-clear{display:none}button{cursor:pointer}button::-moz-focus-inner{padding:0;border:0}ul li{list-style:none}img{vertical-align:top}h1,h2,h3,h4,h5,h6{font-weight:inherit;font-size:inherit}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active{-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--color-typo-brand);transition:background-color 5000s ease-in-out 0s}:root{--sapphire-100: #2355d7;--sapphire-90: #3564df;--sapphire-80: #4b75e2;--sapphire-70: #6186e6;--sapphire-60: #7797e9;--sapphire-50: #8da7ed;--sapphire-40: #9fb7f4;--sapphire-30: #b9caf4;--sapphire-20: #cfdaf7;--sapphire-10: #e5ebfb;--citrine-100: #ff7900;--citrine-90: #ff861a;--citrine-80: #ff9433;--citrine-70: #ffa14d;--citrine-60: #ffaf66;--citrine-50: #ffbc80;--citrine-40: #ffc999;--citrine-30: #ffd7b2;--citrine-20: #ffe4cc;--citrine-10: #fff2e5;--magenta-100: #bc2251;--magenta-90: #d8275d;--magenta-80: #dc3d6d;--magenta-70: #e15781;--magenta-60: #e46c91;--magenta-50: #e986a4;--magenta-40: #ed9cb4;--magenta-30: #f2b6c8;--magenta-20: #f6cbd8;--magenta-10: #fae5ec;--black-100: #000;--black-95: #0d0d0d;--black-90: #1a1a1a;--black-85: #262626;--black-80: #333;--black-75: #404040;--black-70: #4d4d4d;--black-65: #595959;--black-60: #666;--black-55: #737373;--black-50: #808080;--black-45: #8c8c8c;--black-40: #999;--black-35: #a6a6a6;--black-30: #b3b3b3;--black-25: #bfbfbf;--black-20: #ccc;--black-15: #d9d9d9;--black-10: #e6e6e6;--black-5: #f2f2f2;--white: #fff;--dark-blue: #0a38af;--blue-40: #a7bbef;--blue-20: #d3ddf7;--green: #1b770c;--red-tag: #f01406;--success-normal: #23b413;--success-bg-hover: #d5fbe2;--success-bg: #ebfdf1;--alarm-normal: #fdc023;--alarm-bg-hover: #fff0c7;--alarm-bg: #fff6de;--error-normal: #e64646;--error-bg-hover: #fadbdb;--error-bg: #fbe3e3;--disabled: #b3b3b3;--light-text: var(--white);--dark-text: var(--black-100);--sapphire-normal: var(--sapphire-100);--sapphire-hover: #1b41a3;--sapphire-active: #122c70;--citrine-normal: var(--citrine-100);--citrine-hover: #e56d00;--citrine-active: #cc6100;--asphalt-border: var(--black-30);--asphalt-normal: var(--black-80);--asphalt-hover: var(--black-90);--asphalt-active: var(--black-100);--gray-normal: var(--black-5);--gray-hover: var(--black-10);--gray-active: var(--black-80);--white-normal: var(--white);--white-hover: var(--black-5);--white-transparent: rgb(255 255 255 / 40%);--white-active: var(--black-80);--red-normal: var(--error-normal);--red-hover: #e33030;--red-active: #dc1e1e;--green-normal: var(--green);--green-hover: #16610a;--green-active: #114a08;--counter-text: #ffa066;--button-height-xs: 24px;--button-height-s: 32px;--button-height-m: 40px;--button-height-l: 48px;--button-height-xl: 56px;--button-height-xxl: 64px;--control-default: var(--sapphire-20);--control-hover: var(--sapphire-40);--control-selected: var(--sapphire-100);--control-disabled: var(--black-10);--font-inter: "Inter", sans-serif;--font-montserrat: "Montserrat", sans-serif;--font-weight-text-regular: 400;--font-weight-text-medium: 500;--font-weight-text-semibold: 600;--font-weight-text-bold: 700;--font-weight-text-extrabold: 800;--font-weight-text-black: 900;--size-text-xs2: 8px;--size-text-xs: 10px;--size-text-s: 12px;--size-text-m: 14px;--size-text-l: 16px;--size-text-xl: 20px;--size-text-xl2: 24px;--size-text-2xl: 28px;--size-text-xl3: 32px;--size-text-xl4: 48px;--size-text-xl5: 72px;--size-text-xl6: 96px;--line-height-text-2xs: 1em;--line-height-text-xs: 1.1em;--line-height-text-s: 1.2em;--line-height-text-m: 1.3em;--line-height-text-l: 1.4em;--line-height-text-xl: 1.5em;--control-radius: 6px;--control-radius-l: 24px;--control-input-radius: 12px;--control-border-width: 1px;--control-height-xl: 60px;--control-height-xxl: 60px;--control-height-l: var(--space-4xl);--control-height-m: var(--space-3xl);--control-height-s: var(--space-2xl);--control-height-xs: var(--space-xl);--control-box-size-s: var(--space-s);--control-box-size-m: var(--space-m);--control-box-size-l: var(--space-l);--control-space-l: var(--space-xl);--control-space-m: var(--space-l);--control-space-s: var(--space-m);--control-space-xs: var(--space-s);--control-text-size-2xl: var(--size-text-xl);--control-text-size-xl: var(--size-text-xl3);--control-text-size-l: var(--size-text-l);--control-text-size-m: var(--size-text-m);--control-text-size-s: var(--size-text-s);--control-text-size-xs: var(--size-text-xs);--space-3xs: 2px;--space-2xs: 4px;--space-xs: 8px;--space-s: 12px;--space-m: 16px;--space-l: 20px;--space-xl: 24px;--space-2xl: 32px;--space-xxl: 40px;--space-3xl: 44px;--space-4xl: 48px;--space-4xxl: 64px;--space-5xl: 72px;--space-6xl: 96px;--container-width-xs: 375px;--container-width-s: 767px;--container-width-m: 960px;--container-width-l: 1280px;--container-width-xl: 1440px;--container-width-xxl: 1920px}@supports (font-variation-settings: normal){:root{font-family:Inter,sans-serif}}:root{font-feature-settings:"zero"}body{font-family:Inter,sans-serif;font-variant-numeric:slashed-zero;background-color:var(--black-5);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{display:flex;flex-direction:column;min-height:100%}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import { TProps as TButtonProps } from '.';
|
3
|
-
|
4
|
-
declare const meta: Meta<TButtonProps>;
|
5
|
-
export default meta;
|
6
|
-
type Story = StoryObj<typeof meta>;
|
7
|
-
export declare const PrimarySapphire: Story;
|
8
|
-
export declare const PrimaryCitrine: Story;
|
9
|
-
export declare const SecondaryAsphalt: Story;
|
10
|
-
export declare const SecondaryGray: Story;
|
11
|
-
export declare const SecondaryWhite: Story;
|
12
|
-
export declare const SecondaryRed: Story;
|
@@ -1,16 +0,0 @@
|
|
1
|
-
export declare enum EButtonVariant {
|
2
|
-
PrimarySapphire = "primary-sapphire",
|
3
|
-
PrimaryCitrine = "primary-citrine",
|
4
|
-
SecondaryAsphalt = "secondary-asphalt",
|
5
|
-
SecondaryGray = "secondary-gray",
|
6
|
-
SecondaryWhite = "secondary-white",
|
7
|
-
SecondaryRed = "secondary-red"
|
8
|
-
}
|
9
|
-
export declare enum EButtonSize {
|
10
|
-
XS = "xs",
|
11
|
-
S = "s",
|
12
|
-
M = "m",
|
13
|
-
L = "l",
|
14
|
-
XL = "xl",
|
15
|
-
XXL = "xxl"
|
16
|
-
}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
var e = /* @__PURE__ */ ((r) => (r.PrimarySapphire = "primary-sapphire", r.PrimaryCitrine = "primary-citrine", r.SecondaryAsphalt = "secondary-asphalt", r.SecondaryGray = "secondary-gray", r.SecondaryWhite = "secondary-white", r.SecondaryRed = "secondary-red", r))(e || {}), y = /* @__PURE__ */ ((r) => (r.XS = "xs", r.S = "s", r.M = "m", r.L = "l", r.XL = "xl", r.XXL = "xxl", r))(y || {});
|
2
|
-
export {
|
3
|
-
y as EButtonSize,
|
4
|
-
e as EButtonVariant
|
5
|
-
};
|
@@ -1,36 +0,0 @@
|
|
1
|
-
import { ComponentProps } from 'react';
|
2
|
-
import { EButtonSize, EButtonVariant } from './constants';
|
3
|
-
|
4
|
-
export type TProps = ComponentProps<'button'> & {
|
5
|
-
/**
|
6
|
-
* Класс, применяемый к корневому элементу кнопки.
|
7
|
-
*/
|
8
|
-
className?: string;
|
9
|
-
/**
|
10
|
-
* Вариант отображения кнопки. Допустимые значения:
|
11
|
-
* `primary-sapphire`, `primary-citrine`, `secondary-asphalt`,
|
12
|
-
* `secondary-gray`, `secondary-white`, `secondary-red`.
|
13
|
-
*/
|
14
|
-
variant?: `${EButtonVariant}`;
|
15
|
-
/**
|
16
|
-
* Размер кнопки. Допустимые значения: `s`, `m`, `l`, `xl`, `xxl`
|
17
|
-
*/
|
18
|
-
size?: EButtonSize | `${EButtonSize}`;
|
19
|
-
/**
|
20
|
-
* Флаг, указывающий, отключена ли кнопка.
|
21
|
-
*/
|
22
|
-
disabled?: boolean;
|
23
|
-
/**
|
24
|
-
* Флаг, указывающий, что кнопка занимает все доступное пространство.
|
25
|
-
*/
|
26
|
-
full?: boolean;
|
27
|
-
/**
|
28
|
-
* Идентификатор формы, к которой привязана кнопка.
|
29
|
-
*/
|
30
|
-
formId?: string;
|
31
|
-
};
|
32
|
-
/**
|
33
|
-
* Компонент кнопки, который можно настраивать с различными темами и размерами.
|
34
|
-
|
35
|
-
*/
|
36
|
-
export declare const Button: import('react').ForwardRefExoticComponent<Omit<TProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import { jsx as i } from "react/jsx-runtime";
|
2
|
-
import { forwardRef as m } from "react";
|
3
|
-
import { c as p } from "../../index-DIxK0V-G.js";
|
4
|
-
import '../../index2.css';const y = "_button_a92xc_1", u = "_xs_a92xc_28", f = "_s_a92xc_34", b = "_m_a92xc_40", h = "_l_a92xc_46", N = "_xl_a92xc_52", w = "_xxl_a92xc_59", g = "_full_a92xc_141", B = "_disabled_a92xc_145", a = {
|
5
|
-
button: y,
|
6
|
-
xs: u,
|
7
|
-
s: f,
|
8
|
-
m: b,
|
9
|
-
l: h,
|
10
|
-
xl: N,
|
11
|
-
xxl: w,
|
12
|
-
"primary-sapphire": "_primary-sapphire_a92xc_66",
|
13
|
-
"primary-citrine": "_primary-citrine_a92xc_76",
|
14
|
-
"secondary-asphalt": "_secondary-asphalt_a92xc_86",
|
15
|
-
"secondary-gray": "_secondary-gray_a92xc_96",
|
16
|
-
"secondary-white": "_secondary-white_a92xc_106",
|
17
|
-
"secondary-red": "_secondary-red_a92xc_116",
|
18
|
-
full: g,
|
19
|
-
disabled: B
|
20
|
-
}, j = m((c, _) => {
|
21
|
-
const { size: o = "m", variant: t, full: r, children: l, className: n, formId: e, ...s } = c, d = {
|
22
|
-
[a.full]: r,
|
23
|
-
[a.disabled]: s.disabled
|
24
|
-
}, x = [s.disabled ? "" : a[t ?? ""], a[o], n];
|
25
|
-
return /* @__PURE__ */ i("button", { form: e, ...s, ref: _, className: p(a.button, d, x), children: l });
|
26
|
-
});
|
27
|
-
j.displayName = "Button";
|
28
|
-
export {
|
29
|
-
j as Button
|
30
|
-
};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import { TProps as TInputProps } from '.';
|
3
|
-
|
4
|
-
declare const meta: Meta<TInputProps>;
|
5
|
-
export default meta;
|
6
|
-
type Story = StoryObj<typeof meta>;
|
7
|
-
export declare const Primary: Story;
|
8
|
-
export declare const Alert: Story;
|
9
|
-
export declare const Success: Story;
|
10
|
-
export declare const SmallSize: Story;
|
11
|
-
export declare const MediumSize: Story;
|
12
|
-
export declare const LargeSize: Story;
|
@@ -1,37 +0,0 @@
|
|
1
|
-
import { InputHTMLAttributes, ReactNode } from 'react';
|
2
|
-
import { EInputSize, EInputStatus } from './constants';
|
3
|
-
|
4
|
-
type HTMLInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'readOnly' | 'size'>;
|
5
|
-
export type TProps = HTMLInputProps & {
|
6
|
-
className?: string;
|
7
|
-
/**
|
8
|
-
* Метка для ввода.
|
9
|
-
*/
|
10
|
-
label?: string;
|
11
|
-
/**
|
12
|
-
* Статус ввода. Может быть 'alert', 'success' или 'default'.
|
13
|
-
*/
|
14
|
-
status?: `${EInputStatus}` | EInputStatus;
|
15
|
-
/**
|
16
|
-
* Автоматически фокусировать ввод при монтировании.
|
17
|
-
*/
|
18
|
-
autofocus?: boolean;
|
19
|
-
/**
|
20
|
-
* Сделать ввод только для чтения.
|
21
|
-
*/
|
22
|
-
readonly?: boolean;
|
23
|
-
/**
|
24
|
-
* Дополнительный React-узел для отображения слева от ввода.
|
25
|
-
*/
|
26
|
-
addonLeft?: ReactNode;
|
27
|
-
/**
|
28
|
-
* Дополнительный React-узел для отображения справа от ввода.
|
29
|
-
*/
|
30
|
-
addonRight?: ReactNode;
|
31
|
-
/**
|
32
|
-
* Размер ввода.
|
33
|
-
*/
|
34
|
-
size?: `${EInputSize}` | EInputSize;
|
35
|
-
};
|
36
|
-
export declare const Input: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<HTMLInputProps & import('react').RefAttributes<HTMLInputElement>>>;
|
37
|
-
export {};
|
@@ -1,84 +0,0 @@
|
|
1
|
-
import { jsxs as l, jsx as n } from "react/jsx-runtime";
|
2
|
-
import { memo as g, forwardRef as y, useState as N, useEffect as A } from "react";
|
3
|
-
import { c as _ } from "../../index-DIxK0V-G.js";
|
4
|
-
import '../../index.css';const x = "_inputWrapper_1cv22_1", B = "_withOutLabel_1cv22_11", O = "_label_1cv22_15", W = "_inputBody_1cv22_24", F = "_xs_1cv22_36", I = "_s_1cv22_44", j = "_m_1cv22_52", z = "_l_1cv22_15", E = "_addonLeft_1cv22_68", P = "_addonRight_1cv22_69", S = "_withAddonLeft_1cv22_73", k = "_withAddonRight_1cv22_77", q = "_input_1cv22_1", t = {
|
5
|
-
inputWrapper: x,
|
6
|
-
withOutLabel: B,
|
7
|
-
label: O,
|
8
|
-
inputBody: W,
|
9
|
-
xs: F,
|
10
|
-
s: I,
|
11
|
-
m: j,
|
12
|
-
l: z,
|
13
|
-
addonLeft: E,
|
14
|
-
addonRight: P,
|
15
|
-
withAddonLeft: S,
|
16
|
-
withAddonRight: k,
|
17
|
-
input: q
|
18
|
-
}, C = g(
|
19
|
-
y((p, r) => {
|
20
|
-
const {
|
21
|
-
className: u,
|
22
|
-
status: h = "default",
|
23
|
-
type: m = "text",
|
24
|
-
placeholder: f,
|
25
|
-
autofocus: o,
|
26
|
-
readonly: c,
|
27
|
-
addonLeft: s,
|
28
|
-
addonRight: e,
|
29
|
-
label: a,
|
30
|
-
size: i = "m",
|
31
|
-
...v
|
32
|
-
} = p, [w, d] = N(o);
|
33
|
-
A(() => {
|
34
|
-
o && d(!0);
|
35
|
-
}, [o]);
|
36
|
-
const L = () => {
|
37
|
-
d(!1);
|
38
|
-
}, b = () => {
|
39
|
-
d(!0);
|
40
|
-
}, R = {
|
41
|
-
[t.readonly]: c,
|
42
|
-
[t.focused]: w,
|
43
|
-
[t.withAddonLeft]: !!s,
|
44
|
-
[t.withAddonRight]: !!e
|
45
|
-
};
|
46
|
-
return /* @__PURE__ */ l(
|
47
|
-
"label",
|
48
|
-
{
|
49
|
-
className: _(
|
50
|
-
t.inputWrapper,
|
51
|
-
u,
|
52
|
-
{
|
53
|
-
[t.withOutLabel]: !a
|
54
|
-
},
|
55
|
-
[t[i]]
|
56
|
-
),
|
57
|
-
children: [
|
58
|
-
a && /* @__PURE__ */ n("span", { className: t.label, children: a }),
|
59
|
-
/* @__PURE__ */ l("div", { className: _(t.inputBody, R, [t[h], t[i]]), children: [
|
60
|
-
s && /* @__PURE__ */ n("span", { className: t.addonLeft, children: s }),
|
61
|
-
/* @__PURE__ */ n(
|
62
|
-
"input",
|
63
|
-
{
|
64
|
-
...v,
|
65
|
-
ref: r,
|
66
|
-
type: m,
|
67
|
-
className: t.input,
|
68
|
-
onFocus: b,
|
69
|
-
onBlur: L,
|
70
|
-
readOnly: c,
|
71
|
-
placeholder: f
|
72
|
-
}
|
73
|
-
),
|
74
|
-
e && /* @__PURE__ */ n("span", { className: t.addonRight, children: e })
|
75
|
-
] })
|
76
|
-
]
|
77
|
-
}
|
78
|
-
);
|
79
|
-
})
|
80
|
-
);
|
81
|
-
C.displayName = "Input";
|
82
|
-
export {
|
83
|
-
C as Input
|
84
|
-
};
|
@@ -1,311 +0,0 @@
|
|
1
|
-
import { TProps as TInputProps } from '../Input';
|
2
|
-
|
3
|
-
export type TProps = TInputProps;
|
4
|
-
export type ImperativeHandle = Partial<HTMLInputElement> & {
|
5
|
-
getPhoneNumber: () => string;
|
6
|
-
};
|
7
|
-
export declare const InputPhoneNumber: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<{
|
8
|
-
form?: string | undefined;
|
9
|
-
slot?: string | undefined;
|
10
|
-
style?: import('react').CSSProperties | undefined;
|
11
|
-
title?: string | undefined;
|
12
|
-
pattern?: string | undefined;
|
13
|
-
disabled?: boolean | undefined;
|
14
|
-
formAction?: string | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
|
15
|
-
formEncType?: string | undefined;
|
16
|
-
formMethod?: string | undefined;
|
17
|
-
formNoValidate?: boolean | undefined;
|
18
|
-
formTarget?: string | undefined;
|
19
|
-
name?: string | undefined;
|
20
|
-
type?: import('react').HTMLInputTypeAttribute | undefined;
|
21
|
-
value?: string | readonly string[] | number | undefined;
|
22
|
-
defaultChecked?: boolean | undefined;
|
23
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
24
|
-
suppressContentEditableWarning?: boolean | undefined;
|
25
|
-
suppressHydrationWarning?: boolean | undefined;
|
26
|
-
accessKey?: string | undefined;
|
27
|
-
autoFocus?: boolean | undefined;
|
28
|
-
className?: string | undefined;
|
29
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
30
|
-
contextMenu?: string | undefined;
|
31
|
-
dir?: string | undefined;
|
32
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
33
|
-
hidden?: boolean | undefined;
|
34
|
-
id?: string | undefined;
|
35
|
-
lang?: string | undefined;
|
36
|
-
nonce?: string | undefined;
|
37
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
38
|
-
tabIndex?: number | undefined;
|
39
|
-
translate?: "yes" | "no" | undefined;
|
40
|
-
radioGroup?: string | undefined;
|
41
|
-
role?: import('react').AriaRole | undefined;
|
42
|
-
about?: string | undefined;
|
43
|
-
content?: string | undefined;
|
44
|
-
datatype?: string | undefined;
|
45
|
-
inlist?: any;
|
46
|
-
prefix?: string | undefined;
|
47
|
-
property?: string | undefined;
|
48
|
-
rel?: string | undefined;
|
49
|
-
resource?: string | undefined;
|
50
|
-
rev?: string | undefined;
|
51
|
-
typeof?: string | undefined;
|
52
|
-
vocab?: string | undefined;
|
53
|
-
autoCapitalize?: string | undefined;
|
54
|
-
autoCorrect?: string | undefined;
|
55
|
-
autoSave?: string | undefined;
|
56
|
-
color?: string | undefined;
|
57
|
-
itemProp?: string | undefined;
|
58
|
-
itemScope?: boolean | undefined;
|
59
|
-
itemType?: string | undefined;
|
60
|
-
itemID?: string | undefined;
|
61
|
-
itemRef?: string | undefined;
|
62
|
-
results?: number | undefined;
|
63
|
-
security?: string | undefined;
|
64
|
-
unselectable?: "on" | "off" | undefined;
|
65
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
66
|
-
is?: string | undefined;
|
67
|
-
"aria-activedescendant"?: string | undefined;
|
68
|
-
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
69
|
-
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
70
|
-
"aria-braillelabel"?: string | undefined;
|
71
|
-
"aria-brailleroledescription"?: string | undefined;
|
72
|
-
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
73
|
-
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
74
|
-
"aria-colcount"?: number | undefined;
|
75
|
-
"aria-colindex"?: number | undefined;
|
76
|
-
"aria-colindextext"?: string | undefined;
|
77
|
-
"aria-colspan"?: number | undefined;
|
78
|
-
"aria-controls"?: string | undefined;
|
79
|
-
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
80
|
-
"aria-describedby"?: string | undefined;
|
81
|
-
"aria-description"?: string | undefined;
|
82
|
-
"aria-details"?: string | undefined;
|
83
|
-
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
84
|
-
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
85
|
-
"aria-errormessage"?: string | undefined;
|
86
|
-
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
87
|
-
"aria-flowto"?: string | undefined;
|
88
|
-
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
89
|
-
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
90
|
-
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
91
|
-
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
92
|
-
"aria-keyshortcuts"?: string | undefined;
|
93
|
-
"aria-label"?: string | undefined;
|
94
|
-
"aria-labelledby"?: string | undefined;
|
95
|
-
"aria-level"?: number | undefined;
|
96
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
97
|
-
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
98
|
-
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
99
|
-
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
100
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
101
|
-
"aria-owns"?: string | undefined;
|
102
|
-
"aria-placeholder"?: string | undefined;
|
103
|
-
"aria-posinset"?: number | undefined;
|
104
|
-
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
105
|
-
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
106
|
-
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
107
|
-
"aria-required"?: (boolean | "true" | "false") | undefined;
|
108
|
-
"aria-roledescription"?: string | undefined;
|
109
|
-
"aria-rowcount"?: number | undefined;
|
110
|
-
"aria-rowindex"?: number | undefined;
|
111
|
-
"aria-rowindextext"?: string | undefined;
|
112
|
-
"aria-rowspan"?: number | undefined;
|
113
|
-
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
114
|
-
"aria-setsize"?: number | undefined;
|
115
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
116
|
-
"aria-valuemax"?: number | undefined;
|
117
|
-
"aria-valuemin"?: number | undefined;
|
118
|
-
"aria-valuenow"?: number | undefined;
|
119
|
-
"aria-valuetext"?: string | undefined;
|
120
|
-
children?: import('react').ReactNode | undefined;
|
121
|
-
dangerouslySetInnerHTML?: {
|
122
|
-
__html: string | TrustedHTML;
|
123
|
-
} | undefined;
|
124
|
-
onCopy?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
125
|
-
onCopyCapture?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
126
|
-
onCut?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
127
|
-
onCutCapture?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
128
|
-
onPaste?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
129
|
-
onPasteCapture?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
130
|
-
onCompositionEnd?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
131
|
-
onCompositionEndCapture?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
132
|
-
onCompositionStart?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
133
|
-
onCompositionStartCapture?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
134
|
-
onCompositionUpdate?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
135
|
-
onCompositionUpdateCapture?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
136
|
-
onFocus?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
|
137
|
-
onFocusCapture?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
|
138
|
-
onBlur?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
|
139
|
-
onBlurCapture?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
|
140
|
-
onChange?: import('react').ChangeEventHandler<HTMLInputElement> | undefined;
|
141
|
-
onChangeCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
142
|
-
onBeforeInput?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
143
|
-
onBeforeInputCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
144
|
-
onInput?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
145
|
-
onInputCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
146
|
-
onReset?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
147
|
-
onResetCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
148
|
-
onSubmit?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
149
|
-
onSubmitCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
150
|
-
onInvalid?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
151
|
-
onInvalidCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
152
|
-
onLoad?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
153
|
-
onLoadCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
154
|
-
onError?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
155
|
-
onErrorCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
156
|
-
onKeyDown?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
157
|
-
onKeyDownCapture?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
158
|
-
onKeyPress?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
159
|
-
onKeyPressCapture?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
160
|
-
onKeyUp?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
161
|
-
onKeyUpCapture?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
162
|
-
onAbort?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
163
|
-
onAbortCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
164
|
-
onCanPlay?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
165
|
-
onCanPlayCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
166
|
-
onCanPlayThrough?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
167
|
-
onCanPlayThroughCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
168
|
-
onDurationChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
169
|
-
onDurationChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
170
|
-
onEmptied?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
171
|
-
onEmptiedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
172
|
-
onEncrypted?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
173
|
-
onEncryptedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
174
|
-
onEnded?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
175
|
-
onEndedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
176
|
-
onLoadedData?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
177
|
-
onLoadedDataCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
178
|
-
onLoadedMetadata?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
179
|
-
onLoadedMetadataCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
180
|
-
onLoadStart?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
181
|
-
onLoadStartCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
182
|
-
onPause?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
183
|
-
onPauseCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
184
|
-
onPlay?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
185
|
-
onPlayCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
186
|
-
onPlaying?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
187
|
-
onPlayingCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
188
|
-
onProgress?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
189
|
-
onProgressCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
190
|
-
onRateChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
191
|
-
onRateChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
192
|
-
onResize?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
193
|
-
onResizeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
194
|
-
onSeeked?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
195
|
-
onSeekedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
196
|
-
onSeeking?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
197
|
-
onSeekingCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
198
|
-
onStalled?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
199
|
-
onStalledCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
200
|
-
onSuspend?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
201
|
-
onSuspendCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
202
|
-
onTimeUpdate?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
203
|
-
onTimeUpdateCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
204
|
-
onVolumeChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
205
|
-
onVolumeChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
206
|
-
onWaiting?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
207
|
-
onWaitingCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
208
|
-
onAuxClick?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
209
|
-
onAuxClickCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
210
|
-
onClick?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
211
|
-
onClickCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
212
|
-
onContextMenu?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
213
|
-
onContextMenuCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
214
|
-
onDoubleClick?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
215
|
-
onDoubleClickCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
216
|
-
onDrag?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
217
|
-
onDragCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
218
|
-
onDragEnd?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
219
|
-
onDragEndCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
220
|
-
onDragEnter?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
221
|
-
onDragEnterCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
222
|
-
onDragExit?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
223
|
-
onDragExitCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
224
|
-
onDragLeave?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
225
|
-
onDragLeaveCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
226
|
-
onDragOver?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
227
|
-
onDragOverCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
228
|
-
onDragStart?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
229
|
-
onDragStartCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
230
|
-
onDrop?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
231
|
-
onDropCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
232
|
-
onMouseDown?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
233
|
-
onMouseDownCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
234
|
-
onMouseEnter?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
235
|
-
onMouseLeave?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
236
|
-
onMouseMove?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
237
|
-
onMouseMoveCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
238
|
-
onMouseOut?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
239
|
-
onMouseOutCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
240
|
-
onMouseOver?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
241
|
-
onMouseOverCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
242
|
-
onMouseUp?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
243
|
-
onMouseUpCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
244
|
-
onSelect?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
245
|
-
onSelectCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
246
|
-
onTouchCancel?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
247
|
-
onTouchCancelCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
248
|
-
onTouchEnd?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
249
|
-
onTouchEndCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
250
|
-
onTouchMove?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
251
|
-
onTouchMoveCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
252
|
-
onTouchStart?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
253
|
-
onTouchStartCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
254
|
-
onPointerDown?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
255
|
-
onPointerDownCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
256
|
-
onPointerMove?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
257
|
-
onPointerMoveCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
258
|
-
onPointerUp?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
259
|
-
onPointerUpCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
260
|
-
onPointerCancel?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
261
|
-
onPointerCancelCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
262
|
-
onPointerEnter?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
263
|
-
onPointerLeave?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
264
|
-
onPointerOver?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
265
|
-
onPointerOverCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
266
|
-
onPointerOut?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
267
|
-
onPointerOutCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
268
|
-
onGotPointerCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
269
|
-
onGotPointerCaptureCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
270
|
-
onLostPointerCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
271
|
-
onLostPointerCaptureCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
272
|
-
onScroll?: import('react').UIEventHandler<HTMLInputElement> | undefined;
|
273
|
-
onScrollCapture?: import('react').UIEventHandler<HTMLInputElement> | undefined;
|
274
|
-
onWheel?: import('react').WheelEventHandler<HTMLInputElement> | undefined;
|
275
|
-
onWheelCapture?: import('react').WheelEventHandler<HTMLInputElement> | undefined;
|
276
|
-
onAnimationStart?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
277
|
-
onAnimationStartCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
278
|
-
onAnimationEnd?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
279
|
-
onAnimationEndCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
280
|
-
onAnimationIteration?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
281
|
-
onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
282
|
-
onTransitionEnd?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
283
|
-
onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
284
|
-
list?: string | undefined;
|
285
|
-
accept?: string | undefined;
|
286
|
-
alt?: string | undefined;
|
287
|
-
autoComplete?: import('react').HTMLInputAutoCompleteAttribute | undefined;
|
288
|
-
capture?: boolean | "user" | "environment" | undefined;
|
289
|
-
checked?: boolean | undefined;
|
290
|
-
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
291
|
-
height?: number | string | undefined;
|
292
|
-
max?: number | string | undefined;
|
293
|
-
maxLength?: number | undefined;
|
294
|
-
min?: number | string | undefined;
|
295
|
-
minLength?: number | undefined;
|
296
|
-
multiple?: boolean | undefined;
|
297
|
-
placeholder?: string | undefined;
|
298
|
-
required?: boolean | undefined;
|
299
|
-
src?: string | undefined;
|
300
|
-
step?: number | string | undefined;
|
301
|
-
width?: number | string | undefined;
|
302
|
-
} & {
|
303
|
-
className?: string;
|
304
|
-
label?: string;
|
305
|
-
status?: `${import('..').EInputStatus}` | import('..').EInputStatus;
|
306
|
-
autofocus?: boolean;
|
307
|
-
readonly?: boolean;
|
308
|
-
addonLeft?: import('react').ReactNode;
|
309
|
-
addonRight?: import('react').ReactNode;
|
310
|
-
size?: `${import('..').EInputSize}` | import('..').EInputSize;
|
311
|
-
} & import('react').RefAttributes<HTMLInputElement>>>;
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { jsx as n } from "react/jsx-runtime";
|
2
|
-
import { memo as d, forwardRef as i, useState as I, useCallback as c, useImperativeHandle as f } from "react";
|
3
|
-
import { Input as P } from "../Input/index.js";
|
4
|
-
import { getMaskedInputPhoneValue as m, getUnmaskedInputValue as b } from "./utils.js";
|
5
|
-
const h = d(
|
6
|
-
i(({ value: o = "", onChange: e, ...p }, r) => {
|
7
|
-
const [a, s] = I(m(o)), l = c(
|
8
|
-
(t) => {
|
9
|
-
const u = m(t.target.value);
|
10
|
-
s(u), e == null || e({
|
11
|
-
...t,
|
12
|
-
target: {
|
13
|
-
...t.target,
|
14
|
-
value: u
|
15
|
-
}
|
16
|
-
});
|
17
|
-
},
|
18
|
-
[e]
|
19
|
-
);
|
20
|
-
return f(r, () => ({
|
21
|
-
getPhoneNumber: () => b(a)
|
22
|
-
})), /* @__PURE__ */ n(P, { ref: r, ...p, value: a, onChange: l });
|
23
|
-
})
|
24
|
-
);
|
25
|
-
h.displayName = "InputPhoneNumber";
|
26
|
-
export {
|
27
|
-
h as InputPhoneNumber
|
28
|
-
};
|
@@ -1,9 +0,0 @@
|
|
1
|
-
const n = (s) => {
|
2
|
-
const t = s.replace(/\D/g, "");
|
3
|
-
let e = "+7 ";
|
4
|
-
return t.startsWith("7") ? e += "(" + t.substring(1, 4) : e += t.substring(0, 3), t.length > 4 && (e += ") " + t.substring(4, 7)), t.length > 7 && (e += "-" + t.substring(7, 9)), t.length > 9 && (e += "-" + t.substring(9, 11)), e;
|
5
|
-
}, r = (s) => s.replace(/\D/g, "");
|
6
|
-
export {
|
7
|
-
n as getMaskedInputPhoneValue,
|
8
|
-
r as getUnmaskedInputValue
|
9
|
-
};
|
package/dist/components/index.js
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
import { Button as r } from "./Button/index.js";
|
2
|
-
import { EButtonSize as n, EButtonVariant as p } from "./Button/constants.js";
|
3
|
-
import { Input as m } from "./Input/index.js";
|
4
|
-
import { EInputSize as x, EInputStatus as E } from "./Input/constants.js";
|
5
|
-
import { InputPhoneNumber as a } from "./InputPhoneNumber/index.js";
|
6
|
-
export {
|
7
|
-
r as Button,
|
8
|
-
n as EButtonSize,
|
9
|
-
p as EButtonVariant,
|
10
|
-
x as EInputSize,
|
11
|
-
E as EInputStatus,
|
12
|
-
m as Input,
|
13
|
-
a as InputPhoneNumber
|
14
|
-
};
|
package/dist/hooks/index.d.ts
DELETED
File without changes
|
package/dist/hooks/index.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
|
package/dist/index-DIxK0V-G.js
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
function u(e) {
|
2
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
3
|
-
}
|
4
|
-
var f = { exports: {} };
|
5
|
-
/*!
|
6
|
-
Copyright (c) 2018 Jed Watson.
|
7
|
-
Licensed under the MIT License (MIT), see
|
8
|
-
http://jedwatson.github.io/classnames
|
9
|
-
*/
|
10
|
-
(function(e) {
|
11
|
-
(function() {
|
12
|
-
var i = {}.hasOwnProperty;
|
13
|
-
function s() {
|
14
|
-
for (var t = "", r = 0; r < arguments.length; r++) {
|
15
|
-
var n = arguments[r];
|
16
|
-
n && (t = o(t, a(n)));
|
17
|
-
}
|
18
|
-
return t;
|
19
|
-
}
|
20
|
-
function a(t) {
|
21
|
-
if (typeof t == "string" || typeof t == "number")
|
22
|
-
return t;
|
23
|
-
if (typeof t != "object")
|
24
|
-
return "";
|
25
|
-
if (Array.isArray(t))
|
26
|
-
return s.apply(null, t);
|
27
|
-
if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
|
28
|
-
return t.toString();
|
29
|
-
var r = "";
|
30
|
-
for (var n in t)
|
31
|
-
i.call(t, n) && t[n] && (r = o(r, n));
|
32
|
-
return r;
|
33
|
-
}
|
34
|
-
function o(t, r) {
|
35
|
-
return r ? t ? t + " " + r : t + r : t;
|
36
|
-
}
|
37
|
-
e.exports ? (s.default = s, e.exports = s) : window.classNames = s;
|
38
|
-
})();
|
39
|
-
})(f);
|
40
|
-
var c = f.exports;
|
41
|
-
const p = /* @__PURE__ */ u(c);
|
42
|
-
export {
|
43
|
-
p as c
|
44
|
-
};
|
package/dist/index.css
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
._inputWrapper_1cv22_1{display:inline-flex;flex-direction:column;width:100%;height:var(--input-height);padding:var(--input-space);background-color:var(--black-5);border-radius:6px}._withOutLabel_1cv22_11{justify-content:center}._label_1cv22_15{margin-bottom:2px;color:var(--black-60);font-size:var(--size-text-s)}._label_1cv22_15:first-letter{text-transform:uppercase}._inputBody_1cv22_24{--caption-margin-left: calc(var(--input-space) + var(--control-border-width));--counter-button-icon-color: var(--color-control-typo-ghost);--counter-button-background: transparent;--counter-offset: 0;--clear-button-color: var(--color-control-typo-clear);display:flex;align-items:center;border-radius:var(--control-input-radius);outline:var(--control-border-width) solid var(--container-border-color)}._xs_1cv22_36{--label-offset: var(--space-2xs);--caption-offset: var(--space-2xs);--input-height: var(--control-height-xs);--input-font-size: var(--control-text-size-xs);--input-space: calc(var(--control-space-xs) * .5)}._s_1cv22_44{--label-offset: var(--space-2xs);--caption-offset: var(--space-2xs);--input-height: var(--control-height-s);--input-font-size: var(--control-text-size-s);--input-space: calc(var(--control-space-s) * .5)}._m_1cv22_52{--label-offset: var(--space-xs);--caption-offset: var(--space-xs);--input-height: var(--space-4xl);--input-font-size: var(--control-text-size-m);--input-space: calc(var(--control-space-m) * .5)}._l_1cv22_15{--label-offset: var(--space-xs);--caption-offset: var(--space-xs);--input-height: var(--space-4xxl);--input-font-size: var(--control-text-size-2xl);--input-space: calc(var(--control-space-l) * .5)}._addonLeft_1cv22_68,._addonRight_1cv22_69{display:flex}._withAddonLeft_1cv22_73{padding-left:8px}._withAddonRight_1cv22_77{padding-right:8px}._input_1cv22_1{width:100%;color:var(--dark-text);font-size:var(--input-font-size);font-family:var(--font-inter);letter-spacing:-.42px;background:none;border:none;outline:none;font-feature-settings:"zero"}
|
package/dist/index.d.ts
DELETED
package/dist/index.js
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
import { Button as r } from "./components/Button/index.js";
|
2
|
-
import { EButtonSize as p, EButtonVariant as n } from "./components/Button/constants.js";
|
3
|
-
import { Input as m } from "./components/Input/index.js";
|
4
|
-
import { EInputSize as x, EInputStatus as E } from "./components/Input/constants.js";
|
5
|
-
import { InputPhoneNumber as a } from "./components/InputPhoneNumber/index.js";
|
6
|
-
import { getLog as B } from "./utils/getLog.js";
|
7
|
-
export {
|
8
|
-
r as Button,
|
9
|
-
p as EButtonSize,
|
10
|
-
n as EButtonVariant,
|
11
|
-
x as EInputSize,
|
12
|
-
E as EInputStatus,
|
13
|
-
m as Input,
|
14
|
-
a as InputPhoneNumber,
|
15
|
-
B as getLog
|
16
|
-
};
|
package/dist/index2.css
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
._button_a92xc_1{--button-loader-color: var(--button-color);--button-cursor: pointer;position:relative;display:inline-block;flex-shrink:0;box-sizing:border-box;max-width:100%;height:var(--button-height);padding:0 var(--button-space);overflow:hidden;color:var(--button-color);font-weight:600;font-size:14px;font-family:var(--font-inter);line-height:16px;white-space:nowrap;text-decoration:none;text-overflow:ellipsis;background:var(--button-bg-color);border:none;border-radius:var(--control-radius);cursor:var(--button-cursor);transition:background-color .3s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease,fill .15s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none}._xs_a92xc_28{--button-height: var(--button-height-xs);--button-font-size: var(--control-text-size-xs);--button-space: var(--control-space-xs)}._s_a92xc_34{--button-height: var(--button-height-s);--button-font-size: var(--control-text-size-s);--button-space: var(--control-space-s)}._m_a92xc_40{--button-height: var(--button-height-m);--button-font-size: var(--control-text-size-m);--button-space: var(--control-space-m)}._l_a92xc_46{--button-height: var(--button-height-l);--button-font-size: var(--control-text-size-l);--button-space: var(--control-space-l)}._xl_a92xc_52{--button-height: var(--button-height-xl);--button-space: var(--control-space-l);font-weight:var(--font-weight-text-medium);font-size:var(--size-text-l)}._xxl_a92xc_59{--button-height: var(--button-height-xxl);--button-space: var(--control-space-xxl);font-weight:var(--font-weight-text-medium);font-size:var(--size-text-l)}._primary-sapphire_a92xc_66{--button-bg-color: var(--sapphire-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--sapphire-active);--button-bg-color-hover: var(--sapphire-hover);--button-color: var(--light-text);--button-border: transparent}._primary-citrine_a92xc_76{--button-bg-color: var(--citrine-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--citrine-active);--button-bg-color-hover: var(--citrine-hover);--button-color: var(--light-text);--button-border: transparent}._secondary-asphalt_a92xc_86{--button-bg-color: var(--asphalt-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--asphalt-active);--button-bg-color-hover: var(--asphalt-hover);--button-color: var(--light-text);--button-border: transparent}._secondary-gray_a92xc_96{--button-bg-color: var(--gray-normal);--button-color-hover: var(--counter-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--gray-active);--button-bg-color-hover: var(--gray-hover);--button-color: var(--dark-text);--button-border: transparent}._secondary-white_a92xc_106{--button-bg-color: var(--white-normal);--button-color-hover: var(--counter-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--white-active);--button-bg-color-hover: var(--white-hover);--button-color: var(--dark-text);--button-border: transparent}._secondary-red_a92xc_116{--button-bg-color: var(--red-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--red-active);--button-bg-color-hover: var(--red-hover);--button-color: var(--light-text);--button-border: transparent}._button_a92xc_1:hover{color:var(--button-color-hover);background:var(--button-bg-color-hover)}._button_a92xc_1:active{color:var(--button-color-active);background:var(--button-bg-color-active)}._button_a92xc_1:focus{color:var(--button-color-active);background:var(--button-bg-color-active)}._full_a92xc_141{width:100%}._disabled_a92xc_145{--button-cursor: not-allowed;color:var(--light-text);background-color:var(--disabled)}._disabled_a92xc_145:hover,._disabled_a92xc_145:active,._disabled_a92xc_145:focus{color:var(--light-text);background-color:var(--disabled)}
|
package/dist/utils/getLog.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export declare const getLog: (message: string) => string;
|
package/dist/utils/getLog.js
DELETED
package/dist/utils/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export { getLog } from './getLog';
|
package/dist/utils/index.js
DELETED