@tui-cruises/mein-schiff-web-react-component-library 2.0.2 → 2.0.4

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,20 @@
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.0.4](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/compare/v2.0.3...v2.0.4) (2025-06-19)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **release:** replace local file dependencies with versions for npm pack ([eac75a6](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/eac75a6d83efec0906037fbc536f8bcca8ab2336))
11
+
12
+ ### [2.0.3](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/compare/v2.0.2...v2.0.3) (2025-06-05)
13
+
14
+
15
+ ### Features
16
+
17
+ * **IconButton:** new primary on image variant ([afac614](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/afac61473118ecaaaa8a746212b2a9a7375a1c54))
18
+
5
19
  ### [2.0.2](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/compare/v2.0.1...v2.0.2) (2025-06-04)
6
20
 
7
21
 
@@ -12,14 +26,6 @@ All notable changes to this project will be documented in this file. See [standa
12
26
  ### [2.0.1](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/compare/v2.0.0-rc.1...v2.0.1) (2025-06-04)
13
27
 
14
28
 
15
- ### ⚠ BREAKING CHANGES
16
-
17
- * **PriceInput:** none
18
- * **PhoneNumberInput:** none
19
- * **Button:** none
20
- * **Tag:** none
21
- * **pictograms:** none
22
-
23
29
  ### Features
24
30
 
25
31
  * **BirthdateField:** new form field focus style ([bb8d535](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/bb8d535a8e125830abbf46f233b9d6e8053d1183))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tui-cruises/mein-schiff-web-react-component-library",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "main": "./index.tsx",
5
5
  "types": "./index.tsx",
6
6
  "type": "module",
@@ -10,7 +10,8 @@
10
10
  "prettier": "prettier --write ./src",
11
11
  "dev": "storybook dev -p 6006",
12
12
  "build-storybook": "storybook build",
13
- "release": "standard-version",
13
+ "release": "standard-version && npm run pack:public",
14
+ "pack:public": "node scripts/prepare-pack.mjs",
14
15
  "generate-icon-components": "node icons-import-svgs/generate-icons.cjs && prettier --write icons"
15
16
  },
16
17
  "config": {
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import { EventClickElement } from '@tuic/tracking';
3
+ import { EventClickElement } from '@tuic/lib/tracking/tealium';
4
4
  import {
5
5
  FC,
6
6
  cloneElement,
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import { EventClickElement } from '@tuic/tracking';
3
+ import { EventClickElement } from '@tuic/lib/tracking/tealium';
4
4
  import { type ElementType, FC, LiHTMLAttributes, ReactNode } from 'react';
5
5
  import { Divider } from '../../core/Divider';
6
6
  import { IconButton } from '../../core/IconButton';
@@ -13,7 +13,7 @@ type CommonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
13
13
  asChild?: boolean;
14
14
  iconName: IconName;
15
15
  iconPosition?: 'left' | 'right';
16
- on?: 'white' | 'gray' | 'ocean';
16
+ on?: 'white' | 'gray' | 'ocean' | 'image';
17
17
  };
18
18
 
19
19
  export type IconButtonPrimaryAndSecondaryProps = CommonProps & {
@@ -75,7 +75,11 @@ const IconButtonRenderFunction: ForwardRefRenderFunction<
75
75
  on === 'ocean' && 'bg-surface-secondary-100 text-white',
76
76
  on === 'ocean' && 'group-hover/icon-button:bg-surface-secondary-120',
77
77
  on === 'ocean' && 'group-active/icon-button:bg-surface-secondary-120',
78
- on === 'ocean' && 'group-disabled/icon-button:bg-surface-secondary-7',
78
+
79
+ // On image
80
+ on === 'image' && 'bg-surface-white',
81
+ on === 'image' && 'group-hover/button:bg-surface-secondary-7',
82
+ on === 'image' && 'group-active/button:bg-surface-secondary-7',
79
83
  ],
80
84
 
81
85
  variant === 'secondary' && [
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import { EventClickElement } from '@tuic/tracking';
3
+ import { EventClickElement } from '@tuic/lib/tracking/tealium';
4
4
  import {
5
5
  cloneElement,
6
6
  ComponentPropsWithoutRef,