@planningcenter/tapestry 4.3.0 → 4.3.1-rc.1

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,4 +1,3 @@
1
- export { Banner } from "./components/Banner/Banner";
2
1
  export type { ToggleButtonProps } from "./components/button/ToggleButton";
3
2
  export { ToggleButton } from "./components/button/ToggleButton";
4
3
  export { ToggleIconButton } from "./components/button/ToggleIconButton";
@@ -1 +1 @@
1
- {"version":3,"file":"unstable.d.ts","sourceRoot":"","sources":["../src/unstable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACnD,YAAY,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAA;AACvE,cAAc,wBAAwB,CAAA;AACtC,cAAc,SAAS,CAAA;AACvB,OAAO,EACL,KAAK,iBAAiB,EACtB,iBAAiB,GAClB,MAAM,qDAAqD,CAAA"}
1
+ {"version":3,"file":"unstable.d.ts","sourceRoot":"","sources":["../src/unstable.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAA;AACvE,cAAc,wBAAwB,CAAA;AACtC,cAAc,SAAS,CAAA;AACvB,OAAO,EACL,KAAK,iBAAiB,EACtB,iBAAiB,GAClB,MAAM,qDAAqD,CAAA"}
package/dist/unstable.js CHANGED
@@ -1,4 +1,3 @@
1
- export { Banner } from './components/Banner/Banner.js';
2
1
  export { ToggleButton } from './components/button/ToggleButton.js';
3
2
  export { ToggleIconButton } from './components/button/ToggleIconButton.js';
4
3
  export { DataTable } from './components/DataTable/DataTable.js';
@@ -1 +1 @@
1
- {"version":3,"file":"unstable.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"unstable.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@planningcenter/tapestry",
3
- "version": "4.3.0",
3
+ "version": "4.3.1-rc.1",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -117,7 +117,7 @@
117
117
  },
118
118
  "dependencies": {
119
119
  "@planningcenter/icons": "^15.29.0",
120
- "@planningcenter/tapestry-tokens": "^4.0.0",
120
+ "@planningcenter/tapestry-tokens": "^4.3.1-rc.1",
121
121
  "@radix-ui/react-slot": "^1.3.0",
122
122
  "classnames": "^2.5.1",
123
123
  "lodash": "^4.17.21",
@@ -125,5 +125,5 @@
125
125
  "react-aria-components": "^1.17.0",
126
126
  "react-stately": "3.46.0"
127
127
  },
128
- "gitHead": "a57cd17dd99da5e802a2b35ce58e14df0eb1a48a"
128
+ "gitHead": "038b1625878466433a421e8e92a9a08f591bd6a3"
129
129
  }
@@ -1,21 +0,0 @@
1
- import "./Banner.css";
2
- import React from "react";
3
- type BannerProps = {
4
- /** The content to display in the banner */
5
- children: React.ReactNode;
6
- /**
7
- * Set the size of the banner (adjusts padding)
8
- * @default "md"
9
- */
10
- size?: "sm" | "md";
11
- /**
12
- * Set the status of the banner
13
- * @default "neutral"
14
- */
15
- status?: "neutral" | "info" | "warning" | "error" | "success";
16
- /** Set the title of the banner */
17
- title?: string;
18
- };
19
- export declare const Banner: ({ children, size, status, title, }: BannerProps) => React.JSX.Element;
20
- export default Banner;
21
- //# sourceMappingURL=Banner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/Banner.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAA;AAIrB,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,KAAK,WAAW,GAAG;IACjB,2CAA2C;IAC3C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IAEzB;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAElB;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAA;IAE7D,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAuBD,eAAO,MAAM,MAAM,GAAI,oCAKpB,WAAW,sBAcb,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -1,33 +0,0 @@
1
- import Icon from '../../utilities/Icon.js';
2
- import classNames from 'classnames';
3
- import React__default from 'react';
4
-
5
- const ICONS = {
6
- error: "general#exclamation-triangle",
7
- info: "general#info-circle",
8
- neutral: null,
9
- success: "general#check-circle",
10
- warning: "general#exclamation-triangle",
11
- };
12
- const SIZES = {
13
- md: "",
14
- sm: "t-banner--sm",
15
- };
16
- const STATUSES = {
17
- error: "t-banner--status-error",
18
- info: "t-banner--status-info",
19
- neutral: "t-banner--status-neutral",
20
- success: "t-banner--status-success",
21
- warning: "t-banner--status-warning",
22
- };
23
- const Banner = ({ children = "", size = "md", status = "neutral", title = "", }) => {
24
- return (React__default.createElement("div", { className: classNames("t-banner", SIZES[size], STATUSES[status]) },
25
- ICONS[status] && (React__default.createElement("span", { className: "t-banner-icon" },
26
- React__default.createElement(Icon, { symbol: ICONS[status], "aria-hidden": true }))),
27
- React__default.createElement("div", null,
28
- title && React__default.createElement("span", { className: "t-banner-title" }, title),
29
- React__default.createElement("div", { className: "t-banner-body" }, children))));
30
- };
31
-
32
- export { Banner };
33
- //# sourceMappingURL=Banner.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Banner.js","sources":["../../../src/components/Banner/Banner.tsx"],"sourcesContent":["import \"./Banner.css\"\n\nimport Icon from \"@utilities/Icon\"\nimport classnames from \"classnames\"\nimport React from \"react\"\n\ntype BannerProps = {\n /** The content to display in the banner */\n children: React.ReactNode\n\n /**\n * Set the size of the banner (adjusts padding)\n * @default \"md\"\n */\n size?: \"sm\" | \"md\"\n\n /**\n * Set the status of the banner\n * @default \"neutral\"\n */\n status?: \"neutral\" | \"info\" | \"warning\" | \"error\" | \"success\"\n\n /** Set the title of the banner */\n title?: string\n}\n\nconst ICONS = {\n error: \"general#exclamation-triangle\",\n info: \"general#info-circle\",\n neutral: null,\n success: \"general#check-circle\",\n warning: \"general#exclamation-triangle\",\n}\n\nconst SIZES = {\n md: \"\",\n sm: \"t-banner--sm\",\n}\n\nconst STATUSES = {\n error: \"t-banner--status-error\",\n info: \"t-banner--status-info\",\n neutral: \"t-banner--status-neutral\",\n success: \"t-banner--status-success\",\n warning: \"t-banner--status-warning\",\n}\n\nexport const Banner = ({\n children = \"\",\n size = \"md\",\n status = \"neutral\",\n title = \"\",\n}: BannerProps) => {\n return (\n <div className={classnames(\"t-banner\", SIZES[size], STATUSES[status])}>\n {ICONS[status] && (\n <span className=\"t-banner-icon\">\n <Icon symbol={ICONS[status]} aria-hidden />\n </span>\n )}\n <div>\n {title && <span className=\"t-banner-title\">{title}</span>}\n <div className=\"t-banner-body\">{children}</div>\n </div>\n </div>\n )\n}\n\nexport default Banner\n"],"names":["React","classnames"],"mappings":";;;;AA0BA,MAAM,KAAK,GAAG;AACZ,IAAA,KAAK,EAAE,8BAA8B;AACrC,IAAA,IAAI,EAAE,qBAAqB;AAC3B,IAAA,OAAO,EAAE,IAAI;AACb,IAAA,OAAO,EAAE,sBAAsB;AAC/B,IAAA,OAAO,EAAE,8BAA8B;CACxC;AAED,MAAM,KAAK,GAAG;AACZ,IAAA,EAAE,EAAE,EAAE;AACN,IAAA,EAAE,EAAE,cAAc;CACnB;AAED,MAAM,QAAQ,GAAG;AACf,IAAA,KAAK,EAAE,w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