@descope/flow-components 2.1.17 → 2.2.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/dist/fm/222.js +1 -1
- package/dist/fm/921.js +1 -1
- package/dist/fm/985.js +1 -1
- package/dist/fm/996.js +1 -1
- package/dist/fm/@mf-types/compiled-types/AppsList/AppsList.d.ts +1 -1
- package/dist/fm/@mf-types.zip +0 -0
- package/dist/fm/__federation_expose_componentClasses.js +1 -1
- package/dist/fm/__federation_expose_components.js +1 -1
- package/dist/fm/__federation_expose_theme.js +1 -1
- package/dist/fm/flowComponents.js +1 -1
- package/dist/fm/main.js +1 -1
- package/dist/fm/mf-manifest.json +1 -1
- package/dist/fm/mf-stats.json +1 -1
- package/dist/index.cjs.js +495 -381
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/types/AppsList/AppsList.d.ts +1 -1
- package/package.json +5 -4
package/dist/index.d.ts
CHANGED
|
@@ -835,7 +835,7 @@ declare const ListItem: React.ForwardRefExoticComponent<Props$f & React.RefAttri
|
|
|
835
835
|
|
|
836
836
|
type Props$e = {
|
|
837
837
|
emptyState?: React.ReactNode;
|
|
838
|
-
variant?: 'list' | 'tiles';
|
|
838
|
+
variant?: 'list' | 'tiles' | 'custom';
|
|
839
839
|
data?: any[];
|
|
840
840
|
readonly?: boolean;
|
|
841
841
|
};
|
package/dist/index.esm.js
CHANGED
|
@@ -490,7 +490,7 @@ const List = React.forwardRef(({ emptyState, children, ...props }, ref) => (Reac
|
|
|
490
490
|
|
|
491
491
|
const ListItem = React.forwardRef((props, ref) => (React.createElement("descope-list-item", { ...props, ref: ref })));
|
|
492
492
|
|
|
493
|
-
const AppsList = React.forwardRef(({ emptyState, data, ...props }, ref) => (React.createElement("descope-apps-list", { data: data ? JSON.stringify(data) : undefined, ...props, ref: ref },
|
|
493
|
+
const AppsList = React.forwardRef(({ emptyState, data, variant, ...props }, ref) => (React.createElement("descope-apps-list", { data: data ? JSON.stringify(data) : undefined, variant: variant !== 'list' ? 'tiles' : 'list', ...props, ref: ref },
|
|
494
494
|
React.createElement("div", { slot: "empty-state" }, emptyState))));
|
|
495
495
|
|
|
496
496
|
const ScopesList = React.forwardRef(({ data, ...props }, ref) => (React.createElement("descope-scopes-list", { data: data ? JSON.stringify(data) : undefined, ...props, ref: ref })));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/flow-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -93,10 +93,10 @@
|
|
|
93
93
|
"typescript": "^5.7.2",
|
|
94
94
|
"webpack": "^5.74.0",
|
|
95
95
|
"webpack-cli": "^6.0.1",
|
|
96
|
-
"webpack-dev-server": "5.
|
|
96
|
+
"webpack-dev-server": "5.2.1"
|
|
97
97
|
},
|
|
98
98
|
"dependencies": {
|
|
99
|
-
"@descope/web-components-ui": "2.
|
|
99
|
+
"@descope/web-components-ui": "2.2.0"
|
|
100
100
|
},
|
|
101
101
|
"peerDependencies": {
|
|
102
102
|
"react": ">= 18"
|
|
@@ -135,7 +135,8 @@
|
|
|
135
135
|
"build:rollup": "rollup -c",
|
|
136
136
|
"build:webpack": "webpack --mode production",
|
|
137
137
|
"build": "npm run build:rollup && npm run build:webpack",
|
|
138
|
-
"dev": "
|
|
138
|
+
"dev": "nx dev flow-components",
|
|
139
|
+
"dev-server": "FEDERATION_IP=127.0.0.1 NODE_ENV=development webpack serve --mode development --port 4444",
|
|
139
140
|
"test": "exit 0",
|
|
140
141
|
"lint": "eslint src/**/*.* --fix",
|
|
141
142
|
"format": "prettier . -w --ignore-path .gitignore",
|