@neko-os/ui 0.1.0 → 0.2.1

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.
Files changed (172) hide show
  1. package/dist/NekoUI.js +1 -1
  2. package/dist/abstractions/FlatList.native.js +1 -1
  3. package/dist/abstractions/ScrollView.native.js +1 -1
  4. package/dist/components/actions/ActionsDrawer.js +1 -1
  5. package/dist/components/actions/Dropdown.js +1 -1
  6. package/dist/components/actions/FloatingMenu.js +1 -1
  7. package/dist/components/feedback/alerter.js +1 -1
  8. package/dist/components/feedback/confirmer.js +1 -1
  9. package/dist/components/index.js +1 -1
  10. package/dist/components/inputs/Picker.js +1 -1
  11. package/dist/components/modals/bottomDrawer/native/BottomDrawer.js +1 -0
  12. package/dist/components/modals/bottomDrawer/native/DrawerContext.js +1 -0
  13. package/dist/components/modals/bottomDrawer/native/DrawerHandle.js +1 -0
  14. package/dist/components/modals/bottomDrawer/native/createDrawerScrollComponent.js +1 -0
  15. package/dist/components/modals/bottomDrawer/web/BottomDrawer.js +1 -0
  16. package/dist/components/modals/drawer/Drawer.js +1 -0
  17. package/dist/components/modals/index.js +1 -0
  18. package/dist/components/modals/modal/Modal.js +1 -0
  19. package/dist/components/modals/modal/Modal.native.js +1 -0
  20. package/dist/components/modals/modal/ModalBackdrop.js +1 -0
  21. package/dist/components/modals/modal/ModalContent.js +1 -0
  22. package/dist/components/modals/modal/ModalFooter.js +1 -0
  23. package/dist/components/modals/modal/ModalHeader.js +1 -0
  24. package/dist/components/modals/modal/handler/ModalsHandler.js +1 -0
  25. package/dist/components/modals/router/ModalRoute.js +1 -0
  26. package/dist/components/modals/router/ModalsRouter.js +1 -0
  27. package/dist/components/modals/router/ModalsRouterContext.js +1 -0
  28. package/dist/components/modals/router/index.js +1 -0
  29. package/dist/components/modals/router/useAllModalsParams.js +1 -0
  30. package/dist/components/modals/router/useModalParams.js +1 -0
  31. package/dist/components/modals/router/useModalsNavigation.js +1 -0
  32. package/dist/components/modals/router/useUpdateModalContainer.js +1 -0
  33. package/dist/components/sections/SectionItemDropdown.js +1 -0
  34. package/dist/components/sections/index.js +1 -1
  35. package/dist/components/structure/index.js +1 -1
  36. package/dist/components/structure/popover/Popover.js +1 -1
  37. package/dist/components/structure/popover/Popover.native.js +1 -1
  38. package/dist/components/structure/popover/Popover_BU.js +1 -1
  39. package/dist/components/theme/ThemePickerDrawer.js +1 -1
  40. package/dist/modifiers/_helpers.js +1 -1
  41. package/dist/modifiers/animation.js +1 -1
  42. package/dist/modifiers/animations/fadeEffect.js +1 -1
  43. package/dist/modifiers/animations/scaleEffect.js +1 -1
  44. package/dist/modifiers/animations/slideEffect.js +1 -1
  45. package/dist/modifiers/background.js +1 -1
  46. package/dist/modifiers/border.js +1 -1
  47. package/dist/modifiers/cursor.js +1 -1
  48. package/dist/modifiers/display.js +1 -1
  49. package/dist/modifiers/flex.js +1 -1
  50. package/dist/modifiers/flexWrapper.js +1 -1
  51. package/dist/modifiers/margin.js +1 -1
  52. package/dist/modifiers/overflow.js +1 -1
  53. package/dist/modifiers/padding.js +1 -1
  54. package/dist/modifiers/position.js +1 -1
  55. package/dist/modifiers/shadow.js +1 -1
  56. package/dist/modifiers/size.js +1 -1
  57. package/dist/modifiers/state.js +1 -1
  58. package/dist/modifiers/text.js +1 -1
  59. package/dist/theme/default/blackTheme.js +1 -1
  60. package/dist/theme/default/cyberpunkTheme.js +1 -1
  61. package/dist/theme/default/hackerTheme.js +1 -1
  62. package/dist/theme/default/paperTheme.js +1 -1
  63. package/dist/theme/default/themes.js +1 -1
  64. package/package.json +1 -1
  65. package/src/NekoUI.js +1 -1
  66. package/src/abstractions/FlatList.native.js +2 -1
  67. package/src/abstractions/ScrollView.native.js +2 -2
  68. package/src/components/actions/ActionsDrawer.js +2 -2
  69. package/src/components/actions/Dropdown.js +3 -3
  70. package/src/components/actions/FloatingMenu.js +1 -1
  71. package/src/components/feedback/alerter.js +1 -1
  72. package/src/components/feedback/confirmer.js +1 -1
  73. package/src/components/index.js +1 -0
  74. package/src/components/inputs/Picker.js +1 -1
  75. package/src/components/{structure → modals}/bottomDrawer/native/BottomDrawer.js +1 -1
  76. package/src/components/{structure → modals}/bottomDrawer/native/DrawerHandle.js +1 -1
  77. package/src/components/modals/index.js +4 -0
  78. package/src/components/{structure → modals}/modal/Modal.native.js +1 -1
  79. package/src/components/{structure → modals}/modal/ModalBackdrop.js +1 -1
  80. package/src/components/{structure → modals}/modal/ModalContent.js +1 -1
  81. package/src/components/{structure → modals}/modal/ModalFooter.js +1 -1
  82. package/src/components/{structure → modals}/modal/ModalHeader.js +1 -1
  83. package/src/components/modals/router/ModalRoute.js +15 -0
  84. package/src/components/modals/router/ModalsRouter.js +120 -0
  85. package/src/components/modals/router/ModalsRouterContext.js +16 -0
  86. package/src/components/modals/router/index.js +6 -0
  87. package/src/components/modals/router/useAllModalsParams.js +6 -0
  88. package/src/components/modals/router/useModalParams.js +6 -0
  89. package/src/components/modals/router/useModalsNavigation.js +6 -0
  90. package/src/components/modals/router/useUpdateModalContainer.js +6 -0
  91. package/src/components/sections/SectionItemDropdown.js +68 -0
  92. package/src/components/sections/index.js +1 -0
  93. package/src/components/structure/index.js +0 -3
  94. package/src/components/structure/popover/Popover.js +1 -1
  95. package/src/components/structure/popover/Popover.native.js +1 -1
  96. package/src/components/structure/popover/Popover_BU.js +1 -1
  97. package/src/components/theme/ThemePickerDrawer.js +3 -4
  98. package/src/modifiers/_helpers.js +3 -0
  99. package/src/modifiers/animation.js +2 -2
  100. package/src/modifiers/animations/fadeEffect.js +2 -1
  101. package/src/modifiers/animations/scaleEffect.js +2 -1
  102. package/src/modifiers/animations/slideEffect.js +2 -1
  103. package/src/modifiers/background.js +2 -2
  104. package/src/modifiers/border.js +2 -2
  105. package/src/modifiers/cursor.js +2 -2
  106. package/src/modifiers/display.js +2 -2
  107. package/src/modifiers/flex.js +2 -2
  108. package/src/modifiers/flexWrapper.js +2 -2
  109. package/src/modifiers/margin.js +2 -2
  110. package/src/modifiers/overflow.js +2 -2
  111. package/src/modifiers/padding.js +2 -2
  112. package/src/modifiers/position.js +2 -2
  113. package/src/modifiers/shadow.js +2 -2
  114. package/src/modifiers/size.js +2 -2
  115. package/src/modifiers/state.js +2 -2
  116. package/src/modifiers/text.js +2 -2
  117. package/src/theme/default/blackTheme.js +32 -21
  118. package/src/theme/default/cyberpunkTheme.js +24 -32
  119. package/src/theme/default/hackerTheme.js +23 -16
  120. package/src/theme/default/paperTheme.js +4 -0
  121. package/src/theme/default/themes.js +0 -9
  122. package/dist/components/structure/bottomDrawer/native/BottomDrawer.js +0 -1
  123. package/dist/components/structure/bottomDrawer/native/DrawerContext.js +0 -1
  124. package/dist/components/structure/bottomDrawer/native/DrawerHandle.js +0 -1
  125. package/dist/components/structure/bottomDrawer/native/createDrawerScrollComponent.js +0 -1
  126. package/dist/components/structure/bottomDrawer/web/BottomDrawer.js +0 -1
  127. package/dist/components/structure/drawer/Drawer.js +0 -1
  128. package/dist/components/structure/modal/Modal.js +0 -1
  129. package/dist/components/structure/modal/Modal.native.js +0 -1
  130. package/dist/components/structure/modal/ModalBackdrop.js +0 -1
  131. package/dist/components/structure/modal/ModalContent.js +0 -1
  132. package/dist/components/structure/modal/ModalFooter.js +0 -1
  133. package/dist/components/structure/modal/ModalHeader.js +0 -1
  134. package/dist/components/structure/modal/handler/ModalsHandler.js +0 -1
  135. package/dist/theme/default/deepWoodsTheme.js +0 -1
  136. package/dist/theme/default/forestTheme.js +0 -1
  137. package/dist/theme/default/midnightTheme.js +0 -1
  138. package/dist/theme/default/msdosTheme.js +0 -1
  139. package/dist/theme/default/oceanTheme.js +0 -1
  140. package/dist/theme/default/pastelTheme.js +0 -1
  141. package/dist/theme/default/sunsetTheme.js +0 -1
  142. package/src/theme/default/deepWoodsTheme.js +0 -34
  143. package/src/theme/default/forestTheme.js +0 -34
  144. package/src/theme/default/midnightTheme.js +0 -34
  145. package/src/theme/default/msdosTheme.js +0 -54
  146. package/src/theme/default/oceanTheme.js +0 -34
  147. package/src/theme/default/pastelTheme.js +0 -34
  148. package/src/theme/default/sunsetTheme.js +0 -35
  149. /package/dist/components/{structure → modals}/bottomDrawer/index.js +0 -0
  150. /package/dist/components/{structure → modals}/bottomDrawer/index.native.js +0 -0
  151. /package/dist/components/{structure → modals}/bottomDrawer/index.web.js +0 -0
  152. /package/dist/components/{structure → modals}/bottomDrawer/native/DrawerScrollView.js +0 -0
  153. /package/dist/components/{structure → modals}/bottomDrawer/native/utils.js +0 -0
  154. /package/dist/components/{structure → modals}/drawer/Drawer.native.js +0 -0
  155. /package/dist/components/{structure → modals}/drawer/Drawer.web.js +0 -0
  156. /package/dist/components/{structure → modals}/drawer/index.js +0 -0
  157. /package/dist/components/{structure → modals}/modal/index.js +0 -0
  158. /package/src/components/{structure → modals}/bottomDrawer/index.js +0 -0
  159. /package/src/components/{structure → modals}/bottomDrawer/index.native.js +0 -0
  160. /package/src/components/{structure → modals}/bottomDrawer/index.web.js +0 -0
  161. /package/src/components/{structure → modals}/bottomDrawer/native/DrawerContext.js +0 -0
  162. /package/src/components/{structure → modals}/bottomDrawer/native/DrawerScrollView.js +0 -0
  163. /package/src/components/{structure → modals}/bottomDrawer/native/createDrawerScrollComponent.js +0 -0
  164. /package/src/components/{structure → modals}/bottomDrawer/native/utils.js +0 -0
  165. /package/src/components/{structure → modals}/bottomDrawer/web/BottomDrawer.js +0 -0
  166. /package/src/components/{structure → modals}/drawer/Drawer.js +0 -0
  167. /package/src/components/{structure → modals}/drawer/Drawer.native.js +0 -0
  168. /package/src/components/{structure → modals}/drawer/Drawer.web.js +0 -0
  169. /package/src/components/{structure → modals}/drawer/index.js +0 -0
  170. /package/src/components/{structure → modals}/modal/Modal.js +0 -0
  171. /package/src/components/{structure → modals}/modal/handler/ModalsHandler.js +0 -0
  172. /package/src/components/{structure → modals}/modal/index.js +0 -0
