@oicl/openbridge-webcomponents 2.0.0-next.77 → 2.0.0-next.78

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.
@@ -51296,6 +51296,10 @@ const compentStyle$14 = i$7`
51296
51296
  box-sizing: border-box;
51297
51297
  }
51298
51298
 
51299
+ :host {
51300
+ overflow: hidden;
51301
+ }
51302
+
51299
51303
  .label {
51300
51304
  font-family: var(--global-typography-font-family);
51301
51305
  font-weight: var(--global-typography-ui-body-font-weight);
@@ -219131,10 +219135,36 @@ const compentStyle$7 = i$7`
219131
219135
  .chart-container {
219132
219136
  width: 100%;
219133
219137
  height: 100%;
219138
+ box-sizing: border-box;
219134
219139
  display: flex;
219135
219140
  align-items: center;
219136
219141
  justify-content: center;
219137
219142
  position: relative;
219143
+
219144
+ padding-bottom: 0.5px;
219145
+
219146
+ --dot-width: 6px;
219147
+ --dot-radius: calc(var(--dot-width) / 2);
219148
+ }
219149
+
219150
+ .chart-container.medium {
219151
+ --dot-width: 8px;
219152
+ }
219153
+
219154
+ .chart-container.large {
219155
+ --dot-width: 10px;
219156
+ }
219157
+
219158
+ .u-over {
219159
+ position: absolute;
219160
+ }
219161
+
219162
+ #chart {
219163
+ position: absolute;
219164
+ width: calc(100% - var(--dot-radius));
219165
+ left: 0;
219166
+ top: var(--dot-radius);
219167
+ bottom: var(--dot-radius);
219138
219168
  }
219139
219169
 
219140
219170
  canvas {
@@ -219146,11 +219176,12 @@ canvas {
219146
219176
  }
219147
219177
 
219148
219178
  #dot {
219179
+ box-sizing: border-box;
219149
219180
  position: absolute;
219150
- width: 4px;
219151
- height: 4px;
219152
- right: -3px;
219153
- bottom: -3px;
219181
+ width: var(--dot-width);
219182
+ height: var(--dot-width);
219183
+ right: 0;
219184
+ bottom: 0;
219154
219185
  border-radius: 50%;
219155
219186
  background: var(--element-neutral-color);
219156
219187
  border: 1px solid var(--border-silhouette-color);
@@ -219161,25 +219192,12 @@ canvas {
219161
219192
  background: var(--element-neutral-enhanced-color);
219162
219193
  }
219163
219194
 
219164
- .medium #dot {
219165
- width: 6px;
219166
- height: 6px;
219167
- right: -4px;
219168
- bottom: -4px;
219169
- }
219170
-
219171
- .large #dot {
219172
- width: 8px;
219173
- height: 8px;
219174
- right: -5px;
219175
- bottom: -5px;
219176
- }
219177
-
219178
219195
  #zero-line {
219179
219196
  position: absolute;
219180
- width: 100%;
219197
+ left: 0;
219198
+ right: var(--dot-radius);
219181
219199
  height: 1px;
219182
- bottom: -0.5px;
219200
+ bottom: calc(var(--dot-radius) - 0.5px);
219183
219201
  background: var(--element-disabled-color);
219184
219202
  border-radius: 2px;
219185
219203
  }
@@ -219335,6 +219353,7 @@ let ObcIndicatorGraph = class extends i$4 {
219335
219353
  <div
219336
219354
  class="chart-container ${this._effectivePriority} ${this._effectiveSize}"
219337
219355
  >
219356
+ <div id="chart"></div>
219338
219357
  <div
219339
219358
  id="zero-line"
219340
219359
  style="transform: translateY(${-(this.zeroLineY ?? 0)}px);
@@ -219359,7 +219378,7 @@ __decorateClass$p([
219359
219378
  n$3({ type: Object })
219360
219379
  ], ObcIndicatorGraph.prototype, "layout", 2);
219361
219380
  __decorateClass$p([
219362
- e$3(".chart-container")
219381
+ e$3("#chart")
219363
219382
  ], ObcIndicatorGraph.prototype, "chart", 2);
219364
219383
  __decorateClass$p([
219365
219384
  r$3()