@thinkpixellab-public/px-vue 5.0.2 → 5.0.3

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.
@@ -45,6 +45,7 @@
45
45
  ...(positionCss || {}),
46
46
  ...popupStyle,
47
47
  }"
48
+ v-bind="popupAttributes"
48
49
  >
49
50
  <slot />
50
51
  </div>
@@ -169,6 +170,13 @@ export default {
169
170
  */
170
171
  popupStyle: { default: null },
171
172
 
173
+ /**
174
+ * Additional attributes that get spread onto the popup element. Useful
175
+ * for setting ARIA attributes (role, aria-modal, aria-labelledby, etc.)
176
+ * when this float is used as a dialog.
177
+ */
178
+ popupAttributes: { type: Object, default: null },
179
+
172
180
  /**
173
181
  * Whether to render an overlay element
174
182
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkpixellab-public/px-vue",
3
- "version": "5.0.2",
3
+ "version": "5.0.3",
4
4
  "description": "General purpose Vue components and helpers that can be used across projects.",
5
5
  "author": {
6
6
  "name": "Pixel Lab"