@3t-transform/threeteeui 0.0.14 → 0.0.16

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 (104) hide show
  1. package/dist/cjs/{index-bf39be87.js → index-864b7110.js} +4 -3
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/tttx-button.cjs.entry.js +18 -18
  4. package/dist/cjs/tttx-checkbox.cjs.entry.js +18 -18
  5. package/dist/cjs/tttx-form.cjs.entry.js +364 -176
  6. package/dist/cjs/tttx-icon.cjs.entry.js +56 -54
  7. package/dist/cjs/tttx-list.cjs.entry.js +188 -188
  8. package/dist/cjs/tttx-loading-spinner.cjs.entry.js +16 -16
  9. package/dist/cjs/tttx-popover-content.cjs.entry.js +13 -13
  10. package/dist/cjs/tttx-standalone-input.cjs.entry.js +127 -127
  11. package/dist/cjs/tttx-table.cjs.entry.js +60 -0
  12. package/dist/cjs/tttx.cjs.js +2 -2
  13. package/dist/collection/collection-manifest.json +2 -1
  14. package/dist/collection/components/atoms/tttx-button/tttx-button.js +93 -93
  15. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +25 -25
  16. package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +116 -114
  17. package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +32 -32
  18. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +66 -66
  19. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +17 -17
  20. package/dist/collection/components/atoms/tttx-popover-content/tttx-popover-content.js +96 -96
  21. package/dist/collection/components/atoms/tttx-popover-content/tttx-popover-content.stories.js +23 -23
  22. package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.js +101 -101
  23. package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.stories.js +9 -9
  24. package/dist/collection/components/molecules/tttx-form/tttx-form.js +451 -249
  25. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +109 -102
  26. package/dist/collection/components/molecules/tttx-list/tttx-list.js +311 -311
  27. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +15 -15
  28. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +569 -569
  29. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +134 -134
  30. package/dist/collection/components/molecules/tttx-table/tttx-table.css +166 -0
  31. package/dist/collection/components/molecules/tttx-table/tttx-table.js +177 -0
  32. package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +81 -0
  33. package/dist/collection/components/palette.stories.js +7 -7
  34. package/dist/collection/docs/gettingstarted-developer.stories.js +5 -5
  35. package/dist/collection/icons.js +2838 -2838
  36. package/dist/collection/index.js +1 -1
  37. package/dist/components/index.d.ts +1 -0
  38. package/dist/components/index.js +1 -0
  39. package/dist/components/tttx-button.js +35 -35
  40. package/dist/components/tttx-checkbox.js +36 -36
  41. package/dist/components/tttx-form.js +381 -193
  42. package/dist/components/tttx-icon2.js +73 -71
  43. package/dist/components/tttx-list.js +214 -214
  44. package/dist/components/tttx-loading-spinner2.js +33 -33
  45. package/dist/components/tttx-popover-content.js +1 -37
  46. package/dist/components/tttx-popover-content2.js +39 -0
  47. package/dist/components/tttx-standalone-input.js +169 -168
  48. package/dist/components/tttx-table.d.ts +11 -0
  49. package/dist/components/tttx-table.js +91 -0
  50. package/dist/esm/{index-63c4d25e.js → index-232e347b.js} +4 -3
  51. package/dist/esm/loader.js +3 -3
  52. package/dist/esm/polyfills/core-js.js +0 -0
  53. package/dist/esm/polyfills/dom.js +0 -0
  54. package/dist/esm/polyfills/es5-html-element.js +0 -0
  55. package/dist/esm/polyfills/index.js +0 -0
  56. package/dist/esm/polyfills/system.js +0 -0
  57. package/dist/esm/tttx-button.entry.js +18 -18
  58. package/dist/esm/tttx-checkbox.entry.js +18 -18
  59. package/dist/esm/tttx-form.entry.js +364 -176
  60. package/dist/esm/tttx-icon.entry.js +56 -54
  61. package/dist/esm/tttx-list.entry.js +188 -188
  62. package/dist/esm/tttx-loading-spinner.entry.js +16 -16
  63. package/dist/esm/tttx-popover-content.entry.js +13 -13
  64. package/dist/esm/tttx-standalone-input.entry.js +127 -127
  65. package/dist/esm/tttx-table.entry.js +56 -0
  66. package/dist/esm/tttx.js +3 -3
  67. package/dist/tttx/{p-2d54f8aa.entry.js → p-01e1894e.entry.js} +1 -1
  68. package/dist/tttx/{p-709246f5.entry.js → p-10316ff1.entry.js} +1 -1
  69. package/dist/tttx/p-125f06b3.entry.js +1 -0
  70. package/dist/tttx/p-184c4fae.js +2 -0
  71. package/dist/tttx/{p-ad0c3fe4.entry.js → p-3973b7dd.entry.js} +1 -1
  72. package/dist/tttx/p-5ce1ba22.entry.js +1 -0
  73. package/dist/tttx/{p-4c57bcbd.entry.js → p-6828fe6f.entry.js} +1 -1
  74. package/dist/tttx/p-b1c22f5f.entry.js +1 -0
  75. package/dist/tttx/{p-1a4eb1f3.entry.js → p-c7f9be65.entry.js} +1 -1
  76. package/dist/tttx/{p-2b6720ac.entry.js → p-fe4c70b2.entry.js} +1 -1
  77. package/dist/tttx/tttx.esm.js +1 -1
  78. package/dist/types/components/atoms/tttx-button/tttx-button.d.ts +9 -9
  79. package/dist/types/components/atoms/tttx-button/tttx-button.stories.d.ts +20 -20
  80. package/dist/types/components/atoms/tttx-icon/tttx-icon.d.ts +14 -14
  81. package/dist/types/components/atoms/tttx-icon/tttx-icon.stories.d.ts +21 -21
  82. package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.d.ts +6 -6
  83. package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.d.ts +17 -17
  84. package/dist/types/components/atoms/tttx-popover-content/tttx-popover-content.d.ts +7 -7
  85. package/dist/types/components/atoms/tttx-popover-content/tttx-popover-content.stories.d.ts +18 -18
  86. package/dist/types/components/atoms/ttx-checkbox/tttx-checkbox.d.ts +9 -9
  87. package/dist/types/components/atoms/ttx-checkbox/tttx-checkbox.stories.d.ts +6 -6
  88. package/dist/types/components/molecules/tttx-form/tttx-form.d.ts +134 -18
  89. package/dist/types/components/molecules/tttx-form/tttx-form.stories.d.ts +12 -6
  90. package/dist/types/components/molecules/tttx-list/tttx-list.d.ts +51 -51
  91. package/dist/types/components/molecules/tttx-list/tttx-list.stories.d.ts +13 -13
  92. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +38 -38
  93. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.d.ts +106 -106
  94. package/dist/types/components/molecules/tttx-table/tttx-table.d.ts +15 -0
  95. package/dist/types/components/molecules/tttx-table/tttx-table.stories.d.ts +21 -0
  96. package/dist/types/components/palette.stories.d.ts +6 -6
  97. package/dist/types/components.d.ts +29 -1
  98. package/dist/types/docs/gettingstarted-developer.stories.d.ts +5 -5
  99. package/dist/types/icons.d.ts +2 -2
  100. package/dist/types/index.d.ts +1 -1
  101. package/package.json +7 -4
  102. package/dist/tttx/p-28e4c359.entry.js +0 -1
  103. package/dist/tttx/p-95a29e09.entry.js +0 -1
  104. package/dist/tttx/p-bec472d8.js +0 -2
