@gravitee/graphene-core 3.57.0 → 3.57.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/dist/composed/CopyableText/CopyableText.d.ts.map +1 -1
- package/dist/composed/DataTable/cells.d.ts.map +1 -1
- package/dist/composed/ElCheatSheetTrigger/ElCheatSheetTrigger.d.ts.map +1 -1
- package/dist/index.js +1264 -1256
- package/dist/lib/clipboard.d.ts +12 -0
- package/dist/lib/clipboard.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Writes `value` to the clipboard through the Clipboard API, or, when the API is missing or refuses the
|
|
3
|
+
* write, through `document.execCommand('copy')`.
|
|
4
|
+
*
|
|
5
|
+
* @param anchor The element that triggered the copy, usually the copy button. The fallback's textarea is
|
|
6
|
+
* placed next to it, so a dialog's focus trap lets it be selected.
|
|
7
|
+
* @returns A promise that resolves once the value is copied, and rejects when both ways fail: with the
|
|
8
|
+
* Clipboard API's rejection, or with an Error when the API is missing.
|
|
9
|
+
*/
|
|
10
|
+
declare function copyToClipboard(value: string, anchor: HTMLElement): Promise<void>;
|
|
11
|
+
export { copyToClipboard };
|
|
12
|
+
//# sourceMappingURL=clipboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clipboard.d.ts","sourceRoot":"","sources":["../../src/lib/clipboard.ts"],"names":[],"mappings":"AA0BA;;;;;;;;GAQG;AACH,iBAAe,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAahF;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravitee/graphene-core",
|
|
3
|
-
"version": "3.57.
|
|
3
|
+
"version": "3.57.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Gravitee's Graphene design system: accessible React components, design tokens, icons, and shared ESLint/TypeScript configs. Built on shadcn/ui and Tailwind.",
|
|
6
6
|
"keywords": [
|