@bigbinary/neeto-site-blocks 2.0.8 → 2.0.10

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/index.js CHANGED
@@ -42,293 +42,6 @@ var ArrowButton = function ArrowButton(_ref) {
42
42
  });
43
43
  };
44
44
 
45
- var COMPONENTS = {
46
- h1: "h1",
47
- h2: "h2",
48
- h3: "h3",
49
- h4: "h4",
50
- h5: "h5",
51
- h6: "h6",
52
- p: "p",
53
- span: "span",
54
- b: "b",
55
- strong: "strong",
56
- i: "i",
57
- em: "em",
58
- mark: "mark",
59
- del: "del",
60
- s: "s",
61
- ins: "ins",
62
- sub: "sub",
63
- sup: "sup",
64
- u: "u",
65
- code: "code",
66
- blockquote: "blockquote",
67
- div: "div"
68
- };
69
- var SPACING_VALUES = {
70
- none: 0,
71
- "2xs": 8,
72
- xs: 12,
73
- sm: 16,
74
- md: 20,
75
- lg: 24,
76
- xl: 32,
77
- "2xl": 36,
78
- "3xl": 40,
79
- "4xl": 48,
80
- "5xl": 64,
81
- "6xl": 80,
82
- "7xl": 96,
83
- "8xl": 112,
84
- "9xl": 128,
85
- "10xl": 144,
86
- "11xl": 160,
87
- "12xl": 176,
88
- "13xl": 192
89
- };
90
- var BACKGROUND_IMAGE_SIZE_VALUES = {
91
- auto: "auto",
92
- cover: "cover",
93
- contain: "contain",
94
- inherit: "inherit",
95
- initial: "initial",
96
- revert: "revert",
97
- unset: "unset"
98
- };
99
- var BACKGROUND_IMAGE_POSITION_VALUES = {
100
- "top-left": "top-left",
101
- "top-center": "top-center",
102
- "top-right": "top-right",
103
- "center-left": "center-left",
104
- center: "center",
105
- "center-right": "center-right",
106
- "bottom-left": "bottom-left",
107
- "bottom-center": "bottom-center",
108
- "bottom-right": "bottom-right"
109
- };
110
- var BACKGROUND_IMAGE_REPEAT_VALUES = {
111
- repeat: "repeat",
112
- "no-repeat": "no-repeat",
113
- "repeat-x": "repeat-x",
114
- "repeat-y": "repeat-y"
115
- };
116
- var TEXT_ALIGN_VALUES = {
117
- left: "left",
118
- center: "center",
119
- right: "right",
120
- justify: "justify"
121
- };
122
- var ICON_SIZE_VALUES = {
123
- "4xs": 16,
124
- "3xs": 20,
125
- "2xs": 24,
126
- xs: 28,
127
- sm: 32,
128
- md: 36,
129
- lg: 40,
130
- xl: 44
131
- };
132
- var LOGO_WIDTH_VALUES = {
133
- xs: 10,
134
- sm: 14,
135
- md: 20,
136
- lg: 24,
137
- xl: 28,
138
- "2xl": 32,
139
- "3xl": 36,
140
- "4xl": 40,
141
- "5xl": 44,
142
- "6xl": 48,
143
- "7xl": 52,
144
- "8xl": 56,
145
- "9xl": 60,
146
- "10xl": 64
147
- };
148
- var IMAGE_WIDTH_VALUES = {
149
- "3xs": 15,
150
- "2xs": 20,
151
- xs: 25,
152
- sm: 33,
153
- md: 40,
154
- lg: 50,
155
- xl: 66,
156
- "2xl": 75,
157
- "3xl": 80,
158
- full: 100
159
- };
160
- var BORDER_STYLE_VALUES = {
161
- none: "none",
162
- solid: "solid",
163
- dashed: "dashed"
164
- };
165
- var BORDER_WIDTH_VALUES = {
166
- none: 0,
167
- "3xs": 0.5,
168
- "2xs": 1,
169
- xs: 2,
170
- sm: 4,
171
- md: 8,
172
- lg: 12,
173
- xl: 16
174
- };
175
- var BORDER_RADIUS_VALUES = {
176
- none: 0,
177
- xs: 1,
178
- sm: 2,
179
- md: 6,
180
- lg: 8,
181
- xl: 12,
182
- "2xl": 16,
183
- full: 9999
184
- };
185
- var FONT_SIZE_VALUES = {
186
- xs: "0.75em",
187
- sm: "0.875em",
188
- base: "1em",
189
- lg: "1.125em",
190
- xl: "1.25em",
191
- "2xl": "1.5em",
192
- "3xl": "1.75em",
193
- "4xl": "2em",
194
- "5xl": "2.25em",
195
- "6xl": "2.5em",
196
- "7xl": "3em",
197
- "8xl": "3.75em",
198
- "9xl": "4.5em"
199
- };
200
- var FONT_FAMILY_VALUES = {
201
- Inter: "Inter",
202
- Roboto: "Roboto",
203
- OpenSans: "Open Sans",
204
- Lato: "Lato",
205
- Monsterrat: "Montserrat",
206
- NotoSerif: "Noto Serif",
207
- EBGaramond: "EB Garamond"
208
- };
209
- var FONT_WEIGHT_VALUES = {
210
- 300: 300,
211
- 400: 400,
212
- 500: 500,
213
- 600: 600,
214
- 700: 700,
215
- 800: 800
216
- };
217
- var LINE_HEIGHT_VALUES = {
218
- none: 1,
219
- tight: 1.25,
220
- snug: 1.375,
221
- normal: 1.5,
222
- relaxed: 1.625,
223
- loose: 2
224
- };
225
- var LETTER_SPACING_VALUES = {
226
- tighter: "-0.05em",
227
- tight: "-0.025em",
228
- normal: 0,
229
- wide: "0.025em",
230
- wider: "0.05em",
231
- widest: "0.1em"
232
- };
233
- var PRICING_PLANS = {
234
- monthly: "monthly",
235
- yearly: "yearly",
236
- monthly_and_yearly: "monthly_and_yearly"
237
- };
238
- var DEFAULT_BUTTON_STYLES = {
239
- fontSize: FONT_SIZE_VALUES.sm,
240
- fontWeight: FONT_WEIGHT_VALUES[500],
241
- border: {
242
- borderWidth: 0,
243
- borderStyle: "solid"
244
- },
245
- borderRadius: BORDER_RADIUS_VALUES.sm,
246
- paddingHorizontal: SPACING_VALUES["sm"],
247
- paddingVertical: SPACING_VALUES["2xs"],
248
- letterSpacing: "wide"
249
- };
250
- var DEFAULT_TYPOGRAPHY_STYLES = {
251
- fontSize: FONT_SIZE_VALUES.md,
252
- fontWeight: FONT_WEIGHT_VALUES[400],
253
- marginTop: SPACING_VALUES.none,
254
- marginBottom: SPACING_VALUES.none,
255
- marginLeft: SPACING_VALUES.none,
256
- marginRight: SPACING_VALUES.none,
257
- lineHeight: LINE_HEIGHT_VALUES.none,
258
- letterSpacing: LETTER_SPACING_VALUES.normal,
259
- textAlign: "left"
260
- };
261
- var DEFAULT_LINK_STYLES = {
262
- fontSize: FONT_SIZE_VALUES.sm,
263
- fontWeight: FONT_WEIGHT_VALUES.normal,
264
- letterSpacing: LETTER_SPACING_VALUES.normal,
265
- marginBottom: 0,
266
- marginTop: 0
267
- };
268
- var IMAGE_POSITIONS = {
269
- top: "top",
270
- bottom: "bottom",
271
- left: "left",
272
- right: "right",
273
- center: "center"
274
- };
275
- var LOGO_SIZE_VALUES = {
276
- xs: 10,
277
- sm: 14,
278
- md: 20,
279
- lg: 24,
280
- xl: 28,
281
- "2xl": 32,
282
- "3xl": 36,
283
- "4xl": 40,
284
- "5xl": 44,
285
- "6xl": 48,
286
- "7xl": 52,
287
- "8xl": 56,
288
- "9xl": 62,
289
- "10xl": 70,
290
- "11xl": 80
291
- };
292
- var IMAGE_FIT_VALUES = {
293
- auto: "auto",
294
- cover: "cover",
295
- contain: "contain"
296
- };
297
- var BUTTON_ALIGN_VALUES = {
298
- left: "left",
299
- center: "center",
300
- right: "right"
301
- };
302
-
303
- var index$1 = /*#__PURE__*/Object.freeze({
304
- __proto__: null,
305
- COMPONENTS: COMPONENTS,
306
- SPACING_VALUES: SPACING_VALUES,
307
- BACKGROUND_IMAGE_SIZE_VALUES: BACKGROUND_IMAGE_SIZE_VALUES,
308
- BACKGROUND_IMAGE_POSITION_VALUES: BACKGROUND_IMAGE_POSITION_VALUES,
309
- BACKGROUND_IMAGE_REPEAT_VALUES: BACKGROUND_IMAGE_REPEAT_VALUES,
310
- TEXT_ALIGN_VALUES: TEXT_ALIGN_VALUES,
311
- ICON_SIZE_VALUES: ICON_SIZE_VALUES,
312
- LOGO_WIDTH_VALUES: LOGO_WIDTH_VALUES,
313
- IMAGE_WIDTH_VALUES: IMAGE_WIDTH_VALUES,
314
- BORDER_STYLE_VALUES: BORDER_STYLE_VALUES,
315
- BORDER_WIDTH_VALUES: BORDER_WIDTH_VALUES,
316
- BORDER_RADIUS_VALUES: BORDER_RADIUS_VALUES,
317
- FONT_SIZE_VALUES: FONT_SIZE_VALUES,
318
- FONT_FAMILY_VALUES: FONT_FAMILY_VALUES,
319
- FONT_WEIGHT_VALUES: FONT_WEIGHT_VALUES,
320
- LINE_HEIGHT_VALUES: LINE_HEIGHT_VALUES,
321
- LETTER_SPACING_VALUES: LETTER_SPACING_VALUES,
322
- PRICING_PLANS: PRICING_PLANS,
323
- DEFAULT_BUTTON_STYLES: DEFAULT_BUTTON_STYLES,
324
- DEFAULT_TYPOGRAPHY_STYLES: DEFAULT_TYPOGRAPHY_STYLES,
325
- DEFAULT_LINK_STYLES: DEFAULT_LINK_STYLES,
326
- IMAGE_POSITIONS: IMAGE_POSITIONS,
327
- LOGO_SIZE_VALUES: LOGO_SIZE_VALUES,
328
- IMAGE_FIT_VALUES: IMAGE_FIT_VALUES,
329
- BUTTON_ALIGN_VALUES: BUTTON_ALIGN_VALUES
330
- });
331
-
332
45
  var _excluded$3M = ["size"];
