@limetech/lime-elements 36.1.0-dev.2 → 36.1.0-dev.4

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 (72) hide show
  1. package/dist/cjs/lime-elements.cjs.js +1 -1
  2. package/dist/cjs/{limel-linear-progress.cjs.entry.js → limel-circular-progress_2.cjs.entry.js} +33 -0
  3. package/dist/cjs/limel-dialog.cjs.entry.js +1 -1
  4. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +1 -1
  5. package/dist/cjs/limel-form.cjs.entry.js +2 -0
  6. package/dist/cjs/limel-info-tile.cjs.entry.js +95 -0
  7. package/dist/cjs/limel-input-field.cjs.entry.js +1 -1
  8. package/dist/cjs/limel-list_2.cjs.entry.js +1 -3
  9. package/dist/cjs/limel-menu-list.cjs.entry.js +1 -1
  10. package/dist/cjs/limel-select.cjs.entry.js +12 -7
  11. package/dist/cjs/limel-shortcut.cjs.entry.js +8 -8
  12. package/dist/cjs/limel-split-button.cjs.entry.js +12 -4
  13. package/dist/cjs/loader.cjs.js +1 -1
  14. package/dist/collection/collection-manifest.json +1 -0
  15. package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.css +0 -3
  16. package/dist/collection/components/dialog/dialog.css +7 -1
  17. package/dist/collection/components/dock/dock.js +0 -1
  18. package/dist/collection/components/form/widgets/code-editor.js +2 -0
  19. package/dist/collection/components/info-tile/info-tile.css +310 -0
  20. package/dist/collection/components/info-tile/info-tile.js +294 -0
  21. package/dist/collection/components/info-tile/info-tile.types.js +1 -0
  22. package/dist/collection/components/input-field/input-field.css +3 -0
  23. package/dist/collection/components/list/list.css +11 -116
  24. package/dist/collection/components/list/list.js +0 -2
  25. package/dist/collection/components/menu-list/menu-list.css +11 -116
  26. package/dist/collection/components/select/select.css +8 -7
  27. package/dist/collection/components/select/select.template.js +11 -6
  28. package/dist/collection/components/shortcut/shortcut.js +30 -63
  29. package/dist/collection/components/split-button/split-button.css +10 -1
  30. package/dist/collection/components/split-button/split-button.js +11 -3
  31. package/dist/collection/global/shared-types/link.types.js +1 -0
  32. package/dist/esm/lime-elements.js +1 -1
  33. package/dist/esm/{limel-linear-progress.entry.js → limel-circular-progress_2.entry.js} +33 -1
  34. package/dist/esm/limel-dialog.entry.js +1 -1
  35. package/dist/esm/limel-flatpickr-adapter.entry.js +1 -1
  36. package/dist/esm/limel-form.entry.js +2 -0
  37. package/dist/esm/limel-info-tile.entry.js +91 -0
  38. package/dist/esm/limel-input-field.entry.js +1 -1
  39. package/dist/esm/limel-list_2.entry.js +1 -3
  40. package/dist/esm/limel-menu-list.entry.js +1 -1
  41. package/dist/esm/limel-select.entry.js +12 -7
  42. package/dist/esm/limel-shortcut.entry.js +8 -8
  43. package/dist/esm/limel-split-button.entry.js +12 -4
  44. package/dist/esm/loader.js +1 -1
  45. package/dist/lime-elements/lime-elements.esm.js +1 -1
  46. package/dist/lime-elements/{p-ef04b849.entry.js → p-1386d86d.entry.js} +1 -1
  47. package/dist/lime-elements/{p-0dbde06f.entry.js → p-21058db5.entry.js} +4 -3
  48. package/dist/lime-elements/p-4fc38050.entry.js +1 -0
  49. package/dist/lime-elements/{p-dcd2a664.entry.js → p-5f29f099.entry.js} +1 -1
  50. package/dist/lime-elements/{p-d3ebc657.entry.js → p-8ab597a8.entry.js} +1 -1
  51. package/dist/lime-elements/p-9ea8dd5c.entry.js +1 -0
  52. package/dist/lime-elements/p-e6f84d68.entry.js +1 -0
  53. package/dist/lime-elements/{p-28dffd9e.entry.js → p-e88f7922.entry.js} +1 -1
  54. package/dist/lime-elements/p-ec4c075d.entry.js +1 -0
  55. package/dist/lime-elements/p-f1ed857b.entry.js +37 -0
  56. package/dist/lime-elements/{p-4b426b7e.entry.js → p-f33cfcb8.entry.js} +1 -1
  57. package/dist/types/components/dock/dock.d.ts +0 -1
  58. package/dist/types/components/info-tile/info-tile.d.ts +87 -0
  59. package/dist/types/components/info-tile/info-tile.types.d.ts +23 -0
  60. package/dist/types/components/shortcut/shortcut.d.ts +8 -23
  61. package/dist/types/components/split-button/split-button.d.ts +1 -0
  62. package/dist/types/components.d.ts +99 -21
  63. package/dist/types/global/shared-types/link.types.d.ts +25 -0
  64. package/dist/types/interface.d.ts +2 -0
  65. package/package.json +9 -9
  66. package/dist/cjs/limel-circular-progress.cjs.entry.js +0 -39
  67. package/dist/esm/limel-circular-progress.entry.js +0 -35
  68. package/dist/lime-elements/p-334b5f82.entry.js +0 -37
  69. package/dist/lime-elements/p-744c21f8.entry.js +0 -1
  70. package/dist/lime-elements/p-8715eac0.entry.js +0 -1
  71. package/dist/lime-elements/p-9f19e0c1.entry.js +0 -1
  72. package/dist/lime-elements/p-ace4e596.entry.js +0 -1
