Gathering detailed insights and metrics for @clayui/drop-down
Gathering detailed insights and metrics for @clayui/drop-down
Gathering detailed insights and metrics for @clayui/drop-down
Gathering detailed insights and metrics for @clayui/drop-down
npm install @clayui/drop-down
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
208 Stars
14,485 Commits
483 Forks
22 Watching
10 Branches
80 Contributors
Updated on 27 Nov 2024
SCSS (38.6%)
HTML (33.17%)
TypeScript (20.07%)
JavaScript (5.4%)
MDX (2.77%)
Cumulative downloads
Total Downloads
Last day
58.3%
823
Compared to previous day
Last week
31.7%
3,576
Compared to previous week
Last month
16.1%
12,076
Compared to previous month
Last year
-13%
117,066
Compared to previous year
Clay is Liferay's web implementation of the Lexicon Experience Language. Built with Bootstrap as a foundation, it's comprised of HTML, CSS, and JS.
🚨 This Branch contains the version of Clay v3, if you are looking for the components in Metal.js visit the 2.x branch.
Clay repository follows the monorepo approach, all the major components that are the pillars of Clay are here in this repository.
Clay CSS: The pillar to give colors and structure to Clay, where is the css and examples of HTML markups of the components.
Clay React Components: A set of components that use clay-css
and Lexicon guidelines, developed with React.js
clayui.com: The source code for our documentation site.
You can find the Clay documentation on the site. Here are some useful links:
Do you already have the Clay v2 components implemented in your project? These guides will help you perform the migration from Clay v2 to v3.
To contribute to this project, here are the required steps to setup everything:
git clone https://github.com/liferay/clay.git
Download and install the latest lts version of Node.js for your operating system.
Install the required global dependencies:
npm install -g yarn
yarn
yarn lerna
yarn build
clay-css
files and start the storybook server:yarn workspace @clayui/css run build && yarn storybook
Additionally, you can run the tests for all packages with the following command:
yarn test
The latest version of Python that is supported to build Clay locally is 3.10. There is an error when setting up the Clay project with Python 3.12.
ModuleNotFoundError: No module named 'distutils'
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/clay/node_modules/node-gyp/lib/configure.js:325:16)
gyp ERR! stack at ChildProcess.emit (node:events:519:28)
gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
gyp ERR! System Darwin 20.6.0
gyp ERR! command "/usr/local/bin/node" "/clay/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /clay/node_modules/deasync
gyp ERR! node -v v20.15.1
You will need to switch to Python 3.10. Instructions for switching Python versions:
https://linuxconfig.org/how-to-switch-between-python-versions-on-fedora-linux
https://github.com/pyenv/pyenv
Once you are running the correct Python version, you need to clear the cache in the /node_modules/
directory.
rm -rf node_modules
You should also clear the /node_modules/
directory in Clay CSS.
rm -rf packages/clay-css/node_modules
Then re-run yarn
in the /clay/
directory and in /packages/clay-css/
.
To contribute to the documentation, you can run the site locally to test your changes:
cd clayui.com
yarn
yarn develop
If you want to test in a production environment so that you do not take risks of inconsistencies, issue the following command in the root directory:
yarn site
Feel free to create issues or submit pull requests. Clay is actively maintained and your contributions are always welcome.
Before opening a issue make sure it exists.
See the contribution guide for more details.
BSD License © Liferay, Inc.
No vulnerabilities found.
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 11/14 approved changesets -- score normalized to 7
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
131 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More