@3t-transform/threeteeui 0.0.6 → 0.0.7
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/cjs/{index-8a7479e4.js → index-253ca97c.js} +239 -415
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/tttx-button.cjs.entry.js +28 -0
- package/dist/cjs/tttx-checkbox.cjs.entry.js +28 -0
- package/dist/cjs/tttx-form.cjs.entry.js +58 -0
- package/dist/cjs/tttx-single-input.cjs.entry.js +44 -0
- package/dist/cjs/tttx-text-box.cjs.entry.js +38 -0
- package/dist/cjs/tttx.cjs.js +7 -3
- package/dist/collection/collection-manifest.json +7 -5
- package/dist/collection/components/atoms/tttx-button/tttx-button.css +61 -0
- package/dist/collection/components/atoms/tttx-button/tttx-button.js +93 -0
- package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +30 -0
- package/dist/collection/components/atoms/tttx-single-input/tttx-single-input.css +142 -0
- package/dist/collection/components/atoms/tttx-single-input/tttx-single-input.js +259 -0
- package/dist/collection/components/atoms/tttx-single-input/tttx-single-input.stories.js +92 -0
- package/dist/collection/components/atoms/tttx-text-box/tttx-text-box.css +142 -0
- package/dist/collection/components/atoms/tttx-text-box/tttx-text-box.js +150 -0
- package/dist/collection/components/atoms/tttx-text-box/tttx-text-box.stories.js +17 -0
- package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.css +138 -0
- package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.js +101 -0
- package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.stories.js +13 -0
- package/dist/collection/components/molecules/tttx-form/tttx-form.js +109 -0
- package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +37 -0
- package/dist/collection/icons.js +2838 -0
- package/dist/components/index.d.ts +14 -3
- package/dist/components/index.js +6 -4
- package/dist/components/{tttx-page.d.ts → tttx-button.d.ts} +4 -4
- package/dist/components/tttx-button.js +45 -0
- package/dist/components/{tttx-worksheet.d.ts → tttx-checkbox.d.ts} +4 -4
- package/dist/components/tttx-checkbox.js +46 -0
- package/dist/components/{tttx-icon.d.ts → tttx-form.d.ts} +4 -4
- package/dist/components/tttx-form.js +75 -0
- package/dist/components/tttx-single-input.d.ts +11 -0
- package/dist/components/tttx-single-input.js +71 -0
- package/dist/components/tttx-text-box.d.ts +11 -0
- package/dist/components/tttx-text-box.js +59 -0
- package/dist/esm/{index-854ff56f.js → index-fcca6c58.js} +237 -416
- package/dist/esm/loader.js +4 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/tttx-button.entry.js +24 -0
- package/dist/esm/tttx-checkbox.entry.js +24 -0
- package/dist/esm/tttx-form.entry.js +54 -0
- package/dist/esm/tttx-single-input.entry.js +40 -0
- package/dist/esm/tttx-text-box.entry.js +34 -0
- package/dist/esm/tttx.js +4 -3
- package/dist/tttx/p-05d7d002.entry.js +1 -0
- package/dist/tttx/p-40709c59.entry.js +1 -0
- package/dist/tttx/p-64703252.entry.js +1 -0
- package/dist/tttx/p-8d1f2e5c.entry.js +1 -0
- package/dist/tttx/p-9bf836ed.entry.js +1 -0
- package/dist/tttx/p-a7b95fd2.js +2 -0
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/atoms/tttx-button/tttx-button.d.ts +9 -0
- package/dist/types/components/atoms/tttx-button/tttx-button.stories.d.ts +20 -0
- package/dist/types/components/atoms/tttx-single-input/tttx-single-input.d.ts +20 -0
- package/dist/types/components/atoms/tttx-single-input/tttx-single-input.stories.d.ts +27 -0
- package/dist/types/components/atoms/tttx-text-box/tttx-text-box.d.ts +14 -0
- package/dist/types/components/atoms/tttx-text-box/tttx-text-box.stories.d.ts +6 -0
- package/dist/types/components/atoms/ttx-checkbox/tttx-checkbox.d.ts +9 -0
- package/dist/types/components/atoms/ttx-checkbox/tttx-checkbox.stories.d.ts +6 -0
- package/dist/types/components/molecules/tttx-form/tttx-form.d.ts +11 -0
- package/dist/types/components/molecules/tttx-form/tttx-form.stories.d.ts +6 -0
- package/dist/types/components.d.ts +128 -51
- package/dist/types/icons.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +59 -3
- package/loader/index.d.ts +9 -0
- package/package.json +58 -59
- package/readme.md +1 -6
- package/dist/cjs/toolbar-656be6e6.js +0 -34259
- package/dist/cjs/tttx-icon.cjs.entry.js +0 -21
- package/dist/cjs/tttx-page.cjs.entry.js +0 -927
- package/dist/cjs/tttx-worksheet.cjs.entry.js +0 -47
- package/dist/collection/components/components/tttx-icon/tttx-icon.css +0 -89
- package/dist/collection/components/components/tttx-icon/tttx-icon.js +0 -59
- package/dist/collection/components/components/tttx-icon/tttx-icon.stories.js +0 -40
- package/dist/collection/components/patterns/tttx-page/tttx-page.css +0 -162
- package/dist/collection/components/patterns/tttx-page/tttx-page.js +0 -213
- package/dist/collection/components/patterns/tttx-page/tttx-page.stories.js +0 -80
- package/dist/collection/components/patterns/tttx-worksheet/tttx-worksheet.css +0 -134
- package/dist/collection/components/patterns/tttx-worksheet/tttx-worksheet.js +0 -70
- package/dist/collection/components/patterns/tttx-worksheet/tttx-worksheet.stories.js +0 -44
- package/dist/components/tttx-icon.js +0 -37
- package/dist/components/tttx-page.js +0 -953
- package/dist/components/tttx-worksheet.js +0 -6
- package/dist/components/tttx-worksheet2.js +0 -34288
- package/dist/esm/toolbar-cede4385.js +0 -34231
- package/dist/esm/tttx-icon.entry.js +0 -17
- package/dist/esm/tttx-page.entry.js +0 -923
- package/dist/esm/tttx-worksheet.entry.js +0 -43
- package/dist/tttx/p-4b57de2e.entry.js +0 -1
- package/dist/tttx/p-61f78304.entry.js +0 -1
- package/dist/tttx/p-7244abd4.entry.js +0 -1
- package/dist/tttx/p-d038fe18.js +0 -1
- package/dist/tttx/p-ddfeb0ba.js +0 -2
- package/dist/tttx/tttx.css +0 -1
- package/dist/types/components/components/tttx-icon/tttx-icon.d.ts +0 -5
- package/dist/types/components/components/tttx-icon/tttx-icon.stories.d.ts +0 -24
- package/dist/types/components/patterns/tttx-page/tttx-page.d.ts +0 -21
- package/dist/types/components/patterns/tttx-page/tttx-page.stories.d.ts +0 -48
- package/dist/types/components/patterns/tttx-worksheet/tttx-worksheet.d.ts +0 -9
- package/dist/types/components/patterns/tttx-worksheet/tttx-worksheet.stories.d.ts +0 -23
|
@@ -6,78 +6,155 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
export namespace Components {
|
|
9
|
-
interface
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
}
|
|
13
|
-
interface TttxPage {
|
|
14
|
-
"appName": string;
|
|
15
|
-
"helpUrl": string;
|
|
16
|
-
"lastUpdated": string;
|
|
17
|
-
"logoutUrl": string;
|
|
18
|
-
"manageAccountsUrl": string;
|
|
19
|
-
"pageSize": 'large' | 'medium' | 'small' | string;
|
|
20
|
-
"pageTitle": string;
|
|
21
|
-
}
|
|
22
|
-
interface TttxWorksheet {
|
|
23
|
-
"pageSize": 'large' | 'medium' | 'small' | string;
|
|
9
|
+
interface TttxButton {
|
|
10
|
+
"buttonStyle": string;
|
|
11
|
+
"fontColor": string;
|
|
24
12
|
}
|
|
13
|
+
interface TttxCheckbox {
|
|
14
|
+
"label": string;
|
|
15
|
+
"required": boolean;
|
|
16
|
+
"value": boolean;
|
|
17
|
+
}
|
|
18
|
+
interface TttxForm {
|
|
19
|
+
"dataAttribute": string;
|
|
20
|
+
"functionAttribute": string;
|
|
21
|
+
}
|
|
22
|
+
interface TttxSingleInput {
|
|
23
|
+
"errormsg": string;
|
|
24
|
+
"iconleft": string;
|
|
25
|
+
"iconright": string;
|
|
26
|
+
"label": string;
|
|
27
|
+
"pattern": string;
|
|
28
|
+
"placeholder": string;
|
|
29
|
+
"required": boolean;
|
|
30
|
+
"showerrormsg": boolean;
|
|
31
|
+
"type": string;
|
|
32
|
+
"valid": boolean;
|
|
33
|
+
"value": string;
|
|
34
|
+
}
|
|
35
|
+
interface TttxTextBox {
|
|
36
|
+
"errormsg": string;
|
|
37
|
+
"label": string;
|
|
38
|
+
"required": boolean;
|
|
39
|
+
"showerrormsg": boolean;
|
|
40
|
+
"value": string;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
export interface TttxButtonCustomEvent<T> extends CustomEvent<T> {
|
|
44
|
+
detail: T;
|
|
45
|
+
target: HTMLTttxButtonElement;
|
|
46
|
+
}
|
|
47
|
+
export interface TttxCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
48
|
+
detail: T;
|
|
49
|
+
target: HTMLTttxCheckboxElement;
|
|
50
|
+
}
|
|
51
|
+
export interface TttxFormCustomEvent<T> extends CustomEvent<T> {
|
|
52
|
+
detail: T;
|
|
53
|
+
target: HTMLTttxFormElement;
|
|
54
|
+
}
|
|
55
|
+
export interface TttxSingleInputCustomEvent<T> extends CustomEvent<T> {
|
|
56
|
+
detail: T;
|
|
57
|
+
target: HTMLTttxSingleInputElement;
|
|
58
|
+
}
|
|
59
|
+
export interface TttxTextBoxCustomEvent<T> extends CustomEvent<T> {
|
|
60
|
+
detail: T;
|
|
61
|
+
target: HTMLTttxTextBoxElement;
|
|
25
62
|
}
|
|
26
63
|
declare global {
|
|
27
|
-
interface
|
|
64
|
+
interface HTMLTttxButtonElement extends Components.TttxButton, HTMLStencilElement {
|
|
28
65
|
}
|
|
29
|
-
var
|
|
30
|
-
prototype:
|
|
31
|
-
new ():
|
|
66
|
+
var HTMLTttxButtonElement: {
|
|
67
|
+
prototype: HTMLTttxButtonElement;
|
|
68
|
+
new (): HTMLTttxButtonElement;
|
|
32
69
|
};
|
|
33
|
-
interface
|
|
70
|
+
interface HTMLTttxCheckboxElement extends Components.TttxCheckbox, HTMLStencilElement {
|
|
34
71
|
}
|
|
35
|
-
var
|
|
36
|
-
prototype:
|
|
37
|
-
new ():
|
|
72
|
+
var HTMLTttxCheckboxElement: {
|
|
73
|
+
prototype: HTMLTttxCheckboxElement;
|
|
74
|
+
new (): HTMLTttxCheckboxElement;
|
|
38
75
|
};
|
|
39
|
-
interface
|
|
76
|
+
interface HTMLTttxFormElement extends Components.TttxForm, HTMLStencilElement {
|
|
40
77
|
}
|
|
41
|
-
var
|
|
42
|
-
prototype:
|
|
43
|
-
new ():
|
|
78
|
+
var HTMLTttxFormElement: {
|
|
79
|
+
prototype: HTMLTttxFormElement;
|
|
80
|
+
new (): HTMLTttxFormElement;
|
|
81
|
+
};
|
|
82
|
+
interface HTMLTttxSingleInputElement extends Components.TttxSingleInput, HTMLStencilElement {
|
|
83
|
+
}
|
|
84
|
+
var HTMLTttxSingleInputElement: {
|
|
85
|
+
prototype: HTMLTttxSingleInputElement;
|
|
86
|
+
new (): HTMLTttxSingleInputElement;
|
|
87
|
+
};
|
|
88
|
+
interface HTMLTttxTextBoxElement extends Components.TttxTextBox, HTMLStencilElement {
|
|
89
|
+
}
|
|
90
|
+
var HTMLTttxTextBoxElement: {
|
|
91
|
+
prototype: HTMLTttxTextBoxElement;
|
|
92
|
+
new (): HTMLTttxTextBoxElement;
|
|
44
93
|
};
|
|
45
94
|
interface HTMLElementTagNameMap {
|
|
46
|
-
"tttx-
|
|
47
|
-
"tttx-
|
|
48
|
-
"tttx-
|
|
95
|
+
"tttx-button": HTMLTttxButtonElement;
|
|
96
|
+
"tttx-checkbox": HTMLTttxCheckboxElement;
|
|
97
|
+
"tttx-form": HTMLTttxFormElement;
|
|
98
|
+
"tttx-single-input": HTMLTttxSingleInputElement;
|
|
99
|
+
"tttx-text-box": HTMLTttxTextBoxElement;
|
|
49
100
|
}
|
|
50
101
|
}
|
|
51
102
|
declare namespace LocalJSX {
|
|
52
|
-
interface
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"
|
|
103
|
+
interface TttxButton {
|
|
104
|
+
"buttonStyle"?: string;
|
|
105
|
+
"fontColor"?: string;
|
|
106
|
+
"onClickEvent"?: (event: TttxButtonCustomEvent<string>) => void;
|
|
107
|
+
}
|
|
108
|
+
interface TttxCheckbox {
|
|
109
|
+
"label"?: string;
|
|
110
|
+
"onValueChanged"?: (event: TttxCheckboxCustomEvent<boolean>) => void;
|
|
111
|
+
"required"?: boolean;
|
|
112
|
+
"value"?: boolean;
|
|
113
|
+
}
|
|
114
|
+
interface TttxForm {
|
|
115
|
+
"dataAttribute"?: string;
|
|
116
|
+
"functionAttribute"?: string;
|
|
117
|
+
"onFormSubmit"?: (event: TttxFormCustomEvent<any>) => void;
|
|
118
|
+
}
|
|
119
|
+
interface TttxSingleInput {
|
|
120
|
+
"errormsg"?: string;
|
|
121
|
+
"iconleft"?: string;
|
|
122
|
+
"iconright"?: string;
|
|
123
|
+
"label"?: string;
|
|
124
|
+
"onValueChanged"?: (event: TttxSingleInputCustomEvent<string>) => void;
|
|
125
|
+
"pattern"?: string;
|
|
126
|
+
"placeholder"?: string;
|
|
127
|
+
"required"?: boolean;
|
|
128
|
+
"showerrormsg"?: boolean;
|
|
129
|
+
"type"?: string;
|
|
130
|
+
"valid"?: boolean;
|
|
131
|
+
"value"?: string;
|
|
132
|
+
}
|
|
133
|
+
interface TttxTextBox {
|
|
134
|
+
"errormsg"?: string;
|
|
135
|
+
"label"?: string;
|
|
136
|
+
"onValueChanged"?: (event: TttxTextBoxCustomEvent<string>) => void;
|
|
137
|
+
"required"?: boolean;
|
|
138
|
+
"showerrormsg"?: boolean;
|
|
139
|
+
"value"?: string;
|
|
67
140
|
}
|
|
68
141
|
interface IntrinsicElements {
|
|
69
|
-
"tttx-
|
|
70
|
-
"tttx-
|
|
71
|
-
"tttx-
|
|
142
|
+
"tttx-button": TttxButton;
|
|
143
|
+
"tttx-checkbox": TttxCheckbox;
|
|
144
|
+
"tttx-form": TttxForm;
|
|
145
|
+
"tttx-single-input": TttxSingleInput;
|
|
146
|
+
"tttx-text-box": TttxTextBox;
|
|
72
147
|
}
|
|
73
148
|
}
|
|
74
149
|
export { LocalJSX as JSX };
|
|
75
150
|
declare module "@stencil/core" {
|
|
76
151
|
export namespace JSX {
|
|
77
152
|
interface IntrinsicElements {
|
|
78
|
-
"tttx-
|
|
79
|
-
"tttx-
|
|
80
|
-
"tttx-
|
|
153
|
+
"tttx-button": LocalJSX.TttxButton & JSXBase.HTMLAttributes<HTMLTttxButtonElement>;
|
|
154
|
+
"tttx-checkbox": LocalJSX.TttxCheckbox & JSXBase.HTMLAttributes<HTMLTttxCheckboxElement>;
|
|
155
|
+
"tttx-form": LocalJSX.TttxForm & JSXBase.HTMLAttributes<HTMLTttxFormElement>;
|
|
156
|
+
"tttx-single-input": LocalJSX.TttxSingleInput & JSXBase.HTMLAttributes<HTMLTttxSingleInputElement>;
|
|
157
|
+
"tttx-text-box": LocalJSX.TttxTextBox & JSXBase.HTMLAttributes<HTMLTttxTextBoxElement>;
|
|
81
158
|
}
|
|
82
159
|
}
|
|
83
160
|
}
|
|
@@ -133,7 +133,7 @@ export interface ListenOptions {
|
|
|
133
133
|
*/
|
|
134
134
|
passive?: boolean;
|
|
135
135
|
}
|
|
136
|
-
export
|
|
136
|
+
export type ListenTargetOptions = 'body' | 'document' | 'window';
|
|
137
137
|
export interface StateDecorator {
|
|
138
138
|
(): PropertyDecorator;
|
|
139
139
|
}
|
|
@@ -214,8 +214,8 @@ export declare const State: StateDecorator;
|
|
|
214
214
|
* https://stenciljs.com/docs/reactive-data#watch-decorator
|
|
215
215
|
*/
|
|
216
216
|
export declare const Watch: WatchDecorator;
|
|
217
|
-
export
|
|
218
|
-
export
|
|
217
|
+
export type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
|
|
218
|
+
export type ErrorHandler = (err: any, element?: HTMLElement) => void;
|
|
219
219
|
/**
|
|
220
220
|
* `setMode()` is used for libraries which provide multiple "modes" for styles.
|
|
221
221
|
*/
|
|
@@ -257,6 +257,15 @@ export declare function getAssetPath(path: string): string;
|
|
|
257
257
|
* @returns the set path
|
|
258
258
|
*/
|
|
259
259
|
export declare function setAssetPath(path: string): string;
|
|
260
|
+
/**
|
|
261
|
+
* Used to specify a nonce value that corresponds with an application's
|
|
262
|
+
* [Content Security Policy (CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP).
|
|
263
|
+
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
|
264
|
+
* Alternatively, the nonce value can be set on a `meta` tag in the DOM head
|
|
265
|
+
* (<meta name="csp-nonce" content="{ nonce value here }" />) and will result in the same behavior.
|
|
266
|
+
* @param nonce The value to be used for the nonce attribute.
|
|
267
|
+
*/
|
|
268
|
+
export declare function setNonce(nonce: string): void;
|
|
260
269
|
/**
|
|
261
270
|
* Retrieve a Stencil element for a given reference
|
|
262
271
|
* @param ref the ref to get the Stencil element for
|
|
@@ -433,13 +442,57 @@ interface HostAttributes {
|
|
|
433
442
|
ref?: (el: HTMLElement | null) => void;
|
|
434
443
|
[prop: string]: any;
|
|
435
444
|
}
|
|
445
|
+
/**
|
|
446
|
+
* Utilities for working with functional Stencil components. An object
|
|
447
|
+
* conforming to this interface is passed by the Stencil runtime as the third
|
|
448
|
+
* argument to a functional component, allowing component authors to work with
|
|
449
|
+
* features like children.
|
|
450
|
+
*
|
|
451
|
+
* The children of a functional component will be passed as the second
|
|
452
|
+
* argument, so a functional component which uses these utils to transform its
|
|
453
|
+
* children might look like the following:
|
|
454
|
+
*
|
|
455
|
+
* ```ts
|
|
456
|
+
* export const AddClass: FunctionalComponent = (_, children, utils) => (
|
|
457
|
+
* utils.map(children, child => ({
|
|
458
|
+
* ...child,
|
|
459
|
+
* vattrs: {
|
|
460
|
+
* ...child.vattrs,
|
|
461
|
+
* class: `${child.vattrs.class} add-class`
|
|
462
|
+
* }
|
|
463
|
+
* }))
|
|
464
|
+
* );
|
|
465
|
+
* ```
|
|
466
|
+
*
|
|
467
|
+
* For more see the Stencil documentation, here:
|
|
468
|
+
* https://stenciljs.com/docs/functional-components
|
|
469
|
+
*/
|
|
436
470
|
export interface FunctionalUtilities {
|
|
471
|
+
/**
|
|
472
|
+
* Utility for reading the children of a functional component at runtime.
|
|
473
|
+
* Since the Stencil runtime uses a different interface for children it is
|
|
474
|
+
* not recommendeded to read the children directly, and is preferable to use
|
|
475
|
+
* this utility to, for instance, perform a side effect for each child.
|
|
476
|
+
*/
|
|
437
477
|
forEach: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => void) => void;
|
|
478
|
+
/**
|
|
479
|
+
* Utility for transforming the children of a functional component. Given an
|
|
480
|
+
* array of children and a callback this will return a list of the results of
|
|
481
|
+
* passing each child to the supplied callback.
|
|
482
|
+
*/
|
|
438
483
|
map: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => ChildNode) => VNode[];
|
|
439
484
|
}
|
|
440
485
|
export interface FunctionalComponent<T = {}> {
|
|
441
486
|
(props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[];
|
|
442
487
|
}
|
|
488
|
+
/**
|
|
489
|
+
* A Child VDOM node
|
|
490
|
+
*
|
|
491
|
+
* This has most of the same properties as {@link VNode} but friendlier names
|
|
492
|
+
* (i.e. `vtag` instead of `$tag$`, `vchildren` instead of `$children$`) in
|
|
493
|
+
* order to provide a friendlier public interface for users of the
|
|
494
|
+
* {@link FunctionalUtilities}).
|
|
495
|
+
*/
|
|
443
496
|
export interface ChildNode {
|
|
444
497
|
vtag?: string | number | Function;
|
|
445
498
|
vkey?: string | number;
|
|
@@ -486,6 +539,9 @@ export declare function h(sel: any, children: Array<VNode | undefined | null>):
|
|
|
486
539
|
export declare function h(sel: any, data: VNodeData | null, text: string): VNode;
|
|
487
540
|
export declare function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
|
|
488
541
|
export declare function h(sel: any, data: VNodeData | null, children: VNode): VNode;
|
|
542
|
+
/**
|
|
543
|
+
* A virtual DOM node
|
|
544
|
+
*/
|
|
489
545
|
export interface VNode {
|
|
490
546
|
$flags$: number;
|
|
491
547
|
$tag$: string | number | Function;
|
package/loader/index.d.ts
CHANGED
|
@@ -10,3 +10,12 @@ export interface CustomElementsDefineOptions {
|
|
|
10
10
|
}
|
|
11
11
|
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
|
|
12
12
|
export declare function applyPolyfills(): Promise<void>;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Used to specify a nonce value that corresponds with an application's CSP.
|
|
16
|
+
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
|
17
|
+
* Alternatively, the nonce value can be set on a meta tag in the DOM head
|
|
18
|
+
* (<meta name="csp-nonce" content="{ nonce value here }" />) which
|
|
19
|
+
* will result in the same behavior.
|
|
20
|
+
*/
|
|
21
|
+
export declare function setNonce(nonce: string): void;
|
package/package.json
CHANGED
|
@@ -1,59 +1,58 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@3t-transform/threeteeui",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "3t Design System",
|
|
5
|
-
"main": "dist/index.cjs.js",
|
|
6
|
-
"module": "dist/index.js",
|
|
7
|
-
"es2015": "dist/esm/index.mjs",
|
|
8
|
-
"es2017": "dist/esm/index.mjs",
|
|
9
|
-
"types": "dist/types/index.d.ts",
|
|
10
|
-
"collection": "dist/collection/collection-manifest.json",
|
|
11
|
-
"collection:main": "dist/collection/index.js",
|
|
12
|
-
"unpkg": "dist/3tui/3tui.esm.js",
|
|
13
|
-
"files": [
|
|
14
|
-
"dist/",
|
|
15
|
-
"loader/"
|
|
16
|
-
],
|
|
17
|
-
"scripts": {
|
|
18
|
-
"build": "stencil build --docs",
|
|
19
|
-
"start": "stencil build --watch --serve",
|
|
20
|
-
"test": "stencil test --spec --e2e",
|
|
21
|
-
"test.watch": "stencil test --spec --e2e --watchAll",
|
|
22
|
-
"generate": "stencil generate",
|
|
23
|
-
"storybook": "start-storybook -p 6006",
|
|
24
|
-
"build-storybook": "build-storybook",
|
|
25
|
-
"chromatic": "npx chromatic --project-token=531b962b0be5 --exit-zero-on-changes --exit-once-uploaded"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"@mdx-js/react": "^2.1.5",
|
|
30
|
-
"@rollup/plugin-commonjs": "^23.0.3",
|
|
31
|
-
"@stencil/core": "^2.20.0",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
41
|
-
"@storybook/
|
|
42
|
-
"@
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@3t-transform/threeteeui",
|
|
3
|
+
"version": "0.0.7",
|
|
4
|
+
"description": "3t Design System",
|
|
5
|
+
"main": "dist/index.cjs.js",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"es2015": "dist/esm/index.mjs",
|
|
8
|
+
"es2017": "dist/esm/index.mjs",
|
|
9
|
+
"types": "dist/types/index.d.ts",
|
|
10
|
+
"collection": "dist/collection/collection-manifest.json",
|
|
11
|
+
"collection:main": "dist/collection/index.js",
|
|
12
|
+
"unpkg": "dist/3tui/3tui.esm.js",
|
|
13
|
+
"files": [
|
|
14
|
+
"dist/",
|
|
15
|
+
"loader/"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "stencil build --docs",
|
|
19
|
+
"start": "stencil build --watch --serve",
|
|
20
|
+
"test": "stencil test --spec --e2e",
|
|
21
|
+
"test.watch": "stencil test --spec --e2e --watchAll",
|
|
22
|
+
"generate": "stencil generate",
|
|
23
|
+
"storybook": "start-storybook -p 6006",
|
|
24
|
+
"build-storybook": "build-storybook",
|
|
25
|
+
"chromatic": "npx chromatic --project-token=531b962b0be5 --exit-zero-on-changes --exit-once-uploaded"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@babel/core": "^7.18.10",
|
|
29
|
+
"@mdx-js/react": "^2.1.5",
|
|
30
|
+
"@rollup/plugin-commonjs": "^23.0.3",
|
|
31
|
+
"@stencil/core": "^2.20.0",
|
|
32
|
+
"@stencil/sass": "^1.5.2",
|
|
33
|
+
"@storybook/addon-actions": "^6.5.16",
|
|
34
|
+
"@storybook/addon-essentials": "^6.5.16",
|
|
35
|
+
"@storybook/addon-interactions": "^6.5.16",
|
|
36
|
+
"@storybook/addon-links": "^6.5.16",
|
|
37
|
+
"@storybook/builder-webpack4": "^6.5.16",
|
|
38
|
+
"@storybook/html": "^6.5.16",
|
|
39
|
+
"@storybook/manager-webpack4": "^6.5.16",
|
|
40
|
+
"@storybook/testing-library": "^0.0.13",
|
|
41
|
+
"@storybook/web-components": "^6.5.16",
|
|
42
|
+
"@types/jest": "^27.0.3",
|
|
43
|
+
"chromatic": "^6.7.4",
|
|
44
|
+
"jest": "^27.4.5",
|
|
45
|
+
"jest-cli": "^27.4.5",
|
|
46
|
+
"less": "^4.1.3",
|
|
47
|
+
"lit-html": "^2.7.0",
|
|
48
|
+
"puppeteer": "^10.0.0",
|
|
49
|
+
"react": "^18.2.0",
|
|
50
|
+
"react-dom": "^18.2.0",
|
|
51
|
+
"sass": "^1.56.1"
|
|
52
|
+
},
|
|
53
|
+
"license": "UNLICENSED",
|
|
54
|
+
"readme": "ERROR: No README data found!",
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"storybook": "^7.0.2"
|
|
57
|
+
}
|
|
58
|
+
}
|
package/readme.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-

|
|
2
2
|
|
|
3
3
|
# 3t Design System
|
|
4
4
|
|
|
@@ -12,11 +12,6 @@
|
|
|
12
12
|
- [ ] When a developer makes changes and pushes to master, we deploy the library to NPM
|
|
13
13
|
- [ ] We will use NPM versions to pull the components into our frontend applications
|
|
14
14
|
|
|
15
|
-
## DevExtreme
|
|
16
|
-
|
|
17
|
-
We use devextreme to as a base for building our components. For details on their components, see their [API documentation](https://js.devexpress.com/Documentation/ApiReference/UI_Components/) and their [component demos](https://js.devexpress.com/Demos/WidgetsGallery/).
|
|
18
|
-
|
|
19
|
-
|
|
20
15
|
## Stencil Component Starter
|
|
21
16
|
|
|
22
17
|
This is a starter project for building a standalone Web Component using Stencil.
|