Skip to content

Commit eef757f

Browse files
committed
chore: update version to 1.9.5-beta-7 in package.json and package-lock.json; add tooltip to country name in CountrySelect and adjust PhoneInput placeholder
1 parent 6c2c201 commit eef757f

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "1.9.5-beta-6",
3+
"version": "1.9.5-beta-7",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Shared/Components/CountrySelect/utils.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { defaultCountries, parseCountry, ParsedCountry } from 'react-international-phone'
2+
import { Tooltip } from '@Common/Tooltip'
23
import { CountrySelectProps } from './types'
34
import { SelectPickerOptionType } from '../SelectPicker'
45
import { FlagImage } from '../FlagImage'
@@ -15,7 +16,9 @@ export const getCountryOptions = (variant: CountrySelectProps['variant']): Selec
1516
variant === 'selectPhoneCode' ? (
1617
<div className="flexbox dc__gap-8 dc__align-items-center">
1718
<FlagImage country={parsedCountry.iso2} size={16} />
18-
<span className="fs-13 fw-4 lh-20">{countryWithDialCode}</span>
19+
<Tooltip content={countryWithDialCode}>
20+
<span className="fs-13 fw-4 lh-20 dc__truncate">{countryWithDialCode}</span>
21+
</Tooltip>
1922
</div>
2023
) : (
2124
parsedCountry.name

src/Shared/Components/PhoneInput/PhoneInput.component.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ const PhoneInput = ({
4141

4242
<div className="flexbox-col dc__gap-4 dc__grid">
4343
<div className="flexbox dc__gap-8 w-100">
44-
<div className="flexbox dc__mxw-50-per">
44+
<div className="flexbox dc__mxw-50-per mw-76">
4545
<CountrySelect
46-
placeholder=""
46+
placeholder={null}
4747
selectedCountry={country.iso2}
4848
variant="selectPhoneCode"
4949
handleChange={handleUpdateCountry}

0 commit comments

Comments
 (0)