@rh-support/components 2.1.76 → 2.1.78
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.
|
@@ -169,7 +169,7 @@ export const COUNTRY_DATA = [
|
|
|
169
169
|
['Gabon', ['africa'], 'ga', '241'],
|
|
170
170
|
['Gambia', ['africa'], 'gm', '220'],
|
|
171
171
|
['Georgia', ['asia', 'ex-ussr'], 'ge', '995'],
|
|
172
|
-
['Germany', ['europe', 'eu-union', 'baltic'], 'de', '49'
|
|
172
|
+
['Germany', ['europe', 'eu-union', 'baltic'], 'de', '49'],
|
|
173
173
|
['Ghana', ['africa'], 'gh', '233'],
|
|
174
174
|
['Greece', ['europe', 'eu-union'], 'gr', '30'],
|
|
175
175
|
['Greenland', ['america', 'north-america'], 'gl', '299'],
|
|
@@ -8,7 +8,7 @@ import React, { useEffect, useState } from 'react';
|
|
|
8
8
|
import { useTranslation } from 'react-i18next';
|
|
9
9
|
import { COUNTRY_DATA } from './CountryData';
|
|
10
10
|
const PREFIX = '+';
|
|
11
|
-
const DEFAULT_MASK = '... ... ... ...
|
|
11
|
+
const DEFAULT_MASK = '... ... ... ... ... ... ...';
|
|
12
12
|
const DEFAULT_FORMAT = PREFIX + DEFAULT_MASK;
|
|
13
13
|
const ALWAYS_DEFAULT_MASK = false;
|
|
14
14
|
// Getting Country phone format
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBreakpoint.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBreakpoint.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAO/D,MAAM,MAAM,MAAM,GAAG;IACjB,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CAClC,CAAC;
|
|
1
|
+
{"version":3,"file":"useBreakpoint.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBreakpoint.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAO/D,MAAM,MAAM,MAAM,GAAG;IACjB,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CAClC,CAAC;AAcF,iBAAS,kBAAkB,CAAC,EAAE,QAAQ,EAAE,OAAwB,EAAE,EAAE,KAAK,CAAC,iBAAiB,CAAC;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,qBA+ChH;AAED,iBAAS,aAAa;;EAMrB;AACD,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -9,6 +9,7 @@ const defaultQueries = {
|
|
|
9
9
|
lg: `(min-width: 992px)`,
|
|
10
10
|
xl: `(min-width: 1300px)`,
|
|
11
11
|
xxl: `(min-width: 1800px)`,
|
|
12
|
+
lgh: `(min-height: 1100px)`,
|
|
12
13
|
};
|
|
13
14
|
function BreakpointProvider({ children, queries = defaultQueries }) {
|
|
14
15
|
const [queryMatch, setQueryMatch] = useState({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/components",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.78",
|
|
4
4
|
"description": "Contains all reusabel components for support app",
|
|
5
5
|
"author": "Vikas Rathee <vrathee@redhat.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
"defaults and supports es6-module",
|
|
110
110
|
"maintained node versions"
|
|
111
111
|
],
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "0b68f805f8c48c99784e651c3e41fdc81da526eb"
|
|
113
113
|
}
|