333
46
  function ownKeys$3Q(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
334
47
  function _objectSpread$3Q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3Q(Object(t), !0).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3Q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -2842,6 +2555,293 @@ var OutlineIcons = /*#__PURE__*/Object.freeze({
2842
2555
  Zcool: Zcool$1
2843
2556
  });
2844
2557
 
2558
+ var COMPONENTS = {
2559
+ h1: "h1",
2560
+ h2: "h2",
2561
+ h3: "h3",
2562
+ h4: "h4",
2563
+ h5: "h5",
2564
+ h6: "h6",
2565
+ p: "p",
2566
+ span: "span",
2567
+ b: "b",
2568
+ strong: "strong",
2569
+ i: "i",
2570
+ em: "em",
2571
+ mark: "mark",
2572
+ del: "del",
2573
+ s: "s",
2574
+ ins: "ins",
2575
+ sub: "sub",
2576
+ sup: "sup",
2577
+ u: "u",
2578
+ code: "code",
2579
+ blockquote: "blockquote",
2580
+ div: "div"
2581
+ };
2582
+ var SPACING_VALUES = {
2583
+ none: 0,
2584
+ "2xs": 8,
2585
+ xs: 12,
2586
+ sm: 16,
2587
+ md: 20,
2588
+ lg: 24,
2589
+ xl: 32,
2590
+ "2xl": 36,
2591
+ "3xl": 40,
2592
+ "4xl": 48,
2593
+ "5xl": 64,
2594
+ "6xl": 80,
2595
+ "7xl": 96,
2596
+ "8xl": 112,
2597
+ "9xl": 128,
2598
+ "10xl": 144,
2599
+ "11xl": 160,
2600
+ "12xl": 176,
2601
+ "13xl": 192
2602
+ };
2603
+ var BACKGROUND_IMAGE_SIZE_VALUES = {
2604
+ auto: "auto",
2605
+ cover: "cover",
2606
+ contain: "contain",
2607
+ inherit: "inherit",
2608
+ initial: "initial",
2609
+ revert: "revert",
2610
+ unset: "unset"
2611
+ };
2612
+ var BACKGROUND_IMAGE_POSITION_VALUES = {
2613
+ "top-left": "top-left",
2614
+ "top-center": "top-center",
2615
+ "top-right": "top-right",
2616
+ "center-left": "center-left",
2617
+ center: "center",
2618
+ "center-right": "center-right",
2619
+ "bottom-left": "bottom-left",
2620
+ "bottom-center": "bottom-center",
2621
+ "bottom-right": "bottom-right"
2622
+ };
2623
+ var BACKGROUND_IMAGE_REPEAT_VALUES = {
2624
+ repeat: "repeat",
2625
+ "no-repeat": "no-repeat",
2626
+ "repeat-x": "repeat-x",
2627
+ "repeat-y": "repeat-y"
2628
+ };
2629
+ var TEXT_ALIGN_VALUES = {
2630
+ left: "left",
2631
+ center: "center",
2632
+ right: "right",
2633
+ justify: "justify"
2634
+ };
2635
+ var ICON_SIZE_VALUES = {
2636
+ "4xs": 16,
2637
+ "3xs": 20,
2638
+ "2xs": 24,
2639
+ xs: 28,
2640
+ sm: 32,
2641
+ md: 36,
2642
+ lg: 40,
2643
+ xl: 44
2644
+ };
2645
+ var LOGO_WIDTH_VALUES = {
2646
+ xs: 10,
2647
+ sm: 14,
2648
+ md: 20,
2649
+ lg: 24,
2650
+ xl: 28,
2651
+ "2xl": 32,
2652
+ "3xl": 36,
2653
+ "4xl": 40,
2654
+ "5xl": 44,
2655
+ "6xl": 48,
2656
+ "7xl": 52,
2657
+ "8xl": 56,
2658
+ "9xl": 60,
2659
+ "10xl": 64
2660
+ };
2661
+ var IMAGE_WIDTH_VALUES = {
2662
+ "3xs": 15,
2663
+ "2xs": 20,
2664
+ xs: 25,
2665
+ sm: 33,
2666
+ md: 40,
2667
+ lg: 50,
2668
+ xl: 66,
2669
+ "2xl": 75,
2670
+ "3xl": 80,
2671
+ full: 100
2672
+ };
2673
+ var BORDER_STYLE_VALUES = {
2674
+ none: "none",
2675
+ solid: "solid",
2676
+ dashed: "dashed"
2677
+ };
2678
+ var BORDER_WIDTH_VALUES = {
2679
+ none: 0,
2680
+ "3xs": 0.5,
2681
+ "2xs": 1,
2682
+ xs: 2,
2683
+ sm: 4,
2684
+ md: 8,
2685
+ lg: 12,
2686
+ xl: 16
2687
+ };
2688
+ var BORDER_RADIUS_VALUES = {
2689
+ none: 0,
2690
+ xs: 1,
2691
+ sm: 2,
2692
+ md: 6,
2693
+ lg: 8,
2694
+ xl: 12,
2695
+ "2xl": 16,
2696
+ full: 9999
2697
+ };
2698
+ var FONT_SIZE_VALUES = {
2699
+ xs: "0.75em",
2700
+ sm: "0.875em",
2701
+ base: "1em",
2702
+ lg: "1.125em",
2703
+ xl: "1.25em",
2704
+ "2xl": "1.5em",
2705
+ "3xl": "1.75em",
2706
+ "4xl": "2em",
2707
+ "5xl": "2.25em",
2708
+ "6xl": "2.5em",
2709
+ "7xl": "3em",
2710
+ "8xl": "3.75em",
2711
+ "9xl": "4.5em"
2712
+ };
2713
+ var FONT_FAMILY_VALUES = {
2714
+ Inter: "Inter",
2715
+ Roboto: "Roboto",
2716
+ OpenSans: "Open Sans",
2717
+ Lato: "Lato",
2718
+ Monsterrat: "Montserrat",
2719
+ NotoSerif: "Noto Serif",
2720
+ EBGaramond: "EB Garamond"
2721
+ };
2722
+ var FONT_WEIGHT_VALUES = {
2723
+ 300: 300,
2724
+ 400: 400,
2725
+ 500: 500,
2726
+ 600: 600,
2727
+ 700: 700,
2728
+ 800: 800
2729
+ };
2730
+ var LINE_HEIGHT_VALUES = {
2731
+ none: 1,
2732
+ tight: 1.25,
2733
+ snug: 1.375,
2734
+ normal: 1.5,
2735
+ relaxed: 1.625,
2736
+ loose: 2
2737
+ };
2738
+ var LETTER_SPACING_VALUES = {
2739
+ tighter: "-0.05em",
2740
+ tight: "-0.025em",
2741
+ normal: 0,
2742
+ wide: "0.025em",
2743
+ wider: "0.05em",
2744
+ widest: "0.1em"
2745
+ };
2746
+ var PRICING_PLANS = {
2747
+ monthly: "monthly",
2748
+ yearly: "yearly",
2749
+ monthly_and_yearly: "monthly_and_yearly"
2750
+ };
2751
+ var DEFAULT_BUTTON_STYLES = {
2752
+ fontSize: FONT_SIZE_VALUES.sm,
2753
+ fontWeight: FONT_WEIGHT_VALUES[500],
2754
+ border: {
2755
+ borderWidth: 0,
2756
+ borderStyle: "solid"
2757
+ },
2758
+ borderRadius: BORDER_RADIUS_VALUES.sm,
2759
+ paddingHorizontal: SPACING_VALUES["sm"],
2760
+ paddingVertical: SPACING_VALUES["2xs"],
2761
+ letterSpacing: "wide"
2762
+ };
2763
+ var DEFAULT_TYPOGRAPHY_STYLES = {
2764
+ fontSize: FONT_SIZE_VALUES.md,
2765
+ fontWeight: FONT_WEIGHT_VALUES[400],
2766
+ marginTop: SPACING_VALUES.none,
2767
+ marginBottom: SPACING_VALUES.none,
2768
+ marginLeft: SPACING_VALUES.none,
2769
+ marginRight: SPACING_VALUES.none,
2770
+ lineHeight: LINE_HEIGHT_VALUES.none,
2771
+ letterSpacing: LETTER_SPACING_VALUES.normal,
2772
+ textAlign: "left"
2773
+ };
2774
+ var DEFAULT_LINK_STYLES = {
2775
+ fontSize: FONT_SIZE_VALUES.sm,
2776
+ fontWeight: FONT_WEIGHT_VALUES.normal,
2777
+ letterSpacing: LETTER_SPACING_VALUES.normal,
2778
+ marginBottom: 0,
2779
+ marginTop: 0
2780
+ };
2781
+ var IMAGE_POSITIONS = {
2782
+ top: "top",
2783
+ bottom: "bottom",
2784
+ left: "left",
2785
+ right: "right",
2786
+ center: "center"
2787
+ };
2788
+ var LOGO_SIZE_VALUES = {
2789
+ xs: 10,
2790
+ sm: 14,
2791
+ md: 20,
2792
+ lg: 24,
2793
+ xl: 28,
2794
+ "2xl": 32,
2795
+ "3xl": 36,
2796
+ "4xl": 40,
2797
+ "5xl": 44,
2798
+ "6xl": 48,
2799
+ "7xl": 52,
2800
+ "8xl": 56,
2801
+ "9xl": 62,
2802
+ "10xl": 70,
2803
+ "11xl": 80
2804
+ };
2805
+ var IMAGE_FIT_VALUES = {
2806
+ auto: "auto",
2807
+ cover: "cover",
2808
+ contain: "contain"
2809
+ };
2810
+ var BUTTON_ALIGN_VALUES = {
2811
+ left: "left",
2812
+ center: "center",
2813
+ right: "right"
2814
+ };
2815
+
2816
+ var index$1 = /*#__PURE__*/Object.freeze({
2817
+ __proto__: null,
2818
+ COMPONENTS: COMPONENTS,
2819
+ SPACING_VALUES: SPACING_VALUES,
2820
+ BACKGROUND_IMAGE_SIZE_VALUES: BACKGROUND_IMAGE_SIZE_VALUES,
2821
+ BACKGROUND_IMAGE_POSITION_VALUES: BACKGROUND_IMAGE_POSITION_VALUES,
2822
+ BACKGROUND_IMAGE_REPEAT_VALUES: BACKGROUND_IMAGE_REPEAT_VALUES,
2823
+ TEXT_ALIGN_VALUES: TEXT_ALIGN_VALUES,
2824
+ ICON_SIZE_VALUES: ICON_SIZE_VALUES,
2825
+ LOGO_WIDTH_VALUES: LOGO_WIDTH_VALUES,
2826
+ IMAGE_WIDTH_VALUES: IMAGE_WIDTH_VALUES,
2827
+ BORDER_STYLE_VALUES: BORDER_STYLE_VALUES,
2828
+ BORDER_WIDTH_VALUES: BORDER_WIDTH_VALUES,
2829
+ BORDER_RADIUS_VALUES: BORDER_RADIUS_VALUES,
2830
+ FONT_SIZE_VALUES: FONT_SIZE_VALUES,
2831
+ FONT_FAMILY_VALUES: FONT_FAMILY_VALUES,
2832
+ FONT_WEIGHT_VALUES: FONT_WEIGHT_VALUES,
2833
+ LINE_HEIGHT_VALUES: LINE_HEIGHT_VALUES,
2834
+ LETTER_SPACING_VALUES: LETTER_SPACING_VALUES,
2835
+ PRICING_PLANS: PRICING_PLANS,
2836
+ DEFAULT_BUTTON_STYLES: DEFAULT_BUTTON_STYLES,
2837
+ DEFAULT_TYPOGRAPHY_STYLES: DEFAULT_TYPOGRAPHY_STYLES,
2838
+ DEFAULT_LINK_STYLES: DEFAULT_LINK_STYLES,
2839
+ IMAGE_POSITIONS: IMAGE_POSITIONS,
2840
+ LOGO_SIZE_VALUES: LOGO_SIZE_VALUES,
2841
+ IMAGE_FIT_VALUES: IMAGE_FIT_VALUES,
2842
+ BUTTON_ALIGN_VALUES: BUTTON_ALIGN_VALUES
2843
+ });
2844
+
2845
2845
  var _excluded$2b = ["size"];
2846
2846
  function ownKeys$2f(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
2847
2847
  function _objectSpread$2f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2f(Object(t), !0).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -5524,6 +5524,9 @@ var isLinkHighlighted = function isLinkHighlighted(to, currentPath) {
5524
5524
  if (!(to && currentPath)) return false;
5525
5525
  return currentPath.pathName === to && isEmpty(currentPath.hash) || currentPath.hash === to;
5526
5526
  };
5527
+ var normalizeExternalLink = function normalizeExternalLink(href) {
5528
+ return /^(https?:\/\/|\/)/i.test(href) ? href : "http://".concat(href);
5529
+ };
5527
5530
 
5528
5531
  function ownKeys$G(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5529
5532
  function _objectSpread$G(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$G(Object(t), !0).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$G(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -7346,6 +7349,7 @@ var LinkElement = function LinkElement(_ref) {
7346
7349
  }, otherProps);
7347
7350
  if (action === "external") {
7348
7351
  return /*#__PURE__*/jsxs(StyledAnchor, _objectSpread$z(_objectSpread$z({}, commonProps), {}, {
7352
+ href: normalizeExternalLink(commonProps.href),
7349
7353
  target: "_blank",
7350
7354
  children: [label, Icon && /*#__PURE__*/jsx(Icon, {}), children]
7351
7355
  }));
@@ -7421,7 +7425,7 @@ var Dropdown = function Dropdown(_ref) {
7421
7425
  paddingHorizontal: paddingHorizontal,
7422
7426
  totalLength: totalLength,
7423
7427
  children: [/*#__PURE__*/jsxs("div", {
7424
- className: "flex cursor-pointer items-center gap-x-2 lg:h-full lg:justify-center lg:gap-x-0",
7428
+ className: "flex cursor-pointer items-center justify-between gap-x-2 lg:h-full lg:justify-center lg:gap-x-0",
7425
7429
  id: "dropdown-".concat(index),
7426
7430
  onClick: function onClick() {
7427
7431
  return isSmallerScreen && setIsOpen(!isOpen);
@@ -7437,6 +7441,7 @@ var Dropdown = function Dropdown(_ref) {
7437
7441
  label: label,
7438
7442
  action: isLargerScreen ? "external" : "",
7439
7443
  as: "h6",
7444
+ className: "[&::before]:hidden md:[&::before]:block",
7440
7445
  id: "header-with-dropdown-links-link-".concat(index, "-link"),
7441
7446
  style: design
7442
7447
  }, otherProps)), /*#__PURE__*/jsx(motion.div, {
@@ -7469,7 +7474,9 @@ var Dropdown = function Dropdown(_ref) {
7469
7474
  },
7470
7475
  children: renderDropdownItems("px-4 py-2 hover:bg-gray-100 last:rounded-b-md")
7471
7476
  }), /*#__PURE__*/jsx("div", {
7472
- className: "block lg:hidden lg:pr-8",
7477
+ className: classnames({
7478
+ "mt-4 block bg-gray-100/70 p-2 lg:hidden": isOpen
7479
+ }),
7473
7480
  children: /*#__PURE__*/jsx(AnimatePresence, {
7474
7481
  children: isOpen && /*#__PURE__*/jsx(motion.div, {
7475
7482
  animate: {
@@ -7488,7 +7495,7 @@ var Dropdown = function Dropdown(_ref) {
7488
7495
  transition: {
7489
7496
  duration: 0.3
7490
7497
  },
7491
- children: renderDropdownItems("rounded-md px-4 py-2 hover:bg-gray-100")
7498
+ children: renderDropdownItems("rounded-md p-2 hover:bg-white text-sm")
7492
7499
  })
7493
7500
  })
7494
7501
  })]
@@ -16250,6 +16257,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
16250
16257
  className: "col-span-8 col-start-5 flex justify-end gap-x-2 sm:col-span-4 sm:col-start-9 lg:col-span-3 lg:col-start-10",
16251
16258
  children: buttons.map(function (button, index) {
16252
16259
  return /*#__PURE__*/jsx(Button$1, _objectSpread$9({
16260
+ className: "flex-shrink-0",
16253
16261
  id: "header-with-buttons-buttons-".concat(index, "-button"),
16254
16262
  style: button.type === "primary" ? design.primaryButtons : design.secondaryButtons
16255
16263
  }, _objectSpread$9(_objectSpread$9({
@@ -16257,33 +16265,68 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
16257
16265
  }, button), otherProps)), getUniqueKey(button.label, index));
16258
16266
  })
16259
16267
  }), /*#__PURE__*/jsx("button", {
16260
- className: classnames("col-span-1 col-start-1 flex items-center transition-all lg:hidden", {
16261
- "rotate-90 transform": isMenuOpen
16262
- }),
16268
+ className: "col-span-1 col-start-1 flex items-center transition-all lg:hidden",
16263
16269
  onClick: function onClick() {
16264
16270
  return setIsMenuOpen(function (open) {
16265
16271
  return !open;
16266
16272
  });
16267
16273
  },
16268
- children: !isMenuOpen ? /*#__PURE__*/jsx(Menu, {
16269
- className: "fadeIn",
16270
- fill: design.hamburgerMenu.color,
16271
- size: 32
16272
- }) : /*#__PURE__*/jsx(Close, {
16274
+ children: /*#__PURE__*/jsx(Menu, {
16273
16275
  className: "fadeIn",
16274
16276
  fill: design.hamburgerMenu.color,
16275
16277
  size: 32
16276
16278
  })
16277
- }), isMenuOpen && /*#__PURE__*/jsx("div", {
16278
- className: "fadeIn col-span-12 col-start-1 my-6 flex flex-col gap-y-6 lg:hidden",
16279
+ })]
16280
+ }), /*#__PURE__*/jsx("div", {
16281
+ role: "button",
16282
+ tabIndex: isMenuOpen ? 0 : -1,
16283
+ className: classnames("fixed inset-0 z-[999] bg-black/60 transition-opacity duration-300 lg:hidden", isMenuOpen ? "opacity-70" : "pointer-events-none opacity-0"),
16284
+ onClick: function onClick() {
16285
+ return setIsMenuOpen(false);
16286
+ }
16287
+ }), /*#__PURE__*/jsxs("div", {
16288
+ style: {
16289
+ backgroundColor: design.body.backgroundColor
16290
+ },
16291
+ className: classnames("fixed inset-y-0 start-0 z-[999] flex flex-col overflow-x-hidden shadow-md transition-all duration-500 ease-in-out lg:hidden", isMenuOpen ? "w-[80%]" : "w-0"),
16292
+ onClick: function onClick(e) {
16293
+ return e.stopPropagation();
16294
+ },
16295
+ children: [/*#__PURE__*/jsxs("div", {
16296
+ className: "flex items-center justify-between gap-6 px-6 py-6",
16297
+ children: [/*#__PURE__*/jsx(Link, _objectSpread$9(_objectSpread$9({
16298
+ action: properties.logo.action,
16299
+ to: properties.logo.to
16300
+ }, otherProps), {}, {
16301
+ children: /*#__PURE__*/jsx(StyledImage$1, {
16302
+ image: image,
16303
+ priority: true,
16304
+ alt: properties.logo.alt,
16305
+ className: "sm:max-h-18 max-h-16 lg:max-h-20",
16306
+ design: design.logo,
16307
+ src: properties.logo.src
16308
+ })
16309
+ })), /*#__PURE__*/jsx("button", {
16310
+ className: "flex items-center transition-opacity duration-300 lg:hidden",
16311
+ onClick: function onClick() {
16312
+ return setIsMenuOpen(false);
16313
+ },
16314
+ children: /*#__PURE__*/jsx(Close, {
16315
+ className: "fadeIn",
16316
+ fill: design.hamburgerMenu.color,
16317
+ size: 32
16318
+ })
16319
+ })]
16320
+ }), /*#__PURE__*/jsx("nav", {
16321
+ className: classnames("flex flex-grow flex-col overflow-y-auto px-6 pb-6 transition-opacity delay-200 duration-300", isMenuOpen ? "opacity-100" : "opacity-0"),
16279
16322
  children: properties.links.map(function (button, index) {
16280
16323
  return /*#__PURE__*/jsx(Link, _objectSpread$9({
16281
- className: "w-fit",
16324
+ className: "w-full py-4 hover:opacity-80 [&::before]:!bottom-0 [&::before]:!w-full [&::before]:!opacity-40",
16282
16325
  id: "header-with-buttons-".concat(index, "-link"),
16283
16326
  isHighlighted: isLinkHighlighted(button.to, currentPath),
16284
16327
  style: mergeRight(design.links, {
16285
16328
  fontSize: "1em",
16286
- fontWeight: "500"
16329
+ fontWeight: "600"
16287
16330
  })
16288
16331
  }, _objectSpread$9(_objectSpread$9({
16289
16332
  index: index,
@@ -16385,39 +16428,87 @@ var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
16385
16428
  }, otherProps)), getUniqueKey(dropdownLink.label, dropdownLink.to, index));
16386
16429
  })
16387
16430
  }), /*#__PURE__*/jsx("button", {
16388
- className: classnames("col-span-1 col-start-1 flex items-center transition-all lg:hidden", {
16389
- "rotate-90 transform": isMenuOpen
16390
- }),
16431
+ className: "col-span-1 col-start-1 flex items-center transition-all lg:hidden",
16391
16432
  onClick: function onClick() {
16392
16433
  return setIsMenuOpen(function (open) {
16393
16434
  return !open;
16394
16435
  });
16395
16436
  },
16396
- children: !isMenuOpen ? /*#__PURE__*/jsx(Menu, {
16437
+ children: /*#__PURE__*/jsx(Menu, {
16397
16438
  className: "fadeIn",
16398
16439
  fill: design.hamburgerMenu.color,
16399
16440
  size: 32
16400
- }) : /*#__PURE__*/jsx(Close, {
16441
+ })
16442
+ })]
16443
+ })
16444
+ }), /*#__PURE__*/jsx("div", {
16445
+ role: "button",
16446
+ tabIndex: isMenuOpen ? 0 : -1,
16447
+ className: classnames("fixed inset-0 z-[999] bg-black/60 transition-opacity duration-300 lg:hidden", isMenuOpen ? "opacity-70" : "pointer-events-none opacity-0"),
16448
+ onClick: function onClick() {
16449
+ return setIsMenuOpen(false);
16450
+ }
16451
+ }), /*#__PURE__*/jsxs("div", {
16452
+ style: {
16453
+ backgroundColor: design.body.backgroundColor
16454
+ },
16455
+ className: classnames("fixed inset-y-0 start-0 z-[999] flex flex-col overflow-x-hidden shadow-md transition-all duration-500 ease-in-out lg:hidden", isMenuOpen ? "w-[80%]" : "w-0"),
16456
+ onClick: function onClick(e) {
16457
+ return e.stopPropagation();
16458
+ },
16459
+ children: [/*#__PURE__*/jsxs("div", {
16460
+ className: "flex items-center justify-between gap-6 px-6 py-6",
16461
+ children: [/*#__PURE__*/jsxs(Link, _objectSpread$8(_objectSpread$8({
16462
+ action: properties.logo.action,
16463
+ className: "flex w-full gap-x-2",
16464
+ to: properties.logo.to
16465
+ }, otherProps), {}, {
16466
+ children: [/*#__PURE__*/jsx(StyledImage$1, {
16467
+ image: image,
16468
+ priority: true,
16469
+ alt: properties.logo.alt,
16470
+ className: "sm:max-h-18 max-h-16 lg:max-h-20",
16471
+ design: design.logo,
16472
+ disableButtonAndLinks: otherProps.disableButtonAndLinks,
16473
+ id: "header-with-dropdown-links-logo",
16474
+ isAddNewPane: otherProps.isAddNewPane,
16475
+ src: properties.logo.src
16476
+ }), /*#__PURE__*/jsx(Typography$1, _objectSpread$8(_objectSpread$8({
16477
+ component: "p",
16478
+ id: "header-with-dropdown-links-logo-title",
16479
+ style: design.logoTitle,
16480
+ className: classnames({
16481
+ "hidden sm:flex": properties.logo.src
16482
+ })
16483
+ }, otherProps), {}, {
16484
+ children: properties.logo.title
16485
+ }))]
16486
+ })), /*#__PURE__*/jsx("button", {
16487
+ className: "flex items-center transition-opacity duration-300 lg:hidden",
16488
+ onClick: function onClick() {
16489
+ return setIsMenuOpen(false);
16490
+ },
16491
+ children: /*#__PURE__*/jsx(Close, {
16401
16492
  className: "fadeIn",
16402
16493
  fill: design.hamburgerMenu.color,
16403
16494
  size: 32
16404
16495
  })
16405
- }), isMenuOpen && /*#__PURE__*/jsx("div", {
16406
- className: "fadeIn col-span-12 col-start-1 my-6 flex flex-col gap-y-6 lg:hidden",
16407
- children: properties.links.map(function (link, index) {
16408
- return /*#__PURE__*/createElement$1(Dropdown, {
16409
- index: index,
16410
- className: "w-fit ",
16411
- dropdownLink: link,
16412
- key: getUniqueKey(link.label, link.to, index),
16413
- design: mergeRight(design.links, {
16414
- fontSize: "1em",
16415
- fontWeight: "500"
16416
- })
16417
- });
16418
- })
16419
16496
  })]
16420
- })
16497
+ }), /*#__PURE__*/jsx("nav", {
16498
+ className: classnames("flex flex-grow flex-col overflow-y-auto px-6 pb-6 transition-opacity delay-200 duration-300", isMenuOpen ? "opacity-100" : "opacity-0"),
16499
+ children: properties.links.map(function (link, index) {
16500
+ return /*#__PURE__*/createElement$1(Dropdown, {
16501
+ index: index,
16502
+ className: "w-full border-b border-gray-200 py-4",
16503
+ dropdownLink: link,
16504
+ key: getUniqueKey(link.label, link.to, index),
16505
+ design: mergeRight(design.links, {
16506
+ fontSize: "1em",
16507
+ fontWeight: "600"
16508
+ })
16509
+ });
16510
+ })
16511
+ })]
16421
16512
  })]
16422
16513
  });
16423
16514
  };
@@ -16509,53 +16600,90 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
16509
16600
  }, _icon), otherProps)), getUniqueKey(_icon.to, index));
