@dryui/ui 0.0.5 → 0.0.7
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.
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
class={className}
|
|
17
17
|
id={itemCtx.contentId}
|
|
18
18
|
role="region"
|
|
19
|
+
hidden={!itemCtx.open}
|
|
19
20
|
data-state={itemCtx.open ? 'open' : 'closed'}
|
|
20
21
|
data-accordion-content
|
|
21
22
|
{...rest}
|
|
@@ -27,18 +28,10 @@
|
|
|
27
28
|
|
|
28
29
|
<style>
|
|
29
30
|
[data-accordion-content] {
|
|
30
|
-
display: grid;
|
|
31
|
-
grid-template-rows: 0fr;
|
|
32
|
-
transition: grid-template-rows var(--dry-duration-normal) var(--dry-ease-spring-soft);
|
|
33
31
|
font-size: var(--dry-type-small-size, var(--dry-text-sm-size));
|
|
34
32
|
}
|
|
35
33
|
|
|
36
|
-
[data-accordion-content][data-state='open'] {
|
|
37
|
-
grid-template-rows: 1fr;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
34
|
[data-accordion-content-inner] {
|
|
41
|
-
overflow: hidden;
|
|
42
35
|
padding: var(--dry-space-2) var(--dry-space-4) var(--dry-space-4);
|
|
43
36
|
}
|
|
44
37
|
</style>
|
package/dist/themes/default.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Practical UI Foundation Map
|
|
2
2
|
|
|
3
|
-
> Living note for [docs/research/practical-ui-figma-extraction.md](
|
|
3
|
+
> Living note for [docs/research/practical-ui-figma-extraction.md](./docs/research/practical-ui-figma-extraction.md). Extracted from the Practical UI design system file on 2026-03-25.
|
|
4
4
|
|
|
5
5
|
## Foundation Rules
|
|
6
6
|
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
|
|
43
43
|
## Notes
|
|
44
44
|
|
|
45
|
-
- Keep [`default.css`](
|
|
45
|
+
- Keep [`default.css`](./packages/ui/src/themes/default.css) and [`dark.css`](./packages/ui/src/themes/dark.css) synchronized with the extracted foundation ladder.
|
|
46
46
|
- The inverse fill family in Dark mode follows the same transparent-neutral logic as the rest of the semantic layer.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dryui/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"author": "Rob Balfre",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -766,7 +766,7 @@
|
|
|
766
766
|
"thumbnail:create": "bun scripts/create-thumbnail.ts"
|
|
767
767
|
},
|
|
768
768
|
"dependencies": {
|
|
769
|
-
"@dryui/primitives": "^0.0.
|
|
769
|
+
"@dryui/primitives": "^0.0.3"
|
|
770
770
|
},
|
|
771
771
|
"peerDependencies": {
|
|
772
772
|
"svelte": "^5.55.1"
|