@@ -1,23 +1,23 @@
1
- export default {
2
- title: 'Atoms/PopoverContent',
3
- component: 'tttx-popover-content',
4
- argTypes: {
5
- header: {
6
- control: {
7
- type: 'text',
8
- },
9
- },
10
- body: {
11
- control: {
12
- type: 'text',
13
- },
14
- },
15
- },
16
- };
17
- const Template = ({ header, body, linkcontext }) => `<tttx-popover-content header="${header}" body="${body}" linkcontext="${linkcontext}" />`;
18
- export const Basic = Template.bind({});
19
- Basic.args = {
20
- header: 'HEADER',
21
- body: 'BODY',
22
- linkcontext: 'TESTING123',
23
- };
1
+ export default {
2
+ title: 'Atoms/PopoverContent',
3
+ component: 'tttx-popover-content',
4
+ argTypes: {
5
+ header: {
6
+ control: {
7
+ type: 'text',
8
+ },
9
+ },
10
+ body: {
11
+ control: {
12
+ type: 'text',
13
+ },
14
+ },
15
+ },
16
+ };
17
+ const Template = ({ header, body, linkcontext }) => `<tttx-popover-content header="${header}" body="${body}" linkcontext="${linkcontext}" />`;
18
+ export const Basic = Template.bind({});
19
+ Basic.args = {
20
+ header: 'HEADER',
21
+ body: 'BODY',
22
+ linkcontext: 'TESTING123',
23
+ };
@@ -1,101 +1,101 @@
1
- import { Host, h } from '@stencil/core';
2
- export class TttxCheckbox {
3
- constructor() {
4
- this.value = undefined;
5
- this.label = undefined;
6
- this.required = undefined;
7
- }
8
- handleClick(event) {
9
- const target = event.target;
10
- this.value = target.checked;
11
- this.valueChanged.emit(target.checked);
12
- }
13
- render() {
14
- return (h(Host, null, h("div", { class: "field spacing" }, this.label && (h("label", { class: "label" }, this.label, !this.required ? h("span", { class: "optional" }, " (optional)") : '')), h("input", { type: "checkbox", class: "input", onChange: event => this.handleClick(event), checked: this.value }))));
15
- }
16
- static get is() { return "tttx-checkbox"; }
17
- static get encapsulation() { return "shadow"; }
18
- static get originalStyleUrls() {
19
- return {
20
- "$": ["tttx-checkbox.scss"]
21
- };
22
- }
23
- static get styleUrls() {
24
- return {
25
- "$": ["tttx-checkbox.css"]
26
- };
27
- }
28
- static get properties() {
29
- return {
30
- "value": {
31
- "type": "boolean",
32
- "mutable": false,
33
- "complexType": {
34
- "original": "boolean",
35
- "resolved": "boolean",
36
- "references": {}
37
- },
38
- "required": false,
39
- "optional": false,
40
- "docs": {
41
- "tags": [],
42
- "text": ""
43
- },
44
- "attribute": "value",
45
- "reflect": false
46
- },
47
- "label": {
48
- "type": "string",
49
- "mutable": false,
50
- "complexType": {
51
- "original": "string",
52
- "resolved": "string",
53
- "references": {}
54
- },
55
- "required": false,
56
- "optional": false,
57
- "docs": {
58
- "tags": [],
59
- "text": ""
60
- },
61
- "attribute": "label",
62
- "reflect": false
63
- },
64
- "required": {
65
- "type": "boolean",
66
- "mutable": false,
67
- "complexType": {
68
- "original": "boolean",
69
- "resolved": "boolean",
70
- "references": {}
71
- },
72
- "required": false,
73
- "optional": false,
74
- "docs": {
75
- "tags": [],
76
- "text": ""
77
- },
78
- "attribute": "required",
79
- "reflect": false
80
- }
81
- };
82
- }
83
- static get events() {
84
- return [{
85
- "method": "valueChanged",
86
- "name": "valueChanged",
87
- "bubbles": true,
88
- "cancelable": true,
89
- "composed": true,
90
- "docs": {
91
- "tags": [],
92
- "text": ""
93
- },
94
- "complexType": {
95
- "original": "boolean",
96
- "resolved": "boolean",
97
- "references": {}
98
- }
99
- }];
100
- }
101
- }
1
+ import { Host, h } from '@stencil/core';
2
+ export class TttxCheckbox {
3
+ constructor() {
4
+ this.value = undefined;
5
+ this.label = undefined;
6
+ this.required = undefined;
7
+ }
8
+ handleClick(event) {
9
+ const target = event.target;
10
+ this.value = target.checked;
11
+ this.valueChanged.emit(target.checked);
12
+ }
13
+ render() {
14
+ return (h(Host, null, h("div", { class: "field spacing" }, this.label && (h("label", { class: "label" }, this.label, !this.required ? h("span", { class: "optional" }, " (optional)") : '')), h("input", { type: "checkbox", class: "input", onChange: event => this.handleClick(event), checked: this.value }))));
15
+ }
16
+ static get is() { return "tttx-checkbox"; }
17
+ static get encapsulation() { return "shadow"; }
18
+ static get originalStyleUrls() {
19
+ return {
20
+ "$": ["tttx-checkbox.scss"]
21
+ };
22
+ }
23
+ static get styleUrls() {
24
+ return {
25
+ "$": ["tttx-checkbox.css"]
26
+ };
27
+ }
28
+ static get properties() {
29
+ return {
30
+ "value": {
31
+ "type": "boolean",
32
+ "mutable": false,
33
+ "complexType": {
34
+ "original": "boolean",
35
+ "resolved": "boolean",
36
+ "references": {}
37
+ },
38
+ "required": false,
39
+ "optional": false,
40
+ "docs": {
41
+ "tags": [],
42
+ "text": ""
43
+ },
44
+ "attribute": "value",
45
+ "reflect": false
46
+ },
47
+ "label": {
48
+ "type": "string",
49
+ "mutable": false,
50
+ "complexType": {
51
+ "original": "string",
52
+ "resolved": "string",
53
+ "references": {}
54
+ },
55
+ "required": false,
56
+ "optional": false,
57
+ "docs": {
58
+ "tags": [],
59
+ "text": ""
60
+ },
61
+ "attribute": "label",
62
+ "reflect": false
63
+ },
64
+ "required": {
65
+ "type": "boolean",
66
+ "mutable": false,
67
+ "complexType": {
68
+ "original": "boolean",
69
+ "resolved": "boolean",
70
+ "references": {}
71
+ },
72
+ "required": false,
73
+ "optional": false,
74
+ "docs": {
75
+ "tags": [],
76
+ "text": ""
77
+ },
78
+ "attribute": "required",
79
+ "reflect": false
80
+ }
81
+ };
82
+ }
83
+ static get events() {
84
+ return [{
85
+ "method": "valueChanged",
86
+ "name": "valueChanged",
87
+ "bubbles": true,
88
+ "cancelable": true,
89
+ "composed": true,
90
+ "docs": {
91
+ "tags": [],
92
+ "text": ""
93
+ },
94
+ "complexType": {
95
+ "original": "boolean",
96
+ "resolved": "boolean",
97
+ "references": {}
98
+ }
99
+ }];
100
+ }
101
+ }
@@ -1,13 +1,13 @@
1
- export default {
2
- title: 'Atoms/Checkbox',
3
- component: 'tttx-checkbox',
4
- };
1
+ export default {
2
+ title: 'Atoms/Checkbox',
3
+ component: 'tttx-checkbox',
4
+ };
5
5
  const Template = ({ value }) => `
6
6
  <tttx-checkbox
7
7
  ${value ? 'value="true"' : ''}
8
8
  ></tttx-checkbox>
9
- `;
10
- export const Default = Template.bind({});
11
- Default.args = {
12
- value: false,
13
- };
9
+ `;
10
+ export const Default = Template.bind({});
11
+ Default.args = {
12
+ value: false,
13
+ };