JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q54866F
  • License MIT

Reusable Jira-like task management UI components built with React, including Mytasks, TeamMembers, and more.

Package Exports

  • jira-task-management
  • jira-task-management/dist/index.es.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jira-task-management) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project. # jira

ira Task Management

A React component library for building Jira-like task management interfaces, including Kanban, Table, and Calendar views.

Installation

npm install jira-task-management

Usage

Import and use the Mytasks component with required props:

import { Mytasks } from 'jira-task-management'; import 'jira-task-management/dist/index.css';

function App() { const [tasks, setTasks] = useState([...]); const [projects, setProjects] = useState([...]); const teamMembers = [...]; const role = 'admin'; const rolePermissions = { ... }; const userName = 'John Doe';

return ( <Mytasks tasks={tasks} setTasks={setTasks} deleteTask={(taskId) => setTasks(tasks.filter(t => t.id !== taskId))} teamMembers={teamMembers} projects={projects} setProjects={setProjects} role={role} rolePermissions={rolePermissions} userName={userName} kanban="true" table="true" calendar="true" /> ); }

Props for Mytasks

Prop

Type

Default

Description

tasks

Array

[]

List of tasks

setTasks

Function

() => {}

Function to update tasks

deleteTask

Function

() => {}

Function to delete a task by ID

teamMembers

Array

[]

List of team members

projects

Array

[]

List of projects

setProjects

Function

() => {}

Function to update projects

role

String

'user'

User role (e.g., 'admin', 'teammember')

rolePermissions

Object

{}

Permissions for roles

userName

String

''

Current user's name

kanban

String

'true'

Enable Kanban view ('true'/'false')

table

String

'true'

Enable Table view ('true'/'false')

calendar

String

'true'

Enable Calendar view ('true'/'false')

Development

Clone the repository

git clone https://github.com/yourusername/jira-task-management.git cd jira-task-management

Install dependencies

npm install

Run development server

npm run dev

Build for production

npm run build

License

MIT