@descope/flow-components 2.0.366 → 2.0.368

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/dist/index.cjs.js CHANGED
@@ -124,7 +124,7 @@ const alignItems = {
124
124
  baseline: 'baseline',
125
125
  stretch: 'stretch'
126
126
  };
127
- const Container = React__default.default.forwardRef(({ background, justify, paddingX = '0', paddingY = '0', shadow, width, align, spaceBetween, backgroundImage, ...props }, ref) => {
127
+ const Container = React__default.default.forwardRef(({ background, justify, paddingX = '0', paddingY = '0', shadow, width, align, spaceBetween, backgroundImageUrl, ...props }, ref) => {
128
128
  const mergedProps = {
129
129
  ...props,
130
130
  shadow,
@@ -133,8 +133,8 @@ const Container = React__default.default.forwardRef(({ background, justify, padd
133
133
  'st-align-items': alignItems[align],
134
134
  'st-justify-content': justifyContent[justify],
135
135
  'st-background-color': background,
136
- 'st-background-image': backgroundImage?.trim()
137
- ? `url('${backgroundImage.trim()}')`
136
+ 'st-background-image': backgroundImageUrl?.trim()
137
+ ? `url('${backgroundImageUrl.trim()}')`
138
138
  : undefined,
139
139
  'st-host-width': width,
140
140
  'st-gap': spaceBetween && `${Number.parseFloat(spaceBetween) / 4}rem`
package/dist/index.d.ts CHANGED
@@ -108,7 +108,7 @@ type Props$z = {
108
108
  paddingX?: string;
109
109
  paddingY?: string;
110
110
  background?: string;
111
- backgroundImage?: string;
111
+ backgroundImageUrl?: string;
112
112
  width?: string;
113
113
  } & ((Flex & Never<ContainerAlignment>) | (ContainerAlignment & Never<Flex>));
114
114
  declare global {
package/dist/index.esm.js CHANGED
@@ -118,7 +118,7 @@ const alignItems = {
118
118
  baseline: 'baseline',
119
119
  stretch: 'stretch'
120
120
  };
121
- const Container = React.forwardRef(({ background, justify, paddingX = '0', paddingY = '0', shadow, width, align, spaceBetween, backgroundImage, ...props }, ref) => {
121
+ const Container = React.forwardRef(({ background, justify, paddingX = '0', paddingY = '0', shadow, width, align, spaceBetween, backgroundImageUrl, ...props }, ref) => {
122
122
  const mergedProps = {
123
123
  ...props,
124
124
  shadow,
@@ -127,8 +127,8 @@ const Container = React.forwardRef(({ background, justify, paddingX = '0', paddi
127
127
  'st-align-items': alignItems[align],
128
128
  'st-justify-content': justifyContent[justify],
129
129
  'st-background-color': background,
130
- 'st-background-image': backgroundImage?.trim()
131
- ? `url('${backgroundImage.trim()}')`
130
+ 'st-background-image': backgroundImageUrl?.trim()
131
+ ? `url('${backgroundImageUrl.trim()}')`
132
132
  : undefined,
133
133
  'st-host-width': width,
134
134
  'st-gap': spaceBetween && `${Number.parseFloat(spaceBetween) / 4}rem`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/flow-components",
3
- "version": "2.0.366",
3
+ "version": "2.0.368",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -73,7 +73,7 @@
73
73
  "eslint-plugin-jest-dom": "5.4.0",
74
74
  "eslint-plugin-jest-formatting": "3.1.0",
75
75
  "eslint-plugin-jsx-a11y": "^6.6.1",
76
- "eslint-plugin-n": "17.13.1",
76
+ "eslint-plugin-n": "17.13.2",
77
77
  "eslint-plugin-no-only-tests": "3.3.0",
78
78
  "eslint-plugin-prefer-arrow": "1.2.3",
79
79
  "eslint-plugin-prettier": "5.2.1",