@oicl/openbridge-webcomponents-full-bundle 2.0.0-next.162 → 2.0.0-next.163

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.
@@ -0,0 +1,7 @@
1
+ | Element | 1.0.1 | 2.0 |
2
+ | --------------------------------------------------------------------- | ----------------------- | -------------------------------------- |
3
+ | `obc-poi`, `obc-poi-aton`, `obc-poi-data`, `obc-poi-vessel` | `buttonY` = `null` | `buttonY` = `0` |
4
+ | `obc-poi-aton`, `obc-poi-data`, `obc-poi-vessel` | `lineCompensationY` | removed; the layer computes the offset |
5
+ | `obc-poi-layer` | attribute `isselected` | attribute `is-selected` |
6
+ | `obc-poi-object-aton`, `obc-poi-object-data`, `obc-poi-object-vessel` | `colorStyleVars` | removed |
7
+ | `obc-poi-object-data`, `obc-poi-object-vessel` | `objectStyle`: `string` | `objectStyle`: `ObcPoiObjectStyle` |
@@ -0,0 +1,11 @@
1
+ | Element | 1.0.1 | 2.0 |
2
+ | -------------------------------------------------------------------------------------- | -------------------------------------------------- | ----------------------------------------------------------- |
3
+ | all automation devices | `badgeAlertOff` | `badgeAlert="silence"` |
4
+ | all automation devices | `badgeAuto` | `badgeControl="auto"` |
5
+ | all automation devices | `badgeCommandLocked`: `boolean` | `badgeCommandLocked`: `AutomationButtonBadgeCommandLocked` |
6
+ | all automation devices | `badgeDuty` | `badgeInterlock="interlock"` |
7
+ | all automation devices except `obc-fan`, `obc-motor` and `obc-pump` | `direction` | removed; only `obc-motor`, `obc-pump` and `obc-fan` have it |
8
+ | all automation devices, `obc-automation-button`, `obc-automation-button-readout-stack` | `hasIdTag` | removed; set `tag`, or leave it unset to hide the tag |
9
+ | all automation devices | `tag` = `''` | `tag` = `null` |
10
+ | `obc-automation-button`, `obc-automation-button-readout-stack` | `tag`: `AutomationButtonReadoutStackTag` or `null` | `tag`: `string` or `null` |
11
+ | `obc-automation-tank` | `variant` | `orientation`; `variant="compact"` is now `compact` |
@@ -0,0 +1,4 @@
1
+ | Element | 1.0.1 | 2.0 |
2
+ | ----------------------- | ---------- | ------- |
3
+ | `obc-instrument-radial` | `maxAngle` | removed |
4
+ | `obc-instrument-radial` | `minAngle` | removed |
@@ -0,0 +1,19 @@
1
+ | Element | 1.0.1 | 2.0 |
2
+ | ------------------------------------------------------- | ---------------------------------------------------------- | -------------------------------------------------------------- |
3
+ | `obc-compass`, `obc-compass-flat`, `obc-compass-sector` | `rotMaxValue` = `10` | `rotMaxValue` = `60` |
4
+ | `obc-compass` | `windSpeed` | `currentWindSpeedKnots` |
5
+ | `obc-compass-indicator` | `arrow` | `direction` |
6
+ | `obc-compass-indicator` | `northUp` = `false` | `northUp` = `true` |
7
+ | `obc-compass-indicator` | attribute `northup` | none; set the `northUp` property |
8
+ | `obc-compass-sector` | wrapper event `None` (a `@fires` placeholder; never fired) | removed |
9
+ | `obc-depth-actual` | `primaryTickmarkInterval` = `50` | unset; follows the range |
10
+ | `obc-depth-actual` | `secondaryTickmarkInterval` = `10` | unset; follows the range |
11
+ | `obc-speed-gauge` | `showReadout` | `hasReadout` |
12
+ | `obc-velocity-projection-plot` | `instantCurrentDirectionDeg` | `currentFromDirection` |
13
+ | `obc-velocity-projection-plot` | `instantCurrentSpeedNumber` | `currentSpeedKnots` |
14
+ | `obc-velocity-projection-plot` | `instantWindDirectionDeg` | `currentWindFromDirection` |
15
+ | `obc-velocity-projection-plot` | `instantWindSpeedNumber` | `currentWindSpeedKnots` |
16
+ | `obc-watch` | `wind` | `windKnots` |
17
+ | `obc-wind` | `currentWindSpeedBeaufort` | `currentWindSpeedKnots` |
18
+ | `obc-wind-indicator` | `northUp` | removed; use `direction="relative"` with `rotation-angle` |
19
+ | `obc-wind-indicator` | `speed` | `currentWindSpeedKnots` (attribute `current-wind-speed-knots`) |
@@ -0,0 +1,19 @@
1
+ | Element | 1.0.1 | 2.0 |
2
+ | ------------------------ | ------------------------------------- | ------------------------------------------ |
3
+ | `obc-alert-icon` | `outline` | removed; use an `obi-*-badge-outline` icon |
4
+ | `obc-alert-menu` | wrapper event `alert-list-click` | `go-to-alert-list-click` |
5
+ | `obc-card` | `dialogTimeOutSeconds` = `20000` | `dialogTimeOutSeconds` = `20` |
6
+ | `obc-card` | `dialogVisibleTimerSeconds` = `10000` | `dialogVisibleTimerSeconds` = `10` |
7
+ | `obc-checkbox-item` | `isLevel1` | `level="1" expandable` |
8
+ | `obc-checkbox-item` | `isLevel2` | `level="2"` |
9
+ | `obc-checkbox-item` | `isNested` | `level="1"` |
10
+ | `obc-number-input-field` | `value` = `''` | `value` = `NaN` |
11
+ | `obc-number-input-field` | `value`: `string` | `value`: `number` |
12
+ | `obc-start-stop-switch` | `showCheckedStateIcon` | removed; the icon slots always rendered |
13
+ | `obc-start-stop-switch` | `showUncheckedStateIcon` | removed; the icon slots always rendered |
14
+ | `obc-stepper-box` | `hasHelperText` | set `helperText` |
15
+ | `obc-stepper-box` | `leftIcon` | removed |
16
+ | `obc-stepper-box` | `rightIcon` | removed |
17
+ | `obc-stepper-box` | default slot | set `value` |
18
+ | `obc-stepper-box` | slot `helper-text` | set `helperText` |
19
+ | `obc-stepper-box` | slot `unit` | set `unit` |
@@ -0,0 +1,16 @@
1
+ | 1.0.1 | 2.0 |
2
+ | ---------------------------------------------------- | ------------------------------------------- |
3
+ | `dist/ar/building-blocks/poi/poi.js` | `dist/ar/poi/poi.js` |
4
+ | `dist/ar/poi-aton/poi-aton.js` | `dist/ar/poi/poi-aton.js` |
5
+ | `dist/ar/poi-data/poi-data.js` | `dist/ar/poi/poi-data.js` |
6
+ | `dist/ar/poi-vessel/poi-vessel.js` | `dist/ar/poi/poi-vessel.js` |
7
+ | `dist/ar/building-blocks/poi-button/poi-button.js` | `dist/ar/poi-button/poi-button.js` |
8
+ | `dist/ar/poi-button-aton/poi-button-aton.js` | `dist/ar/poi-button/poi-button-aton.js` |
9
+ | `dist/ar/poi-button-data/poi-button-data.js` | `dist/ar/poi-button/poi-button-data.js` |
10
+ | `dist/ar/poi-button-vessel/poi-button-vessel.js` | `dist/ar/poi-button/poi-button-vessel.js` |
11
+ | `dist/ar/building-blocks/poi-object/poi-object.js` | `dist/ar/poi-object/poi-object.js` |
12
+ | `dist/ar/poi-object-aton/poi-object-aton.js` | `dist/ar/poi-object/poi-object-aton.js` |
13
+ | `dist/ar/poi-object-data/poi-object-data.js` | `dist/ar/poi-object/poi-object-data.js` |
14
+ | `dist/ar/poi-object-vessel/poi-object-vessel.js` | `dist/ar/poi-object/poi-object-vessel.js` |
15
+ | other `dist/ar/building-blocks/poi/*` modules | the same file name in `dist/ar/poi/` |
16
+ | other `dist/ar/building-blocks/poi-object/*` modules | the same file name in `dist/ar/poi-object/` |
@@ -0,0 +1,13 @@
1
+ | 1.0.1 | 2.0 |
2
+ | ---------------------------------------------------------------------- | ----------------------------------------------------------------------- |
3
+ | `--instrument-components-readout-new-*` (115 variables) | `--instrument-components-readout-*` |
4
+ | `--app-components-badge-*` (9 variables) | `--ui-components-badge-*` |
5
+ | `--ui-components-keyboard-nummeric-*` (9 variables) | `--ui-components-keyboard-numeric-*` |
6
+ | `--app-components-clock-colon-size` | `--app-components-clock-colon-size-regular` |
7
+ | `--app-components-clock-digit-spacing` | `--app-components-clock-digit-spacing-regular` |
8
+ | `--instrument-components-advice-indicator-alert-point-height` | `--instrument-components-advice-indicator-alert-point-thickness` |
9
+ | `--instrument-components-advice-indicator-alert-point-width` | `--instrument-components-advice-indicator-alert-point-lenght` |
10
+ | `--data-weather-cloud-seconday-color` | `--data-weather-cloud-secondary-color` |
11
+ | `--data-weather-cloud-light-seconday-color` | `--data-weather-cloud-light-secondary-color` |
12
+ | `--global-size-spacing-nav-item-and-menus-padding-horizonal-list-item` | `--global-size-spacing-nav-item-and-menus-padding-horizontal-list-item` |
13
+ | `--alert-warning-text-color` | none |
@@ -0,0 +1,6 @@
1
+ | Element | Use instead |
2
+ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
3
+ | `obc-instrument-field` | `obc-readout`; see [Instrument Field (deprecated)](?path=/docs/instruments-instrument-field-deprecated--docs) |
4
+ | `obc-azimuth-thruster-labeled` | `obc-azimuth-thruster` with an `obc-readout` beside it |
5
+ | `obc-notification-badge-button` | `obc-icon-button`: the icon goes in its default slot and the text in the `label` slot with `hasLabel`; `openLeft`, `openRight` and `indent` have no equivalent |
6
+ | `obc-corner-line`, `obc-direction-line`, `obc-end-point-line`, `obc-horizontal-line`, `obc-line-cross`, `obc-line-overlap`, `obc-three-way-line`, `obc-vertical-line` | the `@oicl/connector-diagram` package |
@@ -0,0 +1,8 @@
1
+ | Element | Deprecated | Use instead |
2
+ | ------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
3
+ | `obc-alert-icon` | `type` | `alertType` |
4
+ | `obc-compass`, `obc-compass-flat`, `obc-compass-sector`, `obc-rate-of-turn`, `obc-rot-indicator`, `obc-watch`, `obc-watch-flat` | `rotationsPerMinute` | `rateOfTurnDegreesPerMinute`; the old property applies only while the new one is unset |
5
+ | `obc-depth-actual` | `instrumentRange` | `maxDepth` |
6
+ | `obc-fan`, `obc-motor`, `obc-pump` | `speedInPercent` | `speed` with `speedUnit`; `speed` wins when both are set |
7
+ | `obc-tab-item`, and the `tabs` of `obc-tab-row` | `hasBadge`, `badgeCount`, `badgeType`, `badgeSize`, `badgeShowNumber`, `showLeadingBadgeIcon` | `badges` |
8
+ | `obc-wind-indicator` | `angle` | `currentWindFromDirection` |
@@ -0,0 +1,5 @@
1
+ | 1.0.1 (on / off) | 2.0 | On / off | Alert types |
2
+ | ------------------------------------------------------- | ----------------------------------------------- | ---------------- | ---------------------------- |
3
+ | `--alarm-blink-on`, `--alarm-blink-off` (1 s / 1 s) | `--flash-fast-on`, `--flash-fast-off` | 400 ms / 400 ms | alarm, high, critical |
4
+ | `--warning-blink-on`, `--warning-blink-off` (2 s / 2 s) | `--flash-slow-on`, `--flash-slow-off` | 400 ms / 1200 ms | warning, medium |
5
+ | none | `--flash-very-slow-on`, `--flash-very-slow-off` | 400 ms / 2800 ms | low, and any rectified alert |
@@ -0,0 +1,6 @@
1
+ | 1.0.1 | 2.0 |
2
+ | ------------------------------------- | -------------------------- |
3
+ | `obi-bipolar_transistor-*` (14 icons) | `obi-bipolar-transistor-*` |
4
+ | `obi-chevron-tripple-left` | `obi-chevron-triple-left` |
5
+ | `obi-chevron-tripple-right` | `obi-chevron-triple-right` |
6
+ | `obi-heat_pump_balance` | `obi-heat-pump-balance` |
@@ -0,0 +1,16 @@
1
+ | 1.0.1 suffix | 2.0 suffix |
2
+ | ------------------- | ------------------------------------------------------------ |
3
+ | `-1` (name reused) | `-0` |
4
+ | `-2` | `-1` |
5
+ | `-3` | `-5` |
6
+ | `-4` | `-10` |
7
+ | `-5` (name reused) | `-15` |
8
+ | `-6` | `-20` |
9
+ | `-7` | `-25` |
10
+ | `-8` | `-30` |
11
+ | `-9` | `-35` |
12
+ | `-10` (name reused) | `-40`; `obi-wind-true-*` has no `-40`, so use `-35` or `-45` |
13
+ | `-11` | `-45` |
14
+ | `-12` | `-50` |
15
+ | `-13` | `-60` |
16
+ | `-14` | `-70` |
@@ -0,0 +1,8 @@
1
+ | Component | 1.0.1 snippet | 2.0 snippet |
2
+ | ------------------------------------------------------------------------- | ------------------------------- | ---------------------------------------------------- |
3
+ | `ObcTabItem` | `title` | `titleSnippet` |
4
+ | `ObcTitleContainer` | `label` | `labelSnippet` |
5
+ | `ObcFormContainer` | `contentTitle` | `contentTitleSnippet` |
6
+ | `ObcMessageMenuItem` | `title`, `description` | `titleSnippet`, `descriptionSnippet` |
7
+ | `ObcChartObjectVesselButton` | `name`, `number`, `vesselImage` | `nameSnippet`, `numberSnippet`, `vesselImageSnippet` |
8
+ | `ObcFloatingItem`, `ObcAdviceFloatingItem`, `ObcNotificationFloatingItem` | `action`, `action2` | `actionSnippet`, `action2Snippet` |
@@ -0,0 +1,10 @@
1
+ | Element | 1.0.1 | 2.0 |
2
+ | ------------------------------ | ---------------------------- | -------------------------------------------------------------- |
3
+ | `obc-wind` | `currentWindSpeedBeaufort` | `currentWindSpeedKnots` |
4
+ | `obc-wind-indicator` | `speed` | `currentWindSpeedKnots` (attribute `current-wind-speed-knots`) |
5
+ | `obc-compass` | `windSpeed` | `currentWindSpeedKnots` |
6
+ | `obc-watch` | `wind` | `windKnots` |
7
+ | `obc-velocity-projection-plot` | `instantWindSpeedNumber` | `currentWindSpeedKnots` |
8
+ | `obc-velocity-projection-plot` | `instantWindDirectionDeg` | `currentWindFromDirection` |
9
+ | `obc-velocity-projection-plot` | `instantCurrentSpeedNumber` | `currentSpeedKnots` |
10
+ | `obc-velocity-projection-plot` | `instantCurrentDirectionDeg` | `currentFromDirection` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oicl/openbridge-webcomponents-full-bundle",
3
- "version": "2.0.0-next.162",
3
+ "version": "2.0.0-next.163",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -45,11 +45,7 @@ import path from 'path';
45
45
  import {globby} from 'globby';
