@spark-ui/visually-hidden 0.4.22 → 0.4.23

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/CHANGELOG.md CHANGED
@@ -3,6 +3,13 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.4.23](https://github.com/adevinta/spark/compare/@spark-ui/visually-hidden@0.4.22...@spark-ui/visually-hidden@0.4.23) (2023-05-22)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **visually-hidden:** add missing display name ([80fd5d2](https://github.com/adevinta/spark/commit/80fd5d2a639d4540c5180a8438d1a17a8074309e))
11
+ - **visually-hidden:** props export name ([ec58953](https://github.com/adevinta/spark/commit/ec589538b21f11e5fa2c5e34a02bcbaabe0815f5))
12
+
6
13
  ## [0.4.22](https://github.com/adevinta/spark/compare/@spark-ui/visually-hidden@0.4.21...@spark-ui/visually-hidden@0.4.22) (2023-05-10)
7
14
 
8
15
  ### Bug Fixes
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes, PropsWithChildren } from 'react';
2
- export type SlotProps = PropsWithChildren<HTMLAttributes<HTMLElement>>;
2
+ export type VisuallyHiddenProps = PropsWithChildren<HTMLAttributes<HTMLElement>>;
3
3
  export declare const VisuallyHidden: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & {
4
4
  children?: import("react").ReactNode;
5
5
  } & import("react").RefAttributes<HTMLElement>>;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),o=require("@radix-ui/react-visually-hidden"),i=e.forwardRef((r,t)=>e.createElement(o.Root,{ref:t,...r}));exports.VisuallyHidden=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),l=require("@radix-ui/react-visually-hidden"),r=e.forwardRef((i,t)=>e.createElement(l.Root,{ref:t,...i}));r.displayName="VisuallyHidden",exports.VisuallyHidden=r;
package/dist/index.mjs CHANGED
@@ -1,6 +1,7 @@
1
- import o, { forwardRef as t } from "react";
2
- import { Root as a } from "@radix-ui/react-visually-hidden";
3
- const m = t((r, e) => o.createElement(a, { ref: e, ...r }));
1
+ import r, { forwardRef as o } from "react";
2
+ import { Root as i } from "@radix-ui/react-visually-hidden";
3
+ const s = o((e, a) => r.createElement(i, { ref: a, ...e }));
4
+ s.displayName = "VisuallyHidden";
4
5
  export {
5
- m as VisuallyHidden
6
+ s as VisuallyHidden
6
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-ui/visually-hidden",
3
- "version": "0.4.22",
3
+ "version": "0.4.23",
4
4
  "description": "Hides content from the screen in an accessible way",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -29,5 +29,5 @@
29
29
  },
30
30
  "homepage": "https://sparkui.vercel.app",
31
31
  "license": "MIT",
32
- "gitHead": "f83534112dc0eaf1fea3b747e5570fff39397b96"
32
+ "gitHead": "8adc6600491da246574c20a992638d0a682d26a3"
33
33
  }