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

fix(coachmark): add "step-count" slot for custom/internationalized pagination content #4215

Merged
merged 16 commits into from
Apr 2, 2024

Conversation

Rajdeepc
Copy link
Contributor

@Rajdeepc Rajdeepc commented Mar 26, 2024

Description

This PR adds the ability for users to customize the separator between the current step and the total steps in the YourComponent component. By default, the separator is 'of', but users can now specify a custom separator using the separator attribute.

Changes Made

Added a new separator property to the YourComponent component to allow customization of the separator.
Updated the component's template to use the separator property for the separator between the current step and the total steps.

Related issue(s)

Motivation and context

How has this been tested?

  • Test case 1
    1. Go here
    2. Use the separator attribute to specify a custom separator.
    3. Verify that the component renders with the custom separator between the current step and the total steps.
  • Test case 2
    1. Go here
    2. Do this

Screenshots (if appropriate)

Screenshot 2024-03-26 at 4 23 54 PM

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.

@Rajdeepc Rajdeepc linked an issue Mar 26, 2024 that may be closed by this pull request
1 task
Copy link

github-actions bot commented Mar 26, 2024

Lighthouse scores

Category Latest (report) Main (report) Branch (report)
Performance 0.93 0.98 0.98
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 228.512 kB 217.371 kB 🏆 217.46 kB
Scripts 60.393 kB 54.42 kB 🏆 54.524 kB
Stylesheet 35.524 kB 30.924 kB 30.914 kB 🏆
Document 5.883 kB 5.255 kB 5.25 kB 🏆
Third Party 126.712 kB 🏆 126.772 kB 126.772 kB

Request Count

Category Latest Main Branch
Total 43 43 43
Scripts 35 35 35
Stylesheet 5 5 5
Document 1 1 1
Third Party 2 2 2

Copy link

github-actions bot commented Mar 26, 2024

Tachometer results

Chrome

coachmark permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 626 kB 127.46ms - 130.68ms - unsure 🔍
-2% - +2%
-2.24ms - +2.13ms
branch 617 kB 127.64ms - 130.60ms unsure 🔍
-2% - +2%
-2.13ms - +2.24ms
-
Firefox

coachmark permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 626 kB 356.76ms - 364.52ms - unsure 🔍
-2% - +1%
-5.77ms - +4.85ms
branch 617 kB 357.47ms - 364.73ms unsure 🔍
-1% - +2%
-4.85ms - +5.77ms
-

@Rajdeepc Rajdeepc self-assigned this Mar 26, 2024
@Rajdeepc Rajdeepc requested a review from Westbrook March 26, 2024 12:12
@Rajdeepc Rajdeepc changed the title chore(coachmark): added separator property chore(coachmark): added separator property on step count Mar 26, 2024
@Westbrook
Copy link
Contributor

Can you sync with the internationalization team to confirm that this works across the actual usage of our target languages? Naively, I've seeing 1 of 4 translate to 4 件中 1 件 in Japanese which I'm not sure how this API covers. Even a greatly simplified 4分の1 which might benefit from this change requires a content order change that I'm not sure a good path to managing here.

@Rajdeepc
Copy link
Contributor Author

Rajdeepc commented Mar 26, 2024

Can you sync with the internationalization team to confirm that this works across the actual usage of our target languages? Naively, I've seeing 1 of 4 translate to 4 件中 1 件 in Japanese which I'm not sure how this API covers. Even a greatly simplified 4分の1 which might benefit from this change requires a content order change that I'm not sure a good path to managing here.

Based on the feedback from the Internationalisation team, we'll need to update our component to allow users to provide the entire string for the step count dynamically using a slot.

protected renderSteps = (): TemplateResult => {
   return html`
       <div class="step" role="status">
           <span aria-live="polite">
               <slot name="step-count"></slot>
           </span>
       </div>
   `;
};

Copy link
Contributor

@Westbrook Westbrook left a comment

Choose a reason for hiding this comment

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

I'd like one of the stories to deliver a previously unachievable page count text to ensure that we can continue to achieve it over time.

