@ably/ui 14.1.1-dev.bdcfda0 → 14.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ably/ui",
3
- "version": "14.1.1-dev.bdcfda0",
3
+ "version": "14.1.1",
4
4
  "description": "Home of the Ably design system library ([design.ably.com](https://design.ably.com)). It provides a showcase, development/test environment and a publishing pipeline for different distributables.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,5 +1,5 @@
1
1
  module.exports = {
2
- content: ["./src/**/*.{js,ts,tsx,mdx}", "./core/**/*.js", "./reset/**/*.js"],
2
+ content: ["./src/**/*.{js,ts,tsx,mdx}"],
3
3
  safelist: [
4
4
  "w-1/2",
5
5
  "w-1/3",
@@ -3,22 +3,17 @@ const path = require("path");
3
3
 
4
4
  const ablyUiConfigPath = path.dirname(require.resolve("./tailwind.config.js"));
5
5
 
6
- const ablyUItailwindConfig = (extend) => {
7
- // Create absolute paths to templates in AblyUI
8
- const addPurgeContentPaths = () => {
9
- const paths = ["*.html.erb", "*", "*.js", "*.json"].map((fileGlob) =>
10
- path.join(ablyUiConfigPath, "src", "**", fileGlob),
11
- );
12
-
13
- return paths;
14
- };
15
-
6
+ const ablyUITailwindConfig = (extend) => {
7
+ // Create absolute paths to built assets (core, reset) in AblyUI, set as content source
16
8
  const configWithPlugin = {
17
9
  ...ablyUIConfig,
18
- content: addPurgeContentPaths(),
10
+ content: [
11
+ path.join(ablyUiConfigPath, "core", "**", "*.js"),
12
+ path.join(ablyUiConfigPath, "reset", "**", "*.js"),
13
+ ],
19
14
  };
20
15
 
21
16
  return extend(configWithPlugin);
22
17
  };
23
18
 
24
- module.exports = ablyUItailwindConfig;
19
+ module.exports = ablyUITailwindConfig;
package/core/.DS_Store DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file