@ariakit/solid 0.0.1 → 0.1.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.
Files changed (81) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/as/package.json +8 -0
  3. package/cjs/__chunks/275TU4BC.cjs +6 -0
  4. package/cjs/__chunks/2FUNANOD.cjs +8 -0
  5. package/cjs/__chunks/2Q354MOP.cjs +6 -0
  6. package/cjs/__chunks/BUMKLPBR.cjs +8 -0
  7. package/cjs/__chunks/ENRC3BJL.cjs +6 -0
  8. package/cjs/__chunks/PZXAM47S.cjs +8 -0
  9. package/cjs/__chunks/Y3LEMW77.cjs +6 -0
  10. package/cjs/as.cjs +6 -0
  11. package/cjs/as.d.cts +2 -0
  12. package/cjs/as.d.ts +2 -0
  13. package/cjs/focus-trap.cjs +8 -0
  14. package/cjs/focus-trap.d.cts +4 -0
  15. package/cjs/focus-trap.d.ts +4 -0
  16. package/cjs/group.cjs +8 -0
  17. package/cjs/group.d.cts +4 -0
  18. package/cjs/group.d.ts +4 -0
  19. package/cjs/heading.cjs +8 -0
  20. package/cjs/heading.d.cts +4 -0
  21. package/cjs/heading.d.ts +4 -0
  22. package/cjs/index.cjs +36 -0
  23. package/cjs/index.d.cts +7 -0
  24. package/cjs/index.d.ts +7 -0
  25. package/cjs/role.cjs +6 -0
  26. package/cjs/role.d.cts +2 -0
  27. package/cjs/role.d.ts +2 -0
  28. package/cjs/separator.cjs +6 -0
  29. package/cjs/separator.d.cts +2 -0
  30. package/cjs/separator.d.ts +2 -0
  31. package/cjs/visually-hidden.cjs +6 -0
  32. package/cjs/visually-hidden.d.cts +2 -0
  33. package/cjs/visually-hidden.d.ts +2 -0
  34. package/esm/__chunks/7XXSADQR.js +6 -0
  35. package/esm/__chunks/ISDRYYMK.js +8 -0
  36. package/esm/__chunks/IXFMZ5NQ.js +6 -0
  37. package/esm/__chunks/KOD5573B.js +6 -0
  38. package/esm/__chunks/T7DWLEZA.js +8 -0
  39. package/esm/__chunks/XEA3IT3C.js +8 -0
  40. package/esm/__chunks/XZXBRRIQ.js +6 -0
  41. package/esm/as.d.ts +2 -0
  42. package/esm/as.js +6 -0
  43. package/esm/focus-trap.d.ts +4 -0
  44. package/esm/focus-trap.js +8 -0
  45. package/esm/group.d.ts +4 -0
  46. package/esm/group.js +8 -0
  47. package/esm/heading.d.ts +4 -0
  48. package/esm/heading.js +8 -0
  49. package/esm/index.d.ts +7 -0
  50. package/esm/index.js +36 -0
  51. package/esm/role.d.ts +2 -0
  52. package/esm/role.js +6 -0
  53. package/esm/separator.d.ts +2 -0
  54. package/esm/separator.js +6 -0
  55. package/esm/visually-hidden.d.ts +2 -0
  56. package/esm/visually-hidden.js +6 -0
  57. package/focus-trap/package.json +8 -0
  58. package/group/package.json +8 -0
  59. package/heading/package.json +8 -0
  60. package/license +21 -0
  61. package/package.json +114 -6
  62. package/readme.md +98 -0
  63. package/role/package.json +8 -0
  64. package/separator/package.json +8 -0
  65. package/solid/__chunks/335JN5JN.jsx +8 -0
  66. package/solid/__chunks/B4J54GZO.jsx +8 -0
  67. package/solid/__chunks/KXPA77JC.jsx +6 -0
  68. package/solid/__chunks/LA2J7WFB.jsx +6 -0
  69. package/solid/__chunks/WJARI2OW.jsx +6 -0
  70. package/solid/__chunks/X7PMJEGW.jsx +8 -0
  71. package/solid/__chunks/ZUMGULQQ.jsx +6 -0
  72. package/solid/as.jsx +6 -0
  73. package/solid/focus-trap.jsx +8 -0
  74. package/solid/group.jsx +8 -0
  75. package/solid/heading.jsx +8 -0
  76. package/solid/index.jsx +36 -0
  77. package/solid/role.jsx +6 -0
  78. package/solid/separator.jsx +6 -0
  79. package/solid/visually-hidden.jsx +6 -0
  80. package/tsconfig.build.json +4 -0
  81. package/visually-hidden/package.json +8 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,6 @@
