@oicl/openbridge-webcomponents-svelte 2.1.0-next.1 → 2.1.0-next.11

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 (113) hide show
  1. package/dist/automation/analog-threeway-valve/ObcAnalogThreewayValve.svelte +110 -0
  2. package/dist/automation/analog-threeway-valve/ObcAnalogThreewayValve.svelte.d.ts +90 -0
  3. package/dist/automation/digital-threeway-valve/ObcDigitalThreewayValve.svelte +110 -0
  4. package/dist/automation/digital-threeway-valve/ObcDigitalThreewayValve.svelte.d.ts +90 -0
  5. package/dist/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon.svelte +20 -6
  6. package/dist/automation/valve-analog-three-way-icon/ObcValveAnalogThreeWayIcon.svelte.d.ts +22 -5
  7. package/dist/automation/valve-analoge-two-way-icon/ObcValveAnalogTwoWayIcon.svelte +7 -1
  8. package/dist/automation/valve-analoge-two-way-icon/ObcValveAnalogTwoWayIcon.svelte.d.ts +7 -1
  9. package/dist/building-blocks/alert-list/ObcAlertList.svelte +1 -0
  10. package/dist/building-blocks/alert-list/ObcAlertList.svelte.d.ts +1 -0
  11. package/dist/building-blocks/alert-list/ObcAlertListBase.svelte +34 -0
  12. package/dist/building-blocks/alert-list/ObcAlertListBase.svelte.d.ts +15 -0
  13. package/dist/components/alert-menu/ObcAlertMenu.svelte +2 -2
  14. package/dist/components/alert-menu/ObcAlertMenu.svelte.d.ts +2 -2
  15. package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte +3 -1
  16. package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte.d.ts +3 -1
  17. package/dist/components/app-menu/ObcAppMenu.svelte +2 -2
  18. package/dist/components/app-menu/ObcAppMenu.svelte.d.ts +2 -2
  19. package/dist/components/brilliance-menu/ObcBrillianceMenu.svelte +6 -4
  20. package/dist/components/brilliance-menu/ObcBrillianceMenu.svelte.d.ts +5 -4
  21. package/dist/components/command-menu/ObcCommandMenu.svelte +2 -2
  22. package/dist/components/command-menu/ObcCommandMenu.svelte.d.ts +2 -2
  23. package/dist/components/context-menu-input/ObcContextMenuInput.svelte +2 -2
  24. package/dist/components/context-menu-input/ObcContextMenuInput.svelte.d.ts +2 -2
  25. package/dist/components/navigation-menu/ObcNavigationMenu.svelte +2 -2
  26. package/dist/components/navigation-menu/ObcNavigationMenu.svelte.d.ts +2 -2
  27. package/dist/components/system-menu/ObcSystemMenu.svelte +2 -2
  28. package/dist/components/system-menu/ObcSystemMenu.svelte.d.ts +2 -2
  29. package/dist/components/user-menu/ObcUserMenu.svelte +2 -2
  30. package/dist/components/user-menu/ObcUserMenu.svelte.d.ts +2 -2
  31. package/dist/icons/ObiElectricBolt.svelte +34 -0
  32. package/dist/icons/ObiElectricBolt.svelte.d.ts +16 -0
  33. package/dist/icons/ObiElectricLightning.svelte +34 -0
  34. package/dist/icons/ObiElectricLightning.svelte.d.ts +16 -0
  35. package/dist/icons/ObiFormatBoldGoogle.svelte +34 -0
  36. package/dist/icons/ObiFormatBoldGoogle.svelte.d.ts +16 -0
  37. package/dist/icons/ObiFormatItalicGoogle.svelte +34 -0
  38. package/dist/icons/ObiFormatItalicGoogle.svelte.d.ts +16 -0
  39. package/dist/icons/ObiFormatListBulletedGoogle.svelte +34 -0
  40. package/dist/icons/ObiFormatListBulletedGoogle.svelte.d.ts +16 -0
  41. package/dist/icons/ObiFormatListNumberedGoogle.svelte +34 -0
  42. package/dist/icons/ObiFormatListNumberedGoogle.svelte.d.ts +16 -0
  43. package/dist/icons/ObiFormatUnderlineGoogle.svelte +34 -0
  44. package/dist/icons/ObiFormatUnderlineGoogle.svelte.d.ts +16 -0
  45. package/dist/icons/ObiLevelDisplacementTransmitter.svelte +34 -0
  46. package/dist/icons/ObiLevelDisplacementTransmitter.svelte.d.ts +16 -0
  47. package/dist/icons/ObiLink2.svelte +34 -0
  48. package/dist/icons/ObiLink2.svelte.d.ts +16 -0
  49. package/dist/icons/ObiLogOpen.svelte +34 -0
  50. package/dist/icons/ObiLogOpen.svelte.d.ts +16 -0
  51. package/dist/icons/ObiQuantity.svelte +34 -0
  52. package/dist/icons/ObiQuantity.svelte.d.ts +16 -0
  53. package/dist/icons/ObiSimulate.svelte +34 -0
  54. package/dist/icons/ObiSimulate.svelte.d.ts +16 -0
  55. package/dist/icons/ObiTestTube.svelte +34 -0
  56. package/dist/icons/ObiTestTube.svelte.d.ts +16 -0
  57. package/dist/icons/ObiTimer.svelte +34 -0
  58. package/dist/icons/ObiTimer.svelte.d.ts +16 -0
  59. package/dist/icons/ObiTimer2.svelte +34 -0
  60. package/dist/icons/ObiTimer2.svelte.d.ts +16 -0
  61. package/dist/index.d.ts +26 -7
  62. package/dist/index.js +26 -7
  63. package/dist/{icons → manual-icon}/ObiCriticalAcknowledged.svelte +1 -1
  64. package/dist/{icons → manual-icon}/ObiCriticalAcknowledged.svelte.d.ts +1 -1
  65. package/dist/{icons → manual-icon}/ObiCriticalBadge.svelte +1 -1
  66. package/dist/{icons → manual-icon}/ObiCriticalBadge.svelte.d.ts +1 -1
  67. package/dist/{icons → manual-icon}/ObiCriticalNoack.svelte +1 -1
  68. package/dist/{icons → manual-icon}/ObiCriticalNoack.svelte.d.ts +1 -1
  69. package/dist/{icons → manual-icon}/ObiCriticalRectified.svelte +1 -1
  70. package/dist/{icons → manual-icon}/ObiCriticalRectified.svelte.d.ts +1 -1
  71. package/dist/{icons → manual-icon}/ObiCriticalSilenced.svelte +1 -1
  72. package/dist/{icons → manual-icon}/ObiCriticalSilenced.svelte.d.ts +1 -1
  73. package/dist/{icons → manual-icon}/ObiCriticalTransferred.svelte +1 -1
  74. package/dist/{icons → manual-icon}/ObiCriticalTransferred.svelte.d.ts +1 -1
  75. package/dist/{icons → manual-icon}/ObiCriticalUnacknowledged.svelte +1 -1
  76. package/dist/{icons → manual-icon}/ObiCriticalUnacknowledged.svelte.d.ts +1 -1
  77. package/dist/navigation-instruments/compass/ObcCompass.svelte +8 -2
  78. package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +8 -1
  79. package/dist/navigation-instruments/current/ObcCurrent.svelte +8 -2
  80. package/dist/navigation-instruments/current/ObcCurrent.svelte.d.ts +8 -1
  81. package/dist/navigation-instruments/depth/ObcDepth.svelte +8 -2
  82. package/dist/navigation-instruments/depth/ObcDepth.svelte.d.ts +8 -1
  83. package/dist/navigation-instruments/depth/ObcDepthTopBand.svelte +8 -0
  84. package/dist/navigation-instruments/depth/ObcDepthTopBand.svelte.d.ts +8 -0
  85. package/dist/navigation-instruments/depth-actual/ObcDepthActual.svelte +4 -0
  86. package/dist/navigation-instruments/depth-actual/ObcDepthActual.svelte.d.ts +4 -0
  87. package/dist/navigation-instruments/draft-trim/ObcDraftTrim.svelte +4 -0
  88. package/dist/navigation-instruments/draft-trim/ObcDraftTrim.svelte.d.ts +4 -0
  89. package/dist/navigation-instruments/heading/ObcHeading.svelte +8 -2
  90. package/dist/navigation-instruments/heading/ObcHeading.svelte.d.ts +8 -1
  91. package/dist/navigation-instruments/heave/ObcHeave.svelte +8 -0
  92. package/dist/navigation-instruments/heave/ObcHeave.svelte.d.ts +8 -0
  93. package/dist/navigation-instruments/pitch/ObcPitch.svelte +4 -2
  94. package/dist/navigation-instruments/pitch/ObcPitch.svelte.d.ts +4 -1
  95. package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte +14 -2
  96. package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte.d.ts +14 -1
  97. package/dist/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.svelte +14 -2
  98. package/dist/navigation-instruments/pitch-roll-heave/ObcPitchRollHeave.svelte.d.ts +14 -1
  99. package/dist/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.svelte +8 -2
  100. package/dist/navigation-instruments/pitch-roll-yaw/ObcPitchRollYaw.svelte.d.ts +8 -1
  101. package/dist/navigation-instruments/roll/ObcRoll.svelte +4 -2
  102. package/dist/navigation-instruments/roll/ObcRoll.svelte.d.ts +4 -1
  103. package/dist/navigation-instruments/speed-directions/ObcSpeedDirections.svelte +5 -3
  104. package/dist/navigation-instruments/speed-directions/ObcSpeedDirections.svelte.d.ts +4 -1
  105. package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte +5 -3
  106. package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte.d.ts +4 -1
  107. package/dist/navigation-instruments/wind/ObcWind.svelte +4 -2
  108. package/dist/navigation-instruments/wind/ObcWind.svelte.d.ts +4 -1
  109. package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte +11 -3
  110. package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte.d.ts +10 -2
  111. package/dist/pages/alert-list-page-small/ObcAlertListPageSmallBase.svelte +43 -0
  112. package/dist/pages/alert-list-page-small/ObcAlertListPageSmallBase.svelte.d.ts +25 -0
  113. package/package.json +2 -2
