@esrf/daiquiri-lib 1.0.2 → 1.0.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esrf/daiquiri-lib",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "sideEffects": false,
5
5
  "files": [
6
6
  "dist",
@@ -35,7 +35,6 @@
35
35
  right: 0;
36
36
  width: 20px;
37
37
  height: calc(50% - 1px);
38
- padding: 0;
39
38
  border: none;
40
39
  margin: 0;
41
40
  background: #ced4da;
@@ -48,6 +47,7 @@
48
47
 
49
48
  &::before {
50
49
  display: block;
50
+ margin-left: -5px;
51
51
  font-family: FontAwesome;
52
52
  font-size: 0.8rem;
53
53
  line-height: 0.5rem;
@@ -71,7 +71,7 @@
71
71
  }
72
72
 
73
73
  .step-size {
74
- width: auto;
74
+ width: auto !important;
75
75
  height: auto;
76
76
  flex: 1;
77
77
  border: none;
@@ -87,6 +87,12 @@
87
87
  .step {
88
88
  width: 15px;
89
89
  height: calc(100% - 2px);
90
+ padding-right: 0;
91
+ padding-left: 0;
92
+
93
+ &::before {
94
+ margin-left: 0;
95
+ }
90
96
  }
91
97
 
92
98
  .step-up {
@@ -115,6 +121,10 @@
115
121
 
116
122
  .step {
117
123
  width: 40px;
124
+
125
+ &::before {
126
+ margin-left: 0;
127
+ }
118
128
  }
119
129
 
120
130
  &.numeric-step-horizontal {
@@ -140,6 +150,17 @@
140
150
  .step-down {
141
151
  border-bottom-right-radius: 0.25rem;
142
152
  }
153
+
154
+ &.numeric-step-horizontal {
155
+ .step-up {
156
+ border-bottom-right-radius: 0.25rem;
157
+ border-top-right-radius: 0.25rem;
158
+ }
159
+
160
+ .step-down {
161
+ border-bottom-right-radius: 0;
162
+ }
163
+ }
143
164
  }
144
165
 
145
166
  &:not(:last-child) {
@@ -52,4 +52,8 @@
52
52
  .table td {
53
53
  background: none;
54
54
  }
55
+
56
+ .table-info td {
57
+ background: var(--bs-table-bg);
58
+ }
55
59
  }
package/src/index.ts DELETED
@@ -1,66 +0,0 @@
1
- /* Hardware Objects */
2
- export { default as Frontend } from './hardware/Frontend';
3
- export { default as Info } from './hardware/Info';
4
- export { default as MotorDefault } from './hardware/MotorDefault';
5
- export { default as Multiposition } from './hardware/Multiposition';
6
- export { default as NoObject } from './hardware/NoObject';
7
- export { default as Property } from './hardware/Property';
8
- export { default as ShutterDefault } from './hardware/ShutterDefault';
9
-
10
- /* Hardware Object Options */
11
- // TODO: Namespace Options into HardwareOptions
12
- export type { MotorDefaultOptions } from './hardware/MotorDefault';
13
- export type { InfoOptions } from './hardware/Info';
14
-
15
- /* Helpers */
16
- export { default as TypeIcon } from './hardware/TypeIcon';
17
- export type { Props as TypeIconOptions } from './hardware/TypeIcon';
18
- export { default as HardwareTemplate } from './hardware/utils/HardwareTemplate';
19
- export { default as HardwareInputNumber } from './hardware/utils/HardwareInputNumber';
20
- export { default as HardwareNumericStep } from './hardware/utils/HardwareNumericStep';
21
- export * as HardwareState from './hardware/utils/State';
22
- export * as Formatting from './utils/formatting';
23
- export { default as HardwareVariant } from './hardware/HardwareVariant';
24
-
25
- /* Components */
26
- export { default as FullSizer } from './components/FullSizer';
27
- export { default as NumericStep } from './components/NumericStep';
28
- export { default as Panel } from './layout/Panel';
29
-
30
- /* Types */
31
- export * as HardwareTypes from './hardware/utils/types';
32
- export * as HardwareSchema from './hardware/utils/schema';
33
-
34
- /* Layout */
35
- export { default as YAMLLayout, yamlMap } from './yaml-layout/Main';
36
- export { default as YAMLErrorBoundary } from './yaml-layout/ErrorBoundary';
37
- export {
38
- renderYamlNode,
39
- registerYamlType,
40
- KeyError,
41
- MissingKeysError,
42
- } from './yaml-layout/utils';
43
- export type { YamlComponent, YamlNode } from './yaml-layout/model';
44
- export * as YamlAsserts from './yaml-layout/components/asserts';
45
- export {
46
- registerComponent as registerYamlComponent,
47
- registerComponents as registerYamlComponents,
48
- } from './yaml-layout/Component';
49
-
50
- /* HW Layout */
51
- export * as HWObject from './hardware/HardwareObject';
52
- export { registerHardwareComponent } from './yaml-layout/components/HardwareGroup';
53
-
54
- /* Monitor Panel */
55
- export {
56
- MonitorHardware,
57
- registerRuntimeHook,
58
- dynamicOp,
59
- } from './monitorpanel/MonitorHardware';
60
- export {
61
- registerMonitorComponent,
62
- MonitorPanel,
63
- MonitorPanelItem,
64
- } from './monitorpanel/MonitorPanel';
65
- export type { MonitorPanelProps } from './monitorpanel/MonitorPanel';
66
- export type { Monitor } from './monitorpanel/types';