@tui-cruises/mein-schiff-web-react-component-library 2.2.3 → 2.2.5

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/CHANGELOG.md CHANGED
@@ -2,6 +2,36 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [2.2.5](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/compare/v2.2.4...v2.2.5) (2025-08-05)
6
+
7
+
8
+ ### Features
9
+
10
+ * **TextButton:** add large text size property ([d873d25](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/d873d2566d95c27b07f28dc4517d8b443bed00ef))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **Accordion:** allow horizontal scrolling for overflowing content via overflow-x auto ([ecbdbf9](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/ecbdbf9d771cf85a5dbdd3217293ce4bf715daf6))
16
+
17
+ ### [2.2.4](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/compare/v2.3.0...v2.2.4) (2025-07-23)
18
+
19
+
20
+ ### Features
21
+
22
+ * **icons:** add mail and pause icons, update circle, plus-circle and phone ([3c2291b](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/3c2291b0f829c88be2f9a5e13f400419c134c32a))
23
+ * **Tabs:** add `on` prop to control background context ([127dd83](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/127dd8319d205d6ec84c85c89e3b1959f3bfa9d7))
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * **EC-2101:** set IconButton as 'use client' to fix import problems ([9cd7b87](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/9cd7b8743309953e97a4768c9933a561ca3920e1))
29
+ * **EC-2101:** set IconButton as 'use client' to fix import problems ([6a1c421](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/6a1c42100b9f38fd3b6ed7c9b8d931afe4774b7c))
30
+ * **OM-2207:** form label with error style for data-invalid attribute ([285587c](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/285587cee026b4dc5c9d9ca5efa8fc87080244c8))
31
+ * remove FieldSetVariant from InputFieldInput.tsx ([75ba4f0](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/75ba4f03c80a43115e98c0d6c5cb0f913c824f1b))
32
+ * remove FieldSetVariant from InputFieldInput.tsx ([918af78](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/918af7869d319b3a00bd6aae4ee540907ef976d5))
33
+ * **Stepper:** update tracking parameter (EC-2069) ([ed64438](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/ed644389bfb5bd76ade919515598c015bb702a7d))
34
+
5
35
  ### [2.2.3](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/compare/v2.2.2...v2.2.3) (2025-07-21)
6
36
 
7
37
 
@@ -10,10 +10,10 @@ const SvgCircle = (props: SVGProps<SVGSVGElement>) => (
10
10
  {...props}
11
11
  >
12
12
  <path
13
- stroke="currentColor"
14
- strokeLinecap="round"
15
- strokeLinejoin="round"
16
- d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10"
13
+ fill="currentColor"
14
+ fillRule="evenodd"
15
+ d="M1.25 12C1.25 6.063 6.063 1.25 12 1.25S22.75 6.063 22.75 12 17.937 22.75 12 22.75 1.25 17.937 1.25 12M12 2.75a9.25 9.25 0 1 0 0 18.5 9.25 9.25 0 0 0 0-18.5"
16
+ clipRule="evenodd"
17
17
  />
18
18
  </svg>
19
19
  );
