@oicl/openbridge-webcomponents 0.0.8 → 0.0.10

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 (86) hide show
  1. package/.release-it.json +12 -0
  2. package/.storybook/main.ts +17 -0
  3. package/.storybook/preview.ts +0 -1
  4. package/CHANGELOG.md +118 -41
  5. package/__snapshots__/application-topbar--inactive.png +0 -0
  6. package/__snapshots__/button-button--raised-disabled.png +0 -0
  7. package/__snapshots__/button-rich-button--with-graphic-info.png +0 -0
  8. package/__snapshots__/input-slider--no-icons.png +0 -0
  9. package/__snapshots__/input-slider--no-value.png +0 -0
  10. package/__snapshots__/line-corner-line--primary.png +0 -0
  11. package/__snapshots__/line-example--air.png +0 -0
  12. package/__snapshots__/line-example--connector.png +0 -0
  13. package/__snapshots__/line-example--electric.png +0 -0
  14. package/__snapshots__/line-example--fluid.png +0 -0
  15. package/__snapshots__/line-horizontal-line--primary.png +0 -0
  16. package/__snapshots__/line-vertical-line--complex.png +0 -0
  17. package/__snapshots__/line-vertical-line--primary.png +0 -0
  18. package/custom-elements.json +679 -297
  19. package/dist/automation/corner-line/corner-line.d.ts +22 -0
  20. package/dist/automation/corner-line/corner-line.d.ts.map +1 -0
  21. package/dist/automation/corner-line/corner-line.js +161 -0
  22. package/dist/automation/corner-line/corner-line.js.map +1 -0
  23. package/dist/automation/horizontal-line/horizontal-line.d.ts +15 -0
  24. package/dist/automation/horizontal-line/horizontal-line.d.ts.map +1 -0
  25. package/dist/automation/horizontal-line/horizontal-line.js +110 -0
  26. package/dist/automation/horizontal-line/horizontal-line.js.map +1 -0
  27. package/dist/automation/index.d.ts +20 -0
  28. package/dist/automation/index.d.ts.map +1 -0
  29. package/dist/automation/index.js +42 -0
  30. package/dist/automation/index.js.map +1 -0
  31. package/dist/automation/vertical-line/vertical-line.d.ts +15 -0
  32. package/dist/automation/vertical-line/vertical-line.d.ts.map +1 -0
  33. package/dist/automation/vertical-line/vertical-line.js +111 -0
  34. package/dist/automation/vertical-line/vertical-line.js.map +1 -0
  35. package/dist/components/brilliance-menu/brilliance-menu.d.ts.map +1 -1
  36. package/dist/components/brilliance-menu/brilliance-menu.js +2 -0
  37. package/dist/components/brilliance-menu/brilliance-menu.js.map +1 -1
  38. package/dist/components/button/button.css.js +2 -2
  39. package/dist/components/navigation-item/navigation-item.css.js +2 -1
  40. package/dist/components/navigation-item/navigation-item.css.js.map +1 -1
  41. package/dist/components/notification-button/notification-button.css.js +1 -1
  42. package/dist/components/rich-button/rich-button.css.js +20 -10
  43. package/dist/components/rich-button/rich-button.css.js.map +1 -1
  44. package/dist/components/rich-button/rich-button.d.ts +1 -0
  45. package/dist/components/rich-button/rich-button.d.ts.map +1 -1
  46. package/dist/components/rich-button/rich-button.js +5 -0
  47. package/dist/components/rich-button/rich-button.js.map +1 -1
  48. package/dist/components/slider/slider.css.js +20 -0
  49. package/dist/components/slider/slider.css.js.map +1 -1
  50. package/dist/components/slider/slider.d.ts +8 -0
  51. package/dist/components/slider/slider.d.ts.map +1 -1
  52. package/dist/components/slider/slider.js +44 -18
  53. package/dist/components/slider/slider.js.map +1 -1
  54. package/dist/components/top-bar/top-bar.css.js +5 -1
  55. package/dist/components/top-bar/top-bar.css.js.map +1 -1
  56. package/dist/components/top-bar/top-bar.d.ts.map +1 -1
  57. package/dist/components/top-bar/top-bar.js +8 -8
  58. package/dist/components/top-bar/top-bar.js.map +1 -1
  59. package/fix-generated.cjs +1 -0
  60. package/package.json +20 -26
  61. package/src/automation/corner-line/corner-line.stories.ts +31 -0
  62. package/src/automation/corner-line/corner-line.ts +167 -0
  63. package/src/automation/horizontal-line/horizontal-line.stories.ts +28 -0
  64. package/src/automation/horizontal-line/horizontal-line.ts +100 -0
  65. package/src/automation/index.ts +41 -0
  66. package/src/automation/line.stories.ts +142 -0
  67. package/src/automation/vertical-line/vertical-line.stories.ts +71 -0
  68. package/src/automation/vertical-line/vertical-line.ts +104 -0
  69. package/src/components/brilliance-menu/brilliance-menu.ts +2 -0
  70. package/src/components/rich-button/rich-button.css +15 -2
  71. package/src/components/rich-button/rich-button.stories.ts +36 -0
  72. package/src/components/rich-button/rich-button.ts +2 -0
  73. package/src/components/slider/slider.css +20 -0
  74. package/src/components/slider/slider.stories.ts +20 -1
  75. package/src/components/slider/slider.ts +43 -19
  76. package/src/components/top-bar/top-bar.css +4 -0
  77. package/src/components/top-bar/top-bar.ts +10 -8
  78. package/src/palettes/variables.css +64 -43
  79. package/.yarnrc.yml +0 -1
  80. package/script/svg-instruments/convert-svg.ts +0 -246
  81. package/script/svg-instruments/environment.d.ts +0 -7
  82. package/script/svg-instruments/exports.ts +0 -82
  83. package/script/svg-instruments/figma-types.ts +0 -804
  84. package/script/svg-instruments/figmaImport.ts +0 -79
  85. package/script/svg-instruments/main.ts +0 -109
  86. package/test.svg +0 -3
