Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Upgrade Compound Web #2314

Merged
merged 1 commit into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
158 changes: 150 additions & 8 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@urql/exchange-refocus": "^1.0.2",
"@urql/exchange-request-policy": "^1.0.2",
"@vector-im/compound-design-tokens": "^0.0.7",
"@vector-im/compound-web": "^0.8.1",
"@vector-im/compound-web": "^3.0.1",
"classnames": "^2.3.2",
"date-fns": "^2.30.0",
"graphql": "^16.8.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ exports[`<ConfirmationModal /> > opens modal on clicking trigger 1`] = `
class="_buttons_6bc2cb"
>
<button
class="_button_1t47t_17"
class="_button_dyfp8_17"
data-kind="tertiary"
data-size="sm"
role="button"
Expand All @@ -35,8 +35,8 @@ exports[`<ConfirmationModal /> > opens modal on clicking trigger 1`] = `
Cancel
</button>
<button
class="_button_1t47t_17"
data-kind="destructive"
class="_button_dyfp8_17 _destructive_dyfp8_99"
data-kind="secondary"
data-size="sm"
role="button"
tabindex="0"
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/components/Session/Session.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// @vitest-environment happy-dom

import { parseISO } from "date-fns";
import { create } from "react-test-renderer";
import { describe, expect, it, beforeAll } from "vitest";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,30 @@ exports[`<CompatSessionDetail> > renders a compatability session details 1`] = `
class="_header_92353c"
>
<button
class="_icon-button_1qjaf_17"
class="_icon-button_16nk7_17"
role="button"
style="--cpd-icon-button-size: 32px;"
tabindex="0"
type="button"
>
<svg
class="cpd-icon"
fill="none"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
<div
class="_indicator-icon_133tf_26"
style="--cpd-icon-button-size: 100%;"
>
<path
d="M12.2071 5.29289C12.5976 5.68342 12.5976 6.31658 12.2071 6.70711L7.91421 11H18.5C19.0523 11 19.5 11.4477 19.5 12C19.5 12.5523 19.0523 13 18.5 13H7.91421L12.2071 17.2929C12.5976 17.6834 12.5976 18.3166 12.2071 18.7071C11.8166 19.0976 11.1834 19.0976 10.7929 18.7071L4.79289 12.7071C4.40237 12.3166 4.40237 11.6834 4.79289 11.2929L10.7929 5.29289C11.1834 4.90237 11.8166 4.90237 12.2071 5.29289Z"
fill="currentColor"
/>
</svg>
<svg
class="cpd-icon"
fill="none"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M12.2071 5.29289C12.5976 5.68342 12.5976 6.31658 12.2071 6.70711L7.91421 11H18.5C19.0523 11 19.5 11.4477 19.5 12C19.5 12.5523 19.0523 13 18.5 13H7.91421L12.2071 17.2929C12.5976 17.6834 12.5976 18.3166 12.2071 18.7071C11.8166 19.0976 11.1834 19.0976 10.7929 18.7071L4.79289 12.7071C4.40237 12.3166 4.40237 11.6834 4.79289 11.2929L10.7929 5.29289C11.1834 4.90237 11.8166 4.90237 12.2071 5.29289Z"
fill="currentColor"
/>
</svg>
</div>
</button>
<h3
class="_typography_yh5dq_162 _font-heading-md-semibold_yh5dq_121"
Expand Down Expand Up @@ -181,10 +188,11 @@ exports[`<CompatSessionDetail> > renders a compatability session details 1`] = `
</div>
<button
aria-controls="radix-:r0:"
aria-disabled="false"
aria-expanded="false"
aria-haspopup="dialog"
class="_button_1t47t_17"
data-kind="destructive"
class="_button_dyfp8_17 _destructive_dyfp8_99"
data-kind="secondary"
data-size="sm"
data-state="closed"
role="button"
Expand All @@ -206,23 +214,30 @@ exports[`<CompatSessionDetail> > renders a compatability session without an ssoL
class="_header_92353c"
>
<button
class="_icon-button_1qjaf_17"
class="_icon-button_16nk7_17"
role="button"
style="--cpd-icon-button-size: 32px;"
tabindex="0"
type="button"
>
<svg
class="cpd-icon"
fill="none"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
<div
class="_indicator-icon_133tf_26"
style="--cpd-icon-button-size: 100%;"
>
<path
d="M12.2071 5.29289C12.5976 5.68342 12.5976 6.31658 12.2071 6.70711L7.91421 11H18.5C19.0523 11 19.5 11.4477 19.5 12C19.5 12.5523 19.0523 13 18.5 13H7.91421L12.2071 17.2929C12.5976 17.6834 12.5976 18.3166 12.2071 18.7071C11.8166 19.0976 11.1834 19.0976 10.7929 18.7071L4.79289 12.7071C4.40237 12.3166 4.40237 11.6834 4.79289 11.2929L10.7929 5.29289C11.1834 4.90237 11.8166 4.90237 12.2071 5.29289Z"
fill="currentColor"
/>
</svg>
<svg
class="cpd-icon"
fill="none"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M12.2071 5.29289C12.5976 5.68342 12.5976 6.31658 12.2071 6.70711L7.91421 11H18.5C19.0523 11 19.5 11.4477 19.5 12C19.5 12.5523 19.0523 13 18.5 13H7.91421L12.2071 17.2929C12.5976 17.6834 12.5976 18.3166 12.2071 18.7071C11.8166 19.0976 11.1834 19.0976 10.7929 18.7071L4.79289 12.7071C4.40237 12.3166 4.40237 11.6834 4.79289 11.2929L10.7929 5.29289C11.1834 4.90237 11.8166 4.90237 12.2071 5.29289Z"
fill="currentColor"
/>
</svg>
</div>
</button>
<h3
class="_typography_yh5dq_162 _font-heading-md-semibold_yh5dq_121"
Expand Down Expand Up @@ -329,10 +344,11 @@ exports[`<CompatSessionDetail> > renders a compatability session without an ssoL
</div>
<button
aria-controls="radix-:r3:"
aria-disabled="false"
aria-expanded="false"
aria-haspopup="dialog"
class="_button_1t47t_17"
data-kind="destructive"
class="_button_dyfp8_17 _destructive_dyfp8_99"
data-kind="secondary"
data-size="sm"
data-state="closed"
role="button"
Expand Down
Loading