@planningcenter/tapestry-react 4.12.2 → 4.12.3-qa-874.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/ActionsDropdown/ActionsDropdown.d.ts.map +1 -1
- package/dist/ActionsDropdown/ActionsDropdown.js +1 -1
- package/dist/Button/Button.d.ts +1 -1
- package/dist/Button/Input.d.ts +1 -1
- package/dist/DataTable/hooks/useScrollSync.d.ts.map +1 -1
- package/dist/DataTable/hooks/useScrollSync.js +1 -1
- package/dist/DataTable/utils/variants.d.ts +1 -0
- package/dist/DataTable/utils/variants.d.ts.map +1 -1
- package/dist/DataTable/utils/variants.js +1 -1
- package/dist/system/colors/colors.d.ts +1 -1
- package/dist/system/default-theme.d.ts +2 -2
- package/dist/system/default-theme.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionsDropdown.d.ts","sourceRoot":"","sources":["../../src/ActionsDropdown/ActionsDropdown.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionsDropdown.d.ts","sourceRoot":"","sources":["../../src/ActionsDropdown/ActionsDropdown.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,OAAO,QAAQ,MAAM,aAAa,CAAA;AAOlC,KAAK,oBAAoB,GAAG;IAE1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAG1B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAG3B,UAAU,CAAC,EAAE;QAEX,MAAM,EAAE,MAAM,CAAA;QAGd,SAAS,EAAE,MAAM,CAAA;KAClB,CAAA;IAGD,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAG9B,QAAQ,CAAC,EAAE;QAET,IAAI,CAAC,EAAE,IAAI,CAAA;QAGX,SAAS,EAAE,MAAM,CAAA;QAGjB,MAAM,EAAE,MAAM,CAAA;KACf,CAAA;IAGD,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAG5B,cAAc,CAAC,EAAE,OAAO,CAAA;IAGxB,eAAe,CAAC,EAAE,OAAO,CAAA;IAGzB,eAAe,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,CAAA;CACzE,CAAA;AAED,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,kBAAqD,EACrD,UAAU,EACV,qBAAwD,EACxD,QAAQ,EACR,mBAAsD,EACtD,cAAc,EACd,eAAe,EACf,eAAe,GAChB,EAAE,oBAAoB,eA0GtB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as e}from'./../ext/tslib/tslib.es6.js';import{
|
|
1
|
+
import{__assign as e}from'./../ext/tslib/tslib.es6.js';import{token as t}from"@planningcenter/tapestry";import{format as o}from"date-fns";import*as n from"react";import{Box as r}from"../Box/Box.js";import{Divider as a}from"../Divider/Divider.js";import i from"../Dropdown/Dropdown.js";import l from"../Icon/Icon.js";import{Link as m}from"../Link/Link.js";import{StackView as c}from"../StackView/StackView.js";import{Text as d}from"../Text/Text.js";import{cloneChildren as s}from"../utils.js";function p(p){var u=p.children,g=p.defaultButtonProps,f=void 0===g?{theme:"secondaryPageHeader"}:g,v=p.duplicates,h=p.duplicatesButtonProps,E=void 0===h?{theme:"secondaryPageHeader"}:h,P=p.inactive,x=p.inactiveButtonProps,y=void 0===x?{theme:"secondaryPageHeader"}:x,z=p.isBelowManager,j=p.isPeopleProduct,w=p.onDeleteProfile,T=(null==v?void 0:v.amount)>0,k=Boolean(null==P?void 0:P.date);return n.createElement(i,e({title:"Actions",iconLeft:T||k?{color:t(T?"--t-icon-color-status-warning-primary":"--t-icon-color-default-secondary"),name:T?"general.exclamationTriangle":"general.inactive",size:"md"}:void 0,fontSize:"14px",fontWeight:400,paddingLeft:T||k?1:void 0,paddingVertical:.25,theme:!1,popoverProps:{maxWidth:"280px"},placement:"bottom-start"},T?E:k?y:f),T?n.createElement(n.Fragment,null,n.createElement(c,{axis:"horizontal",padding:2,spacing:1},n.createElement(l,{color:t("--t-icon-color-status-warning-primary"),marginTop:"3px",name:"general.exclamationTriangle"}),n.createElement(d,{size:4},"There ",v.amount>1?"are":"is"," ",v.amount," ","potential ",v.amount>1?"duplicates":"duplicate"," for this profile."," ",z?"An administrator can resolve ".concat(v.amount>1?"them":"it"," in People."):n.createElement(m,e({},v.linkProps),j?"Review":"Review in People"))),n.createElement(a,null)):null,k?n.createElement(n.Fragment,null,n.createElement(c,{axis:"horizontal",padding:2,spacing:1},n.createElement(l,{name:"general.inactive",color:t("--t-icon-color-default-secondary"),marginTop:"3px"}),n.createElement(d,{size:4},"Set inactive on ",o(P.date,"MMM dd, yyyy"),P.reason&&" (".concat(P.reason,")"),"."," ",z?"An administrator can reactivate them in People.":n.createElement(m,e({},P.linkProps),j?"Reactivate":"Reactivate in People"))),n.createElement(a,null)):null,(T||k)&&n.createElement(r,{height:1.5}),s(u,(function(){return{paddingHorizontal:2}})),w?n.createElement(i.Item,{disabled:z,paddingHorizontal:2,onSelect:w},j?"Delete profile":"Delete profile…"):null,w&&z?n.createElement(r,{marginHorizontal:2,padding:1,backgroundColor:"surfaceTertiary",color:"foregroundSecondary"},n.createElement(d,{size:5,lineHeight:2},"To delete this profile, an administrator must remove them from People.")):null,(T||k||w&&z)&&n.createElement(r,{height:1}))}export{p as ActionsDropdown};
|
|
2
2
|
//# sourceMappingURL=ActionsDropdown.js.map
|
package/dist/Button/Button.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export declare namespace Button {
|
|
|
39
39
|
size?: "xs" | "sm" | "md" | "lg";
|
|
40
40
|
} & {
|
|
41
41
|
as?: "button" | "a";
|
|
42
|
-
} & Omit<
|
|
42
|
+
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> | import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "as" | keyof StackViewUniqueProps | keyof Props> & Props & Omit<StackViewUniqueProps, keyof Props> & MediaQueries<AsProps<"button" | "a", StyleProps>>, "borderWidth" | "borderTopWidth" | "borderRightWidth" | "borderBottomWidth" | "borderLeftWidth" | "radius" | "radiusTop" | "radiusRight" | "radiusBottom" | "radiusLeft" | "hidden" | "visible" | "color" | "left" | "right" | "bottom" | "top" | "contain" | "clip" | "column" | "content" | "size" | "style" | "inline" | "flex" | "row" | "wrap" | "fill" | "stroke" | "x" | "y" | "uppercase" | "icon" | "spinner" | "tooltip" | "clear" | "border" | "padding" | "active" | "disabled" | "square" | "focus" | "resize" | "slot" | "title" | "href" | "overflow" | "overflowX" | "overflowY" | "key" | "className" | "innerRef" | "alignContent" | "alignItems" | "alignSelf" | "alignmentBaseline" | "animation" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "aspectRatio" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "baselineShift" | "borderBottom" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderCollapse" | "borderImage" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderLeft" | "borderLeftStyle" | "borderRadius" | "borderRight" | "borderRightStyle" | "borderSpacing" | "borderStyle" | "borderTop" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "clipPath" | "clipRule" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "counterIncrement" | "counterReset" | "cursor" | "direction" | "display" | "fillOpacity" | "fillRule" | "filter" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexShrink" | "flexWrap" | "font" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontSize" | "fontStretch" | "fontStyle" | "fontVariant" | "fontVariantCaps" | "fontVariantLigatures" | "fontVariantNumeric" | "fontWeight" | "gap" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "hyphens" | "imageRendering" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lightingColor" | "lineHeight" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "mask" | "maskType" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "mixBlendMode" | "motion" | "objectFit" | "objectPosition" | "opacity" | "order" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflowWrap" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "perspective" | "perspectiveOrigin" | "placeItems" | "placeSelf" | "pointerEvents" | "position" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "tabSize" | "tableLayout" | "textAlign" | "textDecoration" | "textIndent" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textTransform" | "touchAction" | "transform" | "transformOrigin" | "transformStyle" | "transition" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "verticalAlign" | "visibility" | "userSelect" | "WebkitOverflowScrolling" | "writingMode" | "whiteSpace" | "width" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "zIndex" | "backgroundColor" | "borderColor" | "borderBottomColor" | "borderLeftColor" | "borderRightColor" | "borderTopColor" | "hover" | "paddingHorizontal" | "paddingVertical" | "rotate" | "scale" | "translate" | "elevation" | "basis" | "grow" | "shrink" | "marginHorizontal" | "marginVertical" | "strokeAlign" | "strokeWeight" | "children" | "alignment" | "axis" | "distribution" | "spacing" | "as" | "columnEnd" | "columnStart" | "css" | "rowEnd" | "rowStart" | "mediaQueries" | "id" | "lang" | "type" | "role" | "tabIndex" | "to" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "onClose" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "variant" | "nonce" | "external" | "focusVisible" | "iconLeft" | "iconRight" | "theme" | "onOpen"> & React.RefAttributes<unknown>>;
|
|
43
43
|
}
|
|
44
44
|
export interface Button<E extends As = 'button' | 'a'> extends React.FC<ButtonProps<E> & MediaQueries<ButtonProps<E>>> {
|
|
45
45
|
Input: typeof Input;
|
package/dist/Button/Input.d.ts
CHANGED
|
@@ -14,6 +14,6 @@ type ButtonInputProps = {
|
|
|
14
14
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
15
15
|
} & ButtonProps;
|
|
16
16
|
type Props = RefAttributes<any> & HTMLAttributes<any> & ButtonInputProps;
|
|
17
|
-
declare const ButtonInput: React.ForwardRefExoticComponent<Pick<Props, "borderWidth" | "borderTopWidth" | "borderRightWidth" | "borderBottomWidth" | "borderLeftWidth" | "radius" | "radiusTop" | "radiusRight" | "radiusBottom" | "radiusLeft" | "hidden" | "visible" | "color" | "left" | "right" | "bottom" | "top" | "contain" | "clip" | "column" | "content" | "size" | "style" | "inline" | "flex" | "row" | "wrap" | "fill" | "stroke" | "x" | "y" | "uppercase" | "icon" | "spinner" | "tooltip" | "clear" | "border" | "padding" | "active" | "disabled" | "square" | "focus" | "resize" | "slot" | "title" | "href" | "overflow" | "overflowX" | "overflowY" | "key" | "className" | "innerRef" | "alignContent" | "alignItems" | "alignSelf" | "alignmentBaseline" | "animation" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "aspectRatio" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "baselineShift" | "borderBottom" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderCollapse" | "borderImage" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderLeft" | "borderLeftStyle" | "borderRadius" | "borderRight" | "borderRightStyle" | "borderSpacing" | "borderStyle" | "borderTop" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "clipPath" | "clipRule" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "counterIncrement" | "counterReset" | "cursor" | "direction" | "display" | "fillOpacity" | "fillRule" | "filter" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexShrink" | "flexWrap" | "font" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontSize" | "fontStretch" | "fontStyle" | "fontVariant" | "fontVariantCaps" | "fontVariantLigatures" | "fontVariantNumeric" | "fontWeight" | "gap" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "hyphens" | "imageRendering" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lightingColor" | "lineHeight" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "mask" | "maskType" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "mixBlendMode" | "motion" | "objectFit" | "objectPosition" | "opacity" | "order" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflowWrap" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "perspective" | "perspectiveOrigin" | "placeItems" | "placeSelf" | "pointerEvents" | "position" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "tabSize" | "tableLayout" | "textAlign" | "textDecoration" | "textIndent" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textTransform" | "touchAction" | "transform" | "transformOrigin" | "transformStyle" | "transition" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "verticalAlign" | "visibility" | "userSelect" | "WebkitOverflowScrolling" | "writingMode" | "whiteSpace" | "width" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "zIndex" | "backgroundColor" | "borderColor" | "borderBottomColor" | "borderLeftColor" | "borderRightColor" | "borderTopColor" | "hover" | "paddingHorizontal" | "paddingVertical" | "rotate" | "scale" | "translate" | "elevation" | "basis" | "grow" | "shrink" | "marginHorizontal" | "marginVertical" | "strokeAlign" | "strokeWeight" | "children" | "alignment" | "axis" | "distribution" | "spacing" | "as" | "columnEnd" | "columnStart" | "css" | "rowEnd" | "rowStart" | "mediaQueries" | "id" | "lang" | "type" | "role" | "tabIndex" | "to" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "onClose" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "
|
|
17
|
+
declare const ButtonInput: React.ForwardRefExoticComponent<Pick<Props, "borderWidth" | "borderTopWidth" | "borderRightWidth" | "borderBottomWidth" | "borderLeftWidth" | "radius" | "radiusTop" | "radiusRight" | "radiusBottom" | "radiusLeft" | "hidden" | "visible" | "color" | "left" | "right" | "bottom" | "top" | "contain" | "clip" | "column" | "content" | "size" | "style" | "inline" | "flex" | "row" | "wrap" | "fill" | "stroke" | "x" | "y" | "uppercase" | "icon" | "spinner" | "tooltip" | "clear" | "border" | "padding" | "active" | "disabled" | "square" | "focus" | "resize" | "slot" | "title" | "href" | "overflow" | "overflowX" | "overflowY" | "key" | "className" | "innerRef" | "alignContent" | "alignItems" | "alignSelf" | "alignmentBaseline" | "animation" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "aspectRatio" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "baselineShift" | "borderBottom" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderCollapse" | "borderImage" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderLeft" | "borderLeftStyle" | "borderRadius" | "borderRight" | "borderRightStyle" | "borderSpacing" | "borderStyle" | "borderTop" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "clipPath" | "clipRule" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "counterIncrement" | "counterReset" | "cursor" | "direction" | "display" | "fillOpacity" | "fillRule" | "filter" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexShrink" | "flexWrap" | "font" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontSize" | "fontStretch" | "fontStyle" | "fontVariant" | "fontVariantCaps" | "fontVariantLigatures" | "fontVariantNumeric" | "fontWeight" | "gap" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "hyphens" | "imageRendering" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lightingColor" | "lineHeight" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "mask" | "maskType" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "mixBlendMode" | "motion" | "objectFit" | "objectPosition" | "opacity" | "order" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflowWrap" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "perspective" | "perspectiveOrigin" | "placeItems" | "placeSelf" | "pointerEvents" | "position" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "tabSize" | "tableLayout" | "textAlign" | "textDecoration" | "textIndent" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textTransform" | "touchAction" | "transform" | "transformOrigin" | "transformStyle" | "transition" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "verticalAlign" | "visibility" | "userSelect" | "WebkitOverflowScrolling" | "writingMode" | "whiteSpace" | "width" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "zIndex" | "backgroundColor" | "borderColor" | "borderBottomColor" | "borderLeftColor" | "borderRightColor" | "borderTopColor" | "hover" | "paddingHorizontal" | "paddingVertical" | "rotate" | "scale" | "translate" | "elevation" | "basis" | "grow" | "shrink" | "marginHorizontal" | "marginVertical" | "strokeAlign" | "strokeWeight" | "children" | "alignment" | "axis" | "distribution" | "spacing" | "as" | "columnEnd" | "columnStart" | "css" | "rowEnd" | "rowStart" | "mediaQueries" | "id" | "lang" | "type" | "role" | "tabIndex" | "to" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "onClose" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "variant" | "nonce" | "external" | "focusVisible" | "iconLeft" | "iconRight" | "theme" | "onOpen"> & React.RefAttributes<unknown>>;
|
|
18
18
|
export default ButtonInput;
|
|
19
19
|
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScrollSync.d.ts","sourceRoot":"","sources":["../../../src/DataTable/hooks/useScrollSync.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useScrollSync.d.ts","sourceRoot":"","sources":["../../../src/DataTable/hooks/useScrollSync.ts"],"names":[],"mappings":"AAUA,iBAAS,aAAa,CAAC,GAAG,IAAI,OAAA,QAmF7B;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useRef as
|
|
1
|
+
import{useRef as e,useCallback as r,useLayoutEffect as t}from"react";var n=null;function o(){for(var o=[],l=0;l<arguments.length;l++)o[l]=arguments[l];var a=e(),i=r((function(e){var r=o.filter((function(r){return r.current!==e.target})),t=e.target.scrollLeft;clearTimeout(a.current),r.forEach((function(e){u(e),e.current.style.willChange="scroll-position",e.current.scrollLeft=t})),a.current=setTimeout((function(){r.forEach((function(e){c(e),e.current.style.willChange=""}))}),120)}),[o]),c=r((function(e){e.current.addEventListener("scroll",i,{passive:!0})}),[i]),u=r((function(e){e.current.removeEventListener("scroll",i,{passive:!0})}),[i]);t((function(){var e,r;if(o.forEach(c),(null!==n?n:n="undefined"!=typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent))&&(null===(e=o[1])||void 0===e?void 0:e.current)){var t=o[1].current,l=function(e){if(0!==e.deltaY){var r=t.scrollTop,n=r<=1,o=r>=t.scrollHeight-t.clientHeight-1;if(e.deltaY<0&&n||e.deltaY>0&&o){for(var l=t.parentElement;l&&l!==document.body;){var a=getComputedStyle(l),i=a.overflow,c=a.overflowY;if("auto"===i||"scroll"===i||"auto"===c||"scroll"===c)return e.preventDefault(),void l.scrollBy({behavior:"auto",top:e.deltaY});l=l.parentElement}window.scrollBy({behavior:"auto",top:e.deltaY})}}};t.addEventListener("wheel",l),r=function(){return t.removeEventListener("wheel",l)}}return function(){clearTimeout(a.current),o.forEach(u),null==r||r()}}),[])}export{o as default};
|
|
2
2
|
//# sourceMappingURL=useScrollSync.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../../src/DataTable/utils/variants.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../../src/DataTable/utils/variants.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmH1B,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;CAkBpB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as o}from'./../../ext/tslib/tslib.es6.js';import{token as e}from"@planningcenter/tapestry";var r={"::-webkit-scrollbar":{height:0,width:0},"@media print":{overflowX:"visible",position:"relative"},msOverflowStyle:"none",overflowX:"auto",scrollbarWidth:"none"},i={body:{"@media print":{overflowX:"visible"},WebkitOverflowScrolling:"touch",overflowX:"auto"},bodyCell:{alignItems:"center",backgroundColor:"inherit",boxSizing:"content-box",display:"flex",flexBasis:"auto",flexGrow:0,flexShrink:0,fontSize:14,padding:"0 16px",whiteSpace:"nowrap"},bodyRow:function(r){var i=r.firstRow,n=r.isLink;return{"&:focus":o({outline:"none"},n?{backgroundColor:"linkBackground"}:{}),"&:hover":n?{backgroundColor:"linkBackground"}:void 0,backgroundColor:"surface",borderTopColor:i?void 0:e("--t-border-color-default-base"),borderTopStyle:i?void 0:"solid",borderTopWidth:i?void 0:1,color:"inherit",cursor:n?"pointer":void 0,display:"flex",minHeight:"64px"}},bodySubCell:function(o){return o.firstRow,o.lastCell,o.rowIndex,o.columnIndex,{backgroundColor:"inherit",boxSizing:"content-box",display:"flex",flexBasis:"auto",flexGrow:0,flexShrink:0,fontSize:14,padding:"12px 16px",width:o.columnWidth+"px"}},bodySubRow:function(o){var r=o.isLink;return{"&:focus":{outline:"none"},"&:hover":r?{backgroundColor:"linkBackground"}:{},backgroundColor:"surfaceSecondary",borderTopColor:e("--t-border-color-default-base"),borderTopStyle:"solid",borderTopWidth:1,color:"inherit",cursor:r?"pointer":void 0,display:"flex",minHeight:"44px"}},footer:o({backgroundColor:"surfaceSecondary",borderTopColor:e("--t-border-color-default-base"),borderTopStyle:"solid",borderTopWidth:1},r),footerCell:{alignItems:"center",backgroundColor:"inherit",boxSizing:"content-box",display:"flex",flexBasis:"auto",flexGrow:0,flexShrink:0,fontSize:14,padding:"0 16px",whiteSpace:"nowrap"},footerRow:{backgroundColor:"inherit",display:"flex"},header:o({backgroundColor:"surfaceSecondary",borderBottomColor:e("--t-border-color-default-base"),borderBottomStyle:"solid",borderBottomWidth:1,position:"sticky",top:0,zIndex:10},r),headerCell:function(o){return{alignItems:"center",backgroundColor:"inherit",boxSizing:"content-box",cursor:o.isSortable?"pointer":"default",display:"flex",flexBasis:"auto",flexGrow:0,flexShrink:0,outline:0,padding:"0 16px"}},headerRow:{backgroundColor:"inherit",display:"flex",minHeight:"48px"}},n={condensed:{bodyCell:{padding:"0 8px"},bodyRow:{minHeight:"40px"},bodySubCell:{padding:"4px 8px"},bodySubRow:{minHeight:"28px"},headerCell:{padding:"0 8px"}}};export{i as defaultVariant,n as variants};
|
|
1
|
+
import{__assign as o}from'./../../ext/tslib/tslib.es6.js';import{token as e}from"@planningcenter/tapestry";var r={"::-webkit-scrollbar":{height:0,width:0},"@media print":{overflowX:"visible",position:"relative"},msOverflowStyle:"none",overflowX:"auto",scrollbarWidth:"none"},i={body:{"@media print":{overflowX:"visible"},WebkitOverflowScrolling:"touch",overflowX:"auto",overscrollBehaviorX:"none"},bodyCell:{alignItems:"center",backgroundColor:"inherit",boxSizing:"content-box",display:"flex",flexBasis:"auto",flexGrow:0,flexShrink:0,fontSize:14,padding:"0 16px",whiteSpace:"nowrap"},bodyRow:function(r){var i=r.firstRow,n=r.isLink;return{"&:focus":o({outline:"none"},n?{backgroundColor:"linkBackground"}:{}),"&:hover":n?{backgroundColor:"linkBackground"}:void 0,backgroundColor:"surface",borderTopColor:i?void 0:e("--t-border-color-default-base"),borderTopStyle:i?void 0:"solid",borderTopWidth:i?void 0:1,color:"inherit",cursor:n?"pointer":void 0,display:"flex",minHeight:"64px"}},bodySubCell:function(o){return o.firstRow,o.lastCell,o.rowIndex,o.columnIndex,{backgroundColor:"inherit",boxSizing:"content-box",display:"flex",flexBasis:"auto",flexGrow:0,flexShrink:0,fontSize:14,padding:"12px 16px",width:o.columnWidth+"px"}},bodySubRow:function(o){var r=o.isLink;return{"&:focus":{outline:"none"},"&:hover":r?{backgroundColor:"linkBackground"}:{},backgroundColor:"surfaceSecondary",borderTopColor:e("--t-border-color-default-base"),borderTopStyle:"solid",borderTopWidth:1,color:"inherit",cursor:r?"pointer":void 0,display:"flex",minHeight:"44px"}},footer:o({backgroundColor:"surfaceSecondary",borderTopColor:e("--t-border-color-default-base"),borderTopStyle:"solid",borderTopWidth:1},r),footerCell:{alignItems:"center",backgroundColor:"inherit",boxSizing:"content-box",display:"flex",flexBasis:"auto",flexGrow:0,flexShrink:0,fontSize:14,padding:"0 16px",whiteSpace:"nowrap"},footerRow:{backgroundColor:"inherit",display:"flex"},header:o({backgroundColor:"surfaceSecondary",borderBottomColor:e("--t-border-color-default-base"),borderBottomStyle:"solid",borderBottomWidth:1,position:"sticky",top:0,zIndex:10},r),headerCell:function(o){return{alignItems:"center",backgroundColor:"inherit",boxSizing:"content-box",cursor:o.isSortable?"pointer":"default",display:"flex",flexBasis:"auto",flexGrow:0,flexShrink:0,outline:0,padding:"0 16px"}},headerRow:{backgroundColor:"inherit",display:"flex",minHeight:"48px"}},n={condensed:{bodyCell:{padding:"0 8px"},bodyRow:{minHeight:"40px"},bodySubCell:{padding:"4px 8px"},bodySubRow:{minHeight:"28px"},headerCell:{padding:"0 8px"}}};export{i as defaultVariant,n as variants};
|
|
2
2
|
//# sourceMappingURL=variants.js.map
|
|
@@ -47,7 +47,7 @@ export declare const palette: {
|
|
|
47
47
|
foregroundTertiary: string;
|
|
48
48
|
};
|
|
49
49
|
green: string[];
|
|
50
|
-
grey: ("var(--t-fill-color-neutral-070)" | "var(--t-fill-color-neutral-
|
|
50
|
+
grey: ("var(--t-fill-color-neutral-070)" | "var(--t-fill-color-neutral-010)" | "var(--t-fill-color-neutral-050)" | "var(--t-fill-color-neutral-080)" | "var(--t-fill-color-neutral-090)" | "var(--t-fill-color-neutral-060)" | "var(--t-fill-color-neutral-040)" | "var(--t-fill-color-neutral-030)" | "var(--t-fill-color-neutral-025)" | "var(--t-fill-color-neutral-020)")[];
|
|
51
51
|
highlight: {
|
|
52
52
|
highlight: "var(--t-fill-color-neutral-070)";
|
|
53
53
|
highlightSecondary: "var(--t-fill-color-neutral-060)";
|
|
@@ -574,7 +574,7 @@ declare const defaultTheme: {
|
|
|
574
574
|
id: string;
|
|
575
575
|
lineHeights: number[];
|
|
576
576
|
spinner: {
|
|
577
|
-
color:
|
|
577
|
+
color: "var(--t-fill-color-neutral-010)";
|
|
578
578
|
sizes: {
|
|
579
579
|
lg: number;
|
|
580
580
|
md: number;
|
|
@@ -593,7 +593,7 @@ declare const defaultTheme: {
|
|
|
593
593
|
xxl: number;
|
|
594
594
|
xxs: number;
|
|
595
595
|
};
|
|
596
|
-
trackColor:
|
|
596
|
+
trackColor: "var(--t-fill-color-transparency-dark-020)";
|
|
597
597
|
};
|
|
598
598
|
toggleSwitch: {
|
|
599
599
|
backgroundColor: "var(--t-fill-color-control-primary)";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as r from"@planningcenter/icons/paths/general";import*as o from"@planningcenter/icons/paths/tapestry";import{token as l}from"@planningcenter/tapestry";import{boxSizes as t}from"./box-sizes.js";import{buttonThemes as e}from"./button-themes.js";import{colors as
|
|
1
|
+
import*as r from"@planningcenter/icons/paths/general";import*as o from"@planningcenter/icons/paths/tapestry";import{token as l}from"@planningcenter/tapestry";import{boxSizes as t}from"./box-sizes.js";import{buttonThemes as e}from"./button-themes.js";import{colors as a}from"./colors/colors.js";import"polished";import"../utils.js";var s={boxSizes:t,breakpoints:{lg:960,md:720,sm:600,xl:1200,xs:480},button:{themes:e},calendar:{weekStartsOn:0},checkbox:{checkedFill:l("--t-fill-color-control-primary"),checkedStroke:l("--t-fill-color-control-primary"),disabled:{checkedFill:l("--t-fill-color-control-disabled"),checkedStroke:l("--t-border-color-control-disabled"),fill:l("--t-fill-color-neutral-070"),stroke:l("--t-border-color-control-disabled")},fill:l("--t-surface-color-card"),focusStroke:l("--t-fill-color-control-primary"),stroke:l("--t-border-color-control-neutral")},colors:a,elevations:["0 2px 5px rgba(0,0,0,0.043)","0 4px 12px rgba(0,0,0,0.12)","0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)","0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23)","0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22)","0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22)"],fontSizes:[30,21,18,16,14,12,10],group:{radius:3},icons:{general:r,tapestry:o},pageBody:{backgroundColor:l("--t-surface-color-card")},id:"default",lineHeights:[40,32,24,24,20,16,16],spinner:{color:l("--t-fill-color-neutral-010"),sizes:{lg:3,md:2.5,sm:2,xl:5,xs:1.75,xxl:8,xxs:1.5},thickness:{lg:5,md:4,sm:3,xl:7,xs:3,xxl:9,xxs:3},trackColor:l("--t-fill-color-transparency-dark-020")},toggleSwitch:{backgroundColor:l("--t-fill-color-control-primary")}};export{s as default};
|
|
2
2
|
//# sourceMappingURL=default-theme.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planningcenter/tapestry-react",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.3-qa-874.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",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"typescript": "^5.3.3"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@planningcenter/icons": "^15.
|
|
79
|
+
"@planningcenter/icons": "^15.27.2",
|
|
80
80
|
"@planningcenter/react-beautiful-dnd": "^13.4.0",
|
|
81
81
|
"@planningcenter/tapestry": "^2.3.0",
|
|
82
82
|
"@popmotion/popcorn": "^0.4.4",
|