Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove global vars references internally #4974

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

TarunAdobe
Copy link
Contributor

Description

Removed all global-var references in our components or helper functions/projects.

Related issue(s)

  • We have deprecated vars and so we shouldn't be using them too.

Motivation and context

  • Let's move on from vars and try to use the core tokens wherever possible.

How has this been tested?

  • Test case 1
    1. All the existing tests and vrts passed.

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (minor updates related to the tooling or maintenance of the repository, does not impact compiled assets)

Checklist

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • If my change required a change to the documentation, I have updated the documentation in this pull request.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have reviewed at the Accessibility Practices for this feature, see: Aria Practices

Best practices

This repository uses conventional commit syntax for each commit message; note that the GitHub UI does not use this by default so be cautious when accepting suggested changes. Avoid the "Update branch" button on the pull request and opt instead for rebasing your branch against main.

@TarunAdobe TarunAdobe requested a review from a team as a code owner December 5, 2024 06:12
Copy link

changeset-bot bot commented Dec 5, 2024

⚠️ No Changeset found

Latest commit: 8f4f4a6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@TarunAdobe TarunAdobe changed the title chore: removed global vars references internally chore: remove global vars references internally Dec 5, 2024
Copy link

github-actions bot commented Dec 5, 2024

Branch preview

Review the following VRT differences

When a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:

If the changes are expected, update the current_golden_images_cache hash in the circleci config to accept the new images. Instructions are included in that file.
If the changes are unexpected, you can investigate the cause of the differences and update the code accordingly.

@coveralls
Copy link
Collaborator

coveralls commented Dec 5, 2024

Pull Request Test Coverage Report for Build 12178537639

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.003%) to 98.188%

Totals Coverage Status
Change from base Build 12079841155: -0.003%
Covered Lines: 32397
Relevant Lines: 32817

💛 - Coveralls

Copy link

github-actions bot commented Dec 5, 2024

Lighthouse scores

Category Latest (report) Main (report) Branch (report)
Performance 0.99 0.99 0.99
Accessibility 1 1 1
Best Practices 1 1 1
SEO 1 0.92 0.92
PWA 1 1 1
What is this?

Lighthouse scores comparing the documentation site built from the PR ("Branch") to that of the production documentation site ("Latest") and the build currently on main ("Main"). Higher scores are better, but note that the SEO scores on Netlify URLs are artifically constrained to 0.92.

Transfer Size

Category Latest Main Branch
Total 250.919 kB 236.285 kB 236.284 kB 🏆
Scripts 60.966 kB 54.024 kB 54.014 kB 🏆
Stylesheet 53.759 kB 47.824 kB 🏆 47.847 kB
Document 6.24 kB 5.474 kB 🏆 5.476 kB
Font 126.958 kB 126.614 kB 126.596 kB 🏆

Request Count

Category Latest Main Branch
Total 52 52 52
Scripts 41 41 41
Stylesheet 5 5 5
Document 1 1 1
Font 2 2 2

Copy link

github-actions bot commented Dec 5, 2024

Tachometer results

Chrome

accordion permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 678 kB 92.56ms - 94.23ms - faster ✔
8% - 10%
7.64ms - 10.11ms
branch 656 kB 101.35ms - 103.18ms slower ❌
8% - 11%
7.64ms - 10.11ms
-

action-bar permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 739 kB 54.78ms - 56.39ms - faster ✔
2% - 6%
1.39ms - 3.25ms
branch 716 kB 57.43ms - 58.37ms slower ❌
2% - 6%
1.39ms - 3.25ms
-

action-button permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 814 kB 78.94ms - 81.27ms - faster ✔
5% - 8%
3.97ms - 6.90ms
branch 772 kB 84.66ms - 86.42ms slower ❌
5% - 9%
3.97ms - 6.90ms
-

action-group permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 836 kB 53.17ms - 56.41ms - faster ✔
0% - 7%
0.26ms - 3.78ms
branch 794 kB 56.13ms - 57.48ms slower ❌
0% - 7%
0.26ms - 3.78ms
-

action-menu permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 959 kB 150.94ms - 155.15ms - faster ✔
1% - 5%
1.58ms - 7.14ms
branch 918 kB 155.59ms - 159.22ms slower ❌
1% - 5%
1.58ms - 7.14ms
-

