@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.cjs.js CHANGED
@@ -61,293 +61,6 @@ var ArrowButton = function ArrowButton(_ref) {
61
61
  });
62
62
  };
63
63
 
64
- var COMPONENTS = {
65
- h1: "h1",
66
- h2: "h2",
67
- h3: "h3",
68
- h4: "h4",
69
- h5: "h5",
70
- h6: "h6",
71
- p: "p",
72
- span: "span",
73
- b: "b",
74
- strong: "strong",
75
- i: "i",
76
- em: "em",
77
- mark: "mark",
78
- del: "del",
79
- s: "s",
80
- ins: "ins",
81
- sub: "sub",
82
- sup: "sup",
83
- u: "u",
84
- code: "code",
85
- blockquote: "blockquote",
86
- div: "div"
87
- };
88
- var SPACING_VALUES = {
89
- none: 0,
90
- "2xs": 8,
91
- xs: 12,
92
- sm: 16,
93
- md: 20,
94
- lg: 24,
95
- xl: 32,
96
- "2xl": 36,
97
- "3xl": 40,
98
- "4xl": 48,
99
- "5xl": 64,
100
- "6xl": 80,
101
- "7xl": 96,
102
- "8xl": 112,
103
- "9xl": 128,
104
- "10xl": 144,
105
- "11xl": 160,
106
- "12xl": 176,
107
- "13xl": 192
108
- };
109
- var BACKGROUND_IMAGE_SIZE_VALUES = {
110
- auto: "auto",
111
- cover: "cover",
112
- contain: "contain",
113
- inherit: "inherit",
114
- initial: "initial",
115
- revert: "revert",
116
- unset: "unset"
117
- };
118
- var BACKGROUND_IMAGE_POSITION_VALUES = {
119
- "top-left": "top-left",
120
- "top-center": "top-center",
121
- "top-right": "top-right",
122
- "center-left": "center-left",
123
- center: "center",
124
- "center-right": "center-right",
125
- "bottom-left": "bottom-left",
126
- "bottom-center": "bottom-center",
127
- "bottom-right": "bottom-right"
128
- };
129
- var BACKGROUND_IMAGE_REPEAT_VALUES = {
130
- repeat: "repeat",
131
- "no-repeat": "no-repeat",
132
- "repeat-x": "repeat-x",
133
- "repeat-y": "repeat-y"
134
- };
135
- var TEXT_ALIGN_VALUES = {
136
- left: "left",
137
- center: "center",
138
- right: "right",
139
- justify: "justify"
140
- };
141
- var ICON_SIZE_VALUES = {
142
- "4xs": 16,
143
- "3xs": 20,
144
- "2xs": 24,
145
- xs: 28,
146
- sm: 32,
147
- md: 36,
148
- lg: 40,
149
- xl: 44
150
- };
151
- var LOGO_WIDTH_VALUES = {
152
- xs: 10,
153
- sm: 14,
154
- md: 20,
155
- lg: 24,
156
- xl: 28,
157
- "2xl": 32,
158
- "3xl": 36,
159
- "4xl": 40,
160
- "5xl": 44,
161
- "6xl": 48,
162
- "7xl": 52,
163
- "8xl": 56,
164
- "9xl": 60,
165
- "10xl": 64
166
- };
167
- var IMAGE_WIDTH_VALUES = {
168
- "3xs": 15,
169
- "2xs": 20,
170
- xs: 25,
171
- sm: 33,
172
- md: 40,
173
- lg: 50,
174
- xl: 66,
175
- "2xl": 75,
176
- "3xl": 80,
177
- full: 100
178
- };
179
- var BORDER_STYLE_VALUES = {
180
- none: "none",
181
- solid: "solid",
182
- dashed: "dashed"
183
- };
184
- var BORDER_WIDTH_VALUES = {
185
- none: 0,
186
- "3xs": 0.5,
187
- "2xs": 1,
188
- xs: 2,
189
- sm: 4,
190
- md: 8,
191
- lg: 12,
192
- xl: 16
193
- };
194
- var BORDER_RADIUS_VALUES = {
195
- none: 0,
196
- xs: 1,
197
- sm: 2,
198
- md: 6,
199
- lg: 8,
200
- xl: 12,
201
- "2xl": 16,
202
- full: 9999
203
- };
204
- var FONT_SIZE_VALUES = {
205
- xs: "0.75em",
206
- sm: "0.875em",
207
- base: "1em",
208
- lg: "1.125em",
209
- xl: "1.25em",
210
- "2xl": "1.5em",
211
- "3xl": "1.75em",
212
- "4xl": "2em",
213
- "5xl": "2.25em",
214
- "6xl": "2.5em",
215
- "7xl": "3em",
216
- "8xl": "3.75em",
217
- "9xl": "4.5em"
218
- };
219
- var FONT_FAMILY_VALUES = {
220
- Inter: "Inter",
221
- Roboto: "Roboto",
222
- OpenSans: "Open Sans",
223
- Lato: "Lato",
224
- Monsterrat: "Montserrat",
225
- NotoSerif: "Noto Serif",
226
- EBGaramond: "EB Garamond"
227
- };
228
- var FONT_WEIGHT_VALUES = {
229
- 300: 300,
230
- 400: 400,
231
- 500: 500,
232
- 600: 600,
233
- 700: 700,
234
- 800: 800
235
- };
236
- var LINE_HEIGHT_VALUES = {
237
- none: 1,
238
- tight: 1.25,
239
- snug: 1.375,
240
- normal: 1.5,
241
- relaxed: 1.625,
242
- loose: 2
243
- };
244
- var LETTER_SPACING_VALUES = {
245
- tighter: "-0.05em",
246
- tight: "-0.025em",
247
- normal: 0,
248
- wide: "0.025em",
249
- wider: "0.05em",
250
- widest: "0.1em"
251
- };
252
- var PRICING_PLANS = {
253
- monthly: "monthly",
254
- yearly: "yearly",
255
- monthly_and_yearly: "monthly_and_yearly"
256
- };
257
- var DEFAULT_BUTTON_STYLES = {
258
- fontSize: FONT_SIZE_VALUES.sm,
259
- fontWeight: FONT_WEIGHT_VALUES[500],
260
- border: {
261
- borderWidth: 0,
262
- borderStyle: "solid"
263
- },
264
- borderRadius: BORDER_RADIUS_VALUES.sm,
265
- paddingHorizontal: SPACING_VALUES["sm"],
266
- paddingVertical: SPACING_VALUES["2xs"],
267
- letterSpacing: "wide"
268
- };
269
- var DEFAULT_TYPOGRAPHY_STYLES = {
270
- fontSize: FONT_SIZE_VALUES.md,
271
- fontWeight: FONT_WEIGHT_VALUES[400],
272
- marginTop: SPACING_VALUES.none,
273
- marginBottom: SPACING_VALUES.none,
274
- marginLeft: SPACING_VALUES.none,
275
- marginRight: SPACING_VALUES.none,
276
- lineHeight: LINE_HEIGHT_VALUES.none,
277
- letterSpacing: LETTER_SPACING_VALUES.normal,
278
- textAlign: "left"
279
- };
280
- var DEFAULT_LINK_STYLES = {
281
- fontSize: FONT_SIZE_VALUES.sm,
282
- fontWeight: FONT_WEIGHT_VALUES.normal,
283
- letterSpacing: LETTER_SPACING_VALUES.normal,
284
- marginBottom: 0,
285
- marginTop: 0
286
- };
287
- var IMAGE_POSITIONS = {
288
- top: "top",
289
- bottom: "bottom",
290
- left: "left",
291
- right: "right",
292
- center: "center"
293
- };
294
- var LOGO_SIZE_VALUES = {
295
- xs: 10,
296
- sm: 14,
297
- md: 20,
298
- lg: 24,
299
- xl: 28,
300
- "2xl": 32,
301
- "3xl": 36,
302
- "4xl": 40,
303
- "5xl": 44,
304
- "6xl": 48,
305
- "7xl": 52,
306
- "8xl": 56,
307
- "9xl": 62,
308
- "10xl": 70,
309
- "11xl": 80
310
- };
311
- var IMAGE_FIT_VALUES = {
312
- auto: "auto",
313
- cover: "cover",
314
- contain: "contain"
315
- };
316
- var BUTTON_ALIGN_VALUES = {
317
- left: "left",
318
- center: "center",
319
- right: "right"
320
- };
321
-
322
- var index$1 = /*#__PURE__*/Object.freeze({
323
- __proto__: null,
324
- COMPONENTS: COMPONENTS,
325
- SPACING_VALUES: SPACING_VALUES,
326
- BACKGROUND_IMAGE_SIZE_VALUES: BACKGROUND_IMAGE_SIZE_VALUES,
327
- BACKGROUND_IMAGE_POSITION_VALUES: BACKGROUND_IMAGE_POSITION_VALUES,
328
- BACKGROUND_IMAGE_REPEAT_VALUES: BACKGROUND_IMAGE_REPEAT_VALUES,
329
- TEXT_ALIGN_VALUES: TEXT_ALIGN_VALUES,
330
- ICON_SIZE_VALUES: ICON_SIZE_VALUES,
331
- LOGO_WIDTH_VALUES: LOGO_WIDTH_VALUES,
332
- IMAGE_WIDTH_VALUES: IMAGE_WIDTH_VALUES,
333
- BORDER_STYLE_VALUES: BORDER_STYLE_VALUES,
334
- BORDER_WIDTH_VALUES: BORDER_WIDTH_VALUES,
335
- BORDER_RADIUS_VALUES: BORDER_RADIUS_VALUES,
336
- FONT_SIZE_VALUES: FONT_SIZE_VALUES,
337
- FONT_FAMILY_VALUES: FONT_FAMILY_VALUES,
338
- FONT_WEIGHT_VALUES: FONT_WEIGHT_VALUES,
339
- LINE_HEIGHT_VALUES: LINE_HEIGHT_VALUES,
340
- LETTER_SPACING_VALUES: LETTER_SPACING_VALUES,
341
- PRICING_PLANS: PRICING_PLANS,
342
- DEFAULT_BUTTON_STYLES: DEFAULT_BUTTON_STYLES,
343
- DEFAULT_TYPOGRAPHY_STYLES: DEFAULT_TYPOGRAPHY_STYLES,
344
- DEFAULT_LINK_STYLES: DEFAULT_LINK_STYLES,
345
- IMAGE_POSITIONS: IMAGE_POSITIONS,
346
- LOGO_SIZE_VALUES: LOGO_SIZE_VALUES,
347
- IMAGE_FIT_VALUES: IMAGE_FIT_VALUES,
348
- BUTTON_ALIGN_VALUES: BUTTON_ALIGN_VALUES
349
- });
350
-
351
64
  var _excluded$3M = ["size"];
