@cloudflare/style-container 7.7.8 → 7.8.1

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 CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [7.8.1](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/style-container@7.8.0...@cloudflare/style-container@7.8.1) (2022-03-29)
7
+
8
+ **Note:** Version bump only for package @cloudflare/style-container
9
+
10
+
11
+
12
+
13
+
14
+ # [7.8.0](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/style-container@7.7.9...@cloudflare/style-container@7.8.0) (2022-03-28)
15
+
16
+
17
+ ### Features
18
+
19
+ * **style-container:** A11Y-12 Additional flex props ([fe3118f](http://stash.cfops.it:7999/fe/stratus/commits/fe3118f))
20
+
21
+
22
+
23
+
24
+
25
+ ## [7.7.9](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/style-container@7.7.8...@cloudflare/style-container@7.7.9) (2022-03-24)
26
+
27
+ **Note:** Version bump only for package @cloudflare/style-container
28
+
29
+
30
+
31
+
32
+
6
33
  ## [7.7.8](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/style-container@7.7.7...@cloudflare/style-container@7.7.8) (2022-03-23)
7
34
 
8
35
  **Note:** Version bump only for package @cloudflare/style-container
@@ -25,7 +25,7 @@ declare const colorProps: readonly ["color", "backgroundColor", "borderColor", "
25
25
  declare const borderStyleProps: readonly ["borderStyle", "borderTopStyle", "borderBottomStyle", "borderLeftStyle", "borderRightStyle"];
26
26
  declare const borderWidthProps: readonly ["borderWidth", "borderTopWidth", "borderBottomWidth", "borderLeftWidth", "borderRightWidth"];
27
27
  declare const borderRadiusProps: readonly ["borderRadius", "borderTopLeftRadius", "borderTopRightRadius", "borderBottomLeftRadius", "borderbottomRightRadius"];
28
- export declare const styleRuleProps: ("p" | "color" | "height" | "width" | "cursor" | "display" | "fontSize" | "fontWeight" | "textDecoration" | "textAlign" | "backgroundColor" | "borderColor" | "borderLeftColor" | "borderRightColor" | "borderTopColor" | "borderBottomColor" | "minWidth" | "minHeight" | "maxWidth" | "maxHeight" | "margin" | "marginTop" | "marginRight" | "marginLeft" | "padding" | "paddingTop" | "paddingRight" | "paddingLeft" | "borderRadius" | "verticalAlign" | "alignItems" | "alignSelf" | "borderBottomLeftRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftStyle" | "borderLeftWidth" | "borderRightStyle" | "borderRightWidth" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "boxSizing" | "justifyContent" | "marginBottom" | "paddingBottom" | "textTransform" | "borderStyle" | "borderWidth" | "gap" | "m" | "ml" | "mr" | "mt" | "mb" | "mx" | "my" | "pl" | "pr" | "pt" | "pb" | "px" | "py" | "borderbottomRightRadius")[];
28
+ export declare const styleRuleProps: ("p" | "color" | "height" | "width" | "cursor" | "display" | "fontSize" | "fontWeight" | "textDecoration" | "textAlign" | "backgroundColor" | "borderColor" | "borderLeftColor" | "borderRightColor" | "borderTopColor" | "borderBottomColor" | "minWidth" | "minHeight" | "maxWidth" | "maxHeight" | "margin" | "marginTop" | "marginRight" | "marginLeft" | "padding" | "paddingTop" | "paddingRight" | "paddingLeft" | "borderRadius" | "verticalAlign" | "alignItems" | "alignSelf" | "borderBottomLeftRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftStyle" | "borderLeftWidth" | "borderRightStyle" | "borderRightWidth" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "boxSizing" | "flexBasis" | "flexDirection" | "flexGrow" | "justifyContent" | "marginBottom" | "paddingBottom" | "textTransform" | "borderStyle" | "borderWidth" | "gap" | "m" | "ml" | "mr" | "mt" | "mb" | "mx" | "my" | "pl" | "pr" | "pt" | "pb" | "px" | "py" | "borderbottomRightRadius")[];
29
29
  export declare function filterStyleProps<Type extends {}>(props: Type): Type;
30
30
  declare type StyleRuleProp = typeof styleRuleProps[number];
31
31
  declare type ExpandedCSSProperty<P extends StyleRuleProp> = P extends ShorthandSpacingProp ? ShorthandToLonghandMap[P][0] : P;
@@ -34,7 +34,7 @@ const colorProps = ['color', 'backgroundColor', 'borderColor', 'borderLeftColor'
34
34
  const borderStyleProps = ['borderStyle', 'borderTopStyle', 'borderBottomStyle', 'borderLeftStyle', 'borderRightStyle'];
35
35
  const borderWidthProps = ['borderWidth', 'borderTopWidth', 'borderBottomWidth', 'borderLeftWidth', 'borderRightWidth'];
36
36
  const borderRadiusProps = ['borderRadius', 'borderTopLeftRadius', 'borderTopRightRadius', 'borderBottomLeftRadius', 'borderbottomRightRadius'];
37
- const additionalProps = ['fontSize', 'fontWeight', 'textAlign', 'display', 'width', 'verticalAlign', 'alignItems', 'alignSelf', 'justifyContent', 'textDecoration', 'textTransform', 'boxSizing', 'cursor'];
37
+ const additionalProps = ['fontSize', 'fontWeight', 'textAlign', 'display', 'width', 'verticalAlign', 'alignItems', 'alignSelf', 'justifyContent', 'textDecoration', 'textTransform', 'boxSizing', 'cursor', 'flexDirection', 'flexBasis', 'flexGrow'];
38
38
  export const styleRuleProps = [...spacingProps, ...sizeProps, ...colorProps, ...borderStyleProps, ...borderWidthProps, ...borderRadiusProps, ...additionalProps];
39
39
  const stylesRulePropsSet = new Set(styleRuleProps); // Function to remove styling attributes from a Props object
40
40
 
@@ -71,7 +71,7 @@ var borderWidthProps = ['borderWidth', 'borderTopWidth', 'borderBottomWidth', 'b
71
71
  exports.borderWidthProps = borderWidthProps;
72
72
  var borderRadiusProps = ['borderRadius', 'borderTopLeftRadius', 'borderTopRightRadius', 'borderBottomLeftRadius', 'borderbottomRightRadius'];
73
73
  exports.borderRadiusProps = borderRadiusProps;
74
- var additionalProps = ['fontSize', 'fontWeight', 'textAlign', 'display', 'width', 'verticalAlign', 'alignItems', 'alignSelf', 'justifyContent', 'textDecoration', 'textTransform', 'boxSizing', 'cursor'];
74
+ var additionalProps = ['fontSize', 'fontWeight', 'textAlign', 'display', 'width', 'verticalAlign', 'alignItems', 'alignSelf', 'justifyContent', 'textDecoration', 'textTransform', 'boxSizing', 'cursor', 'flexDirection', 'flexBasis', 'flexGrow'];
75
75
 
76
76
  var styleRuleProps = _toConsumableArray(spacingProps).concat(sizeProps, colorProps, borderStyleProps, borderWidthProps, borderRadiusProps, additionalProps);
77
77
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudflare/style-container",
3
3
  "description": "Cloudflare Style Container",
4
- "version": "7.7.8",
4
+ "version": "7.8.1",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -12,8 +12,8 @@
12
12
  "access": "public"
13
13
  },
14
14
  "dependencies": {
15
- "@cloudflare/style-const": "^5.2.17",
16
- "@cloudflare/types": "^6.14.4",
15
+ "@cloudflare/style-const": "^5.2.19",
16
+ "@cloudflare/types": "^6.14.6",
17
17
  "fela": "^11.6.1",
18
18
  "fela-tools": "^11.6.1",
19
19
  "lodash": "^4.17.21",
@@ -34,5 +34,5 @@
34
34
  "test-coverage": "stratus test --coverage",
35
35
  "test-watch": "stratus test --watch"
36
36
  },
37
- "gitHead": "fdb7772c900a48db5c347967f0ffd0ddd8c88451"
37
+ "gitHead": "8ce1f560220ca61109cdbcf587b88055e86d8890"
38
38
  }