Skip to content

Commit 6ec0598

Browse files
committed
fix!: remove Inset component
1 parent 5eb8b0d commit 6ec0598

File tree

5 files changed

+7
-138
lines changed

5 files changed

+7
-138
lines changed

src/components/dialog/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878

7979
/* special handle for tailwindcss p-0, when css priority doesn't work */
8080
.ui-DialogPopup:where(.p-0) {
81-
padding: 0;
81+
--dialog-popup-padding: 0;
8282
}
8383

8484
@media (min-width: 450px) {

src/components/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export {
88
export * from './avatar'
99
export * from './badge'
1010

11-
export * from './inset'
1211
export * from './card'
1312
export * from './button'
1413
export * from './scrollarea'

src/components/inset/Inset.vue

Lines changed: 0 additions & 132 deletions
This file was deleted.

src/components/inset/index.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/components/popover/PopoverPopup.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,17 @@ const forwarded = useForwardPropsEmitsWithout(props, emits, ['to', 'size'])
5959
position: relative;
6060
box-sizing: border-box;
6161
transform-origin: var(--reka-popover-content-transform-origin);
62+
padding: var(--popover-popup-padding);
6263
}
6364
.ui-PopoverPopup:where(.r-size-1) {
6465
border-radius: var(--radius-4);
66+
--popover-popup-padding: var(--space-2);
6567
}
6668
.ui-PopoverPopup:where(.r-size-2) {
6769
border-radius: var(--radius-5);
70+
--popover-popup-padding: var(--space-4);
71+
}
72+
.ui-PopoverPopup:where(.p-0) {
73+
--popover-popup-padding: 0;
6874
}
6975
</style>

0 commit comments

Comments
 (0)