1
+ # @ariakit/solid
2
+
3
+ ## 0.1.0
4
+
5
+ - Initial release.
6
+ - Updated dependencies: `@ariakit/solid-core@0.1.0`
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@ariakit/solid/as",
3
+ "private": true,
4
+ "sideEffects": false,
5
+ "main": "../cjs/as.cjs",
6
+ "module": "../esm/as.js",
7
+ "types": "../cjs/as.d.ts"
8
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/visually-hidden.ts
2
+ var _visuallyhidden = require('@ariakit/solid-core/visually-hidden/visually-hidden');
3
+
4
+
5
+
6
+ exports.VisuallyHidden = _visuallyhidden.VisuallyHidden;
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/focus-trap.ts
2
+ var _focustrapregion = require('@ariakit/solid-core/focus-trap/focus-trap-region');
3
+ var _focustrap = require('@ariakit/solid-core/focus-trap/focus-trap');
4
+
5
+
6
+
7
+
8
+ exports.FocusTrapRegion = _focustrapregion.FocusTrapRegion; exports.FocusTrap = _focustrap.FocusTrap;
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/separator.ts
2
+ var _separator = require('@ariakit/solid-core/separator/separator');
3
+
4
+
5
+
6
+ exports.Separator = _separator.Separator;
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/group.ts
2
+ var _group = require('@ariakit/solid-core/group/group');
3
+ var _grouplabel = require('@ariakit/solid-core/group/group-label');
4
+
5
+
6
+
7
+
8
+ exports.Group = _group.Group; exports.GroupLabel = _grouplabel.GroupLabel;
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/role.ts
2
+ var _role = require('@ariakit/solid-core/role/role');
3
+
4
+
5
+
6
+ exports.Role = _role.Role;
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/heading.ts
2
+ var _heading = require('@ariakit/solid-core/heading/heading');
3
+ var _headinglevel = require('@ariakit/solid-core/heading/heading-level');
4
+
5
+
6
+
7
+
8
+ exports.Heading = _heading.Heading; exports.HeadingLevel = _headinglevel.HeadingLevel;
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/as.ts
2
+ var _as = require('@ariakit/solid-core/as/as');
3
+
4
+
5
+
6
+ exports.As = _as.As;
package/cjs/as.cjs ADDED
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _Y3LEMW77cjs = require('./__chunks/Y3LEMW77.cjs');
4
+
5
+
6
+ exports.As = _Y3LEMW77cjs.As;
package/cjs/as.d.cts ADDED
@@ -0,0 +1,2 @@
1
+ export { As } from "@ariakit/solid-core/as/as";
2
+ export type { AsProps } from "@ariakit/solid-core/as/as";
package/cjs/as.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { As } from "@ariakit/solid-core/as/as";
2
+ export type { AsProps } from "@ariakit/solid-core/as/as";
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _2FUNANODcjs = require('./__chunks/2FUNANOD.cjs');
5
+
6
+
7
+
8
+ exports.FocusTrap = _2FUNANODcjs.FocusTrap; exports.FocusTrapRegion = _2FUNANODcjs.FocusTrapRegion;
@@ -0,0 +1,4 @@
1
+ export { FocusTrapRegion } from "@ariakit/solid-core/focus-trap/focus-trap-region";
2
+ export { FocusTrap } from "@ariakit/solid-core/focus-trap/focus-trap";
3
+ export type { FocusTrapRegionOptions, FocusTrapRegionProps, } from "@ariakit/solid-core/focus-trap/focus-trap-region";
4
+ export type { FocusTrapOptions, FocusTrapProps, } from "@ariakit/solid-core/focus-trap/focus-trap";
@@ -0,0 +1,4 @@
1
+ export { FocusTrapRegion } from "@ariakit/solid-core/focus-trap/focus-trap-region";
2
+ export { FocusTrap } from "@ariakit/solid-core/focus-trap/focus-trap";
3
+ export type { FocusTrapRegionOptions, FocusTrapRegionProps, } from "@ariakit/solid-core/focus-trap/focus-trap-region";
4
+ export type { FocusTrapOptions, FocusTrapProps, } from "@ariakit/solid-core/focus-trap/focus-trap";
package/cjs/group.cjs ADDED
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _BUMKLPBRcjs = require('./__chunks/BUMKLPBR.cjs');
5
+
6
+
7
+
8
+ exports.Group = _BUMKLPBRcjs.Group; exports.GroupLabel = _BUMKLPBRcjs.GroupLabel;
@@ -0,0 +1,4 @@
1
+ export { Group } from "@ariakit/solid-core/group/group";
2
+ export { GroupLabel } from "@ariakit/solid-core/group/group-label";
3
+ export type { GroupOptions, GroupProps } from "@ariakit/solid-core/group/group";
4
+ export type { GroupLabelOptions, GroupLabelProps, } from "@ariakit/solid-core/group/group-label";
package/cjs/group.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export { Group } from "@ariakit/solid-core/group/group";
2
+ export { GroupLabel } from "@ariakit/solid-core/group/group-label";
3
+ export type { GroupOptions, GroupProps } from "@ariakit/solid-core/group/group";
4
+ export type { GroupLabelOptions, GroupLabelProps, } from "@ariakit/solid-core/group/group-label";
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _PZXAM47Scjs = require('./__chunks/PZXAM47S.cjs');
5
+
6
+
7
+
8
+ exports.Heading = _PZXAM47Scjs.Heading; exports.HeadingLevel = _PZXAM47Scjs.HeadingLevel;
@@ -0,0 +1,4 @@
1
+ export { Heading } from "@ariakit/solid-core/heading/heading";
2
+ export { HeadingLevel } from "@ariakit/solid-core/heading/heading-level";
3
+ export type { HeadingOptions, HeadingProps, } from "@ariakit/solid-core/heading/heading";
4
+ export type { HeadingLevelProps } from "@ariakit/solid-core/heading/heading-level";
@@ -0,0 +1,4 @@
1
+ export { Heading } from "@ariakit/solid-core/heading/heading";
2
+ export { HeadingLevel } from "@ariakit/solid-core/heading/heading-level";
3
+ export type { HeadingOptions, HeadingProps, } from "@ariakit/solid-core/heading/heading";
4
+ export type { HeadingLevelProps } from "@ariakit/solid-core/heading/heading-level";
package/cjs/index.cjs ADDED
@@ -0,0 +1,36 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _275TU4BCcjs = require('./__chunks/275TU4BC.cjs');
4
+
5
+
6
+ var _2Q354MOPcjs = require('./__chunks/2Q354MOP.cjs');
7
+
8
+
9
+ var _ENRC3BJLcjs = require('./__chunks/ENRC3BJL.cjs');
10
+
11
+
12
+
13
+ var _PZXAM47Scjs = require('./__chunks/PZXAM47S.cjs');
14
+
15
+
16
+
17
+ var _BUMKLPBRcjs = require('./__chunks/BUMKLPBR.cjs');
18
+
19
+
20
+
21
+ var _2FUNANODcjs = require('./__chunks/2FUNANOD.cjs');
22
+
23
+
24
+ var _Y3LEMW77cjs = require('./__chunks/Y3LEMW77.cjs');
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+ exports.As = _Y3LEMW77cjs.As; exports.FocusTrap = _2FUNANODcjs.FocusTrap; exports.FocusTrapRegion = _2FUNANODcjs.FocusTrapRegion; exports.Group = _BUMKLPBRcjs.Group; exports.GroupLabel = _BUMKLPBRcjs.GroupLabel; exports.Heading = _PZXAM47Scjs.Heading; exports.HeadingLevel = _PZXAM47Scjs.HeadingLevel; exports.Role = _ENRC3BJLcjs.Role; exports.Separator = _2Q354MOPcjs.Separator; exports.VisuallyHidden = _275TU4BCcjs.VisuallyHidden;
@@ -0,0 +1,7 @@
1
+ export * from "./as.ts";
2
+ export * from "./focus-trap.ts";
3
+ export * from "./group.ts";
4
+ export * from "./heading.ts";
5
+ export * from "./role.ts";
6
+ export * from "./separator.ts";
7
+ export * from "./visually-hidden.ts";
package/cjs/index.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ export * from "./as.ts";
2
+ export * from "./focus-trap.ts";
3
+ export * from "./group.ts";
4
+ export * from "./heading.ts";
5
+ export * from "./role.ts";
6
+ export * from "./separator.ts";
7
+ export * from "./visually-hidden.ts";
package/cjs/role.cjs ADDED
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _ENRC3BJLcjs = require('./__chunks/ENRC3BJL.cjs');
4
+
5
+
6
+ exports.Role = _ENRC3BJLcjs.Role;
package/cjs/role.d.cts ADDED
@@ -0,0 +1,2 @@
1
+ export { Role } from "@ariakit/solid-core/role/role";
2
+ export type { RoleOptions, RoleProps } from "@ariakit/solid-core/role/role";
package/cjs/role.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { Role } from "@ariakit/solid-core/role/role";
2
+ export type { RoleOptions, RoleProps } from "@ariakit/solid-core/role/role";
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _2Q354MOPcjs = require('./__chunks/2Q354MOP.cjs');
4
+
5
+
6
+ exports.Separator = _2Q354MOPcjs.Separator;
@@ -0,0 +1,2 @@
1
+ export { Separator } from "@ariakit/solid-core/separator/separator";
2
+ export type { SeparatorOptions, SeparatorProps, } from "@ariakit/solid-core/separator/separator";
@@ -0,0 +1,2 @@
1
+ export { Separator } from "@ariakit/solid-core/separator/separator";
2
+ export type { SeparatorOptions, SeparatorProps, } from "@ariakit/solid-core/separator/separator";
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _275TU4BCcjs = require('./__chunks/275TU4BC.cjs');
4
+
5
+
6
+ exports.VisuallyHidden = _275TU4BCcjs.VisuallyHidden;
@@ -0,0 +1,2 @@
1
+ export { VisuallyHidden } from "@ariakit/solid-core/visually-hidden/visually-hidden";
2
+ export type { VisuallyHiddenOptions, VisuallyHiddenProps, } from "@ariakit/solid-core/visually-hidden/visually-hidden";
@@ -0,0 +1,2 @@
1
+ export { VisuallyHidden } from "@ariakit/solid-core/visually-hidden/visually-hidden";
2
+ export type { VisuallyHiddenOptions, VisuallyHiddenProps, } from "@ariakit/solid-core/visually-hidden/visually-hidden";
@@ -0,0 +1,6 @@
1
+ // src/separator.ts
2
+ import { Separator } from "@ariakit/solid-core/separator/separator";
3
+
4
+ export {
5
+ Separator
6
+ };
@@ -0,0 +1,8 @@
1
+ // src/focus-trap.ts
2
+ import { FocusTrapRegion } from "@ariakit/solid-core/focus-trap/focus-trap-region";
3
+ import { FocusTrap } from "@ariakit/solid-core/focus-trap/focus-trap";
4
+
5
+ export {
6
+ FocusTrapRegion,
7
+ FocusTrap
8
+ };
@@ -0,0 +1,6 @@
1
+ // src/as.ts
2
+ import { As } from "@ariakit/solid-core/as/as";
3
+
4
+ export {
5
+ As
6
+ };
@@ -0,0 +1,6 @@
1
+ // src/role.ts
2
+ import { Role } from "@ariakit/solid-core/role/role";
3
+
4
+ export {
5
+ Role
6
+ };
@@ -0,0 +1,8 @@
1
+ // src/group.ts
2
+ import { Group } from "@ariakit/solid-core/group/group";
3
+ import { GroupLabel } from "@ariakit/solid-core/group/group-label";
4
+
5
+ export {
6
+ Group,
7
+ GroupLabel
8
+ };
@@ -0,0 +1,8 @@
1
+ // src/heading.ts
2
+ import { Heading } from "@ariakit/solid-core/heading/heading";
3
+ import { HeadingLevel } from "@ariakit/solid-core/heading/heading-level";
4
+
5
+ export {
6
+ Heading,
7
+ HeadingLevel
8
+ };
@@ -0,0 +1,6 @@
1
+ // src/visually-hidden.ts
2
+ import { VisuallyHidden } from "@ariakit/solid-core/visually-hidden/visually-hidden";
3
+
4
+ export {
5
+ VisuallyHidden
6
+ };
package/esm/as.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { As } from "@ariakit/solid-core/as/as";
2
+ export type { AsProps } from "@ariakit/solid-core/as/as";
package/esm/as.js ADDED
@@ -0,0 +1,6 @@
1
+ import {
2
+ As
3
+ } from "./__chunks/IXFMZ5NQ.js";
4
+ export {
5
+ As
6
+ };
@@ -0,0 +1,4 @@
1
+ export { FocusTrapRegion } from "@ariakit/solid-core/focus-trap/focus-trap-region";
2
+ export { FocusTrap } from "@ariakit/solid-core/focus-trap/focus-trap";
3
+ export type { FocusTrapRegionOptions, FocusTrapRegionProps, } from "@ariakit/solid-core/focus-trap/focus-trap-region";
4
+ export type { FocusTrapOptions, FocusTrapProps, } from "@ariakit/solid-core/focus-trap/focus-trap";
@@ -0,0 +1,8 @@
1
+ import {
2
+ FocusTrap,
3
+ FocusTrapRegion
4
+ } from "./__chunks/ISDRYYMK.js";
5
+ export {
6
+ FocusTrap,
7
+ FocusTrapRegion
8
+ };
package/esm/group.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export { Group } from "@ariakit/solid-core/group/group";
2
+ export { GroupLabel } from "@ariakit/solid-core/group/group-label";
3
+ export type { GroupOptions, GroupProps } from "@ariakit/solid-core/group/group";
4
+ export type { GroupLabelOptions, GroupLabelProps, } from "@ariakit/solid-core/group/group-label";
package/esm/group.js ADDED
@@ -0,0 +1,8 @@
1
+ import {
2
+ Group,
3
+ GroupLabel
4
+ } from "./__chunks/T7DWLEZA.js";
5
+ export {
6
+ Group,
7
+ GroupLabel
8
+ };
@@ -0,0 +1,4 @@
1
+ export { Heading } from "@ariakit/solid-core/heading/heading";
2
+ export { HeadingLevel } from "@ariakit/solid-core/heading/heading-level";
3
+ export type { HeadingOptions, HeadingProps, } from "@ariakit/solid-core/heading/heading";
4
+ export type { HeadingLevelProps } from "@ariakit/solid-core/heading/heading-level";
package/esm/heading.js ADDED
@@ -0,0 +1,8 @@
1
+ import {
2
+ Heading,
3
+ HeadingLevel
4
+ } from "./__chunks/XEA3IT3C.js";
5
+ export {
6
+ Heading,
7
+ HeadingLevel
8
+ };
package/esm/index.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ export * from "./as.ts";
2
+ export * from "./focus-trap.ts";
3
+ export * from "./group.ts";
4
+ export * from "./heading.ts";
5
+ export * from "./role.ts";
6
+ export * from "./separator.ts";
7
+ export * from "./visually-hidden.ts";
package/esm/index.js ADDED
@@ -0,0 +1,36 @@
1
+ import {
2
+ VisuallyHidden
3
+ } from "./__chunks/XZXBRRIQ.js";
4
+ import {
5
+ Separator
6
+ } from "./__chunks/7XXSADQR.js";
7
+ import {
8
+ Role
9
+ } from "./__chunks/KOD5573B.js";
10
+ import {
11
+ Heading,
12
+ HeadingLevel
13
+ } from "./__chunks/XEA3IT3C.js";
14
+ import {
15
+ Group,
16
+ GroupLabel
17
+ } from "./__chunks/T7DWLEZA.js";
18
+ import {
19
+ FocusTrap,
20
+ FocusTrapRegion
21
+ } from "./__chunks/ISDRYYMK.js";
22
+ import {
23
+ As
24
+ } from "./__chunks/IXFMZ5NQ.js";
25
+ export {
26
+ As,
27
+ FocusTrap,
28
+ FocusTrapRegion,
29
+ Group,
30
+ GroupLabel,
31
+ Heading,
32
+ HeadingLevel,
33
+ Role,
34
+ Separator,
35
+ VisuallyHidden
36
+ };
package/esm/role.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { Role } from "@ariakit/solid-core/role/role";
2
+ export type { RoleOptions, RoleProps } from "@ariakit/solid-core/role/role";
package/esm/role.js ADDED
@@ -0,0 +1,6 @@
1
+ import {
2
+ Role
3
+ } from "./__chunks/KOD5573B.js";
4
+ export {
5
+ Role
6
+ };
@@ -0,0 +1,2 @@
1
+ export { Separator } from "@ariakit/solid-core/separator/separator";
2
+ export type { SeparatorOptions, SeparatorProps, } from "@ariakit/solid-core/separator/separator";
@@ -0,0 +1,6 @@
1
+ import {
2
+ Separator
3
+ } from "./__chunks/7XXSADQR.js";
4
+ export {
5
+ Separator
6
+ };
@@ -0,0 +1,2 @@
1
+ export { VisuallyHidden } from "@ariakit/solid-core/visually-hidden/visually-hidden";
2
+ export type { VisuallyHiddenOptions, VisuallyHiddenProps, } from "@ariakit/solid-core/visually-hidden/visually-hidden";
@@ -0,0 +1,6 @@
1
+ import {
2
+ VisuallyHidden
3
+ } from "./__chunks/XZXBRRIQ.js";
4
+ export {
5
+ VisuallyHidden
6
+ };
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@ariakit/solid/focus-trap",
3
+ "private": true,
4
+ "sideEffects": false,
5
+ "main": "../cjs/focus-trap.cjs",
6
+ "module": "../esm/focus-trap.js",
7
+ "types": "../cjs/focus-trap.d.ts"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@ariakit/solid/group",
3
+ "private": true,
4
+ "sideEffects": false,
5
+ "main": "../cjs/group.cjs",
6
+ "module": "../esm/group.js",
7
+ "types": "../cjs/group.d.ts"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@ariakit/solid/heading",
3
+ "private": true,
4
+ "sideEffects": false,
5
+ "main": "../cjs/heading.cjs",
6
+ "module": "../esm/heading.js",
7
+ "types": "../cjs/heading.d.ts"
8
+ }
package/license ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Diego Haz, Dani Guardiola
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/package.json CHANGED
@@ -1,11 +1,119 @@
1
1
  {
2
2
  "name": "@ariakit/solid",
3
- "version": "0.0.1",
4
- "description": "",
5
- "main": "index.js",
3
+ "version": "0.1.0",
4
+ "description": "Toolkit for building accessible web apps with Solid",
5
+ "sideEffects": false,
6
+ "license": "MIT",
7
+ "homepage": "https://solid.ariakit.org",
8
+ "type": "module",
9
+ "main": "cjs/index.cjs",
10
+ "module": "esm/index.js",
11
+ "types": "cjs/index.d.ts",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/ariakit/ariakit.git",
15
+ "directory": "packages/ariakit-solid"
16
+ },
17
+ "author": {
18
+ "name": "Dani Guardiola",
19
+ "email": "hi@daniguardio.la",
20
+ "url": "https://dio.la"
21
+ },
22
+ "contributors": [
23
+ {
24
+ "name": "Diego Haz",
25
+ "email": "hazdiego@gmail.com",
26
+ "url": "https://github.com/diegohaz"
27
+ }
28
+ ],
29
+ "funding": {
30
+ "type": "opencollective",
31
+ "url": "https://opencollective.com/ariakit"
32
+ },
6
33
  "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
