@majoo-ui/react 1.55.34 → 1.55.36
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/components/link/Link.d.ts +1 -1
- package/index.esm.js +245 -155
- package/index.umd.js +245 -155
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -1223,7 +1223,7 @@ createTheme({
|
|
|
1223
1223
|
bgDark: '#FFFFFF'
|
|
1224
1224
|
}
|
|
1225
1225
|
});
|
|
1226
|
-
const colors$
|
|
1226
|
+
const colors$5 = foundations.colors;
|
|
1227
1227
|
|
|
1228
1228
|
const normalize = {
|
|
1229
1229
|
'*,::before,::after': {
|
|
@@ -2834,7 +2834,7 @@ const StyledLink = styled('a', {
|
|
|
2834
2834
|
*/
|
|
2835
2835
|
color: {
|
|
2836
2836
|
success: {
|
|
2837
|
-
color: '$
|
|
2837
|
+
color: '$primary500'
|
|
2838
2838
|
},
|
|
2839
2839
|
info: {
|
|
2840
2840
|
color: '$hlNews'
|
|
@@ -2846,7 +2846,10 @@ const StyledLink = styled('a', {
|
|
|
2846
2846
|
color: '$hlFailed'
|
|
2847
2847
|
},
|
|
2848
2848
|
pending: {
|
|
2849
|
-
color: '$
|
|
2849
|
+
color: '$hlPending'
|
|
2850
|
+
},
|
|
2851
|
+
primary: {
|
|
2852
|
+
color: '$textPrimary'
|
|
2850
2853
|
}
|
|
2851
2854
|
}
|
|
2852
2855
|
},
|
|
@@ -3181,7 +3184,7 @@ const Toast = _ref => {
|
|
|
3181
3184
|
columnNumber: 17
|
|
3182
3185
|
}
|
|
3183
3186
|
}, /*#__PURE__*/React.createElement(CloseOutline, {
|
|
3184
|
-
color: colors$
|
|
3187
|
+
color: colors$5.iconSecondary,
|
|
3185
3188
|
size: "16px",
|
|
3186
3189
|
__self: undefined,
|
|
3187
3190
|
__source: {
|
|
@@ -3414,12 +3417,12 @@ MajooProvider.propTypes = {
|
|
|
3414
3417
|
disableGlobalStyle: PropTypes.bool
|
|
3415
3418
|
};
|
|
3416
3419
|
|
|
3417
|
-
const _excluded$x = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock"];
|
|
3420
|
+
const _excluded$x = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock", "icon"];
|
|
3418
3421
|
var _jsxFileName$Y = "/Users/apple/Documents/project/majoo/majoo-ui/packages/react/src/components/banner/Banner.js";
|
|
3419
3422
|
const Context$2 = /*#__PURE__*/React.createContext();
|
|
3420
3423
|
const StyledBanner = styled(Flex$1, {
|
|
3421
3424
|
maxWidth: '100%',
|
|
3422
|
-
padding: '$spacing-03',
|
|
3425
|
+
padding: '$spacing-03 $spacing-05',
|
|
3423
3426
|
textAlign: 'left',
|
|
3424
3427
|
borderRadius: 8,
|
|
3425
3428
|
pointer: 'default',
|
|
@@ -3434,12 +3437,12 @@ const StyledBanner = styled(Flex$1, {
|
|
|
3434
3437
|
},
|
|
3435
3438
|
variant: {
|
|
3436
3439
|
info: {
|
|
3437
|
-
backgroundColor: '$
|
|
3440
|
+
backgroundColor: '$bgNew',
|
|
3438
3441
|
border: '1px solid $hlNews'
|
|
3439
3442
|
},
|
|
3440
3443
|
warning: {
|
|
3441
3444
|
backgroundColor: '$bgProcess',
|
|
3442
|
-
border: '1px solid $
|
|
3445
|
+
border: '1px solid $hlPending'
|
|
3443
3446
|
},
|
|
3444
3447
|
success: {
|
|
3445
3448
|
backgroundColor: '$bgSuccess',
|
|
@@ -3451,7 +3454,7 @@ const StyledBanner = styled(Flex$1, {
|
|
|
3451
3454
|
},
|
|
3452
3455
|
pending: {
|
|
3453
3456
|
backgroundColor: '$bgProcess',
|
|
3454
|
-
border: '1px solid $
|
|
3457
|
+
border: '1px solid $hlPending'
|
|
3455
3458
|
}
|
|
3456
3459
|
},
|
|
3457
3460
|
hasAction: {
|
|
@@ -3539,29 +3542,45 @@ BannerDescription.propTypes = {
|
|
|
3539
3542
|
children: PropTypes.string
|
|
3540
3543
|
};
|
|
3541
3544
|
const BannerLink = ({
|
|
3545
|
+
css,
|
|
3542
3546
|
link,
|
|
3543
3547
|
children,
|
|
3544
3548
|
variant
|
|
3545
|
-
}) =>
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
__self: undefined,
|
|
3559
|
-
__source: {
|
|
3560
|
-
fileName: _jsxFileName$Y,
|
|
3561
|
-
lineNumber: 132,
|
|
3562
|
-
columnNumber: 7
|
|
3549
|
+
}) => {
|
|
3550
|
+
console.log(variant);
|
|
3551
|
+
function generateVariant(params) {
|
|
3552
|
+
switch (params) {
|
|
3553
|
+
case 'warning':
|
|
3554
|
+
return 'primary';
|
|
3555
|
+
case 'pending':
|
|
3556
|
+
return 'primary';
|
|
3557
|
+
case 'failed':
|
|
3558
|
+
return 'failed';
|
|
3559
|
+
default:
|
|
3560
|
+
return 'success';
|
|
3561
|
+
}
|
|
3563
3562
|
}
|
|
3564
|
-
|
|
3563
|
+
return /*#__PURE__*/React.createElement(Context$2.Consumer, {
|
|
3564
|
+
__self: undefined,
|
|
3565
|
+
__source: {
|
|
3566
|
+
fileName: _jsxFileName$Y,
|
|
3567
|
+
lineNumber: 146,
|
|
3568
|
+
columnNumber: 5
|
|
3569
|
+
}
|
|
3570
|
+
}, value => /*#__PURE__*/React.createElement(Link, {
|
|
3571
|
+
css: Object.assign({
|
|
3572
|
+
marginInlineEnd: '$spacing-04'
|
|
3573
|
+
}, css),
|
|
3574
|
+
href: link,
|
|
3575
|
+
color: variant ? generateVariant(variant) : generateVariant(value.variant),
|
|
3576
|
+
__self: undefined,
|
|
3577
|
+
__source: {
|
|
3578
|
+
fileName: _jsxFileName$Y,
|
|
3579
|
+
lineNumber: 148,
|
|
3580
|
+
columnNumber: 9
|
|
3581
|
+
}
|
|
3582
|
+
}, children));
|
|
3583
|
+
};
|
|
3565
3584
|
BannerLink.propTypes = {
|
|
3566
3585
|
/**
|
|
3567
3586
|
The purpose of a clickable link, presented in url
|
|
@@ -3583,7 +3602,7 @@ const BannerClose = () => /*#__PURE__*/React.createElement(Context$2.Consumer, {
|
|
|
3583
3602
|
__self: undefined,
|
|
3584
3603
|
__source: {
|
|
3585
3604
|
fileName: _jsxFileName$Y,
|
|
3586
|
-
lineNumber:
|
|
3605
|
+
lineNumber: 180,
|
|
3587
3606
|
columnNumber: 3
|
|
3588
3607
|
}
|
|
3589
3608
|
}, value => /*#__PURE__*/React.createElement(CloseButton$1, {
|
|
@@ -3595,38 +3614,57 @@ const BannerClose = () => /*#__PURE__*/React.createElement(Context$2.Consumer, {
|
|
|
3595
3614
|
__self: undefined,
|
|
3596
3615
|
__source: {
|
|
3597
3616
|
fileName: _jsxFileName$Y,
|
|
3598
|
-
lineNumber:
|
|
3617
|
+
lineNumber: 182,
|
|
3599
3618
|
columnNumber: 7
|
|
3600
3619
|
}
|
|
3601
3620
|
}, /*#__PURE__*/React.createElement(CloseOutline, {
|
|
3602
|
-
color: colors$
|
|
3621
|
+
color: colors$5.iconSecondary,
|
|
3603
3622
|
size: "16px",
|
|
3604
3623
|
__self: undefined,
|
|
3605
3624
|
__source: {
|
|
3606
3625
|
fileName: _jsxFileName$Y,
|
|
3607
|
-
lineNumber:
|
|
3626
|
+
lineNumber: 189,
|
|
3608
3627
|
columnNumber: 9
|
|
3609
3628
|
}
|
|
3610
3629
|
})));
|
|
3611
3630
|
const SingleTagBanner = props => {
|
|
3612
|
-
|
|
3631
|
+
var _props$icon;
|
|
3632
|
+
return /*#__PURE__*/React.createElement(Flex$1, {
|
|
3633
|
+
gap: 2,
|
|
3634
|
+
direction: "column",
|
|
3613
3635
|
__self: undefined,
|
|
3614
3636
|
__source: {
|
|
3615
3637
|
fileName: _jsxFileName$Y,
|
|
3616
|
-
lineNumber:
|
|
3638
|
+
lineNumber: 197,
|
|
3617
3639
|
columnNumber: 5
|
|
3618
3640
|
}
|
|
3619
3641
|
}, /*#__PURE__*/React.createElement(Flex$1, {
|
|
3620
|
-
gap: 3,
|
|
3621
|
-
direction: "column",
|
|
3622
|
-
align: "end",
|
|
3623
3642
|
__self: undefined,
|
|
3624
3643
|
__source: {
|
|
3625
3644
|
fileName: _jsxFileName$Y,
|
|
3626
|
-
lineNumber:
|
|
3645
|
+
lineNumber: 198,
|
|
3627
3646
|
columnNumber: 7
|
|
3628
3647
|
}
|
|
3629
3648
|
}, /*#__PURE__*/React.createElement(Flex$1, {
|
|
3649
|
+
gap: 3,
|
|
3650
|
+
direction: "row",
|
|
3651
|
+
__self: undefined,
|
|
3652
|
+
__source: {
|
|
3653
|
+
fileName: _jsxFileName$Y,
|
|
3654
|
+
lineNumber: 199,
|
|
3655
|
+
columnNumber: 9
|
|
3656
|
+
}
|
|
3657
|
+
}, (props === null || props === void 0 ? void 0 : props.icon) && /*#__PURE__*/React.createElement(Flex$1, {
|
|
3658
|
+
css: {
|
|
3659
|
+
marginTop: '-2px'
|
|
3660
|
+
},
|
|
3661
|
+
__self: undefined,
|
|
3662
|
+
__source: {
|
|
3663
|
+
fileName: _jsxFileName$Y,
|
|
3664
|
+
lineNumber: 200,
|
|
3665
|
+
columnNumber: 27
|
|
3666
|
+
}
|
|
3667
|
+
}, props === null || props === void 0 ? void 0 : (_props$icon = props.icon) === null || _props$icon === void 0 ? void 0 : _props$icon.call(props)), /*#__PURE__*/React.createElement(Flex$1, {
|
|
3630
3668
|
gap: 2,
|
|
3631
3669
|
direction: "column",
|
|
3632
3670
|
css: {
|
|
@@ -3636,33 +3674,24 @@ const SingleTagBanner = props => {
|
|
|
3636
3674
|
__self: undefined,
|
|
3637
3675
|
__source: {
|
|
3638
3676
|
fileName: _jsxFileName$Y,
|
|
3639
|
-
lineNumber:
|
|
3640
|
-
columnNumber:
|
|
3677
|
+
lineNumber: 201,
|
|
3678
|
+
columnNumber: 11
|
|
3641
3679
|
}
|
|
3642
3680
|
}, props.title && /*#__PURE__*/React.createElement(BannerTitle, {
|
|
3643
3681
|
__self: undefined,
|
|
3644
3682
|
__source: {
|
|
3645
3683
|
fileName: _jsxFileName$Y,
|
|
3646
|
-
lineNumber:
|
|
3647
|
-
columnNumber:
|
|
3684
|
+
lineNumber: 209,
|
|
3685
|
+
columnNumber: 29
|
|
3648
3686
|
}
|
|
3649
3687
|
}, props.title), props.description && /*#__PURE__*/React.createElement(BannerDescription, {
|
|
3650
3688
|
__self: undefined,
|
|
3651
3689
|
__source: {
|
|
3652
3690
|
fileName: _jsxFileName$Y,
|
|
3653
|
-
lineNumber:
|
|
3654
|
-
columnNumber:
|
|
3655
|
-
}
|
|
3656
|
-
}, props.description)), props.link && /*#__PURE__*/React.createElement(BannerLink, {
|
|
3657
|
-
link: props.link,
|
|
3658
|
-
variant: props.variant,
|
|
3659
|
-
__self: undefined,
|
|
3660
|
-
__source: {
|
|
3661
|
-
fileName: _jsxFileName$Y,
|
|
3662
|
-
lineNumber: 190,
|
|
3663
|
-
columnNumber: 11
|
|
3691
|
+
lineNumber: 210,
|
|
3692
|
+
columnNumber: 35
|
|
3664
3693
|
}
|
|
3665
|
-
}, props.
|
|
3694
|
+
}, props.description))), /*#__PURE__*/React.createElement(CloseButton$1, {
|
|
3666
3695
|
onClick: e => {
|
|
3667
3696
|
e.preventDefault();
|
|
3668
3697
|
e.stopPropagation();
|
|
@@ -3672,19 +3701,32 @@ const SingleTagBanner = props => {
|
|
|
3672
3701
|
__self: undefined,
|
|
3673
3702
|
__source: {
|
|
3674
3703
|
fileName: _jsxFileName$Y,
|
|
3675
|
-
lineNumber:
|
|
3676
|
-
columnNumber:
|
|
3704
|
+
lineNumber: 213,
|
|
3705
|
+
columnNumber: 9
|
|
3677
3706
|
}
|
|
3678
3707
|
}, /*#__PURE__*/React.createElement(CloseOutline, {
|
|
3679
|
-
color: colors$
|
|
3708
|
+
color: colors$5.iconSecondary,
|
|
3680
3709
|
size: "16px",
|
|
3681
3710
|
__self: undefined,
|
|
3682
3711
|
__source: {
|
|
3683
3712
|
fileName: _jsxFileName$Y,
|
|
3684
|
-
lineNumber:
|
|
3713
|
+
lineNumber: 221,
|
|
3714
|
+
columnNumber: 11
|
|
3715
|
+
}
|
|
3716
|
+
}))), props.link && /*#__PURE__*/React.createElement(BannerLink, {
|
|
3717
|
+
css: {
|
|
3718
|
+
alignSelf: 'end',
|
|
3719
|
+
marginInlineEnd: 'unset'
|
|
3720
|
+
},
|
|
3721
|
+
link: props.link,
|
|
3722
|
+
variant: props.variant,
|
|
3723
|
+
__self: undefined,
|
|
3724
|
+
__source: {
|
|
3725
|
+
fileName: _jsxFileName$Y,
|
|
3726
|
+
lineNumber: 225,
|
|
3685
3727
|
columnNumber: 9
|
|
3686
3728
|
}
|
|
3687
|
-
}))
|
|
3729
|
+
}, props.linkText));
|
|
3688
3730
|
};
|
|
3689
3731
|
const Banner = _ref => {
|
|
3690
3732
|
let {
|
|
@@ -3696,7 +3738,8 @@ const Banner = _ref => {
|
|
|
3696
3738
|
onClick,
|
|
3697
3739
|
onRemove,
|
|
3698
3740
|
children,
|
|
3699
|
-
bannerBlock
|
|
3741
|
+
bannerBlock,
|
|
3742
|
+
icon
|
|
3700
3743
|
} = _ref,
|
|
3701
3744
|
rest = _objectWithoutPropertiesLoose(_ref, _excluded$x);
|
|
3702
3745
|
return /*#__PURE__*/React.createElement(StyledBanner, _extends({
|
|
@@ -3708,7 +3751,7 @@ const Banner = _ref => {
|
|
|
3708
3751
|
__self: undefined,
|
|
3709
3752
|
__source: {
|
|
3710
3753
|
fileName: _jsxFileName$Y,
|
|
3711
|
-
lineNumber:
|
|
3754
|
+
lineNumber: 247,
|
|
3712
3755
|
columnNumber: 5
|
|
3713
3756
|
}
|
|
3714
3757
|
}), children ? /*#__PURE__*/React.createElement(Flex$1, {
|
|
@@ -3725,7 +3768,7 @@ const Banner = _ref => {
|
|
|
3725
3768
|
__self: undefined,
|
|
3726
3769
|
__source: {
|
|
3727
3770
|
fileName: _jsxFileName$Y,
|
|
3728
|
-
lineNumber:
|
|
3771
|
+
lineNumber: 249,
|
|
3729
3772
|
columnNumber: 9
|
|
3730
3773
|
}
|
|
3731
3774
|
}, /*#__PURE__*/React.createElement(Context$2.Provider, {
|
|
@@ -3736,13 +3779,14 @@ const Banner = _ref => {
|
|
|
3736
3779
|
__self: undefined,
|
|
3737
3780
|
__source: {
|
|
3738
3781
|
fileName: _jsxFileName$Y,
|
|
3739
|
-
lineNumber:
|
|
3782
|
+
lineNumber: 256,
|
|
3740
3783
|
columnNumber: 11
|
|
3741
3784
|
}
|
|
3742
3785
|
}, children)) : /*#__PURE__*/React.createElement(SingleTagBanner, {
|
|
3743
3786
|
title: title,
|
|
3744
3787
|
description: description,
|
|
3745
3788
|
variant: variant,
|
|
3789
|
+
icon: icon,
|
|
3746
3790
|
link: link,
|
|
3747
3791
|
linkText: linkText,
|
|
3748
3792
|
onClick: onClick,
|
|
@@ -3750,7 +3794,7 @@ const Banner = _ref => {
|
|
|
3750
3794
|
__self: undefined,
|
|
3751
3795
|
__source: {
|
|
3752
3796
|
fileName: _jsxFileName$Y,
|
|
3753
|
-
lineNumber:
|
|
3797
|
+
lineNumber: 259,
|
|
3754
3798
|
columnNumber: 9
|
|
3755
3799
|
}
|
|
3756
3800
|
}));
|
|
@@ -3779,6 +3823,10 @@ Banner.propTypes = {
|
|
|
3779
3823
|
Text of button link to be displayed
|
|
3780
3824
|
*/
|
|
3781
3825
|
linkText: PropTypes.string,
|
|
3826
|
+
/**
|
|
3827
|
+
Icon of banner to be displayed
|
|
3828
|
+
*/
|
|
3829
|
+
icon: PropTypes.func,
|
|
3782
3830
|
/**
|
|
3783
3831
|
Clickable event handler
|
|
3784
3832
|
*/
|
|
@@ -7680,7 +7728,7 @@ const Tag = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
7680
7728
|
}
|
|
7681
7729
|
}, /*#__PURE__*/React__default.createElement(CloseOutline, {
|
|
7682
7730
|
size: 16,
|
|
7683
|
-
color: colors$
|
|
7731
|
+
color: colors$5.iconSecondary,
|
|
7684
7732
|
style: {
|
|
7685
7733
|
verticalAlign: 'middle'
|
|
7686
7734
|
},
|
|
@@ -8213,6 +8261,9 @@ SvgSearchOutline.defaultProps = {
|
|
|
8213
8261
|
|
|
8214
8262
|
const _excluded$e = ["size", "onChange", "css", "disabled", "withDebounce", "defaultValue"];
|
|
8215
8263
|
var _jsxFileName$z = "/Users/apple/Documents/project/majoo/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
|
|
8264
|
+
const {
|
|
8265
|
+
colors: colors$4
|
|
8266
|
+
} = foundations;
|
|
8216
8267
|
const InputSearchbox = _ref => {
|
|
8217
8268
|
var _props$value;
|
|
8218
8269
|
let {
|
|
@@ -8252,7 +8303,7 @@ const InputSearchbox = _ref => {
|
|
|
8252
8303
|
__self: undefined,
|
|
8253
8304
|
__source: {
|
|
8254
8305
|
fileName: _jsxFileName$z,
|
|
8255
|
-
lineNumber:
|
|
8306
|
+
lineNumber: 40,
|
|
8256
8307
|
columnNumber: 5
|
|
8257
8308
|
}
|
|
8258
8309
|
}, /*#__PURE__*/React__default.createElement(InputLeftElement, {
|
|
@@ -8260,14 +8311,14 @@ const InputSearchbox = _ref => {
|
|
|
8260
8311
|
__self: undefined,
|
|
8261
8312
|
__source: {
|
|
8262
8313
|
fileName: _jsxFileName$z,
|
|
8263
|
-
lineNumber:
|
|
8314
|
+
lineNumber: 41,
|
|
8264
8315
|
columnNumber: 35
|
|
8265
8316
|
}
|
|
8266
8317
|
}),
|
|
8267
8318
|
__self: undefined,
|
|
8268
8319
|
__source: {
|
|
8269
8320
|
fileName: _jsxFileName$z,
|
|
8270
|
-
lineNumber:
|
|
8321
|
+
lineNumber: 41,
|
|
8271
8322
|
columnNumber: 7
|
|
8272
8323
|
}
|
|
8273
8324
|
}), /*#__PURE__*/React__default.createElement(InputText, _extends({
|
|
@@ -8282,30 +8333,31 @@ const InputSearchbox = _ref => {
|
|
|
8282
8333
|
__self: undefined,
|
|
8283
8334
|
__source: {
|
|
8284
8335
|
fileName: _jsxFileName$z,
|
|
8285
|
-
lineNumber:
|
|
8336
|
+
lineNumber: 42,
|
|
8286
8337
|
columnNumber: 7
|
|
8287
8338
|
}
|
|
8288
8339
|
})), /*#__PURE__*/React__default.createElement(InputRightElement, {
|
|
8289
8340
|
children: (inputValue === null || inputValue === void 0 ? void 0 : inputValue.length) > 0 ? /*#__PURE__*/React__default.createElement(SvgCloseFilled, {
|
|
8341
|
+
color: colors$4.iconSecondary,
|
|
8290
8342
|
__self: undefined,
|
|
8291
8343
|
__source: {
|
|
8292
8344
|
fileName: _jsxFileName$z,
|
|
8293
|
-
lineNumber:
|
|
8345
|
+
lineNumber: 53,
|
|
8294
8346
|
columnNumber: 44
|
|
8295
8347
|
}
|
|
8296
8348
|
}) : /*#__PURE__*/React__default.createElement("div", {
|
|
8297
8349
|
__self: undefined,
|
|
8298
8350
|
__source: {
|
|
8299
8351
|
fileName: _jsxFileName$z,
|
|
8300
|
-
lineNumber:
|
|
8301
|
-
columnNumber:
|
|
8352
|
+
lineNumber: 53,
|
|
8353
|
+
columnNumber: 91
|
|
8302
8354
|
}
|
|
8303
8355
|
}),
|
|
8304
8356
|
onClick: handleClearButtonClick,
|
|
8305
8357
|
__self: undefined,
|
|
8306
8358
|
__source: {
|
|
8307
8359
|
fileName: _jsxFileName$z,
|
|
8308
|
-
lineNumber:
|
|
8360
|
+
lineNumber: 52,
|
|
8309
8361
|
columnNumber: 7
|
|
8310
8362
|
}
|
|
8311
8363
|
}));
|
|
@@ -9156,7 +9208,7 @@ function InputSelect(_a) {
|
|
|
9156
9208
|
readOnly: readOnly
|
|
9157
9209
|
}, {
|
|
9158
9210
|
children: jsx(CaretDownOutline, {
|
|
9159
|
-
color: readOnly ? colors$
|
|
9211
|
+
color: readOnly ? colors$5.gray300 : iconColor
|
|
9160
9212
|
}, void 0)
|
|
9161
9213
|
}), void 0);
|
|
9162
9214
|
};
|
|
@@ -9362,7 +9414,7 @@ function InputSelect(_a) {
|
|
|
9362
9414
|
}, {
|
|
9363
9415
|
children: jsx(CircleInfoOutline, {
|
|
9364
9416
|
size: "16px",
|
|
9365
|
-
color: colors$
|
|
9417
|
+
color: colors$5.iconDisable,
|
|
9366
9418
|
style: {
|
|
9367
9419
|
verticalAlign: 'text-bottom'
|
|
9368
9420
|
}
|
|
@@ -10297,7 +10349,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
10297
10349
|
columnNumber: 11
|
|
10298
10350
|
}
|
|
10299
10351
|
}), /*#__PURE__*/React__default.createElement(IconCaretDown, {
|
|
10300
|
-
color: disabled || readOnly ? colors$
|
|
10352
|
+
color: disabled || readOnly ? colors$5.iconDisable : colors$5.iconPrimary,
|
|
10301
10353
|
__self: undefined,
|
|
10302
10354
|
__source: {
|
|
10303
10355
|
fileName: _jsxFileName$w,
|
|
@@ -10396,7 +10448,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
10396
10448
|
columnNumber: 19
|
|
10397
10449
|
}
|
|
10398
10450
|
}, showAllTags ? /*#__PURE__*/React__default.createElement(ChevronUpOutline, {
|
|
10399
|
-
color: colors$
|
|
10451
|
+
color: colors$5.iconSecondary,
|
|
10400
10452
|
__self: undefined,
|
|
10401
10453
|
__source: {
|
|
10402
10454
|
fileName: _jsxFileName$w,
|
|
@@ -10404,7 +10456,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
10404
10456
|
columnNumber: 23
|
|
10405
10457
|
}
|
|
10406
10458
|
}) : /*#__PURE__*/React__default.createElement(ChevronDownOutline, {
|
|
10407
|
-
color: colors$
|
|
10459
|
+
color: colors$5.iconSecondary,
|
|
10408
10460
|
__self: undefined,
|
|
10409
10461
|
__source: {
|
|
10410
10462
|
fileName: _jsxFileName$w,
|
|
@@ -10506,7 +10558,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
10506
10558
|
columnNumber: 21
|
|
10507
10559
|
}
|
|
10508
10560
|
}, item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
10509
|
-
color: colors$
|
|
10561
|
+
color: colors$5.iconDisable,
|
|
10510
10562
|
__self: undefined,
|
|
10511
10563
|
__source: {
|
|
10512
10564
|
fileName: _jsxFileName$w,
|
|
@@ -10514,7 +10566,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
10514
10566
|
columnNumber: 25
|
|
10515
10567
|
}
|
|
10516
10568
|
}) : selectedValue.includes(item.id) && (item.isDisabled === false || item.isDisabled === undefined) && /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
10517
|
-
color: colors$
|
|
10569
|
+
color: colors$5.iconGreen,
|
|
10518
10570
|
__self: undefined,
|
|
10519
10571
|
__source: {
|
|
10520
10572
|
fileName: _jsxFileName$w,
|
|
@@ -10577,7 +10629,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
10577
10629
|
}
|
|
10578
10630
|
}, /*#__PURE__*/React__default.createElement(CircleInfoOutline, {
|
|
10579
10631
|
size: "16px",
|
|
10580
|
-
color: colors$
|
|
10632
|
+
color: colors$5.iconDisable,
|
|
10581
10633
|
style: {
|
|
10582
10634
|
verticalAlign: 'text-bottom'
|
|
10583
10635
|
},
|
|
@@ -10907,7 +10959,7 @@ function InputCreatable({
|
|
|
10907
10959
|
columnNumber: 9
|
|
10908
10960
|
}
|
|
10909
10961
|
}, /*#__PURE__*/React__default.createElement(CirclePlusOutline, {
|
|
10910
|
-
color: colors$
|
|
10962
|
+
color: colors$5.iconGreen,
|
|
10911
10963
|
__self: this,
|
|
10912
10964
|
__source: {
|
|
10913
10965
|
fileName: _jsxFileName$u,
|
|
@@ -11168,7 +11220,7 @@ function InputResourceList({
|
|
|
11168
11220
|
}, {
|
|
11169
11221
|
children: jsx(SortingOutline, {
|
|
11170
11222
|
size: 16,
|
|
11171
|
-
color: colors$
|
|
11223
|
+
color: colors$5.iconSecondary
|
|
11172
11224
|
}, void 0)
|
|
11173
11225
|
}), void 0)]
|
|
11174
11226
|
}), void 0), isLoading && jsx(Flex$1, Object.assign({
|
|
@@ -11670,7 +11722,7 @@ const InputCounter = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11670
11722
|
}, {
|
|
11671
11723
|
children: jsx(MinusOutline, {
|
|
11672
11724
|
size: 24,
|
|
11673
|
-
color: disabled || disabledDecrement ? colors$
|
|
11725
|
+
color: disabled || disabledDecrement ? colors$5.iconDisable : colors$5.primary500
|
|
11674
11726
|
}, void 0)
|
|
11675
11727
|
}), void 0), jsx(Input$4, {
|
|
11676
11728
|
ref: ref,
|
|
@@ -11693,7 +11745,7 @@ const InputCounter = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11693
11745
|
}, {
|
|
11694
11746
|
children: jsx(PlusOutline, {
|
|
11695
11747
|
size: 24,
|
|
11696
|
-
color: disabled || disabledIncrement ? colors$
|
|
11748
|
+
color: disabled || disabledIncrement ? colors$5.iconDisable : colors$5.primary500
|
|
11697
11749
|
}, void 0)
|
|
11698
11750
|
}), void 0)]
|
|
11699
11751
|
}), void 0);
|
|
@@ -12431,7 +12483,7 @@ const TabsList$1 = _ref2 => {
|
|
|
12431
12483
|
columnNumber: 11
|
|
12432
12484
|
}
|
|
12433
12485
|
}, /*#__PURE__*/React__default.createElement(ChevronLgLeftOutline, {
|
|
12434
|
-
color: colors$
|
|
12486
|
+
color: colors$5.iconGreen,
|
|
12435
12487
|
__self: undefined,
|
|
12436
12488
|
__source: {
|
|
12437
12489
|
fileName: _jsxFileName$r,
|
|
@@ -12460,7 +12512,7 @@ const TabsList$1 = _ref2 => {
|
|
|
12460
12512
|
columnNumber: 11
|
|
12461
12513
|
}
|
|
12462
12514
|
}, /*#__PURE__*/React__default.createElement(ChevronLgRightOutline, {
|
|
12463
|
-
color: colors$
|
|
12515
|
+
color: colors$5.iconGreen,
|
|
12464
12516
|
__self: undefined,
|
|
12465
12517
|
__source: {
|
|
12466
12518
|
fileName: _jsxFileName$r,
|
|
@@ -12520,7 +12572,7 @@ const TabsTrigger$1 = _ref3 => {
|
|
|
12520
12572
|
columnNumber: 9
|
|
12521
12573
|
}
|
|
12522
12574
|
}, icon && /*#__PURE__*/React__default.cloneElement(icon, {
|
|
12523
|
-
color: activeTabs === value || isIconHovered ? colors$
|
|
12575
|
+
color: activeTabs === value || isIconHovered ? colors$5.iconGreen : colors$5.iconDisable
|
|
12524
12576
|
}), (!icon || activeTabs === value) && children)));
|
|
12525
12577
|
};
|
|
12526
12578
|
const TabsContent$1 = _ref4 => {
|
|
@@ -12792,7 +12844,7 @@ function ButtonGroup$1(_ref) {
|
|
|
12792
12844
|
columnNumber: 15
|
|
12793
12845
|
}
|
|
12794
12846
|
}, /*#__PURE__*/React__default.createElement(ChevronLeftOutline, {
|
|
12795
|
-
color: colors$
|
|
12847
|
+
color: colors$5.iconGreen,
|
|
12796
12848
|
__self: this,
|
|
12797
12849
|
__source: {
|
|
12798
12850
|
fileName: _jsxFileName$q,
|
|
@@ -12822,7 +12874,7 @@ function ButtonGroup$1(_ref) {
|
|
|
12822
12874
|
columnNumber: 15
|
|
12823
12875
|
}
|
|
12824
12876
|
}, /*#__PURE__*/React__default.createElement(ChevronRightOutline, {
|
|
12825
|
-
color: colors$
|
|
12877
|
+
color: colors$5.iconGreen,
|
|
12826
12878
|
__self: this,
|
|
12827
12879
|
__source: {
|
|
12828
12880
|
fileName: _jsxFileName$q,
|
|
@@ -16354,6 +16406,8 @@ const NativeTimePicker = ({
|
|
|
16354
16406
|
defaultValue,
|
|
16355
16407
|
value,
|
|
16356
16408
|
disabled,
|
|
16409
|
+
disabledHour,
|
|
16410
|
+
disabledMinute,
|
|
16357
16411
|
minDate,
|
|
16358
16412
|
maxDate
|
|
16359
16413
|
}) => {
|
|
@@ -16369,11 +16423,11 @@ const NativeTimePicker = ({
|
|
|
16369
16423
|
function handleUp(type) {
|
|
16370
16424
|
if (!disabled) {
|
|
16371
16425
|
if (type === 'hour') {
|
|
16372
|
-
if (!maxDate || moment(date).add(1, 'hours') <= moment(maxDate)) {
|
|
16426
|
+
if ((!maxDate || moment(date).add(1, 'hours') <= moment(maxDate)) && !disabledHour) {
|
|
16373
16427
|
setNewDate(moment(date).add(1, 'hours'));
|
|
16374
16428
|
}
|
|
16375
16429
|
} else {
|
|
16376
|
-
if (!maxDate || moment(date).add(1, 'minutes') <= moment(maxDate)) {
|
|
16430
|
+
if ((!maxDate || moment(date).add(1, 'minutes') <= moment(maxDate)) && !disabledMinute) {
|
|
16377
16431
|
setNewDate(moment(date).add(1, 'minutes'));
|
|
16378
16432
|
}
|
|
16379
16433
|
}
|
|
@@ -16382,11 +16436,11 @@ const NativeTimePicker = ({
|
|
|
16382
16436
|
function handleDown(type) {
|
|
16383
16437
|
if (!disabled) {
|
|
16384
16438
|
if (type === 'hour') {
|
|
16385
|
-
if (!minDate || moment(date).subtract(1, 'hours') >= moment(minDate)) {
|
|
16439
|
+
if ((!minDate || moment(date).subtract(1, 'hours') >= moment(minDate)) && !disabledHour) {
|
|
16386
16440
|
setNewDate(moment(date).subtract(1, 'hours'));
|
|
16387
16441
|
}
|
|
16388
16442
|
} else {
|
|
16389
|
-
if (!minDate || moment(date).subtract(1, 'minutes') >= moment(minDate)) {
|
|
16443
|
+
if ((!minDate || moment(date).subtract(1, 'minutes') >= moment(minDate)) && !disabledMinute) {
|
|
16390
16444
|
setNewDate(moment(date).subtract(1, 'minutes'));
|
|
16391
16445
|
}
|
|
16392
16446
|
}
|
|
@@ -16403,7 +16457,7 @@ const NativeTimePicker = ({
|
|
|
16403
16457
|
__self: undefined,
|
|
16404
16458
|
__source: {
|
|
16405
16459
|
fileName: _jsxFileName$m,
|
|
16406
|
-
lineNumber:
|
|
16460
|
+
lineNumber: 169,
|
|
16407
16461
|
columnNumber: 5
|
|
16408
16462
|
}
|
|
16409
16463
|
}, /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -16412,27 +16466,27 @@ const NativeTimePicker = ({
|
|
|
16412
16466
|
__self: undefined,
|
|
16413
16467
|
__source: {
|
|
16414
16468
|
fileName: _jsxFileName$m,
|
|
16415
|
-
lineNumber:
|
|
16469
|
+
lineNumber: 175,
|
|
16416
16470
|
columnNumber: 7
|
|
16417
16471
|
}
|
|
16418
16472
|
}, /*#__PURE__*/React__default.createElement(IconStateFull$2, {
|
|
16419
16473
|
type: "up",
|
|
16420
|
-
disabled: disabled,
|
|
16474
|
+
disabled: disabled || disabledHour,
|
|
16421
16475
|
onClick: () => handleUp('hour'),
|
|
16422
16476
|
__self: undefined,
|
|
16423
16477
|
__source: {
|
|
16424
16478
|
fileName: _jsxFileName$m,
|
|
16425
|
-
lineNumber:
|
|
16479
|
+
lineNumber: 176,
|
|
16426
16480
|
columnNumber: 9
|
|
16427
16481
|
}
|
|
16428
16482
|
}), /*#__PURE__*/React__default.createElement(IconStateFull$2, {
|
|
16429
16483
|
type: "up",
|
|
16430
|
-
disabled: disabled,
|
|
16484
|
+
disabled: disabled || disabledMinute,
|
|
16431
16485
|
onClick: () => handleUp('minutes'),
|
|
16432
16486
|
__self: undefined,
|
|
16433
16487
|
__source: {
|
|
16434
16488
|
fileName: _jsxFileName$m,
|
|
16435
|
-
lineNumber:
|
|
16489
|
+
lineNumber: 177,
|
|
16436
16490
|
columnNumber: 9
|
|
16437
16491
|
}
|
|
16438
16492
|
})), /*#__PURE__*/React__default.createElement(Input$3, {
|
|
@@ -16443,7 +16497,7 @@ const NativeTimePicker = ({
|
|
|
16443
16497
|
__self: undefined,
|
|
16444
16498
|
__source: {
|
|
16445
16499
|
fileName: _jsxFileName$m,
|
|
16446
|
-
lineNumber:
|
|
16500
|
+
lineNumber: 179,
|
|
16447
16501
|
columnNumber: 7
|
|
16448
16502
|
}
|
|
16449
16503
|
}), /*#__PURE__*/React__default.createElement(Time, {
|
|
@@ -16451,7 +16505,7 @@ const NativeTimePicker = ({
|
|
|
16451
16505
|
__self: undefined,
|
|
16452
16506
|
__source: {
|
|
16453
16507
|
fileName: _jsxFileName$m,
|
|
16454
|
-
lineNumber:
|
|
16508
|
+
lineNumber: 180,
|
|
16455
16509
|
columnNumber: 7
|
|
16456
16510
|
}
|
|
16457
16511
|
}, moment(date).format(format)), /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -16460,27 +16514,27 @@ const NativeTimePicker = ({
|
|
|
16460
16514
|
__self: undefined,
|
|
16461
16515
|
__source: {
|
|
16462
16516
|
fileName: _jsxFileName$m,
|
|
16463
|
-
lineNumber:
|
|
16517
|
+
lineNumber: 181,
|
|
16464
16518
|
columnNumber: 7
|
|
16465
16519
|
}
|
|
16466
16520
|
}, /*#__PURE__*/React__default.createElement(IconStateFull$2, {
|
|
16467
16521
|
type: "down",
|
|
16468
|
-
disabled: disabled,
|
|
16522
|
+
disabled: disabled || disabledHour,
|
|
16469
16523
|
onClick: () => handleDown('hour'),
|
|
16470
16524
|
__self: undefined,
|
|
16471
16525
|
__source: {
|
|
16472
16526
|
fileName: _jsxFileName$m,
|
|
16473
|
-
lineNumber:
|
|
16527
|
+
lineNumber: 182,
|
|
16474
16528
|
columnNumber: 9
|
|
16475
16529
|
}
|
|
16476
16530
|
}), /*#__PURE__*/React__default.createElement(IconStateFull$2, {
|
|
16477
16531
|
type: "down",
|
|
16478
|
-
disabled: disabled,
|
|
16532
|
+
disabled: disabled || disabledMinute,
|
|
16479
16533
|
onClick: () => handleDown('minutes'),
|
|
16480
16534
|
__self: undefined,
|
|
16481
16535
|
__source: {
|
|
16482
16536
|
fileName: _jsxFileName$m,
|
|
16483
|
-
lineNumber:
|
|
16537
|
+
lineNumber: 183,
|
|
16484
16538
|
columnNumber: 9
|
|
16485
16539
|
}
|
|
16486
16540
|
})));
|
|
@@ -16502,6 +16556,18 @@ NativeTimePicker.propTypes = {
|
|
|
16502
16556
|
Time picker value, support moment format.
|
|
16503
16557
|
*/
|
|
16504
16558
|
value: PropTypes.instanceOf(Date),
|
|
16559
|
+
/**
|
|
16560
|
+
Disabled state.
|
|
16561
|
+
*/
|
|
16562
|
+
disabled: PropTypes.bool,
|
|
16563
|
+
/**
|
|
16564
|
+
Disabled hour state.
|
|
16565
|
+
*/
|
|
16566
|
+
disabledHour: PropTypes.bool,
|
|
16567
|
+
/**
|
|
16568
|
+
Disabled minute state.
|
|
16569
|
+
*/
|
|
16570
|
+
disabledMinute: PropTypes.bool,
|
|
16505
16571
|
/**
|
|
16506
16572
|
Specify the minimum date.
|
|
16507
16573
|
*/
|
|
@@ -16517,6 +16583,8 @@ const TimePicker = ({
|
|
|
16517
16583
|
defaultValue,
|
|
16518
16584
|
value,
|
|
16519
16585
|
disabled,
|
|
16586
|
+
disabledHour,
|
|
16587
|
+
disabledMinute,
|
|
16520
16588
|
css,
|
|
16521
16589
|
minDate,
|
|
16522
16590
|
maxDate
|
|
@@ -16531,12 +16599,14 @@ const TimePicker = ({
|
|
|
16531
16599
|
__self: undefined,
|
|
16532
16600
|
__source: {
|
|
16533
16601
|
fileName: _jsxFileName$m,
|
|
16534
|
-
lineNumber:
|
|
16602
|
+
lineNumber: 241,
|
|
16535
16603
|
columnNumber: 5
|
|
16536
16604
|
}
|
|
16537
16605
|
}, /*#__PURE__*/React__default.createElement(NativeTimePicker, {
|
|
16538
16606
|
size: size,
|
|
16539
16607
|
disabled: disabled,
|
|
16608
|
+
disabledHour: disabledHour,
|
|
16609
|
+
disabledMinute: disabledMinute,
|
|
16540
16610
|
onChange: onChange,
|
|
16541
16611
|
defaultValue: defaultValue,
|
|
16542
16612
|
value: value,
|
|
@@ -16545,7 +16615,7 @@ const TimePicker = ({
|
|
|
16545
16615
|
__self: undefined,
|
|
16546
16616
|
__source: {
|
|
16547
16617
|
fileName: _jsxFileName$m,
|
|
16548
|
-
lineNumber:
|
|
16618
|
+
lineNumber: 242,
|
|
16549
16619
|
columnNumber: 7
|
|
16550
16620
|
}
|
|
16551
16621
|
}));
|
|
@@ -16576,6 +16646,14 @@ TimePicker.propTypes = {
|
|
|
16576
16646
|
Disabled state.
|
|
16577
16647
|
*/
|
|
16578
16648
|
disabled: PropTypes.bool,
|
|
16649
|
+
/**
|
|
16650
|
+
Disabled hour state.
|
|
16651
|
+
*/
|
|
16652
|
+
disabledHour: PropTypes.bool,
|
|
16653
|
+
/**
|
|
16654
|
+
Disabled minute state.
|
|
16655
|
+
*/
|
|
16656
|
+
disabledMinute: PropTypes.bool,
|
|
16579
16657
|
/**
|
|
16580
16658
|
Specify the minimum date.
|
|
16581
16659
|
*/
|
|
@@ -16601,6 +16679,8 @@ function InputTimePicker({
|
|
|
16601
16679
|
placement,
|
|
16602
16680
|
css,
|
|
16603
16681
|
disabled,
|
|
16682
|
+
disabledHour,
|
|
16683
|
+
disabledMinute,
|
|
16604
16684
|
readOnly,
|
|
16605
16685
|
minDate,
|
|
16606
16686
|
maxDate,
|
|
@@ -16621,23 +16701,23 @@ function InputTimePicker({
|
|
|
16621
16701
|
__self: this,
|
|
16622
16702
|
__source: {
|
|
16623
16703
|
fileName: _jsxFileName$l,
|
|
16624
|
-
lineNumber:
|
|
16704
|
+
lineNumber: 41,
|
|
16625
16705
|
columnNumber: 5
|
|
16626
16706
|
}
|
|
16627
16707
|
}, /*#__PURE__*/React__default.createElement(InputLeftElement, {
|
|
16628
16708
|
children: /*#__PURE__*/React__default.createElement(TimeOutline, {
|
|
16629
|
-
color: disabled ? colors$
|
|
16709
|
+
color: disabled ? colors$5.iconDisable : colors$5.iconPrimary,
|
|
16630
16710
|
__self: this,
|
|
16631
16711
|
__source: {
|
|
16632
16712
|
fileName: _jsxFileName$l,
|
|
16633
|
-
lineNumber:
|
|
16713
|
+
lineNumber: 42,
|
|
16634
16714
|
columnNumber: 35
|
|
16635
16715
|
}
|
|
16636
16716
|
}),
|
|
16637
16717
|
__self: this,
|
|
16638
16718
|
__source: {
|
|
16639
16719
|
fileName: _jsxFileName$l,
|
|
16640
|
-
lineNumber:
|
|
16720
|
+
lineNumber: 42,
|
|
16641
16721
|
columnNumber: 7
|
|
16642
16722
|
}
|
|
16643
16723
|
}), /*#__PURE__*/React__default.createElement(InputText, {
|
|
@@ -16652,13 +16732,15 @@ function InputTimePicker({
|
|
|
16652
16732
|
__self: this,
|
|
16653
16733
|
__source: {
|
|
16654
16734
|
fileName: _jsxFileName$l,
|
|
16655
|
-
lineNumber:
|
|
16735
|
+
lineNumber: 43,
|
|
16656
16736
|
columnNumber: 7
|
|
16657
16737
|
}
|
|
16658
16738
|
}));
|
|
16659
16739
|
const renderTimePicker = () => /*#__PURE__*/React__default.createElement(TimePicker, {
|
|
16660
16740
|
size: size,
|
|
16661
16741
|
disabled: disabled,
|
|
16742
|
+
disabledHour: disabledHour,
|
|
16743
|
+
disabledMinute: disabledMinute,
|
|
16662
16744
|
defaultValue: defaultValue,
|
|
16663
16745
|
value: value,
|
|
16664
16746
|
onChange: onChange,
|
|
@@ -16667,7 +16749,7 @@ function InputTimePicker({
|
|
|
16667
16749
|
__self: this,
|
|
16668
16750
|
__source: {
|
|
16669
16751
|
fileName: _jsxFileName$l,
|
|
16670
|
-
lineNumber:
|
|
16752
|
+
lineNumber: 56,
|
|
16671
16753
|
columnNumber: 5
|
|
16672
16754
|
}
|
|
16673
16755
|
});
|
|
@@ -16678,7 +16760,7 @@ function InputTimePicker({
|
|
|
16678
16760
|
__self: this,
|
|
16679
16761
|
__source: {
|
|
16680
16762
|
fileName: _jsxFileName$l,
|
|
16681
|
-
lineNumber:
|
|
16763
|
+
lineNumber: 70,
|
|
16682
16764
|
columnNumber: 5
|
|
16683
16765
|
}
|
|
16684
16766
|
}, disabled || readOnly ? /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -16686,14 +16768,14 @@ function InputTimePicker({
|
|
|
16686
16768
|
__self: this,
|
|
16687
16769
|
__source: {
|
|
16688
16770
|
fileName: _jsxFileName$l,
|
|
16689
|
-
lineNumber:
|
|
16771
|
+
lineNumber: 72,
|
|
16690
16772
|
columnNumber: 9
|
|
16691
16773
|
}
|
|
16692
16774
|
}, renderInputGroup()) : /*#__PURE__*/React__default.createElement(PopoverTrigger, {
|
|
16693
16775
|
__self: this,
|
|
16694
16776
|
__source: {
|
|
16695
16777
|
fileName: _jsxFileName$l,
|
|
16696
|
-
lineNumber:
|
|
16778
|
+
lineNumber: 74,
|
|
16697
16779
|
columnNumber: 9
|
|
16698
16780
|
}
|
|
16699
16781
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -16701,14 +16783,14 @@ function InputTimePicker({
|
|
|
16701
16783
|
__self: this,
|
|
16702
16784
|
__source: {
|
|
16703
16785
|
fileName: _jsxFileName$l,
|
|
16704
|
-
lineNumber:
|
|
16786
|
+
lineNumber: 75,
|
|
16705
16787
|
columnNumber: 11
|
|
16706
16788
|
}
|
|
16707
16789
|
}, renderInputGroup())), /*#__PURE__*/React__default.createElement(PopoverContent, {
|
|
16708
16790
|
__self: this,
|
|
16709
16791
|
__source: {
|
|
16710
16792
|
fileName: _jsxFileName$l,
|
|
16711
|
-
lineNumber:
|
|
16793
|
+
lineNumber: 78,
|
|
16712
16794
|
columnNumber: 7
|
|
16713
16795
|
}
|
|
16714
16796
|
}, renderTimePicker()));
|
|
@@ -16726,6 +16808,14 @@ InputTimePicker.propTypes = {
|
|
|
16726
16808
|
Disabled state.
|
|
16727
16809
|
*/
|
|
16728
16810
|
disabled: PropTypes.bool,
|
|
16811
|
+
/**
|
|
16812
|
+
Disabled hour state.
|
|
16813
|
+
*/
|
|
16814
|
+
disabledHour: PropTypes.bool,
|
|
16815
|
+
/**
|
|
16816
|
+
Disabled minute state.
|
|
16817
|
+
*/
|
|
16818
|
+
disabledMinute: PropTypes.bool,
|
|
16729
16819
|
/**
|
|
16730
16820
|
ReadOnly state.
|
|
16731
16821
|
*/
|
|
@@ -17858,7 +17948,7 @@ const PaginationButton = ({
|
|
|
17858
17948
|
columnNumber: 15
|
|
17859
17949
|
}
|
|
17860
17950
|
}, /*#__PURE__*/React__default.createElement(ArrowLeftOutline, {
|
|
17861
|
-
color: currentPage === 1 ? colors$
|
|
17951
|
+
color: currentPage === 1 ? colors$5.iconDisable : colors$5.iconPrimary,
|
|
17862
17952
|
__self: undefined,
|
|
17863
17953
|
__source: {
|
|
17864
17954
|
fileName: _jsxFileName$k,
|
|
@@ -17911,7 +18001,7 @@ const PaginationButton = ({
|
|
|
17911
18001
|
columnNumber: 15
|
|
17912
18002
|
}
|
|
17913
18003
|
}, /*#__PURE__*/React__default.createElement(ArrowRightOutline, {
|
|
17914
|
-
color: currentPage === totalPages ? colors$
|
|
18004
|
+
color: currentPage === totalPages ? colors$5.iconDisable : colors$5.iconPrimary,
|
|
17915
18005
|
__self: undefined,
|
|
17916
18006
|
__source: {
|
|
17917
18007
|
fileName: _jsxFileName$k,
|
|
@@ -18066,7 +18156,7 @@ function PaginationInfo(_ref) {
|
|
|
18066
18156
|
columnNumber: 13
|
|
18067
18157
|
}
|
|
18068
18158
|
}, selectedLimit.toString()), /*#__PURE__*/React__default.createElement(ChevronDownOutline, {
|
|
18069
|
-
color: colors$
|
|
18159
|
+
color: colors$5.gray400,
|
|
18070
18160
|
__self: this,
|
|
18071
18161
|
__source: {
|
|
18072
18162
|
fileName: _jsxFileName$j,
|
|
@@ -18304,23 +18394,23 @@ const ContextMenuItem = styled(Item, {
|
|
|
18304
18394
|
userSelect: 'none',
|
|
18305
18395
|
color: '$textPrimary',
|
|
18306
18396
|
'&[data-disabled]': {
|
|
18307
|
-
color: colors$
|
|
18397
|
+
color: colors$5.gray400,
|
|
18308
18398
|
pointerEvents: 'none'
|
|
18309
18399
|
},
|
|
18310
18400
|
'&:hover': {
|
|
18311
18401
|
cursor: 'pointer',
|
|
18312
|
-
backgroundColor: colors$
|
|
18402
|
+
backgroundColor: colors$5.gray100
|
|
18313
18403
|
},
|
|
18314
18404
|
'&:active': {
|
|
18315
|
-
backgroundColor: colors$
|
|
18405
|
+
backgroundColor: colors$5.gray150
|
|
18316
18406
|
},
|
|
18317
18407
|
'&:focus': {
|
|
18318
|
-
backgroundColor: colors$
|
|
18408
|
+
backgroundColor: colors$5.gray100
|
|
18319
18409
|
}
|
|
18320
18410
|
});
|
|
18321
18411
|
const ContextMenuSeparator = styled('div', {
|
|
18322
18412
|
height: 1,
|
|
18323
|
-
backgroundColor: colors$
|
|
18413
|
+
backgroundColor: colors$5.gray150,
|
|
18324
18414
|
margin: 5
|
|
18325
18415
|
});
|
|
18326
18416
|
|
|
@@ -18559,7 +18649,7 @@ const MobileTable = /*#__PURE__*/React__default.forwardRef(({
|
|
|
18559
18649
|
justify: "between",
|
|
18560
18650
|
gap: 5,
|
|
18561
18651
|
css: {
|
|
18562
|
-
backgroundColor: colors$
|
|
18652
|
+
backgroundColor: colors$5.bgGray,
|
|
18563
18653
|
padding: `$spacing-04 $spacing-05 ${'selection' in row.values ? '$spacing-04 $spacing-07' : ''}`,
|
|
18564
18654
|
borderBottom: '1pt solid $bgBorder',
|
|
18565
18655
|
alignItems: cell.column.accessor ? getAlign(cellAlign) : 'center'
|
|
@@ -18582,7 +18672,7 @@ const MobileTable = /*#__PURE__*/React__default.forwardRef(({
|
|
|
18582
18672
|
gap: 3,
|
|
18583
18673
|
css: {
|
|
18584
18674
|
height: '40px',
|
|
18585
|
-
backgroundColor: colors$
|
|
18675
|
+
backgroundColor: colors$5.bgGray,
|
|
18586
18676
|
paddingRight: '$spacing-04'
|
|
18587
18677
|
}
|
|
18588
18678
|
}, {
|
|
@@ -19349,7 +19439,7 @@ function Table({
|
|
|
19349
19439
|
}, {
|
|
19350
19440
|
children: [leftAddOnCells.map((_, index) => jsx("td", {
|
|
19351
19441
|
style: {
|
|
19352
|
-
backgroundColor: colors$
|
|
19442
|
+
backgroundColor: colors$5.bgGray
|
|
19353
19443
|
}
|
|
19354
19444
|
}, index)), jsxs(React.Fragment, {
|
|
19355
19445
|
children: [jsx(TableCell$3, Object.assign({
|
|
@@ -20467,7 +20557,7 @@ const contentShow = keyframes({
|
|
|
20467
20557
|
});
|
|
20468
20558
|
const StyledOverlay = styled(ADialog.Overlay, {
|
|
20469
20559
|
zIndex: 1,
|
|
20470
|
-
backgroundColor: colors$
|
|
20560
|
+
backgroundColor: colors$5.bgDimmer,
|
|
20471
20561
|
position: 'fixed',
|
|
20472
20562
|
inset: 0,
|
|
20473
20563
|
'@media (prefers-reduced-motion: no-preference)': {
|
|
@@ -20500,14 +20590,14 @@ const StyledTitle = styled(ADialog.Title, {
|
|
|
20500
20590
|
display: 'flex',
|
|
20501
20591
|
flexDirection: 'row',
|
|
20502
20592
|
justifyContent: 'space-between',
|
|
20503
|
-
color: colors$
|
|
20593
|
+
color: colors$5.gray900,
|
|
20504
20594
|
fontSize: 17,
|
|
20505
20595
|
fontWeight: 500
|
|
20506
20596
|
});
|
|
20507
20597
|
const StyledDescription$1 = styled(ADialog.Description, {
|
|
20508
20598
|
mx: 24,
|
|
20509
20599
|
my: 20,
|
|
20510
|
-
color: colors$
|
|
20600
|
+
color: colors$5.gray900,
|
|
20511
20601
|
fontSize: 15,
|
|
20512
20602
|
lineHeight: 1.5
|
|
20513
20603
|
});
|
|
@@ -21132,17 +21222,17 @@ const itemStyles = {
|
|
|
21132
21222
|
position: 'relative',
|
|
21133
21223
|
userSelect: 'none',
|
|
21134
21224
|
'&[data-disabled]': {
|
|
21135
|
-
color: colors$
|
|
21225
|
+
color: colors$5.gray400,
|
|
21136
21226
|
pointerEvents: 'none'
|
|
21137
21227
|
},
|
|
21138
21228
|
'&:hover': {
|
|
21139
21229
|
cursor: 'pointer'
|
|
21140
21230
|
},
|
|
21141
21231
|
'&:active': {
|
|
21142
|
-
backgroundColor: colors$
|
|
21232
|
+
backgroundColor: colors$5.gray150
|
|
21143
21233
|
},
|
|
21144
21234
|
'&:focus': {
|
|
21145
|
-
backgroundColor: colors$
|
|
21235
|
+
backgroundColor: colors$5.gray100
|
|
21146
21236
|
}
|
|
21147
21237
|
};
|
|
21148
21238
|
const StyledItem = styled(DropdownMenuPrimitive.Item, Object.assign({}, itemStyles));
|
|
@@ -21159,11 +21249,11 @@ const StyledLabel = styled(DropdownMenuPrimitive.Label, {
|
|
|
21159
21249
|
padding: '8px 0',
|
|
21160
21250
|
fontSize: 12,
|
|
21161
21251
|
lineHeight: '25px',
|
|
21162
|
-
color: colors$
|
|
21252
|
+
color: colors$5.gray700
|
|
21163
21253
|
});
|
|
21164
21254
|
const StyledSeparator = styled(DropdownMenuPrimitive.Separator, {
|
|
21165
21255
|
height: 1,
|
|
21166
|
-
backgroundColor: colors$
|
|
21256
|
+
backgroundColor: colors$5.gray150,
|
|
21167
21257
|
margin: 5
|
|
21168
21258
|
});
|
|
21169
21259
|
const StyledItemIndicator = styled(DropdownMenuPrimitive.ItemIndicator, {
|
|
@@ -21260,7 +21350,7 @@ const RightSlot = styled('div', {
|
|
|
21260
21350
|
color: 'white'
|
|
21261
21351
|
},
|
|
21262
21352
|
'[data-disabled] &': {
|
|
21263
|
-
color: colors$
|
|
21353
|
+
color: colors$5.gray400
|
|
21264
21354
|
}
|
|
21265
21355
|
});
|
|
21266
21356
|
const StyledDropdown = styled(ButtonPrimitive, {
|
|
@@ -25012,7 +25102,7 @@ const Device = props => {
|
|
|
25012
25102
|
buttonType: "secondary"
|
|
25013
25103
|
}, {
|
|
25014
25104
|
children: jsx(ChevronLeftOutline, {
|
|
25015
|
-
color: colors$
|
|
25105
|
+
color: colors$5.btnPrimary
|
|
25016
25106
|
}, void 0)
|
|
25017
25107
|
}), void 0), jsxs(Flex$1, Object.assign({
|
|
25018
25108
|
align: "center",
|
|
@@ -25072,7 +25162,7 @@ const Device = props => {
|
|
|
25072
25162
|
buttonType: "secondary"
|
|
25073
25163
|
}, {
|
|
25074
25164
|
children: jsx(ChevronRightOutline, {
|
|
25075
|
-
color: colors$
|
|
25165
|
+
color: colors$5.btnPrimary
|
|
25076
25166
|
}, void 0)
|
|
25077
25167
|
}), void 0)]
|
|
25078
25168
|
}), void 0);
|
|
@@ -28151,7 +28241,7 @@ const Navigation = props => {
|
|
|
28151
28241
|
marginRight: 9
|
|
28152
28242
|
},
|
|
28153
28243
|
size: "24",
|
|
28154
|
-
color: colors$
|
|
28244
|
+
color: colors$5.bgGreen,
|
|
28155
28245
|
__self: undefined,
|
|
28156
28246
|
__source: {
|
|
28157
28247
|
fileName: _jsxFileName$4,
|
|
@@ -28172,7 +28262,7 @@ const Navigation = props => {
|
|
|
28172
28262
|
margin: '0 9px'
|
|
28173
28263
|
},
|
|
28174
28264
|
size: "20",
|
|
28175
|
-
color: colors$
|
|
28265
|
+
color: colors$5.iconSecondary,
|
|
28176
28266
|
__self: undefined,
|
|
28177
28267
|
__source: {
|
|
28178
28268
|
fileName: _jsxFileName$4,
|
|
@@ -28244,7 +28334,7 @@ const Navigation = props => {
|
|
|
28244
28334
|
}
|
|
28245
28335
|
}, /*#__PURE__*/React__default.createElement(StyledCircleInfoOutline, {
|
|
28246
28336
|
size: "20",
|
|
28247
|
-
color: colors$
|
|
28337
|
+
color: colors$5.iconPrimary,
|
|
28248
28338
|
__self: undefined,
|
|
28249
28339
|
__source: {
|
|
28250
28340
|
fileName: _jsxFileName$4,
|
|
@@ -28671,10 +28761,10 @@ var _jsxFileName$2 = "/Users/apple/Documents/project/majoo/majoo-ui/packages/rea
|
|
|
28671
28761
|
const DesktopContainer = styled(Flex$1, {
|
|
28672
28762
|
display: 'none',
|
|
28673
28763
|
'& .active-scroll-spy': {
|
|
28674
|
-
borderLeft: `4px solid ${colors$
|
|
28764
|
+
borderLeft: `4px solid ${colors$5.primary500} !important`
|
|
28675
28765
|
},
|
|
28676
28766
|
'& .active-scroll-spy .link-title': {
|
|
28677
|
-
color: `${colors$
|
|
28767
|
+
color: `${colors$5.primary500} !important`
|
|
28678
28768
|
},
|
|
28679
28769
|
'@md': {
|
|
28680
28770
|
display: 'unset'
|
|
@@ -28682,7 +28772,7 @@ const DesktopContainer = styled(Flex$1, {
|
|
|
28682
28772
|
});
|
|
28683
28773
|
const MobileContainer = styled(Flex$1, {
|
|
28684
28774
|
backgroundColor: '$white',
|
|
28685
|
-
border: `1px solid ${colors$
|
|
28775
|
+
border: `1px solid ${colors$5.gray150}`,
|
|
28686
28776
|
borderRadius: 8,
|
|
28687
28777
|
padding: '8px 8px',
|
|
28688
28778
|
width: '100%',
|
|
@@ -28809,7 +28899,7 @@ function Content({
|
|
|
28809
28899
|
marginLeft: '-4px !important',
|
|
28810
28900
|
borderLeftWidth: '4px !important',
|
|
28811
28901
|
borderLeftStyle: 'solid !important',
|
|
28812
|
-
borderLeftColor: `${(item === null || item === void 0 ? void 0 : item.id) === activeId ? colors$
|
|
28902
|
+
borderLeftColor: `${(item === null || item === void 0 ? void 0 : item.id) === activeId ? colors$5.primary500 : 'transparent'} !important`,
|
|
28813
28903
|
paddingLeft: '16px !important',
|
|
28814
28904
|
minHeight: 25
|
|
28815
28905
|
},
|
|
@@ -30142,11 +30232,11 @@ function ProgressIndicator(props) {
|
|
|
30142
30232
|
const getColor = state => {
|
|
30143
30233
|
switch (state) {
|
|
30144
30234
|
case 'error':
|
|
30145
|
-
return colors$
|
|
30235
|
+
return colors$5.red400;
|
|
30146
30236
|
case 'active':
|
|
30147
|
-
return colors$
|
|
30237
|
+
return colors$5.primary500;
|
|
30148
30238
|
default:
|
|
30149
|
-
return colors$
|
|
30239
|
+
return colors$5.gray150;
|
|
30150
30240
|
}
|
|
30151
30241
|
};
|
|
30152
30242
|
const iconProps = {
|
|
@@ -32034,7 +32124,7 @@ function CheckboxTable(props) {
|
|
|
32034
32124
|
}
|
|
32035
32125
|
}, void 0) : jsx(MinusOutline, {
|
|
32036
32126
|
size: 16,
|
|
32037
|
-
color: colors$
|
|
32127
|
+
color: colors$5.iconDisable
|
|
32038
32128
|
}, void 0)
|
|
32039
32129
|
}, void 0)
|
|
32040
32130
|
}), index + indexSubRow + 'tb-cell-collapse');
|
|
@@ -32339,9 +32429,9 @@ const StyledSkeleton = props => {
|
|
|
32339
32429
|
function getBaseColor(color) {
|
|
32340
32430
|
switch (color) {
|
|
32341
32431
|
case 'primary':
|
|
32342
|
-
return colors$
|
|
32432
|
+
return colors$5.gray300;
|
|
32343
32433
|
default:
|
|
32344
|
-
return colors$
|
|
32434
|
+
return colors$5.gray150;
|
|
32345
32435
|
}
|
|
32346
32436
|
}
|
|
32347
32437
|
function getSize(size) {
|