packages/coachmark/src/Coachmark.ts Outdated Show resolved Hide resolved
packages/coachmark/README.md Outdated Show resolved Hide resolved
@Rajdeepc Rajdeepc requested a review from Westbrook March 27, 2024 14:14
@Rajdeepc
Copy link
Contributor Author

Rajdeepc commented Mar 29, 2024

@Westbrook Let me know if we are good to land this or do you see any additional work that needs to be done here?

@Westbrook
Copy link
Contributor

I'd like one of the stories to deliver a previously unachievable page count text to ensure that we can continue to achieve it over time.

Can we see this in a story that surfaces to VRT to ensure we're covered over time? Something like 4分の1 or other.

Copy link
Contributor

@Westbrook Westbrook left a comment

Choose a reason for hiding this comment

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

LGTM! :shipit: 🎆

Copy link
Contributor

@Westbrook Westbrook left a comment

Choose a reason for hiding this comment

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

Sorry, I missed one thing that I can't place inline...

Can you add:

 * @slot step-count - Override the default pagination delivery with your own internationalized content

At or around line 40 so that it gets into the docs site.

@Westbrook Westbrook changed the title chore(coachmark): added separator property on step count fix(coachmark): add "step-count" slot for custom/internationalized pagination content Apr 1, 2024
@Rajdeepc Rajdeepc requested a review from Westbrook April 2, 2024 06:33
Copy link
Contributor

@Westbrook Westbrook left a comment

Choose a reason for hiding this comment

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

:shipit: but, like, for real this time 😉

