@usefillo/react 0.13.0 → 0.14.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.
- package/dist/styles.css +11 -8
- package/dist/styles.unlayered.css +11 -8
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -831,20 +831,23 @@
|
|
|
831
831
|
}
|
|
832
832
|
|
|
833
833
|
/* ---------- Success ---------- */
|
|
834
|
-
.fillo-success { display: flex; flex-direction: column; align-items: center; gap: 0.
|
|
834
|
+
.fillo-success { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.55rem; text-align: center; padding: 2rem 1rem; }
|
|
835
|
+
/* An affirming, filled mark: a solid primary disc with a contrast-colored
|
|
836
|
+
check — reads as "done and good", not a faint gray ring. Both tokens flip
|
|
837
|
+
per theme, so it stays legible on light and dark and honors the host's
|
|
838
|
+
--fillo-primary override. */
|
|
835
839
|
.fillo-success-mark {
|
|
836
|
-
width: 2.
|
|
840
|
+
width: 2.5rem; height: 2.5rem;
|
|
837
841
|
display: grid; place-items: center;
|
|
838
842
|
border-radius: 999px;
|
|
839
|
-
|
|
840
|
-
background: color-mix(in srgb, var(--fillo-primary) 8%, transparent);
|
|
843
|
+
background: var(--fillo-primary);
|
|
841
844
|
}
|
|
842
845
|
.fillo-success-mark::before {
|
|
843
846
|
content: "";
|
|
844
|
-
width: 0.
|
|
845
|
-
border-left:
|
|
846
|
-
border-bottom:
|
|
847
|
-
transform: translateY(-0.
|
|
847
|
+
width: 0.7rem; height: 0.38rem;
|
|
848
|
+
border-left: 2.5px solid var(--fillo-primary-contrast);
|
|
849
|
+
border-bottom: 2.5px solid var(--fillo-primary-contrast);
|
|
850
|
+
transform: translateY(-0.09rem) rotate(-45deg);
|
|
848
851
|
}
|
|
849
852
|
.fillo-success-title { margin: 0; font-size: 1.05rem; letter-spacing: 0; }
|
|
850
853
|
.fillo-success-message { margin: 0; font-size: 0.875rem; color: var(--fillo-muted); }
|
|
@@ -831,20 +831,23 @@
|
|
|
831
831
|
}
|
|
832
832
|
|
|
833
833
|
/* ---------- Success ---------- */
|
|
834
|
-
.fillo-success { display: flex; flex-direction: column; align-items: center; gap: 0.
|
|
834
|
+
.fillo-success { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.55rem; text-align: center; padding: 2rem 1rem; }
|
|
835
|
+
/* An affirming, filled mark: a solid primary disc with a contrast-colored
|
|
836
|
+
check — reads as "done and good", not a faint gray ring. Both tokens flip
|
|
837
|
+
per theme, so it stays legible on light and dark and honors the host's
|
|
838
|
+
--fillo-primary override. */
|
|
835
839
|
.fillo-success-mark {
|
|
836
|
-
width: 2.
|
|
840
|
+
width: 2.5rem; height: 2.5rem;
|
|
837
841
|
display: grid; place-items: center;
|
|
838
842
|
border-radius: 999px;
|
|
839
|
-
|
|
840
|
-
background: color-mix(in srgb, var(--fillo-primary) 8%, transparent);
|
|
843
|
+
background: var(--fillo-primary);
|
|
841
844
|
}
|
|
842
845
|
.fillo-success-mark::before {
|
|
843
846
|
content: "";
|
|
844
|
-
width: 0.
|
|
845
|
-
border-left:
|
|
846
|
-
border-bottom:
|
|
847
|
-
transform: translateY(-0.
|
|
847
|
+
width: 0.7rem; height: 0.38rem;
|
|
848
|
+
border-left: 2.5px solid var(--fillo-primary-contrast);
|
|
849
|
+
border-bottom: 2.5px solid var(--fillo-primary-contrast);
|
|
850
|
+
transform: translateY(-0.09rem) rotate(-45deg);
|
|
848
851
|
}
|
|
849
852
|
.fillo-success-title { margin: 0; font-size: 1.05rem; letter-spacing: 0; }
|
|
850
853
|
.fillo-success-message { margin: 0; font-size: 0.875rem; color: var(--fillo-muted); }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usefillo/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "Headless React components for embedding Fillo forms natively in your product.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@usefillo/core": "^0.
|
|
37
|
+
"@usefillo/core": "^0.14.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"react": "^18.0.0 || ^19.0.0",
|