@tui-cruises/mein-schiff-web-react-component-library 2.2.4 → 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,18 @@
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
+
5
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)
6
18
 
7
19
 
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.4",
3
+ "version": "2.2.5",
4
4
  "main": "./index.tsx",
5
5
  "types": "./index.tsx",
6
6
  "type": "module",
@@ -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>
@@ -47,11 +47,6 @@ type Props = PropsWithChildren<{
47
47
  */
48
48
  open?: boolean;
49
49
 
50
- /**
51
- * A React node that will be rendered as the trigger for the modal.
52
- */
53
- trigger?: ReactNode;
54
-
55
50
  /**
56
51
  * Callback fired when the modal's open state changes.
57
52
  */
@@ -259,15 +254,9 @@ export const AlertDialog: FC<Props> = ({
259
254
  container,
260
255
  centerItems = true,
261
256
  containerClassName,
262
- trigger,
263
257
  }) => {
264
258
  return (
265
259
  <AlertDialogPrimitive.Root open={open} onOpenChange={onOpenChange}>
266
- {trigger && (
267
- <AlertDialogPrimitive.Trigger asChild>
268
- {trigger}
269
- </AlertDialogPrimitive.Trigger>
270
- )}
271
260
  <AlertDialogPrimitive.Portal container={container || undefined}>
272
261
  <AlertDialogPrimitive.Overlay
273
262
  className={twJoin(
@@ -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',