ariadne_view_components 0.0.42-x86_64-linux → 0.0.43-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -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
- metadata +12 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4261f61c7046a8639c29a8704dbf2030b23b7f00ce54e0ab15d3bab66c40cbe1
|
4
|
+
data.tar.gz: 0d4e1e4f56a960eacd504bf80a85e52d512e28ed9ed24e5603858f0b9a35c332
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27356ca48cfc853bb8be0a26cdd6c9618450576d3d19a23e3c1f3bde923ca1067050b9ab4e6fb2a79faff5ff4e1cacc4cb4d48d364ffd7559f10570297976bc1
|
7
|
+
data.tar.gz: 49be04ae9907af51f60614a532c481f2790f5d6da8060f17b3cda04b6986e931ccaf47078a016985d115ca1b932071a0fe4a9c32662f4ac3cd7a0b96591726c1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
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
|
+
|
3
11
|
## [v0.0.41](https://github.com/yettoapp/ariadne/tree/v0.0.41) (2023-05-01)
|
4
12
|
|
5
13
|
[Full Changelog](https://github.com/yettoapp/ariadne/compare/v0.0.40...v0.0.41)
|
@@ -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 {};
|