openproject-primer_view_components 0.33.2 → 0.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/app/assets/javascripts/lib/primer/forms/primer_text_field.d.ts +27 -0
- data/app/assets/javascripts/primer_view_components.js +1 -1
- data/app/assets/javascripts/primer_view_components.js.map +1 -1
- data/app/assets/styles/primer_view_components.css +1 -1
- data/app/assets/styles/primer_view_components.css.map +1 -1
- data/app/components/primer/alpha/action_menu/action_menu_element.js +13 -43
- data/app/components/primer/alpha/action_menu/action_menu_element.ts +13 -51
- data/app/components/primer/alpha/tab_nav.css +1 -1
- data/app/components/primer/alpha/tab_nav.css.json +2 -0
- data/app/components/primer/alpha/tab_nav.css.map +1 -1
- data/app/components/primer/alpha/tab_nav.pcss +11 -1
- data/app/components/primer/alpha/tab_panels.html.erb +5 -9
- data/app/components/primer/alpha/tab_panels.rb +4 -13
- data/app/components/primer/alpha/text_field.rb +1 -0
- data/app/components/primer/alpha/underline_nav.css +1 -1
- data/app/components/primer/alpha/underline_nav.css.json +2 -0
- data/app/components/primer/alpha/underline_nav.css.map +1 -1
- data/app/components/primer/alpha/underline_nav.pcss +7 -1
- data/app/components/primer/alpha/underline_panels.css +1 -0
- data/app/components/primer/alpha/underline_panels.css.json +6 -0
- data/app/components/primer/alpha/underline_panels.css.map +1 -0
- data/app/components/primer/alpha/underline_panels.html.erb +6 -8
- data/app/components/primer/alpha/underline_panels.pcss +4 -0
- data/app/components/primer/alpha/underline_panels.rb +6 -14
- data/app/components/primer/beta/icon_button.rb +5 -0
- data/app/components/primer/beta/relative_time.rb +3 -0
- data/app/components/primer/beta/spinner.html.erb +3 -0
- data/app/components/primer/beta/spinner.rb +15 -1
- data/app/components/primer/open_project/page_header.html.erb +3 -0
- data/app/components/primer/open_project/page_header.rb +16 -1
- data/app/components/primer/primer.pcss +1 -0
- data/lib/primer/forms/dsl/text_field_input.rb +8 -1
- data/lib/primer/forms/primer_text_field.d.ts +27 -0
- data/lib/primer/forms/primer_text_field.js +17 -5
- data/lib/primer/forms/primer_text_field.ts +24 -5
- data/lib/primer/forms/text_field.html.erb +6 -2
- data/lib/primer/view_components/version.rb +2 -2
- data/previews/primer/alpha/text_field_preview.rb +11 -0
- data/previews/primer/beta/breadcrumbs_preview.rb +9 -0
- data/previews/primer/beta/icon_button_preview/summary_as_button.html.erb +12 -0
- data/previews/primer/beta/icon_button_preview.rb +95 -14
- data/previews/primer/beta/relative_time_preview/link_with_tooltip.html.erb +13 -0
- data/previews/primer/beta/relative_time_preview.rb +12 -0
- data/previews/primer/beta/spinner_preview.rb +2 -2
- data/previews/primer/open_project/page_header_preview.rb +53 -5
- data/static/arguments.json +12 -12
- data/static/constants.json +1 -0
- data/static/info_arch.json +104 -13
- data/static/previews.json +91 -0
- metadata +9 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b88ceba074c5be82a8ce67ffc9fa8f4cd861ba25503752f85715d3904529729
|
4
|
+
data.tar.gz: bb5599d8f3867d0228d00dfb12a59b1585f13f54184ac6efd1e85307f4acb7a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0f355de41b0bbe49392e6d2d69e7b8fd97305387951d51809d19d07a6df557b937532e61a1f942cebea1c27dc42c93754f00f1bfec09599ab5f9e950e6e709f
|
7
|
+
data.tar.gz: ecbad35458263a187cb9ba67e34cd645ba4832fef4c515c387eb14bbc100842a263b48408b6bc98b1589bf58833a62e703545423fae73e9c40121ef6d7f4a7fe
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,31 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 0.35.0
|
4
|
+
|
5
|
+
### Minor Changes
|
6
|
+
|
7
|
+
- [#2884](https://github.com/primer/view_components/pull/2884) [`85f6a01`](https://github.com/opf/primer_view_components/commit/85f6a0193e6d7e8f5f1319d7454da16e1dd191ef) Thanks [@owenniblock](https://github.com/owenniblock)! - Adds default sr-only text to spinner component
|
8
|
+
|
9
|
+
- [#2855](https://github.com/primer/view_components/pull/2855) [`05159ca`](https://github.com/opf/primer_view_components/commit/05159caa06f59bc679ce2dffcd2f7a69ff9871c8) Thanks [@keithamus](https://github.com/keithamus)! - Upgrade @github/tab-container, using shadowdom
|
10
|
+
|
11
|
+
- [#2887](https://github.com/primer/view_components/pull/2887) [`5589bcf`](https://github.com/opf/primer_view_components/commit/5589bcfb50cf580690b4d8f46eb9f3ff031544ee) Thanks [@HDinger](https://github.com/HDinger)! - Add support for `target` attribute on links of Primer::Beta::Breadcrumbs
|
12
|
+
|
13
|
+
- [#2895](https://github.com/primer/view_components/pull/2895) [`bb1a15b`](https://github.com/opf/primer_view_components/commit/bb1a15bc5109c76aee0608cdd9a087866df9424e) Thanks [@camertron](https://github.com/camertron)! - Add a leading spinner to the TextField component.
|
14
|
+
|
15
|
+
### Patch Changes
|
16
|
+
|
17
|
+
- [#2872](https://github.com/primer/view_components/pull/2872) [`5445f2e`](https://github.com/opf/primer_view_components/commit/5445f2e89e20326099fbe5d44b1b16a2c5cedcc3) Thanks [@smockle](https://github.com/smockle)! - chore: Update '@github/relative-time-element' from 4.4.0 to 4.4.1
|
18
|
+
|
19
|
+
- [#2885](https://github.com/primer/view_components/pull/2885) [`37727e3`](https://github.com/opf/primer_view_components/commit/37727e34aabe6ae39450e56815d6efead3a803c4) Thanks [@camertron](https://github.com/camertron)! - Fix ActionMenu item activation by using PointerEvent instead of MouseEvent and KeyboardEvent.
|
20
|
+
|
21
|
+
- [#2904](https://github.com/primer/view_components/pull/2904) [`96307bf`](https://github.com/opf/primer_view_components/commit/96307bf3c82f1f70d21b95c5a24759fcb1d70d23) Thanks [@camertron](https://github.com/camertron)! - Fix CSS issue causing scrollbars to appear in tabs
|
22
|
+
|
23
|
+
## 0.34.0
|
24
|
+
|
25
|
+
### Minor Changes
|
26
|
+
|
27
|
+
- [#128](https://github.com/opf/primer_view_components/pull/128) [`7b7955d`](https://github.com/opf/primer_view_components/commit/7b7955d41b0f4b0dcdc6bb4176fce383c5beae6a) Thanks [@oliverguenther](https://github.com/oliverguenther)! - Allow segmented control action in page header
|
28
|
+
|
3
29
|
## 0.33.2
|
4
30
|
|
5
31
|
### Patch Changes
|
@@ -1 +1,28 @@
|
|
1
1
|
import '@github/auto-check-element';
|
2
|
+
import type { AutoCheckErrorEvent, AutoCheckSuccessEvent } from '@github/auto-check-element';
|
3
|
+
declare global {
|
4
|
+
interface HTMLElementEventMap {
|
5
|
+
'auto-check-success': AutoCheckSuccessEvent;
|
6
|
+
'auto-check-error': AutoCheckErrorEvent;
|
7
|
+
}
|
8
|
+
}
|
9
|
+
export declare class PrimerTextFieldElement extends HTMLElement {
|
10
|
+
#private;
|
11
|
+
inputElement: HTMLInputElement;
|
12
|
+
validationElement: HTMLElement;
|
13
|
+
validationMessageElement: HTMLElement;
|
14
|
+
validationSuccessIcon: HTMLElement;
|
15
|
+
validationErrorIcon: HTMLElement;
|
16
|
+
leadingVisual: HTMLElement;
|
17
|
+
leadingSpinner: HTMLElement;
|
18
|
+
connectedCallback(): void;
|
19
|
+
disconnectedCallback(): void;
|
20
|
+
clearContents(): void;
|
21
|
+
clearError(): void;
|
22
|
+
setValidationMessage(message: string): void;
|
23
|
+
toggleValidationStyling(isError: boolean): void;
|
24
|
+
setSuccess(message: string): void;
|
25
|
+
setError(message: string): void;
|
26
|
+
showLeadingSpinner(): void;
|
27
|
+
hideLeadingSpinner(): void;
|
28
|
+
}
|