@descope/flow-components 2.0.343 → 2.0.344
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 +6 -0
- package/dist/index.d.ts +10 -1
- package/dist/index.esm.js +6 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -455,6 +455,11 @@ const ListItem = React__default.default.forwardRef((props, ref) => (React__defau
|
|
|
455
455
|
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 },
|
|
456
456
|
React__default.default.createElement("div", { slot: "empty-state" }, emptyState))));
|
|
457
457
|
|
|
458
|
+
const DateField = React__default.default.forwardRef((props, ref) => React__default.default.createElement("descope-date-field", { ...props, ref: ref }));
|
|
459
|
+
DateField.defaultProps = {
|
|
460
|
+
size: 'md'
|
|
461
|
+
};
|
|
462
|
+
|
|
458
463
|
exports.AppsList = AppsList;
|
|
459
464
|
exports.Avatar = Avatar;
|
|
460
465
|
exports.Badge = Badge;
|
|
@@ -465,6 +470,7 @@ exports.Code = Code;
|
|
|
465
470
|
exports.CodeSnippet = CodeSnippet;
|
|
466
471
|
exports.ComboBox = ComboBox;
|
|
467
472
|
exports.Container = Container;
|
|
473
|
+
exports.DateField = DateField;
|
|
468
474
|
exports.Divider = Divider;
|
|
469
475
|
exports.Grid = Grid;
|
|
470
476
|
exports.GridCustomColumn = GridCustomColumn;
|
package/dist/index.d.ts
CHANGED
|
@@ -743,4 +743,13 @@ declare global {
|
|
|
743
743
|
}
|
|
744
744
|
declare const AppsList: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
745
745
|
|
|
746
|
-
|
|
746
|
+
declare global {
|
|
747
|
+
namespace JSX {
|
|
748
|
+
interface IntrinsicElements {
|
|
749
|
+
'descope-date-field': Omit<DescopeInputProps, 'external-input'>;
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
declare const DateField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "external-input">, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
754
|
+
|
|
755
|
+
export { AppsList, Avatar, Badge, Boolean, Button, Checkbox, Code, CodeSnippet, ComboBox, Container, DateField, 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, ReactComponent as apple, ReactComponent as discord, ReactComponent as facebook, ReactComponent as fingerprint, ReactComponent as github, ReactComponent as gitlab, ReactComponent as google, ReactComponent as linkedin, ReactComponent as microsoft, ReactComponent as passkey, ReactComponent as password, ReactComponent as plus, ReactComponent as slack, ReactComponent as sso, ReactComponent as whatsapp };
|
package/dist/index.esm.js
CHANGED
|
@@ -449,4 +449,9 @@ const ListItem = React.forwardRef((props, ref) => (React.createElement("descope-
|
|
|
449
449
|
const AppsList = React.forwardRef(({ emptyState, data, ...props }, ref) => (React.createElement("descope-apps-list", { data: data ? JSON.stringify(data) : undefined, ...props, ref: ref },
|
|
450
450
|
React.createElement("div", { slot: "empty-state" }, emptyState))));
|
|
451
451
|
|
|
452
|
-
|
|
452
|
+
const DateField = React.forwardRef((props, ref) => React.createElement("descope-date-field", { ...props, ref: ref }));
|
|
453
|
+
DateField.defaultProps = {
|
|
454
|
+
size: 'md'
|
|
455
|
+
};
|
|
456
|
+
|
|
457
|
+
export { AppsList, Avatar, Badge, Boolean, Button, Checkbox, Code, CodeSnippet, ComboBox, Container, DateField, 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, slack, sso, whatsapp };
|