@planningcenter/tapestry-react 4.7.1 → 4.7.3-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.
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,IAAI,MAAM,SAAS,CAAA;AAG1B,OAAO,EAAa,oBAAoB,EAAE,MAAM,cAAc,CAAA;AAE9D,OAAO,OAAO,MAAM,YAAY,CAAA;AAChC,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAE1E,OAAO,KAAK,MAAM,SAAS,CAAA;AAE3B,UAAU,KAAK;IAIb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAKlB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAKlB,YAAY,CAAC,EAAE,MAAM,CAAA;IAKrB,IAAI,CAAC,EAAE,MAAM,CAAA;IAMb,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,CAAA;IAKjD,QAAQ,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,CAAA;IAKrD,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,CAAA;IAGtD,YAAY,CAAC,EAAE,MAAM,CAAA;IAKrB,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAA;IAKrB,OAAO,CAAC,EAAE,GAAG,CAAA;IAKb,MAAM,CAAC,EAAE,OAAO,CAAA;IAKhB,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;IAKtB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAKvB,EAAE,CAAC,EAAE,MAAM,CAAA;IAKX,OA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M,KAAK,CAAC,CAAA;AACxE,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,EAAE,GAAG,QAAQ,GAAG,GAAG,IAAI,OAAO,CAC9D,CAAC,EACD,iBAAiB,CAClB,GACC,YAAY,CAAC,OAAO,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAA;AAEtC,wBAAgB,MAAM,CAAC,CAAC,SAAS,EAAE,GAAG,QAAQ,GAAG,GAAG,EAAE,EACpD,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,OAAO,EACP,SAAS,EACT,IAAI,EACJ,OAAO,EACP,MAAM,EACN,KAAiB,EACjB,KAAK,EACL,EAAE,EACF,OAAO,EAAE,kBAAkB,EAC3B,IAAe,EACf,OAAO,EACP,GAAG,SAAS,EACb,EAAE,WAAW,CAAC,CAAC,CAAC,eAoRhB;yBAvSe,MAAM;;;;;;;;;;;;;;;AA2StB,MAAM,WAAW,MAAM,CAAC,CAAC,SAAS,EAAE,GAAG,QAAQ,GAAG,GAAG,CACnD,SAAQ,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,YAAY,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/D,KAAK,EAAE,OAAO,KAAK,CAAA;CACpB"}
@@ -1,2 +1,2 @@
1
- import{__rest as e,__assign as t}from'./../ext/tslib/tslib.es6.js';import o from"react";import{designTokens as n}from"../designTokens/index.js";import{useAccessibilityViolation as i}from"../hooks/use-accessibility-violation.js";import r from"../Icon/Icon.js";import{Link as a}from"../Link/Link.js";import{Spinner as l}from"../Spinner/Spinner.js";import{StackView as s}from"../StackView/StackView.js";import{useThemeValue as c,useBoxSize as p}from"../system/utils.js";import d from"../Tooltip/Tooltip.js";import{mergeProps as u}from"../utils.js";import f from"./Input.js";function m(f){var m,h=f.children,g=f.disabled,y=f.external,b=f.icon,v=f.iconLeft,k=f.iconRight,z=f.onClick,w=f.onKeyDown,x=f.size,E=f.spinner,j=f.square,D=f.theme,C=void 0===D?"default":D,I=f.title,R=f.to,S=f.tooltip,T=f.type,H=void 0===T?"button":T,L=f.variant,V=e(f,["children","disabled","external","icon","iconLeft","iconRight","onClick","onKeyDown","size","spinner","square","theme","title","to","tooltip","type","variant"]),P=c("button.themes"),K=p(x),W=K.boxSize,A=K.fontSize,_=K.lineHeight,q=K.paddingHorizontal,B=K.paddingHorizontalDense,N=K.paddingVertical,F={alignment:"center",as:V.href||R?"a":"button",axis:"horizontal",distribution:"center",fontSize:A,fontWeight:700,inline:!0,lineHeight:_,position:"relative",radius:n.button.borderRadius,strokeAlign:"inside",strokeWeight:1,type:H,userSelect:"none",zIndex:1};if(C&&"boolean"!=typeof C){var O=P[C];if(O){var G=O[L||"fill"];G?F=t(t({},F),G):console.warn('Could not find "'.concat(L,'" in "').concat(C,'" theme. Check your ThemeProvider and make sure "').concat(L,'" variant exists in "').concat(C,'".'))}else"false"===C?console.warn('The string "false" is not a valid theme. Please pass a boolean %cfalse%c instead.',"color:red","color:inherit"):console.warn('Could not find "'.concat(C,'" in button.themes. Check your ThemeProvider and make sure "').concat(C,'" exists.'))}"string"==typeof b&&(b={name:b}),"string"==typeof v&&(v={name:v}),"string"==typeof k&&(k={name:k});var J="string"==typeof S?{title:S}:S;if(b&&(q=B,F["aria-label"]=J?J.title:I),j?(F.width=W,F.height=W):b&&(F.minWidth=W,F.minHeight=W),"pill"===V.radius?F.paddingHorizontal=1.25*q:"pill-left"===V.radius?(F.paddingLeft=1.25*q,F.paddingRight=q):"pill-right"===V.radius?(F.paddingLeft=q,F.paddingRight=1.25*q):(!b||v||k)&&(F.paddingHorizontal=q,F.paddingVertical=N),E&&(m=F.color,F.color="transparent",b&&(b.color="transparent"),v&&(v.color="transparent"),k&&(k.color="transparent")),g&&"boolean"!=typeof C){var M=P[C];if(M){var Q=M[L];Q&&Q.disabled?F=t(t({},F),Q.disabled):F.opacity=.65}F["aria-disabled"]=!0,F.cursor="not-allowed",F.onClick=function(e){return e.preventDefault()},F.onKeyDown=function(e){"Enter"!==e.key&&" "!==e.key||e.preventDefault()}}if(g||E?(F.hover=void 0,F.active=void 0):(F.focus=t({zIndex:5},F.focus),F.cursor="pointer",F.touchAction="manipulation",F.onClick=z,F.onKeyDown=function(e){!z||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),z(e)),w&&w(e)}),y&&(F.rel="noopener noreferrer",F.target="_blank"),R&&(V.href=R),(R||V.href)&&(F=t(t({},F),{type:null})),"outline"===L&&(F=t(t({},F),{hover:t({strokeAlign:"inside",strokeWeight:1,zIndex:2},F.hover)})),V.as&&(F.to=R,"button"!==V.as&&(F=t(t({},F),{type:null}))),"production"!==process.env.NODE_ENV){if(b&&!(I||J&&J.title)){var U=i(o.createElement(o.Fragment,null,"Icon only buttons must define either a"," ",o.createElement(a,{external:!0,to:"https://planningcenter.github.io/tapestry-react/button#tooltip",weight:700},"tooltip")," ","or"," ",o.createElement(a,{external:!0,to:"https://planningcenter.github.io/tapestry-react/button#title",weight:700},"title")," ","prop."),'Tapestry-React: <Button/> icon only buttons must define either a "tooltip" or "title" prop for proper accessibility.'),X=U.tooltipProps,Y=U.wrapperProps;J=X,V=u(V,Y)}F.type&&V.as&&"button"!==V.as&&console.log("Tapestry-React: <Button/> type prop is only supported by <button> and not <".concat(V.as,">."))}return o.createElement(d,t({},J),o.createElement(s,t({},F,V,{css:t(t({},V.css),{"&:focus-visible":t({},F.focusVisible)})}),v&&o.createElement(r,t({size:x,color:F.color,marginRight:B},v)),b?o.createElement(r,t({size:x,color:F.color},b)):I||h,k&&o.createElement(r,t({size:x,color:F.color,marginLeft:B},k)),E&&o.createElement(l,t({size:x,color:m},E,{center:!0}))))}m.Input=f;export{m as Button};
1
+ import{__rest as e,__assign as t}from'./../ext/tslib/tslib.es6.js';import o from"react";import{designTokens as i}from"../designTokens/index.js";import{useAccessibilityViolation as n}from"../hooks/use-accessibility-violation.js";import r from"../Icon/Icon.js";import{Link as a}from"../Link/Link.js";import{Spinner as l}from"../Spinner/Spinner.js";import{StackView as s}from"../StackView/StackView.js";import{useThemeValue as c,useBoxSize as p}from"../system/utils.js";import d from"../Tooltip/Tooltip.js";import{mergeProps as u}from"../utils.js";import f from"./Input.js";function m(f){var m,h=f.children,g=f.disabled,b=f.external,y=f.icon,v=f.iconLeft,k=f.iconRight,z=f.onClick,w=f.onKeyDown,x=f.size,E=f.spinner,j=f.square,D=f.theme,C=void 0===D?"default":D,I=f.title,R=f.to,S=f.tooltip,T=f.type,H=void 0===T?"button":T,L=f.variant,V=e(f,["children","disabled","external","icon","iconLeft","iconRight","onClick","onKeyDown","size","spinner","square","theme","title","to","tooltip","type","variant"]),P=c("button.themes"),K=p(x),W=K.boxSize,A=K.fontSize,_=K.lineHeight,q=K.paddingHorizontal,B=K.paddingHorizontalDense,N=K.paddingVertical,F={alignment:"center",as:V.href||R?"a":"button",axis:"horizontal",distribution:"center",fontSize:A,fontWeight:700,inline:!0,lineHeight:_,position:"relative",radius:i.button.borderRadius,strokeAlign:"inside",strokeWeight:1,type:H,userSelect:"none",zIndex:1};if(C&&"boolean"!=typeof C){var O=P[C];if(O){var G=O[L||"fill"];if(G){G.disabled;var J=e(G,["disabled"]);F=t(t({},F),J)}else console.warn('Could not find "'.concat(L,'" in "').concat(C,'" theme. Check your ThemeProvider and make sure "').concat(L,'" variant exists in "').concat(C,'".'))}else"false"===C?console.warn('The string "false" is not a valid theme. Please pass a boolean %cfalse%c instead.',"color:red","color:inherit"):console.warn('Could not find "'.concat(C,'" in button.themes. Check your ThemeProvider and make sure "').concat(C,'" exists.'))}"string"==typeof y&&(y={name:y}),"string"==typeof v&&(v={name:v}),"string"==typeof k&&(k={name:k});var M="string"==typeof S?{title:S}:S;if(y&&(q=B,F["aria-label"]=M?M.title:I),j?(F.width=W,F.height=W):y&&(F.minWidth=W,F.minHeight=W),"pill"===V.radius?F.paddingHorizontal=1.25*q:"pill-left"===V.radius?(F.paddingLeft=1.25*q,F.paddingRight=q):"pill-right"===V.radius?(F.paddingLeft=q,F.paddingRight=1.25*q):(!y||v||k)&&(F.paddingHorizontal=q,F.paddingVertical=N),E&&(m=F.color,F.color="transparent",y&&(y.color="transparent"),v&&(v.color="transparent"),k&&(k.color="transparent")),g&&"boolean"!=typeof C){var Q=P[C];if(Q){var U=Q[L];U&&U.disabled?F=t(t({},F),U.disabled):F.opacity=.65}F["aria-disabled"]=!0,F.cursor="not-allowed",F.onClick=function(e){return e.preventDefault()},F.onKeyDown=function(e){"Enter"!==e.key&&" "!==e.key||e.preventDefault()}}if(g||E?(F.hover=void 0,F.active=void 0):(F.focus=t({zIndex:5},F.focus),F.cursor="pointer",F.touchAction="manipulation",F.onClick=z,F.onKeyDown=function(e){!z||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),z(e)),w&&w(e)}),b&&(F.rel="noopener noreferrer",F.target="_blank"),R&&(V.href=R),(R||V.href)&&(F=t(t({},F),{type:null})),"outline"===L&&(F=t(t({},F),{hover:t({strokeAlign:"inside",strokeWeight:1,zIndex:2},F.hover)})),V.as&&(F.to=R,"button"!==V.as&&(F=t(t({},F),{type:null}))),"production"!==process.env.NODE_ENV){if(y&&!(I||M&&M.title)){var X=n(o.createElement(o.Fragment,null,"Icon only buttons must define either a"," ",o.createElement(a,{external:!0,to:"https://planningcenter.github.io/tapestry-react/button#tooltip",weight:700},"tooltip")," ","or"," ",o.createElement(a,{external:!0,to:"https://planningcenter.github.io/tapestry-react/button#title",weight:700},"title")," ","prop."),'Tapestry-React: <Button/> icon only buttons must define either a "tooltip" or "title" prop for proper accessibility.'),Y=X.tooltipProps,Z=X.wrapperProps;M=Y,V=u(V,Z)}F.type&&V.as&&"button"!==V.as&&console.log("Tapestry-React: <Button/> type prop is only supported by <button> and not <".concat(V.as,">."))}return o.createElement(d,t({},M),o.createElement(s,t({},F,V,{css:t(t({},V.css),{"&:focus-visible":t({},F.focusVisible)})}),v&&o.createElement(r,t({size:x,color:F.color,marginRight:B},v)),y?o.createElement(r,t({size:x,color:F.color},y)):I||h,k&&o.createElement(r,t({size:x,color:F.color,marginLeft:B},k)),E&&o.createElement(l,t({size:x,color:m},E,{center:!0}))))}m.Input=f;export{m as Button};
2
2
  //# sourceMappingURL=Button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../src/DataTable/DataTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,cAAc,EAKf,MAAM,OAAO,CAAA;AAId,OAAO,UAAU,MAAM,eAAe,CAAA;AA0BtC,MAAM,MAAM,KAAK,CAAC,IAAI,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI;IAIpD,aAAa,CAAC,EAAE;QAAE,4BAA4B,CAAC,EAAE,QAAQ,CAAA;KAAE,CAAA;IAK3D,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAM5B,OAAO,CAAC,EAAE,KAAK,CAAC;QAKd,aAAa,CAAC,EAAE,OAAO,CAAA;QAOvB,IAAI,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,KAAK,CAAC,SAAS,CAAC,CAAA;QAE9D,GAAG,CAAC,EAAE,GAAG,CAAA;QAMT,oBAAoB,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;QAKrC,MAAM,CAAC,EAAE,GAAG,CAAA;QAMZ,MAAM,CAAC,EAAE,GAAG,CAAA;QAKZ,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;QAKpB,mBAAmB,CAAC,EAAE,OAAO,CAAA;QAM7B,KAAK,CAAC,EAAE,MAAM,CAAA;QAKd,QAAQ,CAAC,EAAE,MAAM,CAAA;QAKjB,QAAQ,CAAC,EAAE,MAAM,CAAA;QAMjB,QAAQ,CAAC,EAAE,OAAO,CAAA;QAMlB,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;QAM3B,KAAK,CAAC,EAAE,MAAM,C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AE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;KAAE,KAAK,IAAI,CAClD,CAAA;IAKD,OAAO,CAAC,EAAE,OAAO,CAAA;IAKjB,YAAY,CAAC,EAAE,MAAM,CAAA;IAOrB,YAAY,CAAC,EAAE,QAAQ,CAAA;IAOvB,SAAS,CAAC,EAAE,QAAQ,CAAA;IAOpB,WAAW,CAAC,EAAE,QAAQ,CAAA;IAOtB,MAAM,CAAC,EAAE,QAAQ,CAAA;IAOjB,YAAY,CAAC,EAAE,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC,cAAc,CAAC,CAAA;IAOhE,UAAU,CAAC,EAAE,QAAQ,CAAA;IAOrB,SAAS,CAAC,EAAE,QAAQ,CAAA;IAKpB,UAAU,CAAC,EAAE,OAAO,CAAA;IAKpB,UAAU,CAAC,EAAE,MAAM,CAAA;IAKnB,OAAO,CAAC,EACJ;QACE,IAAI,CAAC,EAAE,MAAM,CAAA;QAKb,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;QAK5B,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;QAK3B,WAAW,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;QAK/B,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;QAE9B,MAAM,CAAC,EAAE,MAAM,CAAA;QAKf,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;QAE9B,SAAS,CAAC,EAAE,MAAM,CAAA;KACnB,GACD,KAAK,CAAC,MAAM,GAAG,OAAO,CAAC,CAAA;CAC5B,CAAA;AAID,QAAA,MAAM,SAAS,uEA+Pd,CAAA;AAED,eAAe,SAAS,CAAA"}