test-directive permalink

Version Bytes Avg Time vs remote vs branch
npm latest 917 kB 73.79ms - 75.58ms - faster ✔
5% - 9%
3.89ms - 7.54ms
branch 875 kB 78.81ms - 81.99ms slower ❌
5% - 10%
3.89ms - 7.54ms
-

test-lazy permalink

Version Bytes Avg Time vs remote vs branch
npm latest 916 kB 73.27ms - 75.45ms - faster ✔
4% - 8%
3.43ms - 6.64ms
branch 874 kB 78.22ms - 80.57ms slower ❌
5% - 9%
3.43ms - 6.64ms
-

test-open-close-directive permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1.09 MB 1878.95ms - 1882.34ms - unsure 🔍
-0% - +0%
-1.51ms - +3.09ms
branch 1.05 MB 1878.30ms - 1881.41ms unsure 🔍
-0% - +0%
-3.09ms - +1.51ms
-

test-open-close permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1.09 MB 1884.42ms - 1887.81ms - unsure 🔍
-0% - +0%
-1.54ms - +3.14ms
branch 1.05 MB 1883.69ms - 1886.93ms unsure 🔍
-0% - +0%
-3.14ms - +1.54ms
-

alert-banner permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 689 kB 14.68ms - 14.95ms - faster ✔
2% - 6%
0.24ms - 0.86ms
branch 665 kB 15.09ms - 15.64ms slower ❌
2% - 6%
0.24ms - 0.86ms
-

alert-dialog permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 739 kB 112.67ms - 114.09ms - faster ✔
2% - 4%
2.04ms - 4.52ms
branch 697 kB 115.64ms - 117.68ms slower ❌
2% - 4%
2.04ms - 4.52ms
-

breadcrumbs permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 979 kB 540.63ms - 546.64ms - faster ✔
3% - 4%
14.91ms - 23.71ms
branch 937 kB 559.74ms - 566.16ms slower ❌
3% - 4%
14.91ms - 23.71ms
-

button-group permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 731 kB 48.04ms - 49.32ms - faster ✔
5% - 9%
2.62ms - 5.01ms
branch 689 kB 51.48ms - 53.50ms slower ❌
5% - 10%
2.62ms - 5.01ms
-

button permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 739 kB 55.05ms - 56.32ms - faster ✔
5% - 9%
2.87ms - 5.43ms
branch 697 kB 58.72ms - 60.94ms slower ❌
5% - 10%
2.87ms - 5.43ms
-

card permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 781 kB 40.89ms - 41.61ms - faster ✔
1% - 3%
0.22ms - 1.22ms
branch 758 kB 41.63ms - 42.32ms slower ❌
1% - 3%
0.22ms - 1.22ms
-

checkbox permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 680 kB 48.53ms - 49.40ms - faster ✔
2% - 5%
1.20ms - 2.37ms
branch 657 kB 50.36ms - 51.14ms slower ❌
2% - 5%
1.20ms - 2.37ms
-

coachmark permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 910 kB 98.33ms - 100.85ms - faster ✔
3% - 6%
3.08ms - 6.27ms
branch 865 kB 103.29ms - 105.24ms slower ❌
3% - 6%
3.08ms - 6.27ms
-

color-field permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 748 kB 47.24ms - 47.94ms - faster ✔
3% - 5%
1.36ms - 2.34ms
branch 725 kB 49.11ms - 49.77ms slower ❌
3% - 5%
1.36ms - 2.34ms
-

color-wheel permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 714 kB 108.65ms - 110.43ms - faster ✔
1% - 3%
0.78ms - 3.55ms
branch 692 kB 110.64ms - 112.76ms slower ❌
1% - 3%
0.78ms - 3.55ms
-

combobox permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 1 MB 43.14ms - 43.80ms - faster ✔
1% - 3%
0.31ms - 1.24ms
branch 958 kB 43.93ms - 44.57ms slower ❌
1% - 3%
0.31ms - 1.24ms
-

light-dom-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1 MB 413.83ms - 424.38ms - unsure 🔍
-3% - +1%
-11.31ms - +3.58ms
branch 959 kB 417.71ms - 428.23ms unsure 🔍
-1% - +3%
-3.58ms - +11.31ms
-

