Skip to content

Commit

Permalink
Merged rc2.18.2 into main. [skip ci]
Browse files Browse the repository at this point in the history
UiComponentsBot authored Jan 3, 2024
2 parents 3c08b2e + d484b87 commit 81356b5
Showing 43 changed files with 48,037 additions and 269 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/npm-pre-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: pre-release

on:
release:
types: [prereleased]
# release:
# types: [prereleased]
workflow_dispatch:

jobs:
run-lint-and-prettier:
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: release

on:
release:
types: [released]
# release:
# types: [released]
workflow_dispatch:

jobs:
merge-rc:
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# OutSystems UI · v2.18.1
# OutSystems UI · v2.18.2

![GitHub License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg) ![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)

14 changes: 11 additions & 3 deletions dist/OutSystemsUI.css → dist/O11.OutSystemsUI.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@charset "UTF-8";
/*!
OutSystems UI 2.18.1
OutSystems UI 2.18.2 • O11 Platform
Website:
• https://www.outsystems.com/outsystems-ui
GitHub:
@@ -12837,6 +12837,14 @@ html[data-uieditorversion^="1"] .wizard-wrapper-item{
color:var(--color-neutral-6);
pointer-events:none;
}
.osui-dropdown-serverside--is-inside-popup .osui-dropdown-serverside__balloon-wrapper{
top:calc(var(--osui-dropdown-ss-top) + var(--osui-dropdown-ss-input-height) + 4px);
position:fixed;
overflow:visible;
}
.osui-dropdown-serverside--is-inside-popup .osui-dropdown-serverside__balloon-wrapper.osui-dropdown-serverside--is-opened{
z-index:calc(var(--osui-popup-layer) + var(--layer-local-tier-1));
}
.osui-dropdown-serverside--not-valid .osui-dropdown-serverside__selected-values-wrapper{
border-color:var(--color-error);
}
@@ -12858,8 +12866,8 @@ html[data-uieditorversion^="1"] .wizard-wrapper-item{
.firefox .osui-dropdown-serverside__balloon-wrapper.osui-dropdown-serverside--is-opened{
z-index:var(--layer-global-instant-interaction);
}
body:has(.popup-dialog):has(.osui-dropdown-serverside--is-opened) .osui-dropdown-serverside__balloon-wrapper.osui-dropdown-serverside--is-opened{
z-index:calc(var(--osui-popup-layer) + var(--layer-local-tier-1));
.form .osui-dropdown-serverside--is-inside-popup input[data-input]{
margin-bottom:0;
}
.has-accessible-features .osui-dropdown-serverside__selected-values:hover, .has-accessible-features .osui-dropdown-serverside__selected-values:after, .has-accessible-features .osui-dropdown-serverside__selected-values-wrapper, .has-accessible-features .osui-dropdown-serverside__selected-values-footer{
border-color:var(--color-neutral-7);
54 changes: 41 additions & 13 deletions dist/OutSystemsUI.d.ts → dist/O11.OutSystemsUI.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*!
OutSystems UI 2.18.2 • O11 Platform
Website:
• https://www.outsystems.com/outsystems-ui
GitHub:
• https://github.com/OutSystems/outsystems-ui
*/
declare namespace osui {
function GetVersion(): string;
function ToggleClass(el: HTMLElement, state: unknown, className: string): void;
@@ -57,13 +64,17 @@ declare namespace OSFramework.OSUI.Constants {
True: string;
};
};
const AccessibilityHideElementClass = "wcag-hide-text";
const AllowPropagationAttr = "[data-allow-event-propagation]";
const Dot = ".";
const Comma = ",";
const EnableLogMessages = false;
const Dot = ".";
const EmptyString = "";
const FocusTrapIgnoreAttr = "ignore-focus-trap";
const EnableLogMessages = false;
const FocusableElems = "a[href]:not([disabled]),[tabindex=\"0\"], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled])";
const FocusTrapIgnoreAttr = "ignore-focus-trap";
const HasAccessibilityClass = "has-accessible-features";
const InvalidNumber = -1;
const IsRTLClass = "is-rtl";
const JavaScriptTypes: {
Undefined: string;
Boolean: string;
@@ -74,17 +85,14 @@ declare namespace OSFramework.OSUI.Constants {
Object: string;
};
const JustInputs = "input:not([type=button]):not([type=checkbox]):not([type=color]):not([type=file]):not([type=hidden]):not([type=image]):not([type=image]):not([type=radio]):not([type=range]):not([type=reset]):not([type=submit]), textarea";
const HasAccessibilityClass = "has-accessible-features";
const InvalidNumber = -1;
const Months: string[];
const Language: {
code: string;
short: string;
};
const AccessibilityHideElementClass = "wcag-hide-text";
const IsRTLClass = "is-rtl";
const Months: string[];
const NoTransition = "no-transition";
const OSUIVersion = "2.18.1";
const OSPlatform = "O11";
const OSUIVersion = "2.18.2";
const ZeroValue = 0;
}
declare namespace OSFramework.OSUI.ErrorCodes {
@@ -193,6 +201,7 @@ declare namespace OSFramework.OSUI.GlobalEnum {
MainContent = "main-content",
MenuLinks = "app-menu-links",
Placeholder = "ph",
Popup = "popup-dialog",
SkipContent = "skip-nav"
}
enum CSSSelectors {
@@ -291,7 +300,8 @@ declare namespace OSFramework.OSUI.GlobalEnum {
Name = "name",
StatusBar = "data-status-bar-height",
Style = "style",
Type = "type"
Type = "type",
Value = "value"
}
enum HTMLElement {
Body = "body",
@@ -318,10 +328,12 @@ declare namespace OSFramework.OSUI.GlobalEnum {
Prefix = "on",
Resize = "resize",
Scroll = "scroll",
ScrollEnd = "scrollend",
TouchEnd = "touchend",
TouchMove = "touchmove",
TouchStart = "touchstart",
TransitionEnd = "transitionend"
TransitionEnd = "transitionend",
Message = "message"
}
enum CustomEvent {
BalloonOnToggle = "balloon.onToggle"
@@ -661,7 +673,8 @@ declare namespace OSFramework.OSUI.Event.DOMEvents.Listeners {
BodyOnMouseDown = "body.mousedown",
OrientationChange = "window.onorientationchange",
ScreenOnScroll = "screen.onscroll",
WindowResize = "window.onresize"
WindowResize = "window.onresize",
WindowMessage = "window.message"
}
}
declare namespace OSFramework.OSUI.Event.DOMEvents.Listeners {
@@ -685,6 +698,12 @@ declare namespace OSFramework.OSUI.Event.DOMEvents.Listeners {
private _screenTrigger;
}
}
declare namespace OSFramework.OSUI.Event.DOMEvents.Listeners {
class WindowMessage extends AbstractListener<string> {
constructor();
private _windowTrigger;
}
}
declare namespace OSFramework.OSUI.Event.DOMEvents.Listeners {
class WindowResize extends AbstractListener<string> {
private _timeout;
@@ -957,6 +976,7 @@ declare namespace OSFramework.OSUI.Helper {
static GetTimeFromDate(_date: Date): string;
static IsBeforeThan(date1: string, date2: string): boolean;
static IsNull(date: string | Date): boolean;
static IsValid(date: string): boolean;
static NormalizeDateTime(date: string | Date, normalizeToMax?: boolean): Date;
static SetServerDateFormat(date: string): void;
static get ServerFormat(): string;
@@ -1001,6 +1021,7 @@ declare namespace OSFramework.OSUI.Helper {
static GetDeviceOrientation(): GlobalEnum.DeviceOrientation;
static GetDeviceType(): GlobalEnum.DeviceType;
static GetOperatingSystem(userAgent?: string): GlobalEnum.MobileOS;
static RefreshOperatingSystem(): void;
}
}
declare namespace OSFramework.OSUI.Helper {
@@ -1033,6 +1054,7 @@ declare namespace OSFramework.OSUI.Helper {
static GetElementById(id: string): HTMLElement;
static GetElementByUniqueId(uniqueId: string): HTMLElement;
static GetFocusableElements(element: HTMLElement): HTMLElement[];
static IsInsidePopupWidget(element: HTMLElement): boolean;
static Move(element: HTMLElement, target: HTMLElement): void;
static SetInputValue(inputElem: HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement, value: string): void;
static TagSelector(element: HTMLElement, htmlTag: string): HTMLElement | undefined;
@@ -1932,6 +1954,7 @@ declare namespace OSFramework.OSUI.Patterns.Dropdown.ServerSide {
private _hasA11yEnabled;
private _intersectionObserver;
private _isBlocked;
private _isInsidePopup;
private _isOpen;
private _platformEventOnToggleCallback;
private _selectValuesWrapper;
@@ -2031,6 +2054,7 @@ declare namespace OSFramework.OSUI.Patterns.Dropdown.ServerSide.Enum {
BalloonWrapper = "osui-dropdown-serverside__balloon-wrapper",
ErrorMessage = "osui-dropdown-serverside-error-message",
IsDisabled = "osui-dropdown-serverside--is-disabled",
IsInsidePopup = "osui-dropdown-serverside--is-inside-popup",
IsOpened = "osui-dropdown-serverside--is-opened",
IsVisible = "osui-dropdown-serverside-visible",
NotValid = "osui-dropdown-serverside--not-valid",
@@ -3341,6 +3365,7 @@ declare namespace OSFramework.OSUI.Patterns.Tabs {
private _requestAnimationFrameOnIndicatorResize;
private _tabsContentElement;
private _tabsHeaderElement;
private _tabsHeadersEnabled;
private _tabsIndicatorElement;
constructor(uniqueId: string, configs: JSON);
private _addContentItem;
@@ -3370,6 +3395,7 @@ declare namespace OSFramework.OSUI.Patterns.Tabs {
private _triggerOnChangeEvent;
private _unsetDragObserver;
private _updateItemsConnection;
private _updateListOfEnabledTabsHeader;
protected setA11YProperties(): void;
protected setCallbacks(): void;
protected setHtmlElements(): void;
@@ -4710,6 +4736,7 @@ declare namespace OutSystems.OSUI.Utils {
function MoveElement(ElementId: string, TargetSelector: string, TimeoutVal?: number): string;
function SetActiveElement(ElementId: string, IsActive: boolean): string;
function SetSelectedTableRow(TableId: string, RowNumber: number, IsSelected: boolean): string;
function GetPlatformType(): string;
function ShowPassword(WidgetId?: string): string;
}
declare namespace Providers.OSUI.ErrorCodes {
@@ -4944,6 +4971,7 @@ declare namespace Providers.OSUI.Datepicker.Flatpickr.SingleDate {
class OSUIFlatpickrSingleDate extends AbstractFlatpickr<FlatpickrSingleDateConfig> {
private _isUpdatedInitialDateByClientAction;
constructor(uniqueId: string, configs: JSON);
private _checkInitialDate;
protected onDateSelectedEvent(selectedDates: Array<Date>): void;
protected prepareToAndRedraw(): void;
protected todayBtnClick(event: MouseEvent): void;
@@ -4955,7 +4983,7 @@ declare namespace Providers.OSUI.Datepicker.Flatpickr.SingleDate {
}
declare namespace Providers.OSUI.Datepicker.Flatpickr.SingleDate {
class FlatpickrSingleDateConfig extends AbstractFlatpickrConfig {
InitialDate: string;
InitialDate: string | Date;
constructor(config: JSON);
getProviderConfig(): FlatpickrOptions;
}
Loading

0 comments on commit 81356b5

Please sign in to comment.