@3t-transform/threeteeui 0.0.5 → 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.
Files changed (112) hide show
  1. package/dist/cjs/{index-8a7479e4.js → index-253ca97c.js} +239 -415
  2. package/dist/cjs/loader.cjs.js +4 -3
  3. package/dist/cjs/tttx-button.cjs.entry.js +28 -0
  4. package/dist/cjs/tttx-checkbox.cjs.entry.js +28 -0
  5. package/dist/cjs/tttx-form.cjs.entry.js +58 -0
  6. package/dist/cjs/tttx-single-input.cjs.entry.js +44 -0
  7. package/dist/cjs/tttx-text-box.cjs.entry.js +38 -0
  8. package/dist/cjs/tttx.cjs.js +7 -3
  9. package/dist/collection/collection-manifest.json +7 -6
  10. package/dist/collection/components/atoms/tttx-button/tttx-button.css +61 -0
  11. package/dist/collection/components/atoms/tttx-button/tttx-button.js +93 -0
  12. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +30 -0
  13. package/dist/collection/components/atoms/tttx-single-input/tttx-single-input.css +142 -0
  14. package/dist/collection/components/atoms/tttx-single-input/tttx-single-input.js +259 -0
  15. package/dist/collection/components/atoms/tttx-single-input/tttx-single-input.stories.js +92 -0
  16. package/dist/collection/components/atoms/tttx-text-box/tttx-text-box.css +142 -0
  17. package/dist/collection/components/atoms/tttx-text-box/tttx-text-box.js +150 -0
  18. package/dist/collection/components/atoms/tttx-text-box/tttx-text-box.stories.js +17 -0
  19. package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.css +138 -0
  20. package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.js +101 -0
  21. package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.stories.js +13 -0
  22. package/dist/collection/components/molecules/tttx-form/tttx-form.js +109 -0
  23. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +37 -0
  24. package/dist/collection/icons.js +2838 -0
  25. package/dist/components/index.d.ts +14 -4
  26. package/dist/components/index.js +6 -5
  27. package/dist/components/{tttx-page.d.ts → tttx-button.d.ts} +4 -4
  28. package/dist/components/tttx-button.js +45 -0
  29. package/dist/components/{tttx-worksheet.d.ts → tttx-checkbox.d.ts} +4 -4
  30. package/dist/components/tttx-checkbox.js +46 -0
  31. package/dist/components/{tttx-icon.d.ts → tttx-form.d.ts} +4 -4
  32. package/dist/components/tttx-form.js +75 -0
  33. package/dist/components/{qualifications-list.d.ts → tttx-single-input.d.ts} +4 -4
  34. package/dist/components/tttx-single-input.js +71 -0
  35. package/dist/components/tttx-text-box.d.ts +11 -0
  36. package/dist/components/tttx-text-box.js +59 -0
  37. package/dist/esm/{index-854ff56f.js → index-fcca6c58.js} +237 -416
  38. package/dist/esm/loader.js +4 -3
  39. package/dist/esm/polyfills/css-shim.js +1 -1
  40. package/dist/esm/tttx-button.entry.js +24 -0
  41. package/dist/esm/tttx-checkbox.entry.js +24 -0
  42. package/dist/esm/tttx-form.entry.js +54 -0
  43. package/dist/esm/tttx-single-input.entry.js +40 -0
  44. package/dist/esm/tttx-text-box.entry.js +34 -0
  45. package/dist/esm/tttx.js +4 -3
  46. package/dist/tttx/p-05d7d002.entry.js +1 -0
  47. package/dist/tttx/p-40709c59.entry.js +1 -0
  48. package/dist/tttx/p-64703252.entry.js +1 -0
  49. package/dist/tttx/p-8d1f2e5c.entry.js +1 -0
  50. package/dist/tttx/p-9bf836ed.entry.js +1 -0
  51. package/dist/tttx/p-a7b95fd2.js +2 -0
  52. package/dist/tttx/tttx.esm.js +1 -1
  53. package/dist/types/components/atoms/tttx-button/tttx-button.d.ts +9 -0
  54. package/dist/types/components/atoms/tttx-button/tttx-button.stories.d.ts +20 -0
  55. package/dist/types/components/atoms/tttx-single-input/tttx-single-input.d.ts +20 -0
  56. package/dist/types/components/atoms/tttx-single-input/tttx-single-input.stories.d.ts +27 -0
  57. package/dist/types/components/atoms/tttx-text-box/tttx-text-box.d.ts +14 -0
  58. package/dist/types/components/{patterns/qualifications-list/qualifications-list.stories.d.ts → atoms/tttx-text-box/tttx-text-box.stories.d.ts} +1 -0
  59. package/dist/types/components/atoms/ttx-checkbox/tttx-checkbox.d.ts +9 -0
  60. package/dist/types/components/atoms/ttx-checkbox/tttx-checkbox.stories.d.ts +6 -0
  61. package/dist/types/components/molecules/tttx-form/tttx-form.d.ts +11 -0
  62. package/dist/types/components/molecules/tttx-form/tttx-form.stories.d.ts +6 -0
  63. package/dist/types/components.d.ts +120 -56
  64. package/dist/types/icons.d.ts +2 -0
  65. package/dist/types/stencil-public-runtime.d.ts +59 -3
  66. package/loader/index.d.ts +9 -0
  67. package/package.json +58 -59
  68. package/readme.md +1 -6
  69. package/dist/cjs/qualifications-list.cjs.entry.js +0 -7149
  70. package/dist/cjs/toolbar-02115550.js +0 -864
  71. package/dist/cjs/tttx-icon.cjs.entry.js +0 -21
  72. package/dist/cjs/tttx-page.cjs.entry.js +0 -928
  73. package/dist/cjs/tttx-worksheet.cjs.entry.js +0 -48
  74. package/dist/cjs/ui.popover-27780a1d.js +0 -33576
  75. package/dist/collection/components/components/tttx-icon/tttx-icon.css +0 -89
  76. package/dist/collection/components/components/tttx-icon/tttx-icon.js +0 -59
  77. package/dist/collection/components/components/tttx-icon/tttx-icon.stories.js +0 -40
  78. package/dist/collection/components/patterns/qualifications-list/qualifications-list.js +0 -32
  79. package/dist/collection/components/patterns/qualifications-list/qualifications-list.stories.js +0 -7
  80. package/dist/collection/components/patterns/tttx-page/tttx-page.css +0 -162
  81. package/dist/collection/components/patterns/tttx-page/tttx-page.js +0 -213
  82. package/dist/collection/components/patterns/tttx-page/tttx-page.stories.js +0 -80
  83. package/dist/collection/components/patterns/tttx-worksheet/tttx-worksheet.css +0 -134
  84. package/dist/collection/components/patterns/tttx-worksheet/tttx-worksheet.js +0 -70
  85. package/dist/collection/components/patterns/tttx-worksheet/tttx-worksheet.stories.js +0 -44
  86. package/dist/components/qualifications-list.js +0 -7162
  87. package/dist/components/tttx-icon.js +0 -37
  88. package/dist/components/tttx-page.js +0 -954
  89. package/dist/components/tttx-worksheet.js +0 -6
  90. package/dist/components/tttx-worksheet2.js +0 -918
  91. package/dist/components/ui.popover.js +0 -33449
  92. package/dist/esm/qualifications-list.entry.js +0 -7145
  93. package/dist/esm/toolbar-b147a3aa.js +0 -862
  94. package/dist/esm/tttx-icon.entry.js +0 -17
  95. package/dist/esm/tttx-page.entry.js +0 -924
  96. package/dist/esm/tttx-worksheet.entry.js +0 -44
  97. package/dist/esm/ui.popover-0c8f8d79.js +0 -33449
  98. package/dist/tttx/p-4f4963aa.entry.js +0 -1
  99. package/dist/tttx/p-69ca02f6.entry.js +0 -1
  100. package/dist/tttx/p-7244abd4.entry.js +0 -1
  101. package/dist/tttx/p-7eb8146c.entry.js +0 -1
  102. package/dist/tttx/p-81cad444.js +0 -1
  103. package/dist/tttx/p-955d89ac.js +0 -1
  104. package/dist/tttx/p-ddfeb0ba.js +0 -2
  105. package/dist/tttx/tttx.css +0 -1
  106. package/dist/types/components/components/tttx-icon/tttx-icon.d.ts +0 -5
  107. package/dist/types/components/components/tttx-icon/tttx-icon.stories.d.ts +0 -24
  108. package/dist/types/components/patterns/qualifications-list/qualifications-list.d.ts +0 -6
  109. package/dist/types/components/patterns/tttx-page/tttx-page.d.ts +0 -21
  110. package/dist/types/components/patterns/tttx-page/tttx-page.stories.d.ts +0 -48
  111. package/dist/types/components/patterns/tttx-worksheet/tttx-worksheet.d.ts +0 -9
  112. package/dist/types/components/patterns/tttx-worksheet/tttx-worksheet.stories.d.ts +0 -23