contextual-help permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 944 kB 53.58ms - 55.36ms - faster ✔
6% - 9%
3.37ms - 5.47ms
branch 899 kB 58.34ms - 59.45ms slower ❌
6% - 10%
3.37ms - 5.47ms
-

dialog permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 802 kB 82.16ms - 83.70ms - unsure 🔍
-2% - +1%
-1.81ms - +0.55ms
branch 760 kB 82.66ms - 84.45ms unsure 🔍
-1% - +2%
-0.55ms - +1.81ms
-

divider permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 616 kB 11.07ms - 11.81ms - unsure 🔍
-8% - +2%
-0.92ms - +0.29ms
branch 595 kB 11.27ms - 12.24ms unsure 🔍
-3% - +8%
-0.29ms - +0.92ms
-

field-group permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 686 kB 46.35ms - 47.48ms - faster ✔
4% - 7%
1.91ms - 3.43ms
branch 663 kB 49.07ms - 50.10ms slower ❌
4% - 7%
1.91ms - 3.43ms
-

field-label permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 651 kB 22.66ms - 23.09ms - faster ✔
2% - 7%
0.37ms - 1.58ms
branch 628 kB 23.29ms - 24.42ms slower ❌
2% - 7%
0.37ms - 1.58ms
-

help-text permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 646 kB 12.42ms - 13.10ms - unsure 🔍
-5% - +1%
-0.67ms - +0.10ms
branch 623 kB 12.86ms - 13.22ms unsure 🔍
-1% - +5%
-0.10ms - +0.67ms
-

icon permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 651 kB 15.10ms - 16.02ms - faster ✔
8% - 14%
1.29ms - 2.48ms
branch 629 kB 17.07ms - 17.81ms slower ❌
8% - 16%
1.29ms - 2.48ms
-

icons permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 628 kB 31.38ms - 31.73ms - faster ✔
1% - 4%
0.31ms - 1.44ms
branch 607 kB 31.90ms - 32.96ms slower ❌
1% - 5%
0.31ms - 1.44ms
-

infield-button permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 661 kB 16.89ms - 17.18ms - faster ✔
6% - 8%
1.06ms - 1.57ms
branch 638 kB 18.14ms - 18.55ms slower ❌
6% - 9%
1.06ms - 1.57ms
-

menu permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 741 kB 212.94ms - 215.50ms - faster ✔
2% - 4%
4.40ms - 9.47ms
branch 718 kB 218.97ms - 223.34ms slower ❌
2% - 4%
4.40ms - 9.47ms
-

meter permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 668 kB 50.05ms - 50.67ms - faster ✔
4% - 5%
1.98ms - 2.87ms
branch 645 kB 52.46ms - 53.10ms slower ❌
4% - 6%
1.98ms - 2.87ms
-

number-field permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 795 kB 74.45ms - 75.97ms - faster ✔
10% - 12%
8.12ms - 10.33ms
branch 771 kB 83.63ms - 85.24ms slower ❌
11% - 14%
8.12ms - 10.33ms
-

overlay permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 982 kB 434.98ms - 438.75ms - faster ✔
0% - 2%
1.87ms - 8.03ms
branch 940 kB 439.39ms - 444.26ms slower ❌
0% - 2%
1.87ms - 8.03ms
-

directive-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1.06 MB 26.52ms - 27.15ms - faster ✔
4% - 6%
1.05ms - 1.84ms
branch 1.02 MB 28.04ms - 28.52ms slower ❌
4% - 7%
1.05ms - 1.84ms
-

element-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1.05 MB 357.79ms - 362.09ms - faster ✔
3% - 4%
9.64ms - 15.15ms
branch 1.01 MB 370.61ms - 374.07ms slower ❌
3% - 4%
9.64ms - 15.15ms
-

lazy-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 851 kB 45.04ms - 45.77ms - faster ✔
7% - 9%
3.19ms - 4.41ms
branch 806 kB 48.72ms - 49.70ms slower ❌
7% - 10%
3.19ms - 4.41ms
-

