@app-studio/web 0.1.2 → 0.1.3
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/package.json +1 -1
- package/src/components/Form/Checkbox/Checkbox/Checkbox.view.tsx +1 -1
- package/src/components/Form/Switch/Switch/Switch.view.tsx +1 -1
- package/src/components/Layout/Horizontal/Horizontal.md +1 -1
- package/src/components/Layout/Input/FieldContent/FieldContent.tsx +1 -1
- package/src/components/Layout/Vertical/Vertical.md +1 -1
- package/src/components/Layout/Vertical/examples/Justify.tsx +1 -1
package/package.json
CHANGED
|
@@ -61,7 +61,7 @@ const CheckboxView: React.FC<CheckboxViewProps> = ({
|
|
|
61
61
|
? { backgroundColor: colorScheme }
|
|
62
62
|
: {
|
|
63
63
|
borderWidth: 2,
|
|
64
|
-
borderColor: error ? 'theme.error' : isHovered ? 'color.
|
|
64
|
+
borderColor: error ? 'theme.error' : isHovered ? 'color.gray.500' : 'color.gray.300',
|
|
65
65
|
borderStyle: 'solid',
|
|
66
66
|
}),
|
|
67
67
|
borderRadius: 3,
|
|
@@ -60,7 +60,7 @@ const SwitchView: React.FC<SwitchViewProps> = ({
|
|
|
60
60
|
borderRadius={24}
|
|
61
61
|
filter={isHovered && on ? 'brightness(0.9)' : 'brightness(1)'}
|
|
62
62
|
transition="justify-content 0.3s cubic-bezier(0.4, 0, 0.2, 1)"
|
|
63
|
-
backgroundColor={isDisabled ? 'disabled' : on ? colorScheme : '
|
|
63
|
+
backgroundColor={isDisabled ? 'disabled' : on ? colorScheme : 'lightgray'}
|
|
64
64
|
justifyContent={activeChild ? 'space-between' : on ? 'flex-end' : 'flex-start'}
|
|
65
65
|
{...shadow}
|
|
66
66
|
{...SliderPadding[size]}
|
|
@@ -25,7 +25,7 @@ export const FieldContent: React.FC<ContentProps> = ({
|
|
|
25
25
|
...props
|
|
26
26
|
}) => {
|
|
27
27
|
const isInteractive = (isHovered || isFocused) && !isDisabled;
|
|
28
|
-
const color = error ? 'error' : isInteractive ? colorScheme : '
|
|
28
|
+
const color = error ? 'error' : isInteractive ? colorScheme : 'midgray';
|
|
29
29
|
|
|
30
30
|
return (
|
|
31
31
|
<Horizontal
|
|
@@ -14,7 +14,7 @@ export const JustifyVertical = () => {
|
|
|
14
14
|
{['flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'space-evenly'].map((justify) => (
|
|
15
15
|
<Vertical flex={1} key={justify}>
|
|
16
16
|
{justify}
|
|
17
|
-
<Vertical justify={justify as Justify} gap={5} height={300} backgroundColor="
|
|
17
|
+
<Vertical justify={justify as Justify} gap={5} height={300} backgroundColor="lightgray">
|
|
18
18
|
<View backgroundColor="theme.primary" {...size} />
|
|
19
19
|
<View backgroundColor="theme.secondary" {...size} />
|
|
20
20
|
<View backgroundColor="theme.warning" {...size} />
|