@cloudflare/style-container 7.6.10 → 7.7.2

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.7.2](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/style-container@7.7.1...@cloudflare/style-container@7.7.2) (2022-03-09)
7
+
8
+ **Note:** Version bump only for package @cloudflare/style-container
9
+
10
+
11
+
12
+
13
+
14
+ ## [7.7.1](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/style-container@7.7.0...@cloudflare/style-container@7.7.1) (2022-03-08)
15
+
16
+ **Note:** Version bump only for package @cloudflare/style-container
17
+
18
+
19
+
20
+
21
+
22
+ # [7.7.0](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/style-container@7.6.10...@cloudflare/style-container@7.7.0) (2022-03-08)
23
+
24
+
25
+ ### Features
26
+
27
+ * **component-search:** A11Y-656 Add id ([8193269](http://stash.cfops.it:7999/fe/stratus/commits/8193269))
28
+
29
+
30
+
31
+
32
+
6
33
  ## [7.6.10](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/style-container@7.6.9...@cloudflare/style-container@7.6.10) (2022-03-01)
7
34
 
8
35
  **Note:** Version bump only for package @cloudflare/style-container
@@ -19,13 +19,13 @@ declare const shorthandSpacingProps: {
19
19
  };
20
20
  declare type ShorthandToLonghandMap = typeof shorthandSpacingProps;
21
21
  declare type ShorthandSpacingProp = keyof ShorthandToLonghandMap;
22
- declare const spacingProps: ("p" | "margin" | "marginTop" | "marginRight" | "marginLeft" | "padding" | "paddingTop" | "paddingRight" | "paddingLeft" | "marginBottom" | "paddingBottom" | "m" | "ml" | "mr" | "mt" | "mb" | "mx" | "my" | "pl" | "pr" | "pt" | "pb" | "px" | "py")[];
22
+ declare const spacingProps: ("p" | "margin" | "marginTop" | "marginRight" | "marginLeft" | "padding" | "paddingTop" | "paddingRight" | "paddingLeft" | "marginBottom" | "paddingBottom" | "gap" | "m" | "ml" | "mr" | "mt" | "mb" | "mx" | "my" | "pl" | "pr" | "pt" | "pb" | "px" | "py")[];
23
23
  declare const sizeProps: readonly ["width", "height", "minWidth", "minHeight", "maxWidth", "maxHeight"];
24
24
  declare const colorProps: readonly ["color", "backgroundColor", "borderColor", "borderLeftColor", "borderRightColor", "borderTopColor", "borderBottomColor"];
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" | "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" | "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;
@@ -11,7 +11,7 @@ import { variables as theme } from '@cloudflare/style-const'; // eslint-disable-
11
11
  import { objectKeys } from './types';
12
12
  const sizePropType = PropTypes.oneOfType([PropTypes.string, PropTypes.array, PropTypes.number]);
13
13
  const scalePropType = PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.array]);
14
- const longhandSpacingProps = ['margin', 'marginLeft', 'marginRight', 'marginTop', 'marginBottom', 'padding', 'paddingLeft', 'paddingRight', 'paddingTop', 'paddingBottom'];
14
+ const longhandSpacingProps = ['margin', 'marginLeft', 'marginRight', 'marginTop', 'marginBottom', 'padding', 'paddingLeft', 'paddingRight', 'paddingTop', 'paddingBottom', 'gap'];
15
15
  const shorthandSpacingProps = {
16
16
  m: ['margin'],
17
17
  ml: ['marginLeft'],
@@ -42,7 +42,7 @@ var sizePropType = _propTypes.default.oneOfType([_propTypes.default.string, _pro
42
42
 
43
43
  var scalePropType = _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number, _propTypes.default.array]);
44
44
 
45
- var longhandSpacingProps = ['margin', 'marginLeft', 'marginRight', 'marginTop', 'marginBottom', 'padding', 'paddingLeft', 'paddingRight', 'paddingTop', 'paddingBottom'];
45
+ var longhandSpacingProps = ['margin', 'marginLeft', 'marginRight', 'marginTop', 'marginBottom', 'padding', 'paddingLeft', 'paddingRight', 'paddingTop', 'paddingBottom', 'gap'];
46
46
  var shorthandSpacingProps = {
47
47
  m: ['margin'],
48
48
  ml: ['marginLeft'],
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.6.10",
4
+ "version": "7.7.2",
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.9",
16
- "@cloudflare/types": "^6.13.6",
15
+ "@cloudflare/style-const": "^5.2.11",
16
+ "@cloudflare/types": "^6.13.7",
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": "fe629edb7362c9606ecee9b3eca08900d0825738"
37
+ "gitHead": "f2f127acee9f7f5baee33fbf61b445812c7f2e45"
38
38
  }