mimir-ui-kit 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- 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 +1 -0
- package/dist/components/Button/Button.stories.d.ts +67 -0
- package/dist/components/Button/constants.d.ts +25 -0
- package/dist/components/Button/constants.js +7 -0
- package/dist/components/Button/index.d.ts +84 -0
- package/dist/components/Button/index.js +53 -0
- package/dist/components/Button/types.d.ts +14 -0
- package/dist/components/Button/types.js +1 -0
- package/dist/components/Input/Input.stories.d.ts +13 -0
- package/dist/components/Input/constants.d.ts +12 -0
- package/dist/components/Input/constants.js +5 -0
- package/dist/components/Input/index.d.ts +29 -0
- package/dist/components/Input/index.js +61 -0
- package/dist/components/InputPassword/Input.stories.d.ts +7 -0
- package/dist/components/InputPassword/index.d.ts +306 -0
- package/dist/components/InputPassword/index.js +22 -0
- package/dist/components/InputPhoneNumber/Input.stories.d.ts +335 -0
- package/dist/components/InputPhoneNumber/index.d.ts +306 -0
- package/dist/components/InputPhoneNumber/index.js +28 -0
- package/dist/components/InputPhoneNumber/utils.d.ts +2 -0
- package/dist/components/InputPhoneNumber/utils.js +9 -0
- package/dist/components/OtpInput/Input.stories.d.ts +26 -0
- package/dist/components/OtpInput/constants.d.ts +2 -0
- package/dist/components/OtpInput/constants.js +5 -0
- package/dist/components/OtpInput/index.d.ts +18 -0
- package/dist/components/OtpInput/index.js +87 -0
- package/dist/components/icons/Eye.d.ts +1 -0
- package/dist/components/icons/Eye.js +24 -0
- package/dist/components/icons/index.d.ts +1 -0
- package/dist/components/icons/index.js +4 -0
- package/dist/components/index.d.ts +7 -0
- package/dist/components/index.js +20 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +6 -0
- package/dist/hooks/useMediaQuery/constants.d.ts +7 -0
- package/dist/hooks/useMediaQuery/constants.js +4 -0
- package/dist/hooks/useMediaQuery/index.d.ts +2 -0
- package/dist/hooks/useMediaQuery/index.js +6 -0
- package/dist/hooks/useMediaQuery/useMediaQuery.d.ts +14 -0
- package/dist/hooks/useMediaQuery/useMediaQuery.js +16 -0
- package/dist/index-DIxK0V-G.js +44 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +22 -0
- package/dist/index2.css +1 -0
- package/dist/index3.css +1 -0
- package/dist/index4.css +1 -0
- package/dist/utils/getLog.d.ts +1 -0
- package/dist/utils/getLog.js +4 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +4 -0
- package/package.json +1 -1
@@ -0,0 +1,44 @@
|
|
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
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
._otp_3vrel_1{display:flex;width:100%;column-gap:8px}._input_3vrel_7{flex:0 0 64px;padding:0;text-align:center}._separator_3vrel_13{display:block;flex:0 0 54px;align-self:center;height:1px;background-color:var(--black-100)}
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import { Button as r } from "./components/Button/index.js";
|
2
|
+
import { EButtonForm as p, EButtonSize as e, EButtonVariantDefault as u, EButtonVariantRound as m } from "./components/Button/constants.js";
|
3
|
+
import { Input as a } from "./components/Input/index.js";
|
4
|
+
import { EInputSize as E, EInputVariant as I } from "./components/Input/constants.js";
|
5
|
+
import { InputPassword as B } from "./components/InputPassword/index.js";
|
6
|
+
import { InputPhoneNumber as d } from "./components/InputPhoneNumber/index.js";
|
7
|
+
import { OtpInput as s } from "./components/OtpInput/index.js";
|
8
|
+
import { getLog as P } from "./utils/getLog.js";
|
9
|
+
export {
|
10
|
+
r as Button,
|
11
|
+
p as EButtonForm,
|
12
|
+
e as EButtonSize,
|
13
|
+
u as EButtonVariantDefault,
|
14
|
+
m as EButtonVariantRound,
|
15
|
+
E as EInputSize,
|
16
|
+
I as EInputVariant,
|
17
|
+
a as Input,
|
18
|
+
B as InputPassword,
|
19
|
+
d as InputPhoneNumber,
|
20
|
+
s as OtpInput,
|
21
|
+
P as getLog
|
22
|
+
};
|
package/dist/index2.css
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
._input_578w4_1{padding-right:44px}._wrapper_578w4_5{position:relative;display:flex;align-items:center;border-radius:8px}._wrapper_578w4_5 svg{color:inherit;fill:inherit}._button-wrapper_578w4_16{position:absolute;top:0;right:16px;z-index:2;display:flex;width:24px;height:100%;max-height:64px;border-radius:8px}._button_578w4_16{align-self:center;background-color:transparent;border-radius:8px}
|
package/dist/index3.css
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
._input_uy10d_1{--button-border-radius-l: 8px;--button-border-radius-m: 6px;--button-border-radius-s: 6px;position:relative;display:block;width:100%;min-width:0;height:var(--input-height);color:var(--dark-text);font-size:var(--input-font-size);font-family:var(--font-inter);letter-spacing:-.42px;background:none;background-color:var(--input-bg-color);border-radius:var(--input-border-radius);outline:none;cursor:var(--input-cursor);transition:background-color .2s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease,fill .15s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-feature-settings:"zero";padding-inline:var(--input-padding) var(--input-padding)}._s_uy10d_25{--input-height: var(--control-height-s);--input-font-size: var(--control-text-size-s);--input-padding: var(--space-m);--input-border-radius: var(--button-border-radius-s)}._m_uy10d_32{--input-height: var(--space-4xl);--input-font-size: var(--control-text-size-m);--input-padding: var(--space-m);--input-border-radius: var(--button-border-radius-m)}._l_uy10d_39{--input-height: var(--space-4xxl);--input-font-size: var(--control-text-size-2xl);--input-padding: var(--space-m);--input-border-radius: var(--button-border-radius-l)}._default-gray_uy10d_46{--input-bg-color: var(--black-5);--input-bg-color-active: var(--black-10);--input-bg-color-hover: var(--black-10);--input-color: var(--dark-text);--input-color-hover: var(--black-60);--input-color-active: var(--dark-text);--input-border: transparent;--input-bottom-color-active: var(--citrine-normal)}._default-white_uy10d_57{--input-bg-color: var(--white);--input-bg-color-hover: var(--black-60);--input-bg-color-active: var(--white);--input-color: var(--dark-text);--input-color-hover: var(--dark-text);--input-color-active: var(--dark-text);--input-border: transparent;--input-bottom-color-active: var(--citrine-normal)}._default-white_uy10d_57::placeholder{color:var(--input-color)}._default-white_uy10d_57:hover::placeholder{color:var(--input-color)}._success_uy10d_74{--input-bg-color: var(--success-normal);--input-bg-color-hover: var(--success-bg-hover);--input-bg-color-active: var(--success-bg-active);--input-color: var(--dark-text);--input-color-hover: var(--dark-text);--input-color-active: var(--dark-text);--input-border: transparent;--input-bottom-color-active: var(--success-normal)}._success_uy10d_74::placeholder{color:var(--input-color)}._success_uy10d_74:hover::placeholder{color:var(--input-color)}._alarm_uy10d_91{--input-bg-color: var(--alarm-normal);--input-bg-color-hover: var(--alarm-bg-hover);--input-bg-color-active: var(--alarm-bg-active);--input-color: var(--dark-text);--input-color-hover: var(--dark-text);--input-color-active: var(--dark-text);--input-border: transparent;--input-bottom-color-active: var(--alarm-normal)}._alarm_uy10d_91::placeholder{color:var(--input-color)}._alarm_uy10d_91:hover::placeholder{color:var(--input-color)}._error_uy10d_108{--input-bg-color: var(--error-normal);--input-bg-color-hover: var(--error-bg-hover);--input-bg-color-active: var(--error-bg-active);--input-color: var(--dark-text);--input-color-hover: var(--dark-text);--input-color-active: var(--dark-text);--input-border: transparent;--input-bottom-color-active: var(--error-normal)}._error_uy10d_108::placeholder{color:var(--input-color)}._error_uy10d_108:hover::placeholder{color:var(--input-color)}._input_uy10d_1:hover{color:var(--input-color-hover);background:var(--input-bg-color-hover)}._input_uy10d_1:focus{color:var(--input-color-active);background-color:var(--input-bg-color-active);border-bottom:1px solid var(--input-bottom-color-active)}._disabled_uy10d_136{--input-cursor: not-allowed;color:var(--light-text);background-color:var(--black-20)}._disabled_uy10d_136:hover,._disabled_uy10d_136:active,._disabled_uy10d_136:focus{color:var(--light-text);background-color:var(--black-20);border:none;box-shadow:none}._disabled_uy10d_136::placeholder{color:var(--light-text)}._disabled_uy10d_136:hover::placeholder{color:var(--light-text)}
|
package/dist/index4.css
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
._button_1yux6_1{--button-loader-color: var(--button-color);--button-cursor: pointer;position:relative;display:inline-flex;flex-shrink:0;align-items:center;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_1yux6_29{--button-height: var(--button-height-xs);--button-font-size: var(--control-text-size-xs);--button-space: var(--control-space-xs);--button-margin-icon: 4px;--button-border-radius: var(--button-border-radius-s)}._s_1yux6_37{--button-height: var(--button-height-s);--button-font-size: var(--control-text-size-s);--button-space: var(--control-space-s);--button-margin-icon: 4px;--button-border-radius: var(--button-border-radius-s)}._m_1yux6_45{--button-height: var(--button-height-m);--button-font-size: var(--control-text-size-m);--button-space: var(--control-space-m);--button-margin-icon: 8px;--button-border-radius: var(--button-border-radius-m)}._l_1yux6_53{--button-height: var(--button-height-l);--button-font-size: var(--control-text-size-l);--button-space: var(--control-space-l);--button-margin-icon: 8px;--button-border-radius: var(--button-border-radius-l)}._xl_1yux6_61{--button-height: var(--button-height-xl);--button-space: var(--control-space-l);--button-margin-icon: 8px;--button-border-radius: var(--button-border-radius-l);font-weight:var(--font-weight-text-medium);font-size:var(--size-text-l)}._xxl_1yux6_70{--button-height: var(--button-height-xxl);--button-space: var(--control-space-xxl);--button-border-radius: var(--button-border-radius-l);font-weight:var(--font-weight-text-medium);font-size:var(--size-text-l)}._default-button_1yux6_78._primary-sapphire_1yux6_78{--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}._default-button_1yux6_78._primary-citrine_1yux6_87{--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}._default-button_1yux6_78._secondary-asphalt_1yux6_96{--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}._default-button_1yux6_78._secondary-gray_1yux6_105{--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}._default-button_1yux6_78._secondary-white_1yux6_114{--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}._default-button_1yux6_78._secondary-red_1yux6_123{--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}._round-button_1yux6_133{--button-border-radius-l: 24px;--button-border-radius-m: 20px;--button-border-radius-s: 16px;--button-border-radius-xs: 12px;border-radius:var(--button-border-radius)}._round-button_1yux6_133._black_1yux6_140{--button-bg-color: var(--asphalt-normal);--button-bg-color-hover: var(--asphalt-hover);--button-bg-color-active: var(--sapphire-normal);--button-bg-color-focus: var(--sapphire-normal);--button-color: var(--light-text);--button-color-hover: var(--light-text);--button-color-active: var(--light-text)}._round-button_1yux6_133._gray_1yux6_149{--button-bg-color: var(--gray-normal);--button-bg-color-hover: var(--gray-hover);--button-bg-color-active: var(--sapphire-normal);--button-bg-color-focus: var(--sapphire-normal);--button-color: var(--asphalt-normal);--button-color-hover: var(--asphalt-hover);--button-color-active: var(--light-text)}._round-button_1yux6_133._white_1yux6_158{--button-bg-color: var(--white-normal);--button-bg-color-hover: var(--white-hover);--button-bg-color-active: var(--sapphire-normal);--button-bg-color-focus: var(--sapphire-normal);--button-color: var(--asphalt-normal);--button-color-hover: var(--asphalt-hover);--button-color-active: var(--light-text)}._button_1yux6_1:hover{color:var(--button-color-hover);background:var(--button-bg-color-hover)}._button_1yux6_1:active{color:var(--button-color-active);background:var(--button-bg-color-active)}._button_1yux6_1:focus{box-shadow:0 0 2px var(--sapphire-normal)}._full_1yux6_182{width:100%}._disabled_1yux6_186{--button-cursor: not-allowed;color:var(--light-text);background-color:var(--disabled)}._disabled_1yux6_186:hover,._disabled_1yux6_186:active,._disabled_1yux6_186:focus{color:var(--light-text);background-color:var(--disabled);box-shadow:none}._right-icon_1yux6_197,._left-icon_1yux6_198{align-self:center}._right-icon_1yux6_197{margin-left:var(--button-margin-icon)}._left-icon_1yux6_198{margin-right:var(--button-margin-icon)}
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const getLog: (message: string) => string;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { getLog } from './getLog';
|