qaema-ui 0.0.24 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/icons/RiyalIcon.d.ts +6 -0
- package/dist/assets/icons/RiyalIcon.js +26 -0
- package/dist/assets/icons/index.d.ts +1 -0
- package/dist/components/DropDownWithTable/DropDownWithTable.d.ts +3 -0
- package/dist/components/DropDownWithTable/DropDownWithTable.js +184 -0
- package/dist/components/DropDownWithTable/DropDownWithTable.types.d.ts +28 -0
- package/dist/components/DropDownWithTable/Table/Table.d.ts +3 -0
- package/dist/components/DropDownWithTable/Table/Table.js +169 -0
- package/dist/components/DropDownWithTable/Table/Table.styles.d.ts +58 -0
- package/dist/components/DropDownWithTable/Table/Table.styles.js +285 -0
- package/dist/components/DropDownWithTable/Table/Table.types.d.ts +73 -0
- package/dist/components/DropDownWithTable/Table/components/CellComponents.d.ts +116 -0
- package/dist/components/DropDownWithTable/Table/components/CellComponents.js +118 -0
- package/dist/components/DropDownWithTable/Table/components/TableHead.d.ts +14 -0
- package/dist/components/DropDownWithTable/Table/components/TableHead.js +58 -0
- package/dist/components/NextActionBox.d.ts +13 -0
- package/dist/components/TotalsSummary.d.ts +13 -0
- package/dist/components/TotalsSummary.js +84 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/index.js +141 -137
- package/dist/node_modules/react-bootstrap/esm/Spinner.js +26 -0
- package/dist/styles/Dropdown.styles.js +5 -5
- package/package.json +1 -1
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { j as t } from "../_virtual/jsx-runtime.js";
|
|
2
|
+
import o from "styled-components";
|
|
3
|
+
import { device as n } from "../constants/breakPoints.constant.js";
|
|
4
|
+
import p from "../assets/icons/RiyalIcon.js";
|
|
5
|
+
const g = o.div`
|
|
6
|
+
width: 100%;
|
|
7
|
+
`, c = o.div`
|
|
8
|
+
font-family: ${({ theme: e }) => e.fonts.english};
|
|
9
|
+
font-weight: ${({ theme: e }) => e.typography.weights.semiBold};
|
|
10
|
+
font-size: ${({ theme: e }) => e.typography.sizes.s7};
|
|
11
|
+
line-height: ${({ theme: e }) => e.typography.lineHeights.l};
|
|
12
|
+
letter-spacing: ${({ theme: e }) => e.typography.letterSpacings.normal};
|
|
13
|
+
color: ${({ theme: e }) => e.colors.grey.n800};
|
|
14
|
+
margin-bottom: ${({ theme: e }) => e.spacing.m};
|
|
15
|
+
`, h = o.div`
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: flex-start;
|
|
18
|
+
gap: ${({ theme: e }) => e.spacing.xl};
|
|
19
|
+
flex-wrap: wrap;
|
|
20
|
+
|
|
21
|
+
@media ${n.tablet} {
|
|
22
|
+
gap: ${({ theme: e }) => e.spacing.l};
|
|
23
|
+
}
|
|
24
|
+
`, y = o.div`
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
gap: ${({ theme: e }) => e.spacing.xs};
|
|
28
|
+
min-width: 10.5rem;
|
|
29
|
+
|
|
30
|
+
@media ${n.tablet} {
|
|
31
|
+
min-width: 9.5rem;
|
|
32
|
+
}
|
|
33
|
+
`, m = o.div`
|
|
34
|
+
font-family: ${({ theme: e }) => e.fonts.english};
|
|
35
|
+
font-weight: ${({ theme: e }) => e.typography.weights.semiBold};
|
|
36
|
+
font-size: ${({ theme: e }) => e.typography.sizes.s4};
|
|
37
|
+
line-height: ${({ theme: e }) => e.typography.lineHeights.s};
|
|
38
|
+
letter-spacing: ${({ theme: e }) => e.typography.letterSpacings.balancedNarrow};
|
|
39
|
+
color: ${({ theme: e }) => e.colors.grey.n650};
|
|
40
|
+
`, d = o.div`
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: baseline;
|
|
43
|
+
gap: ${({ theme: e }) => e.spacing.xxs};
|
|
44
|
+
direction: ltr;
|
|
45
|
+
`, $ = o.span`
|
|
46
|
+
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
47
|
+
font-weight: ${({ theme: e }) => e.typography.weights.bold};
|
|
48
|
+
font-size: ${({ theme: e }) => e.typography.sizes.s10};
|
|
49
|
+
line-height: ${({ theme: e }) => e.typography.lineHeights.xl};
|
|
50
|
+
letter-spacing: ${({ theme: e }) => e.typography.letterSpacings.balancedNarrow};
|
|
51
|
+
text-align: center;
|
|
52
|
+
color: ${({ theme: e, $color: s }) => s || e.colors.grey.n400};
|
|
53
|
+
`, f = o.span`
|
|
54
|
+
font-family: ${({ theme: e }) => e.fonts.english};
|
|
55
|
+
font-weight: ${({ theme: e }) => e.typography.weights.regular};
|
|
56
|
+
font-size: ${({ theme: e }) => e.typography.sizes.s2};
|
|
57
|
+
line-height: ${({ theme: e }) => e.typography.lineHeights.xs};
|
|
58
|
+
letter-spacing: ${({ theme: e }) => e.typography.letterSpacings.normal};
|
|
59
|
+
color: ${({ theme: e, $color: s }) => s || e.colors.grey.n400};
|
|
60
|
+
`;
|
|
61
|
+
function b({
|
|
62
|
+
title: e,
|
|
63
|
+
items: s,
|
|
64
|
+
showCurrencyIcon: r = !0,
|
|
65
|
+
currencyIconWidth: l = "18px"
|
|
66
|
+
}) {
|
|
67
|
+
return /* @__PURE__ */ t.jsxs(g, { children: [
|
|
68
|
+
/* @__PURE__ */ t.jsx(c, { children: e }),
|
|
69
|
+
/* @__PURE__ */ t.jsx(h, { children: s.map((i, a) => /* @__PURE__ */ t.jsxs(y, { children: [
|
|
70
|
+
/* @__PURE__ */ t.jsx(m, { children: i.title }),
|
|
71
|
+
/* @__PURE__ */ t.jsxs(d, { children: [
|
|
72
|
+
r && /* @__PURE__ */ t.jsx(p, { width: l, height: "20", color: i.color }),
|
|
73
|
+
/* @__PURE__ */ t.jsx($, { $color: i.color, children: i.amount }),
|
|
74
|
+
i.decimal ? /* @__PURE__ */ t.jsxs(f, { $color: i.color, children: [
|
|
75
|
+
".",
|
|
76
|
+
i.decimal
|
|
77
|
+
] }) : null
|
|
78
|
+
] })
|
|
79
|
+
] }, `${i.title}-${a}`)) })
|
|
80
|
+
] });
|
|
81
|
+
}
|
|
82
|
+
export {
|
|
83
|
+
b as default
|
|
84
|
+
};
|
|
@@ -141,3 +141,9 @@ export { default as PaymentTooltip } from './PaymentTooltip';
|
|
|
141
141
|
export type { PaymentTooltipProps } from './PaymentTooltip';
|
|
142
142
|
export { default as ModalWithRequestCard } from './ModalWithRequestCard';
|
|
143
143
|
export type { ModalWithRequestCardProps } from './ModalWithRequestCard';
|
|
144
|
+
export { default as DropDownWithTable } from './DropDownWithTable/DropDownWithTable';
|
|
145
|
+
export type { DropDownWithTableProps } from './DropDownWithTable/DropDownWithTable.types';
|
|
146
|
+
export { default as TotalsSummary } from './TotalsSummary';
|
|
147
|
+
export type { TotalsSummaryProps, TotalsSummaryItem } from './TotalsSummary';
|
|
148
|
+
export { default } from './NextActionBox';
|
|
149
|
+
export type { NextActionBoxProps, NextActionItem } from './NextActionBox';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as
|
|
1
|
+
import { default as r } from "./components/AccordionCard.js";
|
|
2
2
|
import { default as t } from "./components/ActionInput.js";
|
|
3
3
|
import { default as d } from "./components/AddOnCard.js";
|
|
4
4
|
import { default as u } from "./components/AddOnCardInput.js";
|
|
@@ -8,82 +8,84 @@ import { default as n } from "./components/Badge.js";
|
|
|
8
8
|
import { default as c } from "./components/BulletItem.js";
|
|
9
9
|
import { default as I } from "./components/Button.js";
|
|
10
10
|
import { Card as k } from "./components/Card.js";
|
|
11
|
-
import { default as
|
|
11
|
+
import { default as T } from "./components/CardsList.js";
|
|
12
12
|
import { default as b } from "./components/Chart.js";
|
|
13
|
-
import { default as
|
|
13
|
+
import { default as D } from "./components/Checkbox.js";
|
|
14
14
|
import { default as y } from "./components/CollapsableCard.js";
|
|
15
|
-
import { default as
|
|
15
|
+
import { default as B } from "./components/ConfigList.js";
|
|
16
16
|
import { default as R } from "./components/ConfirmationPopup.js";
|
|
17
17
|
import { default as w } from "./components/DatePicker.js";
|
|
18
18
|
import { default as M } from "./components/Divider.js";
|
|
19
19
|
import { default as O } from "./components/Draggable.js";
|
|
20
20
|
import { default as Q } from "./components/DropDown.js";
|
|
21
|
-
import { default as
|
|
22
|
-
import { default as Z } from "./components/
|
|
23
|
-
import { default as E
|
|
24
|
-
import { default as U } from "./components/
|
|
25
|
-
import { default as Y } from "./components/
|
|
26
|
-
import { default as $ } from "./components/
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as ae } from "./components/
|
|
29
|
-
import { default as fe } from "./components/
|
|
30
|
-
import { default as pe } from "./components/
|
|
31
|
-
import { default as le } from "./components/
|
|
32
|
-
import { default as se } from "./components/
|
|
33
|
-
import { default as ie } from "./components/
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import { default as Pe } from "./components/
|
|
37
|
-
import { default as Se } from "./components/
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as Ae } from "./components/
|
|
21
|
+
import { default as z } from "./components/DropDownWithTable/DropDownWithTable.js";
|
|
22
|
+
import { default as Z } from "./components/FileDownloadCard.js";
|
|
23
|
+
import { default as E } from "./components/Header.js";
|
|
24
|
+
import { default as K, HelpCardGroup as U } from "./components/HelpCard.js";
|
|
25
|
+
import { default as Y } from "./components/Hint.js";
|
|
26
|
+
import { default as $ } from "./components/HorizontalChart.js";
|
|
27
|
+
import { default as oe } from "./components/Image.js";
|
|
28
|
+
import { default as ae } from "./components/InfoCard.js";
|
|
29
|
+
import { default as fe } from "./components/InfoItem.js";
|
|
30
|
+
import { default as pe } from "./components/InputField.js";
|
|
31
|
+
import { default as le } from "./components/Layout.js";
|
|
32
|
+
import { default as se } from "./components/Legend.js";
|
|
33
|
+
import { default as ie } from "./components/Link.js";
|
|
34
|
+
import { default as Ce } from "./components/ListToolbar.js";
|
|
35
|
+
import { MethodCard as ge } from "./components/MethodCard.js";
|
|
36
|
+
import { default as Pe } from "./components/Modal.js";
|
|
37
|
+
import { default as Se } from "./components/ModalWithRequestCard.js";
|
|
38
|
+
import { default as he } from "./components/NavItem.js";
|
|
39
|
+
import { default as Ae } from "./components/NavigationPanel.js";
|
|
40
|
+
import { default as Le } from "./components/NumberInput.js";
|
|
40
41
|
import { default as He } from "./components/OTP.js";
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
42
|
+
import { default as Fe } from "./components/PackageCard.js";
|
|
43
|
+
import { default as ve } from "./components/PageHeader.js";
|
|
44
|
+
import { default as Ge } from "./components/Pagination.js";
|
|
45
|
+
import { default as Ne } from "./components/PasswordInputField.js";
|
|
46
|
+
import { default as qe } from "./components/PaymentLinkDetails.js";
|
|
47
|
+
import { default as We } from "./components/PaymentTooltip.js";
|
|
48
|
+
import { default as Ve } from "./components/PhoneInputField.js";
|
|
49
|
+
import { default as je } from "./components/PriceAmount.js";
|
|
50
|
+
import { default as Je } from "./components/ProgressBar.js";
|
|
51
|
+
import { default as Ue } from "./components/QuickActionItem.js";
|
|
52
|
+
import { default as Ye } from "./components/QuickStartCard.js";
|
|
53
|
+
import { default as $e } from "./components/Radio.js";
|
|
54
|
+
import { default as oo } from "./components/RadioInput.js";
|
|
55
|
+
import { default as ao } from "./components/ReconciliationGroups.js";
|
|
56
|
+
import { default as fo } from "./components/RequestCard.js";
|
|
57
|
+
import { default as uo } from "./components/RequestSummaryCard.js";
|
|
58
|
+
import { default as mo } from "./components/SearchBar.js";
|
|
59
|
+
import { default as xo } from "./components/SectionHeader.js";
|
|
60
|
+
import { default as no } from "./components/SideMenuLinks.js";
|
|
61
|
+
import { default as co } from "./components/Spinner.js";
|
|
62
|
+
import { default as Io } from "./components/StatCard.js";
|
|
63
|
+
import { default as ko } from "./components/StatIndicator.js";
|
|
64
|
+
import { default as To } from "./components/StatusFeedback.js";
|
|
65
|
+
import { default as bo } from "./components/Stepper.js";
|
|
66
|
+
import { default as Do } from "./components/StepperProcess.js";
|
|
67
|
+
import { default as yo } from "./components/SummaryCard.js";
|
|
68
|
+
import { default as Bo } from "./components/Table/Table.js";
|
|
69
|
+
import { default as Ro } from "./components/Tabs.js";
|
|
70
|
+
import { default as wo } from "./components/TextArea.js";
|
|
71
|
+
import { default as Mo } from "./components/ThemeProvider.js";
|
|
72
|
+
import { default as Oo } from "./components/ToastNotification.js";
|
|
73
|
+
import { default as Qo } from "./components/Toggle.js";
|
|
74
|
+
import { default as zo } from "./components/ToggleForm.js";
|
|
75
|
+
import { default as Zo } from "./components/ToggleHeader.js";
|
|
76
|
+
import { default as Eo } from "./components/TotalsSummary.js";
|
|
77
|
+
import { default as Ko } from "./components/Typography.js";
|
|
78
|
+
import { default as Xo } from "./components/ViewItem.js";
|
|
79
|
+
import { default as _o } from "./hooks/useBreakpointCheck.js";
|
|
80
|
+
import { default as er } from "./hooks/useFormikInput.js";
|
|
81
|
+
import { default as rr } from "./hooks/useZIndex.js";
|
|
82
|
+
import { OptionSelectGroup as tr } from "./components/OptionCardGroup.js";
|
|
83
|
+
import { breakPoints as dr, device as pr } from "./constants/breakPoints.constant.js";
|
|
84
|
+
import { darkColors as lr, lightColors as mr } from "./theme/colors.js";
|
|
85
|
+
import { defaultTheme as xr } from "./theme/theme.js";
|
|
86
|
+
import { setQaemaCoreLanguage as nr } from "./i18n/i18n.js";
|
|
85
87
|
export {
|
|
86
|
-
|
|
88
|
+
r as AccordionCard,
|
|
87
89
|
t as ActionInput,
|
|
88
90
|
d as AddOnCard,
|
|
89
91
|
u as AddOnCardInput,
|
|
@@ -93,81 +95,83 @@ export {
|
|
|
93
95
|
c as BulletItem,
|
|
94
96
|
I as Button,
|
|
95
97
|
k as Card,
|
|
96
|
-
|
|
98
|
+
T as CardsList,
|
|
97
99
|
b as Chart,
|
|
98
|
-
|
|
100
|
+
D as Checkbox,
|
|
99
101
|
y as CollapsableCard,
|
|
100
|
-
|
|
102
|
+
B as ConfigList,
|
|
101
103
|
R as ConfirmationPopup,
|
|
102
104
|
w as DatePicker,
|
|
103
105
|
M as Divider,
|
|
104
106
|
O as Draggable,
|
|
105
107
|
Q as DropDown,
|
|
106
|
-
|
|
107
|
-
Z as
|
|
108
|
-
E as
|
|
109
|
-
|
|
110
|
-
U as
|
|
111
|
-
Y as
|
|
112
|
-
$ as
|
|
113
|
-
|
|
114
|
-
ae as
|
|
115
|
-
fe as
|
|
116
|
-
pe as
|
|
117
|
-
le as
|
|
118
|
-
se as
|
|
119
|
-
ie as
|
|
120
|
-
Ce as
|
|
121
|
-
ge as
|
|
122
|
-
Pe as
|
|
123
|
-
Se as
|
|
124
|
-
|
|
125
|
-
Ae as
|
|
126
|
-
|
|
108
|
+
z as DropDownWithTable,
|
|
109
|
+
Z as FileDownloadCard,
|
|
110
|
+
E as Header,
|
|
111
|
+
K as HelpCard,
|
|
112
|
+
U as HelpCardGroup,
|
|
113
|
+
Y as Hint,
|
|
114
|
+
$ as HorizontalChart,
|
|
115
|
+
oe as Image,
|
|
116
|
+
ae as InfoCard,
|
|
117
|
+
fe as InfoItem,
|
|
118
|
+
pe as InputField,
|
|
119
|
+
le as Layout,
|
|
120
|
+
se as Legend,
|
|
121
|
+
ie as Link,
|
|
122
|
+
Ce as ListToolbar,
|
|
123
|
+
ge as MethodCard,
|
|
124
|
+
Pe as Modal,
|
|
125
|
+
Se as ModalWithRequestCard,
|
|
126
|
+
he as NavItem,
|
|
127
|
+
Ae as NavigationPanel,
|
|
128
|
+
Le as NumberInput,
|
|
129
|
+
tr as OptionSelectGroup,
|
|
127
130
|
He as OtpInput,
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
131
|
+
Fe as PackageCard,
|
|
132
|
+
ve as PageHeader,
|
|
133
|
+
Ge as Pagination,
|
|
134
|
+
Ne as PasswordInputField,
|
|
135
|
+
qe as PaymentLinkDetails,
|
|
136
|
+
We as PaymentTooltip,
|
|
137
|
+
Ve as PhoneInputField,
|
|
138
|
+
je as PriceAmount,
|
|
139
|
+
Je as ProgressBar,
|
|
140
|
+
Ue as QuickActionItem,
|
|
141
|
+
Ye as QuickStartCard,
|
|
142
|
+
$e as RadioButton,
|
|
143
|
+
oo as RadioInput,
|
|
144
|
+
ao as ReconciliationGroups,
|
|
145
|
+
fo as RequestCard,
|
|
146
|
+
uo as RequestSummaryCard,
|
|
147
|
+
mo as SearchBar,
|
|
148
|
+
xo as SectionHeader,
|
|
149
|
+
no as SideMenuLinks,
|
|
150
|
+
co as Spinner,
|
|
151
|
+
Io as StatCardGroup,
|
|
152
|
+
ko as StatIndicator,
|
|
153
|
+
To as StatusFeedback,
|
|
154
|
+
bo as Stepper,
|
|
155
|
+
Do as StepperProcess,
|
|
156
|
+
yo as SummaryCard,
|
|
157
|
+
Bo as Table,
|
|
158
|
+
Ro as Tabs,
|
|
159
|
+
wo as TextArea,
|
|
160
|
+
Mo as ThemeProvider,
|
|
161
|
+
Oo as ToastNotification,
|
|
162
|
+
Qo as Toggle,
|
|
163
|
+
zo as ToggleForm,
|
|
164
|
+
Zo as ToggleHeader,
|
|
165
|
+
Eo as TotalsSummary,
|
|
166
|
+
Ko as Typography,
|
|
167
|
+
Xo as ViewItem,
|
|
168
|
+
dr as breakPoints,
|
|
169
|
+
lr as darkColors,
|
|
170
|
+
xr as defaultTheme,
|
|
171
|
+
pr as device,
|
|
172
|
+
mr as lightColors,
|
|
173
|
+
nr as setQaemaCoreLanguage,
|
|
174
|
+
_o as useBreakpointCheck,
|
|
175
|
+
er as useFormikInput,
|
|
176
|
+
rr as useZIndex
|
|
173
177
|
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import i from "../../../_virtual/index.js";
|
|
2
|
+
import * as f from "react";
|
|
3
|
+
import { useBootstrapPrefix as c } from "./ThemeProvider.js";
|
|
4
|
+
import { j as d } from "../../../_virtual/jsx-runtime.js";
|
|
5
|
+
const x = /* @__PURE__ */ f.forwardRef(({
|
|
6
|
+
bsPrefix: r,
|
|
7
|
+
variant: e,
|
|
8
|
+
animation: t = "border",
|
|
9
|
+
size: o,
|
|
10
|
+
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
11
|
+
as: a = "div",
|
|
12
|
+
className: m,
|
|
13
|
+
...p
|
|
14
|
+
}, n) => {
|
|
15
|
+
r = c(r, "spinner");
|
|
16
|
+
const s = `${r}-${t}`;
|
|
17
|
+
return /* @__PURE__ */ d.jsx(a, {
|
|
18
|
+
ref: n,
|
|
19
|
+
...p,
|
|
20
|
+
className: i(m, s, o && `${s}-${o}`, e && `text-${e}`)
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
x.displayName = "Spinner";
|
|
24
|
+
export {
|
|
25
|
+
x as default
|
|
26
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r, { css as n } from "styled-components";
|
|
2
2
|
import { Scrollbar as i } from "./Scrollbar.styles.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import s from "../node_modules/react-bootstrap/esm/Dropdown.js";
|
|
4
|
+
import t from "../node_modules/react-bootstrap/esm/DropdownToggle.js";
|
|
5
5
|
import a from "../node_modules/react-bootstrap/esm/DropdownMenu.js";
|
|
6
6
|
import l from "../node_modules/react-bootstrap/esm/DropdownItem.js";
|
|
7
7
|
const x = r.div`
|
|
@@ -47,11 +47,11 @@ const x = r.div`
|
|
|
47
47
|
color: ${({ theme: o }) => o.colors.state.error.n450};
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
`, w = r(
|
|
50
|
+
`, w = r(s)`
|
|
51
51
|
width: 100%;
|
|
52
52
|
max-height: 3.5rem;
|
|
53
53
|
min-width: 5rem !important;
|
|
54
|
-
`, f = r(
|
|
54
|
+
`, f = r(t)`
|
|
55
55
|
width: 100%;
|
|
56
56
|
box-shadow: ${({ $valid: o }) => o ? "0px 1px 2px 0px rgba(0, 0, 0, 0.06), 0px 1px 3px 0px rgba(0, 0, 0, 0.1);" : "none"};
|
|
57
57
|
padding: 0px;
|
|
@@ -125,7 +125,7 @@ const x = r.div`
|
|
|
125
125
|
`, v = r(a)`
|
|
126
126
|
min-width: 19rem !important;
|
|
127
127
|
max-height: 29rem;
|
|
128
|
-
position: absolute
|
|
128
|
+
position: absolute;
|
|
129
129
|
inset: 0px auto auto 0px;
|
|
130
130
|
width: ${({ $menuWidth: o }) => `${o}rem`};
|
|
131
131
|
display: flex;
|