asta-ui 0.9.9 → 0.10.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/css/asta.css +2 -2
- package/css/asta.js +1 -1
- package/css/components.css +5 -5
- package/css/src/core.css +5 -5
- package/dist/base/billing.js +2 -2
- package/dist/base/button.js +1 -1
- package/dist/base/checkout.js +2 -2
- package/dist/base/comments.js +2 -2
- package/dist/base/cookie-consent.js +2 -2
- package/dist/base/dropdown-menu.js +2 -2
- package/dist/base/empty-state.js +2 -2
- package/dist/base/file-manager.js +2 -2
- package/dist/base/footer.js +2 -2
- package/dist/base/inbox.js +2 -2
- package/dist/base/invoice.js +2 -2
- package/dist/base/navbar.js +2 -2
- package/dist/base/onboarding.js +2 -2
- package/dist/base/pricing.js +2 -2
- package/dist/base/settings-panel.js +2 -2
- package/dist/base/sign-in.js +2 -2
- package/dist/base/team-members.js +2 -2
- package/dist/base.js +17 -17
- package/dist/billing.js +2 -2
- package/dist/button.js +1 -1
- package/dist/checkout.js +2 -2
- package/dist/{chunk-5ZQ6PMJT.js → chunk-22ILG5VV.js} +2 -2
- package/dist/{chunk-B6KIW23F.js → chunk-2RUX5OTU.js} +1 -1
- package/dist/{chunk-BQL7HJSV.js → chunk-2U3WJCWO.js} +1 -1
- package/dist/{chunk-KEPRNTOF.js → chunk-3F4MIHEK.js} +1 -1
- package/dist/{chunk-E6HAVXWS.js → chunk-5CD5RMFF.js} +1 -1
- package/dist/{chunk-3PSV752Q.js → chunk-7E5ZWVOH.js} +1 -1
- package/dist/{chunk-5EYHX66O.js → chunk-7YF3BCAH.js} +1 -1
- package/dist/{chunk-WYFRNK6S.js → chunk-BT7K6WI5.js} +1 -1
- package/dist/{chunk-Y5NPX36Y.js → chunk-BTSLCG3J.js} +1 -1
- package/dist/{chunk-IVTOFG7I.js → chunk-CYU52LAD.js} +1 -1
- package/dist/{chunk-LUDI3KWR.js → chunk-DQNJLPQZ.js} +1 -1
- package/dist/{chunk-TCCKCLEZ.js → chunk-DUAMPG7T.js} +1 -1
- package/dist/{chunk-TXHOOVX7.js → chunk-E4ZM7ZFL.js} +1 -1
- package/dist/{chunk-Z3PHHGUZ.js → chunk-HGQK3XJB.js} +1 -1
- package/dist/{chunk-3QC5SYGC.js → chunk-HKNI3L5Q.js} +1 -1
- package/dist/{chunk-MUURQUEM.js → chunk-HON5QYW7.js} +1 -1
- package/dist/{chunk-URXTC4RD.js → chunk-IS35SPLR.js} +1 -1
- package/dist/{chunk-3AJ4EBSV.js → chunk-JIQIQ7IZ.js} +1 -1
- package/dist/{chunk-GQZPSVLB.js → chunk-JZNZUL3S.js} +1 -1
- package/dist/{chunk-XWQNDAL5.js → chunk-KMYHXVOF.js} +1 -1
- package/dist/{chunk-KKDIIZQG.js → chunk-KY6XHDJY.js} +1 -1
- package/dist/{chunk-JZJWB5CQ.js → chunk-LBUUCJQE.js} +1 -1
- package/dist/{chunk-W3AUNR4J.js → chunk-N3ZDCARL.js} +1 -1
- package/dist/{chunk-H3LVWLBS.js → chunk-PFKHMDTK.js} +1 -1
- package/dist/{chunk-WSYMYSW3.js → chunk-QIZHAGI4.js} +1 -1
- package/dist/{chunk-HBKB2GXI.js → chunk-QJH5ZLJ7.js} +1 -1
- package/dist/{chunk-AF2WLL3H.js → chunk-R74CPGM2.js} +1 -1
- package/dist/{chunk-Q2QV62WV.js → chunk-TKXFGPCY.js} +1 -1
- package/dist/{chunk-GTRJUSVK.js → chunk-TSYFDGCR.js} +1 -1
- package/dist/{chunk-QKMSLSS6.js → chunk-V5SXW6U7.js} +1 -1
- package/dist/{chunk-HSDMCZMX.js → chunk-W5ZXNQUJ.js} +2 -2
- package/dist/{chunk-FC54ZZOS.js → chunk-WQM3JDLU.js} +1 -1
- package/dist/{chunk-M6UUAF25.js → chunk-XQQ2USYE.js} +1 -1
- package/dist/{chunk-XSNQN67K.js → chunk-YE6GLSZ4.js} +1 -1
- package/dist/comments.js +2 -2
- package/dist/cookie-consent.js +2 -2
- package/dist/dropdown-menu.js +2 -2
- package/dist/empty-state.js +2 -2
- package/dist/file-manager.js +2 -2
- package/dist/footer.js +2 -2
- package/dist/inbox.js +2 -2
- package/dist/index.js +17 -17
- package/dist/invoice.js +2 -2
- package/dist/navbar.js +2 -2
- package/dist/onboarding.js +2 -2
- package/dist/pricing.js +2 -2
- package/dist/settings-panel.js +2 -2
- package/dist/sign-in.js +2 -2
- package/dist/team-members.js +2 -2
- package/package.json +1 -1
package/css/asta.js
CHANGED
|
@@ -439,7 +439,7 @@
|
|
|
439
439
|
else boot();
|
|
440
440
|
document.addEventListener("htmx:afterSettle", (e) => scan(e.detail?.elt?.parentElement || document));
|
|
441
441
|
|
|
442
|
-
window.asta = { toast, open: (id) => open(byId(id)), close: (id) => close(byId(id)), version: "0.
|
|
442
|
+
window.asta = { toast, open: (id) => open(byId(id)), close: (id) => close(byId(id)), version: "0.10.0" };
|
|
443
443
|
})();
|
|
444
444
|
|
|
445
445
|
/* ---- runtime/agent.js ---- */
|
package/css/components.css
CHANGED
|
@@ -872,7 +872,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
|
|
|
872
872
|
@apply focus-visible:ring-2 focus-visible:ring-brand/50 focus-visible:ring-offset-2 focus-visible:ring-offset-paper;
|
|
873
873
|
@apply disabled:pointer-events-none disabled:opacity-45 aria-disabled:pointer-events-none aria-disabled:opacity-45 [&.htmx-request]:pointer-events-none;
|
|
874
874
|
@apply h-10 gap-2 rounded-lg px-4 text-[14px];
|
|
875
|
-
@apply bg-ink text-paper
|
|
875
|
+
@apply bg-ink text-paper bg-[image:linear-gradient(rgb(255_255_255/0.12),transparent)] shadow-[inset_0_1px_0_rgb(255_255_255/0.2),inset_0_0_0_1px_rgb(0_0_0/0.22),0_1px_2px_color-mix(in_srgb,var(--ink)_16%,transparent),0_4px_12px_-4px_color-mix(in_srgb,var(--ink)_26%,transparent)] hover:bg-[color-mix(in_srgb,var(--ink)_84%,var(--paper))];
|
|
876
876
|
}
|
|
877
877
|
.asta-btn-accent {
|
|
878
878
|
@apply bg-brand text-on-brand hover:bg-[color-mix(in_srgb,var(--brand)_88%,black)];
|
|
@@ -881,14 +881,14 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
|
|
|
881
881
|
@apply bg-ink text-paper hover:bg-[color-mix(in_srgb,var(--ink)_86%,var(--paper))];
|
|
882
882
|
}
|
|
883
883
|
.asta-btn-outline {
|
|
884
|
-
@apply bg-paper text-ink shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)
|
|
885
|
-
@apply hover:bg-paper
|
|
884
|
+
@apply bg-paper bg-none text-ink shadow-[inset_0_1px_0_rgb(255_255_255/0.9),inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_11%,transparent),0_1px_2px_color-mix(in_srgb,var(--ink)_6%,transparent),0_4px_12px_-4px_color-mix(in_srgb,var(--ink)_9%,transparent)];
|
|
885
|
+
@apply hover:bg-[color-mix(in_srgb,var(--ink)_3%,var(--paper))] hover:shadow-[inset_0_1px_0_rgb(255_255_255/0.9),inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_18%,transparent),0_1px_2px_color-mix(in_srgb,var(--ink)_8%,transparent),0_4px_12px_-4px_color-mix(in_srgb,var(--ink)_12%,transparent)];
|
|
886
886
|
}
|
|
887
887
|
.asta-btn-soft {
|
|
888
|
-
@apply bg-paper-2 text-ink shadow-none hover:bg-[color-mix(in_srgb,var(--ink)_8%,var(--paper-2))];
|
|
888
|
+
@apply bg-paper-2 bg-none text-ink shadow-none hover:bg-[color-mix(in_srgb,var(--ink)_8%,var(--paper-2))];
|
|
889
889
|
}
|
|
890
890
|
.asta-btn-ghost {
|
|
891
|
-
@apply bg-transparent text-ink-2 shadow-none hover:bg-paper-2 hover:text-ink;
|
|
891
|
+
@apply bg-transparent bg-none text-ink-2 shadow-none hover:bg-paper-2 hover:text-ink;
|
|
892
892
|
}
|
|
893
893
|
.asta-btn-link {
|
|
894
894
|
@apply !h-auto !px-0 bg-transparent text-ink shadow-none hover:bg-transparent bg-[linear-gradient(currentColor,currentColor)] bg-[length:0%_1px] bg-[position:0_100%] bg-no-repeat;
|
package/css/src/core.css
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
@apply focus-visible:ring-2 focus-visible:ring-brand/50 focus-visible:ring-offset-2 focus-visible:ring-offset-paper;
|
|
12
12
|
@apply disabled:pointer-events-none disabled:opacity-45 aria-disabled:pointer-events-none aria-disabled:opacity-45 [&.htmx-request]:pointer-events-none;
|
|
13
13
|
@apply h-10 gap-2 rounded-lg px-4 text-[14px];
|
|
14
|
-
@apply bg-ink text-paper
|
|
14
|
+
@apply bg-ink text-paper bg-[image:linear-gradient(rgb(255_255_255/0.12),transparent)] shadow-[inset_0_1px_0_rgb(255_255_255/0.2),inset_0_0_0_1px_rgb(0_0_0/0.22),0_1px_2px_color-mix(in_srgb,var(--ink)_16%,transparent),0_4px_12px_-4px_color-mix(in_srgb,var(--ink)_26%,transparent)] hover:bg-[color-mix(in_srgb,var(--ink)_84%,var(--paper))];
|
|
15
15
|
}
|
|
16
16
|
.asta-btn-accent {
|
|
17
17
|
@apply bg-brand text-on-brand hover:bg-[color-mix(in_srgb,var(--brand)_88%,black)];
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
@apply bg-ink text-paper hover:bg-[color-mix(in_srgb,var(--ink)_86%,var(--paper))];
|
|
21
21
|
}
|
|
22
22
|
.asta-btn-outline {
|
|
23
|
-
@apply bg-paper text-ink shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)
|
|
24
|
-
@apply hover:bg-paper
|
|
23
|
+
@apply bg-paper bg-none text-ink shadow-[inset_0_1px_0_rgb(255_255_255/0.9),inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_11%,transparent),0_1px_2px_color-mix(in_srgb,var(--ink)_6%,transparent),0_4px_12px_-4px_color-mix(in_srgb,var(--ink)_9%,transparent)];
|
|
24
|
+
@apply hover:bg-[color-mix(in_srgb,var(--ink)_3%,var(--paper))] hover:shadow-[inset_0_1px_0_rgb(255_255_255/0.9),inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_18%,transparent),0_1px_2px_color-mix(in_srgb,var(--ink)_8%,transparent),0_4px_12px_-4px_color-mix(in_srgb,var(--ink)_12%,transparent)];
|
|
25
25
|
}
|
|
26
26
|
.asta-btn-soft {
|
|
27
|
-
@apply bg-paper-2 text-ink shadow-none hover:bg-[color-mix(in_srgb,var(--ink)_8%,var(--paper-2))];
|
|
27
|
+
@apply bg-paper-2 bg-none text-ink shadow-none hover:bg-[color-mix(in_srgb,var(--ink)_8%,var(--paper-2))];
|
|
28
28
|
}
|
|
29
29
|
.asta-btn-ghost {
|
|
30
|
-
@apply bg-transparent text-ink-2 shadow-none hover:bg-paper-2 hover:text-ink;
|
|
30
|
+
@apply bg-transparent bg-none text-ink-2 shadow-none hover:bg-paper-2 hover:text-ink;
|
|
31
31
|
}
|
|
32
32
|
.asta-btn-link {
|
|
33
33
|
@apply !h-auto !px-0 bg-transparent text-ink shadow-none hover:bg-transparent bg-[linear-gradient(currentColor,currentColor)] bg-[length:0%_1px] bg-[position:0_100%] bg-no-repeat;
|
package/dist/base/billing.js
CHANGED
package/dist/base/button.js
CHANGED
package/dist/base/checkout.js
CHANGED
package/dist/base/comments.js
CHANGED
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
CookieConsent,
|
|
4
4
|
DEFAULT_CONSENT_CATEGORIES,
|
|
5
5
|
cookie_consent_default
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-R74CPGM2.js";
|
|
7
7
|
import "../chunk-5A36JYGI.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-W5ZXNQUJ.js";
|
|
9
9
|
export {
|
|
10
10
|
CookieConsent,
|
|
11
11
|
DEFAULT_CONSENT_CATEGORIES,
|
package/dist/base/empty-state.js
CHANGED
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
FileManager,
|
|
5
5
|
file_manager_default,
|
|
6
6
|
formatBytes
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-E4ZM7ZFL.js";
|
|
8
8
|
import "../chunk-VDSYL3LA.js";
|
|
9
9
|
import "../chunk-GX4ZHNG7.js";
|
|
10
10
|
import "../chunk-HJD3NQST.js";
|
|
11
11
|
import "../chunk-N3MCZYXP.js";
|
|
12
12
|
import "../chunk-QSQFJRFC.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-W5ZXNQUJ.js";
|
|
14
14
|
export {
|
|
15
15
|
FileKindIcon,
|
|
16
16
|
FileManager,
|
package/dist/base/footer.js
CHANGED
package/dist/base/inbox.js
CHANGED
package/dist/base/invoice.js
CHANGED
package/dist/base/navbar.js
CHANGED
package/dist/base/onboarding.js
CHANGED
package/dist/base/pricing.js
CHANGED
package/dist/base/sign-in.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
TeamMembers,
|
|
4
4
|
team_members_default
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-TKXFGPCY.js";
|
|
6
6
|
import "../chunk-4MBIQUM2.js";
|
|
7
7
|
import "../chunk-7IOMROVG.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-W5ZXNQUJ.js";
|
|
9
9
|
export {
|
|
10
10
|
TeamMembers,
|
|
11
11
|
team_members_default as default
|
package/dist/base.js
CHANGED
|
@@ -6,52 +6,52 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
Footer,
|
|
8
8
|
Newsletter
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XQQ2USYE.js";
|
|
10
10
|
import {
|
|
11
11
|
SignInCard
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BT7K6WI5.js";
|
|
13
13
|
import {
|
|
14
14
|
BillingSwitch,
|
|
15
15
|
Pricing,
|
|
16
16
|
RollingNumber
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DUAMPG7T.js";
|
|
18
18
|
import {
|
|
19
19
|
CommandPalette,
|
|
20
20
|
fuzzy
|
|
21
21
|
} from "./chunk-EQVJUIF4.js";
|
|
22
22
|
import {
|
|
23
23
|
SettingsPanel
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-TSYFDGCR.js";
|
|
25
25
|
import {
|
|
26
26
|
FileKindIcon,
|
|
27
27
|
FileManager,
|
|
28
28
|
formatBytes as formatBytes2
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-E4ZM7ZFL.js";
|
|
30
30
|
import {
|
|
31
31
|
Billing
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-7YF3BCAH.js";
|
|
33
33
|
import {
|
|
34
34
|
Testimonials
|
|
35
35
|
} from "./chunk-M32LPQKJ.js";
|
|
36
36
|
import {
|
|
37
37
|
Navbar
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-DQNJLPQZ.js";
|
|
39
39
|
import {
|
|
40
40
|
CookieConsent,
|
|
41
41
|
DEFAULT_CONSENT_CATEGORIES
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-R74CPGM2.js";
|
|
43
43
|
import {
|
|
44
44
|
Invoice
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-2U3WJCWO.js";
|
|
46
46
|
import {
|
|
47
47
|
Inbox
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-HON5QYW7.js";
|
|
49
49
|
import {
|
|
50
50
|
Checkout
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-5CD5RMFF.js";
|
|
52
52
|
import {
|
|
53
53
|
TeamMembers
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-TKXFGPCY.js";
|
|
55
55
|
import {
|
|
56
56
|
NotificationCenter
|
|
57
57
|
} from "./chunk-KE33WVT2.js";
|
|
@@ -66,13 +66,13 @@ import {
|
|
|
66
66
|
} from "./chunk-OOK5CF2D.js";
|
|
67
67
|
import {
|
|
68
68
|
Onboarding
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-PFKHMDTK.js";
|
|
70
70
|
import {
|
|
71
71
|
Comments
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-2RUX5OTU.js";
|
|
73
73
|
import {
|
|
74
74
|
EmptyState
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-7E5ZWVOH.js";
|
|
76
76
|
import {
|
|
77
77
|
Dialog
|
|
78
78
|
} from "./chunk-76NMSRFH.js";
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
} from "./chunk-4MBIQUM2.js";
|
|
85
85
|
import {
|
|
86
86
|
DropdownMenu
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-HKNI3L5Q.js";
|
|
88
88
|
import {
|
|
89
89
|
Tooltip
|
|
90
90
|
} from "./chunk-OUIOJROO.js";
|
|
@@ -717,7 +717,7 @@ import {
|
|
|
717
717
|
Button,
|
|
718
718
|
Spinner as Spinner2,
|
|
719
719
|
buttonClass
|
|
720
|
-
} from "./chunk-
|
|
720
|
+
} from "./chunk-W5ZXNQUJ.js";
|
|
721
721
|
import {
|
|
722
722
|
ArrowButton,
|
|
723
723
|
BeamButton,
|
package/dist/billing.js
CHANGED
package/dist/button.js
CHANGED
package/dist/checkout.js
CHANGED
|
@@ -5,12 +5,12 @@ import { Slot } from "radix-ui";
|
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
var cx = (...c) => c.filter(Boolean).join(" ");
|
|
7
7
|
var BASE = "group/btn relative inline-flex shrink-0 select-none items-center [&_svg]:shrink-0 justify-center whitespace-nowrap font-medium tracking-[-0.01em] outline-none transition-[background-color,color,box-shadow,transform,opacity] duration-200 ease-out active:scale-[0.97] focus-visible:ring-2 focus-visible:ring-brand/50 focus-visible:ring-offset-2 focus-visible:ring-offset-paper disabled:pointer-events-none disabled:opacity-45 aria-disabled:pointer-events-none aria-disabled:opacity-45";
|
|
8
|
-
var LIFT = "
|
|
8
|
+
var LIFT = "bg-[image:linear-gradient(rgb(255_255_255/0.12),transparent)] shadow-[inset_0_1px_0_rgb(255_255_255/0.2),inset_0_0_0_1px_rgb(0_0_0/0.22),0_1px_2px_color-mix(in_srgb,var(--ink)_16%,transparent),0_4px_12px_-4px_color-mix(in_srgb,var(--ink)_26%,transparent)]";
|
|
9
9
|
var VARIANT = {
|
|
10
10
|
solid: `bg-ink text-paper ${LIFT} hover:bg-[color-mix(in_srgb,var(--ink)_84%,var(--paper))]`,
|
|
11
11
|
accent: `bg-brand text-on-brand ${LIFT} hover:bg-[color-mix(in_srgb,var(--brand)_88%,black)]`,
|
|
12
12
|
danger: `bg-ink text-paper ${LIFT} hover:bg-[color-mix(in_srgb,var(--ink)_86%,var(--paper))]`,
|
|
13
|
-
outline: "bg-paper text-ink shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)
|
|
13
|
+
outline: "bg-paper text-ink shadow-[inset_0_1px_0_rgb(255_255_255/0.9),inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_11%,transparent),0_1px_2px_color-mix(in_srgb,var(--ink)_6%,transparent),0_4px_12px_-4px_color-mix(in_srgb,var(--ink)_9%,transparent)] hover:bg-[color-mix(in_srgb,var(--ink)_3%,var(--paper))] hover:shadow-[inset_0_1px_0_rgb(255_255_255/0.9),inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_18%,transparent),0_1px_2px_color-mix(in_srgb,var(--ink)_8%,transparent),0_4px_12px_-4px_color-mix(in_srgb,var(--ink)_12%,transparent)]",
|
|
14
14
|
soft: "bg-paper-2 text-ink hover:bg-[color-mix(in_srgb,var(--ink)_8%,var(--paper-2))]",
|
|
15
15
|
ghost: "text-ink-2 hover:bg-paper-2 hover:text-ink",
|
|
16
16
|
// Underline grows from the left on hover.
|