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(modal): provides content-top and content-bottom slots #6490

Merged
merged 21 commits into from
Mar 2, 2023

Conversation

Elijbet
Copy link
Contributor

@Elijbet Elijbet commented Feb 16, 2023

Related Issue: #4800

Summary

Provides content-top and content-bottom slots.

For simplicity, we matched the padding on the content-top and content-bottom to the content, with one public prop for the latter. This can further be developed if requested.

We decided to move forward with content-top and content-bottom naming, as this should provide enough context and also aligns with existing <x>-start/<x>-end naming.

@github-actions github-actions bot added the enhancement Issues tied to a new feature or request. label Feb 16, 2023
@Elijbet Elijbet marked this pull request as ready for review February 16, 2023 22:28
@Elijbet Elijbet requested a review from a team as a code owner February 16, 2023 22:28
@Elijbet Elijbet added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Feb 16, 2023
@Elijbet Elijbet added pr ready for visual snapshots Adding this label will run visual snapshot testing. and removed pr ready for visual snapshots Adding this label will run visual snapshot testing. labels Feb 16, 2023
@Elijbet Elijbet removed the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Feb 18, 2023
@Elijbet Elijbet marked this pull request as draft February 18, 2023 00:42
@Elijbet Elijbet marked this pull request as ready for review February 18, 2023 00:43
@Elijbet Elijbet added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Feb 18, 2023
@Elijbet Elijbet added pr ready for visual snapshots Adding this label will run visual snapshot testing. and removed pr ready for visual snapshots Adding this label will run visual snapshot testing. labels Feb 24, 2023
@jcfranco jcfranco changed the title feat(modal): provides content-header and content-footer slots feat(modal): provides content-top and content-bottom slots Feb 24, 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.

Aside from a few comments, this LGTM!

src/components/modal/modal.scss Outdated Show resolved Hide resolved
src/components/modal/modal.scss Outdated Show resolved Hide resolved
src/components/modal/modal.scss Outdated Show resolved Hide resolved
src/components/modal/modal.scss Outdated Show resolved Hide resolved
src/components/modal/modal.scss Outdated Show resolved Hide resolved
src/components/modal/modal.scss Show resolved Hide resolved
src/components/modal/modal.scss Outdated Show resolved Hide resolved
src/components/modal/modal.tsx Outdated Show resolved Hide resolved
@jcfranco
Copy link
Member

@Elijbet Let's wait until the patch release is done before merging this.

@Elijbet Elijbet added pr ready for visual snapshots Adding this label will run visual snapshot testing. and removed pr ready for visual snapshots Adding this label will run visual snapshot testing. labels Feb 27, 2023
@Elijbet Elijbet merged commit 4a511ba into master Mar 2, 2023
@Elijbet Elijbet deleted the elijbet/4800-sticky-header-footer-content-slots branch March 2, 2023 23:52
benelan added a commit that referenced this pull request Mar 7, 2023
…tory

* origin/master: (57 commits)
  ci(eslint): ignore private/internal code for jsdoc rules (#6416)
  fix(modal): ensure modal transitions are in sync (#6564)
  fix(action): ensure consistent width to accommodate indicator when displaying text (#6562)
  build(deps): Bump focus-trap from 7.2.0 to 7.3.1 (#6540)
  feat(block): add built-in localization (#6503)
  revert(stepper-item): emits calciteStepperItemSelect event when selected (#6560)
  refactor: move ref prop last to ensure ref node is in sync (#6530)
  feat(stepper-item): emits `calciteStepperItemSelect` event when selected. (#6521)
  build(deps): Bump @storybook/addon-a11y from 6.5.15 to 6.5.16 (#6539)
  build(deps): Bump eslint from 8.30.0 to 8.35.0 (#6543)
  chore(block): add t9n message bundles. (#6559)
  build: ensure required files are available for doc preview build (#6557)
  fix(slider): range slider thumb on all touch-enabled devices now follows touch gesture (#6553)
  feat(modal): provides `content-top` and `content-bottom` slots (#6490)
  chore(release): 1.0.8
  chore(release): 1.0.8-next.4
  fix(filter, list): filter properly on initialization (#6551)
  chore(release): 1.0.8-next.3
  fix: apply offsetParent polyfill for Chrome 109+ (#6520)
  fix(tree): restore wrapping in tree-item text content (#6518)
  ...
benelan added a commit that referenced this pull request Mar 13, 2023
…efox-esr

* origin/master: (62 commits)
  build(deps): Bump rimraf and @types/rimraf (#6541)
  build(deps): Bump quicktype-core from 6.1.0 to 23.0.12 (#6573)
  test(tabs): delay story due to potential timing chromatic diff (#6437)
  build(deps): Bump chromatic from 6.14.0 to 6.17.1 (#6571)
  build(deps): Bump postcss from 8.4.20 to 8.4.21 (#6570)
  build(deps): Bump eslint-config-prettier from 8.6.0 to 8.7.0 (#6572)
  ci(eslint): ignore private/internal code for jsdoc rules (#6416)
  fix(modal): ensure modal transitions are in sync (#6564)
  fix(action): ensure consistent width to accommodate indicator when displaying text (#6562)
  build(deps): Bump focus-trap from 7.2.0 to 7.3.1 (#6540)
  feat(block): add built-in localization (#6503)
  revert(stepper-item): emits calciteStepperItemSelect event when selected (#6560)
  refactor: move ref prop last to ensure ref node is in sync (#6530)
  feat(stepper-item): emits `calciteStepperItemSelect` event when selected. (#6521)
  build(deps): Bump @storybook/addon-a11y from 6.5.15 to 6.5.16 (#6539)
  build(deps): Bump eslint from 8.30.0 to 8.35.0 (#6543)
  chore(block): add t9n message bundles. (#6559)
  build: ensure required files are available for doc preview build (#6557)
  fix(slider): range slider thumb on all touch-enabled devices now follows touch gesture (#6553)
  feat(modal): provides `content-top` and `content-bottom` slots (#6490)
  ...
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.

5 participants