mimir-ui-kit 1.34.8 → 1.34.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/index.css +1 -1
- package/dist/assets/styles.css +1 -1
- package/dist/components/Accordion/Accordion.js +63 -63
- package/dist/components/DatePicker/DatePicker.js +1 -1
- package/dist/components/DatePicker/DatePickerModal.js +1 -1
- package/dist/components/DatePicker/MonthPickerModal.js +1 -1
- package/dist/components/DatePicker/YearPickerModal.js +1 -1
- package/dist/components/ListPhotos/ListPhotos.d.ts +1 -0
- package/dist/components/ListPhotos/ListPhotos.js +18 -11
- package/dist/components/UploaderFiles/UploaderFiles.d.ts +7 -2
- package/dist/components/UploaderFiles/UploaderFiles.js +44 -35
- package/dist/components/UploaderPhotos/UploaderPhotos.d.ts +5 -0
- package/dist/components/UploaderPhotos/UploaderPhotos.js +39 -38
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +67 -65
- package/dist/index.js +79 -77
- package/dist/styles.module-BQZZ6FB1.js +25 -0
- package/package.json +1 -1
- package/dist/styles.module-CaPkyXYQ.js +0 -25
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}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-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;--mimir-select-search-height-l: 48px;--mimir-select-search-height-xxl: 64px;--mimir-select-search-options-height-desktop: 320px;--mimir-select-search-options-height-mobile: 264px;--mimir-control-default: var(--sapphire-20);--mimir-control-hover: var(--sapphire-40);--mimir-control-selected: var(--sapphire-100);--mimir-control-disabled: var(--black-10);--mimir-font-inter: "Inter", sans-serif;--mimir-font-montserrat: "Montserrat", sans-serif;--mimir-font-weight-text-regular: 400;--mimir-font-weight-text-medium: 500;--mimir-font-weight-text-semibold: 600;--mimir-font-weight-text-bold: 700;--mimir-font-weight-text-extrabold: 800;--mimir-font-weight-text-black: 900;--mimir-size-text-xs2: 8px;--mimir-size-text-xs: 10px;--mimir-size-text-s: 12px;--mimir-size-text-m: 14px;--mimir-size-text-l: 16px;--mimir-size-text-l2: 18px;--mimir-size-text-xl: 20px;--mimir-size-text-xl2: 24px;--mimir-size-text-3xl: 26px;--mimir-size-text-2xl: 28px;--mimir-size-text-xl3: 32px;--mimir-size-text-xl4: 48px;--mimir-size-text-4xl: 52px;--mimir-size-text-5xl: 56px;--mimir-size-text-xl5: 72px;--mimir-size-text-xl6: 96px;--mimir-line-height-text-2xs: 1em;--mimir-line-height-text-xxs: 1.125em;--mimir-line-height-text-xs: 1.1em;--mimir-line-height-text-xss: 1.12em;--mimir-line-height-text-xss1: 1.17em;--mimir-line-height-text-s: 1.2em;--mimir-line-height-text-s1: 1.25em;--mimir-line-height-text-m: 1.3em;--mimir-line-height-text-m1: 1.35em;--mimir-line-height-text-l: 1.4em;--mimir-line-height-text-l1: 1.45em;--mimir-line-height-text-xl: 1.5em;--mimir-line-height-text-xl1: 1.5em;--mimir-control-radius-xs2: 2px;--mimir-control-radius-xs: 4px;--mimir-control-radius-xs1: 5px;--mimir-control-radius: 6px;--mimir-control-radius-s: 8px;--mimir-control-radius-m-s: 16px;--mimir-control-radius-m: 20px;--mimir-control-radius-l: 24px;--mimir-control-radius-xl: 32px;--mimir-control-radius-xxl: 40px;--mimir-control-input-radius: 12px;--mimir-control-border-width: 1px;--mimir-control-space-xs: var(--mimir-space-s);--mimir-control-space-l: var(--mimir-space-xl);--mimir-control-space-xxl: var(--mimir-space-xl);--mimir-control-text-size-2xl: var(--mimir-size-text-xl);--mimir-control-text-size-xl: var(--mimir-size-text-xl3);--mimir-control-text-size-l: var(--mimir-size-text-l);--mimir-control-text-size-m: var(--mimir-size-text-m);--mimir-control-text-size-s: var(--mimir-size-text-s);--mimir-control-text-size-xs: var(--mimir-size-text-xs);--mimir-space-3xs: 2px;--mimir-space-2xs: 4px;--mimir-space-1xs: 6px;--mimir-space-xs: 8px;--mimir-space-xss: 10px;--mimir-space-s: 12px;--mimir-space-2s: 14px;--mimir-space-m: 16px;--mimir-space-2m: 18px;--mimir-space-l: 20px;--mimir-space-2l: 22px;--mimir-space-xl: 24px;--mimir-space-1xl: 28px;--mimir-space-2xl: 32px;--mimir-space-2xxl: 36px;--mimir-space-xxl: 40px;--mimir-space-3xl: 44px;--mimir-space-4xl: 48px;--mimir-space-5xl: 56px;--mimir-space-4xxl: 64px;--mimir-space-5xxl: 72px;--mimir-space-6xl: 96px;--mimir-box-shadow-active: 0 0 2px var(--sapphire-normal);--mimir-box-shadow-focus: 0px 0px 10px 2px #1389cc;--mimir-box-shadow-default: 0 0 4px 0 #1389cc;--mimir-box-shadow-select-search: 0 3px 15px 0 rgba(31, 32, 35, .15);--mimir-select-search-input-top-l: -15%;--mimir-select-search-input-top-xxl: -35%;--mimir-container-width-xs: 375px;--mimir-container-width-s: 767px;--mimir-container-width-m: 960px;--mimir-container-width-l: 1280px;--mimir-container-width-xl: 1440px;--mimir-container-width-xxl: 1920px;--mimir-zindex-fixed: 1030;--sidebar-width-collapsed: 64px;--sidebar-width-expanded: 256px;--sidebar-form-width-tablet: 369px;--sidebar-form-width-mobile: 309px;--header-height: 64px;--mimir-tab-trail-height-m: 58px;--mimir-tab-trail-height-s: 36px;--mimir-accordion-icon-circle-size-m: 48px;--mimir-accordion-icon-circle-size-s: 36px;--mimir-accordion-icon-square-size-m: 40px;--mimir-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}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-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;--mimir-select-search-height-l: 48px;--mimir-select-search-height-xxl: 64px;--mimir-select-search-options-height-desktop: 320px;--mimir-select-search-options-height-mobile: 264px;--mimir-control-default: var(--sapphire-20);--mimir-control-hover: var(--sapphire-40);--mimir-control-selected: var(--sapphire-100);--mimir-control-disabled: var(--black-10);--mimir-font-inter: "Inter", sans-serif;--mimir-font-montserrat: "Montserrat", sans-serif;--mimir-font-weight-text-regular: 400;--mimir-font-weight-text-medium: 500;--mimir-font-weight-text-semibold: 600;--mimir-font-weight-text-bold: 700;--mimir-font-weight-text-extrabold: 800;--mimir-font-weight-text-black: 900;--mimir-size-text-xs2: 8px;--mimir-size-text-xs: 10px;--mimir-size-text-s: 12px;--mimir-size-text-m: 14px;--mimir-size-text-l: 16px;--mimir-size-text-l2: 18px;--mimir-size-text-xl: 20px;--mimir-size-text-xl2: 24px;--mimir-size-text-3xl: 26px;--mimir-size-text-2xl: 28px;--mimir-size-text-xl3: 32px;--mimir-size-text-xl4: 48px;--mimir-size-text-4xl: 52px;--mimir-size-text-5xl: 56px;--mimir-size-text-xl5: 72px;--mimir-size-text-xl6: 96px;--mimir-line-height-text-2xs: 1em;--mimir-line-height-text-xxs: 1.125em;--mimir-line-height-text-xs: 1.1em;--mimir-line-height-text-xss: 1.12em;--mimir-line-height-text-xss1: 1.17em;--mimir-line-height-text-s: 1.2em;--mimir-line-height-text-s1: 1.25em;--mimir-line-height-text-m: 1.3em;--mimir-line-height-text-m1: 1.35em;--mimir-line-height-text-l: 1.4em;--mimir-line-height-text-l1: 1.45em;--mimir-line-height-text-xl: 1.5em;--mimir-line-height-text-xl1: 1.5em;--mimir-control-radius-xs2: 2px;--mimir-control-radius-xs: 4px;--mimir-control-radius-xs1: 5px;--mimir-control-radius: 6px;--mimir-control-radius-s: 8px;--mimir-control-radius-m-s: 16px;--mimir-control-radius-m: 20px;--mimir-control-radius-l: 24px;--mimir-control-radius-xl: 32px;--mimir-control-radius-xxl: 40px;--mimir-control-input-radius: 12px;--mimir-control-border-width: 1px;--mimir-control-space-xs: var(--mimir-space-s);--mimir-control-space-l: var(--mimir-space-xl);--mimir-control-space-xxl: var(--mimir-space-xl);--mimir-control-text-size-2xl: var(--mimir-size-text-xl);--mimir-control-text-size-xl: var(--mimir-size-text-xl3);--mimir-control-text-size-l: var(--mimir-size-text-l);--mimir-control-text-size-m: var(--mimir-size-text-m);--mimir-control-text-size-s: var(--mimir-size-text-s);--mimir-control-text-size-xs: var(--mimir-size-text-xs);--mimir-space-3xs: 2px;--mimir-space-2xs: 4px;--mimir-space-1xs: 6px;--mimir-space-xs: 8px;--mimir-space-xss: 10px;--mimir-space-s: 12px;--mimir-space-2s: 14px;--mimir-space-m: 16px;--mimir-space-2m: 18px;--mimir-space-l: 20px;--mimir-space-2l: 22px;--mimir-space-xl: 24px;--mimir-space-1xl: 28px;--mimir-space-2xl: 32px;--mimir-space-2xxl: 36px;--mimir-space-xxl: 40px;--mimir-space-3xl: 44px;--mimir-space-4xl: 48px;--mimir-space-5xl: 56px;--mimir-space-4xxl: 64px;--mimir-space-5xxl: 72px;--mimir-space-6xl: 96px;--mimir-box-shadow-active: 0 0 2px var(--sapphire-normal);--mimir-box-shadow-focus: 0px 0px 10px 2px #1389cc;--mimir-box-shadow-default: 0 0 4px 0 #1389cc;--mimir-box-shadow-select-search: 0 3px 15px 0 rgba(31, 32, 35, .15);--mimir-select-search-input-top-l: -15%;--mimir-select-search-input-top-xxl: -35%;--mimir-container-width-xs: 375px;--mimir-container-width-s: 767px;--mimir-container-width-m: 960px;--mimir-container-width-l: 1280px;--mimir-container-width-xl: 1440px;--mimir-container-width-xxl: 1920px;--mimir-zindex-dropdown: 1000;--mimir-zindex-sticky: 1020;--mimir-zindex-fixed: 1030;--mimir-zindex-modal-backdrop: 1040;--mimir-zindex-modal: 1050;--mimir-zindex-popover: 1060;--mimir-zindex-tooltip: 1070;--sidebar-width-collapsed: 64px;--sidebar-width-expanded: 256px;--sidebar-form-width-tablet: 369px;--sidebar-form-width-mobile: 309px;--header-height: 64px;--mimir-tab-trail-height-m: 58px;--mimir-tab-trail-height-s: 36px;--mimir-accordion-icon-circle-size-m: 48px;--mimir-accordion-icon-circle-size-s: 36px;--mimir-accordion-icon-square-size-m: 40px;--mimir-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}
|
package/dist/assets/styles.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.
|
1
|
+
._input_1uohj_2{padding-right:var(--mimir-space-3xl)}._input-wrapper_1uohj_6{flex:1}._date-wrapper_1uohj_10{position:relative;width:100%}._date-wrapper_1uohj_10 ._inputBorderControl_1uohj_14{border:transparent}._date-wrapper_1uohj_10:hover ._input-wrapper_1uohj_6{background-color:var(--input-bg-color-hover)}._date-wrapper_1uohj_10:before{position:absolute;top:0;right:45px;bottom:0;left:0;z-index:3;cursor:pointer;content:""}._date-wrapper_1uohj_10._editable_1uohj_27:before{display:none}._date-wrapper_1uohj_10 svg{cursor:pointer}[data-disabled=true] ._date-wrapper_1uohj_10:before{cursor:auto}[data-disabled=true] ._date-wrapper_1uohj_10 ._input-wrapper_1uohj_6{background:var(--black-20)}[data-disabled=true] ._date-wrapper_1uohj_10 ._input-wrapper_1uohj_6 label,[data-disabled=true] ._date-wrapper_1uohj_10 ._input-wrapper_1uohj_6 input{color:var(--white)}[data-disabled=true] ._button-wrapper_1uohj_44 svg{color:var(--white);cursor:default;fill:var(--white)}._wrapper_1uohj_50{position:relative;display:flex;align-items:center;border-radius:var(--mimir-control-radius-s)}._wrapper_1uohj_50._active_1uohj_56{border-bottom:1px solid var(--citrine-100)}._button-wrapper_1uohj_44{position:absolute;top:0;right:0;z-index:2;display:flex;justify-content:center;width:44px;height:100%;max-height:var(--button-height-xxl)}._button_1uohj_44{align-self:center;background-color:transparent;border-radius:var(--mimir-control-radius-s)}._field-overlow_1uohj_78{position:fixed;top:0;right:0;bottom:0;left:0;z-index:3}._calendar-block_1uohj_84{position:absolute;z-index:var(--mimir-zindex-dropdown);display:flex;flex-direction:column;width:368px;max-height:none;padding:16px;font-weight:var(--mimir-font-weight-text-regular);font-size:var(--mimir-size-text-l);font-family:var(--mimir-font-inter);font-style:normal;line-height:var(--mimir-line-height-text-2xs);text-align:center;text-overflow:ellipsis;background:var(--white);border-radius:var(--mimir-control-radius-s);box-shadow:0 0 #16172705,0 2px 4px #16172705,0 6px 6px #16172705,0 15px 9px #16172703;opacity:0;transition:height .5s ease-in;font-feature-settings:"zero";font-variant-numeric:slashed-zero}._calendar-block_1uohj_84 ._h_1uohj_107{display:flex;width:100%;color:var(--black-100)}._calendar-block_1uohj_84 ._b_1uohj_44{display:grid;grid-template-columns:repeat(7,1fr)}._calendar-block_1uohj_84 ._d_1uohj_10{display:flex;flex:1;gap:4px;align-items:center;justify-content:center;color:var(--black-100);cursor:pointer}._calendar-block_1uohj_84 ._m_1uohj_128,._calendar-block_1uohj_84 ._a_1uohj_56,._calendar-block_1uohj_84 ._prev_1uohj_130{width:auto;height:48px;overflow:hidden}._calendar-block_1uohj_84 ._m_1uohj_128{display:flex;align-items:center;justify-content:center;color:var(--disabled)}._calendar-block_1uohj_84 ._m_1uohj_128 b{font-weight:var(--mimir-font-weight-text-regular)}._calendar-block_1uohj_84 ._orange_1uohj_146{color:var(--citrine-100)}._calendar-block_1uohj_84 ._a_1uohj_56{color:var(--black-100);border-radius:var(--mimir-control-radius-s)}._calendar-block_1uohj_84 ._a_1uohj_56 b{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-weight:var(--mimir-font-weight-text-regular);cursor:pointer}._calendar-block_1uohj_84 ._a_1uohj_56 b:hover{background:var(--black-10)}._calendar-block_1uohj_84 ._a_1uohj_56 b:active{color:var(--white);background:var(--sapphire-100)}._calendar-block_1uohj_84 ._current_1uohj_171{background:var(--sapphire-10);border-radius:var(--mimir-control-radius-s)}._calendar-block_1uohj_84 ._monthGrid_1uohj_176{display:grid;grid-template-columns:repeat(3,1fr)}
|
@@ -7,18 +7,18 @@ import { useMediaQuery as _e } from "../../hooks/useMediaQuery/useMediaQuery.js"
|
|
7
7
|
import { EMediaQuery as Ie } from "../../hooks/useMediaQuery/constants.js";
|
8
8
|
import { Icon as Se } from "../../icons/Icon.js";
|
9
9
|
import { Link as Pe } from "../AnchorLink/Link.js";
|
10
|
-
import { M as ee, W as q, y as K, T as ke, o as O, a as V, H as W, I as le, $ as ve, b as he, D as
|
10
|
+
import { M as ee, W as q, y as K, T as ke, o as O, a as V, H as W, I as le, $ as ve, b as he, D as ne, u as ye, c as g } from "../../keyboard-B0lm_zyn.js";
|
11
11
|
import { w as Ee } from "../../use-active-press-86hajhdd.js";
|
12
12
|
import { T as be } from "../../use-resolve-button-type-BAxjHhds.js";
|
13
13
|
import { c as De, i as M, u as $e, V as ge, A as Te, s as we } from "../../open-closed-Cy6VDfYc.js";
|
14
14
|
import { r as Ne } from "../../bugs-diTMAGNw.js";
|
15
15
|
import '../../assets/Accordion.css';let Re = F(() => {
|
16
16
|
});
|
17
|
-
function Ce({ value: e, children:
|
18
|
-
return h.createElement(Re.Provider, { value: e },
|
17
|
+
function Ce({ value: e, children: n }) {
|
18
|
+
return h.createElement(Re.Provider, { value: e }, n);
|
19
19
|
}
|
20
|
-
var
|
21
|
-
let Ae = (
|
20
|
+
var te;
|
21
|
+
let Ae = (te = h.startTransition) != null ? te : function(e) {
|
22
22
|
e();
|
23
23
|
};
|
24
24
|
var Be = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Be || {}), Oe = ((e) => (e[e.ToggleDisclosure = 0] = "ToggleDisclosure", e[e.CloseDisclosure = 1] = "CloseDisclosure", e[e.SetButtonId = 2] = "SetButtonId", e[e.SetPanelId = 3] = "SetPanelId", e[e.LinkPanel = 4] = "LinkPanel", e[e.UnlinkPanel = 5] = "UnlinkPanel", e))(Oe || {});
|
@@ -26,43 +26,43 @@ let xe = { 0: (e) => ({ ...e, disclosureState: V(e.disclosureState, { 0: 1, 1: 0
|
|
26
26
|
return e.linkedPanel === !0 ? e : { ...e, linkedPanel: !0 };
|
27
27
|
}, 5(e) {
|
28
28
|
return e.linkedPanel === !1 ? e : { ...e, linkedPanel: !1 };
|
29
|
-
}, 2(e,
|
30
|
-
return e.buttonId ===
|
31
|
-
}, 3(e,
|
32
|
-
return e.panelId ===
|
29
|
+
}, 2(e, n) {
|
30
|
+
return e.buttonId === n.buttonId ? e : { ...e, buttonId: n.buttonId };
|
31
|
+
}, 3(e, n) {
|
32
|
+
return e.panelId === n.panelId ? e : { ...e, panelId: n.panelId };
|
33
33
|
} }, j = F(null);
|
34
34
|
j.displayName = "DisclosureContext";
|
35
35
|
function Q(e) {
|
36
|
-
let
|
37
|
-
if (
|
36
|
+
let n = H(j);
|
37
|
+
if (n === null) {
|
38
38
|
let c = new Error(`<${e} /> is missing a parent <Disclosure /> component.`);
|
39
39
|
throw Error.captureStackTrace && Error.captureStackTrace(c, Q), c;
|
40
40
|
}
|
41
|
-
return
|
41
|
+
return n;
|
42
42
|
}
|
43
43
|
let z = F(null);
|
44
44
|
z.displayName = "DisclosureAPIContext";
|
45
45
|
function se(e) {
|
46
|
-
let
|
47
|
-
if (
|
46
|
+
let n = H(z);
|
47
|
+
if (n === null) {
|
48
48
|
let c = new Error(`<${e} /> is missing a parent <Disclosure /> component.`);
|
49
49
|
throw Error.captureStackTrace && Error.captureStackTrace(c, se), c;
|
50
50
|
}
|
51
|
-
return
|
51
|
+
return n;
|
52
52
|
}
|
53
53
|
let G = F(null);
|
54
54
|
G.displayName = "DisclosurePanelContext";
|
55
55
|
function Me() {
|
56
56
|
return H(G);
|
57
57
|
}
|
58
|
-
function Fe(e,
|
59
|
-
return V(
|
58
|
+
function Fe(e, n) {
|
59
|
+
return V(n.type, xe, e, n);
|
60
60
|
}
|
61
61
|
let Le = U;
|
62
|
-
function Ue(e,
|
63
|
-
let { defaultOpen: c = !1, ...o } = e, l = B(null), p = K(
|
62
|
+
function Ue(e, n) {
|
63
|
+
let { defaultOpen: c = !1, ...o } = e, l = B(null), p = K(n, ke((a) => {
|
64
64
|
l.current = a;
|
65
|
-
}, e.as === void 0 || e.as === U)),
|
65
|
+
}, e.as === void 0 || e.as === U)), d = B(null), t = B(null), r = ue(Fe, { disclosureState: c ? 0 : 1, linkedPanel: !1, buttonRef: t, panelRef: d, buttonId: null, panelId: null }), [{ disclosureState: m, buttonId: s }, _] = r, i = O((a) => {
|
66
66
|
_({ type: 1 });
|
67
67
|
let v = ye(l);
|
68
68
|
if (!v || !s) return;
|
@@ -72,8 +72,8 @@ function Ue(e, t) {
|
|
72
72
|
return h.createElement(j.Provider, { value: r }, h.createElement(z.Provider, { value: y }, h.createElement(Ce, { value: i }, h.createElement(De, { value: V(m, { 0: M.Open, 1: M.Closed }) }, W({ ourProps: I, theirProps: o, slot: k, defaultTag: Le, name: "Disclosure" })))));
|
73
73
|
}
|
74
74
|
let He = "button";
|
75
|
-
function qe(e,
|
76
|
-
let c = oe(), { id: o = `headlessui-disclosure-button-${c}`, disabled: l = !1, autoFocus: p = !1, ...
|
75
|
+
function qe(e, n) {
|
76
|
+
let c = oe(), { id: o = `headlessui-disclosure-button-${c}`, disabled: l = !1, autoFocus: p = !1, ...d } = e, [t, r] = Q("Disclosure.Button"), m = Me(), s = m === null ? !1 : m === t.panelId, _ = B(null), i = K(_, n, s ? null : t.buttonRef), y = le();
|
77
77
|
re(() => {
|
78
78
|
if (!s) return r({ type: 2, buttonId: o }), () => {
|
79
79
|
r({ type: 2, buttonId: null });
|
@@ -82,11 +82,11 @@ function qe(e, t) {
|
|
82
82
|
let k = O((f) => {
|
83
83
|
var $;
|
84
84
|
if (s) {
|
85
|
-
if (
|
85
|
+
if (t.disclosureState === 1) return;
|
86
86
|
switch (f.key) {
|
87
87
|
case g.Space:
|
88
88
|
case g.Enter:
|
89
|
-
f.preventDefault(), f.stopPropagation(), r({ type: 0 }), ($ =
|
89
|
+
f.preventDefault(), f.stopPropagation(), r({ type: 0 }), ($ = t.buttonRef.current) == null || $.focus();
|
90
90
|
break;
|
91
91
|
}
|
92
92
|
} else switch (f.key) {
|
@@ -103,23 +103,23 @@ function qe(e, t) {
|
|
103
103
|
}
|
104
104
|
}), a = O((f) => {
|
105
105
|
var $;
|
106
|
-
Ne(f.currentTarget) || l || (s ? (r({ type: 0 }), ($ =
|
107
|
-
}), { isFocusVisible: v, focusProps: S } = ve({ autoFocus: p }), { isHovered: b, hoverProps: T } = he({ isDisabled: l }), { pressed: w, pressProps: D } = Ee({ disabled: l }), L = x(() => ({ open:
|
108
|
-
return W({ mergeRefs: y, ourProps: ie, theirProps:
|
106
|
+
Ne(f.currentTarget) || l || (s ? (r({ type: 0 }), ($ = t.buttonRef.current) == null || $.focus()) : r({ type: 0 }));
|
107
|
+
}), { isFocusVisible: v, focusProps: S } = ve({ autoFocus: p }), { isHovered: b, hoverProps: T } = he({ isDisabled: l }), { pressed: w, pressProps: D } = Ee({ disabled: l }), L = x(() => ({ open: t.disclosureState === 0, hover: b, active: w, disabled: l, focus: v, autofocus: p }), [t, b, w, v, l, p]), N = be(e, _), ie = s ? ne({ ref: i, type: N, disabled: l || void 0, autoFocus: p, onKeyDown: k, onClick: a }, S, T, D) : ne({ ref: i, id: o, type: N, "aria-expanded": t.disclosureState === 0, "aria-controls": t.linkedPanel ? t.panelId : void 0, disabled: l || void 0, autoFocus: p, onKeyDown: k, onKeyUp: I, onClick: a }, S, T, D);
|
108
|
+
return W({ mergeRefs: y, ourProps: ie, theirProps: d, slot: L, defaultTag: He, name: "Disclosure.Button" });
|
109
109
|
}
|
110
110
|
let Ke = "div", Ve = ee.RenderStrategy | ee.Static;
|
111
|
-
function We(e,
|
112
|
-
let c = oe(), { id: o = `headlessui-disclosure-panel-${c}`, transition: l = !1, ...p } = e, [
|
113
|
-
Ae(() =>
|
111
|
+
function We(e, n) {
|
112
|
+
let c = oe(), { id: o = `headlessui-disclosure-panel-${c}`, transition: l = !1, ...p } = e, [d, t] = Q("Disclosure.Panel"), { close: r } = se("Disclosure.Panel"), m = le(), s = K(n, d.panelRef, (a) => {
|
113
|
+
Ae(() => t({ type: a ? 4 : 5 }));
|
114
114
|
});
|
115
|
-
re(() => (
|
116
|
-
|
117
|
-
}), [o,
|
118
|
-
let _ = $e(), [i, y] = ge(l,
|
119
|
-
return h.createElement(we, null, h.createElement(G.Provider, { value:
|
115
|
+
re(() => (t({ type: 3, panelId: o }), () => {
|
116
|
+
t({ type: 3, panelId: null });
|
117
|
+
}), [o, t]);
|
118
|
+
let _ = $e(), [i, y] = ge(l, d.panelRef, _ !== null ? (_ & M.Open) === M.Open : d.disclosureState === 0), k = x(() => ({ open: d.disclosureState === 0, close: r }), [d.disclosureState, r]), I = { ref: s, id: o, ...Te(y) };
|
119
|
+
return h.createElement(we, null, h.createElement(G.Provider, { value: d.panelId }, W({ mergeRefs: m, ourProps: I, theirProps: p, slot: k, defaultTag: Ke, features: Ve, visible: i, name: "Disclosure.Panel" })));
|
120
120
|
}
|
121
121
|
let je = q(Ue), ae = q(qe), ce = q(We), Qe = Object.assign(je, { Button: ae, Panel: ce });
|
122
|
-
const ze = "_accordion_1p5o7_2", Ge = "_header_1p5o7_13", Xe = "_title_1p5o7_26", Je = "_icon_1p5o7_33", Ye = "_circle_1p5o7_43", Ze = "_square_1p5o7_50",
|
122
|
+
const ze = "_accordion_1p5o7_2", Ge = "_header_1p5o7_13", Xe = "_title_1p5o7_26", Je = "_icon_1p5o7_33", Ye = "_circle_1p5o7_43", Ze = "_square_1p5o7_50", en = "_panel_1p5o7_60", nn = "_open_1p5o7_67", tn = "_m_1p5o7_87", on = "_s_1p5o7_50", u = {
|
123
123
|
accordion: ze,
|
124
124
|
"is-link": "_is-link_1p5o7_9",
|
125
125
|
header: Ge,
|
@@ -129,22 +129,22 @@ const ze = "_accordion_1p5o7_2", Ge = "_header_1p5o7_13", Xe = "_title_1p5o7_26"
|
|
129
129
|
"icon-container": "_icon-container_1p5o7_36",
|
130
130
|
circle: Ye,
|
131
131
|
square: Ze,
|
132
|
-
panel:
|
133
|
-
open:
|
132
|
+
panel: en,
|
133
|
+
open: nn,
|
134
134
|
"link-open": "_link-open_1p5o7_83",
|
135
|
-
m:
|
136
|
-
s:
|
135
|
+
m: tn,
|
136
|
+
s: on,
|
137
137
|
"wrapper-button": "_wrapper-button_1p5o7_115"
|
138
|
-
},
|
138
|
+
}, kn = de(
|
139
139
|
({
|
140
140
|
title: e,
|
141
|
-
buttonType:
|
141
|
+
buttonType: n = C.BUTTON,
|
142
142
|
children: c,
|
143
143
|
size: o = A.M,
|
144
144
|
titleUppercase: l,
|
145
145
|
buttonStyle: p = me.CIRCLE,
|
146
|
-
iconType:
|
147
|
-
classNameTitle:
|
146
|
+
iconType: d = J.ARROW,
|
147
|
+
classNameTitle: t,
|
148
148
|
classNameContent: r,
|
149
149
|
classNameAccordion: m,
|
150
150
|
classNameIconButton: s,
|
@@ -152,13 +152,13 @@ const ze = "_accordion_1p5o7_2", Ge = "_header_1p5o7_13", Xe = "_title_1p5o7_26"
|
|
152
152
|
onlyOpenSubtitleNode: i,
|
153
153
|
classNameSubtitleContainer: y
|
154
154
|
}, k) => {
|
155
|
-
const [I, a] = pe(!1), v = _e(Ie.XS1), S =
|
156
|
-
[
|
155
|
+
const [I, a] = pe(!1), v = _e(Ie.XS1), S = n === "link", b = {
|
156
|
+
[u["is-link"]]: S
|
157
157
|
}, T = () => {
|
158
158
|
a(!I);
|
159
159
|
}, w = (D) => {
|
160
|
-
const L = () =>
|
161
|
-
switch (
|
160
|
+
const L = () => d === J.DROPDOWN ? o === A.S ? "DropdownArrowBottom16px" : "DropdownArrowDown24px" : o === A.S ? Z.S : Z.M, N = o === A.S ? Y.S : Y.M;
|
161
|
+
switch (n) {
|
162
162
|
case C.LINK:
|
163
163
|
return /* @__PURE__ */ P(
|
164
164
|
Pe,
|
@@ -168,7 +168,7 @@ const ze = "_accordion_1p5o7_2", Ge = "_header_1p5o7_13", Xe = "_title_1p5o7_26"
|
|
168
168
|
rightIcon: {
|
169
169
|
iconName: N,
|
170
170
|
className: E({
|
171
|
-
[
|
171
|
+
[u["link-open"]]: D
|
172
172
|
})
|
173
173
|
},
|
174
174
|
children: e
|
@@ -180,9 +180,9 @@ const ze = "_accordion_1p5o7_2", Ge = "_header_1p5o7_13", Xe = "_title_1p5o7_26"
|
|
180
180
|
"span",
|
181
181
|
{
|
182
182
|
className: E(
|
183
|
-
|
184
|
-
|
185
|
-
l &&
|
183
|
+
u.title,
|
184
|
+
t,
|
185
|
+
l && u["title-uppercase"]
|
186
186
|
),
|
187
187
|
children: e
|
188
188
|
}
|
@@ -191,9 +191,9 @@ const ze = "_accordion_1p5o7_2", Ge = "_header_1p5o7_13", Xe = "_title_1p5o7_26"
|
|
191
191
|
"div",
|
192
192
|
{
|
193
193
|
className: E(
|
194
|
-
|
195
|
-
D,
|
196
|
-
|
194
|
+
u["icon-container"],
|
195
|
+
D && u.open,
|
196
|
+
u[p],
|
197
197
|
s
|
198
198
|
),
|
199
199
|
"data-testid": "accordion-icon-container",
|
@@ -201,7 +201,7 @@ const ze = "_accordion_1p5o7_2", Ge = "_header_1p5o7_13", Xe = "_title_1p5o7_26"
|
|
201
201
|
Se,
|
202
202
|
{
|
203
203
|
iconName: L(),
|
204
|
-
className:
|
204
|
+
className: u.icon,
|
205
205
|
"data-testid": "accordion-icon"
|
206
206
|
}
|
207
207
|
)
|
@@ -217,27 +217,27 @@ const ze = "_accordion_1p5o7_2", Ge = "_header_1p5o7_13", Xe = "_title_1p5o7_26"
|
|
217
217
|
"div",
|
218
218
|
{
|
219
219
|
className: E(
|
220
|
-
|
221
|
-
|
220
|
+
u.accordion,
|
221
|
+
u[o],
|
222
222
|
b,
|
223
223
|
m
|
224
224
|
),
|
225
225
|
children: /* @__PURE__ */ R(Qe, { ref: k, children: [
|
226
|
-
/* @__PURE__ */ P("div", { className:
|
226
|
+
/* @__PURE__ */ P("div", { className: u["wrapper-button"], onClick: T, children: /* @__PURE__ */ P(
|
227
227
|
ae,
|
228
228
|
{
|
229
229
|
as: S ? U : C.BUTTON,
|
230
230
|
className: E({
|
231
|
-
[
|
231
|
+
[u.header]: !S
|
232
232
|
}),
|
233
|
-
children: w()
|
233
|
+
children: w(I)
|
234
234
|
}
|
235
235
|
) }),
|
236
236
|
I && /* @__PURE__ */ P(
|
237
237
|
ce,
|
238
238
|
{
|
239
239
|
className: E(
|
240
|
-
|
240
|
+
u.panel,
|
241
241
|
r,
|
242
242
|
b
|
243
243
|
),
|
@@ -255,5 +255,5 @@ const ze = "_accordion_1p5o7_2", Ge = "_header_1p5o7_13", Xe = "_title_1p5o7_26"
|
|
255
255
|
}
|
256
256
|
);
|
257
257
|
export {
|
258
|
-
|
258
|
+
kn as Accordion
|
259
259
|
};
|
@@ -3,7 +3,7 @@ import { c as I } from "../../index-DIxK0V-G.js";
|
|
3
3
|
import { memo as Q, forwardRef as W, useState as D, useEffect as T } from "react";
|
4
4
|
import { DatePickerModal as Z } from "./DatePickerModal.js";
|
5
5
|
import { MonthPickerModal as b } from "./MonthPickerModal.js";
|
6
|
-
import { c as r } from "../../styles.module-
|
6
|
+
import { c as r } from "../../styles.module-BQZZ6FB1.js";
|
7
7
|
import { formatDatePart as h } from "./utils.js";
|
8
8
|
import { YearPickerModal as C } from "./YearPickerModal.js";
|
9
9
|
import { useClickOutside as E } from "../../hooks/useClickOutside/useClickOutside.js";
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx as a, Fragment as q, jsxs as u } from "react/jsx-runtime";
|
2
2
|
import { useRef as G, useState as J, useEffect as K } from "react";
|
3
3
|
import { week as Q } from "./constants.js";
|
4
|
-
import { c as o } from "../../styles.module-
|
4
|
+
import { c as o } from "../../styles.module-BQZZ6FB1.js";
|
5
5
|
import { Icon as T } from "../../icons/Icon.js";
|
6
6
|
import { formating as i } from "../../utils/index.js";
|
7
7
|
import { Button as j } from "../Button/Button.js";
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx as o, Fragment as z, jsxs as u } from "react/jsx-runtime";
|
2
2
|
import { useRef as A, useState as F, useEffect as I } from "react";
|
3
3
|
import { months as R } from "./constants.js";
|
4
|
-
import { c as i } from "../../styles.module-
|
4
|
+
import { c as i } from "../../styles.module-BQZZ6FB1.js";
|
5
5
|
import { Icon as S } from "../../icons/Icon.js";
|
6
6
|
import { formating as c } from "../../utils/index.js";
|
7
7
|
import { Button as C } from "../Button/Button.js";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsx as r, Fragment as F, jsxs as B } from "react/jsx-runtime";
|
2
2
|
import { useRef as M, useState as R, useEffect as I } from "react";
|
3
|
-
import { c as n } from "../../styles.module-
|
3
|
+
import { c as n } from "../../styles.module-BQZZ6FB1.js";
|
4
4
|
import { formating as c } from "../../utils/index.js";
|
5
5
|
import { Button as C } from "../Button/Button.js";
|
6
6
|
function q({
|
@@ -1,23 +1,30 @@
|
|
1
1
|
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
2
2
|
import { useState as n, useEffect as _ } from "react";
|
3
3
|
import { Button as d } from "../Button/Button.js";
|
4
|
-
import '../../assets/ListPhotos.css';const
|
4
|
+
import '../../assets/ListPhotos.css';const i = {
|
5
5
|
"list-photos": "_list-photos_167sp_2",
|
6
6
|
"list-photos-item": "_list-photos-item_167sp_11",
|
7
7
|
"list-photos-image": "_list-photos-image_167sp_20",
|
8
8
|
"delete-button": "_delete-button_167sp_25"
|
9
9
|
};
|
10
|
-
function
|
11
|
-
const [l,
|
10
|
+
function L({ value: o, onChange: s }) {
|
11
|
+
const [l, c] = n(o);
|
12
12
|
_(() => {
|
13
|
-
|
14
|
-
}, [
|
13
|
+
c(o);
|
14
|
+
}, [o]);
|
15
15
|
const p = async (t) => {
|
16
|
-
const
|
17
|
-
m
|
16
|
+
const m = [...l.filter((r) => r.id !== t)];
|
17
|
+
c(m), s == null || s({ deleteId: t, list: m });
|
18
18
|
};
|
19
|
-
return /* @__PURE__ */ e("ul", { className:
|
20
|
-
/* @__PURE__ */ e(
|
19
|
+
return /* @__PURE__ */ e("ul", { className: i["list-photos"], children: l.map((t) => /* @__PURE__ */ a("li", { className: i["list-photos-item"], children: [
|
20
|
+
/* @__PURE__ */ e(
|
21
|
+
"img",
|
22
|
+
{
|
23
|
+
className: i["list-photos-image"],
|
24
|
+
src: t.url || t.file && URL.createObjectURL(t.file),
|
25
|
+
alt: ""
|
26
|
+
}
|
27
|
+
),
|
21
28
|
s && /* @__PURE__ */ e(
|
22
29
|
d,
|
23
30
|
{
|
@@ -25,12 +32,12 @@ function N({ value: i, onChange: s }) {
|
|
25
32
|
iconName: "Close12px",
|
26
33
|
size: "m-s",
|
27
34
|
variant: "secondary-gray",
|
28
|
-
className:
|
35
|
+
className: i["delete-button"],
|
29
36
|
onClick: () => p(t.id)
|
30
37
|
}
|
31
38
|
)
|
32
39
|
] }, t.id)) });
|
33
40
|
}
|
34
41
|
export {
|
35
|
-
|
42
|
+
L as ListPhotos
|
36
43
|
};
|
@@ -31,12 +31,17 @@ export type TUploaderFiles = {
|
|
31
31
|
*/
|
32
32
|
maxFiles: number;
|
33
33
|
/**
|
34
|
-
|
35
|
-
|
34
|
+
* Текст внутри кнопки загрузки файла
|
35
|
+
*/
|
36
36
|
buttonText?: string;
|
37
|
+
/**
|
38
|
+
* необязательное поле, имя формы загрузчика на случай, если на странице несколько форм
|
39
|
+
*/
|
40
|
+
name?: string;
|
37
41
|
};
|
38
42
|
export type TOnChangeFilesUpdate = {
|
39
43
|
type: string;
|
40
44
|
data: TFileItem[] | number;
|
45
|
+
name?: string;
|
41
46
|
};
|
42
47
|
export declare const UploaderFiles: import('react').ForwardRefExoticComponent<TUploaderFiles & import('react').RefAttributes<HTMLDivElement>>;
|
@@ -1,61 +1,70 @@
|
|
1
|
-
import { jsxs as
|
2
|
-
import { c as
|
3
|
-
import { forwardRef as
|
4
|
-
import { ListFiles as
|
5
|
-
import { Uploader as
|
6
|
-
import '../../assets/UploaderPhotos.css';const
|
1
|
+
import { jsxs as _, jsx as c } from "react/jsx-runtime";
|
2
|
+
import { c as h } from "../../index-DIxK0V-G.js";
|
3
|
+
import { forwardRef as D, useState as I, useEffect as R } from "react";
|
4
|
+
import { ListFiles as S } from "../ListFiles/ListFiles.js";
|
5
|
+
import { Uploader as T } from "../Uploader/Uploader.js";
|
6
|
+
import '../../assets/UploaderPhotos.css';const n = {
|
7
7
|
"upload-file-wrapper": "_upload-file-wrapper_1a115_2"
|
8
|
-
},
|
9
|
-
(
|
10
|
-
const {
|
11
|
-
|
8
|
+
}, g = D(
|
9
|
+
(u, x) => {
|
10
|
+
const {
|
11
|
+
filesType: y,
|
12
|
+
arrayName: F,
|
13
|
+
maxSize: v,
|
14
|
+
onChange: a,
|
15
|
+
value: t,
|
16
|
+
name: o,
|
17
|
+
maxFiles: d,
|
18
|
+
buttonText: w
|
19
|
+
} = u, [i, r] = I(t || []), p = i.length >= d;
|
20
|
+
R(() => {
|
12
21
|
t && r(t);
|
13
22
|
}, [t]);
|
14
|
-
const
|
15
|
-
const
|
23
|
+
const b = (s) => {
|
24
|
+
const N = [
|
16
25
|
...i,
|
17
26
|
...s.value.map((e) => {
|
18
|
-
var
|
27
|
+
var l, f, m;
|
19
28
|
return {
|
20
29
|
id: e.id,
|
21
30
|
url: "",
|
22
|
-
size: (
|
23
|
-
name: (
|
24
|
-
type: (
|
31
|
+
size: (l = e == null ? void 0 : e.file) == null ? void 0 : l.size,
|
32
|
+
name: (f = e == null ? void 0 : e.file) == null ? void 0 : f.name,
|
33
|
+
type: (m = e == null ? void 0 : e.file) == null ? void 0 : m.type
|
25
34
|
};
|
26
35
|
})
|
27
36
|
];
|
28
|
-
r(
|
29
|
-
},
|
30
|
-
r(s.list), s.deleteId && (a == null || a({ type: "delete", data: s.deleteId }));
|
37
|
+
r(N), a == null || a({ type: "add", data: s.value, name: o });
|
38
|
+
}, z = (s) => {
|
39
|
+
r(s.list), s.deleteId && (a == null || a({ type: "delete", data: s.deleteId, name: o }));
|
31
40
|
};
|
32
|
-
return /* @__PURE__ */
|
41
|
+
return /* @__PURE__ */ _(
|
33
42
|
"div",
|
34
43
|
{
|
35
|
-
className:
|
36
|
-
|
37
|
-
|
44
|
+
className: h(
|
45
|
+
n["upload-file-wrapper"],
|
46
|
+
p && n.disabled
|
38
47
|
),
|
39
48
|
children: [
|
40
|
-
/* @__PURE__ */
|
41
|
-
|
49
|
+
/* @__PURE__ */ c(
|
50
|
+
T,
|
42
51
|
{
|
43
|
-
filesType:
|
44
|
-
arrayName:
|
45
|
-
maxSize:
|
46
|
-
onChangeValue:
|
47
|
-
ref:
|
48
|
-
maxFiles:
|
49
|
-
isDisabled:
|
50
|
-
buttonText:
|
52
|
+
filesType: y,
|
53
|
+
arrayName: F,
|
54
|
+
maxSize: v,
|
55
|
+
onChangeValue: b,
|
56
|
+
ref: x,
|
57
|
+
maxFiles: d,
|
58
|
+
isDisabled: p,
|
59
|
+
buttonText: w
|
51
60
|
}
|
52
61
|
),
|
53
|
-
/* @__PURE__ */
|
62
|
+
/* @__PURE__ */ c(S, { value: i, onChange: z })
|
54
63
|
]
|
55
64
|
}
|
56
65
|
);
|
57
66
|
}
|
58
67
|
);
|
59
68
|
export {
|
60
|
-
|
69
|
+
g as UploaderFiles
|
61
70
|
};
|
@@ -35,9 +35,14 @@ export type TUploaderPhotos = {
|
|
35
35
|
*/
|
36
36
|
titleUploader?: string;
|
37
37
|
buttonText?: string;
|
38
|
+
/**
|
39
|
+
* необязательное поле, имя формы загрузчика на случай, если на странице несколько форм
|
40
|
+
*/
|
41
|
+
name?: string;
|
38
42
|
};
|
39
43
|
export type TOnChangePhotosUpdate = {
|
40
44
|
type: string;
|
41
45
|
data: TFileItem[] | number;
|
46
|
+
name?: string;
|
42
47
|
};
|
43
48
|
export declare const UploaderPhotos: import('react').ForwardRefExoticComponent<TUploaderPhotos & import('react').RefAttributes<HTMLDivElement>>;
|
@@ -1,65 +1,66 @@
|
|
1
|
-
import { jsxs as
|
2
|
-
import { c as
|
3
|
-
import { forwardRef as
|
4
|
-
import { ListPhotos as
|
5
|
-
import { Uploader as
|
6
|
-
import '../../assets/UploaderPhotos.css';const
|
1
|
+
import { jsxs as y, jsx as p } from "react/jsx-runtime";
|
2
|
+
import { c as P } from "../../index-DIxK0V-G.js";
|
3
|
+
import { forwardRef as R, useState as L, useEffect as N } from "react";
|
4
|
+
import { ListPhotos as _ } from "../ListPhotos/ListPhotos.js";
|
5
|
+
import { Uploader as D } from "../Uploader/Uploader.js";
|
6
|
+
import '../../assets/UploaderPhotos.css';const c = {
|
7
7
|
"upload-file-wrapper": "_upload-file-wrapper_1a115_2"
|
8
|
-
},
|
9
|
-
(
|
8
|
+
}, j = R(
|
9
|
+
(m, f) => {
|
10
10
|
const {
|
11
|
-
filesType:
|
12
|
-
arrayName:
|
13
|
-
maxSize:
|
11
|
+
filesType: n,
|
12
|
+
arrayName: u,
|
13
|
+
maxSize: h,
|
14
14
|
onChange: e,
|
15
15
|
value: a,
|
16
16
|
maxFiles: l,
|
17
|
-
titleUploader:
|
18
|
-
|
19
|
-
|
20
|
-
L(
|
17
|
+
titleUploader: x,
|
18
|
+
name: r,
|
19
|
+
buttonText: v = "Выберите файлы"
|
20
|
+
} = m, [o, s] = L(a || []), i = o.length >= l;
|
21
|
+
N(() => {
|
21
22
|
a && s(a);
|
22
23
|
}, [a]);
|
23
|
-
const
|
24
|
-
const
|
24
|
+
const w = (t) => {
|
25
|
+
const b = [
|
25
26
|
...o,
|
26
|
-
...t.value.map((
|
27
|
-
url: URL.createObjectURL(
|
28
|
-
id:
|
27
|
+
...t.value.map((d) => ({
|
28
|
+
url: URL.createObjectURL(d.file),
|
29
|
+
id: d.id
|
29
30
|
}))
|
30
31
|
];
|
31
|
-
s(
|
32
|
-
},
|
33
|
-
s(t.list), t.deleteId && (e == null || e({ type: "delete", data: t.deleteId }));
|
32
|
+
s(b), e == null || e({ type: "add", data: t.value, name: r });
|
33
|
+
}, U = (t) => {
|
34
|
+
s(t.list), t.deleteId && (e == null || e({ type: "delete", data: t.deleteId, name: r }));
|
34
35
|
};
|
35
|
-
return /* @__PURE__ */
|
36
|
+
return /* @__PURE__ */ y(
|
36
37
|
"div",
|
37
38
|
{
|
38
|
-
className:
|
39
|
-
|
40
|
-
|
39
|
+
className: P(
|
40
|
+
c["upload-file-wrapper"],
|
41
|
+
i && c.disabled
|
41
42
|
),
|
42
43
|
children: [
|
43
|
-
/* @__PURE__ */
|
44
|
-
|
44
|
+
/* @__PURE__ */ p(
|
45
|
+
D,
|
45
46
|
{
|
46
|
-
filesType:
|
47
|
-
arrayName:
|
48
|
-
maxSize:
|
49
|
-
onChangeValue:
|
47
|
+
filesType: n,
|
48
|
+
arrayName: u,
|
49
|
+
maxSize: h,
|
50
|
+
onChangeValue: w,
|
50
51
|
ref: f,
|
51
52
|
maxFiles: l,
|
52
|
-
isDisabled:
|
53
|
-
titleUploader:
|
54
|
-
buttonText:
|
53
|
+
isDisabled: i,
|
54
|
+
titleUploader: x,
|
55
|
+
buttonText: v
|
55
56
|
}
|
56
57
|
),
|
57
|
-
!!o.length && /* @__PURE__ */
|
58
|
+
!!o.length && /* @__PURE__ */ p(_, { value: o, onChange: U })
|
58
59
|
]
|
59
60
|
}
|
60
61
|
);
|
61
62
|
}
|
62
63
|
);
|
63
64
|
export {
|
64
|
-
|
65
|
+
j as UploaderPhotos
|
65
66
|
};
|
@@ -35,6 +35,8 @@ export { Pagination } from './Pagination';
|
|
35
35
|
export { ToastProvider, useToast, EToastPosition, EToastVariant } from './Toasts';
|
36
36
|
export { UploaderPhotos } from './UploaderPhotos';
|
37
37
|
export type { TUploaderPhotos, TOnChangePhotosUpdate } from './UploaderPhotos';
|
38
|
+
export { UploaderFiles } from './UploaderFiles';
|
39
|
+
export type { TUploaderFiles, TOnChangeFilesUpdate } from './UploaderFiles';
|
38
40
|
export { Uploader } from './Uploader';
|
39
41
|
export type { TUploadValue, TFileItem } from './Uploader';
|
40
42
|
export { ELinkSize, ELinkVariant, Link } from './AnchorLink';
|
package/dist/components/index.js
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
import { Button as e } from "./Button/Button.js";
|
2
|
-
import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as m, EButtonVariantDefault as i, EButtonVariantOutline as f, EButtonVariantRound as
|
2
|
+
import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as m, EButtonVariantDefault as i, EButtonVariantOutline as f, EButtonVariantRound as x } from "./Button/constants.js";
|
3
3
|
import { I as E } from "../Input-DGr0q5AJ.js";
|
4
|
-
import { EInputSize as u, EInputStatus as s, EInputVariant as
|
4
|
+
import { EInputSize as u, EInputStatus as s, EInputVariant as l } from "./Input/constants.js";
|
5
5
|
import { TextArea as c } from "./TextArea/TextArea.js";
|
6
6
|
import { InputPassword as I } from "./InputPassword/InputPassword.js";
|
7
7
|
import { InputPhoneNumber as k } from "./InputPhoneNumber/InputPhoneNumber.js";
|
8
8
|
import { getMaskedInputPhoneValue as V, getUnmaskedInputValue as z } from "./InputPhoneNumber/utils.js";
|
9
9
|
import { OtpInput as P } from "./OtpInput/OtpInput.js";
|
10
|
-
import { RadioGroup as
|
11
|
-
import { DatePicker as
|
10
|
+
import { RadioGroup as U } from "./RadioGroup/RadioGroup.js";
|
11
|
+
import { DatePicker as C } from "./DatePicker/DatePicker.js";
|
12
12
|
import { MergedButton as b } from "./MergedButton/MergedButton.js";
|
13
13
|
import { EMergedButtonVariantRound as v } from "./MergedButton/constants.js";
|
14
14
|
import { AppImage as G } from "./Image/Image.js";
|
15
15
|
import { Loader as y } from "./Loader/Loader.js";
|
16
16
|
import { Slider as Z } from "./Slider/index.js";
|
17
|
-
import { Drawer as
|
17
|
+
import { Drawer as O } from "./Drawer/Drawer.js";
|
18
18
|
import { EDrawerPosition as q } from "./Drawer/constants.js";
|
19
19
|
import { Steps as J } from "./Steps/Steps.js";
|
20
20
|
import { EStepColor as Q, EStepsSize as W } from "./Steps/constants.js";
|
@@ -24,7 +24,7 @@ import { SelectSearch as ro } from "./SelectSearch/SelectSearch.js";
|
|
24
24
|
import { ESelectSearchSize as to } from "./SelectSearch/constants.js";
|
25
25
|
import { CheckboxMimir as ao } from "./CheckboxMimir/CheckboxMimir.js";
|
26
26
|
import { Tag as io } from "./Tag/Tag.js";
|
27
|
-
import { ETagSize as
|
27
|
+
import { ETagSize as xo, ETagType as no } from "./Tag/constants.js";
|
28
28
|
import { Timer as So } from "./Timer/Timer.js";
|
29
29
|
import { Accordion as so } from "./Accordion/Accordion.js";
|
30
30
|
import { EAccordionSize as co } from "./Accordion/constants.js";
|
@@ -33,105 +33,107 @@ import { TabTrail as ko } from "./TabTrail/TabTrail.js";
|
|
33
33
|
import { ETabTrailSize as Vo } from "./TabTrail/constants.js";
|
34
34
|
import { Pagination as ho } from "./Pagination/Pagination.js";
|
35
35
|
import { ToastProvider as Ao } from "./Toasts/ToastsProvider.js";
|
36
|
-
import { useToast as
|
37
|
-
import { EToastPosition as
|
36
|
+
import { useToast as wo } from "./Toasts/hooks.js";
|
37
|
+
import { EToastPosition as Ro, EToastVariant as bo } from "./Toasts/constants.js";
|
38
38
|
import { UploaderPhotos as vo } from "./UploaderPhotos/UploaderPhotos.js";
|
39
|
-
import {
|
40
|
-
import {
|
41
|
-
import {
|
42
|
-
import {
|
43
|
-
import {
|
44
|
-
import {
|
45
|
-
import {
|
46
|
-
import {
|
47
|
-
import {
|
48
|
-
import {
|
49
|
-
import {
|
50
|
-
import {
|
51
|
-
import {
|
52
|
-
import {
|
53
|
-
import {
|
54
|
-
import {
|
55
|
-
import {
|
56
|
-
import {
|
57
|
-
import {
|
58
|
-
import {
|
59
|
-
import {
|
60
|
-
import {
|
39
|
+
import { UploaderFiles as Go } from "./UploaderFiles/UploaderFiles.js";
|
40
|
+
import { Uploader as yo } from "./Uploader/Uploader.js";
|
41
|
+
import { Link as Zo } from "./AnchorLink/Link.js";
|
42
|
+
import { ELinkSize as Oo, ELinkVariant as jo } from "./AnchorLink/constants.js";
|
43
|
+
import { NotificationBadge as Ho } from "./NotificationBadge/NotificationBadge.js";
|
44
|
+
import { ENotificationBadgeSize as Ko } from "./NotificationBadge/constants.js";
|
45
|
+
import { Chip as Wo } from "./Chip/Chip.js";
|
46
|
+
import { EChipSize as Yo, EChipVariant as _o } from "./Chip/constants.js";
|
47
|
+
import { UniversalUploader as or } from "./UniversalUploader/UniversalUploader.js";
|
48
|
+
import { EUploaderType as er } from "./UniversalUploader/constants.js";
|
49
|
+
import { InputRangeSlider as pr } from "./InputRangeSlider/InputRangeSlider.js";
|
50
|
+
import { EInputRangeSliderBorderState as mr, EInputRangeSliderPositions as ir } from "./InputRangeSlider/constants.js";
|
51
|
+
import { GosZnak as xr } from "./GosZnak/GosZnak.js";
|
52
|
+
import { EGosZnakSize as Er, EGosZnakType as Sr } from "./GosZnak/constants.js";
|
53
|
+
import { Switcher as sr } from "./Switcher/Switcher.js";
|
54
|
+
import { ELabelPositions as dr } from "./Switcher/constants.js";
|
55
|
+
import { TwinSwitcher as Tr } from "./TwinSwitcher/TwinSwitcher.js";
|
56
|
+
import { SkeletonBrick as gr } from "./Skeleton/SkeletonBrick/SkeletonBrick.js";
|
57
|
+
import { SkeletonText as Br } from "./Skeleton/SkeletonText/SkeletonText.js";
|
58
|
+
import { SkeletonCircle as zr } from "./Skeleton/SkeletonCircle/SkeletonCircle.js";
|
59
|
+
import { ESkeletonVariant as Pr } from "./Skeleton/constants.js";
|
60
|
+
import { Avatar as Ur } from "./Avatar/Avatar.js";
|
61
|
+
import { EAvatarSize as Cr } from "./Avatar/constants.js";
|
61
62
|
export {
|
62
63
|
so as Accordion,
|
63
64
|
Io as AccordionItem,
|
64
|
-
|
65
|
+
Ur as Avatar,
|
65
66
|
e as Button,
|
66
67
|
ao as CheckboxMimir,
|
67
|
-
|
68
|
-
|
69
|
-
|
68
|
+
Wo as Chip,
|
69
|
+
C as DatePicker,
|
70
|
+
O as Drawer,
|
70
71
|
co as EAccordionSize,
|
71
|
-
|
72
|
+
Cr as EAvatarSize,
|
72
73
|
p as EButtonForm,
|
73
74
|
a as EButtonSize,
|
74
75
|
m as EButtonVariantBorderless,
|
75
76
|
i as EButtonVariantDefault,
|
76
77
|
f as EButtonVariantOutline,
|
77
|
-
|
78
|
-
|
79
|
-
|
78
|
+
x as EButtonVariantRound,
|
79
|
+
Yo as EChipSize,
|
80
|
+
_o as EChipVariant,
|
80
81
|
q as EDrawerPosition,
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
82
|
+
Er as EGosZnakSize,
|
83
|
+
Sr as EGosZnakType,
|
84
|
+
mr as EInputRangeSliderBorderState,
|
85
|
+
ir as EInputRangeSliderPositions,
|
85
86
|
u as EInputSize,
|
86
87
|
s as EInputStatus,
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
88
|
+
l as EInputVariant,
|
89
|
+
dr as ELabelPositions,
|
90
|
+
Oo as ELinkSize,
|
91
|
+
jo as ELinkVariant,
|
91
92
|
v as EMergedButtonVariantRound,
|
92
|
-
|
93
|
+
Ko as ENotificationBadgeSize,
|
93
94
|
to as ESelectSearchSize,
|
94
|
-
|
95
|
+
Pr as ESkeletonVariant,
|
95
96
|
Q as EStepColor,
|
96
97
|
W as EStepsSize,
|
97
98
|
Vo as ETabTrailSize,
|
98
|
-
|
99
|
-
|
100
|
-
|
99
|
+
xo as ETagSize,
|
100
|
+
no as ETagType,
|
101
|
+
Ro as EToastPosition,
|
101
102
|
bo as EToastVariant,
|
102
|
-
|
103
|
+
er as EUploaderType,
|
103
104
|
$ as EVoteSize,
|
104
|
-
|
105
|
+
xr as GosZnak,
|
105
106
|
G as Image,
|
106
107
|
E as Input,
|
107
108
|
I as InputPassword,
|
108
109
|
k as InputPhoneNumber,
|
109
|
-
|
110
|
-
|
110
|
+
pr as InputRangeSlider,
|
111
|
+
Zo as Link,
|
111
112
|
y as Loader,
|
112
113
|
b as MergedButton,
|
113
|
-
|
114
|
+
Ho as NotificationBadge,
|
114
115
|
P as OtpInput,
|
115
116
|
ho as Pagination,
|
116
|
-
|
117
|
+
U as RadioGroup,
|
117
118
|
ro as SelectSearch,
|
118
|
-
|
119
|
-
|
120
|
-
|
119
|
+
gr as SkeletonBrick,
|
120
|
+
zr as SkeletonCircle,
|
121
|
+
Br as SkeletonText,
|
121
122
|
Z as Slider,
|
122
123
|
J as Steps,
|
123
|
-
|
124
|
+
sr as Switcher,
|
124
125
|
ko as TabTrail,
|
125
126
|
io as Tag,
|
126
127
|
c as TextArea,
|
127
128
|
So as Timer,
|
128
129
|
Ao as ToastProvider,
|
129
|
-
|
130
|
-
|
131
|
-
|
130
|
+
Tr as TwinSwitcher,
|
131
|
+
or as UniversalUploader,
|
132
|
+
yo as Uploader,
|
133
|
+
Go as UploaderFiles,
|
132
134
|
vo as UploaderPhotos,
|
133
135
|
Y as Vote,
|
134
136
|
V as getMaskedInputPhoneValue,
|
135
137
|
z as getUnmaskedInputValue,
|
136
|
-
|
138
|
+
wo as useToast
|
137
139
|
};
|
package/dist/index.js
CHANGED
@@ -10,8 +10,8 @@ import { OtpInput as P } from "./components/OtpInput/OtpInput.js";
|
|
10
10
|
import { RadioGroup as y } from "./components/RadioGroup/RadioGroup.js";
|
11
11
|
import { DatePicker as R } from "./components/DatePicker/DatePicker.js";
|
12
12
|
import { MergedButton as A } from "./components/MergedButton/MergedButton.js";
|
13
|
-
import { EMergedButtonVariantRound as
|
14
|
-
import { AppImage as
|
13
|
+
import { EMergedButtonVariantRound as v } from "./components/MergedButton/constants.js";
|
14
|
+
import { AppImage as L } from "./components/Image/Image.js";
|
15
15
|
import { Loader as G } from "./components/Loader/Loader.js";
|
16
16
|
import { Slider as O } from "./components/Slider/index.js";
|
17
17
|
import { Drawer as Z } from "./components/Drawer/Drawer.js";
|
@@ -35,76 +35,77 @@ import { Pagination as ho } from "./components/Pagination/Pagination.js";
|
|
35
35
|
import { ToastProvider as Mo } from "./components/Toasts/ToastsProvider.js";
|
36
36
|
import { useToast as Co } from "./components/Toasts/hooks.js";
|
37
37
|
import { EToastPosition as bo, EToastVariant as Ao } from "./components/Toasts/constants.js";
|
38
|
-
import { UploaderPhotos as
|
39
|
-
import {
|
40
|
-
import {
|
41
|
-
import {
|
42
|
-
import {
|
43
|
-
import {
|
44
|
-
import {
|
45
|
-
import {
|
46
|
-
import {
|
47
|
-
import {
|
48
|
-
import {
|
49
|
-
import {
|
50
|
-
import {
|
51
|
-
import {
|
52
|
-
import {
|
53
|
-
import {
|
54
|
-
import {
|
55
|
-
import {
|
56
|
-
import {
|
57
|
-
import {
|
58
|
-
import {
|
59
|
-
import {
|
60
|
-
import {
|
61
|
-
import {
|
62
|
-
import {
|
63
|
-
import {
|
64
|
-
import {
|
65
|
-
import {
|
66
|
-
import {
|
67
|
-
import {
|
68
|
-
import {
|
69
|
-
import {
|
70
|
-
import {
|
71
|
-
import {
|
38
|
+
import { UploaderPhotos as vo } from "./components/UploaderPhotos/UploaderPhotos.js";
|
39
|
+
import { UploaderFiles as Lo } from "./components/UploaderFiles/UploaderFiles.js";
|
40
|
+
import { Uploader as Go } from "./components/Uploader/Uploader.js";
|
41
|
+
import { Link as Oo } from "./components/AnchorLink/Link.js";
|
42
|
+
import { ELinkSize as Zo, ELinkVariant as Fo } from "./components/AnchorLink/constants.js";
|
43
|
+
import { NotificationBadge as qo } from "./components/NotificationBadge/NotificationBadge.js";
|
44
|
+
import { ENotificationBadgeSize as Jo } from "./components/NotificationBadge/constants.js";
|
45
|
+
import { Chip as Wo } from "./components/Chip/Chip.js";
|
46
|
+
import { EChipSize as Yo, EChipVariant as _o } from "./components/Chip/constants.js";
|
47
|
+
import { UniversalUploader as or } from "./components/UniversalUploader/UniversalUploader.js";
|
48
|
+
import { EUploaderType as er } from "./components/UniversalUploader/constants.js";
|
49
|
+
import { InputRangeSlider as pr } from "./components/InputRangeSlider/InputRangeSlider.js";
|
50
|
+
import { EInputRangeSliderBorderState as mr, EInputRangeSliderPositions as fr } from "./components/InputRangeSlider/constants.js";
|
51
|
+
import { GosZnak as xr } from "./components/GosZnak/GosZnak.js";
|
52
|
+
import { EGosZnakSize as ur, EGosZnakType as sr } from "./components/GosZnak/constants.js";
|
53
|
+
import { Switcher as Sr } from "./components/Switcher/Switcher.js";
|
54
|
+
import { ELabelPositions as lr } from "./components/Switcher/constants.js";
|
55
|
+
import { TwinSwitcher as Tr } from "./components/TwinSwitcher/TwinSwitcher.js";
|
56
|
+
import { SkeletonBrick as gr } from "./components/Skeleton/SkeletonBrick/SkeletonBrick.js";
|
57
|
+
import { SkeletonText as Br } from "./components/Skeleton/SkeletonText/SkeletonText.js";
|
58
|
+
import { SkeletonCircle as Vr } from "./components/Skeleton/SkeletonCircle/SkeletonCircle.js";
|
59
|
+
import { ESkeletonVariant as Pr } from "./components/Skeleton/constants.js";
|
60
|
+
import { Avatar as yr } from "./components/Avatar/Avatar.js";
|
61
|
+
import { EAvatarSize as Rr } from "./components/Avatar/constants.js";
|
62
|
+
import { useMediaQuery as Ar } from "./hooks/useMediaQuery/useMediaQuery.js";
|
63
|
+
import { EMediaQuery as vr, EMinMediaQuery as wr } from "./hooks/useMediaQuery/constants.js";
|
64
|
+
import { useLockBodyScroll as Dr } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
|
65
|
+
import { useInterval as Nr } from "./hooks/useInterval/useInterval.js";
|
66
|
+
import { useTimer as Qr } from "./hooks/useTimer/index.js";
|
67
|
+
import { useCopyToClipboard as Fr } from "./hooks/useCopyToClipboard/useCopyToClipboard.js";
|
68
|
+
import { useMergeRefs as qr } from "./hooks/useMergeRefs/useMergeRefs.js";
|
69
|
+
import { useResizeObserver as Jr } from "./hooks/useResizeObserver/useResizeObserver.js";
|
70
|
+
import { Icon as Wr } from "./icons/Icon.js";
|
71
|
+
import { formating as Yr } from "./utils/index.js";
|
72
|
+
import { parseDate as $r } from "./utils/formating/Date.js";
|
72
73
|
import './assets/index.css';export {
|
73
74
|
So as Accordion,
|
74
75
|
Io as AccordionItem,
|
75
|
-
|
76
|
+
yr as Avatar,
|
76
77
|
e as Button,
|
77
78
|
ao as CheckboxMimir,
|
78
|
-
|
79
|
+
Wo as Chip,
|
79
80
|
R as DatePicker,
|
80
81
|
Z as Drawer,
|
81
82
|
co as EAccordionSize,
|
82
|
-
|
83
|
+
Rr as EAvatarSize,
|
83
84
|
p as EButtonForm,
|
84
85
|
a as EButtonSize,
|
85
86
|
m as EButtonVariantBorderless,
|
86
87
|
f as EButtonVariantDefault,
|
87
88
|
i as EButtonVariantOutline,
|
88
89
|
x as EButtonVariantRound,
|
89
|
-
|
90
|
-
|
90
|
+
Yo as EChipSize,
|
91
|
+
_o as EChipVariant,
|
91
92
|
j as EDrawerPosition,
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
93
|
+
ur as EGosZnakSize,
|
94
|
+
sr as EGosZnakType,
|
95
|
+
mr as EInputRangeSliderBorderState,
|
96
|
+
fr as EInputRangeSliderPositions,
|
96
97
|
E as EInputSize,
|
97
98
|
S as EInputStatus,
|
98
99
|
d as EInputVariant,
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
100
|
+
lr as ELabelPositions,
|
101
|
+
Zo as ELinkSize,
|
102
|
+
Fo as ELinkVariant,
|
103
|
+
vr as EMediaQuery,
|
104
|
+
v as EMergedButtonVariantRound,
|
105
|
+
wr as EMinMediaQuery,
|
106
|
+
Jo as ENotificationBadgeSize,
|
106
107
|
to as ESelectSearchSize,
|
107
|
-
|
108
|
+
Pr as ESkeletonVariant,
|
108
109
|
K as EStepColor,
|
109
110
|
W as EStepsSize,
|
110
111
|
zo as ETabTrailSize,
|
@@ -112,49 +113,50 @@ import './assets/index.css';export {
|
|
112
113
|
no as ETagType,
|
113
114
|
bo as EToastPosition,
|
114
115
|
Ao as EToastVariant,
|
115
|
-
|
116
|
+
er as EUploaderType,
|
116
117
|
$ as EVoteSize,
|
117
|
-
|
118
|
-
|
119
|
-
|
118
|
+
xr as GosZnak,
|
119
|
+
Wr as Icon,
|
120
|
+
L as Image,
|
120
121
|
u as Input,
|
121
122
|
I as InputPassword,
|
122
123
|
k as InputPhoneNumber,
|
123
|
-
|
124
|
-
|
124
|
+
pr as InputRangeSlider,
|
125
|
+
Oo as Link,
|
125
126
|
G as Loader,
|
126
127
|
A as MergedButton,
|
127
|
-
|
128
|
+
qo as NotificationBadge,
|
128
129
|
P as OtpInput,
|
129
130
|
ho as Pagination,
|
130
131
|
y as RadioGroup,
|
131
132
|
ro as SelectSearch,
|
132
|
-
|
133
|
-
|
134
|
-
|
133
|
+
gr as SkeletonBrick,
|
134
|
+
Vr as SkeletonCircle,
|
135
|
+
Br as SkeletonText,
|
135
136
|
O as Slider,
|
136
137
|
H as Steps,
|
137
|
-
|
138
|
+
Sr as Switcher,
|
138
139
|
ko as TabTrail,
|
139
140
|
fo as Tag,
|
140
141
|
c as TextArea,
|
141
142
|
so as Timer,
|
142
143
|
Mo as ToastProvider,
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
144
|
+
Tr as TwinSwitcher,
|
145
|
+
or as UniversalUploader,
|
146
|
+
Go as Uploader,
|
147
|
+
Lo as UploaderFiles,
|
148
|
+
vo as UploaderPhotos,
|
147
149
|
Y as Vote,
|
148
|
-
|
150
|
+
Yr as formating,
|
149
151
|
z as getMaskedInputPhoneValue,
|
150
152
|
V as getUnmaskedInputValue,
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
153
|
+
$r as parseDate,
|
154
|
+
Fr as useCopyToClipboard,
|
155
|
+
Nr as useInterval,
|
156
|
+
Dr as useLockBodyScroll,
|
157
|
+
Ar as useMediaQuery,
|
158
|
+
qr as useMergeRefs,
|
159
|
+
Jr as useResizeObserver,
|
160
|
+
Qr as useTimer,
|
159
161
|
Co as useToast
|
160
162
|
};
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import './assets/styles.css';const o = "_input_1uohj_2", _ = "_inputBorderControl_1uohj_14", t = "_editable_1uohj_27", r = "_wrapper_1uohj_50", n = "_active_1uohj_56", e = "_button_1uohj_44", u = "_h_1uohj_107", p = "_b_1uohj_44", a = "_d_1uohj_10", c = "_m_1uohj_128", h = "_a_1uohj_56", j = "_prev_1uohj_130", i = "_orange_1uohj_146", d = "_current_1uohj_171", s = "_monthGrid_1uohj_176", l = {
|
2
|
+
input: o,
|
3
|
+
"input-wrapper": "_input-wrapper_1uohj_6",
|
4
|
+
"date-wrapper": "_date-wrapper_1uohj_10",
|
5
|
+
inputBorderControl: _,
|
6
|
+
editable: t,
|
7
|
+
"button-wrapper": "_button-wrapper_1uohj_44",
|
8
|
+
wrapper: r,
|
9
|
+
active: n,
|
10
|
+
button: e,
|
11
|
+
"field-overlow": "_field-overlow_1uohj_78",
|
12
|
+
"calendar-block": "_calendar-block_1uohj_84",
|
13
|
+
h: u,
|
14
|
+
b: p,
|
15
|
+
d: a,
|
16
|
+
m: c,
|
17
|
+
a: h,
|
18
|
+
prev: j,
|
19
|
+
orange: i,
|
20
|
+
current: d,
|
21
|
+
monthGrid: s
|
22
|
+
};
|
23
|
+
export {
|
24
|
+
l as c
|
25
|
+
};
|
package/package.json
CHANGED
@@ -1,25 +0,0 @@
|
|
1
|
-
import './assets/styles.css';const t = "_input_ot5z6_2", o = "_inputBorderControl_ot5z6_14", _ = "_editable_ot5z6_27", r = "_wrapper_ot5z6_50", n = "_active_ot5z6_56", e = "_button_ot5z6_44", p = "_h_ot5z6_107", a = "_b_ot5z6_44", c = "_d_ot5z6_10", z = "_m_ot5z6_128", i = "_a_ot5z6_56", d = "_prev_ot5z6_130", s = "_orange_ot5z6_146", u = "_current_ot5z6_171", l = "_monthGrid_ot5z6_176", b = {
|
2
|
-
input: t,
|
3
|
-
"input-wrapper": "_input-wrapper_ot5z6_6",
|
4
|
-
"date-wrapper": "_date-wrapper_ot5z6_10",
|
5
|
-
inputBorderControl: o,
|
6
|
-
editable: _,
|
7
|
-
"button-wrapper": "_button-wrapper_ot5z6_44",
|
8
|
-
wrapper: r,
|
9
|
-
active: n,
|
10
|
-
button: e,
|
11
|
-
"field-overlow": "_field-overlow_ot5z6_78",
|
12
|
-
"calendar-block": "_calendar-block_ot5z6_84",
|
13
|
-
h: p,
|
14
|
-
b: a,
|
15
|
-
d: c,
|
16
|
-
m: z,
|
17
|
-
a: i,
|
18
|
-
prev: d,
|
19
|
-
orange: s,
|
20
|
-
current: u,
|
21
|
-
monthGrid: l
|
22
|
-
};
|
23
|
-
export {
|
24
|
-
b as c
|
25
|
-
};
|