@tecsinapse/cortex-core 0.0.5 → 0.0.7

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.
@@ -18,7 +18,7 @@ const tFoot = tailwindVariants.tv({
18
18
  base: "[&>tr]:rounded-none [&>tr]:shadow-none"
19
19
  });
20
20
  const tRoot = tailwindVariants.tv({
21
- base: "border-separate border-spacing-x-[22px] border-spacing-y-mili rounded-mili bg-white px-0 py-centi shadow-default"
21
+ base: "border-separate border-spacing-x-[22px] border-spacing-y-mili rounded-mili bg-white shadow-default"
22
22
  });
23
23
  const hr = tailwindVariants.tv({
24
24
  base: "-mx-[24px] -mb-[4px] -mt-[50px] h-[42px] border-0 bg-secondary-xlight"
package/dist/cjs/index.js CHANGED
@@ -15,6 +15,7 @@ var table = require('./components/table/table.js');
15
15
  var tooltip = require('./components/tooltip/tooltip.js');
16
16
  var card = require('./components/card/card.js');
17
17
  var modal = require('./components/modal/modal.js');
18
+ require('./preset/index.js');
18
19
 
19
20
 
20
21
 
@@ -0,0 +1,28 @@
1
+ 'use strict';
2
+
3
+ var definitions = require('../tokens/definitions.js');
4
+
5
+ module.exports = {
6
+ theme: {
7
+ fontFamily: definitions.fontFamily,
8
+ extend: {
9
+ colors: definitions.colors,
10
+ textColor: definitions.textColor,
11
+ spacing: definitions.spacing,
12
+ borderRadius: definitions.borderRadius,
13
+ borderWidth: definitions.borderWidth,
14
+ fontSize: definitions.fontSize,
15
+ boxShadow: definitions.boxShadow,
16
+ borderColor: definitions.borderColor,
17
+ keyframes: {
18
+ bottomToTop: {
19
+ "0%": { opacity: 0, transform: "translateY(100%)" },
20
+ "100%": { opacity: 1, transform: "translateY(0)" }
21
+ }
22
+ },
23
+ animation: {
24
+ bottomToTop: "bottomToTop 1s ease-in-out"
25
+ }
26
+ }
27
+ }
28
+ };
@@ -16,7 +16,7 @@ const tFoot = tv({
16
16
  base: "[&>tr]:rounded-none [&>tr]:shadow-none"
17
17
  });
18
18
  const tRoot = tv({
19
- base: "border-separate border-spacing-x-[22px] border-spacing-y-mili rounded-mili bg-white px-0 py-centi shadow-default"
19
+ base: "border-separate border-spacing-x-[22px] border-spacing-y-mili rounded-mili bg-white shadow-default"
20
20
  });
21
21
  const hr = tv({
22
22
  base: "-mx-[24px] -mb-[4px] -mt-[50px] h-[42px] border-0 bg-secondary-xlight"
package/dist/esm/index.js CHANGED
@@ -13,3 +13,4 @@ export { hr, tCell, tFoot, tHead, tHeadCell, tRoot, tRow } from './components/ta
13
13
  export { tooltip, tooltipContainer } from './components/tooltip/tooltip.js';
14
14
  export { card } from './components/card/card.js';
15
15
  export { modal } from './components/modal/modal.js';
16
+ import './preset/index.js';
@@ -0,0 +1,26 @@
1
+ import { fontFamily, colors, textColor, spacing, borderRadius, borderWidth, fontSize, boxShadow, borderColor } from '../tokens/definitions.js';
2
+
3
+ module.exports = {
4
+ theme: {
5
+ fontFamily,
6
+ extend: {
7
+ colors,
8
+ textColor,
9
+ spacing,
10
+ borderRadius,
11
+ borderWidth,
12
+ fontSize,
13
+ boxShadow,
14
+ borderColor,
15
+ keyframes: {
16
+ bottomToTop: {
17
+ "0%": { opacity: 0, transform: "translateY(100%)" },
18
+ "100%": { opacity: 1, transform: "translateY(0)" }
19
+ }
20
+ },
21
+ animation: {
22
+ bottomToTop: "bottomToTop 1s ease-in-out"
23
+ }
24
+ }
25
+ }
26
+ };
@@ -165,7 +165,7 @@ export declare const tRoot: import("tailwind-variants").TVReturnType<{
165
165
  base?: import("tailwind-variants").ClassValue;
166
166
  };
167
167
  } | undefined;
168
- } | {}, undefined, "border-separate border-spacing-x-[22px] border-spacing-y-mili rounded-mili bg-white px-0 py-centi shadow-default", import("tailwind-variants/dist/config").TVConfig<unknown, {
168
+ } | {}, undefined, "border-separate border-spacing-x-[22px] border-spacing-y-mili rounded-mili bg-white shadow-default", import("tailwind-variants/dist/config").TVConfig<unknown, {
169
169
  [key: string]: {
170
170
  [key: string]: import("tailwind-variants").ClassValue | {
171
171
  base?: import("tailwind-variants").ClassValue;
@@ -177,7 +177,7 @@ export declare const tRoot: import("tailwind-variants").TVReturnType<{
177
177
  base?: import("tailwind-variants").ClassValue;
178
178
  };
179
179
  };
180
- } | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "border-separate border-spacing-x-[22px] border-spacing-y-mili rounded-mili bg-white px-0 py-centi shadow-default", import("tailwind-variants/dist/config").TVConfig<unknown, {
180
+ } | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "border-separate border-spacing-x-[22px] border-spacing-y-mili rounded-mili bg-white shadow-default", import("tailwind-variants/dist/config").TVConfig<unknown, {
181
181
  [key: string]: {
182
182
  [key: string]: import("tailwind-variants").ClassValue | {
183
183
  base?: import("tailwind-variants").ClassValue;
@@ -1,2 +1,3 @@
1
1
  export * from './tokens/definitions';
2
2
  export * from './components';
3
+ export * from './preset';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tecsinapse/cortex-core",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/esm/index.js",