PluginProbe
Block Animations, Motion & Scroll Effects – Ghost Kit / 3.3.3
Block Animations, Motion & Scroll Effects – Ghost Kit v3.3.3
3.7.2 3.7.1 3.7.0 3.6.1 trunk 1.6.3 2.25.0 3.3.0 3.3.1 3.3.2 3.3.3 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.5.0 3.5.1 3.6.0
ghostkit / gutenberg / extend / constants.js

constants.js in Block Animations, Motion & Scroll Effects – Ghost Kit 3.3.3, at gutenberg/extend/constants.js

96 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { __ } from '@wordpress/i18n';
2
3 export const EXTENSIONS = {
4 effects: {
5 label: __('Effects', 'ghostkit'),
6 attributes: ['effects'],
7 },
8 position: {
9 label: __('Position', 'ghostkit'),
10 styles: [
11 'position',
12 'top',
13 'right',
14 'bottom',
15 'left',
16 'width',
17 'height',
18 'min-width',
19 'min-height',
20 'max-width',
21 'max-height',
22 'z-index',
23 ],
24 responsive: true,
25 selectors: [''],
26 },
27 spacings: {
28 label: __('Spacings', 'ghostkit'),
29 styles: [
30 'padding-top',
31 'padding-right',
32 'padding-bottom',
33 'padding-left',
34 'margin-top',
35 'margin-right',
36 'margin-bottom',
37 'margin-left',
38 ],
39 responsive: true,
40 selectors: [''],
41 },
42 frame: {
43 label: __('Frame', 'ghostkit'),
44 styles: [
45 'border-style',
46 'border-width',
47 'border-color',
48 'border-top-left-radius',
49 'border-top-right-radius',
50 'border-bottom-left-radius',
51 'border-bottom-right-radius',
52 'box-shadow',
53 ],
54 responsive: true,
55 selectors: ['', '&:hover'],
56 },
57 transform: {
58 label: __('Transform', 'ghostkit'),
59 styles: [
60 '--gkt-transform-perspective',
61 '--gkt-transform-x',
62 '--gkt-transform-y',
63 '--gkt-transform-scale',
64 '--gkt-transform-rotate',
65 '--gkt-transform-rotate-x',
66 '--gkt-transform-rotate-y',
67 '--gkt-transform-rotate-z',
68 '--gkt-transform-skew-x',
69 '--gkt-transform-skew-y',
70 '--gkt-transform-origin',
71 ],
72 responsive: true,
73 selectors: ['', '&:hover'],
74 },
75 customCSS: {
76 label: __('Custom CSS', 'ghostkit'),
77 styles: [
78 'opacity',
79 'overflow-x',
80 'overflow-y',
81 'cursor',
82 'user-select',
83 'clip-path',
84 'custom',
85
86 // Pro.
87 'transition-property',
88 'transition-duration',
89 'transition-delay',
90 'transition-timing-function',
91 ],
92 responsive: true,
93 selectors: [''],
94 },
95 };
96