|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`CCPADialog Snapshots Dialog is closed 1`] = `null`; |
| 4 | + |
| 5 | +exports[`CCPADialog Snapshots Dialog is open 1`] = ` |
| 6 | +Array [ |
| 7 | + <div |
| 8 | + data-focus-guard={true} |
| 9 | + style={ |
| 10 | + Object { |
| 11 | + "height": "0px", |
| 12 | + "left": "1px", |
| 13 | + "overflow": "hidden", |
| 14 | + "padding": 0, |
| 15 | + "position": "fixed", |
| 16 | + "top": "1px", |
| 17 | + "width": "1px", |
| 18 | + } |
| 19 | + } |
| 20 | + tabIndex={0} |
| 21 | + />, |
| 22 | + <div |
| 23 | + className="pgn__modal-layer" |
| 24 | + data-focus-lock-disabled={false} |
| 25 | + onBlur={[Function]} |
| 26 | + onFocus={[Function]} |
| 27 | + onMouseDown={[Function]} |
| 28 | + onScrollCapture={[Function]} |
| 29 | + onTouchMoveCapture={[Function]} |
| 30 | + onTouchStart={[Function]} |
| 31 | + onWheelCapture={[Function]} |
| 32 | + > |
| 33 | + <div |
| 34 | + className="pgn__modal-content-container" |
| 35 | + > |
| 36 | + <div |
| 37 | + className="pgn__modal-backdrop" |
| 38 | + onClick={[Function]} |
| 39 | + onKeyDown={[Function]} |
| 40 | + /> |
| 41 | + <div |
| 42 | + aria-label="Manage Consent Preferences" |
| 43 | + className="pgn__modal pgn__modal-xl pgn__modal-default ccpa-dialog" |
| 44 | + role="dialog" |
| 45 | + > |
| 46 | + <div |
| 47 | + className="pgn__modal-close-container" |
| 48 | + > |
| 49 | + <button |
| 50 | + aria-label="Close" |
| 51 | + className="btn-icon btn-icon-primary btn-icon-md pgn__modal-close-button" |
| 52 | + onClick={[Function]} |
| 53 | + type="button" |
| 54 | + > |
| 55 | + <span |
| 56 | + className="btn-icon__icon-container" |
| 57 | + > |
| 58 | + <span |
| 59 | + className="pgn__icon btn-icon__icon" |
| 60 | + > |
| 61 | + <svg |
| 62 | + aria-hidden={true} |
| 63 | + fill="none" |
| 64 | + focusable={false} |
| 65 | + height={24} |
| 66 | + role="img" |
| 67 | + viewBox="0 0 24 24" |
| 68 | + width={24} |
| 69 | + xmlns="http://www.w3.org/2000/svg" |
| 70 | + > |
| 71 | + <path |
| 72 | + d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z" |
| 73 | + fill="currentColor" |
| 74 | + /> |
| 75 | + </svg> |
| 76 | + </span> |
| 77 | + </span> |
| 78 | + </button> |
| 79 | + </div> |
| 80 | + <div |
| 81 | + className="pgn__modal-header" |
| 82 | + > |
| 83 | + <h2 |
| 84 | + className="pgn__modal-title" |
| 85 | + > |
| 86 | + Manage Consent Preferences |
| 87 | + </h2> |
| 88 | + </div> |
| 89 | + <div |
| 90 | + className="pgn__modal-body pgn__modal-body-scroll-top pgn__modal-body-scroll-bottom" |
| 91 | + > |
| 92 | + <div /> |
| 93 | + <div |
| 94 | + className="pgn__modal-body-content" |
| 95 | + > |
| 96 | + <div |
| 97 | + className="pgn__form-group" |
| 98 | + > |
| 99 | + <div |
| 100 | + className="d-inline-flex flex-column" |
| 101 | + > |
| 102 | + <div |
| 103 | + className="pgn__form-checkbox pgn__form-switch h4 pgn__form-control-label-left" |
| 104 | + id="form-field13" |
| 105 | + role="group" |
| 106 | + > |
| 107 | + <input |
| 108 | + checked={false} |
| 109 | + className="pgn__form-switch-input" |
| 110 | + id="form-field14" |
| 111 | + onChange={[Function]} |
| 112 | + role="switch" |
| 113 | + type="checkbox" |
| 114 | + /> |
| 115 | + <div> |
| 116 | + <label |
| 117 | + className="pgn__form-label" |
| 118 | + htmlFor="form-field14" |
| 119 | + > |
| 120 | + Share My Information with Third Parties for Personalized Advertising |
| 121 | + </label> |
| 122 | + </div> |
| 123 | + </div> |
| 124 | + </div> |
| 125 | + </div> |
| 126 | + <div> |
| 127 | + We share information with business partners to provide personalized online advertising. Under the California Consumer Privacy Act (“CCPA”), some of this data sharing may be broadly considered a “sale” of information. Except for this type of sharing, we do not sell your information. You may opt out of these “sales” under the CCPA. Your selection is saved to this browser, on this device. If you clear your browser cookies, you will need to opt out of “sales” again. To learn more about 2U's use of your data, please see our |
| 128 | + |
| 129 | + <a |
| 130 | + href="https://edx.org/edx-privacy-policy" |
| 131 | + > |
| 132 | + Privacy Policy. |
| 133 | + </a> |
| 134 | + </div> |
| 135 | + </div> |
| 136 | + <div /> |
| 137 | + </div> |
| 138 | + <div |
| 139 | + className="pgn__modal-footer" |
| 140 | + > |
| 141 | + <div |
| 142 | + className="pgn__action-row" |
| 143 | + > |
| 144 | + <button |
| 145 | + className="pgn__modal-close-button btn btn-tertiary" |
| 146 | + disabled={false} |
| 147 | + onClick={[Function]} |
| 148 | + type="button" |
| 149 | + > |
| 150 | + Cancel |
| 151 | + </button> |
| 152 | + <button |
| 153 | + className="btn btn-primary" |
| 154 | + disabled={false} |
| 155 | + onClick={[Function]} |
| 156 | + type="button" |
| 157 | + > |
| 158 | + Confirm |
| 159 | + </button> |
| 160 | + </div> |
| 161 | + </div> |
| 162 | + </div> |
| 163 | + </div> |
| 164 | + </div>, |
| 165 | + <div |
| 166 | + data-focus-guard={true} |
| 167 | + style={ |
| 168 | + Object { |
| 169 | + "height": "0px", |
| 170 | + "left": "1px", |
| 171 | + "overflow": "hidden", |
| 172 | + "padding": 0, |
| 173 | + "position": "fixed", |
| 174 | + "top": "1px", |
| 175 | + "width": "1px", |
| 176 | + } |
| 177 | + } |
| 178 | + tabIndex={0} |
| 179 | + />, |
| 180 | +] |
| 181 | +`; |
0 commit comments