@ind-ds/core 0.2.0 → 0.2.1

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 (188) hide show
  1. package/dist/cjs/ind-ds.cjs.js +1 -1
  2. package/dist/cjs/ind-valve-control-panel.cjs.entry.js +7 -1
  3. package/dist/cjs/ind-valve-control-panel.cjs.entry.js.map +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/collection/components/atoms/_equipment/equipment.css +0 -74
  6. package/dist/collection/components/atoms/alarm/alarm.css +0 -87
  7. package/dist/collection/components/atoms/alarm/alarm.js +0 -122
  8. package/dist/collection/components/atoms/alarm-count/alarm-count.css +0 -44
  9. package/dist/collection/components/atoms/alarm-count/alarm-count.js +0 -171
  10. package/dist/collection/components/atoms/badge/badge.css +0 -42
  11. package/dist/collection/components/atoms/badge/badge.js +0 -101
  12. package/dist/collection/components/atoms/breadcrumb-item/breadcrumb-item.css +0 -42
  13. package/dist/collection/components/atoms/breadcrumb-item/breadcrumb-item.js +0 -116
  14. package/dist/collection/components/atoms/button/button.css +0 -110
  15. package/dist/collection/components/atoms/button/button.js +0 -215
  16. package/dist/collection/components/atoms/canvas-layer/canvas-layer.css +0 -8
  17. package/dist/collection/components/atoms/canvas-layer/canvas-layer.js +0 -161
  18. package/dist/collection/components/atoms/checkbox/checkbox.css +0 -92
  19. package/dist/collection/components/atoms/checkbox/checkbox.js +0 -214
  20. package/dist/collection/components/atoms/compressor/compressor.css +0 -7
  21. package/dist/collection/components/atoms/compressor/compressor.js +0 -124
  22. package/dist/collection/components/atoms/connection-indicator/connection-indicator.css +0 -42
  23. package/dist/collection/components/atoms/connection-indicator/connection-indicator.js +0 -107
  24. package/dist/collection/components/atoms/conveyor/conveyor.css +0 -18
  25. package/dist/collection/components/atoms/conveyor/conveyor.js +0 -152
  26. package/dist/collection/components/atoms/cooler/cooler.css +0 -15
  27. package/dist/collection/components/atoms/cooler/cooler.js +0 -124
  28. package/dist/collection/components/atoms/counter/counter.css +0 -45
  29. package/dist/collection/components/atoms/counter/counter.js +0 -171
  30. package/dist/collection/components/atoms/datetime-picker/datetime-picker.css +0 -46
  31. package/dist/collection/components/atoms/datetime-picker/datetime-picker.js +0 -275
  32. package/dist/collection/components/atoms/dialog/dialog.css +0 -85
  33. package/dist/collection/components/atoms/dialog/dialog.js +0 -265
  34. package/dist/collection/components/atoms/divider/divider.css +0 -16
  35. package/dist/collection/components/atoms/divider/divider.js +0 -50
  36. package/dist/collection/components/atoms/estop/estop.css +0 -69
  37. package/dist/collection/components/atoms/estop/estop.js +0 -166
  38. package/dist/collection/components/atoms/fan/fan.css +0 -11
  39. package/dist/collection/components/atoms/fan/fan.js +0 -124
  40. package/dist/collection/components/atoms/gauge/gauge.css +0 -70
  41. package/dist/collection/components/atoms/gauge/gauge.js +0 -237
  42. package/dist/collection/components/atoms/heartbeat/heartbeat.css +0 -58
  43. package/dist/collection/components/atoms/heartbeat/heartbeat.js +0 -116
  44. package/dist/collection/components/atoms/heater/heater.css +0 -20
  45. package/dist/collection/components/atoms/heater/heater.js +0 -124
  46. package/dist/collection/components/atoms/icon/icon.css +0 -30
  47. package/dist/collection/components/atoms/icon/icon.js +0 -119
  48. package/dist/collection/components/atoms/input/input.css +0 -92
  49. package/dist/collection/components/atoms/knob/knob.css +0 -71
  50. package/dist/collection/components/atoms/label/label.css +0 -29
  51. package/dist/collection/components/atoms/led/led.css +0 -91
  52. package/dist/collection/components/atoms/linear-gauge/linear-gauge.css +0 -65
  53. package/dist/collection/components/atoms/motor/motor.css +0 -24
  54. package/dist/collection/components/atoms/pipe/pipe.css +0 -57
  55. package/dist/collection/components/atoms/process-symbol/process-symbol.css +0 -44
  56. package/dist/collection/components/atoms/progress/progress.css +0 -69
  57. package/dist/collection/components/atoms/progress-ring/progress-ring.css +0 -59
  58. package/dist/collection/components/atoms/pump/pump.css +0 -7
  59. package/dist/collection/components/atoms/scara-canvas/scara-canvas.css +0 -100
  60. package/dist/collection/components/atoms/select/select.css +0 -88
  61. package/dist/collection/components/atoms/selector-switch/selector-switch.css +0 -53
  62. package/dist/collection/components/atoms/setpoint/setpoint.css +0 -79
  63. package/dist/collection/components/atoms/shelf-canvas/shelf-canvas.css +0 -67
  64. package/dist/collection/components/atoms/signal-quality/signal-quality.css +0 -41
  65. package/dist/collection/components/atoms/silo/silo.css +0 -12
  66. package/dist/collection/components/atoms/slider/slider.css +0 -87
  67. package/dist/collection/components/atoms/sparkline/sparkline.css +0 -37
  68. package/dist/collection/components/atoms/status-dot/status-dot.css +0 -69
  69. package/dist/collection/components/atoms/tab/tab.css +0 -39
  70. package/dist/collection/components/atoms/tag-name/tag-name.css +0 -25
  71. package/dist/collection/components/atoms/tank/tank.css +0 -12
  72. package/dist/collection/components/atoms/textarea/textarea.css +0 -74
  73. package/dist/collection/components/atoms/timestamp/timestamp.css +0 -15
  74. package/dist/collection/components/atoms/toggle/toggle.css +0 -78
  75. package/dist/collection/components/atoms/tree-node/tree-node.css +0 -65
  76. package/dist/collection/components/atoms/unit-label/unit-label.css +0 -16
  77. package/dist/collection/components/atoms/value/value.css +0 -115
  78. package/dist/collection/components/atoms/valve/valve.css +0 -101
  79. package/dist/collection/components/atoms/xy-point/xy-point.css +0 -49
  80. package/dist/collection/components/molecules/_shared/binding.css +0 -41
  81. package/dist/collection/components/molecules/_shared/card.css +0 -51
  82. package/dist/collection/components/molecules/_shared/equipment-card.css +0 -20
  83. package/dist/collection/components/molecules/_shared/row.css +0 -34
  84. package/dist/collection/components/molecules/alarm-badge-group/alarm-badge-group.css +0 -43
  85. package/dist/collection/components/molecules/alarm-badge-group/alarm-badge-group.js +0 -168
  86. package/dist/collection/components/molecules/alarm-row/alarm-row.css +0 -42
  87. package/dist/collection/components/molecules/alarm-row/alarm-row.js +0 -166
  88. package/dist/collection/components/molecules/audit-row/audit-row.css +0 -19
  89. package/dist/collection/components/molecules/audit-row/audit-row.js +0 -111
  90. package/dist/collection/components/molecules/batch-parameter-row/batch-parameter-row.css +0 -35
  91. package/dist/collection/components/molecules/batch-parameter-row/batch-parameter-row.js +0 -304
  92. package/dist/collection/components/molecules/command-group/command-group.css +0 -26
  93. package/dist/collection/components/molecules/command-group/command-group.js +0 -99
  94. package/dist/collection/components/molecules/device-connection-card/device-connection-card.css +0 -19
  95. package/dist/collection/components/molecules/device-connection-card/device-connection-card.js +0 -140
  96. package/dist/collection/components/molecules/device-info-card/device-info-card.css +0 -27
  97. package/dist/collection/components/molecules/device-info-card/device-info-card.js +0 -194
  98. package/dist/collection/components/molecules/energy-card/energy-card.css +0 -12
  99. package/dist/collection/components/molecules/energy-card/energy-card.js +0 -206
  100. package/dist/collection/components/molecules/equipment-status-card/equipment-status-card.css +0 -29
  101. package/dist/collection/components/molecules/equipment-status-card/equipment-status-card.js +0 -150
  102. package/dist/collection/components/molecules/event-row/event-row.css +0 -3
  103. package/dist/collection/components/molecules/event-row/event-row.js +0 -118
  104. package/dist/collection/components/molecules/fill-row/fill-row.css +0 -70
  105. package/dist/collection/components/molecules/fill-row/fill-row.js +0 -181
  106. package/dist/collection/components/molecules/health-card/health-card.css +0 -53
  107. package/dist/collection/components/molecules/health-card/health-card.js +0 -124
  108. package/dist/collection/components/molecules/historical-value-row/historical-value-row.css +0 -28
  109. package/dist/collection/components/molecules/historical-value-row/historical-value-row.js +0 -153
  110. package/dist/collection/components/molecules/kpi-card/kpi-card.css +0 -31
  111. package/dist/collection/components/molecules/mode-selector/mode-selector.css +0 -4
  112. package/dist/collection/components/molecules/motor-card/motor-card.css +0 -3
  113. package/dist/collection/components/molecules/mqtt-tag-binding/mqtt-tag-binding.css +0 -3
  114. package/dist/collection/components/molecules/nav-item/nav-item.css +0 -82
  115. package/dist/collection/components/molecules/network-status-card/network-status-card.css +0 -31
  116. package/dist/collection/components/molecules/opcua-tag-binding/opcua-tag-binding.css +0 -7
  117. package/dist/collection/components/molecules/pump-card/pump-card.css +0 -3
  118. package/dist/collection/components/molecules/recipe-selector/recipe-selector.css +0 -13
  119. package/dist/collection/components/molecules/setpoint-control/setpoint-control.css +0 -3
  120. package/dist/collection/components/molecules/sidebar-group/sidebar-group.css +0 -61
  121. package/dist/collection/components/molecules/speed-control/speed-control.css +0 -7
  122. package/dist/collection/components/molecules/start-stop-control/start-stop-control.css +0 -24
  123. package/dist/collection/components/molecules/tag-card/tag-card.css +0 -7
  124. package/dist/collection/components/molecules/tank-level-card/tank-level-card.css +0 -7
  125. package/dist/collection/components/molecules/temperature-control/temperature-control.css +0 -15
  126. package/dist/collection/components/molecules/toolbar-action/toolbar-action.css +0 -36
  127. package/dist/collection/components/molecules/trend-widget/trend-widget.css +0 -15
  128. package/dist/collection/components/molecules/valve-card/valve-card.css +0 -13
  129. package/dist/collection/components/organisms/_shared/control-panel.css +0 -15
  130. package/dist/collection/components/organisms/_shared/panel.css +0 -96
  131. package/dist/collection/components/organisms/alarm-panel/alarm-panel.css +0 -7
  132. package/dist/collection/components/organisms/alarm-panel/alarm-panel.js +0 -152
  133. package/dist/collection/components/organisms/alarm-summary/alarm-summary.css +0 -30
  134. package/dist/collection/components/organisms/alarm-summary/alarm-summary.js +0 -158
  135. package/dist/collection/components/organisms/app-header/app-header.css +0 -127
  136. package/dist/collection/components/organisms/app-header/app-header.js +0 -256
  137. package/dist/collection/components/organisms/asset-overview/asset-overview.css +0 -34
  138. package/dist/collection/components/organisms/asset-overview/asset-overview.js +0 -82
  139. package/dist/collection/components/organisms/batch-control-panel/batch-control-panel.css +0 -45
  140. package/dist/collection/components/organisms/batch-control-panel/batch-control-panel.js +0 -226
  141. package/dist/collection/components/organisms/command-center/command-center.css +0 -7
  142. package/dist/collection/components/organisms/command-center/command-center.js +0 -70
  143. package/dist/collection/components/organisms/context-toolbar/context-toolbar.css +0 -48
  144. package/dist/collection/components/organisms/context-toolbar/context-toolbar.js +0 -70
  145. package/dist/collection/components/organisms/device-diagnostics-panel/device-diagnostics-panel.css +0 -43
  146. package/dist/collection/components/organisms/device-diagnostics-panel/device-diagnostics-panel.js +0 -222
  147. package/dist/collection/components/organisms/energy-dashboard/energy-dashboard.css +0 -29
  148. package/dist/collection/components/organisms/energy-dashboard/energy-dashboard.js +0 -134
  149. package/dist/collection/components/organisms/equipment-dashboard/equipment-dashboard.css +0 -3
  150. package/dist/collection/components/organisms/equipment-dashboard/equipment-dashboard.js +0 -71
  151. package/dist/collection/components/organisms/event-journal/event-journal.css +0 -17
  152. package/dist/collection/components/organisms/event-journal/event-journal.js +0 -107
  153. package/dist/collection/components/organisms/firmware-update-panel/firmware-update-panel.css +0 -47
  154. package/dist/collection/components/organisms/firmware-update-panel/firmware-update-panel.js +0 -208
  155. package/dist/collection/components/organisms/historian-viewer/historian-viewer.css +0 -17
  156. package/dist/collection/components/organisms/historian-viewer/historian-viewer.js +0 -144
  157. package/dist/collection/components/organisms/machine-overview/machine-overview.css +0 -22
  158. package/dist/collection/components/organisms/maintenance-dashboard/maintenance-dashboard.css +0 -48
  159. package/dist/collection/components/organisms/motor-control-panel/motor-control-panel.css +0 -3
  160. package/dist/collection/components/organisms/mqtt-monitor/mqtt-monitor.css +0 -96
  161. package/dist/collection/components/organisms/oee-dashboard/oee-dashboard.css +0 -30
  162. package/dist/collection/components/organisms/process-control-panel/process-control-panel.css +0 -13
  163. package/dist/collection/components/organisms/production-cell/production-cell.css +0 -7
  164. package/dist/collection/components/organisms/production-dashboard/production-dashboard.css +0 -3
  165. package/dist/collection/components/organisms/production-line-overview/production-line-overview.css +0 -57
  166. package/dist/collection/components/organisms/pump-control-panel/pump-control-panel.css +0 -3
  167. package/dist/collection/components/organisms/recipe-management-panel/recipe-management-panel.css +0 -10
  168. package/dist/collection/components/organisms/sidebar-nav/sidebar-nav.css +0 -39
  169. package/dist/collection/components/organisms/status-bar/status-bar.css +0 -34
  170. package/dist/collection/components/organisms/trend-viewer/trend-viewer.css +0 -45
  171. package/dist/collection/components/organisms/valve-control-panel/valve-control-panel.css +0 -10
  172. package/dist/collection/components/organisms/valve-control-panel/valve-control-panel.js +67 -1
  173. package/dist/collection/components/organisms/valve-control-panel/valve-control-panel.js.map +1 -1
  174. package/dist/collection/components/organisms/workstation-monitor/workstation-monitor.css +0 -30
  175. package/dist/components/ind-valve-control-panel.js +1 -1
  176. package/dist/components/ind-valve-control-panel.js.map +1 -1
  177. package/dist/docs.json +88 -1
  178. package/dist/esm/ind-ds.js +1 -1
  179. package/dist/esm/ind-valve-control-panel.entry.js +7 -1
  180. package/dist/esm/ind-valve-control-panel.entry.js.map +1 -1
  181. package/dist/esm/loader.js +1 -1
  182. package/dist/ind-ds/ind-ds.esm.js +1 -1
  183. package/dist/ind-ds/{p-eac22c88.entry.js → p-69ac33af.entry.js} +2 -2
  184. package/dist/ind-ds/p-69ac33af.entry.js.map +1 -0
  185. package/dist/types/components/organisms/valve-control-panel/valve-control-panel.d.ts +6 -0
  186. package/dist/types/components.d.ts +33 -0
  187. package/package.json +2 -2
  188. package/dist/ind-ds/p-eac22c88.entry.js.map +0 -1