@@ -4,6 +4,9 @@
4
4
 
5
5
  .wrapper {
6
6
  position: relative;
7
+ }
8
+
9
+ .wrapper:not(.info) {
7
10
  background-color: var(--container-background-color);
8
11
  box-shadow: var(--shadow-flat);
9
12
  overflow: hidden;
@@ -22,12 +25,16 @@
22
25
  button {
23
26
  width: 100%;
24
27
  appearance: none;
25
- @mixin style style=flat;
26
- border-width: 0 !important;
27
28
  display: flex;
28
29
  flex-direction: column;
29
30
  text-align: left;
30
31
  padding: 0;
32
+ border-width: 0 !important;
33
+ background-color: transparent;
34
+ }
35
+
36
+ .wrapper:not(.info) button {
37
+ @mixin style style=flat;
31
38
  }
32
39
 
33
40
  .top.border button, .center.border button {
@@ -116,3 +123,9 @@ button {
116
123
  border-bottom: 1px solid var(--border-outline-color);
117
124
  margin-bottom: -1px;
118
125
  }
126
+
127
+ .info .graphic {
128
+ border-radius: 6px;
129
+ box-shadow: var(--shadow-flat);
130
+ overflow: hidden;
131
+ }
@@ -5,6 +5,7 @@ import {html} from 'lit';
5
5
  import '../../icons/icon-01-placeholder';
6
6
  import '../../icons/icon-02-chevron-right';
7
7
  import '../../icons/icon-01-print';
8
+ import '../../icons/icon-03-support';
8
9
  import {spread} from '@open-wc/lit-helpers';
9
10
 
10
11
  const meta: Meta<typeof ObcRichButton> = {
@@ -194,3 +195,38 @@ export const WithGraphicBorder: Story = {
194
195
  <obi-02-chevron-right slot="trailing-icon"></obi-02-chevron-right>
195
196
  </obc-rich-button> `,
196
197
  };
198
+
199
+ export const WithGraphicInfo: Story = {
200
+ args: {
201
+ size: 'multi-line',
202
+ hasLeadingIcon: false,
203
+ hasTrailingIcon: false,
204
+ hasGraphic: true,
205
+ graphicBorder: false,
206
+ info: true,
207
+ },
208
+ render: (args) =>
209
+ html`<obc-rich-button
210
+ position=${args.position}
211
+ size=${args.size}
212
+ ?has-graphic=${args.hasGraphic}
213
+ ?has-leading-icon=${args.hasLeadingIcon}
214
+ ?has-trailing-icon=${args.hasTrailingIcon}
215
+ ?graphic-border=${args.graphicBorder}
216
+ ?info=${args.info}
217
+ >
218
+ <div
219
+ slot="graphic"
220
+ style="width: 100%; height: 120px; color: var(--element-active-inverted-color); background: var(--instrument-enhanced-secondary-color); padding-top: 40px; padding-bottom: 32px"
221
+ >
222
+ <obi-03-support></obi-03-support>
223
+ </div>
224
+ <obi-01-placeholder slot="leading-icon"></obi-01-placeholder>
225
+ <div slot="label">Title</div>
226
+ <div slot="description">
227
+ A long description, with a text spanning over multiple lines. Lorem
228
+ ipsum dolor sit amet, consectetur adipiscing elit.
229
+ </div>
230
+ <obi-02-chevron-right slot="trailing-icon"></obi-02-chevron-right>
231
+ </obc-rich-button> `,
232
+ };
@@ -27,6 +27,7 @@ export class ObcRichButton extends LitElement {
27
27
  ObcRichButtonPosition.Regular;
28
28
  @property({type: String}) size: ObcRichButtonSizeType =
29
29
  ObcRichButtonSize.SingleLine;
30
+ @property({type: Boolean}) info = false;
30
31
  @property({type: Boolean, attribute: 'has-leading-icon'}) hasLeadingIcon =
31
32
  false;
32
33
  @property({type: Boolean, attribute: 'has-trailing-icon'}) hasTrailingIcon =
@@ -44,6 +45,7 @@ export class ObcRichButton extends LitElement {
44
45
  [this.position]: true,
45
46
  [this.size]: true,
46
47
  'graphic-border': this.graphicBorder,
48
+ info: this.info,
47
49
  border: this.border,
48
50
  })}
49
51
  >
@@ -22,6 +22,7 @@
22
22
  position: relative;
23
23
  }
24
24
 
25
+
25
26
  .slider {
26
27
  position: absolute;
27
28
  -webkit-appearance: none;
@@ -70,6 +71,25 @@
70
71
  background: var(--selected-enabled-background-color);
71
72
  }
72
73
 
74
+ .no-input .interactive-track {
75
+ width: calc(var(--ratio) * 100% + (1 - 2 * var(--ratio)) * 4px);
76
+ }
77
+
78
+
79
+ /* used in non-interactive mode */
80
+ .passive-thumb {
81
+ position: absolute;
82
+ width: 16px;
83
+ height: 16px;
84
+ top: 16px;
85
+ left: calc(var(--ratio) * 100% - 8px + (1 - 2 * var(--ratio)) * 4px);
86
+ border-radius: 100%;
87
+ border-width: 4px;
88
+ border-style: solid;
89
+ border-color: var(--container-background-color);
90
+ background: var(--selected-enabled-background-color);
91
+ }
92
+
73
93
  .wrapper:hover .interactive-track {
74
94
  background: var(--selected-hover-background-color);
75
95
  }
@@ -17,7 +17,9 @@ const meta: Meta<typeof ObcSlider> = {
17
17
  step: {
18
18
  control: {type: 'number', min: 1, max: 100, step: 1},
19
19
  },
20
-
20
+ hugContainer: {
21
+ control: {type: 'boolean'},
22
+ },
21
23
  iconLeft: {
22
24
  options: iconIds,
23
25
  control: {type: 'select'},
@@ -34,6 +36,9 @@ const meta: Meta<typeof ObcSlider> = {
34
36
  min="0"
35
37
  max="100"
36
38
  ?hug-container=${args.hugContainer}
39
+ ?has-left-icon=${args.iconLeft ? true : false}
40
+ ?has-right-icon=${args.iconRight ? true : false}
41
+ variant=${args.variant}
37
42
  >
38
43
  ${args.iconLeft
39
44
  ? iconIdToIconHtml(args.iconLeft as unknown as string, {
@@ -62,6 +67,13 @@ export const Primary: Story = {
62
67
  },
63
68
  };
64
69
 
70
+ export const NoIcons: Story = {
71
+ args: {
72
+ value: 20,
73
+ hugContainer: false,
74
+ },
75
+ };
76
+
65
77
  export const HugContainer: Story = {
66
78
  args: {
67
79
  value: 20,
@@ -70,3 +82,10 @@ export const HugContainer: Story = {
70
82
  hugContainer: true,
71
83
  },
72
84
  };
85
+
86
+ export const NoValue: Story = {
87
+ args: {
88
+ value: 20,
89
+ variant: 'no-input',
90
+ },
91
+ };
@@ -4,6 +4,14 @@ import {styleMap} from 'lit/directives/style-map.js';
4
4
  import {ifDefined} from 'lit/directives/if-defined.js';
5
5
  import componentStyle from './slider.css?inline';
6
6
  import '../icon-button/icon-button';
7
+ import {classMap} from 'lit/directives/class-map.js';
8
+
9
+ export enum ObcSliderVariant {
10
+ NoValue = 'no-value',
11
+ NoInput = 'no-input',
12
+ }
13
+
14
+ export type ObcSliderVariantType = 'no-value' | 'no-input';
7
15
 
8
16
  /**
9
17
  * @element obc-slider
@@ -27,6 +35,9 @@ export class ObcSlider extends LitElement {
27
35
  @property({type: Number}) max = 100;
28
36
  @property({type: Number}) step: number | undefined;
29
37
  @property({type: Number, attribute: 'step-click'}) stepClick = 10;
38
+ @property({type: String}) variant: ObcSliderVariantType = 'no-value';
39
+ @property({type: Boolean, attribute: 'has-left-icon'}) hasLeftIcon = false;
40
+ @property({type: Boolean, attribute: 'has-right-icon'}) hasRightIcon = false;
30
41
 
31
42
  onInput(value: number) {
32
43
  this.value = value;
@@ -44,31 +55,44 @@ export class ObcSlider extends LitElement {
44
55
  override render() {
45
56
  const ratio = (this.value - this.min) / (this.max - this.min);
46
57
  return html`
47
- <obc-icon-button @click=${this.onReduceClick} variant="flat">
48
- <slot name="icon-left"></slot>
49
- </obc-icon-button>
50
- <div class="wrapper">
58
+ ${this.hasLeftIcon
59
+ ? html` <obc-icon-button @click=${this.onReduceClick} variant="flat">
60
+ <slot name="icon-left"></slot>
61
+ </obc-icon-button>`
62
+ : null}
63
+ <div class=${classMap({wrapper: true, [this.variant]: true})}>
51
64
  <div class="track"></div>
52
65
  <div
53
66
  class="interactive-track"
54
67
  style=${styleMap({'--ratio': ratio})}
55
68
  ></div>
56
- <input
57
- type="range"
58
- min=${this.min}
59
- max=${this.max}
60
- step=${ifDefined(this.step)}
61
- .value=${this.value.toString()}
62
- class="slider"
63
- @input=${(event: Event) => {
64
- this.value = Number((event.target as HTMLInputElement).value);
65
- this.dispatchEvent(new CustomEvent('value', {detail: this.value}));
66
- }}
67
- />
69
+ ${this.variant === ObcSliderVariant.NoInput
70
+ ? html`<div
71
+ class="passive-thumb"
72
+ style=${styleMap({'--ratio': ratio})}
73
+ ></div>`
74
+ : html`
75
+ <input
76
+ type="range"
77
+ min=${this.min}
78
+ max=${this.max}
79
+ step=${ifDefined(this.step)}
80
+ .value=${this.value.toString()}
81
+ class="slider"
82
+ @input=${(event: Event) => {
83
+ this.value = Number((event.target as HTMLInputElement).value);
84
+ this.dispatchEvent(
85
+ new CustomEvent('value', {detail: this.value})
86
+ );
87
+ }}
88
+ />
89
+ `}
68
90
  </div>
69
- <obc-icon-button @click=${this.onIncreaseClick} variant="flat">
70
- <slot name="icon-right"></slot>
71
- </obc-icon-button>
91
+ ${this.hasRightIcon
92
+ ? html`<obc-icon-button @click=${this.onIncreaseClick} variant="flat">
93
+ <slot name="icon-right"></slot>
94
+ </obc-icon-button>`
95
+ : null}
72
96
  `;
73
97
  }
74
98
 
@@ -1,3 +1,7 @@
1
+ * {
2
+ box-sizing: border-box;
3
+ }
4
+
1
5
  .wrapper {
2
6
  height: 48px;
3
7
  width: 100%;
@@ -202,14 +202,16 @@ export class ObcTopBar extends LitElement {
202
202
  <obi-01-apps></obi-01-apps>
203
203
  </obc-icon-button>`
204
204
  : null}
205
- <obc-icon-button
206
- class="left-more-button"
207
- variant="flat"
208
- @click=${this.leftMoreButtonClicked}
209
- ?activated=${this.leftMoreButtonActivated}
210
- >
211
- <obi-01-more-vertical></obi-01-more-vertical>
212
- </obc-icon-button>
205
+ ${!this.inactive
206
+ ? html`<obc-icon-button
207
+ class="left-more-button"
208
+ variant="flat"
209
+ @click=${this.leftMoreButtonClicked}
210
+ ?activated=${this.leftMoreButtonActivated}
211
+ >
212
+ <obi-01-more-vertical></obi-01-more-vertical>
213
+ </obc-icon-button>`
214
+ : null}
213
215
  </div>
214
216
  </nav>
215
217
  `;
@@ -17,8 +17,9 @@
17
17
  --border-edge-color: rgba(0, 0, 0, .050);
18
18
  --border-solid-color: rgb(51, 51, 51);
19
19
  --border-icon-outline-color: rgba(0, 0, 0, .500);
20
+ --border-silhouette-color: rgb(255, 255, 255);
20
21
  --instrument-enhanced-primary-color: rgb(26, 45, 255);
21
- --instrument-enhanced-secondary-color: rgb(46, 79, 138);
22
+ --instrument-enhanced-secondary-color: rgb(37, 76, 147);
22
23
  --instrument-enhanced-tertiary-color: rgba(46, 79, 138, .300);
23
24
  --instrument-regular-primary-color: rgb(13, 13, 13);
24
25
  --instrument-regular-secondary-color: rgb(89, 89, 89);
@@ -122,13 +123,13 @@
122
123
  --on-flat-active-color: rgb(13, 13, 13);
123
124
  --on-flat-neutral-color: rgba(0, 0, 0, .650);
124
125
  --on-flat-disabled-color: rgba(0, 0, 0, .300);
125
- --selected-enabled-background-color: rgb(46, 79, 138);
126
+ --selected-enabled-background-color: rgb(37, 76, 147);
126
127
  --selected-enabled-border-color: rgba(0, 0, 0, .00);
127
- --selected-hover-background-color: rgb(33, 57, 99);
128
+ --selected-hover-background-color: rgb(27, 55, 106);
128
129
  --selected-hover-border-color: rgba(0, 0, 0, .00);
129
- --selected-pressed-background-color: rgb(20, 35, 61);
130
+ --selected-pressed-background-color: rgb(16, 34, 65);
130
131
  --selected-pressed-border-color: rgba(0, 0, 0, .00);
131
- --selected-focused-background-color: rgb(46, 79, 138);
132
+ --selected-focused-background-color: rgb(37, 76, 147);
132
133
  --selected-focused-border-color: rgba(0, 110, 225, .300);
133
134
  --selected-disabled-background-color: rgba(0, 0, 0, .200);
134
135
  --selected-disabled-border-color: rgba(0, 0, 0, .00);
@@ -174,6 +175,19 @@
174
175
  --on-device-active-color: rgb(255, 255, 255);
175
176
  --on-device-neutral-color: rgba(0, 0, 0, .450);
176
177
  --on-device-disabled-color: rgb(179, 179, 179);
178
+ --notification-enabled-background-color: rgb(26, 45, 255);
179
+ --notification-enabled-border-color: rgba(0, 0, 0, .300);
180
+ --notification-hover-background-color: rgb(0, 19, 229);
181
+ --notification-hover-border-color: rgba(0, 0, 0, .300);
182
+ --notification-pressed-background-color: rgb(0, 15, 178);
183
+ --notification-pressed-border-color: rgba(0, 0, 0, .500);
184
+ --notification-focused-background-color: rgb(26, 45, 255);
185
+ --notification-focused-border-color: rgba(37, 76, 147, .500);
186
+ --notification-disabled-background-color: rgb(26, 45, 255);
187
+ --notification-disabled-border-color: rgba(0, 0, 0, .00);
188
+ --on-notification-active-color: rgb(255, 255, 255);
189
+ --on-notification-neutral-color: rgba(255, 255, 255, .600);
190
+ --on-notification-disabled-color: rgba(255, 255, 255, .300);
177
191
  --running-enabled-background-color: rgb(0, 138, 23);
178
192
  --running-enabled-border-color: rgba(0, 0, 0, .100);
179
193
  --running-hover-background-color: rgb(27, 111, 27);
@@ -318,7 +332,7 @@
318
332
  --icon-02-chevron-down: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d=" M18 9.41L16.59 8L12 12.58L7.41 8L6 9.41L12 15.41L18 9.41Z" fill="rgba(0, 0, 0, .650)"/></svg>');
319
333
 
320
334
  }
321
-
335
+
322
336
  :root[data-obc-theme=day] {
323
337
  --element-active-color: rgb(26, 26, 26);
324
338
  --element-neutral-color: rgba(0, 0, 0, .590);
@@ -364,24 +378,20 @@
364
378
  --alert-warning-color: rgb(246, 148, 0);
365
379
  --alert-alarm-color: rgb(223, 27, 27);
366
380
  --alert-critical-alarm-color: rgb(229, 0, 229);
367
- --alert-limit-primary-color: rgba(0, 0, 0, .100);
368
- --alert-limit-secondary-color: rgba(0, 0, 0, .100);
381
+ --alert-limit-primary-color: rgba(0, 0, 0, .080);
382
+ --alert-limit-secondary-color: rgba(0, 0, 0, .080);
369
383
  --automation-device-primary-color: rgb(255, 255, 255);
370
384
  --automation-device-secondary-color: rgb(112, 112, 112);
371
385
  --automation-device-tertiary-color: rgb(0, 0, 0);
372
386
  --automation-device-primary-inverted-color: rgb(15, 15, 15);
373
387
  --automation-device-secondary-inverted-color: rgb(102, 102, 102);
374
388
  --automation-device-tertiary-inverted-color: rgb(128, 128, 128);
375
- --automation-button-primary-color: rgb(255, 255, 255);
376
- --automation-button-tertiary-color: rgba(0, 0, 0, .200);
377
- --automation-button-primary-inverted-color: rgb(224, 224, 224);
378
- --automation-button-tertiary-inverted-color: rgba(0, 0, 0, .100);
379
389
  --automation-pipe-primary-color: rgb(255, 255, 255);
380
- --automation-pipe-secondary-color: rgba(0, 0, 0, .200);
381
- --automation-pipe-tertiary-color: rgba(0, 0, 0, .590);
390
+ --automation-pipe-secondary-color: rgb(143, 143, 143);
391
+ --automation-pipe-tertiary-color: rgb(51, 51, 51);
382
392
  --automation-pipe-primary-inverted-color: rgb(224, 224, 224);
383
- --automation-pipe-secondary-inverted-color: rgba(0, 0, 0, .100);
384
- --automation-pipe-tertiary-inverted-color: rgba(0, 0, 0, .420);
393
+ --automation-pipe-secondary-inverted-color: rgb(179, 179, 179);
394
+ --automation-pipe-tertiary-inverted-color: rgb(143, 143, 143);
385
395
  --automation-pipe-overlay-color: rgba(0, 0, 0, .200);
386
396
  --automation-pipe-disabled-color: rgba(0, 0, 0, .100);
387
397
  --automation-acid-alkalis: rgb(231, 193, 244);
@@ -423,7 +433,7 @@
423
433
  --raised-disabled-border-color: rgba(0, 0, 0, .100);
424
434
  --on-raised-active-color: rgb(255, 255, 255);
425
435
  --on-raised-neutral-color: rgba(255, 255, 255, .700);
426
- --on-raised-disabled-color: rgba(0, 0, 0, .200);
436
+ --on-raised-disabled-color: rgba(0, 0, 0, .300);
427
437
  --indent-enabled-background-color: rgba(0, 0, 0, .050);
428
438
  --indent-enabled-border-color: rgba(0, 0, 0, .050);
429
439
  --indent-hover-background-color: rgba(0, 0, 0, .100);
@@ -444,7 +454,7 @@
444
454
  --flat-pressed-background-color: rgba(0, 0, 0, .120);
445
455
  --flat-pressed-border-color: rgba(0, 0, 0, .00);
446
456
  --flat-focused-background-color: rgba(0, 0, 0, .00);
447
- --flat-focused-border-color: rgba(0, 110, 225, .300);
457
+ --flat-focused-border-color: rgb(153, 206, 255);
448
458
  --flat-disabled-background-color: rgba(0, 0, 0, .00);
449
459
  --flat-disabled-border-color: rgba(0, 0, 0, .00);
450
460
  --flat-activated-background-color: rgba(0, 0, 0, .050);
@@ -593,17 +603,20 @@
593
603
  --font-ui-overline-size: 12px;
594
604
  --font-ui-overline-weight: semibold;
595
605
  --font-ui-overline-line-height: 24px;
606
+ --font-ui-overline-new-size: 16px;
607
+ --font-ui-overline-new-weight: semibold;
608
+ --font-ui-overline-new-line-height: 24px;
596
609
  --font-ui-button-size: 16px;
597
- --font-ui-button-weight: semibold;
610
+ --font-ui-button-weight: Medium;
598
611
  --font-ui-button-line-height: 24px;
599
612
  --font-ui-body-active-size: 16px;
600
- --font-ui-body-active-weight: bold;
613
+ --font-ui-body-active-weight: semibold;
601
614
  --font-ui-body-active-line-height: 24px;
602
615
  --font-ui-body-size: 16px;
603
616
  --font-ui-body-weight: regular;
604
617
  --font-ui-body-line-height: 24px;
605
618
  --font-ui-label-active-size: 12px;
606
- --font-ui-label-active-weight: bold;
619
+ --font-ui-label-active-weight: semibold;
607
620
  --font-ui-label-active-line-height: 16px;
608
621
  --font-ui-label-size: 12px;
609
622
  --font-ui-label-weight: regular;
@@ -617,6 +630,15 @@
617
630
  --font-instrument-label-l-size: 64px;
618
631
  --font-instrument-label-l-weight: regular;
619
632
  --font-instrument-label-l-line-height: 80px;
633
+ --font-instrument-value-regular-size: 16px;
634
+ --font-instrument-value-regular-weight: Medium;
635
+ --font-instrument-value-regular-line-height: 24px;
636
+ --font-instrument-value-enhanced-size: 36px;
637
+ --font-instrument-value-enhanced-weight: Medium;
638
+ --font-instrument-value-enhanced-line-height: 48px;
639
+ --font-instrument-value-double-size: 72px;
640
+ --font-instrument-value-double-weight: Medium;
641
+ --font-instrument-value-double-line-height: 96px;
620
642
  --font-instrument-value-s-size: 16px;
621
643
  --font-instrument-value-s-weight: semibold;
622
644
  --font-instrument-value-s-line-height: 24px;
@@ -658,12 +680,11 @@
658
680
  --shadow-floating: 0px 4px 16px 0px rgba(0, 0, 0, .300);
659
681
  --shadow-overlay: 0px 8px 32px 0px rgba(0, 0, 0, .400);
660
682
  --shadow-focused: 0px 0px 0px 4px rgb(0, 59, 148);
661
-
662
683
  --icon-02-chevron-up: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6 14.0002L7.41 15.4102L12 10.8302L16.59 15.4102L18 14.0002L12 8.00016L6 14.0002Z" fill="rgba(0, 0, 0, 0.55)"/></svg>');
663
684
  --icon-02-chevron-down: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M18 9.41L16.59 8L12 12.58L7.41 8L6 9.41L12 15.41L18 9.41Z" fill="rgba(0, 0, 0, 0.55)"/></svg>');
664
685
 
665
686
  }
666
-
687
+
667
688
  :root[data-obc-theme=dusk] {
668
689
  --element-active-color: rgb(242, 242, 242);
669
690
  --element-neutral-color: rgba(255, 255, 255, .550);
@@ -684,7 +705,7 @@
684
705
  --border-silhouette-color: rgb(0, 0, 0);
685
706
  --border-icon-outline-color: rgba(0, 0, 0, .500);
686
707
  --border-solid-color: rgb(51, 51, 51);
687
- --instrument-enhanced-primary-color: rgb(129, 223, 254);
708
+ --instrument-enhanced-primary-color: rgb(94, 213, 253);
688
709
  --instrument-enhanced-secondary-color: rgb(86, 150, 199);
689
710
  --instrument-enhanced-tertiary-color: rgba(92, 139, 193, .200);
690
711
  --instrument-regular-primary-color: rgb(230, 230, 230);
@@ -841,6 +862,19 @@
841
862
  --on-device-active-color: rgb(255, 255, 255);
842
863
  --on-device-neutral-color: rgb(123, 123, 123);
843
864
  --on-device-disabled-color: rgb(84, 84, 84);
865
+ --notification-enabled-background-color: rgb(94, 213, 253);
866
+ --notification-enabled-border-color: rgba(0, 0, 0, .500);
867
+ --notification-hover-background-color: rgb(154, 229, 254);
868
+ --notification-hover-border-color: rgba(0, 0, 0, .100);
869
+ --notification-pressed-background-color: rgb(17, 163, 212);
870
+ --notification-pressed-border-color: rgba(0, 0, 0, .200);
871
+ --notification-focused-background-color: rgb(94, 213, 253);
872
+ --notification-focused-border-color: rgb(247, 247, 247);
873
+ --notification-disabled-background-color: rgb(94, 213, 253);
874
+ --notification-disabled-border-color: rgba(0, 0, 0, .00);
875
+ --on-notification-active-color: rgb(0, 0, 0);
876
+ --on-notification-neutral-color: rgba(0, 0, 0, .600);
877
+ --on-notification-disabled-color: rgba(0, 0, 0, .200);
844
878
  --running-enabled-background-color: rgb(19, 138, 0);
845
879
  --running-enabled-border-color: rgba(0, 0, 0, .100);
846
880
  --running-hover-background-color: rgb(23, 168, 0);
@@ -906,19 +940,6 @@
906
940
  --on-critical-alarm-active-color: rgb(255, 255, 255);
907
941
  --on-critical-alarm-neutral-color: rgba(255, 255, 255, .700);
908
942
  --on-critical-alarm-disabled-color: rgba(255, 255, 255, .300);
909
- --notification-enabled-background-color: rgb(129, 212, 254);
910
- --notification-enabled-border-color: rgba(0, 0, 0, .500);
911
- --notification-hover-background-color: rgb(90, 191, 242);
912
- --notification-hover-border-color: rgba(0, 0, 0, .100);
913
- --notification-pressed-background-color: rgb(60, 167, 221);
914
- --notification-pressed-border-color: rgba(0, 0, 0, .200);
915
- --notification-focused-background-color: rgb(129, 212, 254);
916
- --notification-focused-border-color: rgb(247, 247, 247);
917
- --notification-disabled-background-color: rgb(129, 212, 254);
918
- --notification-disabled-border-color: rgba(0, 0, 0, .00);
919
- --on-notification-active-color: rgb(0, 0, 0);
920
- --on-notification-neutral-color: rgba(0, 0, 0, .600);
921
- --on-notification-disabled-color: rgba(0, 0, 0, .200);
922
943
  --font-ui-title-size: 24px;
923
944
  --font-ui-title-weight: bold;
924
945
  --font-ui-title-line-height: 32px;
@@ -996,7 +1017,7 @@
996
1017
  --icon-02-chevron-up: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6 14.0002L7.41 15.4102L12 10.8302L16.59 15.4102L18 14.0002L12 8.00016L6 14.0002Z" fill="rgba(255, 255, 255, .550)"/></svg>');
997
1018
  --icon-02-chevron-down: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M18 9.41L16.59 8L12 12.58L7.41 8L6 9.41L12 15.41L18 9.41Z" fill="rgba(255, 255, 255, .550)"/></svg>');
998
1019
  }
999
-
1020
+
1000
1021
 
1001
1022
  :root[data-obc-theme=night] {
1002
1023
  --element-active-color: rgb(71, 71, 0);
@@ -1254,7 +1275,7 @@
1254
1275
  --on-critical-alarm-neutral-color: rgba(0, 0, 0, .700);
1255
1276
  --on-critical-alarm-disabled-color: rgba(0, 0, 0, .300);
1256
1277
  --font-ui-title-size: 24px;
1257
- --font-ui-title-weight: Bold;
1278
+ --font-ui-title-weight: bold;
1258
1279
  --font-ui-title-line-height: 32px;
1259
1280
  --font-ui-subtitle-size: 24px;
1260
1281
  --font-ui-subtitle-weight: regular;
@@ -1266,13 +1287,13 @@
1266
1287
  --font-ui-button-weight: semibold;
1267
1288
  --font-ui-button-line-height: 24px;
1268
1289
  --font-ui-body-active-size: 16px;
1269
- --font-ui-body-active-weight: Bold;
1290
+ --font-ui-body-active-weight: bold;
1270
1291
  --font-ui-body-active-line-height: 24px;
1271
1292
  --font-ui-body-size: 16px;
1272
1293
  --font-ui-body-weight: regular;
1273
1294
  --font-ui-body-line-height: 24px;
1274
1295
  --font-ui-label-active-size: 12px;
1275
- --font-ui-label-active-weight: Bold;
1296
+ --font-ui-label-active-weight: bold;
1276
1297
  --font-ui-label-active-line-height: 16px;
1277
1298
  --font-ui-label-size: 12px;
1278
1299
  --font-ui-label-weight: regular;
@@ -1329,5 +1350,5 @@
1329
1350
 
1330
1351
  --icon-02-chevron-up: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6 14.0002L7.41 15.4102L12 10.8302L16.59 15.4102L18 14.0002L12 8.00016L6 14.0002Z" fill="rgb(51, 51, 0)"/></svg>');
1331
1352
  --icon-02-chevron-down: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M18 9.41L16.59 8L12 12.58L7.41 8L6 9.41L12 15.41L18 9.41Z" fill="rgb(51, 51, 0)"/></svg>');
1332
-
1333
- }
1353
+
1354
+ }
package/.yarnrc.yml DELETED
@@ -1 +0,0 @@
1
- nodeLinker: node-modules