@omniumretail/component-library 1.1.54 → 1.1.56
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/bundle.js +1 -1
- package/dist/main.css +2 -2
- package/dist/types/components/CategoryResponse/index.d.ts +2 -0
- package/dist/types/components/Tag/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/components/CategoryResponse/CategoryResponse.stories.tsx +3 -0
- package/src/components/CategoryResponse/index.tsx +17 -29
- package/src/components/CategoryResponse/styles.module.scss +10 -2
- package/src/components/Tag/index.tsx +43 -22
- package/src/components/Tag/styles.module.scss +50 -3
package/dist/main.css
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
.YPXf1KvhUKPvYzjuCpbK{display:block;color:var(--color-black);text-transform:capitalize;font-size:var(--font-size-body-base);line-height:125%;font-weight:var(--font-weight-semibold)}.YPXf1KvhUKPvYzjuCpbK:not(:first-child){margin-top:8px}.ExPJyFK95xTcgtx9cRbg{text-transform:uppercase}
|
|
9
9
|
.EBnBgAHgtsQFrDoso9Dw{background-color:var(--color-orange);height:1px;border:none}.FLVlQ5eFtNDkCl4IcIIx{opacity:50%}.L2HU9MLCi6B1ZsJyWfp9{background-color:var(--color-blue)}.MQcBac9Gnb9D2ONENY8Q{margin:8px 0}.tdvYp9O5RnLEsNa3E_wz{margin:16px 0}.hWWGCDnwP_ROWFDlyVxe{margin:24px 0}
|
|
10
10
|
.pwZdBKCECvzAH92fQDTI{display:flex;flex-wrap:wrap;flex-direction:column}.pwZdBKCECvzAH92fQDTI .ant-table-thead>tr>th{background-color:rgba(0,0,0,0);border:0px;color:var(--color-blue)}.pwZdBKCECvzAH92fQDTI .ant-table-thead>tr>th:before{display:none}.pwZdBKCECvzAH92fQDTI .ant-table-tbody>tr{cursor:pointer}.pwZdBKCECvzAH92fQDTI .ant-table-tbody>tr:last-child>td{border-bottom:1px solid var(--color-grey-light) !important}.pwZdBKCECvzAH92fQDTI .ant-table-tbody>tr:first-child>td{border-top:1px solid var(--color-blue) !important}.pwZdBKCECvzAH92fQDTI .ant-table-tbody>tr:hover td{border-radius:0 !important;border-bottom-color:var(--color-grey-light) !important}.pwZdBKCECvzAH92fQDTI .ant-space{align-self:flex-end}.pwZdBKCECvzAH92fQDTI .ant-select-selection-placeholder{color:var(--color-black)}.pwZdBKCECvzAH92fQDTI .ant-select-selector,.pwZdBKCECvzAH92fQDTI .ant-select-focused .ant-select-selection-search{border:none !important;box-shadow:none !important}.pwZdBKCECvzAH92fQDTI .ant-select-selector:focus,.pwZdBKCECvzAH92fQDTI .ant-select-selector:hover,.pwZdBKCECvzAH92fQDTI .ant-select-focused .ant-select-selection-search:focus,.pwZdBKCECvzAH92fQDTI .ant-select-focused .ant-select-selection-search:hover{border:none !important;box-shadow:none !important}.pwZdBKCECvzAH92fQDTI .ant-pagination{max-width:calc(100% - 200px);margin-left:auto !important}.pwZdBKCECvzAH92fQDTI button[type=button].ant-pagination-item-link{margin-top:0 !important}.pwZdBKCECvzAH92fQDTI button[type=button]{margin-top:-50px}.ant-spin-dot-item{background-color:var(--color-blue) !important;opacity:1 !important}.ant-spin-dot-item:nth-child(2){background-color:var(--color-orange) !important;opacity:1}.ant-spin-dot-item:nth-child(3){background-color:var(--color-blue) !important;opacity:1}.ant-spin-dot-item:nth-child(4){background-color:var(--color-orange) !important;opacity:1}
|
|
11
|
-
.yhGDUJJiYhqjPCJgNdjI{contain:inline-size}.yhGDUJJiYhqjPCJgNdjI .G9kG_bHpbSm0APdxALXI{margin-top:16px}.yhGDUJJiYhqjPCJgNdjI .G9kG_bHpbSm0APdxALXI.sFDpKKys2XzhCHAvcoE3{pointer-events:none}.LEywos4xlf3LV6eEFLFv{height:50px;display:flex;align-items:center;gap:12px;padding:16px;margin-inline-end:0}.LEywos4xlf3LV6eEFLFv .ant-input{height:50px;padding-left:40px}.VhQgSZHBi1swQZeQePfL{height:50px}.Hfh5KLg4Y_g44Ajhx9aV .ant-tag{background-color:var(--color-orange);color:var(--color-white);padding:6px 16px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;position:relative;padding-right:24px;min-height:34px}.Hfh5KLg4Y_g44Ajhx9aV .anticon-close{color:var(--color-white);font-size:12px;position:absolute;right:4px;top:10px}.Hfh5KLg4Y_g44Ajhx9aV .anticon-close:hover{color:var(--color-black)}.yhGDUJJiYhqjPCJgNdjI .Gj9zvBh4toFNL6uoWOIk{display:flex;gap:12px}.yhGDUJJiYhqjPCJgNdjI .BvTiplJPlDM4ob_yobaL{display:flex;flex-direction:row;gap:12px;font-family:"SilkaBold";text-decoration:underline}.yhGDUJJiYhqjPCJgNdjI .BvTiplJPlDM4ob_yobaL div{cursor:pointer}
|
|
11
|
+
.yhGDUJJiYhqjPCJgNdjI{contain:inline-size}.yhGDUJJiYhqjPCJgNdjI .ant-switch.ant-switch-checked .ant-switch-handle{inset-inline-start:calc(100% - 14px)}.yhGDUJJiYhqjPCJgNdjI .G9kG_bHpbSm0APdxALXI{margin-top:16px}.yhGDUJJiYhqjPCJgNdjI .G9kG_bHpbSm0APdxALXI.sFDpKKys2XzhCHAvcoE3{pointer-events:none}.LEywos4xlf3LV6eEFLFv{height:50px;display:flex;align-items:center;gap:12px;padding:16px;margin-inline-end:0;width:100%}.LEywos4xlf3LV6eEFLFv .ant-input{height:50px;padding-left:40px}.VhQgSZHBi1swQZeQePfL{height:50px}.Hfh5KLg4Y_g44Ajhx9aV .ant-tag{background-color:var(--color-orange);color:var(--color-white);padding:6px 16px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;position:relative;padding-right:24px;min-height:34px}.Hfh5KLg4Y_g44Ajhx9aV .anticon-close{color:var(--color-white);font-size:12px;position:absolute;right:4px;top:10px}.Hfh5KLg4Y_g44Ajhx9aV .anticon-close:hover{color:var(--color-black)}.yhGDUJJiYhqjPCJgNdjI .Ds9QXq3nvfH3xjzeP87H{background-color:var(--color-grey) !important}.yhGDUJJiYhqjPCJgNdjI .Ds9QXq3nvfH3xjzeP87H[aria-checked=true]{background:var(--color-orange) !important}@media(max-width: 768px){.yhGDUJJiYhqjPCJgNdjI .Ds9QXq3nvfH3xjzeP87H{min-width:28px;height:16px;line-height:16px}.yhGDUJJiYhqjPCJgNdjI .Ds9QXq3nvfH3xjzeP87H .ant-switch-handle{width:12px;height:12px}.yhGDUJJiYhqjPCJgNdjI .Ds9QXq3nvfH3xjzeP87H .ant-switch-inner{padding-inline-start:18px;padding-inline-end:6px}}.yhGDUJJiYhqjPCJgNdjI .shyWfuOXQO29Vq9I8XGV{display:flex;align-items:center;gap:32px;width:calc(100% - 40px)}@media(max-width: 768px){.yhGDUJJiYhqjPCJgNdjI .shyWfuOXQO29Vq9I8XGV{gap:12px;width:calc(100% - 20px)}}.yhGDUJJiYhqjPCJgNdjI .Gj9zvBh4toFNL6uoWOIk{display:flex;gap:12px}.yhGDUJJiYhqjPCJgNdjI .BvTiplJPlDM4ob_yobaL{display:flex;flex-direction:row;gap:12px;font-family:"SilkaBold";text-decoration:underline}.yhGDUJJiYhqjPCJgNdjI .BvTiplJPlDM4ob_yobaL div{cursor:pointer}
|
|
12
12
|
.vdTO5pKaLXA2FdyblLq5{border-color:rgba(var(--color-black-rgb), 0.5)}
|
|
13
13
|
.e3BZiSKkbgvekUOREMi6{font-weight:var(--font-weight-medium);font-size:var(--font-size-body-3);margin-right:44px;margin-top:18px}.e3BZiSKkbgvekUOREMi6 .ant-radio-checked .ant-radio-inner{border-color:var(--color-black)}.e3BZiSKkbgvekUOREMi6 .ant-radio-checked .ant-radio-inner:after{background-color:var(--color-black)}.e3BZiSKkbgvekUOREMi6 .ant-radio-checked:hover .ant-radio-inner:after{background-color:var(--color-orange)}.e3BZiSKkbgvekUOREMi6 .ant-radio:hover .ant-radio-inner{border-color:var(--color-orange)}
|
|
14
14
|
.D8zh2JqbXPRwa7HPZoou{display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap;gap:0 16px;background-color:var(--color-black);position:fixed;bottom:0;width:100%;padding:12px 24px;font-size:var(--font-size-body-1);color:var(--color-grey-light);height:60px;flex-direction:row;text-align:left;box-sizing:border-box}.D8zh2JqbXPRwa7HPZoou .rLcS8I6I0aB1gd6Ro7Ix{color:var(--grey2);width:100%;margin-bottom:4px}.D8zh2JqbXPRwa7HPZoou .I18ixqhkBJrOHeIm9ELH{margin-left:8px}.D8zh2JqbXPRwa7HPZoou .XVFO_EVWpXwEwbcS7OwM,.D8zh2JqbXPRwa7HPZoou .I18ixqhkBJrOHeIm9ELH{display:inline-block}.D8zh2JqbXPRwa7HPZoou .Ch59mk3ENKwL_xUV4kwI{height:25px;align-self:flex-end}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
.vw302ajYc4_7bIROncyM{font-size:var(--font-size-body-4);font-weight:600;line-height:100%;color:var(--color-blue);text-transform:uppercase;margin-bottom:32px}.DrsaZTs1Ny6wZ76RwDR9{font-size:var(--font-size-body-2);color:var(--color-black);font-weight:700;text-transform:uppercase}.HVSssNqaNxLcYT_1lxBL{display:grid;grid-template-columns:minmax(200px, 1fr) auto auto auto auto;gap:46px}.ACPbYsV0wNkissVLHcFh{margin-top:16px}Label{margin-bottom:8px}.mIHYAri6ebHm4Oeb1ogj{min-width:200px}@media(max-width: 768px){.mIHYAri6ebHm4Oeb1ogj{min-width:150px}}.g19LZsD26yzPPjBtV31w .ant-select{width:100%}.g19LZsD26yzPPjBtV31w .ant-select-selector{border-color:rgba(var(--color-black-rgb), 0.5) !important;height:50px !important;display:flex;align-items:center}.g19LZsD26yzPPjBtV31w .ant-select-arrow{color:var(--color-black)}.g19LZsD26yzPPjBtV31w .ant-switch{width:30px}
|
|
23
23
|
.j8_c3JHTX0JOkT36fF6A{contain:inline-size}.j8_c3JHTX0JOkT36fF6A .HgmGSts5FIH3osmekIYG{height:50px;width:300px}@media(min-width: 1024px){.j8_c3JHTX0JOkT36fF6A .HgmGSts5FIH3osmekIYG{width:450px}}.j8_c3JHTX0JOkT36fF6A .xlaG0XsJDRR9AClqXzzC .ant-tag{background-color:var(--color-orange);color:var(--color-white);padding:6px 16px;max-width:240px}.j8_c3JHTX0JOkT36fF6A .xlaG0XsJDRR9AClqXzzC .anticon-close{color:var(--color-white);font-size:12px}.j8_c3JHTX0JOkT36fF6A .xlaG0XsJDRR9AClqXzzC .anticon-close:hover{color:var(--color-black)}
|
|
24
24
|
.BWmwZ5nFKyctBZyOAXzg{width:100%}.GWTSauaAl_v9W8o4YPxW{background:rgba(44,45,46,.0509803922);height:100%;position:relative}.GWTSauaAl_v9W8o4YPxW .ant-menu-light{background-color:rgba(0,0,0,0) !important;border-inline-end:none !important}.GWTSauaAl_v9W8o4YPxW .ant-menu-title-content{font-size:17px;line-height:20px;font-weight:var(--font-weight-semibold)}.GWTSauaAl_v9W8o4YPxW .ant-menu-title-content:hover{color:var(--color-orange)}.GWTSauaAl_v9W8o4YPxW .ant-menu-sub .ant-menu-title-content{font-size:15px;line-height:18px;font-weight:var(--font-weight-medium)}.GWTSauaAl_v9W8o4YPxW .ant-menu-sub .ant-menu-item{height:30px;line-height:30px;margin-bottom:16px}.GWTSauaAl_v9W8o4YPxW .ant-menu-sub .ant-menu-item:first-child{margin-top:-10px}.GWTSauaAl_v9W8o4YPxW .ant-menu-submenu{border-top:1px solid var(--color-orange);border-radius:0}.GWTSauaAl_v9W8o4YPxW .ant-menu-item:hover{background-color:initial !important}.GWTSauaAl_v9W8o4YPxW .ant-menu-item-selected,.GWTSauaAl_v9W8o4YPxW .ant-menu-submenu-selected>.ant-menu-submenu-title{color:var(--color-orange);background-color:initial}.GWTSauaAl_v9W8o4YPxW .ant-menu-inline .ant-menu-sub.ant-menu-inline{background:initial}.GWTSauaAl_v9W8o4YPxW .ant-menu-submenu-title{height:50px !important;line-height:50px !important}.GWTSauaAl_v9W8o4YPxW .ant-menu-submenu-title:hover{background-color:initial !important}.GWTSauaAl_v9W8o4YPxW .ant-menu-submenu-title .anticon{color:var(--color-orange)}.GWTSauaAl_v9W8o4YPxW .ant-menu-inline.ant-menu-root .ant-menu-item>.ant-menu-title-content{overflow-x:auto;text-overflow:unset}.hWGer1IJ7RdkfQWwYfsw{position:absolute;top:24px;left:24px;right:24px;height:144px}.MD1FhirslDDwd2izGwai{font-size:var(--font-size-body-2);line-height:14px;font-weight:var(--font-weight-light);display:inline-block;padding:12px;cursor:pointer;position:absolute;right:0;top:60px}.RxGn4c38kNq8Ai4ypW_x{position:absolute;top:144px;left:24px;right:24px;bottom:0;overflow-y:auto;overflow-x:hidden;padding-bottom:24px}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{border-radius:10px;background:rgba(0,0,0,.1)}::-webkit-scrollbar-thumb{border-radius:10px;background:rgba(0,0,0,.2)}::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.4)}::-webkit-scrollbar-thumb:active{background:rgba(0,0,0,.9)}
|
|
25
|
-
.rdjN4ln3xiUoa6Q0NMMm{display:flex;flex-direction:column;gap:16px;height:100%}@media(min-width: 600px){.rdjN4ln3xiUoa6Q0NMMm{display:grid;grid-template-columns:220px auto}}@media(min-width: 768px){.rdjN4ln3xiUoa6Q0NMMm{grid-template-columns:300px auto}}.Q4flbvKEPN6Jx9Cob22I{background:#ebeced;overflow:auto;padding:20px}@media(max-width: 599px){.Q4flbvKEPN6Jx9Cob22I{padding:20px 20px 0 20px;max-height:80px}}.hK3soC6m563VuiLnNutq{background:var(--color-white);overflow:auto;padding:20px}@media(max-width: 599px){.hK3soC6m563VuiLnNutq{height:100%}}.guqqOMHeZE56Bg2p5Ad8{font-size:var(--font-size-body-2);color:var(--color-blue);margin-bottom:12px;font-weight:var(--font-weight-semibold);text-transform:uppercase}@media(min-width: 768px){.guqqOMHeZE56Bg2p5Ad8{font-size:var(--font-size-body-4);margin-bottom:36px}}.wRCQxnQc_MZGDeiY1bcL{padding-bottom:15px;font-weight:var(--font-weight-bold);font-size:var(--font-size-body-2)}@media(min-width: 768px){.wRCQxnQc_MZGDeiY1bcL{font-size:var(--font-size-body-4)}}.JRmeFBsSP1f1HJwarMpc{cursor:pointer}.Y6yF3VITdrKdQzDtqTZX{padding-left:16px}.Y6yF3VITdrKdQzDtqTZX .wRCQxnQc_MZGDeiY1bcL{font-weight:var(--font-weight-semibold)}.Y6yF3VITdrKdQzDtqTZX .aKZCkmPsc0LiPdj3sEeG .Y6yF3VITdrKdQzDtqTZX .wRCQxnQc_MZGDeiY1bcL{font-weight:var(--font-weight-light)}.aKZCkmPsc0LiPdj3sEeG{display:block}.U_3frSKmaOQyTCb9oBkg{color:var(--color-orange)}.GEZDeWAneRLnZQyf4y9l{margin-bottom:16px}@media(min-width: 768px){.GEZDeWAneRLnZQyf4y9l{margin-bottom:24px}}.YcOvMLXE7vKR2Y0_BPRr{font-size:var(--font-size-body-3);color:var(--color-blue);font-weight:var(--font-weight-semibold);margin-bottom:8px}@media(min-width: 768px){.YcOvMLXE7vKR2Y0_BPRr{font-size:var(--font-size-body-4)}}.vlMh_CCr45wbKV4fMhJx{font-size:var(--font-size-body-2);font-weight:var(--font-weight-light);color:var(--color-black)}@media(min-width: 768px){.vlMh_CCr45wbKV4fMhJx{font-size:var(--font-size-body-3)}}.NZ_ohAxNxhxZsCBr2PRA{display:flex;flex-direction:row;gap:12px;margin-bottom:24px}@media(min-width: 768px){.NZ_ohAxNxhxZsCBr2PRA{margin-bottom:36px}}.CArVrMs2ac6JvM1VGLSw{flex-direction:column;border-bottom:1px solid rgba(var(--color-blue-rgb), 0.2);margin-bottom:24px}.CArVrMs2ac6JvM1VGLSw .OpqJ6gab6fPIq3KyckPO{width:100%;border-bottom:none}.CArVrMs2ac6JvM1VGLSw .E9TXHxbgaI6LGMZHG9bV{width:100%;height:auto}.CArVrMs2ac6JvM1VGLSw .E9TXHxbgaI6LGMZHG9bV .ant-input{min-height:140px}.CArVrMs2ac6JvM1VGLSw .E9TXHxbgaI6LGMZHG9bV .ant-form-item{margin-bottom:16px}.OpqJ6gab6fPIq3KyckPO{width:
|
|
25
|
+
.rdjN4ln3xiUoa6Q0NMMm{display:flex;flex-direction:column;gap:16px;height:100%}@media(min-width: 600px){.rdjN4ln3xiUoa6Q0NMMm{display:grid;grid-template-columns:220px auto}}@media(min-width: 768px){.rdjN4ln3xiUoa6Q0NMMm{grid-template-columns:300px auto}}.Q4flbvKEPN6Jx9Cob22I{background:#ebeced;overflow:auto;padding:20px}@media(max-width: 599px){.Q4flbvKEPN6Jx9Cob22I{padding:20px 20px 0 20px;max-height:80px}}.hK3soC6m563VuiLnNutq{background:var(--color-white);overflow:auto;padding:20px}@media(max-width: 599px){.hK3soC6m563VuiLnNutq{height:100%}}.guqqOMHeZE56Bg2p5Ad8{font-size:var(--font-size-body-2);color:var(--color-blue);margin-bottom:12px;font-weight:var(--font-weight-semibold);text-transform:uppercase}@media(min-width: 768px){.guqqOMHeZE56Bg2p5Ad8{font-size:var(--font-size-body-4);margin-bottom:36px}}.wRCQxnQc_MZGDeiY1bcL{padding-bottom:15px;font-weight:var(--font-weight-bold);font-size:var(--font-size-body-2)}@media(min-width: 768px){.wRCQxnQc_MZGDeiY1bcL{font-size:var(--font-size-body-4)}}.JRmeFBsSP1f1HJwarMpc{cursor:pointer}.Y6yF3VITdrKdQzDtqTZX{padding-left:16px}.Y6yF3VITdrKdQzDtqTZX .wRCQxnQc_MZGDeiY1bcL{font-weight:var(--font-weight-semibold)}.Y6yF3VITdrKdQzDtqTZX .aKZCkmPsc0LiPdj3sEeG .Y6yF3VITdrKdQzDtqTZX .wRCQxnQc_MZGDeiY1bcL{font-weight:var(--font-weight-light)}.aKZCkmPsc0LiPdj3sEeG{display:block}.U_3frSKmaOQyTCb9oBkg{color:var(--color-orange)}.GEZDeWAneRLnZQyf4y9l{margin-bottom:16px}@media(min-width: 768px){.GEZDeWAneRLnZQyf4y9l{margin-bottom:24px}}.YcOvMLXE7vKR2Y0_BPRr{font-size:var(--font-size-body-3);color:var(--color-blue);font-weight:var(--font-weight-semibold);margin-bottom:8px}@media(min-width: 768px){.YcOvMLXE7vKR2Y0_BPRr{font-size:var(--font-size-body-4)}}.vlMh_CCr45wbKV4fMhJx{font-size:var(--font-size-body-2);font-weight:var(--font-weight-light);color:var(--color-black)}@media(min-width: 768px){.vlMh_CCr45wbKV4fMhJx{font-size:var(--font-size-body-3)}}.NZ_ohAxNxhxZsCBr2PRA{display:flex;flex-direction:row;gap:12px;margin-bottom:24px}@media(min-width: 768px){.NZ_ohAxNxhxZsCBr2PRA{margin-bottom:36px}}.CArVrMs2ac6JvM1VGLSw{flex-direction:column;border-bottom:1px solid rgba(var(--color-blue-rgb), 0.2);margin-bottom:24px}.CArVrMs2ac6JvM1VGLSw .OpqJ6gab6fPIq3KyckPO{width:100%;border-bottom:none}.CArVrMs2ac6JvM1VGLSw .E9TXHxbgaI6LGMZHG9bV{width:100%;height:auto}.CArVrMs2ac6JvM1VGLSw .E9TXHxbgaI6LGMZHG9bV .ant-input{min-height:140px}.CArVrMs2ac6JvM1VGLSw .E9TXHxbgaI6LGMZHG9bV .ant-form-item{margin-bottom:16px}.OpqJ6gab6fPIq3KyckPO{width:100%;border-bottom:1px solid rgba(var(--color-blue-rgb), 0.2)}.E9TXHxbgaI6LGMZHG9bV{width:100px;height:50px;align-self:flex-end}.xdLvKgnXC4tm2aa6tAap{font-size:var(--font-size-body-2);font-weight:var(--font-weight-semibold);margin-bottom:8px}@media(min-width: 768px){.xdLvKgnXC4tm2aa6tAap{font-size:var(--font-size-body-3)}}.r5obiTduSUBq1uL7oceW{font-weight:var(--font-weight-light);margin-bottom:4px}.CHFuXtnqohUXV_oCAEKD{font-weight:var(--font-weight-light);margin-top:20px;display:flex;gap:4px}._Bw2YaPxzqqQRpeCMde6{word-wrap:break-word;white-space:pre-wrap;max-height:100px;overflow:auto}.bIiuhNuRh643knAaSeyC{font-weight:var(--font-weight-semibold)}.DdqSfNoeh7KPEQiD0Zpe{margin-bottom:unset;width:100%}.sZh7rUlP4vu0LIE2fcab{font-weight:var(--font-weight-light);margin-bottom:4px;margin-top:16px}.mdSJ5YgFou8MwSkVypYb{margin-left:46px;margin-top:12px}.AvKaftoXc2t7E53rqtq6{display:flex;flex-direction:row;gap:4px;margin-top:12px;margin-bottom:12px;width:100%}.SgT02NKW7ogui8ih5ehj{color:var(--color-black);background-color:var(--color-white);border:1px var(--color-black) solid;min-width:100px;height:20px;font-size:10px;padding:unset}@media(max-width: 767px){.SgT02NKW7ogui8ih5ehj{min-width:0px}}.SgT02NKW7ogui8ih5ehj:hover{background-color:var(--color-grey-light);color:var(--color-black) !important;border:1px var(--color-black) solid !important}.WPOztO5lxS5PXlAz75dE{color:var(--color-black);background-color:var(--color-white);border:1px var(--color-black) solid;min-width:100px;height:20px;font-size:10px;padding:unset}@media(max-width: 767px){.WPOztO5lxS5PXlAz75dE{min-width:0px}}.WPOztO5lxS5PXlAz75dE:hover{background-color:var(--color-grey-light);color:var(--color-black) !important;border:1px var(--color-black) solid !important}.ant-upload-wrapper{line-height:12px}.ant-upload-wrapper .ant-upload-list .ant-upload-list-item{max-width:100px}
|
|
26
26
|
.lvTuRa6cS5HtBGBJWfyE{color:var(--color-black);background-color:var(--color-white);border:1px var(--color-black) solid;min-width:100px;height:20px;font-size:10px;padding:unset}@media(max-width: 767px){.lvTuRa6cS5HtBGBJWfyE{min-width:0px}}.lvTuRa6cS5HtBGBJWfyE:hover{background-color:var(--color-grey-light);color:var(--color-black) !important;border:1px var(--color-black) solid !important}.ant-upload-wrapper{line-height:12px}.ant-upload-wrapper .ant-upload-list .ant-upload-list-item{max-width:100px}
|
|
27
27
|
.qaO99d3JMWSM8DLS1LvS{display:flex;flex-direction:column;background-color:var(--white-color);padding:24px;color:var(--color-black);width:150px;word-wrap:break-word}.G3bzjyAQXu8uaFGhNMLG{width:150px}.Zv6hI_F5yvuBDnPK8u2C{color:var(--color-blue) !important;font-size:var(--font-size-body-5);font-weight:var(--font-weight-bold)}.JxTKMPM3nEvZB42uuV1e{font-weight:var(--font-weight-semibold);font-size:var(--font-size-label);margin-top:0px}.JKKhO8apIWdMp0JLU0iD{font-weight:var(--font-weight-bold);font-size:var(--font-size-body-base)}.GqgjW40ocDFW4xi4Mszm{font-weight:var(--font-weight-regular);font-size:var(--font-size-label)}
|
|
28
28
|
.zsvRMmfrmqBj9iRjtQpO{display:grid;grid-template-columns:300px auto;gap:16px;height:100%}.pb4QP8qfuDG2T6wfXkUC{overflow:auto;background:#ebeced}.gP05vt1R1r67eWteznvr{overflow:auto;background:var(--color-white)}.pb4QP8qfuDG2T6wfXkUC,.gP05vt1R1r67eWteznvr{padding:20px}.btRPAI8631Q2XXYP6nZ7{font-size:var(--font-size-body-4);color:var(--color-blue);margin-bottom:36px;font-weight:var(--font-weight-semibold);text-transform:uppercase}.SbA9dHRh1JSG4xp1Aqie{padding-bottom:15px;font-weight:var(--font-weight-bold);font-size:var(--font-size-body-4)}.ZsQJQ__gMgYGYau95r8U{cursor:pointer}.PPF4FGgo1aDsBm13cNj8{padding-left:16px}.PPF4FGgo1aDsBm13cNj8 .SbA9dHRh1JSG4xp1Aqie{font-weight:var(--font-weight-semibold)}.PPF4FGgo1aDsBm13cNj8 .QEsWraNRLBQux4k4KNAE .PPF4FGgo1aDsBm13cNj8 .SbA9dHRh1JSG4xp1Aqie{font-weight:var(--font-weight-light)}.QEsWraNRLBQux4k4KNAE{display:block}.VQ09MnwMcIzpW1iabb4A{color:var(--color-orange)}.cmcMqdZJEUjlu34ag1Md{margin-bottom:32px;display:flex;justify-content:space-between;align-items:center}.i_U4mKg0Sxl4EvVzgv0L{font-size:var(--font-size-body-4);color:var(--color-blue);font-weight:var(--font-weight-semibold);margin-bottom:8px}.Tnut0v2OeSU0e7XwrCXI{font-size:var(--font-size-body-3);font-weight:var(--font-weight-light);color:var(--color-black)}.W2hZQFsItdqKPcBu4UrA{display:flex;flex-direction:row;gap:36px;margin-bottom:36px;border-bottom:1px solid rgba(var(--color-blue-rgb), 0.2);padding-bottom:4px}.tIVLagS5XxibJ4PBCNpp{flex-direction:column;border-bottom:1px solid rgba(var(--color-blue-rgb), 0.2);margin-bottom:24px}.tIVLagS5XxibJ4PBCNpp .RenA6EOwu2sFJGoqYbYz{width:100%;border-bottom:none}.tIVLagS5XxibJ4PBCNpp .N0_FbFF8bLYtEcr8_2B9{width:100%;height:auto}.tIVLagS5XxibJ4PBCNpp .N0_FbFF8bLYtEcr8_2B9 .ant-input{min-height:140px}.tIVLagS5XxibJ4PBCNpp .N0_FbFF8bLYtEcr8_2B9 .ant-form-item{margin-bottom:16px}.RenA6EOwu2sFJGoqYbYz{width:calc(100% - 149px);display:flex;align-items:center}.N0_FbFF8bLYtEcr8_2B9{width:130px;min-width:130px;align-self:flex-end;display:flex;justify-content:space-between;padding-right:15px}.GaBbmrXh2G03hz6ha5vB{display:none}.QYrBVtDmfSFNxJFztXVl{min-width:130px;align-self:flex-end;display:flex;justify-content:space-between;gap:34px}.V_qOYQwuQ9mXa8aniYgl{font-size:var(--font-size-body-3);font-weight:var(--font-weight-medium)}.pvSzNydRHp3dkh3WrOeA{font-weight:var(--font-weight-light);margin-bottom:4px}.Ehgx39o1k8blh7IDJ2mg{padding:6px;font-size:var(--font-size-body-4);font-weight:var(--font-weight-medium);color:var(--color-white);border-radius:5px;display:inline-flex;letter-spacing:3px}.ifR0bkZtK7yVHD6YZ_Zz{background-color:rgba(217,217,217,.5);border-radius:5px;padding:8px 15px;display:flex;flex-direction:row;gap:50px;align-items:center}.NL5HeemkTIg0oPHDXVtO{font-size:var(--font-size-body-3);font-weight:var(--font-weight-medium);color:var(--color-black)}.koYqEMOf6wzxWpwvrFkL{display:flex;justify-content:space-between;margin-bottom:12px;margin-left:16px;gap:40px;width:100%}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { UploadFile } from 'antd';
|
|
1
2
|
import React from 'react';
|
|
2
3
|
interface CategoryResponse {
|
|
3
4
|
data: any;
|
|
@@ -7,6 +8,7 @@ interface CategoryResponse {
|
|
|
7
8
|
selectYesNoOption?: any;
|
|
8
9
|
addAction?: () => void;
|
|
9
10
|
addButtons?: boolean;
|
|
11
|
+
fileList?: React.Dispatch<React.SetStateAction<Record<string, UploadFile<any>[]>>>;
|
|
10
12
|
}
|
|
11
13
|
export declare const CategoryResponse: React.ForwardRefExoticComponent<CategoryResponse & React.RefAttributes<unknown>>;
|
|
12
14
|
export {};
|
package/package.json
CHANGED
|
@@ -2,6 +2,7 @@ import { Meta, Story } from "@storybook/react";
|
|
|
2
2
|
import { Button } from "components/Button";
|
|
3
3
|
import { useEffect, useRef, useState } from "react";
|
|
4
4
|
import { CategoryResponse } from '.';
|
|
5
|
+
import { UploadFile } from "antd";
|
|
5
6
|
|
|
6
7
|
export default {
|
|
7
8
|
title: 'CategoryResponse',
|
|
@@ -13,6 +14,7 @@ const Template: Story<any> = (args) => {
|
|
|
13
14
|
const categoryResponseRef = useRef(null);
|
|
14
15
|
const [hasNext, setHasNext] = useState(true);
|
|
15
16
|
const [hasPrevious, setHasPrevious] = useState(false);
|
|
17
|
+
const [fileLists, setFileLists] = useState<Record<string, UploadFile[]>>({});
|
|
16
18
|
|
|
17
19
|
const handleNextCategoryAvailabilityChange = (hasNext: boolean) => {
|
|
18
20
|
setHasNext(hasNext);
|
|
@@ -44,6 +46,7 @@ const Template: Story<any> = (args) => {
|
|
|
44
46
|
onNextCategoryAvailabilityChange={handleNextCategoryAvailabilityChange}
|
|
45
47
|
onPreviousCategoryAvailabilityChange={handlePreviousCategoryAvailabilityChange}
|
|
46
48
|
addButtons
|
|
49
|
+
fileList={setFileLists}
|
|
47
50
|
>
|
|
48
51
|
</CategoryResponse>
|
|
49
52
|
</div>
|
|
@@ -18,6 +18,7 @@ interface CategoryResponse {
|
|
|
18
18
|
selectYesNoOption?: any;
|
|
19
19
|
addAction?: () => void;
|
|
20
20
|
addButtons?: boolean;
|
|
21
|
+
fileList?: React.Dispatch<React.SetStateAction<Record<string, UploadFile<any>[]>>>;
|
|
21
22
|
};
|
|
22
23
|
|
|
23
24
|
type Category = {
|
|
@@ -27,10 +28,6 @@ type Category = {
|
|
|
27
28
|
Children?: Category[];
|
|
28
29
|
};
|
|
29
30
|
|
|
30
|
-
function generateRandomString() {
|
|
31
|
-
return Math.random().toString(36).substring(2, 14);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
31
|
const updateCategoryAnswers = (CategoryAnswers: any[], categoryToUpdate: any, updatedQuestions: any) => {
|
|
35
32
|
CategoryAnswers.forEach((category: any) => {
|
|
36
33
|
if (category.Data.CategoryId === categoryToUpdate.CategoryId) {
|
|
@@ -144,6 +141,12 @@ export const CategoryResponse = React.forwardRef((props: CategoryResponse, ref)
|
|
|
144
141
|
}));
|
|
145
142
|
};
|
|
146
143
|
|
|
144
|
+
useEffect(() => {
|
|
145
|
+
if (props.fileList) {
|
|
146
|
+
props.fileList(fileLists);
|
|
147
|
+
}
|
|
148
|
+
}, [fileLists]);
|
|
149
|
+
|
|
147
150
|
const onPreview = async (file: UploadFile) => {
|
|
148
151
|
let src = file.url as string;
|
|
149
152
|
if (!src) {
|
|
@@ -239,25 +242,6 @@ export const CategoryResponse = React.forwardRef((props: CategoryResponse, ref)
|
|
|
239
242
|
props.serverReadyData(localData);
|
|
240
243
|
}, [localData]);
|
|
241
244
|
|
|
242
|
-
// useEffect(() => {
|
|
243
|
-
// const initialFileLists: Record<string, UploadFile[]> = {};
|
|
244
|
-
|
|
245
|
-
// localData.CategoryAnswers.forEach((category: any) => {
|
|
246
|
-
// category.Data.Questions.forEach((question: any, questionIndex: number) => {
|
|
247
|
-
// if (question.Image && question.Image.length > 0) {
|
|
248
|
-
// initialFileLists[`${category.Data.CategoryId}_${questionIndex}`] = question.Files.map((file: any) => ({
|
|
249
|
-
// uid: file.uid || generateRandomString(), // Use a unique id or generate one
|
|
250
|
-
// name: file.name,
|
|
251
|
-
// status: 'done',
|
|
252
|
-
// url: file.url || file.response?.url, // Ensure the file has a URL for preview
|
|
253
|
-
// }));
|
|
254
|
-
// }
|
|
255
|
-
// });
|
|
256
|
-
// });
|
|
257
|
-
|
|
258
|
-
// setFileLists(initialFileLists);
|
|
259
|
-
// }, [localData]);
|
|
260
|
-
|
|
261
245
|
useEffect(() => {
|
|
262
246
|
const hasNext = hasCategory(currentKey, localData.CategoryAnswers, 'next');
|
|
263
247
|
props.onNextCategoryAvailabilityChange(hasNext);
|
|
@@ -314,11 +298,15 @@ export const CategoryResponse = React.forwardRef((props: CategoryResponse, ref)
|
|
|
314
298
|
{(form.getFieldValue(`Questions`)?.[index].Note || isNoteVisible) &&
|
|
315
299
|
<div className={styles.noteContainer}>
|
|
316
300
|
<span className={styles.note}>{t('components.categoryResponse.note')}: </span>
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
301
|
+
{isNoteVisible?.categoryIndex === currentKey && isNoteVisible?.questionIndex === index ? (
|
|
302
|
+
<Form.Item name={["Questions", index, "Note"]} className={styles.form}>
|
|
303
|
+
<TextArea onBlur={() => setIsNoteVisible(null)} />
|
|
304
|
+
</Form.Item>
|
|
305
|
+
) : (
|
|
306
|
+
<div className={styles.noteText}>{form.getFieldValue(`Questions`)?.[index].Note}</div>
|
|
307
|
+
)}
|
|
321
308
|
</div>
|
|
309
|
+
|
|
322
310
|
}
|
|
323
311
|
|
|
324
312
|
{question?.ActionNames &&
|
|
@@ -337,9 +325,9 @@ export const CategoryResponse = React.forwardRef((props: CategoryResponse, ref)
|
|
|
337
325
|
<div className={styles.actionsButtonsContainer}>
|
|
338
326
|
<Upload
|
|
339
327
|
listType={"text"}
|
|
340
|
-
fileList={fileLists[`${selectedCategory.Data.CategoryId}_${
|
|
328
|
+
fileList={fileLists[`${selectedCategory.Data.CategoryId}_${question.QuestionId}`] || []}
|
|
341
329
|
beforeUpload={() => false} // Prevent automatic upload
|
|
342
|
-
onChange={({ fileList }) => handleFileChange(fileList, selectedCategory.Data.CategoryId,
|
|
330
|
+
onChange={({ fileList }) => handleFileChange(fileList, selectedCategory.Data.CategoryId, question.QuestionId)}
|
|
343
331
|
onPreview={onPreview}
|
|
344
332
|
>
|
|
345
333
|
<Button customClass={styles.loadFile}>{t('components.upload.loadFile')}</Button>
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
.question {
|
|
157
|
-
width:
|
|
157
|
+
width: 100%;
|
|
158
158
|
border-bottom: 1px solid rgba(var(--color-blue-rgb), .2);
|
|
159
159
|
}
|
|
160
160
|
|
|
@@ -183,7 +183,14 @@
|
|
|
183
183
|
font-weight: var(--font-weight-light);
|
|
184
184
|
margin-top: 20px;
|
|
185
185
|
display: flex;
|
|
186
|
-
gap: 4px
|
|
186
|
+
gap: 4px;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.noteText {
|
|
190
|
+
word-wrap: break-word;
|
|
191
|
+
white-space: pre-wrap;
|
|
192
|
+
max-height: 100px;
|
|
193
|
+
overflow: auto;
|
|
187
194
|
}
|
|
188
195
|
|
|
189
196
|
.note {
|
|
@@ -212,6 +219,7 @@
|
|
|
212
219
|
gap: 4px;
|
|
213
220
|
margin-top: 12px;
|
|
214
221
|
margin-bottom: 12px;
|
|
222
|
+
width: 100%;
|
|
215
223
|
}
|
|
216
224
|
|
|
217
225
|
.actionsButtons {
|
|
@@ -6,6 +6,7 @@ import { TweenOneGroup } from 'rc-tween-one';
|
|
|
6
6
|
import styles from './styles.module.scss';
|
|
7
7
|
import classNames from 'classnames';
|
|
8
8
|
import { t } from 'i18next';
|
|
9
|
+
import { Switch } from 'antd';
|
|
9
10
|
|
|
10
11
|
export interface customTagProps extends TagProps {
|
|
11
12
|
customTags?: string[];
|
|
@@ -14,6 +15,7 @@ export interface customTagProps extends TagProps {
|
|
|
14
15
|
advancedTags?: { display: string; value: string }[];
|
|
15
16
|
addExtraTags?: string;
|
|
16
17
|
disable?: boolean;
|
|
18
|
+
addSwitch?: boolean;
|
|
17
19
|
}
|
|
18
20
|
|
|
19
21
|
export const TagField = (props: customTagProps) => {
|
|
@@ -22,6 +24,7 @@ export const TagField = (props: customTagProps) => {
|
|
|
22
24
|
const [tags, setTags] = useState<string[]>(customTags.filter(tag => !tag.includes('=')));
|
|
23
25
|
const [inputVisible, setInputVisible] = useState<boolean>(false);
|
|
24
26
|
const [inputValue, setInputValue] = useState('');
|
|
27
|
+
// const [switchValue, setSwitchValue] = useState<boolean>(false);
|
|
25
28
|
const inputRef = useRef<InputRef>(null);
|
|
26
29
|
const [advancedTagList, setAdvancedTagList] = useState<Array<{ display: string; value: string }>>([]);
|
|
27
30
|
const [allTags, setAllTags] = useState<string[]>(customTags.filter(tag => !tag.includes('=')));
|
|
@@ -57,7 +60,12 @@ export const TagField = (props: customTagProps) => {
|
|
|
57
60
|
if (inputValue && allTags.indexOf(inputValue) === -1) {
|
|
58
61
|
const [, value] = inputValue.split('=');
|
|
59
62
|
|
|
60
|
-
|
|
63
|
+
const newAllTags = props.addSwitch ? [inputValue] : [...allTags, inputValue];
|
|
64
|
+
const newTags = props.addSwitch ? [inputValue] : [...tags, inputValue];
|
|
65
|
+
|
|
66
|
+
setAllTags(newAllTags);
|
|
67
|
+
setTags(newTags);
|
|
68
|
+
|
|
61
69
|
const matchedFilter = advancedTags && advancedTags.find(filter => filter.display === inputValue.split('=')[0]);
|
|
62
70
|
|
|
63
71
|
if (matchedFilter && !advancedTagList.some(tag => tag.display === inputValue)) {
|
|
@@ -67,6 +75,8 @@ export const TagField = (props: customTagProps) => {
|
|
|
67
75
|
};
|
|
68
76
|
|
|
69
77
|
setAdvancedTagList([...advancedTagList, newTag]);
|
|
78
|
+
} else if (props.addSwitch) {
|
|
79
|
+
setTags([inputValue]);
|
|
70
80
|
} else {
|
|
71
81
|
setTags([...tags, inputValue]);
|
|
72
82
|
}
|
|
@@ -112,10 +122,11 @@ export const TagField = (props: customTagProps) => {
|
|
|
112
122
|
useEffect(() => {
|
|
113
123
|
// Adiciona a nova tag ao allTags usando a prop addExtraTags
|
|
114
124
|
if (props.addExtraTags && typeof props.addExtraTags === "string") {
|
|
115
|
-
|
|
116
|
-
|
|
125
|
+
const newTags = props.addSwitch ? [props.addExtraTags] : [...tags, props.addExtraTags];
|
|
126
|
+
setTags(newTags);
|
|
127
|
+
setAllTags(newTags);
|
|
117
128
|
}
|
|
118
|
-
}, [props.addExtraTags]);
|
|
129
|
+
}, [props.addExtraTags, props.addSwitch]);
|
|
119
130
|
|
|
120
131
|
const forMap = (tag: string) => {
|
|
121
132
|
const tagElem = (
|
|
@@ -150,24 +161,34 @@ export const TagField = (props: customTagProps) => {
|
|
|
150
161
|
|
|
151
162
|
return (
|
|
152
163
|
<div className={styles.tagfield}>
|
|
153
|
-
{
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
164
|
+
<div className={styles.switchInputContainer}>
|
|
165
|
+
{inputVisible && (
|
|
166
|
+
<Input
|
|
167
|
+
ref={inputRef}
|
|
168
|
+
type="text"
|
|
169
|
+
size="small"
|
|
170
|
+
value={inputValue}
|
|
171
|
+
onChange={handleInputChange}
|
|
172
|
+
onKeyDown={handleKeyDown}
|
|
173
|
+
onPressEnter={handleInputConfirm}
|
|
174
|
+
className={styles['tagfield__input']}
|
|
175
|
+
disabled={disable}
|
|
176
|
+
/>
|
|
177
|
+
)}
|
|
178
|
+
|
|
179
|
+
{!inputVisible && (
|
|
180
|
+
<Tag onClick={showInput} className={classNames(styles['tagfield__creator'], 'site-tag-plus')}>
|
|
181
|
+
<SearchOutlined /> {t('components.tag.search')}
|
|
182
|
+
</Tag>
|
|
183
|
+
)}
|
|
184
|
+
|
|
185
|
+
{/* <Switch
|
|
186
|
+
checked={switchValue}
|
|
187
|
+
onChange={() => setSwitchValue(!switchValue)}
|
|
188
|
+
className={styles.switch}
|
|
189
|
+
/> */}
|
|
190
|
+
</div>
|
|
191
|
+
|
|
171
192
|
{
|
|
172
193
|
advancedTags &&
|
|
173
194
|
<div style={{ marginTop: 16, marginBottom: 16 }} className={styles.advancedTagsWrapper}>
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
.tagfield {
|
|
2
2
|
contain: inline-size;
|
|
3
3
|
|
|
4
|
+
:global {
|
|
5
|
+
.ant-switch.ant-switch-checked .ant-switch-handle {
|
|
6
|
+
inset-inline-start: calc(100% - 14px);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
4
10
|
.tagsContainer {
|
|
5
11
|
margin-top: 16px;
|
|
6
12
|
|
|
@@ -16,6 +22,7 @@
|
|
|
16
22
|
gap: 12px;
|
|
17
23
|
padding: 16px;
|
|
18
24
|
margin-inline-end: 0;
|
|
25
|
+
width: 100%;
|
|
19
26
|
|
|
20
27
|
:global {
|
|
21
28
|
.ant-input {
|
|
@@ -43,14 +50,14 @@
|
|
|
43
50
|
padding-right: 24px;
|
|
44
51
|
min-height: 34px;
|
|
45
52
|
}
|
|
46
|
-
|
|
53
|
+
|
|
47
54
|
.anticon-close {
|
|
48
55
|
color: var(--color-white);
|
|
49
56
|
font-size: 12px;
|
|
50
57
|
position: absolute;
|
|
51
58
|
right: 4px;
|
|
52
59
|
top: 10px;
|
|
53
|
-
|
|
60
|
+
|
|
54
61
|
&:hover {
|
|
55
62
|
color: var(--color-black);
|
|
56
63
|
}
|
|
@@ -58,6 +65,46 @@
|
|
|
58
65
|
}
|
|
59
66
|
}
|
|
60
67
|
|
|
68
|
+
.switch {
|
|
69
|
+
background-color: var(--color-grey) !important;
|
|
70
|
+
|
|
71
|
+
&[aria-checked="true"] {
|
|
72
|
+
background: var(--color-orange) !important;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@media (max-width: 768px) {
|
|
76
|
+
min-width: 28px;
|
|
77
|
+
height: 16px;
|
|
78
|
+
line-height: 16px;
|
|
79
|
+
|
|
80
|
+
:global {
|
|
81
|
+
.ant-switch-handle {
|
|
82
|
+
width: 12px;
|
|
83
|
+
height: 12px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
.ant-switch-inner {
|
|
89
|
+
padding-inline-start: 18px;
|
|
90
|
+
padding-inline-end: 6px;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.switchInputContainer {
|
|
97
|
+
display: flex;
|
|
98
|
+
align-items: center;
|
|
99
|
+
gap: 32px;
|
|
100
|
+
width: calc(100% - 40px);
|
|
101
|
+
|
|
102
|
+
@media (max-width: 768px) {
|
|
103
|
+
gap: 12px;
|
|
104
|
+
width: calc(100% - 20px);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
61
108
|
.advancedTagsWrapper {
|
|
62
109
|
display: flex;
|
|
63
110
|
gap: 12px;
|
|
@@ -74,4 +121,4 @@
|
|
|
74
121
|
cursor: pointer;
|
|
75
122
|
}
|
|
76
123
|
}
|
|
77
|
-
}
|
|
124
|
+
}
|