@unbxd-ui/unbxd-react-components 0.3.2-beta.1 → 0.3.2-beta.2
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/Accordian/accordianCore.scss +8 -0
- package/components/Accordian/accordianTheme.scss +6 -0
- package/components/Button/button.css +1 -0
- package/components/Button/buttonTheme.scss +94 -0
- package/components/Form/SearchableDropdown.js +2 -2
- package/components/Form/SelectedPills.js +13 -11
- package/components/Form/form.css +1 -0
- package/components/Form/formCore.scss +706 -0
- package/components/Form/formTheme.scss +33 -0
- package/components/Form/stories/Dropdown.stories.js +83 -1
- package/components/Form/summarySelection.scss +106 -0
- package/components/Form/variables.scss +116 -0
- package/components/InlineModal/inlineModal.css +1 -0
- package/components/InlineModal/inlineModalCore.scss +40 -0
- package/components/InlineModal/inlineModalTheme.scss +16 -0
- package/components/Link/linkCore.scss +66 -0
- package/components/Link/linkTheme.scss +79 -0
- package/components/List/list.css +1 -0
- package/components/List/listCore.scss +6 -0
- package/components/List/listTheme.scss +0 -0
- package/components/Modal/modal.css +1 -0
- package/components/Modal/modalCore.scss +58 -0
- package/components/Modal/modalTheme.scss +0 -0
- package/components/NoDataPlaceholder/noDataPlaceholderCore.scss +33 -0
- package/components/NotificationComponent/notificationComponent.css +1 -0
- package/components/NotificationComponent/notificationTheme.scss +38 -0
- package/components/PIDItemComponent/PIDItemComponent.js +12 -2
- package/components/PIDItemComponent/PIDItemComponentCore.scss +36 -0
- package/components/PageLoader/pageLoaderCore.scss +34 -0
- package/components/ProgressBar/ProgressBar.scss +0 -0
- package/components/ProgressBar/progressBar.css +0 -0
- package/components/ProgressBar/progressBarCore.scss +22 -0
- package/components/ProgressBar/progressBarTheme.scss +0 -0
- package/components/Table/tableCore.scss +547 -0
- package/components/Table/tableTheme.scss +34 -0
- package/components/TabsComponent/tabs.css +1 -0
- package/components/TabsComponent/tabsCore.scss +59 -0
- package/components/TabsComponent/tabsTheme.scss +0 -0
- package/components/ToastNotification/toastNotificationCore.scss +273 -0
- package/components/Tooltip/tooltipCore.scss +207 -0
- package/components/Tooltip/tooltipTheme.scss +20 -0
- package/components/UIDItemComponent/UIDItemComponent.js +24 -14
- package/components/UIDItemComponent/UIDItemComponentCore.scss +57 -0
- package/components/common/common.scss +14 -0
- package/components/core.css +2 -1
- package/components/theme.css +2 -1
- package/package.json +5 -6
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports["default"] = exports.WithUIDItemComponent = exports.WithPreselectedValue = exports.WithPIDItemComponent = exports.WithLabel = exports.WithCreateCTA = exports.Disabled = exports.Default = exports.CustomOptionRenderer = void 0;
|
|
6
|
+
exports["default"] = exports.WithoutCreateCTA = exports.WithUIDItemComponent = exports.WithPreselectedValue = exports.WithPIDItemComponent = exports.WithLabel = exports.WithCreateCTA = exports.Disabled = exports.Default = exports.CustomOptionRenderer = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _dataLoader = _interopRequireDefault(require("../../../core/dataLoader"));
|
|
9
9
|
var _PIDItemComponent = _interopRequireDefault(require("../../PIDItemComponent/PIDItemComponent"));
|
|
@@ -496,4 +496,86 @@ var WithPIDItemComponent = exports.WithPIDItemComponent = {
|
|
|
496
496
|
searchPlaceholder: "Search products..."
|
|
497
497
|
}));
|
|
498
498
|
}
|
|
499
|
+
};
|
|
500
|
+
var WithoutCreateCTA = exports.WithoutCreateCTA = {
|
|
501
|
+
args: {
|
|
502
|
+
showCreateCTA: false,
|
|
503
|
+
label: 'Categories',
|
|
504
|
+
idAttribute: 'id',
|
|
505
|
+
nameAttribute: 'label',
|
|
506
|
+
showSearch: true,
|
|
507
|
+
searchPlaceholder: 'Search categories...',
|
|
508
|
+
multiSelect: true,
|
|
509
|
+
noSelectionLabel: 'Select categories'
|
|
510
|
+
},
|
|
511
|
+
render: function render() {
|
|
512
|
+
var _React$useState1 = _react["default"].useState([{
|
|
513
|
+
id: '1',
|
|
514
|
+
label: 'Electronics'
|
|
515
|
+
}, {
|
|
516
|
+
id: '2',
|
|
517
|
+
label: 'Clothing'
|
|
518
|
+
}, {
|
|
519
|
+
id: '3',
|
|
520
|
+
label: 'Books'
|
|
521
|
+
}, {
|
|
522
|
+
id: '4',
|
|
523
|
+
label: 'Food'
|
|
524
|
+
}, {
|
|
525
|
+
id: '5',
|
|
526
|
+
label: 'Furniture'
|
|
527
|
+
}, {
|
|
528
|
+
id: '6',
|
|
529
|
+
label: 'Electronics'
|
|
530
|
+
}, {
|
|
531
|
+
id: '7',
|
|
532
|
+
label: 'Clothing'
|
|
533
|
+
}, {
|
|
534
|
+
id: '8',
|
|
535
|
+
label: 'Books'
|
|
536
|
+
}, {
|
|
537
|
+
id: '9',
|
|
538
|
+
label: 'Food'
|
|
539
|
+
}, {
|
|
540
|
+
id: '10',
|
|
541
|
+
label: 'Furniture'
|
|
542
|
+
}]),
|
|
543
|
+
_React$useState10 = _slicedToArray(_React$useState1, 2),
|
|
544
|
+
options = _React$useState10[0],
|
|
545
|
+
setOptions = _React$useState10[1];
|
|
546
|
+
var _React$useState11 = _react["default"].useState([]),
|
|
547
|
+
_React$useState12 = _slicedToArray(_React$useState11, 2),
|
|
548
|
+
selectedValues = _React$useState12[0],
|
|
549
|
+
setSelectedValues = _React$useState12[1];
|
|
550
|
+
var handleChange = function handleChange(value, itemData) {
|
|
551
|
+
var id = itemData.id;
|
|
552
|
+
if (value) {
|
|
553
|
+
setSelectedValues([].concat(_toConsumableArray(selectedValues), [itemData]));
|
|
554
|
+
} else {
|
|
555
|
+
setSelectedValues(selectedValues.filter(function (val) {
|
|
556
|
+
return val.id !== id;
|
|
557
|
+
}));
|
|
558
|
+
}
|
|
559
|
+
};
|
|
560
|
+
var handleDelete = function handleDelete(value) {
|
|
561
|
+
setSelectedValues(selectedValues.filter(function (val) {
|
|
562
|
+
return val.id !== value;
|
|
563
|
+
}));
|
|
564
|
+
};
|
|
565
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
566
|
+
style: {
|
|
567
|
+
width: '300px'
|
|
568
|
+
}
|
|
569
|
+
}, /*#__PURE__*/_react["default"].createElement(_Dropdown["default"], _extends({
|
|
570
|
+
multiSelect: true,
|
|
571
|
+
options: options,
|
|
572
|
+
value: selectedValues,
|
|
573
|
+
nameAttribute: "label",
|
|
574
|
+
onChange: handleChange,
|
|
575
|
+
showCreateCTA: true,
|
|
576
|
+
showAllTags: false,
|
|
577
|
+
isDeletable: true,
|
|
578
|
+
onDelete: handleDelete
|
|
579
|
+
}, WithCreateCTA.args)));
|
|
580
|
+
}
|
|
499
581
|
};
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
.summary-tags-wrapper {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-wrap: wrap;
|
|
4
|
+
align-items: center;
|
|
5
|
+
gap: 6px;
|
|
6
|
+
width: calc(100% - 40px);
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
.RCB-list {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-wrap: wrap;
|
|
12
|
+
align-items: center;
|
|
13
|
+
|
|
14
|
+
gap: 6px;
|
|
15
|
+
}
|
|
16
|
+
.light-close-icon{
|
|
17
|
+
font-size: 12px;
|
|
18
|
+
color: #6f6f8d;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
margin-left: 6px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.merch-dd-icon {
|
|
25
|
+
position: absolute;
|
|
26
|
+
right: 15px;
|
|
27
|
+
top: 16px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.merch-tag-box{
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
border: 1px solid #dae1e9;
|
|
35
|
+
border-radius: 4px;
|
|
36
|
+
background-color: #ffffff;
|
|
37
|
+
padding: 5px 10px 5px 10px;
|
|
38
|
+
font-size: 12px;
|
|
39
|
+
text-transform: capitalize;
|
|
40
|
+
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.new-summary-tag {
|
|
44
|
+
white-space: nowrap;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
text-overflow: ellipsis;
|
|
47
|
+
max-width: 120px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.summary-pill-tag {
|
|
51
|
+
margin-right: 6px;
|
|
52
|
+
white-space: nowrap;
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
text-overflow: ellipsis;
|
|
55
|
+
max-width: 120px;
|
|
56
|
+
border-radius: 4px;
|
|
57
|
+
border: 1px solid #dae1e9;
|
|
58
|
+
background-color: #ffffff;
|
|
59
|
+
padding: 5px 10px 5px 10px;
|
|
60
|
+
font-size: 12px;
|
|
61
|
+
text-transform: capitalize;
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
max-height: 28px;
|
|
66
|
+
min-width:36px;
|
|
67
|
+
margin-left: 6px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.custom-attribute {
|
|
71
|
+
position: absolute;
|
|
72
|
+
top: 0;
|
|
73
|
+
left: 0;
|
|
74
|
+
height: 100%;
|
|
75
|
+
display: flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.filters-sub-header {
|
|
80
|
+
color: #616e7a;
|
|
81
|
+
font-size: 14px;
|
|
82
|
+
font-weight: 600;
|
|
83
|
+
line-height: 19.1px;
|
|
84
|
+
padding-top: 20px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.view-more-link {
|
|
88
|
+
color: #3E71F2;
|
|
89
|
+
cursor: pointer;
|
|
90
|
+
font-size: 14px;
|
|
91
|
+
text-decoration: none;
|
|
92
|
+
padding-left: 10px;
|
|
93
|
+
white-space: nowrap;
|
|
94
|
+
display: inline-flex;
|
|
95
|
+
align-items: center;
|
|
96
|
+
flex-shrink: 0;
|
|
97
|
+
|
|
98
|
+
&:active {
|
|
99
|
+
color: #0056b3;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.RCB-inline-modal-btn {
|
|
104
|
+
display: flex;
|
|
105
|
+
justify-content: space-between;
|
|
106
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
@import "../../../node_modules/@unbxd-ui/unbxd-style-dictionary/build/scss/_variables.scss";
|
|
2
|
+
$base-font-color: $color-font-base;
|
|
3
|
+
$pageheader-font-color: $color-font-base;
|
|
4
|
+
$link-font-color: #3E71F2;
|
|
5
|
+
$success-font-color: #2cb291;
|
|
6
|
+
$error-font-color: #C13535;
|
|
7
|
+
$thin-line-color: $color-border-tabs;
|
|
8
|
+
$dashed-line-color: #A9B9C9;
|
|
9
|
+
|
|
10
|
+
/* form styles */
|
|
11
|
+
$form-label-color: #415867;
|
|
12
|
+
$form-placeholder-color: #ACACAC;
|
|
13
|
+
$form-dd-plaholder-color: #7F97A7;
|
|
14
|
+
$color-background-button-primary-active: #3E71F2;
|
|
15
|
+
$color-base-blue-cornflower-dark: #3865D9;
|
|
16
|
+
$color-border-button-primary-hover: #3E71F2;
|
|
17
|
+
$color-font-active: #3E71F2;
|
|
18
|
+
$color-font-link: #3E71F2;
|
|
19
|
+
$color-border-button-danger-hover: #ae3636;
|
|
20
|
+
|
|
21
|
+
/* button styles */
|
|
22
|
+
$primary-btn-bg: #3E71F2;
|
|
23
|
+
$primary-btn-hover-bg: $color-background-button-primary-hover;
|
|
24
|
+
$secondary-btn-bg: $color-background-button-secondary-base;
|
|
25
|
+
$secondary-btn-color: $color-font-secondary;
|
|
26
|
+
$danger-btn-bg: $color-base-red-dark;
|
|
27
|
+
$danger-btn-hover-bg: $color-border-button-danger-hover;
|
|
28
|
+
|
|
29
|
+
/* header styles */
|
|
30
|
+
$site-switcher-bg: #F9FBFF;
|
|
31
|
+
$site-switcher-color: $color-font-button-secondary;
|
|
32
|
+
$header-bg-color: #F7F9FB;
|
|
33
|
+
$header-font-color: #687F8F;
|
|
34
|
+
$header-selected-bg: #FFF;
|
|
35
|
+
$header-selected-color: $color-background-button-primary-active;
|
|
36
|
+
$preview-btn-bg: #FFFFFF;
|
|
37
|
+
$preview-btn-color: $color-font-link;
|
|
38
|
+
$user-logo-bg: #F2F5F8;
|
|
39
|
+
$user-logo-color: #3A4C59;
|
|
40
|
+
$header-dd-color: #5D7483;
|
|
41
|
+
|
|
42
|
+
/* horizontal navbar styles */
|
|
43
|
+
$horiz-nav-color: $color-font-secondary;
|
|
44
|
+
$level1-nav-selected-bg: $color-background-button-primary-base;
|
|
45
|
+
$level1-nav-selected-color: #FFFFFF;
|
|
46
|
+
|
|
47
|
+
/* vertical navbar styles */
|
|
48
|
+
$vertical-nav-body-bg: #FFF;
|
|
49
|
+
$vertical-nav-border: $color-border-tabs ;
|
|
50
|
+
$vertical-nav-selected-bg: #FFF;
|
|
51
|
+
$vertical-nav-color: $color-font-secondary;
|
|
52
|
+
$vertical-nav-selected-color: $color-background-button-primary-base;
|
|
53
|
+
|
|
54
|
+
$vertical-step-line-default : #dadada;
|
|
55
|
+
|
|
56
|
+
/* modal styles */
|
|
57
|
+
$modal-header-bg: #FFF;
|
|
58
|
+
$modal-body-bg: #F7F9FB;
|
|
59
|
+
|
|
60
|
+
/* App z-index levels
|
|
61
|
+
|
|
62
|
+
page level modal : 50
|
|
63
|
+
manage / profile dropdown : 40
|
|
64
|
+
sticky header section : 30
|
|
65
|
+
inline modals in body section : 20
|
|
66
|
+
*/
|
|
67
|
+
|
|
68
|
+
$pageModal-zIndex: 50;
|
|
69
|
+
$headerDD-zIndex: 40;
|
|
70
|
+
$stickyHeader-zIndex: 30;
|
|
71
|
+
$bodyInlineModal-zIndex: 20;
|
|
72
|
+
|
|
73
|
+
/* Login styles */
|
|
74
|
+
$login-heading-color: #415867;
|
|
75
|
+
$login-subheading-color: #289EAB;
|
|
76
|
+
$login-message-color: #5D7483;
|
|
77
|
+
$tnc-text-color: #8399AE;
|
|
78
|
+
$unbxd-tnc-color: #289EAB;
|
|
79
|
+
|
|
80
|
+
/* Feature Docs Component */
|
|
81
|
+
$doc-title-color: #314857;
|
|
82
|
+
$doc-subtitle-color: #415867;
|
|
83
|
+
$doc-body-color: #5D7483;
|
|
84
|
+
$doc-footer-bg: #F2F5F8;
|
|
85
|
+
|
|
86
|
+
/* Steps widget styles */
|
|
87
|
+
$step-header-color: #7F97A7;
|
|
88
|
+
$step-selected-color: #314857;
|
|
89
|
+
|
|
90
|
+
/* line icon text component styles */
|
|
91
|
+
$round-color: #7F97A7;
|
|
92
|
+
$line-color: $color-border-tabs;
|
|
93
|
+
$disc-color: #5D7483;
|
|
94
|
+
|
|
95
|
+
/* dataCenter style */
|
|
96
|
+
$light-sky-blue: #67B8DC;
|
|
97
|
+
$light-purpule: #6794DD;
|
|
98
|
+
$dark-purpulr: #6771DC;
|
|
99
|
+
|
|
100
|
+
/* integration landing page styles */
|
|
101
|
+
$integration-page-bg: #F7F9FB;
|
|
102
|
+
$integration-title-color: #314857;
|
|
103
|
+
$integration-card-bg: #FFF;
|
|
104
|
+
$integration-card-title-bg: #F2F5F8;
|
|
105
|
+
$integration-card-title-color: #1D2E44;
|
|
106
|
+
$integration-color: #5D7483;
|
|
107
|
+
$integration-card-link: $color-font-link;
|
|
108
|
+
|
|
109
|
+
/* yellow tag style */
|
|
110
|
+
$color-yellow-border-tag: rgba(220, 137, 0, .16);
|
|
111
|
+
$color-yellow-text-tag: #c58c2d;
|
|
112
|
+
$color-yellow-background-tag: #fffaf2;
|
|
113
|
+
|
|
114
|
+
/*misc colors */
|
|
115
|
+
$color-light-blue: #C1CFF4;
|
|
116
|
+
$color-border-grey: #DDE2EE;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.RCB-inline-modal{position:relative;display:inline-block}.RCB-inline-modal.hover-open .RCB-inline-modal-body{display:none}.RCB-inline-modal.hover-open:hover .RCB-inline-modal-body{display:block}.RCB-inline-modal-btn{display:inline-block;background:#FFF;border:1px solid #eee;padding:10px;border-radius:3px;cursor:pointer}.RCB-inline-modal-body{position:absolute;background:#FFF;border:1px solid #efeeee;box-shadow:0 9px 12px 0 rgba(0,0,0,0.15);z-index:1}.RCB-inline-modal-body.RCB-align-left{left:0}.RCB-inline-modal-body.RCB-align-right{right:0}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
.RCB {
|
|
2
|
+
&-inline-modal {
|
|
3
|
+
position: relative;
|
|
4
|
+
display: inline-block;
|
|
5
|
+
|
|
6
|
+
&.hover-open {
|
|
7
|
+
.RCB-inline-modal-body {
|
|
8
|
+
display: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&:hover {
|
|
12
|
+
.RCB-inline-modal-body {
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&-inline-modal-body {
|
|
20
|
+
background-color: #fff;
|
|
21
|
+
border: 1px solid #DDE2EE;
|
|
22
|
+
border-bottom-left-radius: 4px;
|
|
23
|
+
border-bottom-right-radius: 4px;
|
|
24
|
+
box-shadow: 0px 5px 15px 0px rgba(23, 23, 58, 0.1490196078);
|
|
25
|
+
max-height: 300px;
|
|
26
|
+
overflow-y: scroll;
|
|
27
|
+
overflow-x: hidden;
|
|
28
|
+
position: absolute;
|
|
29
|
+
width: 100%;
|
|
30
|
+
z-index: 1;
|
|
31
|
+
|
|
32
|
+
&.RCB-align-left {
|
|
33
|
+
left: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.RCB-align-right {
|
|
37
|
+
right: 0;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.RCB {
|
|
2
|
+
&-inline-modal-btn {
|
|
3
|
+
display: inline-block;
|
|
4
|
+
background: #FFF;
|
|
5
|
+
border: 1px solid #eee;
|
|
6
|
+
padding: 10px;
|
|
7
|
+
border-radius: 3px;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&-inline-modal-body {
|
|
12
|
+
background: #FFF;
|
|
13
|
+
border: 1px solid #efeeee;
|
|
14
|
+
box-shadow: 0 9px 12px 0 rgba(0,0,0,0.15);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Core styles for Link component - essential styles for functionality
|
|
3
|
+
**/
|
|
4
|
+
|
|
5
|
+
.RCB-link {
|
|
6
|
+
display: inline;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
font-family: inherit;
|
|
9
|
+
transition: color 0.2s ease, text-decoration 0.2s ease;
|
|
10
|
+
background: none;
|
|
11
|
+
border: none;
|
|
12
|
+
padding: 0;
|
|
13
|
+
margin: 0;
|
|
14
|
+
font-weight: 600;
|
|
15
|
+
|
|
16
|
+
&-disabled {
|
|
17
|
+
cursor: not-allowed;
|
|
18
|
+
opacity: 0.6;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Text decoration variations
|
|
22
|
+
&-underline {
|
|
23
|
+
text-decoration: underline;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&-none {
|
|
27
|
+
text-decoration: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&-overline {
|
|
31
|
+
text-decoration: overline;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&-line-through {
|
|
35
|
+
text-decoration: line-through;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&-underline-on-hover {
|
|
39
|
+
&:hover {
|
|
40
|
+
text-decoration: underline;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&-external-icon {
|
|
45
|
+
margin-left: 4px;
|
|
46
|
+
font-size: 0.8em;
|
|
47
|
+
line-height: 1;
|
|
48
|
+
display: inline;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Size variations
|
|
52
|
+
&-small {
|
|
53
|
+
font-size: 12px;
|
|
54
|
+
line-height: 1.4;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&-medium {
|
|
58
|
+
font-size: 14px;
|
|
59
|
+
line-height: 1.5;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&-large {
|
|
63
|
+
font-size: 16px;
|
|
64
|
+
line-height: 1.6;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Theme styles for Link component - visual appearance and branding
|
|
3
|
+
**/
|
|
4
|
+
|
|
5
|
+
.RCB-link {
|
|
6
|
+
// Primary appearance (default link styling)
|
|
7
|
+
&-primary {
|
|
8
|
+
color: #3e71f2;
|
|
9
|
+
|
|
10
|
+
&:hover {
|
|
11
|
+
color: #3865d9;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&:active {
|
|
15
|
+
color: #3e71f2;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:visited {
|
|
19
|
+
color: #6f42c1;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// Secondary appearance
|
|
24
|
+
&-secondary {
|
|
25
|
+
color: #6c757d;
|
|
26
|
+
text-decoration: none;
|
|
27
|
+
|
|
28
|
+
&:hover {
|
|
29
|
+
color: #495057;
|
|
30
|
+
text-decoration: underline;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&:active {
|
|
34
|
+
color: #343a40;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// Danger appearance
|
|
39
|
+
&-danger {
|
|
40
|
+
color: #dc3545;
|
|
41
|
+
text-decoration: none;
|
|
42
|
+
|
|
43
|
+
&:hover {
|
|
44
|
+
color: #c82333;
|
|
45
|
+
text-decoration: underline;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&:active {
|
|
49
|
+
color: #bd2130;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// Success appearance
|
|
54
|
+
&-success {
|
|
55
|
+
color: #28a745;
|
|
56
|
+
text-decoration: none;
|
|
57
|
+
|
|
58
|
+
&:hover {
|
|
59
|
+
color: #218838;
|
|
60
|
+
text-decoration: underline;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&:active {
|
|
64
|
+
color: #1e7e34;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// External link styling
|
|
69
|
+
&-external {
|
|
70
|
+
.RCB-link-external-icon {
|
|
71
|
+
color: currentColor;
|
|
72
|
+
opacity: 0.7;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&:hover .RCB-link-external-icon {
|
|
76
|
+
opacity: 1;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.RCB-list{margin:0;padding:0}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.RCB-modal{position:absolute;top:0;width:100%;height:100%;background:rgba(0,0,0,0.8);display:flex;justify-content:center;align-items:center}.RCB-modal-body{background:#FFF;padding:20px}.RCB-modal-header{display:flex;margin-bottom:10px}.RCB-modal-title{flex:1}.RCB-modal-close{cursor:pointer}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
.RCB {
|
|
2
|
+
&-modal {
|
|
3
|
+
position: fixed;
|
|
4
|
+
top: 0;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
background: rgba(0, 0, 0, 0.6);
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
align-items: center;
|
|
11
|
+
z-index: 2;
|
|
12
|
+
|
|
13
|
+
.modal-footer {
|
|
14
|
+
padding: 24px 24px;
|
|
15
|
+
margin: 20px -24px 0px;
|
|
16
|
+
border-radius: 0 0 8px 8px;
|
|
17
|
+
text-align: right;
|
|
18
|
+
|
|
19
|
+
.RCB-btn {
|
|
20
|
+
margin-right: 14px;
|
|
21
|
+
|
|
22
|
+
&:last-child {
|
|
23
|
+
margin-right: 0;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&-modal-body {
|
|
30
|
+
background: #FFF;
|
|
31
|
+
border-radius: 8px;
|
|
32
|
+
padding: 0px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&-modal-header {
|
|
36
|
+
display: flex;
|
|
37
|
+
margin-bottom: 0px;
|
|
38
|
+
padding: 24px 24px 10px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&-modal-title {
|
|
42
|
+
flex: 1;
|
|
43
|
+
font-size: 18px;
|
|
44
|
+
font-weight: 700;
|
|
45
|
+
line-height: normal;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&-modal-close {
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
&:before {
|
|
51
|
+
content: "X";
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&-modal-content {
|
|
56
|
+
padding: 24px 24px 0px;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.RCB-no-data-placeholder {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
padding: 40px 20px;
|
|
7
|
+
text-align: center;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.RCB-no-data-image {
|
|
11
|
+
margin-bottom: 16px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.RCB-no-data-image img {
|
|
15
|
+
max-width: 120px;
|
|
16
|
+
max-height: 120px;
|
|
17
|
+
object-fit: contain;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.RCB-no-data-title {
|
|
21
|
+
font-size: 18px;
|
|
22
|
+
font-weight: 600;
|
|
23
|
+
color: #333;
|
|
24
|
+
margin-bottom: 8px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.RCB-no-data-description {
|
|
28
|
+
font-size: 14px;
|
|
29
|
+
color: #666;
|
|
30
|
+
line-height: 1.5;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.RCB-notif{padding:10px}.RCB-notif-success{color:#129274;border:1px solid #2cb292;background-color:#b7d2cb}.RCB-notif-error{color:#d25b5b;border:solid 1px #e75190;background-color:#fff9fc}.RCB-notif-warning{color:#445870;border:solid 1px #f09c0a;background-color:#fffaf2}.RCB-notif-info{color:#509DB9;border:solid 1px #509DB9;background-color:#DFF6FF}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.RCB {
|
|
2
|
+
&-notif {
|
|
3
|
+
padding: 10px;
|
|
4
|
+
border-radius: 3px;
|
|
5
|
+
|
|
6
|
+
&-success {
|
|
7
|
+
color: #6DB886;
|
|
8
|
+
border: solid 1px #6DB886;
|
|
9
|
+
background-color: #DEF9E7;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&-error {
|
|
13
|
+
color: #CA4646;
|
|
14
|
+
border: solid 1px #CA4646;
|
|
15
|
+
background-color: #FFE4E4;
|
|
16
|
+
;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&-warning {
|
|
20
|
+
color: #D5A555;
|
|
21
|
+
border: solid 1px #D5A555;
|
|
22
|
+
background-color: #FFF8EC;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&-info {
|
|
26
|
+
color: #3E71F2;
|
|
27
|
+
border: solid 1px #3E71F2;
|
|
28
|
+
background-color: #E7EDFF;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.notif-wrapper{
|
|
34
|
+
flex: 1;
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: space-between;
|
|
38
|
+
}
|