Skip to content

Commit

Permalink
fix: resolve merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
AlinaLaniuk committed Sep 6, 2023
2 parents c09b9e4 + 6ef6b0e commit 9308b04
Show file tree
Hide file tree
Showing 129 changed files with 494 additions and 428 deletions.
7 changes: 7 additions & 0 deletions .yarn/versions/10e8fc60.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
releases:
"@atls-ui-admin/button": patch
"@atls-ui-admin/icon": patch
"@atls-ui-admin/icons": patch
"@atls-ui-admin/upload": patch
"@atls-utils/use-hover": patch
"@atls-utils/use-popover": patch
57 changes: 57 additions & 0 deletions .yarn/versions/35d80800.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
releases:
"@atls-ui-admin/button": patch
"@atls-ui-admin/icon": patch
"@atls-ui-admin/icons": patch
"@atls-ui-admin/upload": patch
"@atls-ui-generators/button": patch
"@atls-ui-generators/icons": patch
"@atls-ui-generators/input": patch
"@atls-ui-parts/autocomplete": patch
"@atls-ui-parts/avatar": patch
"@atls-ui-parts/button": patch
"@atls-ui-parts/card": patch
"@atls-ui-parts/carousel": patch
"@atls-ui-parts/checkbox": patch
"@atls-ui-parts/condition": patch
"@atls-ui-parts/conditional-render": patch
"@atls-ui-parts/core": patch
"@atls-ui-parts/datepicker": patch
"@atls-ui-parts/dom": patch
"@atls-ui-parts/image": patch
"@atls-ui-parts/input": patch
"@atls-ui-parts/layout": patch
"@atls-ui-parts/link": patch
"@atls-ui-parts/progress": patch
"@atls-ui-parts/scalable-content": patch
"@atls-ui-parts/select": patch
"@atls-ui-parts/sidebar": patch
"@atls-ui-parts/styles": patch
"@atls-ui-parts/swiper": patch
"@atls-ui-parts/switch": patch
"@atls-ui-parts/text": patch
"@atls-ui-parts/tooltip": patch
"@atls-ui-parts/upload": patch
"@atls-ui-proto/autocomplete": patch
"@atls-ui-proto/avatar": patch
"@atls-ui-proto/button": patch
"@atls-ui-proto/carousel": patch
"@atls-ui-proto/checkbox": patch
"@atls-ui-proto/core": patch
"@atls-ui-proto/datepicker": patch
"@atls-ui-proto/divider": patch
"@atls-ui-proto/image": patch
"@atls-ui-proto/input": patch
"@atls-ui-proto/layout": patch
"@atls-ui-proto/link": patch
"@atls-ui-proto/modal": patch
"@atls-ui-proto/parallax": patch
"@atls-ui-proto/placeholder": patch
"@atls-ui-proto/popover": patch
"@atls-ui-proto/progress": patch
"@atls-ui-proto/select": patch
"@atls-ui-proto/swiper": patch
"@atls-ui-proto/switch": patch
"@atls-ui-proto/text": patch
"@atls-ui-proto/theme": patch
"@atls-ui-proto/tooltip": patch
"@atls-ui-proto/upload": patch
6 changes: 3 additions & 3 deletions generators/button/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@atls-ui-generators/button",
"version": "0.0.12",
"version": "0.0.13",
"license": "BSD-3-Clause",
"main": "src/index.ts",
"bin": {
Expand All @@ -15,7 +15,7 @@
"postpack": "rm -rf dist"
},
"dependencies": {
"@atls-ui-generators/utils": "workspace:0.0.5",
"@atls-ui-generators/utils": "workspace:*",
"@atls/config-prettier": "^0.0.5",
"@atls/prettier-plugin": "^0.0.7",
"@babel/standalone": "^7.19.5",
Expand All @@ -24,7 +24,7 @@
"prettier": "^2.5.1"
},
"devDependencies": {
"@atls-ui-parts/button": "workspace:0.0.12",
"@atls-ui-parts/button": "workspace:*",
"@types/babel__standalone": "^7",
"@types/prettier": "^2",
"styled-tools": "^1.7.2"
Expand Down
6 changes: 3 additions & 3 deletions generators/icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@atls-ui-generators/icons",
"version": "0.0.4",
"version": "0.0.5",
"license": "BSD-3-Clause",
"main": "src/index.ts",
"bin": {
Expand All @@ -15,7 +15,7 @@
"postpack": "rm -rf dist"
},
"dependencies": {
"@atls-ui-generators/utils": "workspace:0.0.5",
"@atls-ui-generators/utils": "workspace:*",
"@atls/config-prettier": "^0.0.5",
"@atls/prettier-plugin": "^0.0.7",
"@babel/standalone": "^7.19.5",
Expand All @@ -27,7 +27,7 @@
"prettier": "^2.5.1"
},
"devDependencies": {
"@atls-ui-parts/button": "workspace:0.0.12",
"@atls-ui-parts/button": "workspace:*",
"@types/babel__standalone": "^7",
"@types/fs-extra-promise": "^1",
"@types/prettier": "^2",
Expand Down
6 changes: 3 additions & 3 deletions generators/input/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@atls-ui-generators/input",
"version": "0.0.7",
"version": "0.0.8",
"license": "BSD-3-Clause",
"main": "src/index.ts",
"bin": {
Expand All @@ -15,7 +15,7 @@
"postpack": "rm -rf dist"
},
"dependencies": {
"@atls-ui-generators/utils": "workspace:0.0.5",
"@atls-ui-generators/utils": "workspace:*",
"@atls/config-prettier": "^0.0.5",
"@atls/prettier-plugin": "^0.0.7",
"@babel/standalone": "^7.19.5",
Expand All @@ -24,7 +24,7 @@
"prettier": "^2.5.1"
},
"devDependencies": {
"@atls-ui-parts/input": "workspace:0.0.13",
"@atls-ui-parts/input": "workspace:*",
"@types/babel__standalone": "^7",
"@types/prettier": "^2",
"styled-tools": "^1.7.2"
Expand Down
4 changes: 2 additions & 2 deletions ui-admin/button/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@atls-ui-admin/button",
"version": "0.0.12",
"version": "0.0.13",
"license": "BSD-3-Clause",
"files": [
"dist"
Expand All @@ -11,7 +11,7 @@
"postpack": "rm -rf dist"
},
"dependencies": {
"@atls-ui-parts/button": "workspace:0.0.12"
"@atls-ui-parts/button": "workspace:*"
},
"devDependencies": {
"@emotion/styled": "^11.9.3",
Expand Down
4 changes: 2 additions & 2 deletions ui-admin/design/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"express": "^4.18.1"
},
"devDependencies": {
"@atls-ui-admin/button": "workspace:0.0.12",
"@atls-ui-admin/theme": "workspace:0.0.7",
"@atls-ui-admin/button": "workspace:*",
"@atls-ui-admin/theme": "workspace:*",
"@babel/core": "^7.18.5",
"@emotion/babel-plugin": "^11.9.2",
"@emotion/css": "^11.9.0",
Expand Down
2 changes: 1 addition & 1 deletion ui-admin/icon/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@atls-ui-admin/icon",
"version": "0.0.8",
"version": "0.0.9",
"license": "BSD-3-Clause",
"main": "src/index.ts",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions ui-admin/icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@atls-ui-admin/icons",
"version": "0.0.8",
"version": "0.0.9",
"license": "BSD-3-Clause",
"main": "src/index.ts",
"files": [
Expand All @@ -15,7 +15,7 @@
"devDependencies": {
"@atlantis-lab/prettier-config": "^0.1.12",
"@atlantis-lab/tsconfig": "^0.1.12",
"@atls-ui-admin/icon": "workspace:0.0.8",
"@atls-ui-admin/icon": "workspace:*",
"@svgr/core": "5.4.0",
"@testing-library/react": "^13.3.0",
"@types/prettier": "^2",
Expand Down
6 changes: 3 additions & 3 deletions ui-admin/upload/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@atls-ui-admin/upload",
"version": "0.0.8",
"version": "0.0.9",
"license": "MIT",
"main": "src/index.ts",
"files": [
Expand All @@ -17,8 +17,8 @@
},
"devDependencies": {
"@apollo/client": "3.6.6",
"@atls-ui-admin/icon": "workspace:0.0.8",
"@atls-ui-admin/icons": "workspace:0.0.8",
"@atls-ui-admin/icon": "workspace:*",
"@atls-ui-admin/icons": "workspace:*",
"@emotion/react": "^11.9.3",
"@emotion/styled": "^11.9.3",
"@testing-library/react": "^13.3.0",
Expand Down
4 changes: 2 additions & 2 deletions ui-parts/autocomplete/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@atls-ui-parts/autocomplete",
"version": "0.0.15",
"version": "0.0.16",
"license": "BSD-3-Clause",
"main": "src/index.ts",
"files": [
Expand All @@ -12,7 +12,7 @@
"postpack": "rm -rf dist"
},
"dependencies": {
"@atls-ui-proto/input": "workspace:0.0.13",
"@atls-ui-proto/input": "workspace:*",
"downshift": "7.6.2",
"react-laag": "2.0.5"
},
Expand Down
4 changes: 2 additions & 2 deletions ui-parts/autocomplete/src/autocomplete.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ const Autocomplete = (

const { layerProps, renderLayer, triggerProps, triggerBounds } = useLayer({
isOpen,
placement: 'bottom-start',
auto: true,
triggerOffset: 0,
placement: 'bottom-start',
possiblePlacements: ['bottom-start', 'top-start'] as Array<Placement>,
})

Expand Down Expand Up @@ -87,8 +87,8 @@ const Autocomplete = (
)

const { onChange: downshiftOnChange, ...restProps } = getInputProps(triggerProps)
const inputProps = { ...restProps, onChangeNative: downshiftOnChange }
const menuProps = getMenuProps({ style: {} })
const inputProps = { ...restProps, onChangeNative: downshiftOnChange }

return (
<>
Expand Down
2 changes: 1 addition & 1 deletion ui-parts/autocomplete/src/autocomplete.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const WithValue = () => {
const [value, setValue] = useState({ value: 'Neptunium' })

return (
<div style={{ width: '100%', minHeight: 400, paddingTop: 40 }}>
<div style={{ minHeight: 400, width: '100%', paddingTop: 40 }}>
<Autocomplete value={value} options={options} onChange={setValue} />
</div>
)
Expand Down
14 changes: 7 additions & 7 deletions ui-parts/avatar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@atls-ui-parts/avatar",
"version": "0.0.8",
"version": "0.0.9",
"license": "BSD-3-Clause",
"main": "src/index.ts",
"files": [
Expand All @@ -12,13 +12,13 @@
"postpack": "rm -rf dist"
},
"dependencies": {
"@atls-ui-parts/styles": "workspace:0.0.4"
"@atls-ui-parts/styles": "workspace:*"
},
"devDependencies": {
"@atls-ui-parts/image": "workspace:0.0.4",
"@atls-ui-parts/scalable-content": "workspace:0.0.4",
"@atls-ui-parts/text-transform": "workspace:0.0.3",
"@atls/storybook-google-fonts": "workspace:0.0.0",
"@atls-ui-parts/image": "workspace:*",
"@atls-ui-parts/scalable-content": "workspace:*",
"@atls-ui-parts/text-transform": "workspace:*",
"@atls/storybook-google-fonts": "workspace:*",
"@emotion/styled": "11.9.3",
"@types/jest": "29.5.4",
"@types/node": "20.5.7",
Expand All @@ -31,7 +31,7 @@
},
"peerDependencies": {
"@emotion/styled": "11.9.3",
"react": "*",
"react": "18.2.0",
"styled-system": "5.1.5",
"styled-tools": "1.7.2"
},
Expand Down
2 changes: 1 addition & 1 deletion ui-parts/avatar/src/avatar.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ export default {

export const Avatar = ({
backgroundColor,
borderColor,
borderWidth,
borderColor,
size,
borderRadius,
padding,
Expand Down
2 changes: 1 addition & 1 deletion ui-parts/avatar/src/avatar.templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ ${buildProps({
const appearancePrimaryStyles = createAppearanceStyles({
${buildProps({
backgroundColor,
borderColor,
backgroundColor,
})}
})
Expand Down
2 changes: 1 addition & 1 deletion ui-parts/avatar/src/shape/shape.interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ export interface AvatarShapeStyles {
size: number
borderRadius?: number | Function
borderWidth?: number | Function
padding?: number | Function
fontFamily?: string | Function
padding?: number | Function
fontSize?: number | Function
fontWeight?: string | number | Function
}
Expand Down
28 changes: 14 additions & 14 deletions ui-parts/button/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@atls-ui-parts/button",
"version": "0.0.12",
"version": "0.0.13",
"license": "BSD-3-Clause",
"main": "src/index.ts",
"files": [
Expand All @@ -12,21 +12,21 @@
"postpack": "rm -rf dist"
},
"dependencies": {
"@atls-ui-parts/styles": "workspace:0.0.4"
"@atls-ui-parts/styles": "workspace:*"
},
"devDependencies": {
"@atls/storybook-google-fonts": "workspace:0.0.0",
"@emotion/styled": "^11.9.3",
"@mdx-js/react": "^2.3.0",
"@storybook/addon-docs": "^6.5.9",
"@storybook/components": "^6.5.9",
"@types/jest": "^28.1.2",
"@types/mdx-js__react": "^1.5.5",
"@types/react": "^18.0.14",
"@types/styled-system": "^5.1.15",
"react": "^18.2.0",
"styled-system": "^5.1.5",
"styled-tools": "^1.7.2"
"@atls/storybook-google-fonts": "workspace:*",
"@emotion/styled": "11.9.3",
"@mdx-js/react": "2.3.0",
"@storybook/addon-docs": "6.5.9",
"@storybook/components": "6.5.9",
"@types/jest": "28.1.2",
"@types/mdx-js__react": "1.5.5",
"@types/react": "18.0.14",
"@types/styled-system": "5.1.15",
"react": "18.2.0",
"styled-system": "5.1.5",
"styled-tools": "1.7.2"
},
"peerDependencies": {
"@emotion/styled": "11.9.3",
Expand Down
2 changes: 1 addition & 1 deletion ui-parts/button/src/appearance/appearance.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { combine } from '@atls-ui-parts/styles'
import { ButtonAppearanceStyles } from './appearance.interfaces'

export const createColorStyles: styleFn = (
color: string,
backgroundColor: string,
color: string,
borderColor: string
) =>
() => ({
Expand Down
2 changes: 1 addition & 1 deletion ui-parts/button/src/button.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ export const Button = ({
size,
fontFamily,
fontSize,
fontWeight,
shapeRounding,
fontWeight,
paddingLeft,
paddingRight,
contentDivider,
Expand Down
Loading

0 comments on commit 9308b04

Please sign in to comment.