16510
16601
  })
16511
16602
  }), /*#__PURE__*/jsx("button", {
16512
- className: classnames("col-span-1 col-start-1 flex items-center transition-all lg:hidden", {
16513
- "rotate-90 transform": isLinksOpen
16514
- }),
16603
+ className: "col-span-1 col-start-1 flex items-center transition-all lg:hidden",
16515
16604
  onClick: function onClick() {
16516
16605
  return setIsLinksOpen(function (open) {
16517
16606
  return !open;
16518
16607
  });
16519
16608
  },
16520
- children: !isLinksOpen ? /*#__PURE__*/jsx(Menu, {
16521
- className: "fadeIn",
16522
- fill: design.hamburgerMenu.color,
16523
- size: 32
16524
- }) : /*#__PURE__*/jsx(Close, {
16609
+ children: /*#__PURE__*/jsx(Menu, {
16525
16610
  className: "fadeIn",
16526
16611
  fill: design.hamburgerMenu.color,
16527
16612
  size: 32
16528
16613
  })
16529
- }), isLinksOpen && /*#__PURE__*/jsxs("div", {
16530
- className: "fadeIn col-span-12 col-start-1 my-6 flex flex-col gap-y-6 lg:hidden",
16531
- children: [links.map(function (icon, index) {
16614
+ })]
16615
+ }), /*#__PURE__*/jsx("div", {
16616
+ role: "button",
16617
+ tabIndex: isLinksOpen ? 0 : -1,
16618
+ className: classnames("fixed inset-0 z-[999] bg-black/60 transition-opacity duration-300 lg:hidden", isLinksOpen ? "opacity-70" : "pointer-events-none opacity-0"),
16619
+ onClick: function onClick() {
16620
+ return setIsLinksOpen(false);
16621
+ }
16622
+ }), /*#__PURE__*/jsxs("div", {
16623
+ style: {
16624
+ backgroundColor: design.body.backgroundColor
16625
+ },
16626
+ className: classnames("fixed inset-y-0 start-0 z-[999] flex flex-col overflow-x-hidden shadow-md transition-all duration-500 ease-in-out lg:hidden", isLinksOpen ? "w-[80%]" : "w-0"),
16627
+ onClick: function onClick(e) {
16628
+ return e.stopPropagation();
16629
+ },
16630
+ children: [/*#__PURE__*/jsxs("div", {
16631
+ className: "flex items-center justify-between gap-6 px-6 py-6",
16632
+ children: [/*#__PURE__*/jsx(Link, _objectSpread$7(_objectSpread$7({
16633
+ action: logo.action,
16634
+ to: logo.to
16635
+ }, otherProps), {}, {
16636
+ children: /*#__PURE__*/jsx(StyledImage$1, {
16637
+ image: image,
16638
+ priority: true,
16639
+ alt: logo.alt,
16640
+ design: design.logo,
16641
+ disableButtonAndLinks: otherProps.disableButtonAndLinks,
16642
+ id: "header-with-icons-logo",
16643
+ isAddNewPane: otherProps.isAddNewPane,
16644
+ src: logo.src
16645
+ })
16646
+ })), /*#__PURE__*/jsx("button", {
16647
+ className: "flex items-center transition-opacity duration-300 lg:hidden",
16648
+ onClick: function onClick() {
16649
+ return setIsLinksOpen(false);
16650
+ },
16651
+ children: /*#__PURE__*/jsx(Close, {
16652
+ className: "fadeIn",
16653
+ fill: design.hamburgerMenu.color,
16654
+ size: 32
16655
+ })
16656
+ })]
16657
+ }), /*#__PURE__*/jsx("nav", {
16658
+ className: classnames("flex flex-grow flex-col overflow-y-auto px-6 pb-6 transition-opacity delay-200 duration-300", isLinksOpen ? "opacity-100" : "opacity-0"),
16659
+ children: links.map(function (icon, index) {
16532
16660
  return /*#__PURE__*/jsx(Link, _objectSpread$7({
16533
- className: "w-fit",
16661
+ className: "w-full py-4 hover:opacity-80 [&::before]:!bottom-0 [&::before]:!w-full [&::before]:!opacity-40",
16534
16662
  id: "header-with-icons-links-".concat(index, "-link"),
16535
16663
  isHighlighted: isLinkHighlighted(icon.to, currentPath),
16536
16664
  setIsMenuOpen: setIsLinksOpen,
16537
16665
  style: mergeRight(design.links, {
16538
16666
  fontSize: "1em",
16539
- fontWeight: "500"
16667
+ fontWeight: "600"
16540
16668
  })
16541
16669
  }, icon), getUniqueKey(icon.url, icon.label, index));
16542
- }), /*#__PURE__*/jsx("div", {
16543
- className: "mt-2 flex items-center gap-x-3 md:hidden",
16544
- children: properties.icons.map(function (_icon2, index) {
16545
- return /*#__PURE__*/jsx(Link, _objectSpread$7(_objectSpread$7({
16546
- disableHovering: true,
16547
- className: "hover:no-underline",
16548
- id: "header-with-icons-icons-".concat(index, "-icon"),
16549
- style: design.icons,
16550
- icon: function icon() {
16551
- return renderIcon(_objectSpread$7({
16552
- name: _icon2.name,
16553
- type: _icon2.type
16554
- }, design.icons));
16555
- }
16556
- }, _icon2), otherProps), getUniqueKey(_icon2.to, index));
16557
- })
16558
- })]
16670
+ })
16671
+ }), /*#__PURE__*/jsx("div", {
16672
+ className: "flex flex-shrink-0 items-center justify-center gap-x-2 p-6 md:hidden",
16673
+ children: properties.icons.map(function (_icon2, index) {
16674
+ return /*#__PURE__*/jsx(Link, _objectSpread$7(_objectSpread$7({
16675
+ disableHovering: true,
16676
+ className: "hover:no-underline",
16677
+ id: "header-with-icons-icons-".concat(index, "-icon"),
16678
+ style: design.icons,
16679
+ icon: function icon() {
16680
+ return renderIcon(_objectSpread$7({
16681
+ name: _icon2.name,
16682
+ type: _icon2.type
16683
+ }, design.icons));
16684
+ }
16685
+ }, _icon2), otherProps), getUniqueKey(_icon2.to, index));
16686
+ })
16559
16687
  })]
16560
16688
  })]
