ariadne_view_components 0.0.79.1 → 0.0.79.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/app/assets/javascripts/ariadne_view_components.js.gz +0 -0
- data/app/assets/stylesheets/ariadne_view_components.css +1 -1
- data/app/assets/stylesheets/ariadne_view_components.css.br +0 -0
- data/app/assets/stylesheets/ariadne_view_components.css.gz +0 -0
- data/app/components/ariadne/ariadne-form.js +83 -0
- data/app/components/ariadne/ariadne.js +40 -0
- data/app/components/ariadne/behaviors/captionable.rb +1 -1
- data/app/components/ariadne/behaviors/tooltipable.rb +1 -1
- data/app/components/ariadne/tmp/components/ariadne/ariadne-form.d.ts +22 -0
- data/app/components/ariadne/ui/blankslate/component.html.erb +2 -0
- data/app/components/ariadne/ui/button/component.rb +2 -0
- data/lib/ariadne/view_components/version.rb +1 -1
- metadata +10 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '048c2de15a977a603ebed563813879efff30bdff9fd640193cfd65aa3237ce57'
|
4
|
+
data.tar.gz: 5f7a09d1e89eaea8514b5cd3e0a9f8e67b83a2867fb1f9840311d7dc3375c075
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3186cb2fc5264741d594bfb6db352938b404f4b3272decd1879d43b6292bdb49d19c54df33e67740a6581f5af649e0b64fcdbf2ee55973a36acaedfc7d301a5
|
7
|
+
data.tar.gz: 15f4238a810e4595e91f351b3c782641b7f4a1dd60673348a5c5ed8f3da55809a7d49ff20191e99338e97b22fe1d52fa7b3479b04bbd151c96d40be486baa470
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## [v0.0.79.2] - 25-04-2024
|
2
|
+
**Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.79.1...v0.0.79.2
|
3
|
+
## [v0.0.79.1] - 25-04-2024
|
4
|
+
**Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.79...v0.0.79.1
|
1
5
|
## [v0.0.79] - 24-04-2024
|
2
6
|
**Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.78...v0.0.79
|
3
7
|
## [v0.0.78] - 23-04-2024
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
.scroll{scrollbar-color:rgb(163,166,177) transparent;scrollbar-color:oklch(.726563 .016 275 / 20) transparent}.scroll *::-webkit-scrollbar{height:1rem;width:.5rem}.scroll *::-webkit-scrollbar:horizontal{height:.5rem;width:1rem}.scroll *::-webkit-scrollbar-track{background-color:transparent}.scroll *::-webkit-scrollbar-thumb{background-color:#a3a6b133}.scroll *::-webkit-scrollbar-thumb:hover{background-color:#a3a6b166}.scroll *::-webkit-scrollbar-thumb{-webkit-transition-property:opacity;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}@media (min-width: 768px){.scrollbar-trigger *::-webkit-scrollbar-thumb{visibility:hidden}.scrollbar-trigger:hover *::-webkit-scrollbar-thumb{visibility:visible}}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e3ef}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Instrument Sans,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:Martian Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#b7bac5}input::placeholder,textarea::placeholder{opacity:1;color:#b7bac5}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.ariadne-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.ariadne-pointer-events-auto{pointer-events:auto}.ariadne-invisible{visibility:hidden}.ariadne-fixed{position:fixed}.ariadne-absolute{position:absolute}.ariadne-relative{position:relative}.ariadne-end-3{inset-inline-end:.75rem}.ariadne-top-3{top:.75rem}.ariadne-isolate{isolation:isolate}.ariadne-z-10{z-index:10}.ariadne-z-20{z-index:20}.ariadne-z-50{z-index:50}.ariadne-mx-6{margin-left:1.5rem;margin-right:1.5rem}.ariadne-mx-auto{margin-left:auto;margin-right:auto}.ariadne-mb-4{margin-bottom:1rem}.ariadne-ml-3{margin-left:.75rem}.ariadne-ml-4{margin-left:1rem}.ariadne-mt-1{margin-top:.25rem}.ariadne-mt-10{margin-top:2.5rem}.ariadne-mt-2{margin-top:.5rem}.ariadne-mt-4{margin-top:1rem}.ariadne-mt-6{margin-top:1.5rem}.ariadne-block{display:block}.ariadne-inline-block{display:inline-block}.ariadne-inline{display:inline}.ariadne-flex{display:flex}.ariadne-inline-flex{display:inline-flex}.ariadne-flow-root{display:flow-root}.ariadne-grid{display:grid}.ariadne-contents{display:contents}.ariadne-hidden{display:none}.ariadne-size-2{width:.5rem;height:.5rem}.ariadne-size-2\.5{width:.625rem;height:.625rem}.ariadne-size-3{width:.75rem;height:.75rem}.ariadne-h-10{height:2.5rem}.ariadne-h-12{height:3rem}.ariadne-h-16{height:4rem}.ariadne-h-2{height:.5rem}.ariadne-h-4{height:1rem}.ariadne-h-5{height:1.25rem}.ariadne-h-6{height:1.5rem}.ariadne-h-full{height:100%}.ariadne-h-screen{height:100vh}.ariadne-max-h-\[90-vh\]{max-height:90-vh}.ariadne-w-0{width:0px}.ariadne-w-10{width:2.5rem}.ariadne-w-12{width:3rem}.ariadne-w-16{width:4rem}.ariadne-w-2{width:.5rem}.ariadne-w-36{width:9rem}.ariadne-w-4{width:1rem}.ariadne-w-5{width:1.25rem}.ariadne-w-52{width:13rem}.ariadne-w-6{width:1.5rem}.ariadne-w-64{width:16rem}.ariadne-w-8{width:2rem}.ariadne-w-96{width:24rem}.ariadne-w-\[100px\]{width:100px}.ariadne-w-full{width:100%}.ariadne-w-max{width:-moz-max-content;width:max-content}.ariadne-min-w-0{min-width:0px}.ariadne-max-w-\[90vw\]{max-width:90vw}.ariadne-max-w-\[min\(144px\,90vw\)\]{max-width:min(144px,90vw)}.ariadne-max-w-\[min\(208px\,90vw\)\]{max-width:min(208px,90vw)}.ariadne-max-w-\[min\(384px\,90vw\)\]{max-width:min(384px,90vw)}.ariadne-max-w-full{max-width:100%}.ariadne-max-w-lg{max-width:32rem}.ariadne-max-w-sm{max-width:24rem}.ariadne-flex-1{flex:1 1 0%}.ariadne-flex-shrink-0,.ariadne-shrink-0{flex-shrink:0}.ariadne-grow{flex-grow:1}.ariadne-basis-1\/4{flex-basis:25%}.ariadne-caption-bottom{caption-side:bottom}.ariadne-translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ariadne-translate-y-2{--tw-translate-y: .5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ariadne-rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ariadne-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes ariadne-pulse{50%{opacity:.5}}.ariadne-animate-pulse{animation:ariadne-pulse 2s cubic-bezier(.4,0,.6,1) infinite}.ariadne-cursor-pointer{cursor:pointer}.ariadne-scroll-m-20{scroll-margin:5rem}.ariadne-list-none{list-style-type:none}.ariadne-appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.ariadne-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.ariadne-flex-row{flex-direction:row}.ariadne-flex-col{flex-direction:column}.ariadne-flex-wrap{flex-wrap:wrap}.ariadne-items-start{align-items:flex-start}.ariadne-items-center{align-items:center}.ariadne-justify-end{justify-content:flex-end}.ariadne-justify-center{justify-content:center}.ariadne-justify-between{justify-content:space-between}.ariadne-gap-0{gap:0px}.ariadne-gap-0\.5{gap:.125rem}.ariadne-gap-1{gap:.25rem}.ariadne-gap-2{gap:.5rem}.ariadne-gap-3{gap:.75rem}.ariadne-gap-6{gap:1.5rem}.ariadne-gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.ariadne-gap-x-1\.5{-moz-column-gap:.375rem;column-gap:.375rem}.ariadne-gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.ariadne-space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.ariadne-space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.ariadne-space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.ariadne-space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.ariadne-space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.ariadne-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.ariadne-space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.ariadne-space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.ariadne-space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.ariadne-divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.ariadne-divide-zinc-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgba(242,243,249,var(--tw-divide-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-divide-zinc-100>:not([hidden])~:not([hidden]){border-color:oklch(.964844 .008 275 / var(--tw-divide-opacity))}}.ariadne-overflow-auto{overflow:auto}.ariadne-overflow-hidden{overflow:hidden}.ariadne-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ariadne-whitespace-nowrap{white-space:nowrap}.ariadne-rounded{border-radius:.25rem}.ariadne-rounded-2xl{border-radius:1rem}.ariadne-rounded-full{border-radius:9999px}.ariadne-rounded-lg{border-radius:.5rem}.ariadne-rounded-md{border-radius:.375rem}.ariadne-rounded-xl{border-radius:.75rem}.ariadne-rounded-tl-sm{border-top-left-radius:.125rem}.ariadne-border{border-width:1px}.ariadne-border-0{border-width:0px}.ariadne-border-0\.5{border-width:.5px}.ariadne-border-b{border-bottom-width:1px}.ariadne-border-b-2{border-bottom-width:2px}.ariadne-border-solid{border-style:solid}.ariadne-border-billy-purple-700{--tw-border-opacity: 1;border-color:rgb(176 0 136 / var(--tw-border-opacity))}.ariadne-border-black\/10{border-color:#0000001a}.ariadne-border-gray-300{--tw-border-opacity: 1;border-color:rgba(203,206,218,var(--tw-border-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-border-gray-300{border-color:oklch(.853516 .016 275 / var(--tw-border-opacity))}}.ariadne-border-red-600{--tw-border-opacity: 1;border-color:rgba(205,98,101,var(--tw-border-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-border-red-600{border-color:oklch(.626953 .135937 20 / var(--tw-border-opacity))}}.ariadne-border-transparent{border-color:transparent}.ariadne-border-zinc-100{--tw-border-opacity: 1;border-color:rgba(242,243,249,var(--tw-border-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-border-zinc-100{border-color:oklch(.964844 .008 275 / var(--tw-border-opacity))}}.ariadne-border-zinc-200{--tw-border-opacity: 1;border-color:rgba(226,228,233,var(--tw-border-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-border-zinc-200{border-color:oklch(.917969 .008 275 / var(--tw-border-opacity))}}.ariadne-border-zinc-300{--tw-border-opacity: 1;border-color:rgba(205,206,212,var(--tw-border-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-border-zinc-300{border-color:oklch(.853516 .008 275 / var(--tw-border-opacity))}}.ariadne-bg-background{--tw-bg-opacity: 1;background-color:rgba(242,243,249,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-bg-background{background-color:oklch(.964844 .008 275 / var(--tw-bg-opacity))}}.ariadne-bg-blue-50{--tw-bg-opacity: 1;background-color:rgba(248,252,254,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-bg-blue-50{background-color:oklch(.988281 .0046875 240 / var(--tw-bg-opacity))}}.ariadne-bg-foreground{--tw-bg-opacity: 1;background-color:rgba(250,251,254,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-bg-foreground{background-color:oklch(.988281 .0046875 275 / var(--tw-bg-opacity))}}.ariadne-bg-gray-200{--tw-bg-opacity: 1;background-color:rgba(224,227,239,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-bg-gray-200{background-color:oklch(.917969 .016 275 / var(--tw-bg-opacity))}}.ariadne-bg-green-50{--tw-bg-opacity: 1;background-color:rgba(250,252,248,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-bg-green-50{background-color:oklch(.988281 .0046875 123.333 / var(--tw-bg-opacity))}}.ariadne-bg-neutral-100{--tw-bg-opacity: 1;background-color:rgba(243,243,243,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-bg-neutral-100{background-color:oklch(.964844 0 0 / var(--tw-bg-opacity))}}.ariadne-bg-primary{--tw-bg-opacity: 1;background-color:rgba(149,114,205,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-bg-primary{background-color:oklch(.625 .135937 300 / var(--tw-bg-opacity))}}.ariadne-bg-red-200{--tw-bg-opacity: 1;background-color:rgba(255,219,218,var(--tw-bg-opacity))}@supports (color: color(display-p3 0 0 0%)){.ariadne-bg-red-200{background-color:color(display-p3 .98165 .86321 .85651 / var(--tw-bg-opacity))}}@supports (color: oklab(0% 0 0%)){.ariadne-bg-red-200{background-color:oklch(.921875 .0421875 20 / var(--tw-bg-opacity))}}.ariadne-bg-red-50{--tw-bg-opacity: 1;background-color:rgba(254,250,250,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-bg-red-50{background-color:oklch(.988281 .0046875 20 / var(--tw-bg-opacity))}}.ariadne-bg-transparent{background-color:transparent}.ariadne-bg-yellow-50{--tw-bg-opacity: 1;background-color:rgba(252,251,248,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-bg-yellow-50{background-color:oklch(.988281 .0046875 90 / var(--tw-bg-opacity))}}.ariadne-bg-zinc-100{--tw-bg-opacity: 1;background-color:rgba(242,243,249,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-bg-zinc-100{background-color:oklch(.964844 .008 275 / var(--tw-bg-opacity))}}.ariadne-bg-zinc-50{--tw-bg-opacity: 1;background-color:rgba(250,251,255,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-bg-zinc-50{background-color:oklch(.988281 .004875 275 / var(--tw-bg-opacity))}}.ariadne-bg-zinc-950{--tw-bg-opacity: 1;background-color:rgba(19,20,24,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-bg-zinc-950{background-color:oklch(.193359 .008 275 / var(--tw-bg-opacity))}}.ariadne-object-cover{-o-object-fit:cover;object-fit:cover}.ariadne-object-center{-o-object-position:center;object-position:center}.ariadne-p-1{padding:.25rem}.ariadne-p-2{padding:.5rem}.ariadne-p-2\.5{padding:.625rem}.ariadne-p-3{padding:.75rem}.ariadne-p-4{padding:1rem}.ariadne-p-6{padding:1.5rem}.ariadne-p-px{padding:1px}.ariadne-px-0{padding-left:0;padding-right:0}.ariadne-px-0\.5{padding-left:.125rem;padding-right:.125rem}.ariadne-px-1{padding-left:.25rem;padding-right:.25rem}.ariadne-px-1\.5{padding-left:.375rem;padding-right:.375rem}.ariadne-px-2{padding-left:.5rem;padding-right:.5rem}.ariadne-px-2\.5{padding-left:.625rem;padding-right:.625rem}.ariadne-px-3{padding-left:.75rem;padding-right:.75rem}.ariadne-px-3\.5{padding-left:.875rem;padding-right:.875rem}.ariadne-px-4{padding-left:1rem;padding-right:1rem}.ariadne-px-6{padding-left:1.5rem;padding-right:1.5rem}.ariadne-px-\[0\.3rem\]{padding-left:.3rem;padding-right:.3rem}.ariadne-py-1{padding-top:.25rem;padding-bottom:.25rem}.ariadne-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.ariadne-py-12{padding-top:3rem;padding-bottom:3rem}.ariadne-py-2{padding-top:.5rem;padding-bottom:.5rem}.ariadne-py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.ariadne-py-6{padding-top:1.5rem;padding-bottom:1.5rem}.ariadne-py-\[0\.2rem\]{padding-top:.2rem;padding-bottom:.2rem}.ariadne-pb-0{padding-bottom:0}.ariadne-pb-2{padding-bottom:.5rem}.ariadne-pe-1{padding-inline-end:.25rem}.ariadne-pe-1\.5{padding-inline-end:.375rem}.ariadne-pe-5{padding-inline-end:1.25rem}.ariadne-ps-0{padding-inline-start:0px}.ariadne-ps-0\.5{padding-inline-start:.125rem}.ariadne-ps-1{padding-inline-start:.25rem}.ariadne-ps-2{padding-inline-start:.5rem}.ariadne-ps-4{padding-inline-start:1rem}.ariadne-pt-0{padding-top:0}.ariadne-pt-0\.5{padding-top:.125rem}.ariadne-text-left{text-align:left}.ariadne-text-center{text-align:center}.ariadne-align-middle{vertical-align:middle}.ariadne-font-mono{font-family:Martian Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.ariadne-text-2xl{font-size:1.5rem;line-height:2rem}.ariadne-text-3xl{font-size:1.875rem;line-height:2.25rem}.ariadne-text-4xl{font-size:2.25rem;line-height:2.5rem}.ariadne-text-base{font-size:1rem;line-height:1.5rem}.ariadne-text-lg{font-size:1.125rem;line-height:1.75rem}.ariadne-text-sm{font-size:.875rem;line-height:1.25rem}.ariadne-text-xl{font-size:1.25rem;line-height:1.75rem}.ariadne-text-xs{font-size:.75rem;line-height:1rem}.ariadne-font-extrabold{font-weight:800}.ariadne-font-medium{font-weight:500}.ariadne-font-semibold{font-weight:600}.ariadne-leading-10{line-height:2.5rem}.ariadne-leading-5{line-height:1.25rem}.ariadne-leading-6{line-height:1.5rem}.ariadne-leading-7{line-height:1.75rem}.ariadne-leading-8{line-height:2rem}.ariadne-leading-none{line-height:1}.ariadne-tracking-tight{letter-spacing:-.025em}.ariadne-text-billy-purple-700{--tw-text-opacity: 1;color:rgb(176 0 136 / var(--tw-text-opacity))}.ariadne-text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.ariadne-text-blue-700{--tw-text-opacity: 1;color:rgba(10,111,163,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-text-blue-700{color:oklch(.517578 .115625 240 / var(--tw-text-opacity))}}.ariadne-text-content{--tw-text-opacity: 1;color:rgba(45,46,51,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-text-content{color:oklch(.302734 .008 275 / var(--tw-text-opacity))}}.ariadne-text-gray-500{--tw-text-opacity: 1;color:rgba(163,166,177,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-text-gray-500{color:oklch(.726563 .016 275 / var(--tw-text-opacity))}}.ariadne-text-gray-900{--tw-text-opacity: 1;color:rgba(44,46,55,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-text-gray-900{color:oklch(.302734 .016 275 / var(--tw-text-opacity))}}.ariadne-text-green-700{--tw-text-opacity: 1;color:rgba(91,114,24,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-text-green-700{color:oklch(.515625 .115625 123.333 / var(--tw-text-opacity))}}.ariadne-text-indigo-600{--tw-text-opacity: 1;color:rgba(82,131,213,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-text-indigo-600{color:oklch(.613281 .135937 260 / var(--tw-text-opacity))}}.ariadne-text-primary-foreground{--tw-text-opacity: 1;color:rgba(250,251,254,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-text-primary-foreground{color:oklch(.988281 .0046875 275 / var(--tw-text-opacity))}}.ariadne-text-red-600{--tw-text-opacity: 1;color:rgba(205,98,101,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-text-red-600{color:oklch(.626953 .135937 20 / var(--tw-text-opacity))}}.ariadne-text-red-700{--tw-text-opacity: 1;color:rgba(166,78,81,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-text-red-700{color:oklch(.535156 .115625 20 / var(--tw-text-opacity))}}.ariadne-text-slate-500{--tw-text-opacity: 1;color:rgba(162,166,182,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-text-slate-500{color:oklch(.726563 .024 275 / var(--tw-text-opacity))}}.ariadne-text-transparent{color:transparent}.ariadne-text-yellow-700{--tw-text-opacity: 1;color:rgba(130,102,0,var(--tw-text-opacity))}@supports (color: color(display-p3 0 0 0%)){.ariadne-text-yellow-700{color:color(display-p3 .49822 .40284 .07199 / var(--tw-text-opacity))}}@supports (color: oklab(0% 0 0%)){.ariadne-text-yellow-700{color:oklch(.523438 .115625 90 / var(--tw-text-opacity))}}.ariadne-text-zinc-400{--tw-text-opacity: 1;color:rgba(184,186,191,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-text-zinc-400{color:oklch(.789063 .008 275 / var(--tw-text-opacity))}}.ariadne-text-zinc-50{--tw-text-opacity: 1;color:rgba(250,251,255,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-text-zinc-50{color:oklch(.988281 .004875 275 / var(--tw-text-opacity))}}.ariadne-opacity-0{opacity:0}.ariadne-opacity-100{opacity:1}.ariadne-shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ariadne-shadow-lg{--tw-shadow: 0px 4px 16px 0px rgba(0 0 0 / 10%);--tw-shadow-colored: 0px 4px 16px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ariadne-shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ariadne-shadow-sm{--tw-shadow: 0 1px 3px 0 rgba(0 0 0 / 10%), 0 0 1px 0 rgba(0 0 0 / 10%);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ariadne-shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.\!ariadne-ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.ariadne-ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ariadne-ring-slate-950{--tw-ring-opacity: 1;--tw-ring-color: rgba(17, 20, 31, var(--tw-ring-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-ring-slate-950{--tw-ring-color: oklch(.193359 .024 275 / var(--tw-ring-opacity))}}.ariadne-ring-opacity-5{--tw-ring-opacity: .05}.ariadne-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ariadne-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ariadne-duration-100{transition-duration:.1s}.ariadne-duration-300{transition-duration:.3s}.ariadne-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ariadne-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}summary::-webkit-details-marker{display:none}@media (prefers-reduced-motion){*{animation-duration:.01s;transition-duration:.01s}}.placeholder\:ariadne-text-zinc-600::-moz-placeholder{--tw-text-opacity: 1;color:rgba(131,132,137,var(--tw-text-opacity))}.placeholder\:ariadne-text-zinc-600::placeholder{--tw-text-opacity: 1;color:rgba(131,132,137,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.placeholder\:ariadne-text-zinc-600::-moz-placeholder{color:oklch(.613281 .008 275 / var(--tw-text-opacity))}.placeholder\:ariadne-text-zinc-600::placeholder{color:oklch(.613281 .008 275 / var(--tw-text-opacity))}}.backdrop\:ariadne-bg-zinc-900\/20::backdrop{background-color:#2d2e3333}.first\:ariadne-mt-0:first-child{margin-top:0}.focus-within\:ariadne-bg-zinc-100:focus-within{--tw-bg-opacity: 1;background-color:rgba(242,243,249,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.focus-within\:ariadne-bg-zinc-100:focus-within{background-color:oklch(.964844 .008 275 / var(--tw-bg-opacity))}}.hover\:ariadne-border-indigo-600:hover{--tw-border-opacity: 1;border-color:rgba(82,131,213,var(--tw-border-opacity))}@supports (color: oklab(0% 0 0%)){.hover\:ariadne-border-indigo-600:hover{border-color:oklch(.613281 .135937 260 / var(--tw-border-opacity))}}.hover\:ariadne-bg-accent:hover{--tw-bg-opacity: 1;background-color:rgba(242,243,249,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.hover\:ariadne-bg-accent:hover{background-color:oklch(.964844 .008 275 / var(--tw-bg-opacity))}}.hover\:ariadne-bg-primary-hover:hover{--tw-bg-opacity: 1;background-color:rgba(119,91,165,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.hover\:ariadne-bg-primary-hover:hover{background-color:oklch(.533203 .115625 300 / var(--tw-bg-opacity))}}.hover\:ariadne-bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgba(252,128,131,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.hover\:ariadne-bg-red-500:hover{background-color:oklch(.742188 .151562 20 / var(--tw-bg-opacity))}}.hover\:ariadne-bg-zinc-100:hover{--tw-bg-opacity: 1;background-color:rgba(242,243,249,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.hover\:ariadne-bg-zinc-100:hover{background-color:oklch(.964844 .008 275 / var(--tw-bg-opacity))}}.hover\:ariadne-bg-zinc-200\/20:hover{background-color:#e2e4e933}.hover\:ariadne-bg-zinc-300\/20:hover{background-color:#cdced433}.hover\:ariadne-text-accent-foreground:hover{--tw-text-opacity: 1;color:rgba(19,20,24,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.hover\:ariadne-text-accent-foreground:hover{color:oklch(.193359 .008 275 / var(--tw-text-opacity))}}.hover\:ariadne-text-indigo-600:hover{--tw-text-opacity: 1;color:rgba(82,131,213,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.hover\:ariadne-text-indigo-600:hover{color:oklch(.613281 .135937 260 / var(--tw-text-opacity))}}.hover\:ariadne-text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.focus\:\!ariadne-border-transparent:focus{border-color:transparent!important}.focus\:ariadne-border-blue-300:focus{--tw-border-opacity: 1;border-color:rgba(159,213,252,var(--tw-border-opacity))}@supports (color: oklab(0% 0 0%)){.focus\:ariadne-border-blue-300:focus{border-color:oklch(.849609 .078125 240 / var(--tw-border-opacity))}}.focus\:ariadne-bg-blue-300\/20:focus{background-color:#9fd5fc33}.focus\:ariadne-text-indigo-600:focus{--tw-text-opacity: 1;color:rgba(82,131,213,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.focus\:ariadne-text-indigo-600:focus{color:oklch(.613281 .135937 260 / var(--tw-text-opacity))}}.focus\:ariadne-ring-indigo-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgba(82, 131, 213, var(--tw-ring-opacity))}@supports (color: oklab(0% 0 0%)){.focus\:ariadne-ring-indigo-600:focus{--tw-ring-color: oklch(.613281 .135937 260 / var(--tw-ring-opacity))}}.focus-visible\:ariadne-outline:focus-visible{outline-style:solid}.focus-visible\:ariadne-outline-2:focus-visible{outline-width:2px}.focus-visible\:ariadne-outline-offset-2:focus-visible{outline-offset:2px}.active\:ariadne-border-transparent:active{border-color:transparent}.active\:ariadne-bg-indigo-700\/10:active{background-color:#4169ac1a}.active\:ariadne-bg-primary-active:active{--tw-bg-opacity: 1;background-color:rgba(84,64,118,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.active\:ariadne-bg-primary-active:active{background-color:oklch(.417969 .090625 300 / var(--tw-bg-opacity))}}.active\:ariadne-bg-red-600:active{--tw-bg-opacity: 1;background-color:rgba(205,98,101,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.active\:ariadne-bg-red-600:active{background-color:oklch(.626953 .135937 20 / var(--tw-bg-opacity))}}.active\:ariadne-bg-zinc-200\/80:active{background-color:#e2e4e9cc}.active\:ariadne-bg-zinc-500\/10:active{background-color:#a5a6ac1a}.active\:ariadne-text-white:active{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.disabled\:ariadne-cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:ariadne-border-transparent:disabled{border-color:transparent}.disabled\:ariadne-bg-primary-disabled-dark:disabled{--tw-bg-opacity: 1;background-color:rgba(201,172,252,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.disabled\:ariadne-bg-primary-disabled-dark:disabled{background-color:oklch(.798828 .114063 300 / var(--tw-bg-opacity))}}.disabled\:ariadne-bg-zinc-200:disabled{--tw-bg-opacity: 1;background-color:rgba(226,228,233,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.disabled\:ariadne-bg-zinc-200:disabled{background-color:oklch(.917969 .008 275 / var(--tw-bg-opacity))}}.disabled\:ariadne-text-primary-disabled-foreground-dark:disabled{--tw-text-opacity: 1;color:rgba(149,114,205,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.disabled\:ariadne-text-primary-disabled-foreground-dark:disabled{color:oklch(.625 .135937 300 / var(--tw-text-opacity))}}.disabled\:ariadne-text-zinc-400:disabled{--tw-text-opacity: 1;color:rgba(184,186,191,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.disabled\:ariadne-text-zinc-400:disabled{color:oklch(.789063 .008 275 / var(--tw-text-opacity))}}.ariadne-group:hover .group-hover\:ariadne-bg-zinc-200\/20{background-color:#e2e4e933}.ariadne-peer:checked~.peer-checked\:ariadne-visible{visibility:visible}.ariadne-peer:checked~.peer-checked\:ariadne-border-transparent{border-color:transparent}.ariadne-peer:checked~.peer-checked\:ariadne-bg-indigo-600{--tw-bg-opacity: 1;background-color:rgba(82,131,213,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-peer:checked~.peer-checked\:ariadne-bg-indigo-600{background-color:oklch(.613281 .135937 260 / var(--tw-bg-opacity))}}.ariadne-peer:checked~.peer-checked\:ariadne-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.ariadne-peer:checked~.peer-checked\:ariadne-text-zinc-700{--tw-text-opacity: 1;color:rgba(104,106,111,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-peer:checked~.peer-checked\:ariadne-text-zinc-700{color:oklch(.523438 .008 275 / var(--tw-text-opacity))}}.ariadne-peer:disabled~.peer-disabled\:ariadne-cursor-not-allowed{cursor:not-allowed}.ariadne-peer:disabled~.peer-disabled\:ariadne-opacity-70{opacity:.7}@media not all and (min-width: 640px){.max-sm\:ariadne-border-b{border-bottom-width:1px}}@media (min-width: 640px){.sm\:ariadne-mx-auto{margin-left:auto;margin-right:auto}.sm\:ariadne-w-full{width:100%}.sm\:ariadne-max-w-\[480px\]{max-width:480px}.sm\:ariadne-translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:ariadne-translate-x-2{--tw-translate-x: .5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:ariadne-translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:ariadne-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:ariadne-flex-row{flex-direction:row}.sm\:ariadne-rounded-lg{border-radius:.5rem}.sm\:ariadne-border-e{border-inline-end-width:1px}.sm\:ariadne-p-4{padding:1rem}.sm\:ariadne-px-12{padding-left:3rem;padding-right:3rem}.sm\:ariadne-px-4{padding-left:1rem;padding-right:1rem}}@media (min-width: 768px){.md\:ariadne-mx-auto{margin-left:auto;margin-right:auto}.md\:ariadne-w-4\/5{width:80%}.md\:ariadne-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 1024px){.lg\:ariadne-ml-4{margin-left:1rem}.lg\:ariadne-ml-6{margin-left:1.5rem}.lg\:ariadne-flex{display:flex}.lg\:ariadne-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:ariadne-items-center{align-items:center}.lg\:ariadne-space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.5rem * var(--tw-space-x-reverse));margin-left:calc(1.5rem * calc(1 - var(--tw-space-x-reverse)))}.lg\:ariadne-space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.lg\:ariadne-px-0{padding-left:0;padding-right:0}.lg\:ariadne-px-8{padding-left:2rem;padding-right:2rem}.lg\:ariadne-text-5xl{font-size:3rem;line-height:1}}@media (prefers-color-scheme: dark){.dark\:ariadne-divide-zinc-800>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgba(73,75,79,var(--tw-divide-opacity))}@supports (color: oklab(0% 0 0%)){.dark\:ariadne-divide-zinc-800>:not([hidden])~:not([hidden]){border-color:oklch(.412109 .008 275 / var(--tw-divide-opacity))}}.dark\:ariadne-border-b{border-bottom-width:1px}.dark\:ariadne-border-billy-purple-300{--tw-border-opacity: 1;border-color:rgb(200 74 176 / var(--tw-border-opacity))}.dark\:ariadne-border-white\/10{border-color:#ffffff1a}.dark\:ariadne-border-zinc-700{--tw-border-opacity: 1;border-color:rgba(104,106,111,var(--tw-border-opacity))}@supports (color: oklab(0% 0 0%)){.dark\:ariadne-border-zinc-700{border-color:oklch(.523438 .008 275 / var(--tw-border-opacity))}}.dark\:ariadne-border-zinc-900{--tw-border-opacity: 1;border-color:rgba(45,46,51,var(--tw-border-opacity))}@supports (color: oklab(0% 0 0%)){.dark\:ariadne-border-zinc-900{border-color:oklch(.302734 .008 275 / var(--tw-border-opacity))}}.dark\:ariadne-bg-background-dark{--tw-bg-opacity: 1;background-color:rgba(19,20,24,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.dark\:ariadne-bg-background-dark{background-color:oklch(.193359 .008 275 / var(--tw-bg-opacity))}}.dark\:ariadne-bg-foreground-dark{--tw-bg-opacity: 1;background-color:rgba(45,46,51,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.dark\:ariadne-bg-foreground-dark{background-color:oklch(.302734 .008 275 / var(--tw-bg-opacity))}}.dark\:ariadne-bg-gray-700{--tw-bg-opacity: 1;background-color:rgba(103,105,115,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.dark\:ariadne-bg-gray-700{background-color:oklch(.523438 .016 275 / var(--tw-bg-opacity))}}.dark\:ariadne-bg-red-900{--tw-bg-opacity: 1;background-color:rgba(75,32,33,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.dark\:ariadne-bg-red-900{background-color:oklch(.306641 .065625 20 / var(--tw-bg-opacity))}}.dark\:ariadne-bg-zinc-100{--tw-bg-opacity: 1;background-color:rgba(242,243,249,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.dark\:ariadne-bg-zinc-100{background-color:oklch(.964844 .008 275 / var(--tw-bg-opacity))}}.dark\:ariadne-bg-zinc-50{--tw-bg-opacity: 1;background-color:rgba(250,251,255,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.dark\:ariadne-bg-zinc-50{background-color:oklch(.988281 .004875 275 / var(--tw-bg-opacity))}}.dark\:ariadne-bg-zinc-900{--tw-bg-opacity: 1;background-color:rgba(45,46,51,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.dark\:ariadne-bg-zinc-900{background-color:oklch(.302734 .008 275 / var(--tw-bg-opacity))}}.dark\:ariadne-text-billy-purple-300{--tw-text-opacity: 1;color:rgb(200 74 176 / var(--tw-text-opacity))}.dark\:ariadne-text-content-dark{--tw-text-opacity: 1;color:rgba(242,243,249,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.dark\:ariadne-text-content-dark{color:oklch(.964844 .008 275 / var(--tw-text-opacity))}}.dark\:ariadne-text-slate-100{--tw-text-opacity: 1;color:rgba(240,243,255,var(--tw-text-opacity))}@supports (color: color(display-p3 0 0 0%)){.dark\:ariadne-text-slate-100{color:color(display-p3 .94177 .95165 .99851 / var(--tw-text-opacity))}}@supports (color: oklab(0% 0 0%)){.dark\:ariadne-text-slate-100{color:oklch(.964844 .01775 275 / var(--tw-text-opacity))}}.dark\:ariadne-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:ariadne-text-zinc-600{--tw-text-opacity: 1;color:rgba(131,132,137,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.dark\:ariadne-text-zinc-600{color:oklch(.613281 .008 275 / var(--tw-text-opacity))}}.dark\:ariadne-text-zinc-900{--tw-text-opacity: 1;color:rgba(45,46,51,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.dark\:ariadne-text-zinc-900{color:oklch(.302734 .008 275 / var(--tw-text-opacity))}}.dark\:ariadne-shadow-zinc-100\/50{--tw-shadow-color: rgba(242, 243, 249, .5);--tw-shadow: var(--tw-shadow-colored)}@supports (color: oklab(0% 0 0%)){.dark\:ariadne-shadow-zinc-100\/50{--tw-shadow-color: oklch(.964844 .008 275 / .5)}}.dark\:ariadne-shadow-zinc-50{--tw-shadow-color: rgb(250, 251, 255);--tw-shadow: var(--tw-shadow-colored)}@supports (color: oklab(0% 0 0%)){.dark\:ariadne-shadow-zinc-50{--tw-shadow-color: oklch(.988281 .004875 275 / 1)}}.dark\:ariadne-invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\:placeholder\:ariadne-text-zinc-400::-moz-placeholder{--tw-text-opacity: 1;color:rgba(184,186,191,var(--tw-text-opacity))}.dark\:placeholder\:ariadne-text-zinc-400::placeholder{--tw-text-opacity: 1;color:rgba(184,186,191,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.dark\:placeholder\:ariadne-text-zinc-400::-moz-placeholder{color:oklch(.789063 .008 275 / var(--tw-text-opacity))}.dark\:placeholder\:ariadne-text-zinc-400::placeholder{color:oklch(.789063 .008 275 / var(--tw-text-opacity))}}.backdrop\:dark\:ariadne-bg-zinc-100\/20::backdrop{background-color:#f2f3f933}.focus-within\:dark\:ariadne-bg-zinc-800:focus-within{--tw-bg-opacity: 1;background-color:rgba(73,75,79,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.focus-within\:dark\:ariadne-bg-zinc-800:focus-within{background-color:oklch(.412109 .008 275 / var(--tw-bg-opacity))}}.dark\:hover\:ariadne-border-indigo-400:hover{--tw-border-opacity: 1;border-color:rgba(144,187,255,var(--tw-border-opacity))}@supports (color: color(display-p3 0 0 0%)){.dark\:hover\:ariadne-border-indigo-400:hover{border-color:color(display-p3 .59635 .72902 .99463 / var(--tw-border-opacity))}}@supports (color: oklab(0% 0 0%)){.dark\:hover\:ariadne-border-indigo-400:hover{border-color:oklch(.789063 .114063 260 / var(--tw-border-opacity))}}.dark\:hover\:ariadne-bg-zinc-600\/20:hover{background-color:#83848933}.hover\:dark\:ariadne-bg-zinc-800:hover{--tw-bg-opacity: 1;background-color:rgba(73,75,79,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.hover\:dark\:ariadne-bg-zinc-800:hover{background-color:oklch(.412109 .008 275 / var(--tw-bg-opacity))}}.dark\:hover\:ariadne-text-indigo-400:hover{--tw-text-opacity: 1;color:rgba(144,187,255,var(--tw-text-opacity))}@supports (color: color(display-p3 0 0 0%)){.dark\:hover\:ariadne-text-indigo-400:hover{color:color(display-p3 .59635 .72902 .99463 / var(--tw-text-opacity))}}@supports (color: oklab(0% 0 0%)){.dark\:hover\:ariadne-text-indigo-400:hover{color:oklch(.789063 .114063 260 / var(--tw-text-opacity))}}.dark\:focus\:ariadne-border-blue-600:focus{--tw-border-opacity: 1;border-color:rgba(12,138,202,var(--tw-border-opacity))}@supports (color: oklab(0% 0 0%)){.dark\:focus\:ariadne-border-blue-600:focus{border-color:oklch(.605469 .135937 240 / var(--tw-border-opacity))}}.dark\:focus\:ariadne-bg-blue-600\/20:focus{background-color:#0c8aca33}.dark\:focus\:ariadne-text-indigo-400:focus{--tw-text-opacity: 1;color:rgba(144,187,255,var(--tw-text-opacity))}@supports (color: color(display-p3 0 0 0%)){.dark\:focus\:ariadne-text-indigo-400:focus{color:color(display-p3 .59635 .72902 .99463 / var(--tw-text-opacity))}}@supports (color: oklab(0% 0 0%)){.dark\:focus\:ariadne-text-indigo-400:focus{color:oklch(.789063 .114063 260 / var(--tw-text-opacity))}}.active\:dark\:ariadne-bg-indigo-300\/10:active{background-color:#b3d0ff1a;background-color:color(display-p3 .71915 .81354 .99753 / .1);background-color:oklch(.853516 .078125 260 / .1)}.dark\:active\:ariadne-bg-red-400:active{--tw-bg-opacity: 1;background-color:rgba(255,160,159,var(--tw-bg-opacity))}@supports (color: color(display-p3 0 0 0%)){.dark\:active\:ariadne-bg-red-400:active{background-color:color(display-p3 .94751 .64312 .63424 / var(--tw-bg-opacity))}}@supports (color: oklab(0% 0 0%)){.dark\:active\:ariadne-bg-red-400:active{background-color:oklch(.800781 .114063 20 / var(--tw-bg-opacity))}}.dark\:active\:ariadne-bg-zinc-500\/10:active{background-color:#a5a6ac1a}.dark\:active\:ariadne-bg-zinc-700\/20:active{background-color:#686a6f33}.dark\:disabled\:ariadne-bg-zinc-800:disabled{--tw-bg-opacity: 1;background-color:rgba(73,75,79,var(--tw-bg-opacity))}@supports (color: oklab(0% 0 0%)){.dark\:disabled\:ariadne-bg-zinc-800:disabled{background-color:oklch(.412109 .008 275 / var(--tw-bg-opacity))}}.dark\:disabled\:ariadne-text-zinc-600:disabled{--tw-text-opacity: 1;color:rgba(131,132,137,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.dark\:disabled\:ariadne-text-zinc-600:disabled{color:oklch(.613281 .008 275 / var(--tw-text-opacity))}}.ariadne-group:hover .dark\:group-hover\:ariadne-bg-zinc-700\/20{background-color:#686a6f33}.ariadne-peer:checked~.peer-checked\:dark\:ariadne-bg-indigo-500{--tw-bg-opacity: 1;background-color:rgba(112,166,255,var(--tw-bg-opacity))}@supports (color: color(display-p3 0 0 0%)){.ariadne-peer:checked~.peer-checked\:dark\:ariadne-bg-indigo-500{background-color:color(display-p3 .47474 .6438 .99465 / var(--tw-bg-opacity))}}@supports (color: oklab(0% 0 0%)){.ariadne-peer:checked~.peer-checked\:dark\:ariadne-bg-indigo-500{background-color:oklch(.726563 .151562 260 / var(--tw-bg-opacity))}}.ariadne-peer:checked~.peer-checked\:dark\:ariadne-text-zinc-300{--tw-text-opacity: 1;color:rgba(205,206,212,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.ariadne-peer:checked~.peer-checked\:dark\:ariadne-text-zinc-300{color:oklch(.853516 .008 275 / var(--tw-text-opacity))}}}.\[\&\:has\(\[role\=checkbox\]\)\]\:ariadne-pr-0:has([role=checkbox]){padding-right:0}.\[\&\:not\(\:focus\)\]\:enabled\:hover\:ariadne-border-red-700:hover:enabled:not(:focus){--tw-border-opacity: 1;border-color:rgba(166,78,81,var(--tw-border-opacity))}@supports (color: oklab(0% 0 0%)){.\[\&\:not\(\:focus\)\]\:enabled\:hover\:ariadne-border-red-700:hover:enabled:not(:focus){border-color:oklch(.535156 .115625 20 / var(--tw-border-opacity))}}.\[\&\:not\(\:focus\)\]\:enabled\:hover\:ariadne-border-zinc-300:hover:enabled:not(:focus){--tw-border-opacity: 1;border-color:rgba(205,206,212,var(--tw-border-opacity))}@supports (color: oklab(0% 0 0%)){.\[\&\:not\(\:focus\)\]\:enabled\:hover\:ariadne-border-zinc-300:hover:enabled:not(:focus){border-color:oklch(.853516 .008 275 / var(--tw-border-opacity))}}.\[\&\:not\(\:focus\)\]\:enabled\:hover\:ariadne-bg-red-300\/80:hover:enabled:not(:focus){background-color:#ffbebdcc;background-color:color(display-p3 .96737 .75397 .74438 / .8);background-color:oklch(.861328 .078125 20 / .8)}.\[\&\:not\(\:focus\)\]\:enabled\:hover\:ariadne-bg-zinc-200\/20:hover:enabled:not(:focus){background-color:#e2e4e933}@media (prefers-color-scheme: dark){.\[\&\:not\(\:focus\)\]\:dark\:enabled\:hover\:ariadne-border-red-700:hover:enabled:not(:focus){--tw-border-opacity: 1;border-color:rgba(166,78,81,var(--tw-border-opacity))}@supports (color: oklab(0% 0 0%)){.\[\&\:not\(\:focus\)\]\:dark\:enabled\:hover\:ariadne-border-red-700:hover:enabled:not(:focus){border-color:oklch(.535156 .115625 20 / var(--tw-border-opacity))}}.\[\&\:not\(\:focus\)\]\:dark\:enabled\:hover\:ariadne-border-zinc-600:hover:enabled:not(:focus){--tw-border-opacity: 1;border-color:rgba(131,132,137,var(--tw-border-opacity))}@supports (color: oklab(0% 0 0%)){.\[\&\:not\(\:focus\)\]\:dark\:enabled\:hover\:ariadne-border-zinc-600:hover:enabled:not(:focus){border-color:oklch(.613281 .008 275 / var(--tw-border-opacity))}}.\[\&\:not\(\:focus\)\]\:dark\:enabled\:hover\:ariadne-bg-red-900\/80:hover:enabled:not(:focus){background-color:#4b2021cc}.\[\&\:not\(\:focus\)\]\:dark\:enabled\:hover\:ariadne-bg-zinc-700\/20:hover:enabled:not(:focus){background-color:#686a6f33}}.\[\&\>svg\]\:ariadne-size-3>svg{width:.75rem;height:.75rem}.\[\&\>svg\]\:ariadne-size-4>svg{width:1rem;height:1rem}.\[\&\>svg\]\:ariadne-size-5>svg{width:1.25rem;height:1.25rem}.\[\&\>svg\]\:ariadne-text-zinc-400>svg{--tw-text-opacity: 1;color:rgba(184,186,191,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.\[\&\>svg\]\:ariadne-text-zinc-400>svg{color:oklch(.789063 .008 275 / var(--tw-text-opacity))}}@media (prefers-color-scheme: dark){.\[\&\>svg\]\:dark\:ariadne-text-zinc-600>svg{--tw-text-opacity: 1;color:rgba(131,132,137,var(--tw-text-opacity))}@supports (color: oklab(0% 0 0%)){.\[\&\>svg\]\:dark\:ariadne-text-zinc-600>svg{color:oklch(.613281 .008 275 / var(--tw-text-opacity))}}}.\[\&_tr\]\:ariadne-border-b tr{border-bottom-width:1px}
|
1
|
+
.scroll{scrollbar-color:theme("colors.gray.500/20") transparent}.scroll *::-webkit-scrollbar{@apply ariadne-h-4 ariadne-w-2;}.scroll *::-webkit-scrollbar:horizontal{@apply ariadne-h-2 ariadne-w-4;}.scroll *::-webkit-scrollbar-track{@apply ariadne-bg-transparent;}.scroll *::-webkit-scrollbar-thumb{@apply ariadne-bg-gray-500/20 hover:ariadne-bg-gray-500/40;@apply ariadne-transition-opacity;}.scrollbar-trigger *::-webkit-scrollbar-thumb{@apply md:ariadne-invisible;}.scrollbar-trigger:hover *::-webkit-scrollbar-thumb{@apply md:ariadne-visible;}@tailwind base;@tailwind components;@tailwind utilities;summary::-webkit-details-marker{display:none}@media (prefers-reduced-motion){*{animation-duration:.01s;transition-duration:.01s}}
|
Binary file
|
Binary file
|
@@ -0,0 +1,83 @@
|
|
1
|
+
import { Controller } from '@hotwired/stimulus';
|
2
|
+
import { html } from 'lit-html';
|
3
|
+
class AriadneFormWith extends Controller {
|
4
|
+
constructor() {
|
5
|
+
super(...arguments);
|
6
|
+
this.onBlur = (event) => {
|
7
|
+
this.validateField(event.target);
|
8
|
+
};
|
9
|
+
this.onSubmit = (event) => {
|
10
|
+
if (!this.validateForm()) {
|
11
|
+
event.preventDefault();
|
12
|
+
this.firstInvalidField?.focus();
|
13
|
+
}
|
14
|
+
};
|
15
|
+
this.getRenderString = (data) => {
|
16
|
+
const { strings, values } = data;
|
17
|
+
const v = [...values, ''].map(e => (typeof e === 'object' ? this.getRenderString(e) : e));
|
18
|
+
return strings.reduce((acc, s, i) => acc + s + v[i], '');
|
19
|
+
};
|
20
|
+
}
|
21
|
+
connect() {
|
22
|
+
this.element.setAttribute('novalidate', 'true');
|
23
|
+
this.element.addEventListener('blur', this.onBlur, true);
|
24
|
+
this.element.addEventListener('submit', this.onSubmit);
|
25
|
+
this.element.addEventListener('ajax:beforeSend', this.onSubmit);
|
26
|
+
}
|
27
|
+
disconnect() {
|
28
|
+
this.element.removeEventListener('blur', this.onBlur);
|
29
|
+
this.element.removeEventListener('submit', this.onSubmit);
|
30
|
+
this.element.removeEventListener('ajax:beforeSend', this.onSubmit);
|
31
|
+
}
|
32
|
+
validateForm() {
|
33
|
+
let isValid = true;
|
34
|
+
// Not using `find` because we want to validate all the fields
|
35
|
+
for (const field of this.formFields) {
|
36
|
+
if (this.shouldValidateField(field) && !this.validateField(field))
|
37
|
+
isValid = false;
|
38
|
+
}
|
39
|
+
return isValid;
|
40
|
+
}
|
41
|
+
validateField(field) {
|
42
|
+
if (!this.shouldValidateField(field))
|
43
|
+
return true;
|
44
|
+
const isValid = field.checkValidity();
|
45
|
+
field.classList.toggle('invalid', !isValid);
|
46
|
+
this.refreshErrorForInvalidField(field, isValid);
|
47
|
+
return isValid;
|
48
|
+
}
|
49
|
+
shouldValidateField(field) {
|
50
|
+
return (!field.disabled &&
|
51
|
+
!field.classList.contains('ProseMirror') &&
|
52
|
+
!['file', 'reset', 'submit', 'button'].includes(field.type));
|
53
|
+
}
|
54
|
+
refreshErrorForInvalidField(field, isValid) {
|
55
|
+
this.removeExistingErrorMessage(field);
|
56
|
+
if (!isValid)
|
57
|
+
this.showErrorForInvalidField(field);
|
58
|
+
}
|
59
|
+
removeExistingErrorMessage(field) {
|
60
|
+
const fieldContainer = field.closest('.field');
|
61
|
+
if (!fieldContainer)
|
62
|
+
return;
|
63
|
+
const existingErrorMessageElement = fieldContainer.querySelector('.error');
|
64
|
+
if (existingErrorMessageElement) {
|
65
|
+
existingErrorMessageElement?.parentNode?.removeChild(existingErrorMessageElement);
|
66
|
+
}
|
67
|
+
}
|
68
|
+
showErrorForInvalidField(field) {
|
69
|
+
field.insertAdjacentHTML('afterend', this.buildFieldErrorHtml(field));
|
70
|
+
}
|
71
|
+
buildFieldErrorHtml(field) {
|
72
|
+
const data = html `<p class="error">${field.validationMessage}</p>`;
|
73
|
+
return this.getRenderString(data);
|
74
|
+
}
|
75
|
+
get formFields() {
|
76
|
+
return Array.from(this.formFieldTargets);
|
77
|
+
}
|
78
|
+
get firstInvalidField() {
|
79
|
+
return this.formFields.find(field => !field.checkValidity());
|
80
|
+
}
|
81
|
+
}
|
82
|
+
AriadneFormWith.targets = ['formField'];
|
83
|
+
export default AriadneFormWith;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { Application } from '@hotwired/stimulus';
|
2
|
+
const application = Application.start();
|
3
|
+
application.debug = import.meta.env.DEV;
|
4
|
+
window.Stimulus = application;
|
5
|
+
const componentModules = import.meta.glob(['../../components/**/component.ts'], { eager: true });
|
6
|
+
for (const [path, module] of Object.entries(componentModules)) {
|
7
|
+
const dirs = path.split('/');
|
8
|
+
// Dropping ../../components and component.ts parts
|
9
|
+
const name = dirs
|
10
|
+
.slice(3, dirs.length - 1)
|
11
|
+
.join('-')
|
12
|
+
.replaceAll('_', '-')
|
13
|
+
.toLocaleLowerCase();
|
14
|
+
application.register(
|
15
|
+
// @tag stimulus-id
|
16
|
+
`ui-cmp-${name}`, module.default);
|
17
|
+
}
|
18
|
+
// import AriadneForm from './ariadne-form'
|
19
|
+
// import StringMatchController from './string_match_controller/string_match_controller'
|
20
|
+
// import EventsController from './events_controller/events_controller'
|
21
|
+
// import OptionsController from './options_controller/options_controller'
|
22
|
+
// import AccumulatorController from './accumulator_controller/accumulator_controller'
|
23
|
+
// import ToggleableController from './toggleable_controller/toggleable_controller'
|
24
|
+
// import ClipboardCopyComponent from './clipboard_copy_component/clipboard-copy-component'
|
25
|
+
// import SlideoverComponent from './slideover_component/slideover-component'
|
26
|
+
// import TabNavComponent from './tab_nav_component/tab-nav-component'
|
27
|
+
// import TooltipComponent from './tooltip_component/tooltip-component'
|
28
|
+
// import './tab_container_component/tab-container-component'
|
29
|
+
// import './time_ago_component/time-ago-component'
|
30
|
+
// const application = Application.start()
|
31
|
+
// application.register('clipboard-copy-component', ClipboardCopyComponent)
|
32
|
+
// application.register('ariadne-form', AriadneForm)
|
33
|
+
// application.register('slideover-component', SlideoverComponent)
|
34
|
+
// application.register('tab-nav-component', TabNavComponent)
|
35
|
+
// application.register('tooltip-component', TooltipComponent)
|
36
|
+
// application.register('toggleable', ToggleableController)
|
37
|
+
// application.register('accumulator', AccumulatorController)
|
38
|
+
// application.register('options', OptionsController)
|
39
|
+
// application.register('string-match', StringMatchController)
|
40
|
+
// application.register('events', EventsController)
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { Controller } from '@hotwired/stimulus';
|
2
|
+
import type { TemplateResult } from 'lit-html';
|
3
|
+
type HTMLFormField = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;
|
4
|
+
export default class AriadneFormWith extends Controller {
|
5
|
+
static targets: string[];
|
6
|
+
readonly formFieldTargets: [HTMLFormField];
|
7
|
+
connect(): void;
|
8
|
+
disconnect(): void;
|
9
|
+
onBlur: (event: Event) => void;
|
10
|
+
onSubmit: (event: Event) => void;
|
11
|
+
validateForm(): boolean;
|
12
|
+
validateField(field: HTMLFormField): boolean;
|
13
|
+
shouldValidateField(field: HTMLFormField): boolean;
|
14
|
+
refreshErrorForInvalidField(field: HTMLFormField, isValid: boolean): void;
|
15
|
+
removeExistingErrorMessage(field: HTMLFormField): void;
|
16
|
+
showErrorForInvalidField(field: HTMLFormField): void;
|
17
|
+
buildFieldErrorHtml(field: HTMLFormField): string;
|
18
|
+
get formFields(): HTMLFormField[];
|
19
|
+
get firstInvalidField(): HTMLFormField | undefined;
|
20
|
+
getRenderString: (data: TemplateResult) => string;
|
21
|
+
}
|
22
|
+
export {};
|
@@ -1,6 +1,8 @@
|
|
1
1
|
<div class="ariadne-grow ariadne-flex ariadne-flex-col ariadne-justify-center ariadne-items-center ariadne-gap-1">
|
2
2
|
<%= visual_icon %>
|
3
|
+
<div class="ariadne-pt-5">
|
3
4
|
<%= render(Ariadne::UI::Typography::Component.new(type: :ann)) { title } %>
|
5
|
+
</div>
|
4
6
|
<div class="ariadne-space-y-2">
|
5
7
|
<%= render(Ariadne::UI::Typography::Component.new(type: :lede)) { description } %>
|
6
8
|
</div>
|
@@ -25,6 +25,8 @@ module Ariadne
|
|
25
25
|
html_attrs[:class] = Ariadne::ViewComponents.tailwind_merger.merge([style(theme:, size:, icon_only:, width:), html_attrs[:class]].join(" "))
|
26
26
|
|
27
27
|
if link?
|
28
|
+
raise ArgumentError, "Button needs an `href` defined when using `as: :link`" if href.blank?
|
29
|
+
|
28
30
|
html_attrs[:href] = href
|
29
31
|
html_attrs.delete(:disabled)
|
30
32
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ariadne_view_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.79.
|
4
|
+
version: 0.0.79.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garen J. Torikian
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tailwind_merge
|
@@ -111,7 +111,7 @@ dependencies:
|
|
111
111
|
- - "~>"
|
112
112
|
- !ruby/object:Gem::Version
|
113
113
|
version: '0.2'
|
114
|
-
description:
|
114
|
+
description:
|
115
115
|
email:
|
116
116
|
- gjtorikian@yetto.app
|
117
117
|
executables: []
|
@@ -128,7 +128,9 @@ files:
|
|
128
128
|
- app/assets/stylesheets/ariadne_view_components.css
|
129
129
|
- app/assets/stylesheets/ariadne_view_components.css.br
|
130
130
|
- app/assets/stylesheets/ariadne_view_components.css.gz
|
131
|
+
- app/components/ariadne/ariadne-form.js
|
131
132
|
- app/components/ariadne/ariadne-form.ts
|
133
|
+
- app/components/ariadne/ariadne.js
|
132
134
|
- app/components/ariadne/base_component.rb
|
133
135
|
- app/components/ariadne/behaviors/captionable.rb
|
134
136
|
- app/components/ariadne/behaviors/tooltipable.rb
|
@@ -170,6 +172,7 @@ files:
|
|
170
172
|
- app/components/ariadne/layout/two_panel/component.rb
|
171
173
|
- app/components/ariadne/layout/wide/component.html.erb
|
172
174
|
- app/components/ariadne/layout/wide/component.rb
|
175
|
+
- app/components/ariadne/tmp/components/ariadne/ariadne-form.d.ts
|
173
176
|
- app/components/ariadne/turbo/frame/component.html.erb
|
174
177
|
- app/components/ariadne/turbo/frame/component.rb
|
175
178
|
- app/components/ariadne/turbo/stream_action/component.html.erb
|
@@ -309,7 +312,7 @@ licenses:
|
|
309
312
|
- AGPL-3.0-or-later
|
310
313
|
metadata:
|
311
314
|
allowed_push_host: https://rubygems.org
|
312
|
-
post_install_message:
|
315
|
+
post_install_message:
|
313
316
|
rdoc_options: []
|
314
317
|
require_paths:
|
315
318
|
- lib
|
@@ -324,8 +327,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
324
327
|
- !ruby/object:Gem::Version
|
325
328
|
version: '0'
|
326
329
|
requirements: []
|
327
|
-
rubygems_version: 3.4.
|
328
|
-
signing_key:
|
330
|
+
rubygems_version: 3.4.21
|
331
|
+
signing_key:
|
329
332
|
specification_version: 4
|
330
333
|
summary: ViewComponents + TailwindCSS + Stimulus
|
331
334
|
test_files: []
|