picker-button permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 674 kB 30.49ms - 31.13ms - faster ✔
5% - 9%
1.66ms - 2.91ms
branch 651 kB 32.56ms - 33.64ms slower ❌
5% - 9%
1.66ms - 2.91ms
-

picker permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 817 kB 518.69ms - 527.51ms - faster ✔
3% - 6%
18.87ms - 31.58ms
branch 776 kB 543.75ms - 552.91ms slower ❌
4% - 6%
18.87ms - 31.58ms
-

popover permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 817 kB 109.38ms - 110.10ms - faster ✔
2% - 3%
1.77ms - 2.87ms
branch 775 kB 111.64ms - 112.48ms slower ❌
2% - 3%
1.77ms - 2.87ms
-

progress-bar permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 666 kB 31.60ms - 32.50ms - faster ✔
2% - 6%
0.56ms - 2.03ms
branch 643 kB 32.76ms - 33.92ms slower ❌
2% - 6%
0.56ms - 2.03ms
-

radio permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 663 kB 39.16ms - 39.92ms - faster ✔
3% - 6%
1.20ms - 2.31ms
branch 641 kB 40.90ms - 41.70ms slower ❌
3% - 6%
1.20ms - 2.31ms
-

search permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 737 kB 44.58ms - 45.35ms - faster ✔
5% - 7%
2.50ms - 3.57ms
branch 714 kB 47.62ms - 48.37ms slower ❌
6% - 8%
2.50ms - 3.57ms
-

slider permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 741 kB 80.94ms - 82.84ms - faster ✔
3% - 6%
2.86ms - 5.21ms
branch 718 kB 85.23ms - 86.62ms slower ❌
3% - 6%
2.86ms - 5.21ms
-

swatch permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 669 kB 15.68ms - 16.01ms - faster ✔
6% - 9%
1.08ms - 1.55ms
branch 646 kB 16.99ms - 17.33ms slower ❌
7% - 10%
1.08ms - 1.55ms
-

switch permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 657 kB 16.88ms - 17.18ms - faster ✔
5% - 7%
0.89ms - 1.33ms
branch 634 kB 17.98ms - 18.30ms slower ❌
5% - 8%
0.89ms - 1.33ms
-

table permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 802 kB 126.58ms - 128.79ms - faster ✔
4% - 6%
4.65ms - 7.73ms
branch 754 kB 132.80ms - 134.94ms slower ❌
4% - 6%
4.65ms - 7.73ms
-

tabs permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 683 kB 119.79ms - 121.84ms - unsure 🔍
-2% - +0%
-2.79ms - +0.24ms
branch 660 kB 120.97ms - 123.21ms unsure 🔍
-0% - +2%
-0.24ms - +2.79ms
-

tags permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 712 kB 15.17ms - 15.37ms - slower ❌
0% - 2%
0.04ms - 0.32ms
branch 689 kB 14.99ms - 15.19ms faster ✔
0% - 2%
0.04ms - 0.32ms
-

textfield permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 693 kB 26.26ms - 26.74ms - faster ✔
8% - 10%
2.29ms - 3.08ms
branch 670 kB 28.87ms - 29.50ms slower ❌
9% - 12%
2.29ms - 3.08ms
-

toast permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 696 kB 31.80ms - 32.66ms - faster ✔
6% - 9%
1.96ms - 3.04ms
branch 674 kB 34.41ms - 35.06ms slower ❌
6% - 10%
1.96ms - 3.04ms
-

tooltip permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 874 kB 36.46ms - 37.06ms - faster ✔
3% - 5%
1.20ms - 2.10ms
branch 912 kB 38.08ms - 38.75ms slower ❌
3% - 6%
1.20ms - 2.10ms
-

test-directive permalink

Version Bytes Avg Time vs remote vs branch
npm latest 831 kB 25.94ms - 26.61ms - faster ✔
7% - 10%
1.93ms - 2.76ms
branch 789 kB 28.37ms - 28.87ms slower ❌
7% - 11%
1.93ms - 2.76ms
-

test-element permalink

Version Bytes Avg Time vs remote vs branch
npm latest 956 kB 54.36ms - 55.43ms - faster ✔
4% - 7%
2.37ms - 3.88ms
branch 912 kB 57.49ms - 58.55ms slower ❌
4% - 7%
2.37ms - 3.88ms
-