@@ -9,6 +9,8 @@ export interface Props {
9
9
  hasIcon?: boolean;
10
10
  /** Indicates if the alert is shelved (temporarily deferred). When true, a tertiary icon is shown to represent the shelved state. */
11
11
  shelved?: boolean;
12
+ /** Indicates that another system has blocked the alert as not relevant here. For menus that list blocked alerts apart; the item itself shows no marker for it yet. */
13
+ blocked?: boolean;
12
14
  /** The title of the alert. */
13
15
  title?: string;
14
16
  /** The description of the alert. */
@@ -17,7 +19,7 @@ export interface Props {
17
19
  day?: string;
18
20
  /** The time label for the alert (e.g., "14:30"). */
19
21
  time?: string;
20
- /** The current status of the alert item. Determines visual style, icon, and action button visibility. Possible values: 'unacknowledged', 'caution', 'acknowledged', 'no-ack-alarm', 'no-ack-warning', 'rectified'. Default is 'unacknowledged'. */
22
+ /** The current status of the alert item. Determines visual style, icon, and action button visibility. Possible values: 'unacknowledged', 'caution', 'acknowledged', 'no-ack-alarm', 'no-ack-warning', 'rectified', 'rectified-unacknowledged'. 'unacknowledged' and 'rectified-unacknowledged' show the ACK action; the other values show a trailing icon instead. Default is 'unacknowledged'. */
21
23
  status?: ObcAlertMenuItemStatus;
22
24
  /** Whether the item is expanded/open to show additional details. Toggled by clicking the item. */
23
25
  open?: boolean;
@@ -9,10 +9,10 @@
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
- /** Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself. */
12
+ /** Lets the menu close itself on a click outside it, on `Escape`, or when another menu opens. The page is covered while the menu is open, so the closing click reaches nothing there; only the top bar's strip stays clickable, which is how its buttons switch or close menus in one click. Wire it with three bindings: set `softDismiss`, bind `open` to a flag you keep, and reset that flag on `close`. The button that opens the menu needs no wiring of its own: flip the flag from its click, or from the button event of `obc-top-bar` or `obc-integration-bar`. The user menu's *Soft Dismiss From A Bar Button* story shows that wiring, the brilliance menu's *Soft Dismiss* story the one for a button you hold yourself (`bindPopoverTrigger`), and the vue demo runs its top bar this way. Leave it off to show and hide the menu yourself. */
13
13
  softDismiss?: boolean;
14
14
  /**
15
- * Whether the menu is showing.
15
+ * Whether the menu is showing. Bind it to a flag you keep rather than toggling it from the menu's own value: when the menu closes itself, `open` is written back to `false` before the button's click reaches your handler, so `menu.open = !menu.open` gets out of step. Reset the flag on `close`.
16
16
  *
17
17
  * Available when `softDismiss==true`.
18
18
  */
@@ -3,10 +3,10 @@ import type { Snippet } from 'svelte';
3
3
  export interface Props {
4
4
  class?: string;
5
5
  style?: string;
6
- /** Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself. */
6
+ /** Lets the menu close itself on a click outside it, on `Escape`, or when another menu opens. The page is covered while the menu is open, so the closing click reaches nothing there; only the top bar's strip stays clickable, which is how its buttons switch or close menus in one click. Wire it with three bindings: set `softDismiss`, bind `open` to a flag you keep, and reset that flag on `close`. The button that opens the menu needs no wiring of its own: flip the flag from its click, or from the button event of `obc-top-bar` or `obc-integration-bar`. The user menu's *Soft Dismiss From A Bar Button* story shows that wiring, the brilliance menu's *Soft Dismiss* story the one for a button you hold yourself (`bindPopoverTrigger`), and the vue demo runs its top bar this way. Leave it off to show and hide the menu yourself. */
7
7
  softDismiss?: boolean;
8
8
  /**
9
- * Whether the menu is showing.
9
+ * Whether the menu is showing. Bind it to a flag you keep rather than toggling it from the menu's own value: when the menu closes itself, `open` is written back to `false` before the button's click reaches your handler, so `menu.open = !menu.open` gets out of step. Reset the flag on `close`.
10
10
  *
11
11
  * Available when `softDismiss==true`.
12
12
  */
@@ -1,19 +1,21 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcPalette, ObcBrillianceMenuVariant, ObcBrillianceInputVariant} from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';
3
+ export type {ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcBrillianceMenuVariant, ObcBrillianceInputVariant} from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';
4
+ export type {ObcPalette} from '@oicl/openbridge-webcomponents/dist/charthelpers/theme.js';
4
5
  import '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';
5
6
  import { setProperties, forwardEvents } from "../../util.js";
6
7
  import NamedSlot from "../../NamedSlot.svelte";
7
- import type {ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcPalette, ObcBrillianceMenuVariant, ObcBrillianceInputVariant} from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';
8
+ import type {ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcBrillianceMenuVariant, ObcBrillianceInputVariant} from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';
9
+ import type {ObcPalette} from '@oicl/openbridge-webcomponents/dist/charthelpers/theme.js';
8
10
  import type { Snippet } from 'svelte';
9
11
 
10
12
  export interface Props {
11
13
  class?: string;
12
14
  style?: string;
13
- /** Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself. */
15
+ /** Lets the menu close itself on a click outside it, on `Escape`, or when another menu opens. The page is covered while the menu is open, so the closing click reaches nothing there; only the top bar's strip stays clickable, which is how its buttons switch or close menus in one click. Wire it with three bindings: set `softDismiss`, bind `open` to a flag you keep, and reset that flag on `close`. The button that opens the menu needs no wiring of its own: flip the flag from its click, or from the button event of `obc-top-bar` or `obc-integration-bar`. The user menu's *Soft Dismiss From A Bar Button* story shows that wiring, the brilliance menu's *Soft Dismiss* story the one for a button you hold yourself (`bindPopoverTrigger`), and the vue demo runs its top bar this way. Leave it off to show and hide the menu yourself. */
14
16
  softDismiss?: boolean;
15
17
  /**
16
- * Whether the menu is showing.
18
+ * Whether the menu is showing. Bind it to a flag you keep rather than toggling it from the menu's own value: when the menu closes itself, `open` is written back to `false` before the button's click reaches your handler, so `menu.open = !menu.open` gets out of step. Reset the flag on `close`.
17
19
  *
18
20
  * Available when `softDismiss==true`.
19
21
  */
@@ -1,13 +1,14 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';
2
- import type { ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcPalette, ObcBrillianceMenuVariant, ObcBrillianceInputVariant } from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';
2
+ import type { ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcBrillianceMenuVariant, ObcBrillianceInputVariant } from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';
3
+ import type { ObcPalette } from '@oicl/openbridge-webcomponents/dist/charthelpers/theme.js';
3
4
  import type { Snippet } from 'svelte';
4
5
  export interface Props {
5
6
  class?: string;
6
7
  style?: string;
7
- /** Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself. */
8
+ /** Lets the menu close itself on a click outside it, on `Escape`, or when another menu opens. The page is covered while the menu is open, so the closing click reaches nothing there; only the top bar's strip stays clickable, which is how its buttons switch or close menus in one click. Wire it with three bindings: set `softDismiss`, bind `open` to a flag you keep, and reset that flag on `close`. The button that opens the menu needs no wiring of its own: flip the flag from its click, or from the button event of `obc-top-bar` or `obc-integration-bar`. The user menu's *Soft Dismiss From A Bar Button* story shows that wiring, the brilliance menu's *Soft Dismiss* story the one for a button you hold yourself (`bindPopoverTrigger`), and the vue demo runs its top bar this way. Leave it off to show and hide the menu yourself. */
8
9
  softDismiss?: boolean;
9
10
  /**
10
- * Whether the menu is showing.
11
+ * Whether the menu is showing. Bind it to a flag you keep rather than toggling it from the menu's own value: when the menu closes itself, `open` is written back to `false` before the button's click reaches your handler, so `menu.open = !menu.open` gets out of step. Reset the flag on `close`.
11
12
  *
12
13
  * Available when `softDismiss==true`.
13
14
  */
@@ -62,9 +63,9 @@ declare const ObcBrillianceMenu: import("svelte").Component<$$ComponentProps, {
62
63
  ObcBrightnessChangeEvent: typeof ObcBrightnessChangeEvent;
63
64
  ObcLinkPaletteChangeEvent: typeof ObcLinkPaletteChangeEvent;
64
65
  ObcLinkBrightnessChangeEvent: typeof ObcLinkBrightnessChangeEvent;
65
- ObcPalette: typeof ObcPalette;
66
66
  ObcBrillianceMenuVariant: typeof ObcBrillianceMenuVariant;
67
67
  ObcBrillianceInputVariant: typeof ObcBrillianceInputVariant;
68
+ ObcPalette: typeof ObcPalette;
68
69
  }, "">;
69
70
  type ObcBrillianceMenu = ReturnType<typeof ObcBrillianceMenu>;
70
71
  export default ObcBrillianceMenu;
@@ -10,10 +10,10 @@
10
10
  export interface Props {
11
11
  class?: string;
12
12
  style?: string;
13
- /** Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself. */
13
+ /** Lets the menu close itself on a click outside it, on `Escape`, or when another menu opens. The page is covered while the menu is open, so the closing click reaches nothing there; only the top bar's strip stays clickable, which is how its buttons switch or close menus in one click. Wire it with three bindings: set `softDismiss`, bind `open` to a flag you keep, and reset that flag on `close`. The button that opens the menu needs no wiring of its own: flip the flag from its click, or from the button event of `obc-top-bar` or `obc-integration-bar`. The user menu's *Soft Dismiss From A Bar Button* story shows that wiring, the brilliance menu's *Soft Dismiss* story the one for a button you hold yourself (`bindPopoverTrigger`), and the vue demo runs its top bar this way. Leave it off to show and hide the menu yourself. */
14
14
  softDismiss?: boolean;
15
15
  /**
16
- * Whether the menu is showing.
16
+ * Whether the menu is showing. Bind it to a flag you keep rather than toggling it from the menu's own value: when the menu closes itself, `open` is written back to `false` before the button's click reaches your handler, so `menu.open = !menu.open` gets out of step. Reset the flag on `close`.
17
17
  *
18
18
  * Available when `softDismiss==true`.
19
19
  */
@@ -3,10 +3,10 @@ import type { Snippet } from 'svelte';
3
3
  export interface Props {
4
4
  class?: string;
5
5
  style?: string;
6
- /** Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself. */
6
+ /** Lets the menu close itself on a click outside it, on `Escape`, or when another menu opens. The page is covered while the menu is open, so the closing click reaches nothing there; only the top bar's strip stays clickable, which is how its buttons switch or close menus in one click. Wire it with three bindings: set `softDismiss`, bind `open` to a flag you keep, and reset that flag on `close`. The button that opens the menu needs no wiring of its own: flip the flag from its click, or from the button event of `obc-top-bar` or `obc-integration-bar`. The user menu's *Soft Dismiss From A Bar Button* story shows that wiring, the brilliance menu's *Soft Dismiss* story the one for a button you hold yourself (`bindPopoverTrigger`), and the vue demo runs its top bar this way. Leave it off to show and hide the menu yourself. */
7
7
  softDismiss?: boolean;
8
8
  /**
9
- * Whether the menu is showing.
9
+ * Whether the menu is showing. Bind it to a flag you keep rather than toggling it from the menu's own value: when the menu closes itself, `open` is written back to `false` before the button's click reaches your handler, so `menu.open = !menu.open` gets out of step. Reset the flag on `close`.
10
10
  *
11
11
  * Available when `softDismiss==true`.
12
12
  */
@@ -9,10 +9,10 @@
9
9
  export interface Props {
10
10
  class?: string;
11
11
  style?: string;
12
- /** Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself. */
12
+ /** Lets the menu close itself on a click outside it, on `Escape`, or when another menu opens. The page is covered while the menu is open, so the closing click reaches nothing there; only the top bar's strip stays clickable, which is how its buttons switch or close menus in one click. Wire it with three bindings: set `softDismiss`, bind `open` to a flag you keep, and reset that flag on `close`. The button that opens the menu needs no wiring of its own: flip the flag from its click, or from the button event of `obc-top-bar` or `obc-integration-bar`. The user menu's *Soft Dismiss From A Bar Button* story shows that wiring, the brilliance menu's *Soft Dismiss* story the one for a button you hold yourself (`bindPopoverTrigger`), and the vue demo runs its top bar this way. Leave it off to show and hide the menu yourself. */
13
13
  softDismiss?: boolean;
14
14
  /**
15
- * Whether the menu is showing.
15
+ * Whether the menu is showing. Bind it to a flag you keep rather than toggling it from the menu's own value: when the menu closes itself, `open` is written back to `false` before the button's click reaches your handler, so `menu.open = !menu.open` gets out of step. Reset the flag on `close`.
16
16
  *
17
17
  * Available when `softDismiss==true`.
18
18
  */
@@ -4,10 +4,10 @@ import type { Snippet } from 'svelte';
4
4
  export interface Props {
5
5
  class?: string;
6
6
  style?: string;
7
- /** Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself. */
7
+ /** Lets the menu close itself on a click outside it, on `Escape`, or when another menu opens. The page is covered while the menu is open, so the closing click reaches nothing there; only the top bar's strip stays clickable, which is how its buttons switch or close menus in one click. Wire it with three bindings: set `softDismiss`, bind `open` to a flag you keep, and reset that flag on `close`. The button that opens the menu needs no wiring of its own: flip the flag from its click, or from the button event of `obc-top-bar` or `obc-integration-bar`. The user menu's *Soft Dismiss From A Bar Button* story shows that wiring, the brilliance menu's *Soft Dismiss* story the one for a button you hold yourself (`bindPopoverTrigger`), and the vue demo runs its top bar this way. Leave it off to show and hide the menu yourself. */
8
8
  softDismiss?: boolean;
9
9
  /**
10
- * Whether the menu is showing.
10
+ * Whether the menu is showing. Bind it to a flag you keep rather than toggling it from the menu's own value: when the menu closes itself, `open` is written back to `false` before the button's click reaches your handler, so `menu.open = !menu.open` gets out of step. Reset the flag on `close`.
11
11
  *
12
12
  * Available when `softDismiss==true`.
13
13
  */
@@ -10,10 +10,10 @@
10
10
  export interface Props {
11
11
  class?: string;
12
12
  style?: string;
13
- /** Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself. */
13
+ /** Lets the menu close itself on a click outside it, on `Escape`, or when another menu opens. The page is covered while the menu is open, so the closing click reaches nothing there; only the top bar's strip stays clickable, which is how its buttons switch or close menus in one click. Wire it with three bindings: set `softDismiss`, bind `open` to a flag you keep, and reset that flag on `close`. The button that opens the menu needs no wiring of its own: flip the flag from its click, or from the button event of `obc-top-bar` or `obc-integration-bar`. The user menu's *Soft Dismiss From A Bar Button* story shows that wiring, the brilliance menu's *Soft Dismiss* story the one for a button you hold yourself (`bindPopoverTrigger`), and the vue demo runs its top bar this way. Leave it off to show and hide the menu yourself. */
14
14
  softDismiss?: boolean;
15
15
  /**
16
- * Whether the menu is showing.
16
+ * Whether the menu is showing. Bind it to a flag you keep rather than toggling it from the menu's own value: when the menu closes itself, `open` is written back to `false` before the button's click reaches your handler, so `menu.open = !menu.open` gets out of step. Reset the flag on `close`.
17
17
  *
18
18
  * Available when `softDismiss==true`.
19
19
  */
@@ -4,10 +4,10 @@ import type { Snippet } from 'svelte';
4
4
  export interface Props {
5
5
  class?: string;
6
6
  style?: string;
7
- /** Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself. */
7
+ /** Lets the menu close itself on a click outside it, on `Escape`, or when another menu opens. The page is covered while the menu is open, so the closing click reaches nothing there; only the top bar's strip stays clickable, which is how its buttons switch or close menus in one click. Wire it with three bindings: set `softDismiss`, bind `open` to a flag you keep, and reset that flag on `close`. The button that opens the menu needs no wiring of its own: flip the flag from its click, or from the button event of `obc-top-bar` or `obc-integration-bar`. The user menu's *Soft Dismiss From A Bar Button* story shows that wiring, the brilliance menu's *Soft Dismiss* story the one for a button you hold yourself (`bindPopoverTrigger`), and the vue demo runs its top bar this way. Leave it off to show and hide the menu yourself. */
8
8
  softDismiss?: boolean;
9
9
  /**
10
- * Whether the menu is showing.
10
+ * Whether the menu is showing. Bind it to a flag you keep rather than toggling it from the menu's own value: when the menu closes itself, `open` is written back to `false` before the button's click reaches your handler, so `menu.open = !menu.open` gets out of step. Reset the flag on `close`.
11
11
  *
12
12
  * Available when `softDismiss==true`.
13
13
  */
@@ -10,10 +10,10 @@
10
10
  export interface Props {
11
11
  class?: string;
12
12
  style?: string;
13
- /** Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself. */
13
+ /** Lets the menu close itself on a click outside it, on `Escape`, or when another menu opens. The page is covered while the menu is open, so the closing click reaches nothing there; only the top bar's strip stays clickable, which is how its buttons switch or close menus in one click. Wire it with three bindings: set `softDismiss`, bind `open` to a flag you keep, and reset that flag on `close`. The button that opens the menu needs no wiring of its own: flip the flag from its click, or from the button event of `obc-top-bar` or `obc-integration-bar`. The user menu's *Soft Dismiss From A Bar Button* story shows that wiring, the brilliance menu's *Soft Dismiss* story the one for a button you hold yourself (`bindPopoverTrigger`), and the vue demo runs its top bar this way. Leave it off to show and hide the menu yourself. */
14
14
  softDismiss?: boolean;
15
15
  /**
16
- * Whether the menu is showing.
16
+ * Whether the menu is showing. Bind it to a flag you keep rather than toggling it from the menu's own value: when the menu closes itself, `open` is written back to `false` before the button's click reaches your handler, so `menu.open = !menu.open` gets out of step. Reset the flag on `close`.
17
17
  *
18
18
  * Available when `softDismiss==true`.
19
19
  */
@@ -4,10 +4,10 @@ import type { Snippet } from 'svelte';
4
4
  export interface Props {
5
5
  class?: string;
6
6
  style?: string;
7
- /** Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself. */
7
+ /** Lets the menu close itself on a click outside it, on `Escape`, or when another menu opens. The page is covered while the menu is open, so the closing click reaches nothing there; only the top bar's strip stays clickable, which is how its buttons switch or close menus in one click. Wire it with three bindings: set `softDismiss`, bind `open` to a flag you keep, and reset that flag on `close`. The button that opens the menu needs no wiring of its own: flip the flag from its click, or from the button event of `obc-top-bar` or `obc-integration-bar`. The user menu's *Soft Dismiss From A Bar Button* story shows that wiring, the brilliance menu's *Soft Dismiss* story the one for a button you hold yourself (`bindPopoverTrigger`), and the vue demo runs its top bar this way. Leave it off to show and hide the menu yourself. */
8
8
  softDismiss?: boolean;
9
9
  /**
10
- * Whether the menu is showing.
10
+ * Whether the menu is showing. Bind it to a flag you keep rather than toggling it from the menu's own value: when the menu closes itself, `open` is written back to `false` before the button's click reaches your handler, so `menu.open = !menu.open` gets out of step. Reset the flag on `close`.
11
11
  *
12
12
  * Available when `softDismiss==true`.
13
13
  */
@@ -10,10 +10,10 @@
10
10
  export interface Props {
11
11
  class?: string;
12
12
  style?: string;
13
- /** Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself. */
13
+ /** Lets the menu close itself on a click outside it, on `Escape`, or when another menu opens. The page is covered while the menu is open, so the closing click reaches nothing there; only the top bar's strip stays clickable, which is how its buttons switch or close menus in one click. Wire it with three bindings: set `softDismiss`, bind `open` to a flag you keep, and reset that flag on `close`. The button that opens the menu needs no wiring of its own: flip the flag from its click, or from the button event of `obc-top-bar` or `obc-integration-bar`. The user menu's *Soft Dismiss From A Bar Button* story shows that wiring, the brilliance menu's *Soft Dismiss* story the one for a button you hold yourself (`bindPopoverTrigger`), and the vue demo runs its top bar this way. Leave it off to show and hide the menu yourself. */
14
14
  softDismiss?: boolean;
15
15
  /**
16
- * Whether the menu is showing.
16
+ * Whether the menu is showing. Bind it to a flag you keep rather than toggling it from the menu's own value: when the menu closes itself, `open` is written back to `false` before the button's click reaches your handler, so `menu.open = !menu.open` gets out of step. Reset the flag on `close`.
17
17
  *
18
18
  * Available when `softDismiss==true`.
19
19
  */
@@ -4,10 +4,10 @@ import type { Snippet } from 'svelte';
4
4
  export interface Props {
5
5
  class?: string;
6
6
  style?: string;
7
- /** Let the browser close this menu on its own: on a click outside it, on `Escape`, or when another menu opens. Leave it off to keep showing and hiding the menu yourself. */
7
+ /** Lets the menu close itself on a click outside it, on `Escape`, or when another menu opens. The page is covered while the menu is open, so the closing click reaches nothing there; only the top bar's strip stays clickable, which is how its buttons switch or close menus in one click. Wire it with three bindings: set `softDismiss`, bind `open` to a flag you keep, and reset that flag on `close`. The button that opens the menu needs no wiring of its own: flip the flag from its click, or from the button event of `obc-top-bar` or `obc-integration-bar`. The user menu's *Soft Dismiss From A Bar Button* story shows that wiring, the brilliance menu's *Soft Dismiss* story the one for a button you hold yourself (`bindPopoverTrigger`), and the vue demo runs its top bar this way. Leave it off to show and hide the menu yourself. */
8
8
  softDismiss?: boolean;
9
9
  /**
10
- * Whether the menu is showing.
10
+ * Whether the menu is showing. Bind it to a flag you keep rather than toggling it from the menu's own value: when the menu closes itself, `open` is written back to `false` before the button's click reaches your handler, so `menu.open = !menu.open` gets out of step. Reset the flag on `close`.
11
11
  *
12
12
  * Available when `softDismiss==true`.
13
13
  */
@@ -0,0 +1,34 @@
1
+
2
+ <script lang="ts">
3
+
4
+ import '@oicl/openbridge-webcomponents/dist/icons/icon-electric-bolt.js';
5
+ import { setProperties } from "../util.js";
6
+
7
+ import type { Snippet } from 'svelte';
8
+
9
+ export interface Props {
10
+ class?: string;
11
+ style?: string;
12
+ useCssColor?: boolean
13
+ }
14
+ export interface Events {
15
+
16
+ }
17
+ export interface Slots {
18
+ children?: Snippet
19
+ }
20
+ const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
21
+
22
+
23
+ </script>
24
+ <obi-electric-bolt
25
+ use:setProperties={props}
26
+
27
+ class={className}
28
+ style={style}
29
+ >
30
+
31
+ {#if children}
32
+ {@render children()}
33
+ {/if}
34
+ </obi-electric-bolt>
@@ -0,0 +1,16 @@
1
+ import '@oicl/openbridge-webcomponents/dist/icons/icon-electric-bolt.js';
2
+ import type { Snippet } from 'svelte';
3
+ export interface Props {
4
+ class?: string;
5
+ style?: string;
6
+ useCssColor?: boolean;
7
+ }
8
+ export interface Events {
9
+ }
10
+ export interface Slots {
11
+ children?: Snippet;
12
+ }
13
+ type $$ComponentProps = Props & Events & Slots;
14
+ declare const ObiElectricBolt: import("svelte").Component<$$ComponentProps, {}, "">;
15
+ type ObiElectricBolt = ReturnType<typeof ObiElectricBolt>;
16
+ export default ObiElectricBolt;
@@ -0,0 +1,34 @@
1
+
2
+ <script lang="ts">
3
+
4
+ import '@oicl/openbridge-webcomponents/dist/icons/icon-electric-lightning.js';
5
+ import { setProperties } from "../util.js";
6
+
7
+ import type { Snippet } from 'svelte';
8
+
9
+ export interface Props {
10
+ class?: string;
11
+ style?: string;
12
+ useCssColor?: boolean
13
+ }
14
+ export interface Events {
15
+
16
+ }
17
+ export interface Slots {
18
+ children?: Snippet
19
+ }
20
+ const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
21
+
22
+
23
+ </script>
24
+ <obi-electric-lightning
25
+ use:setProperties={props}
26
+
27
+ class={className}
28
+ style={style}
29
+ >
30
+
31
+ {#if children}
32
+ {@render children()}
33
+ {/if}
34
+ </obi-electric-lightning>
@@ -0,0 +1,16 @@
1
+ import '@oicl/openbridge-webcomponents/dist/icons/icon-electric-lightning.js';
2
+ import type { Snippet } from 'svelte';
3
+ export interface Props {
4
+ class?: string;
5
+ style?: string;
6
+ useCssColor?: boolean;
7
+ }
8
+ export interface Events {
9
+ }
10
+ export interface Slots {
11
+ children?: Snippet;
12
+ }
13
+ type $$ComponentProps = Props & Events & Slots;
14
+ declare const ObiElectricLightning: import("svelte").Component<$$ComponentProps, {}, "">;
15
+ type ObiElectricLightning = ReturnType<typeof ObiElectricLightning>;
16
+ export default ObiElectricLightning;
@@ -0,0 +1,34 @@
1
+
2
+ <script lang="ts">
3
+
4
+ import '@oicl/openbridge-webcomponents/dist/icons/icon-format-bold-google.js';
5
+ import { setProperties } from "../util.js";
6
+
7
+ import type { Snippet } from 'svelte';
8
+
9
+ export interface Props {
10
+ class?: string;
11
+ style?: string;
12
+ useCssColor?: boolean
13
+ }
14
+ export interface Events {
15
+
16
+ }
17
+ export interface Slots {
18
+ children?: Snippet
19
+ }
20
+ const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
21
+
22
+
23
+ </script>
24
+ <obi-format-bold-google
25
+ use:setProperties={props}
26
+
27
+ class={className}
28
+ style={style}
29
+ >
30
+
31
+ {#if children}
32
+ {@render children()}
33
+ {/if}
34
+ </obi-format-bold-google>
@@ -0,0 +1,16 @@
1
+ import '@oicl/openbridge-webcomponents/dist/icons/icon-format-bold-google.js';
2
+ import type { Snippet } from 'svelte';
3
+ export interface Props {
4
+ class?: string;
5
+ style?: string;
6
+ useCssColor?: boolean;
7
+ }
8
+ export interface Events {
9
+ }
10
+ export interface Slots {
11
+ children?: Snippet;
12
+ }
13
+ type $$ComponentProps = Props & Events & Slots;
14
+ declare const ObiFormatBoldGoogle: import("svelte").Component<$$ComponentProps, {}, "">;
15
+ type ObiFormatBoldGoogle = ReturnType<typeof ObiFormatBoldGoogle>;
16
+ export default ObiFormatBoldGoogle;
@@ -0,0 +1,34 @@
1
+
2
+ <script lang="ts">
3
+
4
+ import '@oicl/openbridge-webcomponents/dist/icons/icon-format-italic-google.js';
5
+ import { setProperties } from "../util.js";
6
+
7
+ import type { Snippet } from 'svelte';
8
+
9
+ export interface Props {
10
+ class?: string;
11
+ style?: string;
12
+ useCssColor?: boolean
13
+ }
14
+ export interface Events {
15
+
16
+ }
17
+ export interface Slots {
18
+ children?: Snippet
19
+ }
20
+ const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
21
+
22
+
23
+ </script>
24
+ <obi-format-italic-google
25
+ use:setProperties={props}
26
+
27
+ class={className}
28
+ style={style}
29
+ >
30
+
31
+ {#if children}
32
+ {@render children()}
33
+ {/if}
34
+ </obi-format-italic-google>
@@ -0,0 +1,16 @@
1
+ import '@oicl/openbridge-webcomponents/dist/icons/icon-format-italic-google.js';
2
+ import type { Snippet } from 'svelte';
3
+ export interface Props {
4
+ class?: string;
5
+ style?: string;
6
+ useCssColor?: boolean;
7
+ }
8
+ export interface Events {
9
+ }
10
+ export interface Slots {
11
+ children?: Snippet;
12
+ }
13
+ type $$ComponentProps = Props & Events & Slots;
14
+ declare const ObiFormatItalicGoogle: import("svelte").Component<$$ComponentProps, {}, "">;
15
+ type ObiFormatItalicGoogle = ReturnType<typeof ObiFormatItalicGoogle>;
16
+ export default ObiFormatItalicGoogle;
@@ -0,0 +1,34 @@
1
+
2
+ <script lang="ts">
3
+
4
+ import '@oicl/openbridge-webcomponents/dist/icons/icon-format-list-bulleted-google.js';
5
+ import { setProperties } from "../util.js";
6
+
7
+ import type { Snippet } from 'svelte';
8
+
9
+ export interface Props {
10
+ class?: string;
11
+ style?: string;
12
+ useCssColor?: boolean
13
+ }
14
+ export interface Events {
15
+
16
+ }
17
+ export interface Slots {
18
+ children?: Snippet
19
+ }
20
+ const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
21
+
22
+
23
+ </script>
24
+ <obi-format-list-bulleted-google
25
+ use:setProperties={props}
26
+
27
+ class={className}
28
+ style={style}
29
+ >
30
+
31
+ {#if children}
32
+ {@render children()}
33
+ {/if}
34
+ </obi-format-list-bulleted-google>
@@ -0,0 +1,16 @@
1
+ import '@oicl/openbridge-webcomponents/dist/icons/icon-format-list-bulleted-google.js';
2
+ import type { Snippet } from 'svelte';
3
+ export interface Props {
4
+ class?: string;
5
+ style?: string;
6
+ useCssColor?: boolean;
7
+ }
8
+ export interface Events {
9
+ }
10
+ export interface Slots {
11
+ children?: Snippet;
12
+ }
13
+ type $$ComponentProps = Props & Events & Slots;
14
+ declare const ObiFormatListBulletedGoogle: import("svelte").Component<$$ComponentProps, {}, "">;
15
+ type ObiFormatListBulletedGoogle = ReturnType<typeof ObiFormatListBulletedGoogle>;
16
+ export default ObiFormatListBulletedGoogle;
@@ -0,0 +1,34 @@
1
+
2
+ <script lang="ts">
3
+
4
+ import '@oicl/openbridge-webcomponents/dist/icons/icon-format-list-numbered-google.js';
5
+ import { setProperties } from "../util.js";
6
+
7
+ import type { Snippet } from 'svelte';
8
+
9
+ export interface Props {
10
+ class?: string;
11
+ style?: string;
12
+ useCssColor?: boolean
13
+ }
14
+ export interface Events {
15
+
16
+ }
17
+ export interface Slots {
18
+ children?: Snippet
19
+ }
20
+ const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
21
+
22
+
23
+ </script>
24
+ <obi-format-list-numbered-google
25
+ use:setProperties={props}
26
+
27
+ class={className}
28
+ style={style}
29
+ >
30
+
31
+ {#if children}
32
+ {@render children()}
33
+ {/if}
34
+ </obi-format-list-numbered-google>
@@ -0,0 +1,16 @@
1
+ import '@oicl/openbridge-webcomponents/dist/icons/icon-format-list-numbered-google.js';
2
+ import type { Snippet } from 'svelte';
3
+ export interface Props {
4
+ class?: string;
5
+ style?: string;
6
+ useCssColor?: boolean;
7
+ }
8
+ export interface Events {
9
+ }
10
+ export interface Slots {
11
+ children?: Snippet;
12
+ }
13
+ type $$ComponentProps = Props & Events & Slots;
14
+ declare const ObiFormatListNumberedGoogle: import("svelte").Component<$$ComponentProps, {}, "">;
15
+ type ObiFormatListNumberedGoogle = ReturnType<typeof ObiFormatListNumberedGoogle>;
16
+ export default ObiFormatListNumberedGoogle;
@@ -0,0 +1,34 @@
1
+
2
+ <script lang="ts">
3
+
4
+ import '@oicl/openbridge-webcomponents/dist/icons/icon-format-underline-google.js';
5
+ import { setProperties } from "../util.js";
6
+
7
+ import type { Snippet } from 'svelte';
8
+
9
+ export interface Props {
10
+ class?: string;
11
+ style?: string;
12
+ useCssColor?: boolean
13
+ }
14
+ export interface Events {
15
+
16
+ }
17
+ export interface Slots {
18
+ children?: Snippet
19
+ }
20
+ const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
21
+
22
+
23
+ </script>
24
+ <obi-format-underline-google
25
+ use:setProperties={props}
26
+
27
+ class={className}
28
+ style={style}
29
+ >
30
+
31
+ {#if children}
32
+ {@render children()}
33
+ {/if}
34
+ </obi-format-underline-google>
@@ -0,0 +1,16 @@
1
+ import '@oicl/openbridge-webcomponents/dist/icons/icon-format-underline-google.js';
2
+ import type { Snippet } from 'svelte';
3
+ export interface Props {
4
+ class?: string;
5
+ style?: string;
6
+ useCssColor?: boolean;
7
+ }
8
+ export interface Events {
9
+ }
10
+ export interface Slots {
11
+ children?: Snippet;
12
+ }
13
+ type $$ComponentProps = Props & Events & Slots;
14
+ declare const ObiFormatUnderlineGoogle: import("svelte").Component<$$ComponentProps, {}, "">;
15
+ type ObiFormatUnderlineGoogle = ReturnType<typeof ObiFormatUnderlineGoogle>;
16
+ export default ObiFormatUnderlineGoogle;