@snmt-react-ui/async-select 1.8.19 → 1.8.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/async-select.js +2 -2
- package/dist/index.css +1 -1
- package/package.json +3 -3
package/dist/async-select.js
CHANGED
@@ -2890,7 +2890,7 @@ const h2 = ({
|
|
2890
2890
|
i && i !== "inherit" && (v += ` snmt-typography-align-${i}`), a && (v += " collapsed"), n && (v += " collapsed");
|
2891
2891
|
const V = {
|
2892
2892
|
className: v,
|
2893
|
-
style: { color: o, whiteSpace: n ? "nowrap" : g },
|
2893
|
+
style: { color: o, whiteSpace: n ? "nowrap" : g, display: n ? "block" : "" },
|
2894
2894
|
onClick: r,
|
2895
2895
|
ref: d
|
2896
2896
|
}, I = N ? /* @__PURE__ */ t(f5, { level: _5[e], ...V, children: l }) : /* @__PURE__ */ t(M5, { ...V, children: l });
|
@@ -5611,7 +5611,7 @@ const A1 = ({
|
|
5611
5611
|
i && i !== "inherit" && (v += ` snmt-typography-align-${i}`), a && (v += " collapsed"), n && (v += " collapsed");
|
5612
5612
|
const V = {
|
5613
5613
|
className: v,
|
5614
|
-
style: { color: o, whiteSpace: n ? "nowrap" : g },
|
5614
|
+
style: { color: o, whiteSpace: n ? "nowrap" : g, display: n ? "block" : "" },
|
5615
5615
|
onClick: r,
|
5616
5616
|
ref: d
|
5617
5617
|
}, I = N ? /* @__PURE__ */ t(O3, { level: F3[e], ...V, children: l }) : /* @__PURE__ */ t(Y3, { ...V, children: l });
|
package/dist/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap";.snmt-flex.inherit{flex-wrap:inherit}.snmt-avatar.ant-avatar{border:0;background-color:var(--grey-dark-5);color:var(--grey-light-0);font-family:Montserrat,sans-serif}.snmt-avatar.image.ant-avatar{background-color:transparent}.snmt-checkbox .ant-checkbox-indeterminate .ant-checkbox-inner:after{height:2px;background-color:var(--grey-light-0)}.snmt-checkbox .ant-checkbox+span{padding-inline-start:12px;padding-inline-end:unset;font-family:Montserrat,sans-serif;font-size:14px;font-weight:500;line-height:20px;letter-spacing:0;text-align:left}:not(.ant-checkbox-indeterminate).ant-checkbox-checked .ant-checkbox-inner:after{transform:rotate(45deg) scale(1) translate(-40%,-60%)}.ant-checkbox-inner{width:20px!important;height:20px!important}.ant-checkbox-checked .ant-checkbox-inner,.snmt-checkbox-light.ant-checkbox-checked .ant-checkbox-inner:hover{background-color:var(--blue-primary);border-color:var(--blue-primary)}.snmt-checkbox-light:not(.ant-checkbox-checked):hover .ant-checkbox-inner{border:1px solid var(--grey-dark-1)}.snmt-checkbox-light+span{color:var(--grey-light-0)}.snmt-checkbox-dark .ant-checkbox:not(.ant-checkbox-checked) .ant-checkbox-inner{background-color:var(--grey-dark-4);border:1px solid var(--grey-dark-4)}.snmt-checkbox-dark .ant-checkbox:not(.ant-checkbox-checked):hover .ant-checkbox-inner{background-color:var(--grey-dark-3);border:1px solid var(--grey-dark-3)}.snmt-checkbox-dark .ant-checkbox+span{color:var(--grey-light-0)}.snmt-tag{display:flex;align-items:center;justify-content:center;border-radius:4px;border:none;margin-inline-end:0;padding:2px 6px;height:20px;background:var(--grey-light-2)}.snmt-tag .ant-tag-close-icon{display:flex;align-items:center;margin-inline-start:6px}.snmt-tag:not(.disabled) .ant-tag-close-icon:hover>path{fill:var(--blue-primary);transition:fill .2s ease-in-out}.snmt-tag.medium{padding:4px 8px;height:28px}.snmt-tag.medium .ant-tag-close-icon{margin-inline-start:7.75px}.snmt-tag.disabled{background:var(--grey-light-3)}.clickable{cursor:pointer}:root{--grey-light-0: #ffffff;--grey-light-1: #fbfbfb;--grey-light-2: #f4f4f5;--grey-light-3: #e6e6e9;--grey-light-4: #d0d0d7;--grey-light-5: #bebec2;--grey-dark-1: #babac4;--grey-dark-2: #8b8b9d;--grey-dark-3: #6f6f83;--grey-dark-4: #35353f;--grey-dark-5: #131314;--blue-primary: #004ed7;--blue-hover: #003899;--blue-light-1: #ebf2ff;--blue-light-2: #deeaff;--blue-light-3: #c3d9ff;--blue-light-4: #a5c6ff;--blue-dark-1: #498bff;--blue-dark-3: #070739;--purple-light: #f2e5ff;--purple-dark: #6900d1;--notification-warning-light: #fff4e8;--notification-warning-dark: #d17100;--notification-success-light: #e0ffdb;--notification-success-dark: #0f6e00;--notification-error-light: #ffecec;--notification-error-dark: #d20000;--notification-error-dark-mode: #e50f00}html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.snmt-typography.ant-typography{color:var(--blue-dark-3);font-family:Montserrat,sans-serif;font-style:normal;font-feature-settings:"clig" off,"liga" off;line-height:normal;margin:0!important}.snmt-typography.snmt-typography-h1{font-size:29px;font-weight:700;line-height:110%}.snmt-typography.snmt-typography-h2{font-size:25px;font-weight:600;line-height:120%}.snmt-typography.snmt-typography-h3{font-size:21px;font-weight:600;line-height:116%}.snmt-typography.snmt-typography-h4{font-size:19px;font-weight:600;line-height:124%}.snmt-typography.snmt-typography-h5{font-size:16px;font-weight:600;line-height:124%}.snmt-typography.snmt-typography-body1{font-size:16px;font-weight:500;line-height:144%}.snmt-typography.snmt-typography-body2{font-size:14px;font-weight:500;line-height:144%}.snmt-typography.snmt-typography-body3{font-size:12px;font-weight:600;line-height:120%}.snmt-typography.snmt-typography-body4{font-size:12px;font-weight:500;line-height:120%}.snmt-typography.snmt-typography-caption{font-size:10px;font-weight:500;line-height:120%}.snmt-typography.snmt-typography-button{font-size:14px;font-weight:600;line-height:116%}.snmt-typography.snmt-typography-tag{font-size:9px;font-weight:500;line-height:116%}.snmt-typography.snmt-typography-link{font-size:16px;font-weight:500;line-height:120%;text-decoration:underline;cursor:pointer}.snmt-typography.snmt-typography-align-center{text-align:center}.snmt-typography.snmt-typography-align-justify{text-align:justify}.snmt-typography.snmt-typography-align-left{text-align:left}.snmt-typography.snmt-typography-align-right{text-align:right}.snmt-typography.collapsed{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.snmt-tooltip.ant-tooltip>.ant-tooltip-arrow:before{background-color:var(--grey-dark-4);bottom:-1px}.snmt-tooltip.ant-tooltip>.ant-tooltip-content>.ant-tooltip-inner{background-color:var(--grey-dark-4);padding:12.5px 12px;border-radius:8px;color:var(--grey-light-0);font-family:Montserrat,sans-serif;font-size:10px;font-weight:500;line-height:12px}.snmt-popover:has(.snmt-popover-from-select){z-index:1050!important}.ant-select-selection-overflow>:nth-last-child(2) .snmt-tag{font-family:Montserrat,sans-serif}.ant-select-selection-overflow>:nth-last-child(2):hover .snmt-tag{background:var(--blue-light-1)}.ant-select-selection-overflow>:nth-last-child(2) .snmt-tag:has(.ant-popover-open){color:var(--blue-primary);background:var(--blue-light-2)}.snmt-popover .ant-popover-inner{padding:0}.snmt-popover.padding .ant-popover-inner{padding:16px}.wrapper{cursor:pointer}.snmt-select-1-15-6{width:100%;position:relative;height:48px;font-family:Montserrat,sans-serif;font-weight:500}.snmt-select-1-15-6 .snmt-select-blank .ant-select-selector{border:none!important}.snmt-select-1-15-6 .ant-select{height:100%;pointer-events:none;width:100%;border-radius:8px}.snmt-select-1-15-6 .ant-select .wrapper-suffix-icon{pointer-events:none;display:flex;align-items:center;gap:10px}.snmt-select-1-15-6 .ant-select-focused .ant-select-selector{box-shadow:none!important}.snmt-select-1-15-6 .ant-select-selector{pointer-events:all;border:1px solid var(--grey-light-4)!important;border-radius:8px!important;height:100%!important;padding:8px 16px!important}.snmt-select-1-15-6 .ant-select-selector:hover{border-color:var(--blue-dark-1)!important}.snmt-select-1-15-6 .ant-select-selection-search{margin-inline-start:0px!important;font-size:16px;font-weight:500}.snmt-select-1-15-6 .ant-select-selection-search input{font-size:16px!important;font-weight:500!important;color:var(--grey-dark-5)!important}.snmt-select-1-15-6 .ant-select-arrow div{pointer-events:all;position:relative;z-index:10}.snmt-select-1-15-6 .ant-select-selection-overflow-item-rest .ant-tag-close-icon{display:none}.snmt-select-1-15-6 .ant-select-disabled .snmt-select-1-15-6 .ant-select-arrow div{pointer-events:none!important;cursor:not-allowed!important}.snmt-select-1-15-6.snmt-select-single .ant-select-selection-item{font-family:Montserrat,sans-serif;font-weight:500;color:var(--grey-dark-5);font-size:16px}.snmt-select-1-15-6.snmt-select-single .ant-select-selection-item img{display:none}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selector{padding:9px 48px 9px 16px!important}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-item{background-color:var(--grey-light-2)}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-item-content{font-family:Montserrat,sans-serif;color:var(--grey-dark-5);font-weight:500;font-size:12px;margin-inline-end:6px}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-item-content img{display:none}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item .tag-wrapper{margin:0 3px}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item-rest .ant-select-selection-item{margin-inline-start:3px;margin-inline-end:0;margin-block:0;padding-inline-start:0;padding-inline-end:0;height:22px;background:transparent}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item-rest .ant-select-selection-item-content{margin:0}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item:first-of-type .tag-wrapper{margin-left:0;margin-right:3px}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow .custom-placeholder{position:absolute;top:50%;transform:translateY(-50%);transition:all .3s;font-size:16px;font-weight:500;color:var(--grey-dark-2);font-family:Montserrat,sans-serif;text-align:left}.snmt-select-1-15-6 .ant-select-open .ant-select-selector{box-shadow:none!important;border-color:var(--blue-primary)!important}.snmt-select-1-15-6 .select-arrow{transition:transform .3s ease;position:relative;z-index:2}.snmt-select-1-15-6 .select-arrow-rotated{transition:transform .3s ease;transform:rotate(180deg)}.snmt-select-1-15-6>label{position:absolute;top:calc(50% - 10px);left:18px;width:calc(100% - 32px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;font-size:16px;font-style:normal;font-weight:500;line-height:normal;-webkit-user-select:none;user-select:none;pointer-events:none;color:var(--grey-dark-2);transition:top .2s cubic-bezier(0,0,.2,1) 0ms,font-size .2s cubic-bezier(0,0,.2,1) 0ms}.snmt-select-1-15-6>label.label-floating{top:-7px;font-size:12px}.snmt-select-1-15-6>label.label-disabled{color:var(--grey-dark-1)}.snmt-select-1-15-6>label.label-loading{padding-left:30px}.snmt-select-1-15-6>label.label-loading.label-floating{padding-left:0}.snmt-select-1-15-6 fieldset{position:absolute;min-width:0;margin:0;padding:0 11px;top:-6px;right:0;bottom:0;left:0;border:1px solid var(--grey-light-4);border-radius:8px;text-align:left;pointer-events:none}.snmt-select-1-15-6 fieldset>legend{max-width:0;height:14px;padding:0;font-size:12px}.snmt-select-1-15-6 fieldset>legend>span{opacity:0!important;padding:0 5px;pointer-events:none;-webkit-user-select:none;user-select:none}.snmt-select-1-15-6 fieldset.fieldset-focused>legend,.snmt-select-1-15-6 fieldset.fieldset-filled>legend,.snmt-select-1-15-6 fieldset.fieldset-disabled>legend{max-width:100%}.snmt-select-1-15-6 fieldset.fieldset-focused{border-color:var(--blue-primary);border-width:2px;color:var(--blue-primary)}.snmt-select-1-15-6 fieldset.fieldset-disabled{border:none;color:var(--grey-dark-1)}.snmt-select-1-15-6 fieldset.fieldset-disabled:not(.fieldset-filled){display:none}.snmt-select-1-15-6 fieldset.fieldset-filled{border-color:var(--grey-light-4);color:var(--grey-dark-2)}.snmt-select-1-15-6 fieldset.fieldset-filled.fieldset-disabled{color:var(--grey-dark-1)}.snmt-select-1-15-6 fieldset.fieldset-error,.snmt-select-1-15-6 fieldset.fieldset-focused.fieldset-error{border-color:var(--notification-error-dark)}.snmt-select-1-15-6:hover:not(.snmt-select-read-only) fieldset:not(.fieldset-disabled):not(.fieldset-error):not(.fieldset-focused){border-color:var(--blue-dark-1)}.snmt-select-1-15-6:hover:not(.snmt-select-read-only)>label.label-floating:not(.label-disabled):not(.label-focused):not(.label-error){color:var(--blue-dark-1)}.snmt-select-1-15-6.snmt-select-read-only .ant-select-selector{background-color:var(--grey-light-2);cursor:not-allowed;pointer-events:none!important}.snmt-select-1-15-6.snmt-select-read-only .ant-select-arrow{pointer-events:all!important;cursor:pointer}.snmt-select-1-15-6.snmt-select-read-only .ant-select{pointer-events:auto!important}.snmt-select-1-15-6.snmt-select-focused fieldset.fieldset-focused:not(.fieldset-disabled):not(.fieldset-error){border-color:var(--blue-primary);border-width:2px}.snmt-select-1-15-6.snmt-select-focused>label.label-floating:not(.label-disabled){color:var(--blue-primary)}.snmt-select-1-15-6>label.label-floating.label-error:not(.label-disabled){color:var(--notification-error-dark)}.ant-select-dropdown{padding:0}.ant-select-dropdown .ant-select-item{border-radius:0}.ant-select-dropdown .ant-select-item-option{padding:14px 16px}.ant-select-dropdown .ant-select-item-option-state{display:none}.ant-select-dropdown .ant-select-item-option-active{background-color:var(--blue-light-1)!important}.ant-select-dropdown .ant-select-item-option-disabled .ant-select-item-option-content span{color:var(--grey-light-4)!important}.ant-select-dropdown .ant-select-item-option-disabled .ant-select-item-option-content img{filter:opacity(.5)}.ant-select-dropdown .ant-select-item-option-content span{font-family:Montserrat,sans-serif;color:var(--grey-dark-5);font-weight:500}.ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background-color:transparent}.ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-content span{font-weight:500!important}.ant-select-dropdown .ant-select-outlined.ant-select-disabled:not(.ant-select-customize-input) .ant-select-selector{background:var(--grey-light-2);border:none!important}.ant-select-dropdown .ant-select-outlined.ant-select-disabled:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item{color:var(--grey-dark-1)!important}.ant-select-dropdown .rc-virtual-list-holder{overflow-y:auto!important}.ant-select-dropdown .rc-virtual-list-holder::-webkit-scrollbar{width:6px}.ant-select-dropdown .rc-virtual-list-holder::-webkit-scrollbar-thumb{background:var(--grey-light-4);border-radius:10px}.ant-select-dropdown .rc-virtual-list-scrollbar-vertical{visibility:hidden!important}.dropdown-read-only .rc-virtual-list{pointer-events:none}.dropdown-container{position:relative;display:block}.dropdown-container .dropdown-menu{position:relative;z-index:0}.dropdown-container .loading-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;background:var(--grey-light-1);opacity:.9;display:flex;align-items:center;justify-content:center;pointer-events:none}.snmt-select-container .snmt-flex{margin-top:6px}.snmt-loader{display:inline-block;aspect-ratio:1;animation:loader 1s infinite linear}@keyframes loader{33%{background-position:0% 50%,50% 100%,100% 100%}50%{background-position:0% 0%,50% 50%,100% 100%}66%{background-position:0% 0%,50% 0%,100% 50%}to{background-position:0% 0%,50% 0%,100% 0%}}
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap";.snmt-flex.inherit{flex-wrap:inherit}.snmt-avatar.ant-avatar{border:0;background-color:var(--grey-dark-5);color:var(--grey-light-0);font-family:Montserrat,sans-serif}.snmt-avatar.image.ant-avatar{background-color:transparent}.snmt-checkbox .ant-checkbox+span{padding-inline-start:12px;padding-inline-end:unset;font-family:Montserrat,sans-serif;font-size:14px;font-weight:500;line-height:20px;letter-spacing:0;text-align:left}.ant-checkbox-checked .ant-checkbox-inner:after{transform:rotate(45deg) scale(1) translate(-40%,-60%)}.ant-checkbox-wrapper.delete .ant-checkbox-checked .ant-checkbox-inner:after{transform:none;content:"";position:absolute;left:50%;top:50%;width:9px;height:1px;transform:translate(-50%,-50%)}.ant-checkbox-inner{width:20px!important;height:20px!important}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-disabled+span{color:var(--grey-light-4)}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-disabled .ant-checkbox-inner{background-color:var(--grey-light-3);border-color:var(--grey-light-3)}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-disabled .ant-checkbox-inner:after{border-color:var(--grey-dark-3)}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner{background-color:var(--blue-dark-1)!important;border-color:var(--blue-dark-1)!important}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner:after{background-color:var(--grey-light-0);border:1px solid var(--grey-light-0);transform:none;content:"";position:absolute;left:50%;top:50%;width:9px;height:1px;transform:translate(-50%,-50%)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox:not(.ant-checkbox-checked) .ant-checkbox-inner{border:1px solid var(--blue-dark-1)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner{background-color:var(--blue-hover);border:1px solid var(--blue-hover)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner{background-color:var(--grey-light-3);border-color:var(--grey-light-3)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox-disabled:not(.ant-checkbox-checked) .ant-checkbox-inner{background-color:var(--grey-light-3);border-color:var(--grey-light-3)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox.ant-checkbox-checked.ant-checkbox-indeterminate .ant-checkbox-inner{background-color:var(--blue-hover)!important;border:1px solid var(--blue-hover)!important}.snmt-checkbox-dark .ant-checkbox:not(.ant-checkbox-checked) .ant-checkbox-inner{background-color:var(--grey-dark-4);border:1px solid var(--grey-dark-4)}.snmt-checkbox-dark .ant-checkbox:not(.ant-checkbox-checked):hover .ant-checkbox-inner{background-color:var(--grey-dark-3);border:1px solid var(--grey-dark-3)}.snmt-checkbox-dark .ant-checkbox+span{color:var(--grey-light-2)}.snmt-tag{display:flex;align-items:center;justify-content:center;border-radius:4px;border:none;margin-inline-end:0;padding:2px 6px;height:20px;background:var(--grey-light-2)}.snmt-tag .ant-tag-close-icon{display:flex;align-items:center;margin-inline-start:6px}.snmt-tag:not(.disabled) .ant-tag-close-icon:hover>path{fill:var(--blue-primary);transition:fill .2s ease-in-out}.snmt-tag.medium{padding:4px 8px;height:28px}.snmt-tag.medium .ant-tag-close-icon{margin-inline-start:7.75px}.snmt-tag.disabled{background:var(--grey-light-3)}.clickable{cursor:pointer}:root{--grey-light-0: #ffffff;--grey-light-1: #fbfbfb;--grey-light-2: #f4f4f5;--grey-light-3: #e6e6e9;--grey-light-4: #d0d0d7;--grey-light-5: #bebec2;--grey-dark-1: #babac4;--grey-dark-2: #8b8b9d;--grey-dark-3: #6f6f83;--grey-dark-4: #35353f;--grey-dark-5: #131314;--blue-primary: #004ed7;--blue-hover: #003899;--blue-light-1: #ebf2ff;--blue-light-2: #deeaff;--blue-light-3: #c3d9ff;--blue-light-4: #a5c6ff;--blue-dark-1: #498bff;--blue-dark-3: #070739;--purple-light: #f2e5ff;--purple-dark: #6900d1;--notification-warning-light: #fff4e8;--notification-warning-dark: #d17100;--notification-success-light: #e0ffdb;--notification-success-dark: #0f6e00;--notification-error-light: #ffecec;--notification-error-dark: #d20000;--notification-error-dark-mode: #e50f00}html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.snmt-typography.ant-typography{color:var(--blue-dark-3);font-family:Montserrat,sans-serif;font-style:normal;font-feature-settings:"clig" off,"liga" off;line-height:normal;margin:0!important}.snmt-typography.snmt-typography-h1{font-size:29px;font-weight:700;line-height:110%}.snmt-typography.snmt-typography-h2{font-size:25px;font-weight:600;line-height:120%}.snmt-typography.snmt-typography-h3{font-size:21px;font-weight:600;line-height:116%}.snmt-typography.snmt-typography-h4{font-size:19px;font-weight:600;line-height:124%}.snmt-typography.snmt-typography-h5{font-size:16px;font-weight:600;line-height:124%}.snmt-typography.snmt-typography-body1{font-size:16px;font-weight:500;line-height:144%}.snmt-typography.snmt-typography-body2{font-size:14px;font-weight:500;line-height:144%}.snmt-typography.snmt-typography-body3{font-size:12px;font-weight:600;line-height:120%}.snmt-typography.snmt-typography-body4{font-size:12px;font-weight:500;line-height:120%}.snmt-typography.snmt-typography-caption{font-size:10px;font-weight:500;line-height:120%}.snmt-typography.snmt-typography-button{font-size:14px;font-weight:600;line-height:116%}.snmt-typography.snmt-typography-tag{font-size:9px;font-weight:500;line-height:116%}.snmt-typography.snmt-typography-link{font-size:16px;font-weight:500;line-height:120%;text-decoration:underline;cursor:pointer}.snmt-typography.snmt-typography-align-center{text-align:center}.snmt-typography.snmt-typography-align-justify{text-align:justify}.snmt-typography.snmt-typography-align-left{text-align:left}.snmt-typography.snmt-typography-align-right{text-align:right}.snmt-typography.collapsed{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.snmt-tooltip.ant-tooltip>.ant-tooltip-arrow:before{background-color:var(--grey-dark-4);bottom:-1px}.snmt-tooltip.ant-tooltip>.ant-tooltip-content>.ant-tooltip-inner{background-color:var(--grey-dark-4);padding:12.5px 12px;border-radius:8px;color:var(--grey-light-0);font-family:Montserrat,sans-serif;font-size:10px;font-weight:500;line-height:12px}.snmt-popover:has(.snmt-popover-from-select){z-index:1050!important}.ant-select-selection-overflow>:nth-last-child(2) .snmt-tag{font-family:Montserrat,sans-serif}.ant-select-selection-overflow>:nth-last-child(2):hover .snmt-tag{background:var(--blue-light-1)}.ant-select-selection-overflow>:nth-last-child(2) .snmt-tag:has(.ant-popover-open){color:var(--blue-primary);background:var(--blue-light-2)}.snmt-popover .ant-popover-inner{padding:0}.snmt-popover.padding .ant-popover-inner{padding:16px}.wrapper{cursor:pointer}.snmt-select-1-15-6{width:100%;position:relative;height:48px;font-family:Montserrat,sans-serif;font-weight:500}.snmt-select-1-15-6 .snmt-select-blank .ant-select-selector{border:none!important}.snmt-select-1-15-6 .ant-select{height:100%;pointer-events:none;width:100%;border-radius:8px}.snmt-select-1-15-6 .ant-select .wrapper-suffix-icon{pointer-events:none;display:flex;align-items:center;gap:10px}.snmt-select-1-15-6 .ant-select-focused .ant-select-selector{box-shadow:none!important}.snmt-select-1-15-6 .ant-select-selector{pointer-events:all;border:1px solid var(--grey-light-4)!important;border-radius:8px!important;height:100%!important;padding:8px 16px!important}.snmt-select-1-15-6 .ant-select-selector:hover{border-color:var(--blue-dark-1)!important}.snmt-select-1-15-6 .ant-select-selection-search{margin-inline-start:0px!important;font-size:16px;font-weight:500}.snmt-select-1-15-6 .ant-select-selection-search input{font-size:16px!important;font-weight:500!important;color:var(--grey-dark-5)!important}.snmt-select-1-15-6 .ant-select-arrow div{pointer-events:all;position:relative;z-index:10}.snmt-select-1-15-6 .ant-select-selection-overflow-item-rest .ant-tag-close-icon{display:none}.snmt-select-1-15-6 .ant-select-disabled .snmt-select-1-15-6 .ant-select-arrow div{pointer-events:none!important;cursor:not-allowed!important}.snmt-select-1-15-6.snmt-select-single .ant-select-selection-item{font-family:Montserrat,sans-serif;font-weight:500;color:var(--grey-dark-5);font-size:16px}.snmt-select-1-15-6.snmt-select-single .ant-select-selection-item img{display:none}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selector{padding:9px 48px 9px 16px!important}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-item{background-color:var(--grey-light-2)}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-item-content{font-family:Montserrat,sans-serif;color:var(--grey-dark-5);font-weight:500;font-size:12px;margin-inline-end:6px}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-item-content img{display:none}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item .tag-wrapper{margin:0 3px}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item-rest .ant-select-selection-item{margin-inline-start:3px;margin-inline-end:0;margin-block:0;padding-inline-start:0;padding-inline-end:0;height:22px;background:transparent}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item-rest .ant-select-selection-item-content{margin:0}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item:first-of-type .tag-wrapper{margin-left:0;margin-right:3px}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow .custom-placeholder{position:absolute;top:50%;transform:translateY(-50%);transition:all .3s;font-size:16px;font-weight:500;color:var(--grey-dark-2);font-family:Montserrat,sans-serif;text-align:left}.snmt-select-1-15-6 .ant-select-open .ant-select-selector{box-shadow:none!important;border-color:var(--blue-primary)!important}.snmt-select-1-15-6 .select-arrow{transition:transform .3s ease;position:relative;z-index:2}.snmt-select-1-15-6 .select-arrow-rotated{transition:transform .3s ease;transform:rotate(180deg)}.snmt-select-1-15-6>label{position:absolute;top:calc(50% - 10px);left:18px;width:calc(100% - 32px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;font-size:16px;font-style:normal;font-weight:500;line-height:normal;-webkit-user-select:none;user-select:none;pointer-events:none;color:var(--grey-dark-2);transition:top .2s cubic-bezier(0,0,.2,1) 0ms,font-size .2s cubic-bezier(0,0,.2,1) 0ms}.snmt-select-1-15-6>label.label-floating{top:-7px;font-size:12px}.snmt-select-1-15-6>label.label-disabled{color:var(--grey-dark-1)}.snmt-select-1-15-6>label.label-loading{padding-left:30px}.snmt-select-1-15-6>label.label-loading.label-floating{padding-left:0}.snmt-select-1-15-6 fieldset{position:absolute;min-width:0;margin:0;padding:0 11px;top:-6px;right:0;bottom:0;left:0;border:1px solid var(--grey-light-4);border-radius:8px;text-align:left;pointer-events:none}.snmt-select-1-15-6 fieldset>legend{max-width:0;height:14px;padding:0;font-size:12px}.snmt-select-1-15-6 fieldset>legend>span{opacity:0!important;padding:0 5px;pointer-events:none;-webkit-user-select:none;user-select:none}.snmt-select-1-15-6 fieldset.fieldset-focused>legend,.snmt-select-1-15-6 fieldset.fieldset-filled>legend,.snmt-select-1-15-6 fieldset.fieldset-disabled>legend{max-width:100%}.snmt-select-1-15-6 fieldset.fieldset-focused{border-color:var(--blue-primary);border-width:2px;color:var(--blue-primary)}.snmt-select-1-15-6 fieldset.fieldset-disabled{border:none;color:var(--grey-dark-1)}.snmt-select-1-15-6 fieldset.fieldset-disabled:not(.fieldset-filled){display:none}.snmt-select-1-15-6 fieldset.fieldset-filled{border-color:var(--grey-light-4);color:var(--grey-dark-2)}.snmt-select-1-15-6 fieldset.fieldset-filled.fieldset-disabled{color:var(--grey-dark-1)}.snmt-select-1-15-6 fieldset.fieldset-error,.snmt-select-1-15-6 fieldset.fieldset-focused.fieldset-error{border-color:var(--notification-error-dark)}.snmt-select-1-15-6:hover:not(.snmt-select-read-only) fieldset:not(.fieldset-disabled):not(.fieldset-error):not(.fieldset-focused){border-color:var(--blue-dark-1)}.snmt-select-1-15-6:hover:not(.snmt-select-read-only)>label.label-floating:not(.label-disabled):not(.label-focused):not(.label-error){color:var(--blue-dark-1)}.snmt-select-1-15-6.snmt-select-read-only .ant-select-selector{background-color:var(--grey-light-2);cursor:not-allowed;pointer-events:none!important}.snmt-select-1-15-6.snmt-select-read-only .ant-select-arrow{pointer-events:all!important;cursor:pointer}.snmt-select-1-15-6.snmt-select-read-only .ant-select{pointer-events:auto!important}.snmt-select-1-15-6.snmt-select-focused fieldset.fieldset-focused:not(.fieldset-disabled):not(.fieldset-error){border-color:var(--blue-primary);border-width:2px}.snmt-select-1-15-6.snmt-select-focused>label.label-floating:not(.label-disabled){color:var(--blue-primary)}.snmt-select-1-15-6>label.label-floating.label-error:not(.label-disabled){color:var(--notification-error-dark)}.ant-select-dropdown{padding:0}.ant-select-dropdown .ant-select-item{border-radius:0}.ant-select-dropdown .ant-select-item-option{padding:14px 16px}.ant-select-dropdown .ant-select-item-option-state{display:none}.ant-select-dropdown .ant-select-item-option-active{background-color:var(--blue-light-1)!important}.ant-select-dropdown .ant-select-item-option-disabled .ant-select-item-option-content span{color:var(--grey-light-4)!important}.ant-select-dropdown .ant-select-item-option-disabled .ant-select-item-option-content img{filter:opacity(.5)}.ant-select-dropdown .ant-select-item-option-content span{font-family:Montserrat,sans-serif;color:var(--grey-dark-5);font-weight:500}.ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background-color:transparent}.ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-content span{font-weight:500!important}.ant-select-dropdown .ant-select-outlined.ant-select-disabled:not(.ant-select-customize-input) .ant-select-selector{background:var(--grey-light-2);border:none!important}.ant-select-dropdown .ant-select-outlined.ant-select-disabled:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item{color:var(--grey-dark-1)!important}.ant-select-dropdown .rc-virtual-list-holder{overflow-y:auto!important}.ant-select-dropdown .rc-virtual-list-holder::-webkit-scrollbar{width:6px}.ant-select-dropdown .rc-virtual-list-holder::-webkit-scrollbar-thumb{background:var(--grey-light-4);border-radius:10px}.ant-select-dropdown .rc-virtual-list-scrollbar-vertical{visibility:hidden!important}.dropdown-read-only .rc-virtual-list{pointer-events:none}.dropdown-container{position:relative;display:block}.dropdown-container .dropdown-menu{position:relative;z-index:0}.dropdown-container .loading-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;background:var(--grey-light-1);opacity:.9;display:flex;align-items:center;justify-content:center;pointer-events:none}.snmt-select-container .snmt-flex{margin-top:6px}.snmt-loader{display:inline-block;aspect-ratio:1;animation:loader 1s infinite linear}@keyframes loader{33%{background-position:0% 50%,50% 100%,100% 100%}50%{background-position:0% 0%,50% 50%,100% 100%}66%{background-position:0% 0%,50% 0%,100% 50%}to{background-position:0% 0%,50% 0%,100% 0%}}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@snmt-react-ui/async-select",
|
3
3
|
"private": false,
|
4
|
-
"version": "1.8.
|
4
|
+
"version": "1.8.21",
|
5
5
|
"type": "module",
|
6
6
|
"main": "dist/async-select.js",
|
7
7
|
"types": "dist/index.d.ts",
|
@@ -18,10 +18,10 @@
|
|
18
18
|
"build": "tsc && vite build"
|
19
19
|
},
|
20
20
|
"dependencies": {
|
21
|
-
"@snmt-react-ui/select": "^1.17.
|
21
|
+
"@snmt-react-ui/select": "^1.17.20"
|
22
22
|
},
|
23
23
|
"peerDependencies": {
|
24
24
|
"antd": "^5.18.3"
|
25
25
|
},
|
26
|
-
"gitHead": "
|
26
|
+
"gitHead": "e0f7c1491491057af408503bb40f4a7504f67ab9"
|
27
27
|
}
|