@majoo-ui/react 1.49.2 → 1.49.3-rc.3
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/index.esm.js +14 -14
- package/index.umd.js +13 -14
- package/package.json +2 -2
package/index.esm.js
CHANGED
|
@@ -1362,7 +1362,7 @@ const applyGlobalStyles = additionaStyles => {
|
|
|
1362
1362
|
};
|
|
1363
1363
|
|
|
1364
1364
|
function _extends() {
|
|
1365
|
-
_extends = Object.assign
|
|
1365
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
1366
1366
|
for (var i = 1; i < arguments.length; i++) {
|
|
1367
1367
|
var source = arguments[i];
|
|
1368
1368
|
|
|
@@ -1375,7 +1375,6 @@ function _extends() {
|
|
|
1375
1375
|
|
|
1376
1376
|
return target;
|
|
1377
1377
|
};
|
|
1378
|
-
|
|
1379
1378
|
return _extends.apply(this, arguments);
|
|
1380
1379
|
}
|
|
1381
1380
|
|
|
@@ -18946,12 +18945,13 @@ const itemStyles = {
|
|
|
18946
18945
|
};
|
|
18947
18946
|
const StyledItem = styled(DropdownMenuPrimitive.Item, Object.assign({}, itemStyles));
|
|
18948
18947
|
const StyledCheckboxItem = styled(DropdownMenuPrimitive.CheckboxItem, Object.assign({}, itemStyles));
|
|
18949
|
-
const StyledRadioItem = styled(DropdownMenuPrimitive.RadioItem, Object.assign({}, itemStyles));
|
|
18950
|
-
|
|
18951
|
-
|
|
18952
|
-
|
|
18953
|
-
|
|
18954
|
-
}
|
|
18948
|
+
const StyledRadioItem = styled(DropdownMenuPrimitive.RadioItem, Object.assign({}, itemStyles)); // const StyledTriggerItem = styled(DropdownMenuPrimitive.TriggerItem, {
|
|
18949
|
+
// '&[data-state="open"]': {
|
|
18950
|
+
// backgroundColor: colors.gray50,
|
|
18951
|
+
// },
|
|
18952
|
+
// ...itemStyles,
|
|
18953
|
+
// });
|
|
18954
|
+
|
|
18955
18955
|
const StyledLabel = styled(DropdownMenuPrimitive.Label, {
|
|
18956
18956
|
padding: '8px 0',
|
|
18957
18957
|
fontSize: 12,
|
|
@@ -19010,7 +19010,7 @@ const DropdownMenuContentContext = props => {
|
|
|
19010
19010
|
align
|
|
19011
19011
|
} = React__default.useContext(Context);
|
|
19012
19012
|
const ref = useCallback(node => {
|
|
19013
|
-
const appElement = document.getElementById(
|
|
19013
|
+
const appElement = document.getElementById('app');
|
|
19014
19014
|
|
|
19015
19015
|
if (appElement) {
|
|
19016
19016
|
if (node !== null) {
|
|
@@ -19078,8 +19078,8 @@ const DropdownMenuItem = StyledItem;
|
|
|
19078
19078
|
const DropdownMenuCheckboxItem = StyledCheckboxItem;
|
|
19079
19079
|
const DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
|
|
19080
19080
|
const DropdownMenuRadioItem = StyledRadioItem;
|
|
19081
|
-
const DropdownMenuItemIndicator = StyledItemIndicator;
|
|
19082
|
-
|
|
19081
|
+
const DropdownMenuItemIndicator = StyledItemIndicator; // export const DropdownMenuTriggerItem = StyledTriggerItem;
|
|
19082
|
+
|
|
19083
19083
|
const DropdownMenuLabel = StyledLabel;
|
|
19084
19084
|
const DropdownMenuSeparator = StyledSeparator;
|
|
19085
19085
|
const DropdownMenuArrow = StyledArrow;
|
|
@@ -19090,8 +19090,8 @@ DropdownMenuItem.displayName = 'DropdownMenuItem';
|
|
|
19090
19090
|
DropdownMenuCheckboxItem.displayName = 'DropdownMenuCheckboxItem';
|
|
19091
19091
|
DropdownMenuRadioGroup.displayName = 'DropdownMenuRadioGroup';
|
|
19092
19092
|
DropdownMenuRadioItem.displayName = 'DropdownMenuRadioItem';
|
|
19093
|
-
DropdownMenuItemIndicator.displayName = 'DropdownMenuItemIndicator';
|
|
19094
|
-
|
|
19093
|
+
DropdownMenuItemIndicator.displayName = 'DropdownMenuItemIndicator'; // DropdownMenuTriggerItem.displayName = 'DropdownMenuTriggerItem';
|
|
19094
|
+
|
|
19095
19095
|
DropdownMenuLabel.displayName = 'DropdownMenuLabel';
|
|
19096
19096
|
DropdownMenuSeparator.displayName = 'DropdownMenuSeparator';
|
|
19097
19097
|
DropdownMenuArrow.displayName = 'DropdownMenuArrow';
|
|
@@ -30101,4 +30101,4 @@ const useToggle = initialValue => {
|
|
|
30101
30101
|
return useReducer(toggleReducer, initialValue);
|
|
30102
30102
|
};
|
|
30103
30103
|
|
|
30104
|
-
export { ADVANCE_PICKER, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvancedOption, AlertDialog, AlertDialogCancel, AlertDialogConfirm, AlertDialogContent, AlertDialogDescription, AlertDialogFunction, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, Avatar, BOTTOM_LEFT_POSITION, BOTTOM_RIGHT_POSITION, Badge, Banner, BannerClose, BannerDescription, BannerLink, BannerTitle, Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button$2 as Button, ButtonDropdown, ButtonGroup$1 as ButtonGroup, ButtonGroupItem, ButtonPrimitive, Card, CardComponent, CardLineColor, CheckboxGroup, ColorPicker$1 as ColorPicker, Colors, DateColumn, DatePicker, DecimalColumn, Device as DevicePreview, Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerCloseButton, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger,
|
|
30104
|
+
export { ADVANCE_PICKER, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvancedOption, AlertDialog, AlertDialogCancel, AlertDialogConfirm, AlertDialogContent, AlertDialogDescription, AlertDialogFunction, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, Avatar, BOTTOM_LEFT_POSITION, BOTTOM_RIGHT_POSITION, Badge, Banner, BannerClose, BannerDescription, BannerLink, BannerTitle, Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button$2 as Button, ButtonDropdown, ButtonGroup$1 as ButtonGroup, ButtonGroupItem, ButtonPrimitive, Card, CardComponent, CardLineColor, CheckboxGroup, ColorPicker$1 as ColorPicker, Colors, DateColumn, DatePicker, DecimalColumn, Device as DevicePreview, Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerCloseButton, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, EditableTable, Flex$1 as Flex, FormGroup, FormHelper, FormLabel, Grid, GridItem, Heading, IconButton, IconContainer, Image, ImageDevicePreview, InputCheckbox, InputColorPicker, InputCombobox, InputCreatable, InputDatePicker, InputGroup, InputLeftAddon, InputLeftElement, InputMapPicker, InputNumber, InputOTP, InputPrefix, InputRadio, InputRadioGroup, InputResourceList, InputRightAddon, InputRightElement, InputSearchbox, InputSelect, InputSelectCheck, InputSelectTag, InputSuffix, InputSwitch, TagsInput as InputTags, InputText, InputTextArea, InputTimePicker, LAST_7_DAYS, LAST_MONTH, LAST_TWO_MONTHS, LAST_WEEK, LineChart, Link, LoadingBar, MajooProvider, MapPicker, MobileTable, ModalDialog, ModalDialogContent, ModalDialogFooter, ModalDialogTitle, ModalDialogTrigger, NativeTimePicker, NotificationBadge, OptionWrapper$2 as OptionWrapper, PageContainer, PageDialog, PageDialogContent, PageDialogFooter, PageDialogTitle, PageDialogTrigger, Pagination, Paper, PaperComponent, Paragraph, Popover, PopoverClose, PopoverContent, PopoverTrigger, PriceColumn, Progress$1 as Progress, ProgressIndicator, RANGE_PICKER, ResendOTP, RightSlot, rowExpanderColumn as RowExpanderColumn, rowMenuColumn as RowMenuColumn, rowSelectionColumn as RowSelectionColumn, SINGLE_PICKER, SelectBox, SelectContainer, SelectInputSearch, SelectItem, SelectOption, Separator$2 as Separator, Slider, StepWizard, StepWizardContext, StyledBox, StyledDropdown, StyledInput$1 as StyledInput, StyledSpan, StyledTitle$2 as StyledTitle, THIS_MONTH, THIS_WEEK, TODAY, TOP_LEFT_POSITION, TOP_RIGHT_POSITION, Table, TableBody$2 as TableBody, TableColumn, TableContent$2 as TableContent, TableFoot$2 as TableFoot, TableFootCell$2 as TableFootCell, TableFootRow$2 as TableFootRow, TableHead$2 as TableHead, TableHeadCellContent, TableHeaderCellContainer, TableOfContent, TableOfContentPage, Tabs$1 as Tabs, TabsContent$1 as TabsContent, TabsList$1 as TabsList, TabsTrigger$1 as TabsTrigger, Tag, TagStatus, Text$1 as Text, TextVariantsEnum, TimePicker, ToastContext, Tooltip$1 as Tooltip, UPDATE_PICKER, Upload, YESTERDAY, addOnCellStyle, advancePickerDate, advancePickerOptions, defaultFetchDataParams, pickerReducer, useListOption, useToggle };
|
package/index.umd.js
CHANGED
|
@@ -1478,7 +1478,7 @@
|
|
|
1478
1478
|
};
|
|
1479
1479
|
|
|
1480
1480
|
function _extends() {
|
|
1481
|
-
_extends = Object.assign
|
|
1481
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
1482
1482
|
for (var i = 1; i < arguments.length; i++) {
|
|
1483
1483
|
var source = arguments[i];
|
|
1484
1484
|
|
|
@@ -1491,7 +1491,6 @@
|
|
|
1491
1491
|
|
|
1492
1492
|
return target;
|
|
1493
1493
|
};
|
|
1494
|
-
|
|
1495
1494
|
return _extends.apply(this, arguments);
|
|
1496
1495
|
}
|
|
1497
1496
|
|
|
@@ -19276,12 +19275,13 @@
|
|
|
19276
19275
|
};
|
|
19277
19276
|
const StyledItem = styled(DropdownMenuPrimitive__namespace.Item, Object.assign({}, itemStyles));
|
|
19278
19277
|
const StyledCheckboxItem = styled(DropdownMenuPrimitive__namespace.CheckboxItem, Object.assign({}, itemStyles));
|
|
19279
|
-
const StyledRadioItem = styled(DropdownMenuPrimitive__namespace.RadioItem, Object.assign({}, itemStyles));
|
|
19280
|
-
|
|
19281
|
-
|
|
19282
|
-
|
|
19283
|
-
|
|
19284
|
-
}
|
|
19278
|
+
const StyledRadioItem = styled(DropdownMenuPrimitive__namespace.RadioItem, Object.assign({}, itemStyles)); // const StyledTriggerItem = styled(DropdownMenuPrimitive.TriggerItem, {
|
|
19279
|
+
// '&[data-state="open"]': {
|
|
19280
|
+
// backgroundColor: colors.gray50,
|
|
19281
|
+
// },
|
|
19282
|
+
// ...itemStyles,
|
|
19283
|
+
// });
|
|
19284
|
+
|
|
19285
19285
|
const StyledLabel = styled(DropdownMenuPrimitive__namespace.Label, {
|
|
19286
19286
|
padding: '8px 0',
|
|
19287
19287
|
fontSize: 12,
|
|
@@ -19340,7 +19340,7 @@
|
|
|
19340
19340
|
align
|
|
19341
19341
|
} = React__default["default"].useContext(Context);
|
|
19342
19342
|
const ref = React.useCallback(node => {
|
|
19343
|
-
const appElement = document.getElementById(
|
|
19343
|
+
const appElement = document.getElementById('app');
|
|
19344
19344
|
|
|
19345
19345
|
if (appElement) {
|
|
19346
19346
|
if (node !== null) {
|
|
@@ -19408,8 +19408,8 @@
|
|
|
19408
19408
|
const DropdownMenuCheckboxItem = StyledCheckboxItem;
|
|
19409
19409
|
const DropdownMenuRadioGroup = DropdownMenuPrimitive__namespace.RadioGroup;
|
|
19410
19410
|
const DropdownMenuRadioItem = StyledRadioItem;
|
|
19411
|
-
const DropdownMenuItemIndicator = StyledItemIndicator;
|
|
19412
|
-
|
|
19411
|
+
const DropdownMenuItemIndicator = StyledItemIndicator; // export const DropdownMenuTriggerItem = StyledTriggerItem;
|
|
19412
|
+
|
|
19413
19413
|
const DropdownMenuLabel = StyledLabel;
|
|
19414
19414
|
const DropdownMenuSeparator = StyledSeparator;
|
|
19415
19415
|
const DropdownMenuArrow = StyledArrow;
|
|
@@ -19420,8 +19420,8 @@
|
|
|
19420
19420
|
DropdownMenuCheckboxItem.displayName = 'DropdownMenuCheckboxItem';
|
|
19421
19421
|
DropdownMenuRadioGroup.displayName = 'DropdownMenuRadioGroup';
|
|
19422
19422
|
DropdownMenuRadioItem.displayName = 'DropdownMenuRadioItem';
|
|
19423
|
-
DropdownMenuItemIndicator.displayName = 'DropdownMenuItemIndicator';
|
|
19424
|
-
|
|
19423
|
+
DropdownMenuItemIndicator.displayName = 'DropdownMenuItemIndicator'; // DropdownMenuTriggerItem.displayName = 'DropdownMenuTriggerItem';
|
|
19424
|
+
|
|
19425
19425
|
DropdownMenuLabel.displayName = 'DropdownMenuLabel';
|
|
19426
19426
|
DropdownMenuSeparator.displayName = 'DropdownMenuSeparator';
|
|
19427
19427
|
DropdownMenuArrow.displayName = 'DropdownMenuArrow';
|
|
@@ -30665,7 +30665,6 @@
|
|
|
30665
30665
|
exports.DropdownMenuRadioItem = DropdownMenuRadioItem;
|
|
30666
30666
|
exports.DropdownMenuSeparator = DropdownMenuSeparator;
|
|
30667
30667
|
exports.DropdownMenuTrigger = DropdownMenuTrigger;
|
|
30668
|
-
exports.DropdownMenuTriggerItem = DropdownMenuTriggerItem;
|
|
30669
30668
|
exports.EditableTable = EditableTable;
|
|
30670
30669
|
exports.Flex = Flex$1;
|
|
30671
30670
|
exports.FormGroup = FormGroup;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@majoo-ui/react",
|
|
3
|
-
"version": "1.49.
|
|
3
|
+
"version": "1.49.3-rc.3",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@majoo-ui/core": "^1.31.1",
|
|
6
6
|
"@majoo-ui/helpers": "^1.30.4",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"@radix-ui/react-alert-dialog": "^1.0.0",
|
|
10
10
|
"@radix-ui/react-avatar": "^1.0.0",
|
|
11
11
|
"@radix-ui/react-aspect-ratio": "^1.0.0",
|
|
12
|
-
"@radix-ui/react-dropdown-menu": "^0.
|
|
12
|
+
"@radix-ui/react-dropdown-menu": "^1.0.0",
|
|
13
13
|
"@radix-ui/react-popover": "^1.0.0",
|
|
14
14
|
"@radix-ui/react-tooltip": "^1.0.0",
|
|
15
15
|
"@radix-ui/react-progress": "^1.0.0",
|