@Westbrook Westbrook merged commit f4136a6 into main Apr 2, 2024
49 checks passed
@Westbrook Westbrook deleted the feature/coachmark-localization branch April 2, 2024 13:15
TarunAdobe pushed a commit that referenced this pull request Apr 26, 2024
…gination content (#4215)

* chore(coachmark): added separator property

* chore(coachmark): updated tests

* chore(coachmark): updated golden image cache

* fix(coachmark): localized the step count

* chore(coachmark): updated golden image cache

* chore(coachmark): update readme and coachmark to default to english

* chore(coachmark): removed separator from the props

* chore(coachmark): updated to check for 1 of 4 stepcount context

* chore(coachmark): updated golden image cache

* chore(coachmark): added locallixation story for step count

* chore(coachmark): updated golden image cache

* chore(coachmark): update readme to include slot for docs site

---------

Co-authored-by: Rajdeep Chandra <[email protected]>
Rajdeepc added a commit that referenced this pull request May 14, 2024
* refactor(theme): adds new system attribute and deprecates theme attribute

* chore(theme): made changes on theme attribute

* chore: reverted THEME Key to support migrations

* chore: theme registrated hard break

* refactor(theme): adds new system attribute and deprecates theme attribute

* chore(theme): made changes on theme attribute

* chore: reverted THEME Key to support migrations

* chore: theme registrated hard break

* chore(theme): updated theme property to system

* chore(theme): updated theme to system in sp-theme in layout

* chore(theme): updated config for VRT

* chore(theme): updated config for VRT from theme to system

* chore: update theme property to system

* fix: added spectrum system variant

* chore: updated theme for deprecation against system in theme files

* chore: updated config to support system

* chore: updated config yml

* chore: updated config yml

* chore: updated config yml

* chore: undo system changes in stories

* chore: updated runner utils

* chore: review to run with theme

* chore(theme): updated command-line arguments to ue system instea do f theme

* chore(theme): updated command-line arguments to ue system instea do f theme

* chore(theme): updated and cleaned up reduntant theme definitions with system

* chore: added theme fallback to the storydecotrator render

* chore: added system flag in the create review site job in CI

* chore: added system flag in the create review site job in CI

* chore: updated config to include system

* chore: removed classic from system variant

* chore: removed classic from system variant

* chore: added system in parameters in config

* chore: added system in parameters in config

* chore: added system in parameters in config

* chore: added system in parameters in config

* chore: added system in parameters in config

* chore: added theme  in parameters in config

* chore: reverted to theme in currentStyles

* chore: update styles for both system/theme changes

* chore: fixed updating theme when system value is not there

* chore: added t theme coverage tests

* chore: updated doc on prperty theme

* chore: updated golden image cache

* chore: updated golden image cache

* chore: check added to update system for theme only attribute during deprecation

* chore: rebased to systems pr

* feat: added s2 theme to storyDecorator

* chore: added s2 to documentation site

* chore: added spectrum-two to the visual testing pipeline

* chore: added s2 in web-test-util

* chore: added s2 theme to vrts

* chore: testing if vrts run

* chore: added spectrum-two-tokens-config in package.json

* chore: removed extra console log and updated tokens

* chore: trying s2 as a theme in vrt instead of spectrum-two

* chore: updated config

* chore: testing a hacky fix for s2 vrts

* chore: updated button and fieldlable to s2

* chore: added core.ts to import theme helpers inside spectrum-two

* chore: spectrum-two core export

* chore: testing if updating the global vars fixes the build

* chore: revert back css updates for button and field-label

* chore(styles): reapply some poorly cached build output (#4232)

* performance: added memory tests in packages (#4228)

* test: added memory tests in packages

* test: updated  memory tests in packages

* chore: asbtracted the memory profiler as a testing helper

* chore: added memory tests for components

* chore: update grid and menu to use testing helper

* chore: added mem test for card, button and button group

---------

Co-authored-by: Rajdeep Chandra <[email protected]>

* fix(coachmark): add "step-count" slot for custom/internationalized pagination content (#4215)

* chore(coachmark): added separator property

* chore(coachmark): updated tests

* chore(coachmark): updated golden image cache

* fix(coachmark): localized the step count

* chore(coachmark): updated golden image cache

* chore(coachmark): update readme and coachmark to default to english

* chore(coachmark): removed separator from the props

* chore(coachmark): updated to check for 1 of 4 stepcount context

* chore(coachmark): updated golden image cache

* chore(coachmark): added locallixation story for step count

* chore(coachmark): updated golden image cache

* chore(coachmark): update readme to include slot for docs site

---------

Co-authored-by: Rajdeep Chandra <[email protected]>

* chore: bump the commitlint-ecosystem group with 2 updates (#4219)

Bumps the commitlint-ecosystem group with 2 updates: [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) and [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional).

Updates `@commitlint/cli` from 19.0.1 to 19.2.1
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.2.1/@commitlint/cli)

Updates `@commitlint/config-conventional` from 19.0.0 to 19.1.0
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.1.0/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: commitlint-ecosystem
- dependency-name: "@commitlint/config-conventional"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: commitlint-ecosystem
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* test: update benchmarking to configure "end" as "updateComplete" or "paint"

* fix(shared): ensure the "updateComplete" in Focusable is stable

* chore: release new versions #publish

* chore: bump webpack-dev-server from 5.0.2 to 5.0.4

Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 5.0.2 to 5.0.4.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](webpack/webpack-dev-server@v5.0.2...v5.0.4)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: bump markdown-it from 14.0.0 to 14.1.0

Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 14.0.0 to 14.1.0.
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](markdown-it/markdown-it@14.0.0...14.1.0)

---
updated-dependencies:
- dependency-name: markdown-it
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: bump fs-extra from 11.1.1 to 11.2.0

Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 11.1.1 to 11.2.0.
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](jprichardson/node-fs-extra@11.1.1...11.2.0)

---
updated-dependencies:
- dependency-name: fs-extra
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore(picker): update event bind timing

* chore: release new versions #publish

* fix(color-area): providing x and y attributes renders color handle correctly (#4240)

* fix(color-area): providing x and y attributes renders color handle correctly

* fix(color-area): minor fix

* chore(menu): remove deprecated CSS file (#4249)

Co-authored-by: rmanole <[email protected]>

* fix(combobox): correct package.json listings

* chore: bump webpack from 5.90.3 to 5.91.0

Bumps [webpack](https://github.com/webpack/webpack) from 5.90.3 to 5.91.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.90.3...v5.91.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: bump prettier-plugin-package from 1.3.0 to 1.4.0

Bumps [prettier-plugin-package](https://github.com/shellscape/prettier-plugin-package) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/shellscape/prettier-plugin-package/releases)
- [Commits](shellscape/prettier-plugin-package@v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: prettier-plugin-package
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: bump @types/react from 18.2.15 to 18.2.75

Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.15 to 18.2.75.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: bump protobufjs from 7.2.4 to 7.2.6

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.2.4 to 7.2.6.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-v7.2.4...protobufjs-v7.2.6)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: bump @11ty/eleventy in the eleventy-ecosystem group

Bumps the eleventy-ecosystem group with 1 update: [@11ty/eleventy](https://github.com/11ty/eleventy).


Updates `@11ty/eleventy` from 3.0.0-alpha.5 to 3.0.0-alpha.6
- [Release notes](https://github.com/11ty/eleventy/releases)
- [Changelog](https://github.com/11ty/eleventy/blob/main/docs/release-instructions.md)
- [Commits](https://github.com/11ty/eleventy/commits)

---
updated-dependencies:
- dependency-name: "@11ty/eleventy"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: eleventy-ecosystem
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: bump tar-stream from 3.1.6 to 3.1.7

Bumps [tar-stream](https://github.com/mafintosh/tar-stream) from 3.1.6 to 3.1.7.
- [Commits](mafintosh/tar-stream@v3.1.6...v3.1.7)

---
updated-dependencies:
- dependency-name: tar-stream
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: updated golden image hash

* chore: updated golden image hash

* chore: added sideeffectful registration of theme and removed lightest and darkest theme e examples

* chore: Configure Renovate (#4248)

* Add renovate.json

* chore: update renovate config

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Westbrook Johnson <[email protected]>

* chore: update dependency rollup to v4.16.2 (#4288)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: bump @11ty/eleventy in the eleventy-ecosystem group (#4291)

Bumps the eleventy-ecosystem group with 1 update: [@11ty/eleventy](https://github.com/11ty/eleventy).


Updates `@11ty/eleventy` from 3.0.0-alpha.6 to 3.0.0-alpha.7
- [Release notes](https://github.com/11ty/eleventy/releases)
- [Changelog](https://github.com/11ty/eleventy/blob/main/docs/release-instructions.md)
- [Commits](https://github.com/11ty/eleventy/commits/v3.0.0-alpha.7)

---
updated-dependencies:
- dependency-name: "@11ty/eleventy"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: eleventy-ecosystem
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: bump the commitlint-ecosystem group with 2 updates (#4290)

Bumps the commitlint-ecosystem group with 2 updates: [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) and [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional).


Updates `@commitlint/cli` from 19.2.1 to 19.3.0
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.3.0/@commitlint/cli)

Updates `@commitlint/config-conventional` from 19.1.0 to 19.2.2
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.2.2/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: commitlint-ecosystem
- dependency-name: "@commitlint/config-conventional"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: commitlint-ecosystem
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: update chromedriver (#4293)

* chore: use latest playwright (#4295)

* chore: use latest playwright

* ci: update golden images cache

* chore: updated golden image hash

* chore: fixed merge conflicts

* chore: fixed merge conflicts

* chore: use system instead of theme in s2

* chore: externalised process spectrum script and update golden image hash

* chore: normalized spectrum-two var naming usage

* chore: updated golden image hash

* chore: testing something

* chore: freshly processed tokens after cleaning everything

* chore: fixed the generate-tokens script

* chore: updated golden image hash

* chore: updated golden image hash

* chore: normalized the classic theme to spectrum

* chore: updating baseline for spectrum

* chore: updated golden image hash

* chore: updated golden image hash

* chore: removed lightest and darkest theme for spectrum-two

* chore: fixed the ci config

* chore: updated golden image hash

* chore: fixed broken sidenav for vrts site

* chore: added devmode warning for S2 theme

* chore: show devmode warning on using s2 theme only in devmode

* chore: added devmode tests for code coverage

* chore: updated devmode tests for theme

* chore: update tests for theme

* chore: updated golden image cache

* chore: updated golden image cache

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Josh Johnson <[email protected]>
Co-authored-by: Rajdeep Chandra <[email protected]>
Co-authored-by: Westbrook Johnson <[email protected]>
Co-authored-by: Rajdeep Chandra <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Westbrook Johnson <[email protected]>
Co-authored-by: Piyush Vashisht <[email protected]>
Co-authored-by: Roxana Burduja <[email protected]>
Co-authored-by: rmanole <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Rajdeepc added a commit that referenced this pull request Oct 16, 2024
* chore(theme): made changes on theme attribute

* chore: reverted THEME Key to support migrations

* chore: theme registrated hard break

* refactor(theme): adds new system attribute and deprecates theme attribute

* chore(theme): made changes on theme attribute

* chore: reverted THEME Key to support migrations

* chore: theme registrated hard break

* chore(theme): updated theme property to system

* chore(theme): updated theme to system in sp-theme in layout

* chore(theme): updated config for VRT

* chore(theme): updated config for VRT from theme to system

* chore: update theme property to system

* fix: added spectrum system variant

* chore: updated theme for deprecation against system in theme files

* chore: updated config to support system

* chore: updated config yml

* chore: updated config yml

* chore: updated config yml

* chore: undo system changes in stories

* chore: updated runner utils

* chore: review to run with theme

* chore(theme): updated command-line arguments to ue system instea do f theme

* chore(theme): updated command-line arguments to ue system instea do f theme

* chore(theme): updated and cleaned up reduntant theme definitions with system

* chore: added theme fallback to the storydecotrator render

* chore: added system flag in the create review site job in CI

* chore: added system flag in the create review site job in CI

* chore: updated config to include system

* chore: removed classic from system variant

* chore: removed classic from system variant

* chore: added system in parameters in config

* chore: added system in parameters in config

* chore: added system in parameters in config

* chore: added system in parameters in config

* chore: added system in parameters in config

* chore: added theme  in parameters in config

* chore: reverted to theme in currentStyles

* chore: update styles for both system/theme changes

* chore: fixed updating theme when system value is not there

* chore: added t theme coverage tests

* chore: updated doc on prperty theme

* chore: updated golden image cache

* chore: updated golden image cache

* chore: check added to update system for theme only attribute during deprecation

* chore: rebased to systems pr

* feat: added s2 theme to storyDecorator

* chore: added s2 to documentation site

* chore: added spectrum-two to the visual testing pipeline

* chore: added s2 in web-test-util

* chore: added s2 theme to vrts

* chore: testing if vrts run

* chore: added spectrum-two-tokens-config in package.json

* chore: removed extra console log and updated tokens

* chore: trying s2 as a theme in vrt instead of spectrum-two

* chore: updated config

* chore: testing a hacky fix for s2 vrts

* chore: updated button and fieldlable to s2

* chore: added core.ts to import theme helpers inside spectrum-two

* chore: spectrum-two core export

* chore: testing if updating the global vars fixes the build

* chore: revert back css updates for button and field-label

* chore(styles): reapply some poorly cached build output (#4232)

* performance: added memory tests in packages (#4228)

* test: added memory tests in packages

* test: updated  memory tests in packages

* chore: asbtracted the memory profiler as a testing helper

* chore: added memory tests for components

* chore: update grid and menu to use testing helper

* chore: added mem test for card, button and button group

---------

Co-authored-by: Rajdeep Chandra <[email protected]>

* fix(coachmark): add "step-count" slot for custom/internationalized pagination content (#4215)

* chore(coachmark): added separator property

* chore(coachmark): updated tests

* chore(coachmark): updated golden image cache

* fix(coachmark): localized the step count

* chore(coachmark): updated golden image cache

* chore(coachmark): update readme and coachmark to default to english

* chore(coachmark): removed separator from the props

* chore(coachmark): updated to check for 1 of 4 stepcount context

* chore(coachmark): updated golden image cache

* chore(coachmark): added locallixation story for step count

* chore(coachmark): updated golden image cache

* chore(coachmark): update readme to include slot for docs site

---------

Co-authored-by: Rajdeep Chandra <[email protected]>

* chore: bump the commitlint-ecosystem group with 2 updates (#4219)

Bumps the commitlint-ecosystem group with 2 updates: [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) and [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional).

Updates `@commitlint/cli` from 19.0.1 to 19.2.1
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.2.1/@commitlint/cli)

Updates `@commitlint/config-conventional` from 19.0.0 to 19.1.0
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.1.0/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: commitlint-ecosystem
- dependency-name: "@commitlint/config-conventional"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: commitlint-ecosystem
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* test: update benchmarking to configure "end" as "updateComplete" or "paint"

* fix(shared): ensure the "updateComplete" in Focusable is stable

* chore: release new versions #publish

* chore: bump webpack-dev-server from 5.0.2 to 5.0.4

Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 5.0.2 to 5.0.4.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](webpack/webpack-dev-server@v5.0.2...v5.0.4)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: bump markdown-it from 14.0.0 to 14.1.0

Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 14.0.0 to 14.1.0.
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](markdown-it/markdown-it@14.0.0...14.1.0)

---
updated-dependencies:
- dependency-name: markdown-it
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: bump fs-extra from 11.1.1 to 11.2.0

Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 11.1.1 to 11.2.0.
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](jprichardson/node-fs-extra@11.1.1...11.2.0)

---
updated-dependencies:
- dependency-name: fs-extra
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore(picker): update event bind timing

* chore: release new versions #publish

* fix(color-area): providing x and y attributes renders color handle correctly (#4240)

* fix(color-area): providing x and y attributes renders color handle correctly

* fix(color-area): minor fix

* chore(menu): remove deprecated CSS file (#4249)

Co-authored-by: rmanole <[email protected]>

* fix(combobox): correct package.json listings

* chore: bump webpack from 5.90.3 to 5.91.0

Bumps [webpack](https://github.com/webpack/webpack) from 5.90.3 to 5.91.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.90.3...v5.91.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: bump prettier-plugin-package from 1.3.0 to 1.4.0

Bumps [prettier-plugin-package](https://github.com/shellscape/prettier-plugin-package) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/shellscape/prettier-plugin-package/releases)
- [Commits](shellscape/prettier-plugin-package@v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: prettier-plugin-package
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: bump @types/react from 18.2.15 to 18.2.75

Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.15 to 18.2.75.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: bump protobufjs from 7.2.4 to 7.2.6

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.2.4 to 7.2.6.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-v7.2.4...protobufjs-v7.2.6)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: bump @11ty/eleventy in the eleventy-ecosystem group

Bumps the eleventy-ecosystem group with 1 update: [@11ty/eleventy](https://github.com/11ty/eleventy).


Updates `@11ty/eleventy` from 3.0.0-alpha.5 to 3.0.0-alpha.6
- [Release notes](https://github.com/11ty/eleventy/releases)
- [Changelog](https://github.com/11ty/eleventy/blob/main/docs/release-instructions.md)
- [Commits](https://github.com/11ty/eleventy/commits)

---
updated-dependencies:
- dependency-name: "@11ty/eleventy"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: eleventy-ecosystem
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: bump tar-stream from 3.1.6 to 3.1.7

Bumps [tar-stream](https://github.com/mafintosh/tar-stream) from 3.1.6 to 3.1.7.
- [Commits](mafintosh/tar-stream@v3.1.6...v3.1.7)

---
updated-dependencies:
- dependency-name: tar-stream
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: updated golden image hash

* chore: updated golden image hash

* chore: added sideeffectful registration of theme and removed lightest and darkest theme e examples

* chore: Configure Renovate (#4248)

* Add renovate.json

* chore: update renovate config

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Westbrook Johnson <[email protected]>

* chore: update dependency rollup to v4.16.2 (#4288)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: bump @11ty/eleventy in the eleventy-ecosystem group (#4291)

Bumps the eleventy-ecosystem group with 1 update: [@11ty/eleventy](https://github.com/11ty/eleventy).


Updates `@11ty/eleventy` from 3.0.0-alpha.6 to 3.0.0-alpha.7
- [Release notes](https://github.com/11ty/eleventy/releases)
- [Changelog](https://github.com/11ty/eleventy/blob/main/docs/release-instructions.md)
- [Commits](https://github.com/11ty/eleventy/commits/v3.0.0-alpha.7)

---
updated-dependencies:
- dependency-name: "@11ty/eleventy"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: eleventy-ecosystem
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: bump the commitlint-ecosystem group with 2 updates (#4290)

Bumps the commitlint-ecosystem group with 2 updates: [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) and [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional).


Updates `@commitlint/cli` from 19.2.1 to 19.3.0
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.3.0/@commitlint/cli)

Updates `@commitlint/config-conventional` from 19.1.0 to 19.2.2
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.2.2/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: commitlint-ecosystem
- dependency-name: "@commitlint/config-conventional"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: commitlint-ecosystem
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: update chromedriver (#4293)

* chore: use latest playwright (#4295)

* chore: use latest playwright

* ci: update golden images cache

* chore: updated golden image hash

* chore: fixed merge conflicts

* chore: fixed merge conflicts

* chore: use system instead of theme in s2

* chore: externalised process spectrum script and update golden image hash

* chore: normalized spectrum-two var naming usage

* chore: updated golden image hash

* chore: testing something

* chore: freshly processed tokens after cleaning everything

* chore: fixed the generate-tokens script

* chore: updated golden image hash

* chore: updated golden image hash

* chore: normalized the classic theme to spectrum

* chore: updating baseline for spectrum

* chore: updated golden image hash

* chore: updated golden image hash

* chore: removed lightest and darkest theme for spectrum-two

* chore: fixed the ci config

* chore: updated golden image hash

* chore: fixed broken sidenav for vrts site

* chore: added devmode warning for S2 theme

* chore: show devmode warning on using s2 theme only in devmode

* chore: added devmode tests for code coverage

* chore: updated devmode tests for theme

* chore: updated tokens package

* chore: updated the process-spectrum task to process the legacy overrides

* chore: reverted for testing bridge tokens remapping

* chore: removed action-button updates

* chore: updated golden image hash

* chore: fixed global vars

* chore: rename legacy to system overrides

* chore: testing foundation tokens for components

* chore: added foundation version

* chore: s2 foundation release

* chore: updated s2 foundations version

* chore: corrected ui-icons foundations version

* chore: added bridges for all components

* chore: removed overrides from accordion

* chore: fresh yarn after merging main

* chore: updated foundations to 0.6

* chore: updated wrapper to take bridge tokens from foundations

* chore: fixed dialog css for foundations release

* chore: updated to foundations 8

* chore: updated scripts and foundations to .9

* chore: downgraded lightning css

* chore: setup errorrecovery to warning in lightning css

* chore: updated process-spectrum

* chore: upgrade typography to foundations

* chore: updated CSS for spectrum-overrides

* chore: updated to index-base.css

* chore: added missing system-overrides imports

* chore: added missing system-overrides imports

* chore: updated css processing script

* chore: fixed broken overrides import

* chore: removed extra override imports

* chore: included icon overrides in component CSS

* chore: updated vars to process s2 foundations

* chore: updated to foundations 10

* chore: added coach-indicator to generate tokens

* chore: updated alert banner overrides

* chore: removed console log

* chore: fixed alert-banner css version and updated dialog css

* chore: updated css fix for action button

* chore: updated to foundations 10 anf added alert banner overrides

* chore: updated to foundations 10

* chore: updated to foundations 11

* chore: upgraded typography to foundations .12

* chore: updated tokens to foundations.12

* chore: updated to foundations 13

* chore: updated to foundations.13 for checkbox and meter

* chore: updated tokens to foundations.14

* chore: updated action-button to foundations.14 and accordion to foundations.13

* chore: updated to latest .15 css release

* chore: updated theme.css to support spectrum typography

* chore: added errorRecovery true to avoid lightningcss failures

* chore: updated action-bar to foundations 13

* chore: updated radio to foundations 12

* chore: updated action-bar css based on latest package

* chore: fixed process-spectrum script

* chore: updated dialog css

* chore: added taggroup for global overrides

* chore: added chevron icon overrides to tabs CSS

* chore: updated combo-box to foundations 13

* chore: fresh yarn

* chore: updated textfield to foundations 12, and drop-zone  and combo-box to 13

* fix: ensured asset in coach-mark didn't interfere with image-wrapper and image sizing

* chore: updated thumbnail, toast and underlay components to foundations.12

* chore: updated css

* chore: updated to foundations 15 for action-button and 13 for combobox

* chore: fixed toast css dependency version

* chore: removed console log

* chore: updated to latest tokens version

* chore: updated tokens to foundations 17

* chore: included typography imports for all systems

* chore: set spectrum as default for storybook

* chore: updated color-wheel css processing

* chore: updated sp-theme background color to background-base-color for storybook design review

* chore: added a getter function to switch to new background color for spectrum-two in storybook

* chore: combo-box quiet variant config update

* chore: updated css to support mods

* chore: overrides import mappings specificty change

* chore: removed picker changes

* chore: updated to latest foundations

* fix: component-overrides.css should be listed after spectrum-component.css

* chore: updated foundations

* chore: updated foundations

* chore: updated tokens-v2

* chore: cascading pickers size to its icon

* chore: updated modal, button mapping css

* chore: updated actionbutton version to latest

* chore: fixed action-button config

* chore: action button edge to visual custom css

* fix(picker): picker CSS does not need to set '--spectrum-icon-size'

* chore: updated spectrum-css versions to latest release

* chore: updated foundations

* chore: updated foundations

* chore: added breadcrumb component generate tokens preprocessing

* chore: added opacitycheckerboard to preprocessing script

* chore: fixed icon sizing and accordion item border

* chore: fixed menu checkmark styles

* chore: fix menu spectrum-config

* fix: breadcrumbs icon overrides css

* fix: action-menu icon size inherit

* chore: s2 radii (#4800)

* chore: updated corner radii tokens of components

* chore: updated to latest foundations

* chore: updated to latest css version

* chore: s2 icons (#4747)

* chore: testing s2 workflow icons delivery

* chore: updated gitignore

* chore: added build-s2

* chore: added s2 ui-icons

* chore: testing the switch for icons

* chore: consolidated the buildscript for workflow icons

* chore: fixed the default icon condition

* feat: add system context to icon base

* chore: updated redundant vars

* chore: process s2 icons-ui

* chore: updated default icon

* fix: update default icon size

* chore: update workflow and ui icons

* chore: updated yarn lock

* chore: updated node version (#4802)

* chore: updated node version

* chore: updated readme

---------

Co-authored-by: Ruben Carvalho <[email protected]>
Co-authored-by: Rajdeep Chandra <[email protected]>

* chore: added disclaimer to icons-s2

---------

Co-authored-by: Rajdeep Chandra <[email protected]>
Co-authored-by: Rajdeep Chandra <[email protected]>
Co-authored-by: TarunAdobe <[email protected]>
Co-authored-by: Ruben Carvalho <[email protected]>

* fix(search): fixed icon sizing issue

* chore: set m as default sizing for search

* chore: fixed wrong css property in colorwheel

* chore: fixed ui & workflow icon missing quotation marks

* chore: test menu item hover fix

* chore: updated tokens version and added typography definitions

* fix(number-field): add missing stepper conversion config and variable definition (#4816)

* chore(number-field): define stepper-width variable for host

* chore(number-field): add stepper-size-m conversion config

* chore: inherit icon size for button and splitbutton

* fix: menu hover css properties in tokens (#4821)

Co-authored-by: Rajdeep Chandra <[email protected]>

* fix: add icon-search for s1 and s2 (#4827)

Co-authored-by: Rajdeep Chandra <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Rajdeep Chandra <[email protected]>
Co-authored-by: Rajdeep Chandra <[email protected]>
Co-authored-by: Rajdeep Chandra <[email protected]>
Co-authored-by: Ruben Carvalho <[email protected]>
Co-authored-by: Rúben Carvalho <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat]: Add localization to "1 of 8" step indicator in coachmark
2 participants