Skip to content

Commit

Permalink
Merge branch 'main' into fix/tabview/children
Browse files Browse the repository at this point in the history
  • Loading branch information
ssong10 authored May 31, 2024
2 parents ab33c05 + 1ce8438 commit ea73ba4
Show file tree
Hide file tree
Showing 25 changed files with 93 additions and 43 deletions.
4 changes: 4 additions & 0 deletions packages/utils-eslint-config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

### [0.89.15](https://github.com/pedaling/opensource/compare/utils-eslint-config-0.89.14...utils-eslint-config-0.89.15) (2024-05-27)

### [0.89.14](https://github.com/pedaling/opensource/compare/utils-eslint-config-0.89.13...utils-eslint-config-0.89.14) (2024-05-27)

### [0.89.13](https://github.com/pedaling/opensource/compare/utils-eslint-config-0.89.12...utils-eslint-config-0.89.13) (2024-04-24)

### [0.89.12](https://github.com/pedaling/opensource/compare/utils-eslint-config-0.89.11...utils-eslint-config-0.89.12) (2024-04-19)
Expand Down
2 changes: 1 addition & 1 deletion packages/utils-eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@class101/eslint-config",
"version": "0.89.13",
"version": "0.89.15",
"private": false,
"sideEffects": false,
"main": "src/index.js",
Expand Down
4 changes: 4 additions & 0 deletions packages/vibrant-components-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

### [0.92.15](https://github.com/pedaling/opensource/compare/vibrant-components-web-0.92.14...vibrant-components-web-0.92.15) (2024-05-27)

### [0.92.14](https://github.com/pedaling/opensource/compare/vibrant-components-web-0.92.13...vibrant-components-web-0.92.14) (2024-05-27)

### [0.92.13](https://github.com/pedaling/opensource/compare/vibrant-components-web-0.92.12...vibrant-components-web-0.92.13) (2024-04-24)

