ariadne_view_components 0.0.41-arm64-darwin → 0.0.43-arm64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/app/assets/javascripts/ariadne-form.d.ts +22 -0
- data/app/assets/javascripts/ariadne.d.ts +2 -0
- data/app/assets/javascripts/ariadne_view_components.js +8 -0
- data/app/assets/javascripts/ariadne_view_components.js.map +1 -0
- data/app/assets/javascripts/clipboard_copy_component/clipboard-copy-component.d.ts +4 -0
- data/app/assets/javascripts/rich_text_area_component/rich-text-area-component.d.ts +6 -0
- data/app/assets/javascripts/slideover_component/slideover-component.d.ts +9 -0
- data/app/assets/javascripts/tab_container_component/tab-container-component.d.ts +1 -0
- data/app/assets/javascripts/tab_nav_component/tab-nav-component.d.ts +9 -0
- data/app/assets/javascripts/time_ago_component/time-ago-component.d.ts +1 -0
- data/app/assets/javascripts/tooltip_component/tooltip-component.d.ts +24 -0
- data/lib/ariadne/view_components/version.rb +1 -1
- data/lib/tasks/build.rake +0 -6
- data/lib/tasks/coverage.rake +1 -3
- data/lib/tasks/docs.rake +2 -2
- metadata +13 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d609badc3c23a714bd0ba1f1a7c0fa69563a2b88fad981ae9eac0af51a8f65dc
|
4
|
+
data.tar.gz: 6514e40b7562f98644c741a80f27ae4c608965605fbc3f06e5a45877837c04d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f46a8355ba9579567bef51e65974c3d476ceb32e53129325d06e06dac67fdcfbb701ff4a4d5a95c8ebecb82b22155ca4efcf1beb81510b48664d41f1b636203
|
7
|
+
data.tar.gz: c87c014fbe741d73fc592b57a9c28287c392387fece56256c38a10c34ae9ca39ff1581b3cbb2d82493dc1effb027ca11bccb041bb72094cde8a51ca7a214fd0d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v0.0.42](https://github.com/yettoapp/ariadne/tree/v0.0.42) (2023-05-02)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/yettoapp/ariadne/compare/v0.0.41...v0.0.42)
|
6
|
+
|
7
|
+
**Merged pull requests:**
|
8
|
+
|
9
|
+
- build\(deps-dev\): bump @typescript-eslint/parser from 5.36.1 to 5.59.2 [\#297](https://github.com/yettoapp/ariadne/pull/297) ([dependabot[bot]](https://github.com/apps/dependabot))
|
10
|
+
|
11
|
+
## [v0.0.41](https://github.com/yettoapp/ariadne/tree/v0.0.41) (2023-05-01)
|
12
|
+
|
13
|
+
[Full Changelog](https://github.com/yettoapp/ariadne/compare/v0.0.40...v0.0.41)
|
14
|
+
|
3
15
|
## [v0.0.40](https://github.com/yettoapp/ariadne/tree/v0.0.40) (2023-05-01)
|
4
16
|
|
5
17
|
[Full Changelog](https://github.com/yettoapp/ariadne/compare/v0.0.39...v0.0.40)
|
@@ -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 {};
|