@planningcenter/tapestry-react 4.15.0-rc.0 → 5.0.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/Icon/Icon.d.ts +0 -3
- package/dist/Icon/Icon.d.ts.map +1 -1
- package/dist/Icon/Path.d.ts +0 -3
- package/dist/Icon/Path.d.ts.map +1 -1
- package/dist/Icon/Status.d.ts +0 -3
- package/dist/Icon/Status.d.ts.map +1 -1
- package/dist/system/colors/colors.d.ts +2 -18
- package/dist/system/colors/colors.d.ts.map +1 -1
- package/dist/system/colors/colors.js +1 -1
- package/dist/system/default-theme.d.ts +1 -6
- package/dist/system/default-theme.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/Icon/Icon.d.ts
CHANGED
|
@@ -12,9 +12,6 @@ type IconProps = ComponentProps<typeof Box> & {
|
|
|
12
12
|
/** Sizes the container proportionally. */
|
|
13
13
|
size?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | number | string;
|
|
14
14
|
};
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated Use `@planningcenter/icons` instead.
|
|
17
|
-
*/
|
|
18
15
|
declare const _default: {
|
|
19
16
|
({ name, size, color, children, ...props }: IconProps): React.JSX.Element;
|
|
20
17
|
Path: typeof Path;
|
package/dist/Icon/Icon.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../src/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAY,MAAM,OAAO,CAAA;AAEvD,OAAO,GAAG,MAAM,QAAQ,CAAA;AAExB,OAAO,IAAI,MAAM,QAAQ,CAAA;AACzB,OAAO,MAAM,MAAM,UAAU,CAAA;AAY7B,KAAK,SAAS,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IAC5C,qEAAqE;IACrE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAE1B,+EAA+E;IAC/E,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,sCAAsC;IACtC,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,0CAA0C;IAC1C,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,CAAA;CAC1E,CAAA
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../src/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAY,MAAM,OAAO,CAAA;AAEvD,OAAO,GAAG,MAAM,QAAQ,CAAA;AAExB,OAAO,IAAI,MAAM,QAAQ,CAAA;AACzB,OAAO,MAAM,MAAM,UAAU,CAAA;AAY7B,KAAK,SAAS,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IAC5C,qEAAqE;IACrE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAE1B,+EAA+E;IAC/E,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,sCAAsC;IACtC,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,0CAA0C;IAC1C,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,CAAA;CAC1E,CAAA;;;;;;UAoCO,WAAW;YACT,aAAa;;AAFvB,wBAGC"}
|
package/dist/Icon/Path.d.ts
CHANGED
|
@@ -6,9 +6,6 @@ type Props = ComponentProps<typeof Box> & {
|
|
|
6
6
|
/** The name of the icon to render. */
|
|
7
7
|
name: string;
|
|
8
8
|
};
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated Use `@planningcenter/icons` instead.
|
|
11
|
-
*/
|
|
12
9
|
declare function Path({ name, color, ...restProps }: Props): React.JSX.Element;
|
|
13
10
|
declare namespace Path {
|
|
14
11
|
var displayName: string;
|
package/dist/Icon/Path.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Path.d.ts","sourceRoot":"","sources":["../../src/Icon/Path.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE7C,OAAO,GAAG,MAAM,QAAQ,CAAA;AAGxB,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IACxC,mDAAmD;IACnD,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,sCAAsC;IACtC,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED
|
|
1
|
+
{"version":3,"file":"Path.d.ts","sourceRoot":"","sources":["../../src/Icon/Path.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE7C,OAAO,GAAG,MAAM,QAAQ,CAAA;AAGxB,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IACxC,mDAAmD;IACnD,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,sCAAsC;IACtC,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,iBAAS,IAAI,CAAC,EAAE,IAAS,EAAE,KAAsB,EAAE,GAAG,SAAS,EAAE,EAAE,KAAK,qBAGvE;kBAHQ,IAAI;;;AAOb,eAAe,IAAI,CAAA"}
|
package/dist/Icon/Status.d.ts
CHANGED
|
@@ -7,9 +7,6 @@ export type Props = {
|
|
|
7
7
|
/** Uses the filled version of the icon. */
|
|
8
8
|
variantFilled?: boolean;
|
|
9
9
|
};
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated Use `@planningcenter/icons` instead.
|
|
12
|
-
*/
|
|
13
10
|
declare function Status(props: Props): React.JSX.Element;
|
|
14
11
|
declare namespace Status {
|
|
15
12
|
var displayName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Status.d.ts","sourceRoot":"","sources":["../../src/Icon/Status.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAuBzB,MAAM,MAAM,KAAK,GAAG;IAClB,8EAA8E;IAC9E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6CAA6C;IAC7C,OAAO,EAAE,WAAW,GAAG,aAAa,GAAG,UAAU,CAAA;IACjD,2CAA2C;IAC3C,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA;AAED
|
|
1
|
+
{"version":3,"file":"Status.d.ts","sourceRoot":"","sources":["../../src/Icon/Status.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAuBzB,MAAM,MAAM,KAAK,GAAG;IAClB,8EAA8E;IAC9E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6CAA6C;IAC7C,OAAO,EAAE,WAAW,GAAG,aAAa,GAAG,UAAU,CAAA;IACjD,2CAA2C;IAC3C,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA;AAED,iBAAS,MAAM,CAAC,KAAK,EAAE,KAAK,qBAY3B;kBAZQ,MAAM;;;AAgBf,eAAe,MAAM,CAAA"}
|
|
@@ -97,12 +97,6 @@ export declare const palette: {
|
|
|
97
97
|
surfaceSecondary: "var(--t-surface-color-canvas)";
|
|
98
98
|
surfaceTertiary: "var(--t-fill-color-neutral-070)";
|
|
99
99
|
};
|
|
100
|
-
tapestry: {
|
|
101
|
-
create: {
|
|
102
|
-
create35: "var(--t-fill-color-control-secondary)";
|
|
103
|
-
};
|
|
104
|
-
interaction66: "var(--t-fill-color-control)";
|
|
105
|
-
};
|
|
106
100
|
warning: {
|
|
107
101
|
base: "var(--t-fill-color-status-warning)";
|
|
108
102
|
dark: "var(--t-fill-color-status-warning)";
|
|
@@ -113,16 +107,6 @@ export declare const palette: {
|
|
|
113
107
|
};
|
|
114
108
|
yellow: string[];
|
|
115
109
|
};
|
|
116
|
-
export declare const colors: Partial<import("../../types").Colors> & Record<string, string | [string, string, string, string, string, string, string, string, string, string]
|
|
117
|
-
|
|
118
|
-
create35: "var(--t-fill-color-control-secondary)";
|
|
119
|
-
};
|
|
120
|
-
interaction66: "var(--t-fill-color-control)";
|
|
121
|
-
};
|
|
122
|
-
export declare function getColor(key: string): string | [string, string, string, string, string, string, string, string, string, string] | (Partial<import("../../types").Colors> & Record<string, string | [string, string, string, string, string, string, string, string, string, string]> & {
|
|
123
|
-
create: {
|
|
124
|
-
create35: "var(--t-fill-color-control-secondary)";
|
|
125
|
-
};
|
|
126
|
-
interaction66: "var(--t-fill-color-control)";
|
|
127
|
-
});
|
|
110
|
+
export declare const colors: Partial<import("../../types").Colors> & Record<string, string | [string, string, string, string, string, string, string, string, string, string]>;
|
|
111
|
+
export declare function getColor(key: string): string | [string, string, string, string, string, string, string, string, string, string] | (Partial<import("../../types").Colors> & Record<string, string | [string, string, string, string, string, string, string, string, string, string]>);
|
|
128
112
|
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../src/system/colors/colors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../src/system/colors/colors.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+MnB,CAAA;AAED,eAAO,MAAM,MAAM,mJAA6C,CAAA;AAEhE,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,mPAEnC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{token as l,computedToken as r}from"@planningcenter/tapestry";import{flattenPalette as t}from"./utils.js";var o={
|
|
1
|
+
import{token as l,computedToken as r}from"@planningcenter/tapestry";import{flattenPalette as t}from"./utils.js";var o={apps:{calendar:l("--t-fill-color-product-calendar-050"),"check-ins":l("--t-fill-color-product-checkins-050"),giving:l("--t-fill-color-product-giving-050"),groups:l("--t-fill-color-product-groups-050"),home:l("--t-fill-color-product-home-050"),"music-stand":"#4984c4",pco:"#3565cf",people:l("--t-fill-color-product-people-050"),"planning-center":"#2266f7",projector:"#f19900",registrations:l("--t-fill-color-product-registrations-050"),services:l("--t-fill-color-product-services-050")},background:{background:l("--t-surface-color-card"),backgroundSecondary:l("--t-surface-color-canvas"),backgroundTertiary:l("--t-fill-color-neutral-070")},static:{staticDark:r("--t-text-color"),staticLight:r("--t-text-color-inverted")},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("--t-fill-color-transparency-dark-010"),l("--t-fill-color-transparency-dark-020"),l("--t-fill-color-transparency-dark-020"),l("--t-fill-color-transparency-dark-030"),l("--t-fill-color-transparency-dark-040"),l("--t-fill-color-transparency-dark-050"),l("--t-fill-color-transparency-dark-060"),l("--t-fill-color-transparency-dark-070")],days:{friday:"#F69688",monday:"#789FF8",saturday:"#66BEEB",sunday:"#7DC156",thursday:"#FA7EA4",tuesday:"#A193FD",wednesday:"#D18CF6"},error:{base:l("--t-fill-color-button-delete-solid"),dark:l("--t-fill-color-button-delete-solid-hover"),darker:l("--t-fill-color-button-delete-solid-active"),light:"hsl(8, 60%, 85%)",lighter:l("--t-fill-color-status-error-ghost"),lightest:l("--t-fill-color-status-error-dim")},foreground:{foreground:l("--t-text-color"),foregroundSecondary:l("--t-text-color-secondary"),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("--t-fill-color-neutral-090"),l("--t-fill-color-neutral-080"),l("--t-fill-color-neutral-070"),l("--t-fill-color-neutral-060"),l("--t-fill-color-neutral-050"),l("--t-fill-color-neutral-040"),l("--t-fill-color-neutral-030"),l("--t-fill-color-neutral-025"),l("--t-fill-color-neutral-020"),l("--t-fill-color-neutral-010")],highlight:{highlight:l("--t-fill-color-neutral-070"),highlightSecondary:l("--t-fill-color-neutral-060")},interaction:{base:l("--t-fill-color-interaction"),dark:l("--t-fill-color-interaction-hover"),darker:l("--t-fill-color-interaction-active"),darkest:"hsl(221, 90%, 31%)",light:"hsl(221, 91%, 70%)",lighter:"hsl(0, 0%, 81%);",lightest:l("--t-fill-color-interaction-disabled")},light:[l("--t-fill-color-transparency-light-010"),l("--t-fill-color-transparency-light-020"),l("--t-fill-color-transparency-light-030"),l("--t-fill-color-transparency-light-040"),l("--t-fill-color-transparency-light-050"),l("--t-fill-color-transparency-light-060"),l("--t-fill-color-transparency-light-070"),l("--t-fill-color-transparency-light-080"),l("--t-fill-color-transparency-light-090"),"hsla(0,0%,100%,0.96)"],link:{linkBackground:l("--t-fill-color-neutral-090"),linkForeground:l("--t-text-color-interaction")},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("--t-fill-color-neutral-040"),separatorFocus:l("--t-form-border-color-focus"),separatorFocusSecondary:l("--t-fill-color-neutral-050"),separatorHover:l("--t-form-border-color-hover"),separatorSecondary:l("--t-fill-color-neutral-050"),separatorTertiary:l("--t-fill-color-neutral-050")},success:{base:l("--t-fill-color-status-success"),dark:l("--t-text-color-status-success"),darker:"hsl(86, 91%, 23%)",light:l("--t-border-color-control-success"),lighter:l("--t-fill-color-status-success-ghost"),lightest:l("--t-fill-color-status-success-dim")},surface:{surface:l("--t-surface-color-card"),surfaceSecondary:l("--t-surface-color-canvas"),surfaceTertiary:l("--t-fill-color-neutral-070")},warning:{base:l("--t-fill-color-status-warning"),dark:l("--t-fill-color-status-warning"),darker:l("--t-icon-color-status-warning"),light:"hsl(42, 87%, 90%)",lighter:l("--t-fill-color-status-warning-ghost"),lightest:l("--t-fill-color-status-warning-dim")},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%)"]},s=t(o);function a(l){return l?s[l]:s}export{s as colors,a as getColor,o as palette};
|
|
2
2
|
//# sourceMappingURL=colors.js.map
|
|
@@ -553,12 +553,7 @@ declare const defaultTheme: {
|
|
|
553
553
|
focusStroke: "var(--t-fill-color-control)";
|
|
554
554
|
stroke: "var(--t-border-color-control-neutral)";
|
|
555
555
|
};
|
|
556
|
-
colors: Partial<import("..").Colors> & Record<string, string | [string, string, string, string, string, string, string, string, string, string]
|
|
557
|
-
create: {
|
|
558
|
-
create35: "var(--t-fill-color-control-secondary)";
|
|
559
|
-
};
|
|
560
|
-
interaction66: "var(--t-fill-color-control)";
|
|
561
|
-
};
|
|
556
|
+
colors: Partial<import("..").Colors> & Record<string, string | [string, string, string, string, string, string, string, string, string, string]>;
|
|
562
557
|
elevations: string[];
|
|
563
558
|
fontSizes: number[];
|
|
564
559
|
group: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-theme.d.ts","sourceRoot":"","sources":["../../src/system/default-theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,qCAAqC,CAAA;AAC9D,OAAO,KAAK,QAAQ,MAAM,sCAAsC,CAAA;AAqBhE,QAAA,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"default-theme.d.ts","sourceRoot":"","sources":["../../src/system/default-theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,qCAAqC,CAAA;AAC9D,OAAO,KAAK,QAAQ,MAAM,sCAAsC,CAAA;AAqBhE,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCjB,CAAA;AAED,eAAe,YAAY,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planningcenter/tapestry-react",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.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",
|