@stackoverflow/stacks 1.0.1 → 1.3.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/controllers/s-popover.d.ts +11 -2
- package/dist/css/stacks.css +282 -188
- package/dist/css/stacks.min.css +1 -1
- package/dist/js/stacks.js +39 -9
- package/dist/js/stacks.min.js +1 -1
- package/lib/css/atomic/spacing.less +10 -0
- package/lib/css/atomic/width-height.less +1 -1
- package/lib/css/components/activity-indicator.less +2 -3
- package/lib/css/components/avatars.less +1 -0
- package/lib/css/components/badges.less +47 -0
- package/lib/css/components/buttons.less +30 -6
- package/lib/css/components/inputs.less +10 -12
- package/lib/css/components/post-summary.less +32 -97
- package/lib/css/components/topbar.less +4 -1
- package/lib/css/exports/constants-colors.less +49 -49
- package/lib/ts/controllers/s-popover.ts +25 -5
- package/lib/ts/controllers/s-uploader.ts +26 -12
- package/package.json +26 -27
|
@@ -80,13 +80,17 @@ export declare class PopoverController extends BasePopoverController {
|
|
|
80
80
|
private boundHideOnOutsideClick;
|
|
81
81
|
private boundHideOnEscapePress;
|
|
82
82
|
/**
|
|
83
|
-
* Toggles optional classes in addition to BasePopoverController.shown
|
|
83
|
+
* Toggles optional classes and accessibility attributes in addition to BasePopoverController.shown
|
|
84
84
|
*/
|
|
85
85
|
protected shown(dispatcher?: Element | null): void;
|
|
86
86
|
/**
|
|
87
|
-
* Toggles optional classes in addition to BasePopoverController.hidden
|
|
87
|
+
* Toggles optional classes and accessibility attributes in addition to BasePopoverController.hidden
|
|
88
88
|
*/
|
|
89
89
|
protected hidden(dispatcher?: Element | null): void;
|
|
90
|
+
/**
|
|
91
|
+
* Initializes accessibility attributes in addition to BasePopoverController.connect
|
|
92
|
+
*/
|
|
93
|
+
connect(): void;
|
|
90
94
|
/**
|
|
91
95
|
* Binds global events to the document for hiding popovers on user interaction
|
|
92
96
|
*/
|
|
@@ -110,6 +114,11 @@ export declare class PopoverController extends BasePopoverController {
|
|
|
110
114
|
* @param {boolean=} show - A boolean indicating whether this is being triggered by a show or hide.
|
|
111
115
|
*/
|
|
112
116
|
private toggleOptionalClasses;
|
|
117
|
+
/**
|
|
118
|
+
* Toggles accessibility attributes based on whether the popover is shown or not
|
|
119
|
+
* @param {boolean=} show - A boolean indicating whether this is being triggered by a show or hide.
|
|
120
|
+
*/
|
|
121
|
+
private toggleAccessibilityAttributes;
|
|
113
122
|
}
|
|
114
123
|
/**
|
|
115
124
|
* Helper to manually show an s-popover element via external JS
|