@prom-ui/core 0.0.16 → 0.0.19

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 (46) hide show
  1. package/Body/package.json +1 -1
  2. package/Box/package.json +1 -1
  3. package/Button/package.json +1 -1
  4. package/ButtonPageUp/package.json +1 -1
  5. package/Checkbox/package.json +1 -1
  6. package/Flex/package.json +1 -1
  7. package/Grid/package.json +1 -1
  8. package/Icon/package.json +1 -1
  9. package/Image/package.json +1 -1
  10. package/ImageEmoji/package.json +1 -1
  11. package/Input/package.json +1 -1
  12. package/KeyPress/package.json +1 -1
  13. package/Line/package.json +1 -1
  14. package/Link/package.json +1 -1
  15. package/List/package.json +1 -1
  16. package/OutsideClick/package.json +1 -1
  17. package/Picture/package.json +1 -1
  18. package/PortableOverlay/index.d.ts +12 -0
  19. package/PortableOverlay/index.js +114 -0
  20. package/PortableOverlay/package.json +10 -0
  21. package/PortableOverlay/style.css +44 -0
  22. package/Portal/index.d.ts +2 -2
  23. package/Portal/package.json +1 -1
  24. package/Rating/package.json +1 -1
  25. package/Scroll/package.json +1 -1
  26. package/ScrollControls/index.js +1 -4
  27. package/ScrollControls/package.json +1 -1
  28. package/SideOverlay/blocks.d.ts +14 -0
  29. package/SideOverlay/index.d.ts +31 -0
  30. package/SideOverlay/index.js +254 -0
  31. package/SideOverlay/package.json +12 -0
  32. package/SideOverlay/style.css +208 -0
  33. package/SideOverlay/utils.d.ts +8 -0
  34. package/SimpleSlider/index.d.ts +23 -0
  35. package/SimpleSlider/index.js +480 -0
  36. package/SimpleSlider/package.json +12 -0
  37. package/SimpleSlider/style.css +134 -0
  38. package/SimpleSlider/useAutoPlay.d.ts +3 -0
  39. package/SimpleSlider/utils.d.ts +19 -0
  40. package/Skeleton/package.json +1 -1
  41. package/Spinner/package.json +1 -1
  42. package/Text/package.json +1 -1
  43. package/TextEmoji/package.json +1 -1
  44. package/Tumbler/package.json +1 -1
  45. package/base/colors-dark.css +117 -0
  46. package/package.json +5 -2
