qaema-ui 0.0.65 → 0.0.68

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.
Files changed (59) hide show
  1. package/dist/_virtual/index.js +5 -5
  2. package/dist/_virtual/index2.js +4 -4
  3. package/dist/_virtual/index3.js +5 -5
  4. package/dist/_virtual/index4.js +4 -4
  5. package/dist/components/FeaturesList.d.ts +6 -0
  6. package/dist/components/FeaturesList.js +58 -0
  7. package/dist/components/PriceCard.d.ts +9 -0
  8. package/dist/components/PriceCard.js +224 -215
  9. package/dist/components/index.d.ts +2 -0
  10. package/dist/index.js +50 -48
  11. package/dist/node_modules/react-bootstrap/esm/Alert.js +1 -1
  12. package/dist/node_modules/react-bootstrap/esm/AlertHeading.js +1 -1
  13. package/dist/node_modules/react-bootstrap/esm/AlertLink.js +1 -1
  14. package/dist/node_modules/react-bootstrap/esm/Button.js +1 -1
  15. package/dist/node_modules/react-bootstrap/esm/CloseButton.js +2 -2
  16. package/dist/node_modules/react-bootstrap/esm/Col.js +1 -1
  17. package/dist/node_modules/react-bootstrap/esm/Collapse.js +1 -1
  18. package/dist/node_modules/react-bootstrap/esm/Dropdown.js +1 -1
  19. package/dist/node_modules/react-bootstrap/esm/DropdownDivider.js +1 -1
  20. package/dist/node_modules/react-bootstrap/esm/DropdownHeader.js +1 -1
  21. package/dist/node_modules/react-bootstrap/esm/DropdownItem.js +1 -1
  22. package/dist/node_modules/react-bootstrap/esm/DropdownItemText.js +1 -1
  23. package/dist/node_modules/react-bootstrap/esm/DropdownMenu.js +1 -1
  24. package/dist/node_modules/react-bootstrap/esm/DropdownToggle.js +1 -1
  25. package/dist/node_modules/react-bootstrap/esm/Fade.js +1 -1
  26. package/dist/node_modules/react-bootstrap/esm/Feedback.js +2 -2
  27. package/dist/node_modules/react-bootstrap/esm/FloatingLabel.js +1 -1
  28. package/dist/node_modules/react-bootstrap/esm/Form.js +2 -2
  29. package/dist/node_modules/react-bootstrap/esm/FormCheck.js +1 -1
  30. package/dist/node_modules/react-bootstrap/esm/FormCheckInput.js +1 -1
  31. package/dist/node_modules/react-bootstrap/esm/FormCheckLabel.js +1 -1
  32. package/dist/node_modules/react-bootstrap/esm/FormControl.js +1 -1
  33. package/dist/node_modules/react-bootstrap/esm/FormFloating.js +1 -1
  34. package/dist/node_modules/react-bootstrap/esm/FormLabel.js +1 -1
  35. package/dist/node_modules/react-bootstrap/esm/FormRange.js +1 -1
  36. package/dist/node_modules/react-bootstrap/esm/FormSelect.js +1 -1
  37. package/dist/node_modules/react-bootstrap/esm/FormText.js +1 -1
  38. package/dist/node_modules/react-bootstrap/esm/Image.js +2 -2
  39. package/dist/node_modules/react-bootstrap/esm/Nav.js +1 -1
  40. package/dist/node_modules/react-bootstrap/esm/NavItem.js +1 -1
  41. package/dist/node_modules/react-bootstrap/esm/NavLink.js +1 -1
  42. package/dist/node_modules/react-bootstrap/esm/Navbar.js +1 -1
  43. package/dist/node_modules/react-bootstrap/esm/NavbarBrand.js +1 -1
  44. package/dist/node_modules/react-bootstrap/esm/NavbarText.js +1 -1
  45. package/dist/node_modules/react-bootstrap/esm/NavbarToggle.js +1 -1
  46. package/dist/node_modules/react-bootstrap/esm/Offcanvas.js +1 -1
  47. package/dist/node_modules/react-bootstrap/esm/OffcanvasBody.js +1 -1
  48. package/dist/node_modules/react-bootstrap/esm/OffcanvasHeader.js +1 -1
  49. package/dist/node_modules/react-bootstrap/esm/OffcanvasTitle.js +1 -1
  50. package/dist/node_modules/react-bootstrap/esm/OffcanvasToggling.js +1 -1
  51. package/dist/node_modules/react-bootstrap/esm/Toast.js +1 -1
  52. package/dist/node_modules/react-bootstrap/esm/ToastBody.js +1 -1
  53. package/dist/node_modules/react-bootstrap/esm/ToastHeader.js +1 -1
  54. package/dist/node_modules/react-bootstrap/esm/divWithClassName.js +1 -1
  55. package/dist/node_modules/react-helmet-async/lib/index.esm.js +2 -2
  56. package/dist/node_modules/react-smooth/es6/Animate.js +1 -1
  57. package/dist/node_modules/react-transition-group/esm/Transition.js +1 -1
  58. package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
  59. package/package.json +1 -1