34
+ "lint": "biome check .",
35
+ "build": "node ../../scripts/build/build.js",
36
+ "clean": "node ../../scripts/build/clean.js"
37
+ },
38
+ "keywords": [
39
+ "ariakit",
40
+ "solid",
41
+ "a11y",
42
+ "ui",
43
+ "toolkit",
44
+ "components"
45
+ ],
46
+ "dependencies": {
47
+ "@ariakit/solid-core": "0.1.0"
48
+ },
49
+ "peerDependencies": {
50
+ "solid-js": "^1.8"
8
51
  },
9
- "author": "",
10
- "license": "MIT"
52
+ "exports": {
53
+ ".": {
54
+ "solid": "./solid/index.jsx",
55
+ "import": "./esm/index.js",
56
+ "require": {
57
+ "types": "./cjs/index.d.cts",
58
+ "default": "./cjs/index.cjs"
59
+ }
60
+ },
61
+ "./visually-hidden": {
62
+ "solid": "./solid/visually-hidden.jsx",
63
+ "import": "./esm/visually-hidden.js",
64
+ "require": {
65
+ "types": "./cjs/visually-hidden.d.cts",
66
+ "default": "./cjs/visually-hidden.cjs"
67
+ }
68
+ },
69
+ "./separator": {
70
+ "solid": "./solid/separator.jsx",
71
+ "import": "./esm/separator.js",
72
+ "require": {
73
+ "types": "./cjs/separator.d.cts",
74
+ "default": "./cjs/separator.cjs"
75
+ }
76
+ },
77
+ "./role": {
78
+ "solid": "./solid/role.jsx",
79
+ "import": "./esm/role.js",
80
+ "require": {
81
+ "types": "./cjs/role.d.cts",
82
+ "default": "./cjs/role.cjs"
83
+ }
84
+ },
85
+ "./heading": {
86
+ "solid": "./solid/heading.jsx",
87
+ "import": "./esm/heading.js",
88
+ "require": {
89
+ "types": "./cjs/heading.d.cts",
90
+ "default": "./cjs/heading.cjs"
91
+ }
92
+ },
93
+ "./group": {
94
+ "solid": "./solid/group.jsx",
95
+ "import": "./esm/group.js",
96
+ "require": {
97
+ "types": "./cjs/group.d.cts",
98
+ "default": "./cjs/group.cjs"
99
+ }
100
+ },
101
+ "./focus-trap": {
102
+ "solid": "./solid/focus-trap.jsx",
103
+ "import": "./esm/focus-trap.js",
104
+ "require": {
105
+ "types": "./cjs/focus-trap.d.cts",
106
+ "default": "./cjs/focus-trap.cjs"
107
+ }
108
+ },
109
+ "./as": {
110
+ "solid": "./solid/as.jsx",
111
+ "import": "./esm/as.js",
112
+ "require": {
113
+ "types": "./cjs/as.d.cts",
114
+ "default": "./cjs/as.cjs"
115
+ }
116
+ },
117
+ "./package.json": "./package.json"
118
+ }
11
119
  }
