@razorpay/blade 6.5.2 → 6.6.1
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 +19 -0
- package/build/components/index.d.ts +118 -171
- package/build/components/index.native.d.ts +122 -178
- package/build/components/index.native.js +31 -29
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +331 -183
- package/build/components/index.web.js.map +1 -1
- package/build/css/bankingThemeDarkDesktop.css +2 -1
- package/build/css/bankingThemeDarkMobile.css +2 -1
- package/build/css/bankingThemeLightDesktop.css +2 -1
- package/build/css/bankingThemeLightMobile.css +2 -1
- package/build/css/paymentThemeDarkDesktop.css +2 -1
- package/build/css/paymentThemeDarkMobile.css +2 -1
- package/build/css/paymentThemeLightDesktop.css +2 -1
- package/build/css/paymentThemeLightMobile.css +2 -1
- package/build/tokens/index.d.ts +19 -0
- package/build/tokens/index.native.d.ts +19 -0
- package/build/tokens/index.native.js +2 -2
- package/build/tokens/index.native.js.map +1 -1
- package/build/tokens/index.web.js +2 -0
- package/build/tokens/index.web.js.map +1 -1
- package/build/utils/index.d.ts +1 -7
- package/build/utils/index.native.d.ts +1 -7
- package/build/utils/index.native.js.map +1 -1
- package/build/utils/index.web.js +3 -5
- package/build/utils/index.web.js.map +1 -1
- package/package.json +1 -1
package/build/utils/index.d.ts
CHANGED
|
@@ -166,12 +166,6 @@ declare const getMediaQuery: ({ min, max }: {
|
|
|
166
166
|
declare type PlatformTypes = 'browser' | 'node' | 'react-native' | 'unknown';
|
|
167
167
|
declare const getPlatformType: () => PlatformTypes;
|
|
168
168
|
|
|
169
|
-
/**
|
|
170
|
-
* A type defining React component with additional static prop `componentId`
|
|
171
|
-
*/
|
|
172
|
-
declare type WithComponentId<Props> = ((props: Props) => React.ReactElement) & {
|
|
173
|
-
componentId: string;
|
|
174
|
-
};
|
|
175
169
|
/**
|
|
176
170
|
* Gets the `componentId` prop of React component if it exists.
|
|
177
171
|
*/
|
|
@@ -543,4 +537,4 @@ declare const castNativeType: <T>(value: T) => Extract<T, {
|
|
|
543
537
|
__brand__?: "platform-all" | "platform-native" | undefined;
|
|
544
538
|
}>;
|
|
545
539
|
|
|
546
|
-
export { AccessibilityKeys, AccessibilityMap, AccessibilityProps, AriaAttributes, AriaRoles, DeepPartial, MakeSize, MetaConstants, Platform, PlatformTypes, UseColorScheme,
|
|
540
|
+
export { AccessibilityKeys, AccessibilityMap, AccessibilityProps, AriaAttributes, AriaRoles, DeepPartial, MakeSize, MetaConstants, Platform, PlatformTypes, UseColorScheme, castNativeType, castWebType, getColorScheme, getComponentId, getMediaQuery, getOS, getPlatformType, isAndroid, isPartialMatchObjectKeys, isReactNative, isValidAllowedChildren, makeAccessible, makeBezier, makeBorderSize, makeMotionTime, makeSize, makeSpace, makeTypographySize, metaAttribute, setupMatchMediaMock, testID, toTitleCase, useBreakpoint, useColorScheme, usePrevious };
|
|
@@ -167,12 +167,6 @@ declare const getMediaQuery: ({ min, max }: {
|
|
|
167
167
|
declare type PlatformTypes = 'browser' | 'node' | 'react-native' | 'unknown';
|
|
168
168
|
declare const getPlatformType: () => PlatformTypes;
|
|
169
169
|
|
|
170
|
-
/**
|
|
171
|
-
* A type defining React component with additional static prop `componentId`
|
|
172
|
-
*/
|
|
173
|
-
declare type WithComponentId<Props> = ((props: Props) => React.ReactElement) & {
|
|
174
|
-
componentId: string;
|
|
175
|
-
};
|
|
176
170
|
/**
|
|
177
171
|
* Gets the `componentId` prop of React component if it exists.
|
|
178
172
|
*/
|
|
@@ -542,4 +536,4 @@ declare const castNativeType: <T>(value: T) => Extract<T, {
|
|
|
542
536
|
__brand__?: "platform-native" | "platform-all" | undefined;
|
|
543
537
|
}>;
|
|
544
538
|
|
|
545
|
-
export { AccessibilityKeys, AccessibilityMap, AccessibilityProps, AriaAttributes, AriaRoles, DeepPartial, MakeSize, MetaConstants, Platform, PlatformTypes, UseColorScheme,
|
|
539
|
+
export { AccessibilityKeys, AccessibilityMap, AccessibilityProps, AriaAttributes, AriaRoles, DeepPartial, MakeSize, MetaConstants, Platform, PlatformTypes, UseColorScheme, castNativeType, castWebType, getColorScheme, getComponentId, getMediaQuery, getOS, getPlatformType, isAndroid, isPartialMatchObjectKeys, isReactNative, isValidAllowedChildren, makeAccessible, makeBezier, makeBorderSize, makeMotionTime, makeSize, makeSpace, makeTypographySize, metaAttribute, setupMatchMediaMock, testID, toTitleCase, useBreakpoint, useColorScheme, usePrevious };
|