@moduk/frontend 1.7.4 → 1.8.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/package.json +13 -13
- package/react/esm/index.js +3 -1
- package/react/esm/inset-text/InsetText.js +24 -0
- package/react/esm/inset-text/index.js +1 -0
- package/react/esm/internal/test-utils/Root.js +2 -2
- package/react/esm/warning-text/WarningText.js +37 -0
- package/react/esm/warning-text/index.js +1 -0
- package/react/index.d.ts +2 -0
- package/react/index.d.ts.map +1 -1
- package/react/index.js +1 -1
- package/react/index.js.map +1 -1
- package/react/inset-text/InsetText.d.ts +17 -0
- package/react/inset-text/InsetText.d.ts.map +1 -0
- package/react/inset-text/index.d.ts +2 -0
- package/react/inset-text/index.d.ts.map +1 -0
- package/react/warning-text/WarningText.d.ts +21 -0
- package/react/warning-text/WarningText.d.ts.map +1 -0
- package/react/warning-text/index.d.ts +2 -0
- package/react/warning-text/index.d.ts.map +1 -0
- package/src/react/inset-text/__examples__/default.tsx +5 -0
- package/src/react/warning-text/__examples__/default.tsx +5 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
|
+
export interface InsetTextProps extends ComponentPropsWithoutRef<'div'> {
|
|
3
|
+
/**
|
|
4
|
+
* Inset text content.
|
|
5
|
+
*/
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Inset text.
|
|
10
|
+
*
|
|
11
|
+
* @experimental React components are in alpha and subject to change.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* <InsetText>You’ll get confirmation that we have received your report within 5 working days.</InsetText>
|
|
15
|
+
*/
|
|
16
|
+
export declare const InsetText: import("react").ForwardRefExoticComponent<InsetTextProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
|
+
//# sourceMappingURL=InsetText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InsetText.d.ts","sourceRoot":"","sources":["../../../src/react/inset-text/InsetText.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,wBAAwB,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjF,MAAM,WAAW,cAAe,SAAQ,wBAAwB,CAAC,KAAK,CAAC;IACrE;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS,2GAMrB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/inset-text/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
|
+
export interface WarningTextProps extends ComponentPropsWithoutRef<'div'> {
|
|
3
|
+
/**
|
|
4
|
+
* Warning text content.
|
|
5
|
+
*/
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* The fallback text for the icon. Defaults to ‘Warning’
|
|
9
|
+
*/
|
|
10
|
+
iconFallbackText?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Warning text.
|
|
14
|
+
*
|
|
15
|
+
* @experimental React components are in alpha and subject to change.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* <WarningText>Completed</WarningText>
|
|
19
|
+
*/
|
|
20
|
+
export declare const WarningText: import("react").ForwardRefExoticComponent<WarningTextProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
21
|
+
//# sourceMappingURL=WarningText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WarningText.d.ts","sourceRoot":"","sources":["../../../src/react/warning-text/WarningText.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,wBAAwB,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjF,MAAM,WAAW,gBAAiB,SAAQ,wBAAwB,CAAC,KAAK,CAAC;IACvE;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAA;IACnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,6GAUvB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/warning-text/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA"}
|