mimir-ui-kit 1.30.0 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/GosZnak.css +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/components/DatePicker/DatePicker.js +1 -1
- package/dist/components/GosZnak/GosZnak.d.ts +4 -0
- package/dist/components/GosZnak/GosZnak.js +76 -0
- package/dist/components/GosZnak/constants.d.ts +11 -0
- package/dist/components/GosZnak/constants.js +17 -0
- package/dist/components/GosZnak/index.d.ts +3 -0
- package/dist/components/GosZnak/index.js +7 -0
- package/dist/components/GosZnak/types.d.ts +26 -0
- package/dist/components/GosZnak/types.js +1 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +5 -0
- package/dist/index.js +5 -0
- package/package.json +1 -1
@@ -0,0 +1 @@
|
|
1
|
+
._gos-znak_y3yi4_2{display:inline-flex;align-items:center;width:var(--gos-znak-width);height:var(--gos-znak-height);overflow:hidden;background-color:var(--gos-znak-background-color);border-radius:var(--control-radius-xs1);outline:1px solid var(--gos-znak-outline-color)}._number_y3yi4_13{font-weight:var(--font-weight-text-medium);font-size:var(--gos-znak-number-font-size);font-family:var(--font-montserrat);line-height:var(--line-height-text-xss);letter-spacing:-.02em;text-align:center;text-transform:lowercase}._number-container_y3yi4_22{display:flex;align-items:center;justify-content:center;min-width:var(--gos-znak-number-container-width);height:100%;overflow:hidden;border-right:1px solid var(--number-border-right-color)}._region_y3yi4_32{font-weight:var(--font-weight-text-regular);font-size:var(--gos-znak-region-text-size);font-family:var(--font-inter);line-height:var(--line-height-text-l)}._region-container_y3yi4_38{display:flex;flex-direction:column;align-items:center;width:100%;overflow:hidden}._country_y3yi4_46{color:var(--gos-znak-country-color);font-size:var(--gos-znak-country-text-size);line-height:var(--line-height-text-s1);text-transform:uppercase}._l_y3yi4_53{--gos-znak-number-font-size: var(--size-text-xl3);--gos-znak-region-text-size: var(--size-text-xl);--gos-znak-country-text-size: var(--size-text-l);--gos-znak-number-container-width: 172px;--gos-znak-width: 242px;--gos-znak-height: 64px}._s_y3yi4_62{--gos-znak-number-font-size: var(--size-text-l);--gos-znak-region-text-size: var(--size-text-xs);--gos-znak-country-text-size: var(--size-text-xs2);--gos-znak-number-container-width: 86px;--gos-znak-width: 121px;--gos-znak-height: 32px}._normal_y3yi4_71{--gos-znak-background-color: var(--white);--gos-znak-outline-color: var(--black-20);--number-border-right-color: var(--black-20);--gos-znak-country-color: var(--black-60)}._traffic_y3yi4_78{--gos-znak-background-color: var(--gos-znak-traffic-background-color);--gos-znak-outline-color: var(--gos-znak-military-background-color);--number-border-right-color: var(--gos-znak-military-background-color);--gos-znak-country-color: var(--black-60)}._military_y3yi4_85{--gos-znak-background-color: var(--gos-znak-military-background-color);--gos-znak-outline-color: var(--black-5);--number-border-right-color: var(--black-5);--gos-znak-country-color: var(--black-30)}._police_y3yi4_92{--gos-znak-background-color: var(--gos-znak-police-background-color);--gos-znak-outline-color: var(--black-5);--number-border-right-color: var(--black-5);--gos-znak-country-color: var(--sapphire-30)}._diplomatic_y3yi4_99{--gos-znak-background-color: var(--gos-znak-diplomatic-background-color);--gos-znak-outline-color: var(--black-5);--number-border-right-color: var(--black-5);--gos-znak-country-color: var(--gos-znak-diplomatic-country-color)}._military_y3yi4_85,._police_y3yi4_92,._diplomatic_y3yi4_99{color:var(--white)}
|
package/dist/assets/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
@font-face{font-weight:400;font-family:Montserrat;font-style:normal;src:url(./fonts/585d10920d676fcd.woff2) format("woff2"),url(./fonts/3b9f59412b17ff93.woff) format("woff")}@font-face{font-weight:700;font-family:Montserrat;font-style:normal;src:url(./fonts/f4d681a788c6d497.woff2) format("woff2"),url(./fonts/43b748f250df0f08.woff) format("woff")}@font-face{font-weight:300;font-family:Montserrat;font-style:normal;src:url(./fonts/ee3db32f0aadef5d.woff2) format("woff2"),url(./fonts/1a738bfdbc1e4d9d.woff) format("woff")}@font-face{font-weight:500;font-family:Montserrat;font-style:normal;src:url(./fonts/e51d2feb30084bc2.woff2) format("woff2"),url(./fonts/badaa6d1837432de.woff) format("woff")}@font-face{font-weight:600;font-family:Montserrat;font-style:normal;src:url(./fonts/63611593e008a77c.woff2) format("woff2"),url(./fonts/3cdd7fabbe89d2b9.woff) format("woff")}@font-face{font-weight:400;font-family:Inter;font-style:normal;src:url(./fonts/d080ae18fd04e52c.woff2) format("woff2");font-variant-numeric:slashed-zero}@font-face{font-weight:700;font-family:Inter;font-style:normal;src:url(./fonts/11d5bc9f0cad36d1.woff2) format("woff2");font-variant-numeric:slashed-zero}@font-face{font-weight:500;font-family:Inter;font-style:normal;src:url(./fonts/242d04bef81519ae.woff2) format("woff2");font-variant-numeric:slashed-zero}@font-face{font-weight:600;font-family:Inter;font-style:normal;src:url(./fonts/cac2ba46e8c8adc9.woff2) format("woff2");font-variant-numeric:slashed-zero}@supports (font-variation-settings: normal){:root{font-family:InterVariable,sans-serif}}:root{font-feature-settings:"zero"}*{margin:0;padding:0;border:0;outline:none}*,:after,:before{box-sizing:border-box}:active,:focus{outline:0}a,a:visited,a:hover{-webkit-text-decoration:none;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{background-color:transparent;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);-webkit-transition:background-color 5000s ease-in-out 0s;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-active: #ebfdf1;--alarm-normal: #fdc023;--alarm-bg-hover: #fff0c7;--alarm-bg-active: #fff6de;--error-normal: #e64646;--error-bg-hover: #fadbdb;--error-bg-active: #fbe3e3;--disabled: #b3b3b3;--disabled-color: #b2b2b2;--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: rgba(255, 255, 255, .4);--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-ms: 16px;--button-height-xs: 24px;--button-height-s: 32px;--button-height-m: 40px;--button-height-l: 48px;--button-height-xl: 56px;--button-height-xxl: 64px;--select-search-height-l: 48px;--select-search-height-xxl: 64px;--select-search-options-height-desktop: 320px;--select-search-options-height-mobile: 264px;--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-l2: 18px;--size-text-xl: 20px;--size-text-xl2: 24px;--size-text-3xl: 26px;--size-text-2xl: 28px;--size-text-xl3: 32px;--size-text-xl4: 48px;--size-text-4xl: 52px;--size-text-5xl: 56px;--size-text-xl5: 72px;--size-text-xl6: 96px;--line-height-text-2xs: 1em;--line-height-text-xxs: 1.125em;--line-height-text-xs: 1.1em;--line-height-text-s: 1.2em;--line-height-text-s1: 1.25em;--line-height-text-m: 1.3em;--line-height-text-m1: 1.35em;--line-height-text-l: 1.4em;--line-height-text-l1: 1.45em;--line-height-text-xl: 1.5em;--line-height-text-xl1: 1.5em;--control-radius-xs2: 2px;--control-radius-xs: 4px;--control-radius: 6px;--control-radius-s: 8px;--control-radius-m-s: 16px;--control-radius-m: 20px;--control-radius-l: 24px;--control-radius-xl: 32px;--control-radius-xxl: 40px;--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-xxl: var(--space-xl);--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-1xs: 6px;--space-xs: 8px;--space-xss: 10px;--space-s: 12px;--space-2s: 14px;--space-m: 16px;--space-2m: 18px;--space-l: 20px;--space-2l: 22px;--space-xl: 24px;--space-1xl: 28px;--space-2xl: 32px;--space-2xxl: 36px;--space-xxl: 40px;--space-3xl: 44px;--space-4xl: 48px;--space-5xl: 56px;--space-4xxl: 64px;--space-5xxl: 72px;--space-6xl: 96px;--box-shadow-active: 0 0 2px var(--sapphire-normal);--box-shadow-focus: 0px 0px 10px 2px #1389cc;--box-shadow-select-search: 0 3px 15px 0 rgba(31, 32, 35, .15);--select-search-input-top-l: -15%;--select-search-input-top-xxl: -35%;--container-width-xs: 375px;--container-width-s: 767px;--container-width-m: 960px;--container-width-l: 1280px;--container-width-xl: 1440px;--container-width-xxl: 1920px;--zindex-fixed: 1030;--sidebar-width-collapsed: 64px;--sidebar-width-expanded: 256px;--header-height: 64px;--sidebar-form-width-tablet: 369px;--sidebar-form-width-mobile: 309px;--tab-trail-height-m: 58px;--tab-trail-height-s: 36px;--accordion-icon-circle-size-m: 48px;--accordion-icon-circle-size-s: 36px;--accordion-icon-square-size-m: 40px;--accordion-icon-square-size-s: 32px}@supports (font-variation-settings: normal){:root{font-family:Inter,sans-serif}}:root{font-feature-settings:"zero";font-variant-numeric:slashed-zero}body{font-family:Inter,sans-serif;font-feature-settings:"zero";font-variant-numeric:slashed-zero;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
|
1
|
+
@font-face{font-weight:400;font-family:Montserrat;font-style:normal;src:url(./fonts/585d10920d676fcd.woff2) format("woff2"),url(./fonts/3b9f59412b17ff93.woff) format("woff")}@font-face{font-weight:700;font-family:Montserrat;font-style:normal;src:url(./fonts/f4d681a788c6d497.woff2) format("woff2"),url(./fonts/43b748f250df0f08.woff) format("woff")}@font-face{font-weight:300;font-family:Montserrat;font-style:normal;src:url(./fonts/ee3db32f0aadef5d.woff2) format("woff2"),url(./fonts/1a738bfdbc1e4d9d.woff) format("woff")}@font-face{font-weight:500;font-family:Montserrat;font-style:normal;src:url(./fonts/e51d2feb30084bc2.woff2) format("woff2"),url(./fonts/badaa6d1837432de.woff) format("woff")}@font-face{font-weight:600;font-family:Montserrat;font-style:normal;src:url(./fonts/63611593e008a77c.woff2) format("woff2"),url(./fonts/3cdd7fabbe89d2b9.woff) format("woff")}@font-face{font-weight:400;font-family:Inter;font-style:normal;src:url(./fonts/d080ae18fd04e52c.woff2) format("woff2");font-variant-numeric:slashed-zero}@font-face{font-weight:700;font-family:Inter;font-style:normal;src:url(./fonts/11d5bc9f0cad36d1.woff2) format("woff2");font-variant-numeric:slashed-zero}@font-face{font-weight:500;font-family:Inter;font-style:normal;src:url(./fonts/242d04bef81519ae.woff2) format("woff2");font-variant-numeric:slashed-zero}@font-face{font-weight:600;font-family:Inter;font-style:normal;src:url(./fonts/cac2ba46e8c8adc9.woff2) format("woff2");font-variant-numeric:slashed-zero}@supports (font-variation-settings: normal){:root{font-family:InterVariable,sans-serif}}:root{font-feature-settings:"zero"}*{margin:0;padding:0;border:0;outline:none}*,:after,:before{box-sizing:border-box}:active,:focus{outline:0}a,a:visited,a:hover{-webkit-text-decoration:none;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{background-color:transparent;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);-webkit-transition:background-color 5000s ease-in-out 0s;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-active: #ebfdf1;--alarm-normal: #fdc023;--alarm-bg-hover: #fff0c7;--alarm-bg-active: #fff6de;--error-normal: #e64646;--error-bg-hover: #fadbdb;--error-bg-active: #fbe3e3;--disabled: #b3b3b3;--disabled-color: #b2b2b2;--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: rgba(255, 255, 255, .4);--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;--gos-znak-traffic-background-color: #fede0c;--gos-znak-military-background-color: var(--black-80);--gos-znak-police-background-color: #4478ff;--gos-znak-diplomatic-background-color: #e64646;--gos-znak-diplomatic-country-color: #f5b7b7;--button-height-ms: 16px;--button-height-xs: 24px;--button-height-s: 32px;--button-height-m: 40px;--button-height-l: 48px;--button-height-xl: 56px;--button-height-xxl: 64px;--select-search-height-l: 48px;--select-search-height-xxl: 64px;--select-search-options-height-desktop: 320px;--select-search-options-height-mobile: 264px;--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-l2: 18px;--size-text-xl: 20px;--size-text-xl2: 24px;--size-text-3xl: 26px;--size-text-2xl: 28px;--size-text-xl3: 32px;--size-text-xl4: 48px;--size-text-4xl: 52px;--size-text-5xl: 56px;--size-text-xl5: 72px;--size-text-xl6: 96px;--line-height-text-2xs: 1em;--line-height-text-xxs: 1.125em;--line-height-text-xs: 1.1em;--line-height-text-xss: 1.12em;--line-height-text-xss1: 1.17em;--line-height-text-s: 1.2em;--line-height-text-s1: 1.25em;--line-height-text-m: 1.3em;--line-height-text-m1: 1.35em;--line-height-text-l: 1.4em;--line-height-text-l1: 1.45em;--line-height-text-xl: 1.5em;--line-height-text-xl1: 1.5em;--control-radius-xs2: 2px;--control-radius-xs: 4px;--control-radius-xs1: 5px;--control-radius: 6px;--control-radius-s: 8px;--control-radius-m-s: 16px;--control-radius-m: 20px;--control-radius-l: 24px;--control-radius-xl: 32px;--control-radius-xxl: 40px;--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-xxl: var(--space-xl);--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-1xs: 6px;--space-xs: 8px;--space-xss: 10px;--space-s: 12px;--space-2s: 14px;--space-m: 16px;--space-2m: 18px;--space-l: 20px;--space-2l: 22px;--space-xl: 24px;--space-1xl: 28px;--space-2xl: 32px;--space-2xxl: 36px;--space-xxl: 40px;--space-3xl: 44px;--space-4xl: 48px;--space-5xl: 56px;--space-4xxl: 64px;--space-5xxl: 72px;--space-6xl: 96px;--box-shadow-active: 0 0 2px var(--sapphire-normal);--box-shadow-focus: 0px 0px 10px 2px #1389cc;--box-shadow-select-search: 0 3px 15px 0 rgba(31, 32, 35, .15);--select-search-input-top-l: -15%;--select-search-input-top-xxl: -35%;--container-width-xs: 375px;--container-width-s: 767px;--container-width-m: 960px;--container-width-l: 1280px;--container-width-xl: 1440px;--container-width-xxl: 1920px;--zindex-fixed: 1030;--sidebar-width-collapsed: 64px;--sidebar-width-expanded: 256px;--header-height: 64px;--sidebar-form-width-tablet: 369px;--sidebar-form-width-mobile: 309px;--tab-trail-height-m: 58px;--tab-trail-height-s: 36px;--accordion-icon-circle-size-m: 48px;--accordion-icon-circle-size-s: 36px;--accordion-icon-square-size-m: 40px;--accordion-icon-square-size-s: 32px}@supports (font-variation-settings: normal){:root{font-family:Inter,sans-serif}}:root{font-feature-settings:"zero";font-variant-numeric:slashed-zero}body{font-family:Inter,sans-serif;font-feature-settings:"zero";font-variant-numeric:slashed-zero;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
|
@@ -106,7 +106,7 @@ const DatePicker = memo(
|
|
106
106
|
size,
|
107
107
|
type: "text",
|
108
108
|
variant: isError ? EInputVariant.Error : variant,
|
109
|
-
value: date && !(typeof date === "string") && !isNaN(date == null ? void 0 : date.getTime()) ? formating.Date(date, "dd/mm/
|
109
|
+
value: date && !(typeof date === "string") && !isNaN(date == null ? void 0 : date.getTime()) ? formating.Date(date, "dd/mm/yy") : "",
|
110
110
|
rightAddon: {
|
111
111
|
addonType: "icon",
|
112
112
|
addonContent: isActive ? "DropdownArrowUp24px" : "DropdownArrowDown24px"
|
@@ -0,0 +1,76 @@
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
2
|
+
import { c as classNames } from "../../index-CweZ_OcN.js";
|
3
|
+
import { EGosZnakSize, EGosZnakType } from "./constants.js";
|
4
|
+
import '../../assets/GosZnak.css';const number = "_number_y3yi4_13";
|
5
|
+
const region = "_region_y3yi4_32";
|
6
|
+
const country = "_country_y3yi4_46";
|
7
|
+
const l = "_l_y3yi4_53";
|
8
|
+
const s = "_s_y3yi4_62";
|
9
|
+
const normal = "_normal_y3yi4_71";
|
10
|
+
const traffic = "_traffic_y3yi4_78";
|
11
|
+
const military = "_military_y3yi4_85";
|
12
|
+
const police = "_police_y3yi4_92";
|
13
|
+
const diplomatic = "_diplomatic_y3yi4_99";
|
14
|
+
const cls = {
|
15
|
+
"gos-znak": "_gos-znak_y3yi4_2",
|
16
|
+
number,
|
17
|
+
"number-container": "_number-container_y3yi4_22",
|
18
|
+
region,
|
19
|
+
"region-container": "_region-container_y3yi4_38",
|
20
|
+
country,
|
21
|
+
l,
|
22
|
+
s,
|
23
|
+
normal,
|
24
|
+
traffic,
|
25
|
+
military,
|
26
|
+
police,
|
27
|
+
diplomatic
|
28
|
+
};
|
29
|
+
const GosZnak = ({
|
30
|
+
number: number2,
|
31
|
+
region: region2,
|
32
|
+
country: country2,
|
33
|
+
size = EGosZnakSize.L,
|
34
|
+
type = EGosZnakType.Normal,
|
35
|
+
className,
|
36
|
+
numberClassName,
|
37
|
+
regionClassName,
|
38
|
+
countryClassName,
|
39
|
+
numberContainerClassName,
|
40
|
+
regionContainerClassName
|
41
|
+
}) => {
|
42
|
+
return /* @__PURE__ */ jsxs(
|
43
|
+
"div",
|
44
|
+
{
|
45
|
+
className: classNames(cls["gos-znak"], cls[size], cls[type], className),
|
46
|
+
children: [
|
47
|
+
/* @__PURE__ */ jsx(
|
48
|
+
"div",
|
49
|
+
{
|
50
|
+
className: classNames(
|
51
|
+
cls["number-container"],
|
52
|
+
numberContainerClassName
|
53
|
+
),
|
54
|
+
children: /* @__PURE__ */ jsx("span", { className: classNames(cls.number, numberClassName), children: number2 })
|
55
|
+
}
|
56
|
+
),
|
57
|
+
/* @__PURE__ */ jsxs(
|
58
|
+
"div",
|
59
|
+
{
|
60
|
+
className: classNames(
|
61
|
+
cls["region-container"],
|
62
|
+
regionContainerClassName
|
63
|
+
),
|
64
|
+
children: [
|
65
|
+
/* @__PURE__ */ jsx("span", { className: classNames(cls.region, regionClassName), children: region2 }),
|
66
|
+
/* @__PURE__ */ jsx("span", { className: classNames(cls.country, countryClassName), children: country2 })
|
67
|
+
]
|
68
|
+
}
|
69
|
+
)
|
70
|
+
]
|
71
|
+
}
|
72
|
+
);
|
73
|
+
};
|
74
|
+
export {
|
75
|
+
GosZnak
|
76
|
+
};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
var EGosZnakSize = /* @__PURE__ */ ((EGosZnakSize2) => {
|
2
|
+
EGosZnakSize2["S"] = "s";
|
3
|
+
EGosZnakSize2["L"] = "l";
|
4
|
+
return EGosZnakSize2;
|
5
|
+
})(EGosZnakSize || {});
|
6
|
+
var EGosZnakType = /* @__PURE__ */ ((EGosZnakType2) => {
|
7
|
+
EGosZnakType2["Normal"] = "normal";
|
8
|
+
EGosZnakType2["Traffic"] = "traffic";
|
9
|
+
EGosZnakType2["Military"] = "military";
|
10
|
+
EGosZnakType2["Police"] = "police";
|
11
|
+
EGosZnakType2["Diplomatic"] = "diplomatic";
|
12
|
+
return EGosZnakType2;
|
13
|
+
})(EGosZnakType || {});
|
14
|
+
export {
|
15
|
+
EGosZnakSize,
|
16
|
+
EGosZnakType
|
17
|
+
};
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { EGosZnakSize, EGosZnakType } from './constants';
|
2
|
+
|
3
|
+
export type TGosZnakProps = {
|
4
|
+
/** Номер государственного знака */
|
5
|
+
number: string;
|
6
|
+
/** Код региона */
|
7
|
+
region: string;
|
8
|
+
/** Код страны */
|
9
|
+
country: string;
|
10
|
+
/** Размер госзнака. Если не указан, по умолчанию используется большой размер */
|
11
|
+
size?: EGosZnakSize | `${EGosZnakSize}`;
|
12
|
+
/** Тип госзнака. Если не указан, по умолчанию используется обычный тип */
|
13
|
+
type?: EGosZnakType | `${EGosZnakType}`;
|
14
|
+
/** Дополнительный CSS класс для стилизации */
|
15
|
+
className?: string;
|
16
|
+
/** Дополнительный CSS класс для стилизации номера */
|
17
|
+
numberClassName?: string;
|
18
|
+
/** Дополнительный CSS класс для стилизации региона */
|
19
|
+
regionClassName?: string;
|
20
|
+
/** Дополнительный CSS класс для стилизации страны */
|
21
|
+
countryClassName?: string;
|
22
|
+
/** Дополнительный CSS класс для стилизации контейнера номера */
|
23
|
+
numberContainerClassName?: string;
|
24
|
+
/** Дополнительный CSS класс для стилизации контейнера региона */
|
25
|
+
regionContainerClassName?: string;
|
26
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -46,3 +46,6 @@ export { UniversalUploader, EUploaderType } from './UniversalUploader';
|
|
46
46
|
export type { TUniversalUploader, TOnChangeUpdate, TPhotoWithType, TFileWithType } from './UniversalUploader';
|
47
47
|
export { InputRangeSlider, EInputRangeSliderBorderState, EInputRangeSliderPositions } from './InputRangeSlider';
|
48
48
|
export type { TInputRangeSliderProps } from './InputRangeSlider';
|
49
|
+
export { GosZnak } from './GosZnak';
|
50
|
+
export { EGosZnakSize, EGosZnakType } from './GosZnak';
|
51
|
+
export type { TGosZnakProps } from './GosZnak';
|
package/dist/components/index.js
CHANGED
@@ -47,6 +47,8 @@ import { UniversalUploader } from "./UniversalUploader/UniversalUploader.js";
|
|
47
47
|
import { EUploaderType } from "./UniversalUploader/constants.js";
|
48
48
|
import { InputRangeSlider } from "./InputRangeSlider/InputRangeSlider.js";
|
49
49
|
import { EInputRangeSliderBorderState, EInputRangeSliderPositions } from "./InputRangeSlider/constants.js";
|
50
|
+
import { GosZnak } from "./GosZnak/GosZnak.js";
|
51
|
+
import { EGosZnakSize, EGosZnakType } from "./GosZnak/constants.js";
|
50
52
|
export {
|
51
53
|
Accordion,
|
52
54
|
AccordionItem,
|
@@ -65,6 +67,8 @@ export {
|
|
65
67
|
EChipSize,
|
66
68
|
EChipVariant,
|
67
69
|
EDrawerPosition,
|
70
|
+
EGosZnakSize,
|
71
|
+
EGosZnakType,
|
68
72
|
EInputRangeSliderBorderState,
|
69
73
|
EInputRangeSliderPositions,
|
70
74
|
EInputSize,
|
@@ -83,6 +87,7 @@ export {
|
|
83
87
|
EToastVariant,
|
84
88
|
EUploaderType,
|
85
89
|
EVoteSize,
|
90
|
+
GosZnak,
|
86
91
|
AppImage as Image,
|
87
92
|
I as Input,
|
88
93
|
InputPassword,
|
package/dist/index.js
CHANGED
@@ -47,6 +47,8 @@ import { UniversalUploader } from "./components/UniversalUploader/UniversalUploa
|
|
47
47
|
import { EUploaderType } from "./components/UniversalUploader/constants.js";
|
48
48
|
import { InputRangeSlider } from "./components/InputRangeSlider/InputRangeSlider.js";
|
49
49
|
import { EInputRangeSliderBorderState, EInputRangeSliderPositions } from "./components/InputRangeSlider/constants.js";
|
50
|
+
import { GosZnak } from "./components/GosZnak/GosZnak.js";
|
51
|
+
import { EGosZnakSize, EGosZnakType } from "./components/GosZnak/constants.js";
|
50
52
|
import { useMediaQuery } from "./hooks/useMediaQuery/useMediaQuery.js";
|
51
53
|
import { EMediaQuery, EMinMediaQuery } from "./hooks/useMediaQuery/constants.js";
|
52
54
|
import { useLockBodyScroll } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
|
@@ -76,6 +78,8 @@ import './assets/index.css';export {
|
|
76
78
|
EChipSize,
|
77
79
|
EChipVariant,
|
78
80
|
EDrawerPosition,
|
81
|
+
EGosZnakSize,
|
82
|
+
EGosZnakType,
|
79
83
|
EInputRangeSliderBorderState,
|
80
84
|
EInputRangeSliderPositions,
|
81
85
|
EInputSize,
|
@@ -96,6 +100,7 @@ import './assets/index.css';export {
|
|
96
100
|
EToastVariant,
|
97
101
|
EUploaderType,
|
98
102
|
EVoteSize,
|
103
|
+
GosZnak,
|
99
104
|
Icon,
|
100
105
|
AppImage as Image,
|
101
106
|
I as Input,
|