Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: adobe/spectrum-web-components
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.2.0
Choose a base ref
...
head repository: adobe/spectrum-web-components
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.3.0
Choose a head ref
  • 20 commits
  • 279 files changed
  • 10 contributors

Commits on Feb 27, 2025

  1. chore: fix stale yarn.lock #publish (#5122)

    rubencarvalho authored Feb 27, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    672ca87 View commit details

Commits on Mar 4, 2025

  1. fix(slider): center align a non-visible-label slider (#5144)

    * fix(slider): center align a non-visible-label slider
    
    * chore: updated golden image hash
    TarunAdobe authored Mar 4, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    946899d View commit details
  2. chore: fix tachometer test results (#5143)

    Rajdeepc authored Mar 4, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    cf7e508 View commit details
  3. chore: fix smoke test to run before merge (#5137)

    caseyisonit authored Mar 4, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    b6e6024 View commit details
  4. chore: update field components css dependencies (#5085)

    rubencarvalho authored Mar 4, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    b5ee3c2 View commit details

Commits on Mar 5, 2025

  1. build: migrate to changesets from lerna (#4533)

    * feat: migrated to changesets from lerna
    
    * chore: some minor changes
    
    * chore: minor fix
    
    * chore: updated config.json
    
    * chore: update documentation
    
    Co-authored-by: [ Cassondra ] <castastrophe@users.noreply.github.com>
    
    * chore: Update README.md
    
    Co-authored-by: [ Cassondra ] <castastrophe@users.noreply.github.com>
    
    * chore: added task files
    
    * fix: fixed the bugs in task scripts
    
    * fix: some fixes in build
    
    * fix: fixed gen-react-wrapper script
    
    * chore: release new versions #publish
    
    * chore: updated documentation
    
    * chore: minor lint fix
    
    * Commit React Wrappers
    
    * chore: testing
    
    * chore: testing
    
    * chore: reverting testing change
    
    * chore: updated commets
    
    * chore: updated release process pipeline
    
    * chore: updated pipeline
    
    * chore: changeset
    
    * chore: updated pipeline
    
    * chore(action-button): testing change
    
    * chore: changeset added
    
    * chore: released
    
    * chore: updated pipeline
    
    * chore: updated yarn lock
    
    * chore: changeset added
    
    * chore: release new versions #publish
    
    * chore: updated pipeline
    
    * chore: updated pipeline
    
    * chore: corrected versions
    
    * chore: changeset added
    
    * chore: updated pipeline
    
    * chore: changeset added
    
    * chore: updated pipeline
    
    * chore: updated pipeline
    
    * chore: updated pipeline
    
    * chore: updated pipeline
    
    * Commit React Wrappers
    
    * chore: updated pipeline
    
    * chore: updated gitignore
    
    * chore: reversed changes
    
    * chore: adjusting changes
    
    * chore: reverted changes
    
    * chore: reverted changes
    
    * chore: reverted changes
    
    * chore: reverting changes
    
    * chore: reverting change
    
    * chore: reverting changes
    
    * chore: reverted changes
    
    * chore: updated task scripts
    
    * chore: updated pipeline
    
    * chore: updated pipeline
    
    * chore: updated pipeline
    
    * chore: minor fix
    
    * chore: updated pipeline
    
    * chore: revert updated pipeline"
    
    This reverts commit e182314.
    
    * chore: minor fixes
    
    * chore: minor fix
    
    * chore: updated release process docs
    
    * chore: brought upto main
    
    * chore: updated yarn lock
    
    * chore: added jsdoc documentation for task files
    
    * chore: minor fix
    
    * chore: updated yarnlock
    
    * chore: updated yarn lock
    
    * chore: updated yarnlcok
    
    * chore: adjusted scripts with yarn 4
    
    * chore: minor fix
    
    * chore: minor fix
    
    * chore: minor change
    
    * chore: corrected git tag generation
    
    * chore: added a script to create git tags
    
    * chore: minor fix
    
    * chore: minor fix
    
    * chore: moved createGitTag script to tasks
    
    * chore: fixed yarn lock
    
    * chore: added changesets to beta release pipeline
    
    * chore: added github token as env var
    
    * chore: minor fix
    
    * chore: minor fix
    
    * chore: minor fix
    
    * chore: Update RELEASE_PROCESS.md
    
    Co-authored-by: Rúben Carvalho <rubcar@sapo.pt>
    
    * chore: minor fix
    
    Co-authored-by: Rúben Carvalho <rubcar@sapo.pt>
    
    * chore: updated documentations
    
    * chore: minor fix
    
    ---------
    
    Co-authored-by: [ Cassondra ] <castastrophe@users.noreply.github.com>
    Co-authored-by: Rajdeep Chandra <rajdeepchandra@Rajdeeps-MacBook-Pro-2.local>
    Co-authored-by: Rajdeep Chandra <rajdeepchandra@rajdeeps-mbp-2.macromedia.com>
    Co-authored-by: Ruben Carvalho <rcarvalho@adobe.com>
    Co-authored-by: Casey Eickhoff <48574582+caseyisonit@users.noreply.github.com>
    Co-authored-by: Rúben Carvalho <rubcar@sapo.pt>
    7 people authored Mar 5, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    c43e725 View commit details
  2. chore: make vrts stable (#4957)

    TarunAdobe authored Mar 5, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    528ec2e View commit details

Commits on Mar 6, 2025

  1. fix(dialog): remove dialog error property deprecation (#5156)

    * fix(dialog): removes error property deprecation
    caseyisonit authored Mar 6, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    596f864 View commit details
  2. chore: update menu css dependencies for fast follows (#5134)

    * chore: update css dependencies for fast follows
    
    * chore: foundation for checkbox, menu and picker
    
    * chore: remove outline on mouse event/hover
    
    * chore: updated golden image hash
    
    ---------
    
    Co-authored-by: Rajdeep Chandra <rajdeepchandra@Rajdeeps-MacBook-Pro-2.local>
    Co-authored-by: TarunAdobe <ttomar@adobe.com>
    Co-authored-by: Casey Eickhoff <48574582+caseyisonit@users.noreply.github.com>
    4 people authored Mar 6, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    6226e3b View commit details
  3. chore: storybook decorator should allow attributes updates in nested …

    …sp-themes (#5158)
    
    * chore: storybook should update dir in all the sp-themes
    
    * chore: dir update
    TarunAdobe authored Mar 6, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    30adee2 View commit details
  4. chore: accessibility improvements to docs (#5124)

    * docs: updated docs for accessibility
    
    * docs: added a11y to contributing docs
    
    * docs: updates docs template
    
    * docs: updated template name
    
    * docs: updated to overview
    
    * docs(picker): fixed missing heading
    
    ---------
    
    Co-authored-by: Casey Eickhoff <48574582+caseyisonit@users.noreply.github.com>
    Co-authored-by: TaraT <ttomar@adobe.com>
    3 people authored Mar 6, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    6e3463c View commit details
  5. fix(overlay): manual overlay last item should close on pressing escape (

    #5160)
    
    * fix(overlay): manual overlay last item should close on pressing escape
    
    * chore: typo fixes in test and main file
    
    ---------
    
    Co-authored-by: Rajdeep Chandra <rajdeepchandra@Rajdeeps-MacBook-Pro-2.local>
    Rajdeepc and Rajdeep Chandra authored Mar 6, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    be28fdd View commit details
  6. chore: updated checkbox S2 fast follows (#5136)

    * chore: updated checkbox fast follows
    
    * ci: updated golden image cache
    
    ---------
    
    Co-authored-by: Rajdeep Chandra <rajdeepchandra@Rajdeeps-MacBook-Pro-2.local>
    Co-authored-by: Casey Eickhoff <48574582+caseyisonit@users.noreply.github.com>
    3 people authored Mar 6, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    e7d153e View commit details

Commits on Mar 7, 2025

  1. chore: add locale picker in storybook decorator (#5175)

    * chore: add locale picker in storybook decorator
    
    * chore: added changeset
    TarunAdobe authored Mar 7, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    20df69e View commit details

Commits on Mar 8, 2025

  1. chore: add missing changesets (#5176)

    Co-authored-by: Rajdeep Chandra <rajrock38@gmail.com>
    TarunAdobe and Rajdeepc authored Mar 8, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    468314f View commit details

Commits on Mar 10, 2025

  1. chore: used fixed versions (#5177)

    * chore: used fixed versions
    
    * chore: added lint fix in release pipeline
    blunteshwar authored Mar 10, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    0dadda4 View commit details

Commits on Mar 11, 2025

  1. ci: remove lighthouse redundancy in pipeline (#5182)

    Co-authored-by: Rajdeep Chandra <rajdeepchandra@Rajdeeps-MacBook-Pro-2.local>
    Rajdeepc and Rajdeep Chandra authored Mar 11, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    93744eb View commit details
  2. fix(picker): S2 corrected border radius and background color (#5153)

    * fix(picker): corrected border radius and background color
    
    * fix(picker): corrected border-radius
    
    * chore: updated image hash
    
    ---------
    
    Co-authored-by: Casey Eickhoff <48574582+caseyisonit@users.noreply.github.com>
    blunteshwar and caseyisonit authored Mar 11, 2025
    1

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    d780fd1 View commit details

Commits on Mar 13, 2025

  1. chore: fix storybook preview runtime error + flaky tests (#5188)

    * chore: fix storybook preview runtime error
    
    * chore: flaky test fix
    caseyisonit authored Mar 13, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    58d6816 View commit details
  2. chore: release new versions #publish

    rubencarvalho committed Mar 13, 2025
    Copy the full SHA
    134c2e9 View commit details
Showing with 7,358 additions and 8,065 deletions.
  1. +63 −0 .changeset/README.md
  2. +16 −0 .changeset/config.json
  3. +0 −16 .changeset/lemon-points-ring.md
  4. +41 −6 .circleci/config.yml
  5. +0 −31 .github/lighthouse/budgets.json
  6. +0 −24 .github/lighthouse/lighthouse-config.js
  7. +0 −9 .github/lighthouse/lighthouserc.json
  8. +10 −48 .github/workflows/beta-release.yml
  9. +73 −0 .github/workflows/browser-tests.yml
  10. +0 −30 .github/workflows/smoke.yml
  11. +27 −138 .github/workflows/test.yml
  12. +2 −2 .gitignore
  13. +1 −0 .npmrc
  14. +1 −1 README.md
  15. +2 −6 RELEASE_PROCESS.md
  16. +1 −4 commitlint.config.cjs
  17. +0 −16 lerna.json
  18. +2 −0 linters/eslint/CHANGELOG.md
  19. +1 −1 linters/eslint/package.json
  20. +16 −13 package.json
  21. +11 −0 packages/accordion/CHANGELOG.md
  22. +6 −6 packages/accordion/package.json
  23. +11 −0 packages/action-bar/CHANGELOG.md
  24. +1 −1 packages/action-bar/README.md
  25. +6 −6 packages/action-bar/package.json
  26. +11 −0 packages/action-button/CHANGELOG.md
  27. +125 −45 packages/action-button/README.md
  28. +6 −6 packages/action-button/package.json
  29. +10 −0 packages/action-group/CHANGELOG.md
  30. +5 −5 packages/action-group/package.json
  31. +25 −0 packages/action-menu/CHANGELOG.md
  32. +6 −4 packages/action-menu/README.md
  33. +7 −7 packages/action-menu/package.json
  34. +9 −0 packages/alert-banner/CHANGELOG.md
  35. +4 −4 packages/alert-banner/package.json
  36. +12 −0 packages/alert-dialog/CHANGELOG.md
  37. +7 −7 packages/alert-dialog/package.json
  38. +7 −0 packages/asset/CHANGELOG.md
  39. +2 −2 packages/asset/package.json
  40. +8 −0 packages/avatar/CHANGELOG.md
  41. +3 −3 packages/avatar/package.json
  42. +8 −0 packages/badge/CHANGELOG.md
  43. +3 −3 packages/badge/package.json
  44. +11 −0 packages/breadcrumbs/CHANGELOG.md
  45. +6 −6 packages/breadcrumbs/package.json
  46. +8 −0 packages/button-group/CHANGELOG.md
  47. +11 −3 packages/button-group/README.md
  48. +3 −3 packages/button-group/package.json
  49. +14 −0 packages/button/CHANGELOG.md
  50. +137 −51 packages/button/README.md
  51. +9 −9 packages/button/package.json
  52. +13 −0 packages/card/CHANGELOG.md
  53. +121 −165 packages/card/README.md
  54. +8 −8 packages/card/package.json
  55. +18 −0 packages/checkbox/CHANGELOG.md
  56. +6 −6 packages/checkbox/package.json
  57. +7 −0 packages/clear-button/CHANGELOG.md
  58. +2 −2 packages/clear-button/package.json
  59. +7 −0 packages/close-button/CHANGELOG.md
  60. +2 −2 packages/close-button/package.json
  61. +14 −0 packages/coachmark/CHANGELOG.md
  62. +9 −9 packages/coachmark/package.json
  63. +11 −0 packages/color-area/CHANGELOG.md
  64. +6 −6 packages/color-area/package.json
  65. +9 −0 packages/color-field/CHANGELOG.md
  66. +4 −4 packages/color-field/package.json
  67. +9 −0 packages/color-handle/CHANGELOG.md
  68. +4 −4 packages/color-handle/package.json
  69. +8 −0 packages/color-loupe/CHANGELOG.md
  70. +3 −3 packages/color-loupe/package.json
  71. +11 −0 packages/color-slider/CHANGELOG.md
  72. +6 −6 packages/color-slider/package.json
  73. +10 −0 packages/color-wheel/CHANGELOG.md
  74. +5 −5 packages/color-wheel/package.json
  75. +16 −0 packages/combobox/CHANGELOG.md
  76. +149 −66 packages/combobox/README.md
  77. +11 −11 packages/combobox/package.json
  78. +12 −0 packages/contextual-help/CHANGELOG.md
  79. +7 −7 packages/contextual-help/package.json
  80. +23 −0 packages/dialog/CHANGELOG.md
  81. +10 −10 packages/dialog/package.json
  82. +4 −17 packages/dialog/src/Dialog.ts
  83. +2 −5 packages/dialog/src/DialogWrapper.ts
  84. +1 −36 packages/dialog/test/dialog.test.ts
  85. +7 −0 packages/divider/CHANGELOG.md
  86. +2 −2 packages/divider/package.json
  87. +7 −0 packages/dropzone/CHANGELOG.md
  88. +2 −2 packages/dropzone/package.json
  89. +8 −0 packages/field-group/CHANGELOG.md
  90. +3 −3 packages/field-group/package.json
  91. +11 −0 packages/field-label/CHANGELOG.md
  92. +6 −6 packages/field-label/package.json
  93. +9 −0 packages/help-text/CHANGELOG.md
  94. +20 −16 packages/help-text/README.md
  95. +4 −4 packages/help-text/package.json
  96. +8 −0 packages/icon/CHANGELOG.md
  97. +16 −65 packages/icon/README.md
  98. +3 −3 packages/icon/package.json
  99. +9 −0 packages/icons-ui/CHANGELOG.md
  100. +6 −2 packages/icons-ui/README.md
  101. +4 −4 packages/icons-ui/package.json
  102. +8 −0 packages/icons-workflow/CHANGELOG.md
  103. +5 −1 packages/icons-workflow/README.md
  104. +4 −4 packages/icons-workflow/package.json
  105. +8 −0 packages/icons/CHANGELOG.md
  106. +7 −2 packages/icons/README.md
  107. +3 −3 packages/icons/package.json
  108. +7 −0 packages/iconset/CHANGELOG.md
  109. +5 −1 packages/iconset/README.md
  110. +2 −2 packages/iconset/package.json
  111. +8 −0 packages/illustrated-message/CHANGELOG.md
  112. +3 −3 packages/illustrated-message/package.json
  113. +8 −0 packages/infield-button/CHANGELOG.md
  114. +3 −3 packages/infield-button/package.json
  115. +8 −0 packages/link/CHANGELOG.md
  116. +3 −3 packages/link/package.json
  117. +36 −0 packages/menu/CHANGELOG.md
  118. +195 −20 packages/menu/README.md
  119. +166 −8 packages/menu/menu-group.md
  120. +212 −45 packages/menu/menu-item.md
  121. +11 −11 packages/menu/package.json
  122. +6 −0 packages/menu/src/menu-item.css
  123. +13 −0 packages/menu/src/menu-overrides.css
  124. +8 −31 packages/menu/src/spectrum-checkmark.css
  125. +8 −31 packages/menu/src/spectrum-chevron.css
  126. +8 −31 packages/menu/src/spectrum-menu-divider.css
  127. +15 −45 packages/menu/src/spectrum-menu-item.css
  128. +8 −31 packages/menu/src/spectrum-menu-sectionHeading.css
  129. +74 −81 packages/menu/src/spectrum-menu.css
  130. +1 −0 packages/menu/test/submenu.test.ts
  131. +10 −0 packages/meter/CHANGELOG.md
  132. +5 −5 packages/meter/package.json
  133. +7 −0 packages/modal/CHANGELOG.md
  134. +2 −2 packages/modal/package.json
  135. +13 −0 packages/number-field/CHANGELOG.md
  136. +9 −9 packages/number-field/package.json
  137. +10 −56 packages/number-field/src/number-field-overrides.css
  138. +0 −37 packages/number-field/src/number-field.css
  139. +408 −353 packages/number-field/src/spectrum-number-field.css
  140. +6 −1 packages/number-field/stories/number-field.stories.ts
  141. +19 −0 packages/overlay/CHANGELOG.md
  142. +6 −6 packages/overlay/package.json
  143. +3 −3 packages/overlay/src/OverlayStack.ts
  144. +198 −0 packages/overlay/stories/index.ts
  145. +4 −4 packages/overlay/test/overlay-element.test.ts
  146. +11 −0 packages/picker-button/CHANGELOG.md
  147. +86 −34 packages/picker-button/README.md
  148. +6 −6 packages/picker-button/package.json
  149. +33 −0 packages/picker/CHANGELOG.md
  150. +355 −183 packages/picker/README.md
  151. +16 −16 packages/picker/package.json
  152. +2 −2 packages/picker/src/spectrum-picker.css
  153. +2 −2 packages/picker/stories/picker.stories.ts
  154. +8 −0 packages/popover/CHANGELOG.md
  155. +10 −6 packages/popover/README.md
  156. +3 −3 packages/popover/package.json
  157. +10 −0 packages/progress-bar/CHANGELOG.md
  158. +5 −5 packages/progress-bar/package.json
  159. +8 −0 packages/progress-circle/CHANGELOG.md
  160. +3 −3 packages/progress-circle/package.json
  161. +11 −0 packages/radio/CHANGELOG.md
  162. +6 −6 packages/radio/package.json
  163. +11 −0 packages/search/CHANGELOG.md
  164. +7 −7 packages/search/package.json
  165. +0 −83 packages/search/src/search-overrides.css
  166. +25 −0 packages/search/src/search.css
  167. +48 −0 packages/search/src/spectrum-config.js
  168. +86 −39 packages/search/src/spectrum-search.css
  169. +9 −0 packages/sidenav/CHANGELOG.md
  170. +4 −4 packages/sidenav/package.json
  171. +12 −0 packages/slider/CHANGELOG.md
  172. +253 −106 packages/slider/README.md
  173. +7 −7 packages/slider/package.json
  174. +12 −10 packages/slider/slider-handle.md
  175. +4 −0 packages/slider/src/slider.css
  176. +7 −0 packages/split-view/CHANGELOG.md
  177. +2 −2 packages/split-view/package.json
  178. +7 −0 packages/status-light/CHANGELOG.md
  179. +2 −2 packages/status-light/package.json
  180. +12 −0 packages/swatch/CHANGELOG.md
  181. +7 −7 packages/swatch/package.json
  182. +8 −0 packages/switch/CHANGELOG.md
  183. +94 −55 packages/switch/README.md
  184. +3 −3 packages/switch/package.json
  185. +10 −0 packages/table/CHANGELOG.md
  186. +5 −5 packages/table/package.json
  187. +11 −0 packages/tabs/CHANGELOG.md
  188. +6 −6 packages/tabs/package.json
  189. +10 −0 packages/tags/CHANGELOG.md
  190. +5 −5 packages/tags/package.json
  191. +12 −0 packages/textfield/CHANGELOG.md
  192. +8 −8 packages/textfield/package.json
  193. +42 −0 packages/textfield/src/spectrum-config.js
  194. +350 −36 packages/textfield/src/spectrum-textfield.css
  195. +0 −383 packages/textfield/src/textfield-overrides.css
  196. +8 −0 packages/thumbnail/CHANGELOG.md
  197. +3 −3 packages/thumbnail/package.json
  198. +11 −0 packages/toast/CHANGELOG.md
  199. +6 −6 packages/toast/package.json
  200. +10 −0 packages/tooltip/CHANGELOG.md
  201. +5 −5 packages/tooltip/package.json
  202. +9 −0 packages/top-nav/CHANGELOG.md
  203. +4 −4 packages/top-nav/package.json
  204. +11 −0 packages/tray/CHANGELOG.md
  205. +15 −4 packages/tray/README.md
  206. +6 −6 packages/tray/package.json
  207. +7 −0 packages/underlay/CHANGELOG.md
  208. +2 −2 packages/underlay/package.json
  209. +17 −0 projects/css-custom-vars-viewer/CHANGELOG.md
  210. +12 −12 projects/css-custom-vars-viewer/package.json
  211. +105 −27 projects/documentation/.eleventy.js
  212. +6 −5 projects/documentation/.gitignore
  213. +8 −0 projects/documentation/CHANGELOG.md
  214. +1 −1 projects/documentation/README.md
  215. +2 −1 projects/documentation/content/_includes/api.njk
  216. +2 −1 projects/documentation/content/_includes/changelog.njk
  217. +17 −1 projects/documentation/content/_includes/component-partial.njk
  218. +17 −1 projects/documentation/content/_includes/component.njk
  219. +3 −2 projects/documentation/content/_includes/{examples.njk → overview.njk}
  220. +4 −8 projects/documentation/content/_includes/partials/demo.njk
  221. +1 −1 projects/documentation/content/getting-started.md
  222. +56 −0 projects/documentation/content/guides/adding-component.md
  223. +0 −14 projects/documentation/content/migrations/2024-10-31 (1.0.0).md
  224. +2 −2 projects/documentation/content/shell-start.njk
  225. +22 −9 projects/documentation/e2e/published.spec.ts
  226. +7 −8 projects/documentation/package.json
  227. +48 −7 projects/documentation/scripts/build-search-index.js
  228. +8 −6 projects/documentation/scripts/component-template-parts.js
  229. +8 −8 projects/documentation/scripts/copy-component-docs.js
  230. +0 −1 projects/documentation/searchIndex.json
  231. +2 −2 projects/documentation/src/components/layout.ts
  232. +52 −13 projects/documentation/src/components/search-index.ts
  233. +46 −15 projects/documentation/src/components/styles.css
  234. +1 −1 projects/documentation/src/router.ts
  235. +0 −72 projects/documentation/src/utils/posthtml-spectrum-docs-markdown.js
  236. +11 −0 projects/example-project-rollup/CHANGELOG.md
  237. +6 −6 projects/example-project-rollup/package.json
  238. +11 −0 projects/example-project-webpack/CHANGELOG.md
  239. +6 −6 projects/example-project-webpack/package.json
  240. +18 −0 projects/story-decorator/CHANGELOG.md
  241. +35 −1 projects/story-decorator/decorator.ts
  242. +9 −9 projects/story-decorator/package.json
  243. +5 −1 projects/story-decorator/src/StoryDecorator.ts
  244. +15 −0 projects/vrt-compare/CHANGELOG.md
  245. +10 −10 projects/vrt-compare/package.json
  246. +18 −2 storybook/preview.js
  247. +0 −225 tasks/build-lighthouse-comment.js
  248. +89 −0 tasks/confirm-build.js
  249. +31 −0 tasks/create-git-tag.js
  250. +97 −0 tasks/custom-element-json.js
  251. +125 −0 tasks/gen-react-wrapper.js
  252. +1 −1 tasks/get-changed-packages.js
  253. +83 −0 tasks/remove-custom-elements-json.js
  254. +100 −0 tasks/run-check-cem.js
  255. +134 −13 test/visual/test.ts
  256. +2 −0 tools/base/CHANGELOG.md
  257. +1 −1 tools/base/package.json
  258. +1 −1 tools/base/src/version.js
  259. +80 −0 tools/bundle/CHANGELOG.md
  260. +75 −75 tools/bundle/package.json
  261. +8 −0 tools/grid/CHANGELOG.md
  262. +3 −3 tools/grid/package.json
  263. +7 −0 tools/opacity-checkerboard/CHANGELOG.md
  264. +2 −2 tools/opacity-checkerboard/package.json
  265. +20 −0 tools/reactive-controllers/CHANGELOG.md
  266. +2 −2 tools/reactive-controllers/package.json
  267. +7 −0 tools/shared/CHANGELOG.md
  268. +2 −2 tools/shared/package.json
  269. +7 −0 tools/styles/CHANGELOG.md
  270. +2 −2 tools/styles/package.json
  271. +14 −478 tools/styles/tokens-v2/system-theme-bridge.css
  272. +8 −474 tools/styles/tokens/express/system-theme-bridge.css
  273. +8 −474 tools/styles/tokens/spectrum/system-theme-bridge.css
  274. +8 −0 tools/theme/CHANGELOG.md
  275. +3 −3 tools/theme/package.json
  276. +10 −0 tools/truncated/CHANGELOG.md
  277. +5 −5 tools/truncated/package.json
  278. +2 −1 web-test-runner.config.js
  279. +1,135 −3,159 yarn.lock
63 changes: 63 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

## What are Changesets?

Changesets are a way to manage versions and changelogs for monorepos. Each changeset:

- Describes changes made in one or more packages
- Indicates the type of change (major, minor, patch)
- Contains a brief markdown summary of the changes

## How to Add a Changeset

1. Make your changes to the codebase
2. Run the following command:
```bash
yarn changeset
```
3. Follow the prompts:
- Select the packages that have changed
- Choose the type of change for each package:
- `major` (breaking changes)
- `minor` (new features)
- `patch` (bug fixes)
- Write a summary of the changes

The command will create a new markdown file in the `.changeset` directory with your changes.

## Example Changeset

A typical changeset file looks like this:

```markdown
---
'@spectrum-web-components/button': minor
'@spectrum-web-components/theme': patch
---
Added new variant to button component and fixed theme compatibility issues
```

## Common Questions

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

## Publishing Process

1. Changesets are collected in PRs
2. When PRs are merged, the changesets are accumulated
3. During release, changesets are used to:
- Determine new version numbers
- Generate changelogs
- Update package.json files

## Additional Resources

- [Changesets Documentation](https://github.com/changesets/changesets)
- [Common Questions](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
- [Detailed Release Process](https://github.com/changesets/changesets/blob/main/docs/detailed-explanation.md)
16 changes: 16 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
"changelog": [
"@changesets/changelog-github",
{
"repo": "adobe/spectrum-web-components"
}
],
"commit": false,
"fixed": [["@spectrum-web-components/*"]],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
16 changes: 0 additions & 16 deletions .changeset/lemon-points-ring.md

This file was deleted.

47 changes: 41 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ executors:
node:
docker:
- image: mcr.microsoft.com/playwright:v1.44.0
resource_class: large
resource_class: xlarge
environment:
NODE_ENV: development
parameters:
@@ -14,7 +14,7 @@ parameters:
# 3. Commit this change to the PR branch where the changes exist.
current_golden_images_hash:
type: string
default: 34923d02e4b68736f367f04be8d5a4f3843bc091
default: 5e1cd4e8bb4cfd4b3327a8487356d09b11658647
wireit_cache_name:
type: string
default: wireit
@@ -101,9 +101,26 @@ commands:
cp projects/documentation/content/favicon.ico test/visual
branch=$(git symbolic-ref --short HEAD)
hash=$(echo -n $branch-<< parameters.regression_system >>-<< parameters.regression_color >>-<< parameters.regression_scale >>-<< parameters.regression_dir >> | md5sum | cut -c 1-32)
echo "Netlify alias hash: $hash"
echo "Netlify alias hash: $hash"
echo "Deploying from test/visual directory..."
yarn netlify deploy --alias=$hash --cwd test/visual
max_attempts=3
attempt=0
while [ $attempt -lt $max_attempts ]; do
if yarn netlify deploy --alias=$hash --cwd test/visual; then
echo "Deployment successful!"
exit 0
else
attempt=$((attempt + 1))
echo "Deploy failed, retrying ($attempt/$max_attempts)..."
sleep 10 # Adjust delay if needed
fi
done
echo "Deployment failed after $max_attempts attempts."
exit 1
# move "updated" screenshot into the baseline directory before making the new cache
- run:
when: always
@@ -295,8 +312,26 @@ jobs:
cp projects/documentation/content/favicon.ico test/visual
branch=$(git symbolic-ref --short HEAD)
hash=$(echo -n $branch-hcm | md5sum | cut -c 1-32)
echo hash
yarn netlify deploy --alias=$hash --cwd test/visual
echo "Netlify alias hash: $hash"
echo "Deploying from test/visual directory..."
max_attempts=3
attempt=0
while [ $attempt -lt $max_attempts ]; do
if yarn netlify deploy --alias=$hash --cwd test/visual; then
echo "Deployment successful!"
exit 0
else
attempt=$((attempt + 1))
echo "Deploy failed, retrying ($attempt/$max_attempts)..."
sleep 10 # Adjust delay if needed
fi
done
echo "Deployment failed after $max_attempts attempts."
exit 1
# move "updated" screenshot into the baseline directory before making the new cache
- run:
when: always
31 changes: 0 additions & 31 deletions .github/lighthouse/budgets.json

This file was deleted.

24 changes: 0 additions & 24 deletions .github/lighthouse/lighthouse-config.js

This file was deleted.

9 changes: 0 additions & 9 deletions .github/lighthouse/lighthouserc.json

This file was deleted.

58 changes: 10 additions & 48 deletions .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
@@ -16,59 +16,20 @@ jobs:
- name: Setup Job and Install Dependencies
uses: ./.github/actions/setup-job

- name: Install semver
run: npm install -g semver

- name: Set Git identity
run: |
git config --global user.email "support+actions@github.com"
git config --global user.name "github-actions-bot"
- name: Get Lerna current version
id: get_lerna_version
run: |
CURRENT_VERSION=$(yarn lerna ls --json | jq -r '.[0].version')
echo "version=$CURRENT_VERSION" >> $GITHUB_OUTPUT
- name: Calculate next minor version
id: calculate_next_minor_version
run: |
NEXT_MINOR_VERSION=$(semver "${{ steps.get_lerna_version.outputs.version }}" -i minor)
echo "next_minor_version=$NEXT_MINOR_VERSION" >> $GITHUB_OUTPUT
- name: Get latest published beta version
id: get_latest_published_beta
run: |
LATEST_BETA_VERSION=$(npm view @spectrum-web-components/button@beta version || echo "none")
echo "latest_beta_version=$LATEST_BETA_VERSION" >> $GITHUB_OUTPUT
- name: Calculate next beta version
id: calculate_next_beta_version
run: |
NEXT_MINOR_VERSION="${{ steps.calculate_next_minor_version.outputs.next_minor_version }}"
LATEST_BETA_VERSION="${{ steps.get_latest_published_beta.outputs.latest_beta_version }}"
if [ "$LATEST_BETA_VERSION" == "none" ]; then
BETA_VERSION="$NEXT_MINOR_VERSION-beta.0"
else
LATEST_BETA_BASE_VERSION=$(echo "$LATEST_BETA_VERSION" | sed 's/-beta\.[0-9]*//')
if [ "$NEXT_MINOR_VERSION" != "$LATEST_BETA_BASE_VERSION" ]; then
BETA_VERSION="$NEXT_MINOR_VERSION-beta.0"
else
CURRENT_BETA_NUMBER=$(echo "$LATEST_BETA_VERSION" | sed 's/.*-beta\.\([0-9]\+\)/\1/')
NEXT_BETA_NUMBER=$((CURRENT_BETA_NUMBER + 1))
BETA_VERSION="$NEXT_MINOR_VERSION-beta.$NEXT_BETA_NUMBER"
fi
fi
echo "beta_version=$BETA_VERSION" >> $GITHUB_OUTPUT
- name: Update package versions for beta release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
yarn lerna version "${{ steps.calculate_next_beta_version.outputs.beta_version }}" --no-git-tag-version --no-push --yes
yarn changeset pre enter beta
# Apply the changeset with specific beta tag
yarn changeset version
- name: Configure NPM for Lerna publish
- name: Configure NPM for changeset publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
@@ -78,6 +39,7 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
git commit -am "chore: publish beta version ${{ steps.calculate_next_beta_version.outputs.beta_version }}"
yarn prelerna-publish
yarn lerna publish from-package --dist-tag beta --no-git-tag-version --no-push --yes
git commit -am "chore: publish beta version"
yarn prepublishOnly
yarn changeset publish --no-git-tag
git reset --hard HEAD^
73 changes: 73 additions & 0 deletions .github/workflows/browser-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: Browser Performance Tests

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
test-changed-packages:
strategy:
matrix:
browser: [firefox, chrome]
name: Compare performance to latest release on ${{ matrix.browser }}

# The job will only run if the pull request is from the same repository.
# Benchmarks can't run on PRs from forked repos due to comment posting restrictions without a GitHub token.
if: ${{ github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-22.04
steps:
- name: Checkout main
uses: actions/checkout@v4
with:
ref: main

- name: Checkout PR branch
uses: actions/checkout@v4

- name: Setup Job and Install Dependencies
uses: ./.github/actions/setup-job

- name: Tachometer the changed packages
run: yarn test:changed --browser=${{ matrix.browser }}

- name: Create a dummy file to ensure at least one results file exists
run: touch tachometer.${{ matrix.browser }}-ran.txt

- name: Archive ${{ matrix.browser }} tachometer results
uses: actions/upload-artifact@v4
with:
name: tachometer-results-${{ matrix.browser }}
path: |
tach-results.${{ matrix.browser }}.*.json
tachometer.${{ matrix.browser }}-ran.txt
comment-performance:
name: Comment tachometer performance results
needs: [test-changed-packages]

# The job will only run if the pull request is from the same repository.
# Benchmarks can't run on PRs from forked repos due to comment posting restrictions without a GitHub token.
if: ${{ github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v4
with:
ref: main

- name: Checkout PR branch
uses: actions/checkout@v4

- name: Setup Job and Install Dependencies
uses: ./.github/actions/setup-job

- uses: actions/download-artifact@v4

- name: Post Tachometer Performance Comment
uses: actions/github-script@v7
with:
script: |
const { buildTachometerComment } = await import('${{ github.workspace }}/tasks/build-tachometer-comment.js');
const body = buildTachometerComment();
const { commentOrUpdate } = await import('${{ github.workspace }}/tasks/comment-or-update.js');
commentOrUpdate(github, context, '## Tachometer results', body);
Loading