PluginProbe
GutSlider – All in One Slider and Carousel Blocks for Gutenberg / 2.11.0
GutSlider – All in One Slider and Carousel Blocks for Gutenberg v2.11.0
3.1.0 3.0.0 2.13.2 2.13.1 2.13.0 trunk 1.0.0 2.1.0 2.10.0 2.10.1 2.11.0 2.11.1 2.11.2 2.11.3 2.11.4 2.12.0 2.2.1 2.2.2 2.3.0 2.4.0 2.5.1 2.5.3 2.5.4 2.5.5 2.6.1 All 56 releases
slider-blocks / src / controls / typography-control / constants.js

constants.js in GutSlider – All in One Slider and Carousel Blocks for Gutenberg 2.11.0, at src/controls/typography-control/constants.js

39 lines 1.5 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 fontWeightOptions = [
4 { label: __('Default', 'slider-blocks'), value: '' },
5 { label: __('100', 'slider-blocks'), value: '100' },
6 { label: __('200', 'slider-blocks'), value: '200' },
7 { label: __('300', 'slider-blocks'), value: '300' },
8 { label: __('400', 'slider-blocks'), value: '400' },
9 { label: __('500', 'slider-blocks'), value: '500' },
10 { label: __('600', 'slider-blocks'), value: '600' },
11 { label: __('700', 'slider-blocks'), value: '700' },
12 { label: __('800', 'slider-blocks'), value: '800' },
13 { label: __('900', 'slider-blocks'), value: '900' }
14 ];
15
16 export const textTransformOptions = [
17 { label: __('None', 'slider-blocks'), value: 'none' },
18 { label: __('aa', 'slider-blocks'), value: 'lowercase' },
19 { label: __('Aa', 'slider-blocks'), value: 'capitalize' },
20 { label: __('AA', 'slider-blocks'), value: 'uppercase' }
21 ];
22
23 export const textDecorationOptions = [
24 { label: __('Default', 'slider-blocks'), value: '' },
25 { label: __('None', 'slider-blocks'), value: 'none' },
26 { label: __('Overline', 'slider-blocks'), value: 'overline' },
27 { label: __('Line Through', 'slider-blocks'), value: 'line-through' },
28 { label: __('Underline', 'slider-blocks'), value: 'underline' },
29 {
30 label: __('Underline Oveline', 'slider-blocks'),
31 value: 'underline overline'
32 }
33 ];
34
35 export const fontStyleOptions = [
36 { label: __('Normal', 'slider-blocks'), value: 'normal' },
37 { label: __('Italic', 'slider-blocks'), value: 'italic' }
38 ];
39