352
65
  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; }
353
66
  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__default["default"](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; }
@@ -2861,6 +2574,293 @@ var OutlineIcons = /*#__PURE__*/Object.freeze({
2861
2574
  Zcool: Zcool$1
2862
2575
  });
2863
2576
 
2577
+ var COMPONENTS = {
2578
+ h1: "h1",
2579
+ h2: "h2",
2580
+ h3: "h3",
2581
+ h4: "h4",
2582
+ h5: "h5",
2583
+ h6: "h6",
2584
+ p: "p",
2585
+ span: "span",
2586
+ b: "b",
2587
+ strong: "strong",
2588
+ i: "i",
2589
+ em: "em",
2590
+ mark: "mark",
2591
+ del: "del",
2592
+ s: "s",
2593
+ ins: "ins",
2594
+ sub: "sub",
2595
+ sup: "sup",
2596
+ u: "u",
2597
+ code: "code",
2598
+ blockquote: "blockquote",
2599
+ div: "div"
2600
+ };
2601
+ var SPACING_VALUES = {
2602
+ none: 0,
2603
+ "2xs": 8,
2604
+ xs: 12,
2605
+ sm: 16,
2606
+ md: 20,
2607
+ lg: 24,
2608
+ xl: 32,
2609
+ "2xl": 36,
2610
+ "3xl": 40,
2611
+ "4xl": 48,
2612
+ "5xl": 64,
2613
+ "6xl": 80,
2614
+ "7xl": 96,
2615
+ "8xl": 112,
2616
+ "9xl": 128,
2617
+ "10xl": 144,
2618
+ "11xl": 160,
2619
+ "12xl": 176,
2620
+ "13xl": 192
2621
+ };
2622
+ var BACKGROUND_IMAGE_SIZE_VALUES = {
2623
+ auto: "auto",
2624
+ cover: "cover",
2625
+ contain: "contain",
2626
+ inherit: "inherit",
2627
+ initial: "initial",
2628
+ revert: "revert",
2629
+ unset: "unset"
2630
+ };
2631
+ var BACKGROUND_IMAGE_POSITION_VALUES = {
2632
+ "top-left": "top-left",
2633
+ "top-center": "top-center",
2634
+ "top-right": "top-right",
2635
+ "center-left": "center-left",
2636
+ center: "center",
2637
+ "center-right": "center-right",
2638
+ "bottom-left": "bottom-left",
2639
+ "bottom-center": "bottom-center",
2640
+ "bottom-right": "bottom-right"
2641
+ };
2642
+ var BACKGROUND_IMAGE_REPEAT_VALUES = {
2643
+ repeat: "repeat",
2644
+ "no-repeat": "no-repeat",
2645
+ "repeat-x": "repeat-x",
2646
+ "repeat-y": "repeat-y"
2647
+ };
2648
+ var TEXT_ALIGN_VALUES = {
2649
+ left: "left",
2650
+ center: "center",
2651
+ right: "right",
2652
+ justify: "justify"
2653
+ };
2654
+ var ICON_SIZE_VALUES = {
2655
+ "4xs": 16,
2656
+ "3xs": 20,
2657
+ "2xs": 24,
2658
+ xs: 28,
2659
+ sm: 32,
2660
+ md: 36,
2661
+ lg: 40,
2662
+ xl: 44
2663
+ };
2664
+ var LOGO_WIDTH_VALUES = {
2665
+ xs: 10,
2666
+ sm: 14,
2667
+ md: 20,
2668
+ lg: 24,
2669
+ xl: 28,
2670
+ "2xl": 32,
2671
+ "3xl": 36,
2672
+ "4xl": 40,
2673
+ "5xl": 44,
2674
+ "6xl": 48,
2675
+ "7xl": 52,
2676
+ "8xl": 56,
2677
+ "9xl": 60,
2678
+ "10xl": 64
2679
+ };
2680
+ var IMAGE_WIDTH_VALUES = {
2681
+ "3xs": 15,
2682
+ "2xs": 20,
2683
+ xs: 25,
2684
+ sm: 33,
2685
+ md: 40,
2686
+ lg: 50,
2687
+ xl: 66,
2688
+ "2xl": 75,
2689
+ "3xl": 80,
2690
+ full: 100
2691
+ };
2692
+ var BORDER_STYLE_VALUES = {
2693
+ none: "none",
2694
+ solid: "solid",
2695
+ dashed: "dashed"
2696
+ };
2697
+ var BORDER_WIDTH_VALUES = {
2698
+ none: 0,
2699
+ "3xs": 0.5,
2700
+ "2xs": 1,
2701
+ xs: 2,
2702
+ sm: 4,
2703
+ md: 8,
2704
+ lg: 12,
2705
+ xl: 16
2706
+ };
2707
+ var BORDER_RADIUS_VALUES = {
2708
+ none: 0,
2709
+ xs: 1,
2710
+ sm: 2,
2711
+ md: 6,
2712
+ lg: 8,
2713
+ xl: 12,
2714
+ "2xl": 16,
2715
+ full: 9999
2716
+ };
2717
+ var FONT_SIZE_VALUES = {
2718
+ xs: "0.75em",
2719
+ sm: "0.875em",
2720
+ base: "1em",
2721
+ lg: "1.125em",
2722
+ xl: "1.25em",
2723
+ "2xl": "1.5em",
2724
+ "3xl": "1.75em",
2725
+ "4xl": "2em",
2726
+ "5xl": "2.25em",
2727
+ "6xl": "2.5em",
2728
+ "7xl": "3em",
2729
+ "8xl": "3.75em",
2730
+ "9xl": "4.5em"
2731
+ };
2732
+ var FONT_FAMILY_VALUES = {
2733
+ Inter: "Inter",
2734
+ Roboto: "Roboto",
2735
+ OpenSans: "Open Sans",
2736
+ Lato: "Lato",
2737
+ Monsterrat: "Montserrat",
2738
+ NotoSerif: "Noto Serif",
2739
+ EBGaramond: "EB Garamond"
2740
+ };
2741
+ var FONT_WEIGHT_VALUES = {
2742
+ 300: 300,
2743
+ 400: 400,
2744
+ 500: 500,
2745
+ 600: 600,
2746
+ 700: 700,
2747
+ 800: 800
2748
+ };
2749
+ var LINE_HEIGHT_VALUES = {
2750
+ none: 1,
2751
+ tight: 1.25,
2752
+ snug: 1.375,
2753
+ normal: 1.5,
2754
+ relaxed: 1.625,
2755
+ loose: 2
2756
+ };
2757
+ var LETTER_SPACING_VALUES = {
2758
+ tighter: "-0.05em",
2759
+ tight: "-0.025em",
2760
+ normal: 0,
2761
+ wide: "0.025em",
2762
+ wider: "0.05em",
2763
+ widest: "0.1em"
2764
+ };
2765
+ var PRICING_PLANS = {
2766
+ monthly: "monthly",
2767
+ yearly: "yearly",
2768
+ monthly_and_yearly: "monthly_and_yearly"
2769
+ };
2770
+ var DEFAULT_BUTTON_STYLES = {
2771
+ fontSize: FONT_SIZE_VALUES.sm,
2772
+ fontWeight: FONT_WEIGHT_VALUES[500],
2773
+ border: {
2774
+ borderWidth: 0,
2775
+ borderStyle: "solid"
2776
+ },
2777
+ borderRadius: BORDER_RADIUS_VALUES.sm,
2778
+ paddingHorizontal: SPACING_VALUES["sm"],
2779
+ paddingVertical: SPACING_VALUES["2xs"],
2780
+ letterSpacing: "wide"
2781
+ };
2782
+ var DEFAULT_TYPOGRAPHY_STYLES = {
2783
+ fontSize: FONT_SIZE_VALUES.md,
2784
+ fontWeight: FONT_WEIGHT_VALUES[400],
2785
+ marginTop: SPACING_VALUES.none,
2786
+ marginBottom: SPACING_VALUES.none,
2787
+ marginLeft: SPACING_VALUES.none,
2788
+ marginRight: SPACING_VALUES.none,
2789
+ lineHeight: LINE_HEIGHT_VALUES.none,
2790
+ letterSpacing: LETTER_SPACING_VALUES.normal,
2791
+ textAlign: "left"
2792
+ };
2793
+ var DEFAULT_LINK_STYLES = {
2794
+ fontSize: FONT_SIZE_VALUES.sm,
2795
+ fontWeight: FONT_WEIGHT_VALUES.normal,
2796
+ letterSpacing: LETTER_SPACING_VALUES.normal,
2797
+ marginBottom: 0,
2798
+ marginTop: 0
2799
+ };
2800
+ var IMAGE_POSITIONS = {
2801
+ top: "top",
2802
+ bottom: "bottom",
2803
+ left: "left",
2804
+ right: "right",
2805
+ center: "center"
2806
+ };
2807
+ var LOGO_SIZE_VALUES = {
2808
+ xs: 10,
2809
+ sm: 14,
2810
+ md: 20,
2811
+ lg: 24,
2812
+ xl: 28,
2813
+ "2xl": 32,
2814
+ "3xl": 36,
2815
+ "4xl": 40,
2816
+ "5xl": 44,
2817
+ "6xl": 48,
2818
+ "7xl": 52,
2819
+ "8xl": 56,
2820
+ "9xl": 62,
2821
+ "10xl": 70,
2822
+ "11xl": 80
2823
+ };
2824
+ var IMAGE_FIT_VALUES = {
2825
+ auto: "auto",
2826
+ cover: "cover",
2827
+ contain: "contain"
2828
+ };
2829
+ var BUTTON_ALIGN_VALUES = {
2830
+ left: "left",
2831
+ center: "center",
2832
+ right: "right"
2833
+ };
2834
+
2835
+ var index$1 = /*#__PURE__*/Object.freeze({
2836
+ __proto__: null,
2837
+ COMPONENTS: COMPONENTS,
2838
+ SPACING_VALUES: SPACING_VALUES,
2839
+ BACKGROUND_IMAGE_SIZE_VALUES: BACKGROUND_IMAGE_SIZE_VALUES,
2840
+ BACKGROUND_IMAGE_POSITION_VALUES: BACKGROUND_IMAGE_POSITION_VALUES,
2841
+ BACKGROUND_IMAGE_REPEAT_VALUES: BACKGROUND_IMAGE_REPEAT_VALUES,
2842
+ TEXT_ALIGN_VALUES: TEXT_ALIGN_VALUES,
2843
+ ICON_SIZE_VALUES: ICON_SIZE_VALUES,
2844
+ LOGO_WIDTH_VALUES: LOGO_WIDTH_VALUES,
2845
+ IMAGE_WIDTH_VALUES: IMAGE_WIDTH_VALUES,
2846
+ BORDER_STYLE_VALUES: BORDER_STYLE_VALUES,
2847
+ BORDER_WIDTH_VALUES: BORDER_WIDTH_VALUES,
2848
+ BORDER_RADIUS_VALUES: BORDER_RADIUS_VALUES,
2849
+ FONT_SIZE_VALUES: FONT_SIZE_VALUES,
2850
+ FONT_FAMILY_VALUES: FONT_FAMILY_VALUES,
2851
+ FONT_WEIGHT_VALUES: FONT_WEIGHT_VALUES,
2852
+ LINE_HEIGHT_VALUES: LINE_HEIGHT_VALUES,
2853
+ LETTER_SPACING_VALUES: LETTER_SPACING_VALUES,
2854
+ PRICING_PLANS: PRICING_PLANS,
2855
+ DEFAULT_BUTTON_STYLES: DEFAULT_BUTTON_STYLES,
2856
+ DEFAULT_TYPOGRAPHY_STYLES: DEFAULT_TYPOGRAPHY_STYLES,
2857
+ DEFAULT_LINK_STYLES: DEFAULT_LINK_STYLES,
2858
+ IMAGE_POSITIONS: IMAGE_POSITIONS,
2859
+ LOGO_SIZE_VALUES: LOGO_SIZE_VALUES,
2860
+ IMAGE_FIT_VALUES: IMAGE_FIT_VALUES,
2861
+ BUTTON_ALIGN_VALUES: BUTTON_ALIGN_VALUES
2862
+ });
2863
+
2864
2864
  var _excluded$2b = ["size"];
