@descope/flow-components 2.0.332 → 2.0.333
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 +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.esm.js +1 -1
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -499,7 +499,7 @@ const List = React__default.default.forwardRef(({ emptyState, children, ...props
|
|
|
499
499
|
|
|
500
500
|
const ListItem = React__default.default.forwardRef((props, ref) => (React__default.default.createElement("descope-list-item", { ...props, ref: ref })));
|
|
501
501
|
|
|
502
|
-
const AppsList = React__default.default.forwardRef(({ emptyState, ...props }, ref) => (React__default.default.createElement("descope-apps-list", { ...props, ref: ref },
|
|
502
|
+
const AppsList = React__default.default.forwardRef(({ emptyState, data, ...props }, ref) => (React__default.default.createElement("descope-apps-list", { data: data ? JSON.stringify(data) : undefined, ...props, ref: ref },
|
|
503
503
|
React__default.default.createElement("div", { slot: "empty-state" }, emptyState))));
|
|
504
504
|
|
|
505
505
|
exports.AppsList = AppsList;
|
package/dist/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ type DescopeInputExtraProps = {
|
|
|
20
20
|
};
|
|
21
21
|
type DescopeInputProps = HTMLInputAttrs & DescopeInputExtraProps;
|
|
22
22
|
type PropsToAttrs<R extends Record<string, any>> = {
|
|
23
|
-
[K in keyof R as KebabCase<K & string>]: R[K];
|
|
23
|
+
[K in keyof R as KebabCase<K & string>]: R[K] | string;
|
|
24
24
|
};
|
|
25
25
|
type TypographyVariants = 'h1' | 'h2' | 'h3' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2';
|
|
26
26
|
type Mode = 'primary' | 'secondary' | 'error' | 'success';
|
|
@@ -813,6 +813,8 @@ declare const ListItem: React.ForwardRefExoticComponent<Props$1 & React.RefAttri
|
|
|
813
813
|
type Props = {
|
|
814
814
|
emptyState?: React.ReactNode;
|
|
815
815
|
variant?: 'list' | 'tiles';
|
|
816
|
+
data?: any[];
|
|
817
|
+
readonly?: boolean;
|
|
816
818
|
};
|
|
817
819
|
declare global {
|
|
818
820
|
namespace JSX {
|
package/dist/index.esm.js
CHANGED
|
@@ -493,7 +493,7 @@ const List = React.forwardRef(({ emptyState, children, ...props }, ref) => (Reac
|
|
|
493
493
|
|
|
494
494
|
const ListItem = React.forwardRef((props, ref) => (React.createElement("descope-list-item", { ...props, ref: ref })));
|
|
495
495
|
|
|
496
|
-
const AppsList = React.forwardRef(({ emptyState, ...props }, ref) => (React.createElement("descope-apps-list", { ...props, ref: ref },
|
|
496
|
+
const AppsList = React.forwardRef(({ emptyState, data, ...props }, ref) => (React.createElement("descope-apps-list", { data: data ? JSON.stringify(data) : undefined, ...props, ref: ref },
|
|
497
497
|
React.createElement("div", { slot: "empty-state" }, emptyState))));
|
|
498
498
|
|
|
499
499
|
export { AppsList, Avatar, Badge, Boolean, Button, Checkbox, Code, CodeSnippet, ComboBox, Container, Divider, Grid, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, Image, Input, Link, List, ListItem, Loader, Logo, MappingsField, Modal, MultiSelect, NOTPImage, NOTPLink, NewPassword, NumberField, Password, Phone, Recaptcha, SAMLGroupMappings, Select, SingleSelect, Switch, TOTPImage, TOTPLink, Text, TextField, Textarea, UploadFile, UserAttribute, UserAuthMethod, apple, discord, facebook, fingerprint, github, gitlab, google, linkedin, microsoft, passkey, password, plus, reload, slack, sso, whatsapp };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/flow-components",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.333",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"typescript": "^5.0.0"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@descope/web-components-ui": "1.0.
|
|
103
|
+
"@descope/web-components-ui": "1.0.370"
|
|
104
104
|
},
|
|
105
105
|
"peerDependencies": {
|
|
106
106
|
"react": ">=17"
|