@@ -6,91 +6,155 @@
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  export namespace Components {
9
- interface QualificationsList {
9
+ interface TttxButton {
10
+ "buttonStyle": string;
11
+ "fontColor": string;
10
12
  }
11
- interface TttxIcon {
12
- "color"?: string;
13
- "name": string;
13
+ interface TttxCheckbox {
14
+ "label": string;
15
+ "required": boolean;
16
+ "value": boolean;
14
17
  }
15
- interface TttxPage {
16
- "appName": string;
17
- "helpUrl": string;
18
- "lastUpdated": string;
19
- "logoutUrl": string;
20
- "manageAccountsUrl": string;
21
- "pageSize": 'large' | 'medium' | 'small' | string;
22
- "pageTitle": string;
18
+ interface TttxForm {
19
+ "dataAttribute": string;
20
+ "functionAttribute": string;
23
21
  }
24
- interface TttxWorksheet {
25
- "pageSize": 'large' | 'medium' | 'small' | string;
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;
26
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;
27
62
  }
28
63
  declare global {
29
- interface HTMLQualificationsListElement extends Components.QualificationsList, HTMLStencilElement {
64
+ interface HTMLTttxButtonElement extends Components.TttxButton, HTMLStencilElement {
65
+ }
66
+ var HTMLTttxButtonElement: {
67
+ prototype: HTMLTttxButtonElement;
68
+ new (): HTMLTttxButtonElement;
69
+ };
70
+ interface HTMLTttxCheckboxElement extends Components.TttxCheckbox, HTMLStencilElement {
30
71
  }
31
- var HTMLQualificationsListElement: {
32
- prototype: HTMLQualificationsListElement;
33
- new (): HTMLQualificationsListElement;
72
+ var HTMLTttxCheckboxElement: {
73
+ prototype: HTMLTttxCheckboxElement;
74
+ new (): HTMLTttxCheckboxElement;
34
75
  };
35
- interface HTMLTttxIconElement extends Components.TttxIcon, HTMLStencilElement {
76
+ interface HTMLTttxFormElement extends Components.TttxForm, HTMLStencilElement {
36
77
  }
37
- var HTMLTttxIconElement: {
38
- prototype: HTMLTttxIconElement;
39
- new (): HTMLTttxIconElement;
78
+ var HTMLTttxFormElement: {
79
+ prototype: HTMLTttxFormElement;
80
+ new (): HTMLTttxFormElement;
40
81
  };
41
- interface HTMLTttxPageElement extends Components.TttxPage, HTMLStencilElement {
82
+ interface HTMLTttxSingleInputElement extends Components.TttxSingleInput, HTMLStencilElement {
42
83
  }
43
- var HTMLTttxPageElement: {
44
- prototype: HTMLTttxPageElement;
45
- new (): HTMLTttxPageElement;
84
+ var HTMLTttxSingleInputElement: {
85
+ prototype: HTMLTttxSingleInputElement;
86
+ new (): HTMLTttxSingleInputElement;
46
87
  };
47
- interface HTMLTttxWorksheetElement extends Components.TttxWorksheet, HTMLStencilElement {
88
+ interface HTMLTttxTextBoxElement extends Components.TttxTextBox, HTMLStencilElement {
48
89
  }
49
- var HTMLTttxWorksheetElement: {
50
- prototype: HTMLTttxWorksheetElement;
51
- new (): HTMLTttxWorksheetElement;
90
+ var HTMLTttxTextBoxElement: {
91
+ prototype: HTMLTttxTextBoxElement;
92
+ new (): HTMLTttxTextBoxElement;
52
93
  };
53
94
  interface HTMLElementTagNameMap {
54
- "qualifications-list": HTMLQualificationsListElement;
55
- "tttx-icon": HTMLTttxIconElement;
56
- "tttx-page": HTMLTttxPageElement;
57
- "tttx-worksheet": HTMLTttxWorksheetElement;
95
+ "tttx-button": HTMLTttxButtonElement;
96
+ "tttx-checkbox": HTMLTttxCheckboxElement;
97
+ "tttx-form": HTMLTttxFormElement;
98
+ "tttx-single-input": HTMLTttxSingleInputElement;
99
+ "tttx-text-box": HTMLTttxTextBoxElement;
58
100
  }
59
101
  }
60
102
  declare namespace LocalJSX {
61
- interface QualificationsList {
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;
62
113
  }
63
- interface TttxIcon {
64
- "color"?: string;
65
- "name"?: string;
114
+ interface TttxForm {
115
+ "dataAttribute"?: string;
116
+ "functionAttribute"?: string;
117
+ "onFormSubmit"?: (event: TttxFormCustomEvent<any>) => void;
66
118
  }
67
- interface TttxPage {
68
- "appName"?: string;
69
- "helpUrl"?: string;
70
- "lastUpdated"?: string;
71
- "logoutUrl"?: string;
72
- "manageAccountsUrl"?: string;
73
- "pageSize"?: 'large' | 'medium' | 'small' | string;
74
- "pageTitle"?: string;
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;
75
132
  }
76
- interface TttxWorksheet {
77
- "pageSize"?: 'large' | 'medium' | 'small' | string;
133
+ interface TttxTextBox {
134
+ "errormsg"?: string;
135
+ "label"?: string;
136
+ "onValueChanged"?: (event: TttxTextBoxCustomEvent<string>) => void;
137
+ "required"?: boolean;
138
+ "showerrormsg"?: boolean;
139
+ "value"?: string;
78
140
  }
79
141
  interface IntrinsicElements {
80
- "qualifications-list": QualificationsList;
81
- "tttx-icon": TttxIcon;
82
- "tttx-page": TttxPage;
83
- "tttx-worksheet": TttxWorksheet;
142
+ "tttx-button": TttxButton;
143
+ "tttx-checkbox": TttxCheckbox;
144
+ "tttx-form": TttxForm;
145
+ "tttx-single-input": TttxSingleInput;
146
+ "tttx-text-box": TttxTextBox;
84
147
  }
85
148
  }
86
149
  export { LocalJSX as JSX };
87
150
  declare module "@stencil/core" {
88
151
  export namespace JSX {
89
152
  interface IntrinsicElements {
90
- "qualifications-list": LocalJSX.QualificationsList & JSXBase.HTMLAttributes<HTMLQualificationsListElement>;
91
- "tttx-icon": LocalJSX.TttxIcon & JSXBase.HTMLAttributes<HTMLTttxIconElement>;
92
- "tttx-page": LocalJSX.TttxPage & JSXBase.HTMLAttributes<HTMLTttxPageElement>;
93
- "tttx-worksheet": LocalJSX.TttxWorksheet & JSXBase.HTMLAttributes<HTMLTttxWorksheetElement>;
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>;
94
158
  }
95
159
  }
96
160
  }
@@ -0,0 +1,2 @@
1
+ declare const icons: string[];
2
+ export default icons;
@@ -133,7 +133,7 @@ export interface ListenOptions {
133
133
  */
134
134
  passive?: boolean;
135
135
  }
136
- export declare type ListenTargetOptions = 'body' | 'document' | 'window';
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 declare type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
218
- export declare type ErrorHandler = (err: any, element?: HTMLElement) => void;
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.5",
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
- "theme:build": "sass src/theme/scss/bundles/dx.tttx.scss public/dx.tttx.css"
27
- },
28
- "dependencies": {
29
- "@mdx-js/react": "^2.1.5",
30
- "@rollup/plugin-commonjs": "^23.0.3",
31
- "@stencil/core": "^2.20.0",
32
- "devextreme": "22.1.6",
33
- "less": "^4.1.3",
34
- "material-symbols": "^0.2.8",
35
- "materialize-css": "^1.0.0",
36
- "sass": "^1.56.1"
37
- },
38
- "devDependencies": {
39
- "@babel/core": "^7.18.10",
40
- "@stencil/sass": "^1.5.2",
41
- "@storybook/addon-actions": "^6.5.10",
42
- "@storybook/addon-essentials": "^6.5.10",
43
- "@storybook/addon-interactions": "^6.5.10",
44
- "@storybook/addon-links": "^6.5.10",
45
- "@storybook/builder-webpack4": "^6.5.10",
46
- "@storybook/html": "^6.5.10",
47
- "@storybook/manager-webpack4": "^6.5.10",
48
- "@storybook/testing-library": "^0.0.13",
49
- "@types/chart.js": "^2.9.37",
50
- "@types/jest": "^27.0.3",
51
- "babel-loader": "^8.2.5",
52
- "chromatic": "^6.7.4",
53
- "jest": "^27.4.5",
54
- "jest-cli": "^27.4.5",
55
- "puppeteer": "^10.0.0"
56
- },
57
- "license": "UNLICENSED",
58
- "readme": "ERROR: No README data found!"
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
- ![header](header.png)
1
+ ![header](example.png)
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.