@manafishrov/ui 1.3.5 → 1.3.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@manafishrov/ui",
4
- "version": "1.3.5",
4
+ "version": "1.3.7",
5
5
  "description": "Styled component library for Manafish interfaces ",
6
6
  "license": "AGPL-3.0-or-later",
7
7
  "repository": {
@@ -9,12 +9,12 @@ export type AutoSubmitProps = {
9
9
  export const AutoSubmit: Component<AutoSubmitProps> = (props) => {
10
10
  const form = useFormContext();
11
11
  const values = form.useStore((state) => state.values);
12
- const isTouched = form.useStore((state) => state.isTouched);
12
+ const isDirty = form.useStore((state) => state.isDirty);
13
13
 
14
14
  createEffect(() => {
15
15
  values();
16
16
 
17
- if (!isTouched()) {
17
+ if (!isDirty()) {
18
18
  return;
19
19
  }
20
20
 
@@ -1,11 +1,11 @@
1
1
  /* Toast positioning and animations - required for Ark UI stacking behavior */
2
2
 
3
3
  [data-scope='toast'][data-part='root'] {
4
- translate: var(--x, 0px) var(--y, 0px);
5
- scale: var(--scale, 1);
6
- z-index: var(--z-index, 1);
7
- height: var(--height, auto);
8
- opacity: var(--opacity, 1);
4
+ translate: var(--x) var(--y);
5
+ scale: var(--scale);
6
+ z-index: var(--z-index);
7
+ height: var(--height);
8
+ opacity: var(--opacity);
9
9
  will-change: translate, opacity, scale, height;
10
10
  transition:
11
11
  translate 400ms,