-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #141 from emulsify-ds/emulsif-241-convert-pager-to…
…-support-sdc EMULSIF-241: Convert Pager to support SDC
- Loading branch information
Showing
12 changed files
with
466 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
$schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json | ||
|
||
name: Pager with Both Ellipses | ||
group: Components | ||
status: stable | ||
props: | ||
type: object | ||
required: | ||
- current | ||
- ellipses | ||
- items | ||
properties: | ||
current: | ||
type: integer | ||
title: Current Page | ||
description: 'Specifies the current active page number' | ||
data: 5 | ||
ellipses: | ||
type: object | ||
title: Ellipses Visibility | ||
description: 'Specifies whether to display ellipses for next and previous page navigation' | ||
properties: | ||
previous: | ||
type: boolean | ||
title: Show Previous Ellipsis | ||
description: 'Determines whether to display an ellipsis for the previous page' | ||
data: true | ||
next: | ||
type: boolean | ||
title: Show Next Ellipsis | ||
description: 'Determines whether to display an ellipsis for the next page' | ||
data: true | ||
items: | ||
type: object | ||
title: Page Items | ||
description: 'Specifies the links for page navigation' | ||
properties: | ||
previous: | ||
type: object | ||
title: Previous Page Link | ||
properties: | ||
href: | ||
type: string | ||
title: Previous Page URL | ||
description: 'URL for the previous page' | ||
data: '#' | ||
next: | ||
type: object | ||
title: Next Page Link | ||
properties: | ||
href: | ||
type: string | ||
title: Next Page URL | ||
description: 'URL for the next page' | ||
data: '#' | ||
pages: | ||
type: object | ||
title: Page Links | ||
description: 'Links for the page numbers' | ||
properties: | ||
3: | ||
type: object | ||
properties: | ||
href: | ||
type: string | ||
data: '#' | ||
4: | ||
type: object | ||
properties: | ||
href: | ||
type: string | ||
data: '#' | ||
5: | ||
type: object | ||
properties: | ||
href: | ||
type: string | ||
data: '#' | ||
6: | ||
type: object | ||
properties: | ||
href: | ||
type: string | ||
data: '#' | ||
7: | ||
type: object | ||
properties: | ||
href: | ||
type: string | ||
data: '#' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
$schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json | ||
|
||
name: Pager with First and Last | ||
group: Components | ||
status: stable | ||
props: | ||
type: object | ||
required: | ||
- current | ||
- ellipses | ||
- items | ||
properties: | ||
current: | ||
type: integer | ||
title: Current Page | ||
description: 'Specifies the current active page number' | ||
data: 10 | ||
ellipses: | ||
type: object | ||
title: Ellipses Visibility | ||
description: 'Specifies whether to display ellipses for next and previous page navigation' | ||
properties: | ||
previous: | ||
type: boolean | ||
title: Show Previous Ellipsis | ||
description: 'Determines whether to display an ellipsis for the previous page' | ||
data: true | ||
next: | ||
type: boolean | ||
title: Show Next Ellipsis | ||
description: 'Determines whether to display an ellipsis for the next page' | ||
data: true | ||
items: | ||
type: object | ||
title: Page Items | ||
description: 'Specifies the links for page navigation' | ||
properties: | ||
first: | ||
type: object | ||
title: First Page Link | ||
properties: | ||
href: | ||
type: string | ||
title: First Page URL | ||
description: 'URL for the first page' | ||
data: '#' | ||
last: | ||
type: object | ||
title: Last Page Link | ||
properties: | ||
href: | ||
type: string | ||
title: Last Page URL | ||
description: 'URL for the last page' | ||
data: '#' | ||
previous: | ||
type: object | ||
title: Previous Page Link | ||
properties: | ||
href: | ||
type: string | ||
title: Previous Page URL | ||
description: 'URL for the previous page' | ||
data: '#' | ||
next: | ||
type: object | ||
title: Next Page Link | ||
properties: | ||
href: | ||
type: string | ||
title: Next Page URL | ||
description: 'URL for the next page' | ||
data: '#' | ||
pages: | ||
type: object | ||
title: Page Links | ||
description: 'Links for the page numbers' | ||
properties: | ||
9: | ||
type: object | ||
properties: | ||
href: | ||
type: string | ||
title: Page 9 URL | ||
data: '#' | ||
10: | ||
type: object | ||
properties: | ||
href: | ||
type: string | ||
title: Page 10 URL | ||
data: '#' | ||
11: | ||
type: object | ||
properties: | ||
href: | ||
type: string | ||
title: Page 11 URL | ||
data: '#' | ||
12: | ||
type: object | ||
properties: | ||
href: | ||
type: string | ||
title: Page 12 URL | ||
data: '#' | ||
13: | ||
type: object | ||
properties: | ||
href: | ||
type: string | ||
title: Page 13 URL | ||
data: '#' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
$schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json | ||
|
||
name: Pager with Next Ellipses | ||
group: Components | ||
status: stable | ||
props: | ||
type: object | ||
required: | ||
- current | ||
- ellipses | ||
- items | ||
properties: | ||
current: | ||
type: integer | ||
title: Current Page | ||
description: 'Specifies the current active page number' | ||
data: 5 | ||
ellipses: | ||
type: object | ||
title: Ellipses Visibility | ||
description: 'Specifies whether to display ellipses for the next page navigation' | ||
properties: | ||
next: | ||
type: boolean | ||
title: Show Next Ellipsis | ||
description: 'Determines whether to display an ellipsis for the next page' | ||
data: true | ||
items: | ||
type: object | ||
title: Page Items | ||
description: 'Specifies the links for page navigation' | ||
properties: | ||
next: | ||
type: object | ||
title: Next Page Link | ||
properties: | ||
href: | ||
type: string | ||
title: Next Page URL | ||
description: 'URL for the next page' | ||
data: '#' | ||
pages: | ||
type: object | ||
title: Page Links | ||
description: 'Links for the page numbers' | ||
properties: | ||
1: | ||
type: object | ||
properties: | ||
href: | ||
type: string | ||
title: Page 1 URL | ||
data: '#' | ||
2: | ||
type: object | ||
properties: | ||
href: | ||
type: string | ||
title: Page 2 URL | ||
data: '#' | ||
3: | ||
type: object | ||
properties: | ||
href: | ||
type: string | ||
title: Page 3 URL | ||
data: '#' | ||
4: | ||
type: object | ||
properties: | ||
href: | ||
type: string | ||
title: Page 4 URL | ||
data: '#' | ||
5: | ||
type: object | ||
properties: | ||
href: | ||
type: string | ||
title: Page 5 URL | ||
data: '#' |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.