@3t-transform/threeteeui 0.0.13 → 0.0.15

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 (121) hide show
  1. package/package.json +7 -4
  2. package/dist/cjs/index-bf39be87.js +0 -1530
  3. package/dist/cjs/index.cjs.js +0 -2
  4. package/dist/cjs/loader.cjs.js +0 -22
  5. package/dist/cjs/tttx-button.cjs.entry.js +0 -28
  6. package/dist/cjs/tttx-checkbox.cjs.entry.js +0 -28
  7. package/dist/cjs/tttx-form.cjs.entry.js +0 -186
  8. package/dist/cjs/tttx-icon.cjs.entry.js +0 -1861
  9. package/dist/cjs/tttx-list.cjs.entry.js +0 -198
  10. package/dist/cjs/tttx-loading-spinner.cjs.entry.js +0 -26
  11. package/dist/cjs/tttx-popover-content.cjs.entry.js +0 -23
  12. package/dist/cjs/tttx-standalone-input.cjs.entry.js +0 -136
  13. package/dist/cjs/tttx.cjs.js +0 -23
  14. package/dist/collection/collection-manifest.json +0 -19
  15. package/dist/collection/components/atoms/tttx-button/tttx-button.css +0 -62
  16. package/dist/collection/components/atoms/tttx-button/tttx-button.js +0 -93
  17. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +0 -27
  18. package/dist/collection/components/atoms/tttx-icon/tttx-icon.css +0 -105
  19. package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +0 -114
  20. package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +0 -47
  21. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.css +0 -48
  22. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +0 -66
  23. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +0 -17
  24. package/dist/collection/components/atoms/tttx-popover-content/tttx-popover-content.css +0 -30
  25. package/dist/collection/components/atoms/tttx-popover-content/tttx-popover-content.js +0 -96
  26. package/dist/collection/components/atoms/tttx-popover-content/tttx-popover-content.stories.js +0 -23
  27. package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.css +0 -181
  28. package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.js +0 -101
  29. package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.stories.js +0 -13
  30. package/dist/collection/components/molecules/tttx-form/tttx-form.css +0 -230
  31. package/dist/collection/components/molecules/tttx-form/tttx-form.js +0 -249
  32. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +0 -102
  33. package/dist/collection/components/molecules/tttx-list/tttx-list.css +0 -56
  34. package/dist/collection/components/molecules/tttx-list/tttx-list.js +0 -311
  35. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +0 -37
  36. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.css +0 -177
  37. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +0 -569
  38. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +0 -156
  39. package/dist/collection/components/palette.stories.js +0 -88
  40. package/dist/collection/docs/gettingstarted-developer.stories.js +0 -9
  41. package/dist/collection/icons.js +0 -2838
  42. package/dist/collection/index.js +0 -1
  43. package/dist/components/index.d.ts +0 -38
  44. package/dist/components/index.js +0 -9
  45. package/dist/components/tttx-button.d.ts +0 -11
  46. package/dist/components/tttx-button.js +0 -45
  47. package/dist/components/tttx-checkbox.d.ts +0 -11
  48. package/dist/components/tttx-checkbox.js +0 -46
  49. package/dist/components/tttx-form.d.ts +0 -11
  50. package/dist/components/tttx-form.js +0 -203
  51. package/dist/components/tttx-icon.d.ts +0 -11
  52. package/dist/components/tttx-icon.js +0 -6
  53. package/dist/components/tttx-icon2.js +0 -1875
  54. package/dist/components/tttx-list.d.ts +0 -11
  55. package/dist/components/tttx-list.js +0 -225
  56. package/dist/components/tttx-loading-spinner.d.ts +0 -11
  57. package/dist/components/tttx-loading-spinner.js +0 -6
  58. package/dist/components/tttx-loading-spinner2.js +0 -40
  59. package/dist/components/tttx-popover-content.d.ts +0 -11
  60. package/dist/components/tttx-popover-content.js +0 -42
  61. package/dist/components/tttx-standalone-input.d.ts +0 -11
  62. package/dist/components/tttx-standalone-input.js +0 -178
  63. package/dist/esm/index-63c4d25e.js +0 -1501
  64. package/dist/esm/index.js +0 -1
  65. package/dist/esm/loader.js +0 -18
  66. package/dist/esm/polyfills/core-js.js +0 -11
  67. package/dist/esm/polyfills/css-shim.js +0 -1
  68. package/dist/esm/polyfills/dom.js +0 -79
  69. package/dist/esm/polyfills/es5-html-element.js +0 -1
  70. package/dist/esm/polyfills/index.js +0 -34
  71. package/dist/esm/polyfills/system.js +0 -6
  72. package/dist/esm/tttx-button.entry.js +0 -24
  73. package/dist/esm/tttx-checkbox.entry.js +0 -24
  74. package/dist/esm/tttx-form.entry.js +0 -182
  75. package/dist/esm/tttx-icon.entry.js +0 -1857
  76. package/dist/esm/tttx-list.entry.js +0 -194
  77. package/dist/esm/tttx-loading-spinner.entry.js +0 -22
  78. package/dist/esm/tttx-popover-content.entry.js +0 -19
  79. package/dist/esm/tttx-standalone-input.entry.js +0 -132
  80. package/dist/esm/tttx.js +0 -18
  81. package/dist/index.cjs.js +0 -1
  82. package/dist/index.js +0 -1
  83. package/dist/tttx/index.esm.js +0 -0
  84. package/dist/tttx/p-1a4eb1f3.entry.js +0 -1
  85. package/dist/tttx/p-25953f82.entry.js +0 -1
  86. package/dist/tttx/p-2b6720ac.entry.js +0 -1
  87. package/dist/tttx/p-2d54f8aa.entry.js +0 -1
  88. package/dist/tttx/p-4c57bcbd.entry.js +0 -1
  89. package/dist/tttx/p-709246f5.entry.js +0 -1
  90. package/dist/tttx/p-95a29e09.entry.js +0 -1
  91. package/dist/tttx/p-ad0c3fe4.entry.js +0 -1
  92. package/dist/tttx/p-bec472d8.js +0 -2
  93. package/dist/tttx/tttx.esm.js +0 -1
  94. package/dist/types/components/atoms/tttx-button/tttx-button.d.ts +0 -9
  95. package/dist/types/components/atoms/tttx-button/tttx-button.stories.d.ts +0 -20
  96. package/dist/types/components/atoms/tttx-icon/tttx-icon.d.ts +0 -14
  97. package/dist/types/components/atoms/tttx-icon/tttx-icon.stories.d.ts +0 -21
  98. package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.d.ts +0 -6
  99. package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.d.ts +0 -17
  100. package/dist/types/components/atoms/tttx-popover-content/tttx-popover-content.d.ts +0 -7
  101. package/dist/types/components/atoms/tttx-popover-content/tttx-popover-content.stories.d.ts +0 -18
  102. package/dist/types/components/atoms/ttx-checkbox/tttx-checkbox.d.ts +0 -9
  103. package/dist/types/components/atoms/ttx-checkbox/tttx-checkbox.stories.d.ts +0 -6
  104. package/dist/types/components/molecules/tttx-form/tttx-form.d.ts +0 -18
  105. package/dist/types/components/molecules/tttx-form/tttx-form.stories.d.ts +0 -6
  106. package/dist/types/components/molecules/tttx-list/tttx-list.d.ts +0 -51
  107. package/dist/types/components/molecules/tttx-list/tttx-list.stories.d.ts +0 -13
  108. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +0 -38
  109. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.d.ts +0 -106
  110. package/dist/types/components/palette.stories.d.ts +0 -6
  111. package/dist/types/components.d.ts +0 -236
  112. package/dist/types/docs/gettingstarted-developer.stories.d.ts +0 -5
  113. package/dist/types/icons.d.ts +0 -2
  114. package/dist/types/index.d.ts +0 -1
  115. package/dist/types/stencil-public-runtime.d.ts +0 -1637
  116. package/loader/cdn.js +0 -3
  117. package/loader/index.cjs.js +0 -3
  118. package/loader/index.d.ts +0 -21
  119. package/loader/index.es2017.js +0 -3
  120. package/loader/index.js +0 -4
  121. package/loader/package.json +0 -11
