@trackunit/css-tailwind 0.0.56 → 0.0.57

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": "@trackunit/css-tailwind",
3
- "version": "0.0.56",
3
+ "version": "0.0.57",
4
4
  "main": "./index.cjs",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -8,7 +8,7 @@
8
8
  "types": "./src/index.d.ts",
9
9
  "dependencies": {
10
10
  "@trackunit/css-component-tokens": "0.0.27",
11
- "@trackunit/css-core": "0.0.81",
11
+ "@trackunit/css-core": "0.0.82",
12
12
  "@trackunit/css-tailwind-custom-properties-plugin": "0.0.19",
13
13
  "@trackunit/ui-design-tokens": "0.0.66"
14
14
  },
@@ -0,0 +1,6 @@
1
+ import { Config } from "tailwindcss";
2
+ /**
3
+ * A Partial tailwind config object to hold our custom containers.
4
+ * If you want a custom extension of containers that should be available in the Manager as well as Iris Apps add it here.
5
+ */
6
+ export declare const containers: Config["theme"];
@@ -98,16 +98,16 @@
98
98
  --z-overlay: 10;
99
99
  --z-popover: 21;
100
100
  --z-toast: 100;
101
- --spacing-responsive-space: var(--spacing-4);
101
+ --spacing-responsive-space: var(--spacing-3);
102
102
  }
103
103
  @media (min-width: 768px) {
104
104
  :root {
105
- --spacing-responsive-space: var(--spacing-6);
105
+ --spacing-responsive-space: var(--spacing-4);
106
106
  }
107
107
  }
108
108
  @media (min-width: 1024px) {
109
109
  :root {
110
- --spacing-responsive-space: var(--spacing-8);
110
+ --spacing-responsive-space: var(--spacing-5);
111
111
  }
112
112
  }
113
113
 
@@ -791,6 +791,15 @@ var animations = {
791
791
  }
792
792
  };
793
793
 
794
+ // libs/css/tailwind/src/lib/containers.ts
795
+ var containers = {
796
+ containers: {
797
+ "2xs": "16rem",
798
+ "3xs": "12rem",
799
+ "4xs": "8rem"
800
+ }
801
+ };
802
+
794
803
  // libs/css/tailwind/src/lib/grids.ts
795
804
  var grids = {
796
805
  gridTemplateColumns: {
@@ -1011,7 +1020,7 @@ var tailwindBaseConfig = {
1011
1020
  { lineHeight: withCustomPropertyValueAsComment("--line-height-9xl") }
1012
1021
  ]
1013
1022
  },
1014
- extend: __spreadProps(__spreadValues(__spreadValues({}, animations), grids), {
1023
+ extend: __spreadProps(__spreadValues(__spreadValues(__spreadValues({}, animations), grids), containers), {
1015
1024
  zIndex: {
1016
1025
  hidden: withCustomPropertyValueAsComment("--z-hidden"),
1017
1026
  default: withCustomPropertyValueAsComment("--z-default"),