@tui-cruises/mein-schiff-web-react-component-library 2.0.1 → 2.0.3
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,36 +2,21 @@
|
|
|
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.
|
|
6
|
-
|
|
5
|
+
### [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)
|
|
7
6
|
|
|
8
|
-
### ⚠ BREAKING CHANGES
|
|
9
|
-
|
|
10
|
-
* **PriceInput:** none
|
|
11
|
-
* **PhoneNumberInput:** none
|
|
12
|
-
* **Button:** none
|
|
13
|
-
* **Tag:** none
|
|
14
|
-
* **pictograms:** none
|
|
15
7
|
|
|
16
8
|
### Features
|
|
17
9
|
|
|
18
|
-
* **
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
* **PhoneNumberInput:** refactor component ([c2d0cf2](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/c2d0cf2778fed1ab26d12e575f74a8c8dbb884b1))
|
|
22
|
-
* **PriceInput:** refactor component ([98a2594](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/98a2594bc0579294c3ddbe2e94596fc2a71136cc))
|
|
23
|
-
* **RadixSelect:** new form field focus style ([7103190](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/7103190186e3a9ff1f2cb65e3b704b3192cf6abf))
|
|
24
|
-
* **Tag:** refactoring and new properties ([fe70164](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/fe7016450480f4e3b70acc6f67bb74d8d438e66e))
|
|
10
|
+
* **IconButton:** new primary on image variant ([afac614](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/afac61473118ecaaaa8a746212b2a9a7375a1c54))
|
|
11
|
+
|
|
12
|
+
### [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)
|
|
25
13
|
|
|
26
14
|
|
|
27
15
|
### Bug Fixes
|
|
28
16
|
|
|
29
|
-
* **
|
|
30
|
-
* **IconButton:** Transition ([739793e](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/739793e2d6cc82e17cfbdf9439289b0bd130ff7a))
|
|
31
|
-
* **PasswordField:** focus border radius update ([1694e4b](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/1694e4b9f74aed973ef4e0315dcfc9bf428486bb))
|
|
32
|
-
* **pictograms:** remove yellow from badge pictograms per brand guidelines ([62f8655](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/62f8655f021fb7a47ed7d9881c89820c63605548))
|
|
17
|
+
* **Tag:** correct font sizes ([8bcf8d8](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/8bcf8d83034c798b98b73360c24e11d32d04ccae))
|
|
33
18
|
|
|
34
|
-
|
|
19
|
+
### [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)
|
|
35
20
|
|
|
36
21
|
|
|
37
22
|
### ⚠ BREAKING CHANGES
|
|
@@ -60,4 +45,4 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
60
45
|
* **PasswordField:** focus border radius update ([1694e4b](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/1694e4b9f74aed973ef4e0315dcfc9bf428486bb))
|
|
61
46
|
* **pictograms:** remove yellow from badge pictograms per brand guidelines ([62f8655](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/62f8655f021fb7a47ed7d9881c89820c63605548))
|
|
62
47
|
|
|
63
|
-
|
|
48
|
+
### [2.0.0-rc.1](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/compare/v2.0.0...v2.0.0-rc.1) (2025-04-29)
|
package/package.json
CHANGED
|
@@ -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
|
-
|
|
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' && [
|
|
@@ -82,8 +82,6 @@ const Tag = ({
|
|
|
82
82
|
children,
|
|
83
83
|
...args
|
|
84
84
|
}: TagProps) => {
|
|
85
|
-
const isAttention = variant === 'attention';
|
|
86
|
-
|
|
87
85
|
const padding =
|
|
88
86
|
border === 'rounded-full'
|
|
89
87
|
? size === 'sm'
|
|
@@ -92,8 +90,14 @@ const Tag = ({
|
|
|
92
90
|
: size === 'sm'
|
|
93
91
|
? 'px-2 py-0.5'
|
|
94
92
|
: 'px-3 py-2';
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
const textSize =
|
|
94
|
+
border === 'rounded-full'
|
|
95
|
+
? size === 'sm'
|
|
96
|
+
? 'text-sm'
|
|
97
|
+
: 'text-base'
|
|
98
|
+
: size === 'sm'
|
|
99
|
+
? 'text-base'
|
|
100
|
+
: 'text-lg';
|
|
97
101
|
const borderRadius =
|
|
98
102
|
border === 'rounded-full' ? 'rounded-full' : 'rounded-sm';
|
|
99
103
|
|