@@ -1,181 +0,0 @@
1
- .material-symbols-rounded {
2
- font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
3
- }
4
-
5
- .material-symbols-rounded {
6
- font-family: "Material Symbols Rounded", sans-serif;
7
- font-weight: 400;
8
- font-style: normal;
9
- font-size: 24px;
10
- line-height: 1;
11
- letter-spacing: normal;
12
- text-transform: none;
13
- display: inline-block;
14
- white-space: nowrap;
15
- word-wrap: normal;
16
- direction: ltr;
17
- text-rendering: optimizeLegibility;
18
- -webkit-font-smoothing: antialiased;
19
- color: #9e9e9e;
20
- }
21
-
22
- .icon-left,
23
- .icon-right {
24
- flex-basis: 24px;
25
- }
26
-
27
- .icon-left span,
28
- .icon-right span {
29
- font-size: 24px;
30
- line-height: 24px;
31
- text-align: center;
32
- display: block;
33
- width: 24px;
34
- height: 24px;
35
- margin-top: 4px;
36
- }
37
-
38
- .icon-left span {
39
- margin-left: 4px;
40
- }
41
-
42
- .icon-right span {
43
- margin-right: 4px;
44
- }
45
-
46
- .icon-right {
47
- margin-top: 5px;
48
- margin-right: 4px;
49
- }
50
-
51
- .icon-left {
52
- margin-top: 5px;
53
- margin-left: 4px;
54
- }
55
-
56
- .iconleft .input {
57
- padding-left: 4px;
58
- }
59
-
60
- .iconright .input {
61
- padding-right: 4px;
62
- }
63
-
64
- .focused {
65
- border-color: #1479c6;
66
- }
67
-
68
- .errormsg {
69
- display: flex;
70
- justify-content: center;
71
- align-items: center;
72
- float: left;
73
- margin-bottom: 16px;
74
- box-sizing: border-box;
75
- background-color: transparent;
76
- height: 26px;
77
- font-size: 14px;
78
- border-radius: none;
79
- z-index: 2;
80
- color: #dc0000;
81
- }
82
-
83
- .errormsg .validationicon {
84
- width: 16px;
85
- height: 16px;
86
- font-size: 16px;
87
- margin-right: 4px;
88
- vertical-align: middle;
89
- color: #dc0000;
90
- }
91
-
92
- .danger {
93
- color: #dc0000;
94
- }
95
-
96
- .optional {
97
- color: #757575;
98
- font-weight: normal;
99
- }
100
-
101
- label.inputBlock {
102
- display: block;
103
- position: relative;
104
- line-height: 21px;
105
- }
106
-
107
- label {
108
- font-weight: 500;
109
- font-size: 16px;
110
- }
111
-
112
- input:not([type=submit]) {
113
- font-family: "Roboto", serif;
114
- box-sizing: border-box;
115
- width: 100%;
116
- height: 36px;
117
- padding: 0 16px;
118
- font-size: 16px;
119
- border: 1px solid #d5d5d5;
120
- border-radius: 4px;
121
- margin-top: 4px;
122
- }
123
-
124
- /* iPhone OS fix */
125
- input[type=date] {
126
- background: white;
127
- display: block;
128
- min-width: calc(100% - 18px);
129
- line-height: 37px;
130
- }
131
-
132
- input.invalid:invalid, input.standalone.invalid {
133
- border: 1px solid #dc0000;
134
- }
135
-
136
- input ~ .errorBubble {
137
- min-height: 27px;
138
- position: relative;
139
- font-size: 14px;
140
- font-weight: normal;
141
- width: 100%;
142
- font-family: "Roboto", sans-serif;
143
- color: #dc0000;
144
- display: flex;
145
- align-content: center;
146
- align-items: center;
147
- justify-items: center;
148
- }
149
-
150
- input ~ .errorBubble:not(.visible) {
151
- visibility: hidden;
152
- }
153
-
154
- input ~ .errorBubble span {
155
- color: #dc0000;
156
- font-size: 16px;
157
- margin-right: 4px;
158
- height: 16px;
159
- }
160
-
161
- input.invalid:invalid ~ .errorBubble {
162
- position: relative;
163
- font-size: 14px;
164
- font-weight: normal;
165
- width: 100%;
166
- font-family: "Roboto", sans-serif;
167
- color: #dc0000;
168
- visibility: visible;
169
- }
170
-
171
- input:focus {
172
- border-color: #1479c6;
173
- }
174
-
175
- :host {
176
- display: block;
177
- }
178
-
179
- .spacing {
180
- margin-bottom: 16px;
181
- }
@@ -1,101 +0,0 @@
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 +0,0 @@
1
- export default {
2
- title: 'Atoms/Checkbox',
3
- component: 'tttx-checkbox',
4
- };
5
- const Template = ({ value }) => `
6
- <tttx-checkbox
7
- ${value ? 'value="true"' : ''}
8
- ></tttx-checkbox>
9
- `;
10
- export const Default = Template.bind({});
11
- Default.args = {
12
- value: false,
13
- };
@@ -1,230 +0,0 @@
1
- .material-symbols-rounded {
2
- font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
3
- }
4
-
5
- .material-symbols-rounded {
6
- font-family: "Material Symbols Rounded", sans-serif;
7
- font-weight: 400;
8
- font-style: normal;
9
- font-size: 24px;
10
- line-height: 1;
11
- letter-spacing: normal;
12
- text-transform: none;
13
- display: inline-block;
14
- white-space: nowrap;
15
- word-wrap: normal;
16
- direction: ltr;
17
- text-rendering: optimizeLegibility;
18
- -webkit-font-smoothing: antialiased;
19
- color: #9e9e9e;
20
- }
21
-
22
- .icon-left,
23
- .icon-right {
24
- flex-basis: 24px;
25
- }
26
-
27
- .icon-left span,
28
- .icon-right span {
29
- font-size: 24px;
30
- line-height: 24px;
31
- text-align: center;
32
- display: block;
33
- width: 24px;
34
- height: 24px;
35
- margin-top: 4px;
36
- }
37
-
38
- .icon-left span {
39
- margin-left: 4px;
40
- }
41
-
42
- .icon-right span {
43
- margin-right: 4px;
44
- }
45
-
46
- .icon-right {
47
- margin-top: 5px;
48
- margin-right: 4px;
49
- }
50
-
51
- .icon-left {
52
- margin-top: 5px;
53
- margin-left: 4px;
54
- }
55
-
56
- .iconleft .input {
57
- padding-left: 4px;
58
- }
59
-
60
- .iconright .input {
61
- padding-right: 4px;
62
- }
63
-
64
- .focused {
65
- border-color: #1479c6;
66
- }
67
-
68
- .errormsg {
69
- display: flex;
70
- justify-content: center;
71
- align-items: center;
72
- float: left;
73
- margin-bottom: 16px;
74
- box-sizing: border-box;
75
- background-color: transparent;
76
- height: 26px;
77
- font-size: 14px;
78
- border-radius: none;
79
- z-index: 2;
80
- color: #dc0000;
81
- }
82
-
83
- .errormsg .validationicon {
84
- width: 16px;
85
- height: 16px;
86
- font-size: 16px;
87
- margin-right: 4px;
88
- vertical-align: middle;
89
- color: #dc0000;
90
- }
91
-
92
- .danger {
93
- color: #dc0000;
94
- }
95
-
96
- .optional {
97
- color: #757575;
98
- font-weight: normal;
99
- }
100
-
101
- label.inputBlock {
102
- display: block;
103
- position: relative;
104
- line-height: 21px;
105
- }
106
-
107
- label {
108
- font-weight: 500;
109
- font-size: 16px;
110
- }
111
-
112
- input:not([type=submit]) {
113
- font-family: "Roboto", serif;
114
- box-sizing: border-box;
115
- width: 100%;
116
- height: 36px;
117
- padding: 0 16px;
118
- font-size: 16px;
119
- border: 1px solid #d5d5d5;
120
- border-radius: 4px;
121
- margin-top: 4px;
122
- }
123
-
124
- /* iPhone OS fix */
125
- input[type=date] {
126
- background: white;
127
- display: block;
128
- min-width: calc(100% - 18px);
129
- line-height: 37px;
130
- }
131
-
132
- input.invalid:invalid, input.standalone.invalid {
133
- border: 1px solid #dc0000;
134
- }
135
-
136
- input ~ .errorBubble {
137
- min-height: 27px;
138
- position: relative;
139
- font-size: 14px;
140
- font-weight: normal;
141
- width: 100%;
142
- font-family: "Roboto", sans-serif;
143
- color: #dc0000;
144
- display: flex;
145
- align-content: center;
146
- align-items: center;
147
- justify-items: center;
148
- }
149
-
150
- input ~ .errorBubble:not(.visible) {
151
- visibility: hidden;
152
- }
153
-
154
- input ~ .errorBubble span {
155
- color: #dc0000;
156
- font-size: 16px;
157
- margin-right: 4px;
158
- height: 16px;
159
- }
160
-
161
- input.invalid:invalid ~ .errorBubble {
162
- position: relative;
163
- font-size: 14px;
164
- font-weight: normal;
165
- width: 100%;
166
- font-family: "Roboto", sans-serif;
167
- color: #dc0000;
168
- visibility: visible;
169
- }
170
-
171
- input:focus {
172
- border-color: #1479c6;
173
- }
174
-
175
- .button {
176
- height: 36px;
177
- padding: 8px 16px;
178
- margin: 0;
179
- background: transparent;
180
- color: #212121;
181
- border: 1px solid #c8c8c8;
182
- border-radius: 4px;
183
- text-transform: uppercase;
184
- display: flex;
185
- justify-content: left;
186
- align-items: center;
187
- font-size: 14px;
188
- font-weight: 400;
189
- }
190
-
191
- .button:hover {
192
- background: #f0f0f0;
193
- }
194
-
195
- .button:active {
196
- background: #e3e3e3;
197
- }
198
-
199
- .primary-blue {
200
- background: #1479c6;
201
- border: 1px solid #1479c6;
202
- color: white;
203
- }
204
-
205
- .primary-blue:hover {
206
- background: #1169ba;
207
- }
208
-
209
- .primary-blue:active {
210
- background: #0951a8;
211
- }
212
-
213
- .secondary-white {
214
- background: white;
215
- border: 1px solid #212121;
216
- }
217
-
218
- :host {
219
- display: block;
220
- }
221
-
222
- fieldset {
223
- margin: 0;
224
- padding: 0;
225
- border: none;
226
- }
227
-
228
- input[type=submit] {
229
- margin-left: auto;
230
- }