Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Nov 1, 2024
1 parent be96421 commit 6575eac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion components/src/components/molecules/Profile/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type BaseProps = {
size?: Size
/** The colour of the indicator */
indicatorColor?: Colors
} & Omit<NativeDivProps, 'children'>
} & Omit<NativeDivProps, 'children' | 'color'>

interface ContainerProps {
$size: Size
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { Sprinkles } from '@/src/css/sprinkles.css'
import type { Direction } from '../Select'

type Properties = {
zIndex: string
zIndex: Sprinkles['zIndex']
visibility: Sprinkles['visibility']
top: string
bottom: string
Expand All @@ -19,14 +19,14 @@ const transitionMap: {
} & { default: { [key in Direction]: Properties } } = {
entered: {
up: {
zIndex: '20',
zIndex: 20,
visibility: 'visible',
top: 'auto',
bottom: 'calc(100% + 0.5rem)',
opacity: '1',
},
down: {
zIndex: '20',
zIndex: 20,
visibility: 'visible',
top: 'calc(100% + 0.5rem)',
bottom: 'auto',
Expand All @@ -35,14 +35,14 @@ const transitionMap: {
},
default: {
up: {
zIndex: '1',
zIndex: 1,
visibility: 'hidden',
top: 'auto',
bottom: 'calc(100% - 3rem)',
opacity: '0',
},
down: {
zIndex: '1',
zIndex: 1,
visibility: 'hidden',
top: 'calc(100% - 3rem)',
bottom: 'auto',
Expand Down
2 changes: 1 addition & 1 deletion components/src/css/sprinkles.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const staticProperties = defineProperties({
transitionDuration: commonVars.transitionDuration,
transitionProperty: ['all', 'none', 'box-shadow', 'background-color', 'initial', 'inherit', 'stroke'],
visibility: ['visible', 'hidden', 'initial', 'inherit'],
zIndex: [1, 10, 100, 9999, 10000, 999999],
zIndex: [1, 10, 20, 100, 9999, 10000, 999999],
strokeWidth: commonVars.space,
fontStyle: ['italic', 'normal', 'inherit'],
boxSizing: ['border-box', 'content-box', 'inherit'],
Expand Down

0 comments on commit 6575eac

Please sign in to comment.