### [0.92.12](https://github.com/pedaling/opensource/compare/vibrant-components-web-0.92.11...vibrant-components-web-0.92.12) (2024-04-19)
Expand Down
2 changes: 1 addition & 1 deletion packages/vibrant-components-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vibrant-ui/components-web",
"version": "0.92.13",
"version": "0.92.15",
"private": false,
"sideEffects": false,
"peerDependencies": {
Expand Down
14 changes: 14 additions & 0 deletions packages/vibrant-components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

### [0.92.15](https://github.com/pedaling/opensource/compare/vibrant-components-0.92.14...vibrant-components-0.92.15) (2024-05-27)


### Bug Fixes

* 팝오버의 포지션 값에 애니메이션이 적용되지 않게 수정한다 ([#954](https://github.com/pedaling/opensource/issues/954)) ([f35c119](https://github.com/pedaling/opensource/commit/f35c119e573a9d28a6f5cfbffbbe099f565fe3bf))

### [0.92.14](https://github.com/pedaling/opensource/compare/vibrant-components-0.92.13...vibrant-components-0.92.14) (2024-05-27)


### Bug Fixes

* 드롭다운이 정상적으로 동작하도록 수정한다 ([#953](https://github.com/pedaling/opensource/issues/953)) ([0a792e0](https://github.com/pedaling/opensource/commit/0a792e09aca8619000914875fe1577f1c57dbf5c))

### [0.92.13](https://github.com/pedaling/opensource/compare/vibrant-components-0.92.12...vibrant-components-0.92.13) (2024-04-24)

### [0.92.12](https://github.com/pedaling/opensource/compare/vibrant-components-0.92.11...vibrant-components-0.92.12) (2024-04-19)
Expand Down
2 changes: 1 addition & 1 deletion packages/vibrant-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vibrant-ui/components",
"version": "0.92.13",
"version": "0.92.15",
"private": false,
"sideEffects": false,
"peerDependencies": {
Expand Down
48 changes: 17 additions & 31 deletions packages/vibrant-components/src/lib/Dropdown/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import type { Align, Side } from 'packages/vibrant-utils/src/types';
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import {
Box,
PortalBox,
PressableBox,
OverlayBox,
ScrollBox,
ThemeProvider,
getWindowDimensions,
Expand Down Expand Up @@ -192,7 +191,7 @@ export const Dropdown = withDropdownVariation(
spacing
);

setOffset({ x: openerRect.x + offsetX, y: openerRect.y + offsetY });
setOffset({ x: offsetX, y: offsetY });
}

setContentHeight(height);
Expand Down Expand Up @@ -235,32 +234,19 @@ export const Dropdown = withDropdownVariation(
<Box ref={openerRef}>{opener}</Box>
{!isMobile && isOpen && (
<ThemeProvider theme={rootThemeMode}>
<PortalBox zIndex={zIndex.dropdown} top={0} right={0} bottom={0} left={0}>
<PressableBox
as="div"
position="absolute"
cursor="default"
top={0}
right={0}
bottom={0}
left={0}
onClick={closeDropdown}
/>
<Transition
animation={{
opacity: visible ? 1 : 0,
...(visible
? {
x: offset.x,
y: offset.y,
}
: {}),
}}
style={{
x: offset.x,
y: offset.y,
}}
duration={200}
<Transition
animation={{
opacity: visible ? 1 : 0,
}}
duration={200}
>
<OverlayBox
open={isOpen}
onDismiss={closeDropdown}
targetRef={customOpenerRef.current ? customOpenerRef : openerRef}
zIndex={zIndex.dropdown}
top={offset.y}
left={offset.x}
>
<Box alignSelf="flex-start">
<Box
Expand Down Expand Up @@ -291,8 +277,8 @@ export const Dropdown = withDropdownVariation(
</Transition>
</Box>
</Box>
</Transition>
</PortalBox>
</OverlayBox>
</Transition>
</ThemeProvider>
)}
{isMobile && (
Expand Down
10 changes: 10 additions & 0 deletions packages/vibrant-components/src/lib/Popover/Popover.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ export const Basic: ComponentStory<typeof Popover> = props => (
</VStack>
);

export const WithDefaultOpen: ComponentStory<typeof Popover> = props => (
<VStack width="100%" height="100vh" alignVertical="center" alignHorizontal="center">
<Popover title="Popover" {...props} open={true}>
<Popover.Opener openInteraction="click">
<Avatar size="lg" src="" alt="" />
</Popover.Opener>
</Popover>
</VStack>
);

export const WithExternalState: ComponentStory<typeof Popover> = props => {
const [isOpen, setIsOpen] = useState(false);

Expand Down
2 changes: 1 addition & 1 deletion packages/vibrant-components/src/lib/Popover/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ export const Popover = ({
<Transition
animation={{
opacity: isOpen && (popoverPosition.x !== 0 || popoverPosition.y !== 0) ? 1 : 0,
...popoverPosition,
}}
style={popoverPosition}
duration={200}
easing="easeOutQuad"
>
Expand Down
4 changes: 4 additions & 0 deletions packages/vibrant-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

### [0.92.15](https://github.com/pedaling/opensource/compare/vibrant-core-0.92.14...vibrant-core-0.92.15) (2024-05-27)

### [0.92.14](https://github.com/pedaling/opensource/compare/vibrant-core-0.92.13...vibrant-core-0.92.14) (2024-05-27)

### [0.92.13](https://github.com/pedaling/opensource/compare/vibrant-core-0.92.12...vibrant-core-0.92.13) (2024-04-24)


Expand Down
2 changes: 1 addition & 1 deletion packages/vibrant-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vibrant-ui/core",
"version": "0.92.13",
"version": "0.92.15",
"private": false,
"sideEffects": false,
"react-native": "index.native",
Expand Down
4 changes: 4 additions & 0 deletions packages/vibrant-forms/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

### [0.92.15](https://github.com/pedaling/opensource/compare/vibrant-forms-0.92.14...vibrant-forms-0.92.15) (2024-05-27)

### [0.92.14](https://github.com/pedaling/opensource/compare/vibrant-forms-0.92.13...vibrant-forms-0.92.14) (2024-05-27)

### [0.92.13](https://github.com/pedaling/opensource/compare/vibrant-forms-0.92.12...vibrant-forms-0.92.13) (2024-04-24)

### [0.92.12](https://github.com/pedaling/opensource/compare/vibrant-forms-0.92.11...vibrant-forms-0.92.12) (2024-04-19)
Expand Down
2 changes: 1 addition & 1 deletion packages/vibrant-forms/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vibrant-ui/forms",
"version": "0.92.13",
"version": "0.92.15",
"private": false,
"sideEffects": false,
"peerDependencies": {
Expand Down
4 changes: 4 additions & 0 deletions packages/vibrant-icons/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

### [0.92.15](https://github.com/pedaling/opensource/compare/vibrant-icons-0.92.14...vibrant-icons-0.92.15) (2024-05-27)

### [0.92.14](https://github.com/pedaling/opensource/compare/vibrant-icons-0.92.13...vibrant-icons-0.92.14) (2024-05-27)

### [0.92.13](https://github.com/pedaling/opensource/compare/vibrant-icons-0.92.12...vibrant-icons-0.92.13) (2024-04-24)

### [0.92.12](https://github.com/pedaling/opensource/compare/vibrant-icons-0.92.11...vibrant-icons-0.92.12) (2024-04-19)
Expand Down
2 changes: 1 addition & 1 deletion packages/vibrant-icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vibrant-ui/icons",
"version": "0.92.13",
"version": "0.92.15",
"private": false,
"sideEffects": false,
"peerDependencies": {
Expand Down
4 changes: 4 additions & 0 deletions packages/vibrant-layouts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

### [0.92.15](https://github.com/pedaling/opensource/compare/vibrant-layouts-0.92.14...vibrant-layouts-0.92.15) (2024-05-27)

### [0.92.14](https://github.com/pedaling/opensource/compare/vibrant-layouts-0.92.13...vibrant-layouts-0.92.14) (2024-05-27)

### [0.92.13](https://github.com/pedaling/opensource/compare/vibrant-layouts-0.92.12...vibrant-layouts-0.92.13) (2024-04-24)

### [0.92.12](https://github.com/pedaling/opensource/compare/vibrant-layouts-0.92.11...vibrant-layouts-0.92.12) (2024-04-19)
Expand Down
2 changes: 1 addition & 1 deletion packages/vibrant-layouts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vibrant-ui/layouts",
"version": "0.92.13",
"version": "0.92.15",
"private": false,
"sideEffects": false,
"react-native": "index.native",
Expand Down
4 changes: 4 additions & 0 deletions packages/vibrant-motion/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

### [0.92.15](https://github.com/pedaling/opensource/compare/vibrant-motion-0.92.14...vibrant-motion-0.92.15) (2024-05-27)

### [0.92.14](https://github.com/pedaling/opensource/compare/vibrant-motion-0.92.13...vibrant-motion-0.92.14) (2024-05-27)

### [0.92.13](https://github.com/pedaling/opensource/compare/vibrant-motion-0.92.12...vibrant-motion-0.92.13) (2024-04-24)

### [0.92.12](https://github.com/pedaling/opensource/compare/vibrant-motion-0.92.11...vibrant-motion-0.92.12) (2024-04-19)
Expand Down
2 changes: 1 addition & 1 deletion packages/vibrant-motion/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vibrant-ui/motion",
"version": "0.92.13",
"version": "0.92.15",
"private": false,
"sideEffects": false,
"react-native": "index.native",
Expand Down
4 changes: 4 additions & 0 deletions packages/vibrant-theme/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

### [0.92.15](https://github.com/pedaling/opensource/compare/vibrant-theme-0.92.14...vibrant-theme-0.92.15) (2024-05-27)

### [0.92.14](https://github.com/pedaling/opensource/compare/vibrant-theme-0.92.13...vibrant-theme-0.92.14) (2024-05-27)

### [0.92.13](https://github.com/pedaling/opensource/compare/vibrant-theme-0.92.12...vibrant-theme-0.92.13) (2024-04-24)

### [0.92.12](https://github.com/pedaling/opensource/compare/vibrant-theme-0.92.11...vibrant-theme-0.92.12) (2024-04-19)
Expand Down
2 changes: 1 addition & 1 deletion packages/vibrant-theme/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vibrant-ui/theme",
"version": "0.92.13",
"version": "0.92.15",
"private": false,
"sideEffects": false,
"peerDependencies": {
Expand Down
4 changes: 4 additions & 0 deletions packages/vibrant-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

### [0.92.15](https://github.com/pedaling/opensource/compare/vibrant-utils-0.92.14...vibrant-utils-0.92.15) (2024-05-27)

### [0.92.14](https://github.com/pedaling/opensource/compare/vibrant-utils-0.92.13...vibrant-utils-0.92.14) (2024-05-27)

### [0.92.13](https://github.com/pedaling/opensource/compare/vibrant-utils-0.92.12...vibrant-utils-0.92.13) (2024-04-24)

### [0.92.12](https://github.com/pedaling/opensource/compare/vibrant-utils-0.92.11...vibrant-utils-0.92.12) (2024-04-19)
Expand Down
2 changes: 1 addition & 1 deletion packages/vibrant-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vibrant-ui/utils",
"version": "0.92.13",
"version": "0.92.15",
"private": false,
"sideEffects": false,
"peerDependencies": {
Expand Down
4 changes: 4 additions & 0 deletions packages/workspace-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

### [0.71.15](https://github.com/pedaling/opensource/compare/workspace-plugin-0.71.14...workspace-plugin-0.71.15) (2024-05-27)

### [0.71.14](https://github.com/pedaling/opensource/compare/workspace-plugin-0.71.13...workspace-plugin-0.71.14) (2024-05-27)

### [0.71.13](https://github.com/pedaling/opensource/compare/workspace-plugin-0.71.12...workspace-plugin-0.71.13) (2024-04-24)

### [0.71.12](https://github.com/pedaling/opensource/compare/workspace-plugin-0.71.11...workspace-plugin-0.71.12) (2024-04-19)
Expand Down
2 changes: 1 addition & 1 deletion packages/workspace-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@class101/workspace-plugin",
"version": "0.71.13",
"version": "0.71.15",
"main": "src/index.js",
"generators": "./generators.json",
"executors": "./executors.json"
Expand Down

0 comments on commit ea73ba4

Please sign in to comment.