@oicl/openbridge-webcomponents-full-bundle 2.0.0-next.49 → 2.0.0-next.52
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.
- package/bundle/openbridge-webcomponents.bundle.js +18716 -17343
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +877 -14
- package/dist/ar/building-blocks/poi-header/poi-header.css.js +8 -4
- package/dist/ar/building-blocks/poi-header/poi-header.css.js.map +1 -1
- package/dist/ar/chart-object-vessel-button/chart-object-vessel-button.css.js +7 -7
- package/dist/ar/poi-card-header/poi-card-header.css.js +12 -6
- package/dist/ar/poi-card-header/poi-card-header.css.js.map +1 -1
- package/dist/automation/automation-tank/automation-tank.css.js +166 -28
- package/dist/automation/automation-tank/automation-tank.css.js.map +1 -1
- package/dist/automation/automation-tank/automation-tank.d.ts +32 -0
- package/dist/automation/automation-tank/automation-tank.d.ts.map +1 -1
- package/dist/automation/automation-tank/automation-tank.js +28 -0
- package/dist/automation/automation-tank/automation-tank.js.map +1 -1
- package/dist/building-blocks/alert-list/alert-list.css.js +4 -2
- package/dist/building-blocks/alert-list/alert-list.css.js.map +1 -1
- package/dist/components/accordion-card/accordion-card.css.js +6 -3
- package/dist/components/accordion-card/accordion-card.css.js.map +1 -1
- package/dist/components/accordion-item/accordion-item.css.js +4 -2
- package/dist/components/accordion-item/accordion-item.css.js.map +1 -1
- package/dist/components/advice-button/advice-button.css.js +2 -1
- package/dist/components/advice-button/advice-button.css.js.map +1 -1
- package/dist/components/alert-button/alert-button.css.js +2 -1
- package/dist/components/alert-button/alert-button.css.js.map +1 -1
- package/dist/components/alert-frame/alert-frame.css.js +7 -3
- package/dist/components/alert-frame/alert-frame.css.js.map +1 -1
- package/dist/components/alert-list-details/alert-list-details.css.js +4 -2
- package/dist/components/alert-list-details/alert-list-details.css.js.map +1 -1
- package/dist/components/alert-menu/alert-menu.css.js +4 -2
- package/dist/components/alert-menu/alert-menu.css.js.map +1 -1
- package/dist/components/app-button/app-button.css.js +8 -4
- package/dist/components/app-button/app-button.css.js.map +1 -1
- package/dist/components/attachment-list-item/attachment-list-item.css.js +8 -4
- package/dist/components/attachment-list-item/attachment-list-item.css.js.map +1 -1
- package/dist/components/badge/badge.css.js +4 -2
- package/dist/components/badge/badge.css.js.map +1 -1
- package/dist/components/breadcrumb/breadcrumb.css.js +4 -2
- package/dist/components/breadcrumb/breadcrumb.css.js.map +1 -1
- package/dist/components/brilliance-menu/brilliance-menu.css.js +2 -1
- package/dist/components/brilliance-menu/brilliance-menu.css.js.map +1 -1
- package/dist/components/calendar/calendar.css.js +5 -3
- package/dist/components/calendar/calendar.css.js.map +1 -1
- package/dist/components/card/card.css.js +2 -1
- package/dist/components/card/card.css.js.map +1 -1
- package/dist/components/chat-message/chat-message.css.js +6 -3
- package/dist/components/chat-message/chat-message.css.js.map +1 -1
- package/dist/components/check-button/check-button.css.js +5 -3
- package/dist/components/check-button/check-button.css.js.map +1 -1
- package/dist/components/checkbox-item/checkbox-item.css.js +4 -2
- package/dist/components/checkbox-item/checkbox-item.css.js.map +1 -1
- package/dist/components/clock/clock.css.js +7 -3
- package/dist/components/clock/clock.css.js.map +1 -1
- package/dist/components/command-menu/command-menu.css.js +6 -3
- package/dist/components/command-menu/command-menu.css.js.map +1 -1
- package/dist/components/communication-table/communication-table.css.js +10 -5
- package/dist/components/communication-table/communication-table.css.js.map +1 -1
- package/dist/components/context-menu-input/context-menu-input.css.js +4 -2
- package/dist/components/context-menu-input/context-menu-input.css.js.map +1 -1
- package/dist/components/date-item/date-item.css.js +16 -8
- package/dist/components/date-item/date-item.css.js.map +1 -1
- package/dist/components/dropdown-button/dropdown-button.css.js +6 -3
- package/dist/components/dropdown-button/dropdown-button.css.js.map +1 -1
- package/dist/components/elevated-card/elevated-card.css.js +8 -4
- package/dist/components/elevated-card/elevated-card.css.js.map +1 -1
- package/dist/components/elevated-card-radio-group/elevated-card-radio-group.css.js +6 -3
- package/dist/components/elevated-card-radio-group/elevated-card-radio-group.css.js.map +1 -1
- package/dist/components/event-item/event-item.css.js +6 -3
- package/dist/components/event-item/event-item.css.js.map +1 -1
- package/dist/components/event-list/event-list.css.js +2 -1
- package/dist/components/event-list/event-list.css.js.map +1 -1
- package/dist/components/filter-chip/filter-chip.css.js +2 -1
- package/dist/components/filter-chip/filter-chip.css.js.map +1 -1
- package/dist/components/floating-item/floating-item.css.js +6 -3
- package/dist/components/floating-item/floating-item.css.js.map +1 -1
- package/dist/components/form-container/form-container.css.js +1 -1
- package/dist/components/form-group/form-group.css.js +4 -2
- package/dist/components/form-group/form-group.css.js.map +1 -1
- package/dist/components/form-item/form-item.css.js +4 -2
- package/dist/components/form-item/form-item.css.js.map +1 -1
- package/dist/components/icon-button/icon-button.css.js +20 -19
- package/dist/components/icon-button/icon-button.css.js.map +1 -1
- package/dist/components/icon-button/icon-button.d.ts +2 -0
- package/dist/components/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/icon-button/icon-button.js.map +1 -1
- package/dist/components/icon-check-button/icon-check-button.css.js +4 -2
- package/dist/components/icon-check-button/icon-check-button.css.js.map +1 -1
- package/dist/components/input-chip/input-chip.css.js +2 -1
- package/dist/components/input-chip/input-chip.css.js.map +1 -1
- package/dist/components/keyboard-full/keyboard-full.css.js +2 -1
- package/dist/components/keyboard-full/keyboard-full.css.js.map +1 -1
- package/dist/components/keyboard-numeric/keyboard-numeric.css.js +2 -1
- package/dist/components/keyboard-numeric/keyboard-numeric.css.js.map +1 -1
- package/dist/components/menu-button/menu-button.css.js +4 -2
- package/dist/components/menu-button/menu-button.css.js.map +1 -1
- package/dist/components/message-menu-item/message-menu-item.css.js +8 -13
- package/dist/components/message-menu-item/message-menu-item.css.js.map +1 -1
- package/dist/components/modal-window/modal-window.css.js +2 -1
- package/dist/components/modal-window/modal-window.css.js.map +1 -1
- package/dist/components/navigation-item/navigation-item.css.js +9 -4
- package/dist/components/navigation-item/navigation-item.css.js.map +1 -1
- package/dist/components/notification-badge-button/notification-badge-button.css.js +2 -1
- package/dist/components/notification-badge-button/notification-badge-button.css.js.map +1 -1
- package/dist/components/notification-button/notification-button.css.js +2 -1
- package/dist/components/notification-button/notification-button.css.js.map +1 -1
- package/dist/components/number-input-field/number-input-field.css.js +4 -2
- package/dist/components/number-input-field/number-input-field.css.js.map +1 -1
- package/dist/components/pivot-item/pivot-item.css.js +4 -2
- package/dist/components/pivot-item/pivot-item.css.js.map +1 -1
- package/dist/components/progress-bar/progress-bar.css.js +4 -2
- package/dist/components/progress-bar/progress-bar.css.js.map +1 -1
- package/dist/components/progress-button/progress-button.css.js +4 -2
- package/dist/components/progress-button/progress-button.css.js.map +1 -1
- package/dist/components/radio/radio.css.js +4 -2
- package/dist/components/radio/radio.css.js.map +1 -1
- package/dist/components/rich-button/rich-button.css.js +4 -2
- package/dist/components/rich-button/rich-button.css.js.map +1 -1
- package/dist/components/sequence-item/sequence-item.css.js +11 -6
- package/dist/components/sequence-item/sequence-item.css.js.map +1 -1
- package/dist/components/sequence-loading-spinner/sequence-loading-spinner.css.js +3 -3
- package/dist/components/sequence-step/sequence-step.css.js +2 -1
- package/dist/components/sequence-step/sequence-step.css.js.map +1 -1
- package/dist/components/slide-button/slide-button.css.js +2 -1
- package/dist/components/slide-button/slide-button.css.js.map +1 -1
- package/dist/components/slider-double/slider-double.css.js +2 -1
- package/dist/components/slider-double/slider-double.css.js.map +1 -1
- package/dist/components/start-stop-switch/start-stop-switch.css.js +16 -8
- package/dist/components/start-stop-switch/start-stop-switch.css.js.map +1 -1
- package/dist/components/status-indicator/status-indicator.css.js +4 -2
- package/dist/components/status-indicator/status-indicator.css.js.map +1 -1
- package/dist/components/stepper-box/stepper-box.css.js +2 -1
- package/dist/components/stepper-box/stepper-box.css.js.map +1 -1
- package/dist/components/system-menu/system-menu.css.js +26 -13
- package/dist/components/system-menu/system-menu.css.js.map +1 -1
- package/dist/components/tab-item/tab-item.css.js +8 -5
- package/dist/components/tab-item/tab-item.css.js.map +1 -1
- package/dist/components/tabbed-card/tabbed-card.css.js +4 -2
- package/dist/components/tabbed-card/tabbed-card.css.js.map +1 -1
- package/dist/components/table/table.css.js +8 -5
- package/dist/components/table/table.css.js.map +1 -1
- package/dist/components/table-header-item/table-header-item.css.js +2 -1
- package/dist/components/table-header-item/table-header-item.css.js.map +1 -1
- package/dist/components/tag/tag.css.js +4 -2
- package/dist/components/tag/tag.css.js.map +1 -1
- package/dist/components/text-input-field/text-input-field.css.js +6 -3
- package/dist/components/text-input-field/text-input-field.css.js.map +1 -1
- package/dist/components/textarea-field/textarea-field.css.js +6 -3
- package/dist/components/textarea-field/textarea-field.css.js.map +1 -1
- package/dist/components/title-container/title-container.css.js +3 -2
- package/dist/components/title-container/title-container.css.js.map +1 -1
- package/dist/components/toggle-button-option/toggle-button-option.css.js +19 -12
- package/dist/components/toggle-button-option/toggle-button-option.css.js.map +1 -1
- package/dist/components/toggle-button-vertical-option/toggle-button-vertical-option.css.js +4 -2
- package/dist/components/toggle-button-vertical-option/toggle-button-vertical-option.css.js.map +1 -1
- package/dist/components/toggle-switch/toggle-switch.css.js +6 -3
- package/dist/components/toggle-switch/toggle-switch.css.js.map +1 -1
- package/dist/components/toggletip/toggletip.css.js +4 -2
- package/dist/components/toggletip/toggletip.css.js.map +1 -1
- package/dist/components/tooltip/tooltip.css.js +2 -1
- package/dist/components/tooltip/tooltip.css.js.map +1 -1
- package/dist/components/top-bar/top-bar.css.js +4 -2
- package/dist/components/top-bar/top-bar.css.js.map +1 -1
- package/dist/components/topbar-message-item/topbar-message-item.css.js +10 -5
- package/dist/components/topbar-message-item/topbar-message-item.css.js.map +1 -1
- package/dist/components/user-button/user-button.css.js +12 -7
- package/dist/components/user-button/user-button.css.js.map +1 -1
- package/dist/components/user-menu/user-menu.css.js +4 -2
- package/dist/components/user-menu/user-menu.css.js.map +1 -1
- package/dist/integration-systems/integration-bar/integration-bar.css.js +97 -0
- package/dist/integration-systems/integration-bar/integration-bar.css.js.map +1 -0
- package/dist/integration-systems/integration-bar/integration-bar.d.ts +91 -0
- package/dist/integration-systems/integration-bar/integration-bar.d.ts.map +1 -0
- package/dist/integration-systems/integration-bar/integration-bar.js +279 -0
- package/dist/integration-systems/integration-bar/integration-bar.js.map +1 -0
- package/dist/integration-systems/integration-bar-dropdown/integration-bar-dropdown.css.js +2 -1
- package/dist/integration-systems/integration-bar-dropdown/integration-bar-dropdown.css.js.map +1 -1
- package/dist/integration-systems/integration-button/integration-button.css.js +472 -156
- package/dist/integration-systems/integration-button/integration-button.css.js.map +1 -1
- package/dist/integration-systems/integration-button/integration-button.d.ts +37 -1
- package/dist/integration-systems/integration-button/integration-button.d.ts.map +1 -1
- package/dist/integration-systems/integration-button/integration-button.js +202 -36
- package/dist/integration-systems/integration-button/integration-button.js.map +1 -1
- package/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.css.js +17 -6
- package/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.css.js.map +1 -1
- package/dist/integration-systems/integration-fleet-button/integration-fleet-button.css.js +12 -6
- package/dist/integration-systems/integration-fleet-button/integration-fleet-button.css.js.map +1 -1
- package/dist/integration-systems/integration-tabs/integration-tabs.css.js +3 -1
- package/dist/integration-systems/integration-tabs/integration-tabs.css.js.map +1 -1
- package/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.css.js +75 -0
- package/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.css.js.map +1 -0
- package/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.d.ts +37 -0
- package/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.d.ts.map +1 -0
- package/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.js +72 -0
- package/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.js.map +1 -0
- package/dist/integration-systems/integration-vessel-selector/integration-vessel-selector.css.js +21 -8
- package/dist/integration-systems/integration-vessel-selector/integration-vessel-selector.css.js.map +1 -1
- package/dist/integration-systems/integration-vessel-selector/integration-vessel-selector.d.ts +2 -0
- package/dist/integration-systems/integration-vessel-selector/integration-vessel-selector.d.ts.map +1 -1
- package/dist/integration-systems/integration-vessel-selector/integration-vessel-selector.js +5 -0
- package/dist/integration-systems/integration-vessel-selector/integration-vessel-selector.js.map +1 -1
- package/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.css.js +3 -1
- package/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.css.js.map +1 -1
- package/dist/navigation-instruments/instrument-field/instrument-field.css.js +4 -2
- package/dist/navigation-instruments/instrument-field/instrument-field.css.js.map +1 -1
- package/dist/navigation-instruments/readout/readout.css.js +4 -2
- package/dist/navigation-instruments/readout/readout.css.js.map +1 -1
- package/dist/navigation-instruments/watch/watch.css.js +3 -2
- package/dist/navigation-instruments/watch/watch.css.js.map +1 -1
- package/dist/navigation-instruments/watch-flat/watch-flat.css.js +3 -2
- package/dist/navigation-instruments/watch-flat/watch-flat.css.js.map +1 -1
- package/dist/openbridge.css +4 -2
- package/dist/pages/alert-detail-page/alert-detail-page.css.js +15 -8
- package/dist/pages/alert-detail-page/alert-detail-page.css.js.map +1 -1
- package/package.json +3 -3
- package/postcss.config.mjs +2 -1
- package/script/check-css-variables.ts +9 -30
- package/src/ar/chart-object-vessel-button/chart-object-vessel-button.css +7 -7
- package/src/ar/poi-layer/poi-layer.stories.ts +3 -0
- package/src/automation/automation-tank/automation-tank.css +119 -21
- package/src/automation/automation-tank/automation-tank.stories.ts +38 -0
- package/src/automation/automation-tank/automation-tank.ts +64 -0
- package/src/components/calendar/calendar.css +1 -1
- package/src/components/check-button/check-button.css +1 -1
- package/src/components/icon-button/icon-button.css +1 -1
- package/src/components/icon-button/icon-button.ts +2 -0
- package/src/components/message-menu-item/message-menu-item.css +2 -5
- package/src/components/sequence-item/sequence-item.css +5 -3
- package/src/components/sequence-loading-spinner/sequence-loading-spinner.css +3 -3
- package/src/components/tab-item/tab-item.css +2 -2
- package/src/components/table/table.css +2 -2
- package/src/components/toggle-button-option/toggle-button-option.css +1 -3
- package/src/integration-systems/integration-app-bar/integration-app-bar.stories.ts +1 -1
- package/src/integration-systems/integration-bar/integration-bar.css +86 -0
- package/src/integration-systems/integration-bar/integration-bar.stories.ts +479 -0
- package/src/integration-systems/integration-bar/integration-bar.ts +301 -0
- package/src/integration-systems/integration-bar-dropdown/integration-bar-dropdown.stories.ts +5 -3
- package/src/integration-systems/integration-button/integration-button.css +203 -64
- package/src/integration-systems/integration-button/integration-button.stories.ts +71 -5
- package/src/integration-systems/integration-button/integration-button.ts +242 -43
- package/src/integration-systems/integration-dropdown-button/integration-dropdown-button.css +7 -1
- package/src/integration-systems/integration-dropdown-button/integration-dropdown-button.stories.ts +1 -1
- package/src/integration-systems/integration-fleet-button/integration-fleet-button.stories.ts +1 -1
- package/src/integration-systems/integration-tabs/integration-tabs.stories.ts +1 -1
- package/src/integration-systems/integration-vessel-menu/integration-vessel-menu.css +59 -0
- package/src/integration-systems/integration-vessel-menu/integration-vessel-menu.stories.ts +180 -0
- package/src/integration-systems/integration-vessel-menu/integration-vessel-menu.ts +83 -0
- package/src/integration-systems/integration-vessel-selector/integration-vessel-selector.css +21 -9
- package/src/integration-systems/integration-vessel-selector/integration-vessel-selector.stories.ts +187 -3
- package/src/integration-systems/integration-vessel-selector/integration-vessel-selector.ts +5 -0
- package/src/mixins/alert.css +0 -29
- package/src/mixins/font-extras.css +103 -0
- package/src/mixins/fonts.css +26 -96
- package/src/navigation-instruments/watch/watch.css +1 -1
- package/src/navigation-instruments/watch-flat/watch-flat.css +1 -1
- package/src/pages/alert-detail-page/alert-detail-page.css +1 -1
|
@@ -72,7 +72,8 @@ const componentStyle = css`
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
:is(.wrapper .title-container) .title {
|
|
75
|
-
font-family: var(--font-family
|
|
75
|
+
font-family: var(--global-typography-font-family);
|
|
76
|
+
font-weight: var(--global-typography-ui-body-active-font-weight);
|
|
76
77
|
font-size: var(--global-typography-ui-body-active-font-size);
|
|
77
78
|
line-height: var(--global-typography-ui-body-active-line-height);
|
|
78
79
|
font-feature-settings:
|
|
@@ -88,7 +89,8 @@ const componentStyle = css`
|
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
:is(.wrapper .title-container) .timestamp {
|
|
91
|
-
font-family: var(--font-family
|
|
92
|
+
font-family: var(--global-typography-font-family);
|
|
93
|
+
font-weight: var(--global-typography-ui-label-font-weight);
|
|
92
94
|
font-size: var(--global-typography-ui-label-font-size);
|
|
93
95
|
line-height: var(--global-typography-ui-label-line-height);
|
|
94
96
|
font-feature-settings:
|
|
@@ -109,7 +111,8 @@ const componentStyle = css`
|
|
|
109
111
|
align-self: stretch;
|
|
110
112
|
overflow: hidden;
|
|
111
113
|
color: var(--element-active-color);
|
|
112
|
-
font-family: var(--font-family
|
|
114
|
+
font-family: var(--global-typography-font-family);
|
|
115
|
+
font-weight: var(--global-typography-ui-body-font-weight);
|
|
113
116
|
font-size: var(--global-typography-ui-body-font-size);
|
|
114
117
|
line-height: var(--global-typography-ui-body-line-height);
|
|
115
118
|
font-feature-settings:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"floating-item.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"floating-item.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -69,7 +69,7 @@ const componentStyle = css`
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.wrapper .content-title,.wrapper ::slotted([slot="content-title"]) {
|
|
72
|
-
font-family: var(--font-family
|
|
72
|
+
font-family: var(--global-typography-font-family);
|
|
73
73
|
font-weight: var(--font-weight-regular);
|
|
74
74
|
font-size: var(--font-size-150);
|
|
75
75
|
line-height: var(--line-height-150);
|
|
@@ -27,7 +27,8 @@ const componentStyle = css`
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.wrapper .subtitle {
|
|
30
|
-
font-family: var(--font-family
|
|
30
|
+
font-family: var(--global-typography-font-family);
|
|
31
|
+
font-weight: var(--global-typography-ui-overline-font-weight);
|
|
31
32
|
font-size: var(--global-typography-ui-overline-font-size);
|
|
32
33
|
line-height: var(--global-typography-ui-overline-line-height);
|
|
33
34
|
letter-spacing: var(--global-typography-ui-overline-letter-spacing);
|
|
@@ -44,7 +45,8 @@ const componentStyle = css`
|
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
.wrapper .text {
|
|
47
|
-
font-family: var(--font-family
|
|
48
|
+
font-family: var(--global-typography-font-family);
|
|
49
|
+
font-weight: var(--global-typography-ui-label-font-weight);
|
|
48
50
|
font-size: var(--global-typography-ui-label-font-size);
|
|
49
51
|
line-height: var(--global-typography-ui-label-line-height);
|
|
50
52
|
font-feature-settings:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-group.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"form-group.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -176,7 +176,8 @@ const componentStyle = css`
|
|
|
176
176
|
.wrapper .text {
|
|
177
177
|
position: relative;
|
|
178
178
|
z-index: 1;
|
|
179
|
-
font-family: var(--font-family
|
|
179
|
+
font-family: var(--global-typography-font-family);
|
|
180
|
+
font-weight: var(--global-typography-ui-body-font-weight);
|
|
180
181
|
font-size: var(--global-typography-ui-body-font-size);
|
|
181
182
|
line-height: var(--global-typography-ui-body-line-height);
|
|
182
183
|
font-feature-settings:
|
|
@@ -235,7 +236,8 @@ const componentStyle = css`
|
|
|
235
236
|
}
|
|
236
237
|
|
|
237
238
|
.wrapper .error-text {
|
|
238
|
-
font-family: var(--font-family
|
|
239
|
+
font-family: var(--global-typography-font-family);
|
|
240
|
+
font-weight: var(--global-typography-ui-label-font-weight);
|
|
239
241
|
font-size: var(--global-typography-ui-label-font-size);
|
|
240
242
|
line-height: var(--global-typography-ui-label-line-height);
|
|
241
243
|
font-feature-settings:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-item.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"form-item.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -102,7 +102,8 @@ const iconStyle = css`
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.wrapper .label {
|
|
105
|
-
font-family: var(--font-family
|
|
105
|
+
font-family: var(--global-typography-font-family);
|
|
106
|
+
font-weight: var(--global-typography-ui-label-font-weight);
|
|
106
107
|
font-size: var(--global-typography-ui-label-font-size);
|
|
107
108
|
line-height: var(--global-typography-ui-label-line-height);
|
|
108
109
|
font-feature-settings:
|
|
@@ -353,33 +354,33 @@ const iconStyle = css`
|
|
|
353
354
|
}
|
|
354
355
|
|
|
355
356
|
.wrapper.variant-integration .visible-wrapper {
|
|
356
|
-
border-color: var(--integration-
|
|
357
|
-
background-color: var(--integration-
|
|
357
|
+
border-color: var(--integration-flat-enabled-border-color);
|
|
358
|
+
background-color: var(--integration-flat-enabled-background-color);
|
|
358
359
|
border-width: 1px;
|
|
359
360
|
border-style: solid;
|
|
360
361
|
cursor: pointer;
|
|
361
|
-
--base-border-color: var(--integration-
|
|
362
|
-
--base-background-color: var(--integration-
|
|
362
|
+
--base-border-color: var(--integration-flat-enabled-border-color);
|
|
363
|
+
--base-background-color: var(--integration-flat-enabled-background-color);
|
|
363
364
|
}
|
|
364
365
|
|
|
365
366
|
.wrapper.variant-integration.activated .visible-wrapper {
|
|
366
|
-
border-color: var(--integration-
|
|
367
|
-
background-color: var(--integration-
|
|
368
|
-
--base-border-color: var(--integration-
|
|
369
|
-
--base-background-color: var(--integration-
|
|
367
|
+
border-color: var(--integration-flat-activated-border-color);
|
|
368
|
+
background-color: var(--integration-flat-activated-background-color);
|
|
369
|
+
--base-border-color: var(--integration-flat-activated-border-color);
|
|
370
|
+
--base-background-color: var(--integration-flat-activated-background-color);
|
|
370
371
|
}
|
|
371
372
|
|
|
372
373
|
@media (hover:hover) {
|
|
373
374
|
|
|
374
375
|
.wrapper.variant-integration:hover .visible-wrapper {
|
|
375
|
-
border-color: color-mix(in srgb, var(--integration-
|
|
376
|
-
background-color: color-mix(in srgb, var(--integration-
|
|
376
|
+
border-color: color-mix(in srgb, var(--integration-flat-hover-border-color) calc(var(--obc-can-hover) * 100%), var(--base-border-color));
|
|
377
|
+
background-color: color-mix(in srgb, var(--integration-flat-hover-background-color) calc(var(--obc-can-hover) * 100%), var(--base-background-color));
|
|
377
378
|
}
|
|
378
379
|
}
|
|
379
380
|
|
|
380
381
|
.wrapper.variant-integration:active .visible-wrapper {
|
|
381
|
-
border-color: var(--integration-
|
|
382
|
-
background-color: var(--integration-
|
|
382
|
+
border-color: var(--integration-flat-pressed-border-color);
|
|
383
|
+
background-color: var(--integration-flat-pressed-background-color);
|
|
383
384
|
}
|
|
384
385
|
|
|
385
386
|
.wrapper.variant-integration:focus-visible .visible-wrapper {
|
|
@@ -391,17 +392,17 @@ const iconStyle = css`
|
|
|
391
392
|
}
|
|
392
393
|
|
|
393
394
|
.wrapper.variant-integration:disabled .visible-wrapper {
|
|
394
|
-
border-color: var(--integration-
|
|
395
|
-
background-color: var(--integration-
|
|
395
|
+
border-color: var(--integration-flat-disabled-border-color);
|
|
396
|
+
background-color: var(--integration-flat-disabled-background-color);
|
|
396
397
|
cursor: not-allowed;
|
|
397
|
-
color: var(--integration-on-
|
|
398
|
+
color: var(--integration-on-flat-disabled-color) !important;
|
|
398
399
|
}
|
|
399
400
|
|
|
400
401
|
.wrapper.variant-integration.disabled .visible-wrapper {
|
|
401
|
-
border-color: var(--integration-
|
|
402
|
-
background-color: var(--integration-
|
|
402
|
+
border-color: var(--integration-flat-disabled-border-color);
|
|
403
|
+
background-color: var(--integration-flat-disabled-background-color);
|
|
403
404
|
cursor: not-allowed;
|
|
404
|
-
color: var(--integration-on-
|
|
405
|
+
color: var(--integration-on-flat-disabled-color) !important;
|
|
405
406
|
}
|
|
406
407
|
|
|
407
408
|
.wrapper.variant-integration:disabled {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icon-button.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -4,6 +4,7 @@ import { LitElement, nothing } from 'lit';
|
|
|
4
4
|
* - `normal`: Standard appearance for most use cases.
|
|
5
5
|
* - `raised`: Adds elevation/shadow for prominence.
|
|
6
6
|
* - `flat`: Minimal, backgroundless style for subtle actions.
|
|
7
|
+
* - `integration`: For use in Integration Bar components
|
|
7
8
|
*/
|
|
8
9
|
export declare enum IconButtonVariant {
|
|
9
10
|
normal = "normal",
|
|
@@ -23,6 +24,7 @@ export declare enum IconButtonVariant {
|
|
|
23
24
|
* - `normal` (default): Standard appearance for most use cases.
|
|
24
25
|
* - `raised`: Adds elevation/shadow for prominence.
|
|
25
26
|
* - `flat`: Minimal, backgroundless style for subtle actions.
|
|
27
|
+
* - `integration`: For use in Integration Bar components
|
|
26
28
|
* - **Progress Indicator:**
|
|
27
29
|
* - Shows a circular progress spinner overlay when the `progress` property is set (0–100). Useful for indicating loading or ongoing actions.
|
|
28
30
|
* - **Label Support:**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.d.ts","sourceRoot":"","sources":["../../../src/components/icon-button/icon-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAQ,OAAO,EAAY,MAAM,KAAK,CAAC;AAMzD
|
|
1
|
+
{"version":3,"file":"icon-button.d.ts","sourceRoot":"","sources":["../../../src/components/icon-button/icon-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAQ,OAAO,EAAY,MAAM,KAAK,CAAC;AAMzD;;;;;;GAMG;AACH,oBAAY,iBAAiB;IAC3B,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,WAAW,gBAAgB;CAC5B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,qBACa,aAAc,SAAQ,UAAU;IAC3C;;;;;OAKG;IACuB,OAAO,EAAE,iBAAiB,CACzB;IAE3B;;;OAGG;IACwB,SAAS,UAAS;IAE7C;;;OAGG;IACwB,UAAU,UAAS;IAE9C;;;OAGG;IACwB,WAAW,UAAS;IAE/C;;;OAGG;IACwB,WAAW,UAAS;IAE/C;;OAEG;IACwB,IAAI,UAAS;IAExC;;OAEG;IACwB,QAAQ,UAAS;IAE5C;;;;OAIG;IACuB,QAAQ,EAAE,SAAS,GAAG,MAAM,CAAa;IAEnE;;OAEG;IACwB,QAAQ,EAAE,OAAO,CAAS;IAErD,iFAAiF;IACpC,WAAW,UAAQ;IAEhE,IAAI,eAAe,0DAoDlB;IAEQ,MAAM;IAiCf,OAAgB,MAAM,0BAAwB;CAC/C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,iBAAiB,EAAE,aAAa,CAAC;KAClC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.js","sources":["../../../src/components/icon-button/icon-button.ts"],"sourcesContent":["import {LitElement, html, nothing, unsafeCSS} from 'lit';\nimport {property} from 'lit/decorators.js';\nimport iconStyle from './icon-button.css?inline';\nimport {classMap} from 'lit/directives/class-map.js';\nimport {customElement} from '../../decorator.js';\n\n/**\n * The available visual variants for `<obc-icon-button>`.\n * - `normal`: Standard appearance for most use cases.\n * - `raised`: Adds elevation/shadow for prominence.\n * - `flat`: Minimal, backgroundless style for subtle actions.\n */\nexport enum IconButtonVariant {\n normal = 'normal',\n raised = 'raised',\n flat = 'flat',\n integration = 'integration',\n}\n\n/**\n * `<obc-icon-button>` – An icon-only or icon-with-label button for quick actions.\n *\n * Provides a compact, visually prominent button that displays an icon (and optionally a label) for triggering actions. Commonly used for toolbars, navigation, or contextual actions where space is limited and a recognizable icon can represent the function.\n *\n * Appears as a circular or rounded button with configurable visual styles, supporting progress indication and various layout adaptations.\n *\n * ## Features\n * - **Variants:**\n * - `normal` (default): Standard appearance for most use cases.\n * - `raised`: Adds elevation/shadow for prominence.\n * - `flat`: Minimal, backgroundless style for subtle actions.\n * - **Progress Indicator:**\n * - Shows a circular progress spinner overlay when the `progress` property is set (0–100). Useful for indicating loading or ongoing actions.\n * - **Label Support:**\n * - Optionally displays a text label below the icon when `hasLabel` is true and content is provided in the `label` slot.\n * - **Corner Alignment:**\n * - `cornerLeft` and `cornerRight` adjust the button's border radius and alignment for seamless placement at the start or end of a container.\n * - **Active State:**\n * - `activated` visually highlights the button as selected or toggled.\n * - `activeColor` applies an accent color for emphasis.\n * - **Wide Mode:**\n * - `wide` increases the button's width for easier touch targets or visual balance.\n * - **Disabled State:**\n * - `disabled` prevents interaction and visually dims the button.\n *\n * ## Usage Guidelines\n * - Use `obc-icon-button` for actions represented by icons, such as toolbars, navigation, or quick-access commands.\n * - Add a label (with `hasLabel` and the `label` slot) when clarity is needed or when icons alone may not be universally understood.\n * - Use the progress indicator for actions that take time, such as uploads or background processes.\n * - Prefer the `normal` variant for most cases; use `raised` to draw attention, and `flat` for less prominent or inline actions.\n * - For grouped or edge-aligned layouts, use `cornerLeft` or `cornerRight` to visually merge with container edges.\n * - Avoid using icon buttons for destructive or critical actions unless paired with clear feedback.\n * - **TODO(designer):** Clarify recommended icon sizes and when to use label vs. icon-only.\n *\n * ## Slots\n * | Slot Name | Renders When... | Purpose |\n * |-----------|---------------------|----------------------------------------------|\n * | (default) | Always | The icon to display (e.g., `<obi-search>`) |\n * | label | If `hasLabel` is set | Optional label text below the icon |\n *\n * ## Events\n * - Emits a standard `click` event (`onClick` handler in framework wrappers) when activated.\n *\n * ## Best Practices\n * - Ensure icons are clear and universally recognizable.\n * - For accessibility, provide an `aria-label` or descriptive label for the button's action.\n * - When using the progress indicator, avoid showing it for very short actions to prevent visual flicker.\n *\n * ## Example:\n * ```\n * <obc-icon-button variant=\"normal\">\n * <obi-search></obi-search>\n * </obc-icon-button>\n *\n * <obc-icon-button variant=\"normal\" hasLabel>\n * <obi-arrow></obi-arrow>\n * <span slot=\"label\">Next</span>\n * </obc-icon-button>\n * ```\n *\n * @slot - Icon slot (default): Place an icon such as <obi-search> here.\n * @slot label - Optional label shown below the icon when `hasLabel` is true.\n * @fires click - Fired when the button is clicked (if not disabled).\n */\n@customElement('obc-icon-button')\nexport class ObcIconButton extends LitElement {\n /**\n * Visual style of the button.\n * - `normal`: Standard appearance (default).\n * - `raised`: Elevated with shadow.\n * - `flat`: Minimal, backgroundless style.\n */\n @property({type: String}) variant: IconButtonVariant =\n IconButtonVariant.normal;\n\n /**\n * Whether the button is in an activated (selected/toggled) state.\n * Visually highlights the button to indicate selection.\n */\n @property({type: Boolean}) activated = false;\n\n /**\n * If true, aligns the button to the left edge and removes left border radius.\n * Useful for grouping or edge-aligned layouts.\n */\n @property({type: Boolean}) cornerLeft = false;\n\n /**\n * If true, aligns the button to the right edge and removes right border radius.\n * Useful for grouping or edge-aligned layouts.\n */\n @property({type: Boolean}) cornerRight = false;\n\n /**\n * Applies an accent color to the button for emphasis.\n * Used to visually distinguish active or important actions.\n */\n @property({type: Boolean}) activeColor = false;\n\n /**\n * Increases the button's width for larger touch targets or visual balance.\n */\n @property({type: Boolean}) wide = false;\n\n /**\n * Disables the button, preventing user interaction and dimming its appearance.\n */\n @property({type: Boolean}) disabled = false;\n\n /**\n * Shows a circular progress indicator overlay when set (0–100).\n * Use to indicate ongoing actions or loading states.\n * If undefined, no progress indicator is shown.\n */\n @property({type: Number}) progress: undefined | number = undefined;\n\n /**\n * If true, displays a label below the icon using the `label` slot.\n */\n @property({type: Boolean}) hasLabel: boolean = false;\n\n /** If false, and cornerLeft or cornerRight is true, the divider is not shown. */\n @property({type: Boolean, attribute: false}) showDivider = true;\n\n get progressSpinner() {\n if (this.progress === undefined) {\n return nothing;\n }\n if (this.progress === 100) {\n return html`<div class=\"progress-spinner\">\n <svg\n width=\"40\"\n height=\"40\"\n viewBox=\"0 0 40 40\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle\n cx=\"20\"\n cy=\"20\"\n r=\"18\"\n stroke=\"#325B9A\"\n stroke-width=\"4\"\n fill=\"none\"\n />\n </svg>\n </div>`;\n }\n const angleRad = (this.progress * 0.95 * 3.6 * Math.PI) / 180;\n const x = 20 + 18 * Math.sin(angleRad);\n const y = 20 - 18 * Math.cos(angleRad);\n const largeArcFlag = angleRad > Math.PI ? 1 : 0;\n return html`<div class=\"progress-spinner\">\n <svg\n width=\"40\"\n height=\"40\"\n viewBox=\"0 0 40 40\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle\n cx=\"20\"\n cy=\"20\"\n r=\"18\"\n stroke=\"var(--container-backdrop-color)\"\n stroke-width=\"4\"\n fill=\"none\"\n />\n <path\n d=\"M18 2 A18 18 0 ${largeArcFlag} 1 ${x} ${y}\"\n stroke=\"var(--instrument-enhanced-secondary-color)\"\n stroke-width=\"4\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>`;\n }\n\n override render() {\n return html`\n <button\n class=${classMap({\n wrapper: true,\n ['variant-' + this.variant]: true,\n activated: this.activated,\n 'corner-left': this.cornerLeft,\n 'corner-right': this.cornerRight,\n 'active-color': this.activeColor,\n 'has-label': this.hasLabel,\n wide: this.wide,\n progress: this.progress !== undefined,\n 'hide-divider': !this.showDivider,\n })}\n ?disabled=${this.disabled}\n part=\"wrapper\"\n >\n ${this.progress !== undefined ? this.progressSpinner : nothing}\n <div class=\"visible-wrapper\" part=\"visible-wrapper\">\n <div class=\"icon\" part=\"icon\">\n <slot></slot>\n </div>\n </div>\n ${this.hasLabel\n ? html`<div class=\"label\" part=\"label\">\n <slot name=\"label\"></slot>\n </div>`\n : nothing}\n </button>\n `;\n }\n\n static override styles = unsafeCSS(iconStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'ob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OAAA,CAAO;AAAA,GAjDb,cAiDe,WAAA,YAAA,CAAA;AAKC,gBAAA;AAAA,EAA1B,SAAS,EAAC,MAAM,QAAA,CAAQ;AAAA,GAtDd,cAsDgB,WAAA,YAAA,CAAA;AAGkB,gBAAA;AAAA,EAA5C,SAAS,EAAC,MAAM,SAAS,WAAW,OAAM;AAAA,GAzDhC,cAyDkC,WAAA,eAAA,CAAA;AAzDlC,gBAAN,gBAAA;AAAA,EADN,cAAc,iBAAiB;AAAA,GACnB,aAAA;"}
|
|
1
|
+
{"version":3,"file":"icon-button.js","sources":["../../../src/components/icon-button/icon-button.ts"],"sourcesContent":["import {LitElement, html, nothing, unsafeCSS} from 'lit';\nimport {property} from 'lit/decorators.js';\nimport iconStyle from './icon-button.css?inline';\nimport {classMap} from 'lit/directives/class-map.js';\nimport {customElement} from '../../decorator.js';\n\n/**\n * The available visual variants for `<obc-icon-button>`.\n * - `normal`: Standard appearance for most use cases.\n * - `raised`: Adds elevation/shadow for prominence.\n * - `flat`: Minimal, backgroundless style for subtle actions.\n * - `integration`: For use in Integration Bar components\n */\nexport enum IconButtonVariant {\n normal = 'normal',\n raised = 'raised',\n flat = 'flat',\n integration = 'integration',\n}\n\n/**\n * `<obc-icon-button>` – An icon-only or icon-with-label button for quick actions.\n *\n * Provides a compact, visually prominent button that displays an icon (and optionally a label) for triggering actions. Commonly used for toolbars, navigation, or contextual actions where space is limited and a recognizable icon can represent the function.\n *\n * Appears as a circular or rounded button with configurable visual styles, supporting progress indication and various layout adaptations.\n *\n * ## Features\n * - **Variants:**\n * - `normal` (default): Standard appearance for most use cases.\n * - `raised`: Adds elevation/shadow for prominence.\n * - `flat`: Minimal, backgroundless style for subtle actions.\n * - `integration`: For use in Integration Bar components\n * - **Progress Indicator:**\n * - Shows a circular progress spinner overlay when the `progress` property is set (0–100). Useful for indicating loading or ongoing actions.\n * - **Label Support:**\n * - Optionally displays a text label below the icon when `hasLabel` is true and content is provided in the `label` slot.\n * - **Corner Alignment:**\n * - `cornerLeft` and `cornerRight` adjust the button's border radius and alignment for seamless placement at the start or end of a container.\n * - **Active State:**\n * - `activated` visually highlights the button as selected or toggled.\n * - `activeColor` applies an accent color for emphasis.\n * - **Wide Mode:**\n * - `wide` increases the button's width for easier touch targets or visual balance.\n * - **Disabled State:**\n * - `disabled` prevents interaction and visually dims the button.\n *\n * ## Usage Guidelines\n * - Use `obc-icon-button` for actions represented by icons, such as toolbars, navigation, or quick-access commands.\n * - Add a label (with `hasLabel` and the `label` slot) when clarity is needed or when icons alone may not be universally understood.\n * - Use the progress indicator for actions that take time, such as uploads or background processes.\n * - Prefer the `normal` variant for most cases; use `raised` to draw attention, and `flat` for less prominent or inline actions.\n * - For grouped or edge-aligned layouts, use `cornerLeft` or `cornerRight` to visually merge with container edges.\n * - Avoid using icon buttons for destructive or critical actions unless paired with clear feedback.\n * - **TODO(designer):** Clarify recommended icon sizes and when to use label vs. icon-only.\n *\n * ## Slots\n * | Slot Name | Renders When... | Purpose |\n * |-----------|---------------------|----------------------------------------------|\n * | (default) | Always | The icon to display (e.g., `<obi-search>`) |\n * | label | If `hasLabel` is set | Optional label text below the icon |\n *\n * ## Events\n * - Emits a standard `click` event (`onClick` handler in framework wrappers) when activated.\n *\n * ## Best Practices\n * - Ensure icons are clear and universally recognizable.\n * - For accessibility, provide an `aria-label` or descriptive label for the button's action.\n * - When using the progress indicator, avoid showing it for very short actions to prevent visual flicker.\n *\n * ## Example:\n * ```\n * <obc-icon-button variant=\"normal\">\n * <obi-search></obi-search>\n * </obc-icon-button>\n *\n * <obc-icon-button variant=\"normal\" hasLabel>\n * <obi-arrow></obi-arrow>\n * <span slot=\"label\">Next</span>\n * </obc-icon-button>\n * ```\n *\n * @slot - Icon slot (default): Place an icon such as <obi-search> here.\n * @slot label - Optional label shown below the icon when `hasLabel` is true.\n * @fires click - Fired when the button is clicked (if not disabled).\n */\n@customElement('obc-icon-button')\nexport class ObcIconButton extends LitElement {\n /**\n * Visual style of the button.\n * - `normal`: Standard appearance (default).\n * - `raised`: Elevated with shadow.\n * - `flat`: Minimal, backgroundless style.\n */\n @property({type: String}) variant: IconButtonVariant =\n IconButtonVariant.normal;\n\n /**\n * Whether the button is in an activated (selected/toggled) state.\n * Visually highlights the button to indicate selection.\n */\n @property({type: Boolean}) activated = false;\n\n /**\n * If true, aligns the button to the left edge and removes left border radius.\n * Useful for grouping or edge-aligned layouts.\n */\n @property({type: Boolean}) cornerLeft = false;\n\n /**\n * If true, aligns the button to the right edge and removes right border radius.\n * Useful for grouping or edge-aligned layouts.\n */\n @property({type: Boolean}) cornerRight = false;\n\n /**\n * Applies an accent color to the button for emphasis.\n * Used to visually distinguish active or important actions.\n */\n @property({type: Boolean}) activeColor = false;\n\n /**\n * Increases the button's width for larger touch targets or visual balance.\n */\n @property({type: Boolean}) wide = false;\n\n /**\n * Disables the button, preventing user interaction and dimming its appearance.\n */\n @property({type: Boolean}) disabled = false;\n\n /**\n * Shows a circular progress indicator overlay when set (0–100).\n * Use to indicate ongoing actions or loading states.\n * If undefined, no progress indicator is shown.\n */\n @property({type: Number}) progress: undefined | number = undefined;\n\n /**\n * If true, displays a label below the icon using the `label` slot.\n */\n @property({type: Boolean}) hasLabel: boolean = false;\n\n /** If false, and cornerLeft or cornerRight is true, the divider is not shown. */\n @property({type: Boolean, attribute: false}) showDivider = true;\n\n get progressSpinner() {\n if (this.progress === undefined) {\n return nothing;\n }\n if (this.progress === 100) {\n return html`<div class=\"progress-spinner\">\n <svg\n width=\"40\"\n height=\"40\"\n viewBox=\"0 0 40 40\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle\n cx=\"20\"\n cy=\"20\"\n r=\"18\"\n stroke=\"#325B9A\"\n stroke-width=\"4\"\n fill=\"none\"\n />\n </svg>\n </div>`;\n }\n const angleRad = (this.progress * 0.95 * 3.6 * Math.PI) / 180;\n const x = 20 + 18 * Math.sin(angleRad);\n const y = 20 - 18 * Math.cos(angleRad);\n const largeArcFlag = angleRad > Math.PI ? 1 : 0;\n return html`<div class=\"progress-spinner\">\n <svg\n width=\"40\"\n height=\"40\"\n viewBox=\"0 0 40 40\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle\n cx=\"20\"\n cy=\"20\"\n r=\"18\"\n stroke=\"var(--container-backdrop-color)\"\n stroke-width=\"4\"\n fill=\"none\"\n />\n <path\n d=\"M18 2 A18 18 0 ${largeArcFlag} 1 ${x} ${y}\"\n stroke=\"var(--instrument-enhanced-secondary-color)\"\n stroke-width=\"4\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>`;\n }\n\n override render() {\n return html`\n <button\n class=${classMap({\n wrapper: true,\n ['variant-' + this.variant]: true,\n activated: this.activated,\n 'corner-left': this.cornerLeft,\n 'corner-right': this.cornerRight,\n 'active-color': this.activeColor,\n 'has-label': this.hasLabel,\n wide: this.wide,\n progress: this.progress !== undefined,\n 'hide-divider': !this.showDivider,\n })}\n ?disabled=${this.disabled}\n part=\"wrapper\"\n >\n ${this.progress !== undefined ? this.progressSpinner : nothing}\n <div class=\"visible-wrapper\" part=\"visible-wrapper\">\n <div class=\"icon\" part=\"icon\">\n <slot></slot>\n </div>\n </div>\n ${this.hasLabel\n ? html`<div class=\"label\" part=\"label\">\n <slot name=\"label\"></slot>\n </div>`\n : nothing}\n </button>\n `;\n }\n\n static override styles = unsafeCSS(iconStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-icon-button': ObcIconButton;\n }\n}\n"],"names":["IconButtonVariant"],"mappings":";;;;;;;;;;;;;;;AAaO,IAAK,sCAAAA,uBAAL;AACLA,qBAAA,QAAA,IAAS;AACTA,qBAAA,QAAA,IAAS;AACTA,qBAAA,MAAA,IAAO;AACPA,qBAAA,aAAA,IAAc;AAJJ,SAAAA;AAAA,GAAA,qBAAA,CAAA,CAAA;AA0EL,IAAM,gBAAN,cAA4B,WAAW;AAAA,EAAvC,cAAA;AAAA,UAAA,GAAA,SAAA;AAOqB,SA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117,7 +117,8 @@ const componentStyles = css`
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.label {
|
|
120
|
-
font-family: var(--font-family
|
|
120
|
+
font-family: var(--global-typography-font-family);
|
|
121
|
+
font-weight: var(--global-typography-ui-label-font-weight);
|
|
121
122
|
font-size: var(--global-typography-ui-label-font-size);
|
|
122
123
|
line-height: var(--global-typography-ui-label-line-height);
|
|
123
124
|
font-feature-settings:
|
|
@@ -195,7 +196,8 @@ const componentStyles = css`
|
|
|
195
196
|
|
|
196
197
|
.wrapper.state-checked .label {
|
|
197
198
|
color: var(--element-active-color);
|
|
198
|
-
font-family: var(--font-family
|
|
199
|
+
font-family: var(--global-typography-font-family);
|
|
200
|
+
font-weight: var(--global-typography-ui-label-active-font-weight);
|
|
199
201
|
font-size: var(--global-typography-ui-label-active-font-size);
|
|
200
202
|
line-height: var(--global-typography-ui-label-active-line-height);
|
|
201
203
|
font-feature-settings:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-check-button.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icon-check-button.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -84,7 +84,8 @@ const compentStyle = css`
|
|
|
84
84
|
flex-shrink: 0;
|
|
85
85
|
border: none;
|
|
86
86
|
background-color: transparent;
|
|
87
|
-
font-family: var(--font-family
|
|
87
|
+
font-family: var(--global-typography-font-family);
|
|
88
|
+
font-weight: var(--global-typography-ui-button-font-weight);
|
|
88
89
|
font-size: var(--global-typography-ui-button-font-size);
|
|
89
90
|
line-height: var(--global-typography-ui-button-line-height);
|
|
90
91
|
font-feature-settings:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-chip.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"input-chip.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -36,7 +36,8 @@ const componentStyle = css`
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.parameter-name {
|
|
39
|
-
font-family: var(--font-family
|
|
39
|
+
font-family: var(--global-typography-font-family);
|
|
40
|
+
font-weight: var(--global-typography-ui-overline-font-weight);
|
|
40
41
|
font-size: var(--global-typography-ui-overline-font-size);
|
|
41
42
|
line-height: var(--global-typography-ui-overline-line-height);
|
|
42
43
|
letter-spacing: var(--global-typography-ui-overline-letter-spacing);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboard-full.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"keyboard-full.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -38,7 +38,8 @@ const componentStyle = css`
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.parameter-name {
|
|
41
|
-
font-family: var(--font-family
|
|
41
|
+
font-family: var(--global-typography-font-family);
|
|
42
|
+
font-weight: var(--global-typography-ui-overline-font-weight);
|
|
42
43
|
font-size: var(--global-typography-ui-overline-font-size);
|
|
43
44
|
line-height: var(--global-typography-ui-overline-line-height);
|
|
44
45
|
letter-spacing: var(--global-typography-ui-overline-letter-spacing);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboard-numeric.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"keyboard-numeric.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -17,7 +17,8 @@ const compentStyle = css`
|
|
|
17
17
|
display: flex;
|
|
18
18
|
align-items: center;
|
|
19
19
|
justify-content: center;
|
|
20
|
-
font-family: var(--font-family
|
|
20
|
+
font-family: var(--global-typography-font-family);
|
|
21
|
+
font-weight: var(--global-typography-ui-button-font-weight);
|
|
21
22
|
font-size: var(--global-typography-ui-button-font-size);
|
|
22
23
|
line-height: var(--global-typography-ui-button-line-height);
|
|
23
24
|
font-feature-settings:
|
|
@@ -160,7 +161,8 @@ const compentStyle = css`
|
|
|
160
161
|
display: flex;
|
|
161
162
|
justify-content: center;
|
|
162
163
|
align-items: center;
|
|
163
|
-
font-family: var(--font-family
|
|
164
|
+
font-family: var(--global-typography-font-family);
|
|
165
|
+
font-weight: var(--global-typography-ui-button-font-weight);
|
|
164
166
|
font-size: var(--global-typography-ui-button-font-size);
|
|
165
167
|
line-height: var(--global-typography-ui-button-line-height);
|
|
166
168
|
font-feature-settings:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-button.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"menu-button.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -114,7 +114,8 @@ const compentStyle = css`
|
|
|
114
114
|
|
|
115
115
|
.wrapper .title-container {
|
|
116
116
|
grid-area: title;
|
|
117
|
-
font-family: var(--font-family
|
|
117
|
+
font-family: var(--global-typography-font-family);
|
|
118
|
+
font-weight: var(--global-typography-ui-body-active-font-weight);
|
|
118
119
|
font-size: var(--global-typography-ui-body-active-font-size);
|
|
119
120
|
line-height: var(--global-typography-ui-body-active-line-height);
|
|
120
121
|
font-feature-settings:
|
|
@@ -127,7 +128,8 @@ const compentStyle = css`
|
|
|
127
128
|
|
|
128
129
|
.wrapper .description-container {
|
|
129
130
|
grid-area: description;
|
|
130
|
-
font-family: var(--font-family
|
|
131
|
+
font-family: var(--global-typography-font-family);
|
|
132
|
+
font-weight: var(--global-typography-ui-body-font-weight);
|
|
131
133
|
font-size: var(--global-typography-ui-body-font-size);
|
|
132
134
|
line-height: var(--global-typography-ui-body-line-height);
|
|
133
135
|
font-feature-settings:
|
|
@@ -152,7 +154,8 @@ const compentStyle = css`
|
|
|
152
154
|
|
|
153
155
|
.wrapper .date-container {
|
|
154
156
|
grid-area: date;
|
|
155
|
-
font-family: var(--font-family
|
|
157
|
+
font-family: var(--global-typography-font-family);
|
|
158
|
+
font-weight: var(--global-typography-ui-label-font-weight);
|
|
156
159
|
font-size: var(--global-typography-ui-label-font-size);
|
|
157
160
|
line-height: var(--global-typography-ui-label-line-height);
|
|
158
161
|
font-feature-settings:
|
|
@@ -165,18 +168,10 @@ const compentStyle = css`
|
|
|
165
168
|
gap: var(--app-components-message-menu-item-label-spacing);
|
|
166
169
|
|
|
167
170
|
color: var(--element-neutral-color);
|
|
171
|
+
white-space: nowrap;
|
|
172
|
+
text-wrap: nowrap;
|
|
168
173
|
}
|
|
169
174
|
|
|
170
|
-
:is(.wrapper .date-container) .day,:is(.wrapper .date-container) .time {
|
|
171
|
-
font-family: var(--font-family-main);
|
|
172
|
-
font-size: var(--global-typography-ui-label-font-size);
|
|
173
|
-
line-height: var(--global-typography-ui-label-line-height);
|
|
174
|
-
font-feature-settings:
|
|
175
|
-
"liga" off,
|
|
176
|
-
"clig" off,
|
|
177
|
-
"ss04" on;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
175
|
.wrapper .chevron {
|
|
181
176
|
grid-area: chevron;
|
|
182
177
|
width: var(--app-components-message-menu-item-icon-size-regular);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-menu-item.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"message-menu-item.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -53,7 +53,8 @@ const componentStyle = css`
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.label-container {
|
|
56
|
-
font-family: var(--font-family
|
|
56
|
+
font-family: var(--global-typography-font-family);
|
|
57
|
+
font-weight: var(--global-typography-ui-overline-font-weight);
|
|
57
58
|
font-size: var(--global-typography-ui-overline-font-size);
|
|
58
59
|
line-height: var(--global-typography-ui-overline-line-height);
|
|
59
60
|
letter-spacing: var(--global-typography-ui-overline-letter-spacing);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal-window.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"modal-window.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -113,7 +113,9 @@ const compentStyle = css`
|
|
|
113
113
|
|
|
114
114
|
.wrapper {
|
|
115
115
|
|
|
116
|
-
font-family: var(--font-family
|
|
116
|
+
font-family: var(--global-typography-font-family);
|
|
117
|
+
|
|
118
|
+
font-weight: var(--global-typography-ui-body-font-weight);
|
|
117
119
|
|
|
118
120
|
font-size: var(--global-typography-ui-body-font-size);
|
|
119
121
|
|
|
@@ -220,7 +222,8 @@ const compentStyle = css`
|
|
|
220
222
|
}
|
|
221
223
|
|
|
222
224
|
.wrapper.compact .label {
|
|
223
|
-
font-family: var(--font-family
|
|
225
|
+
font-family: var(--global-typography-font-family);
|
|
226
|
+
font-weight: var(--global-typography-ui-label-font-weight);
|
|
224
227
|
font-size: var(--global-typography-ui-label-font-size);
|
|
225
228
|
line-height: var(--global-typography-ui-label-line-height);
|
|
226
229
|
font-feature-settings:
|
|
@@ -232,7 +235,8 @@ const compentStyle = css`
|
|
|
232
235
|
}
|
|
233
236
|
|
|
234
237
|
.checked :is(.wrapper.compact .label) {
|
|
235
|
-
font-family: var(--font-family
|
|
238
|
+
font-family: var(--global-typography-font-family);
|
|
239
|
+
font-weight: var(--global-typography-ui-label-active-font-weight);
|
|
236
240
|
font-size: var(--global-typography-ui-label-active-font-size);
|
|
237
241
|
line-height: var(--global-typography-ui-label-active-line-height);
|
|
238
242
|
font-feature-settings:
|
|
@@ -310,7 +314,8 @@ const compentStyle = css`
|
|
|
310
314
|
}
|
|
311
315
|
|
|
312
316
|
.wrapper.checked {
|
|
313
|
-
font-family: var(--font-family
|
|
317
|
+
font-family: var(--global-typography-font-family);
|
|
318
|
+
font-weight: var(--global-typography-ui-body-active-font-weight);
|
|
314
319
|
font-size: var(--global-typography-ui-body-active-font-size);
|
|
315
320
|
line-height: var(--global-typography-ui-body-active-line-height);
|
|
316
321
|
font-feature-settings:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-item.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"navigation-item.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -95,7 +95,8 @@ const componentStyle = css`
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.wrapper {
|
|
98
|
-
font-family: var(--font-family
|
|
98
|
+
font-family: var(--global-typography-font-family);
|
|
99
|
+
font-weight: var(--global-typography-ui-button-font-weight);
|
|
99
100
|
font-size: var(--global-typography-ui-button-font-size);
|
|
100
101
|
line-height: var(--global-typography-ui-button-line-height);
|
|
101
102
|
font-feature-settings:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification-badge-button.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notification-badge-button.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -301,7 +301,8 @@ obi-notification-filled {
|
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
.count-label {
|
|
304
|
-
font-family: var(--font-family
|
|
304
|
+
font-family: var(--global-typography-font-family);
|
|
305
|
+
font-weight: var(--global-typography-ui-button-font-weight);
|
|
305
306
|
font-size: var(--global-typography-ui-button-font-size);
|
|
306
307
|
line-height: var(--global-typography-ui-button-line-height);
|
|
307
308
|
font-feature-settings:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification-button.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notification-button.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -158,7 +158,8 @@ const componentStyle = css`
|
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
.label-text {
|
|
161
|
-
font-family: var(--font-family
|
|
161
|
+
font-family: var(--global-typography-font-family);
|
|
162
|
+
font-weight: var(--global-typography-ui-label-font-weight);
|
|
162
163
|
font-size: var(--global-typography-ui-label-font-size);
|
|
163
164
|
line-height: var(--global-typography-ui-label-line-height);
|
|
164
165
|
font-feature-settings:
|
|
@@ -314,7 +315,8 @@ const componentStyle = css`
|
|
|
314
315
|
|
|
315
316
|
.helper-text,
|
|
316
317
|
.error-text {
|
|
317
|
-
font-family: var(--font-family
|
|
318
|
+
font-family: var(--global-typography-font-family);
|
|
319
|
+
font-weight: var(--global-typography-ui-label-font-weight);
|
|
318
320
|
font-size: var(--global-typography-ui-label-font-size);
|
|
319
321
|
line-height: var(--global-typography-ui-label-line-height);
|
|
320
322
|
font-feature-settings:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number-input-field.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"number-input-field.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -157,7 +157,8 @@ const compentStyle = css`
|
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
.wrapper.selected .label {
|
|
160
|
-
font-family: var(--font-family
|
|
160
|
+
font-family: var(--global-typography-font-family);
|
|
161
|
+
font-weight: var(--global-typography-ui-body-active-font-weight);
|
|
161
162
|
font-size: var(--global-typography-ui-body-active-font-size);
|
|
162
163
|
line-height: var(--global-typography-ui-body-active-line-height);
|
|
163
164
|
font-feature-settings:
|
|
@@ -171,7 +172,8 @@ const compentStyle = css`
|
|
|
171
172
|
}
|
|
172
173
|
|
|
173
174
|
.wrapper .label {
|
|
174
|
-
font-family: var(--font-family
|
|
175
|
+
font-family: var(--global-typography-font-family);
|
|
176
|
+
font-weight: var(--global-typography-ui-body-font-weight);
|
|
175
177
|
font-size: var(--global-typography-ui-body-font-size);
|
|
176
178
|
line-height: var(--global-typography-ui-body-line-height);
|
|
177
179
|
font-feature-settings:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pivot-item.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pivot-item.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -139,7 +139,8 @@ const componentStyle = css`
|
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
.description-text {
|
|
142
|
-
font-family: var(--font-family
|
|
142
|
+
font-family: var(--global-typography-font-family);
|
|
143
|
+
font-weight: var(--global-typography-ui-label-font-weight);
|
|
143
144
|
font-size: var(--global-typography-ui-label-font-size);
|
|
144
145
|
line-height: var(--global-typography-ui-label-line-height);
|
|
145
146
|
font-feature-settings:
|
|
@@ -183,7 +184,8 @@ obc-circular-progress {
|
|
|
183
184
|
}
|
|
184
185
|
|
|
185
186
|
.circular-value {
|
|
186
|
-
font-family: var(--font-family
|
|
187
|
+
font-family: var(--global-typography-font-family);
|
|
188
|
+
font-weight: var(--global-typography-ui-button-font-weight);
|
|
187
189
|
font-size: var(--global-typography-ui-button-font-size);
|
|
188
190
|
line-height: var(--global-typography-ui-button-line-height);
|
|
189
191
|
font-feature-settings:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress-bar.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"progress-bar.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|