@@ -1,124 +0,0 @@
1
- import { h, Host } from "@stencil/core";
2
- export class IndHeater {
3
- /** Process state. `running` glows the element. */
4
- state = 'stopped';
5
- /** Visual size. */
6
- size = 'md';
7
- /** Equipment tag (e.g. "EH-601"). */
8
- tag;
9
- /** Human label. */
10
- label;
11
- render() {
12
- const name = this.label ?? this.tag ?? 'heater';
13
- return (h(Host, { key: 'd89d4fd8c92b5d580e9a042645f044ad1a1ee292', role: "img", "aria-label": `${name} — ${this.state}` }, h("svg", { key: '03cd61a0fdcd116f4efa913301a1f16797f3b755', class: "symbol", viewBox: "0 0 48 48", "aria-hidden": "true" }, h("circle", { key: '1eb5b9ac742fbc70a137f46a98b036cc74b1a820', class: "body", cx: "24", cy: "24", r: "16" }), h("path", { key: '4e5f078661433f278f0ec6ec7ba9648021b9c237', class: "coil", d: "M14 18 q5 -6 10 0 t10 0 M14 24 q5 -6 10 0 t10 0 M14 30 q5 -6 10 0 t10 0" })), (this.tag || this.label) && (h("div", { key: '9cb689e0d55fe6744948e0c9c3f9d456d6aed084', class: "caption" }, this.tag && h("span", { key: '31ff37c274b8c107ce29982c21c2200bf93d6257', class: "tag" }, this.tag), this.label && h("span", { key: '4fd695b74a6bf03a43a0dd6ee90bb6a167556cc0', class: "label" }, this.label)))));
14
- }
15
- static get is() { return "ind-heater"; }
16
- static get encapsulation() { return "shadow"; }
17
- static get originalStyleUrls() {
18
- return {
19
- "$": ["../_equipment/equipment.css", "heater.css"]
20
- };
21
- }
22
- static get styleUrls() {
23
- return {
24
- "$": ["../_equipment/equipment.css", "heater.css"]
25
- };
26
- }
27
- static get properties() {
28
- return {
29
- "state": {
30
- "type": "string",
31
- "mutable": false,
32
- "complexType": {
33
- "original": "EquipmentState",
34
- "resolved": "\"fault\" | \"maintenance\" | \"running\" | \"stopped\" | \"warning\"",
35
- "references": {
36
- "EquipmentState": {
37
- "location": "import",
38
- "path": "../_equipment/types",
39
- "id": "src/components/atoms/_equipment/types.ts::EquipmentState",
40
- "referenceLocation": "EquipmentState"
41
- }
42
- }
43
- },
44
- "required": false,
45
- "optional": false,
46
- "docs": {
47
- "tags": [],
48
- "text": "Process state. `running` glows the element."
49
- },
50
- "getter": false,
51
- "setter": false,
52
- "reflect": true,
53
- "attribute": "state",
54
- "defaultValue": "'stopped'"
55
- },
56
- "size": {
57
- "type": "string",
58
- "mutable": false,
59
- "complexType": {
60
- "original": "EquipmentSize",
61
- "resolved": "\"lg\" | \"md\" | \"sm\"",
62
- "references": {
63
- "EquipmentSize": {
64
- "location": "import",
65
- "path": "../_equipment/types",
66
- "id": "src/components/atoms/_equipment/types.ts::EquipmentSize",
67
- "referenceLocation": "EquipmentSize"
68
- }
69
- }
70
- },
71
- "required": false,
72
- "optional": false,
73
- "docs": {
74
- "tags": [],
75
- "text": "Visual size."
76
- },
77
- "getter": false,
78
- "setter": false,
79
- "reflect": true,
80
- "attribute": "size",
81
- "defaultValue": "'md'"
82
- },
83
- "tag": {
84
- "type": "string",
85
- "mutable": false,
86
- "complexType": {
87
- "original": "string",
88
- "resolved": "string | undefined",
89
- "references": {}
90
- },
91
- "required": false,
92
- "optional": true,
93
- "docs": {
94
- "tags": [],
95
- "text": "Equipment tag (e.g. \"EH-601\")."
96
- },
97
- "getter": false,
98
- "setter": false,
99
- "reflect": false,
100
- "attribute": "tag"
101
- },
102
- "label": {
103
- "type": "string",
104
- "mutable": false,
105
- "complexType": {
106
- "original": "string",
107
- "resolved": "string | undefined",
108
- "references": {}
109
- },
110
- "required": false,
111
- "optional": true,
112
- "docs": {
113
- "tags": [],
114
- "text": "Human label."
115
- },
116
- "getter": false,
117
- "setter": false,
118
- "reflect": false,
119
- "attribute": "label"
120
- }
121
- };
122
- }
123
- }
124
- //# sourceMappingURL=heater.js.map
@@ -1,30 +0,0 @@
1
- :host {
2
- display: inline-flex;
3
- align-items: center;
4
- justify-content: center;
5
- color: currentColor;
6
- --_size: 16px;
7
- }
8
-
9
- :host([size="sm"]) { --_size: 12px; }
10
- :host([size="md"]) { --_size: 16px; }
11
- :host([size="lg"]) { --_size: 24px; }
12
-
13
- .icon {
14
- width: var(--_size);
15
- height: var(--_size);
16
- display: block;
17
- }
18
-
19
- .icon path {
20
- fill: none;
21
- stroke: currentColor;
22
- stroke-width: 1.75;
23
- stroke-linecap: round;
24
- stroke-linejoin: round;
25
- }
26
-
27
- ::slotted(svg) {
28
- width: var(--_size);
29
- height: var(--_size);
30
- }
@@ -1,119 +0,0 @@
1
- import { h, Host } from "@stencil/core";
2
- const PATHS = {
3
- alarm: 'M12 3a6 6 0 0 0-6 6v3l-2 3h16l-2-3V9a6 6 0 0 0-6-6zM10 19a2 2 0 0 0 4 0',
4
- bell: 'M12 3a6 6 0 0 0-6 6v3l-2 3h16l-2-3V9a6 6 0 0 0-6-6zM10 19a2 2 0 0 0 4 0',
5
- gear: 'M12 9a3 3 0 1 0 0 6 3 3 0 0 0 0-6zM4 12l-1.5-1 1-3 1.8.3a6.9 6.9 0 0 1 1.5-1.5L6.5 4l3-1L11 4.5a7 7 0 0 1 2 0L14.5 3l3 1-.3 1.8a7 7 0 0 1 1.5 1.5l1.8-.3 1 3-1.5 1a7 7 0 0 1 0 2l1.5 1-1 3-1.8-.3a7 7 0 0 1-1.5 1.5l.3 1.8-3 1-1.5-1.5a7 7 0 0 1-2 0L9.5 21l-3-1 .3-1.8A6.9 6.9 0 0 1 5.3 16.7L3.5 17l-1-3 1.5-1a7 7 0 0 1 0-2z',
6
- home: 'M3 11l9-8 9 8M5 10v10h5v-6h4v6h5V10',
7
- 'chevron-right': 'M9 5l7 7-7 7',
8
- 'chevron-down': 'M5 9l7 7 7-7',
9
- check: 'M4 12l5 5 11-11',
10
- close: 'M5 5l14 14M19 5L5 19',
11
- warning: 'M12 3l10 18H2L12 3zM12 9v5M12 17.5v.5',
12
- info: 'M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18zM12 11v6M12 7.5v.5',
13
- power: 'M12 3v9M7 6a8 8 0 1 0 10 0',
14
- refresh: 'M4 12a8 8 0 0 1 14-5l2 2M20 12a8 8 0 0 1-14 5l-2-2M18 3v4h-4M6 21v-4h4',
15
- play: 'M7 4l13 8-13 8z',
16
- pause: 'M8 4v16M16 4v16',
17
- stop: 'M5 5h14v14H5z',
18
- wrench: 'M21 5a4 4 0 0 1-5 5L7 19l-3-3 9-9a4 4 0 0 1 5-5l-3 3 1 1 3-3z',
19
- };
20
- export class IndIcon {
21
- /** Built-in icon name. Omit and use the default slot to pass a custom SVG. */
22
- name;
23
- /** Size. */
24
- size = 'md';
25
- /** Accessible label. When omitted the icon is decorative (aria-hidden). */
26
- label;
27
- render() {
28
- const decorative = !this.label;
29
- const d = this.name ? PATHS[this.name] : undefined;
30
- return (h(Host, { key: '09bb726a67eb425c8bd200ac5371da86bab85b63', role: decorative ? 'presentation' : 'img', "aria-label": this.label, "aria-hidden": decorative ? 'true' : undefined }, d ? (h("svg", { class: "icon", part: "icon", viewBox: "0 0 24 24", "aria-hidden": "true" }, h("path", { d: d }))) : (h("slot", null))));
31
- }
32
- static get is() { return "ind-icon"; }
33
- static get encapsulation() { return "shadow"; }
34
- static get originalStyleUrls() {
35
- return {
36
- "$": ["icon.css"]
37
- };
38
- }
39
- static get styleUrls() {
40
- return {
41
- "$": ["icon.css"]
42
- };
43
- }
44
- static get properties() {
45
- return {
46
- "name": {
47
- "type": "string",
48
- "mutable": false,
49
- "complexType": {
50
- "original": "IconName",
51
- "resolved": "\"alarm\" | \"bell\" | \"check\" | \"chevron-down\" | \"chevron-right\" | \"close\" | \"gear\" | \"home\" | \"info\" | \"pause\" | \"play\" | \"power\" | \"refresh\" | \"stop\" | \"warning\" | \"wrench\" | undefined",
52
- "references": {
53
- "IconName": {
54
- "location": "local",
55
- "path": "/home/runner/work/ind-ds/ind-ds/packages/core/src/components/atoms/icon/icon.tsx",
56
- "id": "src/components/atoms/icon/icon.tsx::IconName"
57
- }
58
- }
59
- },
60
- "required": false,
61
- "optional": true,
62
- "docs": {
63
- "tags": [],
64
- "text": "Built-in icon name. Omit and use the default slot to pass a custom SVG."
65
- },
66
- "getter": false,
67
- "setter": false,
68
- "reflect": true,
69
- "attribute": "name"
70
- },
71
- "size": {
72
- "type": "string",
73
- "mutable": false,
74
- "complexType": {
75
- "original": "IconSize",
76
- "resolved": "\"lg\" | \"md\" | \"sm\"",
77
- "references": {
78
- "IconSize": {
79
- "location": "local",
80
- "path": "/home/runner/work/ind-ds/ind-ds/packages/core/src/components/atoms/icon/icon.tsx",
81
- "id": "src/components/atoms/icon/icon.tsx::IconSize"
82
- }
83
- }
84
- },
85
- "required": false,
86
- "optional": false,
87
- "docs": {
88
- "tags": [],
89
- "text": "Size."
90
- },
91
- "getter": false,
92
- "setter": false,
93
- "reflect": true,
94
- "attribute": "size",
95
- "defaultValue": "'md'"
96
- },
97
- "label": {
98
- "type": "string",
99
- "mutable": false,
100
- "complexType": {
101
- "original": "string",
102
- "resolved": "string | undefined",
103
- "references": {}
104
- },
105
- "required": false,
106
- "optional": true,
107
- "docs": {
108
- "tags": [],
109
- "text": "Accessible label. When omitted the icon is decorative (aria-hidden)."
110
- },
111
- "getter": false,
112
- "setter": false,
113
- "reflect": false,
114
- "attribute": "label"
115
- }
116
- };
117
- }
118
- }
119
- //# sourceMappingURL=icon.js.map
@@ -1,92 +0,0 @@
1
- :host {
2
- display: inline-block;
3
- font-family: var(--ind-font-family-sans);
4
- color: var(--ind-surface-text-primary, light-dark(#11161c, #eef1f5));
5
- --_h: var(--ind-size-input-md, 32px);
6
- }
7
-
8
- :host([size="sm"]) { --_h: var(--ind-size-input-sm, 24px); }
9
- :host([size="md"]) { --_h: var(--ind-size-input-md, 32px); }
10
- :host([size="lg"]) { --_h: var(--ind-size-input-lg, 40px); }
11
-
12
- .wrap {
13
- display: inline-flex;
14
- flex-direction: column;
15
- gap: var(--ind-spacing-2, 4px);
16
- min-width: 160px;
17
- max-width: 100%;
18
- }
19
-
20
- .label {
21
- font-size: var(--ind-font-size-sm, 11px);
22
- font-weight: var(--ind-font-weight-medium, 500);
23
- color: var(--ind-surface-text-secondary, light-dark(#2a3340, #aab5c2));
24
- letter-spacing: 0.04em;
25
- text-transform: uppercase;
26
- }
27
-
28
- .field {
29
- display: inline-flex;
30
- align-items: center;
31
- gap: var(--ind-spacing-3, 6px);
32
- height: var(--_h);
33
- padding: 0 var(--ind-spacing-4, 8px);
34
- background: var(--ind-surface-sunken, light-dark(#ffffff, #000000));
35
- border: 1px solid var(--ind-surface-border-default, #2a3340);
36
- border-radius: var(--ind-radius-md, 3px);
37
- transition:
38
- border-color var(--ind-motion-duration-fast, 120ms),
39
- box-shadow var(--ind-motion-duration-fast, 120ms);
40
- }
41
-
42
- .field.is-focus {
43
- border-color: var(--ind-surface-focus-ring, #22d3ee);
44
- box-shadow: 0 0 0 2px color-mix(in srgb, var(--ind-surface-focus-ring, #22d3ee) 35%, transparent);
45
- }
46
-
47
- .input {
48
- flex: 1;
49
- min-width: 0;
50
- height: 100%;
51
- background: transparent;
52
- border: none;
53
- outline: none;
54
- padding: 0;
55
- font: inherit;
56
- color: inherit;
57
- font-feature-settings: var(--ind-font-feature-tabular, "tnum" 1);
58
- }
59
-
60
- .input::placeholder {
61
- color: var(--ind-surface-text-muted, light-dark(#5a6776, #8390a0));
62
- opacity: 1;
63
- }
64
-
65
- :host([type="number"]) .input {
66
- font-family: var(--ind-font-family-mono);
67
- font-variant-numeric: tabular-nums;
68
- }
69
-
70
- :host([invalid]) .field {
71
- border-color: var(--ind-feedback-error-bg, #dc2626);
72
- }
73
- :host([invalid]) .field.is-focus {
74
- box-shadow: 0 0 0 2px color-mix(in srgb, var(--ind-feedback-error-bg, #dc2626) 40%, transparent);
75
- }
76
-
77
- :host([disabled]) {
78
- opacity: 0.55;
79
- pointer-events: none;
80
- }
81
-
82
- :host([readonly]) .field {
83
- background: var(--ind-surface-panel, light-dark(#f4f6f9, #11161c));
84
- }
85
-
86
- ::slotted([slot="prefix"]),
87
- ::slotted([slot="suffix"]) {
88
- color: var(--ind-surface-text-muted, light-dark(#5a6776, #8390a0));
89
- font-size: var(--ind-font-size-sm, 11px);
90
- font-family: var(--ind-font-family-mono);
91
- white-space: nowrap;
92
- }
@@ -1,71 +0,0 @@
1
- :host {
2
- display: inline-flex;
3
- flex-direction: column;
4
- align-items: center;
5
- gap: var(--ind-spacing-2, 4px);
6
- font-family: var(--ind-font-family-sans, system-ui, sans-serif);
7
- color: var(--ind-surface-text-primary, light-dark(#11161c, #eef1f5));
8
- --_size: 44px;
9
- }
10
-
11
- :host([size="sm"]) { --_size: 32px; }
12
- :host([size="lg"]) { --_size: 64px; }
13
-
14
- .knob {
15
- width: var(--_size);
16
- height: var(--_size);
17
- border-radius: 50%;
18
- background:
19
- radial-gradient(circle at 50% 35%, #3a434f, #1b222c 75%);
20
- border: 1px solid var(--ind-surface-border-strong, #5a6776);
21
- box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.08), 0 2px 4px rgba(0, 0, 0, 0.5);
22
- cursor: ns-resize;
23
- touch-action: none;
24
- position: relative;
25
- }
26
-
27
- :host([disabled]) .knob { cursor: not-allowed; opacity: 0.5; }
28
-
29
- .knob:focus-visible {
30
- outline: 2px solid var(--ind-surface-focus-ring, #67e8f9);
31
- outline-offset: 3px;
32
- }
33
-
34
- .dial {
35
- position: absolute;
36
- inset: 0;
37
- transition: transform var(--ind-motion-duration-fast, 120ms) ease;
38
- }
39
-
40
- .pointer {
41
- position: absolute;
42
- top: 8%;
43
- left: 50%;
44
- width: 2px;
45
- height: 32%;
46
- transform: translateX(-50%);
47
- background: var(--ind-button-primary-bg, #60a5fa);
48
- border-radius: 1px;
49
- }
50
-
51
- .caption {
52
- display: flex;
53
- flex-direction: column;
54
- align-items: center;
55
- line-height: var(--ind-font-line-height-tight, 1.1);
56
- }
57
-
58
- .label {
59
- font-size: var(--ind-font-size-xs, 10px);
60
- color: var(--ind-surface-text-secondary, light-dark(#2a3340, #aab5c2));
61
- }
62
-
63
- .value {
64
- font-family: var(--ind-font-family-mono, ui-monospace, monospace);
65
- font-weight: var(--ind-font-weight-semibold, 600);
66
- font-feature-settings: var(--ind-font-feature-tabular, "tnum" 1);
67
- }
68
-
69
- @media (prefers-reduced-motion: reduce) {
70
- .dial { transition: none; }
71
- }
@@ -1,29 +0,0 @@
1
- :host {
2
- display: inline;
3
- font-family: var(--ind-font-family-sans, system-ui, sans-serif);
4
- --_color: var(--ind-surface-text-secondary, light-dark(#2a3340, #aab5c2));
5
- --_size: var(--ind-font-size-base, 12px);
6
- }
7
-
8
- :host([size="sm"]) { --_size: var(--ind-font-size-sm, 11px); }
9
- :host([size="md"]) { --_size: var(--ind-font-size-base, 12px); }
10
- :host([size="lg"]) { --_size: var(--ind-font-size-lg, 14px); }
11
-
12
- :host([tone="primary"]) { --_color: var(--ind-surface-text-primary, light-dark(#11161c, #eef1f5)); }
13
- :host([tone="secondary"]) { --_color: var(--ind-surface-text-secondary, light-dark(#2a3340, #aab5c2)); }
14
- :host([tone="muted"]) { --_color: var(--ind-surface-text-muted, #7a8694); }
15
-
16
- .text {
17
- color: var(--_color);
18
- font-size: var(--_size);
19
- font-weight: var(--ind-font-weight-medium, 500);
20
- line-height: var(--ind-font-line-height-tight, 1.1);
21
- }
22
-
23
- :host([uppercase]) .text {
24
- text-transform: uppercase;
25
- letter-spacing: 0.04em;
26
- font-size: calc(var(--_size) - 1px);
27
- }
28
-
29
- .req { color: var(--ind-state-fault-bg, #dc2626); margin-left: 2px; }
@@ -1,91 +0,0 @@
1
- :host {
2
- display: inline-flex;
3
- align-items: center;
4
- gap: var(--ind-spacing-3, 6px);
5
- font-family: var(--ind-font-family-sans, system-ui, sans-serif);
6
- font-size: var(--ind-font-size-base, 12px);
7
- font-weight: var(--ind-font-weight-medium, 500);
8
- line-height: var(--ind-font-line-height-tight, 1.1);
9
- /* `light-dark()` makes the label readable even if the LED lands on a surface
10
- * whose theme doesn't match the loaded tokens (Storybook autodocs, embedded
11
- * widget on a third-party site, etc.). */
12
- color: var(--ind-surface-text-primary, light-dark(#11161c, #eef1f5));
13
- font-feature-settings: var(--ind-font-feature-tabular, "tnum" 1);
14
- }
15
-
16
- .led {
17
- --_size: var(--ind-led-size, 12px);
18
- --_bg: var(--ind-state-stopped-bg, #5a6776);
19
- --_border: var(--ind-state-stopped-border, #8390a0);
20
- --_glow: var(--ind-state-stopped-glow, rgba(131, 144, 160, 0.35));
21
-
22
- display: inline-block;
23
- width: var(--_size);
24
- height: var(--_size);
25
- border-radius: 50%;
26
- background: radial-gradient(
27
- circle at 30% 30%,
28
- color-mix(in srgb, var(--_bg) 65%, white),
29
- var(--_bg) 70%
30
- );
31
- border: 1px solid var(--_border);
32
- box-shadow:
33
- 0 0 0 1px color-mix(in srgb, var(--_bg) 25%, transparent),
34
- 0 0 8px var(--_glow),
35
- inset 0 1px 2px rgba(0, 0, 0, 0.45);
36
- transition: background-color var(--ind-motion-duration-base, 200ms) var(--ind-motion-easing-standard, ease);
37
- }
38
-
39
- :host([size="sm"]) .led { --_size: 8px; }
40
- :host([size="md"]) .led { --_size: 12px; }
41
- :host([size="lg"]) .led { --_size: 18px; }
42
-
43
- /* Each state ships hard-coded fallbacks so the component stays visible even
44
- * if tokens fail to load (build-order glitch, sandbox without CSS imports).
45
- */
46
- :host([state="running"]) .led {
47
- --_bg: var(--ind-state-running-bg, #16a34a);
48
- --_border: var(--ind-state-running-border, #4ade80);
49
- --_glow: var(--ind-state-running-glow, rgba(34, 197, 94, 0.6));
50
- }
51
- :host([state="stopped"]) .led {
52
- --_bg: var(--ind-state-stopped-bg, #5a6776);
53
- --_border: var(--ind-state-stopped-border, #8390a0);
54
- --_glow: var(--ind-state-stopped-glow, rgba(131, 144, 160, 0.35));
55
- }
56
- :host([state="fault"]) .led {
57
- --_bg: var(--ind-state-fault-bg, #dc2626);
58
- --_border: var(--ind-state-fault-border, #f87171);
59
- --_glow: var(--ind-state-fault-glow, rgba(220, 38, 38, 0.7));
60
- }
61
- :host([state="warning"]) .led {
62
- --_bg: var(--ind-state-warning-bg, #f59e0b);
63
- --_border: var(--ind-state-warning-border, #fcd34d);
64
- --_glow: var(--ind-state-warning-glow, rgba(245, 158, 11, 0.6));
65
- }
66
- :host([state="maintenance"]) .led {
67
- --_bg: var(--ind-state-maintenance-bg, #2563eb);
68
- --_border: var(--ind-state-maintenance-border, #60a5fa);
69
- --_glow: var(--ind-state-maintenance-glow, rgba(37, 99, 235, 0.6));
70
- }
71
-
72
- :host([blinking]) .led {
73
- animation: ind-led-blink var(--ind-motion-blink-fast, 400ms) steps(2, end) infinite;
74
- }
75
- :host([blinking][state="fault"]) .led {
76
- animation-duration: var(--ind-motion-blink-urgent, 200ms);
77
- }
78
-
79
- @keyframes ind-led-blink {
80
- 50% { opacity: 0.2; box-shadow: none; }
81
- }
82
-
83
- @media (prefers-reduced-motion: reduce) {
84
- :host([blinking]) .led {
85
- animation: none;
86
- opacity: 1;
87
- /* Substitute: a solid outline ring so the alarm condition is still visible without motion. */
88
- outline: 2px solid var(--_border);
89
- outline-offset: 2px;
90
- }
91
- }
@@ -1,65 +0,0 @@
1
- :host {
2
- display: inline-block;
3
- font-family: var(--ind-font-family-sans, system-ui, sans-serif);
4
- color: var(--ind-surface-text-primary, light-dark(#11161c, #eef1f5));
5
- --_thick: 10px;
6
- --_len: 160px;
7
- }
8
-
9
- :host([size="sm"]) { --_thick: 6px; }
10
- :host([size="lg"]) { --_thick: 14px; }
11
-
12
- .header {
13
- display: flex;
14
- justify-content: space-between;
15
- align-items: baseline;
16
- gap: var(--ind-spacing-3, 6px);
17
- margin-bottom: var(--ind-spacing-2, 4px);
18
- font-size: var(--ind-font-size-base, 12px);
19
- }
20
-
21
- .label { color: var(--ind-surface-text-secondary, light-dark(#2a3340, #aab5c2)); }
22
-
23
- .value {
24
- font-family: var(--ind-font-family-mono, ui-monospace, monospace);
25
- font-weight: var(--ind-font-weight-semibold, 600);
26
- font-feature-settings: var(--ind-font-feature-tabular, "tnum" 1);
27
- }
28
-
29
- .track {
30
- position: relative;
31
- background: var(--ind-surface-sunken, light-dark(#fff, #000));
32
- border: 1px solid var(--ind-surface-border-default, #2a3340);
33
- border-radius: var(--ind-radius-sm, 2px);
34
- overflow: hidden;
35
- }
36
-
37
- :host([orientation="horizontal"]) .track { width: var(--_len); height: var(--_thick); }
38
- :host([orientation="vertical"]) .track { width: var(--_thick); height: var(--_len); }
39
-
40
- .zone {
41
- position: absolute;
42
- opacity: 0.4;
43
- }
44
- :host([orientation="horizontal"]) .zone { top: 0; bottom: 0; }
45
- :host([orientation="vertical"]) .zone { left: 0; right: 0; }
46
-
47
- .fill {
48
- position: absolute;
49
- background: var(--ind-button-primary-bg, #2563eb);
50
- transition: width var(--ind-motion-duration-base, 200ms) var(--ind-motion-easing-standard, ease),
51
- height var(--ind-motion-duration-base, 200ms) var(--ind-motion-easing-standard, ease);
52
- }
53
- :host([orientation="horizontal"]) .fill { left: 0; top: 0; bottom: 0; }
54
- :host([orientation="vertical"]) .fill { bottom: 0; left: 0; right: 0; }
55
-
56
- .setpoint {
57
- position: absolute;
58
- background: var(--ind-surface-text-primary, light-dark(#11161c, #eef1f5));
59
- }
60
- :host([orientation="horizontal"]) .setpoint { top: -2px; bottom: -2px; width: 2px; transform: translateX(-1px); }
61
- :host([orientation="vertical"]) .setpoint { left: -2px; right: -2px; height: 2px; transform: translateY(1px); }
62
-
63
- @media (prefers-reduced-motion: reduce) {
64
- .fill { transition: none; }
65
- }
@@ -1,24 +0,0 @@
1
- .glyph {
2
- fill: var(--_stroke);
3
- font-family: var(--ind-font-family-sans, system-ui, sans-serif);
4
- font-weight: var(--ind-font-weight-bold, 700);
5
- font-size: 14px;
6
- }
7
-
8
- .run-ring {
9
- fill: none;
10
- stroke: var(--_accent);
11
- stroke-width: 2;
12
- stroke-dasharray: 6 6;
13
- opacity: 0;
14
- transform-origin: 22px 24px;
15
- }
16
-
17
- :host([state="running"]) .run-ring {
18
- opacity: 1;
19
- animation: ind-motor-spin 3s linear infinite;
20
- }
21
-
22
- @keyframes ind-motor-spin {
23
- to { transform: rotate(360deg); }
24
- }