![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@cpelements/plcc-table
Advanced tools
Product lifecycle table web component.
Describe how best to use this web component along with best practices.
<plcc-table>
</plcc-table>
product-name
Use this attribute when fetching data from the api. Pass the product name as the value for the api's path to use.
<plcc-table product-name="Red Hat Enterprise Linux"></plcc-table>
hide-eol
When this attribute is present, the End of Life versions will be hidden
<plcc-table product-name="Red Hat Enterprise Linux" hide-eol></plcc-table>
toggle-eol
Use this attribute to add a checkbox to toggle End of Life versions (default set to show all versions)
<plcc-table product-name="Red Hat Enterprise Linux" toggle-eol></plcc-table>
toggle-eol hide-eol
When these two attributes could be used together, all End of Life versions will be hidden by default
<plcc-table product-name="Red Hat Enterprise Linux" toggle-eol hide-eol></plcc-table>
expandable
Use this attribute to make version category expandable
<plcc-table product-name="Red Hat Enterprise Linux" expandable></plcc-table>
To enable compact styles add a class of 'compact' to the <plcc-table>
tag
<plcc-table product-name="Red Hat Enterprise Linux" class="compact"></plcc-table>
Here's a basic example on now to pass data to the component. This data must match the structure provided by the api in order for the component to render properly.
<plcc-table id="someId" type="app"></plcc-table>
<script>
const data = {someObject};
const plccExampleTable = document.querySelector("#someId");
plccExampleTable.tableData = data;
</script>
Run this command from the cp-elements root and select plcc-table. This will start the plcc-table demo. You can test your changes here.
npm start
npm run build
Once you have merged your changes we need to publish to NPM.
Here's steps you can use to publish the component:
"name": "@cpelements/plcc-table"
) is correctnpm version
command, e.g. run npm version patch
from the component folder.npm run build
(this will make sure the JS will have the proper version in the compiled code)npm publish --access=public
Since the lifecycle application is pulling in the component via NPM, the plcc-table is now ready to be used. However, Product lifecycle pages (e.g. Openshift) pull in the component via chrometwo_require, so the new component version will need to be released to CP-CHROME to be used on these pages. Please contact Tyler Martin or anyone on the DXP-FED team to release the new version in CP-CHROME.
FAQs
Plcc table element for PatternFly Elements
The npm package @cpelements/plcc-table receives a total of 4 weekly downloads. As such, @cpelements/plcc-table popularity was classified as not popular.
We found that @cpelements/plcc-table demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.