@wordpress/style-engine 0.16.0 → 1.0.0
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.
- package/CHANGELOG.md +18 -32
- package/README.md +30 -28
- package/build/index.js +6 -2
- package/build/index.js.map +1 -1
- package/build-module/index.js +6 -2
- package/build-module/index.js.map +1 -1
- package/build-types/index.d.ts +6 -2
- package/build-types/index.d.ts.map +1 -1
- package/class-wp-style-engine-css-declarations.php +14 -15
- package/class-wp-style-engine-css-rule.php +14 -14
- package/class-wp-style-engine-css-rules-store.php +7 -7
- package/class-wp-style-engine-processor.php +18 -6
- package/class-wp-style-engine.php +80 -192
- package/docs/using-the-style-engine-with-block-supports.md +151 -0
- package/package.json +4 -3
- package/phpunit/class-wp-style-engine-css-declarations-test.php +142 -95
- package/phpunit/class-wp-style-engine-css-rule-test.php +50 -21
- package/phpunit/class-wp-style-engine-css-rules-store-test.php +75 -58
- package/phpunit/class-wp-style-engine-processor-test.php +76 -33
- package/phpunit/{class-wp-style-engine-test.php → style-engine-test.php} +74 -48
- package/src/index.ts +6 -2
- package/style-engine.php +154 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,49 +1,84 @@
|
|
|
1
1
|
<?php
|
|
2
2
|
/**
|
|
3
|
-
* Tests the Style Engine
|
|
3
|
+
* Tests the Style Engine global functions that interact with the WP_Style_Engine class.
|
|
4
4
|
*
|
|
5
5
|
* @package Gutenberg
|
|
6
6
|
* @subpackage style-engine
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
// Check for the existence of Style Engine classes and methods.
|
|
10
|
+
// Once the Style Engine has been migrated to Core we can remove the if statements and require imports.
|
|
11
|
+
// Testing new features from the Gutenberg package may require
|
|
12
|
+
// testing against `gutenberg_` and `_Gutenberg` functions and methods in the future.
|
|
13
|
+
if ( ! class_exists( 'WP_Style_Engine_Processor' ) ) {
|
|
14
|
+
require __DIR__ . '/../class-wp-style-engine-processor.php';
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
if ( ! class_exists( 'WP_Style_Engine_CSS_Declarations' ) ) {
|
|
18
|
+
require __DIR__ . '/../class-wp-style-engine-css-declarations.php';
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
if ( ! class_exists( 'WP_Style_Engine_CSS_Rule' ) ) {
|
|
22
|
+
require __DIR__ . '/../class-wp-style-engine-css-rule.php';
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
if ( ! class_exists( 'WP_Style_Engine_CSS_Rules_Store' ) ) {
|
|
26
|
+
require __DIR__ . '/../class-wp-style-engine-css-rules-store.php';
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
if ( ! class_exists( 'WP_Style_Engine' ) ) {
|
|
30
|
+
require __DIR__ . '/../class-wp-style-engine.php';
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
if ( ! function_exists( 'wp_style_engine_get_styles' ) ) {
|
|
34
|
+
require __DIR__ . '/../style-engine.php';
|
|
35
|
+
}
|
|
14
36
|
|
|
15
37
|
/**
|
|
16
38
|
* Tests for registering, storing and generating styles.
|
|
17
39
|
*/
|
|
18
40
|
class WP_Style_Engine_Test extends WP_UnitTestCase {
|
|
19
41
|
/**
|
|
20
|
-
*
|
|
42
|
+
* Cleans up stores after each test.
|
|
21
43
|
*/
|
|
22
44
|
public function tear_down() {
|
|
23
|
-
parent::tear_down();
|
|
24
45
|
WP_Style_Engine_CSS_Rules_Store::remove_all_stores();
|
|
46
|
+
parent::tear_down();
|
|
25
47
|
}
|
|
26
48
|
|
|
27
49
|
/**
|
|
28
50
|
* Tests generating block styles and classnames based on various manifestations of the $block_styles argument.
|
|
29
51
|
*
|
|
30
|
-
* @
|
|
52
|
+
* @covers ::wp_style_engine_get_styles
|
|
53
|
+
* @covers WP_Style_Engine::parse_block_styles
|
|
54
|
+
* @covers WP_Style_Engine::compile_css
|
|
55
|
+
*
|
|
56
|
+
* @dataProvider data_wp_style_engine_get_styles
|
|
57
|
+
*
|
|
58
|
+
* @param array $block_styles The incoming block styles object.
|
|
59
|
+
* @param array $options {
|
|
60
|
+
* An array of options to pass to `wp_style_engine_get_styles()`.
|
|
31
61
|
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
62
|
+
* @type string|null $context An identifier describing the origin of the style object, e.g., 'block-supports' or 'global-styles'. Default is `null`.
|
|
63
|
+
* When set, the style engine will attempt to store the CSS rules, where a selector is also passed.
|
|
64
|
+
* @type bool $convert_vars_to_classnames Whether to skip converting incoming CSS var patterns, e.g., `var:preset|<PRESET_TYPE>|<PRESET_SLUG>`, to var( --wp--preset--* ) values. Default `false`.
|
|
65
|
+
* @type string $selector Optional. When a selector is passed, the value of `$css` in the return value will comprise a full CSS rule `$selector { ...$css_declarations }`,
|
|
66
|
+
* otherwise, the value will be a concatenated string of CSS declarations.
|
|
67
|
+
* }
|
|
34
68
|
* @param string $expected_output The expected output.
|
|
35
69
|
*/
|
|
36
|
-
public function
|
|
70
|
+
public function test_wp_style_engine_get_styles( $block_styles, $options, $expected_output ) {
|
|
37
71
|
$generated_styles = wp_style_engine_get_styles( $block_styles, $options );
|
|
72
|
+
|
|
38
73
|
$this->assertSame( $expected_output, $generated_styles );
|
|
39
74
|
}
|
|
40
75
|
|
|
41
76
|
/**
|
|
42
|
-
* Data provider for
|
|
77
|
+
* Data provider for test_wp_style_engine_get_styles().
|
|
43
78
|
*
|
|
44
79
|
* @return array
|
|
45
80
|
*/
|
|
46
|
-
public function
|
|
81
|
+
public function data_wp_style_engine_get_styles() {
|
|
47
82
|
return array(
|
|
48
83
|
'default_return_value' => array(
|
|
49
84
|
'block_styles' => array(),
|
|
@@ -111,28 +146,6 @@ class WP_Style_Engine_Test extends WP_UnitTestCase {
|
|
|
111
146
|
),
|
|
112
147
|
),
|
|
113
148
|
|
|
114
|
-
'valid_inline_css_and_classnames_with_context' => array(
|
|
115
|
-
'block_styles' => array(
|
|
116
|
-
'color' => array(
|
|
117
|
-
'text' => 'var:preset|color|little-lamb',
|
|
118
|
-
),
|
|
119
|
-
'spacing' => array(
|
|
120
|
-
'margin' => '20px',
|
|
121
|
-
),
|
|
122
|
-
),
|
|
123
|
-
'options' => array(
|
|
124
|
-
'convert_vars_to_classnames' => true,
|
|
125
|
-
'context' => 'block-supports',
|
|
126
|
-
),
|
|
127
|
-
'expected_output' => array(
|
|
128
|
-
'css' => 'margin:20px;',
|
|
129
|
-
'declarations' => array(
|
|
130
|
-
'margin' => '20px',
|
|
131
|
-
),
|
|
132
|
-
'classnames' => 'has-text-color has-little-lamb-color',
|
|
133
|
-
),
|
|
134
|
-
),
|
|
135
|
-
|
|
136
149
|
'inline_valid_box_model_style' => array(
|
|
137
150
|
'block_styles' => array(
|
|
138
151
|
'spacing' => array(
|
|
@@ -494,8 +507,11 @@ class WP_Style_Engine_Test extends WP_UnitTestCase {
|
|
|
494
507
|
|
|
495
508
|
/**
|
|
496
509
|
* Tests adding rules to a store and retrieving a generated stylesheet.
|
|
510
|
+
*
|
|
511
|
+
* @covers ::wp_style_engine_get_styles
|
|
512
|
+
* @covers WP_Style_Engine::store_css_rule
|
|
497
513
|
*/
|
|
498
|
-
public function
|
|
514
|
+
public function test_should_store_block_styles_using_context() {
|
|
499
515
|
$block_styles = array(
|
|
500
516
|
'spacing' => array(
|
|
501
517
|
'padding' => array(
|
|
@@ -516,13 +532,16 @@ class WP_Style_Engine_Test extends WP_UnitTestCase {
|
|
|
516
532
|
);
|
|
517
533
|
$store = WP_Style_Engine::get_store( 'block-supports' );
|
|
518
534
|
$rule = $store->get_all_rules()['article'];
|
|
535
|
+
|
|
519
536
|
$this->assertSame( $generated_styles['css'], $rule->get_css() );
|
|
520
537
|
}
|
|
521
538
|
|
|
522
539
|
/**
|
|
523
|
-
* Tests
|
|
540
|
+
* Tests that passing no context does not store styles.
|
|
541
|
+
*
|
|
542
|
+
* @covers ::wp_style_engine_get_styles
|
|
524
543
|
*/
|
|
525
|
-
public function
|
|
544
|
+
public function test_should_not_store_block_styles_without_context() {
|
|
526
545
|
$block_styles = array(
|
|
527
546
|
'typography' => array(
|
|
528
547
|
'fontSize' => '999px',
|
|
@@ -536,15 +555,17 @@ class WP_Style_Engine_Test extends WP_UnitTestCase {
|
|
|
536
555
|
)
|
|
537
556
|
);
|
|
538
557
|
|
|
539
|
-
$all_stores =
|
|
558
|
+
$all_stores = WP_Style_Engine_CSS_Rules_Store::get_stores();
|
|
540
559
|
|
|
541
560
|
$this->assertEmpty( $all_stores );
|
|
542
561
|
}
|
|
543
562
|
|
|
544
563
|
/**
|
|
545
564
|
* Tests adding rules to a store and retrieving a generated stylesheet.
|
|
565
|
+
*
|
|
566
|
+
* @covers ::wp_style_engine_get_stylesheet_from_context
|
|
546
567
|
*/
|
|
547
|
-
public function
|
|
568
|
+
public function test_should_get_stored_stylesheet_from_context() {
|
|
548
569
|
$css_rules = array(
|
|
549
570
|
array(
|
|
550
571
|
'selector' => '.frodo',
|
|
@@ -572,16 +593,16 @@ class WP_Style_Engine_Test extends WP_UnitTestCase {
|
|
|
572
593
|
)
|
|
573
594
|
);
|
|
574
595
|
|
|
575
|
-
|
|
576
|
-
$stored_store = WP_Style_Engine::get_store( 'test-store' );
|
|
577
|
-
$this->assertInstanceOf( 'WP_Style_Engine_CSS_Rules_Store', $stored_store );
|
|
578
|
-
$this->assertSame( $compiled_stylesheet, WP_Style_Engine::compile_stylesheet_from_css_rules( $stored_store->get_all_rules() ) );
|
|
596
|
+
$this->assertSame( $compiled_stylesheet, wp_style_engine_get_stylesheet_from_context( 'test-store' ) );
|
|
579
597
|
}
|
|
580
598
|
|
|
581
599
|
/**
|
|
582
|
-
* Tests
|
|
600
|
+
* Tests returning a generated stylesheet from a set of rules.
|
|
601
|
+
*
|
|
602
|
+
* @covers ::wp_style_engine_get_stylesheet_from_css_rules
|
|
603
|
+
* @covers WP_Style_Engine::compile_stylesheet_from_css_rules
|
|
583
604
|
*/
|
|
584
|
-
public function
|
|
605
|
+
public function test_should_return_stylesheet_from_css_rules() {
|
|
585
606
|
$css_rules = array(
|
|
586
607
|
array(
|
|
587
608
|
'selector' => '.saruman',
|
|
@@ -613,13 +634,17 @@ class WP_Style_Engine_Test extends WP_UnitTestCase {
|
|
|
613
634
|
);
|
|
614
635
|
|
|
615
636
|
$compiled_stylesheet = wp_style_engine_get_stylesheet_from_css_rules( $css_rules, array( 'prettify' => false ) );
|
|
637
|
+
|
|
616
638
|
$this->assertSame( '.saruman{color:white;height:100px;border-style:solid;align-self:unset;}.gandalf{color:grey;height:90px;border-style:dotted;align-self:safe center;}.radagast{color:brown;height:60px;border-style:dashed;align-self:stretch;}', $compiled_stylesheet );
|
|
617
639
|
}
|
|
618
640
|
|
|
619
641
|
/**
|
|
620
642
|
* Tests that incoming styles are deduped and merged.
|
|
643
|
+
*
|
|
644
|
+
* @covers ::wp_style_engine_get_stylesheet_from_css_rules
|
|
645
|
+
* @covers WP_Style_Engine::compile_stylesheet_from_css_rules
|
|
621
646
|
*/
|
|
622
|
-
public function
|
|
647
|
+
public function test_should_dedupe_and_merge_css_rules() {
|
|
623
648
|
$css_rules = array(
|
|
624
649
|
array(
|
|
625
650
|
'selector' => '.gandalf',
|
|
@@ -657,6 +682,7 @@ class WP_Style_Engine_Test extends WP_UnitTestCase {
|
|
|
657
682
|
);
|
|
658
683
|
|
|
659
684
|
$compiled_stylesheet = wp_style_engine_get_stylesheet_from_css_rules( $css_rules, array( 'prettify' => false ) );
|
|
685
|
+
|
|
660
686
|
$this->assertSame( '.gandalf{color:white;height:190px;border-style:dotted;padding:10px;margin-bottom:100px;}.dumbledore,.rincewind{color:grey;height:90px;border-style:dotted;}', $compiled_stylesheet );
|
|
661
687
|
}
|
|
662
688
|
}
|
package/src/index.ts
CHANGED
|
@@ -17,10 +17,12 @@ import { styleDefinitions } from './styles';
|
|
|
17
17
|
/**
|
|
18
18
|
* Generates a stylesheet for a given style object and selector.
|
|
19
19
|
*
|
|
20
|
+
* @since 6.1.0 Introduced in WordPress core.
|
|
21
|
+
*
|
|
20
22
|
* @param style Style object, for example, the value of a block's attributes.style object or the top level styles in theme.json
|
|
21
23
|
* @param options Options object with settings to adjust how the styles are generated.
|
|
22
24
|
*
|
|
23
|
-
* @return generated stylesheet.
|
|
25
|
+
* @return A generated stylesheet or inline style declarations.
|
|
24
26
|
*/
|
|
25
27
|
export function compileCSS( style: Style, options: StyleOptions = {} ): string {
|
|
26
28
|
const rules = getCSSRules( style, options );
|
|
@@ -56,10 +58,12 @@ export function compileCSS( style: Style, options: StyleOptions = {} ): string {
|
|
|
56
58
|
/**
|
|
57
59
|
* Returns a JSON representation of the generated CSS rules.
|
|
58
60
|
*
|
|
61
|
+
* @since 6.1.0 Introduced in WordPress core.
|
|
62
|
+
*
|
|
59
63
|
* @param style Style object, for example, the value of a block's attributes.style object or the top level styles in theme.json
|
|
60
64
|
* @param options Options object with settings to adjust how the styles are generated.
|
|
61
65
|
*
|
|
62
|
-
* @return
|
|
66
|
+
* @return A collection of objects containing the selector, if any, the CSS property key (camelcase) and parsed CSS value.
|
|
63
67
|
*/
|
|
64
68
|
export function getCSSRules(
|
|
65
69
|
style: Style,
|
package/style-engine.php
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
/**
|
|
3
|
+
* Style engine: Public functions
|
|
4
|
+
*
|
|
5
|
+
* This file contains a variety of public functions developers can use to interact with
|
|
6
|
+
* the Style Engine API.
|
|
7
|
+
*
|
|
8
|
+
* @package Gutenberg
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Global public interface method to generate styles from a single style object, e.g.,
|
|
13
|
+
* the value of a block's attributes.style object or the top level styles in theme.json.
|
|
14
|
+
* See: https://developer.wordpress.org/block-editor/reference-guides/theme-json-reference/theme-json-living/#styles and
|
|
15
|
+
* https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/
|
|
16
|
+
*
|
|
17
|
+
* Example usage:
|
|
18
|
+
*
|
|
19
|
+
* $styles = wp_style_engine_get_styles( array( 'color' => array( 'text' => '#cccccc' ) ) );
|
|
20
|
+
* // Returns `array( 'css' => 'color: #cccccc', 'declarations' => array( 'color' => '#cccccc' ), 'classnames' => 'has-color' )`.
|
|
21
|
+
*
|
|
22
|
+
* @since 6.1.0
|
|
23
|
+
*
|
|
24
|
+
* @param array $block_styles The style object.
|
|
25
|
+
* @param array $options {
|
|
26
|
+
* Optional. An array of options. Default empty array.
|
|
27
|
+
*
|
|
28
|
+
* @type string|null $context An identifier describing the origin of the style object, e.g., 'block-supports' or 'global-styles'. Default is `null`.
|
|
29
|
+
* When set, the style engine will attempt to store the CSS rules, where a selector is also passed.
|
|
30
|
+
* @type bool $convert_vars_to_classnames Whether to skip converting incoming CSS var patterns, e.g., `var:preset|<PRESET_TYPE>|<PRESET_SLUG>`, to var( --wp--preset--* ) values. Default `false`.
|
|
31
|
+
* @type string $selector Optional. When a selector is passed, the value of `$css` in the return value will comprise a full CSS rule `$selector { ...$css_declarations }`,
|
|
32
|
+
* otherwise, the value will be a concatenated string of CSS declarations.
|
|
33
|
+
* }
|
|
34
|
+
*
|
|
35
|
+
* @return array {
|
|
36
|
+
* @type string $css A CSS ruleset or declarations block formatted to be placed in an HTML `style` attribute or tag.
|
|
37
|
+
* @type string[] $declarations An associative array of CSS definitions, e.g., array( "$property" => "$value", "$property" => "$value" ).
|
|
38
|
+
* @type string $classnames Classnames separated by a space.
|
|
39
|
+
* }
|
|
40
|
+
*/
|
|
41
|
+
function wp_style_engine_get_styles( $block_styles, $options = array() ) {
|
|
42
|
+
$options = wp_parse_args(
|
|
43
|
+
$options,
|
|
44
|
+
array(
|
|
45
|
+
'selector' => null,
|
|
46
|
+
'context' => null,
|
|
47
|
+
'convert_vars_to_classnames' => false,
|
|
48
|
+
)
|
|
49
|
+
);
|
|
50
|
+
|
|
51
|
+
$parsed_styles = WP_Style_Engine::parse_block_styles( $block_styles, $options );
|
|
52
|
+
|
|
53
|
+
// Output.
|
|
54
|
+
$styles_output = array();
|
|
55
|
+
|
|
56
|
+
if ( ! empty( $parsed_styles['declarations'] ) ) {
|
|
57
|
+
$styles_output['css'] = WP_Style_Engine::compile_css( $parsed_styles['declarations'], $options['selector'] );
|
|
58
|
+
$styles_output['declarations'] = $parsed_styles['declarations'];
|
|
59
|
+
if ( ! empty( $options['context'] ) ) {
|
|
60
|
+
WP_Style_Engine::store_css_rule( $options['context'], $options['selector'], $parsed_styles['declarations'] );
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if ( ! empty( $parsed_styles['classnames'] ) ) {
|
|
65
|
+
$styles_output['classnames'] = implode( ' ', array_unique( $parsed_styles['classnames'] ) );
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return array_filter( $styles_output );
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Returns compiled CSS from a collection of selectors and declarations.
|
|
73
|
+
* Useful for returning a compiled stylesheet from any collection of CSS selector + declarations.
|
|
74
|
+
*
|
|
75
|
+
* Example usage:
|
|
76
|
+
* $css_rules = array( array( 'selector' => '.elephant-are-cool', 'declarations' => array( 'color' => 'gray', 'width' => '3em' ) ) );
|
|
77
|
+
* $css = wp_style_engine_get_stylesheet_from_css_rules( $css_rules );
|
|
78
|
+
* // Returns `.elephant-are-cool{color:gray;width:3em}`.
|
|
79
|
+
*
|
|
80
|
+
* @since 6.1.0
|
|
81
|
+
*
|
|
82
|
+
* @param array $css_rules {
|
|
83
|
+
* Required. A collection of CSS rules.
|
|
84
|
+
*
|
|
85
|
+
* @type array ...$0 {
|
|
86
|
+
* @type string $selector A CSS selector.
|
|
87
|
+
* @type string[] $declarations An associative array of CSS definitions, e.g., array( "$property" => "$value", "$property" => "$value" ).
|
|
88
|
+
* }
|
|
89
|
+
* }
|
|
90
|
+
* @param array $options {
|
|
91
|
+
* Optional. An array of options. Default empty array.
|
|
92
|
+
*
|
|
93
|
+
* @type string|null $context An identifier describing the origin of the style object, e.g., 'block-supports' or 'global-styles'. Default is 'block-supports'.
|
|
94
|
+
* When set, the style engine will attempt to store the CSS rules.
|
|
95
|
+
* @type bool $optimize Whether to optimize the CSS output, e.g., combine rules. Default is `false`.
|
|
96
|
+
* @type bool $prettify Whether to add new lines and indents to output. Default is the test of whether the global constant `SCRIPT_DEBUG` is defined.
|
|
97
|
+
* }
|
|
98
|
+
*
|
|
99
|
+
* @return string A string of compiled CSS declarations, or empty string.
|
|
100
|
+
*/
|
|
101
|
+
function wp_style_engine_get_stylesheet_from_css_rules( $css_rules, $options = array() ) {
|
|
102
|
+
if ( empty( $css_rules ) ) {
|
|
103
|
+
return '';
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
$options = wp_parse_args(
|
|
107
|
+
$options,
|
|
108
|
+
array(
|
|
109
|
+
'context' => null,
|
|
110
|
+
)
|
|
111
|
+
);
|
|
112
|
+
|
|
113
|
+
$css_rule_objects = array();
|
|
114
|
+
foreach ( $css_rules as $css_rule ) {
|
|
115
|
+
if ( empty( $css_rule['selector'] ) || empty( $css_rule['declarations'] ) || ! is_array( $css_rule['declarations'] ) ) {
|
|
116
|
+
continue;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
if ( ! empty( $options['context'] ) ) {
|
|
120
|
+
WP_Style_Engine::store_css_rule( $options['context'], $css_rule['selector'], $css_rule['declarations'] );
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
$css_rule_objects[] = new WP_Style_Engine_CSS_Rule( $css_rule['selector'], $css_rule['declarations'] );
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
if ( empty( $css_rule_objects ) ) {
|
|
127
|
+
return '';
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
return WP_Style_Engine::compile_stylesheet_from_css_rules( $css_rule_objects, $options );
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Returns compiled CSS from a store, if found.
|
|
135
|
+
*
|
|
136
|
+
* @since 6.1.0
|
|
137
|
+
*
|
|
138
|
+
* @param string $context A valid context name, corresponding to an existing store key.
|
|
139
|
+
* @param array $options {
|
|
140
|
+
* Optional. An array of options. Default empty array.
|
|
141
|
+
*
|
|
142
|
+
* @type bool $optimize Whether to optimize the CSS output, e.g., combine rules. Default is `false`.
|
|
143
|
+
* @type bool $prettify Whether to add new lines and indents to output. Default is the test of whether the global constant `SCRIPT_DEBUG` is defined.
|
|
144
|
+
* }
|
|
145
|
+
*
|
|
146
|
+
* @return string A compiled CSS string.
|
|
147
|
+
*/
|
|
148
|
+
function wp_style_engine_get_stylesheet_from_context( $context, $options = array() ) {
|
|
149
|
+
if ( empty( $context ) ) {
|
|
150
|
+
return '';
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
return WP_Style_Engine::compile_stylesheet_from_css_rules( WP_Style_Engine::get_store( $context )->get_all_rules(), $options );
|
|
154
|
+
}
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/@types/lodash/common/common.d.ts","../../node_modules/@types/lodash/common/array.d.ts","../../node_modules/@types/lodash/common/collection.d.ts","../../node_modules/@types/lodash/common/date.d.ts","../../node_modules/@types/lodash/common/function.d.ts","../../node_modules/@types/lodash/common/lang.d.ts","../../node_modules/@types/lodash/common/math.d.ts","../../node_modules/@types/lodash/common/number.d.ts","../../node_modules/@types/lodash/common/object.d.ts","../../node_modules/@types/lodash/common/seq.d.ts","../../node_modules/@types/lodash/common/string.d.ts","../../node_modules/@types/lodash/common/util.d.ts","../../node_modules/@types/lodash/index.d.ts","../../node_modules/@types/react/global.d.ts","../../node_modules/@types/react/node_modules/csstype/index.d.ts","../../node_modules/@types/prop-types/index.d.ts","../../node_modules/@types/scheduler/tracing.d.ts","../../node_modules/@types/react/index.d.ts","./src/types.ts","./src/styles/constants.ts","./src/styles/utils.ts","./src/styles/border/index.ts","./src/styles/color/background.ts","./src/styles/color/gradient.ts","./src/styles/color/text.ts","./src/styles/color/index.ts","./src/styles/shadow/index.ts","./src/styles/outline/index.ts","./src/styles/spacing/padding.ts","./src/styles/spacing/margin.ts","./src/styles/spacing/index.ts","./src/styles/typography/index.ts","./src/styles/index.ts","./src/index.ts"],"fileInfos":[{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","eb75e89d63b3b72dd9ca8b0cac801cecae5be352307c004adeaa60bc9d6df51f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"51b8b27c21c066bf877646e320bf6a722b80d1ade65e686923cd9d4494aef1ca","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"2c8c5ee58f30e7c944e04ab1fb5506fdbb4dd507c9efa6972cf4b91cec90c503","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"9f1817f7c3f02f6d56e0f403b927e90bb133f371dcebc36fa7d6d208ef6899da","affectsGlobalScope":true},{"version":"cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"4632665b87204bb1caa8b44d165bce0c50dfab177df5b561b345a567cabacf9a","affectsGlobalScope":true},"675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","438284c7c455a29b9c0e2d1e72abc62ee93d9a163029ffe918a34c5db3b92da2","0c75b204aed9cf6ff1c7b4bed87a3ece0d9d6fc857a6350c0c95ed0c38c814e8","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","c24ad9be9adf28f0927e3d9d9e9cec1c677022356f241ccbbfb97bfe8fb3d1a1","0ec0998e2d085e8ea54266f547976ae152c9dd6cdb9ac4d8a520a230f5ebae84","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","82251920b05f30981c9a4109cb5f3169dce4b477effc845c6d781044a30e7672","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","9fa6b83a35e897f340858995ca5d77e901d89fd18644cd4c9e8a4afe0b2e6363",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},{"version":"ecf78e637f710f340ec08d5d92b3f31b134a46a4fcf2e758690d8c46ce62cba6","affectsGlobalScope":true},"381899b8d1d4c1be716f18cb5242ba39f66f4b1e31d45af62a32a99f8edcb39d","f7b46d22a307739c145e5fddf537818038fdfffd580d79ed717f4d4d37249380","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"1bc82f5b3bb93df76d19730c84467b0b346187198537135d63a672956f323720","affectsGlobalScope":true},"8e48d645663797109ba89566cae1d06a5c8a0d7e6fecc83589c243a4410adbf8","301543eebfdd2fc5e5d6d928c5ed3f65bd377e95d184eb1351df5fe38ef9eac0","64db6f93189a8ece82eb8a2265338a3297c69e9ea34a692edd97f216aaaf2692","1fa9eb4c782532dc5d216edc97194d451e75bbdc6cf0b7ec2fad623e453bb6e3","49dec6685c69b84a795d1e2c2a8d7ac8953efb4a7dadb9b1b04c836053e0ea21","8cbcd8c85fe3627d4c9e75ccf2784b7e4d0082396600e9d432f1cd61009a7933","f303eb9a884f47802f08d6b1d376c737856c29783532a44116bfc7e4929a7204","e8dc9f16ad89ba54f1e7202369a69a265ccd5eec0df39cf429ff1a941603d4da","51f25b3291c4ca38c72cb150453eb2961bb0ca2891102719064e2a695c47a55a","b9494715addecd488c8424333bdcb21390262ce9e7a5c244009e2ea21328181a","caa45d96bc56c4f2ea6dfbe715413636f0d8b74121a8820b70526a3ae1bfd9b9","3d0705f37a3de49d9210d2656cd697ae0cd93476a7e60f7b099797166e4d78b0","b7003bd91d5a0b8bf84a3ef07a0cf5a4b8e0cef58d9e6404f54f05fd4ed6f0b2","f663bea39fe633f8875848f18196303c24fe9d039549ae750c0d6e3bd9571032","1d74aab11e4f2e9bf4eff69b158bff07261a20cd45606cad289852365eb1c23a","ed40d027865f44d58e94e1cd791091a96efa5ea1a3dd7fe4f996e95e4f51fe2a"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationDir":"./build-types","declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":false,"importsNotUsedAsValues":2,"jsx":1,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"rootDir":"./src","strict":true,"target":99},"fileIdsList":[[45,47,48,49,50,51,52,53,54,55,56,57],[45,46,48,49,50,51,52,53,54,55,56,57],[46,47,48,49,50,51,52,53,54,55,56,57],[45,46,47,49,50,51,52,53,54,55,56,57],[45,46,47,48,50,51,52,53,54,55,56,57],[45,46,47,48,49,51,52,53,54,55,56,57],[45,46,47,48,49,50,52,53,54,55,56,57],[45,46,47,48,49,50,51,53,54,55,56,57],[45,46,47,48,49,50,51,52,54,55,56,57],[45,46,47,48,49,50,51,52,53,55,56,57],[45,46,47,48,49,50,51,52,53,54,56,57],[45,46,47,48,49,50,51,52,53,54,55,57],[45,46,47,48,49,50,51,52,53,54,55,56],[58,59,60,61],[57,63,77],[63,65],[67,68,69],[66,70,71,72,75,76],[73,74],[57,63,64],[62]],"referencedMap":[[46,1],[47,2],[45,3],[48,4],[49,5],[50,6],[51,7],[52,8],[53,9],[54,10],[55,11],[56,12],[57,13],[62,14],[78,15],[66,16],[67,16],[68,16],[70,17],[69,16],[77,18],[72,16],[71,16],[75,19],[74,16],[73,16],[76,16],[65,20],[63,21]],"exportedModulesMap":[[46,1],[47,2],[45,3],[48,4],[49,5],[50,6],[51,7],[52,8],[53,9],[54,10],[55,11],[56,12],[57,13],[62,14],[78,15],[66,16],[67,16],[68,16],[70,17],[69,16],[77,18],[72,16],[71,16],[75,19],[74,16],[73,16],[76,16],[65,20],[63,21]],"semanticDiagnosticsPerFile":[46,47,45,48,49,50,51,52,53,54,55,56,57,60,58,62,59,61,10,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,40,36,37,38,39,8,41,42,43,1,9,44,78,66,67,68,70,69,64,77,72,71,75,74,73,76,65,63]},"version":"4.4.2"}
|
|
1
|
+
{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/@types/lodash/common/common.d.ts","../../node_modules/@types/lodash/common/array.d.ts","../../node_modules/@types/lodash/common/collection.d.ts","../../node_modules/@types/lodash/common/date.d.ts","../../node_modules/@types/lodash/common/function.d.ts","../../node_modules/@types/lodash/common/lang.d.ts","../../node_modules/@types/lodash/common/math.d.ts","../../node_modules/@types/lodash/common/number.d.ts","../../node_modules/@types/lodash/common/object.d.ts","../../node_modules/@types/lodash/common/seq.d.ts","../../node_modules/@types/lodash/common/string.d.ts","../../node_modules/@types/lodash/common/util.d.ts","../../node_modules/@types/lodash/index.d.ts","../../node_modules/@types/react/global.d.ts","../../node_modules/@types/react/node_modules/csstype/index.d.ts","../../node_modules/@types/prop-types/index.d.ts","../../node_modules/@types/scheduler/tracing.d.ts","../../node_modules/@types/react/index.d.ts","./src/types.ts","./src/styles/constants.ts","./src/styles/utils.ts","./src/styles/border/index.ts","./src/styles/color/background.ts","./src/styles/color/gradient.ts","./src/styles/color/text.ts","./src/styles/color/index.ts","./src/styles/shadow/index.ts","./src/styles/outline/index.ts","./src/styles/spacing/padding.ts","./src/styles/spacing/margin.ts","./src/styles/spacing/index.ts","./src/styles/typography/index.ts","./src/styles/index.ts","./src/index.ts"],"fileInfos":[{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","eb75e89d63b3b72dd9ca8b0cac801cecae5be352307c004adeaa60bc9d6df51f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"51b8b27c21c066bf877646e320bf6a722b80d1ade65e686923cd9d4494aef1ca","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"2c8c5ee58f30e7c944e04ab1fb5506fdbb4dd507c9efa6972cf4b91cec90c503","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"9f1817f7c3f02f6d56e0f403b927e90bb133f371dcebc36fa7d6d208ef6899da","affectsGlobalScope":true},{"version":"cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"4632665b87204bb1caa8b44d165bce0c50dfab177df5b561b345a567cabacf9a","affectsGlobalScope":true},"675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","438284c7c455a29b9c0e2d1e72abc62ee93d9a163029ffe918a34c5db3b92da2","0c75b204aed9cf6ff1c7b4bed87a3ece0d9d6fc857a6350c0c95ed0c38c814e8","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","c24ad9be9adf28f0927e3d9d9e9cec1c677022356f241ccbbfb97bfe8fb3d1a1","0ec0998e2d085e8ea54266f547976ae152c9dd6cdb9ac4d8a520a230f5ebae84","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","82251920b05f30981c9a4109cb5f3169dce4b477effc845c6d781044a30e7672","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","9fa6b83a35e897f340858995ca5d77e901d89fd18644cd4c9e8a4afe0b2e6363",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},{"version":"ecf78e637f710f340ec08d5d92b3f31b134a46a4fcf2e758690d8c46ce62cba6","affectsGlobalScope":true},"381899b8d1d4c1be716f18cb5242ba39f66f4b1e31d45af62a32a99f8edcb39d","f7b46d22a307739c145e5fddf537818038fdfffd580d79ed717f4d4d37249380","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"1bc82f5b3bb93df76d19730c84467b0b346187198537135d63a672956f323720","affectsGlobalScope":true},"8e48d645663797109ba89566cae1d06a5c8a0d7e6fecc83589c243a4410adbf8","301543eebfdd2fc5e5d6d928c5ed3f65bd377e95d184eb1351df5fe38ef9eac0","64db6f93189a8ece82eb8a2265338a3297c69e9ea34a692edd97f216aaaf2692","1fa9eb4c782532dc5d216edc97194d451e75bbdc6cf0b7ec2fad623e453bb6e3","49dec6685c69b84a795d1e2c2a8d7ac8953efb4a7dadb9b1b04c836053e0ea21","8cbcd8c85fe3627d4c9e75ccf2784b7e4d0082396600e9d432f1cd61009a7933","f303eb9a884f47802f08d6b1d376c737856c29783532a44116bfc7e4929a7204","e8dc9f16ad89ba54f1e7202369a69a265ccd5eec0df39cf429ff1a941603d4da","51f25b3291c4ca38c72cb150453eb2961bb0ca2891102719064e2a695c47a55a","b9494715addecd488c8424333bdcb21390262ce9e7a5c244009e2ea21328181a","caa45d96bc56c4f2ea6dfbe715413636f0d8b74121a8820b70526a3ae1bfd9b9","3d0705f37a3de49d9210d2656cd697ae0cd93476a7e60f7b099797166e4d78b0","b7003bd91d5a0b8bf84a3ef07a0cf5a4b8e0cef58d9e6404f54f05fd4ed6f0b2","f663bea39fe633f8875848f18196303c24fe9d039549ae750c0d6e3bd9571032","1d74aab11e4f2e9bf4eff69b158bff07261a20cd45606cad289852365eb1c23a","32464ebe97607450c6960c489338d41d381ebe1a465b6c5b59aad285bbd64e0b"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationDir":"./build-types","declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":false,"importsNotUsedAsValues":2,"jsx":1,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"rootDir":"./src","strict":true,"target":99},"fileIdsList":[[45,47,48,49,50,51,52,53,54,55,56,57],[45,46,48,49,50,51,52,53,54,55,56,57],[46,47,48,49,50,51,52,53,54,55,56,57],[45,46,47,49,50,51,52,53,54,55,56,57],[45,46,47,48,50,51,52,53,54,55,56,57],[45,46,47,48,49,51,52,53,54,55,56,57],[45,46,47,48,49,50,52,53,54,55,56,57],[45,46,47,48,49,50,51,53,54,55,56,57],[45,46,47,48,49,50,51,52,54,55,56,57],[45,46,47,48,49,50,51,52,53,55,56,57],[45,46,47,48,49,50,51,52,53,54,56,57],[45,46,47,48,49,50,51,52,53,54,55,57],[45,46,47,48,49,50,51,52,53,54,55,56],[58,59,60,61],[57,63,77],[63,65],[67,68,69],[66,70,71,72,75,76],[73,74],[57,63,64],[62]],"referencedMap":[[46,1],[47,2],[45,3],[48,4],[49,5],[50,6],[51,7],[52,8],[53,9],[54,10],[55,11],[56,12],[57,13],[62,14],[78,15],[66,16],[67,16],[68,16],[70,17],[69,16],[77,18],[72,16],[71,16],[75,19],[74,16],[73,16],[76,16],[65,20],[63,21]],"exportedModulesMap":[[46,1],[47,2],[45,3],[48,4],[49,5],[50,6],[51,7],[52,8],[53,9],[54,10],[55,11],[56,12],[57,13],[62,14],[78,15],[66,16],[67,16],[68,16],[70,17],[69,16],[77,18],[72,16],[71,16],[75,19],[74,16],[73,16],[76,16],[65,20],[63,21]],"semanticDiagnosticsPerFile":[46,47,45,48,49,50,51,52,53,54,55,56,57,60,58,62,59,61,10,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,40,36,37,38,39,8,41,42,43,1,9,44,78,66,67,68,70,69,64,77,72,71,75,74,73,76,65,63]},"version":"4.4.2"}
|