@saasquatch/vanilla-components 1.2.3 → 1.3.0-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sqh-close-button.cjs.entry.js +8 -3
- package/dist/cjs/sqh-copy-button_12.cjs.entry.js +179 -7
- package/dist/cjs/sqh-rewards-actions.cjs.entry.js +15 -0
- package/dist/cjs/widget-components.cjs.js +1 -1
- package/dist/collection/components/close-button/close-button.js +14 -3
- package/dist/collection/components/copy-button/copy-button.js +63 -24
- package/dist/collection/components/copy-link-button/copy-link-button.js +33 -12
- package/dist/collection/components/global-container/global-container.js +28 -10
- package/dist/collection/components/image-component/image-component.js +33 -12
- package/dist/collection/components/partner-stat-component/partner-stat-component.js +29 -11
- package/dist/collection/components/referral-code/referral-code.js +3 -0
- package/dist/collection/components/referral-component/referral-component.js +28 -10
- package/dist/collection/components/referral-list/referral-list.js +205 -58
- package/dist/collection/components/rewards-actions/rewards-actions.js +33 -6
- package/dist/collection/components/share-button/share-button.js +58 -22
- package/dist/collection/components/share-button-container/share-button-container.js +824 -164
- package/dist/collection/components/stat-component/stat-component.js +28 -10
- package/dist/collection/components/stats-container/stats-container.js +23 -6
- package/dist/collection/components/text-component/text-component.js +58 -43
- package/dist/esm/loader.mjs +1 -1
- package/dist/esm/sqh-close-button.entry.js +8 -3
- package/dist/esm/sqh-copy-button_12.entry.js +178 -6
- package/dist/esm/sqh-rewards-actions.entry.js +15 -0
- package/dist/esm/widget-components.mjs +1 -1
- package/dist/esm-es5/loader.mjs +1 -1
- package/dist/esm-es5/sqh-close-button.entry.js +14 -9
- package/dist/esm-es5/sqh-copy-button_12.entry.js +196 -24
- package/dist/esm-es5/sqh-rewards-actions.entry.js +15 -0
- package/dist/esm-es5/widget-components.mjs +1 -1
- package/dist/types/components/close-button/close-button.d.ts +9 -1
- package/dist/types/components/copy-button/copy-button.d.ts +63 -0
- package/dist/types/components/copy-link-button/copy-link-button.d.ts +33 -0
- package/dist/types/components/global-container/global-container.d.ts +28 -0
- package/dist/types/components/image-component/image-component.d.ts +33 -0
- package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +29 -1
- package/dist/types/components/referral-code/referral-code.d.ts +3 -0
- package/dist/types/components/referral-component/referral-component.d.ts +28 -0
- package/dist/types/components/referral-list/referral-list.d.ts +167 -0
- package/dist/types/components/rewards-actions/rewards-actions.d.ts +18 -0
- package/dist/types/components/share-button/share-button.d.ts +58 -0
- package/dist/types/components/share-button-container/share-button-container.d.ts +494 -0
- package/dist/types/components/stat-component/stat-component.d.ts +28 -0
- package/dist/types/components/stats-container/stats-container.d.ts +18 -0
- package/dist/types/components/text-component/text-component.d.ts +58 -1
- package/dist/types/components.d.ts +1672 -2
- package/dist/widget-components/p-58be1132.system.js +1 -1
- package/dist/widget-components/{p-75ab4c57.entry.js → p-d7059393.entry.js} +1 -1
- package/dist/widget-components/{p-d2335c54.system.entry.js → p-fba5ea7f.system.entry.js} +1 -1
- package/dist/widget-components/widget-components.esm.js +1 -1
- package/docs/raisins.json +1 -0
- package/package.json +9 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as e}from"./p-485eaf44.js";import{p as t}from"./p-44a6559d.js";import"./p-b18ab5ec.js";t().then(t=>e([["p-650d012d",[[0,"sqh-close-button",{text:[1]},[[0,"click","handleClick"]]]]],["p-d4b27c72",[[0,"sqh-referral-code",{referralcode:[32]}]]],["p-9746ae26",[[0,"sqh-rewards-actions",{previoustext:[1],hidetext:[1],nexttext:[1]}]]],["p-
|
|
1
|
+
import{b as e}from"./p-485eaf44.js";import{p as t}from"./p-44a6559d.js";import"./p-b18ab5ec.js";t().then(t=>e([["p-650d012d",[[0,"sqh-close-button",{text:[1]},[[0,"click","handleClick"]]]]],["p-d4b27c72",[[0,"sqh-referral-code",{referralcode:[32]}]]],["p-9746ae26",[[0,"sqh-rewards-actions",{previoustext:[1],hidetext:[1],nexttext:[1]}]]],["p-d7059393",[[0,"sqh-referral-list",{ishidden:[4],paginatemore:[1],paginateless:[1],noreferralsyet:[1],referralnamecolor:[1],referraltextcolor:[1],unknownuser:[1],showexpiry:[4],shownotes:[4],redeemedvalue:[1],showreferrer:[4],referrercontent:[1],referrervalue:[1],rewardcolor:[1],customernotecolor:[1],usefirstreward:[4],convertedcontent:[1],valuecontent:[1],pendingcolor:[1],pendingcontent:[1],pendingvalue:[1],expiredcolor:[1],expiredcontent:[1],expiredvalue:[1],expiresvalue:[1],cancelledcolor:[1],cancelledcontent:[1],cancelledvalue:[1],internationalization:[4],referrals:[32],referralsCount:[32],referredBy:[32],rewards:[32],loading:[32],offset:[32],locale:[32]}],[0,"sqh-share-button-container",{ishidden:[4],emaildisplayrule:[1],emailtext:[1],emailbackgroundcolor:[1],emailtextcolor:[1],emailicon:[1],emailclassName:[1,"emailclass-name"],emailiconhorizontal:[2],emailiconvertical:[2],emailiconsize:[2],facebookdisplayrule:[1],facebooktext:[1],facebookbackgroundcolor:[1],facebooktextcolor:[1],facebookicon:[1],facebookclassName:[1,"facebookclass-name"],facebookiconhorizontal:[2],facebookiconvertical:[2],facebookiconsize:[2],twitterdisplayrule:[1],twittertext:[1],twitterbackgroundcolor:[1],twittertextcolor:[1],twittericon:[1],twitterclassName:[1,"twitterclass-name"],twittericonhorizontal:[2],twittericonvertical:[2],twittericonsize:[2],smsdisplayrule:[1],smstext:[1],smsbackgroundcolor:[1],smstextcolor:[1],smsicon:[1],smsclassName:[1,"smsclass-name"],smsiconhorizontal:[2],smsiconvertical:[2],smsiconsize:[2],whatsappdisplayrule:[1],whatsapptext:[1],whatsappbackgroundcolor:[1],whatsapptextcolor:[1],whatsappicon:[1],whatsappclassName:[1,"whatsappclass-name"],whatsappiconhorizontal:[2],whatsappiconvertical:[2],whatsappiconsize:[2],linkedindisplayrule:[1],linkedintext:[1],linkedinbackgroundcolor:[1],linkedintextcolor:[1],linkedinicon:[1],linkedinclassName:[1,"linkedinclass-name"],linkediniconhorizontal:[2],linkediniconvertical:[2],linkediniconsize:[2],pinterestdisplayrule:[1],pinteresttext:[1],pinterestbackgroundcolor:[1],pinteresttextcolor:[1],pinteresticon:[1],pinterestclassName:[1,"pinterestclass-name"],pinteresticonhorizontal:[2],pinteresticonvertical:[2],pinteresticonsize:[2],messengerdisplayrule:[1],messengertext:[1],messengerbackgroundcolor:[1],messengertextcolor:[1],messengericon:[1],messengerclassName:[1,"messengerclass-name"],messengericonhorizontal:[2],messengericonvertical:[2],messengericonsize:[2],linedisplayrule:[1],linetext:[1],linebackgroundcolor:[1],linetextcolor:[1],lineicon:[1],lineclassName:[1,"lineclass-name"],lineiconhorizontal:[2],lineiconvertical:[2],lineiconsize:[2],emailurl:[32],facebookurl:[32],twitterurl:[32],smsurl:[32],whatsappurl:[32],linkedinurl:[32],pinteresturl:[32],messengerurl:[32],lineurl:[32]}],[0,"sqh-copy-button",{ishidden:[4],text:[1],width:[2],backgroundcolor:[1],borderradius:[2],textcolor:[1],fontsize:[2],copysuccess:[1],copyfailure:[1],rewardkey:[1],codefontsize:[2],codefontcolor:[1],fueltankcode:[32]}],[0,"sqh-copy-link-button",{ishidden:[4],text:[1],copysuccess:[1],copyfailure:[1],buttoncolor:[1],textcolor:[1],sharelink:[32]}],[4,"sqh-global-container",{background:[1],loadingcolor:[1],fontfamily:[1],maxwidth:[1],poweredby:[4]}],[0,"sqh-image-component",{ishidden:[4],url:[1],width:[2],borderradius:[2],alignment:[1],css:[1]}],[0,"sqh-partner-stat-component",{ishidden:[4],stattype:[1],statvalue:[1],statdescription:[1],statcolor:[1]}],[0,"sqh-stat-component",{ishidden:[4],stattype:[1],statvalue:[1],statdescription:[1],statcolor:[1]}],[4,"sqh-stats-container",{ishidden:[4],paddingtop:[1],paddingbottom:[1],loading:[32],stats:[32]},[[0,"statTypeUpdated","statTypeUpdatedHandler"],[0,"statAdded","statAddedHandler"]]],[0,"sqh-text-component",{ishidden:[4],ismarkdown:[4],text:[1],fontfamily:[1],color:[1],fontsize:[1],paddingtop:[1],paddingbottom:[1],textalign:[1],background:[1],height:[1]}],[0,"sqh-referral-component",{referral:[16],referraltype:[1],referralvariables:[16],unknownuser:[16],locale:[1]}],[0,"sqh-share-button",{displayrule:[1],text:[1],backgroundcolor:[1],textcolor:[1],icon:[1],buttonClassName:[1,"button-class-name"],iconhorizontal:[2],iconvertical:[2],iconsize:[2],type:[1],url:[1]}]]]],t));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"schemaVersion":"0.0.1","modules":[{"title":"a library","description":"It does stuff","tags":[{"tagName":"sqh-close-button","title":"Close Button","slots":[],"attributes":[{"name":"text","type":"string","title":"Button Text","description":"The text shown inside the close button.","default":"Close"}],"examples":[]},{"tagName":"sqh-copy-button","title":"Copy Button","slots":[],"attributes":[{"name":"backgroundcolor","type":"string","title":"Background Color","description":"Background & border color of the copy button."},{"name":"borderradius","type":"number","title":"Border Radius","description":"Configure border radius with pixel amount"},{"name":"codefontcolor","type":"string","title":"Code Font Color","description":"Text color of the fuel tank code."},{"name":"codefontsize","type":"number","title":"Code Font Size","description":"Font size of the fuel tank code."},{"name":"copyfailure","type":"string","title":"Copy Failure Text","description":"Shown when the button has failed to copy the code to the users clipboard."},{"name":"copysuccess","type":"string","title":"Copy Success Text","description":"Shown when the code is successfully copied to the users clipboard."},{"name":"fontsize","type":"number","title":"Font Size","description":"Font size of the copy button text."},{"name":"ishidden","type":"boolean","title":"Hide Button","description":"Hide or show the component"},{"name":"rewardkey","type":"string","title":"Reward Key","description":"rewardkey is used to get the fuel tank code for a user."},{"name":"text","type":"string","title":"Button Text","description":"Text shown inside the copy button."},{"name":"textcolor","type":"string","title":"Text Color","description":"Color of text inside the copy button."},{"name":"width","type":"number","title":"Max Width","description":"Sets a maximum width on the copy button."}],"examples":[]},{"tagName":"sqh-copy-link-button","title":"Copy Link Button","slots":[],"attributes":[{"name":"buttoncolor","type":"string","title":"Button Color","description":"Background & border color of the copy button."},{"name":"copyfailure","type":"string","title":"Copy Failure Text","description":"Shown when the button has failed to copy the code to the users clipboard."},{"name":"copysuccess","type":"string","title":"Copy Success Text","description":"Shown when the code is successfully copied to the users clipboard."},{"name":"ishidden","type":"boolean","title":"Hide Button","description":"Hide or show the component"},{"name":"text","type":"string","title":"Button Text","description":"Text shown inside the copy button."},{"name":"textcolor","type":"string","title":"Text Color","description":"Color of text inside the copy button."}],"examples":[]},{"tagName":"sqh-global-container","title":"Global Container","slots":[],"attributes":[{"name":"background","type":"string","title":"Background Color","description":"Configure the background color."},{"name":"fontfamily","type":"string","title":"Font Family","description":"Font family used inside the container."},{"name":"loadingcolor","type":"string","title":"Loading Color","description":"Configure the color of the loading state."},{"name":"maxwidth","type":"string","title":"Max Width","description":"Maximum width on the container."},{"name":"poweredby","type":"boolean","title":"Powered By","description":"Show and hide the powered by SaaSquatch link."}],"examples":[]},{"tagName":"sqh-image-component","title":"Image Component","slots":[],"attributes":[{"name":"alignment","type":"string","title":"Alignment","description":"Configure alignment of the image"},{"name":"borderradius","type":"number","title":"Border Radius","description":"Configure border radius with pixel amount"},{"name":"css","type":"string","title":"CSS","description":"Additional CSS applied to the image element"},{"name":"ishidden","type":"boolean","title":"Hide Image","description":"Hide or show the component"},{"name":"url","type":"string","title":"URL","description":"Image link"},{"name":"width","type":"number","title":"Width","description":"Image width"}],"examples":[]},{"tagName":"sqh-partner-stat-component","title":"Partner Stat","slots":[],"attributes":[{"name":"ishidden","type":"boolean","title":"Hide Stat","description":"Hide or show the component"},{"name":"statcolor","type":"string","title":"Stat Color","description":"Color of the stat value and description"},{"name":"statdescription","type":"string","title":"Stat Description","description":"Description of the stat"},{"name":"stattype","type":"string","title":"Stat Type","description":"Used to query the stats for a user"},{"name":"statvalue","type":"string","title":"Stat Value","description":"Value of the stat"}],"examples":[]},{"tagName":"sqh-referral-code","title":"Referral Code","slots":[],"attributes":[],"examples":[]},{"tagName":"sqh-referral-component","title":"Referral Component","slots":[],"attributes":[{"name":"locale","type":"string","title":"Local","description":"Configure the local"},{"name":"referraltype","type":"\"converted\" | \"pending\" | \"referrer\"","title":"Referral Type","description":"Type of referral"}],"examples":[]},{"tagName":"sqh-referral-list","title":"Referral List","slots":[],"attributes":[{"name":"cancelledcolor","type":"string","title":"Cancelled Color","description":"Color of the cancelled icon and text","uiGroup":"cancelledRewardProps"},{"name":"cancelledcontent","type":"string","title":"Cancelled Content","description":"Cancelled text content shown in the user column","uiGroup":"cancelledRewardProps"},{"name":"cancelledvalue","type":"string","title":"Cancelled Value","description":"Cancelled text content shown alongside the icon in the referral column","uiGroup":"cancelledRewardProps"},{"name":"convertedcontent","type":"string","title":"Converted Content","description":"Content shown when a referral is converted","uiGroup":"convertedReferralProps"},{"name":"customernotecolor","type":"string","title":"Reward Color","description":"Color of the customer note","uiGroup":"convertedReferralProps"},{"name":"expiredcolor","type":"string","title":"Expired Color","description":"Color of the expired icon and text","uiGroup":"expiredRewardProps"},{"name":"expiredcontent","type":"string","title":"Expired Content","description":"Expired content shown in the user column","uiGroup":"expiredRewardProps"},{"name":"expiredvalue","type":"string","title":"Expired Value","description":"Expired content shown alongside the icon in the referral column","uiGroup":"expiredRewardProps"},{"name":"expiresvalue","type":"string","title":"Expires Value","description":"Reward expiry ICU message","uiGroup":"expiredRewardProps"},{"name":"internationalization","type":"boolean","title":"Internationalization","description":"When true, the local gets set by using the value passed to the referral component","uiGroup":"internationalizationProps"},{"name":"ishidden","type":"boolean","title":"Hide Referral List","description":"Hide or show the component"},{"name":"noreferralsyet","type":"string","title":"Empty Referrals Text","description":"Shown when referral list is empty"},{"name":"paginateless","type":"string","title":"Paginate Less Text","description":"Shown inside the paginate less button"},{"name":"paginatemore","type":"string","title":"Paginate More Text","description":"Shown inside the paginate more button"},{"name":"pendingcolor","type":"string","title":"Pending Color","description":"Color of the pending icon and text","uiGroup":"pendingReferralProps"},{"name":"pendingcontent","type":"string","title":"Pending Content","description":"Pending content shown in the user column","uiGroup":"pendingReferralProps"},{"name":"pendingvalue","type":"string","title":"Pending Value","description":"Pending content shown alongside the icon in the referral column","uiGroup":"pendingReferralProps"},{"name":"redeemedvalue","type":"string","title":"Redeemed Value","description":"Shown when reward is redeemed"},{"name":"referralnamecolor","type":"string","title":"Referral Name Color","description":"Text color of the referred users name"},{"name":"referraltextcolor","type":"string","title":"Referral Text Color","description":"Text color of the referral status"},{"name":"referrercontent","type":"string","title":"Referrer Content","description":"Text explaining who referred you to the program","uiGroup":"referrerProps"},{"name":"referrervalue","type":"string","title":"Referrer Value","description":"Referred Text shown in reward column","uiGroup":"referrerProps"},{"name":"rewardcolor","type":"string","title":"Reward Color","description":"Color of the successful reward icon and the text value","uiGroup":"convertedReferralProps"},{"name":"showexpiry","type":"boolean","title":"Show Expiry","description":"Show or hide expired rewards"},{"name":"shownotes","type":"boolean","title":"Show Customer Note","description":"Show the customer note for a referral"},{"name":"showreferrer","type":"boolean","title":"Show Referrer","description":"Show or hide the referrer","uiGroup":"referrerProps"},{"name":"unknownuser","type":"string","title":"Unknown User Text","description":"Text shown when the referred users name is unknown"},{"name":"usefirstreward","type":"boolean","title":"Use First Reward","description":"Show value of the first earned reward inside the rewards column","uiGroup":"convertedReferralProps"},{"name":"valuecontent","type":"string","title":"Value Content","description":"Value shown in the rewards column","uiGroup":"convertedReferralProps"}],"examples":[]},{"tagName":"sqh-rewards-actions","title":"Reward Actions","slots":[],"attributes":[{"name":"hidetext","type":"string","title":"Hide Button Text","description":"Text inside the hide button","default":"Hide"},{"name":"nexttext","type":"string","title":"Next Button Text","description":"Text inside the next button","default":"Next"},{"name":"previoustext","type":"string","title":"Previous Button Text","description":"Text inside the previous button","default":"Previous"}],"examples":[]},{"tagName":"sqh-share-button","title":"Share Button","slots":[],"attributes":[{"name":"backgroundcolor","type":"string","title":"Share Button Background Color","description":"Background color of the share button"},{"name":"button-class-name","type":"string","title":"Share Button Class Name","description":"CSS Class name used to style the share button"},{"name":"displayrule","type":"string","title":"Share Button Display Rule","description":"Show or hide button depending on what type of device the user is on"},{"name":"icon","type":"string","title":"Share Button Icon","description":"Share button icon"},{"name":"iconhorizontal","type":"number","title":"Share Button Icon Horizontal","description":"Number to horizontally align the share button icon"},{"name":"iconsize","type":"number","title":"Share Button Icon Size","description":"Size of the Share button icon"},{"name":"iconvertical","type":"number","title":"Share Button Icon Vertical","description":"Number to vertically align the share button icon"},{"name":"text","type":"string","title":"Share Button Text","description":"Text inside the share button"},{"name":"textcolor","type":"string","title":"Share Button Text Color","description":"Color of the text inside the share button"},{"name":"type","type":"string","title":"Share Button Type","description":"Type of the share button"},{"name":"url","type":"string","title":"URL","description":"URL redirect location"}],"examples":[]},{"tagName":"sqh-share-button-container","title":"Share Button Container","slots":[],"attributes":[{"name":"emailbackgroundcolor","type":"string","title":"Email Background Color","description":"Background color of the Email button","uiGroup":"emailButton"},{"name":"emailclass-name","type":"string","title":"Email Class Name","description":"CSS Class name used to style the Email button","default":"email-share","uiGroup":"emailButton"},{"name":"emaildisplayrule","type":"string","title":"Email Display Rule","description":"Show and hide button depending on what type of device the user is on","uiGroup":"emailButton"},{"name":"emailicon","type":"string","title":"Email Icon","description":"Email button icon","default":"mail","uiGroup":"emailButton"},{"name":"emailiconhorizontal","type":"number","title":"Email Icon Horizontal","description":"Number to horizontally align the Email button icon","uiGroup":"emailButton"},{"name":"emailiconsize","type":"number","title":"Email Icon Size","description":"Size of the Email button icon","uiGroup":"emailButton"},{"name":"emailiconvertical","type":"number","title":"Email Icon Vertical","description":"Number to vertically align the Email button icon","uiGroup":"emailButton"},{"name":"emailtext","type":"string","title":"Email Text","description":"Text inside the Email button","uiGroup":"emailButton"},{"name":"emailtextcolor","type":"string","title":"Email Text Color","description":"Color of the text inside the Email button","uiGroup":"emailButton"},{"name":"facebookbackgroundcolor","type":"string","title":"Facebook Background Color","description":"Background color of the facebook button","uiGroup":"facebookButton"},{"name":"facebookclass-name","type":"string","title":"Facebook Class Name","description":"CSS Class name used to style the facebook button","uiGroup":"facebookButton"},{"name":"facebookdisplayrule","type":"string","title":"Facebook Display Rule","description":"Show and hide button depending on what type of device the user is on","uiGroup":"facebookButton"},{"name":"facebookicon","type":"string","title":"Facebook Icon","description":"Facebook button icon","default":"facebook","uiGroup":"facebookButton"},{"name":"facebookiconhorizontal","type":"number","title":"Facebook Icon Horizontal","description":"Number to horizontally align the facebook button icon","default":9,"uiGroup":"facebookButton"},{"name":"facebookiconsize","type":"number","title":"Facebook Icon Size","description":"Size of the facebook button icon","default":1.2,"uiGroup":"facebookButton"},{"name":"facebookiconvertical","type":"number","title":"Facebook Icon Vertical","description":"Number to vertically align the facebook button icon","uiGroup":"facebookButton"},{"name":"facebooktext","type":"string","title":"Facebook Text","description":"Text inside the facebook button","uiGroup":"facebookButton"},{"name":"facebooktextcolor","type":"string","title":"Facebook Text Color","description":"Color of the text inside the facebook button","uiGroup":"facebookButton"},{"name":"ishidden","type":"boolean","title":"Hide Share Buttons","description":"Hide or show the component"},{"name":"linebackgroundcolor","type":"string","title":"Line Background Color","description":"Background color of the Line button","uiGroup":"lineButton"},{"name":"lineclass-name","type":"string","title":"Line Class Name","description":"CSS Class name used to style the Line button","uiGroup":"lineButton"},{"name":"linedisplayrule","type":"string","title":"Line Display Rule","description":"Show and hide button depending on what type of device the user is on","uiGroup":"lineButton"},{"name":"lineicon","type":"string","title":"Line Icon","description":"Line button icon","default":"line","uiGroup":"lineButton"},{"name":"lineiconhorizontal","type":"number","title":"Line Icon Horizontal","description":"Number to horizontally align the Line button icon","default":-2,"uiGroup":"lineButton"},{"name":"lineiconsize","type":"number","title":"Line Icon Size","description":"Size of the Line button icon","default":2.2,"uiGroup":"lineButton"},{"name":"lineiconvertical","type":"number","title":"Line Icon Vertical","description":"Number to vertically align the Line button icon","default":-5,"uiGroup":"lineButton"},{"name":"linetext","type":"string","title":"Line Text","description":"Text inside the Line button","uiGroup":"lineButton"},{"name":"linetextcolor","type":"string","title":"Line Text Color","description":"Color of the text inside the Line button","uiGroup":"lineButton"},{"name":"linkedinbackgroundcolor","type":"string","title":"Linkedin Background Color","description":"Background color of the linkedin button","uiGroup":"linkedinButton"},{"name":"linkedinclass-name","type":"string","title":"Linkedin Class Name","description":"CSS Class name used to style the Linkedin button","uiGroup":"linkedinButton"},{"name":"linkedindisplayrule","type":"string","title":"Linkedin Display Rule","description":"Show and hide button depending on what type of device the user is on","uiGroup":"linkedinButton"},{"name":"linkedinicon","type":"string","title":"Linkedin Icon","description":"Linkedin button icon","default":"linkedin","uiGroup":"linkedinButton"},{"name":"linkediniconhorizontal","type":"number","title":"Linkedin Icon Horizontal","description":"Number to horizontally align the Linkedin button icon","uiGroup":"linkedinButton"},{"name":"linkediniconsize","type":"number","title":"Linkedin Icon Size","description":"Size of the Linkedin button icon","default":1.2,"uiGroup":"linkedinButton"},{"name":"linkediniconvertical","type":"number","title":"Linkedin Icon Vertical","description":"Number to vertically align the Linkedin button icon","uiGroup":"linkedinButton"},{"name":"linkedintext","type":"string","title":"Linkedin Text","description":"Text inside the linkedin button","uiGroup":"linkedinButton"},{"name":"linkedintextcolor","type":"string","title":"Linkedin Text Color","description":"Color of the text inside the Linkedin button","uiGroup":"linkedinButton"},{"name":"messengerbackgroundcolor","type":"string","title":"Messenger Background Color","description":"Background color of the Messenger button","uiGroup":"messengerButton"},{"name":"messengerclass-name","type":"string","title":"Messenger Class Name","description":"CSS Class name used to style the Messenger button","uiGroup":"messengerButton"},{"name":"messengerdisplayrule","type":"string","title":"Messenger Display Rule","description":"Show and hide button depending on what type of device the user is on","uiGroup":"messengerButton"},{"name":"messengericon","type":"string","title":"Messenger Icon","description":"Messenger button icon","default":"messenger","uiGroup":"messengerButton"},{"name":"messengericonhorizontal","type":"number","title":"Messenger Icon Horizontal","description":"Number to horizontally align the Messenger button icon","default":7,"uiGroup":"messengerButton"},{"name":"messengericonsize","type":"number","title":"Messenger Icon Size","description":"Size of the Messenger button icon","default":1.4,"uiGroup":"messengerButton"},{"name":"messengericonvertical","type":"number","title":"Messenger Icon Vertical","description":"Number to vertically align the Messenger button icon","default":3,"uiGroup":"messengerButton"},{"name":"messengertext","type":"string","title":"Messenger Text","description":"Text inside the Messenger button","uiGroup":"messengerButton"},{"name":"messengertextcolor","type":"string","title":"Messenger Text Color","description":"Color of the text inside the Messenger button","uiGroup":"messengerButton"},{"name":"pinterestbackgroundcolor","type":"string","title":"Pinterest Background Color","description":"Background color of the Pinterest button","uiGroup":"pinterestButton"},{"name":"pinterestclass-name","type":"string","title":"Pinterest Class Name","description":"CSS Class name used to style the Pinterest button","uiGroup":"pinterestButton"},{"name":"pinterestdisplayrule","type":"string","title":"Pinterest Display Rule","description":"Show and hide button depending on what type of device the user is on","uiGroup":"pinterestButton"},{"name":"pinteresticon","type":"string","title":"Pinterest Icon","description":"Pinterest button icon","default":"pinterest","uiGroup":"pinterestButton"},{"name":"pinteresticonhorizontal","type":"number","title":"Pinterest Icon Horizontal","description":"Number to horizontally align the Pinterest button icon","default":9,"uiGroup":"pinterestButton"},{"name":"pinteresticonsize","type":"number","title":"Pinterest Icon Size","description":"Size of the Pinterest button icon","default":1.2,"uiGroup":"pinterestButton"},{"name":"pinteresticonvertical","type":"number","title":"Pinterest Icon Vertical","description":"Number to vertically align the Pinterest button icon","default":4,"uiGroup":"pinterestButton"},{"name":"pinteresttext","type":"string","title":"Pinterest Text","description":"Text inside the Pinterest button","uiGroup":"pinterestButton"},{"name":"pinteresttextcolor","type":"string","title":"Pinterest Text Color","description":"Color of the text inside the Pinterest button","uiGroup":"pinterestButton"},{"name":"smsbackgroundcolor","type":"string","title":"SMS Background Color","description":"Background color of the SMS button","uiGroup":"smsButton"},{"name":"smsclass-name","type":"string","title":"SMS Class Name","description":"CSS Class name used to style the SMS button","uiGroup":"smsButton"},{"name":"smsdisplayrule","type":"string","title":"SMS Display Rule","description":"Show and hide button depending on what type of device the user is on","uiGroup":"smsButton"},{"name":"smsicon","type":"string","title":"SMS Icon","description":"SMS button icon","default":"chat","uiGroup":"smsButton"},{"name":"smsiconhorizontal","type":"number","title":"SMS Icon Horizontal","description":"Number to horizontally align the SMS button icon","uiGroup":"smsButton"},{"name":"smsiconsize","type":"number","title":"SMS Icon Size","description":"Size of the SMS button icon","uiGroup":"smsButton"},{"name":"smsiconvertical","type":"number","title":"SMS Icon Vertical","description":"Number to vertically align the SMS button icon","uiGroup":"smsButton"},{"name":"smstext","type":"string","title":"SMS Text","description":"Text inside the SMS button","uiGroup":"smsButton"},{"name":"smstextcolor","type":"string","title":"SMS Text Color","description":"Color of the text inside the SMS button","uiGroup":"smsButton"},{"name":"twitterbackgroundcolor","type":"string","title":"Twitter Background Color","description":"Background color of the twitter button","uiGroup":"twitterButton"},{"name":"twitterclass-name","type":"string","title":"Twitter Class Name","description":"CSS Class name used to style the twitter button","uiGroup":"twitterButton"},{"name":"twitterdisplayrule","type":"string","title":"Twitter Display Rule","description":"Show and hide button depending on what type of device the user is on","uiGroup":"twitterButton"},{"name":"twittericon","type":"string","title":"Twitter Icon","description":"Twitter button icon","default":"twitter","uiGroup":"twitterButton"},{"name":"twittericonhorizontal","type":"number","title":"Twitter Icon Horizontal","description":"Number to horizontally align the twitter button icon","default":9,"uiGroup":"twitterButton"},{"name":"twittericonsize","type":"number","title":"Twitter Icon Size","description":"Size of the twitter button icon","default":1.2,"uiGroup":"twitterButton"},{"name":"twittericonvertical","type":"number","title":"Twitter Icon Vertical","description":"Number to vertically align the twitter button icon","uiGroup":"twitterButton"},{"name":"twittertext","type":"string","title":"Twitter Text","description":"Text inside the twitter button","uiGroup":"twitterButton"},{"name":"twittertextcolor","type":"string","title":"Twitter Text Color","description":"Color of the text inside the twitter button","uiGroup":"twitterButton"},{"name":"whatsappbackgroundcolor","type":"string","title":"WhatsApp Background Color","description":"Background color of the WhatsApp button","uiGroup":"whatsappButton"},{"name":"whatsappclass-name","type":"string","title":"WhatsApp Class Name","description":"CSS Class name used to style the WhatsApp button","uiGroup":"whatsappButton"},{"name":"whatsappdisplayrule","type":"string","title":"WhatsApp Display Rule","description":"Show and hide button depending on what type of device the user is on","uiGroup":"whatsappButton"},{"name":"whatsappicon","type":"string","title":"WhatsApp Icon","description":"WhatsApp button icon","default":"whatsapp","uiGroup":"whatsappButton"},{"name":"whatsappiconhorizontal","type":"number","title":"WhatsApp Icon Horizontal","description":"Number to horizontally align the WhatsApp button icon","default":7,"uiGroup":"whatsappButton"},{"name":"whatsappiconsize","type":"number","title":"WhatsApp Icon Size","description":"Size of the WhatsApp button icon","default":1.4,"uiGroup":"whatsappButton"},{"name":"whatsappiconvertical","type":"number","title":"WhatsApp Icon Vertical","description":"Number to vertically align the WhatsApp button icon","default":2,"uiGroup":"whatsappButton"},{"name":"whatsapptext","type":"string","title":"WhatsApp Text","description":"Text inside the WhatsApp button","uiGroup":"whatsappButton"},{"name":"whatsapptextcolor","type":"string","title":"WhatsApp Text Color","description":"Color of the text inside the WhatsApp button","default":"#fff","uiGroup":"whatsappButton"}],"examples":[]},{"tagName":"sqh-stat-component","title":"Stat Component","slots":[],"attributes":[{"name":"ishidden","type":"boolean","title":"Hide Stat","description":"Hide or show the component"},{"name":"statcolor","type":"string","title":"Stat Color","description":"Text color of the stat"},{"name":"statdescription","type":"string","title":"Stat Description","description":"Description shown underneath stat value"},{"name":"stattype","type":"string","title":"Stat Type","description":"Type of stat being displayed. e.g /rewardsCount"},{"name":"statvalue","type":"string","title":"Stat Value","description":"Value shown inside stat"}],"examples":[]},{"tagName":"sqh-stats-container","title":"Stats Container","slots":[],"attributes":[{"name":"ishidden","type":"boolean","title":"Is Hidden","description":"Hide the component","default":false},{"name":"paddingbottom","type":"string","title":"Padding Bottom","description":"Configure the padding bottom of the container"},{"name":"paddingtop","type":"string","title":"Padding Top","description":"Configure the padding top of the container"}],"examples":[]},{"tagName":"sqh-text-component","title":"Text Component","slots":[],"attributes":[{"name":"background","type":"string","title":"Background","description":"Background color of the container"},{"name":"color","type":"string","title":"Color","description":"Color of the text"},{"name":"fontfamily","type":"string","title":"Font Family","description":"Font family of the text"},{"name":"fontsize","type":"string","title":"Font Size","description":"Size of the text"},{"name":"height","type":"string","title":"Height","description":"Height of the container"},{"name":"ishidden","type":"boolean","title":"Hide Text","description":"Hide or show the component"},{"name":"ismarkdown","type":"boolean","title":"Is Markdown","description":"Compiles plain text into markdown"},{"name":"paddingbottom","type":"string","title":"Padding Bottom","description":"Bottom padding on text"},{"name":"paddingtop","type":"string","title":"Padding Top","description":"Top padding on text"},{"name":"text","type":"string","title":"Text","description":"The text content"},{"name":"textalign","type":"string","title":"Text Align","description":"Text alignment"}],"examples":[]}]}]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saasquatch/vanilla-components",
|
|
3
|
-
"version": "1.2
|
|
3
|
+
"version": "1.3.0-2",
|
|
4
4
|
"description": "Vanilla component library for the SaaSquatch platform",
|
|
5
|
+
"raisins": "docs/raisins.json",
|
|
5
6
|
"main": "dist/index.js",
|
|
6
7
|
"module": "dist/index.mjs",
|
|
7
8
|
"es2015": "dist/esm/index.mjs",
|
|
@@ -10,7 +11,8 @@
|
|
|
10
11
|
"collection": "dist/collection/collection-manifest.json",
|
|
11
12
|
"collection:main": "dist/collection/index.js",
|
|
12
13
|
"files": [
|
|
13
|
-
"dist/"
|
|
14
|
+
"dist/",
|
|
15
|
+
"docs/"
|
|
14
16
|
],
|
|
15
17
|
"scripts": {
|
|
16
18
|
"build": "stencil build --docs",
|
|
@@ -20,7 +22,9 @@
|
|
|
20
22
|
"generate": "stencil generate",
|
|
21
23
|
"storybook": "start-storybook -p 6006 -s ./dist",
|
|
22
24
|
"build-storybook": "build-storybook -o docs -c .storybook-prod",
|
|
23
|
-
"contentful": "ts-node templates/build-contentful.ts"
|
|
25
|
+
"contentful": "ts-node templates/build-contentful.ts",
|
|
26
|
+
"serve:package": "serve . --cors",
|
|
27
|
+
"start:raisins": "run-p start serve:package"
|
|
24
28
|
},
|
|
25
29
|
"devDependencies": {
|
|
26
30
|
"@formatjs/intl-relativetimeformat": "^4.5.15",
|
|
@@ -71,7 +75,8 @@
|
|
|
71
75
|
"homepage": "https://github.com/saasquatch/program-tools",
|
|
72
76
|
"gitHead": "8bb7593d8b46310071835017f0cd63c8c36013b4",
|
|
73
77
|
"dependencies": {
|
|
74
|
-
"@formatjs/intl-pluralrules": "^1.5.8"
|
|
78
|
+
"@formatjs/intl-pluralrules": "^1.5.8",
|
|
79
|
+
"@raisins/stencil-docs-target": "^0.1.0"
|
|
75
80
|
},
|
|
76
81
|
"jest": {
|
|
77
82
|
"transform": {
|