2865
2865
  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; }
2866
2866
  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__default["default"](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; }
@@ -5543,6 +5543,9 @@ var isLinkHighlighted = function isLinkHighlighted(to, currentPath) {
5543
5543
  if (!(to && currentPath)) return false;
5544
5544
  return currentPath.pathName === to && ramda.isEmpty(currentPath.hash) || currentPath.hash === to;
5545
5545
  };
5546
+ var normalizeExternalLink = function normalizeExternalLink(href) {
5547
+ return /^(https?:\/\/|\/)/i.test(href) ? href : "http://".concat(href);
5548
+ };
5546
5549
 
5547
5550
  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; }
5548
5551
  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__default["default"](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; }
@@ -7365,6 +7368,7 @@ var LinkElement = function LinkElement(_ref) {
7365
7368
  }, otherProps);
7366
7369
  if (action === "external") {
7367
7370
  return /*#__PURE__*/jsxRuntime.jsxs(StyledAnchor, _objectSpread$z(_objectSpread$z({}, commonProps), {}, {
7371
+ href: normalizeExternalLink(commonProps.href),
7368
7372
  target: "_blank",
7369
7373
  children: [label, Icon && /*#__PURE__*/jsxRuntime.jsx(Icon, {}), children]
7370
7374
  }));
@@ -7440,7 +7444,7 @@ var Dropdown = function Dropdown(_ref) {
7440
7444
  paddingHorizontal: paddingHorizontal,
7441
7445
  totalLength: totalLength,
7442
7446
  children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
7443
- className: "flex cursor-pointer items-center gap-x-2 lg:h-full lg:justify-center lg:gap-x-0",
7447
+ className: "flex cursor-pointer items-center justify-between gap-x-2 lg:h-full lg:justify-center lg:gap-x-0",
7444
7448
  id: "dropdown-".concat(index),
7445
7449
  onClick: function onClick() {
7446
7450
  return isSmallerScreen && setIsOpen(!isOpen);
@@ -7456,6 +7460,7 @@ var Dropdown = function Dropdown(_ref) {
7456
7460
  label: label,
7457
7461
  action: isLargerScreen ? "external" : "",
7458
7462
  as: "h6",
7463
+ className: "[&::before]:hidden md:[&::before]:block",
7459
7464
  id: "header-with-dropdown-links-link-".concat(index, "-link"),
7460
7465
  style: design
7461
7466
  }, otherProps)), /*#__PURE__*/jsxRuntime.jsx(framerMotion.motion.div, {
@@ -7488,7 +7493,9 @@ var Dropdown = function Dropdown(_ref) {
7488
7493
  },
7489
7494
  children: renderDropdownItems("px-4 py-2 hover:bg-gray-100 last:rounded-b-md")
7490
7495
  }), /*#__PURE__*/jsxRuntime.jsx("div", {
7491
- className: "block lg:hidden lg:pr-8",
7496
+ className: classnames__default["default"]({
7497
+ "mt-4 block bg-gray-100/70 p-2 lg:hidden": isOpen
7498
+ }),
7492
7499
  children: /*#__PURE__*/jsxRuntime.jsx(framerMotion.AnimatePresence, {
7493
7500
  children: isOpen && /*#__PURE__*/jsxRuntime.jsx(framerMotion.motion.div, {
7494
7501
  animate: {
@@ -7507,7 +7514,7 @@ var Dropdown = function Dropdown(_ref) {
7507
7514
  transition: {
7508
7515
  duration: 0.3
7509
7516
  },
7510
- children: renderDropdownItems("rounded-md px-4 py-2 hover:bg-gray-100")
7517
+ children: renderDropdownItems("rounded-md p-2 hover:bg-white text-sm")
7511
7518
  })
7512
7519
  })
7513
7520
  })]
@@ -16269,6 +16276,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
16269
16276
  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",
16270
16277
  children: buttons.map(function (button, index) {
16271
16278
  return /*#__PURE__*/jsxRuntime.jsx(Button$1, _objectSpread$9({
16279
+ className: "flex-shrink-0",
16272
16280
  id: "header-with-buttons-buttons-".concat(index, "-button"),
16273
16281
  style: button.type === "primary" ? design.primaryButtons : design.secondaryButtons
16274
16282
  }, _objectSpread$9(_objectSpread$9({
@@ -16276,33 +16284,68 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
16276
16284
  }, button), otherProps)), getUniqueKey(button.label, index));
16277
16285
  })
16278
16286
  }), /*#__PURE__*/jsxRuntime.jsx("button", {
16279
- className: classnames__default["default"]("col-span-1 col-start-1 flex items-center transition-all lg:hidden", {
16280
- "rotate-90 transform": isMenuOpen
16281
- }),
16287
+ className: "col-span-1 col-start-1 flex items-center transition-all lg:hidden",
16282
16288
  onClick: function onClick() {
16283
16289
  return setIsMenuOpen(function (open) {
16284
16290
  return !open;
16285
16291
  });
16286
16292
  },
16287
- children: !isMenuOpen ? /*#__PURE__*/jsxRuntime.jsx(Menu, {
16288
- className: "fadeIn",
16289
- fill: design.hamburgerMenu.color,
16290
- size: 32
16291
- }) : /*#__PURE__*/jsxRuntime.jsx(Close, {
16293
+ children: /*#__PURE__*/jsxRuntime.jsx(Menu, {
16292
16294
  className: "fadeIn",
16293
16295
  fill: design.hamburgerMenu.color,
16294
16296
  size: 32
16295
16297
  })
16296
- }), isMenuOpen && /*#__PURE__*/jsxRuntime.jsx("div", {
16297
- className: "fadeIn col-span-12 col-start-1 my-6 flex flex-col gap-y-6 lg:hidden",
16298
+ })]
16299
+ }), /*#__PURE__*/jsxRuntime.jsx("div", {
16300
+ role: "button",
16301
+ tabIndex: isMenuOpen ? 0 : -1,
16302
+ className: classnames__default["default"]("fixed inset-0 z-[999] bg-black/60 transition-opacity duration-300 lg:hidden", isMenuOpen ? "opacity-70" : "pointer-events-none opacity-0"),
16303
+ onClick: function onClick() {
16304
+ return setIsMenuOpen(false);
16305
+ }
16306
+ }), /*#__PURE__*/jsxRuntime.jsxs("div", {
16307
+ style: {
16308
+ backgroundColor: design.body.backgroundColor
16309
+ },
16310
+ className: classnames__default["default"]("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"),
16311
+ onClick: function onClick(e) {
16312
+ return e.stopPropagation();
16313
+ },
16314
+ children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
16315
+ className: "flex items-center justify-between gap-6 px-6 py-6",
16316
+ children: [/*#__PURE__*/jsxRuntime.jsx(Link, _objectSpread$9(_objectSpread$9({
16317
+ action: properties.logo.action,
16318
+ to: properties.logo.to
16319
+ }, otherProps), {}, {
16320
+ children: /*#__PURE__*/jsxRuntime.jsx(StyledImage$1, {
16321
+ image: image,
16322
+ priority: true,
16323
+ alt: properties.logo.alt,
16324
+ className: "sm:max-h-18 max-h-16 lg:max-h-20",
16325
+ design: design.logo,
16326
+ src: properties.logo.src
16327
+ })
16328
+ })), /*#__PURE__*/jsxRuntime.jsx("button", {
16329
+ className: "flex items-center transition-opacity duration-300 lg:hidden",
16330
+ onClick: function onClick() {
16331
+ return setIsMenuOpen(false);
16332
+ },
16333
+ children: /*#__PURE__*/jsxRuntime.jsx(Close, {
16334
+ className: "fadeIn",
16335
+ fill: design.hamburgerMenu.color,
16336
+ size: 32
16337
+ })
16338
+ })]
16339
+ }), /*#__PURE__*/jsxRuntime.jsx("nav", {
16340
+ className: classnames__default["default"]("flex flex-grow flex-col overflow-y-auto px-6 pb-6 transition-opacity delay-200 duration-300", isMenuOpen ? "opacity-100" : "opacity-0"),
16298
16341
  children: properties.links.map(function (button, index) {
16299
16342
  return /*#__PURE__*/jsxRuntime.jsx(Link, _objectSpread$9({
16300
- className: "w-fit",
16343
+ className: "w-full py-4 hover:opacity-80 [&::before]:!bottom-0 [&::before]:!w-full [&::before]:!opacity-40",
16301
16344
  id: "header-with-buttons-".concat(index, "-link"),
16302
16345
  isHighlighted: isLinkHighlighted(button.to, currentPath),
16303
16346
  style: ramda.mergeRight(design.links, {
16304
16347
  fontSize: "1em",
16305
- fontWeight: "500"
16348
+ fontWeight: "600"
16306
16349
  })
16307
16350
  }, _objectSpread$9(_objectSpread$9({
16308
16351
  index: index,
@@ -16404,39 +16447,87 @@ var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
16404
16447
  }, otherProps)), getUniqueKey(dropdownLink.label, dropdownLink.to, index));
16405
16448
  })
16406
16449
  }), /*#__PURE__*/jsxRuntime.jsx("button", {
16407
- className: classnames__default["default"]("col-span-1 col-start-1 flex items-center transition-all lg:hidden", {
16408
- "rotate-90 transform": isMenuOpen
16409
- }),
16450
+ className: "col-span-1 col-start-1 flex items-center transition-all lg:hidden",
16410
16451
  onClick: function onClick() {
16411
16452
  return setIsMenuOpen(function (open) {
16412
16453
  return !open;
16413
16454
  });
16414
16455
  },
16415
- children: !isMenuOpen ? /*#__PURE__*/jsxRuntime.jsx(Menu, {
16456
+ children: /*#__PURE__*/jsxRuntime.jsx(Menu, {
16416
16457
  className: "fadeIn",
16417
16458
  fill: design.hamburgerMenu.color,
16418
16459
  size: 32
16419
- }) : /*#__PURE__*/jsxRuntime.jsx(Close, {
16460
+ })
16461
+ })]
16462
+ })
16463
+ }), /*#__PURE__*/jsxRuntime.jsx("div", {
16464
+ role: "button",
16465
+ tabIndex: isMenuOpen ? 0 : -1,
16466
+ className: classnames__default["default"]("fixed inset-0 z-[999] bg-black/60 transition-opacity duration-300 lg:hidden", isMenuOpen ? "opacity-70" : "pointer-events-none opacity-0"),
16467
+ onClick: function onClick() {
16468
+ return setIsMenuOpen(false);
16469
+ }
16470
+ }), /*#__PURE__*/jsxRuntime.jsxs("div", {
16471
+ style: {
16472
+ backgroundColor: design.body.backgroundColor
16473
+ },
16474
+ className: classnames__default["default"]("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"),
16475
+ onClick: function onClick(e) {
16476
+ return e.stopPropagation();
16477
+ },
16478
+ children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
16479
+ className: "flex items-center justify-between gap-6 px-6 py-6",
16480
+ children: [/*#__PURE__*/jsxRuntime.jsxs(Link, _objectSpread$8(_objectSpread$8({
16481
+ action: properties.logo.action,
16482
+ className: "flex w-full gap-x-2",
16483
+ to: properties.logo.to
16484
+ }, otherProps), {}, {
16485
+ children: [/*#__PURE__*/jsxRuntime.jsx(StyledImage$1, {
16486
+ image: image,
16487
+ priority: true,
16488
+ alt: properties.logo.alt,
16489
+ className: "sm:max-h-18 max-h-16 lg:max-h-20",
16490
+ design: design.logo,
16491
+ disableButtonAndLinks: otherProps.disableButtonAndLinks,
16492
+ id: "header-with-dropdown-links-logo",
16493
+ isAddNewPane: otherProps.isAddNewPane,
16494
+ src: properties.logo.src
16495
+ }), /*#__PURE__*/jsxRuntime.jsx(Typography$1, _objectSpread$8(_objectSpread$8({
16496
+ component: "p",
16497
+ id: "header-with-dropdown-links-logo-title",
16498
+ style: design.logoTitle,
16499
+ className: classnames__default["default"]({
16500
+ "hidden sm:flex": properties.logo.src
16501
+ })
16502
+ }, otherProps), {}, {
16503
+ children: properties.logo.title
16504
+ }))]
16505
+ })), /*#__PURE__*/jsxRuntime.jsx("button", {
16506
+ className: "flex items-center transition-opacity duration-300 lg:hidden",
16507
+ onClick: function onClick() {
16508
+ return setIsMenuOpen(false);
16509
+ },
16510
+ children: /*#__PURE__*/jsxRuntime.jsx(Close, {
16420
16511
  className: "fadeIn",
16421
16512
  fill: design.hamburgerMenu.color,
16422
16513
  size: 32
16423
16514
  })
16424
- }), isMenuOpen && /*#__PURE__*/jsxRuntime.jsx("div", {
16425
- className: "fadeIn col-span-12 col-start-1 my-6 flex flex-col gap-y-6 lg:hidden",
16426
- children: properties.links.map(function (link, index) {
16427
- return /*#__PURE__*/React.createElement(Dropdown, {
16428
- index: index,
16429
- className: "w-fit ",
16430
- dropdownLink: link,
16431
- key: getUniqueKey(link.label, link.to, index),
16432
- design: ramda.mergeRight(design.links, {
16433
- fontSize: "1em",
16434
- fontWeight: "500"
16435
- })
16436
- });
16437
- })
16438
16515
  })]
16439
- })
16516
+ }), /*#__PURE__*/jsxRuntime.jsx("nav", {
16517
+ className: classnames__default["default"]("flex flex-grow flex-col overflow-y-auto px-6 pb-6 transition-opacity delay-200 duration-300", isMenuOpen ? "opacity-100" : "opacity-0"),
16518
+ children: properties.links.map(function (link, index) {
16519
+ return /*#__PURE__*/React.createElement(Dropdown, {
16520
+ index: index,
16521
+ className: "w-full border-b border-gray-200 py-4",
16522
+ dropdownLink: link,
16523
+ key: getUniqueKey(link.label, link.to, index),
16524
+ design: ramda.mergeRight(design.links, {
16525
+ fontSize: "1em",
16526
+ fontWeight: "600"
16527
+ })
16528
+ });
16529
+ })
16530
+ })]
16440
16531
  })]