@@ -0,0 +1,117 @@
1
+ /*
2
+ https://www.hsluv.org/
3
+
4
+ --black-900: 92.7;
5
+ --black-800: 82.7;
6
+ --black-700: 72.7;
7
+ --black-600: 62.7;
8
+ --black-500: 52.7;
9
+ --black-400: 42.7;
10
+ --black-300: 32.7;
11
+ --black-200: 22.7;
12
+ --black-100: 12.7; // #202123
13
+ --black-50: 2.7;
14
+
15
+ --blue-900: 90;
16
+ --blue-800: 84;
17
+ --blue-700: 78;
18
+ --blue-600: 72;
19
+ --blue-500: 66; // #5ea2ff
20
+ --blue-400: 60;
21
+ --blue-300: 54;
22
+ --blue-200: 48;
23
+ --blue-100: 42;
24
+ --blue-50: 36;
25
+
26
+ --red-900: 86;
27
+ --red-800: 80;
28
+ --red-700: 74;
29
+ --red-600: 68;
30
+ --red-500: 62;
31
+ --red-400: 56;
32
+ --red-300: 50;
33
+ --red-200: 44;
34
+ --red-100: 38;
35
+ --red-50: 32; // #8e2514
36
+ */
37
+
38
+ [data-pds-color-scheme="dark"] {
39
+ --black-900: #e9eaeb;
40
+ --black-800: #ccced1;
41
+ --black-700: #b0b2b8;
42
+ --black-600: #94989f;
43
+ --black-500: #7b7e84;
44
+ --black-400: #62656a;
45
+ --black-300: #4b4d51;
46
+ --black-200: #353639;
47
+ --black-100: #202123;
48
+ --black-50: #1c1d1e;
49
+
50
+ --white: #272a2b;
51
+
52
+ --blue-900: #d6e3ff;
53
+ --blue-800: #bdd2ff;
54
+ --blue-700: #a1c2ff;
55
+ --blue-600: #83b1ff;
56
+ --blue-500: #5ea2ff;
57
+ --blue-400: #1e92ff;
58
+ --blue-300: #0083e8;
59
+ --blue-200: #0073ce;
60
+ --blue-100: #0064b5;
61
+ --blue-50: #00569c;
62
+
63
+ --violet-900: #e9ddfe;
64
+ --violet-800: #ddc8fe;
65
+ --violet-700: #d1b4fe;
66
+ --violet-600: #c69efd;
67
+ --violet-500: #bc88fd;
68
+ --violet-400: #b270fd;
69
+ --violet-300: #a955fc;
70
+ --violet-200: #a131fc;
71
+ --violet-100: #930fea;
72
+ --violet-50: #7e0ccb;
73
+
74
+ --yellow-900: #ffdf93;
75
+ --yellow-800: #fbcd00;
76
+ --yellow-700: #e7bd00;
77
+ --yellow-600: #d4ac00;
78
+ --yellow-500: #c19d00;
79
+ --yellow-400: #ae8d00;
80
+ --yellow-300: #9c7e00;
81
+ --yellow-200: #8a6f00;
82
+ --yellow-100: #786100;
83
+ --yellow-50: #675300;
84
+
85
+ --green-900: #91fa8a;
86
+ --green-800: #69ec5e;
87
+ --green-700: #61da56;
88
+ --green-600: #58c74e;
89
+ --green-500: #4fb546;
90
+ --green-400: #47a43f;
91
+ --green-300: #3e9237;
92
+ --green-200: #368130;
93
+ --green-100: #2e7129;
94
+ --green-50: #276122;
95
+
96
+ --red-900: #fbccca;
97
+ --red-800: #fab5b1;
98
+ --red-700: #f99e98;
99
+ --red-600: #f8847c;
100
+ --red-500: #f7685a;
101
+ --red-400: #f4462a;
102
+ --red-300: #da3e25;
103
+ --red-200: #c0351f;
104
+ --red-100: #a62d19;
105
+ --red-50: #8e2514;
106
+
107
+ --orange-900: #FCF2E1;
108
+ --orange-800: #F8DEB5;
109
+ --orange-700: #F3CA85;
110
+ --orange-600: #EFB456;
111
+ --orange-500: #ECA537;
112
+ --orange-400: #E99623;
113
+ --orange-300: #E58B1F;
114
+ --orange-200: #DF7D1C;
115
+ --orange-100: #D86F18;
116
+ --orange-50: #CD5915;
117
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prom-ui/core",
3
3
  "author": "e.marchenko",
4
- "version": "0.0.16",
4
+ "version": "0.0.19",
5
5
  "description": "core ui blocks",
6
6
  "scripts": {
7
7
  "prebuild": "node ./preBuild.js",
@@ -42,6 +42,9 @@
42
42
  "evokit-list": "^3.3.0",
43
43
  "evokit-picture": "^3.2.0",
44
44
  "evokit-text": "^3.2.0",
45
+ "intersection-observer": "^0.12.0",
46
+ "react-easy-swipe": "^0.0.22",
47
+ "react-scrolllock": "^5.0.1",
45
48
  "react-transition-group": "^4.4.2",
46
49
  "ts-debounce": "^4.0.0",
47
50
  "ttag": "^1.7.24"
@@ -51,5 +54,5 @@
51
54
  "react": "*",
52
55
  "react-dom": "*"
53
56
  },
54
- "gitHead": "6b13ce8ae8cef474cf8b201c948f502fee5bd01c"
57
+ "gitHead": "de8db49d82fbaf185e623e555734eb85468e5b25"
55
58
  }