@exmg/exm-copy-to-clipboard 1.2.8 → 1.2.9

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.
@@ -40,7 +40,7 @@ export declare class ExmCopyToClipboard extends ExmgElement {
40
40
  * Handle button tap event and trigger the actual copy to clipboard
41
41
  */
42
42
  handleCopyAction(e: Event): void;
43
- render(): import("lit-html").TemplateResult<1>;
43
+ render(): import("lit").TemplateResult<1>;
44
44
  }
45
45
  declare global {
46
46
  interface HTMLElementTagNameMap {
@@ -0,0 +1,13 @@
1
+ import type { StoryObj } from '@storybook/web-components-vite';
2
+ import { ExmCopyToClipboard } from './exm-copy-to-clipboard.js';
3
+ import './exm-copy-to-clipboard.js';
4
+ import '@material/web/icon/icon.js';
5
+ import '@material/web/button/filled-button.js';
6
+ declare const meta: {
7
+ title: string;
8
+ tags: string[];
9
+ render: () => import("lit").TemplateResult<1>;
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<ExmCopyToClipboard>;
13
+ export declare const Default: Story;
@@ -0,0 +1,16 @@
1
+ import { faker } from '@faker-js/faker';
2
+ import { html } from 'lit';
3
+ import './exm-copy-to-clipboard.js';
4
+ import '@material/web/icon/icon.js';
5
+ import '@material/web/button/filled-button.js';
6
+ const lorem = faker.lorem.words();
7
+ const meta = {
8
+ title: 'Packages/Copy To Clipboard',
9
+ tags: ['autodocs'],
10
+ render: () => html `<exm-copy-to-clipboard value="${lorem}">
11
+ <md-filled-button>${lorem}</md-filled-button>
12
+ </exm-copy-to-clipboard>`,
13
+ };
14
+ export default meta;
15
+ export const Default = {};
16
+ //# sourceMappingURL=exm-copy-to-clipboard.stories.js.map
@@ -40,7 +40,7 @@ export declare class ExmCopyToClipboard extends ExmgElement {
40
40
  * Handle button tap event and trigger the actual copy to clipboard
41
41
  */
42
42
  handleCopyAction(e: Event): void;
43
- render(): import("lit-html").TemplateResult<1>;
43
+ render(): import("lit").TemplateResult<1>;
44
44
  }
45
45
  declare global {
46
46
  interface HTMLElementTagNameMap {
@@ -1,4 +1,4 @@
1
- import { __decorate } from 'tslib';
1
+ import { __decorate } from './node_modules/.bun/@rollup_plugin-typescript@12.3.0_8b7a8dd02ef2c96b/node_modules/tslib/tslib.es6.js';
2
2
  import { html } from 'lit';
3
3
  import { property, state, query, customElement } from 'lit/decorators.js';
4
4
  import { ExmgElement } from '@exmg/lit-base/index.js';
@@ -0,0 +1,13 @@
1
+ import type { StoryObj } from '@storybook/web-components-vite';
2
+ import { ExmCopyToClipboard } from './exm-copy-to-clipboard.js';
3
+ import './exm-copy-to-clipboard.js';
4
+ import '@material/web/icon/icon.js';
5
+ import '@material/web/button/filled-button.js';
6
+ declare const meta: {
7
+ title: string;
8
+ tags: string[];
9
+ render: () => import("lit").TemplateResult<1>;
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<ExmCopyToClipboard>;
13
+ export declare const Default: Story;
@@ -0,0 +1,31 @@
1
+ /******************************************************************************
2
+ Copyright (c) Microsoft Corporation.
3
+
4
+ Permission to use, copy, modify, and/or distribute this software for any
5
+ purpose with or without fee is hereby granted.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
+ PERFORMANCE OF THIS SOFTWARE.
14
+ ***************************************************************************** */
15
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
16
+
17
+
18
+ function __decorate(decorators, target, key, desc) {
19
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
21
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
22
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
23
+ }
24
+
25
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
26
+ var e = new Error(message);
27
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
28
+ };
29
+
30
+ export { __decorate };
31
+ //# sourceMappingURL=tslib.es6.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exmg/exm-copy-to-clipboard",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "e1496408e91a3861a0eb532a05ebae18320ac591"
38
+ "gitHead": "c27c4ffabda0c6a509df58537017af65719d1e57"
39
39
  }