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

dmx-search-widget

v2.1.0

Published

The DMX 5 search/create widget as a composable GUI component

Downloads

48

Readme

DMX 5 search/create widget

Version History

2.1 -- Jun 15, 2021

  • Improvements:
    • Improved Create panel UI (wording, tooltips)
  • Fixes:
    • Text input (topic filter) is selected when dialog opens
  • Chore:
    • Remove debug log

2.0 -- Dec 30, 2020

  • BREAKING CHANGES
    • Make use of dmx-api 2.0
    • Rename component attribute create-topic-types (was menu-topic-types)
    • Rename component attribute marker-topic-ids (was marker-ids)
    • Various dm5 -> dmx renamings
  • Feature: Association Search
    • Emit assoc-click event
    • Add component attribute search-assoc-types
    • Add component attribute marker-assoc-ids
  • Improvements:
    • Make search dialog movable and remove mask
    • Make "Customize" dialogs movable and remove mask
  • Chore:
    • Adapt URLs to github.com/dmx-systems
    • Code run through eslint

1.0.1 -- Aug 5, 2020

  • Chore:
    • Update to dmx-topic-list 1.0.1

1.0 -- Aug 5, 2020

  • Improvements:
    • "Create" menu: list all maptypes top-level
    • Split event topic-reveal into topic-click and icon-click
  • Fixes:
    • Only admins can create user accounts
    • "Create" menu: remove selection if item is disabled meanwhile
  • Chore:
    • Rename this package dm5-search-widget -> dmx-search-widget

0.28 -- Mar 30, 2020

  • Improvements:
    • Mobile friendly layout (optional):
      • Add layout attr to control search/create panel layout
      • Add width attr to control dialog width
    • Supports declarative component instantiation

0.27 -- Nov 22, 2019

  • Feature: Advanced Search
    • Restrict search result to certain topic type
      • Customizable type menu
    • Optionally include child topics in search
  • Improvements:
    • Drop pos component prop; dialog opens at standard position
      • Original click position is still used for revealed/created topic placement
    • Trim user input before create

0.26 -- Aug 16, 2019

  • Improvements:
    • Combine search terms via AND (instead OR)
    • Don't perform single character search
    • Don't transform user input if it contains Lucene special symbol
  • Fixes:
    • Do not show out-of-date search result

0.25 -- Jul 22, 2019

  • Chore:
    • Adapt to dm5 library (searchTopics() -> queryTopicsFulltext())
    • Change license to AGPL-3.0

0.24 -- May 28, 2019

  • Improvement: HTML topics in search results are rendered, instead displaying source (due to upgraded dm5-topic-list dependency)

0.23 -- Apr 22, 2019

  • Chore: lock dm5- dependencies (for releasing DMX-5.0-beta.2)

0.22 -- Apr 1, 2019

  • Chore: bump dependency version numbers to snapshots

0.21 -- Jan 29, 2019

  • Improvements:
    • Show icons for the "Create" menu's special items
    • When opening the dialog the search field content is selected
    • Pressing Return in search field triggers "Create" button
    • The dialog is modal; pressing ESC closes it
    • The dialog has a close box
  • Change license to GPL-3.0-or-later

0.20 -- Dec 21, 2018

  • Show type icons in "Create" menu
  • Revise "Create" menu (option groups)
  • Retype component property menu-topic-types to Array (formerly Object) to support sort order

0.19 -- Nov 24, 2018

  • Improvement: debounce search requests

0.18 -- Oct 21, 2018

  • Return to no-tabs layout

0.17 -- Oct 6, 2018

  • New component property markerIds allows rendering certain search result topics as "marked"
  • Component supports manual mounting in conjunction with manual data update ("props" are mirrored as "data")
  • Fix: update search result on show dialog

0.16 -- Sep 30, 2018

  • New component prop createEnabled controls whether the "Create" tab is enabled

0.15 -- Aug 22, 2018

  • Composability:
    • The component emits events instead of dispatching into the host application. Events and their args:
      • topic-reveal topic
      • topic-create {topicType, value}
      • extra-create {extraItem, value, optionsData}
      • close -
    • The component receives app state via props instead of maintaining a Vuex store module on its own.
      • No Vuex dependency anymore

0.14 -- Aug 18, 2018

  • Pass widget pos to extra menu item create callback
  • Fix: process directives on create-topic

0.13 -- Jul 31, 2018

  • Add GitLab CI/CD

0.12 -- May 1, 2018

  • Adapt Element UI overrides

0.11 -- Apr 10, 2018

  • 2-tab layout: "Search" and "Create"

0.10 -- Mar 25, 2018

  • New concept: the extra menu items can provide a "Create Options Component" to solicit further data from the user before creating the topic.
  • Dependencies: dm5-topic-list replaces el-table as the result list component. Build size decreases by 100 KiB!

0.9 -- Mar 22, 2018

  • New option topicHandler replaces auxAction. Allows the handler and the openSearchWidget call to exist in the same closure.

0.8 -- Jan 13, 2018

  • Minor layout change

0.7 -- Dec 5, 2017

  • Adapt to Element UI 2.0

0.6 -- Oct 19, 2017

  • Incremental injection of extra items into type menu (via action)

0.5 -- Oct 3, 2017

  • Parent component can add extra items to type menu

0.4 -- Sep 7, 2017

  • 2 new options: noSelect and auxAction

0.3 -- Jul 17, 2017

0.2 -- Jun 30, 2017

0.1 -- Jun 14, 2017