npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@dpa-id-components/dpa-event-item

v0.9.2

Published

DpaEventItem vue component with dpa Design Kit

Downloads

35

Readme

@dpa-id-components/dpa-event-item

DpaEventItem Vue 2.x domain sepecific for Events (i.e. topic and event items in dpa-Agenda) component based on the dpa Design Kit

Installation

yarn add @dpa-id-components/dpa-event-item

Usage

<!-- SomeComponent.vue using DpaEventItem -->
<template>
  <div ref="container">
    <dpa-event-item v-bind="eventProps" />
  </div>
</template>

<script>
  export default {
    data() {
      width: 0,
      resizeObserver: undefined,
      eventProps: {
        date: "27. September",
        dateDetail: "Ganztägig",
        title:
          "Auftakt des Kapitalanlegermusterverfahrens am OLG Stuttgart gegen die VW-Holding Porsche SE im Zusammenhang mit dem Dieselskandal",
        location: "Berlin",
        noticeType: "event",
        actionType: "favorite",
        comments: "10 Inhalte geplant",
      }
    },
  }
</script>

Demo

View a demo of <dpa-event-item> on Storybook

API

Props

| Name | Type | Required | Description | | --------------- | --------- | -------- | -------------------------------------------------------------------------- | | title | String | true | The title of the event or topic | | date | String | true | The formatted date of the event or topic | | dateDetail | String | false | Additional date information (e.g. time) | | noticeType | string | false | Either "event" or "topic" | | comments | String | false | Supplementary text information (e.g. content) | | size | String | false | Size variant; either small, medium, large | | view | String | false | Which view variant should be used, compact or standard | | top | Boolean | false | If the event item should displayed as "top entry" | | description | String | false | The teaser text that should be displayed. Only applies to standard view. | | truncateTitle | Boolean | false | Applies a line-clamp of two rows to the event's title field. |

Slots

| Name | Description | | ------------------- | ---------------------------------------------------------------------------- | | actions | slot for a ui-menu activator button for further actions (e.g. copy, share) | | addFavoriteAction | slot for a ui-tooltip incl. activator button for add to favorite action | | filters | slot for a DpaFilterBadge components | | planningItems | slot for a DpaPlanningItem components |