@majoo-ui/react 1.60.31-rc.1 → 1.60.32-rc.1
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 +28 -15
- package/index.umd.js +28 -13
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -4544,7 +4544,8 @@ const StyledContent$6 = styled(TooltipPrimitive.Content, {
|
|
|
4544
4544
|
animationName: slideRightAndFade$2
|
|
4545
4545
|
}
|
|
4546
4546
|
}
|
|
4547
|
-
}
|
|
4547
|
+
},
|
|
4548
|
+
maxWidth: '100vw'
|
|
4548
4549
|
});
|
|
4549
4550
|
const TriggerSpan = styled('span', {
|
|
4550
4551
|
display: 'flex'
|
|
@@ -22770,9 +22771,9 @@ const MobileTable = /*#__PURE__*/React__default.forwardRef(({
|
|
|
22770
22771
|
align: "center",
|
|
22771
22772
|
justify: "center",
|
|
22772
22773
|
direction: "column",
|
|
22773
|
-
gap:
|
|
22774
|
+
gap: 1,
|
|
22774
22775
|
css: {
|
|
22775
|
-
margin: '
|
|
22776
|
+
margin: '32px auto 100px'
|
|
22776
22777
|
}
|
|
22777
22778
|
}, {
|
|
22778
22779
|
children: [customEmptyDataProps.doodleImage, customEmptyDataProps.title, customEmptyDataProps.description]
|
|
@@ -23356,6 +23357,9 @@ const formattingData = (rawData, rowGroup) => {
|
|
|
23356
23357
|
};
|
|
23357
23358
|
const defaultEmptyDataProps = (t, isMobile) => ({
|
|
23358
23359
|
doodleImage: jsx(Image, {
|
|
23360
|
+
css: {
|
|
23361
|
+
maxHeight: '25vh'
|
|
23362
|
+
},
|
|
23359
23363
|
src: img$o
|
|
23360
23364
|
}, void 0),
|
|
23361
23365
|
title: jsx(Paragraph, Object.assign({
|
|
@@ -23363,24 +23367,30 @@ const defaultEmptyDataProps = (t, isMobile) => ({
|
|
|
23363
23367
|
color: "primary",
|
|
23364
23368
|
align: "center",
|
|
23365
23369
|
css: {
|
|
23366
|
-
marginTop: '$spacing-05'
|
|
23370
|
+
marginTop: isMobile ? 0 : '$spacing-05'
|
|
23367
23371
|
}
|
|
23368
23372
|
}, {
|
|
23369
23373
|
children: t('dataNotAvailableTitle', 'Data tidak tersedia')
|
|
23370
23374
|
}), void 0),
|
|
23371
|
-
description:
|
|
23375
|
+
description: !isMobile ? jsxs(Paragraph, Object.assign({
|
|
23372
23376
|
paragraph: "shortContentRegular",
|
|
23373
23377
|
color: "secondary",
|
|
23374
23378
|
align: "center"
|
|
23375
23379
|
}, {
|
|
23376
|
-
children:
|
|
23377
|
-
|
|
23378
|
-
|
|
23379
|
-
|
|
23380
|
+
children: [t('dataNotAvailableDescription_1', 'Belum ada data yang dapat ditampilkan'), ' ', t('dataNotAvailableDescription_2', 'di halaman ini')]
|
|
23381
|
+
}), void 0) : jsxs(Text$1, Object.assign({
|
|
23382
|
+
variant: "caption",
|
|
23383
|
+
color: "secondary",
|
|
23384
|
+
align: "center"
|
|
23385
|
+
}, {
|
|
23386
|
+
children: [t('dataNotAvailableDescription_1', 'Belum ada data yang dapat ditampilkan'), jsx("br", {}, void 0), t('dataNotAvailableDescription_2', 'di halaman ini')]
|
|
23380
23387
|
}), void 0)
|
|
23381
23388
|
});
|
|
23382
23389
|
const defaultEmptySearchProps = (t, isMobile, query) => ({
|
|
23383
23390
|
doodleImage: jsx(Image, {
|
|
23391
|
+
ccss: {
|
|
23392
|
+
maxHeight: '25vh'
|
|
23393
|
+
},
|
|
23384
23394
|
src: img$n
|
|
23385
23395
|
}, void 0),
|
|
23386
23396
|
title: jsx(Paragraph, Object.assign({
|
|
@@ -23388,22 +23398,25 @@ const defaultEmptySearchProps = (t, isMobile, query) => ({
|
|
|
23388
23398
|
color: "primary",
|
|
23389
23399
|
align: "center",
|
|
23390
23400
|
css: {
|
|
23391
|
-
marginTop: '$spacing-05'
|
|
23401
|
+
marginTop: isMobile ? 0 : '$spacing-05'
|
|
23392
23402
|
}
|
|
23393
23403
|
}, {
|
|
23394
23404
|
children: t('dataNotAvailableTitleSearch', `Oops... ${query} tidak ditemukan`, {
|
|
23395
23405
|
query
|
|
23396
23406
|
})
|
|
23397
23407
|
}), void 0),
|
|
23398
|
-
description:
|
|
23408
|
+
description: !isMobile ? jsxs(Paragraph, Object.assign({
|
|
23399
23409
|
paragraph: "shortContentRegular",
|
|
23400
23410
|
color: "secondary",
|
|
23401
23411
|
align: "center"
|
|
23402
23412
|
}, {
|
|
23403
|
-
children:
|
|
23404
|
-
|
|
23405
|
-
|
|
23406
|
-
|
|
23413
|
+
children: [t('dataNotAvailableDescriptionSearch_1', 'Coba lagi dengan memasukkan'), ' ', t('dataNotAvailableDescriptionSearch_2', 'kata kunci yang tepat')]
|
|
23414
|
+
}), void 0) : jsxs(Text$1, Object.assign({
|
|
23415
|
+
variant: "caption",
|
|
23416
|
+
color: "secondary",
|
|
23417
|
+
align: "center"
|
|
23418
|
+
}, {
|
|
23419
|
+
children: [t('dataNotAvailableDescriptionSearch_1', 'Coba lagi dengan memasukkan'), jsx("br", {}, void 0), t('dataNotAvailableDescriptionSearch_2', 'kata kunci yang tepat')]
|
|
23407
23420
|
}), void 0)
|
|
23408
23421
|
});
|
|
23409
23422
|
function HeaderMenuOption(props) {
|
package/index.umd.js
CHANGED
|
@@ -4095,7 +4095,8 @@
|
|
|
4095
4095
|
animationName: slideRightAndFade$2
|
|
4096
4096
|
}
|
|
4097
4097
|
}
|
|
4098
|
-
}
|
|
4098
|
+
},
|
|
4099
|
+
maxWidth: '100vw'
|
|
4099
4100
|
});
|
|
4100
4101
|
var TriggerSpan = styled('span', {
|
|
4101
4102
|
display: 'flex'
|
|
@@ -23120,9 +23121,9 @@
|
|
|
23120
23121
|
align: "center",
|
|
23121
23122
|
justify: "center",
|
|
23122
23123
|
direction: "column",
|
|
23123
|
-
gap:
|
|
23124
|
+
gap: 1,
|
|
23124
23125
|
css: {
|
|
23125
|
-
margin: '
|
|
23126
|
+
margin: '32px auto 100px'
|
|
23126
23127
|
}
|
|
23127
23128
|
}, {
|
|
23128
23129
|
children: [customEmptyDataProps.doodleImage, customEmptyDataProps.title, customEmptyDataProps.description]
|
|
@@ -23718,6 +23719,9 @@
|
|
|
23718
23719
|
var defaultEmptyDataProps = function defaultEmptyDataProps(t, isMobile) {
|
|
23719
23720
|
return {
|
|
23720
23721
|
doodleImage: jsxRuntime.jsx(Image, {
|
|
23722
|
+
css: {
|
|
23723
|
+
maxHeight: '25vh'
|
|
23724
|
+
},
|
|
23721
23725
|
src: img$o
|
|
23722
23726
|
}, void 0),
|
|
23723
23727
|
title: jsxRuntime.jsx(Paragraph, __assign({
|
|
@@ -23725,25 +23729,32 @@
|
|
|
23725
23729
|
color: "primary",
|
|
23726
23730
|
align: "center",
|
|
23727
23731
|
css: {
|
|
23728
|
-
marginTop: '$spacing-05'
|
|
23732
|
+
marginTop: isMobile ? 0 : '$spacing-05'
|
|
23729
23733
|
}
|
|
23730
23734
|
}, {
|
|
23731
23735
|
children: t('dataNotAvailableTitle', 'Data tidak tersedia')
|
|
23732
23736
|
}), void 0),
|
|
23733
|
-
description: jsxRuntime.
|
|
23737
|
+
description: !isMobile ? jsxRuntime.jsxs(Paragraph, __assign({
|
|
23734
23738
|
paragraph: "shortContentRegular",
|
|
23735
23739
|
color: "secondary",
|
|
23736
23740
|
align: "center"
|
|
23737
23741
|
}, {
|
|
23738
|
-
children:
|
|
23739
|
-
|
|
23740
|
-
|
|
23742
|
+
children: [t('dataNotAvailableDescription_1', 'Belum ada data yang dapat ditampilkan'), ' ', t('dataNotAvailableDescription_2', 'di halaman ini')]
|
|
23743
|
+
}), void 0) : jsxRuntime.jsxs(Text$1, __assign({
|
|
23744
|
+
variant: "caption",
|
|
23745
|
+
color: "secondary",
|
|
23746
|
+
align: "center"
|
|
23747
|
+
}, {
|
|
23748
|
+
children: [t('dataNotAvailableDescription_1', 'Belum ada data yang dapat ditampilkan'), jsxRuntime.jsx("br", {}, void 0), t('dataNotAvailableDescription_2', 'di halaman ini')]
|
|
23741
23749
|
}), void 0)
|
|
23742
23750
|
};
|
|
23743
23751
|
};
|
|
23744
23752
|
var defaultEmptySearchProps = function defaultEmptySearchProps(t, isMobile, query) {
|
|
23745
23753
|
return {
|
|
23746
23754
|
doodleImage: jsxRuntime.jsx(Image, {
|
|
23755
|
+
ccss: {
|
|
23756
|
+
maxHeight: '25vh'
|
|
23757
|
+
},
|
|
23747
23758
|
src: img$n
|
|
23748
23759
|
}, void 0),
|
|
23749
23760
|
title: jsxRuntime.jsx(Paragraph, __assign({
|
|
@@ -23751,21 +23762,25 @@
|
|
|
23751
23762
|
color: "primary",
|
|
23752
23763
|
align: "center",
|
|
23753
23764
|
css: {
|
|
23754
|
-
marginTop: '$spacing-05'
|
|
23765
|
+
marginTop: isMobile ? 0 : '$spacing-05'
|
|
23755
23766
|
}
|
|
23756
23767
|
}, {
|
|
23757
23768
|
children: t('dataNotAvailableTitleSearch', "Oops... ".concat(query, " tidak ditemukan"), {
|
|
23758
23769
|
query: query
|
|
23759
23770
|
})
|
|
23760
23771
|
}), void 0),
|
|
23761
|
-
description: jsxRuntime.
|
|
23772
|
+
description: !isMobile ? jsxRuntime.jsxs(Paragraph, __assign({
|
|
23762
23773
|
paragraph: "shortContentRegular",
|
|
23763
23774
|
color: "secondary",
|
|
23764
23775
|
align: "center"
|
|
23765
23776
|
}, {
|
|
23766
|
-
children:
|
|
23767
|
-
|
|
23768
|
-
|
|
23777
|
+
children: [t('dataNotAvailableDescriptionSearch_1', 'Coba lagi dengan memasukkan'), ' ', t('dataNotAvailableDescriptionSearch_2', 'kata kunci yang tepat')]
|
|
23778
|
+
}), void 0) : jsxRuntime.jsxs(Text$1, __assign({
|
|
23779
|
+
variant: "caption",
|
|
23780
|
+
color: "secondary",
|
|
23781
|
+
align: "center"
|
|
23782
|
+
}, {
|
|
23783
|
+
children: [t('dataNotAvailableDescriptionSearch_1', 'Coba lagi dengan memasukkan'), jsxRuntime.jsx("br", {}, void 0), t('dataNotAvailableDescriptionSearch_2', 'kata kunci yang tepat')]
|
|
23769
23784
|
}), void 0)
|
|
23770
23785
|
};
|
|
23771
23786
|
};
|