@@ -1,27 +1,28 @@
1
1
  import { j as i } from "../_virtual/jsx-runtime.js";
2
2
  import "react";
3
- import { FiCheck as S, FiX as T } from "../node_modules/react-icons/fi/index.js";
4
- import o, { css as p } from "styled-components";
5
- import y from "../assets/icons/RiyalIcon.js";
6
- import { CurrencyContainer as H } from "../styles/Currency.styles.js";
7
- import B from "../assets/svg/Riyal.svg.js";
8
- import I from "./Badge.js";
9
- import d from "./Button.js";
10
- import a from "./Typography.js";
11
- const E = {
12
- transparent: p`
3
+ import t, { css as u } from "styled-components";
4
+ import x from "../assets/icons/RiyalIcon.js";
5
+ import { CurrencyContainer as W } from "../styles/Currency.styles.js";
6
+ import P from "../assets/svg/Riyal.svg.js";
7
+ import L from "./Badge.js";
8
+ import b from "./Button.js";
9
+ import M from "./FeaturesList.js";
10
+ import g from "./Typography.js";
11
+ const N = {
12
+ transparent: u`
13
13
  background: rgba(255, 255, 255, 0.72);
14
14
  border: 1px solid ${({ theme: e }) => e.colors.grey.n200};
15
15
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
16
16
  `,
17
- purple: p`
17
+ purple: u`
18
18
  background: linear-gradient(360deg, #ffffff 63.12%, #f1eeff 100%);
19
19
  border: 1px solid #e3deff;
20
20
  box-shadow:
21
21
  0px 4px 6px -2px #10182808,
22
22
  0px 12px 16px -4px #10182814;
23
23
  `
24
- }, P = o.div`
24
+ }, O = t.div`
25
+ position: relative;
25
26
  width: 100%;
26
27
  max-width: 28.458rem;
27
28
 
