-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pagination): sync with @carbon/react v11 (#10420)
* feat(pagination): syncing pagination --------- Co-authored-by: kennylam <[email protected]>
- Loading branch information
1 parent
b40146d
commit 014fdb8
Showing
15 changed files
with
513 additions
and
501 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
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
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
28 changes: 28 additions & 0 deletions
28
web-components/packages/carbon-web-components/src/components/pagination/defs.ts
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,28 @@ | ||
/** | ||
* @license | ||
* | ||
* Copyright IBM Corp. 2020, 2023 | ||
* | ||
* This source code is licensed under the Apache-2.0 license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/** | ||
* Pagination size. | ||
*/ | ||
export enum PAGINATION_SIZE { | ||
/** | ||
* Small size. | ||
*/ | ||
SMALL = 'sm', | ||
|
||
/** | ||
* Medium size. | ||
*/ | ||
MEDIUM = 'md', | ||
|
||
/** | ||
* Large size. | ||
*/ | ||
LARGE = 'lg', | ||
} |
4 changes: 1 addition & 3 deletions
4
web-components/packages/carbon-web-components/src/components/pagination/index.ts
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 |
---|---|---|
@@ -1,12 +1,10 @@ | ||
/** | ||
* @license | ||
* | ||
* Copyright IBM Corp. 2021 | ||
* Copyright IBM Corp. 2021, 2023 | ||
* | ||
* This source code is licensed under the Apache-2.0 license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
import './page-sizes-select'; | ||
import './pages-select'; | ||
import './pagination'; |
115 changes: 0 additions & 115 deletions
115
web-components/packages/carbon-web-components/src/components/pagination/page-sizes-select.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.