@@ -0,0 +1,310 @@
1
+ /*
2
+ * This file is imported into every component!
3
+ *
4
+ * Nothing in this file may output any CSS
5
+ * without being explicitly called by outside code.
6
+ */
7
+ /**
8
+ * @prop --info-tile-border-radius: defines the radius of corners of the info-tile. Defaults to `1rem`
9
+ * @prop --info-tile-icon-color: defines the fill color of the info-tile icon. Defaults to `--contrast-1000`
10
+ * @prop --info-tile-text-color: defines the color of the info-tile label. Defaults to `--contrast-1100`
11
+ * @prop --info-tile-background-color: defines the backgrounds color of the info-tile icon. Defaults to `--contrast-100`
12
+ * @prop --info-tile-badge-text-color: Text color of the notification badge. Defaults to `--color-white`
13
+ * @prop --info-tile-badge-background-color: Background color of the notification badge. Defaults to `--color-red-default`
14
+ * @prop --info-tile-progress-fill-color: Determines the color of the progressed section. Defaults to `--lime-primary-color`.
15
+ * @prop --info-tile-progress-background-color: Determines the background color of the central section of the progress bar. Defaults to `--info-tile-background-color`.
16
+ * @prop --info-tile-progress-suffix-color: Determines the color of the progress prefix. Defaults to `--contrast-1000`.
17
+ * @prop --info-tile-progress-text-color: Determines the color of the progress value. Defaults to `--info-tile-text-color`.
18
+ * @prop --info-tile-progress-prefix-color: Determines the color of the progress suffix. Defaults to `--contrast-1000`.
19
+ */
20
+ :host(limel-info-tile) {
21
+ --badge-text-color: var(
22
+ --info-tile-badge-text-color,
23
+ rgb(var(--color-white))
24
+ );
25
+ --badge-background-color: var(
26
+ --info-tile-badge-background-color,
27
+ rgb(var(--color-red-default))
28
+ );
29
+ --circular-progress-text-color: var(
30
+ --info-tile-progress-text-color,
31
+ var(--info-tile-text-color)
32
+ );
33
+ --circular-progress-suffix-color: var(--info-tile-progress-suffix-color);
34
+ --circular-progress-prefix-color: var(--info-tile-progress-prefix-color);
35
+ --circular-progress-track-color: rgb(var(--contrast-800), 0.3);
36
+ --circular-progress-fill-color: var(--info-tile-progress-fill-color);
37
+ --circular-progress-background-color: var(
38
+ --info-tile-progress-background-color,
39
+ var(--info-tile-background-color)
40
+ );
41
+ --label-min-size: 0.75rem;
42
+ --label-preferred-size: 6cqw;
43
+ --label-max-size: 1rem;
44
+ --value-min-size: 1rem;
45
+ --value-preferred-size: 20cqw;
46
+ --value-max-size: 4rem;
47
+ --suffix-prefix-min-size: 0.75rem;
48
+ --suffix-prefix-preferred-size: 8cqw;
49
+ --suffix-prefix-max-size: 1.5rem;
50
+ --icon-min-size: 2rem;
51
+ --icon-preferred-size: 60cqh;
52
+ --icon-max-size: calc(100cqw - 0.5rem);
53
+ isolation: isolate;
54
+ container-type: size;
55
+ position: relative;
56
+ display: flex;
57
+ width: 100%;
58
+ height: 100%;
59
+ }
60
+ :host(limel-info-tile) * {
61
+ box-sizing: border-box;
62
+ }
63
+
64
+ :host(limel-info-tile[disabled]) a {
65
+ opacity: 0.5;
66
+ cursor: not-allowed;
67
+ }
68
+
69
+ a {
70
+ all: unset;
71
+ overflow: hidden;
72
+ display: flex;
73
+ flex-direction: column;
74
+ justify-content: flex-end;
75
+ align-items: flex-start;
76
+ height: 100%;
77
+ width: 100%;
78
+ flex-grow: 1;
79
+ padding: 0.25rem 1rem 0.5rem 1rem;
80
+ border-radius: var(--info-tile-border-radius, 1rem);
81
+ background-color: var(--info-tile-background-color, rgb(var(--contrast-100)));
82
+ }
83
+ a.is-clickable {
84
+ transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;
85
+ box-shadow: var(--button-shadow-normal);
86
+ cursor: pointer;
87
+ }
88
+ a.is-clickable:hover {
89
+ box-shadow: var(--button-shadow-hovered);
90
+ }
91
+ a.is-clickable:active {
92
+ box-shadow: var(--button-shadow-pressed);
93
+ transform: translate3d(0, 0.08rem, 0);
94
+ }
95
+ a.is-clickable:focus {
96
+ outline: none;
97
+ }
98
+ a.is-clickable:focus-visible {
99
+ outline: none;
100
+ box-shadow: var(--shadow-depth-8-focused);
101
+ }
102
+
103
+ .icon {
104
+ position: absolute;
105
+ top: 0.5rem;
106
+ right: 0.75rem;
107
+ padding: 0.25rem;
108
+ display: flex;
109
+ justify-content: center;
110
+ color: var(--info-tile-icon-color, rgb(var(--contrast-1000)));
111
+ border-radius: 0;
112
+ height: clamp(var(--icon-min-size), var(--icon-preferred-size), var(--icon-max-size));
113
+ }
114
+ @supports not (container-type: size) {
115
+ .icon {
116
+ height: min(60%, var(--icon-max-size));
117
+ }
118
+ }
119
+ .has-circular-progress .icon {
120
+ top: unset;
121
+ bottom: 0.5rem;
122
+ --icon-min-size: 1.5rem;
123
+ --icon-preferred-size: 20cqh;
124
+ }
125
+
126
+ .progress {
127
+ position: absolute;
128
+ top: 0.75rem;
129
+ right: 0.75rem;
130
+ --circular-progress-size: min(
131
+ var(--icon-preferred-size),
132
+ var(--icon-max-size)
133
+ );
134
+ }
135
+
136
+ .label {
137
+ z-index: 1;
138
+ color: var(--info-tile-text-color, rgb(var(--contrast-1100)));
139
+ line-height: normal;
140
+ font-size: clamp(var(--label-min-size), var(--label-preferred-size), var(--label-max-size));
141
+ }
142
+ @supports not (container-type: size) {
143
+ .label {
144
+ font-size: 0.875rem;
145
+ }
146
+ }
147
+
148
+ limel-badge {
149
+ position: absolute;
150
+ top: -0.5rem;
151
+ right: -0.5rem;
152
+ }
153
+
154
+ limel-linear-progress {
155
+ --lime-primary-color: var(--info-tile-text-color);
156
+ position: absolute;
157
+ inset: auto 0 0 0;
158
+ border-radius: 1rem;
159
+ overflow: hidden;
160
+ }
161
+
162
+ .value-group {
163
+ position: relative;
164
+ z-index: 1;
165
+ display: flex;
166
+ flex-direction: column;
167
+ color: var(--info-tile-text-color, rgb(var(--contrast-1100)));
168
+ }
169
+
170
+ .value-and-suffix,
171
+ .label {
172
+ text-shadow: 0 0 0.5rem var(--info-tile-background-color, rgb(var(--contrast-100))), 0 0 0.25rem var(--info-tile-background-color, rgb(var(--contrast-100)));
173
+ }
174
+
175
+ .value-and-suffix {
176
+ display: flex;
177
+ }
178
+
179
+ .prefix,
180
+ .suffix {
181
+ font-size: clamp(var(--suffix-prefix-min-size), var(--suffix-prefix-preferred-size), var(--suffix-prefix-max-size));
182
+ opacity: 0.7;
183
+ }
184
+ @supports not (container-type: size) {
185
+ .prefix,
186
+ .suffix {
187
+ font-size: 0.75rem;
188
+ }
189
+ }
190
+
191
+ .prefix {
192
+ align-self: flex-start;
193
+ line-height: normal;
194
+ transform: translateY(40%);
195
+ }
196
+
197
+ .value {
198
+ transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.95);
199
+ transform-origin: left;
200
+ transform: translate3d(0, 0, 0) scale(1);
201
+ overflow: hidden;
202
+ white-space: nowrap;
203
+ text-overflow: ellipsis;
204
+ font-weight: bold;
205
+ line-height: normal;
206
+ font-size: clamp(var(--value-min-size), var(--value-preferred-size), var(--value-max-size));
207
+ }
208
+ @supports not (container-type: size) {
209
+ .value {
210
+ font-size: 2.5rem;
211
+ }
212
+ }
213
+ :host(limel-info-tile[loading]) .value {
214
+ opacity: 0.3;
215
+ transform: translate3d(0, 0, 0) scale(0.9);
216
+ }
217
+
218
+ .suffix {
219
+ transform: translateY(10%);
220
+ }
221
+
222
+ @container (width < 8rem) {
223
+ .progress {
224
+ top: 0.25rem;
225
+ right: 0.25rem;
226
+ }
227
+
228
+ a {
229
+ padding: 0.375rem;
230
+ gap: 0.125rem;
231
+ }
232
+ }
233
+ @container (width < 18.75rem) {
234
+ .progress {
235
+ top: 0.5rem;
236
+ right: 0.5rem;
237
+ }
238
+
239
+ .icon {
240
+ top: 0.25rem;
241
+ right: 0.5rem;
242
+ }
243
+ .has-circular-progress .icon {
244
+ right: 0.25rem;
245
+ bottom: 0.25rem;
246
+ }
247
+ }
248
+ @container (width < 40.5rem) {
249
+ .value {
250
+ --value-preferred-size: 13cqw;
251
+ }
252
+ .value.ch-1, .value.ch-2, .value.ch-3, .value.ch-4 {
253
+ --value-preferred-size: 20cqw;
254
+ }
255
+ .value.ch-5 {
256
+ --value-preferred-size: 18cqw;
257
+ }
258
+ .value.ch-6 {
259
+ --value-preferred-size: 17cqw;
260
+ }
261
+ .value.ch-7 {
262
+ --value-preferred-size: 16cqw;
263
+ }
264
+ .value.ch-8 {
265
+ --value-preferred-size: 15cqw;
266
+ }
267
+ .value.ch-9 {
268
+ --value-preferred-size: 14cqw;
269
+ }
270
+ }
271
+ @container (height > 8rem) {
272
+ a {
273
+ padding-top: 0.75rem;
274
+ padding-bottom: 1rem;
275
+ }
276
+ }
277
+ @container (height < 8rem) and (width > 8rem) {
278
+ .value {
279
+ --value-preferred-size: 32cqh !important;
280
+ }
281
+
282
+ .suffix,
283
+ .prefix {
284
+ --suffix-prefix-preferred-size: 16cqh !important;
285
+ }
286
+ }
287
+ @container (height > 18.75rem) {
288
+ .progress,
289
+ .icon {
290
+ position: relative;
291
+ top: unset;
292
+ right: unset;
293
+ }
294
+
295
+ a {
296
+ align-items: center;
297
+ justify-content: center;
298
+ }
299
+
300
+ .label {
301
+ text-align: center;
302
+ }
303
+
304
+ .has-circular-progress .icon {
305
+ position: absolute;
306
+ top: 0.5rem;
307
+ right: 0.5rem;
308
+ --icon-max-size: 3rem;
309
+ }
310
+ }
@@ -0,0 +1,294 @@
1
+ import { h } from '@stencil/core';
2
+ /**
3
+ * This component can be used on places such as a start page or a dashboard.
4
+ * It offers features for visualizing aggregated data along with supplementary
5
+ * information.
6
+ *
7
+ * If clicking on the component should navigate the user to
8
+ * a new screen or web page, you need to provide a URL,
9
+ * using the `link` property.
10
+ *
11
+ * @exampleComponent limel-example-info-tile
12
+ * @exampleComponent limel-example-info-tile-badge
13
+ * @exampleComponent limel-example-info-tile-progress
14
+ * @exampleComponent limel-example-info-tile-loading
15
+ * @exampleComponent limel-example-info-tile-styling
16
+ */
17
+ export class InfoTile {
18
+ constructor() {
19
+ this.renderPrefix = () => {
20
+ if (this.prefix) {
21
+ return h("span", { class: "prefix" }, this.prefix);
22
+ }
23
+ };
24
+ this.renderValue = () => {
25
+ const characterCount = this.value.toString().length;
26
+ if (this.value) {
27
+ return (h("span", { class: {
28
+ value: true,
29
+ [`ch-${characterCount}`]: true,
30
+ } }, this.value));
31
+ }
32
+ };
33
+ this.renderSuffix = () => {
34
+ if (this.suffix) {
35
+ return h("span", { class: "suffix" }, this.suffix);
36
+ }
37
+ };
38
+ this.renderIcon = () => {
39
+ if (this.icon) {
40
+ return h("limel-icon", { class: "icon", name: this.icon });
41
+ }
42
+ };
43
+ this.renderProgress = () => {
44
+ var _a, _b;
45
+ if (((_a = this.progress) === null || _a === void 0 ? void 0 : _a.value) || ((_b = this.progress) === null || _b === void 0 ? void 0 : _b.value) === 0) {
46
+ return (h("limel-circular-progress", { class: "progress", prefix: this.progress.prefix, value: this.progress.value, suffix: this.progress.suffix, maxValue: this.progress.maxValue, displayPercentageColors: this.progress.displayPercentageColors }));
47
+ }
48
+ };
49
+ this.renderLabel = () => {
50
+ if (this.label) {
51
+ return h("span", { class: "label" }, this.label);
52
+ }
53
+ };
54
+ this.renderNotification = () => {
55
+ if (this.badge) {
56
+ return h("limel-badge", { label: this.badge });
57
+ }
58
+ };
59
+ this.renderSpinner = () => {
60
+ if (this.loading) {
61
+ return h("limel-linear-progress", { indeterminate: true });
62
+ }
63
+ };
64
+ this.value = undefined;
65
+ this.icon = undefined;
66
+ this.label = null;
67
+ this.prefix = undefined;
68
+ this.suffix = undefined;
69
+ this.disabled = false;
70
+ this.badge = undefined;
71
+ this.loading = false;
72
+ this.link = undefined;
73
+ this.progress = undefined;
74
+ }
75
+ render() {
76
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
77
+ const extendedAriaLabel = this.checkProps(this === null || this === void 0 ? void 0 : this.prefix) +
78
+ this.value +
79
+ ' ' +
80
+ this.checkProps(this === null || this === void 0 ? void 0 : this.suffix) +
81
+ this.checkProps(this === null || this === void 0 ? void 0 : this.label) +
82
+ '. ' +
83
+ this.checkProps((_a = this === null || this === void 0 ? void 0 : this.progress) === null || _a === void 0 ? void 0 : _a.prefix) +
84
+ this.checkProps((_b = this === null || this === void 0 ? void 0 : this.progress) === null || _b === void 0 ? void 0 : _b.value) +
85
+ this.checkProps((_c = this === null || this === void 0 ? void 0 : this.progress) === null || _c === void 0 ? void 0 : _c.suffix) +
86
+ this.checkProps((_d = this === null || this === void 0 ? void 0 : this.link) === null || _d === void 0 ? void 0 : _d.title);
87
+ const link = !this.disabled ? (_e = this.link) === null || _e === void 0 ? void 0 : _e.href : '#';
88
+ return [
89
+ h("a", { title: (_f = this.link) === null || _f === void 0 ? void 0 : _f.title, href: link, target: (_g = this.link) === null || _g === void 0 ? void 0 : _g.target, tabindex: "0", "aria-label": extendedAriaLabel, "aria-disabled": this.disabled, class: {
90
+ 'is-clickable': !!((_h = this.link) === null || _h === void 0 ? void 0 : _h.href) && !this.disabled,
91
+ 'has-circular-progress': !!((_j = this.progress) === null || _j === void 0 ? void 0 : _j.value) || ((_k = this.progress) === null || _k === void 0 ? void 0 : _k.value) === 0,
92
+ } }, this.renderIcon(), this.renderProgress(), h("div", { class: "value-group" }, this.renderPrefix(), h("div", { class: "value-and-suffix" }, this.renderValue(), this.renderSuffix()), this.renderSpinner()), this.renderLabel()),
93
+ this.renderNotification(),
94
+ ];
95
+ }
96
+ checkProps(propValue) {
97
+ return !propValue ? '' : propValue + ' ';
98
+ }
99
+ static get is() { return "limel-info-tile"; }
100
+ static get encapsulation() { return "shadow"; }
101
+ static get originalStyleUrls() {
102
+ return {
103
+ "$": ["info-tile.scss"]
104
+ };
105
+ }
106
+ static get styleUrls() {
107
+ return {
108
+ "$": ["info-tile.css"]
109
+ };
110
+ }
111
+ static get properties() {
112
+ return {
113
+ "value": {
114
+ "type": "any",
115
+ "mutable": false,
116
+ "complexType": {
117
+ "original": "number | string",
118
+ "resolved": "number | string",
119
+ "references": {}
120
+ },
121
+ "required": false,
122
+ "optional": false,
123
+ "docs": {
124
+ "tags": [],
125
+ "text": "A piece of text or number that is the main piece of information\nwhich the component is intended to visualize."
126
+ },
127
+ "attribute": "value",
128
+ "reflect": true
129
+ },
130
+ "icon": {
131
+ "type": "string",
132
+ "mutable": false,
133
+ "complexType": {
134
+ "original": "string",
135
+ "resolved": "string",
136
+ "references": {}
137
+ },
138
+ "required": false,
139
+ "optional": true,
140
+ "docs": {
141
+ "tags": [],
142
+ "text": "Name of icon for the info tile."
143
+ },
144
+ "attribute": "icon",
145
+ "reflect": false
146
+ },
147
+ "label": {
148
+ "type": "string",
149
+ "mutable": false,
150
+ "complexType": {
151
+ "original": "string",
152
+ "resolved": "string",
153
+ "references": {}
154
+ },
155
+ "required": false,
156
+ "optional": true,
157
+ "docs": {
158
+ "tags": [],
159
+ "text": "The text to show below the info tile. Long labels will be truncated."
160
+ },
161
+ "attribute": "label",
162
+ "reflect": true,
163
+ "defaultValue": "null"
164
+ },
165
+ "prefix": {
166
+ "type": "string",
167
+ "mutable": false,
168
+ "complexType": {
169
+ "original": "string",
170
+ "resolved": "string",
171
+ "references": {}
172
+ },
173
+ "required": false,
174
+ "optional": true,
175
+ "docs": {
176
+ "tags": [],
177
+ "text": "A string of text that is visually placed before the value."
178
+ },
179
+ "attribute": "prefix",
180
+ "reflect": true
181
+ },
182
+ "suffix": {
183
+ "type": "string",
184
+ "mutable": false,
185
+ "complexType": {
186
+ "original": "string",
187
+ "resolved": "string",
188
+ "references": {}
189
+ },
190
+ "required": false,
191
+ "optional": true,
192
+ "docs": {
193
+ "tags": [],
194
+ "text": "A string of text that is visually placed after the value."
195
+ },
196
+ "attribute": "suffix",
197
+ "reflect": true
198
+ },
199
+ "disabled": {
200
+ "type": "boolean",
201
+ "mutable": false,
202
+ "complexType": {
203
+ "original": "boolean",
204
+ "resolved": "boolean",
205
+ "references": {}
206
+ },
207
+ "required": false,
208
+ "optional": true,
209
+ "docs": {
210
+ "tags": [],
211
+ "text": "Set to `true` if info tile is disabled."
212
+ },
213
+ "attribute": "disabled",
214
+ "reflect": true,
215
+ "defaultValue": "false"
216
+ },
217
+ "badge": {
218
+ "type": "any",
219
+ "mutable": false,
220
+ "complexType": {
221
+ "original": "number | string",
222
+ "resolved": "number | string",
223
+ "references": {}
224
+ },
225
+ "required": false,
226
+ "optional": true,
227
+ "docs": {
228
+ "tags": [],
229
+ "text": "If supplied, the info tile will display a notification badge."
230
+ },
231
+ "attribute": "badge",
232
+ "reflect": true
233
+ },
234
+ "loading": {
235
+ "type": "boolean",
236
+ "mutable": false,
237
+ "complexType": {
238
+ "original": "boolean",
239
+ "resolved": "boolean",
240
+ "references": {}
241
+ },
242
+ "required": false,
243
+ "optional": true,
244
+ "docs": {
245
+ "tags": [],
246
+ "text": "Set to `true` to put the component in the `loading` state.\nThis does _not_ disable the link. To do so, the\n`disabled` property should be set to `true` as well."
247
+ },
248
+ "attribute": "loading",
249
+ "reflect": true,
250
+ "defaultValue": "false"
251
+ },
252
+ "link": {
253
+ "type": "unknown",
254
+ "mutable": false,
255
+ "complexType": {
256
+ "original": "Link",
257
+ "resolved": "Link",
258
+ "references": {
259
+ "Link": {
260
+ "location": "import",
261
+ "path": "@limetech/lime-elements"
262
+ }
263
+ }
264
+ },
265
+ "required": false,
266
+ "optional": true,
267
+ "docs": {
268
+ "tags": [],
269
+ "text": "If supplied, the info tile will be a clickable link.\n\nSupplying a value also adds an elevated effect using a shadow,\nas well as `cursor: pointer`, which appears on hover.\nWhile we strongly recommend supplying a link whenever the\ncomponent should act as a link, if this is not possible, and\nyou need to provide interaction through a click handler,\nyou can still get the correct styling by supplying a `Link`\nobject with the `href` property set to `'#'`."
270
+ }
271
+ },
272
+ "progress": {
273
+ "type": "unknown",
274
+ "mutable": false,
275
+ "complexType": {
276
+ "original": "InfoTileProgress",
277
+ "resolved": "InfoTileProgress",
278
+ "references": {
279
+ "InfoTileProgress": {
280
+ "location": "import",
281
+ "path": "./info-tile.types"
282
+ }
283
+ }
284
+ },
285
+ "required": false,
286
+ "optional": true,
287
+ "docs": {
288
+ "tags": [],
289
+ "text": "Properties of the optional circular progress bar.\n\nDefaults:\n- `maxValue`: 100\n- `suffix`: %\n- `percentageColors`: false\n\nColors change with intervals of 10 %."
290
+ }
291
+ }
292
+ };
293
+ }
294
+ }
@@ -2167,6 +2167,9 @@
2167
2167
  color: transparent;
2168
2168
  -webkit-text-fill-color: transparent;
2169
2169
  }
2170
+ :not(.mdc-text-field--focused):not(.mdc-text-field--invalid).lime-text-field--readonly .mdc-text-field__input[type=number] {
2171
+ visibility: hidden;
2172
+ }
2170
2173
 
2171
2174
  .autocomplete-list-container {
2172
2175
  position: relative;