@ecopages/radiant-ui 0.1.0-beta.1 → 0.1.0-beta.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/dist/components/ui/menu-button/index.js +1 -1
- package/dist/components/ui/menu-button/index.js.map +4 -4
- package/dist/components/ui/menu-button/menu-button.css +6 -1
- package/dist/components/ui/menu-button/menu-button.script.d.ts +7 -7
- package/dist/components/ui/menubar/index.js +1 -1
- package/dist/components/ui/menubar/index.js.map +2 -2
- package/dist/components/ui/menubar/menubar.css +1 -1
- package/dist/components/ui/shared/floating-position.d.ts +37 -0
- package/dist/components/ui/shared/floating-position.test.d.ts +1 -0
- package/dist/components/ui/shared/placement.d.ts +2 -0
- package/dist/components/ui/tooltip/index.js +1 -1
- package/dist/components/ui/tooltip/index.js.map +4 -4
- package/dist/components/ui/tooltip/tooltip.css +6 -1
- package/dist/components/ui/tooltip/tooltip.script.d.ts +6 -6
- package/dist/index.js +1 -1
- package/dist/index.js.map +4 -4
- package/dist/styles/styles.css +9 -3
- package/package.json +4 -7
package/dist/styles/styles.css
CHANGED
|
@@ -3649,6 +3649,10 @@ rui-listbox {
|
|
|
3649
3649
|
--tw-outline-style: none;
|
|
3650
3650
|
outline-style: none;
|
|
3651
3651
|
}
|
|
3652
|
+
.rui-floating {
|
|
3653
|
+
position: fixed;
|
|
3654
|
+
visibility: hidden;
|
|
3655
|
+
}
|
|
3652
3656
|
}
|
|
3653
3657
|
rui-menu-button {
|
|
3654
3658
|
display: inline-flex;
|
|
@@ -3673,7 +3677,6 @@ rui-menu-button {
|
|
|
3673
3677
|
height: 0;
|
|
3674
3678
|
}
|
|
3675
3679
|
.rui-menu-button__menu {
|
|
3676
|
-
position: absolute;
|
|
3677
3680
|
z-index: var(--z-index-popover, var(--z-popover));
|
|
3678
3681
|
min-width: calc(var(--spacing, 0.25rem) * 40);
|
|
3679
3682
|
border-radius: var(--radius-container, var(--radius-container));
|
|
@@ -3779,7 +3782,7 @@ rui-menubar {
|
|
|
3779
3782
|
top: 100%;
|
|
3780
3783
|
left: 0px;
|
|
3781
3784
|
z-index: var(--z-index-dropdown, var(--z-dropdown));
|
|
3782
|
-
margin-top: var(--spacing
|
|
3785
|
+
margin-top: calc(var(--spacing, 0.25rem) * 2.5);
|
|
3783
3786
|
min-width: calc(var(--spacing, 0.25rem) * 40);
|
|
3784
3787
|
border-radius: var(--radius-container, var(--radius-container));
|
|
3785
3788
|
border-style: var(--tw-border-style);
|
|
@@ -5348,6 +5351,10 @@ rui-toolbar {
|
|
|
5348
5351
|
--tw-shadow: var(--shadow-control);
|
|
5349
5352
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
5350
5353
|
}
|
|
5354
|
+
.rui-floating {
|
|
5355
|
+
position: fixed;
|
|
5356
|
+
visibility: hidden;
|
|
5357
|
+
}
|
|
5351
5358
|
}
|
|
5352
5359
|
rui-tooltip {
|
|
5353
5360
|
display: inline-flex;
|
|
@@ -5361,7 +5368,6 @@ rui-tooltip {
|
|
|
5361
5368
|
display: inline-flex;
|
|
5362
5369
|
}
|
|
5363
5370
|
.rui-tooltip__content {
|
|
5364
|
-
position: absolute;
|
|
5365
5371
|
z-index: var(--z-index-overlay, var(--z-overlay));
|
|
5366
5372
|
max-width: var(--container-xs, 20rem);
|
|
5367
5373
|
border-radius: var(--radius-container, var(--radius-container));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ecopages/radiant-ui",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.2",
|
|
4
4
|
"description": "Accessible light-DOM UI components built with @ecopages/radiant, documented in Storybook",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -14,9 +14,6 @@
|
|
|
14
14
|
"**/*.css",
|
|
15
15
|
"**/index.js"
|
|
16
16
|
],
|
|
17
|
-
"dependencies": {
|
|
18
|
-
"@floating-ui/dom": "^1.8.0"
|
|
19
|
-
},
|
|
20
17
|
"peerDependencies": {
|
|
21
18
|
"@ecopages/jsx": ">=0.3.0-beta.4",
|
|
22
19
|
"@ecopages/radiant": ">=0.3.0-beta.4",
|
|
@@ -47,11 +44,11 @@
|
|
|
47
44
|
"typescript": "~7.0.2",
|
|
48
45
|
"vite": "^8.1.1",
|
|
49
46
|
"vitest": "^4.1.10",
|
|
50
|
-
"@ecopages/radiant": "0.3.0-beta.4",
|
|
51
47
|
"@ecopages/vite-plugin-radiant": "0.1.0-beta.1",
|
|
52
|
-
"@ecopages/signals": "0.3.0-beta.4",
|
|
53
48
|
"@ecopages/storybook-radiant-vite": "0.1.0-beta.0",
|
|
54
|
-
"@ecopages/jsx": "0.3.0-beta.4"
|
|
49
|
+
"@ecopages/jsx": "0.3.0-beta.4",
|
|
50
|
+
"@ecopages/radiant": "0.3.0-beta.4",
|
|
51
|
+
"@ecopages/signals": "0.3.0-beta.4"
|
|
55
52
|
},
|
|
56
53
|
"exports": {
|
|
57
54
|
"./package.json": "./package.json",
|