16441
16532
  });
16442
16533
  };
@@ -16528,53 +16619,90 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
16528
16619
  }, _icon), otherProps)), getUniqueKey(_icon.to, index));
16529
16620
  })
16530
16621
  }), /*#__PURE__*/jsxRuntime.jsx("button", {
16531
- className: classnames__default["default"]("col-span-1 col-start-1 flex items-center transition-all lg:hidden", {
16532
- "rotate-90 transform": isLinksOpen
16533
- }),
16622
+ className: "col-span-1 col-start-1 flex items-center transition-all lg:hidden",
16534
16623
  onClick: function onClick() {
16535
16624
  return setIsLinksOpen(function (open) {
16536
16625
  return !open;
16537
16626
  });
16538
16627
  },
16539
- children: !isLinksOpen ? /*#__PURE__*/jsxRuntime.jsx(Menu, {
16540
- className: "fadeIn",
16541
- fill: design.hamburgerMenu.color,
16542
- size: 32
16543
- }) : /*#__PURE__*/jsxRuntime.jsx(Close, {
16628
+ children: /*#__PURE__*/jsxRuntime.jsx(Menu, {
16544
16629
  className: "fadeIn",
16545
16630
  fill: design.hamburgerMenu.color,
16546
16631
  size: 32
16547
16632
  })
16548
- }), isLinksOpen && /*#__PURE__*/jsxRuntime.jsxs("div", {
16549
- className: "fadeIn col-span-12 col-start-1 my-6 flex flex-col gap-y-6 lg:hidden",
16550
- children: [links.map(function (icon, index) {
16633
+ })]
16634
+ }), /*#__PURE__*/jsxRuntime.jsx("div", {
16635
+ role: "button",
16636
+ tabIndex: isLinksOpen ? 0 : -1,
16637
+ className: classnames__default["default"]("fixed inset-0 z-[999] bg-black/60 transition-opacity duration-300 lg:hidden", isLinksOpen ? "opacity-70" : "pointer-events-none opacity-0"),
16638
+ onClick: function onClick() {
16639
+ return setIsLinksOpen(false);
16640
+ }
16641
+ }), /*#__PURE__*/jsxRuntime.jsxs("div", {
16642
+ style: {
16643
+ backgroundColor: design.body.backgroundColor
16644
+ },
16645
+ className: classnames__default["default"]("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"),
16646
+ onClick: function onClick(e) {
16647
+ return e.stopPropagation();
16648
+ },
16649
+ children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
16650
+ className: "flex items-center justify-between gap-6 px-6 py-6",
16651
+ children: [/*#__PURE__*/jsxRuntime.jsx(Link, _objectSpread$7(_objectSpread$7({
16652
+ action: logo.action,
16653
+ to: logo.to
16654
+ }, otherProps), {}, {
16655
+ children: /*#__PURE__*/jsxRuntime.jsx(StyledImage$1, {
16656
+ image: image,
16657
+ priority: true,
16658
+ alt: logo.alt,
16659
+ design: design.logo,
16660
+ disableButtonAndLinks: otherProps.disableButtonAndLinks,
16661
+ id: "header-with-icons-logo",
16662
+ isAddNewPane: otherProps.isAddNewPane,
16663
+ src: logo.src
16664
+ })
16665
+ })), /*#__PURE__*/jsxRuntime.jsx("button", {
16666
+ className: "flex items-center transition-opacity duration-300 lg:hidden",
16667
+ onClick: function onClick() {
16668
+ return setIsLinksOpen(false);
16669
+ },
16670
+ children: /*#__PURE__*/jsxRuntime.jsx(Close, {
16671
+ className: "fadeIn",
16672
+ fill: design.hamburgerMenu.color,
16673
+ size: 32
16674
+ })
16675
+ })]
16676
+ }), /*#__PURE__*/jsxRuntime.jsx("nav", {
16677
+ className: classnames__default["default"]("flex flex-grow flex-col overflow-y-auto px-6 pb-6 transition-opacity delay-200 duration-300", isLinksOpen ? "opacity-100" : "opacity-0"),
16678
+ children: links.map(function (icon, index) {
16551
16679
  return /*#__PURE__*/jsxRuntime.jsx(Link, _objectSpread$7({
16552
- className: "w-fit",
16680
+ className: "w-full py-4 hover:opacity-80 [&::before]:!bottom-0 [&::before]:!w-full [&::before]:!opacity-40",
16553
16681
  id: "header-with-icons-links-".concat(index, "-link"),
16554
16682
  isHighlighted: isLinkHighlighted(icon.to, currentPath),
16555
16683
  setIsMenuOpen: setIsLinksOpen,
16556
16684
  style: ramda.mergeRight(design.links, {
16557
16685
  fontSize: "1em",
16558
- fontWeight: "500"
16686
+ fontWeight: "600"
16559
16687
  })
16560
16688
  }, icon), getUniqueKey(icon.url, icon.label, index));
16561
- }), /*#__PURE__*/jsxRuntime.jsx("div", {
16562
- className: "mt-2 flex items-center gap-x-3 md:hidden",
16563
- children: properties.icons.map(function (_icon2, index) {
16564
- return /*#__PURE__*/jsxRuntime.jsx(Link, _objectSpread$7(_objectSpread$7({
16565
- disableHovering: true,
16566
- className: "hover:no-underline",
16567
- id: "header-with-icons-icons-".concat(index, "-icon"),
16568
- style: design.icons,
16569
- icon: function icon() {
16570
- return renderIcon(_objectSpread$7({
16571
- name: _icon2.name,
16572
- type: _icon2.type
16573
- }, design.icons));
16574
- }
16575
- }, _icon2), otherProps), getUniqueKey(_icon2.to, index));
16576
- })
16577
- })]
16689
+ })
16690
+ }), /*#__PURE__*/jsxRuntime.jsx("div", {
16691
+ className: "flex flex-shrink-0 items-center justify-center gap-x-2 p-6 md:hidden",
16692
+ children: properties.icons.map(function (_icon2, index) {
16693
+ return /*#__PURE__*/jsxRuntime.jsx(Link, _objectSpread$7(_objectSpread$7({
16694
+ disableHovering: true,
16695
+ className: "hover:no-underline",
16696
+ id: "header-with-icons-icons-".concat(index, "-icon"),
16697
+ style: design.icons,
16698
+ icon: function icon() {
16699
+ return renderIcon(_objectSpread$7({
16700
+ name: _icon2.name,
16701
+ type: _icon2.type
16702
+ }, design.icons));
16703
+ }
16704
+ }, _icon2), otherProps), getUniqueKey(_icon2.to, index));
16705
+ })
16578
16706
  })]
