
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
@agendize/design-system
Advanced tools
System design for Agendize Component - based on tailwindcss (https://tailwindcss.com/)
To install on your project
yarn add @agendize/design-system
# or
npm install @agendize/design-system
Global
Components
List of components
import { createApp } from 'vue';
import App from './App.vue';
import { FieldInput, FieldEmail, FieldTextArea, FieldToggle, SearchInput } from '@agendize/design-system';
import '@agendize/design-system/dist/style.css';
const app = createApp(App);
app.component('FieldInput', FieldInput);
app.component('FieldEmail', FieldEmail);
app.component('FieldTextArea', FieldTextArea);
app.component('FieldToggle', FieldToggle);
app.component('SearchInput', SearchInput);
Local
<script>
import { FieldInput, FieldEmail, FieldTextArea, FieldToggle, SearchInput } from '@agendize/design-system';
import '@agendize/design-system/dist/style.css';
export default {
components: { FieldInput, FieldEmail, FieldTextArea, FieldToggle, SearchInput}
}
</script>
Use with Vite
If you want use design-system in a Vite project you must add 'vue-select', 'vue-tel-input' in external section of rollupOptions
Toaster Api
A toaster engine is also available and must be declared on the app (main)
import { createApp } from 'vue';
import App from './App.vue';
import { TOAST_OPTIONS } from '@agendize/design-system';
import Toast from "vue-toastification";
const app = createApp(App);
app.use(Toast, TOAST_OPTIONS);
and then
import '@agendize/design-system/dist/style.css';
import { useToast } from "vue-toastification";
function createToast() {
const toast = useToast()
// Use it!
toast("I'm a toast!")
toast.info("Toast info", {icon:'fa fa-info'})
toast.success("Toast success", {icon:'fa fa-check'})
toast.error("Toast error")
toast.warning("Toast warning", {icon:'fa fa-exclamation'})
}
FAQs
Agendize web design system
The npm package @agendize/design-system receives a total of 114 weekly downloads. As such, @agendize/design-system popularity was classified as not popular.
We found that @agendize/design-system demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.