test-lazy permalink

Version Bytes Avg Time vs remote vs branch
npm latest 932 kB 44.97ms - 46.07ms - faster ✔
4% - 7%
2.14ms - 3.65ms
branch 887 kB 47.89ms - 48.93ms slower ❌
5% - 8%
2.14ms - 3.65ms
-

top-nav permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 689 kB 41.13ms - 42.15ms - faster ✔
4% - 8%
1.61ms - 3.41ms
branch 666 kB 43.41ms - 44.89ms slower ❌
4% - 8%
1.61ms - 3.41ms
-

truncated permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 789 kB 65.01ms - 66.17ms - faster ✔
3% - 7%
1.67ms - 4.97ms
branch 763 kB 67.36ms - 70.46ms slower ❌
3% - 8%
1.67ms - 4.97ms
-
Firefox

accordion permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 678 kB 185.16ms - 191.52ms - faster ✔
8% - 12%
15.72ms - 25.64ms
branch 656 kB 205.22ms - 212.82ms slower ❌
8% - 14%
15.72ms - 25.64ms
-

action-bar permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 739 kB 117.46ms - 124.30ms - faster ✔
2% - 11%
2.31ms - 14.45ms
branch 716 kB 124.25ms - 134.27ms slower ❌
2% - 12%
2.31ms - 14.45ms
-

action-button permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 814 kB 175.53ms - 185.47ms - faster ✔
1% - 8%
1.49ms - 14.59ms
branch 772 kB 184.28ms - 192.80ms slower ❌
1% - 8%
1.49ms - 14.59ms
-

action-group permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 836 kB 112.30ms - 121.02ms - unsure 🔍
-7% - +3%
-8.48ms - +3.80ms
branch 794 kB 114.68ms - 123.32ms unsure 🔍
-3% - +7%
-3.80ms - +8.48ms
-

action-menu permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 959 kB 296.07ms - 301.01ms - faster ✔
16% - 18%
56.88ms - 66.20ms
branch 918 kB 356.13ms - 364.03ms slower ❌
19% - 22%
56.88ms - 66.20ms
-

test-directive permalink

Version Bytes Avg Time vs remote vs branch
npm latest 917 kB 163.39ms - 167.65ms - slower ❌
3% - 9%
5.40ms - 14.12ms
branch 875 kB 151.95ms - 159.57ms faster ✔
3% - 8%
5.40ms - 14.12ms
-

test-lazy permalink

Version Bytes Avg Time vs remote vs branch
npm latest 916 kB 146.30ms - 152.26ms - unsure 🔍
-5% - +1%
-7.18ms - +1.06ms
branch 874 kB 149.49ms - 155.19ms unsure 🔍
-1% - +5%
-1.06ms - +7.18ms
-

test-open-close-directive permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1.09 MB 1901.50ms - 1914.06ms - unsure 🔍
-1% - +0%
-13.25ms - +1.49ms
branch 1.05 MB 1909.80ms - 1917.52ms unsure 🔍
-0% - +1%
-1.49ms - +13.25ms
-

test-open-close permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1.09 MB 1906.77ms - 1912.59ms - unsure 🔍
-0% - -0%
-9.50ms - -0.14ms
branch 1.05 MB 1910.83ms - 1918.17ms unsure 🔍
+0% - +0%
+0.14ms - +9.50ms
-

alert-banner permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 689 kB 30.75ms - 34.09ms - unsure 🔍
-11% - +3%
-3.83ms - +1.19ms
branch 665 kB 31.86ms - 35.62ms unsure 🔍
-4% - +12%
-1.19ms - +3.83ms
-

alert-dialog permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 739 kB 209.51ms - 220.97ms - unsure 🔍
-4% - +3%
-9.35ms - +6.91ms
branch 697 kB 210.69ms - 222.23ms unsure 🔍
-3% - +4%
-6.91ms - +9.35ms
-

breadcrumbs permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 979 kB 864.43ms - 875.45ms - faster ✔
3% - 6%
23.05ms - 57.75ms
branch 937 kB 893.89ms - 926.79ms slower ❌
3% - 7%
23.05ms - 57.75ms
-