16561
16689
  });
@@ -16645,25 +16773,72 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
16645
16773
  }, button), otherProps)), getUniqueKey(button.label, button.url, index));
16646
16774
  })]
16647
16775
  }), /*#__PURE__*/jsx("button", {
16648
- className: classnames("col-span-1 col-start-1 flex items-center transition-all lg:hidden", {
16649
- "rotate-90 transform": isMenuOpen
16650
- }),
16776
+ className: "col-span-1 col-start-1 flex items-center transition-all lg:hidden",
16651
16777
  onClick: function onClick() {
16652
16778
  return setIsMenuOpen(function (open) {
16653
16779
  return !open;
16654
16780
  });
16655
16781
  },
16656
- children: !isMenuOpen ? /*#__PURE__*/jsx(Menu, {
16657
- className: "fadeIn",
16658
- fill: design.hamburgerMenu.color,
16659
- size: 32
16660
- }) : /*#__PURE__*/jsx(Close, {
16782
+ children: /*#__PURE__*/jsx(Menu, {
16661
16783
  className: "fadeIn",
16662
16784
  fill: design.hamburgerMenu.color,
16663
16785
  size: 32
16664
16786
  })
16665
- }), isMenuOpen && /*#__PURE__*/jsx("div", {
16666
- className: "fadeIn col-span-12 col-start-1 my-6 flex flex-col gap-y-6 lg:hidden",
16787
+ })]
16788
+ }), /*#__PURE__*/jsx("div", {
16789
+ role: "button",
16790
+ tabIndex: isMenuOpen ? 0 : -1,
16791
+ className: classnames("fixed inset-0 z-[999] bg-black/60 transition-opacity duration-300 lg:hidden", isMenuOpen ? "opacity-70" : "pointer-events-none opacity-0"),
16792
+ onClick: function onClick() {
16793
+ return setIsMenuOpen(false);
16794
+ }
16795
+ }), /*#__PURE__*/jsxs("div", {
16796
+ style: {
16797
+ backgroundColor: design.body.backgroundColor
16798
+ },
16799
+ className: classnames("fixed inset-y-0 start-0 z-[999] flex flex-col overflow-x-hidden shadow-md transition-all duration-500 ease-in-out lg:hidden", isMenuOpen ? "w-[80%]" : "w-0"),
16800
+ onClick: function onClick(e) {
16801
+ return e.stopPropagation();
16802
+ },
16803
+ children: [/*#__PURE__*/jsxs("div", {
16804
+ className: "flex items-center justify-between gap-6 px-6 py-6",
16805
+ children: [/*#__PURE__*/jsxs(Link, _objectSpread$6(_objectSpread$6({
16806
+ action: properties.logo.action,
16807
+ className: "flex w-full gap-x-2",
16808
+ to: properties.logo.to
16809
+ }, otherProps), {}, {
16810
+ children: [/*#__PURE__*/jsx(StyledImage$1, {
16811
+ image: image,
16812
+ priority: true,
16813
+ alt: properties.logo.alt,
16814
+ className: "sm:max-h-18 max-h-16 lg:max-h-20",
16815
+ design: design.logo,
16816
+ disableButtonAndLinks: otherProps.disableButtonAndLinks,
16817
+ id: "header-with-logo-title-logo",
16818
+ isAddNewPane: otherProps.isAddNewPane,
16819
+ src: properties.logo.src
16820
+ }), /*#__PURE__*/jsx(Typography$1, {
16821
+ component: "p",
16822
+ id: "header-with-logo-title-logo-title",
16823
+ style: design.logoTitle,
16824
+ className: classnames({
16825
+ "hidden sm:flex": properties.logo.src
16826
+ }),
16827
+ children: properties.logo.title
16828
+ })]
16829
+ })), /*#__PURE__*/jsx("button", {
16830
+ className: "flex items-center transition-opacity duration-300 lg:hidden",
16831
+ onClick: function onClick() {
16832
+ return setIsMenuOpen(false);
16833
+ },
16834
+ children: /*#__PURE__*/jsx(Close, {
16835
+ className: "fadeIn",
16836
+ fill: design.hamburgerMenu.color,
16837
+ size: 32
16838
+ })
16839
+ })]
16840
+ }), /*#__PURE__*/jsx("nav", {
16841
+ className: classnames("flex flex-grow flex-col overflow-y-auto px-6 pb-6 transition-opacity delay-200 duration-300", isMenuOpen ? "opacity-100" : "opacity-0"),
16667
16842
  children: properties.links.map(function (_ref2, index) {
16668
16843
  var label = _ref2.label,
16669
16844
  to = _ref2.to,
@@ -16674,13 +16849,13 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
16674
16849
  label: label,
16675
16850
  setIsMenuOpen: setIsMenuOpen,
16676
16851
  to: to,
16677
- className: "w-fit",
16852
+ className: "w-full py-4 hover:opacity-80 [&::before]:!bottom-0 [&::before]:!w-full [&::before]:!opacity-40",
16678
16853
  id: "header-with-logo-title-links-".concat(index, "-link"),
16679
16854
  isHighlighted: isLinkHighlighted(to, currentPath),
16680
16855
  key: getUniqueKey(to, label, index),
16681
16856
  style: mergeRight(design.links, {
16682
16857
  fontSize: "1em",
16683
- fontWeight: "500"
16858
+ fontWeight: "600"
16684
16859
  })
16685
16860
  }, otherProps));
16686
16861
  })