@@ -29,160 +30,157 @@ const E = {
29
30
  overflow: hidden;
30
31
  display: flex;
31
32
  flex-direction: column;
32
- ${({ $variant: e }) => E[e]};
33
- `, W = o.div`
33
+ ${({ $variant: e }) => N[e]};
34
+ `, U = t.div`
34
35
  padding: 25px;
35
36
  display: flex;
36
37
  flex-direction: column;
37
38
  gap: ${({ theme: e }) => e.spacing.sm};
38
39
  border-bottom: 1px solid ${({ theme: e }) => e.colors.grey.n200};
39
- `, D = o.div`
40
+ `, V = t.div`
40
41
  display: flex;
41
42
  align-items: center;
42
- justify-content: space-between;
43
+ justify-content: ${({ $hasMultipleBadges: e }) => e ? "flex-start" : "space-between"};
43
44
  gap: ${({ theme: e }) => e.spacing.s};
44
45
  flex-wrap: wrap;
45
- `, L = o(a)`
46
+ padding-right: ${({ $hasRibbon: e }) => e ? "8rem" : "0"};
47
+ `, q = t(g)`
46
48
  font-family: ${({ theme: e }) => e.fonts.arabic};
47
49
  font-weight: 600;
48
50
  font-size: ${({ theme: e }) => {
49
- var r;
50
- return (r = e.typography.sizes) == null ? void 0 : r.s3;
51
+ var o;
52
+ return (o = e.typography.sizes) == null ? void 0 : o.s3;
51
53
  }};
52
54
  line-height: 1.75rem;
53
55
  color: ${({ theme: e }) => e.colors.grey.n400};
54
56
  white-space: nowrap;
55
- `, V = o.div`
57
+ `, G = t.div`
56
58
  display: flex;
57
59
  flex-direction: column;
58
60
  gap: 0.85rem;
59
- `, M = o.div`
61
+ `, J = t.div`
60
62
  display: flex;
61
63
  align-items: center;
62
64
  gap: ${({ theme: e }) => e.spacing.xs};
63
65
  flex-wrap: nowrap;
64
66
  span {
65
67
  font-size: ${({ theme: e }) => {
66
- var r;
67
- return (r = e.typography.sizes) == null ? void 0 : r.s2;
68
+ var o;
69
+ return (o = e.typography.sizes) == null ? void 0 : o.s2;
68
70
  }};
69
71
  line-height: ${({ theme: e }) => e.typography.lineHeights.xs};
70
72
  }
71
- `, N = o.div`
73
+ `, K = t.div`
74
+ position: absolute;
75
+ top: 0;
76
+ right: 0;
77
+ min-width: 9.5rem;
78
+ height: 4rem;
79
+ padding: 0 ${({ theme: e }) => e.spacing.m};
80
+ display: flex;
81
+ align-items: center;
82
+ justify-content: center;
83
+ border-bottom-left-radius: ${({ theme: e }) => e.borderRadius.xl};
84
+ background-color: ${({ $bgColor: e }) => e};
85
+ color: ${({ $color: e }) => e};
86
+ font-family: ${({ theme: e }) => e.fonts.arabic};
87
+ font-weight: ${({ theme: e }) => e.typography.weights.semiBold};
88
+ font-size: ${({ theme: e }) => e.typography.sizes.s4};
89
+ line-height: ${({ theme: e }) => e.typography.lineHeights.m};
90
+ white-space: nowrap;
91
+ `, Q = t.div`
72
92
  display: flex;
73
93
  align-items: baseline;
74
94
  gap: ${({ theme: e }) => e.spacing.xxs};
75
- `, U = o(y).attrs(({ theme: e }) => ({
95
+ `, w = t(x).attrs(({ theme: e }) => ({
76
96
  color: e.colors.grey.n350,
77
97
  width: "18",
78
98
  height: "20"
79
- }))``, X = o.span`
99
+ }))``, X = t.span`
80
100
  font-family: ${({ theme: e }) => e.fonts.english};
81
101
  font-weight: ${({ theme: e }) => e.typography.weights.semiBold};
82
102
  font-size: 2.25rem;
83
103
  line-height: 2.5rem;
84
- color: ${({ $color: e, theme: r }) => e ?? r.colors.grey.n800};
85
- `, q = o.span`
104
+ color: ${({ $color: e, theme: o }) => e ?? o.colors.grey.n800};
105
+ `, Y = t.span`
86
106
  font-family: ${({ theme: e }) => e.fonts.arabic};
87
107
  font-weight: ${({ theme: e }) => e.typography.weights.regular};
88
108
  font-size: ${({ theme: e }) => {
89
- var r;
90
- return (r = e.typography.sizes) == null ? void 0 : r.s5;
109
+ var o;
110
+ return (o = e.typography.sizes) == null ? void 0 : o.s5;
91
111
  }};
92
112
  line-height: 1.804rem;
93
- color: ${({ $color: e, theme: r }) => e ?? r.colors.grey.n800};
94
- `, G = o(a)`
113
+ color: ${({ $color: e, theme: o }) => e ?? o.colors.grey.n800};
114
+ `, Z = t(g)`
95
115
  font-family: ${({ theme: e }) => e.fonts.arabic};
96
116
  font-weight: ${({ theme: e }) => e.typography.weights.regular};
97
117
  font-size: ${({ theme: e }) => {
98
- var r;
99
- return (r = e.typography.sizes) == null ? void 0 : r.s2;
118
+ var o;
119
+ return (o = e.typography.sizes) == null ? void 0 : o.s2;
100
120
  }};
101
121
  line-height: ${({ theme: e }) => e.typography.lineHeights.m};
102
122
  color: ${({ theme: e }) => e.colors.grey.n400};
103
- `, J = o.div`
123
+ `, _ = t.div`
104
124
  padding: 2rem 2rem 2.5rem 2rem;
105
125
  display: flex;
106
126
  flex-direction: column;
107
127
  gap: ${({ theme: e }) => e.spacing.s};
108
- `, K = o(a)`
128
+ `, A = t(g)`
109
129
  font-family: ${({ theme: e }) => e.fonts.arabic};
110
130
  font-weight: ${({ theme: e }) => e.typography.weights.semiBold};
111
131
  font-size: ${({ theme: e }) => {
112
- var r;
113
- return (r = e.typography.sizes) == null ? void 0 : r.s3;
132
+ var o;
133
+ return (o = e.typography.sizes) == null ? void 0 : o.s3;
114
134
  }};
115
135
  line-height: 0.7rem;
116
136
  color: ${({ theme: e }) => e.colors.grey.n650};
117
137
  text-transform: uppercase;
118
- `, Q = o(a)`
138
+ `, ee = t(g)`
119
139
  font-family: ${({ theme: e }) => e.fonts.arabic};
120
140
  font-weight: 500;
121
141
  font-size: ${({ theme: e }) => {
122
- var r;
123
- return (r = e.typography.sizes) == null ? void 0 : r.s2;
142
+ var o;
143
+ return (o = e.typography.sizes) == null ? void 0 : o.s2;
124
144
  }};
125
145
  line-height: ${({ theme: e }) => e.typography.lineHeights.m};
126
146
  color: ${({ theme: e }) => e.colors.grey.n400};
127
- `, Y = o.div`
147
+ `, ie = t.div`
128
148
  display: flex;
129
149
  align-items: center;
130
150
  gap: ${({ theme: e }) => e.spacing.xs};
131
- `, Z = o.span`
151
+ `, d = t.span`
132
152
  font-family: ${({ theme: e }) => e.fonts.arabic};
133
153
  font-weight: ${({ theme: e }) => e.typography.weights.bold};
134
154
  font-size: ${({ theme: e }) => e.typography.sizes.s9};
135
155
  line-height: ${({ theme: e }) => e.typography.lineHeights.xl};
136
156
  letter-spacing: ${({ theme: e }) => e.typography.letterSpacings.balancedNarrow};
137
157
  color: ${({ theme: e }) => e.colors.grey.n350};
138
- `, _ = o.span`
158
+ `, oe = t(d)`
159
+ text-decoration: line-through;
160
+ `, te = t.span`
139
161
  font-family: ${({ theme: e }) => e.fonts.arabic};
140
162
  font-weight: ${({ theme: e }) => e.typography.weights.regular};
141
163
  font-size: ${({ theme: e }) => e.typography.sizes.s4};
142
164
  line-height: ${({ theme: e }) => e.typography.lineHeights.m};
143
165
  color: ${({ theme: e }) => e.colors.grey.n350};
144
- `, O = o.ul`
145
- list-style: none;
146
- margin: 0;
147
- padding: 0;
148
- display: flex;
149
- flex-direction: column;
150
- gap: ${({ theme: e }) => e.spacing.s};
151
- `, A = o.li`
152
- display: flex;
153
- align-items: center;
154
- gap: ${({ theme: e }) => e.spacing.xs};
155
- `, ee = o.span`
156
- width: 1rem;
157
- height: 1rem;
158
- border-radius: 50%;
159
- display: inline-flex;
160
- align-items: center;
161
- justify-content: center;
162
- flex-shrink: 0;
163
-
164
- svg {
165
- width: 0.7rem;
166
- height: 0.7rem;
167
- }
168
-
169
- ${({ theme: e, $variant: r }) => r === "included" ? p`
170
- border: 1px solid ${e.colors.secondary.green.n450};
171
- color: ${e.colors.secondary.green.n450};
172
- ` : p`
173
- border: 1px solid ${e.colors.secondary.pink.n450};
174
- color: ${e.colors.secondary.pink.n450};
175
- `}
176
- `, ie = o(a)`
166
+ `, j = t.span`
177
167
  font-family: ${({ theme: e }) => e.fonts.arabic};
178
- font-weight: 400;
179
- font-size: ${({ theme: e }) => {
180
- var r;
181
- return (r = e.typography.sizes) == null ? void 0 : r.s2;
182
- }};
168
+ font-weight: ${({ theme: e }) => e.typography.weights.semiBold};
169
+ font-size: ${({ theme: e }) => e.typography.sizes.s4};
183
170
  line-height: ${({ theme: e }) => e.typography.lineHeights.m};
184
- color: ${({ theme: e }) => e.colors.grey.n400};
185
- `, re = o.div`
171
+ color: #17954f;
172
+ `, re = t.div`
173
+ display: flex;
174
+ align-items: center;
175
+ gap: 5px;
176
+ font-size: 16px;
177
+ `, ne = t(d)`
178
+ color: #17954f;
179
+ `, se = t(x).attrs({
180
+ color: "#17954f",
181
+ width: "16",
182
+ height: "18"
183
+ })``, le = t.div`
186
184
  width: 100%;
187
185
  margin-top: 1rem;
188
186
  display: flex;
@@ -192,143 +190,154 @@ const E = {
192
190
  button {
193
191
  width: 100%;
194
192
  }
195
- `, fe = ({
193
+ `, $e = ({
196
194
  title: e,
197
- price: r,
198
- description: m,
199
- hintComponent: $,
200
- secondaryPrice: g,
201
- features: u,
202
- variant: b = "transparent",
203
- badges: h = [],
204
- showPrimaryAction: w = !1,
205
- primaryAction: s,
206
- showSecondaryAction: j = !1,
207
- secondaryAction: n,
208
- showFeatures: v = !0,
209
- featuresTitle: z = "FEATURES",
210
- featuresDescription: C = "Everything in our free plan plus.....",
211
- showAddons: k = !1,
212
- selectedAddon: R = "Without",
195
+ price: o,
196
+ description: z,
197
+ hintComponent: v,
198
+ secondaryPrice: a,
199
+ discount: h,
200
+ discountLabel: m,
201
+ features: C,
202
+ variant: R = "transparent",
203
+ badges: f = [],
204
+ showPrimaryAction: B = !1,
205
+ primaryAction: n,
206
+ showSecondaryAction: k = !1,
207
+ secondaryAction: s,
208
+ showFeatures: S = !0,
209
+ featuresTitle: H = "FEATURES",
210
+ featuresDescription: T = "Everything in our free plan plus.....",
211
+ showAddons: F = !1,
212
+ selectedAddon: D = "Without",
213
213
  setSelectedAddon: c,
214
- addOnsData: f = [],
214
+ addOnsData: y = [],
215
215
  // addonsTitle = 'Personal Accountant',
216
216
  // addonsOptionalLabel = 'optional',
217
- addonsMonthlyLabel: F = "monthly"
218
- }) => /* @__PURE__ */ i.jsxs(P, { $variant: b, children: [
219
- /* @__PURE__ */ i.jsxs(W, { children: [
220
- /* @__PURE__ */ i.jsxs(D, { children: [
221
- /* @__PURE__ */ i.jsx(L, { children: e }),
222
- h.length > 0 && /* @__PURE__ */ i.jsx(M, { children: h.map((t, l) => /* @__PURE__ */ i.jsx(
223
- I,
217
+ addonsMonthlyLabel: E = "monthly",
218
+ mobileHintComponent: I
219
+ }) => {
220
+ const p = f.find((r) => r.ribbon), $ = f.filter((r) => !r.ribbon);
221
+ return /* @__PURE__ */ i.jsxs(O, { $variant: R, children: [
222
+ p && /* @__PURE__ */ i.jsx(K, { $bgColor: p.bgColor, $color: p.color, children: p.label }),
223
+ /* @__PURE__ */ i.jsxs(U, { children: [
224
+ /* @__PURE__ */ i.jsxs(V, { $hasRibbon: !!p, $hasMultipleBadges: f.length > 1, children: [
225
+ /* @__PURE__ */ i.jsx(q, { children: e }),
226
+ $.length > 0 && /* @__PURE__ */ i.jsx(J, { children: $.map((r, l) => /* @__PURE__ */ i.jsx(
227
+ L,
228
+ {
229
+ label: r.label,
230
+ bgColor: r.bgColor,
231
+ color: r.color,
232
+ image: r.image ?? "",
233
+ weight: r.weight,
234
+ variant: r.variant
235
+ },
236
+ `${r.label}-${l}`
237
+ )) })
238
+ ] }),
239
+ /* @__PURE__ */ i.jsxs(Q, { children: [
240
+ /* @__PURE__ */ i.jsx(W, { src: P, alt: "Riyal" }),
241
+ /* @__PURE__ */ i.jsx(X, { $color: o.color, children: o.amount }),
242
+ /* @__PURE__ */ i.jsx(Y, { $color: o.periodColor, children: o.period ?? "/ Month" })
243
+ ] }),
244
+ a && /* @__PURE__ */ i.jsxs(ie, { children: [
245
+ a.originalAmount && /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
246
+ /* @__PURE__ */ i.jsx(w, {}),
247
+ /* @__PURE__ */ i.jsx(oe, { children: a.originalAmount })
248
+ ] }),
249
+ /* @__PURE__ */ i.jsx(w, {}),
250
+ /* @__PURE__ */ i.jsx(d, { children: a.amount }),
251
+ /* @__PURE__ */ i.jsx(te, { children: a.label })
252
+ ] }),
253
+ h ? /* @__PURE__ */ i.jsxs(re, { children: [
254
+ /* @__PURE__ */ i.jsx(j, { children: h.label }),
255
+ /* @__PURE__ */ i.jsx(se, {}),
256
+ /* @__PURE__ */ i.jsx(ne, { children: h.amount })
257
+ ] }) : m && /* @__PURE__ */ i.jsx(j, { children: m }),
258
+ /* @__PURE__ */ i.jsx(Z, { children: z }),
259
+ F && y.length > 0 && /* @__PURE__ */ i.jsx("div", { style: { marginTop: "0.50rem" }, children: /* @__PURE__ */ i.jsx(
260
+ "div",
224
261
  {
225
- label: t.label,
226
- bgColor: t.bgColor,
227
- color: t.color,
228
- image: t.image ?? "",
229
- weight: t.weight,
230
- variant: t.variant
231
- },
232
- `${t.label}-${l}`
233
- )) })
234
- ] }),
235
- /* @__PURE__ */ i.jsxs(N, { children: [
236
- /* @__PURE__ */ i.jsx(H, { src: B, alt: "Riyal" }),
237
- /* @__PURE__ */ i.jsx(X, { $color: r.color, children: r.amount }),
238
- /* @__PURE__ */ i.jsx(q, { $color: r.periodColor, children: r.period ?? "/ Month" })
239
- ] }),
240
- g && /* @__PURE__ */ i.jsxs(Y, { children: [
241
- /* @__PURE__ */ i.jsx(U, {}),
242
- /* @__PURE__ */ i.jsx(Z, { children: g.amount }),
243
- /* @__PURE__ */ i.jsx(_, { children: g.label })
244
- ] }),
245
- /* @__PURE__ */ i.jsx(G, { children: m }),
246
- k && f.length > 0 && /* @__PURE__ */ i.jsx("div", { style: { marginTop: "0.50rem" }, children: /* @__PURE__ */ i.jsx(
247
- "div",
248
- {
249
- style: {
250
- backgroundColor: "#f5f7fb",
251
- borderRadius: "9px",
252
- padding: "4px",
253
- display: "grid",
254
- gridTemplateColumns: "repeat(2, minmax(0, 1fr))",
255
- gap: "4px"
256
- },
257
- children: f.map((t) => {
258
- const l = R === t.id;
259
- return /* @__PURE__ */ i.jsxs(
260
- "button",
261
- {
262
- type: "button",
263
- onClick: () => c == null ? void 0 : c(t.id),
264
- style: {
265
- padding: "8px 6px 7px",
266
- border: l ? "1px solid #e4e7ec" : "1px solid transparent",
267
- backgroundColor: l ? "#ffffff" : "transparent",
268
- color: l ? "#16181c" : "#72788e",
269
- borderRadius: "6px",
270
- cursor: "pointer",
271
- fontWeight: 600,
272
- fontSize: "12.78px",
273
- lineHeight: 1.1,
274
- transition: "all 0.18s ease",
275
- display: "flex",
276
- flexDirection: "column",
277
- alignItems: "center",
278
- justifyContent: "center",
279
- gap: "2px",
280
- minHeight: "42px",
281
- boxShadow: l ? "0 1px 2px rgba(16, 24, 40, 0.08)" : "none"
262
+ style: {
263
+ backgroundColor: "#f5f7fb",
264
+ borderRadius: "9px",
265
+ padding: "4px",
266
+ display: "grid",
267
+ gridTemplateColumns: "repeat(2, minmax(0, 1fr))",
268
+ gap: "4px"
269
+ },
270
+ children: y.map((r) => {
271
+ const l = D === r.id;
272
+ return /* @__PURE__ */ i.jsxs(
273
+ "button",
274
+ {
275
+ type: "button",
276
+ onClick: () => c == null ? void 0 : c(r.id),
277
+ style: {
278
+ padding: "8px 6px 7px",
279
+ border: l ? "1px solid #e4e7ec" : "1px solid transparent",
280
+ backgroundColor: l ? "#ffffff" : "transparent",
281
+ color: l ? "#16181c" : "#72788e",
282
+ borderRadius: "6px",
283
+ cursor: "pointer",
284
+ fontWeight: 600,
285
+ fontSize: "12.78px",
286
+ lineHeight: 1.1,
287
+ transition: "all 0.18s ease",
288
+ display: "flex",
289
+ flexDirection: "column",
290
+ alignItems: "center",
291
+ justifyContent: "center",
292
+ gap: "2px",
293
+ minHeight: "42px",
294
+ boxShadow: l ? "0 1px 2px rgba(16, 24, 40, 0.08)" : "none"
295
+ },
296
+ children: [
297
+ /* @__PURE__ */ i.jsx("span", { children: r.titleEn }),
298
+ /* @__PURE__ */ i.jsxs(
299
+ "span",
300
+ {
301
+ style: {
302
+ fontSize: "11px",
303
+ marginTop: "2px",
304
+ color: "#16181c",
305
+ fontWeight: 600,
306
+ display: "inline-flex",
307
+ alignItems: "center",
308
+ gap: "2px"
309
+ },
310
+ children: [
311
+ /* @__PURE__ */ i.jsx(x, { width: "9", height: "9", color: "#16181c" }),
312
+ r.baseFare,
313
+ " ",
314
+ E
315
+ ]
316
+ }
317
+ )
318
+ ]
282
319
  },
283
- children: [
284
- /* @__PURE__ */ i.jsx("span", { children: t.titleEn }),
285
- /* @__PURE__ */ i.jsxs(
286
- "span",
287
- {
288
- style: {
289
- fontSize: "11px",
290
- marginTop: "2px",
291
- color: "#16181c",
292
- fontWeight: 600,
293
- display: "inline-flex",
294
- alignItems: "center",
295
- gap: "2px"
296
- },
297
- children: [
298
- /* @__PURE__ */ i.jsx(y, { width: "9", height: "9", color: "#16181c" }),
299
- t.baseFare,
300
- " ",
301
- F
302
- ]
303
- }
304
- )
305
- ]
306
- },
307
- t.id
308
- );
309
- })
310
- }
311
- ) }),
312
- /* @__PURE__ */ i.jsxs(re, { children: [
313
- w && /* @__PURE__ */ i.jsx(d, { variant: (s == null ? void 0 : s.variant) ?? "primary", onClick: s == null ? void 0 : s.onPrimaryActionClick, children: s == null ? void 0 : s.label }),
314
- j && /* @__PURE__ */ i.jsx(d, { variant: (n == null ? void 0 : n.variant) ?? "light-primary", onClick: n == null ? void 0 : n.onSecondaryActionClick, children: n == null ? void 0 : n.label })
315
- ] })
316
- ] }),
317
- v && /* @__PURE__ */ i.jsxs(J, { children: [
318
- /* @__PURE__ */ i.jsxs(V, { children: [
319
- /* @__PURE__ */ i.jsx(K, { children: z }),
320
- /* @__PURE__ */ i.jsx(Q, { children: C })
320
+ r.id
321
+ );
322
+ })
323
+ }
324
+ ) }),
325
+ I,
326
+ /* @__PURE__ */ i.jsxs(le, { children: [
327
+ B && /* @__PURE__ */ i.jsx(b, { variant: (n == null ? void 0 : n.variant) ?? "primary", onClick: n == null ? void 0 : n.onPrimaryActionClick, children: n == null ? void 0 : n.label }),
328
+ k && /* @__PURE__ */ i.jsx(b, { variant: (s == null ? void 0 : s.variant) ?? "light-primary", onClick: s == null ? void 0 : s.onSecondaryActionClick, children: s == null ? void 0 : s.label })
329
+ ] })
321
330
  ] }),
322
- $,
323
- /* @__PURE__ */ i.jsx(O, { children: u.map((t, l) => {
324
- const x = t.variant ?? "included";
325
- return /* @__PURE__ */ i.jsxs(A, { children: [
326
- /* @__PURE__ */ i.jsx(ee, { $variant: x, children: x === "included" ? /* @__PURE__ */ i.jsx(S, {}) : /* @__PURE__ */ i.jsx(T, {}) }),
327
- /* @__PURE__ */ i.jsx(ie, { children: t.label })
328
- ] }, `${t.label}-${l}`);
329
- }) })
330
- ] })
331
- ] });
331
+ S && /* @__PURE__ */ i.jsxs(_, { children: [
332
+ /* @__PURE__ */ i.jsxs(G, { children: [
333
+ /* @__PURE__ */ i.jsx(A, { children: H }),
334
+ /* @__PURE__ */ i.jsx(ee, { children: T })
335
+ ] }),
336
+ v,
337
+ /* @__PURE__ */ i.jsx(M, { features: C })
338
+ ] })
339
+ ] });
340
+ };
332
341
  export {
333
- fe as default
342
+ $e as default
334
343
  };
@@ -157,3 +157,5 @@ export { default as PriceCard } from './PriceCard';
157
157
  export type { PriceCardProps, PriceCardFeature, PriceCardBadge } from './PriceCard';
158
158
  export { default as CallOutBox } from './CallOutBox';
159
159
  export type { CalloutConfig, CalloutVariant } from './CallOutBox';
160
+ export { default as FeaturesList } from './FeaturesList';
161
+ export type { FeaturesListProps } from './FeaturesList';