@tui-cruises/mein-schiff-web-react-component-library 2.0.1 → 2.0.2
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 +4 -26
- package/package.json +1 -1
- package/src/components/core/Tag/Tag.tsx +8 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,36 +2,14 @@
|
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
### ⚠ BREAKING CHANGES
|
|
9
|
-
|
|
10
|
-
* **PriceInput:** none
|
|
11
|
-
* **PhoneNumberInput:** none
|
|
12
|
-
* **Button:** none
|
|
13
|
-
* **Tag:** none
|
|
14
|
-
* **pictograms:** none
|
|
15
|
-
|
|
16
|
-
### Features
|
|
17
|
-
|
|
18
|
-
* **BirthdateField:** new form field focus style ([bb8d535](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/bb8d535a8e125830abbf46f233b9d6e8053d1183))
|
|
19
|
-
* **Button:** new active custom state property ([e660259](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/e66025965b4499739691b5a7dc17e9967e7939ea))
|
|
20
|
-
* **InputFieldInput:** new form field focus style ([44fa936](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/44fa936e1d289b71003c6d2532aaecace5f04316))
|
|
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))
|
|
5
|
+
### [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
6
|
|
|
26
7
|
|
|
27
8
|
### Bug Fixes
|
|
28
9
|
|
|
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))
|
|
10
|
+
* **Tag:** correct font sizes ([8bcf8d8](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/8bcf8d83034c798b98b73360c24e11d32d04ccae))
|
|
33
11
|
|
|
34
|
-
|
|
12
|
+
### [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
13
|
|
|
36
14
|
|
|
37
15
|
### ⚠ BREAKING CHANGES
|
|
@@ -60,4 +38,4 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
60
38
|
* **PasswordField:** focus border radius update ([1694e4b](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/1694e4b9f74aed973ef4e0315dcfc9bf428486bb))
|
|
61
39
|
* **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
40
|
|
|
63
|
-
|
|
41
|
+
### [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
|
@@ -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
|
|