qaema-ui 0.0.37 → 0.0.39
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/_virtual/index.js +5 -5
- package/dist/_virtual/index2.js +4 -4
- package/dist/_virtual/index3.js +5 -5
- package/dist/_virtual/index4.js +4 -4
- package/dist/components/PriceCard.d.ts +16 -2
- package/dist/components/PriceCard.js +112 -86
- package/dist/node_modules/react-bootstrap/esm/Alert.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/AlertHeading.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/AlertLink.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Button.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/CloseButton.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/Col.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Collapse.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Dropdown.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownDivider.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownHeader.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownItem.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownItemText.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownMenu.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownToggle.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Fade.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Feedback.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/FloatingLabel.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Form.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/FormCheck.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormCheckInput.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormCheckLabel.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormControl.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormFloating.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormLabel.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormRange.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormSelect.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormText.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Image.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/Nav.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavItem.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavLink.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Navbar.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavbarBrand.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavbarText.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavbarToggle.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Offcanvas.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasBody.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasHeader.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasTitle.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasToggling.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Toast.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/ToastBody.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/ToastHeader.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/divWithClassName.js +1 -1
- package/dist/node_modules/react-helmet-async/lib/index.esm.js +2 -2
- package/dist/node_modules/react-smooth/es6/Animate.js +1 -1
- package/dist/node_modules/react-transition-group/esm/Transition.js +1 -1
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
- package/package.json +1 -1
package/dist/_virtual/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as
|
|
2
|
-
import { __require as
|
|
3
|
-
var a =
|
|
4
|
-
const
|
|
1
|
+
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
2
|
+
import { __require as t } from "../node_modules/react-helmet-async/node_modules/react-fast-compare/index.js";
|
|
3
|
+
var a = t();
|
|
4
|
+
const m = /* @__PURE__ */ r(a);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
package/dist/_virtual/index2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
2
|
-
import { __require as o } from "../node_modules/
|
|
3
|
-
var
|
|
4
|
-
const
|
|
2
|
+
import { __require as o } from "../node_modules/shallowequal/index.js";
|
|
3
|
+
var a = o();
|
|
4
|
+
const t = /* @__PURE__ */ r(a);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
t as default
|
|
7
7
|
};
|
package/dist/_virtual/index3.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as
|
|
2
|
-
import { __require as
|
|
3
|
-
var a =
|
|
4
|
-
const
|
|
1
|
+
import { getDefaultExportFromCjs as s } from "./_commonjsHelpers.js";
|
|
2
|
+
import { __require as r } from "../node_modules/classnames/index.js";
|
|
3
|
+
var a = r();
|
|
4
|
+
const t = /* @__PURE__ */ s(a);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
t as default
|
|
7
7
|
};
|
package/dist/_virtual/index4.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
2
|
-
import { __require as o } from "../node_modules/
|
|
3
|
-
var
|
|
4
|
-
const
|
|
2
|
+
import { __require as o } from "../node_modules/prop-types/index.js";
|
|
3
|
+
var p = /* @__PURE__ */ o();
|
|
4
|
+
const s = /* @__PURE__ */ r(p);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
|
@@ -10,6 +10,10 @@ export type PriceCardFeature = {
|
|
|
10
10
|
label: string;
|
|
11
11
|
variant?: FeatureVariant;
|
|
12
12
|
};
|
|
13
|
+
export type SecondaryPrice = {
|
|
14
|
+
amount: string;
|
|
15
|
+
label: string;
|
|
16
|
+
};
|
|
13
17
|
export type PriceCardPrice = {
|
|
14
18
|
amount: string;
|
|
15
19
|
period?: string;
|
|
@@ -19,14 +23,24 @@ export type PriceCardPrice = {
|
|
|
19
23
|
export type PriceCardProps = {
|
|
20
24
|
title: string;
|
|
21
25
|
price: PriceCardPrice;
|
|
26
|
+
secondaryPrice?: SecondaryPrice;
|
|
22
27
|
description: string;
|
|
23
28
|
features: PriceCardFeature[];
|
|
24
29
|
variant?: PriceCardVariant;
|
|
25
30
|
badges?: PriceCardBadge[];
|
|
26
31
|
showPrimaryAction?: boolean;
|
|
27
|
-
|
|
28
|
-
|
|
32
|
+
primaryAction?: {
|
|
33
|
+
label: string;
|
|
34
|
+
variant?: 'primary' | 'secondary' | 'light-primary' | 'light-secondary' | 'outline-primary' | 'outline-secondary';
|
|
35
|
+
onPrimaryActionClick?: () => void;
|
|
36
|
+
};
|
|
29
37
|
showSecondaryAction?: boolean;
|
|
38
|
+
secondaryAction?: {
|
|
39
|
+
label: string;
|
|
40
|
+
variant?: 'primary' | 'secondary' | 'light-primary' | 'light-secondary' | 'outline-primary' | 'outline-secondary';
|
|
41
|
+
onSecondaryActionClick?: () => void;
|
|
42
|
+
};
|
|
43
|
+
showFeatures?: boolean;
|
|
30
44
|
featuresTitle?: string;
|
|
31
45
|
featuresDescription?: string;
|
|
32
46
|
};
|
|
@@ -1,51 +1,52 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import
|
|
3
|
-
import { FiCheck as
|
|
4
|
-
import i, { css as
|
|
5
|
-
import
|
|
6
|
-
import k from "../
|
|
7
|
-
import C from "
|
|
1
|
+
import { j as r } from "../_virtual/jsx-runtime.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { FiCheck as j, FiX as v } from "../node_modules/react-icons/fi/index.js";
|
|
4
|
+
import i, { css as a } from "styled-components";
|
|
5
|
+
import z from "../assets/icons/RiyalIcon.js";
|
|
6
|
+
import { CurrencyContainer as k } from "../styles/Currency.styles.js";
|
|
7
|
+
import C from "../assets/svg/Riyal.svg.js";
|
|
8
|
+
import R from "./Badge.js";
|
|
8
9
|
import d from "./Button.js";
|
|
9
|
-
import
|
|
10
|
-
const
|
|
11
|
-
transparent:
|
|
10
|
+
import n from "./Typography.js";
|
|
11
|
+
const F = {
|
|
12
|
+
transparent: a`
|
|
12
13
|
background: rgba(255, 255, 255, 0.72);
|
|
13
14
|
border: 1px solid ${({ theme: e }) => e.colors.grey.n200};
|
|
14
15
|
box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
|
|
15
16
|
`,
|
|
16
|
-
purple:
|
|
17
|
+
purple: a`
|
|
17
18
|
background: linear-gradient(360deg, #ffffff 63.12%, #f1eeff 100%);
|
|
18
19
|
border: 1px solid #e3deff;
|
|
19
20
|
box-shadow:
|
|
20
21
|
0px 4px 6px -2px #10182808,
|
|
21
22
|
0px 12px 16px -4px #10182814;
|
|
22
23
|
`
|
|
23
|
-
},
|
|
24
|
+
}, S = i.div`
|
|
24
25
|
width: 100%;
|
|
25
26
|
max-width: 28.458rem;
|
|
26
27
|
border-radius: ${({ theme: e }) => e.borderRadius.xl};
|
|
27
28
|
overflow: hidden;
|
|
28
29
|
display: flex;
|
|
29
30
|
flex-direction: column;
|
|
30
|
-
${({ $variant: e }) =>
|
|
31
|
-
`,
|
|
31
|
+
${({ $variant: e }) => F[e]};
|
|
32
|
+
`, B = i.div`
|
|
32
33
|
padding: 2rem;
|
|
33
34
|
display: flex;
|
|
34
35
|
flex-direction: column;
|
|
35
36
|
gap: ${({ theme: e }) => e.spacing.sm};
|
|
36
37
|
border-bottom: 1px solid ${({ theme: e }) => e.colors.grey.n200};
|
|
37
|
-
`,
|
|
38
|
+
`, T = i.div`
|
|
38
39
|
display: flex;
|
|
39
40
|
align-items: center;
|
|
40
41
|
justify-content: space-between;
|
|
41
42
|
gap: ${({ theme: e }) => e.spacing.m};
|
|
42
43
|
flex-wrap: wrap;
|
|
43
|
-
`, H = i(
|
|
44
|
+
`, H = i(n)`
|
|
44
45
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
45
46
|
font-weight: 600;
|
|
46
47
|
font-size: ${({ theme: e }) => {
|
|
47
|
-
var
|
|
48
|
-
return (
|
|
48
|
+
var o;
|
|
49
|
+
return (o = e.typography.sizes) == null ? void 0 : o.s5;
|
|
49
50
|
}};
|
|
50
51
|
line-height: 1.75rem;
|
|
51
52
|
color: ${({ theme: e }) => e.colors.grey.n400};
|
|
@@ -58,70 +59,91 @@ const B = {
|
|
|
58
59
|
align-items: center;
|
|
59
60
|
gap: ${({ theme: e }) => e.spacing.xs};
|
|
60
61
|
flex-wrap: wrap;
|
|
61
|
-
`,
|
|
62
|
+
`, I = i.div`
|
|
62
63
|
display: flex;
|
|
63
64
|
align-items: baseline;
|
|
64
65
|
gap: ${({ theme: e }) => e.spacing.xxs};
|
|
65
|
-
`,
|
|
66
|
+
`, D = i(z).attrs(({ theme: e }) => ({
|
|
67
|
+
color: e.colors.grey.n350,
|
|
68
|
+
width: "18",
|
|
69
|
+
height: "20"
|
|
70
|
+
}))``, L = i.span`
|
|
66
71
|
font-family: ${({ theme: e }) => e.fonts.english};
|
|
67
72
|
font-weight: ${({ theme: e }) => e.typography.weights.semiBold};
|
|
68
73
|
font-size: 2.706rem;
|
|
69
74
|
line-height: 3.158rem;
|
|
70
|
-
color: ${({ $color: e, theme:
|
|
75
|
+
color: ${({ $color: e, theme: o }) => e ?? o.colors.grey.n800};
|
|
71
76
|
`, V = i.span`
|
|
72
77
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
73
78
|
font-weight: ${({ theme: e }) => e.typography.weights.regular};
|
|
74
79
|
font-size: ${({ theme: e }) => {
|
|
75
|
-
var
|
|
76
|
-
return (
|
|
80
|
+
var o;
|
|
81
|
+
return (o = e.typography.sizes) == null ? void 0 : o.s5;
|
|
77
82
|
}};
|
|
78
83
|
line-height: 1.804rem;
|
|
79
|
-
color: ${({ $color: e, theme:
|
|
80
|
-
`, W = i(
|
|
84
|
+
color: ${({ $color: e, theme: o }) => e ?? o.colors.grey.n800};
|
|
85
|
+
`, W = i(n)`
|
|
81
86
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
82
87
|
font-weight: ${({ theme: e }) => e.typography.weights.regular};
|
|
83
88
|
font-size: ${({ theme: e }) => {
|
|
84
|
-
var
|
|
85
|
-
return (
|
|
89
|
+
var o;
|
|
90
|
+
return (o = e.typography.sizes) == null ? void 0 : o.s4;
|
|
86
91
|
}};
|
|
87
92
|
line-height: ${({ theme: e }) => e.typography.lineHeights.m};
|
|
88
93
|
color: ${({ theme: e }) => e.colors.grey.n400};
|
|
89
|
-
`,
|
|
94
|
+
`, M = i.div`
|
|
90
95
|
padding: 2rem 2rem 2.5rem 2rem;
|
|
91
96
|
display: flex;
|
|
92
97
|
flex-direction: column;
|
|
93
98
|
gap: ${({ theme: e }) => e.spacing.m};
|
|
94
|
-
`,
|
|
99
|
+
`, N = i(n)`
|
|
95
100
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
96
101
|
font-weight: ${({ theme: e }) => e.typography.weights.semiBold};
|
|
97
102
|
font-size: ${({ theme: e }) => {
|
|
98
|
-
var
|
|
99
|
-
return (
|
|
103
|
+
var o;
|
|
104
|
+
return (o = e.typography.sizes) == null ? void 0 : o.s4;
|
|
100
105
|
}};
|
|
101
106
|
line-height: 0.7rem;
|
|
102
107
|
color: ${({ theme: e }) => e.colors.grey.n650};
|
|
103
108
|
text-transform: uppercase;
|
|
104
|
-
`,
|
|
109
|
+
`, U = i(n)`
|
|
105
110
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
106
111
|
font-weight: 500;
|
|
107
112
|
font-size: ${({ theme: e }) => {
|
|
108
|
-
var
|
|
109
|
-
return (
|
|
113
|
+
var o;
|
|
114
|
+
return (o = e.typography.sizes) == null ? void 0 : o.s4;
|
|
110
115
|
}};
|
|
111
116
|
line-height: ${({ theme: e }) => e.typography.lineHeights.m};
|
|
112
117
|
color: ${({ theme: e }) => e.colors.grey.n400};
|
|
113
|
-
`,
|
|
118
|
+
`, X = i.div`
|
|
119
|
+
display: flex;
|
|
120
|
+
align-items: center;
|
|
121
|
+
gap: ${({ theme: e }) => e.spacing.xs};
|
|
122
|
+
`, q = i.span`
|
|
123
|
+
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
124
|
+
font-weight: ${({ theme: e }) => e.typography.weights.bold};
|
|
125
|
+
font-size: ${({ theme: e }) => e.typography.sizes.s9};
|
|
126
|
+
line-height: ${({ theme: e }) => e.typography.lineHeights.xl};
|
|
127
|
+
letter-spacing: ${({ theme: e }) => e.typography.letterSpacings.balancedNarrow};
|
|
128
|
+
color: ${({ theme: e }) => e.colors.grey.n350};
|
|
129
|
+
`, G = i.span`
|
|
130
|
+
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
131
|
+
font-weight: ${({ theme: e }) => e.typography.weights.regular};
|
|
132
|
+
font-size: ${({ theme: e }) => e.typography.sizes.s4};
|
|
133
|
+
line-height: ${({ theme: e }) => e.typography.lineHeights.m};
|
|
134
|
+
color: ${({ theme: e }) => e.colors.grey.n350};
|
|
135
|
+
`, J = i.ul`
|
|
114
136
|
list-style: none;
|
|
115
137
|
margin: 0;
|
|
116
138
|
padding: 0;
|
|
117
139
|
display: flex;
|
|
118
140
|
flex-direction: column;
|
|
119
141
|
gap: ${({ theme: e }) => e.spacing.s};
|
|
120
|
-
`,
|
|
142
|
+
`, K = i.li`
|
|
121
143
|
display: flex;
|
|
122
144
|
align-items: center;
|
|
123
145
|
gap: ${({ theme: e }) => e.spacing.xs};
|
|
124
|
-
`,
|
|
146
|
+
`, O = i.span`
|
|
125
147
|
width: 1rem;
|
|
126
148
|
height: 1rem;
|
|
127
149
|
border-radius: 50%;
|
|
@@ -135,23 +157,23 @@ const B = {
|
|
|
135
157
|
height: 0.7rem;
|
|
136
158
|
}
|
|
137
159
|
|
|
138
|
-
${({ theme: e, $variant:
|
|
160
|
+
${({ theme: e, $variant: o }) => o === "included" ? a`
|
|
139
161
|
border: 1px solid ${e.colors.secondary.green.n450};
|
|
140
162
|
color: ${e.colors.secondary.green.n450};
|
|
141
|
-
` :
|
|
163
|
+
` : a`
|
|
142
164
|
border: 1px solid ${e.colors.secondary.pink.n450};
|
|
143
165
|
color: ${e.colors.secondary.pink.n450};
|
|
144
166
|
`}
|
|
145
|
-
`,
|
|
167
|
+
`, Q = i(n)`
|
|
146
168
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
147
169
|
font-weight: 400;
|
|
148
170
|
font-size: ${({ theme: e }) => {
|
|
149
|
-
var
|
|
150
|
-
return (
|
|
171
|
+
var o;
|
|
172
|
+
return (o = e.typography.sizes) == null ? void 0 : o.s3;
|
|
151
173
|
}};
|
|
152
174
|
line-height: ${({ theme: e }) => e.typography.lineHeights.m};
|
|
153
175
|
color: ${({ theme: e }) => e.colors.grey.n400};
|
|
154
|
-
`,
|
|
176
|
+
`, Y = i.div`
|
|
155
177
|
width: 100%;
|
|
156
178
|
margin-top: 1rem;
|
|
157
179
|
display: flex;
|
|
@@ -161,53 +183,57 @@ const B = {
|
|
|
161
183
|
button {
|
|
162
184
|
width: 100%;
|
|
163
185
|
}
|
|
164
|
-
`,
|
|
186
|
+
`, ne = ({
|
|
165
187
|
title: e,
|
|
166
|
-
price:
|
|
167
|
-
description:
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
188
|
+
price: o,
|
|
189
|
+
description: f,
|
|
190
|
+
secondaryPrice: p,
|
|
191
|
+
features: x,
|
|
192
|
+
variant: y = "transparent",
|
|
193
|
+
badges: c = [],
|
|
194
|
+
showPrimaryAction: m = !1,
|
|
195
|
+
primaryAction: s,
|
|
174
196
|
showSecondaryAction: $ = !1,
|
|
175
|
-
|
|
197
|
+
secondaryAction: t,
|
|
198
|
+
showFeatures: u = !0,
|
|
199
|
+
featuresTitle: b = "FEATURES",
|
|
176
200
|
featuresDescription: w = "Everything in our free plan plus....."
|
|
177
|
-
}) => {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
/* @__PURE__ */
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
/* @__PURE__ */
|
|
186
|
-
|
|
187
|
-
/* @__PURE__ */ o.jsx(I, { $color: r.color, children: r.amount }),
|
|
188
|
-
/* @__PURE__ */ o.jsx(V, { $color: r.periodColor, children: r.period ?? "/ Month" })
|
|
189
|
-
] }),
|
|
190
|
-
/* @__PURE__ */ o.jsx(W, { children: g }),
|
|
191
|
-
/* @__PURE__ */ o.jsxs(J, { children: [
|
|
192
|
-
x && /* @__PURE__ */ o.jsx(d, { variant: "primary", onClick: y, children: m }),
|
|
193
|
-
$ && /* @__PURE__ */ o.jsx(d, { variant: "light-primary", onClick: () => j((n) => !n), children: c ? "Hide" : "Show" })
|
|
194
|
-
] })
|
|
201
|
+
}) => /* @__PURE__ */ r.jsxs(S, { $variant: y, children: [
|
|
202
|
+
/* @__PURE__ */ r.jsxs(B, { children: [
|
|
203
|
+
/* @__PURE__ */ r.jsxs(T, { children: [
|
|
204
|
+
/* @__PURE__ */ r.jsx(H, { children: e }),
|
|
205
|
+
c.length > 0 && /* @__PURE__ */ r.jsx(E, { children: c.map((l, g) => /* @__PURE__ */ r.jsx(R, { label: l.label, bgColor: l.bgColor, color: l.color }, `${l.label}-${g}`)) })
|
|
206
|
+
] }),
|
|
207
|
+
/* @__PURE__ */ r.jsxs(I, { children: [
|
|
208
|
+
/* @__PURE__ */ r.jsx(k, { src: C, alt: "Riyal" }),
|
|
209
|
+
/* @__PURE__ */ r.jsx(L, { $color: o.color, children: o.amount }),
|
|
210
|
+
/* @__PURE__ */ r.jsx(V, { $color: o.periodColor, children: o.period ?? "/ Month" })
|
|
195
211
|
] }),
|
|
196
|
-
|
|
197
|
-
/* @__PURE__ */
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
/* @__PURE__ */ o.jsx(G, { children: n.label })
|
|
206
|
-
] }, `${n.label}-${l}`);
|
|
207
|
-
}) })
|
|
212
|
+
p && /* @__PURE__ */ r.jsxs(X, { children: [
|
|
213
|
+
/* @__PURE__ */ r.jsx(D, {}),
|
|
214
|
+
/* @__PURE__ */ r.jsx(q, { children: p.amount }),
|
|
215
|
+
/* @__PURE__ */ r.jsx(G, { children: p.label })
|
|
216
|
+
] }),
|
|
217
|
+
/* @__PURE__ */ r.jsx(W, { children: f }),
|
|
218
|
+
/* @__PURE__ */ r.jsxs(Y, { children: [
|
|
219
|
+
m && /* @__PURE__ */ r.jsx(d, { variant: (s == null ? void 0 : s.variant) ?? "primary", onClick: s == null ? void 0 : s.onPrimaryActionClick, children: s == null ? void 0 : s.label }),
|
|
220
|
+
$ && /* @__PURE__ */ r.jsx(d, { variant: (t == null ? void 0 : t.variant) ?? "light-primary", onClick: t == null ? void 0 : t.onSecondaryActionClick, children: t == null ? void 0 : t.label })
|
|
208
221
|
] })
|
|
209
|
-
] })
|
|
210
|
-
|
|
222
|
+
] }),
|
|
223
|
+
u && /* @__PURE__ */ r.jsxs(M, { children: [
|
|
224
|
+
/* @__PURE__ */ r.jsxs(P, { children: [
|
|
225
|
+
/* @__PURE__ */ r.jsx(N, { children: b }),
|
|
226
|
+
/* @__PURE__ */ r.jsx(U, { children: w })
|
|
227
|
+
] }),
|
|
228
|
+
/* @__PURE__ */ r.jsx(J, { children: x.map((l, g) => {
|
|
229
|
+
const h = l.variant ?? "included";
|
|
230
|
+
return /* @__PURE__ */ r.jsxs(K, { children: [
|
|
231
|
+
/* @__PURE__ */ r.jsx(O, { $variant: h, children: h === "included" ? /* @__PURE__ */ r.jsx(j, {}) : /* @__PURE__ */ r.jsx(v, {}) }),
|
|
232
|
+
/* @__PURE__ */ r.jsx(Q, { children: l.label })
|
|
233
|
+
] }, `${l.label}-${g}`);
|
|
234
|
+
}) })
|
|
235
|
+
] })
|
|
236
|
+
] });
|
|
211
237
|
export {
|
|
212
|
-
|
|
238
|
+
ne as default
|
|
213
239
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as m from "react";
|
|
2
|
-
import i from "../../../_virtual/
|
|
2
|
+
import i from "../../../_virtual/index3.js";
|
|
3
3
|
import { useBootstrapPrefix as l } from "./ThemeProvider.js";
|
|
4
4
|
import d from "./divWithClassName.js";
|
|
5
5
|
import { j as p } from "../../../_virtual/jsx-runtime.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
|
-
import e from "../../../_virtual/
|
|
2
|
+
import e from "../../../_virtual/index3.js";
|
|
3
3
|
import i from "../../@restart/ui/esm/Anchor.js";
|
|
4
4
|
import { useBootstrapPrefix as p } from "./ThemeProvider.js";
|
|
5
5
|
import { j as f } from "../../../_virtual/jsx-runtime.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import o from "../../../_virtual/
|
|
1
|
+
import o from "../../../_virtual/index4.js";
|
|
2
2
|
import * as p from "react";
|
|
3
|
-
import n from "../../../_virtual/
|
|
3
|
+
import n from "../../../_virtual/index3.js";
|
|
4
4
|
import { j as i } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const m = {
|
|
6
6
|
/** An accessible label indicating the relevant information about the Close Button. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import $ from "../../../_virtual/
|
|
1
|
+
import $ from "../../../_virtual/index3.js";
|
|
2
2
|
import * as d from "react";
|
|
3
3
|
import { useBootstrapPrefix as B, useBootstrapBreakpoints as h, useBootstrapMinBreakpoint as N } from "./ThemeProvider.js";
|
|
4
4
|
import { j } from "../../../_virtual/jsx-runtime.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import j from "../../../_virtual/
|
|
1
|
+
import j from "../../../_virtual/index3.js";
|
|
2
2
|
import d from "../../dom-helpers/esm/css.js";
|
|
3
3
|
import h, { useMemo as r } from "react";
|
|
4
4
|
import { ENTERED as G, ENTERING as L, EXITING as B, EXITED as M } from "../../react-transition-group/esm/Transition.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as m from "react";
|
|
2
|
-
import p from "../../../_virtual/
|
|
2
|
+
import p from "../../../_virtual/index3.js";
|
|
3
3
|
import { useBootstrapPrefix as d } from "./ThemeProvider.js";
|
|
4
4
|
import { j as i } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const f = /* @__PURE__ */ m.forwardRef(({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as d from "react";
|
|
2
|
-
import m from "../../../_virtual/
|
|
2
|
+
import m from "../../../_virtual/index3.js";
|
|
3
3
|
import { useBootstrapPrefix as p } from "./ThemeProvider.js";
|
|
4
4
|
import { j as f } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const i = /* @__PURE__ */ d.forwardRef(({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as m from "react";
|
|
2
|
-
import s from "../../../_virtual/
|
|
2
|
+
import s from "../../../_virtual/index3.js";
|
|
3
3
|
import { useBootstrapPrefix as p } from "./ThemeProvider.js";
|
|
4
4
|
import { j as d } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const f = /* @__PURE__ */ m.forwardRef(({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import a from "../../@restart/hooks/esm/useMergedRefs.js";
|
|
2
2
|
import d from "../../@restart/ui/esm/DropdownContext.js";
|
|
3
3
|
import { useDropdownToggle as g } from "../../@restart/ui/esm/DropdownToggle.js";
|
|
4
|
-
import l from "../../../_virtual/
|
|
4
|
+
import l from "../../../_virtual/index3.js";
|
|
5
5
|
import * as u from "react";
|
|
6
6
|
import { useContext as w } from "react";
|
|
7
7
|
import x from "./Button.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import i from "../../../_virtual/
|
|
1
|
+
import i from "../../../_virtual/index3.js";
|
|
2
2
|
import * as f from "react";
|
|
3
|
-
import e from "../../../_virtual/
|
|
3
|
+
import e from "../../../_virtual/index4.js";
|
|
4
4
|
import { j as l } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const c = {
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import i from "../../../_virtual/
|
|
2
|
-
import o from "../../../_virtual/
|
|
1
|
+
import i from "../../../_virtual/index3.js";
|
|
2
|
+
import o from "../../../_virtual/index4.js";
|
|
3
3
|
import * as s from "react";
|
|
4
4
|
import f from "./FormCheck.js";
|
|
5
5
|
import l from "./FormControl.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
|
-
import e from "../../../_virtual/
|
|
2
|
+
import e from "../../../_virtual/index3.js";
|
|
3
3
|
import { useBootstrapPrefix as f } from "./ThemeProvider.js";
|
|
4
4
|
import { j as i } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const p = /* @__PURE__ */ s.forwardRef(({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import f from "../../../_virtual/
|
|
1
|
+
import f from "../../../_virtual/index3.js";
|
|
2
2
|
import * as d from "react";
|
|
3
|
-
import o from "../../../_virtual/
|
|
3
|
+
import o from "../../../_virtual/index4.js";
|
|
4
4
|
import { useBootstrapPrefix as u } from "./ThemeProvider.js";
|
|
5
5
|
import { j as p } from "../../../_virtual/jsx-runtime.js";
|
|
6
6
|
o.string, o.bool, o.bool, o.bool, o.bool;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
|
-
import e from "../../../_virtual/
|
|
2
|
+
import e from "../../../_virtual/index3.js";
|
|
3
3
|
import { useBootstrapPrefix as p } from "./ThemeProvider.js";
|
|
4
4
|
import { j as f } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const i = /* @__PURE__ */ s.forwardRef(({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import m from "../../../_virtual/
|
|
2
|
+
import m from "../../../_virtual/index3.js";
|
|
3
3
|
import { useBootstrapPrefix as p } from "./ThemeProvider.js";
|
|
4
4
|
import { j as f } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const x = /* @__PURE__ */ e.forwardRef(({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as t from "react";
|
|
2
|
-
import m from "../../../_virtual/
|
|
2
|
+
import m from "../../../_virtual/index3.js";
|
|
3
3
|
import { useBootstrapPrefix as e } from "./ThemeProvider.js";
|
|
4
4
|
import { j as p } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const c = /* @__PURE__ */ t.forwardRef(({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import m from "../../../_virtual/
|
|
2
|
+
import m from "../../../_virtual/index3.js";
|
|
3
3
|
import f from "./divWithClassName.js";
|
|
4
4
|
import { useBootstrapPrefix as i } from "./ThemeProvider.js";
|
|
5
5
|
import { j as l } from "../../../_virtual/jsx-runtime.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import c from "../../../_virtual/
|
|
1
|
+
import c from "../../../_virtual/index3.js";
|
|
2
2
|
import * as n from "react";
|
|
3
3
|
import { ENTERING as t, EXITING as g, ENTERED as d } from "../../react-transition-group/esm/Transition.js";
|
|
4
4
|
import { getChildRef as N } from "../../@restart/ui/esm/utils.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as $ from "react";
|
|
2
2
|
import { useRef as l, useEffect as x, useCallback as k, useMemo as A } from "react";
|
|
3
|
-
import M from "../../../_virtual/
|
|
3
|
+
import M from "../../../_virtual/index3.js";
|
|
4
4
|
import b from "../../@restart/hooks/esm/useTimeout.js";
|
|
5
5
|
import q from "./ToastFade.js";
|
|
6
6
|
import w from "./ToastHeader.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as m from "react";
|
|
2
|
-
import e from "../../../_virtual/
|
|
2
|
+
import e from "../../../_virtual/index3.js";
|
|
3
3
|
import { useBootstrapPrefix as p } from "./ThemeProvider.js";
|
|
4
4
|
import { j as d } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const f = /* @__PURE__ */ m.forwardRef(({
|
|
@@ -2,9 +2,9 @@ var Q = Object.defineProperty;
|
|
|
2
2
|
var X = (e, t, r) => t in e ? Q(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var h = (e, t, r) => X(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
4
|
import y, { Component as R } from "react";
|
|
5
|
-
import ee from "../../../_virtual/
|
|
5
|
+
import ee from "../../../_virtual/index.js";
|
|
6
6
|
import F from "../../../_virtual/browser.js";
|
|
7
|
-
import te from "../../../_virtual/
|
|
7
|
+
import te from "../../../_virtual/index2.js";
|
|
8
8
|
var Y = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "head", e.HTML = "html", e.LINK = "link", e.META = "meta", e.NOSCRIPT = "noscript", e.SCRIPT = "script", e.STYLE = "style", e.TITLE = "title", e.FRAGMENT = "Symbol(react.fragment)", e))(Y || {}), $ = {
|
|
9
9
|
link: { rel: ["amphtml", "canonical", "alternate"] },
|
|
10
10
|
script: { type: ["application/ld+json"] },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import x, { Children as w, cloneElement as z, PureComponent as F } from "react";
|
|
2
|
-
import a from "../../../_virtual/
|
|
2
|
+
import a from "../../../_virtual/index4.js";
|
|
3
3
|
import { deepEqual as H } from "../../fast-equals/dist/esm/index.js";
|
|
4
4
|
import L from "./AnimateManager.js";
|
|
5
5
|
import { configEasing as V } from "./easing.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import C from "../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js";
|
|
2
2
|
import D from "../../@babel/runtime/helpers/esm/inheritsLoose.js";
|
|
3
|
-
import o from "../../../_virtual/
|
|
3
|
+
import o from "../../../_virtual/index4.js";
|
|
4
4
|
import v from "react";
|
|
5
5
|
import b from "react-dom";
|
|
6
6
|
import T from "./config.js";
|