button-group permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 731 kB 108.09ms - 115.23ms - faster ✔
1% - 11%
0.81ms - 12.79ms
branch 689 kB 113.65ms - 123.27ms slower ❌
1% - 12%
0.81ms - 12.79ms
-

button permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 739 kB 129.11ms - 137.53ms - unsure 🔍
-8% - +0%
-10.68ms - +0.48ms
branch 697 kB 134.76ms - 142.08ms unsure 🔍
-0% - +8%
-0.48ms - +10.68ms
-

card permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 781 kB 82.42ms - 91.14ms - unsure 🔍
-5% - +7%
-4.70ms - +6.14ms
branch 758 kB 82.84ms - 89.28ms unsure 🔍
-7% - +5%
-6.14ms - +4.70ms
-

checkbox permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 680 kB 105.83ms - 111.09ms - faster ✔
2% - 10%
2.53ms - 11.15ms
branch 657 kB 111.88ms - 118.72ms slower ❌
2% - 10%
2.53ms - 11.15ms
-

coachmark permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 910 kB 199.91ms - 208.01ms - faster ✔
2% - 7%
4.11ms - 15.49ms
branch 865 kB 209.76ms - 217.76ms slower ❌
2% - 8%
4.11ms - 15.49ms
-

color-field permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 756 kB 84.50ms - 88.86ms - unsure 🔍
-5% - +1%
-4.64ms - +1.32ms
branch 733 kB 86.30ms - 90.38ms unsure 🔍
-2% - +5%
-1.32ms - +4.64ms
-

color-wheel permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 714 kB 163.19ms - 171.69ms - unsure 🔍
-7% - +0%
-11.74ms - +0.14ms
branch 692 kB 169.08ms - 177.40ms unsure 🔍
-0% - +7%
-0.14ms - +11.74ms
-

combobox permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 1 MB 70.82ms - 79.34ms - slower ❌
4% - 17%
2.95ms - 11.57ms
branch 958 kB 67.12ms - 68.52ms faster ✔
4% - 15%
2.95ms - 11.57ms
-

light-dom-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1 MB 722.19ms - 735.13ms - slower ❌
1% - 6%
10.58ms - 42.62ms
branch 959 kB 687.41ms - 716.71ms faster ✔
1% - 6%
10.58ms - 42.62ms
-

contextual-help permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 944 kB 110.85ms - 118.27ms - faster ✔
2% - 11%
1.97ms - 13.07ms
branch 899 kB 117.95ms - 126.21ms slower ❌
2% - 12%
1.97ms - 13.07ms
-

dialog permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 802 kB 127.30ms - 135.62ms - unsure 🔍
-4% - +4%
-5.57ms - +5.05ms
branch 760 kB 128.43ms - 135.01ms unsure 🔍
-4% - +4%
-5.05ms - +5.57ms
-

divider permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 616 kB 24.73ms - 27.39ms - unsure 🔍
-10% - +5%
-2.71ms - +1.39ms
branch 595 kB 25.17ms - 28.27ms unsure 🔍
-5% - +10%
-1.39ms - +2.71ms
-

field-group permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 686 kB 99.80ms - 106.80ms - unsure 🔍
-10% - +0%
-11.40ms - +0.40ms
branch 663 kB 104.05ms - 113.55ms unsure 🔍
-0% - +11%
-0.40ms - +11.40ms
-

field-label permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 651 kB 58.99ms - 66.33ms - unsure 🔍
-5% - +11%
-2.74ms - +6.82ms
branch 628 kB 57.56ms - 63.68ms unsure 🔍
-11% - +4%
-6.82ms - +2.74ms
-

help-text permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 646 kB 29.82ms - 32.22ms - unsure 🔍
-8% - +4%
-2.60ms - +1.24ms
branch 623 kB 30.20ms - 33.20ms unsure 🔍
-4% - +8%
-1.24ms - +2.60ms
-

icon permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 651 kB 36.15ms - 38.37ms - faster ✔
9% - 19%
3.80ms - 8.28ms
branch 629 kB 41.35ms - 45.25ms slower ❌
10% - 22%
3.80ms - 8.28ms
-

