@mr.dj2u/library-registry 0.0.0 → 0.1.0

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.
@@ -11,4 +11,3 @@ const styles = StyleSheet.create({
11
11
  backgroundColor: 'white',
12
12
  },
13
13
  });
14
-
@@ -11,7 +11,11 @@ export function Picker<T>({
11
11
  dropdownIconRippleColor,
12
12
  className,
13
13
  ...props
14
- }: React.ComponentProps<typeof RNPicker<T>>) {
14
+ }: Omit<React.ComponentProps<typeof RNPicker>, 'selectedValue' | 'onValueChange'> & {
15
+ selectedValue?: T;
16
+ onValueChange?: (value: T, itemIndex: number) => void;
17
+ className?: string;
18
+ }) {
15
19
  const { colors } = useColorScheme();
16
20
  return (
17
21
  <View
@@ -13,10 +13,10 @@ function Slider({
13
13
  const { colors } = useColorScheme();
14
14
  return (
15
15
  <RNSlider
16
- thumbTintColor={(thumbTintColor ?? Platform.OS === 'ios') ? COLORS.white : colors.primary}
16
+ thumbTintColor={thumbTintColor ?? (Platform.OS === 'ios' ? COLORS.white : colors.primary)}
17
17
  minimumTrackTintColor={minimumTrackTintColor ?? colors.primary}
18
18
  maximumTrackTintColor={
19
- (maximumTrackTintColor ?? Platform.OS === 'android') ? colors.primary : undefined
19
+ maximumTrackTintColor ?? (Platform.OS === 'android' ? colors.primary : undefined)
20
20
  }
21
21
  minimumValue={0}
22
22
  maximumValue={1}
@@ -38,7 +38,11 @@ const styles = StyleSheet.create({
38
38
  borderRadius: 12,
39
39
  borderWidth: 1,
40
40
  padding: 16,
41
- boxShadow: '0 6px 10px rgba(0, 0, 0, 0.08)',
41
+ shadowColor: '#000000',
42
+ shadowOffset: { width: 0, height: 6 },
43
+ shadowOpacity: 0.08,
44
+ shadowRadius: 10,
45
+ elevation: 4,
42
46
  },
43
47
  title: {
44
48
  color: '#111827',
@@ -1,72 +1,72 @@
1
- export const EMBEDDED_GOOGLE_FONTS: string[] = [
2
- 'Abril Fatface',
3
- 'Archivo',
4
- 'Assistant',
5
- 'Barlow',
6
- 'Bebas Neue',
7
- 'Bitter',
8
- 'Cabin',
9
- 'Cardo',
10
- 'Cormorant Garamond',
11
- 'Crimson Text',
12
- 'DM Sans',
13
- 'DM Serif Display',
14
- 'Dosis',
15
- 'EB Garamond',
16
- 'Exo 2',
17
- 'Figtree',
18
- 'Fira Code',
19
- 'Fira Sans',
20
- 'Fraunces',
21
- 'Hind',
22
- 'IBM Plex Mono',
23
- 'IBM Plex Sans',
24
- 'Inconsolata',
25
- 'Inria Serif',
26
- 'Inter',
27
- 'JetBrains Mono',
28
- 'Karla',
29
- 'Lato',
30
- 'Libre Baskerville',
31
- 'Libre Franklin',
32
- 'Literata',
33
- 'Lora',
34
- 'Manrope',
35
- 'Merriweather',
36
- 'Montserrat',
37
- 'Mukta',
38
- 'Nanum Gothic',
39
- 'Noto Sans',
40
- 'Noto Sans Display',
41
- 'Noto Sans Mono',
42
- 'Noto Serif',
43
- 'Noto Serif Display',
44
- 'Nunito',
45
- 'Open Sans',
46
- 'Oswald',
47
- 'Outfit',
48
- 'Playfair Display',
49
- 'Plus Jakarta Sans',
50
- 'Poppins',
51
- 'Prompt',
52
- 'Public Sans',
53
- 'Quicksand',
54
- 'Raleway',
55
- 'Red Hat Display',
56
- 'Roboto',
57
- 'Roboto Condensed',
58
- 'Roboto Flex',
59
- 'Roboto Mono',
60
- 'Roboto Slab',
61
- 'Rubik',
62
- 'Sora',
63
- 'Source Code Pro',
64
- 'Source Sans 3',
65
- 'Space Grotesk',
66
- 'Spectral',
67
- 'Syne',
68
- 'Teko',
69
- 'Titillium Web',
70
- 'Ubuntu',
71
- 'Work Sans',
72
- ];
1
+ export const EMBEDDED_GOOGLE_FONTS: string[] = [
2
+ 'Abril Fatface',
3
+ 'Archivo',
4
+ 'Assistant',
5
+ 'Barlow',
6
+ 'Bebas Neue',
7
+ 'Bitter',
8
+ 'Cabin',
9
+ 'Cardo',
10
+ 'Cormorant Garamond',
11
+ 'Crimson Text',
12
+ 'DM Sans',
13
+ 'DM Serif Display',
14
+ 'Dosis',
15
+ 'EB Garamond',
16
+ 'Exo 2',
17
+ 'Figtree',
18
+ 'Fira Code',
19
+ 'Fira Sans',
20
+ 'Fraunces',
21
+ 'Hind',
22
+ 'IBM Plex Mono',
23
+ 'IBM Plex Sans',
24
+ 'Inconsolata',
25
+ 'Inria Serif',
26
+ 'Inter',
27
+ 'JetBrains Mono',
28
+ 'Karla',
29
+ 'Lato',
30
+ 'Libre Baskerville',
31
+ 'Libre Franklin',
32
+ 'Literata',
33
+ 'Lora',
34
+ 'Manrope',
35
+ 'Merriweather',
36
+ 'Montserrat',
37
+ 'Mukta',
38
+ 'Nanum Gothic',
39
+ 'Noto Sans',
40
+ 'Noto Sans Display',
41
+ 'Noto Sans Mono',
42
+ 'Noto Serif',
43
+ 'Noto Serif Display',
44
+ 'Nunito',
45
+ 'Open Sans',
46
+ 'Oswald',
47
+ 'Outfit',
48
+ 'Playfair Display',
49
+ 'Plus Jakarta Sans',
50
+ 'Poppins',
51
+ 'Prompt',
52
+ 'Public Sans',
53
+ 'Quicksand',
54
+ 'Raleway',
55
+ 'Red Hat Display',
56
+ 'Roboto',
57
+ 'Roboto Condensed',
58
+ 'Roboto Flex',
59
+ 'Roboto Mono',
60
+ 'Roboto Slab',
61
+ 'Rubik',
62
+ 'Sora',
63
+ 'Source Code Pro',
64
+ 'Source Sans 3',
65
+ 'Space Grotesk',
66
+ 'Spectral',
67
+ 'Syne',
68
+ 'Teko',
69
+ 'Titillium Web',
70
+ 'Ubuntu',
71
+ 'Work Sans',
72
+ ];