@@ -1,2 +1,2 @@
1
- import{__assign as e,__spreadArray as o}from'./../ext/tslib/tslib.es6.js';import t,{useRef as r,useMemo as n,useImperativeHandle as a,Fragment as s}from"react";import i from"../DragDrop/DragDrop.js";import{useId as l}from"../hooks/use-id.js";import"mousetrap";import"../hooks/use-measure.js";import m from"../Pagination/Pagination.js";import{Spinner as c}from"../Spinner/Spinner.js";import{StackView as d}from"../StackView/StackView.js";import p from"../Summary/Summary.js";import"../system/colors/colors.js";import"polished";import{reorderArray as u}from"../utils.js";import"lodash/includes";import"@emotion/react";import"lodash/get";import"@planningcenter/icons/paths/general";import"@planningcenter/icons/paths/tapestry";import"../system/style-names.js";import f from"../system/use-css.js";import g from"./components/BodyRows.js";import"../Icon/Icon.js";import"../VariantProvider/VariantProvider.js";import"../CheckboxGroup/CheckboxGroupContext.js";import"../Link/Link.js";import"../Tooltip/Tooltip.js";import"../Dropdown/Dropdown.js";import b from"./components/HeaderCell.js";import{useCollapsibleRows as h,CollapsibleRowsContext as y}from"./hooks/useCollapsibleRows.js";import v from"./hooks/useColumnSort.js";import w from"./hooks/useColumnWidths.js";import j from"./hooks/useScrollShadows.js";import S from"./hooks/useScrollSync.js";import k from"./hooks/useVariants.js";import C from"./utils/getParsedColumns.js";import"./utils/variants.js";var E={toggleAllSubRowsTooltipTitle:function(e){return e?"Close all sub rows":"Open all sub rows"}},R=[],D=function(D){var x,I=D.accessibility,P=void 0===I?E:I,N=D.innerBodyRef,T=D.canCollapseSubRows,V=void 0===T||T,O=D.columns,L=D.currentPage,W=D.data,B=D.dataTableRef,z=D.defaultSort,A=D.defaultAllSubRowsOpen,G=D.droppableId,H=D.empty,_=D.getRowId,q=void 0===_?function(e,o){return e.id||(void 0===G?o:"".concat(G,"-").concat(o))}:_,F=D.getRowLink,J=D.getSubData,K=D.hiddenColumnIds,M=void 0===K?R:K,Q=D.keyboardShortcuts,U=D.loading,X=D.loadingTitle,Y=D.onColumnSort,Z=D.onDragStart,$=D.onDragEnd,ee=D.onDrop,oe=D.onPageChange,te=D.onRowClick,re=D.onRowSort,ne=D.sourceOnly,ae=D.totalPages,se=D.variant,ie=void 0===se?{}:se,le=f(),me=l("table"),ce=i.useDragDrop(),de=U||W.length<=0,pe=r(),ue=r(),fe=r(),ge=[pe,ue],be=ne||re||ee,he=k(ie),ye=h(W,A),ve=Boolean(V&&J),we=n((function(){return C({accessibility:P,columns:O,draggable:be,hasSubRows:ve,hiddenColumnIds:M})}),[O,ve,M,be]),je=we.map(Object.keys).some((function(e){return e.some((function(e){return"footer"===e}))})),Se=w({bodyRef:ue,columns:we,data:W,loading:U}),ke=Se.columnWidths,Ce=Se.getColumnRef,Ee=v({defaultSort:z,onColumnSort:Y}),Re=j(ue),De={collapsibleRows:ye,columnWidths:ke,columns:we,data:W,draggable:be,getColumnRef:Ce,getRowId:q,getRowLink:F,getSubData:J,getVariant:he,keyboardShortcuts:Q,onRowClick:te};return je&&ge.push(fe),S.apply(void 0,ge),a(B,(function(){return ye})),"function"==typeof N&&N(ue),x=ce||be?t.createElement(i.Provider,{onDragEnd:function(e){var o=e.source,t=e.destination;re&&t&&re(u({endIndex:t.index,list:W,startIndex:o.index}))}},t.createElement(i.Droppable,{droppableId:void 0===G?me:G,sourceOnly:ne,onDragStart:Z,onDragEnd:$,onDrop:ee},(function(o){return t.createElement("div",e({className:le(he("body")),"data-dnd-ignore-scrollable":!0,ref:function(e){ue.current=e,o.innerRef(e)},role:"rowgroup"},o.droppableProps),t.createElement(g,e({},De)),o.placeholder)}))):t.createElement("div",{ref:ue,role:"rowgroup",className:le(he("body"))},t.createElement(g,e({},De))),t.createElement(s,null,de&&t.createElement(d,{grow:1,alignment:"center",distribution:"center",minHeight:"100%",paddingVertical:8},U?t.createElement(p,{image:t.createElement(c,{size:"xl"}),title:X}):H),t.createElement(y.Provider,{value:ye},t.createElement("div",{role:F?void 0:"grid",style:de?{display:"none"}:void 0,className:"tapestry-react-reset ".concat(le({position:"relative"}))},t.createElement("div",{ref:pe,role:"rowgroup",className:le(he("header"))},t.createElement("div",{role:"row",className:le(he("headerRow"))},we.map((function(e,r){var n=he("headerCell",{columnIndex:r,isSortable:e.sortable});return t.createElement(b,{key:r,cellRef:Ce("".concat(r,".0")),column:e,columnIndex:r,columnSort:Ee,className:"tapestry-react-reset ".concat(le(o(o([],n,!0),[e.css],!1)))})})))),x,je&&t.createElement("div",{ref:fe,role:"rowgroup",className:le(he("footer"))},t.createElement("div",{role:"row",className:le(he("footerRow"))},we.map((function(e,r){var n=he("footerCell",{columnIndex:r,isSortable:e.sortable});return t.createElement("div",{key:r,role:"cell",ref:Ce("".concat(r,".").concat(W.length+1)),className:"tapestry-react-reset ".concat(le(o(o([],n,!0),[e.css],!1)))},"string"==typeof e.footer||t.isValidElement(e.footer)?e.footer:e.footer?t.createElement(e.footer,{columnIndex:r}):null)})))),Re,t.createElement(m,{currentPage:L,totalPages:ae,onPageChange:oe,position:"sticky",bottom:0,zIndex:35,marginTop:"-1px",backgroundColor:"white",borderTopWidth:1,borderTopColor:"grey-3",className:le({"@media print":{position:"relative"}})}))))};export{D as default};
1
+ import{__assign as e,__spreadArray as o}from'./../ext/tslib/tslib.es6.js';import t,{useRef as r,useMemo as n,useImperativeHandle as a,Fragment as s}from"react";import i from"../DragDrop/DragDrop.js";import{useId as l}from"../hooks/use-id.js";import"mousetrap";import"../hooks/use-measure.js";import m from"../Pagination/Pagination.js";import{Spinner as c}from"../Spinner/Spinner.js";import{StackView as d}from"../StackView/StackView.js";import p from"../Summary/Summary.js";import"../system/colors/colors.js";import"polished";import{reorderArray as u}from"../utils.js";import"lodash/includes";import"@emotion/react";import"lodash/get";import"@planningcenter/icons/paths/general";import"@planningcenter/icons/paths/tapestry";import"../system/style-names.js";import f from"../system/use-css.js";import g from"./components/BodyRows.js";import"../Icon/Icon.js";import"../VariantProvider/VariantProvider.js";import"../CheckboxGroup/CheckboxGroupContext.js";import"../Link/Link.js";import"../Tooltip/Tooltip.js";import"../Dropdown/Dropdown.js";import b from"./components/HeaderCell.js";import{useCollapsibleRows as h,CollapsibleRowsContext as y}from"./hooks/useCollapsibleRows.js";import v from"./hooks/useColumnSort.js";import w from"./hooks/useColumnWidths.js";import j from"./hooks/useScrollShadows.js";import S from"./hooks/useScrollSync.js";import k from"./hooks/useVariants.js";import C from"./utils/getParsedColumns.js";import"./utils/variants.js";var E={toggleAllSubRowsTooltipTitle:function(e){return e?"Close all sub rows":"Open all sub rows"}},R=[],D=function(D){var x,I=D.accessibility,P=void 0===I?E:I,N=D.innerBodyRef,T=D.canCollapseSubRows,V=void 0===T||T,O=D.columns,L=D.currentPage,W=D.data,B=D.dataTableRef,z=D.defaultSort,A=D.defaultAllSubRowsOpen,G=D.droppableId,H=D.empty,_=D.getRowId,q=void 0===_?function(e,o){return e.id||(void 0===G?o:"".concat(G,"-").concat(o))}:_,F=D.getRowLink,J=D.getSubData,K=D.hiddenColumnIds,M=void 0===K?R:K,Q=D.keyboardShortcuts,U=D.loading,X=D.loadingTitle,Y=D.onColumnSort,Z=D.onDragStart,$=D.onDragEnd,ee=D.onDrop,oe=D.onPageChange,te=D.onRowClick,re=D.onRowSort,ne=D.sourceOnly,ae=D.totalPages,se=D.variant,ie=void 0===se?{}:se,le=f(),me=l("table"),ce=i.useDragDrop(),de=U||W.length<=0,pe=r(),ue=r(),fe=r(),ge=[pe,ue],be=ne||re||ee,he=k(ie),ye=h(W,A),ve=Boolean(V&&J),we=n((function(){return C({accessibility:P,columns:O,draggable:be,hasSubRows:ve,hiddenColumnIds:M})}),[O,ve,M,be]),je=we.map(Object.keys).some((function(e){return e.some((function(e){return"footer"===e}))})),Se=w({bodyRef:ue,columns:we,data:W,headerRef:pe,loading:U}),ke=Se.columnWidths,Ce=Se.getColumnRef,Ee=v({defaultSort:z,onColumnSort:Y}),Re=j(ue),De={collapsibleRows:ye,columnWidths:ke,columns:we,data:W,draggable:be,getColumnRef:Ce,getRowId:q,getRowLink:F,getSubData:J,getVariant:he,keyboardShortcuts:Q,onRowClick:te};return je&&ge.push(fe),S.apply(void 0,ge),a(B,(function(){return ye})),"function"==typeof N&&N(ue),x=ce||be?t.createElement(i.Provider,{onDragEnd:function(e){var o=e.source,t=e.destination;re&&t&&re(u({endIndex:t.index,list:W,startIndex:o.index}))}},t.createElement(i.Droppable,{droppableId:void 0===G?me:G,sourceOnly:ne,onDragStart:Z,onDragEnd:$,onDrop:ee},(function(o){return t.createElement("div",e({className:le(he("body")),"data-dnd-ignore-scrollable":!0,ref:function(e){ue.current=e,o.innerRef(e)},role:"rowgroup"},o.droppableProps),t.createElement(g,e({},De)),o.placeholder)}))):t.createElement("div",{ref:ue,role:"rowgroup",className:le(he("body"))},t.createElement(g,e({},De))),t.createElement(s,null,de&&t.createElement(d,{grow:1,alignment:"center",distribution:"center",minHeight:"100%",paddingVertical:8},U?t.createElement(p,{image:t.createElement(c,{size:"xl"}),title:X}):H),t.createElement(y.Provider,{value:ye},t.createElement("div",{role:F?void 0:"grid",style:de?{display:"none"}:void 0,className:"tapestry-react-reset ".concat(le({position:"relative"}))},t.createElement("div",{ref:pe,role:"rowgroup",className:le(he("header"))},t.createElement("div",{role:"row",className:le(he("headerRow"))},we.map((function(e,r){var n=he("headerCell",{columnIndex:r,isSortable:e.sortable});return t.createElement(b,{key:r,cellRef:Ce("".concat(r,".0")),column:e,columnIndex:r,columnSort:Ee,className:"tapestry-react-reset ".concat(le(o(o([],n,!0),[e.css],!1)))})})))),x,je&&t.createElement("div",{ref:fe,role:"rowgroup",className:le(he("footer"))},t.createElement("div",{role:"row",className:le(he("footerRow"))},we.map((function(e,r){var n=he("footerCell",{columnIndex:r,isSortable:e.sortable});return t.createElement("div",{key:r,role:"cell",ref:Ce("".concat(r,".").concat(W.length+1)),className:"tapestry-react-reset ".concat(le(o(o([],n,!0),[e.css],!1)))},"string"==typeof e.footer||t.isValidElement(e.footer)?e.footer:e.footer?t.createElement(e.footer,{columnIndex:r}):null)})))),Re,t.createElement(m,{currentPage:L,totalPages:ae,onPageChange:oe,position:"sticky",bottom:0,zIndex:35,marginTop:"-1px",backgroundColor:"white",borderTopWidth:1,borderTopColor:"grey-3",className:le({"@media print":{position:"relative"}})}))))};export{D as default};
2
2
  //# sourceMappingURL=DataTable.js.map
