@emuanalytics/flow-rdf-ui 4.0.6 → 4.0.8

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.
@@ -8,7 +8,7 @@ const styles = css`
8
8
  display: inline-block;
9
9
 
10
10
  --checkbox-color: var(--flow-ui-color-secondary-500);
11
- --checkbox-check-color: var(--flow-ui-color-neutral-0);
11
+ --checkbox-check-color: var(--flow-ui-color-secondary-contrast);
12
12
  --checkbox-hover-color: var(--flow-ui-color-secondary-400);
13
13
  }
14
14
 
@@ -36,6 +36,7 @@ class Ticker {
36
36
  }
37
37
  clearInterval(this.timer);
38
38
  this.timer = void 0;
39
+ this.notifySubscribers(this.currentDateTime, "major");
39
40
  }
40
41
  setZone(zone) {
41
42
  this.zone = zone;
@@ -36,6 +36,7 @@ class FlowUiTimer extends FlowRdfElement {
36
36
  this.majorStep = "1 minute";
37
37
  this.minorStep = "5 seconds";
38
38
  this.hideZone = false;
39
+ this.placement = "bottom-start";
39
40
  this.debouncedEmitChange = debounce(
40
41
  () => {
41
42
  this.emit("flow-ui-input");
@@ -159,7 +160,7 @@ class FlowUiTimer extends FlowRdfElement {
159
160
  >
160
161
  <flow-ui-dropdown
161
162
  class="timer__dropdown"
162
- placement="bottom-start"
163
+ placement=${this.placement}
163
164
  distance="4"
164
165
  strategy="fixed"
165
166
  flip
@@ -280,6 +281,9 @@ __decorateClass([
280
281
  __decorateClass([
281
282
  property({ type: Boolean, attribute: "hide-zone" })
282
283
  ], FlowUiTimer.prototype, "hideZone", 2);
284
+ __decorateClass([
285
+ property()
286
+ ], FlowUiTimer.prototype, "placement", 2);
283
287
  __decorateClass([
284
288
  watch(["value", "timezone", "locale"])
285
289
  ], FlowUiTimer.prototype, "updateDisplayValue", 1);
@@ -18,6 +18,7 @@ const styles = css`
18
18
  /* Balance top spacing with VCR button spacing */
19
19
  padding-top: var(--flow-ui-spacing-x-small);
20
20
  min-width: fit-content;
21
+ font-family: var(--flow-ui-input-font-family);
21
22
  }
22
23
 
23
24
  .timer__dropdown {