@tecsinapse/cortex-core 0.4.0 → 0.4.3-beta.0

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,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var tailwindVariants = require('tailwind-variants');
4
3
  var clsx = require('clsx');
4
+ var tailwindVariants = require('tailwind-variants');
5
5
 
6
6
  const inputBaseStyles = tailwindVariants.tv({
7
7
  base: "relative min-h-[44px] h-auto flex px-centi py-1.5 bg-white focus-within:outline focus-within:outline-1 text-base font-bold items-center border rounded-mili has-[:disabled]:bg-transparent",
@@ -38,7 +38,7 @@ const inputBaseStyles = tailwindVariants.tv({
38
38
  }
39
39
  });
40
40
  const labelBaseStyles = tailwindVariants.tv({
41
- base: "absolute duration-300 -translate-y-2 scale-[0.72] top-2.5 z-10 origin-[0] peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-0 peer-focus:scale-[0.72] peer-focus:-translate-y-2 peer-focus:top-2.5 font-bold text-base peer-disabled:text-secondary-light select-none w-max",
41
+ base: "absolute duration-300 -translate-y-2 scale-[0.72] top-2.5 z-10 origin-[0] peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-0 peer-focus:scale-[0.72] peer-focus:-translate-y-2 peer-focus:top-2.5 font-bold text-base peer-disabled:text-secondary-light select-none w-max peer-autofill:scale-[0.72] peer-autofill:-translate-y-2 peer-autofill:top-2.5",
42
42
  variants: {
43
43
  intent: {
44
44
  default: [
@@ -1,5 +1,5 @@
1
- import { tv } from 'tailwind-variants';
2
1
  import { clsx } from 'clsx';
2
+ import { tv } from 'tailwind-variants';
3
3
 
4
4
  const inputBaseStyles = tv({
5
5
  base: "relative min-h-[44px] h-auto flex px-centi py-1.5 bg-white focus-within:outline focus-within:outline-1 text-base font-bold items-center border rounded-mili has-[:disabled]:bg-transparent",
@@ -36,7 +36,7 @@ const inputBaseStyles = tv({
36
36
  }
37
37
  });
38
38
  const labelBaseStyles = tv({
39
- base: "absolute duration-300 -translate-y-2 scale-[0.72] top-2.5 z-10 origin-[0] peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-0 peer-focus:scale-[0.72] peer-focus:-translate-y-2 peer-focus:top-2.5 font-bold text-base peer-disabled:text-secondary-light select-none w-max",
39
+ base: "absolute duration-300 -translate-y-2 scale-[0.72] top-2.5 z-10 origin-[0] peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-0 peer-focus:scale-[0.72] peer-focus:-translate-y-2 peer-focus:top-2.5 font-bold text-base peer-disabled:text-secondary-light select-none w-max peer-autofill:scale-[0.72] peer-autofill:-translate-y-2 peer-autofill:top-2.5",
40
40
  variants: {
41
41
  intent: {
42
42
  default: [
@@ -56,7 +56,7 @@ declare const labelBaseStyles: import("tailwind-variants").TVReturnType<{
56
56
  warning: string[];
57
57
  error: string[];
58
58
  };
59
- }, undefined, "absolute duration-300 -translate-y-2 scale-[0.72] top-2.5 z-10 origin-[0] peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-0 peer-focus:scale-[0.72] peer-focus:-translate-y-2 peer-focus:top-2.5 font-bold text-base peer-disabled:text-secondary-light select-none w-max", import("tailwind-variants/dist/config").TVConfig<{
59
+ }, undefined, "absolute duration-300 -translate-y-2 scale-[0.72] top-2.5 z-10 origin-[0] peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-0 peer-focus:scale-[0.72] peer-focus:-translate-y-2 peer-focus:top-2.5 font-bold text-base peer-disabled:text-secondary-light select-none w-max peer-autofill:scale-[0.72] peer-autofill:-translate-y-2 peer-autofill:top-2.5", import("tailwind-variants/dist/config").TVConfig<{
60
60
  intent: {
61
61
  default: string[];
62
62
  success: string[];
@@ -84,7 +84,7 @@ declare const labelBaseStyles: import("tailwind-variants").TVReturnType<{
84
84
  warning: string[];
85
85
  error: string[];
86
86
  };
87
- }, undefined, "absolute duration-300 -translate-y-2 scale-[0.72] top-2.5 z-10 origin-[0] peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-0 peer-focus:scale-[0.72] peer-focus:-translate-y-2 peer-focus:top-2.5 font-bold text-base peer-disabled:text-secondary-light select-none w-max", import("tailwind-variants/dist/config").TVConfig<{
87
+ }, undefined, "absolute duration-300 -translate-y-2 scale-[0.72] top-2.5 z-10 origin-[0] peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-0 peer-focus:scale-[0.72] peer-focus:-translate-y-2 peer-focus:top-2.5 font-bold text-base peer-disabled:text-secondary-light select-none w-max peer-autofill:scale-[0.72] peer-autofill:-translate-y-2 peer-autofill:top-2.5", import("tailwind-variants/dist/config").TVConfig<{
88
88
  intent: {
89
89
  default: string[];
90
90
  success: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tecsinapse/cortex-core",
3
- "version": "0.4.0",
3
+ "version": "0.4.3-beta.0",
4
4
  "license": "MIT",
5
5
  "description": "Core library for tailwindcss based design",
6
6
  "main": "dist/esm/index.js",
@@ -32,5 +32,5 @@
32
32
  "peerDependencies": {
33
33
  "tailwindcss": ">=3.3.0"
34
34
  },
35
- "gitHead": "0d09b9c3a9193d5cf9a46a77d90a18c836561156"
35
+ "gitHead": "ba3d543a95c8a5cd7023adfdf96ca7c8504f876e"
36
36
  }