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

feat(pagination, split-button, dropdown, date-picker, action-group): add setFocus method #6438

Merged
merged 5 commits into from
Mar 28, 2023

Conversation

benelan
Copy link
Member

@benelan benelan commented Feb 8, 2023

Related Issue: #5147

Summary

Adds the public setFocus method to the delegatesFocus components that don't have it. See #5147 (comment)

@benelan benelan requested a review from a team as a code owner February 8, 2023 05:04
@github-actions github-actions bot added the enhancement Issues tied to a new feature or request. label Feb 8, 2023
@github-actions
Copy link
Contributor

This PR has been automatically marked as stale because it has not had recent activity. Please close your PR if it is no longer relevant. Thank you for your contributions.

@github-actions github-actions bot added the Stale Issues or pull requests that have not had recent activity. label Feb 16, 2023
@geospatialem
Copy link
Member

Keep forgetting to add this PR in as a result of our patch post 1.0 efforts

Could we consider merging in for next week's release, @jcfranco?

@github-actions github-actions bot removed the Stale Issues or pull requests that have not had recent activity. label Mar 23, 2023
Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

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

🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍
🔍👁️🔍🔍🔍👁️🔍👁️🔍🔍🔍👁️🔍🔍👁️👁️👁️🔍🔍👁️👁️👁️🔍🔍👁️👁️👁️🔍
🔍🔍👁️🔍👁️🔍🔍👁️🔍🔍🔍👁️🔍👁️🔍🔍🔍🔍👁️🔍🔍🔍🔍👁️🔍🔍🔍🔍
🔍🔍🔍👁️🔍🔍🔍👁️🔍🔍🔍👁️🔍🔍👁️👁️🔍🔍🔍👁️👁️🔍🔍🔍👁️👁️🔍🔍
🔍🔍🔍👁️🔍🔍🔍👁️🔍🔍🔍👁️🔍🔍🔍🔍👁️🔍🔍🔍🔍👁️🔍🔍🔍🔍👁️🔍
🔍🔍🔍👁️🔍🔍🔍🔍👁️👁️👁️🔍🔍👁️👁️👁️🔍🔍👁️👁️👁️🔍🔍👁️👁️👁️🔍🔍
🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍🔍

import { SLOTS } from "./resources";

const actionGroupHTML = `<calcite-action-group scale="l">
<calcite-action id="plus" slot="menu-actions" text="Add" icon="plus"></calcite-action>
<calcite-action id="banaa" slot="menu-actions" text="Banana" icon="banana"></calcite-action>
Copy link
Member

Choose a reason for hiding this comment

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

Nitpick: banaa -> banana

@@ -17,6 +17,11 @@ describe("calcite-date-picker", () => {
}
]));

it("focusable", async () =>
focusable("<calcite-date-picker></calcite-date-picker>", {
Copy link
Member

Choose a reason for hiding this comment

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

Tip: focusable accepts the component tag name for simple setups: focusable("calcite-date-picker").

…ocus-revert

* origin/master: (30 commits)
  fix(modal): prevent error when calling setFocus on a recently rendered and opened modal (`dist-custom-elements`) (#6666)
  fix(tile-select): fix click not firing in custom-elements build (#6665)
  fix(card): provide more meaningful screen reader label for selectable cards (deprecates `deselect` message override) (#6657)
  fix(pagination): add current page information for screen readers (#6637)
  chore: update jsbin sample to CC 1.0 breaking changes and latest jsapi version (#6651)
  feat(text-area): add calcite-text-area component (#5644)
  chore(release): 1.1.1-next.2
  fix(tile): adds styling to `tile` where `link` is present for additional distinction (#6628)
  docs(input, input-number, input-text): api consistency across components (#6634)
  docs(accordion-item): add actions-start and actions-end slots (#6631)
  docs(modal): kebab-case slot names and sticky context (#6625)
  chore(release): 1.1.1-next.1
  fix: restore form control validation in Safari (#6623)
  chore(linting): fix linting errors (#6613)
  build(deps): Bump eslint-plugin-react from 7.31.11 to 7.32.2 (#6619)
  build(deps): Bump eslint from 8.35.0 to 8.36.0 (#6620)
  build(deps): Bump @types/lodash-es from 4.17.6 to 4.17.7 (#6621)
  build: fix peer dependency resolution error (#6611)
  ci: update user-defined priority (#6609)
  build: update browserslist db (#6527)
  ...
@benelan benelan added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Mar 28, 2023
@benelan benelan merged commit a93a85f into master Mar 28, 2023
@benelan benelan deleted the benelan/revert-setfocus-revert branch March 28, 2023 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues tied to a new feature or request. pr ready for visual snapshots Adding this label will run visual snapshot testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants