@companix/uikit 0.0.2 → 0.0.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.
Files changed (254) hide show
  1. package/dist/bundle.es.js +61 -0
  2. package/dist/bundle.es10.js +87 -0
  3. package/dist/bundle.es11.js +75 -0
  4. package/dist/bundle.es12.js +38 -0
  5. package/dist/bundle.es13.js +33 -0
  6. package/dist/bundle.es14.js +18 -0
  7. package/dist/bundle.es15.js +11 -0
  8. package/dist/bundle.es16.js +35 -0
  9. package/dist/bundle.es17.js +27 -0
  10. package/dist/bundle.es18.js +23 -0
  11. package/dist/bundle.es19.js +24 -0
  12. package/dist/bundle.es20.js +15 -0
  13. package/dist/bundle.es21.js +41 -0
  14. package/dist/bundle.es22.js +18 -0
  15. package/dist/bundle.es23.js +36 -0
  16. package/dist/bundle.es24.js +23 -0
  17. package/dist/bundle.es25.js +42 -0
  18. package/dist/bundle.es26.js +114 -0
  19. package/dist/bundle.es27.js +115 -0
  20. package/dist/bundle.es28.js +38 -0
  21. package/dist/bundle.es29.js +13 -0
  22. package/dist/bundle.es3.js +45 -0
  23. package/dist/bundle.es30.js +27 -0
  24. package/dist/bundle.es31.js +38 -0
  25. package/dist/bundle.es35.js +43 -0
  26. package/dist/bundle.es36.js +442 -0
  27. package/dist/bundle.es37.js +24 -0
  28. package/dist/bundle.es38.js +26 -0
  29. package/dist/bundle.es39.js +83 -0
  30. package/dist/bundle.es4.js +14 -0
  31. package/dist/bundle.es40.js +20 -0
  32. package/dist/bundle.es41.js +16 -0
  33. package/dist/bundle.es43.js +7 -0
  34. package/dist/bundle.es44.js +23 -0
  35. package/dist/bundle.es45.js +16 -0
  36. package/dist/bundle.es46.js +72 -0
  37. package/dist/bundle.es47.js +70 -0
  38. package/dist/bundle.es48.js +34 -0
  39. package/dist/bundle.es49.js +70 -0
  40. package/dist/bundle.es5.js +88 -0
  41. package/dist/bundle.es50.js +33 -0
  42. package/dist/bundle.es51.js +78 -0
  43. package/dist/bundle.es52.js +51 -0
  44. package/dist/bundle.es53.js +45 -0
  45. package/dist/bundle.es54.js +40 -0
  46. package/dist/bundle.es55.js +36 -0
  47. package/dist/bundle.es56.js +9 -0
  48. package/dist/bundle.es57.js +9 -0
  49. package/dist/bundle.es58.js +7 -0
  50. package/dist/bundle.es59.js +9 -0
  51. package/dist/bundle.es6.js +87 -0
  52. package/dist/bundle.es60.js +8 -0
  53. package/dist/bundle.es61.js +19 -0
  54. package/dist/bundle.es62.js +15 -0
  55. package/dist/bundle.es63.js +22 -0
  56. package/dist/bundle.es64.js +45 -0
  57. package/dist/bundle.es65.js +28 -0
  58. package/dist/bundle.es66.js +34 -0
  59. package/dist/bundle.es67.js +6 -0
  60. package/dist/bundle.es68.js +12 -0
  61. package/dist/bundle.es69.js +47 -0
  62. package/dist/bundle.es7.js +80 -0
  63. package/dist/bundle.es70.js +11 -0
  64. package/dist/bundle.es71.js +18 -0
  65. package/dist/bundle.es72.js +32 -0
  66. package/dist/bundle.es73.js +35 -0
  67. package/dist/bundle.es74.js +6 -0
  68. package/dist/bundle.es75.js +7 -0
  69. package/dist/bundle.es76.js +7 -0
  70. package/dist/bundle.es77.js +11 -0
  71. package/dist/bundle.es78.js +17 -0
  72. package/dist/bundle.es79.js +7 -0
  73. package/dist/bundle.es8.js +29 -0
  74. package/dist/bundle.es80.js +17 -0
  75. package/dist/bundle.es81.js +25 -0
  76. package/dist/bundle.es9.js +47 -0
  77. package/dist/types/Button/index.d.ts +20 -0
  78. package/dist/types/ButtonGroup/index.d.ts +7 -0
  79. package/dist/types/Checkbox/index.d.ts +10 -0
  80. package/dist/types/Countdown/index.d.ts +7 -0
  81. package/dist/types/DateInput/index.d.ts +13 -0
  82. package/dist/types/DatePicker/Calendar.d.ts +14 -0
  83. package/dist/types/DatePicker/CalendarHeader.d.ts +10 -0
  84. package/dist/types/DatePicker/index.d.ts +12 -0
  85. package/dist/types/Dialog/index.d.ts +12 -0
  86. package/dist/types/DialogAlert/Alert.d.ts +19 -0
  87. package/dist/types/DialogAlert/Viewport.d.ts +8 -0
  88. package/dist/types/DialogAlert/index.d.ts +11 -0
  89. package/dist/types/Drawer/index.d.ts +13 -0
  90. package/dist/types/File/index.d.ts +10 -0
  91. package/dist/types/Form/index.d.ts +17 -0
  92. package/dist/types/Icon/index.d.ts +7 -0
  93. package/dist/types/LoadButton/index.d.ts +5 -0
  94. package/dist/types/NumberInput/index.d.ts +6 -0
  95. package/dist/types/OptionItem/OptionItem.d.ts +7 -0
  96. package/dist/types/OptionItem/OptionsList.d.ts +8 -0
  97. package/dist/types/Popover/index.d.ts +26 -0
  98. package/dist/types/Radio/index.d.ts +20 -0
  99. package/dist/types/Scrollable/ImitateScroll.d.ts +10 -0
  100. package/dist/types/Scrollable/index.d.ts +33 -0
  101. package/dist/types/Select/SelectInput.d.ts +14 -0
  102. package/dist/types/Select/index.d.ts +15 -0
  103. package/dist/types/SelectTags/index.d.ts +15 -0
  104. package/dist/types/Spinner/index.d.ts +8 -0
  105. package/dist/types/Stepper/index.d.ts +8 -0
  106. package/dist/types/Switch/index.d.ts +10 -0
  107. package/dist/types/Tabs/index.d.ts +13 -0
  108. package/dist/types/TextArea/index.d.ts +7 -0
  109. package/dist/types/Toaster/RemoveListener.d.ts +3 -0
  110. package/dist/types/Toaster/Toast.d.ts +9 -0
  111. package/dist/types/Toaster/Viewport.d.ts +13 -0
  112. package/dist/types/Toaster/index.d.ts +15 -0
  113. package/dist/types/Tooltip/index.d.ts +8 -0
  114. package/dist/types/__hooks/use-frooze-closing.d.ts +5 -0
  115. package/dist/types/__hooks/use-loading.d.ts +8 -0
  116. package/dist/types/__hooks/use-local-storage.d.ts +1 -0
  117. package/dist/types/__hooks/use-popover-position.d.ts +8 -0
  118. package/dist/types/__hooks/use-previos.d.ts +2 -0
  119. package/dist/types/__hooks/use-resize.d.ts +3 -0
  120. package/dist/types/__hooks/use-scrollbox.d.ts +7 -0
  121. package/dist/types/__hooks/use-stepper-input.d.ts +13 -0
  122. package/dist/types/__hooks/use-update.d.ts +1 -0
  123. package/dist/types/__hooks/useCalendar.d.ts +17 -0
  124. package/dist/types/__hooks/useCalendarOptions-copy.d.ts +22 -0
  125. package/dist/types/__hooks/useCalendarOptions.d.ts +31 -0
  126. package/dist/types/__libs/calendar.d.ts +25 -0
  127. package/dist/types/__utils/utils.d.ts +25 -0
  128. package/dist/types/index.d.ts +31 -0
  129. package/dist/types/types.d.ts +13 -0
  130. package/dist/uikit.css +1 -0
  131. package/package.json +10 -6
  132. package/.eslintrc +0 -54
  133. package/declaration.d.ts +0 -4
  134. package/index.html +0 -12
  135. package/playground/App.tsx +0 -166
  136. package/playground/Example.tsx +0 -14
  137. package/playground/Test.tsx +0 -44
  138. package/playground/animation-test-1/index.scss +0 -20
  139. package/playground/animation-test-1/index.tsx +0 -17
  140. package/playground/animation-test-2/index.scss +0 -62
  141. package/playground/animation-test-2/index.tsx +0 -32
  142. package/playground/bootstrap.tsx +0 -19
  143. package/playground/buttons/index.tsx +0 -132
  144. package/playground/checkbox/index.tsx +0 -64
  145. package/playground/date-input/index.tsx +0 -45
  146. package/playground/date-picker/index.tsx +0 -41
  147. package/playground/dialog/index.tsx +0 -92
  148. package/playground/dialog-alert/index.tsx +0 -47
  149. package/playground/drawer/index.tsx +0 -55
  150. package/playground/index.css +0 -33
  151. package/playground/index.scss +0 -270
  152. package/playground/input/index.tsx +0 -112
  153. package/playground/number-inputs/index.tsx +0 -50
  154. package/playground/popovers/index.tsx +0 -70
  155. package/playground/radio-group/index.tsx +0 -69
  156. package/playground/select/index.tsx +0 -72
  157. package/playground/select-tags/index.tsx +0 -36
  158. package/playground/styles.scss +0 -2
  159. package/playground/switch/index.tsx +0 -44
  160. package/playground/tabs/index.tsx +0 -16
  161. package/playground/test.scss +0 -0
  162. package/playground/text-area/index.tsx +0 -17
  163. package/playground/text-input/index.tsx +0 -12
  164. package/playground/toaster/index.tsx +0 -156
  165. package/playground/tooltip/index.tsx +0 -26
  166. package/src/Button/Button.scss +0 -128
  167. package/src/Button/index.tsx +0 -72
  168. package/src/ButtonGroup/ButtonGroup.scss +0 -18
  169. package/src/ButtonGroup/index.tsx +0 -20
  170. package/src/Checkbox/Checkbox.scss +0 -115
  171. package/src/Checkbox/index.tsx +0 -46
  172. package/src/Countdown/index.tsx +0 -54
  173. package/src/DateInput/DateInput.scss +0 -11
  174. package/src/DateInput/index.tsx +0 -96
  175. package/src/DatePicker/Calendar.scss +0 -125
  176. package/src/DatePicker/Calendar.tsx +0 -157
  177. package/src/DatePicker/CalendarHeader.tsx +0 -139
  178. package/src/DatePicker/DatePicker.scss +0 -0
  179. package/src/DatePicker/index.tsx +0 -177
  180. package/src/Dialog/Dialog.scss +0 -25
  181. package/src/Dialog/Popup.scss +0 -55
  182. package/src/Dialog/index.tsx +0 -31
  183. package/src/DialogAlert/Alert.scss +0 -52
  184. package/src/DialogAlert/Alert.tsx +0 -78
  185. package/src/DialogAlert/Viewport.tsx +0 -52
  186. package/src/DialogAlert/index.tsx +0 -37
  187. package/src/Drawer/Drawer.scss +0 -112
  188. package/src/Drawer/index.tsx +0 -46
  189. package/src/File/index.tsx +0 -60
  190. package/src/Form/Form.scss +0 -70
  191. package/src/Form/Input.scss +0 -24
  192. package/src/Form/index.tsx +0 -131
  193. package/src/Icon/icon.scss +0 -18
  194. package/src/Icon/index.tsx +0 -43
  195. package/src/LoadButton/index.tsx +0 -17
  196. package/src/NumberInput/index.tsx +0 -74
  197. package/src/OptionItem/Option.scss +0 -89
  198. package/src/OptionItem/OptionItem.tsx +0 -49
  199. package/src/OptionItem/OptionsList.tsx +0 -26
  200. package/src/Popover/Popover.scss +0 -80
  201. package/src/Popover/index.tsx +0 -117
  202. package/src/Radio/Radio.scss +0 -148
  203. package/src/Radio/index.tsx +0 -68
  204. package/src/Scrollable/ImitateScroll.tsx +0 -141
  205. package/src/Scrollable/Scrollable.scss +0 -50
  206. package/src/Scrollable/index.tsx +0 -141
  207. package/src/Select/Select.scss +0 -80
  208. package/src/Select/SelectInput.tsx +0 -131
  209. package/src/Select/index.tsx +0 -134
  210. package/src/SelectTags/SelectTags.scss +0 -66
  211. package/src/SelectTags/index.tsx +0 -192
  212. package/src/Spinner/Spinner.scss +0 -14
  213. package/src/Spinner/index.tsx +0 -19
  214. package/src/Stepper/StepperInput.scss +0 -35
  215. package/src/Stepper/index.tsx +0 -76
  216. package/src/Switch/Switch.scss +0 -102
  217. package/src/Switch/index.tsx +0 -49
  218. package/src/Tabs/Tabs.scss +0 -58
  219. package/src/Tabs/index.tsx +0 -89
  220. package/src/TextArea/TextArea.scss +0 -34
  221. package/src/TextArea/index.tsx +0 -51
  222. package/src/Toaster/RemoveListener.tsx +0 -11
  223. package/src/Toaster/Toast.tsx +0 -69
  224. package/src/Toaster/Toaster.scss +0 -151
  225. package/src/Toaster/Viewport.tsx +0 -117
  226. package/src/Toaster/index.tsx +0 -52
  227. package/src/Tooltip/Tooltip.scss +0 -28
  228. package/src/Tooltip/index.tsx +0 -33
  229. package/src/__hooks/use-frooze-closing.ts +0 -51
  230. package/src/__hooks/use-loading.ts +0 -34
  231. package/src/__hooks/use-local-storage.ts +0 -19
  232. package/src/__hooks/use-popover-position.ts +0 -24
  233. package/src/__hooks/use-previos.ts +0 -25
  234. package/src/__hooks/use-resize.ts +0 -41
  235. package/src/__hooks/use-scrollbox.ts +0 -45
  236. package/src/__hooks/use-stepper-input.ts +0 -82
  237. package/src/__hooks/use-update.ts +0 -19
  238. package/src/__hooks/useCalendar.ts +0 -104
  239. package/src/__hooks/useCalendarOptions-copy.ts +0 -87
  240. package/src/__hooks/useCalendarOptions.ts +0 -68
  241. package/src/__libs/calendar.ts +0 -175
  242. package/src/__utils/utils.ts +0 -137
  243. package/src/css.scss +0 -120
  244. package/src/index.scss +0 -22
  245. package/src/index.ts +0 -36
  246. package/src/mixins.scss +0 -99
  247. package/src/theme.scss +0 -103
  248. package/src/types.ts +0 -14
  249. package/tailwind.config.js +0 -91
  250. package/themes/classic/animations.scss +0 -179
  251. package/themes/classic/classic.scss +0 -493
  252. package/tsconfig.json +0 -27
  253. package/vite.build.ts +0 -35
  254. package/vite.config.ts +0 -33
