@ably/ui 14.1.1-dev.e639c8b → 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.e639c8b",
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,9 +1,5 @@
1
1
  module.exports = {
2
- content: [
3
- "./src/**/*.{js,css,ts,tsx,mdx}",
4
- "./core/**/*.{js,css}",
5
- "./reset/**/*.{js,css}",
6
- ],
2
+ content: ["./src/**/*.{js,ts,tsx,mdx}"],
7
3
  safelist: [
8
4
  "w-1/2",
9
5
  "w-1/3",
@@ -0,0 +1,19 @@
1
+ const ablyUIConfig = require("./tailwind.config");
2
+ const path = require("path");
3
+
4
+ const ablyUiConfigPath = path.dirname(require.resolve("./tailwind.config.js"));
5
+
6
+ const ablyUITailwindConfig = (extend) => {
7
+ // Create absolute paths to built assets (core, reset) in AblyUI, set as content source
8
+ const configWithPlugin = {
9
+ ...ablyUIConfig,
10
+ content: [
11
+ path.join(ablyUiConfigPath, "core", "**", "*.js"),
12
+ path.join(ablyUiConfigPath, "reset", "**", "*.js"),
13
+ ],
14
+ };
15
+
16
+ return extend(configWithPlugin);
17
+ };
18
+
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