@ariakit/solid-core 0.1.0 → 0.1.2
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 +8 -0
- package/cjs/focus-trap/focus-trap-region.d.cts +1 -1
- package/cjs/focus-trap/focus-trap-region.d.ts +1 -1
- package/cjs/group/group-label-context.d.cts +1 -1
- package/cjs/group/group-label-context.d.ts +1 -1
- package/cjs/group/group-label.cjs +3 -3
- package/cjs/group/group-label.d.cts +1 -1
- package/cjs/group/group-label.d.ts +1 -1
- package/cjs/group/group.cjs +3 -3
- package/cjs/group/group.d.cts +1 -1
- package/cjs/group/group.d.ts +1 -1
- package/cjs/heading/heading-context.d.cts +1 -1
- package/cjs/heading/heading-context.d.ts +1 -1
- package/cjs/heading/heading-level.d.cts +1 -1
- package/cjs/heading/heading-level.d.ts +1 -1
- package/cjs/heading/heading.cjs +3 -3
- package/cjs/heading/heading.d.cts +1 -1
- package/cjs/heading/heading.d.ts +1 -1
- package/cjs/utils/misc.d.cts +2 -2
- package/cjs/utils/misc.d.ts +2 -2
- package/cjs/utils/reactivity.d.cts +1 -1
- package/cjs/utils/reactivity.d.ts +1 -1
- package/cjs/utils/system.d.cts +3 -3
- package/cjs/utils/system.d.ts +3 -3
- package/esm/focus-trap/focus-trap-region.d.ts +1 -1
- package/esm/group/group-label-context.d.ts +1 -1
- package/esm/group/group-label.d.ts +1 -1
- package/esm/group/group-label.js +3 -3
- package/esm/group/group.d.ts +1 -1
- package/esm/group/group.js +3 -3
- package/esm/heading/heading-context.d.ts +1 -1
- package/esm/heading/heading-level.d.ts +1 -1
- package/esm/heading/heading.d.ts +1 -1
- package/esm/heading/heading.js +3 -3
- package/esm/utils/misc.d.ts +2 -2
- package/esm/utils/reactivity.d.ts +1 -1
- package/esm/utils/system.d.ts +3 -3
- package/license +1 -1
- package/package.json +84 -84
- package/readme.md +3 -6
- package/solid/group/group-label.jsx +4 -8
- package/solid/group/group.jsx +3 -3
- package/solid/heading/heading.jsx +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Setter } from "solid-js";
|
|
2
2
|
export declare const GroupLabelContext: import("solid-js").Context<Setter<string | undefined> | undefined>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Setter } from "solid-js";
|
|
2
2
|
export declare const GroupLabelContext: import("solid-js").Context<Setter<string | undefined> | undefined>;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var _53WPOLZUcjs = require('../__chunks/53WPOLZU.cjs');
|
|
4
|
-
|
|
5
|
-
|
|
6
3
|
var _GVOD7RTZcjs = require('../__chunks/GVOD7RTZ.cjs');
|
|
7
4
|
|
|
8
5
|
|
|
@@ -13,6 +10,9 @@ var _V3ZEI37Lcjs = require('../__chunks/V3ZEI37L.cjs');
|
|
|
13
10
|
|
|
14
11
|
var _RLO4RIGLcjs = require('../__chunks/RLO4RIGL.cjs');
|
|
15
12
|
|
|
13
|
+
|
|
14
|
+
var _53WPOLZUcjs = require('../__chunks/53WPOLZU.cjs');
|
|
15
|
+
|
|
16
16
|
// src/group/group-label.tsx
|
|
17
17
|
var _solidjs = require('solid-js');
|
|
18
18
|
var TagName = "div";
|
package/cjs/group/group.cjs
CHANGED
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
var _T5IUBZJKcjs = require('../__chunks/T5IUBZJK.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var _53WPOLZUcjs = require('../__chunks/53WPOLZU.cjs');
|
|
7
|
-
|
|
8
|
-
|
|
9
6
|
|
|
10
7
|
|
|
11
8
|
var _V3ZEI37Lcjs = require('../__chunks/V3ZEI37L.cjs');
|
|
@@ -13,6 +10,9 @@ var _V3ZEI37Lcjs = require('../__chunks/V3ZEI37L.cjs');
|
|
|
13
10
|
|
|
14
11
|
var _RLO4RIGLcjs = require('../__chunks/RLO4RIGL.cjs');
|
|
15
12
|
|
|
13
|
+
|
|
14
|
+
var _53WPOLZUcjs = require('../__chunks/53WPOLZU.cjs');
|
|
15
|
+
|
|
16
16
|
// src/group/group.tsx
|
|
17
17
|
var _web = require('solid-js/web');
|
|
18
18
|
var _solidjs = require('solid-js');
|
package/cjs/group/group.d.cts
CHANGED
package/cjs/group/group.d.ts
CHANGED
package/cjs/heading/heading.cjs
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var _AUGTJ473cjs = require('../__chunks/AUGTJ473.cjs');
|
|
4
|
-
|
|
5
|
-
|
|
6
3
|
var _GVOD7RTZcjs = require('../__chunks/GVOD7RTZ.cjs');
|
|
7
4
|
|
|
8
5
|
|
|
@@ -13,6 +10,9 @@ var _V3ZEI37Lcjs = require('../__chunks/V3ZEI37L.cjs');
|
|
|
13
10
|
|
|
14
11
|
var _RLO4RIGLcjs = require('../__chunks/RLO4RIGL.cjs');
|
|
15
12
|
|
|
13
|
+
|
|
14
|
+
var _AUGTJ473cjs = require('../__chunks/AUGTJ473.cjs');
|
|
15
|
+
|
|
16
16
|
// src/heading/heading.tsx
|
|
17
17
|
var _solidjs = require('solid-js');
|
|
18
18
|
var TagName = "h1";
|
package/cjs/heading/heading.d.ts
CHANGED
package/cjs/utils/misc.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { MaybeAccessor } from "@solid-primitives/utils";
|
|
2
|
+
import type { Accessor, ValidComponent } from "solid-js";
|
|
3
3
|
/**
|
|
4
4
|
* Generates a unique ID.
|
|
5
5
|
*/
|
package/cjs/utils/misc.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { MaybeAccessor } from "@solid-primitives/utils";
|
|
2
|
+
import type { Accessor, ValidComponent } from "solid-js";
|
|
3
3
|
/**
|
|
4
4
|
* Generates a unique ID.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AnyObject } from "@ariakit/core/utils/types";
|
|
2
|
-
import {
|
|
2
|
+
import type { Accessor, JSX, Setter } from "solid-js";
|
|
3
3
|
/**
|
|
4
4
|
* Creates a stable accessor. Useful when creating derived accessors that
|
|
5
5
|
* depend on a mutable variable that may change later.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AnyObject } from "@ariakit/core/utils/types";
|
|
2
|
-
import {
|
|
2
|
+
import type { Accessor, JSX, Setter } from "solid-js";
|
|
3
3
|
/**
|
|
4
4
|
* Creates a stable accessor. Useful when creating derived accessors that
|
|
5
5
|
* depend on a mutable variable that may change later.
|
package/cjs/utils/system.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AnyObject, EmptyObject } from "@ariakit/core/utils/types";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import type {
|
|
2
|
+
import type { ValidComponent } from "solid-js";
|
|
3
|
+
import type { ExtractPropsWithDefaultsExtractedProps, ExtractPropsWithDefaultsRestProps } from "./reactivity.ts";
|
|
4
|
+
import type { Hook, HTMLProps, Options, Props, WrapInstance, WrapInstanceValue } from "./types.ts";
|
|
5
5
|
/**
|
|
6
6
|
* Creates a Solid component instance that supports the `render` and
|
|
7
7
|
* `wrapInstance` props.
|
package/cjs/utils/system.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AnyObject, EmptyObject } from "@ariakit/core/utils/types";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import type {
|
|
2
|
+
import type { ValidComponent } from "solid-js";
|
|
3
|
+
import type { ExtractPropsWithDefaultsExtractedProps, ExtractPropsWithDefaultsRestProps } from "./reactivity.ts";
|
|
4
|
+
import type { Hook, HTMLProps, Options, Props, WrapInstance, WrapInstanceValue } from "./types.ts";
|
|
5
5
|
/**
|
|
6
6
|
* Creates a Solid component instance that supports the `render` and
|
|
7
7
|
* `wrapInstance` props.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Setter } from "solid-js";
|
|
2
2
|
export declare const GroupLabelContext: import("solid-js").Context<Setter<string | undefined> | undefined>;
|
package/esm/group/group-label.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
GroupLabelContext
|
|
3
|
-
} from "../__chunks/VOWRNGOM.js";
|
|
4
1
|
import {
|
|
5
2
|
createId
|
|
6
3
|
} from "../__chunks/UKDBTPK5.js";
|
|
@@ -12,6 +9,9 @@ import {
|
|
|
12
9
|
mergeProps,
|
|
13
10
|
stableAccessor
|
|
14
11
|
} from "../__chunks/QKOHDUFI.js";
|
|
12
|
+
import {
|
|
13
|
+
GroupLabelContext
|
|
14
|
+
} from "../__chunks/VOWRNGOM.js";
|
|
15
15
|
|
|
16
16
|
// src/group/group-label.tsx
|
|
17
17
|
import { createEffect, onCleanup, useContext } from "solid-js";
|
package/esm/group/group.d.ts
CHANGED
package/esm/group/group.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
As
|
|
3
3
|
} from "../__chunks/NX66AMGW.js";
|
|
4
|
-
import {
|
|
5
|
-
GroupLabelContext
|
|
6
|
-
} from "../__chunks/VOWRNGOM.js";
|
|
7
4
|
import {
|
|
8
5
|
createHook,
|
|
9
6
|
createInstance,
|
|
@@ -12,6 +9,9 @@ import {
|
|
|
12
9
|
import {
|
|
13
10
|
mergeProps
|
|
14
11
|
} from "../__chunks/QKOHDUFI.js";
|
|
12
|
+
import {
|
|
13
|
+
GroupLabelContext
|
|
14
|
+
} from "../__chunks/VOWRNGOM.js";
|
|
15
15
|
|
|
16
16
|
// src/group/group.tsx
|
|
17
17
|
import { createComponent as _$createComponent } from "solid-js/web";
|
package/esm/heading/heading.d.ts
CHANGED
package/esm/heading/heading.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
HeadingContext
|
|
3
|
-
} from "../__chunks/I7JSIDPD.js";
|
|
4
1
|
import {
|
|
5
2
|
extractTagName
|
|
6
3
|
} from "../__chunks/UKDBTPK5.js";
|
|
@@ -12,6 +9,9 @@ import {
|
|
|
12
9
|
createRef,
|
|
13
10
|
mergeProps
|
|
14
11
|
} from "../__chunks/QKOHDUFI.js";
|
|
12
|
+
import {
|
|
13
|
+
HeadingContext
|
|
14
|
+
} from "../__chunks/I7JSIDPD.js";
|
|
15
15
|
|
|
16
16
|
// src/heading/heading.tsx
|
|
17
17
|
import { createMemo, useContext } from "solid-js";
|
package/esm/utils/misc.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { MaybeAccessor } from "@solid-primitives/utils";
|
|
2
|
+
import type { Accessor, ValidComponent } from "solid-js";
|
|
3
3
|
/**
|
|
4
4
|
* Generates a unique ID.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AnyObject } from "@ariakit/core/utils/types";
|
|
2
|
-
import {
|
|
2
|
+
import type { Accessor, JSX, Setter } from "solid-js";
|
|
3
3
|
/**
|
|
4
4
|
* Creates a stable accessor. Useful when creating derived accessors that
|
|
5
5
|
* depend on a mutable variable that may change later.
|
package/esm/utils/system.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AnyObject, EmptyObject } from "@ariakit/core/utils/types";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import type {
|
|
2
|
+
import type { ValidComponent } from "solid-js";
|
|
3
|
+
import type { ExtractPropsWithDefaultsExtractedProps, ExtractPropsWithDefaultsRestProps } from "./reactivity.ts";
|
|
4
|
+
import type { Hook, HTMLProps, Options, Props, WrapInstance, WrapInstanceValue } from "./types.ts";
|
|
5
5
|
/**
|
|
6
6
|
* Creates a Solid component instance that supports the `render` and
|
|
7
7
|
* `wrapInstance` props.
|
package/license
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2025-present Ariakit FZ-LLC, Dani Guardiola
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ariakit/solid-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Ariakit Solid core",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,76 +37,76 @@
|
|
|
37
37
|
"core"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@ariakit/core": "0.4.
|
|
41
|
-
"@solid-primitives/props": "3.
|
|
42
|
-
"@solid-primitives/utils": "6.2
|
|
40
|
+
"@ariakit/core": "0.4.16",
|
|
41
|
+
"@solid-primitives/props": "3.2.2",
|
|
42
|
+
"@solid-primitives/utils": "6.3.2"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"solid-js": "^1.8"
|
|
46
46
|
},
|
|
47
47
|
"exports": {
|
|
48
|
-
"./
|
|
49
|
-
"solid": "./solid/
|
|
50
|
-
"import": "./esm/
|
|
48
|
+
"./as/as": {
|
|
49
|
+
"solid": "./solid/as/as.jsx",
|
|
50
|
+
"import": "./esm/as/as.js",
|
|
51
51
|
"require": {
|
|
52
|
-
"types": "./cjs/
|
|
53
|
-
"default": "./cjs/
|
|
52
|
+
"types": "./cjs/as/as.d.cts",
|
|
53
|
+
"default": "./cjs/as/as.cjs"
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
|
-
"./
|
|
57
|
-
"solid": "./solid/
|
|
58
|
-
"import": "./esm/
|
|
56
|
+
"./focus-trap/focus-trap-region": {
|
|
57
|
+
"solid": "./solid/focus-trap/focus-trap-region.jsx",
|
|
58
|
+
"import": "./esm/focus-trap/focus-trap-region.js",
|
|
59
59
|
"require": {
|
|
60
|
-
"types": "./cjs/
|
|
61
|
-
"default": "./cjs/
|
|
60
|
+
"types": "./cjs/focus-trap/focus-trap-region.d.cts",
|
|
61
|
+
"default": "./cjs/focus-trap/focus-trap-region.cjs"
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
|
-
"./
|
|
65
|
-
"solid": "./solid/
|
|
66
|
-
"import": "./esm/
|
|
64
|
+
"./focus-trap/focus-trap": {
|
|
65
|
+
"solid": "./solid/focus-trap/focus-trap.jsx",
|
|
66
|
+
"import": "./esm/focus-trap/focus-trap.js",
|
|
67
67
|
"require": {
|
|
68
|
-
"types": "./cjs/
|
|
69
|
-
"default": "./cjs/
|
|
68
|
+
"types": "./cjs/focus-trap/focus-trap.d.cts",
|
|
69
|
+
"default": "./cjs/focus-trap/focus-trap.cjs"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
|
-
"./
|
|
73
|
-
"solid": "./solid/
|
|
74
|
-
"import": "./esm/
|
|
72
|
+
"./group/group-label-context": {
|
|
73
|
+
"solid": "./solid/group/group-label-context.jsx",
|
|
74
|
+
"import": "./esm/group/group-label-context.js",
|
|
75
75
|
"require": {
|
|
76
|
-
"types": "./cjs/
|
|
77
|
-
"default": "./cjs/
|
|
76
|
+
"types": "./cjs/group/group-label-context.d.cts",
|
|
77
|
+
"default": "./cjs/group/group-label-context.cjs"
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
|
-
"./
|
|
81
|
-
"solid": "./solid/
|
|
82
|
-
"import": "./esm/
|
|
80
|
+
"./group/group-label": {
|
|
81
|
+
"solid": "./solid/group/group-label.jsx",
|
|
82
|
+
"import": "./esm/group/group-label.js",
|
|
83
83
|
"require": {
|
|
84
|
-
"types": "./cjs/
|
|
85
|
-
"default": "./cjs/
|
|
84
|
+
"types": "./cjs/group/group-label.d.cts",
|
|
85
|
+
"default": "./cjs/group/group-label.cjs"
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
|
-
"./
|
|
89
|
-
"solid": "./solid/
|
|
90
|
-
"import": "./esm/
|
|
88
|
+
"./group/group": {
|
|
89
|
+
"solid": "./solid/group/group.jsx",
|
|
90
|
+
"import": "./esm/group/group.js",
|
|
91
91
|
"require": {
|
|
92
|
-
"types": "./cjs/
|
|
93
|
-
"default": "./cjs/
|
|
92
|
+
"types": "./cjs/group/group.d.cts",
|
|
93
|
+
"default": "./cjs/group/group.cjs"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
|
-
"./
|
|
97
|
-
"solid": "./solid/
|
|
98
|
-
"import": "./esm/
|
|
96
|
+
"./heading/heading-context": {
|
|
97
|
+
"solid": "./solid/heading/heading-context.jsx",
|
|
98
|
+
"import": "./esm/heading/heading-context.js",
|
|
99
99
|
"require": {
|
|
100
|
-
"types": "./cjs/
|
|
101
|
-
"default": "./cjs/
|
|
100
|
+
"types": "./cjs/heading/heading-context.d.cts",
|
|
101
|
+
"default": "./cjs/heading/heading-context.cjs"
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
|
-
"./heading/
|
|
105
|
-
"solid": "./solid/heading/
|
|
106
|
-
"import": "./esm/heading/
|
|
104
|
+
"./heading/heading-level": {
|
|
105
|
+
"solid": "./solid/heading/heading-level.jsx",
|
|
106
|
+
"import": "./esm/heading/heading-level.js",
|
|
107
107
|
"require": {
|
|
108
|
-
"types": "./cjs/heading/
|
|
109
|
-
"default": "./cjs/heading/
|
|
108
|
+
"types": "./cjs/heading/heading-level.d.cts",
|
|
109
|
+
"default": "./cjs/heading/heading-level.cjs"
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
112
|
"./heading/heading": {
|
|
@@ -117,68 +117,68 @@
|
|
|
117
117
|
"default": "./cjs/heading/heading.cjs"
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
|
-
"./heading/
|
|
121
|
-
"solid": "./solid/heading/
|
|
122
|
-
"import": "./esm/heading/
|
|
120
|
+
"./heading/utils": {
|
|
121
|
+
"solid": "./solid/heading/utils.jsx",
|
|
122
|
+
"import": "./esm/heading/utils.js",
|
|
123
123
|
"require": {
|
|
124
|
-
"types": "./cjs/heading/
|
|
125
|
-
"default": "./cjs/heading/
|
|
124
|
+
"types": "./cjs/heading/utils.d.cts",
|
|
125
|
+
"default": "./cjs/heading/utils.cjs"
|
|
126
126
|
}
|
|
127
127
|
},
|
|
128
|
-
"./
|
|
129
|
-
"solid": "./solid/
|
|
130
|
-
"import": "./esm/
|
|
128
|
+
"./role/role": {
|
|
129
|
+
"solid": "./solid/role/role.jsx",
|
|
130
|
+
"import": "./esm/role/role.js",
|
|
131
131
|
"require": {
|
|
132
|
-
"types": "./cjs/
|
|
133
|
-
"default": "./cjs/
|
|
132
|
+
"types": "./cjs/role/role.d.cts",
|
|
133
|
+
"default": "./cjs/role/role.cjs"
|
|
134
134
|
}
|
|
135
135
|
},
|
|
136
|
-
"./
|
|
137
|
-
"solid": "./solid/
|
|
138
|
-
"import": "./esm/
|
|
136
|
+
"./separator/separator": {
|
|
137
|
+
"solid": "./solid/separator/separator.jsx",
|
|
138
|
+
"import": "./esm/separator/separator.js",
|
|
139
139
|
"require": {
|
|
140
|
-
"types": "./cjs/
|
|
141
|
-
"default": "./cjs/
|
|
140
|
+
"types": "./cjs/separator/separator.d.cts",
|
|
141
|
+
"default": "./cjs/separator/separator.cjs"
|
|
142
142
|
}
|
|
143
143
|
},
|
|
144
|
-
"./
|
|
145
|
-
"solid": "./solid/
|
|
146
|
-
"import": "./esm/
|
|
144
|
+
"./utils/misc": {
|
|
145
|
+
"solid": "./solid/utils/misc.jsx",
|
|
146
|
+
"import": "./esm/utils/misc.js",
|
|
147
147
|
"require": {
|
|
148
|
-
"types": "./cjs/
|
|
149
|
-
"default": "./cjs/
|
|
148
|
+
"types": "./cjs/utils/misc.d.cts",
|
|
149
|
+
"default": "./cjs/utils/misc.cjs"
|
|
150
150
|
}
|
|
151
151
|
},
|
|
152
|
-
"./
|
|
153
|
-
"solid": "./solid/
|
|
154
|
-
"import": "./esm/
|
|
152
|
+
"./utils/reactivity": {
|
|
153
|
+
"solid": "./solid/utils/reactivity.jsx",
|
|
154
|
+
"import": "./esm/utils/reactivity.js",
|
|
155
155
|
"require": {
|
|
156
|
-
"types": "./cjs/
|
|
157
|
-
"default": "./cjs/
|
|
156
|
+
"types": "./cjs/utils/reactivity.d.cts",
|
|
157
|
+
"default": "./cjs/utils/reactivity.cjs"
|
|
158
158
|
}
|
|
159
159
|
},
|
|
160
|
-
"./
|
|
161
|
-
"solid": "./solid/
|
|
162
|
-
"import": "./esm/
|
|
160
|
+
"./utils/system": {
|
|
161
|
+
"solid": "./solid/utils/system.jsx",
|
|
162
|
+
"import": "./esm/utils/system.js",
|
|
163
163
|
"require": {
|
|
164
|
-
"types": "./cjs/
|
|
165
|
-
"default": "./cjs/
|
|
164
|
+
"types": "./cjs/utils/system.d.cts",
|
|
165
|
+
"default": "./cjs/utils/system.cjs"
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
|
-
"./
|
|
169
|
-
"solid": "./solid/
|
|
170
|
-
"import": "./esm/
|
|
168
|
+
"./utils/types": {
|
|
169
|
+
"solid": "./solid/utils/types.jsx",
|
|
170
|
+
"import": "./esm/utils/types.js",
|
|
171
171
|
"require": {
|
|
172
|
-
"types": "./cjs/
|
|
173
|
-
"default": "./cjs/
|
|
172
|
+
"types": "./cjs/utils/types.d.cts",
|
|
173
|
+
"default": "./cjs/utils/types.cjs"
|
|
174
174
|
}
|
|
175
175
|
},
|
|
176
|
-
"./
|
|
177
|
-
"solid": "./solid/
|
|
178
|
-
"import": "./esm/
|
|
176
|
+
"./visually-hidden/visually-hidden": {
|
|
177
|
+
"solid": "./solid/visually-hidden/visually-hidden.jsx",
|
|
178
|
+
"import": "./esm/visually-hidden/visually-hidden.js",
|
|
179
179
|
"require": {
|
|
180
|
-
"types": "./cjs/
|
|
181
|
-
"default": "./cjs/
|
|
180
|
+
"types": "./cjs/visually-hidden/visually-hidden.d.cts",
|
|
181
|
+
"default": "./cjs/visually-hidden/visually-hidden.cjs"
|
|
182
182
|
}
|
|
183
183
|
},
|
|
184
184
|
"./package.json": "./package.json"
|
package/readme.md
CHANGED
|
@@ -10,12 +10,9 @@ npm i @ariakit/solid-core
|
|
|
10
10
|
|
|
11
11
|
## Core Team
|
|
12
12
|
|
|
13
|
-
- [Diego Haz](https://
|
|
14
|
-
- [Ben Rodri](https://
|
|
15
|
-
|
|
16
|
-
## Ariakit Solid maintainers
|
|
17
|
-
|
|
18
|
-
- [Dani Guardiola](https://x.com/daniguardio_la)
|
|
13
|
+
- [Diego Haz](https://bsky.app/profile/haz.dev)
|
|
14
|
+
- [Ben Rodri](https://bsky.app/profile/ben.ariakit.org)
|
|
15
|
+
- [Dani Guardiola](https://bsky.app/profile/dio.la)
|
|
19
16
|
|
|
20
17
|
## Contributing
|
|
21
18
|
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
GroupLabelContext
|
|
3
|
-
} from "../__chunks/TCHPU5P4.jsx";
|
|
4
1
|
import {
|
|
5
2
|
createId
|
|
6
3
|
} from "../__chunks/KXVBEYOF.jsx";
|
|
@@ -12,13 +9,12 @@ import {
|
|
|
12
9
|
mergeProps,
|
|
13
10
|
stableAccessor
|
|
14
11
|
} from "../__chunks/ALJQAVR2.jsx";
|
|
12
|
+
import {
|
|
13
|
+
GroupLabelContext
|
|
14
|
+
} from "../__chunks/TCHPU5P4.jsx";
|
|
15
15
|
|
|
16
16
|
// src/group/group-label.tsx
|
|
17
|
-
import {
|
|
18
|
-
createEffect,
|
|
19
|
-
onCleanup,
|
|
20
|
-
useContext
|
|
21
|
-
} from "solid-js";
|
|
17
|
+
import { createEffect, onCleanup, useContext } from "solid-js";
|
|
22
18
|
var TagName = "div";
|
|
23
19
|
var useGroupLabel = createHook(
|
|
24
20
|
function useGroupLabel2(props) {
|
package/solid/group/group.jsx
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
As
|
|
3
3
|
} from "../__chunks/HUX7TBVM.jsx";
|
|
4
|
-
import {
|
|
5
|
-
GroupLabelContext
|
|
6
|
-
} from "../__chunks/TCHPU5P4.jsx";
|
|
7
4
|
import {
|
|
8
5
|
createHook,
|
|
9
6
|
createInstance,
|
|
@@ -12,6 +9,9 @@ import {
|
|
|
12
9
|
import {
|
|
13
10
|
mergeProps
|
|
14
11
|
} from "../__chunks/ALJQAVR2.jsx";
|
|
12
|
+
import {
|
|
13
|
+
GroupLabelContext
|
|
14
|
+
} from "../__chunks/TCHPU5P4.jsx";
|
|
15
15
|
|
|
16
16
|
// src/group/group.tsx
|
|
17
17
|
import { createSignal } from "solid-js";
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
HeadingContext
|
|
3
|
-
} from "../__chunks/VAA446IN.jsx";
|
|
4
1
|
import {
|
|
5
2
|
extractTagName
|
|
6
3
|
} from "../__chunks/KXVBEYOF.jsx";
|
|
@@ -12,6 +9,9 @@ import {
|
|
|
12
9
|
createRef,
|
|
13
10
|
mergeProps
|
|
14
11
|
} from "../__chunks/ALJQAVR2.jsx";
|
|
12
|
+
import {
|
|
13
|
+
HeadingContext
|
|
14
|
+
} from "../__chunks/VAA446IN.jsx";
|
|
15
15
|
|
|
16
16
|
// src/heading/heading.tsx
|
|
17
17
|
import { createMemo, useContext } from "solid-js";
|