icons permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 628 kB 55.82ms - 57.86ms - unsure 🔍
-3% - +2%
-1.53ms - +1.17ms
branch 607 kB 56.14ms - 57.90ms unsure 🔍
-2% - +3%
-1.17ms - +1.53ms
-

infield-button permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 661 kB 40.75ms - 43.97ms - faster ✔
1% - 11%
0.34ms - 5.22ms
branch 638 kB 43.30ms - 46.98ms slower ❌
1% - 12%
0.34ms - 5.22ms
-

menu permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 741 kB 389.84ms - 408.64ms - faster ✔
0% - 6%
1.17ms - 25.55ms
branch 718 kB 404.84ms - 420.36ms slower ❌
0% - 6%
1.17ms - 25.55ms
-

meter permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 668 kB 89.92ms - 95.76ms - unsure 🔍
-4% - +4%
-3.95ms - +3.75ms
branch 645 kB 90.44ms - 95.44ms unsure 🔍
-4% - +4%
-3.75ms - +3.95ms
-

number-field permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 795 kB 156.42ms - 164.22ms - faster ✔
7% - 13%
11.96ms - 24.48ms
branch 771 kB 173.64ms - 183.44ms slower ❌
7% - 15%
11.96ms - 24.48ms
-

overlay permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 1.06 MB 693.16ms - 721.00ms - slower ❌
5% - 11%
34.94ms - 69.70ms
branch 1.02 MB 644.35ms - 665.17ms faster ✔
5% - 10%
34.94ms - 69.70ms
-

directive-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1.06 MB 53.11ms - 54.45ms - faster ✔
2% - 6%
1.35ms - 3.69ms
branch 1.02 MB 55.34ms - 57.26ms slower ❌
2% - 7%
1.35ms - 3.69ms
-

element-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1.05 MB 707.24ms - 727.44ms - slower ❌
5% - 10%
34.58ms - 67.58ms
branch 1.01 MB 653.22ms - 679.30ms faster ✔
5% - 9%
34.58ms - 67.58ms
-

lazy-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 851 kB 97.30ms - 107.30ms - unsure 🔍
-5% - +6%
-4.62ms - +6.06ms
branch 806 kB 99.70ms - 103.46ms unsure 🔍
-6% - +4%
-6.06ms - +4.62ms
-

picker-button permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 674 kB 63.29ms - 67.91ms - unsure 🔍
-9% - +1%
-6.59ms - +0.51ms
branch 651 kB 65.94ms - 71.34ms unsure 🔍
-1% - +10%
-0.51ms - +6.59ms
-

picker permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 817 kB 985.64ms - 1004.80ms - faster ✔
4% - 7%
44.16ms - 72.60ms
branch 776 kB 1043.08ms - 1064.12ms slower ❌
4% - 7%
44.16ms - 72.60ms
-

popover permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 817 kB 148.00ms - 157.88ms - unsure 🔍
-7% - +1%
-10.68ms - +2.00ms
branch 775 kB 153.31ms - 161.25ms unsure 🔍
-1% - +7%
-2.00ms - +10.68ms
-

progress-bar permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 666 kB 61.59ms - 65.65ms - unsure 🔍
-8% - +1%
-5.34ms - +0.78ms
branch 643 kB 63.60ms - 68.20ms unsure 🔍
-1% - +8%
-0.78ms - +5.34ms
-

radio permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 663 kB 78.45ms - 82.75ms - unsure 🔍
-8% - +1%
-6.58ms - +1.34ms
branch 641 kB 79.90ms - 86.54ms unsure 🔍
-2% - +8%
-1.34ms - +6.58ms
-

search permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 737 kB 88.20ms - 93.40ms - faster ✔
4% - 12%
3.81ms - 11.55ms
branch 714 kB 95.60ms - 101.36ms slower ❌
4% - 13%
3.81ms - 11.55ms
-

slider permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 741 kB 159.81ms - 167.67ms - unsure 🔍
-7% - +0%
-11.50ms - +0.30ms
branch 718 kB 164.93ms - 173.75ms unsure 🔍
-0% - +7%
-0.30ms - +11.50ms
-

