-
Notifications
You must be signed in to change notification settings - Fork 785
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into callout_accessibility
- Loading branch information
Showing
248 changed files
with
2,499 additions
and
1,096 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
3 changes: 2 additions & 1 deletion
3
.github/ISSUE_TEMPLATE/component-accessibility-deliverables.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,52 @@ | ||
--- | ||
name: "Feature request 💡" | ||
name: 'Feature request 💡' | ||
about: Suggest an idea for this project | ||
title: "" | ||
labels: "type: enhancement 💡" | ||
assignees: "" | ||
title: '' | ||
type: 'enhancement' | ||
labels: ['type: enhancement 💡', 'status: needs triage 🕵️♀️'] | ||
assignees: '' | ||
--- | ||
|
||
Use this template if you want to request a new feature, or a change to an existing feature. | ||
Use this template if you want to request a new feature, or a change to an | ||
existing feature. | ||
|
||
If you are reporting a bug or problem, please use the bug template instead. | ||
|
||
### Summary | ||
|
||
Please describe your request in one or two sentences. | ||
|
||
Clarify if you are asking for both design and development, or just design, or just development. | ||
Clarify if you are asking for both design and development, or just design, or | ||
just development. | ||
|
||
### Justification | ||
|
||
Provide the business reasons for this request. | ||
|
||
### Desired UX and success metrics | ||
|
||
Describe the full user experience for this feature. Also define the metrics by which we can measure success/failure for the user. | ||
Describe the full user experience for this feature. Also define the metrics by | ||
which we can measure success/failure for the user. | ||
|
||
### Must-have functionality | ||
|
||
Highlight any "must have" needs and functionality for the request. | ||
|
||
This should not be a full list of functionality; the Carbon team will work with you to define functionality based on the desired UX. | ||
This should not be a full list of functionality; the Carbon team will work with | ||
you to define functionality based on the desired UX. | ||
|
||
### Specific timeline issues / requests | ||
|
||
Do you want this work within a specific time period? Is it related to an upcoming release? | ||
Do you want this work within a specific time period? Is it related to an | ||
upcoming release? | ||
|
||
_NB: The Carbon team will try to work with your timeline, but it's not guaranteed. The earlier you make a request in advance of a desired delivery date, the better!_ | ||
_NB: The Carbon team will try to work with your timeline, but it's not | ||
guaranteed. The earlier you make a request in advance of a desired delivery | ||
date, the better!_ | ||
|
||
### Available extra resources | ||
|
||
What resources do you have to assist this effort? | ||
|
||
_Carbon is a collaborative system. We encourage teams to build components and submit them for integration as either add-ons or core components._ | ||
_Carbon is a collaborative system. We encourage teams to build components and | ||
submit them for integration as either add-ons or core components._ |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
|
||
/** | ||
* KalturaVideo component: A video player container for Kaltura videos. | ||
* | ||
* @param {object} videoProps - KalturaVideo component props | ||
* @param {string} videoProps.videoid - The ID of the Kaltura video to be played. | ||
* @param {boolean} videoProps.hideCaption - Determines if caption should be hidden. | ||
* @returns {JSX.Element} JSX element containing the video player container. | ||
*/ | ||
const KalturaVideo = ({ videoid, hideCaption = false }) => { | ||
let videoProps = { | ||
'video-id': videoid, | ||
}; | ||
|
||
if (hideCaption) { | ||
videoProps['hide-caption'] = true; | ||
} | ||
|
||
return ( | ||
<div> | ||
<dds-video-player-container {...videoProps}></dds-video-player-container> | ||
</div> | ||
); | ||
}; | ||
|
||
/** | ||
* @typedef {object} KalturaVideoProps | ||
* | ||
* @property {string} videoid - The ID of the Kaltura video to be played. | ||
*/ | ||
KalturaVideo.propTypes = { | ||
hideCaption: PropTypes.bool, | ||
videoid: PropTypes.string.isRequired, | ||
}; | ||
|
||
/** | ||
* @type {{hideCaption: boolean}} | ||
*/ | ||
KalturaVideo.defaultProps = { | ||
hideCaption: false, | ||
}; | ||
|
||
export default KalturaVideo; |
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,3 @@ | ||
import KalturaVideo from './KalturaVideo'; | ||
|
||
export default KalturaVideo; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.