46
46
 
47
47
  // Undefined CSS variables that only a fix in Figma can resolve (#929).
48
- const allowedUndefinedVariables = new Set([
49
- // B-7: Figma binds both to variables missing from Component-size
50
- '--ui-components-keyboard-numeric-component-height-min',
51
- '--ui-components-keyboard-numeric-touch-target-size',
52
- ]);
48
+ const allowedUndefinedVariables = new Set<string>([]);
53
49
 
54
50
  interface VariableDefinitionLocation {
55
51
  file: string;
@@ -3,7 +3,6 @@
3
3
  width: fit-content;
4
4
  height: fit-content;
5
5
  min-width: var(--ui-components-keyboard-numeric-component-width-min);
6
- min-height: var(--ui-components-keyboard-numeric-component-height-min);
7
6
  flex-direction: column;
8
7
  align-items: flex-start;
9
8
  border-radius: var(--ui-components-keyboard-numeric-border-radius);
@@ -114,7 +113,7 @@ obc-icon-button.calculation-button::part(visible-wrapper) {
114
113
 
115
114
  .key-button {
116
115
  flex: 1 0 0;
117
- min-width: var(--ui-components-keyboard-numeric-touch-target-size);
116
+ min-width: var(--ui-components-keyboard-numeric-button-size-min);
118
117
  min-height: var(--ui-components-keyboard-numeric-button-size-min);
119
118
  height: var(--ui-components-keyboard-numeric-button-size-min);
120
119
  }
@@ -123,7 +122,7 @@ obc-button.key-button::part(visible-wrapper) {
123
122
  box-sizing: border-box;
124
123
  display: flex;
125
124
  flex: 1 0 0;
126
- min-width: var(--ui-components-keyboard-numeric-touch-target-size);
125
+ min-width: var(--ui-components-keyboard-numeric-button-size-min);
127
126
  min-height: var(--ui-components-keyboard-numeric-button-size-min);
128
127
  height: 100%;
129
128
  align-items: center;