swatch permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 669 kB 36.09ms - 39.67ms - unsure 🔍
-10% - +3%
-4.12ms - +1.28ms
branch 646 kB 37.28ms - 41.32ms unsure 🔍
-3% - +11%
-1.28ms - +4.12ms
-

switch permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 657 kB 42.51ms - 46.93ms - unsure 🔍
-7% - +7%
-3.09ms - +3.01ms
branch 634 kB 42.65ms - 46.87ms unsure 🔍
-7% - +7%
-3.01ms - +3.09ms
-

table permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 802 kB 287.23ms - 296.53ms - faster ✔
1% - 6%
3.67ms - 17.85ms
branch 754 kB 297.29ms - 307.99ms slower ❌
1% - 6%
3.67ms - 17.85ms
-

tabs permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 683 kB 205.53ms - 217.03ms - unsure 🔍
-4% - +3%
-9.05ms - +6.01ms
branch 660 kB 207.93ms - 217.67ms unsure 🔍
-3% - +4%
-6.01ms - +9.05ms
-

tags permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 712 kB 31.78ms - 35.50ms - unsure 🔍
-9% - +7%
-3.15ms - +2.35ms
branch 689 kB 32.01ms - 36.07ms unsure 🔍
-7% - +9%
-2.35ms - +3.15ms
-

textfield permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 693 kB 50.45ms - 55.19ms - faster ✔
0% - 12%
0.11ms - 6.65ms
branch 670 kB 53.95ms - 58.45ms unsure 🔍
-0% - +13%
+0.11ms - +6.65ms
-

toast permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 696 kB 72.66ms - 79.18ms - faster ✔
0% - 11%
0.12ms - 9.16ms
branch 674 kB 77.43ms - 83.69ms unsure 🔍
-0% - +12%
+0.12ms - +9.16ms
-

tooltip permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 956 kB 85.93ms - 92.47ms - slower ❌
10% - 19%
7.59ms - 15.05ms
branch 912 kB 76.10ms - 79.66ms faster ✔
9% - 16%
7.59ms - 15.05ms
-

test-directive permalink

Version Bytes Avg Time vs remote vs branch
npm latest 831 kB 51.15ms - 52.57ms - faster ✔
1% - 5%
0.57ms - 2.75ms
branch 789 kB 52.69ms - 54.35ms slower ❌
1% - 5%
0.57ms - 2.75ms
-

test-element permalink

Version Bytes Avg Time vs remote vs branch
npm latest 956 kB 149.55ms - 156.05ms - slower ❌
11% - 17%
14.89ms - 22.91ms
branch 912 kB 131.55ms - 136.25ms faster ✔
10% - 15%
14.89ms - 22.91ms
-

test-lazy permalink

Version Bytes Avg Time vs remote vs branch
npm latest 932 kB 88.31ms - 92.05ms - faster ✔
25% - 32%
30.67ms - 42.17ms
branch 887 kB 121.16ms - 132.04ms slower ❌
34% - 47%
30.67ms - 42.17ms
-

top-nav permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 689 kB 104.59ms - 110.69ms - faster ✔
3% - 12%
3.71ms - 13.85ms
branch 666 kB 112.37ms - 120.47ms slower ❌
3% - 13%
3.71ms - 13.85ms
-

truncated permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 789 kB 119.81ms - 128.11ms - unsure 🔍
-7% - +2%
-8.85ms - +2.01ms
branch 763 kB 123.87ms - 130.89ms unsure 🔍
-2% - +7%
-2.01ms - +8.85ms
-

Copy link
Collaborator

@rubencarvalho rubencarvalho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I open the VRT links it gives me a 404.

}
.picker-container {
padding-bottom: var(--spectrum-global-dimension-size-50);
padding-bottom: var(--spectrum-component-edge-to-visual-only-75);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do we know this is the desired variable?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't! But among all other tokens that i could have used this was the closes one.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we discuss about this with the tokens team first? There are many things which I would like to call out and the specifics needs to be clear before we make any update on the token variable names

test/testing-helpers.ts Outdated Show resolved Hide resolved
@TarunAdobe
Copy link
Contributor Author

When I open the VRT links it gives me a 404.

The one's you get 404 for are the ones that didn't fail in the first place so never got published!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants