
Security News
pnpm 10.16 Adds New Setting for Delayed Dependency Updates
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
dolphin-components-t1
Advanced tools
  
A Vue component library built with TypeScript, Vite, Vue, TailwindCSS, Multiselect, Sweetalert2, and Tabulator.
Install the package via npm:
npm install dolphin-components
Make sure to import the CSS styles in your main entry file (e.g., main.ts
or main.js
):
import 'dolphin-components/dolphin-components.css';
import 'dolphin-components/dolphin-theme.css';
You can globally register all components in your Vue app:
import { createApp } from 'vue';
import App from './App.vue';
import { ContentLayout, Modal, Switch, Tabulator, Toggle, Towser } from 'dolphin-components';
const app = createApp(App);
app.component('ContentLayout', ContentLayout);
app.component('Modal', Modal);
app.component('Switch', Switch);
app.component('Tabulator', Tabulator);
app.component('Toggle', Toggle);
app.component('Towser', Towser);
app.mount('#app');
Props:
title
(Array of ContentTitle[]
, required) - Defines the content titles with optional links.action
(Array of ContentAction[]
, optional) - Defines actions with a title, emit event, and optional class.bodyClass
(String, optional) - Additional class for the body.titleClass
(String, optional) - Additional class for the title.Props:
title
(Array of ModalTitle[]
, required) - Defines modal titles with optional links.action
(Array of ModalAction[]
, required) - Defines actions with an emit event and optional class.show
(Boolean, required) - Controls modal visibility.width
(String, optional) - Defines modal width.Props:
modelValue
(Boolean, required) - The v-model value.background
(String, optional) - Background color.disable
(Boolean, optional) - Disable Switch.Props:
data
(Array of TabulatorData[]
, required) - Defines table data.columns
(Array of TabulatorHeader[]
, required) - Defines table headers.placeholder
(String, required) - Placeholder text when no data is present.paginationSize
(Number, required) - Pagination size.paginationSizeSelector
(Array of numbers, required) - Pagination size options.action
(Boolean, required) - Enables or disables action buttons.actionButtons
(Array of TabulatorAction[]
, required) - Defines action buttons.heightOffset
(Number, required) - Adjusts table height.Props:
modelValue
(Boolean, required) - The v-model value.onText
(String, optional) - Text when toogle on.offText
(String, optional) - Text when toogle off.width
(String, optional) - Width of Toggle [Eg: 100px].disable
(Boolean, optional) - Disable Toggle.Props:
show
(Boolean, required) - Controls visibility.title
(Array of TowserTitle[]
, required) - Defines the titles with optional links.action
(Array of TowserAction[]
, optional) - Defines actions.double
(Boolean, optional) - Enables double-pane layout.bodyWidth
(Number, optional) - Width of the main body.body2Width
(Number, optional) - Width of the secondary body.import { InputError } from 'dolphin-components';
app.directive('error', InputError)
A Vue directive for handling form input error states and displaying error messages.
Usage:
<div v-error="error">
<input type="text" v-model="fieldValue" />
</div>
Properties:
error
(String, required) - Error message to displayThis package includes TypeScript support with full typings for all components.
This project is licensed under the Apache 2.0 License. See the LICENSE file for more details.
FAQs
  
We found that dolphin-components-t1 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
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.