@3t-transform/threeteeui 0.0.15 → 0.0.17

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 (153) hide show
  1. package/dist/cjs/index-864b7110.js +1531 -0
  2. package/dist/cjs/index.cjs.js +2 -0
  3. package/dist/cjs/loader.cjs.js +22 -0
  4. package/dist/cjs/tttx-button.cjs.entry.js +34 -0
  5. package/dist/cjs/tttx-checkbox.cjs.entry.js +28 -0
  6. package/dist/cjs/tttx-form.cjs.entry.js +374 -0
  7. package/dist/cjs/tttx-icon.cjs.entry.js +21 -0
  8. package/dist/cjs/tttx-input-calendar.cjs.entry.js +125 -0
  9. package/dist/cjs/tttx-keyvalue-block.cjs.entry.js +33 -0
  10. package/dist/cjs/tttx-list.cjs.entry.js +198 -0
  11. package/dist/cjs/tttx-loading-spinner.cjs.entry.js +26 -0
  12. package/dist/cjs/tttx-popover-content.cjs.entry.js +23 -0
  13. package/dist/cjs/tttx-standalone-input.cjs.entry.js +136 -0
  14. package/dist/cjs/tttx-table.cjs.entry.js +60 -0
  15. package/dist/cjs/tttx.cjs.js +23 -0
  16. package/dist/collection/collection-manifest.json +22 -0
  17. package/dist/collection/components/atoms/tttx-button/tttx-button.css +138 -0
  18. package/dist/collection/components/atoms/tttx-button/tttx-button.js +110 -0
  19. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +74 -0
  20. package/dist/collection/components/atoms/tttx-icon/tttx-icon.css +108 -0
  21. package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +62 -0
  22. package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +22 -0
  23. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.css +26 -0
  24. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +56 -0
  25. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +12 -0
  26. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.css +48 -0
  27. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +67 -0
  28. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +17 -0
  29. package/dist/collection/components/atoms/tttx-popover-content/tttx-popover-content.css +30 -0
  30. package/dist/collection/components/atoms/tttx-popover-content/tttx-popover-content.js +97 -0
  31. package/dist/collection/components/atoms/tttx-popover-content/tttx-popover-content.stories.js +23 -0
  32. package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.css +181 -0
  33. package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.js +102 -0
  34. package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.stories.js +13 -0
  35. package/dist/collection/components/molecules/tttx-form/tttx-form.css +314 -0
  36. package/dist/collection/components/molecules/tttx-form/tttx-form.js +452 -0
  37. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +109 -0
  38. package/dist/collection/components/molecules/tttx-input-calendar/tttx-input-calendar.css +93 -0
  39. package/dist/collection/components/molecules/tttx-input-calendar/tttx-input-calendar.js +174 -0
  40. package/dist/collection/components/molecules/tttx-input-calendar/tttx-input-calendar.stories.js +27 -0
  41. package/dist/collection/components/molecules/tttx-list/tttx-list.css +56 -0
  42. package/dist/collection/components/molecules/tttx-list/tttx-list.js +312 -0
  43. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +37 -0
  44. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.css +177 -0
  45. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +570 -0
  46. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +156 -0
  47. package/dist/collection/components/molecules/tttx-table/tttx-table.css +166 -0
  48. package/dist/collection/components/molecules/tttx-table/tttx-table.js +174 -0
  49. package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +81 -0
  50. package/dist/collection/components/palette.stories.js +88 -0
  51. package/dist/collection/docs/gettingstarted-developer.stories.js +9 -0
  52. package/dist/collection/icons.js +2838 -0
  53. package/dist/collection/index.js +1 -0
  54. package/dist/components/index.d.ts +41 -0
  55. package/dist/components/index.js +12 -0
  56. package/dist/components/tttx-button.d.ts +11 -0
  57. package/dist/components/tttx-button.js +6 -0
  58. package/dist/components/tttx-button2.js +56 -0
  59. package/dist/components/tttx-checkbox.d.ts +11 -0
  60. package/dist/components/tttx-checkbox.js +46 -0
  61. package/dist/components/tttx-form.d.ts +11 -0
  62. package/dist/components/tttx-form.js +391 -0
  63. package/dist/components/tttx-icon.d.ts +11 -0
  64. package/dist/components/tttx-icon.js +6 -0
  65. package/dist/components/tttx-icon2.js +35 -0
  66. package/dist/components/tttx-input-calendar.d.ts +11 -0
  67. package/dist/components/tttx-input-calendar.js +157 -0
  68. package/dist/components/tttx-keyvalue-block.d.ts +11 -0
  69. package/dist/components/tttx-keyvalue-block.js +49 -0
  70. package/dist/components/tttx-list.d.ts +11 -0
  71. package/dist/components/tttx-list.js +225 -0
  72. package/dist/components/tttx-loading-spinner.d.ts +11 -0
  73. package/dist/components/tttx-loading-spinner.js +6 -0
  74. package/dist/components/tttx-loading-spinner2.js +40 -0
  75. package/dist/components/tttx-popover-content.d.ts +11 -0
  76. package/dist/components/tttx-popover-content.js +6 -0
  77. package/dist/components/tttx-popover-content2.js +39 -0
  78. package/dist/components/tttx-standalone-input.d.ts +11 -0
  79. package/dist/components/tttx-standalone-input.js +179 -0
  80. package/dist/components/tttx-table.d.ts +11 -0
  81. package/dist/components/tttx-table.js +91 -0
  82. package/dist/esm/index-232e347b.js +1502 -0
  83. package/dist/esm/index.js +1 -0
  84. package/dist/esm/loader.js +18 -0
  85. package/dist/esm/polyfills/core-js.js +11 -0
  86. package/dist/esm/polyfills/css-shim.js +1 -0
  87. package/dist/esm/polyfills/dom.js +79 -0
  88. package/dist/esm/polyfills/es5-html-element.js +1 -0
  89. package/dist/esm/polyfills/index.js +34 -0
  90. package/dist/esm/polyfills/system.js +6 -0
  91. package/dist/esm/tttx-button.entry.js +30 -0
  92. package/dist/esm/tttx-checkbox.entry.js +24 -0
  93. package/dist/esm/tttx-form.entry.js +370 -0
  94. package/dist/esm/tttx-icon.entry.js +17 -0
  95. package/dist/esm/tttx-input-calendar.entry.js +121 -0
  96. package/dist/esm/tttx-keyvalue-block.entry.js +29 -0
  97. package/dist/esm/tttx-list.entry.js +194 -0
  98. package/dist/esm/tttx-loading-spinner.entry.js +22 -0
  99. package/dist/esm/tttx-popover-content.entry.js +19 -0
  100. package/dist/esm/tttx-standalone-input.entry.js +132 -0
  101. package/dist/esm/tttx-table.entry.js +56 -0
  102. package/dist/esm/tttx.js +18 -0
  103. package/dist/index.cjs.js +1 -0
  104. package/dist/index.js +1 -0
  105. package/dist/tttx/index.esm.js +0 -0
  106. package/dist/tttx/p-01e1894e.entry.js +1 -0
  107. package/dist/tttx/p-184c4fae.js +2 -0
  108. package/dist/tttx/p-1bc3dfee.entry.js +1 -0
  109. package/dist/tttx/p-1cf8f9e8.entry.js +1 -0
  110. package/dist/tttx/p-220f7519.entry.js +1 -0
  111. package/dist/tttx/p-3973b7dd.entry.js +1 -0
  112. package/dist/tttx/p-5247e827.entry.js +1 -0
  113. package/dist/tttx/p-6828fe6f.entry.js +1 -0
  114. package/dist/tttx/p-81904eed.entry.js +1 -0
  115. package/dist/tttx/p-cf107fb6.entry.js +1 -0
  116. package/dist/tttx/p-f56fe662.entry.js +1 -0
  117. package/dist/tttx/p-fe4c70b2.entry.js +1 -0
  118. package/dist/tttx/tttx.esm.js +1 -0
  119. package/dist/types/components/atoms/tttx-button/tttx-button.d.ts +10 -0
  120. package/dist/types/components/atoms/tttx-button/tttx-button.stories.d.ts +10 -0
  121. package/dist/types/components/atoms/tttx-icon/tttx-icon.d.ts +5 -0
  122. package/dist/types/components/atoms/tttx-icon/tttx-icon.stories.d.ts +20 -0
  123. package/dist/types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.d.ts +4 -0
  124. package/dist/types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.d.ts +6 -0
  125. package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.d.ts +6 -0
  126. package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.d.ts +17 -0
  127. package/dist/types/components/atoms/tttx-popover-content/tttx-popover-content.d.ts +7 -0
  128. package/dist/types/components/atoms/tttx-popover-content/tttx-popover-content.stories.d.ts +18 -0
  129. package/dist/types/components/atoms/ttx-checkbox/tttx-checkbox.d.ts +9 -0
  130. package/dist/types/components/atoms/ttx-checkbox/tttx-checkbox.stories.d.ts +6 -0
  131. package/dist/types/components/molecules/tttx-form/tttx-form.d.ts +134 -0
  132. package/dist/types/components/molecules/tttx-form/tttx-form.stories.d.ts +12 -0
  133. package/dist/types/components/molecules/tttx-input-calendar/tttx-input-calendar.d.ts +19 -0
  134. package/dist/types/components/molecules/tttx-input-calendar/tttx-input-calendar.stories.d.ts +26 -0
  135. package/dist/types/components/molecules/tttx-list/tttx-list.d.ts +51 -0
  136. package/dist/types/components/molecules/tttx-list/tttx-list.stories.d.ts +13 -0
  137. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +38 -0
  138. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.d.ts +106 -0
  139. package/dist/types/components/molecules/tttx-table/tttx-table.d.ts +15 -0
  140. package/dist/types/components/molecules/tttx-table/tttx-table.stories.d.ts +21 -0
  141. package/dist/types/components/palette.stories.d.ts +6 -0
  142. package/dist/types/components.d.ts +295 -0
  143. package/dist/types/docs/gettingstarted-developer.stories.d.ts +5 -0
  144. package/dist/types/icons.d.ts +2 -0
  145. package/dist/types/index.d.ts +1 -0
  146. package/dist/types/stencil-public-runtime.d.ts +1637 -0
  147. package/loader/cdn.js +3 -0
  148. package/loader/index.cjs.js +3 -0
  149. package/loader/index.d.ts +21 -0
  150. package/loader/index.es2017.js +3 -0
  151. package/loader/index.js +4 -0
  152. package/loader/package.json +11 -0
  153. package/package.json +4 -4
