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

summit-registration-lite

v5.0.41

Published

Summit Registration Lite

Downloads

281

Readme

summit-registration-lite

React component for the summit registration lite widget

Registration Lite config

apiBaseUrl = base url for API

summitData = object with the data from the summit

profileData = object with the profile data from the user

supportEmail = string with the email address for support

allowsNativeAuth = boolean to show/hide native auth

allowsOtpAuth = boolean to show/hide OTP auth

loginOptions = array with the options to show on the login screen

loading = boolean to show/hide a loader on the widget

showMultipleTicketTexts= boolean to show/hide the text for multiple tickets

noAllowedTicketsMessage= string with the message for the 'No Allowed Tickets' error

ticketTaxesErrorMessage= string with the message for the 'TicketAndTaxesError' component

initialOrderComplete1stParagraph = string with the text for the first paragraph when the user bought his first order

initialOrderComplete2ndParagraph = string with the text for the second paragraph when the user bought his first order

initialOrderCompleteButton = string with the text for the button when the user bought his first order

orderComplete1stParagraph = string with the text for the first paragraph when the user bought an order

orderComplete2ndParagraph = string with the text for the second paragraph when the user bought an order

orderCompleteButton = string with the text for the button when the user bought an order

Example

[
   { button_color: '#082238', provider_label: 'FNid', provider_param: 'fnid' },
   { button_color: '#0370C5', provider_label: 'Facebook', provider_param: 'facebook' }
]

authUser = method passed that will be called on user login. param -> (provider) => console.log('login with', provider)

completedExtraQuestions= method passed that will be called to evaluate if the user extra questions are completed

getAccessToken = method passed that will be called to request the access token

closeWidget = method passed that will be called if the user tries to close the widget

goToExtraQuestions = method passed that will be called by component to redirect to extra questions page. Pass attendeeId

goToEvent = method passed that will be called to redirect the user to the current event

goToMyOrders = method passed that will be called to redirect the user to the my orders page

getPasswordlessCode = method passed that will be called when the user generates a code to login without password

loginWithCode = method passed that will be called when the user tries to login with a code

onPurchaseComplete = method passed that will be called after the purchase of a ticket it's completed

trackEvent = method that tracks a given event.

handleCompanyError = method passed that will be called if the company dropdown can't be fetched

authErrorCallback = method passed that will handle on client any auth error

allowPromoCodes = boolean to show/hide promo code field. Defaults to true

showCompanyInput = booleaen to show/hide the "Company" field. Defaults to true.

companyDDLPlaceholder = string for the set the placeholder of the DDL company input

companyDDLOptions2Show = Maximum number of companies to show on a match of the DDL company input

idpLogoDark = string for custom src for dark theme logo on otp login

idpLogoLight = string for custom src for light theme logo on otp login

idpLogoAlt = string for custom alt logo on otp login

PUBLISH TO NPM:

1 - yarn build && yarn publish

2 - yarn publish-package

IMPORT:

import RegistrationLiteWidget from 'summit-registration-lite/dist';

import 'summit-registration-lite/dist/index.css';

DEBUG:

You can pass this hash on url to override current time, time must be in this format and on summit timezone

#now=2020-06-03,10:59:50