@@ -1,9 +1,10 @@
1
1
  /// <reference types="react" />
2
- declare function useColumnWidths({ columns, data, loading, bodyRef }: {
2
+ declare function useColumnWidths({ columns, data, loading, bodyRef, headerRef }: {
3
3
  columns: any;
4
4
  data: any;
5
5
  loading: any;
6
6
  bodyRef: any;
7
+ headerRef: any;
7
8
  }): {
8
9
  columnWidths: import("react").MutableRefObject<any[]>;
9
10
  getColumnRef: (id: any) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"useColumnWidths.d.ts","sourceRoot":"","sources":["../../../src/DataTable/hooks/useColumnWidths.ts"],"names":[],"mappings":";AAIA,iBAAS,eAAe,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE;;;;;CAAA;;;EA+E3D;AAED,eAAe,eAAe,CAAA"}
1
+ {"version":3,"file":"useColumnWidths.d.ts","sourceRoot":"","sources":["../../../src/DataTable/hooks/useColumnWidths.ts"],"names":[],"mappings":";AAIA,iBAAS,eAAe,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE;;;;;;CAAA;;;EAkFtE;AAED,eAAe,eAAe,CAAA"}
@@ -1,2 +1,2 @@
1
- import{useRef as t,useLayoutEffect as n}from"react";import e from"./useRefManager.js";function r(r){var i=r.columns,d=r.data,a=r.loading,o=r.bodyRef,l=e(),h=l[0],u=l[1],c=t([]);return n((function(){var t=[],n=[],e=0;for(var r in h.current){var d=r.split("."),a=d[0];d[1];var l=d[2],u=i[a],m=h.current[r],f=void 0!==l;if(u.includeSubCellWidth||!f){if(!e){var s=getComputedStyle(m);e=parseInt(s.paddingLeft,10)+parseInt(s.paddingRight,10)}u.width?(m.style.width=u.width+"px",t[a]||(t[a]=u.width)):(m.style.width="auto",n.push({column:u,columnIndex:a,node:m}))}}for(var p=0;p<n.length;p++){var g=n[p],v=(u=g.column,a=g.columnIndex,m=g.node,Math.max(Math.ceil(m.getBoundingClientRect().width)-e,t[a]||0));u.minWidth&&(v=Math.max(v,u.minWidth)),u.maxWidth&&(v=Math.min(v,u.maxWidth)),t[a]=v}for(p=0;p<n.length;p++){var x=n[p];a=x.columnIndex;(m=x.node).style.width=t[a]+"px"}var W=o.current.scrollWidth;for(p=0;p<o.current.children.length;p++)o.current.children[p].style.minWidth=W+"px";c.current=t}),[i,d,a]),{columnWidths:c,getColumnRef:u}}export{r as default};
1
+ import{useRef as t,useLayoutEffect as e}from"react";import n from"./useRefManager.js";function r(r){var i=r.columns,d=r.data,a=r.loading,l=r.bodyRef,h=r.headerRef,o=n(),u=o[0],c=o[1],m=t([]);return e((function(){var t=[],e=[],n=0;for(var r in u.current){var d=r.split("."),a=d[0];d[1];var o=d[2],c=i[a],f=u.current[r],s=void 0!==o;if(c.includeSubCellWidth||!s){if(!n){var p=getComputedStyle(f);n=parseInt(p.paddingLeft,10)+parseInt(p.paddingRight,10)}c.width?(f.style.width=c.width+"px",t[a]||(t[a]=c.width)):(f.style.width="auto",e.push({column:c,columnIndex:a,node:f}))}}for(var g=0;g<e.length;g++){var x=e[g],v=(c=x.column,a=x.columnIndex,f=x.node,Math.max(Math.ceil(f.getBoundingClientRect().width)-n,t[a]||0));c.minWidth&&(v=Math.max(v,c.minWidth)),c.maxWidth&&(v=Math.min(v,c.maxWidth)),t[a]=v}for(g=0;g<e.length;g++){var W=e[g];a=W.columnIndex;(f=W.node).style.width=t[a]+"px"}var w=l.current.scrollWidth;for(g=0;g<l.current.children.length;g++)l.current.children[g].style.minWidth=w+"px";h.current.firstChild.style.minWidth=w+"px",m.current=t}),[i,d,a]),{columnWidths:m,getColumnRef:c}}export{r as default};
2
2
  //# sourceMappingURL=useColumnWidths.js.map
@@ -15,6 +15,7 @@ type Props = {
15
15
  fontWeight?: StyleProps['fontWeight'];
16
16
  forceOpen?: boolean;
17
17
  iconLeft?: string | ComponentProps<typeof Icon>;
18
+ iconRight?: ButtonProps['iconRight'] | null;
18
19
  innerRef?: any;
19
20
  keepInView?: boolean;
20
21
  lockScrollWhileOpen?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.d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YAAY;;;;MAIlB;gBAEW,KAAK,EAAE,KAAK;IASxB,WAAW,aAKV;IAED,YAAY,aAOX;IAED,aAAa,aAOZ;IAED,YAAY;;eAWX;IAED,MAAM;CAgMP;AAED,eAAe,QAAQ,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"HelperDrawer.d.ts","sourceRoot":"","sources":["../../src/HelperDrawer/HelperDrawer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAoC,MAAM,OAAO,CAAA;AAGxE,OAAO,IAAI,MAAM,SAAS,CAAA;AAK1B,iBAAS,MAAM,CAAC,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE;;;CAAA,eAwBzC;AAED,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,GAAG;IAEzC,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACrB,CAAA;AAED,iBAAS,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,GAAG,SAAS,EAAE,EAAE,KAAK,eAe1D;kBAfQ,YAAY;;;;;;;YAmB0C,aAAa;;AAA5E,wBAA8E"}
1
+ {"version":3,"file":"HelperDrawer.d.ts","sourceRoot":"","sources":["../../src/HelperDrawer/HelperDrawer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAoC,MAAM,OAAO,CAAA;AAGxE,OAAO,IAAI,MAAM,SAAS,CAAA;AAM1B,iBAAS,MAAM,CAAC,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE;;;CAAA,eA0BzC;AAED,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,GAAG;IAEzC,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACrB,CAAA;AAED,iBAAS,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,GAAG,SAAS,EAAE,EAAE,KAAK,eAgB1D;kBAhBQ,YAAY;;;;;;;YAoB0C,aAAa;;AAA5E,wBAA8E"}
@@ -1,2 +1,2 @@
1
- import{__rest as e,__assign as r}from'./../ext/tslib/tslib.es6.js';import t,{useState as o,useEffect as n,useCallback as i}from"react";import{Button as l}from"../Button/Button.js";import{Card as a}from"../Card/Card.js";import d from"../Collapse/Collapse.js";var u={};function c(i){var l=i.children,c=i.id,f=e(i,["children","id"]),m=o(!1),s=m[0],p=m[1];return n((function(){return u[c]=function(){return p((function(e){return!e}))},function(){delete u[c]}}),[c]),t.createElement(d,{open:s,lazy:!0,style:{width:"100%"}},t.createElement(a,r({subdued:!0,padding:1,fontSize:4},f),l))}c.Toggle=function(o){var n=o.drawerId,a=e(o,["drawerId"]),d=i((function(e){var r=u[n];r&&(e.preventDefault(),r())}),[n]);return t.createElement(l,r({icon:{name:"general.outlinedInfoCircle"},tooltip:{title:"More info"},size:"xs",theme:!1,color:"foregroundSecondary",hover:{backgroundColor:"highlight"},onClick:d,"data-helper-drawer-toggle":!0},a))};export{c as default};
1
+ import{__rest as e,__assign as r}from'./../ext/tslib/tslib.es6.js';import t,{useState as o,useEffect as n,useCallback as i}from"react";import{Button as l}from"../Button/Button.js";import{Card as a}from"../Card/Card.js";import d from"../Collapse/Collapse.js";import{useThemeValue as u}from"../system/utils.js";var c={};function f(i){var l=i.children,f=i.id,m=e(i,["children","id"]),s=u("helperDrawer"),p=o(!1),g=p[0],h=p[1];return n((function(){return c[f]=function(){return h((function(e){return!e}))},function(){delete c[f]}}),[f]),t.createElement(d,{open:g,lazy:!0,style:{width:"100%"}},t.createElement(a,r({subdued:!0,padding:1,fontSize:4},s,m),l))}f.Toggle=function(o){var n=o.drawerId,a=e(o,["drawerId"]),d=u("helperDrawerToggle"),f=i((function(e){var r=c[n];r&&(e.preventDefault(),r())}),[n]);return t.createElement(l,r({icon:{name:"general.outlinedInfoCircle"},tooltip:{title:"More info"},size:"xs",theme:!1,color:"foregroundSecondary",hover:{backgroundColor:"highlight"},onClick:f,"data-helper-drawer-toggle":!0},d,a))};export{f as default};
2
2
  //# sourceMappingURL=HelperDrawer.js.map
@@ -12,6 +12,7 @@ export type ToggleSwitchProps = {
12
12
  disabled?: boolean;
13
13
  isChecked: boolean;
14
14
  label?: string;
15
+ labelPosition?: 'before' | 'after';
15
16
  onClick: () => void;
16
17
  size?: 'xs' | 'sm' | 'md';
17
18
  tooltip?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ToggleSwitch.d.ts","sourceRoot":"","sources":["../../src/ToggleSwitch/ToggleSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AASzB,KAAK,aAAa,GAAG;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAA;AAC1C,KAAK,gBAAgB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AACzC,KAAK,SAAS,GAAG,aAAa,GAAG,gBAAgB,CAAA;AAEjD,MAAM,MAAM,iBAAiB,GAAG;IAE9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAGlB,eAAe,CAAC,EAAE,MAAM,CAAA;IAGxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAGlB,SAAS,EAAE,OAAO,CAAA;IAGlB,KAAK,CAAC,EAAE,MAAM,CAAA;IAGd,OAAO,EAAE,MAAM,IAAI,CAAA;IAGnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IAGzB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,GAAG,SAAS,CAAA;AAEb,KAAK,KAAK,GAAG,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,iBAAiB,CAAA;AAEzD,wBAAgB,YAAY,CAAC,KAAK,EAAE,KAAK,eAsExC;AAED,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"ToggleSwitch.d.ts","sourceRoot":"","sources":["../../src/ToggleSwitch/ToggleSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AASzB,KAAK,aAAa,GAAG;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAA;AAC1C,KAAK,gBAAgB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AACzC,KAAK,SAAS,GAAG,aAAa,GAAG,gBAAgB,CAAA;AAEjD,MAAM,MAAM,iBAAiB,GAAG;IAE9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAGlB,eAAe,CAAC,EAAE,MAAM,CAAA;IAGxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAGlB,SAAS,EAAE,OAAO,CAAA;IAGlB,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,aAAa,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;IAGlC,OAAO,EAAE,MAAM,IAAI,CAAA;IAGnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IAGzB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,GAAG,SAAS,CAAA;AAEb,KAAK,KAAK,GAAG,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,iBAAiB,CAAA;AAEzD,wBAAgB,YAAY,CAAC,KAAK,EAAE,KAAK,eAuExC;AAED,eAAe,YAAY,CAAA"}
@@ -1,2 +1,2 @@
1
- import{__rest as t,__assign as i}from'./../ext/tslib/tslib.es6.js';import e from"react";import{Box as o}from"../Box/Box.js";import{StackView as r}from"../StackView/StackView.js";import{colors as s}from"../system/colors/colors.js";import"polished";import"../utils.js";import"lodash/includes";import{useThemeProps as l}from"../system/utils.js";import"../system/style-names.js";import"@planningcenter/icons/paths/general";import"@planningcenter/icons/paths/tapestry";import"@emotion/react";import"../system/cxs.js";import{Text as a}from"../Text/Text.js";import n from"../Tooltip/Tooltip.js";function m(m){var c=m.ariaLabel,d=void 0===c?void 0:c,p=m.disabled,h=void 0!==p&&p,g=m.isChecked,u=m.label,f=void 0===u?void 0:u,b=m.onClick,v=m.size,k=void 0===v?"md":v,w=m.tooltip,x=void 0===w?void 0:w,j=t(m,["ariaLabel","disabled","isChecked","label","onClick","size","tooltip"]),y=l("toggleSwitch",j).backgroundColor,C={height:2.5,width:4.375},E={height:2,width:2};return"sm"===k?(C={height:2.25,width:4},E={height:1.75,width:1.75}):"xs"===k&&(C={height:2,width:3.5},E={height:1.5,width:1.5}),e.createElement(n,{title:x},e.createElement(r,{alignment:"center","aria-checked":g?"true":"false","aria-label":d||f,as:"button",axis:"horizontal",cursor:h?"not-allowed":"pointer",onClick:h?void 0:b,radius:"pill",role:"switch",spacing:"xs"===k?.5:"sm"===k?.75:1,disabled:h},e.createElement(o,i({backgroundColor:h?s.grays.light.neutral81:g?y:s.grays.light.neutral62,position:"relative",radius:"pill"},C),e.createElement(o,i({background:"#fff",left:.25,pointerEvents:"none",position:"absolute",radius:"circle",top:.25,transform:"translateX(".concat(g?"calc(100% - 1px)":"0%",")"),transition:"120ms"},E))),f&&e.createElement(a,{size:"xs"===k?5:"sm"===k?4:3},f)))}export{m as ToggleSwitch,m as default};
1
+ import{__rest as t,__assign as e}from'./../ext/tslib/tslib.es6.js';import i from"react";import{Box as o}from"../Box/Box.js";import{StackView as r}from"../StackView/StackView.js";import{colors as s}from"../system/colors/colors.js";import"polished";import"../utils.js";import"lodash/includes";import{useThemeProps as l}from"../system/utils.js";import"../system/style-names.js";import"@planningcenter/icons/paths/general";import"@planningcenter/icons/paths/tapestry";import"@emotion/react";import"../system/cxs.js";import{Text as a}from"../Text/Text.js";import n from"../Tooltip/Tooltip.js";function m(m){var c=m.ariaLabel,d=void 0===c?void 0:c,p=m.disabled,h=void 0!==p&&p,g=m.isChecked,f=m.label,u=void 0===f?void 0:f,b=m.labelPosition,v=void 0===b?"after":b,w=m.onClick,k=m.size,x=void 0===k?"md":k,j=m.tooltip,y=void 0===j?void 0:j,C=t(m,["ariaLabel","disabled","isChecked","label","labelPosition","onClick","size","tooltip"]),E=l("toggleSwitch",C).backgroundColor,T={height:2.5,width:4.375},z={height:2,width:2};return"sm"===x?(T={height:2.25,width:4},z={height:1.75,width:1.75}):"xs"===x&&(T={height:2,width:3.5},z={height:1.5,width:1.5}),i.createElement(n,{title:y},i.createElement(r,{alignment:"center","aria-checked":g?"true":"false","aria-label":d||u,as:"button",flexDirection:"before"===v?"row-reverse":"row",cursor:h?"not-allowed":"pointer",onClick:h?void 0:w,radius:"pill",role:"switch",spacing:"xs"===x?.5:"sm"===x?.75:1,disabled:h},i.createElement(o,e({backgroundColor:h?s.grays.light.neutral81:g?E:s.grays.light.neutral62,position:"relative",radius:"pill"},T),i.createElement(o,e({background:"#fff",left:.25,pointerEvents:"none",position:"absolute",radius:"circle",top:.25,transform:"translateX(".concat(g?"calc(100% - 1px)":"0%",")"),transition:"120ms"},z))),u&&i.createElement(a,{size:"xs"===x?5:"sm"===x?4:3},u)))}export{m as ToggleSwitch,m as default};
2
2
  //# sourceMappingURL=ToggleSwitch.js.map
@@ -1,2 +1,2 @@
1
- var l={borderRadiusSm:"2px",borderRadiusMd:"4px",borderRadiusLg:"8px",borderRadiusXl:"16px",borderRadiusRound:"56px",borderRadiusDefault:"4px",borderSizeDefault:"1px",borderSizeThick:"2px",spacing1:"8px",spacing2:"16px",spacing3:"24px",spacing4:"32px",spacing5:"40px",spacing6:"48px",spacing7:"56px",spacingFourth:"2px",spacingHalf:"4px",elementSize3xl:"48px",elementSize2xl:"32px",elementSizeXl:"24px",elementSizeLg:"18px",elementSizeMd:"16px",elementSizeSm:"14px",elementSizeXs:"12px",fontSize4xl:"32px",fontSize3xl:"28px",fontSize2xl:"24px",fontSizeXl:"20px",fontSizeLg:"18px",fontSizeMd:"16px",fontSizeSm:"14px",fontSizeXs:"12px",fontSize2xs:"10px",fontWeightNormal:"400",fontWeightMedium:"500",fontWeightSemiBold:"600",fontWeightBold:"700",containerSizeXl:"48px",containerSizeLg:"40px",containerSizeMd:"32px",containerSizeSm:"24px",containerSizeXs:"20px",avatarSize20:"20px",avatarSize24:"24px",avatarSize36:"36px",avatarSize48:"48px",avatarSize72:"72px",avatarSize112:"112px",textColorDefaultHeadline:"hsl(0, 0%, 12%)",textColorDefaultPrimary:"hsl(0, 0%, 24%)",textColorDefaultSecondary:"hsl(0, 0%, 45%)",textColorDefaultDisabled:"hsl(0, 0%, 81%)",textColorDefaultPlaceholder:"hsl(0, 0%, 62%)",textColorDefaultInverted:"hsl(0, 0%, 100%)",textColorInteractionPrimary:"hsl(221, 91%, 55%)",textColorInteractionHover:"hsl(221, 90%, 50%)",textColorInteractionActive:"hsl(221, 90%, 45%)",textColorInteractionVisited:"hsl(221, 90%, 45%)",textColorStatusNeutral:"hsl(0, 0%, 24%)",textColorStatusInfo:"hsl(221, 90%, 50%)",textColorStatusSuccess:"hsl(97, 57%, 28%)",textColorStatusWarning:"hsl(42, 100%, 29%)",textColorStatusError:"hsl(8, 60%, 45%)",textColorTagBlue:"hsl(224, 46%, 33%)",textColorTagAqua:"hsl(209, 77%, 22%)",textColorTagTeal:"hsl(180, 95%, 15%)",textColorTagGreen:"hsl(100, 93%, 17%)",textColorTagYellow:"hsl(29, 100%, 23%)",textColorTagOrange:"hsl(18, 100%, 26%)",textColorTagPink:"hsl(328, 88%, 26%)",textColorTagPurple:"hsl(268, 71%, 31%)",textColorTagGray:"hsl(0, 0%, 24%)",iconColorDefaultPrimary:"hsl(0, 0%, 24%)",iconColorDefaultSecondary:"hsl(0, 0%, 45%)",iconColorDefaultDim:"hsl(0, 0%, 62%)",iconColorDefaultDisabled:"hsl(0, 0%, 81%)",iconColorDefaultInverted:"hsl(0, 0%, 100%)",iconColorStatusNeutralPrimary:"hsl(0, 0%, 45%)",iconColorStatusNeutralSecondary:"hsl(0, 0%, 62%)",iconColorStatusNeutralDark:"hsl(0, 0%, 24%)",iconColorStatusInfoPrimary:"hsl(221, 91%, 55%)",iconColorStatusInfoSecondary:"hsl(221, 91%, 66%)",iconColorStatusSuccessPrimary:"hsl(96, 57%, 33%)",iconColorStatusSuccessSecondary:"hsl(97, 57%, 40%)",iconColorStatusWarningPrimary:"hsl(42, 84%, 49%)",iconColorStatusErrorPrimary:"hsl(8, 60%, 47%)",fillColorNeutral000:"hsl(0, 0%, 12%)",fillColorNeutral010:"hsl(0, 0%, 24%)",fillColorNeutral020:"hsl(0, 0%, 45%)",fillColorNeutral030:"hsl(0, 0%, 62%)",fillColorNeutral040:"hsl(0, 0%, 81%)",fillColorNeutral050:"hsl(0, 0%, 88%)",fillColorNeutral060:"hsl(0, 0%, 93%)",fillColorNeutral070:"hsl(0, 0%, 95%)",fillColorNeutral080:"hsl(0, 0%, 97%)",fillColorNeutral090:"hsl(0, 0%, 98%)",fillColorNeutral100:"hsl(0, 0%, 100%)",fillColorInteractionDefault:"hsl(221, 91%, 55%)",fillColorInteractionHover:"hsl(221, 90%, 50%)",fillColorInteractionActive:"hsl(221, 90%, 45%)",fillColorInteractionDisabled:"hsl(0, 0%, 81%)",fillColorControlNeutralOff:"hsl(0, 0%, 62%)",fillColorControlNeutralOn:"hsl(0, 0%, 24%)",fillColorControlPrimary:"hsl(221, 91%, 66%)",fillColorControlSecondary:"hsl(97, 57%, 40%)",fillColorControlError:"hsl(8, 60%, 47%)",fillColorControlDisabled:"hsl(0, 0%, 81%)",fillColorStatusNeutralSolid:"hsl(0, 0%, 45%)",fillColorStatusNeutralGhost:"hsl(0, 0%, 93%)",fillColorStatusNeutralDim:"hsl(0, 0%, 97%)",fillColorStatusInfoSolid:"hsl(221, 91%, 55%)",fillColorStatusInfoGhost:"hsl(222, 92%, 95%)",fillColorStatusInfoDim:"hsl(222, 87%, 97%)",fillColorStatusSuccessSolid:"hsl(96, 57%, 33%)",fillColorStatusSuccessGhost:"hsl(97, 57%, 90%)",fillColorStatusSuccessDim:"hsl(96, 60%, 95%)",fillColorStatusWarningSolid:"hsl(42, 84%, 63%)",fillColorStatusWarningGhost:"hsl(42, 87%, 94%)",fillColorStatusWarningDim:"hsl(42, 87%, 97%)",fillColorStatusErrorSolid:"hsl(8, 60%, 47%)",fillColorStatusErrorGhost:"hsl(9, 59%, 93%)",fillColorStatusErrorDim:"hsl(7, 60%, 97%)",fillColorAlertInfo:"hsl(201, 96%, 48%)",fillColorAlertSuccess:"hsl(122, 60%, 41%)",fillColorAlertWarning:"hsl(43, 96%, 58%)",fillColorAlertError:"hsl(4, 77%, 59%)",fillColorTooltipPrimary:"hsla(0, 0%, 12%, 0.77)",fillColorTagSubtleBlue:"hsl(220, 100%, 95%)",fillColorTagSubtleAqua:"hsl(200, 82%, 89%)",fillColorTagSubtleTeal:"hsl(163, 53%, 83%)",fillColorTagSubtleGreen:"hsl(98, 59%, 85%)",fillColorTagSubtleYellow:"hsl(45, 77%, 85%)",fillColorTagSubtleOrange:"hsl(22, 89%, 89%)",fillColorTagSubtlePink:"hsl(311, 66%, 92%)",fillColorTagSubtlePurple:"hsl(259, 74%, 93%)",fillColorTagSubtleMagenta:"hsl(294, 37%, 90%)",fillColorTagSubtleGray:"hsl(0, 0%, 93%)",fillColorTagBoldBlue:"hsl(220, 98%, 81%)",fillColorTagBoldAqua:"hsl(201, 76%, 71%)",fillColorTagBoldTeal:"hsl(169, 62%, 64%)",fillColorTagBoldGreen:"hsl(112, 57%, 65%)",fillColorTagBoldYellow:"hsl(44, 92%, 69%)",fillColorTagBoldOrange:"hsl(21, 86%, 72%)",fillColorTagBoldPink:"hsl(324, 78%, 77%)",fillColorTagBoldPurple:"hsl(273, 62%, 76%)",fillColorTagBoldMagenta:"hsl(291, 48%, 70%)",fillColorTagBoldGray:"hsl(0, 0%, 81%)",fillColorButtonNeutralSolidDefault:"hsl(0, 0%, 45%)",fillColorButtonNeutralSolidHover:"hsl(0, 0%, 24%)",fillColorButtonNeutralSolidActive:"hsl(0, 0%, 12%)",fillColorButtonNeutralSolidDisabled:"hsl(0, 0%, 81%)",fillColorButtonNeutralGhostDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonNeutralGhostHover:"hsl(0, 0%, 95%)",fillColorButtonNeutralGhostActive:"hsl(0, 0%, 93%)",fillColorButtonNeutralGhostDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonNeutralGhostDisabledSolid:"hsl(0, 0%, 98%)",fillColorButtonDefaultInfoSolidDefault:"hsl(221, 91%, 55%)",fillColorButtonDefaultInfoSolidHover:"hsl(221, 90%, 50%)",fillColorButtonDefaultInfoSolidActive:"hsl(221, 90%, 45%)",fillColorButtonDefaultInfoSolidDisabled:"hsl(0, 0%, 81%)",fillColorButtonDefaultInfoGhostDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonDefaultInfoGhostHover:"hsl(222, 87%, 97%)",fillColorButtonDefaultInfoGhostActive:"hsl(222, 92%, 95%)",fillColorButtonDefaultInfoGhostDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonCreateSolidDefault:"hsl(96, 57%, 33%)",fillColorButtonCreateSolidHover:"hsl(97, 57%, 28%)",fillColorButtonCreateSolidActive:"hsl(97, 57%, 23%)",fillColorButtonCreateSolidDisabled:"hsl(0, 0%, 81%)",fillColorButtonCreateGhostDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonCreateGhostHover:"hsl(96, 60%, 95%)",fillColorButtonCreateGhostActive:"hsl(97, 57%, 90%)",fillColorButtonCreateGhostDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonDeleteSolidDefault:"hsl(8, 60%, 47%)",fillColorButtonDeleteSolidHover:"hsl(8, 60%, 45%)",fillColorButtonDeleteSolidActive:"hsl(8, 60%, 40%)",fillColorButtonDeleteSolidDisabled:"hsl(0, 0%, 81%)",fillColorButtonDeleteGhostDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonDeleteGhostHover:"hsl(7, 60%, 97%)",fillColorButtonDeleteGhostActive:"hsl(9, 59%, 93%)",fillColorButtonDeleteGhostDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonPillDefault:"hsl(0, 0%, 93%)",fillColorButtonPillHover:"hsl(0, 0%, 88%)",fillColorButtonPillActive:"hsl(0, 0%, 88%)",fillColorButtonPillDisabled:"hsl(0, 0%, 93%)",fillColorProductAccountsBase:"hsl(210, 55%, 50%)",fillColorProductAccountsLight:"hsl(210, 54%, 60%)",fillColorProductAccountsLighter:"hsl(209, 53%, 90%)",fillColorProductAccountsLightest:"hsl(212, 54%, 93%)",fillColorProductAccountsDark:"hsl(210, 65%, 40%)",fillColorProductAccountsDarker:"hsl(211, 70%, 32%)",fillColorProductAccountsDarkest:"hsl(210, 75%, 25%)",fillColorProductCalendarBase:"hsl(9, 61%, 50%)",fillColorProductCalendarLight:"hsl(8, 65%, 55%)",fillColorProductCalendarLighter:"hsl(8, 72%, 59%)",fillColorProductCalendarLightest:"hsl(8, 61%, 70%)",fillColorProductCalendarDark:"hsl(8, 65%, 42%)",fillColorProductCalendarDarker:"hsl(7, 65%, 34%)",fillColorProductCalendarDarkest:"hsl(9, 61%, 27%)",fillColorProductCheckinsBase:"hsl(283, 22%, 48%)",fillColorProductCheckinsLight:"hsl(283, 22%, 55%)",fillColorProductCheckinsLighter:"hsl(284, 22%, 64%)",fillColorProductCheckinsLightest:"hsl(283, 22%, 75%)",fillColorProductCheckinsDark:"hsl(283, 27%, 42%)",fillColorProductCheckinsDarker:"hsl(284, 33%, 34%)",fillColorProductCheckinsDarkest:"hsl(283, 33%, 27%)",fillColorProductGivingBase:"hsl(43, 88%, 64%)",fillColorProductGivingLight:"hsl(43, 88%, 70%)",fillColorProductGivingLighter:"hsl(43, 95%, 75%)",fillColorProductGivingLightest:"hsl(42, 95%, 83%)",fillColorProductGivingDark:"hsl(42, 84%, 55%)",fillColorProductGivingDarker:"hsl(42, 84%, 48%)",fillColorProductGivingDarkest:"hsl(42, 100%, 40%)",fillColorProductGroupsBase:"hsl(17, 88%, 55%)",fillColorProductGroupsLight:"hsl(17, 96%, 63%)",fillColorProductGroupsLighter:"hsl(17, 96%, 70%)",fillColorProductGroupsLightest:"hsl(17, 96%, 80%)",fillColorProductGroupsDark:"hsl(12, 70%, 48%)",fillColorProductGroupsDarker:"hsl(12, 70%, 40%)",fillColorProductGroupsDarkest:"hsl(14, 70%, 34%)",fillColorProductHomeBase:"hsl(221, 91%, 55%)",fillColorProductHomeLight:"hsl(221, 91%, 62%)",fillColorProductHomeLighter:"hsl(221, 91%, 87%)",fillColorProductHomeLightest:"hsl(221, 91%, 91%)",fillColorProductHomeDark:"hsl(221, 90%, 50%)",fillColorProductHomeDarker:"hsl(221, 90%, 45%)",fillColorProductHomeDarkest:"hsl(218, 84%, 25%)",fillColorProductPeopleBase:"hsl(220, 74%, 57%)",fillColorProductPeopleLight:"hsl(221, 73%, 65%)",fillColorProductPeopleLighter:"hsl(221, 73%, 71%)",fillColorProductPeopleLightest:"hsl(220, 69%, 81%)",fillColorProductPeopleDark:"hsl(220, 68%, 51%)",fillColorProductPeopleDarker:"hsl(220, 68%, 41%)",fillColorProductPeopleDarkest:"hsl(221, 68%, 31%)",fillColorProductPublishingBase:"hsl(220, 12%, 31%)",fillColorProductPublishingLight:"hsl(222, 12%, 39%)",fillColorProductPublishingLighter:"hsl(221, 11%, 50%)",fillColorProductPublishingLightest:"hsl(222, 10%, 60%)",fillColorProductPublishingDark:"hsl(220, 11%, 26%)",fillColorProductPublishingDarker:"hsl(217, 12%, 22%)",fillColorProductPublishingDarkest:"hsl(214, 11%, 12%)",fillColorProductRegistrationsBase:"hsl(175, 36%, 43%)",fillColorProductRegistrationsLight:"hsl(176, 37%, 60%)",fillColorProductRegistrationsLighter:"hsl(176, 37%, 68%)",fillColorProductRegistrationsLightest:"hsl(176, 38%, 78%)",fillColorProductRegistrationsDark:"hsl(175, 51%, 34%)",fillColorProductRegistrationsDarker:"hsl(174, 51%, 28%)",fillColorProductRegistrationsDarkest:"hsl(175, 52%, 22%)",fillColorProductServicesBase:"hsl(88, 45%, 41%)",fillColorProductServicesLight:"hsl(88, 39%, 55%)",fillColorProductServicesLighter:"hsl(88, 39%, 66%)",fillColorProductServicesLightest:"hsl(88, 39%, 75%)",fillColorProductServicesDark:"hsl(89, 62%, 32%)",fillColorProductServicesDarker:"hsl(89, 62%, 26%)",fillColorProductServicesDarkest:"hsl(89, 63%, 21%)",fillColorProductStaffBase:"hsl(328, 100%, 45%)",fillColorTransparencyLight010:"hsla(0, 0%, 100%, 0.1)",fillColorTransparencyLight020:"hsla(0, 0%, 100%, 0.2)",fillColorTransparencyLight030:"hsla(0, 0%, 100%, 0.3)",fillColorTransparencyLight040:"hsla(0, 0%, 100%, 0.4)",fillColorTransparencyLight050:"hsla(0, 0%, 100%, 0.5)",fillColorTransparencyLight060:"hsla(0, 0%, 100%, 0.6)",fillColorTransparencyLight070:"hsla(0, 0%, 100%, 0.7)",fillColorTransparencyLight080:"hsla(0, 0%, 100%, 0.8)",fillColorTransparencyLight090:"hsla(0, 0%, 100%, 0.9)",fillColorTransparencyDark010:"hsla(0, 0%, 0%, 0.1)",fillColorTransparencyDark020:"hsla(0, 0%, 0%, 0.2)",fillColorTransparencyDark030:"hsla(0, 0%, 0%, 0.3)",fillColorTransparencyDark040:"hsla(0, 0%, 0%, 0.4)",fillColorTransparencyDark050:"hsla(0, 0%, 0%, 0.5)",fillColorTransparencyDark060:"hsla(0, 0%, 0%, 0.6)",fillColorTransparencyDark070:"hsla(0, 0%, 0%, 0.7)",fillColorTransparencyDark080:"hsla(0, 0%, 0%, 0.8)",fillColorTransparencyDark090:"hsla(0, 0%, 0%, 0.9)",surfaceColorCanvas:"hsl(0, 0%, 98%)",surfaceColorCard:"hsl(0, 0%, 100%)",borderColorDefaultBase:"hsl(0, 0%, 88%)",borderColorDefaultDark:"hsl(0, 0%, 81%)",borderColorDefaultDarker:"hsl(0, 0%, 68%)",borderColorDefaultDarkest:"hsl(0, 0%, 62%)",borderColorDefaultDisabled:"hsl(0, 0%, 88%)",borderColorDefaultDim:"hsl(0, 0%, 95%)",borderColorDefaultWhite:"hsl(0, 0%, 100%)",borderColorStatusNeutral:"hsl(0, 0%, 62%)",borderColorStatusInfo:"hsl(221, 91%, 66%)",borderColorStatusSuccess:"hsl(97, 57%, 40%)",borderColorStatusWarning:"hsl(42, 84%, 63%)",borderColorStatusError:"hsl(8, 60%, 47%)",borderColorButtonNeutral:"hsl(0, 0%, 88%)",borderColorButtonInfo:"hsl(221, 91%, 55%)",borderColorButtonCreate:"hsl(96, 57%, 33%)",borderColorButtonDelete:"hsl(8, 60%, 47%)",borderColorControlNeutral:"hsl(0, 0%, 88%)",borderColorControlInfo:"hsl(221, 91%, 66%)",borderColorControlSuccess:"hsl(97, 57%, 40%)",borderColorControlWarning:"hsl(42, 84%, 63%)",borderColorControlError:"hsl(8, 60%, 47%)",borderColorControlDisabled:"hsl(0, 0%, 88%)"};export{l as default};
1
+ var l={borderRadiusSm:"2px",borderRadiusMd:"4px",borderRadiusLg:"8px",borderRadiusXl:"16px",borderRadiusRound:"56px",borderRadiusDefault:"4px",borderSizeDefault:"1px",borderSizeThick:"2px",spacing1:"8px",spacing2:"16px",spacing3:"24px",spacing4:"32px",spacing5:"40px",spacing6:"48px",spacing7:"56px",spacingFourth:"2px",spacingHalf:"4px",elementSize3xl:"48px",elementSize2xl:"32px",elementSizeXl:"24px",elementSizeLg:"18px",elementSizeMd:"16px",elementSizeSm:"14px",elementSizeXs:"12px",fontSize4xl:"32px",fontSize3xl:"28px",fontSize2xl:"24px",fontSizeXl:"20px",fontSizeLg:"18px",fontSizeMd:"16px",fontSizeSm:"14px",fontSizeXs:"12px",fontSize2xs:"10px",fontWeightNormal:"400",fontWeightMedium:"500",fontWeightSemiBold:"600",fontWeightBold:"700",containerSizeXl:"48px",containerSizeLg:"40px",containerSizeMd:"32px",containerSizeSm:"24px",containerSizeXs:"20px",avatarSize20:"20px",avatarSize24:"24px",avatarSize36:"36px",avatarSize48:"48px",avatarSize72:"72px",avatarSize112:"112px",textColorDefaultHeadline:"hsl(0, 0%, 12%)",textColorDefaultPrimary:"hsl(0, 0%, 24%)",textColorDefaultSecondary:"hsl(0, 0%, 45%)",textColorDefaultDisabled:"hsl(0, 0%, 81%)",textColorDefaultPlaceholder:"hsl(0, 0%, 62%)",textColorDefaultInverted:"hsl(0, 0%, 100%)",textColorInteractionPrimary:"hsl(204, 100%, 40%)",textColorInteractionHover:"hsl(204, 100%, 35%)",textColorInteractionActive:"hsl(204, 100%, 30%)",textColorInteractionVisited:"hsl(204, 100%, 30%)",textColorStatusNeutral:"hsl(0, 0%, 24%)",textColorStatusInfo:"hsl(204, 100%, 35%)",textColorStatusSuccess:"hsl(97, 57%, 28%)",textColorStatusWarning:"hsl(42, 100%, 29%)",textColorStatusError:"hsl(8, 60%, 45%)",textColorTagSubtleGray:"hsl(0, 0%, 24%)",textColorTagSubtleBlue:"hsl(224, 47%, 31%)",textColorTagSubtleAqua:"hsl(209, 77%, 22%)",textColorTagSubtleTeal:"hsl(180, 95%, 15%)",textColorTagSubtleGreen:"hsl(100, 93%, 17%)",textColorTagSubtleYellow:"hsl(29, 100%, 23%)",textColorTagSubtleOrange:"hsl(18, 100%, 18%)",textColorTagSubtlePink:"hsl(327, 88%, 20%)",textColorTagSubtlePurple:"hsl(268, 71%, 27%)",textColorTagSubtleMagenta:"hsl(285, 71%, 20%)",textColorTagBoldGray:"hsl(0, 0%, 24%)",textColorTagBoldBlue:"hsl(224, 47%, 31%)",textColorTagBoldAqua:"hsl(209, 77%, 22%)",textColorTagBoldTeal:"hsl(180, 95%, 15%)",textColorTagBoldGreen:"hsl(100, 93%, 17%)",textColorTagBoldYellow:"hsl(29, 100%, 23%)",textColorTagBoldOrange:"hsl(18, 100%, 18%)",textColorTagBoldPink:"hsl(327, 88%, 20%)",textColorTagBoldPurple:"hsl(268, 71%, 27%)",textColorTagBoldMagenta:"hsl(285, 71%, 20%)",iconColorDefaultPrimary:"hsl(0, 0%, 24%)",iconColorDefaultSecondary:"hsl(0, 0%, 45%)",iconColorDefaultDim:"hsl(0, 0%, 62%)",iconColorDefaultDisabled:"hsl(0, 0%, 81%)",iconColorDefaultInverted:"hsl(0, 0%, 100%)",iconColorStatusNeutralPrimary:"hsl(0, 0%, 45%)",iconColorStatusNeutralSecondary:"hsl(0, 0%, 62%)",iconColorStatusNeutralBold:"hsl(0, 0%, 24%)",iconColorStatusInfoPrimary:"hsl(204, 100%, 40%)",iconColorStatusSuccessPrimary:"hsl(96, 57%, 33%)",iconColorStatusSuccessSecondary:"hsl(97, 57%, 40%)",iconColorStatusWarningPrimary:"hsl(42, 84%, 49%)",iconColorStatusErrorPrimary:"hsl(8, 60%, 47%)",fillColorNeutral000:"hsl(0, 0%, 12%)",fillColorNeutral010:"hsl(0, 0%, 24%)",fillColorNeutral020:"hsl(0, 0%, 45%)",fillColorNeutral030:"hsl(0, 0%, 62%)",fillColorNeutral040:"hsl(0, 0%, 81%)",fillColorNeutral050:"hsl(0, 0%, 88%)",fillColorNeutral060:"hsl(0, 0%, 93%)",fillColorNeutral070:"hsl(0, 0%, 95%)",fillColorNeutral080:"hsl(0, 0%, 97%)",fillColorNeutral090:"hsl(0, 0%, 98%)",fillColorNeutral100:"hsl(0, 0%, 100%)",fillColorInteractionDefault:"hsl(204, 100%, 40%)",fillColorInteractionHover:"hsl(204, 100%, 35%)",fillColorInteractionActive:"hsl(204, 100%, 30%)",fillColorInteractionDisabled:"hsl(0, 0%, 81%)",fillColorControlNeutralOff:"hsl(0, 0%, 62%)",fillColorControlNeutralOn:"hsl(0, 0%, 24%)",fillColorControlPrimary:"hsl(204, 100%, 40%)",fillColorControlSecondary:"hsl(97, 57%, 40%)",fillColorControlError:"hsl(8, 60%, 47%)",fillColorControlDisabled:"hsl(0, 0%, 81%)",fillColorStatusNeutralSolid:"hsl(0, 0%, 45%)",fillColorStatusNeutralGhost:"hsl(0, 0%, 93%)",fillColorStatusNeutralDim:"hsl(0, 0%, 97%)",fillColorStatusInfoSolid:"hsl(204, 100%, 40%)",fillColorStatusInfoGhost:"hsl(203, 94%, 94%)",fillColorStatusInfoDim:"hsl(204, 100%, 97%)",fillColorStatusSuccessSolid:"hsl(96, 57%, 33%)",fillColorStatusSuccessGhost:"hsl(97, 57%, 90%)",fillColorStatusSuccessDim:"hsl(96, 60%, 95%)",fillColorStatusWarningSolid:"hsl(42, 84%, 63%)",fillColorStatusWarningGhost:"hsl(42, 87%, 94%)",fillColorStatusWarningDim:"hsl(42, 87%, 97%)",fillColorStatusErrorSolid:"hsl(8, 60%, 47%)",fillColorStatusErrorGhost:"hsl(9, 59%, 93%)",fillColorStatusErrorDim:"hsl(7, 60%, 97%)",fillColorTooltipPrimary:"hsla(0, 0%, 12%, 0.77)",fillColorTagSubtleGray:"hsl(0, 0%, 93%)",fillColorTagSubtleBlue:"hsl(220, 100%, 95%)",fillColorTagSubtleLabelGray:"hsl(0, 0%, 88%)",fillColorTagSubtleLabelBlue:"hsl(221, 100%, 81%)",fillColorTagSubtleLabelAqua:"hsl(200, 82%, 82%)",fillColorTagSubtleLabelTeal:"hsl(164, 52%, 76%)",fillColorTagSubtleLabelGreen:"hsl(99, 59%, 78%)",fillColorTagSubtleLabelYellow:"hsl(44, 78%, 77%)",fillColorTagSubtleLabelOrange:"hsl(21, 89%, 82%)",fillColorTagSubtleLabelPink:"hsl(310, 64%, 85%)",fillColorTagSubtleLabelPurple:"hsl(259, 74%, 85%)",fillColorTagSubtleLabelMagenta:"hsl(291, 40%, 83%)",fillColorTagSubtleAqua:"hsl(200, 82%, 89%)",fillColorTagSubtleTeal:"hsl(163, 53%, 83%)",fillColorTagSubtleGreen:"hsl(98, 59%, 85%)",fillColorTagSubtleYellow:"hsl(45, 77%, 85%)",fillColorTagSubtleOrange:"hsl(22, 89%, 89%)",fillColorTagSubtlePink:"hsl(311, 66%, 92%)",fillColorTagSubtlePurple:"hsl(259, 74%, 93%)",fillColorTagSubtleMagenta:"hsl(294, 37%, 90%)",fillColorTagBoldGray:"hsl(0, 0%, 88%)",fillColorTagBoldBlue:"hsl(220, 98%, 81%)",fillColorTagBoldAqua:"hsl(201, 76%, 71%)",fillColorTagBoldTeal:"hsl(169, 62%, 64%)",fillColorTagBoldGreen:"hsl(112, 57%, 65%)",fillColorTagBoldYellow:"hsl(44, 92%, 69%)",fillColorTagBoldOrange:"hsl(21, 86%, 72%)",fillColorTagBoldPink:"hsl(324, 78%, 77%)",fillColorTagBoldPurple:"hsl(273, 62%, 76%)",fillColorTagBoldMagenta:"hsl(291, 48%, 70%)",fillColorTagBoldLabelGray:"hsl(0, 0%, 81%)",fillColorTagBoldLabelBlue:"hsl(220, 98%, 74%)",fillColorTagBoldLabelAqua:"hsl(200, 75%, 64%)",fillColorTagBoldLabelTeal:"hsl(169, 62%, 56%)",fillColorTagBoldLabelGreen:"hsl(112, 57%, 57%)",fillColorTagBoldLabelYellow:"hsl(44, 93%, 61%)",fillColorTagBoldLabelOrange:"hsl(21, 86%, 64%)",fillColorTagBoldLabelPink:"hsl(324, 76%, 70%)",fillColorTagBoldLabelPurple:"hsl(273, 62%, 70%)",fillColorTagBoldLabelMagenta:"hsl(292, 48%, 63%)",fillColorButtonNeutralSolidDefault:"hsl(0, 0%, 45%)",fillColorButtonNeutralSolidHover:"hsl(0, 0%, 24%)",fillColorButtonNeutralSolidActive:"hsl(0, 0%, 12%)",fillColorButtonNeutralSolidDisabled:"hsl(0, 0%, 95%)",fillColorButtonNeutralOutlineDimDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonNeutralOutlineDimHover:"hsl(0, 0%, 95%)",fillColorButtonNeutralOutlineDimActive:"hsl(0, 0%, 93%)",fillColorButtonNeutralOutlineDimDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonNeutralOutlineDimDisabledSolid:"hsl(0, 0%, 98%)",fillColorButtonNeutralGhostDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonNeutralGhostHover:"hsl(0, 0%, 95%)",fillColorButtonNeutralGhostActive:"hsl(0, 0%, 93%)",fillColorButtonNeutralGhostDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonNeutralGhostDisabledSolid:"hsl(0, 0%, 98%)",fillColorButtonInteractionSolidDefault:"hsl(204, 100%, 40%)",fillColorButtonInteractionSolidHover:"hsl(204, 100%, 35%)",fillColorButtonInteractionSolidActive:"hsl(204, 100%, 30%)",fillColorButtonInteractionSolidDisabled:"hsl(0, 0%, 81%)",fillColorButtonInteractionOutlineDimDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonInteractionOutlineDimHover:"hsl(204, 100%, 97%)",fillColorButtonInteractionOutlineDimActive:"hsl(203, 94%, 94%)",fillColorButtonInteractionOutlineDimDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonInteractionGhostDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonInteractionGhostHover:"hsl(204, 100%, 97%)",fillColorButtonInteractionGhostActive:"hsl(203, 94%, 94%)",fillColorButtonInteractionGhostDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonDeleteSolidDefault:"hsl(8, 60%, 47%)",fillColorButtonDeleteSolidHover:"hsl(8, 60%, 45%)",fillColorButtonDeleteSolidActive:"hsl(8, 60%, 40%)",fillColorButtonDeleteSolidDisabled:"hsl(0, 0%, 81%)",fillColorButtonDeleteOutlineDimDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonDeleteOutlineDimHover:"hsl(7, 60%, 97%)",fillColorButtonDeleteOutlineDimActive:"hsl(9, 59%, 93%)",fillColorButtonDeleteOutlineDimDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonDeleteGhostDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonDeleteGhostHover:"hsl(7, 60%, 97%)",fillColorButtonDeleteGhostActive:"hsl(9, 59%, 93%)",fillColorButtonDeleteGhostDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonPillDefault:"hsl(0, 0%, 93%)",fillColorButtonPillHover:"hsl(0, 0%, 88%)",fillColorButtonPillActive:"hsl(0, 0%, 88%)",fillColorButtonPillDisabled:"hsl(0, 0%, 93%)",fillColorProductAccountsBase:"hsl(210, 55%, 50%)",fillColorProductAccountsLight:"hsl(210, 54%, 60%)",fillColorProductAccountsLighter:"hsl(209, 53%, 90%)",fillColorProductAccountsLightest:"hsl(212, 54%, 93%)",fillColorProductAccountsDark:"hsl(210, 65%, 40%)",fillColorProductAccountsDarker:"hsl(211, 70%, 32%)",fillColorProductAccountsDarkest:"hsl(210, 75%, 25%)",fillColorProductCalendarBase:"hsl(9, 61%, 50%)",fillColorProductCalendarLight:"hsl(8, 65%, 55%)",fillColorProductCalendarLighter:"hsl(8, 72%, 59%)",fillColorProductCalendarLightest:"hsl(8, 61%, 70%)",fillColorProductCalendarDark:"hsl(8, 65%, 42%)",fillColorProductCalendarDarker:"hsl(7, 65%, 34%)",fillColorProductCalendarDarkest:"hsl(9, 61%, 27%)",fillColorProductCheckinsBase:"hsl(283, 22%, 48%)",fillColorProductCheckinsLight:"hsl(283, 22%, 55%)",fillColorProductCheckinsLighter:"hsl(284, 22%, 64%)",fillColorProductCheckinsLightest:"hsl(283, 22%, 75%)",fillColorProductCheckinsDark:"hsl(283, 27%, 42%)",fillColorProductCheckinsDarker:"hsl(284, 33%, 34%)",fillColorProductCheckinsDarkest:"hsl(283, 33%, 27%)",fillColorProductGivingBase:"hsl(43, 88%, 64%)",fillColorProductGivingLight:"hsl(43, 88%, 70%)",fillColorProductGivingLighter:"hsl(43, 95%, 75%)",fillColorProductGivingLightest:"hsl(42, 95%, 83%)",fillColorProductGivingDark:"hsl(42, 84%, 55%)",fillColorProductGivingDarker:"hsl(42, 84%, 48%)",fillColorProductGivingDarkest:"hsl(42, 100%, 40%)",fillColorProductGroupsBase:"hsl(17, 88%, 55%)",fillColorProductGroupsLight:"hsl(17, 96%, 63%)",fillColorProductGroupsLighter:"hsl(17, 96%, 70%)",fillColorProductGroupsLightest:"hsl(17, 96%, 80%)",fillColorProductGroupsDark:"hsl(12, 70%, 48%)",fillColorProductGroupsDarker:"hsl(12, 70%, 40%)",fillColorProductGroupsDarkest:"hsl(14, 70%, 34%)",fillColorProductHomeBase:"hsl(221, 91%, 55%)",fillColorProductHomeLight:"hsl(221, 91%, 62%)",fillColorProductHomeLighter:"hsl(221, 91%, 87%)",fillColorProductHomeLightest:"hsl(221, 91%, 91%)",fillColorProductHomeDark:"hsl(221, 90%, 50%)",fillColorProductHomeDarker:"hsl(221, 90%, 45%)",fillColorProductHomeDarkest:"hsl(218, 84%, 25%)",fillColorProductPeopleBase:"hsl(220, 74%, 57%)",fillColorProductPeopleLight:"hsl(221, 73%, 65%)",fillColorProductPeopleLighter:"hsl(221, 73%, 71%)",fillColorProductPeopleLightest:"hsl(220, 69%, 81%)",fillColorProductPeopleDark:"hsl(220, 68%, 51%)",fillColorProductPeopleDarker:"hsl(220, 68%, 41%)",fillColorProductPeopleDarkest:"hsl(221, 68%, 31%)",fillColorProductPublishingBase:"hsl(220, 12%, 31%)",fillColorProductPublishingLight:"hsl(222, 12%, 39%)",fillColorProductPublishingLighter:"hsl(221, 11%, 50%)",fillColorProductPublishingLightest:"hsl(222, 10%, 60%)",fillColorProductPublishingDark:"hsl(220, 11%, 26%)",fillColorProductPublishingDarker:"hsl(217, 12%, 22%)",fillColorProductPublishingDarkest:"hsl(214, 11%, 12%)",fillColorProductRegistrationsBase:"hsl(175, 36%, 43%)",fillColorProductRegistrationsLight:"hsl(176, 37%, 60%)",fillColorProductRegistrationsLighter:"hsl(176, 37%, 68%)",fillColorProductRegistrationsLightest:"hsl(176, 38%, 78%)",fillColorProductRegistrationsDark:"hsl(175, 51%, 34%)",fillColorProductRegistrationsDarker:"hsl(174, 51%, 28%)",fillColorProductRegistrationsDarkest:"hsl(175, 52%, 22%)",fillColorProductServicesBase:"hsl(88, 45%, 41%)",fillColorProductServicesLight:"hsl(88, 40%, 54%)",fillColorProductServicesLighter:"hsl(88, 39%, 66%)",fillColorProductServicesLightest:"hsl(88, 39%, 75%)",fillColorProductServicesDark:"hsl(89, 62%, 32%)",fillColorProductServicesDarker:"hsl(89, 62%, 26%)",fillColorProductServicesDarkest:"hsl(89, 63%, 21%)",fillColorProductStaffBase:"hsl(328, 100%, 45%)",fillColorTransparencyLight010:"hsla(0, 0%, 100%, 0.1)",fillColorTransparencyLight020:"hsla(0, 0%, 100%, 0.2)",fillColorTransparencyLight030:"hsla(0, 0%, 100%, 0.3)",fillColorTransparencyLight040:"hsla(0, 0%, 100%, 0.4)",fillColorTransparencyLight050:"hsla(0, 0%, 100%, 0.5)",fillColorTransparencyLight060:"hsla(0, 0%, 100%, 0.6)",fillColorTransparencyLight070:"hsla(0, 0%, 100%, 0.7)",fillColorTransparencyLight080:"hsla(0, 0%, 100%, 0.8)",fillColorTransparencyLight090:"hsla(0, 0%, 100%, 0.9)",fillColorTransparencyDark010:"hsla(0, 0%, 0%, 0.1)",fillColorTransparencyDark020:"hsla(0, 0%, 0%, 0.2)",fillColorTransparencyDark030:"hsla(0, 0%, 0%, 0.3)",fillColorTransparencyDark040:"hsla(0, 0%, 0%, 0.4)",fillColorTransparencyDark050:"hsla(0, 0%, 0%, 0.5)",fillColorTransparencyDark060:"hsla(0, 0%, 0%, 0.6)",fillColorTransparencyDark070:"hsla(0, 0%, 0%, 0.7)",fillColorTransparencyDark080:"hsla(0, 0%, 0%, 0.8)",fillColorTransparencyDark090:"hsla(0, 0%, 0%, 0.9)",surfaceColorCanvas:"hsl(0, 0%, 98%)",surfaceColorCard:"hsl(0, 0%, 100%)",borderColorDefaultBase:"hsl(0, 0%, 88%)",borderColorDefaultDark:"hsl(0, 0%, 81%)",borderColorDefaultDarker:"hsl(0, 0%, 68%)",borderColorDefaultDarkest:"hsl(0, 0%, 62%)",borderColorDefaultDisabled:"hsl(0, 0%, 88%)",borderColorDefaultDim:"hsl(0, 0%, 95%)",borderColorDefaultWhite:"hsl(0, 0%, 100%)",borderColorStatusNeutral:"hsl(0, 0%, 62%)",borderColorStatusInfo:"hsl(204, 100%, 40%)",borderColorStatusSuccess:"hsl(97, 57%, 40%)",borderColorStatusWarning:"hsl(42, 84%, 63%)",borderColorStatusError:"hsl(8, 60%, 47%)",borderColorButtonNeutral:"hsl(0, 0%, 88%)",borderColorButtonInfo:"hsl(204, 100%, 40%)",borderColorButtonCreate:"hsl(96, 57%, 33%)",borderColorButtonDelete:"hsl(8, 60%, 47%)",borderColorControlNeutral:"hsl(0, 0%, 68%)",borderColorControlInfo:"hsl(204, 100%, 40%)",borderColorControlSuccess:"hsl(97, 57%, 40%)",borderColorControlWarning:"hsl(42, 84%, 63%)",borderColorControlError:"hsl(8, 60%, 47%)",borderColorControlDisabled:"hsl(0, 0%, 88%)",textColorTagGray:"hsl(0, 0%, 24%)",textColorTagMagenta:"hsl(285, 71%, 20%)",textColorTagBlue:"hsl(224, 47%, 31%)",textColorTagAqua:"hsl(209, 77%, 22%)",textColorTagTeal:"hsl(180, 95%, 15%)",textColorTagGreen:"hsl(100, 93%, 17%)",textColorTagYellow:"hsl(29, 100%, 23%)",textColorTagOrange:"hsl(18, 100%, 18%)",textColorTagPink:"hsl(327, 88%, 20%)",textColorTagPurple:"hsl(268, 71%, 27%)",iconColorStatusNeutralDark:"hsl(0, 0%, 24%)",iconColorStatusInfoSecondary:"hsl(204, 100%, 40%)",fillColorAlertInfo:"hsl(204, 94%, 49%)",fillColorAlertSuccess:"hsl(122, 60%, 41%)",fillColorAlertWarning:"hsl(43, 96%, 58%)",fillColorAlertError:"hsl(4, 77%, 59%)",fillColorButtonDefaultInfoSolidDefault:"hsl(204, 100%, 40%)",fillColorButtonDefaultInfoSolidHover:"hsl(204, 100%, 35%)",fillColorButtonDefaultInfoSolidActive:"hsl(204, 100%, 30%)",fillColorButtonDefaultInfoSolidDisabled:"hsl(0, 0%, 81%)",fillColorButtonDefaultInfoOutlineDimDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonDefaultInfoOutlineDimHover:"hsl(204, 100%, 97%)",fillColorButtonDefaultInfoOutlineDimActive:"hsl(203, 94%, 94%)",fillColorButtonDefaultInfoOutlineDimDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonDefaultInfoGhostDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonDefaultInfoGhostHover:"hsl(204, 100%, 97%)",fillColorButtonDefaultInfoGhostActive:"hsl(203, 94%, 94%)",fillColorButtonDefaultInfoGhostDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonCreateSolidDefault:"hsl(96, 57%, 33%)",fillColorButtonCreateSolidHover:"hsl(97, 57%, 28%)",fillColorButtonCreateSolidActive:"hsl(97, 57%, 23%)",fillColorButtonCreateSolidDisabled:"hsl(0, 0%, 81%)",fillColorButtonCreateGhostDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonCreateGhostHover:"hsl(96, 60%, 95%)",fillColorButtonCreateGhostActive:"hsl(97, 57%, 90%)",fillColorButtonCreateGhostDisabled:"hsla(0, 0%, 100%, 0)"};export{l as default};
2
2
  //# sourceMappingURL=index.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}},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.surfaceColorCard,backgroundSecondary:l.surfaceColorCanvas,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.textColorDefaultPrimary,foregroundSecondary:l.textColorDefaultSecondary,foregroundTertiary:"hsl(0, 0%, 58%)"},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 s(l){return l?e[l]:e}export{e as colors,s as getColor,a as palette};
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}},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.surfaceColorCard,backgroundSecondary:l.surfaceColorCanvas,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.textColorDefaultPrimary,foregroundSecondary:l.textColorDefaultSecondary,foregroundTertiary:"hsl(0, 0%, 58%)"},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.fillColorStatusWarningSolid,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 s(l){return l?e[l]:e}export{e as colors,s 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.7.1",
3
+ "version": "4.7.3-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",
@@ -50,7 +50,7 @@
50
50
  "@rollup/plugin-node-resolve": "^15.2.3",
51
51
  "@rollup/plugin-terser": "^0.4.4",
52
52
  "@rollup/plugin-typescript": "^11.1.6",
53
- "@swc/cli": "^0.3.9",
53
+ "@swc/cli": "^0.5.2",
54
54
  "@swc/core": "^1.4.0",
55
55
  "@swc/jest": "^0.2.36",
56
56
  "@testing-library/jest-dom": "^5.11.9",