@primer/view-components 0.19.1-rc.cc8be3e8 → 0.20.0-rc.439af4be
Sign up to get free protection for your applications and to get access to all the features.
- package/app/assets/javascripts/app/components/primer/alpha/action_list.d.ts +16 -0
- package/app/assets/javascripts/app/components/primer/beta/nav_list.d.ts +3 -0
- package/app/assets/javascripts/app/components/primer/primer.d.ts +1 -0
- package/app/assets/javascripts/primer_view_components.js +1 -1
- package/app/assets/javascripts/primer_view_components.js.map +1 -1
- package/app/assets/styles/primer_view_components.css +1 -1
- package/app/assets/styles/primer_view_components.css.map +1 -1
- package/app/components/primer/alpha/action_list.css +1 -1
- package/app/components/primer/alpha/action_list.css.json +2 -0
- package/app/components/primer/alpha/action_list.d.ts +16 -0
- package/app/components/primer/alpha/action_list.js +69 -0
- package/app/components/primer/alpha/banner.css +1 -1
- package/app/components/primer/alpha/text_field.css +1 -1
- package/app/components/primer/alpha/text_field.css.json +2 -0
- package/app/components/primer/beta/flash.css +1 -1
- package/app/components/primer/beta/nav_list.d.ts +3 -0
- package/app/components/primer/beta/nav_list.js +25 -2
- package/app/components/primer/beta/nav_list_group_element.js +4 -1
- package/app/components/primer/primer.d.ts +1 -0
- package/app/components/primer/primer.js +1 -0
- package/package.json +1 -1
- package/static/arguments.json +3 -3
- package/static/constants.json +15 -0
- package/static/info_arch.json +107 -3
- package/static/previews.json +104 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
export declare class ActionListTruncationObserver {
|
2
|
+
resizeObserver: ResizeObserver;
|
3
|
+
constructor(el: HTMLElement);
|
4
|
+
unobserve(el: HTMLElement): void;
|
5
|
+
update(el: HTMLElement): void;
|
6
|
+
}
|
7
|
+
export declare class ActionListElement extends HTMLElement {
|
8
|
+
#private;
|
9
|
+
connectedCallback(): void;
|
10
|
+
disconnectedCallback(): void;
|
11
|
+
}
|
12
|
+
declare global {
|
13
|
+
interface Window {
|
14
|
+
ActionListElement: typeof ActionListElement;
|
15
|
+
}
|
16
|
+
}
|
@@ -1,6 +1,9 @@
|
|
1
1
|
export declare class NavListElement extends HTMLElement {
|
2
2
|
#private;
|
3
3
|
items: HTMLElement[];
|
4
|
+
topLevelList: HTMLElement;
|
5
|
+
connectedCallback(): void;
|
6
|
+
disconnectedCallback(): void;
|
4
7
|
selectItemById(itemId: string | null): boolean;
|
5
8
|
selectItemByHref(href: string | null): boolean;
|
6
9
|
selectItemByCurrentLocation(): boolean;
|