payload 1.11.3-canary.0 → 1.11.4
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/components/styles.css +1 -1
- package/dist/admin/components/elements/Button/index.scss +11 -6
- package/dist/admin/components/elements/CopyToClipboard/index.js +1 -1
- package/dist/admin/components/elements/CopyToClipboard/index.js.map +1 -1
- package/dist/admin/components/elements/CopyToClipboard/index.scss +5 -0
- package/dist/admin/components/elements/DeleteDocument/index.js +1 -2
- package/dist/admin/components/elements/DeleteDocument/index.js.map +1 -1
- package/dist/admin/components/elements/FileDetails/Meta/index.scss +1 -1
- package/dist/admin/components/elements/FileDetails/index.scss +1 -1
- package/dist/admin/components/elements/ListDrawer/index.scss +2 -2
- package/dist/admin/components/elements/Localizer/index.scss +2 -2
- package/dist/admin/components/elements/Nav/index.scss +6 -2
- package/dist/admin/components/elements/NavGroup/index.scss +5 -1
- package/dist/admin/components/elements/Paginator/ClickableArrow/index.js +1 -1
- package/dist/admin/components/elements/Paginator/ClickableArrow/index.js.map +1 -1
- package/dist/admin/components/elements/Paginator/index.scss +8 -2
- package/dist/admin/components/elements/PerPage/index.scss +1 -1
- package/dist/admin/components/elements/Pill/index.scss +6 -1
- package/dist/admin/components/elements/StepNav/index.scss +1 -1
- package/dist/admin/components/elements/Table/index.scss +5 -0
- package/dist/admin/components/elements/VersionsCount/index.scss +1 -1
- package/dist/admin/components/forms/field-types/Array/index.scss +1 -1
- package/dist/admin/components/forms/field-types/Blocks/index.scss +1 -1
- package/dist/admin/components/forms/field-types/RichText/elements/link/Element/index.scss +1 -1
- package/dist/admin/components/views/Account/index.scss +1 -1
- package/dist/admin/components/views/Global/index.scss +1 -1
- package/dist/admin/components/views/collections/Edit/index.scss +1 -1
- package/dist/admin/components/views/collections/List/SelectAll/index.scss +5 -1
- package/dist/admin/components/views/collections/List/SelectRow/index.scss +6 -1
- package/dist/admin/scss/app.scss +10 -1
- package/dist/bundlers/webpack/configs/dev.js +7 -0
- package/dist/bundlers/webpack/configs/dev.js.map +1 -1
- package/docs/admin/hooks.mdx +1 -1
- package/package.json +2 -2
package/components/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.icon--plus{height:1.9230769231rem;width:1.9230769231rem}.icon--plus .stroke,.icon--x line{stroke:var(--theme-elevation-800);stroke-width:1px}.icon--chevron{height:1.9230769231rem;width:1.9230769231rem}.icon--chevron .stroke{fill:none;stroke:var(--theme-elevation-800);stroke-width:2px}.icon--edit{shape-rendering:auto;height:1.9230769231rem;width:1.9230769231rem}.icon--edit .fill{fill:var(--theme-elevation-800);stroke:none}.icon--swap{height:1.9230769231rem;width:1.9230769231rem}.icon--swap .stroke{fill:none;stroke:var(--theme-elevation-800);stroke-width:2px}.icon--link{height:1.9230769231rem;width:1.9230769231rem}.icon--link .stroke{stroke:var(--theme-elevation-800);stroke-width:1px}.tooltip{--caret-size:6px;background-color:var(--theme-elevation-800);border-radius:2px;color:var(--theme-elevation-0);font-weight:400;line-height:1.4423076923rem;opacity:0;padding:.3846153846rem .7692307692rem;visibility:hidden;white-space:nowrap;z-index:2}.tooltip,.tooltip:after{left:50%;position:absolute}.tooltip:after{border-left:var(--caret-size) solid transparent;border-right:var(--caret-size) solid transparent;content:" ";display:block;height:0;transform:translate3d(-50%,100%,0);width:0}.tooltip--show{cursor:default;opacity:1;transition:opacity .2s ease-in-out;visibility:visible}.tooltip--position-top{bottom:100%;transform:translate3d(-50%,calc(var(--caret-size)*-1),0)}.tooltip--position-top:after{border-top:var(--caret-size) solid var(--theme-elevation-800);bottom:1px}.tooltip--position-bottom{top:100%;transform:translate3d(-50%,var(--caret-size),0)}.tooltip--position-bottom:after{border-bottom:var(--caret-size) solid var(--theme-elevation-800);bottom:calc(100% + var(--caret-size) - 1px)}@media(max-width:1024px){.tooltip{display:none}}html[data-theme=light] .tooltip{background-color:var(--theme-error-250);color:var(--theme-error-750)}html[data-theme=light] .tooltip--position-top:after{border-top-color:var(--theme-error-250)}html[data-theme=light] .tooltip--position-bottom:after{border-bottom-color:var(--theme-error-250)}a.btn{display:inline-block}.btn{background:transparent;border:0;border-radius:4px;color:inherit;cursor:pointer;font-size:1rem;font-weight:400;line-height:1.9230769231rem;margin-bottom:1.9230769231rem;margin-top:1.9230769231rem;text-align:center;text-decoration:none}.btn .btn__icon{border:1px solid;border-radius:100%}.btn .btn__icon .stroke{stroke:currentColor;fill:none}.btn .btn__icon .fill{fill:currentColor}.btn--has-tooltip{position:relative}.btn--icon-style-none .btn__icon,.btn--icon-style-without-border .btn__icon{border:none}.btn span{line-height:1.9230769231rem}.btn span,.btn svg{vertical-align:top}.btn--size-medium{padding:.9615384615rem 1.9230769231rem}.btn--size-small{padding:.4807692308rem .9615384615rem}.btn--style-primary{background-color:var(--theme-elevation-800);color:var(--theme-elevation-0)}.btn--style-primary.btn--disabled{background-color:var(--theme-elevation-400)}.btn--style-primary:not(.btn--disabled):hover{background:var(--theme-elevation-750)}.btn--style-primary:not(.btn--disabled):active{background:var(--theme-elevation-700)}.btn--style-primary:focus{box-shadow:0 0 0 2px var(--theme-success-500);outline:none}.btn--style-secondary{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:none;box-shadow:inset 0 0 0 1px var(--theme-elevation-800);color:var(--theme-elevation-800)}.btn--style-secondary:hover{background:var(--theme-elevation-100);box-shadow:inset 0 0 0 1px var(--theme-elevation-700)}.btn--style-secondary:active{background:var(--theme-elevation-200)}.btn--style-secondary.btn--disabled{background:none;box-shadow:inset 0 0 0 1px var(--theme-elevation-400);color:var(--theme-elevation-400)}.btn--style-secondary:focus{box-shadow:inset 0 0 0 1px var(--theme-elevation-700),0 0 0 2px var(--theme-success-500);outline:none}.btn--style-none{border-radius:0;margin:0;padding:0}.btn--style-none:focus{opacity:.8}.btn--style-none:active{opacity:.7}.btn--round{border-radius:100%}.btn--icon span{display:flex;justify-content:space-between}.btn--icon.btn--style-primary .icon .stroke{stroke:var(--theme-elevation-0);fill:none}.btn--icon.btn--style-primary .icon .fill{fill:var(--theme-elevation-0)}.btn--style-icon-label{font-weight:600;padding:0}.btn--style-light-gray{box-shadow:inset 0 0 0 1px var(--theme-elevation-800)}.btn--icon-position-left .btn__content{flex-direction:row-reverse}.btn--icon-position-left .btn__icon{margin-right:.9615384615rem}.btn--icon-position-right .btn__icon{margin-left:.9615384615rem}.btn--icon-only .btn__icon{margin:0;padding:0}.btn--disabled{cursor:default}.btn:hover .btn__icon{background:var(--theme-elevation-800)}.btn:hover .btn__icon .stroke{stroke:var(--theme-elevation-0);fill:none}.btn:hover .btn__icon .fill{fill:var(--theme-elevation-0)}.btn:focus{outline:none}.btn:focus .btn__icon{background:var(--theme-elevation-150)}.btn:focus .btn__icon .stroke{stroke:var(--theme-elevation-800);fill:none}.btn:focus .btn__icon .fill{fill:var(--theme-elevation-800)}.btn:active .btn__icon{background:var(--theme-elevation-700)}.btn:active .btn__icon .stroke{stroke:var(--theme-elevation-0);fill:none}.btn:active .btn__icon .fill{fill:var(--theme-elevation-0)}.popup-button{display:inline-flex}.popup{position:relative}.popup__content{background:var(--theme-input-bg);max-width:calc(100vw - 1.92308rem);opacity:0;pointer-events:none;position:absolute;visibility:hidden;z-index:var(--z-popup)}.popup__content:after{border:12px solid transparent;border-top:12px solid var(--theme-input-bg);content:" ";position:absolute;top:calc(100% - 1px)}.popup__wrap{overflow:hidden}.popup .popup__scroll{overflow-y:auto;padding:1.9230769231rem;padding-right:calc(var(--scrollbar-width) + 1.92308rem);white-space:nowrap;width:calc(100% + var(--scrollbar-width))}.popup--show-scrollbar .popup__scroll{padding-right:0;width:100%}.popup:active,.popup:focus{outline:none}.popup--size-small .popup__scroll{padding:1.4423076923rem calc(var(--scrollbar-width) + 1.44231rem) 1.4423076923rem 1.4423076923rem}.popup--size-small .popup__content{box-shadow:0 0 30px 0 rgba(0,2,4,.12),0 30px 25px -8px rgba(0,2,4,.1)}.popup--size-small.popup--h-align-left .popup__content{left:-.9615384615rem}.popup--size-small.popup--h-align-left .popup__content:after{left:.8173076923rem}.popup--size-large .popup__content{box-shadow:0 20px 35px -10px rgba(0,2,4,.2),0 6px 4px -4px rgba(0,2,4,.02)}.popup--size-large .popup__scroll{padding:2.8846153846rem calc(var(--scrollbar-width) + 2.88462rem) 1.9230769231rem 2.8846153846rem}.popup--size-wide .popup__content{box-shadow:0 0 30px 0 rgba(0,2,4,.12),0 30px 25px -8px rgba(0,2,4,.1)}.popup--size-wide .popup__content:after{border:12px solid transparent;border-top:12px solid var(--theme-input-bg)}.popup--size-wide .popup__scroll{padding:.4807692308rem .9615384615rem}.popup--size-wide.popup--align-left .popup__content{left:-.9615384615rem}.popup--size-wide.popup--align-left .popup__content:after{left:.8173076923rem}.popup--h-align-left .popup__content{left:-3.3653846154rem}.popup--h-align-left .popup__content:after{left:3.3653846154rem}.popup--h-align-center .popup__content,.popup--h-align-center .popup__content:after{left:50%;transform:translateX(-50%)}.popup--h-align-right .popup__content{right:-3.3653846154rem}.popup--h-align-right .popup__content:after{right:3.3653846154rem}.popup--v-align-top .popup__content{bottom:calc(100% + 1.92308rem)}.popup--v-align-bottom .popup__content{box-shadow:0 -2px 20px 7px rgba(0,2,4,.1),0 6px 4px -4px rgba(0,2,4,.02);top:calc(100% + .96154rem)}.popup--v-align-bottom .popup__content:after{border-bottom-color:var(--theme-input-bg);border-top-color:transparent!important;bottom:calc(100% - 1px);top:auto}.popup--v-align-bottom.popup--color-dark .popup__content:after{border-bottom-color:var(--theme-elevation-800)}.popup--color-dark .popup__content{background:var(--theme-elevation-800);color:var(--theme-input-bg)}.popup--color-dark .popup__content:after{border-top-color:var(--theme-elevation-800)}.popup--active .popup__content{opacity:1;pointer-events:all;visibility:visible}@media(max-width:1024px){.popup--size-large .popup__scroll,.popup__scroll{padding:1.4423076923rem;padding-right:calc(var(--scrollbar-width) + 1.44231rem)}.popup--h-align-left .popup__content{left:-.9615384615rem}.popup--h-align-left .popup__content:after{left:.9615384615rem}.popup--h-align-center .popup__content,.popup--h-align-center .popup__content:after{left:50%;transform:translateX(0)}.popup--h-align-right .popup__content{right:-.9615384615rem}.popup--h-align-right .popup__content:after{right:.9615384615rem}.popup--force-h-align-left .popup__content{left:-.9615384615rem;right:auto;transform:none}.popup--force-h-align-left .popup__content:after{left:.9615384615rem;right:auto;transform:none}.popup--force-h-align-right .popup__content{left:auto;right:-.9615384615rem;transform:none}.popup--force-h-align-right .popup__content:after{left:auto;right:.9615384615rem;transform:none}}.banner{background:var(--theme-elevation-100);border:0;border-radius:3px;color:var(--theme-elevation-800);font-size:1rem;line-height:1.9230769231rem;margin-bottom:1.9230769231rem;padding:.9615384615rem;vertical-align:middle}.banner--has-action{cursor:pointer;text-decoration:none}.banner--has-icon{display:flex}.banner--has-icon svg{display:block}.banner--type-default.button--has-action:hover{background:var(--theme-elevation-900)}.banner--type-default.button--has-action:active{background:var(--theme-elevation-950)}.banner--type-error{background:var(--theme-error-100);color:var(--theme-error-500)}.banner--type-error svg .stroke{stroke:var(--theme-error-500);fill:none}.banner--type-error svg .fill{fill:var(--theme-error-500)}.banner--type-error.button--has-action:hover{background:var(--theme-error-200)}.banner--type-error.button--has-action:active{background:var(--theme-error-300)}.banner--type-success{background:var(--theme-success-500);color:var(--color-base-800)}.banner--type-success.button--has-action:active,.banner--type-success.button--has-action:hover{background:var(--theme-success-200)}.template-minimal{align-items:center;display:flex;justify-content:center;margin-left:auto;margin-right:auto;min-height:100%;padding:5.7692307692rem 1.9230769231rem;width:100%}.template-minimal--width-normal .template-minimal__wrap{max-width:500px;width:100%}.template-minimal--width-wide .template-minimal__wrap{max-width:1024px;width:100%}.icon--check{height:1.9230769231rem;width:1.9230769231rem}.icon--check .stroke{fill:none;stroke:var(--theme-elevation-800);stroke-width:2px}.icon--search{height:1.9230769231rem;width:1.9230769231rem}.icon--search .stroke{stroke:var(--theme-elevation-800);stroke-width:1px}.icon--menu .fill{fill:var(--theme-text)}.pill{align-items:center;background:var(--theme-elevation-150);border:0;border-radius:3px;color:var(--theme-elevation-800);cursor:default;display:inline-flex;flex-shrink:0;font-size:1rem;line-height:1.9230769231rem;overflow:hidden;padding:0 .4807692308rem;text-overflow:ellipsis;white-space:nowrap}.pill--rounded{border-radius:var(--style-radius-l);font-size:12px;line-height:18px}.pill:active,.pill:focus{outline:none}.pill--has-action{cursor:pointer;text-decoration:none}.pill--is-dragging{cursor:grabbing}.pill--has-icon svg{display:block}.pill--align-icon-left{padding-left:0}.pill--align-icon-right{padding-right:0}.pill--style-white{background:var(--theme-elevation-0)}.pill--style-light-gray,.pill--style-light.pill--has-action:active,.pill--style-light.pill--has-action:hover,.pill--style-white.pill--has-action:active,.pill--style-white.pill--has-action:hover{background:var(--theme-elevation-100)}.pill--style-light-gray{color:var(--theme-elevation-800)}.pill--style-warning{background:var(--theme-warning-500)}.pill--style-success{background:var(--theme-success-500);color:var(--color-base-800)}.pill--style-dark{background:var(--theme-elevation-800);color:var(--theme-elevation-0)}.pill--style-dark svg .stroke{stroke:var(--theme-elevation-0);fill:none}.pill--style-dark svg .fill{fill:var(--theme-elevation-0)}.pill--style-dark.pill--has-action:hover{background:var(--theme-elevation-750)}.pill--style-dark.pill--has-action:active{background:var(--theme-elevation-700)}html[data-theme=dark] .pill--style-error{background:var(--theme-error-500);color:var(--color-base-1000)}html[data-theme=light] .pill--style-error{background:var(--theme-error-250);color:var(--theme-error-750)}
|
|
1
|
+
.icon--plus{height:1.9230769231rem;width:1.9230769231rem}.icon--plus .stroke,.icon--x line{stroke:var(--theme-elevation-800);stroke-width:1px}.icon--chevron{height:1.9230769231rem;width:1.9230769231rem}.icon--chevron .stroke{fill:none;stroke:var(--theme-elevation-800);stroke-width:2px}.icon--edit{shape-rendering:auto;height:1.9230769231rem;width:1.9230769231rem}.icon--edit .fill{fill:var(--theme-elevation-800);stroke:none}.icon--swap{height:1.9230769231rem;width:1.9230769231rem}.icon--swap .stroke{fill:none;stroke:var(--theme-elevation-800);stroke-width:2px}.icon--link{height:1.9230769231rem;width:1.9230769231rem}.icon--link .stroke{stroke:var(--theme-elevation-800);stroke-width:1px}.tooltip{--caret-size:6px;background-color:var(--theme-elevation-800);border-radius:2px;color:var(--theme-elevation-0);font-weight:400;line-height:1.4423076923rem;opacity:0;padding:.3846153846rem .7692307692rem;visibility:hidden;white-space:nowrap;z-index:2}.tooltip,.tooltip:after{left:50%;position:absolute}.tooltip:after{border-left:var(--caret-size) solid transparent;border-right:var(--caret-size) solid transparent;content:" ";display:block;height:0;transform:translate3d(-50%,100%,0);width:0}.tooltip--show{cursor:default;opacity:1;transition:opacity .2s ease-in-out;visibility:visible}.tooltip--position-top{bottom:100%;transform:translate3d(-50%,calc(var(--caret-size)*-1),0)}.tooltip--position-top:after{border-top:var(--caret-size) solid var(--theme-elevation-800);bottom:1px}.tooltip--position-bottom{top:100%;transform:translate3d(-50%,var(--caret-size),0)}.tooltip--position-bottom:after{border-bottom:var(--caret-size) solid var(--theme-elevation-800);bottom:calc(100% + var(--caret-size) - 1px)}@media(max-width:1024px){.tooltip{display:none}}html[data-theme=light] .tooltip{background-color:var(--theme-error-250);color:var(--theme-error-750)}html[data-theme=light] .tooltip--position-top:after{border-top-color:var(--theme-error-250)}html[data-theme=light] .tooltip--position-bottom:after{border-bottom-color:var(--theme-error-250)}a.btn{display:inline-block}.btn{background:transparent;border:0;border-radius:4px;color:inherit;cursor:pointer;font-size:1rem;font-weight:400;line-height:1.9230769231rem;margin-bottom:1.9230769231rem;margin-top:1.9230769231rem;text-align:center;-webkit-text-decoration:none;text-decoration:none}.btn .btn__icon{border:1px solid;border-radius:100%}.btn .btn__icon .stroke{stroke:currentColor;fill:none}.btn .btn__icon .fill{fill:currentColor}.btn--has-tooltip{position:relative}.btn--icon-style-none .btn__icon,.btn--icon-style-without-border .btn__icon{border:none}.btn span{line-height:1.9230769231rem}.btn span,.btn svg{vertical-align:top}.btn--size-medium{padding:.9615384615rem 1.9230769231rem}.btn--size-small{padding:.4807692308rem .9615384615rem}.btn--style-primary{background-color:var(--theme-elevation-800);color:var(--theme-elevation-0)}.btn--style-primary.btn--disabled{background-color:var(--theme-elevation-400)}.btn--style-primary:not(.btn--disabled):focus-visible,.btn--style-primary:not(.btn--disabled):hover{background:var(--theme-elevation-750)}.btn--style-primary:not(.btn--disabled):active{background:var(--theme-elevation-700)}.btn--style-primary:focus:not(:focus-visible){box-shadow:0 0 0 2px var(--theme-success-500);outline:none}.btn--style-secondary{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:none;box-shadow:inset 0 0 0 1px var(--theme-elevation-800);color:var(--theme-elevation-800)}.btn--style-secondary:focus-visible,.btn--style-secondary:hover{background:var(--theme-elevation-100);box-shadow:inset 0 0 0 1px var(--theme-elevation-700)}.btn--style-secondary:active{background:var(--theme-elevation-200)}.btn--style-secondary.btn--disabled{background:none;box-shadow:inset 0 0 0 1px var(--theme-elevation-400);color:var(--theme-elevation-400)}.btn--style-secondary:focus:not(:focus-visible){box-shadow:inset 0 0 0 1px var(--theme-elevation-700),0 0 0 2px var(--theme-success-500);outline:none}.btn--style-none{border-radius:0;margin:0;padding:0}.btn--style-none:focus{opacity:.8}.btn--style-none:active{opacity:.7}.btn--round{border-radius:100%}.btn--icon span{display:flex;justify-content:space-between}.btn--icon.btn--style-primary .icon .stroke{stroke:var(--theme-elevation-0);fill:none}.btn--icon.btn--style-primary .icon .fill{fill:var(--theme-elevation-0)}.btn--style-icon-label{font-weight:600;padding:0}.btn--style-light-gray{box-shadow:inset 0 0 0 1px var(--theme-elevation-800)}.btn--icon-position-left .btn__content{flex-direction:row-reverse}.btn--icon-position-left .btn__icon{margin-right:.9615384615rem}.btn--icon-position-right .btn__icon{margin-left:.9615384615rem}.btn--icon-only .btn__icon{margin:0;padding:0}.btn--disabled{cursor:default}.btn:focus-visible .btn__icon,.btn:hover .btn__icon{background:var(--theme-elevation-800)}.btn:focus-visible .btn__icon .stroke,.btn:hover .btn__icon .stroke{stroke:var(--theme-elevation-0);fill:none}.btn:focus-visible .btn__icon .fill,.btn:hover .btn__icon .fill{fill:var(--theme-elevation-0)}.btn:focus:not(:focus-visible){outline:none}.btn:focus:not(:focus-visible) .btn__icon{background:var(--theme-elevation-150)}.btn:focus:not(:focus-visible) .btn__icon .stroke{stroke:var(--theme-elevation-800);fill:none}.btn:focus:not(:focus-visible) .btn__icon .fill{fill:var(--theme-elevation-800)}.btn:active .btn__icon{background:var(--theme-elevation-700)}.btn:active .btn__icon .stroke{stroke:var(--theme-elevation-0);fill:none}.btn:active .btn__icon .fill{fill:var(--theme-elevation-0)}.btn:focus-visible{outline:var(--accessibility-outline);outline-offset:var(--accessibility-outline-offset)}.popup-button{display:inline-flex}.popup{position:relative}.popup__content{background:var(--theme-input-bg);max-width:calc(100vw - 1.92308rem);opacity:0;pointer-events:none;position:absolute;visibility:hidden;z-index:var(--z-popup)}.popup__content:after{border:12px solid transparent;border-top:12px solid var(--theme-input-bg);content:" ";position:absolute;top:calc(100% - 1px)}.popup__wrap{overflow:hidden}.popup .popup__scroll{overflow-y:auto;padding:1.9230769231rem;padding-right:calc(var(--scrollbar-width) + 1.92308rem);white-space:nowrap;width:calc(100% + var(--scrollbar-width))}.popup--show-scrollbar .popup__scroll{padding-right:0;width:100%}.popup:active,.popup:focus{outline:none}.popup--size-small .popup__scroll{padding:1.4423076923rem calc(var(--scrollbar-width) + 1.44231rem) 1.4423076923rem 1.4423076923rem}.popup--size-small .popup__content{box-shadow:0 0 30px 0 rgba(0,2,4,.12),0 30px 25px -8px rgba(0,2,4,.1)}.popup--size-small.popup--h-align-left .popup__content{left:-.9615384615rem}.popup--size-small.popup--h-align-left .popup__content:after{left:.8173076923rem}.popup--size-large .popup__content{box-shadow:0 20px 35px -10px rgba(0,2,4,.2),0 6px 4px -4px rgba(0,2,4,.02)}.popup--size-large .popup__scroll{padding:2.8846153846rem calc(var(--scrollbar-width) + 2.88462rem) 1.9230769231rem 2.8846153846rem}.popup--size-wide .popup__content{box-shadow:0 0 30px 0 rgba(0,2,4,.12),0 30px 25px -8px rgba(0,2,4,.1)}.popup--size-wide .popup__content:after{border:12px solid transparent;border-top:12px solid var(--theme-input-bg)}.popup--size-wide .popup__scroll{padding:.4807692308rem .9615384615rem}.popup--size-wide.popup--align-left .popup__content{left:-.9615384615rem}.popup--size-wide.popup--align-left .popup__content:after{left:.8173076923rem}.popup--h-align-left .popup__content{left:-3.3653846154rem}.popup--h-align-left .popup__content:after{left:3.3653846154rem}.popup--h-align-center .popup__content,.popup--h-align-center .popup__content:after{left:50%;transform:translateX(-50%)}.popup--h-align-right .popup__content{right:-3.3653846154rem}.popup--h-align-right .popup__content:after{right:3.3653846154rem}.popup--v-align-top .popup__content{bottom:calc(100% + 1.92308rem)}.popup--v-align-bottom .popup__content{box-shadow:0 -2px 20px 7px rgba(0,2,4,.1),0 6px 4px -4px rgba(0,2,4,.02);top:calc(100% + .96154rem)}.popup--v-align-bottom .popup__content:after{border-bottom-color:var(--theme-input-bg);border-top-color:transparent!important;bottom:calc(100% - 1px);top:auto}.popup--v-align-bottom.popup--color-dark .popup__content:after{border-bottom-color:var(--theme-elevation-800)}.popup--color-dark .popup__content{background:var(--theme-elevation-800);color:var(--theme-input-bg)}.popup--color-dark .popup__content:after{border-top-color:var(--theme-elevation-800)}.popup--active .popup__content{opacity:1;pointer-events:all;visibility:visible}@media(max-width:1024px){.popup--size-large .popup__scroll,.popup__scroll{padding:1.4423076923rem;padding-right:calc(var(--scrollbar-width) + 1.44231rem)}.popup--h-align-left .popup__content{left:-.9615384615rem}.popup--h-align-left .popup__content:after{left:.9615384615rem}.popup--h-align-center .popup__content,.popup--h-align-center .popup__content:after{left:50%;transform:translateX(0)}.popup--h-align-right .popup__content{right:-.9615384615rem}.popup--h-align-right .popup__content:after{right:.9615384615rem}.popup--force-h-align-left .popup__content{left:-.9615384615rem;right:auto;transform:none}.popup--force-h-align-left .popup__content:after{left:.9615384615rem;right:auto;transform:none}.popup--force-h-align-right .popup__content{left:auto;right:-.9615384615rem;transform:none}.popup--force-h-align-right .popup__content:after{left:auto;right:.9615384615rem;transform:none}}.banner{background:var(--theme-elevation-100);border:0;border-radius:3px;color:var(--theme-elevation-800);font-size:1rem;line-height:1.9230769231rem;margin-bottom:1.9230769231rem;padding:.9615384615rem;vertical-align:middle}.banner--has-action{cursor:pointer;-webkit-text-decoration:none;text-decoration:none}.banner--has-icon{display:flex}.banner--has-icon svg{display:block}.banner--type-default.button--has-action:hover{background:var(--theme-elevation-900)}.banner--type-default.button--has-action:active{background:var(--theme-elevation-950)}.banner--type-error{background:var(--theme-error-100);color:var(--theme-error-500)}.banner--type-error svg .stroke{stroke:var(--theme-error-500);fill:none}.banner--type-error svg .fill{fill:var(--theme-error-500)}.banner--type-error.button--has-action:hover{background:var(--theme-error-200)}.banner--type-error.button--has-action:active{background:var(--theme-error-300)}.banner--type-success{background:var(--theme-success-500);color:var(--color-base-800)}.banner--type-success.button--has-action:active,.banner--type-success.button--has-action:hover{background:var(--theme-success-200)}.template-minimal{align-items:center;display:flex;justify-content:center;margin-left:auto;margin-right:auto;min-height:100%;padding:5.7692307692rem 1.9230769231rem;width:100%}.template-minimal--width-normal .template-minimal__wrap{max-width:500px;width:100%}.template-minimal--width-wide .template-minimal__wrap{max-width:1024px;width:100%}.icon--check{height:1.9230769231rem;width:1.9230769231rem}.icon--check .stroke{fill:none;stroke:var(--theme-elevation-800);stroke-width:2px}.icon--search{height:1.9230769231rem;width:1.9230769231rem}.icon--search .stroke{stroke:var(--theme-elevation-800);stroke-width:1px}.icon--menu .fill{fill:var(--theme-text)}.pill{align-items:center;background:var(--theme-elevation-150);border:0;border-radius:3px;color:var(--theme-elevation-800);cursor:default;display:inline-flex;flex-shrink:0;font-size:1rem;line-height:1.9230769231rem;overflow:hidden;padding:0 .4807692308rem;text-overflow:ellipsis;white-space:nowrap}.pill--rounded{border-radius:var(--style-radius-l);font-size:12px;line-height:18px}.pill:active,.pill:focus:not(:focus-visible){outline:none}.pill:focus-visible{outline:var(--accessibility-outline);outline-offset:var(--accessibility-outline-offset)}.pill--has-action{cursor:pointer;-webkit-text-decoration:none;text-decoration:none}.pill--is-dragging{cursor:grabbing}.pill--has-icon svg{display:block}.pill--align-icon-left{padding-left:0}.pill--align-icon-right{padding-right:0}.pill--style-white{background:var(--theme-elevation-0)}.pill--style-light-gray,.pill--style-light.pill--has-action:active,.pill--style-light.pill--has-action:hover,.pill--style-white.pill--has-action:active,.pill--style-white.pill--has-action:hover{background:var(--theme-elevation-100)}.pill--style-light-gray{color:var(--theme-elevation-800)}.pill--style-warning{background:var(--theme-warning-500)}.pill--style-success{background:var(--theme-success-500);color:var(--color-base-800)}.pill--style-dark{background:var(--theme-elevation-800);color:var(--theme-elevation-0)}.pill--style-dark svg .stroke{stroke:var(--theme-elevation-0);fill:none}.pill--style-dark svg .fill{fill:var(--theme-elevation-0)}.pill--style-dark.pill--has-action:hover{background:var(--theme-elevation-750)}.pill--style-dark.pill--has-action:active{background:var(--theme-elevation-700)}html[data-theme=dark] .pill--style-error{background:var(--theme-error-500);color:var(--color-base-1000)}html[data-theme=light] .pill--style-error{background:var(--theme-error-250);color:var(--theme-error-750)}
|
|
@@ -66,7 +66,7 @@ a.btn {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
&:not(.btn--disabled) {
|
|
69
|
-
&:hover {
|
|
69
|
+
&:hover, &:focus-visible {
|
|
70
70
|
background: var(--theme-elevation-750);
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -75,7 +75,7 @@ a.btn {
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
&:focus {
|
|
78
|
+
&:focus:not(:focus-visible) {
|
|
79
79
|
box-shadow: $focus-box-shadow;
|
|
80
80
|
outline: none;
|
|
81
81
|
}
|
|
@@ -91,7 +91,7 @@ a.btn {
|
|
|
91
91
|
background: none;
|
|
92
92
|
backdrop-filter: blur(5px);
|
|
93
93
|
|
|
94
|
-
&:hover {
|
|
94
|
+
&:hover, &:focus-visible {
|
|
95
95
|
background: var(--theme-elevation-100);
|
|
96
96
|
box-shadow: $hover-box-shadow;
|
|
97
97
|
}
|
|
@@ -106,7 +106,7 @@ a.btn {
|
|
|
106
106
|
box-shadow: inset 0 0 0 $style-stroke-width var(--theme-elevation-400);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
&:focus {
|
|
109
|
+
&:focus:not(:focus-visible) {
|
|
110
110
|
outline: none;
|
|
111
111
|
box-shadow: $hover-box-shadow, $focus-box-shadow;
|
|
112
112
|
}
|
|
@@ -179,14 +179,14 @@ a.btn {
|
|
|
179
179
|
cursor: default;
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
&:hover {
|
|
182
|
+
&:hover, &:focus-visible {
|
|
183
183
|
.btn__icon {
|
|
184
184
|
@include color-svg(var(--theme-elevation-0));
|
|
185
185
|
background: var(--theme-elevation-800);
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
&:focus {
|
|
189
|
+
&:focus:not(:focus-visible) {
|
|
190
190
|
.btn__icon {
|
|
191
191
|
@include color-svg(var(--theme-elevation-800));
|
|
192
192
|
background: var(--theme-elevation-150);
|
|
@@ -201,4 +201,9 @@ a.btn {
|
|
|
201
201
|
background: var(--theme-elevation-700);
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
+
|
|
205
|
+
&:focus-visible {
|
|
206
|
+
outline: var(--accessibility-outline);
|
|
207
|
+
outline-offset: var(--accessibility-outline-offset);
|
|
208
|
+
}
|
|
204
209
|
}
|
|
@@ -56,7 +56,7 @@ const CopyToClipboard = ({ value, defaultMessage, successMessage, }) => {
|
|
|
56
56
|
react_1.default.createElement(Tooltip_1.default, { show: hovered || copied, delay: copied ? 0 : undefined },
|
|
57
57
|
copied && (successMessage !== null && successMessage !== void 0 ? successMessage : t('copied')),
|
|
58
58
|
!copied && (defaultMessage !== null && defaultMessage !== void 0 ? defaultMessage : t('copy'))),
|
|
59
|
-
react_1.default.createElement("textarea", { readOnly: true, value: value, ref: ref })));
|
|
59
|
+
react_1.default.createElement("textarea", { readOnly: true, tabIndex: -1, value: value, ref: ref })));
|
|
60
60
|
}
|
|
61
61
|
return null;
|
|
62
62
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/admin/components/elements/CopyToClipboard/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAgD;AAChD,iDAA+C;AAC/C,4DAAoC;AACpC,yDAAiC;AAGjC,wBAAsB;AAEtB,MAAM,SAAS,GAAG,mBAAmB,CAAC;AAEtC,MAAM,eAAe,GAAoB,CAAC,EACxC,KAAK,EACL,cAAc,EACd,cAAc,GACf,EAAE,EAAE;IACH,MAAM,GAAG,GAAG,IAAA,cAAM,EAAC,IAAI,CAAC,CAAC;IACzB,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAC5C,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,8BAAc,EAAC,SAAS,CAAC,CAAC;IAExC,IAAI,KAAK,EAAE;QACT,OAAO,CACL,0CACE,YAAY,EAAE,GAAG,EAAE;gBACjB,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjB,SAAS,CAAC,KAAK,CAAC,CAAC;YACnB,CAAC,EACD,YAAY,EAAE,GAAG,EAAE;gBACjB,UAAU,CAAC,KAAK,CAAC,CAAC;gBAClB,SAAS,CAAC,KAAK,CAAC,CAAC;YACnB,CAAC,EACD,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,GAAG,EAAE;gBACZ,IAAI,GAAG,IAAI,GAAG,CAAC,OAAO,EAAE;oBACtB,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;oBACrB,GAAG,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;oBACnD,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;oBAC7B,SAAS,CAAC,IAAI,CAAC,CAAC;iBACjB;YACH,CAAC;YAED,8BAAC,cAAI,OAAG;YACR,8BAAC,iBAAO,IACN,IAAI,EAAE,OAAO,IAAI,MAAM,EACvB,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;gBAE5B,MAAM,IAAI,CAAC,cAAc,aAAd,cAAc,cAAd,cAAc,GAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;gBACzC,CAAC,MAAM,IAAI,CAAC,cAAc,aAAd,cAAc,cAAd,cAAc,GAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CACjC;YACV,4CACE,QAAQ,QACR,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,GAAG,GACR,CACK,CACV,CAAC;KACH;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF,kBAAe,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/admin/components/elements/CopyToClipboard/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAgD;AAChD,iDAA+C;AAC/C,4DAAoC;AACpC,yDAAiC;AAGjC,wBAAsB;AAEtB,MAAM,SAAS,GAAG,mBAAmB,CAAC;AAEtC,MAAM,eAAe,GAAoB,CAAC,EACxC,KAAK,EACL,cAAc,EACd,cAAc,GACf,EAAE,EAAE;IACH,MAAM,GAAG,GAAG,IAAA,cAAM,EAAC,IAAI,CAAC,CAAC;IACzB,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAC5C,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,EAAE,CAAC,EAAE,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}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
position: relative;
|
|
6
6
|
cursor: pointer;
|
|
7
7
|
vertical-align: middle;
|
|
8
|
+
border-radius: 100%;
|
|
8
9
|
|
|
9
10
|
textarea {
|
|
10
11
|
position: absolute;
|
|
@@ -18,4 +19,8 @@
|
|
|
18
19
|
&:active {
|
|
19
20
|
outline: none;
|
|
20
21
|
}
|
|
22
|
+
|
|
23
|
+
&:focus-visible {
|
|
24
|
+
outline: var(--accessibility-outline);
|
|
25
|
+
}
|
|
21
26
|
}
|
|
@@ -86,8 +86,7 @@ const DeleteDocument = (props) => {
|
|
|
86
86
|
}, [setModified, serverURL, api, slug, id, toggleModal, modalSlug, t, singular, i18n, title, history, admin, addDefaultError]);
|
|
87
87
|
if (id) {
|
|
88
88
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
89
|
-
react_1.default.createElement(
|
|
90
|
-
e.preventDefault();
|
|
89
|
+
react_1.default.createElement(Button_1.default, { buttonStyle: "none", id: buttonId, className: `${baseClass}__toggle`, onClick: () => {
|
|
91
90
|
setDeleting(false);
|
|
92
91
|
toggleModal(modalSlug);
|
|
93
92
|
} }, t('delete')),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/admin/components/elements/DeleteDocument/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAqD;AACrD,mDAAuC;AACvC,uDAA8C;AAC9C,8CAAqD;AACrD,iDAAsD;AACtD,mDAAmD;AACnD,uDAA+B;AAC/B,sEAAsD;AACtD,sDAAmD;AACnD,uEAA+C;AAC/C,sCAAwC;AAExC,yEAAsE;AAEtE,wBAAsB;AAEtB,MAAM,SAAS,GAAG,iBAAiB,CAAC;AAEpC,MAAM,cAAc,GAAoB,CAAC,KAAK,EAAE,EAAE;IAChD,MAAM,EACJ,KAAK,EAAE,cAAc,EACrB,EAAE,EACF,QAAQ,EACR,UAA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IAAI,CAAC,QAAQ;aACjC;SACF,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;YACpB,IAAI;gBACF,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC;gBAC9B,IAAI,GAAG,CAAC,MAAM,GAAG,GAAG,EAAE;oBACpB,WAAW,CAAC,SAAS,CAAC,CAAC;oBACvB,sBAAK,CAAC,OAAO,CAAC,CAAC,CAAC,cAAc,EAAE,EAAE,KAAK,EAAE,IAAA,+BAAc,EAAC,QAAQ,EAAE,IAAI,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;oBACnF,OAAO,OAAO,CAAC,IAAI,CAAC,GAAG,KAAK,gBAAgB,IAAI,EAAE,CAAC,CAAC;iBACrD;gBAED,WAAW,CAAC,SAAS,CAAC,CAAC;gBAEvB,IAAI,IAAI,CAAC,MAAM,EAAE;oBACf,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,sBAAK,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;iBAC5D;qBAAM;oBACL,eAAe,EAAE,CAAC;iBACnB;gBACD,OAAO,KAAK,CAAC;aACd;YAAC,OAAO,CAAC,EAAE;gBACV,OAAO,eAAe,EAAE,CAAC;aAC1B;QACH,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,WAAW,EAAE,SAAS,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC;IAE/H,IAAI,EAAE,EAAE;QACN,OAAO,CACL,8BAAC,eAAK,CAAC,QAAQ;YACb,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/admin/components/elements/DeleteDocument/index.tsx"],"names":[],"mappings":";;;;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AM,IACL,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,EAC5C,EAAE,EAAC,gBAAgB,IAElB,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CACjC,CACL,CACU,CACZ,CACO,CAClB,CAAC;KACH;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF,kBAAe,cAAc,CAAC"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
font-weight: 600;
|
|
14
14
|
cursor: pointer;
|
|
15
15
|
|
|
16
|
-
&:hover {
|
|
16
|
+
&:hover, &:focus-visible {
|
|
17
17
|
text-decoration: underline;
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
cursor: pointer;
|
|
39
39
|
padding-right: 0;
|
|
40
40
|
|
|
41
|
-
&:hover {
|
|
41
|
+
&:hover, &:focus-visible {
|
|
42
42
|
text-decoration: underline;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -71,6 +71,10 @@
|
|
|
71
71
|
>* {
|
|
72
72
|
margin-top: base(1);
|
|
73
73
|
}
|
|
74
|
+
|
|
75
|
+
a:focus-visible {
|
|
76
|
+
outline: var(--accessibility-outline);
|
|
77
|
+
}
|
|
74
78
|
}
|
|
75
79
|
|
|
76
80
|
&__log-out {
|
|
@@ -88,12 +92,12 @@
|
|
|
88
92
|
display: flex;
|
|
89
93
|
text-decoration: none;
|
|
90
94
|
|
|
91
|
-
&:focus {
|
|
95
|
+
&:focus:not(:focus-visible) {
|
|
92
96
|
box-shadow: none;
|
|
93
97
|
font-weight: 600;
|
|
94
98
|
}
|
|
95
99
|
|
|
96
|
-
&:hover {
|
|
100
|
+
&:hover, &:focus-visible {
|
|
97
101
|
text-decoration: underline;
|
|
98
102
|
}
|
|
99
103
|
|
|
@@ -22,13 +22,17 @@
|
|
|
22
22
|
margin-top: base(-.2);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
&:hover {
|
|
25
|
+
&:hover, &:focus-visible {
|
|
26
26
|
color: var(--theme-elevation-1000);
|
|
27
27
|
|
|
28
28
|
.stroke {
|
|
29
29
|
stroke: var(--theme-elevation-1000);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
+
|
|
33
|
+
&:focus-visible {
|
|
34
|
+
outline: none;
|
|
35
|
+
}
|
|
32
36
|
}
|
|
33
37
|
|
|
34
38
|
&__indicator {
|
|
@@ -14,7 +14,7 @@ const ClickableArrow = (props) => {
|
|
|
14
14
|
isDisabled && `${baseClass}--is-disabled`,
|
|
15
15
|
direction && `${baseClass}--${direction}`,
|
|
16
16
|
].filter(Boolean).join(' ');
|
|
17
|
-
return (react_1.default.createElement("button", { className: classes, onClick: !isDisabled ? updatePage : undefined, type: "button" },
|
|
17
|
+
return (react_1.default.createElement("button", { className: classes, disabled: isDisabled, onClick: !isDisabled ? updatePage : undefined, type: "button" },
|
|
18
18
|
react_1.default.createElement(Chevron_1.default, null)));
|
|
19
19
|
};
|
|
20
20
|
exports.default = ClickableArrow;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/admin/components/elements/Paginator/ClickableArrow/index.tsx"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAG1B,qEAA6C;AAE7C,wBAAsB;AAEtB,MAAM,SAAS,GAAG,iBAAiB,CAAC;AAEpC,MAAM,cAAc,GAAoB,CAAC,KAAK,EAAE,EAAE;IAChD,MAAM,EACJ,UAAU,EACV,UAAU,GAAG,KAAK,EAClB,SAAS,GAAG,OAAO,GACpB,GAAG,KAAK,CAAC;IAEV,MAAM,OAAO,GAAG;QACd,SAAS;QACT,UAAU,IAAI,GAAG,SAAS,eAAe;QACzC,SAAS,IAAI,GAAG,SAAS,KAAK,SAAS,EAAE;KAC1C,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAE5B,OAAO,CACL,0CACE,SAAS,EAAE,OAAO,EAClB,OAAO,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,EAC7C,IAAI,EAAC,QAAQ;QAEb,8BAAC,iBAAO,OAAG,CACJ,CACV,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/admin/components/elements/Paginator/ClickableArrow/index.tsx"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAG1B,qEAA6C;AAE7C,wBAAsB;AAEtB,MAAM,SAAS,GAAG,iBAAiB,CAAC;AAEpC,MAAM,cAAc,GAAoB,CAAC,KAAK,EAAE,EAAE;IAChD,MAAM,EACJ,UAAU,EACV,UAAU,GAAG,KAAK,EAClB,SAAS,GAAG,OAAO,GACpB,GAAG,KAAK,CAAC;IAEV,MAAM,OAAO,GAAG;QACd,SAAS;QACT,UAAU,IAAI,GAAG,SAAS,eAAe;QACzC,SAAS,IAAI,GAAG,SAAS,KAAK,SAAS,EAAE;KAC1C,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAE5B,OAAO,CACL,0CACE,SAAS,EAAE,OAAO,EAClB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,EAC7C,IAAI,EAAC,QAAQ;QAEb,8BAAC,iBAAO,OAAG,CACJ,CACV,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,cAAc,CAAC"}
|
|
@@ -35,8 +35,14 @@
|
|
|
35
35
|
color: var(--theme-elevation-800);
|
|
36
36
|
line-height: base(1);
|
|
37
37
|
|
|
38
|
-
&:
|
|
39
|
-
|
|
38
|
+
&:not(.clickable-arrow--is-disabled) {
|
|
39
|
+
&:hover, &:focus-visible {
|
|
40
|
+
background: var(--theme-elevation-100);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&:focus-visible {
|
|
45
|
+
outline: var(--accessibility-outline);
|
|
40
46
|
}
|
|
41
47
|
}
|
|
42
48
|
|
|
@@ -23,10 +23,15 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
&:active,
|
|
26
|
-
&:focus {
|
|
26
|
+
&:focus:not(:focus-visible) {
|
|
27
27
|
outline: none;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
&:focus-visible {
|
|
31
|
+
outline: var(--accessibility-outline);
|
|
32
|
+
outline-offset: var(--accessibility-outline-offset);
|
|
33
|
+
}
|
|
34
|
+
|
|
30
35
|
&--has-action {
|
|
31
36
|
cursor: pointer;
|
|
32
37
|
text-decoration: none;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
align-items: center;
|
|
8
8
|
cursor: pointer;
|
|
9
9
|
|
|
10
|
-
&:focus,
|
|
10
|
+
&:focus:not(:focus-visible),
|
|
11
11
|
&:active {
|
|
12
12
|
outline: none;
|
|
13
13
|
}
|
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
opacity: .2;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
+
|
|
21
|
+
&:focus-visible {
|
|
22
|
+
outline-offset: var(--accessibility-outline-offset);
|
|
23
|
+
}
|
|
20
24
|
}
|
|
21
25
|
|
|
22
26
|
&__input {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
align-items: center;
|
|
8
8
|
cursor: pointer;
|
|
9
9
|
|
|
10
|
-
&:focus,
|
|
10
|
+
&:focus:not(:focus-visible),
|
|
11
11
|
&:active {
|
|
12
12
|
outline: none;
|
|
13
13
|
}
|
|
@@ -17,6 +17,11 @@
|
|
|
17
17
|
opacity: .2;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
+
|
|
21
|
+
&:focus-visible {
|
|
22
|
+
outline: var(--accessibility-outline);
|
|
23
|
+
outline-offset: var(--accessibility-outline-offset);
|
|
24
|
+
}
|
|
20
25
|
}
|
|
21
26
|
|
|
22
27
|
&__input {
|
package/dist/admin/scss/app.scss
CHANGED
|
@@ -29,6 +29,9 @@
|
|
|
29
29
|
--z-modal: 30;
|
|
30
30
|
--z-status: 40;
|
|
31
31
|
|
|
32
|
+
--accessibility-outline: 2px solid var(--theme-text);
|
|
33
|
+
--accessibility-outline-offset: 2px;
|
|
34
|
+
|
|
32
35
|
--gutter-h: #{base(5)};
|
|
33
36
|
|
|
34
37
|
@include large-break {
|
|
@@ -142,11 +145,17 @@ ol {
|
|
|
142
145
|
margin: 0 0 $baseline;
|
|
143
146
|
}
|
|
144
147
|
|
|
148
|
+
:focus-visible {
|
|
149
|
+
outline: var(--accessibility-outline);
|
|
150
|
+
}
|
|
151
|
+
|
|
145
152
|
a {
|
|
146
153
|
color: currentColor;
|
|
147
154
|
|
|
148
155
|
&:focus {
|
|
149
|
-
|
|
156
|
+
&:not(:focus-visible) {
|
|
157
|
+
opacity: .8;
|
|
158
|
+
}
|
|
150
159
|
outline: none;
|
|
151
160
|
}
|
|
152
161
|
|
|
@@ -42,6 +42,13 @@ const getDevConfig = (payloadConfig) => {
|
|
|
42
42
|
webpackConfig.module.rules.push({
|
|
43
43
|
test: /\.(scss|css)$/,
|
|
44
44
|
sideEffects: true,
|
|
45
|
+
/*
|
|
46
|
+
* The loaders here are run in reverse order. Here is how your loaders are being processed:
|
|
47
|
+
* 1. sass-loader: This loader compiles your SCSS into CSS.
|
|
48
|
+
* 2. postcss-loader: This loader applies postcss transformations (with preset-env plugin in your case).
|
|
49
|
+
* 3. css-loader: This loader interprets @import and url() like import/require() and will resolve them.
|
|
50
|
+
* 4. style-loader: This loader injects CSS into the DOM.
|
|
51
|
+
*/
|
|
45
52
|
use: [
|
|
46
53
|
require.resolve('style-loader'),
|
|
47
54
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dev.js","sourceRoot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ooks.mdx
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "payload",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.4",
|
|
4
4
|
"description": "Node, React and MongoDB Headless CMS and Application Framework",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"pluralize": "^8.0.0",
|
|
154
154
|
"postcss": "^8.4.21",
|
|
155
155
|
"postcss-loader": "^6.2.1",
|
|
156
|
-
"postcss-preset-env": "^
|
|
156
|
+
"postcss-preset-env": "^9.0.0",
|
|
157
157
|
"probe-image-size": "^6.0.0",
|
|
158
158
|
"process": "^0.11.10",
|
|
159
159
|
"qs": "^6.11.0",
|