@factorialco/f0-react 1.214.1 → 1.214.3
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/dist/experimental.js +15 -16
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/experimental.js
CHANGED
|
@@ -26185,10 +26185,10 @@ const ap = {
|
|
|
26185
26185
|
onPulseClick: o
|
|
26186
26186
|
}) => {
|
|
26187
26187
|
const a = We(), [l, c] = V(!s);
|
|
26188
|
-
return /* @__PURE__ */ f("div", { className: "relative h-
|
|
26188
|
+
return /* @__PURE__ */ f("div", { className: "relative h-10 w-10", children: /* @__PURE__ */ f(Ze, { mode: "popLayout", initial: !!l, children: l ? /* @__PURE__ */ f(
|
|
26189
26189
|
de.div,
|
|
26190
26190
|
{
|
|
26191
|
-
className: "relative h-
|
|
26191
|
+
className: "relative h-10 w-10 rounded-full bg-f1-background-warning",
|
|
26192
26192
|
initial: { opacity: 0, scale: 0.8 },
|
|
26193
26193
|
animate: { opacity: 1, scale: 1 },
|
|
26194
26194
|
exit: { opacity: 0, scale: 0.5 },
|
|
@@ -26235,7 +26235,7 @@ const ap = {
|
|
|
26235
26235
|
initial: { opacity: 0, scale: 0.5 },
|
|
26236
26236
|
animate: { opacity: 1, scale: 1 },
|
|
26237
26237
|
exit: { opacity: 0, scale: 0.5 },
|
|
26238
|
-
className: "relative",
|
|
26238
|
+
className: "relative h-10 w-10",
|
|
26239
26239
|
transition: {
|
|
26240
26240
|
scale: {
|
|
26241
26241
|
type: "spring",
|
|
@@ -26255,13 +26255,13 @@ const ap = {
|
|
|
26255
26255
|
type: "rounded",
|
|
26256
26256
|
name: [t, e],
|
|
26257
26257
|
src: n,
|
|
26258
|
-
size: "
|
|
26258
|
+
size: "lg",
|
|
26259
26259
|
color: "random",
|
|
26260
26260
|
"aria-label": i,
|
|
26261
26261
|
"aria-labelledby": r
|
|
26262
26262
|
}
|
|
26263
26263
|
),
|
|
26264
|
-
s ? /* @__PURE__ */ f("div", { className: "absolute -bottom-1 -right-1 inline-flex rounded-sm bg-f1-background", children: /* @__PURE__ */ f(
|
|
26264
|
+
s ? /* @__PURE__ */ f("div", { className: "absolute -bottom-1.5 -right-1.5 inline-flex rounded-sm bg-f1-background", children: /* @__PURE__ */ f(
|
|
26265
26265
|
Jn,
|
|
26266
26266
|
{
|
|
26267
26267
|
variant: "neutral",
|
|
@@ -26289,7 +26289,7 @@ const ap = {
|
|
|
26289
26289
|
opacity: { delay: 0.25 },
|
|
26290
26290
|
scale: { delay: 0.25 }
|
|
26291
26291
|
},
|
|
26292
|
-
className: "absolute -bottom-1 -right-1 rounded-sm bg-f1-background",
|
|
26292
|
+
className: "absolute -bottom-1.5 -right-1.5 rounded-sm bg-f1-background",
|
|
26293
26293
|
children: /* @__PURE__ */ f(
|
|
26294
26294
|
he,
|
|
26295
26295
|
{
|
|
@@ -28949,16 +28949,12 @@ const AV = (t) => "date" in t, OV = {
|
|
|
28949
28949
|
onClick: (h) => {
|
|
28950
28950
|
h.stopPropagation(), c();
|
|
28951
28951
|
},
|
|
28952
|
+
onKeyDown: (h) => {
|
|
28953
|
+
(h.key === "Enter" || h.key === " ") && c();
|
|
28954
|
+
},
|
|
28952
28955
|
role: "button",
|
|
28953
28956
|
"aria-label": l.actions.clear,
|
|
28954
|
-
children: /* @__PURE__ */ f(
|
|
28955
|
-
ve,
|
|
28956
|
-
{
|
|
28957
|
-
icon: Ra,
|
|
28958
|
-
className: "text-f1-icon-secondary transition-colors hover:text-f1-icon",
|
|
28959
|
-
size: "md"
|
|
28960
|
-
}
|
|
28961
|
-
)
|
|
28957
|
+
children: /* @__PURE__ */ f(ve, { icon: Ra, size: "md", color: "secondary" })
|
|
28962
28958
|
}
|
|
28963
28959
|
)
|
|
28964
28960
|
]
|
|
@@ -29015,14 +29011,17 @@ const AV = (t) => "date" in t, OV = {
|
|
|
29015
29011
|
onClick: (h) => {
|
|
29016
29012
|
h.stopPropagation(), c();
|
|
29017
29013
|
},
|
|
29014
|
+
onKeyDown: (h) => {
|
|
29015
|
+
(h.key === "Enter" || h.key === " ") && c();
|
|
29016
|
+
},
|
|
29018
29017
|
role: "button",
|
|
29019
29018
|
"aria-label": l.actions.clear,
|
|
29020
29019
|
children: /* @__PURE__ */ f(
|
|
29021
29020
|
ve,
|
|
29022
29021
|
{
|
|
29023
29022
|
icon: Ra,
|
|
29024
|
-
|
|
29025
|
-
|
|
29023
|
+
size: "md",
|
|
29024
|
+
color: "secondary"
|
|
29026
29025
|
}
|
|
29027
29026
|
)
|
|
29028
29027
|
}
|