@wizishop/img-manager 0.2.109 → 14.0.9
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/assets/i18n/en.json +1 -1
- package/assets/i18n/fr.json +1 -1
- package/esm2020/lib/animations/easeInOut/ease-in-out.animation.mjs +12 -0
- package/esm2020/lib/animations/insertRemove/insert-remove.animation.mjs +9 -0
- package/esm2020/lib/animations/listAnnimation/list.animation.mjs +16 -0
- package/esm2020/lib/components/canva-btn/canva-btn.component.mjs +67 -0
- package/esm2020/lib/components/images-view/images-actions-handler.mjs +151 -0
- package/esm2020/lib/components/images-view/images-view.component.mjs +474 -0
- package/esm2020/lib/components/images-view/mosaic-view/img-card/img-card.component.mjs +66 -0
- package/esm2020/lib/components/images-view/mosaic-view/mosaic-view.component.mjs +68 -0
- package/esm2020/lib/components/images-view/table-view/table-view.component.mjs +48 -0
- package/esm2020/lib/components/img-editor/cropper/cropper.component.mjs +307 -0
- package/esm2020/lib/components/img-editor/img-editor.component.mjs +109 -0
- package/esm2020/lib/components/img-editor/info-section/info-section.component.mjs +54 -0
- package/esm2020/lib/components/img-selection/img-selection.component.mjs +59 -0
- package/esm2020/lib/components/img-tabs/img-tabs.component.mjs +122 -0
- package/esm2020/lib/components/img-upload/img-upload.component.mjs +118 -0
- package/esm2020/lib/components/loader/loader.component.mjs +21 -0
- package/esm2020/lib/components/pexels-lib/pexels-lib.component.mjs +200 -0
- package/esm2020/lib/components/shared/alert/alert.component.mjs +27 -0
- package/esm2020/lib/components/shared/checkbox/checkbox.component.mjs +52 -0
- package/esm2020/lib/components/shared/dropdown/dropdown.component.mjs +21 -0
- package/esm2020/lib/components/shared/input-search/input-search.component.mjs +54 -0
- package/esm2020/lib/components/shared/pagination/page-selector/page-selector.component.mjs +49 -0
- package/esm2020/lib/components/shared/pagination/pagination.component.mjs +49 -0
- package/esm2020/lib/components/shared/select/call-to-action.model.mjs +2 -0
- package/esm2020/lib/components/shared/select/select-items.dto.mjs +2 -0
- package/esm2020/lib/components/shared/select/select.component.mjs +110 -0
- package/esm2020/lib/components/shared/table/table.component.mjs +116 -0
- package/esm2020/lib/components/upload-list/upload-list.component.mjs +79 -0
- package/esm2020/lib/directives/abstract-debounce/abstract-debounce.directive.mjs +37 -0
- package/esm2020/lib/directives/abstract-debounce/debounce-keyup.directive.mjs +24 -0
- package/esm2020/lib/directives/auto-hide.directive.mjs +48 -0
- package/esm2020/lib/directives/copy-to-clipboard.directive.mjs +37 -0
- package/esm2020/lib/directives/drag-drop.directive.mjs +57 -0
- package/esm2020/lib/directives/loading.directive.mjs +42 -0
- package/esm2020/lib/directives/table/checkBoxRow.directive.mjs +114 -0
- package/esm2020/lib/directives/table/column.directive.mjs +45 -0
- package/esm2020/lib/directives/table/columnHeader.directive.mjs +204 -0
- package/esm2020/lib/directives/table/raw.directive.mjs +31 -0
- package/esm2020/lib/directives/zindex-toggle.directive.mjs +42 -0
- package/esm2020/lib/dto/ImgManagerDisplayConfig.dto.mjs +2 -0
- package/esm2020/lib/dto/canva-create-design.dto.mjs +4 -0
- package/esm2020/lib/dto/canva.dto.mjs +4 -0
- package/esm2020/lib/dto/config/apis/api.dto.mjs +9 -0
- package/esm2020/lib/dto/config/external/external-config.dto.mjs +3 -0
- package/esm2020/lib/dto/config/image-cdn/image-cdn-config.dto.mjs +10 -0
- package/esm2020/lib/dto/export-dtos.api.mjs +11 -0
- package/esm2020/lib/dto/img-editor-config.dto.mjs +2 -0
- package/esm2020/lib/dto/img-manager.dto.mjs +2 -0
- package/esm2020/lib/dto/pexels-img.dto.mjs +2 -0
- package/esm2020/lib/dto/picture-name-update.dto.mjs +2 -0
- package/esm2020/lib/dto/stateDisplayed.dto.mjs +2 -0
- package/esm2020/lib/dto/tabDisplayed.dto.mjs +2 -0
- package/esm2020/lib/dto/wizi-block-media.dto.mjs +3 -0
- package/esm2020/lib/pipes/images/img-src.pipe.mjs +28 -0
- package/esm2020/lib/pipes/number-to-array.pipe.mjs +16 -0
- package/esm2020/lib/pipes/pagination/array-total-pages/array-pages.pipe.mjs +28 -0
- package/esm2020/lib/pipes/pagination/large-number-of-page/large-number-of-page.pipe.mjs +53 -0
- package/esm2020/lib/pipes/pagination/text/custom-text.pipe.mjs +35 -0
- package/esm2020/lib/pipes/pagination/total-pages/is-last-page.pipe.mjs +25 -0
- package/esm2020/lib/pipes/select/select-filters.pipe.mjs +19 -0
- package/esm2020/lib/services/alert.service.mjs +53 -0
- package/esm2020/lib/services/canva.service.mjs +159 -0
- package/esm2020/lib/services/config/external-config.service.mjs +49 -0
- package/esm2020/lib/services/config/img-cdn.service.mjs +28 -0
- package/esm2020/lib/services/dom.service.mjs +36 -0
- package/{esm2015/lib/services/img-event.service.js → esm2020/lib/services/img-event.service.mjs} +11 -12
- package/esm2020/lib/services/img-manager.service.mjs +138 -0
- package/{esm2015/lib/services/img-selection.service.js → esm2020/lib/services/img-selection.service.mjs} +11 -12
- package/esm2020/lib/services/pexels.service.mjs +62 -0
- package/esm2020/lib/services/rename-picture.service.mjs +68 -0
- package/esm2020/lib/services/table/filters-table.service.mjs +63 -0
- package/{esm2015/lib/services/user-settings.service.js → esm2020/lib/services/user-settings.service.mjs} +11 -12
- package/esm2020/lib/wz-img-manager.component.mjs +186 -0
- package/esm2020/lib/wz-img-manager.module.mjs +193 -0
- package/esm2020/public-api.mjs +11 -0
- package/esm2020/wizishop-img-manager.mjs +5 -0
- package/fesm2015/wizishop-img-manager.mjs +4134 -0
- package/fesm2015/wizishop-img-manager.mjs.map +1 -0
- package/fesm2020/wizishop-img-manager.mjs +4140 -0
- package/fesm2020/wizishop-img-manager.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/canva-btn/canva-btn.component.d.ts +9 -6
- package/lib/components/images-view/images-actions-handler.d.ts +3 -0
- package/lib/components/images-view/images-view.component.d.ts +3 -0
- package/lib/components/images-view/mosaic-view/img-card/img-card.component.d.ts +3 -0
- package/lib/components/images-view/mosaic-view/mosaic-view.component.d.ts +3 -0
- package/lib/components/images-view/table-view/table-view.component.d.ts +3 -0
- package/lib/components/img-editor/cropper/cropper.component.d.ts +6 -3
- package/lib/components/img-editor/img-editor.component.d.ts +3 -0
- package/lib/components/img-editor/info-section/info-section.component.d.ts +3 -0
- package/lib/components/img-selection/img-selection.component.d.ts +3 -0
- package/lib/components/img-tabs/img-tabs.component.d.ts +3 -0
- package/lib/components/img-upload/img-upload.component.d.ts +4 -1
- package/lib/components/loader/loader.component.d.ts +3 -0
- package/lib/components/pexels-lib/pexels-lib.component.d.ts +3 -0
- package/lib/components/shared/alert/alert.component.d.ts +3 -0
- package/lib/components/shared/checkbox/checkbox.component.d.ts +3 -0
- package/lib/components/shared/dropdown/dropdown.component.d.ts +3 -0
- package/lib/components/shared/input-search/input-search.component.d.ts +3 -0
- package/lib/components/shared/pagination/page-selector/page-selector.component.d.ts +3 -0
- package/lib/components/shared/pagination/pagination.component.d.ts +3 -0
- package/lib/components/shared/select/select.component.d.ts +3 -0
- package/lib/components/shared/table/table.component.d.ts +3 -0
- package/lib/components/upload-list/upload-list.component.d.ts +3 -0
- package/lib/directives/abstract-debounce/abstract-debounce.directive.d.ts +3 -0
- package/lib/directives/abstract-debounce/debounce-keyup.directive.d.ts +3 -0
- package/lib/directives/auto-hide.directive.d.ts +3 -0
- package/lib/directives/copy-to-clipboard.directive.d.ts +3 -0
- package/lib/directives/drag-drop.directive.d.ts +3 -0
- package/lib/directives/loading.directive.d.ts +3 -0
- package/lib/directives/table/checkBoxRow.directive.d.ts +3 -0
- package/lib/directives/table/column.directive.d.ts +3 -0
- package/lib/directives/table/columnHeader.directive.d.ts +3 -0
- package/lib/directives/table/raw.directive.d.ts +3 -0
- package/lib/directives/zindex-toggle.directive.d.ts +3 -0
- package/lib/dto/pexels-img.dto.d.ts +1 -0
- package/lib/pipes/images/img-src.pipe.d.ts +3 -0
- package/lib/pipes/number-to-array.pipe.d.ts +3 -0
- package/lib/pipes/pagination/array-total-pages/array-pages.pipe.d.ts +3 -0
- package/lib/pipes/pagination/large-number-of-page/large-number-of-page.pipe.d.ts +7 -1
- package/lib/pipes/pagination/text/custom-text.pipe.d.ts +3 -0
- package/lib/pipes/pagination/total-pages/is-last-page.pipe.d.ts +3 -0
- package/lib/pipes/select/select-filters.pipe.d.ts +3 -0
- package/lib/services/alert.service.d.ts +3 -0
- package/lib/services/canva.service.d.ts +3 -0
- package/lib/services/config/external-config.service.d.ts +3 -0
- package/lib/services/config/img-cdn.service.d.ts +3 -0
- package/lib/services/dom.service.d.ts +3 -0
- package/lib/services/img-event.service.d.ts +3 -0
- package/lib/services/img-manager.service.d.ts +5 -2
- package/lib/services/img-selection.service.d.ts +3 -0
- package/lib/services/pexels.service.d.ts +7 -4
- package/lib/services/rename-picture.service.d.ts +3 -0
- package/lib/services/table/filters-table.service.d.ts +3 -0
- package/lib/services/user-settings.service.d.ts +3 -0
- package/lib/wz-img-manager.component.d.ts +3 -0
- package/lib/wz-img-manager.module.d.ts +56 -0
- package/package.json +47 -29
- package/wizishop-img-manager-14.0.9.tgz +0 -0
- package/wz-img-manager.scss +4 -404
- package/bundles/wizishop-img-manager.umd.js +0 -5077
- package/bundles/wizishop-img-manager.umd.js.map +0 -1
- package/bundles/wizishop-img-manager.umd.min.js +0 -16
- package/bundles/wizishop-img-manager.umd.min.js.map +0 -1
- package/esm2015/lib/animations/easeInOut/ease-in-out.animation.js +0 -12
- package/esm2015/lib/animations/insertRemove/insert-remove.animation.js +0 -9
- package/esm2015/lib/animations/listAnnimation/list.animation.js +0 -16
- package/esm2015/lib/components/canva-btn/canva-btn.component.js +0 -70
- package/esm2015/lib/components/images-view/images-actions-handler.js +0 -180
- package/esm2015/lib/components/images-view/images-view.component.js +0 -492
- package/esm2015/lib/components/images-view/mosaic-view/img-card/img-card.component.js +0 -84
- package/esm2015/lib/components/images-view/mosaic-view/mosaic-view.component.js +0 -79
- package/esm2015/lib/components/images-view/table-view/table-view.component.js +0 -49
- package/esm2015/lib/components/img-editor/cropper/cropper.component.js +0 -300
- package/esm2015/lib/components/img-editor/img-editor.component.js +0 -112
- package/esm2015/lib/components/img-editor/info-section/info-section.component.js +0 -59
- package/esm2015/lib/components/img-selection/img-selection.component.js +0 -62
- package/esm2015/lib/components/img-tabs/img-tabs.component.js +0 -131
- package/esm2015/lib/components/img-upload/img-upload.component.js +0 -125
- package/esm2015/lib/components/loader/loader.component.js +0 -28
- package/esm2015/lib/components/pexels-lib/pexels-lib.component.js +0 -208
- package/esm2015/lib/components/shared/alert/alert.component.js +0 -37
- package/esm2015/lib/components/shared/checkbox/checkbox.component.js +0 -69
- package/esm2015/lib/components/shared/dropdown/dropdown.component.js +0 -26
- package/esm2015/lib/components/shared/input-search/input-search.component.js +0 -62
- package/esm2015/lib/components/shared/pagination/page-selector/page-selector.component.js +0 -55
- package/esm2015/lib/components/shared/pagination/pagination.component.js +0 -51
- package/esm2015/lib/components/shared/select/call-to-action.model.js +0 -1
- package/esm2015/lib/components/shared/select/select-items.dto.js +0 -1
- package/esm2015/lib/components/shared/select/select.component.js +0 -133
- package/esm2015/lib/components/shared/table/table.component.js +0 -133
- package/esm2015/lib/components/upload-list/upload-list.component.js +0 -87
- package/esm2015/lib/directives/abstract-debounce/abstract-debounce.directive.js +0 -40
- package/esm2015/lib/directives/abstract-debounce/debounce-keyup.directive.js +0 -26
- package/esm2015/lib/directives/auto-hide.directive.js +0 -55
- package/esm2015/lib/directives/copy-to-clipboard.directive.js +0 -40
- package/esm2015/lib/directives/drag-drop.directive.js +0 -68
- package/esm2015/lib/directives/loading.directive.js +0 -44
- package/esm2015/lib/directives/table/checkBoxRow.directive.js +0 -128
- package/esm2015/lib/directives/table/column.directive.js +0 -49
- package/esm2015/lib/directives/table/columnHeader.directive.js +0 -221
- package/esm2015/lib/directives/table/raw.directive.js +0 -33
- package/esm2015/lib/directives/zindex-toggle.directive.js +0 -49
- package/esm2015/lib/dto/ImgManagerDisplayConfig.dto.js +0 -1
- package/esm2015/lib/dto/canva-create-design.dto.js +0 -4
- package/esm2015/lib/dto/canva.dto.js +0 -4
- package/esm2015/lib/dto/config/apis/api.dto.js +0 -9
- package/esm2015/lib/dto/config/external/external-config.dto.js +0 -3
- package/esm2015/lib/dto/config/image-cdn/image-cdn-config.dto.js +0 -10
- package/esm2015/lib/dto/export-dtos.api.js +0 -5
- package/esm2015/lib/dto/img-editor-config.dto.js +0 -1
- package/esm2015/lib/dto/img-manager.dto.js +0 -1
- package/esm2015/lib/dto/pexels-img.dto.js +0 -1
- package/esm2015/lib/dto/picture-name-update.dto.js +0 -1
- package/esm2015/lib/dto/stateDisplayed.dto.js +0 -1
- package/esm2015/lib/dto/tabDisplayed.dto.js +0 -1
- package/esm2015/lib/dto/wizi-block-media.dto.js +0 -3
- package/esm2015/lib/pipes/images/img-src.pipe.js +0 -29
- package/esm2015/lib/pipes/number-to-array.pipe.js +0 -14
- package/esm2015/lib/pipes/pagination/array-total-pages/array-pages.pipe.js +0 -26
- package/esm2015/lib/pipes/pagination/large-number-of-page/large-number-of-page.pipe.js +0 -51
- package/esm2015/lib/pipes/pagination/text/custom-text.pipe.js +0 -36
- package/esm2015/lib/pipes/pagination/total-pages/is-last-page.pipe.js +0 -23
- package/esm2015/lib/pipes/select/select-filters.pipe.js +0 -17
- package/esm2015/lib/services/alert.service.js +0 -59
- package/esm2015/lib/services/canva.service.js +0 -171
- package/esm2015/lib/services/config/external-config.service.js +0 -55
- package/esm2015/lib/services/config/img-cdn.service.js +0 -29
- package/esm2015/lib/services/dom.service.js +0 -36
- package/esm2015/lib/services/img-manager.service.js +0 -142
- package/esm2015/lib/services/pexels.service.js +0 -70
- package/esm2015/lib/services/rename-picture.service.js +0 -74
- package/esm2015/lib/services/table/filters-table.service.js +0 -67
- package/esm2015/lib/wz-img-manager.component.js +0 -212
- package/esm2015/lib/wz-img-manager.module.js +0 -132
- package/esm2015/public-api.js +0 -11
- package/esm2015/wizishop-img-manager.js +0 -57
- package/esm5/lib/animations/easeInOut/ease-in-out.animation.js +0 -12
- package/esm5/lib/animations/insertRemove/insert-remove.animation.js +0 -9
- package/esm5/lib/animations/listAnnimation/list.animation.js +0 -16
- package/esm5/lib/components/canva-btn/canva-btn.component.js +0 -72
- package/esm5/lib/components/images-view/images-actions-handler.js +0 -183
- package/esm5/lib/components/images-view/images-view.component.js +0 -535
- package/esm5/lib/components/images-view/mosaic-view/img-card/img-card.component.js +0 -87
- package/esm5/lib/components/images-view/mosaic-view/mosaic-view.component.js +0 -82
- package/esm5/lib/components/images-view/table-view/table-view.component.js +0 -52
- package/esm5/lib/components/img-editor/cropper/cropper.component.js +0 -312
- package/esm5/lib/components/img-editor/img-editor.component.js +0 -115
- package/esm5/lib/components/img-editor/info-section/info-section.component.js +0 -64
- package/esm5/lib/components/img-selection/img-selection.component.js +0 -64
- package/esm5/lib/components/img-tabs/img-tabs.component.js +0 -133
- package/esm5/lib/components/img-upload/img-upload.component.js +0 -138
- package/esm5/lib/components/loader/loader.component.js +0 -29
- package/esm5/lib/components/pexels-lib/pexels-lib.component.js +0 -216
- package/esm5/lib/components/shared/alert/alert.component.js +0 -38
- package/esm5/lib/components/shared/checkbox/checkbox.component.js +0 -71
- package/esm5/lib/components/shared/dropdown/dropdown.component.js +0 -27
- package/esm5/lib/components/shared/input-search/input-search.component.js +0 -68
- package/esm5/lib/components/shared/pagination/page-selector/page-selector.component.js +0 -64
- package/esm5/lib/components/shared/pagination/pagination.component.js +0 -56
- package/esm5/lib/components/shared/select/call-to-action.model.js +0 -1
- package/esm5/lib/components/shared/select/select-items.dto.js +0 -1
- package/esm5/lib/components/shared/select/select.component.js +0 -136
- package/esm5/lib/components/shared/table/table.component.js +0 -135
- package/esm5/lib/components/upload-list/upload-list.component.js +0 -103
- package/esm5/lib/directives/abstract-debounce/abstract-debounce.directive.js +0 -42
- package/esm5/lib/directives/abstract-debounce/debounce-keyup.directive.js +0 -28
- package/esm5/lib/directives/auto-hide.directive.js +0 -57
- package/esm5/lib/directives/copy-to-clipboard.directive.js +0 -42
- package/esm5/lib/directives/drag-drop.directive.js +0 -69
- package/esm5/lib/directives/loading.directive.js +0 -46
- package/esm5/lib/directives/table/checkBoxRow.directive.js +0 -137
- package/esm5/lib/directives/table/column.directive.js +0 -50
- package/esm5/lib/directives/table/columnHeader.directive.js +0 -229
- package/esm5/lib/directives/table/raw.directive.js +0 -34
- package/esm5/lib/directives/zindex-toggle.directive.js +0 -54
- package/esm5/lib/dto/ImgManagerDisplayConfig.dto.js +0 -1
- package/esm5/lib/dto/canva-create-design.dto.js +0 -8
- package/esm5/lib/dto/canva.dto.js +0 -8
- package/esm5/lib/dto/config/apis/api.dto.js +0 -11
- package/esm5/lib/dto/config/external/external-config.dto.js +0 -7
- package/esm5/lib/dto/config/image-cdn/image-cdn-config.dto.js +0 -12
- package/esm5/lib/dto/export-dtos.api.js +0 -5
- package/esm5/lib/dto/img-editor-config.dto.js +0 -1
- package/esm5/lib/dto/img-manager.dto.js +0 -1
- package/esm5/lib/dto/pexels-img.dto.js +0 -1
- package/esm5/lib/dto/picture-name-update.dto.js +0 -1
- package/esm5/lib/dto/stateDisplayed.dto.js +0 -1
- package/esm5/lib/dto/tabDisplayed.dto.js +0 -1
- package/esm5/lib/dto/wizi-block-media.dto.js +0 -7
- package/esm5/lib/pipes/images/img-src.pipe.js +0 -30
- package/esm5/lib/pipes/number-to-array.pipe.js +0 -17
- package/esm5/lib/pipes/pagination/array-total-pages/array-pages.pipe.js +0 -29
- package/esm5/lib/pipes/pagination/large-number-of-page/large-number-of-page.pipe.js +0 -54
- package/esm5/lib/pipes/pagination/text/custom-text.pipe.js +0 -37
- package/esm5/lib/pipes/pagination/total-pages/is-last-page.pipe.js +0 -26
- package/esm5/lib/pipes/select/select-filters.pipe.js +0 -20
- package/esm5/lib/services/alert.service.js +0 -62
- package/esm5/lib/services/canva.service.js +0 -181
- package/esm5/lib/services/config/external-config.service.js +0 -56
- package/esm5/lib/services/config/img-cdn.service.js +0 -34
- package/esm5/lib/services/dom.service.js +0 -39
- package/esm5/lib/services/img-event.service.js +0 -46
- package/esm5/lib/services/img-manager.service.js +0 -143
- package/esm5/lib/services/img-selection.service.js +0 -143
- package/esm5/lib/services/pexels.service.js +0 -72
- package/esm5/lib/services/rename-picture.service.js +0 -88
- package/esm5/lib/services/table/filters-table.service.js +0 -68
- package/esm5/lib/services/user-settings.service.js +0 -30
- package/esm5/lib/wz-img-manager.component.js +0 -228
- package/esm5/lib/wz-img-manager.module.js +0 -131
- package/esm5/public-api.js +0 -11
- package/esm5/wizishop-img-manager.js +0 -57
- package/fesm2015/wizishop-img-manager.js +0 -4533
- package/fesm2015/wizishop-img-manager.js.map +0 -1
- package/fesm5/wizishop-img-manager.js +0 -4814
- package/fesm5/wizishop-img-manager.js.map +0 -1
- package/wizishop-img-manager-0.2.109.tgz +0 -0
- package/wizishop-img-manager.d.ts +0 -56
- package/wizishop-img-manager.metadata.json +0 -1
package/wz-img-manager.scss
CHANGED
|
@@ -6,9 +6,6 @@ $border-form: #ccd1e0;
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
// Base settings
|
|
10
|
-
|
|
11
|
-
|
|
12
9
|
// Options
|
|
13
10
|
|
|
14
11
|
|
|
@@ -70,404 +67,6 @@ $color-CTA-select: #52aecd1a!default;
|
|
|
70
67
|
$border-CTA-select: #52aecd66!default;
|
|
71
68
|
$color-text-grey: #6b7881!default;
|
|
72
69
|
$select-box-shadow: #0000000d!default;
|
|
73
|
-
@function rem($pxval) {
|
|
74
|
-
@if not unitless($pxval) {
|
|
75
|
-
$pxval: strip-unit($pxval);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
$base: $img-em-base;
|
|
79
|
-
@if not unitless($base) {
|
|
80
|
-
$base: strip-unit($base);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
@return ($pxval / $base) * 1rem;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
// _ _ _ _ _
|
|
88
|
-
// (_) | | | | | (_)
|
|
89
|
-
// _ _ __ ___| |_ _ __| | ___ _ __ ___ ___ __| |_ __ _
|
|
90
|
-
// | | '_ \ / __| | | | |/ _` |/ _ \ | '_ ` _ \ / _ \/ _` | |/ _` |
|
|
91
|
-
// | | | | | (__| | |_| | (_| | __/ | | | | | | __/ (_| | | (_| |
|
|
92
|
-
// |_|_| |_|\___|_|\__,_|\__,_|\___| |_| |_| |_|\___|\__,_|_|\__,_|
|
|
93
|
-
//
|
|
94
|
-
// Simple, elegant and maintainable media queries in Sass
|
|
95
|
-
//
|
|
96
|
-
// http://include-media.com
|
|
97
|
-
//
|
|
98
|
-
// Author: Eduardo Boucas <mail@eduardoboucas.com>
|
|
99
|
-
//
|
|
100
|
-
///
|
|
101
|
-
/// Creates a list of global breakpoints
|
|
102
|
-
///
|
|
103
|
-
/// @author Eduardo Boucas
|
|
104
|
-
///
|
|
105
|
-
/// @example scss - Creates a single breakpoint with the label `phone`
|
|
106
|
-
/// $breakpoints: ('phone': 320px);
|
|
107
|
-
///
|
|
108
|
-
$breakpoints: (
|
|
109
|
-
'phone': 320px,
|
|
110
|
-
'tablet': 720px,
|
|
111
|
-
'desktop': 1024px,
|
|
112
|
-
'xl': 1600px
|
|
113
|
-
) !default;
|
|
114
|
-
|
|
115
|
-
///
|
|
116
|
-
/// Creates a list of static expressions or media types
|
|
117
|
-
///
|
|
118
|
-
/// @author Eduardo Boucas
|
|
119
|
-
///
|
|
120
|
-
/// @example scss - Creates a single media type (screen)
|
|
121
|
-
/// $media-expressions: ('screen': 'screen');
|
|
122
|
-
///
|
|
123
|
-
/// @example scss - Creates a static expression with logical disjunction (OR operator)
|
|
124
|
-
/// $media-expressions: (
|
|
125
|
-
/// 'retina2x': (
|
|
126
|
-
/// '(-webkit-min-device-pixel-ratio: 2)',
|
|
127
|
-
/// '(min-resolution: 192dpi)'
|
|
128
|
-
/// )
|
|
129
|
-
/// );
|
|
130
|
-
///
|
|
131
|
-
$media-expressions: (
|
|
132
|
-
'screen': 'screen',
|
|
133
|
-
'print': 'print',
|
|
134
|
-
'handheld': 'handheld',
|
|
135
|
-
'retina2x': (
|
|
136
|
-
'(-webkit-min-device-pixel-ratio: 2)',
|
|
137
|
-
'(min-resolution: 192dpi)'
|
|
138
|
-
),
|
|
139
|
-
'retina3x': (
|
|
140
|
-
'(-webkit-min-device-pixel-ratio: 3)',
|
|
141
|
-
'(min-resolution: 350dpi)'
|
|
142
|
-
)
|
|
143
|
-
) !default;
|
|
144
|
-
|
|
145
|
-
///
|
|
146
|
-
/// Defines a number to be added or subtracted from each unit when declaring breakpoints with exclusive intervals
|
|
147
|
-
///
|
|
148
|
-
/// @author Eduardo Boucas
|
|
149
|
-
///
|
|
150
|
-
/// @example scss - Interval for pixels is defined as `1` by default
|
|
151
|
-
/// @include media(">128px") {}
|
|
152
|
-
///
|
|
153
|
-
/// /* Generates: */
|
|
154
|
-
/// @media (min-width: 129px) {}
|
|
155
|
-
///
|
|
156
|
-
/// @example scss - Interval for ems is defined as `0.01` by default
|
|
157
|
-
/// @include media(">20em") {}
|
|
158
|
-
///
|
|
159
|
-
/// /* Generates: */
|
|
160
|
-
/// @media (min-width: 20.01em) {}
|
|
161
|
-
///
|
|
162
|
-
/// @example scss - Interval for rems is defined as `0.1` by default, to be used with `font-size: 62.5%;`
|
|
163
|
-
/// @include media(">2.0rem") {}
|
|
164
|
-
///
|
|
165
|
-
/// /* Generates: */
|
|
166
|
-
/// @media (min-width: 2.1rem) {}
|
|
167
|
-
///
|
|
168
|
-
$unit-intervals: (
|
|
169
|
-
'px': 1,
|
|
170
|
-
'em': 0.01,
|
|
171
|
-
'rem': 0.1
|
|
172
|
-
) !default;
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
///
|
|
177
|
-
/// Generates a media query based on a list of conditions
|
|
178
|
-
///
|
|
179
|
-
/// @author Eduardo Boucas
|
|
180
|
-
///
|
|
181
|
-
/// @param {List} $conditions - Media query conditions
|
|
182
|
-
///
|
|
183
|
-
/// @example scss - With a single set breakpoint
|
|
184
|
-
/// @include media(">phone") { }
|
|
185
|
-
///
|
|
186
|
-
/// @example scss - With two set breakpoints
|
|
187
|
-
/// @include media(">phone", "<=tablet") { }
|
|
188
|
-
///
|
|
189
|
-
/// @example scss - With custom values
|
|
190
|
-
/// @include media(">=358px", "<850px") { }
|
|
191
|
-
///
|
|
192
|
-
/// @example scss - With set breakpoints with custom values
|
|
193
|
-
/// @include media(">desktop", "<=1350px") { }
|
|
194
|
-
///
|
|
195
|
-
/// @example scss - With a static expression
|
|
196
|
-
/// @include media("retina2x") { }
|
|
197
|
-
///
|
|
198
|
-
/// @example scss - Mixing everything
|
|
199
|
-
/// @include media(">=350px", "<tablet", "retina3x") { }
|
|
200
|
-
///
|
|
201
|
-
@mixin media($conditions...) {
|
|
202
|
-
@for $i from 1 through length($conditions) {
|
|
203
|
-
$conditions: set-nth($conditions, $i, parse-expression(nth($conditions, $i)));
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
$branches: get-query-branches($conditions);
|
|
207
|
-
$query: '';
|
|
208
|
-
|
|
209
|
-
@each $branch in $branches {
|
|
210
|
-
@if (str-length($query) != 0) {
|
|
211
|
-
$query: $query + ', ';
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
$query: $query + $branch;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
@media #{$query} {
|
|
218
|
-
@content;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
///
|
|
223
|
-
/// Reads a list of media query expressions and separates logical disjunctions into different branches
|
|
224
|
-
///
|
|
225
|
-
/// @author Eduardo Boucas
|
|
226
|
-
///
|
|
227
|
-
/// @param {List} $expressions - list of expressions
|
|
228
|
-
///
|
|
229
|
-
/// @throws `$expression` is not a valid expression
|
|
230
|
-
///
|
|
231
|
-
/// @return {List | Null}
|
|
232
|
-
///
|
|
233
|
-
@function get-query-branches($expressions) {
|
|
234
|
-
$result: '';
|
|
235
|
-
$has-groups: false;
|
|
236
|
-
|
|
237
|
-
// Getting initial snapshot and looking for groups
|
|
238
|
-
@each $expression in $expressions {
|
|
239
|
-
@if (str-length($result) != 0) {
|
|
240
|
-
$result: $result + ' and ';
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
@if (type-of($expression) == 'string') {
|
|
244
|
-
$result: $result + $expression;
|
|
245
|
-
} @else if (type-of($expression) == 'list') {
|
|
246
|
-
$result: $result + nth($expression, 1);
|
|
247
|
-
$has-groups: true;
|
|
248
|
-
} @else {
|
|
249
|
-
@warn '#{$expression} is not a valid expression.';
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
// If we have groups, we have to create all possible combinations
|
|
254
|
-
@if $has-groups {
|
|
255
|
-
@each $expression in $expressions {
|
|
256
|
-
@if (type-of($expression) == 'list') {
|
|
257
|
-
$first: nth($expression, 1);
|
|
258
|
-
|
|
259
|
-
@each $member in $expression {
|
|
260
|
-
@if ($member != $first) {
|
|
261
|
-
@each $partial in $result {
|
|
262
|
-
$result: join($result, str-replace-first($first, $member, $partial));
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
@return $result;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
///
|
|
274
|
-
/// Parses a string to form a media query expression
|
|
275
|
-
///
|
|
276
|
-
/// @author Eduardo Boucas
|
|
277
|
-
///
|
|
278
|
-
/// @param {String} $expression - expression (in string)
|
|
279
|
-
///
|
|
280
|
-
/// @throws Expression with type `type-of($expression)` detected, string expected
|
|
281
|
-
/// @throws `$expression` is missing an operator
|
|
282
|
-
/// @throws Unknown unit: `$unit`
|
|
283
|
-
///
|
|
284
|
-
/// @return {String | Null}
|
|
285
|
-
///
|
|
286
|
-
@function parse-expression($expression) {
|
|
287
|
-
$operator: '';
|
|
288
|
-
$value: '';
|
|
289
|
-
$element: '';
|
|
290
|
-
$result: '';
|
|
291
|
-
$is-width: true;
|
|
292
|
-
|
|
293
|
-
@if (type-of($expression) != 'string') {
|
|
294
|
-
@warn 'Expression with type `#{type-of($expression)}` detected, string expected.';
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
// Separating the operator from the rest of the expression
|
|
298
|
-
@if (str-slice($expression, 2, 2) == '=') {
|
|
299
|
-
$operator: str-slice($expression, 1, 2);
|
|
300
|
-
$value: str-slice($expression, 3);
|
|
301
|
-
} @else {
|
|
302
|
-
$operator: str-slice($expression, 1, 1);
|
|
303
|
-
$value: str-slice($expression, 2);
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
// Checking what type of expression we're dealing with
|
|
307
|
-
@if map-has-key($breakpoints, $value) {
|
|
308
|
-
$result: map-get($breakpoints, $value);
|
|
309
|
-
} @else if map-has-key($media-expressions, $expression) {
|
|
310
|
-
$result: map-get($media-expressions, $expression);
|
|
311
|
-
$is-width: false;
|
|
312
|
-
} @else {
|
|
313
|
-
$result: to-number($value);
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
@if ($is-width) {
|
|
317
|
-
$unit: unit($result);
|
|
318
|
-
$interval: 0;
|
|
319
|
-
|
|
320
|
-
@if (map-has-key($unit-intervals, $unit)) {
|
|
321
|
-
$interval: map-get($unit-intervals, $unit);
|
|
322
|
-
} @else {
|
|
323
|
-
@warn 'Unknown unit: #{$unit}';
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
@if ($operator == '>') {
|
|
327
|
-
$element: '(min-width: #{$result + $interval})';
|
|
328
|
-
} @else if ($operator == '<') {
|
|
329
|
-
$element: '(max-width: #{$result - $interval})';
|
|
330
|
-
} @else if ($operator == '>=') {
|
|
331
|
-
$element: '(min-width: #{$result})';
|
|
332
|
-
} @else if ($operator == '<=') {
|
|
333
|
-
$element: '(max-width: #{$result})';
|
|
334
|
-
} @else {
|
|
335
|
-
@warn '#{$expression} is missing an operator.';
|
|
336
|
-
}
|
|
337
|
-
} @else {
|
|
338
|
-
$element: $result;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
@return $element;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
///
|
|
345
|
-
/// Replaces the first occurence of the string with the replacement string
|
|
346
|
-
///
|
|
347
|
-
/// @author Eduardo Boucas
|
|
348
|
-
///
|
|
349
|
-
/// @param {String} $search - The value being searched for
|
|
350
|
-
/// @param {String} $replace - The replacement string
|
|
351
|
-
/// @param {String} $subject - The string being replaced on
|
|
352
|
-
///
|
|
353
|
-
/// @return {String | Null}
|
|
354
|
-
///
|
|
355
|
-
@function str-replace-first($search, $replace, $subject) {
|
|
356
|
-
$search-start: str-index($subject, $search);
|
|
357
|
-
|
|
358
|
-
@if $search-start == null {
|
|
359
|
-
@return $subject;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
$result: str-slice($subject, 0, $search-start - 1);
|
|
363
|
-
$result: $result + $replace;
|
|
364
|
-
$result: $result + str-slice($subject, $search-start + str-length($search));
|
|
365
|
-
|
|
366
|
-
@return $result;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
///
|
|
370
|
-
/// Casts a number to a string
|
|
371
|
-
///
|
|
372
|
-
/// @author Hugo Giraudel
|
|
373
|
-
///
|
|
374
|
-
/// @param {String} $string - Number to be parsed
|
|
375
|
-
///
|
|
376
|
-
/// @return {List | Null}
|
|
377
|
-
///
|
|
378
|
-
@function to-number($string) {
|
|
379
|
-
// Matrices
|
|
380
|
-
$strings: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9';
|
|
381
|
-
$numbers: 0 1 2 3 4 5 6 7 8 9;
|
|
382
|
-
|
|
383
|
-
// Result
|
|
384
|
-
$result: 0;
|
|
385
|
-
$divider: 0;
|
|
386
|
-
$minus: false;
|
|
387
|
-
|
|
388
|
-
// Looping through all characters
|
|
389
|
-
@for $i from 1 through str-length($string) {
|
|
390
|
-
$character: str-slice($string, $i, $i);
|
|
391
|
-
$index: index($strings, $character);
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
@if $character == '-' {
|
|
395
|
-
$minus: true;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
@else if $character == '.' {
|
|
399
|
-
$divider: 1;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
@else {
|
|
403
|
-
@if type-of($index) != 'number' {
|
|
404
|
-
$result: if($minus, $result * -1, $result);
|
|
405
|
-
@return _length($result, str-slice($string, $i));
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
$number: nth($numbers, $index);
|
|
409
|
-
|
|
410
|
-
@if $divider == 0 {
|
|
411
|
-
$result: $result * 10;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
@else {
|
|
415
|
-
// Move the decimal dot to the left
|
|
416
|
-
$divider: $divider * 10;
|
|
417
|
-
$number: $number / $divider;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
$result: $result + $number;
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
@return if($minus, $result * -1, $result);
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
@function _length($number, $unit) {
|
|
428
|
-
$strings: 'px' 'cm' 'mm' '%' 'ch' 'pica' 'in' 'em' 'rem' 'pt' 'pc' 'ex' 'vw' 'vh' 'vmin' 'vmax';
|
|
429
|
-
$units: 1px 1cm 1mm 1% 1ch 1pica 1in 1em 1rem 1pt 1pc 1ex 1vw 1vh 1vmin 1vmax;
|
|
430
|
-
$index: index($strings, $unit);
|
|
431
|
-
|
|
432
|
-
@if type-of($index) != 'number' {
|
|
433
|
-
@warn 'Unknown unit `#{$unit}`.';
|
|
434
|
-
@return false;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
@return $number * nth($units, $index);
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
@mixin mobile() {
|
|
442
|
-
@include media('<tablet') {
|
|
443
|
-
@content;
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
@mixin tablet() {
|
|
448
|
-
@include media('>=tablet','<desktop') {
|
|
449
|
-
@content;
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
@mixin desktop() {
|
|
454
|
-
@include media('>=desktop') {
|
|
455
|
-
@content;
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
@mixin desktop-only() {
|
|
461
|
-
@include media('>=desktop','<xl') {
|
|
462
|
-
@content;
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
@mixin xl() {
|
|
467
|
-
@include media('>=xl') {
|
|
468
|
-
@content;
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
70
|
$base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null, $time: null) {
|
|
472
71
|
@if ($time == null) {
|
|
473
72
|
$time: $img-transition-base-time;
|
|
@@ -4280,7 +3879,6 @@ $card-img-size-small: 140px;
|
|
|
4280
3879
|
font-size: rem(12);
|
|
4281
3880
|
line-height: rem(14);
|
|
4282
3881
|
color: $img-grey-color;
|
|
4283
|
-
width: 140px;
|
|
4284
3882
|
white-space: nowrap;
|
|
4285
3883
|
overflow: hidden;
|
|
4286
3884
|
text-overflow: ellipsis;
|
|
@@ -4370,8 +3968,10 @@ $card-img-size-small: 140px;
|
|
|
4370
3968
|
height: $card-img-size-small;
|
|
4371
3969
|
}
|
|
4372
3970
|
|
|
4373
|
-
.wz-img-manager .addCssPriority .smallNameDisplay
|
|
4374
|
-
|
|
3971
|
+
.wz-img-manager .addCssPriority .smallNameDisplay {
|
|
3972
|
+
.img-card__nameContainer__name, > span {
|
|
3973
|
+
width: $card-img-size-small;
|
|
3974
|
+
}
|
|
4375
3975
|
}
|
|
4376
3976
|
.wz-selector {
|
|
4377
3977
|
&__default {
|