@oscarpalmer/oui 0.16.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/badge.css +3 -3
- package/dist/css/content.css +9 -11
- package/dist/css/form.css +36 -22
- package/dist/css/message.css +4 -0
- package/dist/css/popover.css +3 -0
- package/dist/css/reset.css +176 -56
- package/dist/css/splitter.css +3 -3
- package/dist/css/tooltip.css +8 -0
- package/dist/js/attributable.full.js +48 -0
- package/dist/js/attributable.js +30 -45
- package/dist/js/floatable.full.js +413 -0
- package/dist/js/floatable.js +259 -132
- package/dist/js/focus-trap/embedded.full.js +351 -0
- package/dist/js/focus-trap/embedded.js +131 -131
- package/dist/js/focus-trap/standalone.full.js +402 -0
- package/dist/js/focus-trap/standalone.js +4 -4
- package/dist/js/index.js +4 -5
- package/dist/js/oui.full.js +1596 -0
- package/dist/js/popover.full.js +822 -0
- package/dist/js/popover.js +83 -156
- package/dist/js/splitter.full.js +605 -0
- package/dist/js/splitter.js +279 -200
- package/dist/js/tooltip.full.js +679 -0
- package/dist/js/tooltip.js +159 -144
- package/package.json +31 -59
- package/src/css/content.scss +1 -2
- package/src/css/form.scss +12 -4
- package/src/css/message.scss +3 -0
- package/src/css/mixins.scss +7 -0
- package/src/css/popover.scss +4 -0
- package/src/css/reset.scss +180 -54
- package/src/css/splitter.scss +3 -3
- package/src/css/tooltip.scss +8 -0
- package/src/js/floatable.ts +458 -124
- package/src/js/focus-trap/embedded.ts +149 -64
- package/src/js/focus-trap/standalone.ts +4 -4
- package/src/js/index.ts +1 -0
- package/src/js/popover.ts +51 -114
- package/src/js/splitter.ts +346 -109
- package/src/js/tooltip.ts +157 -63
- package/types/floatable.d.ts +19 -7
- package/types/focus-trap/embedded.d.ts +18 -5
- package/types/index.d.ts +1 -0
- package/types/popover.d.ts +2 -0
- package/types/splitter.d.ts +13 -1
- package/types/tooltip.d.ts +2 -1
- package/dist/js/attributable.cjs +0 -51
- package/dist/js/floatable.cjs +0 -134
- package/dist/js/focus-trap/embedded.cjs +0 -150
- package/dist/js/focus-trap/standalone.cjs +0 -8
- package/dist/js/index.cjs +0 -6
- package/dist/js/popover.cjs +0 -160
- package/dist/js/splitter.cjs +0 -211
- package/dist/js/tooltip.cjs +0 -160
- package/types/attributable.d.cts +0 -5
- package/types/floatable.d.cts +0 -16
- package/types/focus-trap/embedded.d.cts +0 -15
- package/types/focus-trap/standalone.d.cts +0 -3
- package/types/index.d.cts +0 -14
- package/types/popover.d.cts +0 -14
- package/types/splitter.d.cts +0 -10
- package/types/tooltip.d.cts +0 -3
package/types/floatable.d.cts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Generated by dts-bundle-generator v9.5.1
|
|
2
|
-
|
|
3
|
-
export declare class Floatable {
|
|
4
|
-
anchor: HTMLElement;
|
|
5
|
-
content: HTMLElement;
|
|
6
|
-
activate: number | undefined;
|
|
7
|
-
active: boolean;
|
|
8
|
-
deactivate: number | undefined;
|
|
9
|
-
frame: DOMHighResTimeStamp | undefined;
|
|
10
|
-
constructor(anchor: HTMLElement, content: HTMLElement);
|
|
11
|
-
destroy(): void;
|
|
12
|
-
}
|
|
13
|
-
export declare function activate(floatable: Floatable, active: Set<Floatable>, order?: Floatable[], time?: number): void;
|
|
14
|
-
export declare function deactivate(floatable: Floatable, active: Set<Floatable>, order?: Floatable[], time?: number): void;
|
|
15
|
-
|
|
16
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// Generated by dts-bundle-generator v9.5.1
|
|
2
|
-
|
|
3
|
-
export declare class FocusTrap {
|
|
4
|
-
element: HTMLElement;
|
|
5
|
-
active: boolean;
|
|
6
|
-
constructor(element: HTMLElement);
|
|
7
|
-
destroy(): void;
|
|
8
|
-
disable(): void;
|
|
9
|
-
enable(): void;
|
|
10
|
-
}
|
|
11
|
-
export declare function createFocusTrap(element: HTMLElement): FocusTrap;
|
|
12
|
-
export declare const focusTraps: WeakMap<HTMLElement, FocusTrap>;
|
|
13
|
-
export declare const selector = "oui-focus-trap";
|
|
14
|
-
|
|
15
|
-
export {};
|
package/types/index.d.cts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// Generated by dts-bundle-generator v9.5.1
|
|
2
|
-
|
|
3
|
-
export declare class OuiPopoverElement extends HTMLElement {
|
|
4
|
-
#private;
|
|
5
|
-
constructor();
|
|
6
|
-
close(): void;
|
|
7
|
-
hidePopover(): void;
|
|
8
|
-
open(): void;
|
|
9
|
-
showPopover(): void;
|
|
10
|
-
toggle(): void;
|
|
11
|
-
togglePopover(options?: boolean): boolean;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export {};
|
package/types/popover.d.cts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// Generated by dts-bundle-generator v9.5.1
|
|
2
|
-
|
|
3
|
-
export declare class OuiPopoverElement extends HTMLElement {
|
|
4
|
-
#private;
|
|
5
|
-
constructor();
|
|
6
|
-
close(): void;
|
|
7
|
-
hidePopover(): void;
|
|
8
|
-
open(): void;
|
|
9
|
-
showPopover(): void;
|
|
10
|
-
toggle(): void;
|
|
11
|
-
togglePopover(options?: boolean): boolean;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export {};
|
package/types/splitter.d.cts
DELETED
package/types/tooltip.d.cts
DELETED