@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@app-studio/web",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "files": [
@@ -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.grey.500' : 'color.grey.300',
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 : 'lightGrey'}
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]}
@@ -79,7 +79,7 @@ const size = {
79
79
  flex={4}
80
80
  justify={justify}
81
81
  gap={5}
82
- backgroundColor="lightGrey"
82
+ backgroundColor="lightgray"
83
83
  >
84
84
  <View backgroundColor="theme.primary" {...size} />
85
85
  <View backgroundColor="theme.secondary" {...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 : 'midGrey';
28
+ const color = error ? 'error' : isInteractive ? colorScheme : 'midgray';
29
29
 
30
30
  return (
31
31
  <Horizontal
@@ -92,7 +92,7 @@ const size = {
92
92
  justify={justify}
93
93
  gap={5}
94
94
  height={300}
95
- backgroundColor="lightGrey"
95
+ backgroundColor="lightgray"
96
96
  >
97
97
  <View backgroundColor="theme.primary" {...size} />
98
98
  <View backgroundColor="theme.secondary" {...size} />
@@ -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="lightgrey">
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} />