package/src/mixins.scss DELETED
@@ -1,99 +0,0 @@
1
- @use './theme.scss';
2
- @use './css.scss';
3
- @use 'sass:map';
4
- @use 'sass:list';
5
- @use 'sass:meta';
6
-
7
- @mixin height($size) {
8
- height: $size;
9
- min-height: $size;
10
- max-height: $size;
11
- }
12
-
13
- @mixin box($size) {
14
- height: $size;
15
- width: $size;
16
- min-width: $size;
17
- }
18
-
19
- @mixin items-spacing($spacing) {
20
- & > * {
21
- margin-right: $spacing;
22
- }
23
-
24
- & > :last-child {
25
- margin-right: 0;
26
- }
27
- }
28
-
29
- @mixin truncate-text() {
30
- overflow: hidden;
31
- text-overflow: ellipsis;
32
- white-space: nowrap;
33
- }
34
-
35
- @function get-value($map, $keys...) {
36
- $current: $map;
37
-
38
- @each $key in $keys {
39
- @if meta.type-of($current) != 'map' {
40
- @return null;
41
- }
42
-
43
- $current: map.get($current, $key);
44
-
45
- @if $current == null {
46
- @return null;
47
- }
48
- }
49
-
50
- @return $current;
51
- }
52
-
53
- @mixin set-style($property, $source, $keys...) {
54
- $path: list.append($keys, $property);
55
- $var-name: get-value($source, $path...);
56
-
57
- @if $var-name != null {
58
- @if meta.type-of($var-name) != 'map' {
59
- #{$property}: $var-name;
60
- }
61
- }
62
- }
63
-
64
- @mixin use-styles($component, $keys...) {
65
- $source: map.get(theme.$tokens, $component);
66
-
67
- @each $property, $v in css.$properties {
68
- @include set-style($property, $source, $keys...);
69
- }
70
- }
71
-
72
- @mixin use-styles-debug($component, $keys...) {
73
- $source: map.get(theme.$tokens, $component);
74
-
75
- @debug $source;
76
-
77
- @each $property, $v in css.$properties {
78
- @include set-style($property, $source, $keys...);
79
- }
80
- }
81
-
82
- @function get-var-name($component, $keys...) {
83
- $source: map.get(theme.$tokens, $component);
84
- $var-name: get-value($source, $keys...);
85
-
86
- @return $var-name;
87
- }
88
-
89
- @mixin use-size($component, $keys...) {
90
- $name: get-var-name($component, $keys...);
91
-
92
- @if $name != null {
93
- @if meta.type-of($name) != 'map' {
94
- width: $name;
95
- min-width: $name;
96
- height: $name;
97
- }
98
- }
99
- }
package/src/theme.scss DELETED
@@ -1,103 +0,0 @@
1
- @use 'sass:map';
2
- @use 'sass:string';
3
- @use 'sass:list';
4
-
5
- $button-appearances: ();
6
-
7
- $tokens: ();
8
-
9
- // changes
10
- @function str-split($string, $delimiter) {
11
- $result: ();
12
- $buffer: '';
13
-
14
- @for $i from 1 through string.length($string) {
15
- $char: string.slice($string, $i, $i);
16
-
17
- @if ($char == $delimiter) {
18
- $result: list.append($result, $buffer);
19
- $buffer: '';
20
- } @else {
21
- $buffer: $buffer + $char;
22
- }
23
- }
24
-
25
- $result: list.append($result, $buffer);
26
-
27
- @return $result;
28
- }
29
-
30
- @function list-slice($list, $start, $end: list.length($list)) {
31
- $new: ();
32
-
33
- @for $i from $start through $end {
34
- $new: list.append($new, list.nth($list, $i));
35
- }
36
-
37
- @return $new;
38
- }
39
-
40
- /// Добавляет значение в многоуровневую карту
41
- @function map-deep-set($map, $keys, $value) {
42
- $current: $map;
43
- $key: list.nth($keys, 1);
44
-
45
- @if list.length($keys) == 1 {
46
- @return map.merge(
47
- $current,
48
- (
49
- $key: $value
50
- )
51
- );
52
- }
53
-
54
- $nested: map.get($current, $key);
55
-
56
- @if $nested == null {
57
- $nested: ();
58
- }
59
-
60
- $nested: map-deep-set($nested, list-slice($keys, 2), $value);
61
-
62
- @return map.merge(
63
- $current,
64
- (
65
- $key: $nested
66
- )
67
- );
68
- }
69
-
70
- @mixin use-button-properties($vars) {
71
- @each $full-name, $v in $vars {
72
- // Разбиваем путь: primary-default-enabled-background → ('primary', 'default', 'enabled', 'background')
73
- $parts: str-split($full-name, '_');
74
- // Создаём CSS переменную:
75
- $css-var: string.unquote('var(--btn_#{$full-name})');
76
- // Глубоко добавляем значение в структуру
77
- $button-appearances: map-deep-set($button-appearances, $parts, $css-var) !global;
78
- }
79
- }
80
-
81
- @mixin use-tokens($components) {
82
- @each $component-name, $v in $components {
83
- $component-vars: map.get($components, $component-name);
84
-
85
- @each $path, $v in $component-vars {
86
- $name: #{$component-name}_#{$path};
87
- // Разбиваем путь: primary_default_enabled_background → ('primary', 'default', 'enabled', 'background')
88
- $keys: str-split($name, '_');
89
- // Создаём CSS переменную:
90
- $css-var: string.unquote('var(--#{$name})');
91
- // Глубоко добавляем значение в структуру
92
- $tokens: map-deep-set($tokens, $keys, $css-var) !global;
93
- // set scss var
94
- --#{$name}: #{map.get($component-vars, $path)};
95
- }
96
- }
97
- }
98
-
99
- @mixin use-css-vars($prefix, $map) {
100
- @each $name, $value in $map {
101
- --#{$prefix}_#{$name}: #{$value};
102
- }
103
- }
package/src/types.ts DELETED
@@ -1,14 +0,0 @@
1
- export interface Option<T> {
2
- title: string
3
- value: T
4
- icon?: React.ReactNode
5
- label?: string
6
- disabled?: boolean
7
- className?: string
8
- }
9
-
10
- export interface DateFormat {
11
- month: number
12
- year: number
13
- day: number
14
- }
@@ -1,91 +0,0 @@
1
- export default {
2
- content: ['./index.html', './playground/*.{js,jsx,ts,tsx}', './playground/**/*.{js,jsx,ts,tsx}'],
3
- corePlugins: {
4
- preflight: false
5
- },
6
- theme: {
7
- borderRadius: {
8
- none: '0px',
9
- sm: '3px',
10
- DEFAULT: '4px',
11
- md: '6px',
12
- lg: '8px',
13
- xl: '12px',
14
- full: '9999px'
15
- },
16
- zIndex: {
17
- auto: 'auto',
18
- 1: '1',
19
- 2: '2',
20
- 3: '3',
21
- 4: '4',
22
- 0: '0',
23
- 10: '10',
24
- 20: '20',
25
- 30: '30',
26
- 40: '40'
27
- },
28
- fontSize: {
29
- xs: ['12px', { lineHeight: '14px' }],
30
- sm: ['14px', { lineHeight: '16.5px' }],
31
- base: ['16px', { lineHeight: '19px' }],
32
- lg: ['18px', { lineHeight: '21.5px' }],
33
- xl: ['20px', { lineHeight: '23.5px' }],
34
- '2xl': ['22px', { lineHeight: '26px' }],
35
- '3xl': ['24px', { lineHeight: '28px' }]
36
- },
37
- spacing: {
38
- 0: '0px',
39
- 1: '1px',
40
- 2: '2px',
41
- 3: '3px',
42
- 4: '4px',
43
- 5: '5px',
44
- 6: '6px',
45
- 7: '7px',
46
- 8: '8px',
47
- 9: '9px',
48
- 10: '10px',
49
- 11: '11px',
50
- 12: '12px',
51
- 13: '13px',
52
- 14: '14px',
53
- 15: '15px',
54
- 16: '16px',
55
- 17: '17px',
56
- 18: '18px',
57
- 19: '19px',
58
- 20: '20px',
59
- 21: '21px',
60
- 22: '22px',
61
- 23: '23px',
62
- 24: '24px',
63
- 25: '25px',
64
- 26: '26px',
65
- 27: '27px',
66
- 28: '28px',
67
- 29: '29px',
68
- 30: '30px',
69
- 31: '31px',
70
- 32: '32px',
71
- 33: '33px',
72
- 34: '34px',
73
- 35: '35px',
74
- 36: '36px',
75
- 37: '37px',
76
- 38: '38px',
77
- 39: '39px',
78
- 40: '40px',
79
- 44: '44px',
80
- 48: '48px',
81
- 52: '52px',
82
- 56: '56px',
83
- 60: '60px',
84
- 64: '64px',
85
- 72: '72px',
86
- 80: '80px',
87
- 96: '96px'
88
- }
89
- },
90
- plugins: []
91
- }
@@ -1,179 +0,0 @@
1
- @keyframes popoverScaleIn {
2
- from {
3
- transform: scale(0.3);
4
- }
5
- to {
6
- transform: scale(1);
7
- }
8
- }
9
-
10
- @keyframes fadeIn {
11
- from {
12
- opacity: 0;
13
- }
14
- to {
15
- opacity: 1;
16
- }
17
- }
18
-
19
- // out
20
-
21
- @keyframes popoverScaleOut {
22
- from {
23
- transform: scale(1);
24
- }
25
- to {
26
- transform: scale(0.3);
27
- }
28
- }
29
-
30
- @keyframes fadeOut {
31
- from {
32
- opacity: 1;
33
- }
34
- to {
35
- opacity: 0;
36
- }
37
- }
38
-
39
- @keyframes checkboxIn {
40
- from {
41
- transform: translateY(-5px);
42
- }
43
- to {
44
- transform: translateY(0);
45
- }
46
- }
47
-
48
- @keyframes checkboxOut {
49
- from {
50
- transform: translateY(0);
51
- }
52
- to {
53
- transform: translateY(-5px);
54
- }
55
- }
56
-
57
- @keyframes checkboxInColor {
58
- from {
59
- color: transparent;
60
- }
61
- to {
62
- color: #242429;
63
- }
64
- }
65
-
66
- @keyframes checkboxOutColor {
67
- from {
68
- color: #242429;
69
- }
70
- to {
71
- color: transparent;
72
- }
73
- }
74
-
75
- // radio-mark
76
-
77
- @keyframes markScaleIn {
78
- from {
79
- transform: scale(0.1);
80
- }
81
- to {
82
- transform: scale(1);
83
- }
84
- }
85
-
86
- @keyframes markScaleOut {
87
- from {
88
- transform: scale(1);
89
- }
90
- to {
91
- transform: scale(0.1);
92
- }
93
- }
94
-
95
- // dialog
96
-
97
- @keyframes dialogIn {
98
- 0% {
99
- opacity: 0;
100
- transform: scale(0.5);
101
- }
102
- 100% {
103
- opacity: 1;
104
- transform: scale(1);
105
- }
106
- }
107
-
108
- @keyframes dialogOut {
109
- from {
110
- opacity: 1;
111
- transform: scale(1);
112
- }
113
- to {
114
- opacity: 0;
115
- transform: scale(0.5);
116
- }
117
- }
118
-
119
- // drawer
120
-
121
- @keyframes slideFromBottom {
122
- from {
123
- transform: translate3d(0, 100%, 0);
124
- }
125
- to {
126
- transform: translate3d(0, 0, 0);
127
- }
128
- }
129
-
130
- @keyframes slideToBottom {
131
- to {
132
- transform: translate3d(0, 100%, 0);
133
- }
134
- }
135
-
136
- @keyframes slideFromTop {
137
- from {
138
- transform: translate3d(0, -100%, 0);
139
- }
140
- to {
141
- transform: translate3d(0, 0, 0);
142
- }
143
- }
144
-
145
- @keyframes slideToTop {
146
- to {
147
- transform: translate3d(0, -100%, 0);
148
- }
149
- }
150
-
151
- @keyframes slideFromLeft {
152
- from {
153
- transform: translate3d(-100%, 0, 0);
154
- }
155
- to {
156
- transform: translate3d(0, 0, 0);
157
- }
158
- }
159
-
160
- @keyframes slideToLeft {
161
- to {
162
- transform: translate3d(-100%, 0, 0);
163
- }
164
- }
165
-
166
- @keyframes slideFromRight {
167
- from {
168
- transform: translate3d(100%, 0, 0);
169
- }
170
- to {
171
- transform: translate3d(0, 0, 0);
172
- }
173
- }
174
-
175
- @keyframes slideToRight {
176
- to {
177
- transform: translate3d(100%, 0, 0);
178
- }
179
- }