@factorialco/f0-core 1.30.0 → 1.31.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.
Files changed (3) hide show
  1. package/base.css +13 -0
  2. package/package.json +1 -1
  3. package/tailwind.ts +5 -0
package/base.css CHANGED
@@ -162,3 +162,16 @@
162
162
  body {
163
163
  @apply !text-f1-foreground font-sans text-base antialiased;
164
164
  }
165
+
166
+ /* For autofill detection */
167
+ @keyframes autofill {
168
+ from {
169
+ }
170
+ to {
171
+ }
172
+ }
173
+
174
+ input:-webkit-autofill {
175
+ animation-name: autofill;
176
+ animation-fill-mode: both;
177
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-core",
3
- "version": "1.30.0",
3
+ "version": "1.31.0",
4
4
  "description": "Core tokens and utilities for F0 Design System",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/tailwind.ts CHANGED
@@ -122,10 +122,15 @@ export const baseConfig: Omit<Config, "content"> = {
122
122
  from: { height: "var(--radix-accordion-content-height)" },
123
123
  to: { height: "0" },
124
124
  },
125
+ autofill: {
126
+ from: {},
127
+ to: {},
128
+ },
125
129
  },
126
130
  animation: {
127
131
  "accordion-down": "accordion-down 0.2s ease-out",
128
132
  "accordion-up": "accordion-up 0.2s ease-out",
133
+ autofill: "autofill 0s both",
129
134
  },
130
135
  containers: {
131
136
  "8xl": "96rem",