@wellesley/notifications 1.0.158 → 1.0.160
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/error.svg +5 -0
- package/green-flash.svg +9 -0
- package/icon.svg +9 -0
- package/index.css +1 -0
- package/index.mjs +73 -15
- package/ooopsIcon.svg +88 -0
- package/package.json +1 -1
package/error.svg
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<circle cx="7" cy="7" r="5" fill="#BD3131" stroke="#BD3131" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M5.19922 5.19922L8.73475 8.73475" stroke="white" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M8.80078 5.19922L5.26525 8.73475" stroke="white" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
</svg>
|
package/green-flash.svg
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M22 12H18L15 21L9 3L6 12H2" stroke="url(#paint0_linear_6442_11409)" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<defs>
|
|
4
|
+
<linearGradient id="paint0_linear_6442_11409" x1="12" y1="3" x2="12" y2="21" gradientUnits="userSpaceOnUse">
|
|
5
|
+
<stop stop-color="#1B4D1D"/>
|
|
6
|
+
<stop offset="1" stop-color="#3FB343"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
</defs>
|
|
9
|
+
</svg>
|
package/icon.svg
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="22" height="20" viewBox="0 0 22 20" fill="none">
|
|
2
|
+
<path d="M21 10H17L14 19L8 1L5 10H1" stroke="url(#paint0_linear_3409_15383)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<defs>
|
|
4
|
+
<linearGradient id="paint0_linear_3409_15383" x1="11" y1="1" x2="11" y2="19" gradientUnits="userSpaceOnUse">
|
|
5
|
+
<stop stop-color="#1B4D1D"/>
|
|
6
|
+
<stop offset="1" stop-color="#3FB343"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
</defs>
|
|
9
|
+
</svg>
|
package/index.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@keyframes marching-ants{0%{background-position:0 0,0 100%,0 0,100% 0}to{background-position:20px 0,-20px 100%,0 -20px,100% 20px}}:root{--rc-drag-handle-size: 12px;--rc-drag-handle-mobile-size: 24px;--rc-drag-handle-bg-colour: rgba(0, 0, 0, .2);--rc-drag-bar-size: 6px;--rc-border-color: rgba(255, 255, 255, .7);--rc-focus-color: #0088ff}.ReactCrop{position:relative;display:inline-block;cursor:crosshair;max-width:100%}.ReactCrop *,.ReactCrop *:before,.ReactCrop *:after{box-sizing:border-box}.ReactCrop--disabled,.ReactCrop--locked{cursor:inherit}.ReactCrop__child-wrapper{overflow:hidden;max-height:inherit}.ReactCrop__child-wrapper>img,.ReactCrop__child-wrapper>video{display:block;max-width:100%;max-height:inherit}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>img,.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>video{touch-action:none}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__crop-selection{touch-action:none}.ReactCrop__crop-mask{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.ReactCrop__crop-selection{position:absolute;top:0;left:0;transform:translateZ(0);cursor:move}.ReactCrop--disabled .ReactCrop__crop-selection{cursor:inherit}.ReactCrop--circular-crop .ReactCrop__crop-selection{border-radius:50%}.ReactCrop--circular-crop .ReactCrop__crop-selection:after{pointer-events:none;content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:1px solid var(--rc-border-color);opacity:.3}.ReactCrop--no-animate .ReactCrop__crop-selection{outline:1px dashed white}.ReactCrop__crop-selection:not(.ReactCrop--no-animate .ReactCrop__crop-selection){animation:marching-ants 1s;background-image:linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%);background-size:10px 1px,10px 1px,1px 10px,1px 10px;background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;color:#fff;animation-play-state:running;animation-timing-function:linear;animation-iteration-count:infinite}.ReactCrop__crop-selection:focus{outline:2px solid var(--rc-focus-color);outline-offset:-1px}.ReactCrop--invisible-crop .ReactCrop__crop-mask,.ReactCrop--invisible-crop .ReactCrop__crop-selection{display:none}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after,.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{content:"";display:block;position:absolute;background-color:#fff6}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after{width:1px;height:100%}.ReactCrop__rule-of-thirds-vt:before{left:33.3333333333%}.ReactCrop__rule-of-thirds-vt:after{left:66.6666666667%}.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{width:100%;height:1px}.ReactCrop__rule-of-thirds-hz:before{top:33.3333333333%}.ReactCrop__rule-of-thirds-hz:after{top:66.6666666667%}.ReactCrop__drag-handle{position:absolute;width:var(--rc-drag-handle-size);height:var(--rc-drag-handle-size);background-color:var(--rc-drag-handle-bg-colour);border:1px solid var(--rc-border-color)}.ReactCrop__drag-handle:focus{background:var(--rc-focus-color)}.ReactCrop .ord-nw{top:0;left:0;transform:translate(-50%,-50%);cursor:nw-resize}.ReactCrop .ord-n{top:0;left:50%;transform:translate(-50%,-50%);cursor:n-resize}.ReactCrop .ord-ne{top:0;right:0;transform:translate(50%,-50%);cursor:ne-resize}.ReactCrop .ord-e{top:50%;right:0;transform:translate(50%,-50%);cursor:e-resize}.ReactCrop .ord-se{bottom:0;right:0;transform:translate(50%,50%);cursor:se-resize}.ReactCrop .ord-s{bottom:0;left:50%;transform:translate(-50%,50%);cursor:s-resize}.ReactCrop .ord-sw{bottom:0;left:0;transform:translate(-50%,50%);cursor:sw-resize}.ReactCrop .ord-w{top:50%;left:0;transform:translate(-50%,-50%);cursor:w-resize}.ReactCrop__disabled .ReactCrop__drag-handle{cursor:inherit}.ReactCrop__drag-bar{position:absolute}.ReactCrop__drag-bar.ord-n{top:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(-50%)}.ReactCrop__drag-bar.ord-e{right:0;top:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(50%)}.ReactCrop__drag-bar.ord-s{bottom:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(50%)}.ReactCrop__drag-bar.ord-w{top:0;left:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(-50%)}.ReactCrop--new-crop .ReactCrop__drag-bar,.ReactCrop--new-crop .ReactCrop__drag-handle,.ReactCrop--fixed-aspect .ReactCrop__drag-bar,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-n,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-e,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-s,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-w{display:none}@media (pointer: coarse){.ReactCrop .ord-n,.ReactCrop .ord-e,.ReactCrop .ord-s,.ReactCrop .ord-w{display:none}.ReactCrop__drag-handle{width:var(--rc-drag-handle-mobile-size);height:var(--rc-drag-handle-mobile-size)}}.ReactCrop__crop-mask{border-radius:6px}.ReactCrop__crop-selection{animation:none!important;outline:1px solid #fff;border-radius:3px;background-image:none!important}.ReactCrop__crop-selection .ReactCrop__drag-handle{width:16px;height:16px;outline:1px solid var(--slate-200);transform:none;background:transparent;border-radius:50%;background-color:#fff}.ReactCrop--no-animate .ReactCrop__crop-selection{outline:1px solid white}.ReactCrop__crop-selection .ReactCrop__drag-handle.ord-nw{top:-8px;left:-8px}.ReactCrop__crop-selection .ReactCrop__drag-handle.ord-ne{top:-8px;right:-8px}.ReactCrop__crop-selection .ReactCrop__drag-handle.ord-se{bottom:-8px;right:-8px}.ReactCrop__crop-selection .ReactCrop__drag-handle.ord-sw{bottom:-8px;left:-8px}.ReactCrop--circular-crop .ReactCrop__crop-selection:after{display:none}.ReactCrop--circular-crop .ReactCrop__crop-selection .ReactCrop__drag-handle.ord-nw{top:calc(50% - var(--cropRadius));left:calc(50% - var(--cropRadius));transform:translate(-75%,-75%)}.ReactCrop--circular-crop .ReactCrop__crop-selection .ReactCrop__drag-handle.ord-ne{top:calc(50% - var(--cropRadius));left:calc(50% + var(--cropRadius));transform:translate(-25%,-75%)}.ReactCrop--circular-crop .ReactCrop__crop-selection .ReactCrop__drag-handle.ord-se{top:calc(50% + var(--cropRadius));left:calc(50% + var(--cropRadius));transform:translate(-25%,-25%)}.ReactCrop--circular-crop .ReactCrop__crop-selection .ReactCrop__drag-handle.ord-sw{top:calc(50% + var(--cropRadius));left:calc(50% - var(--cropRadius));transform:translate(-75%,-25%)}
|