@planningcenter/tapestry-react 4.6.2-rc.1 → 4.7.0-rc.0
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/Text/Text.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as i,__assign as t}from'./../ext/tslib/tslib.es6.js';import{jsx as e}from"@emotion/react";import"../system/colors/colors.js";import"polished";import"../utils.js";import"lodash/includes";import{useThemeProps as r}from"../system/utils.js";import"../system/style-names.js";import"@planningcenter/icons/paths/general";import"@planningcenter/icons/paths/tapestry";import n from"../system/split-styles.js";import"react";import"../system/cxs.js";import{useVariant as s}from"../VariantProvider/VariantProvider.js";var o={getStyles:function(t){var e=t.align,r=t.italic,n=t.truncate,s=t.size,o=t.underline,l=t.weight,a=t.wrap,p=void 0===a||a,m=i(t,["align","italic","truncate","size","underline","weight","wrap"]);return e&&(m.textAlign=e),r&&(m.fontStyle="italic"),n&&("block"===m.display&&"flex"===m.display||(m.display="block"),m.overflow="hidden",m.textOverflow="ellipsis"),(n||!1===p)&&(m.whiteSpace="nowrap"),o&&(m.textDecoration=o),void 0!==s&&(m.fontSize=s),l&&(m.fontWeight=l),m},styleProps:["italic","truncate","size","underline","weight","wrap"]},l=function(l){var a=l.as,p=l.innerRef,m=i(l,["as","innerRef"]),c=r("text",m),d=c.inline,f=i(c,["inline"]),u=a||"p",y=s();return e(u,t({ref:p},n(t({display:d?"inline-block":"block",lineHeight:"20px",plugin:o,shrink:1,variant:y},f))))};export{l as Text};
|
|
1
|
+
import{__rest as i,__assign as t}from'./../ext/tslib/tslib.es6.js';import{jsx as e}from"@emotion/react";import"../system/colors/colors.js";import"polished";import"../utils.js";import"lodash/includes";import{useThemeProps as r}from"../system/utils.js";import"../system/style-names.js";import"@planningcenter/icons/paths/general";import"@planningcenter/icons/paths/tapestry";import n from"../system/split-styles.js";import"react";import"../system/cxs.js";import{useVariant as s}from"../VariantProvider/VariantProvider.js";var o={getStyles:function(t){var e=t.align,r=t.italic,n=t.truncate,s=t.size,o=t.underline,l=t.weight,a=t.wrap,p=void 0===a||a,m=i(t,["align","italic","truncate","size","underline","weight","wrap"]);return e&&(m.textAlign=e),r&&(m.fontStyle="italic"),n&&("block"===m.display&&"flex"===m.display||(m.display="block"),m.overflow="hidden",m.textOverflow="ellipsis"),(n||!1===p)&&(m.whiteSpace="nowrap"),o&&(m.textDecoration=o),void 0!==s&&(m.fontSize=s),l&&(m.fontWeight=l),m},styleProps:["align","italic","truncate","size","underline","weight","wrap"]},l=function(l){var a=l.as,p=l.innerRef,m=i(l,["as","innerRef"]),c=r("text",m),d=c.inline,f=i(c,["inline"]),u=a||"p",y=s();return e(u,t({ref:p},n(t({display:d?"inline-block":"block",lineHeight:"20px",plugin:o,shrink:1,variant:y},f))))};export{l as Text};
|
|
2
2
|
//# sourceMappingURL=Text.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import l from"../../packages/tokens-shim/dist/index.js";import{flattenPalette as r}from"./utils.js";var o={create:{create35:l.fillColorControlSecondary},grays:{light:{neutral62:l.fillColorNeutral030,neutral81:l.fillColorNeutral040}},interaction:{interaction66:l.fillColorControlPrimary}},a={apps:{calendar:l.fillColorProductCalendarBase,"check-ins":l.fillColorProductCheckinsBase,giving:l.fillColorProductGivingBase,groups:l.fillColorProductGroupsBase,home:l.fillColorProductHomeBase,"music-stand":"#4984c4",pco:"#3565cf",people:l.fillColorProductPeopleBase,"planning-center":"#2266f7",projector:"#f19900",registrations:l.fillColorProductRegistrationsBase,services:l.fillColorProductServicesBase},background:{background:l.fillColorNeutral100,backgroundSecondary:l.fillColorNeutral080,backgroundTertiary:l.fillColorNeutral070},blue:["hsl(197, 56%, 92%)","hsl(197, 56%, 88%)","hsl(197, 56%, 72%)","hsl(197, 56%, 64%)","hsl(197, 56%, 52%)","hsl(197, 56%, 44%)","hsl(197, 56%, 40%)","hsl(197, 56%, 32%)","hsl(197, 56%, 24%)","hsl(197, 56%, 20%)"],dark:["hsla(0,0%,0%,0.04)","hsla(0,0%,0%,0.08)",l.fillColorTransparencyDark010,l.fillColorTransparencyDark020,l.fillColorTransparencyDark020,l.fillColorTransparencyDark030,l.fillColorTransparencyDark040,l.fillColorTransparencyDark050,l.fillColorTransparencyDark060,l.fillColorTransparencyDark070],days:{friday:"#F69688",monday:"#789FF8",saturday:"#66BEEB",sunday:"#7DC156",thursday:"#FA7EA4",tuesday:"#A193FD",wednesday:"#D18CF6"},error:{base:l.fillColorButtonDeleteSolidDefault,dark:l.fillColorButtonDeleteSolidHover,darker:l.fillColorButtonDeleteSolidActive,light:"hsl(8, 60%, 85%)",lighter:l.fillColorStatusErrorGhost,lightest:l.fillColorStatusErrorDim},foreground:{foreground:l.
|
|
1
|
+
import l from"../../packages/tokens-shim/dist/index.js";import{flattenPalette as r}from"./utils.js";var o={create:{create35:l.fillColorControlSecondary},grays:{light:{neutral62:l.fillColorNeutral030,neutral81:l.fillColorNeutral040}},interaction:{interaction66:l.fillColorControlPrimary}},a={apps:{calendar:l.fillColorProductCalendarBase,"check-ins":l.fillColorProductCheckinsBase,giving:l.fillColorProductGivingBase,groups:l.fillColorProductGroupsBase,home:l.fillColorProductHomeBase,"music-stand":"#4984c4",pco:"#3565cf",people:l.fillColorProductPeopleBase,"planning-center":"#2266f7",projector:"#f19900",registrations:l.fillColorProductRegistrationsBase,services:l.fillColorProductServicesBase},background:{background:l.fillColorNeutral100,backgroundSecondary:l.fillColorNeutral080,backgroundTertiary:l.fillColorNeutral070},blue:["hsl(197, 56%, 92%)","hsl(197, 56%, 88%)","hsl(197, 56%, 72%)","hsl(197, 56%, 64%)","hsl(197, 56%, 52%)","hsl(197, 56%, 44%)","hsl(197, 56%, 40%)","hsl(197, 56%, 32%)","hsl(197, 56%, 24%)","hsl(197, 56%, 20%)"],dark:["hsla(0,0%,0%,0.04)","hsla(0,0%,0%,0.08)",l.fillColorTransparencyDark010,l.fillColorTransparencyDark020,l.fillColorTransparencyDark020,l.fillColorTransparencyDark030,l.fillColorTransparencyDark040,l.fillColorTransparencyDark050,l.fillColorTransparencyDark060,l.fillColorTransparencyDark070],days:{friday:"#F69688",monday:"#789FF8",saturday:"#66BEEB",sunday:"#7DC156",thursday:"#FA7EA4",tuesday:"#A193FD",wednesday:"#D18CF6"},error:{base:l.fillColorButtonDeleteSolidDefault,dark:l.fillColorButtonDeleteSolidHover,darker:l.fillColorButtonDeleteSolidActive,light:"hsl(8, 60%, 85%)",lighter:l.fillColorStatusErrorGhost,lightest:l.fillColorStatusErrorDim},foreground:{foreground:l.textColorDefaultHeadline,foregroundSecondary:l.textColorDefaultPrimary,foregroundTertiary:l.textColorDefaultSecondary},green:["hsl(96, 24%, 92%)","hsl(96, 30%, 84%)","hsl(96, 32%, 76%)","hsl(96, 34%, 72%)","hsl(96, 36%, 64%)","hsl(96, 40%, 58%)","hsl(96, 44%, 50%)","hsl(96, 48%, 40%)","hsl(96, 52%, 30%)","hsl(96, 60%, 20%)"],grey:[l.fillColorNeutral090,l.fillColorNeutral080,l.fillColorNeutral070,l.fillColorNeutral060,l.fillColorNeutral050,l.fillColorNeutral050,l.fillColorNeutral040,l.fillColorNeutral030,l.fillColorNeutral020,l.fillColorNeutral010],highlight:{highlight:l.fillColorNeutral070,highlightSecondary:l.fillColorNeutral060},interaction:{base:l.fillColorInteractionDefault,dark:l.fillColorInteractionHover,darker:l.fillColorInteractionActive,darkest:"hsl(221, 90%, 31%)",light:"hsl(221, 91%, 70%)",lighter:"hsl(0, 0%, 81%);",lightest:l.fillColorInteractionDisabled},light:[l.fillColorTransparencyLight010,l.fillColorTransparencyLight020,l.fillColorTransparencyLight030,l.fillColorTransparencyLight040,l.fillColorTransparencyLight050,l.fillColorTransparencyLight060,l.fillColorTransparencyLight070,l.fillColorTransparencyLight080,l.fillColorTransparencyLight090,"hsla(0,0%,100%,0.96)"],link:{linkBackground:l.fillColorNeutral090,linkForeground:"primary"},primary:{base:"hsl(88, 44%, 40%)",dark:"hsl(88, 46%, 36%)",darker:"hsl(88, 52%, 32%)",darkest:"hsl(88, 72%, 20%)",light:"hsl(88, 40%, 54%)",lighter:"hsl(88, 32%, 86%)",lightest:"hsl(88, 24%, 92%)"},red:["hsl(8, 73%, 96%)","hsl(8, 74%, 92%)","hsl(8, 75%, 88%)","hsl(8, 76%, 68%)","hsl(8, 77%, 60%)","hsl(8, 78%, 56%)","hsl(8, 79%, 52%)","hsl(8, 80%, 48%)","hsl(8, 81%, 40%)","hsl(8, 82%, 30%)"],separator:{separator:l.fillColorNeutral040,separatorFocus:"primary",separatorFocusSecondary:l.fillColorNeutral050,separatorHover:l.fillColorNeutral040,separatorSecondary:l.fillColorNeutral050,separatorTertiary:l.fillColorNeutral050},success:{base:l.fillColorStatusSuccessSolid,dark:l.textColorStatusSuccess,darker:"hsl(86, 91%, 23%)",light:l.borderColorControlSuccess,lighter:l.fillColorStatusSuccessGhost,lightest:l.fillColorStatusSuccessDim},surface:{surface:l.surfaceColorCard,surfaceSecondary:l.surfaceColorCanvas,surfaceTertiary:l.fillColorNeutral070},tapestry:o,warning:{base:l.fillColorStatusWarningSolid,dark:l.fillColorAlertWarning,darker:l.iconColorStatusWarningPrimary,light:"hsl(42, 87%, 90%)",lighter:l.fillColorStatusWarningGhost,lightest:l.fillColorStatusWarningDim},yellow:["hsl(50, 89%, 90%)","hsl(50, 90%, 86%)","hsl(50, 91%, 74%)","hsl(50, 92%, 68%)","hsl(50, 93%, 62%)","hsl(50, 94%, 56%)","hsl(50, 95%, 48%)","hsl(50, 96%, 40%)","hsl(50, 97%, 32%)","hsl(50, 98%, 26%)"]},e=r(a);function t(l){return l?e[l]:e}export{e as colors,t as getColor,a as palette};
|
|
2
2
|
//# sourceMappingURL=colors.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planningcenter/tapestry-react",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.7.0-rc.0",
|
|
4
4
|
"description": "A collection of flexible React components to help you build resilient, accessible user interfaces quickly and effectively.",
|
|
5
5
|
"author": "Front End Systems Engineering <frontend@pco.bz>",
|
|
6
6
|
"main": "./dist/index.js",
|