package/readme.md ADDED
@@ -0,0 +1,98 @@
1
+ <h1 align="center">Ariakit</h1>
2
+
3
+ <p align="center">
4
+ Toolkit for building accessible web apps with <a href="https://www.solidjs.com">Solid</a>.
5
+ <br>
6
+ <a href="https://solid.ariakit.org"><strong>Explore website »</strong></a>
7
+ </p>
8
+
9
+ <br>
10
+
11
+ <div align="center">
12
+ <a href="https://npmjs.org/package/@ariakit/solid">
13
+ <img alt="NPM version" src="https://img.shields.io/npm/v/@ariakit/solid.svg?logo=npm&color=007acc" />
14
+ </a>
15
+ <a href="https://github.com/ariakit/ariakit/releases">
16
+ <img alt="GitHub Release Date" src="https://img.shields.io/github/release-date/ariakit/ariakit?logo=github&color=007acc">
17
+ </a>
18
+ <a href="https://github.com/ariakit/ariakit/discussions">
19
+ <img alt="GitHub Discussions" src="https://img.shields.io/github/discussions/ariakit/ariakit?logo=github&color=007acc">
20
+ </a>
21
+ <br>
22
+ <a href="https://npmjs.org/package/@ariakit/solid">
23
+ <img alt="NPM downloads" src="https://img.shields.io/npm/dm/@ariakit/solid.svg?logo=npm&style=social">
24
+ </a>
25
+ &nbsp;
26
+ <a href="https://github.com/ariakit/ariakit/stargazers">
27
+ <img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/ariakit/ariakit?style=social">
28
+ </a>
29
+ &nbsp;
30
+ <a href="https://x.com/ariakitjs">
31
+ <img alt="Follow Ariakit on Twitter" src="https://img.shields.io/twitter/follow/ariakitjs.svg">
32
+ </a>
33
+ </div>
34
+
35
+ <br>
36
+
37
+ ## Installation
38
+
39
+ npm:
40
+
41
+ ```
42
+ npm i @ariakit/solid
43
+ ```
44
+
45
+ pnpm:
46
+
47
+ ```
48
+ pnpm add @ariakit/solid
49
+ ```
50
+
51
+ Yarn:
52
+
53
+ ```
54
+ yarn add @ariakit/solid
55
+ ```
56
+
57
+ ## Usage
58
+
59
+ <!-- TODO: make sure the example is accurate once these components are implemented -->
60
+
61
+ ```jsx
62
+ import { createSignal } from "solid-js";
63
+ import { render } from "solid-js/web";
64
+ import { Button, Dialog, DialogHeading } from "@ariakit/solid";
65
+
66
+ function App() {
67
+ const [open, setOpen] = createSignal(false);
68
+ return (
69
+ <>
70
+ <Button onClick={() => setOpen(true)}>Open dialog</Button>
71
+ <Dialog open={open()} onClose={() => setOpen(false)}>
72
+ <DialogHeading>Ariakit</DialogHeading>
73
+ <p>Welcome to Ariakit!</p>
74
+ </Dialog>
75
+ </>
76
+ );
77
+ }
78
+
79
+ render(() => <App />, document.getElementById("root")!);
80
+ ```
81
+
82
+ ## Core Team
83
+
84
+ - [Diego Haz](https://x.com/diegohaz)
85
+ - [Ben Rodri](https://x.com/benrodrs)
86
+
87
+ ## Ariakit Solid maintainers
88
+
89
+ - [Dani Guardiola](https://x.com/daniguardio_la)
90
+
91
+ ## Attribution
92
+
93
+ Browser testing provided by
94
+ <a href="https://www.browserstack.com" target="_blank"><img src="https://user-images.githubusercontent.com/15015324/45184727-368fbf80-b1fe-11e8-8827-08dbc80b0fb1.png" height="80" align="center"></a>
95
+
96
+ ## Contributing
97
+
98
+ Follow the instructions on the [contributing guide](https://github.com/ariakit/ariakit/blob/main/contributing.md).
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@ariakit/solid/role",
3
+ "private": true,
4
+ "sideEffects": false,
5
+ "main": "../cjs/role.cjs",
6
+ "module": "../esm/role.js",
7
+ "types": "../cjs/role.d.ts"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@ariakit/solid/separator",
3
+ "private": true,
4
+ "sideEffects": false,
5
+ "main": "../cjs/separator.cjs",
6
+ "module": "../esm/separator.js",
7
+ "types": "../cjs/separator.d.ts"
8
+ }
@@ -0,0 +1,8 @@
1
+ // src/focus-trap.ts
2
+ import { FocusTrapRegion } from "@ariakit/solid-core/focus-trap/focus-trap-region";
3
+ import { FocusTrap } from "@ariakit/solid-core/focus-trap/focus-trap";
4
+
5
+ export {
6
+ FocusTrapRegion,
7
+ FocusTrap
8
+ };
@@ -0,0 +1,8 @@
1
+ // src/heading.ts
2
+ import { Heading } from "@ariakit/solid-core/heading/heading";
3
+ import { HeadingLevel } from "@ariakit/solid-core/heading/heading-level";
4
+
5
+ export {
6
+ Heading,
7
+ HeadingLevel
8
+ };
@@ -0,0 +1,6 @@
1
+ // src/role.ts
2
+ import { Role } from "@ariakit/solid-core/role/role";
3
+
4
+ export {
5
+ Role
6
+ };
@@ -0,0 +1,6 @@
1
+ // src/visually-hidden.ts
2
+ import { VisuallyHidden } from "@ariakit/solid-core/visually-hidden/visually-hidden";
3
+
4
+ export {
5
+ VisuallyHidden
6
+ };
@@ -0,0 +1,6 @@
1
+ // src/as.ts
2
+ import { As } from "@ariakit/solid-core/as/as";
3
+
4
+ export {
5
+ As
6
+ };
@@ -0,0 +1,8 @@
1
+ // src/group.ts
2
+ import { Group } from "@ariakit/solid-core/group/group";
3
+ import { GroupLabel } from "@ariakit/solid-core/group/group-label";
4
+
5
+ export {
6
+ Group,
7
+ GroupLabel
8
+ };
@@ -0,0 +1,6 @@
1
+ // src/separator.ts
2
+ import { Separator } from "@ariakit/solid-core/separator/separator";
3
+
4
+ export {
5
+ Separator
6
+ };
package/solid/as.jsx ADDED
@@ -0,0 +1,6 @@
1
+ import {
2
+ As
3
+ } from "./__chunks/WJARI2OW.jsx";
4
+ export {
5
+ As
6
+ };
@@ -0,0 +1,8 @@
1
+ import {
2
+ FocusTrap,
3
+ FocusTrapRegion
4
+ } from "./__chunks/335JN5JN.jsx";
5
+ export {
6
+ FocusTrap,
7
+ FocusTrapRegion
8
+ };
@@ -0,0 +1,8 @@
1
+ import {
2
+ Group,
3
+ GroupLabel
4
+ } from "./__chunks/X7PMJEGW.jsx";
5
+ export {
6
+ Group,
7
+ GroupLabel
8
+ };
@@ -0,0 +1,8 @@
1
+ import {
2
+ Heading,
3
+ HeadingLevel
4
+ } from "./__chunks/B4J54GZO.jsx";
5
+ export {
6
+ Heading,
7
+ HeadingLevel
8
+ };
@@ -0,0 +1,36 @@
1
+ import {
2
+ VisuallyHidden
3
+ } from "./__chunks/LA2J7WFB.jsx";
4
+ import {
5
+ Separator
6
+ } from "./__chunks/ZUMGULQQ.jsx";
7
+ import {
8
+ Role
9
+ } from "./__chunks/KXPA77JC.jsx";
10
+ import {
11
+ Heading,
12
+ HeadingLevel
13
+ } from "./__chunks/B4J54GZO.jsx";
14
+ import {
15
+ Group,
16
+ GroupLabel
17
+ } from "./__chunks/X7PMJEGW.jsx";
18
+ import {
19
+ FocusTrap,
20
+ FocusTrapRegion
21
+ } from "./__chunks/335JN5JN.jsx";
22
+ import {
23
+ As
24
+ } from "./__chunks/WJARI2OW.jsx";
25
+ export {
26
+ As,
27
+ FocusTrap,
28
+ FocusTrapRegion,
29
+ Group,
30
+ GroupLabel,
31
+ Heading,
32
+ HeadingLevel,
33
+ Role,
34
+ Separator,
35
+ VisuallyHidden
36
+ };
package/solid/role.jsx ADDED
@@ -0,0 +1,6 @@
1
+ import {
2
+ Role
3
+ } from "./__chunks/KXPA77JC.jsx";
4
+ export {
5
+ Role
6
+ };
@@ -0,0 +1,6 @@
1
+ import {
2
+ Separator
3
+ } from "./__chunks/ZUMGULQQ.jsx";
4
+ export {
5
+ Separator
6
+ };
@@ -0,0 +1,6 @@
1
+ import {
2
+ VisuallyHidden
3
+ } from "./__chunks/LA2J7WFB.jsx";
4
+ export {
5
+ VisuallyHidden
6
+ };
@@ -0,0 +1,4 @@
1
+ {
2
+ "extends": "../../tsconfig.solid.json",
3
+ "include": ["src"]
4
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@ariakit/solid/visually-hidden",
3
+ "private": true,
4
+ "sideEffects": false,
5
+ "main": "../cjs/visually-hidden.cjs",
6
+ "module": "../esm/visually-hidden.js",
7
+ "types": "../cjs/visually-hidden.d.ts"
8
+ }