@@ -1 +0,0 @@
1
- import{mergeDeepRight}from'ramda';import{BASE_THEME}from"./base";export var PASTEL_DREAM_THEME=mergeDeepRight(BASE_THEME,{label:'Pastel Dream',colors:{primary:'#FFB6C1',text:'#4B4453',text2:'#6D6875',text3:'#A093A6',text4:'#C9BBCF',mainBG:'#FFF7FA',overlayBG:'#FFFFFF',backdrop:'#4B4453',shadow:'rgba(39, 45, 52, 0.15)',divider:'#f0f0f0',blue:'#A5B4FC',yellow:'#FDE68A',green:'#BBF7D0',purple:'#E9D5FF',orange:'#FED7AA',cyan:'#BAE6FD',red:'#FCA5A5',navy:'#A5B4FC',indigo:'#C7D2FE',gray:'#E5E7EB',brown:'#E0B084',lylac:'#E9D5FF',pink:'#FBCFE8'}});
@@ -1 +0,0 @@
1
- import{mergeDeepRight}from'ramda';import{BASE_THEME}from"./base";export var SUNSET_GLOW_THEME=mergeDeepRight(BASE_THEME,{label:'Sunset',colors:{primary:'#FF6B6B',text:'#4B372E',text2:'#5C4033',text3:'#8C5A43',text4:'#B97A57',mainBG:'#FFF5E6',overlayBG:'#FFFAF1',backdrop:'#331E0A',shadow:'rgba(39, 45, 52, 0.15)',divider:'#f0f0f0',blue:'#3B82F6',yellow:'#FBBF24',green:'#22C55E',purple:'#A855F7',orange:'#FB923C',cyan:'#06B6D4',red:'#DC2626',navy:'#1E3A8A',indigo:'#4F46E5',gray:'#9CA3AF',brown:'#92400E',lylac:'#C084FC',pink:'#F472B6'}});
@@ -1,34 +0,0 @@
1
- import { mergeDeepRight } from 'ramda'
2
- import { BASE_THEME } from './base'
3
-
4
- export const DEEP_WOODS_DARK_THEME = mergeDeepRight(BASE_THEME, {
5
- label: 'Deep Woods',
6
-
7
- colors: {
8
- primary: '#4CAF50',
9
- text: '#C8E6C9',
10
- text2: '#C8E6C9',
11
- text3: '#A5D6A7',
12
- text4: '#81C784',
13
-
14
- mainBG: '#0D1B14',
15
- overlayBG: '#16281F',
16
- backdrop: '#0D1B14',
17
- shadow: 'rgba(39, 45, 52, 0.6)',
18
- divider: 'rgba(255,255,255, 0.2)',
19
-
20
- blue: '#64B5F6',
21
- yellow: '#FBC02D',
22
- green: '#81C784',
23
- purple: '#9575CD',
24
- orange: '#FFB74D',
25
- cyan: '#4DD0E1',
26
- red: '#E57373',
27
- navy: '#1B263B',
28
- indigo: '#5C6BC0',
29
- gray: '#9E9E9E',
30
- brown: '#8D6E63',
31
- lylac: '#B39DDB',
32
- pink: '#F48FB1',
33
- },
34
- })
@@ -1,34 +0,0 @@
1
- import { mergeDeepRight } from 'ramda'
2
- import { BASE_THEME } from './base'
3
-
4
- export const FOREST_MIST_THEME = mergeDeepRight(BASE_THEME, {
5
- label: 'Forest Mist',
6
-
7
- colors: {
8
- primary: '#4CAF50',
9
- text: '#0B2414',
10
- text2: '#14532D',
11
- text3: '#1B5E20',
12
- text4: '#388E3C',
13
-
14
- mainBG: '#E9F5EC',
15
- overlayBG: '#FFFFFF',
16
- backdrop: '#E9F5EC',
17
- shadow: 'rgba(39, 45, 52, 0.15)',
18
- divider: 'rgba(0,0,0, 0.1)',
19
-
20
- blue: '#2563EB',
21
- yellow: '#F59E0B',
22
- green: '#15803D',
23
- purple: '#7C3AED',
24
- orange: '#EA580C',
25
- cyan: '#0891B2',
26
- red: '#B91C1C',
27
- navy: '#1E3A8A',
28
- indigo: '#4338CA',
29
- gray: '#94A3B8',
30
- brown: '#78350F',
31
- lylac: '#A78BFA',
32
- pink: '#F472B6',
33
- },
34
- })
@@ -1,34 +0,0 @@
1
- import { mergeDeepRight } from 'ramda'
2
- import { BASE_THEME } from './base'
3
-
4
- export const MIDNIGHT_NEON_THEME = mergeDeepRight(BASE_THEME, {
5
- label: 'Midnight',
6
-
7
- colors: {
8
- primary: '#FF00FF',
9
- text: '#F0F0F0',
10
- text2: '#D4D4D4',
11
- text3: '#A3A3A3',
12
- text4: '#7A7A7A',
13
-
14
- mainBG: '#0D0D0D',
15
- overlayBG: '#1A1A1A',
16
- backdrop: '#0D0D0D',
17
- shadow: 'rgba(39, 45, 52, 0.6)',
18
- divider: 'rgba(255,255,255, 0.2)',
19
-
20
- blue: '#3B82F6',
21
- yellow: '#FACC15',
22
- green: '#22C55E',
23
- purple: '#A855F7',
24
- orange: '#FB923C',
25
- cyan: '#06B6D4',
26
- red: '#F87171',
27
- navy: '#1E3A8A',
28
- indigo: '#6366F1',
29
- gray: '#9CA3AF',
30
- brown: '#92400E',
31
- lylac: '#C084FC',
32
- pink: '#F472B6',
33
- },
34
- })
@@ -1,54 +0,0 @@
1
- import { mergeDeepRight } from 'ramda'
2
-
3
- import { BASE_THEME } from './base'
4
-
5
- export const DEFAULT_MSDOS_THEME = mergeDeepRight(BASE_THEME, {
6
- label: 'MSDOS',
7
-
8
- colors: {
9
- primary: '#FFFF00',
10
- text: '#FFFFFF',
11
- text2: '#E0E0E0',
12
- text3: '#B0B0B0',
13
- text4: '#8A8A8A',
14
-
15
- mainBG: '#0000AA',
16
- overlayBG: '#000088',
17
- backdrop: '#0000AA',
18
- shadow: 'rgba(0, 0, 0, 0.6)',
19
- divider: 'rgba(255,255,255,0.3)',
20
-
21
- blue: '#0000FF',
22
- yellow: '#FFFF00',
23
- green: '#00FF00',
24
- purple: '#AA00FF',
25
- orange: '#FF7700',
26
- cyan: '#00FFFF',
27
- red: '#FF0000',
28
- navy: '#000080',
29
- indigo: '#4B0082',
30
- gray: '#B0B0B0',
31
- brown: '#8B4513',
32
- lylac: '#9370DB',
33
- pink: '#FF69B4',
34
- },
35
-
36
- radius: {
37
- xxxs: 0,
38
- xxs: 1,
39
- xs: 2,
40
- sm: 3,
41
- md: 4,
42
- lg: 5,
43
- xl: 6,
44
- xxl: 7,
45
- xxxl: 8,
46
- },
47
-
48
- components: {
49
- Card: {
50
- border: 1,
51
- borderColor: 'divider',
52
- },
53
- },
54
- })
@@ -1,34 +0,0 @@
1
- import { mergeDeepRight } from 'ramda'
2
- import { BASE_THEME } from './base'
3
-
4
- export const OCEAN_BREEZE_THEME = mergeDeepRight(BASE_THEME, {
5
- label: 'Ocean Breeze',
6
-
7
- colors: {
8
- primary: '#2B90D9',
9
- text: '#065277',
10
- text2: '#065A82',
11
- text3: '#0B84B4',
12
- text4: '#3ABEFF',
13
-
14
- mainBG: '#E6F7FF',
15
- overlayBG: '#FFFFFF',
16
- backdrop: '#04364A',
17
- shadow: 'rgba(39, 45, 52, 0.15)',
18
- divider: 'rgba(0,0,0, 0.1)',
19
-
20
- blue: '#1D4ED8',
21
- yellow: '#FACC15',
22
- green: '#10B981',
23
- purple: '#8B5CF6',
24
- orange: '#FB923C',
25
- cyan: '#06B6D4',
26
- red: '#EF4444',
27
- navy: '#1E3A8A',
28
- indigo: '#6366F1',
29
- gray: '#9CA3AF',
30
- brown: '#A16207',
31
- lylac: '#C4B5FD',
32
- pink: '#F472B6',
33
- },
34
- })
@@ -1,34 +0,0 @@
1
- import { mergeDeepRight } from 'ramda'
2
- import { BASE_THEME } from './base'
3
-
4
- export const PASTEL_DREAM_THEME = mergeDeepRight(BASE_THEME, {
5
- label: 'Pastel Dream',
6
-
7
- colors: {
8
- primary: '#FFB6C1',
9
- text: '#4B4453',
10
- text2: '#6D6875',
11
- text3: '#A093A6',
12
- text4: '#C9BBCF',
13
-
14
- mainBG: '#FFF7FA',
15
- overlayBG: '#FFFFFF',
16
- backdrop: '#4B4453',
17
- shadow: 'rgba(39, 45, 52, 0.15)',
18
- divider: '#f0f0f0',
19
-
20
- blue: '#A5B4FC',
21
- yellow: '#FDE68A',
22
- green: '#BBF7D0',
23
- purple: '#E9D5FF',
24
- orange: '#FED7AA',
25
- cyan: '#BAE6FD',
26
- red: '#FCA5A5',
27
- navy: '#A5B4FC',
28
- indigo: '#C7D2FE',
29
- gray: '#E5E7EB',
30
- brown: '#E0B084',
31
- lylac: '#E9D5FF',
32
- pink: '#FBCFE8',
33
- },
34
- })
@@ -1,35 +0,0 @@
1
- import { mergeDeepRight } from 'ramda'
2
-
3
- import { BASE_THEME } from './base'
4
-
5
- export const SUNSET_GLOW_THEME = mergeDeepRight(BASE_THEME, {
6
- label: 'Sunset',
7
-
8
- colors: {
9
- primary: '#FF6B6B',
10
- text: '#4B372E',
11
- text2: '#5C4033',
12
- text3: '#8C5A43',
13
- text4: '#B97A57',
14
-
15
- mainBG: '#FFF5E6',
16
- overlayBG: '#FFFAF1',
17
- backdrop: '#331E0A',
18
- shadow: 'rgba(39, 45, 52, 0.15)',
19
- divider: '#f0f0f0',
20
-
21
- blue: '#3B82F6',
22
- yellow: '#FBBF24',
23
- green: '#22C55E',
24
- purple: '#A855F7',
25
- orange: '#FB923C',
26
- cyan: '#06B6D4',
27
- red: '#DC2626',
28
- navy: '#1E3A8A',
29
- indigo: '#4F46E5',
30
- gray: '#9CA3AF',
31
- brown: '#92400E',
32
- lylac: '#C084FC',
33
- pink: '#F472B6',
34
- },
35
- })