16579
16707
  })]
16580
16708
  });
@@ -16664,25 +16792,72 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
16664
16792
  }, button), otherProps)), getUniqueKey(button.label, button.url, index));
16665
16793
  })]
16666
16794
  }), /*#__PURE__*/jsxRuntime.jsx("button", {
16667
- className: classnames__default["default"]("col-span-1 col-start-1 flex items-center transition-all lg:hidden", {
16668
- "rotate-90 transform": isMenuOpen
16669
- }),
16795
+ className: "col-span-1 col-start-1 flex items-center transition-all lg:hidden",
16670
16796
  onClick: function onClick() {
16671
16797
  return setIsMenuOpen(function (open) {
16672
16798
  return !open;
16673
16799
  });
16674
16800
  },
16675
- children: !isMenuOpen ? /*#__PURE__*/jsxRuntime.jsx(Menu, {
16676
- className: "fadeIn",
16677
- fill: design.hamburgerMenu.color,
16678
- size: 32
16679
- }) : /*#__PURE__*/jsxRuntime.jsx(Close, {
16801
+ children: /*#__PURE__*/jsxRuntime.jsx(Menu, {
16680
16802
  className: "fadeIn",
16681
16803
  fill: design.hamburgerMenu.color,
16682
16804
  size: 32
16683
16805
  })
16684
- }), isMenuOpen && /*#__PURE__*/jsxRuntime.jsx("div", {
16685
- className: "fadeIn col-span-12 col-start-1 my-6 flex flex-col gap-y-6 lg:hidden",
16806
+ })]
16807
+ }), /*#__PURE__*/jsxRuntime.jsx("div", {
16808
+ role: "button",
16809
+ tabIndex: isMenuOpen ? 0 : -1,
16810
+ className: classnames__default["default"]("fixed inset-0 z-[999] bg-black/60 transition-opacity duration-300 lg:hidden", isMenuOpen ? "opacity-70" : "pointer-events-none opacity-0"),
16811
+ onClick: function onClick() {
16812
+ return setIsMenuOpen(false);
16813
+ }
16814
+ }), /*#__PURE__*/jsxRuntime.jsxs("div", {
16815
+ style: {
16816
+ backgroundColor: design.body.backgroundColor
16817
+ },
16818
+ className: classnames__default["default"]("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"),
16819
+ onClick: function onClick(e) {
16820
+ return e.stopPropagation();
16821
+ },
16822
+ children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
16823
+ className: "flex items-center justify-between gap-6 px-6 py-6",
16824
+ children: [/*#__PURE__*/jsxRuntime.jsxs(Link, _objectSpread$6(_objectSpread$6({
16825
+ action: properties.logo.action,
16826
+ className: "flex w-full gap-x-2",
16827
+ to: properties.logo.to
16828
+ }, otherProps), {}, {
16829
+ children: [/*#__PURE__*/jsxRuntime.jsx(StyledImage$1, {
16830
+ image: image,
16831
+ priority: true,
16832
+ alt: properties.logo.alt,
16833
+ className: "sm:max-h-18 max-h-16 lg:max-h-20",
16834
+ design: design.logo,
16835
+ disableButtonAndLinks: otherProps.disableButtonAndLinks,
16836
+ id: "header-with-logo-title-logo",
16837
+ isAddNewPane: otherProps.isAddNewPane,
16838
+ src: properties.logo.src
16839
+ }), /*#__PURE__*/jsxRuntime.jsx(Typography$1, {
16840
+ component: "p",
16841
+ id: "header-with-logo-title-logo-title",
16842
+ style: design.logoTitle,
16843
+ className: classnames__default["default"]({
16844
+ "hidden sm:flex": properties.logo.src
16845
+ }),
16846
+ children: properties.logo.title
16847
+ })]
16848
+ })), /*#__PURE__*/jsxRuntime.jsx("button", {
16849
+ className: "flex items-center transition-opacity duration-300 lg:hidden",
16850
+ onClick: function onClick() {
16851
+ return setIsMenuOpen(false);
16852
+ },
16853
+ children: /*#__PURE__*/jsxRuntime.jsx(Close, {
16854
+ className: "fadeIn",
16855
+ fill: design.hamburgerMenu.color,
16856
+ size: 32
16857
+ })
16858
+ })]
16859
+ }), /*#__PURE__*/jsxRuntime.jsx("nav", {
16860
+ className: classnames__default["default"]("flex flex-grow flex-col overflow-y-auto px-6 pb-6 transition-opacity delay-200 duration-300", isMenuOpen ? "opacity-100" : "opacity-0"),
16686
16861
  children: properties.links.map(function (_ref2, index) {
16687
16862
  var label = _ref2.label,
16688
16863
  to = _ref2.to,
@@ -16693,13 +16868,13 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
16693
16868
  label: label,
16694
16869
  setIsMenuOpen: setIsMenuOpen,
16695
16870
  to: to,
16696
- className: "w-fit",
16871
+ className: "w-full py-4 hover:opacity-80 [&::before]:!bottom-0 [&::before]:!w-full [&::before]:!opacity-40",
16697
16872
  id: "header-with-logo-title-links-".concat(index, "-link"),
16698
16873
  isHighlighted: isLinkHighlighted(to, currentPath),
16699
16874
  key: getUniqueKey(to, label, index),
16700
16875
  style: ramda.mergeRight(design.links, {
16701
16876
  fontSize: "1em",
16702
- fontWeight: "500"
16877
+ fontWeight: "600"
16703
16878
  })
16704
16879
  }, otherProps));
16705
16880
  })