@@ -66,6 +66,7 @@ export const dynamicComponents = {
66
66
  'log-in': dynamic(() => import('./log-in'), { ssr: false }),
67
67
  'log-out': dynamic(() => import('./log-out'), { ssr: false }),
68
68
  'mail-open': dynamic(() => import('./mail-open'), { ssr: false }),
69
+ mail: dynamic(() => import('./mail'), { ssr: false }),
69
70
  map: dynamic(() => import('./map'), { ssr: false }),
70
71
  'maps-arrow-diagonal': dynamic(() => import('./maps-arrow-diagonal'), {
71
72
  ssr: false,
@@ -89,6 +90,7 @@ export const dynamicComponents = {
89
90
  'nav-arrow-up': dynamic(() => import('./nav-arrow-up'), { ssr: false }),
90
91
  'no-wifi': dynamic(() => import('./no-wifi'), { ssr: false }),
91
92
  'old-trips': dynamic(() => import('./old-trips'), { ssr: false }),
93
+ pause: dynamic(() => import('./pause'), { ssr: false }),
92
94
  percentage: dynamic(() => import('./percentage'), { ssr: false }),
93
95
  phone: dynamic(() => import('./phone'), { ssr: false }),
94
96
  pin: dynamic(() => import('./pin'), { ssr: false }),
@@ -0,0 +1,20 @@
1
+ import type { SVGProps } from 'react';
2
+ const SvgMail = (props: SVGProps<SVGSVGElement>) => (
3
+ <svg
4
+ xmlns="http://www.w3.org/2000/svg"
5
+ width="1em"
6
+ height="1em"
7
+ fill="none"
8
+ viewBox="0 0 24 24"
9
+ color="currentColor"
10
+ {...props}
11
+ >
12
+ <path
13
+ fill="currentColor"
14
+ fillRule="evenodd"
15
+ d="M2.75 7c0-.69.56-1.25 1.25-1.25h16c.69 0 1.25.56 1.25 1.25v10c0 .69-.56 1.25-1.25 1.25H4c-.69 0-1.25-.56-1.25-1.25zM4 4.25A2.75 2.75 0 0 0 1.25 7v10A2.75 2.75 0 0 0 4 19.75h16A2.75 2.75 0 0 0 22.75 17V7A2.75 2.75 0 0 0 20 4.25zm3.43 4.136a.75.75 0 1 0-.86 1.228l5 3.5a.75.75 0 0 0 .86 0l5-3.5a.75.75 0 1 0-.86-1.228L12 11.585z"
16
+ clipRule="evenodd"
17
+ />
18
+ </svg>
19
+ );
20
+ export default SvgMail;
@@ -0,0 +1,20 @@
1
+ import type { SVGProps } from 'react';
2
+ const SvgPause = (props: SVGProps<SVGSVGElement>) => (
3
+ <svg
4
+ xmlns="http://www.w3.org/2000/svg"
5
+ width="1em"
6
+ height="1em"
7
+ fill="none"
8
+ viewBox="0 0 24 24"
9
+ color="currentColor"
10
+ {...props}
11
+ >
12
+ <path
13
+ fill="currentColor"
14
+ fillRule="evenodd"
15
+ d="M9.25 4a.75.75 0 0 0-.75.75v14.5a.75.75 0 0 0 1.5 0V4.75A.75.75 0 0 0 9.25 4m5.5 0a.75.75 0 0 0-.75.75v14.5a.75.75 0 0 0 1.5 0V4.75a.75.75 0 0 0-.75-.75"
16
+ clipRule="evenodd"
17
+ />
18
+ </svg>
19
+ );
20
+ export default SvgPause;
@@ -10,10 +10,10 @@ const SvgPhone = (props: SVGProps<SVGSVGElement>) => (
10
10
  {...props}
11
11
  >
12
12
  <path
13
- stroke="currentColor"
14
- strokeLinecap="round"
15
- strokeLinejoin="round"
16
- d="M18.118 14.702 14 15.5c-2.782-1.396-4.5-3-5.5-5.5l.77-4.13L7.815 2H4.064c-1.128 0-2.016.932-1.847 2.047.42 2.783 1.66 7.83 5.283 11.453 3.805 3.805 9.286 5.456 12.302 6.113 1.165.253 2.198-.655 2.198-1.848v-3.584z"
13
+ fill="currentColor"
14
+ fillRule="evenodd"
15
+ d="M2.028 4.73C1.798 3.214 3.016 2 4.458 2h3.521c.293 0 .556.182.66.456l1.366 3.633c.045.12.056.25.033.377l-.685 3.672c.841 1.98 2.231 3.31 4.537 4.502l3.628-.703a.7.7 0 0 1 .385.033l3.644 1.389a.7.7 0 0 1 .453.658v3.365c0 1.525-1.344 2.764-2.917 2.422l.15-.688-.15.688c-2.867-.624-8.177-2.21-11.897-5.929l.498-.498-.498.498C3.623 12.312 2.43 7.391 2.028 4.731l.696-.106zm2.43-1.322c-.675 0-1.125.537-1.038 1.112.388 2.566 1.521 7.119 4.762 10.36 3.425 3.424 8.404 4.94 11.2 5.548.614.133 1.21-.334 1.21-1.046v-2.88l-3.003-1.144-3.67.71a.7.7 0 0 1-.449-.062c-2.717-1.363-4.48-2.98-5.501-5.53a.7.7 0 0 1-.038-.39L8.617 6.4 7.492 3.408z"
16
+ clipRule="evenodd"
17
17
  />
18
18
  </svg>
19
19
  );
@@ -10,10 +10,16 @@ const SvgPlusCircle = (props: SVGProps<SVGSVGElement>) => (
10
10
  {...props}
11
11
  >
12
12
  <path
13
- stroke="currentColor"
14
- strokeLinecap="round"
15
- strokeLinejoin="round"
16
- d="M8 12h4m4 0h-4m0 0V8m0 4v4M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10"
13
+ fill="currentColor"
14
+ fillRule="evenodd"
15
+ d="M12 7.25a.75.75 0 0 1 .75.75v3.25H16a.75.75 0 0 1 0 1.5h-3.25V16a.75.75 0 0 1-1.5 0v-3.25H8a.75.75 0 0 1 0-1.5h3.25V8a.75.75 0 0 1 .75-.75"
16
+ clipRule="evenodd"
17
+ />
18
+ <path
19
+ fill="currentColor"
20
+ fillRule="evenodd"
21
+ d="M12 2.75a9.25 9.25 0 1 0 0 18.5 9.25 9.25 0 0 0 0-18.5M1.25 12C1.25 6.063 6.063 1.25 12 1.25S22.75 6.063 22.75 12 17.937 22.75 12 22.75 1.25 17.937 1.25 12"
22
+ clipRule="evenodd"
17
23
  />
18
24
  </svg>
19
25
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tui-cruises/mein-schiff-web-react-component-library",
3
- "version": "2.2.3",
3
+ "version": "2.2.5",
4
4
  "main": "./index.tsx",
5
5
  "types": "./index.tsx",
6
6
  "type": "module",
Binary file
@@ -57,7 +57,7 @@ export const AccordionItem: FC<AccordionItemProps> = ({
57
57
 
58
58
  {children && (
59
59
  <Radix.AccordionContent asChild>
60
- <div className="overflow-hidden transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down">
60
+ <div className="overflow-x-auto overflow-y-hidden transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down">
61
61
  <div className="px-2 pt-4 text-marine-high-emphasis md:pt-3">
62
62
  {children}
63
63
  </div>
@@ -87,7 +87,7 @@ const Stepper = (props: StepperProps) => {
87
87
  variant="secondary"
88
88
  on={on}
89
89
  data-track-click-element={EventClickElement.Button}
90
- data-track-click-label={`${trackingName}stepper-decrease`}
90
+ data-track-click-label={`${trackingName}-stepper-decrease`}
91
91
  aria-label={i18n?.stepperDecrease ?? 'Anzahl verringern'}
92
92
  />
93
93
  <div
@@ -16,7 +16,7 @@ type CommonProps = ButtonHTMLAttributes<HTMLButtonElement> &
16
16
  iconLeft?: IconName;
17
17
  iconRight?: IconName;
18
18
  iconSize?: 'xs' | 'sm' | 'md' | 'lg';
19
- size?: 'sm' | 'md';
19
+ size?: 'sm' | 'md' | 'lg';
20
20
  on?: 'white' | 'gray' | 'ocean' | 'image';
21
21
  }>;
22
22
 
@@ -53,6 +53,7 @@ const TextButtonRenderFunction: ForwardRefRenderFunction<
53
53
  'focus:outline-none focus-visible:shadow-focus-state',
54
54
  'disabled:pointer-events-none disabled:text-secondary-marine-48',
55
55
  size === 'sm' && 'text-sm',
56
+ size === 'lg' && 'text-lg',
56
57
 
57
58
  // On white (default)
58
59
  on === 'white' && 'text-marine-high-emphasis',