@@ -0,0 +1,97 @@
1
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
+ import { Host, h } from '@stencil/core';
3
+ export class TttxPopoverContent {
4
+ constructor() {
5
+ this.header = undefined;
6
+ this.body = undefined;
7
+ this.linkcontext = undefined;
8
+ this.linktext = undefined;
9
+ }
10
+ render() {
11
+ return (h(Host, null, this.header && h("h4", null, this.header), this.body && h("p", null, this.body), this.linkcontext && (h("span", { class: "linky", onClick: evt => console.log(this.linkcontext, evt) }, this.linktext || 'More Information'))));
12
+ }
13
+ static get is() { return "tttx-popover-content"; }
14
+ static get encapsulation() { return "shadow"; }
15
+ static get originalStyleUrls() {
16
+ return {
17
+ "$": ["tttx-popover-content.scss"]
18
+ };
19
+ }
20
+ static get styleUrls() {
21
+ return {
22
+ "$": ["tttx-popover-content.css"]
23
+ };
24
+ }
25
+ static get properties() {
26
+ return {
27
+ "header": {
28
+ "type": "string",
29
+ "mutable": false,
30
+ "complexType": {
31
+ "original": "string",
32
+ "resolved": "string",
33
+ "references": {}
34
+ },
35
+ "required": false,
36
+ "optional": false,
37
+ "docs": {
38
+ "tags": [],
39
+ "text": ""
40
+ },
41
+ "attribute": "header",
42
+ "reflect": false
43
+ },
44
+ "body": {
45
+ "type": "string",
46
+ "mutable": false,
47
+ "complexType": {
48
+ "original": "string",
49
+ "resolved": "string",
50
+ "references": {}
51
+ },
52
+ "required": false,
53
+ "optional": false,
54
+ "docs": {
55
+ "tags": [],
56
+ "text": ""
57
+ },
58
+ "attribute": "body",
59
+ "reflect": false
60
+ },
61
+ "linkcontext": {
62
+ "type": "string",
63
+ "mutable": false,
64
+ "complexType": {
65
+ "original": "string",
66
+ "resolved": "string",
67
+ "references": {}
68
+ },
69
+ "required": false,
70
+ "optional": false,
71
+ "docs": {
72
+ "tags": [],
73
+ "text": ""
74
+ },
75
+ "attribute": "linkcontext",
76
+ "reflect": false
77
+ },
78
+ "linktext": {
79
+ "type": "string",
80
+ "mutable": false,
81
+ "complexType": {
82
+ "original": "string",
83
+ "resolved": "string",
84
+ "references": {}
85
+ },
86
+ "required": false,
87
+ "optional": false,
88
+ "docs": {
89
+ "tags": [],
90
+ "text": ""
91
+ },
92
+ "attribute": "linktext",
93
+ "reflect": false
94
+ }
95
+ };
96
+ }
97
+ }
@@ -0,0 +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
+ };
@@ -0,0 +1,181 @@
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
+ }
@@ -0,0 +1,102 @@
1
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
+ import { Host, h } from '@stencil/core';
3
+ export class TttxCheckbox {
4
+ constructor() {
5
+ this.value = undefined;
6
+ this.label = undefined;
7
+ this.required = undefined;
8
+ }
9
+ handleClick(event) {
10
+ const target = event.target;
11
+ this.value = target.checked;
12
+ this.valueChanged.emit(target.checked);
13
+ }
14
+ render() {
15
+ 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 }))));
16
+ }
17
+ static get is() { return "tttx-checkbox"; }
18
+ static get encapsulation() { return "shadow"; }
19
+ static get originalStyleUrls() {
20
+ return {
21
+ "$": ["tttx-checkbox.scss"]
22
+ };
23
+ }
24
+ static get styleUrls() {
25
+ return {
26
+ "$": ["tttx-checkbox.css"]
27
+ };
28
+ }
29
+ static get properties() {
30
+ return {
31
+ "value": {
32
+ "type": "boolean",
33
+ "mutable": false,
34
+ "complexType": {
35
+ "original": "boolean",
36
+ "resolved": "boolean",
37
+ "references": {}
38
+ },
39
+ "required": false,
40
+ "optional": false,
41
+ "docs": {
42
+ "tags": [],
43
+ "text": ""
44
+ },
45
+ "attribute": "value",
46
+ "reflect": false
47
+ },
48
+ "label": {
49
+ "type": "string",
50
+ "mutable": false,
51
+ "complexType": {
52
+ "original": "string",
53
+ "resolved": "string",
54
+ "references": {}
55
+ },
56
+ "required": false,
57
+ "optional": false,
58
+ "docs": {
59
+ "tags": [],
60
+ "text": ""
61
+ },
62
+ "attribute": "label",
63
+ "reflect": false
64
+ },
65
+ "required": {
66
+ "type": "boolean",
67
+ "mutable": false,
68
+ "complexType": {
69
+ "original": "boolean",
70
+ "resolved": "boolean",
71
+ "references": {}
72
+ },
73
+ "required": false,
74
+ "optional": false,
75
+ "docs": {
76
+ "tags": [],
77
+ "text": ""
78
+ },
79
+ "attribute": "required",
80
+ "reflect": false
81
+ }
82
+ };
83
+ }
84
+ static get events() {
85
+ return [{
86
+ "method": "valueChanged",
87
+ "name": "valueChanged",
88
+ "bubbles": true,
89
+ "cancelable": true,
90
+ "composed": true,
91
+ "docs": {
92
+ "tags": [],
93
+ "text": ""
94
+ },
95
+ "complexType": {
96
+ "original": "boolean",
97
+ "resolved": "boolean",
98
+ "references": {}
99
+ }
100
+ }];
101
+ }
102
+ }
@@ -0,0 +1,13 @@
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
+ };
@@ -0,0 +1,314 @@
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
+ font-family: Roboto, serif;
177
+ box-sizing: border-box;
178
+ height: 36px;
179
+ min-width: 36px;
180
+ padding: 0;
181
+ margin: 0;
182
+ background: transparent;
183
+ color: #212121;
184
+ border: 1px solid #c8c8c8;
185
+ border-radius: 4px;
186
+ text-transform: uppercase;
187
+ display: flex;
188
+ justify-content: left;
189
+ align-items: center;
190
+ font-size: 14px;
191
+ font-weight: 400;
192
+ }
193
+
194
+ .button-content {
195
+ display: block;
196
+ padding: 0 16px;
197
+ }
198
+
199
+ .icon-left, .icon-right {
200
+ margin-top: 4px;
201
+ }
202
+
203
+ .iconleft {
204
+ padding-left: 8px;
205
+ }
206
+
207
+ .iconleft .button-content {
208
+ padding-left: 4px;
209
+ }
210
+
211
+ .iconright {
212
+ padding-right: 8px;
213
+ }
214
+
215
+ .iconright .button-content {
216
+ padding-right: 4px;
217
+ }
218
+
219
+ .notext {
220
+ padding: 0 6px;
221
+ }
222
+
223
+ .button:hover {
224
+ background: rgba(17, 17, 17, 0.1);
225
+ border: 1px solid #D5D5D5;
226
+ }
227
+
228
+ .button:active {
229
+ background: rgba(17, 17, 17, 0.2);
230
+ border: 1px solid #D5D5D5;
231
+ }
232
+
233
+ .primary {
234
+ background: #1479c6;
235
+ border: 1px solid #1479c6;
236
+ color: white;
237
+ }
238
+
239
+ .primary:hover {
240
+ background: #146EB3;
241
+ border: 1px solid #146EB3;
242
+ }
243
+
244
+ .primary:active {
245
+ background: #1464A2;
246
+ border: 1px solid #1464A2;
247
+ }
248
+
249
+ .borderless {
250
+ background: transparent;
251
+ border: none;
252
+ color: #212121;
253
+ }
254
+
255
+ .borderless:hover {
256
+ background: rgba(17, 17, 17, 0.1);
257
+ border: none;
258
+ }
259
+
260
+ .borderless:active {
261
+ background: rgba(17, 17, 17, 0.2);
262
+ border: none;
263
+ }
264
+
265
+ .danger {
266
+ background: #DC0000;
267
+ border: 1px solid #DC0000;
268
+ color: white;
269
+ }
270
+
271
+ .danger:hover {
272
+ background: #C60000;
273
+ border: 1px solid #C60000;
274
+ }
275
+
276
+ .danger:active {
277
+ background: #B00000;
278
+ border: 1px solid #B00000;
279
+ }
280
+
281
+ .disabled {
282
+ background: #aeaeae;
283
+ border: none;
284
+ color: #4c4c4c;
285
+ cursor: not-allowed;
286
+ }
287
+
288
+ .disabled:hover {
289
+ background: #aeaeae;
290
+ border: none;
291
+ color: #4c4c4c;
292
+ cursor: not-allowed;
293
+ }
294
+
295
+ .disabled:active {
296
+ background: #aeaeae;
297
+ border: none;
298
+ color: #4c4c4c;
299
+ cursor: not-allowed;
300
+ }
301
+
302
+ :host {
303
+ display: block;
304
+ }
305
+
306
+ fieldset {
307
+ margin: 0;
308
+ padding: 0;
309
+ border: none;
310
+ }
311
+
312
+ input[type=submit] {
313
+ margin-left: auto;
314
+ }